Это первая доступная в Git версия файла.
1window.isIE=!!document.documentMode;function t_throttle(fn,threshhold,scope){var last;var deferTimer;threshhold||(threshhold=250);return function(){var context=scope||this;var now=+new Date();var args=arguments;if(last&&now<last+threshhold){clearTimeout(deferTimer);deferTimer=setTimeout(function(){last=now;fn.apply(context,args)},threshhold)}else{last=now;fn.apply(context,args)}}}2function t930__paintIcons(recid){var rec=document.querySelector('#rec'+recid);if(!rec)return;var iconWrapper=rec.querySelector('.t930__icon-wrapper');if(!iconWrapper)return;var url=iconWrapper.getAttribute('data-original');var color=iconWrapper.getAttribute('data-color');var icons=iconWrapper.querySelectorAll('.t930__icon');if(!url||!color||!icons.length)return;var setIconBackground=function(backgroundValue){Array.prototype.forEach.call(icons,function(icon){icon.style.backgroundImage=backgroundValue})};if(!color){setIconBackground('url('+url+')');return}3var xhr=new XMLHttpRequest();xhr.open('GET',url);xhr.responseType='document';xhr.onreadystatechange=function(){if(xhr.readyState===XMLHttpRequest.DONE&&xhr.status===200){var response=xhr.response;var svg=response.querySelector('svg');if(!svg)return;var figureList=svg.querySelectorAll('*:not(g):not(title):not(desc)');figureList.forEach(function(figure){figure.style.fill=color});var svgString=new XMLSerializer().serializeToString(svg);var svgEncodedURL='url(data:image/svg+xml;base64,'+window.btoa(svgString)+')';setIconBackground(svgEncodedURL)}else if(xhr.readyState===XMLHttpRequest.DONE){setIconBackground('url('+url+')')}};xhr.send()}4function t376_setbg(){var recs=document.querySelectorAll('.r');var background='no';for(var i=0;i<recs.length;i++){var rec=recs[i];var container=rec.querySelector('.t376');if(container){background=container.getAttribute('data-section-bg-color')}5
if(!rec.getAttribute('data-bg-color')){var bgManualSetted=rec.getAttribute('data-t376-bg-manual-setted');if(background!=='no'){if(!bgManualSetted||(bgManualSetted&&bgManualSetted!==background)){rec.style.backgroundColor=background;rec.setAttribute('data-t376-bg-manual-setted',background)}}if(background==='no'&&bgManualSetted){rec.style.backgroundColor='';rec.removeAttribute('data-t376-bg-manual-setted')}}}}function t213_init(recId){var rec=document.getElementById('rec'+recId);if(!rec)return;var container=document.getElementById('t213-marker'+recId);if(!container)return;var minScreenWidth=rec.getAttribute('data-screen-min');var maxScreenWidth=rec.getAttribute('data-screen-max');var windowWidth=window.innerWidth;if(minScreenWidth&&windowWidth<parseInt(minScreenWidth,10))return;if(maxScreenWidth&&windowWidth>parseInt(maxScreenWidth,10))return;var timer;var bgColor=container.getAttribute('data-bg-color');var documentBody=document.body;documentBody.style.transition='background-color 1s linear';if(window.t213higher===undefined){window.t213higher=1000000}var containerOffsetTop=container.getBoundingClientRect().top+window.pageYOffset;if(window.t213higher>containerOffsetTop){window.t213higher=containerOffsetTop;window.t213higher_id=recId}var bodyDefBgColor=getComputedStyle(documentBody,null).backgroundColor||'';var timerCount=0;function t213__scrollEvent(){if(timer){window.clearTimeout(timer);if(timerCount>=15){t213_timer_do(container,bgColor,bodyDefBgColor,recId)}timerCount++}timer=window.setTimeout(function(){t213_timer_do(container,bgColor,bodyDefBgColor,recId);timerCount=0},100)}window.addEventListener('scroll',t213__scrollEvent);t213__scrollEvent()}function t213_timer_do(container,bgColor,bodyDefBgColor,recId){var top=container.getBoundingClientRect().top+window.pageYOffset;var scrollTop=window.pageYOffset;var windowHeight=window.innerHeight;var documentBody=document.body;if(scrollTop+windowHeight>=top){documentBody.style.backgroundColor=bgColor}else if(window.t213higher_id==recId){documentBody.style.backgroundColor=bodyDefBgColor}}function t796_init(recId){var rec=document.getElementById('rec'+recId);if(!rec)return;var container=rec.querySelector('.t796');if(!container)return;var windowWidth=window.innerWidth;var screenMin=rec.getAttribute('data-screen-min');var screenMax=rec.getAttribute('data-screen-max');if(screenMin&&windowWidth<parseInt(screenMin,10))return!1;if(screenMax&&windowWidth>parseInt(screenMax,10))return!1;var shapeBorder=rec.querySelector('.t796__shape-border');var shapeRecId=container.getAttribute('data-shape-rec-ids');if(shapeRecId){shapeRecId=shapeRecId.split(',');for(var i=0;i<shapeRecId.length;i++){var shapeId=shapeRecId[i];var currentRec=document.querySelector('#rec'+shapeId);var currentShape=shapeBorder.cloneNode(!0);t796_setColor(rec,currentShape);t796_addDivider(currentRec,currentShape)}}else{var excludesBlocks=['215','316','390','651','702','706','708','750','756','766','825','862','868','943','945','674','1040',];var excludes=excludesBlocks.map(function(tplid){return `[data-record-type="${tplid}"],[data-parenttplid="${tplid}"]`}).join(',');excludes=`:not(${excludes})`;var recs=[];if(shapeBorder.classList.contains('t796__shape-border_top')||shapeBorder.classList.contains('t796__shape-border_top-flip')){recs=t796__nextAll(rec,excludes)}if(shapeBorder.classList.contains('t796__shape-border_bottom')||shapeBorder.classList.contains('t796__shape-border_bottom-flip')){recs=t796__prevAll(rec,excludes)}if(recs.length!==0){var currentShape=shapeBorder.cloneNode(!0);t796_setColor(rec,currentShape);t796_addDivider(recs[0],currentShape)}}}function t796_setColor(rec,shape){if(shape.getAttribute('data-fill-color'))return;var nearestBlock;if(shape.classList.contains('t796__shape-border_bottom')||shape.classList.contains('t796__shape-border_bottom-flip')){var nextBlock=rec.nextElementSibling;if(nextBlock){nearestBlock=nextBlock.matches('.r')?nextBlock:!1}}else{var prevBlock=rec.previousElementSibling;if(prevBlock){nearestBlock=prevBlock.matches('.r')?prevBlock:!1}}if(!nearestBlock)return;var fillColor=nearestBlock.getAttribute('data-bg-color');if(!fillColor)return;var svg=shape.querySelector('.t796__svg');if(svg)svg.style.fill=fillColor}function t796_addDivider(rec,shape){if(!rec)return;rec.setAttribute('data-animationappear','off');rec.classList.remove('r_hidden');var covers=rec.querySelectorAll('.t-cover');var zeroBlock=rec.querySelector('.t396');if(covers.length>0||zeroBlock){if(covers.length>0){Array.prototype.forEach.call(covers,function(cover){shape=covers.length>1?shape.cloneNode(!0):shape;var showLayers=cover.querySelectorAll('.t557__snow-layer');if(showLayers.length>0)shape.style.zIndex=1;var coverFilter=cover.querySelector('.t-cover__filter');if(coverFilter)coverFilter.insertAdjacentElement('afterend',shape);shape.style.display='block'})}if(zeroBlock){zeroBlock.insertAdjacentElement('afterend',shape);rec.style.position='relative';var zeroFilter=zeroBlock.querySelector('.t396__filter');if(zeroFilter){var zIndex=1;var zeroArtboard=zeroBlock.querySelector('.t396__artboard');var isVisible=getComputedStyle(zeroArtboard,null).overflow==='visible';if(!isVisible)zIndex=99;shape.style.zIndex=zIndex}shape.style.display='block'}}else{var wrapper=rec;var recordType=rec.getAttribute('data-parenttplid')||rec.getAttribute('data-record-type');if(!wrapper)return!0;wrapper.appendChild(shape);wrapper.style.position='relative';var excludesBlocks=['125','331','554','746','754','776','778','786','858','896','897','924','915','943','945','951','1004','1025','1241','1291','2823',];if(excludesBlocks.indexOf(recordType)===-1){var notZIndexBlocks=['983'];var firstDiv=wrapper.querySelector('div');firstDiv.style.position='relative';firstDiv.classList.add('t796_cont-near-shape-divider');if(notZIndexBlocks.indexOf(recordType)!==-1){firstDiv.style.zIndex=0}else{firstDiv.style.zIndex='1'}}var blocks=['195','246','279','675','694','734','823','938','1241'];if(blocks.indexOf(recordType)!==-1){shape.style.zIndex=1}shape.style.display='block'}}function t796__nextAll(element,selector){var nextElements=[];var nextElement=element;while(nextElement.nextElementSibling){nextElement=nextElement.nextElementSibling;if(nextElement.id==='t-footer'){var footerElements=nextElement.querySelectorAll('.r');if(footerElements.length!==0){nextElement=footerElements[0];if(nextElement.matches(selector)){nextElements.push(nextElement)}nextElements=nextElements.concat(t796__nextAll(nextElement,selector))}}else if(nextElement.matches(selector)){nextElements.push(nextElement)}}return nextElements}function t796__prevAll(element,selector){var prevElements=[];var prevElement=element;while(prevElement.previousElementSibling){prevElement=prevElement.previousElementSibling;if(prevElement.id==='t-header'){var headerElements=prevElement.querySelectorAll('.r');if(headerElements.length!==0){prevElement=headerElements[headerElements.length-1];if(prevElement.matches(selector)){prevElements.push(prevElement)}prevElements=prevElements.concat(t796__prevAll(prevElement,selector))}}else if(prevElement.matches(selector)){prevElements.push(prevElement)}}return prevElements}if(!Element.prototype.matches){Element.prototype.matches=Element.prototype.matchesSelector||Element.prototype.msMatchesSelector||Element.prototype.mozMatchesSelector||Element.prototype.webkitMatchesSelector||Element.prototype.oMatchesSelector}function t1003_init(recId,angle){var rec=document.getElementById('rec'+recId);if(!rec)return;var container=rec.querySelector('.t1003');if(!container)return;t1003_calc(rec,recId,angle);window.addEventListener('resize',t_throttle(function(){t1003_calc(rec,recId,angle)},300));window.addEventListener('load',function(){t1003_calc(rec,recId,angle)});container.addEventListener('displayChanged',function(){t1003_calc(rec,recId,angle);var content=container.querySelector('.t1003__content');var contentAnimName=content?window.getComputedStyle(content).animationName:'';if(!contentAnimName)return;content.style.animationName='';setTimeout(function(){content.style.animationName=contentAnimName})})}function t1003_calc(rec,recId,angle){var wrapper=rec.querySelector('.t1003__wrapper');var contentWrapper=rec.querySelector('.t1003__content-wrapper');var content=rec.querySelector('.t1003__content');var items=content.querySelectorAll('.t1003__item');var img=items[0].querySelector('.t1003__bgimg');var index=0;if(img){for(var i=0;i<items.length;i++){if(items[i].querySelector('.t1003__bgimg').classList.contains('loaded')){index=i;break}}}var itemWidth=items[index].offsetWidth;var windowWidth=window.innerWidth;var itemsToDisplay=parseInt(windowWidth/itemWidth)+3;var direction='';if(angle)t1003_calcRotatedWidth(rec,angle);if(wrapper.getAttribute('data-marquee-direction')==='opposite')direction='right';for(var i=1;i<items.length;i++){t1003__remove(items[i])}for(var i=0;i<itemsToDisplay;i++){if(direction==='right'){content.insertBefore(items[index].cloneNode(!0),items[0])}else{content.insertBefore(items[index].cloneNode(!0),items[0].nextSibling)}}t1003_anim(rec,itemWidth,recId,direction);content.style.animationName='t1003__anim-scrolling_'+recId;contentWrapper.style.opacity='1'}function t1003_calcRotatedWidth(rec,angle){var outer=rec.querySelector('.t1003__outer');var wrapper=rec.querySelector('.t1003__wrapper');var wrapperOpacity=wrapper.style.opacity;wrapper.removeAttribute('style');angle=parseFloat(angle.replace('deg',''),10);var windowWidth=window.innerWidth;var angleRad=(angle*Math.PI)/180;var sin=Math.sin(angleRad);var paddingCoeff=Math.abs(Math.tan(angleRad)/2);var padding=windowWidth*paddingCoeff;var rotatedHeight=Math.abs(sin*windowWidth);wrapper.style.width='calc(100vw + '+padding+'px)';wrapper.style.padding='0 '+padding+'px';if(wrapperOpacity)wrapper.style.opacity=wrapperOpacity;var wrapperStyle=getComputedStyle(wrapper,null);var wrapperPaddingTop=parseInt(wrapperStyle.paddingTop)||0;var wrapperPaddingBottom=parseInt(wrapperStyle.paddingBottom)||0;var wrapperPaddingLeft=parseInt(wrapperStyle.paddingLeft)||0;var wrapperPaddingRight=parseInt(wrapperStyle.paddingRight)||0;var wrapperWidth=wrapper.clientWidth-(wrapperPaddingLeft+wrapperPaddingRight);var wrapperHeight=wrapper.clientHeight-(wrapperPaddingTop+wrapperPaddingBottom);var operator=sin<0?'':'-';outer.style.height=rotatedHeight+wrapperHeight+'px';if(window.isIE){wrapper.style.width='';wrapper.style.marginLeft='-'+wrapperWidth/2+'px';wrapper.style.marginTop=operator+wrapperHeight/2+'px'}}function t1003_anim(rec,itemWidth,id,direction){var animationName='t1003__anim-scrolling_'+id;var speedAttr=rec.querySelector('.t1003__wrapper').getAttribute('data-marquee-speed');var start;var end;var speed;var seconds;var styleAnimation=rec.querySelector('#'+animationName);if(styleAnimation)t1003__remove(styleAnimation);if(!speedAttr)return;seconds=parseFloat(speedAttr.replace('s',''));speed=(itemWidth/100)*seconds;rec.querySelector('.t1003__content').style.animationDuration=speed+'s';if(direction==='right'){start=itemWidth*-1;end=0}else{start=0;end=itemWidth*-1}var style=document.createElement('style');style.id=animationName;style.innerHTML='@keyframes '+animationName+'{'+'0% {'+'transform: translateX('+start+'px);'+'-webkit-transform: translateX('+start+'px);'+'}'+'100% {'+'transform: translateX('+end+'px);'+'-webkit-transform: translateX('+end+'px);'+'}'+'}';rec.appendChild(style)}function t1003__remove(el){if(el&&el.parentNode){el.parentNode.removeChild(el)}}