function t_animate__init(){t_animate__checkAnimationAvailability()&&(t_animate__wrapTextWithOpacity(),t_animate__addNoHoverClassToBtns(),t_animate__preventHorizontalScroll(),1200<=window.innerWidth&&t_animate__parseNumberText(),setTimeout(function(){t_animate__startAnimation()},1500))}function t_animate__checkMobile(t){return Array.prototype.filter.call(t,function(t){var e,a=t.closest(".t396__elem"),a=a?a.getAttribute("data-animate-mobile"):null;return t.classList.contains("r")?(e=t.querySelectorAll(".t-animate"),Array.prototype.forEach.call(e,function(t){t.classList.remove("t-animate")}),!1):!!a||(t.classList.remove("t-animate"),!1)})}function t_animate__preventHorizontalScroll(){var t=document.querySelector(".t-records"),e=document.querySelectorAll("[data-animate-style=fadeinleft]"),e=Array.prototype.filter.call(e,function(t){return!t.classList.contains("t396__elem")});t&&e.length&&(t.style.overflowX="hidden")}function t_animate__checkAnimationAvailability(){var t=document.querySelector(".t-records"),e=t?t.getAttribute("data-blocks-animationoff"):null,t=t?t.getAttribute("data-tilda-mode"):null;return!/Bot/i.test(navigator.userAgent)&&"yes"!==e&&!t_animate__checkIE()&&"edit"!==t||(e=document.querySelectorAll(".t-animate"),Array.prototype.forEach.call(e,function(t){t.classList.remove("t-animate")}),!1)}function t_animate__startAnimation(){var t,a,e,n=document.querySelectorAll(".r"),i=Array.prototype.filter.call(n,function(t){return t.querySelector(".t-animate[data-animate-group=yes]")}),r=Array.prototype.filter.call(n,function(t){return t.querySelector('.t-animate[data-animate-chain="yes"]')}),o=document.querySelectorAll(".t-animate");o=Array.prototype.filter.call(o,function(t){return!("yes"===t.getAttribute("data-animate-group")||"yes"===t.getAttribute("data-animate-chain")||t.getAttribute("observer-ready"))}),window.innerWidth<1200&&(i=t_animate__checkMobile(i),r=t_animate__checkMobile(r),o=t_animate__checkMobile(o)),(i.length||o.length||r.length)&&(t_animate__setAnimationState(i,r,o),i=t_animate__hasWaitAnimation(i),o=t_animate__hasWaitAnimation(o),r=t_animate__hasWaitAnimation(r),t="undefined"!=typeof navigator&&/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&/(os |version\/)15(.|_)[4-9]/i.test(navigator.userAgent),"IntersectionObserver"in window&&!t?(i.length&&(a=[],i.forEach(function(t){var e=t.querySelector(".t-animate");"fadeindown"===e.getAttribute("data-animate-style")&&e.closest(".t-cover")&&(t=t.querySelector(".t-animate:not(:first-child)"))&&(e=t),a.push(e)}),a.forEach(function(t){new IntersectionObserver(function(t,a){t.forEach(function(t){var e;t.isIntersecting&&(t=t.target,a.unobserve(t),e=t.closest(".r").querySelectorAll(".t-animate"),e=Array.prototype.filter.call(e,function(t){return!(t.classList.contains("t-animate__btn-wait-chain")||"yes"===t.getAttribute("data-animate-chain"))}),t_animate__makeSectionButtonWait(t),t_animate__saveSectionHeaderStartTime(t),Array.prototype.forEach.call(e,function(t){t.classList.remove("t-animate_wait"),t_animate__removeNoHoverClassFromBtns(t),t.classList.add("t-animate_started")}))})},{}).observe(t)})),o.length&&o.forEach(function(t){var e={},a=t_animate__getAttrByResBase(t,"trigger-offset"),a=(a&&(e.rootMargin="0px 0px "+-1*a.replace("px","")+"px 0px"),new IntersectionObserver(function(t,n){t.forEach(function(t){var e,a=t.target;!a.demandTransform&&a.style.transform?(a.demandTransform=a.style.transform,a.style.transform="unset"):(e=window.getComputedStyle(a).transform,a.style.transform||"none"===e||(a.demandTransform=e,a.style.transform="unset")),t.isIntersecting&&(n.unobserve(a),e=-1!==(e=a.style.transitionDelay||"0ms").indexOf("ms")?parseInt(e)+250:1e3*parseFloat(e)+250,a.demandTransform&&-1!==a.demandTransform.indexOf("matrix")&&(a.style.transform=""),a.demandTransform&&"unset"===a.style.transform&&(a.style.transform=a.demandTransform,delete a.demandTransform),setTimeout(function(){a.classList.remove("t-animate_wait"),t_animate__removeNoHoverClassFromBtns(a),a.classList.add("t-animate_started"),"animatednumber"===t_animate__getAttrByResBase(a,"style")&&t_animate__animateNumbers(a)},e))})},e));t.dataset.observerReady=!0,a.observe(t)}),r.length&&((e=function(){t_animate__getChainOffsets(r)})(),window.addEventListener("resize",t_throttle(function(){e()})),setInterval(e,5e3),window.addEventListener("scroll",t_throttle(function(){var t=window.pageYOffset+window.innerHeight;t_animate__animateChainsBlocks(r,t)})))):((e=function(){t_animate__getGroupsOffsets(i),t_animate__getChainOffsets(r),t_animate__getElemsOffsets(o)})(),window.addEventListener("resize",t_throttle(e)),setInterval(e,5e3),window.addEventListener("scroll",t_throttle(function(){var t=t_animate__deleteAnimatedEls(i,o),t=(o=t[0],t_animate__animateOnScroll(i=t[1],r,o));t&&t.length&&(i=t[0],r=t[1],o=t[2])}))),Array.prototype.forEach.call(n,function(t){var a=t.querySelector(".t-popup");a&&a.addEventListener("scroll",t_throttle(function(){var t,e=window.pageYOffset+window.innerHeight;(a.classList.contains("t-animate")&&"yes"===a.getAttribute("data-animate-chain")||a.querySelector(".t-animate[data-animate-chain=yes]"))&&(t_animate__setAnimationStateChains(t=[a]),t_animate__getChainOffsets(t=Array.prototype.filter.call(t,function(t){return t.querySelector(".t-animate_wait")})),t_animate__animateChainsBlocks(t,e))}))}))}function t_animate__animateOnScroll(t,e,a){var n,i;if(t.length||e.length||a.length)return n=window.pageYOffset,i=n+window.innerHeight,[t_animate__animateGroups(t,i,n),t_animate__animateChainsBlocks(e,i,n),t_animate__animateElems(a,i,n)]}function t_animate__animateGroups(t,a){return t.forEach(function(t){var e;t.curTopOffset<a&&(e=t.querySelectorAll(".t-animate"),e=Array.prototype.filter.call(e,function(t){return!(t.classList.contains("t-animate__btn-wait-chain")||"yes"===t.getAttribute("data-animate-chain"))}),t_animate__makeSectionButtonWait(t),t_animate__saveSectionHeaderStartTime(t),Array.prototype.forEach.call(e,function(t){t.classList.remove("t-animate_wait"),t_animate__removeNoHoverClassFromBtns(t),t.classList.add("t-animate_started")}))}),t}function t_animate__animateChainsBlocks(t,e){return t.forEach(function(t){t.itemsOffsets[0]<e&&t.querySelectorAll(".t-animate_wait").length&&(t_animate__animateChainItemsOnScroll(t,e),t.itemsOffsets.length&&t_animate__checkSectionButtonAnimation__outOfTurn(t))}),t}function t_animate__animateElems(t,a,n){return Array.prototype.filter.call(t,function(t){var e=t_animate__detectElemTriggerOffset(t,a);return t.curTopOffset<e?(t.classList.remove("t-animate_wait"),t_animate__removeNoHoverClassFromBtns(t),t.classList.add("t-animate_started"),"animatednumber"===t_animate__getAttrByResBase(t,"style")&&t_animate__animateNumbers(t),!0):!(t.curTopOffset<n)&&void 0}),t}function t_animate__deleteAnimatedEls(t,e){var a=window.pageYOffset,n=[],i=[];return t.forEach(function(t){var e;t.curTopOffset<=a?(e=t.querySelectorAll(".t-animate"),Array.prototype.forEach.call(e,function(t){t.classList.remove("t-animate"),t.classList.remove("t-animate_wait"),t.classList.remove("t-animate_no-hover")})):n.push(t)}),e.forEach(function(t){t.curTopOffset<=a?(t.classList.remove("t-animate"),t.classList.remove("t-animate_no-hover"),t.classList.add("t-animate_started"),t.classList.remove("t-animate_wait")):i.push(t)}),[i,n]}function t_animate__animateChainItemsOnScroll(t,e){var a=t.querySelectorAll(".t-animate_wait[data-animate-chain=yes]"),a=Array.prototype.slice.call(a),n=0,i=0,r=t.itemsOffsets[0],o=t_animate__getDelayFromPreviousScrollEvent(t,.16),s=t_animate__getSectionHeadDealy(t);a.length&&a[0].classList.add("t-animate__chain_first-in-row");for(var l=0;l<a.length;l++){var c=a[l],_=t.itemsOffsets[l];if(!(_<e))break;_!==r&&(c.classList.add("t-animate__chain_first-in-row"),n=++i,r=_);var m=.16*n+o+s;c.style.transitionDelay=m+"s",c.classList.remove("t-animate_wait"),c.classList.add("t-animate_started"),c.setAttribute("data-animate-start-time",Date.now()+1e3*m),c[0]===a[a.length-1]&&t_animate__checkSectionButtonAnimation(t,m),+_==+r&&n++,a.splice(l,1),t.itemsOffsets.splice(l,1),l--}t_animate__catchTransitionEndEvent(t)}function t_animate__getSectionHeadDealy(t){var e=t.querySelector(".t-section__title.t-animate"),t=t.querySelector(".t-section__descr.t-animate"),a=0;if(e){e=e.getAttribute("data-animate-start-time")||0;if(Date.now()-e<=160)return a=.16}if(t){e=t.getAttribute("data-animate-start-time")||0;if(Date.now()-e<=160)return a=.16}return a}function t_animate__getDelayFromPreviousScrollEvent(t,e){var a=!t.querySelectorAll(".t-animate_started").length,t=t.querySelectorAll(".t-animate__chain_first-in-row.t-animate_started"),t=Array.prototype.filter.call(t,function(t){return!t.classList.contains("t-animate__chain_showed")});return a||!t.length?0:t.length?(a=(t[t.length-1].getAttribute("data-animate-start-time")||0)-Date.now())<=0?e:a/1e3+e:void 0}function t_animate__catchTransitionEndEvent(t){t=t.querySelectorAll(".t-animate__chain_first-in-row.t-animate_started"),t=Array.prototype.filter.call(t,function(t){return!t.classList.contains("t-animate__chain_showed")});Array.prototype.forEach.call(t,function(e){["transitionend","webkitTransitionEnd","oTransitionEnd","otransitionend","MSTransitionEnd"].forEach(function(t){e.addEventListener(t,function(){t_animate__addEventOnAnimateChain(e)}),e.removeEventListener(t,function(){t_animate__addEventOnAnimateChain(e)})})})}function t_animate__parseNumberText(){var r=window.pageYOffset,t=document.querySelectorAll(".t-animate[data-animate-style='animatednumber']");Array.prototype.forEach.call(t,function(t){var e,a,n="",i=t.querySelectorAll("span");Array.prototype.forEach.call(i,function(t){n+=t.getAttribute("style")||"",t.removeAttribute("style"),t.removeAttribute("data-redactor-style")}),t.querySelectorAll('div[data-customstyle="yes"]').length?(e=(i=t.querySelector('div[data-customstyle="yes"]'))?i.innerHTML:"",i=t.getAttribute("style")||"",(a=(a=t.querySelector("div[data-customstyle]"))?a.getAttribute("style"):"")&&(i+=a),t.setAttribute("style",i)):e=t.innerHTML,n=n.split(";").filter(function(t,e){return n.split(";").indexOf(t)===e}).join(";"),t.getBoundingClientRect().top+window.pageYOffset<r-500||e.length&&(i=a=e.replace(/<br>/g," ").replace(/[^\d., ]+/g,"").replace(/ (\.|,)/g,"").replace(/(\d)(?=\d) /g,"$1").trim(),-1===e.indexOf(a)&&(i=a=a.split(" ")[0]),""!==a&&(t.setAttribute("data-animate-number-count",e),t_animate__changeNumberOnZero(t,e.replace(i,"num")),a=t.querySelectorAll("span"),a=Array.prototype.filter.call(a,function(t){return!t.classList.contains(".t-animate__number")}),Array.prototype.forEach.call(a,function(t){t.setAttribute("style",n)})))})}function t_animate__changeNumberOnZero(t,e){t.innerHTML=e.replace(/num/g,'<span class="t-animate__number">0</span>')}function t_animate__animateNumbers(e){if(!e)return!1;var a,n,i,r,o,s,l=e.getAttribute("data-animate-number-count"),c=[],t=e.querySelectorAll("span"),_=((t=Array.prototype.filter.call(t,function(t){return!t.classList.contains(".t-animate__number")})).length&&(c=t[0].getAttribute("style")||""),[]),m=null,u=(l&&(m=l.match(/\d+\.\d+|\d+,\d+/g),a=l.match(/\d+/g),l.replace(/(\d)(?= \d) /g,"$1").split(" ").forEach(function(t){isNaN(parseInt(t.replace(/[^\d., ]+/g,""),10))||_.push(t.replace(/[^\d., ]+/g,""))})),0),f=!1,d=!1,y=(e.removeAttribute("data-animate-number-count"),null!==m&&(d=-1!==m[0].indexOf(",")),_.forEach(function(t,e){var a;null!==m&&(-1!==t.indexOf(",")&&(a=t.split(",")),-1!==t.indexOf(".")&&(a=t.split(".")),-1===t.indexOf(",")&&-1===t.indexOf(".")||(u=a[1].length,_[e]=+a.join("."),f=!0))}),e.querySelector(".t-animate__number"));_[0]&&(n=Number(_[0])||0,i=0,r=Math.pow(10,u),f&&(n*=r,i*=r),o=0,s=setInterval(function(){var t;i+=n/108,o=f?(Math.round(i)/r).toFixed(u)+"":Math.floor(i)+"",1<a.length&&(o=o.replace(/(\d)(?=(\d{3})+([^\d]|$))/g,"$1 ")),d&&(o=o.replace(/\./g,",")),y&&(y.textContent=o),n<=i&&(clearInterval(s),e.innerHTML=l,t=e.querySelectorAll("span"),Array.prototype.forEach.call(t,function(t){t.setAttribute("style",c)}))},12))}function t_animate__setAnimationState(t,e,a){var n=window.pageYOffset,i=n+window.innerHeight;t_animate__setGroupsBlocksState(t,n,i),e.forEach(function(t){t_animate__assignChainDelay(t,i,n),t_animate__checkSectionButtonAnimation__outOfTurn(t)}),t_animate__setAnimELemsState(a,n,i),window.addEventListener("resize",t_throttle(t_animate__removeInlineAnimStyles))}function t_animate__setAnimELemsState(t,n,i){t.forEach(function(t){var e=t.getBoundingClientRect().top+window.pageYOffset;if(e<n-500)return t.classList.remove("t-animate"),t.classList.remove("t-animate_no-hover"),"animatednumber"===t_animate__getAttrByResBase(t,"style")&&t_animate__animateNumbers(t),!0;var a=t_animate__detectElemTriggerOffset(t,i);t_animate__setCustomAnimSettings(t,e,i),e<a&&(t_animate__removeNoHoverClassFromBtns(t),t.classList.add("t-animate_started"),"animatednumber"===t_animate__getAttrByResBase(t,"style")&&t_animate__animateNumbers(t)),a<=e&&t.classList.add("t-animate_wait")})}function t_animate__setGroupsBlocksState(t,i,r){t.forEach(function(a){var t=a.querySelectorAll(".t-animate"),t=Array.prototype.filter.call(t,function(t){return!("yes"===t.getAttribute("data-animate-chain"))}),n=a.getBoundingClientRect().top+window.pageYOffset,e=(t_animate__removeAnimFromHiddenSlides(a),t_animate__assignSectionDelay(a));t_animate__assignGroupDelay(a,e),Array.prototype.forEach.call(t,function(t){var e=t.closest(".t397__off")||t.closest(".t395__off")||t.closest(".t400__off");if(t.classList.contains("t-animate_no-hover")&&e&&t.classList.remove("t-animate_no-hover"),n<=i-100)return t_animate__saveSectionHeaderStartTime(a),t.classList.remove("t-animate"),t.classList.remove("t-animate_no-hover"),!(t.style.transitionDelay="");n<r&&i-100<n&&(t_animate__makeSectionButtonWait(a),t.classList.contains(".t-animate__btn-wait-chain")||(t_animate__removeNoHoverClassFromBtns(t),e?t.classList.add("t-animate_wait"):t.classList.add("t-animate_started"))),r<=n&&t.classList.add("t-animate_wait")})})}function t_animate__setAnimationStateChains(t){if(!t||!t.length)return!1;var e=window.pageYOffset,a=e+window.innerHeight;Array.prototype.forEach.call(t,function(t){t_animate__assignChainDelay(t,a,e),t_animate__checkSectionButtonAnimation__outOfTurn(t)})}function t_animate__assignSectionDelay(t){var e=0,a=t.querySelectorAll(".t-section__title.t-animate"),t=t.querySelectorAll(".t-section__descr.t-animate");return a.length&&(e=.16),t.length&&(Array.prototype.forEach.call(t,function(t){t.style.transitionDelay=e+"s"}),e+=.16),e}function t_animate__assignGroupDelay(t,e){var a,n,i,r,o,s=0;t.querySelectorAll("[data-animate-order]").length?t_animate__assignOrderedElemsDelay(t,e):(e=t.querySelectorAll(".t-img.t-animate"),a=t.querySelectorAll(".t-uptitle.t-animate"),n=t.querySelectorAll(".t-title.t-animate"),n=Array.prototype.filter.call(n,function(t){return!t.classList.contains("t-section__title")}),i=t.querySelectorAll(".t-descr.t-animate"),i=Array.prototype.filter.call(i,function(t){return!t.classList.contains("t-section__descr")}),r=t.querySelectorAll(".t-btn.t-animate, .t-btnwrapper.t-animate"),r=Array.prototype.filter.call(r,function(t){return!t.closest(".t-section__bottomwrapper")}),o=t.querySelectorAll(".t-timer.t-animate"),t=t.querySelectorAll("form.t-animate"),e.length&&(s=.5),n.length&&Array.prototype.forEach.call(n,function(t){t.style.transitionDelay=s+"s"}),n.length&&(s+=.3),i.length&&Array.prototype.forEach.call(i,function(t){t.style.transitionDelay=s+"s"}),i.length&&(s+=.3),a.length&&Array.prototype.forEach.call(a,function(t){t.style.transitionDelay=s+"s"}),a.length&&(s+=.3),(a.length||n.length||i.length)&&(s+=.2),o.length&&Array.prototype.forEach.call(o,function(t){t.style.transitionDelay=s+"s"}),o.length&&(s+=.5),r.length&&(r[0].style.transitionDelay=s+"s"),2===r.length&&(s+=.4),2===r.length&&(r[1].style.transitionDelay=s+"s"),0!==t.length&&Array.prototype.forEach.call(t,function(t){t.style.transitionDelay=s+"s"}))}function t_animate__assignOrderedElemsDelay(t,e){var a=0,e=(e&&(a=e),t.querySelectorAll('.t-animate[data-animate-order="1"]')),n=t.querySelectorAll('.t-animate[data-animate-order="2"]'),i=t.querySelectorAll('.t-animate[data-animate-order="3"]'),r=t.querySelectorAll('.t-animate[data-animate-order="4"]'),o=t.querySelectorAll('.t-animate[data-animate-order="5"]'),s=t.querySelectorAll('.t-animate[data-animate-order="6"]'),l=t.querySelectorAll('.t-animate[data-animate-order="7"]'),c=t.querySelectorAll('.t-animate[data-animate-order="8"]'),t=t.querySelectorAll('.t-animate[data-animate-order="9"]');e.length&&Array.prototype.forEach.call(e,function(t){t.style.transitionDelay=a+"s"}),e.length&&n.length&&(a+=+t_animate__getAttrByResBase(n[0],"delay"),Array.prototype.forEach.call(n,function(t){t.style.transitionDelay=a+"s"})),(e.length||n.length)&&i.length&&(a+=+t_animate__getAttrByResBase(i[0],"delay"),Array.prototype.forEach.call(i,function(t){t.style.transitionDelay=a+"s"})),(e.length||n.length||i.length)&&r.length&&(a+=+t_animate__getAttrByResBase(r[0],"delay"),Array.prototype.forEach.call(r,function(t){t.style.transitionDelay=a+"s"})),(e.length||n.length||i.length||r.length)&&o.length&&(a+=+t_animate__getAttrByResBase(o[0],"delay"),Array.prototype.forEach.call(o,function(t){t.style.transitionDelay=a+"s"})),(e.length||n.length||i.length||r.length||o.length)&&s.length&&(a+=+t_animate__getAttrByResBase(s[0],"delay"),Array.prototype.forEach.call(s,function(t){t.style.transitionDelay=a+"s"})),(e.length||n.length||i.length||r.length||o.length||s.length)&&l.length&&(a+=+t_animate__getAttrByResBase(l[0],"delay"),Array.prototype.forEach.call(l,function(t){t.style.transitionDelay=a+"s"})),(e.length||n.length||i.length||r.length||o.length||s.length||l.length)&&c.length&&(a+=+t_animate__getAttrByResBase(c[0],"delay"),Array.prototype.forEach.call(c,function(t){t.style.transitionDelay=a+"s"})),(e.length||n.length||i.length||r.length||o.length||s.length||l.length||c.length)&&t.length&&(a+=+t_animate__getAttrByResBase(t[0],"delay"),Array.prototype.forEach.call(t,function(t){t.style.transitionDelay=a+"s"}))}function t_animate__assignChainDelay(a,n,i){var r,o,s,l=a.querySelectorAll(".t-animate[data-animate-chain=yes]"),c=0;l.length&&(r=l[0],o=r.getBoundingClientRect().top+window.pageYOffset,r.classList.add("t-animate__chain_first-in-row"),s=t_animate__getCurBlockSectionHeadDelay(a),Array.prototype.forEach.call(l,function(e){var t=e.getBoundingClientRect().top+window.pageYOffset;if(t<i)return e.classList.remove("t-animate"),!0;t<n?(t!==o&&(e.classList.add("t-animate__chain_first-in-row"),o=t),t=.16*c+s,e.style.transitionDelay=t+"s",e.classList.add("t-animate_started"),e.setAttribute("data-animate-start-time",Date.now()+1e3*t),r===l[l.length-1]&&t_animate__checkSectionButtonAnimation(a,t),c++,["transitionend","webkitTransitionEnd","oTransitionEnd","otransitionend","MSTransitionEnd"].forEach(function(t){e.addEventListener(t,function(){t_animate__addEventOnAnimateChain(e)}),e.removeEventListener(t,function(){t_animate__addEventOnAnimateChain(e)})})):e.classList.add("t-animate_wait")}))}function t_animate__getAttrByResBase(t,e){var a=window.isMobile?document.documentElement.clientWidth:window.innerWidth;if(1200<=a)return t.getAttribute("data-animate-"+e);var n=t.closest(".t396__elem");return"y"!==(n?n.getAttribute("data-animate-mobile"):null)?(t.style.transition="none",null):960<=a?t.getAttribute("data-animate-"+e+"-res-960")||t.getAttribute("data-animate-"+e):640<=a?t.getAttribute("data-animate-"+e+"-res-640")||t.getAttribute("data-animate-"+e+"-res-960")||t.getAttribute("data-animate-"+e):480<=a?t.getAttribute("data-animate-"+e+"-res-480")||t.getAttribute("data-animate-"+e+"-res-640")||t.getAttribute("data-animate-"+e+"-res-960")||t.getAttribute("data-animate-"+e):320<=a?t.getAttribute("data-animate-"+e+"-res-320")||t.getAttribute("data-animate-"+e+"-res-480")||t.getAttribute("data-animate-"+e+"-res-640")||t.getAttribute("data-animate-"+e+"-res-960")||t.getAttribute("data-animate-"+e):void 0}function t_animate__hasWaitAnimation(t){return t.filter(function(t){return t.classList.contains("t-animate_wait")||t.querySelector(".t-animate_wait")})}function t_animate__addEventOnAnimateChain(t){t.classList.add("t-animate__chain_showed")}function t_animate__setCustomAnimSettings(t,e,a){var n=t_animate__getAttrByResBase(t,"style"),i=t_animate__getAttrByResBase(t,"distance");if(i&&""!==i){switch(i=i.replace("px",""),t.style.transitionDuration="0s",t.style.transitionDelay="0s",n){case"fadeinup":t.style.transform="translate3d(0,"+i+"px,0)";break;case"fadeindown":t.style.transform="translate3d(0,-"+i+"px,0)";break;case"fadeinleft":t.style.transform="translate3d("+i+"px,0,0)";break;case"fadeinright":t.style.transform="translate3d(-"+i+"px,0,0)"}t_animate__forceElemInViewPortRepaint(t,e,a),t.style.transitionDuration="",t.style.transitionDelay=""}n=t_animate__getAttrByResBase(t,"scale"),n&&(t.style.transitionDuration="0s",t.style.transitionDelay="0s",t.style.transform="scale("+n+")",t_animate__forceElemInViewPortRepaint(t,e,a),t.style.transitionDuration="",t.style.transitionDelay=""),n=t_animate__getAttrByResBase(t,"delay"),n&&(t.style.transitionDelay=n+"s"),e=t_animate__getAttrByResBase(t,"duration");e&&(t.style.transitionDuration=e+"s")}function t_animate__removeInlineAnimStyles(){var t;window.innerWidth<980&&(t=document.querySelectorAll(".t396__elem.t-animate:not(.t-animate_wait)"),Array.prototype.forEach.call(t,function(t){t.style.transform="",t.style.transitionDuration="",t.style.transitionDelay=""}))}function t_animate__forceElemInViewPortRepaint(t,e,a){t&&e<a+500&&t.offsetHeight}function t_animate__detectElemTriggerOffset(t,e){var t=t_animate__getAttrByResBase(t,"trigger-offset"),a=e;return a=t?e-+(t=t.replace("px","")):a}function t_animate__saveSectionHeaderStartTime(t){var e=t.querySelectorAll(".t-section__title.t-animate"),t=t.querySelectorAll(".t-section__descr.t-animate");e.length&&Array.prototype.forEach.call(e,function(t){t.setAttribute("data-animate-start-time",Date.now())}),t.length&&Array.prototype.forEach.call(t,function(t){t.setAttribute("data-animate-start-time",Date.now()+160)})}function t_animate__getCurBlockSectionHeadDelay(t){var e=0;return t.querySelectorAll(".t-section__title.t-animate").length&&(e+=.16),t.querySelectorAll(".t-section__descr.t-animate").length&&(e+=.16),e}function t_animate__makeSectionButtonWait(t){var e=t.querySelectorAll(".t-animate[data-animate-chain=yes]").length,t=t.querySelectorAll(".t-section__bottomwrapper .t-btn.t-animate");e.length&&t.length&&Array.prototype.forEach.call(t,function(t){t.classList.add("t-animate__btn-wait-chain")})}function t_animate__checkSectionButtonAnimation(t,e){t=t.querySelectorAll(".t-animate__btn-wait-chain");t.length&&Array.prototype.forEach.call(t,function(t){t.style.transitionDelay=e+.16+"s",t_animate__removeNoHoverClassFromBtns(t),t.classList.remove("t-animate__btn-wait-chain"),t.classList.add("t-animate_started")})}function t_animate__checkSectionButtonAnimation__outOfTurn(t){var e=t.querySelectorAll(".t-animate[data-animate-chain=yes]");Array.prototype.filter.call(e,function(t){return!t.classList.contains("t-animate_started")}).length||t_animate__checkSectionButtonAnimation(t,.16)}function t_animate__addNoHoverClassToBtns(){var t=document.querySelectorAll(".t-btn.t-animate");Array.prototype.forEach.call(t,function(t){t.classList.add("t-animate_no-hover")})}function t_animate__removeNoHoverClassFromBtns(t){if(!t)return!1;var e=t.classList.contains("t-btn")?t:null;e&&(e.ontransitionend=function(t){"opacity"!==t.propertyName&&"transform"!==t.propertyName||(e.classList.remove("t-animate_no-hover"),e.style.transitionDelay="",e.style.transitionDuration="",this.ontransitionend=null)})}function t_animate__getGroupsOffsets(t){t.forEach(function(t){var e=t.querySelector(".t-animate");e&&(t.curTopOffset=e.getBoundingClientRect().top+window.pageYOffset,e=t_animation__getZoom(t),window.t_animation__isOnlyScalable||(t.curTopOffset*=e))})}function t_animation__getZoom(t){t=t.closest(".t396__artboard");if(!t)return 1;var e=t.getAttribute("data-artboard-recid"),a=document.querySelector('script[src*="tilda-blocks-2.7"]');return t.classList.contains("t396__artboard_scale")||!a&&"undefined"!=typeof t396_ab__getFieldValue&&"window"===t396_ab__getFieldValue(t,"upscale")?e&&window.tn["ab"+e]&&window.tn["ab"+e].scaleFactor||window.tn_scale_factor:1}function t_animate__getChainOffsets(t){t.forEach(function(a){var t=a.querySelectorAll(".t-animate_wait[data-animate-chain=yes]");a.itemsOffsets=[],Array.prototype.forEach.call(t,function(t,e){a.itemsOffsets[e]=t.getBoundingClientRect().top+window.pageYOffset})})}function t_animate__getElemsOffsets(t){t.forEach(function(t){t.curTopOffset=window.pageYOffset+t.getBoundingClientRect().top;var e=t_animation__getZoom(t);window.t_animation__isOnlyScalable||(t.curTopOffset*=e)})}function t_animate__removeAnimFromHiddenSlides(t){var e;t.querySelectorAll(".t-slides").length&&(t=t.querySelectorAll(".t-slides__item"),t=Array.prototype.filter.call(t,function(t){return!t.classList.contains("t-slides__item_active")}),e=[],t.forEach(function(t){t=t.querySelector(".t-animate");t&&e.push(t)}),e.forEach(function(t){t.classList.remove("t-animate"),t.classList.remove("t-animate_no-hover")}))}function t_animate__wrapTextWithOpacity(){var t=document.querySelectorAll(".t-title.t-animate, .t-descr.t-animate, .t-uptitle.t-animate, .t-text.t-animate");Array.prototype.forEach.call(t,function(t){var e,a=t.getAttribute("style");a&&-1!==a.indexOf("opacity")&&(a=t.style.opacity)&&0<a&&(t.style.opacity="",(e=document.createElement("div")).style.opacity=a,a=t.childNodes,Array.prototype.forEach.call(a,function(t){t=t.cloneNode(!0);e.appendChild(t)}),t.innerHTML="",t.appendChild(e))})}function t_animate__checkIE(){var t=window.navigator.userAgent,e=t.indexOf("MSIE"),a=!1;return 0<e&&(8!==(t=parseInt(t.substring(e+5,t.indexOf(".",e))))&&9!==t||(a=!0)),a}window.t_animation__isOnlyScalable=Boolean(-1!==navigator.userAgent.search("Firefox")||Boolean(window.opr&&window.opr.addons||window.opera||-1!==navigator.userAgent.indexOf(" OPR/"))),"loading"!==document.readyState?t_animate__init():document.addEventListener("DOMContentLoaded",t_animate__init),Element.prototype.matches||(Element.prototype.matches=Element.prototype.matchesSelector||Element.prototype.msMatchesSelector||Element.prototype.mozMatchesSelector||Element.prototype.webkitMatchesSelector||Element.prototype.oMatchesSelector),Element.prototype.closest||(Element.prototype.closest=function(t){for(var e=this;e&&1===e.nodeType;){if(Element.prototype.matches.call(e,t))return e;e=e.parentElement||e.parentNode}return null});