401for (var i = 0; i < arrChilds.length; i++) {402if (arrChilds[i].nodeValue.indexOf("'t remove this l") !== -1) {403document404.getElementById('allrecords')405.insertAdjacentHTML(406'afterend',407'<div class="t-tildalabel t-tildalabel-free" style="display: block !important; visibility: visible !important; position: relative !important; width: 100% !important; pointer-events: all !important; opacity: 1 !important; margin: 0 !important; z-index: 99900 !important"><div class="t-tildalabel-free__main"><a href="https://tilda.cc" target="_blank" style="padding-bottom:12px; display: block;"><img style="width:40px;" src="https://static.tildacdn.' +408t_getRootZone() +409'/img/tildacopy.png"></a><div style="padding-bottom: 15px;">This site was made on <a href="https://tilda.cc" target="_blank" style="text-decoration: none; color:inherit;">Tilda — a website builder</a> that helps to create a website without any code</div><a href="https://tilda.cc/registration/" target="_blank" style="display: inline-block; padding: 10px 20px; font-size: 13px; border-radius: 50px; background-color: #fa8669; color: #fff; text-decoration: none;">Create a website</a></div><div class="t-tildalabel-free__links-wr"><a class="t-tildalabel-free__txt-link" href="https://help' +
(window.browserLang === 'RU' ? '-ru' : '') + '.tilda.cc/white-label" target="_blank">' + (window.browserLang === 'RU' ? 'Как удалить этот лейбл' : 'How to remove this block') + '?</a></div></div>' ); } } } else if (bodyScrollHeight + 70 > window.innerHeight) { if (tildaLabel) { tildaLabel.setAttribute( 'style', 'display: block !important; visibility: visible !important; position: relative !important; width: 100% !important; pointer-events: all !important; opacity: 1 !important; margin: 0 !important; z-index: 1 !important' ); } } }, 500);});/** Appearance animation */t_onReady(function () { var allRecords = document.getElementById('allrecords'); if ( !window.isMobile && allRecords && allRecords.getAttribute('data-blocks-animationoff') !== 'yes' && window.isSearchBot === false ) { var recBlocks = document.querySelectorAll('.r'); for (var i = 0; i < recBlocks.length; i++) { var rec = recBlocks[i]; var style = rec.getAttribute('style'); if (style && style.indexOf('background') !== -1) { rec.setAttribute('data-animationappear', 'off'); } } // add animation var recBlocksNot = Array.prototype.slice.call(recBlocks).filter(function (el) { return ( !el.getAttribute('data-animationappear') && !el.getAttribute('data-screen-min') && !el.getAttribute('data-screen-max') ); }); for (var i = 0; i < recBlocksNot.length; i++) { var rec = recBlocksNot[i]; var recTop = rec.getBoundingClientRect().top + window.pageYOffset; var position = window.pageYOffset + window.innerHeight + 300; if (recTop > 1000 && recTop > position) { t_addClass(rec, 'r_hidden'); } else { t_addClass(rec, 'r_showed'); } t_addClass(rec, 'r_anim'); } if (recBlocksNot.length) { function t_blocksFade() { for (var i = recBlocksNot.length - 1; i >= 0; i--) { var rec = recBlocksNot[i]; var recTop = rec.getBoundingClientRect().top + window.pageYOffset; var position = 0; if (rec.offsetHeight <= 100) { position = window.pageYOffset + window.innerHeight; } else { position = window.pageYOffset + window.innerHeight - 100; } if (recTop < position) { t_removeClass(rec, 'r_hidden'); t_addClass(rec, 'r_showed'); recBlocksNot = Array.prototype.slice.call(recBlocksNot); recBlocksNot.splice(i, 1); } } } var recBlocksT400 = document.querySelectorAll('[data-record-type="400"], [data-parenttplid="400"]'); if (recBlocksT400.length > 0) { var countCompleted = 0; var count = 0; var timer = setInterval(function () { count += 1; // 300 - время через которое остановить интервал если условие не выполнится