
<!DOCTYPE html>
<html lang="ru-RU">
	<head>
		<meta charset="UTF-8">
		<meta http-equiv="X-UA-Compatible" content="IE=edge" />
        <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
        <title>1001 Доктор - Ваш гид по клиникам и врачам России</title>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta name="robots" content="index, follow" />
<meta name="description" content="Найдите проверенных врачей на 1001 Доктор. База из 5000+ специалистов, 85 000+ реальных отзывов пациентов. Сравнение цен, актуальное расписание и гарантия лучшей цены при записи. Бесплатная консультация специалистов 24/7." />
<script type="text/javascript" data-skip-moving="true">(function(w, d, n) {var cl = "bx-core";var ht = d.documentElement;var htc = ht ? ht.className : undefined;if (htc === undefined || htc.indexOf(cl) !== -1){return;}var ua = n.userAgent;if (/(iPad;)|(iPhone;)/i.test(ua)){cl += " bx-ios";}else if (/Windows/i.test(ua)){cl += ' bx-win';}else if (/Macintosh/i.test(ua)){cl += " bx-mac";}else if (/Linux/i.test(ua) && !/Android/i.test(ua)){cl += " bx-linux";}else if (/Android/i.test(ua)){cl += " bx-android";}cl += (/(ipad|iphone|android|mobile|touch)/i.test(ua) ? " bx-touch" : " bx-no-touch");cl += w.devicePixelRatio && w.devicePixelRatio >= 2? " bx-retina": " bx-no-retina";var ieVersion = -1;if (/AppleWebKit/.test(ua)){cl += " bx-chrome";}else if (/Opera/.test(ua)){cl += " bx-opera";}else if (/Firefox/.test(ua)){cl += " bx-firefox";}ht.className = htc ? htc + " " + cl : cl;})(window, document, navigator);</script>


<link href="/bitrix/cache/css/s1/generator/page_77ef069aba3c5528ea475f1ec3dcaf67/page_77ef069aba3c5528ea475f1ec3dcaf67_v1.css?17496280756228" type="text/css"  rel="stylesheet" />
<link href="/bitrix/cache/css/s1/generator/template_8a44d81da1c4153400c548c572019236/template_8a44d81da1c4153400c548c572019236_v1.css?174962807513059" type="text/css"  data-template-style="true" rel="stylesheet" />







        <link rel="icon" type="image/x-icon" href="/favicon.ico">
		<link rel="stylesheet preload" href="/local/templates/generator/assets/css/style.css?v=1781100768" as="style">
        <link rel="canonical" href="https://1001doc.ru/"/>
        

                            <meta property="og:title" content="1001 Доктор - Ваш гид по клиникам и врачам России"/>
            <meta property="og:description" content="Найдите проверенных врачей на 1001 Доктор. База из 5000+ специалистов, 85 000+ реальных отзывов пациентов. Сравнение цен, актуальное расписание и гарантия лучшей цены при записи. Бесплатная консультация специалистов 24/7.">
            <meta property="og:url" content="https://1001doc.ru/"/>
            <meta property="og:site_name" content="ВИТРИУМ"/>
            <meta property="og:type" content="website"/>
            <meta property="og:image"
                  content="https://1001doc.ru/local/templates/generator/assets/images/header-logo-doc.svg"/>
            <meta property="og:locale" content="ru" />
            <style>.xname{display:block;height:.1px;margin:0!important;overflow:hidden;padding:0!important;width:.1px;border:0;opacity:.01;}</style></head>

    
    	<body class=" home-page">
				<header>
            <div class="container">
                <div class="header-left">
                    <div class="header-logo">
                        <a href="/">
                            <img src="/local/templates/generator/assets/images/header-logo-doc.svg" width="87" height="24" alt="логотип">
                        </a>
                        <span class="header-slogan">
                            Гид по врачам и клиникам России
                        </span>
                    </div>
                </div>
                <div class="header-center">
                    
    <ul class="header-list">
        
                                                        <li ><a
                        href="/clinics/">Клиники</a>
                            </li>
        
        
                                                        <li ><a
                        href="/doctors/">Врачи</a>
                            </li>
        
        
                                                        <li  class="menu-item-has-children"><a
                        href="/services/stomatologicheskie-uslugi/">Услуги</a>
                                                        
<ul class="submenu-list">

						<li><a href="/services/stomatologicheskie-uslugi/" class="">Стоматология</a></li>
		
						<li><a href="/services/category-revmatologiya/" class="">Ревматология</a></li>
		
						<li><a href="/services/category-travmatologiya/" class="">Травматология</a></li>
		
	
</ul>
                            </li>
        
        
                                    <li  class="menu-item-has-children"><a
                        href="#">О нас</a>
                                                        
<ul class="submenu-list">

						<li><a href="/blog/" class="">Блог</a></li>
		
						<li><a href="/sales/" class="">Акции</a></li>
		
						<li><a href="/about/contacts/" class="">Контакты</a></li>
		
						<li><a href="/about/" class="">О сервисе</a></li>
		
						<li><a href="/questions/" class="">Вопрос-ответ</a></li>
		
	
</ul>
                            </li>
        
        
                                    <li ><a
                        href="/questions/">Вопрос-ответ</a>
                            </li>
        
        
    </ul>
                </div>
                <div class="header-right">
                    <div class="header-location locationPopup-trigger">
                        <svg xmlns="http://www.w3.org/2000/svg" width="14" height="15" viewBox="0 0 14 15" fill="none">
                            <path d="M13.829 0.670855C13.6627 0.504029 13.4131 0.455029 13.1955 0.543104L0.362039 5.79315C0.122287 5.89173 -0.0241405 6.13616 0.00328557 6.39398C0.03011 6.65181 0.223788 6.86066 0.478716 6.90731L6.4982 8.00164L7.59313 14.0211C7.63921 14.2761 7.84806 14.4697 8.10589 14.4971C8.12631 14.4989 8.14671 14.5001 8.16656 14.5001C8.40106 14.5001 8.61632 14.3583 8.70674 14.1372L13.9568 1.30379C14.0454 1.08676 13.9952 0.837107 13.829 0.670855Z"
                                  fill="#7F7F7F"/>
                        </svg>
                        <span class="locationPopup-trigger">Москва</span>
                    </div>

                    <div class="header-location-icon locationPopup-trigger">
                        <svg width="24" height="28" viewBox="0 0 24 28" fill="none" xmlns="http://www.w3.org/2000/svg">
                            <path fill-rule="evenodd" clip-rule="evenodd" d="M12 28C10.9494 27.3409 9.78908 26.4276 8.62052 25.3229C5.96047 22.8086 3.30862 19.34 1.87665 15.668C0.473395 12.0696 0.248019 8.27901 2.37545 5.03714C2.85031 4.32078 3.41109 3.65863 4.04664 3.06387C6.20749 1.02134 9.10293 0 12 0C14.8972 0 17.7926 1.02134 19.9535 3.06357C20.589 3.65836 21.1498 4.32053 21.6246 5.03692C23.7521 8.27878 23.5267 12.0693 22.1234 15.6677C20.6916 19.3397 18.0397 22.8082 15.3797 25.3226C14.2111 26.4272 13.0506 27.3406 12 28ZM16.0902 10.9017C15.997 10.0072 15.5785 9.17097 14.9062 8.53543C14.5249 8.17416 14.072 7.88766 13.5732 7.69239C13.0745 7.49712 12.5399 7.39695 12 7.39761C11.0492 7.3976 10.1277 7.70924 9.39267 8.27944C8.65763 8.84963 8.15449 9.6431 7.96898 10.5246C7.78348 11.4062 7.92708 12.3212 8.37532 13.1139C8.82356 13.9066 9.5487 14.5279 10.4272 14.8718C11.3057 15.2158 12.2832 15.2611 13.1931 15.0002C14.103 14.7393 14.8891 14.1882 15.4174 13.4409C15.9456 12.6936 16.1834 11.7962 16.0902 10.9017ZM15.4687 7.2875C14.4909 6.52892 13.265 6.1143 12 6.11428C11.2819 6.11338 10.5706 6.24665 9.90707 6.50643C9.24356 6.76621 8.6409 7.14737 8.13373 7.62802C7.23923 8.47351 6.68256 9.58603 6.55855 10.776C6.43455 11.966 6.75088 13.1598 7.45366 14.154C8.15644 15.1482 9.20217 15.8813 10.4127 16.2284C11.6232 16.5756 12.9236 16.5152 14.0923 16.0576C15.261 15.6 16.2257 14.7736 16.822 13.7191C17.4184 12.6645 17.6094 11.4472 17.3627 10.2744C17.1159 9.10167 16.4466 8.04607 15.4687 7.2875Z" fill="#EB5757"/>
                        </svg>
                    </div>
                    
                    <div class="location-window" id="location-window">
    <div class="locationWindow-content">
        <div class="locationWindow-text">Ваш город - Москва?</div>
        <div class="locationWindow-buttons">
            <div class="button-yes locationWindow-close">Да, он</div>
            <div class="button-no locationPopup-trigger">Нет, не он</div>
        </div>
    </div>
</div>
                    <div class="header-phone">
                        <svg width="24" height="25" viewBox="0 0 24 25" fill="none" xmlns="http://www.w3.org/2000/svg">
                            <path d="M15.1616 14.2645L14.7571 14.6909C14.7571 14.6909 13.7945 15.7036 11.1678 12.9384C8.54118 10.1732 9.50384 9.16049 9.50384 9.16049L9.75806 8.89131C10.3865 8.2306 10.4461 7.16895 9.89761 6.39341L8.77762 4.8094C8.09851 3.84939 6.78741 3.72233 6.00964 4.54116L4.61409 6.00941C4.2292 6.416 3.97143 6.94118 4.00254 7.52471C4.08254 9.01837 4.72076 12.2306 8.27984 15.9784C12.0549 19.9521 15.5971 20.1102 17.0451 19.9672C17.5038 19.922 17.902 19.6754 18.2229 19.3366L19.4851 18.0076C20.3384 17.1107 20.0984 15.5718 19.0069 14.9441L17.3091 13.9662C16.5927 13.5549 15.7216 13.6754 15.1616 14.2645Z" fill="#26364B"/>
                        </svg>
                        <a href="tel:+74954143773">+7 495 414-37-73</a>                    </div>
                    <div class="header-burger">
                        <svg width="26" height="18" viewBox="0 0 26 18" fill="none" xmlns="http://www.w3.org/2000/svg">
                            <path d="M1 1H25" stroke="#303633" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
                            <path d="M1 9H25" stroke="#303633" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
                            <path d="M1 17H25" stroke="#303633" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
                        </svg>
                        <svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg">
                            <path d="M1 1L16.5551 16.5551" stroke="#303633" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
                            <path d="M1.44482 16.9999L17 1.44481" stroke="#303633" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
                        </svg>
                    </div>
                </div>
            </div>
		</header>

        
		<content class="0">
                <div class="first-screen">
        <div class="container">
            <h1 class="firstScreen-title">Поиск врачей и клиник в России</h1>
            <div class="firstScreen-filter">
                <div class="filter-block">
    <div class="filterBlock-item filterBlock-item_specialization">
        <div class="filterBlockItem-input">
            <input class="specialization-name" type="text" value=""
                   placeholder="Врач, клиника, услуга">
        </div>
        <div class="filterBlockItem-dropdown filter-dropdown specializations-dropdown"></div>
        <input class="specialization-url" type="hidden" value="">
    </div>

            <div class="filterBlock-item filterBlock-item_station">
            <div class="filterBlockItem-input">
                <input class="station-name" type="text" value=""
                       placeholder="Метро">
            </div>
            <div class="filterBlockItem-dropdown filter-dropdown stations-dropdown"></div>
            <input class="station-url" type="hidden" value="">
        </div>
    
    <div class="filterBlock-item filterBlock-item_actions">
        <div class="button button_blue filterBlock-searchTrigger">Найти</div>
    </div>
</div>

<link rel="stylesheet" href="/include/filter/style.css">            </div>
            <div class="firstScreen-icons">
                <div class="firstScreen-icon">
                    <div class="firstScreenIcon-info">
                        <div class="firstScreenIcon-image">
                            <svg xmlns="http://www.w3.org/2000/svg" width="60" height="60" viewBox="0 0 60 60"
                                 fill="none">
                                <rect width="60" height="60" rx="10" fill="#F3F6FA"/>
                                <path d="M42.931 26.5521V35.5169C42.9296 36.8425 42.4024 38.1135 41.4652 39.051C40.5279 39.9885 39.257 40.5159 37.9314 40.5176H26.8241L15.7091 44.9627C15.5986 45.0066 15.4763 45.0111 15.3629 44.9754C15.2495 44.9397 15.1518 44.866 15.0863 44.7667C15.0209 44.6674 14.9916 44.5486 15.0035 44.4303C15.0154 44.312 15.0677 44.2014 15.1516 44.1171L18.8783 40.3902C17.7765 40.1351 16.7936 39.5147 16.0894 38.6298C15.3852 37.7449 15.0012 36.6478 15 35.5169V26.5521C15.0016 25.2264 15.529 23.9555 16.4663 23.018C17.4036 22.0806 18.6745 21.5532 20.0002 21.5514H37.9314C39.257 21.5531 40.5279 22.0805 41.4652 23.018C42.4024 23.9555 42.9296 25.2264 42.931 26.5521ZM39.3103 15H24.8276C23.5219 15.0018 22.2565 15.452 21.2429 16.2751C20.2294 17.0982 19.5292 18.2444 19.2596 19.5219C19.5056 19.4959 19.7528 19.4827 20.0002 19.4824H37.9314C39.8056 19.4846 41.6024 20.2302 42.9276 21.5556C44.2527 22.8809 44.9981 24.6779 45 26.5521V20.6897C44.9981 19.1812 44.3981 17.7352 43.3314 16.6685C42.2648 15.6019 40.8188 15.0019 39.3103 15Z"
                                      fill="#2F80ED"/>
                            </svg>
                        </div>
                        <div class="firstScreenIcon-text">
                            <span>85789</span>отзывов
                        </div>
                    </div>
                    <div class="firstScreenIcon-pop">+123</div>
                </div>
                <div class="firstScreen-icon">
                    <div class="firstScreenIcon-info">
                        <div class="firstScreenIcon-image">
                            <svg xmlns="http://www.w3.org/2000/svg" width="60" height="60" viewBox="0 0 60 60"
                                 fill="none">
                                <rect width="60" height="60" rx="10" fill="#F3F6FA"/>
                                <path d="M40.9167 18.0833H37.7917V17.0417C37.7917 16.7654 37.6819 16.5004 37.4866 16.3051C37.2912 16.1098 37.0262 16 36.75 16C36.4737 16 36.2087 16.1098 36.0134 16.3051C35.8181 16.5004 35.7083 16.7654 35.7083 17.0417V18.0833H25.2917V17.0417C25.2917 16.7654 25.1819 16.5004 24.9866 16.3051C24.7912 16.1098 24.5262 16 24.25 16C23.9737 16 23.7088 16.1098 23.5134 16.3051C23.3181 16.5004 23.2083 16.7654 23.2083 17.0417V18.0833H20.0833C19.5308 18.0833 19.0009 18.3028 18.6102 18.6935C18.2195 19.0842 18 19.6141 18 20.1667V41C18 41.5525 18.2195 42.0824 18.6102 42.4731C19.0009 42.8639 19.5308 43.0833 20.0833 43.0833H40.9167C41.4692 43.0833 41.9991 42.8639 42.3898 42.4731C42.7805 42.0824 43 41.5525 43 41V20.1667C43 19.6141 42.7805 19.0842 42.3898 18.6935C41.9991 18.3028 41.4692 18.0833 40.9167 18.0833ZM35.9036 31.3385L29.8229 37.0677C29.7283 37.1604 29.6165 37.2334 29.4935 37.2826C29.3706 37.3318 29.2392 37.356 29.1068 37.3542C28.8399 37.3552 28.5831 37.2525 28.3906 37.0677L25.0964 33.9427C24.9905 33.8504 24.9045 33.7376 24.8433 33.6111C24.7822 33.4848 24.7473 33.3473 24.7406 33.207C24.7341 33.0668 24.7558 32.9266 24.8047 32.7949C24.8536 32.6633 24.9286 32.5429 25.0253 32.441C25.122 32.3392 25.2381 32.2578 25.367 32.202C25.4958 32.1461 25.6347 32.117 25.7751 32.1161C25.9155 32.1153 26.0547 32.1429 26.1842 32.1972C26.3136 32.2516 26.4308 32.3316 26.5286 32.4323L29.1068 34.8802L34.4714 29.8281C34.5697 29.7326 34.6862 29.6577 34.814 29.6078C34.9418 29.558 35.0781 29.5342 35.2152 29.5378C35.3524 29.5415 35.4873 29.5725 35.6123 29.6291C35.7372 29.6856 35.8496 29.7666 35.9427 29.8672C36.1324 30.0676 36.2349 30.3351 36.2275 30.6109C36.2202 30.8868 36.1038 31.1484 35.9036 31.3385ZM40.9167 24.3333H20.0833V20.1667H23.2083V21.2083C23.2083 21.4846 23.3181 21.7496 23.5134 21.9449C23.7088 22.1403 23.9737 22.25 24.25 22.25C24.5262 22.25 24.7912 22.1403 24.9866 21.9449C25.1819 21.7496 25.2917 21.4846 25.2917 21.2083V20.1667H35.7083V21.2083C35.7083 21.4846 35.8181 21.7496 36.0134 21.9449C36.2087 22.1403 36.4737 22.25 36.75 22.25C37.0262 22.25 37.2912 22.1403 37.4866 21.9449C37.6819 21.7496 37.7917 21.4846 37.7917 21.2083V20.1667H40.9167V24.3333Z"
                                      fill="#2F80ED"/>
                            </svg>
                        </div>
                        <div class="firstScreenIcon-text">
                            <span>5695</span>записей на прием
                        </div>
                    </div>
                    <div class="firstScreenIcon-pop">
                        +335
                    </div>
                </div>
                <div class="firstScreen-icon">
                    <div class="firstScreenIcon-info">
                        <div class="firstScreenIcon-image">
                            <svg xmlns="http://www.w3.org/2000/svg" width="60" height="60" viewBox="0 0 60 60"
                                 fill="none">
                                <rect width="60" height="60" rx="10" fill="#F3F6FA"/>
                                <path d="M24.2111 44.955C24.6573 44.955 25.1142 44.9524 25.581 44.9524H34.4177C34.8839 44.9524 35.3408 44.955 35.787 44.955C39.8758 44.955 43 44.7459 43 40.4715C43 35.9976 39.5785 32.3248 35.2088 31.9255C35.1741 33.4907 30.0008 37.3533 30.0008 37.3533C30.0008 37.3533 24.8262 33.491 24.7912 31.9259C20.4222 32.3248 17 35.9976 17 40.4715C17 44.7459 20.123 44.955 24.2111 44.955ZM33.8605 39.118C33.8605 38.9906 33.9754 38.8879 34.1182 38.8879H35.5158V37.491C35.5158 37.3495 35.6178 37.2333 35.7452 37.2333H37.1244C37.2511 37.2333 37.3538 37.3485 37.3538 37.491V38.8883H38.7507C38.8922 38.8883 39.0081 38.9909 39.0081 39.1183V40.4969C39.0081 40.6243 38.8932 40.7269 38.7507 40.7269H37.3535V42.1238C37.3535 42.266 37.2505 42.3812 37.1234 42.3812H35.7448C35.6174 42.3812 35.5148 42.2663 35.5148 42.1238V40.7266H34.1179C33.9757 40.7266 33.8602 40.6239 33.8602 40.4965L33.8605 39.118Z"
                                      fill="#2F80ED"/>
                                <path d="M30.0024 33.0487C33.9545 33.0487 37.1579 27.1062 37.1579 23.1545C37.1579 19.2034 33.9545 16 30.0024 16C26.051 16 22.8477 19.2034 22.8477 23.1545C22.8477 27.1062 26.051 33.0487 30.0024 33.0487Z"
                                      fill="#2F80ED"/>
                            </svg>
                        </div>
                        <div class="firstScreenIcon-text">
                            <span>8062</span>врача                        </div>
                    </div>
                    <div class="firstScreenIcon-pop">+11</div>
                </div>
                <div class="firstScreen-icon">
                    <div class="firstScreenIcon-info">
                        <div class="firstScreenIcon-image">
                            <svg xmlns="http://www.w3.org/2000/svg" width="60" height="60" viewBox="0 0 60 60"
                                 fill="none">
                                <rect width="60" height="60" rx="10" fill="#F3F6FA"/>
                                <path d="M30.5652 30H35.0869V39.0435H30.5652V30Z" fill="#2F80ED"/>
                                <path d="M41.8695 39.0434V26.6086H18.1304V39.0434H23.7825V29.4347C23.7825 29.2848 23.8421 29.1411 23.9481 29.0351C24.0541 28.9291 24.1979 28.8695 24.3478 28.8695H35.6521C35.802 28.8695 35.9458 28.9291 36.0518 29.0351C36.1578 29.1411 36.2173 29.2848 36.2173 29.4347V39.0434H41.8695Z"
                                      fill="#2F80ED"/>
                                <path d="M24.9131 30H29.4348V39.0435H24.9131V30Z" fill="#2F80ED"/>
                                <path d="M41.8696 22.6522H34.5217V18.1304C34.5214 17.8307 34.4022 17.5434 34.1903 17.3314C33.9784 17.1195 33.691 17.0003 33.3913 17H26.6087C26.309 17.0003 26.0216 17.1195 25.8097 17.3314C25.5978 17.5434 25.4786 17.8307 25.4783 18.1304V22.6522H18.1304C17.8307 22.6525 17.5434 22.7717 17.3314 22.9836C17.1195 23.1955 17.0003 23.4829 17 23.7826V24.3478C17.0003 24.6475 17.1195 24.9349 17.3314 25.1468C17.5434 25.3588 17.8307 25.478 18.1304 25.4783H41.8696C42.1693 25.478 42.4566 25.3588 42.6686 25.1468C42.8805 24.9349 42.9997 24.6475 43 24.3478V23.7826C42.9997 23.4829 42.8805 23.1955 42.6686 22.9836C42.4566 22.7717 42.1693 22.6525 41.8696 22.6522ZM31.6957 21.5217H30.5652V22.6522C30.5652 22.8021 30.5057 22.9458 30.3997 23.0518C30.2937 23.1578 30.1499 23.2174 30 23.2174C29.8501 23.2174 29.7063 23.1578 29.6003 23.0518C29.4943 22.9458 29.4348 22.8021 29.4348 22.6522V21.5217H28.3043C28.1544 21.5217 28.0107 21.4622 27.9047 21.3562C27.7987 21.2502 27.7391 21.1064 27.7391 20.9565C27.7391 20.8066 27.7987 20.6629 27.9047 20.5569C28.0107 20.4509 28.1544 20.3913 28.3043 20.3913H29.4348V19.2609C29.4348 19.111 29.4943 18.9672 29.6003 18.8612C29.7063 18.7552 29.8501 18.6957 30 18.6957C30.1499 18.6957 30.2937 18.7552 30.3997 18.8612C30.5057 18.9672 30.5652 19.111 30.5652 19.2609V20.3913H31.6957C31.8456 20.3913 31.9893 20.4509 32.0953 20.5569C32.2013 20.6629 32.2609 20.8066 32.2609 20.9565C32.2609 21.1064 32.2013 21.2502 32.0953 21.3562C31.9893 21.4622 31.8456 21.5217 31.6957 21.5217Z"
                                      fill="#2F80ED"/>
                                <path d="M42.4348 40.174H17.5652C17.4153 40.174 17.2715 40.2335 17.1655 40.3395C17.0595 40.4455 17 40.5893 17 40.7392V41.3044C17.0005 41.7539 17.1793 42.185 17.4972 42.5028C17.8151 42.8207 18.2461 42.9995 18.6957 43H41.3043C41.7539 42.9995 42.1849 42.8207 42.5028 42.5028C42.8207 42.185 42.9995 41.7539 43 41.3044V40.7392C43 40.5893 42.9405 40.4455 42.8345 40.3395C42.7285 40.2335 42.5847 40.174 42.4348 40.174Z"
                                      fill="#2F80ED"/>
                            </svg>
                        </div>
                        <div class="firstScreenIcon-text">
                            <span>1071</span>клиника                        </div>
                    </div>
                    <div class="firstScreenIcon-pop">+123</div>
                </div>
                <div class="firstScreen-icon">
                    <div class="firstScreenIcon-info">
                        <div class="firstScreenIcon-image">
                            <svg xmlns="http://www.w3.org/2000/svg" width="60" height="60" viewBox="0 0 60 60"
                                 fill="none">
                                <rect width="60" height="60" rx="10" fill="#F3F6FA"/>
                                <path d="M32.6899 22.7554C33.8921 23.5092 34.735 24.7847 34.8885 26.2653C35.3788 26.4943 35.9229 26.6261 36.4998 26.6261C38.606 26.6261 40.313 24.919 40.313 22.8132C40.313 20.7071 38.606 19 36.4998 19C34.4138 19.0006 32.7217 20.6772 32.6899 22.7554ZM30.1918 30.5629C32.2979 30.5629 34.005 28.8555 34.005 26.7497C34.005 24.6439 32.2976 22.9368 30.1918 22.9368C28.0859 22.9368 26.3779 24.6442 26.3779 26.75C26.3779 28.8559 28.0859 30.5629 30.1918 30.5629ZM31.8093 30.8228H28.5736C25.8815 30.8228 23.6913 33.0133 23.6913 35.7055V39.6624L23.7013 39.7244L23.9739 39.8097C26.5431 40.6125 28.7751 40.8802 30.6123 40.8802C34.2006 40.8802 36.2805 39.8571 36.4087 39.7919L36.6634 39.6631H36.6906V35.7055C36.6916 33.0133 34.5014 30.8228 31.8093 30.8228ZM38.118 26.8863H34.9073C34.8726 28.1709 34.3242 29.3276 33.4569 30.1596C35.8499 30.8712 37.6008 33.0902 37.6008 35.7113V36.9307C40.7709 36.8145 42.5977 35.9161 42.718 35.8557L42.9727 35.7266H43V31.7683C43 29.0765 40.8098 26.8863 38.118 26.8863ZM23.5008 26.6267C24.2468 26.6267 24.9408 26.409 25.5288 26.0381C25.7157 24.8191 26.3692 23.7539 27.3027 23.0283C27.3066 22.9569 27.3134 22.8862 27.3134 22.8142C27.3134 20.708 25.606 19.001 23.5008 19.001C21.3943 19.001 19.6876 20.708 19.6876 22.8142C19.6876 24.9194 21.3943 26.6267 23.5008 26.6267ZM26.9253 30.1596C26.0622 29.3319 25.5158 28.1813 25.4759 26.9045C25.3568 26.8957 25.239 26.8863 25.1177 26.8863H21.8823C19.1902 26.8863 17 29.0765 17 31.7683V35.7259L17.0101 35.7869L17.2826 35.8729C19.3437 36.5163 21.1831 36.8129 22.7808 36.9064V35.7113C22.7815 33.0902 24.5317 30.8718 26.9253 30.1596Z"
                                      fill="#2F80ED"/>
                            </svg>
                        </div>
                        <div class="firstScreenIcon-text">
                            <span>1597</span>посетителей в месяц
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>

    <div class="offers">
    <div class="container">
        <h2 class="offers-title">Медицинские услуги в Москве </h2>
        <div class="offers-cards">
            <div class="offers-card">
                <a class="offersCard-head" href="/doctors/">
                    <div>Врачи</div>
                    <span>8390</span>
                </a>
                <div class="offersCard-list">
                                            <a class="offersCardList-item"
                           href="/doctors/?speciality=%D0%A1%D1%82%D0%BE%D0%BC%D0%B0%D1%82%D0%BE%D0%BB%D0%BE%D0%B3">
                            <div>Стоматолог</div>
                            <span>6278</span>
                        </a>
                                            <a class="offersCardList-item"
                           href="/doctors/?speciality=%D0%A1%D1%82%D0%BE%D0%BC%D0%B0%D1%82%D0%BE%D0%BB%D0%BE%D0%B3-%D1%85%D0%B8%D1%80%D1%83%D1%80%D0%B3">
                            <div>Стоматолог-хирург</div>
                            <span>1714</span>
                        </a>
                                            <a class="offersCardList-item"
                           href="/doctors/?speciality=%D0%A1%D1%82%D0%BE%D0%BC%D0%B0%D1%82%D0%BE%D0%BB%D0%BE%D0%B3-%D0%B8%D0%BC%D0%BF%D0%BB%D0%B0%D0%BD%D1%82%D0%BE%D0%BB%D0%BE%D0%B3">
                            <div>Стоматолог-имплантолог</div>
                            <span>1013</span>
                        </a>
                                            <a class="offersCardList-item"
                           href="/doctors/?speciality=%D0%A1%D1%82%D0%BE%D0%BC%D0%B0%D1%82%D0%BE%D0%BB%D0%BE%D0%B3-%D1%82%D0%B5%D1%80%D0%B0%D0%BF%D0%B5%D0%B2%D1%82">
                            <div>Стоматолог-терапевт</div>
                            <span>2763</span>
                        </a>
                                            <a class="offersCardList-item"
                           href="/doctors/?speciality=%D0%A1%D1%82%D0%BE%D0%BC%D0%B0%D1%82%D0%BE%D0%BB%D0%BE%D0%B3-%D0%BE%D1%80%D1%82%D0%BE%D0%BF%D0%B5%D0%B4">
                            <div>Стоматолог-ортопед</div>
                            <span>1850</span>
                        </a>
                                    </div>
                <a class="offersCard-button button-blue" href="/doctors/">Все врачи</a>
            </div>
            <div class="offers-card">
                <a class="offersCard-head" href="/clinics/">
                    <div>Клиники</div>
                    <span>1071</span>
                </a>
                <div class="offersCard-list">
                    <a class="offersCardList-item" href="/clinics/?clinic">
                        <div>Клиника</div>
                        <span>1068</span>
                    </a>
                                                                <a class="offersCardList-item" href="/clinics/?diagnostic">
                            <div>Диагностический центр</div>
                            <span>449</span>
                        </a>
                                    </div>
                <a class="offersCard-button button-blue" href="/clinics/">Все
                    клиники</a>
            </div>
            <div class="offers-card">
                <a class="offersCard-head" href="/services/">
                    <div>Услуги</div>
                    <span>194</span>
                </a>
                <div class="offersCard-list">
                    
                                                    <a class="offersCardList-item"
                               href="/services/stomatologicheskie-uslugi/">
                                <div>Стоматология</div>
                            </a>
                        
                    
                                                    <a class="offersCardList-item"
                               href="/services/category-revmatologiya/">
                                <div>Ревматология</div>
                            </a>
                        
                    
                                                    <a class="offersCardList-item"
                               href="/services/category-travmatologiya/">
                                <div>Травматология</div>
                            </a>
                        
                                    </div>
                <a class="offersCard-button button-blue"
                   href="/services/">Все услуги</a>
            </div>
        </div>
    </div>
</div>

    <div class="advantages-home">
        <div class="container">
                <div class="advantagesHome-list">

                            <div class="advantagesHome-item" id="bx_3218110189_76">
                            <img
                        class="picture"
                        src="/upload/iblock/dc1/10npq88qugqezpnxv9b0vs10al50izk9.svg"
                        width="100"
                        height="100"
                        alt=""
                        title=""
                        loading="lazy"
                />
            
            <div class="title">
                            Бесплатная консультация                        </div>

                            <div class="text">
                    Специалисты портала помогут с записью и ответят на вопросы                </div>
            
        </div>
                            <div class="advantagesHome-item" id="bx_3218110189_77">
                            <img
                        class="picture"
                        src="/upload/iblock/0e7/93u1w5c6ylozumucvlnp3hvqt0b5lk2d.svg"
                        width="100"
                        height="100"
                        alt=""
                        title=""
                        loading="lazy"
                />
            
            <div class="title">
                            Опытные специалисты                        </div>

                            <div class="text">
                    Мы отобрали настоящих профессионалов своего дела, чтобы вы нашли врача под свой запрос                </div>
            
        </div>
                            <div class="advantagesHome-item" id="bx_3218110189_78">
                            <img
                        class="picture"
                        src="/upload/iblock/ff9/s5xwy7lj4224c41orwsp5ftazgp0gme7.svg"
                        width="100"
                        height="100"
                        alt=""
                        title=""
                        loading="lazy"
                />
            
            <div class="title">
                            Выгодные<br> цены                        </div>

                            <div class="text">
                    Запишитесь онлайн — это быстро и выгоднее, чем в клинике                </div>
            
        </div>
        
    </div>
        </div>
    </div>

    <div class="callback">
        <div class="container">
            <div class="callback-wrapper">
                <div class="callback-title">Поможем записаться на прием</div>
                <div class="callback-subtitle">Оставьте свой номер и мы перезвоним вам в течение 10 минут</div>
                <div class="callback-form">
                    <div id="comp_ee74e938891449b9b405fa643f479248">

<div class="callbackForm-note">
    </div>

<form name="SIMPLE_FORM_1" action="/" method="POST" enctype="multipart/form-data"><input type="hidden" name="bxajaxid" id="bxajaxid_ee74e938891449b9b405fa643f479248_8BACKi" value="ee74e938891449b9b405fa643f479248" /><input type="hidden" name="AJAX_CALL" value="Y" /><input type="hidden" name="sessid" id="sessid" value="cca1aa041b84bcdb8114d7022e623fbc" /><input class="xname name" tabindex="-1"  autocomplete="off" type="text" name="last_name" value=""><input type="hidden" name="WEB_FORM_ID" value="1" />    <div class="callbackForm-wrapper js-callbackForm">
                            <div class="callbackForm-row">
                                                <input type="text"  class="phone" required placeholder="+7 (000) 000-00-00" name="form_text_1" value="">                    </div>
                            
        <div class="callbackForm-row callbackForm-button js-callbackForm-button">
                        <input                     type="submit"
                    name="web_form_submit"
                    value="Позвоните мне"/>
        </div>
    </div>
</form></div>                </div>
            </div>
        </div>
    </div>


</content>
<footer>
    <div class="footer-top">
        <div class="container">
            <div class="footerTop-left">
                <div class="footerTop-logo">
                    <a href="/">
                        <img src="/local/templates/generator/assets/images/footer-logo.svg" width="163" height="21"
                             alt="logo">
                    </a>
                </div>
                <div class="footerTop-slogan">
                    Медицинский портал                </div>
                <div class="footerTop-mail">
                    Пишите нам на почту:
<a href="mailto:info@1001doc.ru">info@1001doc.ru</a>                </div>
                <div class="footerTop-icons">
                    <a class="footerTop-icon" href="https://vk.com/tysyacha.odin.doktor">
    <svg width="30" height="30" viewBox="0 0 30 30" fill="none" xmlns="http://www.w3.org/2000/svg">
        <rect width="30" height="30" rx="4" fill="white"/>
        <path fill-rule="evenodd" clip-rule="evenodd" d="M8.64437 10H6.67516C6.11254 10 6 10.2478 6 10.521C6 11.0089 6.66762 13.4288 9.10849 16.6294C10.7358 18.8152 13.0284 20 15.1146 20C16.3664 20 16.5212 19.7369 16.5212 19.2836V17.6316C16.5212 17.1052 16.6398 17.0002 17.0361 17.0002C17.3282 17.0002 17.8289 17.1368 18.9972 18.1907C20.3324 19.4397 20.5525 20 21.3035 20H23.2727C23.8354 20 24.1167 19.7369 23.9544 19.2175C23.7768 18.6999 23.1394 17.9489 22.2935 17.0588C21.8345 16.5514 21.146 16.005 20.9374 15.7317C20.6453 15.3804 20.7288 15.2243 20.9374 14.9121C20.9374 14.9121 23.3366 11.7505 23.5869 10.6772C23.7121 10.2868 23.5869 10 22.9914 10H21.0222C20.5215 10 20.2906 10.2478 20.1655 10.521C20.1655 10.521 19.1641 12.8043 17.7455 14.2875C17.2865 14.7169 17.0778 14.8535 16.8275 14.8535C16.7023 14.8535 16.5211 14.7169 16.5211 14.3266V10.6772C16.5211 10.2088 16.3758 10 15.9585 10H12.864C12.5512 10 12.363 10.2174 12.363 10.4234C12.363 10.8674 13.0723 10.9698 13.1454 12.2188V14.9316C13.1454 15.5263 13.0305 15.6341 12.7802 15.6341C12.1126 15.6341 10.4887 13.3406 9.52562 10.7161C9.33699 10.2061 9.14767 10 8.64437 10Z" fill="#1497E0"/>
    </svg>
</a>
<a class="footerTop-icon" href="" style="display: none!important;">
    <svg width="30" height="30" viewBox="0 0 30 30" fill="none" xmlns="http://www.w3.org/2000/svg">
        <rect width="30" height="30" rx="4" fill="white"/>
        <path fill-rule="evenodd" clip-rule="evenodd" d="M8.96212 14.1659C12.719 12.4724 15.2241 11.356 16.4775 10.8166C20.0564 9.2765 20.8001 9.00895 21.2848 9.00009C21.3914 8.99817 21.6298 9.02551 21.7842 9.15515C22.0132 9.34744 22.0145 9.76483 21.9891 10.0411C21.7951 12.1494 20.956 17.2657 20.529 19.6271C20.3483 20.6262 19.9926 20.9613 19.6483 20.9941C18.9 21.0653 18.3317 20.4823 17.6068 19.9908C16.4726 19.2215 15.8318 18.7426 14.7308 17.992C13.4585 17.1245 14.2833 16.6478 15.0084 15.8685C15.1982 15.6646 18.4955 12.5616 18.5594 12.28C18.5674 12.2448 18.5748 12.1136 18.4994 12.0443C18.424 11.975 18.3128 11.9987 18.2326 12.0175C18.1188 12.0443 16.3069 13.2834 12.7968 15.7348C12.2825 16.1003 11.8166 16.2783 11.3992 16.2689C10.9391 16.2587 10.054 15.9998 9.396 15.7785C8.58895 15.5071 7.94752 15.3635 8.00339 14.9026C8.03249 14.6624 8.35205 14.4169 8.96212 14.1659Z" fill="#29AAEC"/>
    </svg>
</a>                </div>
            </div>
            <div class="footerTop-menu first">
                
<ul class="footer-menu">

	        
					<li><a href="/" class="selected ">Главная</a></li>
				
	                            
					<li><a href="/clinics/" class="">Клиники</a></li>
				
	                            
					<li><a href="/doctors/" class="">Специалисты</a></li>
				
	                            
					<li><a href="/services/" class="">Услуги</a></li>
				
	        
					<li><a href="/questions/" class="">Вопрос-ответ</a></li>
				
	
</ul>
            </div>
            <div class="footerTop-menu second">
                
<ul class="footer-menu">

	        
					<li><a href="/about/" class="">О сервисе</a></li>
				
	        
					<li><a href="/sales/" class="">Акции</a></li>
				
	        
					<li><a href="/blog/" class="">Блог</a></li>
				
	        
					<li><a href="/about/contacts/" class="">Контакты</a></li>
				
	
</ul>
            </div>
            <div class="footerTop-subscribe">
                <div class="footerTopSubscribe-title"> Подпишитесь, чтобы быть в курсе выгодных акций!</div>
                <div class="subscribe-form">
                    <div id="comp_241e4a1a0670463601328a46c6058f1b">

<div class="subscribeForm-note">
    </div>

<form name="SIMPLE_FORM_2" action="/" method="POST" enctype="multipart/form-data"><input type="hidden" name="bxajaxid" id="bxajaxid_241e4a1a0670463601328a46c6058f1b_Ar8Szp" value="241e4a1a0670463601328a46c6058f1b" /><input type="hidden" name="AJAX_CALL" value="Y" /><input type="hidden" name="sessid" id="sessid_1" value="cca1aa041b84bcdb8114d7022e623fbc" /><input class="xname name" tabindex="-1"  autocomplete="off" type="text" name="last_name" value=""><input type="hidden" name="WEB_FORM_ID" value="2" />    <div class="subscribeForm-wrapper">
                            <div class="subscribeForm-row">
                                                <input type="text" required class="email" placeholder="E-mail" name="form_text_2" value="">                    </div>
                            
        <div class="subscribeForm-row subscribeForm-button">
                        <input                     type="submit"
                    name="web_form_submit"
                    value="Подписаться"/>
        </div>
    </div>
</form></div>                </div>
            </div>
        </div>
    </div>
    <div class="footer-middle">
        <div class="container">
            <div class="footerMiddle-left footer-attention">
                <svg width="30" height="30" viewBox="0 0 30 30" fill="none" xmlns="http://www.w3.org/2000/svg">
    <circle cx="15" cy="15" r="14.5" stroke="#91BFFE"/>
    <path d="M11.0688 20.2188C10.0771 20.2188 9.1 19.825 8.45833 19.0812C7.83125 18.3667 7.58333 17.6083 7.58333 16.6167V12.8687C7.58333 11.8917 7.83125 11.1042 8.4875 10.375C9.11458 9.675 10.0625 9.26667 11.0688 9.28125C12.0458 9.26667 12.9938 9.64583 13.65 10.375C14.2917 11.075 14.5542 11.8771 14.5542 12.8687V16.6167C14.5542 17.5646 14.3063 18.3667 13.6938 19.0812C13.0375 19.8104 12.1042 20.2188 11.0688 20.2188ZM11.0688 10.4187C10.2813 10.4042 9.56667 10.8271 9.15833 11.4542C8.89583 11.8625 8.77917 12.3292 8.77917 12.8687V16.6167C8.77917 17.1271 8.86667 17.6229 9.15833 18.0458C9.58125 18.6729 10.2958 19.0812 11.0688 19.0812C11.8563 19.0812 12.5708 18.6729 12.9792 18.0458C13.2708 17.6229 13.3583 17.1854 13.3583 16.6167V12.8687C13.3583 12.3292 13.2563 11.9062 12.9938 11.4542C12.5708 10.8271 11.8563 10.4042 11.0688 10.4187ZM23.0098 15.3917V16.3833H20.0056V19.3875H19.0139V16.3833H16.0098V15.3917H19.0139V12.3875H20.0056V15.3917H23.0098Z"
          fill="#91BFFE"/>
</svg>
<span>Информация, представленная на сайте, не может быть использована <br>для постановки диагноза, назначения лечения и не заменяет приём врача.</span>            </div>
            <div class="footerMiddle-right">
                <div class="footer-legal">
                    <p>ООО «Витриум»</p>
<p>ИНН 9726060165</p>
<p>ОГРН: 1237700829442</p>                </div>
                <div class="">
                    <p>Юр.Адрес: 117638, г Москва, вн.тер.г. муниципальный округ Нагорный,<br> проезд Электролитный, д. 16 к. 1 , кв. 193</p>                </div>
            </div>
        </div>
    </div>
    <div class="footer-bottom">
        <div class="container">
            <div class="footerBottom-left">
                <p>Все права защищены ©2026</p>
<p><a href="/include/files/privacy-policy.pdf" target="_blank">Политика конфиденциальности </a></p>
<p><a href="/site-map/">Карта сайта</a></p>
            </div>
            <div class="footerBottom-right footer-dev">
                <noindex><a href="https://sales-generator.ru" rel="nofollow" target="_blank">Разработка и продвижение сайта - Генератор продаж</a></noindex>            </div>
        </div>
    </div>
</footer>

<!-- стили -->
<link href="/local/templates/generator/assets/libs/fancybox.css" type="text/css" rel="stylesheet">

    <link rel="stylesheet" href="/local/templates/generator/assets/css/home-page.css">


<!-- скрипты -->
    <link rel="stylesheet" href="/local/templates/generator/assets/libs/swiper-bundle.min.css">
<div style="display: none" id="popups">
    <div class="location-popup" id="location-popup">
    <div class="popup-title">Выберите свой город</div>
    <div class="location-block">
        <div class="cities-input" style="display:none!important;">
            <input class="city-name" type="text" value="" placeholder="Введите название города">
        </div>
        <!--<div class="cities-list"></div>-->

        <div class="cities-list cities-list--all">
            <div class="cities-item cities-item--msk" data-url="/">Москва</div>
            <div class="cities-item cities-item--spb" data-url="/spb/">Санкт-Петербург</div>
            <div class="cities-item cities-item--belgorod" data-url="/belgorod/">Белгород</div>
            <div class="cities-item cities-item--ekaterinburg" data-url="/ekaterinburg/">Екатеринбург</div>
            <div class="cities-item cities-item--krasnodar" data-url="/krasnodar/">Краснодар</div>
            <div class="cities-item cities-item--nizhniy-novgorod" data-url="/nizhniy-novgorod/">Нижний Новгород</div>
            <div class="cities-item cities-item--novorossiysk" data-url="/novorossiysk/">Новороссийск</div>
            <div class="cities-item cities-item--novosibirsk" data-url="/novosibirsk/">Новосибирск</div>
            <div class="cities-item cities-item--rnd" data-url="/rnd/">Ростов-на-Дону</div>
            <div class="cities-item cities-item--samara" data-url="/samara/">Самара</div>
            <div class="cities-item cities-item--sochi" data-url="/sochi/">Сочи</div>
            <div class="cities-item cities-item--tver" data-url="/tver/">Тверь</div>
            <div class="cities-item cities-item--ufa" data-url="/ufa/">Уфа</div>
            <div class="cities-item cities-item--chelyabinsk" data-url="/chelyabinsk/">Челябинск</div>
            <div class="cities-item cities-item--elista" data-url="/elista/">Элиста</div>
        </div>

        <!--<div class="cities-list--first">
            <div class="cities-item cities-item--msk" data-url="/">Москва</div>
            <div class="cities-item cities-item--spb" data-url="/spb/">Санкт-Петербург</div>
        </div>

        <div class="cities-list--second">
            <div class="cities-item cities-item--belgorod" data-url="/belgorod/">Белгород</div>
            <div class="cities-item cities-item--ekaterinburg" data-url="/ekaterinburg/">Екатеринбург</div>
            <div class="cities-item cities-item--krasnodar" data-url="/krasnodar/">Краснодар</div>
            <div class="cities-item cities-item--nizhniy-novgorod" data-url="/nizhniy-novgorod/">Нижний Новгород</div>
            <div class="cities-item cities-item--novosibirsk" data-url="/novosibirsk/">Новосибирск</div>
            <div class="cities-item cities-item--rnd" data-url="/rnd/">Ростов-на-Дону</div>
            <div class="cities-item cities-item--samara" data-url="/samara/">Самара</div>
            <div class="cities-item cities-item--tver" data-url="/tver/">Тверь</div>
            <div class="cities-item cities-item--ufa" data-url="/ufa/">Уфа</div>
            <div class="cities-item cities-item--chelyabinsk" data-url="/chelyabinsk/">Челябинск</div>
            <div class="cities-item cities-item--elista" data-url="/elista/">Элиста</div>
        </div>-->
    </div>
</div>
<style>
    #location-popup {
        display: none;
        padding: 30px 40px;
        width: 100%;
        max-width: 900px;
        position: relative;
        min-height: 350px;
        border-radius: 8px;
        background: #FFF;
    }

    @media (max-width: 991px) {
        #location-popup {
            padding: 30px 24px;
            width: 100%;
            max-width: 345px;
            max-height: initial;
            overflow: scroll;
        }
    }

    #location-popup .f-button {
        position: absolute !important;
        top: 20px !important;
        right: 20px !important;
        color: #EB5757 !important;
        background: transparent !important;
        border-color: white !important;
        border: none;
        outline: none;
        padding: 0;
        box-shadow: none !important;
    }

    #location-popup .popup-title {
        font-weight: 600;
        font-size: 28px;
        color: #26364B;
        margin-bottom: 20px;
    }

    @media (max-width: 991px) {
        #location-popup .popup-title {
            font-size: 24px;
            margin-bottom: 15px;
        }
    }

    #location-popup .location-block {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 20px;
        width: 100%;
    }

    @media (max-width: 991px) {
        #location-popup .location-block {
            gap: 15px;
        }
    }

    #location-popup .cities-input {
        position: relative;
    }

    #location-popup .cities-input:before {
        position: absolute;
        top: calc(50% - 10px);
        right: 25px;
        content: url("data:image/svg+xml,%3Csvg width='21' height='21' viewBox='0 0 21 21' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M16.031 15.117L20.314 19.399L18.899 20.814L14.617 16.531C13.0237 17.8082 11.042 18.5029 9 18.5C4.032 18.5 0 14.468 0 9.5C0 4.532 4.032 0.5 9 0.5C13.968 0.5 18 4.532 18 9.5C18.0029 11.542 17.3082 13.5237 16.031 15.117ZM14.025 14.375C15.2938 13.0697 16.0025 11.3204 16 9.5C16 5.633 12.867 2.5 9 2.5C5.133 2.5 2 5.633 2 9.5C2 13.367 5.133 16.5 9 16.5C10.8204 16.5025 12.5697 15.7938 13.875 14.525L14.025 14.375Z' fill='%23747E79'/%3E%3C/svg%3E%0A");
        pointer-events: none;
    }

    #location-popup .cities-input input {
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
        max-width: 100%;
        width: 100%;
        height: 55px;
        padding: 15px;
        align-items: flex-start;
        align-content: flex-start;
        border-radius: 10px;
        background: #F3F6FA;
        border: none;
        outline: none;
        font-weight: 400;
        font-size: 18px;
        color: #747e79;
    }

    @media (max-width: 767px) {
        #location-popup .cities-input input {
            width: 100%;
            height: 50px;
            font-size: 14px;
        }
    }

    #location-popup .cities-input input.error {
        border-color: red;
    }

    #location-popup .cities-input input::placeholder {
        color: #1A1A1A;
    }

    #location-popup .cities-input input::-webkit-input-placeholder {
        color: #BBBDBC
    }

    #location-popup .cities-input input:focus::-moz-placeholder {
        color: #BBBDBC
    }

    #location-popup .cities-input input:focus:-moz-placeholder {
        color: #BBBDBC
    }

    #location-popup .cities-input input:focus:-ms-input-placeholder {
        color: #BBBDBC
    }

    #location-popup .cities-list {
        color: #4e4e4e;
        display: flex;
        flex-wrap: wrap;
    }

    @media (max-width: 991px) {
        #location-popup .cities-list {
        }
    }

    #location-popup .cities-list--first {
        color: #4e4e4e;
        display: flex;
        flex-wrap: wrap;
    }

    @media (max-width: 991px) {
        #location-popup .cities-list--first {
        }
    }

    #location-popup .cities-list--second {
        column-count: 3;
    }

    @media (max-width: 991px) {
        #location-popup .cities-list--second {
            column-count: 1;
        }
    }

    #location-popup .cities-item {
        position: relative;
        margin-bottom: 15px;
        cursor: pointer;
        user-select: none;
        overflow: hidden;
    }

    #location-popup .cities-list .cities-item {
        width: calc(100% / 3);
    }

    @media (max-width: 991px) {
        #location-popup .cities-list .cities-item {
            width: 100%;
        }
    }

    #location-popup .cities-list--first .cities-item {
        width: calc(100% / 3);
    }

    @media (max-width: 991px) {
        #location-popup .cities-list--first .cities-item {
            width: 100%;
        }
    }

    /*.cities-list .cities-item.cities-item--spb {
        width: calc(100% / 3 * 2)
    }

    @media (max-width: 991px) {
       #location-popup  .cities-list .cities-item.cities-item--spb {
            width: 100%;
        }
    }*/

    #location-popup .cities-list.cities-list--all .cities-item.cities-item--spb {
        width: calc(100% / 3 * 2)
    }

    @media (max-width: 991px) {
        #location-popup .cities-list.cities-list--all .cities-item.cities-item--spb {
            width: 100%;
        }
    }

    #location-popup .cities-item {
        color: #4e4e4e;
        font-size: 25px;
        font-style: normal;
        font-weight: 400;
        line-height: normal;
    }

    @media (max-width: 991px) {
        #location-popup .cities-item {
            font-size: 16px;
        }
    }

    #location-popup .cities-item:hover {
        color: var(--blue-color);
    }

    #location-popup .cities-item.cities-item--msk {
        font-weight: 600;
    }

    #location-popup .cities-item.cities-item--spb {
        font-weight: 600;
    }

    #location-popup .cities-list .no-results {
        margin-bottom: 22px;
        width: 100%;
        color: #4e4e4e;
        font-size: 25px;
        font-style: normal;
        font-weight: 400;
        line-height: normal;
    }

</style>            </div>

<noindex>
    <div id="wheel-popup" class="popup-wheel js-popup-wheel">
        <div class="popup-container">
            <div class="popup-content popup-wheel__content">
                <div class="popup-date">
                    Только до<span class="deadline">14.06</span>
                    <div class="decoration">
                       <!-- <svg width="23" height="20" viewBox="0 0 23 20" fill="none" xmlns="http://www.w3.org/2000/svg">
                            <path d="M11.2822 9.8307C12.7227 9.00619 13.707 7.47097 13.707 5.69565C13.707 3.05852 11.5615 0.913033 8.92435 0.913033C6.28722 0.913033 4.14173 3.05852 4.14173 5.69565C4.14173 7.47097 5.12599 9.00619 6.56651 9.8307C2.96332 10.7767 0.315659 13.8232 0.315659 17.4341V18.6087C0.315659 18.8727 0.529934 19.087 0.793934 19.087C1.05793 19.087 1.27221 18.8727 1.27221 18.6087V17.4341C1.27216 13.5994 4.70515 10.4783 8.92435 10.4783C13.1435 10.4783 16.5765 13.5994 16.5765 17.4341V18.6087C16.5765 18.8727 16.7908 19.087 17.0548 19.087C17.3188 19.087 17.5331 18.8727 17.5331 18.6087V17.4341C17.533 13.8232 14.8854 10.7758 11.2822 9.8307ZM5.09828 5.69565C5.09828 3.58558 6.81428 1.86958 8.92435 1.86958C11.0344 1.86958 12.7504 3.58558 12.7504 5.69565C12.7504 7.80572 11.0344 9.52172 8.92435 9.52172C6.81428 9.52172 5.09828 7.80577 5.09828 5.69565Z"
                                  fill="#3A3A3A"/>
                            <path d="M17.7224 9.84316C18.7593 9.15733 19.4461 7.98462 19.4461 6.6522C19.4461 4.54213 17.7301 2.82613 15.62 2.82613C15.356 2.82613 15.1418 3.04041 15.1418 3.30441C15.1418 3.56841 15.356 3.78268 15.62 3.78268C17.2021 3.78268 18.4896 5.07018 18.4896 6.65225C18.4896 8.23432 17.2021 9.52181 15.62 9.52181C15.356 9.52181 15.1418 9.73609 15.1418 10.0001C15.1418 10.2641 15.356 10.4783 15.62 10.4783C18.7851 10.4783 21.3591 12.8571 21.3591 15.7822V16.6956C21.3591 16.9596 21.5734 17.1739 21.8374 17.1739C22.1014 17.1739 22.3157 16.9596 22.3157 16.6956V15.7822C22.3157 13.0178 20.3873 10.6696 17.7224 9.84316Z"
                                  fill="#3A3A3A"/>
                        </svg>-->
                        <svg width="31" height="26" viewBox="0 0 31 26" fill="none" xmlns="http://www.w3.org/2000/svg">
                            <path d="M27.8157 4.57764e-05H2.81566C1.43563 0.00169884 0.317312 1.12002 0.315659 2.50005V20.5C0.317312 21.8801 1.43563 22.9984 2.81566 23H17.8157V25.5C17.8157 25.7022 17.9375 25.8845 18.1243 25.9619C18.3111 26.0393 18.5262 25.9965 18.6692 25.8535L20.3157 24.2071L21.9622 25.8535C22.1052 25.9965 22.3202 26.0393 22.507 25.9619C22.6938 25.8845 22.8156 25.7022 22.8157 25.5V23H27.8157C29.1957 22.9984 30.314 21.8801 30.3157 20.5V2.50005C30.314 1.12002 29.1957 0.00169884 27.8157 4.57764e-05ZM16.4707 9.78255C16.3934 9.74689 16.3378 9.67641 16.3212 9.59294C16.3046 9.50946 16.3289 9.42308 16.3867 9.36055C16.8341 8.8743 16.8341 8.12629 16.3867 7.64005C16.3287 7.57744 16.3043 7.49086 16.3211 7.40723C16.3378 7.3236 16.3936 7.25306 16.4712 7.21755C17.0701 6.93883 17.356 6.248 17.1292 5.62755C17.0996 5.54766 17.1101 5.45848 17.1574 5.38765C17.2047 5.31682 17.2831 5.27291 17.3682 5.26955C18.0285 5.2418 18.5574 4.71284 18.5852 4.05255C18.5885 3.96732 18.6324 3.88885 18.7034 3.84155C18.7744 3.79424 18.8637 3.78382 18.9437 3.81355C19.5642 4.03903 20.2542 3.75326 20.5337 3.15505C20.569 3.07761 20.6394 3.02187 20.7229 3.00523C20.8064 2.98859 20.8928 3.01308 20.9552 3.07105C21.4416 3.51851 22.1897 3.51851 22.6762 3.07105C22.7387 3.01312 22.8252 2.98872 22.9088 3.00545C22.9923 3.02218 23.0628 3.07801 23.0982 3.15555C23.377 3.75405 24.0674 4.03982 24.6877 3.81355C24.7676 3.78382 24.8569 3.79424 24.9279 3.84155C24.9989 3.88885 25.0428 3.96732 25.0462 4.05255C25.0742 4.71375 25.6044 5.24308 26.2657 5.27005C26.3507 5.27325 26.4291 5.31704 26.4764 5.3878C26.5237 5.45856 26.5342 5.54772 26.5047 5.62755C26.2776 6.24814 26.5638 6.93918 27.1632 7.21755C27.2404 7.2532 27.296 7.32368 27.3126 7.40716C27.3292 7.49063 27.3049 7.57702 27.2472 7.63955C26.7998 8.12579 26.7998 8.8738 27.2472 9.36005C27.3051 9.42265 27.3295 9.50923 27.3127 9.59286C27.296 9.6765 27.2402 9.74704 27.1627 9.78255C26.5637 10.0613 26.2778 10.7521 26.5047 11.3725C26.5342 11.4524 26.5237 11.5416 26.4764 11.6124C26.4291 11.6833 26.3508 11.7272 26.2657 11.7305C25.6035 11.7571 25.0727 12.2879 25.0462 12.95C25.0428 13.0353 24.9989 13.1137 24.9279 13.161C24.8569 13.2084 24.7676 13.2188 24.6877 13.189C24.0671 12.9633 23.3769 13.2491 23.0977 13.8475C23.0636 13.9257 22.993 13.9819 22.9092 13.9975C22.8255 14.015 22.7385 13.9906 22.6762 13.932C22.1897 13.4848 21.4417 13.4848 20.9552 13.932C20.8928 13.9905 20.8059 14.015 20.7222 13.9975C20.6382 13.9819 20.5675 13.9257 20.5332 13.8475C20.2545 13.2489 19.564 12.963 18.9437 13.1895C18.8637 13.2193 18.7744 13.2089 18.7034 13.1615C18.6324 13.1142 18.5885 13.0358 18.5852 12.9505C18.5586 12.2882 18.028 11.7571 17.3657 11.73C17.2806 11.7268 17.2022 11.6831 17.1549 11.6123C17.1076 11.5415 17.0971 11.4524 17.1267 11.3725C17.354 10.7526 17.069 10.0618 16.4707 9.78255ZM21.9627 19.146L21.8157 19.293V14.593C21.8826 14.5929 21.9471 14.6181 21.9962 14.6635C22.2279 14.8807 22.5336 15.0016 22.8512 15.0015C22.9361 15.0014 23.0208 14.993 23.1042 14.9765C23.502 14.8989 23.8375 14.6331 24.0042 14.2635C24.0627 14.1375 24.2082 14.0775 24.3387 14.1255C24.4908 14.1794 24.6519 14.2037 24.8132 14.197V19.293L23.6667 18.1465C23.4714 17.9514 23.1549 17.9514 22.9597 18.1465L21.9627 19.146ZM21.8157 24.293L20.6692 23.1465C20.4739 22.9514 20.1574 22.9514 19.9622 23.1465L18.8157 24.293V14.196C18.9769 14.2028 19.138 14.1785 19.2902 14.1245C19.4203 14.0762 19.5658 14.1361 19.6242 14.262C19.7913 14.6325 20.1281 14.8987 20.5272 14.9755C20.6221 14.9943 20.7189 15.0026 20.8157 15V20.5C20.8157 20.7022 20.9375 20.8845 21.1243 20.9619C21.3111 21.0393 21.5262 20.9965 21.6692 20.8535L21.8157 20.707V24.293ZM29.3157 20.5C29.3157 21.3285 28.6441 22 27.8157 22H22.8157V19.707L23.3157 19.207L24.9622 20.8535C25.1052 20.9965 25.3202 21.0393 25.507 20.9619C25.6938 20.8845 25.8156 20.7022 25.8157 20.5V13.6535C25.9552 13.4576 26.0349 13.2254 26.0452 12.985C26.0513 12.8464 26.1625 12.7354 26.3012 12.7295C26.7065 12.7139 27.0798 12.505 27.3051 12.1677C27.5304 11.8303 27.5805 11.4055 27.4397 11.025C27.3919 10.8949 27.4519 10.7499 27.5777 10.6915C27.9464 10.5221 28.2116 10.1862 28.2908 9.78812C28.37 9.39007 28.2535 8.9782 27.9777 8.68055C27.8837 8.57837 27.8837 8.42122 27.9777 8.31905C28.2535 8.02149 28.37 7.60968 28.2908 7.2117C28.2117 6.81372 27.9464 6.47785 27.5777 6.30855C27.4515 6.25055 27.3912 6.10532 27.4392 5.97505C27.58 5.59462 27.5299 5.16975 27.3046 4.83243C27.0793 4.49511 26.706 4.28618 26.3007 4.27055C26.162 4.26471 26.0508 4.15374 26.0447 4.01505C26.0295 3.60955 25.8208 3.23592 25.4835 3.01036C25.1462 2.7848 24.7212 2.73466 24.3407 2.87555C24.2105 2.9247 24.0645 2.86459 24.0067 2.73805C23.8372 2.36926 23.5013 2.10405 23.1032 2.02488C22.7052 1.94571 22.2933 2.06216 21.9957 2.33805C21.8936 2.43196 21.7367 2.43196 21.6347 2.33805C21.3371 2.06216 20.9253 1.94569 20.5273 2.02487C20.1293 2.10405 19.7935 2.36927 19.6242 2.73805C19.5661 2.86467 19.4201 2.92491 19.2897 2.87605C18.9091 2.73516 18.4841 2.7853 18.1468 3.01086C17.8095 3.23642 17.6008 3.61005 17.5857 4.01555C17.5796 4.15424 17.4684 4.26521 17.3297 4.27105C16.9243 4.28668 16.551 4.49561 16.3257 4.83293C16.1004 5.17025 16.0504 5.59512 16.1912 5.97555C16.2389 6.10569 16.1789 6.25069 16.0532 6.30905C15.6844 6.47847 15.4192 6.81443 15.34 7.21248C15.2608 7.61052 15.3773 8.02239 15.6532 8.32005C15.7471 8.42222 15.7471 8.57937 15.6532 8.68155C15.3773 8.97911 15.2608 9.39092 15.34 9.7889C15.4192 10.1869 15.6844 10.5227 16.0532 10.692C16.1793 10.75 16.2396 10.8953 16.1917 11.0255C16.0509 11.406 16.1009 11.8308 16.3262 12.1682C16.5515 12.5055 16.9248 12.7144 17.3302 12.73C17.4689 12.7359 17.5801 12.8469 17.5862 12.9855C17.5965 13.2257 17.6762 13.4577 17.8157 13.6535V22H2.81566C1.98723 22 1.31566 21.3285 1.31566 20.5V2.50005C1.31566 1.67162 1.98723 1.00005 2.81566 1.00005H27.8157C28.6441 1.00005 29.3157 1.67162 29.3157 2.50005V20.5Z" fill="#3A3A3A"/>
                            <path d="M5.81567 18.0001C4.98725 18.0001 4.31567 17.3285 4.31567 16.5001V6.50007C4.31567 5.67164 4.98725 5.00007 5.81567 5.00007H14.8157C15.0918 5.00007 15.3157 4.77621 15.3157 4.50007C15.3157 4.22393 15.0918 4.00007 14.8157 4.00007H5.81567C4.43565 4.00172 3.31733 5.12004 3.31567 6.50007V16.5001C3.31733 17.8801 4.43565 18.9984 5.81567 19.0001H15.3157C15.5918 19.0001 15.8157 18.7762 15.8157 18.5001C15.8157 18.2239 15.5918 18.0001 15.3157 18.0001H5.81567Z" fill="#3A3A3A"/>
                            <path d="M6.31565 12H13.3157C13.5918 12 13.8157 11.7762 13.8157 11.5C13.8157 11.2239 13.5918 11 13.3157 11H6.31565C6.03951 11 5.81565 11.2239 5.81565 11.5C5.81565 11.7762 6.03951 12 6.31565 12Z" fill="#3A3A3A"/>
                            <path d="M6.31565 10H13.3157C13.5918 10 13.8157 9.77615 13.8157 9.50001C13.8157 9.22387 13.5918 9.00001 13.3157 9.00001H6.31565C6.03951 9.00001 5.81565 9.22387 5.81565 9.50001C5.81565 9.77615 6.03951 10 6.31565 10Z" fill="#3A3A3A"/>
                            <path d="M6.31565 8.00008H13.3157C13.5918 8.00008 13.8157 7.77623 13.8157 7.50008C13.8157 7.22394 13.5918 7.00008 13.3157 7.00008H6.31565C6.03951 7.00008 5.81565 7.22394 5.81565 7.50008C5.81565 7.77623 6.03951 8.00008 6.31565 8.00008Z" fill="#3A3A3A"/>
                            <path d="M5.85719 16.7C5.93675 16.8823 6.11679 17.0001 6.31569 17C6.38453 17.0003 6.45266 16.9862 6.51569 16.9585C6.97859 16.7865 7.40401 16.527 7.76869 16.194C7.90407 16.0589 8.02244 15.9078 8.12119 15.744C8.31213 15.9587 8.53652 16.141 8.78569 16.284C9.1332 16.5112 9.56571 16.5665 9.95919 16.434C10.11 16.3755 10.2465 16.2851 10.3592 16.169C10.5854 16.3104 10.8347 16.4111 11.0957 16.4665L11.4737 16.556C12.2452 16.782 13.0469 16.8882 13.8507 16.871C14.0289 16.8582 14.1867 16.7512 14.2646 16.5905C14.3426 16.4297 14.3289 16.2396 14.2286 16.0917C14.1284 15.9438 13.9569 15.8607 13.7787 15.8735C13.0773 15.8827 12.3786 15.7849 11.7067 15.5835L11.3202 15.492C10.8537 15.3845 10.7337 15.1965 10.6842 15.064C10.5971 14.8314 10.3523 14.698 10.1096 14.7508C9.86687 14.8037 9.69974 15.0267 9.71719 15.2745C9.72278 15.3642 9.68032 15.45 9.60569 15.5C9.48887 15.5149 9.3708 15.4845 9.27569 15.415C8.87133 15.1633 8.56725 14.7786 8.41569 14.327C8.32966 14.0945 8.08624 13.9601 7.84365 14.0113C7.60106 14.0624 7.43257 14.2836 7.44769 14.531C7.45611 14.8887 7.31601 15.2339 7.06069 15.4845C6.78306 15.7273 6.46258 15.9162 6.11569 16.0415C5.99405 16.0945 5.89846 16.1937 5.84998 16.3172C5.80149 16.4407 5.80409 16.5784 5.85719 16.7Z" fill="#3A3A3A"/>
                            <path d="M21.8156 12.5C24.0248 12.5 25.8156 10.7092 25.8156 8.50003C25.8156 6.29089 24.0248 4.50003 21.8156 4.50003C19.6065 4.50003 17.8156 6.29089 17.8156 8.50003C17.8181 10.7081 19.6075 12.4975 21.8156 12.5ZM21.8156 5.50003C23.4725 5.50003 24.8156 6.84317 24.8156 8.50003C24.8156 10.1569 23.4725 11.5 21.8156 11.5C20.1588 11.5 18.8156 10.1569 18.8156 8.50003C18.8173 6.84386 20.1595 5.50168 21.8156 5.50003Z" fill="#3A3A3A"/>
                        </svg>
                        <span> Осталось 4 сертификата</span>
                    </div>
                </div>
                <div class="popup-title">
                    РОЗЫГРЫШ <span class="">СЕРТИФИКАТА <br>
                        НА 50 000 ₽</span> В СТОМАТОЛОГИЮ <br>ВАШЕГО ГОРОДА И 4 ДРУГИХ<br> ПОДАРКА
                </div>
                <div class="popup-offer">
                    Выигрывает каждый участвующий!
                </div>
                <noindex>
                    <div id="comp_931ee8d609545b7cbf5d6b566c1a405a"><input type="hidden" name="sessid" id="sessid_3" value="cca1aa041b84bcdb8114d7022e623fbc" /><div class="popup-form">

    
<form name="SIMPLE_FORM_7" action="/" method="POST" enctype="multipart/form-data"><input type="hidden" name="bxajaxid" id="bxajaxid_931ee8d609545b7cbf5d6b566c1a405a_XrQFCj" value="931ee8d609545b7cbf5d6b566c1a405a" /><input type="hidden" name="AJAX_CALL" value="Y" /><input type="hidden" name="sessid" id="sessid_2" value="cca1aa041b84bcdb8114d7022e623fbc" /><input class="xname name" tabindex="-1"  autocomplete="off" type="text" name="last_name" value=""><input type="hidden" name="WEB_FORM_ID" value="7" />
    
            <div class="popupForm-row PHONE">
                                                    <div class="popup-label">Введите телефон и испытайте удачу;</div>
                                <input type="text" required class="phone" required placeholder="+7 (000) 000-00-00" name="form_text_27" value="">            </div>

            
            <div class="popupForm-row PRIVATE_POLICY">
                                                <input type="checkbox" required checked class="private" id="33" name="form_checkbox_PRIVATE_POLICY[]" value="33"><label for="33">Вы подтверждаете, что соглашаетесь с передачей <a href="/include/files/agreement.pdf" target="_blank">персональных данных</a></label>            </div>

            <input type="hidden" data-id="title-b24" name="form_hidden_36" value="" />        <div class="popupForm-row popupForm-button">
        <input  type="submit"
                                                                                          name="web_form_submit"
                                                                                          value="Забрать мой подарок"/>
    </div>


    </form>
</div>
</div>                </noindex>
            </div>
            <div class="popup-wheel__images">
                <img id="round" class="round slow desktop"
                     src="/local/templates/generator/assets/images/popups/wheel/round.svg" alt="Обводка колеса"
                     width="570"
                     height="570">
                <img class="center desktop" src="/local/templates/generator/assets/images/popups/wheel/center.png"
                     alt="Центр колеса" loading="lazy" width="516" height="516">
                <img class="center mobile" src="/local/templates/generator/assets/images/popups/wheel/center-m.png"
                     alt="Центр колеса" loading="lazy" width="332" height="332">
            </div>
        </div>
    </div>
    <div id="wheel-success" class="modal-success js-popup-wheel-success">
        <div class="modal-container">
            <div class="modal-title">ПОЗДРАВЛЯЕМ, ВЫ ВЫИГРАЛИ:
                <div class="prise">Консультация стоматолога бесплатно</div>
            </div>
            <div class="modal-text">Мы скоро свяжемся с Вами!</div>
        </div>
    </div>
    <style>
        @-webkit-keyframes rotate {
            0% {
                transform: rotate(0);
            }
            100% {
                transform: rotate(360deg);
            }
        }

        @keyframes rotate {
            0% {
                transform: rotate(0);
            }
            100% {
                transform: rotate(360deg);
            }
        }

        @keyframes moving {
            30% {
                webkit-transform: skewX(-45deg) translateX(33.5em);
                transform: skewX(-45deg) translateX(33.5em);
            }

            100% {
                webkit-transform: skewX(-45deg) translateX(33.5em);
                transform: skewX(-45deg) translateX(33.5em);
            }
        }

        #wheel-popup {
            display: none;
            position: relative;
            max-width: 100%;
            padding: 0;
            background: transparent;
            border-top-left-radius: 30px;
            border-bottom-left-radius: 30px;
        }

        @media (max-width: 1199px) {
            #wheel-popup {
                top: 10%;
            }
        }

        #wheel-popup .f-button {
            position: absolute !important;
            top: 10px !important;
            right: 10px !important;
            color: #EEEEEE;
            background: transparent !important;
            opacity: 1;
            border: none;
            border-radius: 50%;
            width: 32px;
            height: 32px;
        }

        @media (max-width: 1199px) {
            #wheel-popup .f-button {
                color: #8d8d8d;
                width: 20px;
                height: 20px;
            }
        }

        #wheel-popup .popup-container {
            position: relative;
            display: flex;
            height: 570px;
            width: 1000px;
            flex-wrap: nowrap;
            align-items: center;
            overflow: visible;
        }

        @media (max-width: 1199px) {
            #wheel-popup .popup-container {
                height: auto;
                position: relative;
                max-width: 100%;
                width: 375px;
                /* height: 730px;*/
               /* background-image: url(/local/templates/generator/assets/images/popups/wheel/bg-m.png);*/
                background: #f4fced;
                overflow: scroll;
                flex-direction: column;
                border-radius: 15px;
            }
        }

        #wheel-popup .popup-wheel__content {
            width: 718px;
            height: 570px;
            /*background-image: url(/local/templates/generator/assets/images/popups/wheel/bg.png);*/
            background-size: cover;
            background: #f4fced;
            padding: 48px 30px;
            box-sizing: border-box;
            position: relative;
            display: -moz-flex;
            display: -ms-flex;
            display: -o-flex;
            display: -webkit-box;
            display: -ms-flexbox;
            display: flex;
            -webkit-box-orient: vertical;
            -webkit-box-direction: normal;
            -ms-flex-direction: column;
            flex-direction: column;
            border-top-left-radius: 30px;
            border-bottom-left-radius: 30px;
        }

        @media (max-width: 1199px) {
            #wheel-popup .popup-wheel__content {
                width: 375px;
                height: auto;
                background: transparent;
                padding: 20px 20px 0;
            }
        }

        #wheel-popup .popup-date {
            display: flex;
            align-items: center;
            gap: 15px;
            margin-bottom: 15px;
            font-weight: 400;
            font-size: 22px;
            color: #3c3c3c;
        }

        @media (max-width: 1199px) {
            #wheel-popup .popup-date {
                gap: 8px;
                margin-bottom: 8px;
                font-size: 14px;
                justify-content: center;
            }
        }

        #wheel-popup .popup-date .deadline {
            display: flex;
            align-items: center;
            gap: 16px;
            height: 40px;
            background: #FFA91F;
            border-radius: 30px;
            padding: 4px 21px;
            font-weight: 600;
            font-size: 22px;
            color: #fff;
        }

        @media (max-width: 1199px) {
            #wheel-popup .popup-date .deadline {
                font-size: 15px;
                height: 25px;
            }
        }

        #wheel-popup .popup-date .decoration {
            display: flex;
            align-items: center;
            gap: 8px;
            border: 1px solid #c7c7c7;
            border-radius: 40px;
            padding: 8px 16px;
            height: 40px;
            backdrop-filter: blur(14px);
            background: rgba(255, 255, 255, 0.8);
            font-weight: 500;
            font-size: 14px;
            color: #3a3a3a;
        }

        @media (max-width: 1199px) {
            #wheel-popup .popup-date .decoration {
                font-size: 11px;
                padding: 5px 6px;
                height: 25px;
            }
        }

        @media (max-width: 1199px) {
            #wheel-popup .popup-date .decoration svg {
                width: 18px;
                height: 14px;
            }
        }

        #wheel-popup .popup-title {
            font-weight: 700;
            font-size: 26px;
            line-height: 130%;
            text-transform: uppercase;
            margin-bottom: 15px;
            max-width: 415px;
            text-align: left;
        }

        @media (max-width: 1199px) {
            #wheel-popup .popup-title {
                font-size: 16px;
                line-height: 140%;
                margin-bottom: 10px;
            }
        }

        @media (max-width: 1199px) {
            #wheel-popup .popup-title br {
                /*display: none;*/
            }
            #wheel-popup .popup-title > br {
                display: none;
            }
        }

        #wheel-popup .popup-title span {
            color: #FFA91F;
        }

        #wheel-popup .popup-offer {
            font-weight: 600;
            font-size: 18px;
            text-transform: uppercase;
            color: #3c3c3c;
            /*margin-bottom: 20px;*/
            flex-grow: 2;
        }

        @media (max-width: 1199px) {
            #wheel-popup .popup-offer {
                margin-bottom: 10px;
                font-size: 15px;
            }
        }

        #wheel-popup .popup-wheel__images {
            position: absolute;
            top: 0;
            right: 0;
            z-index: 999;
            width: 570px;
            height: 570px;
            pointer-events: none;
        }

        #wheel-popup .popup-wheel__images img.round {
            width: 570px;
            height: 570px;
            top: 0;
            left: 0;
            right: 0;
            position: absolute;
            z-index: 10;
            transition-duration: 0.1s;
            pointer-events: none;
        }

        #wheel-popup .popup-wheel__images img.round.fast {
            transition-duration: 4.5s;
        }

        #wheel-popup .popup-wheel__images img.center {
            width: 516px;
            height: 516px;
            top: 27px;
            left: 27px;
            position: relative;
            pointer-events: none;
            transition-duration: 0.1s;
        }

        #wheel-popup .popup-wheel__images img.center.mobile {
            display: none;
        }

        #wheel-popup .popup-wheel__images img.center.desktop {
            display: block;
        }

        #wheel-popup .popup-wheel__images img.round.slow {
            animation: rotate 120s linear infinite;
        }

        #wheel-popup .popup-wheel__images img.round.fast {
            animation: rotate 1s linear infinite;
        }

        @media (max-width: 1199px) {

            #wheel-popup .popup-wheel__images {
                position: relative;
                right: initial;
                top: initial;
                display: flex;
                justify-content: center;
                width: calc(100% - 20px);
                height: 356px;
                max-height: 440px;
                margin: 0 10px 0;
                overflow: hidden;
            }

            #wheel-popup .popup-wheel__images img.round {
                width: 356px;
                height: 356px;
                top: 0;
                left: 0;
                right: 0;
                position: absolute;
                z-index: 10;
                pointer-events: none;
            }

            #wheel-popup .popup-wheel__images img.center {
                width: 332px;
                height: 332px;
                top: 16px;
                left: 0;
                position: relative;
                pointer-events: none;
            }

            #wheel-popup .popup-wheel__images img.center.mobile {
                display: block;
            }

            #wheel-popup .popup-wheel__images img.center.desktop {
                display: none;
            }
        }

        #wheel-popup .popup-form {
            display: flex;
            flex-direction: column;
            width: 100%;
            max-width: 380px;
        }

        @media (max-width: 1199px) {
            #wheel-popup .popup-form {
                max-width: 100%;
            }
        }

        #wheel-popup .popup-form form {
            display: flex;
            flex-direction: column;
            gap: 10px;
            width: 100%;
            max-width: 100%;
        }

        @media (max-width: 1199px) {
            #wheel-popup .popup-form form {
                max-width: 100%;
                gap: 5px;
            }
        }

        #wheel-popup .popup-label {
            font-weight: 400;
            font-size: 16px;
            color: #3c3c3c;
            margin-bottom: 5px;
        }

        @media (max-width: 1199px) {
            #wheel-popup .popup-label {
                font-size: 13px;
                margin-bottom: 0;
            }
        }

        #wheel-popup .popupForm-row {
            order: 1;
        }

        #wheel-popup .popupForm-row input[type="text"] {
            width: 100%;
            padding: 10px 20px;
            height: 50px;
            outline: none;
            border: 1px solid #c9c9c9;
            border-radius: 10px;
            background: #FFF;
            font-weight: 400;
            font-size: 16px;
            color: #939393;
        }

        @media (max-width: 1199px) {
            #wheel-popup .popupForm-row input[type="text"] {
                height: 42px;
                font-size: 14px;
            }
        }

        #wheel-popup .popupForm-row input[type="text"]:hover {
            border: 1px solid rgb(59 130 246 / .5);
        }

        #wheel-popup .popupForm-row input.phone {
            position: relative;
            /*padding-left: 70px;
            background-image: url(/local/templates/generator/assets/images/input-phone.svg);
            background-position-x: 30px;
            background-repeat: no-repeat;
            background-position-y: center;*/
        }

        #wheel-popup .popupForm-button {
            order: 3;
            position: relative;
        }

        #wheel-popup .popupForm-button input,
        #wheel-popup .popupForm-button button {
            position: relative;
            overflow: hidden;
            height: 78px;
            width: 100%;
            font-weight: 800;
            font-size: 22px;
            text-transform: uppercase;
            text-align: center;
            color: #fff;
            border: none;
            border-radius: 10px;
            padding: 18px 32px;
            background: #53CE57;
            cursor: pointer;
        }

        @media (max-width: 1199px) {
            #wheel-popup .popupForm-button input,
            #wheel-popup .popupForm-button button {
                height: 55px;
                font-size: 12px;
            }
        }

        #wheel-popup .popupForm-button::after,
        #wheel-popup .popupForm-button button::after {
            content: "";
            background-color: #fff;
            height: 100%;
            width: 20px;
            display: block;
            position: absolute;
            top: 0;
            left: -20px;
            -webkit-transform: skewX(-45deg) translateX(0);
            transform: skewX(-45deg) translateX(0);
            transition: none;
            webkit-animation: moving 2s ease-in-out infinite;
            -webkit-animation: moving 2s ease-in-out infinite;
            animation: moving 2s ease-in-out infinite;
        }

        #wheel-popup .popupForm-button input:disabled,
        #wheel-popup .popupForm-button button:disabled {
            cursor: not-allowed;
        }

        #wheel-popup .popupForm-row.PRIVATE_POLICY {
            position: relative;
            order: 4;
            line-height: 100%;
            x
        }

        #wheel-popup .popupForm-row.PRIVATE_POLICY a {

        }

        #wheel-popup .popupForm-row.PRIVATE_POLICY input[type="checkbox"] {
            height: 0;
            top: 0;
            left: 0;
            opacity: 0;
            z-index: 1000;
        }

        #wheel-popup .popupForm-row.PRIVATE_POLICY input[type="checkbox"] + label {
            position: relative;
            font-weight: 400;
            font-size: 10px;
            color: #727272;
            padding-left: 10px;
        }

        @media (max-width: 991px) {
            #wheel-popup .popupForm-row.PRIVATE_POLICY input[type="checkbox"] + label {
                font-size: 8px;
            }
        }

        #wheel-popup .popupForm-row.PRIVATE_POLICY input[type="checkbox"] + label:before {
            position: absolute;
            top: 0;
            left: -8px;
            display: block;
            content: '';
            background-image: url("data:image/svg+xml,%3Csvg viewBox='298.611 56.578 16 16' width='16' height='16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M 300.226 72.578 C 299.766 72.578 299.382 72.424 299.074 72.116 C 298.766 71.807 298.611 71.423 298.611 70.963 L 298.611 58.193 C 298.611 57.733 298.766 57.349 299.074 57.041 C 299.382 56.732 299.766 56.578 300.226 56.578 L 312.996 56.578 C 313.456 56.578 313.84 56.732 314.148 57.041 C 314.457 57.349 314.611 57.733 314.611 58.193 L 314.611 70.963 C 314.611 71.423 314.457 71.807 314.149 72.115 C 313.841 72.424 313.456 72.578 312.996 72.578 L 300.226 72.578 Z M 300.226 71.578 L 312.996 71.578 C 313.15 71.578 313.291 71.514 313.419 71.386 C 313.547 71.257 313.611 71.116 313.611 70.963 L 313.611 58.193 C 313.611 58.04 313.547 57.899 313.419 57.77 C 313.291 57.642 313.15 57.578 312.996 57.578 L 300.226 57.578 C 300.073 57.578 299.932 57.642 299.803 57.77 C 299.675 57.899 299.611 58.04 299.611 58.193 L 299.611 70.963 C 299.611 71.116 299.675 71.257 299.803 71.386 C 299.932 71.514 300.073 71.578 300.226 71.578 Z' fill='%23747E79'/%3E%3C/svg%3E");
            background-repeat: no-repeat;
            background-size: 16px 16px;
            height: 16px;
            width: 16px;
            border: 1px solid red;
        }

        @media (max-width: 991px) {
            #wheel-popup .popupForm-row.PRIVATE_POLICY input[type="checkbox"] + label:before {
                background-size: 12px 12px;
                height: 12px;
                width: 12px;
            }
        }

        #wheel-popup .popupForm-row.PRIVATE_POLICY input[type="checkbox"]:checked + label:before {
            content: '';
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M6.6 11.508L12.996 5.112L12.288 4.404L6.6 10.092L3.75 7.242L3.042 7.95L6.6 11.508ZM1.615 16C1.155 16 0.771 15.846 0.463 15.538C0.154333 15.2293 0 14.845 0 14.385V1.615C0 1.155 0.154333 0.771 0.463 0.463C0.771 0.154333 1.155 0 1.615 0H14.385C14.845 0 15.229 0.154333 15.537 0.463C15.8457 0.771 16 1.155 16 1.615V14.385C16 14.845 15.846 15.229 15.538 15.537C15.2293 15.8457 14.845 16 14.385 16H1.615ZM1.615 15H14.385C14.5383 15 14.6793 14.936 14.808 14.808C14.936 14.6793 15 14.5383 15 14.385V1.615C15 1.46167 14.936 1.32067 14.808 1.192C14.6793 1.064 14.5383 1 14.385 1H1.615C1.46167 1 1.32067 1.064 1.192 1.192C1.064 1.32067 1 1.46167 1 1.615V14.385C1 14.5383 1.064 14.6793 1.192 14.808C1.32067 14.936 1.46167 15 1.615 15Z' fill='%23747E79'/%3E%3C/svg%3E");
            background-repeat: no-repeat;
            background-size: 16px 16px;
            border: none;
        }

        @media (max-width: 991px) {
            #wheel-popup .popupForm-row.PRIVATE_POLICY input[type="checkbox"]:checked + label:before {
                background-size: 12px 12px;
                height: 12px;
                width: 12px;
            }
        }

        .modal-success {
            display: none;
            max-width: 100%;
            width: 420px;
            height: 300px;
            background: #f4fced;
            /* background-image: url(/local/templates/generator/assets/images/popups/wheel/modal.png)!important;
             background-repeat: no-repeat!important;
             background-size: cover!important;*/
            border-radius: 20px !important;
            padding: 0 !important;

        }

        @media (max-width: 1199px) {
            .modal-success {
                width: 360px;
                height: 258px;
                /*background-image: url(/local/templates/generator/assets/images/popups/wheel/modal-m.png)!important;
                background-repeat: no-repeat!important;
                background-size: cover!important;*/
            }
        }

        .modal-success .f-button {
            position: absolute !important;
            top: 10px !important;
            right: 10px !important;
            width: 22px;
            height: 22px;
            color: #9d9d9d;
            background: transparent !important;
            opacity: 1;
            border: none;
            border-radius: 50%;
        }

        @media (max-width: 1199px) {
            .modal-success .f-button {
                top: 8px !important;
                right: 8px !important;
                width: 17px;
                height: 17px;
            }
        }

        .modal-success .f-button svg {
            width: 22px !important;
            height: 22px !important;
        }

        @media (max-width: 1199px) {
            .modal-success .f-button svg {
                width: 14px !important;
                height: 14px !important;
            }
        }

        .modal-success .modal-container {
            border-radius: 20px;
            width: 420px;
            height: 300px;
            display: flex;
            position: relative;
            flex-direction: column;
            align-items: center;
            gap: 12px;
            text-align: center;
            padding: 34px 37px;
            background-image: url(/local/templates/generator/assets/images/popups/wheel/modal.png);
            background-repeat: no-repeat;
            background-size: cover;
        }

        @media (max-width: 1199px) {
            .modal-success .modal-container {
                width: 360px;
                height: 100%;
                /*background-image: url(/local/templates/generator/assets/images/popups/wheel/modal-m.png);
                background-size: cover;
                background-position: center bottom;
                background-repeat: no-repeat;*/
                padding: 30px 36px;
            }
        }

        .modal-success .modal-title {
            font-weight: 700;
            font-size: 22px;
            text-transform: uppercase;
            color: #3c3c3c;
        }

        @media (max-width: 1199px) {
            .modal-success .modal-title {
                font-size: 18px;
            }
        }

        .modal-success .modal-title .prise {
            font-weight: 600;
            font-size: 22px;
            text-align: center;
            color: #44B448;
            text-transform: capitalize;
        }

        @media (max-width: 1199px) {
            .modal-success .modal-title .prise {
                font-size: 20px;
            }
        }

        .modal-success .modal-text {
            font-weight: 400;
            font-size: 18px;
            color: #3c3c3c;
        }

        @media (max-width: 1199px) {
            .modal-success .modal-text {
                font-size: 16px;
            }
        }

        .modal-success .modal-text span {
            color: #510382;
        }

        .modal-success .btn-blue {
            margin-top: 12px;
            padding: 12px 24px;
            text-transform: uppercase;
            border-radius: 10px;
            background: #510382;
        }

        @media (max-width: 1199px) {
            .modal-success .btn-blue {
                margin-top: 6px;
                font-size: 14px;
            }
        }

        .modal-success .btn-blue:hover {
            color: #fff;
        }
    </style>
    
</noindex>
<div class="mobile-menu">
    <div class="container">
        
    <ul class="header-list">
        
                                                        <li ><a
                        href="/clinics/">Клиники</a>
                            </li>
        
        
                                                        <li ><a
                        href="/doctors/">Врачи</a>
                            </li>
        
        
                                                        <li  class="menu-item-has-children"><a
                        href="/services/stomatologicheskie-uslugi/">Услуги</a>
                                                        
<ul class="submenu-list">

						<li><a href="/services/stomatologicheskie-uslugi/" class="">Стоматология</a></li>
		
						<li><a href="/services/category-revmatologiya/" class="">Ревматология</a></li>
		
						<li><a href="/services/category-travmatologiya/" class="">Травматология</a></li>
		
	
</ul>
                            </li>
        
        
                                    <li  class="menu-item-has-children"><a
                        href="#">О нас</a>
                                                        
<ul class="submenu-list">

						<li><a href="/blog/" class="">Блог</a></li>
		
						<li><a href="/sales/" class="">Акции</a></li>
		
						<li><a href="/about/contacts/" class="">Контакты</a></li>
		
						<li><a href="/about/" class="">О сервисе</a></li>
		
						<li><a href="/questions/" class="">Вопрос-ответ</a></li>
		
	
</ul>
                            </li>
        
        
                                    <li ><a
                        href="/questions/">Вопрос-ответ</a>
                            </li>
        
        
    </ul>
        <div class="mobileMenu-mail">
            Пишите нам на почту:
<a href="mailto:info@1001doc.ru">info@1001doc.ru</a>        </div>
        <div class="mobileMenu-phone">
            <svg width="24" height="25" viewBox="0 0 24 25" fill="none" xmlns="http://www.w3.org/2000/svg">
                <path d="M15.1616 14.2645L14.7571 14.6909C14.7571 14.6909 13.7945 15.7036 11.1678 12.9384C8.54118 10.1732 9.50384 9.16049 9.50384 9.16049L9.75806 8.89131C10.3865 8.2306 10.4461 7.16895 9.89761 6.39341L8.77762 4.8094C8.09851 3.84939 6.78741 3.72233 6.00964 4.54116L4.61409 6.00941C4.2292 6.416 3.97143 6.94118 4.00254 7.52471C4.08254 9.01837 4.72076 12.2306 8.27984 15.9784C12.0549 19.9521 15.5971 20.1102 17.0451 19.9672C17.5038 19.922 17.902 19.6754 18.2229 19.3366L19.4851 18.0076C20.3384 17.1107 20.0984 15.5718 19.0069 14.9441L17.3091 13.9662C16.5927 13.5549 15.7216 13.6754 15.1616 14.2645Z" fill="#26364B"/>
            </svg>
            <a href="tel:+74954143773">+7 495 414-37-73</a>        </div>
        <div class="mobileMenu-location  ">
            <svg xmlns="http://www.w3.org/2000/svg" width="14" height="15" viewBox="0 0 14 15" fill="none">
                <path d="M13.829 0.670855C13.6627 0.504029 13.4131 0.455029 13.1955 0.543104L0.362039 5.79315C0.122287 5.89173 -0.0241405 6.13616 0.00328557 6.39398C0.03011 6.65181 0.223788 6.86066 0.478716 6.90731L6.4982 8.00164L7.59313 14.0211C7.63921 14.2761 7.84806 14.4697 8.10589 14.4971C8.12631 14.4989 8.14671 14.5001 8.16656 14.5001C8.40106 14.5001 8.61632 14.3583 8.70674 14.1372L13.9568 1.30379C14.0454 1.08676 13.9952 0.837107 13.829 0.670855Z" fill="#7F7F7F"/>
            </svg>
            <span class="locationPopup-trigger">Москва</span>
        </div>
    </div>
</div>

<noindex>
    <style>
        .widget-dynamic {
            left: auto;
            right: 1%;
            background: #26364B;
            bottom: 40px;
            color: #FFFFFF;
            border-radius: 10px;
            display: none;
            position: fixed;
            padding: 15px;
            flex-direction: column;
            align-items: flex-start;
            gap: 10px;
            width: 320px;
            z-index: 99999998;
        }

        .widget-dynamic.active {
            display: flex;
        }

        .widgetDynamic-photo {
            align-items: center;
            display: flex;
            flex-direction: row;
            justify-content: flex-start;
            text-align: left;
        }

        .widgetDynamic-photo img {
            display: block;
            width: 40px;
            height: 40px;
        }

        .widgetDynamic-close {
            position: absolute;
            cursor: pointer;
            font-weight: 700;
            height: 13px;
            width: 13px;
            right: 20px;
            top: 15px;
            text-align: center;
        }

        .widgetDynamic-name {
            color: #FFF;
            font-size: 16px;
            font-style: normal;
            font-weight: 600;
            line-height: 130%;
            display: flex;
            flex-direction: column;
            position: relative;
            padding-left: 10px;
        }

        .widgetDynamic-name span {
            font-size: 10px;
            font-style: normal;
            font-weight: 400;
            line-height: 130%;
            margin-top: 4px;
        }

        .widgetDynamic-message-wrapper {
            align-items: flex-start;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }

        .widgetDynamic-message {
            font-size: 14px;
            font-style: normal;
            font-weight: 400;
            line-height: 145%;
            margin-top: 4px;
            color: #FFFFFF;
        }

        .widgetDynamic-message-wrapper .widgetDynamic-message:first-of-type {
            margin-top: 0;
        }

        .widgetDynamic-typing {
            display: none;
            color: #FFFFFF;
            font-size: 14px;
            font-style: normal;
            font-weight: 400;
            line-height: 145%;
            background: url(/local/templates/generator/assets/images/widgets/dynamic/typing.gif) 0 10px no-repeat;
            padding: 5px 0 3px 20px;
        }

        .widgetDynamic-typing.active {
            display: block;
        }

        .widgetDynamic-message-btn {
            background: #FECF1F;
            align-content: center;
            justify-content: center;
            color: #FFFFFF;
            text-align: center;
            font-size: 14px;
            font-style: normal;
            font-weight: 400;
            line-height: 145%;
            width: 100%;
            height: 44px;
            display: none;
            cursor: pointer;
            align-items: center;
            border-radius: 6px;
            text-decoration: underline;
        }

        @media (max-width: 991px) {
            .widget-dynamic {
                display: none!important;
            }
        }
    </style>
    <div class="widget-dynamic">
        <div class="widgetDynamic-photo">
            <img width="40" height="40" src="/local/templates/generator/assets/images/widgets/dynamic/photo.png" alt=""
                 decoding="async" loading="lazy">
            <div class="widgetDynamic-name">
                Аводкова Любовь
                <span>Стоматолог-терапевт</span>
            </div>
        </div>
        <div class="widgetDynamic-close">
            <svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" fill="none">
                <path fill-rule="evenodd" clip-rule="evenodd"
                      d="M8.85108 9.94971L3.24466 15.556C2.94123 15.8594 2.94123 16.3521 3.24466 16.6554C3.5481 16.9588 4.04063 16.9588 4.34407 16.6554L9.95049 11.049L15.5569 16.6554C15.8602 16.9588 16.3529 16.9588 16.6562 16.6554C16.9596 16.3521 16.9596 15.8594 16.6562 15.556L11.0497 9.94971L16.6562 4.34329C16.9596 4.03986 16.9596 3.54717 16.6562 3.24389C16.3529 2.94045 15.8602 2.94045 15.5569 3.24389L9.95049 8.8503L4.34407 3.24389C4.04063 2.94045 3.5481 2.94045 3.24466 3.24389C2.94123 3.54717 2.94123 4.03986 3.24466 4.34329L8.85108 9.94971Z"
                      fill="#EB5757"/>
            </svg>
        </div>
        <div class="widgetDynamic-message-wrapper">
            <div class="widgetDynamic-message"></div>
            <div class="widgetDynamic-message"></div>
            <div class="widgetDynamic-message"></div>
            <div class="widgetDynamic-typing">
                <b>Аводкова Любовь</b> печатает ...
            </div>
        </div>
        <div class="widgetDynamic-message-btn" data-target="sgPopup590">Забрать мой подарок</div>
    </div>
    </noindex>
<noindex>
    <div class="widgets">
                                        <div class="widget-item widget-wheel wheelPopup-trigger" data-target="sgPopup748">
                <img src="/local/templates/generator/assets/images/widgets/wheel/img.png" alt="wheel">
                <div class="text">Забрать подарок</div>
            </div>
            <div class="widget-item widget-discount" data-target="sgPopup211">
                <div class="text-discount">
                    <div class="title-discount">Получите 8 000 ₽ на <br> стоматологические услуги</div>
                    <div class="btn-discount">
                        <span>Забрать подарок</span>
                    </div>
                </div>
            </div>
                    </div>
    <style>
        @keyframes moving {
            30% {
                webkit-transform: skewX(-45deg) translateX(33.5em);
                transform: skewX(-45deg) translateX(33.5em);
            }

            100% {
                webkit-transform: skewX(-45deg) translateX(33.5em);
                transform: skewX(-45deg) translateX(33.5em);
            }
        }

        .widgets {
            display: -webkit-box;
            display: -moz-box;
            display: -ms-flexbox;
            display: -webkit-flex;
            display: flex;
            flex-direction: column;
            -ms-flex-direction: column;
            -webkit-flex-direction: column;
            gap: 30px;
            position: fixed;
            bottom: 60px;
            left: 60px;
            box-sizing: border-box;
            z-index: 99;
        }

        .widget-advice {
            display: -webkit-box;
            display: -moz-box;
            display: -ms-flexbox;
            display: -webkit-flex;
            display: flex;
            flex-direction: row;
            -ms-flex-direction: row;
            -webkit-flex-direction: row;
            justify-content: center;
            -webkit-justify-content: center;
            align-items: center;
            -webkit-align-items: center;
            gap: 8px;
            border-radius: 10px;
            background: #26364B;
            cursor: pointer;
            width: 220px;
            height: 80px;
            padding: 8px 8px 8px 0;
        }

        .widget-advice img {
            max-width: 100%;
            width: 47px;
            object-fit: cover;
        }

        .widget-advice img.mobile {
            display: none;
        }

        .widget-advice .title {
            color: #FFF;
            font-size: 14px;
            font-style: normal;
            font-weight: 700;
            line-height: 145%;
            margin-bottom: 5px;
            text-align: center;
        }

        .widget-advice .subtitle {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 6px;
            background: #FFD01C;
            border-radius: 3px;
            width: 150px;
            height: 24px;
        }

        .widget-advice .subtitle span {
            color: #000;
            font-size: 10px;
            font-style: normal;
            font-weight: 600;
            line-height: 145%;
            white-space: nowrap;
        }

        @media (max-width: 991px) {
            .widgets {
                bottom: 70px;
                left: 20px;
                padding-bottom: 30px;
            }

            .widget-advice {
                width: 170px;
                height: 73px;
            }

            .widget-advice img.desktop {
                display: none;
            }

            .widget-advice img.mobile {
                display: block;
            }

            .widget-advice img {
                max-width: 100%;
                width: 35px;
                object-fit: cover;
            }

            .widget-advice .title {
                font-size: 11px;
            }

            .widget-advice .subtitle {
                width: 130px;
                height: 20px;
            }

            .widget-advice .subtitle span {
                font-size: 8px;
            }

            .widget-advice .subtitle svg {
                width: 12px;
                height: 12px;
            }
        }

        .widget-discount {
            display: -webkit-box;
            display: -moz-box;
            display: -ms-flexbox;
            display: -webkit-flex;
            display: flex;
            flex-direction: row;
            -ms-flex-direction: column;
            -webkit-flex-direction: row;
            box-sizing: border-box;
            z-index: 99;
            border-radius: 10px;
            background-image: url(/local/templates/generator/assets/images/widgets/discount/bg-img.png);
            background-size: cover;
            background-repeat: no-repeat;
            cursor: pointer;
            /*background-color: #129388;*/
            width: 220px;
            height: 85px;
            padding-left: 10px;
        }

        @media (max-width: 991px) {
            .widget-discount {
                left: 20px;
                bottom: 114px;
                /* background-image: url(/local/templates/generator/assets/images/widgets/discount/bg-img-m.png);*/
                width: 170px;
                height: 74px;
            }
        }

        .text-discount {
            width: 100%;
            display: flex;
            flex-direction: column;
            justify-content: center;
            /* padding: 10px 0 10px 19px;*/
        }

        @media (max-width: 991px) {
            .text-discount {
                /*padding: 8px 0 8px 10px;*/
            }
        }

        .title-discount {
            color: #fff;
            font-size: 12px;
            font-weight: 700;
            line-height: 145%;
            /*text-align: center;*/
            text-align: left;
        }

        @media (max-width: 991px) {
            .title-discount {
                font-size: 11px;
                line-height: 145%;
            }
        }

        .btn-discount {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 6px;
            background: #EB5756;
            border-radius: 3px;
            width: 180px;
            height: 23px;
            cursor: pointer;
            margin: 6px 0 0;
        }

        @media (max-width: 991px) {
            .btn-discount {
                width: 150px;
                height: 20px;
                margin: 8px 0 0;
            }
        }

        .btn-discount span {
            font-size: 12px;
            font-weight: 600;
            line-height: 145%;
            text-align: left;
            color: #fff;
        }

        @media (max-width: 991px) {
            .btn-discount span {
                font-size: 10px;
                line-height: 145%;
            }
        }

        .widget-wheel {
            position: relative;
            overflow: hidden;
            cursor: pointer;
            width: 150px;
            height: 150px;
            display: -webkit-box;
            display: -moz-box;
            display: -ms-flexbox;
            display: -webkit-flex;
            display: flex;
            flex-direction: column;
            -ms-flex-direction: column;
            -webkit-flex-direction: column;
            justify-content: center;
            -webkit-justify-content: center;
            align-items: center;
            -webkit-align-items: center;
            /*animation: swing 2.5s ease-in-out infinite both;*/
        }

        .widget-wheel:after {
            /*content: "";*/
            background-color: #fff;
            height: 100%;
            width: 20px;
            display: block;
            position: absolute;
            top: 0;
            left: -20px;
            -webkit-transform: skewX(-45deg) translateX(0);
            transform: skewX(-45deg) translateX(0);
            transition: none;
            webkit-animation: moving 2s ease-in-out infinite;
            -webkit-animation: moving 2s ease-in-out infinite;
            animation: moving 2s ease-in-out infinite;
        }

        @media (max-width: 991px) {
            .widget-wheel {
                width: 80px;
                height: 80px;
            }
        }

        .widget-wheel img {
            width: 120px;
            height: 123px;
        }

        @media (max-width: 991px) {
            .widget-wheel img {
                width: 62px;
                height: 62px;
                -o-object-fit: cover;
                object-fit: cover;
            }
        }

        .widget-wheel .text {
            font-weight: 700;
            font-size: 14px;
            line-height: 100%;
            text-align: center;
            color: #fff;
            margin: 3px 0 0;
            width: 150px;
            height: 24px;
            background: #EB5757;
            border-radius: 4px;
            padding: 5px 9px;
        }

        @media (max-width: 991px) {
            .widget-wheel .text {
                font-size: 7px;
                border-radius: 2px;
                padding: 2px 5px;
                width: 80px;
                height: 14px;
            }
        }

        @-webkit-keyframes swing {
            15% {
                -webkit-transform: translateX(9px);
                transform: translateX(9px);
            }
            30% {
                -webkit-transform: translateX(-9px);
                transform: translateX(-9px);
            }
            40% {
                -webkit-transform: translateX(6px);
                transform: translateX(6px);
            }
            50% {
                -webkit-transform: translateX(-6px);
                transform: translateX(-6px);
            }
            65% {
                -webkit-transform: translateX(3px);
                transform: translateX(3px);
            }
            100% {
                -webkit-transform: translateX(0);
                transform: translateX(0);
            }
        }

        @keyframes swing {
            15% {
                -webkit-transform: translateX(9px);
                transform: translateX(9px);
            }
            30% {
                -webkit-transform: translateX(-9px);
                transform: translateX(-9px);
            }
            40% {
                -webkit-transform: translateX(6px);
                transform: translateX(6px);
            }
            50% {
                -webkit-transform: translateX(-6px);
                transform: translateX(-6px);
            }
            65% {
                -webkit-transform: translateX(3px);
                transform: translateX(3px);
            }
            100% {
                -webkit-transform: translateX(0);
                transform: translateX(0);
            }
        }
    </style>
    </noindex>

    <script type="application/ld+json">
        {
            "@context": "http://schema.org",
            "@type": "MedicalOrganization",
            "name": "ВИТРИУМ",
            "url": "https://1001doc.ru/",
            "logo": "/local/templates/generator/assets/images/footer-logo.svg",
            "address": {
                "@type": "PostalAddress",
                "streetAddress": "вн. тер. г. Муниципальный округ Нагорный, проезд Электролитный д.16 к.1",
                "addressLocality": "Москва",
                "addressRegion": "Московская область",
                "postalCode": "117638",
                "addressCountry": "RU"
            },
            "telephone": "+7 (495) 236-72-76",
            "email": "info@1001doc.ru"
    }
    </script>

<script type="application/ld+json">
    {
        "@context": "http://schema.org",
        "@type": "MedicalEntity",
        "name": "ВИТРИУМ"
    }
</script>

<link rel="stylesheet" href="https://cdn.envybox.io/widget/cbk.css">
<script>if(!window.BX)window.BX={};if(!window.BX.message)window.BX.message=function(mess){if(typeof mess==='object'){for(let i in mess) {BX.message[i]=mess[i];} return true;}};</script>
<script>(window.BX||top.BX).message({'JS_CORE_LOADING':'Загрузка...','JS_CORE_NO_DATA':'- Нет данных -','JS_CORE_WINDOW_CLOSE':'Закрыть','JS_CORE_WINDOW_EXPAND':'Развернуть','JS_CORE_WINDOW_NARROW':'Свернуть в окно','JS_CORE_WINDOW_SAVE':'Сохранить','JS_CORE_WINDOW_CANCEL':'Отменить','JS_CORE_WINDOW_CONTINUE':'Продолжить','JS_CORE_H':'ч','JS_CORE_M':'м','JS_CORE_S':'с','JSADM_AI_HIDE_EXTRA':'Скрыть лишние','JSADM_AI_ALL_NOTIF':'Показать все','JSADM_AUTH_REQ':'Требуется авторизация!','JS_CORE_WINDOW_AUTH':'Войти','JS_CORE_IMAGE_FULL':'Полный размер'});</script><script src="/bitrix/js/main/core/core.min.js?1706561116223197"></script><script>BX.Runtime.registerExtension({'name':'main.core','namespace':'BX','loaded':true});</script>
<script>BX.setJSList(['/bitrix/js/main/core/core_ajax.js','/bitrix/js/main/core/core_promise.js','/bitrix/js/main/polyfill/promise/js/promise.js','/bitrix/js/main/loadext/loadext.js','/bitrix/js/main/loadext/extension.js','/bitrix/js/main/polyfill/promise/js/promise.js','/bitrix/js/main/polyfill/find/js/find.js','/bitrix/js/main/polyfill/includes/js/includes.js','/bitrix/js/main/polyfill/matches/js/matches.js','/bitrix/js/ui/polyfill/closest/js/closest.js','/bitrix/js/main/polyfill/fill/main.polyfill.fill.js','/bitrix/js/main/polyfill/find/js/find.js','/bitrix/js/main/polyfill/matches/js/matches.js','/bitrix/js/main/polyfill/core/dist/polyfill.bundle.js','/bitrix/js/main/core/core.js','/bitrix/js/main/polyfill/intersectionobserver/js/intersectionobserver.js','/bitrix/js/main/lazyload/dist/lazyload.bundle.js','/bitrix/js/main/polyfill/core/dist/polyfill.bundle.js','/bitrix/js/main/parambag/dist/parambag.bundle.js']);
</script>
<script>BX.Runtime.registerExtension({'name':'pull.protobuf','namespace':'BX','loaded':true});</script>
<script>BX.Runtime.registerExtension({'name':'rest.client','namespace':'window','loaded':true});</script>
<script>(window.BX||top.BX).message({'pull_server_enabled':'N','pull_config_timestamp':'0','pull_guest_mode':'N','pull_guest_user_id':'0'});(window.BX||top.BX).message({'PULL_OLD_REVISION':'Для продолжения корректной работы с сайтом необходимо перезагрузить страницу.'});</script>
<script>BX.Runtime.registerExtension({'name':'pull.client','namespace':'BX','loaded':true});</script>
<script>BX.Runtime.registerExtension({'name':'pull','namespace':'window','loaded':true});</script>
<script>BX.Runtime.registerExtension({'name':'fx','namespace':'window','loaded':true});</script>
<script>(window.BX||top.BX).message({'LANGUAGE_ID':'ru','FORMAT_DATE':'DD.MM.YYYY','FORMAT_DATETIME':'DD.MM.YYYY HH:MI:SS','COOKIE_PREFIX':'BITRIX_SM','SERVER_TZ_OFFSET':'10800','UTF_MODE':'Y','SITE_ID':'s1','SITE_DIR':'/','USER_ID':'','SERVER_TIME':'1781100769','USER_TZ_OFFSET':'0','USER_TZ_AUTO':'Y','bitrix_sessid':'cca1aa041b84bcdb8114d7022e623fbc'});</script><script  src="/bitrix/cache/js/s1/generator/kernel_main/kernel_main_v1.js?1749628066154480"></script>
<script src="/bitrix/js/pull/protobuf/protobuf.min.js?170317489676433"></script>
<script src="/bitrix/js/pull/protobuf/model.min.js?170317489614190"></script>
<script src="/bitrix/js/rest/client/rest.client.min.js?17031748989240"></script>
<script src="/bitrix/js/pull/client/pull.client.min.js?170656102749554"></script>
<script>BX.setJSList(['/bitrix/js/main/session.js','/bitrix/js/main/pageobject/pageobject.js','/bitrix/js/main/core/core_window.js','/bitrix/js/main/core/core_fx.js','/bitrix/js/main/date/main.date.js','/bitrix/js/main/core/core_date.js','/bitrix/js/main/utils.js']);</script>
<script>BX.setCSSList(['/local/templates/generator/components/bitrix/news.list/advantages-home/style.css','/local/templates/generator/components/bitrix/form.result.new/callback/style.css','/local/templates/generator/components/bitrix/menu/header/style.css','/local/templates/generator/components/bitrix/menu/submenu/style.css','/local/templates/generator/components/bitrix/menu/footer/style.css','/local/templates/generator/components/bitrix/form.result.new/subscribe/style.css','/local/templates/generator/components/bitrix/form.result.new/wheel/style.css']);</script>
<script type="text/javascript">
					(function () {
						"use strict";

						var counter = function ()
						{
							var cookie = (function (name) {
								var parts = ("; " + document.cookie).split("; " + name + "=");
								if (parts.length == 2) {
									try {return JSON.parse(decodeURIComponent(parts.pop().split(";").shift()));}
									catch (e) {}
								}
							})("BITRIX_CONVERSION_CONTEXT_s1");

							if (cookie && cookie.EXPIRE >= BX.message("SERVER_TIME"))
								return;

							var request = new XMLHttpRequest();
							request.open("POST", "/bitrix/tools/conversion/ajax_counter.php", true);
							request.setRequestHeader("Content-type", "application/x-www-form-urlencoded");
							request.send(
								"SITE_ID="+encodeURIComponent("s1")+
								"&sessid="+encodeURIComponent(BX.bitrix_sessid())+
								"&HTTP_REFERER="+encodeURIComponent(document.referrer)
							);
						};

						if (window.frameRequestStart === true)
							BX.addCustomEvent("onFrameDataReceived", counter);
						else
							BX.ready(counter);
					})();
				</script>



<script type="text/javascript">var _ba = _ba || []; _ba.push(["aid", "edfa23722ecfdb707b7dd55af17913fb"]); _ba.push(["host", "1001doc.ru"]); (function() {var ba = document.createElement("script"); ba.type = "text/javascript"; ba.async = true;ba.src = (document.location.protocol == "https:" ? "https://" : "http://") + "bitrix.info/ba.js";var s = document.getElementsByTagName("script")[0];s.parentNode.insertBefore(ba, s);})();</script>


<script>
            window.popupState = 1;
            window.popupOpenedFrom = 'none';
        </script><script>
    window.cityCode = 'msk'
    window.cityName = 'Москва'
    window.cityLink = ''
    window.cityId = '19123'
    window.cityNamePrepositional = 'Москве'
    window.cityHasMetro = '1'
    window.cityPhone = ''
</script>

<script src="/include/filter/script.js"></script>


<script>
    window.specialization = {
        name: '',
        url: ''
    }
    window.station = {
        id: '',
        url: '',
        name: '',
        line: ''
    }
</script>


<script>if (window.location.hash != '' && window.location.hash != '#') top.BX.ajax.history.checkRedirectStart('bxajaxid', 'ee74e938891449b9b405fa643f479248')</script><script type="text/javascript">
function _processform_8BACKi(){
	if (BX('bxajaxid_ee74e938891449b9b405fa643f479248_8BACKi'))
	{
		var obForm = BX('bxajaxid_ee74e938891449b9b405fa643f479248_8BACKi').form;
		BX.bind(obForm, 'submit', function() {BX.ajax.submitComponentForm(this, 'comp_ee74e938891449b9b405fa643f479248', true)});
	}
	BX.removeCustomEvent('onAjaxSuccess', _processform_8BACKi);
}
if (BX('bxajaxid_ee74e938891449b9b405fa643f479248_8BACKi'))
	_processform_8BACKi();
else
	BX.addCustomEvent('onAjaxSuccess', _processform_8BACKi);
</script><script>if (top.BX.ajax.history.bHashCollision) top.BX.ajax.history.checkRedirectFinish('bxajaxid', 'ee74e938891449b9b405fa643f479248');</script><script>top.BX.ready(BX.defer(function() {window.AJAX_PAGE_STATE = new top.BX.ajax.component('comp_ee74e938891449b9b405fa643f479248'); top.BX.ajax.history.init(window.AJAX_PAGE_STATE);}))</script><script>if (window.location.hash != '' && window.location.hash != '#') top.BX.ajax.history.checkRedirectStart('bxajaxid', '241e4a1a0670463601328a46c6058f1b')</script><script type="text/javascript">
function _processform_Ar8Szp(){
	if (BX('bxajaxid_241e4a1a0670463601328a46c6058f1b_Ar8Szp'))
	{
		var obForm = BX('bxajaxid_241e4a1a0670463601328a46c6058f1b_Ar8Szp').form;
		BX.bind(obForm, 'submit', function() {BX.ajax.submitComponentForm(this, 'comp_241e4a1a0670463601328a46c6058f1b', true)});
	}
	BX.removeCustomEvent('onAjaxSuccess', _processform_Ar8Szp);
}
if (BX('bxajaxid_241e4a1a0670463601328a46c6058f1b_Ar8Szp'))
	_processform_Ar8Szp();
else
	BX.addCustomEvent('onAjaxSuccess', _processform_Ar8Szp);
</script><script>if (top.BX.ajax.history.bHashCollision) top.BX.ajax.history.checkRedirectFinish('bxajaxid', '241e4a1a0670463601328a46c6058f1b');</script><script>top.BX.ready(BX.defer(function() {window.AJAX_PAGE_STATE = new top.BX.ajax.component('comp_241e4a1a0670463601328a46c6058f1b'); top.BX.ajax.history.init(window.AJAX_PAGE_STATE);}))</script><script src="/local/templates/generator/assets/js/script.js"></script>
<script defer src="/local/templates/generator/assets/libs/inputmask.min.js"></script>
<script defer src="/local/templates/generator/assets/libs/fancybox.umd.js"></script>

<script src="/local/templates/generator/assets/js/home-page.js"></script>

<script defer src="/local/templates/generator/assets/libs/swiper-bundle.min.js"></script>

<script type="text/javascript">
    (function () {
        window.metricaId = 96577005;
        var loadedTLAnalytics = false,
            timerId;
        if (navigator.userAgent.indexOf('YandexMetrika') > -1) {
            loadTLAnalytics();
        } else {
            window.addEventListener('scroll', loadTLAnalytics, {passive: true});
            window.addEventListener('touchstart', loadTLAnalytics, {passive: true});
            document.addEventListener('mouseenter', loadTLAnalytics, {passive: true});
            document.addEventListener('click', loadTLAnalytics, {passive: true});
            document.addEventListener('DOMContentLoaded', loadFallback, {passive: true});
        }

        function loadFallback() {
            timerId = setTimeout(loadTLAnalytics, 5000);
        }

        function loadTLAnalytics(e) {
            if (e && e.type) {
                console.log(e.type);
            } else {
                console.log('DOMContentLoaded');
            }
            if (loadedTLAnalytics) {
                return;
            }
            setTimeout(
                function () {
                    (function (m, e, t, r, i, k, a) {
                        m[i] = m[i] || function () {
                            (m[i].a = m[i].a || []).push(arguments)
                        };
                        m[i].l = 1 * new Date();
                        k = e.createElement(t), a = e.getElementsByTagName(t)[0], k.async = 1, k.src = r, a.parentNode.insertBefore(k, a)
                    })
                    (window, document, "script", "https://mc.yandex.ru/metrika/tag.js", "ym");
                    ym(metricaId, "init", {
                        clickmap: true,
                        trackLinks: true,
                        accurateTrackBounce: true,
                        webvisor: true,
                        triggerEvent: true
                    });
                    console.log("ym start");
                }, 100);
            loadedTLAnalytics = true;
            clearTimeout(timerId);
            window.removeEventListener('scroll', loadTLAnalytics, {passive: true});
            window.removeEventListener('touchstart', loadTLAnalytics, {passive: true});
            document.removeEventListener('mouseenter', loadTLAnalytics);
            document.removeEventListener('click', loadTLAnalytics);
            document.removeEventListener('DOMContentLoaded', loadFallback);
        }
    })()
</script>

<script>
    addEventListener("DOMContentLoaded", (event) => {

        function searchCity(query) {
            if (query.length >= 0) {
                const data = JSON.stringify({
                    action: 'searchCity',
                    query: query,
                })
                console.log(data)
                var xmlhr = new XMLHttpRequest()
                xmlhr.open('POST', '/php/ajax.php', true)
                xmlhr.setRequestHeader('Content-type', 'application/json; charset=utf-8')
                xmlhr.send(data)
                xmlhr.onreadystatechange = function () {
                    if (xmlhr.readyState === 4 && xmlhr.status === 200) {
                        const results = JSON.parse(xmlhr.response)
                        if (results.SUCCESS == true) {
                            if (query.length == '') {
                                citiesList.classList.add('cities-list--all')
                            } else {
                                citiesList.classList.remove('cities-list--all')
                            }
                            citiesList.innerHTML = ''
                            if (results['CITIES'].length) {
                                for (let city of results['CITIES']) {
                                    let citiesItem = document.createElement('div')
                                    citiesItem.classList = 'cities-item' + ' cities-item--' + city.code
                                    citiesItem.dataset.url = city.url
                                    citiesItem.innerHTML = city.name

                                    citiesList.appendChild(citiesItem)

                                    citiesItem.addEventListener('click', function () {
                                        window.location = city.url
                                        localStorage.setItem('localStorageLocation', 'shown');
                                    })
                                }
                            } else {
                                citiesList.innerHTML = '<div class="no-results">Ничего не найдено</div>'
                                console.log(window.city)
                            }
                        } else {
                            //console.log(results)
                        }
                    }
                }
            }
        }

        const citiesList = document.querySelector('.cities-list')
        if (citiesList) {
            const cityName = document.querySelector('.city-name')
            if (cityName) {
                /*cityName.addEventListener('click', function () {
                    searchCity(cityName.value)
                })*/
                let phrase
                cityName.addEventListener('keyup', function () {
                    clearTimeout(phrase)
                    phrase = setTimeout(function () {
                        searchCity(cityName.value)
                    }, 1000)
                })
            }
        }

        document.addEventListener('click', function (event) {
            if (event.target.classList.contains('cities-item')) {
                let citiesItem = event.target
                window.location = citiesItem.getAttribute('data-url')
                localStorage.setItem('localStorageLocation', 'shown');
            }
            if (event.target.classList.contains('locationPopup-trigger') || event.target.parentElement.classList.contains('locationPopup-trigger')) {
                window.locationPopup = new Fancybox([
                    {
                        src: "#location-popup",
                    }
                ], {
                    //dragToClose: false,
                    on: {
                        done: (fancybox, slide) => {

                        },
                        close: (fancybox, slide) => {

                        },
                    },
                    //closeButton: false,
                })
                //searchCity('')
            }
        })
    })
</script>
<script>if (window.location.hash != '' && window.location.hash != '#') top.BX.ajax.history.checkRedirectStart('bxajaxid', '931ee8d609545b7cbf5d6b566c1a405a')</script><script type="text/javascript">
function _processform_XrQFCj(){
	if (BX('bxajaxid_931ee8d609545b7cbf5d6b566c1a405a_XrQFCj'))
	{
		var obForm = BX('bxajaxid_931ee8d609545b7cbf5d6b566c1a405a_XrQFCj').form;
		BX.bind(obForm, 'submit', function() {BX.ajax.submitComponentForm(this, 'comp_931ee8d609545b7cbf5d6b566c1a405a', true)});
	}
	BX.removeCustomEvent('onAjaxSuccess', _processform_XrQFCj);
}
if (BX('bxajaxid_931ee8d609545b7cbf5d6b566c1a405a_XrQFCj'))
	_processform_XrQFCj();
else
	BX.addCustomEvent('onAjaxSuccess', _processform_XrQFCj);
</script><script>if (top.BX.ajax.history.bHashCollision) top.BX.ajax.history.checkRedirectFinish('bxajaxid', '931ee8d609545b7cbf5d6b566c1a405a');</script><script>top.BX.ready(BX.defer(function() {window.AJAX_PAGE_STATE = new top.BX.ajax.component('comp_931ee8d609545b7cbf5d6b566c1a405a'); top.BX.ajax.history.init(window.AJAX_PAGE_STATE);}))</script><script>

        addEventListener("DOMContentLoaded", (event) => {

            window.wheelPopup = false
            window.wheelSuccess = false
            let clickFromWidget = false;

            const widgetWheel = document.querySelector('.widget-wheel');

            if (widgetWheel) {
                let widgetWheelIsShow = false
                window.addEventListener('scroll', () => {
                    widgetWheel.style.display = 'flex';
                    if (!widgetWheelIsShow) {
                        widgetWheelIsShow = true;
                        reachGoal96577005('pokaz_vijet_koleso_fortuny')
                    }
                })

                widgetWheel.addEventListener('click', function (event) {
                    //ym(96577005, 'reachGoal', 'klik_vijet_koleso_fortuny')
                    reachGoal96577005('klik_vijet_koleso_fortuny')
                    if (!(localStorage.getItem('localStoragePopupWheelSent'))) {
                        showWheelPopup()
                        reachGoal96577005('pokaz_up_vijet_koleso_fortuny')
                        clickFromWidget = true;
                    } else {
                        window.wheelSuccess = new Fancybox(
                            [
                                {
                                    src: "#wheel-success",
                                },
                            ],
                            {
                                dragToClose: false,
                                on: {
                                    done: (fancybox, slide) => {
                                        if (window.wheelPopup) {
                                            window.wheelPopup.close()
                                        }
                                    },
                                    close: (fancybox, slide) => {
                                    }
                                },
                            })
                    }
                })
            }


            let popup = document.querySelector('.js-popup-wheel');
            if (popup) {
                let limit = 24 * 3600 * 1000;
                let localStoragePopup = localStorage.getItem('localStoragePopupWheel');
                if (+new Date() - localStoragePopup > limit) {
                    localStorage.removeItem('localStoragePopupWheel');
                }
                if (!(localStorage.getItem('localStoragePopupWheel')) && !(localStorage.getItem('localStoragePopupWheelSent'))) {
                    // setTimeout(() => {
                    //     if (!window.wheelPopup) {
                    //         showWheelPopup()
                    //         reachGoal96577005('pokaz_up_koleso_fortuny35')
                    //         localStorage.setItem('localStoragePopupWheel', +new Date());
                    //     }
                    // }, 35000);

                    /*setTimeout(function() {
                        checkWheelPopup();
                    }, 35000);*/
                }

                //submit form
                let popupForm = popup.querySelector('form');
                if (popupForm) {
                    let submit = popupForm.querySelector('[type=submit]');
                    if (submit) {

                        // let policy = popupForm.querySelector('#wheelPopup-agree');
                        // if (policy) {
                        //     console.log('policy')
                        //     policy.addEventListener('change', () => {
                        //         if (policy.checked) {
                        //             submit.removeAttribute("disabled");
                        //         } else {
                        //             submit.setAttribute("disabled", "disabled");
                        //         }
                        //     });
                        // }

                        /* let deg, result;
                        /* result = Math.floor(Math.random() * 100) + 1;
                         switch (true) {
                             case (result <= 50):
                                 prizeName = 'скидка 5%';
                                 deg = 45;
                                 break;
                             case (result <= 100):
                                 prizeName = 'скидка 10%';
                                 deg = 270;
                                 break;
                         }*/

                        const prizeName = 'Консультация стоматолога бесплатно';
                        const deg = 105;

                        // const prizeInput = popupForm.querySelector('input.GIFT')
                        // if (prizeInput) {
                        //     prizeInput.value = prizeName
                        // }

                        popupForm.addEventListener('submit', (event) => {

                            if(clickFromWidget) {
                                reachGoal96577005('lead_up_vijet_koleso_fortuny')
                            } else {
                                reachGoal96577005('lead_up_koleso_fortuny35')
                            }

                            let titleB24= popupForm.querySelector('[data-id="title-b24"]');
                            if(titleB24) {
                                if(clickFromWidget) {
                                    titleB24.value = 'Колесо фортуны. Бесплатная консультация стоматолога';
                                } else {
                                    titleB24.value = 'Колесо фортуны 35 сек. Бесплатная консультация стоматолога';
                                }
                            }

                            localStorage.setItem('localStoragePopupWheelSent', +new Date());
                            let round = popup.querySelector('#round');
                            if (round) {
                                round.classList.remove('slow');
                                round.classList.add('fast');
                                setTimeout(function () {
                                    round.style.transform = `rotate(2turn) rotate(${deg}deg)`;
                                }, 1000);

                                setTimeout(function () {
                                    round.classList.remove('fast');
                                }, 5000);

                                setTimeout(function () {
                                    window.wheelSuccess = new Fancybox(
                                        [
                                            {
                                                src: "#wheel-success",
                                            },
                                        ],
                                        {
                                            dragToClose: false,
                                            on: {
                                                done: (fancybox, slide) => {
                                                    window.wheelPopup.close()
                                                    round.classList.add('slow');
                                                    popupForm.reset();
                                                },
                                                close: (fancybox, slide) => {
                                                }
                                            },
                                        })
                                }, 6000);
                            }
                        })

                    }
                }
            }

            function showWheelPopup() {
                window.wheelPopup = new Fancybox([
                        {
                            src: "#wheel-popup",
                        },
                    ],
                    {
                        dragToClose: false,
                        on: {
                            done: (fancybox, slide) => {
                            },
                            close: (fancybox, slide) => {
                                // location.reload()
                            }
                        },
                    })

            }

            function checkWheelPopup() {
                if (document.querySelector('body').classList.contains('popupQuestionIsOpen')) {
                    setTimeout(function() {
                        checkWheelPopup();
                        console.log('что-то открыто 1')
                    }, 10000);
                } else {
                    if (!(localStorage.getItem('localStoragePopupWheel')) && !(localStorage.getItem('localStoragePopupWheelSent'))) {
                        setTimeout(() => {
                            if (!window.wheelPopup) {
                                showWheelPopup()
                                reachGoal96577005('pokaz_up_koleso_fortuny35')
                                localStorage.setItem('localStoragePopupWheel', +new Date());
                            }
                        }, 20000);
                    }
                }
            }
        })
    </script><script>
        function initDynamicWidget() {
            const widget = document.querySelector(".widget-dynamic");
            if (widget) {
                const widgetClose = widget.querySelector(".widgetDynamic-close");
                let widgetMessages = widget.querySelectorAll(".widgetDynamic-message");
                let widgetTyping = widget.querySelector(".widgetDynamic-typing");
                let messageBtn = widget.querySelector(".widgetDynamic-message-btn");

                widgetClose.addEventListener('click', function () {
                    widget.classList.remove('active')
                });

                const widgetShown = localStorage.getItem('widgetShown');
                const currentTime = new Date().getTime();
                if (!widgetShown || (currentTime - widgetShown) > (24 * 60 * 60 * 1000)) {
                    setTimeout(function () {
                        widget.classList.add('active')

                        widgetMessages[0].innerHTML = `Здравствуйте!`;
                        widgetMessages[1].innerHTML = `Заберите свой подарок! 🎁`;
                        widgetTyping.classList.add('active');
                        setTimeout(function () {
                            widgetTyping.classList.remove('active');
                            widgetMessages[2].innerHTML = ` <b>Получите 3&nbsp;000&nbsp;₽ на&nbsp;любые стоматологические услуги 👩🏻‍⚕️</b>`;
                        }, 4000);

                        setTimeout(function () {
                            messageBtn.style.display = 'flex';
                            messageBtn.addEventListener('click', () => {
                                widgetClose.click();
                                ym(96577005, 'reachGoal', 'klik_online_zahvatchik');
                                //window.open('https://1001doc.ru/sales/skidka-na-vse-analizy-10/', '_self')
                            });
                        }, 6000);

                        ym(96577005, 'reachGoal', 'pokaz_online_zahvatchik');
                    }, 30000);

                    //if heed show once a day
                    //localStorage.setItem('widgetShown', currentTime);
                }
            }
        }

        addEventListener('DOMContentLoaded', (event) => {
            initDynamicWidget();
        });
    </script>
<script>
        document.addEventListener("DOMContentLoaded", (event) => {
            let widgetAdvice = document.querySelector('.widget-advice')
            if (widgetAdvice) {
                setTimeout(() => {
                    reachGoal96577005('pokaz_vidjet')
                }, 1000);
                widgetAdvice.addEventListener('click', function () {
                    reachGoal96577005('klik_vidjet')
                });
            }

            let widgetDiscount = document.querySelector('.widget-discount');

            if (widgetDiscount) {
                // Отправка цели при первом появлении на экране (хотя бы 30%)
                let goalSent = false;

                const observer = new IntersectionObserver((entries, observer) => {
                    entries.forEach(entry => {
                        if (entry.isIntersecting && !goalSent) {
                            if (typeof window['reachGoal' + window.metricaId] === 'function') {
                                window['reachGoal' + window.metricaId]('pokaz_vidjet_akzia');
                                goalSent = true;
                                observer.unobserve(widgetDiscount); // отключаем наблюдение
                            }
                        }
                    });
                }, {
                    threshold: 0.3 // 30% видимости элемента
                });

                observer.observe(widgetDiscount);

                // Клик по виджету
                widgetDiscount.addEventListener('click', function () {
                    if (typeof window['reachGoal' + window.metricaId] === 'function') {
                        window['reachGoal' + window.metricaId]('klik_vidjet_akzia');
                    }
                });
            }

            let lastScrollTop = 0;
            window.addEventListener('scroll', function () {
                const footer = document.querySelector('footer');
                const widget = document.querySelector('.widgets');

                if (!footer || !widget) return;

                const footerRect = footer.getBoundingClientRect();
                const widgetRect = widget.getBoundingClientRect();
                const windowHeight = window.innerHeight;
                const windowWidth = window.innerWidth;
                const currentScrollTop = window.scrollY;

                const defaultBottom = windowWidth < 991 ? '70px' : '60px';

                if (currentScrollTop > lastScrollTop) { // Скролл вниз
                    if (widgetRect.bottom > footerRect.top) {
                        widget.style.bottom = `${windowHeight - footerRect.top}px`;
                    }

                    if (window.scrollY <= footerRect.bottom) {
                        widget.style.bottom = defaultBottom;
                    }

                } else { // Скролл вверх
                    if (widgetRect.bottom <= footerRect.top) {
                        if (window.scrollY <= footerRect.bottom) {
                            widget.style.bottom = defaultBottom;
                        } else {
                            widget.style.bottom = `${windowHeight - footerRect.top}px`;
                        }
                    }
                }

                lastScrollTop = currentScrollTop <= 0 ? 0 : currentScrollTop;
            });
        });
    </script>
<script type="text/javascript" async src="https://app.uiscom.ru/static/cs.min.js?k=Z4fu3N0LLUlRq_Dn6ikhz85Stboe0_HB"></script>

<script type="text/javascript" src="https://cdn.envybox.io/widget/cbk.js?wcb_code=c6cf3467954c00b5bbfc83bf86703cfa" charset="UTF-8" async></script>

<script>addEventListener('DOMContentLoaded', function(){window.sgTopbar72 = {'selectors': [],'header': false,'instance': false,'intervals': {'init': false},'body': {'styles': {'old': false,'new': false}}};window.sgTopbar72.selectors.push('header');function getTopbar72Header() {let header = false;for(let selector of window.sgTopbar72.selectors) {element = document.querySelector(selector);if(element) {if( isVisible(element) ) {header = element;break;}}}window.sgTopbar72.header = header;return header}if(window.sgTopbar72.intervals.init === false) {window.sgTopbar72.intervals.init = setInterval(function(){if(getTopbar72Header()){clearInterval(window.sgTopbar72.intervals.init);let limit = 0;let localStorageTopbarOpen = localStorage.getItem('localStorageTopbarOpen1770912297');if (+new Date() - localStorageTopbarOpen > limit) {localStorage.removeItem('localStorageTopbarOpen1770912297');}if (!(localStorage.getItem('localStorageTopbarOpen1770912297'))) {localStorage.setItem('localStorageTopbarOpen1770912297', +new Date());insertTopbar72();}}}, 1000);}function insertTopbar72() {topbar = document.createElement('div');topbar.id = 'sgTopbar72';alreadyAdded = document.querySelector('#'+ topbar.id);if(!alreadyAdded) {dateToTopbar72 = 1733184000 * 1000;if(dateToTopbar72 < Date.now()) {do {dateToTopbar72 += 10 * 24 * 60 * 60 * 1000;} while (dateToTopbar72 < Date.now());}dateTopbar72 = new Date(dateToTopbar72);formattedDateTopbar72 = '{day}.{month}';if(formattedDateTopbar72.indexOf('{day}') != -1) {day = dateTopbar72.getDate();if("number_short" == "number_full") {if(day < 10) {day = '0' + day;}}formattedDateTopbar72 = formattedDateTopbar72.replace('{day}', day);}if(formattedDateTopbar72.indexOf('{month}') != -1) {month = dateTopbar72.getMonth() + 1;if("number_full" == "number_full") {if(month < 10) {month = '0' + month;}} else if("number_full" == "text_nominative") {let months = {1: 'январь',2: 'февраль',3: 'март',4: 'апрель',5: 'май',6: 'июнь',7: 'июль',8: 'август',9: 'сентябрь',10: 'октябрь',11: 'ноябрь',12: 'декабрь'};month = months[month];} else if("number_full" == "text_genitive") {let months = {1: 'января',2: 'февраля',3: 'марта',4: 'апреля',5: 'мая',6: 'июня',7: 'июля',8: 'августа',9: 'сентября',10: 'октября',11: 'ноября',12: 'декабря'};month = months[month];}formattedDateTopbar72 = formattedDateTopbar72.replace('{month}', month);}if(formattedDateTopbar72.indexOf('{year}') != -1) {year = dateTopbar72.getFullYear();if("number_short" == "number_short") {year = year.toString().substr(-2);}formattedDateTopbar72 = formattedDateTopbar72.replace('{year}', year);}wrapper = document.createElement('div');wrapper.classList = 'topbar-wrapper';wrapper.dataset.step = '343';wrapper.dataset.position = 'static';wrapper.style.backgroundColor = '#0281eb';html = '<div class="topbar-container" style="max-width: 320px; min-height: 53px; padding: 1px 2px 1px 2px"><div class="topbar-element" data-type="editor" data-element-id="891364" style="position:absolute;z-index:0;top:3px;left:2px;width:71px;height:33px;padding-top:1px;padding-right:1px;padding-bottom:1px;padding-left:1px;background-color:#00000000;border-radius:30px;border-color:#ffffff;pLineHeight:72%" data-p-line-height="72%"><style>#sgTopbar72 .topbar-element[data-element-id="891364"][data-type="editor"] * {line-height: 72%}</style><div class="topbarElement-content"><p style="text-align:center;"><span style="color:hsl(0,0%,100%);font-size:9px;"><strong>Только До&nbsp;</strong></span><br><span style="background-color:transparent;color:hsl(0,0%,100%);font-size:9px;"><strong>{date}</strong></span></p></div></div><div class="topbar-element" data-type="editor" data-element-id="530712" style="position:absolute;z-index:0;top:3px;left:75.9688px;width:219px;height:34px;background-color:#00000000;border-color:#000000;pLineHeight:94%" data-p-line-height="94%"><style>#sgTopbar72 .topbar-element[data-element-id="530712"][data-type="editor"] * {line-height: 94%}</style><div class="topbarElement-content"><p><span style="color:hsl(0,0%,100%);font-size:12px;"><strong>Получите промокод со скидкой 15% на первый визит в стоматологию</strong></span></p></div></div><div class="topbar-element" data-type="button-close" style="position:absolute;z-index:;top:11.9844px;left:1470.46px"><div class="topbarElement-content"><button class="button-close" style="padding: 10px; width: 40px; height: 40px; background-color: rgba(34, 34, 34, 0); border: 0px solid rgb(255, 255, 255); border-radius: 20px;"><svg viewBox="0 0 18 18" fill="#ffffff" xmlns="http://www.w3.org/2000/svg" style="fill: rgb(58, 58, 58);"><path d="M1.8 18L0 16.2L7.2 9L0 1.8L1.8 0L9 7.2L16.2 0L18 1.8L10.8 9L18 16.2L16.2 18L9 10.8L1.8 18Z"></path></svg></button><div class="topbarElement-actions"><div class="topbarElement-action elementEdit-trigger"></div></div></div></div><div class="topbar-element" data-type="button-close" style="position:absolute;z-index:0;top:1px;left:303px"><div class="topbarElement-content"><button class="button-close" style="padding: 1px; width: 12px; height: 12px; background-color: rgba(34, 34, 34, 0); border: 0px solid rgb(255, 255, 255); border-radius: 20px;"><svg viewBox="0 0 18 18" fill="#ffffff" xmlns="http://www.w3.org/2000/svg" style="fill: rgb(68, 68, 68);"><path d="M1.8 18L0 16.2L7.2 9L0 1.8L1.8 0L9 7.2L16.2 0L18 1.8L10.8 9L18 16.2L16.2 18L9 10.8L1.8 18Z"></path></svg></button><div class="topbarElement-actions"><div class="topbarElement-action elementEdit-trigger"></div></div></div></div><div class="topbar-element" data-type="button-link" style="position:absolute;z-index:0;top:35px;left:2px"><div class="topbarElement-content"><button class="button-link" style="padding: 1px 20px; width: 320px; height: 16px; background-color: rgb(255, 233, 147); border: 0px solid rgb(255, 255, 255); border-radius: 10px; font-size: 9px; color: rgb(0, 0, 0); font-weight: 700;" data-type="opener" data-popup="294">Узнать подробнее</button><div class="topbarElement-actions"><div class="topbarElement-action elementEdit-trigger"></div></div></div></div></div>';html = html.replaceAll('{date}', formattedDateTopbar72);wrapper.innerHTML = '<noindex>'+ html +'</noindex>';topbar.append(wrapper);wrapper = document.createElement('div');wrapper.classList = 'topbar-wrapper';wrapper.dataset.step = '343';wrapper.dataset.position = 'fixed';wrapper.style.backgroundColor = '#0281eb';html = '<div class="topbar-container" style="max-width: 320px; min-height: 53px; padding: 1px 2px 1px 2px"><div class="topbar-element" data-type="editor" data-element-id="530888" style="position:absolute;z-index:0;top:3px;left:2px;width:71px;height:33px;padding-top:1px;padding-right:1px;padding-bottom:1px;padding-left:1px;background-color:#00000000;border-radius:30px;border-color:#ffffff;pLineHeight:72%" data-p-line-height="72%"><style>#sgTopbar72 .topbar-element[data-element-id="530888"][data-type="editor"] * {line-height: 72%}</style><div class="topbarElement-content"><p style="text-align:center;"><span style="color:hsl(0,0%,100%);font-size:9px;"><strong>Только До&nbsp;</strong></span><br><span style="background-color:transparent;color:hsl(0,0%,100%);font-size:9px;"><strong>{date}</strong></span></p></div></div><div class="topbar-element" data-type="editor" data-element-id="575214" style="position:absolute;z-index:0;top:3px;left:75.9688px;width:219px;height:34px;background-color:#00000000;border-color:#000000;pLineHeight:94%" data-p-line-height="94%"><style>#sgTopbar72 .topbar-element[data-element-id="575214"][data-type="editor"] * {line-height: 94%}</style><div class="topbarElement-content"><p><span style="color:hsl(0,0%,100%);font-size:12px;"><strong>Получите промокод со скидкой 15% на первый визит в стоматологию</strong></span></p></div></div><div class="topbar-element" data-type="button-close" style="position:absolute;z-index:;top:11.9844px;left:1470.46px"><div class="topbarElement-content"><button class="button-close" style="padding: 10px; width: 40px; height: 40px; background-color: rgba(34, 34, 34, 0); border: 0px solid rgb(255, 255, 255); border-radius: 20px;"><svg viewBox="0 0 18 18" fill="#ffffff" xmlns="http://www.w3.org/2000/svg" style="fill: rgb(58, 58, 58);"><path d="M1.8 18L0 16.2L7.2 9L0 1.8L1.8 0L9 7.2L16.2 0L18 1.8L10.8 9L18 16.2L16.2 18L9 10.8L1.8 18Z"></path></svg></button><div class="topbarElement-actions"><div class="topbarElement-action elementEdit-trigger"></div></div></div></div><div class="topbar-element" data-type="button-close" style="position:absolute;z-index:0;top:1px;left:303px"><div class="topbarElement-content"><button class="button-close" style="padding: 1px; width: 12px; height: 12px; background-color: rgba(34, 34, 34, 0); border: 0px solid rgb(255, 255, 255); border-radius: 20px;"><svg viewBox="0 0 18 18" fill="#ffffff" xmlns="http://www.w3.org/2000/svg" style="fill: rgb(68, 68, 68);"><path d="M1.8 18L0 16.2L7.2 9L0 1.8L1.8 0L9 7.2L16.2 0L18 1.8L10.8 9L18 16.2L16.2 18L9 10.8L1.8 18Z"></path></svg></button><div class="topbarElement-actions"><div class="topbarElement-action elementEdit-trigger"></div></div></div></div><div class="topbar-element" data-type="button-link" style="position:absolute;z-index:0;top:35px;left:2px"><div class="topbarElement-content"><button class="button-link" style="padding: 1px 20px; width: 320px; height: 16px; background-color: rgb(255, 233, 147); border: 0px solid rgb(255, 255, 255); border-radius: 10px; font-size: 9px; color: rgb(0, 0, 0); font-weight: 700;" data-type="opener" data-popup="294">Узнать подробнее</button><div class="topbarElement-actions"><div class="topbarElement-action elementEdit-trigger"></div></div></div></div></div>';html = html.replaceAll('{date}', formattedDateTopbar72);wrapper.innerHTML = '<noindex>'+ html +'</noindex>';topbar.append(wrapper);wrapper = document.createElement('div');wrapper.classList = 'topbar-wrapper';wrapper.dataset.step = '341';wrapper.dataset.position = 'static';wrapper.style.backgroundColor = '#0281eb';html = '<div class="topbar-container" style="max-width: 360px; min-height: 53px; padding: 1px 2px 1px 2px"><div class="topbar-element" data-type="editor" data-element-id="534923" style="position:absolute;z-index:0;top:3px;left:2px;width:85px;height:33px;padding-top:1px;padding-right:1px;padding-bottom:1px;padding-left:1px;background-color:#00000000;border-radius:30px;border-color:#ffffff;pLineHeight:67%" data-p-line-height="67%"><style>#sgTopbar72 .topbar-element[data-element-id="534923"][data-type="editor"] * {line-height: 67%}</style><div class="topbarElement-content"><p style="text-align:center;"><span style="color:hsl(0,0%,100%);font-size:10px;"><strong>Только До&nbsp;</strong></span><br><span style="background-color:transparent;color:hsl(0,0%,100%);font-size:10px;"><strong>{date}</strong></span></p></div></div><div class="topbar-element" data-type="editor" data-element-id="176441" style="position:absolute;z-index:0;top:5px;left:74px;width:258px;height:31px;background-color:#00000000;border-color:#000000;pLineHeight:98%" data-p-line-height="98%"><style>#sgTopbar72 .topbar-element[data-element-id="176441"][data-type="editor"] * {line-height: 98%}</style><div class="topbarElement-content"><p><span style="color:hsl(0,0%,100%);font-size:14px;"><strong>Получите промокод со скидкой 15% на первый визит в стоматологию</strong></span></p></div></div><div class="topbar-element" data-type="button-close" style="position:absolute;z-index:;top:11.9844px;left:1470.46px"><div class="topbarElement-content"><button class="button-close" style="padding: 10px; width: 40px; height: 40px; background-color: rgba(34, 34, 34, 0); border: 0px solid rgb(255, 255, 255); border-radius: 20px;"><svg viewBox="0 0 18 18" fill="#ffffff" xmlns="http://www.w3.org/2000/svg" style="fill: rgb(58, 58, 58);"><path d="M1.8 18L0 16.2L7.2 9L0 1.8L1.8 0L9 7.2L16.2 0L18 1.8L10.8 9L18 16.2L16.2 18L9 10.8L1.8 18Z"></path></svg></button><div class="topbarElement-actions"><div class="topbarElement-action elementEdit-trigger"></div></div></div></div><div class="topbar-element" data-type="button-close" style="position:absolute;z-index:;top:4px;left:343px"><div class="topbarElement-content"><button class="button-close" style="padding: 1px; width: 15px; height: 15px; background-color: rgba(34, 34, 34, 0); border: 0px solid rgb(255, 255, 255); border-radius: 20px;"><svg viewBox="0 0 18 18" fill="#ffffff" xmlns="http://www.w3.org/2000/svg" style="fill: rgb(68, 68, 68);"><path d="M1.8 18L0 16.2L7.2 9L0 1.8L1.8 0L9 7.2L16.2 0L18 1.8L10.8 9L18 16.2L16.2 18L9 10.8L1.8 18Z"></path></svg></button><div class="topbarElement-actions"><div class="topbarElement-action elementEdit-trigger"></div></div></div></div><div class="topbar-element" data-type="button-link" style="position:absolute;z-index:0;top:35px;left:8.96875px"><div class="topbarElement-content"><button class="button-link" style="padding: 1px 20px; width: 345px; height: 16px; background-color: rgb(255, 233, 147); border: 0px solid rgb(255, 255, 255); border-radius: 10px; font-size: 9px; color: rgb(0, 0, 0); font-weight: 700;" data-type="opener" data-popup="294">Узнать подробнее</button><div class="topbarElement-actions"><div class="topbarElement-action elementEdit-trigger"></div></div></div></div></div>';html = html.replaceAll('{date}', formattedDateTopbar72);wrapper.innerHTML = '<noindex>'+ html +'</noindex>';topbar.append(wrapper);wrapper = document.createElement('div');wrapper.classList = 'topbar-wrapper';wrapper.dataset.step = '341';wrapper.dataset.position = 'fixed';wrapper.style.backgroundColor = '#0281eb';html = '<div class="topbar-container" style="max-width: 360px; min-height: 53px; padding: 1px 2px 1px 2px"><div class="topbar-element" data-type="editor" data-element-id="230265" style="position:absolute;z-index:0;top:3px;left:2px;width:85px;height:33px;padding-top:1px;padding-right:1px;padding-bottom:1px;padding-left:1px;background-color:#00000000;border-radius:30px;border-color:#ffffff;pLineHeight:67%" data-p-line-height="67%"><style>#sgTopbar72 .topbar-element[data-element-id="230265"][data-type="editor"] * {line-height: 67%}</style><div class="topbarElement-content"><p style="text-align:center;"><span style="color:hsl(0,0%,100%);font-size:10px;"><strong>Только До&nbsp;</strong></span><br><span style="background-color:transparent;color:hsl(0,0%,100%);font-size:10px;"><strong>{date}</strong></span></p></div></div><div class="topbar-element" data-type="editor" data-element-id="966102" style="position:absolute;z-index:0;top:5px;left:74px;width:258px;height:31px;background-color:#00000000;border-color:#000000;pLineHeight:98%" data-p-line-height="98%"><style>#sgTopbar72 .topbar-element[data-element-id="966102"][data-type="editor"] * {line-height: 98%}</style><div class="topbarElement-content"><p><span style="color:hsl(0,0%,100%);font-size:14px;"><strong>Получите промокод со скидкой 15% на первый визит в стоматологию</strong></span></p></div></div><div class="topbar-element" data-type="button-close" style="position:absolute;z-index:;top:11.9844px;left:1470.46px"><div class="topbarElement-content"><button class="button-close" style="padding: 10px; width: 40px; height: 40px; background-color: rgba(34, 34, 34, 0); border: 0px solid rgb(255, 255, 255); border-radius: 20px;"><svg viewBox="0 0 18 18" fill="#ffffff" xmlns="http://www.w3.org/2000/svg" style="fill: rgb(58, 58, 58);"><path d="M1.8 18L0 16.2L7.2 9L0 1.8L1.8 0L9 7.2L16.2 0L18 1.8L10.8 9L18 16.2L16.2 18L9 10.8L1.8 18Z"></path></svg></button><div class="topbarElement-actions"><div class="topbarElement-action elementEdit-trigger"></div></div></div></div><div class="topbar-element" data-type="button-close" style="position:absolute;z-index:;top:4px;left:343px"><div class="topbarElement-content"><button class="button-close" style="padding: 1px; width: 15px; height: 15px; background-color: rgba(34, 34, 34, 0); border: 0px solid rgb(255, 255, 255); border-radius: 20px;"><svg viewBox="0 0 18 18" fill="#ffffff" xmlns="http://www.w3.org/2000/svg" style="fill: rgb(68, 68, 68);"><path d="M1.8 18L0 16.2L7.2 9L0 1.8L1.8 0L9 7.2L16.2 0L18 1.8L10.8 9L18 16.2L16.2 18L9 10.8L1.8 18Z"></path></svg></button><div class="topbarElement-actions"><div class="topbarElement-action elementEdit-trigger"></div></div></div></div><div class="topbar-element" data-type="button-link" style="position:absolute;z-index:0;top:35px;left:8.96875px"><div class="topbarElement-content"><button class="button-link" style="padding: 1px 20px; width: 345px; height: 16px; background-color: rgb(255, 233, 147); border: 0px solid rgb(255, 255, 255); border-radius: 10px; font-size: 9px; color: rgb(0, 0, 0); font-weight: 700;" data-type="opener" data-popup="294">Узнать подробнее</button><div class="topbarElement-actions"><div class="topbarElement-action elementEdit-trigger"></div></div></div></div></div>';html = html.replaceAll('{date}', formattedDateTopbar72);wrapper.innerHTML = '<noindex>'+ html +'</noindex>';topbar.append(wrapper);wrapper = document.createElement('div');wrapper.classList = 'topbar-wrapper';wrapper.dataset.step = '342';wrapper.dataset.position = 'static';wrapper.style.backgroundColor = '#0281eb';html = '<div class="topbar-container" style="max-width: 700px; min-height: 60px; padding: 1px 11px 1px 11px"><div class="topbar-element" data-type="editor" data-element-id="547591" style="position:absolute;z-index:0;top:3.9948px;left:11px;width:110px;height:52px;padding-top:4px;padding-right:2px;padding-bottom:2px;padding-left:2px;background-color:#00000000;border-width:3px;border-style:solid;border-radius:30px;border-color:#ffffff;pLineHeight:100%" data-p-line-height="100%"><style>#sgTopbar72 .topbar-element[data-element-id="547591"][data-type="editor"] * {line-height: 100%}</style><div class="topbarElement-content"><p style="text-align:center;"><span style="color:hsl(0,0%,100%);font-size:16px;"><strong>Только До&nbsp;</strong></span><br><span style="background-color:transparent;color:hsl(0,0%,100%);font-size:16px;"><strong>{date}</strong></span></p></div></div><div class="topbar-element" data-type="editor" data-element-id="738787" style="position:absolute;z-index:0;top:8.99219px;left:131.938px;width:377px;height:48px;background-color:#00000000;border-color:#000000;pLineHeight:98%" data-p-line-height="98%"><style>#sgTopbar72 .topbar-element[data-element-id="738787"][data-type="editor"] * {line-height: 98%}</style><div class="topbarElement-content"><p><span style="color:hsl(0,0%,100%);font-size:20px;"><strong>Получите промокод со скидкой 15% на первый визит в стоматологию</strong></span></p></div></div><div class="topbar-element" data-type="button-close" style="position:absolute;z-index:0;top:1px;left:671px"><div class="topbarElement-content"><button class="button-close" style="padding: 2px; width: 18px; height: 18px; background-color: rgba(34, 34, 34, 0); border: 0px solid rgb(255, 255, 255); border-radius: 20px;"><svg viewBox="0 0 18 18" fill="#ffffff" xmlns="http://www.w3.org/2000/svg" style="fill: rgb(58, 58, 58);"><path d="M1.8 18L0 16.2L7.2 9L0 1.8L1.8 0L9 7.2L16.2 0L18 1.8L10.8 9L18 16.2L16.2 18L9 10.8L1.8 18Z"></path></svg></button><div class="topbarElement-actions"><div class="topbarElement-action elementEdit-trigger"></div></div></div></div><div class="topbar-element" data-type="button-link" style="position:absolute;z-index:0;top:5.99652px;left:520.997px"><div class="topbarElement-content"><button class="button-link" style="padding: 5px 20px; width: 145px; height: 46px; background-color: rgb(255, 233, 147); border: 0px solid rgb(255, 255, 255); border-radius: 10px; font-size: 14px; color: rgb(0, 0, 0); font-weight: 700;" data-type="opener" data-popup="294">Узнать подробнее</button><div class="topbarElement-actions"><div class="topbarElement-action elementEdit-trigger"></div></div></div></div></div>';html = html.replaceAll('{date}', formattedDateTopbar72);wrapper.innerHTML = '<noindex>'+ html +'</noindex>';topbar.append(wrapper);wrapper = document.createElement('div');wrapper.classList = 'topbar-wrapper';wrapper.dataset.step = '342';wrapper.dataset.position = 'fixed';wrapper.style.backgroundColor = '#0281eb';html = '<div class="topbar-container" style="max-width: 700px; min-height: 60px; padding: 1px 11px 1px 11px"><div class="topbar-element" data-type="editor" data-element-id="130072" style="position:absolute;z-index:0;top:3.9948px;left:11px;width:110px;height:52px;padding-top:4px;padding-right:2px;padding-bottom:2px;padding-left:2px;background-color:#00000000;border-width:3px;border-style:solid;border-radius:30px;border-color:#ffffff;pLineHeight:100%" data-p-line-height="100%"><style>#sgTopbar72 .topbar-element[data-element-id="130072"][data-type="editor"] * {line-height: 100%}</style><div class="topbarElement-content"><p style="text-align:center;"><span style="color:hsl(0,0%,100%);font-size:16px;"><strong>Только До&nbsp;</strong></span><br><span style="background-color:transparent;color:hsl(0,0%,100%);font-size:16px;"><strong>{date}</strong></span></p></div></div><div class="topbar-element" data-type="editor" data-element-id="177829" style="position:absolute;z-index:0;top:8.99219px;left:131.938px;width:377px;height:48px;background-color:#00000000;border-color:#000000;pLineHeight:98%" data-p-line-height="98%"><style>#sgTopbar72 .topbar-element[data-element-id="177829"][data-type="editor"] * {line-height: 98%}</style><div class="topbarElement-content"><p><span style="color:hsl(0,0%,100%);font-size:20px;"><strong>Получите промокод со скидкой 15% на первый визит в стоматологию</strong></span></p></div></div><div class="topbar-element" data-type="button-close" style="position:absolute;z-index:0;top:1px;left:671px"><div class="topbarElement-content"><button class="button-close" style="padding: 2px; width: 18px; height: 18px; background-color: rgba(34, 34, 34, 0); border: 0px solid rgb(255, 255, 255); border-radius: 20px;"><svg viewBox="0 0 18 18" fill="#ffffff" xmlns="http://www.w3.org/2000/svg" style="fill: rgb(58, 58, 58);"><path d="M1.8 18L0 16.2L7.2 9L0 1.8L1.8 0L9 7.2L16.2 0L18 1.8L10.8 9L18 16.2L16.2 18L9 10.8L1.8 18Z"></path></svg></button><div class="topbarElement-actions"><div class="topbarElement-action elementEdit-trigger"></div></div></div></div><div class="topbar-element" data-type="button-link" style="position:absolute;z-index:0;top:5.99652px;left:520.997px"><div class="topbarElement-content"><button class="button-link" style="padding: 5px 20px; width: 145px; height: 46px; background-color: rgb(255, 233, 147); border: 0px solid rgb(255, 255, 255); border-radius: 10px; font-size: 14px; color: rgb(0, 0, 0); font-weight: 700;" data-type="opener" data-popup="294">Узнать подробнее</button><div class="topbarElement-actions"><div class="topbarElement-action elementEdit-trigger"></div></div></div></div></div>';html = html.replaceAll('{date}', formattedDateTopbar72);wrapper.innerHTML = '<noindex>'+ html +'</noindex>';topbar.append(wrapper);wrapper = document.createElement('div');wrapper.classList = 'topbar-wrapper';wrapper.dataset.step = '340';wrapper.dataset.position = 'static';wrapper.style.backgroundColor = '#0281ebff';html = '<div class="topbar-container" style="max-width: 1920px; min-height: 60px; padding: 5px 15px 5px 15px"><div class="topbar-element" data-type="editor" data-element-id="432957" style="position:absolute;z-index:0;top:5px;left:124.016px;width:179px;height:51px;padding-top:4px;padding-right:4px;padding-bottom:4px;padding-left:4px;background-color:#00000000;border-width:3px;border-style:solid;border-radius:30px;border-color:#ffffff;pLineHeight:90%" data-p-line-height="90%"><style>#sgTopbar72 .topbar-element[data-element-id="432957"][data-type="editor"] * {line-height: 90%}</style><div class="topbarElement-content"><p style="text-align:center;"><span style="color:hsl(0,0%,100%);font-size:20px;"><strong>Только До&nbsp;</strong></span><br><span style="background-color:transparent;color:hsl(0,0%,100%);font-size:20px;"><strong>{date}</strong></span></p></div></div><div class="topbar-element" data-type="editor" data-element-id="642482" style="position:absolute;z-index:0;top:15px;left:321.961px;width:754px;height:35px;background-color:#00000000;border-color:#000000;pLineHeight:120%" data-p-line-height="120%"><style>#sgTopbar72 .topbar-element[data-element-id="642482"][data-type="editor"] * {line-height: 120%}</style><div class="topbarElement-content"><p><span style="color:hsl(0,0%,100%);font-size:20px;"><strong>Получите промокод со скидкой 15% на первый визит в стоматологию</strong></span></p></div></div><div class="topbar-element" data-type="button-close" style="position:absolute;z-index:;top:5px;left:1370.44px"><div class="topbarElement-content"><button class="button-close" style="padding: 10px; width: 40px; height: 40px; background-color: rgba(34, 34, 34, 0); border: 0px solid rgb(255, 255, 255); border-radius: 20px;"><svg viewBox="0 0 18 18" fill="#ffffff" xmlns="http://www.w3.org/2000/svg" style="fill: rgb(58, 58, 58);"><path d="M1.8 18L0 16.2L7.2 9L0 1.8L1.8 0L9 7.2L16.2 0L18 1.8L10.8 9L18 16.2L16.2 18L9 10.8L1.8 18Z"></path></svg></button><div class="topbarElement-actions"><div class="topbarElement-action elementEdit-trigger"></div></div></div></div><div class="topbar-element" data-type="button-link" style="position:absolute;z-index:0;top:12.6016px;left:1056.84px"><div class="topbarElement-content"><button class="button-link" style="padding: 5px 20px; width: 260px; height: 35px; background-color: rgb(255, 233, 147); border: 0px solid rgb(255, 255, 255); border-radius: 10px; font-size: 14px; color: rgb(0, 0, 0); font-weight: 700;" data-type="opener" data-popup="294">Узнать подробнее</button><div class="topbarElement-actions"><div class="topbarElement-action elementEdit-trigger"></div></div></div></div></div>';html = html.replaceAll('{date}', formattedDateTopbar72);wrapper.innerHTML = '<noindex>'+ html +'</noindex>';topbar.append(wrapper);wrapper = document.createElement('div');wrapper.classList = 'topbar-wrapper';wrapper.dataset.step = '340';wrapper.dataset.position = 'fixed';wrapper.style.backgroundColor = '#0281ebff';html = '<div class="topbar-container" style="max-width: 1920px; min-height: 60px; padding: 5px 15px 5px 15px"><div class="topbar-element" data-type="editor" data-element-id="139114" style="position:absolute;z-index:0;top:5px;left:124.016px;width:179px;height:51px;padding-top:4px;padding-right:4px;padding-bottom:4px;padding-left:4px;background-color:#00000000;border-width:3px;border-style:solid;border-radius:30px;border-color:#ffffff;pLineHeight:90%" data-p-line-height="90%"><style>#sgTopbar72 .topbar-element[data-element-id="139114"][data-type="editor"] * {line-height: 90%}</style><div class="topbarElement-content"><p style="text-align:center;"><span style="color:hsl(0,0%,100%);font-size:20px;"><strong>Только До&nbsp;</strong></span><br><span style="background-color:transparent;color:hsl(0,0%,100%);font-size:20px;"><strong>{date}</strong></span></p></div></div><div class="topbar-element" data-type="editor" data-element-id="497325" style="position:absolute;z-index:0;top:15px;left:321.961px;width:754px;height:35px;background-color:#00000000;border-color:#000000;pLineHeight:120%" data-p-line-height="120%"><style>#sgTopbar72 .topbar-element[data-element-id="497325"][data-type="editor"] * {line-height: 120%}</style><div class="topbarElement-content"><p><span style="color:hsl(0,0%,100%);font-size:20px;"><strong>Получите промокод со скидкой 15% на первый визит в стоматологию</strong></span></p></div></div><div class="topbar-element" data-type="button-close" style="position:absolute;z-index:;top:5px;left:1370.44px"><div class="topbarElement-content"><button class="button-close" style="padding: 10px; width: 40px; height: 40px; background-color: rgba(34, 34, 34, 0); border: 0px solid rgb(255, 255, 255); border-radius: 20px;"><svg viewBox="0 0 18 18" fill="#ffffff" xmlns="http://www.w3.org/2000/svg" style="fill: rgb(58, 58, 58);"><path d="M1.8 18L0 16.2L7.2 9L0 1.8L1.8 0L9 7.2L16.2 0L18 1.8L10.8 9L18 16.2L16.2 18L9 10.8L1.8 18Z"></path></svg></button><div class="topbarElement-actions"><div class="topbarElement-action elementEdit-trigger"></div></div></div></div><div class="topbar-element" data-type="button-link" style="position:absolute;z-index:0;top:12.6016px;left:1056.84px"><div class="topbarElement-content"><button class="button-link" style="padding: 5px 20px; width: 260px; height: 35px; background-color: rgb(255, 233, 147); border: 0px solid rgb(255, 255, 255); border-radius: 10px; font-size: 14px; color: rgb(0, 0, 0); font-weight: 700;" data-type="opener" data-popup="294">Узнать подробнее</button><div class="topbarElement-actions"><div class="topbarElement-action elementEdit-trigger"></div></div></div></div></div>';html = html.replaceAll('{date}', formattedDateTopbar72);wrapper.innerHTML = '<noindex>'+ html +'</noindex>';topbar.append(wrapper);document.body.append(topbar);document.body.classList.add(topbar.id);window.sgTopbar72.instance = topbar;setTimeout(function(){sgTopbar72position();}, 100);linkImages = window.sgTopbar72.instance.querySelectorAll('.image-wrapper[data-type="link"]');if(linkImages) {for(let linkImage of linkImages) {linkImage.addEventListener('click', function(){if(linkImage.dataset.link) {if(linkImage.dataset.target == '_blank') {window.open(linkImage.dataset.link);} else {location.href = linkImage.dataset.link}}});}}openerImages = window.sgTopbar72.instance.querySelectorAll('.image-wrapper[data-type="opener"]');if(openerImages) {for(let openerImage of openerImages) {openerImage.addEventListener('click', function(){if(openerImage.dataset.popup) {if(typeof window['sgPopup' + openerImage.dataset.popup] == 'function') {window['sgPopup' + openerImage.dataset.popup]('forceOpen');}}});}}linkButtons = window.sgTopbar72.instance.querySelectorAll('.button-link');if(linkButtons) {for(let linkButton of linkButtons) {linkButton.addEventListener('click', function(event){event.preventDefault();sgTopbar72reachGoal("ym(96577005,'reachGoal','klik_topbar');");if(linkButton.dataset.type == 'link') {if(linkButton.dataset.link) {if(linkButton.dataset.target == '_blank') {window.open(linkButton.dataset.link);} else {location.href = linkButton.dataset.link}}} else if(linkButton.dataset.type == 'opener') {if(linkButton.dataset.popup) {if(typeof window['sgPopup' + linkButton.dataset.popup] == 'function') {window['sgPopup' + linkButton.dataset.popup]('forceOpen');}}}});}}closeButtons = window.sgTopbar72.instance.querySelectorAll('.button-close');if(closeButtons) {for(let closeButton of closeButtons) {closeButton.addEventListener('click', function(event){event.preventDefault();window.sgTopbar72.instance.style.display = 'none';sgTopbar72position();window.sgTopbar72.instance.parentNode.removeChild(window.sgTopbar72.instance);document.body.classList.remove(topbar.id);});}}sgTopbar72reachGoal("ym(96577005,'reachGoal','pokaz_topbar');");addEventListener('resize', function(){sgTopbar72position();});}}function sgTopbar72position() {const header = getTopbar72Header();if(header) {bodyTop = 0;headerBottom = 0;topbarPosition = 'fixed';if( document.querySelector('#sgTopbar72') ){headerStyle = window.getComputedStyle(header);if(headerStyle.getPropertyValue('z-index') != 'auto') {zIndex = headerStyle.getPropertyValue('z-index') - 2;} else {zIndex = 99;}window.sgTopbar72.instance.style.zIndex = zIndex;if(header == document.body){topbarTop = 0;} else {rect = header.getBoundingClientRect();topbarTop = (header.offsetHeight + header.offsetTop + rect.top - 1) + 'px';console.log(header.offsetHeight);console.log(header.offsetTop);console.log(rect.top);}if( header == document.body || ['fixed', 'absolute'].includes( headerStyle.getPropertyValue('position') ) ) {topbarPosition = 'fixed';} else {headerBottom = window.sgTopbar72.instance.offsetHeight;topbarPosition = 'fixed';}window.sgTopbar72.instance.style.top = topbarTop;window.sgTopbar72.instance.style.position = topbarPosition;bodyStyle = window.getComputedStyle(document.body);if( !window.sgTopbar72.body.styles.old ) {window.sgTopbar72.body.styles.old = {'top': parseInt(bodyStyle['top']),'marginTop': parseInt(bodyStyle['marginTop']),}}if(window.sgTopbar72.body.styles.old.marginTop) {window.sgTopbar72.body.styles.new = {'top': 0,'marginTop': window.sgTopbar72.body.styles.old.marginTop + window.sgTopbar72.instance.offsetHeight,}} else {window.sgTopbar72.body.styles.new = {'top': window.sgTopbar72.body.styles.old.top + window.sgTopbar72.instance.offsetHeight,'marginTop': 0,}}if(parseInt(bodyStyle['top']) != window.sgTopbar72.body.styles.new.top) {document.body.style.top = window.sgTopbar72.body.styles.new.top + 'px';} else if(parseInt(bodyStyle['marginTop']) != window.sgTopbar72.body.styles.new.marginTop) {document.body.style.marginTop = window.sgTopbar72.body.styles.new.marginTop + 'px';}header.style.marginBottom = headerBottom + 'px';}}}let topbar72scrollInterval;addEventListener('scrollend', function(){clearInterval(topbar72scrollInterval);});addEventListener('scroll', function(){if( topbar72scrollInterval ) {clearInterval(topbar72scrollInterval);}topbar72scrollInterval = setInterval(function(){sgTopbar72position();}, 1);document.body.classList.toggle('scrolled', window.pageYOffset);sgTopbar72position();});function isVisible(elem, tolerance = 0.5) {const rect = elem.getBoundingClientRect();const windowHeight = (window.innerHeight || document.documentElement.clientHeight);const windowWidth = (window.innerWidth || document.documentElement.clientWidth);const inViewVertically = rect.top <= windowHeight + tolerance && rect.bottom >= -tolerance;const inViewHorizontally = rect.left <= windowWidth + tolerance && rect.right >= -tolerance;const inViewport = inViewVertically && inViewHorizontally;const style = getComputedStyle(elem);const notHiddenByCSS = style.display !== 'none' && style.visibility !== 'hidden' && parseFloat(style.opacity) > 0;const notHiddenAttribute = !elem.hidden;const hasDimensions = elem.offsetWidth > 0 || elem.offsetHeight > 0 || elem.getClientRects().length > 0;return inViewport && notHiddenByCSS && notHiddenAttribute && hasDimensions;}function sgTopbar72reachGoal(code) {function executeGoal(params) {if(typeof params == 'object') {eval('ym('+ params.join(',') +');');let data = {'goal': params[2],timestamp: new Date().toISOString()};var xmlhr = new XMLHttpRequest();xmlhr.open('POST', "https://1001doc.ru/bitrix/services/main/ajax.php?action=generator:conversion.api.ajax.goalLog");xmlhr.send(JSON.stringify(data));xmlhr.onreadystatechange = function() {if (xmlhr.readyState === 4 && xmlhr.status === 200) {const params = new URLSearchParams(window.location.search);if( params.get('debug') ) {const response = JSON.parse(xmlhr.response);console.log(response);}}}}}const goals = code.split(';');if(goals) {for(let goal of goals) {goal = goal.trim();if(goal != '') {const regexp = /ym(.*)/;if( regexp.test(goal) ) {goal = goal.replace('ym(', '');goal = goal.replace(')', '');const params = goal.split(',');if(params) {if (typeof window.ym != 'undefined') {executeGoal(params);} else {if(typeof window.topbar72goals == 'undefined') {window.topbar72goals = [];}window.topbar72goals.push({'metrika': params[0],'action': params[1],'id': params[2]});if(typeof topbar72interval == 'undefined') {topbar72interval = setInterval(function(){if (typeof window.ym != 'undefined') {for(let goal of window.topbar72goals) {executeGoal(params);}window.topbar72goals = [];clearInterval(topbar72interval);}}, 1000);}}}} else {eval(goal);}}}}}});</script><script>if(typeof window.sgPopup == 'undefined') {window.sgPopup = {opened: false,queue: [],shown: [],elements: {}};}addEventListener('DOMContentLoaded', () => {document.body.addEventListener('click', function(event){if(event.target.dataset.target == "sgPopup208"|| event.target.closest('[data-target="sgPopup208"]')) {Fancybox.close();sgPopup208('forceOpen');}});sgPopup208autoOpen();});function sgPopup208autoOpen() {}if(typeof getCookie == 'undefined') {function getCookie(name) {var v = document.cookie.match('(^|;) ?' + name + '=([^;]*)(;|$)');return v ? v[2] : null;}}if(typeof window.visitCounter == 'undefined') {if( getCookie('sgConversionVisitCounter') ) {window.visitCounter = getCookie('sgConversionVisitCounter');} else {window.visitCounter = 0;}window.visitCounter++;limit = 60 * 60 * 24 * 365;document.cookie = 'sgConversionVisitCounter='+ window.visitCounter +'; max-age='+ limit +'; path=/';}function sgPopup208reachGoal(code) {function executeGoal(params) {if(typeof params == 'object') {eval('ym('+ params.join(',') +');');let data = {'goal': params[2],timestamp: new Date().toISOString()};var xmlhr = new XMLHttpRequest();xmlhr.open('POST', "https://1001doc.ru/bitrix/services/main/ajax.php?action=generator:conversion.api.ajax.goalLog");xmlhr.send(JSON.stringify(data));xmlhr.onreadystatechange = function() {if (xmlhr.readyState === 4 && xmlhr.status === 200) {const params = new URLSearchParams(window.location.search);if( params.get('debug') ) {const response = JSON.parse(xmlhr.response);console.log(response);}}}}}const goals = code.split(';');if(goals) {for(let goal of goals) {goal = goal.trim();if(goal != '') {const regexp = /ym(.*)/;if( regexp.test(goal) ) {goal = goal.replace('ym(', '');goal = goal.replace(')', '');const params = goal.split(',');if(params) {if (typeof window.ym != 'undefined') {executeGoal(params);} else {if(typeof window.popup208goals == 'undefined') {window.popup208goals = [];}window.popup208goals.push({'metrika': params[0],'action': params[1],'id': params[2]});if(typeof popup208interval == 'undefined') {popup208interval = setInterval(function(){if (typeof window.ym != 'undefined') {for(let goal of window.popup208goals) {executeGoal(params);}window.popup208goals = [];clearInterval(popup208interval);}}, 1000);}}}} else {eval(goal);}}}}}function sgPopup208(action = false) {if(!action) return;if( ['open', 'forceOpen'].includes(action) ) {if(action == 'open' && window.sgPopup.shown.includes(208)) {return false;}if(window.sgPopup.opened) {if(window.sgPopup.opened != 208) {window.sgPopup.queue.push(208);}} else {window.sgPopup.opened = 208;let html;let closeButton;if(window.innerWidth >= 1040) {html = "<noindex id='SGpopup208' class='popup-wrapper grid-hidden'><div class='popup-area' data-type='area-container' style='position: relative; top: 396px; left: 17px; margin-left: ; width: 463.75px; height: 140.75px; '><div class='popup-element' data-type='input' style='margin-top: 0px;margin-right: 2px;margin-bottom: 2px;margin-left: 2px;'><div class='popupElement-content'><input type=\"text\" placeholder=\"Например, 1001doc@info.ru\" data-name=\"Почта\" data-mask=\"email\" required=\"\" style=\"background-color: rgb(255, 255, 255); border-color: rgb(228, 228, 228); color: rgb(116, 126, 120); padding: 8px 20px; border-radius: 7px;\"></div></div><div class='popup-element' data-type='button-submit' style='margin-top: 1px;margin-right: 15px;margin-bottom: 1px;margin-left: 0px;'><div class='popupElement-content'><button style=\"background-color: rgba(113, 113, 113, 0); color: rgb(255, 255, 255); font-size: 21px; padding: 30px 31px 30px 30px; border-radius: 7px;\"></button></div></div><div class='popup-element' data-type='agree' data-element-id='656103' data-fill='#000' style='margin-top: 5px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;'><style>#SGpopup208 .popup-element[data-element-id='656103'][data-type='agree'] .popupElement-content input[type='checkbox'] + label:before {border-color: #000;} #SGpopup208 .popup-element[data-element-id='656103'][data-type='agree'] .popupElement-content input[type='checkbox'] + label:after {background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHhtbG5zOnhsaW5rPSdodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rJyB2ZXJzaW9uPScxLjEnIHg9JzBweCcgeT0nMHB4JyB3aWR0aD0nNTEycHgnIGhlaWdodD0nNTEycHgnIHZpZXdCb3g9JzAgMCA0NDIuNTMzIDQ0Mi41MzMnIHN0eWxlPSdlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDQ0Mi41MzMgNDQyLjUzMycgeG1sOnNwYWNlPSdwcmVzZXJ2ZSc+PHBhdGggZD0nTTQzNC41MzksOTguNDk5bC0zOC44MjgtMzguODI4Yy01LjMyNC01LjMyOC0xMS43OTktNy45OTMtMTkuNDEtNy45OTNjLTcuNjE4LDAtMTQuMDkzLDIuNjY1LTE5LjQxNyw3Ljk5M0wxNjkuNTksMjQ3LjI0OCBsLTgzLjkzOS04NC4yMjVjLTUuMzMtNS4zMy0xMS44MDEtNy45OTItMTkuNDEyLTcuOTkyYy03LjYxNiwwLTE0LjA4NywyLjY2Mi0xOS40MTcsNy45OTJMNy45OTQsMjAxLjg1MiAgIEMyLjY2NCwyMDcuMTgxLDAsMjEzLjY1NCwwLDIyMS4yNjljMCw3LjYwOSwyLjY2NCwxNC4wODgsNy45OTQsMTkuNDE2bDEwMy4zNTEsMTAzLjM0OWwzOC44MzEsMzguODI4IGM1LjMyNyw1LjMzMiwxMS44LDcuOTk0LDE5LjQxNCw3Ljk5NGM3LjYxMSwwLDE0LjA4NC0yLjY2OSwxOS40MTQtNy45OTRsMzguODMtMzguODI4TDQzNC41MzksMTM3LjMzIGM1LjMyNS01LjMzLDcuOTk0LTExLjgwMiw3Ljk5NC0xOS40MTdDNDQyLjUzNywxMTAuMzAyLDQzOS44NjQsMTAzLjgyOSw0MzQuNTM5LDk4LjQ5OXonIGZpbGw9JyMwMDAnLz48L3N2Zz4=);}</style><div class='popupElement-content'><input type=\"checkbox\" required checked=\"\"><label><p><span style=\"color:hsl(0,0%,60%);font-size:9px;\">Я принимаю условия </span><a href=\"https://1001doc.ru/include/files/privacy-policy.pdf\"><span style=\"color:hsl(0,0%,60%);font-size:9px;\"><u>пользовательского соглашения</u></span></a><span style=\"color:hsl(0,0%,60%);font-size:9px;\"> и даю согласие на обработку персональных данных</span></p></label></div></div></div><div class='popup-area' data-type='area-container' style='position: relative; top: -105px; left: 893px; margin-left: ; width: 69.5px; height: 84.5px; '><div class='popup-element' data-type='editor' data-element-id='706746' style='margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;'><style></style><div class='popupElement-content'><p><span style=\"color:hsl(215,84%,55%);font-size:16px;\"><strong>{date}</strong></span></p></div></div></div><div class='popup-area' data-type='close-container' style='position: absolute; top: 1px; left: 1003px; margin-left: -40px; width: 40px; height: 40px; '><div class='popup-element' data-type='button-close' style=''><div class='popupElement-content'><button type=\"close\" data-fancybox-close=\"\" style=\"padding: 10px; width: 38px; height: 38px; background-color: rgba(0, 0, 0, 0); border: 1px solid rgb(255, 255, 255, 0); border-radius: 18px;\"><svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 18 18\" fill=\"#d6d6d6\" style=\"fill: rgb(255, 24, 24);\"><path d=\"M1.8 18L0 16.2L7.2 9L0 1.8L1.8 0L9 7.2L16.2 0L18 1.8L10.8 9L18 16.2L16.2 18L9 10.8L1.8 18Z\"></path></svg></button></div></div></div><input type='hidden' name='popupID' value='208'><input type='hidden' name='projectID' value='47'></noindex>";closeButton = false;} else {html = "<noindex id='SGpopup208' class='popup-wrapper grid-hidden'><div class='popup-area' data-type='area-container' style='position: relative; top: 425px; left: 9px; margin-left: ; width: 330.667px; height: 158.667px; '><div class='popup-element' data-type='input' style='margin-top: 0px;margin-right: 2px;margin-bottom: 1px;margin-left: 2px;'><div class='popupElement-content'><input type=\"text\" placeholder=\"Например, 1001doc@info.ru\" data-name=\"Почта\" data-mask=\"email\" required=\"\" style=\"background-color: rgb(255, 255, 255); border-color: rgb(228, 228, 228); color: rgb(116, 126, 120); border-radius: 7px; padding: 10px 20px;\"></div></div><div class='popup-element' data-type='button-submit' style='margin-top: 8px;margin-right: 15px;margin-bottom: 4px;margin-left: 0px;'><div class='popupElement-content'><button type=\"submit\" style=\"background-color: rgba(29, 10, 10, 0); color: rgb(255, 255, 255); font-size: 21px; padding: 25px 31px 25px 30px; border-radius: 7px;\"></button></div></div><div class='popup-element' data-type='agree' data-element-id='554838' data-fill='#000' style='margin-top: 5px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;'><style>#SGpopup208 .popup-element[data-element-id='554838'][data-type='agree'] .popupElement-content input[type='checkbox'] + label:before {border-color: #000;} #SGpopup208 .popup-element[data-element-id='554838'][data-type='agree'] .popupElement-content input[type='checkbox'] + label:after {background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHhtbG5zOnhsaW5rPSdodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rJyB2ZXJzaW9uPScxLjEnIHg9JzBweCcgeT0nMHB4JyB3aWR0aD0nNTEycHgnIGhlaWdodD0nNTEycHgnIHZpZXdCb3g9JzAgMCA0NDIuNTMzIDQ0Mi41MzMnIHN0eWxlPSdlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDQ0Mi41MzMgNDQyLjUzMycgeG1sOnNwYWNlPSdwcmVzZXJ2ZSc+PHBhdGggZD0nTTQzNC41MzksOTguNDk5bC0zOC44MjgtMzguODI4Yy01LjMyNC01LjMyOC0xMS43OTktNy45OTMtMTkuNDEtNy45OTNjLTcuNjE4LDAtMTQuMDkzLDIuNjY1LTE5LjQxNyw3Ljk5M0wxNjkuNTksMjQ3LjI0OCBsLTgzLjkzOS04NC4yMjVjLTUuMzMtNS4zMy0xMS44MDEtNy45OTItMTkuNDEyLTcuOTkyYy03LjYxNiwwLTE0LjA4NywyLjY2Mi0xOS40MTcsNy45OTJMNy45OTQsMjAxLjg1MiAgIEMyLjY2NCwyMDcuMTgxLDAsMjEzLjY1NCwwLDIyMS4yNjljMCw3LjYwOSwyLjY2NCwxNC4wODgsNy45OTQsMTkuNDE2bDEwMy4zNTEsMTAzLjM0OWwzOC44MzEsMzguODI4IGM1LjMyNyw1LjMzMiwxMS44LDcuOTk0LDE5LjQxNCw3Ljk5NGM3LjYxMSwwLDE0LjA4NC0yLjY2OSwxOS40MTQtNy45OTRsMzguODMtMzguODI4TDQzNC41MzksMTM3LjMzIGM1LjMyNS01LjMzLDcuOTk0LTExLjgwMiw3Ljk5NC0xOS40MTdDNDQyLjUzNywxMTAuMzAyLDQzOS44NjQsMTAzLjgyOSw0MzQuNTM5LDk4LjQ5OXonIGZpbGw9JyMwMDAnLz48L3N2Zz4=);}</style><div class='popupElement-content'><input id=\"agree208\" type=\"checkbox\" required checked=\"\" tabindex=\"-1\" data-orig-tabindex=\"-1\"><label for=\"agree208\"><p><span style=\"color:hsl(0,0%,60%);font-size:10px;\">Я принимаю условия </span><a href=\"https://1001doc.ru/include/files/privacy-policy.pdf\"><span style=\"color:hsl(0,0%,60%);font-size:10px;\"><u>пользовательского соглашения</u></span></a><span style=\"color:hsl(0,0%,60%);font-size:10px;\"> и даю согласие на обработку персональных данных</span></p></label></div></div></div><div class='popup-area' data-type='area-container' style='position: relative; top: -140px; left: 850px; margin-left: ; width: 69.5px; height: 84.5px; '><div class='popup-element' data-type='editor' data-element-id='729277' style='margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;'><style></style><div class='popupElement-content'><p><span style=\"color:hsl(215,84%,55%);font-family:Montserrat, sans-serif;font-size:18px;\"><strong>{date}</strong></span></p></div></div></div><div class='popup-area' data-type='area-container' style='position: relative; top: -219px; left: 220px; margin-left: ; width: 89px; height: 25px; '><div class='popup-element' data-type='editor' data-element-id='443442' style='margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;'><style></style><div class='popupElement-content'><p><span style=\"color:hsl(215,84%,55%);font-family:Montserrat, sans-serif;font-size:16px;\"><strong>{date}</strong></span></p></div></div></div><div class='popup-area' data-type='close-container' style='position: absolute; top: 2px; left: 360px; margin-left: -40px; width: 40px; height: 40px; '><div class='popup-element' data-type='button-close' style=''><div class='popupElement-content'><button type=\"close\" data-fancybox-close=\"\" style=\"padding: 10px; width: 38px; height: 38px; background-color: rgba(0, 0, 0, 0); border: 1px solid rgb(255, 255, 255, 0); border-radius: 18px;\"><svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 18 18\" fill=\"#d6d6d6\" style=\"fill: rgb(255, 16, 16);\"><path d=\"M1.8 18L0 16.2L7.2 9L0 1.8L1.8 0L9 7.2L16.2 0L18 1.8L10.8 9L18 16.2L16.2 18L9 10.8L1.8 18Z\"></path></svg></button></div></div></div><input type='hidden' name='popupID' value='208'><input type='hidden' name='projectID' value='47'></noindex>";closeButton = false;}dateFrom = 1672531200 * 1000;if(dateFrom < Date.now()) {do {dateFrom += 20 * 24 * 60 * 60 * 1000;} while (dateFrom < Date.now());}for (const match of html.matchAll(/{date((\+|\-)([0-9]*))?}/g)) {dateTo = dateFrom;if(typeof match[1] != 'undefined') {dateTo += match[1] * 24 * 60 * 60 * 1000;}dateTo = new Date(dateTo);formatDate = '{day}.{month}';if(formatDate.indexOf('{day}') != -1) {day = dateTo.getDate();if("number_short" == "number_full") {if(day < 10) {day = '0' + day;}}formatDate = formatDate.replace('{day}', day);}if(formatDate.indexOf('{month}') != -1) {month = dateTo.getMonth() + 1;if("number_full" == "number_full") {if(month < 10) {month = '0' + month;}} else if("number_full" == "text_nominative") {let months = {1: 'январь',2: 'февраль',3: 'март',4: 'апрель',5: 'май',6: 'июнь',7: 'июль',8: 'август',9: 'сентябрь',10: 'октябрь',11: 'ноябрь',12: 'декабрь'};month = months[month];} else if("number_full" == "text_genitive") {let months = {1: 'января',2: 'февраля',3: 'марта',4: 'апреля',5: 'мая',6: 'июня',7: 'июля',8: 'августа',9: 'сентября',10: 'октября',11: 'ноября',12: 'декабря'};month = months[month];}formatDate = formatDate.replace('{month}', month);}if(formatDate.indexOf('{year}') != -1) {year = dateTo.getFullYear();if("number_short" == "number_short") {year = year.toString().substr(-2);}formatDate = formatDate.replace('{year}', year);}html = html.replaceAll(match[0], formatDate);};Fancybox.close();new Fancybox([{src: html,type: 'html'}], {dragToClose: false,closeButton: closeButton,compact: false,autoFocus: false,trapFocus: false,on: {done: (fancybox, slide) => {sgPopup208reachGoal("ym(96577005,'reachGoal','Klik_pokaz_popup_vrezka_s_podborkoi');");const popup = document.querySelector("#SGpopup208");if(popup) {const url = new URL(location.href);window.utm_source = url.searchParams.get('utm_source');window.utm_medium = url.searchParams.get('utm_medium');window.utm_campaign = url.searchParams.get('utm_campaign');window.utm_term = url.searchParams.get('utm_term');window.utm_content = url.searchParams.get('utm_content');openerLinks = popup.querySelectorAll('a[data-target]');if(openerLinks) {for(let openerLink of openerLinks) {openerLink.addEventListener('click', function(){if(openerLink.dataset.target) {if(typeof window[openerLink.dataset.target] == 'function') {Fancybox.close();window[openerLink.dataset.target]('open');}}});}}linkImages = popup.querySelectorAll('.image-wrapper[data-type="link"]');if(linkImages) {for(let linkImage of linkImages) {linkImage.addEventListener('click', function(){if(linkImage.dataset.link) {if(linkImage.dataset.target == '_blank') {window.open(linkImage.dataset.link);} else {location.href = linkImage.dataset.link}}});}}openerImages = popup.querySelectorAll('.image-wrapper[data-type="opener"]');if(openerImages) {for(let openerImage of openerImages) {openerImage.addEventListener('click', function(){if(openerImage.dataset.popup) {if(typeof window['sgPopup' + openerImage.dataset.popup] == 'function') {Fancybox.close();window['sgPopup' + openerImage.dataset.popup]('forceOpen');}}});}}submitImages = popup.querySelectorAll('.image-wrapper[data-type="submitter"]');if(submitImages) {for(let submitImage of submitImages) {submitImage.addEventListener('click', function(){if(submitImage.classList.contains('disabled')) return false;submitImage.classList.add('disabled');sgPopup208submit(function(result){submitImage.classList.toggle('disabled', result);});});}}const linkButtons = popup.querySelectorAll('button[data-type="link"]');if(linkButtons) {for(let linkButton of linkButtons) {linkButton.addEventListener('click', function(){if(linkButton.dataset.link && linkButton.dataset.link != '#') {if(linkButton.dataset.target == '_blank') {window.open(linkButton.dataset.link);} else {location.href = linkButton.dataset.link}}});}}openerButtons = popup.querySelectorAll('button[data-type="opener"]');if(openerButtons) {for(let openerButton of openerButtons) {openerButton.addEventListener('click', function(){if(openerButton.dataset.popup) {if(typeof window['sgPopup' + openerButton.dataset.popup] == 'function') {Fancybox.close();window['sgPopup' + openerButton.dataset.popup]('forceOpen');}}});}}const maskedFields = popup.querySelectorAll('input[data-mask]');if(maskedFields) {for(let maskedField of maskedFields) {if(maskedField.dataset.mask == 'phone') {Inputmask('+7 (999) 999-99-99', {clearIncomplete: true,greedy: false}).mask(maskedField);} else if(maskedField.dataset.mask == 'email') {Inputmask({alias: 'email',clearIncomplete: true,greedy: false}).mask(maskedField);}}}const fileInputs = popup.querySelectorAll('.popup-element[data-type="input-file"] input[type="file"]');if(fileInputs) {for(let fileInput of fileInputs) {let label = fileInput.nextElementSibling;if(label) {fileInput.addEventListener('change', function() {if (fileInput.files && fileInput.files.length > 0) {const maxSize = fileInput.dataset.limit;if(fileInput.files[0].size <= maxSize * 1024 * 1024) {reader = new FileReader();reader.onload = function(){const span = label.querySelector('span');if(span) {span.innerHTML = fileInput.files[0].name;}fileInput.dataset.content = reader.result;};reader.readAsDataURL(fileInput.files[0]);} else {alert('Превышен максимальный размер файла - '+ maxSize +'мб');}}});label.addEventListener('click', function(event){event.preventDefault();fileInput.click();});}}}const agrees = popup.querySelectorAll('.popup-element[data-type="agree"] input[type="checkbox"]');if(agrees) {for(let agree of agrees) {let label = agree.nextElementSibling;if(label) {label.addEventListener('click', function(event){event.preventDefault();agree.checked = !agree.checked;});const links = label.querySelectorAll('a');if(links) {for(let link of links) {link.addEventListener('click', function(event){event.stopPropagation()});}}}}}const wheel = popup.querySelector('.popup-element[data-type="wheel"]');let wheelInterval;let wheelAngle = 0;if(wheel){const circle = popup.querySelector('.wheel-circle img');if(circle) {wheelInterval = setInterval(function(){wheelAngle += 0.2;if(wheelAngle > 360) {wheelAngle -= 360;}circle.setAttribute('style', 'transform: rotate('+ wheelAngle +'deg)');}, 40);}}const closeTriggers = popup.querySelectorAll('.popup-element[data-type="button-close"] button:not([data-fancybox-close])');if(closeTriggers) {for(let closeTrigger of closeTriggers) {closeTrigger.addEventListener('click', function(){Fancybox.close();})}}function sgPopup208submit(callback = false) {let hasError = false;const requiredInputs = popup.querySelectorAll('input[data-name][required]');if(requiredInputs) {for(let requiredInput of requiredInputs) {if(requiredInput.dataset.mask) {if(requiredInput.dataset.mask == 'phone') {if(!Inputmask.isValid(requiredInput.value, { mask: '+7 (999) 999-99-99'})) {requiredInput.classList.add('error');hasError = true;} else {requiredInput.classList.remove('error');}} else if(requiredInput.dataset.mask == 'phone_intl' && typeof window.sgPopup.elements.intl != 'undefined') {intl = window.sgPopup.elements.intl;if(!intl.isValidNumberPrecise()) {requiredInput.classList.add('error');hasError = true;} else {requiredInput.classList.remove('error');}} else if(requiredInput.dataset.mask == 'email') {if(!Inputmask.isValid(requiredInput.value, {alias: 'email'})) {requiredInput.classList.add('error');hasError = true;} else {requiredInput.classList.remove('error');}}} else {if(requiredInput.value == '') {requiredInput.classList.add('error');hasError = true;} else {requiredInput.classList.remove('error');}}}}const requiredTextareas = popup.querySelectorAll('textarea[data-name][required]');if(requiredTextareas) {for(let requiredTextarea of requiredTextareas) {if(requiredTextarea.value == '') {requiredTextarea.classList.add('error');hasError = true;} else {requiredTextarea.classList.remove('error');}}}const requiredSelects = popup.querySelectorAll('select[data-name][required]');if(requiredSelects) {for(let requiredSelect of requiredSelects) {const niceSelect = requiredSelect.nextElementSibling;if(niceSelect) {if(niceSelect.querySelector('.option.selected')) {niceSelect.classList.remove('error')} else {niceSelect.classList.add('error');hasError = true}}}}if(agrees) {for(let agree of agrees) {if(agree.required) {let label = agree.nextElementSibling;if(agree.checked) {label.classList.remove('error');} else {label.classList.add('error');hasError = true;}}}}if(hasError) {if (callback && typeof callback === 'function') {callback(false);}return false;}function sgPopup208sendRequest() {let data = {fields: [],cookie: document.cookie,source: location.href};const inputs = popup.querySelectorAll('input[data-name]');if(inputs) {for(let input of inputs) {if(input.dataset.mask == 'phone_intl' && typeof window.sgPopup.elements.intl != 'undefined') {intl = window.sgPopup.elements.intl;data.fields.push({name: input.dataset.name,value: intl.getNumber()});} else {data.fields.push({name: input.dataset.name,value: input.value});}}}const textareas = popup.querySelectorAll('textarea[data-name]');if(textareas) {for(let textarea of textareas) {data.fields.push({name: textarea.dataset.name,value: textarea.value});}}if(typeof selects != 'undefined') {for(let select of selects) {data.fields.push({name: select.dataset.name,value: select.value});}}const hiddenInputs = popup.querySelectorAll('input[type="hidden"]');for(let hiddenInput of hiddenInputs) {const name = hiddenInput.name;data[hiddenInput.name] = hiddenInput.value;}const fileInputs = popup.querySelectorAll('.popup-element[data-type="input-file"] input[type="file"]');if(fileInputs) {data.files = [];for(let fileInput of fileInputs) {if (fileInput.files && fileInput.files.length > 0) {data.files.push({'name': fileInput.files[0].name,'content': fileInput.dataset.content});}}}if( wheel && typeof window.prize != 'undefined' ) {data.fields.push(window.prize);}var xmlhr = new XMLHttpRequest();xmlhr.open('POST', "https://1001doc.ru/bitrix/services/main/ajax.php?action=generator:conversion.api.ajax.formSubmit");xmlhr.send(JSON.stringify(data));xmlhr.onreadystatechange = function() {if (xmlhr.readyState === 4 && xmlhr.status === 200) {console.log(xmlhr.response);const response = JSON.parse(xmlhr.response);console.log(response);}};sgPopup208reachGoal("ym(96577005,'reachGoal','Klik_otpravka_popup_vrezka_s_podborkoi');");sgSuccessPopup208();let redirect = {url: 'https://disk.yandex.ru/d/1Ec6uAkG2lPa5Q',newtab: '1',timeout: '5000'};if( typeof redirect != 'undefined' ) {sgSuccessRedirect208(redirect);}return true;}if(wheel){const circle = popup.querySelector('.wheel-circle img');if(circle) {clearInterval(wheelInterval);}} else {const result = sgPopup208sendRequest();if (callback && typeof callback === 'function') {callback(result);}}}areaLinks = popup.querySelectorAll('.popup-area[data-type="area-link"]');if(areaLinks) {for(let areaLink of areaLinks) {areaLink.addEventListener('click', function(){if(areaLink.dataset.link && areaLink.dataset.link != '#') {if(areaLink.dataset.target == '_blank') {window.open(areaLink.dataset.link);} else {location.href = areaLink.dataset.link}}});}}areaOpeners = popup.querySelectorAll('.popup-area[data-type="area-opener"]');if(areaOpeners) {for(let areaOpener of areaOpeners) {areaOpener.addEventListener('click', function(){if(areaOpener.dataset.popup) {if(typeof window['sgPopup' + areaOpener.dataset.popup] == 'function') {Fancybox.close();window['sgPopup' + areaOpener.dataset.popup]('forceOpen');}}});}}const submitButton = popup.querySelector(".popup-element[data-type='button-submit'] button");if(submitButton) {submitButton.addEventListener('click', function(event){event.preventDefault();submitButton.disabled = true;sgPopup208submit(function(result){submitButton.disabled = result;});})}}},close: () => {window.sgPopup.opened = false;window.sgPopup.shown.push(208);if(window.sgPopup.queue.length) {setTimeout(function(){let popupID = window.sgPopup.queue.shift();window['sgPopup' + popupID]('forceOpen');}, 30000);}},}});}}}function sgSuccessPopup208() {let html;let closeButton;if(window.innerWidth >= 1040) {html = "<noindex id='SGsuccess208' class='popup-wrapper grid-hidden'><div class='success-area' data-type='area-container' style='position: absolute; top: 120px; left: 40px; width: 370px; height: 180px; '><div class='success-element' data-type='editor' style='margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; '><div class='successElement-content'><p style='text-align: center'><span style='font-size: 30px'>Спасибо, файл откроется в новой вкладке</span></p></div></div></div><div class='success-area' data-type='close-container' style='position: absolute; top: -40px; left: 450px; margin-left: -40px; width: 40px; height: 40px; '><div class='success-element' data-type='button-close' style='margin-top: 0px; margin-left: 0px; '><div class='successElement-content'><button type='close' data-fancybox-close style='padding: 10px; width: 40px; height: 40px; background-color: rgba(0, 0, 0, 0); border: 1px solid rgb(255, 255, 255, 0); border-radius: 18px'><svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18' style='fill: rgb(235, 41, 41)'><path d='M1.8 18L0 16.2L7.2 9L0 1.8L1.8 0L9 7.2L16.2 0L18 1.8L10.8 9L18 16.2L16.2 18L9 10.8L1.8 18Z'></path></svg></button></div></div></div></noindex>";closeButton = false;} else {html = "<noindex id='SGsuccess208' class='popup-wrapper grid-hidden'><div class='success-area' data-type='area-container' style='position: absolute; top: 75px; left: 20px; width: 260px; height: 135px; '><div class='success-element' data-type='editor' style='margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; '><div class='successElement-content'><p style='text-align: center'><span style='font-size: 22px'>Спасибо, файл откроется в новой вкладке</span></p></div></div></div><div class='success-area' data-type='close-container' style='position: absolute; top: -30px; left: 300px; margin-left: -30px; width: 30px; height: 30px; '><div class='success-element' data-type='button-close' style='margin-top: 0px; margin-left: 0px; '><div class='successElement-content'><button type='close' data-fancybox-close style='padding: 7px; width: 30px; height: 30px; background-color: rgba(0, 0, 0, 0); border: 1px solid rgb(255, 255, 255, 0); border-radius: 18px'><svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18' style='fill: rgb(235, 41, 41)'><path d='M1.8 18L0 16.2L7.2 9L0 1.8L1.8 0L9 7.2L16.2 0L18 1.8L10.8 9L18 16.2L16.2 18L9 10.8L1.8 18Z'></path></svg></button></div></div></div></noindex>";closeButton = false;}Fancybox.close();new Fancybox([{src: html,type: 'html'}], {dragToClose: false,closeButton: closeButton,autoFocus: false,trapFocus: false,on: {done: (fancybox, slide) => {const success = document.querySelector("#SGsuccess208");if(success) {buttonLinks = success.querySelectorAll('button[data-type="link"]');if(buttonLinks) {for(let buttonLink of buttonLinks) {buttonLink.addEventListener('click', function(){if(buttonLink.dataset.link) {if(buttonLink.dataset.target == '_blank') {window.open(buttonLink.dataset.link);} else {location.href = buttonLink.dataset.link}}});}}}setTimeout(function(){Fancybox.close();}, 3000);},close: () => {window.sgPopup.opened = false;}}});}function sgSuccessRedirect208(redirect) {setTimeout(function(){Fancybox.close();const clickEvent = new MouseEvent('click', {bubbles: true,cancelable: true});const link = document.createElement('a');link.setAttribute('href', redirect.url);if(redirect.newtab != '') {link.setAttribute('target', '_blank');}document.body.append(link);link.dispatchEvent(clickEvent);link.parentNode.removeChild(link);}, redirect.timeout);}</script><script>if(typeof window.sgPopup == 'undefined') {window.sgPopup = {opened: false,queue: [],shown: [],elements: {}};}addEventListener('DOMContentLoaded', () => {document.body.addEventListener('click', function(event){if(event.target.dataset.target == "sgPopup211"|| event.target.closest('[data-target="sgPopup211"]')) {Fancybox.close();sgPopup211('forceOpen');}});sgPopup211autoOpen();});function sgPopup211autoOpen() {}if(typeof getCookie == 'undefined') {function getCookie(name) {var v = document.cookie.match('(^|;) ?' + name + '=([^;]*)(;|$)');return v ? v[2] : null;}}if(typeof window.visitCounter == 'undefined') {if( getCookie('sgConversionVisitCounter') ) {window.visitCounter = getCookie('sgConversionVisitCounter');} else {window.visitCounter = 0;}window.visitCounter++;limit = 60 * 60 * 24 * 365;document.cookie = 'sgConversionVisitCounter='+ window.visitCounter +'; max-age='+ limit +'; path=/';}function sgPopup211reachGoal(code) {function executeGoal(params) {if(typeof params == 'object') {eval('ym('+ params.join(',') +');');let data = {'goal': params[2],timestamp: new Date().toISOString()};var xmlhr = new XMLHttpRequest();xmlhr.open('POST', "https://1001doc.ru/bitrix/services/main/ajax.php?action=generator:conversion.api.ajax.goalLog");xmlhr.send(JSON.stringify(data));xmlhr.onreadystatechange = function() {if (xmlhr.readyState === 4 && xmlhr.status === 200) {const params = new URLSearchParams(window.location.search);if( params.get('debug') ) {const response = JSON.parse(xmlhr.response);console.log(response);}}}}}const goals = code.split(';');if(goals) {for(let goal of goals) {goal = goal.trim();if(goal != '') {const regexp = /ym(.*)/;if( regexp.test(goal) ) {goal = goal.replace('ym(', '');goal = goal.replace(')', '');const params = goal.split(',');if(params) {if (typeof window.ym != 'undefined') {executeGoal(params);} else {if(typeof window.popup211goals == 'undefined') {window.popup211goals = [];}window.popup211goals.push({'metrika': params[0],'action': params[1],'id': params[2]});if(typeof popup211interval == 'undefined') {popup211interval = setInterval(function(){if (typeof window.ym != 'undefined') {for(let goal of window.popup211goals) {executeGoal(params);}window.popup211goals = [];clearInterval(popup211interval);}}, 1000);}}}} else {eval(goal);}}}}}function sgPopup211(action = false) {if(!action) return;if( ['open', 'forceOpen'].includes(action) ) {if(action == 'open' && window.sgPopup.shown.includes(211)) {return false;}if(window.sgPopup.opened) {if(window.sgPopup.opened != 211) {window.sgPopup.queue.push(211);}} else {window.sgPopup.opened = 211;let html;let closeButton;if(window.innerWidth >= 1040) {html = "<noindex id='SGpopup211' class='popup-wrapper grid-hidden'><div class='popup-area' data-type='area-container' style='position: relative; top: 327px; left: 14px; margin-left: ; width: 485px; height: 177px; '><div class='popup-element' data-type='input' style='margin-top: 2px;margin-right: 2px;margin-bottom: 2px;margin-left: 2px;'><div class='popupElement-content'><input type=\"text\" placeholder=\"+7 (000) 000-00-00\" data-name=\"Телефон\" data-mask=\"phone\" required=\"\" style=\"background-color: rgb(255, 255, 255); border-color: rgb(228, 228, 228); color: rgb(116, 126, 120); padding: 7px 20px; border-radius: 7px;\"></div></div><div class='popup-element' data-type='input' style='margin-top: 18px;margin-right: 0px;margin-bottom: 2px;margin-left: 0px;'><div class='popupElement-content'><input type=\"text\" placeholder=\"Город\" data-name=\"Город \" style=\"background-color: rgb(255, 255, 255); border-color: rgb(228, 228, 228); color: rgb(116, 126, 120); padding: 7px 20px; border-radius: 7px;\"></div></div><div class='popup-element' data-type='button-submit' style='margin-top: 7px;margin-right: 0px;margin-bottom: 6px;margin-left: 0px;'><div class='popupElement-content'><button style=\"background-color: rgb(235, 87, 87); color: rgb(255, 255, 255); font-size: 22px; padding: 25px 10px; border-radius: 7px;\">Получить 8000₽</button></div></div><div class='popup-element' data-type='agree' data-element-id='409596' data-fill='#000' style='margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;'><style>#SGpopup211 .popup-element[data-element-id='409596'][data-type='agree'] .popupElement-content input[type='checkbox'] + label:before {border-color: #000;} #SGpopup211 .popup-element[data-element-id='409596'][data-type='agree'] .popupElement-content input[type='checkbox'] + label:after {background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHhtbG5zOnhsaW5rPSdodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rJyB2ZXJzaW9uPScxLjEnIHg9JzBweCcgeT0nMHB4JyB3aWR0aD0nNTEycHgnIGhlaWdodD0nNTEycHgnIHZpZXdCb3g9JzAgMCA0NDIuNTMzIDQ0Mi41MzMnIHN0eWxlPSdlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDQ0Mi41MzMgNDQyLjUzMycgeG1sOnNwYWNlPSdwcmVzZXJ2ZSc+PHBhdGggZD0nTTQzNC41MzksOTguNDk5bC0zOC44MjgtMzguODI4Yy01LjMyNC01LjMyOC0xMS43OTktNy45OTMtMTkuNDEtNy45OTNjLTcuNjE4LDAtMTQuMDkzLDIuNjY1LTE5LjQxNyw3Ljk5M0wxNjkuNTksMjQ3LjI0OCBsLTgzLjkzOS04NC4yMjVjLTUuMzMtNS4zMy0xMS44MDEtNy45OTItMTkuNDEyLTcuOTkyYy03LjYxNiwwLTE0LjA4NywyLjY2Mi0xOS40MTcsNy45OTJMNy45OTQsMjAxLjg1MiAgIEMyLjY2NCwyMDcuMTgxLDAsMjEzLjY1NCwwLDIyMS4yNjljMCw3LjYwOSwyLjY2NCwxNC4wODgsNy45OTQsMTkuNDE2bDEwMy4zNTEsMTAzLjM0OWwzOC44MzEsMzguODI4IGM1LjMyNyw1LjMzMiwxMS44LDcuOTk0LDE5LjQxNCw3Ljk5NGM3LjYxMSwwLDE0LjA4NC0yLjY2OSwxOS40MTQtNy45OTRsMzguODMtMzguODI4TDQzNC41MzksMTM3LjMzIGM1LjMyNS01LjMzLDcuOTk0LTExLjgwMiw3Ljk5NC0xOS40MTdDNDQyLjUzNywxMTAuMzAyLDQzOS44NjQsMTAzLjgyOSw0MzQuNTM5LDk4LjQ5OXonIGZpbGw9JyMwMDAnLz48L3N2Zz4=);}</style><div class='popupElement-content'><input id=\"agree211\" type=\"checkbox\" required=\"\" checked=\"\" tabindex=\"-1\" data-orig-tabindex=\"-1\"><label for=\"agree211\"><p><span style=\"color:hsl(0,0%,60%);font-size:10px;\">Я принимаю условия</span><a href=\"https://1001doc.ru/include/files/privacy-policy.pdf\" target=\"_blank\" rel=\"noopener noreferrer\"><span style=\"color:hsl(0,0%,60%);font-size:10px;\"><u> пользовательского соглашения </u></span></a><span style=\"color:hsl(0,0%,60%);font-size:10px;\">и даю согласие на обработку персональных данных</span></p></label></div></div></div><div class='popup-area' data-type='close-container' style='position: absolute; top: -40px; left: 100%; margin-left: -40px; width: 40px; height: 40px; '><div class='popup-element' data-type='button-close' style=''><div class='popupElement-content'><button type=\"close\" data-fancybox-close=\"\" style=\"padding: 10px; width: 38px; height: 38px; background-color: rgba(0, 0, 0, 0); border: 1px solid rgb(255, 255, 255, 0); border-radius: 18px;\"><svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 18 18\" fill=\"#d6d6d6\" style=\"fill: rgb(255, 37, 37);\"><path d=\"M1.8 18L0 16.2L7.2 9L0 1.8L1.8 0L9 7.2L16.2 0L18 1.8L10.8 9L18 16.2L16.2 18L9 10.8L1.8 18Z\"></path></svg></button></div></div></div><input type='hidden' name='popupID' value='211'><input type='hidden' name='projectID' value='47'></noindex>";closeButton = false;} else {html = "<noindex id='SGpopup211' class='popup-wrapper grid-hidden'><div class='popup-area' data-type='area-container' style='position: relative; top: 249px; left: 5px; margin-left: ; width: 342.889px; height: 188.889px; '><div class='popup-element' data-type='input' style='margin-top: 2px;margin-right: 2px;margin-bottom: 2px;margin-left: 2px;'><div class='popupElement-content'><input type=\"text\" placeholder=\"+7 (000) 000-00-00\" data-name=\"Телефон\" data-mask=\"phone\" required=\"\" style=\"background-color: rgb(255, 255, 255); border-color: rgb(228, 228, 228); color: rgb(116, 126, 120); padding: 7px 20px; border-radius: 7px;\"></div></div><div class='popup-element' data-type='input' style='margin-top: 18px;margin-right: 0px;margin-bottom: 2px;margin-left: 0px;'><div class='popupElement-content'><input type=\"text\" placeholder=\"Город\" data-name=\"Город \" style=\"background-color: rgb(255, 255, 255); border-color: rgb(228, 228, 228); color: rgb(116, 126, 120); padding: 7px 20px; border-radius: 7px;\"></div></div><div class='popup-element' data-type='button-submit' style='margin-top: 7px;margin-right: 0px;margin-bottom: 6px;margin-left: 0px;'><div class='popupElement-content'><button style=\"background-color: rgb(235, 87, 87); color: rgb(255, 255, 255); font-size: 22px; padding: 23px 10px; border-radius: 7px;\">Получить 8000₽</button></div></div><div class='popup-element' data-type='agree' data-element-id='601731' data-fill='#000' style='margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;'><style>#SGpopup211 .popup-element[data-element-id='601731'][data-type='agree'] .popupElement-content input[type='checkbox'] + label:before {border-color: #000;} #SGpopup211 .popup-element[data-element-id='601731'][data-type='agree'] .popupElement-content input[type='checkbox'] + label:after {background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHhtbG5zOnhsaW5rPSdodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rJyB2ZXJzaW9uPScxLjEnIHg9JzBweCcgeT0nMHB4JyB3aWR0aD0nNTEycHgnIGhlaWdodD0nNTEycHgnIHZpZXdCb3g9JzAgMCA0NDIuNTMzIDQ0Mi41MzMnIHN0eWxlPSdlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDQ0Mi41MzMgNDQyLjUzMycgeG1sOnNwYWNlPSdwcmVzZXJ2ZSc+PHBhdGggZD0nTTQzNC41MzksOTguNDk5bC0zOC44MjgtMzguODI4Yy01LjMyNC01LjMyOC0xMS43OTktNy45OTMtMTkuNDEtNy45OTNjLTcuNjE4LDAtMTQuMDkzLDIuNjY1LTE5LjQxNyw3Ljk5M0wxNjkuNTksMjQ3LjI0OCBsLTgzLjkzOS04NC4yMjVjLTUuMzMtNS4zMy0xMS44MDEtNy45OTItMTkuNDEyLTcuOTkyYy03LjYxNiwwLTE0LjA4NywyLjY2Mi0xOS40MTcsNy45OTJMNy45OTQsMjAxLjg1MiAgIEMyLjY2NCwyMDcuMTgxLDAsMjEzLjY1NCwwLDIyMS4yNjljMCw3LjYwOSwyLjY2NCwxNC4wODgsNy45OTQsMTkuNDE2bDEwMy4zNTEsMTAzLjM0OWwzOC44MzEsMzguODI4IGM1LjMyNyw1LjMzMiwxMS44LDcuOTk0LDE5LjQxNCw3Ljk5NGM3LjYxMSwwLDE0LjA4NC0yLjY2OSwxOS40MTQtNy45OTRsMzguODMtMzguODI4TDQzNC41MzksMTM3LjMzIGM1LjMyNS01LjMzLDcuOTk0LTExLjgwMiw3Ljk5NC0xOS40MTdDNDQyLjUzNywxMTAuMzAyLDQzOS44NjQsMTAzLjgyOSw0MzQuNTM5LDk4LjQ5OXonIGZpbGw9JyMwMDAnLz48L3N2Zz4=);}</style><div class='popupElement-content'><input id=\"agree211\" type=\"checkbox\" required=\"\" checked=\"\" tabindex=\"-1\" data-orig-tabindex=\"-1\"><label for=\"agree211\"><p><span style=\"color:hsl(0,0%,60%);font-size:10px;\">Я принимаю условия</span><a href=\"https://1001doc.ru/include/files/privacy-policy.pdf\" target=\"_blank\" rel=\"noopener noreferrer\"><span style=\"color:hsl(0,0%,60%);font-size:10px;\"><u> пользовательского соглашения </u></span></a><span style=\"color:hsl(0,0%,60%);font-size:10px;\">и даю согласие на обработку персональных данных</span></p></label></div></div></div><div class='popup-area' data-type='close-container' style='position: absolute; top: -5.45139px; left: 321.53px; margin-left: ; width: 40px; height: 40px; '><div class='popup-element' data-type='button-close' style=''><div class='popupElement-content'><button type=\"close\" data-fancybox-close=\"\" style=\"padding: 10px; width: 40px; height: 40px; background-color: rgba(0, 0, 0, 0); border: 0px solid rgba(255, 255, 255, 0); border-radius: 18px;\"><svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 18 18\" style=\"fill: rgb(255, 37, 37);\"><path d=\"M1.8 18L0 16.2L7.2 9L0 1.8L1.8 0L9 7.2L16.2 0L18 1.8L10.8 9L18 16.2L16.2 18L9 10.8L1.8 18Z\"></path></svg></button></div></div></div><input type='hidden' name='popupID' value='211'><input type='hidden' name='projectID' value='47'></noindex>";closeButton = false;}dateFrom = 1680307200 * 1000;if(dateFrom < Date.now()) {do {dateFrom += 13 * 24 * 60 * 60 * 1000;} while (dateFrom < Date.now());}for (const match of html.matchAll(/{date((\+|\-)([0-9]*))?}/g)) {dateTo = dateFrom;if(typeof match[1] != 'undefined') {dateTo += match[1] * 24 * 60 * 60 * 1000;}dateTo = new Date(dateTo);formatDate = '{day} {month} ';if(formatDate.indexOf('{day}') != -1) {day = dateTo.getDate();if("number_short" == "number_full") {if(day < 10) {day = '0' + day;}}formatDate = formatDate.replace('{day}', day);}if(formatDate.indexOf('{month}') != -1) {month = dateTo.getMonth() + 1;if("text_genitive" == "number_full") {if(month < 10) {month = '0' + month;}} else if("text_genitive" == "text_nominative") {let months = {1: 'январь',2: 'февраль',3: 'март',4: 'апрель',5: 'май',6: 'июнь',7: 'июль',8: 'август',9: 'сентябрь',10: 'октябрь',11: 'ноябрь',12: 'декабрь'};month = months[month];} else if("text_genitive" == "text_genitive") {let months = {1: 'января',2: 'февраля',3: 'марта',4: 'апреля',5: 'мая',6: 'июня',7: 'июля',8: 'августа',9: 'сентября',10: 'октября',11: 'ноября',12: 'декабря'};month = months[month];}formatDate = formatDate.replace('{month}', month);}if(formatDate.indexOf('{year}') != -1) {year = dateTo.getFullYear();if("number_short" == "number_short") {year = year.toString().substr(-2);}formatDate = formatDate.replace('{year}', year);}html = html.replaceAll(match[0], formatDate);};Fancybox.close();new Fancybox([{src: html,type: 'html'}], {dragToClose: false,closeButton: closeButton,compact: false,autoFocus: false,trapFocus: false,on: {done: (fancybox, slide) => {sgPopup211reachGoal("ym(96577005,'reachGoal','pokaz_pop_ap_vidjet_akzia');");const popup = document.querySelector("#SGpopup211");if(popup) {const url = new URL(location.href);window.utm_source = url.searchParams.get('utm_source');window.utm_medium = url.searchParams.get('utm_medium');window.utm_campaign = url.searchParams.get('utm_campaign');window.utm_term = url.searchParams.get('utm_term');window.utm_content = url.searchParams.get('utm_content');openerLinks = popup.querySelectorAll('a[data-target]');if(openerLinks) {for(let openerLink of openerLinks) {openerLink.addEventListener('click', function(){if(openerLink.dataset.target) {if(typeof window[openerLink.dataset.target] == 'function') {Fancybox.close();window[openerLink.dataset.target]('open');}}});}}linkImages = popup.querySelectorAll('.image-wrapper[data-type="link"]');if(linkImages) {for(let linkImage of linkImages) {linkImage.addEventListener('click', function(){if(linkImage.dataset.link) {if(linkImage.dataset.target == '_blank') {window.open(linkImage.dataset.link);} else {location.href = linkImage.dataset.link}}});}}openerImages = popup.querySelectorAll('.image-wrapper[data-type="opener"]');if(openerImages) {for(let openerImage of openerImages) {openerImage.addEventListener('click', function(){if(openerImage.dataset.popup) {if(typeof window['sgPopup' + openerImage.dataset.popup] == 'function') {Fancybox.close();window['sgPopup' + openerImage.dataset.popup]('forceOpen');}}});}}submitImages = popup.querySelectorAll('.image-wrapper[data-type="submitter"]');if(submitImages) {for(let submitImage of submitImages) {submitImage.addEventListener('click', function(){if(submitImage.classList.contains('disabled')) return false;submitImage.classList.add('disabled');sgPopup211submit(function(result){submitImage.classList.toggle('disabled', result);});});}}const linkButtons = popup.querySelectorAll('button[data-type="link"]');if(linkButtons) {for(let linkButton of linkButtons) {linkButton.addEventListener('click', function(){if(linkButton.dataset.link && linkButton.dataset.link != '#') {if(linkButton.dataset.target == '_blank') {window.open(linkButton.dataset.link);} else {location.href = linkButton.dataset.link}}});}}openerButtons = popup.querySelectorAll('button[data-type="opener"]');if(openerButtons) {for(let openerButton of openerButtons) {openerButton.addEventListener('click', function(){if(openerButton.dataset.popup) {if(typeof window['sgPopup' + openerButton.dataset.popup] == 'function') {Fancybox.close();window['sgPopup' + openerButton.dataset.popup]('forceOpen');}}});}}const maskedFields = popup.querySelectorAll('input[data-mask]');if(maskedFields) {for(let maskedField of maskedFields) {if(maskedField.dataset.mask == 'phone') {Inputmask('+7 (999) 999-99-99', {clearIncomplete: true,greedy: false}).mask(maskedField);} else if(maskedField.dataset.mask == 'email') {Inputmask({alias: 'email',clearIncomplete: true,greedy: false}).mask(maskedField);}}}const fileInputs = popup.querySelectorAll('.popup-element[data-type="input-file"] input[type="file"]');if(fileInputs) {for(let fileInput of fileInputs) {let label = fileInput.nextElementSibling;if(label) {fileInput.addEventListener('change', function() {if (fileInput.files && fileInput.files.length > 0) {const maxSize = fileInput.dataset.limit;if(fileInput.files[0].size <= maxSize * 1024 * 1024) {reader = new FileReader();reader.onload = function(){const span = label.querySelector('span');if(span) {span.innerHTML = fileInput.files[0].name;}fileInput.dataset.content = reader.result;};reader.readAsDataURL(fileInput.files[0]);} else {alert('Превышен максимальный размер файла - '+ maxSize +'мб');}}});label.addEventListener('click', function(event){event.preventDefault();fileInput.click();});}}}const agrees = popup.querySelectorAll('.popup-element[data-type="agree"] input[type="checkbox"]');if(agrees) {for(let agree of agrees) {let label = agree.nextElementSibling;if(label) {label.addEventListener('click', function(event){event.preventDefault();agree.checked = !agree.checked;});const links = label.querySelectorAll('a');if(links) {for(let link of links) {link.addEventListener('click', function(event){event.stopPropagation()});}}}}}const wheel = popup.querySelector('.popup-element[data-type="wheel"]');let wheelInterval;let wheelAngle = 0;if(wheel){const circle = popup.querySelector('.wheel-circle img');if(circle) {wheelInterval = setInterval(function(){wheelAngle += 0.2;if(wheelAngle > 360) {wheelAngle -= 360;}circle.setAttribute('style', 'transform: rotate('+ wheelAngle +'deg)');}, 40);}}const closeTriggers = popup.querySelectorAll('.popup-element[data-type="button-close"] button:not([data-fancybox-close])');if(closeTriggers) {for(let closeTrigger of closeTriggers) {closeTrigger.addEventListener('click', function(){Fancybox.close();})}}function sgPopup211submit(callback = false) {let hasError = false;const requiredInputs = popup.querySelectorAll('input[data-name][required]');if(requiredInputs) {for(let requiredInput of requiredInputs) {if(requiredInput.dataset.mask) {if(requiredInput.dataset.mask == 'phone') {if(!Inputmask.isValid(requiredInput.value, { mask: '+7 (999) 999-99-99'})) {requiredInput.classList.add('error');hasError = true;} else {requiredInput.classList.remove('error');}} else if(requiredInput.dataset.mask == 'phone_intl' && typeof window.sgPopup.elements.intl != 'undefined') {intl = window.sgPopup.elements.intl;if(!intl.isValidNumberPrecise()) {requiredInput.classList.add('error');hasError = true;} else {requiredInput.classList.remove('error');}} else if(requiredInput.dataset.mask == 'email') {if(!Inputmask.isValid(requiredInput.value, {alias: 'email'})) {requiredInput.classList.add('error');hasError = true;} else {requiredInput.classList.remove('error');}}} else {if(requiredInput.value == '') {requiredInput.classList.add('error');hasError = true;} else {requiredInput.classList.remove('error');}}}}const requiredTextareas = popup.querySelectorAll('textarea[data-name][required]');if(requiredTextareas) {for(let requiredTextarea of requiredTextareas) {if(requiredTextarea.value == '') {requiredTextarea.classList.add('error');hasError = true;} else {requiredTextarea.classList.remove('error');}}}const requiredSelects = popup.querySelectorAll('select[data-name][required]');if(requiredSelects) {for(let requiredSelect of requiredSelects) {const niceSelect = requiredSelect.nextElementSibling;if(niceSelect) {if(niceSelect.querySelector('.option.selected')) {niceSelect.classList.remove('error')} else {niceSelect.classList.add('error');hasError = true}}}}if(agrees) {for(let agree of agrees) {if(agree.required) {let label = agree.nextElementSibling;if(agree.checked) {label.classList.remove('error');} else {label.classList.add('error');hasError = true;}}}}if(hasError) {if (callback && typeof callback === 'function') {callback(false);}return false;}function sgPopup211sendRequest() {let data = {fields: [],cookie: document.cookie,source: location.href};const inputs = popup.querySelectorAll('input[data-name]');if(inputs) {for(let input of inputs) {if(input.dataset.mask == 'phone_intl' && typeof window.sgPopup.elements.intl != 'undefined') {intl = window.sgPopup.elements.intl;data.fields.push({name: input.dataset.name,value: intl.getNumber()});} else {data.fields.push({name: input.dataset.name,value: input.value});}}}const textareas = popup.querySelectorAll('textarea[data-name]');if(textareas) {for(let textarea of textareas) {data.fields.push({name: textarea.dataset.name,value: textarea.value});}}if(typeof selects != 'undefined') {for(let select of selects) {data.fields.push({name: select.dataset.name,value: select.value});}}const hiddenInputs = popup.querySelectorAll('input[type="hidden"]');for(let hiddenInput of hiddenInputs) {const name = hiddenInput.name;data[hiddenInput.name] = hiddenInput.value;}const fileInputs = popup.querySelectorAll('.popup-element[data-type="input-file"] input[type="file"]');if(fileInputs) {data.files = [];for(let fileInput of fileInputs) {if (fileInput.files && fileInput.files.length > 0) {data.files.push({'name': fileInput.files[0].name,'content': fileInput.dataset.content});}}}if( wheel && typeof window.prize != 'undefined' ) {data.fields.push(window.prize);}var xmlhr = new XMLHttpRequest();xmlhr.open('POST', "https://1001doc.ru/bitrix/services/main/ajax.php?action=generator:conversion.api.ajax.formSubmit");xmlhr.send(JSON.stringify(data));xmlhr.onreadystatechange = function() {if (xmlhr.readyState === 4 && xmlhr.status === 200) {console.log(xmlhr.response);const response = JSON.parse(xmlhr.response);console.log(response);}};sgPopup211reachGoal("ym(96577005,'reachGoal','otpravka_pop_ap_vidjet_akzia');");sgSuccessPopup211();return true;}if(wheel){const circle = popup.querySelector('.wheel-circle img');if(circle) {clearInterval(wheelInterval);}} else {const result = sgPopup211sendRequest();if (callback && typeof callback === 'function') {callback(result);}}}areaLinks = popup.querySelectorAll('.popup-area[data-type="area-link"]');if(areaLinks) {for(let areaLink of areaLinks) {areaLink.addEventListener('click', function(){if(areaLink.dataset.link && areaLink.dataset.link != '#') {if(areaLink.dataset.target == '_blank') {window.open(areaLink.dataset.link);} else {location.href = areaLink.dataset.link}}});}}areaOpeners = popup.querySelectorAll('.popup-area[data-type="area-opener"]');if(areaOpeners) {for(let areaOpener of areaOpeners) {areaOpener.addEventListener('click', function(){if(areaOpener.dataset.popup) {if(typeof window['sgPopup' + areaOpener.dataset.popup] == 'function') {Fancybox.close();window['sgPopup' + areaOpener.dataset.popup]('forceOpen');}}});}}const submitButton = popup.querySelector(".popup-element[data-type='button-submit'] button");if(submitButton) {submitButton.addEventListener('click', function(event){event.preventDefault();submitButton.disabled = true;sgPopup211submit(function(result){submitButton.disabled = result;});})}}},close: () => {window.sgPopup.opened = false;window.sgPopup.shown.push(211);if(window.sgPopup.queue.length) {setTimeout(function(){let popupID = window.sgPopup.queue.shift();window['sgPopup' + popupID]('forceOpen');}, 30000);}},}});}}}function sgSuccessPopup211() {let html;let closeButton;if(window.innerWidth >= 1040) {html = "<noindex id='SGsuccess211' class='popup-wrapper grid-hidden'><div class='success-area' data-type='area-container' style='position: absolute; top: 120px; left: 40px; width: 370px; height: 180px; '><div class='success-element' data-type='editor' style='margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; '><div class='successElement-content'><p style='text-align: center'><span style='font-size: 30px'>Спасибо, купон закреплен за вами! <br>Наш менедежер свяжется с вами для уточнения деталей!</span></p></div></div></div><div class='success-area' data-type='close-container' style='position: absolute; top: -40px; left: 450px; margin-left: -40px; width: 40px; height: 40px; '><div class='success-element' data-type='button-close' style='margin-top: 0px; margin-left: 0px; '><div class='successElement-content'><button type='close' data-fancybox-close style='padding: 10px; width: 40px; height: 40px; background-color: rgba(0, 0, 0, 0); border: 1px solid rgb(255, 255, 255, 0); border-radius: 18px'><svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18' style='fill: rgb(235, 41, 41)'><path d='M1.8 18L0 16.2L7.2 9L0 1.8L1.8 0L9 7.2L16.2 0L18 1.8L10.8 9L18 16.2L16.2 18L9 10.8L1.8 18Z'></path></svg></button></div></div></div></noindex>";closeButton = false;} else {html = "<noindex id='SGsuccess211' class='popup-wrapper grid-hidden'><div class='success-area' data-type='area-container' style='position: absolute; top: 75px; left: 20px; width: 260px; height: 135px; '><div class='success-element' data-type='editor' style='margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; '><div class='successElement-content'><p style='text-align: center'><span style='font-size: 22px'>Спасибо, купон закреплен за вами! <br>Наш менедежер свяжется с вами для уточнения деталей!</span></p></div></div></div><div class='success-area' data-type='close-container' style='position: absolute; top: -30px; left: 300px; margin-left: -30px; width: 30px; height: 30px; '><div class='success-element' data-type='button-close' style='margin-top: 0px; margin-left: 0px; '><div class='successElement-content'><button type='close' data-fancybox-close style='padding: 7px; width: 30px; height: 30px; background-color: rgba(0, 0, 0, 0); border: 1px solid rgb(255, 255, 255, 0); border-radius: 18px'><svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18' style='fill: rgb(235, 41, 41)'><path d='M1.8 18L0 16.2L7.2 9L0 1.8L1.8 0L9 7.2L16.2 0L18 1.8L10.8 9L18 16.2L16.2 18L9 10.8L1.8 18Z'></path></svg></button></div></div></div></noindex>";closeButton = false;}Fancybox.close();new Fancybox([{src: html,type: 'html'}], {dragToClose: false,closeButton: closeButton,autoFocus: false,trapFocus: false,on: {done: (fancybox, slide) => {const success = document.querySelector("#SGsuccess211");if(success) {buttonLinks = success.querySelectorAll('button[data-type="link"]');if(buttonLinks) {for(let buttonLink of buttonLinks) {buttonLink.addEventListener('click', function(){if(buttonLink.dataset.link) {if(buttonLink.dataset.target == '_blank') {window.open(buttonLink.dataset.link);} else {location.href = buttonLink.dataset.link}}});}}}setTimeout(function(){Fancybox.close();}, 3000);},close: () => {window.sgPopup.opened = false;}}});}</script><script>if(typeof window.sgPopup == 'undefined') {window.sgPopup = {opened: false,queue: [],shown: [],elements: {}};}addEventListener('DOMContentLoaded', () => {document.body.addEventListener('click', function(event){if(event.target.dataset.target == "sgPopup294"|| event.target.closest('[data-target="sgPopup294"]')) {Fancybox.close();sgPopup294('forceOpen');}});sgPopup294autoOpen();});function sgPopup294autoOpen() {}if(typeof getCookie == 'undefined') {function getCookie(name) {var v = document.cookie.match('(^|;) ?' + name + '=([^;]*)(;|$)');return v ? v[2] : null;}}if(typeof window.visitCounter == 'undefined') {if( getCookie('sgConversionVisitCounter') ) {window.visitCounter = getCookie('sgConversionVisitCounter');} else {window.visitCounter = 0;}window.visitCounter++;limit = 60 * 60 * 24 * 365;document.cookie = 'sgConversionVisitCounter='+ window.visitCounter +'; max-age='+ limit +'; path=/';}function sgPopup294reachGoal(code) {function executeGoal(params) {if(typeof params == 'object') {eval('ym('+ params.join(',') +');');let data = {'goal': params[2],timestamp: new Date().toISOString()};var xmlhr = new XMLHttpRequest();xmlhr.open('POST', "https://1001doc.ru/bitrix/services/main/ajax.php?action=generator:conversion.api.ajax.goalLog");xmlhr.send(JSON.stringify(data));xmlhr.onreadystatechange = function() {if (xmlhr.readyState === 4 && xmlhr.status === 200) {const params = new URLSearchParams(window.location.search);if( params.get('debug') ) {const response = JSON.parse(xmlhr.response);console.log(response);}}}}}const goals = code.split(';');if(goals) {for(let goal of goals) {goal = goal.trim();if(goal != '') {const regexp = /ym(.*)/;if( regexp.test(goal) ) {goal = goal.replace('ym(', '');goal = goal.replace(')', '');const params = goal.split(',');if(params) {if (typeof window.ym != 'undefined') {executeGoal(params);} else {if(typeof window.popup294goals == 'undefined') {window.popup294goals = [];}window.popup294goals.push({'metrika': params[0],'action': params[1],'id': params[2]});if(typeof popup294interval == 'undefined') {popup294interval = setInterval(function(){if (typeof window.ym != 'undefined') {for(let goal of window.popup294goals) {executeGoal(params);}window.popup294goals = [];clearInterval(popup294interval);}}, 1000);}}}} else {eval(goal);}}}}}function sgPopup294(action = false) {if(!action) return;if( ['open', 'forceOpen'].includes(action) ) {if(action == 'open' && window.sgPopup.shown.includes(294)) {return false;}if(window.sgPopup.opened) {if(window.sgPopup.opened != 294) {window.sgPopup.queue.push(294);}} else {window.sgPopup.opened = 294;let html;let closeButton;if(window.innerWidth >= 1040) {html = "<noindex id='SGpopup294' class='popup-wrapper grid-hidden'><div class='popup-area' data-type='area-container' style='position: relative; top: 264px; left: 14px; margin-left: ; width: 448.889px; height: 227.889px; '><div class='popup-element' data-type='input' style='margin-top: 0px;margin-right: 0px;margin-bottom: 8px;margin-left: 0px;'><div class='popupElement-content'><input type=\"text\" placeholder=\"+7 (000) 00-00-00\" data-name=\"Телефон\" data-mask=\"phone\" required=\"\" style=\"background-color: rgb(255, 255, 255); border-color: rgb(235, 233, 235); color: rgb(117, 120, 118); padding: 10px 20px; border-radius: 10px;\"></div></div><div class='popup-element' data-type='input' style='margin-top: 3px;margin-right: 0px;margin-bottom: 10px;margin-left: 0px;'><div class='popupElement-content'><input type=\"text\" placeholder=\"Ваш город\" data-name=\"Город\" style=\"background-color: rgb(255, 255, 255); border-color: rgb(235, 233, 235); color: rgb(117, 120, 118); padding: 10px 20px; border-radius: 10px;\"></div></div><div class='popup-element' data-type='button-submit' style='margin-top: 0px;margin-right: 0px;margin-bottom: 4px;margin-left: 0px;'><div class='popupElement-content'><button style=\"background-color: rgb(65, 193, 81); color: rgb(255, 255, 255); font-size: 21px; padding: 23px 30px; border-radius: 10px;\">Получить скидку</button></div></div><div class='popup-element' data-type='agree' data-element-id='276383' data-fill='#000' style='margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;'><style>#SGpopup294 .popup-element[data-element-id='276383'][data-type='agree'] .popupElement-content input[type='checkbox'] + label:before {border-color: #000;} #SGpopup294 .popup-element[data-element-id='276383'][data-type='agree'] .popupElement-content input[type='checkbox'] + label:after {background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHhtbG5zOnhsaW5rPSdodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rJyB2ZXJzaW9uPScxLjEnIHg9JzBweCcgeT0nMHB4JyB3aWR0aD0nNTEycHgnIGhlaWdodD0nNTEycHgnIHZpZXdCb3g9JzAgMCA0NDIuNTMzIDQ0Mi41MzMnIHN0eWxlPSdlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDQ0Mi41MzMgNDQyLjUzMycgeG1sOnNwYWNlPSdwcmVzZXJ2ZSc+PHBhdGggZD0nTTQzNC41MzksOTguNDk5bC0zOC44MjgtMzguODI4Yy01LjMyNC01LjMyOC0xMS43OTktNy45OTMtMTkuNDEtNy45OTNjLTcuNjE4LDAtMTQuMDkzLDIuNjY1LTE5LjQxNyw3Ljk5M0wxNjkuNTksMjQ3LjI0OCBsLTgzLjkzOS04NC4yMjVjLTUuMzMtNS4zMy0xMS44MDEtNy45OTItMTkuNDEyLTcuOTkyYy03LjYxNiwwLTE0LjA4NywyLjY2Mi0xOS40MTcsNy45OTJMNy45OTQsMjAxLjg1MiAgIEMyLjY2NCwyMDcuMTgxLDAsMjEzLjY1NCwwLDIyMS4yNjljMCw3LjYwOSwyLjY2NCwxNC4wODgsNy45OTQsMTkuNDE2bDEwMy4zNTEsMTAzLjM0OWwzOC44MzEsMzguODI4IGM1LjMyNyw1LjMzMiwxMS44LDcuOTk0LDE5LjQxNCw3Ljk5NGM3LjYxMSwwLDE0LjA4NC0yLjY2OSwxOS40MTQtNy45OTRsMzguODMtMzguODI4TDQzNC41MzksMTM3LjMzIGM1LjMyNS01LjMzLDcuOTk0LTExLjgwMiw3Ljk5NC0xOS40MTdDNDQyLjUzNywxMTAuMzAyLDQzOS44NjQsMTAzLjgyOSw0MzQuNTM5LDk4LjQ5OXonIGZpbGw9JyMwMDAnLz48L3N2Zz4=);}</style><div class='popupElement-content'><input type=\"checkbox\" checked=\"\" required=\"\" tabindex=\"-1\" data-orig-tabindex=\"-1\"><label><p><span style=\"color:hsl(0,0%,60%);font-size:9px;\">Я принимаю условия </span><a href=\"https://1001doc.ru/include/files/privacy-policy.pdf\"><span style=\"color:hsl(0,0%,60%);font-size:9px;\"><u>пользовательского соглашения</u></span></a><span style=\"color:hsl(0,0%,60%);font-size:9px;\"> и даю согласие на обработку персональных данных</span></p></label></div></div></div><input type='hidden' name='popupID' value='294'><input type='hidden' name='projectID' value='47'></noindex>";closeButton = true;} else {html = "<noindex id='SGpopup294' class='popup-wrapper grid-hidden'><div class='popup-area' data-type='area-container' style='position: relative; top: 166px; left: 14px; margin-left: ; width: 336.889px; height: 222.889px; '><div class='popup-element' data-type='input' style='margin-top: 0px;margin-right: 0px;margin-bottom: 4px;margin-left: 0px;'><div class='popupElement-content'><input type=\"text\" placeholder=\"+7 (000) 00-00-00\" data-name=\"Телефон\" data-mask=\"phone\" required=\"\" style=\"background-color: rgb(255, 255, 255); border-color: rgb(235, 233, 235); color: rgb(117, 120, 118); padding: 10px 20px; border-radius: 10px;\"></div></div><div class='popup-element' data-type='input' style='margin-top: 0px;margin-right: 0px;margin-bottom: 4px;margin-left: 0px;'><div class='popupElement-content'><input type=\"text\" placeholder=\"Ваш город\" data-name=\"Город\" style=\"background-color: rgb(255, 255, 255); border-color: rgb(235, 233, 235); color: rgb(117, 120, 118); padding: 10px 20px; border-radius: 10px;\"></div></div><div class='popup-element' data-type='button-submit' style='margin-top: 0px;margin-right: 0px;margin-bottom: 4px;margin-left: 0px;'><div class='popupElement-content'><button style=\"background-color: rgb(65, 193, 81); color: rgb(255, 255, 255); font-size: 21px; padding: 20px 30px; border-radius: 10px;\">Получить скидку</button></div></div><div class='popup-element' data-type='agree' data-element-id='331935' data-fill='#000' style='margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;'><style>#SGpopup294 .popup-element[data-element-id='331935'][data-type='agree'] .popupElement-content input[type='checkbox'] + label:before {border-color: #000;} #SGpopup294 .popup-element[data-element-id='331935'][data-type='agree'] .popupElement-content input[type='checkbox'] + label:after {background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHhtbG5zOnhsaW5rPSdodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rJyB2ZXJzaW9uPScxLjEnIHg9JzBweCcgeT0nMHB4JyB3aWR0aD0nNTEycHgnIGhlaWdodD0nNTEycHgnIHZpZXdCb3g9JzAgMCA0NDIuNTMzIDQ0Mi41MzMnIHN0eWxlPSdlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDQ0Mi41MzMgNDQyLjUzMycgeG1sOnNwYWNlPSdwcmVzZXJ2ZSc+PHBhdGggZD0nTTQzNC41MzksOTguNDk5bC0zOC44MjgtMzguODI4Yy01LjMyNC01LjMyOC0xMS43OTktNy45OTMtMTkuNDEtNy45OTNjLTcuNjE4LDAtMTQuMDkzLDIuNjY1LTE5LjQxNyw3Ljk5M0wxNjkuNTksMjQ3LjI0OCBsLTgzLjkzOS04NC4yMjVjLTUuMzMtNS4zMy0xMS44MDEtNy45OTItMTkuNDEyLTcuOTkyYy03LjYxNiwwLTE0LjA4NywyLjY2Mi0xOS40MTcsNy45OTJMNy45OTQsMjAxLjg1MiAgIEMyLjY2NCwyMDcuMTgxLDAsMjEzLjY1NCwwLDIyMS4yNjljMCw3LjYwOSwyLjY2NCwxNC4wODgsNy45OTQsMTkuNDE2bDEwMy4zNTEsMTAzLjM0OWwzOC44MzEsMzguODI4IGM1LjMyNyw1LjMzMiwxMS44LDcuOTk0LDE5LjQxNCw3Ljk5NGM3LjYxMSwwLDE0LjA4NC0yLjY2OSwxOS40MTQtNy45OTRsMzguODMtMzguODI4TDQzNC41MzksMTM3LjMzIGM1LjMyNS01LjMzLDcuOTk0LTExLjgwMiw3Ljk5NC0xOS40MTdDNDQyLjUzNywxMTAuMzAyLDQzOS44NjQsMTAzLjgyOSw0MzQuNTM5LDk4LjQ5OXonIGZpbGw9JyMwMDAnLz48L3N2Zz4=);}</style><div class='popupElement-content'><input type=\"checkbox\" checked=\"\" required=\"\" tabindex=\"-1\"><label><p><span style=\"color:hsl(0, 0%, 60%);font-size:9px;\">Я принимаю условия </span><a href=\"https://1001doc.ru/include/files/privacy-policy.pdf\"><span style=\"color:hsl(0, 0%, 60%);font-size:9px;\"><u>пользовательского соглашения</u></span></a><span style=\"color:hsl(0, 0%, 60%);font-size:9px;\"> и даю согласие на обработку персональных данных</span></p></label></div></div></div><input type='hidden' name='popupID' value='294'><input type='hidden' name='projectID' value='47'></noindex>";closeButton = true;}dateFrom = 1733184000 * 1000;if(dateFrom < Date.now()) {do {dateFrom += 20 * 24 * 60 * 60 * 1000;} while (dateFrom < Date.now());}for (const match of html.matchAll(/{date((\+|\-)([0-9]*))?}/g)) {dateTo = dateFrom;if(typeof match[1] != 'undefined') {dateTo += match[1] * 24 * 60 * 60 * 1000;}dateTo = new Date(dateTo);formatDate = '{day}. {month} ';if(formatDate.indexOf('{day}') != -1) {day = dateTo.getDate();if("number_short" == "number_full") {if(day < 10) {day = '0' + day;}}formatDate = formatDate.replace('{day}', day);}if(formatDate.indexOf('{month}') != -1) {month = dateTo.getMonth() + 1;if("number_full" == "number_full") {if(month < 10) {month = '0' + month;}} else if("number_full" == "text_nominative") {let months = {1: 'январь',2: 'февраль',3: 'март',4: 'апрель',5: 'май',6: 'июнь',7: 'июль',8: 'август',9: 'сентябрь',10: 'октябрь',11: 'ноябрь',12: 'декабрь'};month = months[month];} else if("number_full" == "text_genitive") {let months = {1: 'января',2: 'февраля',3: 'марта',4: 'апреля',5: 'мая',6: 'июня',7: 'июля',8: 'августа',9: 'сентября',10: 'октября',11: 'ноября',12: 'декабря'};month = months[month];}formatDate = formatDate.replace('{month}', month);}if(formatDate.indexOf('{year}') != -1) {year = dateTo.getFullYear();if("number_short" == "number_short") {year = year.toString().substr(-2);}formatDate = formatDate.replace('{year}', year);}html = html.replaceAll(match[0], formatDate);};Fancybox.close();new Fancybox([{src: html,type: 'html'}], {dragToClose: false,closeButton: closeButton,compact: false,autoFocus: false,trapFocus: false,on: {done: (fancybox, slide) => {sgPopup294reachGoal("ym(96577005,'reachGoal','pokaz_popup_topbar');");const popup = document.querySelector("#SGpopup294");if(popup) {const url = new URL(location.href);window.utm_source = url.searchParams.get('utm_source');window.utm_medium = url.searchParams.get('utm_medium');window.utm_campaign = url.searchParams.get('utm_campaign');window.utm_term = url.searchParams.get('utm_term');window.utm_content = url.searchParams.get('utm_content');openerLinks = popup.querySelectorAll('a[data-target]');if(openerLinks) {for(let openerLink of openerLinks) {openerLink.addEventListener('click', function(){if(openerLink.dataset.target) {if(typeof window[openerLink.dataset.target] == 'function') {Fancybox.close();window[openerLink.dataset.target]('open');}}});}}linkImages = popup.querySelectorAll('.image-wrapper[data-type="link"]');if(linkImages) {for(let linkImage of linkImages) {linkImage.addEventListener('click', function(){if(linkImage.dataset.link) {if(linkImage.dataset.target == '_blank') {window.open(linkImage.dataset.link);} else {location.href = linkImage.dataset.link}}});}}openerImages = popup.querySelectorAll('.image-wrapper[data-type="opener"]');if(openerImages) {for(let openerImage of openerImages) {openerImage.addEventListener('click', function(){if(openerImage.dataset.popup) {if(typeof window['sgPopup' + openerImage.dataset.popup] == 'function') {Fancybox.close();window['sgPopup' + openerImage.dataset.popup]('forceOpen');}}});}}submitImages = popup.querySelectorAll('.image-wrapper[data-type="submitter"]');if(submitImages) {for(let submitImage of submitImages) {submitImage.addEventListener('click', function(){if(submitImage.classList.contains('disabled')) return false;submitImage.classList.add('disabled');sgPopup294submit(function(result){submitImage.classList.toggle('disabled', result);});});}}const linkButtons = popup.querySelectorAll('button[data-type="link"]');if(linkButtons) {for(let linkButton of linkButtons) {linkButton.addEventListener('click', function(){if(linkButton.dataset.link && linkButton.dataset.link != '#') {if(linkButton.dataset.target == '_blank') {window.open(linkButton.dataset.link);} else {location.href = linkButton.dataset.link}}});}}openerButtons = popup.querySelectorAll('button[data-type="opener"]');if(openerButtons) {for(let openerButton of openerButtons) {openerButton.addEventListener('click', function(){if(openerButton.dataset.popup) {if(typeof window['sgPopup' + openerButton.dataset.popup] == 'function') {Fancybox.close();window['sgPopup' + openerButton.dataset.popup]('forceOpen');}}});}}const maskedFields = popup.querySelectorAll('input[data-mask]');if(maskedFields) {for(let maskedField of maskedFields) {if(maskedField.dataset.mask == 'phone') {Inputmask('+7 (999) 999-99-99', {clearIncomplete: true,greedy: false}).mask(maskedField);} else if(maskedField.dataset.mask == 'email') {Inputmask({alias: 'email',clearIncomplete: true,greedy: false}).mask(maskedField);}}}const fileInputs = popup.querySelectorAll('.popup-element[data-type="input-file"] input[type="file"]');if(fileInputs) {for(let fileInput of fileInputs) {let label = fileInput.nextElementSibling;if(label) {fileInput.addEventListener('change', function() {if (fileInput.files && fileInput.files.length > 0) {const maxSize = fileInput.dataset.limit;if(fileInput.files[0].size <= maxSize * 1024 * 1024) {reader = new FileReader();reader.onload = function(){const span = label.querySelector('span');if(span) {span.innerHTML = fileInput.files[0].name;}fileInput.dataset.content = reader.result;};reader.readAsDataURL(fileInput.files[0]);} else {alert('Превышен максимальный размер файла - '+ maxSize +'мб');}}});label.addEventListener('click', function(event){event.preventDefault();fileInput.click();});}}}const agrees = popup.querySelectorAll('.popup-element[data-type="agree"] input[type="checkbox"]');if(agrees) {for(let agree of agrees) {let label = agree.nextElementSibling;if(label) {label.addEventListener('click', function(event){event.preventDefault();agree.checked = !agree.checked;});const links = label.querySelectorAll('a');if(links) {for(let link of links) {link.addEventListener('click', function(event){event.stopPropagation()});}}}}}const wheel = popup.querySelector('.popup-element[data-type="wheel"]');let wheelInterval;let wheelAngle = 0;if(wheel){const circle = popup.querySelector('.wheel-circle img');if(circle) {wheelInterval = setInterval(function(){wheelAngle += 0.2;if(wheelAngle > 360) {wheelAngle -= 360;}circle.setAttribute('style', 'transform: rotate('+ wheelAngle +'deg)');}, 40);}}const closeTriggers = popup.querySelectorAll('.popup-element[data-type="button-close"] button:not([data-fancybox-close])');if(closeTriggers) {for(let closeTrigger of closeTriggers) {closeTrigger.addEventListener('click', function(){Fancybox.close();})}}function sgPopup294submit(callback = false) {let hasError = false;const requiredInputs = popup.querySelectorAll('input[data-name][required]');if(requiredInputs) {for(let requiredInput of requiredInputs) {if(requiredInput.dataset.mask) {if(requiredInput.dataset.mask == 'phone') {if(!Inputmask.isValid(requiredInput.value, { mask: '+7 (999) 999-99-99'})) {requiredInput.classList.add('error');hasError = true;} else {requiredInput.classList.remove('error');}} else if(requiredInput.dataset.mask == 'phone_intl' && typeof window.sgPopup.elements.intl != 'undefined') {intl = window.sgPopup.elements.intl;if(!intl.isValidNumberPrecise()) {requiredInput.classList.add('error');hasError = true;} else {requiredInput.classList.remove('error');}} else if(requiredInput.dataset.mask == 'email') {if(!Inputmask.isValid(requiredInput.value, {alias: 'email'})) {requiredInput.classList.add('error');hasError = true;} else {requiredInput.classList.remove('error');}}} else {if(requiredInput.value == '') {requiredInput.classList.add('error');hasError = true;} else {requiredInput.classList.remove('error');}}}}const requiredTextareas = popup.querySelectorAll('textarea[data-name][required]');if(requiredTextareas) {for(let requiredTextarea of requiredTextareas) {if(requiredTextarea.value == '') {requiredTextarea.classList.add('error');hasError = true;} else {requiredTextarea.classList.remove('error');}}}const requiredSelects = popup.querySelectorAll('select[data-name][required]');if(requiredSelects) {for(let requiredSelect of requiredSelects) {const niceSelect = requiredSelect.nextElementSibling;if(niceSelect) {if(niceSelect.querySelector('.option.selected')) {niceSelect.classList.remove('error')} else {niceSelect.classList.add('error');hasError = true}}}}if(agrees) {for(let agree of agrees) {if(agree.required) {let label = agree.nextElementSibling;if(agree.checked) {label.classList.remove('error');} else {label.classList.add('error');hasError = true;}}}}if(hasError) {if (callback && typeof callback === 'function') {callback(false);}return false;}function sgPopup294sendRequest() {let data = {fields: [],cookie: document.cookie,source: location.href};const inputs = popup.querySelectorAll('input[data-name]');if(inputs) {for(let input of inputs) {if(input.dataset.mask == 'phone_intl' && typeof window.sgPopup.elements.intl != 'undefined') {intl = window.sgPopup.elements.intl;data.fields.push({name: input.dataset.name,value: intl.getNumber()});} else {data.fields.push({name: input.dataset.name,value: input.value});}}}const textareas = popup.querySelectorAll('textarea[data-name]');if(textareas) {for(let textarea of textareas) {data.fields.push({name: textarea.dataset.name,value: textarea.value});}}if(typeof selects != 'undefined') {for(let select of selects) {data.fields.push({name: select.dataset.name,value: select.value});}}const hiddenInputs = popup.querySelectorAll('input[type="hidden"]');for(let hiddenInput of hiddenInputs) {const name = hiddenInput.name;data[hiddenInput.name] = hiddenInput.value;}const fileInputs = popup.querySelectorAll('.popup-element[data-type="input-file"] input[type="file"]');if(fileInputs) {data.files = [];for(let fileInput of fileInputs) {if (fileInput.files && fileInput.files.length > 0) {data.files.push({'name': fileInput.files[0].name,'content': fileInput.dataset.content});}}}if( wheel && typeof window.prize != 'undefined' ) {data.fields.push(window.prize);}var xmlhr = new XMLHttpRequest();xmlhr.open('POST', "https://1001doc.ru/bitrix/services/main/ajax.php?action=generator:conversion.api.ajax.formSubmit");xmlhr.send(JSON.stringify(data));xmlhr.onreadystatechange = function() {if (xmlhr.readyState === 4 && xmlhr.status === 200) {console.log(xmlhr.response);const response = JSON.parse(xmlhr.response);console.log(response);}};sgPopup294reachGoal("ym(96577005,'reachGoal','otpravka_popup_topbar');");sgSuccessPopup294();return true;}if(wheel){const circle = popup.querySelector('.wheel-circle img');if(circle) {clearInterval(wheelInterval);}} else {const result = sgPopup294sendRequest();if (callback && typeof callback === 'function') {callback(result);}}}areaLinks = popup.querySelectorAll('.popup-area[data-type="area-link"]');if(areaLinks) {for(let areaLink of areaLinks) {areaLink.addEventListener('click', function(){if(areaLink.dataset.link && areaLink.dataset.link != '#') {if(areaLink.dataset.target == '_blank') {window.open(areaLink.dataset.link);} else {location.href = areaLink.dataset.link}}});}}areaOpeners = popup.querySelectorAll('.popup-area[data-type="area-opener"]');if(areaOpeners) {for(let areaOpener of areaOpeners) {areaOpener.addEventListener('click', function(){if(areaOpener.dataset.popup) {if(typeof window['sgPopup' + areaOpener.dataset.popup] == 'function') {Fancybox.close();window['sgPopup' + areaOpener.dataset.popup]('forceOpen');}}});}}const submitButton = popup.querySelector(".popup-element[data-type='button-submit'] button");if(submitButton) {submitButton.addEventListener('click', function(event){event.preventDefault();submitButton.disabled = true;sgPopup294submit(function(result){submitButton.disabled = result;});})}}},close: () => {window.sgPopup.opened = false;window.sgPopup.shown.push(294);if(window.sgPopup.queue.length) {setTimeout(function(){let popupID = window.sgPopup.queue.shift();window['sgPopup' + popupID]('forceOpen');}, 30000);}},}});}}}function sgSuccessPopup294() {let html;let closeButton;if(window.innerWidth >= 1040) {html = "<noindex id='SGsuccess294' class='popup-wrapper grid-hidden'><div class='success-area' data-type='area-container' style='position: absolute; top: 120px; left: 40px; margin-left: ; width: 370px; height: 180px; '><div class='success-element' data-type='editor' style='margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; '><div class='successElement-content'><p style=\"text-align: center\"><span style=\"font-size: 30px\">Спасибо, ваша скидка закреплена! Наш менедежер свяжется с вами для уточнения деталей!</span></p></div></div></div><div class='success-area' data-type='close-container' style='position: absolute; top: -40px; left: 450px; margin-left: -40px; width: 40px; height: 40px; '><div class='success-element' data-type='button-close' style=''><div class='successElement-content'><button type=\"close\" data-fancybox-close=\"\" style=\"padding: 10px; width: 40px; height: 40px; background-color: rgba(0, 0, 0, 0); border: 1px solid rgb(255, 255, 255, 0); border-radius: 18px\"><svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 18 18\" style=\"fill: rgb(235, 41, 41)\"><path d=\"M1.8 18L0 16.2L7.2 9L0 1.8L1.8 0L9 7.2L16.2 0L18 1.8L10.8 9L18 16.2L16.2 18L9 10.8L1.8 18Z\"></path></svg></button></div></div></div></noindex>";closeButton = false;} else {html = "<noindex id='SGsuccess294' class='popup-wrapper grid-hidden'><div class='success-area' data-type='area-container' style='position: absolute; top: 75px; left: 20px; margin-left: ; width: 260px; height: 135px; '><div class='success-element' data-type='editor' style='margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; '><div class='successElement-content'><p style=\"text-align: center\"><span style=\"font-size: 22px\">Спасибо, ваша скидка закреплена! Наш менедежер свяжется с вами для уточнения деталей!</span></p></div></div></div><div class='success-area' data-type='close-container' style='position: absolute; top: -30px; left: 300px; margin-left: -30px; width: 30px; height: 30px; '><div class='success-element' data-type='button-close' style=''><div class='successElement-content'><button type=\"close\" data-fancybox-close=\"\" style=\"padding: 7px; width: 30px; height: 30px; background-color: rgba(0, 0, 0, 0); border: 1px solid rgb(255, 255, 255, 0); border-radius: 18px\"><svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 18 18\" style=\"fill: rgb(235, 41, 41)\"><path d=\"M1.8 18L0 16.2L7.2 9L0 1.8L1.8 0L9 7.2L16.2 0L18 1.8L10.8 9L18 16.2L16.2 18L9 10.8L1.8 18Z\"></path></svg></button></div></div></div></noindex>";closeButton = false;}Fancybox.close();new Fancybox([{src: html,type: 'html'}], {dragToClose: false,closeButton: closeButton,autoFocus: false,trapFocus: false,on: {done: (fancybox, slide) => {const success = document.querySelector("#SGsuccess294");if(success) {buttonLinks = success.querySelectorAll('button[data-type="link"]');if(buttonLinks) {for(let buttonLink of buttonLinks) {buttonLink.addEventListener('click', function(){if(buttonLink.dataset.link) {if(buttonLink.dataset.target == '_blank') {window.open(buttonLink.dataset.link);} else {location.href = buttonLink.dataset.link}}});}}}setTimeout(function(){Fancybox.close();}, 3000);},close: () => {window.sgPopup.opened = false;}}});}</script><script>if(typeof window.sgPopup == 'undefined') {window.sgPopup = {opened: false,queue: [],shown: [],elements: {}};}addEventListener('DOMContentLoaded', () => {document.body.addEventListener('click', function(event){if(event.target.dataset.target == "sgPopup338"|| event.target.closest('[data-target="sgPopup338"]')) {Fancybox.close();sgPopup338('forceOpen');}});sgPopup338autoOpen();});function sgPopup338autoOpen() {}if(typeof getCookie == 'undefined') {function getCookie(name) {var v = document.cookie.match('(^|;) ?' + name + '=([^;]*)(;|$)');return v ? v[2] : null;}}if(typeof window.visitCounter == 'undefined') {if( getCookie('sgConversionVisitCounter') ) {window.visitCounter = getCookie('sgConversionVisitCounter');} else {window.visitCounter = 0;}window.visitCounter++;limit = 60 * 60 * 24 * 365;document.cookie = 'sgConversionVisitCounter='+ window.visitCounter +'; max-age='+ limit +'; path=/';}function sgPopup338reachGoal(code) {function executeGoal(params) {if(typeof params == 'object') {eval('ym('+ params.join(',') +');');let data = {'goal': params[2],timestamp: new Date().toISOString()};var xmlhr = new XMLHttpRequest();xmlhr.open('POST', "https://1001doc.ru/bitrix/services/main/ajax.php?action=generator:conversion.api.ajax.goalLog");xmlhr.send(JSON.stringify(data));xmlhr.onreadystatechange = function() {if (xmlhr.readyState === 4 && xmlhr.status === 200) {const params = new URLSearchParams(window.location.search);if( params.get('debug') ) {const response = JSON.parse(xmlhr.response);console.log(response);}}}}}const goals = code.split(';');if(goals) {for(let goal of goals) {goal = goal.trim();if(goal != '') {const regexp = /ym(.*)/;if( regexp.test(goal) ) {goal = goal.replace('ym(', '');goal = goal.replace(')', '');const params = goal.split(',');if(params) {if (typeof window.ym != 'undefined') {executeGoal(params);} else {if(typeof window.popup338goals == 'undefined') {window.popup338goals = [];}window.popup338goals.push({'metrika': params[0],'action': params[1],'id': params[2]});if(typeof popup338interval == 'undefined') {popup338interval = setInterval(function(){if (typeof window.ym != 'undefined') {for(let goal of window.popup338goals) {executeGoal(params);}window.popup338goals = [];clearInterval(popup338interval);}}, 1000);}}}} else {eval(goal);}}}}}function sgPopup338(action = false) {if(!action) return;if( ['open', 'forceOpen'].includes(action) ) {if(action == 'open' && window.sgPopup.shown.includes(338)) {return false;}if(window.sgPopup.opened) {if(window.sgPopup.opened != 338) {window.sgPopup.queue.push(338);}} else {window.sgPopup.opened = 338;let html;let closeButton;if(window.innerWidth >= 1040) {html = "<noindex id='SGpopup338' class='popup-wrapper grid-hidden'><div class='popup-area' data-type='area-container' style='position: relative; top: 332px; left: 27px; margin-left: ; width: 465.5px; height: 186px; '><div class='popup-element' data-type='input' style='margin-top: 2px;margin-right: 2px;margin-bottom: 8px;margin-left: 2px;'><div class='popupElement-content'><input type=\"text\" placeholder=\"+7 (000) 000-00-00\" data-name=\"Телефон\" data-mask=\"phone\" required=\"\" style=\"background-color: rgb(255, 255, 255); border-color: rgb(228, 228, 228); color: rgb(116, 126, 120); border-radius: 7px; padding: 10px 20px;\"></div></div><div class='popup-element' data-type='button-submit' style='margin-top: 10px;margin-right: 15px;margin-bottom: 3px;margin-left: 0px;'><div class='popupElement-content'><button type=\"submit\" style=\"background-color: rgba(119, 30, 30, 0); color: rgb(255, 255, 255); font-size: 20px; border-radius: 7px; padding: 40px 31px 35px 5px;\"></button></div></div><div class='popup-element' data-type='agree' data-element-id='410079' data-fill='#000' style='margin-top: 4px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;'><style>#SGpopup338 .popup-element[data-element-id='410079'][data-type='agree'] .popupElement-content input[type='checkbox'] + label:before {border-color: #000;} #SGpopup338 .popup-element[data-element-id='410079'][data-type='agree'] .popupElement-content input[type='checkbox'] + label:after {background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHhtbG5zOnhsaW5rPSdodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rJyB2ZXJzaW9uPScxLjEnIHg9JzBweCcgeT0nMHB4JyB3aWR0aD0nNTEycHgnIGhlaWdodD0nNTEycHgnIHZpZXdCb3g9JzAgMCA0NDIuNTMzIDQ0Mi41MzMnIHN0eWxlPSdlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDQ0Mi41MzMgNDQyLjUzMycgeG1sOnNwYWNlPSdwcmVzZXJ2ZSc+PHBhdGggZD0nTTQzNC41MzksOTguNDk5bC0zOC44MjgtMzguODI4Yy01LjMyNC01LjMyOC0xMS43OTktNy45OTMtMTkuNDEtNy45OTNjLTcuNjE4LDAtMTQuMDkzLDIuNjY1LTE5LjQxNyw3Ljk5M0wxNjkuNTksMjQ3LjI0OCBsLTgzLjkzOS04NC4yMjVjLTUuMzMtNS4zMy0xMS44MDEtNy45OTItMTkuNDEyLTcuOTkyYy03LjYxNiwwLTE0LjA4NywyLjY2Mi0xOS40MTcsNy45OTJMNy45OTQsMjAxLjg1MiAgIEMyLjY2NCwyMDcuMTgxLDAsMjEzLjY1NCwwLDIyMS4yNjljMCw3LjYwOSwyLjY2NCwxNC4wODgsNy45OTQsMTkuNDE2bDEwMy4zNTEsMTAzLjM0OWwzOC44MzEsMzguODI4IGM1LjMyNyw1LjMzMiwxMS44LDcuOTk0LDE5LjQxNCw3Ljk5NGM3LjYxMSwwLDE0LjA4NC0yLjY2OSwxOS40MTQtNy45OTRsMzguODMtMzguODI4TDQzNC41MzksMTM3LjMzIGM1LjMyNS01LjMzLDcuOTk0LTExLjgwMiw3Ljk5NC0xOS40MTdDNDQyLjUzNywxMTAuMzAyLDQzOS44NjQsMTAzLjgyOSw0MzQuNTM5LDk4LjQ5OXonIGZpbGw9JyMwMDAnLz48L3N2Zz4=);}</style><div class='popupElement-content'><input id=\"agree338_oJyle\" type=\"checkbox\" required checked=\"\" tabindex=\"-1\" data-orig-tabindex=\"-1\"><label for=\"agree338_oJyle\"><p><span style=\"color:hsl(0,0%,60%);font-size:9px;\">Я принимаю условия</span><a href=\"https://1001doc.ru/include/files/privacy-policy.pdf\" target=\"_blank\" rel=\"noopener noreferrer\"><span style=\"color:hsl(0,0%,60%);font-size:9px;\"><u> пользовательского соглашения</u> </span></a><span style=\"color:hsl(0,0%,60%);font-size:9px;\">и даю согласие на обработку персональных данных</span></p></label></div></div></div><div class='popup-area' data-type='area-container' style='position: relative; top: -141px; left: 847px; margin-left: ; width: 75.5px; height: 44.5px; '><div class='popup-element' data-type='editor' data-element-id='501316' style='margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;'><style></style><div class='popupElement-content'><p><span style=\"color:hsl(215,84%,55%);font-size:14px;\"><strong>{date}</strong></span></p></div></div></div><div class='popup-area' data-type='close-container' style='position: absolute; top: -40px; left: 100%; margin-left: -40px; width: 40px; height: 40px; '><div class='popup-element' data-type='button-close' style=''><div class='popupElement-content'><button type=\"close\" data-fancybox-close=\"\" style=\"padding: 10px; width: 38px; height: 38px; background-color: rgba(0, 0, 0, 0); border: 1px solid rgb(255, 255, 255, 0); border-radius: 18px;\"><svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 18 18\" fill=\"#d6d6d6\" style=\"fill: rgb(255, 4, 4);\"><path d=\"M1.8 18L0 16.2L7.2 9L0 1.8L1.8 0L9 7.2L16.2 0L18 1.8L10.8 9L18 16.2L16.2 18L9 10.8L1.8 18Z\"></path></svg></button></div></div></div><input type='hidden' name='popupID' value='338'><input type='hidden' name='projectID' value='47'></noindex>";closeButton = false;} else {html = "<noindex id='SGpopup338' class='popup-wrapper grid-hidden'><div class='popup-area' data-type='area-container' style='position: relative; top: 273px; left: 9px; margin-left: ; width: 332.667px; height: 179px; '><div class='popup-element' data-type='input' style='margin-top: 0px;margin-right: 2px;margin-bottom: 3px;margin-left: 2px;'><div class='popupElement-content'><input type=\"text\" placeholder=\"+7 (000) 000 00-00\" data-name=\"Телефон\" data-mask=\"phone\" required=\"\" style=\"background-color: rgb(255, 255, 255); border-color: rgb(228, 228, 228); color: rgb(116, 126, 120); border-radius: 7px; padding: 10px 20px;\"></div></div><div class='popup-element' data-type='button-submit' style='margin-top: 6px;margin-right: 15px;margin-bottom: 6px;margin-left: 0px;'><div class='popupElement-content'><button type=\"submit\" style=\"background-color: rgba(51, 15, 15, 0); color: rgb(255, 255, 255); font-size: 20px; border-radius: 7px; padding: 30px 31px 30px 0px;\"></button></div></div><div class='popup-element' data-type='agree' data-element-id='712116' data-fill='#000' style='margin-top: 5px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;'><style>#SGpopup338 .popup-element[data-element-id='712116'][data-type='agree'] .popupElement-content input[type='checkbox'] + label:before {border-color: #000;} #SGpopup338 .popup-element[data-element-id='712116'][data-type='agree'] .popupElement-content input[type='checkbox'] + label:after {background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHhtbG5zOnhsaW5rPSdodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rJyB2ZXJzaW9uPScxLjEnIHg9JzBweCcgeT0nMHB4JyB3aWR0aD0nNTEycHgnIGhlaWdodD0nNTEycHgnIHZpZXdCb3g9JzAgMCA0NDIuNTMzIDQ0Mi41MzMnIHN0eWxlPSdlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDQ0Mi41MzMgNDQyLjUzMycgeG1sOnNwYWNlPSdwcmVzZXJ2ZSc+PHBhdGggZD0nTTQzNC41MzksOTguNDk5bC0zOC44MjgtMzguODI4Yy01LjMyNC01LjMyOC0xMS43OTktNy45OTMtMTkuNDEtNy45OTNjLTcuNjE4LDAtMTQuMDkzLDIuNjY1LTE5LjQxNyw3Ljk5M0wxNjkuNTksMjQ3LjI0OCBsLTgzLjkzOS04NC4yMjVjLTUuMzMtNS4zMy0xMS44MDEtNy45OTItMTkuNDEyLTcuOTkyYy03LjYxNiwwLTE0LjA4NywyLjY2Mi0xOS40MTcsNy45OTJMNy45OTQsMjAxLjg1MiAgIEMyLjY2NCwyMDcuMTgxLDAsMjEzLjY1NCwwLDIyMS4yNjljMCw3LjYwOSwyLjY2NCwxNC4wODgsNy45OTQsMTkuNDE2bDEwMy4zNTEsMTAzLjM0OWwzOC44MzEsMzguODI4IGM1LjMyNyw1LjMzMiwxMS44LDcuOTk0LDE5LjQxNCw3Ljk5NGM3LjYxMSwwLDE0LjA4NC0yLjY2OSwxOS40MTQtNy45OTRsMzguODMtMzguODI4TDQzNC41MzksMTM3LjMzIGM1LjMyNS01LjMzLDcuOTk0LTExLjgwMiw3Ljk5NC0xOS40MTdDNDQyLjUzNywxMTAuMzAyLDQzOS44NjQsMTAzLjgyOSw0MzQuNTM5LDk4LjQ5OXonIGZpbGw9JyMwMDAnLz48L3N2Zz4=);}</style><div class='popupElement-content'><input type=\"checkbox\" required checked=\"\" tabindex=\"-1\" data-orig-tabindex=\"-1\"><label><h3><span style=\"color:hsl(0,0%,60%);font-size:9px;\">Я принимаю условия</span><a href=\"https://1001doc.ru/include/files/privacy-policy.pdf\" target=\"_blank\" rel=\"noopener noreferrer\"><span style=\"color:hsl(0,0%,60%);font-size:9px;\"> <u>пользовательского соглашения </u></span></a><span style=\"color:hsl(0,0%,60%);font-size:9px;\">и даю согласие на обработку персональных данных</span></h3></label></div></div></div><div class='popup-area' data-type='area-container' style='position: relative; top: -157px; left: 216px; margin-left: ; width: 75.5px; height: 44.5px; '><div class='popup-element' data-type='editor' data-element-id='112477' style='margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;'><style></style><div class='popupElement-content'><p><span style=\"color:hsl(215,84%,55%);font-size:14px;\">{date}</span></p></div></div></div><div class='popup-area' data-type='close-container' style='position: absolute; top: -40px; left: 100%; margin-left: -40px; width: 40px; height: 40px; '></div><div class='popup-area' data-type='area-container' style='position: relative; top: -223.008px; left: 318px; margin-left: ; width: 31.5px; height: 41.5px; '><div class='popup-element' data-type='button-close' style=''><div class='popupElement-content'><button type=\"close\" data-fancybox-close=\"\" style=\"padding: 10px; width: 38px; height: 38px; background-color: rgba(0, 0, 0, 0); border: 1px solid rgb(255, 255, 255, 0); border-radius: 18px;\"><svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 18 18\" fill=\"#d6d6d6\" style=\"fill: rgb(255, 21, 21);\"><path d=\"M1.8 18L0 16.2L7.2 9L0 1.8L1.8 0L9 7.2L16.2 0L18 1.8L10.8 9L18 16.2L16.2 18L9 10.8L1.8 18Z\"></path></svg></button></div></div></div><input type='hidden' name='popupID' value='338'><input type='hidden' name='projectID' value='47'></noindex>";closeButton = false;}dateFrom = 1672531200 * 1000;if(dateFrom < Date.now()) {do {dateFrom += 15 * 24 * 60 * 60 * 1000;} while (dateFrom < Date.now());}for (const match of html.matchAll(/{date((\+|\-)([0-9]*))?}/g)) {dateTo = dateFrom;if(typeof match[1] != 'undefined') {dateTo += match[1] * 24 * 60 * 60 * 1000;}dateTo = new Date(dateTo);formatDate = '{day}.{month}';if(formatDate.indexOf('{day}') != -1) {day = dateTo.getDate();if("number_short" == "number_full") {if(day < 10) {day = '0' + day;}}formatDate = formatDate.replace('{day}', day);}if(formatDate.indexOf('{month}') != -1) {month = dateTo.getMonth() + 1;if("number_full" == "number_full") {if(month < 10) {month = '0' + month;}} else if("number_full" == "text_nominative") {let months = {1: 'январь',2: 'февраль',3: 'март',4: 'апрель',5: 'май',6: 'июнь',7: 'июль',8: 'август',9: 'сентябрь',10: 'октябрь',11: 'ноябрь',12: 'декабрь'};month = months[month];} else if("number_full" == "text_genitive") {let months = {1: 'января',2: 'февраля',3: 'марта',4: 'апреля',5: 'мая',6: 'июня',7: 'июля',8: 'августа',9: 'сентября',10: 'октября',11: 'ноября',12: 'декабря'};month = months[month];}formatDate = formatDate.replace('{month}', month);}if(formatDate.indexOf('{year}') != -1) {year = dateTo.getFullYear();if("number_short" == "number_short") {year = year.toString().substr(-2);}formatDate = formatDate.replace('{year}', year);}html = html.replaceAll(match[0], formatDate);};Fancybox.close();new Fancybox([{src: html,type: 'html'}], {dragToClose: false,closeButton: closeButton,compact: false,autoFocus: false,trapFocus: false,on: {done: (fancybox, slide) => {sgPopup338reachGoal("ym(96577005,'reachGoal','pokaz_up_oglavleniye');");const popup = document.querySelector("#SGpopup338");if(popup) {const url = new URL(location.href);window.utm_source = url.searchParams.get('utm_source');window.utm_medium = url.searchParams.get('utm_medium');window.utm_campaign = url.searchParams.get('utm_campaign');window.utm_term = url.searchParams.get('utm_term');window.utm_content = url.searchParams.get('utm_content');openerLinks = popup.querySelectorAll('a[data-target]');if(openerLinks) {for(let openerLink of openerLinks) {openerLink.addEventListener('click', function(){if(openerLink.dataset.target) {if(typeof window[openerLink.dataset.target] == 'function') {Fancybox.close();window[openerLink.dataset.target]('open');}}});}}linkImages = popup.querySelectorAll('.image-wrapper[data-type="link"]');if(linkImages) {for(let linkImage of linkImages) {linkImage.addEventListener('click', function(){if(linkImage.dataset.link) {if(linkImage.dataset.target == '_blank') {window.open(linkImage.dataset.link);} else {location.href = linkImage.dataset.link}}});}}openerImages = popup.querySelectorAll('.image-wrapper[data-type="opener"]');if(openerImages) {for(let openerImage of openerImages) {openerImage.addEventListener('click', function(){if(openerImage.dataset.popup) {if(typeof window['sgPopup' + openerImage.dataset.popup] == 'function') {Fancybox.close();window['sgPopup' + openerImage.dataset.popup]('forceOpen');}}});}}submitImages = popup.querySelectorAll('.image-wrapper[data-type="submitter"]');if(submitImages) {for(let submitImage of submitImages) {submitImage.addEventListener('click', function(){if(submitImage.classList.contains('disabled')) return false;submitImage.classList.add('disabled');sgPopup338submit(function(result){submitImage.classList.toggle('disabled', result);});});}}const linkButtons = popup.querySelectorAll('button[data-type="link"]');if(linkButtons) {for(let linkButton of linkButtons) {linkButton.addEventListener('click', function(){if(linkButton.dataset.link && linkButton.dataset.link != '#') {if(linkButton.dataset.target == '_blank') {window.open(linkButton.dataset.link);} else {location.href = linkButton.dataset.link}}});}}openerButtons = popup.querySelectorAll('button[data-type="opener"]');if(openerButtons) {for(let openerButton of openerButtons) {openerButton.addEventListener('click', function(){if(openerButton.dataset.popup) {if(typeof window['sgPopup' + openerButton.dataset.popup] == 'function') {Fancybox.close();window['sgPopup' + openerButton.dataset.popup]('forceOpen');}}});}}const maskedFields = popup.querySelectorAll('input[data-mask]');if(maskedFields) {for(let maskedField of maskedFields) {if(maskedField.dataset.mask == 'phone') {Inputmask('+7 (999) 999-99-99', {clearIncomplete: true,greedy: false}).mask(maskedField);} else if(maskedField.dataset.mask == 'email') {Inputmask({alias: 'email',clearIncomplete: true,greedy: false}).mask(maskedField);}}}const fileInputs = popup.querySelectorAll('.popup-element[data-type="input-file"] input[type="file"]');if(fileInputs) {for(let fileInput of fileInputs) {let label = fileInput.nextElementSibling;if(label) {fileInput.addEventListener('change', function() {if (fileInput.files && fileInput.files.length > 0) {const maxSize = fileInput.dataset.limit;if(fileInput.files[0].size <= maxSize * 1024 * 1024) {reader = new FileReader();reader.onload = function(){const span = label.querySelector('span');if(span) {span.innerHTML = fileInput.files[0].name;}fileInput.dataset.content = reader.result;};reader.readAsDataURL(fileInput.files[0]);} else {alert('Превышен максимальный размер файла - '+ maxSize +'мб');}}});label.addEventListener('click', function(event){event.preventDefault();fileInput.click();});}}}const agrees = popup.querySelectorAll('.popup-element[data-type="agree"] input[type="checkbox"]');if(agrees) {for(let agree of agrees) {let label = agree.nextElementSibling;if(label) {label.addEventListener('click', function(event){event.preventDefault();agree.checked = !agree.checked;});const links = label.querySelectorAll('a');if(links) {for(let link of links) {link.addEventListener('click', function(event){event.stopPropagation()});}}}}}const wheel = popup.querySelector('.popup-element[data-type="wheel"]');let wheelInterval;let wheelAngle = 0;if(wheel){const circle = popup.querySelector('.wheel-circle img');if(circle) {wheelInterval = setInterval(function(){wheelAngle += 0.2;if(wheelAngle > 360) {wheelAngle -= 360;}circle.setAttribute('style', 'transform: rotate('+ wheelAngle +'deg)');}, 40);}}const closeTriggers = popup.querySelectorAll('.popup-element[data-type="button-close"] button:not([data-fancybox-close])');if(closeTriggers) {for(let closeTrigger of closeTriggers) {closeTrigger.addEventListener('click', function(){Fancybox.close();})}}function sgPopup338submit(callback = false) {let hasError = false;const requiredInputs = popup.querySelectorAll('input[data-name][required]');if(requiredInputs) {for(let requiredInput of requiredInputs) {if(requiredInput.dataset.mask) {if(requiredInput.dataset.mask == 'phone') {if(!Inputmask.isValid(requiredInput.value, { mask: '+7 (999) 999-99-99'})) {requiredInput.classList.add('error');hasError = true;} else {requiredInput.classList.remove('error');}} else if(requiredInput.dataset.mask == 'phone_intl' && typeof window.sgPopup.elements.intl != 'undefined') {intl = window.sgPopup.elements.intl;if(!intl.isValidNumberPrecise()) {requiredInput.classList.add('error');hasError = true;} else {requiredInput.classList.remove('error');}} else if(requiredInput.dataset.mask == 'email') {if(!Inputmask.isValid(requiredInput.value, {alias: 'email'})) {requiredInput.classList.add('error');hasError = true;} else {requiredInput.classList.remove('error');}}} else {if(requiredInput.value == '') {requiredInput.classList.add('error');hasError = true;} else {requiredInput.classList.remove('error');}}}}const requiredTextareas = popup.querySelectorAll('textarea[data-name][required]');if(requiredTextareas) {for(let requiredTextarea of requiredTextareas) {if(requiredTextarea.value == '') {requiredTextarea.classList.add('error');hasError = true;} else {requiredTextarea.classList.remove('error');}}}const requiredSelects = popup.querySelectorAll('select[data-name][required]');if(requiredSelects) {for(let requiredSelect of requiredSelects) {const niceSelect = requiredSelect.nextElementSibling;if(niceSelect) {if(niceSelect.querySelector('.option.selected')) {niceSelect.classList.remove('error')} else {niceSelect.classList.add('error');hasError = true}}}}if(agrees) {for(let agree of agrees) {if(agree.required) {let label = agree.nextElementSibling;if(agree.checked) {label.classList.remove('error');} else {label.classList.add('error');hasError = true;}}}}if(hasError) {if (callback && typeof callback === 'function') {callback(false);}return false;}function sgPopup338sendRequest() {let data = {fields: [],cookie: document.cookie,source: location.href};const inputs = popup.querySelectorAll('input[data-name]');if(inputs) {for(let input of inputs) {if(input.dataset.mask == 'phone_intl' && typeof window.sgPopup.elements.intl != 'undefined') {intl = window.sgPopup.elements.intl;data.fields.push({name: input.dataset.name,value: intl.getNumber()});} else {data.fields.push({name: input.dataset.name,value: input.value});}}}const textareas = popup.querySelectorAll('textarea[data-name]');if(textareas) {for(let textarea of textareas) {data.fields.push({name: textarea.dataset.name,value: textarea.value});}}if(typeof selects != 'undefined') {for(let select of selects) {data.fields.push({name: select.dataset.name,value: select.value});}}const hiddenInputs = popup.querySelectorAll('input[type="hidden"]');for(let hiddenInput of hiddenInputs) {const name = hiddenInput.name;data[hiddenInput.name] = hiddenInput.value;}const fileInputs = popup.querySelectorAll('.popup-element[data-type="input-file"] input[type="file"]');if(fileInputs) {data.files = [];for(let fileInput of fileInputs) {if (fileInput.files && fileInput.files.length > 0) {data.files.push({'name': fileInput.files[0].name,'content': fileInput.dataset.content});}}}if( wheel && typeof window.prize != 'undefined' ) {data.fields.push(window.prize);}var xmlhr = new XMLHttpRequest();xmlhr.open('POST', "https://1001doc.ru/bitrix/services/main/ajax.php?action=generator:conversion.api.ajax.formSubmit");xmlhr.send(JSON.stringify(data));xmlhr.onreadystatechange = function() {if (xmlhr.readyState === 4 && xmlhr.status === 200) {console.log(xmlhr.response);const response = JSON.parse(xmlhr.response);console.log(response);}};sgPopup338reachGoal("ym(96577005,'reachGoal','lead_oglavleniye');");sgSuccessPopup338();let redirect = {url: 'https://1001doc.ru/upload/popup_189_attachment.pdf',newtab: '1',timeout: '3000'};if( typeof redirect != 'undefined' ) {sgSuccessRedirect338(redirect);}return true;}if(wheel){const circle = popup.querySelector('.wheel-circle img');if(circle) {clearInterval(wheelInterval);}} else {const result = sgPopup338sendRequest();if (callback && typeof callback === 'function') {callback(result);}}}areaLinks = popup.querySelectorAll('.popup-area[data-type="area-link"]');if(areaLinks) {for(let areaLink of areaLinks) {areaLink.addEventListener('click', function(){if(areaLink.dataset.link && areaLink.dataset.link != '#') {if(areaLink.dataset.target == '_blank') {window.open(areaLink.dataset.link);} else {location.href = areaLink.dataset.link}}});}}areaOpeners = popup.querySelectorAll('.popup-area[data-type="area-opener"]');if(areaOpeners) {for(let areaOpener of areaOpeners) {areaOpener.addEventListener('click', function(){if(areaOpener.dataset.popup) {if(typeof window['sgPopup' + areaOpener.dataset.popup] == 'function') {Fancybox.close();window['sgPopup' + areaOpener.dataset.popup]('forceOpen');}}});}}const submitButton = popup.querySelector(".popup-element[data-type='button-submit'] button");if(submitButton) {submitButton.addEventListener('click', function(event){event.preventDefault();submitButton.disabled = true;sgPopup338submit(function(result){submitButton.disabled = result;});})}}},close: () => {window.sgPopup.opened = false;window.sgPopup.shown.push(338);if(window.sgPopup.queue.length) {setTimeout(function(){let popupID = window.sgPopup.queue.shift();window['sgPopup' + popupID]('forceOpen');}, 30000);}},}});}}}function sgSuccessPopup338() {let html;let closeButton;if(window.innerWidth >= 1040) {html = "<noindex id='SGsuccess338' class='popup-wrapper grid-hidden'><div class='success-area' data-type='area-container' style='position: absolute; top: 120px; left: 40px; width: 370px; height: 180px; '><div class='success-element' data-type='editor' style='margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; '><div class='successElement-content'><p style='text-align: center'><span style='font-size: 30px'>Спасибо, материалы отправлены вам!</span></p></div></div></div><div class='success-area' data-type='close-container' style='position: absolute; top: -40px; left: 450px; margin-left: -40px; width: 40px; height: 40px; '><div class='success-element' data-type='button-close' style='margin-top: 0px; margin-left: 0px; '><div class='successElement-content'><button type='close' data-fancybox-close style='padding: 10px; width: 40px; height: 40px; background-color: rgba(0, 0, 0, 0); border: 1px solid rgb(255, 255, 255, 0); border-radius: 18px'><svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18' style='fill: rgb(235, 41, 41)'><path d='M1.8 18L0 16.2L7.2 9L0 1.8L1.8 0L9 7.2L16.2 0L18 1.8L10.8 9L18 16.2L16.2 18L9 10.8L1.8 18Z'></path></svg></button></div></div></div></noindex>";closeButton = false;} else {html = "<noindex id='SGsuccess338' class='popup-wrapper grid-hidden'><div class='success-area' data-type='area-container' style='position: absolute; top: 75px; left: 20px; width: 260px; height: 135px; '><div class='success-element' data-type='editor' style='margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; '><div class='successElement-content'><p style='text-align: center'><span style='font-size: 22px'>Спасибо, материалы отправлены вам!</span></p></div></div></div><div class='success-area' data-type='close-container' style='position: absolute; top: -30px; left: 300px; margin-left: -30px; width: 30px; height: 30px; '><div class='success-element' data-type='button-close' style='margin-top: 0px; margin-left: 0px; '><div class='successElement-content'><button type='close' data-fancybox-close style='padding: 7px; width: 30px; height: 30px; background-color: rgba(0, 0, 0, 0); border: 1px solid rgb(255, 255, 255, 0); border-radius: 18px'><svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18' style='fill: rgb(235, 41, 41)'><path d='M1.8 18L0 16.2L7.2 9L0 1.8L1.8 0L9 7.2L16.2 0L18 1.8L10.8 9L18 16.2L16.2 18L9 10.8L1.8 18Z'></path></svg></button></div></div></div></noindex>";closeButton = false;}Fancybox.close();new Fancybox([{src: html,type: 'html'}], {dragToClose: false,closeButton: closeButton,autoFocus: false,trapFocus: false,on: {done: (fancybox, slide) => {const success = document.querySelector("#SGsuccess338");if(success) {buttonLinks = success.querySelectorAll('button[data-type="link"]');if(buttonLinks) {for(let buttonLink of buttonLinks) {buttonLink.addEventListener('click', function(){if(buttonLink.dataset.link) {if(buttonLink.dataset.target == '_blank') {window.open(buttonLink.dataset.link);} else {location.href = buttonLink.dataset.link}}});}}}setTimeout(function(){Fancybox.close();}, 3000);},close: () => {window.sgPopup.opened = false;}}});}function sgSuccessRedirect338(redirect) {setTimeout(function(){Fancybox.close();const clickEvent = new MouseEvent('click', {bubbles: true,cancelable: true});const link = document.createElement('a');link.setAttribute('href', redirect.url);if(redirect.newtab != '') {link.setAttribute('target', '_blank');}document.body.append(link);link.dispatchEvent(clickEvent);link.parentNode.removeChild(link);}, redirect.timeout);}</script><script>if(typeof window.sgPopup == 'undefined') {window.sgPopup = {opened: false,queue: [],shown: [],elements: {}};}addEventListener('DOMContentLoaded', () => {document.body.addEventListener('click', function(event){if(event.target.dataset.target == "sgPopup590"|| event.target.closest('[data-target="sgPopup590"]')) {Fancybox.close();sgPopup590('forceOpen');}});sgPopup590autoOpen();});function sgPopup590autoOpen() {}if(typeof getCookie == 'undefined') {function getCookie(name) {var v = document.cookie.match('(^|;) ?' + name + '=([^;]*)(;|$)');return v ? v[2] : null;}}if(typeof window.visitCounter == 'undefined') {if( getCookie('sgConversionVisitCounter') ) {window.visitCounter = getCookie('sgConversionVisitCounter');} else {window.visitCounter = 0;}window.visitCounter++;limit = 60 * 60 * 24 * 365;document.cookie = 'sgConversionVisitCounter='+ window.visitCounter +'; max-age='+ limit +'; path=/';}function sgPopup590reachGoal(code) {function executeGoal(params) {if(typeof params == 'object') {eval('ym('+ params.join(',') +');');let data = {'goal': params[2],timestamp: new Date().toISOString()};var xmlhr = new XMLHttpRequest();xmlhr.open('POST', "https://1001doc.ru/bitrix/services/main/ajax.php?action=generator:conversion.api.ajax.goalLog");xmlhr.send(JSON.stringify(data));xmlhr.onreadystatechange = function() {if (xmlhr.readyState === 4 && xmlhr.status === 200) {const params = new URLSearchParams(window.location.search);if( params.get('debug') ) {const response = JSON.parse(xmlhr.response);console.log(response);}}}}}const goals = code.split(';');if(goals) {for(let goal of goals) {goal = goal.trim();if(goal != '') {const regexp = /ym(.*)/;if( regexp.test(goal) ) {goal = goal.replace('ym(', '');goal = goal.replace(')', '');const params = goal.split(',');if(params) {if (typeof window.ym != 'undefined') {executeGoal(params);} else {if(typeof window.popup590goals == 'undefined') {window.popup590goals = [];}window.popup590goals.push({'metrika': params[0],'action': params[1],'id': params[2]});if(typeof popup590interval == 'undefined') {popup590interval = setInterval(function(){if (typeof window.ym != 'undefined') {for(let goal of window.popup590goals) {executeGoal(params);}window.popup590goals = [];clearInterval(popup590interval);}}, 1000);}}}} else {eval(goal);}}}}}function sgPopup590(action = false) {if(!action) return;if( ['open', 'forceOpen'].includes(action) ) {if(action == 'open' && window.sgPopup.shown.includes(590)) {return false;}if(window.sgPopup.opened) {if(window.sgPopup.opened != 590) {window.sgPopup.queue.push(590);}} else {window.sgPopup.opened = 590;let html;let closeButton;if(window.innerWidth >= 1040) {html = "<noindex id='SGpopup590' class='popup-wrapper grid-hidden'><div class='popup-area' data-type='area-container' style='position: relative; top: 305px; left: 12px; margin-left: ; width: 459px; height: 174px; '><div class='popup-element' data-type='input' style='margin-top: 2px;margin-right: 2px;margin-bottom: 2px;margin-left: 2px;'><div class='popupElement-content'><input type=\"text\" placeholder=\"+7 (000) 000-00-00\" data-name=\"Телефон\" data-mask=\"phone\" required=\"\" style=\"background-color: rgb(255, 255, 255); border-color: rgb(228, 228, 228); color: rgb(116, 126, 120); padding: 7px 20px; border-radius: 7px;\"></div></div><div class='popup-element' data-type='input' style='margin-top: 26px;margin-right: 0px;margin-bottom: 3px;margin-left: 0px;'><div class='popupElement-content'><input type=\"text\" placeholder=\"Город\" data-name=\"Город\" style=\"background-color: rgb(255, 255, 255); border-color: rgb(228, 228, 228); color: rgb(116, 126, 120); padding: 7px 20px; border-radius: 7px;\"></div></div><div class='popup-element' data-type='button-submit' style='margin-top: 11px;margin-right: 0px;margin-bottom: 5px;margin-left: 0px;'><div class='popupElement-content'><button type=\"submit\" style=\"background-color: rgb(235, 87, 87); color: rgb(255, 255, 255); font-size: 20px; border-radius: 7px; padding: 25px 30px;\">Забрать мой подарок</button></div></div><div class='popup-element' data-type='agree' data-element-id='392159' data-fill='#000' style='margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;'><style>#SGpopup590 .popup-element[data-element-id='392159'][data-type='agree'] .popupElement-content input[type='checkbox'] + label:before {border-color: #000;} #SGpopup590 .popup-element[data-element-id='392159'][data-type='agree'] .popupElement-content input[type='checkbox'] + label:after {background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHhtbG5zOnhsaW5rPSdodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rJyB2ZXJzaW9uPScxLjEnIHg9JzBweCcgeT0nMHB4JyB3aWR0aD0nNTEycHgnIGhlaWdodD0nNTEycHgnIHZpZXdCb3g9JzAgMCA0NDIuNTMzIDQ0Mi41MzMnIHN0eWxlPSdlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDQ0Mi41MzMgNDQyLjUzMycgeG1sOnNwYWNlPSdwcmVzZXJ2ZSc+PHBhdGggZD0nTTQzNC41MzksOTguNDk5bC0zOC44MjgtMzguODI4Yy01LjMyNC01LjMyOC0xMS43OTktNy45OTMtMTkuNDEtNy45OTNjLTcuNjE4LDAtMTQuMDkzLDIuNjY1LTE5LjQxNyw3Ljk5M0wxNjkuNTksMjQ3LjI0OCBsLTgzLjkzOS04NC4yMjVjLTUuMzMtNS4zMy0xMS44MDEtNy45OTItMTkuNDEyLTcuOTkyYy03LjYxNiwwLTE0LjA4NywyLjY2Mi0xOS40MTcsNy45OTJMNy45OTQsMjAxLjg1MiAgIEMyLjY2NCwyMDcuMTgxLDAsMjEzLjY1NCwwLDIyMS4yNjljMCw3LjYwOSwyLjY2NCwxNC4wODgsNy45OTQsMTkuNDE2bDEwMy4zNTEsMTAzLjM0OWwzOC44MzEsMzguODI4IGM1LjMyNyw1LjMzMiwxMS44LDcuOTk0LDE5LjQxNCw3Ljk5NGM3LjYxMSwwLDE0LjA4NC0yLjY2OSwxOS40MTQtNy45OTRsMzguODMtMzguODI4TDQzNC41MzksMTM3LjMzIGM1LjMyNS01LjMzLDcuOTk0LTExLjgwMiw3Ljk5NC0xOS40MTdDNDQyLjUzNywxMTAuMzAyLDQzOS44NjQsMTAzLjgyOSw0MzQuNTM5LDk4LjQ5OXonIGZpbGw9JyMwMDAnLz48L3N2Zz4=);}</style><div class='popupElement-content'><input id=\"agree211\" type=\"checkbox\" required=\"\" checked=\"\" tabindex=\"-1\" data-orig-tabindex=\"-1\"><label for=\"agree211\"><p><span style=\"color:hsl(0,0%,60%);font-size:10px;\">Я принимаю условия</span><a href=\"https://1001doc.ru/include/files/privacy-policy.pdf\" target=\"_blank\" rel=\"noopener noreferrer\"><span style=\"color:hsl(0,0%,60%);font-size:10px;\"><u> пользовательского соглашения </u></span></a><span style=\"color:hsl(0,0%,60%);font-size:10px;\">и даю согласие на обработку персональных данных</span></p></label></div></div></div><div class='popup-area' data-type='area-container' style='position: relative; top: -141px; left: 252px; margin-left: ; width: 110.667px; height: 63.6667px; '><div class='popup-element' data-type='editor' data-element-id='816260' style='padding-top: ;padding-right: ;padding-bottom: ;padding-left: ;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;'><style></style><div class='popupElement-content'><p><span style=\"color:hsl(215,85%,56%);font-size:16px;\"><strong>{date}</strong></span></p></div></div></div><div class='popup-area' data-type='close-container' style='position: absolute; top: -40px; left: 100%; margin-left: -40px; width: 40px; height: 40px; '><div class='popup-element' data-type='button-close' style=''><div class='popupElement-content'><button type=\"close\" data-fancybox-close=\"\" style=\"padding: 10px; width: 38px; height: 38px; background-color: rgba(0, 0, 0, 0); border: 1px solid rgb(255, 255, 255, 0); border-radius: 18px;\"><svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 18 18\" fill=\"#d6d6d6\" style=\"fill: rgb(255, 29, 29);\"><path d=\"M1.8 18L0 16.2L7.2 9L0 1.8L1.8 0L9 7.2L16.2 0L18 1.8L10.8 9L18 16.2L16.2 18L9 10.8L1.8 18Z\"></path></svg></button></div></div></div><input type='hidden' name='popupID' value='590'><input type='hidden' name='projectID' value='47'></noindex>";closeButton = false;} else {html = "<noindex id='SGpopup590' class='popup-wrapper grid-hidden'><div class='popup-area' data-type='area-container' style='position: relative; top: 294px; left: 9px; margin-left: ; width: 321.889px; height: 223.889px; '><div class='popup-element' data-type='input' style='margin-top: 2px;margin-right: 2px;margin-bottom: 2px;margin-left: 2px;'><div class='popupElement-content'><input type=\"text\" placeholder=\"+7 (000) 000-00-00\" data-name=\"Телефон\" data-mask=\"phone\" required=\"\" style=\"background-color: rgb(255, 255, 255); border-color: rgb(228, 228, 228); color: rgb(116, 126, 120); padding: 7px 20px; border-radius: 7px;\"></div></div><div class='popup-element' data-type='input' style='margin-top: 20px;margin-right: 0px;margin-bottom: 3px;margin-left: 0px;'><div class='popupElement-content'><input type=\"text\" placeholder=\"Город\" data-name=\"Город\" style=\"background-color: rgb(255, 255, 255); border-color: rgb(228, 228, 228); color: rgb(116, 126, 120); padding: 7px 20px; border-radius: 7px;\"></div></div><div class='popup-element' data-type='button-submit' style='margin-top: 11px;margin-right: 0px;margin-bottom: 5px;margin-left: 0px;'><div class='popupElement-content'><button style=\"background-color: rgb(235, 87, 87); color: rgb(255, 255, 255); font-size: 20px; padding: 23px 30px; border-radius: 7px;\">Забрать мой подарок</button></div></div><div class='popup-element' data-type='agree' data-element-id='862078' data-fill='#000' style='margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;'><style>#SGpopup590 .popup-element[data-element-id='862078'][data-type='agree'] .popupElement-content input[type='checkbox'] + label:before {border-color: #000;} #SGpopup590 .popup-element[data-element-id='862078'][data-type='agree'] .popupElement-content input[type='checkbox'] + label:after {background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHhtbG5zOnhsaW5rPSdodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rJyB2ZXJzaW9uPScxLjEnIHg9JzBweCcgeT0nMHB4JyB3aWR0aD0nNTEycHgnIGhlaWdodD0nNTEycHgnIHZpZXdCb3g9JzAgMCA0NDIuNTMzIDQ0Mi41MzMnIHN0eWxlPSdlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDQ0Mi41MzMgNDQyLjUzMycgeG1sOnNwYWNlPSdwcmVzZXJ2ZSc+PHBhdGggZD0nTTQzNC41MzksOTguNDk5bC0zOC44MjgtMzguODI4Yy01LjMyNC01LjMyOC0xMS43OTktNy45OTMtMTkuNDEtNy45OTNjLTcuNjE4LDAtMTQuMDkzLDIuNjY1LTE5LjQxNyw3Ljk5M0wxNjkuNTksMjQ3LjI0OCBsLTgzLjkzOS04NC4yMjVjLTUuMzMtNS4zMy0xMS44MDEtNy45OTItMTkuNDEyLTcuOTkyYy03LjYxNiwwLTE0LjA4NywyLjY2Mi0xOS40MTcsNy45OTJMNy45OTQsMjAxLjg1MiAgIEMyLjY2NCwyMDcuMTgxLDAsMjEzLjY1NCwwLDIyMS4yNjljMCw3LjYwOSwyLjY2NCwxNC4wODgsNy45OTQsMTkuNDE2bDEwMy4zNTEsMTAzLjM0OWwzOC44MzEsMzguODI4IGM1LjMyNyw1LjMzMiwxMS44LDcuOTk0LDE5LjQxNCw3Ljk5NGM3LjYxMSwwLDE0LjA4NC0yLjY2OSwxOS40MTQtNy45OTRsMzguODMtMzguODI4TDQzNC41MzksMTM3LjMzIGM1LjMyNS01LjMzLDcuOTk0LTExLjgwMiw3Ljk5NC0xOS40MTdDNDQyLjUzNywxMTAuMzAyLDQzOS44NjQsMTAzLjgyOSw0MzQuNTM5LDk4LjQ5OXonIGZpbGw9JyMwMDAnLz48L3N2Zz4=);}</style><div class='popupElement-content'><input id=\"agree211\" type=\"checkbox\" required=\"\" checked=\"\" tabindex=\"-1\" data-orig-tabindex=\"-1\"><label for=\"agree211\"><p><span style=\"color:hsl(0,0%,60%);font-size:10px;\">Я принимаю условия</span><a href=\"https://1001doc.ru/include/files/privacy-policy.pdf\" target=\"_blank\" rel=\"noopener noreferrer\"><span style=\"color:hsl(0,0%,60%);font-size:10px;\"><u> пользовательского соглашения </u></span></a><span style=\"color:hsl(0,0%,60%);font-size:10px;\">и даю согласие на обработку персональных данных</span></p></label></div></div></div><div class='popup-area' data-type='area-container' style='position: relative; top: -195px; left: 247px; margin-left: ; width: 74.8889px; height: 53.8889px; '><div class='popup-element' data-type='editor' data-element-id='832600' style='padding-top: ;padding-right: ;padding-bottom: ;padding-left: ;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;'><style></style><div class='popupElement-content'><p><span style=\"color:hsl(215,85%,56%);font-size:12px;\"><strong>{date}</strong></span></p></div></div></div><input type='hidden' name='popupID' value='590'><input type='hidden' name='projectID' value='47'></noindex>";closeButton = true;}dateFrom = 1725321600 * 1000;if(dateFrom < Date.now()) {do {dateFrom += 20 * 24 * 60 * 60 * 1000;} while (dateFrom < Date.now());}for (const match of html.matchAll(/{date((\+|\-)([0-9]*))?}/g)) {dateTo = dateFrom;if(typeof match[1] != 'undefined') {dateTo += match[1] * 24 * 60 * 60 * 1000;}dateTo = new Date(dateTo);formatDate = '{day}. {month} ';if(formatDate.indexOf('{day}') != -1) {day = dateTo.getDate();if("number_short" == "number_full") {if(day < 10) {day = '0' + day;}}formatDate = formatDate.replace('{day}', day);}if(formatDate.indexOf('{month}') != -1) {month = dateTo.getMonth() + 1;if("number_full" == "number_full") {if(month < 10) {month = '0' + month;}} else if("number_full" == "text_nominative") {let months = {1: 'январь',2: 'февраль',3: 'март',4: 'апрель',5: 'май',6: 'июнь',7: 'июль',8: 'август',9: 'сентябрь',10: 'октябрь',11: 'ноябрь',12: 'декабрь'};month = months[month];} else if("number_full" == "text_genitive") {let months = {1: 'января',2: 'февраля',3: 'марта',4: 'апреля',5: 'мая',6: 'июня',7: 'июля',8: 'августа',9: 'сентября',10: 'октября',11: 'ноября',12: 'декабря'};month = months[month];}formatDate = formatDate.replace('{month}', month);}if(formatDate.indexOf('{year}') != -1) {year = dateTo.getFullYear();if("number_short" == "number_short") {year = year.toString().substr(-2);}formatDate = formatDate.replace('{year}', year);}html = html.replaceAll(match[0], formatDate);};Fancybox.close();new Fancybox([{src: html,type: 'html'}], {dragToClose: false,closeButton: closeButton,compact: false,autoFocus: false,trapFocus: false,on: {done: (fancybox, slide) => {sgPopup590reachGoal("ym(96577005,'reachGoal','pokaz_up_zahvatchik');");const popup = document.querySelector("#SGpopup590");if(popup) {const url = new URL(location.href);window.utm_source = url.searchParams.get('utm_source');window.utm_medium = url.searchParams.get('utm_medium');window.utm_campaign = url.searchParams.get('utm_campaign');window.utm_term = url.searchParams.get('utm_term');window.utm_content = url.searchParams.get('utm_content');openerLinks = popup.querySelectorAll('a[data-target]');if(openerLinks) {for(let openerLink of openerLinks) {openerLink.addEventListener('click', function(){if(openerLink.dataset.target) {if(typeof window[openerLink.dataset.target] == 'function') {Fancybox.close();window[openerLink.dataset.target]('open');}}});}}linkImages = popup.querySelectorAll('.image-wrapper[data-type="link"]');if(linkImages) {for(let linkImage of linkImages) {linkImage.addEventListener('click', function(){if(linkImage.dataset.link) {if(linkImage.dataset.target == '_blank') {window.open(linkImage.dataset.link);} else {location.href = linkImage.dataset.link}}});}}openerImages = popup.querySelectorAll('.image-wrapper[data-type="opener"]');if(openerImages) {for(let openerImage of openerImages) {openerImage.addEventListener('click', function(){if(openerImage.dataset.popup) {if(typeof window['sgPopup' + openerImage.dataset.popup] == 'function') {Fancybox.close();window['sgPopup' + openerImage.dataset.popup]('forceOpen');}}});}}submitImages = popup.querySelectorAll('.image-wrapper[data-type="submitter"]');if(submitImages) {for(let submitImage of submitImages) {submitImage.addEventListener('click', function(){if(submitImage.classList.contains('disabled')) return false;submitImage.classList.add('disabled');sgPopup590submit(function(result){submitImage.classList.toggle('disabled', result);});});}}const linkButtons = popup.querySelectorAll('button[data-type="link"]');if(linkButtons) {for(let linkButton of linkButtons) {linkButton.addEventListener('click', function(){if(linkButton.dataset.link && linkButton.dataset.link != '#') {if(linkButton.dataset.target == '_blank') {window.open(linkButton.dataset.link);} else {location.href = linkButton.dataset.link}}});}}openerButtons = popup.querySelectorAll('button[data-type="opener"]');if(openerButtons) {for(let openerButton of openerButtons) {openerButton.addEventListener('click', function(){if(openerButton.dataset.popup) {if(typeof window['sgPopup' + openerButton.dataset.popup] == 'function') {Fancybox.close();window['sgPopup' + openerButton.dataset.popup]('forceOpen');}}});}}const maskedFields = popup.querySelectorAll('input[data-mask]');if(maskedFields) {for(let maskedField of maskedFields) {if(maskedField.dataset.mask == 'phone') {Inputmask('+7 (999) 999-99-99', {clearIncomplete: true,greedy: false}).mask(maskedField);} else if(maskedField.dataset.mask == 'email') {Inputmask({alias: 'email',clearIncomplete: true,greedy: false}).mask(maskedField);}}}const fileInputs = popup.querySelectorAll('.popup-element[data-type="input-file"] input[type="file"]');if(fileInputs) {for(let fileInput of fileInputs) {let label = fileInput.nextElementSibling;if(label) {fileInput.addEventListener('change', function() {if (fileInput.files && fileInput.files.length > 0) {const maxSize = fileInput.dataset.limit;if(fileInput.files[0].size <= maxSize * 1024 * 1024) {reader = new FileReader();reader.onload = function(){const span = label.querySelector('span');if(span) {span.innerHTML = fileInput.files[0].name;}fileInput.dataset.content = reader.result;};reader.readAsDataURL(fileInput.files[0]);} else {alert('Превышен максимальный размер файла - '+ maxSize +'мб');}}});label.addEventListener('click', function(event){event.preventDefault();fileInput.click();});}}}const agrees = popup.querySelectorAll('.popup-element[data-type="agree"] input[type="checkbox"]');if(agrees) {for(let agree of agrees) {let label = agree.nextElementSibling;if(label) {label.addEventListener('click', function(event){event.preventDefault();agree.checked = !agree.checked;});const links = label.querySelectorAll('a');if(links) {for(let link of links) {link.addEventListener('click', function(event){event.stopPropagation()});}}}}}const wheel = popup.querySelector('.popup-element[data-type="wheel"]');let wheelInterval;let wheelAngle = 0;if(wheel){const circle = popup.querySelector('.wheel-circle img');if(circle) {wheelInterval = setInterval(function(){wheelAngle += 0.2;if(wheelAngle > 360) {wheelAngle -= 360;}circle.setAttribute('style', 'transform: rotate('+ wheelAngle +'deg)');}, 40);}}const closeTriggers = popup.querySelectorAll('.popup-element[data-type="button-close"] button:not([data-fancybox-close])');if(closeTriggers) {for(let closeTrigger of closeTriggers) {closeTrigger.addEventListener('click', function(){Fancybox.close();})}}function sgPopup590submit(callback = false) {let hasError = false;const requiredInputs = popup.querySelectorAll('input[data-name][required]');if(requiredInputs) {for(let requiredInput of requiredInputs) {if(requiredInput.dataset.mask) {if(requiredInput.dataset.mask == 'phone') {if(!Inputmask.isValid(requiredInput.value, { mask: '+7 (999) 999-99-99'})) {requiredInput.classList.add('error');hasError = true;} else {requiredInput.classList.remove('error');}} else if(requiredInput.dataset.mask == 'phone_intl' && typeof window.sgPopup.elements.intl != 'undefined') {intl = window.sgPopup.elements.intl;if(!intl.isValidNumberPrecise()) {requiredInput.classList.add('error');hasError = true;} else {requiredInput.classList.remove('error');}} else if(requiredInput.dataset.mask == 'email') {if(!Inputmask.isValid(requiredInput.value, {alias: 'email'})) {requiredInput.classList.add('error');hasError = true;} else {requiredInput.classList.remove('error');}}} else {if(requiredInput.value == '') {requiredInput.classList.add('error');hasError = true;} else {requiredInput.classList.remove('error');}}}}const requiredTextareas = popup.querySelectorAll('textarea[data-name][required]');if(requiredTextareas) {for(let requiredTextarea of requiredTextareas) {if(requiredTextarea.value == '') {requiredTextarea.classList.add('error');hasError = true;} else {requiredTextarea.classList.remove('error');}}}const requiredSelects = popup.querySelectorAll('select[data-name][required]');if(requiredSelects) {for(let requiredSelect of requiredSelects) {const niceSelect = requiredSelect.nextElementSibling;if(niceSelect) {if(niceSelect.querySelector('.option.selected')) {niceSelect.classList.remove('error')} else {niceSelect.classList.add('error');hasError = true}}}}if(agrees) {for(let agree of agrees) {if(agree.required) {let label = agree.nextElementSibling;if(agree.checked) {label.classList.remove('error');} else {label.classList.add('error');hasError = true;}}}}if(hasError) {if (callback && typeof callback === 'function') {callback(false);}return false;}function sgPopup590sendRequest() {let data = {fields: [],cookie: document.cookie,source: location.href};const inputs = popup.querySelectorAll('input[data-name]');if(inputs) {for(let input of inputs) {if(input.dataset.mask == 'phone_intl' && typeof window.sgPopup.elements.intl != 'undefined') {intl = window.sgPopup.elements.intl;data.fields.push({name: input.dataset.name,value: intl.getNumber()});} else {data.fields.push({name: input.dataset.name,value: input.value});}}}const textareas = popup.querySelectorAll('textarea[data-name]');if(textareas) {for(let textarea of textareas) {data.fields.push({name: textarea.dataset.name,value: textarea.value});}}if(typeof selects != 'undefined') {for(let select of selects) {data.fields.push({name: select.dataset.name,value: select.value});}}const hiddenInputs = popup.querySelectorAll('input[type="hidden"]');for(let hiddenInput of hiddenInputs) {const name = hiddenInput.name;data[hiddenInput.name] = hiddenInput.value;}const fileInputs = popup.querySelectorAll('.popup-element[data-type="input-file"] input[type="file"]');if(fileInputs) {data.files = [];for(let fileInput of fileInputs) {if (fileInput.files && fileInput.files.length > 0) {data.files.push({'name': fileInput.files[0].name,'content': fileInput.dataset.content});}}}if( wheel && typeof window.prize != 'undefined' ) {data.fields.push(window.prize);}var xmlhr = new XMLHttpRequest();xmlhr.open('POST', "https://1001doc.ru/bitrix/services/main/ajax.php?action=generator:conversion.api.ajax.formSubmit");xmlhr.send(JSON.stringify(data));xmlhr.onreadystatechange = function() {if (xmlhr.readyState === 4 && xmlhr.status === 200) {console.log(xmlhr.response);const response = JSON.parse(xmlhr.response);console.log(response);}};sgPopup590reachGoal("ym(96577005,'reachGoal','lead_zahvatchik');");sgSuccessPopup590();return true;}if(wheel){const circle = popup.querySelector('.wheel-circle img');if(circle) {clearInterval(wheelInterval);}} else {const result = sgPopup590sendRequest();if (callback && typeof callback === 'function') {callback(result);}}}areaLinks = popup.querySelectorAll('.popup-area[data-type="area-link"]');if(areaLinks) {for(let areaLink of areaLinks) {areaLink.addEventListener('click', function(){if(areaLink.dataset.link && areaLink.dataset.link != '#') {if(areaLink.dataset.target == '_blank') {window.open(areaLink.dataset.link);} else {location.href = areaLink.dataset.link}}});}}areaOpeners = popup.querySelectorAll('.popup-area[data-type="area-opener"]');if(areaOpeners) {for(let areaOpener of areaOpeners) {areaOpener.addEventListener('click', function(){if(areaOpener.dataset.popup) {if(typeof window['sgPopup' + areaOpener.dataset.popup] == 'function') {Fancybox.close();window['sgPopup' + areaOpener.dataset.popup]('forceOpen');}}});}}const submitButton = popup.querySelector(".popup-element[data-type='button-submit'] button");if(submitButton) {submitButton.addEventListener('click', function(event){event.preventDefault();submitButton.disabled = true;sgPopup590submit(function(result){submitButton.disabled = result;});})}}},close: () => {window.sgPopup.opened = false;window.sgPopup.shown.push(590);if(window.sgPopup.queue.length) {setTimeout(function(){let popupID = window.sgPopup.queue.shift();window['sgPopup' + popupID]('forceOpen');}, 30000);}},}});}}}function sgSuccessPopup590() {let html;let closeButton;if(window.innerWidth >= 1040) {html = "<noindex id='SGsuccess590' class='popup-wrapper grid-hidden'><div class='success-area' data-type='area-container' style='position: absolute; top: 120px; left: 40px; width: 370px; height: 180px; '><div class='success-element' data-type='editor' style='margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; '><div class='successElement-content'><p style='text-align: center'><span style='font-size: 30px'>Спасибо, ваша скидка закреплена! Наш менедежер свяжется с вами для уточнения деталей!</span></p></div></div></div><div class='success-area' data-type='close-container' style='position: absolute; top: -40px; left: 450px; margin-left: -40px; width: 40px; height: 40px; '><div class='success-element' data-type='button-close' style='margin-top: 0px; margin-left: 0px; '><div class='successElement-content'><button type='close' data-fancybox-close style='padding: 10px; width: 40px; height: 40px; background-color: rgba(0, 0, 0, 0); border: 1px solid rgb(255, 255, 255, 0); border-radius: 18px'><svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18' style='fill: rgb(235, 41, 41)'><path d='M1.8 18L0 16.2L7.2 9L0 1.8L1.8 0L9 7.2L16.2 0L18 1.8L10.8 9L18 16.2L16.2 18L9 10.8L1.8 18Z'></path></svg></button></div></div></div></noindex>";closeButton = false;} else {html = "<noindex id='SGsuccess590' class='popup-wrapper grid-hidden'><div class='success-area' data-type='area-container' style='position: absolute; top: 75px; left: 20px; width: 260px; height: 135px; '><div class='success-element' data-type='editor' style='margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; '><div class='successElement-content'><p style='text-align: center'><span style='font-size: 22px'>Спасибо, ваша скидка закреплена! Наш менедежер свяжется с вами для уточнения деталей!</span></p></div></div></div><div class='success-area' data-type='close-container' style='position: absolute; top: -30px; left: 300px; margin-left: -30px; width: 30px; height: 30px; '><div class='success-element' data-type='button-close' style='margin-top: 0px; margin-left: 0px; '><div class='successElement-content'><button type='close' data-fancybox-close style='padding: 7px; width: 30px; height: 30px; background-color: rgba(0, 0, 0, 0); border: 1px solid rgb(255, 255, 255, 0); border-radius: 18px'><svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18' style='fill: rgb(235, 41, 41)'><path d='M1.8 18L0 16.2L7.2 9L0 1.8L1.8 0L9 7.2L16.2 0L18 1.8L10.8 9L18 16.2L16.2 18L9 10.8L1.8 18Z'></path></svg></button></div></div></div></noindex>";closeButton = false;}Fancybox.close();new Fancybox([{src: html,type: 'html'}], {dragToClose: false,closeButton: closeButton,autoFocus: false,trapFocus: false,on: {done: (fancybox, slide) => {const success = document.querySelector("#SGsuccess590");if(success) {buttonLinks = success.querySelectorAll('button[data-type="link"]');if(buttonLinks) {for(let buttonLink of buttonLinks) {buttonLink.addEventListener('click', function(){if(buttonLink.dataset.link) {if(buttonLink.dataset.target == '_blank') {window.open(buttonLink.dataset.link);} else {location.href = buttonLink.dataset.link}}});}}}setTimeout(function(){Fancybox.close();}, 3000);},close: () => {window.sgPopup.opened = false;}}});}</script><script>if(typeof window.sgPopup == 'undefined') {window.sgPopup = {opened: false,queue: [],shown: [],elements: {}};}addEventListener('DOMContentLoaded', () => {document.body.addEventListener('click', function(event){if(event.target.dataset.target == "sgPopup595"|| event.target.closest('[data-target="sgPopup595"]')) {Fancybox.close();sgPopup595('forceOpen');}});sgPopup595autoOpen();});function sgPopup595autoOpen() {}if(typeof getCookie == 'undefined') {function getCookie(name) {var v = document.cookie.match('(^|;) ?' + name + '=([^;]*)(;|$)');return v ? v[2] : null;}}if(typeof window.visitCounter == 'undefined') {if( getCookie('sgConversionVisitCounter') ) {window.visitCounter = getCookie('sgConversionVisitCounter');} else {window.visitCounter = 0;}window.visitCounter++;limit = 60 * 60 * 24 * 365;document.cookie = 'sgConversionVisitCounter='+ window.visitCounter +'; max-age='+ limit +'; path=/';}function sgPopup595reachGoal(code) {function executeGoal(params) {if(typeof params == 'object') {eval('ym('+ params.join(',') +');');let data = {'goal': params[2],timestamp: new Date().toISOString()};var xmlhr = new XMLHttpRequest();xmlhr.open('POST', "https://1001doc.ru/bitrix/services/main/ajax.php?action=generator:conversion.api.ajax.goalLog");xmlhr.send(JSON.stringify(data));xmlhr.onreadystatechange = function() {if (xmlhr.readyState === 4 && xmlhr.status === 200) {const params = new URLSearchParams(window.location.search);if( params.get('debug') ) {const response = JSON.parse(xmlhr.response);console.log(response);}}}}}const goals = code.split(';');if(goals) {for(let goal of goals) {goal = goal.trim();if(goal != '') {const regexp = /ym(.*)/;if( regexp.test(goal) ) {goal = goal.replace('ym(', '');goal = goal.replace(')', '');const params = goal.split(',');if(params) {if (typeof window.ym != 'undefined') {executeGoal(params);} else {if(typeof window.popup595goals == 'undefined') {window.popup595goals = [];}window.popup595goals.push({'metrika': params[0],'action': params[1],'id': params[2]});if(typeof popup595interval == 'undefined') {popup595interval = setInterval(function(){if (typeof window.ym != 'undefined') {for(let goal of window.popup595goals) {executeGoal(params);}window.popup595goals = [];clearInterval(popup595interval);}}, 1000);}}}} else {eval(goal);}}}}}function sgPopup595(action = false) {if(!action) return;if( ['open', 'forceOpen'].includes(action) ) {if(action == 'open' && window.sgPopup.shown.includes(595)) {return false;}if(window.sgPopup.opened) {if(window.sgPopup.opened != 595) {window.sgPopup.queue.push(595);}} else {window.sgPopup.opened = 595;let html;let closeButton;if(window.innerWidth >= 1040) {html = "<noindex id='SGpopup595' class='popup-wrapper grid-hidden'><div class='popup-area' data-type='area-container' style='position: relative; top: 322px; left: 27px; margin-left: ; width: 465.5px; height: 186px; '><div class='popup-element' data-type='input' style='margin-top: 2px;margin-right: 2px;margin-bottom: 8px;margin-left: 2px;'><div class='popupElement-content'><input type=\"text\" placeholder=\"+7 (000) 000-00-00\" data-name=\"Телефон\" data-mask=\"phone\" required=\"\" style=\"background-color: rgb(255, 255, 255); border-color: rgb(228, 228, 228); color: rgb(116, 126, 120); border-radius: 7px; padding: 10px 20px;\"></div></div><div class='popup-element' data-type='button-submit' style='margin-top: 10px;margin-right: 15px;margin-bottom: 3px;margin-left: 0px;'><div class='popupElement-content'><button type=\"submit\" style=\"background-color: rgba(119, 30, 30, 0); color: rgb(255, 255, 255); font-size: 20px; border-radius: 7px; padding: 40px 31px 35px 5px;\"></button></div></div><div class='popup-element' data-type='agree' data-element-id='673869' data-fill='#000' style='margin-top: 4px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;'><style>#SGpopup595 .popup-element[data-element-id='673869'][data-type='agree'] .popupElement-content input[type='checkbox'] + label:before {border-color: #000;} #SGpopup595 .popup-element[data-element-id='673869'][data-type='agree'] .popupElement-content input[type='checkbox'] + label:after {background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHhtbG5zOnhsaW5rPSdodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rJyB2ZXJzaW9uPScxLjEnIHg9JzBweCcgeT0nMHB4JyB3aWR0aD0nNTEycHgnIGhlaWdodD0nNTEycHgnIHZpZXdCb3g9JzAgMCA0NDIuNTMzIDQ0Mi41MzMnIHN0eWxlPSdlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDQ0Mi41MzMgNDQyLjUzMycgeG1sOnNwYWNlPSdwcmVzZXJ2ZSc+PHBhdGggZD0nTTQzNC41MzksOTguNDk5bC0zOC44MjgtMzguODI4Yy01LjMyNC01LjMyOC0xMS43OTktNy45OTMtMTkuNDEtNy45OTNjLTcuNjE4LDAtMTQuMDkzLDIuNjY1LTE5LjQxNyw3Ljk5M0wxNjkuNTksMjQ3LjI0OCBsLTgzLjkzOS04NC4yMjVjLTUuMzMtNS4zMy0xMS44MDEtNy45OTItMTkuNDEyLTcuOTkyYy03LjYxNiwwLTE0LjA4NywyLjY2Mi0xOS40MTcsNy45OTJMNy45OTQsMjAxLjg1MiAgIEMyLjY2NCwyMDcuMTgxLDAsMjEzLjY1NCwwLDIyMS4yNjljMCw3LjYwOSwyLjY2NCwxNC4wODgsNy45OTQsMTkuNDE2bDEwMy4zNTEsMTAzLjM0OWwzOC44MzEsMzguODI4IGM1LjMyNyw1LjMzMiwxMS44LDcuOTk0LDE5LjQxNCw3Ljk5NGM3LjYxMSwwLDE0LjA4NC0yLjY2OSwxOS40MTQtNy45OTRsMzguODMtMzguODI4TDQzNC41MzksMTM3LjMzIGM1LjMyNS01LjMzLDcuOTk0LTExLjgwMiw3Ljk5NC0xOS40MTdDNDQyLjUzNywxMTAuMzAyLDQzOS44NjQsMTAzLjgyOSw0MzQuNTM5LDk4LjQ5OXonIGZpbGw9JyMwMDAnLz48L3N2Zz4=);}</style><div class='popupElement-content'><input id=\"agree338_oJyle\" type=\"checkbox\" required checked=\"\" tabindex=\"-1\" data-orig-tabindex=\"-1\"><label for=\"agree338_oJyle\"><p><span style=\"color:hsl(0,0%,60%);font-size:9px;\">Я принимаю условия</span><a href=\"https://1001doc.ru/include/files/privacy-policy.pdf\" target=\"_blank\" rel=\"noopener noreferrer\"><span style=\"color:hsl(0,0%,60%);font-size:9px;\"><u> пользовательского соглашения</u> </span></a><span style=\"color:hsl(0,0%,60%);font-size:9px;\">и даю согласие на обработку персональных данных</span></p></label></div></div></div><div class='popup-area' data-type='area-container' style='position: relative; top: -141px; left: 847px; margin-left: ; width: 75.5px; height: 44.5px; '><div class='popup-element' data-type='editor' data-element-id='503751' style='margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;'><style></style><div class='popupElement-content'><p><span style=\"color:hsl(215,84%,55%);font-size:14px;\"><strong>{date}</strong></span></p></div></div></div><div class='popup-area' data-type='close-container' style='position: absolute; top: -40px; left: 100%; margin-left: -40px; width: 40px; height: 40px; '><div class='popup-element' data-type='button-close' style=''><div class='popupElement-content'><button type=\"close\" data-fancybox-close=\"\" style=\"padding: 10px; width: 38px; height: 38px; background-color: rgba(0, 0, 0, 0); border: 1px solid rgb(255, 255, 255, 0); border-radius: 18px;\"><svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 18 18\" fill=\"#d6d6d6\" style=\"fill: rgb(255, 4, 4);\"><path d=\"M1.8 18L0 16.2L7.2 9L0 1.8L1.8 0L9 7.2L16.2 0L18 1.8L10.8 9L18 16.2L16.2 18L9 10.8L1.8 18Z\"></path></svg></button></div></div></div><input type='hidden' name='popupID' value='595'><input type='hidden' name='projectID' value='47'></noindex>";closeButton = false;} else {html = "<noindex id='SGpopup595' class='popup-wrapper grid-hidden'><div class='popup-area' data-type='area-container' style='position: relative; top: 267px; left: 8px; margin-left: ; width: 332.667px; height: 179px; '><div class='popup-element' data-type='input' style='margin-top: 0px;margin-right: 2px;margin-bottom: 3px;margin-left: 2px;'><div class='popupElement-content'><input type=\"text\" placeholder=\"+7 (000) 000 00-00\" data-name=\"Телефон\" data-mask=\"phone\" required=\"\" style=\"background-color: rgb(255, 255, 255); border-color: rgb(228, 228, 228); color: rgb(116, 126, 120); border-radius: 7px; padding: 10px 20px;\"></div></div><div class='popup-element' data-type='button-submit' style='margin-top: 6px;margin-right: 15px;margin-bottom: 6px;margin-left: 0px;'><div class='popupElement-content'><button type=\"submit\" style=\"background-color: rgba(51, 15, 15, 0); color: rgb(255, 255, 255); font-size: 20px; border-radius: 7px; padding: 30px 31px 30px 0px;\"></button></div></div><div class='popup-element' data-type='agree' data-element-id='911543' data-fill='#000' style='margin-top: 5px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;'><style>#SGpopup595 .popup-element[data-element-id='911543'][data-type='agree'] .popupElement-content input[type='checkbox'] + label:before {border-color: #000;} #SGpopup595 .popup-element[data-element-id='911543'][data-type='agree'] .popupElement-content input[type='checkbox'] + label:after {background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHhtbG5zOnhsaW5rPSdodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rJyB2ZXJzaW9uPScxLjEnIHg9JzBweCcgeT0nMHB4JyB3aWR0aD0nNTEycHgnIGhlaWdodD0nNTEycHgnIHZpZXdCb3g9JzAgMCA0NDIuNTMzIDQ0Mi41MzMnIHN0eWxlPSdlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDQ0Mi41MzMgNDQyLjUzMycgeG1sOnNwYWNlPSdwcmVzZXJ2ZSc+PHBhdGggZD0nTTQzNC41MzksOTguNDk5bC0zOC44MjgtMzguODI4Yy01LjMyNC01LjMyOC0xMS43OTktNy45OTMtMTkuNDEtNy45OTNjLTcuNjE4LDAtMTQuMDkzLDIuNjY1LTE5LjQxNyw3Ljk5M0wxNjkuNTksMjQ3LjI0OCBsLTgzLjkzOS04NC4yMjVjLTUuMzMtNS4zMy0xMS44MDEtNy45OTItMTkuNDEyLTcuOTkyYy03LjYxNiwwLTE0LjA4NywyLjY2Mi0xOS40MTcsNy45OTJMNy45OTQsMjAxLjg1MiAgIEMyLjY2NCwyMDcuMTgxLDAsMjEzLjY1NCwwLDIyMS4yNjljMCw3LjYwOSwyLjY2NCwxNC4wODgsNy45OTQsMTkuNDE2bDEwMy4zNTEsMTAzLjM0OWwzOC44MzEsMzguODI4IGM1LjMyNyw1LjMzMiwxMS44LDcuOTk0LDE5LjQxNCw3Ljk5NGM3LjYxMSwwLDE0LjA4NC0yLjY2OSwxOS40MTQtNy45OTRsMzguODMtMzguODI4TDQzNC41MzksMTM3LjMzIGM1LjMyNS01LjMzLDcuOTk0LTExLjgwMiw3Ljk5NC0xOS40MTdDNDQyLjUzNywxMTAuMzAyLDQzOS44NjQsMTAzLjgyOSw0MzQuNTM5LDk4LjQ5OXonIGZpbGw9JyMwMDAnLz48L3N2Zz4=);}</style><div class='popupElement-content'><input id=\"agree_^-Z7!\" type=\"checkbox\" required checked=\"\" tabindex=\"-1\" data-orig-tabindex=\"-1\"><label for=\"agree_^-Z7!\"><h3><span style=\"background-color:hsl(0, 0%, 100%);color:hsl(0,0%,60%);font-size:9px;\">Я принимаю условия</span><a href=\"https://1001doc.ru/include/files/privacy-policy.pdf\" target=\"_blank\" rel=\"noopener noreferrer\"><span style=\"background-color:hsl(0, 0%, 100%);color:hsl(0,0%,60%);font-size:9px;\"> <u>пользовательского соглашения </u></span></a><span style=\"background-color:hsl(0, 0%, 100%);color:hsl(0,0%,60%);font-size:9px;\">и даю согласие на обработку персональных данных</span></h3></label></div></div></div><div class='popup-area' data-type='area-container' style='position: relative; top: -155px; left: 220px; margin-left: ; width: 75.5px; height: 44.5px; '><div class='popup-element' data-type='editor' data-element-id='520766' style='margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;'><style></style><div class='popupElement-content'><p><span style=\"color:hsl(215,84%,55%);font-size:14px;\">{date}</span></p></div></div></div><div class='popup-area' data-type='close-container' style='position: absolute; top: -40px; left: 100%; margin-left: -40px; width: 40px; height: 40px; '></div><div class='popup-area' data-type='area-container' style='position: relative; top: -223.008px; left: 318px; margin-left: ; width: 31.5px; height: 41.5px; '><div class='popup-element' data-type='button-close' style=''><div class='popupElement-content'><button type=\"close\" data-fancybox-close=\"\" style=\"padding: 10px; width: 38px; height: 38px; background-color: rgba(0, 0, 0, 0); border: 1px solid rgb(255, 255, 255, 0); border-radius: 18px;\"><svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 18 18\" fill=\"#d6d6d6\" style=\"fill: rgb(255, 21, 21);\"><path d=\"M1.8 18L0 16.2L7.2 9L0 1.8L1.8 0L9 7.2L16.2 0L18 1.8L10.8 9L18 16.2L16.2 18L9 10.8L1.8 18Z\"></path></svg></button></div></div></div><input type='hidden' name='popupID' value='595'><input type='hidden' name='projectID' value='47'></noindex>";closeButton = false;}dateFrom = 1672531200 * 1000;if(dateFrom < Date.now()) {do {dateFrom += 15 * 24 * 60 * 60 * 1000;} while (dateFrom < Date.now());}for (const match of html.matchAll(/{date((\+|\-)([0-9]*))?}/g)) {dateTo = dateFrom;if(typeof match[1] != 'undefined') {dateTo += match[1] * 24 * 60 * 60 * 1000;}dateTo = new Date(dateTo);formatDate = '{day}.{month}';if(formatDate.indexOf('{day}') != -1) {day = dateTo.getDate();if("number_short" == "number_full") {if(day < 10) {day = '0' + day;}}formatDate = formatDate.replace('{day}', day);}if(formatDate.indexOf('{month}') != -1) {month = dateTo.getMonth() + 1;if("number_full" == "number_full") {if(month < 10) {month = '0' + month;}} else if("number_full" == "text_nominative") {let months = {1: 'январь',2: 'февраль',3: 'март',4: 'апрель',5: 'май',6: 'июнь',7: 'июль',8: 'август',9: 'сентябрь',10: 'октябрь',11: 'ноябрь',12: 'декабрь'};month = months[month];} else if("number_full" == "text_genitive") {let months = {1: 'января',2: 'февраля',3: 'марта',4: 'апреля',5: 'мая',6: 'июня',7: 'июля',8: 'августа',9: 'сентября',10: 'октября',11: 'ноября',12: 'декабря'};month = months[month];}formatDate = formatDate.replace('{month}', month);}if(formatDate.indexOf('{year}') != -1) {year = dateTo.getFullYear();if("number_short" == "number_short") {year = year.toString().substr(-2);}formatDate = formatDate.replace('{year}', year);}html = html.replaceAll(match[0], formatDate);};Fancybox.close();new Fancybox([{src: html,type: 'html'}], {dragToClose: false,closeButton: closeButton,compact: false,autoFocus: false,trapFocus: false,on: {done: (fancybox, slide) => {sgPopup595reachGoal("ym(96577005,'reachGoal','pokaz_up_dok_oglavlenie1');");const popup = document.querySelector("#SGpopup595");if(popup) {const url = new URL(location.href);window.utm_source = url.searchParams.get('utm_source');window.utm_medium = url.searchParams.get('utm_medium');window.utm_campaign = url.searchParams.get('utm_campaign');window.utm_term = url.searchParams.get('utm_term');window.utm_content = url.searchParams.get('utm_content');openerLinks = popup.querySelectorAll('a[data-target]');if(openerLinks) {for(let openerLink of openerLinks) {openerLink.addEventListener('click', function(){if(openerLink.dataset.target) {if(typeof window[openerLink.dataset.target] == 'function') {Fancybox.close();window[openerLink.dataset.target]('open');}}});}}linkImages = popup.querySelectorAll('.image-wrapper[data-type="link"]');if(linkImages) {for(let linkImage of linkImages) {linkImage.addEventListener('click', function(){if(linkImage.dataset.link) {if(linkImage.dataset.target == '_blank') {window.open(linkImage.dataset.link);} else {location.href = linkImage.dataset.link}}});}}openerImages = popup.querySelectorAll('.image-wrapper[data-type="opener"]');if(openerImages) {for(let openerImage of openerImages) {openerImage.addEventListener('click', function(){if(openerImage.dataset.popup) {if(typeof window['sgPopup' + openerImage.dataset.popup] == 'function') {Fancybox.close();window['sgPopup' + openerImage.dataset.popup]('forceOpen');}}});}}submitImages = popup.querySelectorAll('.image-wrapper[data-type="submitter"]');if(submitImages) {for(let submitImage of submitImages) {submitImage.addEventListener('click', function(){if(submitImage.classList.contains('disabled')) return false;submitImage.classList.add('disabled');sgPopup595submit(function(result){submitImage.classList.toggle('disabled', result);});});}}const linkButtons = popup.querySelectorAll('button[data-type="link"]');if(linkButtons) {for(let linkButton of linkButtons) {linkButton.addEventListener('click', function(){if(linkButton.dataset.link && linkButton.dataset.link != '#') {if(linkButton.dataset.target == '_blank') {window.open(linkButton.dataset.link);} else {location.href = linkButton.dataset.link}}});}}openerButtons = popup.querySelectorAll('button[data-type="opener"]');if(openerButtons) {for(let openerButton of openerButtons) {openerButton.addEventListener('click', function(){if(openerButton.dataset.popup) {if(typeof window['sgPopup' + openerButton.dataset.popup] == 'function') {Fancybox.close();window['sgPopup' + openerButton.dataset.popup]('forceOpen');}}});}}const maskedFields = popup.querySelectorAll('input[data-mask]');if(maskedFields) {for(let maskedField of maskedFields) {if(maskedField.dataset.mask == 'phone') {Inputmask('+7 (999) 999-99-99', {clearIncomplete: true,greedy: false}).mask(maskedField);} else if(maskedField.dataset.mask == 'email') {Inputmask({alias: 'email',clearIncomplete: true,greedy: false}).mask(maskedField);}}}const fileInputs = popup.querySelectorAll('.popup-element[data-type="input-file"] input[type="file"]');if(fileInputs) {for(let fileInput of fileInputs) {let label = fileInput.nextElementSibling;if(label) {fileInput.addEventListener('change', function() {if (fileInput.files && fileInput.files.length > 0) {const maxSize = fileInput.dataset.limit;if(fileInput.files[0].size <= maxSize * 1024 * 1024) {reader = new FileReader();reader.onload = function(){const span = label.querySelector('span');if(span) {span.innerHTML = fileInput.files[0].name;}fileInput.dataset.content = reader.result;};reader.readAsDataURL(fileInput.files[0]);} else {alert('Превышен максимальный размер файла - '+ maxSize +'мб');}}});label.addEventListener('click', function(event){event.preventDefault();fileInput.click();});}}}const agrees = popup.querySelectorAll('.popup-element[data-type="agree"] input[type="checkbox"]');if(agrees) {for(let agree of agrees) {let label = agree.nextElementSibling;if(label) {label.addEventListener('click', function(event){event.preventDefault();agree.checked = !agree.checked;});const links = label.querySelectorAll('a');if(links) {for(let link of links) {link.addEventListener('click', function(event){event.stopPropagation()});}}}}}const wheel = popup.querySelector('.popup-element[data-type="wheel"]');let wheelInterval;let wheelAngle = 0;if(wheel){const circle = popup.querySelector('.wheel-circle img');if(circle) {wheelInterval = setInterval(function(){wheelAngle += 0.2;if(wheelAngle > 360) {wheelAngle -= 360;}circle.setAttribute('style', 'transform: rotate('+ wheelAngle +'deg)');}, 40);}}const closeTriggers = popup.querySelectorAll('.popup-element[data-type="button-close"] button:not([data-fancybox-close])');if(closeTriggers) {for(let closeTrigger of closeTriggers) {closeTrigger.addEventListener('click', function(){Fancybox.close();})}}function sgPopup595submit(callback = false) {let hasError = false;const requiredInputs = popup.querySelectorAll('input[data-name][required]');if(requiredInputs) {for(let requiredInput of requiredInputs) {if(requiredInput.dataset.mask) {if(requiredInput.dataset.mask == 'phone') {if(!Inputmask.isValid(requiredInput.value, { mask: '+7 (999) 999-99-99'})) {requiredInput.classList.add('error');hasError = true;} else {requiredInput.classList.remove('error');}} else if(requiredInput.dataset.mask == 'phone_intl' && typeof window.sgPopup.elements.intl != 'undefined') {intl = window.sgPopup.elements.intl;if(!intl.isValidNumberPrecise()) {requiredInput.classList.add('error');hasError = true;} else {requiredInput.classList.remove('error');}} else if(requiredInput.dataset.mask == 'email') {if(!Inputmask.isValid(requiredInput.value, {alias: 'email'})) {requiredInput.classList.add('error');hasError = true;} else {requiredInput.classList.remove('error');}}} else {if(requiredInput.value == '') {requiredInput.classList.add('error');hasError = true;} else {requiredInput.classList.remove('error');}}}}const requiredTextareas = popup.querySelectorAll('textarea[data-name][required]');if(requiredTextareas) {for(let requiredTextarea of requiredTextareas) {if(requiredTextarea.value == '') {requiredTextarea.classList.add('error');hasError = true;} else {requiredTextarea.classList.remove('error');}}}const requiredSelects = popup.querySelectorAll('select[data-name][required]');if(requiredSelects) {for(let requiredSelect of requiredSelects) {const niceSelect = requiredSelect.nextElementSibling;if(niceSelect) {if(niceSelect.querySelector('.option.selected')) {niceSelect.classList.remove('error')} else {niceSelect.classList.add('error');hasError = true}}}}if(agrees) {for(let agree of agrees) {if(agree.required) {let label = agree.nextElementSibling;if(agree.checked) {label.classList.remove('error');} else {label.classList.add('error');hasError = true;}}}}if(hasError) {if (callback && typeof callback === 'function') {callback(false);}return false;}function sgPopup595sendRequest() {let data = {fields: [],cookie: document.cookie,source: location.href};const inputs = popup.querySelectorAll('input[data-name]');if(inputs) {for(let input of inputs) {if(input.dataset.mask == 'phone_intl' && typeof window.sgPopup.elements.intl != 'undefined') {intl = window.sgPopup.elements.intl;data.fields.push({name: input.dataset.name,value: intl.getNumber()});} else {data.fields.push({name: input.dataset.name,value: input.value});}}}const textareas = popup.querySelectorAll('textarea[data-name]');if(textareas) {for(let textarea of textareas) {data.fields.push({name: textarea.dataset.name,value: textarea.value});}}if(typeof selects != 'undefined') {for(let select of selects) {data.fields.push({name: select.dataset.name,value: select.value});}}const hiddenInputs = popup.querySelectorAll('input[type="hidden"]');for(let hiddenInput of hiddenInputs) {const name = hiddenInput.name;data[hiddenInput.name] = hiddenInput.value;}const fileInputs = popup.querySelectorAll('.popup-element[data-type="input-file"] input[type="file"]');if(fileInputs) {data.files = [];for(let fileInput of fileInputs) {if (fileInput.files && fileInput.files.length > 0) {data.files.push({'name': fileInput.files[0].name,'content': fileInput.dataset.content});}}}if( wheel && typeof window.prize != 'undefined' ) {data.fields.push(window.prize);}var xmlhr = new XMLHttpRequest();xmlhr.open('POST', "https://1001doc.ru/bitrix/services/main/ajax.php?action=generator:conversion.api.ajax.formSubmit");xmlhr.send(JSON.stringify(data));xmlhr.onreadystatechange = function() {if (xmlhr.readyState === 4 && xmlhr.status === 200) {console.log(xmlhr.response);const response = JSON.parse(xmlhr.response);console.log(response);}};sgPopup595reachGoal("ym(96577005,'reachGoal','lead_up_dok_oglavlenie1');");sgSuccessPopup595();let redirect = {url: 'https://1001doc.ru/upload/popup_189_attachment.pdf',newtab: '1',timeout: '3000'};if( typeof redirect != 'undefined' ) {sgSuccessRedirect595(redirect);}return true;}if(wheel){const circle = popup.querySelector('.wheel-circle img');if(circle) {clearInterval(wheelInterval);}} else {const result = sgPopup595sendRequest();if (callback && typeof callback === 'function') {callback(result);}}}areaLinks = popup.querySelectorAll('.popup-area[data-type="area-link"]');if(areaLinks) {for(let areaLink of areaLinks) {areaLink.addEventListener('click', function(){if(areaLink.dataset.link && areaLink.dataset.link != '#') {if(areaLink.dataset.target == '_blank') {window.open(areaLink.dataset.link);} else {location.href = areaLink.dataset.link}}});}}areaOpeners = popup.querySelectorAll('.popup-area[data-type="area-opener"]');if(areaOpeners) {for(let areaOpener of areaOpeners) {areaOpener.addEventListener('click', function(){if(areaOpener.dataset.popup) {if(typeof window['sgPopup' + areaOpener.dataset.popup] == 'function') {Fancybox.close();window['sgPopup' + areaOpener.dataset.popup]('forceOpen');}}});}}const submitButton = popup.querySelector(".popup-element[data-type='button-submit'] button");if(submitButton) {submitButton.addEventListener('click', function(event){event.preventDefault();submitButton.disabled = true;sgPopup595submit(function(result){submitButton.disabled = result;});})}}},close: () => {window.sgPopup.opened = false;window.sgPopup.shown.push(595);if(window.sgPopup.queue.length) {setTimeout(function(){let popupID = window.sgPopup.queue.shift();window['sgPopup' + popupID]('forceOpen');}, 30000);}},}});}}}function sgSuccessPopup595() {let html;let closeButton;if(window.innerWidth >= 1040) {html = "<noindex id='SGsuccess595' class='popup-wrapper grid-hidden'><div class='success-area' data-type='area-container' style='position: absolute; top: 120px; left: 40px; width: 370px; height: 180px; '><div class='success-element' data-type='editor' style='margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; '><div class='successElement-content'><p style='text-align: center'><span style='font-size: 30px'>Спасибо, материалы отправлены вам!</span></p></div></div></div><div class='success-area' data-type='close-container' style='position: absolute; top: -40px; left: 450px; margin-left: -40px; width: 40px; height: 40px; '><div class='success-element' data-type='button-close' style='margin-top: 0px; margin-left: 0px; '><div class='successElement-content'><button type='close' data-fancybox-close style='padding: 10px; width: 40px; height: 40px; background-color: rgba(0, 0, 0, 0); border: 1px solid rgb(255, 255, 255, 0); border-radius: 18px'><svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18' style='fill: rgb(235, 41, 41)'><path d='M1.8 18L0 16.2L7.2 9L0 1.8L1.8 0L9 7.2L16.2 0L18 1.8L10.8 9L18 16.2L16.2 18L9 10.8L1.8 18Z'></path></svg></button></div></div></div></noindex>";closeButton = false;} else {html = "<noindex id='SGsuccess595' class='popup-wrapper grid-hidden'><div class='success-area' data-type='area-container' style='position: absolute; top: 75px; left: 20px; width: 260px; height: 135px; '><div class='success-element' data-type='editor' style='margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; '><div class='successElement-content'><p style='text-align: center'><span style='font-size: 22px'>Спасибо, материалы отправлены вам!</span></p></div></div></div><div class='success-area' data-type='close-container' style='position: absolute; top: -30px; left: 300px; margin-left: -30px; width: 30px; height: 30px; '><div class='success-element' data-type='button-close' style='margin-top: 0px; margin-left: 0px; '><div class='successElement-content'><button type='close' data-fancybox-close style='padding: 7px; width: 30px; height: 30px; background-color: rgba(0, 0, 0, 0); border: 1px solid rgb(255, 255, 255, 0); border-radius: 18px'><svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18' style='fill: rgb(235, 41, 41)'><path d='M1.8 18L0 16.2L7.2 9L0 1.8L1.8 0L9 7.2L16.2 0L18 1.8L10.8 9L18 16.2L16.2 18L9 10.8L1.8 18Z'></path></svg></button></div></div></div></noindex>";closeButton = false;}Fancybox.close();new Fancybox([{src: html,type: 'html'}], {dragToClose: false,closeButton: closeButton,autoFocus: false,trapFocus: false,on: {done: (fancybox, slide) => {const success = document.querySelector("#SGsuccess595");if(success) {buttonLinks = success.querySelectorAll('button[data-type="link"]');if(buttonLinks) {for(let buttonLink of buttonLinks) {buttonLink.addEventListener('click', function(){if(buttonLink.dataset.link) {if(buttonLink.dataset.target == '_blank') {window.open(buttonLink.dataset.link);} else {location.href = buttonLink.dataset.link}}});}}}setTimeout(function(){Fancybox.close();}, 3000);},close: () => {window.sgPopup.opened = false;}}});}function sgSuccessRedirect595(redirect) {setTimeout(function(){Fancybox.close();const clickEvent = new MouseEvent('click', {bubbles: true,cancelable: true});const link = document.createElement('a');link.setAttribute('href', redirect.url);if(redirect.newtab != '') {link.setAttribute('target', '_blank');}document.body.append(link);link.dispatchEvent(clickEvent);link.parentNode.removeChild(link);}, redirect.timeout);}</script><script>if(typeof window.sgPopup == 'undefined') {window.sgPopup = {opened: false,queue: [],shown: [],elements: {}};}addEventListener('DOMContentLoaded', () => {document.body.addEventListener('click', function(event){if(event.target.dataset.target == "sgPopup596"|| event.target.closest('[data-target="sgPopup596"]')) {Fancybox.close();sgPopup596('forceOpen');}});sgPopup596autoOpen();});function sgPopup596autoOpen() {}if(typeof getCookie == 'undefined') {function getCookie(name) {var v = document.cookie.match('(^|;) ?' + name + '=([^;]*)(;|$)');return v ? v[2] : null;}}if(typeof window.visitCounter == 'undefined') {if( getCookie('sgConversionVisitCounter') ) {window.visitCounter = getCookie('sgConversionVisitCounter');} else {window.visitCounter = 0;}window.visitCounter++;limit = 60 * 60 * 24 * 365;document.cookie = 'sgConversionVisitCounter='+ window.visitCounter +'; max-age='+ limit +'; path=/';}function sgPopup596reachGoal(code) {function executeGoal(params) {if(typeof params == 'object') {eval('ym('+ params.join(',') +');');let data = {'goal': params[2],timestamp: new Date().toISOString()};var xmlhr = new XMLHttpRequest();xmlhr.open('POST', "https://1001doc.ru/bitrix/services/main/ajax.php?action=generator:conversion.api.ajax.goalLog");xmlhr.send(JSON.stringify(data));xmlhr.onreadystatechange = function() {if (xmlhr.readyState === 4 && xmlhr.status === 200) {const params = new URLSearchParams(window.location.search);if( params.get('debug') ) {const response = JSON.parse(xmlhr.response);console.log(response);}}}}}const goals = code.split(';');if(goals) {for(let goal of goals) {goal = goal.trim();if(goal != '') {const regexp = /ym(.*)/;if( regexp.test(goal) ) {goal = goal.replace('ym(', '');goal = goal.replace(')', '');const params = goal.split(',');if(params) {if (typeof window.ym != 'undefined') {executeGoal(params);} else {if(typeof window.popup596goals == 'undefined') {window.popup596goals = [];}window.popup596goals.push({'metrika': params[0],'action': params[1],'id': params[2]});if(typeof popup596interval == 'undefined') {popup596interval = setInterval(function(){if (typeof window.ym != 'undefined') {for(let goal of window.popup596goals) {executeGoal(params);}window.popup596goals = [];clearInterval(popup596interval);}}, 1000);}}}} else {eval(goal);}}}}}function sgPopup596(action = false) {if(!action) return;if( ['open', 'forceOpen'].includes(action) ) {if(action == 'open' && window.sgPopup.shown.includes(596)) {return false;}if(window.sgPopup.opened) {if(window.sgPopup.opened != 596) {window.sgPopup.queue.push(596);}} else {window.sgPopup.opened = 596;let html;let closeButton;if(window.innerWidth >= 1040) {html = "<noindex id='SGpopup596' class='popup-wrapper grid-hidden'><div class='popup-area' data-type='area-container' style='position: relative; top: 332px; left: 27px; margin-left: ; width: 465.5px; height: 186px; '><div class='popup-element' data-type='input' style='margin-top: 2px;margin-right: 2px;margin-bottom: 8px;margin-left: 2px;'><div class='popupElement-content'><input type=\"text\" placeholder=\"+7 (000) 000-00-00\" data-name=\"Телефон\" data-mask=\"phone\" required=\"\" style=\"background-color: rgb(255, 255, 255); border-color: rgb(228, 228, 228); color: rgb(116, 126, 120); border-radius: 7px; padding: 10px 20px;\"></div></div><div class='popup-element' data-type='button-submit' style='margin-top: 10px;margin-right: 15px;margin-bottom: 3px;margin-left: 0px;'><div class='popupElement-content'><button type=\"submit\" style=\"background-color: rgba(119, 30, 30, 0); color: rgb(255, 255, 255); font-size: 20px; border-radius: 7px; padding: 40px 31px 35px 5px;\"></button></div></div><div class='popup-element' data-type='agree' data-element-id='487742' data-fill='#000' style='margin-top: 4px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;'><style>#SGpopup596 .popup-element[data-element-id='487742'][data-type='agree'] .popupElement-content input[type='checkbox'] + label:before {border-color: #000;} #SGpopup596 .popup-element[data-element-id='487742'][data-type='agree'] .popupElement-content input[type='checkbox'] + label:after {background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHhtbG5zOnhsaW5rPSdodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rJyB2ZXJzaW9uPScxLjEnIHg9JzBweCcgeT0nMHB4JyB3aWR0aD0nNTEycHgnIGhlaWdodD0nNTEycHgnIHZpZXdCb3g9JzAgMCA0NDIuNTMzIDQ0Mi41MzMnIHN0eWxlPSdlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDQ0Mi41MzMgNDQyLjUzMycgeG1sOnNwYWNlPSdwcmVzZXJ2ZSc+PHBhdGggZD0nTTQzNC41MzksOTguNDk5bC0zOC44MjgtMzguODI4Yy01LjMyNC01LjMyOC0xMS43OTktNy45OTMtMTkuNDEtNy45OTNjLTcuNjE4LDAtMTQuMDkzLDIuNjY1LTE5LjQxNyw3Ljk5M0wxNjkuNTksMjQ3LjI0OCBsLTgzLjkzOS04NC4yMjVjLTUuMzMtNS4zMy0xMS44MDEtNy45OTItMTkuNDEyLTcuOTkyYy03LjYxNiwwLTE0LjA4NywyLjY2Mi0xOS40MTcsNy45OTJMNy45OTQsMjAxLjg1MiAgIEMyLjY2NCwyMDcuMTgxLDAsMjEzLjY1NCwwLDIyMS4yNjljMCw3LjYwOSwyLjY2NCwxNC4wODgsNy45OTQsMTkuNDE2bDEwMy4zNTEsMTAzLjM0OWwzOC44MzEsMzguODI4IGM1LjMyNyw1LjMzMiwxMS44LDcuOTk0LDE5LjQxNCw3Ljk5NGM3LjYxMSwwLDE0LjA4NC0yLjY2OSwxOS40MTQtNy45OTRsMzguODMtMzguODI4TDQzNC41MzksMTM3LjMzIGM1LjMyNS01LjMzLDcuOTk0LTExLjgwMiw3Ljk5NC0xOS40MTdDNDQyLjUzNywxMTAuMzAyLDQzOS44NjQsMTAzLjgyOSw0MzQuNTM5LDk4LjQ5OXonIGZpbGw9JyMwMDAnLz48L3N2Zz4=);}</style><div class='popupElement-content'><input id=\"agree338_oJyle\" type=\"checkbox\" required checked=\"\" tabindex=\"-1\" data-orig-tabindex=\"-1\"><label for=\"agree338_oJyle\"><p><span style=\"color:hsl(0,0%,60%);font-size:9px;\">Я принимаю условия</span><a href=\"https://1001doc.ru/include/files/privacy-policy.pdf\" target=\"_blank\" rel=\"noopener noreferrer\"><span style=\"color:hsl(0,0%,60%);font-size:9px;\"><u> пользовательского соглашения</u> </span></a><span style=\"color:hsl(0,0%,60%);font-size:9px;\">и даю согласие на обработку персональных данных</span></p></label></div></div></div><div class='popup-area' data-type='area-container' style='position: relative; top: -141px; left: 847px; margin-left: ; width: 75.5px; height: 44.5px; '><div class='popup-element' data-type='editor' data-element-id='422366' style='margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;'><style></style><div class='popupElement-content'><p><span style=\"color:hsl(215,84%,55%);font-size:14px;\"><strong>{date}</strong></span></p></div></div></div><div class='popup-area' data-type='close-container' style='position: absolute; top: -40px; left: 100%; margin-left: -40px; width: 40px; height: 40px; '><div class='popup-element' data-type='button-close' style=''><div class='popupElement-content'><button type=\"close\" data-fancybox-close=\"\" style=\"padding: 10px; width: 38px; height: 38px; background-color: rgba(0, 0, 0, 0); border: 1px solid rgb(255, 255, 255, 0); border-radius: 18px;\"><svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 18 18\" fill=\"#d6d6d6\" style=\"fill: rgb(255, 4, 4);\"><path d=\"M1.8 18L0 16.2L7.2 9L0 1.8L1.8 0L9 7.2L16.2 0L18 1.8L10.8 9L18 16.2L16.2 18L9 10.8L1.8 18Z\"></path></svg></button></div></div></div><input type='hidden' name='popupID' value='596'><input type='hidden' name='projectID' value='47'></noindex>";closeButton = false;} else {html = "<noindex id='SGpopup596' class='popup-wrapper grid-hidden'><div class='popup-area' data-type='area-container' style='position: relative; top: 309px; left: 6px; margin-left: ; width: 332.667px; height: 179px; '><div class='popup-element' data-type='input' style='margin-top: 0px;margin-right: 2px;margin-bottom: 3px;margin-left: 2px;'><div class='popupElement-content'><input type=\"text\" placeholder=\"+7 (000) 000 00-00\" data-name=\"Телефон\" data-mask=\"phone\" required=\"\" style=\"background-color: rgb(255, 255, 255); border-color: rgb(228, 228, 228); color: rgb(116, 126, 120); border-radius: 7px; padding: 10px 20px;\"></div></div><div class='popup-element' data-type='button-submit' style='margin-top: 6px;margin-right: 15px;margin-bottom: 6px;margin-left: 0px;'><div class='popupElement-content'><button type=\"submit\" style=\"background-color: rgba(51, 15, 15, 0); color: rgb(255, 255, 255); font-size: 20px; border-radius: 7px; padding: 30px 31px 30px 0px;\"></button></div></div><div class='popup-element' data-type='agree' data-element-id='132914' data-fill='#000' style='margin-top: 5px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;'><style>#SGpopup596 .popup-element[data-element-id='132914'][data-type='agree'] .popupElement-content input[type='checkbox'] + label:before {border-color: #000;} #SGpopup596 .popup-element[data-element-id='132914'][data-type='agree'] .popupElement-content input[type='checkbox'] + label:after {background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHhtbG5zOnhsaW5rPSdodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rJyB2ZXJzaW9uPScxLjEnIHg9JzBweCcgeT0nMHB4JyB3aWR0aD0nNTEycHgnIGhlaWdodD0nNTEycHgnIHZpZXdCb3g9JzAgMCA0NDIuNTMzIDQ0Mi41MzMnIHN0eWxlPSdlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDQ0Mi41MzMgNDQyLjUzMycgeG1sOnNwYWNlPSdwcmVzZXJ2ZSc+PHBhdGggZD0nTTQzNC41MzksOTguNDk5bC0zOC44MjgtMzguODI4Yy01LjMyNC01LjMyOC0xMS43OTktNy45OTMtMTkuNDEtNy45OTNjLTcuNjE4LDAtMTQuMDkzLDIuNjY1LTE5LjQxNyw3Ljk5M0wxNjkuNTksMjQ3LjI0OCBsLTgzLjkzOS04NC4yMjVjLTUuMzMtNS4zMy0xMS44MDEtNy45OTItMTkuNDEyLTcuOTkyYy03LjYxNiwwLTE0LjA4NywyLjY2Mi0xOS40MTcsNy45OTJMNy45OTQsMjAxLjg1MiAgIEMyLjY2NCwyMDcuMTgxLDAsMjEzLjY1NCwwLDIyMS4yNjljMCw3LjYwOSwyLjY2NCwxNC4wODgsNy45OTQsMTkuNDE2bDEwMy4zNTEsMTAzLjM0OWwzOC44MzEsMzguODI4IGM1LjMyNyw1LjMzMiwxMS44LDcuOTk0LDE5LjQxNCw3Ljk5NGM3LjYxMSwwLDE0LjA4NC0yLjY2OSwxOS40MTQtNy45OTRsMzguODMtMzguODI4TDQzNC41MzksMTM3LjMzIGM1LjMyNS01LjMzLDcuOTk0LTExLjgwMiw3Ljk5NC0xOS40MTdDNDQyLjUzNywxMTAuMzAyLDQzOS44NjQsMTAzLjgyOSw0MzQuNTM5LDk4LjQ5OXonIGZpbGw9JyMwMDAnLz48L3N2Zz4=);}</style><div class='popupElement-content'><input id=\"agree_^-Z7!\" type=\"checkbox\" required checked=\"\" tabindex=\"-1\" data-orig-tabindex=\"-1\"><label for=\"agree_^-Z7!\"><h3><span style=\"background-color:hsl(0, 0%, 100%);color:hsl(0,0%,60%);font-size:9px;\">Я принимаю условия</span><a href=\"https://1001doc.ru/include/files/privacy-policy.pdf\" target=\"_blank\" rel=\"noopener noreferrer\"><span style=\"background-color:hsl(0, 0%, 100%);color:hsl(0,0%,60%);font-size:9px;\"> <u>пользовательского соглашения </u></span></a><span style=\"background-color:hsl(0, 0%, 100%);color:hsl(0,0%,60%);font-size:9px;\">и даю согласие на обработку персональных данных</span></h3></label></div></div></div><div class='popup-area' data-type='area-container' style='position: relative; top: -156px; left: 218px; margin-left: ; width: 75.5px; height: 44.5px; '><div class='popup-element' data-type='editor' data-element-id='157814' style='margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;'><style></style><div class='popupElement-content'><p><span style=\"color:hsl(215,84%,55%);font-size:14px;\">{date}</span></p></div></div></div><div class='popup-area' data-type='close-container' style='position: absolute; top: -40px; left: 100%; margin-left: -40px; width: 40px; height: 40px; '></div><div class='popup-area' data-type='area-container' style='position: relative; top: -223.008px; left: 318px; margin-left: ; width: 31.5px; height: 41.5px; '><div class='popup-element' data-type='button-close' style=''><div class='popupElement-content'><button type=\"close\" data-fancybox-close=\"\" style=\"padding: 10px; width: 38px; height: 38px; background-color: rgba(0, 0, 0, 0); border: 1px solid rgb(255, 255, 255, 0); border-radius: 18px;\"><svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 18 18\" fill=\"#d6d6d6\" style=\"fill: rgb(255, 21, 21);\"><path d=\"M1.8 18L0 16.2L7.2 9L0 1.8L1.8 0L9 7.2L16.2 0L18 1.8L10.8 9L18 16.2L16.2 18L9 10.8L1.8 18Z\"></path></svg></button></div></div></div><input type='hidden' name='popupID' value='596'><input type='hidden' name='projectID' value='47'></noindex>";closeButton = false;}dateFrom = 1672531200 * 1000;if(dateFrom < Date.now()) {do {dateFrom += 15 * 24 * 60 * 60 * 1000;} while (dateFrom < Date.now());}for (const match of html.matchAll(/{date((\+|\-)([0-9]*))?}/g)) {dateTo = dateFrom;if(typeof match[1] != 'undefined') {dateTo += match[1] * 24 * 60 * 60 * 1000;}dateTo = new Date(dateTo);formatDate = '{day}.{month}';if(formatDate.indexOf('{day}') != -1) {day = dateTo.getDate();if("number_short" == "number_full") {if(day < 10) {day = '0' + day;}}formatDate = formatDate.replace('{day}', day);}if(formatDate.indexOf('{month}') != -1) {month = dateTo.getMonth() + 1;if("number_full" == "number_full") {if(month < 10) {month = '0' + month;}} else if("number_full" == "text_nominative") {let months = {1: 'январь',2: 'февраль',3: 'март',4: 'апрель',5: 'май',6: 'июнь',7: 'июль',8: 'август',9: 'сентябрь',10: 'октябрь',11: 'ноябрь',12: 'декабрь'};month = months[month];} else if("number_full" == "text_genitive") {let months = {1: 'января',2: 'февраля',3: 'марта',4: 'апреля',5: 'мая',6: 'июня',7: 'июля',8: 'августа',9: 'сентября',10: 'октября',11: 'ноября',12: 'декабря'};month = months[month];}formatDate = formatDate.replace('{month}', month);}if(formatDate.indexOf('{year}') != -1) {year = dateTo.getFullYear();if("number_short" == "number_short") {year = year.toString().substr(-2);}formatDate = formatDate.replace('{year}', year);}html = html.replaceAll(match[0], formatDate);};Fancybox.close();new Fancybox([{src: html,type: 'html'}], {dragToClose: false,closeButton: closeButton,compact: false,autoFocus: false,trapFocus: false,on: {done: (fancybox, slide) => {sgPopup596reachGoal("ym(96577005,'reachGoal','pokaz_up_dok_oglavlenie2');");const popup = document.querySelector("#SGpopup596");if(popup) {const url = new URL(location.href);window.utm_source = url.searchParams.get('utm_source');window.utm_medium = url.searchParams.get('utm_medium');window.utm_campaign = url.searchParams.get('utm_campaign');window.utm_term = url.searchParams.get('utm_term');window.utm_content = url.searchParams.get('utm_content');openerLinks = popup.querySelectorAll('a[data-target]');if(openerLinks) {for(let openerLink of openerLinks) {openerLink.addEventListener('click', function(){if(openerLink.dataset.target) {if(typeof window[openerLink.dataset.target] == 'function') {Fancybox.close();window[openerLink.dataset.target]('open');}}});}}linkImages = popup.querySelectorAll('.image-wrapper[data-type="link"]');if(linkImages) {for(let linkImage of linkImages) {linkImage.addEventListener('click', function(){if(linkImage.dataset.link) {if(linkImage.dataset.target == '_blank') {window.open(linkImage.dataset.link);} else {location.href = linkImage.dataset.link}}});}}openerImages = popup.querySelectorAll('.image-wrapper[data-type="opener"]');if(openerImages) {for(let openerImage of openerImages) {openerImage.addEventListener('click', function(){if(openerImage.dataset.popup) {if(typeof window['sgPopup' + openerImage.dataset.popup] == 'function') {Fancybox.close();window['sgPopup' + openerImage.dataset.popup]('forceOpen');}}});}}submitImages = popup.querySelectorAll('.image-wrapper[data-type="submitter"]');if(submitImages) {for(let submitImage of submitImages) {submitImage.addEventListener('click', function(){if(submitImage.classList.contains('disabled')) return false;submitImage.classList.add('disabled');sgPopup596submit(function(result){submitImage.classList.toggle('disabled', result);});});}}const linkButtons = popup.querySelectorAll('button[data-type="link"]');if(linkButtons) {for(let linkButton of linkButtons) {linkButton.addEventListener('click', function(){if(linkButton.dataset.link && linkButton.dataset.link != '#') {if(linkButton.dataset.target == '_blank') {window.open(linkButton.dataset.link);} else {location.href = linkButton.dataset.link}}});}}openerButtons = popup.querySelectorAll('button[data-type="opener"]');if(openerButtons) {for(let openerButton of openerButtons) {openerButton.addEventListener('click', function(){if(openerButton.dataset.popup) {if(typeof window['sgPopup' + openerButton.dataset.popup] == 'function') {Fancybox.close();window['sgPopup' + openerButton.dataset.popup]('forceOpen');}}});}}const maskedFields = popup.querySelectorAll('input[data-mask]');if(maskedFields) {for(let maskedField of maskedFields) {if(maskedField.dataset.mask == 'phone') {Inputmask('+7 (999) 999-99-99', {clearIncomplete: true,greedy: false}).mask(maskedField);} else if(maskedField.dataset.mask == 'email') {Inputmask({alias: 'email',clearIncomplete: true,greedy: false}).mask(maskedField);}}}const fileInputs = popup.querySelectorAll('.popup-element[data-type="input-file"] input[type="file"]');if(fileInputs) {for(let fileInput of fileInputs) {let label = fileInput.nextElementSibling;if(label) {fileInput.addEventListener('change', function() {if (fileInput.files && fileInput.files.length > 0) {const maxSize = fileInput.dataset.limit;if(fileInput.files[0].size <= maxSize * 1024 * 1024) {reader = new FileReader();reader.onload = function(){const span = label.querySelector('span');if(span) {span.innerHTML = fileInput.files[0].name;}fileInput.dataset.content = reader.result;};reader.readAsDataURL(fileInput.files[0]);} else {alert('Превышен максимальный размер файла - '+ maxSize +'мб');}}});label.addEventListener('click', function(event){event.preventDefault();fileInput.click();});}}}const agrees = popup.querySelectorAll('.popup-element[data-type="agree"] input[type="checkbox"]');if(agrees) {for(let agree of agrees) {let label = agree.nextElementSibling;if(label) {label.addEventListener('click', function(event){event.preventDefault();agree.checked = !agree.checked;});const links = label.querySelectorAll('a');if(links) {for(let link of links) {link.addEventListener('click', function(event){event.stopPropagation()});}}}}}const wheel = popup.querySelector('.popup-element[data-type="wheel"]');let wheelInterval;let wheelAngle = 0;if(wheel){const circle = popup.querySelector('.wheel-circle img');if(circle) {wheelInterval = setInterval(function(){wheelAngle += 0.2;if(wheelAngle > 360) {wheelAngle -= 360;}circle.setAttribute('style', 'transform: rotate('+ wheelAngle +'deg)');}, 40);}}const closeTriggers = popup.querySelectorAll('.popup-element[data-type="button-close"] button:not([data-fancybox-close])');if(closeTriggers) {for(let closeTrigger of closeTriggers) {closeTrigger.addEventListener('click', function(){Fancybox.close();})}}function sgPopup596submit(callback = false) {let hasError = false;const requiredInputs = popup.querySelectorAll('input[data-name][required]');if(requiredInputs) {for(let requiredInput of requiredInputs) {if(requiredInput.dataset.mask) {if(requiredInput.dataset.mask == 'phone') {if(!Inputmask.isValid(requiredInput.value, { mask: '+7 (999) 999-99-99'})) {requiredInput.classList.add('error');hasError = true;} else {requiredInput.classList.remove('error');}} else if(requiredInput.dataset.mask == 'phone_intl' && typeof window.sgPopup.elements.intl != 'undefined') {intl = window.sgPopup.elements.intl;if(!intl.isValidNumberPrecise()) {requiredInput.classList.add('error');hasError = true;} else {requiredInput.classList.remove('error');}} else if(requiredInput.dataset.mask == 'email') {if(!Inputmask.isValid(requiredInput.value, {alias: 'email'})) {requiredInput.classList.add('error');hasError = true;} else {requiredInput.classList.remove('error');}}} else {if(requiredInput.value == '') {requiredInput.classList.add('error');hasError = true;} else {requiredInput.classList.remove('error');}}}}const requiredTextareas = popup.querySelectorAll('textarea[data-name][required]');if(requiredTextareas) {for(let requiredTextarea of requiredTextareas) {if(requiredTextarea.value == '') {requiredTextarea.classList.add('error');hasError = true;} else {requiredTextarea.classList.remove('error');}}}const requiredSelects = popup.querySelectorAll('select[data-name][required]');if(requiredSelects) {for(let requiredSelect of requiredSelects) {const niceSelect = requiredSelect.nextElementSibling;if(niceSelect) {if(niceSelect.querySelector('.option.selected')) {niceSelect.classList.remove('error')} else {niceSelect.classList.add('error');hasError = true}}}}if(agrees) {for(let agree of agrees) {if(agree.required) {let label = agree.nextElementSibling;if(agree.checked) {label.classList.remove('error');} else {label.classList.add('error');hasError = true;}}}}if(hasError) {if (callback && typeof callback === 'function') {callback(false);}return false;}function sgPopup596sendRequest() {let data = {fields: [],cookie: document.cookie,source: location.href};const inputs = popup.querySelectorAll('input[data-name]');if(inputs) {for(let input of inputs) {if(input.dataset.mask == 'phone_intl' && typeof window.sgPopup.elements.intl != 'undefined') {intl = window.sgPopup.elements.intl;data.fields.push({name: input.dataset.name,value: intl.getNumber()});} else {data.fields.push({name: input.dataset.name,value: input.value});}}}const textareas = popup.querySelectorAll('textarea[data-name]');if(textareas) {for(let textarea of textareas) {data.fields.push({name: textarea.dataset.name,value: textarea.value});}}if(typeof selects != 'undefined') {for(let select of selects) {data.fields.push({name: select.dataset.name,value: select.value});}}const hiddenInputs = popup.querySelectorAll('input[type="hidden"]');for(let hiddenInput of hiddenInputs) {const name = hiddenInput.name;data[hiddenInput.name] = hiddenInput.value;}const fileInputs = popup.querySelectorAll('.popup-element[data-type="input-file"] input[type="file"]');if(fileInputs) {data.files = [];for(let fileInput of fileInputs) {if (fileInput.files && fileInput.files.length > 0) {data.files.push({'name': fileInput.files[0].name,'content': fileInput.dataset.content});}}}if( wheel && typeof window.prize != 'undefined' ) {data.fields.push(window.prize);}var xmlhr = new XMLHttpRequest();xmlhr.open('POST', "https://1001doc.ru/bitrix/services/main/ajax.php?action=generator:conversion.api.ajax.formSubmit");xmlhr.send(JSON.stringify(data));xmlhr.onreadystatechange = function() {if (xmlhr.readyState === 4 && xmlhr.status === 200) {console.log(xmlhr.response);const response = JSON.parse(xmlhr.response);console.log(response);}};sgPopup596reachGoal("ym(96577005,'reachGoal','lead_up_dok_oglavlenie2');");sgSuccessPopup596();let redirect = {url: 'https://1001doc.ru/upload/popup_189_attachment.pdf',newtab: '1',timeout: '3000'};if( typeof redirect != 'undefined' ) {sgSuccessRedirect596(redirect);}return true;}if(wheel){const circle = popup.querySelector('.wheel-circle img');if(circle) {clearInterval(wheelInterval);}} else {const result = sgPopup596sendRequest();if (callback && typeof callback === 'function') {callback(result);}}}areaLinks = popup.querySelectorAll('.popup-area[data-type="area-link"]');if(areaLinks) {for(let areaLink of areaLinks) {areaLink.addEventListener('click', function(){if(areaLink.dataset.link && areaLink.dataset.link != '#') {if(areaLink.dataset.target == '_blank') {window.open(areaLink.dataset.link);} else {location.href = areaLink.dataset.link}}});}}areaOpeners = popup.querySelectorAll('.popup-area[data-type="area-opener"]');if(areaOpeners) {for(let areaOpener of areaOpeners) {areaOpener.addEventListener('click', function(){if(areaOpener.dataset.popup) {if(typeof window['sgPopup' + areaOpener.dataset.popup] == 'function') {Fancybox.close();window['sgPopup' + areaOpener.dataset.popup]('forceOpen');}}});}}const submitButton = popup.querySelector(".popup-element[data-type='button-submit'] button");if(submitButton) {submitButton.addEventListener('click', function(event){event.preventDefault();submitButton.disabled = true;sgPopup596submit(function(result){submitButton.disabled = result;});})}}},close: () => {window.sgPopup.opened = false;window.sgPopup.shown.push(596);if(window.sgPopup.queue.length) {setTimeout(function(){let popupID = window.sgPopup.queue.shift();window['sgPopup' + popupID]('forceOpen');}, 30000);}},}});}}}function sgSuccessPopup596() {let html;let closeButton;if(window.innerWidth >= 1040) {html = "<noindex id='SGsuccess596' class='popup-wrapper grid-hidden'><div class='success-area' data-type='area-container' style='position: absolute; top: 120px; left: 40px; width: 370px; height: 180px; '><div class='success-element' data-type='editor' style='margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; '><div class='successElement-content'><p style='text-align: center'><span style='font-size: 30px'>Спасибо, материалы отправлены вам!</span></p></div></div></div><div class='success-area' data-type='close-container' style='position: absolute; top: -40px; left: 450px; margin-left: -40px; width: 40px; height: 40px; '><div class='success-element' data-type='button-close' style='margin-top: 0px; margin-left: 0px; '><div class='successElement-content'><button type='close' data-fancybox-close style='padding: 10px; width: 40px; height: 40px; background-color: rgba(0, 0, 0, 0); border: 1px solid rgb(255, 255, 255, 0); border-radius: 18px'><svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18' style='fill: rgb(235, 41, 41)'><path d='M1.8 18L0 16.2L7.2 9L0 1.8L1.8 0L9 7.2L16.2 0L18 1.8L10.8 9L18 16.2L16.2 18L9 10.8L1.8 18Z'></path></svg></button></div></div></div></noindex>";closeButton = false;} else {html = "<noindex id='SGsuccess596' class='popup-wrapper grid-hidden'><div class='success-area' data-type='area-container' style='position: absolute; top: 75px; left: 20px; width: 260px; height: 135px; '><div class='success-element' data-type='editor' style='margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; '><div class='successElement-content'><p style='text-align: center'><span style='font-size: 22px'>Спасибо, материалы отправлены вам!</span></p></div></div></div><div class='success-area' data-type='close-container' style='position: absolute; top: -30px; left: 300px; margin-left: -30px; width: 30px; height: 30px; '><div class='success-element' data-type='button-close' style='margin-top: 0px; margin-left: 0px; '><div class='successElement-content'><button type='close' data-fancybox-close style='padding: 7px; width: 30px; height: 30px; background-color: rgba(0, 0, 0, 0); border: 1px solid rgb(255, 255, 255, 0); border-radius: 18px'><svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18' style='fill: rgb(235, 41, 41)'><path d='M1.8 18L0 16.2L7.2 9L0 1.8L1.8 0L9 7.2L16.2 0L18 1.8L10.8 9L18 16.2L16.2 18L9 10.8L1.8 18Z'></path></svg></button></div></div></div></noindex>";closeButton = false;}Fancybox.close();new Fancybox([{src: html,type: 'html'}], {dragToClose: false,closeButton: closeButton,autoFocus: false,trapFocus: false,on: {done: (fancybox, slide) => {const success = document.querySelector("#SGsuccess596");if(success) {buttonLinks = success.querySelectorAll('button[data-type="link"]');if(buttonLinks) {for(let buttonLink of buttonLinks) {buttonLink.addEventListener('click', function(){if(buttonLink.dataset.link) {if(buttonLink.dataset.target == '_blank') {window.open(buttonLink.dataset.link);} else {location.href = buttonLink.dataset.link}}});}}}setTimeout(function(){Fancybox.close();}, 3000);},close: () => {window.sgPopup.opened = false;}}});}function sgSuccessRedirect596(redirect) {setTimeout(function(){Fancybox.close();const clickEvent = new MouseEvent('click', {bubbles: true,cancelable: true});const link = document.createElement('a');link.setAttribute('href', redirect.url);if(redirect.newtab != '') {link.setAttribute('target', '_blank');}document.body.append(link);link.dispatchEvent(clickEvent);link.parentNode.removeChild(link);}, redirect.timeout);}</script><script>if(typeof window.sgPopup == 'undefined') {window.sgPopup = {opened: false,queue: [],shown: [],elements: {}};}addEventListener('DOMContentLoaded', () => {document.body.addEventListener('click', function(event){if(event.target.dataset.target == "sgPopup597"|| event.target.closest('[data-target="sgPopup597"]')) {Fancybox.close();sgPopup597('forceOpen');}});sgPopup597autoOpen();});function sgPopup597autoOpen() {}if(typeof getCookie == 'undefined') {function getCookie(name) {var v = document.cookie.match('(^|;) ?' + name + '=([^;]*)(;|$)');return v ? v[2] : null;}}if(typeof window.visitCounter == 'undefined') {if( getCookie('sgConversionVisitCounter') ) {window.visitCounter = getCookie('sgConversionVisitCounter');} else {window.visitCounter = 0;}window.visitCounter++;limit = 60 * 60 * 24 * 365;document.cookie = 'sgConversionVisitCounter='+ window.visitCounter +'; max-age='+ limit +'; path=/';}function sgPopup597reachGoal(code) {function executeGoal(params) {if(typeof params == 'object') {eval('ym('+ params.join(',') +');');let data = {'goal': params[2],timestamp: new Date().toISOString()};var xmlhr = new XMLHttpRequest();xmlhr.open('POST', "https://1001doc.ru/bitrix/services/main/ajax.php?action=generator:conversion.api.ajax.goalLog");xmlhr.send(JSON.stringify(data));xmlhr.onreadystatechange = function() {if (xmlhr.readyState === 4 && xmlhr.status === 200) {const params = new URLSearchParams(window.location.search);if( params.get('debug') ) {const response = JSON.parse(xmlhr.response);console.log(response);}}}}}const goals = code.split(';');if(goals) {for(let goal of goals) {goal = goal.trim();if(goal != '') {const regexp = /ym(.*)/;if( regexp.test(goal) ) {goal = goal.replace('ym(', '');goal = goal.replace(')', '');const params = goal.split(',');if(params) {if (typeof window.ym != 'undefined') {executeGoal(params);} else {if(typeof window.popup597goals == 'undefined') {window.popup597goals = [];}window.popup597goals.push({'metrika': params[0],'action': params[1],'id': params[2]});if(typeof popup597interval == 'undefined') {popup597interval = setInterval(function(){if (typeof window.ym != 'undefined') {for(let goal of window.popup597goals) {executeGoal(params);}window.popup597goals = [];clearInterval(popup597interval);}}, 1000);}}}} else {eval(goal);}}}}}function sgPopup597(action = false) {if(!action) return;if( ['open', 'forceOpen'].includes(action) ) {if(action == 'open' && window.sgPopup.shown.includes(597)) {return false;}if(window.sgPopup.opened) {if(window.sgPopup.opened != 597) {window.sgPopup.queue.push(597);}} else {window.sgPopup.opened = 597;let html;let closeButton;if(window.innerWidth >= 1040) {html = "<noindex id='SGpopup597' class='popup-wrapper grid-hidden'><div class='popup-area' data-type='area-container' style='position: relative; top: 332px; left: 27px; margin-left: ; width: 465.5px; height: 186px; '><div class='popup-element' data-type='input' style='margin-top: 2px;margin-right: 2px;margin-bottom: 8px;margin-left: 2px;'><div class='popupElement-content'><input type=\"text\" placeholder=\"+7 (000) 000-00-00\" data-name=\"Телефон\" data-mask=\"phone\" required=\"\" style=\"background-color: rgb(255, 255, 255); border-color: rgb(228, 228, 228); color: rgb(116, 126, 120); border-radius: 7px; padding: 10px 20px;\"></div></div><div class='popup-element' data-type='button-submit' style='margin-top: 10px;margin-right: 15px;margin-bottom: 3px;margin-left: 0px;'><div class='popupElement-content'><button type=\"submit\" style=\"background-color: rgba(119, 30, 30, 0); color: rgb(255, 255, 255); font-size: 20px; border-radius: 7px; padding: 40px 31px 35px 5px;\"></button></div></div><div class='popup-element' data-type='agree' data-element-id='798795' data-fill='#000' style='margin-top: 4px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;'><style>#SGpopup597 .popup-element[data-element-id='798795'][data-type='agree'] .popupElement-content input[type='checkbox'] + label:before {border-color: #000;} #SGpopup597 .popup-element[data-element-id='798795'][data-type='agree'] .popupElement-content input[type='checkbox'] + label:after {background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHhtbG5zOnhsaW5rPSdodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rJyB2ZXJzaW9uPScxLjEnIHg9JzBweCcgeT0nMHB4JyB3aWR0aD0nNTEycHgnIGhlaWdodD0nNTEycHgnIHZpZXdCb3g9JzAgMCA0NDIuNTMzIDQ0Mi41MzMnIHN0eWxlPSdlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDQ0Mi41MzMgNDQyLjUzMycgeG1sOnNwYWNlPSdwcmVzZXJ2ZSc+PHBhdGggZD0nTTQzNC41MzksOTguNDk5bC0zOC44MjgtMzguODI4Yy01LjMyNC01LjMyOC0xMS43OTktNy45OTMtMTkuNDEtNy45OTNjLTcuNjE4LDAtMTQuMDkzLDIuNjY1LTE5LjQxNyw3Ljk5M0wxNjkuNTksMjQ3LjI0OCBsLTgzLjkzOS04NC4yMjVjLTUuMzMtNS4zMy0xMS44MDEtNy45OTItMTkuNDEyLTcuOTkyYy03LjYxNiwwLTE0LjA4NywyLjY2Mi0xOS40MTcsNy45OTJMNy45OTQsMjAxLjg1MiAgIEMyLjY2NCwyMDcuMTgxLDAsMjEzLjY1NCwwLDIyMS4yNjljMCw3LjYwOSwyLjY2NCwxNC4wODgsNy45OTQsMTkuNDE2bDEwMy4zNTEsMTAzLjM0OWwzOC44MzEsMzguODI4IGM1LjMyNyw1LjMzMiwxMS44LDcuOTk0LDE5LjQxNCw3Ljk5NGM3LjYxMSwwLDE0LjA4NC0yLjY2OSwxOS40MTQtNy45OTRsMzguODMtMzguODI4TDQzNC41MzksMTM3LjMzIGM1LjMyNS01LjMzLDcuOTk0LTExLjgwMiw3Ljk5NC0xOS40MTdDNDQyLjUzNywxMTAuMzAyLDQzOS44NjQsMTAzLjgyOSw0MzQuNTM5LDk4LjQ5OXonIGZpbGw9JyMwMDAnLz48L3N2Zz4=);}</style><div class='popupElement-content'><input id=\"agree338_oJyle\" type=\"checkbox\" required checked=\"\" tabindex=\"-1\" data-orig-tabindex=\"-1\"><label for=\"agree338_oJyle\"><p><span style=\"color:hsl(0,0%,60%);font-size:9px;\">Я принимаю условия</span><a href=\"https://1001doc.ru/include/files/privacy-policy.pdf\" target=\"_blank\" rel=\"noopener noreferrer\"><span style=\"color:hsl(0,0%,60%);font-size:9px;\"><u> пользовательского соглашения</u> </span></a><span style=\"color:hsl(0,0%,60%);font-size:9px;\">и даю согласие на обработку персональных данных</span></p></label></div></div></div><div class='popup-area' data-type='area-container' style='position: relative; top: -141px; left: 847px; margin-left: ; width: 75.5px; height: 44.5px; '><div class='popup-element' data-type='editor' data-element-id='341623' style='margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;'><style></style><div class='popupElement-content'><p><span style=\"color:hsl(215,84%,55%);font-size:14px;\"><strong>{date}</strong></span></p></div></div></div><div class='popup-area' data-type='close-container' style='position: absolute; top: -40px; left: 100%; margin-left: -40px; width: 40px; height: 40px; '><div class='popup-element' data-type='button-close' style=''><div class='popupElement-content'><button type=\"close\" data-fancybox-close=\"\" style=\"padding: 10px; width: 38px; height: 38px; background-color: rgba(0, 0, 0, 0); border: 1px solid rgb(255, 255, 255, 0); border-radius: 18px;\"><svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 18 18\" fill=\"#d6d6d6\" style=\"fill: rgb(255, 4, 4);\"><path d=\"M1.8 18L0 16.2L7.2 9L0 1.8L1.8 0L9 7.2L16.2 0L18 1.8L10.8 9L18 16.2L16.2 18L9 10.8L1.8 18Z\"></path></svg></button></div></div></div><input type='hidden' name='popupID' value='597'><input type='hidden' name='projectID' value='47'></noindex>";closeButton = false;} else {html = "<noindex id='SGpopup597' class='popup-wrapper grid-hidden'><div class='popup-area' data-type='area-container' style='position: relative; top: 280px; left: 7px; margin-left: ; width: 332.667px; height: 179px; '><div class='popup-element' data-type='input' style='margin-top: 0px;margin-right: 2px;margin-bottom: 3px;margin-left: 2px;'><div class='popupElement-content'><input type=\"text\" placeholder=\"+7 (000) 000 00-00\" data-name=\"Телефон\" data-mask=\"phone\" required=\"\" style=\"background-color: rgb(255, 255, 255); border-color: rgb(228, 228, 228); color: rgb(116, 126, 120); border-radius: 7px; padding: 10px 20px;\"></div></div><div class='popup-element' data-type='button-submit' style='margin-top: 6px;margin-right: 15px;margin-bottom: 6px;margin-left: 0px;'><div class='popupElement-content'><button type=\"submit\" style=\"background-color: rgba(51, 15, 15, 0); color: rgb(255, 255, 255); font-size: 20px; border-radius: 7px; padding: 30px 31px 30px 0px;\"></button></div></div><div class='popup-element' data-type='agree' data-element-id='856063' data-fill='#000' style='margin-top: 5px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;'><style>#SGpopup597 .popup-element[data-element-id='856063'][data-type='agree'] .popupElement-content input[type='checkbox'] + label:before {border-color: #000;} #SGpopup597 .popup-element[data-element-id='856063'][data-type='agree'] .popupElement-content input[type='checkbox'] + label:after {background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHhtbG5zOnhsaW5rPSdodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rJyB2ZXJzaW9uPScxLjEnIHg9JzBweCcgeT0nMHB4JyB3aWR0aD0nNTEycHgnIGhlaWdodD0nNTEycHgnIHZpZXdCb3g9JzAgMCA0NDIuNTMzIDQ0Mi41MzMnIHN0eWxlPSdlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDQ0Mi41MzMgNDQyLjUzMycgeG1sOnNwYWNlPSdwcmVzZXJ2ZSc+PHBhdGggZD0nTTQzNC41MzksOTguNDk5bC0zOC44MjgtMzguODI4Yy01LjMyNC01LjMyOC0xMS43OTktNy45OTMtMTkuNDEtNy45OTNjLTcuNjE4LDAtMTQuMDkzLDIuNjY1LTE5LjQxNyw3Ljk5M0wxNjkuNTksMjQ3LjI0OCBsLTgzLjkzOS04NC4yMjVjLTUuMzMtNS4zMy0xMS44MDEtNy45OTItMTkuNDEyLTcuOTkyYy03LjYxNiwwLTE0LjA4NywyLjY2Mi0xOS40MTcsNy45OTJMNy45OTQsMjAxLjg1MiAgIEMyLjY2NCwyMDcuMTgxLDAsMjEzLjY1NCwwLDIyMS4yNjljMCw3LjYwOSwyLjY2NCwxNC4wODgsNy45OTQsMTkuNDE2bDEwMy4zNTEsMTAzLjM0OWwzOC44MzEsMzguODI4IGM1LjMyNyw1LjMzMiwxMS44LDcuOTk0LDE5LjQxNCw3Ljk5NGM3LjYxMSwwLDE0LjA4NC0yLjY2OSwxOS40MTQtNy45OTRsMzguODMtMzguODI4TDQzNC41MzksMTM3LjMzIGM1LjMyNS01LjMzLDcuOTk0LTExLjgwMiw3Ljk5NC0xOS40MTdDNDQyLjUzNywxMTAuMzAyLDQzOS44NjQsMTAzLjgyOSw0MzQuNTM5LDk4LjQ5OXonIGZpbGw9JyMwMDAnLz48L3N2Zz4=);}</style><div class='popupElement-content'><input id=\"agree_^-Z7!\" type=\"checkbox\" required checked=\"\" tabindex=\"-1\" data-orig-tabindex=\"-1\"><label for=\"agree_^-Z7!\"><h3><span style=\"background-color:hsl(0, 0%, 100%);color:hsl(0,0%,60%);font-size:9px;\">Я принимаю условия</span><a href=\"https://1001doc.ru/include/files/privacy-policy.pdf\" target=\"_blank\" rel=\"noopener noreferrer\"><span style=\"background-color:hsl(0, 0%, 100%);color:hsl(0,0%,60%);font-size:9px;\"> <u>пользовательского соглашения </u></span></a><span style=\"background-color:hsl(0, 0%, 100%);color:hsl(0,0%,60%);font-size:9px;\">и даю согласие на обработку персональных данных</span></h3></label></div></div></div><div class='popup-area' data-type='area-container' style='position: relative; top: -157px; left: 216px; margin-left: ; width: 75.5px; height: 44.5px; '><div class='popup-element' data-type='editor' data-element-id='146834' style='margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;'><style></style><div class='popupElement-content'><p><span style=\"color:hsl(215,84%,55%);font-size:14px;\">{date}</span></p></div></div></div><div class='popup-area' data-type='close-container' style='position: absolute; top: -40px; left: 100%; margin-left: -40px; width: 40px; height: 40px; '></div><div class='popup-area' data-type='area-container' style='position: relative; top: -223.008px; left: 318px; margin-left: ; width: 31.5px; height: 41.5px; '><div class='popup-element' data-type='button-close' style=''><div class='popupElement-content'><button type=\"close\" data-fancybox-close=\"\" style=\"padding: 10px; width: 38px; height: 38px; background-color: rgba(0, 0, 0, 0); border: 1px solid rgb(255, 255, 255, 0); border-radius: 18px;\"><svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 18 18\" fill=\"#d6d6d6\" style=\"fill: rgb(255, 21, 21);\"><path d=\"M1.8 18L0 16.2L7.2 9L0 1.8L1.8 0L9 7.2L16.2 0L18 1.8L10.8 9L18 16.2L16.2 18L9 10.8L1.8 18Z\"></path></svg></button></div></div></div><input type='hidden' name='popupID' value='597'><input type='hidden' name='projectID' value='47'></noindex>";closeButton = false;}dateFrom = 1672531200 * 1000;if(dateFrom < Date.now()) {do {dateFrom += 15 * 24 * 60 * 60 * 1000;} while (dateFrom < Date.now());}for (const match of html.matchAll(/{date((\+|\-)([0-9]*))?}/g)) {dateTo = dateFrom;if(typeof match[1] != 'undefined') {dateTo += match[1] * 24 * 60 * 60 * 1000;}dateTo = new Date(dateTo);formatDate = '{day}.{month}';if(formatDate.indexOf('{day}') != -1) {day = dateTo.getDate();if("number_short" == "number_full") {if(day < 10) {day = '0' + day;}}formatDate = formatDate.replace('{day}', day);}if(formatDate.indexOf('{month}') != -1) {month = dateTo.getMonth() + 1;if("number_full" == "number_full") {if(month < 10) {month = '0' + month;}} else if("number_full" == "text_nominative") {let months = {1: 'январь',2: 'февраль',3: 'март',4: 'апрель',5: 'май',6: 'июнь',7: 'июль',8: 'август',9: 'сентябрь',10: 'октябрь',11: 'ноябрь',12: 'декабрь'};month = months[month];} else if("number_full" == "text_genitive") {let months = {1: 'января',2: 'февраля',3: 'марта',4: 'апреля',5: 'мая',6: 'июня',7: 'июля',8: 'августа',9: 'сентября',10: 'октября',11: 'ноября',12: 'декабря'};month = months[month];}formatDate = formatDate.replace('{month}', month);}if(formatDate.indexOf('{year}') != -1) {year = dateTo.getFullYear();if("number_short" == "number_short") {year = year.toString().substr(-2);}formatDate = formatDate.replace('{year}', year);}html = html.replaceAll(match[0], formatDate);};Fancybox.close();new Fancybox([{src: html,type: 'html'}], {dragToClose: false,closeButton: closeButton,compact: false,autoFocus: false,trapFocus: false,on: {done: (fancybox, slide) => {sgPopup597reachGoal("ym(96577005,'reachGoal','pokaz_up_dok_oglavlenie3');");const popup = document.querySelector("#SGpopup597");if(popup) {const url = new URL(location.href);window.utm_source = url.searchParams.get('utm_source');window.utm_medium = url.searchParams.get('utm_medium');window.utm_campaign = url.searchParams.get('utm_campaign');window.utm_term = url.searchParams.get('utm_term');window.utm_content = url.searchParams.get('utm_content');openerLinks = popup.querySelectorAll('a[data-target]');if(openerLinks) {for(let openerLink of openerLinks) {openerLink.addEventListener('click', function(){if(openerLink.dataset.target) {if(typeof window[openerLink.dataset.target] == 'function') {Fancybox.close();window[openerLink.dataset.target]('open');}}});}}linkImages = popup.querySelectorAll('.image-wrapper[data-type="link"]');if(linkImages) {for(let linkImage of linkImages) {linkImage.addEventListener('click', function(){if(linkImage.dataset.link) {if(linkImage.dataset.target == '_blank') {window.open(linkImage.dataset.link);} else {location.href = linkImage.dataset.link}}});}}openerImages = popup.querySelectorAll('.image-wrapper[data-type="opener"]');if(openerImages) {for(let openerImage of openerImages) {openerImage.addEventListener('click', function(){if(openerImage.dataset.popup) {if(typeof window['sgPopup' + openerImage.dataset.popup] == 'function') {Fancybox.close();window['sgPopup' + openerImage.dataset.popup]('forceOpen');}}});}}submitImages = popup.querySelectorAll('.image-wrapper[data-type="submitter"]');if(submitImages) {for(let submitImage of submitImages) {submitImage.addEventListener('click', function(){if(submitImage.classList.contains('disabled')) return false;submitImage.classList.add('disabled');sgPopup597submit(function(result){submitImage.classList.toggle('disabled', result);});});}}const linkButtons = popup.querySelectorAll('button[data-type="link"]');if(linkButtons) {for(let linkButton of linkButtons) {linkButton.addEventListener('click', function(){if(linkButton.dataset.link && linkButton.dataset.link != '#') {if(linkButton.dataset.target == '_blank') {window.open(linkButton.dataset.link);} else {location.href = linkButton.dataset.link}}});}}openerButtons = popup.querySelectorAll('button[data-type="opener"]');if(openerButtons) {for(let openerButton of openerButtons) {openerButton.addEventListener('click', function(){if(openerButton.dataset.popup) {if(typeof window['sgPopup' + openerButton.dataset.popup] == 'function') {Fancybox.close();window['sgPopup' + openerButton.dataset.popup]('forceOpen');}}});}}const maskedFields = popup.querySelectorAll('input[data-mask]');if(maskedFields) {for(let maskedField of maskedFields) {if(maskedField.dataset.mask == 'phone') {Inputmask('+7 (999) 999-99-99', {clearIncomplete: true,greedy: false}).mask(maskedField);} else if(maskedField.dataset.mask == 'email') {Inputmask({alias: 'email',clearIncomplete: true,greedy: false}).mask(maskedField);}}}const fileInputs = popup.querySelectorAll('.popup-element[data-type="input-file"] input[type="file"]');if(fileInputs) {for(let fileInput of fileInputs) {let label = fileInput.nextElementSibling;if(label) {fileInput.addEventListener('change', function() {if (fileInput.files && fileInput.files.length > 0) {const maxSize = fileInput.dataset.limit;if(fileInput.files[0].size <= maxSize * 1024 * 1024) {reader = new FileReader();reader.onload = function(){const span = label.querySelector('span');if(span) {span.innerHTML = fileInput.files[0].name;}fileInput.dataset.content = reader.result;};reader.readAsDataURL(fileInput.files[0]);} else {alert('Превышен максимальный размер файла - '+ maxSize +'мб');}}});label.addEventListener('click', function(event){event.preventDefault();fileInput.click();});}}}const agrees = popup.querySelectorAll('.popup-element[data-type="agree"] input[type="checkbox"]');if(agrees) {for(let agree of agrees) {let label = agree.nextElementSibling;if(label) {label.addEventListener('click', function(event){event.preventDefault();agree.checked = !agree.checked;});const links = label.querySelectorAll('a');if(links) {for(let link of links) {link.addEventListener('click', function(event){event.stopPropagation()});}}}}}const wheel = popup.querySelector('.popup-element[data-type="wheel"]');let wheelInterval;let wheelAngle = 0;if(wheel){const circle = popup.querySelector('.wheel-circle img');if(circle) {wheelInterval = setInterval(function(){wheelAngle += 0.2;if(wheelAngle > 360) {wheelAngle -= 360;}circle.setAttribute('style', 'transform: rotate('+ wheelAngle +'deg)');}, 40);}}const closeTriggers = popup.querySelectorAll('.popup-element[data-type="button-close"] button:not([data-fancybox-close])');if(closeTriggers) {for(let closeTrigger of closeTriggers) {closeTrigger.addEventListener('click', function(){Fancybox.close();})}}function sgPopup597submit(callback = false) {let hasError = false;const requiredInputs = popup.querySelectorAll('input[data-name][required]');if(requiredInputs) {for(let requiredInput of requiredInputs) {if(requiredInput.dataset.mask) {if(requiredInput.dataset.mask == 'phone') {if(!Inputmask.isValid(requiredInput.value, { mask: '+7 (999) 999-99-99'})) {requiredInput.classList.add('error');hasError = true;} else {requiredInput.classList.remove('error');}} else if(requiredInput.dataset.mask == 'phone_intl' && typeof window.sgPopup.elements.intl != 'undefined') {intl = window.sgPopup.elements.intl;if(!intl.isValidNumberPrecise()) {requiredInput.classList.add('error');hasError = true;} else {requiredInput.classList.remove('error');}} else if(requiredInput.dataset.mask == 'email') {if(!Inputmask.isValid(requiredInput.value, {alias: 'email'})) {requiredInput.classList.add('error');hasError = true;} else {requiredInput.classList.remove('error');}}} else {if(requiredInput.value == '') {requiredInput.classList.add('error');hasError = true;} else {requiredInput.classList.remove('error');}}}}const requiredTextareas = popup.querySelectorAll('textarea[data-name][required]');if(requiredTextareas) {for(let requiredTextarea of requiredTextareas) {if(requiredTextarea.value == '') {requiredTextarea.classList.add('error');hasError = true;} else {requiredTextarea.classList.remove('error');}}}const requiredSelects = popup.querySelectorAll('select[data-name][required]');if(requiredSelects) {for(let requiredSelect of requiredSelects) {const niceSelect = requiredSelect.nextElementSibling;if(niceSelect) {if(niceSelect.querySelector('.option.selected')) {niceSelect.classList.remove('error')} else {niceSelect.classList.add('error');hasError = true}}}}if(agrees) {for(let agree of agrees) {if(agree.required) {let label = agree.nextElementSibling;if(agree.checked) {label.classList.remove('error');} else {label.classList.add('error');hasError = true;}}}}if(hasError) {if (callback && typeof callback === 'function') {callback(false);}return false;}function sgPopup597sendRequest() {let data = {fields: [],cookie: document.cookie,source: location.href};const inputs = popup.querySelectorAll('input[data-name]');if(inputs) {for(let input of inputs) {if(input.dataset.mask == 'phone_intl' && typeof window.sgPopup.elements.intl != 'undefined') {intl = window.sgPopup.elements.intl;data.fields.push({name: input.dataset.name,value: intl.getNumber()});} else {data.fields.push({name: input.dataset.name,value: input.value});}}}const textareas = popup.querySelectorAll('textarea[data-name]');if(textareas) {for(let textarea of textareas) {data.fields.push({name: textarea.dataset.name,value: textarea.value});}}if(typeof selects != 'undefined') {for(let select of selects) {data.fields.push({name: select.dataset.name,value: select.value});}}const hiddenInputs = popup.querySelectorAll('input[type="hidden"]');for(let hiddenInput of hiddenInputs) {const name = hiddenInput.name;data[hiddenInput.name] = hiddenInput.value;}const fileInputs = popup.querySelectorAll('.popup-element[data-type="input-file"] input[type="file"]');if(fileInputs) {data.files = [];for(let fileInput of fileInputs) {if (fileInput.files && fileInput.files.length > 0) {data.files.push({'name': fileInput.files[0].name,'content': fileInput.dataset.content});}}}if( wheel && typeof window.prize != 'undefined' ) {data.fields.push(window.prize);}var xmlhr = new XMLHttpRequest();xmlhr.open('POST', "https://1001doc.ru/bitrix/services/main/ajax.php?action=generator:conversion.api.ajax.formSubmit");xmlhr.send(JSON.stringify(data));xmlhr.onreadystatechange = function() {if (xmlhr.readyState === 4 && xmlhr.status === 200) {console.log(xmlhr.response);const response = JSON.parse(xmlhr.response);console.log(response);}};sgPopup597reachGoal("ym(96577005,'reachGoal','lead_up_dok_oglavlenie3');");sgSuccessPopup597();let redirect = {url: 'https://1001doc.ru/upload/popup_189_attachment.pdf',newtab: '1',timeout: '3000'};if( typeof redirect != 'undefined' ) {sgSuccessRedirect597(redirect);}return true;}if(wheel){const circle = popup.querySelector('.wheel-circle img');if(circle) {clearInterval(wheelInterval);}} else {const result = sgPopup597sendRequest();if (callback && typeof callback === 'function') {callback(result);}}}areaLinks = popup.querySelectorAll('.popup-area[data-type="area-link"]');if(areaLinks) {for(let areaLink of areaLinks) {areaLink.addEventListener('click', function(){if(areaLink.dataset.link && areaLink.dataset.link != '#') {if(areaLink.dataset.target == '_blank') {window.open(areaLink.dataset.link);} else {location.href = areaLink.dataset.link}}});}}areaOpeners = popup.querySelectorAll('.popup-area[data-type="area-opener"]');if(areaOpeners) {for(let areaOpener of areaOpeners) {areaOpener.addEventListener('click', function(){if(areaOpener.dataset.popup) {if(typeof window['sgPopup' + areaOpener.dataset.popup] == 'function') {Fancybox.close();window['sgPopup' + areaOpener.dataset.popup]('forceOpen');}}});}}const submitButton = popup.querySelector(".popup-element[data-type='button-submit'] button");if(submitButton) {submitButton.addEventListener('click', function(event){event.preventDefault();submitButton.disabled = true;sgPopup597submit(function(result){submitButton.disabled = result;});})}}},close: () => {window.sgPopup.opened = false;window.sgPopup.shown.push(597);if(window.sgPopup.queue.length) {setTimeout(function(){let popupID = window.sgPopup.queue.shift();window['sgPopup' + popupID]('forceOpen');}, 30000);}},}});}}}function sgSuccessPopup597() {let html;let closeButton;if(window.innerWidth >= 1040) {html = "<noindex id='SGsuccess597' class='popup-wrapper grid-hidden'><div class='success-area' data-type='area-container' style='position: absolute; top: 120px; left: 40px; width: 370px; height: 180px; '><div class='success-element' data-type='editor' style='margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; '><div class='successElement-content'><p style='text-align: center'><span style='font-size: 30px'>Спасибо, материалы отправлены вам!</span></p></div></div></div><div class='success-area' data-type='close-container' style='position: absolute; top: -40px; left: 450px; margin-left: -40px; width: 40px; height: 40px; '><div class='success-element' data-type='button-close' style='margin-top: 0px; margin-left: 0px; '><div class='successElement-content'><button type='close' data-fancybox-close style='padding: 10px; width: 40px; height: 40px; background-color: rgba(0, 0, 0, 0); border: 1px solid rgb(255, 255, 255, 0); border-radius: 18px'><svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18' style='fill: rgb(235, 41, 41)'><path d='M1.8 18L0 16.2L7.2 9L0 1.8L1.8 0L9 7.2L16.2 0L18 1.8L10.8 9L18 16.2L16.2 18L9 10.8L1.8 18Z'></path></svg></button></div></div></div></noindex>";closeButton = false;} else {html = "<noindex id='SGsuccess597' class='popup-wrapper grid-hidden'><div class='success-area' data-type='area-container' style='position: absolute; top: 75px; left: 20px; width: 260px; height: 135px; '><div class='success-element' data-type='editor' style='margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; '><div class='successElement-content'><p style='text-align: center'><span style='font-size: 22px'>Спасибо, материалы отправлены вам!</span></p></div></div></div><div class='success-area' data-type='close-container' style='position: absolute; top: -30px; left: 300px; margin-left: -30px; width: 30px; height: 30px; '><div class='success-element' data-type='button-close' style='margin-top: 0px; margin-left: 0px; '><div class='successElement-content'><button type='close' data-fancybox-close style='padding: 7px; width: 30px; height: 30px; background-color: rgba(0, 0, 0, 0); border: 1px solid rgb(255, 255, 255, 0); border-radius: 18px'><svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18' style='fill: rgb(235, 41, 41)'><path d='M1.8 18L0 16.2L7.2 9L0 1.8L1.8 0L9 7.2L16.2 0L18 1.8L10.8 9L18 16.2L16.2 18L9 10.8L1.8 18Z'></path></svg></button></div></div></div></noindex>";closeButton = false;}Fancybox.close();new Fancybox([{src: html,type: 'html'}], {dragToClose: false,closeButton: closeButton,autoFocus: false,trapFocus: false,on: {done: (fancybox, slide) => {const success = document.querySelector("#SGsuccess597");if(success) {buttonLinks = success.querySelectorAll('button[data-type="link"]');if(buttonLinks) {for(let buttonLink of buttonLinks) {buttonLink.addEventListener('click', function(){if(buttonLink.dataset.link) {if(buttonLink.dataset.target == '_blank') {window.open(buttonLink.dataset.link);} else {location.href = buttonLink.dataset.link}}});}}}setTimeout(function(){Fancybox.close();}, 3000);},close: () => {window.sgPopup.opened = false;}}});}function sgSuccessRedirect597(redirect) {setTimeout(function(){Fancybox.close();const clickEvent = new MouseEvent('click', {bubbles: true,cancelable: true});const link = document.createElement('a');link.setAttribute('href', redirect.url);if(redirect.newtab != '') {link.setAttribute('target', '_blank');}document.body.append(link);link.dispatchEvent(clickEvent);link.parentNode.removeChild(link);}, redirect.timeout);}</script><script>if(typeof window.sgPopup == 'undefined') {window.sgPopup = {opened: false,queue: [],shown: [],elements: {}};}addEventListener('DOMContentLoaded', () => {document.body.addEventListener('click', function(event){if(event.target.dataset.target == "sgPopup598"|| event.target.closest('[data-target="sgPopup598"]')) {Fancybox.close();sgPopup598('forceOpen');}});sgPopup598autoOpen();});function sgPopup598autoOpen() {}if(typeof getCookie == 'undefined') {function getCookie(name) {var v = document.cookie.match('(^|;) ?' + name + '=([^;]*)(;|$)');return v ? v[2] : null;}}if(typeof window.visitCounter == 'undefined') {if( getCookie('sgConversionVisitCounter') ) {window.visitCounter = getCookie('sgConversionVisitCounter');} else {window.visitCounter = 0;}window.visitCounter++;limit = 60 * 60 * 24 * 365;document.cookie = 'sgConversionVisitCounter='+ window.visitCounter +'; max-age='+ limit +'; path=/';}function sgPopup598reachGoal(code) {function executeGoal(params) {if(typeof params == 'object') {eval('ym('+ params.join(',') +');');let data = {'goal': params[2],timestamp: new Date().toISOString()};var xmlhr = new XMLHttpRequest();xmlhr.open('POST', "https://1001doc.ru/bitrix/services/main/ajax.php?action=generator:conversion.api.ajax.goalLog");xmlhr.send(JSON.stringify(data));xmlhr.onreadystatechange = function() {if (xmlhr.readyState === 4 && xmlhr.status === 200) {const params = new URLSearchParams(window.location.search);if( params.get('debug') ) {const response = JSON.parse(xmlhr.response);console.log(response);}}}}}const goals = code.split(';');if(goals) {for(let goal of goals) {goal = goal.trim();if(goal != '') {const regexp = /ym(.*)/;if( regexp.test(goal) ) {goal = goal.replace('ym(', '');goal = goal.replace(')', '');const params = goal.split(',');if(params) {if (typeof window.ym != 'undefined') {executeGoal(params);} else {if(typeof window.popup598goals == 'undefined') {window.popup598goals = [];}window.popup598goals.push({'metrika': params[0],'action': params[1],'id': params[2]});if(typeof popup598interval == 'undefined') {popup598interval = setInterval(function(){if (typeof window.ym != 'undefined') {for(let goal of window.popup598goals) {executeGoal(params);}window.popup598goals = [];clearInterval(popup598interval);}}, 1000);}}}} else {eval(goal);}}}}}function sgPopup598(action = false) {if(!action) return;if( ['open', 'forceOpen'].includes(action) ) {if(action == 'open' && window.sgPopup.shown.includes(598)) {return false;}if(window.sgPopup.opened) {if(window.sgPopup.opened != 598) {window.sgPopup.queue.push(598);}} else {window.sgPopup.opened = 598;let html;let closeButton;if(window.innerWidth >= 1040) {html = "<noindex id='SGpopup598' class='popup-wrapper grid-hidden'><div class='popup-area' data-type='area-container' style='position: relative; top: 332px; left: 27px; margin-left: ; width: 465.5px; height: 186px; '><div class='popup-element' data-type='input' style='margin-top: 2px;margin-right: 2px;margin-bottom: 8px;margin-left: 2px;'><div class='popupElement-content'><input type=\"text\" placeholder=\"+7 (000) 000-00-00\" data-name=\"Телефон\" data-mask=\"phone\" required=\"\" style=\"background-color: rgb(255, 255, 255); border-color: rgb(228, 228, 228); color: rgb(116, 126, 120); border-radius: 7px; padding: 10px 20px;\"></div></div><div class='popup-element' data-type='button-submit' style='margin-top: 10px;margin-right: 15px;margin-bottom: 3px;margin-left: 0px;'><div class='popupElement-content'><button type=\"submit\" style=\"background-color: rgba(119, 30, 30, 0); color: rgb(255, 255, 255); font-size: 20px; border-radius: 7px; padding: 40px 31px 35px 5px;\"></button></div></div><div class='popup-element' data-type='agree' data-element-id='788405' data-fill='#000' style='margin-top: 4px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;'><style>#SGpopup598 .popup-element[data-element-id='788405'][data-type='agree'] .popupElement-content input[type='checkbox'] + label:before {border-color: #000;} #SGpopup598 .popup-element[data-element-id='788405'][data-type='agree'] .popupElement-content input[type='checkbox'] + label:after {background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHhtbG5zOnhsaW5rPSdodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rJyB2ZXJzaW9uPScxLjEnIHg9JzBweCcgeT0nMHB4JyB3aWR0aD0nNTEycHgnIGhlaWdodD0nNTEycHgnIHZpZXdCb3g9JzAgMCA0NDIuNTMzIDQ0Mi41MzMnIHN0eWxlPSdlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDQ0Mi41MzMgNDQyLjUzMycgeG1sOnNwYWNlPSdwcmVzZXJ2ZSc+PHBhdGggZD0nTTQzNC41MzksOTguNDk5bC0zOC44MjgtMzguODI4Yy01LjMyNC01LjMyOC0xMS43OTktNy45OTMtMTkuNDEtNy45OTNjLTcuNjE4LDAtMTQuMDkzLDIuNjY1LTE5LjQxNyw3Ljk5M0wxNjkuNTksMjQ3LjI0OCBsLTgzLjkzOS04NC4yMjVjLTUuMzMtNS4zMy0xMS44MDEtNy45OTItMTkuNDEyLTcuOTkyYy03LjYxNiwwLTE0LjA4NywyLjY2Mi0xOS40MTcsNy45OTJMNy45OTQsMjAxLjg1MiAgIEMyLjY2NCwyMDcuMTgxLDAsMjEzLjY1NCwwLDIyMS4yNjljMCw3LjYwOSwyLjY2NCwxNC4wODgsNy45OTQsMTkuNDE2bDEwMy4zNTEsMTAzLjM0OWwzOC44MzEsMzguODI4IGM1LjMyNyw1LjMzMiwxMS44LDcuOTk0LDE5LjQxNCw3Ljk5NGM3LjYxMSwwLDE0LjA4NC0yLjY2OSwxOS40MTQtNy45OTRsMzguODMtMzguODI4TDQzNC41MzksMTM3LjMzIGM1LjMyNS01LjMzLDcuOTk0LTExLjgwMiw3Ljk5NC0xOS40MTdDNDQyLjUzNywxMTAuMzAyLDQzOS44NjQsMTAzLjgyOSw0MzQuNTM5LDk4LjQ5OXonIGZpbGw9JyMwMDAnLz48L3N2Zz4=);}</style><div class='popupElement-content'><input id=\"agree338_oJyle\" type=\"checkbox\" required checked=\"\" tabindex=\"-1\" data-orig-tabindex=\"-1\"><label for=\"agree338_oJyle\"><p><span style=\"color:hsl(0,0%,60%);font-size:9px;\">Я принимаю условия</span><a href=\"https://1001doc.ru/include/files/privacy-policy.pdf\" target=\"_blank\" rel=\"noopener noreferrer\"><span style=\"color:hsl(0,0%,60%);font-size:9px;\"><u> пользовательского соглашения</u> </span></a><span style=\"color:hsl(0,0%,60%);font-size:9px;\">и даю согласие на обработку персональных данных</span></p></label></div></div></div><div class='popup-area' data-type='area-container' style='position: relative; top: -141px; left: 847px; margin-left: ; width: 75.5px; height: 44.5px; '><div class='popup-element' data-type='editor' data-element-id='959338' style='margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;'><style></style><div class='popupElement-content'><p><span style=\"color:hsl(215,84%,55%);font-size:14px;\"><strong>{date}</strong></span></p></div></div></div><div class='popup-area' data-type='close-container' style='position: absolute; top: -40px; left: 100%; margin-left: -40px; width: 40px; height: 40px; '><div class='popup-element' data-type='button-close' style=''><div class='popupElement-content'><button type=\"close\" data-fancybox-close=\"\" style=\"padding: 10px; width: 38px; height: 38px; background-color: rgba(0, 0, 0, 0); border: 1px solid rgb(255, 255, 255, 0); border-radius: 18px;\"><svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 18 18\" fill=\"#d6d6d6\" style=\"fill: rgb(255, 4, 4);\"><path d=\"M1.8 18L0 16.2L7.2 9L0 1.8L1.8 0L9 7.2L16.2 0L18 1.8L10.8 9L18 16.2L16.2 18L9 10.8L1.8 18Z\"></path></svg></button></div></div></div><input type='hidden' name='popupID' value='598'><input type='hidden' name='projectID' value='47'></noindex>";closeButton = false;} else {html = "<noindex id='SGpopup598' class='popup-wrapper grid-hidden'><div class='popup-area' data-type='area-container' style='position: relative; top: 308px; left: 12px; margin-left: ; width: 332.667px; height: 179px; '><div class='popup-element' data-type='input' style='margin-top: 0px;margin-right: 2px;margin-bottom: 3px;margin-left: 2px;'><div class='popupElement-content'><input type=\"text\" placeholder=\"+7 (000) 000 00-00\" data-name=\"Телефон\" data-mask=\"phone\" required=\"\" style=\"background-color: rgb(255, 255, 255); border-color: rgb(228, 228, 228); color: rgb(116, 126, 120); border-radius: 7px; padding: 10px 20px;\"></div></div><div class='popup-element' data-type='button-submit' style='margin-top: 6px;margin-right: 15px;margin-bottom: 6px;margin-left: 0px;'><div class='popupElement-content'><button type=\"submit\" style=\"background-color: rgba(51, 15, 15, 0); color: rgb(255, 255, 255); font-size: 20px; border-radius: 7px; padding: 30px 31px 30px 0px;\"></button></div></div><div class='popup-element' data-type='agree' data-element-id='101026' data-fill='#000' style='margin-top: 5px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;'><style>#SGpopup598 .popup-element[data-element-id='101026'][data-type='agree'] .popupElement-content input[type='checkbox'] + label:before {border-color: #000;} #SGpopup598 .popup-element[data-element-id='101026'][data-type='agree'] .popupElement-content input[type='checkbox'] + label:after {background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHhtbG5zOnhsaW5rPSdodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rJyB2ZXJzaW9uPScxLjEnIHg9JzBweCcgeT0nMHB4JyB3aWR0aD0nNTEycHgnIGhlaWdodD0nNTEycHgnIHZpZXdCb3g9JzAgMCA0NDIuNTMzIDQ0Mi41MzMnIHN0eWxlPSdlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDQ0Mi41MzMgNDQyLjUzMycgeG1sOnNwYWNlPSdwcmVzZXJ2ZSc+PHBhdGggZD0nTTQzNC41MzksOTguNDk5bC0zOC44MjgtMzguODI4Yy01LjMyNC01LjMyOC0xMS43OTktNy45OTMtMTkuNDEtNy45OTNjLTcuNjE4LDAtMTQuMDkzLDIuNjY1LTE5LjQxNyw3Ljk5M0wxNjkuNTksMjQ3LjI0OCBsLTgzLjkzOS04NC4yMjVjLTUuMzMtNS4zMy0xMS44MDEtNy45OTItMTkuNDEyLTcuOTkyYy03LjYxNiwwLTE0LjA4NywyLjY2Mi0xOS40MTcsNy45OTJMNy45OTQsMjAxLjg1MiAgIEMyLjY2NCwyMDcuMTgxLDAsMjEzLjY1NCwwLDIyMS4yNjljMCw3LjYwOSwyLjY2NCwxNC4wODgsNy45OTQsMTkuNDE2bDEwMy4zNTEsMTAzLjM0OWwzOC44MzEsMzguODI4IGM1LjMyNyw1LjMzMiwxMS44LDcuOTk0LDE5LjQxNCw3Ljk5NGM3LjYxMSwwLDE0LjA4NC0yLjY2OSwxOS40MTQtNy45OTRsMzguODMtMzguODI4TDQzNC41MzksMTM3LjMzIGM1LjMyNS01LjMzLDcuOTk0LTExLjgwMiw3Ljk5NC0xOS40MTdDNDQyLjUzNywxMTAuMzAyLDQzOS44NjQsMTAzLjgyOSw0MzQuNTM5LDk4LjQ5OXonIGZpbGw9JyMwMDAnLz48L3N2Zz4=);}</style><div class='popupElement-content'><input id=\"agree_^-Z7!\" type=\"checkbox\" required checked=\"\" tabindex=\"-1\" data-orig-tabindex=\"-1\"><label for=\"agree_^-Z7!\"><h3><span style=\"background-color:hsl(0, 0%, 100%);color:hsl(0,0%,60%);font-size:9px;\">Я принимаю условия</span><a href=\"https://1001doc.ru/include/files/privacy-policy.pdf\" target=\"_blank\" rel=\"noopener noreferrer\"><span style=\"background-color:hsl(0, 0%, 100%);color:hsl(0,0%,60%);font-size:9px;\"> <u>пользовательского соглашения </u></span></a><span style=\"background-color:hsl(0, 0%, 100%);color:hsl(0,0%,60%);font-size:9px;\">и даю согласие на обработку персональных данных</span></h3></label></div></div></div><div class='popup-area' data-type='area-container' style='position: relative; top: -157px; left: 216px; margin-left: ; width: 75.5px; height: 44.5px; '><div class='popup-element' data-type='editor' data-element-id='291170' style='margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;'><style></style><div class='popupElement-content'><p><span style=\"color:hsl(215,84%,55%);font-size:14px;\">{date}</span></p></div></div></div><div class='popup-area' data-type='close-container' style='position: absolute; top: -40px; left: 100%; margin-left: -40px; width: 40px; height: 40px; '></div><div class='popup-area' data-type='area-container' style='position: relative; top: -223.008px; left: 318px; margin-left: ; width: 31.5px; height: 41.5px; '><div class='popup-element' data-type='button-close' style=''><div class='popupElement-content'><button type=\"close\" data-fancybox-close=\"\" style=\"padding: 10px; width: 38px; height: 38px; background-color: rgba(0, 0, 0, 0); border: 1px solid rgb(255, 255, 255, 0); border-radius: 18px;\"><svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 18 18\" fill=\"#d6d6d6\" style=\"fill: rgb(255, 21, 21);\"><path d=\"M1.8 18L0 16.2L7.2 9L0 1.8L1.8 0L9 7.2L16.2 0L18 1.8L10.8 9L18 16.2L16.2 18L9 10.8L1.8 18Z\"></path></svg></button></div></div></div><input type='hidden' name='popupID' value='598'><input type='hidden' name='projectID' value='47'></noindex>";closeButton = false;}dateFrom = 1672531200 * 1000;if(dateFrom < Date.now()) {do {dateFrom += 15 * 24 * 60 * 60 * 1000;} while (dateFrom < Date.now());}for (const match of html.matchAll(/{date((\+|\-)([0-9]*))?}/g)) {dateTo = dateFrom;if(typeof match[1] != 'undefined') {dateTo += match[1] * 24 * 60 * 60 * 1000;}dateTo = new Date(dateTo);formatDate = '{day}.{month}';if(formatDate.indexOf('{day}') != -1) {day = dateTo.getDate();if("number_short" == "number_full") {if(day < 10) {day = '0' + day;}}formatDate = formatDate.replace('{day}', day);}if(formatDate.indexOf('{month}') != -1) {month = dateTo.getMonth() + 1;if("number_full" == "number_full") {if(month < 10) {month = '0' + month;}} else if("number_full" == "text_nominative") {let months = {1: 'январь',2: 'февраль',3: 'март',4: 'апрель',5: 'май',6: 'июнь',7: 'июль',8: 'август',9: 'сентябрь',10: 'октябрь',11: 'ноябрь',12: 'декабрь'};month = months[month];} else if("number_full" == "text_genitive") {let months = {1: 'января',2: 'февраля',3: 'марта',4: 'апреля',5: 'мая',6: 'июня',7: 'июля',8: 'августа',9: 'сентября',10: 'октября',11: 'ноября',12: 'декабря'};month = months[month];}formatDate = formatDate.replace('{month}', month);}if(formatDate.indexOf('{year}') != -1) {year = dateTo.getFullYear();if("number_short" == "number_short") {year = year.toString().substr(-2);}formatDate = formatDate.replace('{year}', year);}html = html.replaceAll(match[0], formatDate);};Fancybox.close();new Fancybox([{src: html,type: 'html'}], {dragToClose: false,closeButton: closeButton,compact: false,autoFocus: false,trapFocus: false,on: {done: (fancybox, slide) => {sgPopup598reachGoal("ym(96577005,'reachGoal','pokaz_up_dok_oglavlenie4');");const popup = document.querySelector("#SGpopup598");if(popup) {const url = new URL(location.href);window.utm_source = url.searchParams.get('utm_source');window.utm_medium = url.searchParams.get('utm_medium');window.utm_campaign = url.searchParams.get('utm_campaign');window.utm_term = url.searchParams.get('utm_term');window.utm_content = url.searchParams.get('utm_content');openerLinks = popup.querySelectorAll('a[data-target]');if(openerLinks) {for(let openerLink of openerLinks) {openerLink.addEventListener('click', function(){if(openerLink.dataset.target) {if(typeof window[openerLink.dataset.target] == 'function') {Fancybox.close();window[openerLink.dataset.target]('open');}}});}}linkImages = popup.querySelectorAll('.image-wrapper[data-type="link"]');if(linkImages) {for(let linkImage of linkImages) {linkImage.addEventListener('click', function(){if(linkImage.dataset.link) {if(linkImage.dataset.target == '_blank') {window.open(linkImage.dataset.link);} else {location.href = linkImage.dataset.link}}});}}openerImages = popup.querySelectorAll('.image-wrapper[data-type="opener"]');if(openerImages) {for(let openerImage of openerImages) {openerImage.addEventListener('click', function(){if(openerImage.dataset.popup) {if(typeof window['sgPopup' + openerImage.dataset.popup] == 'function') {Fancybox.close();window['sgPopup' + openerImage.dataset.popup]('forceOpen');}}});}}submitImages = popup.querySelectorAll('.image-wrapper[data-type="submitter"]');if(submitImages) {for(let submitImage of submitImages) {submitImage.addEventListener('click', function(){if(submitImage.classList.contains('disabled')) return false;submitImage.classList.add('disabled');sgPopup598submit(function(result){submitImage.classList.toggle('disabled', result);});});}}const linkButtons = popup.querySelectorAll('button[data-type="link"]');if(linkButtons) {for(let linkButton of linkButtons) {linkButton.addEventListener('click', function(){if(linkButton.dataset.link && linkButton.dataset.link != '#') {if(linkButton.dataset.target == '_blank') {window.open(linkButton.dataset.link);} else {location.href = linkButton.dataset.link}}});}}openerButtons = popup.querySelectorAll('button[data-type="opener"]');if(openerButtons) {for(let openerButton of openerButtons) {openerButton.addEventListener('click', function(){if(openerButton.dataset.popup) {if(typeof window['sgPopup' + openerButton.dataset.popup] == 'function') {Fancybox.close();window['sgPopup' + openerButton.dataset.popup]('forceOpen');}}});}}const maskedFields = popup.querySelectorAll('input[data-mask]');if(maskedFields) {for(let maskedField of maskedFields) {if(maskedField.dataset.mask == 'phone') {Inputmask('+7 (999) 999-99-99', {clearIncomplete: true,greedy: false}).mask(maskedField);} else if(maskedField.dataset.mask == 'email') {Inputmask({alias: 'email',clearIncomplete: true,greedy: false}).mask(maskedField);}}}const fileInputs = popup.querySelectorAll('.popup-element[data-type="input-file"] input[type="file"]');if(fileInputs) {for(let fileInput of fileInputs) {let label = fileInput.nextElementSibling;if(label) {fileInput.addEventListener('change', function() {if (fileInput.files && fileInput.files.length > 0) {const maxSize = fileInput.dataset.limit;if(fileInput.files[0].size <= maxSize * 1024 * 1024) {reader = new FileReader();reader.onload = function(){const span = label.querySelector('span');if(span) {span.innerHTML = fileInput.files[0].name;}fileInput.dataset.content = reader.result;};reader.readAsDataURL(fileInput.files[0]);} else {alert('Превышен максимальный размер файла - '+ maxSize +'мб');}}});label.addEventListener('click', function(event){event.preventDefault();fileInput.click();});}}}const agrees = popup.querySelectorAll('.popup-element[data-type="agree"] input[type="checkbox"]');if(agrees) {for(let agree of agrees) {let label = agree.nextElementSibling;if(label) {label.addEventListener('click', function(event){event.preventDefault();agree.checked = !agree.checked;});const links = label.querySelectorAll('a');if(links) {for(let link of links) {link.addEventListener('click', function(event){event.stopPropagation()});}}}}}const wheel = popup.querySelector('.popup-element[data-type="wheel"]');let wheelInterval;let wheelAngle = 0;if(wheel){const circle = popup.querySelector('.wheel-circle img');if(circle) {wheelInterval = setInterval(function(){wheelAngle += 0.2;if(wheelAngle > 360) {wheelAngle -= 360;}circle.setAttribute('style', 'transform: rotate('+ wheelAngle +'deg)');}, 40);}}const closeTriggers = popup.querySelectorAll('.popup-element[data-type="button-close"] button:not([data-fancybox-close])');if(closeTriggers) {for(let closeTrigger of closeTriggers) {closeTrigger.addEventListener('click', function(){Fancybox.close();})}}function sgPopup598submit(callback = false) {let hasError = false;const requiredInputs = popup.querySelectorAll('input[data-name][required]');if(requiredInputs) {for(let requiredInput of requiredInputs) {if(requiredInput.dataset.mask) {if(requiredInput.dataset.mask == 'phone') {if(!Inputmask.isValid(requiredInput.value, { mask: '+7 (999) 999-99-99'})) {requiredInput.classList.add('error');hasError = true;} else {requiredInput.classList.remove('error');}} else if(requiredInput.dataset.mask == 'phone_intl' && typeof window.sgPopup.elements.intl != 'undefined') {intl = window.sgPopup.elements.intl;if(!intl.isValidNumberPrecise()) {requiredInput.classList.add('error');hasError = true;} else {requiredInput.classList.remove('error');}} else if(requiredInput.dataset.mask == 'email') {if(!Inputmask.isValid(requiredInput.value, {alias: 'email'})) {requiredInput.classList.add('error');hasError = true;} else {requiredInput.classList.remove('error');}}} else {if(requiredInput.value == '') {requiredInput.classList.add('error');hasError = true;} else {requiredInput.classList.remove('error');}}}}const requiredTextareas = popup.querySelectorAll('textarea[data-name][required]');if(requiredTextareas) {for(let requiredTextarea of requiredTextareas) {if(requiredTextarea.value == '') {requiredTextarea.classList.add('error');hasError = true;} else {requiredTextarea.classList.remove('error');}}}const requiredSelects = popup.querySelectorAll('select[data-name][required]');if(requiredSelects) {for(let requiredSelect of requiredSelects) {const niceSelect = requiredSelect.nextElementSibling;if(niceSelect) {if(niceSelect.querySelector('.option.selected')) {niceSelect.classList.remove('error')} else {niceSelect.classList.add('error');hasError = true}}}}if(agrees) {for(let agree of agrees) {if(agree.required) {let label = agree.nextElementSibling;if(agree.checked) {label.classList.remove('error');} else {label.classList.add('error');hasError = true;}}}}if(hasError) {if (callback && typeof callback === 'function') {callback(false);}return false;}function sgPopup598sendRequest() {let data = {fields: [],cookie: document.cookie,source: location.href};const inputs = popup.querySelectorAll('input[data-name]');if(inputs) {for(let input of inputs) {if(input.dataset.mask == 'phone_intl' && typeof window.sgPopup.elements.intl != 'undefined') {intl = window.sgPopup.elements.intl;data.fields.push({name: input.dataset.name,value: intl.getNumber()});} else {data.fields.push({name: input.dataset.name,value: input.value});}}}const textareas = popup.querySelectorAll('textarea[data-name]');if(textareas) {for(let textarea of textareas) {data.fields.push({name: textarea.dataset.name,value: textarea.value});}}if(typeof selects != 'undefined') {for(let select of selects) {data.fields.push({name: select.dataset.name,value: select.value});}}const hiddenInputs = popup.querySelectorAll('input[type="hidden"]');for(let hiddenInput of hiddenInputs) {const name = hiddenInput.name;data[hiddenInput.name] = hiddenInput.value;}const fileInputs = popup.querySelectorAll('.popup-element[data-type="input-file"] input[type="file"]');if(fileInputs) {data.files = [];for(let fileInput of fileInputs) {if (fileInput.files && fileInput.files.length > 0) {data.files.push({'name': fileInput.files[0].name,'content': fileInput.dataset.content});}}}if( wheel && typeof window.prize != 'undefined' ) {data.fields.push(window.prize);}var xmlhr = new XMLHttpRequest();xmlhr.open('POST', "https://1001doc.ru/bitrix/services/main/ajax.php?action=generator:conversion.api.ajax.formSubmit");xmlhr.send(JSON.stringify(data));xmlhr.onreadystatechange = function() {if (xmlhr.readyState === 4 && xmlhr.status === 200) {console.log(xmlhr.response);const response = JSON.parse(xmlhr.response);console.log(response);}};sgPopup598reachGoal("ym(96577005,'reachGoal','lead_up_dok_oglavlenie4');");sgSuccessPopup598();let redirect = {url: 'https://1001doc.ru/upload/popup_189_attachment.pdf',newtab: '1',timeout: '3000'};if( typeof redirect != 'undefined' ) {sgSuccessRedirect598(redirect);}return true;}if(wheel){const circle = popup.querySelector('.wheel-circle img');if(circle) {clearInterval(wheelInterval);}} else {const result = sgPopup598sendRequest();if (callback && typeof callback === 'function') {callback(result);}}}areaLinks = popup.querySelectorAll('.popup-area[data-type="area-link"]');if(areaLinks) {for(let areaLink of areaLinks) {areaLink.addEventListener('click', function(){if(areaLink.dataset.link && areaLink.dataset.link != '#') {if(areaLink.dataset.target == '_blank') {window.open(areaLink.dataset.link);} else {location.href = areaLink.dataset.link}}});}}areaOpeners = popup.querySelectorAll('.popup-area[data-type="area-opener"]');if(areaOpeners) {for(let areaOpener of areaOpeners) {areaOpener.addEventListener('click', function(){if(areaOpener.dataset.popup) {if(typeof window['sgPopup' + areaOpener.dataset.popup] == 'function') {Fancybox.close();window['sgPopup' + areaOpener.dataset.popup]('forceOpen');}}});}}const submitButton = popup.querySelector(".popup-element[data-type='button-submit'] button");if(submitButton) {submitButton.addEventListener('click', function(event){event.preventDefault();submitButton.disabled = true;sgPopup598submit(function(result){submitButton.disabled = result;});})}}},close: () => {window.sgPopup.opened = false;window.sgPopup.shown.push(598);if(window.sgPopup.queue.length) {setTimeout(function(){let popupID = window.sgPopup.queue.shift();window['sgPopup' + popupID]('forceOpen');}, 30000);}},}});}}}function sgSuccessPopup598() {let html;let closeButton;if(window.innerWidth >= 1040) {html = "<noindex id='SGsuccess598' class='popup-wrapper grid-hidden'><div class='success-area' data-type='area-container' style='position: absolute; top: 120px; left: 40px; width: 370px; height: 180px; '><div class='success-element' data-type='editor' style='margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; '><div class='successElement-content'><p style='text-align: center'><span style='font-size: 30px'>Спасибо, материалы отправлены вам!</span></p></div></div></div><div class='success-area' data-type='close-container' style='position: absolute; top: -40px; left: 450px; margin-left: -40px; width: 40px; height: 40px; '><div class='success-element' data-type='button-close' style='margin-top: 0px; margin-left: 0px; '><div class='successElement-content'><button type='close' data-fancybox-close style='padding: 10px; width: 40px; height: 40px; background-color: rgba(0, 0, 0, 0); border: 1px solid rgb(255, 255, 255, 0); border-radius: 18px'><svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18' style='fill: rgb(235, 41, 41)'><path d='M1.8 18L0 16.2L7.2 9L0 1.8L1.8 0L9 7.2L16.2 0L18 1.8L10.8 9L18 16.2L16.2 18L9 10.8L1.8 18Z'></path></svg></button></div></div></div></noindex>";closeButton = false;} else {html = "<noindex id='SGsuccess598' class='popup-wrapper grid-hidden'><div class='success-area' data-type='area-container' style='position: absolute; top: 75px; left: 20px; width: 260px; height: 135px; '><div class='success-element' data-type='editor' style='margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; '><div class='successElement-content'><p style='text-align: center'><span style='font-size: 22px'>Спасибо, материалы отправлены вам!</span></p></div></div></div><div class='success-area' data-type='close-container' style='position: absolute; top: -30px; left: 300px; margin-left: -30px; width: 30px; height: 30px; '><div class='success-element' data-type='button-close' style='margin-top: 0px; margin-left: 0px; '><div class='successElement-content'><button type='close' data-fancybox-close style='padding: 7px; width: 30px; height: 30px; background-color: rgba(0, 0, 0, 0); border: 1px solid rgb(255, 255, 255, 0); border-radius: 18px'><svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18' style='fill: rgb(235, 41, 41)'><path d='M1.8 18L0 16.2L7.2 9L0 1.8L1.8 0L9 7.2L16.2 0L18 1.8L10.8 9L18 16.2L16.2 18L9 10.8L1.8 18Z'></path></svg></button></div></div></div></noindex>";closeButton = false;}Fancybox.close();new Fancybox([{src: html,type: 'html'}], {dragToClose: false,closeButton: closeButton,autoFocus: false,trapFocus: false,on: {done: (fancybox, slide) => {const success = document.querySelector("#SGsuccess598");if(success) {buttonLinks = success.querySelectorAll('button[data-type="link"]');if(buttonLinks) {for(let buttonLink of buttonLinks) {buttonLink.addEventListener('click', function(){if(buttonLink.dataset.link) {if(buttonLink.dataset.target == '_blank') {window.open(buttonLink.dataset.link);} else {location.href = buttonLink.dataset.link}}});}}}setTimeout(function(){Fancybox.close();}, 3000);},close: () => {window.sgPopup.opened = false;}}});}function sgSuccessRedirect598(redirect) {setTimeout(function(){Fancybox.close();const clickEvent = new MouseEvent('click', {bubbles: true,cancelable: true});const link = document.createElement('a');link.setAttribute('href', redirect.url);if(redirect.newtab != '') {link.setAttribute('target', '_blank');}document.body.append(link);link.dispatchEvent(clickEvent);link.parentNode.removeChild(link);}, redirect.timeout);}</script><script>if(typeof window.sgPopup == 'undefined') {window.sgPopup = {opened: false,queue: [],shown: [],elements: {}};}addEventListener('DOMContentLoaded', () => {document.body.addEventListener('click', function(event){if(event.target.dataset.target == "sgPopup748"|| event.target.closest('[data-target="sgPopup748"]')) {Fancybox.close();sgPopup748('forceOpen');}});sgPopup748autoOpen();});function sgPopup748autoOpen() {}if(typeof getCookie == 'undefined') {function getCookie(name) {var v = document.cookie.match('(^|;) ?' + name + '=([^;]*)(;|$)');return v ? v[2] : null;}}if(typeof window.visitCounter == 'undefined') {if( getCookie('sgConversionVisitCounter') ) {window.visitCounter = getCookie('sgConversionVisitCounter');} else {window.visitCounter = 0;}window.visitCounter++;limit = 60 * 60 * 24 * 365;document.cookie = 'sgConversionVisitCounter='+ window.visitCounter +'; max-age='+ limit +'; path=/';}function sgPopup748reachGoal(code) {function executeGoal(params) {if(typeof params == 'object') {eval('ym('+ params.join(',') +');');let data = {'goal': params[2],timestamp: new Date().toISOString()};var xmlhr = new XMLHttpRequest();xmlhr.open('POST', "https://1001doc.ru/bitrix/services/main/ajax.php?action=generator:conversion.api.ajax.goalLog");xmlhr.send(JSON.stringify(data));xmlhr.onreadystatechange = function() {if (xmlhr.readyState === 4 && xmlhr.status === 200) {const params = new URLSearchParams(window.location.search);if( params.get('debug') ) {const response = JSON.parse(xmlhr.response);console.log(response);}}}}}const goals = code.split(';');if(goals) {for(let goal of goals) {goal = goal.trim();if(goal != '') {const regexp = /ym(.*)/;if( regexp.test(goal) ) {goal = goal.replace('ym(', '');goal = goal.replace(')', '');const params = goal.split(',');if(params) {if (typeof window.ym != 'undefined') {executeGoal(params);} else {if(typeof window.popup748goals == 'undefined') {window.popup748goals = [];}window.popup748goals.push({'metrika': params[0],'action': params[1],'id': params[2]});if(typeof popup748interval == 'undefined') {popup748interval = setInterval(function(){if (typeof window.ym != 'undefined') {for(let goal of window.popup748goals) {executeGoal(params);}window.popup748goals = [];clearInterval(popup748interval);}}, 1000);}}}} else {eval(goal);}}}}}function sgPopup748(action = false) {if(!action) return;if( ['open', 'forceOpen'].includes(action) ) {if(action == 'open' && window.sgPopup.shown.includes(748)) {return false;}if(window.sgPopup.opened) {if(window.sgPopup.opened != 748) {window.sgPopup.queue.push(748);}} else {window.sgPopup.opened = 748;let html;let closeButton;if(window.innerWidth >= 1040) {html = "<noindex id='SGpopup748' class='popup-wrapper grid-hidden'><div class='popup-area' data-type='close-container' style='position: absolute; top: 0.0625px; left: 995.891px; margin-left: -40px; width: 40px; height: 40px; '><div class='popup-element' data-type='button-close' style=''><div class='popupElement-content'><button type=\"close\" data-fancybox-close=\"\" style=\"padding: 10px; width: 45px; height: 38px; background-color: rgba(0, 0, 0, 0); border: 0px solid rgba(255, 255, 255, 0); border-radius: 18px;\"><svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 18 18\" fill=\"#d6d6d6\" style=\"fill: rgb(187, 187, 187);\"><path d=\"M1.8 18L0 16.2L7.2 9L0 1.8L1.8 0L9 7.2L16.2 0L18 1.8L10.8 9L18 16.2L16.2 18L9 10.8L1.8 18Z\"></path></svg></button></div></div></div><div class='popup-area' data-type='area-container' style='position: relative; top: 353px; left: 31px; margin-left: ; width: 375.889px; height: 182.667px; '><div class='popup-element' data-type='input' style='margin-top: 0px;margin-right: 0px;margin-bottom: 18px;margin-left: 0px;'><div class='popupElement-content'><input type=\"text\" placeholder=\"+7 (000) 000-00-00\" data-name=\"Телефон\" data-mask=\"phone\" required=\"\" style=\"background-color: rgb(255, 255, 255); border-color: rgb(228, 228, 228); color: rgb(116, 126, 120); padding: 9px 15px; border-radius: 7px;\"></div></div><div class='popup-element' data-type='button-submit' style='margin-top: 0px;margin-right: 0px;margin-bottom: 4px;margin-left: 0px;'><div class='popupElement-content'><button type=\"submit\" style=\"background-color: rgb(46, 127, 237); color: rgb(255, 255, 255); font-size: 25px; padding: 26px 17px 26px 7px; border-radius: 7px;\">ЗАБРАТЬ МОЙ ПОДАРОК</button></div></div><div class='popup-element' data-type='agree' data-element-id='398828' data-fill='#000' style='margin-top: 1px;margin-right: 1px;margin-bottom: 1px;margin-left: 1px;'><style>#SGpopup748 .popup-element[data-element-id='398828'][data-type='agree'] .popupElement-content input[type='checkbox'] + label:before {border-color: #000;} #SGpopup748 .popup-element[data-element-id='398828'][data-type='agree'] .popupElement-content input[type='checkbox'] + label:after {background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHhtbG5zOnhsaW5rPSdodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rJyB2ZXJzaW9uPScxLjEnIHg9JzBweCcgeT0nMHB4JyB3aWR0aD0nNTEycHgnIGhlaWdodD0nNTEycHgnIHZpZXdCb3g9JzAgMCA0NDIuNTMzIDQ0Mi41MzMnIHN0eWxlPSdlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDQ0Mi41MzMgNDQyLjUzMycgeG1sOnNwYWNlPSdwcmVzZXJ2ZSc+PHBhdGggZD0nTTQzNC41MzksOTguNDk5bC0zOC44MjgtMzguODI4Yy01LjMyNC01LjMyOC0xMS43OTktNy45OTMtMTkuNDEtNy45OTNjLTcuNjE4LDAtMTQuMDkzLDIuNjY1LTE5LjQxNyw3Ljk5M0wxNjkuNTksMjQ3LjI0OCBsLTgzLjkzOS04NC4yMjVjLTUuMzMtNS4zMy0xMS44MDEtNy45OTItMTkuNDEyLTcuOTkyYy03LjYxNiwwLTE0LjA4NywyLjY2Mi0xOS40MTcsNy45OTJMNy45OTQsMjAxLjg1MiAgIEMyLjY2NCwyMDcuMTgxLDAsMjEzLjY1NCwwLDIyMS4yNjljMCw3LjYwOSwyLjY2NCwxNC4wODgsNy45OTQsMTkuNDE2bDEwMy4zNTEsMTAzLjM0OWwzOC44MzEsMzguODI4IGM1LjMyNyw1LjMzMiwxMS44LDcuOTk0LDE5LjQxNCw3Ljk5NGM3LjYxMSwwLDE0LjA4NC0yLjY2OSwxOS40MTQtNy45OTRsMzguODMtMzguODI4TDQzNC41MzksMTM3LjMzIGM1LjMyNS01LjMzLDcuOTk0LTExLjgwMiw3Ljk5NC0xOS40MTdDNDQyLjUzNywxMTAuMzAyLDQzOS44NjQsMTAzLjgyOSw0MzQuNTM5LDk4LjQ5OXonIGZpbGw9JyMwMDAnLz48L3N2Zz4=);}</style><div class='popupElement-content'><input type=\"checkbox\" required=\"\" checked=\"\" tabindex=\"-1\" data-orig-tabindex=\"-1\"><label><p><span style=\"color:hsl(0, 0%, 60%);font-size:8px;\">Я принимаю условия</span><a href=\"https://1001doc.ru/include/files/privacy-policy.pdf\" target=\"_blank\" rel=\"noopener noreferrer\"><span style=\"color:hsl(0, 0%, 60%);font-size:8px;\"><u> пользовательского соглашения</u> </span></a><span style=\"color:hsl(0, 0%, 60%);font-size:8px;\">и даю согласие на обработку персональных данных</span></p></label></div></div></div><div class='popup-area' data-type='area-container' style='position: relative; top: -128px; left: 160px; margin-left: ; width: 82.8889px; height: 42.8889px; '><div class='popup-element' data-type='editor' data-element-id='492014' style='margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;padding-top: ;padding-right: ;padding-bottom: ;padding-left: ;'><style></style><div class='popupElement-content'><p><span style=\"color:hsl(0, 0%, 100%);font-size:20px;\"><strong>{date}</strong></span></p></div></div></div><div class='popup-element' data-type='wheel' style='position: absolute; top: 0px; left: 430px'><div class='popupElement-content'><div class=\"wheel-circle\"><img src=\"https://conversion-sg.ru/upload/47/popups/748/1741092179.png\" width=\"570\" height=\"570\" alt=\"1741092179.png\"></div><div class=\"wheel-prizes\" style=\"margin-top: 27px; margin-left: 27px\"><img src=\"https://conversion-sg.ru/upload/47/popups/748/1754045310.png\" width=\"516\" height=\"516\" alt=\"1754045310.png\"></div></div></div><input type='hidden' name='popupID' value='748'><input type='hidden' name='projectID' value='47'></noindex>";closeButton = false;} else {html = "<noindex id='SGpopup748' class='popup-wrapper grid-hidden'><div class='popup-area' data-type='close-container' style='position: absolute; top: 1.99306px; left: 386.993px; margin-left: -40px; width: 87.6667px; height: 81.6667px; '><div class='popup-element' data-type='button-close' style=''><div class='popupElement-content'><button type=\"close\" data-fancybox-close=\"\" style=\"padding: 5px; width: 25px; height: 25px; background-color: rgba(255, 255, 255, 0); border: 0px solid rgb(255, 255, 255); border-radius: 23px;\"><svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 18 18\" fill=\"#d6d6d6\" style=\"fill: rgb(255, 52, 52);\"><path d=\"M1.8 18L0 16.2L7.2 9L0 1.8L1.8 0L9 7.2L16.2 0L18 1.8L10.8 9L18 16.2L16.2 18L9 10.8L1.8 18Z\"></path></svg></button></div></div></div><div class='popup-area' data-type='area-container' style='position: relative; top: 250px; left: 22px; margin-left: ; width: 328.889px; height: 182.667px; '><div class='popup-element' data-type='input' style='margin-top: 0px;margin-right: 0px;margin-bottom: 7px;margin-left: 0px;'><div class='popupElement-content'><input type=\"text\" placeholder=\"+7 (000) 000-00-00\" data-name=\"Телефон\" data-mask=\"phone\" required=\"\" style=\"background-color: rgb(255, 255, 255); border-color: rgb(228, 228, 228); color: rgb(116, 126, 120); padding: 9px 15px; border-radius: 7px;\"></div></div><div class='popup-element' data-type='button-submit' style='margin-top: 0px;margin-right: 0px;margin-bottom: 4px;margin-left: 0px;'><div class='popupElement-content'><button type=\"submit\" style=\"background-color: rgb(46, 127, 237); color: rgb(255, 255, 255); font-size: 17px; padding: 17px 7px; border-radius: 7px;\">ЗАБРАТЬ МОЙ ПОДАРОК</button></div></div><div class='popup-element' data-type='agree' data-element-id='889585' data-fill='#000' style='margin-top: 1px;margin-right: 1px;margin-bottom: 1px;margin-left: 1px;'><style>#SGpopup748 .popup-element[data-element-id='889585'][data-type='agree'] .popupElement-content input[type='checkbox'] + label:before {border-color: #000;} #SGpopup748 .popup-element[data-element-id='889585'][data-type='agree'] .popupElement-content input[type='checkbox'] + label:after {background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHhtbG5zOnhsaW5rPSdodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rJyB2ZXJzaW9uPScxLjEnIHg9JzBweCcgeT0nMHB4JyB3aWR0aD0nNTEycHgnIGhlaWdodD0nNTEycHgnIHZpZXdCb3g9JzAgMCA0NDIuNTMzIDQ0Mi41MzMnIHN0eWxlPSdlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDQ0Mi41MzMgNDQyLjUzMycgeG1sOnNwYWNlPSdwcmVzZXJ2ZSc+PHBhdGggZD0nTTQzNC41MzksOTguNDk5bC0zOC44MjgtMzguODI4Yy01LjMyNC01LjMyOC0xMS43OTktNy45OTMtMTkuNDEtNy45OTNjLTcuNjE4LDAtMTQuMDkzLDIuNjY1LTE5LjQxNyw3Ljk5M0wxNjkuNTksMjQ3LjI0OCBsLTgzLjkzOS04NC4yMjVjLTUuMzMtNS4zMy0xMS44MDEtNy45OTItMTkuNDEyLTcuOTkyYy03LjYxNiwwLTE0LjA4NywyLjY2Mi0xOS40MTcsNy45OTJMNy45OTQsMjAxLjg1MiAgIEMyLjY2NCwyMDcuMTgxLDAsMjEzLjY1NCwwLDIyMS4yNjljMCw3LjYwOSwyLjY2NCwxNC4wODgsNy45OTQsMTkuNDE2bDEwMy4zNTEsMTAzLjM0OWwzOC44MzEsMzguODI4IGM1LjMyNyw1LjMzMiwxMS44LDcuOTk0LDE5LjQxNCw3Ljk5NGM3LjYxMSwwLDE0LjA4NC0yLjY2OSwxOS40MTQtNy45OTRsMzguODMtMzguODI4TDQzNC41MzksMTM3LjMzIGM1LjMyNS01LjMzLDcuOTk0LTExLjgwMiw3Ljk5NC0xOS40MTdDNDQyLjUzNywxMTAuMzAyLDQzOS44NjQsMTAzLjgyOSw0MzQuNTM5LDk4LjQ5OXonIGZpbGw9JyMwMDAnLz48L3N2Zz4=);}</style><div class='popupElement-content'><input type=\"checkbox\" required=\"\" checked=\"\" tabindex=\"-1\" data-orig-tabindex=\"-1\"><label><p><span style=\"color:hsl(0, 0%, 60%);font-size:8px;\">Я принимаю условия</span><a href=\"https://1001doc.ru/include/files/privacy-policy.pdf\" target=\"_blank\" rel=\"noopener noreferrer\"><span style=\"color:hsl(0, 0%, 60%);font-size:8px;\"><u> пользовательского соглашения</u> </span></a><span style=\"color:hsl(0, 0%, 60%);font-size:8px;\">и даю согласие на обработку персональных данных</span></p></label></div></div></div><div class='popup-area' data-type='area-container' style='position: relative; top: -153px; left: 112px; margin-left: ; width: 82.8889px; height: 32.6667px; '><div class='popup-element' data-type='editor' data-element-id='571472' style='margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;padding-top: ;padding-right: ;padding-bottom: ;padding-left: ;'><style></style><div class='popupElement-content'><p><span style=\"color:hsl(0,0%,100%);font-size:14px;\"><strong>{date}</strong></span></p></div></div></div><div class='popup-element' data-type='wheel' style='position: absolute; top: 388px; left: 5px'><div class='popupElement-content'><div class=\"wheel-circle\"><img src=\"https://conversion-sg.ru/upload/47/popups/748/1741092300.png\" width=\"362\" height=\"362\" alt=\"1741092300.png\"></div><div class=\"wheel-prizes\" style=\"margin-top: 18px; margin-left: 18px\"><img src=\"https://conversion-sg.ru/upload/47/popups/748/1754048461.png\" width=\"327\" height=\"327\" alt=\"1754048461.png\"></div></div></div><input type='hidden' name='popupID' value='748'><input type='hidden' name='projectID' value='47'></noindex>";closeButton = false;}let prize = getCookie('sgPopup748prize_1755528610');if(prize) {if(action == 'forceOpen') {sgSuccessPopup748();}return false;}dateFrom = 1672531200 * 1000;if(dateFrom < Date.now()) {do {dateFrom += 15 * 24 * 60 * 60 * 1000;} while (dateFrom < Date.now());}for (const match of html.matchAll(/{date((\+|\-)([0-9]*))?}/g)) {dateTo = dateFrom;if(typeof match[1] != 'undefined') {dateTo += match[1] * 24 * 60 * 60 * 1000;}dateTo = new Date(dateTo);formatDate = '{day}.{month}';if(formatDate.indexOf('{day}') != -1) {day = dateTo.getDate();if("number_short" == "number_full") {if(day < 10) {day = '0' + day;}}formatDate = formatDate.replace('{day}', day);}if(formatDate.indexOf('{month}') != -1) {month = dateTo.getMonth() + 1;if("number_full" == "number_full") {if(month < 10) {month = '0' + month;}} else if("number_full" == "text_nominative") {let months = {1: 'январь',2: 'февраль',3: 'март',4: 'апрель',5: 'май',6: 'июнь',7: 'июль',8: 'август',9: 'сентябрь',10: 'октябрь',11: 'ноябрь',12: 'декабрь'};month = months[month];} else if("number_full" == "text_genitive") {let months = {1: 'января',2: 'февраля',3: 'марта',4: 'апреля',5: 'мая',6: 'июня',7: 'июля',8: 'августа',9: 'сентября',10: 'октября',11: 'ноября',12: 'декабря'};month = months[month];}formatDate = formatDate.replace('{month}', month);}if(formatDate.indexOf('{year}') != -1) {year = dateTo.getFullYear();if("number_short" == "number_short") {year = year.toString().substr(-2);}formatDate = formatDate.replace('{year}', year);}html = html.replaceAll(match[0], formatDate);};Fancybox.close();new Fancybox([{src: html,type: 'html'}], {dragToClose: false,closeButton: closeButton,compact: false,autoFocus: false,trapFocus: false,on: {done: (fancybox, slide) => {sgPopup748reachGoal("ym(96577005,'reachGoal','pokaz_up_vijet_koleso_fortuny');");const popup = document.querySelector("#SGpopup748");if(popup) {const url = new URL(location.href);window.utm_source = url.searchParams.get('utm_source');window.utm_medium = url.searchParams.get('utm_medium');window.utm_campaign = url.searchParams.get('utm_campaign');window.utm_term = url.searchParams.get('utm_term');window.utm_content = url.searchParams.get('utm_content');openerLinks = popup.querySelectorAll('a[data-target]');if(openerLinks) {for(let openerLink of openerLinks) {openerLink.addEventListener('click', function(){if(openerLink.dataset.target) {if(typeof window[openerLink.dataset.target] == 'function') {Fancybox.close();window[openerLink.dataset.target]('open');}}});}}linkImages = popup.querySelectorAll('.image-wrapper[data-type="link"]');if(linkImages) {for(let linkImage of linkImages) {linkImage.addEventListener('click', function(){if(linkImage.dataset.link) {if(linkImage.dataset.target == '_blank') {window.open(linkImage.dataset.link);} else {location.href = linkImage.dataset.link}}});}}openerImages = popup.querySelectorAll('.image-wrapper[data-type="opener"]');if(openerImages) {for(let openerImage of openerImages) {openerImage.addEventListener('click', function(){if(openerImage.dataset.popup) {if(typeof window['sgPopup' + openerImage.dataset.popup] == 'function') {Fancybox.close();window['sgPopup' + openerImage.dataset.popup]('forceOpen');}}});}}submitImages = popup.querySelectorAll('.image-wrapper[data-type="submitter"]');if(submitImages) {for(let submitImage of submitImages) {submitImage.addEventListener('click', function(){if(submitImage.classList.contains('disabled')) return false;submitImage.classList.add('disabled');sgPopup748submit(function(result){submitImage.classList.toggle('disabled', result);});});}}const linkButtons = popup.querySelectorAll('button[data-type="link"]');if(linkButtons) {for(let linkButton of linkButtons) {linkButton.addEventListener('click', function(){if(linkButton.dataset.link && linkButton.dataset.link != '#') {if(linkButton.dataset.target == '_blank') {window.open(linkButton.dataset.link);} else {location.href = linkButton.dataset.link}}});}}openerButtons = popup.querySelectorAll('button[data-type="opener"]');if(openerButtons) {for(let openerButton of openerButtons) {openerButton.addEventListener('click', function(){if(openerButton.dataset.popup) {if(typeof window['sgPopup' + openerButton.dataset.popup] == 'function') {Fancybox.close();window['sgPopup' + openerButton.dataset.popup]('forceOpen');}}});}}const maskedFields = popup.querySelectorAll('input[data-mask]');if(maskedFields) {for(let maskedField of maskedFields) {if(maskedField.dataset.mask == 'phone') {Inputmask('+7 (999) 999-99-99', {clearIncomplete: true,greedy: false}).mask(maskedField);} else if(maskedField.dataset.mask == 'email') {Inputmask({alias: 'email',clearIncomplete: true,greedy: false}).mask(maskedField);}}}const fileInputs = popup.querySelectorAll('.popup-element[data-type="input-file"] input[type="file"]');if(fileInputs) {for(let fileInput of fileInputs) {let label = fileInput.nextElementSibling;if(label) {fileInput.addEventListener('change', function() {if (fileInput.files && fileInput.files.length > 0) {const maxSize = fileInput.dataset.limit;if(fileInput.files[0].size <= maxSize * 1024 * 1024) {reader = new FileReader();reader.onload = function(){const span = label.querySelector('span');if(span) {span.innerHTML = fileInput.files[0].name;}fileInput.dataset.content = reader.result;};reader.readAsDataURL(fileInput.files[0]);} else {alert('Превышен максимальный размер файла - '+ maxSize +'мб');}}});label.addEventListener('click', function(event){event.preventDefault();fileInput.click();});}}}const agrees = popup.querySelectorAll('.popup-element[data-type="agree"] input[type="checkbox"]');if(agrees) {for(let agree of agrees) {let label = agree.nextElementSibling;if(label) {label.addEventListener('click', function(event){event.preventDefault();agree.checked = !agree.checked;});const links = label.querySelectorAll('a');if(links) {for(let link of links) {link.addEventListener('click', function(event){event.stopPropagation()});}}}}}const wheel = popup.querySelector('.popup-element[data-type="wheel"]');let wheelInterval;let wheelAngle = 0;if(wheel){const circle = popup.querySelector('.wheel-circle img');if(circle) {wheelInterval = setInterval(function(){wheelAngle += 0.2;if(wheelAngle > 360) {wheelAngle -= 360;}circle.setAttribute('style', 'transform: rotate('+ wheelAngle +'deg)');}, 40);}}const closeTriggers = popup.querySelectorAll('.popup-element[data-type="button-close"] button:not([data-fancybox-close])');if(closeTriggers) {for(let closeTrigger of closeTriggers) {closeTrigger.addEventListener('click', function(){Fancybox.close();})}}function sgPopup748submit(callback = false) {let hasError = false;const requiredInputs = popup.querySelectorAll('input[data-name][required]');if(requiredInputs) {for(let requiredInput of requiredInputs) {if(requiredInput.dataset.mask) {if(requiredInput.dataset.mask == 'phone') {if(!Inputmask.isValid(requiredInput.value, { mask: '+7 (999) 999-99-99'})) {requiredInput.classList.add('error');hasError = true;} else {requiredInput.classList.remove('error');}} else if(requiredInput.dataset.mask == 'phone_intl' && typeof window.sgPopup.elements.intl != 'undefined') {intl = window.sgPopup.elements.intl;if(!intl.isValidNumberPrecise()) {requiredInput.classList.add('error');hasError = true;} else {requiredInput.classList.remove('error');}} else if(requiredInput.dataset.mask == 'email') {if(!Inputmask.isValid(requiredInput.value, {alias: 'email'})) {requiredInput.classList.add('error');hasError = true;} else {requiredInput.classList.remove('error');}}} else {if(requiredInput.value == '') {requiredInput.classList.add('error');hasError = true;} else {requiredInput.classList.remove('error');}}}}const requiredTextareas = popup.querySelectorAll('textarea[data-name][required]');if(requiredTextareas) {for(let requiredTextarea of requiredTextareas) {if(requiredTextarea.value == '') {requiredTextarea.classList.add('error');hasError = true;} else {requiredTextarea.classList.remove('error');}}}const requiredSelects = popup.querySelectorAll('select[data-name][required]');if(requiredSelects) {for(let requiredSelect of requiredSelects) {const niceSelect = requiredSelect.nextElementSibling;if(niceSelect) {if(niceSelect.querySelector('.option.selected')) {niceSelect.classList.remove('error')} else {niceSelect.classList.add('error');hasError = true}}}}if(agrees) {for(let agree of agrees) {if(agree.required) {let label = agree.nextElementSibling;if(agree.checked) {label.classList.remove('error');} else {label.classList.add('error');hasError = true;}}}}if(hasError) {if (callback && typeof callback === 'function') {callback(false);}return false;}function sgPopup748sendRequest() {let data = {fields: [],cookie: document.cookie,source: location.href};const inputs = popup.querySelectorAll('input[data-name]');if(inputs) {for(let input of inputs) {if(input.dataset.mask == 'phone_intl' && typeof window.sgPopup.elements.intl != 'undefined') {intl = window.sgPopup.elements.intl;data.fields.push({name: input.dataset.name,value: intl.getNumber()});} else {data.fields.push({name: input.dataset.name,value: input.value});}}}const textareas = popup.querySelectorAll('textarea[data-name]');if(textareas) {for(let textarea of textareas) {data.fields.push({name: textarea.dataset.name,value: textarea.value});}}if(typeof selects != 'undefined') {for(let select of selects) {data.fields.push({name: select.dataset.name,value: select.value});}}const hiddenInputs = popup.querySelectorAll('input[type="hidden"]');for(let hiddenInput of hiddenInputs) {const name = hiddenInput.name;data[hiddenInput.name] = hiddenInput.value;}const fileInputs = popup.querySelectorAll('.popup-element[data-type="input-file"] input[type="file"]');if(fileInputs) {data.files = [];for(let fileInput of fileInputs) {if (fileInput.files && fileInput.files.length > 0) {data.files.push({'name': fileInput.files[0].name,'content': fileInput.dataset.content});}}}if( wheel && typeof window.prize != 'undefined' ) {data.fields.push(window.prize);}var xmlhr = new XMLHttpRequest();xmlhr.open('POST', "https://1001doc.ru/bitrix/services/main/ajax.php?action=generator:conversion.api.ajax.formSubmit");xmlhr.send(JSON.stringify(data));xmlhr.onreadystatechange = function() {if (xmlhr.readyState === 4 && xmlhr.status === 200) {console.log(xmlhr.response);const response = JSON.parse(xmlhr.response);console.log(response);}};sgPopup748reachGoal("ym(96577005,'reachGoal','lead_up_vijet_koleso_fortuny');");sgSuccessPopup748();return true;}if(wheel){const circle = popup.querySelector('.wheel-circle img');if(circle) {clearInterval(wheelInterval);const random = Math.floor(Math.random() * 100);let sectors = [];let prize;if(window.innerWidth >= 1040) {sectors.push({'from': 1,'to': 100,'angle': '72','rotation': '144','prize': {'label': 'Скидка ','value': 'Скидка '}});for(let sector of sectors) {if(random >= sector.from && random <= sector.to) {prize = sector;}}}if(window.innerWidth < 1040) {sectors.push({'from': 1,'to': 100,'angle': '72','rotation': '144','prize': {'label': 'Скидка ','value': 'Скидка '}});for(let sector of sectors) {if(random >= sector.from && random <= sector.to) {prize = sector;}}}if(prize) {const circle = popup.querySelector('.wheel-circle img');if(circle) {window.prize = {'name': 'Приз','label': prize['prize']['label'],'value': prize['prize']['value']};wheelInterval = setInterval(function(){wheelAngle += 5;circle.setAttribute('style', 'transform: rotate('+ wheelAngle +'deg)');if(wheelAngle >= parseInt(prize['rotation']) + parseInt(prize['angle']) / 2 + 360 * 3) {let cookie = 'sgPopup748prize_1755528610='+ encodeURIComponent(prize.prize.label) +'; path=/';let limit;if(3 == 0) {limit = 60 * 60;} else {limit = 3 * 60 * 60 * 24;}cookie += '; max-age='+ limit;window.cookie = cookie;document.cookie = cookie;clearInterval(wheelInterval);setTimeout(function(){const result = sgPopup748sendRequest();if (callback && typeof callback === 'function') {callback(result);}}, 3000);}}, 20);}}}} else {const result = sgPopup748sendRequest();if (callback && typeof callback === 'function') {callback(result);}}}areaLinks = popup.querySelectorAll('.popup-area[data-type="area-link"]');if(areaLinks) {for(let areaLink of areaLinks) {areaLink.addEventListener('click', function(){if(areaLink.dataset.link && areaLink.dataset.link != '#') {if(areaLink.dataset.target == '_blank') {window.open(areaLink.dataset.link);} else {location.href = areaLink.dataset.link}}});}}areaOpeners = popup.querySelectorAll('.popup-area[data-type="area-opener"]');if(areaOpeners) {for(let areaOpener of areaOpeners) {areaOpener.addEventListener('click', function(){if(areaOpener.dataset.popup) {if(typeof window['sgPopup' + areaOpener.dataset.popup] == 'function') {Fancybox.close();window['sgPopup' + areaOpener.dataset.popup]('forceOpen');}}});}}const submitButton = popup.querySelector(".popup-element[data-type='button-submit'] button");if(submitButton) {submitButton.addEventListener('click', function(event){event.preventDefault();submitButton.disabled = true;sgPopup748submit(function(result){submitButton.disabled = result;});})}}},close: () => {window.sgPopup.opened = false;window.sgPopup.shown.push(748);if(window.sgPopup.queue.length) {setTimeout(function(){let popupID = window.sgPopup.queue.shift();window['sgPopup' + popupID]('forceOpen');}, 30000);}},}});}}}function sgSuccessPopup748() {let html;let closeButton;if(window.innerWidth >= 1040) {html = "<noindex id='SGsuccess748' class='popup-wrapper grid-hidden'><div class='success-area' data-type='close-container' style='position: absolute; top: 0px; left: 380px; margin-left: ; width: 40px; height: 40px; '><div class='success-element' data-type='button-close' style=''><div class='successElement-content'><button type=\"close\" data-fancybox-close=\"\" style=\"padding: 10px; width: 40px; height: 40px; background-color: rgba(0, 0, 0, 0); border: 0px solid rgba(255, 255, 255, 0); border-radius: 18px;\"><svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 18 18\" style=\"fill: rgb(240, 88, 88);\"><path d=\"M1.8 18L0 16.2L7.2 9L0 1.8L1.8 0L9 7.2L16.2 0L18 1.8L10.8 9L18 16.2L16.2 18L9 10.8L1.8 18Z\"></path></svg></button></div></div></div></noindex>";closeButton = false;} else {html = "<noindex id='SGsuccess748' class='popup-wrapper grid-hidden'><div class='success-area' data-type='close-container' style='position: absolute; top: 3.05e-05px; left: 360px; margin-left: -30px; width: 30px; height: 30px; '><div class='success-element' data-type='button-close' style=''><div class='successElement-content'><button type=\"close\" data-fancybox-close=\"\" style=\"padding: 7px; width: 30px; height: 30px; background-color: rgba(0, 0, 0, 0); border: 1px solid rgb(255, 255, 255, 0); border-radius: 18px\"><svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 18 18\" style=\"fill: rgb(235, 41, 41)\"><path d=\"M1.8 18L0 16.2L7.2 9L0 1.8L1.8 0L9 7.2L16.2 0L18 1.8L10.8 9L18 16.2L16.2 18L9 10.8L1.8 18Z\"></path></svg></button></div></div></div></noindex>";closeButton = false;}Fancybox.close();new Fancybox([{src: html,type: 'html'}], {dragToClose: false,closeButton: closeButton,autoFocus: false,trapFocus: false,on: {done: (fancybox, slide) => {const success = document.querySelector("#SGsuccess748");if(success) {buttonLinks = success.querySelectorAll('button[data-type="link"]');if(buttonLinks) {for(let buttonLink of buttonLinks) {buttonLink.addEventListener('click', function(){if(buttonLink.dataset.link) {if(buttonLink.dataset.target == '_blank') {window.open(buttonLink.dataset.link);} else {location.href = buttonLink.dataset.link}}});}}}setTimeout(function(){Fancybox.close();}, 5000);},close: () => {window.sgPopup.opened = false;}}});}</script><script>function isVisible(elem, tolerance = 0.5) {const rect = elem.getBoundingClientRect();const windowHeight = (window.innerHeight || document.documentElement.clientHeight);const windowWidth = (window.innerWidth || document.documentElement.clientWidth);const inViewVertically = rect.top <= windowHeight + tolerance && rect.bottom >= -tolerance;const inViewHorizontally = rect.left <= windowWidth + tolerance && rect.right >= -tolerance;const inViewport = inViewVertically && inViewHorizontally;const style = getComputedStyle(elem);const notHiddenByCSS = style.display !== 'none' && style.visibility !== 'hidden' && parseFloat(style.opacity) > 0;const notHiddenAttribute = !elem.hidden;const hasDimensions = elem.offsetWidth > 0 || elem.offsetHeight > 0 || elem.getClientRects().length > 0;return inViewport && notHiddenByCSS && notHiddenAttribute && hasDimensions;}addEventListener('DOMContentLoaded', function(){if( typeof sgInset98insets == 'undefined' ) {sgInset98Shown = false;sgInset98insets = document.querySelectorAll('#sgInset98');if(sgInset98insets) {for (let inset of sgInset98insets) {addEventListener('scroll', function(){if( isVisible(inset) && !sgInset98Shown ){sgInset98Shown = true;sgInset98reachGoal("ym(96577005,'reachGoal','pokaz_vrezka_s_podborkoi');");}});sgInset98wrappers = inset.querySelectorAll('.inset-wrapper');if(sgInset98wrappers) {for(let wrapper of sgInset98wrappers) {areaLinks = wrapper.querySelectorAll('.inset-area[data-type="area-link"]');if(areaLinks) {for(let areaLink of areaLinks) {areaLink.addEventListener('click', function(){if(areaLink.dataset.link && areaLink.dataset.link != '#') {if(areaLink.dataset.target == '_blank') {window.open(areaLink.dataset.link);} else {location.href = areaLink.dataset.link}}});}}areaOpeners = wrapper.querySelectorAll('.inset-area[data-type="area-opener"]');if(areaOpeners) {for(let areaOpener of areaOpeners) {areaOpener.addEventListener('click', function(){if(areaOpener.dataset.popup) {if(typeof window['sgPopup' + areaOpener.dataset.popup] == 'function') {window['sgPopup' + areaOpener.dataset.popup]('forceOpen');}}});}}linkImages = wrapper.querySelectorAll('.image-wrapper[data-type="link"]');if(linkImages) {for(let linkImage of linkImages) {linkImage.addEventListener('click', function(){if(linkImage.dataset.link && linkImage.dataset.link != '#') {link = linkImage.dataset.link;if(linkImage.dataset.target == '_blank') {window.openlink} else {location.href = link;}}});}}openerImages = wrapper.querySelectorAll('.image-wrapper[data-type="opener"]');if(openerImages) {for(let openerImage of openerImages) {openerImage.addEventListener('click', function(){if(openerImage.dataset.popup) {if(typeof window['sgPopup' + openerImage.dataset.popup] == 'function') {window['sgPopup' + openerImage.dataset.popup]('forceOpen');}}});}}submitImages = wrapper.querySelectorAll('.image-wrapper[data-type="submitter"]');if(submitImages) {for(let submitImage of submitImages) {submitImage.addEventListener('click', function(){if(submitImage.classList.contains('disabled')) return false;submitImage.classList.add('disabled');const result = sgInset98submit();submitImage.classList.toggle('disabled', result);});}}linkButtons = wrapper.querySelectorAll('button[data-type="link"]');if(linkButtons) {for(let linkButton of linkButtons) {linkButton.addEventListener('click', function(){if(linkButton.dataset.link && linkButton.dataset.link != '#') {link = linkButton.dataset.link;if( linkButton.getAttribute('data-getParams') ) {const urlParams = new URLSearchParams(window.location.search);let newParams = [];for (const [key, value] of urlParams) {if (key.indexOf('utm_') !== -1) {newParams.push(key +'='+ value);}}if(newParams.length) {link = link +'?'+ newParams.join('&');}}if(linkButton.dataset.target == '_blank') {window.open(link);} else {location.href = link;}}});}}openerButtons = wrapper.querySelectorAll('button[data-type="opener"]');if(openerButtons) {for(let openerButton of openerButtons) {openerButton.addEventListener('click', function(){if(openerButton.dataset.popup) {if(typeof window['sgPopup' + openerButton.dataset.popup] == 'function') {window['sgPopup' + openerButton.dataset.popup]('forceOpen');}}});}}maskedFields = wrapper.querySelectorAll('input[data-mask]');if(maskedFields) {for(let maskedField of maskedFields) {if(maskedField.dataset.mask == 'phone') {Inputmask('+9 (999) 999-99-99', {clearIncomplete: true,greedy: false}).mask(maskedField);} else if(maskedField.dataset.mask == 'email') {Inputmask({alias: 'email',clearIncomplete: true,greedy: false}).mask(maskedField);}}}agrees = wrapper.querySelectorAll("input[type='checkbox'][id*='agree']");if(agrees) {for(let agree of agrees) {let label = agree.nextElementSibling;if(label) {label.addEventListener('click', function(event){event.preventDefault();agree.checked = !agree.checked;})}}}function sgInset98submit() {let hasError = false;const requiredFields = wrapper.querySelectorAll('input[data-name][required]');if(requiredFields) {for(let requiredField of requiredFields) {if(requiredField.dataset.mask) {if(requiredField.dataset.mask == 'phone') {if(!Inputmask.isValid(requiredField.value, { mask: '+9 (999) 999-99-99'})) {requiredField.classList.add('error');hasError = true;} else {requiredField.classList.remove('error');}} else if(requiredField.dataset.mask == 'email') {if(!Inputmask.isValid(requiredField.value, {alias: 'email'})) {requiredField.classList.add('error');hasError = true;} else {requiredField.classList.remove('error');}}} else {if(requiredField.value == '') {requiredField.classList.add('error');hasError = true;} else {requiredField.classList.remove('error');}}}}agrees = wrapper.querySelectorAll("input[type='checkbox'][id*='agree']");if(agrees) {for(let agree of agrees) {let label = agree.nextElementSibling;if(agree.checked) {label.classList.remove('error');} else {label.classList.add('error');hasError = true;}}}if(hasError) {return false;}const fields = wrapper.querySelectorAll('input[data-name]');if(fields) {let data = {fields: []};for(let field of fields) {data.fields.push({name: field.dataset.name,value: field.value});}const hiddenInputs = wrapper.querySelectorAll('input[type="hidden"]');for(let hiddenInput of hiddenInputs) {const name = hiddenInput.name;data[hiddenInput.name] = hiddenInput.value;}data.cookie = document.cookie;data.source = location.href;var xmlhr = new XMLHttpRequest();xmlhr.open('POST', "https://1001doc.ru/bitrix/services/main/ajax.php?action=generator:conversion.api.ajax.formSubmit");xmlhr.send(JSON.stringify(data));xmlhr.onreadystatechange = function() {if (xmlhr.readyState === 4 && xmlhr.status === 200) {const response = JSON.parse(xmlhr.response);console.log(response);}};}return true;}submitButton = wrapper.querySelector("button[type='submit']");if(submitButton) {submitButton.addEventListener('click', function(event){event.preventDefault();submitButton = wrapper.querySelector("button[type='submit']");submitButton.disabled = true;const result = sgInset98submit();submitButton.disabled = result;});}}}}}}function sgInset98reachGoal(code) {function executeGoal(params) {if(typeof params == 'object') {eval('ym('+ params.join(',') +');');let data = {'goal': params[2],timestamp: new Date().toISOString()};var xmlhr = new XMLHttpRequest();xmlhr.open('POST', "https://1001doc.ru/bitrix/services/main/ajax.php?action=generator:conversion.api.ajax.goalLog");xmlhr.send(JSON.stringify(data));xmlhr.onreadystatechange = function() {if (xmlhr.readyState === 4 && xmlhr.status === 200) {const params = new URLSearchParams(window.location.search);if( params.get('debug') ) {const response = JSON.parse(xmlhr.response);console.log(response);}}}}}const goals = code.split(';');if(goals) {for(let goal of goals) {goal = goal.trim();if(goal != '') {const regexp = /ym(.*)/;if( regexp.test(goal) ) {goal = goal.replace('ym(', '');goal = goal.replace(')', '');const params = goal.split(',');if(params) {if (typeof window.ym != 'undefined') {executeGoal(params);} else {if(typeof window.inset98goals == 'undefined') {window.inset98goals = [];}window.inset98goals.push({'metrika': params[0],'action': params[1],'id': params[2]});if(typeof inset98interval == 'undefined') {inset98interval = setInterval(function(){if (typeof window.ym != 'undefined') {for(let goal of window.inset98goals) {executeGoal(params);}window.inset98goals = [];clearInterval(inset98interval);}}, 1000);}}}} else {eval(goal);}}}}}})</script><script></script></body>
</html><style>@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;700&display=swap');body {position: relative;}#sgTopbar72 {width: 100%;}#sgTopbar72 * {box-sizing: border-box;line-height: 100%;font-family: Manrope !important;}#sgTopbar72 .topbar-wrapper {overflow: hidden;}#sgTopbar72 .topbar-wrapper {display: none;}@media (max-width: 360px) {#sgTopbar72 .topbar-wrapper[data-step='343'] {display: block;}}@media (min-width: 361px) and (max-width: 600px) {#sgTopbar72 .topbar-wrapper[data-step='341'] {display: block;}}@media (min-width: 601px) and (max-width: 1299px) {#sgTopbar72 .topbar-wrapper[data-step='342'] {display: block;}}@media (min-width: 1300px) {#sgTopbar72 .topbar-wrapper[data-step='340'] {display: block;}}body.scrolled #sgTopbar72 .topbar-wrapper[data-position='static'],body:not(.scrolled) #sgTopbar72 .topbar-wrapper[data-position='fixed'] {display: none;}#sgTopbar72 .topbar-container {margin-right: auto;margin-left: auto;position: relative;width: 100%;box-sizing: border-box;}#sgTopbar72 .image-wrapper[data-type='link'],#sgTopbar72 .image-wrapper[data-type='opener'] {cursor: pointer;}#sgTopbar72 .image-wrapper img {display: block;max-width: 100%;}#sgTopbar72 .topbar-element[data-type='button-close'] button,#sgTopbar72 .topbar-element[data-type='button-link'] button {font-family: inherit;cursor: pointer;}#sgTopbar72 .topbar-element[data-type='button-close'] button svg {display: block;pointer-events: none;}#sgTopbar72 .topbar-element[data-type='editor'] p {padding: 0;margin: 0 0 20px 0;}#sgTopbar72 .topbar-element[data-type='editor'] p:last-child {margin: 0;}#sgTopbar72 .topbar-element[data-type='editor'] p:before {display:none;}#sgTopbar72 .topbar-element[data-type='editor'] p strong {font-size: inherit;}#sgTopbar72 .topbarElement-content {width: 100%;}</style><style> @import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;700&display=swap'); #SGpopup208 { padding: 10px 10px 10px 10px; width: 1000px; min-width: unset; min-height: 570px; height: auto; background-image: url('https://conversion-sg.ru/upload/47/popups/208/1747753702.png'); background-size: contain; background-repeat: no-repeat; background-color: transparent; border-radius: 21px; overflow: visible; font-family: Manrope; font-size: 16px; } #SGpopup208 * { box-sizing: border-box; line-height: 100%; outline: none !important; } #SGpopup208 h1, #SGpopup208 h2, #SGpopup208 h3 { padding: 0; margin: 0; font-size: unset; font-weight: normal; } #SGpopup208 p { padding: 0; margin: 0 0 20px 0; text-indent: 0; } #SGpopup208 p:last-child { margin: 0 !important; } #SGpopup208 img { margin: 0; display: inline-block; max-width: 100%; height: auto; border-radius: 0; } #SGpopup208 .popup-area { max-width: 100%; border: 1px dashed transparent; } #SGpopup208 .popup-area[data-type='area-link'], #SGpopup208 .popup-area[data-type='area-opener'] { display: inline-block; } #SGpopup208 .popup-area[data-type='area-container'], #SGpopup208 .popup-area[data-type='area-link'], #SGpopup208 .popup-area[data-type='area-opener'] { z-index: 1; } #SGpopup208 .popup-area[data-type='close-container'] { z-index: 3; } #SGpopup208 .popup-area[data-type='area-link'], #SGpopup208 .popup-area[data-type='area-opener'], #SGpopup208 .image-wrapper[data-type='link'], #SGpopup208 .image-wrapper[data-type='opener'], #SGpopup208 .image-wrapper[data-type='submitter'] { cursor: pointer; } #SGpopup208 .popup-element[data-type='image'], #SGpopup208 .popup-element[data-type='input-file'] { display: inline-block; } #SGpopup208 .popup-element[data-type='image'] .popupElement-content .image-wrapper img { object-fit: cover; object-position: center; } #SGpopup208 .iti { width: 100%; } #SGpopup208 .popup-element[data-type='input'] .iti__selected-dial-code { font-size: 23px; line-height: 28px; } #SGpopup208 .popup-element[data-type='input'] input { width: 100%; max-width: unset; height: auto; float: none; border-width: 1px; border-style: solid; font-family: inherit; font-weight: normal; font-size: 23px; line-height: 28px; text-transform: none; } #SGpopup208 .popup-element[data-type='input'] input::placeholder { color: inherit; } #SGpopup208 .popup-element[data-type='input'] input.error { border-color: red !important; } #SGpopup208 .popup-element[data-type='input-file']:not(.ui-draggable-dragging) { max-width: 100%; } #SGpopup208 .popup-element[data-type='input-file'] input[type='file'] { display: none; } #SGpopup208 .popup-element[data-type='input-file'] label { margin: 0; display: inline-block; width: 100%; cursor: pointer; } #SGpopup208 .popup-element[data-type='input-file'] label p { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } #SGpopup208 .popup-element[data-type='agree'] input[type='checkbox'] { display: none; } #SGpopup208 .popup-element[data-type='agree'] input[type='checkbox'] + label { position: relative; margin: 0; padding-left: 28px; display: flex; align-items: center; min-height: 18px; user-select: none; } #SGpopup208 .popup-element[data-type='agree'] input[type='checkbox'] + label:before { position: absolute; top: 0; left: 0; display: block; content: ''; width: 18px; height: 18px; border-width: 1px; border-style: solid; box-sizing: border-box; cursor: pointer; } #SGpopup208 .popup-element[data-type='agree'] input[type='checkbox'] + label.error:before { border-color: red; box-shadow: 0 0 5px red; } #SGpopup208 .popup-element[data-type='agree'] input[type='checkbox']:checked + label:after { position: absolute; top: 3px; left: 3px; display: block; content: ''; width: 12px; height: 12px; background-size: cover; } #SGpopup208 .popup-element[data-type='editor'] p span * { font-size: inherit; line-height: inherit; } #SGpopup208 .popup-element[data-type='editor'] p span strong { font-weight: bold; } #SGpopup208 .popup-element[data-type='editor'] ul { padding: 0 0 0 20px; margin: 0; } #SGpopup208 .popup-element[data-type='textarea'] textarea { width: 100%; max-width: unset; border-width: 1px; border-style: solid; outline: none; resize: none; font-family: inherit; } #SGpopup208 .popup-element[data-type='textarea'] textarea.error { border-color: red !important; } #SGpopup208 .popup-element[data-type='select'] select { display: none; } #SGpopup208 .popup-element[data-type='select'] .nice-select { float: unset; display: flex; align-items: center; } #SGpopup208 .popup-element[data-type='select'] .nice-select.error { border-color: red !important; } #SGpopup208 .popup-element[data-type='select'] .nice-select:before { position: absolute; top: 50%; margin-top: -8px; right: 16px; display: block; width: 16px; height: 16px; content: ''; background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEzIDZMOCAxMUwzIDYiIHN0cm9rZT0iYmxhY2siIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIvPgo8L3N2Zz4K); background-position: center; pointer-events: none; transition: all 0.2s ease-in-out; transform: rotate(0); } #SGpopup208 .popup-element[data-type='select'] .nice-select.open:before { background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEzIDZMOCAxMUwzIDYiIHN0cm9rZT0iIzAyODFFQiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIi8+Cjwvc3ZnPgo=); transform: rotate(180deg); } #SGpopup208 .popup-element[data-type='select'] .nice-select:after { display: none; } #SGpopup208 .popup-element[data-type='select'] .nice-select-dropdown{ left: -1px; width: calc(100% + 2px); } #SGpopup208 .popup-element[data-type='select'] .nice-select.open .nice-select-dropdown { border-width: 1px; border-style: solid; box-shadow: 0px 4px 15px 0px rgba(0, 0, 0, 0.10); } #SGpopup208 .popup-element[data-type='select'] .nice-select .list { margin: 4px 0; } #SGpopup208 .popup-element[data-type='select'] .nice-select .option { padding: 8px 16px; font-size: inherit; line-height: 100%; color: inherit; white-space: normal; } #SGpopup208 .popup-element[data-type='select'] .nice-select .option.selected { font-weight: normal; } #SGpopup208 .popup-element[data-type='select'] .nice-select .option:not(.disabled):hover, #SGpopup208 .popup-element[data-type='select'] .nice-select .option.focus, #SGpopup208 .popup-element[data-type='select'] .nice-select .option.selected.focus { background: transparent; color: #0281eb; } #SGpopup208 .popup-element[data-type='select'] .nice-select .current { max-width: 100%; overflow: hidden; text-overflow: ellipsis; font-size: inherit; line-height: 100%; } #SGpopup208 .popup-element[data-type='button-submit'] button, #SGpopup208 .popup-element[data-type='button-link'] button { width: 100%; height: auto; border: none; font-family: inherit; font-size: 23px; font-weight: normal; text-align: center; text-transform: none; cursor: pointer; -webkit-appearance: none; outline: none; } #SGpopup208 .popup-element[data-type='button-submit'] button:disabled, #SGpopup208 .image-wrapper[data-type='submitter'].disabled { cursor: not-allowed; } #SGpopup208 .popup-element[data-type='button-submit'] button *, #SGpopup208 .popup-element[data-type='button-link'] button * { color: inherit; } #SGpopup208 .popup-element[data-type='button-close'] button { outline: none !important; cursor: pointer; } #SGpopup208 .popup-element[data-type='button-close'] button svg { display: block; pointer-events: none; } #SGpopup208 .popup-element[data-type='wheel'] { z-index: 2; overflow: hidden; } #SGpopup208 .popup-element[data-type='wheel'] .popupElement-content { pointer-events: none; } #SGpopup208 .popup-element[data-type='wheel'] .wheel-circle { position: relative; z-index: 2; } #SGpopup208 .popup-element[data-type='wheel'] .wheel-prizes { position: absolute; z-index: 1; top: 0; left: 0; } #SGpopup208 .popup-element[data-type='wheel'] .wheel-circle img, #SGpopup208 .popup-element[data-type='wheel'] .wheel-prizes img { display: block; max-width: unset; } #SGpopup208 iframe.height-auto { height: auto !important; } #SGpopup208 .popup-element[data-type='getcourse'], #SGpopup208 .popup-element[data-type='getcourse'] .popupElement-content { display: flex; flex-wrap: wrap; width: 100%; height: 100%; } #SGpopup208 .popup-element[data-type='getcourse'] [data-id][data-src] { width: 100%; } #SGpopup208 .popup-element[data-type='getcourse'] iframe { min-height: 100%; } @media (max-width: 1039px) { #SGpopup208 { padding: 5px 5px 5px 5px; width: 360px; min-height: 607px; max-height: 90vh; font-size: 12px; background-image: url('https://conversion-sg.ru/upload/47/popups/208/1747753683.png'); border-radius: 21px; } #SGpopup208 .popup-element[data-type='input'] .iti__selected-dial-code, #SGpopup208 .popup-element[data-type='input'] .popupElement-content input { font-size: 19px; } #SGpopup208 .popup-element[data-type='agree'] .popupElement-content input[type='checkbox']:checked + label { font-size: 10px; } #SGpopup208 .popup-element[data-ai='email_input'] .popupElement-error { padding: 20px 12px; font-size: 12px; } #SGpopup208 .popup-element[data-ai='email_input'] .popupElement-error:before { top: -8px; margin-left: -8px; border-width: 0 8px 8px 8px; } #SGpopup208 .popup-element[data-ai='email_input'] .popupElement-error svg { width: 20px; height: 20px; } } .fancybox__container { z-index: 999999999 !important; max-width: 100vw; max-height: 100vh; } @import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,400;0,700;1,400;1,700&display=swap'); #SGsuccess208 { padding: 120px 40px 40px 40px; width: 450px; min-width: unset; min-height: 340px; height: auto; max-height: 90vh; overflow: visible; background-image: url('https://conversion-sg.ru/upload/default/popups/new/bg_desktop.jpg'); background-size: cover; background-position: center top; background-repeat: no-repeat; background-color: transparent; border-radius: 0px; font-family: Montserrat; } #SGsuccess208 p { margin: 20px 0 0 0; padding: 0; line-height: 1.2; } #SGsuccess208 p:first-child { margin-top: 0; } #SGsuccess208 button[type='close'] { outline: none !important; cursor: pointer; } #SGsuccess208 button[type='close'] svg { display: block; pointer-events: none; } #SGsuccess208 button[data-type='link'], #SGsuccess208 button[data-type='opener'] { width: 100%; height: auto; border: none; font-family: inherit; text-align: center; cursor: pointer; -webkit-appearance: none; outline: none; } @media (max-width: 1039px) { #SGsuccess208 { padding: 75px 20px 20px 20px; width: 300px; min-height: 230px; background-image: url('https://conversion-sg.ru/upload/default/popups/new/bg_mobile.jpg'); background-size: cover; background-position: center top; background-repeat: no-repeat; background-color: transparent; } } </style><style> @import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;700&display=swap'); #SGpopup211 { padding: 10px 10px 10px 10px; width: 1000px; min-width: unset; min-height: 570px; height: auto; background-image: url('https://conversion-sg.ru/upload/47/popups/211/1758199339.png'); background-size: contain; background-repeat: no-repeat; background-color: transparent; border-radius: 7px; overflow: visible; font-family: Manrope; font-size: 16px; } #SGpopup211 * { box-sizing: border-box; line-height: 100%; outline: none !important; } #SGpopup211 h1, #SGpopup211 h2, #SGpopup211 h3 { padding: 0; margin: 0; font-size: unset; font-weight: normal; } #SGpopup211 p { padding: 0; margin: 0 0 20px 0; text-indent: 0; } #SGpopup211 p:last-child { margin: 0 !important; } #SGpopup211 img { margin: 0; display: inline-block; max-width: 100%; height: auto; border-radius: 0; } #SGpopup211 .popup-area { max-width: 100%; border: 1px dashed transparent; } #SGpopup211 .popup-area[data-type='area-link'], #SGpopup211 .popup-area[data-type='area-opener'] { display: inline-block; } #SGpopup211 .popup-area[data-type='area-container'], #SGpopup211 .popup-area[data-type='area-link'], #SGpopup211 .popup-area[data-type='area-opener'] { z-index: 1; } #SGpopup211 .popup-area[data-type='close-container'] { z-index: 3; } #SGpopup211 .popup-area[data-type='area-link'], #SGpopup211 .popup-area[data-type='area-opener'], #SGpopup211 .image-wrapper[data-type='link'], #SGpopup211 .image-wrapper[data-type='opener'], #SGpopup211 .image-wrapper[data-type='submitter'] { cursor: pointer; } #SGpopup211 .popup-element[data-type='image'], #SGpopup211 .popup-element[data-type='input-file'] { display: inline-block; } #SGpopup211 .popup-element[data-type='image'] .popupElement-content .image-wrapper img { object-fit: cover; object-position: center; } #SGpopup211 .iti { width: 100%; } #SGpopup211 .popup-element[data-type='input'] .iti__selected-dial-code { font-size: 23px; line-height: 28px; } #SGpopup211 .popup-element[data-type='input'] input { width: 100%; max-width: unset; height: auto; float: none; border-width: 1px; border-style: solid; font-family: inherit; font-weight: normal; font-size: 23px; line-height: 28px; text-transform: none; } #SGpopup211 .popup-element[data-type='input'] input::placeholder { color: inherit; } #SGpopup211 .popup-element[data-type='input'] input.error { border-color: red !important; } #SGpopup211 .popup-element[data-type='input-file']:not(.ui-draggable-dragging) { max-width: 100%; } #SGpopup211 .popup-element[data-type='input-file'] input[type='file'] { display: none; } #SGpopup211 .popup-element[data-type='input-file'] label { margin: 0; display: inline-block; width: 100%; cursor: pointer; } #SGpopup211 .popup-element[data-type='input-file'] label p { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } #SGpopup211 .popup-element[data-type='agree'] input[type='checkbox'] { display: none; } #SGpopup211 .popup-element[data-type='agree'] input[type='checkbox'] + label { position: relative; margin: 0; padding-left: 28px; display: flex; align-items: center; min-height: 18px; user-select: none; } #SGpopup211 .popup-element[data-type='agree'] input[type='checkbox'] + label:before { position: absolute; top: 0; left: 0; display: block; content: ''; width: 18px; height: 18px; border-width: 1px; border-style: solid; box-sizing: border-box; cursor: pointer; } #SGpopup211 .popup-element[data-type='agree'] input[type='checkbox'] + label.error:before { border-color: red; box-shadow: 0 0 5px red; } #SGpopup211 .popup-element[data-type='agree'] input[type='checkbox']:checked + label:after { position: absolute; top: 3px; left: 3px; display: block; content: ''; width: 12px; height: 12px; background-size: cover; } #SGpopup211 .popup-element[data-type='editor'] p span * { font-size: inherit; line-height: inherit; } #SGpopup211 .popup-element[data-type='editor'] p span strong { font-weight: bold; } #SGpopup211 .popup-element[data-type='editor'] ul { padding: 0 0 0 20px; margin: 0; } #SGpopup211 .popup-element[data-type='textarea'] textarea { width: 100%; max-width: unset; border-width: 1px; border-style: solid; outline: none; resize: none; font-family: inherit; } #SGpopup211 .popup-element[data-type='textarea'] textarea.error { border-color: red !important; } #SGpopup211 .popup-element[data-type='select'] select { display: none; } #SGpopup211 .popup-element[data-type='select'] .nice-select { float: unset; display: flex; align-items: center; } #SGpopup211 .popup-element[data-type='select'] .nice-select.error { border-color: red !important; } #SGpopup211 .popup-element[data-type='select'] .nice-select:before { position: absolute; top: 50%; margin-top: -8px; right: 16px; display: block; width: 16px; height: 16px; content: ''; background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEzIDZMOCAxMUwzIDYiIHN0cm9rZT0iYmxhY2siIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIvPgo8L3N2Zz4K); background-position: center; pointer-events: none; transition: all 0.2s ease-in-out; transform: rotate(0); } #SGpopup211 .popup-element[data-type='select'] .nice-select.open:before { background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEzIDZMOCAxMUwzIDYiIHN0cm9rZT0iIzAyODFFQiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIi8+Cjwvc3ZnPgo=); transform: rotate(180deg); } #SGpopup211 .popup-element[data-type='select'] .nice-select:after { display: none; } #SGpopup211 .popup-element[data-type='select'] .nice-select-dropdown{ left: -1px; width: calc(100% + 2px); } #SGpopup211 .popup-element[data-type='select'] .nice-select.open .nice-select-dropdown { border-width: 1px; border-style: solid; box-shadow: 0px 4px 15px 0px rgba(0, 0, 0, 0.10); } #SGpopup211 .popup-element[data-type='select'] .nice-select .list { margin: 4px 0; } #SGpopup211 .popup-element[data-type='select'] .nice-select .option { padding: 8px 16px; font-size: inherit; line-height: 100%; color: inherit; white-space: normal; } #SGpopup211 .popup-element[data-type='select'] .nice-select .option.selected { font-weight: normal; } #SGpopup211 .popup-element[data-type='select'] .nice-select .option:not(.disabled):hover, #SGpopup211 .popup-element[data-type='select'] .nice-select .option.focus, #SGpopup211 .popup-element[data-type='select'] .nice-select .option.selected.focus { background: transparent; color: #0281eb; } #SGpopup211 .popup-element[data-type='select'] .nice-select .current { max-width: 100%; overflow: hidden; text-overflow: ellipsis; font-size: inherit; line-height: 100%; } #SGpopup211 .popup-element[data-type='button-submit'] button, #SGpopup211 .popup-element[data-type='button-link'] button { width: 100%; height: auto; border: none; font-family: inherit; font-size: 23px; font-weight: normal; text-align: center; text-transform: none; cursor: pointer; -webkit-appearance: none; outline: none; } #SGpopup211 .popup-element[data-type='button-submit'] button:disabled, #SGpopup211 .image-wrapper[data-type='submitter'].disabled { cursor: not-allowed; } #SGpopup211 .popup-element[data-type='button-submit'] button *, #SGpopup211 .popup-element[data-type='button-link'] button * { color: inherit; } #SGpopup211 .popup-element[data-type='button-close'] button { outline: none !important; cursor: pointer; } #SGpopup211 .popup-element[data-type='button-close'] button svg { display: block; pointer-events: none; } #SGpopup211 .popup-element[data-type='wheel'] { z-index: 2; overflow: hidden; } #SGpopup211 .popup-element[data-type='wheel'] .popupElement-content { pointer-events: none; } #SGpopup211 .popup-element[data-type='wheel'] .wheel-circle { position: relative; z-index: 2; } #SGpopup211 .popup-element[data-type='wheel'] .wheel-prizes { position: absolute; z-index: 1; top: 0; left: 0; } #SGpopup211 .popup-element[data-type='wheel'] .wheel-circle img, #SGpopup211 .popup-element[data-type='wheel'] .wheel-prizes img { display: block; max-width: unset; } #SGpopup211 iframe.height-auto { height: auto !important; } #SGpopup211 .popup-element[data-type='getcourse'], #SGpopup211 .popup-element[data-type='getcourse'] .popupElement-content { display: flex; flex-wrap: wrap; width: 100%; height: 100%; } #SGpopup211 .popup-element[data-type='getcourse'] [data-id][data-src] { width: 100%; } #SGpopup211 .popup-element[data-type='getcourse'] iframe { min-height: 100%; } @media (max-width: 1039px) { #SGpopup211 { padding: 1px 1px 1px 1px; width: 360px; min-height: 650px; max-height: 90vh; font-size: 12px; background-image: url('https://conversion-sg.ru/upload/47/popups/211/1758199532.png'); border-radius: 7px; } #SGpopup211 .popup-element[data-type='input'] .iti__selected-dial-code, #SGpopup211 .popup-element[data-type='input'] .popupElement-content input { font-size: 19px; } #SGpopup211 .popup-element[data-type='agree'] .popupElement-content input[type='checkbox']:checked + label { font-size: 10px; } #SGpopup211 .popup-element[data-ai='email_input'] .popupElement-error { padding: 20px 12px; font-size: 12px; } #SGpopup211 .popup-element[data-ai='email_input'] .popupElement-error:before { top: -8px; margin-left: -8px; border-width: 0 8px 8px 8px; } #SGpopup211 .popup-element[data-ai='email_input'] .popupElement-error svg { width: 20px; height: 20px; } } .fancybox__container { z-index: 999999999 !important; max-width: 100vw; max-height: 100vh; } @import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,400;0,700;1,400;1,700&display=swap'); #SGsuccess211 { padding: 120px 40px 40px 40px; width: 450px; min-width: unset; min-height: 340px; height: auto; max-height: 90vh; overflow: visible; background-image: url('https://conversion-sg.ru/upload/default/popups/new/bg_desktop.jpg'); background-size: cover; background-position: center top; background-repeat: no-repeat; background-color: transparent; border-radius: 0px; font-family: Montserrat; } #SGsuccess211 p { margin: 20px 0 0 0; padding: 0; line-height: 1.2; } #SGsuccess211 p:first-child { margin-top: 0; } #SGsuccess211 button[type='close'] { outline: none !important; cursor: pointer; } #SGsuccess211 button[type='close'] svg { display: block; pointer-events: none; } #SGsuccess211 button[data-type='link'], #SGsuccess211 button[data-type='opener'] { width: 100%; height: auto; border: none; font-family: inherit; text-align: center; cursor: pointer; -webkit-appearance: none; outline: none; } @media (max-width: 1039px) { #SGsuccess211 { padding: 75px 20px 20px 20px; width: 300px; min-height: 230px; background-image: url('https://conversion-sg.ru/upload/default/popups/new/bg_mobile.jpg'); background-size: cover; background-position: center top; background-repeat: no-repeat; background-color: transparent; } } </style><style> @import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;700&display=swap'); #SGpopup294 { padding: 10px 10px 10px 10px; width: 1000px; min-width: unset; min-height: 570px; height: auto; background-image: url('https://conversion-sg.ru/upload/47/popups/294/1758628689.png'); background-size: contain; background-repeat: no-repeat; background-color: transparent; border-radius: 7px; overflow: visible; font-family: Manrope; font-size: 16px; } #SGpopup294 * { box-sizing: border-box; line-height: 100%; outline: none !important; } #SGpopup294 h1, #SGpopup294 h2, #SGpopup294 h3 { padding: 0; margin: 0; font-size: unset; font-weight: normal; } #SGpopup294 p { padding: 0; margin: 0 0 20px 0; text-indent: 0; } #SGpopup294 p:last-child { margin: 0 !important; } #SGpopup294 img { margin: 0; display: inline-block; max-width: 100%; height: auto; border-radius: 0; } #SGpopup294 .popup-area { max-width: 100%; border: 1px dashed transparent; } #SGpopup294 .popup-area[data-type='area-link'], #SGpopup294 .popup-area[data-type='area-opener'] { display: inline-block; } #SGpopup294 .popup-area[data-type='area-container'], #SGpopup294 .popup-area[data-type='area-link'], #SGpopup294 .popup-area[data-type='area-opener'] { z-index: 1; } #SGpopup294 .popup-area[data-type='close-container'] { z-index: 3; } #SGpopup294 .popup-area[data-type='area-link'], #SGpopup294 .popup-area[data-type='area-opener'], #SGpopup294 .image-wrapper[data-type='link'], #SGpopup294 .image-wrapper[data-type='opener'], #SGpopup294 .image-wrapper[data-type='submitter'] { cursor: pointer; } #SGpopup294 .popup-element[data-type='image'], #SGpopup294 .popup-element[data-type='input-file'] { display: inline-block; } #SGpopup294 .popup-element[data-type='image'] .popupElement-content .image-wrapper img { object-fit: cover; object-position: center; } #SGpopup294 .iti { width: 100%; } #SGpopup294 .popup-element[data-type='input'] .iti__selected-dial-code { font-size: 23px; line-height: 28px; } #SGpopup294 .popup-element[data-type='input'] input { width: 100%; max-width: unset; height: auto; float: none; border-width: 1px; border-style: solid; font-family: inherit; font-weight: normal; font-size: 23px; line-height: 28px; text-transform: none; } #SGpopup294 .popup-element[data-type='input'] input::placeholder { color: inherit; } #SGpopup294 .popup-element[data-type='input'] input.error { border-color: red !important; } #SGpopup294 .popup-element[data-type='input-file']:not(.ui-draggable-dragging) { max-width: 100%; } #SGpopup294 .popup-element[data-type='input-file'] input[type='file'] { display: none; } #SGpopup294 .popup-element[data-type='input-file'] label { margin: 0; display: inline-block; width: 100%; cursor: pointer; } #SGpopup294 .popup-element[data-type='input-file'] label p { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } #SGpopup294 .popup-element[data-type='agree'] input[type='checkbox'] { display: none; } #SGpopup294 .popup-element[data-type='agree'] input[type='checkbox'] + label { position: relative; margin: 0; padding-left: 28px; display: flex; align-items: center; min-height: 18px; user-select: none; } #SGpopup294 .popup-element[data-type='agree'] input[type='checkbox'] + label:before { position: absolute; top: 0; left: 0; display: block; content: ''; width: 18px; height: 18px; border-width: 1px; border-style: solid; box-sizing: border-box; cursor: pointer; } #SGpopup294 .popup-element[data-type='agree'] input[type='checkbox'] + label.error:before { border-color: red; box-shadow: 0 0 5px red; } #SGpopup294 .popup-element[data-type='agree'] input[type='checkbox']:checked + label:after { position: absolute; top: 3px; left: 3px; display: block; content: ''; width: 12px; height: 12px; background-size: cover; } #SGpopup294 .popup-element[data-type='editor'] p span * { font-size: inherit; line-height: inherit; } #SGpopup294 .popup-element[data-type='editor'] p span strong { font-weight: bold; } #SGpopup294 .popup-element[data-type='editor'] ul { padding: 0 0 0 20px; margin: 0; } #SGpopup294 .popup-element[data-type='textarea'] textarea { width: 100%; max-width: unset; border-width: 1px; border-style: solid; outline: none; resize: none; font-family: inherit; } #SGpopup294 .popup-element[data-type='textarea'] textarea.error { border-color: red !important; } #SGpopup294 .popup-element[data-type='select'] select { display: none; } #SGpopup294 .popup-element[data-type='select'] .nice-select { float: unset; display: flex; align-items: center; } #SGpopup294 .popup-element[data-type='select'] .nice-select.error { border-color: red !important; } #SGpopup294 .popup-element[data-type='select'] .nice-select:before { position: absolute; top: 50%; margin-top: -8px; right: 16px; display: block; width: 16px; height: 16px; content: ''; background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEzIDZMOCAxMUwzIDYiIHN0cm9rZT0iYmxhY2siIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIvPgo8L3N2Zz4K); background-position: center; pointer-events: none; transition: all 0.2s ease-in-out; transform: rotate(0); } #SGpopup294 .popup-element[data-type='select'] .nice-select.open:before { background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEzIDZMOCAxMUwzIDYiIHN0cm9rZT0iIzAyODFFQiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIi8+Cjwvc3ZnPgo=); transform: rotate(180deg); } #SGpopup294 .popup-element[data-type='select'] .nice-select:after { display: none; } #SGpopup294 .popup-element[data-type='select'] .nice-select-dropdown{ left: -1px; width: calc(100% + 2px); } #SGpopup294 .popup-element[data-type='select'] .nice-select.open .nice-select-dropdown { border-width: 1px; border-style: solid; box-shadow: 0px 4px 15px 0px rgba(0, 0, 0, 0.10); } #SGpopup294 .popup-element[data-type='select'] .nice-select .list { margin: 4px 0; } #SGpopup294 .popup-element[data-type='select'] .nice-select .option { padding: 8px 16px; font-size: inherit; line-height: 100%; color: inherit; white-space: normal; } #SGpopup294 .popup-element[data-type='select'] .nice-select .option.selected { font-weight: normal; } #SGpopup294 .popup-element[data-type='select'] .nice-select .option:not(.disabled):hover, #SGpopup294 .popup-element[data-type='select'] .nice-select .option.focus, #SGpopup294 .popup-element[data-type='select'] .nice-select .option.selected.focus { background: transparent; color: #0281eb; } #SGpopup294 .popup-element[data-type='select'] .nice-select .current { max-width: 100%; overflow: hidden; text-overflow: ellipsis; font-size: inherit; line-height: 100%; } #SGpopup294 .popup-element[data-type='button-submit'] button, #SGpopup294 .popup-element[data-type='button-link'] button { width: 100%; height: auto; border: none; font-family: inherit; font-size: 23px; font-weight: normal; text-align: center; text-transform: none; cursor: pointer; -webkit-appearance: none; outline: none; } #SGpopup294 .popup-element[data-type='button-submit'] button:disabled, #SGpopup294 .image-wrapper[data-type='submitter'].disabled { cursor: not-allowed; } #SGpopup294 .popup-element[data-type='button-submit'] button *, #SGpopup294 .popup-element[data-type='button-link'] button * { color: inherit; } #SGpopup294 .popup-element[data-type='button-close'] button { outline: none !important; cursor: pointer; } #SGpopup294 .popup-element[data-type='button-close'] button svg { display: block; pointer-events: none; } #SGpopup294 .popup-element[data-type='wheel'] { z-index: 2; overflow: hidden; } #SGpopup294 .popup-element[data-type='wheel'] .popupElement-content { pointer-events: none; } #SGpopup294 .popup-element[data-type='wheel'] .wheel-circle { position: relative; z-index: 2; } #SGpopup294 .popup-element[data-type='wheel'] .wheel-prizes { position: absolute; z-index: 1; top: 0; left: 0; } #SGpopup294 .popup-element[data-type='wheel'] .wheel-circle img, #SGpopup294 .popup-element[data-type='wheel'] .wheel-prizes img { display: block; max-width: unset; } #SGpopup294 iframe.height-auto { height: auto !important; } #SGpopup294 .popup-element[data-type='getcourse'], #SGpopup294 .popup-element[data-type='getcourse'] .popupElement-content { display: flex; flex-wrap: wrap; width: 100%; height: 100%; } #SGpopup294 .popup-element[data-type='getcourse'] [data-id][data-src] { width: 100%; } #SGpopup294 .popup-element[data-type='getcourse'] iframe { min-height: 100%; } @media (max-width: 1039px) { #SGpopup294 { padding: 0px 0px 0px 0px; width: 360px; min-height: 639px; max-height: 90vh; font-size: 12px; background-image: url('https://conversion-sg.ru/upload/47/popups/294/1758628617.jpg'); border-radius: 7px; } #SGpopup294 .popup-element[data-type='input'] .iti__selected-dial-code, #SGpopup294 .popup-element[data-type='input'] .popupElement-content input { font-size: 19px; } #SGpopup294 .popup-element[data-type='agree'] .popupElement-content input[type='checkbox']:checked + label { font-size: 10px; } #SGpopup294 .popup-element[data-ai='email_input'] .popupElement-error { padding: 20px 12px; font-size: 12px; } #SGpopup294 .popup-element[data-ai='email_input'] .popupElement-error:before { top: -8px; margin-left: -8px; border-width: 0 8px 8px 8px; } #SGpopup294 .popup-element[data-ai='email_input'] .popupElement-error svg { width: 20px; height: 20px; } } .fancybox__container { z-index: 999999999 !important; max-width: 100vw; max-height: 100vh; } @import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,400;0,700;1,400;1,700&display=swap'); #SGsuccess294 { padding: 120px 40px 40px 40px; width: 450px; min-width: unset; min-height: 340px; height: auto; max-height: 90vh; overflow: visible; background-image: url('https://conversion-sg.ru/upload/default/popups/new/bg_desktop.jpg'); background-size: cover; background-position: center top; background-repeat: no-repeat; background-color: transparent; border-radius: 0px; font-family: Montserrat; } #SGsuccess294 p { margin: 20px 0 0 0; padding: 0; line-height: 1.2; } #SGsuccess294 p:first-child { margin-top: 0; } #SGsuccess294 button[type='close'] { outline: none !important; cursor: pointer; } #SGsuccess294 button[type='close'] svg { display: block; pointer-events: none; } #SGsuccess294 button[data-type='link'], #SGsuccess294 button[data-type='opener'] { width: 100%; height: auto; border: none; font-family: inherit; text-align: center; cursor: pointer; -webkit-appearance: none; outline: none; } @media (max-width: 1039px) { #SGsuccess294 { padding: 75px 20px 20px 20px; width: 300px; min-height: 230px; background-image: url('https://conversion-sg.ru/upload/default/popups/new/bg_mobile.jpg'); background-size: cover; background-position: center top; background-repeat: no-repeat; background-color: transparent; } } </style><style> @import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;700&display=swap'); #SGpopup338 { padding: 0px 0px 0px 0px; width: 1000px; min-width: unset; min-height: 570px; height: auto; background-image: url('https://conversion-sg.ru/upload/47/popups/338/1744708202.png'); background-size: contain; background-repeat: no-repeat; background-color: transparent; border-radius: 20px; overflow: visible; font-family: Manrope; font-size: 16px; } #SGpopup338 * { box-sizing: border-box; line-height: 100%; outline: none !important; } #SGpopup338 h1, #SGpopup338 h2, #SGpopup338 h3 { padding: 0; margin: 0; font-size: unset; font-weight: normal; } #SGpopup338 p { padding: 0; margin: 0 0 20px 0; text-indent: 0; } #SGpopup338 p:last-child { margin: 0 !important; } #SGpopup338 img { margin: 0; display: inline-block; max-width: 100%; height: auto; border-radius: 0; } #SGpopup338 .popup-area { max-width: 100%; border: 1px dashed transparent; } #SGpopup338 .popup-area[data-type='area-link'], #SGpopup338 .popup-area[data-type='area-opener'] { display: inline-block; } #SGpopup338 .popup-area[data-type='area-container'], #SGpopup338 .popup-area[data-type='area-link'], #SGpopup338 .popup-area[data-type='area-opener'] { z-index: 1; } #SGpopup338 .popup-area[data-type='close-container'] { z-index: 3; } #SGpopup338 .popup-area[data-type='area-link'], #SGpopup338 .popup-area[data-type='area-opener'], #SGpopup338 .image-wrapper[data-type='link'], #SGpopup338 .image-wrapper[data-type='opener'], #SGpopup338 .image-wrapper[data-type='submitter'] { cursor: pointer; } #SGpopup338 .popup-element[data-type='image'], #SGpopup338 .popup-element[data-type='input-file'] { display: inline-block; } #SGpopup338 .popup-element[data-type='image'] .popupElement-content .image-wrapper img { object-fit: cover; object-position: center; } #SGpopup338 .iti { width: 100%; } #SGpopup338 .popup-element[data-type='input'] .iti__selected-dial-code { font-size: 23px; line-height: 28px; } #SGpopup338 .popup-element[data-type='input'] input { width: 100%; max-width: unset; height: auto; float: none; border-width: 1px; border-style: solid; font-family: inherit; font-weight: normal; font-size: 23px; line-height: 28px; text-transform: none; } #SGpopup338 .popup-element[data-type='input'] input::placeholder { color: inherit; } #SGpopup338 .popup-element[data-type='input'] input.error { border-color: red !important; } #SGpopup338 .popup-element[data-type='input-file']:not(.ui-draggable-dragging) { max-width: 100%; } #SGpopup338 .popup-element[data-type='input-file'] input[type='file'] { display: none; } #SGpopup338 .popup-element[data-type='input-file'] label { margin: 0; display: inline-block; width: 100%; cursor: pointer; } #SGpopup338 .popup-element[data-type='input-file'] label p { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } #SGpopup338 .popup-element[data-type='agree'] input[type='checkbox'] { display: none; } #SGpopup338 .popup-element[data-type='agree'] input[type='checkbox'] + label { position: relative; margin: 0; padding-left: 28px; display: flex; align-items: center; min-height: 18px; user-select: none; } #SGpopup338 .popup-element[data-type='agree'] input[type='checkbox'] + label:before { position: absolute; top: 0; left: 0; display: block; content: ''; width: 18px; height: 18px; border-width: 1px; border-style: solid; box-sizing: border-box; cursor: pointer; } #SGpopup338 .popup-element[data-type='agree'] input[type='checkbox'] + label.error:before { border-color: red; box-shadow: 0 0 5px red; } #SGpopup338 .popup-element[data-type='agree'] input[type='checkbox']:checked + label:after { position: absolute; top: 3px; left: 3px; display: block; content: ''; width: 12px; height: 12px; background-size: cover; } #SGpopup338 .popup-element[data-type='editor'] p span * { font-size: inherit; line-height: inherit; } #SGpopup338 .popup-element[data-type='editor'] p span strong { font-weight: bold; } #SGpopup338 .popup-element[data-type='editor'] ul { padding: 0 0 0 20px; margin: 0; } #SGpopup338 .popup-element[data-type='textarea'] textarea { width: 100%; max-width: unset; border-width: 1px; border-style: solid; outline: none; resize: none; font-family: inherit; } #SGpopup338 .popup-element[data-type='textarea'] textarea.error { border-color: red !important; } #SGpopup338 .popup-element[data-type='select'] select { display: none; } #SGpopup338 .popup-element[data-type='select'] .nice-select { float: unset; display: flex; align-items: center; } #SGpopup338 .popup-element[data-type='select'] .nice-select.error { border-color: red !important; } #SGpopup338 .popup-element[data-type='select'] .nice-select:before { position: absolute; top: 50%; margin-top: -8px; right: 16px; display: block; width: 16px; height: 16px; content: ''; background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEzIDZMOCAxMUwzIDYiIHN0cm9rZT0iYmxhY2siIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIvPgo8L3N2Zz4K); background-position: center; pointer-events: none; transition: all 0.2s ease-in-out; transform: rotate(0); } #SGpopup338 .popup-element[data-type='select'] .nice-select.open:before { background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEzIDZMOCAxMUwzIDYiIHN0cm9rZT0iIzAyODFFQiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIi8+Cjwvc3ZnPgo=); transform: rotate(180deg); } #SGpopup338 .popup-element[data-type='select'] .nice-select:after { display: none; } #SGpopup338 .popup-element[data-type='select'] .nice-select-dropdown{ left: -1px; width: calc(100% + 2px); } #SGpopup338 .popup-element[data-type='select'] .nice-select.open .nice-select-dropdown { border-width: 1px; border-style: solid; box-shadow: 0px 4px 15px 0px rgba(0, 0, 0, 0.10); } #SGpopup338 .popup-element[data-type='select'] .nice-select .list { margin: 4px 0; } #SGpopup338 .popup-element[data-type='select'] .nice-select .option { padding: 8px 16px; font-size: inherit; line-height: 100%; color: inherit; white-space: normal; } #SGpopup338 .popup-element[data-type='select'] .nice-select .option.selected { font-weight: normal; } #SGpopup338 .popup-element[data-type='select'] .nice-select .option:not(.disabled):hover, #SGpopup338 .popup-element[data-type='select'] .nice-select .option.focus, #SGpopup338 .popup-element[data-type='select'] .nice-select .option.selected.focus { background: transparent; color: #0281eb; } #SGpopup338 .popup-element[data-type='select'] .nice-select .current { max-width: 100%; overflow: hidden; text-overflow: ellipsis; font-size: inherit; line-height: 100%; } #SGpopup338 .popup-element[data-type='button-submit'] button, #SGpopup338 .popup-element[data-type='button-link'] button { width: 100%; height: auto; border: none; font-family: inherit; font-size: 23px; font-weight: normal; text-align: center; text-transform: none; cursor: pointer; -webkit-appearance: none; outline: none; } #SGpopup338 .popup-element[data-type='button-submit'] button:disabled, #SGpopup338 .image-wrapper[data-type='submitter'].disabled { cursor: not-allowed; } #SGpopup338 .popup-element[data-type='button-submit'] button *, #SGpopup338 .popup-element[data-type='button-link'] button * { color: inherit; } #SGpopup338 .popup-element[data-type='button-close'] button { outline: none !important; cursor: pointer; } #SGpopup338 .popup-element[data-type='button-close'] button svg { display: block; pointer-events: none; } #SGpopup338 .popup-element[data-type='wheel'] { z-index: 2; overflow: hidden; } #SGpopup338 .popup-element[data-type='wheel'] .popupElement-content { pointer-events: none; } #SGpopup338 .popup-element[data-type='wheel'] .wheel-circle { position: relative; z-index: 2; } #SGpopup338 .popup-element[data-type='wheel'] .wheel-prizes { position: absolute; z-index: 1; top: 0; left: 0; } #SGpopup338 .popup-element[data-type='wheel'] .wheel-circle img, #SGpopup338 .popup-element[data-type='wheel'] .wheel-prizes img { display: block; max-width: unset; } #SGpopup338 iframe.height-auto { height: auto !important; } #SGpopup338 .popup-element[data-type='getcourse'], #SGpopup338 .popup-element[data-type='getcourse'] .popupElement-content { display: flex; flex-wrap: wrap; width: 100%; height: 100%; } #SGpopup338 .popup-element[data-type='getcourse'] [data-id][data-src] { width: 100%; } #SGpopup338 .popup-element[data-type='getcourse'] iframe { min-height: 100%; } @media (max-width: 1039px) { #SGpopup338 { padding: 1px 1px 1px 1px; width: 360px; min-height: 650px; max-height: 90vh; font-size: 12px; background-image: url('https://conversion-sg.ru/upload/47/popups/338/1744708180.png'); border-radius: 15px; } #SGpopup338 .popup-element[data-type='input'] .iti__selected-dial-code, #SGpopup338 .popup-element[data-type='input'] .popupElement-content input { font-size: 19px; } #SGpopup338 .popup-element[data-type='agree'] .popupElement-content input[type='checkbox']:checked + label { font-size: 10px; } #SGpopup338 .popup-element[data-ai='email_input'] .popupElement-error { padding: 20px 12px; font-size: 12px; } #SGpopup338 .popup-element[data-ai='email_input'] .popupElement-error:before { top: -8px; margin-left: -8px; border-width: 0 8px 8px 8px; } #SGpopup338 .popup-element[data-ai='email_input'] .popupElement-error svg { width: 20px; height: 20px; } } .fancybox__container { z-index: 999999999 !important; max-width: 100vw; max-height: 100vh; } @import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,400;0,700;1,400;1,700&display=swap'); #SGsuccess338 { padding: 120px 40px 40px 40px; width: 450px; min-width: unset; min-height: 340px; height: auto; max-height: 90vh; overflow: visible; background-image: url('https://conversion-sg.ru/upload/default/popups/new/bg_desktop.jpg'); background-size: cover; background-position: center top; background-repeat: no-repeat; background-color: transparent; border-radius: 0px; font-family: Montserrat; } #SGsuccess338 p { margin: 20px 0 0 0; padding: 0; line-height: 1.2; } #SGsuccess338 p:first-child { margin-top: 0; } #SGsuccess338 button[type='close'] { outline: none !important; cursor: pointer; } #SGsuccess338 button[type='close'] svg { display: block; pointer-events: none; } #SGsuccess338 button[data-type='link'], #SGsuccess338 button[data-type='opener'] { width: 100%; height: auto; border: none; font-family: inherit; text-align: center; cursor: pointer; -webkit-appearance: none; outline: none; } @media (max-width: 1039px) { #SGsuccess338 { padding: 75px 20px 20px 20px; width: 300px; min-height: 230px; background-image: url('https://conversion-sg.ru/upload/default/popups/new/bg_mobile.jpg'); background-size: cover; background-position: center top; background-repeat: no-repeat; background-color: transparent; } } </style><style> @import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;700&display=swap'); #SGpopup590 { padding: 10px 10px 10px 10px; width: 1000px; min-width: unset; min-height: 570px; height: auto; background-image: url('https://conversion-sg.ru/upload/47/popups/590/1758200704.png'); background-size: contain; background-repeat: no-repeat; background-color: transparent; border-radius: 7px; overflow: visible; font-family: Manrope; font-size: 16px; } #SGpopup590 * { box-sizing: border-box; line-height: 100%; outline: none !important; } #SGpopup590 h1, #SGpopup590 h2, #SGpopup590 h3 { padding: 0; margin: 0; font-size: unset; font-weight: normal; } #SGpopup590 p { padding: 0; margin: 0 0 20px 0; text-indent: 0; } #SGpopup590 p:last-child { margin: 0 !important; } #SGpopup590 img { margin: 0; display: inline-block; max-width: 100%; height: auto; border-radius: 0; } #SGpopup590 .popup-area { max-width: 100%; border: 1px dashed transparent; } #SGpopup590 .popup-area[data-type='area-link'], #SGpopup590 .popup-area[data-type='area-opener'] { display: inline-block; } #SGpopup590 .popup-area[data-type='area-container'], #SGpopup590 .popup-area[data-type='area-link'], #SGpopup590 .popup-area[data-type='area-opener'] { z-index: 1; } #SGpopup590 .popup-area[data-type='close-container'] { z-index: 3; } #SGpopup590 .popup-area[data-type='area-link'], #SGpopup590 .popup-area[data-type='area-opener'], #SGpopup590 .image-wrapper[data-type='link'], #SGpopup590 .image-wrapper[data-type='opener'], #SGpopup590 .image-wrapper[data-type='submitter'] { cursor: pointer; } #SGpopup590 .popup-element[data-type='image'], #SGpopup590 .popup-element[data-type='input-file'] { display: inline-block; } #SGpopup590 .popup-element[data-type='image'] .popupElement-content .image-wrapper img { object-fit: cover; object-position: center; } #SGpopup590 .iti { width: 100%; } #SGpopup590 .popup-element[data-type='input'] .iti__selected-dial-code { font-size: 23px; line-height: 28px; } #SGpopup590 .popup-element[data-type='input'] input { width: 100%; max-width: unset; height: auto; float: none; border-width: 1px; border-style: solid; font-family: inherit; font-weight: normal; font-size: 23px; line-height: 28px; text-transform: none; } #SGpopup590 .popup-element[data-type='input'] input::placeholder { color: inherit; } #SGpopup590 .popup-element[data-type='input'] input.error { border-color: red !important; } #SGpopup590 .popup-element[data-type='input-file']:not(.ui-draggable-dragging) { max-width: 100%; } #SGpopup590 .popup-element[data-type='input-file'] input[type='file'] { display: none; } #SGpopup590 .popup-element[data-type='input-file'] label { margin: 0; display: inline-block; width: 100%; cursor: pointer; } #SGpopup590 .popup-element[data-type='input-file'] label p { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } #SGpopup590 .popup-element[data-type='agree'] input[type='checkbox'] { display: none; } #SGpopup590 .popup-element[data-type='agree'] input[type='checkbox'] + label { position: relative; margin: 0; padding-left: 28px; display: flex; align-items: center; min-height: 18px; user-select: none; } #SGpopup590 .popup-element[data-type='agree'] input[type='checkbox'] + label:before { position: absolute; top: 0; left: 0; display: block; content: ''; width: 18px; height: 18px; border-width: 1px; border-style: solid; box-sizing: border-box; cursor: pointer; } #SGpopup590 .popup-element[data-type='agree'] input[type='checkbox'] + label.error:before { border-color: red; box-shadow: 0 0 5px red; } #SGpopup590 .popup-element[data-type='agree'] input[type='checkbox']:checked + label:after { position: absolute; top: 3px; left: 3px; display: block; content: ''; width: 12px; height: 12px; background-size: cover; } #SGpopup590 .popup-element[data-type='editor'] p span * { font-size: inherit; line-height: inherit; } #SGpopup590 .popup-element[data-type='editor'] p span strong { font-weight: bold; } #SGpopup590 .popup-element[data-type='editor'] ul { padding: 0 0 0 20px; margin: 0; } #SGpopup590 .popup-element[data-type='textarea'] textarea { width: 100%; max-width: unset; border-width: 1px; border-style: solid; outline: none; resize: none; font-family: inherit; } #SGpopup590 .popup-element[data-type='textarea'] textarea.error { border-color: red !important; } #SGpopup590 .popup-element[data-type='select'] select { display: none; } #SGpopup590 .popup-element[data-type='select'] .nice-select { float: unset; display: flex; align-items: center; } #SGpopup590 .popup-element[data-type='select'] .nice-select.error { border-color: red !important; } #SGpopup590 .popup-element[data-type='select'] .nice-select:before { position: absolute; top: 50%; margin-top: -8px; right: 16px; display: block; width: 16px; height: 16px; content: ''; background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEzIDZMOCAxMUwzIDYiIHN0cm9rZT0iYmxhY2siIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIvPgo8L3N2Zz4K); background-position: center; pointer-events: none; transition: all 0.2s ease-in-out; transform: rotate(0); } #SGpopup590 .popup-element[data-type='select'] .nice-select.open:before { background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEzIDZMOCAxMUwzIDYiIHN0cm9rZT0iIzAyODFFQiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIi8+Cjwvc3ZnPgo=); transform: rotate(180deg); } #SGpopup590 .popup-element[data-type='select'] .nice-select:after { display: none; } #SGpopup590 .popup-element[data-type='select'] .nice-select-dropdown{ left: -1px; width: calc(100% + 2px); } #SGpopup590 .popup-element[data-type='select'] .nice-select.open .nice-select-dropdown { border-width: 1px; border-style: solid; box-shadow: 0px 4px 15px 0px rgba(0, 0, 0, 0.10); } #SGpopup590 .popup-element[data-type='select'] .nice-select .list { margin: 4px 0; } #SGpopup590 .popup-element[data-type='select'] .nice-select .option { padding: 8px 16px; font-size: inherit; line-height: 100%; color: inherit; white-space: normal; } #SGpopup590 .popup-element[data-type='select'] .nice-select .option.selected { font-weight: normal; } #SGpopup590 .popup-element[data-type='select'] .nice-select .option:not(.disabled):hover, #SGpopup590 .popup-element[data-type='select'] .nice-select .option.focus, #SGpopup590 .popup-element[data-type='select'] .nice-select .option.selected.focus { background: transparent; color: #0281eb; } #SGpopup590 .popup-element[data-type='select'] .nice-select .current { max-width: 100%; overflow: hidden; text-overflow: ellipsis; font-size: inherit; line-height: 100%; } #SGpopup590 .popup-element[data-type='button-submit'] button, #SGpopup590 .popup-element[data-type='button-link'] button { width: 100%; height: auto; border: none; font-family: inherit; font-size: 23px; font-weight: normal; text-align: center; text-transform: none; cursor: pointer; -webkit-appearance: none; outline: none; } #SGpopup590 .popup-element[data-type='button-submit'] button:disabled, #SGpopup590 .image-wrapper[data-type='submitter'].disabled { cursor: not-allowed; } #SGpopup590 .popup-element[data-type='button-submit'] button *, #SGpopup590 .popup-element[data-type='button-link'] button * { color: inherit; } #SGpopup590 .popup-element[data-type='button-close'] button { outline: none !important; cursor: pointer; } #SGpopup590 .popup-element[data-type='button-close'] button svg { display: block; pointer-events: none; } #SGpopup590 .popup-element[data-type='wheel'] { z-index: 2; overflow: hidden; } #SGpopup590 .popup-element[data-type='wheel'] .popupElement-content { pointer-events: none; } #SGpopup590 .popup-element[data-type='wheel'] .wheel-circle { position: relative; z-index: 2; } #SGpopup590 .popup-element[data-type='wheel'] .wheel-prizes { position: absolute; z-index: 1; top: 0; left: 0; } #SGpopup590 .popup-element[data-type='wheel'] .wheel-circle img, #SGpopup590 .popup-element[data-type='wheel'] .wheel-prizes img { display: block; max-width: unset; } #SGpopup590 iframe.height-auto { height: auto !important; } #SGpopup590 .popup-element[data-type='getcourse'], #SGpopup590 .popup-element[data-type='getcourse'] .popupElement-content { display: flex; flex-wrap: wrap; width: 100%; height: 100%; } #SGpopup590 .popup-element[data-type='getcourse'] [data-id][data-src] { width: 100%; } #SGpopup590 .popup-element[data-type='getcourse'] iframe { min-height: 100%; } @media (max-width: 1039px) { #SGpopup590 { padding: 0px 0px 0px 0px; width: 360px; min-height: 650px; max-height: 90vh; font-size: 12px; background-image: url('https://conversion-sg.ru/upload/47/popups/590/1758200739.png'); border-radius: 7px; } #SGpopup590 .popup-element[data-type='input'] .iti__selected-dial-code, #SGpopup590 .popup-element[data-type='input'] .popupElement-content input { font-size: 19px; } #SGpopup590 .popup-element[data-type='agree'] .popupElement-content input[type='checkbox']:checked + label { font-size: 10px; } #SGpopup590 .popup-element[data-ai='email_input'] .popupElement-error { padding: 20px 12px; font-size: 12px; } #SGpopup590 .popup-element[data-ai='email_input'] .popupElement-error:before { top: -8px; margin-left: -8px; border-width: 0 8px 8px 8px; } #SGpopup590 .popup-element[data-ai='email_input'] .popupElement-error svg { width: 20px; height: 20px; } } .fancybox__container { z-index: 999999999 !important; max-width: 100vw; max-height: 100vh; } @import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,400;0,700;1,400;1,700&display=swap'); #SGsuccess590 { padding: 120px 40px 40px 40px; width: 450px; min-width: unset; min-height: 340px; height: auto; max-height: 90vh; overflow: visible; background-image: url('https://conversion-sg.ru/upload/default/popups/new/bg_desktop.jpg'); background-size: cover; background-position: center top; background-repeat: no-repeat; background-color: transparent; border-radius: 0px; font-family: Montserrat; } #SGsuccess590 p { margin: 20px 0 0 0; padding: 0; line-height: 1.2; } #SGsuccess590 p:first-child { margin-top: 0; } #SGsuccess590 button[type='close'] { outline: none !important; cursor: pointer; } #SGsuccess590 button[type='close'] svg { display: block; pointer-events: none; } #SGsuccess590 button[data-type='link'], #SGsuccess590 button[data-type='opener'] { width: 100%; height: auto; border: none; font-family: inherit; text-align: center; cursor: pointer; -webkit-appearance: none; outline: none; } @media (max-width: 1039px) { #SGsuccess590 { padding: 75px 20px 20px 20px; width: 300px; min-height: 230px; background-image: url('https://conversion-sg.ru/upload/default/popups/new/bg_mobile.jpg'); background-size: cover; background-position: center top; background-repeat: no-repeat; background-color: transparent; } } </style><style> @import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;700&display=swap'); #SGpopup595 { padding: 0px 0px 0px 0px; width: 1000px; min-width: unset; min-height: 570px; height: auto; background-image: url('https://conversion-sg.ru/upload/47/popups/595/1733826613.png'); background-size: contain; background-repeat: no-repeat; background-color: transparent; border-radius: 20px; overflow: visible; font-family: Manrope; font-size: 16px; } #SGpopup595 * { box-sizing: border-box; line-height: 100%; outline: none !important; } #SGpopup595 h1, #SGpopup595 h2, #SGpopup595 h3 { padding: 0; margin: 0; font-size: unset; font-weight: normal; } #SGpopup595 p { padding: 0; margin: 0 0 20px 0; text-indent: 0; } #SGpopup595 p:last-child { margin: 0 !important; } #SGpopup595 img { margin: 0; display: inline-block; max-width: 100%; height: auto; border-radius: 0; } #SGpopup595 .popup-area { max-width: 100%; border: 1px dashed transparent; } #SGpopup595 .popup-area[data-type='area-link'], #SGpopup595 .popup-area[data-type='area-opener'] { display: inline-block; } #SGpopup595 .popup-area[data-type='area-container'], #SGpopup595 .popup-area[data-type='area-link'], #SGpopup595 .popup-area[data-type='area-opener'] { z-index: 1; } #SGpopup595 .popup-area[data-type='close-container'] { z-index: 3; } #SGpopup595 .popup-area[data-type='area-link'], #SGpopup595 .popup-area[data-type='area-opener'], #SGpopup595 .image-wrapper[data-type='link'], #SGpopup595 .image-wrapper[data-type='opener'], #SGpopup595 .image-wrapper[data-type='submitter'] { cursor: pointer; } #SGpopup595 .popup-element[data-type='image'], #SGpopup595 .popup-element[data-type='input-file'] { display: inline-block; } #SGpopup595 .popup-element[data-type='image'] .popupElement-content .image-wrapper img { object-fit: cover; object-position: center; } #SGpopup595 .iti { width: 100%; } #SGpopup595 .popup-element[data-type='input'] .iti__selected-dial-code { font-size: 23px; line-height: 28px; } #SGpopup595 .popup-element[data-type='input'] input { width: 100%; max-width: unset; height: auto; float: none; border-width: 1px; border-style: solid; font-family: inherit; font-weight: normal; font-size: 23px; line-height: 28px; text-transform: none; } #SGpopup595 .popup-element[data-type='input'] input::placeholder { color: inherit; } #SGpopup595 .popup-element[data-type='input'] input.error { border-color: red !important; } #SGpopup595 .popup-element[data-type='input-file']:not(.ui-draggable-dragging) { max-width: 100%; } #SGpopup595 .popup-element[data-type='input-file'] input[type='file'] { display: none; } #SGpopup595 .popup-element[data-type='input-file'] label { margin: 0; display: inline-block; width: 100%; cursor: pointer; } #SGpopup595 .popup-element[data-type='input-file'] label p { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } #SGpopup595 .popup-element[data-type='agree'] input[type='checkbox'] { display: none; } #SGpopup595 .popup-element[data-type='agree'] input[type='checkbox'] + label { position: relative; margin: 0; padding-left: 28px; display: flex; align-items: center; min-height: 18px; user-select: none; } #SGpopup595 .popup-element[data-type='agree'] input[type='checkbox'] + label:before { position: absolute; top: 0; left: 0; display: block; content: ''; width: 18px; height: 18px; border-width: 1px; border-style: solid; box-sizing: border-box; cursor: pointer; } #SGpopup595 .popup-element[data-type='agree'] input[type='checkbox'] + label.error:before { border-color: red; box-shadow: 0 0 5px red; } #SGpopup595 .popup-element[data-type='agree'] input[type='checkbox']:checked + label:after { position: absolute; top: 3px; left: 3px; display: block; content: ''; width: 12px; height: 12px; background-size: cover; } #SGpopup595 .popup-element[data-type='editor'] p span * { font-size: inherit; line-height: inherit; } #SGpopup595 .popup-element[data-type='editor'] p span strong { font-weight: bold; } #SGpopup595 .popup-element[data-type='editor'] ul { padding: 0 0 0 20px; margin: 0; } #SGpopup595 .popup-element[data-type='textarea'] textarea { width: 100%; max-width: unset; border-width: 1px; border-style: solid; outline: none; resize: none; font-family: inherit; } #SGpopup595 .popup-element[data-type='textarea'] textarea.error { border-color: red !important; } #SGpopup595 .popup-element[data-type='select'] select { display: none; } #SGpopup595 .popup-element[data-type='select'] .nice-select { float: unset; display: flex; align-items: center; } #SGpopup595 .popup-element[data-type='select'] .nice-select.error { border-color: red !important; } #SGpopup595 .popup-element[data-type='select'] .nice-select:before { position: absolute; top: 50%; margin-top: -8px; right: 16px; display: block; width: 16px; height: 16px; content: ''; background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEzIDZMOCAxMUwzIDYiIHN0cm9rZT0iYmxhY2siIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIvPgo8L3N2Zz4K); background-position: center; pointer-events: none; transition: all 0.2s ease-in-out; transform: rotate(0); } #SGpopup595 .popup-element[data-type='select'] .nice-select.open:before { background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEzIDZMOCAxMUwzIDYiIHN0cm9rZT0iIzAyODFFQiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIi8+Cjwvc3ZnPgo=); transform: rotate(180deg); } #SGpopup595 .popup-element[data-type='select'] .nice-select:after { display: none; } #SGpopup595 .popup-element[data-type='select'] .nice-select-dropdown{ left: -1px; width: calc(100% + 2px); } #SGpopup595 .popup-element[data-type='select'] .nice-select.open .nice-select-dropdown { border-width: 1px; border-style: solid; box-shadow: 0px 4px 15px 0px rgba(0, 0, 0, 0.10); } #SGpopup595 .popup-element[data-type='select'] .nice-select .list { margin: 4px 0; } #SGpopup595 .popup-element[data-type='select'] .nice-select .option { padding: 8px 16px; font-size: inherit; line-height: 100%; color: inherit; white-space: normal; } #SGpopup595 .popup-element[data-type='select'] .nice-select .option.selected { font-weight: normal; } #SGpopup595 .popup-element[data-type='select'] .nice-select .option:not(.disabled):hover, #SGpopup595 .popup-element[data-type='select'] .nice-select .option.focus, #SGpopup595 .popup-element[data-type='select'] .nice-select .option.selected.focus { background: transparent; color: #0281eb; } #SGpopup595 .popup-element[data-type='select'] .nice-select .current { max-width: 100%; overflow: hidden; text-overflow: ellipsis; font-size: inherit; line-height: 100%; } #SGpopup595 .popup-element[data-type='button-submit'] button, #SGpopup595 .popup-element[data-type='button-link'] button { width: 100%; height: auto; border: none; font-family: inherit; font-size: 23px; font-weight: normal; text-align: center; text-transform: none; cursor: pointer; -webkit-appearance: none; outline: none; } #SGpopup595 .popup-element[data-type='button-submit'] button:disabled, #SGpopup595 .image-wrapper[data-type='submitter'].disabled { cursor: not-allowed; } #SGpopup595 .popup-element[data-type='button-submit'] button *, #SGpopup595 .popup-element[data-type='button-link'] button * { color: inherit; } #SGpopup595 .popup-element[data-type='button-close'] button { outline: none !important; cursor: pointer; } #SGpopup595 .popup-element[data-type='button-close'] button svg { display: block; pointer-events: none; } #SGpopup595 .popup-element[data-type='wheel'] { z-index: 2; overflow: hidden; } #SGpopup595 .popup-element[data-type='wheel'] .popupElement-content { pointer-events: none; } #SGpopup595 .popup-element[data-type='wheel'] .wheel-circle { position: relative; z-index: 2; } #SGpopup595 .popup-element[data-type='wheel'] .wheel-prizes { position: absolute; z-index: 1; top: 0; left: 0; } #SGpopup595 .popup-element[data-type='wheel'] .wheel-circle img, #SGpopup595 .popup-element[data-type='wheel'] .wheel-prizes img { display: block; max-width: unset; } #SGpopup595 iframe.height-auto { height: auto !important; } #SGpopup595 .popup-element[data-type='getcourse'], #SGpopup595 .popup-element[data-type='getcourse'] .popupElement-content { display: flex; flex-wrap: wrap; width: 100%; height: 100%; } #SGpopup595 .popup-element[data-type='getcourse'] [data-id][data-src] { width: 100%; } #SGpopup595 .popup-element[data-type='getcourse'] iframe { min-height: 100%; } @media (max-width: 1039px) { #SGpopup595 { padding: 1px 1px 1px 1px; width: 360px; min-height: 650px; max-height: 90vh; font-size: 12px; background-image: url('https://conversion-sg.ru/upload/47/popups/595/1733826586.png'); border-radius: 15px; } #SGpopup595 .popup-element[data-type='input'] .iti__selected-dial-code, #SGpopup595 .popup-element[data-type='input'] .popupElement-content input { font-size: 19px; } #SGpopup595 .popup-element[data-type='agree'] .popupElement-content input[type='checkbox']:checked + label { font-size: 10px; } #SGpopup595 .popup-element[data-ai='email_input'] .popupElement-error { padding: 20px 12px; font-size: 12px; } #SGpopup595 .popup-element[data-ai='email_input'] .popupElement-error:before { top: -8px; margin-left: -8px; border-width: 0 8px 8px 8px; } #SGpopup595 .popup-element[data-ai='email_input'] .popupElement-error svg { width: 20px; height: 20px; } } .fancybox__container { z-index: 999999999 !important; max-width: 100vw; max-height: 100vh; } @import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,400;0,700;1,400;1,700&display=swap'); #SGsuccess595 { padding: 120px 40px 40px 40px; width: 450px; min-width: unset; min-height: 340px; height: auto; max-height: 90vh; overflow: visible; background-image: url('https://conversion-sg.ru/upload/default/popups/new/bg_desktop.jpg'); background-size: cover; background-position: center top; background-repeat: no-repeat; background-color: transparent; border-radius: 0px; font-family: Montserrat; } #SGsuccess595 p { margin: 20px 0 0 0; padding: 0; line-height: 1.2; } #SGsuccess595 p:first-child { margin-top: 0; } #SGsuccess595 button[type='close'] { outline: none !important; cursor: pointer; } #SGsuccess595 button[type='close'] svg { display: block; pointer-events: none; } #SGsuccess595 button[data-type='link'], #SGsuccess595 button[data-type='opener'] { width: 100%; height: auto; border: none; font-family: inherit; text-align: center; cursor: pointer; -webkit-appearance: none; outline: none; } @media (max-width: 1039px) { #SGsuccess595 { padding: 75px 20px 20px 20px; width: 300px; min-height: 230px; background-image: url('https://conversion-sg.ru/upload/default/popups/new/bg_mobile.jpg'); background-size: cover; background-position: center top; background-repeat: no-repeat; background-color: transparent; } } </style><style> @import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;700&display=swap'); #SGpopup596 { padding: 0px 0px 0px 0px; width: 1000px; min-width: unset; min-height: 570px; height: auto; background-image: url('https://conversion-sg.ru/upload/47/popups/596/1733826766.png'); background-size: contain; background-repeat: no-repeat; background-color: transparent; border-radius: 20px; overflow: visible; font-family: Manrope; font-size: 16px; } #SGpopup596 * { box-sizing: border-box; line-height: 100%; outline: none !important; } #SGpopup596 h1, #SGpopup596 h2, #SGpopup596 h3 { padding: 0; margin: 0; font-size: unset; font-weight: normal; } #SGpopup596 p { padding: 0; margin: 0 0 20px 0; text-indent: 0; } #SGpopup596 p:last-child { margin: 0 !important; } #SGpopup596 img { margin: 0; display: inline-block; max-width: 100%; height: auto; border-radius: 0; } #SGpopup596 .popup-area { max-width: 100%; border: 1px dashed transparent; } #SGpopup596 .popup-area[data-type='area-link'], #SGpopup596 .popup-area[data-type='area-opener'] { display: inline-block; } #SGpopup596 .popup-area[data-type='area-container'], #SGpopup596 .popup-area[data-type='area-link'], #SGpopup596 .popup-area[data-type='area-opener'] { z-index: 1; } #SGpopup596 .popup-area[data-type='close-container'] { z-index: 3; } #SGpopup596 .popup-area[data-type='area-link'], #SGpopup596 .popup-area[data-type='area-opener'], #SGpopup596 .image-wrapper[data-type='link'], #SGpopup596 .image-wrapper[data-type='opener'], #SGpopup596 .image-wrapper[data-type='submitter'] { cursor: pointer; } #SGpopup596 .popup-element[data-type='image'], #SGpopup596 .popup-element[data-type='input-file'] { display: inline-block; } #SGpopup596 .popup-element[data-type='image'] .popupElement-content .image-wrapper img { object-fit: cover; object-position: center; } #SGpopup596 .iti { width: 100%; } #SGpopup596 .popup-element[data-type='input'] .iti__selected-dial-code { font-size: 23px; line-height: 28px; } #SGpopup596 .popup-element[data-type='input'] input { width: 100%; max-width: unset; height: auto; float: none; border-width: 1px; border-style: solid; font-family: inherit; font-weight: normal; font-size: 23px; line-height: 28px; text-transform: none; } #SGpopup596 .popup-element[data-type='input'] input::placeholder { color: inherit; } #SGpopup596 .popup-element[data-type='input'] input.error { border-color: red !important; } #SGpopup596 .popup-element[data-type='input-file']:not(.ui-draggable-dragging) { max-width: 100%; } #SGpopup596 .popup-element[data-type='input-file'] input[type='file'] { display: none; } #SGpopup596 .popup-element[data-type='input-file'] label { margin: 0; display: inline-block; width: 100%; cursor: pointer; } #SGpopup596 .popup-element[data-type='input-file'] label p { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } #SGpopup596 .popup-element[data-type='agree'] input[type='checkbox'] { display: none; } #SGpopup596 .popup-element[data-type='agree'] input[type='checkbox'] + label { position: relative; margin: 0; padding-left: 28px; display: flex; align-items: center; min-height: 18px; user-select: none; } #SGpopup596 .popup-element[data-type='agree'] input[type='checkbox'] + label:before { position: absolute; top: 0; left: 0; display: block; content: ''; width: 18px; height: 18px; border-width: 1px; border-style: solid; box-sizing: border-box; cursor: pointer; } #SGpopup596 .popup-element[data-type='agree'] input[type='checkbox'] + label.error:before { border-color: red; box-shadow: 0 0 5px red; } #SGpopup596 .popup-element[data-type='agree'] input[type='checkbox']:checked + label:after { position: absolute; top: 3px; left: 3px; display: block; content: ''; width: 12px; height: 12px; background-size: cover; } #SGpopup596 .popup-element[data-type='editor'] p span * { font-size: inherit; line-height: inherit; } #SGpopup596 .popup-element[data-type='editor'] p span strong { font-weight: bold; } #SGpopup596 .popup-element[data-type='editor'] ul { padding: 0 0 0 20px; margin: 0; } #SGpopup596 .popup-element[data-type='textarea'] textarea { width: 100%; max-width: unset; border-width: 1px; border-style: solid; outline: none; resize: none; font-family: inherit; } #SGpopup596 .popup-element[data-type='textarea'] textarea.error { border-color: red !important; } #SGpopup596 .popup-element[data-type='select'] select { display: none; } #SGpopup596 .popup-element[data-type='select'] .nice-select { float: unset; display: flex; align-items: center; } #SGpopup596 .popup-element[data-type='select'] .nice-select.error { border-color: red !important; } #SGpopup596 .popup-element[data-type='select'] .nice-select:before { position: absolute; top: 50%; margin-top: -8px; right: 16px; display: block; width: 16px; height: 16px; content: ''; background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEzIDZMOCAxMUwzIDYiIHN0cm9rZT0iYmxhY2siIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIvPgo8L3N2Zz4K); background-position: center; pointer-events: none; transition: all 0.2s ease-in-out; transform: rotate(0); } #SGpopup596 .popup-element[data-type='select'] .nice-select.open:before { background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEzIDZMOCAxMUwzIDYiIHN0cm9rZT0iIzAyODFFQiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIi8+Cjwvc3ZnPgo=); transform: rotate(180deg); } #SGpopup596 .popup-element[data-type='select'] .nice-select:after { display: none; } #SGpopup596 .popup-element[data-type='select'] .nice-select-dropdown{ left: -1px; width: calc(100% + 2px); } #SGpopup596 .popup-element[data-type='select'] .nice-select.open .nice-select-dropdown { border-width: 1px; border-style: solid; box-shadow: 0px 4px 15px 0px rgba(0, 0, 0, 0.10); } #SGpopup596 .popup-element[data-type='select'] .nice-select .list { margin: 4px 0; } #SGpopup596 .popup-element[data-type='select'] .nice-select .option { padding: 8px 16px; font-size: inherit; line-height: 100%; color: inherit; white-space: normal; } #SGpopup596 .popup-element[data-type='select'] .nice-select .option.selected { font-weight: normal; } #SGpopup596 .popup-element[data-type='select'] .nice-select .option:not(.disabled):hover, #SGpopup596 .popup-element[data-type='select'] .nice-select .option.focus, #SGpopup596 .popup-element[data-type='select'] .nice-select .option.selected.focus { background: transparent; color: #0281eb; } #SGpopup596 .popup-element[data-type='select'] .nice-select .current { max-width: 100%; overflow: hidden; text-overflow: ellipsis; font-size: inherit; line-height: 100%; } #SGpopup596 .popup-element[data-type='button-submit'] button, #SGpopup596 .popup-element[data-type='button-link'] button { width: 100%; height: auto; border: none; font-family: inherit; font-size: 23px; font-weight: normal; text-align: center; text-transform: none; cursor: pointer; -webkit-appearance: none; outline: none; } #SGpopup596 .popup-element[data-type='button-submit'] button:disabled, #SGpopup596 .image-wrapper[data-type='submitter'].disabled { cursor: not-allowed; } #SGpopup596 .popup-element[data-type='button-submit'] button *, #SGpopup596 .popup-element[data-type='button-link'] button * { color: inherit; } #SGpopup596 .popup-element[data-type='button-close'] button { outline: none !important; cursor: pointer; } #SGpopup596 .popup-element[data-type='button-close'] button svg { display: block; pointer-events: none; } #SGpopup596 .popup-element[data-type='wheel'] { z-index: 2; overflow: hidden; } #SGpopup596 .popup-element[data-type='wheel'] .popupElement-content { pointer-events: none; } #SGpopup596 .popup-element[data-type='wheel'] .wheel-circle { position: relative; z-index: 2; } #SGpopup596 .popup-element[data-type='wheel'] .wheel-prizes { position: absolute; z-index: 1; top: 0; left: 0; } #SGpopup596 .popup-element[data-type='wheel'] .wheel-circle img, #SGpopup596 .popup-element[data-type='wheel'] .wheel-prizes img { display: block; max-width: unset; } #SGpopup596 iframe.height-auto { height: auto !important; } #SGpopup596 .popup-element[data-type='getcourse'], #SGpopup596 .popup-element[data-type='getcourse'] .popupElement-content { display: flex; flex-wrap: wrap; width: 100%; height: 100%; } #SGpopup596 .popup-element[data-type='getcourse'] [data-id][data-src] { width: 100%; } #SGpopup596 .popup-element[data-type='getcourse'] iframe { min-height: 100%; } @media (max-width: 1039px) { #SGpopup596 { padding: 1px 1px 1px 1px; width: 360px; min-height: 650px; max-height: 90vh; font-size: 12px; background-image: url('https://conversion-sg.ru/upload/47/popups/596/1733826793.png'); border-radius: 15px; } #SGpopup596 .popup-element[data-type='input'] .iti__selected-dial-code, #SGpopup596 .popup-element[data-type='input'] .popupElement-content input { font-size: 19px; } #SGpopup596 .popup-element[data-type='agree'] .popupElement-content input[type='checkbox']:checked + label { font-size: 10px; } #SGpopup596 .popup-element[data-ai='email_input'] .popupElement-error { padding: 20px 12px; font-size: 12px; } #SGpopup596 .popup-element[data-ai='email_input'] .popupElement-error:before { top: -8px; margin-left: -8px; border-width: 0 8px 8px 8px; } #SGpopup596 .popup-element[data-ai='email_input'] .popupElement-error svg { width: 20px; height: 20px; } } .fancybox__container { z-index: 999999999 !important; max-width: 100vw; max-height: 100vh; } @import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,400;0,700;1,400;1,700&display=swap'); #SGsuccess596 { padding: 120px 40px 40px 40px; width: 450px; min-width: unset; min-height: 340px; height: auto; max-height: 90vh; overflow: visible; background-image: url('https://conversion-sg.ru/upload/default/popups/new/bg_desktop.jpg'); background-size: cover; background-position: center top; background-repeat: no-repeat; background-color: transparent; border-radius: 0px; font-family: Montserrat; } #SGsuccess596 p { margin: 20px 0 0 0; padding: 0; line-height: 1.2; } #SGsuccess596 p:first-child { margin-top: 0; } #SGsuccess596 button[type='close'] { outline: none !important; cursor: pointer; } #SGsuccess596 button[type='close'] svg { display: block; pointer-events: none; } #SGsuccess596 button[data-type='link'], #SGsuccess596 button[data-type='opener'] { width: 100%; height: auto; border: none; font-family: inherit; text-align: center; cursor: pointer; -webkit-appearance: none; outline: none; } @media (max-width: 1039px) { #SGsuccess596 { padding: 75px 20px 20px 20px; width: 300px; min-height: 230px; background-image: url('https://conversion-sg.ru/upload/default/popups/new/bg_mobile.jpg'); background-size: cover; background-position: center top; background-repeat: no-repeat; background-color: transparent; } } </style><style> @import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;700&display=swap'); #SGpopup597 { padding: 0px 0px 0px 0px; width: 1000px; min-width: unset; min-height: 570px; height: auto; background-image: url('https://conversion-sg.ru/upload/47/popups/597/1733827492.png'); background-size: contain; background-repeat: no-repeat; background-color: transparent; border-radius: 20px; overflow: visible; font-family: Manrope; font-size: 16px; } #SGpopup597 * { box-sizing: border-box; line-height: 100%; outline: none !important; } #SGpopup597 h1, #SGpopup597 h2, #SGpopup597 h3 { padding: 0; margin: 0; font-size: unset; font-weight: normal; } #SGpopup597 p { padding: 0; margin: 0 0 20px 0; text-indent: 0; } #SGpopup597 p:last-child { margin: 0 !important; } #SGpopup597 img { margin: 0; display: inline-block; max-width: 100%; height: auto; border-radius: 0; } #SGpopup597 .popup-area { max-width: 100%; border: 1px dashed transparent; } #SGpopup597 .popup-area[data-type='area-link'], #SGpopup597 .popup-area[data-type='area-opener'] { display: inline-block; } #SGpopup597 .popup-area[data-type='area-container'], #SGpopup597 .popup-area[data-type='area-link'], #SGpopup597 .popup-area[data-type='area-opener'] { z-index: 1; } #SGpopup597 .popup-area[data-type='close-container'] { z-index: 3; } #SGpopup597 .popup-area[data-type='area-link'], #SGpopup597 .popup-area[data-type='area-opener'], #SGpopup597 .image-wrapper[data-type='link'], #SGpopup597 .image-wrapper[data-type='opener'], #SGpopup597 .image-wrapper[data-type='submitter'] { cursor: pointer; } #SGpopup597 .popup-element[data-type='image'], #SGpopup597 .popup-element[data-type='input-file'] { display: inline-block; } #SGpopup597 .popup-element[data-type='image'] .popupElement-content .image-wrapper img { object-fit: cover; object-position: center; } #SGpopup597 .iti { width: 100%; } #SGpopup597 .popup-element[data-type='input'] .iti__selected-dial-code { font-size: 23px; line-height: 28px; } #SGpopup597 .popup-element[data-type='input'] input { width: 100%; max-width: unset; height: auto; float: none; border-width: 1px; border-style: solid; font-family: inherit; font-weight: normal; font-size: 23px; line-height: 28px; text-transform: none; } #SGpopup597 .popup-element[data-type='input'] input::placeholder { color: inherit; } #SGpopup597 .popup-element[data-type='input'] input.error { border-color: red !important; } #SGpopup597 .popup-element[data-type='input-file']:not(.ui-draggable-dragging) { max-width: 100%; } #SGpopup597 .popup-element[data-type='input-file'] input[type='file'] { display: none; } #SGpopup597 .popup-element[data-type='input-file'] label { margin: 0; display: inline-block; width: 100%; cursor: pointer; } #SGpopup597 .popup-element[data-type='input-file'] label p { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } #SGpopup597 .popup-element[data-type='agree'] input[type='checkbox'] { display: none; } #SGpopup597 .popup-element[data-type='agree'] input[type='checkbox'] + label { position: relative; margin: 0; padding-left: 28px; display: flex; align-items: center; min-height: 18px; user-select: none; } #SGpopup597 .popup-element[data-type='agree'] input[type='checkbox'] + label:before { position: absolute; top: 0; left: 0; display: block; content: ''; width: 18px; height: 18px; border-width: 1px; border-style: solid; box-sizing: border-box; cursor: pointer; } #SGpopup597 .popup-element[data-type='agree'] input[type='checkbox'] + label.error:before { border-color: red; box-shadow: 0 0 5px red; } #SGpopup597 .popup-element[data-type='agree'] input[type='checkbox']:checked + label:after { position: absolute; top: 3px; left: 3px; display: block; content: ''; width: 12px; height: 12px; background-size: cover; } #SGpopup597 .popup-element[data-type='editor'] p span * { font-size: inherit; line-height: inherit; } #SGpopup597 .popup-element[data-type='editor'] p span strong { font-weight: bold; } #SGpopup597 .popup-element[data-type='editor'] ul { padding: 0 0 0 20px; margin: 0; } #SGpopup597 .popup-element[data-type='textarea'] textarea { width: 100%; max-width: unset; border-width: 1px; border-style: solid; outline: none; resize: none; font-family: inherit; } #SGpopup597 .popup-element[data-type='textarea'] textarea.error { border-color: red !important; } #SGpopup597 .popup-element[data-type='select'] select { display: none; } #SGpopup597 .popup-element[data-type='select'] .nice-select { float: unset; display: flex; align-items: center; } #SGpopup597 .popup-element[data-type='select'] .nice-select.error { border-color: red !important; } #SGpopup597 .popup-element[data-type='select'] .nice-select:before { position: absolute; top: 50%; margin-top: -8px; right: 16px; display: block; width: 16px; height: 16px; content: ''; background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEzIDZMOCAxMUwzIDYiIHN0cm9rZT0iYmxhY2siIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIvPgo8L3N2Zz4K); background-position: center; pointer-events: none; transition: all 0.2s ease-in-out; transform: rotate(0); } #SGpopup597 .popup-element[data-type='select'] .nice-select.open:before { background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEzIDZMOCAxMUwzIDYiIHN0cm9rZT0iIzAyODFFQiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIi8+Cjwvc3ZnPgo=); transform: rotate(180deg); } #SGpopup597 .popup-element[data-type='select'] .nice-select:after { display: none; } #SGpopup597 .popup-element[data-type='select'] .nice-select-dropdown{ left: -1px; width: calc(100% + 2px); } #SGpopup597 .popup-element[data-type='select'] .nice-select.open .nice-select-dropdown { border-width: 1px; border-style: solid; box-shadow: 0px 4px 15px 0px rgba(0, 0, 0, 0.10); } #SGpopup597 .popup-element[data-type='select'] .nice-select .list { margin: 4px 0; } #SGpopup597 .popup-element[data-type='select'] .nice-select .option { padding: 8px 16px; font-size: inherit; line-height: 100%; color: inherit; white-space: normal; } #SGpopup597 .popup-element[data-type='select'] .nice-select .option.selected { font-weight: normal; } #SGpopup597 .popup-element[data-type='select'] .nice-select .option:not(.disabled):hover, #SGpopup597 .popup-element[data-type='select'] .nice-select .option.focus, #SGpopup597 .popup-element[data-type='select'] .nice-select .option.selected.focus { background: transparent; color: #0281eb; } #SGpopup597 .popup-element[data-type='select'] .nice-select .current { max-width: 100%; overflow: hidden; text-overflow: ellipsis; font-size: inherit; line-height: 100%; } #SGpopup597 .popup-element[data-type='button-submit'] button, #SGpopup597 .popup-element[data-type='button-link'] button { width: 100%; height: auto; border: none; font-family: inherit; font-size: 23px; font-weight: normal; text-align: center; text-transform: none; cursor: pointer; -webkit-appearance: none; outline: none; } #SGpopup597 .popup-element[data-type='button-submit'] button:disabled, #SGpopup597 .image-wrapper[data-type='submitter'].disabled { cursor: not-allowed; } #SGpopup597 .popup-element[data-type='button-submit'] button *, #SGpopup597 .popup-element[data-type='button-link'] button * { color: inherit; } #SGpopup597 .popup-element[data-type='button-close'] button { outline: none !important; cursor: pointer; } #SGpopup597 .popup-element[data-type='button-close'] button svg { display: block; pointer-events: none; } #SGpopup597 .popup-element[data-type='wheel'] { z-index: 2; overflow: hidden; } #SGpopup597 .popup-element[data-type='wheel'] .popupElement-content { pointer-events: none; } #SGpopup597 .popup-element[data-type='wheel'] .wheel-circle { position: relative; z-index: 2; } #SGpopup597 .popup-element[data-type='wheel'] .wheel-prizes { position: absolute; z-index: 1; top: 0; left: 0; } #SGpopup597 .popup-element[data-type='wheel'] .wheel-circle img, #SGpopup597 .popup-element[data-type='wheel'] .wheel-prizes img { display: block; max-width: unset; } #SGpopup597 iframe.height-auto { height: auto !important; } #SGpopup597 .popup-element[data-type='getcourse'], #SGpopup597 .popup-element[data-type='getcourse'] .popupElement-content { display: flex; flex-wrap: wrap; width: 100%; height: 100%; } #SGpopup597 .popup-element[data-type='getcourse'] [data-id][data-src] { width: 100%; } #SGpopup597 .popup-element[data-type='getcourse'] iframe { min-height: 100%; } @media (max-width: 1039px) { #SGpopup597 { padding: 1px 1px 1px 1px; width: 360px; min-height: 650px; max-height: 90vh; font-size: 12px; background-image: url('https://conversion-sg.ru/upload/47/popups/597/1733827479.png'); border-radius: 15px; } #SGpopup597 .popup-element[data-type='input'] .iti__selected-dial-code, #SGpopup597 .popup-element[data-type='input'] .popupElement-content input { font-size: 19px; } #SGpopup597 .popup-element[data-type='agree'] .popupElement-content input[type='checkbox']:checked + label { font-size: 10px; } #SGpopup597 .popup-element[data-ai='email_input'] .popupElement-error { padding: 20px 12px; font-size: 12px; } #SGpopup597 .popup-element[data-ai='email_input'] .popupElement-error:before { top: -8px; margin-left: -8px; border-width: 0 8px 8px 8px; } #SGpopup597 .popup-element[data-ai='email_input'] .popupElement-error svg { width: 20px; height: 20px; } } .fancybox__container { z-index: 999999999 !important; max-width: 100vw; max-height: 100vh; } @import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,400;0,700;1,400;1,700&display=swap'); #SGsuccess597 { padding: 120px 40px 40px 40px; width: 450px; min-width: unset; min-height: 340px; height: auto; max-height: 90vh; overflow: visible; background-image: url('https://conversion-sg.ru/upload/default/popups/new/bg_desktop.jpg'); background-size: cover; background-position: center top; background-repeat: no-repeat; background-color: transparent; border-radius: 0px; font-family: Montserrat; } #SGsuccess597 p { margin: 20px 0 0 0; padding: 0; line-height: 1.2; } #SGsuccess597 p:first-child { margin-top: 0; } #SGsuccess597 button[type='close'] { outline: none !important; cursor: pointer; } #SGsuccess597 button[type='close'] svg { display: block; pointer-events: none; } #SGsuccess597 button[data-type='link'], #SGsuccess597 button[data-type='opener'] { width: 100%; height: auto; border: none; font-family: inherit; text-align: center; cursor: pointer; -webkit-appearance: none; outline: none; } @media (max-width: 1039px) { #SGsuccess597 { padding: 75px 20px 20px 20px; width: 300px; min-height: 230px; background-image: url('https://conversion-sg.ru/upload/default/popups/new/bg_mobile.jpg'); background-size: cover; background-position: center top; background-repeat: no-repeat; background-color: transparent; } } </style><style> @import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;700&display=swap'); #SGpopup598 { padding: 0px 0px 0px 0px; width: 1000px; min-width: unset; min-height: 570px; height: auto; background-image: url('https://conversion-sg.ru/upload/47/popups/598/1733827716.png'); background-size: contain; background-repeat: no-repeat; background-color: transparent; border-radius: 20px; overflow: visible; font-family: Manrope; font-size: 16px; } #SGpopup598 * { box-sizing: border-box; line-height: 100%; outline: none !important; } #SGpopup598 h1, #SGpopup598 h2, #SGpopup598 h3 { padding: 0; margin: 0; font-size: unset; font-weight: normal; } #SGpopup598 p { padding: 0; margin: 0 0 20px 0; text-indent: 0; } #SGpopup598 p:last-child { margin: 0 !important; } #SGpopup598 img { margin: 0; display: inline-block; max-width: 100%; height: auto; border-radius: 0; } #SGpopup598 .popup-area { max-width: 100%; border: 1px dashed transparent; } #SGpopup598 .popup-area[data-type='area-link'], #SGpopup598 .popup-area[data-type='area-opener'] { display: inline-block; } #SGpopup598 .popup-area[data-type='area-container'], #SGpopup598 .popup-area[data-type='area-link'], #SGpopup598 .popup-area[data-type='area-opener'] { z-index: 1; } #SGpopup598 .popup-area[data-type='close-container'] { z-index: 3; } #SGpopup598 .popup-area[data-type='area-link'], #SGpopup598 .popup-area[data-type='area-opener'], #SGpopup598 .image-wrapper[data-type='link'], #SGpopup598 .image-wrapper[data-type='opener'], #SGpopup598 .image-wrapper[data-type='submitter'] { cursor: pointer; } #SGpopup598 .popup-element[data-type='image'], #SGpopup598 .popup-element[data-type='input-file'] { display: inline-block; } #SGpopup598 .popup-element[data-type='image'] .popupElement-content .image-wrapper img { object-fit: cover; object-position: center; } #SGpopup598 .iti { width: 100%; } #SGpopup598 .popup-element[data-type='input'] .iti__selected-dial-code { font-size: 23px; line-height: 28px; } #SGpopup598 .popup-element[data-type='input'] input { width: 100%; max-width: unset; height: auto; float: none; border-width: 1px; border-style: solid; font-family: inherit; font-weight: normal; font-size: 23px; line-height: 28px; text-transform: none; } #SGpopup598 .popup-element[data-type='input'] input::placeholder { color: inherit; } #SGpopup598 .popup-element[data-type='input'] input.error { border-color: red !important; } #SGpopup598 .popup-element[data-type='input-file']:not(.ui-draggable-dragging) { max-width: 100%; } #SGpopup598 .popup-element[data-type='input-file'] input[type='file'] { display: none; } #SGpopup598 .popup-element[data-type='input-file'] label { margin: 0; display: inline-block; width: 100%; cursor: pointer; } #SGpopup598 .popup-element[data-type='input-file'] label p { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } #SGpopup598 .popup-element[data-type='agree'] input[type='checkbox'] { display: none; } #SGpopup598 .popup-element[data-type='agree'] input[type='checkbox'] + label { position: relative; margin: 0; padding-left: 28px; display: flex; align-items: center; min-height: 18px; user-select: none; } #SGpopup598 .popup-element[data-type='agree'] input[type='checkbox'] + label:before { position: absolute; top: 0; left: 0; display: block; content: ''; width: 18px; height: 18px; border-width: 1px; border-style: solid; box-sizing: border-box; cursor: pointer; } #SGpopup598 .popup-element[data-type='agree'] input[type='checkbox'] + label.error:before { border-color: red; box-shadow: 0 0 5px red; } #SGpopup598 .popup-element[data-type='agree'] input[type='checkbox']:checked + label:after { position: absolute; top: 3px; left: 3px; display: block; content: ''; width: 12px; height: 12px; background-size: cover; } #SGpopup598 .popup-element[data-type='editor'] p span * { font-size: inherit; line-height: inherit; } #SGpopup598 .popup-element[data-type='editor'] p span strong { font-weight: bold; } #SGpopup598 .popup-element[data-type='editor'] ul { padding: 0 0 0 20px; margin: 0; } #SGpopup598 .popup-element[data-type='textarea'] textarea { width: 100%; max-width: unset; border-width: 1px; border-style: solid; outline: none; resize: none; font-family: inherit; } #SGpopup598 .popup-element[data-type='textarea'] textarea.error { border-color: red !important; } #SGpopup598 .popup-element[data-type='select'] select { display: none; } #SGpopup598 .popup-element[data-type='select'] .nice-select { float: unset; display: flex; align-items: center; } #SGpopup598 .popup-element[data-type='select'] .nice-select.error { border-color: red !important; } #SGpopup598 .popup-element[data-type='select'] .nice-select:before { position: absolute; top: 50%; margin-top: -8px; right: 16px; display: block; width: 16px; height: 16px; content: ''; background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEzIDZMOCAxMUwzIDYiIHN0cm9rZT0iYmxhY2siIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIvPgo8L3N2Zz4K); background-position: center; pointer-events: none; transition: all 0.2s ease-in-out; transform: rotate(0); } #SGpopup598 .popup-element[data-type='select'] .nice-select.open:before { background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEzIDZMOCAxMUwzIDYiIHN0cm9rZT0iIzAyODFFQiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIi8+Cjwvc3ZnPgo=); transform: rotate(180deg); } #SGpopup598 .popup-element[data-type='select'] .nice-select:after { display: none; } #SGpopup598 .popup-element[data-type='select'] .nice-select-dropdown{ left: -1px; width: calc(100% + 2px); } #SGpopup598 .popup-element[data-type='select'] .nice-select.open .nice-select-dropdown { border-width: 1px; border-style: solid; box-shadow: 0px 4px 15px 0px rgba(0, 0, 0, 0.10); } #SGpopup598 .popup-element[data-type='select'] .nice-select .list { margin: 4px 0; } #SGpopup598 .popup-element[data-type='select'] .nice-select .option { padding: 8px 16px; font-size: inherit; line-height: 100%; color: inherit; white-space: normal; } #SGpopup598 .popup-element[data-type='select'] .nice-select .option.selected { font-weight: normal; } #SGpopup598 .popup-element[data-type='select'] .nice-select .option:not(.disabled):hover, #SGpopup598 .popup-element[data-type='select'] .nice-select .option.focus, #SGpopup598 .popup-element[data-type='select'] .nice-select .option.selected.focus { background: transparent; color: #0281eb; } #SGpopup598 .popup-element[data-type='select'] .nice-select .current { max-width: 100%; overflow: hidden; text-overflow: ellipsis; font-size: inherit; line-height: 100%; } #SGpopup598 .popup-element[data-type='button-submit'] button, #SGpopup598 .popup-element[data-type='button-link'] button { width: 100%; height: auto; border: none; font-family: inherit; font-size: 23px; font-weight: normal; text-align: center; text-transform: none; cursor: pointer; -webkit-appearance: none; outline: none; } #SGpopup598 .popup-element[data-type='button-submit'] button:disabled, #SGpopup598 .image-wrapper[data-type='submitter'].disabled { cursor: not-allowed; } #SGpopup598 .popup-element[data-type='button-submit'] button *, #SGpopup598 .popup-element[data-type='button-link'] button * { color: inherit; } #SGpopup598 .popup-element[data-type='button-close'] button { outline: none !important; cursor: pointer; } #SGpopup598 .popup-element[data-type='button-close'] button svg { display: block; pointer-events: none; } #SGpopup598 .popup-element[data-type='wheel'] { z-index: 2; overflow: hidden; } #SGpopup598 .popup-element[data-type='wheel'] .popupElement-content { pointer-events: none; } #SGpopup598 .popup-element[data-type='wheel'] .wheel-circle { position: relative; z-index: 2; } #SGpopup598 .popup-element[data-type='wheel'] .wheel-prizes { position: absolute; z-index: 1; top: 0; left: 0; } #SGpopup598 .popup-element[data-type='wheel'] .wheel-circle img, #SGpopup598 .popup-element[data-type='wheel'] .wheel-prizes img { display: block; max-width: unset; } #SGpopup598 iframe.height-auto { height: auto !important; } #SGpopup598 .popup-element[data-type='getcourse'], #SGpopup598 .popup-element[data-type='getcourse'] .popupElement-content { display: flex; flex-wrap: wrap; width: 100%; height: 100%; } #SGpopup598 .popup-element[data-type='getcourse'] [data-id][data-src] { width: 100%; } #SGpopup598 .popup-element[data-type='getcourse'] iframe { min-height: 100%; } @media (max-width: 1039px) { #SGpopup598 { padding: 1px 1px 1px 1px; width: 360px; min-height: 650px; max-height: 90vh; font-size: 12px; background-image: url('https://conversion-sg.ru/upload/47/popups/598/1733827728.png'); border-radius: 15px; } #SGpopup598 .popup-element[data-type='input'] .iti__selected-dial-code, #SGpopup598 .popup-element[data-type='input'] .popupElement-content input { font-size: 19px; } #SGpopup598 .popup-element[data-type='agree'] .popupElement-content input[type='checkbox']:checked + label { font-size: 10px; } #SGpopup598 .popup-element[data-ai='email_input'] .popupElement-error { padding: 20px 12px; font-size: 12px; } #SGpopup598 .popup-element[data-ai='email_input'] .popupElement-error:before { top: -8px; margin-left: -8px; border-width: 0 8px 8px 8px; } #SGpopup598 .popup-element[data-ai='email_input'] .popupElement-error svg { width: 20px; height: 20px; } } .fancybox__container { z-index: 999999999 !important; max-width: 100vw; max-height: 100vh; } @import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,400;0,700;1,400;1,700&display=swap'); #SGsuccess598 { padding: 120px 40px 40px 40px; width: 450px; min-width: unset; min-height: 340px; height: auto; max-height: 90vh; overflow: visible; background-image: url('https://conversion-sg.ru/upload/default/popups/new/bg_desktop.jpg'); background-size: cover; background-position: center top; background-repeat: no-repeat; background-color: transparent; border-radius: 0px; font-family: Montserrat; } #SGsuccess598 p { margin: 20px 0 0 0; padding: 0; line-height: 1.2; } #SGsuccess598 p:first-child { margin-top: 0; } #SGsuccess598 button[type='close'] { outline: none !important; cursor: pointer; } #SGsuccess598 button[type='close'] svg { display: block; pointer-events: none; } #SGsuccess598 button[data-type='link'], #SGsuccess598 button[data-type='opener'] { width: 100%; height: auto; border: none; font-family: inherit; text-align: center; cursor: pointer; -webkit-appearance: none; outline: none; } @media (max-width: 1039px) { #SGsuccess598 { padding: 75px 20px 20px 20px; width: 300px; min-height: 230px; background-image: url('https://conversion-sg.ru/upload/default/popups/new/bg_mobile.jpg'); background-size: cover; background-position: center top; background-repeat: no-repeat; background-color: transparent; } } </style><style> @import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;700&display=swap'); #SGpopup748 { padding: 0px 0px 0px 0px; width: 1000px; min-width: unset; min-height: 570px; height: auto; background-image: url('https://conversion-sg.ru/upload/47/popups/748/1741092110.png'); background-size: contain; background-repeat: no-repeat; background-color: transparent; border-radius: 20px; overflow: visible; font-family: Manrope; font-size: 16px; } #SGpopup748 * { box-sizing: border-box; line-height: 100%; outline: none !important; } #SGpopup748 h1, #SGpopup748 h2, #SGpopup748 h3 { padding: 0; margin: 0; font-size: unset; font-weight: normal; } #SGpopup748 p { padding: 0; margin: 0 0 20px 0; text-indent: 0; } #SGpopup748 p:last-child { margin: 0 !important; } #SGpopup748 img { margin: 0; display: inline-block; max-width: 100%; height: auto; border-radius: 0; } #SGpopup748 .popup-area { max-width: 100%; border: 1px dashed transparent; } #SGpopup748 .popup-area[data-type='area-link'], #SGpopup748 .popup-area[data-type='area-opener'] { display: inline-block; } #SGpopup748 .popup-area[data-type='area-container'], #SGpopup748 .popup-area[data-type='area-link'], #SGpopup748 .popup-area[data-type='area-opener'] { z-index: 1; } #SGpopup748 .popup-area[data-type='close-container'] { z-index: 3; } #SGpopup748 .popup-area[data-type='area-link'], #SGpopup748 .popup-area[data-type='area-opener'], #SGpopup748 .image-wrapper[data-type='link'], #SGpopup748 .image-wrapper[data-type='opener'], #SGpopup748 .image-wrapper[data-type='submitter'] { cursor: pointer; } #SGpopup748 .popup-element[data-type='image'], #SGpopup748 .popup-element[data-type='input-file'] { display: inline-block; } #SGpopup748 .popup-element[data-type='image'] .popupElement-content .image-wrapper img { object-fit: cover; object-position: center; } #SGpopup748 .iti { width: 100%; } #SGpopup748 .popup-element[data-type='input'] .iti__selected-dial-code { font-size: 23px; line-height: 28px; } #SGpopup748 .popup-element[data-type='input'] input { width: 100%; max-width: unset; height: auto; float: none; border-width: 1px; border-style: solid; font-family: inherit; font-weight: normal; font-size: 23px; line-height: 28px; text-transform: none; } #SGpopup748 .popup-element[data-type='input'] input::placeholder { color: inherit; } #SGpopup748 .popup-element[data-type='input'] input.error { border-color: red !important; } #SGpopup748 .popup-element[data-type='input-file']:not(.ui-draggable-dragging) { max-width: 100%; } #SGpopup748 .popup-element[data-type='input-file'] input[type='file'] { display: none; } #SGpopup748 .popup-element[data-type='input-file'] label { margin: 0; display: inline-block; width: 100%; cursor: pointer; } #SGpopup748 .popup-element[data-type='input-file'] label p { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } #SGpopup748 .popup-element[data-type='agree'] input[type='checkbox'] { display: none; } #SGpopup748 .popup-element[data-type='agree'] input[type='checkbox'] + label { position: relative; margin: 0; padding-left: 28px; display: flex; align-items: center; min-height: 18px; user-select: none; } #SGpopup748 .popup-element[data-type='agree'] input[type='checkbox'] + label:before { position: absolute; top: 0; left: 0; display: block; content: ''; width: 18px; height: 18px; border-width: 1px; border-style: solid; box-sizing: border-box; cursor: pointer; } #SGpopup748 .popup-element[data-type='agree'] input[type='checkbox'] + label.error:before { border-color: red; box-shadow: 0 0 5px red; } #SGpopup748 .popup-element[data-type='agree'] input[type='checkbox']:checked + label:after { position: absolute; top: 3px; left: 3px; display: block; content: ''; width: 12px; height: 12px; background-size: cover; } #SGpopup748 .popup-element[data-type='editor'] p span * { font-size: inherit; line-height: inherit; } #SGpopup748 .popup-element[data-type='editor'] p span strong { font-weight: bold; } #SGpopup748 .popup-element[data-type='editor'] ul { padding: 0 0 0 20px; margin: 0; } #SGpopup748 .popup-element[data-type='textarea'] textarea { width: 100%; max-width: unset; border-width: 1px; border-style: solid; outline: none; resize: none; font-family: inherit; } #SGpopup748 .popup-element[data-type='textarea'] textarea.error { border-color: red !important; } #SGpopup748 .popup-element[data-type='select'] select { display: none; } #SGpopup748 .popup-element[data-type='select'] .nice-select { float: unset; display: flex; align-items: center; } #SGpopup748 .popup-element[data-type='select'] .nice-select.error { border-color: red !important; } #SGpopup748 .popup-element[data-type='select'] .nice-select:before { position: absolute; top: 50%; margin-top: -8px; right: 16px; display: block; width: 16px; height: 16px; content: ''; background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEzIDZMOCAxMUwzIDYiIHN0cm9rZT0iYmxhY2siIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIvPgo8L3N2Zz4K); background-position: center; pointer-events: none; transition: all 0.2s ease-in-out; transform: rotate(0); } #SGpopup748 .popup-element[data-type='select'] .nice-select.open:before { background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEzIDZMOCAxMUwzIDYiIHN0cm9rZT0iIzAyODFFQiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIi8+Cjwvc3ZnPgo=); transform: rotate(180deg); } #SGpopup748 .popup-element[data-type='select'] .nice-select:after { display: none; } #SGpopup748 .popup-element[data-type='select'] .nice-select-dropdown{ left: -1px; width: calc(100% + 2px); } #SGpopup748 .popup-element[data-type='select'] .nice-select.open .nice-select-dropdown { border-width: 1px; border-style: solid; box-shadow: 0px 4px 15px 0px rgba(0, 0, 0, 0.10); } #SGpopup748 .popup-element[data-type='select'] .nice-select .list { margin: 4px 0; } #SGpopup748 .popup-element[data-type='select'] .nice-select .option { padding: 8px 16px; font-size: inherit; line-height: 100%; color: inherit; white-space: normal; } #SGpopup748 .popup-element[data-type='select'] .nice-select .option.selected { font-weight: normal; } #SGpopup748 .popup-element[data-type='select'] .nice-select .option:not(.disabled):hover, #SGpopup748 .popup-element[data-type='select'] .nice-select .option.focus, #SGpopup748 .popup-element[data-type='select'] .nice-select .option.selected.focus { background: transparent; color: #0281eb; } #SGpopup748 .popup-element[data-type='select'] .nice-select .current { max-width: 100%; overflow: hidden; text-overflow: ellipsis; font-size: inherit; line-height: 100%; } #SGpopup748 .popup-element[data-type='button-submit'] button, #SGpopup748 .popup-element[data-type='button-link'] button { width: 100%; height: auto; border: none; font-family: inherit; font-size: 23px; font-weight: normal; text-align: center; text-transform: none; cursor: pointer; -webkit-appearance: none; outline: none; } #SGpopup748 .popup-element[data-type='button-submit'] button:disabled, #SGpopup748 .image-wrapper[data-type='submitter'].disabled { cursor: not-allowed; } #SGpopup748 .popup-element[data-type='button-submit'] button *, #SGpopup748 .popup-element[data-type='button-link'] button * { color: inherit; } #SGpopup748 .popup-element[data-type='button-close'] button { outline: none !important; cursor: pointer; } #SGpopup748 .popup-element[data-type='button-close'] button svg { display: block; pointer-events: none; } #SGpopup748 .popup-element[data-type='wheel'] { z-index: 2; overflow: hidden; } #SGpopup748 .popup-element[data-type='wheel'] .popupElement-content { pointer-events: none; } #SGpopup748 .popup-element[data-type='wheel'] .wheel-circle { position: relative; z-index: 2; } #SGpopup748 .popup-element[data-type='wheel'] .wheel-prizes { position: absolute; z-index: 1; top: 0; left: 0; } #SGpopup748 .popup-element[data-type='wheel'] .wheel-circle img, #SGpopup748 .popup-element[data-type='wheel'] .wheel-prizes img { display: block; max-width: unset; } #SGpopup748 iframe.height-auto { height: auto !important; } #SGpopup748 .popup-element[data-type='getcourse'], #SGpopup748 .popup-element[data-type='getcourse'] .popupElement-content { display: flex; flex-wrap: wrap; width: 100%; height: 100%; } #SGpopup748 .popup-element[data-type='getcourse'] [data-id][data-src] { width: 100%; } #SGpopup748 .popup-element[data-type='getcourse'] iframe { min-height: 100%; } @media (max-width: 1039px) { #SGpopup748 { padding: 0px 0px 0px 0px; width: 375px; min-height: 750px; max-height: 90vh; font-size: 12px; background-image: url('https://conversion-sg.ru/upload/47/popups/748/1741092253.png'); border-radius: 15px; } #SGpopup748 .popup-element[data-type='input'] .iti__selected-dial-code, #SGpopup748 .popup-element[data-type='input'] .popupElement-content input { font-size: 19px; } #SGpopup748 .popup-element[data-type='agree'] .popupElement-content input[type='checkbox']:checked + label { font-size: 10px; } #SGpopup748 .popup-element[data-ai='email_input'] .popupElement-error { padding: 20px 12px; font-size: 12px; } #SGpopup748 .popup-element[data-ai='email_input'] .popupElement-error:before { top: -8px; margin-left: -8px; border-width: 0 8px 8px 8px; } #SGpopup748 .popup-element[data-ai='email_input'] .popupElement-error svg { width: 20px; height: 20px; } } .fancybox__container { z-index: 999999999 !important; max-width: 100vw; max-height: 100vh; } @import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,400;0,700;1,400;1,700&display=swap'); #SGsuccess748 { padding: 0px 0px 0px 0px; width: 420px; min-width: unset; min-height: 300px; height: auto; max-height: 90vh; overflow: visible; background-image: url('https://conversion-sg.ru/upload/47/popups/748/1753179410.png'); background-size: cover; background-position: center top; background-repeat: no-repeat; background-color: transparent; border-radius: 0px; font-family: Montserrat; } #SGsuccess748 p { margin: 20px 0 0 0; padding: 0; line-height: 1.2; } #SGsuccess748 p:first-child { margin-top: 0; } #SGsuccess748 button[type='close'] { outline: none !important; cursor: pointer; } #SGsuccess748 button[type='close'] svg { display: block; pointer-events: none; } #SGsuccess748 button[data-type='link'], #SGsuccess748 button[data-type='opener'] { width: 100%; height: auto; border: none; font-family: inherit; text-align: center; cursor: pointer; -webkit-appearance: none; outline: none; } @media (max-width: 1039px) { #SGsuccess748 { padding: 0px 0px 0px 0px; width: 360px; min-height: 250px; background-image: url('https://conversion-sg.ru/upload/47/popups/748/1753179420.png'); background-size: cover; background-position: center top; background-repeat: no-repeat; background-color: transparent; } } </style><style>@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;700&display=swap');#sgInset98 {margin: 0 auto;}#sgInset98 * {box-sizing: border-box;line-height: 100%;font-family: Manrope !important;}#sgInset98 .inset-wrapper {display: none;flex-direction: column;align-items: center;}@media (max-width: 355px) {#sgInset98 .inset-wrapper[data-step='250'] {display: flex;}}@media (min-width: 356px) and (max-width: 600px) {#sgInset98 .inset-wrapper[data-step='251'] {display: flex;}}@media (min-width: 601px) and (max-width: 640px) {#sgInset98 .inset-wrapper[data-step='247'] {display: flex;}}@media (min-width: 641px) and (max-width: 960px) {#sgInset98 .inset-wrapper[data-step='248'] {display: flex;}}@media (min-width: 961px) {#sgInset98 .inset-wrapper[data-step='249'] {display: flex;}}#sgInset98 .inset-area[data-type='area-link'],#sgInset98 .inset-area[data-type='area-opener'],#sgInset98 .image-wrapper[data-type='link'],#sgInset98 .image-wrapper[data-type='opener'],#sgInset98 .image-wrapper[data-type='submitter'] {cursor: pointer;}#sgInset98 h1,#sgInset98 h2,#sgInset98 h3 {padding: 0;margin: 0;font-size: unset;font-weight: normal;}#sgInset98 ul {margin: 0 0 0 13px;padding: 0;}#sgInset98 ul li {margin: 10px 0 0 0;padding: 0 0 0 7px;font-size: inherit;}#sgInset98 ul li:first-child {margin-top: 0;}#sgInset98 ul li:before {display: none;}#sgInset98 ul > li::marker {content: '•' !important;}#sgInset98 .inset-element .insetElement-content p {padding: 0;margin: 0 0 20px 0;font-size: 14px;font-weight: 400;line-height: 120%;text-align: left;}#sgInset98 .inset-element .insetElement-content p:last-child {margin: 0 !important;}#sgInset98 .inset-element .insetElement-content p * {font-size: inherit;line-height: 120%;color: inherit;}#sgInset98 .inset-element .insetElement-content p a {text-decoration: none;color: inherit;}#sgInset98 .inset-element .insetElement-content p a u {text-decoration: underline;}#sgInset98 .inset-element .insetElement-content p a u:hover {text-decoration: none;}#sgInset98 img {margin: 0;display: inline-block;max-width: 100%;height: auto;border-radius: 0;}#sgInset98 figure.image {margin: 0;min-width: unset;}#sgInset98 figure.image-style-side {float: right;}#sgInset98 .inset-area {max-width: 100%;border: 1px dashed transparent;box-sizing: content-box;}#sgInset98 .inset-element[data-type='image'] {display: inline-block;}#sgInset98 .inset-element[data-type='input'] .insetElement-content input {width: 100%;max-width: unset;height: auto;border-width: 1px;border-style: solid;font-family: inherit;font-size: 23px;line-height: 28px;}#sgInset98 .inset-element[data-type='input'] .insetElement-content input::placeholder {color: inherit;}#sgInset98 .inset-element[data-type='input'] .insetElement-content input.error {border-color: red !important;}#sgInset98 .inset-element[data-type='agree'] .insetElement-content input[type='checkbox'] {display: none;}#sgInset98 .inset-element[data-type='agree'] .insetElement-content input[type='checkbox'] + label {position: relative;margin: 0;padding-left: 28px;display: flex;align-items: center;min-height: 18px;user-select: none;}#sgInset98 .inset-element[data-type='agree'] input[type='checkbox'] + label * {line-height: 100%;}#sgInset98 .inset-element[data-type='agree'] input[type='checkbox'] + label:before {position: absolute;top: 0;left: 0;display: block;content: '';width: 18px;height: 18px;border: 1px solid black;box-sizing: border-box;}#sgInset98 .inset-element[data-type='agree'] input[type='checkbox'] + label.error:before {border-color: red;box-shadow: 0 0 5px red;}#sgInset98 .inset-element[data-type='agree'] input[type='checkbox']:checked + label:after {position: absolute;top: 3px;left: 3px;display: block;content: '';width: 12px;height: 12px;background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMTYuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCI+CjxzdmcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgdmVyc2lvbj0iMS4xIiBpZD0iQ2FwYV8xIiB4PSIwcHgiIHk9IjBweCIgd2lkdGg9IjUxMnB4IiBoZWlnaHQ9IjUxMnB4IiB2aWV3Qm94PSIwIDAgNDQyLjUzMyA0NDIuNTMzIiBzdHlsZT0iZW5hYmxlLWJhY2tncm91bmQ6bmV3IDAgMCA0NDIuNTMzIDQ0Mi41MzM7IiB4bWw6c3BhY2U9InByZXNlcnZlIj4KPGc+Cgk8cGF0aCBkPSJNNDM0LjUzOSw5OC40OTlsLTM4LjgyOC0zOC44MjhjLTUuMzI0LTUuMzI4LTExLjc5OS03Ljk5My0xOS40MS03Ljk5M2MtNy42MTgsMC0xNC4wOTMsMi42NjUtMTkuNDE3LDcuOTkzTDE2OS41OSwyNDcuMjQ4ICAgbC04My45MzktODQuMjI1Yy01LjMzLTUuMzMtMTEuODAxLTcuOTkyLTE5LjQxMi03Ljk5MmMtNy42MTYsMC0xNC4wODcsMi42NjItMTkuNDE3LDcuOTkyTDcuOTk0LDIwMS44NTIgICBDMi42NjQsMjA3LjE4MSwwLDIxMy42NTQsMCwyMjEuMjY5YzAsNy42MDksMi42NjQsMTQuMDg4LDcuOTk0LDE5LjQxNmwxMDMuMzUxLDEwMy4zNDlsMzguODMxLDM4LjgyOCAgIGM1LjMyNyw1LjMzMiwxMS44LDcuOTk0LDE5LjQxNCw3Ljk5NGM3LjYxMSwwLDE0LjA4NC0yLjY2OSwxOS40MTQtNy45OTRsMzguODMtMzguODI4TDQzNC41MzksMTM3LjMzICAgYzUuMzI1LTUuMzMsNy45OTQtMTEuODAyLDcuOTk0LTE5LjQxN0M0NDIuNTM3LDExMC4zMDIsNDM5Ljg2NCwxMDMuODI5LDQzNC41MzksOTguNDk5eiIgZmlsbD0iYmxhY2siLz4KPC9nPgo8L3N2Zz4K);background-size: cover;}#sgInset98 .inset-element[data-type='button-submit'] button[type='submit'],#sgInset98 .inset-element[data-type='button-link'] button[data-type='link'],#sgInset98 .inset-element[data-type='button-link'] button[data-type='opener'] {width: 100%;height: auto;border: none;font-family: inherit;font-size: 23px;text-align: center;cursor: pointer;-webkit-appearance: none;outline: none;}#sgInset98 .inset-element[data-type='button-submit'] button[type='submit']:disabled,#sgInset98 .image-wrapper[data-type='submitter'].disabled {cursor: not-allowed;}}</style><style>@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,400;0,700;1,400;1,700&display=swap');#SGsuccess98 {padding: 120px 40px 40px 40px;width: 450px;min-width: unset;min-height: 340px;height: auto;max-height: 90vh;overflow: visible;background-image: url('https://conversion-sg.ru/upload/default/popups/new/bg_desktop.jpg');background-size: cover;background-position: center top;background-repeat: no-repeat;background-color: transparent;border-radius: 0px;font-family: Montserrat;}#SGsuccess98 p {margin: 20px 0 0 0;padding: 0;line-height: 1.2;}#SGsuccess98 p:first-child {margin-top: 0;}#SGsuccess98 button[type='close'] {outline: none !important;cursor: pointer;}#SGsuccess98 button[type='close'] svg {display: block;pointer-events: none;}#SGsuccess98 button[data-type='link'],#SGsuccess98 button[data-type='opener'] {width: 100%;height: auto;border: none;font-family: inherit;text-align: center;cursor: pointer;-webkit-appearance: none;outline: none;}@media (max-width: 1039px) { #SGsuccess98 {padding: 75px 20px 20px 20px;width: 300px;min-height: 230px;background-image: url('https://conversion-sg.ru/upload/default/popups/new/bg_mobile.jpg');background-size: cover;background-position: center top;background-repeat: no-repeat;background-color: transparent;}}</style>