Как правильно выбрать зубную щетку для чувствительных зубов: 7 секретов идеальной чистки

Зубная щетка для чувствительных зубов: как выбрать и использовать</ <div class="fpm_end"></div><div class="addedInserting coveredInsertings" data-id="48959"></div><style>.coveredInsertings{ }</style><div style="clear:both; margin-top:0em; margin-bottom:1em;"><a href="https://proeto.club/actual/4500361.html" target="_blank" rel="nofollow" class="u8173cf3a5608f2f08326d768c074e66d"><style>.u8173cf3a5608f2f08326d768c074e66d{padding:0px;margin:0;padding-top:1em!important;padding-bottom:1em!important;width:100%;display:block;font-weight:bold;background-color:#ECF0F1;border:0!important;border-left:4px solid inherit!important;box-shadow:0 1px 2px rgba(0, 0, 0, 0.17);-moz-box-shadow:0 1px 2px rgba(0, 0, 0, 0.17);-o-box-shadow:0 1px 2px rgba(0, 0, 0, 0.17);-webkit-box-shadow:0 1px 2px rgba(0, 0, 0, 0.17);text-decoration:none;} .u8173cf3a5608f2f08326d768c074e66d:active, .u8173cf3a5608f2f08326d768c074e66d:hover{opacity:1;transition:opacity 250ms;webkit-transition:opacity 250ms;text-decoration:none;} .u8173cf3a5608f2f08326d768c074e66d{transition:background-color 250ms;webkit-transition:background-color 250ms;opacity:1;transition:opacity 250ms;webkit-transition:opacity 250ms;} .u8173cf3a5608f2f08326d768c074e66d .ctaText{font-weight:bold;color:#000000;text-decoration:none;font-size:16px;} .u8173cf3a5608f2f08326d768c074e66d .postTitle{color:#2980B9;text-decoration:underline!important;font-size:16px;} .u8173cf3a5608f2f08326d768c074e66d:hover .postTitle{text-decoration:underline!important;}</style><div style="padding-left:1em; padding-right:1em;"><span class="ctaText">Читайте также:</span>  <span class="postTitle">5 эффективных средств для улучшения мужского здоровья в 2026 году</span></div></a></div></div><footer class="entry-meta"> <span class="cat-links"><span class="screen-reader-text">Рубрики </span><a href="https://proeto.club/actual" rel="category tag">Свежее</a></span> <nav id="nav-below" class="post-navigation"> <span class="screen-reader-text">Навигация записи</span> <div class="nav-previous"><span class="prev" title="Предыдущая"><a href="https://proeto.club/actual/216185656.html" rel="prev">Гормональный баланс после 40: как вернуть энергию и спокойствие — практическое руководство для мужчин и женщин на 2026 год</a></span></div><div class="nav-next"><span class="next" title="Следубщий"><a href="https://proeto.club/actual/29226061.html" rel="next">ДНК-анализ для профилактики: как не утонуть в данных и выжать максимум пользы в 2026 году</a></span></div></nav> </footer> <?php if ( is_single() ) : ?> <?php if(function_exists('the_ratings')) { the_ratings(); } ?> <?php endif; ?><?php related_posts(); ?></div></article> </main></div><div id="right-sidebar" class="widget-area grid-25 tablet-grid-25 grid-parent sidebar" itemtype="https://schema.org/WPSideBar" itemscope> <div class="inside-right-sidebar"> <aside id="recent-posts-widget-with-thumbnails-2" class="widget inner-padding recent-posts-widget-with-thumbnails"> <div id="rpwwt-recent-posts-widget-with-thumbnails-2" class="rpwwt-widget"> <h2 class="widget-title">Рекомендуем почитать</h2> <ul> <li><a href="https://proeto.club/%d0%b1%d0%b5%d0%b7-%d1%80%d1%83%d0%b1%d1%80%d0%b8%d0%ba%d0%b8/bezygolnaya-mezoterapiya-kak-sovremennaya-alternativa-klassicheskoj-inekcionnoj-metodike.html" target="_blank"><span class="rpwwt-post-title">Магнитно-резонансная томография: как проходит МРТ и когда она действительно нужна</span></a></li> <li><a href="https://proeto.club/raznoe/predstavlena-elektronnaya-kniga-maksimalno-poxozhaya-na-nastoyashhuyu-u-neyo-skladyvayushhijsya-ekran.html" target="_blank"><span class="rpwwt-post-title">Профессиональная гигиена полости рта: зачем нужна чистка у стоматолога и как она помогает сохранить зубы</span></a></li> <li><a href="https://proeto.club/prostata/fizioterapiya-pri-prostatite-elektroforez-i-fizioprocedury-v-domashnix-usloviyax.html" target="_blank"><span class="rpwwt-post-title">Велосипеды круизеры премиум-класса: комфортная езда без спешки и компромиссов</span></a></li> <li><a href="https://proeto.club/raznoe/kak-gormony-upravlyayut-nami-chto-znat-muzhchinam-i-zhenschinam-dlya-zdorovya-posle-30.html" target="_blank"><span class="rpwwt-post-title">Удаление зуба в Москве: когда без операции уже не обойтись</span></a></li> <li><a href="https://proeto.club/uvelichenie-razmera/narodnye-sredstva/kak-prigotovit-nastoj-iz-kornya-aira-prostoj-recept-dlya-zdorovya.html" target="_blank"><span class="rpwwt-post-title">Доставка шашлыка в Тюмени: как выбрать мясо на углях без лишних сомнений</span></a></li> </ul></div></aside></div></div></div></div><div class="site-footer grid-container grid-parent"> <div id="footer-widgets" class="site footer-widgets"> <div class="footer-widgets-container grid-container grid-parent"> <div class="inside-footer-widgets"> <div class="footer-widget-1 grid-parent grid-50 tablet-grid-50 mobile-grid-100"> <aside id="text-4" class="widget inner-padding widget_text"> <div class="textwidget"><div class="footl"> <div class="footlogo"> <a href="/"><img src="data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%200%200'%3E%3C/svg%3E" data-lazy-src="/wp-content/uploads/2021/08/logo-e1629893836194.png"><noscript><img src="/wp-content/uploads/2021/08/logo-e1629893836194.png"></noscript></a></div><div class="footdisc" style="margin-bottom: 10px; margin-top: 10px;"> <p><strong>Внимание!</strong> Информация, размещенная на сайте, носит исключительно ознакомительный характер и не является руководством к применению. <br> Консультация специалиста обязательна</p></div><div class="linksf1"> <div class="sitemap"><i class="fa fa-home"></i> <a href="/karta-sajta">Карта сайта</a></div><div class="rekl"><i class="fa fa-rub"></i> <a href="/reklamodatelyam">Рекламодателям</a></div></div></div></div></aside></div><div class="footer-widget-2 grid-parent grid-50 tablet-grid-50 mobile-grid-100"> <aside id="custom_html-3" class="widget_text widget inner-padding widget_custom_html"><div class="textwidget custom-html-widget"><p><strong>Все разделы:</strong></p> <ul> <li><a href="/uvelichenie-razmera">Увеличение размера</a></li> <li><a href="/tag/potenciya">Потенция</a></li> <li><a href="/libido">Либидо</a></li> <li><a href="/prostata">Простата</a></li> <li><a href="/pro-eto">Про это</a></li> </ul></div></aside></div></div></div></div><footer class="site-info" itemtype="https://schema.org/WPFooter" itemscope> <div class="inside-site-info grid-container grid-parent"> <div class="copyright-bar"> 2026 © Проэто.клуб - Все о мужском половом здоровье и сексе.<br> Копирование материалов без активной обратной ссылки запрещено.</div></div></footer></div><a title="Прокрутка вверх" rel="nofollow" href="#" class="generate-back-to-top" style="opacity:0;visibility:hidden;" data-scroll-speed="400" data-start-scroll="300"> <span class="screen-reader-text">Прокрутка вверх</span> </a> <nav id="generate-slideout-menu" class="main-navigation slideout-navigation" itemtype="https://schema.org/SiteNavigationElement" itemscope style="display: none;"> <div class="inside-navigation grid-container grid-parent"> <div class="main-nav"><ul id="menu-glavnoe-menyu-2" class="slideout-menu"><li class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-14442"><a href="https://proeto.club/uvelichenie-razmera"><img width="24" height="24" src="data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%3E%3C/svg%3E" class="_mi _before _image" alt="" aria-hidden="true" decoding="async" data-lazy-src="https://proeto.club/wp-content/uploads/icon.png"/><noscript><img width="24" height="24" src="https://proeto.club/wp-content/uploads/icon.png" class="_mi _before _image" alt="" aria-hidden="true" decoding="async"/></noscript><span>Увеличение размера</span></a></li> <li class="menu-item menu-item-type-custom menu-item-object-custom menu-item-has-children menu-item-3366"><a href="#"><img width="24" height="24" src="data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%3E%3C/svg%3E" class="_mi _before _image" alt="" aria-hidden="true" decoding="async" data-lazy-src="https://proeto.club/wp-content/uploads/icon2.png"/><noscript><img width="24" height="24" src="https://proeto.club/wp-content/uploads/icon2.png" class="_mi _before _image" alt="" aria-hidden="true" decoding="async"/></noscript><span>Потенция</span><span role="presentation" class="dropdown-menu-toggle"></span></a> <ul class="sub-menu"> <li class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-3365"><a href="https://proeto.club/potencia/eto-nuzhno-znat">Это нужно знать</a></li> <li class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-3363"><a href="https://proeto.club/potencia/lechenie-i-narodnye-sredstva">Лечение и народные средства</a></li> <li class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-3364"><a href="https://proeto.club/potencia/preparaty">Препараты</a></li> </ul> </li> <li class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-3361"><a href="https://proeto.club/libido"><img width="24" height="24" src="data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%3E%3C/svg%3E" class="_mi _before _image" alt="" aria-hidden="true" decoding="async" data-lazy-src="https://proeto.club/wp-content/uploads/icon3.png"/><noscript><img width="24" height="24" src="https://proeto.club/wp-content/uploads/icon3.png" class="_mi _before _image" alt="" aria-hidden="true" decoding="async"/></noscript><span>Либидо</span></a></li> <li class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-5826"><a href="https://proeto.club/prostata"><img width="24" height="24" src="data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%3E%3C/svg%3E" class="_mi _before _image" alt="" aria-hidden="true" decoding="async" data-lazy-src="https://proeto.club/wp-content/uploads/9.png"/><noscript><img width="24" height="24" src="https://proeto.club/wp-content/uploads/9.png" class="_mi _before _image" alt="" aria-hidden="true" decoding="async"/></noscript><span>Простата</span></a></li> <li class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-7357"><a href="https://proeto.club/pro-eto"><img width="24" height="24" src="data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%3E%3C/svg%3E" class="_mi _before _image" alt="" aria-hidden="true" decoding="async" data-lazy-src="https://proeto.club/wp-content/uploads/sexi.png"/><noscript><img width="24" height="24" src="https://proeto.club/wp-content/uploads/sexi.png" class="_mi _before _image" alt="" aria-hidden="true" decoding="async"/></noscript><span>Про это</span></a></li> <li class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-14989"><a href="https://proeto.club/raznoe">Разное</a></li> </ul></div></div></nav> <div class="slideout-overlay"> <button class="slideout-exit "> <span class="screen-reader-text">Закрыть</span> </button></div><script>(function (d, w, c){ (w[c]=w[c]||[]).push(function(){ try { w.yaCounter42122929=new Ya.Metrika({ id:42122929, clickmap:true, trackLinks:true, accurateTrackBounce:true, webvisor:true }); } catch(e){ }}); var n=d.getElementsByTagName("script")[0], s=d.createElement("script"), f=function (){ n.parentNode.insertBefore(s, n); }; s.type="text/javascript"; s.async=true; s.src="https://mc.yandex.ru/metrika/watch.js"; if(w.opera=="[object Opera]"){ d.addEventListener("DOMContentLoaded", f, false); }else{ f(); }})(document, window, "yandex_metrika_callbacks");</script> <noscript><div><img src="https://mc.yandex.ru/watch/42122929" style="position:absolute; left:-9999px;" alt=""/></div></noscript> <noscript><div> <img src="https://top-fwz1.mail.ru/counter?id=3145960;js=na" style="border:0;position:absolute;left:-9999px;" alt="Top.Mail.Ru"/></div></noscript> <link rel='stylesheet' id='generate-fonts-css' href='//fonts.googleapis.com/css?family=Open+Sans:300,300italic,regular,italic,600,600italic,700,700italic,800,800italic' type='text/css' media='all'/> <script id="aiassist-cron-js-extra">var aiassist={"ajaxurl":"https:\/\/proeto.club\/wp-admin\/admin-ajax.php","nonce":"387bbd046d"};</script> <script id="generate-offside-js-extra">var offSide={"side":"left"};</script> <script id="expert-review-scripts-js-extra">var expert_review_ajax={"url":"https:\/\/proeto.club\/wp-admin\/admin-ajax.php","nonce":"0b6cc47664","comment_to_scroll_selector":"","ask_question_link_new_tab":"0","i18n":{"question_popup_name":"\u0418\u043c\u044f","question_popup_email":"Email","question_popup_phone":"\u0422\u0435\u043b\u0435\u0444\u043e\u043d","question_popup_question":"\u0412\u043e\u043f\u0440\u043e\u0441","question_popup_submit":"\u041e\u0442\u043f\u0440\u0430\u0432\u0438\u0442\u044c","question_popup_cancel":"\u041e\u0442\u043c\u0435\u043d\u0430"}};</script> <script id="toc-front-js-extra">var tocplus={"smooth_scroll":"1"};</script> <script id="generate-navigation-search-js-extra">var generatepressNavSearch={"open":"Open Search Bar","close":"Close Search Bar"};</script> <script id="q2w3_fixed_widget-js-extra">var q2w3_sidebar_options=[{"use_sticky_position":false,"margin_top":40,"margin_bottom":350,"stop_elements_selectors":"","screen_max_width":768,"screen_max_height":0,"widgets":[]}];</script> <script>var block_classes=["content_rb", "cnt32_rl_bg_str", "rl_cnt_bg"]; function addAttrItem(className){ if(document.querySelector("." + className)&&!block_classes.includes(className)){ block_classes.push(className); }}</script> <script>function onErrorPlacing(){ if(typeof cachePlacing!=='undefined'&&typeof cachePlacing==='function'&&typeof window.jsInputerLaunch!=='undefined'&&[15, 10].includes(window.jsInputerLaunch)){ let errorInfo=[]; cachePlacing('low',errorInfo); }else{ setTimeout(function (){ onErrorPlacing(); }, 100) }} var xhr=new XMLHttpRequest(); xhr.open('GET',"//newrotatormarch23.bid/ke3v.json",true); xhr.setRequestHeader("Content-type", "application/x-www-form-urlencoded"); xhr.onreadystatechange=function(){ if(xhr.status!=200){ if(xhr.statusText!='abort'){ onErrorPlacing(); }} }; xhr.send();</script> <script src='//proeto.club/wp-content/cache/wpfc-minified/2zvrhcv2/h5osm.js' type="text/javascript"></script> <script>console.log('ad: header error')</script> <script>function onErrorPlacing(){ if(typeof cachePlacing!=='undefined'&&typeof cachePlacing==='function'&&typeof window.jsInputerLaunch!=='undefined'&&[15, 10].includes(window.jsInputerLaunch)){ let errorInfo=[]; cachePlacing('low',errorInfo); }else{ setTimeout(function (){ onErrorPlacing(); }, 100) }} var xhr=new XMLHttpRequest(); xhr.open('GET',"//newrotatormarch23.bid/ke3v.min.js",true); xhr.setRequestHeader("Content-type", "application/x-www-form-urlencoded"); xhr.onreadystatechange=function(){ if(xhr.status!=200){ if(xhr.statusText!='abort'){ onErrorPlacing(); }} }; xhr.send();</script> <script>rbConfig={start:performance.now(),rbDomain:'newrotatormarch23.bid',rotator:'ke3v'};token=localStorage.getItem('ke3v')||(1e6+'').replace(/[018]/g, c=> (c ^ crypto.getRandomValues(new Uint8Array(1))[0] & 15 >> c / 4).toString(16));rsdfhse=document.createElement('script'); rsdfhse.setAttribute('src','//newrotatormarch23.bid/ke3v.min.js?'+token);rsdfhse.setAttribute('async','async');rsdfhse.setAttribute('type','text/javascript');document.head.appendChild(rsdfhse); localStorage.setItem('ke3v', token);</script> <script type="text/javascript" id="wpp-js" src="https://proeto.club/wp-content/plugins/wordpress-popular-posts/assets/js/wpp.min.js?ver=7.1.0" data-sampling="0" data-sampling-rate="100" data-api-url="https://proeto.club/wp-json/wordpress-popular-posts" data-post-id="40269" data-token="3e89fd1054" data-lang="0" data-debug="0"></script> <script type="application/ld+json" class="yoast-schema-graph">{"@context":"https://schema.org","@graph":[{"@type":"Article","@id":"https://proeto.club/raznoe/316959354.html#article","isPartOf":{"@id":"https://proeto.club/raznoe/316959354.html"},"author":{"name":"Сергей Васильевич","@id":"https://proeto.club/#/schema/person/8d9751f1898336b941c1c73b593f2b2c"},"headline":"Как правильно выбрать зубную щетку для чувствительных зубов: 7 секретов идеальной чистки","datePublished":"2026-02-28T14:32:16+00:00","dateModified":"2026-02-28T14:32:16+00:00","mainEntityOfPage":{"@id":"https://proeto.club/raznoe/316959354.html"},"wordCount":20,"publisher":{"@id":"https://proeto.club/#organization"},"articleSection":["Свежее"],"inLanguage":"ru-RU"},{"@type":"WebPage","@id":"https://proeto.club/raznoe/316959354.html","url":"https://proeto.club/raznoe/316959354.html","name":"Как правильно выбрать зубную щетку для чувствительных зубов: 7 секретов идеальной чистки","isPartOf":{"@id":"https://proeto.club/#website"},"datePublished":"2026-02-28T14:32:16+00:00","dateModified":"2026-02-28T14:32:16+00:00","breadcrumb":{"@id":"https://proeto.club/raznoe/316959354.html#breadcrumb"},"inLanguage":"ru-RU","potentialAction":[{"@type":"ReadAction","target":["https://proeto.club/raznoe/316959354.html"]}]},{"@type":"BreadcrumbList","@id":"https://proeto.club/raznoe/316959354.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Главная","item":"https://proeto.club/"},{"@type":"ListItem","position":2,"name":"Разное","item":"https://proeto.club/raznoe"},{"@type":"ListItem","position":3,"name":"Как правильно выбрать зубную щетку для чувствительных зубов: 7 секретов идеальной чистки"}]},{"@type":"WebSite","@id":"https://proeto.club/#website","url":"https://proeto.club/","name":"Проэто.клуб","description":"Мужской портал о половом здоровье и сексе","publisher":{"@id":"https://proeto.club/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://proeto.club/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ru-RU"},{"@type":"Organization","@id":"https://proeto.club/#organization","name":"Проэто.клуб","url":"https://proeto.club/","logo":{"@type":"ImageObject","inLanguage":"ru-RU","@id":"https://proeto.club/#/schema/logo/image/","url":"https://proeto.club/wp-content/uploads/2021/08/logo-e1629893836194.png","contentUrl":"https://proeto.club/wp-content/uploads/2021/08/logo-e1629893836194.png","width":350,"height":105,"caption":"Проэто.клуб"},"image":{"@id":"https://proeto.club/#/schema/logo/image/"}},{"@type":"Person","@id":"https://proeto.club/#/schema/person/8d9751f1898336b941c1c73b593f2b2c","name":"Сергей Васильевич","image":{"@type":"ImageObject","inLanguage":"ru-RU","@id":"https://proeto.club/#/schema/person/image/","url":"https://secure.gravatar.com/avatar/c2d55eec2478f212df2c233586023bbc?s=96&d=mm&r=g","contentUrl":"https://secure.gravatar.com/avatar/c2d55eec2478f212df2c233586023bbc?s=96&d=mm&r=g","caption":"Сергей Васильевич"}}]}</script> <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js" id="jquery-js"></script> <script src='//proeto.club/wp-content/cache/wpfc-minified/3t1296s/h5osm.js' type="text/javascript"></script> <script>window.yaContextCb=window.yaContextCb||[]</script> <script src="https://yandex.ru/ads/system/context.js" async></script> <script>rbConfig={start:performance.now(),rbDomain:"rotarb.bid",rotator:"ke3v"};</script> <script async="async" type="text/javascript" src="//rotarb.bid/ke3v.min.js"></script> <script>var cou1=0; if(typeof blockSettingArray==="undefined"){ var blockSettingArray=[]; }else{ if(Array.isArray(blockSettingArray)){ cou1=blockSettingArray.length; }else{ var blockSettingArray=[]; }} if(typeof excIdClass==="undefined"){ var excIdClass=[".elementor .su-youtube .rll-youtube-player .entry-content b2 .entry-content top-banner .entry-content centerb .entry-content end .b2 .centerb .inj3",".percentPointerClass",".content_rb",".cnt32_rl_bg_str",".rl_cnt_bg",".addedInserting","#toc_container","table","blockquote"]; } if(typeof blockDuplicate==="undefined"){ var blockDuplicate="no"; } if(typeof obligatoryMargin==="undefined"){ var obligatoryMargin=0; } if(typeof tagsListForTextLength==="undefined"){ var tagsListForTextLength=["P","H1","H2","H3","H4","H5","H6","DIV","BLOCKQUOTE","INDEX","ARTICLE","SECTION"]; } blockSettingArray[cou1]=[]; blockSettingArray[cou1]["minSymbols"]=0; blockSettingArray[cou1]["maxSymbols"]=0; blockSettingArray[cou1]["minHeaders"]=0; blockSettingArray[cou1]["maxHeaders"]=0; blockSettingArray[cou1]["showNoElement"]=0; blockSettingArray[cou1]["id"]='609'; blockSettingArray[cou1]["sc"]='0'; blockSettingArray[cou1]["text"]='<div class=\"rl_cnt_bg\" data-id=\"353661\"></div>'; blockSettingArray[cou1]["setting_type"]=3; blockSettingArray[cou1]["rb_under"]=975438; blockSettingArray[cou1]["elementCss"]="default"; blockSettingArray[cou1]["element"]="p"; blockSettingArray[cou1]["directElement"]=".featured-image"; blockSettingArray[cou1]["elementPosition"]=1; blockSettingArray[cou1]["elementPlace"]=1; cou1++; blockSettingArray[cou1]=[]; blockSettingArray[cou1]["minSymbols"]=0; blockSettingArray[cou1]["maxSymbols"]=0; blockSettingArray[cou1]["minHeaders"]=0; blockSettingArray[cou1]["maxHeaders"]=0; blockSettingArray[cou1]["showNoElement"]=0; blockSettingArray[cou1]["id"]='610'; blockSettingArray[cou1]["sc"]='0'; blockSettingArray[cou1]["text"]='<div class=\"rl_cnt_bg\" data-id=\"316181\"></div>'; blockSettingArray[cou1]["setting_type"]=3; blockSettingArray[cou1]["rb_under"]=557135; blockSettingArray[cou1]["elementCss"]="default"; blockSettingArray[cou1]["element"]="p"; blockSettingArray[cou1]["directElement"]=".yarpp-related"; blockSettingArray[cou1]["elementPosition"]=0; blockSettingArray[cou1]["elementPlace"]=1; cou1++; blockSettingArray[cou1]=[]; blockSettingArray[cou1]["minSymbols"]=0; blockSettingArray[cou1]["maxSymbols"]=0; blockSettingArray[cou1]["minHeaders"]=0; blockSettingArray[cou1]["maxHeaders"]=0; blockSettingArray[cou1]["showNoElement"]=0; blockSettingArray[cou1]["id"]='611'; blockSettingArray[cou1]["sc"]='0'; blockSettingArray[cou1]["text"]='<div class=\"rl_cnt_bg\" data-id=\"315802\"></div>'; blockSettingArray[cou1]["setting_type"]=1; blockSettingArray[cou1]["rb_under"]=566405; blockSettingArray[cou1]["elementCss"]="default"; blockSettingArray[cou1]["element"]="img"; blockSettingArray[cou1]["elementPosition"]=1; blockSettingArray[cou1]["elementPlace"]=5; cou1++; blockSettingArray[cou1]=[]; blockSettingArray[cou1]["minSymbols"]=0; blockSettingArray[cou1]["maxSymbols"]=0; blockSettingArray[cou1]["minHeaders"]=0; blockSettingArray[cou1]["maxHeaders"]=0; blockSettingArray[cou1]["showNoElement"]=0; blockSettingArray[cou1]["id"]='612'; blockSettingArray[cou1]["sc"]='0'; blockSettingArray[cou1]["text"]='<div class=\"rl_cnt_bg\" data-id=\"315801\"></div>'; blockSettingArray[cou1]["setting_type"]=1; blockSettingArray[cou1]["rb_under"]=763985; blockSettingArray[cou1]["elementCss"]="default"; blockSettingArray[cou1]["element"]="img"; blockSettingArray[cou1]["elementPosition"]=1; blockSettingArray[cou1]["elementPlace"]=4; cou1++; blockSettingArray[cou1]=[]; blockSettingArray[cou1]["minSymbols"]=0; blockSettingArray[cou1]["maxSymbols"]=0; blockSettingArray[cou1]["minHeaders"]=0; blockSettingArray[cou1]["maxHeaders"]=0; blockSettingArray[cou1]["showNoElement"]=0; blockSettingArray[cou1]["id"]='613'; blockSettingArray[cou1]["sc"]='0'; blockSettingArray[cou1]["text"]='<div class=\"rl_cnt_bg\" data-id=\"315800\"></div>'; blockSettingArray[cou1]["setting_type"]=1; blockSettingArray[cou1]["rb_under"]=642292; blockSettingArray[cou1]["elementCss"]="default"; blockSettingArray[cou1]["element"]="img"; blockSettingArray[cou1]["elementPosition"]=1; blockSettingArray[cou1]["elementPlace"]=3; cou1++; blockSettingArray[cou1]=[]; blockSettingArray[cou1]["minSymbols"]=0; blockSettingArray[cou1]["maxSymbols"]=0; blockSettingArray[cou1]["minHeaders"]=0; blockSettingArray[cou1]["maxHeaders"]=0; blockSettingArray[cou1]["showNoElement"]=0; blockSettingArray[cou1]["id"]='614'; blockSettingArray[cou1]["sc"]='0'; blockSettingArray[cou1]["text"]='<div class=\"rl_cnt_bg\" data-id=\"315799\"></div>'; blockSettingArray[cou1]["setting_type"]=1; blockSettingArray[cou1]["rb_under"]=228111; blockSettingArray[cou1]["elementCss"]="default"; blockSettingArray[cou1]["element"]="img"; blockSettingArray[cou1]["elementPosition"]=1; blockSettingArray[cou1]["elementPlace"]=2; cou1++; blockSettingArray[cou1]=[]; blockSettingArray[cou1]["minSymbols"]=0; blockSettingArray[cou1]["maxSymbols"]=0; blockSettingArray[cou1]["minHeaders"]=0; blockSettingArray[cou1]["maxHeaders"]=0; blockSettingArray[cou1]["showNoElement"]=0; blockSettingArray[cou1]["id"]='615'; blockSettingArray[cou1]["sc"]='0'; blockSettingArray[cou1]["text"]='<div class=\"rl_cnt_bg\" data-id=\"315803\"></div>'; blockSettingArray[cou1]["setting_type"]=4; blockSettingArray[cou1]["rb_under"]=957428; blockSettingArray[cou1]["elementCss"]="default"; cou1++; blockSettingArray[cou1]=[]; blockSettingArray[cou1]["minSymbols"]=0; blockSettingArray[cou1]["maxSymbols"]=0; blockSettingArray[cou1]["minHeaders"]=0; blockSettingArray[cou1]["maxHeaders"]=0; blockSettingArray[cou1]["showNoElement"]=0; blockSettingArray[cou1]["id"]='616'; blockSettingArray[cou1]["sc"]='0'; blockSettingArray[cou1]["text"]='<div class=\"rl_cnt_bg\" data-id=\"315805\"></div>'; blockSettingArray[cou1]["setting_type"]=4; blockSettingArray[cou1]["rb_under"]=841087; blockSettingArray[cou1]["elementCss"]="default"; cou1++; blockSettingArray[cou1]=[]; blockSettingArray[cou1]["minSymbols"]=0; blockSettingArray[cou1]["maxSymbols"]=0; blockSettingArray[cou1]["minHeaders"]=0; blockSettingArray[cou1]["maxHeaders"]=0; blockSettingArray[cou1]["showNoElement"]=0; blockSettingArray[cou1]["id"]='617'; blockSettingArray[cou1]["sc"]='0'; blockSettingArray[cou1]["text"]='<div class=\"rl_cnt_bg\" data-id=\"315804\"></div>'; blockSettingArray[cou1]["setting_type"]=4; blockSettingArray[cou1]["rb_under"]=876550; blockSettingArray[cou1]["elementCss"]="default"; cou1++; console.log("bsa-l: "+blockSettingArray.length);</script> <script>if(typeof window.jsInputerLaunch==='undefined'){ window.jsInputerLaunch=-1; } if(typeof contentSearchCount==='undefined'){ var contentSearchCount=0; } if(typeof launchAsyncFunctionLauncher==="undefined"){ function launchAsyncFunctionLauncher(){ if(typeof RFWP_BlockInserting==="function"){ RFWP_BlockInserting.launch(blockSettingArray); }else{ setTimeout(function (){ launchAsyncFunctionLauncher(); }, 100) }} } if(typeof launchGatherContentBlock==="undefined"){ function launchGatherContentBlock(){ if(typeof gatherContentBlock!=="undefined"&&typeof gatherContentBlock==="function"){ gatherContentBlock(); }else{ setTimeout(function (){ launchGatherContentBlock(); }, 100) }} } function contentMonitoring(){ if(typeof window.jsInputerLaunch==='undefined'||(typeof window.jsInputerLaunch!=='undefined'&&window.jsInputerLaunch==-1)){ let possibleClasses=['.taxonomy-description','.entry-content','.post-wrap','.post-body','#blog-entries','.content','.archive-posts__item-text','.single-company_wrapper','.posts-container','.content-area','.post-listing','.td-category-description','.jeg_posts_wrap']; let deniedClasses=['.percentPointerClass','.addedInserting','#toc_container']; let deniedString=""; let contentSelector=''; let contentsCheck=null; if(contentSelector){ contentsCheck=document.querySelectorAll(contentSelector); } if(block_classes&&block_classes.length > 0){ for (var i=0; i < block_classes.length; i++){ if(block_classes[i]){ deniedClasses.push('.' + block_classes[i]); }} } if(deniedClasses&&deniedClasses.length > 0){ for (let i=0; i < deniedClasses.length; i++){ deniedString +=":not("+deniedClasses[i]+")"; }} if(!contentsCheck||!contentsCheck.length){ for (let i=0; i < possibleClasses.length; i++){ contentsCheck=document.querySelectorAll(possibleClasses[i]+deniedString); if(contentsCheck.length > 0){ break; }} } if(!contentsCheck||!contentsCheck.length){ contentsCheck=document.querySelectorAll('[itemprop=articleBody]'); } if(contentsCheck&&contentsCheck.length > 0){ contentsCheck.forEach((contentCheck)=> { console.log('content is here'); let contentPointerCheck=contentCheck.querySelector('.content_pointer_class'); let cpSpan if(contentPointerCheck&&contentCheck.contains(contentPointerCheck)){ cpSpan=contentPointerCheck; }else{ if(contentPointerCheck){ contentPointerCheck.parentNode.removeChild(contentPointerCheck); } cpSpan=document.createElement('SPAN'); } cpSpan.classList.add('content_pointer_class'); cpSpan.classList.add('no-content'); cpSpan.setAttribute('data-content-length', '0'); cpSpan.setAttribute('data-accepted-blocks', ''); cpSpan.setAttribute('data-rejected-blocks', ''); window.jsInputerLaunch=10; if(!cpSpan.parentNode) contentCheck.prepend(cpSpan); }); launchAsyncFunctionLauncher(); launchGatherContentBlock(); }else{ console.log('contentMonitoring try'); if(document.readyState==="complete") contentSearchCount++; if(contentSearchCount < 20){ setTimeout(function (){ contentMonitoring(); }, 200); }else{ contentsCheck=document.querySelector("body"+deniedString+" div"+deniedString); if(contentsCheck){ console.log('content is here hard'); let cpSpan=document.createElement('SPAN'); cpSpan.classList.add('content_pointer_class'); cpSpan.classList.add('no-content'); cpSpan.classList.add('hard-content'); cpSpan.setAttribute('data-content-length', '0'); cpSpan.setAttribute('data-accepted-blocks', '609,610,611,612,613,614,615,616,617'); cpSpan.setAttribute('data-rejected-blocks', '0'); window.jsInputerLaunch=10; contentsCheck.prepend(cpSpan); launchAsyncFunctionLauncher(); }} }}else{ console.log('jsInputerLaunch is here'); launchGatherContentBlock(); }} contentMonitoring();</script> <script>var _acic={dataProvider:10};(function(){var e=document.createElement("script");e.type="text/javascript";e.async=true;e.src="https://www.acint.net/aci.js";var t=document.getElementsByTagName("script")[0];t.parentNode.insertBefore(e,t)})()</script> <script>window.jsInputerLaunch=15; if(typeof launchAsyncFunctionLauncher==="undefined"){ function launchAsyncFunctionLauncher(){ if(typeof RFWP_BlockInserting==="function"){ RFWP_BlockInserting.launch(blockSettingArray); }else{ setTimeout(function (){ launchAsyncFunctionLauncher(); }, 100) }} } launchAsyncFunctionLauncher();</script> <script>window.addEventListener("load", ()=> { const render=(imageId)=> { window.yaContextCb.push(()=> { Ya.Context.AdvManager.render({ "renderTo": imageId, "blockId": "R-A-8275737-1", "type": "inImage" }) }) } const renderInImage=(images)=> { if(!images.length){ return } const image=images.shift() image.id=`yandex_rtb_R-A-8275737-1-${Math.random().toString(16).slice(2)}` if(image.tagName==="IMG"&&!image.complete){ image.addEventListener("load", ()=> { render(image.id) }, { once: true }) }else{ render(image.id) } renderInImage(images) } renderInImage(Array.from(document.querySelectorAll("img"))) }, { once: true })</script> <script>var insertingsArray=[]; insertingsArray[0]=[]; insertingsArray[0]['position_element']="</body>" insertingsArray[0]['position']="0" insertingsArray[0]['postId']="48959" var jsInsertingsLaunch=25; function launchInsertingsFunctionLaunch(){ if(typeof insertingsFunctionLaunch!=='undefined'&&typeof insertingsFunctionLaunch==='function'){ insertingsFunctionLaunch(); }else{ setTimeout(function (){ launchInsertingsFunctionLaunch(); }, 100) }} launchInsertingsFunctionLaunch();</script> <script>var cachedBlocksArray=[]; cachedBlocksArray[315802]="<div id=\"yandex_rtb_R-A-224930-22\"><\/div><scr"+"ipt>window.yaContextCb.push(()=>{ Ya.Context.AdvManager.render({ renderTo: 'yandex_rtb_R-A-224930-22', blockId: 'R-A-224930-22' })})<\/scr"+"ipt>"; cachedBlocksArray[315801]="<div id=\"yandex_rtb_R-A-224930-21\"><\/div><scr"+"ipt>window.yaContextCb.push(()=>{ Ya.Context.AdvManager.render({ renderTo: 'yandex_rtb_R-A-224930-21', blockId: 'R-A-224930-21' })})<\/scr"+"ipt>"; cachedBlocksArray[315800]="<div id=\"yandex_rtb_R-A-224930-18\"><\/div><scr"+"ipt>window.yaContextCb.push(()=>{ Ya.Context.AdvManager.render({ renderTo: 'yandex_rtb_R-A-224930-18', blockId: 'R-A-224930-18' })})<\/scr"+"ipt>"; cachedBlocksArray[315799]="<div id=\"yandex_rtb_R-A-224930-12\"><\/div><scr"+"ipt>window.yaContextCb.push(()=>{ Ya.Context.AdvManager.render({ renderTo: 'yandex_rtb_R-A-224930-12', blockId: 'R-A-224930-12' })})<\/scr"+"ipt>"; cachedBlocksArray[353661]="<div id=\"yandex_rtb_R-A-224930-31\"><\/div><scr"+"ipt>window.yaContextCb.push(()=>{Ya.Context.AdvManager.render({\"blockId\": \"R-A-224930-31\",\"renderTo\": \"yandex_rtb_R-A-224930-31\"})})<\/scr"+"ipt>"; cachedBlocksArray[315805]="<scr"+"ipt>window.yaContextCb.push(()=>{Ya.Context.AdvManager.render({\"blockId\": \"R-A-224930-32\",\"type\": \"fullscreen\",\"platform\": \"desktop\"})})<\/scr"+"ipt>"; cachedBlocksArray[315804]="<scr"+"ipt>window.yaContextCb.push(()=>{Ya.Context.AdvManager.render({\"blockId\": \"R-A-224930-29\",\"type\": \"floorAd\",\"platform\": \"desktop\"})})<\/scr"+"ipt>"; cachedBlocksArray[316181]="<div id=\"yandex_rtb_R-A-224930-25\"><\/div><scr"+"ipt>window.yaContextCb.push(()=>{ Ya.Context.AdvManager.render({ renderTo: 'yandex_rtb_R-A-224930-25', blockId: 'R-A-224930-25' })})<\/scr"+"ipt>"; cachedBlocksArray[315803]="<div id=\"yandex_rtb_R-A-224930-16\"><\/div><scr"+"ipt>window.yaContextCb.push(()=>{ Ya.Context.AdvManager.render({ renderTo: 'yandex_rtb_R-A-224930-16', blockId: 'R-A-224930-16' })})<\/scr"+"ipt>";</script> <script>var pseudo_links=document.querySelectorAll(".pseudo-clearfy-link");for (var i=0;i<pseudo_links.length;i++){ pseudo_links[i].addEventListener("click", function(e){ window.open(e.target.getAttribute("data-uri")); });}</script> <script>var _tmr=window._tmr||(window._tmr=[]); _tmr.push({id: "3145960", type: "pageView", start: (new Date()).getTime()}); (function (d, w, id){ if(d.getElementById(id)) return; var ts=d.createElement("script"); ts.type="text/javascript"; ts.async=true; ts.id=id; ts.src="https://top-fwz1.mail.ru/js/code.js"; var f=function (){var s=d.getElementsByTagName("script")[0]; s.parentNode.insertBefore(ts, s);}; if(w.opera=="[object Opera]"){ d.addEventListener("DOMContentLoaded", f, false); }else{ f(); }})(document, window, "topmailru-code");</script> <script>if(typeof rb_ajaxurl==='undefined'){var rb_ajaxurl='https://proeto.club/wp-admin/admin-ajax.php';} if(typeof rb_csrf==='undefined'){var rb_csrf='67b4dd8a12';} if(typeof gather_content==='undefined'){var gather_content=true;} window.RFWP_BlockInserting=class { _blockSettingArray; static endedSc=false; static endedCc=false; constructor(blockSettingArray){ this._blockSettingArray=blockSettingArray; } static launch(blockSettingArray){ var $this=this; if(window.jsInputerLaunch!==undefined&&[15, 10].includes(window.jsInputerLaunch)){ var item=new RFWP_BlockInserting(blockSettingArray); item.insert(); if(!this.endedSc){ item.shortcodesInsert(); } if(!this.endedCc){ } }else{ setTimeout(function (){ $this.launch(blockSettingArray); }, 50); }} insert(){ let repeatInsert=false; let index, parent_with_content, usedBlockSettingArrayIds, lordOfElements, contentLength, rejectedBlocks, containerFor6th, containerFor7th, countHeaders, blockSetting, currentElement, currentElementArray, elPlace; document.querySelectorAll(".content_pointer_class").forEach((content_pointer)=> { parent_with_content=content_pointer.parentElement; usedBlockSettingArrayIds=(content_pointer.getAttribute('data-block-ids')||"").split(','); lordOfElements=parent_with_content; parent_with_content=parent_with_content.parentElement; contentLength=content_pointer.getAttribute('data-content-length'); rejectedBlocks=content_pointer.getAttribute('data-rejected-blocks'); if(rejectedBlocks&&rejectedBlocks.length > 0){ rejectedBlocks=rejectedBlocks.split(','); } containerFor6th=[]; containerFor7th=[]; countHeaders=parent_with_content.querySelectorAll('h1, h2, h3, h4, h5, h6').length; while((index=usedBlockSettingArrayIds.findIndex((el)=> el==="")) >=0){ usedBlockSettingArrayIds.splice(index, 1); } if(contentLength < 1){ contentLength=parent_with_content.innerText.length } for (var i=0; i < this._blockSettingArray.length; i++){ blockSetting=this._blockSettingArray[i]; currentElement=null; currentElementArray=[]; try { const binderName=blockSetting["rb_under"]; if(!blockSetting["text"] || (blockSetting["text"]&&blockSetting["text"].length < 1) ){ this._blockSettingArray.splice(i--, 1); continue; } if(rejectedBlocks&&rejectedBlocks.includes(blockSetting["id"]) || (blockSetting["maxHeaders"] > 0&&blockSetting["maxHeaders"] < parseInt(countHeaders)) || (blockSetting["maxSymbols"] > 0&&blockSetting["maxSymbols"] < parseInt(contentLength)) || (content_pointer.classList.contains("hard-content")&&blockSetting["setting_type"]!==3) ){ continue; } const elementToAdd=this.createBlockElement(blockSetting), block_number=elementToAdd.children[0].attributes['data-id'].value; if(usedBlockSettingArrayIds.length > 0&&usedBlockSettingArrayIds.includes(block_number)){ continue; } if((blockSetting["minHeaders"] > 0)&&(blockSetting["minHeaders"] > countHeaders)){continue;} if(blockSetting["minSymbols"] > contentLength){continue;} if(blockSetting["setting_type"]==1){ currentElementArray=this.currentElementsGather(blockSetting["element"].toLowerCase(), parent_with_content); if(!!currentElementArray&¤tElementArray.length > 0){ if(blockSetting["elementPlace"] < 0){ elPlace=currentElementArray.length + blockSetting["elementPlace"]; if(elPlace >=0&&elPlace < currentElementArray.length){ currentElement=this.currentElementReceiver(true, content_pointer, blockSetting, currentElementArray, elPlace); }}else{ elPlace=blockSetting["elementPlace"] - 1; if(elPlace < currentElementArray.length){ currentElement=this.currentElementReceiver(false, content_pointer, blockSetting, currentElementArray, elPlace); }} } if(!currentElement&&blockSetting["showNoElement"]){ currentElement=currentElementArray[currentElementArray.length - 1]; } if(!!currentElement){ this.addBlockAd(blockSetting, currentElement, elementToAdd); usedBlockSettingArrayIds.push(block_number); }else{ repeatInsert=true; }} else if(blockSetting["setting_type"]==2){ if(blockDuplicate=='no'){ blockSetting["elementCount"]=1; } var curFirstPlace=blockSetting["firstPlace"], curElementCount=blockSetting["elementCount"], curElementStep=blockSetting["elementStep"], repeatableBlockIdentifier=0, successAdd=false; currentElementArray=this.currentElementsGather(blockSetting["element"].toLowerCase(), parent_with_content); if(currentElementArray){ for (let i1=0; i1 < blockSetting["elementCount"]; i1++){ elementToAdd.classList.add("repeatable-mark-" + repeatableBlockIdentifier); elPlace=Math.round(parseInt(blockSetting["firstPlace"]) + (i1*parseInt(blockSetting["elementStep"])) - 1); if(elPlace < currentElementArray.length){ currentElement=this.currentElementReceiver(false, content_pointer, blockSetting, currentElementArray, elPlace); } if(!currentElement&&blockSetting["showNoElement"]&&!i1){ currentElement=currentElementArray[currentElementArray.length - 1]; } if(currentElement!==undefined&¤tElement!=null){ this.addBlockAd(blockSetting, currentElement, elementToAdd); curFirstPlace=elPlace + parseInt(blockSetting["elementStep"]) + 1; curElementCount--; successAdd=true; }else{ successAdd=false; break; }} } if(successAdd===true){ usedBlockSettingArrayIds.push(block_number); repeatableBlockIdentifier++; }else{ if(!blockSetting["unsuccess"]){ blockSetting["unsuccess"]=1; }else{ blockSetting["unsuccess"]=Math.round(blockSetting["unsuccess"] + 1); } if(blockSetting["unsuccess"] > 10){ usedBlockSettingArrayIds.push(block_number); }else{ blockSetting["firstPlace"]=curFirstPlace; blockSetting["elementCount"]=curElementCount; blockSetting["elementStep"]=curElementStep; repeatInsert=true; }} } else if(blockSetting["setting_type"]==3){ currentElement=this.getElementBySelection(blockSetting["directElement"].trim(), blockSetting) if(!!currentElement){ this.addBlockAd(blockSetting, currentElement, elementToAdd); usedBlockSettingArrayIds.push(block_number); this._blockSettingArray.splice(i--, 1); }else{ repeatInsert=true; }} else if(blockSetting["setting_type"]==4){ content_pointer.parentElement.append(elementToAdd); usedBlockSettingArrayIds.push(block_number); } else if(blockSetting["setting_type"]==5){ currentElementArray=this.currentElementsGather('p', content_pointer.parentElement, 1); if(currentElementArray&¤tElementArray.length > 0){ let pCount=currentElementArray.length; let elementNumber=Math.round(pCount/2); if(pCount > 1){ currentElement=currentElementArray[elementNumber+1]; } if(!!currentElement){ if(pCount > 1){ this.addBlockAd(blockSetting, currentElement, elementToAdd, currentElement); }else{ this.addBlockAd(blockSetting, currentElement, elementToAdd, currentElement.nextSibling); } usedBlockSettingArrayIds.push(block_number); }else{ repeatInsert=true; }}else{ repeatInsert=true; }} else if(blockSetting["setting_type"]==6){ if(containerFor6th.length > 0){ for (let j=0; j < containerFor6th.length; j++){ if(containerFor6th[j]["elementPlace"]>blockSetting["elementPlace"]){ if(j===containerFor6th.length-1){ containerFor6th.push(blockSetting); usedBlockSettingArrayIds.push(block_number); break; }}else{ containerFor6th.splice(j, 0, blockSetting) usedBlockSettingArrayIds.push(block_number); break; }} }else{ containerFor6th.push(blockSetting); usedBlockSettingArrayIds.push(block_number); } } else if(blockSetting["setting_type"]==7){ if(containerFor7th.length > 0){ for (let j=0; j < containerFor7th.length; j++){ if(containerFor7th[j]["elementPlace"]>blockSetting["elementPlace"]){ if(j==containerFor7th.length-1){ containerFor7th.push(blockSetting); usedBlockSettingArrayIds.push(block_number); break; }}else{ containerFor7th.splice(j, 0, blockSetting) usedBlockSettingArrayIds.push(block_number); break; }} }else{ containerFor7th.push(blockSetting); usedBlockSettingArrayIds.push(block_number); }} } catch (e){ console.log(e.message); }} var array=this.textLengthGatherer(lordOfElements), tlArray=array.array, length=array.length; if(containerFor6th.length > 0){ this.percentInserter(lordOfElements, containerFor6th, tlArray, length); } if(containerFor7th.length > 0){ this.symbolInserter(lordOfElements, containerFor7th, tlArray); } this.shortcodesInsert(); content_pointer.setAttribute("data-block-ids", usedBlockSettingArrayIds.join(",")) }); let stopper=0, $this=this; window.addEventListener('load', function (){ if(repeatInsert===true){ setTimeout(function (){ $this.insert(); }, 100); }}); } createBlockElement(blockSetting){ let element=document.createElement("div"); element.classList.add("percentPointerClass"); element.classList.add("marked"); if(blockSetting["sc"]===1){ element.classList.add("scMark"); } element.innerHTML=blockSetting["text"]; element.dataset.rbinder=blockSetting["rb_under"]; const block_number=element.children[0].attributes['data-id'].value, elementToAddStyle=this.createStyleElement(block_number, blockSetting["elementCss"]); if(elementToAddStyle&&elementToAddStyle!=='default'){ element.style.textAlign=elementToAddStyle; } return element } addBlockAd(blockSetting, currentElement, elementToAdd, position=null){ if(!position){ position=this.initTargetToInsert(blockSetting["elementPosition"], 'element', currentElement); } currentElement.parentNode.insertBefore(elementToAdd, position); currentElement.classList.add('rbinder-'+blockSetting["rb_under"]); elementToAdd.classList.remove('coveredAd'); } getElementBySelection(directElement, blockSetting){ if(directElement.search('#') > -1){ return document.querySelector(directElement); } if((directElement.search('#') < 0)&&(directElement.search('.') > -1)){ return this.directClassElementDetecting(directElement, blockSetting); }} directClassElementDetecting(directElement, blockSetting){ let findQuery=false; let currentElementArray=document.querySelectorAll(directElement); let currentElement=null; if(currentElementArray.length > 0){ if(blockSetting['elementPlace'] > 1){ if(currentElementArray.length >=blockSetting['elementPlace']){ currentElement=currentElementArray[blockSetting['elementPlace']-1]; }else if(currentElementArray.length < blockSetting['elementPlace']){ if(blockSetting['showNoElement'] > 0){ currentElement=currentElementArray[currentElementArray.length - 1]; }}else{ findQuery=true; }}else if(blockSetting['elementPlace'] < 0){ if((currentElementArray.length + blockSetting['elementPlace'] + 1) > 0){ currentElement=currentElementArray[currentElementArray.length + blockSetting['elementPlace']]; }else{ findQuery=true; }}else{ findQuery=true; }}else{ findQuery=true; } if(findQuery){ currentElement=document.querySelector(directElement); } return currentElement; } placingArrayToH1(usedElement, elementTagToFind){ let elements=usedElement.querySelectorAll(elementTagToFind); if(elements.length < 1){ if(usedElement.parentElement){ elements=this.placingArrayToH1(usedElement.parentElement, elementTagToFind); }} return elements; } elementsCleaning(excArr, elList, pwcLocal, gatherString){ let markedClass='rb_m_inc'; let markedClassBad='rb_m_exc'; let cou=0; let cou1=0; let finalArr=[]; let finalArrClear=[]; let checkNearest; let outOfRangeCheck; let gatherRejected; let allower; try { while (elList[cou]){ allower=true; if(!elList[cou].classList.contains(markedClassBad)){ if(excArr&&excArr.length > 0){ cou1=0; while (excArr[cou1]){ checkNearest=elList[cou].parentElement.closest(excArr[cou1]); if(checkNearest){ checkNearest.classList.add('currClosest'); outOfRangeCheck=pwcLocal.querySelector('.currClosest'); if(outOfRangeCheck){ allower=false; checkNearest.classList.add(markedClass); gatherRejected=checkNearest.querySelectorAll(gatherString); if(gatherRejected.length > 0){ for (let i1=0; i1 < gatherRejected.length; i1++){ gatherRejected[i1].classList.add(markedClassBad); }} } checkNearest.classList.remove('currClosest'); } cou1++; }} if(allower===true){ elList[cou].classList.add(markedClass); }} cou++; } finalArr=pwcLocal.querySelectorAll('.'+markedClass+':not('+markedClassBad+')'); finalArrClear=pwcLocal.querySelectorAll('.'+markedClass+',.'+markedClassBad); if(finalArrClear&&finalArrClear.length > 0){ for (let i1=0; i1 < finalArrClear.length; i1++){ finalArrClear[i1].classList.remove(markedClass,markedClassBad); }} } catch (er){ console.log(er.message); } return finalArr; } currentElementsGather(usedElement, localPwc, loopLimit=2,){ let curElementSearchRepeater=true; let curElementSearchCounter=0; let currentElementArray=null; let ExcludedString=''; let tagListString=''; let tagListStringExc=''; let cou=0; let tagList; let tagListCou=0; if(usedElement==='h1'){ currentElementArray=this.placingArrayToH1(localPwc, usedElement); }else{ if(usedElement==='h2-4') tagList=['h2','h3','h3']; else tagList=[usedElement]; while (tagList[tagListCou]){ tagListString +=((cou++ > 0) ? ',':'') + tagList[tagListCou]; tagListStringExc +=':not(' + tagList[tagListCou] + ')'; tagListCou++; } ExcludedString=''; if(excIdClass&&excIdClass.length > 0){ for (let i2=0; i2 < excIdClass.length; i2++){ if(excIdClass[i2].length > 0){ ExcludedString +=(i2>0?',':'')+excIdClass[i2]+tagListStringExc; }} } let detailedQueryString=tagListString+','+ExcludedString; while (curElementSearchRepeater&&curElementSearchCounter < loopLimit){ try { currentElementArray=localPwc.querySelectorAll(tagListString); } catch (e1){console.log(e1.message);} if(!currentElementArray||!currentElementArray.length){ if(localPwc.parentElement){ localPwc=localPwc.parentElement; }else{ break; }}else{ currentElementArray=this.elementsCleaning(excIdClass, currentElementArray, localPwc, detailedQueryString); curElementSearchRepeater=false; } curElementSearchCounter++; }} return currentElementArray; } currentElementReceiver(revert, content_pointer, blockSetting, currentElementArray, elPlace){ let currentElement=null; let sameElementAfterWidth=false; let testCou=0; while (currentElementArray[elPlace]&&sameElementAfterWidth===false&&testCou < 8){ currentElement=currentElementArray[elPlace]; try { sameElementAfterWidth=this.checkAdsWidth(content_pointer, blockSetting["elementPosition"], currentElement); } catch (ex){ sameElementAfterWidth=true; console.log(ex.message); } revert? elPlace--: elPlace++; testCou++; } return currentElement; } symbolInserter(lordOfElements, containerFor7th, tlArray){ try { var currentChildrenLength=0; let previousBreak=0; let needleLength; let currentSumLength; let elementToAdd; let elementToBind; let binderName; if(!lordOfElements.querySelector(".markedSpan1")){ for (let i=0; i < containerFor7th.length; i++){ previousBreak=0; currentChildrenLength=0; currentSumLength=0; needleLength=Math.abs(containerFor7th[i]['elementPlace']); binderName=containerFor7th[i]["rb_under"]; elementToAdd=this.createBlockElement(containerFor7th[i]); if(!elementToAdd){ continue; } if(containerFor7th[i]['elementPlace'] < 0){ for (let j=tlArray.length-1; j > -1; j--){ currentSumLength=currentSumLength + tlArray[j]['length']; if(needleLength < currentSumLength){ elementToBind=tlArray[j]['element']; elementToBind=this.currentElementReceiverSpec(true, j, tlArray, elementToBind); this.addBlockAd(containerFor7th[i], elementToBind, elementToAdd, elementToBind); break; }} }else if(containerFor7th[i]['elementPlace']==0){ elementToBind=tlArray[0]['element']; this.addBlockAd(containerFor7th[i], elementToBind, elementToAdd, elementToBind); }else{ for (let j=0; j < tlArray.length; j++){ currentSumLength=currentSumLength + tlArray[j]['length']; if(needleLength < currentSumLength){ elementToBind=tlArray[j]['element']; elementToBind=this.currentElementReceiverSpec(false, j, tlArray, elementToBind); this.addBlockAd(containerFor7th[i], elementToBind, elementToAdd, elementToBind.nextSibling); break; }} }} var spanMarker=document.createElement("span"); spanMarker.classList.add("markedSpan1"); lordOfElements.prepend(spanMarker); }} catch (e){ console.log(e); }} percentInserter(lordOfElements, containerFor6th, tlArray, textLength){ try { var textNeedyLength=0; let elementToAdd; var elementToBind; let elementToAddStyle; let block_number; var binderName; let $this=this; function insertByPercents(textLength){ let localMiddleValue=0; for (let j=0; j < containerFor6th.length; j++){ textNeedyLength=Math.round(textLength * (containerFor6th[j]["elementPlace"]/100)); for (let i=0; i < tlArray.length; i++){ if(tlArray[i]['lengthSum'] >=textNeedyLength){ binderName=containerFor6th[j]["rb_under"]; elementToAdd=$this.createBlockElement(containerFor6th[j]); if(!elementToAdd){ break; } localMiddleValue=tlArray[i]['lengthSum'] - Math.round(tlArray[i]['length']/2); elementToBind=tlArray[i]['element']; $this.currentElementReceiverSpec(false, i, tlArray, elementToBind); if(textNeedyLength < localMiddleValue){ $this.addBlockAd(containerFor6th[j], elementToBind, elementToAdd, elementToBind); }else{ $this.addBlockAd(containerFor6th[j], elementToBind, elementToAdd, elementToBind.nextSibling); } break; }} } return false; } function clearTlMarks(){ let marksForDeleting=document.querySelectorAll('.textLengthMarker'); if(marksForDeleting.length > 0){ for (let i=0; i < marksForDeleting.length; i++){ marksForDeleting[i].remove(); }} } if(!lordOfElements.querySelector(".markedSpan")){ insertByPercents(textLength); clearTlMarks(); var spanMarker=document.createElement("span"); spanMarker.classList.add("markedSpan"); lordOfElements.prepend(spanMarker); }} catch (e){ console.log(e.message); }} shortcodesInsert(){ let gatheredBlocks=document.querySelectorAll('.percentPointerClass.scMark'), scBlockId=-1, scAdId=-1, blockStatus='', dataFull=-1, gatheredBlockChild, okStates=['done','refresh-wait','no-block','fetched'], scContainer, sci, i1=0, skyscraperStatus=false, splitedSkyscraper=[], gatheredBlockChildSkyParts=[], stickyStatus=false, stickyCheck=[], stickyFixedStatus=false, stickyFixedCheck=[], repeatableIdentifier="", dataCidIdentifier=null, divCidElement=''; if(typeof scArray!=='undefined'){ if(scArray&&scArray.length > 0&&gatheredBlocks&&gatheredBlocks.length > 0&&typeof window.rulvW5gntb!=='undefined'){ dataCidIdentifier=window.rulvW5gntb; for (let i=0; i < gatheredBlocks.length; i++){ gatheredBlockChild=gatheredBlocks[i].children[0]; if(!gatheredBlockChild){ continue; } scAdId=-3; blockStatus=null; scContainer=null; dataFull=-1; skyscraperStatus=false; splitedSkyscraper=[]; gatheredBlockChildSkyParts=[]; stickyStatus=false; stickyCheck=[]; stickyFixedStatus=false; stickyFixedCheck=[]; repeatableIdentifier=""; divCidElement=null; scAdId=gatheredBlockChild.getAttribute('data-aid'); scBlockId=gatheredBlockChild.getAttribute('data-id'); blockStatus=gatheredBlockChild.getAttribute('data-state'); dataFull=gatheredBlockChild.getAttribute('data-full'); if(scBlockId&&scAdId > 0){ sci=-1; for (i1=0; i1 < scArray.length; i1++){ if(scBlockId==scArray[i1]['blockId']&&scAdId==scArray[i1]['adId']){ sci=i1; }} if(sci > -1){ if(blockStatus&&okStates.includes(blockStatus)){ if(blockStatus=='no-block'){ gatheredBlockChild.innerHTML=''; }else if((blockStatus=='fetched'&&dataFull==1)||!['no-block','fetched'].includes(blockStatus)){ for (let cl1=0; cl1 < gatheredBlocks[i].classList.length; cl1++){ if(gatheredBlocks[i].classList[cl1].includes("repeatable-mark")){ repeatableIdentifier=gatheredBlocks[i].classList[cl1]; }} if(repeatableIdentifier){ divCidElement=document.querySelectorAll(".percentPointerClass.scMark."+repeatableIdentifier+' div[data-cid="'+dataCidIdentifier+'"]'); }else{ divCidElement=gatheredBlockChild.querySelectorAll('div[data-cid="'+dataCidIdentifier+'"]'); } var text=scArray[sci]['text']; if(divCidElement&&divCidElement.length > 0){ for (let i2=0; i2 < divCidElement.length; i2++){ jQuery(divCidElement[i2]).html(text); }}else{ jQuery(gatheredBlockChild).html(text); } this.launchUpdateRbDisplays(); } if(blockStatus!=='fetched'||(blockStatus==='fetched'&&dataFull===1)){ gatheredBlocks[i].classList.remove('scMark'); }} }}else if(scBlockId&&scAdId < 1&&['no-block','fetched'].includes(blockStatus)){ gatheredBlocks[i].classList.remove('scMark'); }} }else if(!scArray||(scArray&&scArray.length < 1)){ this.endedSc=true; }}else{ this.endedSc=true; } if(!this.endedSc){ var $this=this; setTimeout(function (){ $this.shortcodesInsert(); }, 200); }} currentElementReceiverSpec(revert, curSum, elList, currentElement){ let origCurrentElement=currentElement; let content_pointer=document.querySelector(".content_pointer_class"); let sameElementAfterWidth=false; let testCou=0; while (elList[curSum]&&!sameElementAfterWidth&&testCou < 5){ currentElement=elList[curSum]['element']; try { sameElementAfterWidth=this.checkAdsWidth(content_pointer, 0, currentElement); } catch (ex){ sameElementAfterWidth=true; console.log(ex.message); } revert? curSum--: curSum++; testCou++; } return currentElement?currentElement:origCurrentElement; } launchUpdateRbDisplays(){ if((typeof updateRbDisplays!=='undefined')&&(typeof updateRbDisplays==='function')){ updateRbDisplays(); }else{ setTimeout(function (){ this.launchUpdateRbDisplays(); }, 200); }} checkAdsWidth(content_pointer, posCurrentElement, currentElement){ let widthChecker=document.querySelector('#widthChecker'); let widthCheckerStyle=null; let content_pointerStyle=getComputedStyle(content_pointer); let content=content_pointer.parentElement; if(!widthChecker){ widthChecker=document.createElement("div"); widthChecker.setAttribute('id','widthChecker'); widthChecker.style.display='flex'; } if(content){ posCurrentElement=this.initTargetToInsert(posCurrentElement, 'term', currentElement); currentElement.parentNode.insertBefore(widthChecker, posCurrentElement); widthCheckerStyle=getComputedStyle(widthChecker); if(parseInt(widthCheckerStyle.width) >=(parseInt(content_pointerStyle.width) - 50)){ return true; }} return false; } initTargetToInsert(position, type, currentElement){ let posCurrentElement; let usedElement; if(type=='element'){ if(position==0){ posCurrentElement=currentElement; if(!(typeof obligatoryMargin!=='undefined'&&obligatoryMargin===1)){ currentElement.classList.add('rfwp_removedMarginTop'); }}else{ posCurrentElement=currentElement.nextSibling; if(!(typeof obligatoryMargin!=='undefined'&&obligatoryMargin===1)){ currentElement.classList.add('rfwp_removedMarginBottom'); }} currentElement.style.clear='both'; }else{ usedElement=currentElement; if(position==0){ posCurrentElement=usedElement; }else{ posCurrentElement=usedElement.nextSibling; }} return posCurrentElement; } createStyleElement(blockNumber, localElementCss){ let htmlToAdd=''; let marginString; let textAlignString; let contPois=document.querySelector('.content_pointer_class'); let emptyValues=false; let elementToAddStyleLocal; if(!contPois.length) return false; contPois.forEach((contPoi)=> { elementToAddStyleLocal=contPoi.querySelector('.blocks_align_style'); if(!elementToAddStyleLocal){ elementToAddStyleLocal=document.createElement('style'); elementToAddStyleLocal.classList.add('blocks_align_style'); contPoi.parentNode.insertBefore(elementToAddStyleLocal, contPoi); }}); switch (localElementCss){ case 'left': emptyValues=false; marginString='0 auto 0 0'; textAlignString='left'; break; case 'right': emptyValues=false; marginString='0 0 0 auto'; textAlignString='right'; break; case 'center': emptyValues=false; marginString='0 auto'; textAlignString='center'; break; case 'default': emptyValues=true; marginString='default'; textAlignString='default'; break; } if(!emptyValues){ htmlToAdd='.percentPointerClass > *[data-id="'+blockNumber+'"] {\n' + ' margin: '+marginString+';\n' + '}\n'; } elementToAddStyleLocal.innerHTML +=htmlToAdd; return textAlignString; } clearUnsuitableCache(cuc_cou){ let scAdId=-1; let ccRepeat=false; let gatheredBlocks=document.querySelectorAll('.percentPointerClass .' + block_classes.join(', .percentPointerClass .')); if(gatheredBlocks&&gatheredBlocks.length > 0){ for (let i=0; i < gatheredBlocks.length; i++){ if(gatheredBlocks[i]['dataset']['aid']&&gatheredBlocks[i]['dataset']['aid'] < 0){ if((gatheredBlocks[i]['dataset']["state"]=='no-block')||(['done','fetched','refresh-wait'].includes(gatheredBlocks[i]['dataset']["state"]))){ gatheredBlocks[i]['innerHTML']=''; }else{ ccRepeat=true; }}else if(!gatheredBlocks[i]['dataset']['aid']){ ccRepeat=true; }} if(cuc_cou < 50){ if(ccRepeat){ let $this=this; setTimeout(function (){ $this.clearUnsuitableCache(cuc_cou+1); }, 100); }}else{ endedCc=true; }}else{ endedCc=true; }} excIdClUnpacker(){ let excArr=[], cou=0, currExcStr='', curExcFirst=''; excArr['id']=[]; excArr['class']=[]; excArr['tag']=[]; if(excIdClass&&excIdClass.length > 0){ while (excIdClass[cou]){ currExcStr=excIdClass[cou]; if(currExcStr.length > 0){ curExcFirst=currExcStr.substring(0,1); switch (curExcFirst){ case '#': if(currExcStr.length > 1){ currExcStr=currExcStr.substring(1); excArr['id'].push(currExcStr); } break; case '.': if(currExcStr.length > 1){ currExcStr=currExcStr.substring(1); excArr['class'].push(currExcStr); } break; default: excArr['tag'].push(currExcStr); break; } cou++; }} } return excArr; } possibleTagsInCheckConfirmer(possibleTagsArray, possibleTagsInCheck){ if(possibleTagsArray.includes("LI")){ if(possibleTagsArray.includes("UL")){ possibleTagsInCheck.push("UL"); } if(possibleTagsArray.includes("OL")){ possibleTagsInCheck.push("OL"); }} return false; } textLengthGatherer(lordOfElementsLoc){ var possibleTagsArray; if(typeof tagsListForTextLength!=="undefined"){ possibleTagsArray=tagsListForTextLength; }else{ possibleTagsArray=["P", "H1", "H2", "H3", "H4", "H5", "H6", "DIV", "BLOCKQUOTE", "INDEX", "ARTICLE", "SECTION"]; } let possibleTagsInCheck=["DIV", "INDEX", "SECTION"]; this.possibleTagsInCheckConfirmer(possibleTagsArray, possibleTagsInCheck); let excArr=this.excIdClUnpacker(), textLength=0, tlArray=[]; function textLengthGathererRec(lordOfElementsLoc){ let allowed; let cou1; let classesArray; let countSuccess=0; try { for (let i=0; i < lordOfElementsLoc.children.length; i++){ if(possibleTagsArray.includes(lordOfElementsLoc.children[i].tagName) &&!lordOfElementsLoc.children[i].classList.contains("percentPointerClass") &&lordOfElementsLoc.children[i].id!="toc_container" ){ if(possibleTagsInCheck.includes(lordOfElementsLoc.children[i].tagName) &&(lordOfElementsLoc.children[i].children.length > 0) ){ allowed=true; if(lordOfElementsLoc.children[i].id&&excArr['id'].length > 0){ cou1=0; while (excArr['id'][cou1]){ if(lordOfElementsLoc.children[i].id.toLowerCase()==excArr['id'][cou1].toLowerCase()){ allowed=false; break; } cou1++; }} if(lordOfElementsLoc.children[i].classList.length > 0&&excArr['class'].length > 0){ cou1=0; while (excArr['class'][cou1]){ classesArray=excArr['class'][cou1].split('.'); if(classesArray.every(className=> lordOfElementsLoc.children[i].classList.contains(className))){ allowed=false; break; } cou1++; }} if(excArr['tag'].length > 0){ cou1=0; while (excArr['tag'][cou1]){ if(lordOfElementsLoc.children[i].tagName.toLowerCase()==excArr['tag'][cou1].toLowerCase()){ allowed=false; break; } cou1++; }} if(allowed){ if(textLengthGathererRec(lordOfElementsLoc.children[i], excArr, possibleTagsArray, possibleTagsInCheck)){ countSuccess++; continue; }} } textLength=textLength + lordOfElementsLoc.children[i].innerText.length; tlArray.push({ tag: lordOfElementsLoc.children[i].tagName, length: lordOfElementsLoc.children[i].innerText.length, lengthSum: textLength, element: lordOfElementsLoc.children[i] }); countSuccess++; }} } catch (er){ console.log(er.message); } return countSuccess > 0; } textLengthGathererRec(lordOfElementsLoc); return {array: tlArray, length: textLength};}};if(typeof window.jsInputerLaunch==='undefined'){window.jsInputerLaunch=-1;} function asyncInsertingsInsertingFunction(insertingsArray){ let currentElementForInserting=0; let currentElementToMove=0; let positionElement=0; let position=0; let insertToAdd=0; let postId=0; let repeatSearch=0; if(insertingsArray&&insertingsArray.length > 0){ for (let i=0; i < insertingsArray.length; i++){ if(!insertingsArray[i]['used']||(insertingsArray[i]['used']&&insertingsArray[i]['used']==0)){ positionElement=insertingsArray[i]['position_element']; position=insertingsArray[i]['position']; insertToAdd=insertingsArray[i]['content']; postId=insertingsArray[i]['postId']; currentElementForInserting=document.querySelector(positionElement); currentElementToMove=document.querySelector('.coveredInsertings[data-id="'+postId+'"]'); if(currentElementForInserting){ if(position==0){ currentElementForInserting.parentNode.insertBefore(currentElementToMove, currentElementForInserting); currentElementToMove.classList.remove('coveredInsertings'); insertingsArray[i]['used']=1; }else{ currentElementForInserting.parentNode.insertBefore(currentElementToMove, currentElementForInserting.nextSibling); currentElementToMove.classList.remove('coveredInsertings'); insertingsArray[i]['used']=1; }}else{ repeatSearch=1; }} }} if(repeatSearch==1){ setTimeout(function (){ asyncInsertingsInsertingFunction(insertingsArray); }, 100) }} function insertingsFunctionLaunch(){ if(window.jsInsertingsLaunch!==undefined&&jsInsertingsLaunch==25){ asyncInsertingsInsertingFunction(insertingsArray); }else{ setTimeout(function (){ insertingsFunctionLaunch(); }, 100) }} function setLongCache(){ let xhttp=new XMLHttpRequest(); let sendData='action=setLongCache&type=longCatching&_csrf='+rb_csrf; xhttp.onreadystatechange=function(redata){ if(this.readyState==4&&this.status==200){ console.log('long cache deployed'); }}; xhttp.open("POST", rb_ajaxurl, true); xhttp.setRequestHeader("Content-type", "application/x-www-form-urlencoded"); xhttp.send(sendData); } function cachePlacing(alert_type, errorInfo=null){ let adBlocks=document.querySelectorAll('.percentPointerClass .' + block_classes.join(', .percentPointerClass .')); let curAdBlock; let okStates=['done','refresh-wait','no-block','fetched']; let blockAid=null; let blockId; if(typeof cachedBlocksArray!=='undefined'&&cachedBlocksArray&&cachedBlocksArray.length > 0&&adBlocks&&adBlocks.length > 0){ for (let i=0; i < adBlocks.length; i++){ blockAid=adBlocks[i]['dataset']['aid']; if(!blockAid){ blockId=adBlocks[i]['dataset']['id']; if(cachedBlocksArray[blockId]){ jQuery(adBlocks[i]).html(cachedBlocksArray[blockId]); }} }} if(alert_type&&alert_type=='high'){ setLongCache(); }} function saveContentBlock(contentContainer){ try { if(!gather_content){ console.log('content gather save function entered'); let xhttp=new XMLHttpRequest(); let sendData='action=RFWP_saveContentContainer&type=gatherContentBlock&data='+contentContainer+'&_csrf='+rb_csrf; xhttp.onreadystatechange=function(redata){ if(this.readyState==4&&this.status==200){ console.log('content gather succeed'); }else{ console.log('content gather gone wrong'); }}; xhttp.open("POST", rb_ajaxurl, true); xhttp.setRequestHeader("Content-type", "application/x-www-form-urlencoded"); xhttp.send(sendData); }} catch (er){ console.log('content gather error: '+er+';'); }} window.gatherContentBlock=function(){ let cPointers=null, cPointer=null, cPointerParent=null, cPointerParentString=null, cPointerParentStringItem=null, classWords=['content','entry','post','wrap','description','taxonomy'], classChoosed=false; cPointers=document.querySelectorAll('.content_pointer_class'); if(cPointers.length > 0){ for (let i=0; i < cPointers.length; i++){ cPointer=cPointers[i]; cPointerParentStringItem=null; if(window.jsInputerLaunch!==15){ return false; } cPointerParent=cPointer.parentElement; if(cPointerParent){ if(cPointerParent.classList.length > 0){ cPointerParentStringItem=cPointerParent.tagName.toLowerCase() + '.' + cPointerParent.classList[0]; for (let j=0; j < classWords.length; j++){ for (let i=0; i < cPointerParent.classList.length; i++){ if(cPointerParent.classList[i].includes(classWords[j])){ cPointerParentStringItem=cPointerParent.tagName.toLowerCase() + '.'+cPointerParent.classList[i]; classChoosed=true; break; }} if(classChoosed===true){ break; }} if(classChoosed===true){ cPointerParentString=cPointerParentStringItem; break; }} if(cPointerParentStringItem&&(!cPointerParentString||cPointerParentString!==cPointerParentStringItem)){ cPointerParentString=cPointerParentStringItem; }} } if(cPointerParentString){ console.log('content gather content block detected'); saveContentBlock(cPointerParentString); }}else{ console.log('content gather delayed'); setTimeout(function (){ gatherContentBlock(); }, 500); }}; window.removeMarginClass=function(blockObject){ if(blockObject&&typeof window.jsInputerLaunch!=='undefined'&&[15, 10].includes(window.jsInputerLaunch)){ let binderName, neededElement, currentDirection, seekerIterationCount, currentSubling; binderName=blockObject.dataset.rbinder; if(binderName){ seekerIterationCount=0; currentDirection='before'; do { seekerIterationCount++; currentSubling=blockObject.nextElementSibling; if(currentSubling&¤tSubling.classList.contains('rbinder-'+binderName)){ neededElement=currentSubling; }} while (currentSubling&&!neededElement&&seekerIterationCount < 5); if(!neededElement){ seekerIterationCount=0; currentDirection='after'; do { seekerIterationCount++; currentSubling=blockObject.previousElementSibling; if(currentSubling&¤tSubling.classList.contains('rbinder-'+binderName)){ neededElement=currentSubling; }} while (currentSubling&&!neededElement&&seekerIterationCount < 5); } if(neededElement){ if(currentDirection==='before'){ neededElement.classList.remove('rfwp_removedMarginTop'); }else{ neededElement.classList.remove('rfwp_removedMarginBottom'); }} }} return false; };</script> <script>if(typeof rb_ajaxurl==='undefined'){var rb_ajaxurl='https://proeto.club/wp-admin/admin-ajax.php';} if(typeof rb_csrf==='undefined'){var rb_csrf='67b4dd8a12';} if(typeof cache_devices==='undefined'){var cache_devices=false;} var nReadyBlock=false; var fetchedCounter=0; function sendReadyBlocksNew(blocks){ if(!cache_devices){ let xhttp=new XMLHttpRequest(); let sendData='action=saveAdBlocks&type=blocksGethering&data='+blocks+'&_csrf='+rb_csrf; xhttp.onreadystatechange=function(redata){ if(this.readyState==4&&this.status==200){ console.log('cache succeed'); }}; xhttp.open("POST", rb_ajaxurl, true); xhttp.setRequestHeader("Content-type", "application/x-www-form-urlencoded"); xhttp.send(sendData); }} function gatherReadyBlocks(){ if(block_classes&&block_classes.length){ let blocks={}; let counter1=0; let gatheredBlocks=document.querySelectorAll('.' + block_classes.join(', .')); let checker=0; let adContent=''; let curState=''; let thisData=[]; let sumData=[]; let newBlocks=''; let thisDataString=''; if(gatheredBlocks.length > 0){ blocks.data={}; for (let i=0; i < gatheredBlocks.length; i++){ curState=gatheredBlocks[i]['dataset']["state"].toLowerCase(); checker=0; if(curState&&gatheredBlocks[i]['innerHTML'].length > 0&&gatheredBlocks[i]['dataset']['aid'] > 0&&curState!='no-block'){ if(gatheredBlocks[i]['innerHTML'].length > 0){ checker=1; } if(checker==1){ blocks.data[counter1]={id:gatheredBlocks[i]['dataset']['id'],code:gatheredBlocks[i]['dataset']['aid']}; counter1++; }} } blocks=JSON.stringify(blocks); sendReadyBlocksNew(blocks); }} else nReadyBlock=true; } function timeBeforeGathering(){ if(block_classes&&block_classes.length > 0){ let gatheredBlocks=document.querySelectorAll('.' + block_classes.join(', .')); let okStates=['done','refresh-wait','no-block','fetched']; let curState=''; for (let i=0; i < gatheredBlocks.length; i++){ if(!gatheredBlocks[i]['dataset']["state"]){ nReadyBlock=true; break; }else{ curState=gatheredBlocks[i]['dataset']["state"].toLowerCase(); if(!okStates.includes(curState)){ nReadyBlock=true; break; }else if(curState=='fetched'&&fetchedCounter < 3){ fetchedCounter++; nReadyBlock=true; break; }} }} else nReadyBlock=true; if(nReadyBlock==true){ nReadyBlock=false; setTimeout(timeBeforeGathering,2000); }else{ gatherReadyBlocks(); }} function launchTimeBeforeGathering(){ if(document.readyState==="complete"||(document.readyState!=="loading"&&!document.documentElement.doScroll)){ timeBeforeGathering(); }else{ setTimeout(launchTimeBeforeGathering,100); }} launchTimeBeforeGathering();</script> <script>const lazyloadRunObserver=()=> { const lazyloadBackgrounds=document.querySelectorAll(`.e-con.e-parent:not(.e-lazyloaded)`); const lazyloadBackgroundObserver=new IntersectionObserver(( entries)=> { entries.forEach(( entry)=> { if(entry.isIntersecting){ let lazyloadBackground=entry.target; if(lazyloadBackground){ lazyloadBackground.classList.add('e-lazyloaded'); } lazyloadBackgroundObserver.unobserve(entry.target); }}); }, { rootMargin: '200px 0px 200px 0px' }); lazyloadBackgrounds.forEach(( lazyloadBackground)=> { lazyloadBackgroundObserver.observe(lazyloadBackground); }); }; const events=[ 'DOMContentLoaded', 'elementor/lazyload/observe', ]; events.forEach(( event)=> { document.addEventListener(event, lazyloadRunObserver); });</script> <script src='//proeto.club/wp-content/cache/wpfc-minified/1cxqem9s/h5osm.js' type="text/javascript"></script> <!--[if lte IE 11]><script type="text/javascript" src="//proeto.club/wp-content/cache/wpfc-minified/e6791921bf69aed69d15e404201d63aa/h5osm.js" id="generate-classlist-js"></script><![endif]--> <script src='//proeto.club/wp-content/cache/wpfc-minified/goknmrw/h5osm.js' type="text/javascript"></script> <script id="jquery-fancybox-js-after">var fb_timeout, fb_opts={'autoScale':true,'showCloseButton':true,'margin':20,'pixelRatio':'false','centerOnScroll':true,'enableEscapeButton':true,'overlayShow':true,'hideOnOverlayClick':true,'minVpHeight':320,'disableCoreLightbox':'true','enableBlockControls':'true','fancybox_openBlockControls':'true' }; if(typeof easy_fancybox_handler==='undefined'){ var easy_fancybox_handler=function(){ jQuery([".nolightbox","a.wp-block-file__button","a.pin-it-button","a[href*='pinterest.com\/pin\/create']","a[href*='facebook.com\/share']","a[href*='twitter.com\/share']"].join(',')).addClass('nofancybox'); jQuery('a.fancybox-close').on('click',function(e){e.preventDefault();jQuery.fancybox.close()}); var unlinkedImageBlocks=jQuery(".wp-block-image > img:not(.nofancybox,figure.nofancybox>img)"); unlinkedImageBlocks.wrap(function(){ var href=jQuery(this).attr("src"); return "<a href='" + href + "'></a>"; }); var fb_IMG_select=jQuery('a[href*=".jpg" i]:not(.nofancybox,li.nofancybox>a,figure.nofancybox>a),area[href*=".jpg" i]:not(.nofancybox),a[href*=".jpeg" i]:not(.nofancybox,li.nofancybox>a,figure.nofancybox>a),area[href*=".jpeg" i]:not(.nofancybox),a[href*=".png" i]:not(.nofancybox,li.nofancybox>a,figure.nofancybox>a),area[href*=".png" i]:not(.nofancybox),a[href*=".gif" i]:not(.nofancybox,li.nofancybox>a,figure.nofancybox>a),area[href*=".gif" i]:not(.nofancybox)'); fb_IMG_select.addClass('fancybox image'); var fb_IMG_sections=jQuery('.gallery,.wp-block-gallery,.tiled-gallery,.wp-block-jetpack-tiled-gallery,.ngg-galleryoverview,.ngg-imagebrowser,.nextgen_pro_blog_gallery,.nextgen_pro_film,.nextgen_pro_horizontal_filmstrip,.ngg-pro-masonry-wrapper,.ngg-pro-mosaic-container,.nextgen_pro_sidescroll,.nextgen_pro_slideshow,.nextgen_pro_thumbnail_grid,.tiled-gallery'); fb_IMG_sections.each(function(){jQuery(this).find(fb_IMG_select).attr('rel','gallery-'+fb_IMG_sections.index(this));}); jQuery('a.fancybox,area.fancybox,.fancybox>a').each(function(){jQuery(this).fancybox(jQuery.extend(true,{},fb_opts,{'transition':'elastic','transitionIn':'elastic','transitionOut':'elastic','easingOut':'easeOutBack','opacity':false,'hideOnContentClick':false,'titleShow':true,'titlePosition':'inside','titleFromAlt':true,'showNavArrows':true,'enableKeyboardNav':true,'cyclic':false,'mouseWheel':'true'}))}); };}; var easy_fancybox_auto=function(){setTimeout(function(){jQuery('a#fancybox-auto,#fancybox-auto>a').first().trigger('click')},1000);}; jQuery(easy_fancybox_handler);jQuery(document).on('post-load',easy_fancybox_handler); jQuery(easy_fancybox_auto);</script> <script src='//proeto.club/wp-content/cache/wpfc-minified/2q9ky3ss/h5osm.js' type="text/javascript"></script> <script type="text/javascript" src="//proeto.club/wp-content/cache/wpfc-minified/10473fc4d350d4d53531d4f936c28589/h5osm.js" id="q2w3_fixed_widget-js"></script> <script>window.lazyLoadOptions=[{ elements_selector: "img[data-lazy-src],.rocket-lazyload", data_src: "lazy-src", data_srcset: "lazy-srcset", data_sizes: "lazy-sizes", class_loading: "lazyloading", class_loaded: "lazyloaded", threshold: 300, callback_loaded: function(element){ if(element.tagName==="IFRAME"&&element.dataset.rocketLazyload=="fitvidscompatible"){ if(element.classList.contains("lazyloaded")){ if(typeof window.jQuery!="undefined"){ if(jQuery.fn.fitVids){ jQuery(element).parent().fitVids(); }} }} }},{ elements_selector: ".rocket-lazyload", data_src: "lazy-src", data_srcset: "lazy-srcset", data_sizes: "lazy-sizes", class_loading: "lazyloading", class_loaded: "lazyloaded", threshold: 300, }]; window.addEventListener('LazyLoad::Initialized', function (e){ var lazyLoadInstance=e.detail.instance; if(window.MutationObserver){ var observer=new MutationObserver(function(mutations){ var image_count=0; var iframe_count=0; var rocketlazy_count=0; mutations.forEach(function(mutation){ for (var i=0; i < mutation.addedNodes.length; i++){ if(typeof mutation.addedNodes[i].getElementsByTagName!=='function'){ continue; } if(typeof mutation.addedNodes[i].getElementsByClassName!=='function'){ continue; } images=mutation.addedNodes[i].getElementsByTagName('img'); is_image=mutation.addedNodes[i].tagName=="IMG"; iframes=mutation.addedNodes[i].getElementsByTagName('iframe'); is_iframe=mutation.addedNodes[i].tagName=="IFRAME"; rocket_lazy=mutation.addedNodes[i].getElementsByClassName('rocket-lazyload'); image_count +=images.length; iframe_count +=iframes.length; rocketlazy_count +=rocket_lazy.length; if(is_image){ image_count +=1; } if(is_iframe){ iframe_count +=1; }} }); if(image_count > 0||iframe_count > 0||rocketlazy_count > 0){ lazyLoadInstance.update(); }}); var b=document.getElementsByTagName("body")[0]; var config={ childList: true, subtree: true }; observer.observe(b, config); }}, false);</script> <script data-no-minify="1" async src="//proeto.club/wp-content/cache/wpfc-minified/b6cc5be9cf2e8e2dde9648c74f4df01c/h5osm.js"></script> </body> </html><!-- WP Fastest Cache file was created in 1.938 seconds, on 22.05.2026 @ 11:21 -->