PageSourceSearch

https://ar72.ru/tilda-blocks-2.7.js?t=1617772668

js ar72.ru collected 2026-10-07 18:11:45 UTC 37,683 bytes, 118 lines download raw bytes

1function t401_showMore(recId){var rec=document.getElementById('rec'+recId);if(!rec)return;var container=rec.querySelector('.t401');if(!container)return;var cols=container.querySelectorAll('.t-col');var allRecords=document.getElementById('allrecords');for(var i=0;i<cols.length;i++){cols[i].style.display='none'}
2var cardsLength=cols.length;var cardsCount=parseInt(container.getAttribute('data-show-count'),10);if(cardsCount>500)cardsCount=500;var startIndexShowBlock=cardsCount;var countShowBlock=cardsCount;var colsShow=t401__getShowBlocks(cols,startIndexShowBlock);for(var i=0;i<colsShow.length;i++){colsShow[i].style.display='block'}
3var showMoreBtn=rec.querySelector('.t401__showmore');if(showMoreBtn){showMoreBtn.addEventListener('click',function(){startIndexShowBlock=(startIndexShowBlock+countShowBlock<=cardsLength)?startIndexShowBlock+countShowBlock:cardsLength;var newColsShow=t401__getShowBlocks(cols,startIndexShowBlock);for(var i=0;i<newColsShow.length;i++){newColsShow[i].style.display='block'}
4if(startIndexShowBlock===cardsLength){showMoreBtn.style.display='none'}
5if(window.lazy==='y'||allRecords.getAttribute('data-tilda-lazy')==='yes'){t_onFuncLoad('t_lazyload_update',function(){t_lazyload_update()})}})}}
6function t401__getShowBlocks(elements,index){var newElements=[];for(var i=0;i<elements.length;i++){if(i<=index-1)newElements.push(elements[i])}
7return newElements}
8function t456_setListMagin(recid,imglogo){if($(window).width()>980){var t456__menu=$('#rec'+recid+' .t456');var t456__leftpart=t456__menu.find('.t456__leftwrapper');var t456__listpart=t456__menu.find('.t456__list');if(imglogo){t456__listpart.css("margin-right",t456__leftpart.width())}else{t456__listpart.css("margin-right",t456__leftpart.width()+30)}}}
9function t456_highlight(){var url=window.location.href;var pathname=window.location.pathname;if(url.substr(url.length-1)=="/"){url=url.slice(0,-1)}
10if(pathname.substr(pathname.length-1)=="/"){pathname=pathname.slice(0,-1)}
11if(pathname.charAt(0)=="/"){pathname=pathname.slice(1)}
12if(pathname==""){pathname="/"}
13$(".t456__list_item a[href='"+url+"']").addClass("t-active");$(".t456__list_item a[href='"+url+"/']").addClass("t-active");$(".t456__list_item a[href='"+pathname+"']").addClass("t-active");$(".t456__list_item a[href='/"+pathname+"']").addClass("t-active");$(".t456__list_item a[href='"+pathname+"/']").addClass("t-active");$(".t456__list_item a[href='/"+pathname+"/']").addClass("t-active")}
14function t456_checkAnchorLinks(recid){if($(window).width()>=960){var t456_navLinks=$("#rec"+recid+" .t456__list_item a:not(.tooltipstered)[href*='#']");if(t456_navLinks.length>0){t456_catchScroll(t456_navLinks)}}}
15function t456_catchScroll(t456_navLinks){var t456_clickedSectionId=null,t456_sections=new Array(),t456_sectionIdTonavigationLink=[],t456_interval=100,t456_lastCall,t456_timeoutId;t456_navLinks=$(t456_navLinks.get().reverse());t456_navLinks.each(function(){var t456_cursection=t456_getSectionByHref($(this));if(typeof t456_cursection!=="undefined"){if(typeof t456_cursection.attr("id")!="undefined"){t456_sections.push(t456_cursection)}
16t456_sectionIdTonavigationLink[t456_cursection.attr("id")]=$(this)}});t456_updateSectionsOffsets(t456_sections);t456_sections.sort(function(a,b){return b.attr("data-offset-top")-a.attr("data-offset-top")});$(window).bind('resize',t_throttle(function(){t456_updateSectionsOffsets(t456_sections)},200));$('.t456').bind('displayChanged',function(){t456_updateSectionsOffsets(t456_sections)});setInterval(function(){t456_updateSectionsOffsets(t456_sections)},5000);t456_highlightNavLinks(t456_navLinks,t456_sections,t456_sectionIdTonavigationLink,t456_clickedSectionId);t456_navLinks.click(function(){var t456_clickedSection=t456_getSectionByHref($(this));if(typeof t456_clickedSection!=="undefined"&&!$(this).hasClass("tooltipstered")&&typeof t456_clickedSection.attr("id")!="undefined"){t456_navLinks.removeClass('t-active');$(this).addClass('t-active');t456_clickedSectionId=t456_getSectionByHref($(this)).attr("id")}});$(window).scroll(function(){var t456_now=new Date().getTime();if(t456_lastCall&&t456_now<(t456_lastCall+t456_interval)){clearTimeout(t456_timeoutId);t456_timeoutId=setTimeout(function(){t456_lastCall=t456_now;t456_clickedSectionId=t456_highlightNavLinks(t456_navLinks,t456_sections,t456_sectionIdTonavigationLink,t456_clickedSectionId)},t456_interval-(t456_now-t456_lastCall))}else{t456_lastCall=t456_now;t456_clickedSectionId=t456_highlightNavLinks(t456_navLinks,t456_sections,t456_sectionIdTonavigationLink,t456_clickedSectionId)}})}
17function t456_updateSectionsOffsets(sections){$(sections).each(function(){var t456_curSection=$(this);t456_curSection.attr("data-offset-top",t456_curSection.offset().top)})}
18function t456_getSectionByHref(curlink){var hash=curlink.attr("href").replace(/\s+/g,'').replace(/.*#/,'');
18var block=$(".r[id='"+hash+"']");var anchor=$(".r[data-record-type='215']").has("a[name='"+hash+"']");if(curlink.is('[href*="#rec"]')){return block}else if(anchor.length===1){return anchor}else{return undefined}}
19function t456_highlightNavLinks(t456_navLinks,t456_sections,t456_sectionIdTonavigationLink,t456_clickedSectionId){var t456_scrollPosition=$(window).scrollTop(),t456_valueToReturn=t456_clickedSectionId;if(t456_sections.length!=0&&t456_clickedSectionId==null&&t456_sections[t456_sections.length-1].attr("data-offset-top")>(t456_scrollPosition+300)){t456_navLinks.removeClass('t-active');return null}
20$(t456_sections).each(function(e){var t456_curSection=$(this),t456_sectionTop=t456_curSection.attr("data-offset-top"),t456_id=t456_curSection.attr('id'),t456_navLink=t456_sectionIdTonavigationLink[t456_id];if(((t456_scrollPosition+300)>=t456_sectionTop)||(t456_sections[0].attr("id")==t456_id&&t456_scrollPosition>=$(document).height()-$(window).height())){if(t456_clickedSectionId==null&&!t456_navLink.hasClass('t-active')){t456_navLinks.removeClass('t-active');t456_navLink.addClass('t-active');t456_valueToReturn=null}else{if(t456_clickedSectionId!=null&&t456_id==t456_clickedSectionId){t456_valueToReturn=null}}
21return!1}});return t456_valueToReturn}
22function t456_setPath(){}
23function t456_setBg(recid){var window_width=$(window).width();if(window_width>980){$(".t456").each(function(){var el=$(this);if(el.attr('data-bgcolor-setbyscript')=="yes"){var bgcolor=el.attr("data-bgcolor-rgba");el.css("background-color",bgcolor)}})}else{$(".t456").each(function(){var el=$(this);var bgcolor=el.attr("data-bgcolor-hex");el.css("background-color",bgcolor);el.attr("data-bgcolor-setbyscript","yes")})}}
24function t456_appearMenu(recid){var window_width=$(window).width();if(window_width>980){$(".t456").each(function(){var el=$(this);var appearoffset=el.attr("data-appearoffset");if(appearoffset!=""){if(appearoffset.indexOf('vh')>-1){appearoffset=Math.floor((window.innerHeight*(parseInt(appearoffset)/100)))}
25appearoffset=parseInt(appearoffset,10);if($(window).scrollTop()>=appearoffset){if(el.css('visibility')=='hidden'){el.finish();el.css("top","-50px");el.css("visibility","visible");el.animate({"opacity":"1","top":"0px"},200,function(){})}}else{el.stop();el.css("visibility","hidden")}}})}}
26function t456_changebgopacitymenu(recid){var window_width=$(window).width();if(window_width>980){$(".t456").each(function(){var el=$(this);var bgcolor=el.attr("data-bgcolor-rgba");var bgcolor_afterscroll=el.attr("data-bgcolor-rgba-afterscroll");var bgopacityone=el.attr("data-bgopacity");var bgopacitytwo=el.attr("data-bgopacity-two");var menushadow=el.attr("data-menushadow");if(menushadow=='100'){var menushadowvalue=menushadow}else{var menushadowvalue='0.'+menushadow}
27if($(window).scrollTop()>20){el.css("background-color",bgcolor_afterscroll);if(bgopacitytwo=='0'||menushadow==' '){el.css("box-shadow","none")}else{el.css("box-shadow","0px 1px 3px rgba(0,0,0,"+menushadowvalue+")")}}else{el.css("background-color",bgcolor);if(bgopacityone=='0.0'||menushadow==' '){el.css("box-shadow","none")}else{el.css("box-shadow","0px 1px 3px rgba(0,0,0,"+menushadowvalue+")")}}})}}
28function t456_createMobileMenu(recid){var window_width=$(window).width(),el=$("#rec"+recid),menu=el.find(".t456"),burger=el.find(".t456__mobile");burger.click(function(e){menu.fadeToggle(300);$(this).toggleClass("t456_opened")});$(window).bind('resize',t_throttle(function(){window_width=$(window).width();if(window_width>980){menu.fadeIn(0)}},200))}
29function t478_setHeight(recId){var rec=document.getElementById('rec'+recId);if(!rec)return;var sizer=rec.querySelector('.t478__sizer');if(!sizer)return;var sizerStyle=getComputedStyle(sizer,null);var sizerPaddingTop=parseInt(sizerStyle.paddingTop);var sizerPaddingBottom=parseInt(sizerStyle.paddingBottom);var sizerPaddingLeft=parseInt(sizerStyle.paddingLeft);var sizerPaddingRight=parseInt(sizerStyle.paddingRight);var sizerHeight=sizer.clientHeight-(sizerPaddingTop+sizerPaddingBottom);var sizerWidth=sizer.clientWidth-(sizerPaddingLeft+sizerPaddingRight);var ratio=sizerWidth/sizerHeight;var wrappers=rec.querySelectorAll('.t478__blockimg, .t478__textwrapper');if(sizerHeight!==window.innerHeight){for(var i=0;i<wrappers.length;i++){wrappers[i].style.height=(sizerWidth/ratio)+'px'}}}
30function t486_setHeight(recId){var rec=document.getElementById('rec'+recId);if(!rec)return;var textWrapper=rec.querySelector('.t486__textwrapper');if(!textWrapper)return;var images=rec.querySelectorAll('.t486__blockimg');var imageContainer=rec.querySelector('.t486__imgcontainer');var imageHeight=images[0].clientWidth;if(window.innerWidth>980){for(var i=0;i<images.length;i++){images[i].style.height=imageHeight+'px'}
31textWrapper.style.height=imageContainer.clientWidth+'px'}else{var imageStyle=getComputedStyle(images[0],null);var imagePaddingLeft=parseInt(imageStyle.paddingLeft)||0;var imagePaddingRight=parseInt(imageStyle.paddingRight)||0;var imageWidth=images[0].clientWidth-(imagePaddingLeft+imagePaddingRight);for(var i=0;i<images.length;i++){images[i].style.height=imageWidth+'px'}
32textWrapper.style.height='auto'}}
33function t608_setHeight(recId){var rec=document.getElementById('rec'+recId);if(!rec)return;var container=rec.querySelector('.t608');if(!container)return;var bgImages=rec.querySelectorAll('.t608__bgimg');for(var i=0;i<bgImages.length;i++){var bgImage=bgImages[i];var bgImageWidth=bgImage.getAttribute('data-image-width');var bgImageHeight=bgImage.getAttribute('data-image-height');var ratio=bgImageHeight/bgImageWidth;var paddingBottom=ratio*100;bgImage.style.paddingBottom=paddingBottom+'%'}}
34function t635_init(recid){var el=$("#rec"+recid);var data=el.find(".t635__textholder");
34var animRecId=data.attr("data-recid");var screenmin=parseInt($("#rec"+animRecId).attr("data-screen-min"),10);var screenmax=parseInt($("#rec"+animRecId).attr("data-screen-max"),10);if(isNaN(screenmax)&&isNaN(screenmin)){t635_startType(recid)}else if(!isNaN(screenmax)&&!isNaN(screenmin)){if($(window).width()>=screenmin&&$(window).width()<=screenmax){t635_startType(recid)}}else if(!isNaN(screenmax)){if($(window).width()<=screenmax){t635_startType(recid)}}else if(!isNaN(screenmin)){if($(window).width()>=screenmin){t635_startType(recid)}}}
35function t635_startType(recid){var t635_el=$('#rec'+recid),t635_data=t635_el.find(".t635__textholder"),t635_animRecId=t635_data.attr("data-recid"),t635_animText=t635_findAnimElem(t635_animRecId),t635_phrasesList=[],t635_phrase1=t635_data.attr("data-text1"),t635_phrase2=t635_data.attr("data-text2"),t635_phrase3=t635_data.attr("data-text3"),t635_phrase4=t635_data.attr("data-text4"),t635_phrase5=t635_data.attr("data-text5"),t635_speed=t635_data.attr("data-speed"),t635_loop=t635_data.attr("data-loop"),t635_backspaceDelay=t635_data.attr("data-backspacing-delay");if(typeof t635_animText=="undefined"){return}
36if(typeof t635_phrase1!="undefined"){t635_phrasesList.push(t635_phrase1.slice(0,80))}
37if(typeof t635_phrase2!="undefined"){t635_phrasesList.push(t635_phrase2.slice(0,80))}
38if(typeof t635_phrase3!="undefined"){t635_phrasesList.push(t635_phrase3.slice(0,80))}
39if(typeof t635_phrase4!="undefined"){t635_phrasesList.push(t635_phrase4.slice(0,80))}
40if(typeof t635_phrase5!="undefined"){t635_phrasesList.push(t635_phrase5.slice(0,80))}
41if(t635_animText.length!==0&&t635_phrasesList.length!==0){var t635_animTextHtml=t635_animText.html(),t635_animTextSplitted=t635_animTextHtml.split("|"),t635_curWin=$(window);
41t635_animText.html(t635_animTextSplitted[0]+"<span class=\"t635__typing-text\"></span>"+t635_animTextSplitted[1]);t635_updateAnimTextLimits(t635_animRecId);t635_curWin.bind('resize',t_throttle(function(){t635_updateAnimTextLimits(t635_animRecId)},200));var intervalUpdate=setInterval(function(){t635_updateAnimTextLimits(t635_animRecId)},5000);var t635_animatedText=$("#rec"+t635_animRecId+" .t635__typing-text"),t635_animTextTop=t635_animatedText.attr("data-top-limit"),t635_animTextBottom=t635_animatedText.attr("data-bottom-limit"),t635_winTop=t635_curWin.scrollTop(),t635_winBottom=t635_winTop+t635_curWin.height();t635_animateText(t635_animRecId,t635_phrasesList,t635_speed,t635_loop,t635_backspaceDelay);if(t635_animTextBottom<t635_winTop||t635_animTextTop>t635_winBottom){$("#rec"+t635_animRecId+" .t635__typing-text").data('typed').pauseTyping();$("#rec"+t635_animRecId+" .t635__typing-text").html("")}
42t635_curWin.bind('scroll',t_throttle(function(){t635_animTextTop=t635_animatedText.attr("data-top-limit");t635_animTextBottom=t635_animatedText.attr("data-bottom-limit");t635_winTop=t635_curWin.scrollTop();t635_winBottom=t635_winTop+t635_curWin.height();if(t635_animTextBottom<t635_winTop||t635_animTextTop>t635_winBottom){$("#rec"+t635_animRecId+" .t635__typing-text").data('typed').pauseTyping();$("#rec"+t635_animRecId+" .t635__typing-text").html("")}else{$("#rec"+t635_animRecId+" .t635__typing-text").data('typed').continueTyping()}},200))}}
43function t635_findAnimElem(animRecId){var animRec=$("#rec"+animRecId);var animH1=animRec.find("h1:contains(\'|\')").last();var animH2=animRec.find("h2:contains(\'|\')").last();var animH3=animRec.find("h3:contains(\'|\')").last();var animDiv=animRec.find("div:contains(\'|\')").last();if(typeof animH1!="undefined"&&animH1.length>0){return animH1}
44if(typeof animH2!="undefined"&&animH2.length>0){return animH2}
45if(typeof animH3!="undefined"&&animH3.length>0){return animH3}
46if(typeof animDiv!="undefined"&&animDiv.length>0){return animDiv}}
47function t635_updateAnimTextLimits(t635_animRecId){var t635_animatedBlock=$("#rec"+t635_animRecId),t635_animatedText=t635_animatedBlock.find(".t635__typing-text");if(typeof t635_animatedText.offset()!='undefined'){t635_animatedText.attr("data-top-limit",t635_animatedText.offset().top);t635_animatedText.attr("data-bottom-limit",(t635_animatedBlock.offset().top+t635_animatedBlock.height()))}}
48function t635_animateText(t635_animRecId,t635_phrasesList,t635_speed,t635_loop,t635_backspaceDelay){if(typeof t635_speed=="undefined"){t635_speed=40}
49if(typeof t635_backspaceDelay=="undefined"){t635_backspaceDelay=800}
50if(typeof t635_loop=="undefined"){t635_loop=!0}else{t635_loop=!1}
51$("#rec"+t635_animRecId+" .t635__typing-text").typed({strings:t635_phrasesList,typeSpeed:t635_speed*1,startDelay:600,backSpeed:10,backDelay:t635_backspaceDelay*1,loop:t635_loop,contentType:'text'})}
52function t686_init(recId){var rec=document.getElementById('rec'+recId);if(!rec)return;var container=rec.querySelector('.t686');if(!container)return;setTimeout(function(){t686_setHeight(recId)},100);window.addEventListener('resize',t_throttle(function(){t686_setHeight(recId)}));$(container).on('displayChanged',function(){t686_setHeight(recId)})}
53function t686_setHeight(recId){var rec=document.getElementById('rec'+recId);if(!rec)return;var container=rec.querySelector('.t686');if(!container)return;var rows=rec.querySelectorAll('.t686__row');var col=rec.querySelector('.t686__col');var ratio=container.getAttribute('data-tile-ratio');if(!col)return;var colStyle=getComputedStyle(col,null);var colPaddingLeft=parseInt(colStyle.paddingLeft)||0;var colPaddingRight=parseInt(colStyle.paddingRight)||0;var colHeight=(col.clientWidth-(colPaddingLeft+colPaddingRight))*+ratio;var maxHeight=0;for(var i=0;i<rows.length;i++){var row=rows[i];var tables=row.querySelectorAll('.t686__table');for(var j=0;j<tables.length;j++){var table=tables[j];var textWrap=table.querySelector('.t686__textwrapper');var textWrapHeight=0;if(textWrap){textWrapHeight=textWrap.offsetHeight}
54var cell=table.querySelector('.t686__cell');
54if(cell.classList.contains('t686__button-bottom')){var button=table.querySelector('.t686__button-container');if(button){textWrapHeight+=button.offsetHeight}}
55if(textWrapHeight>maxHeight)maxHeight=textWrapHeight}
56if(window.innerWidth>=960){if(maxHeight>colHeight){for(var j=0;j<tables.length;j++){var table=tables[j];table.style.height=maxHeight+'px';table.style.minHeight='auto'}}else{for(var j=0;j<tables.length;j++){var table=tables[j];table.style.height=colHeight+'px';table.style.minHeight='auto'}}}else{for(var j=0;j<tables.length;j++){var table=tables[j];table.style.height=null;table.style.minHeight=colHeight+'px'}}
57if(!!document.documentMode){var bgs=row.querySelectorAll('.t686__bg');var overlays=row.querySelectorAll('.t686__overlay');var tableHeight=parseInt(row.querySelector('.t686__table').style.height);for(var j=0;j<bgs.length;j++){bgs[j].style.height=tableHeight+'px'}
58for(var j=0;j<overlays.length;j++){overlays[j].style.height=tableHeight+'px'}}}}
59function t704_onSuccess(form){if(!(form instanceof Element))form=form[0];var inputsWrapper=form.querySelector('.t-form__inputsbox');var inputsWrapperStyle=getComputedStyle(inputsWrapper,null);var inputsWrapperPaddingTop=parseInt(inputsWrapperStyle.paddingTop)||0;var inputsWrapperPaddingBottom=parseInt(inputsWrapperStyle.paddingBottom)||0;var inputsWrapperHeight=inputsWrapper.clientHeight-(inputsWrapperPaddingTop+inputsWrapperPaddingBottom);var inputsOffset=inputsWrapper.getBoundingClientRect().top+window.pageYOffset;var inputsBottom=inputsWrapperHeight+inputsOffset;var successBox=form.querySelector('.t-form__successbox');var successBoxOffset=successBox.getBoundingClientRect().top+window.pageYOffset;var target=0;var windowHeight=window.innerHeight;var body=document.body;var html=document.documentElement;var documentHeight=Math.max(body.scrollHeight,body.offsetHeight,html.clientHeight,html.scrollHeight,html.offsetHeight);if(window.innerWidth>960){target=successBoxOffset-200}else{target=successBoxOffset-100}
60var tildaLabel=document.querySelector('.t-tildalabel');if(successBoxOffset>window.scrollY||(documentHeight-inputsBottom)<(windowHeight-100)){inputsWrapper.classList.add('t704__inputsbox_hidden');setTimeout(function(){if(windowHeight>documentHeight&&tildaLabel){t704__fadeOut(tildaLabel)}},300)}else{t704__scroll(target);setTimeout(function(){inputsWrapper.classList.add('t704__inputsbox_hidden')},400)}
61var successUrl=$(form).data('success-url');if(successUrl){setTimeout(function(){window.location.href=successUrl},500)}}
62function t704__fadeOut(el){if(el.style.display==='none')return;var opacity=1;var timer=setInterval(function(){el.style.opacity=opacity;opacity-=0.1;if(opacity<=0.1){clearInterval(timer);el.style.display='none';el.style.opacity=null}},50)}
63function t704__scroll(target){var duration=400;var start=(window.pageYOffset||document.documentElement.scrollTop)-(document.documentElement.clientTop||0);var change=target-start;var currentTime=0;var increment=16;document.body.setAttribute('data-scrollable','true');function t704__easeInOutCubic(currentTime){if((currentTime/=duration/2)<1){return change/2*currentTime*currentTime*currentTime+start}else{return change/2*((currentTime-=2)*currentTime*currentTime+2)+start}}
64function t704__animateScroll(){currentTime+=increment;window.scrollTo(0,t704__easeInOutCubic(currentTime));if(currentTime<duration){setTimeout(t704__animateScroll,increment)}else{document.body.removeAttribute('data-scrollable')}}
65t704__animateScroll()}
66function t712_onSuccess(originalForm){var form=originalForm;if(originalForm instanceof jQuery&&originalForm.length){form=originalForm.get(0)}
67var inputsWrapper=form.querySelector('.t-form__inputsbox');var successBox=form.querySelector('.t-form__successbox');var inputsWrapperHeight=inputsWrapper?inputsWrapper.offsetHeight:0;var inputsWrapperOffsetTop=inputsWrapper?inputsWrapper.getBoundingClientRect().top+window.pageYOffset:0;var inputsBottom=inputsWrapperHeight+inputsWrapperOffsetTop;var targetOffset=successBox?successBox.getBoundingClientRect().top+window.pageYOffset:0;var targetYoutubeRecommendationsArea=window.innerWidth>960?200:100;var target=targetOffset-targetYoutubeRecommendationsArea;var documentHeight=Math.max(document.body.scrollHeight,document.documentElement.scrollHeight,document.body.offsetHeight,document.documentElement.offsetHeight,document.body.clientHeight,document.documentElement.clientHeight);if(targetOffset>window.pageYOffset||((documentHeight-inputsBottom)<(window.innerHeight-100))){if(inputsWrapper)inputsWrapper.classList.add('t712__inputsbox_hidden');setTimeout(function(){var tBody=document.querySelector('.t-body');if(tBody&&window.innerHeight>tBody.offsetHeight){var tLabel=document.querySelector('.t-tildalabel');if(tLabel){t712_fadeOut(tLabel,50)}}},300)}else{t712_scrollToNextSection(target,400);setTimeout(function(){if(inputsWrapper)inputsWrapper.classList.add('t712__inputsbox_hidden')},400)}
68var successurl=form.getAttribute('data-success-url');if(successurl){setTimeout(function(){window.location.href=successurl},500)}}
69function t712_fixcontentheight(id){var rec=document.getElementById('rec'+id);if(!rec)return;var cover=rec.querySelector('.t-cover');var filter=rec.querySelector('.t-cover__filter');var carrier=rec.querySelector('.t-cover__carrier');var wrapper=rec.querySelector('.t-cover__wrapper');var container=rec.querySelector('.t-cover__container');var coverHeight=cover?cover.offsetHeight:0;var content=rec.querySelector('div[data-hook-content]');
69var contentHeight=content?content.offsetHeight:0;if(contentHeight>300&&coverHeight<contentHeight){var youTubeRecommendationsSpace=120;if(contentHeight>1000)youTubeRecommendationsSpace+=100;contentHeight+=youTubeRecommendationsSpace;console.log('auto correct cover height: '+contentHeight);if(cover)cover.style.height=contentHeight+'px';if(filter)filter.style.height=contentHeight+'px';if(carrier)carrier.style.height=contentHeight+'px';if(wrapper)wrapper.style.height=contentHeight+'px';if(container)container.style.height=contentHeight+'px';if(!window.isMobile){setTimeout(function(){var videoBlock=rec.querySelector('.t-cover__carrier');if(videoBlock&&videoBlock.querySelector('iframe')){console.log('correct video from cover_fixcontentheight');window.setWidthAndHeightVideo(videoBlock,contentHeight+'px','youtube')}},2000)}}}
70function t712_fadeOut(el,duration){var opacity=1;duration=parseInt(duration);var speed=duration>0?duration/ 10 : 40; /*default duration = 400*/
71var timer=setInterval(function(){el.style.opacity=opacity;opacity-=0.1;if(opacity<=0.1){clearInterval(timer)}},speed)}
72function t712_scrollToNextSection(to,duration){if(duration<=0)return;var difference=to-window.pageYOffset;var perTick=difference/duration*10;setTimeout(function(){window.scrollTo(0,window.pageYOffset+perTick);document.body.setAttribute('data-scrollable','true');if(window.pageYOffset===to){document.body.removeAttribute('data-scrollable');return}
73t712_scrollToNextSection(to,duration-10)},10);setTimeout(function(){if(document.body.getAttribute('data-scrollable')==='true'){document.body.removeAttribute('data-scrollable')}},duration*2)}
74function t788_init(recid){setTimeout(function(){$('#rec'+recid+' .t788').addClass('js-product');$('#rec'+recid+' .t-cover__carrier').addClass('js-product-img');t_prod__init(recid)},500)}
75function t835_init(recid){var rec=$('#rec'+recid);var quizWrapper=rec.find('.t835__quiz-wrapper');var quizFormWrapper=rec.find('.t835__quiz-form-wrapper');var form=rec.find('.t835 .t-form');var quizQuestion=rec.find('.t835 .t-input-group');var prevBtn=rec.find('.t835__btn_prev');var nextBtn=rec.find('.t835__btn_next');var resultBtn=rec.find('.t835__btn_result');var errorBoxMiddle=rec.find('.t-form__errorbox-middle .t-form__errorbox-wrapper');var captureFormHTML='<div class="t835__capture-form"></div>';rec.find('.t835 .t-form__errorbox-middle').before(captureFormHTML);var quizQuestionNumber=0;form.removeClass('js-form-proccess');var specCommentInput=form.find('input.js-form-spec-comments[name="form-spec-comments"]');if(form.data('formactiontype')!=1&&!specCommentInput.length){form.append('<div style="position: absolute; left: -5000px; bottom:0;"><input type="text" name="form-spec-comments" value="Its good" class="js-form-spec-comments"  tabindex="-1" /></div>')}
76$(quizQuestion[quizQuestionNumber]).show();$(quizQuestion[quizQuestionNumber]).addClass('t-input-group-step_active');t835_workWithAnswerCode(rec);quizQuestion.each(function(i){$(quizQuestion[i]).attr('data-question-number',i)});t835_wrapCaptureForm(rec);t835_showCounter(rec,quizQuestionNumber);t835_disabledPrevBtn(rec,quizQuestionNumber);t835_checkLength(rec);prevBtn.click(function(e){if(quizQuestionNumber>0){quizQuestionNumber--}
77t835_setProgress(rec,-1);if(typeof $('.t-records').attr('data-tilda-mode')=='undefined'){if(window.lazy==='y'||$('#allrecords').attr('data-tilda-lazy')==='yes'){t_onFuncLoad('t_lazyload_update',function(){t_lazyload_update()})}}
78t835_awayFromResultScreen(rec);t835_showCounter(rec,quizQuestionNumber);t835_hideError(rec,quizQuestionNumber);t835_disabledPrevBtn(rec,quizQuestionNumber);t835_switchQuestion(rec,quizQuestionNumber);t835_scrollToTop(quizWrapper);e.preventDefault()});nextBtn.click(function(e){if(quizWrapper.hasClass('t835__quiz-published')){var showErrors=t835_setError(rec,quizQuestionNumber)}
79if(showErrors){errorBoxMiddle.hide()}
80if(!showErrors){quizQuestionNumber++;prevBtn.attr('disabled',!1);t835_setProgress(rec,1);t835_showCounter(rec,quizQuestionNumber);t835_switchQuestion(rec,quizQuestionNumber);t835_scrollToTop(quizWrapper)}
81if(typeof $('.t-records').attr('data-tilda-mode')=='undefined'){if(window.lazy==='y'||$('#allrecords').attr('data-tilda-lazy')==='yes'){t_onFuncLoad('t_lazyload_update',function(){t_lazyload_update(
81)})}}
82e.preventDefault()});quizQuestion.keypress(function(e){var activeStep=form.find('.t-input-group-step_active');if(event.keyCode===13&&!form.hasClass('js-form-proccess')&&!activeStep.hasClass('t-input-group_ta')){if(quizWrapper.hasClass('t835__quiz-published')){var showErrors=t835_setError(rec,quizQuestionNumber)}
83var questionArr=t835_createQuestionArr(rec);if(showErrors){errorBoxMiddle.hide()}
84prevBtn.attr('disabled',!1);if(!showErrors){quizQuestionNumber++;t835_setProgress(rec,1);if(quizQuestionNumber<questionArr.length){t835_switchQuestion(rec,quizQuestionNumber)}else{t835_switchResultScreen(rec);form.addClass('js-form-proccess')}
85t835_scrollToTop(quizWrapper);t835_disabledPrevBtn(rec,quizQuestionNumber)}
86if(typeof $('.t-records').attr('data-tilda-mode')=='undefined'){if(window.lazy==='y'||$('#allrecords').attr('data-tilda-lazy')==='yes'){t_onFuncLoad('t_lazyload_update',function(){t_lazyload_update()})}}
87e.preventDefault()}});resultBtn.click(function(e){if(quizWrapper.hasClass('t835__quiz-published')){var showErrors=t835_setError(rec,quizQuestionNumber)}
88if(showErrors){errorBoxMiddle.hide()}
89if(!showErrors){quizQuestionNumber++;t835_setProgress(rec,1);t835_switchResultScreen(rec);t835_scrollToTop(quizWrapper);form.addClass('js-form-proccess');t835_disabledPrevBtn(rec,quizQuestionNumber)}
90e.preventDefault()})}
91function t835_workWithAnswerCode(rec){rec.find('.t-input-group_ri').find('input').each(function(){var $this=$(this);if($this.val().indexOf('value::')!=-1){t835_setAnswerCode($this);var label=$this.parent().find('.t-img-select__text');label.text(label.text().split('value::')[0].trim())}});rec.find('.t-input-group_rd').find('input').each(function(){var $this=$(this);if($this.val().indexOf('value::')!=-1){t835_setAnswerCode($this);var label=$this.parent();label.html(function(){var html=$(this).html().split('value::')[0].trim();return html})}});rec.find('.t-input-group_sb').find('option').each(function(){var $this=$(this);if($this.val().indexOf('value::')!=-1){t835_setAnswerCode($this);$this.text($this.text().split('value::')[0].trim())}})}
92function t835_setAnswerCode($this){var parameter=$this.val().split('value::')[1].trim();$this.val(parameter)}
93function t835_scrollToTop(quizFormWrapper){var topCoordinateForm=quizFormWrapper.offset().top;var paddingTop=0;var blockContainer=quizFormWrapper.parents('.t835');if(topCoordinateForm>=window.scrollY||blockContainer.hasClass('t835_scroll-disabled'))return;if($('.t228__positionfixed').length>0&&!window.isMobile){paddingTop=paddingTop+$('.t228__positionfixed').height()}
94$('html, body').animate({scrollTop:topCoordinateForm-paddingTop},0)}
95function t835_checkLength(rec){var nextBtn=rec.find('.t835__btn_next');var resultBtn=rec.find('.t835__btn_result');var questionArr=t835_createQuestionArr(rec);if(questionArr.length<2){nextBtn.hide();resultBtn.show()}}
96function t835_showCounter(rec,quizQuestionNumber){var counter=rec.find('.t835__quiz-description-counter');var questionArr=t835_createQuestionArr(rec);counter.html(quizQuestionNumber+1+'/'+questionArr.length)}
97function t835_setError(rec,quizQuestionNumber){var questionArr=t835_createQuestionArr(rec);var currentQuestion=$(questionArr[quizQuestionNumber]);var showErrors;if(typeof window.tildaForm!=='object')return showErrors;var arErrors=window.tildaForm.validate(currentQuestion);currentQuestion.addClass('js-error-control-box');var errorsTypeObj=arErrors[0];if(errorsTypeObj!=undefined){var errorType=errorsTypeObj.type[0];var errorTextCustom=rec.find('.t835 .t-form').find('.t-form__errorbox-middle').find('.js-rule-error-'+errorType).text();var sError='';if(errorTextCustom!=''){sError=errorTextCustom}else{t_onFuncLoad('t_form_dict',function(){sError=t_form_dict(errorType)})}
98showErrors=errorType=='emptyfill'?!1:window.tildaForm.showErrors(currentQuestion,arErrors);currentQuestion.find('.t-input-error').html(sError)}
99return showErrors}
100function t835_hideError(rec,quizQuestionNumber){var questionArr=t835_createQuestionArr(rec);var currentQuestion=$(questionArr[quizQuestionNumber]);currentQuestion.removeClass('js-error-control-box');currentQuestion.find('.t-input-error').html('')}
101function t835_setProgress(rec,index){var progressbarWidth=rec.find('.t835__progressbar').width();var progress=rec.find('.t835__progress');var questionArr=t835_createQuestionArr(rec);var progressWidth=progress.width();var progressStep=progressbarWidth/(questionArr.length);var percentProgressWidth=(progressWidth+index*progressStep)/progressbarWidth*100+'%';progress.css('width',percentProgressWidth)}
102function t835_wrapCaptureForm(rec){var captureForm=rec.find('.t835__capture-form');var quizQuestion=rec.find('.t835 .t-input-group');var quizFormWrapper=rec.find('.t835__quiz-form-wrapper');quizQuestion.each(function(i){var currentQuizQuestion=$(quizQuestion[i]);var emailInputExist=$(currentQuizQuestion).hasClass('t-input-group_em');var nameInputExist=$(currentQuizQuestion).hasClass('t-input-group_nm');var phoneInputExist=$(currentQuizQuestion).hasClass('t-input-group_ph');var checkboxInputExist=$(currentQuizQuestion).hasClass('t-input-group_cb');var quizQuestionNumber=currentQuizQuestion.attr('data-question-number');var maxCountOfCaptureFields=quizFormWrapper.hasClass('t835__quiz-form-wrapper_withcheckbox')?4:3;if(quizQuestionNumber>=quizQuestion.length-maxCountOfCaptureFields){var isCaptureGroup=!0;if(quizFormWrapper.hasClass('t835__quiz-form-wrapper_newcapturecondition')){var inputsGroup=currentQuizQuestion.nextAll('.t-input-group');inputsGroup.each(function(){isCaptureGroup=$(this).hasClass('t-input-group_cb')||$(this).hasClass('t-input-group_em')||$(this).hasClass('t-input-group_nm')||$(this).hasClass('t-input-group_ph')})}
103if(isCaptureGroup){if(quizFormWrapper.hasClass('t835__quiz-form-wrapper_withcheckbox')){if(emailInputExist||nameInputExist||phoneInputExist||checkboxInputExist){currentQuizQuestion.addClass('t835__t-input-group_capture');captureForm.append(currentQuizQuestion)}}else{if(emailInputExist||nameInputExist||phoneInputExist){currentQuizQuestion.addClass('t835__t-input-group_capture');captureForm.append(currentQuizQuestion)}}}}})}
104function t835_createQuestionArr(rec){var quizQuestion=rec.find('.t835 .t-input-group');var questionArr=[];quizQuestion.each(function(i){var question=$(quizQuestion[i]);if(!question.hasClass('t835__t-input-group_capture')){questionArr.push(quizQuestion[i])}});return questionArr}
105function t835_disabledPrevBtn(rec,quizQuestionNumber){var prevBtn=rec.find('.t835__btn_prev');quizQuestionNumber==0?prevBtn.attr('disabled',!0):prevBtn.attr('disabled',!1)}
106function t835_switchQuestion(rec,quizQuestionNumber){var nextBtn=rec.find('.t835__btn_next');var resultBtn=rec.find('.t835__btn_result');var questionArr=t835_createQuestionArr(rec);$(questionArr).hide();$(questionArr).removeClass('t-input-group-step_active');$(questionArr[quizQuestionNumber]).show();$(questionArr[quizQuestionNumber]).addClass('t-input-group-step_active');if(quizQuestionNumber===questionArr.length-1){nextBtn.hide();resultBtn.show()}else{nextBtn.show();resultBtn.hide()}}
107function t835_switchResultScreen(rec){var captureForm=rec.find('.t835__capture-form');var quizDescription=rec.find('.t835__quiz-description');var resultTitle=rec.find('.t835__result-title');var resultBtn=rec.find('.t835__btn_result');var submitBtnWrapper=rec.find('.t835 .t-form__submit');var questionArr=t835_createQuestionArr(rec);$(questionArr).hide();$(captureForm).show();resultBtn.hide();quizDescription.hide();resultTitle.show();submitBtnWrapper.show()}
108function t835_awayFromResultScreen(rec){var captureForm=rec.find('.t835__capture-form');var quizDescription=rec.find('.t835__quiz-description');var resultTitle=rec.find('.t835__result-title');var submitBtnWrapper=rec.find('.t835 .t-form__submit');submitBtnWrapper.hide();$(captureForm).hide();quizDescription.show();resultTitle.hide()}
109function t835_onSuccess(form){var inputsWrapper=form.find('.t-form__inputsbox');var inputsHeight=inputsWrapper.height();var inputsOffset=inputsWrapper.offset().top;var inputsBottom=inputsHeight+inputsOffset;var targetOffset=form.find('.t-form__successbox').offset().top;var prevBtn=form.parents('.t835').find('.t835__btn_prev');var target;if($(window).width()>960){target=targetOffset-200}else{target=targetOffset-100}
110if(targetOffset>$(window).scrollTop()||($(document).height()-inputsBottom)<($(window).height()-100)){inputsWrapper.addClass('t835__inputsbox_hidden');setTimeout(function(){if($(window).height()>$('.t-body').height()){$('.t-tildalabel').animate({opacity:0},50)}},300)}else{$('html, body').animate({scrollTop:target},400);setTimeout(function(){inputsWrapper.addClass('t835__inputsbox_hidden')},400)}
111var successurl=form.data('success-url');if(successurl&&successurl.length>0){setTimeout(function(){window.location.href=successurl},500)}
112prevBtn.hide()}
113function t959__init(recId){var rec=document.getElementById('rec'+recId);if(!rec)return;var container=rec.querySelector('.t959');if(!container)return;t959__updateLazyLoad(recId);window.addEventListener('resize',t_throttle(function(){t959_unifyHeights(recId)}));window.addEventListener('load',function(){t959_unifyHeights(recId)});$(container).on('displayChanged',t_throttle(function(){t959_unifyHeights(recId)}))}
114function t959__updateLazyLoad(recId){var allRecords=document.getElementById('allrecords');var container=document.querySelector('#rec'+recId+' .t959__container_mobile-flex');var mode=allRecords.getAttribute('data-tilda-mode');if(container&&mode!=='edit'&&mode!=='preview'&&window.isMobile){container.addEventListener('touchmove',t_throttle(function(){if(window.lazy==='y'||allRecords.getAttribute('data-tilda-lazy')==='yes'){t_onFuncLoad('t_lazyload_update',function(){t_lazyload_update()})}}))}}
115function t959_unifyHeights(recId){var rec=document.getElementById('rec'+recId);if(!rec)return;var main=rec.querySelector('.t959');if(!main)return;var containers=main.querySelectorAll('.t959__container');for(var i=0;i<containers.length;i++){var container=containers[i];var cardsContent=container.querySelectorAll('.t959__card-content');var cards=container.querySelectorAll('.t959__card-inner');var cardStyle=getComputedStyle(cards[0],null);var cardPaddingLeft=parseInt(cardStyle.paddingLeft)||0;var cardPaddingRight=parseInt(cardStyle.paddingRight)||0;var cardWidth=cards[0].clientWidth-(cardPaddingLeft+cardPaddingRight);var maxHeight=0;var ratio=container.getAttribute('data-ratio');var minHeightFromRatio=0;switch(ratio){case '16_9':minHeightFromRatio=cardWidth*0.5625;break;case '4_3':minHeightFromRatio=cardWidth*0.75;break;case '3_2':minHeightFromRatio=cardWidth*0.6666;break;case '1_1':minHeightFromRatio=cardWidth;break;case '2_3':minHeightFromRatio=cardWidth*1.5;break;case '3_4':minHeightFromRatio=cardWidth*1.3333;break;case '9_16':minHeightFromRatio=cardWidth*1.7777;break}
116for(var j=0;j<cardsContent.length;j++){var cardContent=cardsContent[j];var titleHeight=t959_outerHeight(cardContent.querySelector('.t959__card-title'));var descHeight=t959_outerHeight(cardContent.querySelector('.t959__card-desc'));var colHeight=titleHeight+descHeight;if(colHeight>maxHeight)maxHeight=colHeight}
117if(maxHeight>minHeightFromRatio){for(var j=0;j<cards.length;j++){cards[j].style.paddingBottom=maxHeight+'px'}}else{for(var j=0;j<cards.length;j++){cards[j].style.paddingBottom=null}}}}
118function t959_outerHeight(element){if(!element)return 0;var height=element.offsetHeight;var style=getComputedStyle(element);height+=parseInt(style.marginTop)+parseInt(style.marginBottom);return height}

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.