text: function t_throttle(e,t,o){var i,r;return t||(t=250),function(){var n=o||this,a=+new Date,c=arguments;i&&a<i+t?(clearTimeout(r),r=setTimeout(function(){i=a,e.apply(n,c)},t)):(i=a,e.apply(n,c))}}window.isSearchBot=!1,/Bot/i.test(navigator.userAgent)&&(window.isSearchBot=!0),window.isMobile=!1,window.$isMobile=!1,/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)&&(window.isMobile=!0,window.$isMobile=!0),window.userLang=(window.navigator.userLanguage||window.navigator.language).toUpperCase(),function(e){var t="https://sstat.tildacdn.com/",o={};if(e(document).ready(function(){o.ready=Date.now()-window.performance.timing.navigationStart;var t=window.navigator.userAgent,i=-1!==t.indexOf("Instagram"),r=-1!==t.indexOf("FBAV"),n=-1!==t.indexOf("YaSearchBrowser"),a=-1!==t.indexOf("SamsungBrowser"),c=-1!==t.indexOf("Android");if(c&&(r||i||n||a)){var s=document.createElement("p");s.style.lineHeight="100px",s.style.padding="0",s.style.margin="0",s.style.height="auto",s.style.position="absolute",s.style.opacity="0.001",s.innerText="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",document.body.appendChild(s);var d=100/s.getBoundingClientRect().height;s.parentNode.removeChild(s),d<.98&&e("body").append('<style>.t396 [data-elem-type="text"] .tn-atom {zoom: '+100*d+"%;}</style>")}}),e(window).load(function(){o.load=Date.now()-window.performance.timing.navigationStart,o.connect=window.performance.timing.connectEnd-window.performance.timing.connectStart,o.ttfb=window.performance.timing.responseStart-window.performance.timing.connectEnd,o.basePage=window.performance.timing.responseEnd-window.performance.timing.navigationStart,o.DOMcontentLoaded=window.performance.timing.domContentLoadedEventEnd-window.performance.timing.navigationStart,o.fullLoad=window.performance.timing.domComplete-window.performance.timing.navigationStart,o.lazy="y"===window.lazy,o.zero=e(".tn-elem").length>0,window.winWidth&&window.winWidth>0&&(o.width=window.winWidth);var i=($isMobile?"site_m":"site_d")+"="+JSON.stringify(o);e.post(t+"?"+i)}),$isMobile=!1,/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)&&($isMobile=!0),/Bot/i.test(navigator.userAgent)&&(window.isSearchBot=!0),window.isMobile=$isMobile,1==$isMobile){var i=function(){for(var t=document.body.querySelectorAll(".t-cover__carrier"),o=e(window).height(),i=0,r=0,n=t.length;r<n;r++)a=t[r],c=a.style,c.height.indexOf("vh")>-1&&(i=parseInt(c.height,10)/100,s=Math.round(o*i)+"px",d=e(a).parent(".t-cover"),d&&(d=d[0])&&(l=d.querySelector(".t-cover__filter"),p=d.querySelector(".t-cover__wrapper"),l&&(l.style.height=s),p&&(p.style.height=s),c.height=d.style.height=s));var a,c,s,d,l,p,u=document.body.querySelectorAll("[data-height-correct-vh]");for(o=e(window).height(),i=0,r=0,n=u.length;r<n;r++)a=u[r],c=a.style,c.height.indexOf("vh")>-1&&(i=parseInt(c.height)/100,s=o+"px",d=e(a).parent(".t-cover"),c.height=s)};e(document).ready(function(){setTimeout(function(){i()},400)}),e(window).load(function(){setTimeout(function(){i()},400)})}1==$isMobile&&(e(window).width()<480?(e(document).ready(function(){var t;e("div[data-customstyle=yes]").each(function(t){e(this).css("font-size").replace("px","")>26&&(e(this).css("font-size",""),e(this).css("line-height",""))}),e("[field]").find("span").each(function(t){e(this).css("font-size").replace("px","")>26&&e(this).css("font-size","")}),e(".t-title, .t-name, .t-heading, .t-descr, .t-text, .t-subtitle").not(".tn-elem, .tn-atom").each(function(o){if(t=e(this).attr("style"),void 0!==t&&""!=t&&t.indexOf("font-size")>-1&&e(this).css("font-size").replace("px","")>26){var i=t.replace("font-size","fontsize").replace("line-height","lineheight");e(this).attr("style",i)}})}),e(window).load(function(){var t=e(window).width();e(".r:visible").each(function(){var o=e(this);e(this).find("div").not("[data-auto-correct-mobile-width=false], .tn-elem, .tn-atom, .tn-atom__sbs-anim-wrapper, .tn-atom__prx-wrapper, .tn-atom__videoiframe, .tn-atom .t-form *, .tn-atom__sticky-wrapper").each(function(){var i=parseInt(e(this).outerWidth(!0));i>t&&(console.log("Block not optimized for mobile width. Block width:"+i+" Block id:"+o.attr("id")),console.log(e(this)),o.css("overflow","auto"),i-3>t&&o.css("word-break","break-all"))})})})):e(window).width()<900&&e(document).ready(function(){var t;e("div[data-customstyle=yes]").each(function(t){e(this).css("font-size").replace("px","")>30&&(e(this).css("font-size",""),e(this).css("line-height",""))}),e("[field]").find("span").each(function(t){e(this).css("font-size").replace("px","")>30&&e(this).css("font-size","")}),e(".t-title, .t-name, .t-heading, .t-descr, .t-text, .t-subtitle").not(".tn-elem, .tn-atom").each(function(o){if(t=e(this).attr("style"),void 0!==t&&""!=t&&t.indexOf("font-size")>-1&&e(this).css("font-size").replace("px","")>30){var i=t.replace("font-size","fontsize").replace("line-height","lineheight");e(this).attr("style",i)}})}))}(jQuery),function(e){function t(){this.setScrollListener()}t.prototype.videoTags=[],t.prototype.defaultConfig={isNeedStop:!1},t.prototype.videoConfigs=[],t.prototype.registerNewVideo=function(e,t){if(!(e instanceof HTMLVideoElement))throw new Error("Wrong tag passed into registerNewVideo");return-1==this.videoTags.indexOf(e)&&(this.videoTags.push(e),this.videoConfigs.push(void 0===t?this.defaultConfig:t),this.scrollCb("",!0),!0)},t.prototype.unergisterVideo=function(e){if(!(e instanceof HTMLVideoElement))throw new Error("Wrong tag passed into unregisterNewVideo");var t;return(t=this.videoTags.indexOf(e))>-1&&("function"==typeof e.remove?e.remove():e.parentNode&&e.parentNode.removeChild(e),this.pauseVideo(e,this.videoConfigs[t]),this.videoTags.splice(t,1),this.videoConfigs.splice(t,1),!0)},t.prototype.pauseVideo=function(e,t){if(!t)throw new Error("Wrong config type!");e.pause(),t.isNeedStop&&e.load()},t.prototype.setScrollListener=function(){e(window).bind("scroll",t_throttle(jQuery.proxy(this.scrollCb,this),200))},t.prototype.scrollCb=function(t,o){for(var i=e(window).height(),r=null,n=0,a=this.videoTags.length;n<a;n++){if(r=this.videoTags[n],_vrect=this.getVideoBoundingRect(r,!1),Math.abs(_vrect.top)<i&&Math.abs(_vrect.top)>i/2){var c=1-(Math.abs(_vrect.top)-i/2)/(i/2)-.2;c>0&&c<=1&&0!=r.volume&&(r.volume=c)}Math.abs(_vrect.top)>i||0==_vrect.height?this.pauseVideo(r,this.videoConfigs[n]):(o&&r.play(),r.paused&&r.loop&&r.play())}},t.prototype.getVideoObject=function(e){for(var t=0,o=this.videoTags.length;t>o;t++){var i=this.videoTags[t];if(i.v===e)return i}return null},t.prototype.getVideoBoundingRect=function(t,o){void 0===o&&(o=!0);var i=null;return o?(i=e(t).parents(".r")[0],i||(i=t)):i=t,i.getBoundingClientRect()},window.videoLoadProcessor=new t}(jQuery),function(e){function t(){this.setScrollCb(),this.itemHeight=screen.availHeight;var t=.25;this.itemTransitionTop=this.itemHeight*t,this.activeItemIndex=null,this.windowHeight=document.documentElement.clientHeight||window.innerHeight||screen.availHeight,this.topOffsetShift=-150,e(window).resize(jQuery.proxy(this.recalculateAllSequencesOffsets,this)),this._resizeInterval=setInterval(jQuery.proxy(this.scrollCb,this),500)}function o(t){var o=e("#rec"+t),i=o.find(".t-cover").height(),r=o.find("div[data-hook-content]").outerHeight();if(r>300&&i<r+40){r=r+120;if(r>1e3&&(r+=100),console.log("auto correct cover height: "+r),o.find(".t-cover").height(r),o.find(".t-cover__filter").height(r),o.find(".t-cover__carrier").height(r),o.find(".t-cover__wrapper").height(r),0==$isMobile&&setTimeout(function(){var e=o.find(".t-cover__carrier");e.find("iframe").length>0&&(console.log("correct video from cover_fixcontentheight"),c(e,r+"px")),e.find("video").length>0&&console.log("correct html5video from cover_fixcontentheight")},2e3),"function"==typeof window.t_lazyload_updateResize_elem)try{window.t_lazyload_updateResize_elem(o.find(".t-cover__carrier"))}catch(e){console.log("error:"+e)}}}function i(e,t,o){-1==e.indexOf("https://www.youtube.com/embed")&&(e="https://www.youtube.com/embed"+("/"==e[0]?e:"/"+e));var i=function(e){for(var t=e.split("/"),o=null,i=0,r=t.length;i<r;i++)"embed"==t[i]&&(o=t[i+1]);return o},r=location.protocol+"//"+location.host;return"yes"!=t?(e[e.length-1],e=e+"?autoplay=1&loop=1&enablejsapi=1&&playerapiid=featuredytplayer&controls=0&modestbranding=1&rel=0&showinfo=0&color=white&iv_load_policy=3&theme=light&wmode=transparent&origin="+r+"&playlist="+i(e)):(e[e.length-1],e=e+"?autoplay=0&loop=0&enablejsapi=1&&playerapiid=featuredytplayer&controls=1&modestbranding=1&rel=0&showinfo=0&color=black&iv_load_policy=3&theme=dark&wmode=transparent&origin="+r),"yes"!==o&&(e+="&mute=1"),e}function r(t,o,i){var r,a=e(window),c=e(t),s=0;a.scroll(function(){r&&(window.clearTimeout(r),s>=15&&(n(c,a,o,i),s=0),s++),r=window.setTimeout(function(){n(c,a,o,i),s=0},100)}),a.scroll()}function n(e,t,o,i){var r,n,a,c,s;r=e.offset().top,n=e.height(),a=t.scrollTop(),c=t.height(),s=o.getPlayerState(),a+c>r&&a<=r+n?(1!==s&&o.playVideo(),"yes"==i&&(a>r+n-100?o.setVolume(30):a>r+n-200?o.setVolume(70):a+c<r+200?o.setVolume(30):o.setVolume(100))):a+c<r&&a+c>r-500?2!==s&&(o.playVideo(),o.pauseVideo()):2!==s&&o.pauseVideo()}function a(){if("yes"!==window.loadytapi_flag){window.loadytapi_flag="yes";var e=document.createElement("script");e.src="https://www.youtube.com/iframe_api";var t=document.getElementsByTagName("script")[0];t.parentNode.insertBefore(e,t)}}function c(t,o){console.log("setWidthHeightYoutubeVideo:"+o);var i=t.find("iframe"),r=t.attr("data-content-video-nocover"),n=t.attr("data-content-video-noadcut-youtube"),a=t.attr("data-content-video-ratio"),c=.5625;if(a>0&&(c=1*parseFloat(a)),"yes"!=r){if(o||(o="100vh"),o.indexOf("vh")>-1){var s=window.innerHeight;s||(s=e(window).height());var d=Math.floor(s*(parseInt(o)/100))}else d=parseInt(o);var l=Math.floor(parseInt(window.innerWidth));l||(l=e(window).width());var p=l,u=p*c,h=p,f=u,m=u,v=1;if("yes"==n||(f=f+110+110,m=u-220),m<d)if(u<d)v=d/u+.02;else v=u/d+.02;var w=Math.floor(h*v),g=Math.floor(f*v),y=g-d,b=w-l;i.height(g+"px"),i.width(w+"px"),y>0&&i.css("margin-top",-Math.floor(y/2)+"px"),b>0&&i.css("margin-left",-Math.floor(b/2)+"px")}else{o||(u=Math.floor(t.width()*c)),o&&o.indexOf("vh")>-1?u=Math.floor(window.innerHeight*(parseInt(o)/100)):o&&(u=parseInt(o)),i.css("width","100%"),i.height(u+"px")}}t.prototype.defaultConfig={orientation:"vertical",speedFactor:1,automated:!1},t.prototype.sequenceObjects=[],t.prototype.recalculateAllSequencesOffsets=function(){this._resizeTimeout&&clearTimeout(this._resizeTimeout),this._resizeInterval&&clearInterval(this._resizeInterval),this._resizeTimeout=setTimeout(jQuery.proxy(function(){this.scrollCb(),this._resizeInterval=setInterval(jQuery.proxy(this.scrollCb,this),500)},this),10)},t.prototype.registerNewBlock=function(e){if(!(e instanceof HTMLElement))throw new Error("Wrong node type in registerNewBlock");for(var t=0,o=this.sequenceObjects.length;t<o;t++)if(this.sequenceObjects[t].sequenceBlock===e)return!1;var i=e.querySelector('[data-hook="sequence-holder"]'),r=0,n=this.getAbsoluteTopOffset(i),a=function(){var t=Array.prototype.slice.call(e.querySelectorAll('[data-hook="sequence-item"]'),0),o=[];return t.forEach(jQuery.proxy(function(e,t,i){var n=this.getItemHeight(e),a=e.querySelector('[data-hook="item-background"]');e.style.height=n+"px",a.style.height=this.itemHeight+"px",t<i.length-1&&(r+=n),o.push({node:e,height:n,topOffset:this.getAbsoluteTopOffset(e.querySelector(".txt-holder"))-(t==i.length-1?0:this.topOffsetShift),backgroundHolder:a})},this)),o}.call(this),c=(this.itemHeight,{sequenceBlock:e,sequenceHolder:i,sequenceHolderTopOffset:n,sequenceHeight:r,items:a,started:!1,prevBackgroundColor:""});return this.sequenceObjects.push(c),this.scrollCb(),!0},t.prototype.getItemHeight=function(e){var t=e.querySelector("[data-hook='item-text']");e.querySelector("[data-hook='item-background']");st=e.style;var o=parseFloat(getComputedStyle(t).top);t.style.top=o+"px";var i=Math.max(t.clientHeight+o,this.itemHeight);return i},t.prototype.fixTextBlocksPosition=function(e){txtBlocks=Array.prototype.slice.call(e.querySelectorAll('[data-hook="item-text"]'),0),txtBlocks.forEach(function(e,t,o){var i=e.parentNode.querySelector("[data-hook='item-background']");i.style.top="-"+e.clientHeight+"px"})},t.prototype.unergisterBlock=function(e){for(var t=0,o=this.sequenceObjects.length,i=null;t<o;t++)if(this.sequenceObjects[t].sequenceBlock===e){i=t;break}return null!==i&&(this.sequenceObjects.splice(i,1),!0)},t.prototype.getAbsoluteTopOffset=function(e){var t=e.offsetTop;for(e=e.offsetParent;null!=e;)t+=e.offsetTop,e=e.offsetParent;return t},t.prototype.processSequence=function(e){0==e.started&&(e.prevBackgroundColor=document.body.style.backgroundColor,document.body.style.backgroundColor="rgb(0, 0, 0)",e.started=!0);e.sequenceBlock,e.sequenceHolder;for(var t,o,i,r,n=e.items,a=null,c=0,s=n.length;c<s;c++)if(t=n[c].node,t.querySelector(".txt-holder"),r=t.getBoundingClientRect(),r.top<this.itemTransitionTop&&r.bottom<r.height+this.itemTransitionTop&&r.bottom>this.itemTransitionTop){a=c;break}if(null!=a){i=r.top/this.itemTransitionTop,i>1?i=1:i<0&&(i=0);for(c=0,s=n.length;c<s;c++)t=n[c].node,o=n[c].backgroundHolder.style,"fixed"!=o.position&&(o.position="fixed"),c==a?(o.opacity=1-i,t.querySelector(".txt-holder").style.opacity=1-i):c==a-1?(o.opacity=i,t.querySelector(".txt-holder").style.opacity=i):(o.opacity=0,t.querySelector(".txt-holder").style.opacity=0)}},t.prototype.stopSequence=function(e){0!=e.started&&(e.items.forEach(function(e,t,o){e.backgroundHolder.style.position="relative",e.backgroundHolder.style.display="block",e.backgroundHolder.style.opacity=1}),document.body.style.backgroundColor=e.prevBackgroundColor,e.started=!1)},t.prototype.scrollCb=function(){e(window).scrollTop();for(var t,o=0,i=this.sequenceObjects.length;o<i;o++){t=this.sequenceObjects[o];var r=t.sequenceHolder.getBoundingClientRect();r.top<0&&r.bottom>0&&r.bottom>r.height-t.sequenceHeight-100?this.processSequence(t):this.stopSequence(t)}},t.prototype.setScrollCb=function(){this._scrollCb=jQuery.proxy(this.scrollCb,this),e(window).bind("scroll",t_throttle(this._scrollCb,200))},window.sequenceController=new t,window.processVideo=function(t){mp4Src=e(t).attr("data-content-video-url-mp4"),webmSrc=e(t).attr("data-content-video-url-webm"),e(t).css("background-color","transparent"),e(t).css("background-image","");var o={mp4:mp4Src,webm:webmSrc,preload:"none",autoplay:!1,loop:!0,scale:!0,zIndex:0,width:"100%"};vid=e(t).videoBG(o),videoLoadProcessor.registerNewVideo(vid,{isNeedStop:!1})},window.cover_init=function(t){e(document).ready(function(){var i=document.body.querySelector("#coverCarry"+t),r=e(i),n=r.attr("data-content-cover-bg"),a=r.attr("data-content-cover-height"),c=r.attr("data-content-cover-parallax"),s=r.attr("data-content-video-url-mp4"),d=r.attr("data-content-video-url-webm"),l=r.attr("data-content-video-url-youtube"),p=r.attr("data-content-video-noloop"),u=r.attr("data-content-video-nomute"),h=r.attr("data-content-bg-base64"),f=r.attr("data-content-video-nocover");n||(n=""),a||(a=""),c||(c=""),s||(s=""),d||(d=""),l||(l=""),p||(p=""),u||(u=""),l||(l=""),h||(h=""),f&&"yes"==f&&(s="",d="",l=""),!$isMobile||""==d&&""==s&&""==l||r.css("background-image","url('"+n+"')"),setTimeout(function(){o(t)},500);var m=e("#rec"+t).find("img[data-hook-clogo]");if(m.length&&m.load(function(){setTimeout(function(){o(t)},500)}),$isMobile&&e(window).on("orientationchange",function(){o(t)}),(""!==s||""!==d||""!==l)&&0==$isMobile)if(""!=l||""==s&&""==d){if(""!=l){r.css("background-color","#000000"),r.css("background-image",""),r.attr("data-content-cover-bg","");b=0,x=e(window);x.scroll(function(){g&&window.clearTimeout(g),g=window.setTimeout(function(){var e,t,o,n;(b=r.find("iframe").length,b>0)||(e=r.offset().top,t=r.height(),o=x.scrollTop(),n=x.height(),o+n>e-500&&o<=e+t+500&&processYoutubeVideo(i,a))},100)}),x.scroll()}}else{if(r.css("background-color","#000000"),r.css("background-image","url('https://tilda.ws/img/spinner-white.gif')"),r.css("background-size","auto"),r.attr("data-content-cover-bg",""),""!=p)var v=!1;else v=!0;if(""!=u)var w=1;else w="";var g,y="";"fixed"==c&&(a.indexOf("vh")>-1&&parseInt(a)>100&&(r.css("height","100vh"),y="yes"),a.indexOf("px")>-1&&parseInt(a)>e(window).height()&&(r.css("height","100vh"),y="yes"));var b="",x=e(window),_=r.parent();x.scroll(function(){var e,t,o,i;(g&&window.clearTimeout(g),g=window.setTimeout(function(){var e,t,o,i;if(!(b>0)&&(e=r.offset().top,t=r.height(),o=x.scrollTop(),i=x.height(),o+i>e-500&&o<=e+t+500)){var n=r.videoBG({mp4:s,webm:d,poster:"",preload:"none",autoplay:!1,loop:v,volume:w,scale:!0,zIndex:0,width:"100%"});videoLoadProcessor.registerNewVideo(n),b=1}},100),"fixed"==c&&"yes"==y)&&(e=_.offset().top,t=_.height(),o=x.scrollTop(),i=x.height(),o>=e+t-i?(r.css("position","absolute"),r.css("bottom","0px"),r.css("top","auto")):o>=e?(r.css("position","fixed"),r.css("top","0px")):o<e&&(r.css("position","relative"),r.css("top","auto")))}),x.scroll()}if("dynamic"==c&&0==$isMobile&&r.parallax("50%",.2,!0),"yes"==h&&""!=n&&""==s&&""==d&&""==l){var T="";e("<img/>").attr("src",n).load(function(){e(this).remove(),r.css("background-image","url('"+n+"')"),r.css("opacity","1")}),"yes"!=T&&(r.css("background-image",""),r.css("opacity","0"),r.css("transition","opacity 25ms"))}var k=e("#rec"+t).find(".t-cover__arrow-wrapper");k.length>0&&k.click(function(){var o=e("#rec"+t).height();o>0&&e("html, body").animate({scrollTop:e("#rec"+t).offset().top+o},500)})})},e(document).ready(function(){e(".t-cover__carrier").each(function(){var t=e(this).attr("data-content-cover-id");t>0&&cover_init(t)})});var s=e.Deferred();window.processYoutubeVideo=function(t,o){a();var n=function(){var n,a=e(t),s=a.attr("data-content-video-url-youtube"),d=a.attr("data-content-video-nomute"),l=a.attr("data-content-video-noloop"),p=a.attr("data-content-video-nocover"),u=document.createElement("iframe");if(u.src=i(s,p,d),u.frameBorder=0,u.allow="autoplay",t.appendChild(u),0==$isMobile)new YT.Player(u,{events:{onReady:function(e){r(t,e.target,d),e.target.setVolume&&"yes"!=d&&e.target.setVolume(0),e.target.setLoop(!0)},onStateChange:function(t){if(t.target.setVolume&&"yes"!=d&&t.target.setVolume(0),-1===t.data){var o=window.fix_scrolltop_beforestop_youtube;o>=0&&(e("html, body").scrollTop(o),delete window.fix_scrolltop_beforestop_youtube)}t.data===YT.PlayerState.PLAYING?n=window.setInterval(function(){var e=t.target.getCurrentTime(),o=t.target.getDuration();e+1>o&&0!==o&&(t.target.seekTo(0),"yes"===l&&(t.target.stopVideo(),t.target.clearVideo()))},1e3):window.clearTimeout(n)}}});c(a,o)};s.then(n)},window.onYouTubeIframeAPIReady=function(){s.resolve()}}(jQuery),function(e){function t(){this.callbacks={}}t.prototype.defaultConfig={single:!1,context:null},t.prototype.addEventListener=function(e,t,o){evtCallbacks=this._getEventCallbacks(e),evtCallbacks||(evtCallbacks=this.callbacks[e]=[]),evtCallbacks.push({callback:t,config:"object"==typeof o?o:this.defaultConfig})},t.prototype._getEventCallbacks=function(e){return this.callbacks[e]},t.prototype.removeEventListener=function(e,t){var o=this._getEventCallbacks(e);if(!o)return!1;for(var i,r=0,n=o.length;r<n;r++)if(i=o[r],t===i.callback)return o.splice(r,1),!0;return!1},t.prototype.emitEvent=function(e,t){var o=[];extend(o,this._getEventCallbacks(e));for(var i,r,n,a=0,c=o.length;a<c;a++)i=o[a],r=i.callback,n=i.config,n.context?r.call(n.context,t):r(t),n.single&&this.removeEventListener(e,r)},window.observer=new t}(jQuery),function(e){e(document).ready(function(){if(0==$isMobile&&"yes"!==e("#allrecords").attr("data-blocks-animationoff")&&0==window.isSearchBot){e(".r").each(function(t){e(this).attr("style")&&-1!==e(this).attr("style").indexOf("background-color")&&e(this).attr("data-animationappear","off")});var t=e(".r").not("[data-animationappear=off], [data-screen-min], [data-screen-max]"),o=e(window);function i(){if(t.length)for(var i,r,n,a=t.length-1;a>=0;a--)i=e(t[a]),r=i.offset().top,n=i.outerHeight()<=100?o.scrollTop()+o.height():o.scrollTop()+o.height()-100,r<n&&(i.removeClass("r_hidden"),i.addClass("r_showed"),t.splice(a,1))}t.each(function(t){a=e(this).offset().top,b=o.scrollTop()+o.height()+300,a>1e3&&a>b?e(this).addClass("r_hidden"):e(this).addClass("r_showed"),e(this).addClass("r_anim")}),o.bind("scroll",t_throttle(i,200)),i()}e("body").height()+70<e(window).height()&&e(".t-tildalabel").css("display","none")})}(jQuery),function(e){function t(){var t=e(window);window.winWidth=t.width(),window.winHeight=t.height()}function o(){var t,o,i,r=e(window).width(),n=e("div.r[data-screen-max], div.r[data-screen-min]");n.each(function(n){i=e(this).css("display"),t=e(this).attr("data-screen-max"),void 0===t&&(t=1e4),t=parseInt(t),o=e(this).attr("data-screen-min"),void 0===o&&(o=0),o=parseInt(o),o<=t&&(r<=t&&r>o?"block"!=i&&e(this).css("display","block"):"none"!=i&&e(this).css("display","none"))})}e(document).ready(function(){t(),o(),e(window).bind("resize",t_throttle(t,200)),e(window).bind("resize",t_throttle(o,200))})}(jQuery),function(e){function t(t,o){var i=t.closest(".t-cover__carrier"),r=o+"";console.log("setWidthHeightHTMLVideo:"+r);var n=i.find("video"),a=i.attr("data-content-video-nocover"),c=i.attr("data-content-video-ratio"),s=.5625;if(c>0&&(s=1*parseFloat(c)),"yes"!=a){if(r||(r="100vh"),r.indexOf("vh")>-1){var d=window.innerHeight;d||(d=e(window).height());var l=Math.floor(d*(parseInt(r)/100))}else l=parseInt(r);var p=Math.floor(parseInt(window.innerWidth));p||(p=e(window).width());var u=p,h=u*s,f=u,m=h,v=h,w=1;if(v<l)if(h<l)w=l/h+.02;else w=h/l+.02;var g=Math.floor(f*w),y=Math.floor(m*w),b=y-l,x=g-p;n.height(y+"px"),n.width(g+"px"),b>0&&n.css("margin-top",-Math.floor(b/2)+"px"),x>0&&n.css("margin-left",-Math.floor(x/2)+"px")}else{r||(h=Math.floor(i.width()*s)),r&&r.indexOf("vh")>-1?h=Math.floor(window.innerHeight*(parseInt(r)/100)):r&&(h=parseInt(r)),n.css("width","100%"),n.height(h+"px")}}e.fn.videoBG=function(o,i){i={};if("object"==typeof o)i=e.extend({},e.fn.videoBG.defaults,o);else{if(o)return e(o).videoBG(i);i=e.fn.videoBG.defaults}var r=e(this);if(r.length){"static"!=r.css("position")&&r.css("position")||r.css("position","relative"),0==i.width&&(i.width=r.width()),0==i.height&&(i.height=r.height()),i.textReplacement&&(i.scale=!0,r.width(i.width).height(i.height).css("text-indent","-9999px"));var n=e.fn.videoBG.video(i);return i.scale&&n.height(i.height).width(i.width),r.append(n),void 0===r.attr("data-content-video-nomute")&&r.find("video").prop("muted",!0),t(n,i.height),n.find("video")[0]}},e.fn.videoBG.setFullscreen=function(t){var o=e(window).width(),i=e(window).height();if(t.css("min-height",0).css("min-width",0),t.parent().width(o).height(i),o/i>t.aspectRatio){t.width(o).height("auto");var r=t.height(),n=(r-i)/2;n<0&&(n=0),t.css("top",-n)}else{t.width("auto").height(i);var a=t.width();n=(a-o)/2;if(n<0&&(n=0),t.css("left",-n),0===n)setTimeout(function(){e.fn.videoBG.setFullscreen(t)},500)}e("body > .videoBG_wrapper").width(o).height(i)},e.fn.videoBG.video=function(t){var o=e("<div/>");o.addClass("videoBG").css("position",t.position).css("z-index",t.zIndex).css("top",0).css("left",0).css("height",t.height).css("width",t.width).css("opacity",t.opacity).css("overflow","hidden");var i,r=e("<video/>");(r.css("position","relative").css("z-index",t.zIndex).attr("poster",t.poster).css("top",0).css("left",0).css("min-width","100%").css("min-height","100%"),t.autoplay&&r.attr("autoplay",t.autoplay),t.volume>0?r.prop("volume",t.volume):r.prop("volume",0),t.fullscreen)&&(r.bind("canplay",function(){r.aspectRatio=r.width()/r.height(),e.fn.videoBG.setFullscreen(r)}),e(window).resize(function(){clearTimeout(i),i=setTimeout(function(){e.fn.videoBG.setFullscreen(r)},100)}),e.fn.videoBG.setFullscreen(r));var n=r[0];t.loop&&(loops_left=t.loop,r.bind("ended",function(){loops_left&&n.play(),!0!==loops_left&&loops_left--})),r.bind("canplay",function(){t.autoplay&&n.play()}),e.fn.videoBG.supportsVideo()&&(e.fn.videoBG.supportType("webm")&&""!=t.webm?r.attr("src",t.webm):e.fn.videoBG.supportType("mp4")&&""!=t.mp4?r.attr("src",t.mp4):r.attr("src",t.ogv));var a=e("<img/>");return a.attr("src",t.poster).css("position","absolute").css("z-index",t.zIndex).css("top",0).css("left",0).css("min-width","100%").css("min-height","100%"),e.fn.videoBG.supportsVideo()?o.html(r):o.html(a),t.textReplacement&&(o.css("min-height",1).css("min-width",1),r.css("min-height",1).css("min-width",1),a.css("min-height",1).css("min-width",1),o.height(t.height).width(t.width),r.height(t.height).width(t.width),a.height(t.height).width(t.width)),e.fn.videoBG.supportsVideo(),o},e.fn.videoBG.supportsVideo=function(){return document.createElement("video").canPlayType},e.fn.videoBG.supportType=function(t){if(!e.fn.videoBG.supportsVideo())return!1;var o=document.createElement("video");switch(t){case"webm":return o.canPlayType('video/webm; codecs="vp8, vorbis"');case"mp4":return o.canPlayType('video/mp4; codecs="avc1.42E01E, mp4a.40.2"');case"ogv":return o.canPlayType('video/ogg; codecs="theora, vorbis"')}return!1},e.fn.videoBG.wrapper=function(){var t=e("<div/>");return t.addClass("videoBG_wrapper").css("position","absolute").css("top",0).css("left",0),t},e.fn.videoBG.defaults={mp4:"",ogv:"",webm:"",poster:"",autoplay:!0,loop:!0,scale:!1,position:"absolute",opacity:1,textReplacement:!1,zIndex:0,width:0,height:0,fullscreen:!1,imgFallback:!0}}(jQuery),function(e){var t=e(window),o=t.height();t.resize(function(){o=t.height()}),e.fn.parallax=function(i,r,n){function a(){var i=t.scrollTop();s.each(function(){var t=e(this),n=t.offset().top,a=c(t),s=this.getBoundingClientRect();if(!(n+a<i||n>i+o)){var l=-1*Math.round(s.top*r);d?this.style["-webkit-transform"]="translateY("+l+"px)":this.style.top=l+"px"}})}var c,s=e(this),d=void 0!==document.body.style["-webkit-transform"];d&&s.css("position","relative"),window.correctFirstTop4Parallax=function(){s.each(function(){s.offset().top})},window.correctFirstTop4Parallax(),c=n?function(e){return e.outerHeight(!0)}:function(e){return e.height()},(arguments.length<1||null===i)&&(i="50%"),(arguments.length<2||null===r)&&(r=.1),(arguments.length<3||null===n)&&(n=!0),e(window).resize(window.correctFirstTop4Parallax),t.bind("scroll",a).resize(a),"complete"!==document.readyState?window.addEventListener("load",function(){a()}):a()}}(jQuery),window.Tilda=window.Tilda||{},function(e){Tilda.sendEcommerceEvent=function(t,o){if(void 0===o||0==o.length)return!1;if(void 0===t||"add"!=t&&"remove"!=t&&"purchase"!=t&&"detail"!=t)return!1;var i,r,n,a,c="",s=0,d=[],l="",p="",u="";for(i=0;i<o.length;i++){a=o[i],c>""&&(c+=", "),c+=a.name,s+=a.price,n="",void 0!==a.options&&a.options.length>0&&e.each(a.options,function(e,t){n+=t.option+": "+t.variant+"; "});var h={name:a.name,price:a.price,variant:n,quantity:1};a.uid&&a.uid>0&&(p=a.uid,h.uid=a.uid),a.recid&&a.recid>0&&(l=a.recid,h.recid=a.recid),a.lid&&a.lid>0&&(u=a.lid,h.lid=a.lid),a.sku&&a.sku>0&&(h.sku=a.sku),d[d.length]=h}"add"!=t&&"remove"!=t||(r="/tilda/cart/"+remove+"/",l>0&&(r+=""+l),p>0?r+="-u"+p:u>0&&(r+="-"+u)),"detail"==t&&(r="/tilda/product/detail/",p>0?r+=p+"/":(l>0&&(r+="r"+l),u>0&&(r+="-l"+u))),"purchase"==t&&(r="/tilda/rec"+l+"/payment/");h={ecommerce:{}};h.ecommerce[t]={products:d},Tilda.sendEventToStatistics(r,c,h,s)},Tilda.sendEventToStatistics=function(t,o,i,r){var n="/"==t.substring(0,1),a=[],c=0,s=e("#allrecords").data("fb-event");s=!(!s||"nosend"!=s);var d=e("#allrecords").data("vk-event");d=!(!d||"nosend"!=d);var l="";if(l=e("#allrecords").data("tilda-currency")||e(".t706").data("project-currency-code")||"RUB",i||(i=window.location.href),r=r?parseFloat(r):0,r>0)if(window.dataLayer||(window.dataLayer=[]),-1!=t.indexOf("/tilda/")&&-1!=t.indexOf("/payment/")&&window.tildaForm&&window.tildaForm.orderIdForStat>"")i={ecommerce:{purchase:{actionField:{id:window.tildaForm.orderIdForStat},products:window.tildaForm.arProductsForStat}}},i.event="purchase";else if(i&&i.ecommerce&&(i.ecommerce.add&&i.ecommerce.add.products?a=i.ecommerce.add.products:i.ecommerce.remove&&i.ecommerce.remove.products?a=i.ecommerce.remove.products:i.ecommerce.detail&&i.ecommerce.detail.products&&(a=i.ecommerce.detail.products),a&&a.length>0)){for(c=0;c<a.length;c++)a[c].id||(a[c].sku?a[c].id=a[c].sku:a[c].uid?a[c].id=a[c].uid:a[c].recid&&a[c].lid&&(a[c].id=a[c].recid+"_"+a[c].lid));i.ecommerce.add&&i.ecommerce.add.products?(i.ecommerce.add.products=a,i.event="addToCart"):i.ecommerce.remove&&i.ecommerce.remove.products?(i.ecommerce.remove.products=a,i.event="removeFromCart"):i.ecommerce.detail&&i.ecommerce.detail.products?(i.ecommerce.detail.products=a,i.event="viewProduct"):(n?(i.event="pageView",i.eventAction=t):i.event=t,i.title=o,i.value=r)}null!=window.dataLayer&&(n?r>0?i&&i.ecommerce?window.dataLayer.push(i):window.dataLayer.push({event:"pageView",eventAction:t,title:o,value:r,product:i}):window.dataLayer.push({event:"pageView",eventAction:t,title:o,referer:i}):i&&i.ecommerce?window.dataLayer.push(i):window.dataLayer.push({event:t,eventAction:o,value:r,referer:i}));try{window.gtagTrackerID&&"gtag"==window.mainTracker&&(n?i&&i.event?"purchase"==i.event?gtag("event","purchase",{transaction_id:i.ecommerce.purchase.actionField.id,value:parseFloat(r).toFixed(2),currency:l,items:i.ecommerce.purchase.products}):"addToCart"==i.event&&i.ecommerce.add?gtag("event","add_to_cart",{items:i.ecommerce.add.products}):"removeFromCart"==i.event&&i.ecommerce.remove?gtag("event","remove_from_cart",{items:i.ecommerce.remove.products}):"viewProduct"==i.event&&i.ecommerce.detail&&gtag("event","view_item",{items:i.ecommerce.detail.products}):gtag("config",window.gtagTrackerID,{page_title:o,page_path:t}):gtag("event",t,{event_category:"tilda",event_label:o,value:r}))}catch(e){}if(window.ga&&"tilda"!=window.mainTracker&&"gtag"!=window.mainTracker)if(n)if(i&&i.event){try{if(window.Tilda.isLoadGAEcommerce||(window.Tilda.isLoadGAEcommerce=!0,ga("require","ec")),ga("set","currencyCode",l),"purchase"==i.event){var p=i.ecommerce.purchase.products.length;for(w=0;w<p;w++)v=i.ecommerce.purchase.products[w],ga("ec:addProduct",{id:v.id||w,name:v.name,price:parseFloat(v.price).toFixed(2),quantity:v.quantity});ga("ec:setAction","purchase",{id:i.ecommerce.purchase.actionField.id,revenue:parseFloat(r).toFixed(2)})}else if("addToCart"==i.event&&i.ecommerce.add){p=i.ecommerce.add.products.length;for(w=0;w<p;w++)v=i.ecommerce.add.products[w],ga("ec:addProduct",{id:v.id||w,name:v.name,price:parseFloat(v.price).toFixed(2),quantity:v.quantity});ga("ec:setAction","add")}else if("removeFromCart"==i.event&&i.ecommerce.remove){p=i.ecommerce.remove.products.length;for(w=0;w<p;w++)v=i.ecommerce.remove.products[w],ga("ec:addProduct",{id:v.id||w,name:v.name,price:parseFloat(v.price).toFixed(2),quantity:v.quantity});ga("ec:setAction","remove")}else if("viewProduct"==i.event&&i.ecommerce.detail){p=i.ecommerce.detail.products.length;for(w=0;w<p;w++)v=i.ecommerce.detail.products[w],ga("ec:addProduct",{id:v.id||w,name:v.name,price:parseFloat(v.price).toFixed(2),quantity:v.quantity});ga("ec:setAction","detail")}}catch(e){}ga("send",{hitType:"pageview",page:t,title:o,params:i})}else ga("send",{hitType:"pageview",page:t,title:o});else ga("send",{hitType:"event",eventCategory:"tilda",eventAction:t,eventLabel:o,eventValue:r});if(window.mainMetrika>""&&window[window.mainMetrika]&&(n?r>0?window[window.mainMetrika].hit(t,{title:o,order_price:r,params:i}):window[window.mainMetrika].hit(t,{title:o}):r>0?window[window.mainMetrika].reachGoal(t,{title:o,params:i,order_price:r}):window[window.mainMetrika].reachGoal(t,{title:o,referer:i})),null!=window.fbq&&0==s)try{if(n)if(-1==t.indexOf("tilda/")||-1==t.indexOf("/payment/")&&-1==t.indexOf("/submitted/"))if(i&&i.event&&r>0)if("addToCart"==i.event&&i.ecommerce.add){p=i.ecommerce.add.products.length;var u=[];for(w=0;w<p;w++)v=i.ecommerce.add.products[w],u.push(v.id||v.uid||v.name)
  ;window.fbq("track","AddToCart",{content_ids:u,content_type:"product",value:r,currency:l})}else if("viewProduct"==i.event&&i.ecommerce.detail){p=i.ecommerce.detail.products.length,u=[];for(w=0;w<p;w++)v=i.ecommerce.detail.products[w],u.push(v.id||v.uid||v.name);window.fbq("track","ViewContent",{content_ids:u,content_type:"product",value:r,currency:l})}else t.indexOf("tilda/popup"),window.fbq("track","ViewContent",{content_name:o,content_category:t});else t.indexOf("tilda/popup"),window.fbq("track","ViewContent",{content_name:o,content_category:t});else r>0&&l?window.fbq("track","InitiateCheckout",{content_name:o,content_category:t,value:r,currency:l}):window.fbq("track","Lead",{content_name:o,content_category:t});else window.fbq("track",t,{content_name:o,value:r})}catch(e){}if(void 0!==window.VK&&void 0!==window.VK.Retargeting&&0==d)try{if(n){var h=e("#allrecords").data("vk-price-list-id")?parseInt(e("#allrecords").data("vk-price-list-id")):0,f="",m=!1;if(i&&i.event)if(m={products:[],currency_code:"",total_price:0},"purchase"==i.event&&i.ecommerce.purchase)if(r>0&&h>0){m.currency_code=l;p=i.ecommerce.purchase.products.length,u=[];for(w=0;w<p;w++)v=i.ecommerce.purchase.products[w],m.products.push({id:v.id||v.uid||v.name,price:v.price?v.price:0}),m.total_price=r;f="init_checkout"}else f="t-purchase";else if("addToCart"==i.event&&i.ecommerce.add)if(r>0&&h>0){m.currency_code=l;p=i.ecommerce.add.products.length,u=[];for(w=0;w<p;w++)v=i.ecommerce.add.products[w],m.products.push({id:v.id||v.uid||v.name,price:v.price?v.price:0}),m.total_price=r;f="add_to_cart"}else f="t-add-to-cart",i.ecommerce.add[0]&&i.ecommerce.add[0].uid&&(f+="-"+i.ecommerce.add[0].uid);else if("viewProduct"==i.event&&i.ecommerce.detail)if(r>0&&h>0){m.currency_code=l;p=i.ecommerce.detail.products.length,u=[];for(w=0;w<p;w++)v=i.ecommerce.detail.products[w],m.products.push({id:v.id||v.uid||v.name,price:v.price?v.price:0}),m.total_price=r;f="view_product"}else f="t-view-product",i.ecommerce.detail[0]&&i.ecommerce.detail[0].uid&&(f+="-"+i.ecommerce.detail[0].uid);else if("removeFromCart"==i.event&&i.ecommerce.remmove)if(r>0&&h>0){m.currency_code=l;var v,w;p=i.ecommerce.remove.products.length,u=[];for(w=0;w<p;w++)v=i.ecommerce.remove.products[w],m.products.push({id:v.id||v.uid||v.name,price:v.price?v.price:0}),m.total_price=r;f="remove_from_cart"}else f="t-remove-product",i.ecommerce.remove[0]&&i.ecommerce.remove[0].uid&&(f+="-"+i.ecommerce.remove[0].uid);else f=i.event;else if(-1!=t.indexOf("tilda/")&&-1!=t.indexOf("/payment/")){var g=t.replace("tilda/","");g=g.replace("/payment/",""),f="t-purchase-"+g}else if(-1!=t.indexOf("tilda/")&&-1!=t.indexOf("/submitted/")){g=t.replace("tilda/","");g=g.replace("/submitted/",""),f="t-lead-"+g}else if(-1!=t.indexOf("tilda/popup")){g=t.replace("tilda/","");g=g.replace("/","-"),f="t-"+g}else if(-1!=t.indexOf("tilda/click")){g=t.replace("tilda/","");g=g.replace("/","-"),f="t-"+g}else{g=t.replace("/","-");f="t-"+g}h>0&&m&&m.currecy_code?(VK.Retargeting.Event("purchase"),VK.Retargeting.ProductEvent(h,f,m)):VK.Retargeting.Event(f)}else VK.Retargeting.Event(t)}catch(e){}"function"==typeof window.tildastat&&(n?(t.indexOf("payment")>0&&t.indexOf("tilda/form")>-1&&(t=t.replace("tilda/form","tilda/rec")),window.tildastat("pageview",{page:t})):window.tildastat("pageview",{page:"/tilda/event/"+t}))},Tilda.saveUTM=function(){try{var e=window.location.href,t="",o="";if(-1!==e.toLowerCase().indexOf("utm_")&&(e=e.toLowerCase(),t=e.split("?"),t=t[1],"string"==typeof t)){var i,r,n=t.split("&");for(r in n)i=n[r].split("="),"utm_"==i[0].substring(0,4)&&(o=o+n[r]+"|||");if(o.length>0){var a=new Date;a.setDate(a.getDate()+30),document.cookie="TILDAUTM="+encodeURIComponent(o)+"; path=/; expires="+a.toUTCString()}}}catch(e){}},e(document).ready(function(){var t=navigator.userAgent.toLowerCase(),o=-1!=t.indexOf("msie")&&parseInt(t.split("msie")[1]);8!=o&&9!=o||e(".t-btn").each(function(){var t=e(this).attr("href");e(this).find("table").length>0&&t>""&&-1==t.indexOf("#popup:")&&-1==t.indexOf("#price:")&&e(this).click(function(t){t.preventDefault();var o=e(this).attr("href");window.location.href=o})});try{1==e("#allrecords").length&&"no"==e("#allrecords").data("tilda-cookie")||Tilda.saveUTM()}catch(e){}e(".r").off("click","a.js-click-stat"),e(".r").on("click","a.js-click-stat",function(t){var o=e(this).data("tilda-event-name"),i=e(this).text(),r=e(this).attr("href")||"",n=e(this).attr("target");if(o||(o="/tilda/click/".$(this).closest(".r").attr("id")+"/?url="+r),Tilda.sendEventToStatistics(o,i),"http"==r.substring(0,4))return window.setTimeout(function(){var t,o,i="",a="";if("_blank"==n){if(-1!=r.indexOf("?")&&(i=r.split("?"),r=i[0],i=i[1],-1!=i.indexOf("#")&&(i=i.split("#"),r=r+"#"+i[1],i=i[0]),i=i.split("&")),0==e("#tildaredirectform").length?e("body").append('<form id="tildaredirectform" target="_blank" method="GET" action="'+r+'" style="display:none;"></form>'):e("#tildaredirectform").attr("method","GET").attr("action",r),a="",i.length>0)for(t in i)o=i[t].split("="),o&&o.length>0&&(a+='<input type="hidden" name="'+o[0]+'" value="'+(o[1]?o[1]:"")+'">');e("#tildaredirectform").html(a),e("#tildaredirectform").submit()}else window.location.href=r},300),t.preventDefault(),!1}),e("input.js-amount").each(function(){var t=e(this).val();t=t.replace(/,/g,"."),t=parseFloat(t.replace(/[^0-9\.]/g,"")),e(this).val(t)}),Tilda.showFormError=function(e,t){var o=e.find(".js-errorbox-all");o&&0!=o.length||(e.prepend('<div class="js-errorbox-all"></div>'),o=e.find(".js-errorbox-all"));var i=o.find(".js-rule-error-all");i&&0!=i.length||(o.append('<p class="js-rule-error-all"></p>'),i=o.find(".js-rule-error-all")),"string"==typeof t?i.html(t):t&&t.responseText?i.html(t.responseText+". Later, plaese try again."):t&&t.statusText?i.html("Error - "+t.statusText+". Later, plaese try again."):i.html("Unknown error. Later, plaese try again."),i.show(),o.show()},Tilda.robokassaPayment=function(t,o,i){return e.ajax({type:"POST",url:"https://forms.tildacdn.com/payment/robokassa/",data:t.serialize(),dataType:"text",success:function(r){o.removeClass("t-btn_sending"),o.data("form-sending-status","0"),o.data("submitform","");var n=o.closest(".r").attr("id");if("{"==r.substring(0,1)){if(window.JSON&&window.JSON.parse?json=window.JSON.parse(r):json=e.parseJSON(r),!json)return void Tilda.showFormError(t,!1);if(json.error>"")return void Tilda.showFormError(t,json.error)}else if("http"==r.substring(0,4)){Tilda.sendEventToStatistics("/tilda/payment/"+n+"/click/","Payment button: "+o.val(),"",i);var a=r;window.setTimeout(function(){window.location.href=a},500)}else Tilda.showFormError(t,r)},fail:function(e){o.removeClass("t-btn_sending"),o.data("form-sending-status","0"),o.data("submitform","");Tilda.showFormError(t,e)},timeout:15e3})}})}(jQuery);