PageSourceSearch

https://psy-muip.ru/

html psy-muip.ru collected 2026-10-06 18:23:56 UTC 1,611,888 bytes, 22,563 lines download raw bytes

1<!doctype html>
2<html lang="ru-RU" prefix="og: http://ogp.me/ns# article: http://ogp.me/ns/article# profile: http://ogp.me/ns/profile# fb: http://ogp.me/ns/fb#">
3<head>
4	<meta charset="UTF-8">
5    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
6    <meta name="viewport" content="width=device-width, minimum-scale=0.5, maximum-scale=5, initial-scale=1.0" />
7	<meta name='robots' content='index, follow, max-image-preview:large, max-snippet:-1, max-video-preview:-1' />
8
9	<!-- This site is optimized with the Yoast SEO plugin v28.4 - https://yoast.com/product/yoast-seo-wordpress/ -->
10	<title>Международный университет интегративной психологии — онлайн-курсы, переподготовка и повышение квалификации психологов</title>
11	<meta name="description" content="МУИП — онлайн-обучение, курсы переподготовки и повышения квалификации, телесно-ориентированная терапия, гипнотерапия. Получите российский и международный диплом, начните карьеру психолога или прокачайте навыки для личного роста." />
12	<link rel="canonical" href="https://psy-muip.ru" />
13	<meta property="og:locale" content="ru_RU" />
14	<meta property="og:type" content="website" />
15	<meta property="og:title" content="Международный университет интегративной психологии — онлайн-курсы, переподготовка и повышение квалификации психологов" />
16	<meta property="og:description" content="МУИП — онлайн-обучение, курсы переподготовки и повышения квалификации, телесно-ориентированная терапия, гипнотерапия. Получите российский и международный диплом, начните карьеру психолога или прокачайте навыки для личного роста." />
17	<meta property="og:url" content="https://psy-muip.ru/" />
18	<meta property="og:site_name" content="МУИП" />
19	<meta property="article:modified_time" content="2026-09-03T11:55:13+00:00" />
20	<meta name="twitter:card" content="summary_large_image" />
21	
21<script type="application/ld+json" class="yoast-schema-graph">{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/psy-muip.ru\/","url":"https:\/\/psy-muip.ru\/","name":"Международный университет интегративной психологии — онлайн-курсы, переподготовка и повышение квалификации психологов","isPartOf":{"@id":"https:\/\/psy-muip.ru\/#website"},"datePublished":"2025-11-27T12:31:23+00:00","dateModified":"2026-09-03T11:55:13+00:00","description":"МУИП — онлайн-обучение, курсы переподготовки и повышения квалификации, телесно-ориентированная терапия, гипнотерапия. Получите российский и международный диплом, начните карьеру психолога или прокачайте навыки для личного роста.","breadcrumb":{"@id":"https:\/\/psy-muip.ru\/#breadcrumb"},"inLanguage":"ru-RU","potentialAction":[{"@type":"ReadAction","target":["https:\/\/psy-muip.ru\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/psy-muip.ru\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Главная страница"}]},{"@type":"WebSite","@id":"https:\/\/psy-muip.ru\/#website","url":"https:\/\/psy-muip.ru\/","name":"МУИП","description":"","potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/psy-muip.ru\/?s={search_term_string}"},"http:\/\/schema.org\/target":{"@type":"EntryPoint","urlTemplate":"https:\/\/psy-muip.ru\/?s={search_term_string}"},"https:\/\/schema.org\/target":{"@type":"EntryPoint","urlTemplate":"https:\/\/psy-muip.ru\/?s={search_term_string}"},"http:\/\/schema.org\/query-input":"required name=search_term_string"},"inLanguage":"ru-RU","http:\/\/schema.org\/potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/psy-muip.ru\/?s={search_term_string}"},"http:\/\/schema.org\/target":{"@type":"EntryPoint","urlTemplate":"https:\/\/psy-muip.ru\/?s={search_term_string}"},"https:\/\/schema.org\/target":{"@type":"EntryPoint","urlTemplate":"https:\/\/psy-muip.ru\/?s={search_term_string}"},"http:\/\/schema.org\/query-input":"required name=search_term_string"},"https:\/\/schema.org\/potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/psy-muip.ru\/?s={search_term_string}"},"http:\/\/schema.org\/target":{"@type":"EntryPoint","urlTemplate":"https:\/\/psy-muip.ru\/?s={search_term_string}"},"https:\/\/schema.org\/target":{"@type":"EntryPoint","urlTemplate":"https:\/\/psy-muip.ru\/?s={search_term_string}"},"http:\/\/schema.org\/query-input":"required name=search_term_string"}}]}</script>
21
22	<!-- / Yoast SEO plugin. -->
23
24
25<link rel="alternate" title="oEmbed (JSON)" type="application/json+oembed" href="https://psy-muip.ru/wp-json/oembed/1.0/embed?url=https%3A%2F%2Fpsy-muip.ru%2F" />
26<link rel="alternate" title="oEmbed (XML)" type="text/xml+oembed" href="https://psy-muip.ru/wp-json/oembed/1.0/embed?url=https%3A%2F%2Fpsy-muip.ru%2F&#038;format=xml" />
27<meta property="og:image" content="https://psy-muip.ru/wp-content/themes/reboot_child/assets/images/og-default.svg" />
28<style id="wp-img-auto-sizes-contain-inline-css">
29img:is([sizes=auto i],[sizes^="auto," i]){contain-intrinsic-size:3000px 1500px}
30/*# sourceURL=wp-img-auto-sizes-contain-inline-css */
31</style>
32
33<style id="global-styles-inline-css">
34:root{--wp--preset--aspect-ratio--square: 1;--wp--preset--aspect-ratio--4-3: 4/3;--wp--preset--aspect-ratio--3-4: 3/4;--wp--preset--aspect-ratio--3-2: 3/2;--wp--preset--aspect-ratio--2-3: 2/3;--wp--preset--aspect-ratio--16-9: 16/9;--wp--preset--aspect-ratio--9-16: 9/16;--wp--preset--color--black: #000000;--wp--preset--color--cyan-bluish-gray: #abb8c3;--wp--preset--color--white: #ffffff;--wp--preset--color--pale-pink: #f78da7;--wp--preset--color--vivid-red: #cf2e2e;--wp--preset--color--luminous-vivid-orange: #ff6900;--wp--preset--color--luminous-vivid-amber: #fcb900;--wp--preset--color--light-green-cyan: #7bdcb5;--wp--preset--color--vivid-green-cyan: #00d084;--wp--preset--color--pale-cyan-blue: #8ed1fc;--wp--preset--color--vivid-cyan-blue: #0693e3;--wp--preset--color--vivid-purple: #9b51e0;--wp--preset--gradient--vivid-cyan-blue-to-vivid-purple: linear-gradient(135deg,rgb(6,147,227) 0%,rgb(155,81,224) 100%);--wp--preset--gradient--light-green-cyan-to-vivid-green-cyan: linear-gradient(135deg,rgb(122,220,180) 0%,rgb(0,208,130) 100%);--wp--preset--gradient--luminous-vivid-amber-to-luminous-vivid-orange: linear-gradient(135deg,rgb(252,185,0) 0%,rgb(255,105,0) 100%);--wp--preset--gradient--luminous-vivid-orange-to-vivid-red: linear-gradient(135deg,rgb(255,105,0) 0%,rgb(207,46,46) 100%);--wp--preset--gradient--very-light-gray-to-cyan-bluish-gray: linear-gradient(135deg,rgb(238,238,238) 0%,rgb(169,184,195) 100%);
34--wp--preset--gradient--cool-to-warm-spectrum: linear-gradient(135deg,rgb(74,234,220) 0%,rgb(151,120,209) 20%,rgb(207,42,186) 40%,rgb(238,44,130) 60%,rgb(251,105,98) 80%,rgb(254,248,76) 100%);--wp--preset--gradient--blush-light-purple: linear-gradient(135deg,rgb(255,206,236) 0%,rgb(152,150,240) 100%);--wp--preset--gradient--blush-bordeaux: linear-gradient(135deg,rgb(254,205,165) 0%,rgb(254,45,45) 50%,rgb(107,0,62) 100%);--wp--preset--gradient--luminous-dusk: linear-gradient(135deg,rgb(255,203,112) 0%,rgb(199,81,192) 50%,rgb(65,88,208) 100%);--wp--preset--gradient--pale-ocean: linear-gradient(135deg,rgb(255,245,203) 0%,rgb(182,227,212) 50%,rgb(51,167,181) 100%);--wp--preset--gradient--electric-grass: linear-gradient(135deg,rgb(202,248,128) 0%,rgb(113,206,126) 100%);--wp--preset--gradient--midnight: linear-gradient(135deg,rgb(2,3,129) 0%,rgb(40,116,252) 100%);--wp--preset--font-size--small: 19.5px;--wp--preset--font-size--medium: 20px;--wp--preset--font-size--large: 36.5px;--wp--preset--font-size--x-large: 42px;--wp--preset--font-size--normal: 22px;--wp--preset--font-size--huge: 49.5px;--wp--preset--spacing--20: 0.44rem;--wp--preset--spacing--30: 0.67rem;--wp--preset--spacing--40: 1rem;--wp--preset--spacing--50: 1.5rem;--wp--preset--spacing--60: 2.25rem;--wp--preset--spacing--70: 3.38rem;--wp--preset--spacing--80: 5.06rem;--wp--preset--shadow--natural: 6px 6px 9px rgba(0, 0, 0, 0.2);--wp--preset--shadow--deep: 12px 12px 50px rgba(0, 0, 0, 0.4);--wp--preset--shadow--sharp: 6px 6px 0px rgba(0, 0, 0, 0.2);--wp--preset--shadow--outlined: 6px 6px 0px -3px rgb(255, 255, 255), 6px 6px rgb(0, 0, 0);--wp--preset--shadow--crisp: 6px 6px 0px rgb(0, 0, 0);}.wp-block-button{--wp--preset--dimension--25: 25%;--wp--preset--dimension--50: 50%;--wp--preset--dimension--75: 75%;--wp--preset--dimension--100: 100%;}:where(body) { margin: 0; }:where(.is-layout-flex){gap: 0.5em;}:where(.is-layout-grid){gap: 0.5em;}body .is-layout-flex{display: flex;}.is-layout-flex{flex-wrap: wrap;align-items: center;}.is-layout-flex > :is(*, div){margin: 0;}body .is-layout-grid{display: grid;}.is-layout-grid > :is(*, div){margin: 0;}body{padding-top: 0px;padding-right: 0px;padding-bottom: 0px;padding-left: 0px;}:root :where(.wp-element-button, .wp-block-button__link){background-color: #32373c;border-width: 0;color: #fff;font-family: inherit;font-size: inherit;font-style: inherit;font-weight: inherit;letter-spacing: inherit;line-height: inherit;padding-top: calc(0.667em + 2px);padding-right: calc(1.333em + 2px);padding-bottom: calc(0.667em + 2px);padding-left: calc(1.333em + 2px);text-decoration: none;text-transform: inherit;}.has-black-color{color: var(--wp--preset--color--black) !important;}.has-cyan-bluish-gray-color{color: var(--wp--preset--color--cyan-bluish-gray) !important;}.has-white-color{color: var(--wp--preset--color--white) !important;}.has-pale-pink-color{color: var(--wp--preset--color--pale-pink) !important;}.has-vivid-red-color{color: var(--wp--preset--color--vivid-red) !important;}.has-luminous-vivid-orange-color{color: var(--wp--preset--color--luminous-vivid-orange) !important;}.has-luminous-vivid-amber-color{color: var(--wp--preset--color--luminous-vivid-amber) !important;}.has-light-green-cyan-color{color: var(--wp--preset--color--light-green-cyan) !important;}.has-vivid-green-cyan-color{color: var(--wp--preset--color--vivid-green-cyan) !important;}.has-pale-cyan-blue-color{color: var(--wp--preset--color--pale-cyan-blue) !important;}.has-vivid-cyan-blue-color{color: var(--wp--preset--color--vivid-cyan-blue) !important;}.has-vivid-purple-color{color: var(--wp--preset--color--vivid-purple) !important;}.has-black-background-color{background-color: var(--wp--preset--color--black) !important;}.has-cyan-bluish-gray-background-color{background-color: var(--wp--preset--color--cyan-bluish-gray) !important;}.has-white-background-color{background-color: var(--wp--preset--color--white) !important;}.has-pale-pink-background-color{background-color: var(--wp--preset--color--pale-pink) !important;}.has-vivid-red-background-color{background-color: var(--wp--preset--color--vivid-red) !important;}.has-luminous-vivid-orange-background-color{background-color: var(--wp--preset--color--luminous-vivid-orange) !important;}.has-luminous-vivid-amber-background-color{background-color: var(--wp--preset--color--luminous-vivid-amber) !important;}.has-light-green-cyan-background-color{background-color: var(--wp--preset--color--light-green-cyan) !important;}.has-vivid-green-cyan-background-color{background-color: var(--wp--preset--color--vivid-green-cyan) !important;}.has-pale-cyan-blue-background-color{background-color: var(--wp--preset--color--pale-cyan-blue) !important;}.has-vivid-cyan-blue-background-color{background-color: var(--wp--preset--color--vivid-cyan-blue) !important;}.has-vivid-purple-background-color{background-color: var(--wp--preset--color--vivid-purple) !important;}.has-black-border-color{border-color: var(--wp--preset--color--black) !important;}.has-cyan-bluish-gray-border-color{border-color: var(--wp--preset--color--cyan-bluish-gray) !important;}.has-white-border-color{border-color: var(--wp--preset--color--white) !important;}.has-pale-pink-border-color{border-color: var(--wp--preset--color--pale-pink) !important;}.has-vivid-red-border-color{border-color: var(--wp--preset--color--vivid-red) !important;}.has-luminous-vivid-orange-border-color{border-color: var(--wp--preset--color--luminous-vivid-orange) !important;}.has-luminous-vivid-amber-border-color{border-color: var(--wp--preset--color--luminous-vivid-amber) !important;}.has-light-green-cyan-border-color{border-color: var(--wp--preset--color--light-green-cyan) !important;}.has-vivid-green-cyan-border-color{border-color: var(--wp--preset--color--vivid-green-cyan) !important;}.has-pale-cyan-blue-border-color{border-color: var(--wp--preset--color--pale-cyan-blue) !important;}.has-vivid-cyan-blue-border-color{border-color: var(--wp--preset--color--vivid-cyan-blue) !important;}.has-vivid-purple-border-color{border-color: var(--wp--preset--color--vivid-purple) !important;}.has-vivid-cyan-blue-to-vivid-purple-gradient-background{background: var(--wp--preset--gradient--vivid-cyan-blue-to-vivid-purple) !important;}.has-light-green-cyan-to-vivid-green-cyan-gradient-background{background: var(--wp--preset--gradient--light-green-cyan-to-vivid-green-cyan) !important;}.has-luminous-vivid-amber-to-luminous-vivid-orange-gradient-background{background: var(--wp--preset--gradient--luminous-vivid-amber-to-luminous-vivid-orange) !important;}.has-luminous-vivid-orange-to-vivid-red-gradient-background{background: var(--wp--preset--gradient--luminous-vivid-orange-to-vivid-red) !important;}
34.has-very-light-gray-to-cyan-bluish-gray-gradient-background{background: var(--wp--preset--gradient--very-light-gray-to-cyan-bluish-gray) !important;}.has-cool-to-warm-spectrum-gradient-background{background: var(--wp--preset--gradient--cool-to-warm-spectrum) !important;}.has-blush-light-purple-gradient-background{background: var(--wp--preset--gradient--blush-light-purple) !important;}.has-blush-bordeaux-gradient-background{background: var(--wp--preset--gradient--blush-bordeaux) !important;}.has-luminous-dusk-gradient-background{background: var(--wp--preset--gradient--luminous-dusk) !important;}.has-pale-ocean-gradient-background{background: var(--wp--preset--gradient--pale-ocean) !important;}.has-electric-grass-gradient-background{background: var(--wp--preset--gradient--electric-grass) !important;}.has-midnight-gradient-background{background: var(--wp--preset--gradient--midnight) !important;}.has-small-font-size{font-size: var(--wp--preset--font-size--small) !important;}.has-medium-font-size{font-size: var(--wp--preset--font-size--medium) !important;}.has-large-font-size{font-size: var(--wp--preset--font-size--large) !important;}.has-x-large-font-size{font-size: var(--wp--preset--font-size--x-large) !important;}.has-normal-font-size{font-size: var(--wp--preset--font-size--normal) !important;}.has-huge-font-size{font-size: var(--wp--preset--font-size--huge) !important;}
35/*# sourceURL=global-styles-inline-css */
36</style>
37
38<link rel='stylesheet' id='styles-css' href='https://psy-muip.ru/wp-content/themes/reboot_child/assets/css/style.css?ver=7.1' media='all' />
39<link rel='stylesheet' id='bvi-styles-css' href='https://psy-muip.ru/wp-content/plugins/button-visually-impaired/assets/css/bvi.min.css?ver=2.3.0' media='all' />
40<style id="bvi-styles-inline-css">
41
42			.bvi-widget,
43			.bvi-shortcode a,
44			.bvi-widget a, 
45			.bvi-shortcode {
46				color: #ffffff;
47				background-color: #e53935;
48			}
49			.bvi-widget .bvi-svg-eye,
50			.bvi-shortcode .bvi-svg-eye {
51			    display: inline-block;
52                overflow: visible;
53                width: 1.125em;
54                height: 1em;
55                font-size: 2em;
56                vertical-align: middle;
57			}
58			.bvi-widget,
59			.bvi-shortcode {
60			    -webkit-transition: background-color .2s ease-out;
61			    transition: background-color .2s ease-out;
62			    cursor: pointer;
63			    border-radius: 2px;
64			    display: inline-block;
65			    padding: 5px 10px;
66			    vertical-align: middle;
67			    text-decoration: none;
68			}
69/*# sourceURL=bvi-styles-inline-css */
70</style>
71<link rel="https://api.w.org/" href="https://psy-muip.ru/wp-json/" /><link rel="alternate" title="JSON" type="application/json" href="https://psy-muip.ru/wp-json/wp/v2/pages/10" /><meta name="generator" content="WordPress 7.1" />
72<link rel='shortlink' href='https://psy-muip.ru/' />
73<link rel="preload" href="https://psy-muip.ru/wp-content/themes/reboot/assets/fonts/wpshop-core.ttf" as="font" crossorigin>
74    <style>.scrolltop:before{content:"\fe3d"}::selection, .card-slider__category, .card-slider-container .swiper-pagination-bullet-active, .post-card--grid .post-card__thumbnail:before, .post-card:not(.post-card--small) .post-card__thumbnail a:before, .post-card:not(.post-card--small) .post-card__category,  .post-box--high .post-box__category span, .post-box--wide .post-box__category span, .page-separator, .pagination .nav-links .page-numbers:not(.dots):not(.current):before, .btn, .btn-primary:hover, .btn-primary:not(:disabled):not(.disabled).active, .btn-primary:not(:disabled):not(.disabled):active, .show>.btn-primary.dropdown-toggle, .comment-respond .form-submit input, .page-links__item:hover{background-color:#0a756f}.entry-image--big .entry-image__body .post-card__category a, .home-text ul:not([class])>li:before, .home-text ul.wp-block-list>li:before, .page-content ul:not([class])>li:before, .page-content ul.wp-block-list>li:before, .taxonomy-description ul:not([class])>li:before, .taxonomy-description ul.wp-block-list>li:before, .widget-area .widget_categories ul.menu li a:before, .widget-area .widget_categories ul.menu li span:before, .widget-area .widget_categories>ul li a:before, .widget-area .widget_categories>ul li span:before, .widget-area .widget_nav_menu ul.menu li a:before, .widget-area .widget_nav_menu ul.menu li span:before, .widget-area .widget_nav_menu>ul li a:before, .widget-area .widget_nav_menu>
74ul li span:before, .page-links .page-numbers:not(.dots):not(.current):before, .page-links .post-page-numbers:not(.dots):not(.current):before, .pagination .nav-links .page-numbers:not(.dots):not(.current):before, .pagination .nav-links .post-page-numbers:not(.dots):not(.current):before, .entry-image--full .entry-image__body .post-card__category a, .entry-image--fullscreen .entry-image__body .post-card__category a, .entry-image--wide .entry-image__body .post-card__category a{background-color:#0a756f}.comment-respond input:focus, select:focus, textarea:focus, .post-card--grid.post-card--thumbnail-no, .post-card--standard:after, .post-card--related.post-card--thumbnail-no:hover, .spoiler-box, .btn-primary, .btn-primary:hover, .btn-primary:not(:disabled):not(.disabled).active, .btn-primary:not(:disabled):not(.disabled):active, .show>.btn-primary.dropdown-toggle, .inp:focus, .entry-tag:focus, .entry-tag:hover, .search-screen .search-form .search-field:focus, .entry-content ul:not([class])>li:before, .entry-content ul.wp-block-list>li:before, .text-content ul:not([class])>li:before, .text-content ul.wp-block-list>li:before, .page-content ul:not([class])>li:before, .page-content ul.wp-block-list>li:before, .taxonomy-description ul:not([class])>li:before, .taxonomy-description ul.wp-block-list>li:before, .entry-content blockquote:not(.wpremark),
75        .input:focus, input[type=color]:focus, input[type=date]:focus, input[type=datetime-local]:focus, input[type=datetime]:focus, input[type=email]:focus, input[type=month]:focus, input[type=number]:focus, input[type=password]:focus, input[type=range]:focus, input[type=search]:focus, input[type=tel]:focus, input[type=text]:focus, input[type=time]:focus, input[type=url]:focus, input[type=week]:focus, select:focus, textarea:focus{border-color:#0a756f !important}.post-card--small .post-card__category, .post-card__author:before, .post-card__comments:before, .post-card__date:before, .post-card__like:before, .post-card__views:before, .entry-author:before, .entry-date:before, .entry-time:before, .entry-views:before, .entry-comments:before, .entry-content ol:not([class])>li:before, .entry-content ol.wp-block-list>li:before, .text-content ol:not([class])>li:before, .text-content ol.wp-block-list>li:before, .entry-content blockquote:before, .spoiler-box__title:after, .search-icon:hover:before, .search-form .search-submit:hover:before, .star-rating-item.hover,
76        .comment-list .bypostauthor>.comment-body .comment-author:after,
77        .breadcrumb a, .breadcrumb span,
78        .search-screen .search-form .search-submit:before, 
79        .star-rating--score-1:not(.hover) .star-rating-item:nth-child(1),
80        .star-rating--score-2:not(.hover) .star-rating-item:nth-child(1), .star-rating--score-2:not(.hover) .star-rating-item:nth-child(2),
81        .star-rating--score-3:not(.hover) .star-rating-item:nth-child(1), .star-rating--score-3:not(.hover) .star-rating-item:nth-child(2), .star-rating--score-3:not(.hover) .star-rating-item:nth-child(3),
82        .star-rating--score-4:not(.hover) .star-rating-item:nth-child(1), .star-rating--score-4:not(.hover) .star-rating-item:nth-child(2), .star-rating--score-4:not(.hover) .star-rating-item:nth-child(3), .star-rating--score-4:not(.hover) .star-rating-item:nth-child(4),
83        .star-rating--score-5:not(.hover) .star-rating-item:nth-child(1), .star-rating--score-5:not(.hover) .star-rating-item:nth-child(2), .star-rating--score-5:not(.hover) .star-rating-item:nth-child(3), .star-rating--score-5:not(.hover) .star-rating-item:nth-child(4), .star-rating--score-5:not(.hover) .star-rating-item:nth-child(5){color:#0a756f}.entry-content a:not(.wp-block-button__link), .entry-content a:not(.wp-block-button__link):visited, .spanlink, .comment-reply-link, .pseudo-link, .widget_calendar a, .widget_recent_comments a, .child-categories ul li a{color:#0a756f}.child-categories ul li a{border-color:#0a756f}a:hover, a:focus, a:active, .spanlink:hover, .entry-content a:not(.wp-block-button__link):hover, .entry-content a:not(.wp-block-button__link):focus, .entry-content a:not(.wp-block-button__link):active, .top-menu ul li>a:hover, .top-menu ul li>span:hover, .main-navigation ul li a:hover, .main-navigation ul li span:hover, .footer-navigation ul li a:hover, .footer-navigation ul li span:hover, .comment-reply-link:hover, .pseudo-link:hover, .child-categories ul li a:hover{color:#0a756f}.top-menu>ul>li>a:before, .top-menu>ul>li>span:before{background:#0a756f}.child-categories ul li a:hover, .post-box--no-thumb a:hover{border-color:#0a756f}.post-box--card:hover{box-shadow: inset 0 0 0 1px #0a756f}.post-box--card:hover{-webkit-box-shadow: inset 0 0 0 1px #0a756f}@media (min-width: 768px){body.custom-background{background-position:center top}}</style>
84        
84<script type="text/javascript">
85        (function () {
86            window.goals = [];
87            window.ym = function(metrica, action, id) {
88                window.goals.push({
89                    'metrica': metrica,
90                    'action': action,
91                    'id': id
92                })
93            };
94            window.metricaId = 93615077;
95            var loadedTLAnalytics = false,
96                timerId;
97            if ( navigator.userAgent.indexOf( 'YandexMetrika' ) > -1 ) {
98                loadTLAnalytics();
99            } else {
100                window.addEventListener( 'scroll', loadTLAnalytics, {passive: true} );
101                window.addEventListener( 'touchstart', loadTLAnalytics, {passive: true} );
102                document.addEventListener( 'mouseenter', loadTLAnalytics, {passive: true} );
103                document.addEventListener( 'click', loadTLAnalytics, {passive: true} );
104                document.addEventListener( 'DOMContentLoaded', loadFallback, {passive: true} );
105            }
106            function loadFallback() {
107                timerId = setTimeout( loadTLAnalytics, 5000 );
108            }
109            function loadTLAnalytics( e ) {
110                if(e && e.type) {
111                    console.log( e.type );
112                } else {
113                    console.log( 'DOMContentLoaded' );
114                }
115                if(loadedTLAnalytics) {
116                    return;
117                }
118                setTimeout(
119                    function () {
120                        if (typeof window.ym != 'undefined') {
121                            delete window.ym;
122                        }
123                        (function(m,e,t,r,i,k,a){m[i]=m[i]||function(){(m[i].a=m[i].a||[]).push(arguments)};
124                            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)})
125                        (window, document, "script", "https://mc.yandex.ru/metrika/tag.js", "ym");
126                        ym( metricaId, "init", { clickmap:true, trackLinks:true, accurateTrackBounce:true, webvisor:true,triggerEvent:true });
127                        console.log("ym start");
128                        for (var i = 0; i < window.goals.length; i++) {
129                            let goal = window.goals[i];
130                            ym(goal.metrica, goal.action, goal.id);
131                        }
132                    }, 100);
133                loadedTLAnalytics = true;
134                clearTimeout( timerId );
135                window.removeEventListener( 'scroll', loadTLAnalytics, {passive: true} );
136                window.removeEventListener( 'touchstart', loadTLAnalytics, {passive: true} );
137                document.removeEventListener( 'mouseenter', loadTLAnalytics );
138                document.removeEventListener( 'click', loadTLAnalytics );
139                document.removeEventListener( 'DOMContentLoaded', loadFallback );
140            }
141            window['reachGoal' + window.metricaId] = function(goalName) {
142                var ee = setInterval(function() {
143                    if (typeof window.ym != 'undefined') {
144                        ym(window.metricaId, 'reachGoal', goalName);
145                        clearInterval(ee);
146                    }
147                }, 500);
148            }
149        })()
150    </script>
150
151<link rel='stylesheet' id='swiper-css-css' href='https://cdn.jsdelivr.net/npm/swiper@10/swiper-bundle.min.css?ver=7.1' media='all' />
152<link rel='stylesheet' id='styles-fancybox-css' href='https://cdn.jsdelivr.net/npm/@fancyapps/ui/dist/fancybox.css?ver=7.1' media='all' />
153<link rel='stylesheet' id='home-css' href='https://psy-muip.ru/wp-content/themes/reboot_child/assets/css/home-page.css?ver=7.1' media='all' />
154<link rel='stylesheet' id='main-css-css' href='https://psy-muip.ru/wp-content/themes/reboot_child/assets/css/style.css' media='all' />
155
156<style>@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;700&display=swap');body {position: relative;}#sgTopbar262 {width: 100%;}#sgTopbar262 * {box-sizing: border-box;line-height: 100%;font-family: 'Manrope' !important;}#sgTopbar262 .topbar-wrapper {overflow: hidden;}#sgTopbar262 .topbar-wrapper {display: none;}@media (max-width: 360px) {#sgTopbar262 .topbar-wrapper[data-step='1485'] {display: block;}}@media (min-width: 361px) and (max-width: 700px) {#sgTopbar262 .topbar-wrapper[data-step='1484'] {display: block;}}@media (min-width: 701px) and (max-width: 1299px) {#sgTopbar262 .topbar-wrapper[data-step='1483'] {display: block;}}@media (min-width: 1300px) {#sgTopbar262 .topbar-wrapper[data-step='1482'] {display: block;}}body:not(.scrolled) #sgTopbar262 .topbar-wrapper[data-position='fixed'] {display: none;}#sgTopbar262 .topbar-container {margin-right: auto;margin-left: auto;position: relative;width: 100%;box-sizing: border-box;}#sgTopbar262 .image-wrapper[data-type='link'],#sgTopbar262 .image-wrapper[data-type='opener'] {cursor: pointer;}#sgTopbar262 .image-wrapper img {display: block;max-width: 100%;}#sgTopbar262 .topbar-element[data-type='button-close'] button,#sgTopbar262 .topbar-element[data-type='button-link'] button {font-family: inherit;cursor: pointer;}#sgTopbar262 .topbar-element[data-type='button-close'] button svg {display: block;pointer-events: none;}#sgTopbar262 .topbar-element[data-type='editor'] p {padding: 0;margin: 0 0 20px 0;}#sgTopbar262 .topbar-element[data-type='editor'] p:last-child {margin: 0;}#sgTopbar262 .topbar-element[data-type='editor'] p:before {display:none;}#sgTopbar262 .topbar-element[data-type='editor'] p strong {font-size: inherit;}#sgTopbar262 .topbarElement-content {width: 100%;}</style>
157<style> @import url('https://fonts.googleapis.com/css2?family=Ubuntu:ital,wght@0,400;0,700;1,400;1,700&display=swap'); #SGpopup1325 { padding: 10px 10px 10px 10px; width: 500px; min-width: unset; min-height: 463px; height: auto; background-image: url('https://service.leads-gen.ru/upload/453/popups/1325/1766064375.png'); background-size: contain; background-repeat: no-repeat; background-color: transparent; border-radius: 10px; overflow: visible; font-family: Ubuntu; font-size: 16px; } #SGpopup1325 * { box-sizing: border-box; line-height: 100%; outline: none !important; } #SGpopup1325 h1, #SGpopup1325 h2, #SGpopup1325 h3 { padding: 0; margin: 0; font-size: unset; font-weight: normal; } #SGpopup1325 p { padding: 0; margin: 0 0 20px 0; text-indent: 0; } #SGpopup1325 p:last-child { margin: 0 !important; } #SGpopup1325 img { margin: 0; display: inline-block; max-width: 100%; height: auto; border-radius: 0; } #SGpopup1325 .popup-area { max-width: 100%; border: 1px dashed transparent; } #SGpopup1325 .popup-area[data-type='area-link'], #SGpopup1325 .popup-area[data-type='area-opener'] { display: inline-block; } #SGpopup1325 .popup-area[data-type='area-container'], #SGpopup1325 .popup-area[data-type='area-link'], #SGpopup1325 .popup-area[data-type='area-opener'] { z-index: 1; } #SGpopup1325 .popup-area[data-type='close-container'] { z-index: 3; } #SGpopup1325 .popup-area[data-type='area-link'], #SGpopup1325 .popup-area[data-type='area-opener'], #SGpopup1325 .image-wrapper[data-type='link'], #SGpopup1325 .image-wrapper[data-type='opener'], #SGpopup1325 .image-wrapper[data-type='submitter'] { cursor: pointer; } #SGpopup1325 .popup-element[data-type='image'], #SGpopup1325 .popup-element[data-type='input-file'] { display: inline-block; } #SGpopup1325 .popup-element[data-type='image'] .popupElement-content .image-wrapper img { object-fit: cover; object-position: center; } #SGpopup1325 .iti { width: 100%; } #SGpopup1325 .popup-element[data-type='input'] .iti__selected-dial-code { font-size: 23px; line-height: 28px; } #SGpopup1325 .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; } #SGpopup1325 .popup-element[data-type='input'] input::placeholder { color: inherit; } #SGpopup1325 .popup-element[data-type='input'] input.error { border-color: red !important; } #SGpopup1325 .popup-element[data-type='input-file']:not(.ui-draggable-dragging) { max-width: 100%; } #SGpopup1325 .popup-element[data-type='input-file'] input[type='file'] { display: none; } #SGpopup1325 .popup-element[data-type='input-file'] label { margin: 0; display: inline-block; width: 100%; cursor: pointer; } #SGpopup1325 .popup-element[data-type='input-file'] label p { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } #SGpopup1325 .popup-element[data-type='agree'] input[type='checkbox'] { display: none; } #SGpopup1325 .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; } #SGpopup1325 .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; } #SGpopup1325 .popup-element[data-type='agree'] input[type='checkbox'] + label.error:before { border-color: red; box-shadow: 0 0 5px red; } #SGpopup1325 .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; pointer-events: none; } #SGpopup1325 .popup-element[data-type='agree'][data-mode='general'].some-selected input[type='checkbox'] + label:after, #SGpopup1325 .popup-element[data-type='agree'][data-mode='general'].all-selected input[type='checkbox'] + label:after { position: absolute; top: 3px; left: 3px; display: block; content: ''; width: 12px; height: 12px; background-size: cover; pointer-events: none; } #SGpopup1325 .popup-element[data-type='agree'][data-mode='general'].no-selected input[type='checkbox'] + label:after { display: none; } #SGpopup1325 .popup-element[data-type='editor'] p span * { font-size: inherit; line-height: inherit; } #SGpopup1325 .popup-element[data-type='editor'] p span strong { font-weight: bold; } #SGpopup1325 .popup-element[data-type='editor'] ul { padding: 0 0 0 20px; margin: 0; } #SGpopup1325 .popup-element[data-type='textarea'] textarea { width: 100%; max-width: unset; border-width: 1px; border-style: solid; outline: none; resize: none; font-family: inherit; } #SGpopup1325 .popup-element[data-type='textarea'] textarea.error { border-color: red !important; } #SGpopup1325 .popup-element[data-type='select'] select { display: none; } #SGpopup1325 .popup-element[data-type='select'] .nice-select { float: unset; display: flex; align-items: center; } #SGpopup1325 .popup-element[data-type='select'] .nice-select.error { border-color: red !important; } #SGpopup1325 .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); } #SGpopup1325 .popup-element[data-type='select'] .nice-select.open:before { background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEzIDZMOCAxMUwzIDYiIHN0cm9rZT0iIzAyODFFQiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIi8+Cjwvc3ZnPgo=); transform: rotate(180deg); } #SGpopup1325 .popup-element[data-type='select'] .nice-select:after { display: none; } #SGpopup1325 .popup-element[data-type='select'] .nice-select-dropdown{ left: -1px; width: calc(100% + 2px); } #SGpopup1325 .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); } #SGpopup1325 .popup-element[data-type='select'] .nice-select .list { margin: 4px 0; } #SGpopup1325 .popup-element[data-type='select'] .nice-select .option { padding: 8px 16px; font-size: inherit; line-height: 100%; color: inherit; white-space: normal; } #SGpopup1325 .popup-element[data-type='select'] .nice-select .option.selected { font-weight: normal; } #SGpopup1325 .popup-element[data-type='select'] .nice-select .option:not(.disabled):hover, #SGpopup1325 .popup-element[data-type='select'] .nice-select .option.focus, #SGpopup1325 .popup-element[data-type='select'] .nice-select .option.selected.focus { background: transparent; color: #0281eb; } #SGpopup1325 .popup-element[data-type='select'] .nice-select .current { max-width: 100%; overflow: hidden; text-overflow: ellipsis; font-size: inherit; line-height: 100%; } #SGpopup1325 .popup-element[data-type='button-submit'] button, #SGpopup1325 .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; } #SGpopup1325 .popup-element[data-type='button-submit'] button:disabled, #SGpopup1325 .image-wrapper[data-type='submitter'].disabled { cursor: n
157ot-allowed; } #SGpopup1325 .popup-element[data-type='button-submit'] button *, #SGpopup1325 .popup-element[data-type='button-link'] button * { color: inherit; } #SGpopup1325 .popup-element[data-type='button-close'] button { outline: none !important; cursor: pointer; } #SGpopup1325 .popup-element[data-type='button-close'] button svg { display: block; pointer-events: none; } #SGpopup1325 .popup-element[data-type='wheel'] { z-index: 2; overflow: hidden; } #SGpopup1325 .popup-element[data-type='wheel'] .popupElement-content { pointer-events: none; } #SGpopup1325 .popup-element[data-type='wheel'] .wheel-circle { position: relative; z-index: 2; } #SGpopup1325 .popup-element[data-type='wheel'] .wheel-prizes { position: absolute; z-index: 1; top: 0; left: 0; } #SGpopup1325 .popup-element[data-type='wheel'] .wheel-circle img, #SGpopup1325 .popup-element[data-type='wheel'] .wheel-prizes img { display: block; max-width: unset; } #SGpopup1325 iframe.height-auto { height: auto !important; } #SGpopup1325 .popup-element[data-type='getcourse'], #SGpopup1325 .popup-element[data-type='getcourse'] .popupElement-content { display: flex; flex-wrap: wrap; width: 100%; height: 100%; } #SGpopup1325 .popup-element[data-type='getcourse'] [data-id][data-src] { width: 100%; } #SGpopup1325 .popup-element[data-type='getcourse'] iframe { min-height: 100%; } @media (max-width: 1039px) { #SGpopup1325 { padding: 10px 10px 10px 10px; width: 320px; min-height: 396px; max-height: 90vh; font-size: 12px; background-image: url('https://service.leads-gen.ru/upload/453/popups/1325/1766064157.png'); border-radius: 0px; } #SGpopup1325 .popup-element[data-type='input'] .iti__selected-dial-code, #SGpopup1325 .popup-element[data-type='input'] .popupElement-content input { font-size: 19px; } #SGpopup1325 .popup-element[data-type='agree'] .popupElement-content input[type='checkbox']:checked + label { font-size: 10px; } #SGpopup1325 .popup-element[data-ai='email_input'] .popupElement-error { padding: 20px 12px; font-size: 12px; } #SGpopup1325 .popup-element[data-ai='email_input'] .popupElement-error:before { top: -8px; margin-left: -8px; border-width: 0 8px 8px 8px; } #SGpopup1325 .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; } #SGsuccess1325 { padding: 120px 40px 40px 40px; width: 450px; min-width: unset; min-height: 340px; height: auto; max-height: 90vh; overflow: visible; background-image: url('https://service.leads-gen.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; } #SGsuccess1325 p { margin: 20px 0 0 0; padding: 0; line-height: 1.2; } #SGsuccess1325 p:first-child { margin-top: 0; } #SGsuccess1325 button[type='close'] { outline: none !important; cursor: pointer; } #SGsuccess1325 button[type='close'] svg { display: block; pointer-events: none; } #SGsuccess1325 button[data-type='link'], #SGsuccess1325 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) { #SGsuccess1325 { padding: 75px 20px 20px 20px; width: 300px; min-height: 230px; background-image: url('https://service.leads-gen.ru/upload/default/popups/new/bg_mobile.jpg'); background-size: cover; background-position: center top; background-repeat: no-repeat; background-color: transparent; } } </style>
158<style> @import url('https://fonts.googleapis.com/css2?family=Ubuntu:ital,wght@0,400;0,700;1,400;1,700&display=swap'); #SGpopup1332 { padding: 10px 10px 10px 10px; width: 500px; min-width: unset; min-height: 387px; height: auto; background-image: url('https://service.leads-gen.ru/upload/453/popups/1332/1766064820.png'); background-size: contain; background-repeat: no-repeat; background-color: transparent; border-radius: 10px; overflow: visible; font-family: Ubuntu; font-size: 16px; } #SGpopup1332 * { box-sizing: border-box; line-height: 100%; outline: none !important; } #SGpopup1332 h1, #SGpopup1332 h2, #SGpopup1332 h3 { padding: 0; margin: 0; font-size: unset; font-weight: normal; } #SGpopup1332 p { padding: 0; margin: 0 0 20px 0; text-indent: 0; } #SGpopup1332 p:last-child { margin: 0 !important; } #SGpopup1332 img { margin: 0; display: inline-block; max-width: 100%; height: auto; border-radius: 0; } #SGpopup1332 .popup-area { max-width: 100%; border: 1px dashed transparent; } #SGpopup1332 .popup-area[data-type='area-link'], #SGpopup1332 .popup-area[data-type='area-opener'] { display: inline-block; } #SGpopup1332 .popup-area[data-type='area-container'], #SGpopup1332 .popup-area[data-type='area-link'], #SGpopup1332 .popup-area[data-type='area-opener'] { z-index: 1; } #SGpopup1332 .popup-area[data-type='close-container'] { z-index: 3; } #SGpopup1332 .popup-area[data-type='area-link'], #SGpopup1332 .popup-area[data-type='area-opener'], #SGpopup1332 .image-wrapper[data-type='link'], #SGpopup1332 .image-wrapper[data-type='opener'], #SGpopup1332 .image-wrapper[data-type='submitter'] { cursor: pointer; } #SGpopup1332 .popup-element[data-type='image'], #SGpopup1332 .popup-element[data-type='input-file'] { display: inline-block; } #SGpopup1332 .popup-element[data-type='image'] .popupElement-content .image-wrapper img { object-fit: cover; object-position: center; } #SGpopup1332 .iti { width: 100%; } #SGpopup1332 .popup-element[data-type='input'] .iti__selected-dial-code { font-size: 23px; line-height: 28px; } #SGpopup1332 .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; } #SGpopup1332 .popup-element[data-type='input'] input::placeholder { color: inherit; } #SGpopup1332 .popup-element[data-type='input'] input.error { border-color: red !important; } #SGpopup1332 .popup-element[data-type='input-file']:not(.ui-draggable-dragging) { max-width: 100%; } #SGpopup1332 .popup-element[data-type='input-file'] input[type='file'] { display: none; } #SGpopup1332 .popup-element[data-type='input-file'] label { margin: 0; display: inline-block; width: 100%; cursor: pointer; } #SGpopup1332 .popup-element[data-type='input-file'] label p { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } #SGpopup1332 .popup-element[data-type='agree'] input[type='checkbox'] { display: none; } #SGpopup1332 .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; } #SGpopup1332 .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; } #SGpopup1332 .popup-element[data-type='agree'] input[type='checkbox'] + label.error:before { border-color: red; box-shadow: 0 0 5px red; } #SGpopup1332 .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; pointer-events: none; } #SGpopup1332 .popup-element[data-type='agree'][data-mode='general'].some-selected input[type='checkbox'] + label:after, #SGpopup1332 .popup-element[data-type='agree'][data-mode='general'].all-selected input[type='checkbox'] + label:after { position: absolute; top: 3px; left: 3px; display: block; content: ''; width: 12px; height: 12px; background-size: cover; pointer-events: none; } #SGpopup1332 .popup-element[data-type='agree'][data-mode='general'].no-selected input[type='checkbox'] + label:after { display: none; } #SGpopup1332 .popup-element[data-type='editor'] p span * { font-size: inherit; line-height: inherit; } #SGpopup1332 .popup-element[data-type='editor'] p span strong { font-weight: bold; } #SGpopup1332 .popup-element[data-type='editor'] ul { padding: 0 0 0 20px; margin: 0; } #SGpopup1332 .popup-element[data-type='textarea'] textarea { width: 100%; max-width: unset; border-width: 1px; border-style: solid; outline: none; resize: none; font-family: inherit; } #SGpopup1332 .popup-element[data-type='textarea'] textarea.error { border-color: red !important; } #SGpopup1332 .popup-element[data-type='select'] select { display: none; } #SGpopup1332 .popup-element[data-type='select'] .nice-select { float: unset; display: flex; align-items: center; } #SGpopup1332 .popup-element[data-type='select'] .nice-select.error { border-color: red !important; } #SGpopup1332 .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); } #SGpopup1332 .popup-element[data-type='select'] .nice-select.open:before { background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEzIDZMOCAxMUwzIDYiIHN0cm9rZT0iIzAyODFFQiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIi8+Cjwvc3ZnPgo=); transform: rotate(180deg); } #SGpopup1332 .popup-element[data-type='select'] .nice-select:after { display: none; } #SGpopup1332 .popup-element[data-type='select'] .nice-select-dropdown{ left: -1px; width: calc(100% + 2px); } #SGpopup1332 .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); } #SGpopup1332 .popup-element[data-type='select'] .nice-select .list { margin: 4px 0; } #SGpopup1332 .popup-element[data-type='select'] .nice-select .option { padding: 8px 16px; font-size: inherit; line-height: 100%; color: inherit; white-space: normal; } #SGpopup1332 .popup-element[data-type='select'] .nice-select .option.selected { font-weight: normal; } #SGpopup1332 .popup-element[data-type='select'] .nice-select .option:not(.disabled):hover, #SGpopup1332 .popup-element[data-type='select'] .nice-select .option.focus, #SGpopup1332 .popup-element[data-type='select'] .nice-select .option.selected.focus { background: transparent; color: #0281eb; } #SGpopup1332 .popup-element[data-type='select'] .nice-select .current { max-width: 100%; overflow: hidden; text-overflow: ellipsis; font-size: inherit; line-height: 100%; } #SGpopup1332 .popup-element[data-type='button-submit'] button, #SGpopup1332 .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; } #SGpopup1332 .popup-element[data-type='button-submit'] button:disabled, #SGpopup1332 .image-wrapper[data-type='submitter'].disabled { cursor: n
158ot-allowed; } #SGpopup1332 .popup-element[data-type='button-submit'] button *, #SGpopup1332 .popup-element[data-type='button-link'] button * { color: inherit; } #SGpopup1332 .popup-element[data-type='button-close'] button { outline: none !important; cursor: pointer; } #SGpopup1332 .popup-element[data-type='button-close'] button svg { display: block; pointer-events: none; } #SGpopup1332 .popup-element[data-type='wheel'] { z-index: 2; overflow: hidden; } #SGpopup1332 .popup-element[data-type='wheel'] .popupElement-content { pointer-events: none; } #SGpopup1332 .popup-element[data-type='wheel'] .wheel-circle { position: relative; z-index: 2; } #SGpopup1332 .popup-element[data-type='wheel'] .wheel-prizes { position: absolute; z-index: 1; top: 0; left: 0; } #SGpopup1332 .popup-element[data-type='wheel'] .wheel-circle img, #SGpopup1332 .popup-element[data-type='wheel'] .wheel-prizes img { display: block; max-width: unset; } #SGpopup1332 iframe.height-auto { height: auto !important; } #SGpopup1332 .popup-element[data-type='getcourse'], #SGpopup1332 .popup-element[data-type='getcourse'] .popupElement-content { display: flex; flex-wrap: wrap; width: 100%; height: 100%; } #SGpopup1332 .popup-element[data-type='getcourse'] [data-id][data-src] { width: 100%; } #SGpopup1332 .popup-element[data-type='getcourse'] iframe { min-height: 100%; } @media (max-width: 1039px) { #SGpopup1332 { padding: 10px 10px 10px 10px; width: 320px; min-height: 307px; max-height: 90vh; font-size: 12px; background-image: url('https://service.leads-gen.ru/upload/453/popups/1332/1766064840.png'); border-radius: 0px; } #SGpopup1332 .popup-element[data-type='input'] .iti__selected-dial-code, #SGpopup1332 .popup-element[data-type='input'] .popupElement-content input { font-size: 19px; } #SGpopup1332 .popup-element[data-type='agree'] .popupElement-content input[type='checkbox']:checked + label { font-size: 10px; } #SGpopup1332 .popup-element[data-ai='email_input'] .popupElement-error { padding: 20px 12px; font-size: 12px; } #SGpopup1332 .popup-element[data-ai='email_input'] .popupElement-error:before { top: -8px; margin-left: -8px; border-width: 0 8px 8px 8px; } #SGpopup1332 .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; } #SGsuccess1332 { padding: 120px 40px 40px 40px; width: 450px; min-width: unset; min-height: 340px; height: auto; max-height: 90vh; overflow: visible; background-image: url('https://service.leads-gen.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; } #SGsuccess1332 p { margin: 20px 0 0 0; padding: 0; line-height: 1.2; } #SGsuccess1332 p:first-child { margin-top: 0; } #SGsuccess1332 button[type='close'] { outline: none !important; cursor: pointer; } #SGsuccess1332 button[type='close'] svg { display: block; pointer-events: none; } #SGsuccess1332 button[data-type='link'], #SGsuccess1332 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) { #SGsuccess1332 { padding: 75px 20px 20px 20px; width: 300px; min-height: 230px; background-image: url('https://service.leads-gen.ru/upload/default/popups/new/bg_mobile.jpg'); background-size: cover; background-position: center top; background-repeat: no-repeat; background-color: transparent; } } </style>
159<style> @import url('https://fonts.googleapis.com/css2?family=Ubuntu:ital,wght@0,400;0,700;1,400;1,700&display=swap'); #SGpopup1333 { padding: 10px 10px 10px 10px; width: 500px; min-width: unset; min-height: 497px; height: auto; background-image: url('https://service.leads-gen.ru/upload/453/popups/1333/1766065110.png'); background-size: contain; background-repeat: no-repeat; background-color: transparent; border-radius: 10px; overflow: visible; font-family: Ubuntu; font-size: 16px; } #SGpopup1333 * { box-sizing: border-box; line-height: 100%; outline: none !important; } #SGpopup1333 h1, #SGpopup1333 h2, #SGpopup1333 h3 { padding: 0; margin: 0; font-size: unset; font-weight: normal; } #SGpopup1333 p { padding: 0; margin: 0 0 20px 0; text-indent: 0; } #SGpopup1333 p:last-child { margin: 0 !important; } #SGpopup1333 img { margin: 0; display: inline-block; max-width: 100%; height: auto; border-radius: 0; } #SGpopup1333 .popup-area { max-width: 100%; border: 1px dashed transparent; } #SGpopup1333 .popup-area[data-type='area-link'], #SGpopup1333 .popup-area[data-type='area-opener'] { display: inline-block; } #SGpopup1333 .popup-area[data-type='area-container'], #SGpopup1333 .popup-area[data-type='area-link'], #SGpopup1333 .popup-area[data-type='area-opener'] { z-index: 1; } #SGpopup1333 .popup-area[data-type='close-container'] { z-index: 3; } #SGpopup1333 .popup-area[data-type='area-link'], #SGpopup1333 .popup-area[data-type='area-opener'], #SGpopup1333 .image-wrapper[data-type='link'], #SGpopup1333 .image-wrapper[data-type='opener'], #SGpopup1333 .image-wrapper[data-type='submitter'] { cursor: pointer; } #SGpopup1333 .popup-element[data-type='image'], #SGpopup1333 .popup-element[data-type='input-file'] { display: inline-block; } #SGpopup1333 .popup-element[data-type='image'] .popupElement-content .image-wrapper img { object-fit: cover; object-position: center; } #SGpopup1333 .iti { width: 100%; } #SGpopup1333 .popup-element[data-type='input'] .iti__selected-dial-code { font-size: 23px; line-height: 28px; } #SGpopup1333 .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; } #SGpopup1333 .popup-element[data-type='input'] input::placeholder { color: inherit; } #SGpopup1333 .popup-element[data-type='input'] input.error { border-color: red !important; } #SGpopup1333 .popup-element[data-type='input-file']:not(.ui-draggable-dragging) { max-width: 100%; } #SGpopup1333 .popup-element[data-type='input-file'] input[type='file'] { display: none; } #SGpopup1333 .popup-element[data-type='input-file'] label { margin: 0; display: inline-block; width: 100%; cursor: pointer; } #SGpopup1333 .popup-element[data-type='input-file'] label p { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } #SGpopup1333 .popup-element[data-type='agree'] input[type='checkbox'] { display: none; } #SGpopup1333 .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; } #SGpopup1333 .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; } #SGpopup1333 .popup-element[data-type='agree'] input[type='checkbox'] + label.error:before { border-color: red; box-shadow: 0 0 5px red; } #SGpopup1333 .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; pointer-events: none; } #SGpopup1333 .popup-element[data-type='agree'][data-mode='general'].some-selected input[type='checkbox'] + label:after, #SGpopup1333 .popup-element[data-type='agree'][data-mode='general'].all-selected input[type='checkbox'] + label:after { position: absolute; top: 3px; left: 3px; display: block; content: ''; width: 12px; height: 12px; background-size: cover; pointer-events: none; } #SGpopup1333 .popup-element[data-type='agree'][data-mode='general'].no-selected input[type='checkbox'] + label:after { display: none; } #SGpopup1333 .popup-element[data-type='editor'] p span * { font-size: inherit; line-height: inherit; } #SGpopup1333 .popup-element[data-type='editor'] p span strong { font-weight: bold; } #SGpopup1333 .popup-element[data-type='editor'] ul { padding: 0 0 0 20px; margin: 0; } #SGpopup1333 .popup-element[data-type='textarea'] textarea { width: 100%; max-width: unset; border-width: 1px; border-style: solid; outline: none; resize: none; font-family: inherit; } #SGpopup1333 .popup-element[data-type='textarea'] textarea.error { border-color: red !important; } #SGpopup1333 .popup-element[data-type='select'] select { display: none; } #SGpopup1333 .popup-element[data-type='select'] .nice-select { float: unset; display: flex; align-items: center; } #SGpopup1333 .popup-element[data-type='select'] .nice-select.error { border-color: red !important; } #SGpopup1333 .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); } #SGpopup1333 .popup-element[data-type='select'] .nice-select.open:before { background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEzIDZMOCAxMUwzIDYiIHN0cm9rZT0iIzAyODFFQiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIi8+Cjwvc3ZnPgo=); transform: rotate(180deg); } #SGpopup1333 .popup-element[data-type='select'] .nice-select:after { display: none; } #SGpopup1333 .popup-element[data-type='select'] .nice-select-dropdown{ left: -1px; width: calc(100% + 2px); } #SGpopup1333 .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); } #SGpopup1333 .popup-element[data-type='select'] .nice-select .list { margin: 4px 0; } #SGpopup1333 .popup-element[data-type='select'] .nice-select .option { padding: 8px 16px; font-size: inherit; line-height: 100%; color: inherit; white-space: normal; } #SGpopup1333 .popup-element[data-type='select'] .nice-select .option.selected { font-weight: normal; } #SGpopup1333 .popup-element[data-type='select'] .nice-select .option:not(.disabled):hover, #SGpopup1333 .popup-element[data-type='select'] .nice-select .option.focus, #SGpopup1333 .popup-element[data-type='select'] .nice-select .option.selected.focus { background: transparent; color: #0281eb; } #SGpopup1333 .popup-element[data-type='select'] .nice-select .current { max-width: 100%; overflow: hidden; text-overflow: ellipsis; font-size: inherit; line-height: 100%; } #SGpopup1333 .popup-element[data-type='button-submit'] button, #SGpopup1333 .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; } #SGpopup1333 .popup-element[data-type='button-submit'] button:disabled, #SGpopup1333 .image-wrapper[data-type='submitter'].disabled { cursor: n
159ot-allowed; } #SGpopup1333 .popup-element[data-type='button-submit'] button *, #SGpopup1333 .popup-element[data-type='button-link'] button * { color: inherit; } #SGpopup1333 .popup-element[data-type='button-close'] button { outline: none !important; cursor: pointer; } #SGpopup1333 .popup-element[data-type='button-close'] button svg { display: block; pointer-events: none; } #SGpopup1333 .popup-element[data-type='wheel'] { z-index: 2; overflow: hidden; } #SGpopup1333 .popup-element[data-type='wheel'] .popupElement-content { pointer-events: none; } #SGpopup1333 .popup-element[data-type='wheel'] .wheel-circle { position: relative; z-index: 2; } #SGpopup1333 .popup-element[data-type='wheel'] .wheel-prizes { position: absolute; z-index: 1; top: 0; left: 0; } #SGpopup1333 .popup-element[data-type='wheel'] .wheel-circle img, #SGpopup1333 .popup-element[data-type='wheel'] .wheel-prizes img { display: block; max-width: unset; } #SGpopup1333 iframe.height-auto { height: auto !important; } #SGpopup1333 .popup-element[data-type='getcourse'], #SGpopup1333 .popup-element[data-type='getcourse'] .popupElement-content { display: flex; flex-wrap: wrap; width: 100%; height: 100%; } #SGpopup1333 .popup-element[data-type='getcourse'] [data-id][data-src] { width: 100%; } #SGpopup1333 .popup-element[data-type='getcourse'] iframe { min-height: 100%; } @media (max-width: 1039px) { #SGpopup1333 { padding: 10px 10px 10px 10px; width: 320px; min-height: 424px; max-height: 90vh; font-size: 12px; background-image: url('https://service.leads-gen.ru/upload/453/popups/1333/1766065120.png'); border-radius: 0px; } #SGpopup1333 .popup-element[data-type='input'] .iti__selected-dial-code, #SGpopup1333 .popup-element[data-type='input'] .popupElement-content input { font-size: 19px; } #SGpopup1333 .popup-element[data-type='agree'] .popupElement-content input[type='checkbox']:checked + label { font-size: 10px; } #SGpopup1333 .popup-element[data-ai='email_input'] .popupElement-error { padding: 20px 12px; font-size: 12px; } #SGpopup1333 .popup-element[data-ai='email_input'] .popupElement-error:before { top: -8px; margin-left: -8px; border-width: 0 8px 8px 8px; } #SGpopup1333 .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; } #SGsuccess1333 { padding: 120px 40px 40px 40px; width: 450px; min-width: unset; min-height: 340px; height: auto; max-height: 90vh; overflow: visible; background-image: url('https://service.leads-gen.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; } #SGsuccess1333 p { margin: 20px 0 0 0; padding: 0; line-height: 1.2; } #SGsuccess1333 p:first-child { margin-top: 0; } #SGsuccess1333 button[type='close'] { outline: none !important; cursor: pointer; } #SGsuccess1333 button[type='close'] svg { display: block; pointer-events: none; } #SGsuccess1333 button[data-type='link'], #SGsuccess1333 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) { #SGsuccess1333 { padding: 75px 20px 20px 20px; width: 300px; min-height: 230px; background-image: url('https://service.leads-gen.ru/upload/default/popups/new/bg_mobile.jpg'); background-size: cover; background-position: center top; background-repeat: no-repeat; background-color: transparent; } } </style>
160<style> @import url('https://fonts.googleapis.com/css2?family=Ubuntu:ital,wght@0,400;0,700;1,400;1,700&display=swap'); #SGpopup1334 { padding: 10px 10px 10px 10px; width: 500px; min-width: unset; min-height: 603px; height: auto; background-image: url('https://service.leads-gen.ru/upload/453/popups/1334/1766065667.png'); background-size: contain; background-repeat: no-repeat; background-color: transparent; border-radius: 10px; overflow: visible; font-family: Ubuntu; font-size: 16px; } #SGpopup1334 * { box-sizing: border-box; line-height: 100%; outline: none !important; } #SGpopup1334 h1, #SGpopup1334 h2, #SGpopup1334 h3 { padding: 0; margin: 0; font-size: unset; font-weight: normal; } #SGpopup1334 p { padding: 0; margin: 0 0 20px 0; text-indent: 0; } #SGpopup1334 p:last-child { margin: 0 !important; } #SGpopup1334 img { margin: 0; display: inline-block; max-width: 100%; height: auto; border-radius: 0; } #SGpopup1334 .popup-area { max-width: 100%; border: 1px dashed transparent; } #SGpopup1334 .popup-area[data-type='area-link'], #SGpopup1334 .popup-area[data-type='area-opener'] { display: inline-block; } #SGpopup1334 .popup-area[data-type='area-container'], #SGpopup1334 .popup-area[data-type='area-link'], #SGpopup1334 .popup-area[data-type='area-opener'] { z-index: 1; } #SGpopup1334 .popup-area[data-type='close-container'] { z-index: 3; } #SGpopup1334 .popup-area[data-type='area-link'], #SGpopup1334 .popup-area[data-type='area-opener'], #SGpopup1334 .image-wrapper[data-type='link'], #SGpopup1334 .image-wrapper[data-type='opener'], #SGpopup1334 .image-wrapper[data-type='submitter'] { cursor: pointer; } #SGpopup1334 .popup-element[data-type='image'], #SGpopup1334 .popup-element[data-type='input-file'] { display: inline-block; } #SGpopup1334 .popup-element[data-type='image'] .popupElement-content .image-wrapper img { object-fit: cover; object-position: center; } #SGpopup1334 .iti { width: 100%; } #SGpopup1334 .popup-element[data-type='input'] .iti__selected-dial-code { font-size: 23px; line-height: 28px; } #SGpopup1334 .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; } #SGpopup1334 .popup-element[data-type='input'] input::placeholder { color: inherit; } #SGpopup1334 .popup-element[data-type='input'] input.error { border-color: red !important; } #SGpopup1334 .popup-element[data-type='input-file']:not(.ui-draggable-dragging) { max-width: 100%; } #SGpopup1334 .popup-element[data-type='input-file'] input[type='file'] { display: none; } #SGpopup1334 .popup-element[data-type='input-file'] label { margin: 0; display: inline-block; width: 100%; cursor: pointer; } #SGpopup1334 .popup-element[data-type='input-file'] label p { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } #SGpopup1334 .popup-element[data-type='agree'] input[type='checkbox'] { display: none; } #SGpopup1334 .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; } #SGpopup1334 .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; } #SGpopup1334 .popup-element[data-type='agree'] input[type='checkbox'] + label.error:before { border-color: red; box-shadow: 0 0 5px red; } #SGpopup1334 .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; pointer-events: none; } #SGpopup1334 .popup-element[data-type='agree'][data-mode='general'].some-selected input[type='checkbox'] + label:after, #SGpopup1334 .popup-element[data-type='agree'][data-mode='general'].all-selected input[type='checkbox'] + label:after { position: absolute; top: 3px; left: 3px; display: block; content: ''; width: 12px; height: 12px; background-size: cover; pointer-events: none; } #SGpopup1334 .popup-element[data-type='agree'][data-mode='general'].no-selected input[type='checkbox'] + label:after { display: none; } #SGpopup1334 .popup-element[data-type='editor'] p span * { font-size: inherit; line-height: inherit; } #SGpopup1334 .popup-element[data-type='editor'] p span strong { font-weight: bold; } #SGpopup1334 .popup-element[data-type='editor'] ul { padding: 0 0 0 20px; margin: 0; } #SGpopup1334 .popup-element[data-type='textarea'] textarea { width: 100%; max-width: unset; border-width: 1px; border-style: solid; outline: none; resize: none; font-family: inherit; } #SGpopup1334 .popup-element[data-type='textarea'] textarea.error { border-color: red !important; } #SGpopup1334 .popup-element[data-type='select'] select { display: none; } #SGpopup1334 .popup-element[data-type='select'] .nice-select { float: unset; display: flex; align-items: center; } #SGpopup1334 .popup-element[data-type='select'] .nice-select.error { border-color: red !important; } #SGpopup1334 .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); } #SGpopup1334 .popup-element[data-type='select'] .nice-select.open:before { background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEzIDZMOCAxMUwzIDYiIHN0cm9rZT0iIzAyODFFQiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIi8+Cjwvc3ZnPgo=); transform: rotate(180deg); } #SGpopup1334 .popup-element[data-type='select'] .nice-select:after { display: none; } #SGpopup1334 .popup-element[data-type='select'] .nice-select-dropdown{ left: -1px; width: calc(100% + 2px); } #SGpopup1334 .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); } #SGpopup1334 .popup-element[data-type='select'] .nice-select .list { margin: 4px 0; } #SGpopup1334 .popup-element[data-type='select'] .nice-select .option { padding: 8px 16px; font-size: inherit; line-height: 100%; color: inherit; white-space: normal; } #SGpopup1334 .popup-element[data-type='select'] .nice-select .option.selected { font-weight: normal; } #SGpopup1334 .popup-element[data-type='select'] .nice-select .option:not(.disabled):hover, #SGpopup1334 .popup-element[data-type='select'] .nice-select .option.focus, #SGpopup1334 .popup-element[data-type='select'] .nice-select .option.selected.focus { background: transparent; color: #0281eb; } #SGpopup1334 .popup-element[data-type='select'] .nice-select .current { max-width: 100%; overflow: hidden; text-overflow: ellipsis; font-size: inherit; line-height: 100%; } #SGpopup1334 .popup-element[data-type='button-submit'] button, #SGpopup1334 .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; } #SGpopup1334 .popup-element[data-type='button-submit'] button:disabled, #SGpopup1334 .image-wrapper[data-type='submitter'].disabled { cursor: n
160ot-allowed; } #SGpopup1334 .popup-element[data-type='button-submit'] button *, #SGpopup1334 .popup-element[data-type='button-link'] button * { color: inherit; } #SGpopup1334 .popup-element[data-type='button-close'] button { outline: none !important; cursor: pointer; } #SGpopup1334 .popup-element[data-type='button-close'] button svg { display: block; pointer-events: none; } #SGpopup1334 .popup-element[data-type='wheel'] { z-index: 2; overflow: hidden; } #SGpopup1334 .popup-element[data-type='wheel'] .popupElement-content { pointer-events: none; } #SGpopup1334 .popup-element[data-type='wheel'] .wheel-circle { position: relative; z-index: 2; } #SGpopup1334 .popup-element[data-type='wheel'] .wheel-prizes { position: absolute; z-index: 1; top: 0; left: 0; } #SGpopup1334 .popup-element[data-type='wheel'] .wheel-circle img, #SGpopup1334 .popup-element[data-type='wheel'] .wheel-prizes img { display: block; max-width: unset; } #SGpopup1334 iframe.height-auto { height: auto !important; } #SGpopup1334 .popup-element[data-type='getcourse'], #SGpopup1334 .popup-element[data-type='getcourse'] .popupElement-content { display: flex; flex-wrap: wrap; width: 100%; height: 100%; } #SGpopup1334 .popup-element[data-type='getcourse'] [data-id][data-src] { width: 100%; } #SGpopup1334 .popup-element[data-type='getcourse'] iframe { min-height: 100%; } @media (max-width: 1039px) { #SGpopup1334 { padding: 10px 10px 10px 10px; width: 320px; min-height: 505px; max-height: 90vh; font-size: 12px; background-image: url('https://service.leads-gen.ru/upload/453/popups/1334/1766065705.png'); border-radius: 0px; } #SGpopup1334 .popup-element[data-type='input'] .iti__selected-dial-code, #SGpopup1334 .popup-element[data-type='input'] .popupElement-content input { font-size: 19px; } #SGpopup1334 .popup-element[data-type='agree'] .popupElement-content input[type='checkbox']:checked + label { font-size: 10px; } #SGpopup1334 .popup-element[data-ai='email_input'] .popupElement-error { padding: 20px 12px; font-size: 12px; } #SGpopup1334 .popup-element[data-ai='email_input'] .popupElement-error:before { top: -8px; margin-left: -8px; border-width: 0 8px 8px 8px; } #SGpopup1334 .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; } #SGsuccess1334 { padding: 120px 40px 40px 40px; width: 450px; min-width: unset; min-height: 340px; height: auto; max-height: 90vh; overflow: visible; background-image: url('https://service.leads-gen.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; } #SGsuccess1334 p { margin: 20px 0 0 0; padding: 0; line-height: 1.2; } #SGsuccess1334 p:first-child { margin-top: 0; } #SGsuccess1334 button[type='close'] { outline: none !important; cursor: pointer; } #SGsuccess1334 button[type='close'] svg { display: block; pointer-events: none; } #SGsuccess1334 button[data-type='link'], #SGsuccess1334 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) { #SGsuccess1334 { padding: 75px 20px 20px 20px; width: 300px; min-height: 230px; background-image: url('https://service.leads-gen.ru/upload/default/popups/new/bg_mobile.jpg'); background-size: cover; background-position: center top; background-repeat: no-repeat; background-color: transparent; } } </style>
161<style> @import url('https://fonts.googleapis.com/css2?family=Ubuntu:ital,wght@0,400;0,700;1,400;1,700&display=swap'); #SGpopup1335 { padding: 10px 10px 10px 10px; width: 500px; min-width: unset; min-height: 551px; height: auto; background-image: url('https://service.leads-gen.ru/upload/453/popups/1335/1766066661.png'); background-size: contain; background-repeat: no-repeat; background-color: transparent; border-radius: 10px; overflow: visible; font-family: Ubuntu; font-size: 16px; } #SGpopup1335 * { box-sizing: border-box; line-height: 100%; outline: none !important; } #SGpopup1335 h1, #SGpopup1335 h2, #SGpopup1335 h3 { padding: 0; margin: 0; font-size: unset; font-weight: normal; } #SGpopup1335 p { padding: 0; margin: 0 0 20px 0; text-indent: 0; } #SGpopup1335 p:last-child { margin: 0 !important; } #SGpopup1335 img { margin: 0; display: inline-block; max-width: 100%; height: auto; border-radius: 0; } #SGpopup1335 .popup-area { max-width: 100%; border: 1px dashed transparent; } #SGpopup1335 .popup-area[data-type='area-link'], #SGpopup1335 .popup-area[data-type='area-opener'] { display: inline-block; } #SGpopup1335 .popup-area[data-type='area-container'], #SGpopup1335 .popup-area[data-type='area-link'], #SGpopup1335 .popup-area[data-type='area-opener'] { z-index: 1; } #SGpopup1335 .popup-area[data-type='close-container'] { z-index: 3; } #SGpopup1335 .popup-area[data-type='area-link'], #SGpopup1335 .popup-area[data-type='area-opener'], #SGpopup1335 .image-wrapper[data-type='link'], #SGpopup1335 .image-wrapper[data-type='opener'], #SGpopup1335 .image-wrapper[data-type='submitter'] { cursor: pointer; } #SGpopup1335 .popup-element[data-type='image'], #SGpopup1335 .popup-element[data-type='input-file'] { display: inline-block; } #SGpopup1335 .popup-element[data-type='image'] .popupElement-content .image-wrapper img { object-fit: cover; object-position: center; } #SGpopup1335 .iti { width: 100%; } #SGpopup1335 .popup-element[data-type='input'] .iti__selected-dial-code { font-size: 23px; line-height: 28px; } #SGpopup1335 .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; } #SGpopup1335 .popup-element[data-type='input'] input::placeholder { color: inherit; } #SGpopup1335 .popup-element[data-type='input'] input.error { border-color: red !important; } #SGpopup1335 .popup-element[data-type='input-file']:not(.ui-draggable-dragging) { max-width: 100%; } #SGpopup1335 .popup-element[data-type='input-file'] input[type='file'] { display: none; } #SGpopup1335 .popup-element[data-type='input-file'] label { margin: 0; display: inline-block; width: 100%; cursor: pointer; } #SGpopup1335 .popup-element[data-type='input-file'] label p { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } #SGpopup1335 .popup-element[data-type='agree'] input[type='checkbox'] { display: none; } #SGpopup1335 .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; } #SGpopup1335 .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; } #SGpopup1335 .popup-element[data-type='agree'] input[type='checkbox'] + label.error:before { border-color: red; box-shadow: 0 0 5px red; } #SGpopup1335 .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; pointer-events: none; } #SGpopup1335 .popup-element[data-type='agree'][data-mode='general'].some-selected input[type='checkbox'] + label:after, #SGpopup1335 .popup-element[data-type='agree'][data-mode='general'].all-selected input[type='checkbox'] + label:after { position: absolute; top: 3px; left: 3px; display: block; content: ''; width: 12px; height: 12px; background-size: cover; pointer-events: none; } #SGpopup1335 .popup-element[data-type='agree'][data-mode='general'].no-selected input[type='checkbox'] + label:after { display: none; } #SGpopup1335 .popup-element[data-type='editor'] p span * { font-size: inherit; line-height: inherit; } #SGpopup1335 .popup-element[data-type='editor'] p span strong { font-weight: bold; } #SGpopup1335 .popup-element[data-type='editor'] ul { padding: 0 0 0 20px; margin: 0; } #SGpopup1335 .popup-element[data-type='textarea'] textarea { width: 100%; max-width: unset; border-width: 1px; border-style: solid; outline: none; resize: none; font-family: inherit; } #SGpopup1335 .popup-element[data-type='textarea'] textarea.error { border-color: red !important; } #SGpopup1335 .popup-element[data-type='select'] select { display: none; } #SGpopup1335 .popup-element[data-type='select'] .nice-select { float: unset; display: flex; align-items: center; } #SGpopup1335 .popup-element[data-type='select'] .nice-select.error { border-color: red !important; } #SGpopup1335 .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); } #SGpopup1335 .popup-element[data-type='select'] .nice-select.open:before { background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEzIDZMOCAxMUwzIDYiIHN0cm9rZT0iIzAyODFFQiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIi8+Cjwvc3ZnPgo=); transform: rotate(180deg); } #SGpopup1335 .popup-element[data-type='select'] .nice-select:after { display: none; } #SGpopup1335 .popup-element[data-type='select'] .nice-select-dropdown{ left: -1px; width: calc(100% + 2px); } #SGpopup1335 .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); } #SGpopup1335 .popup-element[data-type='select'] .nice-select .list { margin: 4px 0; } #SGpopup1335 .popup-element[data-type='select'] .nice-select .option { padding: 8px 16px; font-size: inherit; line-height: 100%; color: inherit; white-space: normal; } #SGpopup1335 .popup-element[data-type='select'] .nice-select .option.selected { font-weight: normal; } #SGpopup1335 .popup-element[data-type='select'] .nice-select .option:not(.disabled):hover, #SGpopup1335 .popup-element[data-type='select'] .nice-select .option.focus, #SGpopup1335 .popup-element[data-type='select'] .nice-select .option.selected.focus { background: transparent; color: #0281eb; } #SGpopup1335 .popup-element[data-type='select'] .nice-select .current { max-width: 100%; overflow: hidden; text-overflow: ellipsis; font-size: inherit; line-height: 100%; } #SGpopup1335 .popup-element[data-type='button-submit'] button, #SGpopup1335 .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; } #SGpopup1335 .popup-element[data-type='button-submit'] button:disabled, #SGpopup1335 .image-wrapper[data-type='submitter'].disabled { cursor: n
161ot-allowed; } #SGpopup1335 .popup-element[data-type='button-submit'] button *, #SGpopup1335 .popup-element[data-type='button-link'] button * { color: inherit; } #SGpopup1335 .popup-element[data-type='button-close'] button { outline: none !important; cursor: pointer; } #SGpopup1335 .popup-element[data-type='button-close'] button svg { display: block; pointer-events: none; } #SGpopup1335 .popup-element[data-type='wheel'] { z-index: 2; overflow: hidden; } #SGpopup1335 .popup-element[data-type='wheel'] .popupElement-content { pointer-events: none; } #SGpopup1335 .popup-element[data-type='wheel'] .wheel-circle { position: relative; z-index: 2; } #SGpopup1335 .popup-element[data-type='wheel'] .wheel-prizes { position: absolute; z-index: 1; top: 0; left: 0; } #SGpopup1335 .popup-element[data-type='wheel'] .wheel-circle img, #SGpopup1335 .popup-element[data-type='wheel'] .wheel-prizes img { display: block; max-width: unset; } #SGpopup1335 iframe.height-auto { height: auto !important; } #SGpopup1335 .popup-element[data-type='getcourse'], #SGpopup1335 .popup-element[data-type='getcourse'] .popupElement-content { display: flex; flex-wrap: wrap; width: 100%; height: 100%; } #SGpopup1335 .popup-element[data-type='getcourse'] [data-id][data-src] { width: 100%; } #SGpopup1335 .popup-element[data-type='getcourse'] iframe { min-height: 100%; } @media (max-width: 1039px) { #SGpopup1335 { padding: 10px 10px 10px 10px; width: 320px; min-height: 442px; max-height: 90vh; font-size: 12px; background-image: url('https://service.leads-gen.ru/upload/453/popups/1335/1766066755.png'); border-radius: 0px; } #SGpopup1335 .popup-element[data-type='input'] .iti__selected-dial-code, #SGpopup1335 .popup-element[data-type='input'] .popupElement-content input { font-size: 19px; } #SGpopup1335 .popup-element[data-type='agree'] .popupElement-content input[type='checkbox']:checked + label { font-size: 10px; } #SGpopup1335 .popup-element[data-ai='email_input'] .popupElement-error { padding: 20px 12px; font-size: 12px; } #SGpopup1335 .popup-element[data-ai='email_input'] .popupElement-error:before { top: -8px; margin-left: -8px; border-width: 0 8px 8px 8px; } #SGpopup1335 .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; } #SGsuccess1335 { padding: 120px 40px 40px 40px; width: 450px; min-width: unset; min-height: 340px; height: auto; max-height: 90vh; overflow: visible; background-image: url('https://service.leads-gen.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; } #SGsuccess1335 p { margin: 20px 0 0 0; padding: 0; line-height: 1.2; } #SGsuccess1335 p:first-child { margin-top: 0; } #SGsuccess1335 button[type='close'] { outline: none !important; cursor: pointer; } #SGsuccess1335 button[type='close'] svg { display: block; pointer-events: none; } #SGsuccess1335 button[data-type='link'], #SGsuccess1335 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) { #SGsuccess1335 { padding: 75px 20px 20px 20px; width: 300px; min-height: 230px; background-image: url('https://service.leads-gen.ru/upload/default/popups/new/bg_mobile.jpg'); background-size: cover; background-position: center top; background-repeat: no-repeat; background-color: transparent; } } </style>
162<style> @import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;700&display=swap'); #SGpopup1431 { padding: 5px 5px 5px 5px; width: 670px; min-width: unset; min-height: 770px; height: auto; background-image: none; border-radius: 0px; overflow: visible; font-family: Inter; font-size: 16px; } #SGpopup1431 * { box-sizing: border-box; line-height: 100%; outline: none !important; } #SGpopup1431 h1, #SGpopup1431 h2, #SGpopup1431 h3 { padding: 0; margin: 0; font-size: unset; font-weight: normal; } #SGpopup1431 p { padding: 0; margin: 0 0 20px 0; text-indent: 0; } #SGpopup1431 p:last-child { margin: 0 !important; } #SGpopup1431 img { margin: 0; display: inline-block; max-width: 100%; height: auto; border-radius: 0; } #SGpopup1431 .popup-area { max-width: 100%; border: 1px dashed transparent; } #SGpopup1431 .popup-area[data-type='area-link'], #SGpopup1431 .popup-area[data-type='area-opener'] { display: inline-block; } #SGpopup1431 .popup-area[data-type='area-container'], #SGpopup1431 .popup-area[data-type='area-link'], #SGpopup1431 .popup-area[data-type='area-opener'] { z-index: 1; } #SGpopup1431 .popup-area[data-type='close-container'] { z-index: 3; } #SGpopup1431 .popup-area[data-type='area-link'], #SGpopup1431 .popup-area[data-type='area-opener'], #SGpopup1431 .image-wrapper[data-type='link'], #SGpopup1431 .image-wrapper[data-type='opener'], #SGpopup1431 .image-wrapper[data-type='submitter'] { cursor: pointer; } #SGpopup1431 .popup-element[data-type='image'], #SGpopup1431 .popup-element[data-type='input-file'] { display: inline-block; } #SGpopup1431 .popup-element[data-type='image'] .popupElement-content .image-wrapper img { object-fit: cover; object-position: center; } #SGpopup1431 .iti { width: 100%; } #SGpopup1431 .popup-element[data-type='input'] .iti__selected-dial-code { font-size: 23px; line-height: 28px; } #SGpopup1431 .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; } #SGpopup1431 .popup-element[data-type='input'] input::placeholder { color: inherit; } #SGpopup1431 .popup-element[data-type='input'] input.error { border-color: red !important; } #SGpopup1431 .popup-element[data-type='input-file']:not(.ui-draggable-dragging) { max-width: 100%; } #SGpopup1431 .popup-element[data-type='input-file'] input[type='file'] { display: none; } #SGpopup1431 .popup-element[data-type='input-file'] label { margin: 0; display: inline-block; width: 100%; cursor: pointer; } #SGpopup1431 .popup-element[data-type='input-file'] label p { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } #SGpopup1431 .popup-element[data-type='agree'] input[type='checkbox'] { display: none; } #SGpopup1431 .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; } #SGpopup1431 .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; } #SGpopup1431 .popup-element[data-type='agree'] input[type='checkbox'] + label.error:before { border-color: red; box-shadow: 0 0 5px red; } #SGpopup1431 .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; pointer-events: none; } #SGpopup1431 .popup-element[data-type='agree'][data-mode='general'].some-selected input[type='checkbox'] + label:after, #SGpopup1431 .popup-element[data-type='agree'][data-mode='general'].all-selected input[type='checkbox'] + label:after { position: absolute; top: 3px; left: 3px; display: block; content: ''; width: 12px; height: 12px; background-size: cover; pointer-events: none; } #SGpopup1431 .popup-element[data-type='agree'][data-mode='general'].no-selected input[type='checkbox'] + label:after { display: none; } #SGpopup1431 .popup-element[data-type='editor'] p span * { font-size: inherit; line-height: inherit; } #SGpopup1431 .popup-element[data-type='editor'] p span strong { font-weight: bold; } #SGpopup1431 .popup-element[data-type='editor'] ul { padding: 0 0 0 20px; margin: 0; } #SGpopup1431 .popup-element[data-type='textarea'] textarea { width: 100%; max-width: unset; border-width: 1px; border-style: solid; outline: none; resize: none; font-family: inherit; } #SGpopup1431 .popup-element[data-type='textarea'] textarea.error { border-color: red !important; } #SGpopup1431 .popup-element[data-type='select'] select { display: none; } #SGpopup1431 .popup-element[data-type='select'] .nice-select { float: unset; display: flex; align-items: center; } #SGpopup1431 .popup-element[data-type='select'] .nice-select.error { border-color: red !important; } #SGpopup1431 .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); } #SGpopup1431 .popup-element[data-type='select'] .nice-select.open:before { background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEzIDZMOCAxMUwzIDYiIHN0cm9rZT0iIzAyODFFQiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIi8+Cjwvc3ZnPgo=); transform: rotate(180deg); } #SGpopup1431 .popup-element[data-type='select'] .nice-select:after { display: none; } #SGpopup1431 .popup-element[data-type='select'] .nice-select-dropdown{ left: -1px; width: calc(100% + 2px); } #SGpopup1431 .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); } #SGpopup1431 .popup-element[data-type='select'] .nice-select .list { margin: 4px 0; } #SGpopup1431 .popup-element[data-type='select'] .nice-select .option { padding: 8px 16px; font-size: inherit; line-height: 100%; color: inherit; white-space: normal; } #SGpopup1431 .popup-element[data-type='select'] .nice-select .option.selected { font-weight: normal; } #SGpopup1431 .popup-element[data-type='select'] .nice-select .option:not(.disabled):hover, #SGpopup1431 .popup-element[data-type='select'] .nice-select .option.focus, #SGpopup1431 .popup-element[data-type='select'] .nice-select .option.selected.focus { background: transparent; color: #0281eb; } #SGpopup1431 .popup-element[data-type='select'] .nice-select .current { max-width: 100%; overflow: hidden; text-overflow: ellipsis; font-size: inherit; line-height: 100%; } #SGpopup1431 .popup-element[data-type='button-submit'] button, #SGpopup1431 .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; } #SGpopup1431 .popup-element[data-type='button-submit'] button:disabled, #SGpopup1431 .image-wrapper[data-type='submitter'].disabled { cursor: n
162ot-allowed; } #SGpopup1431 .popup-element[data-type='button-submit'] button *, #SGpopup1431 .popup-element[data-type='button-link'] button * { color: inherit; } #SGpopup1431 .popup-element[data-type='button-close'] button { outline: none !important; cursor: pointer; } #SGpopup1431 .popup-element[data-type='button-close'] button svg { display: block; pointer-events: none; } #SGpopup1431 .popup-element[data-type='wheel'] { z-index: 2; overflow: hidden; } #SGpopup1431 .popup-element[data-type='wheel'] .popupElement-content { pointer-events: none; } #SGpopup1431 .popup-element[data-type='wheel'] .wheel-circle { position: relative; z-index: 2; } #SGpopup1431 .popup-element[data-type='wheel'] .wheel-prizes { position: absolute; z-index: 1; top: 0; left: 0; } #SGpopup1431 .popup-element[data-type='wheel'] .wheel-circle img, #SGpopup1431 .popup-element[data-type='wheel'] .wheel-prizes img { display: block; max-width: unset; } #SGpopup1431 iframe.height-auto { height: auto !important; } #SGpopup1431 .popup-element[data-type='getcourse'], #SGpopup1431 .popup-element[data-type='getcourse'] .popupElement-content { display: flex; flex-wrap: wrap; width: 100%; height: 100%; } #SGpopup1431 .popup-element[data-type='getcourse'] [data-id][data-src] { width: 100%; } #SGpopup1431 .popup-element[data-type='getcourse'] iframe { min-height: 100%; } @media (max-width: 1039px) { #SGpopup1431 { padding: 2px 2px 2px 2px; width: 375px; min-height: 860px; max-height: 90vh; font-size: 12px; background-image: none; border-radius: 0px; } #SGpopup1431 .popup-element[data-type='input'] .iti__selected-dial-code, #SGpopup1431 .popup-element[data-type='input'] .popupElement-content input { font-size: 19px; } #SGpopup1431 .popup-element[data-type='agree'] .popupElement-content input[type='checkbox']:checked + label { font-size: 10px; } #SGpopup1431 .popup-element[data-ai='email_input'] .popupElement-error { padding: 20px 12px; font-size: 12px; } #SGpopup1431 .popup-element[data-ai='email_input'] .popupElement-error:before { top: -8px; margin-left: -8px; border-width: 0 8px 8px 8px; } #SGpopup1431 .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; } #SGsuccess1431 { padding: 120px 40px 40px 40px; width: 450px; min-width: unset; min-height: 340px; height: auto; max-height: 90vh; overflow: visible; background-image: url('https://service.leads-gen.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; } #SGsuccess1431 p { margin: 20px 0 0 0; padding: 0; line-height: 1.2; } #SGsuccess1431 p:first-child { margin-top: 0; } #SGsuccess1431 button[type='close'] { outline: none !important; cursor: pointer; } #SGsuccess1431 button[type='close'] svg { display: block; pointer-events: none; } #SGsuccess1431 button[data-type='link'], #SGsuccess1431 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) { #SGsuccess1431 { padding: 75px 20px 20px 20px; width: 300px; min-height: 230px; background-image: url('https://service.leads-gen.ru/upload/default/popups/new/bg_mobile.jpg'); background-size: cover; background-position: center top; background-repeat: no-repeat; background-color: transparent; } } </style>
163<style> @import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;700&display=swap'); #SGpopup1435 { padding: 5px 5px 5px 5px; width: 670px; min-width: unset; min-height: 770px; height: auto; background-image: none; border-radius: 0px; overflow: visible; font-family: Inter; font-size: 16px; } #SGpopup1435 * { box-sizing: border-box; line-height: 100%; outline: none !important; } #SGpopup1435 h1, #SGpopup1435 h2, #SGpopup1435 h3 { padding: 0; margin: 0; font-size: unset; font-weight: normal; } #SGpopup1435 p { padding: 0; margin: 0 0 20px 0; text-indent: 0; } #SGpopup1435 p:last-child { margin: 0 !important; } #SGpopup1435 img { margin: 0; display: inline-block; max-width: 100%; height: auto; border-radius: 0; } #SGpopup1435 .popup-area { max-width: 100%; border: 1px dashed transparent; } #SGpopup1435 .popup-area[data-type='area-link'], #SGpopup1435 .popup-area[data-type='area-opener'] { display: inline-block; } #SGpopup1435 .popup-area[data-type='area-container'], #SGpopup1435 .popup-area[data-type='area-link'], #SGpopup1435 .popup-area[data-type='area-opener'] { z-index: 1; } #SGpopup1435 .popup-area[data-type='close-container'] { z-index: 3; } #SGpopup1435 .popup-area[data-type='area-link'], #SGpopup1435 .popup-area[data-type='area-opener'], #SGpopup1435 .image-wrapper[data-type='link'], #SGpopup1435 .image-wrapper[data-type='opener'], #SGpopup1435 .image-wrapper[data-type='submitter'] { cursor: pointer; } #SGpopup1435 .popup-element[data-type='image'], #SGpopup1435 .popup-element[data-type='input-file'] { display: inline-block; } #SGpopup1435 .popup-element[data-type='image'] .popupElement-content .image-wrapper img { object-fit: cover; object-position: center; } #SGpopup1435 .iti { width: 100%; } #SGpopup1435 .popup-element[data-type='input'] .iti__selected-dial-code { font-size: 23px; line-height: 28px; } #SGpopup1435 .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; } #SGpopup1435 .popup-element[data-type='input'] input::placeholder { color: inherit; } #SGpopup1435 .popup-element[data-type='input'] input.error { border-color: red !important; } #SGpopup1435 .popup-element[data-type='input-file']:not(.ui-draggable-dragging) { max-width: 100%; } #SGpopup1435 .popup-element[data-type='input-file'] input[type='file'] { display: none; } #SGpopup1435 .popup-element[data-type='input-file'] label { margin: 0; display: inline-block; width: 100%; cursor: pointer; } #SGpopup1435 .popup-element[data-type='input-file'] label p { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } #SGpopup1435 .popup-element[data-type='agree'] input[type='checkbox'] { display: none; } #SGpopup1435 .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; } #SGpopup1435 .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; } #SGpopup1435 .popup-element[data-type='agree'] input[type='checkbox'] + label.error:before { border-color: red; box-shadow: 0 0 5px red; } #SGpopup1435 .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; pointer-events: none; } #SGpopup1435 .popup-element[data-type='agree'][data-mode='general'].some-selected input[type='checkbox'] + label:after, #SGpopup1435 .popup-element[data-type='agree'][data-mode='general'].all-selected input[type='checkbox'] + label:after { position: absolute; top: 3px; left: 3px; display: block; content: ''; width: 12px; height: 12px; background-size: cover; pointer-events: none; } #SGpopup1435 .popup-element[data-type='agree'][data-mode='general'].no-selected input[type='checkbox'] + label:after { display: none; } #SGpopup1435 .popup-element[data-type='editor'] p span * { font-size: inherit; line-height: inherit; } #SGpopup1435 .popup-element[data-type='editor'] p span strong { font-weight: bold; } #SGpopup1435 .popup-element[data-type='editor'] ul { padding: 0 0 0 20px; margin: 0; } #SGpopup1435 .popup-element[data-type='textarea'] textarea { width: 100%; max-width: unset; border-width: 1px; border-style: solid; outline: none; resize: none; font-family: inherit; } #SGpopup1435 .popup-element[data-type='textarea'] textarea.error { border-color: red !important; } #SGpopup1435 .popup-element[data-type='select'] select { display: none; } #SGpopup1435 .popup-element[data-type='select'] .nice-select { float: unset; display: flex; align-items: center; } #SGpopup1435 .popup-element[data-type='select'] .nice-select.error { border-color: red !important; } #SGpopup1435 .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); } #SGpopup1435 .popup-element[data-type='select'] .nice-select.open:before { background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEzIDZMOCAxMUwzIDYiIHN0cm9rZT0iIzAyODFFQiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIi8+Cjwvc3ZnPgo=); transform: rotate(180deg); } #SGpopup1435 .popup-element[data-type='select'] .nice-select:after { display: none; } #SGpopup1435 .popup-element[data-type='select'] .nice-select-dropdown{ left: -1px; width: calc(100% + 2px); } #SGpopup1435 .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); } #SGpopup1435 .popup-element[data-type='select'] .nice-select .list { margin: 4px 0; } #SGpopup1435 .popup-element[data-type='select'] .nice-select .option { padding: 8px 16px; font-size: inherit; line-height: 100%; color: inherit; white-space: normal; } #SGpopup1435 .popup-element[data-type='select'] .nice-select .option.selected { font-weight: normal; } #SGpopup1435 .popup-element[data-type='select'] .nice-select .option:not(.disabled):hover, #SGpopup1435 .popup-element[data-type='select'] .nice-select .option.focus, #SGpopup1435 .popup-element[data-type='select'] .nice-select .option.selected.focus { background: transparent; color: #0281eb; } #SGpopup1435 .popup-element[data-type='select'] .nice-select .current { max-width: 100%; overflow: hidden; text-overflow: ellipsis; font-size: inherit; line-height: 100%; } #SGpopup1435 .popup-element[data-type='button-submit'] button, #SGpopup1435 .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; } #SGpopup1435 .popup-element[data-type='button-submit'] button:disabled, #SGpopup1435 .image-wrapper[data-type='submitter'].disabled { cursor: n
163ot-allowed; } #SGpopup1435 .popup-element[data-type='button-submit'] button *, #SGpopup1435 .popup-element[data-type='button-link'] button * { color: inherit; } #SGpopup1435 .popup-element[data-type='button-close'] button { outline: none !important; cursor: pointer; } #SGpopup1435 .popup-element[data-type='button-close'] button svg { display: block; pointer-events: none; } #SGpopup1435 .popup-element[data-type='wheel'] { z-index: 2; overflow: hidden; } #SGpopup1435 .popup-element[data-type='wheel'] .popupElement-content { pointer-events: none; } #SGpopup1435 .popup-element[data-type='wheel'] .wheel-circle { position: relative; z-index: 2; } #SGpopup1435 .popup-element[data-type='wheel'] .wheel-prizes { position: absolute; z-index: 1; top: 0; left: 0; } #SGpopup1435 .popup-element[data-type='wheel'] .wheel-circle img, #SGpopup1435 .popup-element[data-type='wheel'] .wheel-prizes img { display: block; max-width: unset; } #SGpopup1435 iframe.height-auto { height: auto !important; } #SGpopup1435 .popup-element[data-type='getcourse'], #SGpopup1435 .popup-element[data-type='getcourse'] .popupElement-content { display: flex; flex-wrap: wrap; width: 100%; height: 100%; } #SGpopup1435 .popup-element[data-type='getcourse'] [data-id][data-src] { width: 100%; } #SGpopup1435 .popup-element[data-type='getcourse'] iframe { min-height: 100%; } @media (max-width: 1039px) { #SGpopup1435 { padding: 2px 2px 2px 2px; width: 375px; min-height: 860px; max-height: 90vh; font-size: 12px; background-image: none; border-radius: 0px; } #SGpopup1435 .popup-element[data-type='input'] .iti__selected-dial-code, #SGpopup1435 .popup-element[data-type='input'] .popupElement-content input { font-size: 19px; } #SGpopup1435 .popup-element[data-type='agree'] .popupElement-content input[type='checkbox']:checked + label { font-size: 10px; } #SGpopup1435 .popup-element[data-ai='email_input'] .popupElement-error { padding: 20px 12px; font-size: 12px; } #SGpopup1435 .popup-element[data-ai='email_input'] .popupElement-error:before { top: -8px; margin-left: -8px; border-width: 0 8px 8px 8px; } #SGpopup1435 .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; } #SGsuccess1435 { padding: 120px 40px 40px 40px; width: 450px; min-width: unset; min-height: 340px; height: auto; max-height: 90vh; overflow: visible; background-image: url('https://service.leads-gen.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; } #SGsuccess1435 p { margin: 20px 0 0 0; padding: 0; line-height: 1.2; } #SGsuccess1435 p:first-child { margin-top: 0; } #SGsuccess1435 button[type='close'] { outline: none !important; cursor: pointer; } #SGsuccess1435 button[type='close'] svg { display: block; pointer-events: none; } #SGsuccess1435 button[data-type='link'], #SGsuccess1435 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) { #SGsuccess1435 { padding: 75px 20px 20px 20px; width: 300px; min-height: 230px; background-image: url('https://service.leads-gen.ru/upload/default/popups/new/bg_mobile.jpg'); background-size: cover; background-position: center top; background-repeat: no-repeat; background-color: transparent; } } </style>
164<style> @import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;700&display=swap'); #SGpopup1436 { padding: 0px 40px 10px 40px; width: 670px; min-width: unset; min-height: 591px; height: auto; background-image: none; border-radius: 0px; overflow: visible; font-family: Inter; font-size: 16px; } #SGpopup1436 * { box-sizing: border-box; line-height: 100%; outline: none !important; } #SGpopup1436 h1, #SGpopup1436 h2, #SGpopup1436 h3 { padding: 0; margin: 0; font-size: unset; font-weight: normal; } #SGpopup1436 p { padding: 0; margin: 0 0 20px 0; text-indent: 0; } #SGpopup1436 p:last-child { margin: 0 !important; } #SGpopup1436 img { margin: 0; display: inline-block; max-width: 100%; height: auto; border-radius: 0; } #SGpopup1436 .popup-area { max-width: 100%; border: 1px dashed transparent; } #SGpopup1436 .popup-area[data-type='area-link'], #SGpopup1436 .popup-area[data-type='area-opener'] { display: inline-block; } #SGpopup1436 .popup-area[data-type='area-container'], #SGpopup1436 .popup-area[data-type='area-link'], #SGpopup1436 .popup-area[data-type='area-opener'] { z-index: 1; } #SGpopup1436 .popup-area[data-type='close-container'] { z-index: 3; } #SGpopup1436 .popup-area[data-type='area-link'], #SGpopup1436 .popup-area[data-type='area-opener'], #SGpopup1436 .image-wrapper[data-type='link'], #SGpopup1436 .image-wrapper[data-type='opener'], #SGpopup1436 .image-wrapper[data-type='submitter'] { cursor: pointer; } #SGpopup1436 .popup-element[data-type='image'], #SGpopup1436 .popup-element[data-type='input-file'] { display: inline-block; } #SGpopup1436 .popup-element[data-type='image'] .popupElement-content .image-wrapper img { object-fit: cover; object-position: center; } #SGpopup1436 .iti { width: 100%; } #SGpopup1436 .popup-element[data-type='input'] .iti__selected-dial-code { font-size: 23px; line-height: 28px; } #SGpopup1436 .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; } #SGpopup1436 .popup-element[data-type='input'] input::placeholder { color: inherit; } #SGpopup1436 .popup-element[data-type='input'] input.error { border-color: red !important; } #SGpopup1436 .popup-element[data-type='input-file']:not(.ui-draggable-dragging) { max-width: 100%; } #SGpopup1436 .popup-element[data-type='input-file'] input[type='file'] { display: none; } #SGpopup1436 .popup-element[data-type='input-file'] label { margin: 0; display: inline-block; width: 100%; cursor: pointer; } #SGpopup1436 .popup-element[data-type='input-file'] label p { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } #SGpopup1436 .popup-element[data-type='agree'] input[type='checkbox'] { display: none; } #SGpopup1436 .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; } #SGpopup1436 .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; } #SGpopup1436 .popup-element[data-type='agree'] input[type='checkbox'] + label.error:before { border-color: red; box-shadow: 0 0 5px red; } #SGpopup1436 .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; pointer-events: none; } #SGpopup1436 .popup-element[data-type='agree'][data-mode='general'].some-selected input[type='checkbox'] + label:after, #SGpopup1436 .popup-element[data-type='agree'][data-mode='general'].all-selected input[type='checkbox'] + label:after { position: absolute; top: 3px; left: 3px; display: block; content: ''; width: 12px; height: 12px; background-size: cover; pointer-events: none; } #SGpopup1436 .popup-element[data-type='agree'][data-mode='general'].no-selected input[type='checkbox'] + label:after { display: none; } #SGpopup1436 .popup-element[data-type='editor'] p span * { font-size: inherit; line-height: inherit; } #SGpopup1436 .popup-element[data-type='editor'] p span strong { font-weight: bold; } #SGpopup1436 .popup-element[data-type='editor'] ul { padding: 0 0 0 20px; margin: 0; } #SGpopup1436 .popup-element[data-type='textarea'] textarea { width: 100%; max-width: unset; border-width: 1px; border-style: solid; outline: none; resize: none; font-family: inherit; } #SGpopup1436 .popup-element[data-type='textarea'] textarea.error { border-color: red !important; } #SGpopup1436 .popup-element[data-type='select'] select { display: none; } #SGpopup1436 .popup-element[data-type='select'] .nice-select { float: unset; display: flex; align-items: center; } #SGpopup1436 .popup-element[data-type='select'] .nice-select.error { border-color: red !important; } #SGpopup1436 .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); } #SGpopup1436 .popup-element[data-type='select'] .nice-select.open:before { background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEzIDZMOCAxMUwzIDYiIHN0cm9rZT0iIzAyODFFQiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIi8+Cjwvc3ZnPgo=); transform: rotate(180deg); } #SGpopup1436 .popup-element[data-type='select'] .nice-select:after { display: none; } #SGpopup1436 .popup-element[data-type='select'] .nice-select-dropdown{ left: -1px; width: calc(100% + 2px); } #SGpopup1436 .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); } #SGpopup1436 .popup-element[data-type='select'] .nice-select .list { margin: 4px 0; } #SGpopup1436 .popup-element[data-type='select'] .nice-select .option { padding: 8px 16px; font-size: inherit; line-height: 100%; color: inherit; white-space: normal; } #SGpopup1436 .popup-element[data-type='select'] .nice-select .option.selected { font-weight: normal; } #SGpopup1436 .popup-element[data-type='select'] .nice-select .option:not(.disabled):hover, #SGpopup1436 .popup-element[data-type='select'] .nice-select .option.focus, #SGpopup1436 .popup-element[data-type='select'] .nice-select .option.selected.focus { background: transparent; color: #0281eb; } #SGpopup1436 .popup-element[data-type='select'] .nice-select .current { max-width: 100%; overflow: hidden; text-overflow: ellipsis; font-size: inherit; line-height: 100%; } #SGpopup1436 .popup-element[data-type='button-submit'] button, #SGpopup1436 .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; } #SGpopup1436 .popup-element[data-type='button-submit'] button:disabled, #SGpopup1436 .image-wrapper[data-type='submitter'].disabled { cursor: n
164ot-allowed; } #SGpopup1436 .popup-element[data-type='button-submit'] button *, #SGpopup1436 .popup-element[data-type='button-link'] button * { color: inherit; } #SGpopup1436 .popup-element[data-type='button-close'] button { outline: none !important; cursor: pointer; } #SGpopup1436 .popup-element[data-type='button-close'] button svg { display: block; pointer-events: none; } #SGpopup1436 .popup-element[data-type='wheel'] { z-index: 2; overflow: hidden; } #SGpopup1436 .popup-element[data-type='wheel'] .popupElement-content { pointer-events: none; } #SGpopup1436 .popup-element[data-type='wheel'] .wheel-circle { position: relative; z-index: 2; } #SGpopup1436 .popup-element[data-type='wheel'] .wheel-prizes { position: absolute; z-index: 1; top: 0; left: 0; } #SGpopup1436 .popup-element[data-type='wheel'] .wheel-circle img, #SGpopup1436 .popup-element[data-type='wheel'] .wheel-prizes img { display: block; max-width: unset; } #SGpopup1436 iframe.height-auto { height: auto !important; } #SGpopup1436 .popup-element[data-type='getcourse'], #SGpopup1436 .popup-element[data-type='getcourse'] .popupElement-content { display: flex; flex-wrap: wrap; width: 100%; height: 100%; } #SGpopup1436 .popup-element[data-type='getcourse'] [data-id][data-src] { width: 100%; } #SGpopup1436 .popup-element[data-type='getcourse'] iframe { min-height: 100%; } @media (max-width: 1039px) { #SGpopup1436 { padding: 5px 8px 5px 8px; width: 375px; min-height: 550px; max-height: 90vh; font-size: 12px; background-image: none; border-radius: 0px; } #SGpopup1436 .popup-element[data-type='input'] .iti__selected-dial-code, #SGpopup1436 .popup-element[data-type='input'] .popupElement-content input { font-size: 19px; } #SGpopup1436 .popup-element[data-type='agree'] .popupElement-content input[type='checkbox']:checked + label { font-size: 10px; } #SGpopup1436 .popup-element[data-ai='email_input'] .popupElement-error { padding: 20px 12px; font-size: 12px; } #SGpopup1436 .popup-element[data-ai='email_input'] .popupElement-error:before { top: -8px; margin-left: -8px; border-width: 0 8px 8px 8px; } #SGpopup1436 .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; } #SGsuccess1436 { padding: 120px 40px 40px 40px; width: 450px; min-width: unset; min-height: 340px; height: auto; max-height: 90vh; overflow: visible; background-image: url('https://service.leads-gen.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; } #SGsuccess1436 p { margin: 20px 0 0 0; padding: 0; line-height: 1.2; } #SGsuccess1436 p:first-child { margin-top: 0; } #SGsuccess1436 button[type='close'] { outline: none !important; cursor: pointer; } #SGsuccess1436 button[type='close'] svg { display: block; pointer-events: none; } #SGsuccess1436 button[data-type='link'], #SGsuccess1436 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) { #SGsuccess1436 { padding: 75px 20px 20px 20px; width: 300px; min-height: 230px; background-image: url('https://service.leads-gen.ru/upload/default/popups/new/bg_mobile.jpg'); background-size: cover; background-position: center top; background-repeat: no-repeat; background-color: transparent; } } </style>
165<style> @import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;700&display=swap'); #SGpopup1437 { padding: 5px 5px 5px 5px; width: 670px; min-width: unset; min-height: 870px; height: auto; background-image: none; border-radius: 0px; overflow: visible; font-family: Inter; font-size: 16px; } #SGpopup1437 * { box-sizing: border-box; line-height: 100%; outline: none !important; } #SGpopup1437 h1, #SGpopup1437 h2, #SGpopup1437 h3 { padding: 0; margin: 0; font-size: unset; font-weight: normal; } #SGpopup1437 p { padding: 0; margin: 0 0 20px 0; text-indent: 0; } #SGpopup1437 p:last-child { margin: 0 !important; } #SGpopup1437 img { margin: 0; display: inline-block; max-width: 100%; height: auto; border-radius: 0; } #SGpopup1437 .popup-area { max-width: 100%; border: 1px dashed transparent; } #SGpopup1437 .popup-area[data-type='area-link'], #SGpopup1437 .popup-area[data-type='area-opener'] { display: inline-block; } #SGpopup1437 .popup-area[data-type='area-container'], #SGpopup1437 .popup-area[data-type='area-link'], #SGpopup1437 .popup-area[data-type='area-opener'] { z-index: 1; } #SGpopup1437 .popup-area[data-type='close-container'] { z-index: 3; } #SGpopup1437 .popup-area[data-type='area-link'], #SGpopup1437 .popup-area[data-type='area-opener'], #SGpopup1437 .image-wrapper[data-type='link'], #SGpopup1437 .image-wrapper[data-type='opener'], #SGpopup1437 .image-wrapper[data-type='submitter'] { cursor: pointer; } #SGpopup1437 .popup-element[data-type='image'], #SGpopup1437 .popup-element[data-type='input-file'] { display: inline-block; } #SGpopup1437 .popup-element[data-type='image'] .popupElement-content .image-wrapper img { object-fit: cover; object-position: center; } #SGpopup1437 .iti { width: 100%; } #SGpopup1437 .popup-element[data-type='input'] .iti__selected-dial-code { font-size: 23px; line-height: 28px; } #SGpopup1437 .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; } #SGpopup1437 .popup-element[data-type='input'] input::placeholder { color: inherit; } #SGpopup1437 .popup-element[data-type='input'] input.error { border-color: red !important; } #SGpopup1437 .popup-element[data-type='input-file']:not(.ui-draggable-dragging) { max-width: 100%; } #SGpopup1437 .popup-element[data-type='input-file'] input[type='file'] { display: none; } #SGpopup1437 .popup-element[data-type='input-file'] label { margin: 0; display: inline-block; width: 100%; cursor: pointer; } #SGpopup1437 .popup-element[data-type='input-file'] label p { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } #SGpopup1437 .popup-element[data-type='agree'] input[type='checkbox'] { display: none; } #SGpopup1437 .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; } #SGpopup1437 .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; } #SGpopup1437 .popup-element[data-type='agree'] input[type='checkbox'] + label.error:before { border-color: red; box-shadow: 0 0 5px red; } #SGpopup1437 .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; pointer-events: none; } #SGpopup1437 .popup-element[data-type='agree'][data-mode='general'].some-selected input[type='checkbox'] + label:after, #SGpopup1437 .popup-element[data-type='agree'][data-mode='general'].all-selected input[type='checkbox'] + label:after { position: absolute; top: 3px; left: 3px; display: block; content: ''; width: 12px; height: 12px; background-size: cover; pointer-events: none; } #SGpopup1437 .popup-element[data-type='agree'][data-mode='general'].no-selected input[type='checkbox'] + label:after { display: none; } #SGpopup1437 .popup-element[data-type='editor'] p span * { font-size: inherit; line-height: inherit; } #SGpopup1437 .popup-element[data-type='editor'] p span strong { font-weight: bold; } #SGpopup1437 .popup-element[data-type='editor'] ul { padding: 0 0 0 20px; margin: 0; } #SGpopup1437 .popup-element[data-type='textarea'] textarea { width: 100%; max-width: unset; border-width: 1px; border-style: solid; outline: none; resize: none; font-family: inherit; } #SGpopup1437 .popup-element[data-type='textarea'] textarea.error { border-color: red !important; } #SGpopup1437 .popup-element[data-type='select'] select { display: none; } #SGpopup1437 .popup-element[data-type='select'] .nice-select { float: unset; display: flex; align-items: center; } #SGpopup1437 .popup-element[data-type='select'] .nice-select.error { border-color: red !important; } #SGpopup1437 .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); } #SGpopup1437 .popup-element[data-type='select'] .nice-select.open:before { background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEzIDZMOCAxMUwzIDYiIHN0cm9rZT0iIzAyODFFQiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIi8+Cjwvc3ZnPgo=); transform: rotate(180deg); } #SGpopup1437 .popup-element[data-type='select'] .nice-select:after { display: none; } #SGpopup1437 .popup-element[data-type='select'] .nice-select-dropdown{ left: -1px; width: calc(100% + 2px); } #SGpopup1437 .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); } #SGpopup1437 .popup-element[data-type='select'] .nice-select .list { margin: 4px 0; } #SGpopup1437 .popup-element[data-type='select'] .nice-select .option { padding: 8px 16px; font-size: inherit; line-height: 100%; color: inherit; white-space: normal; } #SGpopup1437 .popup-element[data-type='select'] .nice-select .option.selected { font-weight: normal; } #SGpopup1437 .popup-element[data-type='select'] .nice-select .option:not(.disabled):hover, #SGpopup1437 .popup-element[data-type='select'] .nice-select .option.focus, #SGpopup1437 .popup-element[data-type='select'] .nice-select .option.selected.focus { background: transparent; color: #0281eb; } #SGpopup1437 .popup-element[data-type='select'] .nice-select .current { max-width: 100%; overflow: hidden; text-overflow: ellipsis; font-size: inherit; line-height: 100%; } #SGpopup1437 .popup-element[data-type='button-submit'] button, #SGpopup1437 .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; } #SGpopup1437 .popup-element[data-type='button-submit'] button:disabled, #SGpopup1437 .image-wrapper[data-type='submitter'].disabled { cursor: n
165ot-allowed; } #SGpopup1437 .popup-element[data-type='button-submit'] button *, #SGpopup1437 .popup-element[data-type='button-link'] button * { color: inherit; } #SGpopup1437 .popup-element[data-type='button-close'] button { outline: none !important; cursor: pointer; } #SGpopup1437 .popup-element[data-type='button-close'] button svg { display: block; pointer-events: none; } #SGpopup1437 .popup-element[data-type='wheel'] { z-index: 2; overflow: hidden; } #SGpopup1437 .popup-element[data-type='wheel'] .popupElement-content { pointer-events: none; } #SGpopup1437 .popup-element[data-type='wheel'] .wheel-circle { position: relative; z-index: 2; } #SGpopup1437 .popup-element[data-type='wheel'] .wheel-prizes { position: absolute; z-index: 1; top: 0; left: 0; } #SGpopup1437 .popup-element[data-type='wheel'] .wheel-circle img, #SGpopup1437 .popup-element[data-type='wheel'] .wheel-prizes img { display: block; max-width: unset; } #SGpopup1437 iframe.height-auto { height: auto !important; } #SGpopup1437 .popup-element[data-type='getcourse'], #SGpopup1437 .popup-element[data-type='getcourse'] .popupElement-content { display: flex; flex-wrap: wrap; width: 100%; height: 100%; } #SGpopup1437 .popup-element[data-type='getcourse'] [data-id][data-src] { width: 100%; } #SGpopup1437 .popup-element[data-type='getcourse'] iframe { min-height: 100%; } @media (max-width: 1039px) { #SGpopup1437 { padding: 2px 2px 2px 2px; width: 375px; min-height: 980px; max-height: 90vh; font-size: 12px; background-image: none; border-radius: 0px; } #SGpopup1437 .popup-element[data-type='input'] .iti__selected-dial-code, #SGpopup1437 .popup-element[data-type='input'] .popupElement-content input { font-size: 19px; } #SGpopup1437 .popup-element[data-type='agree'] .popupElement-content input[type='checkbox']:checked + label { font-size: 10px; } #SGpopup1437 .popup-element[data-ai='email_input'] .popupElement-error { padding: 20px 12px; font-size: 12px; } #SGpopup1437 .popup-element[data-ai='email_input'] .popupElement-error:before { top: -8px; margin-left: -8px; border-width: 0 8px 8px 8px; } #SGpopup1437 .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; } #SGsuccess1437 { padding: 120px 40px 40px 40px; width: 450px; min-width: unset; min-height: 340px; height: auto; max-height: 90vh; overflow: visible; background-image: url('https://service.leads-gen.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; } #SGsuccess1437 p { margin: 20px 0 0 0; padding: 0; line-height: 1.2; } #SGsuccess1437 p:first-child { margin-top: 0; } #SGsuccess1437 button[type='close'] { outline: none !important; cursor: pointer; } #SGsuccess1437 button[type='close'] svg { display: block; pointer-events: none; } #SGsuccess1437 button[data-type='link'], #SGsuccess1437 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) { #SGsuccess1437 { padding: 75px 20px 20px 20px; width: 300px; min-height: 230px; background-image: url('https://service.leads-gen.ru/upload/default/popups/new/bg_mobile.jpg'); background-size: cover; background-position: center top; background-repeat: no-repeat; background-color: transparent; } } </style>
166<style> @import url('https://fonts.googleapis.com/css2?family=Ubuntu:ital,wght@0,400;0,700;1,400;1,700&display=swap'); #SGpopup1461 { padding: 10px 10px 10px 10px; width: 1000px; min-width: unset; min-height: 570px; height: auto; background-image: url('https://service.leads-gen.ru/upload/453/popups/1461/1770804915.jpg'); background-size: contain; background-repeat: no-repeat; background-color: transparent; border-radius: 10px; overflow: visible; font-family: Ubuntu; font-size: 16px; } #SGpopup1461 * { box-sizing: border-box; line-height: 100%; outline: none !important; } #SGpopup1461 h1, #SGpopup1461 h2, #SGpopup1461 h3 { padding: 0; margin: 0; font-size: unset; font-weight: normal; } #SGpopup1461 p { padding: 0; margin: 0 0 20px 0; text-indent: 0; } #SGpopup1461 p:last-child { margin: 0 !important; } #SGpopup1461 img { margin: 0; display: inline-block; max-width: 100%; height: auto; border-radius: 0; } #SGpopup1461 .popup-area { max-width: 100%; border: 1px dashed transparent; } #SGpopup1461 .popup-area[data-type='area-link'], #SGpopup1461 .popup-area[data-type='area-opener'] { display: inline-block; } #SGpopup1461 .popup-area[data-type='area-container'], #SGpopup1461 .popup-area[data-type='area-link'], #SGpopup1461 .popup-area[data-type='area-opener'] { z-index: 1; } #SGpopup1461 .popup-area[data-type='close-container'] { z-index: 3; } #SGpopup1461 .popup-area[data-type='area-link'], #SGpopup1461 .popup-area[data-type='area-opener'], #SGpopup1461 .image-wrapper[data-type='link'], #SGpopup1461 .image-wrapper[data-type='opener'], #SGpopup1461 .image-wrapper[data-type='submitter'] { cursor: pointer; } #SGpopup1461 .popup-element[data-type='image'], #SGpopup1461 .popup-element[data-type='input-file'] { display: inline-block; } #SGpopup1461 .popup-element[data-type='image'] .popupElement-content .image-wrapper img { object-fit: cover; object-position: center; } #SGpopup1461 .iti { width: 100%; } #SGpopup1461 .popup-element[data-type='input'] .iti__selected-dial-code { font-size: 23px; line-height: 28px; } #SGpopup1461 .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; } #SGpopup1461 .popup-element[data-type='input'] input::placeholder { color: inherit; } #SGpopup1461 .popup-element[data-type='input'] input.error { border-color: red !important; } #SGpopup1461 .popup-element[data-type='input-file']:not(.ui-draggable-dragging) { max-width: 100%; } #SGpopup1461 .popup-element[data-type='input-file'] input[type='file'] { display: none; } #SGpopup1461 .popup-element[data-type='input-file'] label { margin: 0; display: inline-block; width: 100%; cursor: pointer; } #SGpopup1461 .popup-element[data-type='input-file'] label p { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } #SGpopup1461 .popup-element[data-type='agree'] input[type='checkbox'] { display: none; } #SGpopup1461 .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; } #SGpopup1461 .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; } #SGpopup1461 .popup-element[data-type='agree'] input[type='checkbox'] + label.error:before { border-color: red; box-shadow: 0 0 5px red; } #SGpopup1461 .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; pointer-events: none; } #SGpopup1461 .popup-element[data-type='agree'][data-mode='general'].some-selected input[type='checkbox'] + label:after, #SGpopup1461 .popup-element[data-type='agree'][data-mode='general'].all-selected input[type='checkbox'] + label:after { position: absolute; top: 3px; left: 3px; display: block; content: ''; width: 12px; height: 12px; background-size: cover; pointer-events: none; } #SGpopup1461 .popup-element[data-type='agree'][data-mode='general'].no-selected input[type='checkbox'] + label:after { display: none; } #SGpopup1461 .popup-element[data-type='editor'] p span * { font-size: inherit; line-height: inherit; } #SGpopup1461 .popup-element[data-type='editor'] p span strong { font-weight: bold; } #SGpopup1461 .popup-element[data-type='editor'] ul { padding: 0 0 0 20px; margin: 0; } #SGpopup1461 .popup-element[data-type='textarea'] textarea { width: 100%; max-width: unset; border-width: 1px; border-style: solid; outline: none; resize: none; font-family: inherit; } #SGpopup1461 .popup-element[data-type='textarea'] textarea.error { border-color: red !important; } #SGpopup1461 .popup-element[data-type='select'] select { display: none; } #SGpopup1461 .popup-element[data-type='select'] .nice-select { float: unset; display: flex; align-items: center; } #SGpopup1461 .popup-element[data-type='select'] .nice-select.error { border-color: red !important; } #SGpopup1461 .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); } #SGpopup1461 .popup-element[data-type='select'] .nice-select.open:before { background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEzIDZMOCAxMUwzIDYiIHN0cm9rZT0iIzAyODFFQiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIi8+Cjwvc3ZnPgo=); transform: rotate(180deg); } #SGpopup1461 .popup-element[data-type='select'] .nice-select:after { display: none; } #SGpopup1461 .popup-element[data-type='select'] .nice-select-dropdown{ left: -1px; width: calc(100% + 2px); } #SGpopup1461 .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); } #SGpopup1461 .popup-element[data-type='select'] .nice-select .list { margin: 4px 0; } #SGpopup1461 .popup-element[data-type='select'] .nice-select .option { padding: 8px 16px; font-size: inherit; line-height: 100%; color: inherit; white-space: normal; } #SGpopup1461 .popup-element[data-type='select'] .nice-select .option.selected { font-weight: normal; } #SGpopup1461 .popup-element[data-type='select'] .nice-select .option:not(.disabled):hover, #SGpopup1461 .popup-element[data-type='select'] .nice-select .option.focus, #SGpopup1461 .popup-element[data-type='select'] .nice-select .option.selected.focus { background: transparent; color: #0281eb; } #SGpopup1461 .popup-element[data-type='select'] .nice-select .current { max-width: 100%; overflow: hidden; text-overflow: ellipsis; font-size: inherit; line-height: 100%; } #SGpopup1461 .popup-element[data-type='button-submit'] button, #SGpopup1461 .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; } #SGpopup1461 .popup-element[data-type='button-submit'] button:disabled, #SGpopup1461 .image-wrapper[data-type='submitter'].disabled { cursor: n
166ot-allowed; } #SGpopup1461 .popup-element[data-type='button-submit'] button *, #SGpopup1461 .popup-element[data-type='button-link'] button * { color: inherit; } #SGpopup1461 .popup-element[data-type='button-close'] button { outline: none !important; cursor: pointer; } #SGpopup1461 .popup-element[data-type='button-close'] button svg { display: block; pointer-events: none; } #SGpopup1461 .popup-element[data-type='wheel'] { z-index: 2; overflow: hidden; } #SGpopup1461 .popup-element[data-type='wheel'] .popupElement-content { pointer-events: none; } #SGpopup1461 .popup-element[data-type='wheel'] .wheel-circle { position: relative; z-index: 2; } #SGpopup1461 .popup-element[data-type='wheel'] .wheel-prizes { position: absolute; z-index: 1; top: 0; left: 0; } #SGpopup1461 .popup-element[data-type='wheel'] .wheel-circle img, #SGpopup1461 .popup-element[data-type='wheel'] .wheel-prizes img { display: block; max-width: unset; } #SGpopup1461 iframe.height-auto { height: auto !important; } #SGpopup1461 .popup-element[data-type='getcourse'], #SGpopup1461 .popup-element[data-type='getcourse'] .popupElement-content { display: flex; flex-wrap: wrap; width: 100%; height: 100%; } #SGpopup1461 .popup-element[data-type='getcourse'] [data-id][data-src] { width: 100%; } #SGpopup1461 .popup-element[data-type='getcourse'] iframe { min-height: 100%; } @media (max-width: 1039px) { #SGpopup1461 { padding: 10px 10px 10px 10px; width: 360px; min-height: 640px; max-height: 90vh; font-size: 12px; background-image: url('https://service.leads-gen.ru/upload/453/popups/1461/1771239805.png'); border-radius: 10px; } #SGpopup1461 .popup-element[data-type='input'] .iti__selected-dial-code, #SGpopup1461 .popup-element[data-type='input'] .popupElement-content input { font-size: 19px; } #SGpopup1461 .popup-element[data-type='agree'] .popupElement-content input[type='checkbox']:checked + label { font-size: 10px; } #SGpopup1461 .popup-element[data-ai='email_input'] .popupElement-error { padding: 20px 12px; font-size: 12px; } #SGpopup1461 .popup-element[data-ai='email_input'] .popupElement-error:before { top: -8px; margin-left: -8px; border-width: 0 8px 8px 8px; } #SGpopup1461 .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; } #SGsuccess1461 { padding: 120px 40px 40px 40px; width: 450px; min-width: unset; min-height: 340px; height: auto; max-height: 90vh; overflow: visible; background-image: url('https://service.leads-gen.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; } #SGsuccess1461 p { margin: 20px 0 0 0; padding: 0; line-height: 1.2; } #SGsuccess1461 p:first-child { margin-top: 0; } #SGsuccess1461 button[type='close'] { outline: none !important; cursor: pointer; } #SGsuccess1461 button[type='close'] svg { display: block; pointer-events: none; } #SGsuccess1461 button[data-type='link'], #SGsuccess1461 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) { #SGsuccess1461 { padding: 75px 20px 20px 20px; width: 300px; min-height: 230px; background-image: url('https://service.leads-gen.ru/upload/default/popups/new/bg_mobile.jpg'); background-size: cover; background-position: center top; background-repeat: no-repeat; background-color: transparent; } } </style>
167<style> @import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;700&display=swap'); #SGpopup1463 { padding: 5px 5px 5px 5px; width: 670px; min-width: unset; min-height: 770px; height: auto; background-image: none; border-radius: 0px; overflow: visible; font-family: Inter; font-size: 16px; } #SGpopup1463 * { box-sizing: border-box; line-height: 100%; outline: none !important; } #SGpopup1463 h1, #SGpopup1463 h2, #SGpopup1463 h3 { padding: 0; margin: 0; font-size: unset; font-weight: normal; } #SGpopup1463 p { padding: 0; margin: 0 0 20px 0; text-indent: 0; } #SGpopup1463 p:last-child { margin: 0 !important; } #SGpopup1463 img { margin: 0; display: inline-block; max-width: 100%; height: auto; border-radius: 0; } #SGpopup1463 .popup-area { max-width: 100%; border: 1px dashed transparent; } #SGpopup1463 .popup-area[data-type='area-link'], #SGpopup1463 .popup-area[data-type='area-opener'] { display: inline-block; } #SGpopup1463 .popup-area[data-type='area-container'], #SGpopup1463 .popup-area[data-type='area-link'], #SGpopup1463 .popup-area[data-type='area-opener'] { z-index: 1; } #SGpopup1463 .popup-area[data-type='close-container'] { z-index: 3; } #SGpopup1463 .popup-area[data-type='area-link'], #SGpopup1463 .popup-area[data-type='area-opener'], #SGpopup1463 .image-wrapper[data-type='link'], #SGpopup1463 .image-wrapper[data-type='opener'], #SGpopup1463 .image-wrapper[data-type='submitter'] { cursor: pointer; } #SGpopup1463 .popup-element[data-type='image'], #SGpopup1463 .popup-element[data-type='input-file'] { display: inline-block; } #SGpopup1463 .popup-element[data-type='image'] .popupElement-content .image-wrapper img { object-fit: cover; object-position: center; } #SGpopup1463 .iti { width: 100%; } #SGpopup1463 .popup-element[data-type='input'] .iti__selected-dial-code { font-size: 23px; line-height: 28px; } #SGpopup1463 .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; } #SGpopup1463 .popup-element[data-type='input'] input::placeholder { color: inherit; } #SGpopup1463 .popup-element[data-type='input'] input.error { border-color: red !important; } #SGpopup1463 .popup-element[data-type='input-file']:not(.ui-draggable-dragging) { max-width: 100%; } #SGpopup1463 .popup-element[data-type='input-file'] input[type='file'] { display: none; } #SGpopup1463 .popup-element[data-type='input-file'] label { margin: 0; display: inline-block; width: 100%; cursor: pointer; } #SGpopup1463 .popup-element[data-type='input-file'] label p { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } #SGpopup1463 .popup-element[data-type='agree'] input[type='checkbox'] { display: none; } #SGpopup1463 .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; } #SGpopup1463 .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; } #SGpopup1463 .popup-element[data-type='agree'] input[type='checkbox'] + label.error:before { border-color: red; box-shadow: 0 0 5px red; } #SGpopup1463 .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; pointer-events: none; } #SGpopup1463 .popup-element[data-type='agree'][data-mode='general'].some-selected input[type='checkbox'] + label:after, #SGpopup1463 .popup-element[data-type='agree'][data-mode='general'].all-selected input[type='checkbox'] + label:after { position: absolute; top: 3px; left: 3px; display: block; content: ''; width: 12px; height: 12px; background-size: cover; pointer-events: none; } #SGpopup1463 .popup-element[data-type='agree'][data-mode='general'].no-selected input[type='checkbox'] + label:after { display: none; } #SGpopup1463 .popup-element[data-type='editor'] p span * { font-size: inherit; line-height: inherit; } #SGpopup1463 .popup-element[data-type='editor'] p span strong { font-weight: bold; } #SGpopup1463 .popup-element[data-type='editor'] ul { padding: 0 0 0 20px; margin: 0; } #SGpopup1463 .popup-element[data-type='textarea'] textarea { width: 100%; max-width: unset; border-width: 1px; border-style: solid; outline: none; resize: none; font-family: inherit; } #SGpopup1463 .popup-element[data-type='textarea'] textarea.error { border-color: red !important; } #SGpopup1463 .popup-element[data-type='select'] select { display: none; } #SGpopup1463 .popup-element[data-type='select'] .nice-select { float: unset; display: flex; align-items: center; } #SGpopup1463 .popup-element[data-type='select'] .nice-select.error { border-color: red !important; } #SGpopup1463 .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); } #SGpopup1463 .popup-element[data-type='select'] .nice-select.open:before { background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEzIDZMOCAxMUwzIDYiIHN0cm9rZT0iIzAyODFFQiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIi8+Cjwvc3ZnPgo=); transform: rotate(180deg); } #SGpopup1463 .popup-element[data-type='select'] .nice-select:after { display: none; } #SGpopup1463 .popup-element[data-type='select'] .nice-select-dropdown{ left: -1px; width: calc(100% + 2px); } #SGpopup1463 .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); } #SGpopup1463 .popup-element[data-type='select'] .nice-select .list { margin: 4px 0; } #SGpopup1463 .popup-element[data-type='select'] .nice-select .option { padding: 8px 16px; font-size: inherit; line-height: 100%; color: inherit; white-space: normal; } #SGpopup1463 .popup-element[data-type='select'] .nice-select .option.selected { font-weight: normal; } #SGpopup1463 .popup-element[data-type='select'] .nice-select .option:not(.disabled):hover, #SGpopup1463 .popup-element[data-type='select'] .nice-select .option.focus, #SGpopup1463 .popup-element[data-type='select'] .nice-select .option.selected.focus { background: transparent; color: #0281eb; } #SGpopup1463 .popup-element[data-type='select'] .nice-select .current { max-width: 100%; overflow: hidden; text-overflow: ellipsis; font-size: inherit; line-height: 100%; } #SGpopup1463 .popup-element[data-type='button-submit'] button, #SGpopup1463 .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; } #SGpopup1463 .popup-element[data-type='button-submit'] button:disabled, #SGpopup1463 .image-wrapper[data-type='submitter'].disabled { cursor: n
167ot-allowed; } #SGpopup1463 .popup-element[data-type='button-submit'] button *, #SGpopup1463 .popup-element[data-type='button-link'] button * { color: inherit; } #SGpopup1463 .popup-element[data-type='button-close'] button { outline: none !important; cursor: pointer; } #SGpopup1463 .popup-element[data-type='button-close'] button svg { display: block; pointer-events: none; } #SGpopup1463 .popup-element[data-type='wheel'] { z-index: 2; overflow: hidden; } #SGpopup1463 .popup-element[data-type='wheel'] .popupElement-content { pointer-events: none; } #SGpopup1463 .popup-element[data-type='wheel'] .wheel-circle { position: relative; z-index: 2; } #SGpopup1463 .popup-element[data-type='wheel'] .wheel-prizes { position: absolute; z-index: 1; top: 0; left: 0; } #SGpopup1463 .popup-element[data-type='wheel'] .wheel-circle img, #SGpopup1463 .popup-element[data-type='wheel'] .wheel-prizes img { display: block; max-width: unset; } #SGpopup1463 iframe.height-auto { height: auto !important; } #SGpopup1463 .popup-element[data-type='getcourse'], #SGpopup1463 .popup-element[data-type='getcourse'] .popupElement-content { display: flex; flex-wrap: wrap; width: 100%; height: 100%; } #SGpopup1463 .popup-element[data-type='getcourse'] [data-id][data-src] { width: 100%; } #SGpopup1463 .popup-element[data-type='getcourse'] iframe { min-height: 100%; } @media (max-width: 1039px) { #SGpopup1463 { padding: 2px 2px 2px 2px; width: 375px; min-height: 860px; max-height: 90vh; font-size: 12px; background-image: none; border-radius: 0px; } #SGpopup1463 .popup-element[data-type='input'] .iti__selected-dial-code, #SGpopup1463 .popup-element[data-type='input'] .popupElement-content input { font-size: 19px; } #SGpopup1463 .popup-element[data-type='agree'] .popupElement-content input[type='checkbox']:checked + label { font-size: 10px; } #SGpopup1463 .popup-element[data-ai='email_input'] .popupElement-error { padding: 20px 12px; font-size: 12px; } #SGpopup1463 .popup-element[data-ai='email_input'] .popupElement-error:before { top: -8px; margin-left: -8px; border-width: 0 8px 8px 8px; } #SGpopup1463 .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; } #SGsuccess1463 { padding: 120px 40px 40px 40px; width: 450px; min-width: unset; min-height: 340px; height: auto; max-height: 90vh; overflow: visible; background-image: url('https://service.leads-gen.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; } #SGsuccess1463 p { margin: 20px 0 0 0; padding: 0; line-height: 1.2; } #SGsuccess1463 p:first-child { margin-top: 0; } #SGsuccess1463 button[type='close'] { outline: none !important; cursor: pointer; } #SGsuccess1463 button[type='close'] svg { display: block; pointer-events: none; } #SGsuccess1463 button[data-type='link'], #SGsuccess1463 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) { #SGsuccess1463 { padding: 75px 20px 20px 20px; width: 300px; min-height: 230px; background-image: url('https://service.leads-gen.ru/upload/default/popups/new/bg_mobile.jpg'); background-size: cover; background-position: center top; background-repeat: no-repeat; background-color: transparent; } } </style>
168<style> @import url('https://fonts.googleapis.com/css2?family=Ubuntu:ital,wght@0,400;0,700;1,400;1,700&display=swap'); #SGpopup1489 { padding: 10px 10px 10px 10px; width: 1000px; min-width: unset; min-height: 570px; height: auto; background-image: url('https://service.leads-gen.ru/upload/453/popups/1489/1771412251.png'); background-size: contain; background-repeat: no-repeat; background-color: transparent; border-radius: 10px; overflow: visible; font-family: Ubuntu; font-size: 16px; } #SGpopup1489 * { box-sizing: border-box; line-height: 100%; outline: none !important; } #SGpopup1489 h1, #SGpopup1489 h2, #SGpopup1489 h3 { padding: 0; margin: 0; font-size: unset; font-weight: normal; } #SGpopup1489 p { padding: 0; margin: 0 0 20px 0; text-indent: 0; } #SGpopup1489 p:last-child { margin: 0 !important; } #SGpopup1489 img { margin: 0; display: inline-block; max-width: 100%; height: auto; border-radius: 0; } #SGpopup1489 .popup-area { max-width: 100%; border: 1px dashed transparent; } #SGpopup1489 .popup-area[data-type='area-link'], #SGpopup1489 .popup-area[data-type='area-opener'] { display: inline-block; } #SGpopup1489 .popup-area[data-type='area-container'], #SGpopup1489 .popup-area[data-type='area-link'], #SGpopup1489 .popup-area[data-type='area-opener'] { z-index: 1; } #SGpopup1489 .popup-area[data-type='close-container'] { z-index: 3; } #SGpopup1489 .popup-area[data-type='area-link'], #SGpopup1489 .popup-area[data-type='area-opener'], #SGpopup1489 .image-wrapper[data-type='link'], #SGpopup1489 .image-wrapper[data-type='opener'], #SGpopup1489 .image-wrapper[data-type='submitter'] { cursor: pointer; } #SGpopup1489 .popup-element[data-type='image'], #SGpopup1489 .popup-element[data-type='input-file'] { display: inline-block; } #SGpopup1489 .popup-element[data-type='image'] .popupElement-content .image-wrapper img { object-fit: cover; object-position: center; } #SGpopup1489 .iti { width: 100%; } #SGpopup1489 .popup-element[data-type='input'] .iti__selected-dial-code { font-size: 23px; line-height: 28px; } #SGpopup1489 .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; } #SGpopup1489 .popup-element[data-type='input'] input::placeholder { color: inherit; } #SGpopup1489 .popup-element[data-type='input'] input.error { border-color: red !important; } #SGpopup1489 .popup-element[data-type='input-file']:not(.ui-draggable-dragging) { max-width: 100%; } #SGpopup1489 .popup-element[data-type='input-file'] input[type='file'] { display: none; } #SGpopup1489 .popup-element[data-type='input-file'] label { margin: 0; display: inline-block; width: 100%; cursor: pointer; } #SGpopup1489 .popup-element[data-type='input-file'] label p { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } #SGpopup1489 .popup-element[data-type='agree'] input[type='checkbox'] { display: none; } #SGpopup1489 .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; } #SGpopup1489 .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; } #SGpopup1489 .popup-element[data-type='agree'] input[type='checkbox'] + label.error:before { border-color: red; box-shadow: 0 0 5px red; } #SGpopup1489 .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; pointer-events: none; } #SGpopup1489 .popup-element[data-type='agree'][data-mode='general'].some-selected input[type='checkbox'] + label:after, #SGpopup1489 .popup-element[data-type='agree'][data-mode='general'].all-selected input[type='checkbox'] + label:after { position: absolute; top: 3px; left: 3px; display: block; content: ''; width: 12px; height: 12px; background-size: cover; pointer-events: none; } #SGpopup1489 .popup-element[data-type='agree'][data-mode='general'].no-selected input[type='checkbox'] + label:after { display: none; } #SGpopup1489 .popup-element[data-type='editor'] p span * { font-size: inherit; line-height: inherit; } #SGpopup1489 .popup-element[data-type='editor'] p span strong { font-weight: bold; } #SGpopup1489 .popup-element[data-type='editor'] ul { padding: 0 0 0 20px; margin: 0; } #SGpopup1489 .popup-element[data-type='textarea'] textarea { width: 100%; max-width: unset; border-width: 1px; border-style: solid; outline: none; resize: none; font-family: inherit; } #SGpopup1489 .popup-element[data-type='textarea'] textarea.error { border-color: red !important; } #SGpopup1489 .popup-element[data-type='select'] select { display: none; } #SGpopup1489 .popup-element[data-type='select'] .nice-select { float: unset; display: flex; align-items: center; } #SGpopup1489 .popup-element[data-type='select'] .nice-select.error { border-color: red !important; } #SGpopup1489 .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); } #SGpopup1489 .popup-element[data-type='select'] .nice-select.open:before { background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEzIDZMOCAxMUwzIDYiIHN0cm9rZT0iIzAyODFFQiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIi8+Cjwvc3ZnPgo=); transform: rotate(180deg); } #SGpopup1489 .popup-element[data-type='select'] .nice-select:after { display: none; } #SGpopup1489 .popup-element[data-type='select'] .nice-select-dropdown{ left: -1px; width: calc(100% + 2px); } #SGpopup1489 .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); } #SGpopup1489 .popup-element[data-type='select'] .nice-select .list { margin: 4px 0; } #SGpopup1489 .popup-element[data-type='select'] .nice-select .option { padding: 8px 16px; font-size: inherit; line-height: 100%; color: inherit; white-space: normal; } #SGpopup1489 .popup-element[data-type='select'] .nice-select .option.selected { font-weight: normal; } #SGpopup1489 .popup-element[data-type='select'] .nice-select .option:not(.disabled):hover, #SGpopup1489 .popup-element[data-type='select'] .nice-select .option.focus, #SGpopup1489 .popup-element[data-type='select'] .nice-select .option.selected.focus { background: transparent; color: #0281eb; } #SGpopup1489 .popup-element[data-type='select'] .nice-select .current { max-width: 100%; overflow: hidden; text-overflow: ellipsis; font-size: inherit; line-height: 100%; } #SGpopup1489 .popup-element[data-type='button-submit'] button, #SGpopup1489 .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; } #SGpopup1489 .popup-element[data-type='button-submit'] button:disabled, #SGpopup1489 .image-wrapper[data-type='submitter'].disabled { cursor: n
168ot-allowed; } #SGpopup1489 .popup-element[data-type='button-submit'] button *, #SGpopup1489 .popup-element[data-type='button-link'] button * { color: inherit; } #SGpopup1489 .popup-element[data-type='button-close'] button { outline: none !important; cursor: pointer; } #SGpopup1489 .popup-element[data-type='button-close'] button svg { display: block; pointer-events: none; } #SGpopup1489 .popup-element[data-type='wheel'] { z-index: 2; overflow: hidden; } #SGpopup1489 .popup-element[data-type='wheel'] .popupElement-content { pointer-events: none; } #SGpopup1489 .popup-element[data-type='wheel'] .wheel-circle { position: relative; z-index: 2; } #SGpopup1489 .popup-element[data-type='wheel'] .wheel-prizes { position: absolute; z-index: 1; top: 0; left: 0; } #SGpopup1489 .popup-element[data-type='wheel'] .wheel-circle img, #SGpopup1489 .popup-element[data-type='wheel'] .wheel-prizes img { display: block; max-width: unset; } #SGpopup1489 iframe.height-auto { height: auto !important; } #SGpopup1489 .popup-element[data-type='getcourse'], #SGpopup1489 .popup-element[data-type='getcourse'] .popupElement-content { display: flex; flex-wrap: wrap; width: 100%; height: 100%; } #SGpopup1489 .popup-element[data-type='getcourse'] [data-id][data-src] { width: 100%; } #SGpopup1489 .popup-element[data-type='getcourse'] iframe { min-height: 100%; } @media (max-width: 1039px) { #SGpopup1489 { padding: 10px 10px 10px 10px; width: 360px; min-height: 640px; max-height: 90vh; font-size: 12px; background-image: url('https://service.leads-gen.ru/upload/453/popups/1489/1771412180.png'); border-radius: 10px; } #SGpopup1489 .popup-element[data-type='input'] .iti__selected-dial-code, #SGpopup1489 .popup-element[data-type='input'] .popupElement-content input { font-size: 19px; } #SGpopup1489 .popup-element[data-type='agree'] .popupElement-content input[type='checkbox']:checked + label { font-size: 10px; } #SGpopup1489 .popup-element[data-ai='email_input'] .popupElement-error { padding: 20px 12px; font-size: 12px; } #SGpopup1489 .popup-element[data-ai='email_input'] .popupElement-error:before { top: -8px; margin-left: -8px; border-width: 0 8px 8px 8px; } #SGpopup1489 .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; } #SGsuccess1489 { padding: 120px 40px 40px 40px; width: 450px; min-width: unset; min-height: 340px; height: auto; max-height: 90vh; overflow: visible; background-image: url('https://service.leads-gen.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; } #SGsuccess1489 p { margin: 20px 0 0 0; padding: 0; line-height: 1.2; } #SGsuccess1489 p:first-child { margin-top: 0; } #SGsuccess1489 button[type='close'] { outline: none !important; cursor: pointer; } #SGsuccess1489 button[type='close'] svg { display: block; pointer-events: none; } #SGsuccess1489 button[data-type='link'], #SGsuccess1489 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) { #SGsuccess1489 { padding: 75px 20px 20px 20px; width: 300px; min-height: 230px; background-image: url('https://service.leads-gen.ru/upload/default/popups/new/bg_mobile.jpg'); background-size: cover; background-position: center top; background-repeat: no-repeat; background-color: transparent; } } </style>
169<style> @import url('https://fonts.googleapis.com/css2?family=Ubuntu:ital,wght@0,400;0,700;1,400;1,700&display=swap'); #SGpopup1502 { padding: 10px 10px 10px 10px; width: 1000px; min-width: unset; min-height: 570px; height: auto; background-image: url('https://service.leads-gen.ru/upload/453/popups/1502/1772179285.jpg'); background-size: contain; background-repeat: no-repeat; background-color: transparent; border-radius: 10px; overflow: visible; font-family: Ubuntu; font-size: 16px; } #SGpopup1502 * { box-sizing: border-box; line-height: 100%; outline: none !important; } #SGpopup1502 h1, #SGpopup1502 h2, #SGpopup1502 h3 { padding: 0; margin: 0; font-size: unset; font-weight: normal; } #SGpopup1502 p { padding: 0; margin: 0 0 20px 0; text-indent: 0; } #SGpopup1502 p:last-child { margin: 0 !important; } #SGpopup1502 img { margin: 0; display: inline-block; max-width: 100%; height: auto; border-radius: 0; } #SGpopup1502 .popup-area { max-width: 100%; border: 1px dashed transparent; } #SGpopup1502 .popup-area[data-type='area-link'], #SGpopup1502 .popup-area[data-type='area-opener'] { display: inline-block; } #SGpopup1502 .popup-area[data-type='area-container'], #SGpopup1502 .popup-area[data-type='area-link'], #SGpopup1502 .popup-area[data-type='area-opener'] { z-index: 1; } #SGpopup1502 .popup-area[data-type='close-container'] { z-index: 3; } #SGpopup1502 .popup-area[data-type='area-link'], #SGpopup1502 .popup-area[data-type='area-opener'], #SGpopup1502 .image-wrapper[data-type='link'], #SGpopup1502 .image-wrapper[data-type='opener'], #SGpopup1502 .image-wrapper[data-type='submitter'] { cursor: pointer; } #SGpopup1502 .popup-element[data-type='image'], #SGpopup1502 .popup-element[data-type='input-file'] { display: inline-block; } #SGpopup1502 .popup-element[data-type='image'] .popupElement-content .image-wrapper img { object-fit: cover; object-position: center; } #SGpopup1502 .iti { width: 100%; } #SGpopup1502 .popup-element[data-type='input'] .iti__selected-dial-code { font-size: 23px; line-height: 28px; } #SGpopup1502 .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; } #SGpopup1502 .popup-element[data-type='input'] input::placeholder { color: inherit; } #SGpopup1502 .popup-element[data-type='input'] input.error { border-color: red !important; } #SGpopup1502 .popup-element[data-type='input-file']:not(.ui-draggable-dragging) { max-width: 100%; } #SGpopup1502 .popup-element[data-type='input-file'] input[type='file'] { display: none; } #SGpopup1502 .popup-element[data-type='input-file'] label { margin: 0; display: inline-block; width: 100%; cursor: pointer; } #SGpopup1502 .popup-element[data-type='input-file'] label p { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } #SGpopup1502 .popup-element[data-type='agree'] input[type='checkbox'] { display: none; } #SGpopup1502 .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; } #SGpopup1502 .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; } #SGpopup1502 .popup-element[data-type='agree'] input[type='checkbox'] + label.error:before { border-color: red; box-shadow: 0 0 5px red; } #SGpopup1502 .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; pointer-events: none; } #SGpopup1502 .popup-element[data-type='agree'][data-mode='general'].some-selected input[type='checkbox'] + label:after, #SGpopup1502 .popup-element[data-type='agree'][data-mode='general'].all-selected input[type='checkbox'] + label:after { position: absolute; top: 3px; left: 3px; display: block; content: ''; width: 12px; height: 12px; background-size: cover; pointer-events: none; } #SGpopup1502 .popup-element[data-type='agree'][data-mode='general'].no-selected input[type='checkbox'] + label:after { display: none; } #SGpopup1502 .popup-element[data-type='editor'] p span * { font-size: inherit; line-height: inherit; } #SGpopup1502 .popup-element[data-type='editor'] p span strong { font-weight: bold; } #SGpopup1502 .popup-element[data-type='editor'] ul { padding: 0 0 0 20px; margin: 0; } #SGpopup1502 .popup-element[data-type='textarea'] textarea { width: 100%; max-width: unset; border-width: 1px; border-style: solid; outline: none; resize: none; font-family: inherit; } #SGpopup1502 .popup-element[data-type='textarea'] textarea.error { border-color: red !important; } #SGpopup1502 .popup-element[data-type='select'] select { display: none; } #SGpopup1502 .popup-element[data-type='select'] .nice-select { float: unset; display: flex; align-items: center; } #SGpopup1502 .popup-element[data-type='select'] .nice-select.error { border-color: red !important; } #SGpopup1502 .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); } #SGpopup1502 .popup-element[data-type='select'] .nice-select.open:before { background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEzIDZMOCAxMUwzIDYiIHN0cm9rZT0iIzAyODFFQiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIi8+Cjwvc3ZnPgo=); transform: rotate(180deg); } #SGpopup1502 .popup-element[data-type='select'] .nice-select:after { display: none; } #SGpopup1502 .popup-element[data-type='select'] .nice-select-dropdown{ left: -1px; width: calc(100% + 2px); } #SGpopup1502 .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); } #SGpopup1502 .popup-element[data-type='select'] .nice-select .list { margin: 4px 0; } #SGpopup1502 .popup-element[data-type='select'] .nice-select .option { padding: 8px 16px; font-size: inherit; line-height: 100%; color: inherit; white-space: normal; } #SGpopup1502 .popup-element[data-type='select'] .nice-select .option.selected { font-weight: normal; } #SGpopup1502 .popup-element[data-type='select'] .nice-select .option:not(.disabled):hover, #SGpopup1502 .popup-element[data-type='select'] .nice-select .option.focus, #SGpopup1502 .popup-element[data-type='select'] .nice-select .option.selected.focus { background: transparent; color: #0281eb; } #SGpopup1502 .popup-element[data-type='select'] .nice-select .current { max-width: 100%; overflow: hidden; text-overflow: ellipsis; font-size: inherit; line-height: 100%; } #SGpopup1502 .popup-element[data-type='button-submit'] button, #SGpopup1502 .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; } #SGpopup1502 .popup-element[data-type='button-submit'] button:disabled, #SGpopup1502 .image-wrapper[data-type='submitter'].disabled { cursor: n
169ot-allowed; } #SGpopup1502 .popup-element[data-type='button-submit'] button *, #SGpopup1502 .popup-element[data-type='button-link'] button * { color: inherit; } #SGpopup1502 .popup-element[data-type='button-close'] button { outline: none !important; cursor: pointer; } #SGpopup1502 .popup-element[data-type='button-close'] button svg { display: block; pointer-events: none; } #SGpopup1502 .popup-element[data-type='wheel'] { z-index: 2; overflow: hidden; } #SGpopup1502 .popup-element[data-type='wheel'] .popupElement-content { pointer-events: none; } #SGpopup1502 .popup-element[data-type='wheel'] .wheel-circle { position: relative; z-index: 2; } #SGpopup1502 .popup-element[data-type='wheel'] .wheel-prizes { position: absolute; z-index: 1; top: 0; left: 0; } #SGpopup1502 .popup-element[data-type='wheel'] .wheel-circle img, #SGpopup1502 .popup-element[data-type='wheel'] .wheel-prizes img { display: block; max-width: unset; } #SGpopup1502 iframe.height-auto { height: auto !important; } #SGpopup1502 .popup-element[data-type='getcourse'], #SGpopup1502 .popup-element[data-type='getcourse'] .popupElement-content { display: flex; flex-wrap: wrap; width: 100%; height: 100%; } #SGpopup1502 .popup-element[data-type='getcourse'] [data-id][data-src] { width: 100%; } #SGpopup1502 .popup-element[data-type='getcourse'] iframe { min-height: 100%; } @media (max-width: 1039px) { #SGpopup1502 { padding: 10px 10px 10px 10px; width: 360px; min-height: 640px; max-height: 90vh; font-size: 12px; background-image: url('https://service.leads-gen.ru/upload/453/popups/1502/1772179921.png'); border-radius: 10px; } #SGpopup1502 .popup-element[data-type='input'] .iti__selected-dial-code, #SGpopup1502 .popup-element[data-type='input'] .popupElement-content input { font-size: 19px; } #SGpopup1502 .popup-element[data-type='agree'] .popupElement-content input[type='checkbox']:checked + label { font-size: 10px; } #SGpopup1502 .popup-element[data-ai='email_input'] .popupElement-error { padding: 20px 12px; font-size: 12px; } #SGpopup1502 .popup-element[data-ai='email_input'] .popupElement-error:before { top: -8px; margin-left: -8px; border-width: 0 8px 8px 8px; } #SGpopup1502 .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; } #SGsuccess1502 { padding: 120px 40px 40px 40px; width: 450px; min-width: unset; min-height: 340px; height: auto; max-height: 90vh; overflow: visible; background-image: url('https://service.leads-gen.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; } #SGsuccess1502 p { margin: 20px 0 0 0; padding: 0; line-height: 1.2; } #SGsuccess1502 p:first-child { margin-top: 0; } #SGsuccess1502 button[type='close'] { outline: none !important; cursor: pointer; } #SGsuccess1502 button[type='close'] svg { display: block; pointer-events: none; } #SGsuccess1502 button[data-type='link'], #SGsuccess1502 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) { #SGsuccess1502 { padding: 75px 20px 20px 20px; width: 300px; min-height: 230px; background-image: url('https://service.leads-gen.ru/upload/default/popups/new/bg_mobile.jpg'); background-size: cover; background-position: center top; background-repeat: no-repeat; background-color: transparent; } } </style>
170<style> @import url('https://fonts.googleapis.com/css2?family=Ubuntu:ital,wght@0,400;0,700;1,400;1,700&display=swap'); #SGpopup1749 { padding: 10px 10px 10px 10px; width: 550px; min-width: unset; min-height: 463px; height: auto; background-image: url('https://service.leads-gen.ru/upload/453/popups/1749/1784216761.png'); background-size: contain; background-repeat: no-repeat; background-color: transparent; border-radius: 10px; overflow: visible; font-family: Ubuntu; font-size: 16px; } #SGpopup1749 * { box-sizing: border-box; line-height: 100%; outline: none !important; } #SGpopup1749 h1, #SGpopup1749 h2, #SGpopup1749 h3 { padding: 0; margin: 0; font-size: unset; font-weight: normal; } #SGpopup1749 p { padding: 0; margin: 0 0 20px 0; text-indent: 0; } #SGpopup1749 p:last-child { margin: 0 !important; } #SGpopup1749 img { margin: 0; display: inline-block; max-width: 100%; height: auto; border-radius: 0; } #SGpopup1749 .popup-area { max-width: 100%; border: 1px dashed transparent; } #SGpopup1749 .popup-area[data-type='area-link'], #SGpopup1749 .popup-area[data-type='area-opener'] { display: inline-block; } #SGpopup1749 .popup-area[data-type='area-container'], #SGpopup1749 .popup-area[data-type='area-link'], #SGpopup1749 .popup-area[data-type='area-opener'] { z-index: 1; } #SGpopup1749 .popup-area[data-type='close-container'] { z-index: 3; } #SGpopup1749 .popup-area[data-type='area-link'], #SGpopup1749 .popup-area[data-type='area-opener'], #SGpopup1749 .image-wrapper[data-type='link'], #SGpopup1749 .image-wrapper[data-type='opener'], #SGpopup1749 .image-wrapper[data-type='submitter'] { cursor: pointer; } #SGpopup1749 .popup-element[data-type='image'], #SGpopup1749 .popup-element[data-type='input-file'] { display: inline-block; } #SGpopup1749 .popup-element[data-type='image'] .popupElement-content .image-wrapper img { object-fit: cover; object-position: center; } #SGpopup1749 .iti { width: 100%; } #SGpopup1749 .popup-element[data-type='input'] .iti__selected-dial-code { font-size: 23px; line-height: 28px; } #SGpopup1749 .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; } #SGpopup1749 .popup-element[data-type='input'] input::placeholder { color: inherit; } #SGpopup1749 .popup-element[data-type='input'] input.error { border-color: red !important; } #SGpopup1749 .popup-element[data-type='input-file']:not(.ui-draggable-dragging) { max-width: 100%; } #SGpopup1749 .popup-element[data-type='input-file'] input[type='file'] { display: none; } #SGpopup1749 .popup-element[data-type='input-file'] label { margin: 0; display: inline-block; width: 100%; cursor: pointer; } #SGpopup1749 .popup-element[data-type='input-file'] label p { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } #SGpopup1749 .popup-element[data-type='agree'] input[type='checkbox'] { display: none; } #SGpopup1749 .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; } #SGpopup1749 .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; } #SGpopup1749 .popup-element[data-type='agree'] input[type='checkbox'] + label.error:before { border-color: red; box-shadow: 0 0 5px red; } #SGpopup1749 .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; pointer-events: none; } #SGpopup1749 .popup-element[data-type='agree'][data-mode='general'].some-selected input[type='checkbox'] + label:after, #SGpopup1749 .popup-element[data-type='agree'][data-mode='general'].all-selected input[type='checkbox'] + label:after { position: absolute; top: 3px; left: 3px; display: block; content: ''; width: 12px; height: 12px; background-size: cover; pointer-events: none; } #SGpopup1749 .popup-element[data-type='agree'][data-mode='general'].no-selected input[type='checkbox'] + label:after { display: none; } #SGpopup1749 .popup-element[data-type='editor'] p span * { font-size: inherit; line-height: inherit; } #SGpopup1749 .popup-element[data-type='editor'] p span strong { font-weight: bold; } #SGpopup1749 .popup-element[data-type='editor'] ul { padding: 0 0 0 20px; margin: 0; } #SGpopup1749 .popup-element[data-type='textarea'] textarea { width: 100%; max-width: unset; border-width: 1px; border-style: solid; outline: none; resize: none; font-family: inherit; } #SGpopup1749 .popup-element[data-type='textarea'] textarea.error { border-color: red !important; } #SGpopup1749 .popup-element[data-type='select'] select { display: none; } #SGpopup1749 .popup-element[data-type='select'] .nice-select { float: unset; display: flex; align-items: center; } #SGpopup1749 .popup-element[data-type='select'] .nice-select.error { border-color: red !important; } #SGpopup1749 .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); } #SGpopup1749 .popup-element[data-type='select'] .nice-select.open:before { background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEzIDZMOCAxMUwzIDYiIHN0cm9rZT0iIzAyODFFQiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIi8+Cjwvc3ZnPgo=); transform: rotate(180deg); } #SGpopup1749 .popup-element[data-type='select'] .nice-select:after { display: none; } #SGpopup1749 .popup-element[data-type='select'] .nice-select-dropdown{ left: -1px; width: calc(100% + 2px); } #SGpopup1749 .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); } #SGpopup1749 .popup-element[data-type='select'] .nice-select .list { margin: 4px 0; } #SGpopup1749 .popup-element[data-type='select'] .nice-select .option { padding: 8px 16px; font-size: inherit; line-height: 100%; color: inherit; white-space: normal; } #SGpopup1749 .popup-element[data-type='select'] .nice-select .option.selected { font-weight: normal; } #SGpopup1749 .popup-element[data-type='select'] .nice-select .option:not(.disabled):hover, #SGpopup1749 .popup-element[data-type='select'] .nice-select .option.focus, #SGpopup1749 .popup-element[data-type='select'] .nice-select .option.selected.focus { background: transparent; color: #0281eb; } #SGpopup1749 .popup-element[data-type='select'] .nice-select .current { max-width: 100%; overflow: hidden; text-overflow: ellipsis; font-size: inherit; line-height: 100%; } #SGpopup1749 .popup-element[data-type='button-submit'] button, #SGpopup1749 .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; } #SGpopup1749 .popup-element[data-type='button-submit'] button:disabled, #SGpopup1749 .image-wrapper[data-type='submitter'].disabled { cursor: n
170ot-allowed; } #SGpopup1749 .popup-element[data-type='button-submit'] button *, #SGpopup1749 .popup-element[data-type='button-link'] button * { color: inherit; } #SGpopup1749 .popup-element[data-type='button-close'] button { outline: none !important; cursor: pointer; } #SGpopup1749 .popup-element[data-type='button-close'] button svg { display: block; pointer-events: none; } #SGpopup1749 .popup-element[data-type='wheel'] { z-index: 2; overflow: hidden; } #SGpopup1749 .popup-element[data-type='wheel'] .popupElement-content { pointer-events: none; } #SGpopup1749 .popup-element[data-type='wheel'] .wheel-circle { position: relative; z-index: 2; } #SGpopup1749 .popup-element[data-type='wheel'] .wheel-prizes { position: absolute; z-index: 1; top: 0; left: 0; } #SGpopup1749 .popup-element[data-type='wheel'] .wheel-circle img, #SGpopup1749 .popup-element[data-type='wheel'] .wheel-prizes img { display: block; max-width: unset; } #SGpopup1749 iframe.height-auto { height: auto !important; } #SGpopup1749 .popup-element[data-type='getcourse'], #SGpopup1749 .popup-element[data-type='getcourse'] .popupElement-content { display: flex; flex-wrap: wrap; width: 100%; height: 100%; } #SGpopup1749 .popup-element[data-type='getcourse'] [data-id][data-src] { width: 100%; } #SGpopup1749 .popup-element[data-type='getcourse'] iframe { min-height: 100%; } @media (max-width: 1039px) { #SGpopup1749 { padding: 10px 10px 10px 10px; width: 320px; min-height: 396px; max-height: 90vh; font-size: 12px; background-image: url('https://service.leads-gen.ru/upload/453/popups/1749/1784216768.png'); border-radius: 0px; } #SGpopup1749 .popup-element[data-type='input'] .iti__selected-dial-code, #SGpopup1749 .popup-element[data-type='input'] .popupElement-content input { font-size: 19px; } #SGpopup1749 .popup-element[data-type='agree'] .popupElement-content input[type='checkbox']:checked + label { font-size: 10px; } #SGpopup1749 .popup-element[data-ai='email_input'] .popupElement-error { padding: 20px 12px; font-size: 12px; } #SGpopup1749 .popup-element[data-ai='email_input'] .popupElement-error:before { top: -8px; margin-left: -8px; border-width: 0 8px 8px 8px; } #SGpopup1749 .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; } #SGsuccess1749 { padding: 120px 40px 40px 40px; width: 450px; min-width: unset; min-height: 340px; height: auto; max-height: 90vh; overflow: visible; background-image: url('https://service.leads-gen.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; } #SGsuccess1749 p { margin: 20px 0 0 0; padding: 0; line-height: 1.2; } #SGsuccess1749 p:first-child { margin-top: 0; } #SGsuccess1749 button[type='close'] { outline: none !important; cursor: pointer; } #SGsuccess1749 button[type='close'] svg { display: block; pointer-events: none; } #SGsuccess1749 button[data-type='link'], #SGsuccess1749 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) { #SGsuccess1749 { padding: 75px 20px 20px 20px; width: 300px; min-height: 230px; background-image: url('https://service.leads-gen.ru/upload/default/popups/new/bg_mobile.jpg'); background-size: cover; background-position: center top; background-repeat: no-repeat; background-color: transparent; } } </style>
171<style> @import url('https://fonts.googleapis.com/css2?family=Ubuntu:ital,wght@0,400;0,700;1,400;1,700&display=swap'); #SGpopup1811 { padding: 10px 10px 0px 10px; width: 1000px; min-width: unset; min-height: 570px; height: auto; background-image: url('https://service.leads-gen.ru/upload/453/popups/1811/1787579634.png'); background-size: contain; background-repeat: no-repeat; background-color: transparent; border-radius: 10px; overflow: visible; font-family: Ubuntu; font-size: 16px; } #SGpopup1811 * { box-sizing: border-box; line-height: 100%; outline: none !important; } #SGpopup1811 h1, #SGpopup1811 h2, #SGpopup1811 h3 { padding: 0; margin: 0; font-size: unset; font-weight: normal; } #SGpopup1811 p { padding: 0; margin: 0 0 20px 0; text-indent: 0; } #SGpopup1811 p:last-child { margin: 0 !important; } #SGpopup1811 img { margin: 0; display: inline-block; max-width: 100%; height: auto; border-radius: 0; } #SGpopup1811 .popup-area { max-width: 100%; border: 1px dashed transparent; } #SGpopup1811 .popup-area[data-type='area-link'], #SGpopup1811 .popup-area[data-type='area-opener'] { display: inline-block; } #SGpopup1811 .popup-area[data-type='area-container'], #SGpopup1811 .popup-area[data-type='area-link'], #SGpopup1811 .popup-area[data-type='area-opener'] { z-index: 1; } #SGpopup1811 .popup-area[data-type='close-container'] { z-index: 3; } #SGpopup1811 .popup-area[data-type='area-link'], #SGpopup1811 .popup-area[data-type='area-opener'], #SGpopup1811 .image-wrapper[data-type='link'], #SGpopup1811 .image-wrapper[data-type='opener'], #SGpopup1811 .image-wrapper[data-type='submitter'] { cursor: pointer; } #SGpopup1811 .popup-element[data-type='image'], #SGpopup1811 .popup-element[data-type='input-file'] { display: inline-block; } #SGpopup1811 .popup-element[data-type='image'] .popupElement-content .image-wrapper img { object-fit: cover; object-position: center; } #SGpopup1811 .iti { width: 100%; } #SGpopup1811 .popup-element[data-type='input'] .iti__selected-dial-code { font-size: 23px; line-height: 28px; } #SGpopup1811 .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; } #SGpopup1811 .popup-element[data-type='input'] input::placeholder { color: inherit; } #SGpopup1811 .popup-element[data-type='input'] input.error { border-color: red !important; } #SGpopup1811 .popup-element[data-type='input-file']:not(.ui-draggable-dragging) { max-width: 100%; } #SGpopup1811 .popup-element[data-type='input-file'] input[type='file'] { display: none; } #SGpopup1811 .popup-element[data-type='input-file'] label { margin: 0; display: inline-block; width: 100%; cursor: pointer; } #SGpopup1811 .popup-element[data-type='input-file'] label p { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } #SGpopup1811 .popup-element[data-type='agree'] input[type='checkbox'] { display: none; } #SGpopup1811 .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; } #SGpopup1811 .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; } #SGpopup1811 .popup-element[data-type='agree'] input[type='checkbox'] + label.error:before { border-color: red; box-shadow: 0 0 5px red; } #SGpopup1811 .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; pointer-events: none; } #SGpopup1811 .popup-element[data-type='agree'][data-mode='general'].some-selected input[type='checkbox'] + label:after, #SGpopup1811 .popup-element[data-type='agree'][data-mode='general'].all-selected input[type='checkbox'] + label:after { position: absolute; top: 3px; left: 3px; display: block; content: ''; width: 12px; height: 12px; background-size: cover; pointer-events: none; } #SGpopup1811 .popup-element[data-type='agree'][data-mode='general'].no-selected input[type='checkbox'] + label:after { display: none; } #SGpopup1811 .popup-element[data-type='editor'] p span * { font-size: inherit; line-height: inherit; } #SGpopup1811 .popup-element[data-type='editor'] p span strong { font-weight: bold; } #SGpopup1811 .popup-element[data-type='editor'] ul { padding: 0 0 0 20px; margin: 0; } #SGpopup1811 .popup-element[data-type='textarea'] textarea { width: 100%; max-width: unset; border-width: 1px; border-style: solid; outline: none; resize: none; font-family: inherit; } #SGpopup1811 .popup-element[data-type='textarea'] textarea.error { border-color: red !important; } #SGpopup1811 .popup-element[data-type='select'] select { display: none; } #SGpopup1811 .popup-element[data-type='select'] .nice-select { float: unset; display: flex; align-items: center; } #SGpopup1811 .popup-element[data-type='select'] .nice-select.error { border-color: red !important; } #SGpopup1811 .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); } #SGpopup1811 .popup-element[data-type='select'] .nice-select.open:before { background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEzIDZMOCAxMUwzIDYiIHN0cm9rZT0iIzAyODFFQiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIi8+Cjwvc3ZnPgo=); transform: rotate(180deg); } #SGpopup1811 .popup-element[data-type='select'] .nice-select:after { display: none; } #SGpopup1811 .popup-element[data-type='select'] .nice-select-dropdown{ left: -1px; width: calc(100% + 2px); } #SGpopup1811 .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); } #SGpopup1811 .popup-element[data-type='select'] .nice-select .list { margin: 4px 0; } #SGpopup1811 .popup-element[data-type='select'] .nice-select .option { padding: 8px 16px; font-size: inherit; line-height: 100%; color: inherit; white-space: normal; } #SGpopup1811 .popup-element[data-type='select'] .nice-select .option.selected { font-weight: normal; } #SGpopup1811 .popup-element[data-type='select'] .nice-select .option:not(.disabled):hover, #SGpopup1811 .popup-element[data-type='select'] .nice-select .option.focus, #SGpopup1811 .popup-element[data-type='select'] .nice-select .option.selected.focus { background: transparent; color: #0281eb; } #SGpopup1811 .popup-element[data-type='select'] .nice-select .current { max-width: 100%; overflow: hidden; text-overflow: ellipsis; font-size: inherit; line-height: 100%; } #SGpopup1811 .popup-element[data-type='button-submit'] button, #SGpopup1811 .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; } #SGpopup1811 .popup-element[data-type='button-submit'] button:disabled, #SGpopup1811 .image-wrapper[data-type='submitter'].disabled { cursor: n
171ot-allowed; } #SGpopup1811 .popup-element[data-type='button-submit'] button *, #SGpopup1811 .popup-element[data-type='button-link'] button * { color: inherit; } #SGpopup1811 .popup-element[data-type='button-close'] button { outline: none !important; cursor: pointer; } #SGpopup1811 .popup-element[data-type='button-close'] button svg { display: block; pointer-events: none; } #SGpopup1811 .popup-element[data-type='wheel'] { z-index: 2; overflow: hidden; } #SGpopup1811 .popup-element[data-type='wheel'] .popupElement-content { pointer-events: none; } #SGpopup1811 .popup-element[data-type='wheel'] .wheel-circle { position: relative; z-index: 2; } #SGpopup1811 .popup-element[data-type='wheel'] .wheel-prizes { position: absolute; z-index: 1; top: 0; left: 0; } #SGpopup1811 .popup-element[data-type='wheel'] .wheel-circle img, #SGpopup1811 .popup-element[data-type='wheel'] .wheel-prizes img { display: block; max-width: unset; } #SGpopup1811 iframe.height-auto { height: auto !important; } #SGpopup1811 .popup-element[data-type='getcourse'], #SGpopup1811 .popup-element[data-type='getcourse'] .popupElement-content { display: flex; flex-wrap: wrap; width: 100%; height: 100%; } #SGpopup1811 .popup-element[data-type='getcourse'] [data-id][data-src] { width: 100%; } #SGpopup1811 .popup-element[data-type='getcourse'] iframe { min-height: 100%; } @media (max-width: 1039px) { #SGpopup1811 { padding: 10px 10px 10px 10px; width: 375px; min-height: 643px; max-height: 90vh; font-size: 12px; background-image: url('https://service.leads-gen.ru/upload/453/popups/1811/1787579643.png'); border-radius: 10px; } #SGpopup1811 .popup-element[data-type='input'] .iti__selected-dial-code, #SGpopup1811 .popup-element[data-type='input'] .popupElement-content input { font-size: 19px; } #SGpopup1811 .popup-element[data-type='agree'] .popupElement-content input[type='checkbox']:checked + label { font-size: 10px; } #SGpopup1811 .popup-element[data-ai='email_input'] .popupElement-error { padding: 20px 12px; font-size: 12px; } #SGpopup1811 .popup-element[data-ai='email_input'] .popupElement-error:before { top: -8px; margin-left: -8px; border-width: 0 8px 8px 8px; } #SGpopup1811 .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; } #SGsuccess1811 { padding: 120px 40px 40px 40px; width: 450px; min-width: unset; min-height: 340px; height: auto; max-height: 90vh; overflow: visible; background-image: url('https://service.leads-gen.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; } #SGsuccess1811 p { margin: 20px 0 0 0; padding: 0; line-height: 1.2; } #SGsuccess1811 p:first-child { margin-top: 0; } #SGsuccess1811 button[type='close'] { outline: none !important; cursor: pointer; } #SGsuccess1811 button[type='close'] svg { display: block; pointer-events: none; } #SGsuccess1811 button[data-type='link'], #SGsuccess1811 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) { #SGsuccess1811 { padding: 75px 20px 20px 20px; width: 300px; min-height: 230px; background-image: url('https://service.leads-gen.ru/upload/default/popups/new/bg_mobile.jpg'); background-size: cover; background-position: center top; background-repeat: no-repeat; background-color: transparent; } } </style>
172<style> @import url('https://fonts.googleapis.com/css2?family=Ubuntu:ital,wght@0,400;0,700;1,400;1,700&display=swap'); #SGpopup1829 { padding: 10px 10px 0px 10px; width: 1266px; min-width: unset; min-height: 650px; height: auto; background-image: url('https://service.leads-gen.ru/upload/453/popups/1829/1790801823.png'); background-size: contain; background-repeat: no-repeat; background-color: transparent; border-radius: 10px; overflow: visible; font-family: Ubuntu; font-size: 16px; } #SGpopup1829 * { box-sizing: border-box; line-height: 100%; outline: none !important; } #SGpopup1829 h1, #SGpopup1829 h2, #SGpopup1829 h3 { padding: 0; margin: 0; font-size: unset; font-weight: normal; } #SGpopup1829 p { padding: 0; margin: 0 0 20px 0; text-indent: 0; } #SGpopup1829 p:last-child { margin: 0 !important; } #SGpopup1829 img { margin: 0; display: inline-block; max-width: 100%; height: auto; border-radius: 0; } #SGpopup1829 .popup-area { max-width: 100%; border: 1px dashed transparent; } #SGpopup1829 .popup-area[data-type='area-link'], #SGpopup1829 .popup-area[data-type='area-opener'] { display: inline-block; } #SGpopup1829 .popup-area[data-type='area-container'], #SGpopup1829 .popup-area[data-type='area-link'], #SGpopup1829 .popup-area[data-type='area-opener'] { z-index: 1; } #SGpopup1829 .popup-area[data-type='close-container'] { z-index: 3; } #SGpopup1829 .popup-area[data-type='area-link'], #SGpopup1829 .popup-area[data-type='area-opener'], #SGpopup1829 .
172image-wrapper[data-type='link'], #SGpopup1829 .image-wrapper[data-type='opener'], #SGpopup1829 .image-wrapper[data-type='submitter'] { cursor: pointer; } #SGpopup1829 .popup-element[data-type='image'], #SGpopup1829 .popup-element[data-type='input-file'] { display: inline-block; } #SGpopup1829 .popup-element[data-type='image'] .popupElement-content .image-wrapper img { object-fit: cover; object-position: center; } #SGpopup1829 .iti { width: 100%; } #SGpopup1829 .popup-element[data-type='input'] .iti__selected-dial-code { font-size: 23px; line-height: 28px; } #SGpopup1829 .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; } #SGpopup1829 .popup-element[data-type='input'] input::placeholder { color: inherit; } #SGpopup1829 .popup-element[data-type='input'] input.error { border-color: red !important; } #SGpopup1829 .popup-element[data-type='input-file']:not(.ui-draggable-dragging) { max-width: 100%; } #SGpopup1829 .popup-element[data-type='input-file'] input[type='file'] { display: none; } #SGpopup1829 .popup-element[data-type='input-file'] label { margin: 0; display: inline-block; width: 100%; cursor: pointer; } #SGpopup1829 .popup-element[data-type='input-file'] label p { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } #SGpopup1829 .popup-element[data-type='agree'] input[type='checkbox'] { display: none; } #SGpopup1829 .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; } #SGpopup1829 .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; } #SGpopup1829 .popup-element[data-type='agree'] input[type='checkbox'] + label.error:before { border-color: red; box-shadow: 0 0 5px red; } #SGpopup1829 .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; pointer-events: none; } #SGpopup1829 .popup-element[data-type='agree'][data-mode='general'].some-selected input[type='checkbox'] + label:after, #SGpopup1829 .popup-element[data-type='agree'][data-mode='general'].all-selected input[type='checkbox'] + label:after { position: absolute; top: 3px; left: 3px; display: block; content: ''; width: 12px; height: 12px; background-size: cover; pointer-events: none; } #SGpopup1829 .popup-element[data-type='agree'][data-mode='general'].no-selected input[type='checkbox'] + label:after { display: none; } #SGpopup1829 .popup-element[data-type='editor'] p span * { font-size: inherit; line-height: inherit; } #SGpopup1829 .popup-element[data-type='editor'] p span strong { font-weight: bold; } #SGpopup1829 .popup-element[data-type='editor'] ul { padding: 0 0 0 20px; margin: 0; } #SGpopup1829 .popup-element[data-type='textarea'] textarea { width: 100%; max-width: unset; border-width: 1px; border-style: solid; outline: none; resize: none; font-family: inherit; } #SGpopup1829 .popup-element[data-type='textarea'] textarea.error { border-color: red !important; } #SGpopup1829 .popup-element[data-type='select'] select { display: none; } #SGpopup1829 .popup-element[data-type='select'] .nice-select { float: unset; display: flex; align-items: center; } #SGpopup1829 .popup-element[data-type='select'] .nice-select.error { border-color: red !important; } #SGpopup1829 .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); } #SGpopup1829 .popup-element[data-type='select'] .nice-select.open:before { background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEzIDZMOCAxMUwzIDYiIHN0cm9rZT0iIzAyODFFQiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIi8+Cjwvc3ZnPgo=); transform: rotate(180deg); } #SGpopup1829 .popup-element[data-type='select'] .nice-select:after { display: none; } #SGpopup1829 .popup-element[data-type='select'] .nice-select-dropdown{ left: -1px; width: calc(100% + 2px); } #SGpopup1829 .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); } #SGpopup1829 .popup-element[data-type='select'] .nice-select .list { margin: 4px 0; } #SGpopup1829 .popup-element[data-type='select'] .nice-select .option { padding: 8px 16px; font-size: inherit; line-height: 100%; color: inherit; white-space: normal; } #SGpopup1829 .popup-element[data-type='select'] .nice-select .option.selected { font-weight: normal; } #SGpopup1829 .popup-element[data-type='select'] .nice-select .option:not(.disabled):hover, #SGpopup1829 .popup-element[data-type='select'] .nice-select .option.focus, #SGpopup1829 .popup-element[data-type='select'] .nice-select .option.selected.focus { background: transparent; color: #0281eb; } #SGpopup1829 .popup-element[data-type='select'] .nice-select .current { max-width: 100%; overflow: hidden; text-overflow: ellipsis; font-size: inherit; line-height: 100%; } #SGpopup1829 .popup-element[data-type='button-submit'] button, #SGpopup1829 .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; } #SGpopup1829 .popup-element[data-type='button-submit'] button:disabled, #SGpopup1829 .
172image-wrapper[data-type='submitter'].disabled { cursor: not-allowed; } #SGpopup1829 .popup-element[data-type='button-submit'] button *, #SGpopup1829 .popup-element[data-type='button-link'] button * { color: inherit; } #SGpopup1829 .popup-element[data-type='button-close'] button { outline: none !important; cursor: pointer; } #SGpopup1829 .popup-element[data-type='button-close'] button svg { display: block; pointer-events: none; } #SGpopup1829 .popup-element[data-type='wheel'] { z-index: 2; overflow: hidden; } #SGpopup1829 .popup-element[data-type='wheel'] .popupElement-content { pointer-events: none; } #SGpopup1829 .popup-element[data-type='wheel'] .wheel-circle { position: relative; z-index: 2; } #SGpopup1829 .popup-element[data-type='wheel'] .wheel-prizes { position: absolute; z-index: 1; top: 0; left: 0; } #SGpopup1829 .popup-element[data-type='wheel'] .wheel-circle img, #SGpopup1829 .popup-element[data-type='wheel'] .wheel-prizes img { display: block; max-width: unset; } #SGpopup1829 iframe.height-auto { height: auto !important; } #SGpopup1829 .popup-element[data-type='getcourse'], #SGpopup1829 .popup-element[data-type='getcourse'] .popupElement-content { display: flex; flex-wrap: wrap; width: 100%; height: 100%; } #SGpopup1829 .popup-element[data-type='getcourse'] [data-id][data-src] { width: 100%; } #SGpopup1829 .popup-element[data-type='getcourse'] iframe { min-height: 100%; } @media (max-width: 1039px) { #SGpopup1829 { padding: 10px 10px 10px 10px; width: 365px; min-height: 782px; max-height: 90vh; font-size: 12px; background-image: url('https://service.leads-gen.ru/upload/453/popups/1829/1790801775.png'); border-radius: 10px; } #SGpopup1829 .popup-element[data-type='input'] .iti__selected-dial-code, #SGpopup1829 .popup-element[data-type='input'] .popupElement-content input { font-size: 19px; } #SGpopup1829 .popup-element[data-type='agree'] .popupElement-content input[type='checkbox']:checked + label { font-size: 10px; } #SGpopup1829 .popup-element[data-ai='email_input'] .popupElement-error { padding: 20px 12px; font-size: 12px; } #SGpopup1829 .popup-element[data-ai='email_input'] .popupElement-error:before { top: -8px; margin-left: -8px; border-width: 0 8px 8px 8px; } #SGpopup1829 .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; } #SGsuccess1829 { padding: 0px 0px 0px 0px; width: 1222px; min-width: unset; min-height: 691px; height: auto; max-height: 90vh; overflow: visible; background-image: url('https://service.leads-gen.ru/upload/453/popups/1829/1790801430.png'); background-size: cover; background-position: center top; background-repeat: no-repeat; background-color: transparent; border-radius: 0px; font-family: Montserrat; } #SGsuccess1829 p { margin: 20px 0 0 0; padding: 0; line-height: 1.2; } #SGsuccess1829 p:first-child { margin-top: 0; } #SGsuccess1829 button[type='close'] { outline: none !important; cursor: pointer; } #SGsuccess1829 button[type='close'] svg { display: block; pointer-events: none; } #SGsuccess1829 button[data-type='link'], #SGsuccess1829 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) { #SGsuccess1829 { padding: 0px 0px 0px 0px; width: 360px; min-height: 782px; background-image: url('https://service.leads-gen.ru/upload/453/popups/1829/1790801419.png'); background-size: cover; background-position: center top; background-repeat: no-repeat; background-color: transparent; } } </style>
173<style> @import url('https://fonts.googleapis.com/css2?family=Ubuntu:ital,wght@0,400;0,700;1,400;1,700&display=swap'); #SGpopup1845 { padding: 10px 10px 0px 10px; width: 1000px; min-width: unset; min-height: 570px; height: auto; background-image: url('https://service.leads-gen.ru/upload/453/popups/1845/1790163729.png'); background-size: contain; background-repeat: no-repeat; background-color: transparent; border-radius: 10px; overflow: visible; font-family: Ubuntu; font-size: 16px; } #SGpopup1845 * { box-sizing: border-box; line-height: 100%; outline: none !important; } #SGpopup1845 h1, #SGpopup1845 h2, #SGpopup1845 h3 { padding: 0; margin: 0; font-size: unset; font-weight: normal; } #SGpopup1845 p { padding: 0; margin: 0 0 20px 0; text-indent: 0; } #SGpopup1845 p:last-child { margin: 0 !important; } #SGpopup1845 img { margin: 0; display: inline-block; max-width: 100%; height: auto; border-radius: 0; } #SGpopup1845 .popup-area { max-width: 100%; border: 1px dashed transparent; } #SGpopup1845 .popup-area[data-type='area-link'], #SGpopup1845 .popup-area[data-type='area-opener'] { display: inline-block; } #SGpopup1845 .popup-area[data-type='area-container'], #SGpopup1845 .popup-area[data-type='area-link'], #SGpopup1845 .popup-area[data-type='area-opener'] { z-index: 1; } #SGpopup1845 .popup-area[data-type='close-container'] { z-index: 3; } #SGpopup1845 .popup-area[data-type='area-link'], #SGpopup1845 .popup-area[data-type='area-opener'], #SGpopup1845 .image-wrapper[data-type='link'], #SGpopup1845 .image-wrapper[data-type='opener'], #SGpopup1845 .image-wrapper[data-type='submitter'] { cursor: pointer; } #SGpopup1845 .popup-element[data-type='image'], #SGpopup1845 .popup-element[data-type='input-file'] { display: inline-block; } #SGpopup1845 .popup-element[data-type='image'] .popupElement-content .image-wrapper img { object-fit: cover; object-position: center; } #SGpopup1845 .iti { width: 100%; } #SGpopup1845 .popup-element[data-type='input'] .iti__selected-dial-code { font-size: 23px; line-height: 28px; } #SGpopup1845 .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; } #SGpopup1845 .popup-element[data-type='input'] input::placeholder { color: inherit; } #SGpopup1845 .popup-element[data-type='input'] input.error { border-color: red !important; } #SGpopup1845 .popup-element[data-type='input-file']:not(.ui-draggable-dragging) { max-width: 100%; } #SGpopup1845 .popup-element[data-type='input-file'] input[type='file'] { display: none; } #SGpopup1845 .popup-element[data-type='input-file'] label { margin: 0; display: inline-block; width: 100%; cursor: pointer; } #SGpopup1845 .popup-element[data-type='input-file'] label p { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } #SGpopup1845 .popup-element[data-type='agree'] input[type='checkbox'] { display: none; } #SGpopup1845 .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; } #SGpopup1845 .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; } #SGpopup1845 .popup-element[data-type='agree'] input[type='checkbox'] + label.error:before { border-color: red; box-shadow: 0 0 5px red; } #SGpopup1845 .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; pointer-events: none; } #SGpopup1845 .popup-element[data-type='agree'][data-mode='general'].some-selected input[type='checkbox'] + label:after, #SGpopup1845 .popup-element[data-type='agree'][data-mode='general'].all-selected input[type='checkbox'] + label:after { position: absolute; top: 3px; left: 3px; display: block; content: ''; width: 12px; height: 12px; background-size: cover; pointer-events: none; } #SGpopup1845 .popup-element[data-type='agree'][data-mode='general'].no-selected input[type='checkbox'] + label:after { display: none; } #SGpopup1845 .popup-element[data-type='editor'] p span * { font-size: inherit; line-height: inherit; } #SGpopup1845 .popup-element[data-type='editor'] p span strong { font-weight: bold; } #SGpopup1845 .popup-element[data-type='editor'] ul { padding: 0 0 0 20px; margin: 0; } #SGpopup1845 .popup-element[data-type='textarea'] textarea { width: 100%; max-width: unset; border-width: 1px; border-style: solid; outline: none; resize: none; font-family: inherit; } #SGpopup1845 .popup-element[data-type='textarea'] textarea.error { border-color: red !important; } #SGpopup1845 .popup-element[data-type='select'] select { display: none; } #SGpopup1845 .popup-element[data-type='select'] .nice-select { float: unset; display: flex; align-items: center; } #SGpopup1845 .popup-element[data-type='select'] .nice-select.error { border-color: red !important; } #SGpopup1845 .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); } #SGpopup1845 .popup-element[data-type='select'] .nice-select.open:before { background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEzIDZMOCAxMUwzIDYiIHN0cm9rZT0iIzAyODFFQiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIi8+Cjwvc3ZnPgo=); transform: rotate(180deg); } #SGpopup1845 .popup-element[data-type='select'] .nice-select:after { display: none; } #SGpopup1845 .popup-element[data-type='select'] .nice-select-dropdown{ left: -1px; width: calc(100% + 2px); } #SGpopup1845 .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); } #SGpopup1845 .popup-element[data-type='select'] .nice-select .list { margin: 4px 0; } #SGpopup1845 .popup-element[data-type='select'] .nice-select .option { padding: 8px 16px; font-size: inherit; line-height: 100%; color: inherit; white-space: normal; } #SGpopup1845 .popup-element[data-type='select'] .nice-select .option.selected { font-weight: normal; } #SGpopup1845 .popup-element[data-type='select'] .nice-select .option:not(.disabled):hover, #SGpopup1845 .popup-element[data-type='select'] .nice-select .option.focus, #SGpopup1845 .popup-element[data-type='select'] .nice-select .option.selected.focus { background: transparent; color: #0281eb; } #SGpopup1845 .popup-element[data-type='select'] .nice-select .current { max-width: 100%; overflow: hidden; text-overflow: ellipsis; font-size: inherit; line-height: 100%; } #SGpopup1845 .popup-element[data-type='button-submit'] button, #SGpopup1845 .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; } #SGpopup1845 .popup-element[data-type='button-submit'] button:disabled, #SGpopup1845 .image-wrapper[data-type='submitter'].disabled { cursor: n
173ot-allowed; } #SGpopup1845 .popup-element[data-type='button-submit'] button *, #SGpopup1845 .popup-element[data-type='button-link'] button * { color: inherit; } #SGpopup1845 .popup-element[data-type='button-close'] button { outline: none !important; cursor: pointer; } #SGpopup1845 .popup-element[data-type='button-close'] button svg { display: block; pointer-events: none; } #SGpopup1845 .popup-element[data-type='wheel'] { z-index: 2; overflow: hidden; } #SGpopup1845 .popup-element[data-type='wheel'] .popupElement-content { pointer-events: none; } #SGpopup1845 .popup-element[data-type='wheel'] .wheel-circle { position: relative; z-index: 2; } #SGpopup1845 .popup-element[data-type='wheel'] .wheel-prizes { position: absolute; z-index: 1; top: 0; left: 0; } #SGpopup1845 .popup-element[data-type='wheel'] .wheel-circle img, #SGpopup1845 .popup-element[data-type='wheel'] .wheel-prizes img { display: block; max-width: unset; } #SGpopup1845 iframe.height-auto { height: auto !important; } #SGpopup1845 .popup-element[data-type='getcourse'], #SGpopup1845 .popup-element[data-type='getcourse'] .popupElement-content { display: flex; flex-wrap: wrap; width: 100%; height: 100%; } #SGpopup1845 .popup-element[data-type='getcourse'] [data-id][data-src] { width: 100%; } #SGpopup1845 .popup-element[data-type='getcourse'] iframe { min-height: 100%; } @media (max-width: 1039px) { #SGpopup1845 { padding: 10px 10px 10px 10px; width: 375px; min-height: 643px; max-height: 90vh; font-size: 12px; background-image: url('https://service.leads-gen.ru/upload/453/popups/1845/1790185164.png'); border-radius: 10px; } #SGpopup1845 .popup-element[data-type='input'] .iti__selected-dial-code, #SGpopup1845 .popup-element[data-type='input'] .popupElement-content input { font-size: 19px; } #SGpopup1845 .popup-element[data-type='agree'] .popupElement-content input[type='checkbox']:checked + label { font-size: 10px; } #SGpopup1845 .popup-element[data-ai='email_input'] .popupElement-error { padding: 20px 12px; font-size: 12px; } #SGpopup1845 .popup-element[data-ai='email_input'] .popupElement-error:before { top: -8px; margin-left: -8px; border-width: 0 8px 8px 8px; } #SGpopup1845 .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; } #SGsuccess1845 { padding: 120px 40px 40px 40px; width: 450px; min-width: unset; min-height: 340px; height: auto; max-height: 90vh; overflow: visible; background-image: url('https://service.leads-gen.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; } #SGsuccess1845 p { margin: 20px 0 0 0; padding: 0; line-height: 1.2; } #SGsuccess1845 p:first-child { margin-top: 0; } #SGsuccess1845 button[type='close'] { outline: none !important; cursor: pointer; } #SGsuccess1845 button[type='close'] svg { display: block; pointer-events: none; } #SGsuccess1845 button[data-type='link'], #SGsuccess1845 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) { #SGsuccess1845 { padding: 75px 20px 20px 20px; width: 300px; min-height: 230px; background-image: url('https://service.leads-gen.ru/upload/default/popups/new/bg_mobile.jpg'); background-size: cover; background-position: center top; background-repeat: no-repeat; background-color: transparent; } } </style>
174<style> @import url('https://fonts.googleapis.com/css2?family=Ubuntu:ital,wght@0,400;0,700;1,400;1,700&display=swap'); #SGpopup1858 { padding: 10px 10px 0px 10px; width: 1000px; min-width: unset; min-height: 570px; height: auto; background-image: url('https://service.leads-gen.ru/upload/453/popups/1858/1790164655.jpg'); background-size: contain; background-repeat: no-repeat; background-color: transparent; border-radius: 10px; overflow: visible; font-family: Ubuntu; font-size: 16px; } #SGpopup1858 * { box-sizing: border-box; line-height: 100%; outline: none !important; } #SGpopup1858 h1, #SGpopup1858 h2, #SGpopup1858 h3 { padding: 0; margin: 0; font-size: unset; font-weight: normal; } #SGpopup1858 p { padding: 0; margin: 0 0 20px 0; text-indent: 0; } #SGpopup1858 p:last-child { margin: 0 !important; } #SGpopup1858 img { margin: 0; display: inline-block; max-width: 100%; height: auto; border-radius: 0; } #SGpopup1858 .popup-area { max-width: 100%; border: 1px dashed transparent; } #SGpopup1858 .popup-area[data-type='area-link'], #SGpopup1858 .popup-area[data-type='area-opener'] { display: inline-block; } #SGpopup1858 .popup-area[data-type='area-container'], #SGpopup1858 .popup-area[data-type='area-link'], #SGpopup1858 .popup-area[data-type='area-opener'] { z-index: 1; } #SGpopup1858 .popup-area[data-type='close-container'] { z-index: 3; } #SGpopup1858 .popup-area[data-type='area-link'], #SGpopup1858 .popup-area[data-type='area-opener'], #SGpopup1858 .image-wrapper[data-type='link'], #SGpopup1858 .image-wrapper[data-type='opener'], #SGpopup1858 .image-wrapper[data-type='submitter'] { cursor: pointer; } #SGpopup1858 .popup-element[data-type='image'], #SGpopup1858 .popup-element[data-type='input-file'] { display: inline-block; } #SGpopup1858 .popup-element[data-type='image'] .popupElement-content .image-wrapper img { object-fit: cover; object-position: center; } #SGpopup1858 .iti { width: 100%; } #SGpopup1858 .popup-element[data-type='input'] .iti__selected-dial-code { font-size: 23px; line-height: 28px; } #SGpopup1858 .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; } #SGpopup1858 .popup-element[data-type='input'] input::placeholder { color: inherit; } #SGpopup1858 .popup-element[data-type='input'] input.error { border-color: red !important; } #SGpopup1858 .popup-element[data-type='input-file']:not(.ui-draggable-dragging) { max-width: 100%; } #SGpopup1858 .popup-element[data-type='input-file'] input[type='file'] { display: none; } #SGpopup1858 .popup-element[data-type='input-file'] label { margin: 0; display: inline-block; width: 100%; cursor: pointer; } #SGpopup1858 .popup-element[data-type='input-file'] label p { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } #SGpopup1858 .popup-element[data-type='agree'] input[type='checkbox'] { display: none; } #SGpopup1858 .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; } #SGpopup1858 .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; } #SGpopup1858 .popup-element[data-type='agree'] input[type='checkbox'] + label.error:before { border-color: red; box-shadow: 0 0 5px red; } #SGpopup1858 .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; pointer-events: none; } #SGpopup1858 .popup-element[data-type='agree'][data-mode='general'].some-selected input[type='checkbox'] + label:after, #SGpopup1858 .popup-element[data-type='agree'][data-mode='general'].all-selected input[type='checkbox'] + label:after { position: absolute; top: 3px; left: 3px; display: block; content: ''; width: 12px; height: 12px; background-size: cover; pointer-events: none; } #SGpopup1858 .popup-element[data-type='agree'][data-mode='general'].no-selected input[type='checkbox'] + label:after { display: none; } #SGpopup1858 .popup-element[data-type='editor'] p span * { font-size: inherit; line-height: inherit; } #SGpopup1858 .popup-element[data-type='editor'] p span strong { font-weight: bold; } #SGpopup1858 .popup-element[data-type='editor'] ul { padding: 0 0 0 20px; margin: 0; } #SGpopup1858 .popup-element[data-type='textarea'] textarea { width: 100%; max-width: unset; border-width: 1px; border-style: solid; outline: none; resize: none; font-family: inherit; } #SGpopup1858 .popup-element[data-type='textarea'] textarea.error { border-color: red !important; } #SGpopup1858 .popup-element[data-type='select'] select { display: none; } #SGpopup1858 .popup-element[data-type='select'] .nice-select { float: unset; display: flex; align-items: center; } #SGpopup1858 .popup-element[data-type='select'] .nice-select.error { border-color: red !important; } #SGpopup1858 .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); } #SGpopup1858 .popup-element[data-type='select'] .nice-select.open:before { background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEzIDZMOCAxMUwzIDYiIHN0cm9rZT0iIzAyODFFQiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIi8+Cjwvc3ZnPgo=); transform: rotate(180deg); } #SGpopup1858 .popup-element[data-type='select'] .nice-select:after { display: none; } #SGpopup1858 .popup-element[data-type='select'] .nice-select-dropdown{ left: -1px; width: calc(100% + 2px); } #SGpopup1858 .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); } #SGpopup1858 .popup-element[data-type='select'] .nice-select .list { margin: 4px 0; } #SGpopup1858 .popup-element[data-type='select'] .nice-select .option { padding: 8px 16px; font-size: inherit; line-height: 100%; color: inherit; white-space: normal; } #SGpopup1858 .popup-element[data-type='select'] .nice-select .option.selected { font-weight: normal; } #SGpopup1858 .popup-element[data-type='select'] .nice-select .option:not(.disabled):hover, #SGpopup1858 .popup-element[data-type='select'] .nice-select .option.focus, #SGpopup1858 .popup-element[data-type='select'] .nice-select .option.selected.focus { background: transparent; color: #0281eb; } #SGpopup1858 .popup-element[data-type='select'] .nice-select .current { max-width: 100%; overflow: hidden; text-overflow: ellipsis; font-size: inherit; line-height: 100%; } #SGpopup1858 .popup-element[data-type='button-submit'] button, #SGpopup1858 .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; } #SGpopup1858 .popup-element[data-type='button-submit'] button:disabled, #SGpopup1858 .image-wrapper[data-type='submitter'].disabled { cursor: n
174ot-allowed; } #SGpopup1858 .popup-element[data-type='button-submit'] button *, #SGpopup1858 .popup-element[data-type='button-link'] button * { color: inherit; } #SGpopup1858 .popup-element[data-type='button-close'] button { outline: none !important; cursor: pointer; } #SGpopup1858 .popup-element[data-type='button-close'] button svg { display: block; pointer-events: none; } #SGpopup1858 .popup-element[data-type='wheel'] { z-index: 2; overflow: hidden; } #SGpopup1858 .popup-element[data-type='wheel'] .popupElement-content { pointer-events: none; } #SGpopup1858 .popup-element[data-type='wheel'] .wheel-circle { position: relative; z-index: 2; } #SGpopup1858 .popup-element[data-type='wheel'] .wheel-prizes { position: absolute; z-index: 1; top: 0; left: 0; } #SGpopup1858 .popup-element[data-type='wheel'] .wheel-circle img, #SGpopup1858 .popup-element[data-type='wheel'] .wheel-prizes img { display: block; max-width: unset; } #SGpopup1858 iframe.height-auto { height: auto !important; } #SGpopup1858 .popup-element[data-type='getcourse'], #SGpopup1858 .popup-element[data-type='getcourse'] .popupElement-content { display: flex; flex-wrap: wrap; width: 100%; height: 100%; } #SGpopup1858 .popup-element[data-type='getcourse'] [data-id][data-src] { width: 100%; } #SGpopup1858 .popup-element[data-type='getcourse'] iframe { min-height: 100%; } @media (max-width: 1039px) { #SGpopup1858 { padding: 10px 10px 10px 10px; width: 360px; min-height: 695px; max-height: 90vh; font-size: 12px; background-image: url('https://service.leads-gen.ru/upload/453/popups/1858/1790166083.png'); border-radius: 10px; } #SGpopup1858 .popup-element[data-type='input'] .iti__selected-dial-code, #SGpopup1858 .popup-element[data-type='input'] .popupElement-content input { font-size: 19px; } #SGpopup1858 .popup-element[data-type='agree'] .popupElement-content input[type='checkbox']:checked + label { font-size: 10px; } #SGpopup1858 .popup-element[data-ai='email_input'] .popupElement-error { padding: 20px 12px; font-size: 12px; } #SGpopup1858 .popup-element[data-ai='email_input'] .popupElement-error:before { top: -8px; margin-left: -8px; border-width: 0 8px 8px 8px; } #SGpopup1858 .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; } #SGsuccess1858 { padding: 120px 40px 40px 40px; width: 450px; min-width: unset; min-height: 340px; height: auto; max-height: 90vh; overflow: visible; background-image: url('https://service.leads-gen.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; } #SGsuccess1858 p { margin: 20px 0 0 0; padding: 0; line-height: 1.2; } #SGsuccess1858 p:first-child { margin-top: 0; } #SGsuccess1858 button[type='close'] { outline: none !important; cursor: pointer; } #SGsuccess1858 button[type='close'] svg { display: block; pointer-events: none; } #SGsuccess1858 button[data-type='link'], #SGsuccess1858 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) { #SGsuccess1858 { padding: 75px 20px 20px 20px; width: 300px; min-height: 230px; background-image: url('https://service.leads-gen.ru/upload/default/popups/new/bg_mobile.jpg'); background-size: cover; background-position: center top; background-repeat: no-repeat; background-color: transparent; } } </style>
175<style> @import url('https://fonts.googleapis.com/css2?family=Ubuntu:ital,wght@0,400;0,700;1,400;1,700&display=swap'); #SGpopup1877 { padding: 10px 10px 0px 10px; width: 1000px; min-width: unset; min-height: 570px; height: auto; background-image: url('https://service.leads-gen.ru/upload/453/popups/1877/1790872860.png'); background-size: contain; background-repeat: no-repeat; background-color: transparent; border-radius: 10px; overflow: visible; font-family: Ubuntu; font-size: 16px; } #SGpopup1877 * { box-sizing: border-box; line-height: 100%; outline: none !important; } #SGpopup1877 h1, #SGpopup1877 h2, #SGpopup1877 h3 { padding: 0; margin: 0; font-size: unset; font-weight: normal; } #SGpopup1877 p { padding: 0; margin: 0 0 20px 0; text-indent: 0; } #SGpopup1877 p:last-child { margin: 0 !important; } #SGpopup1877 img { margin: 0; display: inline-block; max-width: 100%; height: auto; border-radius: 0; } #SGpopup1877 .popup-area { max-width: 100%; border: 1px dashed transparent; } #SGpopup1877 .popup-area[data-type='area-link'], #SGpopup1877 .popup-area[data-type='area-opener'] { display: inline-block; } #SGpopup1877 .popup-area[data-type='area-container'], #SGpopup1877 .popup-area[data-type='area-link'], #SGpopup1877 .popup-area[data-type='area-opener'] { z-index: 1; } #SGpopup1877 .popup-area[data-type='close-container'] { z-index: 3; } #SGpopup1877 .popup-area[data-type='area-link'], #SGpopup1877 .popup-area[data-type='area-opener'], #SGpopup1877 .image-wrapper[data-type='link'], #SGpopup1877 .image-wrapper[data-type='opener'], #SGpopup1877 .image-wrapper[data-type='submitter'] { cursor: pointer; } #SGpopup1877 .popup-element[data-type='image'], #SGpopup1877 .popup-element[data-type='input-file'] { display: inline-block; } #SGpopup1877 .popup-element[data-type='image'] .popupElement-content .image-wrapper img { object-fit: cover; object-position: center; } #SGpopup1877 .iti { width: 100%; } #SGpopup1877 .popup-element[data-type='input'] .iti__selected-dial-code { font-size: 23px; line-height: 28px; } #SGpopup1877 .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; } #SGpopup1877 .popup-element[data-type='input'] input::placeholder { color: inherit; } #SGpopup1877 .popup-element[data-type='input'] input.error { border-color: red !important; } #SGpopup1877 .popup-element[data-type='input-file']:not(.ui-draggable-dragging) { max-width: 100%; } #SGpopup1877 .popup-element[data-type='input-file'] input[type='file'] { display: none; } #SGpopup1877 .popup-element[data-type='input-file'] label { margin: 0; display: inline-block; width: 100%; cursor: pointer; } #SGpopup1877 .popup-element[data-type='input-file'] label p { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } #SGpopup1877 .popup-element[data-type='agree'] input[type='checkbox'] { display: none; } #SGpopup1877 .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; } #SGpopup1877 .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; } #SGpopup1877 .popup-element[data-type='agree'] input[type='checkbox'] + label.error:before { border-color: red; box-shadow: 0 0 5px red; } #SGpopup1877 .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; pointer-events: none; } #SGpopup1877 .popup-element[data-type='agree'][data-mode='general'].some-selected input[type='checkbox'] + label:after, #SGpopup1877 .popup-element[data-type='agree'][data-mode='general'].all-selected input[type='checkbox'] + label:after { position: absolute; top: 3px; left: 3px; display: block; content: ''; width: 12px; height: 12px; background-size: cover; pointer-events: none; } #SGpopup1877 .popup-element[data-type='agree'][data-mode='general'].no-selected input[type='checkbox'] + label:after { display: none; } #SGpopup1877 .popup-element[data-type='editor'] p span * { font-size: inherit; line-height: inherit; } #SGpopup1877 .popup-element[data-type='editor'] p span strong { font-weight: bold; } #SGpopup1877 .popup-element[data-type='editor'] ul { padding: 0 0 0 20px; margin: 0; } #SGpopup1877 .popup-element[data-type='textarea'] textarea { width: 100%; max-width: unset; border-width: 1px; border-style: solid; outline: none; resize: none; font-family: inherit; } #SGpopup1877 .popup-element[data-type='textarea'] textarea.error { border-color: red !important; } #SGpopup1877 .popup-element[data-type='select'] select { display: none; } #SGpopup1877 .popup-element[data-type='select'] .nice-select { float: unset; display: flex; align-items: center; } #SGpopup1877 .popup-element[data-type='select'] .nice-select.error { border-color: red !important; } #SGpopup1877 .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); } #SGpopup1877 .popup-element[data-type='select'] .nice-select.open:before { background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEzIDZMOCAxMUwzIDYiIHN0cm9rZT0iIzAyODFFQiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIi8+Cjwvc3ZnPgo=); transform: rotate(180deg); } #SGpopup1877 .popup-element[data-type='select'] .nice-select:after { display: none; } #SGpopup1877 .popup-element[data-type='select'] .nice-select-dropdown{ left: -1px; width: calc(100% + 2px); } #SGpopup1877 .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); } #SGpopup1877 .popup-element[data-type='select'] .nice-select .list { margin: 4px 0; } #SGpopup1877 .popup-element[data-type='select'] .nice-select .option { padding: 8px 16px; font-size: inherit; line-height: 100%; color: inherit; white-space: normal; } #SGpopup1877 .popup-element[data-type='select'] .nice-select .option.selected { font-weight: normal; } #SGpopup1877 .popup-element[data-type='select'] .nice-select .option:not(.disabled):hover, #SGpopup1877 .popup-element[data-type='select'] .nice-select .option.focus, #SGpopup1877 .popup-element[data-type='select'] .nice-select .option.selected.focus { background: transparent; color: #0281eb; } #SGpopup1877 .popup-element[data-type='select'] .nice-select .current { max-width: 100%; overflow: hidden; text-overflow: ellipsis; font-size: inherit; line-height: 100%; } #SGpopup1877 .popup-element[data-type='button-submit'] button, #SGpopup1877 .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; } #SGpopup1877 .popup-element[data-type='button-submit'] button:disabled, #SGpopup1877 .image-wrapper[data-type='submitter'].disabled { cursor: n
175ot-allowed; } #SGpopup1877 .popup-element[data-type='button-submit'] button *, #SGpopup1877 .popup-element[data-type='button-link'] button * { color: inherit; } #SGpopup1877 .popup-element[data-type='button-close'] button { outline: none !important; cursor: pointer; } #SGpopup1877 .popup-element[data-type='button-close'] button svg { display: block; pointer-events: none; } #SGpopup1877 .popup-element[data-type='wheel'] { z-index: 2; overflow: hidden; } #SGpopup1877 .popup-element[data-type='wheel'] .popupElement-content { pointer-events: none; } #SGpopup1877 .popup-element[data-type='wheel'] .wheel-circle { position: relative; z-index: 2; } #SGpopup1877 .popup-element[data-type='wheel'] .wheel-prizes { position: absolute; z-index: 1; top: 0; left: 0; } #SGpopup1877 .popup-element[data-type='wheel'] .wheel-circle img, #SGpopup1877 .popup-element[data-type='wheel'] .wheel-prizes img { display: block; max-width: unset; } #SGpopup1877 iframe.height-auto { height: auto !important; } #SGpopup1877 .popup-element[data-type='getcourse'], #SGpopup1877 .popup-element[data-type='getcourse'] .popupElement-content { display: flex; flex-wrap: wrap; width: 100%; height: 100%; } #SGpopup1877 .popup-element[data-type='getcourse'] [data-id][data-src] { width: 100%; } #SGpopup1877 .popup-element[data-type='getcourse'] iframe { min-height: 100%; } @media (max-width: 1039px) { #SGpopup1877 { padding: 10px 10px 10px 10px; width: 375px; min-height: 755px; max-height: 90vh; font-size: 12px; background-image: url('https://service.leads-gen.ru/upload/453/popups/1877/1790872867.png'); border-radius: 0px; } #SGpopup1877 .popup-element[data-type='input'] .iti__selected-dial-code, #SGpopup1877 .popup-element[data-type='input'] .popupElement-content input { font-size: 19px; } #SGpopup1877 .popup-element[data-type='agree'] .popupElement-content input[type='checkbox']:checked + label { font-size: 10px; } #SGpopup1877 .popup-element[data-ai='email_input'] .popupElement-error { padding: 20px 12px; font-size: 12px; } #SGpopup1877 .popup-element[data-ai='email_input'] .popupElement-error:before { top: -8px; margin-left: -8px; border-width: 0 8px 8px 8px; } #SGpopup1877 .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; } #SGsuccess1877 { padding: 120px 40px 40px 40px; width: 450px; min-width: unset; min-height: 340px; height: auto; max-height: 90vh; overflow: visible; background-image: url('https://service.leads-gen.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; } #SGsuccess1877 p { margin: 20px 0 0 0; padding: 0; line-height: 1.2; } #SGsuccess1877 p:first-child { margin-top: 0; } #SGsuccess1877 button[type='close'] { outline: none !important; cursor: pointer; } #SGsuccess1877 button[type='close'] svg { display: block; pointer-events: none; } #SGsuccess1877 button[data-type='link'], #SGsuccess1877 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) { #SGsuccess1877 { padding: 75px 20px 20px 20px; width: 300px; min-height: 230px; background-image: url('https://service.leads-gen.ru/upload/default/popups/new/bg_mobile.jpg'); background-size: cover; background-position: center top; background-repeat: no-repeat; background-color: transparent; } } </style>
176<style> @import url('https://fonts.googleapis.com/css2?family=Ubuntu:ital,wght@0,400;0,700;1,400;1,700&display=swap'); #SGpopup1878 { padding: 10px 10px 0px 10px; width: 1000px; min-width: unset; min-height: 570px; height: auto; background-image: url('https://service.leads-gen.ru/upload/453/popups/1878/1790872925.png'); background-size: contain; background-repeat: no-repeat; background-color: transparent; border-radius: 10px; overflow: visible; font-family: Ubuntu; font-size: 16px; } #SGpopup1878 * { box-sizing: border-box; line-height: 100%; outline: none !important; } #SGpopup1878 h1, #SGpopup1878 h2, #SGpopup1878 h3 { padding: 0; margin: 0; font-size: unset; font-weight: normal; } #SGpopup1878 p { padding: 0; margin: 0 0 20px 0; text-indent: 0; } #SGpopup1878 p:last-child { margin: 0 !important; } #SGpopup1878 img { margin: 0; display: inline-block; max-width: 100%; height: auto; border-radius: 0; } #SGpopup1878 .popup-area { max-width: 100%; border: 1px dashed transparent; } #SGpopup1878 .popup-area[data-type='area-link'], #SGpopup1878 .popup-area[data-type='area-opener'] { display: inline-block; } #SGpopup1878 .popup-area[data-type='area-container'], #SGpopup1878 .popup-area[data-type='area-link'], #SGpopup1878 .popup-area[data-type='area-opener'] { z-index: 1; } #SGpopup1878 .popup-area[data-type='close-container'] { z-index: 3; } #SGpopup1878 .popup-area[data-type='area-link'], #SGpopup1878 .popup-area[data-type='area-opener'], #SGpopup1878 .image-wrapper[data-type='link'], #SGpopup1878 .image-wrapper[data-type='opener'], #SGpopup1878 .image-wrapper[data-type='submitter'] { cursor: pointer; } #SGpopup1878 .popup-element[data-type='image'], #SGpopup1878 .popup-element[data-type='input-file'] { display: inline-block; } #SGpopup1878 .popup-element[data-type='image'] .popupElement-content .image-wrapper img { object-fit: cover; object-position: center; } #SGpopup1878 .iti { width: 100%; } #SGpopup1878 .popup-element[data-type='input'] .iti__selected-dial-code { font-size: 23px; line-height: 28px; } #SGpopup1878 .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; } #SGpopup1878 .popup-element[data-type='input'] input::placeholder { color: inherit; } #SGpopup1878 .popup-element[data-type='input'] input.error { border-color: red !important; } #SGpopup1878 .popup-element[data-type='input-file']:not(.ui-draggable-dragging) { max-width: 100%; } #SGpopup1878 .popup-element[data-type='input-file'] input[type='file'] { display: none; } #SGpopup1878 .popup-element[data-type='input-file'] label { margin: 0; display: inline-block; width: 100%; cursor: pointer; } #SGpopup1878 .popup-element[data-type='input-file'] label p { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } #SGpopup1878 .popup-element[data-type='agree'] input[type='checkbox'] { display: none; } #SGpopup1878 .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; } #SGpopup1878 .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; } #SGpopup1878 .popup-element[data-type='agree'] input[type='checkbox'] + label.error:before { border-color: red; box-shadow: 0 0 5px red; } #SGpopup1878 .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; pointer-events: none; } #SGpopup1878 .popup-element[data-type='agree'][data-mode='general'].some-selected input[type='checkbox'] + label:after, #SGpopup1878 .popup-element[data-type='agree'][data-mode='general'].all-selected input[type='checkbox'] + label:after { position: absolute; top: 3px; left: 3px; display: block; content: ''; width: 12px; height: 12px; background-size: cover; pointer-events: none; } #SGpopup1878 .popup-element[data-type='agree'][data-mode='general'].no-selected input[type='checkbox'] + label:after { display: none; } #SGpopup1878 .popup-element[data-type='editor'] p span * { font-size: inherit; line-height: inherit; } #SGpopup1878 .popup-element[data-type='editor'] p span strong { font-weight: bold; } #SGpopup1878 .popup-element[data-type='editor'] ul { padding: 0 0 0 20px; margin: 0; } #SGpopup1878 .popup-element[data-type='textarea'] textarea { width: 100%; max-width: unset; border-width: 1px; border-style: solid; outline: none; resize: none; font-family: inherit; } #SGpopup1878 .popup-element[data-type='textarea'] textarea.error { border-color: red !important; } #SGpopup1878 .popup-element[data-type='select'] select { display: none; } #SGpopup1878 .popup-element[data-type='select'] .nice-select { float: unset; display: flex; align-items: center; } #SGpopup1878 .popup-element[data-type='select'] .nice-select.error { border-color: red !important; } #SGpopup1878 .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); } #SGpopup1878 .popup-element[data-type='select'] .nice-select.open:before { background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEzIDZMOCAxMUwzIDYiIHN0cm9rZT0iIzAyODFFQiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIi8+Cjwvc3ZnPgo=); transform: rotate(180deg); } #SGpopup1878 .popup-element[data-type='select'] .nice-select:after { display: none; } #SGpopup1878 .popup-element[data-type='select'] .nice-select-dropdown{ left: -1px; width: calc(100% + 2px); } #SGpopup1878 .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); } #SGpopup1878 .popup-element[data-type='select'] .nice-select .list { margin: 4px 0; } #SGpopup1878 .popup-element[data-type='select'] .nice-select .option { padding: 8px 16px; font-size: inherit; line-height: 100%; color: inherit; white-space: normal; } #SGpopup1878 .popup-element[data-type='select'] .nice-select .option.selected { font-weight: normal; } #SGpopup1878 .popup-element[data-type='select'] .nice-select .option:not(.disabled):hover, #SGpopup1878 .popup-element[data-type='select'] .nice-select .option.focus, #SGpopup1878 .popup-element[data-type='select'] .nice-select .option.selected.focus { background: transparent; color: #0281eb; } #SGpopup1878 .popup-element[data-type='select'] .nice-select .current { max-width: 100%; overflow: hidden; text-overflow: ellipsis; font-size: inherit; line-height: 100%; } #SGpopup1878 .popup-element[data-type='button-submit'] button, #SGpopup1878 .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; } #SGpopup1878 .popup-element[data-type='button-submit'] button:disabled, #SGpopup1878 .image-wrapper[data-type='submitter'].disabled { cursor: n
176ot-allowed; } #SGpopup1878 .popup-element[data-type='button-submit'] button *, #SGpopup1878 .popup-element[data-type='button-link'] button * { color: inherit; } #SGpopup1878 .popup-element[data-type='button-close'] button { outline: none !important; cursor: pointer; } #SGpopup1878 .popup-element[data-type='button-close'] button svg { display: block; pointer-events: none; } #SGpopup1878 .popup-element[data-type='wheel'] { z-index: 2; overflow: hidden; } #SGpopup1878 .popup-element[data-type='wheel'] .popupElement-content { pointer-events: none; } #SGpopup1878 .popup-element[data-type='wheel'] .wheel-circle { position: relative; z-index: 2; } #SGpopup1878 .popup-element[data-type='wheel'] .wheel-prizes { position: absolute; z-index: 1; top: 0; left: 0; } #SGpopup1878 .popup-element[data-type='wheel'] .wheel-circle img, #SGpopup1878 .popup-element[data-type='wheel'] .wheel-prizes img { display: block; max-width: unset; } #SGpopup1878 iframe.height-auto { height: auto !important; } #SGpopup1878 .popup-element[data-type='getcourse'], #SGpopup1878 .popup-element[data-type='getcourse'] .popupElement-content { display: flex; flex-wrap: wrap; width: 100%; height: 100%; } #SGpopup1878 .popup-element[data-type='getcourse'] [data-id][data-src] { width: 100%; } #SGpopup1878 .popup-element[data-type='getcourse'] iframe { min-height: 100%; } @media (max-width: 1039px) { #SGpopup1878 { padding: 10px 10px 10px 10px; width: 375px; min-height: 755px; max-height: 90vh; font-size: 12px; background-image: url('https://service.leads-gen.ru/upload/453/popups/1878/1790872910.png'); border-radius: 0px; } #SGpopup1878 .popup-element[data-type='input'] .iti__selected-dial-code, #SGpopup1878 .popup-element[data-type='input'] .popupElement-content input { font-size: 19px; } #SGpopup1878 .popup-element[data-type='agree'] .popupElement-content input[type='checkbox']:checked + label { font-size: 10px; } #SGpopup1878 .popup-element[data-ai='email_input'] .popupElement-error { padding: 20px 12px; font-size: 12px; } #SGpopup1878 .popup-element[data-ai='email_input'] .popupElement-error:before { top: -8px; margin-left: -8px; border-width: 0 8px 8px 8px; } #SGpopup1878 .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; } #SGsuccess1878 { padding: 120px 40px 40px 40px; width: 450px; min-width: unset; min-height: 340px; height: auto; max-height: 90vh; overflow: visible; background-image: url('https://service.leads-gen.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; } #SGsuccess1878 p { margin: 20px 0 0 0; padding: 0; line-height: 1.2; } #SGsuccess1878 p:first-child { margin-top: 0; } #SGsuccess1878 button[type='close'] { outline: none !important; cursor: pointer; } #SGsuccess1878 button[type='close'] svg { display: block; pointer-events: none; } #SGsuccess1878 button[data-type='link'], #SGsuccess1878 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) { #SGsuccess1878 { padding: 75px 20px 20px 20px; width: 300px; min-height: 230px; background-image: url('https://service.leads-gen.ru/upload/default/popups/new/bg_mobile.jpg'); background-size: cover; background-position: center top; background-repeat: no-repeat; background-color: transparent; } } </style>
177<style> @import url('https://fonts.googleapis.com/css2?family=Ubuntu:ital,wght@0,400;0,700;1,400;1,700&display=swap'); #SGpopup1879 { padding: 10px 10px 0px 10px; width: 1000px; min-width: unset; min-height: 570px; height: auto; background-image: url('https://service.leads-gen.ru/upload/453/popups/1879/1790782189.png'); background-size: contain; background-repeat: no-repeat; background-color: transparent; border-radius: 10px; overflow: visible; font-family: Ubuntu; font-size: 16px; } #SGpopup1879 * { box-sizing: border-box; line-height: 100%; outline: none !important; } #SGpopup1879 h1, #SGpopup1879 h2, #SGpopup1879 h3 { padding: 0; margin: 0; font-size: unset; font-weight: normal; } #SGpopup1879 p { padding: 0; margin: 0 0 20px 0; text-indent: 0; } #SGpopup1879 p:last-child { margin: 0 !important; } #SGpopup1879 img { margin: 0; display: inline-block; max-width: 100%; height: auto; border-radius: 0; } #SGpopup1879 .popup-area { max-width: 100%; border: 1px dashed transparent; } #SGpopup1879 .popup-area[data-type='area-link'], #SGpopup1879 .popup-area[data-type='area-opener'] { display: inline-block; } #SGpopup1879 .popup-area[data-type='area-container'], #SGpopup1879 .popup-area[data-type='area-link'], #SGpopup1879 .popup-area[data-type='area-opener'] { z-index: 1; } #SGpopup1879 .popup-area[data-type='close-container'] { z-index: 3; } #SGpopup1879 .popup-area[data-type='area-link'], #SGpopup1879 .popup-area[data-type='area-opener'], #SGpopup1879 .image-wrapper[data-type='link'], #SGpopup1879 .image-wrapper[data-type='opener'], #SGpopup1879 .image-wrapper[data-type='submitter'] { cursor: pointer; } #SGpopup1879 .popup-element[data-type='image'], #SGpopup1879 .popup-element[data-type='input-file'] { display: inline-block; } #SGpopup1879 .popup-element[data-type='image'] .popupElement-content .image-wrapper img { object-fit: cover; object-position: center; } #SGpopup1879 .iti { width: 100%; } #SGpopup1879 .popup-element[data-type='input'] .iti__selected-dial-code { font-size: 23px; line-height: 28px; } #SGpopup1879 .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; } #SGpopup1879 .popup-element[data-type='input'] input::placeholder { color: inherit; } #SGpopup1879 .popup-element[data-type='input'] input.error { border-color: red !important; } #SGpopup1879 .popup-element[data-type='input-file']:not(.ui-draggable-dragging) { max-width: 100%; } #SGpopup1879 .popup-element[data-type='input-file'] input[type='file'] { display: none; } #SGpopup1879 .popup-element[data-type='input-file'] label { margin: 0; display: inline-block; width: 100%; cursor: pointer; } #SGpopup1879 .popup-element[data-type='input-file'] label p { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } #SGpopup1879 .popup-element[data-type='agree'] input[type='checkbox'] { display: none; } #SGpopup1879 .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; } #SGpopup1879 .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; } #SGpopup1879 .popup-element[data-type='agree'] input[type='checkbox'] + label.error:before { border-color: red; box-shadow: 0 0 5px red; } #SGpopup1879 .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; pointer-events: none; } #SGpopup1879 .popup-element[data-type='agree'][data-mode='general'].some-selected input[type='checkbox'] + label:after, #SGpopup1879 .popup-element[data-type='agree'][data-mode='general'].all-selected input[type='checkbox'] + label:after { position: absolute; top: 3px; left: 3px; display: block; content: ''; width: 12px; height: 12px; background-size: cover; pointer-events: none; } #SGpopup1879 .popup-element[data-type='agree'][data-mode='general'].no-selected input[type='checkbox'] + label:after { display: none; } #SGpopup1879 .popup-element[data-type='editor'] p span * { font-size: inherit; line-height: inherit; } #SGpopup1879 .popup-element[data-type='editor'] p span strong { font-weight: bold; } #SGpopup1879 .popup-element[data-type='editor'] ul { padding: 0 0 0 20px; margin: 0; } #SGpopup1879 .popup-element[data-type='textarea'] textarea { width: 100%; max-width: unset; border-width: 1px; border-style: solid; outline: none; resize: none; font-family: inherit; } #SGpopup1879 .popup-element[data-type='textarea'] textarea.error { border-color: red !important; } #SGpopup1879 .popup-element[data-type='select'] select { display: none; } #SGpopup1879 .popup-element[data-type='select'] .nice-select { float: unset; display: flex; align-items: center; } #SGpopup1879 .popup-element[data-type='select'] .nice-select.error { border-color: red !important; } #SGpopup1879 .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); } #SGpopup1879 .popup-element[data-type='select'] .nice-select.open:before { background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEzIDZMOCAxMUwzIDYiIHN0cm9rZT0iIzAyODFFQiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIi8+Cjwvc3ZnPgo=); transform: rotate(180deg); } #SGpopup1879 .popup-element[data-type='select'] .nice-select:after { display: none; } #SGpopup1879 .popup-element[data-type='select'] .nice-select-dropdown{ left: -1px; width: calc(100% + 2px); } #SGpopup1879 .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); } #SGpopup1879 .popup-element[data-type='select'] .nice-select .list { margin: 4px 0; } #SGpopup1879 .popup-element[data-type='select'] .nice-select .option { padding: 8px 16px; font-size: inherit; line-height: 100%; color: inherit; white-space: normal; } #SGpopup1879 .popup-element[data-type='select'] .nice-select .option.selected { font-weight: normal; } #SGpopup1879 .popup-element[data-type='select'] .nice-select .option:not(.disabled):hover, #SGpopup1879 .popup-element[data-type='select'] .nice-select .option.focus, #SGpopup1879 .popup-element[data-type='select'] .nice-select .option.selected.focus { background: transparent; color: #0281eb; } #SGpopup1879 .popup-element[data-type='select'] .nice-select .current { max-width: 100%; overflow: hidden; text-overflow: ellipsis; font-size: inherit; line-height: 100%; } #SGpopup1879 .popup-element[data-type='button-submit'] button, #SGpopup1879 .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; } #SGpopup1879 .popup-element[data-type='button-submit'] button:disabled, #SGpopup1879 .image-wrapper[data-type='submitter'].disabled { cursor: n
177ot-allowed; } #SGpopup1879 .popup-element[data-type='button-submit'] button *, #SGpopup1879 .popup-element[data-type='button-link'] button * { color: inherit; } #SGpopup1879 .popup-element[data-type='button-close'] button { outline: none !important; cursor: pointer; } #SGpopup1879 .popup-element[data-type='button-close'] button svg { display: block; pointer-events: none; } #SGpopup1879 .popup-element[data-type='wheel'] { z-index: 2; overflow: hidden; } #SGpopup1879 .popup-element[data-type='wheel'] .popupElement-content { pointer-events: none; } #SGpopup1879 .popup-element[data-type='wheel'] .wheel-circle { position: relative; z-index: 2; } #SGpopup1879 .popup-element[data-type='wheel'] .wheel-prizes { position: absolute; z-index: 1; top: 0; left: 0; } #SGpopup1879 .popup-element[data-type='wheel'] .wheel-circle img, #SGpopup1879 .popup-element[data-type='wheel'] .wheel-prizes img { display: block; max-width: unset; } #SGpopup1879 iframe.height-auto { height: auto !important; } #SGpopup1879 .popup-element[data-type='getcourse'], #SGpopup1879 .popup-element[data-type='getcourse'] .popupElement-content { display: flex; flex-wrap: wrap; width: 100%; height: 100%; } #SGpopup1879 .popup-element[data-type='getcourse'] [data-id][data-src] { width: 100%; } #SGpopup1879 .popup-element[data-type='getcourse'] iframe { min-height: 100%; } @media (max-width: 1039px) { #SGpopup1879 { padding: 10px 10px 10px 10px; width: 360px; min-height: 640px; max-height: 90vh; font-size: 12px; background-image: url('https://service.leads-gen.ru/upload/453/popups/1879/1790782500.png'); border-radius: 10px; } #SGpopup1879 .popup-element[data-type='input'] .iti__selected-dial-code, #SGpopup1879 .popup-element[data-type='input'] .popupElement-content input { font-size: 19px; } #SGpopup1879 .popup-element[data-type='agree'] .popupElement-content input[type='checkbox']:checked + label { font-size: 10px; } #SGpopup1879 .popup-element[data-ai='email_input'] .popupElement-error { padding: 20px 12px; font-size: 12px; } #SGpopup1879 .popup-element[data-ai='email_input'] .popupElement-error:before { top: -8px; margin-left: -8px; border-width: 0 8px 8px 8px; } #SGpopup1879 .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; } #SGsuccess1879 { padding: 120px 40px 40px 40px; width: 450px; min-width: unset; min-height: 340px; height: auto; max-height: 90vh; overflow: visible; background-image: url('https://service.leads-gen.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; } #SGsuccess1879 p { margin: 20px 0 0 0; padding: 0; line-height: 1.2; } #SGsuccess1879 p:first-child { margin-top: 0; } #SGsuccess1879 button[type='close'] { outline: none !important; cursor: pointer; } #SGsuccess1879 button[type='close'] svg { display: block; pointer-events: none; } #SGsuccess1879 button[data-type='link'], #SGsuccess1879 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) { #SGsuccess1879 { padding: 75px 20px 20px 20px; width: 300px; min-height: 230px; background-image: url('https://service.leads-gen.ru/upload/default/popups/new/bg_mobile.jpg'); background-size: cover; background-position: center top; background-repeat: no-repeat; background-color: transparent; } } </style>
178<style> @import url('https://fonts.googleapis.com/css2?family=Ubuntu:ital,wght@0,400;0,700;1,400;1,700&display=swap'); #SGpopup1882 { padding: 10px 10px 0px 10px; width: 1266px; min-width: unset; min-height: 650px; height: auto; background-image: url('https://service.leads-gen.ru/upload/453/popups/1882/1790799357.png'); background-size: contain; background-repeat: no-repeat; background-color: transparent; border-radius: 10px; overflow: visible; font-family: Ubuntu; font-size: 16px; } #SGpopup1882 * { box-sizing: border-box; line-height: 100%; outline: none !important; } #SGpopup1882 h1, #SGpopup1882 h2, #SGpopup1882 h3 { padding: 0; margin: 0; font-size: unset; font-weight: normal; } #SGpopup1882 p { padding: 0; margin: 0 0 20px 0; text-indent: 0; } #SGpopup1882 p:last-child { margin: 0 !important; } #SGpopup1882 img { margin: 0; display: inline-block; max-width: 100%; height: auto; border-radius: 0; } #SGpopup1882 .popup-area { max-width: 100%; border: 1px dashed transparent; } #SGpopup1882 .popup-area[data-type='area-link'], #SGpopup1882 .popup-area[data-type='area-opener'] { display: inline-block; } #SGpopup1882 .popup-area[data-type='area-container'], #SGpopup1882 .popup-area[data-type='area-link'], #SGpopup1882 .popup-area[data-type='area-opener'] { z-index: 1; } #SGpopup1882 .popup-area[data-type='close-container'] { z-index: 3; } #SGpopup1882 .popup-area[data-type='area-link'], #SGpopup1882 .popup-area[data-type='area-opener'], #SGpopup1882 .image-wrapper[data-type='link'], #SGpopup1882 .image-wrapper[data-type='opener'], #SGpopup1882 .image-wrapper[data-type='submitter'] { cursor: pointer; } #SGpopup1882 .popup-element[data-type='image'], #SGpopup1882 .popup-element[data-type='input-file'] { display: inline-block; } #SGpopup1882 .popup-element[data-type='image'] .popupElement-content .image-wrapper img { object-fit: cover; object-position: center; } #SGpopup1882 .iti { width: 100%; } #SGpopup1882 .popup-element[data-type='input'] .iti__selected-dial-code { font-size: 23px; line-height: 28px; } #SGpopup1882 .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; } #SGpopup1882 .popup-element[data-type='input'] input::placeholder { color: inherit; } #SGpopup1882 .popup-element[data-type='input'] input.error { border-color: red !important; } #SGpopup1882 .popup-element[data-type='input-file']:not(.ui-draggable-dragging) { max-width: 100%; } #SGpopup1882 .popup-element[data-type='input-file'] input[type='file'] { display: none; } #SGpopup1882 .popup-element[data-type='input-file'] label { margin: 0; display: inline-block; width: 100%; cursor: pointer; } #SGpopup1882 .popup-element[data-type='input-file'] label p { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } #SGpopup1882 .popup-element[data-type='agree'] input[type='checkbox'] { display: none; } #SGpopup1882 .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; } #SGpopup1882 .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; } #SGpopup1882 .popup-element[data-type='agree'] input[type='checkbox'] + label.error:before { border-color: red; box-shadow: 0 0 5px red; } #SGpopup1882 .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; pointer-events: none; } #SGpopup1882 .popup-element[data-type='agree'][data-mode='general'].some-selected input[type='checkbox'] + label:after, #SGpopup1882 .popup-element[data-type='agree'][data-mode='general'].all-selected input[type='checkbox'] + label:after { position: absolute; top: 3px; left: 3px; display: block; content: ''; width: 12px; height: 12px; background-size: cover; pointer-events: none; } #SGpopup1882 .popup-element[data-type='agree'][data-mode='general'].no-selected input[type='checkbox'] + label:after { display: none; } #SGpopup1882 .popup-element[data-type='editor'] p span * { font-size: inherit; line-height: inherit; } #SGpopup1882 .popup-element[data-type='editor'] p span strong { font-weight: bold; } #SGpopup1882 .popup-element[data-type='editor'] ul { padding: 0 0 0 20px; margin: 0; } #SGpopup1882 .popup-element[data-type='textarea'] textarea { width: 100%; max-width: unset; border-width: 1px; border-style: solid; outline: none; resize: none; font-family: inherit; } #SGpopup1882 .popup-element[data-type='textarea'] textarea.error { border-color: red !important; } #SGpopup1882 .popup-element[data-type='select'] select { display: none; } #SGpopup1882 .popup-element[data-type='select'] .nice-select { float: unset; display: flex; align-items: center; } #SGpopup1882 .popup-element[data-type='select'] .nice-select.error { border-color: red !important; } #SGpopup1882 .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); } #SGpopup1882 .popup-element[data-type='select'] .nice-select.open:before { background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEzIDZMOCAxMUwzIDYiIHN0cm9rZT0iIzAyODFFQiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIi8+Cjwvc3ZnPgo=); transform: rotate(180deg); } #SGpopup1882 .popup-element[data-type='select'] .nice-select:after { display: none; } #SGpopup1882 .popup-element[data-type='select'] .nice-select-dropdown{ left: -1px; width: calc(100% + 2px); } #SGpopup1882 .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); } #SGpopup1882 .popup-element[data-type='select'] .nice-select .list { margin: 4px 0; } #SGpopup1882 .popup-element[data-type='select'] .nice-select .option { padding: 8px 16px; font-size: inherit; line-height: 100%; color: inherit; white-space: normal; } #SGpopup1882 .popup-element[data-type='select'] .nice-select .option.selected { font-weight: normal; } #SGpopup1882 .popup-element[data-type='select'] .nice-select .option:not(.disabled):hover, #SGpopup1882 .popup-element[data-type='select'] .nice-select .option.focus, #SGpopup1882 .popup-element[data-type='select'] .nice-select .option.selected.focus { background: transparent; color: #0281eb; } #SGpopup1882 .popup-element[data-type='select'] .nice-select .current { max-width: 100%; overflow: hidden; text-overflow: ellipsis; font-size: inherit; line-height: 100%; } #SGpopup1882 .popup-element[data-type='button-submit'] button, #SGpopup1882 .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; } #SGpopup1882 .popup-element[data-type='button-submit'] button:disabled, #SGpopup1882 .image-wrapper[data-type='submitter'].disabled { cursor: n
178ot-allowed; } #SGpopup1882 .popup-element[data-type='button-submit'] button *, #SGpopup1882 .popup-element[data-type='button-link'] button * { color: inherit; } #SGpopup1882 .popup-element[data-type='button-close'] button { outline: none !important; cursor: pointer; } #SGpopup1882 .popup-element[data-type='button-close'] button svg { display: block; pointer-events: none; } #SGpopup1882 .popup-element[data-type='wheel'] { z-index: 2; overflow: hidden; } #SGpopup1882 .popup-element[data-type='wheel'] .popupElement-content { pointer-events: none; } #SGpopup1882 .popup-element[data-type='wheel'] .wheel-circle { position: relative; z-index: 2; } #SGpopup1882 .popup-element[data-type='wheel'] .wheel-prizes { position: absolute; z-index: 1; top: 0; left: 0; } #SGpopup1882 .popup-element[data-type='wheel'] .wheel-circle img, #SGpopup1882 .popup-element[data-type='wheel'] .wheel-prizes img { display: block; max-width: unset; } #SGpopup1882 iframe.height-auto { height: auto !important; } #SGpopup1882 .popup-element[data-type='getcourse'], #SGpopup1882 .popup-element[data-type='getcourse'] .popupElement-content { display: flex; flex-wrap: wrap; width: 100%; height: 100%; } #SGpopup1882 .popup-element[data-type='getcourse'] [data-id][data-src] { width: 100%; } #SGpopup1882 .popup-element[data-type='getcourse'] iframe { min-height: 100%; } @media (max-width: 1039px) { #SGpopup1882 { padding: 10px 10px 10px 10px; width: 365px; min-height: 782px; max-height: 90vh; font-size: 12px; background-image: url('https://service.leads-gen.ru/upload/453/popups/1882/1790801953.png'); border-radius: 10px; } #SGpopup1882 .popup-element[data-type='input'] .iti__selected-dial-code, #SGpopup1882 .popup-element[data-type='input'] .popupElement-content input { font-size: 19px; } #SGpopup1882 .popup-element[data-type='agree'] .popupElement-content input[type='checkbox']:checked + label { font-size: 10px; } #SGpopup1882 .popup-element[data-ai='email_input'] .popupElement-error { padding: 20px 12px; font-size: 12px; } #SGpopup1882 .popup-element[data-ai='email_input'] .popupElement-error:before { top: -8px; margin-left: -8px; border-width: 0 8px 8px 8px; } #SGpopup1882 .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; } #SGsuccess1882 { padding: 0px 0px 0px 0px; width: 1222px; min-width: unset; min-height: 691px; height: auto; max-height: 90vh; overflow: visible; background-image: url('https://service.leads-gen.ru/upload/453/popups/1882/1790801172.png'); background-size: cover; background-position: center top; background-repeat: no-repeat; background-color: transparent; border-radius: 0px; font-family: Montserrat; } #SGsuccess1882 p { margin: 20px 0 0 0; padding: 0; line-height: 1.2; } #SGsuccess1882 p:first-child { margin-top: 0; } #SGsuccess1882 button[type='close'] { outline: none !important; cursor: pointer; } #SGsuccess1882 button[type='close'] svg { display: block; pointer-events: none; } #SGsuccess1882 button[data-type='link'], #SGsuccess1882 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) { #SGsuccess1882 { padding: 0px 0px 0px 0px; width: 360px; min-height: 782px; background-image: url('https://service.leads-gen.ru/upload/453/popups/1882/1790801121.png'); background-size: cover; background-position: center top; background-repeat: no-repeat; background-color: transparent; } } </style>
179<style> @import url('https://fonts.googleapis.com/css2?family=Ubuntu:ital,wght@0,400;0,700;1,400;1,700&display=swap'); #SGpopup1883 { padding: 10px 10px 0px 10px; width: 1000px; min-width: unset; min-height: 570px; height: auto; background-image: url('https://service.leads-gen.ru/upload/453/popups/1883/1790840704.png'); background-size: contain; background-repeat: no-repeat; background-color: transparent; border-radius: 10px; overflow: visible; font-family: Ubuntu; font-size: 16px; } #SGpopup1883 * { box-sizing: border-box; line-height: 100%; outline: none !important; } #SGpopup1883 h1, #SGpopup1883 h2, #SGpopup1883 h3 { padding: 0; margin: 0; font-size: unset; font-weight: normal; } #SGpopup1883 p { padding: 0; margin: 0 0 20px 0; text-indent: 0; } #SGpopup1883 p:last-child { margin: 0 !important; } #SGpopup1883 img { margin: 0; display: inline-block; max-width: 100%; height: auto; border-radius: 0; } #SGpopup1883 .popup-area { max-width: 100%; border: 1px dashed transparent; } #SGpopup1883 .popup-area[data-type='area-link'], #SGpopup1883 .popup-area[data-type='area-opener'] { display: inline-block; } #SGpopup1883 .popup-area[data-type='area-container'], #SGpopup1883 .popup-area[data-type='area-link'], #SGpopup1883 .popup-area[data-type='area-opener'] { z-index: 1; } #SGpopup1883 .popup-area[data-type='close-container'] { z-index: 3; } #SGpopup1883 .popup-area[data-type='area-link'], #SGpopup1883 .popup-area[data-type='area-opener'], #SGpopup1883 .
179image-wrapper[data-type='link'], #SGpopup1883 .image-wrapper[data-type='opener'], #SGpopup1883 .image-wrapper[data-type='submitter'] { cursor: pointer; } #SGpopup1883 .popup-element[data-type='image'], #SGpopup1883 .popup-element[data-type='input-file'] { display: inline-block; } #SGpopup1883 .popup-element[data-type='image'] .popupElement-content .image-wrapper img { object-fit: cover; object-position: center; } #SGpopup1883 .iti { width: 100%; } #SGpopup1883 .popup-element[data-type='input'] .iti__selected-dial-code { font-size: 23px; line-height: 28px; } #SGpopup1883 .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; } #SGpopup1883 .popup-element[data-type='input'] input::placeholder { color: inherit; } #SGpopup1883 .popup-element[data-type='input'] input.error { border-color: red !important; } #SGpopup1883 .popup-element[data-type='input-file']:not(.ui-draggable-dragging) { max-width: 100%; } #SGpopup1883 .popup-element[data-type='input-file'] input[type='file'] { display: none; } #SGpopup1883 .popup-element[data-type='input-file'] label { margin: 0; display: inline-block; width: 100%; cursor: pointer; } #SGpopup1883 .popup-element[data-type='input-file'] label p { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } #SGpopup1883 .popup-element[data-type='agree'] input[type='checkbox'] { display: none; } #SGpopup1883 .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; } #SGpopup1883 .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; } #SGpopup1883 .popup-element[data-type='agree'] input[type='checkbox'] + label.error:before { border-color: red; box-shadow: 0 0 5px red; } #SGpopup1883 .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; pointer-events: none; } #SGpopup1883 .popup-element[data-type='agree'][data-mode='general'].some-selected input[type='checkbox'] + label:after, #SGpopup1883 .popup-element[data-type='agree'][data-mode='general'].all-selected input[type='checkbox'] + label:after { position: absolute; top: 3px; left: 3px; display: block; content: ''; width: 12px; height: 12px; background-size: cover; pointer-events: none; } #SGpopup1883 .popup-element[data-type='agree'][data-mode='general'].no-selected input[type='checkbox'] + label:after { display: none; } #SGpopup1883 .popup-element[data-type='editor'] p span * { font-size: inherit; line-height: inherit; } #SGpopup1883 .popup-element[data-type='editor'] p span strong { font-weight: bold; } #SGpopup1883 .popup-element[data-type='editor'] ul { padding: 0 0 0 20px; margin: 0; } #SGpopup1883 .popup-element[data-type='textarea'] textarea { width: 100%; max-width: unset; border-width: 1px; border-style: solid; outline: none; resize: none; font-family: inherit; } #SGpopup1883 .popup-element[data-type='textarea'] textarea.error { border-color: red !important; } #SGpopup1883 .popup-element[data-type='select'] select { display: none; } #SGpopup1883 .popup-element[data-type='select'] .nice-select { float: unset; display: flex; align-items: center; } #SGpopup1883 .popup-element[data-type='select'] .nice-select.error { border-color: red !important; } #SGpopup1883 .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); } #SGpopup1883 .popup-element[data-type='select'] .nice-select.open:before { background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEzIDZMOCAxMUwzIDYiIHN0cm9rZT0iIzAyODFFQiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIi8+Cjwvc3ZnPgo=); transform: rotate(180deg); } #SGpopup1883 .popup-element[data-type='select'] .nice-select:after { display: none; } #SGpopup1883 .popup-element[data-type='select'] .nice-select-dropdown{ left: -1px; width: calc(100% + 2px); } #SGpopup1883 .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); } #SGpopup1883 .popup-element[data-type='select'] .nice-select .list { margin: 4px 0; } #SGpopup1883 .popup-element[data-type='select'] .nice-select .option { padding: 8px 16px; font-size: inherit; line-height: 100%; color: inherit; white-space: normal; } #SGpopup1883 .popup-element[data-type='select'] .nice-select .option.selected { font-weight: normal; } #SGpopup1883 .popup-element[data-type='select'] .nice-select .option:not(.disabled):hover, #SGpopup1883 .popup-element[data-type='select'] .nice-select .option.focus, #SGpopup1883 .popup-element[data-type='select'] .nice-select .option.selected.focus { background: transparent; color: #0281eb; } #SGpopup1883 .popup-element[data-type='select'] .nice-select .current { max-width: 100%; overflow: hidden; text-overflow: ellipsis; font-size: inherit; line-height: 100%; } #SGpopup1883 .popup-element[data-type='button-submit'] button, #SGpopup1883 .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; } #SGpopup1883 .popup-element[data-type='button-submit'] button:disabled, #SGpopup1883 .
179image-wrapper[data-type='submitter'].disabled { cursor: not-allowed; } #SGpopup1883 .popup-element[data-type='button-submit'] button *, #SGpopup1883 .popup-element[data-type='button-link'] button * { color: inherit; } #SGpopup1883 .popup-element[data-type='button-close'] button { outline: none !important; cursor: pointer; } #SGpopup1883 .popup-element[data-type='button-close'] button svg { display: block; pointer-events: none; } #SGpopup1883 .popup-element[data-type='wheel'] { z-index: 2; overflow: hidden; } #SGpopup1883 .popup-element[data-type='wheel'] .popupElement-content { pointer-events: none; } #SGpopup1883 .popup-element[data-type='wheel'] .wheel-circle { position: relative; z-index: 2; } #SGpopup1883 .popup-element[data-type='wheel'] .wheel-prizes { position: absolute; z-index: 1; top: 0; left: 0; } #SGpopup1883 .popup-element[data-type='wheel'] .wheel-circle img, #SGpopup1883 .popup-element[data-type='wheel'] .wheel-prizes img { display: block; max-width: unset; } #SGpopup1883 iframe.height-auto { height: auto !important; } #SGpopup1883 .popup-element[data-type='getcourse'], #SGpopup1883 .popup-element[data-type='getcourse'] .popupElement-content { display: flex; flex-wrap: wrap; width: 100%; height: 100%; } #SGpopup1883 .popup-element[data-type='getcourse'] [data-id][data-src] { width: 100%; } #SGpopup1883 .popup-element[data-type='getcourse'] iframe { min-height: 100%; } @media (max-width: 1039px) { #SGpopup1883 { padding: 10px 10px 10px 10px; width: 360px; min-height: 640px; max-height: 90vh; font-size: 12px; background-image: url('https://service.leads-gen.ru/upload/453/popups/1883/1790840881.png'); border-radius: 10px; } #SGpopup1883 .popup-element[data-type='input'] .iti__selected-dial-code, #SGpopup1883 .popup-element[data-type='input'] .popupElement-content input { font-size: 19px; } #SGpopup1883 .popup-element[data-type='agree'] .popupElement-content input[type='checkbox']:checked + label { font-size: 10px; } #SGpopup1883 .popup-element[data-ai='email_input'] .popupElement-error { padding: 20px 12px; font-size: 12px; } #SGpopup1883 .popup-element[data-ai='email_input'] .popupElement-error:before { top: -8px; margin-left: -8px; border-width: 0 8px 8px 8px; } #SGpopup1883 .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; } #SGsuccess1883 { padding: 120px 40px 40px 40px; width: 450px; min-width: unset; min-height: 340px; height: auto; max-height: 90vh; overflow: visible; background-image: url('https://service.leads-gen.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; } #SGsuccess1883 p { margin: 20px 0 0 0; padding: 0; line-height: 1.2; } #SGsuccess1883 p:first-child { margin-top: 0; } #SGsuccess1883 button[type='close'] { outline: none !important; cursor: pointer; } #SGsuccess1883 button[type='close'] svg { display: block; pointer-events: none; } #SGsuccess1883 button[data-type='link'], #SGsuccess1883 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) { #SGsuccess1883 { padding: 75px 20px 20px 20px; width: 300px; min-height: 230px; background-image: url('https://service.leads-gen.ru/upload/default/popups/new/bg_mobile.jpg'); background-size: cover; background-position: center top; background-repeat: no-repeat; background-color: transparent; } } </style>
180<style>@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,400;0,700;1,400;1,700&display=swap');#sgWidget235 .widget-wrapper {display: flex;background-size: contain;background-repeat: no-repeat;font-family: 'Montserrat';cursor: pointer;}@media(max-width: 639px) {#sgWidget235 .widget-wrapper[data-step='desktop'] {display: none}}@media(min-width: 640px) {#sgWidget235 .widget-wrapper[data-step='mobile'] {display: none}}body:not(.sgWidget235) #sgWidget235 .widget-wrapper {display: none;}#sgWidget235 .widget-element[data-type='button-close'] button,#sgWidget235 .widget-element[data-type='button-link'] button {display: block;font-family: inherit;cursor: pointer;}#sgWidget235 .widget-element[data-type='button-close'] button {outline: none;}#sgWidget235 .widget-element[data-type='button-close'] button svg {display: block;pointer-events: none;}#sgWidget235 .image-wrapper img {display: block;max-width: 100%;}#sgWidget235 p {padding: 0;margin: 0 0 20px 0;font-size: 14px;font-weight: 400;line-height: 120%;text-align: left;}#sgWidget235 p:last-child {margin: 0 !important;}#sgWidget235 p span strong {font-size: inherit;line-height: inherit;}</style>
181<style>.sgElementCatcher {position: fixed;z-index: 2147483248;top: 200px;right: 20px;padding: 10px 20px;display: flex;align-items: center;justify-content: center;background-color: white;border: 3px solid black;border-radius: 20px;color: black;cursor: pointer;}body.catcher-active .sgElementCatcher,.sgElementCatcher:hover {background-color: black;border-color: white;color: white;}body.catcher-active *:not(.sgElementCatcher):hover {border: 1px solid red;}</style>
182</head>
183
184
185<body class="home wp-singular page-template page-template-page-home page-template-page-home-php page page-id-10 wp-embed-responsive wp-theme-reboot wp-child-theme-reboot_child sidebar-right">
186
187
188
189<div id="page" class="site">
190    <a class="skip-link screen-reader-text" href="#content">
190Перейти к содержанию</a>
191
192    <div class="search-screen-overlay js-search-screen-overlay"></div>
193    <div class="search-screen js-search-screen">
194        
195<form role="search" method="get" class="search-form" action="https://psy-muip.ru/">
196    <label>
197        <span class="screen-reader-text"><!--noindex-->Search for:<!--/noindex--></span>
198        <input type="search" class="search-field" placeholder="Поиск…" value="" name="s">
199    </label>
200    <button type="submit" class="search-submit"></button>
201</form>    </div>
202
203    
204
205    <header id="new_header">
206        <div class="header-tr-mobile">
207            <div class="header-logo">
208                                <img src="/wp-content/themes/reboot_child/assets/images/header-mobile-logo.svg" alt="logo">
209                <div class="header-logo-text-mob">
210                    МЕЖДУНАРОДНЫЙ УНИВЕРСИТЕТ <br>
211                    ИНТЕГРАТИВНОЙ ПСИХОЛОГИИ
212                </div>
213            </div>
214            <div class="header-mobile-menu-btn">
215                <svg width="25" height="15" viewBox="0 0 25 15" fill="none" xmlns="http://www.w3.org/2000/svg">
216                    <line y1="0.5" x2="25" y2="0.5" stroke="white"/>
217                    <line y1="7.5" x2="25" y2="7.5" stroke="white"/>
218                    <line y1="14.5" x2="25" y2="14.5" stroke="white"/>
219                </svg>
220                <svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
221                    <path fill-rule="evenodd" clip-rule="evenodd" d="M8.88707 10L0 1.11293L1.11293 0L10 8.88707L18.8871 0L20 1.11293L11.1129 10L20 18.8871L18.8871 20L10 11.1129L1.11293 20L0 18.8871L8.88707 10Z" fill="white"/>
222                </svg>
223            </div>
224        </div>
225
226        <div class="header-tr">
227            <div class="header-logo">
228                                <div class="header-logo-wr">
229                    <div class="header-logo-img">
230                        <svg width="52" height="52" viewBox="0 0 52 52" fill="none" xmlns="http://www.w3.org/2000/svg">
230<mask id="mask0_10002_436" style="mask-type:luminance" maskUnits="userSpaceOnUse" x="10" y="10" width="31" height="34"><path d="M40.8755 10.7334H10.0508V43.6081H40.8755V10.7334Z" fill="white"/></mask><g mask="url(#mask0_10002_436)"><path d="M16.3448 12.7778C14.5062 15.6571 16.9279 18.9509 16.9279 18.9509L18.3658 17.5598C18.3658 17.5598 16.81 15.6603 17.9191 14.054C19.0282 12.4476 23.1527 12.8927 23.1527 12.8927L24.8525 11.0733C24.8525 11.0733 18.3719 9.60322 16.3448 12.7778Z" fill="#0A756F"/><path d="M25.5396 11.2323L27.694 13.4044C27.694 13.4044 28.5396 13.6396 30.3967 14.4833C32.2143 15.309 35.6998 17.8099 37.9194 16.1687C40.0296 14.6083 39.5759 13.6802 37.8549 13.03C36.1338 12.3797 32.6534 13.5272 30.7793 12.7622C28.9053 11.9973 25.5396 11.2323 25.5396 11.2323Z" fill="#0A756F"/><path d="M24.8511 11.0793L25.5395 11.2323L25.157 10.8116L24.8511 11.0793Z" fill="#0A756F"/><path d="M22.2122 38.5021L23.5317 39.745C23.5317 39.745 19.8983 41.3514 19.0952 43.6079C19.0952 43.6081 18.6553 40.3379 22.2122 38.5021Z" fill="#0A756F"/><path d="M27.6239 38.8655C27.6239 38.8655 26.5721 38.9228 25.2621 39.2687L25.2593 41.2301L27.6239 38.8655Z" fill="#0A756F"/><path d="M23.5315 39.7452L25.0601 41.2028L25.0629 39.3097C24.4187 39.4452 23.8268 39.5974 23.5315 39.7452Z" fill="#0A756F"/><path d="M40.1305 26.3971L38.0079 28.3668C38.0079 28.3668 39.3296 32.6335 37.7402 34.9452C36.0574 37.393 29.1539 37.2974 29.1539 37.2974L27.624 38.8655C27.624 38.8655 29.6702 39.2289 33.1697 38.8655C36.6993 38.4991 38.9909 37.2953 40.3601 34.0465C41.6413 31.0059 40.1305 26.3971 40.1305 26.3971Z" fill="#0A756F"/><path opacity="0.99" d="M36.4546 26.1531L34.0194 26.1607L34.0189 26.0029L36.3316 25.9956C35.6321 25.1068 34.8124 24.2871 33.9154 23.5475C33.4406 23.156 32.666 22.733 31.7812 22.5478L31.1999 23.1267L31.0469 22.9737L31.5538 22.5026C28.3675 21.9029 23.6659 22.2438 21.945 22.0454C19.6863 21.785 16.9276 18.9506 16.9276 18.9506L10.0508 25.9943L16.5124 26.0057L16.5132 26.188
2306L10.1522 26.1775L22.2121 38.5021C22.9388 38.0814 23.8289 37.7579 25.0653 37.5857L25.0734 31.8295L25.2727 31.8282L25.2646 37.5592C27.1433 37.3168 29.1347 37.3166 29.1347 37.3166L38.0078 28.3669C38.008 28.3667 37.5489 27.3723 36.4546 26.1531ZM17.08 20.9671L19.0502 22.9819L18.9114 23.1175L16.9411 21.1028L17.08 20.9671ZM17.1281 31.1803L17.0155 31.0697L18.9672 29.083L19.0797 29.1937L17.1281 31.1803ZM20.2611 34.3535L20.0823 34.2372L22.1337 31.0828L22.3124 31.1991L20.2611 34.3535ZM30.6228 34.3546L28.5748 31.1979L28.7537 31.0818L30.8017 34.2385L30.6228 34.3546ZM33.8084 31.1791L31.8539 29.1951L31.9665 29.0843L33.9207 31.0683L33.8084 31.1791Z" fill="#0A756F"/><path d="M30.2282 18.0351L29.2009 20.0119C33.7774 20.2961 35.694 21.4249 35.694 21.4249L27.777 13.4313C26.9297 13.1489 25.9987 13.0082 25.1953 12.9402V19.8882C26.1558 19.9141 27.2158 19.9279 28.3889 19.9714C28.5949 19.9791 28.7955 19.9886 28.9919 19.9994L30.0625 17.9393C30.1169 17.9709 30.1722 18.0026 30.2282 18.0351Z" fill="#0A756F"/><path d="M25.0041 12.9254C23.9437 12.8486 23.1492 12.8961 23.1492 12.8961L18.3684 17.5622C19.0484 18.5058 19.8747 19.0567 20.898 19.3848L20.157 17.9588C20.2129 17.9263 20.2683 17.8945 20.3228 17.8633L21.153 19.461C22.2155 19.7555 23.4817 19.8387 25.004 19.8832V12.9254H25.0041Z" fill="#0A756F"/><path opacity="0.99" d="M27.2605 30.6998C27.2605 30.6998 25.3481 29.017 25.5777 27.9078C25.8072 26.7987 28.6567 27.2768 28.7714 27.9269C28.8861 28.5771 28.5419 29.495 27.5857 29.2273C26.6296 28.9596 25.8647 27.5445 24.1053 28.3476C22.346 29.1509 22.0782 27.8505 22.0782 27.5826C22.0782 27.3149 22.0399 26.5499 23.914 25.8616C25.7881 25.1733 25.9029 25.9764 26.553 25.5174C27.2033 25.0585 27.5092 23.7198 26.247 24.1788C24.9849 24.6377 24.6024 26.9326 24.0671 27.3915C23.5315 27.8505 22.9196 27.6975 23.1109 27.0855C23.3021 26.4735 24.7172 26.0528 26.0178 26.2822C27.3182 26.5117 29.154 27.4678 29.4217 27.2766C29.6895 27.0855 29.8425 26.6264 29.3453 25.5555C28.8481 24.4847 27.7389 25.3261 28.0832 25.8998C28.4273 26.4734 28.9246 26.3586 28.8098 25.632C28.6951 24.9054 28.542 24.1021 27.3946 23.5284C26.2472 22.9548 24.9086 23.0695 24.5644 23.8726C24.2202 24.6759 24.9086 24.7906 25.0616 24.7523C25.2147 24.714 25.7499 24.5611 25.4058 23.8343C25.0616 23.1077 24.2584 22.9164 23.8377 23.4136C23.417 23.9108 22.9963 25.2493 23.6083 25.4407C24.2202 25.632 23.8377 24.4846 23.6847 24.2168C23.5317 23.9491 23.1875 23.7579 23.417 23.5666C23.6464 23.3754 23.6847 23.1841 22.7286 23.5666C21.7725 23.9491 21.7342 24.408 21.7725 24.6374C21.8108 24.8669 21.9636 26.3585 22.8433 25.7466C23.723 25.1346 21.9253 24.4461 21.5047 24.6757C21.084 24.9052 20.4339 25.5937 20.9311 26.3585C21.4283 27.1233 22.2315 27.0087 22.2697 26.435C22.3078 25.8611 21.1606 25.4788 20.8928 26.588C20.625 27.6971 21.7342 28.3857 21.7342 28.3857" stroke="white" stroke-width="1.06768" stroke-miterlimit="10"/></g><path d="M5.50146 25.7554C5.43542 25.7778 5.36791 25.806 5.29893 25.8398C5.2271 25.8708 5.13371 25.9131 5.01875 25.9667L3.39788 26.7282L3.39782 26.7368L5.0297 26.826C5.12705 26.8296 5.20598 26.8073 5.26647 26.759C5.3241 26.7108 5.35625 26.6222 5.36292 26.4934L5.46172 26.4941L5.45595 27.2888L5.35714 27.2881C5.35202 27.205 5.32094 27.1461 5.26392 27.1113C5.20404 27.0736 5.12543 27.053 5.02807 27.0494L3.03114 26.9447C2.93094 26.9383 2.85929 26.9448 2.81618 26.9
230646C2.7731 26.9815 2.74567 27.0127 2.73388 27.0585C2.71923 27.1043 2.70733 27.1658 2.69817 27.243L2.59937 27.2423L2.60604 26.323C2.68067 26.3006 2.75103 26.2753 2.81711 26.2471C2.8832 26.2161 2.95648 26.1823 3.03694 26.1456L4.58883 25.418L4.58889 25.4094L3.04736 24.7108C2.90178 24.6438 2.75895 24.5927 2.61887 24.5573L2.62548 23.6466L2.72429 23.6473C2.72676 23.7018 2.73501 23.7476 2.74907 23.785C2.76311 23.8223 2.79299 23.8497 2.83869 23.8673C2.88154 23.8818 2.9531 23.8882 3.05336 23.886L5.0516 23.8103C5.14329 23.8053 5.21211 23.7943 5.25806 23.7774C5.30402 23.7577 5.33576 23.7265 5.35326 23.6836C5.36788 23.6407 5.37833 23.5836 5.38457 23.512L5.48338 23.5127L5.47448 24.737L5.37568 24.7363C5.37061 24.6446 5.34959 24.5815 5.31261 24.5469C5.27565 24.5094 5.18699 24.4929 5.04662 24.4977L3.28906 24.5579L3.289 24.5665L5.02319 25.3567C5.14308 25.412 5.23729 25.4527 5.30584 25.479C5.37155 25.5025 5.43727 25.5229 5.50302 25.5407L5.50146 25.7554Z" fill="#0A756F"/><path d="M5.9163 22.0116C5.88153 22.2032 5.80896 22.3705 5.6986 22.5135C5.58876 22.6537 5.44931 22.7564 5.28026 22.8218C5.11173 22.8843 4.92319 22.8967 4.71467 22.8589C4.48922 22.8179 4.30681 22.7325 4.16741 22.6024C4.02801 22.4723 3.93254 22.3167 3.88099 22.1356C3.82995 21.9517 3.82181 21.764 3.85659 21.5723C3.90363 21.3131 4.00963 21.13 4.17456 21.0231C4.33719 20.9129 4.53122 20.8783 4.75666 20.9192L4.68677 22.1945C4.92937 22.2211 5.11405 22.1818 5.24081 22.0767C5.36758 21.9717 5.44579 21.8374 5.47546 21.674C5.49028 21.5922 5.49308 21.4968 5.48381 21.3873C5.47174 21.2774 5.43392 21.1731 5.37036 21.0742L5.45026 21.0188C5.62474 21.1321 5.75723 21.2681 5.84771 21.4272C5.93588 21.5829 5.95875 21.7777 5.9163 22.0116ZM4.01534 21.7321C3.99795 21.8279 4.03461 21.9146 4.12532 21.9922C4.21321 22.0693 4.34374 22.1279 4.51693 22.1681L4.55207 21.5414C4.4186 21.5229 4.30012 21.5262 4.19664 21.551C4.09367 21.5732 4.03324 21.6335 4.01534 21.7321Z" fill="#0A756F"/><path d="M5.76203 17.7926L6.67101 17.6481C6.82771 17.622 6.93687 17.589 6.9985 17.5493C7.05832 17.5058 7.09685 17.4583 7.11411 17.4067L7.20782 17.438C7.21223 17.5602 7.1881 17.7002 7.13542 17.8577C7.09637 17.9745 7.04738 18.0623 6.98846 18.1212C6.93044 18.1772 6.86158 18.2161 6.78186 18.2378C6.70214 18.2594 6.61065 18.2802 6.50738 18.3L6.03997 18.3838C5.99468 18.3928 5.96116 18.4028 5.93941 18.4136C5.91858 18.4217 5.90407 18.438 5.8959 18.4625C5.88682 18.4896 5.88996 18.5163 5.90533 18.5426C5.92161 18.5662 5.9542 18.5862 6.00309 18.6025L6.28829 18.6978C6.38879 18.7315 6.46666 18.7515 6.5219 18.7578C6.57533 18.7606 6.6152 18.7498 6.64149 18.7254C6.66777 18.7009 6.69089 18.6634 6.71087 18.6127L6.80458 18.644L6.48444 19.6015L6.39073 19.5701C6.40345 19.5231 6.40621 19.4832 6.39899 19.4506C6.39178 19.418 6.36554 19.3881 6.32028 19.3608C6.27231 19.3327 6.19807 19.3019 6.09757 19.2682L5.81237 19.1729C5.76348 19.1566 5.72499 19.1542 5.6969 19.166C5.66973 19.175 5.6516 19.1931 5.64251 19.2203C5.63434 19.2447 5.63567 19.2678 5.64652 19.2896C5.65828 19.3086 5.67954 19.3353 5.7103 19.3698L6.0333 19.7179C6.10479 19.7931 6.1654 19.8647 6.21515 19.9326C6.2658 19.9979 6.29743 20.0705 6.31005 20.1501C6.32265 20.2299 6.30897 20.3295 6.26901 20.449C6.21725 20.6038 6.15237 20.73 6.0744 20.8278L5.98068 20.7965C5.99885 20.7422 5.99664 20.681 5.97406 20.6131C5.94967 20.5415 5.88228 20.4495 5.7719 20.3371L5.13264 19.6749C5.10731 19.6514 5.08286 19.6387 5.05932 19.6368C5.03396 19.6314 5.00226 19.6404 4.9642 19.6639L4.71818 19.8036C4.6176 19.8605 4.53558 19.9162 4.47214 19.9705C4.4096 20.0221 4.36109 20.0768 4.32662 20.1348L4.23291 20.1034L4.52171 19.2396L4.61543 19.271C4.58999 19.3561 4.58268 19.4185 4.59351 19.4584C4.60254 19.4947 4.62606 19.5191 4.66409 19.5318C4.69125 19.5409 4.72114 19.5419 4.75375 19.5347C4.78364 19.5265 4.82487 19.5071 4.87743 19.4763L5.5163 19.083L5.51902 19.0748L5.11974 18.9413C5.01652 18.9068 4.9382 18.8882 4.88476 18.8854C4.83224 18.8799 4.79284 18.8894 4.76655 18.9138C4.74117 18.9355 4.71804 18.9731 4.69716 19.0265L4.60345 18.9952L4.92359 18.0377L5.0173 18.0691C5.00457 18.1162 5.00182 18.156 5.00904 18.1886C5.01626 18.2212 5.04249 18.2511 5.08775 18.2783C5.13301 18.3055 5.20724 18.3364 5.31046 18.3709L5.70975 18.5044L5.71247 18.4962L5.4387 17.7977C5.4161 17.7388 5.39486 17.6985 5.37495 17.6768C5.35324 17.6514 5.3288 17.6342 5.30164 17.6251C5.26362 17.6123 5.22964 17.6191 5.19973 17.6453C5.16801 17.668 5.13672 17.7209 5.10585 17.8042L5.01214 17.7729L5.30095 16.9092L5.39465 16.9405C5.38825 17.0047 5.39407 17.0777 5.41212 17.1592C5.43015 17.2408 5.46222 17.3345 5.50831 17.4405L5.62083 17.7001C5.63709 17.7418 5.65653 
23017.7694 5.67916 17.783C5.69999 17.793 5.7276 17.7962 5.76203 17.7926Z" fill="#0A756F"/><path d="M6.56235 15.2949L7.87093 15.4216C7.99504 15.4311 8.08987 15.4287 8.15541 15.4143C8.21841 15.3985 8.26826 15.3615 8.30498 15.3031L9.05197 15.9903L9.00656 16.0781C8.77533 15.9452 8.57404 15.87 8.40265 15.852C8.23258 15.8317 8.11064 15.8926 8.03683 16.035L7.70665 16.672C7.6223 16.8347 7.62495 17.0039 7.71462 17.1794C7.80429 17.3549 7.96076 17.5167 8.18405 17.6647L8.13858 17.7524L7.26899 17.3016C7.2929 17.243 7.29063 17.1789 7.26218 17.1094C7.23119 17.0385 7.18236 16.9615 7.11567 16.8786L6.43814 16.0386C6.36514 15.9492 6.29545 15.8969 6.22906 15.8818C6.16399 15.8643 6.10495 15.8723 6.05194 15.9062C5.99638 15.9387 5.95086 15.986 5.91536 16.0483L5.82764 16.0028L6.22306 15.24C6.27796 15.2524 6.33225 15.2627 6.38593 15.2712C6.4396 15.2797 6.49841 15.2876 6.56235 15.2949ZM7.72059 16.2437C7.76277 16.1624 7.77251 16.1093 7.74981 16.0846C7.72457 16.0586 7.66015 16.0398 7.55657 16.0281L6.59548 15.9218L6.59152 15.9294L7.38844 16.8845L7.72059 16.2437Z" fill="#0A756F"/><path d="M9.54072 15.4936C9.46887 15.6006 9.38647 15.6539 9.29354 15.6535C9.20061 15.6532 9.11251 15.6251 9.02933 15.5691C8.98892 15.542 8.94456 15.5053 8.89625 15.4591C8.84803 15.4128 8.80288 15.3618 8.761 15.306L8.81614 15.224C8.91522 15.2665 8.99577 15.2879 9.05779 15.288C9.12208 15.2899 9.17505 15.2598 9.21651 15.1981C9.27246 15.1149 9.27878 15.0053 9.23566 14.8693C9.19481 14.7349 9.11549 14.5833 8.99779 14.4145L7.34961 14.1713C7.24721 14.1543 7.17019 14.1457 7.11855 14.1454C7.06455 14.1437 7.02402 14.1475 6.99698 14.1569C6.96994 14.1663 6.94644 14.1834 6.9265 14.2079L6.84448 14.1528L7.45067 13.2506L7.53268 13.3058C7.49512 13.3668 7.48422 13.4164 7.49997 13.4546C7.51572 13.4928 7.54619 13.5219 7.5914 13.5419C7.6366 13.5619 7.68699 13.5768 7.74255 13.5865L8.55825 13.7206L8.56305 13.7135L8.12352 13.0196C8.07928 12.9519 8.02065 12.9108 7.94763 12.8962C7.87382 12.8777 7.80819 12.906 7.75071 12.9813L7.66871 12.9262L8.05446 12.3521L8.13647 12.4072C8.10449 12.4651 8.10543 12.533 8.13931 12.611C8.1708 12.6873 8.20867 12.7594 8.2529 12.827L8.95783 13.9424C9.14026 14.2306 9.28476 14.4727 9.39122 14.6685C9.50172 14.8635 9.56988 15.0265 9.59562 15.1578C9.62293 15.2865 9.60466 15.3984 9.54072 15.4936Z" fill="#0A756F"/><path d="M10.1348 10.6612L10.9155 11.3345C10.9957 11.4038 11.0612 11.4507 11.1117 11.4754C11.1601 11.4982 11.203 11.5012 11.2403 11.4842C11.2776 11.4672 11.3199 11.4336 11.3669 11.3835L11.4417 11.4479L10.7263 12.2776L10.6514 12.213C10.681 12.1743 10.6987 12.1384 10.7044 12.1056C10.7101 12.0726 10.6972 12.035 10.6656 11.9927C10.6319 11.9484 10.5749 11.8918 10.4946 11.8226L10.0522 11.441C10.0525 11.4714 10.0435 11.5015 10.0254 11.5313C10.0073 11.5611 9.9842 11.5922 9.95609 11.6248L9.80457 11.8004C9.75415 11.8589 9.72833 11.9086 9.72728 11.9493C9.72622 11.99 9.75389 12.0346 9.81028 12.0833L10.0738 12.3105C10.1541 12.3797 10.2194 12.4267 10.27 12.4514C10.3184 12.4742 10.3613 12.4771 10.3986 12.4602C10.436 12.4432 10.4781 12.4096 10.5252 12.3594L10.6 12.424L9.88451 13.2535L9.80976 13.189C9.83936 13.1502 9.85701 13.1145 9.86272 13.0815C9.86843 13.0486 9.85543 13.011 9.8239 12.9687C9.79017 12.9244 9.73316 12.8678 9.65297 12.7985L8.87217 12.1252C8.7897 12.0541 8.72434 12.0071 8.67595 11.9843C8.62755 11.9614 8.58469 11.9585 8.54736 11.9755C8.5119 11.9903 8.46971 12.0239 8.42078 12.0762L8.34595 12.0117L9.06138 11.1821L9.13622 11.2467C9.10661 11.2854 9.08896 11.3212 9.08325 11.3541C9.07754 11.3871 9.09045 11.4247 9.12207 11.467C9.15361 11.5093 9.21061 11.5661 9.29301 11.6371L9.55977 11.8672C9.5617 11.8386 9.57084 11.8105 9.58709 11.783C9.60518 11.7532 9.62916 11.7209 9.65911 11.6862L9.81063 11.5106C9.86114 11.4521 9.88688 11.4024 9.88793 11.3617C9.88899 11.321 9.86026 11.2754 9.80167 11.2249L9.71384 11.1492C9.63145 11.0781 9.56601 11.0311 9.51769 11.0083C9.4693 10.9855 9.42643 10.9826 9.3891 10.9995C9.35361 11.0144 9.31145 11.0479 9.26253 11.1003L9.18769 11.0357L9.90313 10.2062L9.97797 10.2706C9.94828 10.3094 9.93062 10.3452 9.925 10.3782C9.91929 10.4111 9.9322 10.4487 9.96374 10.491C9.99536 10.5334 10.0523 10.5901 10.1348 10.6612Z" fill="#0A756F"/><path d="M12.1458 10.9376C12.0286 11.0428 11.9097 11.0861 11.789 11.0675C11.6704 11.
2300469 11.57 10.9909 11.4877 10.8993C11.3614 10.7586 11.323 10.5872 11.3723 10.385C11.4239 10.1809 11.5524 9.9211 11.7579 9.60558L11.6058 9.43623C11.5158 9.3361 11.4304 9.28383 11.3495 9.27953C11.2688 9.2711 11.1912 9.30043 11.1166 9.36737C11.0144 9.45924 10.9636 9.57414 10.9643 9.71213C10.9671 9.8481 11.0141 9.9926 11.1053 10.1455L11.0318 10.2116L10.6184 9.75139C10.6584 9.65003 10.7214 9.5318 10.8078 9.39644C10.8963 9.25924 11.0088 9.12941 11.1451 9.00688C11.5137 8.67582 11.8263 8.65303 12.0827 8.93854L12.7085 9.63527C12.7525 9.68428 12.7934 9.71687 12.831 9.73312C12.8668 9.74718 12.9039 9.73699 12.9422 9.70255C12.9635 9.68341 12.9831 9.65811 13.001 9.62666C13.0191 9.59109 13.0307 9.54612 13.0356 9.49157L13.1327 9.49684C13.1739 9.63694 13.1781 9.76597 13.1454 9.88385C13.1108 9.99962 13.0445 10.1015 12.9465 10.1895C12.8421 10.2833 12.7429 10.3358 12.649 10.347C12.5553 10.3541 12.4614 10.3288 12.3672 10.271L12.3608 10.2768C12.3883 10.406 12.3817 10.5294 12.3409 10.6468C12.2982 10.7622 12.2332 10.8591 12.1458 10.9376ZM12.1368 10.426C12.1794 10.3877 12.2081 10.3446 12.2228 10.2968C12.2378 10.2449 12.2454 10.1956 12.246 10.1489L11.8727 9.73347C11.7996 9.84916 11.7576 9.95237 11.7466 10.0431C11.7378 10.1318 11.7449 10.2062 11.7681 10.2663C11.7934 10.3244 11.8194 10.3685 11.8462 10.3982C11.8864 10.443 11.9336 10.4698 11.9879 10.4789C12.0402 10.4857 12.0899 10.4681 12.1368 10.426Z" fill="#0A756F"/><path d="M15.0199 9.68358L15.0762 9.76474L14.1414 10.4144L14.085 10.3332C14.1234 10.3031 14.1494 10.2728 14.1631 10.2423C14.1768 10.2119 14.1728 10.1711 14.1512 10.1199C14.1312 10.0709 14.091 10.003 14.0304 9.91599L12.9175 8.31438C12.8929 8.2791 12.8695 8.26048 12.8473 8.25853C12.8273 8.25495 12.8044 8.26214 12.7785 8.28012C12.7503 8.29972 12.7207 8.32731 12.6896 8.36287L12.5979 8.30625L13.0939 7.45412L13.1298 7.46057C13.1398 7.48501 13.1649 7.53379 13.2053 7.60689C13.248 7.67837 13.2938 7.74938 13.3429 7.81994L13.3499 7.81504C13.3276 7.68755 13.3418 7.55738 13.3924 7.42452C13.4454 7.29002 13.5401 7.17537 13.6765 7.08058C13.7894 7.00213 13.917 6.96232 14.0592 6.96116C14.2021 6.95603 14.3446 6.993 14.4868 7.07208C14.6289 7.15117 14.7588 7.27538 14.8765 7.44471C14.9942 7.61405 15.0645 7.77793 15.0874 7.93639C15.1087 8.09249 15.0964 8.2405 15.0507 8.38042C15.0073 8.5187 14.9406 8.64353 14.8506 8.75491C14.7606 8.86633 14.6615 8.95953 14.5533 9.03472C14.5063 9.06748 14.4619 9.09647 14.4203 9.12194C14.381 9.14574 14.3433 9.16674 14.3071 9.18492L14.5597 9.5483C14.6201 9.63526 14.671 9.69587 14.7121 9.73004C14.7549 9.76658 14.7989 9.77958 14.8439 9.76922C14.8914 9.75718 14.95 9.72864 15.0199 9.68358ZM14.4674 8.84332C14.5708 8.77144 14.6203 8.65687 14.6156 8.49965C14.6094 8.34009 14.5433 8.16975 14.4175 7.98866C14.2753 7.78405 14.1346 7.65687 13.9954 7.60712C13.8546 7.55502 13.7324 7.56493 13.6289 7.63684C13.5842 7.6679 13.5449 7.70917 13.511 7.76068C13.4753 7.80983 13.4514 7.86828 13.4392 7.93605L14.0914 8.87441C14.2291 8.93221 14.3545 8.92185 14.4674 8.84332Z" fill="#0A756F"/><path d="M15.8746 5.8281C16.0603 5.732 16.2428 5.6859 16.4223 5.6898C16.6029 5.68984 16.7694 5.73747 16.9219 5.83269C17.0744 5.92791 17.198 6.06709 17.2927 6.25023C17.3967 6.45116 17.4386 6.6472 17.4182 6.83835C17.3978 7.0295 17.331 7.20271 17.2179 7.35801C17.1074 7.51199 16.9643 7.63439 16.7888 7.72523C16.6057 7.82002 16.4231 7.86612 16.2412 7.86354C16.0593 7.86095 15.8928 7.81332 15.7416 7.72064C15.5891 7.62542 15.4655 7.48625 15.3707 7.30311C15.2667 7.10217 15.2249 6.90613 15.2452 6.71498C15.2656 6.52384 15.3311 6.35127 15.4417 6.19729C15.5548 6.04201 15.6991 5.91894 15.8746 5.8281ZM16.7688 7.52761C16.8629 7.47889 16.9128 7.38533 16.9186 7.2469C16.9243 7.10848 16.8693 6.92736 16.7534 6.70353C16.6692 6.54074 16.5762 6.40177 16.4748 6.28663C16.3719 6.16893 16.2696 6.08646 16.1677 6.03921C16.0671 5.9881 15.9761 5.9836 15.8947 6.02573C15.8006 6.07444 15.7507 6.16801 15.7449 6.30642C15.7392 6.44485 15.7942 6.62598 15.91 6.84981C15.9943 7.01259 16.0879 7.15283 16.1906 7.27052C16.2922 7.38567 16.3945 7.46814 16.4977 7.51794C16.5996 7.56519 16.6899 7.56842 16.7688 7.52761Z" fill="#0A756F"/><path d="M18.8343 5.0068L19.7162 5.98185C19.8015 6.07247 19.8733 6.13453 19.9314 6.16801C19.9886 6.19882 20.0505 6.20501 20.1169 6.18658L20.2061 7.19772L20.1134 7.23192C20.0319 6.97808 19.9339 6.78683 19.8193 6.65818C19.7074 6.52854 19.5761 6.49148 19.4257 6.54701L18.7526 6.79539
230C18.5806 6.85885 18.4687 6.98564 18.4167 7.17578C18.3648 7.3659 18.3714 7.59086 18.4368 7.85066L18.3441 7.88487L18.005 6.96595C18.0622 6.93876 18.1036 6.88987 18.1294 6.81928C18.1543 6.746 18.17 6.65624 18.1766 6.55002L18.2416 5.47282C18.2479 5.35754 18.2316 5.27197 18.1927 5.21612C18.1564 5.15928 18.1073 5.12551 18.0454 5.11479C17.9824 5.10139 17.9169 5.10574 17.8487 5.12784L17.8145 5.03514L18.6205 4.73767C18.6529 4.78377 18.686 4.82802 18.7199 4.87044C18.7539 4.91285 18.792 4.9583 18.8343 5.0068ZM19.0514 6.48823C19.1373 6.4565 19.1802 6.42387 19.1801 6.39035C19.1789 6.35414 19.1441 6.2968 19.0754 6.21834L18.4366 5.49244L18.4285 5.49542L18.3742 6.7381L19.0514 6.48823Z" fill="#0A756F"/><path d="M22.1919 4.26873L22.4286 5.27224C22.4529 5.37538 22.4783 5.45179 22.5046 5.50146C22.5305 5.54836 22.5634 5.57588 22.6036 5.58407C22.6438 5.59225 22.6976 5.58984 22.7653 5.57685L22.7879 5.67302L21.7217 5.92446L21.699 5.82829C21.7457 5.81433 21.781 5.7957 21.805 5.77239C21.8289 5.7491 21.8405 5.71105 21.8399 5.65824C21.8385 5.60265 21.8257 5.52329 21.8013 5.42015L21.6673 4.85149C21.6495 4.87626 21.6246 4.89537 21.5925 4.90883C21.5604 4.9223 21.5234 4.93397 21.4816 4.94382L21.2558 4.99707C21.1805 5.01482 21.1305 5.03985 21.1057 5.07217C21.081 5.10448 21.0772 5.15689 21.0943 5.22936L21.1742 5.56805C21.1985 5.67119 21.2239 5.7476 21.2503 5.79727C21.276 5.84416 21.309 5.8717 21.3492 5.87987C21.3894 5.88806 21.4433 5.88565 21.5108 5.87266L21.5335 5.96884L20.4672 6.22027L20.4446 6.1241C20.4913 6.11014 20.5266 6.09151 20.5506 6.06821C20.5745 6.04491 20.5861 6.00686 20.5855 5.95405C20.5841 5.89846 20.5712 5.81909 20.5469 5.71595L20.3103 4.71244C20.2853 4.60651 20.2599 4.5301 20.2342 4.48322C20.2084 4.43632 20.1754 4.40879 20.1352 4.4006C20.0979 4.39177 20.0439 4.39418 19.9737 4.40783L19.9509 4.31165L21.0172 4.06022L21.0399 4.15638C20.9931 4.17035 20.9578 4.18898 20.9339 4.21228C20.9099 4.23558 20.8983 4.27363 20.899 4.32643C20.8997 4.37923 20.9125 4.4586 20.9375 4.56453L21.0183 4.9074C21.0367 4.88542 21.0606 4.86802 21.0899 4.85522C21.1221 4.84175 21.1605 4.82976 21.205 4.81924L21.4308 4.76599C21.5061 4.74825 21.5561 4.72322 21.5808 4.6909C21.6055 4.65858 21.609 4.60478 21.5913 4.52952L21.5647 4.41663C21.5397 4.3107 21.5144 4.23429 21.4886 4.1874C21.4628 4.14052 21.4299 4.11298 21.3896 4.1048C21.3523 4.09597 21.2984 4.09836 21.228 4.11201L21.2053 4.01584L22.2716 3.7644L22.2943 3.86058C22.2475 3.87454 22.2122 3.89317 22.1882 3.91647C22.1644 3.93976 22.1528 3.97782 22.1534 4.03062C22.1541 4.08343 22.1669 4.16279 22.1919 4.26873Z" fill="#0A756F"/><path d="M26.1351 4.86606C26.1428 4.97173 26.1559 5.05118 26.1742 5.1044C26.1923 5.15475 26.2205 5.18713 26.2589 5.20152C26.2973 5.21592 26.3509 5.22201 26.4197 5.21981L26.4269 5.31834L25.3344 5.39905L25.3272 5.3005C25.3755 5.29406 25.4133 5.28121 25.4406 5.26197C25.4679 5.24272 25.4853 5.20697 25.493 5.15472C25.5004 5.0996 25.5002 5.0192 25.4924 4.91352L25.4165 3.88529C25.4084 3.77674 25.3954 3.6973 25.3773 3.64695C25.3592 3.59659 25.331 3.56421 25.2925 3.54982C25.2571 3.53521 25.2035 3.52911 25.1319 3.53154L25.1246 3.43299L26.217 3.35229L26.2243 3.45083C26.176 3.45728 26.1382 3.47012 26.1109 3.48937C26.0836 3.50862 26.0661 3.54437 26.0585 3.59662C26.0508 3.64888 26.0511 3.72928 26.0591 3.83781L26.1351 4.86606ZM23.1537 5.56013L23.1464 5.46159C23.1947 5.45515 23.2326 5.4423 23.2599 5.42305C23.2872 5.40381 23.3046 5.36806 23.3122 5.3158C23.3197 5.26069 23.3194 5.18029 23.3116 5.07461L23.2357 4.04637C23.2277 3.93783 23.2147 3.85839 23.1966 3.80803C23.1785 3.75768 23.1503 3.7253 23.1119 3.7109C23.0763 3.69629 23.0227 3.69021 22.9511 3.69262L22.9438 3.59408L24.0364 3.51338L24.0437 3.61192C23.9953 3.61836 23.9575 3.63121 23.9302 3.65045C23.9029 3.66971 23.8854 3.70546 23.8777 3.75771C23.8702 3.80996 23.8704 3.89036 23.8784 3.9989L23.9021 4.32022L24.1763 4.29997C24.4334 4.28098 24.6337 4.2906 24.7772 4.32881C24.9207 4.36703 25.0227 4.42555 25.0831 4.50438C25.1463 4.58298 25.182 4.67656 25.1899 4.7851C25.2039 4.97361 25.1394 5.13057 24.9964 5.256C24.8533 5.37858 24.6118 5.45243 24.2719 5.47753L23.1537 5.56013ZM23.9603 5.10854C23.9654 5.17709 23.9749 5.22808 23.9889 5.26151C24.0056 5.29473 24.0498 5.30871 24.1212 5.30343C24.1868 5.29858 24.2502 5.28098 24.3
230111 5.25063C24.3749 5.22007 24.4246 5.17332 24.4602 5.11039C24.4984 5.04439 24.5134 4.95712 24.5054 4.84859C24.4966 4.72863 24.4568 4.63679 24.386 4.57309C24.3181 4.50919 24.2342 4.48092 24.1342 4.48831L23.9157 4.50445L23.9603 5.10854Z" fill="#0A756F"/><path d="M29.2281 4.17984L29.1375 5.20691C29.1282 5.31247 29.1283 5.39297 29.1378 5.44844C29.1476 5.50105 29.1702 5.53755 29.2058 5.55794C29.2414 5.57833 29.2933 5.59296 29.3615 5.60186L29.3528 5.70028L28.2615 5.60406L28.2702 5.50563C28.319 5.50706 28.3584 5.50047 28.3885 5.48586C28.4185 5.47126 28.4414 5.43879 28.4574 5.38844C28.4736 5.33525 28.4863 5.25587 28.4956 5.1503L28.5764 4.23451L27.7266 5.55689L26.9778 5.49085L26.9864 5.39243C27.0351 5.39385 27.0746 5.38726 27.1046 5.37266C27.1347 5.35806 27.1577 5.32558 27.1736 5.27523C27.1897 5.22204 27.2026 5.14266 27.2119 5.0371L27.3024 4.01004C27.3119 3.90163 27.3118 3.82111 27.3022 3.76851C27.2924 3.71589 27.2698 3.6794 27.2342 3.65901C27.2014 3.63887 27.1495 3.62423 27.0784 3.61509L27.0871 3.51667L28.1784 3.61289L28.1697 3.71132C28.121 3.70989 28.0816 3.71648 28.0515 3.73108C28.0215 3.74569 27.9985 3.77816 27.9826 3.8285C27.9666 3.87885 27.9538 3.95823 27.9443 4.06664L27.8635 4.98244L28.7133 3.66005L29.4622 3.72609L29.4535 3.82452C29.4047 3.8231 29.3654 3.82969 29.3354 3.84429C29.3053 3.85889 29.2823 3.89137 29.2664 3.94171C29.2504 3.99206 29.2377 4.07143 29.2281 4.17984ZM29.0308 2.55382L29.1087 2.5995C29.0485 2.8587 28.9502 3.04411 28.8139 3.15572C28.6775 3.26732 28.518 3.31507 28.3354 3.29897C28.2327 3.28991 28.1391 3.26009 28.0544 3.2095C27.9725 3.15916 27.909 3.08167 27.8635 2.97704C27.821 2.87266 27.8073 2.73488 27.8223 2.56371C27.8824 2.5345 27.9573 2.51809 28.0467 2.51448C28.1393 2.50826 28.2247 2.51724 28.3031 2.5414C28.2766 2.84096 28.3632 2.99954 28.563 3.01715C28.6629 3.02595 28.7492 2.99188 28.8221 2.91493C28.8953 2.83513 28.9648 2.71476 29.0308 2.55382Z" fill="#0A756F"/><path d="M31.1635 6.21187C31.0805 6.18987 31.0167 6.15078 30.9724 6.09458C30.928 6.03839 30.8987 5.9758 30.8844 5.90683C30.8736 5.83582 30.8769 5.76709 30.8945 5.70065C30.907 5.65358 30.929 5.59276 30.9606 5.51817C30.9922 5.44358 31.0275 5.37739 31.0665 5.31957L31.1621 5.34487C31.1543 5.45245 31.1629 5.53766 31.1877 5.60053C31.216 5.66136 31.2731 5.70315 31.3589 5.72588C31.4392 5.74714 31.524 5.7459 31.6132 5.72214C31.7025 5.69837 31.7889 5.65164 31.8725 5.58195L31.3322 3.67895C31.3038 3.57365 31.2775 3.49409 31.2533 3.44026C31.2289 3.38643 31.2021 3.3482 31.1726 3.32555C31.1465 3.30088 31.1089 3.28055 31.0598 3.26458L31.0851 3.16907L32.3143 3.49466L32.289 3.59017C32.1657 3.56344 32.0919 3.57943 32.0674 3.63814C32.043 3.69685 32.0457 3.77608 32.0756 3.87584L32.3966 4.99633L33.1262 4.15412C33.194 4.07727 33.219 4.00536 33.2012 3.93842C33.184 3.86872 33.1153 3.81497 32.995 3.77716L33.0203 3.68165L33.7844 3.88404L33.7591 3.97956C33.6967 3.96895 33.6312 3.98715 33.5624 4.03412C33.4945 4.07833 33.4266 4.13886 33.3588 4.21573L32.2068 5.52825C32.1382 5.60789 32.0641 5.69195 31.9844 5.78045C31.9074 5.86969 31.8247 5.95294 31.736 6.0302C31.6509 6.10543 31.5605 6.16148 31.4649 6.19836C31.3691 6.23523 31.2687 6.23974 31.1635 6.21187Z" fill="#0A756F"/><path d="M35.59 6.1442L35.1948 7.09649C35.1542 7.19437 35.1301 7.27118 35.1224 7.32693C35.1159 7.38003 35.1266 7.42166 35.1543 7.4518C35.1822 7.48194 35.2272 7.51151 35.2896 7.5405L35.2517 7.63176L34.2399 7.21186L34.2778 7.12059C34.3239 7.13661 34.3634 7.14217 34.3965 7.13728C34.4295 7.13239 34.4612 7.10833 34.4915 7.0651C34.523 7.01924 34.559 6.94737 34.5996 6.84949L34.8235 6.30986C34.7947 6.31959 34.7634 6.32052 34.7294 6.31263C34.6955 6.30475 34.6587 6.29258 34.619 6.27611L34.4047 6.18719C34.3333 6.15755 34.2781 6.1486 34.2391 6.16032C34.2001 6.17206 34.1663 6.21231 34.1378 6.28109L34.0044 6.60249C33.9639 6.70036 33.9397 6.77717 33.9321 6.83292C33.9256 6.88603 33.9362 6.92765 33.964 6.95779C33.9918 6.98793 34.0369 7.01751 34.0992 7.04649L34.0614 7.13775L33.0496 6.71785L33.0874 6.62659C33.1335 6.6426 33.1731 6.64816 33.2061 6.64327C33.2391 6.63838 33.2708 6.61432 33.3011 6.5711C33.3326 6.52523 33.3687 6.45336 33.4093 6.35548L33.8044 5.40319C33.8462 5.30267 33.8703 5.22586 33.8768 5.17275C33.8834 5.11965 33.8728 5.07803 33.8449 5.04788C33.8198 5.01884 33.7747 4.98927 33.7097 4.95918L33.7475 4.86792L34.7593 5.28783L34.7215 5.37908C34.6754 5.36307 34.6358 5.35751 34.6028 5.3624C34.5698 5.3673 34.5381 5.39135 34.5078 5.43458C34.4774 5.4778 34.4414 5.54967 34.3996 5.6502L34.2646 5.97556C34.2924 5.96847 34.3219 5.96832 34.3532 5.97511C34.3872 5.98299 34.4253 5.99571 34.4676 6.01327L34.6818 6.1022C34.7533 6.13184 34.8084 6.14079 34.8474 6.12906C34.8864 6.11733 34.9208 6.07575 34.9504 6.00433L34.9948 5.89719C35.0365 5.79667 35.
2300607 5.71987 35.0672 5.66676C35.0737 5.61365 35.0631 5.57204 35.0353 5.54189C35.0102 5.51284 34.965 5.48328 34.9 5.45319L34.9379 5.36193L35.9497 5.78183L35.9118 5.87309C35.8657 5.85708 35.8262 5.85151 35.7932 5.85641C35.7601 5.8613 35.7284 5.88536 35.6981 5.92858C35.6677 5.9718 35.6317 6.04368 35.59 6.1442Z" fill="#0A756F"/><path d="M38.1895 7.63132L37.6687 8.52114C37.6152 8.61259 37.5808 8.68542 37.5657 8.73962C37.552 8.79135 37.5568 8.83404 37.5803 8.86768C37.6038 8.90133 37.6444 8.93672 37.7023 8.97388L37.6524 9.05917L36.707 8.50578L36.7569 8.42051C36.8004 8.44264 36.8388 8.45352 36.8722 8.45315C36.9056 8.45279 36.9402 8.43326 36.9762 8.39455C37.0136 8.35338 37.059 8.28707 37.1126 8.19561L37.577 7.40219L36.2435 8.23451L35.5947 7.85473L35.6446 7.76946C35.6881 7.79158 35.7265 7.80247 35.76 7.8021C35.7933 7.80174 35.828 7.7822 35.8639 7.7435C35.9013 7.70232 35.9468 7.63601 36.0003 7.54456L36.5212 6.65474C36.5761 6.56082 36.6104 6.48799 36.6241 6.43627C36.6378 6.38454 36.6329 6.34186 36.6094 6.30822C36.5884 6.27603 36.5479 6.24061 36.4875 6.20197L36.5374 6.1167L37.4828 6.6701L37.4329 6.75537C37.3894 6.73324 37.351 6.72237 37.3176 6.72273C37.2842 6.72309 37.2495 6.74262 37.2136 6.78132C37.1777 6.82003 37.1322 6.88634 37.0773 6.98027L36.6129 7.77369L37.9462 6.94136L38.5951 7.32115L38.5452 7.40642C38.5017 7.3843 38.4632 7.37342 38.4299 7.37378C38.3965 7.37414 38.3618 7.39368 38.3259 7.43238C38.2899 7.47108 38.2445 7.5374 38.1895 7.63132Z" fill="#0A756F"/><path d="M37.9575 9.32608L38.0181 9.24808C38.0584 9.27566 38.095 9.29147 38.1282 9.29551C38.1613 9.29955 38.1982 9.28471 38.239 9.25098C38.2814 9.21506 38.3351 9.15533 38.4001 9.07162L39.0329 8.25761C39.0998 8.17168 39.1433 8.10398 39.1636 8.05449C39.184 8.00499 39.1847 7.96204 39.1658 7.92562C39.1493 7.89096 39.1136 7.85053 39.0588 7.80433L39.1194 7.72632L39.306 7.87133C39.3942 7.93989 39.4696 7.99676 39.5325 8.04195C39.5975 8.08891 39.6581 8.13236 39.7141 8.17228C39.7701 8.2122 39.8307 8.25565 39.8957 8.3026C39.9608 8.34955 40.0386 8.40819 40.129 8.4785C40.3077 8.61736 40.431 8.73866 40.4992 8.84236C40.5673 8.9461 40.5989 9.03604 40.5941 9.11211C40.5917 9.19002 40.5694 9.25608 40.5271 9.31036C40.4674 9.38722 40.3858 9.43623 40.2823 9.45731C40.1805 9.4762 40.0601 9.45151 39.921 9.38318L39.9131 9.39337C40.0499 9.52521 40.129 9.65925 40.1501 9.7954C40.1735 9.93322 40.1421 10.0576 40.0561 10.1684C39.94 10.3176 39.7869 10.3909 39.5968 10.3882C39.4083 10.3832 39.1796 10.2761 38.9106 10.067L37.9575 9.32608ZM39.2992 8.96516C39.334 8.96691 39.3656 8.97517 39.3941 8.99001C39.4242 9.00258 39.4591 9.02058 39.4988 9.04421C39.5692 9.08435 39.646 9.09516 39.7295 9.07653C39.8169 9.05747 39.8914 9.00828 39.9528 8.92914C40.0038 8.86362 40.029 8.79616 40.0286 8.72683C40.0298 8.65524 39.9931 8.59044 39.9184 8.53243C39.8416 8.47267 39.7807 8.45071 39.7357 8.46654C39.6925 8.48012 39.6489 8.51517 39.605 8.5717L39.2992 8.96516ZM38.8815 9.81042C38.9448 9.85961 39.0115 9.8951 39.0816 9.91697C39.154 9.94051 39.2255 9.94183 39.2963 9.92066C39.3689 9.89729 39.4386 9.84266 39.5054 9.75675C39.5793 9.66171 39.6112 9.56693 39.6014 9.47224C39.5939 9.37931 39.5505 9.30201 39.4714 9.24053C39.3108 9.11571 39.1849 9.11211 39.0934 9.22972L38.8588 9.53153C38.8167 9.58582 38.7918 9.63185 38.7843 9.66944C38.7767 9.70712 38.8091 9.75412 38.8815 9.81042Z" fill="#0A756F"/><path d="M40.6136 11.7094C40.4752 11.5723 40.3783 11.4178 40.3228 11.2459C40.2694 11.076 40.2635 10.9029 40.3053 10.7265C40.349 10.5522 40.4455 10.3898 40.5946 10.2392C40.7559 10.0764 40.9295 9.9743 41.1157 9.93293C41.3018 9.89156 41.484 9.90087 41.6625 9.96077C41.8431 10.0227 42.0026 10.1222 42.1409 10.2592C42.3281 10.4448 42.4191 10.6357 42.414 10.8321C42.4128 11.0286 42.3317 11.2082 42.1704 11.371L41.1583 10.592C40.9991 10.777 40.927 10.9515 40.9419 11.1155C40.9569 11.2795 41.0233 11.4198 41.1414 11.5368C41.2004 11.5953 41.2776 11.6516 41.373 11.7058C41.4705 11.758 41.5779 11.7859 41.6955 11.7894L41.6959 11.8866C41.5039 11.9665 41.3167 11.9987 41.1344 11.9834C40.9561 11.968 40.7825 11.8767 40.6136 11.7094ZM41.9194 10.2998C41.8502 10.2313 41.7579 10.2124 41.6426 10.2433C41.5294 10.2722 41.4072 10.3467 41.2761 10.4669L41.773 10.8503C41.8637 10.750
2307 41.9281 10.6512 41.9661 10.5517C42.0062 10.4543 41.9905 10.3704 41.9194 10.2998Z" fill="#0A756F"/><path d="M41.5467 13.998L41.4695 14.0596L40.7595 13.1696L40.8368 13.1081C40.8694 13.1443 40.9013 13.1683 40.9327 13.18C40.9639 13.1917 41.0044 13.185 41.0541 13.16C41.1016 13.1368 41.1667 13.0922 41.2495 13.0261L42.7742 11.8097C42.8077 11.7829 42.8248 11.7584 42.8253 11.736C42.8275 11.7159 42.8189 11.6935 42.7992 11.6689C42.7778 11.6421 42.7483 11.6143 42.7108 11.5856L42.7612 11.4904L43.6442 11.929L43.6402 11.9653C43.6164 11.9769 43.5694 12.0052 43.4991 12.0503C43.4306 12.0976 43.3628 12.1481 43.2956 12.2017L43.3009 12.2083C43.4267 12.1777 43.5575 12.1832 43.6935 12.2249C43.8311 12.269 43.9518 12.3559 44.0554 12.4858C44.1411 12.5932 44.1892 12.7179 44.1998 12.8597C44.2144 13.002 44.1869 13.1466 44.1174 13.2937C44.0478 13.4407 43.9325 13.5786 43.7713 13.7072C43.61 13.8358 43.4511 13.9167 43.2946 13.9501C43.1402 13.9816 42.9917 13.9792 42.8491 13.9428C42.7082 13.9085 42.5793 13.8502 42.4622 13.7678C42.3452 13.6853 42.2455 13.5926 42.1633 13.4896C42.1276 13.4448 42.0957 13.4025 42.0676 13.3627C42.0413 13.325 42.0178 13.2888 41.9972 13.2539L41.6514 13.5299C41.5685 13.5959 41.5114 13.6506 41.4801 13.6939C41.4465 13.7391 41.4363 13.7838 41.4497 13.8282C41.4649 13.8746 41.4972 13.9313 41.5467 13.998ZM42.3487 13.3913C42.4272 13.4897 42.5448 13.5315 42.7014 13.5165C42.8603 13.4997 43.0258 13.4226 43.1982 13.2851C43.393 13.1297 43.5106 12.9809 43.551 12.8387C43.5937 12.6947 43.5758 
23012.5735 43.4972 12.475C43.4633 12.4324 43.4195 12.396 43.3658 12.3654C43.3145 12.3332 43.2546 12.3131 43.1861 12.3055L42.2928 13.0181C42.2443 13.1594 42.263 13.2837 42.3487 13.3913Z" fill="#0A756F"/><path d="M43.565 15.5467C43.4674 15.3881 43.4156 15.2249 43.4097 15.057C43.4039 14.889 43.4438 14.7299 43.5295 14.5797C43.6152 14.4293 43.7471 14.2994 43.9251 14.1897C44.0836 14.0921 44.2382 14.0373 44.3889 14.0252C44.5435 14.0141 44.6879 14.0328 44.822 14.0813C44.9577 14.1324 45.0791 14.2039 45.1863 14.296C45.2974 14.389 45.3875 14.4916 45.4565 14.6038C45.5091 14.6892 45.5564 14.7878 45.5985 14.8998C45.643 15.0103 45.6625 15.1076 45.6571 15.1917L45.0974 15.5363L45.0456 15.4522C45.2115 15.3063 45.3076 15.1647 45.334 15.0274C45.3619 14.8925 45.3466 14.7775 45.288 14.6824C45.2204 14.5726 45.1092 14.515 44.9544 14.5094C44.8035 14.5047 44.6343 14.5602 44.4465 14.6758C44.3001 14.766 44.1954 14.8607 44.1322 14.9603C44.0714 15.0582 44.0421 15.1553 44.0442 15.2515C44.0502 15.3488 44.0795 15.44 44.1321 15.5254C44.1666 15.5814 44.2216 15.6435 44.2971 15.7114C44.375 15.7778 44.4705 15.8265 44.5839 15.8576L44.5614 15.9522C44.3687 15.9834 44.1846 15.974 44.0092 15.9239C43.8362 15.8724 43.6881 15.7466 43.565 15.5467Z" fill="#0A756F"/><path d="M46.5111 17.9266L45.5751 18.359C45.4789 18.4034 45.4091 18.4436 45.3657 18.4793C45.3249 18.5139 45.3045 18.5518 45.3045 18.5928C45.3046 18.6338 45.3177 18.6861 45.3438 18.7497L45.2542 18.7911L44.7948 17.7966L44.8845 17.7552C44.9076 17.7981 44.9329 17.829 44.9604 17.8478C44.9881 17.8666 45.0276 17.8704 45.0793 17.8593C45.1335 17.8468 45.2087 17.8184 45.3048 17.774L46.1395 17.3884L44.5696 17.309L44.2544 16.6265L44.3441 16.5852C44.3671 16.6281 44.3924 16.659 44.4201 16.6778C44.4476 16.6966 44.4873 16.7004 44.5388 16.6892C44.5931 16.6768 44.6683 16.6483 44.7645 16.6039L45.7005 16.1715C45.7993 16.126 45.8691 16.0858 45.9099 16.0512C45.9506 16.0166 45.9711 15.9787 45.9711 15.9377C45.9722 15.8993 45.9592 15.8471 45.9317 15.7808L46.0214 15.7394L46.4807 16.734L46.3911 16.7753C46.368 16.7324 46.3427 16.7015 46.3152 16.6827C46.2875 16.6639 46.2479 16.6601 46.1963 16.6713C46.1447 16.6825 46.0695 16.711 45.9707 16.7566L45.1361 17.1421L46.7059 17.2215L47.0212 17.904L46.9315 17.9454C46.9085 17.9024 46.8832 17.8715 46.8555 17.8527C46.828 17.8339 46.7883 17.8301 46.7367 17.8413C46.6851 17.8526 46.6099 17.881 46.5111 17.9266Z" fill="#0A756F"/><path d="M47.8027 20.407L47.1469 20.6129L47.1173 20.5185C47.2741 20.4634 47.3822 20.3919 47.4418 20.3041C47.5048 20.2183 47.5248 20.1385 47.5017 20.0648L47.4837 20.0073C47.4621 19.9391 47.4294 19.8968 47.3853 19.8806C47.3412 19.8644 47.2631 19.8739 47.1511 19.9091L46.1674 20.2179C46.0663 20.2497 45.9919 20.2805 45.9443 20.3104C45.8994 20.3395 45.8743 20.3744 45.8691 20.4151C45.8638 20.4557 45.8702 20.5093 45.888 20.5758L45.7937 20.6053L45.4656 19.5601L45.5599 19.5305C45.5772 19.5761 45.5984 19.61 45.6233 19.6322C45.6483 19.6544 45.6871 19.6632 45.7397 19.6588C45.7951 19.6533 45.8733 19.6348 45.9744 19.6031L46.9581 19.2942C47.0701 19.2591 47.1392 19.2209 47.1652 19.1797C47.1922 19.1412 47.1933 19.0824 47.1684 19.0031L47.1491 18.9417C47.1259 18.8679 47.0635 18.8125 46.9618 18.7753C46.8637 18.7401 46.7345 18.7446 46.5743 18.7889L46.5448 18.6946L47.2006 18.4888L47.8027 20.407Z" fill="#0A756F"/><path d="M46.0955 22.2873C46.0574 22.0963 46.0634 21.914 46.1134 21.7405C46.164 21.5698 46.2559 21.4229 46.3891 21.2999C46.5228 21.1798 46.6935 21.0989 46.9014 21.0575C47.126 21.0126 47.3271 21.0251 47.5046 21.0947C47.6821 21.1645 47.828 21.274 47.9426 21.4235C48.0577 21.5757 48.1343 21.7474 48.1725 21.9383C48.224 22.1967 48.1927 22.406 48.0787 22.566C47.968 22.7282 47.8003 22.8318 47.5756 22.8767L47.1716 21.6651C46.9362 21.7295 46.7789 21.834 46.6997 21.9783C46.6204 22.1226 46.5971 22.2762 46.6296 22.4391C46.6458 22.5205 46.6784 22.6105 46.7273 22.7087C46.7789 22.8065 46.8524 22.8896 46.9479 22.9582L46.894 23.0391C46.6901 22.998 46.5168 22.9202 46.3742 22.8055C46.2349 22.6931 46.1421 22.5203 46.0955 22.2873ZM47.966 21.8481C47.947 21.7526 47.881 21.6855 47.7681 21.6467C47.6581 21.6073 47.5151 21.6008 47.3393 21.6272L47.537 22.2229C47.668 22.1909 47.7769 22.1443 47.8641 22.0832C47.9516 22.0248 47.9857 21.9464 47.966 21.8481Z" fill="#0A756F"/><path d="M48.49 25.2029L47.8054 25.2642L47.7966 25.1657C47.9615 25.1452 48.0825 25.0984 48.1593 25.0254C48.2392 24.9551 48.2758 24.8813 48.2689 24.8043L48.2636 24.7444C48.2572 24.6731 48.2342 24.6248 48.1945 24.5996C48.1549 24.5744 48.0766 24.567 47.9597 24.5774L46.9327 24.6693C46.8272 24.6787 46.7479 24.693 46.695 24.7121C46.6449 24.731 46.613 24.7597 46.5992 24.7984C46.5854 24.8369 46.5802 24.8906 46.5834 24.9593L46.4849 24.9681L46.3875 23.877L46.4858 23.8681C46.493 23.9165 46.5065 23.9541 46.5261 23.981C46.5458 24.008 46.5818 24.0249 46.6342 24.0318C46.6894 24.0383 46.7698 24.0369 46.8753 24.0275L47.9023 23.9356C48.0192 23.9252 48.0948 23.9026 48.1291 23.8679C48.1636 23.8361 48.1772 23.7787 48.1699 23.6961L48.1641 23.6319C48.1572 23.5548 48.108 23.4874 48.0166 23.4294C47.9282 23.3741 47.8011 23.3509 47.6351 23.36L47.6263 23.2615L48.311 23.2003L48.49 25.2029Z" fill="#0A756F"/><path d="M46.5234 26.5649L46.6219 26.5733C46.6207 26.6566 46.637 26.7182 46.671 26.7584C46.7049 26.7987 46.7919 26.8248 46.9317 26.8365L48.9223 27.0044C49.0621 27.0162 49.1524 27.0022 49.1931 26.9625C49.2364 26.926 49.2644 26.8493 49.2772 26.7325L49.3756 26.7408L49.2728 27.9609L49.1743 27.9525C49.1784 27.8695 49.1621 27.8078 49.1253 27.7674C49.0913 27.7271 49.0043 27.7011 48.8645 27.6893L47.0666 27.5377L49.1789 29.0739L49.1121 29.8658L49.0136 29.8575C49.0178 29.7745 49.0014 29.7128 48.9646 29.6723C48.9306 29.6321 48.8438 29.6061 48.7039 29.5943L46.7133 29.4264C46.5735 29.4147 46.4832 29.4285 46.4425 29.4682C46.4018 29.5079 46.3738 29.5846 46.3584 29.6983L46.26 29.6899L46.3629 28.47L46.4613 28.4782C46.46 28.5615 46.4764 28.6232 46.5103 28.6635C46.5443 28.7037 46.6312 28.7297 46.771 28.7415L48.569 28.8931L46.4567 27.3569L46.5234 26.5649Z" fill="#0A756F"/><path d="M47.0009 32.6898L46.0022 32.4333C45.8996 32.407 45.8201 32.394 45.7639 32.3943C45.7104 32.3954 45.6707 32.4118 45.6448 32.4436C45.6189 32.4753 45.596 32.5242 45.5761 32.59L45.4805 32.5654L45.7529 31.5045L45.8486 31.529C45.8393 31.5768 45.8394 31.6168 45.8489 31.6489C45.8584 31.6808 45.8867 31.7089 45.9338 31.7327C45.9837 31.7573 46.0599 31.7829 46.1625 31.8093L46.7285 31.9545C4
2306.7148 31.9274 46.7094 31.8964 46.7124 31.8617C46.7154 31.827 46.7222 31.7889 46.7329 31.7472L46.7906 31.5225C46.8098 31.4476 46.8109 31.3918 46.7937 31.3548C46.7766 31.3179 46.732 31.2901 46.6599 31.2716L46.3228 31.1851C46.2202 31.1587 46.1407 31.1457 46.0845 31.1461C46.031 31.147 45.9913 31.1635 45.9654 31.1953C45.9395 31.2271 45.9166 31.2759 45.8967 31.3418L45.801 31.3172L46.0736 30.2561L46.1692 30.2807C46.1599 30.3286 46.16 30.3685 46.1695 30.4005C46.179 30.4326 46.2073 30.4605 46.2544 30.4845C46.3043 30.5091 46.3805 30.5345 46.4831 30.5609L47.4818 30.8174C47.5872 30.8444 47.6667 30.8575 47.7202 30.8565C47.7736 30.8554 47.8134 30.839 47.8393 30.8072C47.8644 30.7782 47.8873 30.7294 47.9079 30.6607L48.0036 30.6853L47.7311 31.7464L47.6354 31.7218C47.6447 31.6739 47.6446 31.6339 47.6351 31.602C47.6256 31.5699 47.5973 31.542 47.5502 31.5181C47.5031 31.4941 47.4269 31.4686 47.3215 31.4416L46.9803 31.3539C46.9912 31.3804 46.9956 31.4096 46.9933 31.4416C46.9902 31.4763 46.983 31.5158 46.9717 31.5601L46.914 31.7848C46.8947 31.8598 46.8937 31.9157 46.9108 31.9526C46.9279 31.9895 46.974 32.0176 47.0488 32.0368L47.1612 32.0656C47.2666 32.0928 47.3461 32.1058 47.3995 32.1047C47.453 32.1037 47.4927 32.0873 47.5187 32.0555C47.5439 32.0265 47.5667 31.9776 47.5873 31.909L47.683 31.9335L47.4105 32.9946L47.3148 32.97C47.3241 32.9222 47.324 32.8823 47.3145 32.8502C47.305 32.8182 47.2767 32.7902 47.2296 32.7663C47.1825 32.7424 47.1063 32.7169 47.0009 32.6898Z" fill="#0A756F"/><path d="M46.4817 35.3351L45.842 35.0834L45.8782 34.9915C46.0349 35.047 46.1639 35.0593 46.2653 35.0284C46.3684 35.0012 46.434 34.9517 46.4624 34.8797L46.4843 34.8237C46.5106 34.7571 46.5115 34.7036 46.4874 34.6633C46.4632 34.6231 46.3966 34.5815 46.2873 34.5384L45.3278 34.161C45.2292 34.1222 45.152 34.0995 45.096 34.0929C45.0429 34.0874 45.0014 34.0988 44.9718 34.1271C44.9422 34.1554 44.9135 34.2011 44.8857 34.264L44.7937 34.2278L45.1948 33.2084L45.2867 33.2446C45.2715 33.2909 45.2667 33.3306 45.2722 33.3635C45.2777 33.3964 45.3024 33.4277 45.3461 33.4572C45.3926 33.4879 45.4651 33.5225 45.5638 33.5613L46.5232 33.9388C46.6325 33.9818 46.7102 33.9954 46.7564 33.9798C46.8015 33.9668 46.8393 33.9215 46.8697 33.8443L46.8933 33.7843C46.9216 33.7124 46.9078 33.63 46.852 33.5372C46.7977 33.4482 46.6944 33.3706 46.5419 33.3045L46.5781 33.2125L47.2178 33.4642L46.4817 35.3351Z" fill="#0A756F"/><path d="M43.9306 35.8083C44.0215 35.636 44.1411 35.4984 44.2894 35.3954C44.4364 35.2948 44.6003 35.2388 44.7812 35.2274C44.9607 35.2185 45.1442 35.2636 45.3317 35.3625C45.5343 35.4694 45.6825 35.6059 45.7762 35.7719C45.8699 35.938 45.9141 36.1151 45.9087 36.3033C45.9019 36.494 45.8532 36.6755 45.7623 36.8478C45.6393 37.0808 45.483 37.2234 45.2935 37.2756C45.1053 37.3317 44.9098 37.3063 44.7072 37.1994L45.1581 36.0043C44.9348 35.906 44.7468 35.8877 44.5944 35.9497C44.4418 36.0117 44.3268 36.1162 44.2492 36.263C44.2105 36.3365 44.1791 36.4268 44.1549 36.5339C44.1333 36.6423 44.138 36.7532 44.1687 36.8666L44.0759 36.8954C43.9436 36.7349 43.8583 36.5652 43.8199 36.3863C43.7827 36.2112 43.8196 36.0186 43.9306 35.8083ZM45.659 36.6476C45.7045 36.5615 45.6956 36.4678 45.6325 36.3664C45.5719 36.2664 45.4651 36.1712 45.3121 36.0808L45.0898 36.6678C45.2115 36.7255 45.3254 36.7582 45.4315 36.7656C45.5364 36.7756 45.6122 36.7362 45.659 36.6476Z" fill="#0A756F"/><path d="M44.1191 39.3398L43.5114 38.9347L43.5662 38.8525C43.7243 38.951 43.8585 38.9975 43.9689 38.9919C44.0793 38.9863 44.1592 38.9466 44.2084 38.8728L44.2656 38.787C44.3053 38.7274 44.3176 38.6754 44.3025 38.6309C44.2875 38.5864 44.2311 38.5316 44.1333 38.4664L43.2755 37.8945C43.1873 37.8358 43.1166 37.7972 43.0634 37.7789C43.0125 37.7622 42.9697 37.7647 42.9347 37.7861C42.8997 37.8076 42.8621 37.8461 42.8215 37.9017L42.7393 37.8469L43.3469 36.9354L43.4291 36.9901C43.4045 37.0323 43.3915 37.07 43.3899 37.1034C43.3883 37.1367 43.4058 37.1725 43.4423 37.2106C43.4812 37.2503 43.5447 37.2996 43.6329 37.3584L44.4908 37.9303C44.5814 37.9906 44.652 38.0292 44.7029 38.0459C44.7537 38.0626 44.7966 38.0602 44.8316 38.0387C44.8649 38.0196 44.9027 37.9811 44.9448 37.9232L45.027 37.978L44.1191 39.3398Z" fill="#0A756F"/><path d="M40.9356 38.7506L40.8596 38.6875L41.5874 37.812L41.6633 37.8752C41.6343 37.9144 41.6174 37.9505 41.6123 37.9836C41.6072 38.0166 41.6219 38.0549 41.6564 38.0984C41.6887 38.1403 41.7456 38.195 41.8272 38.2627L43.327 39.5095C43.3601 39.537 43.3876 39.5487 43.4096 39.5446C43.4298 39.5428 43.4499 39.5297 43.4701 39.5054C43.492 39.479 43.5132 39.4446 43.5338 39.402L43.6371 39.4321L43.3865 40.3857L43.3501 40.389C43.3339 40.3681 43.2967 40.3278 43.2383 40.2681C43.1781 40.2106 43.1149 40.1544 43.0489 40.0995L43.0434 40.1061C43.0989 40.223 43.1199 40.3522 43.1066 40.4938C43.0913 40.6376 43.0306 40.7733 42.9245 40.9011C42.8366 41.0068 42.7243 41.0791 42.5876 41.1182C42.4512 41.1613 42.3039 41.1636 42.1459 41.1253C41.9878 41.087 41.8294 41.0019 41.6709 40.8702C41.5123 40.7383 41.4008 40.5991 41.3365 40.4525C41.2743 40.3077 41.2466 40.1618 41.2534 40.0148C41.2584 39.87 41.2894 39.7319 41.3464 39.6005C41.4034 39.4692 41.474 39.3529 41.5583 39.2515C41.5949 39.2075 41.6299 39.1676 41.6632 39.132C41.6947 39.0986 41.7254 39.0684 41.7555 39.0411L41.4152 38.7583C41.3338 38.6906 41.2686 38.6457 41.2198 38.6238C41.1688 38.6 41.123 38.5991 41.0823 38.6212C41.0398 38.6454 40.9908 38.6886 40.9356 38.7506ZM41.6921 39.413C41.6116 39.51 41.5946 39.6336 41.6409 39.7839C41.6895 39.9359 41.7986 40.0825 41.9682 40.2235C42.1598 40.3828 42.3293 40.4678 42.4767 40.4786C42.6264 40.4912 42.7415 40.4492 42.822 40.3522C42.8568 40.3104 42.8837 40.2601 42.9027 40.2015C42.9239 40.1445 42.9314 40.0818 42.925 40.0133L42.0462 39.2828C41.898 39.2639 41.7801 39.3074 41.6921 39.413Z" fill="#0A756F"/><path d="M40.1162 40.7813C40.2314 40.6739 40.3496 40.6284 40.4706 40.6449C40.5895 40.6633 40.6909 40.7175 40.7749 40.8076C40.9037 40.946 40.9453 41.1166 40.8996 41.3196C40.8518 41.5247 40.728 41.7868 40.5283 42.106L4
2300.6835 42.2726C40.7753 42.3711 40.8616 42.4217 40.9426 42.4246C41.0234 42.4315 41.1005 42.4007 41.1738 42.3325C41.2744 42.2388 41.3231 42.1229 41.3199 41.985C41.3145 41.849 41.2649 41.7054 41.171 41.5543L41.2433 41.4869L41.6649 41.9395C41.6269 42.0415 41.5659 42.161 41.482 42.2978C41.3961 42.4366 41.2861 42.5684 41.152 42.6934C40.7894 43.0312 40.4774 43.0596 40.2158 42.7788L39.5774 42.0936C39.5325 42.0454 39.491 42.0136 39.4531 41.998C39.4171 41.9846 39.3802 41.9955 39.3425 42.0306C39.3215 42.0501 39.3023 42.0757 39.285 42.1076C39.2676 42.1435 39.2568 42.1886 39.2529 42.2433L39.1557 42.2398C39.1121 42.1004 39.1055 41.9716 39.136 41.8531C39.1685 41.7367 39.233 41.6336 39.3293 41.5438C39.432 41.4481 39.5302 41.3939 39.6238 41.3809C39.7174 41.3721 39.8118 41.3957 39.907 41.4517L39.9133 41.4459C39.8835 41.3172 39.8878 41.1937 39.9264 41.0755C39.967 40.9594 40.0303 40.8614 40.1162 40.7813ZM40.1346 41.2926C40.0927 41.3317 40.0648 41.3752 40.0509 41.4234C40.0369 41.4756 40.0301 41.525 40.0305 41.5716L40.4112 41.9803C40.4822 41.8632 40.5223 41.7593 40.5316 41.6684C40.5388 41.5795 40.5303 41.5052 40.5061 41.4456C40.4797 41.3879 40.4529 41.3444 40.4256 41.3151C40.3846 41.2711 40.3369 41.2451 40.2824 41.2371C40.23 41.2312 40.1807 41.2496 40.1346 41.2926Z" fill="#0A756F"/><path d="M38.3708 44.813L37.9621 44.2603L38.0415 44.2015C38.1448 44.3317 38.2477 44.4106 38.35 44.4383C38.4518 44.4699 38.5338 44.4627 38.596 44.4166L38.6443 44.3809C38.7019 44.3384 38.7311 44.2936 38.732 44.2466C38.7329 44.1997 38.6984 44.129 38.6287 44.0346L38.0156 43.2055C37.9526 43.1203 37.8992 43.0601 37.8553 43.0249C37.8131 42.9919 37.772 42.9796 37.7318 42.988C37.6917 42.9963 37.6431 43.0197 37.5861 43.0583L37.5273 42.9788L38.4082 42.3275L38.4669 42.4069C38.4295 42.4382 38.4044 42.4693 38.3916 42.5001C38.3788 42.5309 38.3831 42.5705 38.4045 42.6188C38.4277 42.6693 38.4707 42.7372 38.5337 42.8224L39.1467 43.6514C39.2166 43.7458 39.2752 43.7986 39.3227 43.8099C39.3678 43.8228 39.4239 43.8045 39.4906 43.7551L39.5424 43.7168C39.6046 43.6708 39.6366 43.5937 39.6385 43.4855C39.6398 43.3812 39.5933 43.2606 39.4991 43.1237L39.5786 43.0649L39.9873 43.6176L38.3708 44.813Z" fill="#0A756F"/><path d="M35.8146 45.7443L35.3035 44.8488C35.251 44.7568 35.2051 44.6907 35.1656 44.6505C35.1277 44.6129 35.0882 44.5958 35.0474 44.5993C35.0066 44.6029 34.9555 44.6204 34.8944 44.652L34.8455 44.5662L35.7969 44.0232L35.8458 44.109C35.805 44.1356 35.7764 44.1635 35.76 44.1926C35.7437 44.2218 35.7433 44.2615 35.7589 44.312C35.7759 44.3649 35.8107 44.4374 35.8632 44.5295L36.3189 45.3279L36.2633 43.757L36.9162 43.3844L36.9653 43.4702C36.9243 43.4968 36.8958 43.5247 36.8793 43.5538C36.863 43.5829 36.8627 43.6227 36.8783 43.6732C36.8952 43.7261 36.93 43.7986 36.9826 43.8907L37.4936 44.7861C37.5475 44.8806 37.5935 44.9468 37.6315 44.9845C37.6694 45.0221 37.7089 45.0392 37.7497 45.0357C37.7881 45.0336 37.8391 45.016 37.9027 44.983L37.9517 45.0688L37.0002 45.6118L36.9513 45.526C36.9921 45.4994 37.0208 45.4715 37.0371 45.4424C37.0534 45.4133 37.0539 45.3735 37.0382 45.323C37.0226 45.2726 36.9878 45.2001 36.9339 45.1055L36.4783 44.307L36.5339 45.8779L35.8809 46.2505L35.8319 46.1647C35.8728 46.1381 35.9014 46.1103 35.9178 46.0811C35.9341 46.052 35.9345 46.0122 35.9188 45.9618C35.9033 45.9113 35.8685 45.8388 35.8146 45.7443Z" fill="#0A756F"/><path d="M34.5281 44.6742L34.5654 44.7657C34.5215 44.7867 34.4894 44.8106 34.4694 44.8374C34.4494 44.8641 34.4438 44.9035 34.4527 44.9555C34.4626 45.0103 34.4877 45.0867 34.5277 45.1848L34.9174 46.1393C34.9585 46.2401 34.9954 46.3117 35.0281 46.354C35.0609 46.3963 35.0978 46.4184 35.1387 46.4202C35.177 46.4231 35.2299 46.4124 35.2973 46.388L35.3346 46.4794L35.1158 46.5688C35.0124 46.6109 34.9254 46.648 34.8549 46.6799C34.7817 46.7128 34.7139 46.7437 34.6514 46.7723C34.5888 46.8009 34.5209 46.8317 34.4478 46.8646C34.3746 46.8976 34.285 46.9358 34.1789 46.9791C33.9695 47.0645 33.8028 47.1109 33.6789 47.1182C33.5551 47.1254 33.4614 47.108 33.3978 47.0659C33.3315 47.0249 33.2854 46.9726 33.2594 46.9089C33.2226 46.8188 33.2209 46.7235 33.2542 46.6233C33.2887 46.5258 33.3702 46.4338 33.4988 46.3472L33.4939 46.3353C33.3113 46.3882 33.1558 46.3898 33.0273 46.3401C32.896 46.2916 32.804 46.2024 32.7509 46.0725C32.6795 45.8974 32.6924 45.7282 32.7897 45.5648C32.888 45.404 33.0949 45.2592 33.4104 45.1304L34.5281 44.6742ZM34.1713 46.017C34.1525 46.0464 34.1295 46.0697 34.1025 46.0869C34.0766 46.1067 34.0435 46.128 34.0031 46.1506C33.9333 46.1915 33.8855 46.2527 33.8601 46.3342C33.833 46.4195 33.8384 46.5086 33.8763 46.6014C33.9077 46.6783 33.9536 46.7338 34.0139 46.768C34.0753 46.8048 34.1498 46.8053 34.2373 46.7696C34.3274 46.7328 34.3769 46.691 34.3856 46.6441C34.3954 46.5999 34.3867 46.5446 34.3597 46.4784L34.1713 46.017ZM33.6473 45.2333C33.5731 45.2636 33.509 45.3036 33.4551 45.3534C33.3986 45.4044 33.3617 45.4658 33.3447 45.5377C33.3287 45.6123 33.3413 45.7 33.3825 45.8007C33.4279 45.9121 33.4941 45.9872 33.5811 46.0259C33.6654 46.0657 33.7539 46.0667 33.8468 46.0288C34.035 45.952 34.101 45.8446 34.0447 45.7067L33.9002 45.3527C33.8743 45.2891 33.8468 45.2446 33.8179 45.2193C33.789 45.1939 33.7322 45.1986 33.6473 45.2333Z" fill="#0A756F"/>
230<path d="M30.3557 47.6161L30.096 46.6183C30.0693 46.5157 30.0422 46.4399 30.0147 46.3909C29.9878 46.3446 29.9542 46.3178 29.9138 46.3105C29.8735 46.3033 29.8197 46.3069 29.7525 46.3215L29.7275 46.2259L30.7877 45.95L30.8126 46.0456C30.7662 46.0606 30.7314 46.0801 30.708 46.1039C30.6845 46.1277 30.6738 46.1661 30.6757 46.2188C30.6783 46.2744 30.693 46.3535 30.7197 46.456L30.8668 47.0214C30.8839 46.9963 30.9083 46.9766 30.9402 46.9624C30.972 46.9482 31.0087 46.9357 31.0503 46.9249L31.2748 46.8665C31.3496 46.847 31.3991 46.8208 31.4231 46.7879C31.4471 46.7551 31.4497 46.7026 31.4309 46.6305L31.3433 46.2938C31.3166 46.1912 31.2895 46.1154 31.2619 46.0664C31.2351 46.0201 31.2015 45.9933 31.1611 45.986C31.1207 45.9788 31.067 45.9824 30.9997 45.997L30.9748 45.9013L32.035 45.6255L32.0599 45.7211C32.0135 45.7361 31.9786 45.7556 31.9552 45.7794C31.9318 45.8033 31.9211 45.8416 31.923 45.8944C31.9256 45.9499 31.9403 46.0289 31.967 46.1314L32.2265 47.1293C32.2539 47.2346 32.2811 47.3104 32.308 47.3567C32.3347 47.403 32.3684 47.4298 32.4087 47.437C32.4463 47.445 32.5001 47.4414 32.5701 47.4261L32.595 47.5217L31.5348 47.7975L31.5099 47.702C31.5563 47.687 31.5913 47.6675 31.6146 47.6437C31.638 47.6198 31.6488 47.5815 31.6469 47.5287C31.645 47.476 31.6304 47.3969 31.603 47.2916L31.5142 46.9506C31.4964 46.973 31.473 46.991 31.4439 47.0045C31.4121 47.0187 31.374 47.0315 31.3296 47.043L31.1051 47.1015C31.0303 47.1209 30.9809 47.1471 30.9569 47.18C30.9329 47.2129 30.9307 47.2667 30.9501 47.3416L30.9793 47.4538C31.0067 47.5592 31.0339 47.635 31.0607 47.6812C31.0875 47.7275 31.1211 47.7543 31.1615 47.7615C31.1991 47.7695 31.2528 47.7659 31.3229 47.7506L31.3477 47.8463L30.2876 48.1221L30.2626 48.0265C30.3091 48.0114 30.344 47.992 30.3673 47.9682C30.3908 47.9443 30.4015 47.906 30.3996 47.8532C30.3977 47.8004 30.3831 47.7214 30.3557 47.6161Z" fill="#0A756F"/><path d="M28.5671 48.4073C28.3596 48.4332 28.1723 48.4132 28.0054 48.3474C27.836 48.2848 27.6963 48.1825 27.5862 48.0403C27.4761 47.8982 27.4084 47.7248 27.3829 47.5202C27.3549 47.2956 27.3836 47.0972 27.4689 46.925C27.5543 46.7527 27.6769 46.6133 27.8368 46.5069C27.9939 46.4007 28.1705 46.3354 28.3665 46.311C28.5712 46.2855 28.7584 46.3055 28.9282 46.3709C29.098 46.4364 29.2377 46.5388 29.3474 46.6781C29.4575 46.8202 29.5252 46.9936 29.5507 47.1983C29.5787 47.4228 29.55 47.6211 29.4646 47.7934C29.3793 47.9656 29.2581 48.1048 29.101 48.2109C28.9412 48.3175 28.7631 48.3829 28.5671 48.4073ZM28.3169 46.5034C28.2118 46.5165 28.1325 46.5869 28.0791 46.7148C28.0258 46.8426 28.0148 47.0316 28.0459 47.2817C28.0685 47.4636 28.1075 47.6261 28.1629 47.7694C28.2186 47.9154 28.286 48.0282 28.3652 48.1078C28.4419 48.1906 28.5257 48.2263 28.6167 48.215C28.7219 48.2019 28.8011 48.1315 28.8544 48.0036C28.9078 47.8758 28.9189 47.6867 28.8877 47.4366C28.8651 47.2547 28.8259 47.0907 28.7702 46.9448C28.7148 46.8016 28.6474 46.6887 28.5679 46.6063C28.4886 46.5266 28.405 46.4924 28.3169 46.5034Z" fill="#0A756F"/><path d="M24.6067 48.0095L24.6141 46.9784C24.6149 46.8725 24.6083 46.7923 24.5944 46.7378C24.5805 46.6861 24.5549 46.6515 24.5179 46.6341C24.4807 46.6166 24.4278 46.6063 24.3591 46.6028L24.3598 46.504L25.4553 46.512L25.4546 46.6108C25.4058 46.6133 25.3671 46.623 25.3383 46.6401C25.3095 46.657 25.2892 46.6912 25.2775 46.7427C25.2656 46.7971 25.2593 46.8772 25.2585 46.9832L25.2518 47.9025L25.9922 46.5159L26.744 46.5214L26.7433 46.6202C26.6947 46.6227 26.6559 46.6324 26.6271 46.6494C26.5984 46.6664 26.5781 46.7006 26.5662 46.7521C26.5544 46.8065 26.5481 46.8866 26.5473 46.9925L26.5398 48.0235C26.539 48.1324 26.5456 48.2126 26.5596 48.2643C26.5734 48.3159 26.599 48.3505 26.6361 48.368C26.6703 48.3853 26.7233 48.3958 26.7949 48.3991L26.7941 48.4979L25.6987 48.49L25.6994 48.3912C25.7481 48.3887 25.7868 48.3789 25.8156 48.362C25.8444 48.345 25.8647 48.3108 25.8764 48.2593C25.8883 48.2078 25.8946 48.1277 25.8954 48.0189L25.9021 47.0996L25.1617 48.4861L24.4099 48.4806L24.4106 48.3818C24.4594 48.3794 24.4981 48.3696 24.5268 48.3526C24.5556 48.3356 24.5759 48.3015 24.5877 48.25C24.5995 48.1985 24.6059 48.1183 24.6067 48.0095ZM24.9344 49.6144L24.853 49.5751C24.8922 49.3119 24.9752 49.1191 25.1022 48.997C25.229 48.8747 25.3841 48.8142 25.5674 48.8156C25.6706 48.8163 25.7663 48.8385 25.8547 48.8821C25.9404 48.9256 26.01 48.9977 26.0637 49.0984C26.1146 49.199 26.1393 49.3352 26.1381 49.5071C26.0806 49.541 26.0073 49.5634 25.9185 49.5742C25.8267 49.5878 25.7408 49.5858 25.6608 49.5681C25.6629 49.2673 25.5638 49.1162 25.3633 49.1148C25.2631 49.114 25.1797 49.155 25.1132 49.2375C25.0467 49.323 24.9872 49.4486 24.9344 49.6144Z" fill="#0A756F"/><path d="M20.4109 46.2536C20.438 46.1159 20.4341 46.0246 20.3992 45.9798C20.3642 45.9349 20.2911 45.8987 20.1798 45.8709L20.1989 45.7739L21.4002 46.0108L21.381 46.1077C21.2985 46.0973 21.2353 46.1067 21.1916 46.1361C21.1478 46.1654 21.1124 46.2489 21.0853 46.3866L20.6988 48.3465C20.6799 48.442 20.6871 48.5091 20.7204 48.5478C20.7503 48.5887 20.8116 48.6183 20.9042 48.6366L21.4943 48.7529C21.5562 48.7652 21.6073 48.7577 21.6476 48.7306C21.6846 48.7059 21.7125 48.6457 21.7314 48.5501L22.1179 46.5902C22.145 46.4526 22.1411 46.3613 22.1062 46.3164C22.0713 46.2716 21.9981 46.2352 21.8868 46.2075L21.9059 46.1105L23.1072 46.3474L23.0881 46.4444C23.0055 46.4339 22.9423 46.4433 22.8986 46.4727C22.8549 46.502 22.8194 46.5855 22.7922 46.7232L22.4057 48.6831C22.3786 48.8208 22.3826 48.912 22.4174 48.9569C22.449 49.004 22.5221 49.0403 22.6368 49.0658L22.6177 49.1628L19.7095 48.5893L19.7285 48.4923C19.8106 48.5056 19.8737 48.4962 19.9181 48.464C19.9618 48.4347 19.9972 48.3512 20.0244 48.2135L20.4109 46.2536Z" fill="#0A756F"/>
230<path d="M18.8317 45.1658C19.0068 45.2288 19.1491 45.324 19.2585 45.4516C19.3679 45.5792 19.4359 45.7284 19.4627 45.8994C19.4896 46.0703 19.4676 46.2541 19.3969 46.4509C19.334 46.626 19.2473 46.7654 19.1371 46.8688C19.0233 46.974 18.8987 47.0494 18.7635 47.0952C18.6257 47.14 18.4862 47.1598 18.345 47.1547C18.2001 47.1513 18.0658 47.1274 17.9417 47.0828C17.8474 47.0489 17.7488 47.0013 17.6462 46.9401C17.5424 46.8815 17.4664 46.8176 17.4182 46.7486L17.6405 46.13L17.7336 46.1634C17.6949 46.3809 17.7082 46.5515 17.7733 46.6753C17.8356 46.7981 17.9193 46.8785 18.0245 46.9163C18.1457 46.9598 18.2686 46.9355 18.393 46.8433C18.5138 46.7528 18.6115 46.6038 18.6862 46.3963C18.7442 46.2345 18.767 46.0952 18.7543 45.978C18.7407 45.8635 18.703 45.7693 18.6413 45.6954C18.5759 45.6232 18.4961 45.5701 18.4017 45.5362C18.3398 45.514 18.2581 45.4999 18.1568 45.4939C18.0545 45.4906 17.9494 45.5121 17.8414 45.5586L17.8 45.4706C17.9311 45.326 18.0808 45.2185 18.2492 45.1482C18.4165 45.0804 18.6107 45.0863 18.8317 45.1658Z" fill="#0A756F"/><path d="M15.049 45.1541L15.5101 44.2319C15.5574 44.137 15.5868 44.0621 15.5983 44.007C15.6086 43.9546 15.601 43.9122 15.5753 43.8802C15.5497 43.8482 15.5068 43.8156 15.4466 43.7822L15.4907 43.6938L16.4707 44.1836L16.4265 44.2721C16.3816 44.2528 16.3426 44.2445 16.3093 44.247C16.276 44.2497 16.2426 44.2715 16.2093 44.3124C16.1748 44.356 16.1338 44.4252 16.0865 44.52L15.6754 45.3423L16.9509 44.4238L17.6234 44.7599L17.5793 44.8483C17.5345 44.8291 17.4954 44.8208 17.4621 44.8234C17.4288 44.8259 17.3955 44.8477 17.3622 44.8887C17.3276 44.9322 17.2866 45.0014 17.2392 45.0962L16.7783 46.0184C16.7296 46.1158 16.7002 46.1907 16.6899 46.2433C16.6796 46.2957 16.6873 46.338 16.713 46.37C16.736 46.4007 16.779 46.4334 16.8417 46.4679L16.7975 46.5564L15.8177 46.0665L15.8618 45.9782C15.9066 45.9974 15.9457 46.0057 15.979 46.0031C16.0123 46.0006 16.0456 45.9788 16.0789 45.9378C16.1122 45.8968 16.1532 45.8277 16.2019 45.7303L16.6129 44.9079L15.3373 45.8265L14.6648 45.4903L14.709 45.4019C14.7539 45.4212 14.7929 45.4294 14.8262 45.4269C14.8595 45.4243 14.8928 45.4026 14.9261 45.3615C14.9594 45.3206 15.0003 45.2514 15.049 45.1541Z" fill="#0A756F"/><path d="M15.2783 43.5244L15.2231 43.6063C15.1748 43.5807 15.1097 43.5749 15.0278 43.5889C14.9444 43.6053 14.8493 43.6363 14.7427 43.682L14.146 43.9384L14.159 44.6355C14.161 44.7404 14.1622 44.8206 14.1629 44.8762C14.1635 44.9318 14.1677 44.9743 14.1755 45.0037C14.1833 45.0331 14.2031 45.0603 14.2348 45.085L14.1797 45.167L13.2169 44.5201L13.272 44.438C13.3236 44.4692 13.3764 44.4702 13.4305 44.441C13.4822 44.4102 13.5076 44.3289 13.5064 44.197L13.4985 43.7621L13.0999 43.9239C12.9909 43.968 12.9268 44.0198 12.9076 44.0793C12.8882 44.1388 12.9278 44.2033 13.026 44.2727L12.9709 44.3548L12.3362 43.9282L12.3913 43.8463C12.4547 43.8854 12.5293 43.8976 12.6152 43.8828C12.6994 43.8704 12.7968 43.841 12.9074 43.7945L13.4909 43.55L13.4768 42.8315C13.471 42.6757 13.4643 42.5677 13.4566 42.5073C13.4449 42.4477 13.4252 42.4051 13.3974 42.3796L13.4526 42.2976L14.4189 42.9469L14.3638 43.0289C14.329 43.0089 14.2929 42.9985 14.2555 42.9975C14.2182 42.9966 14.1879 43.0159 14.1647 43.0556C14.1376 43.096 14.1258 43.1675 14.1294 43.27L14.1384 43.7263L14.5501 43.5526C14.6568 43.507 14.7209 43.4551 14.7426 43.3973C14.7602 43.3402 14.7208 43.2757 14.6241 43.2038L14.6793 43.1218L15.2783 43.5244Z" fill="#0A756F"/><path d="M11 42.8624C10.8421 42.7253 10.7319 42.5727 10.6693 42.4045C10.6028 42.2366 10.5856 42.0643 10.6179 41.8873C10.6501 41.7105 10.7338 41.5443 10.8691 41.3886C11.0174 41.2178 11.1843 41.1066 11.3694 41.055C11.5546 41.0034 11.7403 41.0016 11.9263 41.0495C12.1102 41.0954 12.2768 41.1832 12.4259 41.3128C12.5816 41.448 12.6918 41.6006 12.7566 41.7707C12.8213 41.9408 12.8384 42.1131 12.808 42.2878C12.7758 42.4647 12.6921 42.631 12.5568 42.7866C12.4084 42.9574 12.2416 43.0686 12.0565 43.1202C11.8713 43.1717 11.6868 43.1745 11.5028 43.1286C11.3168 43.0807 11.1491 42.992 11 42.8624ZM12.2496 41.4043C12.1696 41.3349 12.0643 41.3229 11.9335 41.3687C11.8027 41.4144 11.6547 41.5324 11.4894 41.7227C11.3692 41.861 11.2743 41.9986 11.2047 42.1355C11.1332 42.2745 11.0944 42.4001 11.0881 42.5121C11.0776 42.6245 11.107 42.7107 11.1763 42.7709C11.2562 42.8404 11.3616 42.8522 11.4924 42.8066C11.6232 42.7608 11.7712 42.6428 11.9365 42.4526C12.0567 42.3142 12.1526 42.1755 12.224 42.0365C12.2936 41.8996 12.3325 41.7741 12.3406 41.6599C12.3471 41.5478 12.3167 41.4626 12.2496 41.4043Z" fill="#0A756F"/><path d="M9.72793 39.254C9.77537 39.157 9.80743 39.0836 9.82412 39.0338C9.83887 38.9818 9.84283 38.9434 9.83597 38.9188C9.8271 38.8919 9.81428 38.8649 9.79741 38.8377L9.87067 38.7715L10.5855 39.5615L10.5122 39.6277C10.4522 39.57 10.3981 39.5572 10.3499 39.5893C10.2996 39.6232 10.2507 39.6867 10.2035 39.7796L9.73558 40.6839L9.74129 40.6903L10.7165 40.3467C10.8198 40.3113 10.8782 40.2584 10.8918 40.1881C10.9036 40.1158 10.876 40.0383 10.8091 39.9559L10.8824 39.8896L11.3435 40.3993L11.2703 40.4656C11.2391 40.4397 11.1889 40.4311 11.1195 40.4398C11.048 40.4504 10.9627 40.4735 10.8636 40.5091L9.82991 40.865C9.75358 40.8916 9.69579 40.9323 9.65652 40.9872C9.61541 41.0398 9.59424 41.0976 9.5931 41.1604C9.59205 41.2232 9.61252 41.28 9.65459 41.3307L9.58133 41.397L8.98755 40.7408C9.0204 40.6918 9.04921 40.6425 9.07398 40.5931C9.09471 40.5434 9.11974 40.4899 9.14891 40.4326L9.72793 39.254Z" fill="#0A756F"/><path d="M7.45888 38.8777C7.33768 38.7074 7.26644 38.5331 7.24513 38.3549C7.21983 38.176 7.24363 38.0045 7.31652 37.8402C7.38941 37.6758 7.50987 37.5339 7.67789 37.4144C7.86226 37.2832 8.05049 37.2143 8.24261 37.2077C8.43473 37.201 8.6156 37.2429 8.78519 37.3331C8.95322 37.4209 9.09446 37.5454 9.209 37.7065C9.32855 37.8744 9.39979 38.0487 9.4228 38.2292C9.44573 38.4097 9.42192 38.5812 9.35139 38.7439C9.27848 38.9083 9.15806 39.0502 8.99003 39.1698C8.80565 39.3009 8.6174 39.3698 8.42528 39.3764C8.23316 39.383 8.05312 39.3424 7.88516 39.2545C7.71553 39.1643 7.5
2307344 39.0387 7.45888 38.8777ZM9.01611 37.754C8.95471 37.6676 8.85511 37.6314 8.71722 37.6451C8.57936 37.6588 8.40774 37.7387 8.20237 37.8848C8.05302 37.9911 7.92846 38.1025 7.82869 38.2192C7.72658 38.3375 7.65929 38.4505 7.62679 38.5579C7.59029 38.6647 7.59861 38.7554 7.65175 38.8301C7.71317 38.9164 7.81281 38.9528 7.95068 38.9391C8.08854 38.9253 8.26015 38.8455 8.46552 38.6993C8.61487 38.5931 8.7406 38.4808 8.84272 38.3624C8.94251 38.2458 9.00979 38.1328 9.04457 38.0237C9.07707 37.9162 9.06759 37.8264 9.01611 37.754Z" fill="#0A756F"/><path d="M5.76929 35.9309L6.4089 35.5784L6.4566 35.6649C6.29632 35.7598 6.1932 35.8575 6.14724 35.958C6.10128 36.0586 6.09972 36.1478 6.14258 36.2255L6.19234 36.3158C6.2269 36.3785 6.2674 36.4134 6.31383 36.4205C6.36026 36.4276 6.4349 36.4029 6.53774 36.3462L7.44073 35.8485C7.53354 35.7974 7.60031 35.7524 7.64106 35.7136C7.67929 35.6762 7.69695 35.637 7.69403 35.5961C7.69111 35.5552 7.67431 35.5039 7.64365 35.4423L7.73018 35.3947L8.25895 36.3541L8.17241 36.4018C8.1464 36.3605 8.11896 36.3315 8.09009 36.3148C8.0612 36.298 8.02143 36.297 7.97075 36.3119C7.91756 36.328 7.84457 36.3617 7.75176 36.4129L6.84877 36.9106C6.75346 36.9631 6.68668 37.0081 6.64845 37.0455C6.6102 37.0829 6.59255 37.1221 6.59547 37.163C6.59701 37.2014 6.6138 37.2526 6.64586 37.3167L6.55932 37.3644L5.76929 35.9309Z" fill="#0A756F"/><path d="M5.17976 33.3375L6.13136 32.9407C6.22917 32.8999 6.30043 32.8624 6.34514 32.8282C6.38721 32.7952 6.40901 32.7582 6.41054 32.7172C6.41207 32.6763 6.40093 32.6235 6.37712 32.5589L6.46831 32.5209L6.88996 33.532L6.79876 33.57C6.77738 33.5262 6.75324 33.4944 6.72636 33.4745C6.69947 33.4547 6.66003 33.4494 6.60805 33.4587C6.55342 33.4691 6.4772 33.4946 6.37939 33.5354L5.53087 33.8893L7.09664 34.0276L7.386 34.7215L7.29481 34.7595C7.27342 34.7157 7.24929 34.6839 7.22241 34.664C7.19553 34.6442 7.15609 34.6389 7.1041 34.6482C7.04946 34.6586 6.97325 34.6841 6.87544 34.725L5.92383 35.1218C5.82338 35.1636 5.75212 35.2012 5.71005 35.2342C5.66798 35.2673 5.64618 35.3043 5.64465 35.3453C5.64202 35.3836 5.65317 35.4364 5.67808 35.5036L5.58688 35.5416L5.16524 34.5305L5.25644 34.4925C5.27782 34.5363 5.30196 34.5681 5.32883 34.588C5.35572 34.6077 5.39516 34.613 5.44714 34.6038C5.49913 34.5945 5.57536 34.5689 5.6758 34.527L6.52432 34.1732L4.95855 34.0348L4.66919 33.3409L4.76038 33.303C4.78177 33.3468 4.8059 33.3786 4.83279 33.3985C4.85967 33.4182 4.89911 33.4235 4.9511 33.4143C5.00309 33.405 5.0793 33.3794 5.17976 33.3375Z" fill="#0A756F"/><path d="M4.37883 30.4462L5.37564 30.1827C5.47809 30.1557 5.55379 30.1283 5.60274 30.1005C5.64893 30.0734 5.67557 30.0398 5.68267 29.9994C5.68977 29.959 5.68592 29.9052 5.67113 29.838L5.76666 29.8127L6.04657 30.8719L5.95105 30.8972C5.93583 30.8508 5.91626 30.816 5.89233 30.7927C5.8684 30.7694 5.83005 30.7588 5.77728 30.7609C5.72175 30.7637 5.64275 30.7787 5.5403 30.8058L4.65147 31.0406L6.18378 31.3911L6.37588 32.118L6.28036 32.1432C6.26515 32.0968 6.24558 32.062 6.22164 32.0387C6.19771 32.0155 6.15936 32.0048 6.10659 32.0069C6.05106 32.0097 5.97207 32.0247 5.86961 32.0517L4.87279 32.3152C4.76757 32.343 4.69187 32.3704 4.6457 32.3975C4.59951 32.4245 4.57287 32.4582 4.56577 32.4986C4.55794 32.5362 4.56179 32.59 4.57732 32.6599L4.48178 32.6852L4.20187 31.6261L4.29739 31.6008C4.31261 31.6471 4.33218 31.6819 4.35611 31.7053C4.38004 31.7286 4.41839 31.7392 4.47116 31.7371C4.52393 31.735 4.60292 31.7201 4.70814 31.6922L5.59696 31.4573L4.06465 31.1069L3.87256 30.38L3.96808 30.3548C3.9833 30.4012 4.00287 30.436 4.02679 30.4592C4.05073 30.4825 4.08908 30.4931 4.14184 30.491C4.19462 30.4889 4.27361 30.474 4.37883 30.4462Z" fill="#0A756F"/></svg>
231                    </div>
232                    <div class="header-logo-text">
233                        МЕЖДУНАРОДНЫЙ УНИВЕРСИТЕТ <br>
234                        ИНТЕГРАТИВНОЙ ПСИХОЛОГИИ
235                    </div>
236                </div>
237            </div>
238            <div class="header-middle">
239                <div class="header-search-wr">
240                    <div class="header-search-form-wr">
241                        <form role="search" method="get" class="search-form" action="https://psy-muip.ru/">
242                            <input type="search" 
243                                class="search-field" 
244                                placeholder="Поиск"
245                                value="" 
246                                name="s" 
247                                aria-label="Поиск по сайту:" />
248                            <button type="submit" class="search-submit" aria-label="Поиск">
249                                <!-- Иконка поиска может быть здесь или остаться отдельно -->
250                            </button>
251                        </form>
252                    </div>
253                    <div class="header-search-icon">
254                        <svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M7.8125 1.25C4.18813 1.25 1.25 4.18813 1.25 7.8125C1.25 11.4369 4.18813 14.375 7.8125 14.375C9.62313 
25414.375 11.2613 13.6425 12.4494 12.4562C13.64 11.2675 14.375 9.62625 14.375 7.8125C14.375 4.18813 11.4369 1.25 7.8125 1.25ZM0 7.8125C0 3.4975 3.4975 0 7.8125 0C12.1275 0 15.625 3.4975 15.625 7.8125C15.625 9.74625 14.9219 11.5169 13.7581 12.8806L17.3162 16.4325C17.5606 16.6762 17.5613 17.0725 17.3175 17.3162C17.0738 17.5606 16.6775 17.5613 16.4338 17.3175L12.8738 13.7644C11.5106 14.9244 9.74312 15.625 7.8125 15.625C3.4975 15.625 0 12.1275 0 7.8125Z" fill="#1C1C1C"/></svg>
255                        <span>
256                            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 36 36" style="&#10;    width: 18px;&#10;    height: 18px;&#10;"><path fill="#31373D" d="M22.238 18.004l9.883-9.883c1.172-1.171 1.172-3.071 0-4.243-1.172-1.171-3.07-1.171-4.242 0l-9.883 9.883-9.883-9.882c-1.171-1.172-3.071-1.172-4.243 0-1.171 1.171-1.171 3.071 0 4.243l9.883 9.882-9.907 9.907c-1.171 1.171-1.171 3.071 0 4.242.585.586 1.354.879 2.121.879s1.536-.293 2.122-.879l9.906-9.906 9.882 9.882c.586.586 1.354.879 2.121.879s1.535-.293 2.121-.879c1.172-1.171 1.172-3.071 0-4.242l-9.881-9.883z"/></svg>
257                        </span>
258                    </div>
259                </div>
260                <div class="header-middle-right-wr">
261                    <div class="header-phone">
262                        <a href="tel:88003339616">
263                            <svg width="19" height="19" viewBox="0 0 19 19" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M3.22672 0.0645275C2.8943 0.154371 2.67418 0.284643 2.13512 0.706909C1.47028 1.228 0.926721 1.72664 0.670666 2.05007C0.0372676 2.8407 -0.155896 3.84246 0.127111 4.83972C0.414611 5.85046 1.58258 8.13699 2.5484 9.58347C3.9859 11.7262 5.78277 13.6264 7.78629 15.1089C9.2777 16.2184 11.0656 17.2382 12.822 17.9794C13.5857 18.3028 13.9136 18.3792 14.5021 18.3837C15.0546 18.3837 15.3377 18.3118 15.8722 18.0378C16.3125 17.8087 16.9369 17.2112 17.5658 16.4116C18.0734 15.7647 18.1543 15.6344 18.2486 15.3155C18.4328 14.6821 18.2127 13.9409 17.6916 13.4512C17.2873 13.0739 13.6531 11.0479 13.0916 10.8862C12.7322 10.7829 12.2156 10.8098 11.9505 10.9491C11.5552 11.1512 11.2498 11.569 11.115 12.0946C10.9982 12.5393 10.8769 12.6606 10.549 12.6606C10.3064 12.6606 10.1267 12.5573 9.58317 12.0991C8.40621 11.1153 7.29215 10.0102 6.36676 8.91414C5.77828 8.21785 5.69742 8.08308 5.69742 7.81355C5.69742 7.53503 5.86363 7.3823 6.28141 7.2655C6.9193 7.0948 7.37301 6.71296 7.51676 6.22781C7.69195 5.62585 7.56168 5.21257 6.78453 3.94128C6.60934 3.65378 6.20055 2.90808 5.87262 2.27917C5.54918 1.65027 5.22125 1.04832 5.14488 0.93601C4.83492 0.468824 4.45758 0.176832 4.01285 0.0600338C3.68942 -0.0208244 3.55016 -0.0208244 3.22672 0.0645275ZM3.97692 0.864136C4.31383 1.02136 4.48903 1.27742 5.20778 2.65652C5.55367 3.32136 5.94899 4.0491 6.08824 4.27371C6.7486 5.35632 6.8609 5.62136 6.8025 5.9448C6.75309 6.19636 6.515 6.39851 6.13317 6.51082C5.63453 6.65457 5.55367 6.6905 5.34703 6.88367C5.06852 7.13972 4.96969 7.35984 4.94274 7.76414C4.91578 8.23132 5.0191 8.48289 5.45934 9.02195C6.50602 10.3202 8.03785 11.843 9.29117 12.8493C9.92457 13.3524 10.0324 13.4018 10.549 13.4018C10.9039 13.4018 11.0072 13.3839 11.1599 13.303C11.4384 13.1548 11.69 12.8403 11.7798 12.5393C12.0089 11.7667 12.1662 11.5825 12.5929 11.5825C12.8939 11.587 13.1275 11.6858 14.2775 12.3192C17.1255 13.887 17.3277 14.0262 17.4849 14.48C17.6377 14.9382 17.5703 15.1583 17.0447 15.8366C16.4248 16.6407 15.8588 17.1932 15.441 17.3954C14.5336 17.8446 13.9226 17.7143 11.717 16.6137C7.33258 14.435 4.01285 11.1378 1.78922 6.7489C1.06598 5.31589 0.756018 4.48933 0.756018 3.96824C0.756018 3.12371 1.1109 2.5532 2.19352 1.64578C2.97516 0.989918 3.33903 0.7698 3.65348 0.760817C3.70289 0.756323 3.84664 0.805738 3.97692 0.864136Z" fill="#0A756F"/></svg>
264                            <span>8 800 333-96-16</span>
265                        </a>
266                    </div>
267                                        <div class="header-work ">
268                        Ежедневно: 10:00 - 19:00 (мск)
269                    </div>
270                    <div class="header-eyed bvi-open">
271                       
272                        <svg width="24" height="12" viewBox="0 0 24 12" fill="none" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><rect width="24" height="12" fill="url(#pattern0_10002_511)"/><defs><pattern id="pattern0_10002_511" patternContentUnits="objectBoundingBox" width="1" height="1"><use xlink:href="#image0_10002_511" transform="scale(0.0416667 0.0833333)"/></pattern><image id="image0_10002_511" width="24" height="12" preserveAspectRatio="none" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAMCAYAAAB4MH11AAAB9klEQVR4AXyTSUhXURSHX0HapqBoURARQVSLVhFtKoho
272oCCioJFogKJFRBC4UAQn3CiKKIgIoiBOiCCCMyJOoIgLERduBBUX7lQEZ/2+p1dQ1D+/75xz733vf+4979yT0dG/WyyVwwpsHUMBa1fhUB2W4BJPtsE4fIUEUCOYFEiHIQj6SzAJ9XAO9ulggl+szsJTaIGz8Akewh3IhjS4B/dBmaCJ4C3MwHvYkwnCDguZLYEFeAwvYBGqoRe6IZSqmLgfnkMmvILvsAQ1kAEqwQSrRK3wBzrhCnSB/gw+qHk3WMb/hkqwlPP41+D3uo3vg1SoglUT1BE8Ax94gj8BKg+TBWoacxHUacwGfAY1iHkAyhMYNzL4CMUmCCVaY0KFBJ7MF5y7jHHXuFjrsd0xls3/cRTedQOOE13weNb4JzN2QlgcYPwSlCVz55sOIBE8OS66i/F9XHQKY5nf4D3FDxP4sF1SyqSdMIq3VEX4m+B98KN3EPs8LrL+dssjBhegAd7BGPhsDt6NxyfwIjGObNF/BJajHW+n2A3eh+uM/U6WQL4wtm09WTKxnVaLPw/fIAnUStiRA/FWXiPwyNY8fOQJ5kzqBv4T98AwKNv7A4H3xs6rIN7TwQQuTGEsmS3nrhjGsmz5RLlgp+BilWFvgPdmDr9P2wAAAP//iDvSGwAAAAZJREFUAwDR+2qo1gSBVAAAAABJRU5ErkJggg=="/></defs></svg>
273                    </div>
274                </div>
275            </div>
276            <div class="header-callback">
277                <div class="header-callback-btn" data-target="sgPopup1858">Получить консультацию</div>
278            </div>
279        </div>
280        <div class="header-br">
281            <ul id="menu-headermenu" class="header-nav"><li id="menu-item-75" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-75"><a href="/programm/">Программы</a></li>
282<li id="menu-item-76" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-76"><a href="/blog/">Блог</a></li>
283<li id="menu-item-77" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-77"><a href="/svedenia/">Сведения об организации</a></li>
284<li id="menu-item-78" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-78"><a href="/ob-universitete/">Об университете</a></li>
285<li id="menu-item-79" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-79"><a href="/catalog/">Каталог психологов</a></li>
286<li id="menu-item-80" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-80"><a href="/klub-psikhologov/">Клуб психологов</a></li>
287<li id="menu-item-1314" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-1314"><a href="https://psy-muip.ru/referal/">Приведи друга в МУИП</a></li>
288<li id="menu-item-82" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-82"><a href="/kontakty/">Контакты</a></li>
289<li id="menu-item-83" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-83"><a href="/probody/">О платформе</a></li>
290</ul>            <div class="header-work mobile ">
291                Ежедневно: 10:00 - 19:00 (мск)
292            </div>
293        </div>
294    </header>
295    <div class="header-margin-bottom"></div>
296
297
298     
299     
300    
301    
302    
303
304            <div id="content" class="site-content fixed">
305    
306                
307            <div class="site-content-inner" 456>
308    
309
310    <!-- ========== 1 ЭКРАН ========== -->
311    <section class="fp-main-banner">
312        <div class="fp-main-banner-wr">
313            <div class="fp-main-banner-left">
314                <h1><b>Станьте <br>специалистом,</b><br> который меняет жизни</h1>
315                <div class="fp-main-banner-offer">
316                    Освойте современные методы психологии и начните работать с запросами людей под руководством опытных
317                    наставников
318                </div>
319                <div class="fp-main-banner-btn" data-target="sgPopup1436">ВЫБРАТЬ ПРОГРАММУ</div>
320            </div>
321            <div class="fp-main-banner-right">
322                <div class="fp-main-banner-right-image">
323                    <img src="https://psy-muip.ru/wp-content/themes/reboot_child/assets/images/home/main-bg-1.webp"
324                         width="920" height="605" alt="уровень удовлетворенности студентов качеством программ">
325                    <div class="fp-main-banner-right-info">
326                        <div class="fp-main-banner-right-info-top">9.9&nbsp;/&nbsp;10</div>
327                        <div class="fp-main-banner-right-info-bottom">уровень удовлетворенности <br>студентов качеством
328                            программ
329                        </div>
330                    </div>
331                </div>
332            </div>
333        </div>
334        <div class="fp-main-banner-under-points">
335            <div class="fp-main-banner-under-point">
336                <div class="fp-main-banner-under-point-title">100&nbsp;000+</div>
337                <div class="fp-main-banner-under-point-descr">слушателей <br>по&nbsp;всему миру</div>
338            </div>
339            <div class="fp-main-banner-under-point">
340                <div class="fp-main-banner-under-point-title">20+</div>
341                <div class="fp-main-banner-under-point-descr">профессионалов <br>преподают и&nbsp;передают свои <br>знания
342                    в&nbsp;университете
343                </div>
344            </div>
345            <div class="fp-main-banner-under-point">
346                <div class="fp-main-banner-under-point-title">1</div>
347                <div class="fp-main-banner-under-point-descr">международная <br>аккредитация: <br> HISTES, OEAEP</div>
348            </div>
349            <div class="fp-main-banner-under-point">
350                <div class="fp-main-banner-under-point-title">
3505</div>
351                <div class="fp-main-banner-under-point-descr">лет доступа <br>к&nbsp;образовательным <br>программам
352                </div>
353            </div>
354        </div>
355    </section>
356
357    <!-- ========== 2 ЭКРАН ========== -->
358    <div class="screen screen-2">
359        <h2 class="screen-2__title title"><b>Что вы получите,</b><br>обучаясь с нами</h2>
360        <div class="screen-2__list list">
361            <div class="list__item item item--type-1">
362                <div class="item__header">
363                    <div class="item__label">ОБРАЗОВАНИЕ</div>
364                </div>
365                <div class="item__body">
366                    <div class="item__title">
367                        Получите качественное образование с
368                        акцентом на практику
369                    </div>
370                    <div class="item__line"></div>
371                    <div class="item__description">
372                        Высокое качество лекций, практика и
373                        супервизии, наставничество и
374                        профессиональная обратная связь от
375                        кураторов с высшим психологическим
376                        образованием
377                    </div>
378                </div>
379            </div>
380            <div class="list__item item item--type-2">
381                <div class="item__header">
382                    <div class="item__label">
383                        <svg width="13" height="13" viewBox="0 0 13 13" fill="none" xmlns="http://www.w3.org/2000/svg">
384                            <rect width="12.8" height="12.8" rx="6.4" fill="#59A987"/>
385                        </svg>
386                        ПОМОЩЬ В ПРОДВИЖЕНИИ
387                    </div>
388                    <div class="item__image image"><img
389                                src="/wp-content/themes/reboot_child/assets/images/home/screen-2/list-item-2.webp"
390                                alt="">
391                    </div>
392                </div>
393                <div class="item__body">
394                    <div class="item__title">Регистрация в каталоге психологов</div>
395                    <div class="item__description">
396                        <ul>
397                            <li>Ежемесячный трафик клиентов на каталог</li>
398                            <li>Возможность попасть в VIP команду психологов Анны Протасовой</li>
399                            <li>600 000 рублей — рекорд заработка выпускника на личных терапиях</li>
400                        </ul>
401                    </div>
402                </div>
403            </div>
404            <div class="list__item item item--type-1">
405                <div class="item__header">
406                    <div class="item__label">ГИБКОСТЬ</div>
407                </div>
408                <div class="item__body">
409                    <div class="item__title">
410                        Получите профессию без отрыва
411                        от реальной жизни
412                    </div>
413                    <div class="item__line"></div>
414                    <div class="item__description">
415                        Для освоения новой профессии вам
416                        потребуется от 7 до 10 часов в неделю. Все
417                        лекции уже записаны, а онлайн-занятия
418                        проводятся в удобное время для
419                        большинства студентов путем голосования
420                    </div>
421                </div>
422            </div>
423            <div class="list__item item item--type-2">
424                <div class="item__header">
425                    <div class="item__label">
426                        <svg width="13" height="13" viewBox="0 0 13 13" fill="none" xmlns="http://www.w3.org/2000/svg">
427                            <rect width="12.8" height="12.8" rx="6.4" fill="#59A987"/>
428                        </svg>
429                        ОФИЦИАЛЬНЫЕ ДОКУМЕНТЫ
430                    </div>
431                    <div class="item__image image"><img
432                                src="/wp-content/themes/reboot_child/assets/images/home/screen-2/list-item-4.webp"></div>
433                </div>
434                <div class="item__body">
435                    <div class="item__title">Получите диплом установленного
436                        и международного образца
437                    </div>
438                    <div class="item__description">
439                        Мы выдаем дипломы профессиональной
440                        переподготовки и повышения квалификации
441                        на основании государственной лицензии и
442                        дипломы международного образца (MBA
443                        чешского института OEAEP). Работайте в
444                        России и по всему миру!
445                    </div>
446                </div>
447            </div>
448            <div class="list__item item item--type-1">
449                <div class="item__header">
450                    <div class="item__label">МОНЕТИЗАЦИЯ</div>
451                </div>
452                <div class="item__body">
453                    <div class="item__title">Монетизируете свои знания</div>
454                    <div class="item__line"></div>
455                    <div class="item__description">
456                        Благодаря специальному бизнес-модулю вы:
457                        создадите личный бренд, свой продукт, научитесь
458                        искать клиентов <br>
459                        <em>*Мы даем все необходимые навыки для
460                            становления в профессии психолог, но не даем
461                            никаких гарантий. Успех и реализация студента
462                            — его ответственность.</em>
463                    </div>
464                </div>
465            </div>
466        </div>
467        <div class="screen-2__slider swiper">
468            <div class="swiper-wrapper">
469                <div class="swiper-slide">
470                    <div class="list__item item item--type-1">
471                        <div class="item__header">
472                            <div class="item__label">ОБРАЗОВАНИЕ</div>
473                        </div>
474                        <div class="item__body">
475                            <div class="item__title">
476                                Получите качественное образование с
477                                акцентом на практику
478                            </div>
479                            <div class="item__line"></div>
480                            <div class="item__description">
481                                Высокое качество лекций, практика и
482                                супервизии, наставничество и
483                                профессиональная обратная связь от
484                                кураторов с высшим психологическим
485                                образованием
486                            </div>
487                        </div>
488                    </div>
489                </div>
490                <div class="swiper-slide">
491                    <div class="list__item item item--type-2">
492                        <div class="item__header">
493                            <div class="item__label">ПОМОЩЬ В ПРОДВИЖЕНИИ</div>
494                            <div class="item__image image"><img
495                                        src="/wp-content/themes/reboot_child/assets/images/home/screen-2/list-item-2.webp"
496                                        alt=""></div>
497                        </div>
498                        <div class="item__body">
499                            <div class="item__title">Регистрация в каталоге психологов</div>
500                            <div class="item__description">
501                                <ul>
502                                    <li>Ежемесячный трафик клиентов на каталог</li>
503                                    <li>Возможность попасть в VIP команду психологов Анны Протасовой</li>
504                                    <li>600 000 рублей — рекорд заработка выпускника на личных терапиях</li>
505                                </ul>
506                            </div>
507                        </div>
508                    </div>
509                </div>
510                <div class="swiper-slide">
511                    <div class="list__item item item--type-1">
512                        <div class="item__header">
513                            <div class="item__label">ГИБКОСТЬ</div>
514                        </div>
515                        <div class="item__body">
516                            <div class="item__title">
517                                Получите профессию без отрыва
518                                от реальной жизни
519                            </div>
520                            <div class="item__line"></div>
521                            <div class="item__description">
522                                Для освоения новой профессии вам
523                                потребуется от 7 до 10 часов в неделю. Все
524                                лекции уже записаны, а онлайн-занятия
525                                проводятся в удобное время для
526                                большинства студентов путем голосования
527                            </div>
528                        </div>
529                    </div>
530                </div>
531                <div class="swiper-slide">
532                    <div class="list__item item item--type-2">
533                        <div class="item__header">
534                            <div class="item__label">ОФИЦИАЛЬНЫЕ ДОКУМЕНТЫ</div>
535                            <div class="item__image image"><img
536                                        src="/wp-content/themes/reboot_child/assets/images/home/screen-2/list-item-2.webp">
537                            </div>
538                        </div>
539                        <div class="item__body">
540                            <div class="item__title">Получите диплом установленного
541                                и международного образца
542                            </div>
543                            <div class="item__description">
544                                Мы выдаем дипломы профессиональной
545                                переподготовки и повышения квалификации
546                                на основании государственной лицензии и
547                                дипломы международного образца (MBA
548                                чешского института OEAEP). Работайте в
549                                России и по всему миру!
550                            </div>
551                        </div>
552                    </div>
553                </div>
554                <div class="swiper-slide">
555                    <div class="list__item item item--type-1">
556                        <div class="item__header">
557                            <div class="item__label">МОНЕТИЗАЦИЯ</div>
558                        </div>
559                        <div class="item__body">
560                            <div class="item__title">Монетизируете свои знания</div>
561                            <div class="item__line"></div>
562                            <div class="item__description">
563                                Благодаря специальному бизнес-модулю вы:
564                                создадите личный бренд, свой продукт, научитесь
565                                искать клиентов <br>
566                                <em>*Мы даем все необходимые навыки для
567                                    становления в профессии психолог, но не даем
568                                    никаких гарантий. Успех и реализация студента
569                                    — его ответственность.</em>
570                            </div>
571                        </div>
572                    </div>
573                </div>
574            </div>
575        </div>
576        <div class="screen-2__slider-nav slider-nav">
577            <div class="slider-nav__button slider-nav-prev">
578                <svg width="40" height="40" viewBox="0 0 40 40" fill="none" xmlns="http://www.w3.org/2000/svg">
579                    <g clip-path="url(#clip0_19_10)">
580                        <path d="M20 0C8.95431 0 0 8.95431 0 20C0 31.0457 8.95431 40 20 40C31.0457 40 40 31.0457 40 20C40 8.95431 31.0457 0 20 0Z"
581                              fill="#0C7670"/>
582                        <path d="M10.4486 19.4817C10.2806 19.6497 10.2806 19.922 10.448
5826 20.09L13.1858 22.8272C13.3537 22.9951 13.626 22.9951 13.794 22.8272C13.962 22.6592 13.962 22.3869 13.794 22.2189L11.3609 19.7858L13.794 17.3527C13.962 17.1848 13.962 16.9125 13.794 16.7445C13.626 16.5765 13.3537 16.5765 13.1858 16.7445L10.4486 19.4817ZM29.2473 19.3557H10.7527V20.2159H29.2473V19.3557Z"
583                              fill="white"/>
584                    </g>
585                    <defs>
586                        <clipPath id="clip0_19_10">
587                            <rect width="40" height="40" fill="white" transform="matrix(-1 0 0 -1 40 40)"/>
588                        </clipPath>
589                    </defs>
590                </svg>
591            </div>
592            <div class="slider-nav__button slider-nav-next">
593                <svg width="40" height="40" viewBox="0 0 40 40" fill="none" xmlns="http://www.w3.org/2000/svg">
594                    <g clip-path="url(#clip0_19_10)">
595                        <path d="M20 40C31.0457 40 40 31.0457 40 20C40 8.95431 31.0457 0 20 0C8.95431 0 0 8.95431 0 20C0 31.0457 8.95431 40 20 40Z"
596                              fill="#0C7670"/>
597                        <path d="M29.5514 20.5183C29.7194 20.3503 29.7194 20.078 29.5514 19.91L26.8142 17.1728C26.6463 17.0049 26.374 17.0049 26.206 17.1728C26.038 17.3408 26.038 17.6131 26.206 17.7811L28.6391 20.2142L26.206 22.6473C26.038 22.8152 26.038 23.0875 26.206 23.2555C26.374 23.4235 26.6463 23.4235 26.8142 23.2555L29.5514 20.5183ZM10.7527 20.6443H29.2473V19.7841H10.7527V20.6443Z"
598                              fill="white"/>
599                    </g>
600                    <defs>
601                        <clipPath id="clip0_19_10">
602                            <rect width="40" height="40" fill="white"/>
603                        </clipPath>
604                    </defs>
605                </svg>
606            </div>
607        </div>
608    </div>
609
610    <!-- ========== 3 ЭКРАН ========== -->
611    <div class="screen screen-3">
612        <h2 class="screen-3__title title"><b>Наш подход</b><br>к обучению</h2>
613        <div class="screen-3__list">
614            <div class="list__item item">
615                <div class="item__number">1</div>
616                <div class="item__title">Даем конкретные, системные навыки психолога-практика</div>
617            </div>
618            <div class="list__item item">
619                <div class="item__number">2</div>
620                <div class="item__title">Учим работать с клиентами, находить проблему, выявлять запрос,
621                    проводить диагностические сессии
622                </div>
623            </div>
624            <div class="list__item item">
625                <div class="item__number">3</div>
626                <div class="item__title">Обучаем в мини-группах под руководством практикующих психологов,
627                    чтобы каждый получил достаточно внимания и не остался незамеченным
628                    наедине со своими трудностями
629                </div>
630            </div>
631            <div class="list__item item">
632                <div class="item__number">4</div>
633                <div class="item__title">Обучаем навыкам самопрезентации и продаж</div>
634            </div>
635            <div class="list__item item">
636                <div class="item__number">5</div>
637                <div class="item__title">Поддерживаем в процессе обучения и после: развиваем
638                    международную ассоциацию психологов
639                </div>
640            </div>
641        </div>
642    </div>
643
644    <!-- ========== 4 ЭКРАН ========== -->
645    <div class="screen screen-4">
646        <h2 class="screen-4__title title">Используем <b>самые <br>эффективные <br>инструменты</b> для обучения</h2>
647        <div class="screen-4__list">
648            <div class="list__item item">
649                <div class="tools-item">
650                    <div class="tools-question" data-tools-toggle>
651                        <h3 class="tools-question-text">Супервизии</h3>
652                        <div class="tools-toggle-icon">
653                            <svg width="45" height="45" viewBox="0 0 45 45" fill="none"
654                                 xmlns="http://www.w3.org/2000/svg" class="tools-icon-plus">
655                                <circle cx="22.5" cy="22.5" r="22.5" fill="#eeeeee"/>
656                                <path d="M30 23.748H23.75V29.998C23.75 30.3296 23.6183 30.6475 23.3839 30.8819C23.1495 31.1163 22.8315 31.248 22.5 31.248C22.1685 31.248 21.8505 31.1163 21.6161 30.8819C21.3817 30.6475 21.25 30.3296 21.25 29.998V23.748H15C14.6685 23.748 14.3505 23.6163 14.1161 23.3819C13.8817 23.1475 13.75 22.8296 13.75 22.498C13.75 22.1665 13.8817 21.8486 14.1161 21.6142C14.3505 21.3797 14.6685 21.248 15 21.248H21.25V14.998C21.25 14.6665 21.3817 14.3486 21.6161 14.1142C21.8505 13.8797 22.1685 13.748 22.5 13.748C22.8315 13.748 23.1495 13.8797 23.3839 14.1142C23.6183 14.3486 23.75 14.6665 23.75 14.998V21.248H30C30.3315 21.248 30.6495 21.3797 30.8839 21.6142C31.1183 21.8486 31.25 22.1665 31.25 22.498C31.25 22.8296 31.1183 23.1475 30.8839 23.3819C30.6495 23.6163 30.3315 23.748 30 23.748Z"
657                                      fill="white"/>
658                            </svg>
659                            <svg width="45" height="45" viewBox="0 0 45 45" fill="none"
660                                 xmlns="http://www.w3.org/2000/svg" class="tools-icon-minus">
661                                <circle cx="22.5" cy="22.5" r="22" fill="white" stroke="#eeeeee"/>
662                                <path d="M29.5 24.2476H14.5C14.1685 24.2476 13.8505 24.1159 13.6161 23.8814C13.3817 23.647 13.25 23.3291 13.25 22.9976C13.25 22.666 13.3817 22.3481 13.6161 22.1137C13.8505 21.8793 14.1685 21.7476 14.5 21.7476H29.5C29.8315 21.7476 30.1495 21.8793 30.3839 22.1137C30.6183 22.3481 30.75 22.666 30.75 22.9976C30.75 23.3291 30.6183 23.647 30.3839 23.8814C30.1495 24.1159 29.8315 24.2476 29.5 24.2476Z"
663                                      fill="#eeeeee"/>
664                            </svg>
665                        </div>
666                    </div>
667                    <div class="tools-answer" aria-expanded="false">
668                        <div class="tools-answer-content">
669                            Супервизия строится вокруг разбора конкретных примеров из практики, где вы с опытным
670                            наставником,
671                            опираясь на его опыт и ваши навыки ищете способы решать проблемы клиентов эффективнее. Одна
672                            из
673                            задач
674                            супервизора с помощью вопросов и определить ваши сильные и слабые стороны, чтобы помогать
675                            вам
676                            развиваться
677                        </div>
678                    </div>
679                </div>
680            </div>
681            <div class="list__item item">
682                <div class="tools-item">
683                    <div class="tools-question" data-tools-toggle>
684                        <h3 class="tools-question-text">Работа в тройках</h3>
685                        <div class="tools-toggle-icon">
686                            <svg width="45" height="45" viewBox="0 0 45 45" fill="none"
687                                 xmlns="http://www.w3.org/2000/svg" class="tools-icon-plus">
688                                <circle cx="22.5" cy="22.5" r="22.5" fill="#eeeeee"/>
689                                <path d="M30 23.748H23.75V29.998C23.75 30.3296 23.6183 30.6475 23.3839 30.8819C23.1495 31.1163 22.8315 31.248 22.5 31.248C22.1685 31.248 21.8505 31.1163 21.6161 30.8819C21.3817 30.6475 21.25 30.3296 21.25 29.998V23.748H15C14.6685 23.748 14.3505 23.6163 14.1161 23.3819C13.8817 23.1475 13.75 22.8296 13.75 22.498C13.75 22.1665 13.8817 21.8486 14.1161 21.6142C14.3505 21.3797 14.6685 21.248 15 21.248H21.25V14.998C21.25 14.6665 21.3817 14.3486 21.6161 14.1142C21.8505 13.8797 22.1685 13.748 22.5 13.748C22.8315 13.748 23.1495 13.8797 23.3839 14.1142C23.6183 14.3486 23.75 14.6665 23.75 14.998V21.248H30C30.3315 21.248 30.6495 21.3797 30.8839 21.6142C31.1183 21.8486 3
6891.25 22.1665 31.25 22.498C31.25 22.8296 31.1183 23.1475 30.8839 23.3819C30.6495 23.6163 30.3315 23.748 30 23.748Z"
690                                      fill="white"/>
691                            </svg>
692                            <svg width="45" height="45" viewBox="0 0 45 45" fill="none"
693                                 xmlns="http://www.w3.org/2000/svg" class="tools-icon-minus">
694                                <circle cx="22.5" cy="22.5" r="22" fill="white" stroke="#eeeeee"/>
695                                <path d="M29.5 24.2476H14.5C14.1685 24.2476 13.8505 24.1159 13.6161 23.8814C13.3817 23.647 13.25 23.3291 13.25 22.9976C13.25 22.666 13.3817 22.3481 13.6161 22.1137C13.8505 21.8793 14.1685 21.7476 14.5 21.7476H29.5C29.8315 21.7476 30.1495 21.8793 30.3839 22.1137C30.6183 22.3481 30.75 22.666 30.75 22.9976C30.75 23.3291 30.6183 23.647 30.3839 23.8814C30.1495 24.1159 29.8315 24.2476 29.5 24.2476Z"
696                                      fill="#eeeeee"/>
697                            </svg>
698                        </div>
699                    </div>
700                    <div class="tools-answer" aria-expanded="false">
701                        <div class="tools-answer-content">
702                            Метод позволяет побывать сразу в нескольких ролях: психолога, клиента и наблюдателя. То есть
703                            помогает посмотреть на процесс консультирования изнутри сразу с трех позиций, получить
704                            комментарии
705                            по своей работе и дать обратную связь коллегам
706                        </div>
707                    </div>
708                </div>
709            </div>
710            <div class="list__item item">
711                <div class="tools-item">
712                    <div class="tools-question" data-tools-toggle>
713                        <h3 class="tools-question-text">Мастермайнды</h3>
714                        <div class="tools-toggle-icon">
715                            <svg width="45" height="45" viewBox="0 0 45 45" fill="none"
716                                 xmlns="http://www.w3.org/2000/svg" class="tools-icon-plus">
717                                <circle cx="22.5" cy="22.5" r="22.5" fill="#eeeeee"/>
718                                <path d="M30 23.748H23.75V29.998C23.75 30.3296 23.6183 30.6475 23.3839 30.8819C23.1495 31.1163 22.8315 31.248 22.5 31.248C22.1685 31.248 21.8505 31.1163 21.6161 30.8819C21.3817 30.6475 21.25 30.3296 21.25 29.998V23.748H15C14.6685 23.748 14.3505 23.6163 14.1161 23.3819C13.8817 23.1475 13.75 22.8296 13.75 22.498C13.75 22.1665 13.8817 21.8486 14.1161 21.6142C14.3505 21.3797 14.6685 21.248 15 21.248H21.25V14.998C21.25 14.6665 21.3817 14.3486 21.6161 14.1142C21.8505 13.8797 22.1685 13.748 22.5 13.748C22.8315 13.748 23.1495 13.8797 23.3839 14.1142C23.6183 14.3486 23.75 14.6665 23.75 14.998V21.248H30C30.3315 21.248 30.6495 21.3797 30.8839 21.6142C31.1183 21.8486 31.25 22.1665 31.25 22.498C31.25 22.8296 31.1183 23.1475 30.8839 23.3819C30.6495 23.6163 30.3315 23.748 30 23.748Z"
719                                      fill="white"/>
720                            </svg>
721                            <svg width="45" height="45" viewBox="0 0 45 45" fill="none"
722                                 xmlns="http://www.w3.org/2000/svg" class="tools-icon-minus">
723                                <circle cx="22.5" cy="22.5" r="22" fill="white" stroke="#eeeeee"/>
724                                <path d="M29.5 24.2476H14.5C14.1685 24.2476 13.8505 24.1159 13.6161 23.8814C13.3817 23.647 13.25 23.3291 13.25 22.9976C13.25 22.666 13.3817 22.3481 13.6161 22.1137C13.8505 21.8793 14.1685 21.7476 14.5 21.7476H29.5C29.8315 21.7476 30.1495 21.8793 30.3839 22.1137C30.6183 22.3481 30.75 22.666 30.75 22.9976C30.75 23.3291 30.6183 23.647 30.3839 23.8814C30.1495 24.1159 29.8315 24.2476 29.5 24.2476Z"
725                                      fill="#eeeeee"/>
726                            </svg>
727                        </div>
728                    </div>
729                    <div class="tools-answer" aria-expanded="false">
730                        <div class="tools-answer-content">
731                            Еженедельные встречи внутри группы с психологом. Во время встреч каждый участник группы
732                            может
733                            задать
734                            вопрос и получить ответ. Также, все участники делятся мыслями и опытом
735                        </div>
736                    </div>
737                </div>
738            </div>
739            <div class="list__item item">
740                <div class="tools-item">
741                    <div class="tools-question" data-tools-toggle>
742                        <h3 class="tools-question-text">Очные модули</h3>
743                        <div class="tools-toggle-icon">
744                            <svg width="45" height="45" viewBox="0 0 45 45" fill="none"
745                                 xmlns="http://www.w3.org/2000/svg" class="tools-icon-plus">
746                                <circle cx="22.5" cy="22.5" r="22.5" fill="#eeeeee"/>
747                                <path d="M30 23.748H23.75V29.998C23.75 30.3296 23.6183 30.6475 23.3839 30.8819C23.1495 31.1163 22.8315 31.248 22.5 31.248C22.1685 31.248 21.8505 31.1163 21.6161 30.8819C21.3817 30.6475 21.25 30.3296 21.25 29.998V23.748H15C14.6685 23.748 14.3505 23.6163 14.1161 23.3819C13.8817 23.1475 13.75 22.8296 13.75 22.498C13.75 22.1665 13.8817 21.8486 14.1161 21.6142C14.3505 21.3797 14.6685 21.248 15 21.248H21.25V14.998C21.25 14.6665 21.3817 14.3486 21.6161 14.1142C21.8505 13.8797 22.1685 13.748 22.5 13.748C22.8315 13.748 23.1495 13.8797 23.3839 14.1142C23.6183 14.3486 23.75 14.6665 23.75 14.998V21.248H30C30.3315 21.248 30.6495 21.3797 30.8839 21.6142C31.1183 21.8486 31.25 22.1665 31.25 22.498C31.25 22.8296 31.1183 23.1475 30.8839 23.3819C30.6495 23.6163 30.3315 23.748 30 23.748Z"
748                                      fill="white"/>
749                            </svg>
750                            <svg width="45" height="45" viewBox="0 0 45 45" fill="none"
751                                 xmlns="http://www.w3.org/2000/svg" class="tools-icon-minus">
752                                <circle cx="22.5" cy="22.5" r="22" fill="white" stroke="#eeeeee"/>
753                                <path d="M29.5 24.2476H14.5C14.1685 24.2476 13.8505 24.1159 13.6161 23.8814C13.3817 23.647 13.25 23.3291 13.25 22.9976C13.25 22.666 13.3817 22.3481 13.6161 22.1137C13.8505 21.8793 14.1685 21.7476 14.5 21.7476H29.5C29.8315 21.7476 30.1495 21.8793 30.3839 22.1137C30.6183 22.3481 30.75 22.666 30.75 22.9976C30.75 23.3291 30.6183 23.647 30.3839 23.8814C30.1495 24.1159 29.8315 24.2476 29.5 24.2476Z"
754                                      fill="#eeeeee"/>
755                            </svg>
756                        </div>
757                    </div>
758                    <div class="tools-answer" aria-expanded="false">
759                        <div class="tools-answer-content">
760                            На отдельных программах предусмотрены очные встречи – интенсивное обучение в рамках 1-2 дней
761                            для
762                            отработки в режиме реального времени
763                        </div>
764                    </div>
765                </div>
766            </div>
767        </div>
768    </div>
769
770    <!-- ========== 5 ЭКРАН ========== -->
771    <div class="screen screen-5">
772        <h2 class="screen-5__title title">В МУИП учатся <br>
773            <b>1765 студентов <br>из 23 стран мира</b>
774        </h2>
775        <div class="screen-5__image image">
776            <img src="/wp-content/themes/reboot_child/assets/images/home/screen-5/img.webp" alt="">
777        </div>
778    </div>
779
780    <!-- ========== ДИПЛОМ ========== -->
781    <div class="diploma screen">
782        <div class="diploma-wrapper">
783            <div class="diploma-decoration">
784                <svg width="436" height="263" viewBox="0 0 436 263" fill="none" xmlns="http://www.w3.org/2000/svg">
785                    <g clip-path="url(#clip0_2_605)">
786                        <g clip-path="url(#clip1_2_605)">
787                            <g clip-path="url(#clip2_2_605)">
788                                <path d="M217.595 148.187C281.702 148.187 333.671 121.313 333.671 88.1611C333.671 55.0094 281.702 28.1349 217.595 28.1349C153.488 28.1349 101.519 55.0094 101.519 88.1611C101.519 121.313 153.488 148.187 217.595 148.187ZM217.595 148.187C268.234 148.187 309.285 128.871 309.285 105.043C309.285 81.2157 268.234 61.8997 217.595 61.8997C166.956 61.8997 125.905 81.2157 125.905 105.043C125.905 128.871 166.956 148.187 217.595 148.187ZM217.595 148.187C260.464 148.187 295.216 136.22 295.216 121.457C295.216 106.694 260.464 94.7265 217.595 94.7265C174.726 94.7265 139.974 106.694 139.974 12
7881.457C139.974 136.22 174.726 148.187 217.595 148.187ZM217.595 148.187C257.087 148.187 289.101 138.949 289.101 127.553C289.101 116.157 257.087 106.919 217.595 106.919C178.103 106.919 146.089 116.157 146.089 127.553C146.089 138.949 178.103 148.187 217.595 148.187ZM217.595 0.935547C122.409 0.935547 45.2447 39.9878 45.2447 88.1611C45.2447 136.334 122.409 175.387 217.595 175.387C312.781 175.387 389.945 136.334 389.945 88.1611C389.945 39.9878 312.781 0.935547 217.595 0.935547ZM217.595 0.935547C109.977 0.935547 22.735 47.5463 22.735 105.043C22.735 162.541 109.977 209.151 217.595 209.151C325.213 209.151 412.455 162.541 412.455 105.043C412.455 47.5463 325.213 0.935547 217.595 0.935547ZM217.595 0.935547C102.207 0.935547 8.66639 55.3148 8.66639 122.395C8.66639 189.475 102.207 243.854 217.595 243.854C332.983 243.854 426.524 189.475 426.524 122.395C426.524 55.3148 332.983 0.935547 217.595 0.935547ZM217.595 0.935547C99.3681 0.935547 3.52643 58.8841 3.52643 130.367C3.52643 201.85 99.3681 259.799 217.595 259.799C335.822 259.799 431.663 201.85 431.663 130.367C431.663 58.8841 335.822 0.935547 217.595 0.935547ZM212.905 0.935547V105.043M261.433 144.436C272.532 165.539 290.883 217.03 275.502 254.171M294.729 132.712C316.301 131.774 355.224 180.545 338.81 236.351M314.425 120.988C349.596 103.168 408.685 164.601 380.547 215.717M418.533 175.387C429.788 137.87 378.203 66.1203 306.453 115.829M398.368 61.8997C373.67 56.2722 319.865 59.7425 307.859 111.14M358.975 32.8245C334.746 35.6382 288.07 56.8349 295.198 119.112M316.301 17.349C298.48 23.289 265.841 51.3013 277.846 115.829M268.936 5.15614C258.15 20.788 239.204 63.4003 249.709 108.795M173.444 144.436C162.345 165.539 143.993 217.03 159.375 254.171M140.148 132.712C118.576 131.774 79.6529 180.545 96.0663 236.351M120.452 120.988C85.2803 103.168 26.1919 164.601 54.3293 215.717M16.3439 175.387C5.08894 137.87 56.6741 66.1203 128.424 115.829M36.5089 61.8997C61.2072 56.2722 115.012 59.7425 127.017 111.14M75.9013 32.8245C100.13 35.6382 146.807 56.8349 139.679 119.112M118.576 17.349C136.396 23.289 169.036 51.3013 157.03 115.829M165.941 5.15614C176.727 20.788 195.672 63.4003 185.168 108.795M212.905 148.187V259.799"
789                                      stroke="#E3E3E3" stroke-width="1.87582"/>
790                            </g>
791                        </g>
792                    </g>
793                    <defs>
794                        <clipPath id="clip0_2_605">
795                            <rect width="435.19" height="262.61" fill="white"/>
796                        </clipPath>
797                        <clipPath id="clip1_2_605">
798                            <rect width="435.19" height="262.61" fill="white"/>
799                        </clipPath>
800                        <clipPath id="clip2_2_605">
801                            <rect width="435.19" height="262.615" fill="white" transform="translate(0 -0.00244141)"/>
802                        </clipPath>
803                    </defs>
804                </svg>
805            </div>
806            <div class="diploma-image">
807                <img src="/wp-content/themes/reboot_child/assets/images/home/diploma/diploma.webp" alt="">
808            </div>
809            <div class="diploma-content">
810                <h2 class="diploma-title">
811                    Международный <br> диплом МBA
812                </h2>
813                <div class="diploma-text">
814                    <p>Наши выпускники получают <b>диплом MBA чешского института OEAEP,</b> который:</p>
815                    <ul>
816                        <li>Признается во всех странах мира</li>
817                        <li>Дает возможность трудоустройства в странах Европы</li>
818                    </ul>
819                    <img class="--img-origin-size"
820                         src="/wp-content/themes/reboot_child/assets/images/home/diploma/sk.webp" alt="" width="84"
821                         height="62">
822                    <p><b>МУИП – Участник «Сколково» с 2023 года</b></p>
823                    <ul>
824                        <li><a href="/svedenia/">Сведения об образовательной организации<
824/a></li>
825                        <li><a href="/license/">Лицензия №Л035-01298-77/00737076</a></li>
826                    </ul>
827                </div>
828            </div>
829        </div>
830        <div class="diploma-list">
831            <div class="diploma-list__item item">
832                <a class="item__image image"
833                   href="/wp-content/themes/reboot_child/assets/images/home/diploma/certificate-1.webp"
834                   data-fancybox="diploma-gallery">
835                    <img src="/wp-content/themes/reboot_child/assets/images/home/diploma/certificate-1.webp" alt="">
836                </a>
837                <div class="item__caption"><b>Свидетельство на товарный знак</b></div>
838            </div>
839            <div class="diploma-list__item item">
840                <a class="item__image image"
841                   href="/wp-content/themes/reboot_child/assets/images/home/diploma/certificate-2.webp"
842                   data-fancybox="diploma-gallery">
843                    <img src="/wp-content/themes/reboot_child/assets/images/home/diploma/certificate-2.webp" alt="">
844                </a>
845                <div class="item__caption">
846                    <b>Свидетельство на товарный знак</b>
847                    МУИП является членом СРО Национальная Ассоциация развития психотерапевтической и психологической
848                    науки и
849                    практики «Союз психотерапевтов и психологов»
850                </div>
851            </div>
852        </div>
853    </div>
854
855    <!-- ========== ПРИЛОЖЕНИЕ ========== -->
856    <div class="app screen">
857        <div class="app-wrapper">
858            <div class="app-decoration">
859                <svg width="436" height="263" viewBox="0 0 436 263" fill="none" xmlns="http://www.w3.org/2000/svg">
860                    <g clip-path="url(#clip0_2_605)">
861                        <g clip-path="url(#clip1_2_605)">
862                            <g clip-path="url(#clip2_2_605)">
863                                <path d="M217.595 148.187C281.702 148.187 333.671 121.313 333.671 88.1611C333.671 55.0094 281.702 28.1349 217.595 28.1349C153.488 28.1349 101.519 55.0094 101.519 88.1611C101.519 121.313 153.488 148.187 217.595 148.187ZM217.595 148.187C268.234 148.187 309.285 128.871 309.285 105.043C309.285 81.2157 268.234 61.8997 217.595 61.8997C166.956 61.8997 125.905 81.2157 125.905 105.043C125.905 128.871 166.956 148.187 217.595 148.187ZM217.595 148.187C260.464 148.187 295.216 136.22 295.216 121.457C295.216 106.694 260.464 94.7265 217.595 94.7265C174.726 94.7265 139.974 106.694 139.974 121.457C139.974 136.22 174.726 148.187 217.595 148.187ZM217.595 148.187C257.087 148.187 289.101 138.949 289.101 127.553C289.101 116.157 257.087 106.919 217.595 106.919C178.103 106.919 146.089 116.157 146.089 127.553C146.089 138.949 178.103 148.187 217.595 148.187ZM217.595 0.935547C122.409 0.935547 45.2447 39.9878 45.2447 88.1611C45.2447 136.334 122.409 175.387 217.595 175.387C312.781 175.387 389.945 136.334 389.945 88.1611C389.945 39.9878 312.781 0.935547 217.595 0.935547ZM217.595 0.935547C109.977 0.935547 22.735 47.5463 22.735 105.043C22.735 162.541 109.977 209.151 217.595 209.151C325.213 209.151 412.455 162.541 412.455 105.043C412.455 47.5463 325.213 0.935547 217.595 0.935547ZM217.595 0.935547C102.207 0.935547 8.66639 55.3148 8.66639 122.395C8.66639 189.475 102.207 243.854 217.595 243.854C332.983 243.854 426.524 189.475 426.524 122.395C426.524 55.3148 332.983 0.935547 217.595 0.935547ZM217.595 0.935547C99.3681 0.935547 3.52643 58.8841 3.52643 130.367C3.52643 201.85 99.3681 259.799 217.595 259.799C335.822 259.799 431.663 201.85 431.663 130.367C431.663 58.8841 335.822 0.935547 217.595 0.935547ZM212.905 0.935547V105.043M261.433 144.436C272.532 165.539 290.883 217.03 275.502 254.171M294.729 132.712C316.301 131.774 355.224 180.545 338.81 236.351M314.425 120.988C349.596 103.168 408.685 164.601 380.547 215.717M418.533 175.387C429.788 137.87 378.203 66.1203 306.453 115.829M398.368 61.8997C373.67 56.2722 319.865 59.7425 307.859 
863111.14M358.975 32.8245C334.746 35.6382 288.07 56.8349 295.198 119.112M316.301 17.349C298.48 23.289 265.841 51.3013 277.846 115.829M268.936 5.15614C258.15 20.788 239.204 63.4003 249.709 108.795M173.444 144.436C162.345 165.539 143.993 217.03 159.375 254.171M140.148 132.712C118.576 131.774 79.6529 180.545 96.0663 236.351M120.452 120.988C85.2803 103.168 26.1919 164.601 54.3293 215.717M16.3439 175.387C5.08894 137.87 56.6741 66.1203 128.424 115.829M36.5089 61.8997C61.2072 56.2722 115.012 59.7425 127.017 111.14M75.9013 32.8245C100.13 35.6382 146.807 56.8349 139.679 119.112M118.576 17.349C136.396 23.289 169.036 51.3013 157.03 115.829M165.941 5.15614C176.727 20.788 195.672 63.4003 185.168 108.795M212.905 148.187V259.799"
864                                      stroke="#E3E3E3" stroke-width="1.87582"/>
865                            </g>
866                        </g>
867                    </g>
868                    <defs>
869                        <clipPath id="clip0_2_605">
870                            <rect width="435.19" height="262.61" fill="white"/>
871                        </clipPath>
872                        <clipPath id="clip1_2_605">
873                            <rect width="435.19" height="262.61" fill="white"/>
874                        </clipPath>
875                        <clipPath id="clip2_2_605">
876                            <rect width="435.19" height="262.615" fill="white" transform="translate(0 -0.00244141)"/>
877                        </clipPath>
878                    </defs>
879                </svg>
880            </div>
881            <div class="app-title app-title--mobile">PROBODY</div>
882            <div class="app-image">
883                <img src="/wp-content/themes/reboot_child/assets/images/home/app/app.webp" alt="">
884            </div>
885            <div class="app-content">
886                <h2 class="app-title app-title--desktop">PROBODY</h2>
887                <div class="app-text">
888                    <p>– это мобильное приложение, которое позволяет пользователям проходить обучение и слушать гипнозы
889                        на
890                        различные темы в удобном и интуитивно понятном интерфейсе.</p>
891                    <p class="--green"><b>Основные возможности</b></p>
892                    <p><b>Обучение</b></p>
893                    <p>Курсы и уроки: Разнообразные видеокурсы и текстовые уроки.</p>
894                    <p>Прогресс: Отслеживание прогресса и возобновление курсов с места остановки.</p>
895                    <p><b>Гипнозы</b></p>
896                    <p>Темы: Гипнозы для управления стрессом, улучшения сна, повышения уверенности и
897                        других целей.
898                    <p>Аудио: Прослушивание гипнозов в аудиоформате.</p>
899                    <p><b>Интерфейс</b></p>
900                    <p>Удобная навигация: Легкий доступ к курсам и гипнозам.</p>
901                    <p>Профиль: Индивидуальные настройки и отслеживание достижений.</p>
902                    <br>
903                    <p>ProBody помогает пользователям достигать своих целей и улучшать качество жизни
904                        через удобное обучение и эффективные гипнозы.</p>
905                </div>
906            </div>
907        </div>
908    </div>
909
910
911    <!-- ========== ПРОГРАММЫ ========== -->
912    <div class="programs screen" id="programs-section">
913
914        <h2 class="programs-title title">
915            Программы <b>обучения</b> и <br> ближайшие <b>мероприятия</b>
916        </h2>
917
918        <div class="programs-categories">
919            <div class="programs-category active" data-category="all">Все</div>
920            <div class="programs-category" data-category="1">
921                Профессиональная <br>переподготовка
922            </div>
923            <div class="programs-category" data-category="2">
924                Повышение<br>квалификации
925            </div>
926            <div class="programs-category" data-category="3">
927                Саморазвитие
928            </div>
929            <div class="programs-category" data-category="4">
930                Интенсивы
931            </div>
932        </div>
933
934        <div class="programs-posts --bg-grey">
935
936                            
937                <div class="programs-post-item program program--0 program--view-1"
938                     data-categories="1 3"  >
939
940                                            <div class="bg image">
941                            <img src="https://psy-muip.ru/wp-content/uploads/2025/12/bgg.webp" alt=""
942                                 class="">
943
944                                                    </div>
945                    
946                    <div class="program-content">
947
948                        <div class="program-content__wrapper">
949                                                            <div class="label label--desktop">
950                                    Профессиональная переподготовка                                </div>
951                            
952                            
953                                                            <div class="title"
954                                     style="color: #fff">
955                                    «Психолог-практик. Интегративный подход»<span>(нормативный срок обучения 1300 час.)</span>                                </div>
956                            
957                                                            <div class="text">
958                                    Вы освоите 5 методов работы психолога, получите первый практический опыт работы с клиентом, получите два диплома: российский с занесением в реестр и международный MBA. Сможете легально консультировать через 12 месяцев обучения: в РФ и зарубежом                                </div>
959                                                    </div>
960
961                        <div class="program-content__wrapper">
962                                                            <div class="over-button-text">
963                                    12 месяцев | Онлайн                                 </div>
964                            
965                                                            <div class="button-wrapper">
966                                                                                                                    <a class="button" href="/programm/psy-consult/" style="color:#fff; border: 1px solid #fff">
967                                            Подробнее                                        </a>
968                                    
969                                                                            <div class="price">
970                                            от 399 000 рублей                                        </div>
971                                                                    </div>
972                                                    </div>
973                    </div>
974
975                                            <div class="program-image__wrapper">
976                                                                                                <div class="label label--mobile">
977                                        Профессиональная переподготовка                                    </div>
978                                                                <div class="program-image image">
979                                    <img src="https://psy-muip.ru/wp-content/uploads/2025/12/vector.webp" alt="">
980                                </div>
981                                                    </div>
982                    
983                </div>
984                            
985                <div class="programs-post-item program program--1 program--view-2"
986                     data-categories="4"  >
987
988                                            <div class="bg image">
989                            <img src="https://psy-muip.ru/wp-content/uploads/2025/12/bg-2.webp" alt=""
990                                 class="--desktop">
991
992                                                            <img src="https://psy-muip.ru/wp-content/uploads/2025/12/1-1.webp" alt="" class="--mobile">
993                                                    </div>
994                    
995                    <div class="program-content">
996
997                        <div class="program-content__wrapper">
998                                                            <div class="label label--desktop">
999                                    Профессиональная переподготовка                                </div>
1000                            
1001                                                            <div class="over-title">
1002                                    Дополнительная профессиональная программа профессиональной переподготовки                                </div>
1003                            
1004                                                            <div class="title"
1005                                     style="color: #0d7570">
1006                                    Когнитивно-поведенческая терапия                                </div>
1007                            
1008                                                            <div class="text">
1009                                    Авторская программа профессиональной переподготовки: от базовых техник до «третьей волны» КПТ (ACT, DBT, CFT). <br>
1010Получите диплом и реальную практику под сопровождением экспертов.                                </div>
1011                                                    </div>
1012
1013                        <div class="program-content__wrapper">
1014                                                            <div class="over-button-text">
1015                                    6,5 месяцев | Онлайн                                 </div>
1016                            
1017                                                            <div class="button-wrapper">
1018                                                                                                                    <a class="button" href="/programm/kognitivno-povedencheskaya-terapiya/" style="color:#fff; background-color:#0d7570">
1019                                            Подробнее                                        </a>
1020                                    
1021                                                                            <div class="price">
1022                                            от 179 000 рублей                                        </div>
1023                                                                    </div>
1024                                                    </div>
1025                    </div>
1026
1027                                            <div class="program-image__wrapper">
1028                                                    </div>
1029                    
1030                </div>
1031                            
1032                <div class="programs-post-item program program--2 program--view-2"
1033                     data-categories="2" style="color: #fff " >
1034
1035                                            <div class="bg image">
1036                            <img src="https://psy-muip.ru/wp-content/uploads/2025/12/frame_2_1.webp" alt=""
1037                                 class="--desktop">
1038
1039                                                            <img src="https://psy-muip.ru/wp-content/uploads/2026/02/frame_3_2.webp" alt="" class="--mobile">
1040                                                    </div>
1041                    
1042                    <div class="program-content">
1043
1044                        <div class="program-content__wrapper">
1045                                                            <div class="label label--desktop">
1046                                    Дополнительная профессиональная программа повышения квалификации                                </div>
1047                            
1048                                                            <div class="over-title">
1049                                    Повышение квалификации                                </div>
1050                            
1051                                                            <div class="title"
1052                                     style="color: #fff">
1053                                    Практические техники и алгоритмы психоанализа                                </div>
1054                            
1055                                                            <div class="text">
1056                                    Изучите ключевые модели психоанализа и их различия и освойте базовый инструментарий психоаналитика, чтобы анализировать сны, защиты и клинические случаи                                </div>
1057                                                    </div>
1058
1059                        <div class="program-content__wrapper">
1060                                                            <div class="over-button-text">
1061                                    2 месяца                                </div>
1062                            
1063                                                            <div class="button-wrapper">
1064                                                                                                                    <a class="button" href="/programm/psikhoanaliz/" style="color:#fff; background-color:#0d7570">
1065                                            Подробнее                                        </a>
1066                                    
1067                                                                            <div class="price">
1068                                            от 89 000 рублей                                        </div>
1069                                                                    </div>
1070                                                    </div>
1071                    </div>
1072
1073                                            <div class="program-image__wrapper">
1074                                                    </div>
1075                    
1076                </div>
1077                            
1078                <div class="programs-post-item program program--3 program--view-2"
1079                     data-categories="2" style="color: #141414 " >
1080
1081                                            <div class="bg image">
1082                            <img src="https://psy-muip.ru/wp-content/uploads/2026/01/fon.webp" alt=""
1083                                 class="--desktop">
1084
1085                                                            <img src="https://psy-muip.ru/wp-content/uploads/2026/01/fon-1.webp" alt="" class="--mobile">
1086                                                    </div>
1087                    
1088                    <div class="program-content">
1089
1090                        <div class="program-content__wrapper">
1091                            
1092                            
1093                                                            <div class="title"
1094                                     style="color: #141414">
1095                                    ФАКУЛЬТЕТ ПОВЫШЕНИЯ КВАЛИФИКАЦИИ МУИП                                </div>
1096                            
1097                                                            <div class="text">
1098                                    Системный профессиональный апгрейд для практикующих психологов <br>
1099Целая образовательная экосистема, где вы не просто учитесь, а растёте  <br>в профессии, уверенности и доходе                                </div>
1100                                                    </div>
1101
1102                        <div class="program-content__wrapper">
1103                            
1104                                                            <div class="button-wrapper">
1105                                                                                                                    <a class="button" href="/programm/fakultet-povysheniya-kvalifikaczii/" style="color:#fff; background-color:#810c0c">
1106                                            Подробнее                                        </a>
1107                                    
1108                                                                            <div class="price">
1109                                            от 159 000 рублей                                        </div>
1110                                                                    </div>
1111                                                    </div>
1112                    </div>
1113
1114                    
1115                </div>
1116                            
1117                <div class="programs-post-item program program--4 program--view-1"
1118                     data-categories="1"  >
1119
1120                                            <div class="bg image">
1121                            <img src="https://psy-muip.ru/wp-content/uploads/2025/12/frame_2.webp" alt=""
1122                                 class="">
1123
1124                                                    </div>
1125                    
1126                    <div class="program-content">
1127
1128                        <div class="program-content__wrapper">
1129                                                            <div class="label label--desktop">
1130                                    Профессиональная переподготовка                                </div>
1131                            
1132                            
1133                                                            <div class="title"
1134                                     style="color: #fff">
1135                                    «Психолог-консультант»                                </div>
1136                            
1137                                                            <div class="text">
1138                                    Освойте базовый уровень  интегративной психологии и начните диагностировать запросы клиентов, работать с типовыми трудностями и выстраивать консультативный процесс в рамках профессиональных и этических стандартов                                </div>
1139                                                    </div>
1140
1141                        <div class="program-content__wrapper">
1142                                                            <div class="over-button-text">
1143                                    5,5 месяцев | Онлайн                                </div>
1144                            
1145                                                            <div class="button-wrapper">
1146                                                                                                                    <a class="button" href="/programm/psiholog-konsultant/" style="color:#fff; background-color:#0d7570">
1147                                            Подробнее                                        </a>
1148                                    
1149                                                                            <div class="price">
1150                                            от 179 000 рублей                                        </div>
1151                                                                    </div>
1152                                                    </div>
1153                    </div>
1154
1155                                            <div class="program-image__wrapper">
1156                                                                                                <div class="label label--mobile">
1157                                        Профессиональная переподготовка                                    </div>
1158                                                                <div class="program-image image">
1159                                    <img src="https://psy-muip.ru/wp-content/uploads/2025/12/illustracia-cifrovog.png.webp" alt="">
1160                                </div>
1161                                                    </div>
1162                    
1163                </div>
1164                            
1165                <div class="programs-post-item program program--5 program--view-1"
1166                     data-categories="1" style="color: #fff " >
1167
1168                                            <div class="bg image">
1169                            <img src="https://psy-muip.ru/wp-content/uploads/2026/01/78.webp" alt=""
1170                                 class="--desktop">
1171
1172                                                            <img src="https://psy-muip.ru/wp-content/uploads/2026/01/80.webp" alt="" class="--mobile">
1173                                                    </div>
1174                    
1175                    <div class="program-content">
1176
1177                        <div class="program-content__wrapper">
1178                            
1179                                                            <div class="over-title">
1180                                    Дополнительная профессиональная программа профессиональной переподготовки                                </div>
1181                            
1182                                                            <div class="title"
1183                                     style="color: #ffffff">
1184                                    ИНТЕГРАТИВНЫЙ
1185ПСИХОЛОГ- ПРАКТИК                                </div>
1186                            
1187                                                            <div class="text">
1188                                    Освоите углублённые терапевтические подходы, научитесь работать с глубокими и сложными запросами, укрепите уверенность и практику.                                </div>
1189                                                    </div>
1190
1191                        <div class="program-content__wrapper">
1192                                                            <div class="over-button-text">
1193                                    7 месяцев | Онлайн                                 </div>
1194                            
1195                                                            <div class="button-wrapper">
1196                                                                                                                    <a class="button" href="/programm/vtoraya-stupen/" style="color:#fff; background-color:#0d7570">
1197                                            Подробнее                                        </a>
1198                                    
1199                                                                            <div class="price">
1200                                            от 249 000 рублей                                        </div>
1201                                                                    </div>
1202                                                    </div>
1203                    </div>
1204
1205                    
1206                </div>
1207                            
1208                <div class="programs-post-item program program--6 program--view-1"
1209                     data-categories="1"  >
1210
1211                                            <div class="bg image">
1212                            <img src="https://psy-muip.ru/wp-content/uploads/2026/01/mesh-470.png.webp" alt=""
1213                                 class="">
1214
1215                                                    </div>
1216                    
1217                    <div class="program-content">
1218
1219                        <div class="program-content__wrapper">
1220                                                            <div class="label label--desktop">
1221                                    Профессиональная переподготовка                                </div>
1222                            
1223                                                            <div class="over-title">
1224                                    Повышение квалификации                                </div>
1225                            
1226                                                            <div class="title"
1227                                     style="color: #fff">
1228                                    «Телесные трансы и гипнозы»                                </div>
1229                            
1230                                                            <div class="text">
1231                                    Вы освоите метод гипнотерапии, сможете работать с проблемами, истинная причина которых прячется в бессознательном. Получите практический опыт работы с клиентом, отработаете навыки на офлайн-модуле и получите удостоверение о повышении квалификации и диплом mini-MBA                                </div>
1232                                                    </div>
1233
1234                        <div class="program-content__wrapper">
1235                                                            <div class="over-button-text">
1236                                     от 3 месяцев | Онлайн + офлайн                                </div>
1237                            
1238                                                            <div class="button-wrapper">
1239                                                                                                                    <a class="button" href="/programm/specialization_trances/" style="color:#fff; background-color:#0d7570">
1240                                            Подробнее                                        </a>
1241                                    
1242                                                                            <div class="price">
1243                                            от 129 000 рублей                                        </div>
1244                                                                    </div>
1245                                                    </div>
1246                    </div>
1247
1248                                            <div class="program-image__wrapper">
1249                                                                                                <div class="label label--mobile">
1250                                        Профессиональная переподготовка                                    </div>
1251                                                                <div class="program-image image">
1252                                    <img src="https://psy-muip.ru/wp-content/uploads/2025/12/unnamed-file.webp" alt="">
1253                                </div>
1254                                                    </div>
1255                    
1256                </div>
1257                            
1258                <div class="programs-post-item program program--7 program--view-1"
1259                     data-categories="2"  >
1260
1261                                            <div class="bg image">
1262                            <img src="https://psy-muip.ru/wp-content/uploads/2025/12/frame_2.webp" alt=""
1263                                 class="">
1264
1265                                                    </div>
1266                    
1267                    <div class="program-content">
1268
1269                        <div class="program-content__wrapper">
1270                                                            <div class="label label--desktop">
1271                                    Повышение квалификации                                </div>
1272                            
1273                            
1274                                                            <div class="title"
1275                                     style="color: #fff">
1276                                    Десенсибилизация и переработка движением глаз (дпдг)                                </div>
1277                            
1278                                                            <div class="text">
1279                                    Изучите инновационный метод психотерапии
для эффективной работы с запросами клиентов                                </div>
1280                                                    </div>
1281
1282                        <div class="program-content__wrapper">
1283                                                            <div class="over-button-text">
1284                                    8 недель | Онлайн                                 </div>
1285                            
1286                                                            <div class="button-wrapper">
1287                                                                                                                    <a class="button" href="/programm/dpdg/" style="color:#fff; background-color:#0d7570">
1288                                            Подробнее                                        </a>
1289                                    
1290                                                                            <div class="price">
1291                                            от 109 000 рублей                                        </div>
1292                                                                    </div>
1293                                                    </div>
1294                    </div>
1295
1296                                            <div class="program-image__wrapper">
1297                                                                                                <div class="label label--mobile">
1298                                        Повышение квалификации                                    </div>
1299                                                                <div class="program-image image">
1300                                    <
1300img src="https://psy-muip.ru/wp-content/uploads/2025/12/acab6ced-a991-41a2-9.webp" alt="">
1301                                </div>
1302                                                    </div>
1303                    
1304                </div>
1305                            
1306                <div class="programs-post-item program program--8 program--view-1"
1307                     data-categories="3"  >
1308
1309                                            <div class="bg image">
1310                            <img src="https://psy-muip.ru/wp-content/uploads/2025/12/891844f8-3436-4a7b-b.webp" alt=""
1311                                 class="">
1312
1313                                                    </div>
1314                    
1315                    <div class="program-content">
1316
1317                        <div class="program-content__wrapper">
1318                                                            <div class="label label--desktop">
1319                                    Саморазвитие                                </div>
1320                            
1321                            
1322                                                            <div class="title"
1323                                     style="color: #0d7570">
1324                                    «Психотерапевтический женский клуб»                                </div>
1325                            
1326                                                            <div class="text">
1327                                    Крупнейшее женское сообщество  по работе с телом и психикой через призму телесно-ориентированной терапии. Большая база данных с практиками и уроками, лекции от экпертов, мастермайнды с психологам, совместные занятия танцами и йогой, а также нетворкинг и общение с единомышленниками                                </div>
1328                                                    </div>
1329
1330                        <div class="program-content__wrapper">
1331                                                            <div class="over-button-text">
1332                                    от 1 месяца                                </div>
1333                            
1334                                                            <div class="button-wrapper">
1335                                                                                                                    <a class="button" href="/programm/womanclub/" style="color:#fff; background-color:#0d7570">
1336                                            Подробнее                                        </a>
1337                                    
1338                                                                            <div class="price">
1339                                            от 4 500 рублей                                        </div>
1340                                                                    </div>
1341                                                    </div>
1342                    </div>
1343
1344                                            <div class="program-image__wrapper">
1345                                                                                                <div class="label label--mobile">
1346                                        Саморазвитие                                    </div>
1347                                                                <div class="program-image image">
1348                                    <img src="https://psy-muip.ru/wp-content/uploads/2025/12/img_6646_1.webp" alt="">
1349                                </div>
1350                                                    </div>
1351                    
1352                </div>
1353                            
1354                <div class="programs-post-item program program--9 program--view-1"
1355                     data-categories="3"  >
1356
1357                                            <div class="bg image">
1358                            <img src="https://psy-muip.ru/wp-content/uploads/2025/12/mask_group.webp" alt=""
1359                                 class="">
1360
1361                                                    </div>
1362                    
1363                    <div class="program-content">
1364
1365                        <div class="program-content__wrapper">
1366                                                            <div class="label label--desktop">
1367                                    Саморазвитие                                </div>
1368                            
1369                            
1370                                                            <div class="title"
1371                                     style="color: #0d7570">
1372                                    БОДИХАКИНГ: красота изнутри                                </div>
1373                            
1374                                                            <div class="text">
1375                                    Красота — это не генетика и не косметика, а биохимический ответ тела на то, как вы в него вкладываетесь: что чувствуете, как дышите, что едите и как справляетесь со стрессом. Программа помогает увидеть эти связи и даёт конкретные инструменты для изменений                                </div>
1376                                                    </div>
1377
1378                        <div class="program-content__wrapper">
1379                                                            <div class="over-button-text">
1380                                    Онлайн                                 </div>
1381                            
1382                                                            <div class="button-wrapper">
1383                                                                                                                    <a class="button" href="https://psymuip.ru/bodyhacking_summer26" style="color:#fff; background-color:#0d7570">
1384                                            Подробнее                                        </a>
1385                                    
1386                                                                            <div class="price">
1387                                            от 14 900 рублей                                        </div>
1388                                                                    </div>
1389                                                    </div>
1390                    </div>
1391
1392                                            <div class="program-image__wrapper">
1393                                                                                                <div class="label label--mobile">
1394                                        Саморазвитие                                    </div>
1395                                                                <div class="program-image image">
1396                                    <img src="https://psy-muip.ru/wp-content/uploads/2025/12/a1cc0ad2-8883-4094-8.webp" alt="">
1397                                </div>
1398                                                    </div>
1399                    
1400                </div>
1401                            
1402                <div class="programs-post-item program program--10 program--view-2"
1403                     data-categories="3"  >
1404
1405                                            <div class="bg image">
1406                            <img src="https://psy-muip.ru/wp-content/uploads/2026/01/frame_15.png.webp" alt=""
1407                                 class="">
1408
1409                                                    </div>
1410                    
1411                    <div class="program-content">
1412
1413                        <div class="program-content__wrapper">
1414                                                            <div class="label label--desktop">
1415                                    Саморазвитие                                </div>
1416                            
1417                            
1418                                                            <div class="title"
1419                                     style="color: #0d7570">
1420                                    «Психопродвижение»                                </div>
1421                            
1422                                                            <div class="text">
1423                                    Обучающая программа для психологов, которые хотят раскрыть свою уникальность, повысить доход и стать востребованными специалистами в профессии                                </div>
1424                                                    </div>
1425
1426                        <div class="program-content__wrapper">
1427                                                            <div class="over-button-text">
1428                                    14 недель | Онлайн | Старт сразу после оплаты                                </div>
1429                            
1430                                                            <div class="button-wrapper">
1431                                                                                                                    <a class="button" href="https://psymuip.ru/business-course" style="color:#fff; background-color:#0d7570">
1432                                            Подробнее                                        </a>
1433                                    
1434                                                                            <div class="price">
1435                                            от 89 000 рублей                                        </div>
1436                                                                    </div>
1437                                                    </div>
1438                    </div>
1439
1440                                            <div class="program-image__wrapper">
1441                                                    </div>
1442                    
1443                </div>
1444                            
1445                <div class="programs-post-item program program--11 program--view-1"
1446                     data-categories="3 4"  >
1447
1448                                            <div class="bg image">
1449                            <img src="https://psy-muip.ru/wp-content/uploads/2025/12/group_20.webp" alt=""
1450                                 class="">
1451
1452                                                    </div>
1453                    
1454                    <div class="program-content">
1455
1456                        <div class="program-content__wrapper">
1457                                                            <div class="label label--desktop">
1458                                    Саморазвитие                                </div>
1459                            
1460                            
1461                                                            <div class="title"
1462                                     style="color: #0d7570">
1463                                    «Осторожно, Нарцисс!»                                </div>
1464                            
1465                                                            <div class="text">
1466                                    Как не попасть в ловушку разрушающих отношений и освободиться, если вы уже там. Эфиры 3-дневного интенсива в записи с исчерпывающей теоретической базой и практикой от ректора МУИП Анны Протасовой.                                </div>
1467                                                    </div>
1468
1469                        <div class="program-content__wrapper">
1470                                                            <div class="over-button-text">
1471                                    3 дня                                </div>
1472                            
1473                                                            <div class="button-wrapper">
1474                                                                                                                    <a class="button" href="https://psymuip.ru/intensive-narcis" style="color:#fff; background-color:#0d7570">
1475                                            Подробнее                                        </a>
1476                                    
1477                                                                            <div class="price">
1478                                            4 990 рублей                                        </div>
1479                                                                    </div>
1480                                                    </div>
1481                    </div>
1482
1483                                            <div class="program-image__wrapper">
1484                                                                                                <div class="label label--mobile">
1485                                        Саморазвитие                                    </div>
1486                                                                <div class="program-image image">
1487                                    <img src="https://psy-muip.ru/wp-content/uploads/2025/12/img_8919__.png.webp" alt="">
1488                                </div>
1489                                                    </div>
1490                    
1491                </div>
1492                            
1493                <div class="programs-post-item program program--12 program--view-1"
1494                     data-categories="3 4"  >
1495
1496                                            <div class="bg image">
1497                            <img src="https://psy-muip.ru/wp-content/uploads/2025/12/ellipse_1.webp" alt=""
1498                                 class="">
1499
1500                                                    </div>
1501                    
1502                    <div class="program-content">
1503
1504                        <div class="program-content__wrapper">
1505                                                            <div class="label label--desktop">
1506                                    Саморазвитие                                </div>
1507                            
1508                            
1509                                                            <div class="title"
1510                                     style="color: #0d7570">
1511                                    «Осторожно, да будет секс»                                </div>
1512                            
1513                                                            <div class="text">
1514                                    Эфиры 3-дневного интенсива в записи с исчерпывающей теоретической базой и практикой от ректора МУИП Анны Протасовой                                </div>
1515                                                    </div>
1516
1517                        <div class="program-content__wrapper">
1518                                                            <div class="over-button-text">
1519                                    8 недель                                </div>
1520                            
1521                                                            <div class="button-wrapper">
1522                                                                                                                    <a class="button" href="https://psymuip.ru/kesk/?utm_source=site&utm_medium=muip&utm_campaign=intensiv&utm_content=keks" style="color:#fff; background-color:#0d7570">
1523                                            Подробнее                                        </a>
1524                                    
1525                                                                            <div class="price">
1526                                            4 990 рублей                                        </div>
1527                                                                    </div>
1528                                                    </div>
1529                    </div>
1530
1531                                            <div class="program-image__wrapper">
1532                                                                                                <div class="label label--mobile">
1533                                        Саморазвитие                                    </div>
1534                                                                <div class="program-image image">
1535                                    <img src="https://psy-muip.ru/wp-content/uploads/2025/12/0450_1.webp" alt="">
1536                                </div>
1537                                                    </div>
1538                    
1539                </div>
1540                            
1541                <div class="programs-post-item program program--13 program--view-1"
1542                     data-categories="3 4"  >
1543
1544                                            <div class="bg image">
1545                            <img src="https://psy-muip.ru/wp-content/uploads/2025/12/photo.webp" alt=""
1546                                 class="">
1547
1548                                                    </div>
1549                    
1550                    <div class="program-content">
1551
1552                        <div class="program-content__wrapper">
1553                                                            <div class="label label--desktop">
1554                                    Саморазвитие                                </div>
1555                            
1556                            
1557                                                            <div class="title"
1558                                     style="color: #0d7570">
1559                                    «Осторожно, созависимые!»                                </div>
1560                            
1561                                                            <div class="text">
1562                                    с исчерпывающей теоретической базой и практикой от ректора МУИП Анны Протасовой 
1563Узнайте, как формируется тип привязанность и как строить здоровые отношения с любым из них.                                </div>
1564                                                    </div>
1565
1566                        <div class="program-content__wrapper">
1567                                                            <div class="over-button-text">
1568                                    3 дня                                </div>
1569                            
1570                                                            <div class="button-wrapper">
1571                                                                                                                    <a class="button" href="https://psymuip.ru/sozavisimost?utm_source=site&utm_medium=muip&utm_campaign=intensive&utm_c
1571ontent=sozavisimost" style="color:#fff; background-color:#0d7570">
1572                                            Подробнее                                        </a>
1573                                    
1574                                                                            <div class="price">
1575                                            4 990 рублей                                        </div>
1576                                                                    </div>
1577                                                    </div>
1578                    </div>
1579
1580                                            <div class="program-image__wrapper">
1581                                                                                                <div class="label label--mobile">
1582                                        Саморазвитие                                    </div>
1583                                                                <div class="program-image image">
1584                                    <img src="https://psy-muip.ru/wp-content/uploads/2025/12/28b4e76a-54fb-4d17-b.webp" alt="">
1585                                </div>
1586                                                    </div>
1587                    
1588                </div>
1589                            
1590                <div class="programs-post-item program program--14 program--view-1"
1591                     data-categories="3"  >
1592
1593                    
1594                    <div class="program-content">
1595
1596                        <div class="program-content__wrapper">
1597                                                            <div class="label label--desktop">
1598                                    Саморазвитие                                </div>
1599                            
1600                            
1601                                                            <div class="title"
1602                                     style="color: #0d7570">
1603                                    «Энциклопедия ТОТ»                                </div>
1604                            
1605                                                            <div class="text">
1606                                    Внутри:
1607более 100 упражнений  из телесной терапии под любой запрос
1608быстрая навигация: : нажимаете на часть тела, которую хотите проработать и получаете практики или упражнения, подробную инструкцию с фото
1609отдельные блоки по работе с дыханием, хронической усталостью, тревожностью и другими телесными симптомами
1610! Можно использовать и в работе с клиентами,
1611 чтобы достигать конкретных результатов всего за 1 сессию                                </div>
1612                                                    </div>
1613
1614                        <div class="program-content__wrapper">
1615                            
1616                                                            <div class="button-wrapper">
1617                                                                                                                    <a class="button" href="https://psymuip.ru/encyclopedia/" style="color:#fff; background-color:#0d7570">
1618                                            Подробнее                                        </a>
1619                                    
1620                                                                            <div class="price">
1621                                            11 900 рублей                                        </div>
1622                                                                    </div>
1623                                                    </div>
1624                    </div>
1625
1626                                            <div class="program-image__wrapper">
1627                                                                                                <div class="label label--mobile">
1628                                        Саморазвитие                                    </div>
1629                                                                <div class="program-image image">
1630                                    <img src="https://psy-muip.ru/wp-content/uploads/2025/12/skrinshot-26-12-2025-225810.webp" alt="">
1631                                </div>
1632                                                    </div>
1633                    
1634                </div>
1635                            
1636                <div class="programs-post-item program program--15 program--view-1"
1637                     data-categories="3"  >
1638
1639                                            <div class="bg image">
1640                            <img src="https://psy-muip.ru/wp-content/uploads/2025/12/unnamed-file-1.webp" alt=""
1641                                 class="">
1642
1643                                                    </div>
1644                    
1645                    <div class="program-content">
1646
1647                        <div class="program-content__wrapper">
1648                                                            <div class="label label--desktop">
1649                                    Саморазвитие                                </div>
1650                            
1651                            
1652                                                            <div class="title"
1653                                     style="color: #0d7570">
1654                                    «Практические трансы»                                </div>
1655                            
1656                                                            <div class="text">
1657                                    Гипнотические трансы направлены на решение конкретных запросов: многоуровневую трансформацию болевых и дискомфортных ощущений, усиление ресурсного комфортного состояния, создание установки на выздоровление, достижение целей, активацию ресурсов тела и мозга, трансформацию сценарных паттернов жизни                                </div>
1658                                                    </div>
1659
1660                        <div class="program-content__wrapper">
1661                            
1662                                                            <div class="button-wrapper">
1663                                                                                                                    <a class="button" href="/programm/prakticheskie-transy/" style="color:#fff; background-color:#0d7570">
1664                                            Подробнее                                        </a>
1665                                    
1666                                                                            <div class="price">
1667                                            от 6 100 рублей                                        </div>
1668                                                                    </div>
1669                                                    </div>
1670                    </div>
1671
1672                                            <div class="program-image__wrapper">
1673                                                                                                <div class="label label--mobile">
1674                                        Саморазвитие                                    </div>
1675                                                                <div class="program-image image">
1676                                    <img src="https://psy-muip.ru/wp-content/uploads/2025/12/frame_5.png.webp" alt="">
1677                                </div>
1678                                                    </div>
1679                    
1680                </div>
1681                            
1682                <div class="programs-post-item program program--16 program--view-1"
1683                     data-categories="3"  >
1684
1685                    
1686                    <div class="program-content">
1687
1688                        <div class="program-content__wrapper">
1689                                                            <div class="label label--desktop">
1690                                    Саморазвитие                                </div>
1691                            
1692                            
1693                                                            <div class="title"
1694                                     style="color: #0d7570">
1695                                    «Протоколы»                                </div>
1696                            
1697                                                            <div class="text">
1698                                    с пошаговыми рекомендациями по улучшению здоровья                                </div>
1699                                                    </div>
1700
1701                        <div class="program-content__wrapper">
1702                            
1703                                                            <div class="button-wrapper">
1704                                                                                                                    <a class="button" href="https://psymuip.ru/protocol" style="color:#fff; background-color:#0d7570">
1705                                            Подробнее                                        </a>
1706                                    
1707                                                                            <div class="price">
1708                                            3 900 рублей                                        </div>
1709                                                                    </div>
1710                                                    </div>
1711                    </div>
1712
1713                                            <div class="program-image__wrapper">
1714                                                                                                <div class="label label--mobile">
1715                                        Саморазвитие                                    </div>
1716                                                                <div class="program-image image">
1717                                    <img src="https://psy-muip.ru/wp-content/uploads/2025/12/rectangle_1.png.
1717webp" alt="">
1718                                </div>
1719                                                    </div>
1720                    
1721                </div>
1722            
1723        </div>
1724
1725    </div>
1726
1727
1728    <!-- ========== ПРЕИМУЩЕСТВА ========== -->
1729    <div class="advantages screen">
1730        <h2 class="advantages-title title">
1731            <b>Преимущества обучения в</b> <br>
1732            МЕЖДУНАРОДНОМ УНИВЕРСИТЕТЕ <br>
1733            ИНТЕГРАТИВНОЙ ПСИХОЛОГИ
1734        </h2>
1735        <div class="advantages-wrapper">
1736            <div class="advantages-list list">
1737                <div class="list__item item">
1738                    <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="none">
1739                        <path d="M12.6762 0L14.31095 2.527625L17.317625 2.6781L17.469525 5.684275L19.998575 7.317625L18.626675 9.997625L20 12.6762L17.472375 14.31095L17.3219 17.317625L14.315725 17.469525L12.682375 19.998575L10.002375 18.626675L7.3238 20L5.68905 17.472375L2.682375 17.3219L2.530475 14.315725L0.0014285825 12.682375L1.3733325 10.002375L0 7.3238L2.527625 5.68905L2.6781 2.682375L5.684275 2.530475L7.317625 0.0014285825L9.997625 1.3733325L12.6762 0Z"
1740                              fill="#236362"></path>
1741                        <path d="M8.76 13.45475L5.6662 10.3619L6.676675 9.3519L8.77525 11.450475L13.331425 7.034275L14.325725 8.06L8.76 13.45475Z"
1742                              fill="white"></path>
1743                    </svg>
1744                    <div class="item__text">
1745                        <b class="--green">Эффективная методика обучения,</b> сочетающая теоретическую
1746                        подготовку с глубокой практической проработкой навыков
1747                    </div>
1748                </div>
1749                <div class="divider-line"></div>
1750                <div class="list__item item">
1751                    <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="none">
1752                        <path d="M12.6762 0L14.31095 2.527625L17.317625 2.6781L17.469525 5.684275L19.998575 7.317625L18.626675 9.997625L20 12.6762L17.472375 14.31095L17.3219 17.317625L14.315725 17.469525L12.682375 19.998575L10.002375 18.626675L7.3238 20L5.68905 17.472375L2.682375 17.3219L2.530475 14.315725L0.0014285825 12.682375L1.3733325 10.002375L0 7.3238L2.527625 5.68905L2.6781 2.682375L5.684275 2.530475L7.317625 0.0014285825L9.997625 1.3733325L12.6762 0Z"
1753                              fill="#236362"></path>
1754                        <path d="M8.76 13.45475L5.6662 10.3619L6.676675 9.3519L8.77525 11.450475L13.331425 7.034275L14.325725 8.06L8.76 13.45475Z"
1755                              fill="white"></path>
1756                    </svg>
1757                    <div class="item__text">
1758                        <b class="--green">Удобный формат и индивидуальный подход:</b> мини-группы для
1759                        максимального внимания каждому студенту
1760                    </div>
1761                </div>
1762                <div class="divider-line"></div>
1763                <div class="list__item item">
1764                    <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="none">
1765                        <path d="M12.6762 0L14.31095 2.527625L17.317625 2.6781L17.469525 5.684275L19.998575 7.317625L18.626675 9.997625L20 12.6762L17.472375 14.31095L17.3219 17.317625L14.315725 17.469525L12.682375 19.998575L10.002375 18.626675L7.3238 20L5.68905 17.472375L2.682375 17.3219L2.530475 14.315725L0.0014285825 12.682375L1.3733325 10.002375L0 7.3238L2.527625 5.68905L2.6781 2.682375L5.684275 2.530475L7.317625 0.0014285825L9.997625 1.3733325L12.6762 0Z"
1766                              fill="#236362"></path>
1767                        <path d="M8.76 13.45475L5.6662 10.3619L6.676675 9.3519L8.77525 11.450475L13.331425 7.034275L14.325725 8.06L8.76 13.45475Z"
1768                              fill="white"></path>
1769                    </svg>
1770                    <div class="item__text">
1771                        <b class="--green">Практико-ориентированный подход:</b> акцент на отработке
1772                        навыков и разборе реальных случаев из практики
1773                    </div>
1774                </div>
1775                <div class="divider-line"></div>
1776                <div class="list__item item">
1777                    <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="none">
1778                        <path d="M12.6762 0L14.31095 2.527625L17.317625 2.6781L17.469525 5.684275L19.998575 7.317625L18.626675 9.997625L20 12.6762L17.472375 14.31095L17.3219 17.317625L14.315725 17.469525L12.682375 19.998575L10.002375 18.626675L7.3238 20L5.68905 17.472375L2.682375 17.3219L2.530475 14.315725L0.0014285825 12.682375L1.3733325 10.002375L0 7.3238L2.527625 5.68905L2.6781 2.682375L5.684275 2.530475L7.317625 0.0014285825L9.997625 1.3733325L12.6762 0Z"
1779                              fill="#236362"></path>
1780                        <path d="M8.76 13.45475L5.6662 10.3619L6.676675 9.3519L8.77525 11.450475L13.331425 7.034275L14.325725 8.06L8.76 13.45475Z"
1781                              fill="white"></path>
1782                    </svg>
1783                    <div class="item__text">
1784                        <b class="--green">Команда экспертов:</b> ведущие преподаватели — практикующие
1785                        психологи с многолетним опытом,  владеющие разными методами
1786                    </div>
1787                </div>
1788                <div class="divider-line"></div>
1789                <div class="list__item item">
1790                    <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="none">
1791                        <path d="M12.6762 0L14.31095 2.527625L17.317625 2.6781L17.469525 5.684275L19.998575 7.317625L18.626675 9.997625L20 12.6762L17.472375 14.31095L17.3219 17.317625L14.315725 17.469525L12.682375 19.998575L10.002375 18.626675L7.3238 20L5.68905 17.472375L2.682375 17.3219L2.530475 14.315725L0.0014285825 12.682375L1.3733325 10.002375L0 7.3238L2.527625 5.68905L2.6781 2.682375L5.684275 2.530475L7.317625 0.0014285825L9.997625 1.3733325L12.6762 0Z"
1792                              fill="#236362"></path>
1793                        <path d="M8.76 13.45475L5.6662 10.3619L6.676675 9.3519L8.77525 11.450475L13.331425 7.034275L14.325725 8.06L8.76 13.45475Z"
1794                              fill="white"></path>
1795                    </svg>
1796                    <div class="item__text">
1797                        <b class="--green">Комплексная поддержка:</b> учебные материалы, записи занятий,
1798                        закрытый чат с куратором, сертификат установленного образца
1799                    </div>
1800                </div>
1801            </div>
1802            <div class="advantages-image-wrapper">
1803                <div class="advantages-image image">
1804                    <img src="/wp-content/themes/reboot_child/assets/images/home/advantages/img.webp" alt="">
1805                </div>
1806                <div class="button" data-target="sgPopup1333">Записаться на консультацию</div>
1807            </div>
1808        </div>
1809    </div>
1810
1811
1812    <!-- ========== СЕРТИФИКАТЫ ========== -->
1813    <div class="certificates screen">
1814        <h2 class="certificates-title title">
1815            <b>Лицензии</b> и свидетельства
1816        </h2>
1817        <div class="certificates-list">
1818            <div class="certificates-list__item item">
1819                <a class="item__image image"
1820                   href="/wp-content/themes/reboot_child/assets/images/home/certificates/1.webp"
1821                   data-fancybox="certificates-gallery">
1822                    <img src="/wp-content/themes/reboot_child/assets/images/home/certificates/1.webp" alt="">
1823                </a>
1824                <div class="item__caption"><b>Свидетельство о членстве в CPO</b></div>
1825            </div>
1826            <div class="certificates-list__item item">
1827                <a class="item__image image"
1828                   href="/wp-content/themes/reboot_child/assets/images/home/certificates/2.webp"
1829                   data-fancybox="certificates-gallery">
1830                    <img src="/wp-content/themes/reboot_child/assets/images/home/certificates/2.webp" alt="">
1831                </a>
1832                <div class="item__caption"><b>Свидетельство на товарный знак</b></div>
1833            </div>
1834            <div class="certificates-list__item item">
1835                <a class="item__image image"
1836                   href="/wp-content/themes/reboot_child/assets/images/home/certificates/3.webp"
1837                   data-fancybox="certificates-gallery">
1838                    <img src="/wp-content/themes/reboot_child/assets/images/home/certificates/3.webp" alt="">
1839                </a>
1840                <div class="item__caption">
1841                    <b>Лицензия №Л035-01298-77/00737076</b>
1842                </div>
1843            </div>
1844        </div>
1845    </div>
1846
1847
1848    <div class="block-can-help">
1849        <div class="block-can-help-wr">
1850            <div class="block-can-help-left">
1851                <h2 class="certificates-title title">
1852                    <b>Поможем выбрать</b> <br>программу
1853                </h2>
1854                <div class="block-can-help-offer">
1855                    Заполните все поля формы и&nbsp;наш специалист свяжется с&nbsp;вами <br>
1856                    и&nbsp;поможет подобрать оптимальную программу
1857                </div>
1858                <div class="block-can-help-btn" data-target="sgPopup1333">
1859                    Нужна помощь
1860                </div>
1861            </div>
1862            <div class="block-can-help-right">
1863                <img src="/wp-content/themes/reboot_child/assets/images/home/mock.webp" alt="">
1864            </div>
1865        </div>
1866    </div>
1867
1868
1869    <!-- ========== РАССРОЧКА ========== -->
1870    <div class="screen installment">
1871        <div class="installment-wrapper">
1872            <div class="installment-content">
1873                <div class="installment-title title"><b>Обучаться </b>
1873 можно<br> в&nbsp;рассрочку</div>
1874                <div class="installment-list list rass">
1875                    <div class="rass-item">
1876                        <div class="rass-item-img">
1877                            <img src="/wp-content/themes/reboot_child/assets/images/home/rass-1.webp" alt="">
1878                        </div>
1879                        <div class="rass-item-title">Рассрочка через банк для граждан РФ, РБ, КР, Узбекистана и
1880                            Казахстана без переплат
1881                        </div>
1882                    </div>
1883                    <div class="rass-item">
1884                        <div class="rass-item-img">
1885                            <img src="/wp-content/themes/reboot_child/assets/images/home/rass-2.webp" alt="">
1886                        </div>
1887                        <div class="rass-item-title">Оформление в день обращения</div>
1888                    </div>
1889                    <div class="rass-item">
1890                        <div class="rass-item-img">
1891                            <img src="/wp-content/themes/reboot_child/assets/images/home/rass-3.webp" alt="">
1892                        </div>
1893                        <div class="rass-item-title">Рассрочка от 3-х месяцев</div>
1894                    </div>
1895                    <div class="rass-item">
1896                        <div class="rass-item-img">
1897                            <img src="/wp-content/themes/reboot_child/assets/images/home/rass-4.webp" alt="">
1898                        </div>
1899                        <div class="rass-item-title">Помодульная оплата обучения</div>
1900                    </div>
1901                    <div class="rass-item">
1902                        <div class="rass-item-img">
1903                            <img src="/wp-content/themes/reboot_child/assets/images/home/rass-5.webp" alt="">
1904                        </div>
1905                        <div class="rass-item-title">Отложенный платеж, платите <br>со&nbsp;второго месяца</div>
1906                    </div>
1907                    <div class="rass-item">
1908                        <div class="rass-item-img">
1909                            <img src="/wp-content/themes/reboot_child/assets/images/home/rass-6.webp" alt="">
1910                        </div>
1911                        <div class="rass-item-title">Больше 10 партнеров-брокеров для <br>оплаты или оформления
1912                            рассрочки
1913                        </div>
1914                    </div>
1915                                    </div>
1916            </div>
1917            <div class="installment-image">
1918                <img src="/wp-content/themes/reboot_child/assets/images/home/installment/img.webp" alt="">
1919            </div>
1920        </div>
1921        <div class="installment__slider swiper">
1922            <div class="swiper-wrapper">
1923                <div class="swiper-slide">
1924                    <img src="/wp-content/themes/reboot_child/assets/images/home/installment/bank-1.webp" alt="">
1925                </div>
1926                <div class="swiper-slide">
1927                    <img src="/wp-content/themes/reboot_child/assets/images/home/installment/bank-2.webp" alt="">
1928                </div>
1929                <div class="swiper-slide">
1930                    <img src="/wp-content/themes/reboot_child/assets/images/home/installment/bank-3.webp" alt="">
1931                </div>
1932                <div class="swiper-slide">
1933                    <img src="/wp-content/themes/reboot_child/assets/images/home/installment/bank-4.webp" alt="">
1934                </div>
1935                <div class="swiper-slide">
1936                    <img src="/wp-content/themes/reboot_child/assets/images/home/installment/bank-5.webp" alt="">
1937                </div>
1938
1939                <div class="swiper-slide">
1940                    <img src="/wp-content/themes/reboot_child/assets/images/home/installment/bank-1.webp" alt="">
1941                </div>
1942                <div class="swiper-slide">
1943                    <img src="/wp-content/themes/reboot_child/assets/images/home/installment/bank-2.webp" alt="">
1944                </div>
1945                <div class="swiper-slide">
1946                    <img src="/wp-content/themes/reboot_child/assets/images/home/installment/bank-3.webp" alt="">
1947                </div>
1948                <div class="swiper-slide">
1949                    <img src="/wp-content/themes/reboot_child/assets/images/home/installment/bank-4.webp" alt="">
1950                </div>
1951                <div class="swiper-slide">
1952                    <img src="/wp-content/themes/reboot_child/assets/images/home/installment/bank-5.webp" alt="">
1953                </div>
1954            </div>
1955        </div>
1956    </div>
1957
1958    <!-- ========== ПРЕПОДАВАТЕЛИ ========== -->
1959    <div class="screen teachers">
1960        <h2 class="teachers-title title">
1961            Преподаватели
1962        </h2>
1963        <div class="teachers__slider-wrapper">
1964            <div class="teachers__nav slider-nav-prev">
1965                <svg width="30" height="30" viewBox="0 0 30 30" fill="none" xmlns="http://www.w3.org/2000/svg">
1966                    <path d="M17.5532 8.29692L10.8511 14.999L17.5532 21.7012" stroke="black" stroke-width="0.319149"/>
1967                </svg>
1968            </div>
1969            <div class="teachers__slider swiper">
1970                <div class="swiper-wrapper">
1971                    <div class="swiper-slide">
1972                        <div class="teachers__item teacher">
1973                                                        <img src="/wp-content/themes/reboot_child/assets/images/home/teachers/teacher-full-1.png"
1974                                 alt="">
1975                            <img src="/wp-content/themes/reboot_child/assets/images/home/teachers/teacher-full-1-m.png"
1976                                 alt="">
1977                        </div>
1978                    </div>
1979
1980                    <div class="swiper-slide">
1981                        <div class="teachers__item teacher">
1982                            <img src="/wp-content/themes/reboot_child/assets/images/home/teachers/teacher-full-2.png"
1983                                 alt="">
1984                            <img src="/wp-content/themes/reboot_child/assets/images/home/teachers/teacher-full-2-m.png"
1985                                 alt="">
1986                        </div>
1987                    </div>
1988
1989                    <div class="swiper-slide">
1990                        <div class="teachers__item teacher">
1991                            <img src="/wp-content/themes/reboot_child/assets/images/home/teachers/teacher-full-3.webp"
1992                                 alt="">
1993                            <img src="/wp-content/themes/reboot_child/assets/images/home/teachers/teacher-full-3-m.png"
1994                                 alt="">
1995                        </div>
1996                    </div>
1997
1998                    <div class="swiper-slide">
1999                        <div class="teachers__item teacher">
2000                            <img src="/wp-content/themes/reboot_child/assets/images/home/teachers/teacher-full-4.png"
2001                                 alt="">
2002                            <img src="/wp-content/themes/reboot_child/assets/images/home/teachers/teacher-full-4-m.png"
2003                                 alt="">
2004                        </div>
2005                    </div>
2006
2007                    <div class="swiper-slide">
2008                        <div class="teachers__item teacher">
2009                            <img src="/wp-content/themes/reboot_child/assets/images/home/teachers/teacher-full-5.png"
2010                                 alt="">
2011                            <img src="/wp-content/themes/reboot_child/assets/images/home/teachers/teacher-full-5-m.png"
2012                                 alt="">
2013                        </div>
2014                    </div>
2015
2016                    <div class="swiper-slide">
2017                        <div class="teachers__item teacher">
2018                            <img src="/wp-content/themes/reboot_child/assets/images/home/teachers/teacher-full-6.png"
2019                                 alt="">
2020                            <img src="/wp-content/themes/reboot_child/assets/images/home/teachers/teacher-full-6-m.png"
2021                                 alt="">
2022                        </div>
2023                    </div>
2024
2025                    <div class="swiper-slide">
2026                        <div class="teachers__item teacher">
2027                            <img src="/wp-content/themes/reboot_child/assets/images/home/teachers/teacher-full-7.png"
2028                                 alt="">
2029                            <img src="/wp-content/themes/reboot_child/assets/images/home/teachers/teacher-full-7-m.png"
2030                                 alt="">
2031                        </div>
2032                    </div>
2033
2034
2035                    
2036                    <div class="swiper-slide">
2037                        <div class="teachers__item teacher">
2038                            <img src="/wp-content/themes/reboot_child/assets/images/home/teachers/teacher-full-10.png"
2039                                 alt="">
2040                            <img src="/wp-content/themes/reboot_child/assets/images/home/teachers/teacher-full-10-m.png"
2041                                 alt="">
2042                        </div>
2043                    </div>
2044
2045                    <div class="swiper-slide">
2046                        <div class="teachers__item teacher">
2047                            <img src="/wp-content/themes/reboot_child/assets/images/home/teachers/teacher-full-11.png"
2048                                 alt="">
2049                            <img src="/wp-content/themes/reboot_child/assets/images/home/teachers/teacher-full-11-m.png"
2050                                 alt="">
2051                        </div>
2052                    </div>
2053
2054                    <div class="swiper-slide">
2055                        <div class="teachers__item teacher">
2056                            <img src="/wp-content/themes/reboot_child/assets/images/home/teachers/teacher-full-12.png"
2057                                 alt="">
2058                            <img src="/wp-content/themes/reboot_child/assets/images/home/teachers/teacher-full-12-m.png"
2059                                 alt="">
2060                        </div>
2061                    </div>
2062
2063                    <div class="swiper-slide">
2064                        <div class="teachers__item teacher">
2065                            <img src="/wp-content/themes/reboot_child/assets/images/home/teachers/teacher-full-13.png"
2066                                 alt="">
2067                            <img src="/wp-content/themes/reboot_child/assets/images/home/teachers/teacher-full-13-m.png"
2068                                 alt="">
2069                        </div>
2070                    </div>
2071
2072                    <div class="swiper-slide">
2073                        <div class="teachers__item teacher">
2074                            <img src="/wp-content/themes/reboot_child/assets/images/home/teachers/teacher-full-14.webp"
2075                                 alt="">
2076                            <img src="/wp-content/themes/reboot_child/assets/images/home/teachers/teacher-full-14-m.png"
2077                                 alt="">
2078                        </div>
2079                    </div>
2080
2081                    <div class="swiper-slide">
2082                        <div class="teachers__item teacher">
2083                            <img src="/wp-content/themes/reboot_child/assets/images/home/teachers/teacher-full-15.png"
2084                                 alt="">
2085                            <img src="/wp-content/themes/reboot_child/assets/images/home/teachers/teacher-full-15-m.png"
2086                                 alt="">
2087                        </div>
2088                    </div>
2089
2090                </div>
2091            </div>
2092            <div class="teachers__nav slider-nav-next">
2093                <svg width="30" height="30" viewBox="0 0 30 30" fill="none" xmlns="http://www.w3.org/2000/svg">
2094                    <path d="M12.4468 21.7031L19.149 15.001L12.4468 8.29883" stroke="black" stroke-width="0.319149"/>
2095                </svg>
2096            </div>
2097        </div>
2098        <div class="teachers__hint">листайте вправо →</div>
2099    </div>
2100
2101    <!-- ========== БРЕНДЫ И СМИ ========== -->
2102    <div class="brands screen --bg-grey">
2103        <h2 class="brands-title title">
2104            <b>Бренды и СМИ, которые</b> нам доверяют
2105        </h2>
2106        <div class="brands-list">
2107            <div class="brands-list__item item">
2108                <div class="item__image image">
2109                    <img src="/wp-content/themes/reboot_child/assets/images/home/brands/1.webp" alt="">
2110                </div>
2111            </div>
2112            <div class="brands-list__item item">
2113                <div class="item__image image">
2114                    <img src="/wp-content/themes/reboot_child/assets/images/home/brands/2.webp" alt="">
2115                </div>
2116            </div>
2117            <div class="brands-list__item item">
2118                <div class="item__image image">
2119                    <img src="/wp-content/themes/reboot_child/assets/images/home/brands/3.webp" alt="">
2120                </div>
2121            </div>
2122            <div class="brands-list__item item">
2123                <div class="item__image image">
2124                    <img src="/wp-content/themes/reboot_child/assets/images/home/brands/4.webp" alt="">
2125                </div>
2126            </div>
2127            <div class="brands-list__item item">
2128                <div class="item__image image">
2129                    <img src="/wp-content/themes/reboot_child/assets/images/home/brands/5.webp" alt="">
2130                </div>
2131            </div>
2132            <div class="brands-list__item item">
2133                <div class="item__image image">
2134                    <img src="/wp-content/themes/reboot_child/assets/images/home/brands/6.webp" alt="">
2135                </div>
2136            </div>
2137        </div>
2138    </div>
2139
2140    <!-- ========== ОТЗЫВЫ ========== -->
2141    <div class="--bg-grey">
2142        <div class="container">
2143            <div class="reviews screen">
2144                <h2 class="reviews-title title">
2145                    Отзывы
2146                </h2>
2147                <div class="reviews-list">
2148                    <div class="reviews-list__item item">
2149
2150                        <div class="item__image image">
2151                            <img src="/wp-content/themes/reboot_child/assets/images/home/reviews/preview-1.webp" alt="">
2152                            <div class="play">
2153                                <svg xmlns="http://www.w3.org/2000/svg" fill="#ffffff" viewBox="0 0 22 24"
2154                                     width="2.25em" height="2.25em"
2155                                     class="kin-pl-1wqbfko-MainPlayButton__icon kin-pl-v7ibj3">
2156                                    <path d="M16.097 9.542c1.603.945 2.405 1.418 2.662 2.023a2 2 0 0 1-.033 1.643c-.283.594-1.103 1.033-2.744 1.912l-6.271 3.358c-1.554.831-2.33 1.247-2.965 1.166a2 2 0 0 1-1.375-.824C5 18.3 5 17.42 5 15.657V8.6c0-1.835 0-2.753.385-3.28a2 2 0 0 1 1.419-.81c.65-.065 1.44.401 3.021 1.334z"></path>
2157                                </svg>
2158                            </div>
2159                        </div>
2160
2161
2162                        <iframe src="https://kinescope.io/embed/kuq7vnX57iJKgyd1ET9ze4"
2163                                allow="autoplay; fullscreen; picture-in-picture; encrypted-media; gyroscope; accelerometer; clipboard-write;"
2164                                frameborder="0" allowfullscreen=""></iframe>
2165                    </div>
2166                    <div class="reviews-list__item item">
2167
2168                        <div class="item__image image">
2169                            <img src="/wp-content/themes/reboot_child/assets/images/home/reviews/preview-2.webp" alt="">
2170                            <div class="play">
2171                                <svg xmlns="http://www.w3.org/2000/svg" fill="#ffffff" viewBox="0 0 22 24"
2172                                     width="2.25em" height="2.25em"
2173                                     class="kin-pl-1wqbfko-MainPlayButton__icon kin-pl-v7ibj3">
2174                                    <path d="M16.097 9.542c1.603.945 2.405 1.418 2.662 2.023a2 2 0 0 1-.033 1.643c-.283.594-1.103 1.033-2.744 1.912l-6.271 3.358c-1.554.831-2.33 1.247-2.965 1.166a2 2 0 0 1-1.375-.824C5 18.3 5 17.42 5 15.657V8.6c0-1.835 0-2.753.385-3.28a2 2 0 0 1 1.419-.81c.65-.065 1.44.401 3.021 1.334z"></path>
2175                                </svg>
2176                            </div>
2177                        </div>
2178
2179                        <iframe src="https://kinescope.io/embed/n1tz1DcAcDCxjx8TQqYGZi"
2180                                allow="autoplay; fullscreen; picture-in-picture; encrypted-media; gyroscope; accelerometer; clipboard-write;"
2181                                frameborder="0" allowfullscreen=""></iframe>
2182                    </div>
2183                    <div class="reviews-list__item item">
2184
2185                        <div class="item__image image">
2186                            <img src="/wp-content/themes/reboot_child/assets/images/home/reviews/preview-3.webp" alt="">
2187                            <div class="play">
2188                                <svg xmlns="http://www.w3.org/2000/svg" fill="#ffffff" viewBox="0 0 22 24"
2189                                     width="2.25em" height="2.25em"
2190                                     class="kin-pl-1wqbfko-MainPlayButton__icon kin-pl-v7ibj3">
2191                                    <path d="M16.097 9.542c1.603.945 2.405 1.418 2.662 2.023a2 2 0 0 1-.033 1.643c-.283.594-1.103 1.033-2.744 1.912l-6.271 3.358c-1.554.831-2.33 1.247-2.965 1.166a2 2 0 0 1-1.375-.824C5 18.3 5 17.42 5 15.657V8.6c0-1.835 0-2.753.385-3.28a2 2 0 0 1 1.419-.81c.65-.065 1.44.401 3.021 1.334z"></path>
2192                                </svg>
2193                            </div>
2194                        </div>
2195
2196                        <iframe src="https://kinescope.io/embed/mtK6RvmqKfBvKs4k9NXDKf"
2197                                allow="autoplay; fullscreen; picture-in-picture; encrypted-media; gyroscope; accelerometer; clipboard-write;"
2198                                frameborder="0" allowfullscreen=""></iframe>
2199                    </div>
2200                </div>
2201            </div>
2202        </div>
2203    </div>
2204
2205
2206    <div class="container">
2207        <div class="screen faq-screen">
2208            <h2 class="faq-title title">
2209                <b>Ответы</b> на<br>
2210                частые вопросы
2211            </h2>
2212            <div class="faq-accordion">
2213                                    <div class="faq-item active ">
2214                        <div class="faq-question" data-faq-toggle>
2215                            <h3 class="faq-question-text">Смогу ли я трудоустроиться после окончания курса?</h3>
2216                            <div class="faq-toggle-icon">
2217                                <svg width="45" height="45" viewBox="0 0 45 45" fill="none"
2218                                     xmlns="http://www.w3.org/2000/svg" class="faq-icon-plus">
2219                                    <circle cx="22.5" cy="22.5" r="22.5" fill="#0a756f"/>
2220                                    <path d="M30 23.748H23.75V29.998C23.75 30.3296 23.6183 30.6475 23.3839 30.8819C23.1495 31.1163 22.8315 31.248 22.5 31.248C22.1685 31.248 21.8505 31.1163 21.6161 30.8819C21.3817 30.6475 21.25 30.3296 21.25 29.998V23.748H15C14.6685 23.748 14.3505 23.6163 14.1161 23.3819C13.8817 23.1475 13.75 22.8296 13.75 22.498C13.75 22.1665 13.8817 21.8486 14.1161 21.6142C14.3505 21.3797 14.6685 21.248 15 21.248H21.25V14.998C21.25 14.6665 21.3817 14.3486 21.6161 14.1142C21.8505 13.8797 22.1685 13.748 22.5 13.748C22.8315 13.748 23.1495 13.8797 23.3839 14.1142C23.6183 14.3486 23.75 14.6665 23.75 14.998V21.248H30C30.3315 21.248 30.6495 21.3797 30.8839 21.6142C31.1183 21.8486 3
22201.25 22.1665 31.25 22.498C31.25 22.8296 31.1183 23.1475 30.8839 23.3819C30.6495 23.6163 30.3315 23.748 30 23.748Z"
2221                                          fill="white"/>
2222                                </svg>
2223                                <svg width="45" height="45" viewBox="0 0 45 45" fill="none"
2224                                     xmlns="http://www.w3.org/2000/svg" class="faq-icon-minus">
2225                                    <circle cx="22.5" cy="22.5" r="22" fill="white" stroke="#0a756f"/>
2226                                    <path d="M29.5 24.2476H14.5C14.1685 24.2476 13.8505 24.1159 13.6161 23.8814C13.3817 23.647 13.25 23.3291 13.25 22.9976C13.25 22.666 13.3817 22.3481 13.6161 22.1137C13.8505 21.8793 14.1685 21.7476 14.5 21.7476H29.5C29.8315 21.7476 30.1495 21.8793 30.3839 22.1137C30.6183 22.3481 30.75 22.666 30.75 22.9976C30.75 23.3291 30.6183 23.647 30.3839 23.8814C30.1495 24.1159 29.8315 24.2476 29.5 24.2476Z"
2227                                          fill="#0a756f"/>
2228                                </svg>
2229
2230                            </div>
2231                        </div>
2232                        <div class="faq-answer" aria-expanded="true">
2233                            <div class="faq-answer-content">
2234                                <!--<div class="faq-divider-line"></div>-->
2235                                <p>Вы сможете трудоустроиться корпоративными психологами, спикерами, бизнес &#8212; тренерами и на другие востребованные вакансии. Или вести частную практику, консультируя своих клиентов<br />
2236У нас есть тариф, на котором мы учим продвижению и продаже своих услуг в соцсетях. Также у нас есть каталог психологов, где вы можете разместить свое резюме, а у лучших студентов есть возможность работать в МУИП.</p>
2237                            </div>
2238                        </div>
2239                    </div>
2240                                        <div class="faq-item  ">
2241                        <div class="faq-question" data-faq-toggle>
2242                            <h3 class="faq-question-text">Стоит ли учиться, чтобы решить свои проблемы?</h3>
2243                            <div class="faq-toggle-icon">
2244                                <svg width="45" height="45" viewBox="0 0 45 45" fill="none"
2245                                     xmlns="http://www.w3.org/2000/svg" class="faq-icon-plus">
2246                                    <circle cx="22.5" cy="22.5" r="22.5" fill="#0a756f"/>
2247                                    <path d="M30 23.748H23.75V29.998C23.75 30.3296 23.6183 30.6475 23.3839 30.8819C23.1495 31.1163 22.8315 31.248 22.5 31.248C22.1685 31.248 21.8505 31.1163 21.6161 30.8819C21.3817 30.6475 21.25 30.3296 21.25 29.998V23.748H15C14.6685 23.748 14.3505 23.6163 14.1161 23.3819C13.8817 23.1475 13.75 22.8296 13.75 22.498C13.75 22.1665 13.8817 21.8486 14.1161 21.6142C14.3505 21.3797 14.6685 21.248 15 21.248H21.25V14.998C21.25 14.6665 21.3817 14.3486 21.6161 14.1142C21.8505 13.8797 22.1685 13.748 22.5 13.748C22.8315 13.748 23.1495 13.8797 23.3839 14.1142C23.6183 14.3486 23.75 14.6665 23.75 14.998V21.248H30C30.3315 21.248 30.6495 21.3797 30.8839 21.6142C31.1183 21.8486 31.25 22.1665 31.25 22.498C31.25 22.8296 31.1183 23.1475 30.8839 23.3819C30.6495 23.6163 30.3315 23.748 30 23.748Z"
2248                                          fill="white"/>
2249                                </svg>
2250                                <svg width="45" height="45" viewBox="0 0 45 45" fill="none"
2251                                     xmlns="http://www.w3.org/2000/svg" class="faq-icon-minus">
2252                                    <circle cx="22.5" cy="22.5" r="22" fill="white" stroke="#0a756f"/>
2253                                    <path d="M29.5 24.2476H14.5C14.1685 24.2476 13.8505 24.1159 13.6161 23.8814C13.3817 23.647 13.25 23.3291 13.25 22.9976C13.25 22.666 13.3817 22.3481 13.6161 22.1137C13.8505 21.8793 14.1685 21.7476 14.5 21.7476H29.5C29.8315 21.7476 30.1495 21.8793 30.3839 22.1137C30.6183 22.3481 30.75 22.666 30.75 22.9976C30.75 23.3291 30.6183 23.647 30.3839 23.8814C30.1495 24.1159 29.8315 24.2476 29.5 24.2476Z"
2254                                          fill="#0a756f"/>
2255                                </svg>
2256
2257                            </div>
2258                        </div>
2259                        <div class="faq-answer" aria-expanded="false">
2260                            <div class="faq-answer-content">
2261                                <!--<div class="faq-divider-line"></div>-->
2262                                <div class="t585__header t585__opened">Да. Знание психологии помогает разбираться в своих чувствах, мотивах, поведении, выстраивать гармоничные отношения с близкими, коллегами и друзьями. Также, после обучения вы научитесь справляться с трудностями, находить внутренние ресурсы и быть устойчивыми в любых ситуациях.<br />
2263Даже если вы не планируете становиться профессиональным психологом, полученные знания позволят вам поддерживать близких, давать советы и быть опорой для тех, кто в этом нуждается.</div>
2264<div id="accordion2_885014302" class="t585__content" hidden="">
2265<div class="t585__textwrapper">
2266<div class="t585__text t-descr t-descr_xs bvi-speech">Да. Знание психологии помогает разбираться в своих чувствах, мотивах, поведении, выстраивать гармоничные отношения с близкими, коллегами и друзьями. Также, после обучения вы научитесь справляться с трудностями, находить внутренние ресурсы и быть устойчивыми в любых ситуациях.<br />
2267Даже если вы не планируете становиться профессиональным психологом, полученные знания позволят вам поддерживать близких, давать советы и быть опорой для тех, кто в этом нуждается.</div>
2268</div>
2269</div>
2270                            </div>
2271                        </div>
2272                    </div>
2273                                        <div class="faq-item  ">
2274                        <div class="faq-question" data-faq-toggle>
2275                            <h3 class="faq-question-text">Можно ли совмещать обучение с работой?</h3>
2276                            <div class="faq-toggle-icon">
2277                                <svg width="45" height="45" viewBox="0 0 45 45" fill="none"
2278                                     xmlns="http://www.w3.org/2000/svg" class="faq-icon-plus">
2279                                    <circle cx="22.5" cy="22.5" r="22.5" fill="#0a756f"/>
2280                                    <path d="M30 23.748H23.75V29.998C23.75 30.3296 23.6183 30.6475 23.3839 30.8819C23.1495 31.1163 22.8315 31.248 22.5 31.248C22.1685 31.248 21.8505 31.1163 21.6161 30.8819C21.3817 30.6475 21.25 30.3296 21.25 29.998V23.748H15C14.6685 23.748 14.3505 23.6163 14.1161 23.3819C13.8817 23.1475 13.75 22.8296 13.75 22.498C13.75 22.1665 13.8817 21.8486 14.1161 21.6142C14.3505 21.3797 14.6685 21.248 15 21.248H21.25V14.998C21.25 14.6665 21.3817 14.3486 21.6161 14.1142C21.8505 13.8797 22.1685 13.748 22.5 13.748C22.8315 13.748 23.1495 13.8797 23.3839 14.1142C23.6183 14.3486 23.75 14.6665 23.75 14.998V21.248H30C30.3315 21.248 30.6495 21.3797 30.8839 21.6142C31.1183 21.8486 31.25 22.1665 31.25 22.498C31.25 22.8296 31.1183 23.1475 30.8839 23.3819C30.6495 23.6163 30.3315 23.748 30 23.748Z"
2281                                          fill="white"/>
2282                                </svg>
2283                                <svg width="45" height="45" viewBox="0 0 45 45" fill="none"
2284                                     xmlns="http://www.w3.org/2000/svg" class="faq-icon-minus">
2285                                    <circle cx="22.5" cy="22.5" r="22" fill="white" stroke="#0a756f"/>
2286                                    <path d="M29.5 24.2476H14.5C14.1685 24.2476 13.8505 24.1159 13.6161 23.8814C13.3817 23.647 13.25 23.3291 13.25 22.9976C13.25 22.666 13.3817 22.3481 13.6161 22.1137C13.8505 21.8793 14.1685 21.7476 14.5 21.7476H29.5C29.8315 21.7476 30.1495 21.8793 30.3839 22.1137C30.6183 22.3481 30.75 22.666 30.75 22.9976C30.75 23.3291 30.6183 23.647 30.3839 23.8814C30.1495 24.1159 29.8315 24.2476 29.5 24.2476Z"
2287                                          fill="#0a756f"/>
2288                                </svg>
2289
2290                            </div>
2291                        </div>
2292                        <div class="faq-answer" aria-expanded="false">
2293                            <div class="faq-answer-content">
2294                                <!--<div class="faq-divider-line"></div>-->
2295                                <div class="t-col t-col_10 t-prefix_1">
2296<div class="t585__accordion" data-accordion="true" data-scroll-to-expanded="false">
2297<div class="t585__wrapper">
2298<div id="accordion1_885014302" class="t585__content">
2299<div class="t585__textwrapper">
2300<div class="t585__text t-descr t-descr_xs bvi-speech">Да, достаточно уделять учебе 5−8 часов в неделю, или примерно 1 час ежедневно</div>
2301</div>
2302</div>
2303</div>
2304</div>
2305</div>
2306                            </div>
2307                        </div>
2308                    </div>
2309                                </div>
2310        </div>
2311    </div>
2312
2313
2314
2315
2316    </div><!--.site-content-inner-->
2317
2318    
2319    </div><!--.site-content-->
2320
2321
2322
2323
2324
2325
2326    <footer class="muip-footer">
2327        <div class="muip-footer__inner">
2328            <div class="muip-footer__cols">
2329                <div class="muip-footer__col muip-footer__col--left">
2330                    <div class="muip-footer__section">
2331                        <h4 class="muip-footer__title"><a href="/programm/">Программы</a></h4>
2332                        <ul class="muip-footer__list">
2333                            <li><a href="/#programs-section" data-program-category="1">Профессиональная
2334                                    переподготовка</a></li>
2335                            <li><a href="/#programs-section" data-program-category="2">Повышение квалификации</a></li>
2336                            <li><a href="/#programs-section" data-program-category="3">Саморазвитие</a></li>
2337                            <li><a href="/#programs-section" data-program-category="all">Все</a></li>
2338                        </ul>
2339                    </div>
2340
2341                    <div class="muip-footer__section muip-footer__section--nav">
2342                        <ul class="muip-footer__list muip-footer__list--nav">
2343                            <li><a href="/#programs-section" data-program-category="4">События</a></li>
2344                            <li><a href="/catalog/">Каталог психологов</a></li>
2345                            <li><a href="/blog/">Блог</a></li>
2346                            <li><a href="/klub-psikhologov/">Клуб психологов</a></li>
2347                            <li><a href="/referal/">Приведи друга в МУИП</a></li>
2348                        </ul>
2349                    </div>
2350
2351                    <div class="muip-footer__badges">
2352                        <div class="muip-footer__badge logotype">
2353                            <img src="/wp-content/themes/reboot_child/assets/images/logo.svg" alt="Логотип">
2354                            <span>Международный университет интегративной психологии</span>
2355                        </div>
2356                        <div class="muip-footer__badge muip-footer__badge--sk">
2357                            <img src="/wp-content/themes/reboot_child/assets/images/sk.png" alt="Sk участник">
2358                        </div>
2359                    </div>
2360
2361                    <p class="muip-footer__copy">©2026 Все права защищены</p>
2362                </div>
2363
2364                <div class="muip-footer__col muip-footer__col--middle">
2365                    <ul class="muip-footer__list muip-footer__list--docs">
2366                        <li><a href="/svedenia/">Сведения об образовательной организации</a></li>
2367                        <li><a href="/sposob_oplaty/">Способы оплаты</a></li>
2368                        <li><a href="/rassylka/">Согласие на получение новостной и рекламной рассылки</a></li>
2369                        <li><a href="/politika/">Политика об обработке персональных данных</a></li>
2370                        <li><a href="/agreement/">Согласие на обработку персональных данных</a></li>
2371                        <li><a href="/obshchaya/">Публичная оферта</a></li>
2372                        <li><a href="/custom/">Пользовательское соглашение</a></li>
2373                        <li><a href="/cookie/">
2373Согласие на обработку файлов cookie</a></li>
2374                    </ul>
2375
2376                    <div class="muip-footer__newsletter">
2377                        <div class="muip-footer__newsletter-title">Рассылка</div>
2378
2379                        <button class="muip-footer__btn muip-footer__btn--white" type="button"
2380                                data-target="sgPopup1332">
2381                            Подписаться на рассылку
2382                        </button>
2383
2384                        <p class="muip-footer__note">
2385                            Нажимая на кнопку, вы соглашаетесь с политикой обработки персональных данных
2386                        </p>
2387                    </div>
2388                </div>
2389
2390                <div class="muip-footer__col muip-footer__col--right">
2391                    <h4 class="muip-footer__title">Контакты</h4>
2392
2393                    <div class="muip-footer__company">
2394                        <p>ОБЩЕСТВО С ОГРАНИЧЕННОЙ ОТВЕТСТВЕННОСТЬЮ "МЕЖДУНАРОДНЫЙ УНИВЕРСИТЕТ ИНТЕГРАТИВНОЙ
2395                            ПСИХОЛОГИИ"</p>
2396                        <p>ИНН 9717121622</p>
2397                        <p>КПП 772301001</p>
2398                        <p>ОГРН 1227700630222</p>
2399                        <p>
2400                            Юр. адрес: 649000, Россия,<br> г. Горно‑Алтайск, ул. Чорос‑Гуркина, д. 40, помещение № 25
2401                        </p>
2402                    </div>
2403
2404                    <div class="muip-footer__contacts">
2405                        <a href="mailto:[email protected]" class="muip-footer__contact-link">
2406                            [email protected]
2407                        </a>
2408                        <a href="tel:88003339616" class="muip-footer__contact-link">
2409                            8 800 333-96-16
2410                        </a>
2411                    </div>
2412
2413                    <button class="muip-footer__btn muip-footer__btn--outline footer-callback" type="button">
2414                        Заказать звонок
2415                    </button>
2416
2417                    <div class="muip-footer__socials">
2418                        <a href="https://vk.ru/reira_reira" target="_blank" rel="noopener"
2419                           class="muip-footer__social-link">
2420                            <svg width="34" height="34" viewBox="0 0 34 34" fill="none"
2421                                 xmlns="http://www.w3.org/2000/svg">
2422                                <mask id="mask0_16002_61" style="mask-type:luminance" maskUnits="userSpaceOnUse" x="0"
2423                                      y="0" width="34" height="34">
2424                                    <path d="M33.6634 0H0V34H33.6634V0Z" fill="white"/>
2425                                </mask>
2426                                <g mask="url(#mask0_16002_61)">
2427                                    <path d="M0 16.32C0 8.62668 0 4.78003 2.36635 2.39001C4.7327 0 8.54127 0 16.1584 0H17.505C25.1221 0 28.9307 0 31.297 2.39001C33.6634 4.78003 33.6634 8.62668 33.6634 16.32V17.68C33.6634 25.3733 33.6634 29.22 31.297 31.61C28.9307 34 25.1221 34 17.505 34H16.1584C8.54127 34 4.7327 34 2.36635 31.61C0 29.22 0 25.3733 0 17.68V16.32Z"
2428                                          fill="#0077FF"/>
2429                                    <path d="M17.9127 24.4943C10.2402 24.4943 5.864 19.1818 5.68164 10.3418H9.52489C9.65112 16.8301 12.4844 19.5784 14.7286 20.1451V10.3418H18.3475V15.9376C20.5637 15.6968 22.8918 13.1468 23.6773 10.3418H27.2962C26.6931 13.7985 24.1683 16.3484 22.3729 17.3968C24.1683 18.2468 27.0439 20.4709 28.1379 24.4943H24.1543C23.2987 21.8026 21.1669 19.7201 18.3475 19.4368V24.4943H17.9127Z"
2430                                          fill="white"/>
2431                                </g>
2432                            </svg>
2433                        </a>
2434                        <a href="https://telegram.me/integps " target="_blank" rel="noopener" class="muip-footer__social-link">
2435                            <svg width="34" height="34" viewBox="0 0 34 34" fill="none"
2436                                 xmlns="http://www.w3.org/2000/svg">
2437                                <g clip-path="url(#clip0_16002_19)">
2438                                    <path d="M17.0071 34.0142C26.3998 34.0142 34.0142 26.3998 34.0142 17.0071C34.0142 7.61433 26.3998 0 17.0071 0C7.61433 0 0 7.61433 0 17.0071C0 26.3998 7.61433 34.0142 17.0071 34.0142Z"
2439                                          fill="url(#paint0_linear_16002_19)"/>
2440                                    <path fill-rule="evenodd" clip-rule="evenodd"
2441                                          d="M7.69022 16.823C12.6465 14.6706 15.9459 13.2404 17.6028 12.5465C22.3183 10.5781 23.3095 10.2383 23.9468 10.2241C24.0884 10.2241 24.3999 10.2524 24.6123 10.4224C24.7823 10.564 24.8247 10.7481 24.8531 10.8897C24.8814 11.0313 24.9097 11.3287 24.8814 11.5552C24.6265 14.2458 23.522 20.7739 22.9555 23.776C22.7148 25.0504 22.2475 25.4753 21.7943 25.5177C20.8031 25.6027 20.052
24416 24.8664 19.1038 24.2433C17.6027 23.2662 16.7673 22.6573 15.3087 21.6943C13.6236 20.5898 14.714 19.9809 15.6769 18.9896C15.9318 18.7347 20.2791 14.7697 20.3641 14.4157C20.3783 14.3732 20.3783 14.2033 20.2791 14.1183C20.18 14.0334 20.0384 14.0617 19.9251 14.09C19.7693 14.1183 17.3903 15.7043 12.7598 18.8339C12.0801 19.3012 11.4711 19.5277 10.9189 19.5136C10.31 19.4994 9.14877 19.1737 8.27081 18.8905C7.20875 18.5507 6.3591 18.3666 6.42991 17.7718C6.47239 17.4603 6.89721 17.1487 7.69022 16.823Z"
2442                                          fill="white"/>
2443                                </g>
2444                                <defs>
2445                                    <linearGradient id="paint0_linear_16002_19" x1="16.9929" y1="0" x2="16.9929"
2446                                                    y2="33.7451" gradientUnits="userSpaceOnUse">
2447                                        <stop stop-color="#2AABEE"/>
2448                                        <stop offset="1" stop-color="#229ED9"/>
2449                                    </linearGradient>
2450                                    <clipPath id="clip0_16002_19">
2451                                        <rect width="34" height="34" fill="white"/>
2452                                    </clipPath>
2453                                </defs>
2454                            </svg>
2455                        </a>
2456                    </div>
2457
2458                    <div class="muip-footer__license">
2459                        <div class="muip-footer__license-title">Образовательная лицензия</div>
2460                        <a href="https://islod.obrnadzor.gov.ru" target="_blank" rel="noopener"
2461                           class="muip-footer__license-number">
2462                            № Л035-01298-77/00737076
2463                        </a>
2464                        <div style="margin-top: 5px;">
2465                            16.01 - код вида деятельности в области IT по перечню, утвержденному приказом Министерства
2466                            цифрового развития, связи и массовых коммуникаций Российской Федерации от 11 мая 2023 г. №
2467                            449
2468                        </div>
2469                        <div style="margin-top: 5px;">
2470                            Сведения о программном обеспечении PROBODY включены в реестр российского программного
2471                            обеспечения - реестровая запись
2472                            №31914 <a href="https://reestr.digital.gov.ru/reestr/6683531/" style="font-weight: bold">
2473                                (https://reestr.digital.gov.ru/reestr/6683531/)</a> от 06.02.2026г.
2474                        </div>
2475                    </div>
2476
2477                    <p class="muip-footer__disclaimer">
2478                        Информация на сайте не является публичной офертой
2479                    </p>
2480                    <p class="muip-footer__disclaimer">
2481                        Продвижение сайта — <a href="https://sales-generator.ru/?roistat_visit=8763281" target="_blank">Генератор
2482                            Продаж</a>
2483                    </p>
2484                </div>
2485            </div>
2486        </div>
2487    </footer>
2488
2489    
2489<script>
2490        // Обработка кликов по ссылкам на категории программ в футере
2491        document.addEventListener('DOMContentLoaded', function () {
2492            var footerLinks = document.querySelectorAll('.muip-footer__list a[data-program-category]');
2493
2494            footerLinks.forEach(function (link) {
2495                link.addEventListener('click', function (e) {
2496                    var category = this.getAttribute('data-program-category');
2497                    sessionStorage.setItem('programCategory', category);
2498                });
2499            });
2500        });
2501    </script>
2501
2502
2503
2504<div class="scroll-top">
2505    <svg width="60" height="60" viewBox="0 0 60 60" fill="none" xmlns="http://www.w3.org/2000/svg">
2506        <rect width="60" height="60" rx="30" fill="#0a756f"/>
2507        <path d="M30 41.3333V18.6667M30 18.6667L20.0833 28.5833M30 18.6667L39.9166 28.5833" stroke="white" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"/>
2508    </svg>
2509</div>
2510<style>
2511    .scroll-top {
2512        display: none;
2513        width: 60px;
2514        height: 60px;
2515        position: fixed;
2516        border: none;
2517        outline: 0;
2518        cursor: pointer;
2519        z-index: 1001;
2520        -webkit-transition: all .3s;
2521        -o-transition: all .3s;
2522        transition: all .3s;
2523        bottom: 20px;
2524        right: 95px;
2525    }
2526
2527    @media (max-width: 768px) {
2528        .scroll-top {
2529            bottom: 115px;
2530            right: 47px;
2531            width: 40px;
2532            height: 40px;
2533        }
2534        .scroll-top svg {
2535            width: 40px;
2536            height: 40px;
2537        }
2538    }
2539
2540    .scroll-top:hover {
2541        opacity: 1;
2542        -webkit-transform: translateY(-3px) translateZ(0);
2543        transform: translateY(-3px) translateZ(0)
2544    }
2545
2546</style>
2547<script>
2548    document.addEventListener("DOMContentLoaded", function () {
2549        var windowWidth = window.innerWidth;
2550        var scrollButton = document.querySelector(".scroll-top");
2551
2552        scrollButton.addEventListener("click", function () {
2553            window.scrollTo({
2554                top: 0,
2555                behavior: 'smooth'
2556            });
2557        });
2558
2559        window.addEventListener("scroll", function () {
2560            if (window.scrollY > 100) {
2561                scrollButton.style.display = "block";
2562            } else {
2563                scrollButton.style.display = "none";
2564            }
2565        });
2566    });
2567
2568</script>
2568
2569</div><!-- #page -->
2570
2571<div id="cookie-banner" class="cookie-banner" aria-live="polite" role="dialog"
2572     aria-label="Уведомление об использовании cookie">
2573    <div class="cookie-banner__text">
2574        Данный сайт использует файлы cookie в целях обеспечения корректной работы сайта. Продолжая использовать сайт, вы
2575        принимаете <a href="https://psy-muip.ru/politika/" target="_blank" rel="noopener">Условия&nbsp;обработки файлов&nbsp;cookie</a>.
2576        Вы можете отключить обработку файлов cookie в настройках вашего браузера.
2577    </div>
2578    <button id="cookie-banner-ok" class="cookie-banner__btn" type="button">OK</button>
2579</div>
2580<style>
2581    .cookie-banner {
2582        position: fixed;
2583        bottom: 32px;
2584        right: 32px;
2585        left: auto;
2586        z-index: 999999;
2587        background: #fff;
2588        border-radius: 16px;
2589        padding: 20px 14px;
2590        max-width: 400px;
2591        box-sizing: border-box;
2592        text-align: center;
2593        font-family: Arial, sans-serif;
2594        box-shadow: 0 2px 15px 0 rgba(0, 0, 0, 0.19);
2595    }
2596
2597    .cookie-banner__text {
2598        font-weight: 400;
2599        font-size: 14px;
2600        line-height: 116%;
2601        text-align: center;
2602        color: #363636;
2603        margin-bottom: 20px;
2604    }
2605
2606    .cookie-banner__text a {
2607        color: #222;
2608        text-decoration: underline;
2609    }
2610
2611    .cookie-banner__text a:hover {
2612        color: #2B7A6F;
2613    }
2614
2615    .cookie-banner__btn {
2616        border-radius: 16px;
2617        width: 160px;
2618        height: 40px;
2619        background: #0c7670;
2620        color: #fff;
2621        border: none;
2622        margin: auto;
2623        font-size: 14px;
2624        font-family: Arial, sans-serif;
2625        font-weight: 500;
2626        letter-spacing: 0.04em;
2627        cursor: pointer;
2628        transition: background 0.2s;
2629    }
2630
2631    .cookie-banner__btn:hover {
2632        background: #236358;
2633    }
2634
2635    @media (max-width: 768px) {
2636        .cookie-banner {
2637            right: auto;
2638            left: 16px;
2639            bottom: 16px;
2640            border-radius: 7px;
2641            width: 296px;
2642        }
2643
2644        .cookie-banner__text {
2645            font-size: 10px;
2646            line-height: 165%;
2647            margin-bottom: 10px;
2648        }
2649
2650        .cookie-banner__btn {
2651            width: 113px;
2652            height: 23px;
2653        }
2654    }
2655</style>
2656<script>
2657    (function () {
2658        var btn = document.getElementById('cookie-banner-ok');
2659        if (!btn) return;
2660        btn.addEventListener('click', function () {
2661            // Ставим cookie на 1 год
2662            var expires = new Date();
2663            expires.setFullYear(expires.getFullYear() + 1);
2664            document.cookie = 'cookie_accepted=1; path=/; expires=' + expires.toUTCString() + '; SameSite=Lax';
2665            document.getElementById('cookie-banner').style.display = 'none';
2666        });
2667    })();
2668</script>
2668
2669
2670<noindex>
2671    <div class="widget-gift js-widget-gift">
2672        <button class="widget-gift__close js-widget-gift-close" aria-label="Закрыть">&#x2715;</button>
2673        <img src="/wp-content/themes/reboot_child/assets/images/widgets/gift_0607.webp">
2674        <div class="widget-gift__offer">
2675            Забрать подарок
2676        </div>
2677    </div>
2678</noindex>
2679
2680<script type="speculationrules">
2681{"prefetch":[{"source":"document","where":{"and":[{"href_matches":"/*"},{"not":{"href_matches":["/wp-*.php","/wp-admin/*","/wp-content/uploads/*","/wp-content/*","/wp-content/plugins/*","/wp-content/themes/reboot_child/*","/wp-content/themes/reboot/*","/*\\?(.+)"]}},{"not":{"selector_matches":"a[rel~=\"nofollow\"]"}},{"not":{"selector_matches":".no-prefetch, .no-prefetch a"}}]},"eagerness":"conservative"}]}
2682</script>
vendor: 1 bytes, line 2682
2682
2683<script id="bvi-script-js-extra">
2684var wp_bvi = {"option":{"theme":"white","font":"arial","fontSize":16,"letterSpacing":"normal","lineHeight":"normal","images":true,"reload":false,"speech":true,"builtElements":true,"panelHide":false,"panelFixed":true,"lang":"ru-RU"}};
2685//# sourceURL=bvi-script-js-extra
2686</script>
vendor: 1 bytes, line 2686
2686
2687<script id="bvi-script-js" src="https://psy-muip.ru/wp-content/plugins/button-visually-impaired/assets/js/bvi.min.js?ver=2.3.0"></script>
vendor: 1 bytes, line 2687
2687
2688<script id="bvi-script-js-after">
2689var Bvi = new isvek.Bvi(wp_bvi.option);
2690//# sourceURL=bvi-script-js-after
2691</script>
vendor: 1 bytes, line 2691
2691
2692<script id="swiper-js-js" src="https://cdn.jsdelivr.net/npm/swiper@10/swiper-bundle.min.js?ver=7.1"></script>
vendor: 1 bytes, line 2692
2692
2693<script id="scripts-fancybox-js" src="https://cdn.jsdelivr.net/npm/@fancyapps/ui/dist/fancybox.umd.js?ver=7.1"></script>
vendor: 1 bytes, line 2693
2693
2694<script id="home-js" src="https://psy-muip.ru/wp-content/themes/reboot_child/assets/js/home-page.js?ver=7.1"></script>
vendor: 1 bytes, line 2694
2694
2695<script id="main-js-js" src="https://psy-muip.ru/wp-content/themes/reboot_child/assets/js/script.js?ver=in_footer"></script>
2695
2696
2697
2698        <!-- Initialize Swiper -->
2699        
2699<script>
2700            
2701            var wpshopSwiperThumbs = new Swiper('.js-swiper-home-thumbnails', {
2702                spaceBetween: 10,
2703                slidesPerView: 4,
2704                freeMode: true,
2705                loopedSlides: 5, //looped slides should be the same
2706                watchSlidesVisibility: true,
2707                watchSlidesProgress: true,
2708                breakpoints: {
2709                    1024: {
2710                        slidesPerView: 4,
2711                    },
2712                    900: {
2713                        slidesPerView: 3,
2714                    },
2715                    760: {
2716                        slidesPerView: 2,
2717                    },
2718                    600: {
2719                        slidesPerView: 1,
2720                    },
2721                },
2722            });
2723
2724            
2725            var wpshopSwiper = new Swiper('.js-swiper-home', {
2726                                                spaceBetween: 30,
2727                loop: true,
2728                pagination: {
2729                    el: '.swiper-pagination',
2730                    clickable: true,
2731                },
2732                navigation: {
2733                    nextEl: '.swiper-button-next',
2734                    prevEl: '.swiper-button-prev',
2735                },
2736                                autoplay: {
2737                    delay: 3500,
2738                    disableOnInteraction: true,
2739                },
2740                                                thumbs: {
2741                    swiper: wpshopSwiperThumbs,
2742                },
2743                loopedSlides: 5, //looped slides should be the same
2744                            });
2745        </script>
2745
2746    
2747
2748<script>(function (a, m, o, c, r, m) {
2749        a[m] = {
2750            id: "422605",
2751            hash: "18579e6d2546ed949f44a84dacccae3e5ab02ce55aab1fe33b4d197009a95914",
2752            locale: "ru",
2753            inline: false,
2754            setMeta: function (p) {
2755                this.params = (this.params || []).concat([p])
2756            }
2757        };
2758        a[o] = a[o] || function () {
2759            (a[o].q = a[o].q || []).push(arguments)
2760        };
2761        var d = a.document, s = d.createElement('script');
2762        s.async = true;
2763        s.id = m + '_script';
2764        s.src = 'https://gso.amocrm.ru/js/button.js';
2765        d.head && d.head.appendChild(s)
2766    }(window, 0, 'amoSocialButton', 0, 0, 'amo_social_button'));</script>
2766
2767
2768<script>addEventListener('DOMContentLoaded', function(){window.sgTopbar262 = {'selectors': [],'header': false,'instance': false,'intervals': {'init': false},'body': {'styles': {'old': false,'new': false}}};window.sgTopbar262.selectors.push('#new_header');function getTopbar262Header() {let header = false;for(let selector of window.sgTopbar262.selectors) {element = document.querySelector(selector);if(element) {if( isVisible(element) ) {header = element;break;}}}window.sgTopbar262.header = header;return header}if(window.sgTopbar262.intervals.init === false) {window.sgTopbar262.intervals.init = setInterval(function(){if(getTopbar262Header()){clearInterval(window.sgTopbar262.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());insertTopbar262();}}}, 1000);}function insertTopbar262() {topbar = document.createElement('div');topbar.id = 'sgTopbar262';alreadyAdded = document.querySelector('#'+ topbar.id);if(!alreadyAdded) {dateToTopbar262 = 1774224000 * 1000;if(dateToTopbar262 < Date.now()) {do {dateToTopbar262 += 7 * 24 * 60 * 60 * 1000;} while (dateToTopbar262 < Date.now());}dateTopbar262 = new Date(dateToTopbar262);formattedDateTopbar262 = '{day}.{month}';if(formattedDateTopbar262.indexOf('{day}') != -1) {day = dateTopbar262.getDate();if("number_full" == "number_full") {if(day < 10) {day = '0' + day;}}formattedDateTopbar262 = formattedDateTopbar262.replace('{day}', day);}if(formattedDateTopbar262.indexOf('{month}') != -1) {month = dateTopbar262.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];}formattedDateTopbar262 = formattedDateTopbar262.replace('{month}', month);}if(formattedDateTopbar262.indexOf('{year}') != -1) {year = dateTopbar262.getFullYear();if("number_full" == "number_short") {year = year.toString().substr(-2);}formattedDateTopbar262 = formattedDateTopbar262.replace('{year}', year);}wrapper = document.createElement('div');wrapper.classList = 'topbar-wrapper';wrapper.dataset.step = '1485';wrapper.dataset.position = 'static';wrapper.dataset.type = 'opener';wrapper.dataset.popup = '1883';wrapper.setAttribute('onClick', 'ym(93615077,\'reachGoal\',\'Top_bar_click_button\')');wrapper.style.backgroundColor = '#fef774ff';html = '<div class="topbar-container" style="max-width: 320px; min-height: 60px; padding: 0px 0px 1px 0px"><div class="topbar-element" data-type="button-close" style="position:absolute;z-index:0;top:5px;left:291px"><div class="topbarElement-content"><button class="button-close" style="padding: 10px; width: 29px; height: 29px; 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(0, 0, 0);"><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:36px;left:-3px"><div class="topbarElement-content"><button class="button-link" style="padding: 4px 15px 5px; width: 323px; height: 20px; background-color: rgb(171, 39, 79); border: 0px solid rgb(255, 255, 255); border-radius: 25px; font-size: 11px; color: rgb(255, 255, 255); font-weight: 700;" data-type="opener" data-popup="1883">Записаться сейчас</button><div class="topbarElement-actions"><div class="topbarElement-action elementEdit-trigger"></div></div></div></div><div class="topbar-element" data-type="editor" data-element-id="756364" style="position:absolute;z-index:0;top:0px;left:18.8195px;width:277.18px;height:13px;background-color:#00000000;border-color:#000000;pLineHeight:120%" data-p-line-height="120%"><style>#sgTopbar262 .topbar-element[data-element-id="756364"][data-type="editor"] * {line-height: 120%}</style><div class="topbarElement-content"><p><span style="color:hsl(0,0%,0%);font-size:14px;"><strong>Открыта предзапись курса телесной</strong></span></p></div></div><div class="topbar-element" data-type="editor" data-element-id="946744" style="position:absolute;z-index:0;top:14.8889px;left:43.9167px;width:224px;height:22px;background-color:#00000000;border-color:#000000;pLineHeight:120%" data-p-line-height="120%"><style>#sgTopbar262 .topbar-element[data-element-id="946744"][data-type="editor"] * {line-height: 120%}</style><div class="topbarElement-content"><p><span style="font-size:14px;"><strong>терапии </strong></span><span style="color:hsl(342,63%,41%);font-size:14px;"><strong>со скидкой до 50 000 ₽</strong></span></p></div></div></div>';wrapper.innerHTML = '<noindex>'+ html +'</noindex>';topbar.append(wrapper);wrapper = document.createElement('div');wrapper.classList = 'topbar-wrapper';wrapper.dataset.step = '1484';wrapper.dataset.position = 'static';wrapper.dataset.type = 'opener';wrapper.dataset.popup = '1883';wrapper.setAttribute('onClick', 'ym(93615077,\'reachGoal\',\'Top_bar_click_button\')');wrapper.style.backgroundColor = '#fef774ff';html = '<div class="topbar-container" style="max-width: 360px; min-height: 60px; padding: 1px 1px 1px 1px"><div class="topbar-element" data-type="editor" data-element-id="756381" style="position:absolute;z-index:0;top:1px;left:48.875px;width:264px;height:15px;background-color:#00000000;border-color:#000000;pLineHeight:120%" data-p-line-height="120%"><style>#sgTopbar262 .topbar-element[data-element-id="756381"][data-type="editor"] * {line-height: 120%}</style><div class="topbarElement-content"><p><span style="color:hsl(0,0%,0%);font-size:14px;"><strong>Открыта предзапись курса телесной</strong></span></p></div></div><div class="topbar-element" data-type="button-close" style="position:absolute;z-index:0;top:1px;
2768left:331px"><div class="topbarElement-content"><button class="button-close" style="padding: 10px; width: 28px; height: 28px; 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(0, 0, 0);"><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:36px;left:4px"><div class="topbarElement-content"><button class="button-link" style="padding: 4px 15px 5px; width: 350px; height: 20px; background-color: rgb(171, 39, 79); border: 0px solid rgb(255, 255, 255); border-radius: 25px; font-size: 12px; color: rgb(255, 255, 255); font-weight: 700;" data-type="opener" data-popup="1883">Записаться сейчас</button><div class="topbarElement-actions"><div class="topbarElement-action elementEdit-trigger"></div></div></div></div><div class="topbar-element" data-type="editor" data-element-id="809882" style="position:absolute;z-index:0;top:16px;left:64.75px;width:236px;height:14px;background-color:#00000000;border-color:#000000;pLineHeight:120%" data-p-line-height="120%"><style>#sgTopbar262 .topbar-element[data-element-id="809882"][data-type="editor"] * {line-height: 120%}</style><div class="topbarElement-content"><p><span style="color:hsl(0,0%,0%);font-size:14px;"><strong>терапии </strong></span><span style="color:hsl(342,63%,41%);font-size:14px;"><strong>со скидкой до 50 000 ₽</strong></span></p></div></div></div>';wrapper.innerHTML = '<noindex>'+ html +'</noindex>';topbar.append(wrapper);wrapper = document.createElement('div');wrapper.classList = 'topbar-wrapper';wrapper.dataset.step = '1483';wrapper.dataset.position = 'static';wrapper.dataset.type = 'opener';wrapper.dataset.popup = '1883';wrapper.setAttribute('onClick', 'ym(93615077,\'reachGoal\',\'Top_bar_click_button\')');wrapper.style.backgroundColor = '#fef774ff';html = '<div class="topbar-container" style="max-width: 700px; min-height: 60px; padding: 5px 15px 5px 15px"><div class="topbar-element" data-type="editor" data-element-id="740740" style="position:absolute;z-index:0;top:8.84723px;left:102.833px;width:336px;height:43px;background-color:#00000000;border-color:#000000;pLineHeight:120%" data-p-line-height="120%"><style>#sgTopbar262 .topbar-element[data-element-id="740740"][data-type="editor"] * {line-height: 120%}</style><div class="topbarElement-content"><p><span style="color:hsl(0,0%,0%);font-size:18px;"><strong>Открыта предзапись курса телесной терапии </strong></span><span style="color:hsl( 342, 63%, 41% );font-size:18px;"><strong>со скидкой до 50 000 ₽</strong></span></p></div></div><div class="topbar-element" data-type="button-close" style="position:absolute;z-index:0;top:11.9896px;left:655px"><div class="topbarElement-content"><button class="button-close" style="padding: 10px; width: 30px; height: 30px; 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(0, 0, 0);"><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:9.88892px;left:500.903px"><div class="topbarElement-content"><button class="button-link" style="padding: 5px; width: 136px; height: 40px; background-color: rgb(171, 39, 79); border: 0px solid rgb(255, 255, 255); border-radius: 25px; font-size: 12px; color: rgb(255, 255, 255); font-weight: 700;" data-type="opener" data-popup="1883">Записаться сейчас</button><div class="topbarElement-actions"><div class="topbarElement-action elementEdit-trigger"></div></div></div></div></div>';wrapper.innerHTML = '<noindex>'+ html +'</noindex>';topbar.append(wrapper);wrapper = document.createElement('div');wrapper.classList = 'topbar-wrapper';wrapper.dataset.step = '1482';wrapper.dataset.position = 'static';wrapper.dataset.type = 'opener';wrapper.dataset.popup = '1883';wrapper.setAttribute('onClick', 'ym(93615077,\'reachGoal\',\'Top_bar_click_button\')');wrapper.style.backgroundColor = '#fef774ff';html = '<div class="topbar-container" style="max-width: 1920px; min-height: 50px; padding: 5px 15px 5px 15px"><div class="topbar-element" data-type="editor" data-element-id="482359" style="position:absolute;z-index:0;top:14px;left:209.847px;width:800px;height:26px;background-color:#00000000;border-color:#000000;pLineHeight:120%" data-p-line-height="120%"><style>#sgTopbar262 .topbar-element[data-element-id="482359"][data-type="editor"] * {line-height: 120%}</style><div class="topbarElement-content"><p><span style="color:hsl(0,0%,0%);font-size:22px;"><strong>Открыта предзапись курса телесной терапии</strong></span><span style="color:hsl(342,63%,41%);font-size:22px;"><strong> со скидкой до 50 000 ₽</strong></span></p></div></div><div class="topbar-element" data-type="button-close" style="position:absolute;z-index:0;top:8.98438px;left:1336.34px"><div class="topbarElement-content"><button class="button-close" style="padding: 10px; width: 33px; height: 33px; background-color: rgba(0, 0, 0, 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(0, 0, 0);">
2768<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:5px;left:1069.86px"><div class="topbarElement-content"><button class="button-link" style="padding: 5px; width: 260px; height: 40px; background-color: rgb(171, 39, 79); border: 0px solid rgb(255, 255, 255); border-radius: 25px; font-size: 18px; color: rgb(255, 255, 255); font-weight: 700;" data-type="opener" data-popup="1883">Записаться сейчас</button><div class="topbarElement-actions"><div class="topbarElement-action elementEdit-trigger"></div></div></div></div></div>';wrapper.innerHTML = '<noindex>'+ html +'</noindex>';topbar.append(wrapper);document.body.append(topbar);document.body.classList.add(topbar.id);window.sgTopbar262.instance = topbar;setTimeout(function(){sgTopbar262position();}, 100);linkWrappers = window.sgTopbar262.instance.querySelectorAll('.topbar-wrapper[data-type="link"]');if(linkWrappers) {for(let linkWrapper of linkWrappers) {linkWrapper.addEventListener('click', function(event){event.preventDefault();event.stopPropagation();if(linkWrapper.dataset.link) {if(linkWrapper.dataset.target == '_blank') {window.open(linkWrapper.dataset.link);} else {location.href = linkWrapper.dataset.link}}});}}openerWrappers = window.sgTopbar262.instance.querySelectorAll('.topbar-wrapper[data-type="opener"]');if(openerWrappers) {for(let openerWrapper of openerWrappers) {openerWrapper.addEventListener('click', function(event){event.preventDefault();event.stopPropagation();if(openerWrapper.dataset.popup) {if(typeof window['sgPopup' + openerWrapper.dataset.popup] == 'function') {window['sgPopup' + openerWrapper.dataset.popup]('forceOpen');}}});}}linkImages = window.sgTopbar262.instance.querySelectorAll('.image-wrapper[data-type="link"]');if(linkImages) {for(let linkImage of linkImages) {linkImage.addEventListener('click', function(event){event.preventDefault();event.stopPropagation();if(linkImage.dataset.link) {if(linkImage.dataset.target == '_blank') {window.open(linkImage.dataset.link);} else {location.href = linkImage.dataset.link}}});}}openerImages = window.sgTopbar262.instance.querySelectorAll('.image-wrapper[data-type="opener"]');if(openerImages) {for(let openerImage of openerImages) {openerImage.addEventListener('click', function(event){event.preventDefault();event.stopPropagation();if(openerImage.dataset.popup) {if(typeof window['sgPopup' + openerImage.dataset.popup] == 'function') {window['sgPopup' + openerImage.dataset.popup]('forceOpen');}}});}}linkButtons = window.sgTopbar262.instance.querySelectorAll('.button-link');if(linkButtons) {for(let linkButton of linkButtons) {linkButton.addEventListener('click', function(event){event.preventDefault();event.stopPropagation();sgTopbar262reachGoal("ym(93615077,'reachGoal','Top_bar_click_button');");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.sgTopbar262.instance.querySelectorAll('.button-close');if(closeButtons) {for(let closeButton of closeButtons) {closeButton.addEventListener('click', function(event){event.preventDefault();event.stopPropagation();window.sgTopbar262.instance.style.display = 'none';sgTopbar262position();window.sgTopbar262.instance.parentNode.removeChild(window.sgTopbar262.instance);document.body.classList.remove(topbar.id);});}}sgTopbar262reachGoal("ym(93615077,'reachGoal','Top_bar_show');");addEventListener('resize', function(){sgTopbar262position();});}}function sgTopbar262position() {const header = getTopbar262Header();if(header) {bodyTop = 0;headerBottom = 0;topbarPosition = 'fixed';if( document.querySelector('#sgTopbar262') ){headerStyle = window.getComputedStyle(header);zIndex = 102;window.sgTopbar262.instance.style.zIndex = zIndex;
2768if(header == document.body){topbarTop = 0;} else {topbarTop = header.offsetHeight + header.offsetTop - 1;rect = header.getBoundingClientRect();topbarTop += rect.top;topbarTop += 'px';}if( header == document.body || ['fixed', 'absolute'].includes( headerStyle.getPropertyValue('position') ) ) {topbarPosition = 'fixed';} else {headerBottom = window.sgTopbar262.instance.offsetHeight;topbarPosition = 'fixed';}window.sgTopbar262.instance.style.top = topbarTop;window.sgTopbar262.instance.style.position = topbarPosition;bodyStyle = window.getComputedStyle(document.body);if( !window.sgTopbar262.body.styles.old ) {window.sgTopbar262.body.styles.old = {'top': parseInt(bodyStyle['top']),'marginTop': parseInt(bodyStyle['marginTop']),}}if(window.sgTopbar262.body.styles.old.marginTop) {window.sgTopbar262.body.styles.new = {'top': 0,'marginTop': window.sgTopbar262.body.styles.old.marginTop + window.sgTopbar262.instance.offsetHeight,}} else {window.sgTopbar262.body.styles.new = {'top': window.sgTopbar262.body.styles.old.top + window.sgTopbar262.instance.offsetHeight,'marginTop': 0,}}if(parseInt(bodyStyle['top']) != window.sgTopbar262.body.styles.new.top) {document.body.style.top = window.sgTopbar262.body.styles.new.top + 'px';} else if(parseInt(bodyStyle['marginTop']) != window.sgTopbar262.body.styles.new.marginTop) {document.body.style.marginTop = window.sgTopbar262.body.styles.new.marginTop + 'px';}header.style.marginBottom = headerBottom + 'px';}} else {}}let topbar262scrollInterval;addEventListener('scrollend', function(){clearInterval(topbar262scrollInterval);});addEventListener('scroll', function(){if( topbar262scrollInterval ) {clearInterval(topbar262scrollInterval);}topbar262scrollInterval = setInterval(function(){sgTopbar262position();}, 1);document.body.classList.toggle('scrolled', window.pageYOffset);sgTopbar262position();});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 sgTopbar262reachGoal(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://psy-muip.ru/wp-json/generator.conversion/v1/actions/?token=8b115a64e0d810e8f5212cf21604b258&action=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.topbar262goals == 'undefined') {window.topbar262goals = [];}window.topbar262goals.push({'metrika': params[0],'action': params[1],'id': params[2]});if(typeof topbar262interval == 'undefined') {topbar262interval = setInterval(function(){if (typeof window.ym != 'undefined') {for(let goal of window.topbar262goals) {executeGoal(params);}window.topbar262goals = [];clearInterval(topbar262interval);}}, 1000);}}}} else {eval(goal);}}}}}});</script>
vendor: 1 bytes, line 2768
2768
2769<script>
2770								if(typeof window.sgPopup == 'undefined') {
2771									window.sgPopup = {
2772										opened: false,
2773										queue: [],
2774										shown: [],
2775										elements: {}
2776									};
2777								}
2778						
2779								addEventListener('DOMContentLoaded', () => {
2780						
2781									document.body.addEventListener('click', function(event){
2782										if(
2783											event.target.dataset.target == "sgPopup1325"
2784											|| event.target.closest('[data-target="sgPopup1325"]')
2785										) {
2786											Fancybox.close();
2787											sgPopup1325('forceOpen');
2788										}
2789									});
2790
2791									sgPopup1325autoOpen();
2792								});
2793
2794								function sgPopup1325autoOpen() {
2795							
2796								}
2797
2798								function sgPopup1325reachGoal(code) {
2799
2800									function executeGoal(params) {
2801										if(typeof params == 'object') {
2802
2803											eval('ym('+ params.join(',') +');');
2804
2805											let data = {
2806												'goal': params[2],
2807												timestamp: new Date().toISOString()
2808											};
2809
2810											var xmlhr = new XMLHttpRequest();
2811											xmlhr.open('POST', "https://psy-muip.ru/wp-json/generator.conversion/v1/actions/?_method=POST&action=goalLog");
2812											xmlhr.send(JSON.stringify(data));
2813
2814											xmlhr.onreadystatechange = function() {
2815												if (xmlhr.readyState === 4 && xmlhr.status === 200) {
2816													if( urlParams.get('debug') ) {
2817														const response = JSON.parse(xmlhr.response);
2818														console.log(response);
2819													}
2820												}
2821											}
2822
2823										}
2824									}
2825
2826									const goals = code.split(';');
2827									if(goals) {
2828										for(let goal of goals) {
2829											goal = goal.trim();
2830											if(goal != '') {
2831												const regexp = /ym(.*)/;
2832												if( regexp.test(goal) ) {
2833
2834													goal = goal.replace('ym(', '');
2835													goal = goal.replace(')', '');
2836													const params = goal.split(',');
2837													if(params) {
2838
2839														if (typeof window.ym != 'undefined') {
2840															executeGoal(params);
2841														} else {
2842															if(typeof window.popup1325goals == 'undefined') {
2843																window.popup1325goals = [];
2844															}
2845
2846															window.popup1325goals.push({
2847																'metrika': params[0],
2848																'action': params[1],
2849																'id': params[2]
2850															});
2851
2852															if(typeof popup1325interval == 'undefined') {
2853																popup1325interval = setInterval(function(){
2854																	if (typeof window.ym != 'undefined') {
2855																		for(let goal of window.popup1325goals) {
2856																			executeGoal(params);
2857																		}
2858																		window.popup1325goals = [];
2859																		clearInterval(popup1325interval);
2860																	}
2861																}, 1000);
2862															}
2863														}
2864													}
2865												} else {
2866													eval(goal);
2867												}
2868											}
2869										}
2870									}
2871
2872								}
2873
2874								function sgPopup1325(action = false) {
2875
2876									if(!action) return;
2877
2878									if( ['open', 'forceOpen'].includes(action) ) {
2879
2880								
2881										if(action == 'open' && window.sgPopup.shown.includes(1325)) {
2882											return false;
2883										}
2884
2885										if(window.sgPopup.opened) {
2886
2887											if(window.sgPopup.opened != 1325) {
2888												window.sgPopup.queue.push(1325);
2889											}
2890
2891										} else {
2892
2893											window.sgPopup.opened = 1325;
2894
2895											let html;
2896											let closeButton;
2897											if(window.innerWidth >= 1040) {
2898												html = "<noindex id='SGpopup1325' class='popup-wrapper grid-hidden'><div class='popup-area' data-type='area-container' style='position: relative; top: 82px; left: 26px; margin-left: ; width: 429px; height: 351px; '><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=\"Введите ваше имя\" data-name=\"Имя\" data-mask=\"null\" style=\"background-color: rgb(255, 255, 255); border-color: rgb(227, 227, 227); font-size: 17px; color: rgb(104, 104, 104); padding: 11px 20px; border-radius: 30px;\"></div></div><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=\"Ваш e-mail, например: [email protected]\" data-name=\"Почта\" data-mask=\"email\" required=\"\" style=\"background-color: rgb(255, 255, 255); border-color: rgb(227, 227, 227); font-size: 17px; color: rgb(104, 104, 104); padding: 11px 20px; border-radius: 30px;\"></div></div><div class='popup-element' data-type='input' style='margin-top: 0px;margin-right: 0px;margin-bottom: 9px;margin-left: 0px;'><div class='popupElement-content'><input type=\"text\" placeholder=\"+7 (___) ___ - __ - __\" data-name=\"Телефон\" data-mask=\"phone\" required=\"\" style=\"background-color: rgb(255, 255, 255); border-color: rgb(225, 225, 226); font-size: 17px; color: rgb(120, 120, 120); padding: 11px 15px 11px 14px; border-radius: 30px;\"></div></div><div class='popup-element' data-type='button-submit' style='margin-top: 0px;margin-right: 0px;margin-bottom: 7px;margin-left: 0px;'><div class='popupElement-content'><button type=\"submit\" style=\"background-color: rgb(10, 117, 111); color: rgb(0, 0, 0); font-size: 19px; border-radius: 30px; padding: 25px 30px;\" onclick=\"\"><div class=\"buttonSubmit-content\"><p><span style=\"color:hsl(0,0%,100%);\">Жду звонка</span></p></div></button></div></div><div class='popup-element' data-type='agree' data-element-id='498811' data-fill='#9e9e9eff' data-mode='default' style='margin-top: 0px;margin-right: 0px;margin-bottom: 7px;margin-left: 0px;'><style>#SGpopup1325 .popup-element[data-element-id='498811'][data-type='agree'] .popupElement-content input[type='checkbox'] + label:before {border-color: #9e9e9eff;} #SGpopup1325 .popup-element[data-element-id='498811'][data-type='agree'] .popupElement-content input[type='checkbox'] + label:after {background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHhtbG5zOnhsaW5rPSdodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rJyB2ZXJzaW9uPScxLjEnIHg9JzBweCcgeT0nMHB4JyB3aWR0aD0nNTEycHgnIGhlaWdodD0nNTEycHgnIHZpZXdCb3g9JzAgMCA0NDIuNTMzIDQ0Mi41MzMnIHN0eWxlPSdlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDQ0Mi41MzMgNDQyLjUzMycgeG1sOnNwYWNlPSdwcmVzZXJ2ZSc+PHBhdGggZD0nTTQzNC41MzksOTguNDk5bC0zOC44MjgtMzguODI4Yy01LjMyNC01LjMyOC0xMS43OTktNy45OTMtMTkuNDEtNy45OTNjLTcuNjE4LDAtMTQuMDkzLDIuNjY1LTE5LjQxNyw3Ljk5M0wxNjkuNTksMjQ3LjI0OCBsLTgzLjkzOS04NC4yMjVjLTUuMzMtNS4zMy0xMS44MDEtNy45OTItMTkuNDEyLTcuOTkyYy03LjYxNiwwLTE0LjA4NywyLjY2Mi0xOS40MTcsNy45OTJMNy45OTQsMjAxLjg1MiAgIEMyLjY2NCwyMDcuMTgxLDAsMjEzLjY1NCwwLDIyMS4yNjljMCw3LjYwOSwyLjY2NCwxNC4wODgsNy45OTQsMTkuNDE2bDEwMy4zNTEsMTAzLjM0OWwzOC44MzEsMzguODI4IGM1LjMyNyw1LjMzMiwxMS44LDcuOTk0LDE5LjQxNCw3Ljk5NGM3LjYxMSwwLDE0LjA4NC0yLjY2OSwxOS40MTQtNy45OTRsMzguODMtMzguODI4TDQzNC41MzksMTM3LjMzIGM1LjMyNS01LjMzLDcuOTk0LTExLjgwMiw3Ljk5NC0xOS40MTdDNDQyLjUzNywxMTAuMzAyLDQzOS44NjQsMTAzLjgyOSw0MzQuNTM5LDk4LjQ5OXonIGZpbGw9JyM5ZTllOWVmZicvPjwvc3ZnPg==);}</style><div class='popupElement-content'><input type=\"checkbox\" checked=\"\" required=\"\" tabindex=\"-1\" data-orig-tabindex=\"-1\"><label><p><span style=\"color:hsl(0,0%,18%);font-size:9px;\">Я согласен на обработку моих персональных данных. 
С&nbsp;</span><a href=\"https://psy-muip.ru/agreement\" data-fpl-component=\"primitive\" target=\"_blank\" rel=\"noopener\"><span style=\"color:hsl(0,0%,18%);font-size:9px;\"><u>Политикой обработки персональных данных</u></span></a><span style=\"color:hsl(0,0%,18%);font-size:9px;\">&nbsp;ознакомлен</span></p></label></div></div><div class='popup-element' data-type='editor' data-element-id='697976' style='padding-top: 0px;padding-right: 0px;padding-bottom: 0px;padding-left: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;' data-p-margin-bottom='20px' data-p-line-height='80%'><style>#SGpopup1325 .popup-element[data-element-id='697976'][data-type='editor'] p {margin-bottom: 20px}#SGpopup1325 .popup-element[data-element-id='697976'][data-type='editor'] * {line-height: 80%}</style><div class='popupElement-content'><p><a href=\"https://psy-muip.ru/politika\" data-fpl-component=\"primitive\" target=\"_blank\" rel=\"noopener\"><span style=\"color:hsl(0,0%,18%);font-size:9px;\"><u>Политика&nbsp;в отношении обработки персональных данных</u></span></a><span style=\"color:hsl(0,0%,18%);font-size:9px;\"> | </span><a href=\"https://psy-muip.ru/custom\" data-fpl-component=\"primitive\" target=\"_blank\" rel=\"noopener\"><span style=\"color:hsl(0,0%,18%);font-size:9px;\"><u>Пользовательское соглашение</u></span></a><br><a href=\"https://psy-muip.ru/agreement\" data-fpl-component=\"primitive\" target=\"_blank\" rel=\"noopener\"><span style=\"color:hsl(0,0%,18%);font-size:9px;\"><u>Согласие на обработку персональных данных</u></span></a><span style=\"color:hsl(0,0%,18%);font-size:9px;\"> | </span><a href=\"https://psy-muip.ru/rassylka\" data-fpl-component=\"primitive\" target=\"_blank\" rel=\"noopener\"><span style=\"color:hsl(0,0%,18%);font-size:9px;\"><u>Согласие на рассылку материалов</u></span></a></p></div></div></div><div class='popup-area' data-type='close-container' style='position: absolute; top: 2px; left: 500px; 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, 14, 14);\">
2898<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='1325'><input type='hidden' name='projectID' value='453'><input type='hidden' name='custom_utm_source'><input type='hidden' name='custom_utm_medium'><input type='hidden' name='custom_utm_campaign'><input type='hidden' name='custom_utm_content'><input type='hidden' name='custom_utm_term'></noindex>";
2899								
2900												closeButton = false;
2901										
2902											} else {
2903								
2904												html = "<noindex id='SGpopup1325' class='popup-wrapper grid-hidden'><div class='popup-area' data-type='area-container' style='position: relative; top: 84px; left: 8px; margin-left: ; width: 281px; height: 287px; '><div class='popup-element' data-type='input' style='margin-top: 0px;margin-right: 0px;margin-bottom: 6px;margin-left: 0px;'><div class='popupElement-content'><input type=\"text\" placeholder=\"Введите ваше имя\" data-name=\"Имя\" data-mask=\"null\" style=\"background-color: rgb(255, 255, 255); border-color: rgb(227, 227, 227); font-size: 14px; color: rgb(104, 104, 104); padding: 8px 20px; border-radius: 30px;\"></div></div><div class='popup-element' data-type='input' style='margin-top: 0px;margin-right: 0px;margin-bottom: 6px;margin-left: 0px;'><div class='popupElement-content'><input type=\"text\" placeholder=\"Ваш e-mail, например: [email protected]\" data-name=\"Почта\" data-mask=\"email\" required=\"\" style=\"background-color: rgb(255, 255, 255); border-color: rgb(227, 227, 227); font-size: 14px; color: rgb(104, 104, 104); padding: 8px 20px; border-radius: 30px;\"></div></div><div class='popup-element' data-type='input' style='margin-top: 0px;margin-right: 0px;margin-bottom: 9px;margin-left: 0px;'><div class='popupElement-content'><input type=\"text\" placeholder=\"+7 (___) ___ - __ - __\" data-name=\"Телефон\" data-mask=\"phone\" required=\"\" style=\"background-color: rgb(255, 255, 255); border-color: rgb(225, 225, 226); font-size: 14px; color: rgb(120, 120, 120); padding: 8px 15px 8px 14px; border-radius: 30px;\"></div></div><div class='popup-element' data-type='button-submit' style='margin-top: 0px;margin-right: 0px;margin-bottom: 7px;margin-left: 0px;'><div class='popupElement-content'><button type=\"submit\" style=\"background-color: rgb(10, 117, 111); color: rgb(0, 0, 0); font-size: 19px; border-radius: 30px; padding: 17px 30px;\" onclick=\"\"><div class=\"buttonSubmit-content\"><p><span style=\"color:hsl(0,0%,100%);\">Жду звонка</span></p></div></button></div></div><div class='popup-element' data-type='agree' data-element-id='504758' data-fill='#9e9e9eff' data-mode='default' style='margin-top: 0px;margin-right: 0px;margin-bottom: 7px;margin-left: 0px;'><style>#SGpopup1325 .popup-element[data-element-id='504758'][data-type='agree'] .popupElement-content input[type='checkbox'] + label:before {border-color: #9e9e9eff;} #SGpopup1325 .popup-element[data-element-id='504758'][data-type='agree'] .popupElement-content input[type='checkbox'] + label:after {background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHhtbG5zOnhsaW5rPSdodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rJyB2ZXJzaW9uPScxLjEnIHg9JzBweCcgeT0nMHB4JyB3aWR0aD0nNTEycHgnIGhlaWdodD0nNTEycHgnIHZpZXdCb3g9JzAgMCA0NDIuNTMzIDQ0Mi41MzMnIHN0eWxlPSdlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDQ0Mi41MzMgNDQyLjUzMycgeG1sOnNwYWNlPSdwcmVzZXJ2ZSc+PHBhdGggZD0nTTQzNC41MzksOTguNDk5bC0zOC44MjgtMzguODI4Yy01LjMyNC01LjMyOC0xMS43OTktNy45OTMtMTkuNDEtNy45OTNjLTcuNjE4LDAtMTQuMDkzLDIuNjY1LTE5LjQxNyw3Ljk5M0wxNjkuNTksMjQ3LjI0OCBsLTgzLjkzOS04NC4yMjVjLTUuMzMtNS4zMy0xMS44MDEtNy45OTItMTkuNDEyLTcuOTkyYy03LjYxNiwwLTE0LjA4NywyLjY2Mi0xOS40MTcsNy45OTJMNy45OTQsMjAxLjg1MiAgIEMyLjY2NCwyMDcuMTgxLDAsMjEzLjY1NCwwLDIyMS4yNjljMCw3LjYwOSwyLjY2NCwxNC4wODgsNy45OTQsMTkuNDE2bDEwMy4zNTEsMTAzLjM0OWwzOC44MzEsMzguODI4IGM1LjMyNyw1LjMzMiwxMS44LDcuOTk0LDE5LjQxNCw3Ljk5NGM3LjYxMSwwLDE0LjA4NC0yLjY2OSwxOS40MTQtNy45OTRsMzguODMtMzguODI4TDQzNC41MzksMTM3LjMzIGM1LjMyNS01LjMzLDcuOTk0LTExLjgwMiw3Ljk5NC0xOS40MTdDNDQyLjUzNywxMTAuMzAyLDQzOS44NjQsMTAzLjgyOSw0MzQuNTM5LDk4LjQ5OXonIGZpbGw9JyM5ZTllOWVmZicvPjwvc3ZnPg==);}</style><div class='popupElement-content'><input type=\"checkbox\" checked=\"\" required=\"\" tabindex=\"-1\" data-orig-tabindex=\"-1\"><label><p><span style=\"color:hsl(0,0%,18%);
2904font-size:7px;\">Я согласен на обработку моих персональных данных. 
С&nbsp;</span><a href=\"https://psy-muip.ru/agreement\" data-fpl-component=\"primitive\" target=\"_blank\" rel=\"noopener\"><span style=\"color:hsl(0,0%,18%);font-size:7px;\"><u>Политикой обработки персональных данных</u></span></a><span style=\"color:hsl(0,0%,18%);font-size:7px;\">&nbsp;ознакомлен</span></p></label></div></div><div class='popup-element' data-type='editor' data-element-id='299721' style='padding-top: 0px;padding-right: 0px;padding-bottom: 0px;padding-left: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;' data-p-margin-bottom='20px' data-p-line-height='90%'><style>#SGpopup1325 .popup-element[data-element-id='299721'][data-type='editor'] p {margin-bottom: 20px}#SGpopup1325 .popup-element[data-element-id='299721'][data-type='editor'] * {line-height: 90%}</style><div class='popupElement-content'><p><a href=\"https://psy-muip.ru/politika\" data-fpl-component=\"primitive\" target=\"_blank\" rel=\"noopener\"><span style=\"color:hsl(0,0%,18%);font-size:6px;\"><u>Политика&nbsp;в отношении обработки персональных данных</u></span></a><span style=\"color:hsl(0,0%,18%);font-size:6px;\"> | </span><a href=\"https://psy-muip.ru/custom\" data-fpl-component=\"primitive\" target=\"_blank\" rel=\"noopener\"><span style=\"color:hsl(0,0%,18%);font-size:6px;\"><u>Пользовательское соглашение</u></span></a><br><a href=\"https://psy-muip.ru/agreement\" data-fpl-component=\"primitive\" target=\"_blank\" rel=\"noopener\"><span style=\"color:hsl(0,0%,18%);font-size:6px;\"><u>Согласие на обработку персональных данных</u></span></a><span style=\"color:hsl(0,0%,18%);font-size:6px;\"> | </span><a href=\"https://psy-muip.ru/rassylka\" data-fpl-component=\"primitive\" target=\"_blank\" rel=\"noopener\"><span style=\"color:hsl(0,0%,18%);font-size:6px;\"><u>Согласие на рассылку материалов</u></span></a></p></div></div></div><div class='popup-area' data-type='close-container' style='position: absolute; top: -5px; left: 284.219px; margin-left: ; width: 40px; height: 40px; '><div class='popup-element' data-type='button-close' style=''><div class='popupElement-content'><button type=\"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(240, 57, 57);\"><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='1325'><input type='hidden' name='projectID' value='453'><input type='hidden' name='custom_utm_source'><input type='hidden' name='custom_utm_medium'><input type='hidden' name='custom_utm_campaign'><input type='hidden' name='custom_utm_content'><input type='hidden' name='custom_utm_term'></noindex>";
2905								
2906												closeButton = false;
2907										
2908											}
2909								
2910											Fancybox.close();
2911											new Fancybox([
2912												{
2913													src: html,
2914													type: 'html'
2915												}
2916											], {
2917												dragToClose: false,
2918												closeButton: closeButton,
2919												compact: false,
2920												autoFocus: false,
2921												trapFocus: false,
2922												on: {
2923													done: (fancybox, slide) => {
2924								
2925													sgPopup1325reachGoal("ym(93615077,'reachGoal','pokaz_zakaz_zvonka');");
2926										
2927													const popup = document.querySelector("#SGpopup1325");
2928													if(popup) {
2929
2930														const url = new URL(location.href);
2931														window.utm_source = url.searchParams.get('utm_source');
2932														window.utm_medium = url.searchParams.get('utm_medium');
2933														window.utm_campaign = url.searchParams.get('utm_campaign');
2934														window.utm_term = url.searchParams.get('utm_term');
2935														window.utm_content = url.searchParams.get('utm_content');
2936
2937								
2938														const custom_utm_source = popup.querySelector('input[name="custom_utm_source"]');
2939														if(custom_utm_source && typeof 'site' != undefined) {
2940															custom_utm_source.value = 'site';
2941														}
2942											
2943														const custom_utm_medium = popup.querySelector('input[name="custom_utm_medium"]');
2944														if(custom_utm_medium && typeof 'seo' != undefined) {
2945															custom_utm_medium.value = 'seo';
2946														}
2947											
2948														const custom_utm_campaign = popup.querySelector('input[name="custom_utm_campaign"]');
2949														if(custom_utm_campaign && typeof 'genegator_zakazat_zvonok' != undefined) {
2950															custom_utm_campaign.value = 'genegator_zakazat_zvonok';
2951														}
2952											
2953														const custom_utm_content = popup.querySelector('input[name="custom_utm_content"]');
2954														if(custom_utm_content && typeof 'muip' != undefined) {
2955															custom_utm_content.value = 'muip';
2956														}
2957											
2958														const custom_utm_term = popup.querySelector('input[name="custom_utm_term"]');
2959														if(custom_utm_term && typeof 'shapka' != undefined) {
2960															custom_utm_term.value = 'shapka';
2961														}
2962											
2963														openerLinks = popup.querySelectorAll('a[data-target]');
2964														if(openerLinks) {
2965															for(let openerLink of openerLinks) {
2966																openerLink.addEventListener('click', function(){
2967																	if(openerLink.dataset.target) {
2968																		if(typeof window[openerLink.dataset.target] == 'function') {
2969																			Fancybox.close();
2970																			window[openerLink.dataset.target]('open');
2971																		}
2972																	}
2973																});
2974															}
2975														}
2976
2977														linkImages = popup.querySelectorAll('.image-wrapper[data-type="link"]');
2978														if(linkImages) {
2979															for(let linkImage of linkImages) {
2980																linkImage.addEventListener('click', function(){
2981																	if(linkImage.dataset.link) {
2982																		if(linkImage.dataset.target == '_blank') {
2983																			window.open(linkImage.dataset.link);
2984																		} else {
2985																			location.href = linkImage.dataset.link
2986																		}
2987																	}
2988																});
2989															}
2990														}
2991
2992														openerImages = popup.querySelectorAll('.image-wrapper[data-type="opener"]');
2993														if(openerImages) {
2994															for(let openerImage of openerImages) {
2995																openerImage.addEventListener('click', function(){
2996																	if(openerImage.dataset.popup) {
2997																		if(typeof window['sgPopup' + openerImage.dataset.popup] == 'function') {
2998																			Fancybox.close();
2999																			window['sgPopup' + openerImage.dataset.popup]('forceOpen');
3000																		}
3001																	}
3002																});
3003															}
3004														}
3005
3006														submitImages = popup.querySelectorAll('.image-wrapper[data-type="submitter"]');
3007														if(submitImages) {
3008															for(let submitImage of submitImages) {
3009																submitImage.addEventListener('click', function(){
3010
3011																	if(submitImage.classList.contains('disabled')) return false;
3012
3013																	submitImage.classList.add('disabled');
3014
3015																	sgPopup1325submit(function(result){
3016																		submitImage.classList.toggle('disabled', result);
3017																	});
3018
3019																});
3020															}
3021														}
3022
3023														const linkButtons = popup.querySelectorAll('button[data-type="link"]');
3024														if(linkButtons) {
3025															for(let linkButton of linkButtons) {
3026																linkButton.addEventListener('click', function(){
3027																	if(linkButton.dataset.link && linkButton.dataset.link != '#') {
3028								
3029																		if(linkButton.dataset.target == '_blank') {
3030																			window.open(linkButton.dataset.link);
3031																		} else {
3032																			location.href = linkButton.dataset.link
3033																		}
3034																	}
3035																});
3036															}
3037														}
3038
3039														openerButtons = popup.querySelectorAll('button[data-type="opener"]');
3040														if(openerButtons) {
3041															for(let openerButton of openerButtons) {
3042																openerButton.addEventListener('click', function(){
3043									
3044																	if(openerButton.dataset.popup) {
3045																		if(typeof window['sgPopup' + openerButton.dataset.popup] == 'function') {
3046																			Fancybox.close();
3047																			window['sgPopup' + openerButton.dataset.popup]('forceOpen');
3048																		}
3049																	}
3050																});
3051															}
3052														}
3053
3054														const maskedFields = popup.querySelectorAll('input[data-mask]');
3055														if(maskedFields) {
3056															for(let maskedField of maskedFields) {
3057																if(maskedField.dataset.mask == 'phone') {
3058																	Inputmask('+7 (999) 999-99-99', {
3059																		clearIncomplete: true,
3060																		greedy: false
3061																	}).mask(maskedField);
3062								
3063																} else if(maskedField.dataset.mask == 'email') {
3064																	Inputmask({
3065																	alias: 'email',
3066																		clearIncomplete: true,
3067																		greedy: false
3068																	}).mask(maskedField);
3069																}
3070															}
3071														}
3072
3073														const fileInputs = popup.querySelectorAll('.popup-element[data-type="input-file"] input[type="file"]');
3074														if(fileInputs) {
3075															for(let fileInput of fileInputs) {
3076																let label = fileInput.nextElementSibling;
3077																if(label) {
3078																	fileInput.addEventListener('change', function() {
3079																		if (fileInput.files && fileInput.files.length > 0) {
3080																			const maxSize = fileInput.dataset.limit;
3081																			if(fileInput.files[0].size <= maxSize * 1024 * 1024) {
3082																				reader = new FileReader();
3083																				reader.onload = function(){
3084																					const span = label.querySelector('span');
3085																					if(span) {
3086																						span.innerHTML = fileInput.files[0].name;
3087																					}
3088																					fileInput.dataset.content = reader.result;
3089																				};
3090																				reader.readAsDataURL(fileInput.files[0]);
3091																			} else {
3092																				alert('Превышен максимальный размер файла - '+ maxSize +'мб');
3093																			}
3094																		}
3095																	});
3096																	label.addEventListener('click', function(event){
3097																		event.preventDefault();
3098																		fileInput.click();
3099																	});
3100																}
3101															}
3102														}
3103
3104														const agrees = popup.querySelectorAll('.popup-element[data-type="agree"] input[type="checkbox"]');
3105														if(agrees) {
3106															for(let agree of agrees) {
3107																let parent = agree.closest('.popup-element');
3108																if(parent) {
3109																	let label = agree.nextElementSibling;
3110																	if(label) {
3111																		label.addEventListener('click', function(event){
3112																			event.preventDefault();
3113																			agree.checked = !agree.checked;
3114
3115
3116																			if(parent.dataset.mode == 'general') {
3117																				const agreeAll = agree;
3118																				for(let agree of agrees) {
3119																					agree.checked = agreeAll.checked;
3120																				}
3121																			}
3122
3123																			let agreeCount = 0;
3124																			let agreeSelected = 0;
3125																			for(let agree of agrees) {
3126																				const parent = agree.closest('.popup-element');
3127																				if(parent && parent.dataset.mode != 'general') {
3128																					agreeCount++;
3129																					if(agree.checked) {
3130																						agreeSelected++;
3131																					}
3132																				}
3133																			}
3134
3135																			const general = popup.querySelector('.popup-element[data-type="agree"][data-mode="general"]');
3136																			if(general) {
3137																				general.classList.toggle('all-selected', agreeSelected == agreeCount);
3138																				general.classList.toggle('no-selected', agreeSelected == 0);
3139																				general.classList.toggle('some-selected', agreeSelected > 0 && agreeSelected < agreeCount);
3140
3141																				const checkbox = general.querySelector('input[type="checkbox"]');
3142																				if(checkbox) {
3143																					if(agreeSelected == agreeCount) {
3144																						checkbox.checked = true;
3145																					} else {
3146																						checkbox.checked = false;
3147																					}
3148																				}
3149																			}
3150																		});
3151																		const links = label.querySelectorAll('a');
3152																		if(links) {
3153																			for(let link of links) {
3154																				link.addEventListener('click', function(event){
3155																					event.stopPropagation()
3156																				});
3157																			}
3158																		}
3159																	}
3160																}
3161															}
3162														}
3163
3164														const wheel = popup.querySelector('.popup-element[data-type="wheel"]');
3165														let wheelInterval;
3166														let wheelAngle = 0;
3167														if(wheel){
3168															const circle = popup.querySelector('.wheel-circle img');
3169															if(circle) {
3170																wheelInterval = setInterval(function(){
3171																	wheelAngle += 0.2;
3172																	if(wheelAngle > 360) {
3173																		wheelAngle -= 360;
3174																	}
3175																	circle.setAttribute('style', 'transform: rotate('+ wheelAngle +'deg)');
3176																}, 40);
3177															}
3178														}
3179
3180														const closeTriggers = popup.querySelectorAll('.popup-element[data-type="button-close"] button:not([data-fancybox-close])');
3181														if(closeTriggers) {
3182															for(let closeTrigger of closeTriggers) {
3183																closeTrigger.addEventListener('click', function(){
3184																	Fancybox.close();
3185																})
3186															}
3187														}
3188
3189														function sgPopup1325submit(callback = false) {
3190
3191															let hasError = false;
3192															const requiredInputs = popup.querySelectorAll('input[data-name][required]');
3193															if(requiredInputs) {
3194																for(let requiredInput of requiredInputs) {
3195																	if(requiredInput.dataset.mask) {
3196																		if(requiredInput.dataset.mask == 'phone') {
3197																			if(!Inputmask.isValid(requiredInput.value, { mask: '+7 (999) 999-99-99'})) {
3198																				requiredInput.classList.add('error');
3199																				hasError = true;
3200																			} else {
3201																				requiredInput.classList.remove('error');
3202																			}
3203																		} else if(requiredInput.dataset.mask == 'phone_intl' && typeof window.sgPopup.elements.intl != 'undefined') {
3204																			intl = window.sgPopup.elements.intl;
3205																			if(!intl.isValidNumberPrecise()) {
3206																				requiredInput.classList.add('error');
3207																				hasError = true;
3208																			} else {
3209																				requiredInput.classList.remove('error');
3210																			}
3211																		} else if(requiredInput.dataset.mask == 'email') {
3212																			if(!Inputmask.isValid(requiredInput.value, {alias: 'email'})) {
3213																				requiredInput.classList.add('error');
3214																				hasError = true;
3215																			} else {
3216																				requiredInput.classList.remove('error');
3217																			}
3218																		}
3219																	} else {
3220																		if(requiredInput.value == '') {
3221																			requiredInput.classList.add('error');
3222																			hasError = true;
3223																		} else {
3224																			requiredInput.classList.remove('error');
3225																		}
3226																	}
3227																}
3228															}
3229								
3230															const requiredTextareas = popup.querySelectorAll('textarea[data-name][required]');
3231															if(requiredTextareas) {
3232																for(let requiredTextarea of requiredTextareas) {
3233																	if(requiredTextarea.value == '') {
3234																		requiredTextarea.classList.add('error');
3235																		hasError = true;
3236																	} else {
3237																		requiredTextarea.classList.remove('error');
3238																	}
3239																}
3240															}
3241
3242															const requiredSelects = popup.querySelectorAll('select[data-name][required]');
3243															if(requiredSelects) {
3244																for(let requiredSelect of requiredSelects) {
3245																	const niceSelect = requiredSelect.nextElementSibling;
3246																	if(niceSelect) {
3247																		if(niceSelect.querySelector('.option.selected')) {
3248																			niceSelect.classList.remove('error')
3249																		} else {
3250																			niceSelect.classList.add('error');
3251																			hasError = true
3252																		}
3253																	}
3254																}
3255															}
3256
3257															if(agrees) {
3258																for(let agree of agrees) {
3259																	if(agree.required) {
3260																		let label = agree.nextElementSibling;
3261																		if(agree.checked) {
3262																			label.classList.remove('error');
3263																		} else {
3264																			label.classList.add('error');
3265																			hasError = true;
3266																		}
3267																	}
3268																}
3269															}
3270
3271															if(hasError) {
3272																if (callback && typeof callback === 'function') {
3273																	callback(false);
3274																}
3275																return false;
3276															}
3277
3278															function sgPopup1325sendRequest() {
3279
3280								
3281																let data = {
3282																	fields: [],
3283																	cookie: document.cookie,
3284																	markers: markers,
3285																	source: location.href
3286																};
3287								
3288																const inputs = popup.querySelectorAll('input[data-name]');
3289																if(inputs) {
3290																	for(let input of inputs) {
3291																		if(input.dataset.mask == 'phone_intl' && typeof window.sgPopup.elements.intl != 'undefined') {
3292																			intl = window.sgPopup.elements.intl;
3293																			data.fields.push({
3294																				name: input.dataset.name,
3295																				value: intl.getNumber()
3296																			});
3297																		} else {
3298																			data.fields.push({
3299																				name: input.dataset.name,
3300																				value: input.value
3301																			});
3302																		}
3303																	}
3304																}
3305
3306																const textareas = popup.querySelectorAll('textarea[data-name]');
3307																if(textareas) {
3308																	for(let textarea of textareas) {
3309																		data.fields.push({
3310																			name: textarea.dataset.name,
3311																			value: textarea.value
3312																		});
3313																	}
3314																}
3315
3316																if(typeof selects != 'undefined') {
3317																	for(let select of selects) {
3318																		data.fields.push({
3319																			name: select.dataset.name,
3320																			value: select.value
3321																		});
3322																	}
3323																}
3324
3325																const hiddenInputs = popup.querySelectorAll('input[type="hidden"]');
3326																for(let hiddenInput of hiddenInputs) {
3327																	const name = hiddenInput.name;
3328																	data[hiddenInput.name] = hiddenInput.value;
3329																}
3330
3331																const fileInputs = popup.querySelectorAll('.popup-element[data-type="input-file"] input[type="file"]');
3332																if(fileInputs) {
3333																	data.files = [];
3334																	for(let fileInput of fileInputs) {
3335																		if (fileInput.files && fileInput.files.length > 0) {
3336																			data.files.push({
3337																				'name': fileInput.files[0].name,
3338																				'content': fileInput.dataset.content
3339																			});
3340																		}
3341																	}
3342																}
3343
3344																if( wheel && typeof window.prize != 'undefined' ) {
3345																	data.fields.push(window.prize);
3346																}
3347								
3348
3349																var xmlhr = new XMLHttpRequest();
3350																xmlhr.open('POST', "https://psy-muip.ru/wp-json/generator.conversion/v1/actions/?_method=POST&action=formSubmit");
3351																xmlhr.send(JSON.stringify(data));
3352
3353																xmlhr.onreadystatechange = function() {
3354																	if (xmlhr.readyState === 4 && xmlhr.status === 200) {
3355																		console.log(xmlhr.response);
3356																		const response = JSON.parse(xmlhr.response);
3357																		console.log(response);
3358								
3359																	}
3360																};
3361								
3362																sgPopup1325reachGoal("ym(93615077,'reachGoal','lead_zakaz_zvonka');");
3363											
3364																sgSuccessPopup1325();
3365										
3366																return true;
3367
3368															}
3369
3370															if(wheel){
3371																const circle = popup.querySelector('.wheel-circle img');
3372																if(circle) {
3373																	clearInterval(wheelInterval);
3374								
3375																	}
3376
3377																} else {
3378																	const result = sgPopup1325sendRequest();
3379																	if (callback && typeof callback === 'function') {
3380																		callback(result);
3381																	}
3382																}
3383
3384															}
3385
3386															areaLinks = popup.querySelectorAll('.popup-area[data-type="area-link"]');
3387															if(areaLinks) {
3388																for(let areaLink of areaLinks) {
3389																	areaLink.addEventListener('click', function(){
3390																		if(areaLink.dataset.link && areaLink.dataset.link != '#') {
3391																			if(areaLink.dataset.target == '_blank') {
3392																				window.open(areaLink.dataset.link);
3393																			} else {
3394																				location.href = areaLink.dataset.link
3395																			}
3396																		}
3397																	});
3398																}
3399															}
3400
3401															areaOpeners = popup.querySelectorAll('.popup-area[data-type="area-opener"]');
3402															if(areaOpeners) {
3403																for(let areaOpener of areaOpeners) {
3404																	areaOpener.addEventListener('click', function(){
3405																		if(areaOpener.dataset.popup) {
3406																			if(typeof window['sgPopup' + areaOpener.dataset.popup] == 'function') {
3407																				Fancybox.close();
3408																				window['sgPopup' + areaOpener.dataset.popup]('forceOpen');
3409																			}
3410																		}
3411																	});
3412																}
3413															}
3414
3415															const submitButton = popup.querySelector(".popup-element[data-type='button-submit'] button");
3416															if(submitButton) {
3417																submitButton.addEventListener('click', function(event){
3418
3419																	event.preventDefault();
3420																	submitButton.disabled = true;
3421
3422																	sgPopup1325submit(function(result){
3423																		submitButton.disabled = result;
3424																	});
3425
3426																})
3427															}
3428														}
3429													},
3430													close: () => {
3431														window.sgPopup.opened = false;
3432														window.sgPopup.shown.push(1325);
3433														if(window.sgPopup.queue.length) {
3434															setTimeout(function(){
3435																let popupID = window.sgPopup.queue.shift();
3436																window['sgPopup' + popupID]('forceOpen');
3437															}, 30000);
3438														}
3439								
3440													}
3441												}
3442											})
3443										}
3444									}
3445								}
3446							
3447								function sgSuccessPopup1325() {
3448							
3449									let html;
3450									let closeButton;
3451									if(window.innerWidth >= 1040) {
3452										html = "<noindex id='SGsuccess1325' 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>";
3453							closeButton = false;
3454									} else {
3455										html = "<noindex id='SGsuccess1325' 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;\">Спасибо, мы скоро свяжемся с вами!&nbsp;</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>";
3456							closeButton = false;
3457									}
3458							
3459									Fancybox.close();
3460									new Fancybox([
3461										{
3462											src: html,
3463											type: 'html'
3464										}
3465									], {
3466										dragToClose: false,
3467										closeButton: closeButton,
3468										autoFocus: false,
3469										trapFocus: false,
3470										on: {
3471											done: (fancybox, slide) => {
3472							
3473												const success = document.querySelector("#SGsuccess1325");
3474												if(success) {
3475
3476													buttonLinks = success.querySelectorAll('button[data-type="link"]');
3477													if(buttonLinks) {
3478														for(let buttonLink of buttonLinks) {
3479															buttonLink.addEventListener('click', function(){
3480																if(buttonLink.dataset.link) {
3481																	if(buttonLink.dataset.target == '_blank') {
3482																		window.open(buttonLink.dataset.link);
3483																	} else {
3484																		location.href = buttonLink.dataset.link
3485																	}
3486																}
3487															});
3488														}
3489													}
3490													
3491												}
3492							
3493												setTimeout(function(){
3494													Fancybox.close();
3495												}, 3000);
3496									
3497											},
3498											close: () => {
3499												window.sgPopup.opened = false;
3500											}
3501										}
3502									});
3503								}
3504							</script>
vendor: 1 bytes, line 3504
3504
3505<script>
3506								if(typeof window.sgPopup == 'undefined') {
3507									window.sgPopup = {
3508										opened: false,
3509										queue: [],
3510										shown: [],
3511										elements: {}
3512									};
3513								}
3514						
3515								addEventListener('DOMContentLoaded', () => {
3516						
3517									document.body.addEventListener('click', function(event){
3518										if(
3519											event.target.dataset.target == "sgPopup1332"
3520											|| event.target.closest('[data-target="sgPopup1332"]')
3521										) {
3522											Fancybox.close();
3523											sgPopup1332('forceOpen');
3524										}
3525									});
3526
3527									sgPopup1332autoOpen();
3528								});
3529
3530								function sgPopup1332autoOpen() {
3531							
3532								}
3533
3534								function sgPopup1332reachGoal(code) {
3535
3536									function executeGoal(params) {
3537										if(typeof params == 'object') {
3538
3539											eval('ym('+ params.join(',') +');');
3540
3541											let data = {
3542												'goal': params[2],
3543												timestamp: new Date().toISOString()
3544											};
3545
3546											var xmlhr = new XMLHttpRequest();
3547											xmlhr.open('POST', "https://psy-muip.ru/wp-json/generator.conversion/v1/actions/?_method=POST&action=goalLog");
3548											xmlhr.send(JSON.stringify(data));
3549
3550											xmlhr.onreadystatechange = function() {
3551												if (xmlhr.readyState === 4 && xmlhr.status === 200) {
3552													if( urlParams.get('debug') ) {
3553														const response = JSON.parse(xmlhr.response);
3554														console.log(response);
3555													}
3556												}
3557											}
3558
3559										}
3560									}
3561
3562									const goals = code.split(';');
3563									if(goals) {
3564										for(let goal of goals) {
3565											goal = goal.trim();
3566											if(goal != '') {
3567												const regexp = /ym(.*)/;
3568												if( regexp.test(goal) ) {
3569
3570													goal = goal.replace('ym(', '');
3571													goal = goal.replace(')', '');
3572													const params = goal.split(',');
3573													if(params) {
3574
3575														if (typeof window.ym != 'undefined') {
3576															executeGoal(params);
3577														} else {
3578															if(typeof window.popup1332goals == 'undefined') {
3579																window.popup1332goals = [];
3580															}
3581
3582															window.popup1332goals.push({
3583																'metrika': params[0],
3584																'action': params[1],
3585																'id': params[2]
3586															});
3587
3588															if(typeof popup1332interval == 'undefined') {
3589																popup1332interval = setInterval(function(){
3590																	if (typeof window.ym != 'undefined') {
3591																		for(let goal of window.popup1332goals) {
3592																			executeGoal(params);
3593																		}
3594																		window.popup1332goals = [];
3595																		clearInterval(popup1332interval);
3596																	}
3597																}, 1000);
3598															}
3599														}
3600													}
3601												} else {
3602													eval(goal);
3603												}
3604											}
3605										}
3606									}
3607
3608								}
3609
3610								function sgPopup1332(action = false) {
3611
3612									if(!action) return;
3613
3614									if( ['open', 'forceOpen'].includes(action) ) {
3615
3616								
3617										if(action == 'open' && window.sgPopup.shown.includes(1332)) {
3618											return false;
3619										}
3620
3621										if(window.sgPopup.opened) {
3622
3623											if(window.sgPopup.opened != 1332) {
3624												window.sgPopup.queue.push(1332);
3625											}
3626
3627										} else {
3628
3629											window.sgPopup.opened = 1332;
3630
3631											let html;
3632											let closeButton;
3633											if(window.innerWidth >= 1040) {
3634												html = "<noindex id='SGpopup1332' class='popup-wrapper grid-hidden'><div class='popup-area' data-type='area-container' style='position: relative; top: 148px; left: 27px; margin-left: ; width: 431px; height: 219px; '><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=\"Ваш e-mail, например: [email protected]\" data-name=\"Почта\" data-mask=\"email\" required=\"\" style=\"background-color: rgb(255, 255, 255); border-color: rgb(227, 227, 227); font-size: 17px; color: rgb(104, 104, 104); padding: 11px 20px; border-radius: 30px;\"></div></div><div class='popup-element' data-type='button-submit' style='margin-top: 0px;margin-right: 0px;margin-bottom: 7px;margin-left: 0px;'><div class='popupElement-content'><button type=\"submit\" style=\"background-color: rgb(10, 117, 111); color: rgb(0, 0, 0); font-size: 19px; border-radius: 30px; padding: 25px 30px;\" onclick=\"\"><div class=\"buttonSubmit-content\"><p><span style=\"color:hsl(0,0%,100%);\">Подписаться</span></p></div></button></div></div><div class='popup-element' data-type='agree' data-element-id='606253' data-fill='#9e9e9eff' data-mode='default' style='margin-top: 0px;margin-right: 0px;margin-bottom: 7px;margin-left: 0px;'><style>#SGpopup1332 .popup-element[data-element-id='606253'][data-type='agree'] .popupElement-content input[type='checkbox'] + label:before {border-color: #9e9e9eff;} #SGpopup1332 .popup-element[data-element-id='606253'][data-type='agree'] .popupElement-content input[type='checkbox'] + label:after {background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHhtbG5zOnhsaW5rPSdodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rJyB2ZXJzaW9uPScxLjEnIHg9JzBweCcgeT0nMHB4JyB3aWR0aD0nNTEycHgnIGhlaWdodD0nNTEycHgnIHZpZXdCb3g9JzAgMCA0NDIuNTMzIDQ0Mi41MzMnIHN0eWxlPSdlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDQ0Mi41MzMgNDQyLjUzMycgeG1sOnNwYWNlPSdwcmVzZXJ2ZSc+PHBhdGggZD0nTTQzNC41MzksOTguNDk5bC0zOC44MjgtMzguODI4Yy01LjMyNC01LjMyOC0xMS43OTktNy45OTMtMTkuNDEtNy45OTNjLTcuNjE4LDAtMTQuMDkzLDIuNjY1LTE5LjQxNyw3Ljk5M0wxNjkuNTksMjQ3LjI0OCBsLTgzLjkzOS04NC4yMjVjLTUuMzMtNS4zMy0xMS44MDEtNy45OTItMTkuNDEyLTcuOTkyYy03LjYxNiwwLTE0LjA4NywyLjY2Mi0xOS40MTcsNy45OTJMNy45OTQsMjAxLjg1MiAgIEMyLjY2NCwyMDcuMTgxLDAsMjEzLjY1NCwwLDIyMS4yNjljMCw3LjYwOSwyLjY2NCwxNC4wODgsNy45OTQsMTkuNDE2bDEwMy4zNTEsMTAzLjM0OWwzOC44MzEsMzguODI4IGM1LjMyNyw1LjMzMiwxMS44LDcuOTk0LDE5LjQxNCw3Ljk5NGM3LjYxMSwwLDE0LjA4NC0yLjY2OSwxOS40MTQtNy45OTRsMzguODMtMzguODI4TDQzNC41MzksMTM3LjMzIGM1LjMyNS01LjMzLDcuOTk0LTExLjgwMiw3Ljk5NC0xOS40MTdDNDQyLjUzNywxMTAuMzAyLDQzOS44NjQsMTAzLjgyOSw0MzQuNTM5LDk4LjQ5OXonIGZpbGw9JyM5ZTllOWVmZicvPjwvc3ZnPg==);}</style><div class='popupElement-content'><input type=\"checkbox\" checked=\"\" required=\"\" tabindex=\"-1\" data-orig-tabindex=\"-1\"><label><p><span style=\"color:hsl(0,0%,18%);font-size:9px;\">Я согласен на обработку моих персональных данных. 
С&nbsp;</span><a href=\"https://psy-muip.ru/agreement\" data-fpl-component=\"primitive\" target=\"_blank\" rel=\"noopener\"><span style=\"color:hsl(0,0%,18%);font-size:9px;\"><u>Политикой обработки персональных данных</u></span></a><span style=\"color:hsl(0,0%,18%);font-size:9px;\">&nbsp;ознакомлен</span></p></label></div></div><div class='popup-element' data-type='editor' data-element-id='816825' style='padding-top: 0px;padding-right: 0px;padding-bottom: 0px;padding-left: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;' data-p-margin-bottom='20px' data-p-line-height='80%'><style>#SGpopup1332 .popup-element[data-element-id='816825'][data-type='editor'] p {margin-bottom: 20px}#SGpopup1332 .popup-element[data-element-id='816825'][data-type='editor'] * {line-height: 80%}</style><div class='popupElement-content'><p><a href=\"https://psy-muip.ru/politika\" data-fpl-component=\"primitive\" target=\"_blank\" rel=\"noopener\"><span style=\"color:hsl(0,0%,18%);font-size:9px;\"><u>Политика&nbsp;в отношении обработки персональных данных</u></span></a><span style=\"color:hsl(0,0%,18%);font-size:9px;\"> | </span><a href=\"https://psy-muip.ru/custom\" data-fpl-component=\"primitive\" target=\"_blank\" rel=\"noopener\"><span style=\"color:hsl(0,0%,18%);font-size:9px;\"><u>Пользовательское соглашение</u></span></a><br><a href=\"https://psy-muip.ru/agreement\" data-fpl-component=\"primitive\" target=\"_blank\" rel=\"noopener\"><span style=\"color:hsl(0,0%,18%);font-size:9px;\"><u>Согласие на обработку персональных данных</u></span></a><span style=\"color:hsl(0,0%,18%);font-size:9px;\"> | </span><a href=\"https://psy-muip.ru/rassylka\" data-fpl-component=\"primitive\" target=\"_blank\" rel=\"noopener\"><span style=\"color:hsl(0,0%,18%);font-size:9px;\"><u>Согласие на рассылку материалов</u></span></a></p></div></div></div><div class='popup-area' data-type='close-container' style='position: absolute; top: 2px; left: 500px; 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, 14, 14);\">
3634<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='1332'><input type='hidden' name='projectID' value='453'><input type='hidden' name='custom_utm_source'><input type='hidden' name='custom_utm_medium'><input type='hidden' name='custom_utm_campaign'><input type='hidden' name='custom_utm_content'><input type='hidden' name='custom_utm_term'></noindex>";
3635								
3636												closeButton = false;
3637										
3638											} else {
3639								
3640												html = "<noindex id='SGpopup1332' class='popup-wrapper grid-hidden'><div class='popup-area' data-type='area-container' style='position: relative; top: 108px; left: 8px; margin-left: ; width: 285px; height: 175px; '><div class='popup-element' data-type='input' style='margin-top: 0px;margin-right: 0px;margin-bottom: 6px;margin-left: 0px;'><div class='popupElement-content'><input type=\"text\" placeholder=\"Ваш e-mail, например: [email protected]\" data-name=\"Почта\" data-mask=\"email\" required=\"\" style=\"background-color: rgb(255, 255, 255); border-color: rgb(227, 227, 227); font-size: 12px; color: rgb(104, 104, 104); padding: 7px 20px; border-radius: 30px;\"></div></div><div class='popup-element' data-type='button-submit' style='margin-top: 0px;margin-right: 0px;margin-bottom: 7px;margin-left: 0px;'><div class='popupElement-content'><button type=\"submit\" style=\"background-color: rgb(10, 117, 111); color: rgb(0, 0, 0); font-size: 19px; border-radius: 30px; padding: 17px 30px;\" onclick=\"\"><div class=\"buttonSubmit-content\"><p><span style=\"color:hsl(0,0%,100%);\">Подписаться</span></p></div></button></div></div><div class='popup-element' data-type='agree' data-element-id='210818' data-fill='#9e9e9eff' data-mode='default' style='margin-top: 0px;margin-right: 0px;margin-bottom: 7px;margin-left: 0px;'><style>#SGpopup1332 .popup-element[data-element-id='210818'][data-type='agree'] .popupElement-content input[type='checkbox'] + label:before {border-color: #9e9e9eff;} #SGpopup1332 .popup-element[data-element-id='210818'][data-type='agree'] .popupElement-content input[type='checkbox'] + label:after {background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHhtbG5zOnhsaW5rPSdodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rJyB2ZXJzaW9uPScxLjEnIHg9JzBweCcgeT0nMHB4JyB3aWR0aD0nNTEycHgnIGhlaWdodD0nNTEycHgnIHZpZXdCb3g9JzAgMCA0NDIuNTMzIDQ0Mi41MzMnIHN0eWxlPSdlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDQ0Mi41MzMgNDQyLjUzMycgeG1sOnNwYWNlPSdwcmVzZXJ2ZSc+PHBhdGggZD0nTTQzNC41MzksOTguNDk5bC0zOC44MjgtMzguODI4Yy01LjMyNC01LjMyOC0xMS43OTktNy45OTMtMTkuNDEtNy45OTNjLTcuNjE4LDAtMTQuMDkzLDIuNjY1LTE5LjQxNyw3Ljk5M0wxNjkuNTksMjQ3LjI0OCBsLTgzLjkzOS04NC4yMjVjLTUuMzMtNS4zMy0xMS44MDEtNy45OTItMTkuNDEyLTcuOTkyYy03LjYxNiwwLTE0LjA4NywyLjY2Mi0xOS40MTcsNy45OTJMNy45OTQsMjAxLjg1MiAgIEMyLjY2NCwyMDcuMTgxLDAsMjEzLjY1NCwwLDIyMS4yNjljMCw3LjYwOSwyLjY2NCwxNC4wODgsNy45OTQsMTkuNDE2bDEwMy4zNTEsMTAzLjM0OWwzOC44MzEsMzguODI4IGM1LjMyNyw1LjMzMiwxMS44LDcuOTk0LDE5LjQxNCw3Ljk5NGM3LjYxMSwwLDE0LjA4NC0yLjY2OSwxOS40MTQtNy45OTRsMzguODMtMzguODI4TDQzNC41MzksMTM3LjMzIGM1LjMyNS01LjMzLDcuOTk0LTExLjgwMiw3Ljk5NC0xOS40MTdDNDQyLjUzNywxMTAuMzAyLDQzOS44NjQsMTAzLjgyOSw0MzQuNTM5LDk4LjQ5OXonIGZpbGw9JyM5ZTllOWVmZicvPjwvc3ZnPg==);}</style><div class='popupElement-content'><input type=\"checkbox\" checked=\"\" required=\"\" tabindex=\"-1\" data-orig-tabindex=\"-1\"><label><p><span style=\"color:hsl(0,0%,18%);font-size:7px;\">Я согласен на обработку моих персональных данных. 
С&nbsp;</span><a href=\"https://psy-muip.ru/agreement\" data-fpl-component=\"primitive\" target=\"_blank\" rel=\"noopener\"><span style=\"color:hsl(0,0%,18%);font-size:7px;\"><u>Политикой обработки персональных данных</u></span></a><span style=\"color:hsl(0,0%,18%);font-size:7px;\">&nbsp;ознакомлен</span></p></label></div></div><div class='popup-element' data-type='editor' data-element-id='679450' style='padding-top: 0px;padding-right: 0px;padding-bottom: 0px;padding-left: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;' data-p-margin-bottom='20px' data-p-line-height='90%'><style>#SGpopup1332 .popup-element[data-element-id='679450'][data-type='editor'] p {margin-bottom: 20px}#SGpopup1332 .popup-element[data-element-id='679450'][data-type='editor'] * {line-height: 90%}</style><div class='popupElement-content'><p><a href=\"https://psy-muip.ru/politika\" data-fpl-component=\"primitive\" target=\"_blank\" rel=\"noopener\"><span style=\"color:hsl(0,0%,18%);font-size:6px;\"><u>Политика&nbsp;в отношении обработки персональных данных</u></span></a><span style=\"color:hsl(0,0%,18%);font-size:6px;\"> | </span><a href=\"https://psy-muip.ru/custom\" data-fpl-component=\"primitive\" target=\"_blank\" rel=\"noopener\"><span style=\"color:hsl(0,0%,18%);font-size:6px;\"><u>Пользовательское соглашение</u></span></a><br><a href=\"https://psy-muip.ru/agreement\" data-fpl-component=\"primitive\" target=\"_blank\" rel=\"noopener\"><span style=\"color:hsl(0,0%,18%);font-size:6px;\"><u>Согласие на обработку персональных данных</u></span></a><span style=\"color:hsl(0,0%,18%);font-size:6px;\"> | </span><a href=\"https://psy-muip.ru/rassylka\" data-fpl-component=\"primitive\" target=\"_blank\" rel=\"noopener\"><span style=\"color:hsl(0,0%,18%);font-size:6px;\"><u>Согласие на рассылку материалов</u></span></a></p></div></div></div><div class='popup-area' data-type='close-container' style='position: absolute; top: -5px; left: 284.219px; margin-left: ; width: 40px; height: 40px; '><div class='popup-element' data-type='button-close' style=''><div class='popupElement-content'><button type=\"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(240, 57, 57);\"><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='1332'><input type='hidden' name='projectID' value='453'><input type='hidden' name='custom_utm_source'><input type='hidden' name='custom_utm_medium'><input type='hidden' name='custom_utm_campaign'><input type='hidden' name='custom_utm_content'><input type='hidden' name='custom_utm_term'></noindex>";
3641								
3642												closeButton = false;
3643										
3644											}
3645								
3646											Fancybox.close();
3647											new Fancybox([
3648												{
3649													src: html,
3650													type: 'html'
3651												}
3652											], {
3653												dragToClose: false,
3654												closeButton: closeButton,
3655												compact: false,
3656												autoFocus: false,
3657												trapFocus: false,
3658												on: {
3659													done: (fancybox, slide) => {
3660								
3661													sgPopup1332reachGoal("ym(93615077,'reachGoal','pokaz_podpiska_rassylka');");
3662										
3663													const popup = document.querySelector("#SGpopup1332");
3664													if(popup) {
3665
3666														const url = new URL(location.href);
3667														window.utm_source = url.searchParams.get('utm_source');
3668														window.utm_medium = url.searchParams.get('utm_medium');
3669														window.utm_campaign = url.searchParams.get('utm_campaign');
3670														window.utm_term = url.searchParams.get('utm_term');
3671														window.utm_content = url.searchParams.get('utm_content');
3672
3673								
3674														const custom_utm_source = popup.querySelector('input[name="custom_utm_source"]');
3675														if(custom_utm_source && typeof 'site' != undefined) {
3676															custom_utm_source.value = 'site';
3677														}
3678											
3679														const custom_utm_medium = popup.querySelector('input[name="custom_utm_medium"]');
3680														if(custom_utm_medium && typeof 'seo' != undefined) {
3681															custom_utm_medium.value = 'seo';
3682														}
3683											
3684														const custom_utm_campaign = popup.querySelector('input[name="custom_utm_campaign"]');
3685														if(custom_utm_campaign && typeof 'genegator_send_email_newsletter' != undefined) {
3686															custom_utm_campaign.value = 'genegator_send_email_newsletter';
3687														}
3688											
3689														const custom_utm_content = popup.querySelector('input[name="custom_utm_content"]');
3690														if(custom_utm_content && typeof 'muip' != undefined) {
3691															custom_utm_content.value = 'muip';
3692														}
3693											
3694														const custom_utm_term = popup.querySelector('input[name="custom_utm_term"]');
3695														if(custom_utm_term && typeof 'footer' != undefined) {
3696															custom_utm_term.value = 'footer';
3697														}
3698											
3699														openerLinks = popup.querySelectorAll('a[data-target]');
3700														if(openerLinks) {
3701															for(let openerLink of openerLinks) {
3702																openerLink.addEventListener('click', function(){
3703																	if(openerLink.dataset.target) {
3704																		if(typeof window[openerLink.dataset.target] == 'function') {
3705																			Fancybox.close();
3706																			window[openerLink.dataset.target]('open');
3707																		}
3708																	}
3709																});
3710															}
3711														}
3712
3713														linkImages = popup.querySelectorAll('.image-wrapper[data-type="link"]');
3714														if(linkImages) {
3715															for(let linkImage of linkImages) {
3716																linkImage.addEventListener('click', function(){
3717																	if(linkImage.dataset.link) {
3718																		if(linkImage.dataset.target == '_blank') {
3719																			window.open(linkImage.dataset.link);
3720																		} else {
3721																			location.href = linkImage.dataset.link
3722																		}
3723																	}
3724																});
3725															}
3726														}
3727
3728														openerImages = popup.querySelectorAll('.image-wrapper[data-type="opener"]');
3729														if(openerImages) {
3730															for(let openerImage of openerImages) {
3731																openerImage.addEventListener('click', function(){
3732																	if(openerImage.dataset.popup) {
3733																		if(typeof window['sgPopup' + openerImage.dataset.popup] == 'function') {
3734																			Fancybox.close();
3735																			window['sgPopup' + openerImage.dataset.popup]('forceOpen');
3736																		}
3737																	}
3738																});
3739															}
3740														}
3741
3742														submitImages = popup.querySelectorAll('.image-wrapper[data-type="submitter"]');
3743														if(submitImages) {
3744															for(let submitImage of submitImages) {
3745																submitImage.addEventListener('click', function(){
3746
3747																	if(submitImage.classList.contains('disabled')) return false;
3748
3749																	submitImage.classList.add('disabled');
3750
3751																	sgPopup1332submit(function(result){
3752																		submitImage.classList.toggle('disabled', result);
3753																	});
3754
3755																});
3756															}
3757														}
3758
3759														const linkButtons = popup.querySelectorAll('button[data-type="link"]');
3760														if(linkButtons) {
3761															for(let linkButton of linkButtons) {
3762																linkButton.addEventListener('click', function(){
3763																	if(linkButton.dataset.link && linkButton.dataset.link != '#') {
3764								
3765																		if(linkButton.dataset.target == '_blank') {
3766																			window.open(linkButton.dataset.link);
3767																		} else {
3768																			location.href = linkButton.dataset.link
3769																		}
3770																	}
3771																});
3772															}
3773														}
3774
3775														openerButtons = popup.querySelectorAll('button[data-type="opener"]');
3776														if(openerButtons) {
3777															for(let openerButton of openerButtons) {
3778																openerButton.addEventListener('click', function(){
3779									
3780																	if(openerButton.dataset.popup) {
3781																		if(typeof window['sgPopup' + openerButton.dataset.popup] == 'function') {
3782																			Fancybox.close();
3783																			window['sgPopup' + openerButton.dataset.popup]('forceOpen');
3784																		}
3785																	}
3786																});
3787															}
3788														}
3789
3790														const maskedFields = popup.querySelectorAll('input[data-mask]');
3791														if(maskedFields) {
3792															for(let maskedField of maskedFields) {
3793																if(maskedField.dataset.mask == 'phone') {
3794																	Inputmask('+7 (999) 999-99-99', {
3795																		clearIncomplete: true,
3796																		greedy: false
3797																	}).mask(maskedField);
3798								
3799																} else if(maskedField.dataset.mask == 'email') {
3800																	Inputmask({
3801																	alias: 'email',
3802																		clearIncomplete: true,
3803																		greedy: false
3804																	}).mask(maskedField);
3805																}
3806															}
3807														}
3808
3809														const fileInputs = popup.querySelectorAll('.popup-element[data-type="input-file"] input[type="file"]');
3810														if(fileInputs) {
3811															for(let fileInput of fileInputs) {
3812																let label = fileInput.nextElementSibling;
3813																if(label) {
3814																	fileInput.addEventListener('change', function() {
3815																		if (fileInput.files && fileInput.files.length > 0) {
3816																			const maxSize = fileInput.dataset.limit;
3817																			if(fileInput.files[0].size <= maxSize * 1024 * 1024) {
3818																				reader = new FileReader();
3819																				reader.onload = function(){
3820																					const span = label.querySelector('span');
3821																					if(span) {
3822																						span.innerHTML = fileInput.files[0].name;
3823																					}
3824																					fileInput.dataset.content = reader.result;
3825																				};
3826																				reader.readAsDataURL(fileInput.files[0]);
3827																			} else {
3828																				alert('Превышен максимальный размер файла - '+ maxSize +'мб');
3829																			}
3830																		}
3831																	});
3832																	label.addEventListener('click', function(event){
3833																		event.preventDefault();
3834																		fileInput.click();
3835																	});
3836																}
3837															}
3838														}
3839
3840														const agrees = popup.querySelectorAll('.popup-element[data-type="agree"] input[type="checkbox"]');
3841														if(agrees) {
3842															for(let agree of agrees) {
3843																let parent = agree.closest('.popup-element');
3844																if(parent) {
3845																	let label = agree.nextElementSibling;
3846																	if(label) {
3847																		label.addEventListener('click', function(event){
3848																			event.preventDefault();
3849																			agree.checked = !agree.checked;
3850
3851
3852																			if(parent.dataset.mode == 'general') {
3853																				const agreeAll = agree;
3854																				for(let agree of agrees) {
3855																					agree.checked = agreeAll.checked;
3856																				}
3857																			}
3858
3859																			let agreeCount = 0;
3860																			let agreeSelected = 0;
3861																			for(let agree of agrees) {
3862																				const parent = agree.closest('.popup-element');
3863																				if(parent && parent.dataset.mode != 'general') {
3864																					agreeCount++;
3865																					if(agree.checked) {
3866																						agreeSelected++;
3867																					}
3868																				}
3869																			}
3870
3871																			const general = popup.querySelector('.popup-element[data-type="agree"][data-mode="general"]');
3872																			if(general) {
3873																				general.classList.toggle('all-selected', agreeSelected == agreeCount);
3874																				general.classList.toggle('no-selected', agreeSelected == 0);
3875																				general.classList.toggle('some-selected', agreeSelected > 0 && agreeSelected < agreeCount);
3876
3877																				const checkbox = general.querySelector('input[type="checkbox"]');
3878																				if(checkbox) {
3879																					if(agreeSelected == agreeCount) {
3880																						checkbox.checked = true;
3881																					} else {
3882																						checkbox.checked = false;
3883																					}
3884																				}
3885																			}
3886																		});
3887																		const links = label.querySelectorAll('a');
3888																		if(links) {
3889																			for(let link of links) {
3890																				link.addEventListener('click', function(event){
3891																					event.stopPropagation()
3892																				});
3893																			}
3894																		}
3895																	}
3896																}
3897															}
3898														}
3899
3900														const wheel = popup.querySelector('.popup-element[data-type="wheel"]');
3901														let wheelInterval;
3902														let wheelAngle = 0;
3903														if(wheel){
3904															const circle = popup.querySelector('.wheel-circle img');
3905															if(circle) {
3906																wheelInterval = setInterval(function(){
3907																	wheelAngle += 0.2;
3908																	if(wheelAngle > 360) {
3909																		wheelAngle -= 360;
3910																	}
3911																	circle.setAttribute('style', 'transform: rotate('+ wheelAngle +'deg)');
3912																}, 40);
3913															}
3914														}
3915
3916														const closeTriggers = popup.querySelectorAll('.popup-element[data-type="button-close"] button:not([data-fancybox-close])');
3917														if(closeTriggers) {
3918															for(let closeTrigger of closeTriggers) {
3919																closeTrigger.addEventListener('click', function(){
3920																	Fancybox.close();
3921																})
3922															}
3923														}
3924
3925														function sgPopup1332submit(callback = false) {
3926
3927															let hasError = false;
3928															const requiredInputs = popup.querySelectorAll('input[data-name][required]');
3929															if(requiredInputs) {
3930																for(let requiredInput of requiredInputs) {
3931																	if(requiredInput.dataset.mask) {
3932																		if(requiredInput.dataset.mask == 'phone') {
3933																			if(!Inputmask.isValid(requiredInput.value, { mask: '+7 (999) 999-99-99'})) {
3934																				requiredInput.classList.add('error');
3935																				hasError = true;
3936																			} else {
3937																				requiredInput.classList.remove('error');
3938																			}
3939																		} else if(requiredInput.dataset.mask == 'phone_intl' && typeof window.sgPopup.elements.intl != 'undefined') {
3940																			intl = window.sgPopup.elements.intl;
3941																			if(!intl.isValidNumberPrecise()) {
3942																				requiredInput.classList.add('error');
3943																				hasError = true;
3944																			} else {
3945																				requiredInput.classList.remove('error');
3946																			}
3947																		} else if(requiredInput.dataset.mask == 'email') {
3948																			if(!Inputmask.isValid(requiredInput.value, {alias: 'email'})) {
3949																				requiredInput.classList.add('error');
3950																				hasError = true;
3951																			} else {
3952																				requiredInput.classList.remove('error');
3953																			}
3954																		}
3955																	} else {
3956																		if(requiredInput.value == '') {
3957																			requiredInput.classList.add('error');
3958																			hasError = true;
3959																		} else {
3960																			requiredInput.classList.remove('error');
3961																		}
3962																	}
3963																}
3964															}
3965								
3966															const requiredTextareas = popup.querySelectorAll('textarea[data-name][required]');
3967															if(requiredTextareas) {
3968																for(let requiredTextarea of requiredTextareas) {
3969																	if(requiredTextarea.value == '') {
3970																		requiredTextarea.classList.add('error');
3971																		hasError = true;
3972																	} else {
3973																		requiredTextarea.classList.remove('error');
3974																	}
3975																}
3976															}
3977
3978															const requiredSelects = popup.querySelectorAll('select[data-name][required]');
3979															if(requiredSelects) {
3980																for(let requiredSelect of requiredSelects) {
3981																	const niceSelect = requiredSelect.nextElementSibling;
3982																	if(niceSelect) {
3983																		if(niceSelect.querySelector('.option.selected')) {
3984																			niceSelect.classList.remove('error')
3985																		} else {
3986																			niceSelect.classList.add('error');
3987																			hasError = true
3988																		}
3989																	}
3990																}
3991															}
3992
3993															if(agrees) {
3994																for(let agree of agrees) {
3995																	if(agree.required) {
3996																		let label = agree.nextElementSibling;
3997																		if(agree.checked) {
3998																			label.classList.remove('error');
3999																		} else {
4000																			label.classList.add('error');
4001																			hasError = true;
4002																		}
4003																	}
4004																}
4005															}
4006
4007															if(hasError) {
4008																if (callback && typeof callback === 'function') {
4009																	callback(false);
4010																}
4011																return false;
4012															}
4013
4014															function sgPopup1332sendRequest() {
4015
4016								
4017																let data = {
4018																	fields: [],
4019																	cookie: document.cookie,
4020																	markers: markers,
4021																	source: location.href
4022																};
4023								
4024																const inputs = popup.querySelectorAll('input[data-name]');
4025																if(inputs) {
4026																	for(let input of inputs) {
4027																		if(input.dataset.mask == 'phone_intl' && typeof window.sgPopup.elements.intl != 'undefined') {
4028																			intl = window.sgPopup.elements.intl;
4029																			data.fields.push({
4030																				name: input.dataset.name,
4031																				value: intl.getNumber()
4032																			});
4033																		} else {
4034																			data.fields.push({
4035																				name: input.dataset.name,
4036																				value: input.value
4037																			});
4038																		}
4039																	}
4040																}
4041
4042																const textareas = popup.querySelectorAll('textarea[data-name]');
4043																if(textareas) {
4044																	for(let textarea of textareas) {
4045																		data.fields.push({
4046																			name: textarea.dataset.name,
4047																			value: textarea.value
4048																		});
4049																	}
4050																}
4051
4052																if(typeof selects != 'undefined') {
4053																	for(let select of selects) {
4054																		data.fields.push({
4055																			name: select.dataset.name,
4056																			value: select.value
4057																		});
4058																	}
4059																}
4060
4061																const hiddenInputs = popup.querySelectorAll('input[type="hidden"]');
4062																for(let hiddenInput of hiddenInputs) {
4063																	const name = hiddenInput.name;
4064																	data[hiddenInput.name] = hiddenInput.value;
4065																}
4066
4067																const fileInputs = popup.querySelectorAll('.popup-element[data-type="input-file"] input[type="file"]');
4068																if(fileInputs) {
4069																	data.files = [];
4070																	for(let fileInput of fileInputs) {
4071																		if (fileInput.files && fileInput.files.length > 0) {
4072																			data.files.push({
4073																				'name': fileInput.files[0].name,
4074																				'content': fileInput.dataset.content
4075																			});
4076																		}
4077																	}
4078																}
4079
4080																if( wheel && typeof window.prize != 'undefined' ) {
4081																	data.fields.push(window.prize);
4082																}
4083								
4084
4085																var xmlhr = new XMLHttpRequest();
4086																xmlhr.open('POST', "https://psy-muip.ru/wp-json/generator.conversion/v1/actions/?_method=POST&action=formSubmit");
4087																xmlhr.send(JSON.stringify(data));
4088
4089																xmlhr.onreadystatechange = function() {
4090																	if (xmlhr.readyState === 4 && xmlhr.status === 200) {
4091																		console.log(xmlhr.response);
4092																		const response = JSON.parse(xmlhr.response);
4093																		console.log(response);
4094								
4095																	}
4096																};
4097								
4098																sgPopup1332reachGoal("ym(93615077,'reachGoal','lead_podpiska_rassylka');");
4099											
4100																sgSuccessPopup1332();
4101										
4102																return true;
4103
4104															}
4105
4106															if(wheel){
4107																const circle = popup.querySelector('.wheel-circle img');
4108																if(circle) {
4109																	clearInterval(wheelInterval);
4110								
4111																	}
4112
4113																} else {
4114																	const result = sgPopup1332sendRequest();
4115																	if (callback && typeof callback === 'function') {
4116																		callback(result);
4117																	}
4118																}
4119
4120															}
4121
4122															areaLinks = popup.querySelectorAll('.popup-area[data-type="area-link"]');
4123															if(areaLinks) {
4124																for(let areaLink of areaLinks) {
4125																	areaLink.addEventListener('click', function(){
4126																		if(areaLink.dataset.link && areaLink.dataset.link != '#') {
4127																			if(areaLink.dataset.target == '_blank') {
4128																				window.open(areaLink.dataset.link);
4129																			} else {
4130																				location.href = areaLink.dataset.link
4131																			}
4132																		}
4133																	});
4134																}
4135															}
4136
4137															areaOpeners = popup.querySelectorAll('.popup-area[data-type="area-opener"]');
4138															if(areaOpeners) {
4139																for(let areaOpener of areaOpeners) {
4140																	areaOpener.addEventListener('click', function(){
4141																		if(areaOpener.dataset.popup) {
4142																			if(typeof window['sgPopup' + areaOpener.dataset.popup] == 'function') {
4143																				Fancybox.close();
4144																				window['sgPopup' + areaOpener.dataset.popup]('forceOpen');
4145																			}
4146																		}
4147																	});
4148																}
4149															}
4150
4151															const submitButton = popup.querySelector(".popup-element[data-type='button-submit'] button");
4152															if(submitButton) {
4153																submitButton.addEventListener('click', function(event){
4154
4155																	event.preventDefault();
4156																	submitButton.disabled = true;
4157
4158																	sgPopup1332submit(function(result){
4159																		submitButton.disabled = result;
4160																	});
4161
4162																})
4163															}
4164														}
4165													},
4166													close: () => {
4167														window.sgPopup.opened = false;
4168														window.sgPopup.shown.push(1332);
4169														if(window.sgPopup.queue.length) {
4170															setTimeout(function(){
4171																let popupID = window.sgPopup.queue.shift();
4172																window['sgPopup' + popupID]('forceOpen');
4173															}, 30000);
4174														}
4175								
4176													}
4177												}
4178											})
4179										}
4180									}
4181								}
4182							
4183								function sgSuccessPopup1332() {
4184							
4185									let html;
4186									let closeButton;
4187									if(window.innerWidth >= 1040) {
4188										html = "<noindex id='SGsuccess1332' 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>";
4189							closeButton = false;
4190									} else {
4191										html = "<noindex id='SGsuccess1332' 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;\">Спасибо, мы скоро свяжемся с вами!&nbsp;</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>";
4192							closeButton = false;
4193									}
4194							
4195									Fancybox.close();
4196									new Fancybox([
4197										{
4198											src: html,
4199											type: 'html'
4200										}
4201									], {
4202										dragToClose: false,
4203										closeButton: closeButton,
4204										autoFocus: false,
4205										trapFocus: false,
4206										on: {
4207											done: (fancybox, slide) => {
4208							
4209												const success = document.querySelector("#SGsuccess1332");
4210												if(success) {
4211
4212													buttonLinks = success.querySelectorAll('button[data-type="link"]');
4213													if(buttonLinks) {
4214														for(let buttonLink of buttonLinks) {
4215															buttonLink.addEventListener('click', function(){
4216																if(buttonLink.dataset.link) {
4217																	if(buttonLink.dataset.target == '_blank') {
4218																		window.open(buttonLink.dataset.link);
4219																	} else {
4220																		location.href = buttonLink.dataset.link
4221																	}
4222																}
4223															});
4224														}
4225													}
4226													
4227												}
4228							
4229												setTimeout(function(){
4230													Fancybox.close();
4231												}, 3000);
4232									
4233											},
4234											close: () => {
4235												window.sgPopup.opened = false;
4236											}
4237										}
4238									});
4239								}
4240							</script>
vendor: 1 bytes, line 4240
4240
4241<script>
4242								if(typeof window.sgPopup == 'undefined') {
4243									window.sgPopup = {
4244										opened: false,
4245										queue: [],
4246										shown: [],
4247										elements: {}
4248									};
4249								}
4250						
4251								addEventListener('DOMContentLoaded', () => {
4252						
4253									document.body.addEventListener('click', function(event){
4254										if(
4255											event.target.dataset.target == "sgPopup1333"
4256											|| event.target.closest('[data-target="sgPopup1333"]')
4257										) {
4258											Fancybox.close();
4259											sgPopup1333('forceOpen');
4260										}
4261									});
4262
4263									sgPopup1333autoOpen();
4264								});
4265
4266								function sgPopup1333autoOpen() {
4267							
4268								}
4269
4270								function sgPopup1333reachGoal(code) {
4271
4272									function executeGoal(params) {
4273										if(typeof params == 'object') {
4274
4275											eval('ym('+ params.join(',') +');');
4276
4277											let data = {
4278												'goal': params[2],
4279												timestamp: new Date().toISOString()
4280											};
4281
4282											var xmlhr = new XMLHttpRequest();
4283											xmlhr.open('POST', "https://psy-muip.ru/wp-json/generator.conversion/v1/actions/?_method=POST&action=goalLog");
4284											xmlhr.send(JSON.stringify(data));
4285
4286											xmlhr.onreadystatechange = function() {
4287												if (xmlhr.readyState === 4 && xmlhr.status === 200) {
4288													if( urlParams.get('debug') ) {
4289														const response = JSON.parse(xmlhr.response);
4290														console.log(response);
4291													}
4292												}
4293											}
4294
4295										}
4296									}
4297
4298									const goals = code.split(';');
4299									if(goals) {
4300										for(let goal of goals) {
4301											goal = goal.trim();
4302											if(goal != '') {
4303												const regexp = /ym(.*)/;
4304												if( regexp.test(goal) ) {
4305
4306													goal = goal.replace('ym(', '');
4307													goal = goal.replace(')', '');
4308													const params = goal.split(',');
4309													if(params) {
4310
4311														if (typeof window.ym != 'undefined') {
4312															executeGoal(params);
4313														} else {
4314															if(typeof window.popup1333goals == 'undefined') {
4315																window.popup1333goals = [];
4316															}
4317
4318															window.popup1333goals.push({
4319																'metrika': params[0],
4320																'action': params[1],
4321																'id': params[2]
4322															});
4323
4324															if(typeof popup1333interval == 'undefined') {
4325																popup1333interval = setInterval(function(){
4326																	if (typeof window.ym != 'undefined') {
4327																		for(let goal of window.popup1333goals) {
4328																			executeGoal(params);
4329																		}
4330																		window.popup1333goals = [];
4331																		clearInterval(popup1333interval);
4332																	}
4333																}, 1000);
4334															}
4335														}
4336													}
4337												} else {
4338													eval(goal);
4339												}
4340											}
4341										}
4342									}
4343
4344								}
4345
4346								function sgPopup1333(action = false) {
4347
4348									if(!action) return;
4349
4350									if( ['open', 'forceOpen'].includes(action) ) {
4351
4352								
4353										if(action == 'open' && window.sgPopup.shown.includes(1333)) {
4354											return false;
4355										}
4356
4357										if(window.sgPopup.opened) {
4358
4359											if(window.sgPopup.opened != 1333) {
4360												window.sgPopup.queue.push(1333);
4361											}
4362
4363										} else {
4364
4365											window.sgPopup.opened = 1333;
4366
4367											let html;
4368											let closeButton;
4369											if(window.innerWidth >= 1040) {
4370												html = "<noindex id='SGpopup1333' class='popup-wrapper grid-hidden'><div class='popup-area' data-type='area-container' style='position: relative; top: 118px; left: 27px; margin-left: ; width: 429px; height: 351px; '><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=\"Введите ваше имя\" data-name=\"Имя\" data-mask=\"null\" style=\"background-color: rgb(255, 255, 255); border-color: rgb(227, 227, 227); font-size: 17px; color: rgb(104, 104, 104); padding: 11px 20px; border-radius: 30px;\"></div></div><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=\"Ваш e-mail, например: [email protected]\" data-name=\"Почта\" data-mask=\"email\" required=\"\" style=\"background-color: rgb(255, 255, 255); border-color: rgb(227, 227, 227); font-size: 17px; color: rgb(104, 104, 104); padding: 11px 20px; border-radius: 30px;\"></div></div><div class='popup-element' data-type='input' style='margin-top: 0px;margin-right: 0px;margin-bottom: 9px;margin-left: 0px;'><div class='popupElement-content'><input type=\"text\" placeholder=\"+7 (___) ___ - __ - __\" data-name=\"Телефон\" data-mask=\"phone\" required=\"\" style=\"background-color: rgb(255, 255, 255); border-color: rgb(225, 225, 226); font-size: 17px; color: rgb(120, 120, 120); padding: 11px 15px 11px 14px; border-radius: 30px;\"></div></div><div class='popup-element' data-type='button-submit' style='margin-top: 0px;margin-right: 0px;margin-bottom: 7px;margin-left: 0px;'><div class='popupElement-content'><button type=\"submit\" style=\"background-color: rgb(10, 117, 111); color: rgb(0, 0, 0); font-size: 19px; border-radius: 30px; padding: 25px 30px;\" onclick=\"\"><div class=\"buttonSubmit-content\"><p><span style=\"color:hsl(0,0%,100%);\">Отправить</span></p></div></button></div></div><div class='popup-element' data-type='agree' data-element-id='359185' data-fill='#2f2f2fff' data-mode='default' style='margin-top: 0px;margin-right: 0px;margin-bottom: 7px;margin-left: 0px;'><style>#SGpopup1333 .popup-element[data-element-id='359185'][data-type='agree'] .popupElement-content input[type='checkbox'] + label:before {border-color: #2f2f2fff;} #SGpopup1333 .popup-element[data-element-id='359185'][data-type='agree'] .popupElement-content input[type='checkbox'] + label:after {background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHhtbG5zOnhsaW5rPSdodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rJyB2ZXJzaW9uPScxLjEnIHg9JzBweCcgeT0nMHB4JyB3aWR0aD0nNTEycHgnIGhlaWdodD0nNTEycHgnIHZpZXdCb3g9JzAgMCA0NDIuNTMzIDQ0Mi41MzMnIHN0eWxlPSdlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDQ0Mi41MzMgNDQyLjUzMycgeG1sOnNwYWNlPSdwcmVzZXJ2ZSc+PHBhdGggZD0nTTQzNC41MzksOTguNDk5bC0zOC44MjgtMzguODI4Yy01LjMyNC01LjMyOC0xMS43OTktNy45OTMtMTkuNDEtNy45OTNjLTcuNjE4LDAtMTQuMDkzLDIuNjY1LTE5LjQxNyw3Ljk5M0wxNjkuNTksMjQ3LjI0OCBsLTgzLjkzOS04NC4yMjVjLTUuMzMtNS4zMy0xMS44MDEtNy45OTItMTkuNDEyLTcuOTkyYy03LjYxNiwwLTE0LjA4NywyLjY2Mi0xOS40MTcsNy45OTJMNy45OTQsMjAxLjg1MiAgIEMyLjY2NCwyMDcuMTgxLDAsMjEzLjY1NCwwLDIyMS4yNjljMCw3LjYwOSwyLjY2NCwxNC4wODgsNy45OTQsMTkuNDE2bDEwMy4zNTEsMTAzLjM0OWwzOC44MzEsMzguODI4IGM1LjMyNyw1LjMzMiwxMS44LDcuOTk0LDE5LjQxNCw3Ljk5NGM3LjYxMSwwLDE0LjA4NC0yLjY2OSwxOS40MTQtNy45OTRsMzguODMtMzguODI4TDQzNC41MzksMTM3LjMzIGM1LjMyNS01LjMzLDcuOTk0LTExLjgwMiw3Ljk5NC0xOS40MTdDNDQyLjUzNywxMTAuMzAyLDQzOS44NjQsMTAzLjgyOSw0MzQuNTM5LDk4LjQ5OXonIGZpbGw9JyMyZjJmMmZmZicvPjwvc3ZnPg==);}</style><div class='popupElement-content'><input type=\"checkbox\" checked=\"\" required=\"\" tabindex=\"-1\" data-orig-tabindex=\"-1\"><label><p><span style=\"color:hsl(0,0%,18%);font-size:9px;\">Я согласен на обработку моих персональных данных. 
С&nbsp;</span><a href=\"https://psy-muip.ru/agreement\" data-fpl-component=\"primitive\" target=\"_blank\" rel=\"noopener\"><span style=\"color:hsl(0,0%,18%);font-size:9px;\"><u>Политикой обработки персональных данных</u></span></a><span style=\"color:hsl(0,0%,18%);font-size:9px;\">&nbsp;ознакомлен</span></p></label></div></div><div class='popup-element' data-type='editor' data-element-id='464079' style='padding-top: 0px;padding-right: 0px;padding-bottom: 0px;padding-left: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;' data-p-margin-bottom='20px' data-p-line-height='80%'><style>#SGpopup1333 .popup-element[data-element-id='464079'][data-type='editor'] p {margin-bottom: 20px}#SGpopup1333 .popup-element[data-element-id='464079'][data-type='editor'] * {line-height: 80%}</style><div class='popupElement-content'><p><a href=\"https://psy-muip.ru/politika\" data-fpl-component=\"primitive\" target=\"_blank\" rel=\"noopener\"><span style=\"color:hsl(0,0%,18%);font-size:9px;\"><u>Политика&nbsp;в отношении обработки персональных данных</u></span></a><span style=\"color:hsl(0,0%,18%);font-size:9px;\"> | </span><a href=\"https://psy-muip.ru/custom\" data-fpl-component=\"primitive\" target=\"_blank\" rel=\"noopener\"><span style=\"color:hsl(0,0%,18%);font-size:9px;\"><u>Пользовательское соглашение</u></span></a><br><a href=\"https://psy-muip.ru/agreement\" data-fpl-component=\"primitive\" target=\"_blank\" rel=\"noopener\"><span style=\"color:hsl(0,0%,18%);font-size:9px;\"><u>Согласие на обработку персональных данных</u></span></a><span style=\"color:hsl(0,0%,18%);font-size:9px;\"> | </span><a href=\"https://psy-muip.ru/rassylka\" data-fpl-component=\"primitive\" target=\"_blank\" rel=\"noopener\"><span style=\"color:hsl(0,0%,18%);font-size:9px;\"><u>Согласие на рассылку материалов</u></span></a></p></div></div></div><div class='popup-area' data-type='close-container' style='position: absolute; top: 2px; left: 500px; 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, 14, 14);\">
4370<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='1333'><input type='hidden' name='projectID' value='453'><input type='hidden' name='custom_utm_source'><input type='hidden' name='custom_utm_medium'><input type='hidden' name='custom_utm_campaign'><input type='hidden' name='custom_utm_content'><input type='hidden' name='custom_utm_term'></noindex>";
4371								
4372												closeButton = false;
4373										
4374											} else {
4375								
4376												html = "<noindex id='SGpopup1333' class='popup-wrapper grid-hidden'><div class='popup-area' data-type='area-container' style='position: relative; top: 113px; left: 9px; margin-left: ; width: 281px; height: 287px; '><div class='popup-element' data-type='input' style='margin-top: 0px;margin-right: 0px;margin-bottom: 6px;margin-left: 0px;'><div class='popupElement-content'><input type=\"text\" placeholder=\"Введите ваше имя\" data-name=\"Имя\" data-mask=\"null\" style=\"background-color: rgb(255, 255, 255); border-color: rgb(227, 227, 227); font-size: 14px; color: rgb(104, 104, 104); padding: 8px 20px; border-radius: 30px;\"></div></div><div class='popup-element' data-type='input' style='margin-top: 0px;margin-right: 0px;margin-bottom: 6px;margin-left: 0px;'><div class='popupElement-content'><input type=\"text\" placeholder=\"Ваш e-mail, например: [email protected]\" data-name=\"Почта\" data-mask=\"email\" required=\"\" style=\"background-color: rgb(255, 255, 255); border-color: rgb(227, 227, 227); font-size: 14px; color: rgb(104, 104, 104); padding: 8px 20px; border-radius: 30px;\"></div></div><div class='popup-element' data-type='input' style='margin-top: 0px;margin-right: 0px;margin-bottom: 9px;margin-left: 0px;'><div class='popupElement-content'><input type=\"text\" placeholder=\"+7 (___) ___ - __ - __\" data-name=\"Телефон\" data-mask=\"phone\" required=\"\" style=\"background-color: rgb(255, 255, 255); border-color: rgb(225, 225, 226); font-size: 14px; color: rgb(120, 120, 120); padding: 8px 15px 8px 14px; border-radius: 30px;\"></div></div><div class='popup-element' data-type='button-submit' style='margin-top: 0px;margin-right: 0px;margin-bottom: 7px;margin-left: 0px;'><div class='popupElement-content'><button type=\"submit\" style=\"background-color: rgb(10, 117, 111); color: rgb(0, 0, 0); font-size: 19px; border-radius: 30px; padding: 17px 30px;\" onclick=\"\"><div class=\"buttonSubmit-content\"><p><span style=\"color:hsl(0,0%,100%);\">Отправить</span></p></div></button></div></div><div class='popup-element' data-type='agree' data-element-id='203095' data-fill='#9e9e9eff' data-mode='default' style='margin-top: 0px;margin-right: 0px;margin-bottom: 7px;margin-left: 0px;'><style>#SGpopup1333 .popup-element[data-element-id='203095'][data-type='agree'] .popupElement-content input[type='checkbox'] + label:before {border-color: #9e9e9eff;} #SGpopup1333 .popup-element[data-element-id='203095'][data-type='agree'] .popupElement-content input[type='checkbox'] + label:after {background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHhtbG5zOnhsaW5rPSdodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rJyB2ZXJzaW9uPScxLjEnIHg9JzBweCcgeT0nMHB4JyB3aWR0aD0nNTEycHgnIGhlaWdodD0nNTEycHgnIHZpZXdCb3g9JzAgMCA0NDIuNTMzIDQ0Mi41MzMnIHN0eWxlPSdlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDQ0Mi41MzMgNDQyLjUzMycgeG1sOnNwYWNlPSdwcmVzZXJ2ZSc+PHBhdGggZD0nTTQzNC41MzksOTguNDk5bC0zOC44MjgtMzguODI4Yy01LjMyNC01LjMyOC0xMS43OTktNy45OTMtMTkuNDEtNy45OTNjLTcuNjE4LDAtMTQuMDkzLDIuNjY1LTE5LjQxNyw3Ljk5M0wxNjkuNTksMjQ3LjI0OCBsLTgzLjkzOS04NC4yMjVjLTUuMzMtNS4zMy0xMS44MDEtNy45OTItMTkuNDEyLTcuOTkyYy03LjYxNiwwLTE0LjA4NywyLjY2Mi0xOS40MTcsNy45OTJMNy45OTQsMjAxLjg1MiAgIEMyLjY2NCwyMDcuMTgxLDAsMjEzLjY1NCwwLDIyMS4yNjljMCw3LjYwOSwyLjY2NCwxNC4wODgsNy45OTQsMTkuNDE2bDEwMy4zNTEsMTAzLjM0OWwzOC44MzEsMzguODI4IGM1LjMyNyw1LjMzMiwxMS44LDcuOTk0LDE5LjQxNCw3Ljk5NGM3LjYxMSwwLDE0LjA4NC0yLjY2OSwxOS40MTQtNy45OTRsMzguODMtMzguODI4TDQzNC41MzksMTM3LjMzIGM1LjMyNS01LjMzLDcuOTk0LTExLjgwMiw3Ljk5NC0xOS40MTdDNDQyLjUzNywxMTAuMzAyLDQzOS44NjQsMTAzLjgyOSw0MzQuNTM5LDk4LjQ5OXonIGZpbGw9JyM5ZTllOWVmZicvPjwvc3ZnPg==);}</style><div class='popupElement-content'><input type=\"checkbox\" checked=\"\" required=\"\" tabindex=\"-1\" data-orig-tabindex=\"-1\"><label><p><span style=\"color:hsl(0,0%,18%);
4376font-size:7px;\">Я согласен на обработку моих персональных данных. 
С&nbsp;</span><a href=\"https://psy-muip.ru/agreement\" data-fpl-component=\"primitive\" target=\"_blank\" rel=\"noopener\"><span style=\"color:hsl(0,0%,18%);font-size:7px;\"><u>Политикой обработки персональных данных</u></span></a><span style=\"color:hsl(0,0%,18%);font-size:7px;\">&nbsp;ознакомлен</span></p></label></div></div><div class='popup-element' data-type='editor' data-element-id='784376' style='padding-top: 0px;padding-right: 0px;padding-bottom: 0px;padding-left: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;' data-p-margin-bottom='20px' data-p-line-height='90%'><style>#SGpopup1333 .popup-element[data-element-id='784376'][data-type='editor'] p {margin-bottom: 20px}#SGpopup1333 .popup-element[data-element-id='784376'][data-type='editor'] * {line-height: 90%}</style><div class='popupElement-content'><p><a href=\"https://psy-muip.ru/politika\" data-fpl-component=\"primitive\" target=\"_blank\" rel=\"noopener\"><span style=\"color:hsl(0,0%,18%);font-size:6px;\"><u>Политика&nbsp;в отношении обработки персональных данных</u></span></a><span style=\"color:hsl(0,0%,18%);font-size:6px;\"> | </span><a href=\"https://psy-muip.ru/custom\" data-fpl-component=\"primitive\" target=\"_blank\" rel=\"noopener\"><span style=\"color:hsl(0,0%,18%);font-size:6px;\"><u>Пользовательское соглашение</u></span></a><br><a href=\"https://psy-muip.ru/agreement\" data-fpl-component=\"primitive\" target=\"_blank\" rel=\"noopener\"><span style=\"color:hsl(0,0%,18%);font-size:6px;\"><u>Согласие на обработку персональных данных</u></span></a><span style=\"color:hsl(0,0%,18%);font-size:6px;\"> | </span><a href=\"https://psy-muip.ru/rassylka\" data-fpl-component=\"primitive\" target=\"_blank\" rel=\"noopener\"><span style=\"color:hsl(0,0%,18%);font-size:6px;\"><u>Согласие на рассылку материалов</u></span></a></p></div></div></div><div class='popup-area' data-type='close-container' style='position: absolute; top: -5px; left: 284.219px; margin-left: ; width: 40px; height: 40px; '><div class='popup-element' data-type='button-close' style=''><div class='popupElement-content'><button type=\"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(240, 57, 57);\"><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='1333'><input type='hidden' name='projectID' value='453'><input type='hidden' name='custom_utm_source'><input type='hidden' name='custom_utm_medium'><input type='hidden' name='custom_utm_campaign'><input type='hidden' name='custom_utm_content'><input type='hidden' name='custom_utm_term'></noindex>";
4377								
4378												closeButton = false;
4379										
4380											}
4381								
4382											Fancybox.close();
4383											new Fancybox([
4384												{
4385													src: html,
4386													type: 'html'
4387												}
4388											], {
4389												dragToClose: false,
4390												closeButton: closeButton,
4391												compact: false,
4392												autoFocus: false,
4393												trapFocus: false,
4394												on: {
4395													done: (fancybox, slide) => {
4396								
4397													sgPopup1333reachGoal("ym(93615077,'reachGoal','pokaz_polych_konsylt_gl');");
4398										
4399													const popup = document.querySelector("#SGpopup1333");
4400													if(popup) {
4401
4402														const url = new URL(location.href);
4403														window.utm_source = url.searchParams.get('utm_source');
4404														window.utm_medium = url.searchParams.get('utm_medium');
4405														window.utm_campaign = url.searchParams.get('utm_campaign');
4406														window.utm_term = url.searchParams.get('utm_term');
4407														window.utm_content = url.searchParams.get('utm_content');
4408
4409								
4410														const custom_utm_source = popup.querySelector('input[name="custom_utm_source"]');
4411														if(custom_utm_source && typeof 'site' != undefined) {
4412															custom_utm_source.value = 'site';
4413														}
4414											
4415														const custom_utm_medium = popup.querySelector('input[name="custom_utm_medium"]');
4416														if(custom_utm_medium && typeof 'seo' != undefined) {
4417															custom_utm_medium.value = 'seo';
4418														}
4419											
4420														const custom_utm_campaign = popup.querySelector('input[name="custom_utm_campaign"]');
4421														if(custom_utm_campaign && typeof 'genegator_send_advice_programm' != undefined) {
4422															custom_utm_campaign.value = 'genegator_send_advice_programm';
4423														}
4424											
4425														const custom_utm_content = popup.querySelector('input[name="custom_utm_content"]');
4426														if(custom_utm_content && typeof 'muip' != undefined) {
4427															custom_utm_content.value = 'muip';
4428														}
4429											
4430														const custom_utm_term = popup.querySelector('input[name="custom_utm_term"]');
4431														if(custom_utm_term && typeof 'programm' != undefined) {
4432															custom_utm_term.value = 'programm';
4433														}
4434											
4435														openerLinks = popup.querySelectorAll('a[data-target]');
4436														if(openerLinks) {
4437															for(let openerLink of openerLinks) {
4438																openerLink.addEventListener('click', function(){
4439																	if(openerLink.dataset.target) {
4440																		if(typeof window[openerLink.dataset.target] == 'function') {
4441																			Fancybox.close();
4442																			window[openerLink.dataset.target]('open');
4443																		}
4444																	}
4445																});
4446															}
4447														}
4448
4449														linkImages = popup.querySelectorAll('.image-wrapper[data-type="link"]');
4450														if(linkImages) {
4451															for(let linkImage of linkImages) {
4452																linkImage.addEventListener('click', function(){
4453																	if(linkImage.dataset.link) {
4454																		if(linkImage.dataset.target == '_blank') {
4455																			window.open(linkImage.dataset.link);
4456																		} else {
4457																			location.href = linkImage.dataset.link
4458																		}
4459																	}
4460																});
4461															}
4462														}
4463
4464														openerImages = popup.querySelectorAll('.image-wrapper[data-type="opener"]');
4465														if(openerImages) {
4466															for(let openerImage of openerImages) {
4467																openerImage.addEventListener('click', function(){
4468																	if(openerImage.dataset.popup) {
4469																		if(typeof window['sgPopup' + openerImage.dataset.popup] == 'function') {
4470																			Fancybox.close();
4471																			window['sgPopup' + openerImage.dataset.popup]('forceOpen');
4472																		}
4473																	}
4474																});
4475															}
4476														}
4477
4478														submitImages = popup.querySelectorAll('.image-wrapper[data-type="submitter"]');
4479														if(submitImages) {
4480															for(let submitImage of submitImages) {
4481																submitImage.addEventListener('click', function(){
4482
4483																	if(submitImage.classList.contains('disabled')) return false;
4484
4485																	submitImage.classList.add('disabled');
4486
4487																	sgPopup1333submit(function(result){
4488																		submitImage.classList.toggle('disabled', result);
4489																	});
4490
4491																});
4492															}
4493														}
4494
4495														const linkButtons = popup.querySelectorAll('button[data-type="link"]');
4496														if(linkButtons) {
4497															for(let linkButton of linkButtons) {
4498																linkButton.addEventListener('click', function(){
4499																	if(linkButton.dataset.link && linkButton.dataset.link != '#') {
4500								
4501																		if(linkButton.dataset.target == '_blank') {
4502																			window.open(linkButton.dataset.link);
4503																		} else {
4504																			location.href = linkButton.dataset.link
4505																		}
4506																	}
4507																});
4508															}
4509														}
4510
4511														openerButtons = popup.querySelectorAll('button[data-type="opener"]');
4512														if(openerButtons) {
4513															for(let openerButton of openerButtons) {
4514																openerButton.addEventListener('click', function(){
4515									
4516																	if(openerButton.dataset.popup) {
4517																		if(typeof window['sgPopup' + openerButton.dataset.popup] == 'function') {
4518																			Fancybox.close();
4519																			window['sgPopup' + openerButton.dataset.popup]('forceOpen');
4520																		}
4521																	}
4522																});
4523															}
4524														}
4525
4526														const maskedFields = popup.querySelectorAll('input[data-mask]');
4527														if(maskedFields) {
4528															for(let maskedField of maskedFields) {
4529																if(maskedField.dataset.mask == 'phone') {
4530																	Inputmask('+7 (999) 999-99-99', {
4531																		clearIncomplete: true,
4532																		greedy: false
4533																	}).mask(maskedField);
4534								
4535																} else if(maskedField.dataset.mask == 'email') {
4536																	Inputmask({
4537																	alias: 'email',
4538																		clearIncomplete: true,
4539																		greedy: false
4540																	}).mask(maskedField);
4541																}
4542															}
4543														}
4544
4545														const fileInputs = popup.querySelectorAll('.popup-element[data-type="input-file"] input[type="file"]');
4546														if(fileInputs) {
4547															for(let fileInput of fileInputs) {
4548																let label = fileInput.nextElementSibling;
4549																if(label) {
4550																	fileInput.addEventListener('change', function() {
4551																		if (fileInput.files && fileInput.files.length > 0) {
4552																			const maxSize = fileInput.dataset.limit;
4553																			if(fileInput.files[0].size <= maxSize * 1024 * 1024) {
4554																				reader = new FileReader();
4555																				reader.onload = function(){
4556																					const span = label.querySelector('span');
4557																					if(span) {
4558																						span.innerHTML = fileInput.files[0].name;
4559																					}
4560																					fileInput.dataset.content = reader.result;
4561																				};
4562																				reader.readAsDataURL(fileInput.files[0]);
4563																			} else {
4564																				alert('Превышен максимальный размер файла - '+ maxSize +'мб');
4565																			}
4566																		}
4567																	});
4568																	label.addEventListener('click', function(event){
4569																		event.preventDefault();
4570																		fileInput.click();
4571																	});
4572																}
4573															}
4574														}
4575
4576														const agrees = popup.querySelectorAll('.popup-element[data-type="agree"] input[type="checkbox"]');
4577														if(agrees) {
4578															for(let agree of agrees) {
4579																let parent = agree.closest('.popup-element');
4580																if(parent) {
4581																	let label = agree.nextElementSibling;
4582																	if(label) {
4583																		label.addEventListener('click', function(event){
4584																			event.preventDefault();
4585																			agree.checked = !agree.checked;
4586
4587
4588																			if(parent.dataset.mode == 'general') {
4589																				const agreeAll = agree;
4590																				for(let agree of agrees) {
4591																					agree.checked = agreeAll.checked;
4592																				}
4593																			}
4594
4595																			let agreeCount = 0;
4596																			let agreeSelected = 0;
4597																			for(let agree of agrees) {
4598																				const parent = agree.closest('.popup-element');
4599																				if(parent && parent.dataset.mode != 'general') {
4600																					agreeCount++;
4601																					if(agree.checked) {
4602																						agreeSelected++;
4603																					}
4604																				}
4605																			}
4606
4607																			const general = popup.querySelector('.popup-element[data-type="agree"][data-mode="general"]');
4608																			if(general) {
4609																				general.classList.toggle('all-selected', agreeSelected == agreeCount);
4610																				general.classList.toggle('no-selected', agreeSelected == 0);
4611																				general.classList.toggle('some-selected', agreeSelected > 0 && agreeSelected < agreeCount);
4612
4613																				const checkbox = general.querySelector('input[type="checkbox"]');
4614																				if(checkbox) {
4615																					if(agreeSelected == agreeCount) {
4616																						checkbox.checked = true;
4617																					} else {
4618																						checkbox.checked = false;
4619																					}
4620																				}
4621																			}
4622																		});
4623																		const links = label.querySelectorAll('a');
4624																		if(links) {
4625																			for(let link of links) {
4626																				link.addEventListener('click', function(event){
4627																					event.stopPropagation()
4628																				});
4629																			}
4630																		}
4631																	}
4632																}
4633															}
4634														}
4635
4636														const wheel = popup.querySelector('.popup-element[data-type="wheel"]');
4637														let wheelInterval;
4638														let wheelAngle = 0;
4639														if(wheel){
4640															const circle = popup.querySelector('.wheel-circle img');
4641															if(circle) {
4642																wheelInterval = setInterval(function(){
4643																	wheelAngle += 0.2;
4644																	if(wheelAngle > 360) {
4645																		wheelAngle -= 360;
4646																	}
4647																	circle.setAttribute('style', 'transform: rotate('+ wheelAngle +'deg)');
4648																}, 40);
4649															}
4650														}
4651
4652														const closeTriggers = popup.querySelectorAll('.popup-element[data-type="button-close"] button:not([data-fancybox-close])');
4653														if(closeTriggers) {
4654															for(let closeTrigger of closeTriggers) {
4655																closeTrigger.addEventListener('click', function(){
4656																	Fancybox.close();
4657																})
4658															}
4659														}
4660
4661														function sgPopup1333submit(callback = false) {
4662
4663															let hasError = false;
4664															const requiredInputs = popup.querySelectorAll('input[data-name][required]');
4665															if(requiredInputs) {
4666																for(let requiredInput of requiredInputs) {
4667																	if(requiredInput.dataset.mask) {
4668																		if(requiredInput.dataset.mask == 'phone') {
4669																			if(!Inputmask.isValid(requiredInput.value, { mask: '+7 (999) 999-99-99'})) {
4670																				requiredInput.classList.add('error');
4671																				hasError = true;
4672																			} else {
4673																				requiredInput.classList.remove('error');
4674																			}
4675																		} else if(requiredInput.dataset.mask == 'phone_intl' && typeof window.sgPopup.elements.intl != 'undefined') {
4676																			intl = window.sgPopup.elements.intl;
4677																			if(!intl.isValidNumberPrecise()) {
4678																				requiredInput.classList.add('error');
4679																				hasError = true;
4680																			} else {
4681																				requiredInput.classList.remove('error');
4682																			}
4683																		} else if(requiredInput.dataset.mask == 'email') {
4684																			if(!Inputmask.isValid(requiredInput.value, {alias: 'email'})) {
4685																				requiredInput.classList.add('error');
4686																				hasError = true;
4687																			} else {
4688																				requiredInput.classList.remove('error');
4689																			}
4690																		}
4691																	} else {
4692																		if(requiredInput.value == '') {
4693																			requiredInput.classList.add('error');
4694																			hasError = true;
4695																		} else {
4696																			requiredInput.classList.remove('error');
4697																		}
4698																	}
4699																}
4700															}
4701								
4702															const requiredTextareas = popup.querySelectorAll('textarea[data-name][required]');
4703															if(requiredTextareas) {
4704																for(let requiredTextarea of requiredTextareas) {
4705																	if(requiredTextarea.value == '') {
4706																		requiredTextarea.classList.add('error');
4707																		hasError = true;
4708																	} else {
4709																		requiredTextarea.classList.remove('error');
4710																	}
4711																}
4712															}
4713
4714															const requiredSelects = popup.querySelectorAll('select[data-name][required]');
4715															if(requiredSelects) {
4716																for(let requiredSelect of requiredSelects) {
4717																	const niceSelect = requiredSelect.nextElementSibling;
4718																	if(niceSelect) {
4719																		if(niceSelect.querySelector('.option.selected')) {
4720																			niceSelect.classList.remove('error')
4721																		} else {
4722																			niceSelect.classList.add('error');
4723																			hasError = true
4724																		}
4725																	}
4726																}
4727															}
4728
4729															if(agrees) {
4730																for(let agree of agrees) {
4731																	if(agree.required) {
4732																		let label = agree.nextElementSibling;
4733																		if(agree.checked) {
4734																			label.classList.remove('error');
4735																		} else {
4736																			label.classList.add('error');
4737																			hasError = true;
4738																		}
4739																	}
4740																}
4741															}
4742
4743															if(hasError) {
4744																if (callback && typeof callback === 'function') {
4745																	callback(false);
4746																}
4747																return false;
4748															}
4749
4750															function sgPopup1333sendRequest() {
4751
4752								
4753																let data = {
4754																	fields: [],
4755																	cookie: document.cookie,
4756																	markers: markers,
4757																	source: location.href
4758																};
4759								
4760																const inputs = popup.querySelectorAll('input[data-name]');
4761																if(inputs) {
4762																	for(let input of inputs) {
4763																		if(input.dataset.mask == 'phone_intl' && typeof window.sgPopup.elements.intl != 'undefined') {
4764																			intl = window.sgPopup.elements.intl;
4765																			data.fields.push({
4766																				name: input.dataset.name,
4767																				value: intl.getNumber()
4768																			});
4769																		} else {
4770																			data.fields.push({
4771																				name: input.dataset.name,
4772																				value: input.value
4773																			});
4774																		}
4775																	}
4776																}
4777
4778																const textareas = popup.querySelectorAll('textarea[data-name]');
4779																if(textareas) {
4780																	for(let textarea of textareas) {
4781																		data.fields.push({
4782																			name: textarea.dataset.name,
4783																			value: textarea.value
4784																		});
4785																	}
4786																}
4787
4788																if(typeof selects != 'undefined') {
4789																	for(let select of selects) {
4790																		data.fields.push({
4791																			name: select.dataset.name,
4792																			value: select.value
4793																		});
4794																	}
4795																}
4796
4797																const hiddenInputs = popup.querySelectorAll('input[type="hidden"]');
4798																for(let hiddenInput of hiddenInputs) {
4799																	const name = hiddenInput.name;
4800																	data[hiddenInput.name] = hiddenInput.value;
4801																}
4802
4803																const fileInputs = popup.querySelectorAll('.popup-element[data-type="input-file"] input[type="file"]');
4804																if(fileInputs) {
4805																	data.files = [];
4806																	for(let fileInput of fileInputs) {
4807																		if (fileInput.files && fileInput.files.length > 0) {
4808																			data.files.push({
4809																				'name': fileInput.files[0].name,
4810																				'content': fileInput.dataset.content
4811																			});
4812																		}
4813																	}
4814																}
4815
4816																if( wheel && typeof window.prize != 'undefined' ) {
4817																	data.fields.push(window.prize);
4818																}
4819								
4820
4821																var xmlhr = new XMLHttpRequest();
4822																xmlhr.open('POST', "https://psy-muip.ru/wp-json/generator.conversion/v1/actions/?_method=POST&action=formSubmit");
4823																xmlhr.send(JSON.stringify(data));
4824
4825																xmlhr.onreadystatechange = function() {
4826																	if (xmlhr.readyState === 4 && xmlhr.status === 200) {
4827																		console.log(xmlhr.response);
4828																		const response = JSON.parse(xmlhr.response);
4829																		console.log(response);
4830								
4831																	}
4832																};
4833								
4834																sgPopup1333reachGoal("ym(93615077,'reachGoal','lead_polych_konsylt_gl');");
4835											
4836																sgSuccessPopup1333();
4837										
4838																return true;
4839
4840															}
4841
4842															if(wheel){
4843																const circle = popup.querySelector('.wheel-circle img');
4844																if(circle) {
4845																	clearInterval(wheelInterval);
4846								
4847																	}
4848
4849																} else {
4850																	const result = sgPopup1333sendRequest();
4851																	if (callback && typeof callback === 'function') {
4852																		callback(result);
4853																	}
4854																}
4855
4856															}
4857
4858															areaLinks = popup.querySelectorAll('.popup-area[data-type="area-link"]');
4859															if(areaLinks) {
4860																for(let areaLink of areaLinks) {
4861																	areaLink.addEventListener('click', function(){
4862																		if(areaLink.dataset.link && areaLink.dataset.link != '#') {
4863																			if(areaLink.dataset.target == '_blank') {
4864																				window.open(areaLink.dataset.link);
4865																			} else {
4866																				location.href = areaLink.dataset.link
4867																			}
4868																		}
4869																	});
4870																}
4871															}
4872
4873															areaOpeners = popup.querySelectorAll('.popup-area[data-type="area-opener"]');
4874															if(areaOpeners) {
4875																for(let areaOpener of areaOpeners) {
4876																	areaOpener.addEventListener('click', function(){
4877																		if(areaOpener.dataset.popup) {
4878																			if(typeof window['sgPopup' + areaOpener.dataset.popup] == 'function') {
4879																				Fancybox.close();
4880																				window['sgPopup' + areaOpener.dataset.popup]('forceOpen');
4881																			}
4882																		}
4883																	});
4884																}
4885															}
4886
4887															const submitButton = popup.querySelector(".popup-element[data-type='button-submit'] button");
4888															if(submitButton) {
4889																submitButton.addEventListener('click', function(event){
4890
4891																	event.preventDefault();
4892																	submitButton.disabled = true;
4893
4894																	sgPopup1333submit(function(result){
4895																		submitButton.disabled = result;
4896																	});
4897
4898																})
4899															}
4900														}
4901													},
4902													close: () => {
4903														window.sgPopup.opened = false;
4904														window.sgPopup.shown.push(1333);
4905														if(window.sgPopup.queue.length) {
4906															setTimeout(function(){
4907																let popupID = window.sgPopup.queue.shift();
4908																window['sgPopup' + popupID]('forceOpen');
4909															}, 30000);
4910														}
4911								
4912													}
4913												}
4914											})
4915										}
4916									}
4917								}
4918							
4919								function sgSuccessPopup1333() {
4920							
4921									let html;
4922									let closeButton;
4923									if(window.innerWidth >= 1040) {
4924										html = "<noindex id='SGsuccess1333' 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>";
4925							closeButton = false;
4926									} else {
4927										html = "<noindex id='SGsuccess1333' 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;\">Спасибо, мы скоро свяжемся с вами!&nbsp;</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>";
4928							closeButton = false;
4929									}
4930							
4931									Fancybox.close();
4932									new Fancybox([
4933										{
4934											src: html,
4935											type: 'html'
4936										}
4937									], {
4938										dragToClose: false,
4939										closeButton: closeButton,
4940										autoFocus: false,
4941										trapFocus: false,
4942										on: {
4943											done: (fancybox, slide) => {
4944							
4945												const success = document.querySelector("#SGsuccess1333");
4946												if(success) {
4947
4948													buttonLinks = success.querySelectorAll('button[data-type="link"]');
4949													if(buttonLinks) {
4950														for(let buttonLink of buttonLinks) {
4951															buttonLink.addEventListener('click', function(){
4952																if(buttonLink.dataset.link) {
4953																	if(buttonLink.dataset.target == '_blank') {
4954																		window.open(buttonLink.dataset.link);
4955																	} else {
4956																		location.href = buttonLink.dataset.link
4957																	}
4958																}
4959															});
4960														}
4961													}
4962													
4963												}
4964							
4965												setTimeout(function(){
4966													Fancybox.close();
4967												}, 3000);
4968									
4969											},
4970											close: () => {
4971												window.sgPopup.opened = false;
4972											}
4973										}
4974									});
4975								}
4976							</script>
vendor: 1 bytes, line 4976
4976
4977<script>
4978								if(typeof window.sgPopup == 'undefined') {
4979									window.sgPopup = {
4980										opened: false,
4981										queue: [],
4982										shown: [],
4983										elements: {}
4984									};
4985								}
4986						
4987								addEventListener('DOMContentLoaded', () => {
4988						
4989									document.body.addEventListener('click', function(event){
4990										if(
4991											event.target.dataset.target == "sgPopup1334"
4992											|| event.target.closest('[data-target="sgPopup1334"]')
4993										) {
4994											Fancybox.close();
4995											sgPopup1334('forceOpen');
4996										}
4997									});
4998
4999									sgPopup1334autoOpen();
5000								});
5001
5002								function sgPopup1334autoOpen() {
5003							
5004								}
5005
5006								function sgPopup1334reachGoal(code) {
5007
5008									function executeGoal(params) {
5009										if(typeof params == 'object') {
5010
5011											eval('ym('+ params.join(',') +');');
5012
5013											let data = {
5014												'goal': params[2],
5015												timestamp: new Date().toISOString()
5016											};
5017
5018											var xmlhr = new XMLHttpRequest();
5019											xmlhr.open('POST', "https://psy-muip.ru/wp-json/generator.conversion/v1/actions/?_method=POST&action=goalLog");
5020											xmlhr.send(JSON.stringify(data));
5021
5022											xmlhr.onreadystatechange = function() {
5023												if (xmlhr.readyState === 4 && xmlhr.status === 200) {
5024													if( urlParams.get('debug') ) {
5025														const response = JSON.parse(xmlhr.response);
5026														console.log(response);
5027													}
5028												}
5029											}
5030
5031										}
5032									}
5033
5034									const goals = code.split(';');
5035									if(goals) {
5036										for(let goal of goals) {
5037											goal = goal.trim();
5038											if(goal != '') {
5039												const regexp = /ym(.*)/;
5040												if( regexp.test(goal) ) {
5041
5042													goal = goal.replace('ym(', '');
5043													goal = goal.replace(')', '');
5044													const params = goal.split(',');
5045													if(params) {
5046
5047														if (typeof window.ym != 'undefined') {
5048															executeGoal(params);
5049														} else {
5050															if(typeof window.popup1334goals == 'undefined') {
5051																window.popup1334goals = [];
5052															}
5053
5054															window.popup1334goals.push({
5055																'metrika': params[0],
5056																'action': params[1],
5057																'id': params[2]
5058															});
5059
5060															if(typeof popup1334interval == 'undefined') {
5061																popup1334interval = setInterval(function(){
5062																	if (typeof window.ym != 'undefined') {
5063																		for(let goal of window.popup1334goals) {
5064																			executeGoal(params);
5065																		}
5066																		window.popup1334goals = [];
5067																		clearInterval(popup1334interval);
5068																	}
5069																}, 1000);
5070															}
5071														}
5072													}
5073												} else {
5074													eval(goal);
5075												}
5076											}
5077										}
5078									}
5079
5080								}
5081
5082								function sgPopup1334(action = false) {
5083
5084									if(!action) return;
5085
5086									if( ['open', 'forceOpen'].includes(action) ) {
5087
5088								
5089										if(action == 'open' && window.sgPopup.shown.includes(1334)) {
5090											return false;
5091										}
5092
5093										if(window.sgPopup.opened) {
5094
5095											if(window.sgPopup.opened != 1334) {
5096												window.sgPopup.queue.push(1334);
5097											}
5098
5099										} else {
5100
5101											window.sgPopup.opened = 1334;
5102
5103											let html;
5104											let closeButton;
5105											if(window.innerWidth >= 1040) {
5106												html = "<noindex id='SGpopup1334' class='popup-wrapper grid-hidden'><div class='popup-area' data-type='area-container' style='position: relative; top: 181px; left: 28px; margin-left: ; width: 429px; height: 351px; '><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=\"Введите ваше имя\" data-name=\"Имя\" data-mask=\"null\" style=\"background-color: rgb(255, 255, 255); border-color: rgb(227, 227, 227); font-size: 17px; color: rgb(104, 104, 104); padding: 11px 20px; border-radius: 30px;\"></div></div><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=\"Ваш e-mail, например: [email protected]\" data-name=\"Почта\" data-mask=\"email\" required=\"\" style=\"background-color: rgb(255, 255, 255); border-color: rgb(227, 227, 227); font-size: 17px; color: rgb(104, 104, 104); padding: 11px 20px; border-radius: 30px;\"></div></div><div class='popup-element' data-type='input' style='margin-top: 0px;margin-right: 0px;margin-bottom: 9px;margin-left: 0px;'><div class='popupElement-content'><input type=\"text\" placeholder=\"+7 (___) ___ - __ - __\" data-name=\"Телефон\" data-mask=\"phone\" required=\"\" style=\"background-color: rgb(255, 255, 255); border-color: rgb(225, 225, 226); font-size: 17px; color: rgb(120, 120, 120); padding: 11px 15px 11px 14px; border-radius: 30px;\"></div></div><div class='popup-element' data-type='button-submit' style='margin-top: 0px;margin-right: 0px;margin-bottom: 7px;margin-left: 0px;'><div class='popupElement-content'><button type=\"submit\" style=\"background-color: rgb(10, 117, 111); color: rgb(0, 0, 0); font-size: 19px; border-radius: 30px; padding: 25px 30px;\" onclick=\"\"><div class=\"buttonSubmit-content\"><p><span style=\"color:hsl(0,0%,100%);\">Получить доступ</span></p></div></button></div></div><div class='popup-element' data-type='agree' data-element-id='278396' data-fill='#9e9e9eff' data-mode='default' style='margin-top: 0px;margin-right: 0px;margin-bottom: 7px;margin-left: 0px;'><style>#SGpopup1334 .popup-element[data-element-id='278396'][data-type='agree'] .popupElement-content input[type='checkbox'] + label:before {border-color: #9e9e9eff;} #SGpopup1334 .popup-element[data-element-id='278396'][data-type='agree'] .popupElement-content input[type='checkbox'] + label:after {background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHhtbG5zOnhsaW5rPSdodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rJyB2ZXJzaW9uPScxLjEnIHg9JzBweCcgeT0nMHB4JyB3aWR0aD0nNTEycHgnIGhlaWdodD0nNTEycHgnIHZpZXdCb3g9JzAgMCA0NDIuNTMzIDQ0Mi41MzMnIHN0eWxlPSdlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDQ0Mi41MzMgNDQyLjUzMycgeG1sOnNwYWNlPSdwcmVzZXJ2ZSc+PHBhdGggZD0nTTQzNC41MzksOTguNDk5bC0zOC44MjgtMzguODI4Yy01LjMyNC01LjMyOC0xMS43OTktNy45OTMtMTkuNDEtNy45OTNjLTcuNjE4LDAtMTQuMDkzLDIuNjY1LTE5LjQxNyw3Ljk5M0wxNjkuNTksMjQ3LjI0OCBsLTgzLjkzOS04NC4yMjVjLTUuMzMtNS4zMy0xMS44MDEtNy45OTItMTkuNDEyLTcuOTkyYy03LjYxNiwwLTE0LjA4NywyLjY2Mi0xOS40MTcsNy45OTJMNy45OTQsMjAxLjg1MiAgIEMyLjY2NCwyMDcuMTgxLDAsMjEzLjY1NCwwLDIyMS4yNjljMCw3LjYwOSwyLjY2NCwxNC4wODgsNy45OTQsMTkuNDE2bDEwMy4zNTEsMTAzLjM0OWwzOC44MzEsMzguODI4IGM1LjMyNyw1LjMzMiwxMS44LDcuOTk0LDE5LjQxNCw3Ljk5NGM3LjYxMSwwLDE0LjA4NC0yLjY2OSwxOS40MTQtNy45OTRsMzguODMtMzguODI4TDQzNC41MzksMTM3LjMzIGM1LjMyNS01LjMzLDcuOTk0LTExLjgwMiw3Ljk5NC0xOS40MTdDNDQyLjUzNywxMTAuMzAyLDQzOS44NjQsMTAzLjgyOSw0MzQuNTM5LDk4LjQ5OXonIGZpbGw9JyM5ZTllOWVmZicvPjwvc3ZnPg==);}</style><div class='popupElement-content'><input type=\"checkbox\" checked=\"\" required=\"\" tabindex=\"-1\" data-orig-tabindex=\"-1\"><label><p><span style=\"color:hsl(0,0%,18%);font-size:9px;\">Я согласен на обработку моих персональных данных. 
С&nbsp;</span><a href=\"https://psy-muip.ru/agreement\" data-fpl-component=\"primitive\" target=\"_blank\" rel=\"noopener\"><span style=\"color:hsl(0,0%,18%);font-size:9px;\"><u>Политикой обработки персональных данных</u></span></a><span style=\"color:hsl(0,0%,18%);font-size:9px;\">&nbsp;ознакомлен</span></p></label></div></div><div class='popup-element' data-type='agree' data-element-id='648128' data-fill='#9e9e9eff' data-mode='default' style='margin-top: 0px;margin-right: 0px;margin-bottom: 10px;margin-left: 0px;'><style>#SGpopup1334 .popup-element[data-element-id='648128'][data-type='agree'] .popupElement-content input[type='checkbox'] + label:before {border-color: #9e9e9eff;} #SGpopup1334 .popup-element[data-element-id='648128'][data-type='agree'] .popupElement-content input[type='checkbox'] + label:after {background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHhtbG5zOnhsaW5rPSdodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rJyB2ZXJzaW9uPScxLjEnIHg9JzBweCcgeT0nMHB4JyB3aWR0aD0nNTEycHgnIGhlaWdodD0nNTEycHgnIHZpZXdCb3g9JzAgMCA0NDIuNTMzIDQ0Mi41MzMnIHN0eWxlPSdlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDQ0Mi41MzMgNDQyLjUzMycgeG1sOnNwYWNlPSdwcmVzZXJ2ZSc+PHBhdGggZD0nTTQzNC41MzksOTguNDk5bC0zOC44MjgtMzguODI4Yy01LjMyNC01LjMyOC0xMS43OTktNy45OTMtMTkuNDEtNy45OTNjLTcuNjE4LDAtMTQuMDkzLDIuNjY1LTE5LjQxNyw3Ljk5M0wxNjkuNTksMjQ3LjI0OCBsLTgzLjkzOS04NC4yMjVjLTUuMzMtNS4zMy0xMS44MDEtNy45OTItMTkuNDEyLTcuOTkyYy03LjYxNiwwLTE0LjA4NywyLjY2Mi0xOS40MTcsNy45OTJMNy45OTQsMjAxLjg1MiAgIEMyLjY2NCwyMDcuMTgxLDAsMjEzLjY1NCwwLDIyMS4yNjljMCw3LjYwOSwyLjY2NCwxNC4wODgsNy45OTQsMTkuNDE2bDEwMy4zNTEsMTAzLjM0OWwzOC44MzEsMzguODI4IGM1LjMyNyw1LjMzMiwxMS44LDcuOTk0LDE5LjQxNCw3Ljk5NGM3LjYxMSwwLDE0LjA4NC0yLjY2OSwxOS40MTQtNy45OTRsMzguODMtMzguODI4TDQzNC41MzksMTM3LjMzIGM1LjMyNS01LjMzLDcuOTk0LTExLjgwMiw3Ljk5NC0xOS40MTdDNDQyLjUzNywxMTAuMzAyLDQzOS44NjQsMTAzLjgyOSw0MzQuNTM5LDk4LjQ5OXonIGZpbGw9JyM5ZTllOWVmZicvPjwvc3ZnPg==);}</style><div class='popupElement-content'><input type=\"checkbox\" checked=\"\" required=\"\" tabindex=\"-1\" data-orig-tabindex=\"-1\"><label><p><span style=\"font-size:9px;\">Даю согласие на получение рассылки <u>рекламно-
информационных материалов</u></span></p></label></div></div><div class='popup-element' data-type='editor' data-element-id='618754' style='padding-top: 0px;padding-right: 0px;padding-bottom: 0px;padding-left: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;' data-p-margin-bottom='20px' data-p-line-height='80%'><style>#SGpopup1334 .popup-element[data-element-id='618754'][data-type='editor'] p {margin-bottom: 20px}#SGpopup1334 .popup-element[data-element-id='618754'][data-type='editor'] * {line-height: 80%}</style><div class='popupElement-content'><p><a href=\"https://psy-muip.ru/politika\" data-fpl-component=\"primitive\" target=\"_blank\" rel=\"noopener\"><span style=\"color:hsl(0,0%,18%);font-size:10px;\"><u>Политика&nbsp;в отношении обработки персональных данных</u></span></a><span style=\"color:hsl(0,0%,18%);font-size:10px;\"> | </span><a href=\"https://psy-muip.ru/custom\" data-fpl-component=\"primitive\" target=\"_blank\" rel=\"noopener\"><span style=\"color:hsl(0,0%,18%);font-size:10px;\"><u>Пользовательское соглашение</u></span></a><br><a href=\"https://psy-muip.ru/agreement\" data-fpl-component=\"primitive\" target=\"_blank\" rel=\"noopener\"><span style=\"color:hsl(0,0%,18%);font-size:10px;\"><u>Согласие на обработку персональных данных</u></span></a><span style=\"color:hsl(0,0%,18%);font-size:10px;\"> | </span><a href=\"https://psy-muip.ru/rassylka\" data-fpl-component=\"primitive\" target=\"_blank\" rel=\"noopener\"><span style=\"color:hsl(0,0%,18%);font-size:10px;\"><u>Согласие на рассылку материалов</u></span></a></p></div></div></div><div class='popup-area' data-type='close-container' style='position: absolute; top: 2px; left: 500px; 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, 14, 14);\">
5106<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='1334'><input type='hidden' name='projectID' value='453'><input type='hidden' name='custom_utm_source'><input type='hidden' name='custom_utm_medium'><input type='hidden' name='custom_utm_campaign'><input type='hidden' name='custom_utm_content'><input type='hidden' name='custom_utm_term'></noindex>";
5107								
5108												closeButton = false;
5109										
5110											} else {
5111								
5112												html = "<noindex id='SGpopup1334' class='popup-wrapper grid-hidden'><div class='popup-area' data-type='area-container' style='position: relative; top: 151px; left: 11px; margin-left: ; width: 281px; height: 329px; '><div class='popup-element' data-type='input' style='margin-top: 0px;margin-right: 0px;margin-bottom: 6px;margin-left: 0px;'><div class='popupElement-content'><input type=\"text\" placeholder=\"Введите ваше имя\" data-name=\"Имя\" data-mask=\"null\" style=\"background-color: rgb(255, 255, 255); border-color: rgb(227, 227, 227); font-size: 14px; color: rgb(104, 104, 104); padding: 8px 20px; border-radius: 30px;\"></div></div><div class='popup-element' data-type='input' style='margin-top: 0px;margin-right: 0px;margin-bottom: 6px;margin-left: 0px;'><div class='popupElement-content'><input type=\"text\" placeholder=\"Ваш e-mail, например: [email protected]\" data-name=\"Почта\" data-mask=\"email\" required=\"\" style=\"background-color: rgb(255, 255, 255); border-color: rgb(227, 227, 227); font-size: 14px; color: rgb(104, 104, 104); padding: 8px 20px; border-radius: 30px;\"></div></div><div class='popup-element' data-type='input' style='margin-top: 0px;margin-right: 0px;margin-bottom: 9px;margin-left: 0px;'><div class='popupElement-content'><input type=\"text\" placeholder=\"+7 (___) ___ - __ - __\" data-name=\"Телефон\" data-mask=\"phone\" required=\"\" style=\"background-color: rgb(255, 255, 255); border-color: rgb(225, 225, 226); font-size: 14px; color: rgb(120, 120, 120); padding: 8px 15px 8px 14px; border-radius: 30px;\"></div></div><div class='popup-element' data-type='button-submit' style='margin-top: 0px;margin-right: 0px;margin-bottom: 7px;margin-left: 0px;'><div class='popupElement-content'><button type=\"submit\" style=\"background-color: rgb(10, 117, 111); color: rgb(0, 0, 0); font-size: 19px; border-radius: 30px; padding: 17px 30px;\" onclick=\"\"><div class=\"buttonSubmit-content\"><p><span style=\"color:hsl(0,0%,100%);\">Получить доступ</span></p></div></button></div></div><div class='popup-element' data-type='agree' data-element-id='892927' data-fill='#9e9e9eff' data-mode='default' style='margin-top: 0px;margin-right: 0px;margin-bottom: 7px;margin-left: 0px;'><style>#SGpopup1334 .popup-element[data-element-id='892927'][data-type='agree'] .popupElement-content input[type='checkbox'] + label:before {border-color: #9e9e9eff;} #SGpopup1334 .popup-element[data-element-id='892927'][data-type='agree'] .popupElement-content input[type='checkbox'] + label:after {background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHhtbG5zOnhsaW5rPSdodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rJyB2ZXJzaW9uPScxLjEnIHg9JzBweCcgeT0nMHB4JyB3aWR0aD0nNTEycHgnIGhlaWdodD0nNTEycHgnIHZpZXdCb3g9JzAgMCA0NDIuNTMzIDQ0Mi41MzMnIHN0eWxlPSdlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDQ0Mi41MzMgNDQyLjUzMycgeG1sOnNwYWNlPSdwcmVzZXJ2ZSc+PHBhdGggZD0nTTQzNC41MzksOTguNDk5bC0zOC44MjgtMzguODI4Yy01LjMyNC01LjMyOC0xMS43OTktNy45OTMtMTkuNDEtNy45OTNjLTcuNjE4LDAtMTQuMDkzLDIuNjY1LTE5LjQxNyw3Ljk5M0wxNjkuNTksMjQ3LjI0OCBsLTgzLjkzOS04NC4yMjVjLTUuMzMtNS4zMy0xMS44MDEtNy45OTItMTkuNDEyLTcuOTkyYy03LjYxNiwwLTE0LjA4NywyLjY2Mi0xOS40MTcsNy45OTJMNy45OTQsMjAxLjg1MiAgIEMyLjY2NCwyMDcuMTgxLDAsMjEzLjY1NCwwLDIyMS4yNjljMCw3LjYwOSwyLjY2NCwxNC4wODgsNy45OTQsMTkuNDE2bDEwMy4zNTEsMTAzLjM0OWwzOC44MzEsMzguODI4IGM1LjMyNyw1LjMzMiwxMS44LDcuOTk0LDE5LjQxNCw3Ljk5NGM3LjYxMSwwLDE0LjA4NC0yLjY2OSwxOS40MTQtNy45OTRsMzguODMtMzguODI4TDQzNC41MzksMTM3LjMzIGM1LjMyNS01LjMzLDcuOTk0LTExLjgwMiw3Ljk5NC0xOS40MTdDNDQyLjUzNywxMTAuMzAyLDQzOS44NjQsMTAzLjgyOSw0MzQuNTM5LDk4LjQ5OXonIGZpbGw9JyM5ZTllOWVmZicvPjwvc3ZnPg==);}</style><div class='popupElement-content'><input type=\"checkbox\" checked=\"\" required=\"\" tabindex=\"-1\" data-orig-tabindex=\"-1\"><label><p><span style=\"color:hsl(0,0%,18%);
5112font-size:7px;\">Я согласен на обработку моих персональных данных. 
С&nbsp;</span><a href=\"https://psy-muip.ru/agreement\" data-fpl-component=\"primitive\" target=\"_blank\" rel=\"noopener\"><span style=\"color:hsl(0,0%,18%);font-size:7px;\"><u>Политикой обработки персональных данных</u></span></a><span style=\"color:hsl(0,0%,18%);font-size:7px;\">&nbsp;ознакомлен</span></p></label></div></div><div class='popup-element' data-type='agree' data-element-id='783016' data-fill='#9e9e9e' data-mode='default' style='margin-top: 0px;margin-right: 0px;margin-bottom: 10px;margin-left: 0px;'><style>#SGpopup1334 .popup-element[data-element-id='783016'][data-type='agree'] .popupElement-content input[type='checkbox'] + label:before {border-color: #9e9e9e;} #SGpopup1334 .popup-element[data-element-id='783016'][data-type='agree'] .popupElement-content input[type='checkbox'] + label:after {background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHhtbG5zOnhsaW5rPSdodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rJyB2ZXJzaW9uPScxLjEnIHg9JzBweCcgeT0nMHB4JyB3aWR0aD0nNTEycHgnIGhlaWdodD0nNTEycHgnIHZpZXdCb3g9JzAgMCA0NDIuNTMzIDQ0Mi41MzMnIHN0eWxlPSdlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDQ0Mi41MzMgNDQyLjUzMycgeG1sOnNwYWNlPSdwcmVzZXJ2ZSc+PHBhdGggZD0nTTQzNC41MzksOTguNDk5bC0zOC44MjgtMzguODI4Yy01LjMyNC01LjMyOC0xMS43OTktNy45OTMtMTkuNDEtNy45OTNjLTcuNjE4LDAtMTQuMDkzLDIuNjY1LTE5LjQxNyw3Ljk5M0wxNjkuNTksMjQ3LjI0OCBsLTgzLjkzOS04NC4yMjVjLTUuMzMtNS4zMy0xMS44MDEtNy45OTItMTkuNDEyLTcuOTkyYy03LjYxNiwwLTE0LjA4NywyLjY2Mi0xOS40MTcsNy45OTJMNy45OTQsMjAxLjg1MiAgIEMyLjY2NCwyMDcuMTgxLDAsMjEzLjY1NCwwLDIyMS4yNjljMCw3LjYwOSwyLjY2NCwxNC4wODgsNy45OTQsMTkuNDE2bDEwMy4zNTEsMTAzLjM0OWwzOC44MzEsMzguODI4IGM1LjMyNyw1LjMzMiwxMS44LDcuOTk0LDE5LjQxNCw3Ljk5NGM3LjYxMSwwLDE0LjA4NC0yLjY2OSwxOS40MTQtNy45OTRsMzguODMtMzguODI4TDQzNC41MzksMTM3LjMzIGM1LjMyNS01LjMzLDcuOTk0LTExLjgwMiw3Ljk5NC0xOS40MTdDNDQyLjUzNywxMTAuMzAyLDQzOS44NjQsMTAzLjgyOSw0MzQuNTM5LDk4LjQ5OXonIGZpbGw9JyM5ZTllOWUnLz48L3N2Zz4=);}</style><div class='popupElement-content'><input type=\"checkbox\" checked=\"\" required=\"\" tabindex=\"-1\" data-orig-tabindex=\"-1\"><label><p><span style=\"color:hsl(0,0%,18%);font-size:7px;\">Даю согласие на получение рассылки <u>рекламно-
информационных материалов</u></span></p></label></div></div><div class='popup-element' data-type='editor' data-element-id='206367' style='padding-top: 0px;padding-right: 0px;padding-bottom: 0px;padding-left: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;' data-p-margin-bottom='20px' data-p-line-height='90%'><style>#SGpopup1334 .popup-element[data-element-id='206367'][data-type='editor'] p {margin-bottom: 20px}#SGpopup1334 .popup-element[data-element-id='206367'][data-type='editor'] * {line-height: 90%}</style><div class='popupElement-content'><p><a href=\"https://psy-muip.ru/politika\" data-fpl-component=\"primitive\" target=\"_blank\" rel=\"noopener\"><span style=\"color:hsl(0,0%,18%);font-size:6px;\"><u>Политика&nbsp;в отношении обработки персональных данных</u></span></a><span style=\"color:hsl(0,0%,18%);font-size:6px;\"> | </span><a href=\"https://psy-muip.ru/custom\" data-fpl-component=\"primitive\" target=\"_blank\" rel=\"noopener\"><span style=\"color:hsl(0,0%,18%);font-size:6px;\"><u>Пользовательское соглашение</u></span></a><br><a href=\"https://psy-muip.ru/agreement\" data-fpl-component=\"primitive\" target=\"_blank\" rel=\"noopener\"><span style=\"color:hsl(0,0%,18%);font-size:6px;\"><u>Согласие на обработку персональных данных</u></span></a><span style=\"color:hsl(0,0%,18%);font-size:6px;\"> | </span><a href=\"https://psy-muip.ru/rassylka\" data-fpl-component=\"primitive\" target=\"_blank\" rel=\"noopener\"><span style=\"color:hsl(0,0%,18%);font-size:6px;\"><u>Согласие на рассылку материалов</u></span></a></p></div></div></div><div class='popup-area' data-type='close-container' style='position: absolute; top: -5px; left: 284.219px; margin-left: ; width: 40px; height: 40px; '><div class='popup-element' data-type='button-close' style=''><div class='popupElement-content'><button type=\"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(240, 57, 57);\"><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='1334'><input type='hidden' name='projectID' value='453'><input type='hidden' name='custom_utm_source'><input type='hidden' name='custom_utm_medium'><input type='hidden' name='custom_utm_campaign'><input type='hidden' name='custom_utm_content'><input type='hidden' name='custom_utm_term'></noindex>";
5113								
5114												closeButton = false;
5115										
5116											}
5117								
5118											Fancybox.close();
5119											new Fancybox([
5120												{
5121													src: html,
5122													type: 'html'
5123												}
5124											], {
5125												dragToClose: false,
5126												closeButton: closeButton,
5127												compact: false,
5128												autoFocus: false,
5129												trapFocus: false,
5130												on: {
5131													done: (fancybox, slide) => {
5132								
5133													sgPopup1334reachGoal("ym(93615077,'reachGoal','pokaz_dostup_k_matp');");
5134										
5135													const popup = document.querySelector("#SGpopup1334");
5136													if(popup) {
5137
5138														const url = new URL(location.href);
5139														window.utm_source = url.searchParams.get('utm_source');
5140														window.utm_medium = url.searchParams.get('utm_medium');
5141														window.utm_campaign = url.searchParams.get('utm_campaign');
5142														window.utm_term = url.searchParams.get('utm_term');
5143														window.utm_content = url.searchParams.get('utm_content');
5144
5145								
5146														const custom_utm_source = popup.querySelector('input[name="custom_utm_source"]');
5147														if(custom_utm_source && typeof 'site' != undefined) {
5148															custom_utm_source.value = 'site';
5149														}
5150											
5151														const custom_utm_medium = popup.querySelector('input[name="custom_utm_medium"]');
5152														if(custom_utm_medium && typeof 'seo' != undefined) {
5153															custom_utm_medium.value = 'seo';
5154														}
5155											
5156														const custom_utm_campaign = popup.querySelector('input[name="custom_utm_campaign"]');
5157														if(custom_utm_campaign && typeof 'genegator_send_access_MATP' != undefined) {
5158															custom_utm_campaign.value = 'genegator_send_access_MATP';
5159														}
5160											
5161														const custom_utm_content = popup.querySelector('input[name="custom_utm_content"]');
5162														if(custom_utm_content && typeof 'muip' != undefined) {
5163															custom_utm_content.value = 'muip';
5164														}
5165											
5166														const custom_utm_term = popup.querySelector('input[name="custom_utm_term"]');
5167														if(custom_utm_term && typeof 'matp' != undefined) {
5168															custom_utm_term.value = 'matp';
5169														}
5170											
5171														openerLinks = popup.querySelectorAll('a[data-target]');
5172														if(openerLinks) {
5173															for(let openerLink of openerLinks) {
5174																openerLink.addEventListener('click', function(){
5175																	if(openerLink.dataset.target) {
5176																		if(typeof window[openerLink.dataset.target] == 'function') {
5177																			Fancybox.close();
5178																			window[openerLink.dataset.target]('open');
5179																		}
5180																	}
5181																});
5182															}
5183														}
5184
5185														linkImages = popup.querySelectorAll('.image-wrapper[data-type="link"]');
5186														if(linkImages) {
5187															for(let linkImage of linkImages) {
5188																linkImage.addEventListener('click', function(){
5189																	if(linkImage.dataset.link) {
5190																		if(linkImage.dataset.target == '_blank') {
5191																			window.open(linkImage.dataset.link);
5192																		} else {
5193																			location.href = linkImage.dataset.link
5194																		}
5195																	}
5196																});
5197															}
5198														}
5199
5200														openerImages = popup.querySelectorAll('.image-wrapper[data-type="opener"]');
5201														if(openerImages) {
5202															for(let openerImage of openerImages) {
5203																openerImage.addEventListener('click', function(){
5204																	if(openerImage.dataset.popup) {
5205																		if(typeof window['sgPopup' + openerImage.dataset.popup] == 'function') {
5206																			Fancybox.close();
5207																			window['sgPopup' + openerImage.dataset.popup]('forceOpen');
5208																		}
5209																	}
5210																});
5211															}
5212														}
5213
5214														submitImages = popup.querySelectorAll('.image-wrapper[data-type="submitter"]');
5215														if(submitImages) {
5216															for(let submitImage of submitImages) {
5217																submitImage.addEventListener('click', function(){
5218
5219																	if(submitImage.classList.contains('disabled')) return false;
5220
5221																	submitImage.classList.add('disabled');
5222
5223																	sgPopup1334submit(function(result){
5224																		submitImage.classList.toggle('disabled', result);
5225																	});
5226
5227																});
5228															}
5229														}
5230
5231														const linkButtons = popup.querySelectorAll('button[data-type="link"]');
5232														if(linkButtons) {
5233															for(let linkButton of linkButtons) {
5234																linkButton.addEventListener('click', function(){
5235																	if(linkButton.dataset.link && linkButton.dataset.link != '#') {
5236								
5237																		if(linkButton.dataset.target == '_blank') {
5238																			window.open(linkButton.dataset.link);
5239																		} else {
5240																			location.href = linkButton.dataset.link
5241																		}
5242																	}
5243																});
5244															}
5245														}
5246
5247														openerButtons = popup.querySelectorAll('button[data-type="opener"]');
5248														if(openerButtons) {
5249															for(let openerButton of openerButtons) {
5250																openerButton.addEventListener('click', function(){
5251									
5252																	if(openerButton.dataset.popup) {
5253																		if(typeof window['sgPopup' + openerButton.dataset.popup] == 'function') {
5254																			Fancybox.close();
5255																			window['sgPopup' + openerButton.dataset.popup]('forceOpen');
5256																		}
5257																	}
5258																});
5259															}
5260														}
5261
5262														const maskedFields = popup.querySelectorAll('input[data-mask]');
5263														if(maskedFields) {
5264															for(let maskedField of maskedFields) {
5265																if(maskedField.dataset.mask == 'phone') {
5266																	Inputmask('+7 (999) 999-99-99', {
5267																		clearIncomplete: true,
5268																		greedy: false
5269																	}).mask(maskedField);
5270								
5271																} else if(maskedField.dataset.mask == 'email') {
5272																	Inputmask({
5273																	alias: 'email',
5274																		clearIncomplete: true,
5275																		greedy: false
5276																	}).mask(maskedField);
5277																}
5278															}
5279														}
5280
5281														const fileInputs = popup.querySelectorAll('.popup-element[data-type="input-file"] input[type="file"]');
5282														if(fileInputs) {
5283															for(let fileInput of fileInputs) {
5284																let label = fileInput.nextElementSibling;
5285																if(label) {
5286																	fileInput.addEventListener('change', function() {
5287																		if (fileInput.files && fileInput.files.length > 0) {
5288																			const maxSize = fileInput.dataset.limit;
5289																			if(fileInput.files[0].size <= maxSize * 1024 * 1024) {
5290																				reader = new FileReader();
5291																				reader.onload = function(){
5292																					const span = label.querySelector('span');
5293																					if(span) {
5294																						span.innerHTML = fileInput.files[0].name;
5295																					}
5296																					fileInput.dataset.content = reader.result;
5297																				};
5298																				reader.readAsDataURL(fileInput.files[0]);
5299																			} else {
5300																				alert('Превышен максимальный размер файла - '+ maxSize +'мб');
5301																			}
5302																		}
5303																	});
5304																	label.addEventListener('click', function(event){
5305																		event.preventDefault();
5306																		fileInput.click();
5307																	});
5308																}
5309															}
5310														}
5311
5312														const agrees = popup.querySelectorAll('.popup-element[data-type="agree"] input[type="checkbox"]');
5313														if(agrees) {
5314															for(let agree of agrees) {
5315																let parent = agree.closest('.popup-element');
5316																if(parent) {
5317																	let label = agree.nextElementSibling;
5318																	if(label) {
5319																		label.addEventListener('click', function(event){
5320																			event.preventDefault();
5321																			agree.checked = !agree.checked;
5322
5323
5324																			if(parent.dataset.mode == 'general') {
5325																				const agreeAll = agree;
5326																				for(let agree of agrees) {
5327																					agree.checked = agreeAll.checked;
5328																				}
5329																			}
5330
5331																			let agreeCount = 0;
5332																			let agreeSelected = 0;
5333																			for(let agree of agrees) {
5334																				const parent = agree.closest('.popup-element');
5335																				if(parent && parent.dataset.mode != 'general') {
5336																					agreeCount++;
5337																					if(agree.checked) {
5338																						agreeSelected++;
5339																					}
5340																				}
5341																			}
5342
5343																			const general = popup.querySelector('.popup-element[data-type="agree"][data-mode="general"]');
5344																			if(general) {
5345																				general.classList.toggle('all-selected', agreeSelected == agreeCount);
5346																				general.classList.toggle('no-selected', agreeSelected == 0);
5347																				general.classList.toggle('some-selected', agreeSelected > 0 && agreeSelected < agreeCount);
5348
5349																				const checkbox = general.querySelector('input[type="checkbox"]');
5350																				if(checkbox) {
5351																					if(agreeSelected == agreeCount) {
5352																						checkbox.checked = true;
5353																					} else {
5354																						checkbox.checked = false;
5355																					}
5356																				}
5357																			}
5358																		});
5359																		const links = label.querySelectorAll('a');
5360																		if(links) {
5361																			for(let link of links) {
5362																				link.addEventListener('click', function(event){
5363																					event.stopPropagation()
5364																				});
5365																			}
5366																		}
5367																	}
5368																}
5369															}
5370														}
5371
5372														const wheel = popup.querySelector('.popup-element[data-type="wheel"]');
5373														let wheelInterval;
5374														let wheelAngle = 0;
5375														if(wheel){
5376															const circle = popup.querySelector('.wheel-circle img');
5377															if(circle) {
5378																wheelInterval = setInterval(function(){
5379																	wheelAngle += 0.2;
5380																	if(wheelAngle > 360) {
5381																		wheelAngle -= 360;
5382																	}
5383																	circle.setAttribute('style', 'transform: rotate('+ wheelAngle +'deg)');
5384																}, 40);
5385															}
5386														}
5387
5388														const closeTriggers = popup.querySelectorAll('.popup-element[data-type="button-close"] button:not([data-fancybox-close])');
5389														if(closeTriggers) {
5390															for(let closeTrigger of closeTriggers) {
5391																closeTrigger.addEventListener('click', function(){
5392																	Fancybox.close();
5393																})
5394															}
5395														}
5396
5397														function sgPopup1334submit(callback = false) {
5398
5399															let hasError = false;
5400															const requiredInputs = popup.querySelectorAll('input[data-name][required]');
5401															if(requiredInputs) {
5402																for(let requiredInput of requiredInputs) {
5403																	if(requiredInput.dataset.mask) {
5404																		if(requiredInput.dataset.mask == 'phone') {
5405																			if(!Inputmask.isValid(requiredInput.value, { mask: '+7 (999) 999-99-99'})) {
5406																				requiredInput.classList.add('error');
5407																				hasError = true;
5408																			} else {
5409																				requiredInput.classList.remove('error');
5410																			}
5411																		} else if(requiredInput.dataset.mask == 'phone_intl' && typeof window.sgPopup.elements.intl != 'undefined') {
5412																			intl = window.sgPopup.elements.intl;
5413																			if(!intl.isValidNumberPrecise()) {
5414																				requiredInput.classList.add('error');
5415																				hasError = true;
5416																			} else {
5417																				requiredInput.classList.remove('error');
5418																			}
5419																		} else if(requiredInput.dataset.mask == 'email') {
5420																			if(!Inputmask.isValid(requiredInput.value, {alias: 'email'})) {
5421																				requiredInput.classList.add('error');
5422																				hasError = true;
5423																			} else {
5424																				requiredInput.classList.remove('error');
5425																			}
5426																		}
5427																	} else {
5428																		if(requiredInput.value == '') {
5429																			requiredInput.classList.add('error');
5430																			hasError = true;
5431																		} else {
5432																			requiredInput.classList.remove('error');
5433																		}
5434																	}
5435																}
5436															}
5437								
5438															const requiredTextareas = popup.querySelectorAll('textarea[data-name][required]');
5439															if(requiredTextareas) {
5440																for(let requiredTextarea of requiredTextareas) {
5441																	if(requiredTextarea.value == '') {
5442																		requiredTextarea.classList.add('error');
5443																		hasError = true;
5444																	} else {
5445																		requiredTextarea.classList.remove('error');
5446																	}
5447																}
5448															}
5449
5450															const requiredSelects = popup.querySelectorAll('select[data-name][required]');
5451															if(requiredSelects) {
5452																for(let requiredSelect of requiredSelects) {
5453																	const niceSelect = requiredSelect.nextElementSibling;
5454																	if(niceSelect) {
5455																		if(niceSelect.querySelector('.option.selected')) {
5456																			niceSelect.classList.remove('error')
5457																		} else {
5458																			niceSelect.classList.add('error');
5459																			hasError = true
5460																		}
5461																	}
5462																}
5463															}
5464
5465															if(agrees) {
5466																for(let agree of agrees) {
5467																	if(agree.required) {
5468																		let label = agree.nextElementSibling;
5469																		if(agree.checked) {
5470																			label.classList.remove('error');
5471																		} else {
5472																			label.classList.add('error');
5473																			hasError = true;
5474																		}
5475																	}
5476																}
5477															}
5478
5479															if(hasError) {
5480																if (callback && typeof callback === 'function') {
5481																	callback(false);
5482																}
5483																return false;
5484															}
5485
5486															function sgPopup1334sendRequest() {
5487
5488								
5489																let data = {
5490																	fields: [],
5491																	cookie: document.cookie,
5492																	markers: markers,
5493																	source: location.href
5494																};
5495								
5496																const inputs = popup.querySelectorAll('input[data-name]');
5497																if(inputs) {
5498																	for(let input of inputs) {
5499																		if(input.dataset.mask == 'phone_intl' && typeof window.sgPopup.elements.intl != 'undefined') {
5500																			intl = window.sgPopup.elements.intl;
5501																			data.fields.push({
5502																				name: input.dataset.name,
5503																				value: intl.getNumber()
5504																			});
5505																		} else {
5506																			data.fields.push({
5507																				name: input.dataset.name,
5508																				value: input.value
5509																			});
5510																		}
5511																	}
5512																}
5513
5514																const textareas = popup.querySelectorAll('textarea[data-name]');
5515																if(textareas) {
5516																	for(let textarea of textareas) {
5517																		data.fields.push({
5518																			name: textarea.dataset.name,
5519																			value: textarea.value
5520																		});
5521																	}
5522																}
5523
5524																if(typeof selects != 'undefined') {
5525																	for(let select of selects) {
5526																		data.fields.push({
5527																			name: select.dataset.name,
5528																			value: select.value
5529																		});
5530																	}
5531																}
5532
5533																const hiddenInputs = popup.querySelectorAll('input[type="hidden"]');
5534																for(let hiddenInput of hiddenInputs) {
5535																	const name = hiddenInput.name;
5536																	data[hiddenInput.name] = hiddenInput.value;
5537																}
5538
5539																const fileInputs = popup.querySelectorAll('.popup-element[data-type="input-file"] input[type="file"]');
5540																if(fileInputs) {
5541																	data.files = [];
5542																	for(let fileInput of fileInputs) {
5543																		if (fileInput.files && fileInput.files.length > 0) {
5544																			data.files.push({
5545																				'name': fileInput.files[0].name,
5546																				'content': fileInput.dataset.content
5547																			});
5548																		}
5549																	}
5550																}
5551
5552																if( wheel && typeof window.prize != 'undefined' ) {
5553																	data.fields.push(window.prize);
5554																}
5555								
5556
5557																var xmlhr = new XMLHttpRequest();
5558																xmlhr.open('POST', "https://psy-muip.ru/wp-json/generator.conversion/v1/actions/?_method=POST&action=formSubmit");
5559																xmlhr.send(JSON.stringify(data));
5560
5561																xmlhr.onreadystatechange = function() {
5562																	if (xmlhr.readyState === 4 && xmlhr.status === 200) {
5563																		console.log(xmlhr.response);
5564																		const response = JSON.parse(xmlhr.response);
5565																		console.log(response);
5566								
5567																	}
5568																};
5569								
5570																sgPopup1334reachGoal("ym(93615077,'reachGoal','lead__dostup_k_matp');");
5571											
5572																sgSuccessPopup1334();
5573										
5574																return true;
5575
5576															}
5577
5578															if(wheel){
5579																const circle = popup.querySelector('.wheel-circle img');
5580																if(circle) {
5581																	clearInterval(wheelInterval);
5582								
5583																	}
5584
5585																} else {
5586																	const result = sgPopup1334sendRequest();
5587																	if (callback && typeof callback === 'function') {
5588																		callback(result);
5589																	}
5590																}
5591
5592															}
5593
5594															areaLinks = popup.querySelectorAll('.popup-area[data-type="area-link"]');
5595															if(areaLinks) {
5596																for(let areaLink of areaLinks) {
5597																	areaLink.addEventListener('click', function(){
5598																		if(areaLink.dataset.link && areaLink.dataset.link != '#') {
5599																			if(areaLink.dataset.target == '_blank') {
5600																				window.open(areaLink.dataset.link);
5601																			} else {
5602																				location.href = areaLink.dataset.link
5603																			}
5604																		}
5605																	});
5606																}
5607															}
5608
5609															areaOpeners = popup.querySelectorAll('.popup-area[data-type="area-opener"]');
5610															if(areaOpeners) {
5611																for(let areaOpener of areaOpeners) {
5612																	areaOpener.addEventListener('click', function(){
5613																		if(areaOpener.dataset.popup) {
5614																			if(typeof window['sgPopup' + areaOpener.dataset.popup] == 'function') {
5615																				Fancybox.close();
5616																				window['sgPopup' + areaOpener.dataset.popup]('forceOpen');
5617																			}
5618																		}
5619																	});
5620																}
5621															}
5622
5623															const submitButton = popup.querySelector(".popup-element[data-type='button-submit'] button");
5624															if(submitButton) {
5625																submitButton.addEventListener('click', function(event){
5626
5627																	event.preventDefault();
5628																	submitButton.disabled = true;
5629
5630																	sgPopup1334submit(function(result){
5631																		submitButton.disabled = result;
5632																	});
5633
5634																})
5635															}
5636														}
5637													},
5638													close: () => {
5639														window.sgPopup.opened = false;
5640														window.sgPopup.shown.push(1334);
5641														if(window.sgPopup.queue.length) {
5642															setTimeout(function(){
5643																let popupID = window.sgPopup.queue.shift();
5644																window['sgPopup' + popupID]('forceOpen');
5645															}, 30000);
5646														}
5647								
5648													}
5649												}
5650											})
5651										}
5652									}
5653								}
5654							
5655								function sgSuccessPopup1334() {
5656							
5657									let html;
5658									let closeButton;
5659									if(window.innerWidth >= 1040) {
5660										html = "<noindex id='SGsuccess1334' 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>";
5661							closeButton = false;
5662									} else {
5663										html = "<noindex id='SGsuccess1334' 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;\">Спасибо, мы скоро свяжемся с вами!&nbsp;</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>";
5664							closeButton = false;
5665									}
5666							
5667									Fancybox.close();
5668									new Fancybox([
5669										{
5670											src: html,
5671											type: 'html'
5672										}
5673									], {
5674										dragToClose: false,
5675										closeButton: closeButton,
5676										autoFocus: false,
5677										trapFocus: false,
5678										on: {
5679											done: (fancybox, slide) => {
5680							
5681												const success = document.querySelector("#SGsuccess1334");
5682												if(success) {
5683
5684													buttonLinks = success.querySelectorAll('button[data-type="link"]');
5685													if(buttonLinks) {
5686														for(let buttonLink of buttonLinks) {
5687															buttonLink.addEventListener('click', function(){
5688																if(buttonLink.dataset.link) {
5689																	if(buttonLink.dataset.target == '_blank') {
5690																		window.open(buttonLink.dataset.link);
5691																	} else {
5692																		location.href = buttonLink.dataset.link
5693																	}
5694																}
5695															});
5696														}
5697													}
5698													
5699												}
5700							
5701												setTimeout(function(){
5702													Fancybox.close();
5703												}, 3000);
5704									
5705											},
5706											close: () => {
5707												window.sgPopup.opened = false;
5708											}
5709										}
5710									});
5711								}
5712							</script>
vendor: 1 bytes, line 5712
5712
5713<script>
5714								if(typeof window.sgPopup == 'undefined') {
5715									window.sgPopup = {
5716										opened: false,
5717										queue: [],
5718										shown: [],
5719										elements: {}
5720									};
5721								}
5722						
5723								addEventListener('DOMContentLoaded', () => {
5724						
5725									document.body.addEventListener('click', function(event){
5726										if(
5727											event.target.dataset.target == "sgPopup1335"
5728											|| event.target.closest('[data-target="sgPopup1335"]')
5729										) {
5730											Fancybox.close();
5731											sgPopup1335('forceOpen');
5732										}
5733									});
5734
5735									sgPopup1335autoOpen();
5736								});
5737
5738								function sgPopup1335autoOpen() {
5739							
5740								}
5741
5742								function sgPopup1335reachGoal(code) {
5743
5744									function executeGoal(params) {
5745										if(typeof params == 'object') {
5746
5747											eval('ym('+ params.join(',') +');');
5748
5749											let data = {
5750												'goal': params[2],
5751												timestamp: new Date().toISOString()
5752											};
5753
5754											var xmlhr = new XMLHttpRequest();
5755											xmlhr.open('POST', "https://psy-muip.ru/wp-json/generator.conversion/v1/actions/?_method=POST&action=goalLog");
5756											xmlhr.send(JSON.stringify(data));
5757
5758											xmlhr.onreadystatechange = function() {
5759												if (xmlhr.readyState === 4 && xmlhr.status === 200) {
5760													if( urlParams.get('debug') ) {
5761														const response = JSON.parse(xmlhr.response);
5762														console.log(response);
5763													}
5764												}
5765											}
5766
5767										}
5768									}
5769
5770									const goals = code.split(';');
5771									if(goals) {
5772										for(let goal of goals) {
5773											goal = goal.trim();
5774											if(goal != '') {
5775												const regexp = /ym(.*)/;
5776												if( regexp.test(goal) ) {
5777
5778													goal = goal.replace('ym(', '');
5779													goal = goal.replace(')', '');
5780													const params = goal.split(',');
5781													if(params) {
5782
5783														if (typeof window.ym != 'undefined') {
5784															executeGoal(params);
5785														} else {
5786															if(typeof window.popup1335goals == 'undefined') {
5787																window.popup1335goals = [];
5788															}
5789
5790															window.popup1335goals.push({
5791																'metrika': params[0],
5792																'action': params[1],
5793																'id': params[2]
5794															});
5795
5796															if(typeof popup1335interval == 'undefined') {
5797																popup1335interval = setInterval(function(){
5798																	if (typeof window.ym != 'undefined') {
5799																		for(let goal of window.popup1335goals) {
5800																			executeGoal(params);
5801																		}
5802																		window.popup1335goals = [];
5803																		clearInterval(popup1335interval);
5804																	}
5805																}, 1000);
5806															}
5807														}
5808													}
5809												} else {
5810													eval(goal);
5811												}
5812											}
5813										}
5814									}
5815
5816								}
5817
5818								function sgPopup1335(action = false) {
5819
5820									if(!action) return;
5821
5822									if( ['open', 'forceOpen'].includes(action) ) {
5823
5824								
5825										if(action == 'open' && window.sgPopup.shown.includes(1335)) {
5826											return false;
5827										}
5828
5829										if(window.sgPopup.opened) {
5830
5831											if(window.sgPopup.opened != 1335) {
5832												window.sgPopup.queue.push(1335);
5833											}
5834
5835										} else {
5836
5837											window.sgPopup.opened = 1335;
5838
5839											let html;
5840											let closeButton;
5841											if(window.innerWidth >= 1040) {
5842												html = "<noindex id='SGpopup1335' class='popup-wrapper grid-hidden'><div class='popup-area' data-type='area-container' style='position: relative; top: 149px; left: 28px; margin-left: ; width: 429px; height: 351px; '><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=\"Введите ваше имя\" data-name=\"Имя\" data-mask=\"null\" style=\"background-color: rgb(255, 255, 255); border-color: rgb(227, 227, 227); font-size: 17px; color: rgb(104, 104, 104); padding: 11px 20px; border-radius: 30px;\"></div></div><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=\"Ваш e-mail, например: [email protected]\" data-name=\"Почта\" data-mask=\"email\" required=\"\" style=\"background-color: rgb(255, 255, 255); border-color: rgb(227, 227, 227); font-size: 17px; color: rgb(104, 104, 104); padding: 11px 20px; border-radius: 30px;\"></div></div><div class='popup-element' data-type='input' style='margin-top: 0px;margin-right: 0px;margin-bottom: 9px;margin-left: 0px;'><div class='popupElement-content'><input type=\"text\" placeholder=\"+7 (___) ___ - __ - __\" data-name=\"Телефон\" data-mask=\"phone\" required=\"\" style=\"background-color: rgb(255, 255, 255); border-color: rgb(225, 225, 226); font-size: 17px; color: rgb(120, 120, 120); padding: 11px 15px 11px 14px; border-radius: 30px;\"></div></div><div class='popup-element' data-type='button-submit' style='margin-top: 0px;margin-right: 0px;margin-bottom: 7px;margin-left: 0px;'><div class='popupElement-content'><button type=\"submit\" style=\"background-color: rgb(10, 117, 111); color: rgb(0, 0, 0); font-size: 19px; border-radius: 30px; padding: 25px 30px;\" onclick=\"\"><div class=\"buttonSubmit-content\"><p><span style=\"color:hsl(0,0%,100%);\">Получить доступ</span></p></div></button></div></div><div class='popup-element' data-type='agree' data-element-id='209367' data-fill='#9e9e9eff' data-mode='default' style='margin-top: 0px;margin-right: 0px;margin-bottom: 7px;margin-left: 0px;'><style>#SGpopup1335 .popup-element[data-element-id='209367'][data-type='agree'] .popupElement-content input[type='checkbox'] + label:before {border-color: #9e9e9eff;} #SGpopup1335 .popup-element[data-element-id='209367'][data-type='agree'] .popupElement-content input[type='checkbox'] + label:after {background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHhtbG5zOnhsaW5rPSdodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rJyB2ZXJzaW9uPScxLjEnIHg9JzBweCcgeT0nMHB4JyB3aWR0aD0nNTEycHgnIGhlaWdodD0nNTEycHgnIHZpZXdCb3g9JzAgMCA0NDIuNTMzIDQ0Mi41MzMnIHN0eWxlPSdlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDQ0Mi41MzMgNDQyLjUzMycgeG1sOnNwYWNlPSdwcmVzZXJ2ZSc+PHBhdGggZD0nTTQzNC41MzksOTguNDk5bC0zOC44MjgtMzguODI4Yy01LjMyNC01LjMyOC0xMS43OTktNy45OTMtMTkuNDEtNy45OTNjLTcuNjE4LDAtMTQuMDkzLDIuNjY1LTE5LjQxNyw3Ljk5M0wxNjkuNTksMjQ3LjI0OCBsLTgzLjkzOS04NC4yMjVjLTUuMzMtNS4zMy0xMS44MDEtNy45OTItMTkuNDEyLTcuOTkyYy03LjYxNiwwLTE0LjA4NywyLjY2Mi0xOS40MTcsNy45OTJMNy45OTQsMjAxLjg1MiAgIEMyLjY2NCwyMDcuMTgxLDAsMjEzLjY1NCwwLDIyMS4yNjljMCw3LjYwOSwyLjY2NCwxNC4wODgsNy45OTQsMTkuNDE2bDEwMy4zNTEsMTAzLjM0OWwzOC44MzEsMzguODI4IGM1LjMyNyw1LjMzMiwxMS44LDcuOTk0LDE5LjQxNCw3Ljk5NGM3LjYxMSwwLDE0LjA4NC0yLjY2OSwxOS40MTQtNy45OTRsMzguODMtMzguODI4TDQzNC41MzksMTM3LjMzIGM1LjMyNS01LjMzLDcuOTk0LTExLjgwMiw3Ljk5NC0xOS40MTdDNDQyLjUzNywxMTAuMzAyLDQzOS44NjQsMTAzLjgyOSw0MzQuNTM5LDk4LjQ5OXonIGZpbGw9JyM5ZTllOWVmZicvPjwvc3ZnPg==);}</style><div class='popupElement-content'><input type=\"checkbox\" checked=\"\" required=\"\" tabindex=\"-1\" data-orig-tabindex=\"-1\"><label><p><span style=\"color:hsl(0,0%,18%);font-size:9px;\">Я согласен на обработку моих персональных данных. 
С&nbsp;</span><a href=\"https://psy-muip.ru/agreement\" data-fpl-component=\"primitive\" target=\"_blank\" rel=\"noopener\"><span style=\"color:hsl(0,0%,18%);font-size:9px;\"><u>Политикой обработки персональных данных</u></span></a><span style=\"color:hsl(0,0%,18%);font-size:9px;\">&nbsp;ознакомлен</span></p></label></div></div><div class='popup-element' data-type='agree' data-element-id='798880' data-fill='#9e9e9eff' data-mode='default' style='margin-top: 0px;margin-right: 0px;margin-bottom: 10px;margin-left: 0px;'><style>#SGpopup1335 .popup-element[data-element-id='798880'][data-type='agree'] .popupElement-content input[type='checkbox'] + label:before {border-color: #9e9e9eff;} #SGpopup1335 .popup-element[data-element-id='798880'][data-type='agree'] .popupElement-content input[type='checkbox'] + label:after {background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHhtbG5zOnhsaW5rPSdodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rJyB2ZXJzaW9uPScxLjEnIHg9JzBweCcgeT0nMHB4JyB3aWR0aD0nNTEycHgnIGhlaWdodD0nNTEycHgnIHZpZXdCb3g9JzAgMCA0NDIuNTMzIDQ0Mi41MzMnIHN0eWxlPSdlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDQ0Mi41MzMgNDQyLjUzMycgeG1sOnNwYWNlPSdwcmVzZXJ2ZSc+PHBhdGggZD0nTTQzNC41MzksOTguNDk5bC0zOC44MjgtMzguODI4Yy01LjMyNC01LjMyOC0xMS43OTktNy45OTMtMTkuNDEtNy45OTNjLTcuNjE4LDAtMTQuMDkzLDIuNjY1LTE5LjQxNyw3Ljk5M0wxNjkuNTksMjQ3LjI0OCBsLTgzLjkzOS04NC4yMjVjLTUuMzMtNS4zMy0xMS44MDEtNy45OTItMTkuNDEyLTcuOTkyYy03LjYxNiwwLTE0LjA4NywyLjY2Mi0xOS40MTcsNy45OTJMNy45OTQsMjAxLjg1MiAgIEMyLjY2NCwyMDcuMTgxLDAsMjEzLjY1NCwwLDIyMS4yNjljMCw3LjYwOSwyLjY2NCwxNC4wODgsNy45OTQsMTkuNDE2bDEwMy4zNTEsMTAzLjM0OWwzOC44MzEsMzguODI4IGM1LjMyNyw1LjMzMiwxMS44LDcuOTk0LDE5LjQxNCw3Ljk5NGM3LjYxMSwwLDE0LjA4NC0yLjY2OSwxOS40MTQtNy45OTRsMzguODMtMzguODI4TDQzNC41MzksMTM3LjMzIGM1LjMyNS01LjMzLDcuOTk0LTExLjgwMiw3Ljk5NC0xOS40MTdDNDQyLjUzNywxMTAuMzAyLDQzOS44NjQsMTAzLjgyOSw0MzQuNTM5LDk4LjQ5OXonIGZpbGw9JyM5ZTllOWVmZicvPjwvc3ZnPg==);}</style><div class='popupElement-content'><input type=\"checkbox\" checked=\"\" required=\"\" tabindex=\"-1\" data-orig-tabindex=\"-1\"><label><p><span style=\"font-size:9px;\">Даю согласие на получение рассылки <u>рекламно-
информационных материалов</u></span></p></label></div></div><div class='popup-element' data-type='editor' data-element-id='724842' style='padding-top: 0px;padding-right: 0px;padding-bottom: 0px;padding-left: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;' data-p-margin-bottom='20px' data-p-line-height='80%'><style>#SGpopup1335 .popup-element[data-element-id='724842'][data-type='editor'] p {margin-bottom: 20px}#SGpopup1335 .popup-element[data-element-id='724842'][data-type='editor'] * {line-height: 80%}</style><div class='popupElement-content'><p><a href=\"https://psy-muip.ru/politika\" data-fpl-component=\"primitive\" target=\"_blank\" rel=\"noopener\"><span style=\"color:hsl(0,0%,18%);font-size:10px;\"><u>Политика&nbsp;в отношении обработки персональных данных</u></span></a><span style=\"color:hsl(0,0%,18%);font-size:10px;\"> | </span><a href=\"https://psy-muip.ru/custom\" data-fpl-component=\"primitive\" target=\"_blank\" rel=\"noopener\"><span style=\"color:hsl(0,0%,18%);font-size:10px;\"><u>Пользовательское соглашение</u></span></a><br><a href=\"https://psy-muip.ru/agreement\" data-fpl-component=\"primitive\" target=\"_blank\" rel=\"noopener\"><span style=\"color:hsl(0,0%,18%);font-size:10px;\"><u>Согласие на обработку персональных данных</u></span></a><span style=\"color:hsl(0,0%,18%);font-size:10px;\"> | </span><a href=\"https://psy-muip.ru/rassylka\" data-fpl-component=\"primitive\" target=\"_blank\" rel=\"noopener\"><span style=\"color:hsl(0,0%,18%);font-size:10px;\"><u>Согласие на рассылку материалов</u></span></a></p></div></div></div><div class='popup-area' data-type='close-container' style='position: absolute; top: 2px; left: 500px; 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, 14, 14);\">
5842<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='1335'><input type='hidden' name='projectID' value='453'><input type='hidden' name='custom_utm_source'><input type='hidden' name='custom_utm_medium'><input type='hidden' name='custom_utm_campaign'><input type='hidden' name='custom_utm_content'><input type='hidden' name='custom_utm_term'></noindex>";
5843								
5844												closeButton = false;
5845										
5846											} else {
5847								
5848												html = "<noindex id='SGpopup1335' class='popup-wrapper grid-hidden'><div class='popup-area' data-type='area-container' style='position: relative; top: 109px; left: 13px; margin-left: ; width: 278px; height: 308px; '><div class='popup-element' data-type='input' style='margin-top: 0px;margin-right: 0px;margin-bottom: 6px;margin-left: 0px;'><div class='popupElement-content'><input type=\"text\" placeholder=\"Введите ваше имя\" data-name=\"Имя\" data-mask=\"null\" style=\"background-color: rgb(255, 255, 255); border-color: rgb(227, 227, 227); font-size: 14px; color: rgb(104, 104, 104); padding: 8px 20px; border-radius: 30px;\"></div></div><div class='popup-element' data-type='input' style='margin-top: 0px;margin-right: 0px;margin-bottom: 6px;margin-left: 0px;'><div class='popupElement-content'><input type=\"text\" placeholder=\"Ваш e-mail, например: [email protected]\" data-name=\"Почта\" data-mask=\"email\" required=\"\" style=\"background-color: rgb(255, 255, 255); border-color: rgb(227, 227, 227); font-size: 14px; color: rgb(104, 104, 104); padding: 8px 20px; border-radius: 30px;\"></div></div><div class='popup-element' data-type='input' style='margin-top: 0px;margin-right: 0px;margin-bottom: 9px;margin-left: 0px;'><div class='popupElement-content'><input type=\"text\" placeholder=\"+7 (___) ___ - __ - __\" data-name=\"Телефон\" data-mask=\"phone\" required=\"\" style=\"background-color: rgb(255, 255, 255); border-color: rgb(225, 225, 226); font-size: 14px; color: rgb(120, 120, 120); padding: 8px 15px 8px 14px; border-radius: 30px;\"></div></div><div class='popup-element' data-type='button-submit' style='margin-top: 0px;margin-right: 0px;margin-bottom: 7px;margin-left: 0px;'><div class='popupElement-content'><button type=\"submit\" style=\"background-color: rgb(10, 117, 111); color: rgb(0, 0, 0); font-size: 19px; border-radius: 30px; padding: 17px 30px;\" onclick=\"\"><div class=\"buttonSubmit-content\"><p><span style=\"color:hsl(0,0%,100%);\">Получить доступ</span></p></div></button></div></div><div class='popup-element' data-type='agree' data-element-id='872847' data-fill='#9e9e9eff' data-mode='default' style='margin-top: 0px;margin-right: 0px;margin-bottom: 7px;margin-left: 0px;'><style>#SGpopup1335 .popup-element[data-element-id='872847'][data-type='agree'] .popupElement-content input[type='checkbox'] + label:before {border-color: #9e9e9eff;} #SGpopup1335 .popup-element[data-element-id='872847'][data-type='agree'] .popupElement-content input[type='checkbox'] + label:after {background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHhtbG5zOnhsaW5rPSdodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rJyB2ZXJzaW9uPScxLjEnIHg9JzBweCcgeT0nMHB4JyB3aWR0aD0nNTEycHgnIGhlaWdodD0nNTEycHgnIHZpZXdCb3g9JzAgMCA0NDIuNTMzIDQ0Mi41MzMnIHN0eWxlPSdlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDQ0Mi41MzMgNDQyLjUzMycgeG1sOnNwYWNlPSdwcmVzZXJ2ZSc+PHBhdGggZD0nTTQzNC41MzksOTguNDk5bC0zOC44MjgtMzguODI4Yy01LjMyNC01LjMyOC0xMS43OTktNy45OTMtMTkuNDEtNy45OTNjLTcuNjE4LDAtMTQuMDkzLDIuNjY1LTE5LjQxNyw3Ljk5M0wxNjkuNTksMjQ3LjI0OCBsLTgzLjkzOS04NC4yMjVjLTUuMzMtNS4zMy0xMS44MDEtNy45OTItMTkuNDEyLTcuOTkyYy03LjYxNiwwLTE0LjA4NywyLjY2Mi0xOS40MTcsNy45OTJMNy45OTQsMjAxLjg1MiAgIEMyLjY2NCwyMDcuMTgxLDAsMjEzLjY1NCwwLDIyMS4yNjljMCw3LjYwOSwyLjY2NCwxNC4wODgsNy45OTQsMTkuNDE2bDEwMy4zNTEsMTAzLjM0OWwzOC44MzEsMzguODI4IGM1LjMyNyw1LjMzMiwxMS44LDcuOTk0LDE5LjQxNCw3Ljk5NGM3LjYxMSwwLDE0LjA4NC0yLjY2OSwxOS40MTQtNy45OTRsMzguODMtMzguODI4TDQzNC41MzksMTM3LjMzIGM1LjMyNS01LjMzLDcuOTk0LTExLjgwMiw3Ljk5NC0xOS40MTdDNDQyLjUzNywxMTAuMzAyLDQzOS44NjQsMTAzLjgyOSw0MzQuNTM5LDk4LjQ5OXonIGZpbGw9JyM5ZTllOWVmZicvPjwvc3ZnPg==);}</style><div class='popupElement-content'><input type=\"checkbox\" checked=\"\" required=\"\" tabindex=\"-1\" data-orig-tabindex=\"-1\"><label><p><span style=\"color:hsl(0,0%,18%);
5848font-size:7px;\">Я согласен на обработку моих персональных данных. 
С&nbsp;</span><a href=\"https://psy-muip.ru/agreement\" data-fpl-component=\"primitive\" target=\"_blank\" rel=\"noopener\"><span style=\"color:hsl(0,0%,18%);font-size:7px;\"><u>Политикой обработки персональных данных</u></span></a><span style=\"color:hsl(0,0%,18%);font-size:7px;\">&nbsp;ознакомлен</span></p></label></div></div><div class='popup-element' data-type='agree' data-element-id='950750' data-fill='#9e9e9e' data-mode='default' style='margin-top: 0px;margin-right: 0px;margin-bottom: 10px;margin-left: 0px;'><style>#SGpopup1335 .popup-element[data-element-id='950750'][data-type='agree'] .popupElement-content input[type='checkbox'] + label:before {border-color: #9e9e9e;} #SGpopup1335 .popup-element[data-element-id='950750'][data-type='agree'] .popupElement-content input[type='checkbox'] + label:after {background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHhtbG5zOnhsaW5rPSdodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rJyB2ZXJzaW9uPScxLjEnIHg9JzBweCcgeT0nMHB4JyB3aWR0aD0nNTEycHgnIGhlaWdodD0nNTEycHgnIHZpZXdCb3g9JzAgMCA0NDIuNTMzIDQ0Mi41MzMnIHN0eWxlPSdlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDQ0Mi41MzMgNDQyLjUzMycgeG1sOnNwYWNlPSdwcmVzZXJ2ZSc+PHBhdGggZD0nTTQzNC41MzksOTguNDk5bC0zOC44MjgtMzguODI4Yy01LjMyNC01LjMyOC0xMS43OTktNy45OTMtMTkuNDEtNy45OTNjLTcuNjE4LDAtMTQuMDkzLDIuNjY1LTE5LjQxNyw3Ljk5M0wxNjkuNTksMjQ3LjI0OCBsLTgzLjkzOS04NC4yMjVjLTUuMzMtNS4zMy0xMS44MDEtNy45OTItMTkuNDEyLTcuOTkyYy03LjYxNiwwLTE0LjA4NywyLjY2Mi0xOS40MTcsNy45OTJMNy45OTQsMjAxLjg1MiAgIEMyLjY2NCwyMDcuMTgxLDAsMjEzLjY1NCwwLDIyMS4yNjljMCw3LjYwOSwyLjY2NCwxNC4wODgsNy45OTQsMTkuNDE2bDEwMy4zNTEsMTAzLjM0OWwzOC44MzEsMzguODI4IGM1LjMyNyw1LjMzMiwxMS44LDcuOTk0LDE5LjQxNCw3Ljk5NGM3LjYxMSwwLDE0LjA4NC0yLjY2OSwxOS40MTQtNy45OTRsMzguODMtMzguODI4TDQzNC41MzksMTM3LjMzIGM1LjMyNS01LjMzLDcuOTk0LTExLjgwMiw3Ljk5NC0xOS40MTdDNDQyLjUzNywxMTAuMzAyLDQzOS44NjQsMTAzLjgyOSw0MzQuNTM5LDk4LjQ5OXonIGZpbGw9JyM5ZTllOWUnLz48L3N2Zz4=);}</style><div class='popupElement-content'><input type=\"checkbox\" checked=\"\" required=\"\" tabindex=\"-1\" data-orig-tabindex=\"-1\"><label><p><span style=\"color:hsl(0,0%,18%);font-size:7px;\">Даю согласие на получение рассылки <u>рекламно-
информационных материалов</u></span></p></label></div></div><div class='popup-element' data-type='editor' data-element-id='412111' style='padding-top: 0px;padding-right: 0px;padding-bottom: 0px;padding-left: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;' data-p-margin-bottom='20px' data-p-line-height='90%'><style>#SGpopup1335 .popup-element[data-element-id='412111'][data-type='editor'] p {margin-bottom: 20px}#SGpopup1335 .popup-element[data-element-id='412111'][data-type='editor'] * {line-height: 90%}</style><div class='popupElement-content'><p><a href=\"https://psy-muip.ru/politika\" data-fpl-component=\"primitive\" target=\"_blank\" rel=\"noopener\"><span style=\"color:hsl(0,0%,18%);font-size:6px;\"><u>Политика&nbsp;в отношении обработки персональных данных</u></span></a><span style=\"color:hsl(0,0%,18%);font-size:6px;\"> | </span><a href=\"https://psy-muip.ru/custom\" data-fpl-component=\"primitive\" target=\"_blank\" rel=\"noopener\"><span style=\"color:hsl(0,0%,18%);font-size:6px;\"><u>Пользовательское соглашение</u></span></a><br><a href=\"https://psy-muip.ru/agreement\" data-fpl-component=\"primitive\" target=\"_blank\" rel=\"noopener\"><span style=\"color:hsl(0,0%,18%);font-size:6px;\"><u>Согласие на обработку персональных данных</u></span></a><span style=\"color:hsl(0,0%,18%);font-size:6px;\"> | </span><a href=\"https://psy-muip.ru/rassylka\" data-fpl-component=\"primitive\" target=\"_blank\" rel=\"noopener\"><span style=\"color:hsl(0,0%,18%);font-size:6px;\"><u>Согласие на рассылку материалов</u></span></a></p></div></div></div><div class='popup-area' data-type='close-container' style='position: absolute; top: -5px; left: 284.219px; margin-left: ; width: 40px; height: 40px; '><div class='popup-element' data-type='button-close' style=''><div class='popupElement-content'><button type=\"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(240, 57, 57);\"><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='1335'><input type='hidden' name='projectID' value='453'><input type='hidden' name='custom_utm_source'><input type='hidden' name='custom_utm_medium'><input type='hidden' name='custom_utm_campaign'><input type='hidden' name='custom_utm_content'><input type='hidden' name='custom_utm_term'></noindex>";
5849								
5850												closeButton = false;
5851										
5852											}
5853								
5854											Fancybox.close();
5855											new Fancybox([
5856												{
5857													src: html,
5858													type: 'html'
5859												}
5860											], {
5861												dragToClose: false,
5862												closeButton: closeButton,
5863												compact: false,
5864												autoFocus: false,
5865												trapFocus: false,
5866												on: {
5867													done: (fancybox, slide) => {
5868								
5869													sgPopup1335reachGoal("ym(97397514,'reachGoal','pokaz_up_zakaz_zvonka');");
5870										
5871													const popup = document.querySelector("#SGpopup1335");
5872													if(popup) {
5873
5874														const url = new URL(location.href);
5875														window.utm_source = url.searchParams.get('utm_source');
5876														window.utm_medium = url.searchParams.get('utm_medium');
5877														window.utm_campaign = url.searchParams.get('utm_campaign');
5878														window.utm_term = url.searchParams.get('utm_term');
5879														window.utm_content = url.searchParams.get('utm_content');
5880
5881								
5882														const custom_utm_source = popup.querySelector('input[name="custom_utm_source"]');
5883														if(custom_utm_source && typeof 'site' != undefined) {
5884															custom_utm_source.value = 'site';
5885														}
5886											
5887														const custom_utm_medium = popup.querySelector('input[name="custom_utm_medium"]');
5888														if(custom_utm_medium && typeof 'seo' != undefined) {
5889															custom_utm_medium.value = 'seo';
5890														}
5891											
5892														const custom_utm_campaign = popup.querySelector('input[name="custom_utm_campaign"]');
5893														if(custom_utm_campaign && typeof 'genegator_send_ program_FacultyAdvancedTraining' != undefined) {
5894															custom_utm_campaign.value = 'genegator_send_ program_FacultyAdvancedTraining';
5895														}
5896											
5897														const custom_utm_content = popup.querySelector('input[name="custom_utm_content"]');
5898														if(custom_utm_content && typeof 'muip' != undefined) {
5899															custom_utm_content.value = 'muip';
5900														}
5901											
5902														const custom_utm_term = popup.querySelector('input[name="custom_utm_term"]');
5903														if(custom_utm_term && typeof 'faculty' != undefined) {
5904															custom_utm_term.value = 'faculty';
5905														}
5906											
5907														openerLinks = popup.querySelectorAll('a[data-target]');
5908														if(openerLinks) {
5909															for(let openerLink of openerLinks) {
5910																openerLink.addEventListener('click', function(){
5911																	if(openerLink.dataset.target) {
5912																		if(typeof window[openerLink.dataset.target] == 'function') {
5913																			Fancybox.close();
5914																			window[openerLink.dataset.target]('open');
5915																		}
5916																	}
5917																});
5918															}
5919														}
5920
5921														linkImages = popup.querySelectorAll('.image-wrapper[data-type="link"]');
5922														if(linkImages) {
5923															for(let linkImage of linkImages) {
5924																linkImage.addEventListener('click', function(){
5925																	if(linkImage.dataset.link) {
5926																		if(linkImage.dataset.target == '_blank') {
5927																			window.open(linkImage.dataset.link);
5928																		} else {
5929																			location.href = linkImage.dataset.link
5930																		}
5931																	}
5932																});
5933															}
5934														}
5935
5936														openerImages = popup.querySelectorAll('.image-wrapper[data-type="opener"]');
5937														if(openerImages) {
5938															for(let openerImage of openerImages) {
5939																openerImage.addEventListener('click', function(){
5940																	if(openerImage.dataset.popup) {
5941																		if(typeof window['sgPopup' + openerImage.dataset.popup] == 'function') {
5942																			Fancybox.close();
5943																			window['sgPopup' + openerImage.dataset.popup]('forceOpen');
5944																		}
5945																	}
5946																});
5947															}
5948														}
5949
5950														submitImages = popup.querySelectorAll('.image-wrapper[data-type="submitter"]');
5951														if(submitImages) {
5952															for(let submitImage of submitImages) {
5953																submitImage.addEventListener('click', function(){
5954
5955																	if(submitImage.classList.contains('disabled')) return false;
5956
5957																	submitImage.classList.add('disabled');
5958
5959																	sgPopup1335submit(function(result){
5960																		submitImage.classList.toggle('disabled', result);
5961																	});
5962
5963																});
5964															}
5965														}
5966
5967														const linkButtons = popup.querySelectorAll('button[data-type="link"]');
5968														if(linkButtons) {
5969															for(let linkButton of linkButtons) {
5970																linkButton.addEventListener('click', function(){
5971																	if(linkButton.dataset.link && linkButton.dataset.link != '#') {
5972								
5973																		if(linkButton.dataset.target == '_blank') {
5974																			window.open(linkButton.dataset.link);
5975																		} else {
5976																			location.href = linkButton.dataset.link
5977																		}
5978																	}
5979																});
5980															}
5981														}
5982
5983														openerButtons = popup.querySelectorAll('button[data-type="opener"]');
5984														if(openerButtons) {
5985															for(let openerButton of openerButtons) {
5986																openerButton.addEventListener('click', function(){
5987									
5988																	if(openerButton.dataset.popup) {
5989																		if(typeof window['sgPopup' + openerButton.dataset.popup] == 'function') {
5990																			Fancybox.close();
5991																			window['sgPopup' + openerButton.dataset.popup]('forceOpen');
5992																		}
5993																	}
5994																});
5995															}
5996														}
5997
5998														const maskedFields = popup.querySelectorAll('input[data-mask]');
5999														if(maskedFields) {
6000															for(let maskedField of maskedFields) {
6001																if(maskedField.dataset.mask == 'phone') {
6002																	Inputmask('+7 (999) 999-99-99', {
6003																		clearIncomplete: true,
6004																		greedy: false
6005																	}).mask(maskedField);
6006								
6007																} else if(maskedField.dataset.mask == 'email') {
6008																	Inputmask({
6009																	alias: 'email',
6010																		clearIncomplete: true,
6011																		greedy: false
6012																	}).mask(maskedField);
6013																}
6014															}
6015														}
6016
6017														const fileInputs = popup.querySelectorAll('.popup-element[data-type="input-file"] input[type="file"]');
6018														if(fileInputs) {
6019															for(let fileInput of fileInputs) {
6020																let label = fileInput.nextElementSibling;
6021																if(label) {
6022																	fileInput.addEventListener('change', function() {
6023																		if (fileInput.files && fileInput.files.length > 0) {
6024																			const maxSize = fileInput.dataset.limit;
6025																			if(fileInput.files[0].size <= maxSize * 1024 * 1024) {
6026																				reader = new FileReader();
6027																				reader.onload = function(){
6028																					const span = label.querySelector('span');
6029																					if(span) {
6030																						span.innerHTML = fileInput.files[0].name;
6031																					}
6032																					fileInput.dataset.content = reader.result;
6033																				};
6034																				reader.readAsDataURL(fileInput.files[0]);
6035																			} else {
6036																				alert('Превышен максимальный размер файла - '+ maxSize +'мб');
6037																			}
6038																		}
6039																	});
6040																	label.addEventListener('click', function(event){
6041																		event.preventDefault();
6042																		fileInput.click();
6043																	});
6044																}
6045															}
6046														}
6047
6048														const agrees = popup.querySelectorAll('.popup-element[data-type="agree"] input[type="checkbox"]');
6049														if(agrees) {
6050															for(let agree of agrees) {
6051																let parent = agree.closest('.popup-element');
6052																if(parent) {
6053																	let label = agree.nextElementSibling;
6054																	if(label) {
6055																		label.addEventListener('click', function(event){
6056																			event.preventDefault();
6057																			agree.checked = !agree.checked;
6058
6059
6060																			if(parent.dataset.mode == 'general') {
6061																				const agreeAll = agree;
6062																				for(let agree of agrees) {
6063																					agree.checked = agreeAll.checked;
6064																				}
6065																			}
6066
6067																			let agreeCount = 0;
6068																			let agreeSelected = 0;
6069																			for(let agree of agrees) {
6070																				const parent = agree.closest('.popup-element');
6071																				if(parent && parent.dataset.mode != 'general') {
6072																					agreeCount++;
6073																					if(agree.checked) {
6074																						agreeSelected++;
6075																					}
6076																				}
6077																			}
6078
6079																			const general = popup.querySelector('.popup-element[data-type="agree"][data-mode="general"]');
6080																			if(general) {
6081																				general.classList.toggle('all-selected', agreeSelected == agreeCount);
6082																				general.classList.toggle('no-selected', agreeSelected == 0);
6083																				general.classList.toggle('some-selected', agreeSelected > 0 && agreeSelected < agreeCount);
6084
6085																				const checkbox = general.querySelector('input[type="checkbox"]');
6086																				if(checkbox) {
6087																					if(agreeSelected == agreeCount) {
6088																						checkbox.checked = true;
6089																					} else {
6090																						checkbox.checked = false;
6091																					}
6092																				}
6093																			}
6094																		});
6095																		const links = label.querySelectorAll('a');
6096																		if(links) {
6097																			for(let link of links) {
6098																				link.addEventListener('click', function(event){
6099																					event.stopPropagation()
6100																				});
6101																			}
6102																		}
6103																	}
6104																}
6105															}
6106														}
6107
6108														const wheel = popup.querySelector('.popup-element[data-type="wheel"]');
6109														let wheelInterval;
6110														let wheelAngle = 0;
6111														if(wheel){
6112															const circle = popup.querySelector('.wheel-circle img');
6113															if(circle) {
6114																wheelInterval = setInterval(function(){
6115																	wheelAngle += 0.2;
6116																	if(wheelAngle > 360) {
6117																		wheelAngle -= 360;
6118																	}
6119																	circle.setAttribute('style', 'transform: rotate('+ wheelAngle +'deg)');
6120																}, 40);
6121															}
6122														}
6123
6124														const closeTriggers = popup.querySelectorAll('.popup-element[data-type="button-close"] button:not([data-fancybox-close])');
6125														if(closeTriggers) {
6126															for(let closeTrigger of closeTriggers) {
6127																closeTrigger.addEventListener('click', function(){
6128																	Fancybox.close();
6129																})
6130															}
6131														}
6132
6133														function sgPopup1335submit(callback = false) {
6134
6135															let hasError = false;
6136															const requiredInputs = popup.querySelectorAll('input[data-name][required]');
6137															if(requiredInputs) {
6138																for(let requiredInput of requiredInputs) {
6139																	if(requiredInput.dataset.mask) {
6140																		if(requiredInput.dataset.mask == 'phone') {
6141																			if(!Inputmask.isValid(requiredInput.value, { mask: '+7 (999) 999-99-99'})) {
6142																				requiredInput.classList.add('error');
6143																				hasError = true;
6144																			} else {
6145																				requiredInput.classList.remove('error');
6146																			}
6147																		} else if(requiredInput.dataset.mask == 'phone_intl' && typeof window.sgPopup.elements.intl != 'undefined') {
6148																			intl = window.sgPopup.elements.intl;
6149																			if(!intl.isValidNumberPrecise()) {
6150																				requiredInput.classList.add('error');
6151																				hasError = true;
6152																			} else {
6153																				requiredInput.classList.remove('error');
6154																			}
6155																		} else if(requiredInput.dataset.mask == 'email') {
6156																			if(!Inputmask.isValid(requiredInput.value, {alias: 'email'})) {
6157																				requiredInput.classList.add('error');
6158																				hasError = true;
6159																			} else {
6160																				requiredInput.classList.remove('error');
6161																			}
6162																		}
6163																	} else {
6164																		if(requiredInput.value == '') {
6165																			requiredInput.classList.add('error');
6166																			hasError = true;
6167																		} else {
6168																			requiredInput.classList.remove('error');
6169																		}
6170																	}
6171																}
6172															}
6173								
6174															const requiredTextareas = popup.querySelectorAll('textarea[data-name][required]');
6175															if(requiredTextareas) {
6176																for(let requiredTextarea of requiredTextareas) {
6177																	if(requiredTextarea.value == '') {
6178																		requiredTextarea.classList.add('error');
6179																		hasError = true;
6180																	} else {
6181																		requiredTextarea.classList.remove('error');
6182																	}
6183																}
6184															}
6185
6186															const requiredSelects = popup.querySelectorAll('select[data-name][required]');
6187															if(requiredSelects) {
6188																for(let requiredSelect of requiredSelects) {
6189																	const niceSelect = requiredSelect.nextElementSibling;
6190																	if(niceSelect) {
6191																		if(niceSelect.querySelector('.option.selected')) {
6192																			niceSelect.classList.remove('error')
6193																		} else {
6194																			niceSelect.classList.add('error');
6195																			hasError = true
6196																		}
6197																	}
6198																}
6199															}
6200
6201															if(agrees) {
6202																for(let agree of agrees) {
6203																	if(agree.required) {
6204																		let label = agree.nextElementSibling;
6205																		if(agree.checked) {
6206																			label.classList.remove('error');
6207																		} else {
6208																			label.classList.add('error');
6209																			hasError = true;
6210																		}
6211																	}
6212																}
6213															}
6214
6215															if(hasError) {
6216																if (callback && typeof callback === 'function') {
6217																	callback(false);
6218																}
6219																return false;
6220															}
6221
6222															function sgPopup1335sendRequest() {
6223
6224								
6225																let data = {
6226																	fields: [],
6227																	cookie: document.cookie,
6228																	markers: markers,
6229																	source: location.href
6230																};
6231								
6232																const inputs = popup.querySelectorAll('input[data-name]');
6233																if(inputs) {
6234																	for(let input of inputs) {
6235																		if(input.dataset.mask == 'phone_intl' && typeof window.sgPopup.elements.intl != 'undefined') {
6236																			intl = window.sgPopup.elements.intl;
6237																			data.fields.push({
6238																				name: input.dataset.name,
6239																				value: intl.getNumber()
6240																			});
6241																		} else {
6242																			data.fields.push({
6243																				name: input.dataset.name,
6244																				value: input.value
6245																			});
6246																		}
6247																	}
6248																}
6249
6250																const textareas = popup.querySelectorAll('textarea[data-name]');
6251																if(textareas) {
6252																	for(let textarea of textareas) {
6253																		data.fields.push({
6254																			name: textarea.dataset.name,
6255																			value: textarea.value
6256																		});
6257																	}
6258																}
6259
6260																if(typeof selects != 'undefined') {
6261																	for(let select of selects) {
6262																		data.fields.push({
6263																			name: select.dataset.name,
6264																			value: select.value
6265																		});
6266																	}
6267																}
6268
6269																const hiddenInputs = popup.querySelectorAll('input[type="hidden"]');
6270																for(let hiddenInput of hiddenInputs) {
6271																	const name = hiddenInput.name;
6272																	data[hiddenInput.name] = hiddenInput.value;
6273																}
6274
6275																const fileInputs = popup.querySelectorAll('.popup-element[data-type="input-file"] input[type="file"]');
6276																if(fileInputs) {
6277																	data.files = [];
6278																	for(let fileInput of fileInputs) {
6279																		if (fileInput.files && fileInput.files.length > 0) {
6280																			data.files.push({
6281																				'name': fileInput.files[0].name,
6282																				'content': fileInput.dataset.content
6283																			});
6284																		}
6285																	}
6286																}
6287
6288																if( wheel && typeof window.prize != 'undefined' ) {
6289																	data.fields.push(window.prize);
6290																}
6291								
6292
6293																var xmlhr = new XMLHttpRequest();
6294																xmlhr.open('POST', "https://psy-muip.ru/wp-json/generator.conversion/v1/actions/?_method=POST&action=formSubmit");
6295																xmlhr.send(JSON.stringify(data));
6296
6297																xmlhr.onreadystatechange = function() {
6298																	if (xmlhr.readyState === 4 && xmlhr.status === 200) {
6299																		console.log(xmlhr.response);
6300																		const response = JSON.parse(xmlhr.response);
6301																		console.log(response);
6302								
6303																	}
6304																};
6305								
6306																sgPopup1335reachGoal("ym(97397514,'reachGoal','lead_zakaz_zvonka');");
6307											
6308																sgSuccessPopup1335();
6309										
6310																let redirect = {
6311																	url: 'https://reiraofficial.getcourse.ru/pl/fileservice/user/file/download/h/6f7ff155ff2a46a5946921b7396ac826.pdf',
6312																	newtab: '1',
6313																	timeout: '8000'
6314																};
6315											
6316																if( typeof redirect != 'undefined' ) {
6317																	sgSuccessRedirect1335(redirect);
6318																}
6319										
6320																return true;
6321
6322															}
6323
6324															if(wheel){
6325																const circle = popup.querySelector('.wheel-circle img');
6326																if(circle) {
6327																	clearInterval(wheelInterval);
6328								
6329																	}
6330
6331																} else {
6332																	const result = sgPopup1335sendRequest();
6333																	if (callback && typeof callback === 'function') {
6334																		callback(result);
6335																	}
6336																}
6337
6338															}
6339
6340															areaLinks = popup.querySelectorAll('.popup-area[data-type="area-link"]');
6341															if(areaLinks) {
6342																for(let areaLink of areaLinks) {
6343																	areaLink.addEventListener('click', function(){
6344																		if(areaLink.dataset.link && areaLink.dataset.link != '#') {
6345																			if(areaLink.dataset.target == '_blank') {
6346																				window.open(areaLink.dataset.link);
6347																			} else {
6348																				location.href = areaLink.dataset.link
6349																			}
6350																		}
6351																	});
6352																}
6353															}
6354
6355															areaOpeners = popup.querySelectorAll('.popup-area[data-type="area-opener"]');
6356															if(areaOpeners) {
6357																for(let areaOpener of areaOpeners) {
6358																	areaOpener.addEventListener('click', function(){
6359																		if(areaOpener.dataset.popup) {
6360																			if(typeof window['sgPopup' + areaOpener.dataset.popup] == 'function') {
6361																				Fancybox.close();
6362																				window['sgPopup' + areaOpener.dataset.popup]('forceOpen');
6363																			}
6364																		}
6365																	});
6366																}
6367															}
6368
6369															const submitButton = popup.querySelector(".popup-element[data-type='button-submit'] button");
6370															if(submitButton) {
6371																submitButton.addEventListener('click', function(event){
6372
6373																	event.preventDefault();
6374																	submitButton.disabled = true;
6375
6376																	sgPopup1335submit(function(result){
6377																		submitButton.disabled = result;
6378																	});
6379
6380																})
6381															}
6382														}
6383													},
6384													close: () => {
6385														window.sgPopup.opened = false;
6386														window.sgPopup.shown.push(1335);
6387														if(window.sgPopup.queue.length) {
6388															setTimeout(function(){
6389																let popupID = window.sgPopup.queue.shift();
6390																window['sgPopup' + popupID]('forceOpen');
6391															}, 30000);
6392														}
6393								
6394													}
6395												}
6396											})
6397										}
6398									}
6399								}
6400							
6401								function sgSuccessPopup1335() {
6402							
6403									let html;
6404									let closeButton;
6405									if(window.innerWidth >= 1040) {
6406										html = "<noindex id='SGsuccess1335' 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>";
6407							closeButton = false;
6408									} else {
6409										html = "<noindex id='SGsuccess1335' 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;\">Спасибо, файл откроется в новой вкладке!&nbsp;</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>";
6410							closeButton = false;
6411									}
6412							
6413									Fancybox.close();
6414									new Fancybox([
6415										{
6416											src: html,
6417											type: 'html'
6418										}
6419									], {
6420										dragToClose: false,
6421										closeButton: closeButton,
6422										autoFocus: false,
6423										trapFocus: false,
6424										on: {
6425											done: (fancybox, slide) => {
6426							
6427												const success = document.querySelector("#SGsuccess1335");
6428												if(success) {
6429
6430													buttonLinks = success.querySelectorAll('button[data-type="link"]');
6431													if(buttonLinks) {
6432														for(let buttonLink of buttonLinks) {
6433															buttonLink.addEventListener('click', function(){
6434																if(buttonLink.dataset.link) {
6435																	if(buttonLink.dataset.target == '_blank') {
6436																		window.open(buttonLink.dataset.link);
6437																	} else {
6438																		location.href = buttonLink.dataset.link
6439																	}
6440																}
6441															});
6442														}
6443													}
6444													
6445												}
6446							
6447												setTimeout(function(){
6448													Fancybox.close();
6449												}, 3000);
6450									
6451											},
6452											close: () => {
6453												window.sgPopup.opened = false;
6454											}
6455										}
6456									});
6457								}
6458							
6459								function sgSuccessRedirect1335(redirect) {
6460									setTimeout(function(){
6461										const clickEvent = new MouseEvent('click', {
6462											bubbles: true,
6463											cancelable: true
6464										});
6465										const link = document.createElement('a');
6466										link.setAttribute('href', redirect.url);
6467
6468										if(redirect.newtab == '') {
6469											Fancybox.close();
6470										} else {
6471											link.setAttribute('target', '_blank');
6472										}
6473										document.body.append(link);
6474										link.dispatchEvent(clickEvent);
6475										link.parentNode.removeChild(link);
6476									}, redirect.timeout);
6477								}
6478							</script>
vendor: 1 bytes, line 6478
6478
6479<script>
6480								if(typeof window.sgPopup == 'undefined') {
6481									window.sgPopup = {
6482										opened: false,
6483										queue: [],
6484										shown: [],
6485										elements: {}
6486									};
6487								}
6488						
6489								addEventListener('DOMContentLoaded', () => {
6490						
6491									document.body.addEventListener('click', function(event){
6492										if(
6493											event.target.dataset.target == "sgPopup1431"
6494											|| event.target.closest('[data-target="sgPopup1431"]')
6495										) {
6496											Fancybox.close();
6497											sgPopup1431('forceOpen');
6498										}
6499									});
6500
6501									sgPopup1431autoOpen();
6502								});
6503
6504								function sgPopup1431autoOpen() {
6505							
6506								}
6507
6508								function sgPopup1431reachGoal(code) {
6509
6510									function executeGoal(params) {
6511										if(typeof params == 'object') {
6512
6513											eval('ym('+ params.join(',') +');');
6514
6515											let data = {
6516												'goal': params[2],
6517												timestamp: new Date().toISOString()
6518											};
6519
6520											var xmlhr = new XMLHttpRequest();
6521											xmlhr.open('POST', "https://psy-muip.ru/wp-json/generator.conversion/v1/actions/?_method=POST&action=goalLog");
6522											xmlhr.send(JSON.stringify(data));
6523
6524											xmlhr.onreadystatechange = function() {
6525												if (xmlhr.readyState === 4 && xmlhr.status === 200) {
6526													if( urlParams.get('debug') ) {
6527														const response = JSON.parse(xmlhr.response);
6528														console.log(response);
6529													}
6530												}
6531											}
6532
6533										}
6534									}
6535
6536									const goals = code.split(';');
6537									if(goals) {
6538										for(let goal of goals) {
6539											goal = goal.trim();
6540											if(goal != '') {
6541												const regexp = /ym(.*)/;
6542												if( regexp.test(goal) ) {
6543
6544													goal = goal.replace('ym(', '');
6545													goal = goal.replace(')', '');
6546													const params = goal.split(',');
6547													if(params) {
6548
6549														if (typeof window.ym != 'undefined') {
6550															executeGoal(params);
6551														} else {
6552															if(typeof window.popup1431goals == 'undefined') {
6553																window.popup1431goals = [];
6554															}
6555
6556															window.popup1431goals.push({
6557																'metrika': params[0],
6558																'action': params[1],
6559																'id': params[2]
6560															});
6561
6562															if(typeof popup1431interval == 'undefined') {
6563																popup1431interval = setInterval(function(){
6564																	if (typeof window.ym != 'undefined') {
6565																		for(let goal of window.popup1431goals) {
6566																			executeGoal(params);
6567																		}
6568																		window.popup1431goals = [];
6569																		clearInterval(popup1431interval);
6570																	}
6571																}, 1000);
6572															}
6573														}
6574													}
6575												} else {
6576													eval(goal);
6577												}
6578											}
6579										}
6580									}
6581
6582								}
6583
6584								function sgPopup1431(action = false) {
6585
6586									if(!action) return;
6587
6588									if( ['open', 'forceOpen'].includes(action) ) {
6589
6590								
6591										if(action == 'open' && window.sgPopup.shown.includes(1431)) {
6592											return false;
6593										}
6594
6595										if(window.sgPopup.opened) {
6596
6597											if(window.sgPopup.opened != 1431) {
6598												window.sgPopup.queue.push(1431);
6599											}
6600
6601										} else {
6602
6603											window.sgPopup.opened = 1431;
6604
6605											let html;
6606											let closeButton;
6607											if(window.innerWidth >= 1040) {
6608												html = "<noindex id='SGpopup1431' class='popup-wrapper grid-hidden'><div class='popup-area' data-type='close-container' style='position: absolute; top: -2px; left: 724px; margin-left: -40px; width: 40px; height: 40px; '><div class='popup-element' data-type='button-close' style=''><div class='popupElement-content'><button type=\"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=\"#ffffff\"><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: absolute; top: 5px; left: 7px; margin-left: ; width: 658px; height: 735px; '><div class='popup-element' data-type='getcourse' style='margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;'><div class='popupElement-content'><div data-id=\"53b44591d3f5c8b1c994750cd2929ca1dac97f28\" data-src=\"https://reiraofficial.getcourse.ru/pl/lite/widget/script?id=1546216\"></div></div></div></div><input type='hidden' name='popupID' value='1431'><input type='hidden' name='projectID' value='453'></noindex>";
6609								
6610												closeButton = false;
6611										
6612											} else {
6613								
6614												html = "<noindex id='SGpopup1431' class='popup-wrapper grid-hidden'><div class='popup-area' data-type='close-container' style='position: absolute; top: -40px; left: 371px; margin-left: -40px; width: 40px; height: 40px; '><div class='popup-element' data-type='button-close' style=''><div class='popupElement-content'><button type=\"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=\"#ffffff\"><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: absolute; top: 2px; left: -2px; margin-left: ; width: 658px; height: 735px; '><div class='popup-element' data-type='getcourse' style='margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;'><div class='popupElement-content'><div data-id=\"53b44591d3f5c8b1c994750cd2929ca1dac97f28\" data-src=\"https://reiraofficial.getcourse.ru/pl/lite/widget/script?id=1546216\"></div></div></div></div><input type='hidden' name='popupID' value='1431'><input type='hidden' name='projectID' value='453'></noindex>";
6615								
6616												closeButton = false;
6617										
6618											}
6619								
6620											Fancybox.close();
6621											new Fancybox([
6622												{
6623													src: html,
6624													type: 'html'
6625												}
6626											], {
6627												dragToClose: false,
6628												closeButton: closeButton,
6629												compact: false,
6630												autoFocus: false,
6631												trapFocus: false,
6632												on: {
6633													done: (fancybox, slide) => {
6634								
6635													const popup = document.querySelector("#SGpopup1431");
6636													if(popup) {
6637
6638														const url = new URL(location.href);
6639														window.utm_source = url.searchParams.get('utm_source');
6640														window.utm_medium = url.searchParams.get('utm_medium');
6641														window.utm_campaign = url.searchParams.get('utm_campaign');
6642														window.utm_term = url.searchParams.get('utm_term');
6643														window.utm_content = url.searchParams.get('utm_content');
6644
6645								
6646														const getCourseBlocks = popup.querySelectorAll('*[data-type="getcourse"] *[data-id][data-src]');
6647														if(getCourseBlocks) {
6648															for(let getCourseBlock of getCourseBlocks) {
6649																const ID = getCourseBlock.dataset.id;
6650																const SRC = getCourseBlock.dataset.src;
6651																const script = document.createElement('script');
6652																script.id = ID;
6653																script.src = SRC;
6654																script.async = true;
6655																script.onload = () => {
6656																	const myEvent = new CustomEvent('StartWidget'+ ID);
6657																	document.dispatchEvent(myEvent);
6658																}
6659																getCourseBlock.appendChild(script);
6660															}
6661														}
6662									
6663														openerLinks = popup.querySelectorAll('a[data-target]');
6664														if(openerLinks) {
6665															for(let openerLink of openerLinks) {
6666																openerLink.addEventListener('click', function(){
6667																	if(openerLink.dataset.target) {
6668																		if(typeof window[openerLink.dataset.target] == 'function') {
6669																			Fancybox.close();
6670																			window[openerLink.dataset.target]('open');
6671																		}
6672																	}
6673																});
6674															}
6675														}
6676
6677														linkImages = popup.querySelectorAll('.image-wrapper[data-type="link"]');
6678														if(linkImages) {
6679															for(let linkImage of linkImages) {
6680																linkImage.addEventListener('click', function(){
6681																	if(linkImage.dataset.link) {
6682																		if(linkImage.dataset.target == '_blank') {
6683																			window.open(linkImage.dataset.link);
6684																		} else {
6685																			location.href = linkImage.dataset.link
6686																		}
6687																	}
6688																});
6689															}
6690														}
6691
6692														openerImages = popup.querySelectorAll('.image-wrapper[data-type="opener"]');
6693														if(openerImages) {
6694															for(let openerImage of openerImages) {
6695																openerImage.addEventListener('click', function(){
6696																	if(openerImage.dataset.popup) {
6697																		if(typeof window['sgPopup' + openerImage.dataset.popup] == 'function') {
6698																			Fancybox.close();
6699																			window['sgPopup' + openerImage.dataset.popup]('forceOpen');
6700																		}
6701																	}
6702																});
6703															}
6704														}
6705
6706														submitImages = popup.querySelectorAll('.image-wrapper[data-type="submitter"]');
6707														if(submitImages) {
6708															for(let submitImage of submitImages) {
6709																submitImage.addEventListener('click', function(){
6710
6711																	if(submitImage.classList.contains('disabled')) return false;
6712
6713																	submitImage.classList.add('disabled');
6714
6715																	sgPopup1431submit(function(result){
6716																		submitImage.classList.toggle('disabled', result);
6717																	});
6718
6719																});
6720															}
6721														}
6722
6723														const linkButtons = popup.querySelectorAll('button[data-type="link"]');
6724														if(linkButtons) {
6725															for(let linkButton of linkButtons) {
6726																linkButton.addEventListener('click', function(){
6727																	if(linkButton.dataset.link && linkButton.dataset.link != '#') {
6728								
6729																		if(linkButton.dataset.target == '_blank') {
6730																			window.open(linkButton.dataset.link);
6731																		} else {
6732																			location.href = linkButton.dataset.link
6733																		}
6734																	}
6735																});
6736															}
6737														}
6738
6739														openerButtons = popup.querySelectorAll('button[data-type="opener"]');
6740														if(openerButtons) {
6741															for(let openerButton of openerButtons) {
6742																openerButton.addEventListener('click', function(){
6743									
6744																	if(openerButton.dataset.popup) {
6745																		if(typeof window['sgPopup' + openerButton.dataset.popup] == 'function') {
6746																			Fancybox.close();
6747																			window['sgPopup' + openerButton.dataset.popup]('forceOpen');
6748																		}
6749																	}
6750																});
6751															}
6752														}
6753
6754														const maskedFields = popup.querySelectorAll('input[data-mask]');
6755														if(maskedFields) {
6756															for(let maskedField of maskedFields) {
6757																if(maskedField.dataset.mask == 'phone') {
6758																	Inputmask('+7 (999) 999-99-99', {
6759																		clearIncomplete: true,
6760																		greedy: false
6761																	}).mask(maskedField);
6762								
6763																} else if(maskedField.dataset.mask == 'email') {
6764																	Inputmask({
6765																	alias: 'email',
6766																		clearIncomplete: true,
6767																		greedy: false
6768																	}).mask(maskedField);
6769																}
6770															}
6771														}
6772
6773														const fileInputs = popup.querySelectorAll('.popup-element[data-type="input-file"] input[type="file"]');
6774														if(fileInputs) {
6775															for(let fileInput of fileInputs) {
6776																let label = fileInput.nextElementSibling;
6777																if(label) {
6778																	fileInput.addEventListener('change', function() {
6779																		if (fileInput.files && fileInput.files.length > 0) {
6780																			const maxSize = fileInput.dataset.limit;
6781																			if(fileInput.files[0].size <= maxSize * 1024 * 1024) {
6782																				reader = new FileReader();
6783																				reader.onload = function(){
6784																					const span = label.querySelector('span');
6785																					if(span) {
6786																						span.innerHTML = fileInput.files[0].name;
6787																					}
6788																					fileInput.dataset.content = reader.result;
6789																				};
6790																				reader.readAsDataURL(fileInput.files[0]);
6791																			} else {
6792																				alert('Превышен максимальный размер файла - '+ maxSize +'мб');
6793																			}
6794																		}
6795																	});
6796																	label.addEventListener('click', function(event){
6797																		event.preventDefault();
6798																		fileInput.click();
6799																	});
6800																}
6801															}
6802														}
6803
6804														const agrees = popup.querySelectorAll('.popup-element[data-type="agree"] input[type="checkbox"]');
6805														if(agrees) {
6806															for(let agree of agrees) {
6807																let parent = agree.closest('.popup-element');
6808																if(parent) {
6809																	let label = agree.nextElementSibling;
6810																	if(label) {
6811																		label.addEventListener('click', function(event){
6812																			event.preventDefault();
6813																			agree.checked = !agree.checked;
6814
6815
6816																			if(parent.dataset.mode == 'general') {
6817																				const agreeAll = agree;
6818																				for(let agree of agrees) {
6819																					agree.checked = agreeAll.checked;
6820																				}
6821																			}
6822
6823																			let agreeCount = 0;
6824																			let agreeSelected = 0;
6825																			for(let agree of agrees) {
6826																				const parent = agree.closest('.popup-element');
6827																				if(parent && parent.dataset.mode != 'general') {
6828																					agreeCount++;
6829																					if(agree.checked) {
6830																						agreeSelected++;
6831																					}
6832																				}
6833																			}
6834
6835																			const general = popup.querySelector('.popup-element[data-type="agree"][data-mode="general"]');
6836																			if(general) {
6837																				general.classList.toggle('all-selected', agreeSelected == agreeCount);
6838																				general.classList.toggle('no-selected', agreeSelected == 0);
6839																				general.classList.toggle('some-selected', agreeSelected > 0 && agreeSelected < agreeCount);
6840
6841																				const checkbox = general.querySelector('input[type="checkbox"]');
6842																				if(checkbox) {
6843																					if(agreeSelected == agreeCount) {
6844																						checkbox.checked = true;
6845																					} else {
6846																						checkbox.checked = false;
6847																					}
6848																				}
6849																			}
6850																		});
6851																		const links = label.querySelectorAll('a');
6852																		if(links) {
6853																			for(let link of links) {
6854																				link.addEventListener('click', function(event){
6855																					event.stopPropagation()
6856																				});
6857																			}
6858																		}
6859																	}
6860																}
6861															}
6862														}
6863
6864														const wheel = popup.querySelector('.popup-element[data-type="wheel"]');
6865														let wheelInterval;
6866														let wheelAngle = 0;
6867														if(wheel){
6868															const circle = popup.querySelector('.wheel-circle img');
6869															if(circle) {
6870																wheelInterval = setInterval(function(){
6871																	wheelAngle += 0.2;
6872																	if(wheelAngle > 360) {
6873																		wheelAngle -= 360;
6874																	}
6875																	circle.setAttribute('style', 'transform: rotate('+ wheelAngle +'deg)');
6876																}, 40);
6877															}
6878														}
6879
6880														const closeTriggers = popup.querySelectorAll('.popup-element[data-type="button-close"] button:not([data-fancybox-close])');
6881														if(closeTriggers) {
6882															for(let closeTrigger of closeTriggers) {
6883																closeTrigger.addEventListener('click', function(){
6884																	Fancybox.close();
6885																})
6886															}
6887														}
6888
6889														function sgPopup1431submit(callback = false) {
6890
6891															let hasError = false;
6892															const requiredInputs = popup.querySelectorAll('input[data-name][required]');
6893															if(requiredInputs) {
6894																for(let requiredInput of requiredInputs) {
6895																	if(requiredInput.dataset.mask) {
6896																		if(requiredInput.dataset.mask == 'phone') {
6897																			if(!Inputmask.isValid(requiredInput.value, { mask: '+7 (999) 999-99-99'})) {
6898																				requiredInput.classList.add('error');
6899																				hasError = true;
6900																			} else {
6901																				requiredInput.classList.remove('error');
6902																			}
6903																		} else if(requiredInput.dataset.mask == 'phone_intl' && typeof window.sgPopup.elements.intl != 'undefined') {
6904																			intl = window.sgPopup.elements.intl;
6905																			if(!intl.isValidNumberPrecise()) {
6906																				requiredInput.classList.add('error');
6907																				hasError = true;
6908																			} else {
6909																				requiredInput.classList.remove('error');
6910																			}
6911																		} else if(requiredInput.dataset.mask == 'email') {
6912																			if(!Inputmask.isValid(requiredInput.value, {alias: 'email'})) {
6913																				requiredInput.classList.add('error');
6914																				hasError = true;
6915																			} else {
6916																				requiredInput.classList.remove('error');
6917																			}
6918																		}
6919																	} else {
6920																		if(requiredInput.value == '') {
6921																			requiredInput.classList.add('error');
6922																			hasError = true;
6923																		} else {
6924																			requiredInput.classList.remove('error');
6925																		}
6926																	}
6927																}
6928															}
6929								
6930															const requiredTextareas = popup.querySelectorAll('textarea[data-name][required]');
6931															if(requiredTextareas) {
6932																for(let requiredTextarea of requiredTextareas) {
6933																	if(requiredTextarea.value == '') {
6934																		requiredTextarea.classList.add('error');
6935																		hasError = true;
6936																	} else {
6937																		requiredTextarea.classList.remove('error');
6938																	}
6939																}
6940															}
6941
6942															const requiredSelects = popup.querySelectorAll('select[data-name][required]');
6943															if(requiredSelects) {
6944																for(let requiredSelect of requiredSelects) {
6945																	const niceSelect = requiredSelect.nextElementSibling;
6946																	if(niceSelect) {
6947																		if(niceSelect.querySelector('.option.selected')) {
6948																			niceSelect.classList.remove('error')
6949																		} else {
6950																			niceSelect.classList.add('error');
6951																			hasError = true
6952																		}
6953																	}
6954																}
6955															}
6956
6957															if(agrees) {
6958																for(let agree of agrees) {
6959																	if(agree.required) {
6960																		let label = agree.nextElementSibling;
6961																		if(agree.checked) {
6962																			label.classList.remove('error');
6963																		} else {
6964																			label.classList.add('error');
6965																			hasError = true;
6966																		}
6967																	}
6968																}
6969															}
6970
6971															if(hasError) {
6972																if (callback && typeof callback === 'function') {
6973																	callback(false);
6974																}
6975																return false;
6976															}
6977
6978															function sgPopup1431sendRequest() {
6979
6980								
6981																let data = {
6982																	fields: [],
6983																	cookie: document.cookie,
6984																	markers: markers,
6985																	source: location.href
6986																};
6987								
6988																const inputs = popup.querySelectorAll('input[data-name]');
6989																if(inputs) {
6990																	for(let input of inputs) {
6991																		if(input.dataset.mask == 'phone_intl' && typeof window.sgPopup.elements.intl != 'undefined') {
6992																			intl = window.sgPopup.elements.intl;
6993																			data.fields.push({
6994																				name: input.dataset.name,
6995																				value: intl.getNumber()
6996																			});
6997																		} else {
6998																			data.fields.push({
6999																				name: input.dataset.name,
7000																				value: input.value
7001																			});
7002																		}
7003																	}
7004																}
7005
7006																const textareas = popup.querySelectorAll('textarea[data-name]');
7007																if(textareas) {
7008																	for(let textarea of textareas) {
7009																		data.fields.push({
7010																			name: textarea.dataset.name,
7011																			value: textarea.value
7012																		});
7013																	}
7014																}
7015
7016																if(typeof selects != 'undefined') {
7017																	for(let select of selects) {
7018																		data.fields.push({
7019																			name: select.dataset.name,
7020																			value: select.value
7021																		});
7022																	}
7023																}
7024
7025																const hiddenInputs = popup.querySelectorAll('input[type="hidden"]');
7026																for(let hiddenInput of hiddenInputs) {
7027																	const name = hiddenInput.name;
7028																	data[hiddenInput.name] = hiddenInput.value;
7029																}
7030
7031																const fileInputs = popup.querySelectorAll('.popup-element[data-type="input-file"] input[type="file"]');
7032																if(fileInputs) {
7033																	data.files = [];
7034																	for(let fileInput of fileInputs) {
7035																		if (fileInput.files && fileInput.files.length > 0) {
7036																			data.files.push({
7037																				'name': fileInput.files[0].name,
7038																				'content': fileInput.dataset.content
7039																			});
7040																		}
7041																	}
7042																}
7043
7044																if( wheel && typeof window.prize != 'undefined' ) {
7045																	data.fields.push(window.prize);
7046																}
7047								
7048
7049																var xmlhr = new XMLHttpRequest();
7050																xmlhr.open('POST', "https://psy-muip.ru/wp-json/generator.conversion/v1/actions/?_method=POST&action=formSubmit");
7051																xmlhr.send(JSON.stringify(data));
7052
7053																xmlhr.onreadystatechange = function() {
7054																	if (xmlhr.readyState === 4 && xmlhr.status === 200) {
7055																		console.log(xmlhr.response);
7056																		const response = JSON.parse(xmlhr.response);
7057																		console.log(response);
7058								
7059																		if(response.result) {
7060									
7061																			sgSuccessPopup1431();
7062											
7063																		} else {
7064																			alert(response.message);
7065																		}
7066									
7067																	}
7068																};
7069								
7070																return true;
7071
7072															}
7073
7074															if(wheel){
7075																const circle = popup.querySelector('.wheel-circle img');
7076																if(circle) {
7077																	clearInterval(wheelInterval);
7078								
7079																	}
7080
7081																} else {
7082																	const result = sgPopup1431sendRequest();
7083																	if (callback && typeof callback === 'function') {
7084																		callback(result);
7085																	}
7086																}
7087
7088															}
7089
7090															areaLinks = popup.querySelectorAll('.popup-area[data-type="area-link"]');
7091															if(areaLinks) {
7092																for(let areaLink of areaLinks) {
7093																	areaLink.addEventListener('click', function(){
7094																		if(areaLink.dataset.link && areaLink.dataset.link != '#') {
7095																			if(areaLink.dataset.target == '_blank') {
7096																				window.open(areaLink.dataset.link);
7097																			} else {
7098																				location.href = areaLink.dataset.link
7099																			}
7100																		}
7101																	});
7102																}
7103															}
7104
7105															areaOpeners = popup.querySelectorAll('.popup-area[data-type="area-opener"]');
7106															if(areaOpeners) {
7107																for(let areaOpener of areaOpeners) {
7108																	areaOpener.addEventListener('click', function(){
7109																		if(areaOpener.dataset.popup) {
7110																			if(typeof window['sgPopup' + areaOpener.dataset.popup] == 'function') {
7111																				Fancybox.close();
7112																				window['sgPopup' + areaOpener.dataset.popup]('forceOpen');
7113																			}
7114																		}
7115																	});
7116																}
7117															}
7118
7119															const submitButton = popup.querySelector(".popup-element[data-type='button-submit'] button");
7120															if(submitButton) {
7121																submitButton.addEventListener('click', function(event){
7122
7123																	event.preventDefault();
7124																	submitButton.disabled = true;
7125
7126																	sgPopup1431submit(function(result){
7127																		submitButton.disabled = result;
7128																	});
7129
7130																})
7131															}
7132														}
7133													},
7134													close: () => {
7135														window.sgPopup.opened = false;
7136														window.sgPopup.shown.push(1431);
7137														if(window.sgPopup.queue.length) {
7138															setTimeout(function(){
7139																let popupID = window.sgPopup.queue.shift();
7140																window['sgPopup' + popupID]('forceOpen');
7141															}, 30000);
7142														}
7143								
7144													}
7145												}
7146											})
7147										}
7148									}
7149								}
7150							
7151								function sgSuccessPopup1431() {
7152							
7153									let html;
7154									let closeButton;
7155									if(window.innerWidth >= 1040) {
7156										html = "<noindex id='SGsuccess1431' class='popup-wrapper grid-hidden'><div class='success-area' data-type='area-container' style='position: absolute; top: 120px; left: 40px; width: 340px; 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: 420px; 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>";
7157							closeButton = false;
7158									} else {
7159										html = "<noindex id='SGsuccess1431' 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>";
7160							closeButton = false;
7161									}
7162							
7163									Fancybox.close();
7164									new Fancybox([
7165										{
7166											src: html,
7167											type: 'html'
7168										}
7169									], {
7170										dragToClose: false,
7171										closeButton: closeButton,
7172										autoFocus: false,
7173										trapFocus: false,
7174										on: {
7175											done: (fancybox, slide) => {
7176							
7177												const success = document.querySelector("#SGsuccess1431");
7178												if(success) {
7179
7180													buttonLinks = success.querySelectorAll('button[data-type="link"]');
7181													if(buttonLinks) {
7182														for(let buttonLink of buttonLinks) {
7183															buttonLink.addEventListener('click', function(){
7184																if(buttonLink.dataset.link) {
7185																	if(buttonLink.dataset.target == '_blank') {
7186																		window.open(buttonLink.dataset.link);
7187																	} else {
7188																		location.href = buttonLink.dataset.link
7189																	}
7190																}
7191															});
7192														}
7193													}
7194													
7195												}
7196							
7197												setTimeout(function(){
7198													Fancybox.close();
7199												}, 3000);
7200									
7201											},
7202											close: () => {
7203												window.sgPopup.opened = false;
7204											}
7205										}
7206									});
7207								}
7208							</script>
vendor: 1 bytes, line 7208
7208
7209<script>
7210								if(typeof window.sgPopup == 'undefined') {
7211									window.sgPopup = {
7212										opened: false,
7213										queue: [],
7214										shown: [],
7215										elements: {}
7216									};
7217								}
7218						
7219								addEventListener('DOMContentLoaded', () => {
7220						
7221									document.body.addEventListener('click', function(event){
7222										if(
7223											event.target.dataset.target == "sgPopup1435"
7224											|| event.target.closest('[data-target="sgPopup1435"]')
7225										) {
7226											Fancybox.close();
7227											sgPopup1435('forceOpen');
7228										}
7229									});
7230
7231									sgPopup1435autoOpen();
7232								});
7233
7234								function sgPopup1435autoOpen() {
7235							
7236								}
7237
7238								function sgPopup1435reachGoal(code) {
7239
7240									function executeGoal(params) {
7241										if(typeof params == 'object') {
7242
7243											eval('ym('+ params.join(',') +');');
7244
7245											let data = {
7246												'goal': params[2],
7247												timestamp: new Date().toISOString()
7248											};
7249
7250											var xmlhr = new XMLHttpRequest();
7251											xmlhr.open('POST', "https://psy-muip.ru/wp-json/generator.conversion/v1/actions/?_method=POST&action=goalLog");
7252											xmlhr.send(JSON.stringify(data));
7253
7254											xmlhr.onreadystatechange = function() {
7255												if (xmlhr.readyState === 4 && xmlhr.status === 200) {
7256													if( urlParams.get('debug') ) {
7257														const response = JSON.parse(xmlhr.response);
7258														console.log(response);
7259													}
7260												}
7261											}
7262
7263										}
7264									}
7265
7266									const goals = code.split(';');
7267									if(goals) {
7268										for(let goal of goals) {
7269											goal = goal.trim();
7270											if(goal != '') {
7271												const regexp = /ym(.*)/;
7272												if( regexp.test(goal) ) {
7273
7274													goal = goal.replace('ym(', '');
7275													goal = goal.replace(')', '');
7276													const params = goal.split(',');
7277													if(params) {
7278
7279														if (typeof window.ym != 'undefined') {
7280															executeGoal(params);
7281														} else {
7282															if(typeof window.popup1435goals == 'undefined') {
7283																window.popup1435goals = [];
7284															}
7285
7286															window.popup1435goals.push({
7287																'metrika': params[0],
7288																'action': params[1],
7289																'id': params[2]
7290															});
7291
7292															if(typeof popup1435interval == 'undefined') {
7293																popup1435interval = setInterval(function(){
7294																	if (typeof window.ym != 'undefined') {
7295																		for(let goal of window.popup1435goals) {
7296																			executeGoal(params);
7297																		}
7298																		window.popup1435goals = [];
7299																		clearInterval(popup1435interval);
7300																	}
7301																}, 1000);
7302															}
7303														}
7304													}
7305												} else {
7306													eval(goal);
7307												}
7308											}
7309										}
7310									}
7311
7312								}
7313
7314								function sgPopup1435(action = false) {
7315
7316									if(!action) return;
7317
7318									if( ['open', 'forceOpen'].includes(action) ) {
7319
7320								
7321										if(action == 'open' && window.sgPopup.shown.includes(1435)) {
7322											return false;
7323										}
7324
7325										if(window.sgPopup.opened) {
7326
7327											if(window.sgPopup.opened != 1435) {
7328												window.sgPopup.queue.push(1435);
7329											}
7330
7331										} else {
7332
7333											window.sgPopup.opened = 1435;
7334
7335											let html;
7336											let closeButton;
7337											if(window.innerWidth >= 1040) {
7338												html = "<noindex id='SGpopup1435' class='popup-wrapper grid-hidden'><div class='popup-area' data-type='close-container' style='position: absolute; top: -1px; left: 709px; margin-left: -40px; width: 40px; height: 40px; '><div class='popup-element' data-type='button-close' style=''><div class='popupElement-content'><button type=\"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=\"#ffffff\"><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: absolute; top: 2px; left: -2px; margin-left: ; width: 658px; height: 735px; '><div class='popup-element' data-type='getcourse' style='margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;'><div class='popupElement-content'><div data-id=\"68dc6a72081ae3c8652d7c19fd2bbb34adbff5a3\" data-src=\"https://reiraofficial.getcourse.ru/pl/lite/widget/script?id=1323357\"></div></div></div></div><input type='hidden' name='popupID' value='1435'><input type='hidden' name='projectID' value='453'></noindex>";
7339								
7340												closeButton = false;
7341										
7342											} else {
7343								
7344												html = "<noindex id='SGpopup1435' class='popup-wrapper grid-hidden'><div class='popup-area' data-type='close-container' style='position: absolute; top: -1px; left: 374px; margin-left: -40px; width: 40px; height: 40px; '><div class='popup-element' data-type='button-close' style=''><div class='popupElement-content'><button type=\"close\" style=\"padding: 10px; width: 35px; height: 35px; background-color: rgba(0, 0, 0, 0); border: 1px solid rgba(255, 255, 255, 0); border-radius: 18px;\"><svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 18 18\" fill=\"#ffffff\" style=\"fill: rgb(255, 64, 64);\"><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: absolute; top: 2px; left: -2px; margin-left: ; width: 658px; height: 735px; '><div class='popup-element' data-type='getcourse' style='margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;'><div class='popupElement-content'><div data-id=\"68dc6a72081ae3c8652d7c19fd2bbb34adbff5a3\" data-src=\"https://reiraofficial.getcourse.ru/pl/lite/widget/script?id=1323357\"></div></div></div></div><input type='hidden' name='popupID' value='1435'><input type='hidden' name='projectID' value='453'></noindex>";
7345								
7346												closeButton = false;
7347										
7348											}
7349								
7350											Fancybox.close();
7351											new Fancybox([
7352												{
7353													src: html,
7354													type: 'html'
7355												}
7356											], {
7357												dragToClose: false,
7358												closeButton: closeButton,
7359												compact: false,
7360												autoFocus: false,
7361												trapFocus: false,
7362												on: {
7363													done: (fancybox, slide) => {
7364								
7365													const popup = document.querySelector("#SGpopup1435");
7366													if(popup) {
7367
7368														const url = new URL(location.href);
7369														window.utm_source = url.searchParams.get('utm_source');
7370														window.utm_medium = url.searchParams.get('utm_medium');
7371														window.utm_campaign = url.searchParams.get('utm_campaign');
7372														window.utm_term = url.searchParams.get('utm_term');
7373														window.utm_content = url.searchParams.get('utm_content');
7374
7375								
7376														const getCourseBlocks = popup.querySelectorAll('*[data-type="getcourse"] *[data-id][data-src]');
7377														if(getCourseBlocks) {
7378															for(let getCourseBlock of getCourseBlocks) {
7379																const ID = getCourseBlock.dataset.id;
7380																const SRC = getCourseBlock.dataset.src;
7381																const script = document.createElement('script');
7382																script.id = ID;
7383																script.src = SRC;
7384																script.async = true;
7385																script.onload = () => {
7386																	const myEvent = new CustomEvent('StartWidget'+ ID);
7387																	document.dispatchEvent(myEvent);
7388																}
7389																getCourseBlock.appendChild(script);
7390															}
7391														}
7392									
7393														openerLinks = popup.querySelectorAll('a[data-target]');
7394														if(openerLinks) {
7395															for(let openerLink of openerLinks) {
7396																openerLink.addEventListener('click', function(){
7397																	if(openerLink.dataset.target) {
7398																		if(typeof window[openerLink.dataset.target] == 'function') {
7399																			Fancybox.close();
7400																			window[openerLink.dataset.target]('open');
7401																		}
7402																	}
7403																});
7404															}
7405														}
7406
7407														linkImages = popup.querySelectorAll('.image-wrapper[data-type="link"]');
7408														if(linkImages) {
7409															for(let linkImage of linkImages) {
7410																linkImage.addEventListener('click', function(){
7411																	if(linkImage.dataset.link) {
7412																		if(linkImage.dataset.target == '_blank') {
7413																			window.open(linkImage.dataset.link);
7414																		} else {
7415																			location.href = linkImage.dataset.link
7416																		}
7417																	}
7418																});
7419															}
7420														}
7421
7422														openerImages = popup.querySelectorAll('.image-wrapper[data-type="opener"]');
7423														if(openerImages) {
7424															for(let openerImage of openerImages) {
7425																openerImage.addEventListener('click', function(){
7426																	if(openerImage.dataset.popup) {
7427																		if(typeof window['sgPopup' + openerImage.dataset.popup] == 'function') {
7428																			Fancybox.close();
7429																			window['sgPopup' + openerImage.dataset.popup]('forceOpen');
7430																		}
7431																	}
7432																});
7433															}
7434														}
7435
7436														submitImages = popup.querySelectorAll('.image-wrapper[data-type="submitter"]');
7437														if(submitImages) {
7438															for(let submitImage of submitImages) {
7439																submitImage.addEventListener('click', function(){
7440
7441																	if(submitImage.classList.contains('disabled')) return false;
7442
7443																	submitImage.classList.add('disabled');
7444
7445																	sgPopup1435submit(function(result){
7446																		submitImage.classList.toggle('disabled', result);
7447																	});
7448
7449																});
7450															}
7451														}
7452
7453														const linkButtons = popup.querySelectorAll('button[data-type="link"]');
7454														if(linkButtons) {
7455															for(let linkButton of linkButtons) {
7456																linkButton.addEventListener('click', function(){
7457																	if(linkButton.dataset.link && linkButton.dataset.link != '#') {
7458								
7459																		if(linkButton.dataset.target == '_blank') {
7460																			window.open(linkButton.dataset.link);
7461																		} else {
7462																			location.href = linkButton.dataset.link
7463																		}
7464																	}
7465																});
7466															}
7467														}
7468
7469														openerButtons = popup.querySelectorAll('button[data-type="opener"]');
7470														if(openerButtons) {
7471															for(let openerButton of openerButtons) {
7472																openerButton.addEventListener('click', function(){
7473									
7474																	if(openerButton.dataset.popup) {
7475																		if(typeof window['sgPopup' + openerButton.dataset.popup] == 'function') {
7476																			Fancybox.close();
7477																			window['sgPopup' + openerButton.dataset.popup]('forceOpen');
7478																		}
7479																	}
7480																});
7481															}
7482														}
7483
7484														const maskedFields = popup.querySelectorAll('input[data-mask]');
7485														if(maskedFields) {
7486															for(let maskedField of maskedFields) {
7487																if(maskedField.dataset.mask == 'phone') {
7488																	Inputmask('+7 (999) 999-99-99', {
7489																		clearIncomplete: true,
7490																		greedy: false
7491																	}).mask(maskedField);
7492								
7493																} else if(maskedField.dataset.mask == 'email') {
7494																	Inputmask({
7495																	alias: 'email',
7496																		clearIncomplete: true,
7497																		greedy: false
7498																	}).mask(maskedField);
7499																}
7500															}
7501														}
7502
7503														const fileInputs = popup.querySelectorAll('.popup-element[data-type="input-file"] input[type="file"]');
7504														if(fileInputs) {
7505															for(let fileInput of fileInputs) {
7506																let label = fileInput.nextElementSibling;
7507																if(label) {
7508																	fileInput.addEventListener('change', function() {
7509																		if (fileInput.files && fileInput.files.length > 0) {
7510																			const maxSize = fileInput.dataset.limit;
7511																			if(fileInput.files[0].size <= maxSize * 1024 * 1024) {
7512																				reader = new FileReader();
7513																				reader.onload = function(){
7514																					const span = label.querySelector('span');
7515																					if(span) {
7516																						span.innerHTML = fileInput.files[0].name;
7517																					}
7518																					fileInput.dataset.content = reader.result;
7519																				};
7520																				reader.readAsDataURL(fileInput.files[0]);
7521																			} else {
7522																				alert('Превышен максимальный размер файла - '+ maxSize +'мб');
7523																			}
7524																		}
7525																	});
7526																	label.addEventListener('click', function(event){
7527																		event.preventDefault();
7528																		fileInput.click();
7529																	});
7530																}
7531															}
7532														}
7533
7534														const agrees = popup.querySelectorAll('.popup-element[data-type="agree"] input[type="checkbox"]');
7535														if(agrees) {
7536															for(let agree of agrees) {
7537																let parent = agree.closest('.popup-element');
7538																if(parent) {
7539																	let label = agree.nextElementSibling;
7540																	if(label) {
7541																		label.addEventListener('click', function(event){
7542																			event.preventDefault();
7543																			agree.checked = !agree.checked;
7544
7545
7546																			if(parent.dataset.mode == 'general') {
7547																				const agreeAll = agree;
7548																				for(let agree of agrees) {
7549																					agree.checked = agreeAll.checked;
7550																				}
7551																			}
7552
7553																			let agreeCount = 0;
7554																			let agreeSelected = 0;
7555																			for(let agree of agrees) {
7556																				const parent = agree.closest('.popup-element');
7557																				if(parent && parent.dataset.mode != 'general') {
7558																					agreeCount++;
7559																					if(agree.checked) {
7560																						agreeSelected++;
7561																					}
7562																				}
7563																			}
7564
7565																			const general = popup.querySelector('.popup-element[data-type="agree"][data-mode="general"]');
7566																			if(general) {
7567																				general.classList.toggle('all-selected', agreeSelected == agreeCount);
7568																				general.classList.toggle('no-selected', agreeSelected == 0);
7569																				general.classList.toggle('some-selected', agreeSelected > 0 && agreeSelected < agreeCount);
7570
7571																				const checkbox = general.querySelector('input[type="checkbox"]');
7572																				if(checkbox) {
7573																					if(agreeSelected == agreeCount) {
7574																						checkbox.checked = true;
7575																					} else {
7576																						checkbox.checked = false;
7577																					}
7578																				}
7579																			}
7580																		});
7581																		const links = label.querySelectorAll('a');
7582																		if(links) {
7583																			for(let link of links) {
7584																				link.addEventListener('click', function(event){
7585																					event.stopPropagation()
7586																				});
7587																			}
7588																		}
7589																	}
7590																}
7591															}
7592														}
7593
7594														const wheel = popup.querySelector('.popup-element[data-type="wheel"]');
7595														let wheelInterval;
7596														let wheelAngle = 0;
7597														if(wheel){
7598															const circle = popup.querySelector('.wheel-circle img');
7599															if(circle) {
7600																wheelInterval = setInterval(function(){
7601																	wheelAngle += 0.2;
7602																	if(wheelAngle > 360) {
7603																		wheelAngle -= 360;
7604																	}
7605																	circle.setAttribute('style', 'transform: rotate('+ wheelAngle +'deg)');
7606																}, 40);
7607															}
7608														}
7609
7610														const closeTriggers = popup.querySelectorAll('.popup-element[data-type="button-close"] button:not([data-fancybox-close])');
7611														if(closeTriggers) {
7612															for(let closeTrigger of closeTriggers) {
7613																closeTrigger.addEventListener('click', function(){
7614																	Fancybox.close();
7615																})
7616															}
7617														}
7618
7619														function sgPopup1435submit(callback = false) {
7620
7621															let hasError = false;
7622															const requiredInputs = popup.querySelectorAll('input[data-name][required]');
7623															if(requiredInputs) {
7624																for(let requiredInput of requiredInputs) {
7625																	if(requiredInput.dataset.mask) {
7626																		if(requiredInput.dataset.mask == 'phone') {
7627																			if(!Inputmask.isValid(requiredInput.value, { mask: '+7 (999) 999-99-99'})) {
7628																				requiredInput.classList.add('error');
7629																				hasError = true;
7630																			} else {
7631																				requiredInput.classList.remove('error');
7632																			}
7633																		} else if(requiredInput.dataset.mask == 'phone_intl' && typeof window.sgPopup.elements.intl != 'undefined') {
7634																			intl = window.sgPopup.elements.intl;
7635																			if(!intl.isValidNumberPrecise()) {
7636																				requiredInput.classList.add('error');
7637																				hasError = true;
7638																			} else {
7639																				requiredInput.classList.remove('error');
7640																			}
7641																		} else if(requiredInput.dataset.mask == 'email') {
7642																			if(!Inputmask.isValid(requiredInput.value, {alias: 'email'})) {
7643																				requiredInput.classList.add('error');
7644																				hasError = true;
7645																			} else {
7646																				requiredInput.classList.remove('error');
7647																			}
7648																		}
7649																	} else {
7650																		if(requiredInput.value == '') {
7651																			requiredInput.classList.add('error');
7652																			hasError = true;
7653																		} else {
7654																			requiredInput.classList.remove('error');
7655																		}
7656																	}
7657																}
7658															}
7659								
7660															const requiredTextareas = popup.querySelectorAll('textarea[data-name][required]');
7661															if(requiredTextareas) {
7662																for(let requiredTextarea of requiredTextareas) {
7663																	if(requiredTextarea.value == '') {
7664																		requiredTextarea.classList.add('error');
7665																		hasError = true;
7666																	} else {
7667																		requiredTextarea.classList.remove('error');
7668																	}
7669																}
7670															}
7671
7672															const requiredSelects = popup.querySelectorAll('select[data-name][required]');
7673															if(requiredSelects) {
7674																for(let requiredSelect of requiredSelects) {
7675																	const niceSelect = requiredSelect.nextElementSibling;
7676																	if(niceSelect) {
7677																		if(niceSelect.querySelector('.option.selected')) {
7678																			niceSelect.classList.remove('error')
7679																		} else {
7680																			niceSelect.classList.add('error');
7681																			hasError = true
7682																		}
7683																	}
7684																}
7685															}
7686
7687															if(agrees) {
7688																for(let agree of agrees) {
7689																	if(agree.required) {
7690																		let label = agree.nextElementSibling;
7691																		if(agree.checked) {
7692																			label.classList.remove('error');
7693																		} else {
7694																			label.classList.add('error');
7695																			hasError = true;
7696																		}
7697																	}
7698																}
7699															}
7700
7701															if(hasError) {
7702																if (callback && typeof callback === 'function') {
7703																	callback(false);
7704																}
7705																return false;
7706															}
7707
7708															function sgPopup1435sendRequest() {
7709
7710								
7711																let data = {
7712																	fields: [],
7713																	cookie: document.cookie,
7714																	markers: markers,
7715																	source: location.href
7716																};
7717								
7718																const inputs = popup.querySelectorAll('input[data-name]');
7719																if(inputs) {
7720																	for(let input of inputs) {
7721																		if(input.dataset.mask == 'phone_intl' && typeof window.sgPopup.elements.intl != 'undefined') {
7722																			intl = window.sgPopup.elements.intl;
7723																			data.fields.push({
7724																				name: input.dataset.name,
7725																				value: intl.getNumber()
7726																			});
7727																		} else {
7728																			data.fields.push({
7729																				name: input.dataset.name,
7730																				value: input.value
7731																			});
7732																		}
7733																	}
7734																}
7735
7736																const textareas = popup.querySelectorAll('textarea[data-name]');
7737																if(textareas) {
7738																	for(let textarea of textareas) {
7739																		data.fields.push({
7740																			name: textarea.dataset.name,
7741																			value: textarea.value
7742																		});
7743																	}
7744																}
7745
7746																if(typeof selects != 'undefined') {
7747																	for(let select of selects) {
7748																		data.fields.push({
7749																			name: select.dataset.name,
7750																			value: select.value
7751																		});
7752																	}
7753																}
7754
7755																const hiddenInputs = popup.querySelectorAll('input[type="hidden"]');
7756																for(let hiddenInput of hiddenInputs) {
7757																	const name = hiddenInput.name;
7758																	data[hiddenInput.name] = hiddenInput.value;
7759																}
7760
7761																const fileInputs = popup.querySelectorAll('.popup-element[data-type="input-file"] input[type="file"]');
7762																if(fileInputs) {
7763																	data.files = [];
7764																	for(let fileInput of fileInputs) {
7765																		if (fileInput.files && fileInput.files.length > 0) {
7766																			data.files.push({
7767																				'name': fileInput.files[0].name,
7768																				'content': fileInput.dataset.content
7769																			});
7770																		}
7771																	}
7772																}
7773
7774																if( wheel && typeof window.prize != 'undefined' ) {
7775																	data.fields.push(window.prize);
7776																}
7777								
7778
7779																var xmlhr = new XMLHttpRequest();
7780																xmlhr.open('POST', "https://psy-muip.ru/wp-json/generator.conversion/v1/actions/?_method=POST&action=formSubmit");
7781																xmlhr.send(JSON.stringify(data));
7782
7783																xmlhr.onreadystatechange = function() {
7784																	if (xmlhr.readyState === 4 && xmlhr.status === 200) {
7785																		console.log(xmlhr.response);
7786																		const response = JSON.parse(xmlhr.response);
7787																		console.log(response);
7788								
7789																		if(response.result) {
7790									
7791																			sgSuccessPopup1435();
7792											
7793																		} else {
7794																			alert(response.message);
7795																		}
7796									
7797																	}
7798																};
7799								
7800																return true;
7801
7802															}
7803
7804															if(wheel){
7805																const circle = popup.querySelector('.wheel-circle img');
7806																if(circle) {
7807																	clearInterval(wheelInterval);
7808								
7809																	}
7810
7811																} else {
7812																	const result = sgPopup1435sendRequest();
7813																	if (callback && typeof callback === 'function') {
7814																		callback(result);
7815																	}
7816																}
7817
7818															}
7819
7820															areaLinks = popup.querySelectorAll('.popup-area[data-type="area-link"]');
7821															if(areaLinks) {
7822																for(let areaLink of areaLinks) {
7823																	areaLink.addEventListener('click', function(){
7824																		if(areaLink.dataset.link && areaLink.dataset.link != '#') {
7825																			if(areaLink.dataset.target == '_blank') {
7826																				window.open(areaLink.dataset.link);
7827																			} else {
7828																				location.href = areaLink.dataset.link
7829																			}
7830																		}
7831																	});
7832																}
7833															}
7834
7835															areaOpeners = popup.querySelectorAll('.popup-area[data-type="area-opener"]');
7836															if(areaOpeners) {
7837																for(let areaOpener of areaOpeners) {
7838																	areaOpener.addEventListener('click', function(){
7839																		if(areaOpener.dataset.popup) {
7840																			if(typeof window['sgPopup' + areaOpener.dataset.popup] == 'function') {
7841																				Fancybox.close();
7842																				window['sgPopup' + areaOpener.dataset.popup]('forceOpen');
7843																			}
7844																		}
7845																	});
7846																}
7847															}
7848
7849															const submitButton = popup.querySelector(".popup-element[data-type='button-submit'] button");
7850															if(submitButton) {
7851																submitButton.addEventListener('click', function(event){
7852
7853																	event.preventDefault();
7854																	submitButton.disabled = true;
7855
7856																	sgPopup1435submit(function(result){
7857																		submitButton.disabled = result;
7858																	});
7859
7860																})
7861															}
7862														}
7863													},
7864													close: () => {
7865														window.sgPopup.opened = false;
7866														window.sgPopup.shown.push(1435);
7867														if(window.sgPopup.queue.length) {
7868															setTimeout(function(){
7869																let popupID = window.sgPopup.queue.shift();
7870																window['sgPopup' + popupID]('forceOpen');
7871															}, 30000);
7872														}
7873								
7874													}
7875												}
7876											})
7877										}
7878									}
7879								}
7880							
7881								function sgSuccessPopup1435() {
7882							
7883									let html;
7884									let closeButton;
7885									if(window.innerWidth >= 1040) {
7886										html = "<noindex id='SGsuccess1435' class='popup-wrapper grid-hidden'><div class='success-area' data-type='area-container' style='position: absolute; top: 120px; left: 40px; width: 340px; 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: 420px; 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>";
7887							closeButton = false;
7888									} else {
7889										html = "<noindex id='SGsuccess1435' 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>";
7890							closeButton = false;
7891									}
7892							
7893									Fancybox.close();
7894									new Fancybox([
7895										{
7896											src: html,
7897											type: 'html'
7898										}
7899									], {
7900										dragToClose: false,
7901										closeButton: closeButton,
7902										autoFocus: false,
7903										trapFocus: false,
7904										on: {
7905											done: (fancybox, slide) => {
7906							
7907												const success = document.querySelector("#SGsuccess1435");
7908												if(success) {
7909
7910													buttonLinks = success.querySelectorAll('button[data-type="link"]');
7911													if(buttonLinks) {
7912														for(let buttonLink of buttonLinks) {
7913															buttonLink.addEventListener('click', function(){
7914																if(buttonLink.dataset.link) {
7915																	if(buttonLink.dataset.target == '_blank') {
7916																		window.open(buttonLink.dataset.link);
7917																	} else {
7918																		location.href = buttonLink.dataset.link
7919																	}
7920																}
7921															});
7922														}
7923													}
7924													
7925												}
7926							
7927												setTimeout(function(){
7928													Fancybox.close();
7929												}, 3000);
7930									
7931											},
7932											close: () => {
7933												window.sgPopup.opened = false;
7934											}
7935										}
7936									});
7937								}
7938							</script>
vendor: 1 bytes, line 7938
7938
7939<script>
7940								if(typeof window.sgPopup == 'undefined') {
7941									window.sgPopup = {
7942										opened: false,
7943										queue: [],
7944										shown: [],
7945										elements: {}
7946									};
7947								}
7948						
7949								addEventListener('DOMContentLoaded', () => {
7950						
7951									document.body.addEventListener('click', function(event){
7952										if(
7953											event.target.dataset.target == "sgPopup1436"
7954											|| event.target.closest('[data-target="sgPopup1436"]')
7955										) {
7956											Fancybox.close();
7957											sgPopup1436('forceOpen');
7958										}
7959									});
7960
7961									sgPopup1436autoOpen();
7962								});
7963
7964								function sgPopup1436autoOpen() {
7965							
7966								}
7967
7968								function sgPopup1436reachGoal(code) {
7969
7970									function executeGoal(params) {
7971										if(typeof params == 'object') {
7972
7973											eval('ym('+ params.join(',') +');');
7974
7975											let data = {
7976												'goal': params[2],
7977												timestamp: new Date().toISOString()
7978											};
7979
7980											var xmlhr = new XMLHttpRequest();
7981											xmlhr.open('POST', "https://psy-muip.ru/wp-json/generator.conversion/v1/actions/?_method=POST&action=goalLog");
7982											xmlhr.send(JSON.stringify(data));
7983
7984											xmlhr.onreadystatechange = function() {
7985												if (xmlhr.readyState === 4 && xmlhr.status === 200) {
7986													if( urlParams.get('debug') ) {
7987														const response = JSON.parse(xmlhr.response);
7988														console.log(response);
7989													}
7990												}
7991											}
7992
7993										}
7994									}
7995
7996									const goals = code.split(';');
7997									if(goals) {
7998										for(let goal of goals) {
7999											goal = goal.trim();
8000											if(goal != '') {
8001												const regexp = /ym(.*)/;
8002												if( regexp.test(goal) ) {
8003
8004													goal = goal.replace('ym(', '');
8005													goal = goal.replace(')', '');
8006													const params = goal.split(',');
8007													if(params) {
8008
8009														if (typeof window.ym != 'undefined') {
8010															executeGoal(params);
8011														} else {
8012															if(typeof window.popup1436goals == 'undefined') {
8013																window.popup1436goals = [];
8014															}
8015
8016															window.popup1436goals.push({
8017																'metrika': params[0],
8018																'action': params[1],
8019																'id': params[2]
8020															});
8021
8022															if(typeof popup1436interval == 'undefined') {
8023																popup1436interval = setInterval(function(){
8024																	if (typeof window.ym != 'undefined') {
8025																		for(let goal of window.popup1436goals) {
8026																			executeGoal(params);
8027																		}
8028																		window.popup1436goals = [];
8029																		clearInterval(popup1436interval);
8030																	}
8031																}, 1000);
8032															}
8033														}
8034													}
8035												} else {
8036													eval(goal);
8037												}
8038											}
8039										}
8040									}
8041
8042								}
8043
8044								function sgPopup1436(action = false) {
8045
8046									if(!action) return;
8047
8048									if( ['open', 'forceOpen'].includes(action) ) {
8049
8050								
8051										if(action == 'open' && window.sgPopup.shown.includes(1436)) {
8052											return false;
8053										}
8054
8055										if(window.sgPopup.opened) {
8056
8057											if(window.sgPopup.opened != 1436) {
8058												window.sgPopup.queue.push(1436);
8059											}
8060
8061										} else {
8062
8063											window.sgPopup.opened = 1436;
8064
8065											let html;
8066											let closeButton;
8067											if(window.innerWidth >= 1040) {
8068												html = "<noindex id='SGpopup1436' class='popup-wrapper grid-hidden'><div class='popup-area' data-type='close-container' style='position: absolute; top: -4px; left: 671px; margin-left: -40px; width: 40px; height: 40px; '><div class='popup-element' data-type='button-close' style=''><div class='popupElement-content'><button type=\"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=\"#ffffff\" style=\"fill: rgb(247, 39, 39);\"><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: absolute; top: 29px; left: 40px; margin-left: ; width: 588px; height: 532px; '><div class='popup-element' data-type='getcourse' style='margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;'><div class='popupElement-content'><div data-id=\"a0f374a568b80a106c107883c707c8c1824e9de9\" data-src=\"https://reiraofficial.getcourse.ru/pl/lite/widget/script?id=1534341\"></div></div></div></div><input type='hidden' name='popupID' value='1436'><input type='hidden' name='projectID' value='453'></noindex>";
8069								
8070												closeButton = false;
8071										
8072											} else {
8073								
8074												html = "<noindex id='SGpopup1436' class='popup-wrapper grid-hidden'><div class='popup-area' data-type='close-container' style='position: absolute; top: 3px; left: 376px; margin-left: -40px; width: 40px; height: 40px; '><div class='popup-element' data-type='button-close' style=''><div class='popupElement-content'><button type=\"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=\"#ffffff\" style=\"fill: rgb(247, 39, 39);\"><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: absolute; top: 5px; left: -8px; margin-left: ; width: 588px; height: 532px; '><div class='popup-element' data-type='getcourse' style='margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;'><div class='popupElement-content'><div data-id=\"a0f374a568b80a106c107883c707c8c1824e9de9\" data-src=\"https://reiraofficial.getcourse.ru/pl/lite/widget/script?id=1534341\"></div></div></div></div><input type='hidden' name='popupID' value='1436'><input type='hidden' name='projectID' value='453'></noindex>";
8075								
8076												closeButton = false;
8077										
8078											}
8079								
8080											Fancybox.close();
8081											new Fancybox([
8082												{
8083													src: html,
8084													type: 'html'
8085												}
8086											], {
8087												dragToClose: false,
8088												closeButton: closeButton,
8089												compact: false,
8090												autoFocus: false,
8091												trapFocus: false,
8092												on: {
8093													done: (fancybox, slide) => {
8094								
8095													const popup = document.querySelector("#SGpopup1436");
8096													if(popup) {
8097
8098														const url = new URL(location.href);
8099														window.utm_source = url.searchParams.get('utm_source');
8100														window.utm_medium = url.searchParams.get('utm_medium');
8101														window.utm_campaign = url.searchParams.get('utm_campaign');
8102														window.utm_term = url.searchParams.get('utm_term');
8103														window.utm_content = url.searchParams.get('utm_content');
8104
8105								
8106														const getCourseBlocks = popup.querySelectorAll('*[data-type="getcourse"] *[data-id][data-src]');
8107														if(getCourseBlocks) {
8108															for(let getCourseBlock of getCourseBlocks) {
8109																const ID = getCourseBlock.dataset.id;
8110																const SRC = getCourseBlock.dataset.src;
8111																const script = document.createElement('script');
8112																script.id = ID;
8113																script.src = SRC;
8114																script.async = true;
8115																script.onload = () => {
8116																	const myEvent = new CustomEvent('StartWidget'+ ID);
8117																	document.dispatchEvent(myEvent);
8118																}
8119																getCourseBlock.appendChild(script);
8120															}
8121														}
8122									
8123														openerLinks = popup.querySelectorAll('a[data-target]');
8124														if(openerLinks) {
8125															for(let openerLink of openerLinks) {
8126																openerLink.addEventListener('click', function(){
8127																	if(openerLink.dataset.target) {
8128																		if(typeof window[openerLink.dataset.target] == 'function') {
8129																			Fancybox.close();
8130																			window[openerLink.dataset.target]('open');
8131																		}
8132																	}
8133																});
8134															}
8135														}
8136
8137														linkImages = popup.querySelectorAll('.image-wrapper[data-type="link"]');
8138														if(linkImages) {
8139															for(let linkImage of linkImages) {
8140																linkImage.addEventListener('click', function(){
8141																	if(linkImage.dataset.link) {
8142																		if(linkImage.dataset.target == '_blank') {
8143																			window.open(linkImage.dataset.link);
8144																		} else {
8145																			location.href = linkImage.dataset.link
8146																		}
8147																	}
8148																});
8149															}
8150														}
8151
8152														openerImages = popup.querySelectorAll('.image-wrapper[data-type="opener"]');
8153														if(openerImages) {
8154															for(let openerImage of openerImages) {
8155																openerImage.addEventListener('click', function(){
8156																	if(openerImage.dataset.popup) {
8157																		if(typeof window['sgPopup' + openerImage.dataset.popup] == 'function') {
8158																			Fancybox.close();
8159																			window['sgPopup' + openerImage.dataset.popup]('forceOpen');
8160																		}
8161																	}
8162																});
8163															}
8164														}
8165
8166														submitImages = popup.querySelectorAll('.image-wrapper[data-type="submitter"]');
8167														if(submitImages) {
8168															for(let submitImage of submitImages) {
8169																submitImage.addEventListener('click', function(){
8170
8171																	if(submitImage.classList.contains('disabled')) return false;
8172
8173																	submitImage.classList.add('disabled');
8174
8175																	sgPopup1436submit(function(result){
8176																		submitImage.classList.toggle('disabled', result);
8177																	});
8178
8179																});
8180															}
8181														}
8182
8183														const linkButtons = popup.querySelectorAll('button[data-type="link"]');
8184														if(linkButtons) {
8185															for(let linkButton of linkButtons) {
8186																linkButton.addEventListener('click', function(){
8187																	if(linkButton.dataset.link && linkButton.dataset.link != '#') {
8188								
8189																		if(linkButton.dataset.target == '_blank') {
8190																			window.open(linkButton.dataset.link);
8191																		} else {
8192																			location.href = linkButton.dataset.link
8193																		}
8194																	}
8195																});
8196															}
8197														}
8198
8199														openerButtons = popup.querySelectorAll('button[data-type="opener"]');
8200														if(openerButtons) {
8201															for(let openerButton of openerButtons) {
8202																openerButton.addEventListener('click', function(){
8203									
8204																	if(openerButton.dataset.popup) {
8205																		if(typeof window['sgPopup' + openerButton.dataset.popup] == 'function') {
8206																			Fancybox.close();
8207																			window['sgPopup' + openerButton.dataset.popup]('forceOpen');
8208																		}
8209																	}
8210																});
8211															}
8212														}
8213
8214														const maskedFields = popup.querySelectorAll('input[data-mask]');
8215														if(maskedFields) {
8216															for(let maskedField of maskedFields) {
8217																if(maskedField.dataset.mask == 'phone') {
8218																	Inputmask('+7 (999) 999-99-99', {
8219																		clearIncomplete: true,
8220																		greedy: false
8221																	}).mask(maskedField);
8222								
8223																} else if(maskedField.dataset.mask == 'email') {
8224																	Inputmask({
8225																	alias: 'email',
8226																		clearIncomplete: true,
8227																		greedy: false
8228																	}).mask(maskedField);
8229																}
8230															}
8231														}
8232
8233														const fileInputs = popup.querySelectorAll('.popup-element[data-type="input-file"] input[type="file"]');
8234														if(fileInputs) {
8235															for(let fileInput of fileInputs) {
8236																let label = fileInput.nextElementSibling;
8237																if(label) {
8238																	fileInput.addEventListener('change', function() {
8239																		if (fileInput.files && fileInput.files.length > 0) {
8240																			const maxSize = fileInput.dataset.limit;
8241																			if(fileInput.files[0].size <= maxSize * 1024 * 1024) {
8242																				reader = new FileReader();
8243																				reader.onload = function(){
8244																					const span = label.querySelector('span');
8245																					if(span) {
8246																						span.innerHTML = fileInput.files[0].name;
8247																					}
8248																					fileInput.dataset.content = reader.result;
8249																				};
8250																				reader.readAsDataURL(fileInput.files[0]);
8251																			} else {
8252																				alert('Превышен максимальный размер файла - '+ maxSize +'мб');
8253																			}
8254																		}
8255																	});
8256																	label.addEventListener('click', function(event){
8257																		event.preventDefault();
8258																		fileInput.click();
8259																	});
8260																}
8261															}
8262														}
8263
8264														const agrees = popup.querySelectorAll('.popup-element[data-type="agree"] input[type="checkbox"]');
8265														if(agrees) {
8266															for(let agree of agrees) {
8267																let parent = agree.closest('.popup-element');
8268																if(parent) {
8269																	let label = agree.nextElementSibling;
8270																	if(label) {
8271																		label.addEventListener('click', function(event){
8272																			event.preventDefault();
8273																			agree.checked = !agree.checked;
8274
8275
8276																			if(parent.dataset.mode == 'general') {
8277																				const agreeAll = agree;
8278																				for(let agree of agrees) {
8279																					agree.checked = agreeAll.checked;
8280																				}
8281																			}
8282
8283																			let agreeCount = 0;
8284																			let agreeSelected = 0;
8285																			for(let agree of agrees) {
8286																				const parent = agree.closest('.popup-element');
8287																				if(parent && parent.dataset.mode != 'general') {
8288																					agreeCount++;
8289																					if(agree.checked) {
8290																						agreeSelected++;
8291																					}
8292																				}
8293																			}
8294
8295																			const general = popup.querySelector('.popup-element[data-type="agree"][data-mode="general"]');
8296																			if(general) {
8297																				general.classList.toggle('all-selected', agreeSelected == agreeCount);
8298																				general.classList.toggle('no-selected', agreeSelected == 0);
8299																				general.classList.toggle('some-selected', agreeSelected > 0 && agreeSelected < agreeCount);
8300
8301																				const checkbox = general.querySelector('input[type="checkbox"]');
8302																				if(checkbox) {
8303																					if(agreeSelected == agreeCount) {
8304																						checkbox.checked = true;
8305																					} else {
8306																						checkbox.checked = false;
8307																					}
8308																				}
8309																			}
8310																		});
8311																		const links = label.querySelectorAll('a');
8312																		if(links) {
8313																			for(let link of links) {
8314																				link.addEventListener('click', function(event){
8315																					event.stopPropagation()
8316																				});
8317																			}
8318																		}
8319																	}
8320																}
8321															}
8322														}
8323
8324														const wheel = popup.querySelector('.popup-element[data-type="wheel"]');
8325														let wheelInterval;
8326														let wheelAngle = 0;
8327														if(wheel){
8328															const circle = popup.querySelector('.wheel-circle img');
8329															if(circle) {
8330																wheelInterval = setInterval(function(){
8331																	wheelAngle += 0.2;
8332																	if(wheelAngle > 360) {
8333																		wheelAngle -= 360;
8334																	}
8335																	circle.setAttribute('style', 'transform: rotate('+ wheelAngle +'deg)');
8336																}, 40);
8337															}
8338														}
8339
8340														const closeTriggers = popup.querySelectorAll('.popup-element[data-type="button-close"] button:not([data-fancybox-close])');
8341														if(closeTriggers) {
8342															for(let closeTrigger of closeTriggers) {
8343																closeTrigger.addEventListener('click', function(){
8344																	Fancybox.close();
8345																})
8346															}
8347														}
8348
8349														function sgPopup1436submit(callback = false) {
8350
8351															let hasError = false;
8352															const requiredInputs = popup.querySelectorAll('input[data-name][required]');
8353															if(requiredInputs) {
8354																for(let requiredInput of requiredInputs) {
8355																	if(requiredInput.dataset.mask) {
8356																		if(requiredInput.dataset.mask == 'phone') {
8357																			if(!Inputmask.isValid(requiredInput.value, { mask: '+7 (999) 999-99-99'})) {
8358																				requiredInput.classList.add('error');
8359																				hasError = true;
8360																			} else {
8361																				requiredInput.classList.remove('error');
8362																			}
8363																		} else if(requiredInput.dataset.mask == 'phone_intl' && typeof window.sgPopup.elements.intl != 'undefined') {
8364																			intl = window.sgPopup.elements.intl;
8365																			if(!intl.isValidNumberPrecise()) {
8366																				requiredInput.classList.add('error');
8367																				hasError = true;
8368																			} else {
8369																				requiredInput.classList.remove('error');
8370																			}
8371																		} else if(requiredInput.dataset.mask == 'email') {
8372																			if(!Inputmask.isValid(requiredInput.value, {alias: 'email'})) {
8373																				requiredInput.classList.add('error');
8374																				hasError = true;
8375																			} else {
8376																				requiredInput.classList.remove('error');
8377																			}
8378																		}
8379																	} else {
8380																		if(requiredInput.value == '') {
8381																			requiredInput.classList.add('error');
8382																			hasError = true;
8383																		} else {
8384																			requiredInput.classList.remove('error');
8385																		}
8386																	}
8387																}
8388															}
8389								
8390															const requiredTextareas = popup.querySelectorAll('textarea[data-name][required]');
8391															if(requiredTextareas) {
8392																for(let requiredTextarea of requiredTextareas) {
8393																	if(requiredTextarea.value == '') {
8394																		requiredTextarea.classList.add('error');
8395																		hasError = true;
8396																	} else {
8397																		requiredTextarea.classList.remove('error');
8398																	}
8399																}
8400															}
8401
8402															const requiredSelects = popup.querySelectorAll('select[data-name][required]');
8403															if(requiredSelects) {
8404																for(let requiredSelect of requiredSelects) {
8405																	const niceSelect = requiredSelect.nextElementSibling;
8406																	if(niceSelect) {
8407																		if(niceSelect.querySelector('.option.selected')) {
8408																			niceSelect.classList.remove('error')
8409																		} else {
8410																			niceSelect.classList.add('error');
8411																			hasError = true
8412																		}
8413																	}
8414																}
8415															}
8416
8417															if(agrees) {
8418																for(let agree of agrees) {
8419																	if(agree.required) {
8420																		let label = agree.nextElementSibling;
8421																		if(agree.checked) {
8422																			label.classList.remove('error');
8423																		} else {
8424																			label.classList.add('error');
8425																			hasError = true;
8426																		}
8427																	}
8428																}
8429															}
8430
8431															if(hasError) {
8432																if (callback && typeof callback === 'function') {
8433																	callback(false);
8434																}
8435																return false;
8436															}
8437
8438															function sgPopup1436sendRequest() {
8439
8440								
8441																let data = {
8442																	fields: [],
8443																	cookie: document.cookie,
8444																	markers: markers,
8445																	source: location.href
8446																};
8447								
8448																const inputs = popup.querySelectorAll('input[data-name]');
8449																if(inputs) {
8450																	for(let input of inputs) {
8451																		if(input.dataset.mask == 'phone_intl' && typeof window.sgPopup.elements.intl != 'undefined') {
8452																			intl = window.sgPopup.elements.intl;
8453																			data.fields.push({
8454																				name: input.dataset.name,
8455																				value: intl.getNumber()
8456																			});
8457																		} else {
8458																			data.fields.push({
8459																				name: input.dataset.name,
8460																				value: input.value
8461																			});
8462																		}
8463																	}
8464																}
8465
8466																const textareas = popup.querySelectorAll('textarea[data-name]');
8467																if(textareas) {
8468																	for(let textarea of textareas) {
8469																		data.fields.push({
8470																			name: textarea.dataset.name,
8471																			value: textarea.value
8472																		});
8473																	}
8474																}
8475
8476																if(typeof selects != 'undefined') {
8477																	for(let select of selects) {
8478																		data.fields.push({
8479																			name: select.dataset.name,
8480																			value: select.value
8481																		});
8482																	}
8483																}
8484
8485																const hiddenInputs = popup.querySelectorAll('input[type="hidden"]');
8486																for(let hiddenInput of hiddenInputs) {
8487																	const name = hiddenInput.name;
8488																	data[hiddenInput.name] = hiddenInput.value;
8489																}
8490
8491																const fileInputs = popup.querySelectorAll('.popup-element[data-type="input-file"] input[type="file"]');
8492																if(fileInputs) {
8493																	data.files = [];
8494																	for(let fileInput of fileInputs) {
8495																		if (fileInput.files && fileInput.files.length > 0) {
8496																			data.files.push({
8497																				'name': fileInput.files[0].name,
8498																				'content': fileInput.dataset.content
8499																			});
8500																		}
8501																	}
8502																}
8503
8504																if( wheel && typeof window.prize != 'undefined' ) {
8505																	data.fields.push(window.prize);
8506																}
8507								
8508
8509																var xmlhr = new XMLHttpRequest();
8510																xmlhr.open('POST', "https://psy-muip.ru/wp-json/generator.conversion/v1/actions/?_method=POST&action=formSubmit");
8511																xmlhr.send(JSON.stringify(data));
8512
8513																xmlhr.onreadystatechange = function() {
8514																	if (xmlhr.readyState === 4 && xmlhr.status === 200) {
8515																		console.log(xmlhr.response);
8516																		const response = JSON.parse(xmlhr.response);
8517																		console.log(response);
8518								
8519																		if(response.result) {
8520									
8521																			sgSuccessPopup1436();
8522											
8523																		} else {
8524																			alert(response.message);
8525																		}
8526									
8527																	}
8528																};
8529								
8530																return true;
8531
8532															}
8533
8534															if(wheel){
8535																const circle = popup.querySelector('.wheel-circle img');
8536																if(circle) {
8537																	clearInterval(wheelInterval);
8538								
8539																	}
8540
8541																} else {
8542																	const result = sgPopup1436sendRequest();
8543																	if (callback && typeof callback === 'function') {
8544																		callback(result);
8545																	}
8546																}
8547
8548															}
8549
8550															areaLinks = popup.querySelectorAll('.popup-area[data-type="area-link"]');
8551															if(areaLinks) {
8552																for(let areaLink of areaLinks) {
8553																	areaLink.addEventListener('click', function(){
8554																		if(areaLink.dataset.link && areaLink.dataset.link != '#') {
8555																			if(areaLink.dataset.target == '_blank') {
8556																				window.open(areaLink.dataset.link);
8557																			} else {
8558																				location.href = areaLink.dataset.link
8559																			}
8560																		}
8561																	});
8562																}
8563															}
8564
8565															areaOpeners = popup.querySelectorAll('.popup-area[data-type="area-opener"]');
8566															if(areaOpeners) {
8567																for(let areaOpener of areaOpeners) {
8568																	areaOpener.addEventListener('click', function(){
8569																		if(areaOpener.dataset.popup) {
8570																			if(typeof window['sgPopup' + areaOpener.dataset.popup] == 'function') {
8571																				Fancybox.close();
8572																				window['sgPopup' + areaOpener.dataset.popup]('forceOpen');
8573																			}
8574																		}
8575																	});
8576																}
8577															}
8578
8579															const submitButton = popup.querySelector(".popup-element[data-type='button-submit'] button");
8580															if(submitButton) {
8581																submitButton.addEventListener('click', function(event){
8582
8583																	event.preventDefault();
8584																	submitButton.disabled = true;
8585
8586																	sgPopup1436submit(function(result){
8587																		submitButton.disabled = result;
8588																	});
8589
8590																})
8591															}
8592														}
8593													},
8594													close: () => {
8595														window.sgPopup.opened = false;
8596														window.sgPopup.shown.push(1436);
8597														if(window.sgPopup.queue.length) {
8598															setTimeout(function(){
8599																let popupID = window.sgPopup.queue.shift();
8600																window['sgPopup' + popupID]('forceOpen');
8601															}, 30000);
8602														}
8603								
8604													}
8605												}
8606											})
8607										}
8608									}
8609								}
8610							
8611								function sgSuccessPopup1436() {
8612							
8613									let html;
8614									let closeButton;
8615									if(window.innerWidth >= 1040) {
8616										html = "<noindex id='SGsuccess1436' class='popup-wrapper grid-hidden'><div class='success-area' data-type='area-container' style='position: absolute; top: 120px; left: 40px; width: 340px; 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: 420px; 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>";
8617							closeButton = false;
8618									} else {
8619										html = "<noindex id='SGsuccess1436' 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>";
8620							closeButton = false;
8621									}
8622							
8623									Fancybox.close();
8624									new Fancybox([
8625										{
8626											src: html,
8627											type: 'html'
8628										}
8629									], {
8630										dragToClose: false,
8631										closeButton: closeButton,
8632										autoFocus: false,
8633										trapFocus: false,
8634										on: {
8635											done: (fancybox, slide) => {
8636							
8637												const success = document.querySelector("#SGsuccess1436");
8638												if(success) {
8639
8640													buttonLinks = success.querySelectorAll('button[data-type="link"]');
8641													if(buttonLinks) {
8642														for(let buttonLink of buttonLinks) {
8643															buttonLink.addEventListener('click', function(){
8644																if(buttonLink.dataset.link) {
8645																	if(buttonLink.dataset.target == '_blank') {
8646																		window.open(buttonLink.dataset.link);
8647																	} else {
8648																		location.href = buttonLink.dataset.link
8649																	}
8650																}
8651															});
8652														}
8653													}
8654													
8655												}
8656							
8657												setTimeout(function(){
8658													Fancybox.close();
8659												}, 3000);
8660									
8661											},
8662											close: () => {
8663												window.sgPopup.opened = false;
8664											}
8665										}
8666									});
8667								}
8668							</script>
vendor: 1 bytes, line 8668
8668
8669<script>
8670								if(typeof window.sgPopup == 'undefined') {
8671									window.sgPopup = {
8672										opened: false,
8673										queue: [],
8674										shown: [],
8675										elements: {}
8676									};
8677								}
8678						
8679								addEventListener('DOMContentLoaded', () => {
8680						
8681									document.body.addEventListener('click', function(event){
8682										if(
8683											event.target.dataset.target == "sgPopup1437"
8684											|| event.target.closest('[data-target="sgPopup1437"]')
8685										) {
8686											Fancybox.close();
8687											sgPopup1437('forceOpen');
8688										}
8689									});
8690
8691									sgPopup1437autoOpen();
8692								});
8693
8694								function sgPopup1437autoOpen() {
8695							
8696								}
8697
8698								function sgPopup1437reachGoal(code) {
8699
8700									function executeGoal(params) {
8701										if(typeof params == 'object') {
8702
8703											eval('ym('+ params.join(',') +');');
8704
8705											let data = {
8706												'goal': params[2],
8707												timestamp: new Date().toISOString()
8708											};
8709
8710											var xmlhr = new XMLHttpRequest();
8711											xmlhr.open('POST', "https://psy-muip.ru/wp-json/generator.conversion/v1/actions/?_method=POST&action=goalLog");
8712											xmlhr.send(JSON.stringify(data));
8713
8714											xmlhr.onreadystatechange = function() {
8715												if (xmlhr.readyState === 4 && xmlhr.status === 200) {
8716													if( urlParams.get('debug') ) {
8717														const response = JSON.parse(xmlhr.response);
8718														console.log(response);
8719													}
8720												}
8721											}
8722
8723										}
8724									}
8725
8726									const goals = code.split(';');
8727									if(goals) {
8728										for(let goal of goals) {
8729											goal = goal.trim();
8730											if(goal != '') {
8731												const regexp = /ym(.*)/;
8732												if( regexp.test(goal) ) {
8733
8734													goal = goal.replace('ym(', '');
8735													goal = goal.replace(')', '');
8736													const params = goal.split(',');
8737													if(params) {
8738
8739														if (typeof window.ym != 'undefined') {
8740															executeGoal(params);
8741														} else {
8742															if(typeof window.popup1437goals == 'undefined') {
8743																window.popup1437goals = [];
8744															}
8745
8746															window.popup1437goals.push({
8747																'metrika': params[0],
8748																'action': params[1],
8749																'id': params[2]
8750															});
8751
8752															if(typeof popup1437interval == 'undefined') {
8753																popup1437interval = setInterval(function(){
8754																	if (typeof window.ym != 'undefined') {
8755																		for(let goal of window.popup1437goals) {
8756																			executeGoal(params);
8757																		}
8758																		window.popup1437goals = [];
8759																		clearInterval(popup1437interval);
8760																	}
8761																}, 1000);
8762															}
8763														}
8764													}
8765												} else {
8766													eval(goal);
8767												}
8768											}
8769										}
8770									}
8771
8772								}
8773
8774								function sgPopup1437(action = false) {
8775
8776									if(!action) return;
8777
8778									if( ['open', 'forceOpen'].includes(action) ) {
8779
8780								
8781										if(action == 'open' && window.sgPopup.shown.includes(1437)) {
8782											return false;
8783										}
8784
8785										if(window.sgPopup.opened) {
8786
8787											if(window.sgPopup.opened != 1437) {
8788												window.sgPopup.queue.push(1437);
8789											}
8790
8791										} else {
8792
8793											window.sgPopup.opened = 1437;
8794
8795											let html;
8796											let closeButton;
8797											if(window.innerWidth >= 1040) {
8798												html = "<noindex id='SGpopup1437' class='popup-wrapper grid-hidden'><div class='popup-area' data-type='close-container' style='position: absolute; top: 2px; left: 717px; margin-left: -40px; width: 40px; height: 40px; '><div class='popup-element' data-type='button-close' style=''><div class='popupElement-content'><button type=\"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=\"#ffffff\"><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: absolute; top: 2px; left: -2px; margin-left: ; width: 658px; height: 735px; '><div class='popup-element' data-type='getcourse' style='margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;'><div class='popupElement-content'><div data-id=\"f29f994ffb82b94f15d4ed5d9d950ca3d0d1ab45\" data-src=\"https://reiraofficial.getcourse.ru/pl/lite/widget/script?id=1322041\"></div></div></div></div><input type='hidden' name='popupID' value='1437'><input type='hidden' name='projectID' value='453'></noindex>";
8799								
8800												closeButton = false;
8801										
8802											} else {
8803								
8804												html = "<noindex id='SGpopup1437' class='popup-wrapper grid-hidden'><div class='popup-area' data-type='close-container' style='position: absolute; top: -40px; left: 371px; margin-left: -40px; width: 40px; height: 40px; '><div class='popup-element' data-type='button-close' style=''><div class='popupElement-content'><button type=\"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=\"#ffffff\"><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: absolute; top: 2px; left: -2px; margin-left: ; width: 658px; height: 735px; '><div class='popup-element' data-type='getcourse' style='margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;'><div class='popupElement-content'><div data-id=\"f29f994ffb82b94f15d4ed5d9d950ca3d0d1ab45\" data-src=\"https://reiraofficial.getcourse.ru/pl/lite/widget/script?id=1322041\"></div></div></div></div><input type='hidden' name='popupID' value='1437'><input type='hidden' name='projectID' value='453'></noindex>";
8805								
8806												closeButton = false;
8807										
8808											}
8809								
8810											Fancybox.close();
8811											new Fancybox([
8812												{
8813													src: html,
8814													type: 'html'
8815												}
8816											], {
8817												dragToClose: false,
8818												closeButton: closeButton,
8819												compact: false,
8820												autoFocus: false,
8821												trapFocus: false,
8822												on: {
8823													done: (fancybox, slide) => {
8824								
8825													const popup = document.querySelector("#SGpopup1437");
8826													if(popup) {
8827
8828														const url = new URL(location.href);
8829														window.utm_source = url.searchParams.get('utm_source');
8830														window.utm_medium = url.searchParams.get('utm_medium');
8831														window.utm_campaign = url.searchParams.get('utm_campaign');
8832														window.utm_term = url.searchParams.get('utm_term');
8833														window.utm_content = url.searchParams.get('utm_content');
8834
8835								
8836														const getCourseBlocks = popup.querySelectorAll('*[data-type="getcourse"] *[data-id][data-src]');
8837														if(getCourseBlocks) {
8838															for(let getCourseBlock of getCourseBlocks) {
8839																const ID = getCourseBlock.dataset.id;
8840																const SRC = getCourseBlock.dataset.src;
8841																const script = document.createElement('script');
8842																script.id = ID;
8843																script.src = SRC;
8844																script.async = true;
8845																script.onload = () => {
8846																	const myEvent = new CustomEvent('StartWidget'+ ID);
8847																	document.dispatchEvent(myEvent);
8848																}
8849																getCourseBlock.appendChild(script);
8850															}
8851														}
8852									
8853														openerLinks = popup.querySelectorAll('a[data-target]');
8854														if(openerLinks) {
8855															for(let openerLink of openerLinks) {
8856																openerLink.addEventListener('click', function(){
8857																	if(openerLink.dataset.target) {
8858																		if(typeof window[openerLink.dataset.target] == 'function') {
8859																			Fancybox.close();
8860																			window[openerLink.dataset.target]('open');
8861																		}
8862																	}
8863																});
8864															}
8865														}
8866
8867														linkImages = popup.querySelectorAll('.image-wrapper[data-type="link"]');
8868														if(linkImages) {
8869															for(let linkImage of linkImages) {
8870																linkImage.addEventListener('click', function(){
8871																	if(linkImage.dataset.link) {
8872																		if(linkImage.dataset.target == '_blank') {
8873																			window.open(linkImage.dataset.link);
8874																		} else {
8875																			location.href = linkImage.dataset.link
8876																		}
8877																	}
8878																});
8879															}
8880														}
8881
8882														openerImages = popup.querySelectorAll('.image-wrapper[data-type="opener"]');
8883														if(openerImages) {
8884															for(let openerImage of openerImages) {
8885																openerImage.addEventListener('click', function(){
8886																	if(openerImage.dataset.popup) {
8887																		if(typeof window['sgPopup' + openerImage.dataset.popup] == 'function') {
8888																			Fancybox.close();
8889																			window['sgPopup' + openerImage.dataset.popup]('forceOpen');
8890																		}
8891																	}
8892																});
8893															}
8894														}
8895
8896														submitImages = popup.querySelectorAll('.image-wrapper[data-type="submitter"]');
8897														if(submitImages) {
8898															for(let submitImage of submitImages) {
8899																submitImage.addEventListener('click', function(){
8900
8901																	if(submitImage.classList.contains('disabled')) return false;
8902
8903																	submitImage.classList.add('disabled');
8904
8905																	sgPopup1437submit(function(result){
8906																		submitImage.classList.toggle('disabled', result);
8907																	});
8908
8909																});
8910															}
8911														}
8912
8913														const linkButtons = popup.querySelectorAll('button[data-type="link"]');
8914														if(linkButtons) {
8915															for(let linkButton of linkButtons) {
8916																linkButton.addEventListener('click', function(){
8917																	if(linkButton.dataset.link && linkButton.dataset.link != '#') {
8918								
8919																		if(linkButton.dataset.target == '_blank') {
8920																			window.open(linkButton.dataset.link);
8921																		} else {
8922																			location.href = linkButton.dataset.link
8923																		}
8924																	}
8925																});
8926															}
8927														}
8928
8929														openerButtons = popup.querySelectorAll('button[data-type="opener"]');
8930														if(openerButtons) {
8931															for(let openerButton of openerButtons) {
8932																openerButton.addEventListener('click', function(){
8933									
8934																	if(openerButton.dataset.popup) {
8935																		if(typeof window['sgPopup' + openerButton.dataset.popup] == 'function') {
8936																			Fancybox.close();
8937																			window['sgPopup' + openerButton.dataset.popup]('forceOpen');
8938																		}
8939																	}
8940																});
8941															}
8942														}
8943
8944														const maskedFields = popup.querySelectorAll('input[data-mask]');
8945														if(maskedFields) {
8946															for(let maskedField of maskedFields) {
8947																if(maskedField.dataset.mask == 'phone') {
8948																	Inputmask('+7 (999) 999-99-99', {
8949																		clearIncomplete: true,
8950																		greedy: false
8951																	}).mask(maskedField);
8952								
8953																} else if(maskedField.dataset.mask == 'email') {
8954																	Inputmask({
8955																	alias: 'email',
8956																		clearIncomplete: true,
8957																		greedy: false
8958																	}).mask(maskedField);
8959																}
8960															}
8961														}
8962
8963														const fileInputs = popup.querySelectorAll('.popup-element[data-type="input-file"] input[type="file"]');
8964														if(fileInputs) {
8965															for(let fileInput of fileInputs) {
8966																let label = fileInput.nextElementSibling;
8967																if(label) {
8968																	fileInput.addEventListener('change', function() {
8969																		if (fileInput.files && fileInput.files.length > 0) {
8970																			const maxSize = fileInput.dataset.limit;
8971																			if(fileInput.files[0].size <= maxSize * 1024 * 1024) {
8972																				reader = new FileReader();
8973																				reader.onload = function(){
8974																					const span = label.querySelector('span');
8975																					if(span) {
8976																						span.innerHTML = fileInput.files[0].name;
8977																					}
8978																					fileInput.dataset.content = reader.result;
8979																				};
8980																				reader.readAsDataURL(fileInput.files[0]);
8981																			} else {
8982																				alert('Превышен максимальный размер файла - '+ maxSize +'мб');
8983																			}
8984																		}
8985																	});
8986																	label.addEventListener('click', function(event){
8987																		event.preventDefault();
8988																		fileInput.click();
8989																	});
8990																}
8991															}
8992														}
8993
8994														const agrees = popup.querySelectorAll('.popup-element[data-type="agree"] input[type="checkbox"]');
8995														if(agrees) {
8996															for(let agree of agrees) {
8997																let parent = agree.closest('.popup-element');
8998																if(parent) {
8999																	let label = agree.nextElementSibling;
9000																	if(label) {
9001																		label.addEventListener('click', function(event){
9002																			event.preventDefault();
9003																			agree.checked = !agree.checked;
9004
9005
9006																			if(parent.dataset.mode == 'general') {
9007																				const agreeAll = agree;
9008																				for(let agree of agrees) {
9009																					agree.checked = agreeAll.checked;
9010																				}
9011																			}
9012
9013																			let agreeCount = 0;
9014																			let agreeSelected = 0;
9015																			for(let agree of agrees) {
9016																				const parent = agree.closest('.popup-element');
9017																				if(parent && parent.dataset.mode != 'general') {
9018																					agreeCount++;
9019																					if(agree.checked) {
9020																						agreeSelected++;
9021																					}
9022																				}
9023																			}
9024
9025																			const general = popup.querySelector('.popup-element[data-type="agree"][data-mode="general"]');
9026																			if(general) {
9027																				general.classList.toggle('all-selected', agreeSelected == agreeCount);
9028																				general.classList.toggle('no-selected', agreeSelected == 0);
9029																				general.classList.toggle('some-selected', agreeSelected > 0 && agreeSelected < agreeCount);
9030
9031																				const checkbox = general.querySelector('input[type="checkbox"]');
9032																				if(checkbox) {
9033																					if(agreeSelected == agreeCount) {
9034																						checkbox.checked = true;
9035																					} else {
9036																						checkbox.checked = false;
9037																					}
9038																				}
9039																			}
9040																		});
9041																		const links = label.querySelectorAll('a');
9042																		if(links) {
9043																			for(let link of links) {
9044																				link.addEventListener('click', function(event){
9045																					event.stopPropagation()
9046																				});
9047																			}
9048																		}
9049																	}
9050																}
9051															}
9052														}
9053
9054														const wheel = popup.querySelector('.popup-element[data-type="wheel"]');
9055														let wheelInterval;
9056														let wheelAngle = 0;
9057														if(wheel){
9058															const circle = popup.querySelector('.wheel-circle img');
9059															if(circle) {
9060																wheelInterval = setInterval(function(){
9061																	wheelAngle += 0.2;
9062																	if(wheelAngle > 360) {
9063																		wheelAngle -= 360;
9064																	}
9065																	circle.setAttribute('style', 'transform: rotate('+ wheelAngle +'deg)');
9066																}, 40);
9067															}
9068														}
9069
9070														const closeTriggers = popup.querySelectorAll('.popup-element[data-type="button-close"] button:not([data-fancybox-close])');
9071														if(closeTriggers) {
9072															for(let closeTrigger of closeTriggers) {
9073																closeTrigger.addEventListener('click', function(){
9074																	Fancybox.close();
9075																})
9076															}
9077														}
9078
9079														function sgPopup1437submit(callback = false) {
9080
9081															let hasError = false;
9082															const requiredInputs = popup.querySelectorAll('input[data-name][required]');
9083															if(requiredInputs) {
9084																for(let requiredInput of requiredInputs) {
9085																	if(requiredInput.dataset.mask) {
9086																		if(requiredInput.dataset.mask == 'phone') {
9087																			if(!Inputmask.isValid(requiredInput.value, { mask: '+7 (999) 999-99-99'})) {
9088																				requiredInput.classList.add('error');
9089																				hasError = true;
9090																			} else {
9091																				requiredInput.classList.remove('error');
9092																			}
9093																		} else if(requiredInput.dataset.mask == 'phone_intl' && typeof window.sgPopup.elements.intl != 'undefined') {
9094																			intl = window.sgPopup.elements.intl;
9095																			if(!intl.isValidNumberPrecise()) {
9096																				requiredInput.classList.add('error');
9097																				hasError = true;
9098																			} else {
9099																				requiredInput.classList.remove('error');
9100																			}
9101																		} else if(requiredInput.dataset.mask == 'email') {
9102																			if(!Inputmask.isValid(requiredInput.value, {alias: 'email'})) {
9103																				requiredInput.classList.add('error');
9104																				hasError = true;
9105																			} else {
9106																				requiredInput.classList.remove('error');
9107																			}
9108																		}
9109																	} else {
9110																		if(requiredInput.value == '') {
9111																			requiredInput.classList.add('error');
9112																			hasError = true;
9113																		} else {
9114																			requiredInput.classList.remove('error');
9115																		}
9116																	}
9117																}
9118															}
9119								
9120															const requiredTextareas = popup.querySelectorAll('textarea[data-name][required]');
9121															if(requiredTextareas) {
9122																for(let requiredTextarea of requiredTextareas) {
9123																	if(requiredTextarea.value == '') {
9124																		requiredTextarea.classList.add('error');
9125																		hasError = true;
9126																	} else {
9127																		requiredTextarea.classList.remove('error');
9128																	}
9129																}
9130															}
9131
9132															const requiredSelects = popup.querySelectorAll('select[data-name][required]');
9133															if(requiredSelects) {
9134																for(let requiredSelect of requiredSelects) {
9135																	const niceSelect = requiredSelect.nextElementSibling;
9136																	if(niceSelect) {
9137																		if(niceSelect.querySelector('.option.selected')) {
9138																			niceSelect.classList.remove('error')
9139																		} else {
9140																			niceSelect.classList.add('error');
9141																			hasError = true
9142																		}
9143																	}
9144																}
9145															}
9146
9147															if(agrees) {
9148																for(let agree of agrees) {
9149																	if(agree.required) {
9150																		let label = agree.nextElementSibling;
9151																		if(agree.checked) {
9152																			label.classList.remove('error');
9153																		} else {
9154																			label.classList.add('error');
9155																			hasError = true;
9156																		}
9157																	}
9158																}
9159															}
9160
9161															if(hasError) {
9162																if (callback && typeof callback === 'function') {
9163																	callback(false);
9164																}
9165																return false;
9166															}
9167
9168															function sgPopup1437sendRequest() {
9169
9170								
9171																let data = {
9172																	fields: [],
9173																	cookie: document.cookie,
9174																	markers: markers,
9175																	source: location.href
9176																};
9177								
9178																const inputs = popup.querySelectorAll('input[data-name]');
9179																if(inputs) {
9180																	for(let input of inputs) {
9181																		if(input.dataset.mask == 'phone_intl' && typeof window.sgPopup.elements.intl != 'undefined') {
9182																			intl = window.sgPopup.elements.intl;
9183																			data.fields.push({
9184																				name: input.dataset.name,
9185																				value: intl.getNumber()
9186																			});
9187																		} else {
9188																			data.fields.push({
9189																				name: input.dataset.name,
9190																				value: input.value
9191																			});
9192																		}
9193																	}
9194																}
9195
9196																const textareas = popup.querySelectorAll('textarea[data-name]');
9197																if(textareas) {
9198																	for(let textarea of textareas) {
9199																		data.fields.push({
9200																			name: textarea.dataset.name,
9201																			value: textarea.value
9202																		});
9203																	}
9204																}
9205
9206																if(typeof selects != 'undefined') {
9207																	for(let select of selects) {
9208																		data.fields.push({
9209																			name: select.dataset.name,
9210																			value: select.value
9211																		});
9212																	}
9213																}
9214
9215																const hiddenInputs = popup.querySelectorAll('input[type="hidden"]');
9216																for(let hiddenInput of hiddenInputs) {
9217																	const name = hiddenInput.name;
9218																	data[hiddenInput.name] = hiddenInput.value;
9219																}
9220
9221																const fileInputs = popup.querySelectorAll('.popup-element[data-type="input-file"] input[type="file"]');
9222																if(fileInputs) {
9223																	data.files = [];
9224																	for(let fileInput of fileInputs) {
9225																		if (fileInput.files && fileInput.files.length > 0) {
9226																			data.files.push({
9227																				'name': fileInput.files[0].name,
9228																				'content': fileInput.dataset.content
9229																			});
9230																		}
9231																	}
9232																}
9233
9234																if( wheel && typeof window.prize != 'undefined' ) {
9235																	data.fields.push(window.prize);
9236																}
9237								
9238
9239																var xmlhr = new XMLHttpRequest();
9240																xmlhr.open('POST', "https://psy-muip.ru/wp-json/generator.conversion/v1/actions/?_method=POST&action=formSubmit");
9241																xmlhr.send(JSON.stringify(data));
9242
9243																xmlhr.onreadystatechange = function() {
9244																	if (xmlhr.readyState === 4 && xmlhr.status === 200) {
9245																		console.log(xmlhr.response);
9246																		const response = JSON.parse(xmlhr.response);
9247																		console.log(response);
9248								
9249																		if(response.result) {
9250									
9251																			sgSuccessPopup1437();
9252											
9253																		} else {
9254																			alert(response.message);
9255																		}
9256									
9257																	}
9258																};
9259								
9260																return true;
9261
9262															}
9263
9264															if(wheel){
9265																const circle = popup.querySelector('.wheel-circle img');
9266																if(circle) {
9267																	clearInterval(wheelInterval);
9268								
9269																	}
9270
9271																} else {
9272																	const result = sgPopup1437sendRequest();
9273																	if (callback && typeof callback === 'function') {
9274																		callback(result);
9275																	}
9276																}
9277
9278															}
9279
9280															areaLinks = popup.querySelectorAll('.popup-area[data-type="area-link"]');
9281															if(areaLinks) {
9282																for(let areaLink of areaLinks) {
9283																	areaLink.addEventListener('click', function(){
9284																		if(areaLink.dataset.link && areaLink.dataset.link != '#') {
9285																			if(areaLink.dataset.target == '_blank') {
9286																				window.open(areaLink.dataset.link);
9287																			} else {
9288																				location.href = areaLink.dataset.link
9289																			}
9290																		}
9291																	});
9292																}
9293															}
9294
9295															areaOpeners = popup.querySelectorAll('.popup-area[data-type="area-opener"]');
9296															if(areaOpeners) {
9297																for(let areaOpener of areaOpeners) {
9298																	areaOpener.addEventListener('click', function(){
9299																		if(areaOpener.dataset.popup) {
9300																			if(typeof window['sgPopup' + areaOpener.dataset.popup] == 'function') {
9301																				Fancybox.close();
9302																				window['sgPopup' + areaOpener.dataset.popup]('forceOpen');
9303																			}
9304																		}
9305																	});
9306																}
9307															}
9308
9309															const submitButton = popup.querySelector(".popup-element[data-type='button-submit'] button");
9310															if(submitButton) {
9311																submitButton.addEventListener('click', function(event){
9312
9313																	event.preventDefault();
9314																	submitButton.disabled = true;
9315
9316																	sgPopup1437submit(function(result){
9317																		submitButton.disabled = result;
9318																	});
9319
9320																})
9321															}
9322														}
9323													},
9324													close: () => {
9325														window.sgPopup.opened = false;
9326														window.sgPopup.shown.push(1437);
9327														if(window.sgPopup.queue.length) {
9328															setTimeout(function(){
9329																let popupID = window.sgPopup.queue.shift();
9330																window['sgPopup' + popupID]('forceOpen');
9331															}, 30000);
9332														}
9333								
9334													}
9335												}
9336											})
9337										}
9338									}
9339								}
9340							
9341								function sgSuccessPopup1437() {
9342							
9343									let html;
9344									let closeButton;
9345									if(window.innerWidth >= 1040) {
9346										html = "<noindex id='SGsuccess1437' class='popup-wrapper grid-hidden'><div class='success-area' data-type='area-container' style='position: absolute; top: 120px; left: 40px; width: 340px; 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: 420px; 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>";
9347							closeButton = false;
9348									} else {
9349										html = "<noindex id='SGsuccess1437' 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>";
9350							closeButton = false;
9351									}
9352							
9353									Fancybox.close();
9354									new Fancybox([
9355										{
9356											src: html,
9357											type: 'html'
9358										}
9359									], {
9360										dragToClose: false,
9361										closeButton: closeButton,
9362										autoFocus: false,
9363										trapFocus: false,
9364										on: {
9365											done: (fancybox, slide) => {
9366							
9367												const success = document.querySelector("#SGsuccess1437");
9368												if(success) {
9369
9370													buttonLinks = success.querySelectorAll('button[data-type="link"]');
9371													if(buttonLinks) {
9372														for(let buttonLink of buttonLinks) {
9373															buttonLink.addEventListener('click', function(){
9374																if(buttonLink.dataset.link) {
9375																	if(buttonLink.dataset.target == '_blank') {
9376																		window.open(buttonLink.dataset.link);
9377																	} else {
9378																		location.href = buttonLink.dataset.link
9379																	}
9380																}
9381															});
9382														}
9383													}
9384													
9385												}
9386							
9387												setTimeout(function(){
9388													Fancybox.close();
9389												}, 3000);
9390									
9391											},
9392											close: () => {
9393												window.sgPopup.opened = false;
9394											}
9395										}
9396									});
9397								}
9398							</script>
vendor: 1 bytes, line 9398
9398
9399<script>
9400								if(typeof window.sgPopup == 'undefined') {
9401									window.sgPopup = {
9402										opened: false,
9403										queue: [],
9404										shown: [],
9405										elements: {}
9406									};
9407								}
9408						
9409								addEventListener('DOMContentLoaded', () => {
9410						
9411									document.body.addEventListener('click', function(event){
9412										if(
9413											event.target.dataset.target == "sgPopup1461"
9414											|| event.target.closest('[data-target="sgPopup1461"]')
9415										) {
9416											Fancybox.close();
9417											sgPopup1461('forceOpen');
9418										}
9419									});
9420
9421									sgPopup1461autoOpen();
9422								});
9423
9424								function sgPopup1461autoOpen() {
9425							
9426								}
9427
9428								function sgPopup1461reachGoal(code) {
9429
9430									function executeGoal(params) {
9431										if(typeof params == 'object') {
9432
9433											eval('ym('+ params.join(',') +');');
9434
9435											let data = {
9436												'goal': params[2],
9437												timestamp: new Date().toISOString()
9438											};
9439
9440											var xmlhr = new XMLHttpRequest();
9441											xmlhr.open('POST', "https://psy-muip.ru/wp-json/generator.conversion/v1/actions/?_method=POST&action=goalLog");
9442											xmlhr.send(JSON.stringify(data));
9443
9444											xmlhr.onreadystatechange = function() {
9445												if (xmlhr.readyState === 4 && xmlhr.status === 200) {
9446													if( urlParams.get('debug') ) {
9447														const response = JSON.parse(xmlhr.response);
9448														console.log(response);
9449													}
9450												}
9451											}
9452
9453										}
9454									}
9455
9456									const goals = code.split(';');
9457									if(goals) {
9458										for(let goal of goals) {
9459											goal = goal.trim();
9460											if(goal != '') {
9461												const regexp = /ym(.*)/;
9462												if( regexp.test(goal) ) {
9463
9464													goal = goal.replace('ym(', '');
9465													goal = goal.replace(')', '');
9466													const params = goal.split(',');
9467													if(params) {
9468
9469														if (typeof window.ym != 'undefined') {
9470															executeGoal(params);
9471														} else {
9472															if(typeof window.popup1461goals == 'undefined') {
9473																window.popup1461goals = [];
9474															}
9475
9476															window.popup1461goals.push({
9477																'metrika': params[0],
9478																'action': params[1],
9479																'id': params[2]
9480															});
9481
9482															if(typeof popup1461interval == 'undefined') {
9483																popup1461interval = setInterval(function(){
9484																	if (typeof window.ym != 'undefined') {
9485																		for(let goal of window.popup1461goals) {
9486																			executeGoal(params);
9487																		}
9488																		window.popup1461goals = [];
9489																		clearInterval(popup1461interval);
9490																	}
9491																}, 1000);
9492															}
9493														}
9494													}
9495												} else {
9496													eval(goal);
9497												}
9498											}
9499										}
9500									}
9501
9502								}
9503
9504								function sgPopup1461(action = false) {
9505
9506									if(!action) return;
9507
9508									if( ['open', 'forceOpen'].includes(action) ) {
9509
9510								
9511										if(action == 'open' && window.sgPopup.shown.includes(1461)) {
9512											return false;
9513										}
9514
9515										if(window.sgPopup.opened) {
9516
9517											if(window.sgPopup.opened != 1461) {
9518												window.sgPopup.queue.push(1461);
9519											}
9520
9521										} else {
9522
9523											window.sgPopup.opened = 1461;
9524
9525											let html;
9526											let closeButton;
9527											if(window.innerWidth >= 1040) {
9528												html = "<noindex id='SGpopup1461' class='popup-wrapper grid-hidden'><div class='popup-area' data-type='area-container' style='position: relative; top: 198px; left: 17px; margin-left: ; width: 439.867px; height: 335px; '><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=\"Введите ваше имя\" data-name=\"Имя\" data-mask=\"null\" style=\"background-color: rgb(255, 255, 255); border-color: rgb(227, 227, 227); font-size: 17px; color: rgb(104, 104, 104); padding: 8px 12px; border-radius: 30px;\"></div></div><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=\"Ваш e-mail, например: [email protected]\" data-name=\"Почта\" data-mask=\"email\" required=\"\" style=\"background-color: rgb(255, 255, 255); border-color: rgb(227, 227, 227); font-size: 17px; color: rgb(104, 104, 104); padding: 8px 12px; border-radius: 30px;\"></div></div><div class='popup-element' data-type='input' style='margin-top: 0px;margin-right: 0px;margin-bottom: 9px;margin-left: 0px;'><div class='popupElement-content'><input type=\"text\" placeholder=\"+7 (___) ___ - __ - __\" data-name=\"Телефон\" data-mask=\"phone\" required=\"\" style=\"background-color: rgb(255, 255, 255); border-color: rgb(225, 225, 226); font-size: 17px; color: rgb(120, 120, 120); padding: 8px 12px; border-radius: 30px;\"></div></div><div class='popup-element' data-type='input' style='margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;'><div class='popupElement-content'><input type=\"text\" placeholder=\"Ник в телеграм\" data-name=\"Ник\" data-mask=\"null\" required=\"\" style=\"background-color: rgb(255, 255, 255); border-color: rgb(225, 225, 226); font-size: 17px; color: rgb(125, 122, 122); padding: 8px 12px; border-radius: 30px;\"></div></div><div class='popup-element' data-type='button-submit' style='margin-top: 10px;margin-right: 0px;margin-bottom: 7px;margin-left: 0px;'><div class='popupElement-content'><button type=\"submit\" style=\"background-color: rgb(10, 117, 111); color: rgb(0, 0, 0); font-size: 19px; border-radius: 30px; padding: 16px 14px;\" onclick=\"\"><div class=\"buttonSubmit-content\"><p><span style=\"color:hsl(0,0%,100%);font-size:18px;\">Получить доступ</span></p></div></button></div></div><div class='popup-element' data-type='agree' data-element-id='382140' data-fill='#9e9e9eff' data-mode='default' style='margin-top: 0px;margin-right: 0px;margin-bottom: 4px;margin-left: 0px;'><style>#SGpopup1461 .popup-element[data-element-id='382140'][data-type='agree'] .popupElement-content input[type='checkbox'] + label:before {border-color: #9e9e9eff;} #SGpopup1461 .popup-element[data-element-id='382140'][data-type='agree'] .popupElement-content input[type='checkbox'] + label:after {background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHhtbG5zOnhsaW5rPSdodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rJyB2ZXJzaW9uPScxLjEnIHg9JzBweCcgeT0nMHB4JyB3aWR0aD0nNTEycHgnIGhlaWdodD0nNTEycHgnIHZpZXdCb3g9JzAgMCA0NDIuNTMzIDQ0Mi41MzMnIHN0eWxlPSdlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDQ0Mi41MzMgNDQyLjUzMycgeG1sOnNwYWNlPSdwcmVzZXJ2ZSc+PHBhdGggZD0nTTQzNC41MzksOTguNDk5bC0zOC44MjgtMzguODI4Yy01LjMyNC01LjMyOC0xMS43OTktNy45OTMtMTkuNDEtNy45OTNjLTcuNjE4LDAtMTQuMDkzLDIuNjY1LTE5LjQxNyw3Ljk5M0wxNjkuNTksMjQ3LjI0OCBsLTgzLjkzOS04NC4yMjVjLTUuMzMtNS4zMy0xMS44MDEtNy45OTItMTkuNDEyLTcuOTkyYy03LjYxNiwwLTE0LjA4NywyLjY2Mi0xOS40MTcsNy45OTJMNy45OTQsMjAxLjg1MiAgIEMyLjY2NCwyMDcuMTgxLDAsMjEzLjY1NCwwLDIyMS4yNjljMCw3LjYwOSwyLjY2NCwxNC4wODgsNy45OTQsMTkuNDE2bDEwMy4zNTEsMTAzLjM0OWwzOC44MzEsMzguODI4IGM1LjMyNyw1LjMzMiwxMS44LDcuOTk0LDE5LjQxNCw3Ljk5NGM3LjYxMSwwLDE0LjA4NC0yLjY2OSwxOS40MTQtNy45OTRsMzguODMtMzguODI4TDQzNC41MzksMTM3LjMzIGM1LjMyNS01LjMzLDcuOTk0LTExLjgwMiw3Ljk5NC0xOS40MTdDNDQyLjUzNywxMTAuMzAyLDQzOS44NjQsMTAzLjgyOSw0MzQuNTM5LDk4LjQ5OXonIGZpbGw9JyM5ZTllOWVmZicvPjwvc3ZnPg==);}</style><div class='popupElement-content'><input type=\"checkbox\" checked=\"\" required=\"\" tabindex=\"-1\" data-orig-tabindex=\"-1\"><label><p><span style=\"color:hsl(0,0%,18%);font-size:9px;\">Я согласен на обработку моих персональных данных. 
С&nbsp;</span><a href=\"https://psy-muip.ru/agreement\" data-fpl-component=\"primitive\" target=\"_blank\" rel=\"noopener\"><span style=\"color:hsl(0,0%,18%);font-size:9px;\"><u>Политикой обработки персональных данных</u></span></a><span style=\"color:hsl(0,0%,18%);font-size:9px;\">&nbsp;ознакомлен</span></p></label></div></div><div class='popup-element' data-type='editor' data-element-id='397903' style='padding-top: 0px;padding-right: 0px;padding-bottom: 0px;padding-left: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;' data-p-margin-bottom='13px' data-p-line-height='80%'><style>#SGpopup1461 .popup-element[data-element-id='397903'][data-type='editor'] p {margin-bottom: 13px}#SGpopup1461 .popup-element[data-element-id='397903'][data-type='editor'] * {line-height: 80%}</style><div class='popupElement-content'><p><a href=\"https://psy-muip.ru/politika\" data-fpl-component=\"primitive\" target=\"_blank\" rel=\"noopener\"><span style=\"color:hsl(0,0%,18%);font-size:9px;\"><u>Политика&nbsp;в отношении обработки персональных данных</u></span></a><span style=\"color:hsl(0,0%,18%);font-size:9px;\"> | </span><a href=\"https://psy-muip.ru/custom\" data-fpl-component=\"primitive\" target=\"_blank\" rel=\"noopener\"><span style=\"color:hsl(0,0%,18%);font-size:9px;\"><u>Пользовательское соглашение</u></span></a><br><a href=\"https://psy-muip.ru/agreement\" data-fpl-component=\"primitive\" target=\"_blank\" rel=\"noopener\"><span style=\"color:hsl(0,0%,18%);font-size:9px;\"><u>Согласие на обработку персональных данных</u></span></a><span style=\"color:hsl(0,0%,18%);font-size:9px;\"> | </span><a href=\"https://psy-muip.ru/rassylka\" data-fpl-component=\"primitive\" target=\"_blank\" rel=\"noopener\"><span style=\"color:hsl(0,0%,18%);font-size:9px;\"><u>Согласие на рассылку материалов</u></span></a></p></div></div></div><div class='popup-area' data-type='close-container' style='position: absolute;
9528 top: 17px; left: 983px; 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: 36px; height: 36px; background-color: rgba(0, 0, 0, 0); border: 1px 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(255, 14, 14);\"><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: absolute; top: 32px; left: 51px; margin-left: ; width: 296px; height: 23px; '><div class='popup-element' data-type='editor' data-element-id='282892' style='padding-top: 0px;padding-right: 0px;padding-bottom: 0px;padding-left: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;' data-p-margin-bottom='20px' data-p-line-height='120%'><style>#SGpopup1461 .popup-element[data-element-id='282892'][data-type='editor'] p {margin-bottom: 20px}#SGpopup1461 .popup-element[data-element-id='282892'][data-type='editor'] * {line-height: 120%}</style><div class='popupElement-content'><p><span style=\"color:hsl(177,84%,25%);font-size:14px;\">Только<strong> до {date}</strong></span></p></div></div></div><input type='hidden' name='popupID' value='1461'><input type='hidden' name='projectID' value='453'><input type='hidden' name='custom_utm_source'><input type='hidden' name='custom_utm_medium'><input type='hidden' name='custom_utm_campaign'><input type='hidden' name='custom_utm_content'><input type='hidden' name='custom_utm_term'></noindex>";
9529								
9530												closeButton = false;
9531										
9532											} else {
9533								
9534												html = "<noindex id='SGpopup1461' class='popup-wrapper grid-hidden'><div class='popup-area' data-type='area-container' style='position: relative; top: 155px; left: 6px; margin-left: ; width: 327.867px; height: 327.867px; '><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=\"Введите ваше имя\" data-name=\"Имя\" data-mask=\"null\" style=\"background-color: rgb(255, 255, 255); border-color: rgb(227, 227, 227); font-size: 17px; color: rgb(104, 104, 104); padding: 5px; border-radius: 30px;\"></div></div><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=\"Ваш e-mail, например: [email protected]\" data-name=\"Почта\" data-mask=\"email\" required=\"\" style=\"background-color: rgb(255, 255, 255); border-color: rgb(227, 227, 227); font-size: 17px; color: rgb(104, 104, 104); padding: 5px; border-radius: 30px;\"></div></div><div class='popup-element' data-type='input' style='margin-top: 0px;margin-right: 0px;margin-bottom: 9px;margin-left: 0px;'><div class='popupElement-content'><input type=\"text\" placeholder=\"+7 (___) ___ - __ - __\" data-name=\"Телефон\" data-mask=\"phone\" required=\"\" style=\"background-color: rgb(255, 255, 255); border-color: rgb(225, 225, 226); font-size: 17px; color: rgb(120, 120, 120); padding: 5px; border-radius: 30px;\"></div></div><div class='popup-element' data-type='input' style='margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;'><div class='popupElement-content'><input type=\"text\" placeholder=\"Ник в телеграм\" data-name=\"Ник\" required=\"\" style=\"background-color: rgb(255, 255, 255); border-color: rgb(225, 225, 226); font-size: 17px; color: rgb(125, 122, 122); padding: 5px; border-radius: 30px;\"></div></div><div class='popup-element' data-type='button-submit' style='margin-top: 10px;margin-right: 0px;margin-bottom: 7px;margin-left: 0px;'><div class='popupElement-content'><button type=\"submit\" style=\"background-color: rgb(10, 117, 111); color: rgb(0, 0, 0); font-size: 19px; border-radius: 30px; padding: 10px;\" onclick=\"\"><div class=\"buttonSubmit-content\"><p><span style=\"color:hsl(0,0%,100%);font-size:18px;\">Получить доступ</span></p></div></button></div></div><div class='popup-element' data-type='agree' data-element-id='950238' data-fill='#9e9e9eff' data-mode='default' style='margin-top: 0px;margin-right: 0px;margin-bottom: 4px;margin-left: 0px;'><style>#SGpopup1461 .popup-element[data-element-id='950238'][data-type='agree'] .popupElement-content input[type='checkbox'] + label:before {border-color: #9e9e9eff;} #SGpopup1461 .popup-element[data-element-id='950238'][data-type='agree'] .popupElement-content input[type='checkbox'] + label:after {background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHhtbG5zOnhsaW5rPSdodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rJyB2ZXJzaW9uPScxLjEnIHg9JzBweCcgeT0nMHB4JyB3aWR0aD0nNTEycHgnIGhlaWdodD0nNTEycHgnIHZpZXdCb3g9JzAgMCA0NDIuNTMzIDQ0Mi41MzMnIHN0eWxlPSdlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDQ0Mi41MzMgNDQyLjUzMycgeG1sOnNwYWNlPSdwcmVzZXJ2ZSc+PHBhdGggZD0nTTQzNC41MzksOTguNDk5bC0zOC44MjgtMzguODI4Yy01LjMyNC01LjMyOC0xMS43OTktNy45OTMtMTkuNDEtNy45OTNjLTcuNjE4LDAtMTQuMDkzLDIuNjY1LTE5LjQxNyw3Ljk5M0wxNjkuNTksMjQ3LjI0OCBsLTgzLjkzOS04NC4yMjVjLTUuMzMtNS4zMy0xMS44MDEtNy45OTItMTkuNDEyLTcuOTkyYy03LjYxNiwwLTE0LjA4NywyLjY2Mi0xOS40MTcsNy45OTJMNy45OTQsMjAxLjg1MiAgIEMyLjY2NCwyMDcuMTgxLDAsMjEzLjY1NCwwLDIyMS4yNjljMCw3LjYwOSwyLjY2NCwxNC4wODgsNy45OTQsMTkuNDE2bDEwMy4zNTEsMTAzLjM0OWwzOC44MzEsMzguODI4IGM1LjMyNyw1LjMzMiwxMS44LDcuOTk0LDE5LjQxNCw3Ljk5NGM3LjYxMSwwLDE0LjA4NC0yLjY2OSwxOS40MTQtNy45OTRsMzguODMtMzguODI4TDQzNC41MzksMTM3LjMzIGM1LjMyNS01LjMzLDcuOTk0LTExLjgwMiw3Ljk5NC0xOS40MTdDNDQyLjUzNywxMTAuMzAyLDQzOS44NjQsMTAzLjgyOSw0MzQuNTM5LDk4LjQ5OXonIGZpbGw9JyM5ZTllOWVmZicvPjwvc3ZnPg==);}</style><div class='popupElement-content'><input type=\"checkbox\" checked=\"\" required=\"\" tabindex=\"-1\" data-orig-tabindex=\"-1\"><label><p><span style=\"color:hsl(0,0%,18%);font-size:9px;\">Я согласен на обработку моих персональных данных. 
С&nbsp;</span><a href=\"https://psy-muip.ru/agreement\" data-fpl-component=\"primitive\" target=\"_blank\" rel=\"noopener\"><span style=\"color:hsl(0,0%,18%);font-size:9px;\"><u>Политикой обработки персональных данных</u></span></a><span style=\"color:hsl(0,0%,18%);font-size:9px;\">&nbsp;ознакомлен</span></p></label></div></div><div class='popup-element' data-type='editor' data-element-id='645634' style='padding-top: 0px;padding-right: 0px;padding-bottom: 0px;padding-left: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;' data-p-margin-bottom='13px' data-p-line-height='80%'><style>#SGpopup1461 .popup-element[data-element-id='645634'][data-type='editor'] p {margin-bottom: 13px}#SGpopup1461 .popup-element[data-element-id='645634'][data-type='editor'] * {line-height: 80%}</style><div class='popupElement-content'><p><a href=\"https://psy-muip.ru/politika\" data-fpl-component=\"primitive\" target=\"_blank\" rel=\"noopener\"><span style=\"color:hsl(0,0%,18%);font-size:9px;\"><u>Политика&nbsp;в отношении обработки персональных данных</u></span></a><span style=\"color:hsl(0,0%,18%);font-size:9px;\"> | </span><a href=\"https://psy-muip.ru/custom\" data-fpl-component=\"primitive\" target=\"_blank\" rel=\"noopener\"><span style=\"color:hsl(0,0%,18%);font-size:9px;\"><u>Пользовательское соглашение</u></span></a><br><a href=\"https://psy-muip.ru/agreement\" data-fpl-component=\"primitive\" target=\"_blank\" rel=\"noopener\"><span style=\"color:hsl(0,0%,18%);font-size:9px;\"><u>Согласие на обработку персональных данных</u></span></a><span style=\"color:hsl(0,0%,18%);font-size:9px;\"> | </span><a href=\"https://psy-muip.ru/rassylka\" data-fpl-component=\"primitive\" target=\"_blank\" rel=\"noopener\"><span style=\"color:hsl(0,0%,18%);font-size:9px;\"><u>Согласие на рассылку материалов</u></span></a></p></div></div></div><div class='popup-area' data-type='close-container' style='position: absolute; top: -40px; left: 364px; margin-left: -40px; width: 40px; height: 40px; '><div class='popup-element' data-type='button-close' style=''><div class='popupElement-content'></div></div></div><div class='popup-area' data-type='area-container' style='position: absolute; top: 27px; left: 39px; margin-left: ; width: 296px; height: 23px; '><div class='popup-element' data-type='editor' data-element-id='360163' style='padding-top: 0px;padding-right: 0px;padding-bottom: 0px;padding-left: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;' data-p-margin-bottom='20px' data-p-line-height='120%'><style>#SGpopup1461 .popup-element[data-element-id='360163'][data-type='editor'] p {margin-bottom: 20px}#SGpopup1461 .popup-element[data-element-id='360163'][data-type='editor'] * {line-height: 120%}</style><div class='popupElement-content'><p><span style=\"color:hsl(177,84%,25%);font-size:14px;\">Только<strong> до {date}</strong></span></p></div></div></div><input type='hidden' name='popupID' value='1461'><input type='hidden' name='projectID' value='453'><input type='hidden' name='custom_utm_source'><input type='hidden' name='custom_utm_medium'><input type='hidden' name='custom_utm_campaign'><input type='hidden' name='custom_utm_content'><input type='hidden' name='custom_utm_term'></noindex>";
9535								
9536												closeButton = true;
9537										
9538											}
9539								
9540											dateFrom = 1771200000 * 1000;
9541											if(dateFrom < Date.now()) {
9542												do {
9543													dateFrom += 7 * 24 * 60 * 60 * 1000;
9544												} while (dateFrom < Date.now());
9545											}
9546
9547											for (const match of html.matchAll(/{date((\+|\-)([0-9]*))?}/g)) {
9548												dateTo = dateFrom;
9549												if(typeof match[1] != 'undefined') {
9550													dateTo += match[1] * 24 * 60 * 60 * 1000;
9551												}
9552												dateTo = new Date(dateTo);
9553
9554												formatDate = '{day} {month} ';
9555												if(formatDate.indexOf('{day}') != -1) {
9556													day = dateTo.getDate();
9557													if("number_full" == "number_full") {
9558														if(day < 10) {
9559															day = '0' + day;
9560														}
9561													}
9562													formatDate = formatDate.replace('{day}', day);
9563												}
9564
9565												if(formatDate.indexOf('{month}') != -1) {
9566													month = dateTo.getMonth() + 1;
9567													if("text_genitive" == "number_full") {
9568														if(month < 10) {
9569															month = '0' + month;
9570														}
9571													} else if("text_genitive" == "text_nominative") {
9572														let months = {
9573															1: 'январь',
9574															2: 'февраль',
9575															3: 'март',
9576															4: 'апрель',
9577															5: 'май',
9578															6: 'июнь',
9579															7: 'июль',
9580															8: 'август',
9581															9: 'сентябрь',
9582															10: 'октябрь',
9583															11: 'ноябрь',
9584															12: 'декабрь'
9585														};
9586														month = months[month];
9587													} else if("text_genitive" == "text_genitive") {
9588														let months = {
9589															1: 'января',
9590															2: 'февраля',
9591															3: 'марта',
9592															4: 'апреля',
9593															5: 'мая',
9594															6: 'июня',
9595															7: 'июля',
9596															8: 'августа',
9597															9: 'сентября',
9598															10: 'октября',
9599															11: 'ноября',
9600															12: 'декабря'
9601														};
9602														month = months[month];
9603													}
9604													formatDate = formatDate.replace('{month}', month);
9605												}
9606
9607												if(formatDate.indexOf('{year}') != -1) {
9608													year = dateTo.getFullYear();
9609													if("number_full" == "number_short") {
9610														year = year.toString().substr(-2);
9611													}
9612													formatDate = formatDate.replace('{year}', year);
9613												}
9614												html = html.replaceAll(match[0], formatDate);
9615											};
9616										
9617											Fancybox.close();
9618											new Fancybox([
9619												{
9620													src: html,
9621													type: 'html'
9622												}
9623											], {
9624												dragToClose: false,
9625												closeButton: closeButton,
9626												compact: false,
9627												autoFocus: false,
9628												trapFocus: false,
9629												on: {
9630													done: (fancybox, slide) => {
9631								
9632													sgPopup1461reachGoal("ym(93615077,'reachGoal','Popup_Demo_dostup_show');");
9633										
9634													const popup = document.querySelector("#SGpopup1461");
9635													if(popup) {
9636
9637														const url = new URL(location.href);
9638														window.utm_source = url.searchParams.get('utm_source');
9639														window.utm_medium = url.searchParams.get('utm_medium');
9640														window.utm_campaign = url.searchParams.get('utm_campaign');
9641														window.utm_term = url.searchParams.get('utm_term');
9642														window.utm_content = url.searchParams.get('utm_content');
9643
9644								
9645														const custom_utm_source = popup.querySelector('input[name="custom_utm_source"]');
9646														if(custom_utm_source && typeof 'site' != undefined) {
9647															custom_utm_source.value = 'site';
9648														}
9649											
9650														const custom_utm_medium = popup.querySelector('input[name="custom_utm_medium"]');
9651														if(custom_utm_medium && typeof 'seo' != undefined) {
9652															custom_utm_medium.value = 'seo';
9653														}
9654											
9655														const custom_utm_campaign = popup.querySelector('input[name="custom_utm_campaign"]');
9656														if(custom_utm_campaign && typeof 'genegator_Demo_dostup_practicing_psychologist' != undefined) {
9657															custom_utm_campaign.value = 'genegator_Demo_dostup_practicing_psychologist';
9658														}
9659											
9660														const custom_utm_content = popup.querySelector('input[name="custom_utm_content"]');
9661														if(custom_utm_content && typeof 'muip' != undefined) {
9662															custom_utm_content.value = 'muip';
9663														}
9664											
9665														const custom_utm_term = popup.querySelector('input[name="custom_utm_term"]');
9666														if(custom_utm_term && typeof 'popup' != undefined) {
9667															custom_utm_term.value = 'popup';
9668														}
9669											
9670														openerLinks = popup.querySelectorAll('a[data-target]');
9671														if(openerLinks) {
9672															for(let openerLink of openerLinks) {
9673																openerLink.addEventListener('click', function(){
9674																	if(openerLink.dataset.target) {
9675																		if(typeof window[openerLink.dataset.target] == 'function') {
9676																			Fancybox.close();
9677																			window[openerLink.dataset.target]('open');
9678																		}
9679																	}
9680																});
9681															}
9682														}
9683
9684														linkImages = popup.querySelectorAll('.image-wrapper[data-type="link"]');
9685														if(linkImages) {
9686															for(let linkImage of linkImages) {
9687																linkImage.addEventListener('click', function(){
9688																	if(linkImage.dataset.link) {
9689																		if(linkImage.dataset.target == '_blank') {
9690																			window.open(linkImage.dataset.link);
9691																		} else {
9692																			location.href = linkImage.dataset.link
9693																		}
9694																	}
9695																});
9696															}
9697														}
9698
9699														openerImages = popup.querySelectorAll('.image-wrapper[data-type="opener"]');
9700														if(openerImages) {
9701															for(let openerImage of openerImages) {
9702																openerImage.addEventListener('click', function(){
9703																	if(openerImage.dataset.popup) {
9704																		if(typeof window['sgPopup' + openerImage.dataset.popup] == 'function') {
9705																			Fancybox.close();
9706																			window['sgPopup' + openerImage.dataset.popup]('forceOpen');
9707																		}
9708																	}
9709																});
9710															}
9711														}
9712
9713														submitImages = popup.querySelectorAll('.image-wrapper[data-type="submitter"]');
9714														if(submitImages) {
9715															for(let submitImage of submitImages) {
9716																submitImage.addEventListener('click', function(){
9717
9718																	if(submitImage.classList.contains('disabled')) return false;
9719
9720																	submitImage.classList.add('disabled');
9721
9722																	sgPopup1461submit(function(result){
9723																		submitImage.classList.toggle('disabled', result);
9724																	});
9725
9726																});
9727															}
9728														}
9729
9730														const linkButtons = popup.querySelectorAll('button[data-type="link"]');
9731														if(linkButtons) {
9732															for(let linkButton of linkButtons) {
9733																linkButton.addEventListener('click', function(){
9734																	if(linkButton.dataset.link && linkButton.dataset.link != '#') {
9735								
9736																		if(linkButton.dataset.target == '_blank') {
9737																			window.open(linkButton.dataset.link);
9738																		} else {
9739																			location.href = linkButton.dataset.link
9740																		}
9741																	}
9742																});
9743															}
9744														}
9745
9746														openerButtons = popup.querySelectorAll('button[data-type="opener"]');
9747														if(openerButtons) {
9748															for(let openerButton of openerButtons) {
9749																openerButton.addEventListener('click', function(){
9750									
9751																	if(openerButton.dataset.popup) {
9752																		if(typeof window['sgPopup' + openerButton.dataset.popup] == 'function') {
9753																			Fancybox.close();
9754																			window['sgPopup' + openerButton.dataset.popup]('forceOpen');
9755																		}
9756																	}
9757																});
9758															}
9759														}
9760
9761														const maskedFields = popup.querySelectorAll('input[data-mask]');
9762														if(maskedFields) {
9763															for(let maskedField of maskedFields) {
9764																if(maskedField.dataset.mask == 'phone') {
9765																	Inputmask('+7 (999) 999-99-99', {
9766																		clearIncomplete: true,
9767																		greedy: false
9768																	}).mask(maskedField);
9769								
9770																} else if(maskedField.dataset.mask == 'email') {
9771																	Inputmask({
9772																	alias: 'email',
9773																		clearIncomplete: true,
9774																		greedy: false
9775																	}).mask(maskedField);
9776																}
9777															}
9778														}
9779
9780														const fileInputs = popup.querySelectorAll('.popup-element[data-type="input-file"] input[type="file"]');
9781														if(fileInputs) {
9782															for(let fileInput of fileInputs) {
9783																let label = fileInput.nextElementSibling;
9784																if(label) {
9785																	fileInput.addEventListener('change', function() {
9786																		if (fileInput.files && fileInput.files.length > 0) {
9787																			const maxSize = fileInput.dataset.limit;
9788																			if(fileInput.files[0].size <= maxSize * 1024 * 1024) {
9789																				reader = new FileReader();
9790																				reader.onload = function(){
9791																					const span = label.querySelector('span');
9792																					if(span) {
9793																						span.innerHTML = fileInput.files[0].name;
9794																					}
9795																					fileInput.dataset.content = reader.result;
9796																				};
9797																				reader.readAsDataURL(fileInput.files[0]);
9798																			} else {
9799																				alert('Превышен максимальный размер файла - '+ maxSize +'мб');
9800																			}
9801																		}
9802																	});
9803																	label.addEventListener('click', function(event){
9804																		event.preventDefault();
9805																		fileInput.click();
9806																	});
9807																}
9808															}
9809														}
9810
9811														const agrees = popup.querySelectorAll('.popup-element[data-type="agree"] input[type="checkbox"]');
9812														if(agrees) {
9813															for(let agree of agrees) {
9814																let parent = agree.closest('.popup-element');
9815																if(parent) {
9816																	let label = agree.nextElementSibling;
9817																	if(label) {
9818																		label.addEventListener('click', function(event){
9819																			event.preventDefault();
9820																			agree.checked = !agree.checked;
9821
9822
9823																			if(parent.dataset.mode == 'general') {
9824																				const agreeAll = agree;
9825																				for(let agree of agrees) {
9826																					agree.checked = agreeAll.checked;
9827																				}
9828																			}
9829
9830																			let agreeCount = 0;
9831																			let agreeSelected = 0;
9832																			for(let agree of agrees) {
9833																				const parent = agree.closest('.popup-element');
9834																				if(parent && parent.dataset.mode != 'general') {
9835																					agreeCount++;
9836																					if(agree.checked) {
9837																						agreeSelected++;
9838																					}
9839																				}
9840																			}
9841
9842																			const general = popup.querySelector('.popup-element[data-type="agree"][data-mode="general"]');
9843																			if(general) {
9844																				general.classList.toggle('all-selected', agreeSelected == agreeCount);
9845																				general.classList.toggle('no-selected', agreeSelected == 0);
9846																				general.classList.toggle('some-selected', agreeSelected > 0 && agreeSelected < agreeCount);
9847
9848																				const checkbox = general.querySelector('input[type="checkbox"]');
9849																				if(checkbox) {
9850																					if(agreeSelected == agreeCount) {
9851																						checkbox.checked = true;
9852																					} else {
9853																						checkbox.checked = false;
9854																					}
9855																				}
9856																			}
9857																		});
9858																		const links = label.querySelectorAll('a');
9859																		if(links) {
9860																			for(let link of links) {
9861																				link.addEventListener('click', function(event){
9862																					event.stopPropagation()
9863																				});
9864																			}
9865																		}
9866																	}
9867																}
9868															}
9869														}
9870
9871														const wheel = popup.querySelector('.popup-element[data-type="wheel"]');
9872														let wheelInterval;
9873														let wheelAngle = 0;
9874														if(wheel){
9875															const circle = popup.querySelector('.wheel-circle img');
9876															if(circle) {
9877																wheelInterval = setInterval(function(){
9878																	wheelAngle += 0.2;
9879																	if(wheelAngle > 360) {
9880																		wheelAngle -= 360;
9881																	}
9882																	circle.setAttribute('style', 'transform: rotate('+ wheelAngle +'deg)');
9883																}, 40);
9884															}
9885														}
9886
9887														const closeTriggers = popup.querySelectorAll('.popup-element[data-type="button-close"] button:not([data-fancybox-close])');
9888														if(closeTriggers) {
9889															for(let closeTrigger of closeTriggers) {
9890																closeTrigger.addEventListener('click', function(){
9891																	Fancybox.close();
9892																})
9893															}
9894														}
9895
9896														function sgPopup1461submit(callback = false) {
9897
9898															let hasError = false;
9899															const requiredInputs = popup.querySelectorAll('input[data-name][required]');
9900															if(requiredInputs) {
9901																for(let requiredInput of requiredInputs) {
9902																	if(requiredInput.dataset.mask) {
9903																		if(requiredInput.dataset.mask == 'phone') {
9904																			if(!Inputmask.isValid(requiredInput.value, { mask: '+7 (999) 999-99-99'})) {
9905																				requiredInput.classList.add('error');
9906																				hasError = true;
9907																			} else {
9908																				requiredInput.classList.remove('error');
9909																			}
9910																		} else if(requiredInput.dataset.mask == 'phone_intl' && typeof window.sgPopup.elements.intl != 'undefined') {
9911																			intl = window.sgPopup.elements.intl;
9912																			if(!intl.isValidNumberPrecise()) {
9913																				requiredInput.classList.add('error');
9914																				hasError = true;
9915																			} else {
9916																				requiredInput.classList.remove('error');
9917																			}
9918																		} else if(requiredInput.dataset.mask == 'email') {
9919																			if(!Inputmask.isValid(requiredInput.value, {alias: 'email'})) {
9920																				requiredInput.classList.add('error');
9921																				hasError = true;
9922																			} else {
9923																				requiredInput.classList.remove('error');
9924																			}
9925																		}
9926																	} else {
9927																		if(requiredInput.value == '') {
9928																			requiredInput.classList.add('error');
9929																			hasError = true;
9930																		} else {
9931																			requiredInput.classList.remove('error');
9932																		}
9933																	}
9934																}
9935															}
9936								
9937															const requiredTextareas = popup.querySelectorAll('textarea[data-name][required]');
9938															if(requiredTextareas) {
9939																for(let requiredTextarea of requiredTextareas) {
9940																	if(requiredTextarea.value == '') {
9941																		requiredTextarea.classList.add('error');
9942																		hasError = true;
9943																	} else {
9944																		requiredTextarea.classList.remove('error');
9945																	}
9946																}
9947															}
9948
9949															const requiredSelects = popup.querySelectorAll('select[data-name][required]');
9950															if(requiredSelects) {
9951																for(let requiredSelect of requiredSelects) {
9952																	const niceSelect = requiredSelect.nextElementSibling;
9953																	if(niceSelect) {
9954																		if(niceSelect.querySelector('.option.selected')) {
9955																			niceSelect.classList.remove('error')
9956																		} else {
9957																			niceSelect.classList.add('error');
9958																			hasError = true
9959																		}
9960																	}
9961																}
9962															}
9963
9964															if(agrees) {
9965																for(let agree of agrees) {
9966																	if(agree.required) {
9967																		let label = agree.nextElementSibling;
9968																		if(agree.checked) {
9969																			label.classList.remove('error');
9970																		} else {
9971																			label.classList.add('error');
9972																			hasError = true;
9973																		}
9974																	}
9975																}
9976															}
9977
9978															if(hasError) {
9979																if (callback && typeof callback === 'function') {
9980																	callback(false);
9981																}
9982																return false;
9983															}
9984
9985															function sgPopup1461sendRequest() {
9986
9987								
9988																let data = {
9989																	fields: [],
9990																	cookie: document.cookie,
9991																	markers: markers,
9992																	source: location.href
9993																};
9994								
9995																const inputs = popup.querySelectorAll('input[data-name]');
9996																if(inputs) {
9997																	for(let input of inputs) {
9998																		if(input.dataset.mask == 'phone_intl' && typeof window.sgPopup.elements.intl != 'undefined') {
9999																			intl = window.sgPopup.elements.intl;
10000																			data.fields.push({
10001																				name: input.dataset.name,
10002																				value: intl.getNumber()
10003																			});
10004																		} else {
10005																			data.fields.push({
10006																				name: input.dataset.name,
10007																				value: input.value
10008																			});
10009																		}
10010																	}
10011																}
10012
10013																const textareas = popup.querySelectorAll('textarea[data-name]');
10014																if(textareas) {
10015																	for(let textarea of textareas) {
10016																		data.fields.push({
10017																			name: textarea.dataset.name,
10018																			value: textarea.value
10019																		});
10020																	}
10021																}
10022
10023																if(typeof selects != 'undefined') {
10024																	for(let select of selects) {
10025																		data.fields.push({
10026																			name: select.dataset.name,
10027																			value: select.value
10028																		});
10029																	}
10030																}
10031
10032																const hiddenInputs = popup.querySelectorAll('input[type="hidden"]');
10033																for(let hiddenInput of hiddenInputs) {
10034																	const name = hiddenInput.name;
10035																	data[hiddenInput.name] = hiddenInput.value;
10036																}
10037
10038																const fileInputs = popup.querySelectorAll('.popup-element[data-type="input-file"] input[type="file"]');
10039																if(fileInputs) {
10040																	data.files = [];
10041																	for(let fileInput of fileInputs) {
10042																		if (fileInput.files && fileInput.files.length > 0) {
10043																			data.files.push({
10044																				'name': fileInput.files[0].name,
10045																				'content': fileInput.dataset.content
10046																			});
10047																		}
10048																	}
10049																}
10050
10051																if( wheel && typeof window.prize != 'undefined' ) {
10052																	data.fields.push(window.prize);
10053																}
10054								
10055
10056																var xmlhr = new XMLHttpRequest();
10057																xmlhr.open('POST', "https://psy-muip.ru/wp-json/generator.conversion/v1/actions/?_method=POST&action=formSubmit");
10058																xmlhr.send(JSON.stringify(data));
10059
10060																xmlhr.onreadystatechange = function() {
10061																	if (xmlhr.readyState === 4 && xmlhr.status === 200) {
10062																		console.log(xmlhr.response);
10063																		const response = JSON.parse(xmlhr.response);
10064																		console.log(response);
10065								
10066																	}
10067																};
10068								
10069																sgPopup1461reachGoal("ym(93615077,'reachGoal','Popup_Demo_dostup_send');");
10070											
10071																sgSuccessPopup1461();
10072										
10073																return true;
10074
10075															}
10076
10077															if(wheel){
10078																const circle = popup.querySelector('.wheel-circle img');
10079																if(circle) {
10080																	clearInterval(wheelInterval);
10081								
10082																	}
10083
10084																} else {
10085																	const result = sgPopup1461sendRequest();
10086																	if (callback && typeof callback === 'function') {
10087																		callback(result);
10088																	}
10089																}
10090
10091															}
10092
10093															areaLinks = popup.querySelectorAll('.popup-area[data-type="area-link"]');
10094															if(areaLinks) {
10095																for(let areaLink of areaLinks) {
10096																	areaLink.addEventListener('click', function(){
10097																		if(areaLink.dataset.link && areaLink.dataset.link != '#') {
10098																			if(areaLink.dataset.target == '_blank') {
10099																				window.open(areaLink.dataset.link);
10100																			} else {
10101																				location.href = areaLink.dataset.link
10102																			}
10103																		}
10104																	});
10105																}
10106															}
10107
10108															areaOpeners = popup.querySelectorAll('.popup-area[data-type="area-opener"]');
10109															if(areaOpeners) {
10110																for(let areaOpener of areaOpeners) {
10111																	areaOpener.addEventListener('click', function(){
10112																		if(areaOpener.dataset.popup) {
10113																			if(typeof window['sgPopup' + areaOpener.dataset.popup] == 'function') {
10114																				Fancybox.close();
10115																				window['sgPopup' + areaOpener.dataset.popup]('forceOpen');
10116																			}
10117																		}
10118																	});
10119																}
10120															}
10121
10122															const submitButton = popup.querySelector(".popup-element[data-type='button-submit'] button");
10123															if(submitButton) {
10124																submitButton.addEventListener('click', function(event){
10125
10126																	event.preventDefault();
10127																	submitButton.disabled = true;
10128
10129																	sgPopup1461submit(function(result){
10130																		submitButton.disabled = result;
10131																	});
10132
10133																})
10134															}
10135														}
10136													},
10137													close: () => {
10138														window.sgPopup.opened = false;
10139														window.sgPopup.shown.push(1461);
10140														if(window.sgPopup.queue.length) {
10141															setTimeout(function(){
10142																let popupID = window.sgPopup.queue.shift();
10143																window['sgPopup' + popupID]('forceOpen');
10144															}, 30000);
10145														}
10146								
10147													}
10148												}
10149											})
10150										}
10151									}
10152								}
10153							
10154								function sgSuccessPopup1461() {
10155							
10156									let html;
10157									let closeButton;
10158									if(window.innerWidth >= 1040) {
10159										html = "<noindex id='SGsuccess1461' 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>";
10160							closeButton = false;
10161									} else {
10162										html = "<noindex id='SGsuccess1461' 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;\">Спасибо, мы скоро свяжемся с вами!&nbsp;</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>";
10163							closeButton = false;
10164									}
10165							
10166									Fancybox.close();
10167									new Fancybox([
10168										{
10169											src: html,
10170											type: 'html'
10171										}
10172									], {
10173										dragToClose: false,
10174										closeButton: closeButton,
10175										autoFocus: false,
10176										trapFocus: false,
10177										on: {
10178											done: (fancybox, slide) => {
10179							
10180												const success = document.querySelector("#SGsuccess1461");
10181												if(success) {
10182
10183													buttonLinks = success.querySelectorAll('button[data-type="link"]');
10184													if(buttonLinks) {
10185														for(let buttonLink of buttonLinks) {
10186															buttonLink.addEventListener('click', function(){
10187																if(buttonLink.dataset.link) {
10188																	if(buttonLink.dataset.target == '_blank') {
10189																		window.open(buttonLink.dataset.link);
10190																	} else {
10191																		location.href = buttonLink.dataset.link
10192																	}
10193																}
10194															});
10195														}
10196													}
10197													
10198												}
10199							
10200												setTimeout(function(){
10201													Fancybox.close();
10202												}, 3000);
10203									
10204											},
10205											close: () => {
10206												window.sgPopup.opened = false;
10207											}
10208										}
10209									});
10210								}
10211							</script>
vendor: 1 bytes, line 10211
10211
10212<script>
10213								if(typeof window.sgPopup == 'undefined') {
10214									window.sgPopup = {
10215										opened: false,
10216										queue: [],
10217										shown: [],
10218										elements: {}
10219									};
10220								}
10221						
10222								addEventListener('DOMContentLoaded', () => {
10223						
10224									document.body.addEventListener('click', function(event){
10225										if(
10226											event.target.dataset.target == "sgPopup1463"
10227											|| event.target.closest('[data-target="sgPopup1463"]')
10228										) {
10229											Fancybox.close();
10230											sgPopup1463('forceOpen');
10231										}
10232									});
10233
10234									sgPopup1463autoOpen();
10235								});
10236
10237								function sgPopup1463autoOpen() {
10238							
10239								}
10240
10241								function sgPopup1463reachGoal(code) {
10242
10243									function executeGoal(params) {
10244										if(typeof params == 'object') {
10245
10246											eval('ym('+ params.join(',') +');');
10247
10248											let data = {
10249												'goal': params[2],
10250												timestamp: new Date().toISOString()
10251											};
10252
10253											var xmlhr = new XMLHttpRequest();
10254											xmlhr.open('POST', "https://psy-muip.ru/wp-json/generator.conversion/v1/actions/?_method=POST&action=goalLog");
10255											xmlhr.send(JSON.stringify(data));
10256
10257											xmlhr.onreadystatechange = function() {
10258												if (xmlhr.readyState === 4 && xmlhr.status === 200) {
10259													if( urlParams.get('debug') ) {
10260														const response = JSON.parse(xmlhr.response);
10261														console.log(response);
10262													}
10263												}
10264											}
10265
10266										}
10267									}
10268
10269									const goals = code.split(';');
10270									if(goals) {
10271										for(let goal of goals) {
10272											goal = goal.trim();
10273											if(goal != '') {
10274												const regexp = /ym(.*)/;
10275												if( regexp.test(goal) ) {
10276
10277													goal = goal.replace('ym(', '');
10278													goal = goal.replace(')', '');
10279													const params = goal.split(',');
10280													if(params) {
10281
10282														if (typeof window.ym != 'undefined') {
10283															executeGoal(params);
10284														} else {
10285															if(typeof window.popup1463goals == 'undefined') {
10286																window.popup1463goals = [];
10287															}
10288
10289															window.popup1463goals.push({
10290																'metrika': params[0],
10291																'action': params[1],
10292																'id': params[2]
10293															});
10294
10295															if(typeof popup1463interval == 'undefined') {
10296																popup1463interval = setInterval(function(){
10297																	if (typeof window.ym != 'undefined') {
10298																		for(let goal of window.popup1463goals) {
10299																			executeGoal(params);
10300																		}
10301																		window.popup1463goals = [];
10302																		clearInterval(popup1463interval);
10303																	}
10304																}, 1000);
10305															}
10306														}
10307													}
10308												} else {
10309													eval(goal);
10310												}
10311											}
10312										}
10313									}
10314
10315								}
10316
10317								function sgPopup1463(action = false) {
10318
10319									if(!action) return;
10320
10321									if( ['open', 'forceOpen'].includes(action) ) {
10322
10323								
10324										if(action == 'open' && window.sgPopup.shown.includes(1463)) {
10325											return false;
10326										}
10327
10328										if(window.sgPopup.opened) {
10329
10330											if(window.sgPopup.opened != 1463) {
10331												window.sgPopup.queue.push(1463);
10332											}
10333
10334										} else {
10335
10336											window.sgPopup.opened = 1463;
10337
10338											let html;
10339											let closeButton;
10340											if(window.innerWidth >= 1040) {
10341												html = "<noindex id='SGpopup1463' class='popup-wrapper grid-hidden'><div class='popup-area' data-type='close-container' style='position: absolute; top: -3px; left: 712px; margin-left: -40px; width: 40px; height: 40px; '><div class='popup-element' data-type='button-close' style=''><div class='popupElement-content'><button type=\"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=\"#ffffff\"><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: absolute; top: 2px; left: -2px; margin-left: ; width: 658px; height: 735px; '><div class='popup-element' data-type='getcourse' style='margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;'><div class='popupElement-content'><div data-id=\"261eb0a3894fe8b13516a2e2910aaf675744e36c\" data-src=\"https://reiraofficial.getcourse.ru/pl/lite/widget/script?id=1323356\"></div></div></div></div><input type='hidden' name='popupID' value='1463'><input type='hidden' name='projectID' value='453'></noindex>";
10342								
10343												closeButton = false;
10344										
10345											} else {
10346								
10347												html = "<noindex id='SGpopup1463' class='popup-wrapper grid-hidden'><div class='popup-area' data-type='close-container' style='position: absolute; top: 0px; left: 379px; margin-left: -40px; width: 40px; height: 40px; '><div class='popup-element' data-type='button-close' style=''><div class='popupElement-content'><button type=\"close\" style=\"padding: 10px; width: 35px; height: 35px; background-color: rgba(0, 0, 0, 0); border: 1px solid rgba(255, 255, 255, 0); border-radius: 18px;\"><svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 18 18\" fill=\"#ffffff\" style=\"fill: rgb(237, 0, 0);\"><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: absolute; top: 2px; left: -2px; margin-left: ; width: 658px; height: 735px; '><div class='popup-element' data-type='getcourse' style='margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;'><div class='popupElement-content'><div data-id=\"261eb0a3894fe8b13516a2e2910aaf675744e36c\" data-src=\"https://reiraofficial.getcourse.ru/pl/lite/widget/script?id=1323356\"></div></div></div></div><input type='hidden' name='popupID' value='1463'><input type='hidden' name='projectID' value='453'></noindex>";
10348								
10349												closeButton = false;
10350										
10351											}
10352								
10353											Fancybox.close();
10354											new Fancybox([
10355												{
10356													src: html,
10357													type: 'html'
10358												}
10359											], {
10360												dragToClose: false,
10361												closeButton: closeButton,
10362												compact: false,
10363												autoFocus: false,
10364												trapFocus: false,
10365												on: {
10366													done: (fancybox, slide) => {
10367								
10368													const popup = document.querySelector("#SGpopup1463");
10369													if(popup) {
10370
10371														const url = new URL(location.href);
10372														window.utm_source = url.searchParams.get('utm_source');
10373														window.utm_medium = url.searchParams.get('utm_medium');
10374														window.utm_campaign = url.searchParams.get('utm_campaign');
10375														window.utm_term = url.searchParams.get('utm_term');
10376														window.utm_content = url.searchParams.get('utm_content');
10377
10378								
10379														const getCourseBlocks = popup.querySelectorAll('*[data-type="getcourse"] *[data-id][data-src]');
10380														if(getCourseBlocks) {
10381															for(let getCourseBlock of getCourseBlocks) {
10382																const ID = getCourseBlock.dataset.id;
10383																const SRC = getCourseBlock.dataset.src;
10384																const script = document.createElement('script');
10385																script.id = ID;
10386																script.src = SRC;
10387																script.async = true;
10388																script.onload = () => {
10389																	const myEvent = new CustomEvent('StartWidget'+ ID);
10390																	document.dispatchEvent(myEvent);
10391																}
10392																getCourseBlock.appendChild(script);
10393															}
10394														}
10395									
10396														openerLinks = popup.querySelectorAll('a[data-target]');
10397														if(openerLinks) {
10398															for(let openerLink of openerLinks) {
10399																openerLink.addEventListener('click', function(){
10400																	if(openerLink.dataset.target) {
10401																		if(typeof window[openerLink.dataset.target] == 'function') {
10402																			Fancybox.close();
10403																			window[openerLink.dataset.target]('open');
10404																		}
10405																	}
10406																});
10407															}
10408														}
10409
10410														linkImages = popup.querySelectorAll('.image-wrapper[data-type="link"]');
10411														if(linkImages) {
10412															for(let linkImage of linkImages) {
10413																linkImage.addEventListener('click', function(){
10414																	if(linkImage.dataset.link) {
10415																		if(linkImage.dataset.target == '_blank') {
10416																			window.open(linkImage.dataset.link);
10417																		} else {
10418																			location.href = linkImage.dataset.link
10419																		}
10420																	}
10421																});
10422															}
10423														}
10424
10425														openerImages = popup.querySelectorAll('.image-wrapper[data-type="opener"]');
10426														if(openerImages) {
10427															for(let openerImage of openerImages) {
10428																openerImage.addEventListener('click', function(){
10429																	if(openerImage.dataset.popup) {
10430																		if(typeof window['sgPopup' + openerImage.dataset.popup] == 'function') {
10431																			Fancybox.close();
10432																			window['sgPopup' + openerImage.dataset.popup]('forceOpen');
10433																		}
10434																	}
10435																});
10436															}
10437														}
10438
10439														submitImages = popup.querySelectorAll('.image-wrapper[data-type="submitter"]');
10440														if(submitImages) {
10441															for(let submitImage of submitImages) {
10442																submitImage.addEventListener('click', function(){
10443
10444																	if(submitImage.classList.contains('disabled')) return false;
10445
10446																	submitImage.classList.add('disabled');
10447
10448																	sgPopup1463submit(function(result){
10449																		submitImage.classList.toggle('disabled', result);
10450																	});
10451
10452																});
10453															}
10454														}
10455
10456														const linkButtons = popup.querySelectorAll('button[data-type="link"]');
10457														if(linkButtons) {
10458															for(let linkButton of linkButtons) {
10459																linkButton.addEventListener('click', function(){
10460																	if(linkButton.dataset.link && linkButton.dataset.link != '#') {
10461								
10462																		if(linkButton.dataset.target == '_blank') {
10463																			window.open(linkButton.dataset.link);
10464																		} else {
10465																			location.href = linkButton.dataset.link
10466																		}
10467																	}
10468																});
10469															}
10470														}
10471
10472														openerButtons = popup.querySelectorAll('button[data-type="opener"]');
10473														if(openerButtons) {
10474															for(let openerButton of openerButtons) {
10475																openerButton.addEventListener('click', function(){
10476									
10477																	if(openerButton.dataset.popup) {
10478																		if(typeof window['sgPopup' + openerButton.dataset.popup] == 'function') {
10479																			Fancybox.close();
10480																			window['sgPopup' + openerButton.dataset.popup]('forceOpen');
10481																		}
10482																	}
10483																});
10484															}
10485														}
10486
10487														const maskedFields = popup.querySelectorAll('input[data-mask]');
10488														if(maskedFields) {
10489															for(let maskedField of maskedFields) {
10490																if(maskedField.dataset.mask == 'phone') {
10491																	Inputmask('+7 (999) 999-99-99', {
10492																		clearIncomplete: true,
10493																		greedy: false
10494																	}).mask(maskedField);
10495								
10496																} else if(maskedField.dataset.mask == 'email') {
10497																	Inputmask({
10498																	alias: 'email',
10499																		clearIncomplete: true,
10500																		greedy: false
10501																	}).mask(maskedField);
10502																}
10503															}
10504														}
10505
10506														const fileInputs = popup.querySelectorAll('.popup-element[data-type="input-file"] input[type="file"]');
10507														if(fileInputs) {
10508															for(let fileInput of fileInputs) {
10509																let label = fileInput.nextElementSibling;
10510																if(label) {
10511																	fileInput.addEventListener('change', function() {
10512																		if (fileInput.files && fileInput.files.length > 0) {
10513																			const maxSize = fileInput.dataset.limit;
10514																			if(fileInput.files[0].size <= maxSize * 1024 * 1024) {
10515																				reader = new FileReader();
10516																				reader.onload = function(){
10517																					const span = label.querySelector('span');
10518																					if(span) {
10519																						span.innerHTML = fileInput.files[0].name;
10520																					}
10521																					fileInput.dataset.content = reader.result;
10522																				};
10523																				reader.readAsDataURL(fileInput.files[0]);
10524																			} else {
10525																				alert('Превышен максимальный размер файла - '+ maxSize +'мб');
10526																			}
10527																		}
10528																	});
10529																	label.addEventListener('click', function(event){
10530																		event.preventDefault();
10531																		fileInput.click();
10532																	});
10533																}
10534															}
10535														}
10536
10537														const agrees = popup.querySelectorAll('.popup-element[data-type="agree"] input[type="checkbox"]');
10538														if(agrees) {
10539															for(let agree of agrees) {
10540																let parent = agree.closest('.popup-element');
10541																if(parent) {
10542																	let label = agree.nextElementSibling;
10543																	if(label) {
10544																		label.addEventListener('click', function(event){
10545																			event.preventDefault();
10546																			agree.checked = !agree.checked;
10547
10548
10549																			if(parent.dataset.mode == 'general') {
10550																				const agreeAll = agree;
10551																				for(let agree of agrees) {
10552																					agree.checked = agreeAll.checked;
10553																				}
10554																			}
10555
10556																			let agreeCount = 0;
10557																			let agreeSelected = 0;
10558																			for(let agree of agrees) {
10559																				const parent = agree.closest('.popup-element');
10560																				if(parent && parent.dataset.mode != 'general') {
10561																					agreeCount++;
10562																					if(agree.checked) {
10563																						agreeSelected++;
10564																					}
10565																				}
10566																			}
10567
10568																			const general = popup.querySelector('.popup-element[data-type="agree"][data-mode="general"]');
10569																			if(general) {
10570																				general.classList.toggle('all-selected', agreeSelected == agreeCount);
10571																				general.classList.toggle('no-selected', agreeSelected == 0);
10572																				general.classList.toggle('some-selected', agreeSelected > 0 && agreeSelected < agreeCount);
10573
10574																				const checkbox = general.querySelector('input[type="checkbox"]');
10575																				if(checkbox) {
10576																					if(agreeSelected == agreeCount) {
10577																						checkbox.checked = true;
10578																					} else {
10579																						checkbox.checked = false;
10580																					}
10581																				}
10582																			}
10583																		});
10584																		const links = label.querySelectorAll('a');
10585																		if(links) {
10586																			for(let link of links) {
10587																				link.addEventListener('click', function(event){
10588																					event.stopPropagation()
10589																				});
10590																			}
10591																		}
10592																	}
10593																}
10594															}
10595														}
10596
10597														const wheel = popup.querySelector('.popup-element[data-type="wheel"]');
10598														let wheelInterval;
10599														let wheelAngle = 0;
10600														if(wheel){
10601															const circle = popup.querySelector('.wheel-circle img');
10602															if(circle) {
10603																wheelInterval = setInterval(function(){
10604																	wheelAngle += 0.2;
10605																	if(wheelAngle > 360) {
10606																		wheelAngle -= 360;
10607																	}
10608																	circle.setAttribute('style', 'transform: rotate('+ wheelAngle +'deg)');
10609																}, 40);
10610															}
10611														}
10612
10613														const closeTriggers = popup.querySelectorAll('.popup-element[data-type="button-close"] button:not([data-fancybox-close])');
10614														if(closeTriggers) {
10615															for(let closeTrigger of closeTriggers) {
10616																closeTrigger.addEventListener('click', function(){
10617																	Fancybox.close();
10618																})
10619															}
10620														}
10621
10622														function sgPopup1463submit(callback = false) {
10623
10624															let hasError = false;
10625															const requiredInputs = popup.querySelectorAll('input[data-name][required]');
10626															if(requiredInputs) {
10627																for(let requiredInput of requiredInputs) {
10628																	if(requiredInput.dataset.mask) {
10629																		if(requiredInput.dataset.mask == 'phone') {
10630																			if(!Inputmask.isValid(requiredInput.value, { mask: '+7 (999) 999-99-99'})) {
10631																				requiredInput.classList.add('error');
10632																				hasError = true;
10633																			} else {
10634																				requiredInput.classList.remove('error');
10635																			}
10636																		} else if(requiredInput.dataset.mask == 'phone_intl' && typeof window.sgPopup.elements.intl != 'undefined') {
10637																			intl = window.sgPopup.elements.intl;
10638																			if(!intl.isValidNumberPrecise()) {
10639																				requiredInput.classList.add('error');
10640																				hasError = true;
10641																			} else {
10642																				requiredInput.classList.remove('error');
10643																			}
10644																		} else if(requiredInput.dataset.mask == 'email') {
10645																			if(!Inputmask.isValid(requiredInput.value, {alias: 'email'})) {
10646																				requiredInput.classList.add('error');
10647																				hasError = true;
10648																			} else {
10649																				requiredInput.classList.remove('error');
10650																			}
10651																		}
10652																	} else {
10653																		if(requiredInput.value == '') {
10654																			requiredInput.classList.add('error');
10655																			hasError = true;
10656																		} else {
10657																			requiredInput.classList.remove('error');
10658																		}
10659																	}
10660																}
10661															}
10662								
10663															const requiredTextareas = popup.querySelectorAll('textarea[data-name][required]');
10664															if(requiredTextareas) {
10665																for(let requiredTextarea of requiredTextareas) {
10666																	if(requiredTextarea.value == '') {
10667																		requiredTextarea.classList.add('error');
10668																		hasError = true;
10669																	} else {
10670																		requiredTextarea.classList.remove('error');
10671																	}
10672																}
10673															}
10674
10675															const requiredSelects = popup.querySelectorAll('select[data-name][required]');
10676															if(requiredSelects) {
10677																for(let requiredSelect of requiredSelects) {
10678																	const niceSelect = requiredSelect.nextElementSibling;
10679																	if(niceSelect) {
10680																		if(niceSelect.querySelector('.option.selected')) {
10681																			niceSelect.classList.remove('error')
10682																		} else {
10683																			niceSelect.classList.add('error');
10684																			hasError = true
10685																		}
10686																	}
10687																}
10688															}
10689
10690															if(agrees) {
10691																for(let agree of agrees) {
10692																	if(agree.required) {
10693																		let label = agree.nextElementSibling;
10694																		if(agree.checked) {
10695																			label.classList.remove('error');
10696																		} else {
10697																			label.classList.add('error');
10698																			hasError = true;
10699																		}
10700																	}
10701																}
10702															}
10703
10704															if(hasError) {
10705																if (callback && typeof callback === 'function') {
10706																	callback(false);
10707																}
10708																return false;
10709															}
10710
10711															function sgPopup1463sendRequest() {
10712
10713								
10714																let data = {
10715																	fields: [],
10716																	cookie: document.cookie,
10717																	markers: markers,
10718																	source: location.href
10719																};
10720								
10721																const inputs = popup.querySelectorAll('input[data-name]');
10722																if(inputs) {
10723																	for(let input of inputs) {
10724																		if(input.dataset.mask == 'phone_intl' && typeof window.sgPopup.elements.intl != 'undefined') {
10725																			intl = window.sgPopup.elements.intl;
10726																			data.fields.push({
10727																				name: input.dataset.name,
10728																				value: intl.getNumber()
10729																			});
10730																		} else {
10731																			data.fields.push({
10732																				name: input.dataset.name,
10733																				value: input.value
10734																			});
10735																		}
10736																	}
10737																}
10738
10739																const textareas = popup.querySelectorAll('textarea[data-name]');
10740																if(textareas) {
10741																	for(let textarea of textareas) {
10742																		data.fields.push({
10743																			name: textarea.dataset.name,
10744																			value: textarea.value
10745																		});
10746																	}
10747																}
10748
10749																if(typeof selects != 'undefined') {
10750																	for(let select of selects) {
10751																		data.fields.push({
10752																			name: select.dataset.name,
10753																			value: select.value
10754																		});
10755																	}
10756																}
10757
10758																const hiddenInputs = popup.querySelectorAll('input[type="hidden"]');
10759																for(let hiddenInput of hiddenInputs) {
10760																	const name = hiddenInput.name;
10761																	data[hiddenInput.name] = hiddenInput.value;
10762																}
10763
10764																const fileInputs = popup.querySelectorAll('.popup-element[data-type="input-file"] input[type="file"]');
10765																if(fileInputs) {
10766																	data.files = [];
10767																	for(let fileInput of fileInputs) {
10768																		if (fileInput.files && fileInput.files.length > 0) {
10769																			data.files.push({
10770																				'name': fileInput.files[0].name,
10771																				'content': fileInput.dataset.content
10772																			});
10773																		}
10774																	}
10775																}
10776
10777																if( wheel && typeof window.prize != 'undefined' ) {
10778																	data.fields.push(window.prize);
10779																}
10780								
10781
10782																var xmlhr = new XMLHttpRequest();
10783																xmlhr.open('POST', "https://psy-muip.ru/wp-json/generator.conversion/v1/actions/?_method=POST&action=formSubmit");
10784																xmlhr.send(JSON.stringify(data));
10785
10786																xmlhr.onreadystatechange = function() {
10787																	if (xmlhr.readyState === 4 && xmlhr.status === 200) {
10788																		console.log(xmlhr.response);
10789																		const response = JSON.parse(xmlhr.response);
10790																		console.log(response);
10791								
10792																		if(response.result) {
10793									
10794																			sgSuccessPopup1463();
10795											
10796																		} else {
10797																			alert(response.message);
10798																		}
10799									
10800																	}
10801																};
10802								
10803																return true;
10804
10805															}
10806
10807															if(wheel){
10808																const circle = popup.querySelector('.wheel-circle img');
10809																if(circle) {
10810																	clearInterval(wheelInterval);
10811								
10812																	}
10813
10814																} else {
10815																	const result = sgPopup1463sendRequest();
10816																	if (callback && typeof callback === 'function') {
10817																		callback(result);
10818																	}
10819																}
10820
10821															}
10822
10823															areaLinks = popup.querySelectorAll('.popup-area[data-type="area-link"]');
10824															if(areaLinks) {
10825																for(let areaLink of areaLinks) {
10826																	areaLink.addEventListener('click', function(){
10827																		if(areaLink.dataset.link && areaLink.dataset.link != '#') {
10828																			if(areaLink.dataset.target == '_blank') {
10829																				window.open(areaLink.dataset.link);
10830																			} else {
10831																				location.href = areaLink.dataset.link
10832																			}
10833																		}
10834																	});
10835																}
10836															}
10837
10838															areaOpeners = popup.querySelectorAll('.popup-area[data-type="area-opener"]');
10839															if(areaOpeners) {
10840																for(let areaOpener of areaOpeners) {
10841																	areaOpener.addEventListener('click', function(){
10842																		if(areaOpener.dataset.popup) {
10843																			if(typeof window['sgPopup' + areaOpener.dataset.popup] == 'function') {
10844																				Fancybox.close();
10845																				window['sgPopup' + areaOpener.dataset.popup]('forceOpen');
10846																			}
10847																		}
10848																	});
10849																}
10850															}
10851
10852															const submitButton = popup.querySelector(".popup-element[data-type='button-submit'] button");
10853															if(submitButton) {
10854																submitButton.addEventListener('click', function(event){
10855
10856																	event.preventDefault();
10857																	submitButton.disabled = true;
10858
10859																	sgPopup1463submit(function(result){
10860																		submitButton.disabled = result;
10861																	});
10862
10863																})
10864															}
10865														}
10866													},
10867													close: () => {
10868														window.sgPopup.opened = false;
10869														window.sgPopup.shown.push(1463);
10870														if(window.sgPopup.queue.length) {
10871															setTimeout(function(){
10872																let popupID = window.sgPopup.queue.shift();
10873																window['sgPopup' + popupID]('forceOpen');
10874															}, 30000);
10875														}
10876								
10877													}
10878												}
10879											})
10880										}
10881									}
10882								}
10883							
10884								function sgSuccessPopup1463() {
10885							
10886									let html;
10887									let closeButton;
10888									if(window.innerWidth >= 1040) {
10889										html = "<noindex id='SGsuccess1463' class='popup-wrapper grid-hidden'><div class='success-area' data-type='area-container' style='position: absolute; top: 120px; left: 40px; width: 340px; 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: 420px; 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>";
10890							closeButton = false;
10891									} else {
10892										html = "<noindex id='SGsuccess1463' 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>";
10893							closeButton = false;
10894									}
10895							
10896									Fancybox.close();
10897									new Fancybox([
10898										{
10899											src: html,
10900											type: 'html'
10901										}
10902									], {
10903										dragToClose: false,
10904										closeButton: closeButton,
10905										autoFocus: false,
10906										trapFocus: false,
10907										on: {
10908											done: (fancybox, slide) => {
10909							
10910												const success = document.querySelector("#SGsuccess1463");
10911												if(success) {
10912
10913													buttonLinks = success.querySelectorAll('button[data-type="link"]');
10914													if(buttonLinks) {
10915														for(let buttonLink of buttonLinks) {
10916															buttonLink.addEventListener('click', function(){
10917																if(buttonLink.dataset.link) {
10918																	if(buttonLink.dataset.target == '_blank') {
10919																		window.open(buttonLink.dataset.link);
10920																	} else {
10921																		location.href = buttonLink.dataset.link
10922																	}
10923																}
10924															});
10925														}
10926													}
10927													
10928												}
10929							
10930												setTimeout(function(){
10931													Fancybox.close();
10932												}, 3000);
10933									
10934											},
10935											close: () => {
10936												window.sgPopup.opened = false;
10937											}
10938										}
10939									});
10940								}
10941							</script>
vendor: 1 bytes, line 10941
10941
10942<script>
10943								if(typeof window.sgPopup == 'undefined') {
10944									window.sgPopup = {
10945										opened: false,
10946										queue: [],
10947										shown: [],
10948										elements: {}
10949									};
10950								}
10951						
10952								addEventListener('DOMContentLoaded', () => {
10953						
10954									document.body.addEventListener('click', function(event){
10955										if(
10956											event.target.dataset.target == "sgPopup1489"
10957											|| event.target.closest('[data-target="sgPopup1489"]')
10958										) {
10959											Fancybox.close();
10960											sgPopup1489('forceOpen');
10961										}
10962									});
10963
10964									sgPopup1489autoOpen();
10965								});
10966
10967								function sgPopup1489autoOpen() {
10968							
10969								}
10970
10971								function sgPopup1489reachGoal(code) {
10972
10973									function executeGoal(params) {
10974										if(typeof params == 'object') {
10975
10976											eval('ym('+ params.join(',') +');');
10977
10978											let data = {
10979												'goal': params[2],
10980												timestamp: new Date().toISOString()
10981											};
10982
10983											var xmlhr = new XMLHttpRequest();
10984											xmlhr.open('POST', "https://psy-muip.ru/wp-json/generator.conversion/v1/actions/?_method=POST&action=goalLog");
10985											xmlhr.send(JSON.stringify(data));
10986
10987											xmlhr.onreadystatechange = function() {
10988												if (xmlhr.readyState === 4 && xmlhr.status === 200) {
10989													if( urlParams.get('debug') ) {
10990														const response = JSON.parse(xmlhr.response);
10991														console.log(response);
10992													}
10993												}
10994											}
10995
10996										}
10997									}
10998
10999									const goals = code.split(';');
11000									if(goals) {
11001										for(let goal of goals) {
11002											goal = goal.trim();
11003											if(goal != '') {
11004												const regexp = /ym(.*)/;
11005												if( regexp.test(goal) ) {
11006
11007													goal = goal.replace('ym(', '');
11008													goal = goal.replace(')', '');
11009													const params = goal.split(',');
11010													if(params) {
11011
11012														if (typeof window.ym != 'undefined') {
11013															executeGoal(params);
11014														} else {
11015															if(typeof window.popup1489goals == 'undefined') {
11016																window.popup1489goals = [];
11017															}
11018
11019															window.popup1489goals.push({
11020																'metrika': params[0],
11021																'action': params[1],
11022																'id': params[2]
11023															});
11024
11025															if(typeof popup1489interval == 'undefined') {
11026																popup1489interval = setInterval(function(){
11027																	if (typeof window.ym != 'undefined') {
11028																		for(let goal of window.popup1489goals) {
11029																			executeGoal(params);
11030																		}
11031																		window.popup1489goals = [];
11032																		clearInterval(popup1489interval);
11033																	}
11034																}, 1000);
11035															}
11036														}
11037													}
11038												} else {
11039													eval(goal);
11040												}
11041											}
11042										}
11043									}
11044
11045								}
11046
11047								function sgPopup1489(action = false) {
11048
11049									if(!action) return;
11050
11051									if( ['open', 'forceOpen'].includes(action) ) {
11052
11053								
11054										if(action == 'open' && window.sgPopup.shown.includes(1489)) {
11055											return false;
11056										}
11057
11058										if(window.sgPopup.opened) {
11059
11060											if(window.sgPopup.opened != 1489) {
11061												window.sgPopup.queue.push(1489);
11062											}
11063
11064										} else {
11065
11066											window.sgPopup.opened = 1489;
11067
11068											let html;
11069											let closeButton;
11070											if(window.innerWidth >= 1040) {
11071												html = "<noindex id='SGpopup1489' class='popup-wrapper grid-hidden'><div class='popup-area' data-type='area-container' style='position: relative; top: 190px; left: 23px; margin-left: ; width: 439.867px; height: 335px; '><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=\"Введите ваше имя\" data-name=\"Имя\" data-mask=\"null\" style=\"background-color: rgb(255, 255, 255); border-color: rgb(227, 227, 227); font-size: 17px; color: rgb(104, 104, 104); padding: 8px 12px; border-radius: 30px;\"></div></div><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=\"Ваш e-mail, например: [email protected]\" data-name=\"Почта\" data-mask=\"email\" required=\"\" style=\"background-color: rgb(255, 255, 255); border-color: rgb(227, 227, 227); font-size: 17px; color: rgb(104, 104, 104); padding: 8px 12px; border-radius: 30px;\"></div></div><div class='popup-element' data-type='input' style='margin-top: 0px;margin-right: 0px;margin-bottom: 9px;margin-left: 0px;'><div class='popupElement-content'><input type=\"text\" placeholder=\"+7 (___) ___ - __ - __\" data-name=\"Телефон\" data-mask=\"phone\" required=\"\" style=\"background-color: rgb(255, 255, 255); border-color: rgb(225, 225, 226); font-size: 17px; color: rgb(120, 120, 120); padding: 8px 12px; border-radius: 30px;\"></div></div><div class='popup-element' data-type='input' style='margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;'><div class='popupElement-content'><input type=\"text\" placeholder=\"Ник в телеграм\" data-name=\"Ник\" data-mask=\"null\" style=\"background-color: rgb(255, 255, 255); border-color: rgb(225, 225, 226); font-size: 17px; color: rgb(125, 122, 122); padding: 8px 12px; border-radius: 30px;\"></div></div><div class='popup-element' data-type='button-submit' style='margin-top: 10px;margin-right: 0px;margin-bottom: 7px;margin-left: 0px;'><div class='popupElement-content'><button type=\"submit\" style=\"background-color: rgb(10, 117, 111); color: rgb(0, 0, 0); font-size: 19px; border-radius: 30px; padding: 16px 14px;\" onclick=\"\"><div class=\"buttonSubmit-content\"><p><span style=\"color:hsl(0,0%,100%);font-size:18px;\">Получить доступ</span></p></div></button></div></div><div class='popup-element' data-type='agree' data-element-id='691793' data-fill='#9e9e9eff' data-mode='default' style='margin-top: 0px;margin-right: 0px;margin-bottom: 4px;margin-left: 0px;'><style>#SGpopup1489 .popup-element[data-element-id='691793'][data-type='agree'] .popupElement-content input[type='checkbox'] + label:before {border-color: #9e9e9eff;} #SGpopup1489 .popup-element[data-element-id='691793'][data-type='agree'] .popupElement-content input[type='checkbox'] + label:after {background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHhtbG5zOnhsaW5rPSdodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rJyB2ZXJzaW9uPScxLjEnIHg9JzBweCcgeT0nMHB4JyB3aWR0aD0nNTEycHgnIGhlaWdodD0nNTEycHgnIHZpZXdCb3g9JzAgMCA0NDIuNTMzIDQ0Mi41MzMnIHN0eWxlPSdlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDQ0Mi41MzMgNDQyLjUzMycgeG1sOnNwYWNlPSdwcmVzZXJ2ZSc+PHBhdGggZD0nTTQzNC41MzksOTguNDk5bC0zOC44MjgtMzguODI4Yy01LjMyNC01LjMyOC0xMS43OTktNy45OTMtMTkuNDEtNy45OTNjLTcuNjE4LDAtMTQuMDkzLDIuNjY1LTE5LjQxNyw3Ljk5M0wxNjkuNTksMjQ3LjI0OCBsLTgzLjkzOS04NC4yMjVjLTUuMzMtNS4zMy0xMS44MDEtNy45OTItMTkuNDEyLTcuOTkyYy03LjYxNiwwLTE0LjA4NywyLjY2Mi0xOS40MTcsNy45OTJMNy45OTQsMjAxLjg1MiAgIEMyLjY2NCwyMDcuMTgxLDAsMjEzLjY1NCwwLDIyMS4yNjljMCw3LjYwOSwyLjY2NCwxNC4wODgsNy45OTQsMTkuNDE2bDEwMy4zNTEsMTAzLjM0OWwzOC44MzEsMzguODI4IGM1LjMyNyw1LjMzMiwxMS44LDcuOTk0LDE5LjQxNCw3Ljk5NGM3LjYxMSwwLDE0LjA4NC0yLjY2OSwxOS40MTQtNy45OTRsMzguODMtMzguODI4TDQzNC41MzksMTM3LjMzIGM1LjMyNS01LjMzLDcuOTk0LTExLjgwMiw3Ljk5NC0xOS40MTdDNDQyLjUzNywxMTAuMzAyLDQzOS44NjQsMTAzLjgyOSw0MzQuNTM5LDk4LjQ5OXonIGZpbGw9JyM5ZTllOWVmZicvPjwvc3ZnPg==);}</style><div class='popupElement-content'><input type=\"checkbox\" checked=\"\" required=\"\" tabindex=\"-1\" data-orig-tabindex=\"-1\"><label><p><span style=\"color:hsl(0,0%,18%);font-size:9px;\">Я согласен на обработку моих персональных данных. 
С&nbsp;</span><a href=\"https://psy-muip.ru/agreement\" data-fpl-component=\"primitive\" target=\"_blank\" rel=\"noopener\"><span style=\"color:hsl(0,0%,18%);font-size:9px;\"><u>Политикой обработки персональных данных</u></span></a><span style=\"color:hsl(0,0%,18%);font-size:9px;\">&nbsp;ознакомлен</span></p></label></div></div><div class='popup-element' data-type='editor' data-element-id='384527' style='padding-top: 0px;padding-right: 0px;padding-bottom: 0px;padding-left: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;' data-p-margin-bottom='13px' data-p-line-height='80%'><style>#SGpopup1489 .popup-element[data-element-id='384527'][data-type='editor'] p {margin-bottom: 13px}#SGpopup1489 .popup-element[data-element-id='384527'][data-type='editor'] * {line-height: 80%}</style><div class='popupElement-content'><p><a href=\"https://psy-muip.ru/politika\" data-fpl-component=\"primitive\" target=\"_blank\" rel=\"noopener\"><span style=\"color:hsl(0,0%,18%);font-size:9px;\"><u>Политика&nbsp;в отношении обработки персональных данных</u></span></a><span style=\"color:hsl(0,0%,18%);font-size:9px;\"> | </span><a href=\"https://psy-muip.ru/custom\" data-fpl-component=\"primitive\" target=\"_blank\" rel=\"noopener\"><span style=\"color:hsl(0,0%,18%);font-size:9px;\"><u>Пользовательское соглашение</u></span></a><br><a href=\"https://psy-muip.ru/agreement\" data-fpl-component=\"primitive\" target=\"_blank\" rel=\"noopener\"><span style=\"color:hsl(0,0%,18%);font-size:9px;\"><u>Согласие на обработку персональных данных</u></span></a><span style=\"color:hsl(0,0%,18%);font-size:9px;\"> | </span><a href=\"https://psy-muip.ru/rassylka\" data-fpl-component=\"primitive\" target=\"_blank\" rel=\"noopener\"><span style=\"color:hsl(0,0%,18%);font-size:9px;\"><u>Согласие на рассылку материалов</u></span></a></p></div></div></div><div class='popup-area' data-type='close-container' style='position: absolute;
11071 top: 17px; left: 983px; 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: 36px; height: 36px; background-color: rgba(0, 0, 0, 0); border: 1px 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(255, 14, 14);\"><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: absolute; top: 32px; left: 51px; margin-left: ; width: 296px; height: 23px; '><div class='popup-element' data-type='editor' data-element-id='332362' style='padding-top: 0px;padding-right: 0px;padding-bottom: 0px;padding-left: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;' data-p-margin-bottom='20px' data-p-line-height='120%'><style>#SGpopup1489 .popup-element[data-element-id='332362'][data-type='editor'] p {margin-bottom: 20px}#SGpopup1489 .popup-element[data-element-id='332362'][data-type='editor'] * {line-height: 120%}</style><div class='popupElement-content'><p><span style=\"color:hsl(177,84%,25%);font-size:14px;\">Только<strong> до {date}</strong></span></p></div></div></div><input type='hidden' name='popupID' value='1489'><input type='hidden' name='projectID' value='453'><input type='hidden' name='custom_utm_source'><input type='hidden' name='custom_utm_medium'><input type='hidden' name='custom_utm_campaign'><input type='hidden' name='custom_utm_content'><input type='hidden' name='custom_utm_term'></noindex>";
11072								
11073												closeButton = false;
11074										
11075											} else {
11076								
11077												html = "<noindex id='SGpopup1489' class='popup-wrapper grid-hidden'><div class='popup-area' data-type='area-container' style='position: relative; top: 155px; left: 6px; margin-left: ; width: 327.867px; height: 327.867px; '><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=\"Введите ваше имя\" data-name=\"Имя\" data-mask=\"null\" style=\"background-color: rgb(255, 255, 255); border-color: rgb(227, 227, 227); font-size: 17px; color: rgb(104, 104, 104); padding: 5px; border-radius: 30px;\"></div></div><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=\"Ваш e-mail, например: [email protected]\" data-name=\"Почта\" data-mask=\"email\" required=\"\" style=\"background-color: rgb(255, 255, 255); border-color: rgb(227, 227, 227); font-size: 17px; color: rgb(104, 104, 104); padding: 5px; border-radius: 30px;\"></div></div><div class='popup-element' data-type='input' style='margin-top: 0px;margin-right: 0px;margin-bottom: 9px;margin-left: 0px;'><div class='popupElement-content'><input type=\"text\" placeholder=\"+7 (___) ___ - __ - __\" data-name=\"Телефон\" data-mask=\"phone\" required=\"\" style=\"background-color: rgb(255, 255, 255); border-color: rgb(225, 225, 226); font-size: 17px; color: rgb(120, 120, 120); padding: 5px; border-radius: 30px;\"></div></div><div class='popup-element' data-type='input' style='margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;'><div class='popupElement-content'><input type=\"text\" placeholder=\"Ник в телеграм\" data-name=\"Ник\" required=\"\" style=\"background-color: rgb(255, 255, 255); border-color: rgb(225, 225, 226); font-size: 17px; color: rgb(125, 122, 122); padding: 5px; border-radius: 30px;\"></div></div><div class='popup-element' data-type='button-submit' style='margin-top: 10px;margin-right: 0px;margin-bottom: 7px;margin-left: 0px;'><div class='popupElement-content'><button type=\"submit\" style=\"background-color: rgb(10, 117, 111); color: rgb(0, 0, 0); font-size: 19px; border-radius: 30px; padding: 10px;\" onclick=\"\"><div class=\"buttonSubmit-content\"><p><span style=\"color:hsl(0,0%,100%);font-size:18px;\">Получить доступ</span></p></div></button></div></div><div class='popup-element' data-type='agree' data-element-id='923285' data-fill='#9e9e9eff' data-mode='default' style='margin-top: 0px;margin-right: 0px;margin-bottom: 4px;margin-left: 0px;'><style>#SGpopup1489 .popup-element[data-element-id='923285'][data-type='agree'] .popupElement-content input[type='checkbox'] + label:before {border-color: #9e9e9eff;} #SGpopup1489 .popup-element[data-element-id='923285'][data-type='agree'] .popupElement-content input[type='checkbox'] + label:after {background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHhtbG5zOnhsaW5rPSdodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rJyB2ZXJzaW9uPScxLjEnIHg9JzBweCcgeT0nMHB4JyB3aWR0aD0nNTEycHgnIGhlaWdodD0nNTEycHgnIHZpZXdCb3g9JzAgMCA0NDIuNTMzIDQ0Mi41MzMnIHN0eWxlPSdlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDQ0Mi41MzMgNDQyLjUzMycgeG1sOnNwYWNlPSdwcmVzZXJ2ZSc+PHBhdGggZD0nTTQzNC41MzksOTguNDk5bC0zOC44MjgtMzguODI4Yy01LjMyNC01LjMyOC0xMS43OTktNy45OTMtMTkuNDEtNy45OTNjLTcuNjE4LDAtMTQuMDkzLDIuNjY1LTE5LjQxNyw3Ljk5M0wxNjkuNTksMjQ3LjI0OCBsLTgzLjkzOS04NC4yMjVjLTUuMzMtNS4zMy0xMS44MDEtNy45OTItMTkuNDEyLTcuOTkyYy03LjYxNiwwLTE0LjA4NywyLjY2Mi0xOS40MTcsNy45OTJMNy45OTQsMjAxLjg1MiAgIEMyLjY2NCwyMDcuMTgxLDAsMjEzLjY1NCwwLDIyMS4yNjljMCw3LjYwOSwyLjY2NCwxNC4wODgsNy45OTQsMTkuNDE2bDEwMy4zNTEsMTAzLjM0OWwzOC44MzEsMzguODI4IGM1LjMyNyw1LjMzMiwxMS44LDcuOTk0LDE5LjQxNCw3Ljk5NGM3LjYxMSwwLDE0LjA4NC0yLjY2OSwxOS40MTQtNy45OTRsMzguODMtMzguODI4TDQzNC41MzksMTM3LjMzIGM1LjMyNS01LjMzLDcuOTk0LTExLjgwMiw3Ljk5NC0xOS40MTdDNDQyLjUzNywxMTAuMzAyLDQzOS44NjQsMTAzLjgyOSw0MzQuNTM5LDk4LjQ5OXonIGZpbGw9JyM5ZTllOWVmZicvPjwvc3ZnPg==);}</style><div class='popupElement-content'><input type=\"checkbox\" checked=\"\" required=\"\" tabindex=\"-1\" data-orig-tabindex=\"-1\"><label><p><span style=\"color:hsl(0,0%,18%);font-size:9px;\">Я согласен на обработку моих персональных данных. 
С&nbsp;</span><a href=\"https://psy-muip.ru/agreement\" data-fpl-component=\"primitive\" target=\"_blank\" rel=\"noopener\"><span style=\"color:hsl(0,0%,18%);font-size:9px;\"><u>Политикой обработки персональных данных</u></span></a><span style=\"color:hsl(0,0%,18%);font-size:9px;\">&nbsp;ознакомлен</span></p></label></div></div><div class='popup-element' data-type='editor' data-element-id='641933' style='padding-top: 0px;padding-right: 0px;padding-bottom: 0px;padding-left: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;' data-p-margin-bottom='13px' data-p-line-height='80%'><style>#SGpopup1489 .popup-element[data-element-id='641933'][data-type='editor'] p {margin-bottom: 13px}#SGpopup1489 .popup-element[data-element-id='641933'][data-type='editor'] * {line-height: 80%}</style><div class='popupElement-content'><p><a href=\"https://psy-muip.ru/politika\" data-fpl-component=\"primitive\" target=\"_blank\" rel=\"noopener\"><span style=\"color:hsl(0,0%,18%);font-size:9px;\"><u>Политика&nbsp;в отношении обработки персональных данных</u></span></a><span style=\"color:hsl(0,0%,18%);font-size:9px;\"> | </span><a href=\"https://psy-muip.ru/custom\" data-fpl-component=\"primitive\" target=\"_blank\" rel=\"noopener\"><span style=\"color:hsl(0,0%,18%);font-size:9px;\"><u>Пользовательское соглашение</u></span></a><br><a href=\"https://psy-muip.ru/agreement\" data-fpl-component=\"primitive\" target=\"_blank\" rel=\"noopener\"><span style=\"color:hsl(0,0%,18%);font-size:9px;\"><u>Согласие на обработку персональных данных</u></span></a><span style=\"color:hsl(0,0%,18%);font-size:9px;\"> | </span><a href=\"https://psy-muip.ru/rassylka\" data-fpl-component=\"primitive\" target=\"_blank\" rel=\"noopener\"><span style=\"color:hsl(0,0%,18%);font-size:9px;\"><u>Согласие на рассылку материалов</u></span></a></p></div></div></div><div class='popup-area' data-type='close-container' style='position: absolute; top: -38.9937px; left: 364px; margin-left: -40px; width: 40px; height: 40px; '><div class='popup-element' data-type='button-close' style=''><div class='popupElement-content'></div></div></div><div class='popup-area' data-type='area-container' style='position: absolute; top: 27px; left: 39px; margin-left: ; width: 296px; height: 23px; '><div class='popup-element' data-type='editor' data-element-id='331323' style='padding-top: 0px;padding-right: 0px;padding-bottom: 0px;padding-left: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;' data-p-margin-bottom='20px' data-p-line-height='120%'><style>#SGpopup1489 .popup-element[data-element-id='331323'][data-type='editor'] p {margin-bottom: 20px}#SGpopup1489 .popup-element[data-element-id='331323'][data-type='editor'] * {line-height: 120%}</style><div class='popupElement-content'><p><span style=\"color:hsl(177,84%,25%);font-size:14px;\">Только<strong> до {date}</strong></span></p></div></div></div><input type='hidden' name='popupID' value='1489'><input type='hidden' name='projectID' value='453'><input type='hidden' name='custom_utm_source'><input type='hidden' name='custom_utm_medium'><input type='hidden' name='custom_utm_campaign'><input type='hidden' name='custom_utm_content'><input type='hidden' name='custom_utm_term'></noindex>";
11078								
11079												closeButton = true;
11080										
11081											}
11082								
11083											dateFrom = 1771200000 * 1000;
11084											if(dateFrom < Date.now()) {
11085												do {
11086													dateFrom += 7 * 24 * 60 * 60 * 1000;
11087												} while (dateFrom < Date.now());
11088											}
11089
11090											for (const match of html.matchAll(/{date((\+|\-)([0-9]*))?}/g)) {
11091												dateTo = dateFrom;
11092												if(typeof match[1] != 'undefined') {
11093													dateTo += match[1] * 24 * 60 * 60 * 1000;
11094												}
11095												dateTo = new Date(dateTo);
11096
11097												formatDate = '{day} {month} ';
11098												if(formatDate.indexOf('{day}') != -1) {
11099													day = dateTo.getDate();
11100													if("number_full" == "number_full") {
11101														if(day < 10) {
11102															day = '0' + day;
11103														}
11104													}
11105													formatDate = formatDate.replace('{day}', day);
11106												}
11107
11108												if(formatDate.indexOf('{month}') != -1) {
11109													month = dateTo.getMonth() + 1;
11110													if("text_genitive" == "number_full") {
11111														if(month < 10) {
11112															month = '0' + month;
11113														}
11114													} else if("text_genitive" == "text_nominative") {
11115														let months = {
11116															1: 'январь',
11117															2: 'февраль',
11118															3: 'март',
11119															4: 'апрель',
11120															5: 'май',
11121															6: 'июнь',
11122															7: 'июль',
11123															8: 'август',
11124															9: 'сентябрь',
11125															10: 'октябрь',
11126															11: 'ноябрь',
11127															12: 'декабрь'
11128														};
11129														month = months[month];
11130													} else if("text_genitive" == "text_genitive") {
11131														let months = {
11132															1: 'января',
11133															2: 'февраля',
11134															3: 'марта',
11135															4: 'апреля',
11136															5: 'мая',
11137															6: 'июня',
11138															7: 'июля',
11139															8: 'августа',
11140															9: 'сентября',
11141															10: 'октября',
11142															11: 'ноября',
11143															12: 'декабря'
11144														};
11145														month = months[month];
11146													}
11147													formatDate = formatDate.replace('{month}', month);
11148												}
11149
11150												if(formatDate.indexOf('{year}') != -1) {
11151													year = dateTo.getFullYear();
11152													if("number_full" == "number_short") {
11153														year = year.toString().substr(-2);
11154													}
11155													formatDate = formatDate.replace('{year}', year);
11156												}
11157												html = html.replaceAll(match[0], formatDate);
11158											};
11159										
11160											Fancybox.close();
11161											new Fancybox([
11162												{
11163													src: html,
11164													type: 'html'
11165												}
11166											], {
11167												dragToClose: false,
11168												closeButton: closeButton,
11169												compact: false,
11170												autoFocus: false,
11171												trapFocus: false,
11172												on: {
11173													done: (fancybox, slide) => {
11174								
11175													sgPopup1489reachGoal("ym(93615077,'reachGoal','Popup_Demo_dostup_show');");
11176										
11177													const popup = document.querySelector("#SGpopup1489");
11178													if(popup) {
11179
11180														const url = new URL(location.href);
11181														window.utm_source = url.searchParams.get('utm_source');
11182														window.utm_medium = url.searchParams.get('utm_medium');
11183														window.utm_campaign = url.searchParams.get('utm_campaign');
11184														window.utm_term = url.searchParams.get('utm_term');
11185														window.utm_content = url.searchParams.get('utm_content');
11186
11187								
11188														const custom_utm_source = popup.querySelector('input[name="custom_utm_source"]');
11189														if(custom_utm_source && typeof 'site' != undefined) {
11190															custom_utm_source.value = 'site';
11191														}
11192											
11193														const custom_utm_medium = popup.querySelector('input[name="custom_utm_medium"]');
11194														if(custom_utm_medium && typeof 'seo' != undefined) {
11195															custom_utm_medium.value = 'seo';
11196														}
11197											
11198														const custom_utm_campaign = popup.querySelector('input[name="custom_utm_campaign"]');
11199														if(custom_utm_campaign && typeof 'genegator_Demo_dostup_practicing_psychologist_telesno_orientirovannai_terapia' != undefined) {
11200															custom_utm_campaign.value = 'genegator_Demo_dostup_practicing_psychologist_telesno_orientirovannai_terapia';
11201														}
11202											
11203														const custom_utm_content = popup.querySelector('input[name="custom_utm_content"]');
11204														if(custom_utm_content && typeof 'muip' != undefined) {
11205															custom_utm_content.value = 'muip';
11206														}
11207											
11208														const custom_utm_term = popup.querySelector('input[name="custom_utm_term"]');
11209														if(custom_utm_term && typeof 'popup' != undefined) {
11210															custom_utm_term.value = 'popup';
11211														}
11212											
11213														openerLinks = popup.querySelectorAll('a[data-target]');
11214														if(openerLinks) {
11215															for(let openerLink of openerLinks) {
11216																openerLink.addEventListener('click', function(){
11217																	if(openerLink.dataset.target) {
11218																		if(typeof window[openerLink.dataset.target] == 'function') {
11219																			Fancybox.close();
11220																			window[openerLink.dataset.target]('open');
11221																		}
11222																	}
11223																});
11224															}
11225														}
11226
11227														linkImages = popup.querySelectorAll('.image-wrapper[data-type="link"]');
11228														if(linkImages) {
11229															for(let linkImage of linkImages) {
11230																linkImage.addEventListener('click', function(){
11231																	if(linkImage.dataset.link) {
11232																		if(linkImage.dataset.target == '_blank') {
11233																			window.open(linkImage.dataset.link);
11234																		} else {
11235																			location.href = linkImage.dataset.link
11236																		}
11237																	}
11238																});
11239															}
11240														}
11241
11242														openerImages = popup.querySelectorAll('.image-wrapper[data-type="opener"]');
11243														if(openerImages) {
11244															for(let openerImage of openerImages) {
11245																openerImage.addEventListener('click', function(){
11246																	if(openerImage.dataset.popup) {
11247																		if(typeof window['sgPopup' + openerImage.dataset.popup] == 'function') {
11248																			Fancybox.close();
11249																			window['sgPopup' + openerImage.dataset.popup]('forceOpen');
11250																		}
11251																	}
11252																});
11253															}
11254														}
11255
11256														submitImages = popup.querySelectorAll('.image-wrapper[data-type="submitter"]');
11257														if(submitImages) {
11258															for(let submitImage of submitImages) {
11259																submitImage.addEventListener('click', function(){
11260
11261																	if(submitImage.classList.contains('disabled')) return false;
11262
11263																	submitImage.classList.add('disabled');
11264
11265																	sgPopup1489submit(function(result){
11266																		submitImage.classList.toggle('disabled', result);
11267																	});
11268
11269																});
11270															}
11271														}
11272
11273														const linkButtons = popup.querySelectorAll('button[data-type="link"]');
11274														if(linkButtons) {
11275															for(let linkButton of linkButtons) {
11276																linkButton.addEventListener('click', function(){
11277																	if(linkButton.dataset.link && linkButton.dataset.link != '#') {
11278								
11279																		if(linkButton.dataset.target == '_blank') {
11280																			window.open(linkButton.dataset.link);
11281																		} else {
11282																			location.href = linkButton.dataset.link
11283																		}
11284																	}
11285																});
11286															}
11287														}
11288
11289														openerButtons = popup.querySelectorAll('button[data-type="opener"]');
11290														if(openerButtons) {
11291															for(let openerButton of openerButtons) {
11292																openerButton.addEventListener('click', function(){
11293									
11294																	if(openerButton.dataset.popup) {
11295																		if(typeof window['sgPopup' + openerButton.dataset.popup] == 'function') {
11296																			Fancybox.close();
11297																			window['sgPopup' + openerButton.dataset.popup]('forceOpen');
11298																		}
11299																	}
11300																});
11301															}
11302														}
11303
11304														const maskedFields = popup.querySelectorAll('input[data-mask]');
11305														if(maskedFields) {
11306															for(let maskedField of maskedFields) {
11307																if(maskedField.dataset.mask == 'phone') {
11308																	Inputmask('+7 (999) 999-99-99', {
11309																		clearIncomplete: true,
11310																		greedy: false
11311																	}).mask(maskedField);
11312								
11313																} else if(maskedField.dataset.mask == 'email') {
11314																	Inputmask({
11315																	alias: 'email',
11316																		clearIncomplete: true,
11317																		greedy: false
11318																	}).mask(maskedField);
11319																}
11320															}
11321														}
11322
11323														const fileInputs = popup.querySelectorAll('.popup-element[data-type="input-file"] input[type="file"]');
11324														if(fileInputs) {
11325															for(let fileInput of fileInputs) {
11326																let label = fileInput.nextElementSibling;
11327																if(label) {
11328																	fileInput.addEventListener('change', function() {
11329																		if (fileInput.files && fileInput.files.length > 0) {
11330																			const maxSize = fileInput.dataset.limit;
11331																			if(fileInput.files[0].size <= maxSize * 1024 * 1024) {
11332																				reader = new FileReader();
11333																				reader.onload = function(){
11334																					const span = label.querySelector('span');
11335																					if(span) {
11336																						span.innerHTML = fileInput.files[0].name;
11337																					}
11338																					fileInput.dataset.content = reader.result;
11339																				};
11340																				reader.readAsDataURL(fileInput.files[0]);
11341																			} else {
11342																				alert('Превышен максимальный размер файла - '+ maxSize +'мб');
11343																			}
11344																		}
11345																	});
11346																	label.addEventListener('click', function(event){
11347																		event.preventDefault();
11348																		fileInput.click();
11349																	});
11350																}
11351															}
11352														}
11353
11354														const agrees = popup.querySelectorAll('.popup-element[data-type="agree"] input[type="checkbox"]');
11355														if(agrees) {
11356															for(let agree of agrees) {
11357																let parent = agree.closest('.popup-element');
11358																if(parent) {
11359																	let label = agree.nextElementSibling;
11360																	if(label) {
11361																		label.addEventListener('click', function(event){
11362																			event.preventDefault();
11363																			agree.checked = !agree.checked;
11364
11365
11366																			if(parent.dataset.mode == 'general') {
11367																				const agreeAll = agree;
11368																				for(let agree of agrees) {
11369																					agree.checked = agreeAll.checked;
11370																				}
11371																			}
11372
11373																			let agreeCount = 0;
11374																			let agreeSelected = 0;
11375																			for(let agree of agrees) {
11376																				const parent = agree.closest('.popup-element');
11377																				if(parent && parent.dataset.mode != 'general') {
11378																					agreeCount++;
11379																					if(agree.checked) {
11380																						agreeSelected++;
11381																					}
11382																				}
11383																			}
11384
11385																			const general = popup.querySelector('.popup-element[data-type="agree"][data-mode="general"]');
11386																			if(general) {
11387																				general.classList.toggle('all-selected', agreeSelected == agreeCount);
11388																				general.classList.toggle('no-selected', agreeSelected == 0);
11389																				general.classList.toggle('some-selected', agreeSelected > 0 && agreeSelected < agreeCount);
11390
11391																				const checkbox = general.querySelector('input[type="checkbox"]');
11392																				if(checkbox) {
11393																					if(agreeSelected == agreeCount) {
11394																						checkbox.checked = true;
11395																					} else {
11396																						checkbox.checked = false;
11397																					}
11398																				}
11399																			}
11400																		});
11401																		const links = label.querySelectorAll('a');
11402																		if(links) {
11403																			for(let link of links) {
11404																				link.addEventListener('click', function(event){
11405																					event.stopPropagation()
11406																				});
11407																			}
11408																		}
11409																	}
11410																}
11411															}
11412														}
11413
11414														const wheel = popup.querySelector('.popup-element[data-type="wheel"]');
11415														let wheelInterval;
11416														let wheelAngle = 0;
11417														if(wheel){
11418															const circle = popup.querySelector('.wheel-circle img');
11419															if(circle) {
11420																wheelInterval = setInterval(function(){
11421																	wheelAngle += 0.2;
11422																	if(wheelAngle > 360) {
11423																		wheelAngle -= 360;
11424																	}
11425																	circle.setAttribute('style', 'transform: rotate('+ wheelAngle +'deg)');
11426																}, 40);
11427															}
11428														}
11429
11430														const closeTriggers = popup.querySelectorAll('.popup-element[data-type="button-close"] button:not([data-fancybox-close])');
11431														if(closeTriggers) {
11432															for(let closeTrigger of closeTriggers) {
11433																closeTrigger.addEventListener('click', function(){
11434																	Fancybox.close();
11435																})
11436															}
11437														}
11438
11439														function sgPopup1489submit(callback = false) {
11440
11441															let hasError = false;
11442															const requiredInputs = popup.querySelectorAll('input[data-name][required]');
11443															if(requiredInputs) {
11444																for(let requiredInput of requiredInputs) {
11445																	if(requiredInput.dataset.mask) {
11446																		if(requiredInput.dataset.mask == 'phone') {
11447																			if(!Inputmask.isValid(requiredInput.value, { mask: '+7 (999) 999-99-99'})) {
11448																				requiredInput.classList.add('error');
11449																				hasError = true;
11450																			} else {
11451																				requiredInput.classList.remove('error');
11452																			}
11453																		} else if(requiredInput.dataset.mask == 'phone_intl' && typeof window.sgPopup.elements.intl != 'undefined') {
11454																			intl = window.sgPopup.elements.intl;
11455																			if(!intl.isValidNumberPrecise()) {
11456																				requiredInput.classList.add('error');
11457																				hasError = true;
11458																			} else {
11459																				requiredInput.classList.remove('error');
11460																			}
11461																		} else if(requiredInput.dataset.mask == 'email') {
11462																			if(!Inputmask.isValid(requiredInput.value, {alias: 'email'})) {
11463																				requiredInput.classList.add('error');
11464																				hasError = true;
11465																			} else {
11466																				requiredInput.classList.remove('error');
11467																			}
11468																		}
11469																	} else {
11470																		if(requiredInput.value == '') {
11471																			requiredInput.classList.add('error');
11472																			hasError = true;
11473																		} else {
11474																			requiredInput.classList.remove('error');
11475																		}
11476																	}
11477																}
11478															}
11479								
11480															const requiredTextareas = popup.querySelectorAll('textarea[data-name][required]');
11481															if(requiredTextareas) {
11482																for(let requiredTextarea of requiredTextareas) {
11483																	if(requiredTextarea.value == '') {
11484																		requiredTextarea.classList.add('error');
11485																		hasError = true;
11486																	} else {
11487																		requiredTextarea.classList.remove('error');
11488																	}
11489																}
11490															}
11491
11492															const requiredSelects = popup.querySelectorAll('select[data-name][required]');
11493															if(requiredSelects) {
11494																for(let requiredSelect of requiredSelects) {
11495																	const niceSelect = requiredSelect.nextElementSibling;
11496																	if(niceSelect) {
11497																		if(niceSelect.querySelector('.option.selected')) {
11498																			niceSelect.classList.remove('error')
11499																		} else {
11500																			niceSelect.classList.add('error');
11501																			hasError = true
11502																		}
11503																	}
11504																}
11505															}
11506
11507															if(agrees) {
11508																for(let agree of agrees) {
11509																	if(agree.required) {
11510																		let label = agree.nextElementSibling;
11511																		if(agree.checked) {
11512																			label.classList.remove('error');
11513																		} else {
11514																			label.classList.add('error');
11515																			hasError = true;
11516																		}
11517																	}
11518																}
11519															}
11520
11521															if(hasError) {
11522																if (callback && typeof callback === 'function') {
11523																	callback(false);
11524																}
11525																return false;
11526															}
11527
11528															function sgPopup1489sendRequest() {
11529
11530								
11531																let data = {
11532																	fields: [],
11533																	cookie: document.cookie,
11534																	markers: markers,
11535																	source: location.href
11536																};
11537								
11538																const inputs = popup.querySelectorAll('input[data-name]');
11539																if(inputs) {
11540																	for(let input of inputs) {
11541																		if(input.dataset.mask == 'phone_intl' && typeof window.sgPopup.elements.intl != 'undefined') {
11542																			intl = window.sgPopup.elements.intl;
11543																			data.fields.push({
11544																				name: input.dataset.name,
11545																				value: intl.getNumber()
11546																			});
11547																		} else {
11548																			data.fields.push({
11549																				name: input.dataset.name,
11550																				value: input.value
11551																			});
11552																		}
11553																	}
11554																}
11555
11556																const textareas = popup.querySelectorAll('textarea[data-name]');
11557																if(textareas) {
11558																	for(let textarea of textareas) {
11559																		data.fields.push({
11560																			name: textarea.dataset.name,
11561																			value: textarea.value
11562																		});
11563																	}
11564																}
11565
11566																if(typeof selects != 'undefined') {
11567																	for(let select of selects) {
11568																		data.fields.push({
11569																			name: select.dataset.name,
11570																			value: select.value
11571																		});
11572																	}
11573																}
11574
11575																const hiddenInputs = popup.querySelectorAll('input[type="hidden"]');
11576																for(let hiddenInput of hiddenInputs) {
11577																	const name = hiddenInput.name;
11578																	data[hiddenInput.name] = hiddenInput.value;
11579																}
11580
11581																const fileInputs = popup.querySelectorAll('.popup-element[data-type="input-file"] input[type="file"]');
11582																if(fileInputs) {
11583																	data.files = [];
11584																	for(let fileInput of fileInputs) {
11585																		if (fileInput.files && fileInput.files.length > 0) {
11586																			data.files.push({
11587																				'name': fileInput.files[0].name,
11588																				'content': fileInput.dataset.content
11589																			});
11590																		}
11591																	}
11592																}
11593
11594																if( wheel && typeof window.prize != 'undefined' ) {
11595																	data.fields.push(window.prize);
11596																}
11597								
11598
11599																var xmlhr = new XMLHttpRequest();
11600																xmlhr.open('POST', "https://psy-muip.ru/wp-json/generator.conversion/v1/actions/?_method=POST&action=formSubmit");
11601																xmlhr.send(JSON.stringify(data));
11602
11603																xmlhr.onreadystatechange = function() {
11604																	if (xmlhr.readyState === 4 && xmlhr.status === 200) {
11605																		console.log(xmlhr.response);
11606																		const response = JSON.parse(xmlhr.response);
11607																		console.log(response);
11608								
11609																	}
11610																};
11611								
11612																sgPopup1489reachGoal("ym(93615077,'reachGoal','Popup_Demo_dostup_send');");
11613											
11614																sgSuccessPopup1489();
11615										
11616																return true;
11617
11618															}
11619
11620															if(wheel){
11621																const circle = popup.querySelector('.wheel-circle img');
11622																if(circle) {
11623																	clearInterval(wheelInterval);
11624								
11625																	}
11626
11627																} else {
11628																	const result = sgPopup1489sendRequest();
11629																	if (callback && typeof callback === 'function') {
11630																		callback(result);
11631																	}
11632																}
11633
11634															}
11635
11636															areaLinks = popup.querySelectorAll('.popup-area[data-type="area-link"]');
11637															if(areaLinks) {
11638																for(let areaLink of areaLinks) {
11639																	areaLink.addEventListener('click', function(){
11640																		if(areaLink.dataset.link && areaLink.dataset.link != '#') {
11641																			if(areaLink.dataset.target == '_blank') {
11642																				window.open(areaLink.dataset.link);
11643																			} else {
11644																				location.href = areaLink.dataset.link
11645																			}
11646																		}
11647																	});
11648																}
11649															}
11650
11651															areaOpeners = popup.querySelectorAll('.popup-area[data-type="area-opener"]');
11652															if(areaOpeners) {
11653																for(let areaOpener of areaOpeners) {
11654																	areaOpener.addEventListener('click', function(){
11655																		if(areaOpener.dataset.popup) {
11656																			if(typeof window['sgPopup' + areaOpener.dataset.popup] == 'function') {
11657																				Fancybox.close();
11658																				window['sgPopup' + areaOpener.dataset.popup]('forceOpen');
11659																			}
11660																		}
11661																	});
11662																}
11663															}
11664
11665															const submitButton = popup.querySelector(".popup-element[data-type='button-submit'] button");
11666															if(submitButton) {
11667																submitButton.addEventListener('click', function(event){
11668
11669																	event.preventDefault();
11670																	submitButton.disabled = true;
11671
11672																	sgPopup1489submit(function(result){
11673																		submitButton.disabled = result;
11674																	});
11675
11676																})
11677															}
11678														}
11679													},
11680													close: () => {
11681														window.sgPopup.opened = false;
11682														window.sgPopup.shown.push(1489);
11683														if(window.sgPopup.queue.length) {
11684															setTimeout(function(){
11685																let popupID = window.sgPopup.queue.shift();
11686																window['sgPopup' + popupID]('forceOpen');
11687															}, 30000);
11688														}
11689								
11690													}
11691												}
11692											})
11693										}
11694									}
11695								}
11696							
11697								function sgSuccessPopup1489() {
11698							
11699									let html;
11700									let closeButton;
11701									if(window.innerWidth >= 1040) {
11702										html = "<noindex id='SGsuccess1489' 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>";
11703							closeButton = false;
11704									} else {
11705										html = "<noindex id='SGsuccess1489' 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;\">Спасибо, мы скоро свяжемся с вами!&nbsp;</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>";
11706							closeButton = false;
11707									}
11708							
11709									Fancybox.close();
11710									new Fancybox([
11711										{
11712											src: html,
11713											type: 'html'
11714										}
11715									], {
11716										dragToClose: false,
11717										closeButton: closeButton,
11718										autoFocus: false,
11719										trapFocus: false,
11720										on: {
11721											done: (fancybox, slide) => {
11722							
11723												const success = document.querySelector("#SGsuccess1489");
11724												if(success) {
11725
11726													buttonLinks = success.querySelectorAll('button[data-type="link"]');
11727													if(buttonLinks) {
11728														for(let buttonLink of buttonLinks) {
11729															buttonLink.addEventListener('click', function(){
11730																if(buttonLink.dataset.link) {
11731																	if(buttonLink.dataset.target == '_blank') {
11732																		window.open(buttonLink.dataset.link);
11733																	} else {
11734																		location.href = buttonLink.dataset.link
11735																	}
11736																}
11737															});
11738														}
11739													}
11740													
11741												}
11742							
11743												setTimeout(function(){
11744													Fancybox.close();
11745												}, 3000);
11746									
11747											},
11748											close: () => {
11749												window.sgPopup.opened = false;
11750											}
11751										}
11752									});
11753								}
11754							</script>
vendor: 1 bytes, line 11754
11754
11755<script>
11756								if(typeof window.sgPopup == 'undefined') {
11757									window.sgPopup = {
11758										opened: false,
11759										queue: [],
11760										shown: [],
11761										elements: {}
11762									};
11763								}
11764						
11765								addEventListener('DOMContentLoaded', () => {
11766						
11767									document.body.addEventListener('click', function(event){
11768										if(
11769											event.target.dataset.target == "sgPopup1502"
11770											|| event.target.closest('[data-target="sgPopup1502"]')
11771										) {
11772											Fancybox.close();
11773											sgPopup1502('forceOpen');
11774										}
11775									});
11776
11777									sgPopup1502autoOpen();
11778								});
11779
11780								function sgPopup1502autoOpen() {
11781							
11782								}
11783
11784								function sgPopup1502reachGoal(code) {
11785
11786									function executeGoal(params) {
11787										if(typeof params == 'object') {
11788
11789											eval('ym('+ params.join(',') +');');
11790
11791											let data = {
11792												'goal': params[2],
11793												timestamp: new Date().toISOString()
11794											};
11795
11796											var xmlhr = new XMLHttpRequest();
11797											xmlhr.open('POST', "https://psy-muip.ru/wp-json/generator.conversion/v1/actions/?_method=POST&action=goalLog");
11798											xmlhr.send(JSON.stringify(data));
11799
11800											xmlhr.onreadystatechange = function() {
11801												if (xmlhr.readyState === 4 && xmlhr.status === 200) {
11802													if( urlParams.get('debug') ) {
11803														const response = JSON.parse(xmlhr.response);
11804														console.log(response);
11805													}
11806												}
11807											}
11808
11809										}
11810									}
11811
11812									const goals = code.split(';');
11813									if(goals) {
11814										for(let goal of goals) {
11815											goal = goal.trim();
11816											if(goal != '') {
11817												const regexp = /ym(.*)/;
11818												if( regexp.test(goal) ) {
11819
11820													goal = goal.replace('ym(', '');
11821													goal = goal.replace(')', '');
11822													const params = goal.split(',');
11823													if(params) {
11824
11825														if (typeof window.ym != 'undefined') {
11826															executeGoal(params);
11827														} else {
11828															if(typeof window.popup1502goals == 'undefined') {
11829																window.popup1502goals = [];
11830															}
11831
11832															window.popup1502goals.push({
11833																'metrika': params[0],
11834																'action': params[1],
11835																'id': params[2]
11836															});
11837
11838															if(typeof popup1502interval == 'undefined') {
11839																popup1502interval = setInterval(function(){
11840																	if (typeof window.ym != 'undefined') {
11841																		for(let goal of window.popup1502goals) {
11842																			executeGoal(params);
11843																		}
11844																		window.popup1502goals = [];
11845																		clearInterval(popup1502interval);
11846																	}
11847																}, 1000);
11848															}
11849														}
11850													}
11851												} else {
11852													eval(goal);
11853												}
11854											}
11855										}
11856									}
11857
11858								}
11859
11860								function sgPopup1502(action = false) {
11861
11862									if(!action) return;
11863
11864									if( ['open', 'forceOpen'].includes(action) ) {
11865
11866								
11867										if(action == 'open' && window.sgPopup.shown.includes(1502)) {
11868											return false;
11869										}
11870
11871										if(window.sgPopup.opened) {
11872
11873											if(window.sgPopup.opened != 1502) {
11874												window.sgPopup.queue.push(1502);
11875											}
11876
11877										} else {
11878
11879											window.sgPopup.opened = 1502;
11880
11881											let html;
11882											let closeButton;
11883											if(window.innerWidth >= 1040) {
11884												html = "<noindex id='SGpopup1502' class='popup-wrapper grid-hidden'><div class='popup-area' data-type='area-container' style='position: relative; top: 216px; left: 22px; margin-left: ; width: 439.867px; height: 321.867px; '><div class='popup-element' data-type='editor' data-element-id='977795' style='padding-top: 0px;padding-right: 0px;padding-bottom: 0px;padding-left: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 7px;margin-left: 0px;' data-p-margin-bottom='20px' data-p-line-height='120%'><style>#SGpopup1502 .popup-element[data-element-id='977795'][data-type='editor'] p {margin-bottom: 20px}#SGpopup1502 .popup-element[data-element-id='977795'][data-type='editor'] * {line-height: 120%}</style><div class='popupElement-content'><p><span style=\"color:hsl(0,0%,0%);font-size:14px;\">Введите данные для получения доступа к интенсиву</span></p></div></div><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=\"Ваш e-mail, например: [email protected]\" data-name=\"Почта\" data-mask=\"email\" required=\"\" style=\"background-color: rgb(255, 255, 255); border-color: rgb(227, 227, 227); font-size: 17px; color: rgb(104, 104, 104); padding: 8px 12px; border-radius: 30px;\"></div></div><div class='popup-element' data-type='input' style='margin-top: 0px;margin-right: 0px;margin-bottom: 9px;margin-left: 0px;'><div class='popupElement-content'><input type=\"text\" placeholder=\"+7 (___) ___ - __ - __\" data-name=\"Телефон\" data-mask=\"phone\" required=\"\" style=\"background-color: rgb(255, 255, 255); border-color: rgb(225, 225, 226); font-size: 17px; color: rgb(120, 120, 120); padding: 8px 12px; border-radius: 30px;\"></div></div><div class='popup-element' data-type='input' style='margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;'><div class='popupElement-content'><input type=\"text\" placeholder=\"Ник в телеграм\" data-name=\"Ник\" data-mask=\"null\" style=\"background-color: rgb(255, 255, 255); border-color: rgb(225, 225, 226); font-size: 17px; color: rgb(125, 122, 122); padding: 8px 12px; border-radius: 30px;\"></div></div><div class='popup-element' data-type='button-submit' style='margin-top: 10px;margin-right: 0px;margin-bottom: 7px;margin-left: 0px;'><div class='popupElement-content'><button type=\"submit\" style=\"background-color: rgb(190, 27, 50); color: rgb(0, 0, 0); font-size: 19px; border-radius: 30px; padding: 16px 14px;\" onclick=\"\"><div class=\"buttonSubmit-content\"><p><span style=\"color:hsl(0,0%,100%);font-size:22px;\">Получить доступ</span></p></div></button></div></div><div class='popup-element' data-type='agree' data-element-id='498998' data-fill='#9e9e9eff' data-mode='default' style='margin-top: 0px;margin-right: 0px;margin-bottom: 4px;margin-left: 0px;'><style>#SGpopup1502 .popup-element[data-element-id='498998'][data-type='agree'] .popupElement-content input[type='checkbox'] + label:before {border-color: #9e9e9eff;} #SGpopup1502 .popup-element[data-element-id='498998'][data-type='agree'] .popupElement-content input[type='checkbox'] + label:after {background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHhtbG5zOnhsaW5rPSdodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rJyB2ZXJzaW9uPScxLjEnIHg9JzBweCcgeT0nMHB4JyB3aWR0aD0nNTEycHgnIGhlaWdodD0nNTEycHgnIHZpZXdCb3g9JzAgMCA0NDIuNTMzIDQ0Mi41MzMnIHN0eWxlPSdlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDQ0Mi41MzMgNDQyLjUzMycgeG1sOnNwYWNlPSdwcmVzZXJ2ZSc+PHBhdGggZD0nTTQzNC41MzksOTguNDk5bC0zOC44MjgtMzguODI4Yy01LjMyNC01LjMyOC0xMS43OTktNy45OTMtMTkuNDEtNy45OTNjLTcuNjE4LDAtMTQuMDkzLDIuNjY1LTE5LjQxNyw3Ljk5M0wxNjkuNTksMjQ3LjI0OCBsLTgzLjkzOS04NC4yMjVjLTUuMzMtNS4zMy0xMS44MDEtNy45OTItMTkuNDEyLTcuOTkyYy03LjYxNiwwLTE0LjA4NywyLjY2Mi0xOS40MTcsNy45OTJMNy45OTQsMjAxLjg1MiAgIEMyLjY2NCwyMDcuMTgxLDAsMjEzLjY1NCwwLDIyMS4yNjljMCw3LjYwOSwyLjY2NCwxNC4wODgsNy45OTQsMTkuNDE2bDEwMy4zNTEsMTAzLjM0OWwzOC44MzEsMzguODI4IGM1LjMyNyw1LjMzMiwxMS44LDcuOTk0LDE5LjQxNCw3Ljk5NGM3LjYxMSwwLDE0LjA4NC0yLjY2OSwxOS40MTQtNy45OTRsMzguODMtMzguODI4TDQzNC41MzksMTM3LjMzIGM1LjMyNS01LjMzLDcuOTk0LTExLjgwMiw3Ljk5NC0xOS40MTdDNDQyLjUzNywxMTAuMzAyLDQzOS44NjQsMTAzLjgyOSw0MzQuNTM5LDk4LjQ5OXonIGZpbGw9JyM5ZTllOWVmZicvPjwvc3ZnPg==);}</style><div class='popupElement-content'><input type=\"checkbox\" checked=\"\" required=\"\" tabindex=\"-1\" data-orig-tabindex=\"-1\"><label><p><span style=\"color:hsl(0,0%,18%);font-size:9px;\">Я согласен на обработку моих персональных данных. 
С&nbsp;</span><a href=\"https://psy-muip.ru/agreement\" data-fpl-component=\"primitive\" target=\"_blank\" rel=\"noopener\"><span style=\"color:hsl(0,0%,18%);font-size:9px;\"><u>Политикой обработки персональных данных</u></span></a><span style=\"color:hsl(0,0%,18%);font-size:9px;\">&nbsp;ознакомлен</span></p></label></div></div><div class='popup-element' data-type='editor' data-element-id='225486' style='padding-top: 0px;padding-right: 0px;padding-bottom: 0px;padding-left: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;' data-p-margin-bottom='13px' data-p-line-height='80%'><style>#SGpopup1502 .popup-element[data-element-id='225486'][data-type='editor'] p {margin-bottom: 13px}#SGpopup1502 .popup-element[data-element-id='225486'][data-type='editor'] * {line-height: 80%}</style><div class='popupElement-content'><p><a href=\"https://psy-muip.ru/politika\" data-fpl-component=\"primitive\" target=\"_blank\" rel=\"noopener\"><span style=\"color:hsl(0,0%,18%);font-size:9px;\"><u>Политика&nbsp;в отношении обработки персональных данных</u></span></a><span style=\"color:hsl(0,0%,18%);font-size:9px;\"> | </span><a href=\"https://psy-muip.ru/custom\" data-fpl-component=\"primitive\" target=\"_blank\" rel=\"noopener\"><span style=\"color:hsl(0,0%,18%);font-size:9px;\"><u>Пользовательское соглашение</u></span></a><br><a href=\"https://psy-muip.ru/agreement\" data-fpl-component=\"primitive\" target=\"_blank\" rel=\"noopener\"><span style=\"color:hsl(0,0%,18%);font-size:9px;\"><u>Согласие на обработку персональных данных</u></span></a><span style=\"color:hsl(0,0%,18%);font-size:9px;\"> | </span><a href=\"https://psy-muip.ru/rassylka\" data-fpl-component=\"primitive\" target=\"_blank\" rel=\"noopener\"><span style=\"color:hsl(0,0%,18%);font-size:9px;\"><u>Согласие на рассылку материалов</u></span></a></p></div></div></div><div class='popup-area' data-type='close-container' style='position: absolute; top: 0px; left: 1000px; 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: 36px; height: 36px; background-color: rgba(0, 0, 0, 0); border: 1px 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(255, 14, 14);\">
11884<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='1502'><input type='hidden' name='projectID' value='453'><input type='hidden' name='custom_utm_source'><input type='hidden' name='custom_utm_medium'><input type='hidden' name='custom_utm_campaign'><input type='hidden' name='custom_utm_content'><input type='hidden' name='custom_utm_term'></noindex>";
11885								
11886												closeButton = false;
11887										
11888											} else {
11889								
11890												html = "<noindex id='SGpopup1502' class='popup-wrapper grid-hidden'><div class='popup-area' data-type='area-container' style='position: relative; top: 144px; left: 2px; margin-left: ; width: 327.867px; height: 273.867px; '><div class='popup-element' data-type='editor' data-element-id='819180' style='padding-top: 0px;padding-right: 0px;padding-bottom: 0px;padding-left: 0px;margin-top: 2px;margin-right: 0px;margin-bottom: 4px;margin-left: 0px;' data-p-margin-bottom='20px' data-p-line-height='120%'><style>#SGpopup1502 .popup-element[data-element-id='819180'][data-type='editor'] p {margin-bottom: 20px}#SGpopup1502 .popup-element[data-element-id='819180'][data-type='editor'] * {line-height: 120%}</style><div class='popupElement-content'><p><span style=\"color:hsl(0,0%,0%);\">Введите данные для получения доступа к интенсиву</span></p></div></div><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=\"Ваш e-mail, например: [email protected]\" data-name=\"Почта\" data-mask=\"email\" required=\"\" style=\"background-color: rgb(255, 255, 255); border-color: rgb(227, 227, 227); font-size: 17px; color: rgb(104, 104, 104); padding: 5px; border-radius: 30px;\"></div></div><div class='popup-element' data-type='input' style='margin-top: 0px;margin-right: 0px;margin-bottom: 9px;margin-left: 0px;'><div class='popupElement-content'><input type=\"text\" placeholder=\"+7 (___) ___ - __ - __\" data-name=\"Телефон\" data-mask=\"phone\" required=\"\" style=\"background-color: rgb(255, 255, 255); border-color: rgb(225, 225, 226); font-size: 17px; color: rgb(120, 120, 120); padding: 5px; border-radius: 30px;\"></div></div><div class='popup-element' data-type='input' style='margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;'><div class='popupElement-content'><input type=\"text\" placeholder=\"Ник в телеграм\" data-name=\"Ник\" required=\"\" style=\"background-color: rgb(255, 255, 255); border-color: rgb(225, 225, 226); font-size: 17px; color: rgb(125, 122, 122); padding: 5px; border-radius: 30px;\"></div></div><div class='popup-element' data-type='button-submit' style='margin-top: 10px;margin-right: 0px;margin-bottom: 7px;margin-left: 0px;'><div class='popupElement-content'><button type=\"submit\" style=\"background-color: rgb(190, 27, 50); color: rgb(0, 0, 0); font-size: 19px; border-radius: 30px; padding: 10px;\" onclick=\"\"><div class=\"buttonSubmit-content\"><p><span style=\"color:hsl(0,0%,100%);font-size:18px;\">Получить доступ</span></p></div></button></div></div><div class='popup-element' data-type='agree' data-element-id='225312' data-fill='#9e9e9eff' data-mode='default' style='margin-top: 0px;margin-right: 0px;margin-bottom: 4px;margin-left: 0px;'><style>#SGpopup1502 .popup-element[data-element-id='225312'][data-type='agree'] .popupElement-content input[type='checkbox'] + label:before {border-color: #9e9e9eff;} #SGpopup1502 .popup-element[data-element-id='225312'][data-type='agree'] .popupElement-content input[type='checkbox'] + label:after {background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHhtbG5zOnhsaW5rPSdodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rJyB2ZXJzaW9uPScxLjEnIHg9JzBweCcgeT0nMHB4JyB3aWR0aD0nNTEycHgnIGhlaWdodD0nNTEycHgnIHZpZXdCb3g9JzAgMCA0NDIuNTMzIDQ0Mi41MzMnIHN0eWxlPSdlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDQ0Mi41MzMgNDQyLjUzMycgeG1sOnNwYWNlPSdwcmVzZXJ2ZSc+PHBhdGggZD0nTTQzNC41MzksOTguNDk5bC0zOC44MjgtMzguODI4Yy01LjMyNC01LjMyOC0xMS43OTktNy45OTMtMTkuNDEtNy45OTNjLTcuNjE4LDAtMTQuMDkzLDIuNjY1LTE5LjQxNyw3Ljk5M0wxNjkuNTksMjQ3LjI0OCBsLTgzLjkzOS04NC4yMjVjLTUuMzMtNS4zMy0xMS44MDEtNy45OTItMTkuNDEyLTcuOTkyYy03LjYxNiwwLTE0LjA4NywyLjY2Mi0xOS40MTcsNy45OTJMNy45OTQsMjAxLjg1MiAgIEMyLjY2NCwyMDcuMTgxLDAsMjEzLjY1NCwwLDIyMS4yNjljMCw3LjYwOSwyLjY2NCwxNC4wODgsNy45OTQsMTkuNDE2bDEwMy4zNTEsMTAzLjM0OWwzOC44MzEsMzguODI4IGM1LjMyNyw1LjMzMiwxMS44LDcuOTk0LDE5LjQxNCw3Ljk5NGM3LjYxMSwwLDE0LjA4NC0yLjY2OSwxOS40MTQtNy45OTRsMzguODMtMzguODI4TDQzNC41MzksMTM3LjMzIGM1LjMyNS01LjMzLDcuOTk0LTExLjgwMiw3Ljk5NC0xOS40MTdDNDQyLjUzNywxMTAuMzAyLDQzOS44NjQsMTAzLjgyOSw0MzQuNTM5LDk4LjQ5OXonIGZpbGw9JyM5ZTllOWVmZicvPjwvc3ZnPg==);}</style><div class='popupElement-content'><input type=\"checkbox\" checked=\"\" required=\"\" tabindex=\"-1\" data-orig-tabindex=\"-1\"><label><p><span style=\"color:hsl(0,0%,18%);font-size:9px;\">Я согласен на обработку моих персональных данных. 
С&nbsp;</span><a href=\"https://psy-muip.ru/agreement\" data-fpl-component=\"primitive\" target=\"_blank\" rel=\"noopener\"><span style=\"color:hsl(0,0%,18%);font-size:9px;\"><u>Политикой обработки персональных данных</u></span></a><span style=\"color:hsl(0,0%,18%);font-size:9px;\">&nbsp;ознакомлен</span></p></label></div></div><div class='popup-element' data-type='editor' data-element-id='119011' style='padding-top: 0px;padding-right: 0px;padding-bottom: 0px;padding-left: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;' data-p-margin-bottom='13px' data-p-line-height='80%'><style>#SGpopup1502 .popup-element[data-element-id='119011'][data-type='editor'] p {margin-bottom: 13px}#SGpopup1502 .popup-element[data-element-id='119011'][data-type='editor'] * {line-height: 80%}</style><div class='popupElement-content'><p><a href=\"https://psy-muip.ru/politika\" data-fpl-component=\"primitive\" target=\"_blank\" rel=\"noopener\"><span style=\"color:hsl(0,0%,18%);font-size:9px;\"><u>Политика&nbsp;в отношении обработки персональных данных</u></span></a><span style=\"color:hsl(0,0%,18%);font-size:9px;\"> | </span><a href=\"https://psy-muip.ru/custom\" data-fpl-component=\"primitive\" target=\"_blank\" rel=\"noopener\"><span style=\"color:hsl(0,0%,18%);font-size:9px;\"><u>Пользовательское соглашение</u></span></a><br><a href=\"https://psy-muip.ru/agreement\" data-fpl-component=\"primitive\" target=\"_blank\" rel=\"noopener\"><span style=\"color:hsl(0,0%,18%);font-size:9px;\"><u>Согласие на обработку персональных данных</u></span></a><span style=\"color:hsl(0,0%,18%);font-size:9px;\"> | </span><a href=\"https://psy-muip.ru/rassylka\" data-fpl-component=\"primitive\" target=\"_blank\" rel=\"noopener\"><span style=\"color:hsl(0,0%,18%);font-size:9px;\"><u>Согласие на рассылку материалов</u></span></a></p></div></div></div><div class='popup-area' data-type='close-container' style='position: absolute; top: -38.9937px; left: 364px; margin-left: -40px; width: 40px; height: 40px; '><div class='popup-element' data-type='button-close' style=''><div class='popupElement-content'></div></div></div><input type='hidden' name='popupID' value='1502'><input type='hidden' name='projectID' value='453'><input type='hidden' name='custom_utm_source'><input type='hidden' name='custom_utm_medium'><input type='hidden' name='custom_utm_campaign'><input type='hidden' name='custom_utm_content'><input type='hidden' name='custom_utm_term'></noindex>";
11891								
11892												closeButton = true;
11893										
11894											}
11895								
11896											dateFrom = 1771200000 * 1000;
11897											if(dateFrom < Date.now()) {
11898												do {
11899													dateFrom += 7 * 24 * 60 * 60 * 1000;
11900												} while (dateFrom < Date.now());
11901											}
11902
11903											for (const match of html.matchAll(/{date((\+|\-)([0-9]*))?}/g)) {
11904												dateTo = dateFrom;
11905												if(typeof match[1] != 'undefined') {
11906													dateTo += match[1] * 24 * 60 * 60 * 1000;
11907												}
11908												dateTo = new Date(dateTo);
11909
11910												formatDate = '{day} {month} ';
11911												if(formatDate.indexOf('{day}') != -1) {
11912													day = dateTo.getDate();
11913													if("number_full" == "number_full") {
11914														if(day < 10) {
11915															day = '0' + day;
11916														}
11917													}
11918													formatDate = formatDate.replace('{day}', day);
11919												}
11920
11921												if(formatDate.indexOf('{month}') != -1) {
11922													month = dateTo.getMonth() + 1;
11923													if("text_genitive" == "number_full") {
11924														if(month < 10) {
11925															month = '0' + month;
11926														}
11927													} else if("text_genitive" == "text_nominative") {
11928														let months = {
11929															1: 'январь',
11930															2: 'февраль',
11931															3: 'март',
11932															4: 'апрель',
11933															5: 'май',
11934															6: 'июнь',
11935															7: 'июль',
11936															8: 'август',
11937															9: 'сентябрь',
11938															10: 'октябрь',
11939															11: 'ноябрь',
11940															12: 'декабрь'
11941														};
11942														month = months[month];
11943													} else if("text_genitive" == "text_genitive") {
11944														let months = {
11945															1: 'января',
11946															2: 'февраля',
11947															3: 'марта',
11948															4: 'апреля',
11949															5: 'мая',
11950															6: 'июня',
11951															7: 'июля',
11952															8: 'августа',
11953															9: 'сентября',
11954															10: 'октября',
11955															11: 'ноября',
11956															12: 'декабря'
11957														};
11958														month = months[month];
11959													}
11960													formatDate = formatDate.replace('{month}', month);
11961												}
11962
11963												if(formatDate.indexOf('{year}') != -1) {
11964													year = dateTo.getFullYear();
11965													if("number_full" == "number_short") {
11966														year = year.toString().substr(-2);
11967													}
11968													formatDate = formatDate.replace('{year}', year);
11969												}
11970												html = html.replaceAll(match[0], formatDate);
11971											};
11972										
11973											Fancybox.close();
11974											new Fancybox([
11975												{
11976													src: html,
11977													type: 'html'
11978												}
11979											], {
11980												dragToClose: false,
11981												closeButton: closeButton,
11982												compact: false,
11983												autoFocus: false,
11984												trapFocus: false,
11985												on: {
11986													done: (fancybox, slide) => {
11987								
11988													sgPopup1502reachGoal("ym(93615077,'reachGoal','Popup_Demo_dostup_show');");
11989										
11990													const popup = document.querySelector("#SGpopup1502");
11991													if(popup) {
11992
11993														const url = new URL(location.href);
11994														window.utm_source = url.searchParams.get('utm_source');
11995														window.utm_medium = url.searchParams.get('utm_medium');
11996														window.utm_campaign = url.searchParams.get('utm_campaign');
11997														window.utm_term = url.searchParams.get('utm_term');
11998														window.utm_content = url.searchParams.get('utm_content');
11999
12000								
12001														const custom_utm_source = popup.querySelector('input[name="custom_utm_source"]');
12002														if(custom_utm_source && typeof 'site' != undefined) {
12003															custom_utm_source.value = 'site';
12004														}
12005											
12006														const custom_utm_medium = popup.querySelector('input[name="custom_utm_medium"]');
12007														if(custom_utm_medium && typeof 'seo' != undefined) {
12008															custom_utm_medium.value = 'seo';
12009														}
12010											
12011														const custom_utm_campaign = popup.querySelector('input[name="custom_utm_campaign"]');
12012														if(custom_utm_campaign && typeof 'generator_vidjet' != undefined) {
12013															custom_utm_campaign.value = 'generator_vidjet';
12014														}
12015											
12016														const custom_utm_content = popup.querySelector('input[name="custom_utm_content"]');
12017														if(custom_utm_content && typeof 'muip' != undefined) {
12018															custom_utm_content.value = 'muip';
12019														}
12020											
12021														const custom_utm_term = popup.querySelector('input[name="custom_utm_term"]');
12022														if(custom_utm_term && typeof 'popup' != undefined) {
12023															custom_utm_term.value = 'popup';
12024														}
12025											
12026														openerLinks = popup.querySelectorAll('a[data-target]');
12027														if(openerLinks) {
12028															for(let openerLink of openerLinks) {
12029																openerLink.addEventListener('click', function(){
12030																	if(openerLink.dataset.target) {
12031																		if(typeof window[openerLink.dataset.target] == 'function') {
12032																			Fancybox.close();
12033																			window[openerLink.dataset.target]('open');
12034																		}
12035																	}
12036																});
12037															}
12038														}
12039
12040														linkImages = popup.querySelectorAll('.image-wrapper[data-type="link"]');
12041														if(linkImages) {
12042															for(let linkImage of linkImages) {
12043																linkImage.addEventListener('click', function(){
12044																	if(linkImage.dataset.link) {
12045																		if(linkImage.dataset.target == '_blank') {
12046																			window.open(linkImage.dataset.link);
12047																		} else {
12048																			location.href = linkImage.dataset.link
12049																		}
12050																	}
12051																});
12052															}
12053														}
12054
12055														openerImages = popup.querySelectorAll('.image-wrapper[data-type="opener"]');
12056														if(openerImages) {
12057															for(let openerImage of openerImages) {
12058																openerImage.addEventListener('click', function(){
12059																	if(openerImage.dataset.popup) {
12060																		if(typeof window['sgPopup' + openerImage.dataset.popup] == 'function') {
12061																			Fancybox.close();
12062																			window['sgPopup' + openerImage.dataset.popup]('forceOpen');
12063																		}
12064																	}
12065																});
12066															}
12067														}
12068
12069														submitImages = popup.querySelectorAll('.image-wrapper[data-type="submitter"]');
12070														if(submitImages) {
12071															for(let submitImage of submitImages) {
12072																submitImage.addEventListener('click', function(){
12073
12074																	if(submitImage.classList.contains('disabled')) return false;
12075
12076																	submitImage.classList.add('disabled');
12077
12078																	sgPopup1502submit(function(result){
12079																		submitImage.classList.toggle('disabled', result);
12080																	});
12081
12082																});
12083															}
12084														}
12085
12086														const linkButtons = popup.querySelectorAll('button[data-type="link"]');
12087														if(linkButtons) {
12088															for(let linkButton of linkButtons) {
12089																linkButton.addEventListener('click', function(){
12090																	if(linkButton.dataset.link && linkButton.dataset.link != '#') {
12091								
12092																		if(linkButton.dataset.target == '_blank') {
12093																			window.open(linkButton.dataset.link);
12094																		} else {
12095																			location.href = linkButton.dataset.link
12096																		}
12097																	}
12098																});
12099															}
12100														}
12101
12102														openerButtons = popup.querySelectorAll('button[data-type="opener"]');
12103														if(openerButtons) {
12104															for(let openerButton of openerButtons) {
12105																openerButton.addEventListener('click', function(){
12106									
12107																	if(openerButton.dataset.popup) {
12108																		if(typeof window['sgPopup' + openerButton.dataset.popup] == 'function') {
12109																			Fancybox.close();
12110																			window['sgPopup' + openerButton.dataset.popup]('forceOpen');
12111																		}
12112																	}
12113																});
12114															}
12115														}
12116
12117														const maskedFields = popup.querySelectorAll('input[data-mask]');
12118														if(maskedFields) {
12119															for(let maskedField of maskedFields) {
12120																if(maskedField.dataset.mask == 'phone') {
12121																	Inputmask('+7 (999) 999-99-99', {
12122																		clearIncomplete: true,
12123																		greedy: false
12124																	}).mask(maskedField);
12125								
12126																} else if(maskedField.dataset.mask == 'email') {
12127																	Inputmask({
12128																	alias: 'email',
12129																		clearIncomplete: true,
12130																		greedy: false
12131																	}).mask(maskedField);
12132																}
12133															}
12134														}
12135
12136														const fileInputs = popup.querySelectorAll('.popup-element[data-type="input-file"] input[type="file"]');
12137														if(fileInputs) {
12138															for(let fileInput of fileInputs) {
12139																let label = fileInput.nextElementSibling;
12140																if(label) {
12141																	fileInput.addEventListener('change', function() {
12142																		if (fileInput.files && fileInput.files.length > 0) {
12143																			const maxSize = fileInput.dataset.limit;
12144																			if(fileInput.files[0].size <= maxSize * 1024 * 1024) {
12145																				reader = new FileReader();
12146																				reader.onload = function(){
12147																					const span = label.querySelector('span');
12148																					if(span) {
12149																						span.innerHTML = fileInput.files[0].name;
12150																					}
12151																					fileInput.dataset.content = reader.result;
12152																				};
12153																				reader.readAsDataURL(fileInput.files[0]);
12154																			} else {
12155																				alert('Превышен максимальный размер файла - '+ maxSize +'мб');
12156																			}
12157																		}
12158																	});
12159																	label.addEventListener('click', function(event){
12160																		event.preventDefault();
12161																		fileInput.click();
12162																	});
12163																}
12164															}
12165														}
12166
12167														const agrees = popup.querySelectorAll('.popup-element[data-type="agree"] input[type="checkbox"]');
12168														if(agrees) {
12169															for(let agree of agrees) {
12170																let parent = agree.closest('.popup-element');
12171																if(parent) {
12172																	let label = agree.nextElementSibling;
12173																	if(label) {
12174																		label.addEventListener('click', function(event){
12175																			event.preventDefault();
12176																			agree.checked = !agree.checked;
12177
12178
12179																			if(parent.dataset.mode == 'general') {
12180																				const agreeAll = agree;
12181																				for(let agree of agrees) {
12182																					agree.checked = agreeAll.checked;
12183																				}
12184																			}
12185
12186																			let agreeCount = 0;
12187																			let agreeSelected = 0;
12188																			for(let agree of agrees) {
12189																				const parent = agree.closest('.popup-element');
12190																				if(parent && parent.dataset.mode != 'general') {
12191																					agreeCount++;
12192																					if(agree.checked) {
12193																						agreeSelected++;
12194																					}
12195																				}
12196																			}
12197
12198																			const general = popup.querySelector('.popup-element[data-type="agree"][data-mode="general"]');
12199																			if(general) {
12200																				general.classList.toggle('all-selected', agreeSelected == agreeCount);
12201																				general.classList.toggle('no-selected', agreeSelected == 0);
12202																				general.classList.toggle('some-selected', agreeSelected > 0 && agreeSelected < agreeCount);
12203
12204																				const checkbox = general.querySelector('input[type="checkbox"]');
12205																				if(checkbox) {
12206																					if(agreeSelected == agreeCount) {
12207																						checkbox.checked = true;
12208																					} else {
12209																						checkbox.checked = false;
12210																					}
12211																				}
12212																			}
12213																		});
12214																		const links = label.querySelectorAll('a');
12215																		if(links) {
12216																			for(let link of links) {
12217																				link.addEventListener('click', function(event){
12218																					event.stopPropagation()
12219																				});
12220																			}
12221																		}
12222																	}
12223																}
12224															}
12225														}
12226
12227														const wheel = popup.querySelector('.popup-element[data-type="wheel"]');
12228														let wheelInterval;
12229														let wheelAngle = 0;
12230														if(wheel){
12231															const circle = popup.querySelector('.wheel-circle img');
12232															if(circle) {
12233																wheelInterval = setInterval(function(){
12234																	wheelAngle += 0.2;
12235																	if(wheelAngle > 360) {
12236																		wheelAngle -= 360;
12237																	}
12238																	circle.setAttribute('style', 'transform: rotate('+ wheelAngle +'deg)');
12239																}, 40);
12240															}
12241														}
12242
12243														const closeTriggers = popup.querySelectorAll('.popup-element[data-type="button-close"] button:not([data-fancybox-close])');
12244														if(closeTriggers) {
12245															for(let closeTrigger of closeTriggers) {
12246																closeTrigger.addEventListener('click', function(){
12247																	Fancybox.close();
12248																})
12249															}
12250														}
12251
12252														function sgPopup1502submit(callback = false) {
12253
12254															let hasError = false;
12255															const requiredInputs = popup.querySelectorAll('input[data-name][required]');
12256															if(requiredInputs) {
12257																for(let requiredInput of requiredInputs) {
12258																	if(requiredInput.dataset.mask) {
12259																		if(requiredInput.dataset.mask == 'phone') {
12260																			if(!Inputmask.isValid(requiredInput.value, { mask: '+7 (999) 999-99-99'})) {
12261																				requiredInput.classList.add('error');
12262																				hasError = true;
12263																			} else {
12264																				requiredInput.classList.remove('error');
12265																			}
12266																		} else if(requiredInput.dataset.mask == 'phone_intl' && typeof window.sgPopup.elements.intl != 'undefined') {
12267																			intl = window.sgPopup.elements.intl;
12268																			if(!intl.isValidNumberPrecise()) {
12269																				requiredInput.classList.add('error');
12270																				hasError = true;
12271																			} else {
12272																				requiredInput.classList.remove('error');
12273																			}
12274																		} else if(requiredInput.dataset.mask == 'email') {
12275																			if(!Inputmask.isValid(requiredInput.value, {alias: 'email'})) {
12276																				requiredInput.classList.add('error');
12277																				hasError = true;
12278																			} else {
12279																				requiredInput.classList.remove('error');
12280																			}
12281																		}
12282																	} else {
12283																		if(requiredInput.value == '') {
12284																			requiredInput.classList.add('error');
12285																			hasError = true;
12286																		} else {
12287																			requiredInput.classList.remove('error');
12288																		}
12289																	}
12290																}
12291															}
12292								
12293															const requiredTextareas = popup.querySelectorAll('textarea[data-name][required]');
12294															if(requiredTextareas) {
12295																for(let requiredTextarea of requiredTextareas) {
12296																	if(requiredTextarea.value == '') {
12297																		requiredTextarea.classList.add('error');
12298																		hasError = true;
12299																	} else {
12300																		requiredTextarea.classList.remove('error');
12301																	}
12302																}
12303															}
12304
12305															const requiredSelects = popup.querySelectorAll('select[data-name][required]');
12306															if(requiredSelects) {
12307																for(let requiredSelect of requiredSelects) {
12308																	const niceSelect = requiredSelect.nextElementSibling;
12309																	if(niceSelect) {
12310																		if(niceSelect.querySelector('.option.selected')) {
12311																			niceSelect.classList.remove('error')
12312																		} else {
12313																			niceSelect.classList.add('error');
12314																			hasError = true
12315																		}
12316																	}
12317																}
12318															}
12319
12320															if(agrees) {
12321																for(let agree of agrees) {
12322																	if(agree.required) {
12323																		let label = agree.nextElementSibling;
12324																		if(agree.checked) {
12325																			label.classList.remove('error');
12326																		} else {
12327																			label.classList.add('error');
12328																			hasError = true;
12329																		}
12330																	}
12331																}
12332															}
12333
12334															if(hasError) {
12335																if (callback && typeof callback === 'function') {
12336																	callback(false);
12337																}
12338																return false;
12339															}
12340
12341															function sgPopup1502sendRequest() {
12342
12343								
12344																let data = {
12345																	fields: [],
12346																	cookie: document.cookie,
12347																	markers: markers,
12348																	source: location.href
12349																};
12350								
12351																const inputs = popup.querySelectorAll('input[data-name]');
12352																if(inputs) {
12353																	for(let input of inputs) {
12354																		if(input.dataset.mask == 'phone_intl' && typeof window.sgPopup.elements.intl != 'undefined') {
12355																			intl = window.sgPopup.elements.intl;
12356																			data.fields.push({
12357																				name: input.dataset.name,
12358																				value: intl.getNumber()
12359																			});
12360																		} else {
12361																			data.fields.push({
12362																				name: input.dataset.name,
12363																				value: input.value
12364																			});
12365																		}
12366																	}
12367																}
12368
12369																const textareas = popup.querySelectorAll('textarea[data-name]');
12370																if(textareas) {
12371																	for(let textarea of textareas) {
12372																		data.fields.push({
12373																			name: textarea.dataset.name,
12374																			value: textarea.value
12375																		});
12376																	}
12377																}
12378
12379																if(typeof selects != 'undefined') {
12380																	for(let select of selects) {
12381																		data.fields.push({
12382																			name: select.dataset.name,
12383																			value: select.value
12384																		});
12385																	}
12386																}
12387
12388																const hiddenInputs = popup.querySelectorAll('input[type="hidden"]');
12389																for(let hiddenInput of hiddenInputs) {
12390																	const name = hiddenInput.name;
12391																	data[hiddenInput.name] = hiddenInput.value;
12392																}
12393
12394																const fileInputs = popup.querySelectorAll('.popup-element[data-type="input-file"] input[type="file"]');
12395																if(fileInputs) {
12396																	data.files = [];
12397																	for(let fileInput of fileInputs) {
12398																		if (fileInput.files && fileInput.files.length > 0) {
12399																			data.files.push({
12400																				'name': fileInput.files[0].name,
12401																				'content': fileInput.dataset.content
12402																			});
12403																		}
12404																	}
12405																}
12406
12407																if( wheel && typeof window.prize != 'undefined' ) {
12408																	data.fields.push(window.prize);
12409																}
12410								
12411
12412																var xmlhr = new XMLHttpRequest();
12413																xmlhr.open('POST', "https://psy-muip.ru/wp-json/generator.conversion/v1/actions/?_method=POST&action=formSubmit");
12414																xmlhr.send(JSON.stringify(data));
12415
12416																xmlhr.onreadystatechange = function() {
12417																	if (xmlhr.readyState === 4 && xmlhr.status === 200) {
12418																		console.log(xmlhr.response);
12419																		const response = JSON.parse(xmlhr.response);
12420																		console.log(response);
12421								
12422																	}
12423																};
12424								
12425																sgPopup1502reachGoal("ym(93615077,'reachGoal','Popup_Demo_dostup_send');");
12426											
12427																Fancybox.close();
12428										
12429																let redirect = {
12430																	url: 'https://sbsite.pro//aw_teleska_s_1',
12431																	newtab: '1',
12432																	timeout: '3000'
12433																};
12434											
12435																if( typeof redirect != 'undefined' ) {
12436																	sgSuccessRedirect1502(redirect);
12437																}
12438										
12439																return true;
12440
12441															}
12442
12443															if(wheel){
12444																const circle = popup.querySelector('.wheel-circle img');
12445																if(circle) {
12446																	clearInterval(wheelInterval);
12447								
12448																	}
12449
12450																} else {
12451																	const result = sgPopup1502sendRequest();
12452																	if (callback && typeof callback === 'function') {
12453																		callback(result);
12454																	}
12455																}
12456
12457															}
12458
12459															areaLinks = popup.querySelectorAll('.popup-area[data-type="area-link"]');
12460															if(areaLinks) {
12461																for(let areaLink of areaLinks) {
12462																	areaLink.addEventListener('click', function(){
12463																		if(areaLink.dataset.link && areaLink.dataset.link != '#') {
12464																			if(areaLink.dataset.target == '_blank') {
12465																				window.open(areaLink.dataset.link);
12466																			} else {
12467																				location.href = areaLink.dataset.link
12468																			}
12469																		}
12470																	});
12471																}
12472															}
12473
12474															areaOpeners = popup.querySelectorAll('.popup-area[data-type="area-opener"]');
12475															if(areaOpeners) {
12476																for(let areaOpener of areaOpeners) {
12477																	areaOpener.addEventListener('click', function(){
12478																		if(areaOpener.dataset.popup) {
12479																			if(typeof window['sgPopup' + areaOpener.dataset.popup] == 'function') {
12480																				Fancybox.close();
12481																				window['sgPopup' + areaOpener.dataset.popup]('forceOpen');
12482																			}
12483																		}
12484																	});
12485																}
12486															}
12487
12488															const submitButton = popup.querySelector(".popup-element[data-type='button-submit'] button");
12489															if(submitButton) {
12490																submitButton.addEventListener('click', function(event){
12491
12492																	event.preventDefault();
12493																	submitButton.disabled = true;
12494
12495																	sgPopup1502submit(function(result){
12496																		submitButton.disabled = result;
12497																	});
12498
12499																})
12500															}
12501														}
12502													},
12503													close: () => {
12504														window.sgPopup.opened = false;
12505														window.sgPopup.shown.push(1502);
12506														if(window.sgPopup.queue.length) {
12507															setTimeout(function(){
12508																let popupID = window.sgPopup.queue.shift();
12509																window['sgPopup' + popupID]('forceOpen');
12510															}, 30000);
12511														}
12512								
12513													}
12514												}
12515											})
12516										}
12517									}
12518								}
12519							
12520								function sgSuccessRedirect1502(redirect) {
12521									setTimeout(function(){
12522										const clickEvent = new MouseEvent('click', {
12523											bubbles: true,
12524											cancelable: true
12525										});
12526										const link = document.createElement('a');
12527										link.setAttribute('href', redirect.url);
12528
12529										if(redirect.newtab == '') {
12530											Fancybox.close();
12531										} else {
12532											link.setAttribute('target', '_blank');
12533										}
12534										document.body.append(link);
12535										link.dispatchEvent(clickEvent);
12536										link.parentNode.removeChild(link);
12537									}, redirect.timeout);
12538								}
12539							</script>
vendor: 1 bytes, line 12539
12539
12540<script>
12541								if(typeof window.sgPopup == 'undefined') {
12542									window.sgPopup = {
12543										opened: false,
12544										queue: [],
12545										shown: [],
12546										elements: {}
12547									};
12548								}
12549						
12550								addEventListener('DOMContentLoaded', () => {
12551						
12552									document.body.addEventListener('click', function(event){
12553										if(
12554											event.target.dataset.target == "sgPopup1749"
12555											|| event.target.closest('[data-target="sgPopup1749"]')
12556										) {
12557											Fancybox.close();
12558											sgPopup1749('forceOpen');
12559										}
12560									});
12561
12562									sgPopup1749autoOpen();
12563								});
12564
12565								function sgPopup1749autoOpen() {
12566							
12567								}
12568
12569								function sgPopup1749reachGoal(code) {
12570
12571									function executeGoal(params) {
12572										if(typeof params == 'object') {
12573
12574											eval('ym('+ params.join(',') +');');
12575
12576											let data = {
12577												'goal': params[2],
12578												timestamp: new Date().toISOString()
12579											};
12580
12581											var xmlhr = new XMLHttpRequest();
12582											xmlhr.open('POST', "https://psy-muip.ru/wp-json/generator.conversion/v1/actions/?_method=POST&action=goalLog");
12583											xmlhr.send(JSON.stringify(data));
12584
12585											xmlhr.onreadystatechange = function() {
12586												if (xmlhr.readyState === 4 && xmlhr.status === 200) {
12587													if( urlParams.get('debug') ) {
12588														const response = JSON.parse(xmlhr.response);
12589														console.log(response);
12590													}
12591												}
12592											}
12593
12594										}
12595									}
12596
12597									const goals = code.split(';');
12598									if(goals) {
12599										for(let goal of goals) {
12600											goal = goal.trim();
12601											if(goal != '') {
12602												const regexp = /ym(.*)/;
12603												if( regexp.test(goal) ) {
12604
12605													goal = goal.replace('ym(', '');
12606													goal = goal.replace(')', '');
12607													const params = goal.split(',');
12608													if(params) {
12609
12610														if (typeof window.ym != 'undefined') {
12611															executeGoal(params);
12612														} else {
12613															if(typeof window.popup1749goals == 'undefined') {
12614																window.popup1749goals = [];
12615															}
12616
12617															window.popup1749goals.push({
12618																'metrika': params[0],
12619																'action': params[1],
12620																'id': params[2]
12621															});
12622
12623															if(typeof popup1749interval == 'undefined') {
12624																popup1749interval = setInterval(function(){
12625																	if (typeof window.ym != 'undefined') {
12626																		for(let goal of window.popup1749goals) {
12627																			executeGoal(params);
12628																		}
12629																		window.popup1749goals = [];
12630																		clearInterval(popup1749interval);
12631																	}
12632																}, 1000);
12633															}
12634														}
12635													}
12636												} else {
12637													eval(goal);
12638												}
12639											}
12640										}
12641									}
12642
12643								}
12644
12645								function sgPopup1749(action = false) {
12646
12647									if(!action) return;
12648
12649									if( ['open', 'forceOpen'].includes(action) ) {
12650
12651								
12652										if(action == 'open' && window.sgPopup.shown.includes(1749)) {
12653											return false;
12654										}
12655
12656										if(window.sgPopup.opened) {
12657
12658											if(window.sgPopup.opened != 1749) {
12659												window.sgPopup.queue.push(1749);
12660											}
12661
12662										} else {
12663
12664											window.sgPopup.opened = 1749;
12665
12666											let html;
12667											let closeButton;
12668											if(window.innerWidth >= 1040) {
12669												html = "<noindex id='SGpopup1749' class='popup-wrapper grid-hidden'><div class='popup-area' data-type='area-container' style='position: relative; top: 100px; left: 11px; margin-left: ; width: 427.867px; height: 333.867px; '><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=\"Введите ваше имя\" data-name=\"Имя\" data-mask=\"null\" style=\"background-color: rgb(255, 255, 255); border-color: rgb(227, 227, 227); font-size: 17px; color: rgb(104, 104, 104); padding: 11px 20px; border-radius: 30px;\"></div></div><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=\"Ваш e-mail, например: [email protected]\" data-name=\"Почта\" data-mask=\"email\" required=\"\" style=\"background-color: rgb(255, 255, 255); border-color: rgb(227, 227, 227); font-size: 17px; color: rgb(104, 104, 104); padding: 11px 20px; border-radius: 30px;\"></div></div><div class='popup-element' data-type='input' style='margin-top: 0px;margin-right: 0px;margin-bottom: 9px;margin-left: 0px;'><div class='popupElement-content'><input type=\"text\" placeholder=\"+7 (___) ___ - __ - __\" data-name=\"Телефон\" data-mask=\"phone\" required=\"\" style=\"background-color: rgb(255, 255, 255); border-color: rgb(225, 225, 226); font-size: 17px; color: rgb(120, 120, 120); padding: 11px 15px 11px 14px; border-radius: 30px;\"></div></div><div class='popup-element' data-type='button-submit' style='margin-top: 0px;margin-right: 0px;margin-bottom: 7px;margin-left: 0px;'><div class='popupElement-content'><button type=\"submit\" style=\"background-color: rgb(253, 92, 2); color: rgb(0, 0, 0); font-size: 19px; border-radius: 30px; padding: 25px 30px;\" onclick=\"\"><div class=\"buttonSubmit-content\"><p><span style=\"color:hsl(0,0%,100%);font-size:16px;\">Получить помощь в выборе специалиста</sp
12669an></p></div></button></div></div><div class='popup-element' data-type='agree' data-element-id='713911' data-fill='#9e9e9eff' data-mode='default' style='margin-top: 0px;margin-right: 0px;margin-bottom: 7px;margin-left: 0px;'><style>#SGpopup1749 .popup-element[data-element-id='713911'][data-type='agree'] .popupElement-content input[type='checkbox'] + label:before {border-color: #9e9e9eff;} #SGpopup1749 .popup-element[data-element-id='713911'][data-type='agree'] .popupElement-content input[type='checkbox'] + label:after {background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHhtbG5zOnhsaW5rPSdodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rJyB2ZXJzaW9uPScxLjEnIHg9JzBweCcgeT0nMHB4JyB3aWR0aD0nNTEycHgnIGhlaWdodD0nNTEycHgnIHZpZXdCb3g9JzAgMCA0NDIuNTMzIDQ0Mi41MzMnIHN0eWxlPSdlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDQ0Mi41MzMgNDQyLjUzMycgeG1sOnNwYWNlPSdwcmVzZXJ2ZSc+PHBhdGggZD0nTTQzNC41MzksOTguNDk5bC0zOC44MjgtMzguODI4Yy01LjMyNC01LjMyOC0xMS43OTktNy45OTMtMTkuNDEtNy45OTNjLTcuNjE4LDAtMTQuMDkzLDIuNjY1LTE5LjQxNyw3Ljk5M0wxNjkuNTksMjQ3LjI0OCBsLTgzLjkzOS04NC4yMjVjLTUuMzMtNS4zMy0xMS44MDEtNy45OTItMTkuNDEyLTcuOTkyYy03LjYxNiwwLTE0LjA4NywyLjY2Mi0xOS40MTcsNy45OTJMNy45OTQsMjAxLjg1MiAgIEMyLjY2NCwyMDcuMTgxLDAsMjEzLjY1NCwwLDIyMS4yNjljMCw3LjYwOSwyLjY2NCwxNC4wODgsNy45OTQsMTkuNDE2bDEwMy4zNTEsMTAzLjM0OWwzOC44MzEsMzguODI4IGM1LjMyNyw1LjMzMiwxMS44LDcuOTk0LDE5LjQxNCw3Ljk5NGM3LjYxMSwwLDE0LjA4NC0yLjY2OSwxOS40MTQtNy45OTRsMzguODMtMzguODI4TDQzNC41MzksMTM3LjMzIGM1LjMyNS01LjMzLDcuOTk0LTExLjgwMiw3Ljk5NC0xOS40MTdDNDQyLjUzNywxMTAuMzAyLDQzOS44NjQsMTAzLjgyOSw0MzQuNTM5LDk4LjQ5OXonIGZpbGw9JyM5ZTllOWVmZicvPjwvc3ZnPg==);}</style><div class='popupElement-content'><input type=\"checkbox\" checked=\"\" required=\"\" tabindex=\"-1\" data-orig-tabindex=\"-1\"><label><p><span style=\"color:hsl(0,0%,18%);font-size:9px;\">Я согласен на обработку моих персональных данных. 
С&nbsp;</span><a href=\"https://psy-muip.ru/agreement\" data-fpl-component=\"primitive\" target=\"_blank\" rel=\"noopener\"><span style=\"color:hsl(0,0%,18%);font-size:9px;\"><u>Политикой обработки персональных данных</u></span></a><span style=\"color:hsl(0,0%,18%);font-size:9px;\">&nbsp;ознакомлен</span></p></label></div></div><div class='popup-element' data-type='editor' data-element-id='693256' style='padding-top: 0px;padding-right: 0px;padding-bottom: 0px;padding-left: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;' data-p-margin-bottom='20px' data-p-line-height='80%'><style>#SGpopup1749 .popup-element[data-element-id='693256'][data-type='editor'] p {margin-bottom: 20px}#SGpopup1749 .popup-element[data-element-id='693256'][data-type='editor'] * {line-height: 80%}</style><div class='popupElement-content'><p><a href=\"https://psy-muip.ru/politika\" data-fpl-component=\"primitive\" target=\"_blank\" rel=\"noopener\"><span style=\"color:hsl(0,0%,18%);font-size:9px;\"><u>Политика&nbsp;в отношении обработки персональных данных</u></span></a><span style=\"color:hsl(0,0%,18%);font-size:9px;\"> | </span><a href=\"https://psy-muip.ru/custom\" data-fpl-component=\"primitive\" target=\"_blank\" rel=\"noopener\"><span style=\"color:hsl(0,0%,18%);font-size:9px;\"><u>Пользовательское соглашение</u></span></a><br><a href=\"https://psy-muip.ru/agreement\" data-fpl-component=\"primitive\" target=\"_blank\" rel=\"noopener\"><span style=\"color:hsl(0,0%,18%);font-size:9px;\"><u>Согласие на обработку персональных данных</u></span></a><span style=\"color:hsl(0,0%,18%);font-size:9px;\"> | </span><a href=\"https://psy-muip.ru/rassylka\" data-fpl-component=\"primitive\" target=\"_blank\" rel=\"noopener\"><span style=\"color:hsl(0,0%,18%);font-size:9px;\"><u>Согласие на рассылку материалов</u></span></a></p></div></div></div><div class='popup-area' data-type='close-container' style='position: absolute; top: 3px; left: 459px; 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, 14, 14);\">
12669<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='1749'><input type='hidden' name='projectID' value='453'><input type='hidden' name='custom_utm_source'><input type='hidden' name='custom_utm_medium'><input type='hidden' name='custom_utm_campaign'><input type='hidden' name='custom_utm_content'><input type='hidden' name='custom_utm_term'></noindex>";
12670								
12671												closeButton = false;
12672										
12673											} else {
12674								
12675												html = "<noindex id='SGpopup1749' class='popup-wrapper grid-hidden'><div class='popup-area' data-type='area-container' style='position: relative; top: 78px; left: 4px; margin-left: ; width: 281px; height: 287px; '><div class='popup-element' data-type='input' style='margin-top: 0px;margin-right: 0px;margin-bottom: 6px;margin-left: 0px;'><div class='popupElement-content'><input type=\"text\" placeholder=\"Введите ваше имя\" data-name=\"Имя\" data-mask=\"null\" style=\"background-color: rgb(255, 255, 255); border-color: rgb(227, 227, 227); font-size: 14px; color: rgb(104, 104, 104); padding: 8px 20px; border-radius: 30px;\"></div></div><div class='popup-element' data-type='input' style='margin-top: 0px;margin-right: 0px;margin-bottom: 6px;margin-left: 0px;'><div class='popupElement-content'><input type=\"text\" placeholder=\"Ваш e-mail, например: [email protected]\" data-name=\"Почта\" data-mask=\"email\" required=\"\" style=\"background-color: rgb(255, 255, 255); border-color: rgb(227, 227, 227); font-size: 14px; color: rgb(104, 104, 104); padding: 8px 20px; border-radius: 30px;\"></div></div><div class='popup-element' data-type='input' style='margin-top: 0px;margin-right: 0px;margin-bottom: 9px;margin-left: 0px;'><div class='popupElement-content'><input type=\"text\" placeholder=\"+7 (___) ___ - __ - __\" data-name=\"Телефон\" data-mask=\"phone\" required=\"\" style=\"background-color: rgb(255, 255, 255); border-color: rgb(225, 225, 226); font-size: 14px; color: rgb(120, 120, 120); padding: 8px 15px 8px 14px; border-radius: 30px;\"></div></div><div class='popup-element' data-type='button-submit' style='margin-top: 0px;margin-right: 0px;margin-bottom: 5px;margin-left: 0px;'><div class='popupElement-content'><button type=\"submit\" style=\"background-color: rgb(253, 92, 2); color: rgb(0, 0, 0); font-size: 19px; border-radius: 30px; padding: 15px 24px;\" onclick=\"\"><div class=\"buttonSubmit-content\"><p><span style=\"color:hsl(0,0%,100%);font-size:10px;\"><strong>Получить помощь в выборе специалиста</strong></span></p></div></button></div></div><div class='popup-element' data-type='agree' data-element-id='585909' data-fill='#9e9e9eff' data-mode='default' style='margin-top: 0px;margin-right: 0px;margin-bottom: 7px;margin-left: 0px;'><style>#SGpopup1749 .popup-element[data-element-id='585909'][data-type='agree'] .popupElement-content input[type='checkbox'] + label:before {border-color: #9e9e9eff;} #SGpopup1749 .popup-element[data-element-id='585909'][data-type='agree'] .popupElement-content input[type='checkbox'] + label:after {background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHhtbG5zOnhsaW5rPSdodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rJyB2ZXJzaW9uPScxLjEnIHg9JzBweCcgeT0nMHB4JyB3aWR0aD0nNTEycHgnIGhlaWdodD0nNTEycHgnIHZpZXdCb3g9JzAgMCA0NDIuNTMzIDQ0Mi41MzMnIHN0eWxlPSdlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDQ0Mi41MzMgNDQyLjUzMycgeG1sOnNwYWNlPSdwcmVzZXJ2ZSc+PHBhdGggZD0nTTQzNC41MzksOTguNDk5bC0zOC44MjgtMzguODI4Yy01LjMyNC01LjMyOC0xMS43OTktNy45OTMtMTkuNDEtNy45OTNjLTcuNjE4LDAtMTQuMDkzLDIuNjY1LTE5LjQxNyw3Ljk5M0wxNjkuNTksMjQ3LjI0OCBsLTgzLjkzOS04NC4yMjVjLTUuMzMtNS4zMy0xMS44MDEtNy45OTItMTkuNDEyLTcuOTkyYy03LjYxNiwwLTE0LjA4NywyLjY2Mi0xOS40MTcsNy45OTJMNy45OTQsMjAxLjg1MiAgIEMyLjY2NCwyMDcuMTgxLDAsMjEzLjY1NCwwLDIyMS4yNjljMCw3LjYwOSwyLjY2NCwxNC4wODgsNy45OTQsMTkuNDE2bDEwMy4zNTEsMTAzLjM0OWwzOC44MzEsMzguODI4IGM1LjMyNyw1LjMzMiwxMS44LDcuOTk0LDE5LjQxNCw3Ljk5NGM3LjYxMSwwLDE0LjA4NC0yLjY2OSwxOS40MTQtNy45OTRsMzguODMtMzguODI4TDQzNC41MzksMTM3LjMzIGM1LjMyNS01LjMzLDcuOTk0LTExLjgwMiw3Ljk5NC0xOS40MTdDNDQyLjUzNywxMTAuMzAyLDQzOS44NjQsMTAzLjgyOSw0MzQuNTM5LDk4LjQ5OXonIGZpbGw9JyM5ZTllOWVmZicvPjwvc3ZnPg==);}</style><div class='popupElement-content'><input type=\"checkbox\" checked=\"\" required=\"\" tabindex=\"-1\" data-orig-tabindex=\"-1\"><label><p><span style=\"color:hsl(0,0%,18%);
12675font-size:7px;\">Я согласен на обработку моих персональных данных. 
С&nbsp;</span><a href=\"https://psy-muip.ru/agreement\" data-fpl-component=\"primitive\" target=\"_blank\" rel=\"noopener\"><span style=\"color:hsl(0,0%,18%);font-size:7px;\"><u>Политикой обработки персональных данных</u></span></a><span style=\"color:hsl(0,0%,18%);font-size:7px;\">&nbsp;ознакомлен</span></p></label></div></div><div class='popup-element' data-type='editor' data-element-id='347547' style='padding-top: 0px;padding-right: 0px;padding-bottom: 0px;padding-left: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;' data-p-margin-bottom='20px' data-p-line-height='90%'><style>#SGpopup1749 .popup-element[data-element-id='347547'][data-type='editor'] p {margin-bottom: 20px}#SGpopup1749 .popup-element[data-element-id='347547'][data-type='editor'] * {line-height: 90%}</style><div class='popupElement-content'><p><a href=\"https://psy-muip.ru/politika\" data-fpl-component=\"primitive\" target=\"_blank\" rel=\"noopener\"><span style=\"color:hsl(0,0%,18%);font-size:6px;\"><u>Политика&nbsp;в отношении обработки персональных данных</u></span></a><span style=\"color:hsl(0,0%,18%);font-size:6px;\"> | </span><a href=\"https://psy-muip.ru/custom\" data-fpl-component=\"primitive\" target=\"_blank\" rel=\"noopener\"><span style=\"color:hsl(0,0%,18%);font-size:6px;\"><u>Пользовательское соглашение</u></span></a><br><a href=\"https://psy-muip.ru/agreement\" data-fpl-component=\"primitive\" target=\"_blank\" rel=\"noopener\"><span style=\"color:hsl(0,0%,18%);font-size:6px;\"><u>Согласие на обработку персональных данных</u></span></a><span style=\"color:hsl(0,0%,18%);font-size:6px;\"> | </span><a href=\"https://psy-muip.ru/rassylka\" data-fpl-component=\"primitive\" target=\"_blank\" rel=\"noopener\"><span style=\"color:hsl(0,0%,18%);font-size:6px;\"><u>Согласие на рассылку материалов</u></span></a></p></div></div></div><div class='popup-area' data-type='close-container' style='position: absolute; top: 0px; left: 275.2px; margin-left: ; width: 40px; height: 40px; '><div class='popup-element' data-type='button-close' style=''><div class='popupElement-content'><button type=\"close\" style=\"padding: 10px; width: 34px; height: 34px; background-color: rgba(0, 0, 0, 0); border: 1px 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, 57, 57);\"><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='1749'><input type='hidden' name='projectID' value='453'><input type='hidden' name='custom_utm_source'><input type='hidden' name='custom_utm_medium'><input type='hidden' name='custom_utm_campaign'><input type='hidden' name='custom_utm_content'><input type='hidden' name='custom_utm_term'></noindex>";
12676								
12677												closeButton = false;
12678										
12679											}
12680								
12681											Fancybox.close();
12682											new Fancybox([
12683												{
12684													src: html,
12685													type: 'html'
12686												}
12687											], {
12688												dragToClose: false,
12689												closeButton: closeButton,
12690												compact: false,
12691												autoFocus: false,
12692												trapFocus: false,
12693												on: {
12694													done: (fancybox, slide) => {
12695								
12696													sgPopup1749reachGoal("ym(93615077,'reachGoal','pokaz_zakaz_zvonka');");
12697										
12698													const popup = document.querySelector("#SGpopup1749");
12699													if(popup) {
12700
12701														const url = new URL(location.href);
12702														window.utm_source = url.searchParams.get('utm_source');
12703														window.utm_medium = url.searchParams.get('utm_medium');
12704														window.utm_campaign = url.searchParams.get('utm_campaign');
12705														window.utm_term = url.searchParams.get('utm_term');
12706														window.utm_content = url.searchParams.get('utm_content');
12707
12708								
12709														const custom_utm_source = popup.querySelector('input[name="custom_utm_source"]');
12710														if(custom_utm_source && typeof 'site' != undefined) {
12711															custom_utm_source.value = 'site';
12712														}
12713											
12714														const custom_utm_medium = popup.querySelector('input[name="custom_utm_medium"]');
12715														if(custom_utm_medium && typeof 'seo' != undefined) {
12716															custom_utm_medium.value = 'seo';
12717														}
12718											
12719														const custom_utm_campaign = popup.querySelector('input[name="custom_utm_campaign"]');
12720														if(custom_utm_campaign && typeof 'genegator_pomosh_v_vibore_specialista' != undefined) {
12721															custom_utm_campaign.value = 'genegator_pomosh_v_vibore_specialista';
12722														}
12723											
12724														const custom_utm_content = popup.querySelector('input[name="custom_utm_content"]');
12725														if(custom_utm_content && typeof 'muip' != undefined) {
12726															custom_utm_content.value = 'muip';
12727														}
12728											
12729														const custom_utm_term = popup.querySelector('input[name="custom_utm_term"]');
12730														if(custom_utm_term && typeof 'catalog' != undefined) {
12731															custom_utm_term.value = 'catalog';
12732														}
12733											
12734														openerLinks = popup.querySelectorAll('a[data-target]');
12735														if(openerLinks) {
12736															for(let openerLink of openerLinks) {
12737																openerLink.addEventListener('click', function(){
12738																	if(openerLink.dataset.target) {
12739																		if(typeof window[openerLink.dataset.target] == 'function') {
12740																			Fancybox.close();
12741																			window[openerLink.dataset.target]('open');
12742																		}
12743																	}
12744																});
12745															}
12746														}
12747
12748														linkImages = popup.querySelectorAll('.image-wrapper[data-type="link"]');
12749														if(linkImages) {
12750															for(let linkImage of linkImages) {
12751																linkImage.addEventListener('click', function(){
12752																	if(linkImage.dataset.link) {
12753																		if(linkImage.dataset.target == '_blank') {
12754																			window.open(linkImage.dataset.link);
12755																		} else {
12756																			location.href = linkImage.dataset.link
12757																		}
12758																	}
12759																});
12760															}
12761														}
12762
12763														openerImages = popup.querySelectorAll('.image-wrapper[data-type="opener"]');
12764														if(openerImages) {
12765															for(let openerImage of openerImages) {
12766																openerImage.addEventListener('click', function(){
12767																	if(openerImage.dataset.popup) {
12768																		if(typeof window['sgPopup' + openerImage.dataset.popup] == 'function') {
12769																			Fancybox.close();
12770																			window['sgPopup' + openerImage.dataset.popup]('forceOpen');
12771																		}
12772																	}
12773																});
12774															}
12775														}
12776
12777														submitImages = popup.querySelectorAll('.image-wrapper[data-type="submitter"]');
12778														if(submitImages) {
12779															for(let submitImage of submitImages) {
12780																submitImage.addEventListener('click', function(){
12781
12782																	if(submitImage.classList.contains('disabled')) return false;
12783
12784																	submitImage.classList.add('disabled');
12785
12786																	sgPopup1749submit(function(result){
12787																		submitImage.classList.toggle('disabled', result);
12788																	});
12789
12790																});
12791															}
12792														}
12793
12794														const linkButtons = popup.querySelectorAll('button[data-type="link"]');
12795														if(linkButtons) {
12796															for(let linkButton of linkButtons) {
12797																linkButton.addEventListener('click', function(){
12798																	if(linkButton.dataset.link && linkButton.dataset.link != '#') {
12799								
12800																		if(linkButton.dataset.target == '_blank') {
12801																			window.open(linkButton.dataset.link);
12802																		} else {
12803																			location.href = linkButton.dataset.link
12804																		}
12805																	}
12806																});
12807															}
12808														}
12809
12810														openerButtons = popup.querySelectorAll('button[data-type="opener"]');
12811														if(openerButtons) {
12812															for(let openerButton of openerButtons) {
12813																openerButton.addEventListener('click', function(){
12814									
12815																	if(openerButton.dataset.popup) {
12816																		if(typeof window['sgPopup' + openerButton.dataset.popup] == 'function') {
12817																			Fancybox.close();
12818																			window['sgPopup' + openerButton.dataset.popup]('forceOpen');
12819																		}
12820																	}
12821																});
12822															}
12823														}
12824
12825														const maskedFields = popup.querySelectorAll('input[data-mask]');
12826														if(maskedFields) {
12827															for(let maskedField of maskedFields) {
12828																if(maskedField.dataset.mask == 'phone') {
12829																	Inputmask('+7 (999) 999-99-99', {
12830																		clearIncomplete: true,
12831																		greedy: false
12832																	}).mask(maskedField);
12833								
12834																} else if(maskedField.dataset.mask == 'email') {
12835																	Inputmask({
12836																	alias: 'email',
12837																		clearIncomplete: true,
12838																		greedy: false
12839																	}).mask(maskedField);
12840																}
12841															}
12842														}
12843
12844														const fileInputs = popup.querySelectorAll('.popup-element[data-type="input-file"] input[type="file"]');
12845														if(fileInputs) {
12846															for(let fileInput of fileInputs) {
12847																let label = fileInput.nextElementSibling;
12848																if(label) {
12849																	fileInput.addEventListener('change', function() {
12850																		if (fileInput.files && fileInput.files.length > 0) {
12851																			const maxSize = fileInput.dataset.limit;
12852																			if(fileInput.files[0].size <= maxSize * 1024 * 1024) {
12853																				reader = new FileReader();
12854																				reader.onload = function(){
12855																					const span = label.querySelector('span');
12856																					if(span) {
12857																						span.innerHTML = fileInput.files[0].name;
12858																					}
12859																					fileInput.dataset.content = reader.result;
12860																				};
12861																				reader.readAsDataURL(fileInput.files[0]);
12862																			} else {
12863																				alert('Превышен максимальный размер файла - '+ maxSize +'мб');
12864																			}
12865																		}
12866																	});
12867																	label.addEventListener('click', function(event){
12868																		event.preventDefault();
12869																		fileInput.click();
12870																	});
12871																}
12872															}
12873														}
12874
12875														const agrees = popup.querySelectorAll('.popup-element[data-type="agree"] input[type="checkbox"]');
12876														if(agrees) {
12877															for(let agree of agrees) {
12878																let parent = agree.closest('.popup-element');
12879																if(parent) {
12880																	let label = agree.nextElementSibling;
12881																	if(label) {
12882																		label.addEventListener('click', function(event){
12883																			event.preventDefault();
12884																			agree.checked = !agree.checked;
12885
12886
12887																			if(parent.dataset.mode == 'general') {
12888																				const agreeAll = agree;
12889																				for(let agree of agrees) {
12890																					agree.checked = agreeAll.checked;
12891																				}
12892																			}
12893
12894																			let agreeCount = 0;
12895																			let agreeSelected = 0;
12896																			for(let agree of agrees) {
12897																				const parent = agree.closest('.popup-element');
12898																				if(parent && parent.dataset.mode != 'general') {
12899																					agreeCount++;
12900																					if(agree.checked) {
12901																						agreeSelected++;
12902																					}
12903																				}
12904																			}
12905
12906																			const general = popup.querySelector('.popup-element[data-type="agree"][data-mode="general"]');
12907																			if(general) {
12908																				general.classList.toggle('all-selected', agreeSelected == agreeCount);
12909																				general.classList.toggle('no-selected', agreeSelected == 0);
12910																				general.classList.toggle('some-selected', agreeSelected > 0 && agreeSelected < agreeCount);
12911
12912																				const checkbox = general.querySelector('input[type="checkbox"]');
12913																				if(checkbox) {
12914																					if(agreeSelected == agreeCount) {
12915																						checkbox.checked = true;
12916																					} else {
12917																						checkbox.checked = false;
12918																					}
12919																				}
12920																			}
12921																		});
12922																		const links = label.querySelectorAll('a');
12923																		if(links) {
12924																			for(let link of links) {
12925																				link.addEventListener('click', function(event){
12926																					event.stopPropagation()
12927																				});
12928																			}
12929																		}
12930																	}
12931																}
12932															}
12933														}
12934
12935														const wheel = popup.querySelector('.popup-element[data-type="wheel"]');
12936														let wheelInterval;
12937														let wheelAngle = 0;
12938														if(wheel){
12939															const circle = popup.querySelector('.wheel-circle img');
12940															if(circle) {
12941																wheelInterval = setInterval(function(){
12942																	wheelAngle += 0.2;
12943																	if(wheelAngle > 360) {
12944																		wheelAngle -= 360;
12945																	}
12946																	circle.setAttribute('style', 'transform: rotate('+ wheelAngle +'deg)');
12947																}, 40);
12948															}
12949														}
12950
12951														const closeTriggers = popup.querySelectorAll('.popup-element[data-type="button-close"] button:not([data-fancybox-close])');
12952														if(closeTriggers) {
12953															for(let closeTrigger of closeTriggers) {
12954																closeTrigger.addEventListener('click', function(){
12955																	Fancybox.close();
12956																})
12957															}
12958														}
12959
12960														function sgPopup1749submit(callback = false) {
12961
12962															let hasError = false;
12963															const requiredInputs = popup.querySelectorAll('input[data-name][required]');
12964															if(requiredInputs) {
12965																for(let requiredInput of requiredInputs) {
12966																	if(requiredInput.dataset.mask) {
12967																		if(requiredInput.dataset.mask == 'phone') {
12968																			if(!Inputmask.isValid(requiredInput.value, { mask: '+7 (999) 999-99-99'})) {
12969																				requiredInput.classList.add('error');
12970																				hasError = true;
12971																			} else {
12972																				requiredInput.classList.remove('error');
12973																			}
12974																		} else if(requiredInput.dataset.mask == 'phone_intl' && typeof window.sgPopup.elements.intl != 'undefined') {
12975																			intl = window.sgPopup.elements.intl;
12976																			if(!intl.isValidNumberPrecise()) {
12977																				requiredInput.classList.add('error');
12978																				hasError = true;
12979																			} else {
12980																				requiredInput.classList.remove('error');
12981																			}
12982																		} else if(requiredInput.dataset.mask == 'email') {
12983																			if(!Inputmask.isValid(requiredInput.value, {alias: 'email'})) {
12984																				requiredInput.classList.add('error');
12985																				hasError = true;
12986																			} else {
12987																				requiredInput.classList.remove('error');
12988																			}
12989																		}
12990																	} else {
12991																		if(requiredInput.value == '') {
12992																			requiredInput.classList.add('error');
12993																			hasError = true;
12994																		} else {
12995																			requiredInput.classList.remove('error');
12996																		}
12997																	}
12998																}
12999															}
13000								
13001															const requiredTextareas = popup.querySelectorAll('textarea[data-name][required]');
13002															if(requiredTextareas) {
13003																for(let requiredTextarea of requiredTextareas) {
13004																	if(requiredTextarea.value == '') {
13005																		requiredTextarea.classList.add('error');
13006																		hasError = true;
13007																	} else {
13008																		requiredTextarea.classList.remove('error');
13009																	}
13010																}
13011															}
13012
13013															const requiredSelects = popup.querySelectorAll('select[data-name][required]');
13014															if(requiredSelects) {
13015																for(let requiredSelect of requiredSelects) {
13016																	const niceSelect = requiredSelect.nextElementSibling;
13017																	if(niceSelect) {
13018																		if(niceSelect.querySelector('.option.selected')) {
13019																			niceSelect.classList.remove('error')
13020																		} else {
13021																			niceSelect.classList.add('error');
13022																			hasError = true
13023																		}
13024																	}
13025																}
13026															}
13027
13028															if(agrees) {
13029																for(let agree of agrees) {
13030																	if(agree.required) {
13031																		let label = agree.nextElementSibling;
13032																		if(agree.checked) {
13033																			label.classList.remove('error');
13034																		} else {
13035																			label.classList.add('error');
13036																			hasError = true;
13037																		}
13038																	}
13039																}
13040															}
13041
13042															if(hasError) {
13043																if (callback && typeof callback === 'function') {
13044																	callback(false);
13045																}
13046																return false;
13047															}
13048
13049															function sgPopup1749sendRequest() {
13050
13051								
13052																let data = {
13053																	fields: [],
13054																	cookie: document.cookie,
13055																	markers: markers,
13056																	source: location.href
13057																};
13058								
13059																const inputs = popup.querySelectorAll('input[data-name]');
13060																if(inputs) {
13061																	for(let input of inputs) {
13062																		if(input.dataset.mask == 'phone_intl' && typeof window.sgPopup.elements.intl != 'undefined') {
13063																			intl = window.sgPopup.elements.intl;
13064																			data.fields.push({
13065																				name: input.dataset.name,
13066																				value: intl.getNumber()
13067																			});
13068																		} else {
13069																			data.fields.push({
13070																				name: input.dataset.name,
13071																				value: input.value
13072																			});
13073																		}
13074																	}
13075																}
13076
13077																const textareas = popup.querySelectorAll('textarea[data-name]');
13078																if(textareas) {
13079																	for(let textarea of textareas) {
13080																		data.fields.push({
13081																			name: textarea.dataset.name,
13082																			value: textarea.value
13083																		});
13084																	}
13085																}
13086
13087																if(typeof selects != 'undefined') {
13088																	for(let select of selects) {
13089																		data.fields.push({
13090																			name: select.dataset.name,
13091																			value: select.value
13092																		});
13093																	}
13094																}
13095
13096																const hiddenInputs = popup.querySelectorAll('input[type="hidden"]');
13097																for(let hiddenInput of hiddenInputs) {
13098																	const name = hiddenInput.name;
13099																	data[hiddenInput.name] = hiddenInput.value;
13100																}
13101
13102																const fileInputs = popup.querySelectorAll('.popup-element[data-type="input-file"] input[type="file"]');
13103																if(fileInputs) {
13104																	data.files = [];
13105																	for(let fileInput of fileInputs) {
13106																		if (fileInput.files && fileInput.files.length > 0) {
13107																			data.files.push({
13108																				'name': fileInput.files[0].name,
13109																				'content': fileInput.dataset.content
13110																			});
13111																		}
13112																	}
13113																}
13114
13115																if( wheel && typeof window.prize != 'undefined' ) {
13116																	data.fields.push(window.prize);
13117																}
13118								
13119
13120																var xmlhr = new XMLHttpRequest();
13121																xmlhr.open('POST', "https://psy-muip.ru/wp-json/generator.conversion/v1/actions/?_method=POST&action=formSubmit");
13122																xmlhr.send(JSON.stringify(data));
13123
13124																xmlhr.onreadystatechange = function() {
13125																	if (xmlhr.readyState === 4 && xmlhr.status === 200) {
13126																		console.log(xmlhr.response);
13127																		const response = JSON.parse(xmlhr.response);
13128																		console.log(response);
13129								
13130																	}
13131																};
13132								
13133																sgPopup1749reachGoal("ym(93615077,'reachGoal','lead_zakaz_zvonka');");
13134											
13135																sgSuccessPopup1749();
13136										
13137																return true;
13138
13139															}
13140
13141															if(wheel){
13142																const circle = popup.querySelector('.wheel-circle img');
13143																if(circle) {
13144																	clearInterval(wheelInterval);
13145								
13146																	}
13147
13148																} else {
13149																	const result = sgPopup1749sendRequest();
13150																	if (callback && typeof callback === 'function') {
13151																		callback(result);
13152																	}
13153																}
13154
13155															}
13156
13157															areaLinks = popup.querySelectorAll('.popup-area[data-type="area-link"]');
13158															if(areaLinks) {
13159																for(let areaLink of areaLinks) {
13160																	areaLink.addEventListener('click', function(){
13161																		if(areaLink.dataset.link && areaLink.dataset.link != '#') {
13162																			if(areaLink.dataset.target == '_blank') {
13163																				window.open(areaLink.dataset.link);
13164																			} else {
13165																				location.href = areaLink.dataset.link
13166																			}
13167																		}
13168																	});
13169																}
13170															}
13171
13172															areaOpeners = popup.querySelectorAll('.popup-area[data-type="area-opener"]');
13173															if(areaOpeners) {
13174																for(let areaOpener of areaOpeners) {
13175																	areaOpener.addEventListener('click', function(){
13176																		if(areaOpener.dataset.popup) {
13177																			if(typeof window['sgPopup' + areaOpener.dataset.popup] == 'function') {
13178																				Fancybox.close();
13179																				window['sgPopup' + areaOpener.dataset.popup]('forceOpen');
13180																			}
13181																		}
13182																	});
13183																}
13184															}
13185
13186															const submitButton = popup.querySelector(".popup-element[data-type='button-submit'] button");
13187															if(submitButton) {
13188																submitButton.addEventListener('click', function(event){
13189
13190																	event.preventDefault();
13191																	submitButton.disabled = true;
13192
13193																	sgPopup1749submit(function(result){
13194																		submitButton.disabled = result;
13195																	});
13196
13197																})
13198															}
13199														}
13200													},
13201													close: () => {
13202														window.sgPopup.opened = false;
13203														window.sgPopup.shown.push(1749);
13204														if(window.sgPopup.queue.length) {
13205															setTimeout(function(){
13206																let popupID = window.sgPopup.queue.shift();
13207																window['sgPopup' + popupID]('forceOpen');
13208															}, 30000);
13209														}
13210								
13211													}
13212												}
13213											})
13214										}
13215									}
13216								}
13217							
13218								function sgSuccessPopup1749() {
13219							
13220									let html;
13221									let closeButton;
13222									if(window.innerWidth >= 1040) {
13223										html = "<noindex id='SGsuccess1749' 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>";
13224							closeButton = false;
13225									} else {
13226										html = "<noindex id='SGsuccess1749' 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;\">Спасибо, мы скоро свяжемся с вами!&nbsp;</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>";
13227							closeButton = false;
13228									}
13229							
13230									Fancybox.close();
13231									new Fancybox([
13232										{
13233											src: html,
13234											type: 'html'
13235										}
13236									], {
13237										dragToClose: false,
13238										closeButton: closeButton,
13239										autoFocus: false,
13240										trapFocus: false,
13241										on: {
13242											done: (fancybox, slide) => {
13243							
13244												const success = document.querySelector("#SGsuccess1749");
13245												if(success) {
13246
13247													buttonLinks = success.querySelectorAll('button[data-type="link"]');
13248													if(buttonLinks) {
13249														for(let buttonLink of buttonLinks) {
13250															buttonLink.addEventListener('click', function(){
13251																if(buttonLink.dataset.link) {
13252																	if(buttonLink.dataset.target == '_blank') {
13253																		window.open(buttonLink.dataset.link);
13254																	} else {
13255																		location.href = buttonLink.dataset.link
13256																	}
13257																}
13258															});
13259														}
13260													}
13261													
13262												}
13263							
13264												setTimeout(function(){
13265													Fancybox.close();
13266												}, 3000);
13267									
13268											},
13269											close: () => {
13270												window.sgPopup.opened = false;
13271											}
13272										}
13273									});
13274								}
13275							</script>
vendor: 1 bytes, line 13275
13275
13276<script>
13277								if(typeof window.sgPopup == 'undefined') {
13278									window.sgPopup = {
13279										opened: false,
13280										queue: [],
13281										shown: [],
13282										elements: {}
13283									};
13284								}
13285						
13286								let timerIntervalSGpopup1811;
13287							
13288								let timerToSGpopup1811 = 1790020800 - Math.round(new Date() / 1000);
13289								
13290								addEventListener('DOMContentLoaded', () => {
13291						
13292									document.body.addEventListener('click', function(event){
13293										if(
13294											event.target.dataset.target == "sgPopup1811"
13295											|| event.target.closest('[data-target="sgPopup1811"]')
13296										) {
13297											Fancybox.close();
13298											sgPopup1811('forceOpen');
13299										}
13300									});
13301
13302									sgPopup1811autoOpen();
13303								});
13304
13305								function sgPopup1811autoOpen() {
13306							
13307								}
13308
13309								function sgPopup1811reachGoal(code) {
13310
13311									function executeGoal(params) {
13312										if(typeof params == 'object') {
13313
13314											eval('ym('+ params.join(',') +');');
13315
13316											let data = {
13317												'goal': params[2],
13318												timestamp: new Date().toISOString()
13319											};
13320
13321											var xmlhr = new XMLHttpRequest();
13322											xmlhr.open('POST', "https://psy-muip.ru/wp-json/generator.conversion/v1/actions/?_method=POST&action=goalLog");
13323											xmlhr.send(JSON.stringify(data));
13324
13325											xmlhr.onreadystatechange = function() {
13326												if (xmlhr.readyState === 4 && xmlhr.status === 200) {
13327													if( urlParams.get('debug') ) {
13328														const response = JSON.parse(xmlhr.response);
13329														console.log(response);
13330													}
13331												}
13332											}
13333
13334										}
13335									}
13336
13337									const goals = code.split(';');
13338									if(goals) {
13339										for(let goal of goals) {
13340											goal = goal.trim();
13341											if(goal != '') {
13342												const regexp = /ym(.*)/;
13343												if( regexp.test(goal) ) {
13344
13345													goal = goal.replace('ym(', '');
13346													goal = goal.replace(')', '');
13347													const params = goal.split(',');
13348													if(params) {
13349
13350														if (typeof window.ym != 'undefined') {
13351															executeGoal(params);
13352														} else {
13353															if(typeof window.popup1811goals == 'undefined') {
13354																window.popup1811goals = [];
13355															}
13356
13357															window.popup1811goals.push({
13358																'metrika': params[0],
13359																'action': params[1],
13360																'id': params[2]
13361															});
13362
13363															if(typeof popup1811interval == 'undefined') {
13364																popup1811interval = setInterval(function(){
13365																	if (typeof window.ym != 'undefined') {
13366																		for(let goal of window.popup1811goals) {
13367																			executeGoal(params);
13368																		}
13369																		window.popup1811goals = [];
13370																		clearInterval(popup1811interval);
13371																	}
13372																}, 1000);
13373															}
13374														}
13375													}
13376												} else {
13377													eval(goal);
13378												}
13379											}
13380										}
13381									}
13382
13383								}
13384
13385								function sgPopup1811(action = false) {
13386
13387									if(!action) return;
13388
13389									if( ['open', 'forceOpen'].includes(action) ) {
13390
13391								
13392										if(action == 'open' && window.sgPopup.shown.includes(1811)) {
13393											return false;
13394										}
13395
13396										if(window.sgPopup.opened) {
13397
13398											if(window.sgPopup.opened != 1811) {
13399												window.sgPopup.queue.push(1811);
13400											}
13401
13402										} else {
13403
13404											window.sgPopup.opened = 1811;
13405
13406											let html;
13407											let closeButton;
13408											if(window.innerWidth >= 1040) {
13409												html = "<noindex id='SGpopup1811' class='popup-wrapper grid-hidden'><div class='popup-area' data-type='area-container' style='position: relative; top: 263px; left: 523px; margin-left: ; width: 435px; height: 236px; '><div class='popup-element' data-type='editor' data-element-id='238205' style='padding-top: 0px;padding-right: 0px;padding-bottom: 0px;padding-left: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 8px;margin-left: 0px;' data-p-margin-bottom='20px' data-p-line-height='120%'><style>#SGpopup1811 .popup-element[data-element-id='238205'][data-type='editor'] p {margin-bottom: 20px}#SGpopup1811 .popup-element[data-element-id='238205'][data-type='editor'] * {line-height: 120%}</style><div class='popupElement-content'><p><span style=\"color:hsl(0,0%,0%);font-size:14px;\">Введите ваши данные для бронирования гранта:</span></p></div></div><div class='popup-element' data-type='input' style='margin-top: 0px;margin-right: 0px;margin-bottom: 3px;margin-left: 0px;'><div class='popupElement-content'><input type=\"text\" placeholder=\"Введите ваш эл. адрес\" data-name=\"Почта\" data-mask=\"email\" required=\"\" style=\"background-color: rgb(255, 255, 255); border-color: rgb(135, 135, 135); font-size: 17px; color: rgb(104, 104, 104); padding: 8px 8px 8px 12px; border-radius: 8px;\"></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=\"+7 (___) ___ - __ - __\" data-name=\"Телефон\" data-mask=\"phone_intl\" required=\"\" style=\"background-color: rgb(255, 255, 255); border-color: rgb(135, 135, 135); font-size: 17px; color: rgb(120, 120, 120); padding: 8px 12px; border-radius: 8px;\"></div></div><div class='popup-element' data-type='button-submit' style='margin-top: 7px;margin-right: 0px;margin-bottom: 2px;margin-left: 0px;'><div class='popupElement-content'><button type=\"submit\" style=\"background-color: rgb(190, 27, 50); color: rgb(0, 0, 0); font-size: 19px; border-radius: 8px; padding: 18px 22px;\" onclick=\"\"><div class=\"buttonSubmit-content\"><p><span style=\"color:hsl(0,0%,100%);font-size:22px;\">Забрать грант</span></p></div></button></div></div><div class='popup-element' data-type='agree' data-element-id='410160' data-fill='#9e9e9eff' data-mode='default' data-mode='default' style='margin-top: 8px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;'><style>#SGpopup1811 .popup-element[data-element-id='410160'][data-type='agree'] .popupElement-content input[type='checkbox'] + label:before {border-color: #9e9e9eff;} #SGpopup1811 .popup-element[data-element-id='410160'][data-type='agree'] .popupElement-content input[type='checkbox'] + label:after {background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHhtbG5zOnhsaW5rPSdodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rJyB2ZXJzaW9uPScxLjEnIHg9JzBweCcgeT0nMHB4JyB3aWR0aD0nNTEycHgnIGhlaWdodD0nNTEycHgnIHZpZXdCb3g9JzAgMCA0NDIuNTMzIDQ0Mi41MzMnIHN0eWxlPSdlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDQ0Mi41MzMgNDQyLjUzMycgeG1sOnNwYWNlPSdwcmVzZXJ2ZSc+PHBhdGggZD0nTTQzNC41MzksOTguNDk5bC0zOC44MjgtMzguODI4Yy01LjMyNC01LjMyOC0xMS43OTktNy45OTMtMTkuNDEtNy45OTNjLTcuNjE4LDAtMTQuMDkzLDIuNjY1LTE5LjQxNyw3Ljk5M0wxNjkuNTksMjQ3LjI0OCBsLTgzLjkzOS04NC4yMjVjLTUuMzMtNS4zMy0xMS44MDEtNy45OTItMTkuNDEyLTcuOTkyYy03LjYxNiwwLTE0LjA4NywyLjY2Mi0xOS40MTcsNy45OTJMNy45OTQsMjAxLjg1MiAgIEMyLjY2NCwyMDcuMTgxLDAsMjEzLjY1NCwwLDIyMS4yNjljMCw3LjYwOSwyLjY2NCwxNC4wODgsNy45OTQsMTkuNDE2bDEwMy4zNTEsMTAzLjM0OWwzOC44MzEsMzguODI4IGM1LjMyNyw1LjMzMiwxMS44LDcuOTk0LDE5LjQxNCw3Ljk5NGM3LjYxMSwwLDE0LjA4NC0yLjY2OSwxOS40MTQtNy45OTRsMzguODMtMzguODI4TDQzNC41MzksMTM3LjMzIGM1LjMyNS01LjMzLDcuOTk0LTExLjgwMiw3Ljk5NC0xOS40MTdDNDQyLjUzNywxMTAuMzAyLDQzOS44NjQsMTAzLjgyOSw0MzQuNTM5LDk4LjQ5OXonIGZpbGw9JyM5ZTllOWVmZicvPjwvc3ZnPg==);}</style><div class='popupElement-content'><input type=\"checkbox\" checked=\"\" required=\"\" tabindex=\"-1\" data-orig-tabindex=\"-1\"><label><p><span style=\"color:hsl(0,0%,18%);font-size:9px;\">Я согласен на обработку моих персональных данных. 
С&nbsp;</span><a href=\"https://psy-muip.ru/agreement\" data-fpl-component=\"primitive\" target=\"_blank\" rel=\"noopener\"><span style=\"color:hsl(0,0%,18%);font-size:9px;\"><u>Политикой обработки персональных данных</u></span></a><span style=\"color:hsl(0,0%,18%);font-size:9px;\">&nbsp;ознакомлен</span></p></label></div></div><div class='popup-element' data-type='editor' data-element-id='789611' style='padding-top: 0px;padding-right: 0px;padding-bottom: 0px;padding-left: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;' data-p-margin-bottom='13px' data-p-line-height='80%'><style>#SGpopup1811 .popup-element[data-element-id='789611'][data-type='editor'] p {margin-bottom: 13px}#SGpopup1811 .popup-element[data-element-id='789611'][data-type='editor'] * {line-height: 80%}</style><div class='popupElement-content'><p><a href=\"https://psy-muip.ru/politika\" data-fpl-component=\"primitive\" target=\"_blank\" rel=\"noopener\"><span style=\"color:hsl(0,0%,18%);font-size:9px;\"><u>Политика&nbsp;в отношении обработки персональных данных</u></span></a><span style=\"color:hsl(0,0%,18%);font-size:9px;\"> | </span><a href=\"https://psy-muip.ru/custom\" data-fpl-component=\"primitive\" target=\"_blank\" rel=\"noopener\"><span style=\"color:hsl(0,0%,18%);font-size:9px;\"><u>Пользовательское соглашение</u></span></a><br><a href=\"https://psy-muip.ru/agreement\" data-fpl-component=\"primitive\" target=\"_blank\" rel=\"noopener\"><span style=\"color:hsl(0,0%,18%);font-size:9px;\"><u>Согласие на обработку персональных данных</u></span></a><span style=\"color:hsl(0,0%,18%);font-size:9px;\"> | </span><a href=\"https://psy-muip.ru/rassylka\" data-fpl-component=\"primitive\" target=\"_blank\" rel=\"noopener\"><span style=\"color:hsl(0,0%,18%);font-size:9px;\"><u>Согласие на рассылку материалов</u></span></a></p></div></div></div><div class='popup-area' data-type='close-container' style='position: absolute; top: 10px; left: 983px; 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: 36px; height: 36px; 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: rgba(255, 14, 14, 0);\"><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: absolute; top: 463px; left: 134px; margin-left: ; width: 259px; height: 45px; '><div class='popup-element' data-type='editor' data-element-id='637392' style='padding-top: 0px;padding-right: 0px;padding-bottom: 0px;padding-left: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;' data-p-margin-bottom='20px' data-p-line-height='120%'><style>#SGpopup1811 .popup-element[data-element-id='637392'][data-type='editor'] p {margin-bottom: 20px}#SGpopup1811 .popup-element[data-element-id='637392'][data-type='editor'] * {line-height: 120%}</style><div class='popupElement-content'><p><span style=\"color:hsl(0, 0%, 0%);font-size:32px;\"><span class='SGpopup1811timer'></span></span></p></div></div></div><input type='hidden' name='popupID' value='1811'><input type='hidden' name='projectID' value='453'><input type='hidden' name='custom_utm_source'><input type='hidden' name='custom_utm_medium'><input type='hidden' name='custom_utm_campaign'><input type='hidden' name='custom_utm_content'><input type='hidden' name='custom_utm_term'></noindex>";
13410								
13411												closeButton = false;
13412										
13413											} else {
13414								
13415												html = "<noindex id='SGpopup1811' class='popup-wrapper grid-hidden'><div class='popup-area' data-type='area-container' style='position: relative; top: 191px; left: 4px; margin-left: ; width: 344.867px; height: 221px; '><div class='popup-element' data-type='editor' data-element-id='157208' style='padding-top: 0px;padding-right: 0px;padding-bottom: 0px;padding-left: 0px;margin-top: 2px;margin-right: 0px;margin-bottom: 8px;margin-left: 0px;' data-p-margin-bottom='20px' data-p-line-height='120%'><style>#SGpopup1811 .popup-element[data-element-id='157208'][data-type='editor'] p {margin-bottom: 20px}#SGpopup1811 .popup-element[data-element-id='157208'][data-type='editor'] * {line-height: 120%}</style><div class='popupElement-content'><p><span style=\"color:hsl(0,0%,0%);font-size:12px;\">Введите ваши данные для бронирования гранта:</span></p></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=\"Ваш e-mail, например: [email protected]\" data-name=\"Почта\" data-mask=\"email\" required=\"\" style=\"background-color: rgb(255, 255, 255); border-color: rgb(227, 227, 227); font-size: 17px; color: rgb(104, 104, 104); padding: 5px 5px 5px 9px; border-radius: 8px;\"></div></div><div class='popup-element' data-type='input' style='margin-top: 0px;margin-right: 0px;margin-bottom: 2px;margin-left: 0px;'><div class='popupElement-content'><input type=\"text\" placeholder=\"+7 (___) ___ - __ - __\" data-name=\"Телефон\" data-mask=\"phone_intl\" required=\"\" style=\"background-color: rgb(255, 255, 255); border-color: rgb(225, 225, 226); font-size: 17px; color: rgb(120, 120, 120); padding: 5px; border-radius: 8px;\"></div></div><div class='popup-element' data-type='button-submit' style='margin-top: 2px;margin-right: 0px;margin-bottom: 2px;margin-left: 0px;'><div class='popupElement-content'><button type=\"submit\" style=\"background-color: rgb(190, 27, 50); color: rgb(0, 0, 0); font-size: 19px; border-radius: 8px; padding: 15px 14px;\" onclick=\"\"><div class=\"buttonSubmit-content\"><p><span style=\"color:hsl(0,0%,100%);font-size:18px;\">Забрать грант</span></p></div></button></div></div><div class='popup-element' data-type='agree' data-element-id='368425' data-fill='#9e9e9eff' data-mode='default' data-mode='default' style='margin-top: 0px;margin-right: 0px;margin-bottom: 4px;margin-left: 0px;'><style>#SGpopup1811 .popup-element[data-element-id='368425'][data-type='agree'] .popupElement-content input[type='checkbox'] + label:before {border-color: #9e9e9eff;} #SGpopup1811 .popup-element[data-element-id='368425'][data-type='agree'] .popupElement-content input[type='checkbox'] + label:after {background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHhtbG5zOnhsaW5rPSdodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rJyB2ZXJzaW9uPScxLjEnIHg9JzBweCcgeT0nMHB4JyB3aWR0aD0nNTEycHgnIGhlaWdodD0nNTEycHgnIHZpZXdCb3g9JzAgMCA0NDIuNTMzIDQ0Mi41MzMnIHN0eWxlPSdlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDQ0Mi41MzMgNDQyLjUzMycgeG1sOnNwYWNlPSdwcmVzZXJ2ZSc+PHBhdGggZD0nTTQzNC41MzksOTguNDk5bC0zOC44MjgtMzguODI4Yy01LjMyNC01LjMyOC0xMS43OTktNy45OTMtMTkuNDEtNy45OTNjLTcuNjE4LDAtMTQuMDkzLDIuNjY1LTE5LjQxNyw3Ljk5M0wxNjkuNTksMjQ3LjI0OCBsLTgzLjkzOS04NC4yMjVjLTUuMzMtNS4zMy0xMS44MDEtNy45OTItMTkuNDEyLTcuOTkyYy03LjYxNiwwLTE0LjA4NywyLjY2Mi0xOS40MTcsNy45OTJMNy45OTQsMjAxLjg1MiAgIEMyLjY2NCwyMDcuMTgxLDAsMjEzLjY1NCwwLDIyMS4yNjljMCw3LjYwOSwyLjY2NCwxNC4wODgsNy45OTQsMTkuNDE2bDEwMy4zNTEsMTAzLjM0OWwzOC44MzEsMzguODI4IGM1LjMyNyw1LjMzMiwxMS44LDcuOTk0LDE5LjQxNCw3Ljk5NGM3LjYxMSwwLDE0LjA4NC0yLjY2OSwxOS40MTQtNy45OTRsMzguODMtMzguODI4TDQzNC41MzksMTM3LjMzIGM1LjMyNS01LjMzLDcuOTk0LTExLjgwMiw3Ljk5NC0xOS40MTdDNDQyLjUzNywxMTAuMzAyLDQzOS44NjQsMTAzLjgyOSw0MzQuNTM5LDk4LjQ5OXonIGZpbGw9JyM5ZTllOWVmZicvPjwvc3ZnPg==);}</style><div class='popupElement-content'><input type=\"checkbox\" checked=\"\" required=\"\" tabindex=\"-1\" data-orig-tabindex=\"-1\"><label><p><span style=\"color:hsl(0,0%,18%);
13415font-size:7px;\">Я согласен на обработку моих персональных данных. 
С&nbsp;</span><a href=\"https://psy-muip.ru/agreement\" data-fpl-component=\"primitive\" target=\"_blank\" rel=\"noopener\"><span style=\"color:hsl(0,0%,18%);font-size:7px;\"><u>Политикой обработки персональных данных</u></span></a><span style=\"color:hsl(0,0%,18%);font-size:7px;\">&nbsp;ознакомлен</span></p></label></div></div><div class='popup-element' data-type='editor' data-element-id='399683' style='padding-top: 0px;padding-right: 0px;padding-bottom: 0px;padding-left: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;' data-p-margin-bottom='13px' data-p-line-height='80%'><style>#SGpopup1811 .popup-element[data-element-id='399683'][data-type='editor'] p {margin-bottom: 13px}#SGpopup1811 .popup-element[data-element-id='399683'][data-type='editor'] * {line-height: 80%}</style><div class='popupElement-content'><p><a href=\"https://psy-muip.ru/politika\" data-fpl-component=\"primitive\" target=\"_blank\" rel=\"noopener\"><span style=\"color:hsl(0,0%,18%);font-size:7px;\"><u>Политика&nbsp;в отношении обработки персональных данных</u></span></a><span style=\"color:hsl(0,0%,18%);font-size:7px;\"> | </span><a href=\"https://psy-muip.ru/custom\" data-fpl-component=\"primitive\" target=\"_blank\" rel=\"noopener\"><span style=\"color:hsl(0,0%,18%);font-size:7px;\"><u>Пользовательское соглашение</u></span></a><br><a href=\"https://psy-muip.ru/agreement\" data-fpl-component=\"primitive\" target=\"_blank\" rel=\"noopener\"><span style=\"color:hsl(0,0%,18%);font-size:7px;\"><u>Согласие на обработку персональных данных</u></span></a><span style=\"color:hsl(0,0%,18%);font-size:7px;\"> | </span><a href=\"https://psy-muip.ru/rassylka\" data-fpl-component=\"primitive\" target=\"_blank\" rel=\"noopener\"><span style=\"color:hsl(0,0%,18%);font-size:7px;\"><u>Согласие на рассылку материалов</u></span></a></p></div></div></div><div class='popup-area' data-type='close-container' style='position: absolute; top: -40px; left: 375px; margin-left: -40px; width: 40px; height: 40px; '><div class='popup-element' data-type='button-close' style=''><div class='popupElement-content'></div></div></div><div class='popup-area' data-type='area-container' style='position: absolute; top: 595px; left: 19.5px; margin-left: ; width: 175px; height: 31px; '><div class='popup-element' data-type='editor' data-element-id='285757' style='padding-top: 0px;padding-right: 0px;padding-bottom: 0px;padding-left: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;' data-p-margin-bottom='20px' data-p-line-height='120%'><style>#SGpopup1811 .popup-element[data-element-id='285757'][data-type='editor'] p {margin-bottom: 20px}#SGpopup1811 .popup-element[data-element-id='285757'][data-type='editor'] * {line-height: 120%}</style><div class='popupElement-content'><p><span style=\"color:hsl(0,0%,0%);font-size:24px;\"><span class='SGpopup1811timer'></span></span></p></div></div></div><input type='hidden' name='popupID' value='1811'><input type='hidden' name='projectID' value='453'><input type='hidden' name='custom_utm_source'><input type='hidden' name='custom_utm_medium'><input type='hidden' name='custom_utm_campaign'><input type='hidden' name='custom_utm_content'><input type='hidden' name='custom_utm_term'></noindex>";
13416								
13417												closeButton = true;
13418										
13419											}
13420								
13421											dateFrom = 1773187200 * 1000;
13422											if(dateFrom < Date.now()) {
13423												do {
13424													dateFrom += 5 * 24 * 60 * 60 * 1000;
13425												} while (dateFrom < Date.now());
13426											}
13427
13428											for (const match of html.matchAll(/{date((\+|\-)([0-9]*))?}/g)) {
13429												dateTo = dateFrom;
13430												if(typeof match[1] != 'undefined') {
13431													dateTo += match[1] * 24 * 60 * 60 * 1000;
13432												}
13433												dateTo = new Date(dateTo);
13434
13435												formatDate = '{day} {month} ';
13436												if(formatDate.indexOf('{day}') != -1) {
13437													day = dateTo.getDate();
13438													if("number_full" == "number_full") {
13439														if(day < 10) {
13440															day = '0' + day;
13441														}
13442													}
13443													formatDate = formatDate.replace('{day}', day);
13444												}
13445
13446												if(formatDate.indexOf('{month}') != -1) {
13447													month = dateTo.getMonth() + 1;
13448													if("text_genitive" == "number_full") {
13449														if(month < 10) {
13450															month = '0' + month;
13451														}
13452													} else if("text_genitive" == "text_nominative") {
13453														let months = {
13454															1: 'январь',
13455															2: 'февраль',
13456															3: 'март',
13457															4: 'апрель',
13458															5: 'май',
13459															6: 'июнь',
13460															7: 'июль',
13461															8: 'август',
13462															9: 'сентябрь',
13463															10: 'октябрь',
13464															11: 'ноябрь',
13465															12: 'декабрь'
13466														};
13467														month = months[month];
13468													} else if("text_genitive" == "text_genitive") {
13469														let months = {
13470															1: 'января',
13471															2: 'февраля',
13472															3: 'марта',
13473															4: 'апреля',
13474															5: 'мая',
13475															6: 'июня',
13476															7: 'июля',
13477															8: 'августа',
13478															9: 'сентября',
13479															10: 'октября',
13480															11: 'ноября',
13481															12: 'декабря'
13482														};
13483														month = months[month];
13484													}
13485													formatDate = formatDate.replace('{month}', month);
13486												}
13487
13488												if(formatDate.indexOf('{year}') != -1) {
13489													year = dateTo.getFullYear();
13490													if("number_full" == "number_short") {
13491														year = year.toString().substr(-2);
13492													}
13493													formatDate = formatDate.replace('{year}', year);
13494												}
13495												html = html.replaceAll(match[0], formatDate);
13496											};
13497										
13498											Fancybox.close();
13499											new Fancybox([
13500												{
13501													src: html,
13502													type: 'html'
13503												}
13504											], {
13505												dragToClose: false,
13506												closeButton: closeButton,
13507												compact: false,
13508												autoFocus: false,
13509												trapFocus: false,
13510												on: {
13511													done: (fancybox, slide) => {
13512								
13513													sgPopup1811reachGoal("ym(93615077,'reachGoal','Popup_topbar_show');");
13514										
13515													const popup = document.querySelector("#SGpopup1811");
13516													if(popup) {
13517
13518														const url = new URL(location.href);
13519														window.utm_source = url.searchParams.get('utm_source');
13520														window.utm_medium = url.searchParams.get('utm_medium');
13521														window.utm_campaign = url.searchParams.get('utm_campaign');
13522														window.utm_term = url.searchParams.get('utm_term');
13523														window.utm_content = url.searchParams.get('utm_content');
13524
13525								
13526														const custom_utm_source = popup.querySelector('input[name="custom_utm_source"]');
13527														if(custom_utm_source && typeof 'site' != undefined) {
13528															custom_utm_source.value = 'site';
13529														}
13530											
13531														const custom_utm_medium = popup.querySelector('input[name="custom_utm_medium"]');
13532														if(custom_utm_medium && typeof 'seo' != undefined) {
13533															custom_utm_medium.value = 'seo';
13534														}
13535											
13536														const custom_utm_campaign = popup.querySelector('input[name="custom_utm_campaign"]');
13537														if(custom_utm_campaign && typeof 'genegator_TOT' != undefined) {
13538															custom_utm_campaign.value = 'genegator_TOT';
13539														}
13540											
13541														const custom_utm_content = popup.querySelector('input[name="custom_utm_content"]');
13542														if(custom_utm_content && typeof 'muip' != undefined) {
13543															custom_utm_content.value = 'muip';
13544														}
13545											
13546														const custom_utm_term = popup.querySelector('input[name="custom_utm_term"]');
13547														if(custom_utm_term && typeof 'popup' != undefined) {
13548															custom_utm_term.value = 'popup';
13549														}
13550											
13551														if(typeof formatTimer == 'undefined') {
13552															function formatTimer(seconds){
13553																let days = Math.floor(seconds / 24 / 60 / 60);
13554																seconds -= days * 24 * 60 * 60;
13555																let hours = Math.floor(seconds / 60 / 60);
13556																seconds -= hours * 60 * 60;
13557																let minutes = Math.floor(seconds / 60);
13558																seconds -= minutes * 60;
13559
13560																let timerFormattedSGpopup1811 = '{days} {hours}:{minutes}:{seconds}';
13561																if(timerFormattedSGpopup1811.indexOf('{days}') != -1) {
13562																	const daysBlocks = popup.querySelectorAll('.SGpopup1811timer-days');
13563																	if(daysBlocks) {
13564																		for(let daysBlock of daysBlocks) {
13565																			daysBlock.innerHTML = days;
13566																		}
13567																	}
13568
13569																	let tmp = days;
13570																	while (tmp > 10) {
13571																		tmp = tmp % 10;
13572																	}
13573
13574																	switch (tmp) {
13575																		case 0:
13576																			days = '';
13577																			break;
13578																		case 1:
13579																			days += ' день';
13580																			break;
13581																		case 2:
13582																		case 3:
13583																		case 4:
13584																			days += ' дня';
13585																			break;
13586																		default:
13587																			days += ' дней';
13588																			break;
13589																	}
13590
13591																	timerFormattedSGpopup1811 = timerFormattedSGpopup1811.replace('{days}', days);
13592																}
13593																if(timerFormattedSGpopup1811.indexOf('{hours}') != -1) {
13594																	if('number_short' == 'number_full' && hours < 10) {
13595																		hours = '0' + hours;
13596																	}
13597
13598																	const hoursBlocks = popup.querySelectorAll('.SGpopup1811timer-hours');
13599																	if(hoursBlocks) {
13600																		for(let hoursBlock of hoursBlocks) {
13601																			hoursBlock.innerHTML = hours;
13602																		}
13603																	}
13604
13605																	timerFormattedSGpopup1811 = timerFormattedSGpopup1811.replace('{hours}', hours);
13606																}
13607																if(timerFormattedSGpopup1811.indexOf('{minutes}') != -1) {
13608																	if('number_full' == 'number_full' && minutes < 10) {
13609																		minutes = '0' + minutes;
13610																	}
13611
13612																	const minutesBlocks = popup.querySelectorAll('.SGpopup1811timer-minutes');
13613																	if(minutesBlocks) {
13614																		for(let minutesBlock of minutesBlocks) {
13615																			minutesBlock.innerHTML = minutes;
13616																		}
13617																	}
13618
13619																	timerFormattedSGpopup1811 = timerFormattedSGpopup1811.replace('{minutes}', minutes);
13620																}
13621																if(timerFormattedSGpopup1811.indexOf('{seconds}') != -1) {
13622																	if('number_full' == 'number_full' && seconds < 10) {
13623																		seconds = '0' + seconds;
13624																	}
13625
13626																	const secondsBlocks = popup.querySelectorAll('.SGpopup1811timer-seconds');
13627																	if(secondsBlocks) {
13628																		for(let secondsBlock of secondsBlocks) {
13629																			secondsBlock.innerHTML = seconds;
13630																		}
13631																	}
13632
13633																	timerFormattedSGpopup1811 = timerFormattedSGpopup1811.replace('{seconds}', seconds);
13634																}
13635
13636																const timerBlocks = popup.querySelectorAll('.SGpopup1811timer');
13637																if(timerBlocks) {
13638																	for(let timerBlock of timerBlocks) {
13639																		timerBlock.innerHTML = timerFormattedSGpopup1811
13640																	}
13641																}
13642
13643															}
13644														}
13645									
13646														clearInterval(timerIntervalSGpopup1811);
13647														formatTimer(timerToSGpopup1811);
13648														timerIntervalSGpopup1811 = setInterval(function(){
13649															if(timerToSGpopup1811 <= 0) {
13650																clearInterval(timerIntervalSGpopup1811);
13651															} else {
13652																timerToSGpopup1811 -= 1;
13653																formatTimer(timerToSGpopup1811);
13654															}
13655														}, 1000);
13656										
13657														openerLinks = popup.querySelectorAll('a[data-target]');
13658														if(openerLinks) {
13659															for(let openerLink of openerLinks) {
13660																openerLink.addEventListener('click', function(){
13661																	if(openerLink.dataset.target) {
13662																		if(typeof window[openerLink.dataset.target] == 'function') {
13663																			Fancybox.close();
13664																			window[openerLink.dataset.target]('open');
13665																		}
13666																	}
13667																});
13668															}
13669														}
13670
13671														linkImages = popup.querySelectorAll('.image-wrapper[data-type="link"]');
13672														if(linkImages) {
13673															for(let linkImage of linkImages) {
13674																linkImage.addEventListener('click', function(){
13675																	if(linkImage.dataset.link) {
13676																		if(linkImage.dataset.target == '_blank') {
13677																			window.open(linkImage.dataset.link);
13678																		} else {
13679																			location.href = linkImage.dataset.link
13680																		}
13681																	}
13682																});
13683															}
13684														}
13685
13686														openerImages = popup.querySelectorAll('.image-wrapper[data-type="opener"]');
13687														if(openerImages) {
13688															for(let openerImage of openerImages) {
13689																openerImage.addEventListener('click', function(){
13690																	if(openerImage.dataset.popup) {
13691																		if(typeof window['sgPopup' + openerImage.dataset.popup] == 'function') {
13692																			Fancybox.close();
13693																			window['sgPopup' + openerImage.dataset.popup]('forceOpen');
13694																		}
13695																	}
13696																});
13697															}
13698														}
13699
13700														submitImages = popup.querySelectorAll('.image-wrapper[data-type="submitter"]');
13701														if(submitImages) {
13702															for(let submitImage of submitImages) {
13703																submitImage.addEventListener('click', function(){
13704
13705																	if(submitImage.classList.contains('disabled')) return false;
13706
13707																	submitImage.classList.add('disabled');
13708
13709																	sgPopup1811submit(function(result){
13710																		submitImage.classList.toggle('disabled', result);
13711																	});
13712
13713																});
13714															}
13715														}
13716
13717														const linkButtons = popup.querySelectorAll('button[data-type="link"]');
13718														if(linkButtons) {
13719															for(let linkButton of linkButtons) {
13720																linkButton.addEventListener('click', function(){
13721																	if(linkButton.dataset.link && linkButton.dataset.link != '#') {
13722								
13723																		if(linkButton.dataset.target == '_blank') {
13724																			window.open(linkButton.dataset.link);
13725																		} else {
13726																			location.href = linkButton.dataset.link
13727																		}
13728																	}
13729																});
13730															}
13731														}
13732
13733														openerButtons = popup.querySelectorAll('button[data-type="opener"]');
13734														if(openerButtons) {
13735															for(let openerButton of openerButtons) {
13736																openerButton.addEventListener('click', function(){
13737									
13738																	if(openerButton.dataset.popup) {
13739																		if(typeof window['sgPopup' + openerButton.dataset.popup] == 'function') {
13740																			Fancybox.close();
13741																			window['sgPopup' + openerButton.dataset.popup]('forceOpen');
13742																		}
13743																	}
13744																});
13745															}
13746														}
13747
13748														const maskedFields = popup.querySelectorAll('input[data-mask]');
13749														if(maskedFields) {
13750															for(let maskedField of maskedFields) {
13751																if(maskedField.dataset.mask == 'phone') {
13752																	Inputmask('+7 (999) 999-99-99', {
13753																		clearIncomplete: true,
13754																		greedy: false
13755																	}).mask(maskedField);
13756								
13757																} else if(maskedField.dataset.mask == 'phone_intl') {
13758																	maskedField.removeAttribute('placeholder');
13759																	phoneIntl = window.intlTelInput(maskedField, {
13760																		initialCountry: 'ru',
13761																		separateDialCode: true,
13762																		strictMode: true,
13763																		formatOnDisplay: true,
13764																		useFullscreenPopup: false,
13765																		i18n: {
13766																			searchPlaceholder: 'Поиск',
13767																			ad: 'Андорра',
13768																			ae: 'ОАЭ',
13769																			af: 'Афганистан',
13770																			ag: 'Антигуа и Барбуда',
13771																			ai: 'Ангилья',
13772																			al: 'Албания',
13773																			am: 'Армения',
13774																			ao: 'Ангола',
13775																			ar: 'Аргентина',
13776																			as: 'Американское Самоа',
13777																			at: 'Австрия',
13778																			au: 'Австралия',
13779																			aw: 'Аруба',
13780																			ax: 'Аландские о-ва',
13781																			az: 'Азербайджан',
13782																			ba: 'Босния и Герцеговина',
13783																			bb: 'Барбадос',
13784																			bd: 'Бангладеш',
13785																			be: 'Бельгия',
13786																			bf: 'Буркина-Фасо',
13787																			bg: 'Болгария',
13788																			bh: 'Бахрейн',
13789																			bi: 'Бурунди',
13790																			bj: 'Бенин',
13791																			bl: 'Сен-Бартелеми',
13792																			bm: 'Бермудские о-ва',
13793																			bn: 'Бруней-Даруссалам',
13794																			bo: 'Боливия',
13795																			bq: 'Бонэйр, Синт-Эстатиус и Саба',
13796																			br: 'Бразилия',
13797																			bs: 'Багамы',
13798																			bt: 'Бутан',
13799																			bw: 'Ботсвана',
13800																			by: 'Беларусь',
13801																			bz: 'Белиз',
13802																			ca: 'Канада',
13803																			cc: 'Кокосовые о-ва',
13804																			cd: 'Конго - Киншаса',
13805																			cf: 'Центрально-Африканская Республика',
13806																			cg: 'Конго - Браззавиль',
13807																			ch: 'Швейцария',
13808																			ci: 'Кот-д’Ивуар',
13809																			ck: 'Острова Кука',
13810																			cl: 'Чили',
13811																			cm: 'Камерун',
13812																			cn: 'Китай',
13813																			co: 'Колумбия',
13814																			cr: 'Коста-Рика',
13815																			cu: 'Куба',
13816																			cv: 'Кабо-Верде',
13817																			cw: 'Кюрасао',
13818																			cx: 'о-в Рождества',
13819																			cy: 'Кипр',
13820																			cz: 'Чехия',
13821																			de: 'Германия',
13822																			dj: 'Джибути',
13823																			dk: 'Дания',
13824																			dm: 'Доминика',
13825																			do: 'Доминиканская Республика',
13826																			dz: 'Алжир',
13827																			ec: 'Эквадор',
13828																			ee: 'Эстония',
13829																			eg: 'Египет',
13830																			eh: 'Западная Сахара',
13831																			er: 'Эритрея',
13832																			es: 'Испания',
13833																			et: 'Эфиопия',
13834																			fi: 'Финляндия',
13835																			fj: 'Фиджи',
13836																			fk: 'Фолклендские о-ва',
13837																			fm: 'Федеративные Штаты Микронезии',
13838																			fo: 'Фарерские о-ва',
13839																			fr: 'Франция',
13840																			ga: 'Габон',
13841																			gb: 'Великобритания',
13842																			gd: 'Гренада',
13843																			ge: 'Грузия',
13844																			gf: 'Французская Гвиана',
13845																			gg: 'Гернси',
13846																			gh: 'Гана',
13847																			gi: 'Гибралтар',
13848																			gl: 'Гренландия',
13849																			gm: 'Гамбия',
13850																			gn: 'Гвинея',
13851																			gp: 'Гваделупа',
13852																			gq: 'Экваториальная Гвинея',
13853																			gr: 'Греция',
13854																			gt: 'Гватемала',
13855																			gu: 'Гуам',
13856																			gw: 'Гвинея-Бисау',
13857																			gy: 'Гайана',
13858																			hk: 'Гонконг (САР)',
13859																			hn: 'Гондурас',
13860																			hr: 'Хорватия',
13861																			ht: 'Гаити',
13862																			hu: 'Венгрия',
13863																			id: 'Индонезия',
13864																			ie: 'Ирландия',
13865																			il: 'Израиль',
13866																			im: 'о-в Мэн',
13867																			in: 'Индия',
13868																			io: 'Британская территория в Индийском океане',
13869																			iq: 'Ирак',
13870																			ir: 'Иран',
13871																			is: 'Исландия',
13872																			it: 'Италия',
13873																			je: 'Джерси',
13874																			jm: 'Ямайка',
13875																			jo: 'Иордания',
13876																			jp: 'Япония',
13877																			ke: 'Кения',
13878																			kg: 'Киргизия',
13879																			kh: 'Камбоджа',
13880																			ki: 'Кирибати',
13881																			km: 'Коморы',
13882																			kn: 'Сент-Китс и Невис',
13883																			kp: 'КНДР',
13884																			kr: 'Республика Корея',
13885																			kw: 'Кувейт',
13886																			ky: 'Острова Кайман',
13887																			kz: 'Казахстан',
13888																			la: 'Лаос',
13889																			lb: 'Ливан',
13890																			lc: 'Сент-Люсия',
13891																			li: 'Лихтенштейн',
13892																			lk: 'Шри-Ланка',
13893																			lr: 'Либерия',
13894																			ls: 'Лесото',
13895																			lt: 'Литва',
13896																			lu: 'Люксембург',
13897																			lv: 'Латвия',
13898																			ly: 'Ливия',
13899																			ma: 'Марокко',
13900																			mc: 'Монако',
13901																			md: 'Молдова',
13902																			me: 'Черногория',
13903																			mf: 'Сен-Мартен',
13904																			mg: 'Мадагаскар',
13905																			mh: 'Маршалловы Острова',
13906																			mk: 'Северная Македония',
13907																			ml: 'Мали',
13908																			mm: 'Мьянма (Бирма)',
13909																			mn: 'Монголия',
13910																			mo: 'Макао (САР)',
13911																			mp: 'Северные Марианские о-ва',
13912																			mq: 'Мартиника',
13913																			mr: 'Мавритания',
13914																			ms: 'Монтсеррат',
13915																			mt: 'Мальта',
13916																			mu: 'Маврикий',
13917																			mv: 'Мальдивы',
13918																			mw: 'Малави',
13919																			mx: 'Мексика',
13920																			my: 'Малайзия',
13921																			mz: 'Мозамбик',
13922																			na: 'Намибия',
13923																			nc: 'Новая Каледония',
13924																			ne: 'Нигер',
13925																			nf: 'о-в Норфолк',
13926																			ng: 'Нигерия',
13927																			ni: 'Никарагуа',
13928																			nl: 'Нидерланды',
13929																			no: 'Норвегия',
13930																			np: 'Непал',
13931																			nr: 'Науру',
13932																			nu: 'Ниуэ',
13933																			nz: 'Новая Зеландия',
13934																			om: 'Оман',
13935																			pa: 'Панама',
13936																			pe: 'Перу',
13937																			pf: 'Французская Полинезия',
13938																			pg: 'Папуа — Новая Гвинея',
13939																			ph: 'Филиппины',
13940																			pk: 'Пакистан',
13941																			pl: 'Польша',
13942																			pm: 'Сен-Пьер и Микелон',
13943																			pr: 'Пуэрто-Рико',
13944																			ps: 'Палестинские территории',
13945																			pt: 'Португалия',
13946																			pw: 'Палау',
13947																			py: 'Парагвай',
13948																			qa: 'Катар',
13949																			re: 'Реюньон',
13950																			ro: 'Румыния',
13951																			rs: 'Сербия',
13952																			ru: 'Россия',
13953																			rw: 'Руанда',
13954																			sa: 'Саудовская Аравия',
13955																			sb: 'Соломоновы Острова',
13956																			sc: 'Сейшельские Острова',
13957																			sd: 'Судан',
13958																			se: 'Швеция',
13959																			sg: 'Сингапур',
13960																			sh: 'о-в Св. Елены',
13961																			si: 'Словения',
13962																			sj: 'Шпицберген и Ян-Майен',
13963																			sk: 'Словакия',
13964																			sl: 'Сьерра-Леоне',
13965																			sm: 'Сан-Марино',
13966																			sn: 'Сенегал',
13967																			so: 'Сомали',
13968																			sr: 'Суринам',
13969																			ss: 'Южный Судан',
13970																			st: 'Сан-Томе и Принсипи',
13971																			sv: 'Сальвадор',
13972																			sx: 'Синт-Мартен',
13973																			sy: 'Сирия',
13974																			sz: 'Эсватини',
13975																			tc: 'о-ва Тёркс и Кайкос',
13976																			td: 'Чад',
13977																			tg: 'Того',
13978																			th: 'Таиланд',
13979																			tj: 'Таджикистан',
13980																			tk: 'Токелау',
13981																			tl: 'Восточный Тимор',
13982																			tm: 'Туркменистан',
13983																			tn: 'Тунис',
13984																			to: 'Тонга',
13985																			tr: 'Турция',
13986																			tt: 'Тринидад и Тобаго',
13987																			tv: 'Тувалу',
13988																			tw: 'Тайвань',
13989																			tz: 'Танзания',
13990																			ua: 'Украина',
13991																			ug: 'Уганда',
13992																			us: 'Соединенные Штаты',
13993																			uy: 'Уругвай',
13994																			uz: 'Узбекистан',
13995																			va: 'Ватикан',
13996																			vc: 'Сент-Винсент и Гренадины',
13997																			ve: 'Венесуэла',
13998																			vg: 'Виргинские о-ва (Великобритания)',
13999																			vi: 'Виргинские о-ва (США)',
14000																			vn: 'Вьетнам',
14001																			vu: 'Вануату',
14002																			wf: 'Уоллис и Футуна',
14003																			ws: 'Самоа',
14004																			ye: 'Йемен',
14005																			yt: 'Майотта',
14006																			za: 'Южно-Африканская Республика',
14007																			zm: 'Замбия',
14008																			zw: 'Зимбабве',
14009																			ac: 'Остров Вознесения',
14010																			xk: 'Косово'
14011																		}
14012																	});
14013																	window.sgPopup.elements.intl = phoneIntl;
14014									
14015																} else if(maskedField.dataset.mask == 'email') {
14016																	Inputmask({
14017																	alias: 'email',
14018																		clearIncomplete: true,
14019																		greedy: false
14020																	}).mask(maskedField);
14021																}
14022															}
14023														}
14024
14025														const fileInputs = popup.querySelectorAll('.popup-element[data-type="input-file"] input[type="file"]');
14026														if(fileInputs) {
14027															for(let fileInput of fileInputs) {
14028																let label = fileInput.nextElementSibling;
14029																if(label) {
14030																	fileInput.addEventListener('change', function() {
14031																		if (fileInput.files && fileInput.files.length > 0) {
14032																			const maxSize = fileInput.dataset.limit;
14033																			if(fileInput.files[0].size <= maxSize * 1024 * 1024) {
14034																				reader = new FileReader();
14035																				reader.onload = function(){
14036																					const span = label.querySelector('span');
14037																					if(span) {
14038																						span.innerHTML = fileInput.files[0].name;
14039																					}
14040																					fileInput.dataset.content = reader.result;
14041																				};
14042																				reader.readAsDataURL(fileInput.files[0]);
14043																			} else {
14044																				alert('Превышен максимальный размер файла - '+ maxSize +'мб');
14045																			}
14046																		}
14047																	});
14048																	label.addEventListener('click', function(event){
14049																		event.preventDefault();
14050																		fileInput.click();
14051																	});
14052																}
14053															}
14054														}
14055
14056														const agrees = popup.querySelectorAll('.popup-element[data-type="agree"] input[type="checkbox"]');
14057														if(agrees) {
14058															for(let agree of agrees) {
14059																let parent = agree.closest('.popup-element');
14060																if(parent) {
14061																	let label = agree.nextElementSibling;
14062																	if(label) {
14063																		label.addEventListener('click', function(event){
14064																			event.preventDefault();
14065																			agree.checked = !agree.checked;
14066
14067
14068																			if(parent.dataset.mode == 'general') {
14069																				const agreeAll = agree;
14070																				for(let agree of agrees) {
14071																					agree.checked = agreeAll.checked;
14072																				}
14073																			}
14074
14075																			let agreeCount = 0;
14076																			let agreeSelected = 0;
14077																			for(let agree of agrees) {
14078																				const parent = agree.closest('.popup-element');
14079																				if(parent && parent.dataset.mode != 'general') {
14080																					agreeCount++;
14081																					if(agree.checked) {
14082																						agreeSelected++;
14083																					}
14084																				}
14085																			}
14086
14087																			const general = popup.querySelector('.popup-element[data-type="agree"][data-mode="general"]');
14088																			if(general) {
14089																				general.classList.toggle('all-selected', agreeSelected == agreeCount);
14090																				general.classList.toggle('no-selected', agreeSelected == 0);
14091																				general.classList.toggle('some-selected', agreeSelected > 0 && agreeSelected < agreeCount);
14092
14093																				const checkbox = general.querySelector('input[type="checkbox"]');
14094																				if(checkbox) {
14095																					if(agreeSelected == agreeCount) {
14096																						checkbox.checked = true;
14097																					} else {
14098																						checkbox.checked = false;
14099																					}
14100																				}
14101																			}
14102																		});
14103																		const links = label.querySelectorAll('a');
14104																		if(links) {
14105																			for(let link of links) {
14106																				link.addEventListener('click', function(event){
14107																					event.stopPropagation()
14108																				});
14109																			}
14110																		}
14111																	}
14112																}
14113															}
14114														}
14115
14116														const wheel = popup.querySelector('.popup-element[data-type="wheel"]');
14117														let wheelInterval;
14118														let wheelAngle = 0;
14119														if(wheel){
14120															const circle = popup.querySelector('.wheel-circle img');
14121															if(circle) {
14122																wheelInterval = setInterval(function(){
14123																	wheelAngle += 0.2;
14124																	if(wheelAngle > 360) {
14125																		wheelAngle -= 360;
14126																	}
14127																	circle.setAttribute('style', 'transform: rotate('+ wheelAngle +'deg)');
14128																}, 40);
14129															}
14130														}
14131
14132														const closeTriggers = popup.querySelectorAll('.popup-element[data-type="button-close"] button:not([data-fancybox-close])');
14133														if(closeTriggers) {
14134															for(let closeTrigger of closeTriggers) {
14135																closeTrigger.addEventListener('click', function(){
14136																	Fancybox.close();
14137																})
14138															}
14139														}
14140
14141														function sgPopup1811submit(callback = false) {
14142
14143															let hasError = false;
14144															const requiredInputs = popup.querySelectorAll('input[data-name][required]');
14145															if(requiredInputs) {
14146																for(let requiredInput of requiredInputs) {
14147																	if(requiredInput.dataset.mask) {
14148																		if(requiredInput.dataset.mask == 'phone') {
14149																			if(!Inputmask.isValid(requiredInput.value, { mask: '+7 (999) 999-99-99'})) {
14150																				requiredInput.classList.add('error');
14151																				hasError = true;
14152																			} else {
14153																				requiredInput.classList.remove('error');
14154																			}
14155																		} else if(requiredInput.dataset.mask == 'phone_intl' && typeof window.sgPopup.elements.intl != 'undefined') {
14156																			intl = window.sgPopup.elements.intl;
14157																			if(!intl.isValidNumberPrecise()) {
14158																				requiredInput.classList.add('error');
14159																				hasError = true;
14160																			} else {
14161																				requiredInput.classList.remove('error');
14162																			}
14163																		} else if(requiredInput.dataset.mask == 'email') {
14164																			if(!Inputmask.isValid(requiredInput.value, {alias: 'email'})) {
14165																				requiredInput.classList.add('error');
14166																				hasError = true;
14167																			} else {
14168																				requiredInput.classList.remove('error');
14169																			}
14170																		}
14171																	} else {
14172																		if(requiredInput.value == '') {
14173																			requiredInput.classList.add('error');
14174																			hasError = true;
14175																		} else {
14176																			requiredInput.classList.remove('error');
14177																		}
14178																	}
14179																}
14180															}
14181								
14182															const requiredTextareas = popup.querySelectorAll('textarea[data-name][required]');
14183															if(requiredTextareas) {
14184																for(let requiredTextarea of requiredTextareas) {
14185																	if(requiredTextarea.value == '') {
14186																		requiredTextarea.classList.add('error');
14187																		hasError = true;
14188																	} else {
14189																		requiredTextarea.classList.remove('error');
14190																	}
14191																}
14192															}
14193
14194															const requiredSelects = popup.querySelectorAll('select[data-name][required]');
14195															if(requiredSelects) {
14196																for(let requiredSelect of requiredSelects) {
14197																	const niceSelect = requiredSelect.nextElementSibling;
14198																	if(niceSelect) {
14199																		if(niceSelect.querySelector('.option.selected')) {
14200																			niceSelect.classList.remove('error')
14201																		} else {
14202																			niceSelect.classList.add('error');
14203																			hasError = true
14204																		}
14205																	}
14206																}
14207															}
14208
14209															if(agrees) {
14210																for(let agree of agrees) {
14211																	if(agree.required) {
14212																		let label = agree.nextElementSibling;
14213																		if(agree.checked) {
14214																			label.classList.remove('error');
14215																		} else {
14216																			label.classList.add('error');
14217																			hasError = true;
14218																		}
14219																	}
14220																}
14221															}
14222
14223															if(hasError) {
14224																if (callback && typeof callback === 'function') {
14225																	callback(false);
14226																}
14227																return false;
14228															}
14229
14230															function sgPopup1811sendRequest() {
14231
14232								
14233																let data = {
14234																	fields: [],
14235																	cookie: document.cookie,
14236																	markers: markers,
14237																	source: location.href
14238																};
14239								
14240																const inputs = popup.querySelectorAll('input[data-name]');
14241																if(inputs) {
14242																	for(let input of inputs) {
14243																		if(input.dataset.mask == 'phone_intl' && typeof window.sgPopup.elements.intl != 'undefined') {
14244																			intl = window.sgPopup.elements.intl;
14245																			data.fields.push({
14246																				name: input.dataset.name,
14247																				value: intl.getNumber()
14248																			});
14249																		} else {
14250																			data.fields.push({
14251																				name: input.dataset.name,
14252																				value: input.value
14253																			});
14254																		}
14255																	}
14256																}
14257
14258																const textareas = popup.querySelectorAll('textarea[data-name]');
14259																if(textareas) {
14260																	for(let textarea of textareas) {
14261																		data.fields.push({
14262																			name: textarea.dataset.name,
14263																			value: textarea.value
14264																		});
14265																	}
14266																}
14267
14268																if(typeof selects != 'undefined') {
14269																	for(let select of selects) {
14270																		data.fields.push({
14271																			name: select.dataset.name,
14272																			value: select.value
14273																		});
14274																	}
14275																}
14276
14277																const hiddenInputs = popup.querySelectorAll('input[type="hidden"]');
14278																for(let hiddenInput of hiddenInputs) {
14279																	const name = hiddenInput.name;
14280																	data[hiddenInput.name] = hiddenInput.value;
14281																}
14282
14283																const fileInputs = popup.querySelectorAll('.popup-element[data-type="input-file"] input[type="file"]');
14284																if(fileInputs) {
14285																	data.files = [];
14286																	for(let fileInput of fileInputs) {
14287																		if (fileInput.files && fileInput.files.length > 0) {
14288																			data.files.push({
14289																				'name': fileInput.files[0].name,
14290																				'content': fileInput.dataset.content
14291																			});
14292																		}
14293																	}
14294																}
14295
14296																if( wheel && typeof window.prize != 'undefined' ) {
14297																	data.fields.push(window.prize);
14298																}
14299								
14300
14301																var xmlhr = new XMLHttpRequest();
14302																xmlhr.open('POST', "https://psy-muip.ru/wp-json/generator.conversion/v1/actions/?_method=POST&action=formSubmit");
14303																xmlhr.send(JSON.stringify(data));
14304
14305																xmlhr.onreadystatechange = function() {
14306																	if (xmlhr.readyState === 4 && xmlhr.status === 200) {
14307																		console.log(xmlhr.response);
14308																		const response = JSON.parse(xmlhr.response);
14309																		console.log(response);
14310								
14311																	}
14312																};
14313								
14314																sgPopup1811reachGoal("ym(93615077,'reachGoal','Popup_topbar_send');");
14315											
14316																sgSuccessPopup1811();
14317										
14318																return true;
14319
14320															}
14321
14322															if(wheel){
14323																const circle = popup.querySelector('.wheel-circle img');
14324																if(circle) {
14325																	clearInterval(wheelInterval);
14326								
14327																	}
14328
14329																} else {
14330																	const result = sgPopup1811sendRequest();
14331																	if (callback && typeof callback === 'function') {
14332																		callback(result);
14333																	}
14334																}
14335
14336															}
14337
14338															areaLinks = popup.querySelectorAll('.popup-area[data-type="area-link"]');
14339															if(areaLinks) {
14340																for(let areaLink of areaLinks) {
14341																	areaLink.addEventListener('click', function(){
14342																		if(areaLink.dataset.link && areaLink.dataset.link != '#') {
14343																			if(areaLink.dataset.target == '_blank') {
14344																				window.open(areaLink.dataset.link);
14345																			} else {
14346																				location.href = areaLink.dataset.link
14347																			}
14348																		}
14349																	});
14350																}
14351															}
14352
14353															areaOpeners = popup.querySelectorAll('.popup-area[data-type="area-opener"]');
14354															if(areaOpeners) {
14355																for(let areaOpener of areaOpeners) {
14356																	areaOpener.addEventListener('click', function(){
14357																		if(areaOpener.dataset.popup) {
14358																			if(typeof window['sgPopup' + areaOpener.dataset.popup] == 'function') {
14359																				Fancybox.close();
14360																				window['sgPopup' + areaOpener.dataset.popup]('forceOpen');
14361																			}
14362																		}
14363																	});
14364																}
14365															}
14366
14367															const submitButton = popup.querySelector(".popup-element[data-type='button-submit'] button");
14368															if(submitButton) {
14369																submitButton.addEventListener('click', function(event){
14370
14371																	event.preventDefault();
14372																	submitButton.disabled = true;
14373
14374																	sgPopup1811submit(function(result){
14375																		submitButton.disabled = result;
14376																	});
14377
14378																})
14379															}
14380														}
14381													},
14382													close: () => {
14383														window.sgPopup.opened = false;
14384														window.sgPopup.shown.push(1811);
14385														if(window.sgPopup.queue.length) {
14386															setTimeout(function(){
14387																let popupID = window.sgPopup.queue.shift();
14388																window['sgPopup' + popupID]('forceOpen');
14389															}, 30000);
14390														}
14391								
14392													}
14393												}
14394											})
14395										}
14396									}
14397								}
14398							
14399								function sgSuccessPopup1811() {
14400							
14401									let html;
14402									let closeButton;
14403									if(window.innerWidth >= 1040) {
14404										html = "<noindex id='SGsuccess1811' 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>";
14405							closeButton = false;
14406									} else {
14407										html = "<noindex id='SGsuccess1811' 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;\">Спасибо, мы скоро свяжемся с вами!&nbsp;</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>";
14408							closeButton = false;
14409									}
14410							
14411									Fancybox.close();
14412									new Fancybox([
14413										{
14414											src: html,
14415											type: 'html'
14416										}
14417									], {
14418										dragToClose: false,
14419										closeButton: closeButton,
14420										autoFocus: false,
14421										trapFocus: false,
14422										on: {
14423											done: (fancybox, slide) => {
14424							
14425												const success = document.querySelector("#SGsuccess1811");
14426												if(success) {
14427
14428													buttonLinks = success.querySelectorAll('button[data-type="link"]');
14429													if(buttonLinks) {
14430														for(let buttonLink of buttonLinks) {
14431															buttonLink.addEventListener('click', function(){
14432																if(buttonLink.dataset.link) {
14433																	if(buttonLink.dataset.target == '_blank') {
14434																		window.open(buttonLink.dataset.link);
14435																	} else {
14436																		location.href = buttonLink.dataset.link
14437																	}
14438																}
14439															});
14440														}
14441													}
14442													
14443												}
14444							
14445												setTimeout(function(){
14446													Fancybox.close();
14447												}, 3000);
14448									
14449											},
14450											close: () => {
14451												window.sgPopup.opened = false;
14452											}
14453										}
14454									});
14455								}
14456							</script>
vendor: 1 bytes, line 14456
14456
14457<script>
14458								if(typeof window.sgPopup == 'undefined') {
14459									window.sgPopup = {
14460										opened: false,
14461										queue: [],
14462										shown: [],
14463										elements: {}
14464									};
14465								}
14466						
14467								addEventListener('DOMContentLoaded', () => {
14468						
14469									document.body.addEventListener('click', function(event){
14470										if(
14471											event.target.dataset.target == "sgPopup1829"
14472											|| event.target.closest('[data-target="sgPopup1829"]')
14473										) {
14474											Fancybox.close();
14475											sgPopup1829('forceOpen');
14476										}
14477									});
14478
14479									sgPopup1829autoOpen();
14480								});
14481
14482								function sgPopup1829autoOpen() {
14483							
14484								}
14485
14486								function sgPopup1829reachGoal(code) {
14487
14488									function executeGoal(params) {
14489										if(typeof params == 'object') {
14490
14491											eval('ym('+ params.join(',') +');');
14492
14493											let data = {
14494												'goal': params[2],
14495												timestamp: new Date().toISOString()
14496											};
14497
14498											var xmlhr = new XMLHttpRequest();
14499											xmlhr.open('POST', "https://psy-muip.ru/wp-json/generator.conversion/v1/actions/?_method=POST&action=goalLog");
14500											xmlhr.send(JSON.stringify(data));
14501
14502											xmlhr.onreadystatechange = function() {
14503												if (xmlhr.readyState === 4 && xmlhr.status === 200) {
14504													if( urlParams.get('debug') ) {
14505														const response = JSON.parse(xmlhr.response);
14506														console.log(response);
14507													}
14508												}
14509											}
14510
14511										}
14512									}
14513
14514									const goals = code.split(';');
14515									if(goals) {
14516										for(let goal of goals) {
14517											goal = goal.trim();
14518											if(goal != '') {
14519												const regexp = /ym(.*)/;
14520												if( regexp.test(goal) ) {
14521
14522													goal = goal.replace('ym(', '');
14523													goal = goal.replace(')', '');
14524													const params = goal.split(',');
14525													if(params) {
14526
14527														if (typeof window.ym != 'undefined') {
14528															executeGoal(params);
14529														} else {
14530															if(typeof window.popup1829goals == 'undefined') {
14531																window.popup1829goals = [];
14532															}
14533
14534															window.popup1829goals.push({
14535																'metrika': params[0],
14536																'action': params[1],
14537																'id': params[2]
14538															});
14539
14540															if(typeof popup1829interval == 'undefined') {
14541																popup1829interval = setInterval(function(){
14542																	if (typeof window.ym != 'undefined') {
14543																		for(let goal of window.popup1829goals) {
14544																			executeGoal(params);
14545																		}
14546																		window.popup1829goals = [];
14547																		clearInterval(popup1829interval);
14548																	}
14549																}, 1000);
14550															}
14551														}
14552													}
14553												} else {
14554													eval(goal);
14555												}
14556											}
14557										}
14558									}
14559
14560								}
14561
14562								function sgPopup1829(action = false) {
14563
14564									if(!action) return;
14565
14566									if( ['open', 'forceOpen'].includes(action) ) {
14567
14568								
14569										if(action == 'open' && window.sgPopup.shown.includes(1829)) {
14570											return false;
14571										}
14572
14573										if(window.sgPopup.opened) {
14574
14575											if(window.sgPopup.opened != 1829) {
14576												window.sgPopup.queue.push(1829);
14577											}
14578
14579										} else {
14580
14581											window.sgPopup.opened = 1829;
14582
14583											let html;
14584											let closeButton;
14585											if(window.innerWidth >= 1040) {
14586												html = "<noindex id='SGpopup1829' class='popup-wrapper grid-hidden'><div class='popup-area' data-type='area-container' style='position: relative; top: 245px; left: 34px; margin-left: ; width: 465.222px; height: 381.222px; '><div class='popup-element' data-type='editor' data-element-id='170662' style='padding-top: 0px;padding-right: 0px;padding-bottom: 0px;padding-left: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 2px;margin-left: 0px;' data-p-margin-bottom='20px' data-p-line-height='120%'><style>#SGpopup1829 .popup-element[data-element-id='170662'][data-type='editor'] p {margin-bottom: 20px}#SGpopup1829 .popup-element[data-element-id='170662'][data-type='editor'] * {line-height: 120%}</style><div class='popupElement-content'><p><span style=\"color:hsl(0,0%,0%);font-size:14px;\">Укажите почту для получения информации о подарке:</span></p></div></div><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=\"Ваш e-mail, например: [email protected]\" data-name=\"Почта\" data-mask=\"email\" required=\"\" style=\"background-color: rgb(255, 255, 255); border-color: rgb(227, 227, 227); font-size: 17px; color: rgb(104, 104, 104); padding: 11px; border-radius: 30px;\"></div></div><div class='popup-element' data-type='editor' data-element-id='504852' style='padding-top: 0px;padding-right: 0px;padding-bottom: 0px;padding-left: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 2px;margin-left: 0px;' data-p-margin-bottom='20px' data-p-line-height='120%'><style>#SGpopup1829 .popup-element[data-element-id='504852'][data-type='editor'] p {margin-bottom: 20px}#SGpopup1829 .popup-element[data-element-id='504852'][data-type='editor'] * {line-height: 120%}</style><div class='popupElement-content'><p><span style=\"font-size:14px;\">Подтвердите, что вы не робот, указав номер телефона:</span></p></div></div><div class='popup-element' data-type='input' style='margin-top: 0px;margin-right: 0px;margin-bottom: 9px;margin-left: 0px;'><div class='popupElement-content'><input type=\"text\" placeholder=\"+7 (___) ___ - __ - __\" data-name=\"Телефон\" data-mask=\"phone_intl\" required=\"\" style=\"background-color: rgb(255, 255, 255); border-color: rgb(225, 225, 226); font-size: 17px; color: rgb(120, 120, 120); padding: 11px; border-radius: 30px;\"></div></div><div class='popup-element' data-type='button-submit' style='margin-top: 6px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;'><div class='popupElement-content'><button type=\"submit\" style=\"background-color: rgba(67, 49, 57, 0); color: rgb(0, 0, 0); font-size: 19px; border-radius: 30px; padding: 40px 36px;\" onclick=\"\"><div class=\"buttonSubmit-content\"></div></button></div></div><div class='popup-element' data-type='agree' data-element-id='801577' data-fill='#9e9e9eff' data-mode='default' data-mode='default' style='margin-top: 33px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;'><style>#SGpopup1829 .popup-element[data-element-id='801577'][data-type='agree'] .popupElement-content input[type='checkbox'] + label:before {border-color: #9e9e9eff;} #SGpopup1829 .popup-element[data-element-id='801577'][data-type='agree'] .popupElement-content input[type='checkbox'] + label:after {background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHhtbG5zOnhsaW5rPSdodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rJyB2ZXJzaW9uPScxLjEnIHg9JzBweCcgeT0nMHB4JyB3aWR0aD0nNTEycHgnIGhlaWdodD0nNTEycHgnIHZpZXdCb3g9JzAgMCA0NDIuNTMzIDQ0Mi41MzMnIHN0eWxlPSdlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDQ0Mi41MzMgNDQyLjUzMycgeG1sOnNwYWNlPSdwcmVzZXJ2ZSc+PHBhdGggZD0nTTQzNC41MzksOTguNDk5bC0zOC44MjgtMzguODI4Yy01LjMyNC01LjMyOC0xMS43OTktNy45OTMtMTkuNDEtNy45OTNjLTcuNjE4LDAtMTQuMDkzLDIuNjY1LTE5LjQxNyw3Ljk5M0wxNjkuNTksMjQ3LjI0OCBsLTgzLjkzOS04NC4yMjVjLTUuMzMtNS4zMy0xMS44MDEtNy45OTItMTkuNDEyLTcuOTkyYy03LjYxNiwwLTE0LjA4NywyLjY2Mi0xOS40MTcsNy45OTJMNy45OTQsMjAxLjg1MiAgIEMyLjY2NCwyMDcuMTgxLDAsMjEzLjY1NCwwLDIyMS4yNjljMCw3LjYwOSwyLjY2NCwxNC4wODgsNy45OTQsMTkuNDE2bDEwMy4zNTEsMTAzLjM0OWwzOC44MzEsMzguODI4IGM1LjMyNyw1LjMzMiwxMS44LDcuOTk0LDE5LjQxNCw3Ljk5NGM3LjYxMSwwLDE0LjA4NC0yLjY2OSwxOS40MTQtNy45OTRsMzguODMtMzguODI4TDQzNC41MzksMTM3LjMzIGM1LjMyNS01LjMzLDcuOTk0LTExLjgwMiw3Ljk5NC0xOS40MTdDNDQyLjUzNywxMTAuMzAyLDQzOS44NjQsMTAzLjgyOSw0MzQuNTM5LDk4LjQ5OXonIGZpbGw9JyM5ZTllOWVmZicvPjwvc3ZnPg==);}</style><div class='popupElement-content'><input type=\"checkbox\" checked=\"\" required=\"\" tabindex=\"-1\" data-orig-tabindex=\"-1\"><label><p><span style=\"color:hsl(0,0%,18%);font-size:9px;\">Я согласен на обработку моих персональных данных. 
С&nbsp;</span><a href=\"https://psy-muip.ru/agreement\" data-fpl-component=\"primitive\" target=\"_blank\" rel=\"noopener\"><span style=\"color:hsl(0,0%,18%);font-size:9px;\"><u>Политикой обработки персональных данных</u></span></a><span style=\"color:hsl(0,0%,18%);font-size:9px;\">&nbsp;ознакомлен</span></p></label></div></div><div class='popup-element' data-type='editor' data-element-id='644125' style='padding-top: 0px;padding-right: 0px;padding-bottom: 0px;padding-left: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;' data-p-margin-bottom='13px' data-p-line-height='80%'><style>#SGpopup1829 .popup-element[data-element-id='644125'][data-type='editor'] p {margin-bottom: 13px}#SGpopup1829 .popup-element[data-element-id='644125'][data-type='editor'] * {line-height: 80%}</style><div class='popupElement-content'><p><a href=\"https://psy-muip.ru/politika\" data-fpl-component=\"primitive\" target=\"_blank\" rel=\"noopener\"><span style=\"color:hsl(0,0%,18%);font-size:9px;\"><u>Политика&nbsp;в отношении обработки персональных данных</u></span></a><span style=\"color:hsl(0,0%,18%);font-size:9px;\"> | </span><a href=\"https://psy-muip.ru/custom\" data-fpl-component=\"primitive\" target=\"_blank\" rel=\"noopener\"><span style=\"color:hsl(0,0%,18%);font-size:9px;\"><u>Пользовательское соглашение</u></span></a><br><a href=\"https://psy-muip.ru/agreement\" data-fpl-component=\"primitive\" target=\"_blank\" rel=\"noopener\"><span style=\"color:hsl(0,0%,18%);font-size:9px;\"><u>Согласие на обработку персональных данных</u></span></a><span style=\"color:hsl(0,0%,18%);font-size:9px;\"> | </span><a href=\"https://psy-muip.ru/rassylka\" data-fpl-component=\"primitive\" target=\"_blank\" rel=\"noopener\"><span style=\"color:hsl(0,0%,18%);font-size:9px;\"><u>Согласие на рассылку материалов</u></span></a></p></div></div><div class='popup-element' data-type='editor' data-element-id='939772' style='padding-top: 0px;padding-right: 0px;padding-bottom: 0px;padding-left: 0px;margin-top: 2px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;' data-p-margin-bottom='20px' data-p-line-height='120%'><style>#SGpopup1829 .popup-element[data-element-id='939772'][data-type='editor'] p {margin-bottom: 20px}#SGpopup1829 .popup-element[data-element-id='939772'][data-type='editor'] * {line-height: 120%}</style><div class='popupElement-content'><p><span style=\"font-size:8px;\">*Cкидки и бонусы не суммируются</span></p></div></div></div><div class='popup-area' data-type='close-container' style='position: absolute; top: -3px; left: 1209px; 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: 36px; height: 36px; 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(255, 14, 14);\">
14586<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: absolute; top: 27px; left: 198px; margin-left: ; width: 92.8667px; height: 24.8667px; '><div class='popup-element' data-type='editor' data-element-id='944393' style='padding-top: 0px;padding-right: 0px;padding-bottom: 0px;padding-left: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;' data-p-margin-bottom='20px' data-p-line-height='120%'><style>#SGpopup1829 .popup-element[data-element-id='944393'][data-type='editor'] p {margin-bottom: 20px}#SGpopup1829 .popup-element[data-element-id='944393'][data-type='editor'] * {line-height: 120%}</style><div class='popupElement-content'><p><span style=\"color:hsl(0, 0%, 0%);font-size:18px;\">{date}</span></p></div></div></div><div class='popup-element' data-type='wheel' style='position: absolute; top: -18px; left: 557px'><div class='popupElement-content'><div class=\"wheel-circle\"><img src=\"https://service.leads-gen.ru/upload/453/popups/1663/1779461714.png\" width=\"683\" height=\"683\" alt=\"1779461714.png\"></div><div class=\"wheel-prizes\" style=\"margin-top: 41px; margin-left: 37px;\"><img src=\"https://service.leads-gen.ru/upload/453/popups/1829/1790801865.png\" width=\"610\" height=\"610\" alt=\"1790801865.png\"></div></div></div><input type='hidden' name='popupID' value='1829'><input type='hidden' name='projectID' value='453'><input type='hidden' name='custom_utm_source'><input type='hidden' name='custom_utm_medium'><input type='hidden' name='custom_utm_campaign'><input type='hidden' name='custom_utm_content'><input type='hidden' name='custom_utm_term'></noindex>";
14587								
14588												closeButton = false;
14589										
14590											} else {
14591								
14592												html = "<noindex id='SGpopup1829' class='popup-wrapper grid-hidden'><div class='popup-area' data-type='area-container' style='position: relative; top: 144px; left: 8px; margin-left: ; width: 320.4px; height: 276.222px; '><div class='popup-element' data-type='editor' data-element-id='842647' style='padding-top: 0px;padding-right: 0px;padding-bottom: 0px;padding-left: 0px;margin-top: 2px;margin-right: 0px;margin-bottom: 4px;margin-left: 0px;' data-p-margin-bottom='20px' data-p-line-height='120%'><style>#SGpopup1829 .popup-element[data-element-id='842647'][data-type='editor'] p {margin-bottom: 20px}#SGpopup1829 .popup-element[data-element-id='842647'][data-type='editor'] * {line-height: 120%}</style><div class='popupElement-content'><p><span style=\"color:hsl(0,0%,0%);font-size:12px;\">Укажите почту для получения информации о подарке:</span></p></div></div><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=\"Ваш e-mail, например: [email protected]\" data-name=\"Почта\" data-mask=\"email\" required=\"\" style=\"background-color: rgb(255, 255, 255); border-color: rgb(227, 227, 227); font-size: 17px; color: rgb(104, 104, 104); padding: 5px; border-radius: 30px;\"></div></div><div class='popup-element' data-type='editor' data-element-id='772275' style='padding-top: 0px;padding-right: 0px;padding-bottom: 0px;padding-left: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 4px;margin-left: 0px;' data-p-margin-bottom='20px' data-p-line-height='120%'><style>#SGpopup1829 .popup-element[data-element-id='772275'][data-type='editor'] p {margin-bottom: 20px}#SGpopup1829 .popup-element[data-element-id='772275'][data-type='editor'] * {line-height: 120%}</style><div class='popupElement-content'><p><span style=\"font-size:12px;\">Подтвердите, что вы не робот, указав номер телефона:</span></p></div></div><div class='popup-element' data-type='input' style='margin-top: 0px;margin-right: 0px;margin-bottom: 10px;margin-left: 0px;'><div class='popupElement-content'><input type=\"text\" placeholder=\"+7 (___) ___ - __ - __\" data-name=\"Телефон\" data-mask=\"phone_intl\" required=\"\" style=\"background-color: rgb(255, 255, 255); border-color: rgb(225, 225, 226); font-size: 17px; color: rgb(120, 120, 120); padding: 5px; border-radius: 30px;\"></div></div><div class='popup-element' data-type='button-submit' style='margin-top: 0px;margin-right: 0px;margin-bottom: 23px;margin-left: 0px;'><div class='popupElement-content'><button type=\"submit\" style=\"background-color: rgba(107, 112, 108, 0);
14592 color: rgb(0, 0, 0); font-size: 19px; border-radius: 30px; padding: 27px;\" onclick=\"\"><div class=\"buttonSubmit-content\"></div></button></div></div><div class='popup-element' data-type='agree' data-element-id='872004' data-fill='#9e9e9eff' data-mode='default' data-mode='default' style='margin-top: 0px;margin-right: 0px;margin-bottom: 2px;margin-left: 0px;'><style>#SGpopup1829 .popup-element[data-element-id='872004'][data-type='agree'] .popupElement-content input[type='checkbox'] + label:before {border-color: #9e9e9eff;} #SGpopup1829 .popup-element[data-element-id='872004'][data-type='agree'] .popupElement-content input[type='checkbox'] + label:after {background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHhtbG5zOnhsaW5rPSdodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rJyB2ZXJzaW9uPScxLjEnIHg9JzBweCcgeT0nMHB4JyB3aWR0aD0nNTEycHgnIGhlaWdodD0nNTEycHgnIHZpZXdCb3g9JzAgMCA0NDIuNTMzIDQ0Mi41MzMnIHN0eWxlPSdlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDQ0Mi41MzMgNDQyLjUzMycgeG1sOnNwYWNlPSdwcmVzZXJ2ZSc+PHBhdGggZD0nTTQzNC41MzksOTguNDk5bC0zOC44MjgtMzguODI4Yy01LjMyNC01LjMyOC0xMS43OTktNy45OTMtMTkuNDEtNy45OTNjLTcuNjE4LDAtMTQuMDkzLDIuNjY1LTE5LjQxNyw3Ljk5M0wxNjkuNTksMjQ3LjI0OCBsLTgzLjkzOS04NC4yMjVjLTUuMzMtNS4zMy0xMS44MDEtNy45OTItMTkuNDEyLTcuOTkyYy03LjYxNiwwLTE0LjA4NywyLjY2Mi0xOS40MTcsNy45OTJMNy45OTQsMjAxLjg1MiAgIEMyLjY2NCwyMDcuMTgxLDAsMjEzLjY1NCwwLDIyMS4yNjljMCw3LjYwOSwyLjY2NCwxNC4wODgsNy45OTQsMTkuNDE2bDEwMy4zNTEsMTAzLjM0OWwzOC44MzEsMzguODI4IGM1LjMyNyw1LjMzMiwxMS44LDcuOTk0LDE5LjQxNCw3Ljk5NGM3LjYxMSwwLDE0LjA4NC0yLjY2OSwxOS40MTQtNy45OTRsMzguODMtMzguODI4TDQzNC41MzksMTM3LjMzIGM1LjMyNS01LjMzLDcuOTk0LTExLjgwMiw3Ljk5NC0xOS40MTdDNDQyLjUzNywxMTAuMzAyLDQzOS44NjQsMTAzLjgyOSw0MzQuNTM5LDk4LjQ5OXonIGZpbGw9JyM5ZTllOWVmZicvPjwvc3ZnPg==);}</style><div class='popupElement-content'><input type=\"checkbox\" checked=\"\" required=\"\" tabindex=\"-1\" data-orig-tabindex=\"-1\"><label><p><span style=\"color:hsl(0,0%,18%);font-size:8px;\">Я согласен на обработку моих персональных данных. 
С&nbsp;</span><a href=\"https://psy-muip.ru/agreement\" data-fpl-component=\"primitive\" target=\"_blank\" rel=\"noopener\"><span style=\"color:hsl(0,0%,18%);font-size:8px;\"><u>Политикой обработки персональных данных</u></span></a><span style=\"color:hsl(0,0%,18%);font-size:8px;\">&nbsp;ознакомлен</span></p></label></div></div><div class='popup-element' data-type='editor' data-element-id='384046' style='padding-top: 0px;padding-right: 0px;padding-bottom: 0px;padding-left: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;' data-p-margin-bottom='13px' data-p-line-height='80%'><style>#SGpopup1829 .popup-element[data-element-id='384046'][data-type='editor'] p {margin-bottom: 13px}#SGpopup1829 .popup-element[data-element-id='384046'][data-type='editor'] * {line-height: 80%}</style><div class='popupElement-content'><p><a href=\"https://psy-muip.ru/politika\" data-fpl-component=\"primitive\" target=\"_blank\" rel=\"noopener\"><span style=\"color:hsl(0,0%,18%);font-size:7px;\"><u>Политика&nbsp;в отношении обработки персональных данных</u></span></a><span style=\"color:hsl(0,0%,18%);font-size:7px;\"> | </span><a href=\"https://psy-muip.ru/custom\" data-fpl-component=\"primitive\" target=\"_blank\" rel=\"noopener\"><span style=\"color:hsl(0,0%,18%);font-size:7px;\"><u>Пользовательское соглашение</u></span></a><br><a href=\"https://psy-muip.ru/agreement\" data-fpl-component=\"primitive\" target=\"_blank\" rel=\"noopener\"><span style=\"color:hsl(0,0%,18%);font-size:7px;\"><u>Согласие на обработку персональных данных</u></span></a><span style=\"color:hsl(0,0%,18%);font-size:7px;\"> | </span><a href=\"https://psy-muip.ru/rassylka\" data-fpl-component=\"primitive\" target=\"_blank\" rel=\"noopener\"><span style=\"color:hsl(0,0%,18%);font-size:7px;\"><u>Согласие на рассылку материалов</u></span></a></p></div></div><div class='popup-element' data-type='editor' data-element-id='163358' style='padding-top: 0px;padding-right: 0px;padding-bottom: 0px;padding-left: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;' data-p-margin-bottom='20px' data-p-line-height='120%'><style>#SGpopup1829 .popup-element[data-element-id='163358'][data-type='editor'] p {margin-bottom: 20px}#SGpopup1829 .popup-element[data-element-id='163358'][data-type='editor'] * {line-height: 120%}</style><div class='popupElement-content'><p><span style=\"font-size:8px;\">*Cкидки и бонусы не суммируются</span></p></div></div></div><div class='popup-area' data-type='close-container' style='position: absolute; top: -40px; left: 370px; margin-left: -40px; width: 40px; height: 40px; '><div class='popup-element' data-type='button-close' style=''><div class='popupElement-content'></div></div></div><div class='popup-area' data-type='area-container' style='position: absolute; top: 19.0312px; left: 110.975px; margin-left: ; width: 47px; height: 18px; '><div class='popup-element' data-type='editor' data-element-id='746034' style='padding-top: 0px;padding-right: 0px;padding-bottom: 0px;padding-left: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;' data-p-margin-bottom='20px' data-p-line-height='120%'><style>#SGpopup1829 .popup-element[data-element-id='746034'][data-type='editor'] p {margin-bottom: 20px}#SGpopup1829 .popup-element[data-element-id='746034'][data-type='editor'] * {line-height: 120%}</style><div class='popupElement-content'><p><span style=\"color:hsl(0, 0%, 0%);font-size:10px;\"><strong>{date}</strong></span></p></div></div></div><div class='popup-element' data-type='wheel' style='position: absolute; top: 431.517px; left: 6.06665px'><div class='popupElement-content'><div class=\"wheel-circle\"><img src=\"https://service.leads-gen.ru/upload/453/popups/1658/1779372570.png\" width=\"345\" height=\"345\" alt=\"1779372570.png\"></div><div class=\"wheel-prizes\" style=\"margin-top: 14px; margin-left: 13px;\"><img src=\"https://service.leads-gen.ru/upload/453/popups/1829/1790801488.png\" width=\"320\" height=\"320\" alt=\"1790801488.png\"></div></div></div><input type='hidden' name='popupID' value='1829'><input type='hidden' name='projectID' value='453'><input type='hidden' name='custom_utm_source'><input type='hidden' name='custom_utm_medium'><input type='hidden' name='custom_utm_campaign'><input type='hidden' name='custom_utm_content'><input type='hidden' name='custom_utm_term'></noindex>";
14593								
14594												closeButton = true;
14595										
14596											}
14597								
14598											let prize = getCookie('sgPopup1829prize_1779367731');
14599											if(prize) {
14600												if(action == 'forceOpen') {
14601													sgSuccessPopup1829();
14602												}
14603												return false;
14604											}
14605									
14606											dateFrom = 1773187200 * 1000;
14607											if(dateFrom < Date.now()) {
14608												do {
14609													dateFrom += 7 * 24 * 60 * 60 * 1000;
14610												} while (dateFrom < Date.now());
14611											}
14612
14613											for (const match of html.matchAll(/{date((\+|\-)([0-9]*))?}/g)) {
14614												dateTo = dateFrom;
14615												if(typeof match[1] != 'undefined') {
14616													dateTo += match[1] * 24 * 60 * 60 * 1000;
14617												}
14618												dateTo = new Date(dateTo);
14619
14620												formatDate = '{day}.{month} ';
14621												if(formatDate.indexOf('{day}') != -1) {
14622													day = dateTo.getDate();
14623													if("number_short" == "number_full") {
14624														if(day < 10) {
14625															day = '0' + day;
14626														}
14627													}
14628													formatDate = formatDate.replace('{day}', day);
14629												}
14630
14631												if(formatDate.indexOf('{month}') != -1) {
14632													month = dateTo.getMonth() + 1;
14633													if("number_full" == "number_full") {
14634														if(month < 10) {
14635															month = '0' + month;
14636														}
14637													} else if("number_full" == "text_nominative") {
14638														let months = {
14639															1: 'январь',
14640															2: 'февраль',
14641															3: 'март',
14642															4: 'апрель',
14643															5: 'май',
14644															6: 'июнь',
14645															7: 'июль',
14646															8: 'август',
14647															9: 'сентябрь',
14648															10: 'октябрь',
14649															11: 'ноябрь',
14650															12: 'декабрь'
14651														};
14652														month = months[month];
14653													} else if("number_full" == "text_genitive") {
14654														let months = {
14655															1: 'января',
14656															2: 'февраля',
14657															3: 'марта',
14658															4: 'апреля',
14659															5: 'мая',
14660															6: 'июня',
14661															7: 'июля',
14662															8: 'августа',
14663															9: 'сентября',
14664															10: 'октября',
14665															11: 'ноября',
14666															12: 'декабря'
14667														};
14668														month = months[month];
14669													}
14670													formatDate = formatDate.replace('{month}', month);
14671												}
14672
14673												if(formatDate.indexOf('{year}') != -1) {
14674													year = dateTo.getFullYear();
14675													if("number_short" == "number_short") {
14676														year = year.toString().substr(-2);
14677													}
14678													formatDate = formatDate.replace('{year}', year);
14679												}
14680												html = html.replaceAll(match[0], formatDate);
14681											};
14682										
14683											Fancybox.close();
14684											new Fancybox([
14685												{
14686													src: html,
14687													type: 'html'
14688												}
14689											], {
14690												dragToClose: false,
14691												closeButton: closeButton,
14692												compact: false,
14693												autoFocus: false,
14694												trapFocus: false,
14695												on: {
14696													done: (fancybox, slide) => {
14697								
14698													sgPopup1829reachGoal("ym(93615077,'reachGoal','Vidjet_koleso_fortune_click');");
14699										
14700													const popup = document.querySelector("#SGpopup1829");
14701													if(popup) {
14702
14703														const url = new URL(location.href);
14704														window.utm_source = url.searchParams.get('utm_source');
14705														window.utm_medium = url.searchParams.get('utm_medium');
14706														window.utm_campaign = url.searchParams.get('utm_campaign');
14707														window.utm_term = url.searchParams.get('utm_term');
14708														window.utm_content = url.searchParams.get('utm_content');
14709
14710								
14711														const custom_utm_source = popup.querySelector('input[name="custom_utm_source"]');
14712														if(custom_utm_source && typeof 'site' != undefined) {
14713															custom_utm_source.value = 'site';
14714														}
14715											
14716														const custom_utm_medium = popup.querySelector('input[name="custom_utm_medium"]');
14717														if(custom_utm_medium && typeof 'seo' != undefined) {
14718															custom_utm_medium.value = 'seo';
14719														}
14720											
14721														const custom_utm_campaign = popup.querySelector('input[name="custom_utm_campaign"]');
14722														if(custom_utm_campaign && typeof 'genegator_koleso_fortuni_30%_discount' != undefined) {
14723															custom_utm_campaign.value = 'genegator_koleso_fortuni_30%_discount';
14724														}
14725											
14726														const custom_utm_content = popup.querySelector('input[name="custom_utm_content"]');
14727														if(custom_utm_content && typeof 'muip' != undefined) {
14728															custom_utm_content.value = 'muip';
14729														}
14730											
14731														const custom_utm_term = popup.querySelector('input[name="custom_utm_term"]');
14732														if(custom_utm_term && typeof 'popup' != undefined) {
14733															custom_utm_term.value = 'popup';
14734														}
14735											
14736														openerLinks = popup.querySelectorAll('a[data-target]');
14737														if(openerLinks) {
14738															for(let openerLink of openerLinks) {
14739																openerLink.addEventListener('click', function(){
14740																	if(openerLink.dataset.target) {
14741																		if(typeof window[openerLink.dataset.target] == 'function') {
14742																			Fancybox.close();
14743																			window[openerLink.dataset.target]('open');
14744																		}
14745																	}
14746																});
14747															}
14748														}
14749
14750														linkImages = popup.querySelectorAll('.image-wrapper[data-type="link"]');
14751														if(linkImages) {
14752															for(let linkImage of linkImages) {
14753																linkImage.addEventListener('click', function(){
14754																	if(linkImage.dataset.link) {
14755																		if(linkImage.dataset.target == '_blank') {
14756																			window.open(linkImage.dataset.link);
14757																		} else {
14758																			location.href = linkImage.dataset.link
14759																		}
14760																	}
14761																});
14762															}
14763														}
14764
14765														openerImages = popup.querySelectorAll('.image-wrapper[data-type="opener"]');
14766														if(openerImages) {
14767															for(let openerImage of openerImages) {
14768																openerImage.addEventListener('click', function(){
14769																	if(openerImage.dataset.popup) {
14770																		if(typeof window['sgPopup' + openerImage.dataset.popup] == 'function') {
14771																			Fancybox.close();
14772																			window['sgPopup' + openerImage.dataset.popup]('forceOpen');
14773																		}
14774																	}
14775																});
14776															}
14777														}
14778
14779														submitImages = popup.querySelectorAll('.image-wrapper[data-type="submitter"]');
14780														if(submitImages) {
14781															for(let submitImage of submitImages) {
14782																submitImage.addEventListener('click', function(){
14783
14784																	if(submitImage.classList.contains('disabled')) return false;
14785
14786																	submitImage.classList.add('disabled');
14787
14788																	sgPopup1829submit(function(result){
14789																		submitImage.classList.toggle('disabled', result);
14790																	});
14791
14792																});
14793															}
14794														}
14795
14796														const linkButtons = popup.querySelectorAll('button[data-type="link"]');
14797														if(linkButtons) {
14798															for(let linkButton of linkButtons) {
14799																linkButton.addEventListener('click', function(){
14800																	if(linkButton.dataset.link && linkButton.dataset.link != '#') {
14801								
14802																		if(linkButton.dataset.target == '_blank') {
14803																			window.open(linkButton.dataset.link);
14804																		} else {
14805																			location.href = linkButton.dataset.link
14806																		}
14807																	}
14808																});
14809															}
14810														}
14811
14812														openerButtons = popup.querySelectorAll('button[data-type="opener"]');
14813														if(openerButtons) {
14814															for(let openerButton of openerButtons) {
14815																openerButton.addEventListener('click', function(){
14816									
14817																	if(openerButton.dataset.popup) {
14818																		if(typeof window['sgPopup' + openerButton.dataset.popup] == 'function') {
14819																			Fancybox.close();
14820																			window['sgPopup' + openerButton.dataset.popup]('forceOpen');
14821																		}
14822																	}
14823																});
14824															}
14825														}
14826
14827														const maskedFields = popup.querySelectorAll('input[data-mask]');
14828														if(maskedFields) {
14829															for(let maskedField of maskedFields) {
14830																if(maskedField.dataset.mask == 'phone') {
14831																	Inputmask('+7 (999) 999-99-99', {
14832																		clearIncomplete: true,
14833																		greedy: false
14834																	}).mask(maskedField);
14835								
14836																} else if(maskedField.dataset.mask == 'phone_intl') {
14837																	maskedField.removeAttribute('placeholder');
14838																	phoneIntl = window.intlTelInput(maskedField, {
14839																		initialCountry: 'ru',
14840																		separateDialCode: true,
14841																		strictMode: true,
14842																		formatOnDisplay: true,
14843																		useFullscreenPopup: false,
14844																		i18n: {
14845																			searchPlaceholder: 'Поиск',
14846																			ad: 'Андорра',
14847																			ae: 'ОАЭ',
14848																			af: 'Афганистан',
14849																			ag: 'Антигуа и Барбуда',
14850																			ai: 'Ангилья',
14851																			al: 'Албания',
14852																			am: 'Армения',
14853																			ao: 'Ангола',
14854																			ar: 'Аргентина',
14855																			as: 'Американское Самоа',
14856																			at: 'Австрия',
14857																			au: 'Австралия',
14858																			aw: 'Аруба',
14859																			ax: 'Аландские о-ва',
14860																			az: 'Азербайджан',
14861																			ba: 'Босния и Герцеговина',
14862																			bb: 'Барбадос',
14863																			bd: 'Бангладеш',
14864																			be: 'Бельгия',
14865																			bf: 'Буркина-Фасо',
14866																			bg: 'Болгария',
14867																			bh: 'Бахрейн',
14868																			bi: 'Бурунди',
14869																			bj: 'Бенин',
14870																			bl: 'Сен-Бартелеми',
14871																			bm: 'Бермудские о-ва',
14872																			bn: 'Бруней-Даруссалам',
14873																			bo: 'Боливия',
14874																			bq: 'Бонэйр, Синт-Эстатиус и Саба',
14875																			br: 'Бразилия',
14876																			bs: 'Багамы',
14877																			bt: 'Бутан',
14878																			bw: 'Ботсвана',
14879																			by: 'Беларусь',
14880																			bz: 'Белиз',
14881																			ca: 'Канада',
14882																			cc: 'Кокосовые о-ва',
14883																			cd: 'Конго - Киншаса',
14884																			cf: 'Центрально-Африканская Республика',
14885																			cg: 'Конго - Браззавиль',
14886																			ch: 'Швейцария',
14887																			ci: 'Кот-д’Ивуар',
14888																			ck: 'Острова Кука',
14889																			cl: 'Чили',
14890																			cm: 'Камерун',
14891																			cn: 'Китай',
14892																			co: 'Колумбия',
14893																			cr: 'Коста-Рика',
14894																			cu: 'Куба',
14895																			cv: 'Кабо-Верде',
14896																			cw: 'Кюрасао',
14897																			cx: 'о-в Рождества',
14898																			cy: 'Кипр',
14899																			cz: 'Чехия',
14900																			de: 'Германия',
14901																			dj: 'Джибути',
14902																			dk: 'Дания',
14903																			dm: 'Доминика',
14904																			do: 'Доминиканская Республика',
14905																			dz: 'Алжир',
14906																			ec: 'Эквадор',
14907																			ee: 'Эстония',
14908																			eg: 'Египет',
14909																			eh: 'Западная Сахара',
14910																			er: 'Эритрея',
14911																			es: 'Испания',
14912																			et: 'Эфиопия',
14913																			fi: 'Финляндия',
14914																			fj: 'Фиджи',
14915																			fk: 'Фолклендские о-ва',
14916																			fm: 'Федеративные Штаты Микронезии',
14917																			fo: 'Фарерские о-ва',
14918																			fr: 'Франция',
14919																			ga: 'Габон',
14920																			gb: 'Великобритания',
14921																			gd: 'Гренада',
14922																			ge: 'Грузия',
14923																			gf: 'Французская Гвиана',
14924																			gg: 'Гернси',
14925																			gh: 'Гана',
14926																			gi: 'Гибралтар',
14927																			gl: 'Гренландия',
14928																			gm: 'Гамбия',
14929																			gn: 'Гвинея',
14930																			gp: 'Гваделупа',
14931																			gq: 'Экваториальная Гвинея',
14932																			gr: 'Греция',
14933																			gt: 'Гватемала',
14934																			gu: 'Гуам',
14935																			gw: 'Гвинея-Бисау',
14936																			gy: 'Гайана',
14937																			hk: 'Гонконг (САР)',
14938																			hn: 'Гондурас',
14939																			hr: 'Хорватия',
14940																			ht: 'Гаити',
14941																			hu: 'Венгрия',
14942																			id: 'Индонезия',
14943																			ie: 'Ирландия',
14944																			il: 'Израиль',
14945																			im: 'о-в Мэн',
14946																			in: 'Индия',
14947																			io: 'Британская территория в Индийском океане',
14948																			iq: 'Ирак',
14949																			ir: 'Иран',
14950																			is: 'Исландия',
14951																			it: 'Италия',
14952																			je: 'Джерси',
14953																			jm: 'Ямайка',
14954																			jo: 'Иордания',
14955																			jp: 'Япония',
14956																			ke: 'Кения',
14957																			kg: 'Киргизия',
14958																			kh: 'Камбоджа',
14959																			ki: 'Кирибати',
14960																			km: 'Коморы',
14961																			kn: 'Сент-Китс и Невис',
14962																			kp: 'КНДР',
14963																			kr: 'Республика Корея',
14964																			kw: 'Кувейт',
14965																			ky: 'Острова Кайман',
14966																			kz: 'Казахстан',
14967																			la: 'Лаос',
14968																			lb: 'Ливан',
14969																			lc: 'Сент-Люсия',
14970																			li: 'Лихтенштейн',
14971																			lk: 'Шри-Ланка',
14972																			lr: 'Либерия',
14973																			ls: 'Лесото',
14974																			lt: 'Литва',
14975																			lu: 'Люксембург',
14976																			lv: 'Латвия',
14977																			ly: 'Ливия',
14978																			ma: 'Марокко',
14979																			mc: 'Монако',
14980																			md: 'Молдова',
14981																			me: 'Черногория',
14982																			mf: 'Сен-Мартен',
14983																			mg: 'Мадагаскар',
14984																			mh: 'Маршалловы Острова',
14985																			mk: 'Северная Македония',
14986																			ml: 'Мали',
14987																			mm: 'Мьянма (Бирма)',
14988																			mn: 'Монголия',
14989																			mo: 'Макао (САР)',
14990																			mp: 'Северные Марианские о-ва',
14991																			mq: 'Мартиника',
14992																			mr: 'Мавритания',
14993																			ms: 'Монтсеррат',
14994																			mt: 'Мальта',
14995																			mu: 'Маврикий',
14996																			mv: 'Мальдивы',
14997																			mw: 'Малави',
14998																			mx: 'Мексика',
14999																			my: 'Малайзия',
15000																			mz: 'Мозамбик',
15001																			na: 'Намибия',
15002																			nc: 'Новая Каледония',
15003																			ne: 'Нигер',
15004																			nf: 'о-в Норфолк',
15005																			ng: 'Нигерия',
15006																			ni: 'Никарагуа',
15007																			nl: 'Нидерланды',
15008																			no: 'Норвегия',
15009																			np: 'Непал',
15010																			nr: 'Науру',
15011																			nu: 'Ниуэ',
15012																			nz: 'Новая Зеландия',
15013																			om: 'Оман',
15014																			pa: 'Панама',
15015																			pe: 'Перу',
15016																			pf: 'Французская Полинезия',
15017																			pg: 'Папуа — Новая Гвинея',
15018																			ph: 'Филиппины',
15019																			pk: 'Пакистан',
15020																			pl: 'Польша',
15021																			pm: 'Сен-Пьер и Микелон',
15022																			pr: 'Пуэрто-Рико',
15023																			ps: 'Палестинские территории',
15024																			pt: 'Португалия',
15025																			pw: 'Палау',
15026																			py: 'Парагвай',
15027																			qa: 'Катар',
15028																			re: 'Реюньон',
15029																			ro: 'Румыния',
15030																			rs: 'Сербия',
15031																			ru: 'Россия',
15032																			rw: 'Руанда',
15033																			sa: 'Саудовская Аравия',
15034																			sb: 'Соломоновы Острова',
15035																			sc: 'Сейшельские Острова',
15036																			sd: 'Судан',
15037																			se: 'Швеция',
15038																			sg: 'Сингапур',
15039																			sh: 'о-в Св. Елены',
15040																			si: 'Словения',
15041																			sj: 'Шпицберген и Ян-Майен',
15042																			sk: 'Словакия',
15043																			sl: 'Сьерра-Леоне',
15044																			sm: 'Сан-Марино',
15045																			sn: 'Сенегал',
15046																			so: 'Сомали',
15047																			sr: 'Суринам',
15048																			ss: 'Южный Судан',
15049																			st: 'Сан-Томе и Принсипи',
15050																			sv: 'Сальвадор',
15051																			sx: 'Синт-Мартен',
15052																			sy: 'Сирия',
15053																			sz: 'Эсватини',
15054																			tc: 'о-ва Тёркс и Кайкос',
15055																			td: 'Чад',
15056																			tg: 'Того',
15057																			th: 'Таиланд',
15058																			tj: 'Таджикистан',
15059																			tk: 'Токелау',
15060																			tl: 'Восточный Тимор',
15061																			tm: 'Туркменистан',
15062																			tn: 'Тунис',
15063																			to: 'Тонга',
15064																			tr: 'Турция',
15065																			tt: 'Тринидад и Тобаго',
15066																			tv: 'Тувалу',
15067																			tw: 'Тайвань',
15068																			tz: 'Танзания',
15069																			ua: 'Украина',
15070																			ug: 'Уганда',
15071																			us: 'Соединенные Штаты',
15072																			uy: 'Уругвай',
15073																			uz: 'Узбекистан',
15074																			va: 'Ватикан',
15075																			vc: 'Сент-Винсент и Гренадины',
15076																			ve: 'Венесуэла',
15077																			vg: 'Виргинские о-ва (Великобритания)',
15078																			vi: 'Виргинские о-ва (США)',
15079																			vn: 'Вьетнам',
15080																			vu: 'Вануату',
15081																			wf: 'Уоллис и Футуна',
15082																			ws: 'Самоа',
15083																			ye: 'Йемен',
15084																			yt: 'Майотта',
15085																			za: 'Южно-Африканская Республика',
15086																			zm: 'Замбия',
15087																			zw: 'Зимбабве',
15088																			ac: 'Остров Вознесения',
15089																			xk: 'Косово'
15090																		}
15091																	});
15092																	window.sgPopup.elements.intl = phoneIntl;
15093									
15094																} else if(maskedField.dataset.mask == 'email') {
15095																	Inputmask({
15096																	alias: 'email',
15097																		clearIncomplete: true,
15098																		greedy: false
15099																	}).mask(maskedField);
15100																}
15101															}
15102														}
15103
15104														const fileInputs = popup.querySelectorAll('.popup-element[data-type="input-file"] input[type="file"]');
15105														if(fileInputs) {
15106															for(let fileInput of fileInputs) {
15107																let label = fileInput.nextElementSibling;
15108																if(label) {
15109																	fileInput.addEventListener('change', function() {
15110																		if (fileInput.files && fileInput.files.length > 0) {
15111																			const maxSize = fileInput.dataset.limit;
15112																			if(fileInput.files[0].size <= maxSize * 1024 * 1024) {
15113																				reader = new FileReader();
15114																				reader.onload = function(){
15115																					const span = label.querySelector('span');
15116																					if(span) {
15117																						span.innerHTML = fileInput.files[0].name;
15118																					}
15119																					fileInput.dataset.content = reader.result;
15120																				};
15121																				reader.readAsDataURL(fileInput.files[0]);
15122																			} else {
15123																				alert('Превышен максимальный размер файла - '+ maxSize +'мб');
15124																			}
15125																		}
15126																	});
15127																	label.addEventListener('click', function(event){
15128																		event.preventDefault();
15129																		fileInput.click();
15130																	});
15131																}
15132															}
15133														}
15134
15135														const agrees = popup.querySelectorAll('.popup-element[data-type="agree"] input[type="checkbox"]');
15136														if(agrees) {
15137															for(let agree of agrees) {
15138																let parent = agree.closest('.popup-element');
15139																if(parent) {
15140																	let label = agree.nextElementSibling;
15141																	if(label) {
15142																		label.addEventListener('click', function(event){
15143																			event.preventDefault();
15144																			agree.checked = !agree.checked;
15145
15146
15147																			if(parent.dataset.mode == 'general') {
15148																				const agreeAll = agree;
15149																				for(let agree of agrees) {
15150																					agree.checked = agreeAll.checked;
15151																				}
15152																			}
15153
15154																			let agreeCount = 0;
15155																			let agreeSelected = 0;
15156																			for(let agree of agrees) {
15157																				const parent = agree.closest('.popup-element');
15158																				if(parent && parent.dataset.mode != 'general') {
15159																					agreeCount++;
15160																					if(agree.checked) {
15161																						agreeSelected++;
15162																					}
15163																				}
15164																			}
15165
15166																			const general = popup.querySelector('.popup-element[data-type="agree"][data-mode="general"]');
15167																			if(general) {
15168																				general.classList.toggle('all-selected', agreeSelected == agreeCount);
15169																				general.classList.toggle('no-selected', agreeSelected == 0);
15170																				general.classList.toggle('some-selected', agreeSelected > 0 && agreeSelected < agreeCount);
15171
15172																				const checkbox = general.querySelector('input[type="checkbox"]');
15173																				if(checkbox) {
15174																					if(agreeSelected == agreeCount) {
15175																						checkbox.checked = true;
15176																					} else {
15177																						checkbox.checked = false;
15178																					}
15179																				}
15180																			}
15181																		});
15182																		const links = label.querySelectorAll('a');
15183																		if(links) {
15184																			for(let link of links) {
15185																				link.addEventListener('click', function(event){
15186																					event.stopPropagation()
15187																				});
15188																			}
15189																		}
15190																	}
15191																}
15192															}
15193														}
15194
15195														const wheel = popup.querySelector('.popup-element[data-type="wheel"]');
15196														let wheelInterval;
15197														let wheelAngle = 0;
15198														if(wheel){
15199															const circle = popup.querySelector('.wheel-circle img');
15200															if(circle) {
15201																wheelInterval = setInterval(function(){
15202																	wheelAngle += 0.2;
15203																	if(wheelAngle > 360) {
15204																		wheelAngle -= 360;
15205																	}
15206																	circle.setAttribute('style', 'transform: rotate('+ wheelAngle +'deg)');
15207																}, 40);
15208															}
15209														}
15210
15211														const closeTriggers = popup.querySelectorAll('.popup-element[data-type="button-close"] button:not([data-fancybox-close])');
15212														if(closeTriggers) {
15213															for(let closeTrigger of closeTriggers) {
15214																closeTrigger.addEventListener('click', function(){
15215																	Fancybox.close();
15216																})
15217															}
15218														}
15219
15220														function sgPopup1829submit(callback = false) {
15221
15222															let hasError = false;
15223															const requiredInputs = popup.querySelectorAll('input[data-name][required]');
15224															if(requiredInputs) {
15225																for(let requiredInput of requiredInputs) {
15226																	if(requiredInput.dataset.mask) {
15227																		if(requiredInput.dataset.mask == 'phone') {
15228																			if(!Inputmask.isValid(requiredInput.value, { mask: '+7 (999) 999-99-99'})) {
15229																				requiredInput.classList.add('error');
15230																				hasError = true;
15231																			} else {
15232																				requiredInput.classList.remove('error');
15233																			}
15234																		} else if(requiredInput.dataset.mask == 'phone_intl' && typeof window.sgPopup.elements.intl != 'undefined') {
15235																			intl = window.sgPopup.elements.intl;
15236																			if(!intl.isValidNumberPrecise()) {
15237																				requiredInput.classList.add('error');
15238																				hasError = true;
15239																			} else {
15240																				requiredInput.classList.remove('error');
15241																			}
15242																		} else if(requiredInput.dataset.mask == 'email') {
15243																			if(!Inputmask.isValid(requiredInput.value, {alias: 'email'})) {
15244																				requiredInput.classList.add('error');
15245																				hasError = true;
15246																			} else {
15247																				requiredInput.classList.remove('error');
15248																			}
15249																		}
15250																	} else {
15251																		if(requiredInput.value == '') {
15252																			requiredInput.classList.add('error');
15253																			hasError = true;
15254																		} else {
15255																			requiredInput.classList.remove('error');
15256																		}
15257																	}
15258																}
15259															}
15260								
15261															const requiredTextareas = popup.querySelectorAll('textarea[data-name][required]');
15262															if(requiredTextareas) {
15263																for(let requiredTextarea of requiredTextareas) {
15264																	if(requiredTextarea.value == '') {
15265																		requiredTextarea.classList.add('error');
15266																		hasError = true;
15267																	} else {
15268																		requiredTextarea.classList.remove('error');
15269																	}
15270																}
15271															}
15272
15273															const requiredSelects = popup.querySelectorAll('select[data-name][required]');
15274															if(requiredSelects) {
15275																for(let requiredSelect of requiredSelects) {
15276																	const niceSelect = requiredSelect.nextElementSibling;
15277																	if(niceSelect) {
15278																		if(niceSelect.querySelector('.option.selected')) {
15279																			niceSelect.classList.remove('error')
15280																		} else {
15281																			niceSelect.classList.add('error');
15282																			hasError = true
15283																		}
15284																	}
15285																}
15286															}
15287
15288															if(agrees) {
15289																for(let agree of agrees) {
15290																	if(agree.required) {
15291																		let label = agree.nextElementSibling;
15292																		if(agree.checked) {
15293																			label.classList.remove('error');
15294																		} else {
15295																			label.classList.add('error');
15296																			hasError = true;
15297																		}
15298																	}
15299																}
15300															}
15301
15302															if(hasError) {
15303																if (callback && typeof callback === 'function') {
15304																	callback(false);
15305																}
15306																return false;
15307															}
15308
15309															function sgPopup1829sendRequest() {
15310
15311								
15312																let data = {
15313																	fields: [],
15314																	cookie: document.cookie,
15315																	markers: markers,
15316																	source: location.href
15317																};
15318								
15319																const inputs = popup.querySelectorAll('input[data-name]');
15320																if(inputs) {
15321																	for(let input of inputs) {
15322																		if(input.dataset.mask == 'phone_intl' && typeof window.sgPopup.elements.intl != 'undefined') {
15323																			intl = window.sgPopup.elements.intl;
15324																			data.fields.push({
15325																				name: input.dataset.name,
15326																				value: intl.getNumber()
15327																			});
15328																		} else {
15329																			data.fields.push({
15330																				name: input.dataset.name,
15331																				value: input.value
15332																			});
15333																		}
15334																	}
15335																}
15336
15337																const textareas = popup.querySelectorAll('textarea[data-name]');
15338																if(textareas) {
15339																	for(let textarea of textareas) {
15340																		data.fields.push({
15341																			name: textarea.dataset.name,
15342																			value: textarea.value
15343																		});
15344																	}
15345																}
15346
15347																if(typeof selects != 'undefined') {
15348																	for(let select of selects) {
15349																		data.fields.push({
15350																			name: select.dataset.name,
15351																			value: select.value
15352																		});
15353																	}
15354																}
15355
15356																const hiddenInputs = popup.querySelectorAll('input[type="hidden"]');
15357																for(let hiddenInput of hiddenInputs) {
15358																	const name = hiddenInput.name;
15359																	data[hiddenInput.name] = hiddenInput.value;
15360																}
15361
15362																const fileInputs = popup.querySelectorAll('.popup-element[data-type="input-file"] input[type="file"]');
15363																if(fileInputs) {
15364																	data.files = [];
15365																	for(let fileInput of fileInputs) {
15366																		if (fileInput.files && fileInput.files.length > 0) {
15367																			data.files.push({
15368																				'name': fileInput.files[0].name,
15369																				'content': fileInput.dataset.content
15370																			});
15371																		}
15372																	}
15373																}
15374
15375																if( wheel && typeof window.prize != 'undefined' ) {
15376																	data.fields.push(window.prize);
15377																}
15378								
15379
15380																var xmlhr = new XMLHttpRequest();
15381																xmlhr.open('POST', "https://psy-muip.ru/wp-json/generator.conversion/v1/actions/?_method=POST&action=formSubmit");
15382																xmlhr.send(JSON.stringify(data));
15383
15384																xmlhr.onreadystatechange = function() {
15385																	if (xmlhr.readyState === 4 && xmlhr.status === 200) {
15386																		console.log(xmlhr.response);
15387																		const response = JSON.parse(xmlhr.response);
15388																		console.log(response);
15389								
15390																	}
15391																};
15392								
15393																sgPopup1829reachGoal("ym(93615077,'reachGoal','Koleso_fortune_send');");
15394											
15395																sgSuccessPopup1829();
15396										
15397																let redirect = {
15398																	url: 'https://psy-muip.ru/thank_you/',
15399																	newtab: '',
15400																	timeout: '10000'
15401																};
15402											
15403																if( typeof redirect != 'undefined' ) {
15404																	sgSuccessRedirect1829(redirect);
15405																}
15406										
15407																return true;
15408
15409															}
15410
15411															if(wheel){
15412																const circle = popup.querySelector('.wheel-circle img');
15413																if(circle) {
15414																	clearInterval(wheelInterval);
15415								
15416																	const random = Math.floor(Math.random() * 100);
15417																	let sectors = [];
15418																	let prize;
15419									
15420																	if(window.innerWidth >= 1040) {
15421													
15422																		sectors.push({
15423																			'from': 1,
15424																			'to': 100,
15425																			'angle': '72',
15426																			'rotation': '144',
15427																			'prize': {
15428																				'label': 'Скидка 30% на любой курс',
15429																				'value': 'Скидка 30% на любой курс'
15430																			}
15431																		});
15432														
15433																		for(let sector of sectors) {
15434																			if(random >= sector.from && random <= sector.to) {
15435																				prize = sector;
15436																			}
15437																		}
15438																	}
15439												
15440																	if(window.innerWidth < 1040) {
15441													
15442																		sectors.push({
15443																			'from': 1,
15444																			'to': 100,
15445																			'angle': '72',
15446																			'rotation': '144',
15447																			'prize': {
15448																				'label': 'Скидка 30% на любой курс',
15449																				'value': 'Скидка 30% на любой курс'
15450																			}
15451																		});
15452														
15453																		for(let sector of sectors) {
15454																			if(random >= sector.from && random <= sector.to) {
15455																				prize = sector;
15456																			}
15457																		}
15458																	}
15459												
15460																	if(prize) {
15461																		const circle = popup.querySelector('.wheel-circle img');
15462																		if(circle) {
15463																			window.prize = {
15464																				'name': 'Приз',
15465																				'label': prize['prize']['label'],
15466																				'value': prize['prize']['value']
15467																			};
15468																			wheelInterval = setInterval(function(){
15469																				wheelAngle += 5;
15470																				circle.setAttribute('style', 'transform: rotate('+ wheelAngle +'deg)');
15471																				if(wheelAngle >= parseInt(prize['rotation']) + parseInt(prize['angle']) / 2 + 360 * 3) {
15472																					let cookie = 'sgPopup1829prize_1779367731='+ encodeURIComponent(prize.prize.label) +'; path=/';
15473									
15474																						let limit;
15475																						if(1 == 0) {
15476																							limit = 60 * 60;
15477																						} else {
15478																							limit = 1 * 60 * 60 * 24;
15479																						}
15480																						cookie += '; max-age='+ limit;
15481																						window.cookie = cookie;
15482																						document.cookie = cookie;
15483																						clearInterval(wheelInterval);
15484																						setTimeout(function(){
15485																							const result = sgPopup1829sendRequest();
15486																							if (callback && typeof callback === 'function') {
15487																								callback(result);
15488																							}
15489																						}, 3000);
15490																					}
15491																				}, 20);
15492																			}
15493																		}
15494									
15495																	}
15496
15497																} else {
15498																	const result = sgPopup1829sendRequest();
15499																	if (callback && typeof callback === 'function') {
15500																		callback(result);
15501																	}
15502																}
15503
15504															}
15505
15506															areaLinks = popup.querySelectorAll('.popup-area[data-type="area-link"]');
15507															if(areaLinks) {
15508																for(let areaLink of areaLinks) {
15509																	areaLink.addEventListener('click', function(){
15510																		if(areaLink.dataset.link && areaLink.dataset.link != '#') {
15511																			if(areaLink.dataset.target == '_blank') {
15512																				window.open(areaLink.dataset.link);
15513																			} else {
15514																				location.href = areaLink.dataset.link
15515																			}
15516																		}
15517																	});
15518																}
15519															}
15520
15521															areaOpeners = popup.querySelectorAll('.popup-area[data-type="area-opener"]');
15522															if(areaOpeners) {
15523																for(let areaOpener of areaOpeners) {
15524																	areaOpener.addEventListener('click', function(){
15525																		if(areaOpener.dataset.popup) {
15526																			if(typeof window['sgPopup' + areaOpener.dataset.popup] == 'function') {
15527																				Fancybox.close();
15528																				window['sgPopup' + areaOpener.dataset.popup]('forceOpen');
15529																			}
15530																		}
15531																	});
15532																}
15533															}
15534
15535															const submitButton = popup.querySelector(".popup-element[data-type='button-submit'] button");
15536															if(submitButton) {
15537																submitButton.addEventListener('click', function(event){
15538
15539																	event.preventDefault();
15540																	submitButton.disabled = true;
15541
15542																	sgPopup1829submit(function(result){
15543																		submitButton.disabled = result;
15544																	});
15545
15546																})
15547															}
15548														}
15549													},
15550													close: () => {
15551														window.sgPopup.opened = false;
15552														window.sgPopup.shown.push(1829);
15553														if(window.sgPopup.queue.length) {
15554															setTimeout(function(){
15555																let popupID = window.sgPopup.queue.shift();
15556																window['sgPopup' + popupID]('forceOpen');
15557															}, 30000);
15558														}
15559								
15560													}
15561												}
15562											})
15563										}
15564									}
15565								}
15566							
15567								function sgSuccessPopup1829() {
15568							
15569									let html;
15570									let closeButton;
15571									if(window.innerWidth >= 1040) {
15572										html = "<noindex id='SGsuccess1829' class='popup-wrapper grid-hidden'><div class='success-area' data-type='close-container' style='position: absolute; top: 3px; left: 1222px; 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: 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(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>";
15573							closeButton = false;
15574									} else {
15575										html = "<noindex id='SGsuccess1829' class='popup-wrapper grid-hidden'><div class='success-area' data-type='close-container' style='position: absolute; top: 4px; left: 352px; 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: 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(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>";
15576							closeButton = false;
15577									}
15578							
15579									Fancybox.close();
15580									new Fancybox([
15581										{
15582											src: html,
15583											type: 'html'
15584										}
15585									], {
15586										dragToClose: false,
15587										closeButton: closeButton,
15588										autoFocus: false,
15589										trapFocus: false,
15590										on: {
15591											done: (fancybox, slide) => {
15592							
15593												const success = document.querySelector("#SGsuccess1829");
15594												if(success) {
15595
15596													buttonLinks = success.querySelectorAll('button[data-type="link"]');
15597													if(buttonLinks) {
15598														for(let buttonLink of buttonLinks) {
15599															buttonLink.addEventListener('click', function(){
15600																if(buttonLink.dataset.link) {
15601																	if(buttonLink.dataset.target == '_blank') {
15602																		window.open(buttonLink.dataset.link);
15603																	} else {
15604																		location.href = buttonLink.dataset.link
15605																	}
15606																}
15607															});
15608														}
15609													}
15610													
15611												}
15612							
15613												setTimeout(function(){
15614													Fancybox.close();
15615												}, 8000);
15616									
15617											},
15618											close: () => {
15619												window.sgPopup.opened = false;
15620											}
15621										}
15622									});
15623								}
15624							
15625								function sgSuccessRedirect1829(redirect) {
15626									setTimeout(function(){
15627										const clickEvent = new MouseEvent('click', {
15628											bubbles: true,
15629											cancelable: true
15630										});
15631										const link = document.createElement('a');
15632										link.setAttribute('href', redirect.url);
15633
15634										if(redirect.newtab == '') {
15635											Fancybox.close();
15636										} else {
15637											link.setAttribute('target', '_blank');
15638										}
15639										document.body.append(link);
15640										link.dispatchEvent(clickEvent);
15641										link.parentNode.removeChild(link);
15642									}, redirect.timeout);
15643								}
15644							</script>
vendor: 1 bytes, line 15644
15644
15645<script>
15646								if(typeof window.sgPopup == 'undefined') {
15647									window.sgPopup = {
15648										opened: false,
15649										queue: [],
15650										shown: [],
15651										elements: {}
15652									};
15653								}
15654						
15655								let timerIntervalSGpopup1845;
15656							
15657								let timerToSGpopup1845 = 1790020800 - Math.round(new Date() / 1000);
15658								
15659								addEventListener('DOMContentLoaded', () => {
15660						
15661									document.body.addEventListener('click', function(event){
15662										if(
15663											event.target.dataset.target == "sgPopup1845"
15664											|| event.target.closest('[data-target="sgPopup1845"]')
15665										) {
15666											Fancybox.close();
15667											sgPopup1845('forceOpen');
15668										}
15669									});
15670
15671									sgPopup1845autoOpen();
15672								});
15673
15674								function sgPopup1845autoOpen() {
15675							
15676								}
15677
15678								function sgPopup1845reachGoal(code) {
15679
15680									function executeGoal(params) {
15681										if(typeof params == 'object') {
15682
15683											eval('ym('+ params.join(',') +');');
15684
15685											let data = {
15686												'goal': params[2],
15687												timestamp: new Date().toISOString()
15688											};
15689
15690											var xmlhr = new XMLHttpRequest();
15691											xmlhr.open('POST', "https://psy-muip.ru/wp-json/generator.conversion/v1/actions/?_method=POST&action=goalLog");
15692											xmlhr.send(JSON.stringify(data));
15693
15694											xmlhr.onreadystatechange = function() {
15695												if (xmlhr.readyState === 4 && xmlhr.status === 200) {
15696													if( urlParams.get('debug') ) {
15697														const response = JSON.parse(xmlhr.response);
15698														console.log(response);
15699													}
15700												}
15701											}
15702
15703										}
15704									}
15705
15706									const goals = code.split(';');
15707									if(goals) {
15708										for(let goal of goals) {
15709											goal = goal.trim();
15710											if(goal != '') {
15711												const regexp = /ym(.*)/;
15712												if( regexp.test(goal) ) {
15713
15714													goal = goal.replace('ym(', '');
15715													goal = goal.replace(')', '');
15716													const params = goal.split(',');
15717													if(params) {
15718
15719														if (typeof window.ym != 'undefined') {
15720															executeGoal(params);
15721														} else {
15722															if(typeof window.popup1845goals == 'undefined') {
15723																window.popup1845goals = [];
15724															}
15725
15726															window.popup1845goals.push({
15727																'metrika': params[0],
15728																'action': params[1],
15729																'id': params[2]
15730															});
15731
15732															if(typeof popup1845interval == 'undefined') {
15733																popup1845interval = setInterval(function(){
15734																	if (typeof window.ym != 'undefined') {
15735																		for(let goal of window.popup1845goals) {
15736																			executeGoal(params);
15737																		}
15738																		window.popup1845goals = [];
15739																		clearInterval(popup1845interval);
15740																	}
15741																}, 1000);
15742															}
15743														}
15744													}
15745												} else {
15746													eval(goal);
15747												}
15748											}
15749										}
15750									}
15751
15752								}
15753
15754								function sgPopup1845(action = false) {
15755
15756									if(!action) return;
15757
15758									if( ['open', 'forceOpen'].includes(action) ) {
15759
15760								
15761										if(action == 'open' && window.sgPopup.shown.includes(1845)) {
15762											return false;
15763										}
15764
15765										if(window.sgPopup.opened) {
15766
15767											if(window.sgPopup.opened != 1845) {
15768												window.sgPopup.queue.push(1845);
15769											}
15770
15771										} else {
15772
15773											window.sgPopup.opened = 1845;
15774
15775											let html;
15776											let closeButton;
15777											if(window.innerWidth >= 1040) {
15778												html = "<noindex id='SGpopup1845' class='popup-wrapper grid-hidden'><div class='popup-area' data-type='area-container' style='position: relative; top: 255px; left: 20px; margin-left: ; width: 435px; height: 236px; '><div class='popup-element' data-type='editor' data-element-id='100447' style='padding-top: 0px;padding-right: 0px;padding-bottom: 0px;padding-left: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 8px;margin-left: 0px;' data-p-margin-bottom='20px' data-p-line-height='120%'><style>#SGpopup1845 .popup-element[data-element-id='100447'][data-type='editor'] p {margin-bottom: 20px}#SGpopup1845 .popup-element[data-element-id='100447'][data-type='editor'] * {line-height: 120%}</style><div class='popupElement-content'><p><span style=\"color:hsl(0,0%,0%);font-size:14px;\">Введите ваши данные для получения доступа:</span></p></div></div><div class='popup-element' data-type='input' style='margin-top: 0px;margin-right: 0px;margin-bottom: 3px;margin-left: 0px;'><div class='popupElement-content'><input type=\"text\" placeholder=\"Введите ваш эл. адрес\" data-name=\"Почта\" data-mask=\"email\" required=\"\" style=\"background-color: rgb(255, 255, 255); border-color: rgb(135, 135, 135); font-size: 17px; color: rgb(104, 104, 104); padding: 8px 8px 8px 12px; border-radius: 8px;\"></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=\"+7 (___) ___ - __ - __\" data-name=\"Телефон\" data-mask=\"phone_intl\" required=\"\" style=\"background-color: rgb(255, 255, 255); border-color: rgb(135, 135, 135); font-size: 17px; color: rgb(120, 120, 120); padding: 8px 12px; border-radius: 8px;\"></div></div><div class='popup-element' data-type='button-submit' style='margin-top: 7px;margin-right: 0px;margin-bottom: 2px;margin-left: 0px;'><div class='popupElement-content'><button type=\"submit\" style=\"background-color: rgb(190, 27, 50); color: rgb(0, 0, 0); font-size: 19px; border-radius: 8px; padding: 18px 22px;\" onclick=\"\"><div class=\"buttonSubmit-content\"><p><span style=\"color:hsl(0,0%,100%);font-size:22px;\">Забрать место на обучение&nbsp;</span></p></div></button></div></div><div class='popup-element' data-type='agree' data-element-id='630681' data-fill='#9e9e9eff' data-mode='default' data-mode='default' style='margin-top: 8px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;'><style>#SGpopup1845 .popup-element[data-element-id='630681'][data-type='agree'] .popupElement-content input[type='checkbox'] + label:before {border-color: #9e9e9eff;} #SGpopup1845 .popup-element[data-element-id='630681'][data-type='agree'] .popupElement-content input[type='checkbox'] + label:after {background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHhtbG5zOnhsaW5rPSdodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rJyB2ZXJzaW9uPScxLjEnIHg9JzBweCcgeT0nMHB4JyB3aWR0aD0nNTEycHgnIGhlaWdodD0nNTEycHgnIHZpZXdCb3g9JzAgMCA0NDIuNTMzIDQ0Mi41MzMnIHN0eWxlPSdlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDQ0Mi41MzMgNDQyLjUzMycgeG1sOnNwYWNlPSdwcmVzZXJ2ZSc+PHBhdGggZD0nTTQzNC41MzksOTguNDk5bC0zOC44MjgtMzguODI4Yy01LjMyNC01LjMyOC0xMS43OTktNy45OTMtMTkuNDEtNy45OTNjLTcuNjE4LDAtMTQuMDkzLDIuNjY1LTE5LjQxNyw3Ljk5M0wxNjkuNTksMjQ3LjI0OCBsLTgzLjkzOS04NC4yMjVjLTUuMzMtNS4zMy0xMS44MDEtNy45OTItMTkuNDEyLTcuOTkyYy03LjYxNiwwLTE0LjA4NywyLjY2Mi0xOS40MTcsNy45OTJMNy45OTQsMjAxLjg1MiAgIEMyLjY2NCwyMDcuMTgxLDAsMjEzLjY1NCwwLDIyMS4yNjljMCw3LjYwOSwyLjY2NCwxNC4wODgsNy45OTQsMTkuNDE2bDEwMy4zNTEsMTAzLjM0OWwzOC44MzEsMzguODI4IGM1LjMyNyw1LjMzMiwxMS44LDcuOTk0LDE5LjQxNCw3Ljk5NGM3LjYxMSwwLDE0LjA4NC0yLjY2OSwxOS40MTQtNy45OTRsMzguODMtMzguODI4TDQzNC41MzksMTM3LjMzIGM1LjMyNS01LjMzLDcuOTk0LTExLjgwMiw3Ljk5NC0xOS40MTdDNDQyLjUzNywxMTAuMzAyLDQzOS44NjQsMTAzLjgyOSw0MzQuNTM5LDk4LjQ5OXonIGZpbGw9JyM5ZTllOWVmZicvPjwvc3ZnPg==);}</style><div class='popupElement-content'><input type=\"checkbox\" checked=\"\" required=\"\" tabindex=\"-1\" data-orig-tabindex=\"-1\"><label><p><span style=\"color:hsl(0,0%,18%);font-size:9px;\">Я согласен на обработку моих персональных данных. 
С&nbsp;</span><a href=\"https://psy-muip.ru/agreement\" data-fpl-component=\"primitive\" target=\"_blank\" rel=\"noopener\"><span style=\"color:hsl(0,0%,18%);font-size:9px;\"><u>Политикой обработки персональных данных</u></span></a><span style=\"color:hsl(0,0%,18%);font-size:9px;\">&nbsp;ознакомлен</span></p></label></div></div><div class='popup-element' data-type='editor' data-element-id='939993' style='padding-top: 0px;padding-right: 0px;padding-bottom: 0px;padding-left: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;' data-p-margin-bottom='13px' data-p-line-height='80%'><style>#SGpopup1845 .popup-element[data-element-id='939993'][data-type='editor'] p {margin-bottom: 13px}#SGpopup1845 .popup-element[data-element-id='939993'][data-type='editor'] * {line-height: 80%}</style><div class='popupElement-content'><p><a href=\"https://psy-muip.ru/politika\" data-fpl-component=\"primitive\" target=\"_blank\" rel=\"noopener\"><span style=\"color:hsl(0,0%,18%);font-size:9px;\"><u>Политика&nbsp;в отношении обработки персональных данных</u></span></a><span style=\"color:hsl(0,0%,18%);font-size:9px;\"> | </span><a href=\"https://psy-muip.ru/custom\" data-fpl-component=\"primitive\" target=\"_blank\" rel=\"noopener\"><span style=\"color:hsl(0,0%,18%);font-size:9px;\"><u>Пользовательское соглашение</u></span></a><br><a href=\"https://psy-muip.ru/agreement\" data-fpl-component=\"primitive\" target=\"_blank\" rel=\"noopener\"><span style=\"color:hsl(0,0%,18%);font-size:9px;\"><u>Согласие на обработку персональных данных</u></span></a><span style=\"color:hsl(0,0%,18%);font-size:9px;\"> | </span><a href=\"https://psy-muip.ru/rassylka\" data-fpl-component=\"primitive\" target=\"_blank\" rel=\"noopener\"><span style=\"color:hsl(0,0%,18%);font-size:9px;\"><u>Согласие на рассылку материалов</u></span></a></p></div></div></div><div class='popup-area' data-type='close-container' style='position: absolute; top: 31px; left: 980px; 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: 36px; height: 36px; 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: rgba(255, 14, 14, 0);\"><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='1845'><input type='hidden' name='projectID' value='453'><input type='hidden' name='custom_utm_source'><input type='hidden' name='custom_utm_medium'><input type='hidden' name='custom_utm_campaign'><input type='hidden' name='custom_utm_content'><input type='hidden' name='custom_utm_term'></noindex>";
15779								
15780												closeButton = false;
15781										
15782											} else {
15783								
15784												html = "<noindex id='SGpopup1845' class='popup-wrapper grid-hidden'><div class='popup-area' data-type='area-container' style='position: relative; top: 242px; left: 7px; margin-left: ; width: 344.867px; height: 221px; '><div class='popup-element' data-type='editor' data-element-id='590191' style='padding-top: 0px;padding-right: 0px;padding-bottom: 0px;padding-left: 0px;margin-top: 2px;margin-right: 0px;margin-bottom: 8px;margin-left: 0px;' data-p-margin-bottom='20px' data-p-line-height='120%'><style>#SGpopup1845 .popup-element[data-element-id='590191'][data-type='editor'] p {margin-bottom: 20px}#SGpopup1845 .popup-element[data-element-id='590191'][data-type='editor'] * {line-height: 120%}</style><div class='popupElement-content'><p><span style=\"color:hsl(0,0%,0%);font-size:12px;\">Введите ваши данные для получения доступа:</span></p></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=\"Ваш e-mail, например: [email protected]\" data-name=\"Почта\" data-mask=\"email\" required=\"\" style=\"background-color: rgb(255, 255, 255); border-color: rgb(227, 227, 227); font-size: 17px; color: rgb(104, 104, 104); padding: 5px 5px 5px 9px; border-radius: 8px;\"></div></div><div class='popup-element' data-type='input' style='margin-top: 0px;margin-right: 0px;margin-bottom: 2px;margin-left: 0px;'><div class='popupElement-content'><input type=\"text\" placeholder=\"+7 (___) ___ - __ - __\" data-name=\"Телефон\" data-mask=\"phone_intl\" required=\"\" style=\"background-color: rgb(255, 255, 255); border-color: rgb(225, 225, 226); font-size: 17px; color: rgb(120, 120, 120); padding: 5px; border-radius: 8px;\"></div></div><div class='popup-element' data-type='button-submit' style='margin-top: 2px;margin-right: 0px;margin-bottom: 2px;margin-left: 0px;'><div class='popupElement-content'><button type=\"submit\" style=\"background-color: rgb(190, 27, 50); color: rgb(0, 0, 0); font-size: 19px; border-radius: 8px; padding: 15px 14px;\" onclick=\"\"><div class=\"buttonSubmit-content\"><p><span style=\"color:hsl(0,0%,100%);font-size:18px;\">Занять место на обучение</span></p></div></button></div></div><div class='popup-element' data-type='agree' data-element-id='859872' data-fill='#9e9e9eff' data-mode='default' data-mode='default' style='margin-top: 0px;margin-right: 0px;margin-bottom: 4px;margin-left: 0px;'><style>#SGpopup1845 .popup-element[data-element-id='859872'][data-type='agree'] .popupElement-content input[type='checkbox'] + label:before {border-color: #9e9e9eff;} #SGpopup1845 .popup-element[data-element-id='859872'][data-type='agree'] .popupElement-content input[type='checkbox'] + label:after {background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHhtbG5zOnhsaW5rPSdodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rJyB2ZXJzaW9uPScxLjEnIHg9JzBweCcgeT0nMHB4JyB3aWR0aD0nNTEycHgnIGhlaWdodD0nNTEycHgnIHZpZXdCb3g9JzAgMCA0NDIuNTMzIDQ0Mi41MzMnIHN0eWxlPSdlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDQ0Mi41MzMgNDQyLjUzMycgeG1sOnNwYWNlPSdwcmVzZXJ2ZSc+PHBhdGggZD0nTTQzNC41MzksOTguNDk5bC0zOC44MjgtMzguODI4Yy01LjMyNC01LjMyOC0xMS43OTktNy45OTMtMTkuNDEtNy45OTNjLTcuNjE4LDAtMTQuMDkzLDIuNjY1LTE5LjQxNyw3Ljk5M0wxNjkuNTksMjQ3LjI0OCBsLTgzLjkzOS04NC4yMjVjLTUuMzMtNS4zMy0xMS44MDEtNy45OTItMTkuNDEyLTcuOTkyYy03LjYxNiwwLTE0LjA4NywyLjY2Mi0xOS40MTcsNy45OTJMNy45OTQsMjAxLjg1MiAgIEMyLjY2NCwyMDcuMTgxLDAsMjEzLjY1NCwwLDIyMS4yNjljMCw3LjYwOSwyLjY2NCwxNC4wODgsNy45OTQsMTkuNDE2bDEwMy4zNTEsMTAzLjM0OWwzOC44MzEsMzguODI4IGM1LjMyNyw1LjMzMiwxMS44LDcuOTk0LDE5LjQxNCw3Ljk5NGM3LjYxMSwwLDE0LjA4NC0yLjY2OSwxOS40MTQtNy45OTRsMzguODMtMzguODI4TDQzNC41MzksMTM3LjMzIGM1LjMyNS01LjMzLDcuOTk0LTExLjgwMiw3Ljk5NC0xOS40MTdDNDQyLjUzNywxMTAuMzAyLDQzOS44NjQsMTAzLjgyOSw0MzQuNTM5LDk4LjQ5OXonIGZpbGw9JyM5ZTllOWVmZicvPjwvc3ZnPg==);}</style><div class='popupElement-content'><input type=\"checkbox\" checked=\"\" required=\"\" tabindex=\"-1\" data-orig-tabindex=\"-1\"><label><p><span style=\"color:hsl(0,0%,18%);
15784font-size:7px;\">Я согласен на обработку моих персональных данных. 
С&nbsp;</span><a href=\"https://psy-muip.ru/agreement\" data-fpl-component=\"primitive\" target=\"_blank\" rel=\"noopener\"><span style=\"color:hsl(0,0%,18%);font-size:7px;\"><u>Политикой обработки персональных данных</u></span></a><span style=\"color:hsl(0,0%,18%);font-size:7px;\">&nbsp;ознакомлен</span></p></label></div></div><div class='popup-element' data-type='editor' data-element-id='922829' style='padding-top: 0px;padding-right: 0px;padding-bottom: 0px;padding-left: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;' data-p-margin-bottom='13px' data-p-line-height='80%'><style>#SGpopup1845 .popup-element[data-element-id='922829'][data-type='editor'] p {margin-bottom: 13px}#SGpopup1845 .popup-element[data-element-id='922829'][data-type='editor'] * {line-height: 80%}</style><div class='popupElement-content'><p><a href=\"https://psy-muip.ru/politika\" data-fpl-component=\"primitive\" target=\"_blank\" rel=\"noopener\"><span style=\"color:hsl(0,0%,18%);font-size:7px;\"><u>Политика&nbsp;в отношении обработки персональных данных</u></span></a><span style=\"color:hsl(0,0%,18%);font-size:7px;\"> | </span><a href=\"https://psy-muip.ru/custom\" data-fpl-component=\"primitive\" target=\"_blank\" rel=\"noopener\"><span style=\"color:hsl(0,0%,18%);font-size:7px;\"><u>Пользовательское соглашение</u></span></a><br><a href=\"https://psy-muip.ru/agreement\" data-fpl-component=\"primitive\" target=\"_blank\" rel=\"noopener\"><span style=\"color:hsl(0,0%,18%);font-size:7px;\"><u>Согласие на обработку персональных данных</u></span></a><span style=\"color:hsl(0,0%,18%);font-size:7px;\"> | </span><a href=\"https://psy-muip.ru/rassylka\" data-fpl-component=\"primitive\" target=\"_blank\" rel=\"noopener\"><span style=\"color:hsl(0,0%,18%);font-size:7px;\"><u>Согласие на рассылку материалов</u></span></a></p></div></div></div><div class='popup-area' data-type='close-container' style='position: absolute; top: -39px; left: 379px; margin-left: -40px; width: 40px; height: 40px; '><div class='popup-element' data-type='button-close' style=''><div class='popupElement-content'></div></div></div><input type='hidden' name='popupID' value='1845'><input type='hidden' name='projectID' value='453'><input type='hidden' name='custom_utm_source'><input type='hidden' name='custom_utm_medium'><input type='hidden' name='custom_utm_campaign'><input type='hidden' name='custom_utm_content'><input type='hidden' name='custom_utm_term'></noindex>";
15785								
15786												closeButton = true;
15787										
15788											}
15789								
15790											dateFrom = 1773187200 * 1000;
15791											if(dateFrom < Date.now()) {
15792												do {
15793													dateFrom += 5 * 24 * 60 * 60 * 1000;
15794												} while (dateFrom < Date.now());
15795											}
15796
15797											for (const match of html.matchAll(/{date((\+|\-)([0-9]*))?}/g)) {
15798												dateTo = dateFrom;
15799												if(typeof match[1] != 'undefined') {
15800													dateTo += match[1] * 24 * 60 * 60 * 1000;
15801												}
15802												dateTo = new Date(dateTo);
15803
15804												formatDate = '{day} {month} ';
15805												if(formatDate.indexOf('{day}') != -1) {
15806													day = dateTo.getDate();
15807													if("number_full" == "number_full") {
15808														if(day < 10) {
15809															day = '0' + day;
15810														}
15811													}
15812													formatDate = formatDate.replace('{day}', day);
15813												}
15814
15815												if(formatDate.indexOf('{month}') != -1) {
15816													month = dateTo.getMonth() + 1;
15817													if("text_genitive" == "number_full") {
15818														if(month < 10) {
15819															month = '0' + month;
15820														}
15821													} else if("text_genitive" == "text_nominative") {
15822														let months = {
15823															1: 'январь',
15824															2: 'февраль',
15825															3: 'март',
15826															4: 'апрель',
15827															5: 'май',
15828															6: 'июнь',
15829															7: 'июль',
15830															8: 'август',
15831															9: 'сентябрь',
15832															10: 'октябрь',
15833															11: 'ноябрь',
15834															12: 'декабрь'
15835														};
15836														month = months[month];
15837													} else if("text_genitive" == "text_genitive") {
15838														let months = {
15839															1: 'января',
15840															2: 'февраля',
15841															3: 'марта',
15842															4: 'апреля',
15843															5: 'мая',
15844															6: 'июня',
15845															7: 'июля',
15846															8: 'августа',
15847															9: 'сентября',
15848															10: 'октября',
15849															11: 'ноября',
15850															12: 'декабря'
15851														};
15852														month = months[month];
15853													}
15854													formatDate = formatDate.replace('{month}', month);
15855												}
15856
15857												if(formatDate.indexOf('{year}') != -1) {
15858													year = dateTo.getFullYear();
15859													if("number_full" == "number_short") {
15860														year = year.toString().substr(-2);
15861													}
15862													formatDate = formatDate.replace('{year}', year);
15863												}
15864												html = html.replaceAll(match[0], formatDate);
15865											};
15866										
15867											Fancybox.close();
15868											new Fancybox([
15869												{
15870													src: html,
15871													type: 'html'
15872												}
15873											], {
15874												dragToClose: false,
15875												closeButton: closeButton,
15876												compact: false,
15877												autoFocus: false,
15878												trapFocus: false,
15879												on: {
15880													done: (fancybox, slide) => {
15881								
15882													sgPopup1845reachGoal("ym(93615077,'reachGoal','Popup_topbar_show');");
15883										
15884													const popup = document.querySelector("#SGpopup1845");
15885													if(popup) {
15886
15887														const url = new URL(location.href);
15888														window.utm_source = url.searchParams.get('utm_source');
15889														window.utm_medium = url.searchParams.get('utm_medium');
15890														window.utm_campaign = url.searchParams.get('utm_campaign');
15891														window.utm_term = url.searchParams.get('utm_term');
15892														window.utm_content = url.searchParams.get('utm_content');
15893
15894								
15895														const custom_utm_source = popup.querySelector('input[name="custom_utm_source"]');
15896														if(custom_utm_source && typeof 'site' != undefined) {
15897															custom_utm_source.value = 'site';
15898														}
15899											
15900														const custom_utm_medium = popup.querySelector('input[name="custom_utm_medium"]');
15901														if(custom_utm_medium && typeof 'seo' != undefined) {
15902															custom_utm_medium.value = 'seo';
15903														}
15904											
15905														const custom_utm_campaign = popup.querySelector('input[name="custom_utm_campaign"]');
15906														if(custom_utm_campaign && typeof 'genegator_TOT' != undefined) {
15907															custom_utm_campaign.value = 'genegator_TOT';
15908														}
15909											
15910														const custom_utm_content = popup.querySelector('input[name="custom_utm_content"]');
15911														if(custom_utm_content && typeof 'muip' != undefined) {
15912															custom_utm_content.value = 'muip';
15913														}
15914											
15915														const custom_utm_term = popup.querySelector('input[name="custom_utm_term"]');
15916														if(custom_utm_term && typeof 'popup' != undefined) {
15917															custom_utm_term.value = 'popup';
15918														}
15919											
15920														openerLinks = popup.querySelectorAll('a[data-target]');
15921														if(openerLinks) {
15922															for(let openerLink of openerLinks) {
15923																openerLink.addEventListener('click', function(){
15924																	if(openerLink.dataset.target) {
15925																		if(typeof window[openerLink.dataset.target] == 'function') {
15926																			Fancybox.close();
15927																			window[openerLink.dataset.target]('open');
15928																		}
15929																	}
15930																});
15931															}
15932														}
15933
15934														linkImages = popup.querySelectorAll('.image-wrapper[data-type="link"]');
15935														if(linkImages) {
15936															for(let linkImage of linkImages) {
15937																linkImage.addEventListener('click', function(){
15938																	if(linkImage.dataset.link) {
15939																		if(linkImage.dataset.target == '_blank') {
15940																			window.open(linkImage.dataset.link);
15941																		} else {
15942																			location.href = linkImage.dataset.link
15943																		}
15944																	}
15945																});
15946															}
15947														}
15948
15949														openerImages = popup.querySelectorAll('.image-wrapper[data-type="opener"]');
15950														if(openerImages) {
15951															for(let openerImage of openerImages) {
15952																openerImage.addEventListener('click', function(){
15953																	if(openerImage.dataset.popup) {
15954																		if(typeof window['sgPopup' + openerImage.dataset.popup] == 'function') {
15955																			Fancybox.close();
15956																			window['sgPopup' + openerImage.dataset.popup]('forceOpen');
15957																		}
15958																	}
15959																});
15960															}
15961														}
15962
15963														submitImages = popup.querySelectorAll('.image-wrapper[data-type="submitter"]');
15964														if(submitImages) {
15965															for(let submitImage of submitImages) {
15966																submitImage.addEventListener('click', function(){
15967
15968																	if(submitImage.classList.contains('disabled')) return false;
15969
15970																	submitImage.classList.add('disabled');
15971
15972																	sgPopup1845submit(function(result){
15973																		submitImage.classList.toggle('disabled', result);
15974																	});
15975
15976																});
15977															}
15978														}
15979
15980														const linkButtons = popup.querySelectorAll('button[data-type="link"]');
15981														if(linkButtons) {
15982															for(let linkButton of linkButtons) {
15983																linkButton.addEventListener('click', function(){
15984																	if(linkButton.dataset.link && linkButton.dataset.link != '#') {
15985								
15986																		if(linkButton.dataset.target == '_blank') {
15987																			window.open(linkButton.dataset.link);
15988																		} else {
15989																			location.href = linkButton.dataset.link
15990																		}
15991																	}
15992																});
15993															}
15994														}
15995
15996														openerButtons = popup.querySelectorAll('button[data-type="opener"]');
15997														if(openerButtons) {
15998															for(let openerButton of openerButtons) {
15999																openerButton.addEventListener('click', function(){
16000									
16001																	if(openerButton.dataset.popup) {
16002																		if(typeof window['sgPopup' + openerButton.dataset.popup] == 'function') {
16003																			Fancybox.close();
16004																			window['sgPopup' + openerButton.dataset.popup]('forceOpen');
16005																		}
16006																	}
16007																});
16008															}
16009														}
16010
16011														const maskedFields = popup.querySelectorAll('input[data-mask]');
16012														if(maskedFields) {
16013															for(let maskedField of maskedFields) {
16014																if(maskedField.dataset.mask == 'phone') {
16015																	Inputmask('+7 (999) 999-99-99', {
16016																		clearIncomplete: true,
16017																		greedy: false
16018																	}).mask(maskedField);
16019								
16020																} else if(maskedField.dataset.mask == 'phone_intl') {
16021																	maskedField.removeAttribute('placeholder');
16022																	phoneIntl = window.intlTelInput(maskedField, {
16023																		initialCountry: 'ru',
16024																		separateDialCode: true,
16025																		strictMode: true,
16026																		formatOnDisplay: true,
16027																		useFullscreenPopup: false,
16028																		i18n: {
16029																			searchPlaceholder: 'Поиск',
16030																			ad: 'Андорра',
16031																			ae: 'ОАЭ',
16032																			af: 'Афганистан',
16033																			ag: 'Антигуа и Барбуда',
16034																			ai: 'Ангилья',
16035																			al: 'Албания',
16036																			am: 'Армения',
16037																			ao: 'Ангола',
16038																			ar: 'Аргентина',
16039																			as: 'Американское Самоа',
16040																			at: 'Австрия',
16041																			au: 'Австралия',
16042																			aw: 'Аруба',
16043																			ax: 'Аландские о-ва',
16044																			az: 'Азербайджан',
16045																			ba: 'Босния и Герцеговина',
16046																			bb: 'Барбадос',
16047																			bd: 'Бангладеш',
16048																			be: 'Бельгия',
16049																			bf: 'Буркина-Фасо',
16050																			bg: 'Болгария',
16051																			bh: 'Бахрейн',
16052																			bi: 'Бурунди',
16053																			bj: 'Бенин',
16054																			bl: 'Сен-Бартелеми',
16055																			bm: 'Бермудские о-ва',
16056																			bn: 'Бруней-Даруссалам',
16057																			bo: 'Боливия',
16058																			bq: 'Бонэйр, Синт-Эстатиус и Саба',
16059																			br: 'Бразилия',
16060																			bs: 'Багамы',
16061																			bt: 'Бутан',
16062																			bw: 'Ботсвана',
16063																			by: 'Беларусь',
16064																			bz: 'Белиз',
16065																			ca: 'Канада',
16066																			cc: 'Кокосовые о-ва',
16067																			cd: 'Конго - Киншаса',
16068																			cf: 'Центрально-Африканская Республика',
16069																			cg: 'Конго - Браззавиль',
16070																			ch: 'Швейцария',
16071																			ci: 'Кот-д’Ивуар',
16072																			ck: 'Острова Кука',
16073																			cl: 'Чили',
16074																			cm: 'Камерун',
16075																			cn: 'Китай',
16076																			co: 'Колумбия',
16077																			cr: 'Коста-Рика',
16078																			cu: 'Куба',
16079																			cv: 'Кабо-Верде',
16080																			cw: 'Кюрасао',
16081																			cx: 'о-в Рождества',
16082																			cy: 'Кипр',
16083																			cz: 'Чехия',
16084																			de: 'Германия',
16085																			dj: 'Джибути',
16086																			dk: 'Дания',
16087																			dm: 'Доминика',
16088																			do: 'Доминиканская Республика',
16089																			dz: 'Алжир',
16090																			ec: 'Эквадор',
16091																			ee: 'Эстония',
16092																			eg: 'Египет',
16093																			eh: 'Западная Сахара',
16094																			er: 'Эритрея',
16095																			es: 'Испания',
16096																			et: 'Эфиопия',
16097																			fi: 'Финляндия',
16098																			fj: 'Фиджи',
16099																			fk: 'Фолклендские о-ва',
16100																			fm: 'Федеративные Штаты Микронезии',
16101																			fo: 'Фарерские о-ва',
16102																			fr: 'Франция',
16103																			ga: 'Габон',
16104																			gb: 'Великобритания',
16105																			gd: 'Гренада',
16106																			ge: 'Грузия',
16107																			gf: 'Французская Гвиана',
16108																			gg: 'Гернси',
16109																			gh: 'Гана',
16110																			gi: 'Гибралтар',
16111																			gl: 'Гренландия',
16112																			gm: 'Гамбия',
16113																			gn: 'Гвинея',
16114																			gp: 'Гваделупа',
16115																			gq: 'Экваториальная Гвинея',
16116																			gr: 'Греция',
16117																			gt: 'Гватемала',
16118																			gu: 'Гуам',
16119																			gw: 'Гвинея-Бисау',
16120																			gy: 'Гайана',
16121																			hk: 'Гонконг (САР)',
16122																			hn: 'Гондурас',
16123																			hr: 'Хорватия',
16124																			ht: 'Гаити',
16125																			hu: 'Венгрия',
16126																			id: 'Индонезия',
16127																			ie: 'Ирландия',
16128																			il: 'Израиль',
16129																			im: 'о-в Мэн',
16130																			in: 'Индия',
16131																			io: 'Британская территория в Индийском океане',
16132																			iq: 'Ирак',
16133																			ir: 'Иран',
16134																			is: 'Исландия',
16135																			it: 'Италия',
16136																			je: 'Джерси',
16137																			jm: 'Ямайка',
16138																			jo: 'Иордания',
16139																			jp: 'Япония',
16140																			ke: 'Кения',
16141																			kg: 'Киргизия',
16142																			kh: 'Камбоджа',
16143																			ki: 'Кирибати',
16144																			km: 'Коморы',
16145																			kn: 'Сент-Китс и Невис',
16146																			kp: 'КНДР',
16147																			kr: 'Республика Корея',
16148																			kw: 'Кувейт',
16149																			ky: 'Острова Кайман',
16150																			kz: 'Казахстан',
16151																			la: 'Лаос',
16152																			lb: 'Ливан',
16153																			lc: 'Сент-Люсия',
16154																			li: 'Лихтенштейн',
16155																			lk: 'Шри-Ланка',
16156																			lr: 'Либерия',
16157																			ls: 'Лесото',
16158																			lt: 'Литва',
16159																			lu: 'Люксембург',
16160																			lv: 'Латвия',
16161																			ly: 'Ливия',
16162																			ma: 'Марокко',
16163																			mc: 'Монако',
16164																			md: 'Молдова',
16165																			me: 'Черногория',
16166																			mf: 'Сен-Мартен',
16167																			mg: 'Мадагаскар',
16168																			mh: 'Маршалловы Острова',
16169																			mk: 'Северная Македония',
16170																			ml: 'Мали',
16171																			mm: 'Мьянма (Бирма)',
16172																			mn: 'Монголия',
16173																			mo: 'Макао (САР)',
16174																			mp: 'Северные Марианские о-ва',
16175																			mq: 'Мартиника',
16176																			mr: 'Мавритания',
16177																			ms: 'Монтсеррат',
16178																			mt: 'Мальта',
16179																			mu: 'Маврикий',
16180																			mv: 'Мальдивы',
16181																			mw: 'Малави',
16182																			mx: 'Мексика',
16183																			my: 'Малайзия',
16184																			mz: 'Мозамбик',
16185																			na: 'Намибия',
16186																			nc: 'Новая Каледония',
16187																			ne: 'Нигер',
16188																			nf: 'о-в Норфолк',
16189																			ng: 'Нигерия',
16190																			ni: 'Никарагуа',
16191																			nl: 'Нидерланды',
16192																			no: 'Норвегия',
16193																			np: 'Непал',
16194																			nr: 'Науру',
16195																			nu: 'Ниуэ',
16196																			nz: 'Новая Зеландия',
16197																			om: 'Оман',
16198																			pa: 'Панама',
16199																			pe: 'Перу',
16200																			pf: 'Французская Полинезия',
16201																			pg: 'Папуа — Новая Гвинея',
16202																			ph: 'Филиппины',
16203																			pk: 'Пакистан',
16204																			pl: 'Польша',
16205																			pm: 'Сен-Пьер и Микелон',
16206																			pr: 'Пуэрто-Рико',
16207																			ps: 'Палестинские территории',
16208																			pt: 'Португалия',
16209																			pw: 'Палау',
16210																			py: 'Парагвай',
16211																			qa: 'Катар',
16212																			re: 'Реюньон',
16213																			ro: 'Румыния',
16214																			rs: 'Сербия',
16215																			ru: 'Россия',
16216																			rw: 'Руанда',
16217																			sa: 'Саудовская Аравия',
16218																			sb: 'Соломоновы Острова',
16219																			sc: 'Сейшельские Острова',
16220																			sd: 'Судан',
16221																			se: 'Швеция',
16222																			sg: 'Сингапур',
16223																			sh: 'о-в Св. Елены',
16224																			si: 'Словения',
16225																			sj: 'Шпицберген и Ян-Майен',
16226																			sk: 'Словакия',
16227																			sl: 'Сьерра-Леоне',
16228																			sm: 'Сан-Марино',
16229																			sn: 'Сенегал',
16230																			so: 'Сомали',
16231																			sr: 'Суринам',
16232																			ss: 'Южный Судан',
16233																			st: 'Сан-Томе и Принсипи',
16234																			sv: 'Сальвадор',
16235																			sx: 'Синт-Мартен',
16236																			sy: 'Сирия',
16237																			sz: 'Эсватини',
16238																			tc: 'о-ва Тёркс и Кайкос',
16239																			td: 'Чад',
16240																			tg: 'Того',
16241																			th: 'Таиланд',
16242																			tj: 'Таджикистан',
16243																			tk: 'Токелау',
16244																			tl: 'Восточный Тимор',
16245																			tm: 'Туркменистан',
16246																			tn: 'Тунис',
16247																			to: 'Тонга',
16248																			tr: 'Турция',
16249																			tt: 'Тринидад и Тобаго',
16250																			tv: 'Тувалу',
16251																			tw: 'Тайвань',
16252																			tz: 'Танзания',
16253																			ua: 'Украина',
16254																			ug: 'Уганда',
16255																			us: 'Соединенные Штаты',
16256																			uy: 'Уругвай',
16257																			uz: 'Узбекистан',
16258																			va: 'Ватикан',
16259																			vc: 'Сент-Винсент и Гренадины',
16260																			ve: 'Венесуэла',
16261																			vg: 'Виргинские о-ва (Великобритания)',
16262																			vi: 'Виргинские о-ва (США)',
16263																			vn: 'Вьетнам',
16264																			vu: 'Вануату',
16265																			wf: 'Уоллис и Футуна',
16266																			ws: 'Самоа',
16267																			ye: 'Йемен',
16268																			yt: 'Майотта',
16269																			za: 'Южно-Африканская Республика',
16270																			zm: 'Замбия',
16271																			zw: 'Зимбабве',
16272																			ac: 'Остров Вознесения',
16273																			xk: 'Косово'
16274																		}
16275																	});
16276																	window.sgPopup.elements.intl = phoneIntl;
16277									
16278																} else if(maskedField.dataset.mask == 'email') {
16279																	Inputmask({
16280																	alias: 'email',
16281																		clearIncomplete: true,
16282																		greedy: false
16283																	}).mask(maskedField);
16284																}
16285															}
16286														}
16287
16288														const fileInputs = popup.querySelectorAll('.popup-element[data-type="input-file"] input[type="file"]');
16289														if(fileInputs) {
16290															for(let fileInput of fileInputs) {
16291																let label = fileInput.nextElementSibling;
16292																if(label) {
16293																	fileInput.addEventListener('change', function() {
16294																		if (fileInput.files && fileInput.files.length > 0) {
16295																			const maxSize = fileInput.dataset.limit;
16296																			if(fileInput.files[0].size <= maxSize * 1024 * 1024) {
16297																				reader = new FileReader();
16298																				reader.onload = function(){
16299																					const span = label.querySelector('span');
16300																					if(span) {
16301																						span.innerHTML = fileInput.files[0].name;
16302																					}
16303																					fileInput.dataset.content = reader.result;
16304																				};
16305																				reader.readAsDataURL(fileInput.files[0]);
16306																			} else {
16307																				alert('Превышен максимальный размер файла - '+ maxSize +'мб');
16308																			}
16309																		}
16310																	});
16311																	label.addEventListener('click', function(event){
16312																		event.preventDefault();
16313																		fileInput.click();
16314																	});
16315																}
16316															}
16317														}
16318
16319														const agrees = popup.querySelectorAll('.popup-element[data-type="agree"] input[type="checkbox"]');
16320														if(agrees) {
16321															for(let agree of agrees) {
16322																let parent = agree.closest('.popup-element');
16323																if(parent) {
16324																	let label = agree.nextElementSibling;
16325																	if(label) {
16326																		label.addEventListener('click', function(event){
16327																			event.preventDefault();
16328																			agree.checked = !agree.checked;
16329
16330
16331																			if(parent.dataset.mode == 'general') {
16332																				const agreeAll = agree;
16333																				for(let agree of agrees) {
16334																					agree.checked = agreeAll.checked;
16335																				}
16336																			}
16337
16338																			let agreeCount = 0;
16339																			let agreeSelected = 0;
16340																			for(let agree of agrees) {
16341																				const parent = agree.closest('.popup-element');
16342																				if(parent && parent.dataset.mode != 'general') {
16343																					agreeCount++;
16344																					if(agree.checked) {
16345																						agreeSelected++;
16346																					}
16347																				}
16348																			}
16349
16350																			const general = popup.querySelector('.popup-element[data-type="agree"][data-mode="general"]');
16351																			if(general) {
16352																				general.classList.toggle('all-selected', agreeSelected == agreeCount);
16353																				general.classList.toggle('no-selected', agreeSelected == 0);
16354																				general.classList.toggle('some-selected', agreeSelected > 0 && agreeSelected < agreeCount);
16355
16356																				const checkbox = general.querySelector('input[type="checkbox"]');
16357																				if(checkbox) {
16358																					if(agreeSelected == agreeCount) {
16359																						checkbox.checked = true;
16360																					} else {
16361																						checkbox.checked = false;
16362																					}
16363																				}
16364																			}
16365																		});
16366																		const links = label.querySelectorAll('a');
16367																		if(links) {
16368																			for(let link of links) {
16369																				link.addEventListener('click', function(event){
16370																					event.stopPropagation()
16371																				});
16372																			}
16373																		}
16374																	}
16375																}
16376															}
16377														}
16378
16379														const wheel = popup.querySelector('.popup-element[data-type="wheel"]');
16380														let wheelInterval;
16381														let wheelAngle = 0;
16382														if(wheel){
16383															const circle = popup.querySelector('.wheel-circle img');
16384															if(circle) {
16385																wheelInterval = setInterval(function(){
16386																	wheelAngle += 0.2;
16387																	if(wheelAngle > 360) {
16388																		wheelAngle -= 360;
16389																	}
16390																	circle.setAttribute('style', 'transform: rotate('+ wheelAngle +'deg)');
16391																}, 40);
16392															}
16393														}
16394
16395														const closeTriggers = popup.querySelectorAll('.popup-element[data-type="button-close"] button:not([data-fancybox-close])');
16396														if(closeTriggers) {
16397															for(let closeTrigger of closeTriggers) {
16398																closeTrigger.addEventListener('click', function(){
16399																	Fancybox.close();
16400																})
16401															}
16402														}
16403
16404														function sgPopup1845submit(callback = false) {
16405
16406															let hasError = false;
16407															const requiredInputs = popup.querySelectorAll('input[data-name][required]');
16408															if(requiredInputs) {
16409																for(let requiredInput of requiredInputs) {
16410																	if(requiredInput.dataset.mask) {
16411																		if(requiredInput.dataset.mask == 'phone') {
16412																			if(!Inputmask.isValid(requiredInput.value, { mask: '+7 (999) 999-99-99'})) {
16413																				requiredInput.classList.add('error');
16414																				hasError = true;
16415																			} else {
16416																				requiredInput.classList.remove('error');
16417																			}
16418																		} else if(requiredInput.dataset.mask == 'phone_intl' && typeof window.sgPopup.elements.intl != 'undefined') {
16419																			intl = window.sgPopup.elements.intl;
16420																			if(!intl.isValidNumberPrecise()) {
16421																				requiredInput.classList.add('error');
16422																				hasError = true;
16423																			} else {
16424																				requiredInput.classList.remove('error');
16425																			}
16426																		} else if(requiredInput.dataset.mask == 'email') {
16427																			if(!Inputmask.isValid(requiredInput.value, {alias: 'email'})) {
16428																				requiredInput.classList.add('error');
16429																				hasError = true;
16430																			} else {
16431																				requiredInput.classList.remove('error');
16432																			}
16433																		}
16434																	} else {
16435																		if(requiredInput.value == '') {
16436																			requiredInput.classList.add('error');
16437																			hasError = true;
16438																		} else {
16439																			requiredInput.classList.remove('error');
16440																		}
16441																	}
16442																}
16443															}
16444								
16445															const requiredTextareas = popup.querySelectorAll('textarea[data-name][required]');
16446															if(requiredTextareas) {
16447																for(let requiredTextarea of requiredTextareas) {
16448																	if(requiredTextarea.value == '') {
16449																		requiredTextarea.classList.add('error');
16450																		hasError = true;
16451																	} else {
16452																		requiredTextarea.classList.remove('error');
16453																	}
16454																}
16455															}
16456
16457															const requiredSelects = popup.querySelectorAll('select[data-name][required]');
16458															if(requiredSelects) {
16459																for(let requiredSelect of requiredSelects) {
16460																	const niceSelect = requiredSelect.nextElementSibling;
16461																	if(niceSelect) {
16462																		if(niceSelect.querySelector('.option.selected')) {
16463																			niceSelect.classList.remove('error')
16464																		} else {
16465																			niceSelect.classList.add('error');
16466																			hasError = true
16467																		}
16468																	}
16469																}
16470															}
16471
16472															if(agrees) {
16473																for(let agree of agrees) {
16474																	if(agree.required) {
16475																		let label = agree.nextElementSibling;
16476																		if(agree.checked) {
16477																			label.classList.remove('error');
16478																		} else {
16479																			label.classList.add('error');
16480																			hasError = true;
16481																		}
16482																	}
16483																}
16484															}
16485
16486															if(hasError) {
16487																if (callback && typeof callback === 'function') {
16488																	callback(false);
16489																}
16490																return false;
16491															}
16492
16493															function sgPopup1845sendRequest() {
16494
16495								
16496																let data = {
16497																	fields: [],
16498																	cookie: document.cookie,
16499																	markers: markers,
16500																	source: location.href
16501																};
16502								
16503																const inputs = popup.querySelectorAll('input[data-name]');
16504																if(inputs) {
16505																	for(let input of inputs) {
16506																		if(input.dataset.mask == 'phone_intl' && typeof window.sgPopup.elements.intl != 'undefined') {
16507																			intl = window.sgPopup.elements.intl;
16508																			data.fields.push({
16509																				name: input.dataset.name,
16510																				value: intl.getNumber()
16511																			});
16512																		} else {
16513																			data.fields.push({
16514																				name: input.dataset.name,
16515																				value: input.value
16516																			});
16517																		}
16518																	}
16519																}
16520
16521																const textareas = popup.querySelectorAll('textarea[data-name]');
16522																if(textareas) {
16523																	for(let textarea of textareas) {
16524																		data.fields.push({
16525																			name: textarea.dataset.name,
16526																			value: textarea.value
16527																		});
16528																	}
16529																}
16530
16531																if(typeof selects != 'undefined') {
16532																	for(let select of selects) {
16533																		data.fields.push({
16534																			name: select.dataset.name,
16535																			value: select.value
16536																		});
16537																	}
16538																}
16539
16540																const hiddenInputs = popup.querySelectorAll('input[type="hidden"]');
16541																for(let hiddenInput of hiddenInputs) {
16542																	const name = hiddenInput.name;
16543																	data[hiddenInput.name] = hiddenInput.value;
16544																}
16545
16546																const fileInputs = popup.querySelectorAll('.popup-element[data-type="input-file"] input[type="file"]');
16547																if(fileInputs) {
16548																	data.files = [];
16549																	for(let fileInput of fileInputs) {
16550																		if (fileInput.files && fileInput.files.length > 0) {
16551																			data.files.push({
16552																				'name': fileInput.files[0].name,
16553																				'content': fileInput.dataset.content
16554																			});
16555																		}
16556																	}
16557																}
16558
16559																if( wheel && typeof window.prize != 'undefined' ) {
16560																	data.fields.push(window.prize);
16561																}
16562								
16563
16564																var xmlhr = new XMLHttpRequest();
16565																xmlhr.open('POST', "https://psy-muip.ru/wp-json/generator.conversion/v1/actions/?_method=POST&action=formSubmit");
16566																xmlhr.send(JSON.stringify(data));
16567
16568																xmlhr.onreadystatechange = function() {
16569																	if (xmlhr.readyState === 4 && xmlhr.status === 200) {
16570																		console.log(xmlhr.response);
16571																		const response = JSON.parse(xmlhr.response);
16572																		console.log(response);
16573								
16574																	}
16575																};
16576								
16577																sgPopup1845reachGoal("ym(93615077,'reachGoal','Popup_topbar_send');");
16578											
16579																sgSuccessPopup1845();
16580										
16581																return true;
16582
16583															}
16584
16585															if(wheel){
16586																const circle = popup.querySelector('.wheel-circle img');
16587																if(circle) {
16588																	clearInterval(wheelInterval);
16589								
16590																	}
16591
16592																} else {
16593																	const result = sgPopup1845sendRequest();
16594																	if (callback && typeof callback === 'function') {
16595																		callback(result);
16596																	}
16597																}
16598
16599															}
16600
16601															areaLinks = popup.querySelectorAll('.popup-area[data-type="area-link"]');
16602															if(areaLinks) {
16603																for(let areaLink of areaLinks) {
16604																	areaLink.addEventListener('click', function(){
16605																		if(areaLink.dataset.link && areaLink.dataset.link != '#') {
16606																			if(areaLink.dataset.target == '_blank') {
16607																				window.open(areaLink.dataset.link);
16608																			} else {
16609																				location.href = areaLink.dataset.link
16610																			}
16611																		}
16612																	});
16613																}
16614															}
16615
16616															areaOpeners = popup.querySelectorAll('.popup-area[data-type="area-opener"]');
16617															if(areaOpeners) {
16618																for(let areaOpener of areaOpeners) {
16619																	areaOpener.addEventListener('click', function(){
16620																		if(areaOpener.dataset.popup) {
16621																			if(typeof window['sgPopup' + areaOpener.dataset.popup] == 'function') {
16622																				Fancybox.close();
16623																				window['sgPopup' + areaOpener.dataset.popup]('forceOpen');
16624																			}
16625																		}
16626																	});
16627																}
16628															}
16629
16630															const submitButton = popup.querySelector(".popup-element[data-type='button-submit'] button");
16631															if(submitButton) {
16632																submitButton.addEventListener('click', function(event){
16633
16634																	event.preventDefault();
16635																	submitButton.disabled = true;
16636
16637																	sgPopup1845submit(function(result){
16638																		submitButton.disabled = result;
16639																	});
16640
16641																})
16642															}
16643														}
16644													},
16645													close: () => {
16646														window.sgPopup.opened = false;
16647														window.sgPopup.shown.push(1845);
16648														if(window.sgPopup.queue.length) {
16649															setTimeout(function(){
16650																let popupID = window.sgPopup.queue.shift();
16651																window['sgPopup' + popupID]('forceOpen');
16652															}, 30000);
16653														}
16654								
16655													}
16656												}
16657											})
16658										}
16659									}
16660								}
16661							
16662								function sgSuccessPopup1845() {
16663							
16664									let html;
16665									let closeButton;
16666									if(window.innerWidth >= 1040) {
16667										html = "<noindex id='SGsuccess1845' 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>";
16668							closeButton = false;
16669									} else {
16670										html = "<noindex id='SGsuccess1845' 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;\">Спасибо, мы скоро свяжемся с вами!&nbsp;</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>";
16671							closeButton = false;
16672									}
16673							
16674									Fancybox.close();
16675									new Fancybox([
16676										{
16677											src: html,
16678											type: 'html'
16679										}
16680									], {
16681										dragToClose: false,
16682										closeButton: closeButton,
16683										autoFocus: false,
16684										trapFocus: false,
16685										on: {
16686											done: (fancybox, slide) => {
16687							
16688												const success = document.querySelector("#SGsuccess1845");
16689												if(success) {
16690
16691													buttonLinks = success.querySelectorAll('button[data-type="link"]');
16692													if(buttonLinks) {
16693														for(let buttonLink of buttonLinks) {
16694															buttonLink.addEventListener('click', function(){
16695																if(buttonLink.dataset.link) {
16696																	if(buttonLink.dataset.target == '_blank') {
16697																		window.open(buttonLink.dataset.link);
16698																	} else {
16699																		location.href = buttonLink.dataset.link
16700																	}
16701																}
16702															});
16703														}
16704													}
16705													
16706												}
16707							
16708												setTimeout(function(){
16709													Fancybox.close();
16710												}, 3000);
16711									
16712											},
16713											close: () => {
16714												window.sgPopup.opened = false;
16715											}
16716										}
16717									});
16718								}
16719							</script>
vendor: 1 bytes, line 16719
16719
16720<script>
16721								if(typeof window.sgPopup == 'undefined') {
16722									window.sgPopup = {
16723										opened: false,
16724										queue: [],
16725										shown: [],
16726										elements: {}
16727									};
16728								}
16729						
16730								let timerIntervalSGpopup1858;
16731							
16732								let timerToSGpopup1858 = 1790020800 - Math.round(new Date() / 1000);
16733								
16734								addEventListener('DOMContentLoaded', () => {
16735						
16736									document.body.addEventListener('click', function(event){
16737										if(
16738											event.target.dataset.target == "sgPopup1858"
16739											|| event.target.closest('[data-target="sgPopup1858"]')
16740										) {
16741											Fancybox.close();
16742											sgPopup1858('forceOpen');
16743										}
16744									});
16745
16746									sgPopup1858autoOpen();
16747								});
16748
16749								function sgPopup1858autoOpen() {
16750							
16751								}
16752
16753								function sgPopup1858reachGoal(code) {
16754
16755									function executeGoal(params) {
16756										if(typeof params == 'object') {
16757
16758											eval('ym('+ params.join(',') +');');
16759
16760											let data = {
16761												'goal': params[2],
16762												timestamp: new Date().toISOString()
16763											};
16764
16765											var xmlhr = new XMLHttpRequest();
16766											xmlhr.open('POST', "https://psy-muip.ru/wp-json/generator.conversion/v1/actions/?_method=POST&action=goalLog");
16767											xmlhr.send(JSON.stringify(data));
16768
16769											xmlhr.onreadystatechange = function() {
16770												if (xmlhr.readyState === 4 && xmlhr.status === 200) {
16771													if( urlParams.get('debug') ) {
16772														const response = JSON.parse(xmlhr.response);
16773														console.log(response);
16774													}
16775												}
16776											}
16777
16778										}
16779									}
16780
16781									const goals = code.split(';');
16782									if(goals) {
16783										for(let goal of goals) {
16784											goal = goal.trim();
16785											if(goal != '') {
16786												const regexp = /ym(.*)/;
16787												if( regexp.test(goal) ) {
16788
16789													goal = goal.replace('ym(', '');
16790													goal = goal.replace(')', '');
16791													const params = goal.split(',');
16792													if(params) {
16793
16794														if (typeof window.ym != 'undefined') {
16795															executeGoal(params);
16796														} else {
16797															if(typeof window.popup1858goals == 'undefined') {
16798																window.popup1858goals = [];
16799															}
16800
16801															window.popup1858goals.push({
16802																'metrika': params[0],
16803																'action': params[1],
16804																'id': params[2]
16805															});
16806
16807															if(typeof popup1858interval == 'undefined') {
16808																popup1858interval = setInterval(function(){
16809																	if (typeof window.ym != 'undefined') {
16810																		for(let goal of window.popup1858goals) {
16811																			executeGoal(params);
16812																		}
16813																		window.popup1858goals = [];
16814																		clearInterval(popup1858interval);
16815																	}
16816																}, 1000);
16817															}
16818														}
16819													}
16820												} else {
16821													eval(goal);
16822												}
16823											}
16824										}
16825									}
16826
16827								}
16828
16829								function sgPopup1858(action = false) {
16830
16831									if(!action) return;
16832
16833									if( ['open', 'forceOpen'].includes(action) ) {
16834
16835								
16836										if(action == 'open' && window.sgPopup.shown.includes(1858)) {
16837											return false;
16838										}
16839
16840										if(window.sgPopup.opened) {
16841
16842											if(window.sgPopup.opened != 1858) {
16843												window.sgPopup.queue.push(1858);
16844											}
16845
16846										} else {
16847
16848											window.sgPopup.opened = 1858;
16849
16850											let html;
16851											let closeButton;
16852											if(window.innerWidth >= 1040) {
16853												html = "<noindex id='SGpopup1858' class='popup-wrapper grid-hidden'><div class='popup-area' data-type='area-container' style='position: relative; top: 198px; left: 21px; margin-left: ; width: 434.867px; height: 249.867px; '><div class='popup-element' data-type='editor' data-element-id='758783' style='padding-top: 0px;padding-right: 0px;padding-bottom: 0px;padding-left: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 8px;margin-left: 0px;' data-p-margin-bottom='20px' data-p-line-height='120%'><style>#SGpopup1858 .popup-element[data-element-id='758783'][data-type='editor'] p {margin-bottom: 20px}#SGpopup1858 .popup-element[data-element-id='758783'][data-type='editor'] * {line-height: 120%}</style><div class='popupElement-content'><p><span style=\"color:hsl(0,0%,0%);font-size:14px;\">Введите ваши данные, чтобы мы связали с Вами</span></p></div></div><div class='popup-element' data-type='input' style='margin-top: 0px;margin-right: 0px;margin-bottom: 5px;margin-left: 0px;'><div class='popupElement-content'><input type=\"text\" placeholder=\"Ник в телеграм\" data-name=\"тг\" data-mask=\"null\" style=\"background-color: rgb(255, 255, 255); border-color: rgb(135, 135, 135); font-size: 17px; color: rgb(104, 104, 104); padding: 8px 8px 8px 12px; border-radius: 8px;\"></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=\"Почта\" data-mask=\"email\" required=\"\" style=\"background-color: rgb(255, 255, 255); border-color: rgb(135, 135, 135); font-size: 17px; color: rgb(104, 104, 104); padding: 8px 8px 8px 12px; border-radius: 8px;\"></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=\"+7 (___) ___ - __ - __\" data-name=\"Телефон\" data-mask=\"phone_intl\" required=\"\" style=\"background-color: rgb(255, 255, 255); border-color: rgb(135, 135, 135); font-size: 17px; color: rgb(120, 120, 120); padding: 8px 12px; border-radius: 8px;\"></div></div><div class='popup-element' data-type='button-submit' style='margin-top: 7px;margin-right: 0px;margin-bottom: 2px;margin-left: 0px;'><div class='popupElement-content'><button type=\"submit\" style=\"background-color: rgb(190, 27, 50); color: rgb(0, 0, 0); font-size: 19px; border-radius: 8px; padding: 18px 22px;\" onclick=\"\"><div class=\"buttonSubmit-content\"><p><span style=\"color:hsl(0,0%,100%);font-size:22px;\">Получить консультацию</span></p></div></button></div></div><div class='popup-element' data-type='agree' data-element-id='288989' data-fill='#9e9e9eff' data-mode='default' data-mode='default' style='margin-top: 8px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;'><style>#SGpopup1858 .popup-element[data-element-id='288989'][data-type='agree'] .popupElement-content input[type='checkbox'] + label:before {border-color: #9e9e9eff;} #SGpopup1858 .popup-element[data-element-id='288989'][data-type='agree'] .popupElement-content input[type='checkbox'] + label:after {background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHhtbG5zOnhsaW5rPSdodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rJyB2ZXJzaW9uPScxLjEnIHg9JzBweCcgeT0nMHB4JyB3aWR0aD0nNTEycHgnIGhlaWdodD0nNTEycHgnIHZpZXdCb3g9JzAgMCA0NDIuNTMzIDQ0Mi41MzMnIHN0eWxlPSdlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDQ0Mi41MzMgNDQyLjUzMycgeG1sOnNwYWNlPSdwcmVzZXJ2ZSc+PHBhdGggZD0nTTQzNC41MzksOTguNDk5bC0zOC44MjgtMzguODI4Yy01LjMyNC01LjMyOC0xMS43OTktNy45OTMtMTkuNDEtNy45OTNjLTcuNjE4LDAtMTQuMDkzLDIuNjY1LTE5LjQxNyw3Ljk5M0wxNjkuNTksMjQ3LjI0OCBsLTgzLjkzOS04NC4yMjVjLTUuMzMtNS4zMy0xMS44MDEtNy45OTItMTkuNDEyLTcuOTkyYy03LjYxNiwwLTE0LjA4NywyLjY2Mi0xOS40MTcsNy45OTJMNy45OTQsMjAxLjg1MiAgIEMyLjY2NCwyMDcuMTgxLDAsMjEzLjY1NCwwLDIyMS4yNjljMCw3LjYwOSwyLjY2NCwxNC4wODgsNy45OTQsMTkuNDE2bDEwMy4zNTEsMTAzLjM0OWwzOC44MzEsMzguODI4IGM1LjMyNyw1LjMzMiwxMS44LDcuOTk0LDE5LjQxNCw3Ljk5NGM3LjYxMSwwLDE0LjA4NC0yLjY2OSwxOS40MTQtNy45OTRsMzguODMtMzguODI4TDQzNC41MzksMTM3LjMzIGM1LjMyNS01LjMzLDcuOTk0LTExLjgwMiw3Ljk5NC0xOS40MTdDNDQyLjUzNywxMTAuMzAyLDQzOS44NjQsMTAzLjgyOSw0MzQuNTM5LDk4LjQ5OXonIGZpbGw9JyM5ZTllOWVmZicvPjwvc3ZnPg==);}</style><div class='popupElement-content'><input type=\"checkbox\" checked=\"\" required=\"\" tabindex=\"-1\" data-orig-tabindex=\"-1\"><label><p><span style=\"color:hsl(0,0%,18%);font-size:9px;\">Я согласен на обработку моих персональных данных. 
С&nbsp;</span><a href=\"https://psy-muip.ru/agreement\" data-fpl-component=\"primitive\" target=\"_blank\" rel=\"noopener\"><span style=\"color:hsl(0,0%,18%);font-size:9px;\"><u>Политикой обработки персональных данных</u></span></a><span style=\"color:hsl(0,0%,18%);font-size:9px;\">&nbsp;ознакомлен</span></p></label></div></div><div class='popup-element' data-type='editor' data-element-id='590824' style='padding-top: 0px;padding-right: 0px;padding-bottom: 0px;padding-left: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;' data-p-margin-bottom='13px' data-p-line-height='80%'><style>#SGpopup1858 .popup-element[data-element-id='590824'][data-type='editor'] p {margin-bottom: 13px}#SGpopup1858 .popup-element[data-element-id='590824'][data-type='editor'] * {line-height: 80%}</style><div class='popupElement-content'><p><a href=\"https://psy-muip.ru/politika\" data-fpl-component=\"primitive\" target=\"_blank\" rel=\"noopener\"><span style=\"color:hsl(0,0%,18%);font-size:9px;\"><u>Политика&nbsp;в отношении обработки персональных данных</u></span></a><span style=\"color:hsl(0,0%,18%);font-size:9px;\"> | </span><a href=\"https://psy-muip.ru/custom\" data-fpl-component=\"primitive\" target=\"_blank\" rel=\"noopener\"><span style=\"color:hsl(0,0%,18%);font-size:9px;\"><u>Пользовательское соглашение</u></span></a><br><a href=\"https://psy-muip.ru/agreement\" data-fpl-component=\"primitive\" target=\"_blank\" rel=\"noopener\"><span style=\"color:hsl(0,0%,18%);font-size:9px;\"><u>Согласие на обработку персональных данных</u></span></a><span style=\"color:hsl(0,0%,18%);font-size:9px;\"> | </span><a href=\"https://psy-muip.ru/rassylka\" data-fpl-component=\"primitive\" target=\"_blank\" rel=\"noopener\"><span style=\"color:hsl(0,0%,18%);font-size:9px;\"><u>Согласие на рассылку материалов</u></span></a></p></div></div></div><div class='popup-area' data-type='close-container' style='position: absolute; top: 6px; left: 997px; 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: 36px; height: 36px; 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(255, 14, 14);\">
16853<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='1858'><input type='hidden' name='projectID' value='453'><input type='hidden' name='custom_utm_source'><input type='hidden' name='custom_utm_medium'><input type='hidden' name='custom_utm_campaign'><input type='hidden' name='custom_utm_content'><input type='hidden' name='custom_utm_term'></noindex>";
16854								
16855												closeButton = false;
16856										
16857											} else {
16858								
16859												html = "<noindex id='SGpopup1858' class='popup-wrapper grid-hidden'><div class='popup-area' data-type='area-container' style='position: relative; top: 128px; left: 0px; margin-left: ; width: 346.867px; height: 287.867px; '><div class='popup-element' data-type='editor' data-element-id='363493' style='padding-top: 0px;padding-right: 0px;padding-bottom: 0px;padding-left: 0px;margin-top: 2px;margin-right: 0px;margin-bottom: 8px;margin-left: 0px;' data-p-margin-bottom='20px' data-p-line-height='120%'><style>#SGpopup1858 .popup-element[data-element-id='363493'][data-type='editor'] p {margin-bottom: 20px}#SGpopup1858 .popup-element[data-element-id='363493'][data-type='editor'] * {line-height: 120%}</style><div class='popupElement-content'><p><span style=\"color:hsl(0,0%,0%);font-size:12px;\">Введите ваши данные, чтобы мы связали с Вами</span></p></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=\"Ник в тг\" data-mask=\"null\" style=\"background-color: rgb(255, 255, 255); border-color: rgb(227, 227, 227); font-size: 17px; color: rgb(104, 104, 104); padding: 10px 20px; border-radius: 8px;\"></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=\"Ваш e-mail, например: [email protected]\" data-name=\"Почта\" data-mask=\"email\" required=\"\" style=\"background-color: rgb(255, 255, 255); border-color: rgb(227, 227, 227); font-size: 17px; color: rgb(104, 104, 104); padding: 10px 20px; border-radius: 8px;\"></div></div><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 (___) ___ - __ - __\" data-name=\"Телефон\" data-mask=\"phone_intl\" required=\"\" style=\"background-color: rgb(255, 255, 255); border-color: rgb(225, 225, 226); font-size: 17px; color: rgb(120, 120, 120); padding: 10px 20px; border-radius: 8px;\"></div></div><div class='popup-element' data-type='button-submit' style='margin-top: 2px;margin-right: 0px;margin-bottom: 2px;margin-left: 0px;'><div class='popupElement-content'><button type=\"submit\" style=\"background-color: rgb(190, 27, 50); color: rgb(0, 0, 0); font-size: 19px; border-radius: 8px; padding: 15px 14px;\" onclick=\"\"><div class=\"buttonSubmit-content\"><p><span style=\"color:hsl(0,0%,100%);font-size:18px;\">Получить консультацию</span></p></div></button></div></div><div class='popup-element' data-type='agree' data-element-id='770441' data-fill='#9e9e9eff' data-mode='default' data-mode='default' style='margin-top: 0px;margin-right: 0px;margin-bottom: 4px;margin-left: 0px;'><style>#SGpopup1858 .popup-element[data-element-id='770441'][data-type='agree'] .popupElement-content input[type='checkbox'] + label:before {border-color: #9e9e9eff;} #SGpopup1858 .popup-element[data-element-id='770441'][data-type='agree'] .popupElement-content input[type='checkbox'] + label:after {background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHhtbG5zOnhsaW5rPSdodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rJyB2ZXJzaW9uPScxLjEnIHg9JzBweCcgeT0nMHB4JyB3aWR0aD0nNTEycHgnIGhlaWdodD0nNTEycHgnIHZpZXdCb3g9JzAgMCA0NDIuNTMzIDQ0Mi41MzMnIHN0eWxlPSdlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDQ0Mi41MzMgNDQyLjUzMycgeG1sOnNwYWNlPSdwcmVzZXJ2ZSc+PHBhdGggZD0nTTQzNC41MzksOTguNDk5bC0zOC44MjgtMzguODI4Yy01LjMyNC01LjMyOC0xMS43OTktNy45OTMtMTkuNDEtNy45OTNjLTcuNjE4LDAtMTQuMDkzLDIuNjY1LTE5LjQxNyw3Ljk5M0wxNjkuNTksMjQ3LjI0OCBsLTgzLjkzOS04NC4yMjVjLTUuMzMtNS4zMy0xMS44MDEtNy45OTItMTkuNDEyLTcuOTkyYy03LjYxNiwwLTE0LjA4NywyLjY2Mi0xOS40MTcsNy45OTJMNy45OTQsMjAxLjg1MiAgIEMyLjY2NCwyMDcuMTgxLDAsMjEzLjY1NCwwLDIyMS4yNjljMCw3LjYwOSwyLjY2NCwxNC4wODgsNy45OTQsMTkuNDE2bDEwMy4zNTEsMTAzLjM0OWwzOC44MzEsMzguODI4IGM1LjMyNyw1LjMzMiwxMS44LDcuOTk0LDE5LjQxNCw3Ljk5NGM3LjYxMSwwLDE0LjA4NC0yLjY2OSwxOS40MTQtNy45OTRsMzguODMtMzguODI4TDQzNC41MzksMTM3LjMzIGM1LjMyNS01LjMzLDcuOTk0LTExLjgwMiw3Ljk5NC0xOS40MTdDNDQyLjUzNywxMTAuMzAyLDQzOS44NjQsMTAzLjgyOSw0MzQuNTM5LDk4LjQ5OXonIGZpbGw9JyM5ZTllOWVmZicvPjwvc3ZnPg==);}</style><div class='popupElement-content'><input type=\"checkbox\" checked=\"\" required=\"\" tabindex=\"-1\" data-orig-tabindex=\"-1\"><label><p><span style=\"color:hsl(0,0%,18%);
16859font-size:7px;\">Я согласен на обработку моих персональных данных. 
С&nbsp;</span><a href=\"https://psy-muip.ru/agreement\" data-fpl-component=\"primitive\" target=\"_blank\" rel=\"noopener\"><span style=\"color:hsl(0,0%,18%);font-size:7px;\"><u>Политикой обработки персональных данных</u></span></a><span style=\"color:hsl(0,0%,18%);font-size:7px;\">&nbsp;ознакомлен</span></p></label></div></div><div class='popup-element' data-type='editor' data-element-id='581723' style='padding-top: 0px;padding-right: 0px;padding-bottom: 0px;padding-left: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;' data-p-margin-bottom='13px' data-p-line-height='80%'><style>#SGpopup1858 .popup-element[data-element-id='581723'][data-type='editor'] p {margin-bottom: 13px}#SGpopup1858 .popup-element[data-element-id='581723'][data-type='editor'] * {line-height: 80%}</style><div class='popupElement-content'><p><a href=\"https://psy-muip.ru/politika\" data-fpl-component=\"primitive\" target=\"_blank\" rel=\"noopener\"><span style=\"color:hsl(0,0%,18%);font-size:7px;\"><u>Политика&nbsp;в отношении обработки персональных данных</u></span></a><span style=\"color:hsl(0,0%,18%);font-size:7px;\"> | </span><a href=\"https://psy-muip.ru/custom\" data-fpl-component=\"primitive\" target=\"_blank\" rel=\"noopener\"><span style=\"color:hsl(0,0%,18%);font-size:7px;\"><u>Пользовательское соглашение</u></span></a><br><a href=\"https://psy-muip.ru/agreement\" data-fpl-component=\"primitive\" target=\"_blank\" rel=\"noopener\"><span style=\"color:hsl(0,0%,18%);font-size:7px;\"><u>Согласие на обработку персональных данных</u></span></a><span style=\"color:hsl(0,0%,18%);font-size:7px;\"> | </span><a href=\"https://psy-muip.ru/rassylka\" data-fpl-component=\"primitive\" target=\"_blank\" rel=\"noopener\"><span style=\"color:hsl(0,0%,18%);font-size:7px;\"><u>Согласие на рассылку материалов</u></span></a></p></div></div></div><div class='popup-area' data-type='close-container' style='position: absolute; top: -39px; left: 367px; margin-left: -40px; width: 40px; height: 40px; '><div class='popup-element' data-type='button-close' style=''><div class='popupElement-content'></div></div></div><input type='hidden' name='popupID' value='1858'><input type='hidden' name='projectID' value='453'><input type='hidden' name='custom_utm_source'><input type='hidden' name='custom_utm_medium'><input type='hidden' name='custom_utm_campaign'><input type='hidden' name='custom_utm_content'><input type='hidden' name='custom_utm_term'></noindex>";
16860								
16861												closeButton = true;
16862										
16863											}
16864								
16865											dateFrom = 1773187200 * 1000;
16866											if(dateFrom < Date.now()) {
16867												do {
16868													dateFrom += 5 * 24 * 60 * 60 * 1000;
16869												} while (dateFrom < Date.now());
16870											}
16871
16872											for (const match of html.matchAll(/{date((\+|\-)([0-9]*))?}/g)) {
16873												dateTo = dateFrom;
16874												if(typeof match[1] != 'undefined') {
16875													dateTo += match[1] * 24 * 60 * 60 * 1000;
16876												}
16877												dateTo = new Date(dateTo);
16878
16879												formatDate = '{day} {month} ';
16880												if(formatDate.indexOf('{day}') != -1) {
16881													day = dateTo.getDate();
16882													if("number_full" == "number_full") {
16883														if(day < 10) {
16884															day = '0' + day;
16885														}
16886													}
16887													formatDate = formatDate.replace('{day}', day);
16888												}
16889
16890												if(formatDate.indexOf('{month}') != -1) {
16891													month = dateTo.getMonth() + 1;
16892													if("text_genitive" == "number_full") {
16893														if(month < 10) {
16894															month = '0' + month;
16895														}
16896													} else if("text_genitive" == "text_nominative") {
16897														let months = {
16898															1: 'январь',
16899															2: 'февраль',
16900															3: 'март',
16901															4: 'апрель',
16902															5: 'май',
16903															6: 'июнь',
16904															7: 'июль',
16905															8: 'август',
16906															9: 'сентябрь',
16907															10: 'октябрь',
16908															11: 'ноябрь',
16909															12: 'декабрь'
16910														};
16911														month = months[month];
16912													} else if("text_genitive" == "text_genitive") {
16913														let months = {
16914															1: 'января',
16915															2: 'февраля',
16916															3: 'марта',
16917															4: 'апреля',
16918															5: 'мая',
16919															6: 'июня',
16920															7: 'июля',
16921															8: 'августа',
16922															9: 'сентября',
16923															10: 'октября',
16924															11: 'ноября',
16925															12: 'декабря'
16926														};
16927														month = months[month];
16928													}
16929													formatDate = formatDate.replace('{month}', month);
16930												}
16931
16932												if(formatDate.indexOf('{year}') != -1) {
16933													year = dateTo.getFullYear();
16934													if("number_full" == "number_short") {
16935														year = year.toString().substr(-2);
16936													}
16937													formatDate = formatDate.replace('{year}', year);
16938												}
16939												html = html.replaceAll(match[0], formatDate);
16940											};
16941										
16942											Fancybox.close();
16943											new Fancybox([
16944												{
16945													src: html,
16946													type: 'html'
16947												}
16948											], {
16949												dragToClose: false,
16950												closeButton: closeButton,
16951												compact: false,
16952												autoFocus: false,
16953												trapFocus: false,
16954												on: {
16955													done: (fancybox, slide) => {
16956								
16957													sgPopup1858reachGoal("ym(93615077,'reachGoal','Shapka_popup_consultation_show');");
16958										
16959													const popup = document.querySelector("#SGpopup1858");
16960													if(popup) {
16961
16962														const url = new URL(location.href);
16963														window.utm_source = url.searchParams.get('utm_source');
16964														window.utm_medium = url.searchParams.get('utm_medium');
16965														window.utm_campaign = url.searchParams.get('utm_campaign');
16966														window.utm_term = url.searchParams.get('utm_term');
16967														window.utm_content = url.searchParams.get('utm_content');
16968
16969								
16970														const custom_utm_source = popup.querySelector('input[name="custom_utm_source"]');
16971														if(custom_utm_source && typeof 'site' != undefined) {
16972															custom_utm_source.value = 'site';
16973														}
16974											
16975														const custom_utm_medium = popup.querySelector('input[name="custom_utm_medium"]');
16976														if(custom_utm_medium && typeof 'seo' != undefined) {
16977															custom_utm_medium.value = 'seo';
16978														}
16979											
16980														const custom_utm_campaign = popup.querySelector('input[name="custom_utm_campaign"]');
16981														if(custom_utm_campaign && typeof 'genegator_TOT' != undefined) {
16982															custom_utm_campaign.value = 'genegator_TOT';
16983														}
16984											
16985														const custom_utm_content = popup.querySelector('input[name="custom_utm_content"]');
16986														if(custom_utm_content && typeof 'muip' != undefined) {
16987															custom_utm_content.value = 'muip';
16988														}
16989											
16990														const custom_utm_term = popup.querySelector('input[name="custom_utm_term"]');
16991														if(custom_utm_term && typeof 'popup' != undefined) {
16992															custom_utm_term.value = 'popup';
16993														}
16994											
16995														openerLinks = popup.querySelectorAll('a[data-target]');
16996														if(openerLinks) {
16997															for(let openerLink of openerLinks) {
16998																openerLink.addEventListener('click', function(){
16999																	if(openerLink.dataset.target) {
17000																		if(typeof window[openerLink.dataset.target] == 'function') {
17001																			Fancybox.close();
17002																			window[openerLink.dataset.target]('open');
17003																		}
17004																	}
17005																});
17006															}
17007														}
17008
17009														linkImages = popup.querySelectorAll('.image-wrapper[data-type="link"]');
17010														if(linkImages) {
17011															for(let linkImage of linkImages) {
17012																linkImage.addEventListener('click', function(){
17013																	if(linkImage.dataset.link) {
17014																		if(linkImage.dataset.target == '_blank') {
17015																			window.open(linkImage.dataset.link);
17016																		} else {
17017																			location.href = linkImage.dataset.link
17018																		}
17019																	}
17020																});
17021															}
17022														}
17023
17024														openerImages = popup.querySelectorAll('.image-wrapper[data-type="opener"]');
17025														if(openerImages) {
17026															for(let openerImage of openerImages) {
17027																openerImage.addEventListener('click', function(){
17028																	if(openerImage.dataset.popup) {
17029																		if(typeof window['sgPopup' + openerImage.dataset.popup] == 'function') {
17030																			Fancybox.close();
17031																			window['sgPopup' + openerImage.dataset.popup]('forceOpen');
17032																		}
17033																	}
17034																});
17035															}
17036														}
17037
17038														submitImages = popup.querySelectorAll('.image-wrapper[data-type="submitter"]');
17039														if(submitImages) {
17040															for(let submitImage of submitImages) {
17041																submitImage.addEventListener('click', function(){
17042
17043																	if(submitImage.classList.contains('disabled')) return false;
17044
17045																	submitImage.classList.add('disabled');
17046
17047																	sgPopup1858submit(function(result){
17048																		submitImage.classList.toggle('disabled', result);
17049																	});
17050
17051																});
17052															}
17053														}
17054
17055														const linkButtons = popup.querySelectorAll('button[data-type="link"]');
17056														if(linkButtons) {
17057															for(let linkButton of linkButtons) {
17058																linkButton.addEventListener('click', function(){
17059																	if(linkButton.dataset.link && linkButton.dataset.link != '#') {
17060								
17061																		if(linkButton.dataset.target == '_blank') {
17062																			window.open(linkButton.dataset.link);
17063																		} else {
17064																			location.href = linkButton.dataset.link
17065																		}
17066																	}
17067																});
17068															}
17069														}
17070
17071														openerButtons = popup.querySelectorAll('button[data-type="opener"]');
17072														if(openerButtons) {
17073															for(let openerButton of openerButtons) {
17074																openerButton.addEventListener('click', function(){
17075									
17076																	if(openerButton.dataset.popup) {
17077																		if(typeof window['sgPopup' + openerButton.dataset.popup] == 'function') {
17078																			Fancybox.close();
17079																			window['sgPopup' + openerButton.dataset.popup]('forceOpen');
17080																		}
17081																	}
17082																});
17083															}
17084														}
17085
17086														const maskedFields = popup.querySelectorAll('input[data-mask]');
17087														if(maskedFields) {
17088															for(let maskedField of maskedFields) {
17089																if(maskedField.dataset.mask == 'phone') {
17090																	Inputmask('+7 (999) 999-99-99', {
17091																		clearIncomplete: true,
17092																		greedy: false
17093																	}).mask(maskedField);
17094								
17095																} else if(maskedField.dataset.mask == 'phone_intl') {
17096																	maskedField.removeAttribute('placeholder');
17097																	phoneIntl = window.intlTelInput(maskedField, {
17098																		initialCountry: 'ru',
17099																		separateDialCode: true,
17100																		strictMode: true,
17101																		formatOnDisplay: true,
17102																		useFullscreenPopup: false,
17103																		i18n: {
17104																			searchPlaceholder: 'Поиск',
17105																			ad: 'Андорра',
17106																			ae: 'ОАЭ',
17107																			af: 'Афганистан',
17108																			ag: 'Антигуа и Барбуда',
17109																			ai: 'Ангилья',
17110																			al: 'Албания',
17111																			am: 'Армения',
17112																			ao: 'Ангола',
17113																			ar: 'Аргентина',
17114																			as: 'Американское Самоа',
17115																			at: 'Австрия',
17116																			au: 'Австралия',
17117																			aw: 'Аруба',
17118																			ax: 'Аландские о-ва',
17119																			az: 'Азербайджан',
17120																			ba: 'Босния и Герцеговина',
17121																			bb: 'Барбадос',
17122																			bd: 'Бангладеш',
17123																			be: 'Бельгия',
17124																			bf: 'Буркина-Фасо',
17125																			bg: 'Болгария',
17126																			bh: 'Бахрейн',
17127																			bi: 'Бурунди',
17128																			bj: 'Бенин',
17129																			bl: 'Сен-Бартелеми',
17130																			bm: 'Бермудские о-ва',
17131																			bn: 'Бруней-Даруссалам',
17132																			bo: 'Боливия',
17133																			bq: 'Бонэйр, Синт-Эстатиус и Саба',
17134																			br: 'Бразилия',
17135																			bs: 'Багамы',
17136																			bt: 'Бутан',
17137																			bw: 'Ботсвана',
17138																			by: 'Беларусь',
17139																			bz: 'Белиз',
17140																			ca: 'Канада',
17141																			cc: 'Кокосовые о-ва',
17142																			cd: 'Конго - Киншаса',
17143																			cf: 'Центрально-Африканская Республика',
17144																			cg: 'Конго - Браззавиль',
17145																			ch: 'Швейцария',
17146																			ci: 'Кот-д’Ивуар',
17147																			ck: 'Острова Кука',
17148																			cl: 'Чили',
17149																			cm: 'Камерун',
17150																			cn: 'Китай',
17151																			co: 'Колумбия',
17152																			cr: 'Коста-Рика',
17153																			cu: 'Куба',
17154																			cv: 'Кабо-Верде',
17155																			cw: 'Кюрасао',
17156																			cx: 'о-в Рождества',
17157																			cy: 'Кипр',
17158																			cz: 'Чехия',
17159																			de: 'Германия',
17160																			dj: 'Джибути',
17161																			dk: 'Дания',
17162																			dm: 'Доминика',
17163																			do: 'Доминиканская Республика',
17164																			dz: 'Алжир',
17165																			ec: 'Эквадор',
17166																			ee: 'Эстония',
17167																			eg: 'Египет',
17168																			eh: 'Западная Сахара',
17169																			er: 'Эритрея',
17170																			es: 'Испания',
17171																			et: 'Эфиопия',
17172																			fi: 'Финляндия',
17173																			fj: 'Фиджи',
17174																			fk: 'Фолклендские о-ва',
17175																			fm: 'Федеративные Штаты Микронезии',
17176																			fo: 'Фарерские о-ва',
17177																			fr: 'Франция',
17178																			ga: 'Габон',
17179																			gb: 'Великобритания',
17180																			gd: 'Гренада',
17181																			ge: 'Грузия',
17182																			gf: 'Французская Гвиана',
17183																			gg: 'Гернси',
17184																			gh: 'Гана',
17185																			gi: 'Гибралтар',
17186																			gl: 'Гренландия',
17187																			gm: 'Гамбия',
17188																			gn: 'Гвинея',
17189																			gp: 'Гваделупа',
17190																			gq: 'Экваториальная Гвинея',
17191																			gr: 'Греция',
17192																			gt: 'Гватемала',
17193																			gu: 'Гуам',
17194																			gw: 'Гвинея-Бисау',
17195																			gy: 'Гайана',
17196																			hk: 'Гонконг (САР)',
17197																			hn: 'Гондурас',
17198																			hr: 'Хорватия',
17199																			ht: 'Гаити',
17200																			hu: 'Венгрия',
17201																			id: 'Индонезия',
17202																			ie: 'Ирландия',
17203																			il: 'Израиль',
17204																			im: 'о-в Мэн',
17205																			in: 'Индия',
17206																			io: 'Британская территория в Индийском океане',
17207																			iq: 'Ирак',
17208																			ir: 'Иран',
17209																			is: 'Исландия',
17210																			it: 'Италия',
17211																			je: 'Джерси',
17212																			jm: 'Ямайка',
17213																			jo: 'Иордания',
17214																			jp: 'Япония',
17215																			ke: 'Кения',
17216																			kg: 'Киргизия',
17217																			kh: 'Камбоджа',
17218																			ki: 'Кирибати',
17219																			km: 'Коморы',
17220																			kn: 'Сент-Китс и Невис',
17221																			kp: 'КНДР',
17222																			kr: 'Республика Корея',
17223																			kw: 'Кувейт',
17224																			ky: 'Острова Кайман',
17225																			kz: 'Казахстан',
17226																			la: 'Лаос',
17227																			lb: 'Ливан',
17228																			lc: 'Сент-Люсия',
17229																			li: 'Лихтенштейн',
17230																			lk: 'Шри-Ланка',
17231																			lr: 'Либерия',
17232																			ls: 'Лесото',
17233																			lt: 'Литва',
17234																			lu: 'Люксембург',
17235																			lv: 'Латвия',
17236																			ly: 'Ливия',
17237																			ma: 'Марокко',
17238																			mc: 'Монако',
17239																			md: 'Молдова',
17240																			me: 'Черногория',
17241																			mf: 'Сен-Мартен',
17242																			mg: 'Мадагаскар',
17243																			mh: 'Маршалловы Острова',
17244																			mk: 'Северная Македония',
17245																			ml: 'Мали',
17246																			mm: 'Мьянма (Бирма)',
17247																			mn: 'Монголия',
17248																			mo: 'Макао (САР)',
17249																			mp: 'Северные Марианские о-ва',
17250																			mq: 'Мартиника',
17251																			mr: 'Мавритания',
17252																			ms: 'Монтсеррат',
17253																			mt: 'Мальта',
17254																			mu: 'Маврикий',
17255																			mv: 'Мальдивы',
17256																			mw: 'Малави',
17257																			mx: 'Мексика',
17258																			my: 'Малайзия',
17259																			mz: 'Мозамбик',
17260																			na: 'Намибия',
17261																			nc: 'Новая Каледония',
17262																			ne: 'Нигер',
17263																			nf: 'о-в Норфолк',
17264																			ng: 'Нигерия',
17265																			ni: 'Никарагуа',
17266																			nl: 'Нидерланды',
17267																			no: 'Норвегия',
17268																			np: 'Непал',
17269																			nr: 'Науру',
17270																			nu: 'Ниуэ',
17271																			nz: 'Новая Зеландия',
17272																			om: 'Оман',
17273																			pa: 'Панама',
17274																			pe: 'Перу',
17275																			pf: 'Французская Полинезия',
17276																			pg: 'Папуа — Новая Гвинея',
17277																			ph: 'Филиппины',
17278																			pk: 'Пакистан',
17279																			pl: 'Польша',
17280																			pm: 'Сен-Пьер и Микелон',
17281																			pr: 'Пуэрто-Рико',
17282																			ps: 'Палестинские территории',
17283																			pt: 'Португалия',
17284																			pw: 'Палау',
17285																			py: 'Парагвай',
17286																			qa: 'Катар',
17287																			re: 'Реюньон',
17288																			ro: 'Румыния',
17289																			rs: 'Сербия',
17290																			ru: 'Россия',
17291																			rw: 'Руанда',
17292																			sa: 'Саудовская Аравия',
17293																			sb: 'Соломоновы Острова',
17294																			sc: 'Сейшельские Острова',
17295																			sd: 'Судан',
17296																			se: 'Швеция',
17297																			sg: 'Сингапур',
17298																			sh: 'о-в Св. Елены',
17299																			si: 'Словения',
17300																			sj: 'Шпицберген и Ян-Майен',
17301																			sk: 'Словакия',
17302																			sl: 'Сьерра-Леоне',
17303																			sm: 'Сан-Марино',
17304																			sn: 'Сенегал',
17305																			so: 'Сомали',
17306																			sr: 'Суринам',
17307																			ss: 'Южный Судан',
17308																			st: 'Сан-Томе и Принсипи',
17309																			sv: 'Сальвадор',
17310																			sx: 'Синт-Мартен',
17311																			sy: 'Сирия',
17312																			sz: 'Эсватини',
17313																			tc: 'о-ва Тёркс и Кайкос',
17314																			td: 'Чад',
17315																			tg: 'Того',
17316																			th: 'Таиланд',
17317																			tj: 'Таджикистан',
17318																			tk: 'Токелау',
17319																			tl: 'Восточный Тимор',
17320																			tm: 'Туркменистан',
17321																			tn: 'Тунис',
17322																			to: 'Тонга',
17323																			tr: 'Турция',
17324																			tt: 'Тринидад и Тобаго',
17325																			tv: 'Тувалу',
17326																			tw: 'Тайвань',
17327																			tz: 'Танзания',
17328																			ua: 'Украина',
17329																			ug: 'Уганда',
17330																			us: 'Соединенные Штаты',
17331																			uy: 'Уругвай',
17332																			uz: 'Узбекистан',
17333																			va: 'Ватикан',
17334																			vc: 'Сент-Винсент и Гренадины',
17335																			ve: 'Венесуэла',
17336																			vg: 'Виргинские о-ва (Великобритания)',
17337																			vi: 'Виргинские о-ва (США)',
17338																			vn: 'Вьетнам',
17339																			vu: 'Вануату',
17340																			wf: 'Уоллис и Футуна',
17341																			ws: 'Самоа',
17342																			ye: 'Йемен',
17343																			yt: 'Майотта',
17344																			za: 'Южно-Африканская Республика',
17345																			zm: 'Замбия',
17346																			zw: 'Зимбабве',
17347																			ac: 'Остров Вознесения',
17348																			xk: 'Косово'
17349																		}
17350																	});
17351																	window.sgPopup.elements.intl = phoneIntl;
17352									
17353																} else if(maskedField.dataset.mask == 'email') {
17354																	Inputmask({
17355																	alias: 'email',
17356																		clearIncomplete: true,
17357																		greedy: false
17358																	}).mask(maskedField);
17359																}
17360															}
17361														}
17362
17363														const fileInputs = popup.querySelectorAll('.popup-element[data-type="input-file"] input[type="file"]');
17364														if(fileInputs) {
17365															for(let fileInput of fileInputs) {
17366																let label = fileInput.nextElementSibling;
17367																if(label) {
17368																	fileInput.addEventListener('change', function() {
17369																		if (fileInput.files && fileInput.files.length > 0) {
17370																			const maxSize = fileInput.dataset.limit;
17371																			if(fileInput.files[0].size <= maxSize * 1024 * 1024) {
17372																				reader = new FileReader();
17373																				reader.onload = function(){
17374																					const span = label.querySelector('span');
17375																					if(span) {
17376																						span.innerHTML = fileInput.files[0].name;
17377																					}
17378																					fileInput.dataset.content = reader.result;
17379																				};
17380																				reader.readAsDataURL(fileInput.files[0]);
17381																			} else {
17382																				alert('Превышен максимальный размер файла - '+ maxSize +'мб');
17383																			}
17384																		}
17385																	});
17386																	label.addEventListener('click', function(event){
17387																		event.preventDefault();
17388																		fileInput.click();
17389																	});
17390																}
17391															}
17392														}
17393
17394														const agrees = popup.querySelectorAll('.popup-element[data-type="agree"] input[type="checkbox"]');
17395														if(agrees) {
17396															for(let agree of agrees) {
17397																let parent = agree.closest('.popup-element');
17398																if(parent) {
17399																	let label = agree.nextElementSibling;
17400																	if(label) {
17401																		label.addEventListener('click', function(event){
17402																			event.preventDefault();
17403																			agree.checked = !agree.checked;
17404
17405
17406																			if(parent.dataset.mode == 'general') {
17407																				const agreeAll = agree;
17408																				for(let agree of agrees) {
17409																					agree.checked = agreeAll.checked;
17410																				}
17411																			}
17412
17413																			let agreeCount = 0;
17414																			let agreeSelected = 0;
17415																			for(let agree of agrees) {
17416																				const parent = agree.closest('.popup-element');
17417																				if(parent && parent.dataset.mode != 'general') {
17418																					agreeCount++;
17419																					if(agree.checked) {
17420																						agreeSelected++;
17421																					}
17422																				}
17423																			}
17424
17425																			const general = popup.querySelector('.popup-element[data-type="agree"][data-mode="general"]');
17426																			if(general) {
17427																				general.classList.toggle('all-selected', agreeSelected == agreeCount);
17428																				general.classList.toggle('no-selected', agreeSelected == 0);
17429																				general.classList.toggle('some-selected', agreeSelected > 0 && agreeSelected < agreeCount);
17430
17431																				const checkbox = general.querySelector('input[type="checkbox"]');
17432																				if(checkbox) {
17433																					if(agreeSelected == agreeCount) {
17434																						checkbox.checked = true;
17435																					} else {
17436																						checkbox.checked = false;
17437																					}
17438																				}
17439																			}
17440																		});
17441																		const links = label.querySelectorAll('a');
17442																		if(links) {
17443																			for(let link of links) {
17444																				link.addEventListener('click', function(event){
17445																					event.stopPropagation()
17446																				});
17447																			}
17448																		}
17449																	}
17450																}
17451															}
17452														}
17453
17454														const wheel = popup.querySelector('.popup-element[data-type="wheel"]');
17455														let wheelInterval;
17456														let wheelAngle = 0;
17457														if(wheel){
17458															const circle = popup.querySelector('.wheel-circle img');
17459															if(circle) {
17460																wheelInterval = setInterval(function(){
17461																	wheelAngle += 0.2;
17462																	if(wheelAngle > 360) {
17463																		wheelAngle -= 360;
17464																	}
17465																	circle.setAttribute('style', 'transform: rotate('+ wheelAngle +'deg)');
17466																}, 40);
17467															}
17468														}
17469
17470														const closeTriggers = popup.querySelectorAll('.popup-element[data-type="button-close"] button:not([data-fancybox-close])');
17471														if(closeTriggers) {
17472															for(let closeTrigger of closeTriggers) {
17473																closeTrigger.addEventListener('click', function(){
17474																	Fancybox.close();
17475																})
17476															}
17477														}
17478
17479														function sgPopup1858submit(callback = false) {
17480
17481															let hasError = false;
17482															const requiredInputs = popup.querySelectorAll('input[data-name][required]');
17483															if(requiredInputs) {
17484																for(let requiredInput of requiredInputs) {
17485																	if(requiredInput.dataset.mask) {
17486																		if(requiredInput.dataset.mask == 'phone') {
17487																			if(!Inputmask.isValid(requiredInput.value, { mask: '+7 (999) 999-99-99'})) {
17488																				requiredInput.classList.add('error');
17489																				hasError = true;
17490																			} else {
17491																				requiredInput.classList.remove('error');
17492																			}
17493																		} else if(requiredInput.dataset.mask == 'phone_intl' && typeof window.sgPopup.elements.intl != 'undefined') {
17494																			intl = window.sgPopup.elements.intl;
17495																			if(!intl.isValidNumberPrecise()) {
17496																				requiredInput.classList.add('error');
17497																				hasError = true;
17498																			} else {
17499																				requiredInput.classList.remove('error');
17500																			}
17501																		} else if(requiredInput.dataset.mask == 'email') {
17502																			if(!Inputmask.isValid(requiredInput.value, {alias: 'email'})) {
17503																				requiredInput.classList.add('error');
17504																				hasError = true;
17505																			} else {
17506																				requiredInput.classList.remove('error');
17507																			}
17508																		}
17509																	} else {
17510																		if(requiredInput.value == '') {
17511																			requiredInput.classList.add('error');
17512																			hasError = true;
17513																		} else {
17514																			requiredInput.classList.remove('error');
17515																		}
17516																	}
17517																}
17518															}
17519								
17520															const requiredTextareas = popup.querySelectorAll('textarea[data-name][required]');
17521															if(requiredTextareas) {
17522																for(let requiredTextarea of requiredTextareas) {
17523																	if(requiredTextarea.value == '') {
17524																		requiredTextarea.classList.add('error');
17525																		hasError = true;
17526																	} else {
17527																		requiredTextarea.classList.remove('error');
17528																	}
17529																}
17530															}
17531
17532															const requiredSelects = popup.querySelectorAll('select[data-name][required]');
17533															if(requiredSelects) {
17534																for(let requiredSelect of requiredSelects) {
17535																	const niceSelect = requiredSelect.nextElementSibling;
17536																	if(niceSelect) {
17537																		if(niceSelect.querySelector('.option.selected')) {
17538																			niceSelect.classList.remove('error')
17539																		} else {
17540																			niceSelect.classList.add('error');
17541																			hasError = true
17542																		}
17543																	}
17544																}
17545															}
17546
17547															if(agrees) {
17548																for(let agree of agrees) {
17549																	if(agree.required) {
17550																		let label = agree.nextElementSibling;
17551																		if(agree.checked) {
17552																			label.classList.remove('error');
17553																		} else {
17554																			label.classList.add('error');
17555																			hasError = true;
17556																		}
17557																	}
17558																}
17559															}
17560
17561															if(hasError) {
17562																if (callback && typeof callback === 'function') {
17563																	callback(false);
17564																}
17565																return false;
17566															}
17567
17568															function sgPopup1858sendRequest() {
17569
17570								
17571																let data = {
17572																	fields: [],
17573																	cookie: document.cookie,
17574																	markers: markers,
17575																	source: location.href
17576																};
17577								
17578																const inputs = popup.querySelectorAll('input[data-name]');
17579																if(inputs) {
17580																	for(let input of inputs) {
17581																		if(input.dataset.mask == 'phone_intl' && typeof window.sgPopup.elements.intl != 'undefined') {
17582																			intl = window.sgPopup.elements.intl;
17583																			data.fields.push({
17584																				name: input.dataset.name,
17585																				value: intl.getNumber()
17586																			});
17587																		} else {
17588																			data.fields.push({
17589																				name: input.dataset.name,
17590																				value: input.value
17591																			});
17592																		}
17593																	}
17594																}
17595
17596																const textareas = popup.querySelectorAll('textarea[data-name]');
17597																if(textareas) {
17598																	for(let textarea of textareas) {
17599																		data.fields.push({
17600																			name: textarea.dataset.name,
17601																			value: textarea.value
17602																		});
17603																	}
17604																}
17605
17606																if(typeof selects != 'undefined') {
17607																	for(let select of selects) {
17608																		data.fields.push({
17609																			name: select.dataset.name,
17610																			value: select.value
17611																		});
17612																	}
17613																}
17614
17615																const hiddenInputs = popup.querySelectorAll('input[type="hidden"]');
17616																for(let hiddenInput of hiddenInputs) {
17617																	const name = hiddenInput.name;
17618																	data[hiddenInput.name] = hiddenInput.value;
17619																}
17620
17621																const fileInputs = popup.querySelectorAll('.popup-element[data-type="input-file"] input[type="file"]');
17622																if(fileInputs) {
17623																	data.files = [];
17624																	for(let fileInput of fileInputs) {
17625																		if (fileInput.files && fileInput.files.length > 0) {
17626																			data.files.push({
17627																				'name': fileInput.files[0].name,
17628																				'content': fileInput.dataset.content
17629																			});
17630																		}
17631																	}
17632																}
17633
17634																if( wheel && typeof window.prize != 'undefined' ) {
17635																	data.fields.push(window.prize);
17636																}
17637								
17638
17639																var xmlhr = new XMLHttpRequest();
17640																xmlhr.open('POST', "https://psy-muip.ru/wp-json/generator.conversion/v1/actions/?_method=POST&action=formSubmit");
17641																xmlhr.send(JSON.stringify(data));
17642
17643																xmlhr.onreadystatechange = function() {
17644																	if (xmlhr.readyState === 4 && xmlhr.status === 200) {
17645																		console.log(xmlhr.response);
17646																		const response = JSON.parse(xmlhr.response);
17647																		console.log(response);
17648								
17649																	}
17650																};
17651								
17652																sgPopup1858reachGoal("ym(93615077,'reachGoal','Shapka_popup_consultation_send');");
17653											
17654																sgSuccessPopup1858();
17655										
17656																return true;
17657
17658															}
17659
17660															if(wheel){
17661																const circle = popup.querySelector('.wheel-circle img');
17662																if(circle) {
17663																	clearInterval(wheelInterval);
17664								
17665																	}
17666
17667																} else {
17668																	const result = sgPopup1858sendRequest();
17669																	if (callback && typeof callback === 'function') {
17670																		callback(result);
17671																	}
17672																}
17673
17674															}
17675
17676															areaLinks = popup.querySelectorAll('.popup-area[data-type="area-link"]');
17677															if(areaLinks) {
17678																for(let areaLink of areaLinks) {
17679																	areaLink.addEventListener('click', function(){
17680																		if(areaLink.dataset.link && areaLink.dataset.link != '#') {
17681																			if(areaLink.dataset.target == '_blank') {
17682																				window.open(areaLink.dataset.link);
17683																			} else {
17684																				location.href = areaLink.dataset.link
17685																			}
17686																		}
17687																	});
17688																}
17689															}
17690
17691															areaOpeners = popup.querySelectorAll('.popup-area[data-type="area-opener"]');
17692															if(areaOpeners) {
17693																for(let areaOpener of areaOpeners) {
17694																	areaOpener.addEventListener('click', function(){
17695																		if(areaOpener.dataset.popup) {
17696																			if(typeof window['sgPopup' + areaOpener.dataset.popup] == 'function') {
17697																				Fancybox.close();
17698																				window['sgPopup' + areaOpener.dataset.popup]('forceOpen');
17699																			}
17700																		}
17701																	});
17702																}
17703															}
17704
17705															const submitButton = popup.querySelector(".popup-element[data-type='button-submit'] button");
17706															if(submitButton) {
17707																submitButton.addEventListener('click', function(event){
17708
17709																	event.preventDefault();
17710																	submitButton.disabled = true;
17711
17712																	sgPopup1858submit(function(result){
17713																		submitButton.disabled = result;
17714																	});
17715
17716																})
17717															}
17718														}
17719													},
17720													close: () => {
17721														window.sgPopup.opened = false;
17722														window.sgPopup.shown.push(1858);
17723														if(window.sgPopup.queue.length) {
17724															setTimeout(function(){
17725																let popupID = window.sgPopup.queue.shift();
17726																window['sgPopup' + popupID]('forceOpen');
17727															}, 30000);
17728														}
17729								
17730													}
17731												}
17732											})
17733										}
17734									}
17735								}
17736							
17737								function sgSuccessPopup1858() {
17738							
17739									let html;
17740									let closeButton;
17741									if(window.innerWidth >= 1040) {
17742										html = "<noindex id='SGsuccess1858' 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>";
17743							closeButton = false;
17744									} else {
17745										html = "<noindex id='SGsuccess1858' 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;\">Спасибо, мы скоро свяжемся с вами!&nbsp;</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>";
17746							closeButton = false;
17747									}
17748							
17749									Fancybox.close();
17750									new Fancybox([
17751										{
17752											src: html,
17753											type: 'html'
17754										}
17755									], {
17756										dragToClose: false,
17757										closeButton: closeButton,
17758										autoFocus: false,
17759										trapFocus: false,
17760										on: {
17761											done: (fancybox, slide) => {
17762							
17763												const success = document.querySelector("#SGsuccess1858");
17764												if(success) {
17765
17766													buttonLinks = success.querySelectorAll('button[data-type="link"]');
17767													if(buttonLinks) {
17768														for(let buttonLink of buttonLinks) {
17769															buttonLink.addEventListener('click', function(){
17770																if(buttonLink.dataset.link) {
17771																	if(buttonLink.dataset.target == '_blank') {
17772																		window.open(buttonLink.dataset.link);
17773																	} else {
17774																		location.href = buttonLink.dataset.link
17775																	}
17776																}
17777															});
17778														}
17779													}
17780													
17781												}
17782							
17783												setTimeout(function(){
17784													Fancybox.close();
17785												}, 3000);
17786									
17787											},
17788											close: () => {
17789												window.sgPopup.opened = false;
17790											}
17791										}
17792									});
17793								}
17794							</script>
vendor: 1 bytes, line 17794
17794
17795<script>
17796								if(typeof window.sgPopup == 'undefined') {
17797									window.sgPopup = {
17798										opened: false,
17799										queue: [],
17800										shown: [],
17801										elements: {}
17802									};
17803								}
17804						
17805								addEventListener('DOMContentLoaded', () => {
17806						
17807									document.body.addEventListener('click', function(event){
17808										if(
17809											event.target.dataset.target == "sgPopup1877"
17810											|| event.target.closest('[data-target="sgPopup1877"]')
17811										) {
17812											Fancybox.close();
17813											sgPopup1877('forceOpen');
17814										}
17815									});
17816
17817									sgPopup1877autoOpen();
17818								});
17819
17820								function sgPopup1877autoOpen() {
17821							
17822									setTimeout(function(){
17823										let limit = 3600000;
17824										let localStoragePopup = localStorage.getItem('localStoragePopup1790797867');
17825										if (+new Date() - localStoragePopup > limit) {
17826											localStorage.removeItem('localStoragePopup1790797867');
17827										}
17828										if (!(localStorage.getItem('localStoragePopup1790797867'))) {
17829											sgPopup1877('open');
17830										}
17831									}, 30000);
17832								
17833								}
17834
17835								function sgPopup1877reachGoal(code) {
17836
17837									function executeGoal(params) {
17838										if(typeof params == 'object') {
17839
17840											eval('ym('+ params.join(',') +');');
17841
17842											let data = {
17843												'goal': params[2],
17844												timestamp: new Date().toISOString()
17845											};
17846
17847											var xmlhr = new XMLHttpRequest();
17848											xmlhr.open('POST', "https://psy-muip.ru/wp-json/generator.conversion/v1/actions/?_method=POST&action=goalLog");
17849											xmlhr.send(JSON.stringify(data));
17850
17851											xmlhr.onreadystatechange = function() {
17852												if (xmlhr.readyState === 4 && xmlhr.status === 200) {
17853													if( urlParams.get('debug') ) {
17854														const response = JSON.parse(xmlhr.response);
17855														console.log(response);
17856													}
17857												}
17858											}
17859
17860										}
17861									}
17862
17863									const goals = code.split(';');
17864									if(goals) {
17865										for(let goal of goals) {
17866											goal = goal.trim();
17867											if(goal != '') {
17868												const regexp = /ym(.*)/;
17869												if( regexp.test(goal) ) {
17870
17871													goal = goal.replace('ym(', '');
17872													goal = goal.replace(')', '');
17873													const params = goal.split(',');
17874													if(params) {
17875
17876														if (typeof window.ym != 'undefined') {
17877															executeGoal(params);
17878														} else {
17879															if(typeof window.popup1877goals == 'undefined') {
17880																window.popup1877goals = [];
17881															}
17882
17883															window.popup1877goals.push({
17884																'metrika': params[0],
17885																'action': params[1],
17886																'id': params[2]
17887															});
17888
17889															if(typeof popup1877interval == 'undefined') {
17890																popup1877interval = setInterval(function(){
17891																	if (typeof window.ym != 'undefined') {
17892																		for(let goal of window.popup1877goals) {
17893																			executeGoal(params);
17894																		}
17895																		window.popup1877goals = [];
17896																		clearInterval(popup1877interval);
17897																	}
17898																}, 1000);
17899															}
17900														}
17901													}
17902												} else {
17903													eval(goal);
17904												}
17905											}
17906										}
17907									}
17908
17909								}
17910
17911								function sgPopup1877(action = false) {
17912
17913									if(!action) return;
17914
17915									if( ['open', 'forceOpen'].includes(action) ) {
17916
17917								
17918										if(action == 'open' && window.sgPopup.shown.includes(1877)) {
17919											return false;
17920										}
17921
17922										if(window.sgPopup.opened) {
17923
17924											if(window.sgPopup.opened != 1877) {
17925												window.sgPopup.queue.push(1877);
17926											}
17927
17928										} else {
17929
17930											window.sgPopup.opened = 1877;
17931
17932											let html;
17933											let closeButton;
17934											if(window.innerWidth >= 1040) {
17935												html = "<noindex id='SGpopup1877' class='popup-wrapper grid-hidden'><div class='popup-area' data-type='close-container' style='position: absolute; top: 29px; left: 979px; 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: rgba(255, 14, 14, 0);\"><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: absolute; top: 285px; left: 17.875px; margin-left: ; width: 450.222px; height: 259.222px; '><div class='popup-element' data-type='getcourse' style='margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;'><div class='popupElement-content'><div data-id=\"6752c552fb101192c0498e5dfb41ff1f3b248ce5\" data-src=\"https://reiraofficial.getcourse.ru/pl/lite/widget/script?id=1534295\"></div></div></div></div><div class='popup-area' data-type='area-container' style='position: absolute; top: 517.778px; left: 33px; margin-left: ; width: 434.222px; height: 22.2222px; '><div class='popup-element' data-type='editor' data-element-id='735368' style='padding-top: 0px;padding-right: 0px;padding-bottom: 0px;padding-left: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;' data-p-margin-bottom='20px' data-p-line-height='120%'><style>#SGpopup1877 .popup-element[data-element-id='735368'][data-type='editor'] p {margin-bottom: 20px}#SGpopup1877 .popup-element[data-element-id='735368'][data-type='editor'] * {line-height: 120%}</style><div class='popupElement-content'><p><span style=\"color:hsl(0,0%,0%);font-size:8px;\">*Cкидки и бонусы не суммируются</span></p></div></div></div><input type='hidden' name='popupID' value='1877'><input type='hidden' name='projectID' value='453'><input type='hidden' name='custom_utm_source'><input type='hidden' name='custom_utm_medium'><input type='hidden' name='custom_utm_campaign'><input type='hidden' name='custom_utm_content'><input type='hidden' name='custom_utm_term'></noindex>";
17936								
17937												closeButton = false;
17938										
17939											} else {
17940								
17941												html = "<noindex id='SGpopup1877' class='popup-wrapper grid-hidden'><div class='popup-area' data-type='area-container' style='position: absolute; top: 230.819px; left: 10px; margin-left: ; width: 342.222px; height: 285.222px; '><div class='popup-element' data-type='getcourse' style='margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;'><div class='popupElement-content'><div data-id=\"6752c552fb101192c0498e5dfb41ff1f3b248ce5\" data-src=\"https://reiraofficial.getcourse.ru/pl/lite/widget/script?id=1534295\"></div></div></div></div><div class='popup-area' data-type='close-container' style='position: absolute; top: 4.00462px; left: 331.19px; margin-left: ; width: 40px; height: 40px; '><div class='popup-element' data-type='button-close' style=''><div class='popupElement-content'><button type=\"close\" style=\"padding: 10px; width: 35px; height: 35px; background-color: rgba(0, 0, 0, 0); border: 1px 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(232, 47, 47);\"><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: absolute; top: 477.764px; left: 24px; margin-left: ; width: 306.4px; height: 16.4px; '><div class='popup-element' data-type='editor' data-element-id='938402' style='padding-top: 0px;padding-right: 0px;padding-bottom: 0px;padding-left: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;' data-p-margin-bottom='20px' data-p-line-height='120%'><style>#SGpopup1877 .popup-element[data-element-id='938402'][data-type='editor'] p {margin-bottom: 20px}#SGpopup1877 .popup-element[data-element-id='938402'][data-type='editor'] * {line-height: 120%}</style><div class='popupElement-content'><p><span style=\"color:hsl(0,0%,0%);font-size:7px;\">*Cкидки и бонусы не суммируются</span></p></div></div></div><input type='hidden' name='popupID' value='1877'><input type='hidden' name='projectID' value='453'><input type='hidden' name='custom_utm_source'><input type='hidden' name='custom_utm_medium'><input type='hidden' name='custom_utm_campaign'><input type='hidden' name='custom_utm_content'><input type='hidden' name='custom_utm_term'></noindex>";
17942								
17943												closeButton = false;
17944										
17945											}
17946								
17947											dateFrom = 1773100800 * 1000;
17948											if(dateFrom < Date.now()) {
17949												do {
17950													dateFrom += 9 * 24 * 60 * 60 * 1000;
17951												} while (dateFrom < Date.now());
17952											}
17953
17954											for (const match of html.matchAll(/{date((\+|\-)([0-9]*))?}/g)) {
17955												dateTo = dateFrom;
17956												if(typeof match[1] != 'undefined') {
17957													dateTo += match[1] * 24 * 60 * 60 * 1000;
17958												}
17959												dateTo = new Date(dateTo);
17960
17961												formatDate = '{day} {month} ';
17962												if(formatDate.indexOf('{day}') != -1) {
17963													day = dateTo.getDate();
17964													if("number_full" == "number_full") {
17965														if(day < 10) {
17966															day = '0' + day;
17967														}
17968													}
17969													formatDate = formatDate.replace('{day}', day);
17970												}
17971
17972												if(formatDate.indexOf('{month}') != -1) {
17973													month = dateTo.getMonth() + 1;
17974													if("text_genitive" == "number_full") {
17975														if(month < 10) {
17976															month = '0' + month;
17977														}
17978													} else if("text_genitive" == "text_nominative") {
17979														let months = {
17980															1: 'январь',
17981															2: 'февраль',
17982															3: 'март',
17983															4: 'апрель',
17984															5: 'май',
17985															6: 'июнь',
17986															7: 'июль',
17987															8: 'август',
17988															9: 'сентябрь',
17989															10: 'октябрь',
17990															11: 'ноябрь',
17991															12: 'декабрь'
17992														};
17993														month = months[month];
17994													} else if("text_genitive" == "text_genitive") {
17995														let months = {
17996															1: 'января',
17997															2: 'февраля',
17998															3: 'марта',
17999															4: 'апреля',
18000															5: 'мая',
18001															6: 'июня',
18002															7: 'июля',
18003															8: 'августа',
18004															9: 'сентября',
18005															10: 'октября',
18006															11: 'ноября',
18007															12: 'декабря'
18008														};
18009														month = months[month];
18010													}
18011													formatDate = formatDate.replace('{month}', month);
18012												}
18013
18014												if(formatDate.indexOf('{year}') != -1) {
18015													year = dateTo.getFullYear();
18016													if("number_full" == "number_short") {
18017														year = year.toString().substr(-2);
18018													}
18019													formatDate = formatDate.replace('{year}', year);
18020												}
18021												html = html.replaceAll(match[0], formatDate);
18022											};
18023										
18024											Fancybox.close();
18025											new Fancybox([
18026												{
18027													src: html,
18028													type: 'html'
18029												}
18030											], {
18031												dragToClose: false,
18032												closeButton: closeButton,
18033												compact: false,
18034												autoFocus: false,
18035												trapFocus: false,
18036												on: {
18037													done: (fancybox, slide) => {
18038								
18039													localStorage.setItem('localStoragePopup1790797867', +new Date());
18040									
18041													sgPopup1877reachGoal("ym(93615077,'reachGoal','pokaz_exit_popup');");
18042										
18043													const popup = document.querySelector("#SGpopup1877");
18044													if(popup) {
18045
18046														const url = new URL(location.href);
18047														window.utm_source = url.searchParams.get('utm_source');
18048														window.utm_medium = url.searchParams.get('utm_medium');
18049														window.utm_campaign = url.searchParams.get('utm_campaign');
18050														window.utm_term = url.searchParams.get('utm_term');
18051														window.utm_content = url.searchParams.get('utm_content');
18052
18053								
18054														const custom_utm_source = popup.querySelector('input[name="custom_utm_source"]');
18055														if(custom_utm_source && typeof 'site' != undefined) {
18056															custom_utm_source.value = 'site';
18057														}
18058											
18059														const custom_utm_medium = popup.querySelector('input[name="custom_utm_medium"]');
18060														if(custom_utm_medium && typeof 'seo' != undefined) {
18061															custom_utm_medium.value = 'seo';
18062														}
18063											
18064														const custom_utm_campaign = popup.querySelector('input[name="custom_utm_campaign"]');
18065														if(custom_utm_campaign && typeof 'genegator_discount_30%' != undefined) {
18066															custom_utm_campaign.value = 'genegator_discount_30%';
18067														}
18068											
18069														const custom_utm_content = popup.querySelector('input[name="custom_utm_content"]');
18070														if(custom_utm_content && typeof 'muip' != undefined) {
18071															custom_utm_content.value = 'muip';
18072														}
18073											
18074														const custom_utm_term = popup.querySelector('input[name="custom_utm_term"]');
18075														if(custom_utm_term && typeof 'popup' != undefined) {
18076															custom_utm_term.value = 'popup';
18077														}
18078											
18079														const getCourseBlocks = popup.querySelectorAll('*[data-type="getcourse"] *[data-id][data-src]');
18080														if(getCourseBlocks) {
18081															for(let getCourseBlock of getCourseBlocks) {
18082																const ID = getCourseBlock.dataset.id;
18083																const SRC = getCourseBlock.dataset.src;
18084																const script = document.createElement('script');
18085																script.id = ID;
18086																script.src = SRC;
18087																script.async = true;
18088																script.onload = () => {
18089																	const myEvent = new CustomEvent('StartWidget'+ ID);
18090																	document.dispatchEvent(myEvent);
18091																}
18092																getCourseBlock.appendChild(script);
18093															}
18094														}
18095									
18096														openerLinks = popup.querySelectorAll('a[data-target]');
18097														if(openerLinks) {
18098															for(let openerLink of openerLinks) {
18099																openerLink.addEventListener('click', function(){
18100																	if(openerLink.dataset.target) {
18101																		if(typeof window[openerLink.dataset.target] == 'function') {
18102																			Fancybox.close();
18103																			window[openerLink.dataset.target]('open');
18104																		}
18105																	}
18106																});
18107															}
18108														}
18109
18110														linkImages = popup.querySelectorAll('.image-wrapper[data-type="link"]');
18111														if(linkImages) {
18112															for(let linkImage of linkImages) {
18113																linkImage.addEventListener('click', function(){
18114																	if(linkImage.dataset.link) {
18115																		if(linkImage.dataset.target == '_blank') {
18116																			window.open(linkImage.dataset.link);
18117																		} else {
18118																			location.href = linkImage.dataset.link
18119																		}
18120																	}
18121																});
18122															}
18123														}
18124
18125														openerImages = popup.querySelectorAll('.image-wrapper[data-type="opener"]');
18126														if(openerImages) {
18127															for(let openerImage of openerImages) {
18128																openerImage.addEventListener('click', function(){
18129																	if(openerImage.dataset.popup) {
18130																		if(typeof window['sgPopup' + openerImage.dataset.popup] == 'function') {
18131																			Fancybox.close();
18132																			window['sgPopup' + openerImage.dataset.popup]('forceOpen');
18133																		}
18134																	}
18135																});
18136															}
18137														}
18138
18139														submitImages = popup.querySelectorAll('.image-wrapper[data-type="submitter"]');
18140														if(submitImages) {
18141															for(let submitImage of submitImages) {
18142																submitImage.addEventListener('click', function(){
18143
18144																	if(submitImage.classList.contains('disabled')) return false;
18145
18146																	submitImage.classList.add('disabled');
18147
18148																	sgPopup1877submit(function(result){
18149																		submitImage.classList.toggle('disabled', result);
18150																	});
18151
18152																});
18153															}
18154														}
18155
18156														const linkButtons = popup.querySelectorAll('button[data-type="link"]');
18157														if(linkButtons) {
18158															for(let linkButton of linkButtons) {
18159																linkButton.addEventListener('click', function(){
18160																	if(linkButton.dataset.link && linkButton.dataset.link != '#') {
18161								
18162																		if(linkButton.dataset.target == '_blank') {
18163																			window.open(linkButton.dataset.link);
18164																		} else {
18165																			location.href = linkButton.dataset.link
18166																		}
18167																	}
18168																});
18169															}
18170														}
18171
18172														openerButtons = popup.querySelectorAll('button[data-type="opener"]');
18173														if(openerButtons) {
18174															for(let openerButton of openerButtons) {
18175																openerButton.addEventListener('click', function(){
18176									
18177																	if(openerButton.dataset.popup) {
18178																		if(typeof window['sgPopup' + openerButton.dataset.popup] == 'function') {
18179																			Fancybox.close();
18180																			window['sgPopup' + openerButton.dataset.popup]('forceOpen');
18181																		}
18182																	}
18183																});
18184															}
18185														}
18186
18187														const maskedFields = popup.querySelectorAll('input[data-mask]');
18188														if(maskedFields) {
18189															for(let maskedField of maskedFields) {
18190																if(maskedField.dataset.mask == 'phone') {
18191																	Inputmask('+7 (999) 999-99-99', {
18192																		clearIncomplete: true,
18193																		greedy: false
18194																	}).mask(maskedField);
18195								
18196																} else if(maskedField.dataset.mask == 'email') {
18197																	Inputmask({
18198																	alias: 'email',
18199																		clearIncomplete: true,
18200																		greedy: false
18201																	}).mask(maskedField);
18202																}
18203															}
18204														}
18205
18206														const fileInputs = popup.querySelectorAll('.popup-element[data-type="input-file"] input[type="file"]');
18207														if(fileInputs) {
18208															for(let fileInput of fileInputs) {
18209																let label = fileInput.nextElementSibling;
18210																if(label) {
18211																	fileInput.addEventListener('change', function() {
18212																		if (fileInput.files && fileInput.files.length > 0) {
18213																			const maxSize = fileInput.dataset.limit;
18214																			if(fileInput.files[0].size <= maxSize * 1024 * 1024) {
18215																				reader = new FileReader();
18216																				reader.onload = function(){
18217																					const span = label.querySelector('span');
18218																					if(span) {
18219																						span.innerHTML = fileInput.files[0].name;
18220																					}
18221																					fileInput.dataset.content = reader.result;
18222																				};
18223																				reader.readAsDataURL(fileInput.files[0]);
18224																			} else {
18225																				alert('Превышен максимальный размер файла - '+ maxSize +'мб');
18226																			}
18227																		}
18228																	});
18229																	label.addEventListener('click', function(event){
18230																		event.preventDefault();
18231																		fileInput.click();
18232																	});
18233																}
18234															}
18235														}
18236
18237														const agrees = popup.querySelectorAll('.popup-element[data-type="agree"] input[type="checkbox"]');
18238														if(agrees) {
18239															for(let agree of agrees) {
18240																let parent = agree.closest('.popup-element');
18241																if(parent) {
18242																	let label = agree.nextElementSibling;
18243																	if(label) {
18244																		label.addEventListener('click', function(event){
18245																			event.preventDefault();
18246																			agree.checked = !agree.checked;
18247
18248
18249																			if(parent.dataset.mode == 'general') {
18250																				const agreeAll = agree;
18251																				for(let agree of agrees) {
18252																					agree.checked = agreeAll.checked;
18253																				}
18254																			}
18255
18256																			let agreeCount = 0;
18257																			let agreeSelected = 0;
18258																			for(let agree of agrees) {
18259																				const parent = agree.closest('.popup-element');
18260																				if(parent && parent.dataset.mode != 'general') {
18261																					agreeCount++;
18262																					if(agree.checked) {
18263																						agreeSelected++;
18264																					}
18265																				}
18266																			}
18267
18268																			const general = popup.querySelector('.popup-element[data-type="agree"][data-mode="general"]');
18269																			if(general) {
18270																				general.classList.toggle('all-selected', agreeSelected == agreeCount);
18271																				general.classList.toggle('no-selected', agreeSelected == 0);
18272																				general.classList.toggle('some-selected', agreeSelected > 0 && agreeSelected < agreeCount);
18273
18274																				const checkbox = general.querySelector('input[type="checkbox"]');
18275																				if(checkbox) {
18276																					if(agreeSelected == agreeCount) {
18277																						checkbox.checked = true;
18278																					} else {
18279																						checkbox.checked = false;
18280																					}
18281																				}
18282																			}
18283																		});
18284																		const links = label.querySelectorAll('a');
18285																		if(links) {
18286																			for(let link of links) {
18287																				link.addEventListener('click', function(event){
18288																					event.stopPropagation()
18289																				});
18290																			}
18291																		}
18292																	}
18293																}
18294															}
18295														}
18296
18297														const wheel = popup.querySelector('.popup-element[data-type="wheel"]');
18298														let wheelInterval;
18299														let wheelAngle = 0;
18300														if(wheel){
18301															const circle = popup.querySelector('.wheel-circle img');
18302															if(circle) {
18303																wheelInterval = setInterval(function(){
18304																	wheelAngle += 0.2;
18305																	if(wheelAngle > 360) {
18306																		wheelAngle -= 360;
18307																	}
18308																	circle.setAttribute('style', 'transform: rotate('+ wheelAngle +'deg)');
18309																}, 40);
18310															}
18311														}
18312
18313														const closeTriggers = popup.querySelectorAll('.popup-element[data-type="button-close"] button:not([data-fancybox-close])');
18314														if(closeTriggers) {
18315															for(let closeTrigger of closeTriggers) {
18316																closeTrigger.addEventListener('click', function(){
18317																	Fancybox.close();
18318																})
18319															}
18320														}
18321
18322														function sgPopup1877submit(callback = false) {
18323
18324															let hasError = false;
18325															const requiredInputs = popup.querySelectorAll('input[data-name][required]');
18326															if(requiredInputs) {
18327																for(let requiredInput of requiredInputs) {
18328																	if(requiredInput.dataset.mask) {
18329																		if(requiredInput.dataset.mask == 'phone') {
18330																			if(!Inputmask.isValid(requiredInput.value, { mask: '+7 (999) 999-99-99'})) {
18331																				requiredInput.classList.add('error');
18332																				hasError = true;
18333																			} else {
18334																				requiredInput.classList.remove('error');
18335																			}
18336																		} else if(requiredInput.dataset.mask == 'phone_intl' && typeof window.sgPopup.elements.intl != 'undefined') {
18337																			intl = window.sgPopup.elements.intl;
18338																			if(!intl.isValidNumberPrecise()) {
18339																				requiredInput.classList.add('error');
18340																				hasError = true;
18341																			} else {
18342																				requiredInput.classList.remove('error');
18343																			}
18344																		} else if(requiredInput.dataset.mask == 'email') {
18345																			if(!Inputmask.isValid(requiredInput.value, {alias: 'email'})) {
18346																				requiredInput.classList.add('error');
18347																				hasError = true;
18348																			} else {
18349																				requiredInput.classList.remove('error');
18350																			}
18351																		}
18352																	} else {
18353																		if(requiredInput.value == '') {
18354																			requiredInput.classList.add('error');
18355																			hasError = true;
18356																		} else {
18357																			requiredInput.classList.remove('error');
18358																		}
18359																	}
18360																}
18361															}
18362								
18363															const requiredTextareas = popup.querySelectorAll('textarea[data-name][required]');
18364															if(requiredTextareas) {
18365																for(let requiredTextarea of requiredTextareas) {
18366																	if(requiredTextarea.value == '') {
18367																		requiredTextarea.classList.add('error');
18368																		hasError = true;
18369																	} else {
18370																		requiredTextarea.classList.remove('error');
18371																	}
18372																}
18373															}
18374
18375															const requiredSelects = popup.querySelectorAll('select[data-name][required]');
18376															if(requiredSelects) {
18377																for(let requiredSelect of requiredSelects) {
18378																	const niceSelect = requiredSelect.nextElementSibling;
18379																	if(niceSelect) {
18380																		if(niceSelect.querySelector('.option.selected')) {
18381																			niceSelect.classList.remove('error')
18382																		} else {
18383																			niceSelect.classList.add('error');
18384																			hasError = true
18385																		}
18386																	}
18387																}
18388															}
18389
18390															if(agrees) {
18391																for(let agree of agrees) {
18392																	if(agree.required) {
18393																		let label = agree.nextElementSibling;
18394																		if(agree.checked) {
18395																			label.classList.remove('error');
18396																		} else {
18397																			label.classList.add('error');
18398																			hasError = true;
18399																		}
18400																	}
18401																}
18402															}
18403
18404															if(hasError) {
18405																if (callback && typeof callback === 'function') {
18406																	callback(false);
18407																}
18408																return false;
18409															}
18410
18411															function sgPopup1877sendRequest() {
18412
18413								
18414																let data = {
18415																	fields: [],
18416																	cookie: document.cookie,
18417																	markers: markers,
18418																	source: location.href
18419																};
18420								
18421																const inputs = popup.querySelectorAll('input[data-name]');
18422																if(inputs) {
18423																	for(let input of inputs) {
18424																		if(input.dataset.mask == 'phone_intl' && typeof window.sgPopup.elements.intl != 'undefined') {
18425																			intl = window.sgPopup.elements.intl;
18426																			data.fields.push({
18427																				name: input.dataset.name,
18428																				value: intl.getNumber()
18429																			});
18430																		} else {
18431																			data.fields.push({
18432																				name: input.dataset.name,
18433																				value: input.value
18434																			});
18435																		}
18436																	}
18437																}
18438
18439																const textareas = popup.querySelectorAll('textarea[data-name]');
18440																if(textareas) {
18441																	for(let textarea of textareas) {
18442																		data.fields.push({
18443																			name: textarea.dataset.name,
18444																			value: textarea.value
18445																		});
18446																	}
18447																}
18448
18449																if(typeof selects != 'undefined') {
18450																	for(let select of selects) {
18451																		data.fields.push({
18452																			name: select.dataset.name,
18453																			value: select.value
18454																		});
18455																	}
18456																}
18457
18458																const hiddenInputs = popup.querySelectorAll('input[type="hidden"]');
18459																for(let hiddenInput of hiddenInputs) {
18460																	const name = hiddenInput.name;
18461																	data[hiddenInput.name] = hiddenInput.value;
18462																}
18463
18464																const fileInputs = popup.querySelectorAll('.popup-element[data-type="input-file"] input[type="file"]');
18465																if(fileInputs) {
18466																	data.files = [];
18467																	for(let fileInput of fileInputs) {
18468																		if (fileInput.files && fileInput.files.length > 0) {
18469																			data.files.push({
18470																				'name': fileInput.files[0].name,
18471																				'content': fileInput.dataset.content
18472																			});
18473																		}
18474																	}
18475																}
18476
18477																if( wheel && typeof window.prize != 'undefined' ) {
18478																	data.fields.push(window.prize);
18479																}
18480								
18481
18482																var xmlhr = new XMLHttpRequest();
18483																xmlhr.open('POST', "https://psy-muip.ru/wp-json/generator.conversion/v1/actions/?_method=POST&action=formSubmit");
18484																xmlhr.send(JSON.stringify(data));
18485
18486																xmlhr.onreadystatechange = function() {
18487																	if (xmlhr.readyState === 4 && xmlhr.status === 200) {
18488																		console.log(xmlhr.response);
18489																		const response = JSON.parse(xmlhr.response);
18490																		console.log(response);
18491								
18492																	}
18493																};
18494								
18495																sgPopup1877reachGoal("ym(93615077,'reachGoal','lead_exit_popup');");
18496											
18497																sgSuccessPopup1877();
18498										
18499																return true;
18500
18501															}
18502
18503															if(wheel){
18504																const circle = popup.querySelector('.wheel-circle img');
18505																if(circle) {
18506																	clearInterval(wheelInterval);
18507								
18508																	}
18509
18510																} else {
18511																	const result = sgPopup1877sendRequest();
18512																	if (callback && typeof callback === 'function') {
18513																		callback(result);
18514																	}
18515																}
18516
18517															}
18518
18519															areaLinks = popup.querySelectorAll('.popup-area[data-type="area-link"]');
18520															if(areaLinks) {
18521																for(let areaLink of areaLinks) {
18522																	areaLink.addEventListener('click', function(){
18523																		if(areaLink.dataset.link && areaLink.dataset.link != '#') {
18524																			if(areaLink.dataset.target == '_blank') {
18525																				window.open(areaLink.dataset.link);
18526																			} else {
18527																				location.href = areaLink.dataset.link
18528																			}
18529																		}
18530																	});
18531																}
18532															}
18533
18534															areaOpeners = popup.querySelectorAll('.popup-area[data-type="area-opener"]');
18535															if(areaOpeners) {
18536																for(let areaOpener of areaOpeners) {
18537																	areaOpener.addEventListener('click', function(){
18538																		if(areaOpener.dataset.popup) {
18539																			if(typeof window['sgPopup' + areaOpener.dataset.popup] == 'function') {
18540																				Fancybox.close();
18541																				window['sgPopup' + areaOpener.dataset.popup]('forceOpen');
18542																			}
18543																		}
18544																	});
18545																}
18546															}
18547
18548															const submitButton = popup.querySelector(".popup-element[data-type='button-submit'] button");
18549															if(submitButton) {
18550																submitButton.addEventListener('click', function(event){
18551
18552																	event.preventDefault();
18553																	submitButton.disabled = true;
18554
18555																	sgPopup1877submit(function(result){
18556																		submitButton.disabled = result;
18557																	});
18558
18559																})
18560															}
18561														}
18562													},
18563													close: () => {
18564														window.sgPopup.opened = false;
18565														window.sgPopup.shown.push(1877);
18566														if(window.sgPopup.queue.length) {
18567															setTimeout(function(){
18568																let popupID = window.sgPopup.queue.shift();
18569																window['sgPopup' + popupID]('forceOpen');
18570															}, 30000);
18571														}
18572								
18573													}
18574												}
18575											})
18576										}
18577									}
18578								}
18579							
18580								function sgSuccessPopup1877() {
18581							
18582									let html;
18583									let closeButton;
18584									if(window.innerWidth >= 1040) {
18585										html = "<noindex id='SGsuccess1877' 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>";
18586							closeButton = false;
18587									} else {
18588										html = "<noindex id='SGsuccess1877' 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;\">Спасибо, мы скоро свяжемся с вами!&nbsp;</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>";
18589							closeButton = false;
18590									}
18591							
18592									Fancybox.close();
18593									new Fancybox([
18594										{
18595											src: html,
18596											type: 'html'
18597										}
18598									], {
18599										dragToClose: false,
18600										closeButton: closeButton,
18601										autoFocus: false,
18602										trapFocus: false,
18603										on: {
18604											done: (fancybox, slide) => {
18605							
18606												const success = document.querySelector("#SGsuccess1877");
18607												if(success) {
18608
18609													buttonLinks = success.querySelectorAll('button[data-type="link"]');
18610													if(buttonLinks) {
18611														for(let buttonLink of buttonLinks) {
18612															buttonLink.addEventListener('click', function(){
18613																if(buttonLink.dataset.link) {
18614																	if(buttonLink.dataset.target == '_blank') {
18615																		window.open(buttonLink.dataset.link);
18616																	} else {
18617																		location.href = buttonLink.dataset.link
18618																	}
18619																}
18620															});
18621														}
18622													}
18623													
18624												}
18625							
18626												setTimeout(function(){
18627													Fancybox.close();
18628												}, 3000);
18629									
18630											},
18631											close: () => {
18632												window.sgPopup.opened = false;
18633											}
18634										}
18635									});
18636								}
18637							</script>
vendor: 1 bytes, line 18637
18637
18638<script>
18639								if(typeof window.sgPopup == 'undefined') {
18640									window.sgPopup = {
18641										opened: false,
18642										queue: [],
18643										shown: [],
18644										elements: {}
18645									};
18646								}
18647						
18648								addEventListener('DOMContentLoaded', () => {
18649						
18650									document.body.addEventListener('click', function(event){
18651										if(
18652											event.target.dataset.target == "sgPopup1878"
18653											|| event.target.closest('[data-target="sgPopup1878"]')
18654										) {
18655											Fancybox.close();
18656											sgPopup1878('forceOpen');
18657										}
18658									});
18659
18660									sgPopup1878autoOpen();
18661								});
18662
18663								function sgPopup1878autoOpen() {
18664							
18665								}
18666
18667								function sgPopup1878reachGoal(code) {
18668
18669									function executeGoal(params) {
18670										if(typeof params == 'object') {
18671
18672											eval('ym('+ params.join(',') +');');
18673
18674											let data = {
18675												'goal': params[2],
18676												timestamp: new Date().toISOString()
18677											};
18678
18679											var xmlhr = new XMLHttpRequest();
18680											xmlhr.open('POST', "https://psy-muip.ru/wp-json/generator.conversion/v1/actions/?_method=POST&action=goalLog");
18681											xmlhr.send(JSON.stringify(data));
18682
18683											xmlhr.onreadystatechange = function() {
18684												if (xmlhr.readyState === 4 && xmlhr.status === 200) {
18685													if( urlParams.get('debug') ) {
18686														const response = JSON.parse(xmlhr.response);
18687														console.log(response);
18688													}
18689												}
18690											}
18691
18692										}
18693									}
18694
18695									const goals = code.split(';');
18696									if(goals) {
18697										for(let goal of goals) {
18698											goal = goal.trim();
18699											if(goal != '') {
18700												const regexp = /ym(.*)/;
18701												if( regexp.test(goal) ) {
18702
18703													goal = goal.replace('ym(', '');
18704													goal = goal.replace(')', '');
18705													const params = goal.split(',');
18706													if(params) {
18707
18708														if (typeof window.ym != 'undefined') {
18709															executeGoal(params);
18710														} else {
18711															if(typeof window.popup1878goals == 'undefined') {
18712																window.popup1878goals = [];
18713															}
18714
18715															window.popup1878goals.push({
18716																'metrika': params[0],
18717																'action': params[1],
18718																'id': params[2]
18719															});
18720
18721															if(typeof popup1878interval == 'undefined') {
18722																popup1878interval = setInterval(function(){
18723																	if (typeof window.ym != 'undefined') {
18724																		for(let goal of window.popup1878goals) {
18725																			executeGoal(params);
18726																		}
18727																		window.popup1878goals = [];
18728																		clearInterval(popup1878interval);
18729																	}
18730																}, 1000);
18731															}
18732														}
18733													}
18734												} else {
18735													eval(goal);
18736												}
18737											}
18738										}
18739									}
18740
18741								}
18742
18743								function sgPopup1878(action = false) {
18744
18745									if(!action) return;
18746
18747									if( ['open', 'forceOpen'].includes(action) ) {
18748
18749								
18750										if(action == 'open' && window.sgPopup.shown.includes(1878)) {
18751											return false;
18752										}
18753
18754										if(window.sgPopup.opened) {
18755
18756											if(window.sgPopup.opened != 1878) {
18757												window.sgPopup.queue.push(1878);
18758											}
18759
18760										} else {
18761
18762											window.sgPopup.opened = 1878;
18763
18764											let html;
18765											let closeButton;
18766											if(window.innerWidth >= 1040) {
18767												html = "<noindex id='SGpopup1878' class='popup-wrapper grid-hidden'><div class='popup-area' data-type='close-container' style='position: absolute; top: 31px; left: 978px; 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: rgba(255, 14, 14, 0);\"><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: absolute; top: 282px; left: 11.8889px; margin-left: ; width: 455.222px; height: 267.222px; '><div class='popup-element' data-type='getcourse' style='margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;'><div class='popupElement-content'><div data-id=\"6752c552fb101192c0498e5dfb41ff1f3b248ce5\" data-src=\"https://reiraofficial.getcourse.ru/pl/lite/widget/script?id=1534295\"></div></div></div></div><div class='popup-area' data-type='area-container' style='position: absolute; top: 515.778px; left: 25px; margin-left: ; width: 388.222px; height: 21.2222px; '><div class='popup-element' data-type='editor' data-element-id='855274' style='padding-top: 0px;padding-right: 0px;padding-bottom: 0px;padding-left: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;' data-p-margin-bottom='20px' data-p-line-height='120%'><style>#SGpopup1878 .popup-element[data-element-id='855274'][data-type='editor'] p {margin-bottom: 20px}#SGpopup1878 .popup-element[data-element-id='855274'][data-type='editor'] * {line-height: 120%}</style><div class='popupElement-content'><p><span style=\"color:hsl(0,0%,0%);font-size:9px;\">*Cкидки и бонусы не суммируются</span></p></div></div></div><input type='hidden' name='popupID' value='1878'><input type='hidden' name='projectID' value='453'><input type='hidden' name='custom_utm_source'><input type='hidden' name='custom_utm_medium'><input type='hidden' name='custom_utm_campaign'><input type='hidden' name='custom_utm_content'><input type='hidden' name='custom_utm_term'></noindex>";
18768								
18769												closeButton = false;
18770										
18771											} else {
18772								
18773												html = "<noindex id='SGpopup1878' class='popup-wrapper grid-hidden'><div class='popup-area' data-type='area-container' style='position: absolute; top: 231.819px; left: 10px; margin-left: ; width: 333.4px; height: 286.4px; '><div class='popup-element' data-type='getcourse' style='margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;'><div class='popupElement-content'><div data-id=\"6752c552fb101192c0498e5dfb41ff1f3b248ce5\" data-src=\"https://reiraofficial.getcourse.ru/pl/lite/widget/script?id=1534295\"></div></div></div></div><div class='popup-area' data-type='close-container' style='position: absolute; top: 1px; left: 337.2px; margin-left: ; width: 40px; height: 40px; '><div class='popup-element' data-type='button-close' style=''><div class='popupElement-content'><button type=\"close\" style=\"padding: 10px; width: 35px; height: 35px; background-color: rgba(0, 0, 0, 0); border: 1px 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(232, 47, 47);\"><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: absolute; top: 481.556px; left: 26.5px; margin-left: ; width: 285.222px; height: 15.2222px; '><div class='popup-element' data-type='editor' data-element-id='408466' style='padding-top: 0px;padding-right: 0px;padding-bottom: 0px;padding-left: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;' data-p-margin-bottom='20px' data-p-line-height='120%'><style>#SGpopup1878 .popup-element[data-element-id='408466'][data-type='editor'] p {margin-bottom: 20px}#SGpopup1878 .popup-element[data-element-id='408466'][data-type='editor'] * {line-height: 120%}</style><div class='popupElement-content'><p><span style=\"color:hsl(0,0%,0%);font-size:7px;\">*Cкидки и бонусы не суммируются</span></p></div></div></div><input type='hidden' name='popupID' value='1878'><input type='hidden' name='projectID' value='453'><input type='hidden' name='custom_utm_source'><input type='hidden' name='custom_utm_medium'><input type='hidden' name='custom_utm_campaign'><input type='hidden' name='custom_utm_content'><input type='hidden' name='custom_utm_term'></noindex>";
18774								
18775												closeButton = false;
18776										
18777											}
18778								
18779											dateFrom = 1773100800 * 1000;
18780											if(dateFrom < Date.now()) {
18781												do {
18782													dateFrom += 9 * 24 * 60 * 60 * 1000;
18783												} while (dateFrom < Date.now());
18784											}
18785
18786											for (const match of html.matchAll(/{date((\+|\-)([0-9]*))?}/g)) {
18787												dateTo = dateFrom;
18788												if(typeof match[1] != 'undefined') {
18789													dateTo += match[1] * 24 * 60 * 60 * 1000;
18790												}
18791												dateTo = new Date(dateTo);
18792
18793												formatDate = '{day} {month} ';
18794												if(formatDate.indexOf('{day}') != -1) {
18795													day = dateTo.getDate();
18796													if("number_full" == "number_full") {
18797														if(day < 10) {
18798															day = '0' + day;
18799														}
18800													}
18801													formatDate = formatDate.replace('{day}', day);
18802												}
18803
18804												if(formatDate.indexOf('{month}') != -1) {
18805													month = dateTo.getMonth() + 1;
18806													if("text_genitive" == "number_full") {
18807														if(month < 10) {
18808															month = '0' + month;
18809														}
18810													} else if("text_genitive" == "text_nominative") {
18811														let months = {
18812															1: 'январь',
18813															2: 'февраль',
18814															3: 'март',
18815															4: 'апрель',
18816															5: 'май',
18817															6: 'июнь',
18818															7: 'июль',
18819															8: 'август',
18820															9: 'сентябрь',
18821															10: 'октябрь',
18822															11: 'ноябрь',
18823															12: 'декабрь'
18824														};
18825														month = months[month];
18826													} else if("text_genitive" == "text_genitive") {
18827														let months = {
18828															1: 'января',
18829															2: 'февраля',
18830															3: 'марта',
18831															4: 'апреля',
18832															5: 'мая',
18833															6: 'июня',
18834															7: 'июля',
18835															8: 'августа',
18836															9: 'сентября',
18837															10: 'октября',
18838															11: 'ноября',
18839															12: 'декабря'
18840														};
18841														month = months[month];
18842													}
18843													formatDate = formatDate.replace('{month}', month);
18844												}
18845
18846												if(formatDate.indexOf('{year}') != -1) {
18847													year = dateTo.getFullYear();
18848													if("number_full" == "number_short") {
18849														year = year.toString().substr(-2);
18850													}
18851													formatDate = formatDate.replace('{year}', year);
18852												}
18853												html = html.replaceAll(match[0], formatDate);
18854											};
18855										
18856											Fancybox.close();
18857											new Fancybox([
18858												{
18859													src: html,
18860													type: 'html'
18861												}
18862											], {
18863												dragToClose: false,
18864												closeButton: closeButton,
18865												compact: false,
18866												autoFocus: false,
18867												trapFocus: false,
18868												on: {
18869													done: (fancybox, slide) => {
18870								
18871													sgPopup1878reachGoal("ym(93615077,'reachGoal','pokaz_exit_popup');");
18872										
18873													const popup = document.querySelector("#SGpopup1878");
18874													if(popup) {
18875
18876														const url = new URL(location.href);
18877														window.utm_source = url.searchParams.get('utm_source');
18878														window.utm_medium = url.searchParams.get('utm_medium');
18879														window.utm_campaign = url.searchParams.get('utm_campaign');
18880														window.utm_term = url.searchParams.get('utm_term');
18881														window.utm_content = url.searchParams.get('utm_content');
18882
18883								
18884														const custom_utm_source = popup.querySelector('input[name="custom_utm_source"]');
18885														if(custom_utm_source && typeof 'site' != undefined) {
18886															custom_utm_source.value = 'site';
18887														}
18888											
18889														const custom_utm_medium = popup.querySelector('input[name="custom_utm_medium"]');
18890														if(custom_utm_medium && typeof 'seo' != undefined) {
18891															custom_utm_medium.value = 'seo';
18892														}
18893											
18894														const custom_utm_campaign = popup.querySelector('input[name="custom_utm_campaign"]');
18895														if(custom_utm_campaign && typeof 'genegator_discount_30%' != undefined) {
18896															custom_utm_campaign.value = 'genegator_discount_30%';
18897														}
18898											
18899														const custom_utm_content = popup.querySelector('input[name="custom_utm_content"]');
18900														if(custom_utm_content && typeof 'muip' != undefined) {
18901															custom_utm_content.value = 'muip';
18902														}
18903											
18904														const custom_utm_term = popup.querySelector('input[name="custom_utm_term"]');
18905														if(custom_utm_term && typeof 'popup' != undefined) {
18906															custom_utm_term.value = 'popup';
18907														}
18908											
18909														const getCourseBlocks = popup.querySelectorAll('*[data-type="getcourse"] *[data-id][data-src]');
18910														if(getCourseBlocks) {
18911															for(let getCourseBlock of getCourseBlocks) {
18912																const ID = getCourseBlock.dataset.id;
18913																const SRC = getCourseBlock.dataset.src;
18914																const script = document.createElement('script');
18915																script.id = ID;
18916																script.src = SRC;
18917																script.async = true;
18918																script.onload = () => {
18919																	const myEvent = new CustomEvent('StartWidget'+ ID);
18920																	document.dispatchEvent(myEvent);
18921																}
18922																getCourseBlock.appendChild(script);
18923															}
18924														}
18925									
18926														openerLinks = popup.querySelectorAll('a[data-target]');
18927														if(openerLinks) {
18928															for(let openerLink of openerLinks) {
18929																openerLink.addEventListener('click', function(){
18930																	if(openerLink.dataset.target) {
18931																		if(typeof window[openerLink.dataset.target] == 'function') {
18932																			Fancybox.close();
18933																			window[openerLink.dataset.target]('open');
18934																		}
18935																	}
18936																});
18937															}
18938														}
18939
18940														linkImages = popup.querySelectorAll('.image-wrapper[data-type="link"]');
18941														if(linkImages) {
18942															for(let linkImage of linkImages) {
18943																linkImage.addEventListener('click', function(){
18944																	if(linkImage.dataset.link) {
18945																		if(linkImage.dataset.target == '_blank') {
18946																			window.open(linkImage.dataset.link);
18947																		} else {
18948																			location.href = linkImage.dataset.link
18949																		}
18950																	}
18951																});
18952															}
18953														}
18954
18955														openerImages = popup.querySelectorAll('.image-wrapper[data-type="opener"]');
18956														if(openerImages) {
18957															for(let openerImage of openerImages) {
18958																openerImage.addEventListener('click', function(){
18959																	if(openerImage.dataset.popup) {
18960																		if(typeof window['sgPopup' + openerImage.dataset.popup] == 'function') {
18961																			Fancybox.close();
18962																			window['sgPopup' + openerImage.dataset.popup]('forceOpen');
18963																		}
18964																	}
18965																});
18966															}
18967														}
18968
18969														submitImages = popup.querySelectorAll('.image-wrapper[data-type="submitter"]');
18970														if(submitImages) {
18971															for(let submitImage of submitImages) {
18972																submitImage.addEventListener('click', function(){
18973
18974																	if(submitImage.classList.contains('disabled')) return false;
18975
18976																	submitImage.classList.add('disabled');
18977
18978																	sgPopup1878submit(function(result){
18979																		submitImage.classList.toggle('disabled', result);
18980																	});
18981
18982																});
18983															}
18984														}
18985
18986														const linkButtons = popup.querySelectorAll('button[data-type="link"]');
18987														if(linkButtons) {
18988															for(let linkButton of linkButtons) {
18989																linkButton.addEventListener('click', function(){
18990																	if(linkButton.dataset.link && linkButton.dataset.link != '#') {
18991								
18992																		if(linkButton.dataset.target == '_blank') {
18993																			window.open(linkButton.dataset.link);
18994																		} else {
18995																			location.href = linkButton.dataset.link
18996																		}
18997																	}
18998																});
18999															}
19000														}
19001
19002														openerButtons = popup.querySelectorAll('button[data-type="opener"]');
19003														if(openerButtons) {
19004															for(let openerButton of openerButtons) {
19005																openerButton.addEventListener('click', function(){
19006									
19007																	if(openerButton.dataset.popup) {
19008																		if(typeof window['sgPopup' + openerButton.dataset.popup] == 'function') {
19009																			Fancybox.close();
19010																			window['sgPopup' + openerButton.dataset.popup]('forceOpen');
19011																		}
19012																	}
19013																});
19014															}
19015														}
19016
19017														const maskedFields = popup.querySelectorAll('input[data-mask]');
19018														if(maskedFields) {
19019															for(let maskedField of maskedFields) {
19020																if(maskedField.dataset.mask == 'phone') {
19021																	Inputmask('+7 (999) 999-99-99', {
19022																		clearIncomplete: true,
19023																		greedy: false
19024																	}).mask(maskedField);
19025								
19026																} else if(maskedField.dataset.mask == 'email') {
19027																	Inputmask({
19028																	alias: 'email',
19029																		clearIncomplete: true,
19030																		greedy: false
19031																	}).mask(maskedField);
19032																}
19033															}
19034														}
19035
19036														const fileInputs = popup.querySelectorAll('.popup-element[data-type="input-file"] input[type="file"]');
19037														if(fileInputs) {
19038															for(let fileInput of fileInputs) {
19039																let label = fileInput.nextElementSibling;
19040																if(label) {
19041																	fileInput.addEventListener('change', function() {
19042																		if (fileInput.files && fileInput.files.length > 0) {
19043																			const maxSize = fileInput.dataset.limit;
19044																			if(fileInput.files[0].size <= maxSize * 1024 * 1024) {
19045																				reader = new FileReader();
19046																				reader.onload = function(){
19047																					const span = label.querySelector('span');
19048																					if(span) {
19049																						span.innerHTML = fileInput.files[0].name;
19050																					}
19051																					fileInput.dataset.content = reader.result;
19052																				};
19053																				reader.readAsDataURL(fileInput.files[0]);
19054																			} else {
19055																				alert('Превышен максимальный размер файла - '+ maxSize +'мб');
19056																			}
19057																		}
19058																	});
19059																	label.addEventListener('click', function(event){
19060																		event.preventDefault();
19061																		fileInput.click();
19062																	});
19063																}
19064															}
19065														}
19066
19067														const agrees = popup.querySelectorAll('.popup-element[data-type="agree"] input[type="checkbox"]');
19068														if(agrees) {
19069															for(let agree of agrees) {
19070																let parent = agree.closest('.popup-element');
19071																if(parent) {
19072																	let label = agree.nextElementSibling;
19073																	if(label) {
19074																		label.addEventListener('click', function(event){
19075																			event.preventDefault();
19076																			agree.checked = !agree.checked;
19077
19078
19079																			if(parent.dataset.mode == 'general') {
19080																				const agreeAll = agree;
19081																				for(let agree of agrees) {
19082																					agree.checked = agreeAll.checked;
19083																				}
19084																			}
19085
19086																			let agreeCount = 0;
19087																			let agreeSelected = 0;
19088																			for(let agree of agrees) {
19089																				const parent = agree.closest('.popup-element');
19090																				if(parent && parent.dataset.mode != 'general') {
19091																					agreeCount++;
19092																					if(agree.checked) {
19093																						agreeSelected++;
19094																					}
19095																				}
19096																			}
19097
19098																			const general = popup.querySelector('.popup-element[data-type="agree"][data-mode="general"]');
19099																			if(general) {
19100																				general.classList.toggle('all-selected', agreeSelected == agreeCount);
19101																				general.classList.toggle('no-selected', agreeSelected == 0);
19102																				general.classList.toggle('some-selected', agreeSelected > 0 && agreeSelected < agreeCount);
19103
19104																				const checkbox = general.querySelector('input[type="checkbox"]');
19105																				if(checkbox) {
19106																					if(agreeSelected == agreeCount) {
19107																						checkbox.checked = true;
19108																					} else {
19109																						checkbox.checked = false;
19110																					}
19111																				}
19112																			}
19113																		});
19114																		const links = label.querySelectorAll('a');
19115																		if(links) {
19116																			for(let link of links) {
19117																				link.addEventListener('click', function(event){
19118																					event.stopPropagation()
19119																				});
19120																			}
19121																		}
19122																	}
19123																}
19124															}
19125														}
19126
19127														const wheel = popup.querySelector('.popup-element[data-type="wheel"]');
19128														let wheelInterval;
19129														let wheelAngle = 0;
19130														if(wheel){
19131															const circle = popup.querySelector('.wheel-circle img');
19132															if(circle) {
19133																wheelInterval = setInterval(function(){
19134																	wheelAngle += 0.2;
19135																	if(wheelAngle > 360) {
19136																		wheelAngle -= 360;
19137																	}
19138																	circle.setAttribute('style', 'transform: rotate('+ wheelAngle +'deg)');
19139																}, 40);
19140															}
19141														}
19142
19143														const closeTriggers = popup.querySelectorAll('.popup-element[data-type="button-close"] button:not([data-fancybox-close])');
19144														if(closeTriggers) {
19145															for(let closeTrigger of closeTriggers) {
19146																closeTrigger.addEventListener('click', function(){
19147																	Fancybox.close();
19148																})
19149															}
19150														}
19151
19152														function sgPopup1878submit(callback = false) {
19153
19154															let hasError = false;
19155															const requiredInputs = popup.querySelectorAll('input[data-name][required]');
19156															if(requiredInputs) {
19157																for(let requiredInput of requiredInputs) {
19158																	if(requiredInput.dataset.mask) {
19159																		if(requiredInput.dataset.mask == 'phone') {
19160																			if(!Inputmask.isValid(requiredInput.value, { mask: '+7 (999) 999-99-99'})) {
19161																				requiredInput.classList.add('error');
19162																				hasError = true;
19163																			} else {
19164																				requiredInput.classList.remove('error');
19165																			}
19166																		} else if(requiredInput.dataset.mask == 'phone_intl' && typeof window.sgPopup.elements.intl != 'undefined') {
19167																			intl = window.sgPopup.elements.intl;
19168																			if(!intl.isValidNumberPrecise()) {
19169																				requiredInput.classList.add('error');
19170																				hasError = true;
19171																			} else {
19172																				requiredInput.classList.remove('error');
19173																			}
19174																		} else if(requiredInput.dataset.mask == 'email') {
19175																			if(!Inputmask.isValid(requiredInput.value, {alias: 'email'})) {
19176																				requiredInput.classList.add('error');
19177																				hasError = true;
19178																			} else {
19179																				requiredInput.classList.remove('error');
19180																			}
19181																		}
19182																	} else {
19183																		if(requiredInput.value == '') {
19184																			requiredInput.classList.add('error');
19185																			hasError = true;
19186																		} else {
19187																			requiredInput.classList.remove('error');
19188																		}
19189																	}
19190																}
19191															}
19192								
19193															const requiredTextareas = popup.querySelectorAll('textarea[data-name][required]');
19194															if(requiredTextareas) {
19195																for(let requiredTextarea of requiredTextareas) {
19196																	if(requiredTextarea.value == '') {
19197																		requiredTextarea.classList.add('error');
19198																		hasError = true;
19199																	} else {
19200																		requiredTextarea.classList.remove('error');
19201																	}
19202																}
19203															}
19204
19205															const requiredSelects = popup.querySelectorAll('select[data-name][required]');
19206															if(requiredSelects) {
19207																for(let requiredSelect of requiredSelects) {
19208																	const niceSelect = requiredSelect.nextElementSibling;
19209																	if(niceSelect) {
19210																		if(niceSelect.querySelector('.option.selected')) {
19211																			niceSelect.classList.remove('error')
19212																		} else {
19213																			niceSelect.classList.add('error');
19214																			hasError = true
19215																		}
19216																	}
19217																}
19218															}
19219
19220															if(agrees) {
19221																for(let agree of agrees) {
19222																	if(agree.required) {
19223																		let label = agree.nextElementSibling;
19224																		if(agree.checked) {
19225																			label.classList.remove('error');
19226																		} else {
19227																			label.classList.add('error');
19228																			hasError = true;
19229																		}
19230																	}
19231																}
19232															}
19233
19234															if(hasError) {
19235																if (callback && typeof callback === 'function') {
19236																	callback(false);
19237																}
19238																return false;
19239															}
19240
19241															function sgPopup1878sendRequest() {
19242
19243								
19244																let data = {
19245																	fields: [],
19246																	cookie: document.cookie,
19247																	markers: markers,
19248																	source: location.href
19249																};
19250								
19251																const inputs = popup.querySelectorAll('input[data-name]');
19252																if(inputs) {
19253																	for(let input of inputs) {
19254																		if(input.dataset.mask == 'phone_intl' && typeof window.sgPopup.elements.intl != 'undefined') {
19255																			intl = window.sgPopup.elements.intl;
19256																			data.fields.push({
19257																				name: input.dataset.name,
19258																				value: intl.getNumber()
19259																			});
19260																		} else {
19261																			data.fields.push({
19262																				name: input.dataset.name,
19263																				value: input.value
19264																			});
19265																		}
19266																	}
19267																}
19268
19269																const textareas = popup.querySelectorAll('textarea[data-name]');
19270																if(textareas) {
19271																	for(let textarea of textareas) {
19272																		data.fields.push({
19273																			name: textarea.dataset.name,
19274																			value: textarea.value
19275																		});
19276																	}
19277																}
19278
19279																if(typeof selects != 'undefined') {
19280																	for(let select of selects) {
19281																		data.fields.push({
19282																			name: select.dataset.name,
19283																			value: select.value
19284																		});
19285																	}
19286																}
19287
19288																const hiddenInputs = popup.querySelectorAll('input[type="hidden"]');
19289																for(let hiddenInput of hiddenInputs) {
19290																	const name = hiddenInput.name;
19291																	data[hiddenInput.name] = hiddenInput.value;
19292																}
19293
19294																const fileInputs = popup.querySelectorAll('.popup-element[data-type="input-file"] input[type="file"]');
19295																if(fileInputs) {
19296																	data.files = [];
19297																	for(let fileInput of fileInputs) {
19298																		if (fileInput.files && fileInput.files.length > 0) {
19299																			data.files.push({
19300																				'name': fileInput.files[0].name,
19301																				'content': fileInput.dataset.content
19302																			});
19303																		}
19304																	}
19305																}
19306
19307																if( wheel && typeof window.prize != 'undefined' ) {
19308																	data.fields.push(window.prize);
19309																}
19310								
19311
19312																var xmlhr = new XMLHttpRequest();
19313																xmlhr.open('POST', "https://psy-muip.ru/wp-json/generator.conversion/v1/actions/?_method=POST&action=formSubmit");
19314																xmlhr.send(JSON.stringify(data));
19315
19316																xmlhr.onreadystatechange = function() {
19317																	if (xmlhr.readyState === 4 && xmlhr.status === 200) {
19318																		console.log(xmlhr.response);
19319																		const response = JSON.parse(xmlhr.response);
19320																		console.log(response);
19321								
19322																	}
19323																};
19324								
19325																sgPopup1878reachGoal("ym(93615077,'reachGoal','lead_exit_popup');");
19326											
19327																sgSuccessPopup1878();
19328										
19329																return true;
19330
19331															}
19332
19333															if(wheel){
19334																const circle = popup.querySelector('.wheel-circle img');
19335																if(circle) {
19336																	clearInterval(wheelInterval);
19337								
19338																	}
19339
19340																} else {
19341																	const result = sgPopup1878sendRequest();
19342																	if (callback && typeof callback === 'function') {
19343																		callback(result);
19344																	}
19345																}
19346
19347															}
19348
19349															areaLinks = popup.querySelectorAll('.popup-area[data-type="area-link"]');
19350															if(areaLinks) {
19351																for(let areaLink of areaLinks) {
19352																	areaLink.addEventListener('click', function(){
19353																		if(areaLink.dataset.link && areaLink.dataset.link != '#') {
19354																			if(areaLink.dataset.target == '_blank') {
19355																				window.open(areaLink.dataset.link);
19356																			} else {
19357																				location.href = areaLink.dataset.link
19358																			}
19359																		}
19360																	});
19361																}
19362															}
19363
19364															areaOpeners = popup.querySelectorAll('.popup-area[data-type="area-opener"]');
19365															if(areaOpeners) {
19366																for(let areaOpener of areaOpeners) {
19367																	areaOpener.addEventListener('click', function(){
19368																		if(areaOpener.dataset.popup) {
19369																			if(typeof window['sgPopup' + areaOpener.dataset.popup] == 'function') {
19370																				Fancybox.close();
19371																				window['sgPopup' + areaOpener.dataset.popup]('forceOpen');
19372																			}
19373																		}
19374																	});
19375																}
19376															}
19377
19378															const submitButton = popup.querySelector(".popup-element[data-type='button-submit'] button");
19379															if(submitButton) {
19380																submitButton.addEventListener('click', function(event){
19381
19382																	event.preventDefault();
19383																	submitButton.disabled = true;
19384
19385																	sgPopup1878submit(function(result){
19386																		submitButton.disabled = result;
19387																	});
19388
19389																})
19390															}
19391														}
19392													},
19393													close: () => {
19394														window.sgPopup.opened = false;
19395														window.sgPopup.shown.push(1878);
19396														if(window.sgPopup.queue.length) {
19397															setTimeout(function(){
19398																let popupID = window.sgPopup.queue.shift();
19399																window['sgPopup' + popupID]('forceOpen');
19400															}, 30000);
19401														}
19402								
19403													}
19404												}
19405											})
19406										}
19407									}
19408								}
19409							
19410								function sgSuccessPopup1878() {
19411							
19412									let html;
19413									let closeButton;
19414									if(window.innerWidth >= 1040) {
19415										html = "<noindex id='SGsuccess1878' 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>";
19416							closeButton = false;
19417									} else {
19418										html = "<noindex id='SGsuccess1878' 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;\">Спасибо, мы скоро свяжемся с вами!&nbsp;</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>";
19419							closeButton = false;
19420									}
19421							
19422									Fancybox.close();
19423									new Fancybox([
19424										{
19425											src: html,
19426											type: 'html'
19427										}
19428									], {
19429										dragToClose: false,
19430										closeButton: closeButton,
19431										autoFocus: false,
19432										trapFocus: false,
19433										on: {
19434											done: (fancybox, slide) => {
19435							
19436												const success = document.querySelector("#SGsuccess1878");
19437												if(success) {
19438
19439													buttonLinks = success.querySelectorAll('button[data-type="link"]');
19440													if(buttonLinks) {
19441														for(let buttonLink of buttonLinks) {
19442															buttonLink.addEventListener('click', function(){
19443																if(buttonLink.dataset.link) {
19444																	if(buttonLink.dataset.target == '_blank') {
19445																		window.open(buttonLink.dataset.link);
19446																	} else {
19447																		location.href = buttonLink.dataset.link
19448																	}
19449																}
19450															});
19451														}
19452													}
19453													
19454												}
19455							
19456												setTimeout(function(){
19457													Fancybox.close();
19458												}, 3000);
19459									
19460											},
19461											close: () => {
19462												window.sgPopup.opened = false;
19463											}
19464										}
19465									});
19466								}
19467							</script>
vendor: 1 bytes, line 19467
19467
19468<script>
19469								if(typeof window.sgPopup == 'undefined') {
19470									window.sgPopup = {
19471										opened: false,
19472										queue: [],
19473										shown: [],
19474										elements: {}
19475									};
19476								}
19477						
19478								addEventListener('DOMContentLoaded', () => {
19479						
19480									document.body.addEventListener('click', function(event){
19481										if(
19482											event.target.dataset.target == "sgPopup1879"
19483											|| event.target.closest('[data-target="sgPopup1879"]')
19484										) {
19485											Fancybox.close();
19486											sgPopup1879('forceOpen');
19487										}
19488									});
19489
19490									sgPopup1879autoOpen();
19491								});
19492
19493								function sgPopup1879autoOpen() {
19494							
19495								}
19496
19497								function sgPopup1879reachGoal(code) {
19498
19499									function executeGoal(params) {
19500										if(typeof params == 'object') {
19501
19502											eval('ym('+ params.join(',') +');');
19503
19504											let data = {
19505												'goal': params[2],
19506												timestamp: new Date().toISOString()
19507											};
19508
19509											var xmlhr = new XMLHttpRequest();
19510											xmlhr.open('POST', "https://psy-muip.ru/wp-json/generator.conversion/v1/actions/?_method=POST&action=goalLog");
19511											xmlhr.send(JSON.stringify(data));
19512
19513											xmlhr.onreadystatechange = function() {
19514												if (xmlhr.readyState === 4 && xmlhr.status === 200) {
19515													if( urlParams.get('debug') ) {
19516														const response = JSON.parse(xmlhr.response);
19517														console.log(response);
19518													}
19519												}
19520											}
19521
19522										}
19523									}
19524
19525									const goals = code.split(';');
19526									if(goals) {
19527										for(let goal of goals) {
19528											goal = goal.trim();
19529											if(goal != '') {
19530												const regexp = /ym(.*)/;
19531												if( regexp.test(goal) ) {
19532
19533													goal = goal.replace('ym(', '');
19534													goal = goal.replace(')', '');
19535													const params = goal.split(',');
19536													if(params) {
19537
19538														if (typeof window.ym != 'undefined') {
19539															executeGoal(params);
19540														} else {
19541															if(typeof window.popup1879goals == 'undefined') {
19542																window.popup1879goals = [];
19543															}
19544
19545															window.popup1879goals.push({
19546																'metrika': params[0],
19547																'action': params[1],
19548																'id': params[2]
19549															});
19550
19551															if(typeof popup1879interval == 'undefined') {
19552																popup1879interval = setInterval(function(){
19553																	if (typeof window.ym != 'undefined') {
19554																		for(let goal of window.popup1879goals) {
19555																			executeGoal(params);
19556																		}
19557																		window.popup1879goals = [];
19558																		clearInterval(popup1879interval);
19559																	}
19560																}, 1000);
19561															}
19562														}
19563													}
19564												} else {
19565													eval(goal);
19566												}
19567											}
19568										}
19569									}
19570
19571								}
19572
19573								function sgPopup1879(action = false) {
19574
19575									if(!action) return;
19576
19577									if( ['open', 'forceOpen'].includes(action) ) {
19578
19579								
19580										if(action == 'open' && window.sgPopup.shown.includes(1879)) {
19581											return false;
19582										}
19583
19584										if(window.sgPopup.opened) {
19585
19586											if(window.sgPopup.opened != 1879) {
19587												window.sgPopup.queue.push(1879);
19588											}
19589
19590										} else {
19591
19592											window.sgPopup.opened = 1879;
19593
19594											let html;
19595											let closeButton;
19596											if(window.innerWidth >= 1040) {
19597												html = "<noindex id='SGpopup1879' class='popup-wrapper grid-hidden'><div class='popup-area' data-type='area-container' style='position: relative; top: 322px; left: 26px; margin-left: ; width: 433.222px; height: 221.222px; '><div class='popup-element' data-type='editor' data-element-id='273904' style='padding-top: 0px;padding-right: 0px;padding-bottom: 0px;padding-left: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 4px;margin-left: 0px;' data-p-margin-bottom='20px' data-p-line-height='120%'><style>#SGpopup1879 .popup-element[data-element-id='273904'][data-type='editor'] p {margin-bottom: 20px}#SGpopup1879 .popup-element[data-element-id='273904'][data-type='editor'] * {line-height: 120%}</style><div class='popupElement-content'><p><span style=\"color:hsl(0,0%,0%);font-size:12px;\">Введите данные для предзаписи на курс и бронирования скидки</span></p></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=\"Ваш e-mail, например: [email protected]\" data-name=\"Почта\" data-mask=\"email\" required=\"\" style=\"background-color: rgb(255, 255, 255); border-color: rgb(89, 89, 89); font-size: 17px; color: rgb(104, 104, 104); padding: 5px 8px; border-radius: 99px;\"></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=\"+7 (___) ___ - __ - __\" data-name=\"Телефон\" data-mask=\"phone\" required=\"\" style=\"background-color: rgb(255, 255, 255); border-color: rgb(89, 89, 89); font-size: 17px; color: rgb(120, 120, 120); padding: 5px 12px; border-radius: 100px;\"></div></div><div class='popup-element' data-type='button-submit' style='margin-top: 4px;margin-right: 0px;margin-bottom: 4px;margin-left: 0px;'><div class='popupElement-content'><button type=\"submit\" style=\"background-color: rgb(171, 39, 79); color: rgb(0, 0, 0); font-size: 19px; border-radius: 100px; padding: 12px 14px;\" onclick=\"\"><div class=\"buttonSubmit-content\"><p><span style=\"color:hsl(0,0%,100%);font-size:24px;\">Записаться на курс</span></p></div></button></div></div><div class='popup-element' data-type='agree' data-element-id='582603' data-fill='#9e9e9eff' data-mode='default' data-mode='default' style='margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;'><style>#SGpopup1879 .popup-element[data-element-id='582603'][data-type='agree'] .popupElement-content input[type='checkbox'] + label:before {border-color: #9e9e9eff;} #SGpopup1879 .popup-element[data-element-id='582603'][data-type='agree'] .popupElement-content input[type='checkbox'] + label:after {background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHhtbG5zOnhsaW5rPSdodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rJyB2ZXJzaW9uPScxLjEnIHg9JzBweCcgeT0nMHB4JyB3aWR0aD0nNTEycHgnIGhlaWdodD0nNTEycHgnIHZpZXdCb3g9JzAgMCA0NDIuNTMzIDQ0Mi41MzMnIHN0eWxlPSdlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDQ0Mi41MzMgNDQyLjUzMycgeG1sOnNwYWNlPSdwcmVzZXJ2ZSc+PHBhdGggZD0nTTQzNC41MzksOTguNDk5bC0zOC44MjgtMzguODI4Yy01LjMyNC01LjMyOC0xMS43OTktNy45OTMtMTkuNDEtNy45OTNjLTcuNjE4LDAtMTQuMDkzLDIuNjY1LTE5LjQxNyw3Ljk5M0wxNjkuNTksMjQ3LjI0OCBsLTgzLjkzOS04NC4yMjVjLTUuMzMtNS4zMy0xMS44MDEtNy45OTItMTkuNDEyLTcuOTkyYy03LjYxNiwwLTE0LjA4NywyLjY2Mi0xOS40MTcsNy45OTJMNy45OTQsMjAxLjg1MiAgIEMyLjY2NCwyMDcuMTgxLDAsMjEzLjY1NCwwLDIyMS4yNjljMCw3LjYwOSwyLjY2NCwxNC4wODgsNy45OTQsMTkuNDE2bDEwMy4zNTEsMTAzLjM0OWwzOC44MzEsMzguODI4IGM1LjMyNyw1LjMzMiwxMS44LDcuOTk0LDE5LjQxNCw3Ljk5NGM3LjYxMSwwLDE0LjA4NC0yLjY2OSwxOS40MTQtNy45OTRsMzguODMtMzguODI4TDQzNC41MzksMTM3LjMzIGM1LjMyNS01LjMzLDcuOTk0LTExLjgwMiw3Ljk5NC0xOS40MTdDNDQyLjUzNywxMTAuMzAyLDQzOS44NjQsMTAzLjgyOSw0MzQuNTM5LDk4LjQ5OXonIGZpbGw9JyM5ZTllOWVmZicvPjwvc3ZnPg==);}</style><div class='popupElement-content'><input type=\"checkbox\" checked=\"\" required=\"\" tabindex=\"-1\" data-orig-tabindex=\"-1\"><label><p><span style=\"color:hsl(0,0%,18%);font-size:8px;\">Я согласен на обработку моих персональных данных. 
С&nbsp;</span><a href=\"https://psy-muip.ru/agreement\" data-fpl-component=\"primitive\" target=\"_blank\" rel=\"noopener\"><span style=\"color:hsl(0,0%,18%);font-size:8px;\"><u>Политикой обработки персональных данных</u></span></a><span style=\"color:hsl(0,0%,18%);font-size:8px;\">&nbsp;ознакомлен</span></p></label></div></div><div class='popup-element' data-type='editor' data-element-id='654550' style='padding-top: 0px;padding-right: 0px;padding-bottom: 0px;padding-left: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;' data-p-margin-bottom='13px' data-p-line-height='80%'><style>#SGpopup1879 .popup-element[data-element-id='654550'][data-type='editor'] p {margin-bottom: 13px}#SGpopup1879 .popup-element[data-element-id='654550'][data-type='editor'] * {line-height: 80%}</style><div class='popupElement-content'><p><a href=\"https://psy-muip.ru/politika\" data-fpl-component=\"primitive\" target=\"_blank\" rel=\"noopener\"><span style=\"color:hsl(0,0%,18%);font-size:8px;\"><u>Политика&nbsp;в отношении обработки персональных данных</u></span></a><span style=\"color:hsl(0,0%,18%);font-size:8px;\"> | </span><a href=\"https://psy-muip.ru/custom\" data-fpl-component=\"primitive\" target=\"_blank\" rel=\"noopener\"><span style=\"color:hsl(0,0%,18%);font-size:8px;\"><u>Пользовательское соглашение</u></span></a><br><a href=\"https://psy-muip.ru/agreement\" data-fpl-component=\"primitive\" target=\"_blank\" rel=\"noopener\"><span style=\"color:hsl(0,0%,18%);font-size:8px;\"><u>Согласие на обработку персональных данных</u></span></a><span style=\"color:hsl(0,0%,18%);font-size:8px;\"> | </span><a href=\"https://psy-muip.ru/rassylka\" data-fpl-component=\"primitive\" target=\"_blank\" rel=\"noopener\"><span style=\"color:hsl(0,0%,18%);font-size:8px;\"><u>Согласие на рассылку материалов</u></span></a></p></div></div></div><div class='popup-area' data-type='close-container' style='position: absolute; top: 1px; left: 999px; 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: 34px; height: 34px; 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(234, 15, 15);\"><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='1879'><input type='hidden' name='projectID' value='453'><input type='hidden' name='custom_utm_source'><input type='hidden' name='custom_utm_medium'><input type='hidden' name='custom_utm_campaign'><input type='hidden' name='custom_utm_content'><input type='hidden' name='custom_utm_term'></noindex>";
19598								
19599												closeButton = false;
19600										
19601											} else {
19602								
19603												html = "<noindex id='SGpopup1879' class='popup-wrapper grid-hidden'><div class='popup-area' data-type='area-container' style='position: relative; top: 216px; left: 2px; margin-left: ; width: 328.222px; height: 218.222px; '><div class='popup-element' data-type='editor' data-element-id='582022' style='padding-top: 0px;padding-right: 0px;padding-bottom: 0px;padding-left: 0px;margin-top: 2px;margin-right: 0px;margin-bottom: 4px;margin-left: 0px;' data-p-margin-bottom='20px' data-p-line-height='120%'><style>#SGpopup1879 .popup-element[data-element-id='582022'][data-type='editor'] p {margin-bottom: 20px}#SGpopup1879 .popup-element[data-element-id='582022'][data-type='editor'] * {line-height: 120%}</style><div class='popupElement-content'><p><span style=\"color:hsl(0,0%,0%);font-size:10px;\">Введите данные для предзаписи на курс и бронирования скидки</span></p></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=\"Ваш e-mail, например: [email protected]\" data-name=\"Почта\" data-mask=\"email\" required=\"\" style=\"background-color: rgb(255, 255, 255); border-color: rgb(89, 89, 89); font-size: 17px; color: rgb(104, 104, 104); padding: 3px 5px; border-radius: 100px;\"></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=\"+7 (___) ___ - __ - __\" data-name=\"Телефон\" data-mask=\"phone\" required=\"\" style=\"background-color: rgb(255, 255, 255); border-color: rgb(89, 89, 89); font-size: 17px; color: rgb(120, 120, 120); padding: 3px 5px; border-radius: 100px;\"></div></div><div class='popup-element' data-type='button-submit' style='margin-top: 3px;margin-right: 0px;margin-bottom: 7px;margin-left: 0px;'><div class='popupElement-content'><button type=\"submit\" style=\"background-color: rgb(171, 39, 79); color: rgb(0, 0, 0); font-size: 19px; border-radius: 100px; padding: 11px 10px;\" onclick=\"\"><div class=\"buttonSubmit-content\"><p><span style=\"color:hsl(0,0%,100%);font-size:18px;\">Записаться на курс</span></p></div></button></div></div><div class='popup-element' data-type='agree' data-element-id='713211' data-fill='#9e9e9eff' data-mode='default' data-mode='default' style='margin-top: 0px;margin-right: 0px;margin-bottom: 4px;margin-left: 0px;'><style>#SGpopup1879 .popup-element[data-element-id='713211'][data-type='agree'] .popupElement-content input[type='checkbox'] + label:before {border-color: #9e9e9eff;} #SGpopup1879 .popup-element[data-element-id='713211'][data-type='agree'] .popupElement-content input[type='checkbox'] + label:after {background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHhtbG5zOnhsaW5rPSdodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rJyB2ZXJzaW9uPScxLjEnIHg9JzBweCcgeT0nMHB4JyB3aWR0aD0nNTEycHgnIGhlaWdodD0nNTEycHgnIHZpZXdCb3g9JzAgMCA0NDIuNTMzIDQ0Mi41MzMnIHN0eWxlPSdlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDQ0Mi41MzMgNDQyLjUzMycgeG1sOnNwYWNlPSdwcmVzZXJ2ZSc+PHBhdGggZD0nTTQzNC41MzksOTguNDk5bC0zOC44MjgtMzguODI4Yy01LjMyNC01LjMyOC0xMS43OTktNy45OTMtMTkuNDEtNy45OTNjLTcuNjE4LDAtMTQuMDkzLDIuNjY1LTE5LjQxNyw3Ljk5M0wxNjkuNTksMjQ3LjI0OCBsLTgzLjkzOS04NC4yMjVjLTUuMzMtNS4zMy0xMS44MDEtNy45OTItMTkuNDEyLTcuOTkyYy03LjYxNiwwLTE0LjA4NywyLjY2Mi0xOS40MTcsNy45OTJMNy45OTQsMjAxLjg1MiAgIEMyLjY2NCwyMDcuMTgxLDAsMjEzLjY1NCwwLDIyMS4yNjljMCw3LjYwOSwyLjY2NCwxNC4wODgsNy45OTQsMTkuNDE2bDEwMy4zNTEsMTAzLjM0OWwzOC44MzEsMzguODI4IGM1LjMyNyw1LjMzMiwxMS44LDcuOTk0LDE5LjQxNCw3Ljk5NGM3LjYxMSwwLDE0LjA4NC0yLjY2OSwxOS40MTQtNy45OTRsMzguODMtMzguODI4TDQzNC41MzksMTM3LjMzIGM1LjMyNS01LjMzLDcuOTk0LTExLjgwMiw3Ljk5NC0xOS40MTdDNDQyLjUzNywxMTAuMzAyLDQzOS44NjQsMTAzLjgyOSw0MzQuNTM5LDk4LjQ5OXonIGZpbGw9JyM5ZTllOWVmZicvPjwvc3ZnPg==);}</style><div class='popupElement-content'><input type=\"checkbox\" checked=\"\" required=\"\" tabindex=\"-1\" data-orig-tabindex=\"-1\"><label><p><span style=\"color:hsl(0,0%,18%);font-size:8px;\">Я согласен на обработку моих персональных данных. 
С&nbsp;</span><a href=\"https://psy-muip.ru/agreement\" data-fpl-component=\"primitive\" target=\"_blank\" rel=\"noopener\"><span style=\"color:hsl(0,0%,18%);font-size:8px;\"><u>Политикой обработки персональных данных</u></span></a><span style=\"color:hsl(0,0%,18%);font-size:8px;\">&nbsp;ознакомлен</span></p></label></div></div><div class='popup-element' data-type='editor' data-element-id='290225' style='padding-top: 0px;padding-right: 0px;padding-bottom: 0px;padding-left: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;' data-p-margin-bottom='13px' data-p-line-height='80%'><style>#SGpopup1879 .popup-element[data-element-id='290225'][data-type='editor'] p {margin-bottom: 13px}#SGpopup1879 .popup-element[data-element-id='290225'][data-type='editor'] * {line-height: 80%}</style><div class='popupElement-content'><p><a href=\"https://psy-muip.ru/politika\" data-fpl-component=\"primitive\" target=\"_blank\" rel=\"noopener\"><span style=\"color:hsl(0,0%,18%);font-size:8px;\"><u>Политика&nbsp;в отношении обработки персональных данных</u></span></a><span style=\"color:hsl(0,0%,18%);font-size:8px;\"> | </span><a href=\"https://psy-muip.ru/custom\" data-fpl-component=\"primitive\" target=\"_blank\" rel=\"noopener\"><span style=\"color:hsl(0,0%,18%);font-size:8px;\"><u>Пользовательское соглашение</u></span></a><br><a href=\"https://psy-muip.ru/agreement\" data-fpl-component=\"primitive\" target=\"_blank\" rel=\"noopener\"><span style=\"color:hsl(0,0%,18%);font-size:8px;\"><u>Согласие на обработку персональных данных</u></span></a><span style=\"color:hsl(0,0%,18%);font-size:8px;\"> | </span><a href=\"https://psy-muip.ru/rassylka\" data-fpl-component=\"primitive\" target=\"_blank\" rel=\"noopener\"><span style=\"color:hsl(0,0%,18%);font-size:8px;\"><u>Согласие на рассылку материалов</u></span></a></p></div></div></div><div class='popup-area' data-type='close-container' style='position: absolute; top: -38.9937px; left: 364px; margin-left: -40px; width: 40px; height: 40px; '><div class='popup-element' data-type='button-close' style=''><div class='popupElement-content'></div></div></div><input type='hidden' name='popupID' value='1879'><input type='hidden' name='projectID' value='453'><input type='hidden' name='custom_utm_source'><input type='hidden' name='custom_utm_medium'><input type='hidden' name='custom_utm_campaign'><input type='hidden' name='custom_utm_content'><input type='hidden' name='custom_utm_term'></noindex>";
19604								
19605												closeButton = true;
19606										
19607											}
19608								
19609											dateFrom = 1773187200 * 1000;
19610											if(dateFrom < Date.now()) {
19611												do {
19612													dateFrom += 5 * 24 * 60 * 60 * 1000;
19613												} while (dateFrom < Date.now());
19614											}
19615
19616											for (const match of html.matchAll(/{date((\+|\-)([0-9]*))?}/g)) {
19617												dateTo = dateFrom;
19618												if(typeof match[1] != 'undefined') {
19619													dateTo += match[1] * 24 * 60 * 60 * 1000;
19620												}
19621												dateTo = new Date(dateTo);
19622
19623												formatDate = '{day} {month} ';
19624												if(formatDate.indexOf('{day}') != -1) {
19625													day = dateTo.getDate();
19626													if("number_full" == "number_full") {
19627														if(day < 10) {
19628															day = '0' + day;
19629														}
19630													}
19631													formatDate = formatDate.replace('{day}', day);
19632												}
19633
19634												if(formatDate.indexOf('{month}') != -1) {
19635													month = dateTo.getMonth() + 1;
19636													if("text_genitive" == "number_full") {
19637														if(month < 10) {
19638															month = '0' + month;
19639														}
19640													} else if("text_genitive" == "text_nominative") {
19641														let months = {
19642															1: 'январь',
19643															2: 'февраль',
19644															3: 'март',
19645															4: 'апрель',
19646															5: 'май',
19647															6: 'июнь',
19648															7: 'июль',
19649															8: 'август',
19650															9: 'сентябрь',
19651															10: 'октябрь',
19652															11: 'ноябрь',
19653															12: 'декабрь'
19654														};
19655														month = months[month];
19656													} else if("text_genitive" == "text_genitive") {
19657														let months = {
19658															1: 'января',
19659															2: 'февраля',
19660															3: 'марта',
19661															4: 'апреля',
19662															5: 'мая',
19663															6: 'июня',
19664															7: 'июля',
19665															8: 'августа',
19666															9: 'сентября',
19667															10: 'октября',
19668															11: 'ноября',
19669															12: 'декабря'
19670														};
19671														month = months[month];
19672													}
19673													formatDate = formatDate.replace('{month}', month);
19674												}
19675
19676												if(formatDate.indexOf('{year}') != -1) {
19677													year = dateTo.getFullYear();
19678													if("number_full" == "number_short") {
19679														year = year.toString().substr(-2);
19680													}
19681													formatDate = formatDate.replace('{year}', year);
19682												}
19683												html = html.replaceAll(match[0], formatDate);
19684											};
19685										
19686											Fancybox.close();
19687											new Fancybox([
19688												{
19689													src: html,
19690													type: 'html'
19691												}
19692											], {
19693												dragToClose: false,
19694												closeButton: closeButton,
19695												compact: false,
19696												autoFocus: false,
19697												trapFocus: false,
19698												on: {
19699													done: (fancybox, slide) => {
19700								
19701													sgPopup1879reachGoal("ym(93615077,'reachGoal','Popup_topbar_show');");
19702										
19703													const popup = document.querySelector("#SGpopup1879");
19704													if(popup) {
19705
19706														const url = new URL(location.href);
19707														window.utm_source = url.searchParams.get('utm_source');
19708														window.utm_medium = url.searchParams.get('utm_medium');
19709														window.utm_campaign = url.searchParams.get('utm_campaign');
19710														window.utm_term = url.searchParams.get('utm_term');
19711														window.utm_content = url.searchParams.get('utm_content');
19712
19713								
19714														const custom_utm_source = popup.querySelector('input[name="custom_utm_source"]');
19715														if(custom_utm_source && typeof 'site' != undefined) {
19716															custom_utm_source.value = 'site';
19717														}
19718											
19719														const custom_utm_medium = popup.querySelector('input[name="custom_utm_medium"]');
19720														if(custom_utm_medium && typeof 'seo' != undefined) {
19721															custom_utm_medium.value = 'seo';
19722														}
19723											
19724														const custom_utm_campaign = popup.querySelector('input[name="custom_utm_campaign"]');
19725														if(custom_utm_campaign && typeof 'genegator_predzapis_rasprodaji_tot' != undefined) {
19726															custom_utm_campaign.value = 'genegator_predzapis_rasprodaji_tot';
19727														}
19728											
19729														const custom_utm_content = popup.querySelector('input[name="custom_utm_content"]');
19730														if(custom_utm_content && typeof 'muip' != undefined) {
19731															custom_utm_content.value = 'muip';
19732														}
19733											
19734														const custom_utm_term = popup.querySelector('input[name="custom_utm_term"]');
19735														if(custom_utm_term && typeof 'popup' != undefined) {
19736															custom_utm_term.value = 'popup';
19737														}
19738											
19739														openerLinks = popup.querySelectorAll('a[data-target]');
19740														if(openerLinks) {
19741															for(let openerLink of openerLinks) {
19742																openerLink.addEventListener('click', function(){
19743																	if(openerLink.dataset.target) {
19744																		if(typeof window[openerLink.dataset.target] == 'function') {
19745																			Fancybox.close();
19746																			window[openerLink.dataset.target]('open');
19747																		}
19748																	}
19749																});
19750															}
19751														}
19752
19753														linkImages = popup.querySelectorAll('.image-wrapper[data-type="link"]');
19754														if(linkImages) {
19755															for(let linkImage of linkImages) {
19756																linkImage.addEventListener('click', function(){
19757																	if(linkImage.dataset.link) {
19758																		if(linkImage.dataset.target == '_blank') {
19759																			window.open(linkImage.dataset.link);
19760																		} else {
19761																			location.href = linkImage.dataset.link
19762																		}
19763																	}
19764																});
19765															}
19766														}
19767
19768														openerImages = popup.querySelectorAll('.image-wrapper[data-type="opener"]');
19769														if(openerImages) {
19770															for(let openerImage of openerImages) {
19771																openerImage.addEventListener('click', function(){
19772																	if(openerImage.dataset.popup) {
19773																		if(typeof window['sgPopup' + openerImage.dataset.popup] == 'function') {
19774																			Fancybox.close();
19775																			window['sgPopup' + openerImage.dataset.popup]('forceOpen');
19776																		}
19777																	}
19778																});
19779															}
19780														}
19781
19782														submitImages = popup.querySelectorAll('.image-wrapper[data-type="submitter"]');
19783														if(submitImages) {
19784															for(let submitImage of submitImages) {
19785																submitImage.addEventListener('click', function(){
19786
19787																	if(submitImage.classList.contains('disabled')) return false;
19788
19789																	submitImage.classList.add('disabled');
19790
19791																	sgPopup1879submit(function(result){
19792																		submitImage.classList.toggle('disabled', result);
19793																	});
19794
19795																});
19796															}
19797														}
19798
19799														const linkButtons = popup.querySelectorAll('button[data-type="link"]');
19800														if(linkButtons) {
19801															for(let linkButton of linkButtons) {
19802																linkButton.addEventListener('click', function(){
19803																	if(linkButton.dataset.link && linkButton.dataset.link != '#') {
19804								
19805																		if(linkButton.dataset.target == '_blank') {
19806																			window.open(linkButton.dataset.link);
19807																		} else {
19808																			location.href = linkButton.dataset.link
19809																		}
19810																	}
19811																});
19812															}
19813														}
19814
19815														openerButtons = popup.querySelectorAll('button[data-type="opener"]');
19816														if(openerButtons) {
19817															for(let openerButton of openerButtons) {
19818																openerButton.addEventListener('click', function(){
19819									
19820																	if(openerButton.dataset.popup) {
19821																		if(typeof window['sgPopup' + openerButton.dataset.popup] == 'function') {
19822																			Fancybox.close();
19823																			window['sgPopup' + openerButton.dataset.popup]('forceOpen');
19824																		}
19825																	}
19826																});
19827															}
19828														}
19829
19830														const maskedFields = popup.querySelectorAll('input[data-mask]');
19831														if(maskedFields) {
19832															for(let maskedField of maskedFields) {
19833																if(maskedField.dataset.mask == 'phone') {
19834																	Inputmask('+7 (999) 999-99-99', {
19835																		clearIncomplete: true,
19836																		greedy: false
19837																	}).mask(maskedField);
19838								
19839																} else if(maskedField.dataset.mask == 'email') {
19840																	Inputmask({
19841																	alias: 'email',
19842																		clearIncomplete: true,
19843																		greedy: false
19844																	}).mask(maskedField);
19845																}
19846															}
19847														}
19848
19849														const fileInputs = popup.querySelectorAll('.popup-element[data-type="input-file"] input[type="file"]');
19850														if(fileInputs) {
19851															for(let fileInput of fileInputs) {
19852																let label = fileInput.nextElementSibling;
19853																if(label) {
19854																	fileInput.addEventListener('change', function() {
19855																		if (fileInput.files && fileInput.files.length > 0) {
19856																			const maxSize = fileInput.dataset.limit;
19857																			if(fileInput.files[0].size <= maxSize * 1024 * 1024) {
19858																				reader = new FileReader();
19859																				reader.onload = function(){
19860																					const span = label.querySelector('span');
19861																					if(span) {
19862																						span.innerHTML = fileInput.files[0].name;
19863																					}
19864																					fileInput.dataset.content = reader.result;
19865																				};
19866																				reader.readAsDataURL(fileInput.files[0]);
19867																			} else {
19868																				alert('Превышен максимальный размер файла - '+ maxSize +'мб');
19869																			}
19870																		}
19871																	});
19872																	label.addEventListener('click', function(event){
19873																		event.preventDefault();
19874																		fileInput.click();
19875																	});
19876																}
19877															}
19878														}
19879
19880														const agrees = popup.querySelectorAll('.popup-element[data-type="agree"] input[type="checkbox"]');
19881														if(agrees) {
19882															for(let agree of agrees) {
19883																let parent = agree.closest('.popup-element');
19884																if(parent) {
19885																	let label = agree.nextElementSibling;
19886																	if(label) {
19887																		label.addEventListener('click', function(event){
19888																			event.preventDefault();
19889																			agree.checked = !agree.checked;
19890
19891
19892																			if(parent.dataset.mode == 'general') {
19893																				const agreeAll = agree;
19894																				for(let agree of agrees) {
19895																					agree.checked = agreeAll.checked;
19896																				}
19897																			}
19898
19899																			let agreeCount = 0;
19900																			let agreeSelected = 0;
19901																			for(let agree of agrees) {
19902																				const parent = agree.closest('.popup-element');
19903																				if(parent && parent.dataset.mode != 'general') {
19904																					agreeCount++;
19905																					if(agree.checked) {
19906																						agreeSelected++;
19907																					}
19908																				}
19909																			}
19910
19911																			const general = popup.querySelector('.popup-element[data-type="agree"][data-mode="general"]');
19912																			if(general) {
19913																				general.classList.toggle('all-selected', agreeSelected == agreeCount);
19914																				general.classList.toggle('no-selected', agreeSelected == 0);
19915																				general.classList.toggle('some-selected', agreeSelected > 0 && agreeSelected < agreeCount);
19916
19917																				const checkbox = general.querySelector('input[type="checkbox"]');
19918																				if(checkbox) {
19919																					if(agreeSelected == agreeCount) {
19920																						checkbox.checked = true;
19921																					} else {
19922																						checkbox.checked = false;
19923																					}
19924																				}
19925																			}
19926																		});
19927																		const links = label.querySelectorAll('a');
19928																		if(links) {
19929																			for(let link of links) {
19930																				link.addEventListener('click', function(event){
19931																					event.stopPropagation()
19932																				});
19933																			}
19934																		}
19935																	}
19936																}
19937															}
19938														}
19939
19940														const wheel = popup.querySelector('.popup-element[data-type="wheel"]');
19941														let wheelInterval;
19942														let wheelAngle = 0;
19943														if(wheel){
19944															const circle = popup.querySelector('.wheel-circle img');
19945															if(circle) {
19946																wheelInterval = setInterval(function(){
19947																	wheelAngle += 0.2;
19948																	if(wheelAngle > 360) {
19949																		wheelAngle -= 360;
19950																	}
19951																	circle.setAttribute('style', 'transform: rotate('+ wheelAngle +'deg)');
19952																}, 40);
19953															}
19954														}
19955
19956														const closeTriggers = popup.querySelectorAll('.popup-element[data-type="button-close"] button:not([data-fancybox-close])');
19957														if(closeTriggers) {
19958															for(let closeTrigger of closeTriggers) {
19959																closeTrigger.addEventListener('click', function(){
19960																	Fancybox.close();
19961																})
19962															}
19963														}
19964
19965														function sgPopup1879submit(callback = false) {
19966
19967															let hasError = false;
19968															const requiredInputs = popup.querySelectorAll('input[data-name][required]');
19969															if(requiredInputs) {
19970																for(let requiredInput of requiredInputs) {
19971																	if(requiredInput.dataset.mask) {
19972																		if(requiredInput.dataset.mask == 'phone') {
19973																			if(!Inputmask.isValid(requiredInput.value, { mask: '+7 (999) 999-99-99'})) {
19974																				requiredInput.classList.add('error');
19975																				hasError = true;
19976																			} else {
19977																				requiredInput.classList.remove('error');
19978																			}
19979																		} else if(requiredInput.dataset.mask == 'phone_intl' && typeof window.sgPopup.elements.intl != 'undefined') {
19980																			intl = window.sgPopup.elements.intl;
19981																			if(!intl.isValidNumberPrecise()) {
19982																				requiredInput.classList.add('error');
19983																				hasError = true;
19984																			} else {
19985																				requiredInput.classList.remove('error');
19986																			}
19987																		} else if(requiredInput.dataset.mask == 'email') {
19988																			if(!Inputmask.isValid(requiredInput.value, {alias: 'email'})) {
19989																				requiredInput.classList.add('error');
19990																				hasError = true;
19991																			} else {
19992																				requiredInput.classList.remove('error');
19993																			}
19994																		}
19995																	} else {
19996																		if(requiredInput.value == '') {
19997																			requiredInput.classList.add('error');
19998																			hasError = true;
19999																		} else {
20000																			requiredInput.classList.remove('error');
20001																		}
20002																	}
20003																}
20004															}
20005								
20006															const requiredTextareas = popup.querySelectorAll('textarea[data-name][required]');
20007															if(requiredTextareas) {
20008																for(let requiredTextarea of requiredTextareas) {
20009																	if(requiredTextarea.value == '') {
20010																		requiredTextarea.classList.add('error');
20011																		hasError = true;
20012																	} else {
20013																		requiredTextarea.classList.remove('error');
20014																	}
20015																}
20016															}
20017
20018															const requiredSelects = popup.querySelectorAll('select[data-name][required]');
20019															if(requiredSelects) {
20020																for(let requiredSelect of requiredSelects) {
20021																	const niceSelect = requiredSelect.nextElementSibling;
20022																	if(niceSelect) {
20023																		if(niceSelect.querySelector('.option.selected')) {
20024																			niceSelect.classList.remove('error')
20025																		} else {
20026																			niceSelect.classList.add('error');
20027																			hasError = true
20028																		}
20029																	}
20030																}
20031															}
20032
20033															if(agrees) {
20034																for(let agree of agrees) {
20035																	if(agree.required) {
20036																		let label = agree.nextElementSibling;
20037																		if(agree.checked) {
20038																			label.classList.remove('error');
20039																		} else {
20040																			label.classList.add('error');
20041																			hasError = true;
20042																		}
20043																	}
20044																}
20045															}
20046
20047															if(hasError) {
20048																if (callback && typeof callback === 'function') {
20049																	callback(false);
20050																}
20051																return false;
20052															}
20053
20054															function sgPopup1879sendRequest() {
20055
20056								
20057																let data = {
20058																	fields: [],
20059																	cookie: document.cookie,
20060																	markers: markers,
20061																	source: location.href
20062																};
20063								
20064																const inputs = popup.querySelectorAll('input[data-name]');
20065																if(inputs) {
20066																	for(let input of inputs) {
20067																		if(input.dataset.mask == 'phone_intl' && typeof window.sgPopup.elements.intl != 'undefined') {
20068																			intl = window.sgPopup.elements.intl;
20069																			data.fields.push({
20070																				name: input.dataset.name,
20071																				value: intl.getNumber()
20072																			});
20073																		} else {
20074																			data.fields.push({
20075																				name: input.dataset.name,
20076																				value: input.value
20077																			});
20078																		}
20079																	}
20080																}
20081
20082																const textareas = popup.querySelectorAll('textarea[data-name]');
20083																if(textareas) {
20084																	for(let textarea of textareas) {
20085																		data.fields.push({
20086																			name: textarea.dataset.name,
20087																			value: textarea.value
20088																		});
20089																	}
20090																}
20091
20092																if(typeof selects != 'undefined') {
20093																	for(let select of selects) {
20094																		data.fields.push({
20095																			name: select.dataset.name,
20096																			value: select.value
20097																		});
20098																	}
20099																}
20100
20101																const hiddenInputs = popup.querySelectorAll('input[type="hidden"]');
20102																for(let hiddenInput of hiddenInputs) {
20103																	const name = hiddenInput.name;
20104																	data[hiddenInput.name] = hiddenInput.value;
20105																}
20106
20107																const fileInputs = popup.querySelectorAll('.popup-element[data-type="input-file"] input[type="file"]');
20108																if(fileInputs) {
20109																	data.files = [];
20110																	for(let fileInput of fileInputs) {
20111																		if (fileInput.files && fileInput.files.length > 0) {
20112																			data.files.push({
20113																				'name': fileInput.files[0].name,
20114																				'content': fileInput.dataset.content
20115																			});
20116																		}
20117																	}
20118																}
20119
20120																if( wheel && typeof window.prize != 'undefined' ) {
20121																	data.fields.push(window.prize);
20122																}
20123								
20124
20125																var xmlhr = new XMLHttpRequest();
20126																xmlhr.open('POST', "https://psy-muip.ru/wp-json/generator.conversion/v1/actions/?_method=POST&action=formSubmit");
20127																xmlhr.send(JSON.stringify(data));
20128
20129																xmlhr.onreadystatechange = function() {
20130																	if (xmlhr.readyState === 4 && xmlhr.status === 200) {
20131																		console.log(xmlhr.response);
20132																		const response = JSON.parse(xmlhr.response);
20133																		console.log(response);
20134								
20135																	}
20136																};
20137								
20138																sgPopup1879reachGoal("ym(93615077,'reachGoal','Popup_topbar_send');");
20139											
20140																sgSuccessPopup1879();
20141										
20142																return true;
20143
20144															}
20145
20146															if(wheel){
20147																const circle = popup.querySelector('.wheel-circle img');
20148																if(circle) {
20149																	clearInterval(wheelInterval);
20150								
20151																	}
20152
20153																} else {
20154																	const result = sgPopup1879sendRequest();
20155																	if (callback && typeof callback === 'function') {
20156																		callback(result);
20157																	}
20158																}
20159
20160															}
20161
20162															areaLinks = popup.querySelectorAll('.popup-area[data-type="area-link"]');
20163															if(areaLinks) {
20164																for(let areaLink of areaLinks) {
20165																	areaLink.addEventListener('click', function(){
20166																		if(areaLink.dataset.link && areaLink.dataset.link != '#') {
20167																			if(areaLink.dataset.target == '_blank') {
20168																				window.open(areaLink.dataset.link);
20169																			} else {
20170																				location.href = areaLink.dataset.link
20171																			}
20172																		}
20173																	});
20174																}
20175															}
20176
20177															areaOpeners = popup.querySelectorAll('.popup-area[data-type="area-opener"]');
20178															if(areaOpeners) {
20179																for(let areaOpener of areaOpeners) {
20180																	areaOpener.addEventListener('click', function(){
20181																		if(areaOpener.dataset.popup) {
20182																			if(typeof window['sgPopup' + areaOpener.dataset.popup] == 'function') {
20183																				Fancybox.close();
20184																				window['sgPopup' + areaOpener.dataset.popup]('forceOpen');
20185																			}
20186																		}
20187																	});
20188																}
20189															}
20190
20191															const submitButton = popup.querySelector(".popup-element[data-type='button-submit'] button");
20192															if(submitButton) {
20193																submitButton.addEventListener('click', function(event){
20194
20195																	event.preventDefault();
20196																	submitButton.disabled = true;
20197
20198																	sgPopup1879submit(function(result){
20199																		submitButton.disabled = result;
20200																	});
20201
20202																})
20203															}
20204														}
20205													},
20206													close: () => {
20207														window.sgPopup.opened = false;
20208														window.sgPopup.shown.push(1879);
20209														if(window.sgPopup.queue.length) {
20210															setTimeout(function(){
20211																let popupID = window.sgPopup.queue.shift();
20212																window['sgPopup' + popupID]('forceOpen');
20213															}, 30000);
20214														}
20215								
20216													}
20217												}
20218											})
20219										}
20220									}
20221								}
20222							
20223								function sgSuccessPopup1879() {
20224							
20225									let html;
20226									let closeButton;
20227									if(window.innerWidth >= 1040) {
20228										html = "<noindex id='SGsuccess1879' 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>";
20229							closeButton = false;
20230									} else {
20231										html = "<noindex id='SGsuccess1879' 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;\">Спасибо, мы скоро свяжемся с вами!&nbsp;</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>";
20232							closeButton = false;
20233									}
20234							
20235									Fancybox.close();
20236									new Fancybox([
20237										{
20238											src: html,
20239											type: 'html'
20240										}
20241									], {
20242										dragToClose: false,
20243										closeButton: closeButton,
20244										autoFocus: false,
20245										trapFocus: false,
20246										on: {
20247											done: (fancybox, slide) => {
20248							
20249												const success = document.querySelector("#SGsuccess1879");
20250												if(success) {
20251
20252													buttonLinks = success.querySelectorAll('button[data-type="link"]');
20253													if(buttonLinks) {
20254														for(let buttonLink of buttonLinks) {
20255															buttonLink.addEventListener('click', function(){
20256																if(buttonLink.dataset.link) {
20257																	if(buttonLink.dataset.target == '_blank') {
20258																		window.open(buttonLink.dataset.link);
20259																	} else {
20260																		location.href = buttonLink.dataset.link
20261																	}
20262																}
20263															});
20264														}
20265													}
20266													
20267												}
20268							
20269												setTimeout(function(){
20270													Fancybox.close();
20271												}, 3000);
20272									
20273											},
20274											close: () => {
20275												window.sgPopup.opened = false;
20276											}
20277										}
20278									});
20279								}
20280							</script>
vendor: 1 bytes, line 20280
20280
20281<script>
20282								if(typeof window.sgPopup == 'undefined') {
20283									window.sgPopup = {
20284										opened: false,
20285										queue: [],
20286										shown: [],
20287										elements: {}
20288									};
20289								}
20290						
20291								addEventListener('DOMContentLoaded', () => {
20292						
20293									document.body.addEventListener('click', function(event){
20294										if(
20295											event.target.dataset.target == "sgPopup1882"
20296											|| event.target.closest('[data-target="sgPopup1882"]')
20297										) {
20298											Fancybox.close();
20299											sgPopup1882('forceOpen');
20300										}
20301									});
20302
20303									sgPopup1882autoOpen();
20304								});
20305
20306								function sgPopup1882autoOpen() {
20307							
20308									setTimeout(function(){
20309										let limit = 3600000;
20310										let localStoragePopup = localStorage.getItem('localStoragePopup1790797910');
20311										if (+new Date() - localStoragePopup > limit) {
20312											localStorage.removeItem('localStoragePopup1790797910');
20313										}
20314										if (!(localStorage.getItem('localStoragePopup1790797910'))) {
20315											sgPopup1882('open');
20316										}
20317									}, 60000);
20318								
20319								}
20320
20321								function sgPopup1882reachGoal(code) {
20322
20323									function executeGoal(params) {
20324										if(typeof params == 'object') {
20325
20326											eval('ym('+ params.join(',') +');');
20327
20328											let data = {
20329												'goal': params[2],
20330												timestamp: new Date().toISOString()
20331											};
20332
20333											var xmlhr = new XMLHttpRequest();
20334											xmlhr.open('POST', "https://psy-muip.ru/wp-json/generator.conversion/v1/actions/?_method=POST&action=goalLog");
20335											xmlhr.send(JSON.stringify(data));
20336
20337											xmlhr.onreadystatechange = function() {
20338												if (xmlhr.readyState === 4 && xmlhr.status === 200) {
20339													if( urlParams.get('debug') ) {
20340														const response = JSON.parse(xmlhr.response);
20341														console.log(response);
20342													}
20343												}
20344											}
20345
20346										}
20347									}
20348
20349									const goals = code.split(';');
20350									if(goals) {
20351										for(let goal of goals) {
20352											goal = goal.trim();
20353											if(goal != '') {
20354												const regexp = /ym(.*)/;
20355												if( regexp.test(goal) ) {
20356
20357													goal = goal.replace('ym(', '');
20358													goal = goal.replace(')', '');
20359													const params = goal.split(',');
20360													if(params) {
20361
20362														if (typeof window.ym != 'undefined') {
20363															executeGoal(params);
20364														} else {
20365															if(typeof window.popup1882goals == 'undefined') {
20366																window.popup1882goals = [];
20367															}
20368
20369															window.popup1882goals.push({
20370																'metrika': params[0],
20371																'action': params[1],
20372																'id': params[2]
20373															});
20374
20375															if(typeof popup1882interval == 'undefined') {
20376																popup1882interval = setInterval(function(){
20377																	if (typeof window.ym != 'undefined') {
20378																		for(let goal of window.popup1882goals) {
20379																			executeGoal(params);
20380																		}
20381																		window.popup1882goals = [];
20382																		clearInterval(popup1882interval);
20383																	}
20384																}, 1000);
20385															}
20386														}
20387													}
20388												} else {
20389													eval(goal);
20390												}
20391											}
20392										}
20393									}
20394
20395								}
20396
20397								function sgPopup1882(action = false) {
20398
20399									if(!action) return;
20400
20401									if( ['open', 'forceOpen'].includes(action) ) {
20402
20403								
20404										if(action == 'open' && window.sgPopup.shown.includes(1882)) {
20405											return false;
20406										}
20407
20408										if(window.sgPopup.opened) {
20409
20410											if(window.sgPopup.opened != 1882) {
20411												window.sgPopup.queue.push(1882);
20412											}
20413
20414										} else {
20415
20416											window.sgPopup.opened = 1882;
20417
20418											let html;
20419											let closeButton;
20420											if(window.innerWidth >= 1040) {
20421												html = "<noindex id='SGpopup1882' class='popup-wrapper grid-hidden'><div class='popup-area' data-type='area-container' style='position: relative; top: 246px; left: 30px; margin-left: ; width: 466.222px; height: 371.222px; '><div class='popup-element' data-type='editor' data-element-id='500133' style='padding-top: 0px;padding-right: 0px;padding-bottom: 0px;padding-left: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 2px;margin-left: 0px;' data-p-margin-bottom='20px' data-p-line-height='120%'><style>#SGpopup1882 .popup-element[data-element-id='500133'][data-type='editor'] p {margin-bottom: 20px}#SGpopup1882 .popup-element[data-element-id='500133'][data-type='editor'] * {line-height: 120%}</style><div class='popupElement-content'><p><span style=\"color:hsl(0,0%,0%);font-size:14px;\">Укажите почту для получения информации о подарке:</span></p></div></div><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=\"Ваш e-mail, например: [email protected]\" data-name=\"Почта\" data-mask=\"email\" required=\"\" style=\"background-color: rgb(255, 255, 255); border-color: rgb(227, 227, 227); font-size: 17px; color: rgb(104, 104, 104); padding: 11px; border-radius: 30px;\"></div></div><div class='popup-element' data-type='editor' data-element-id='111781' style='padding-top: 0px;padding-right: 0px;padding-bottom: 0px;padding-left: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 2px;margin-left: 0px;' data-p-margin-bottom='20px' data-p-line-height='120%'><style>#SGpopup1882 .popup-element[data-element-id='111781'][data-type='editor'] p {margin-bottom: 20px}#SGpopup1882 .popup-element[data-element-id='111781'][data-type='editor'] * {line-height: 120%}</style><div class='popupElement-content'><p><span style=\"font-size:14px;\">Подтвердите, что вы не робот, указав номер телефона:</span></p></div></div><div class='popup-element' data-type='input' style='margin-top: 0px;margin-right: 0px;margin-bottom: 9px;margin-left: 0px;'><div class='popupElement-content'><input type=\"text\" placeholder=\"+7 (___) ___ - __ - __\" data-name=\"Телефон\" data-mask=\"phone_intl\" required=\"\" style=\"background-color: rgb(255, 255, 255); border-color: rgb(225, 225, 226); font-size: 17px; color: rgb(120, 120, 120); padding: 11px; border-radius: 30px;\"></div></div><div class='popup-element' data-type='button-submit' style='margin-top: 6px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;'><div class='popupElement-content'><button type=\"submit\" style=\"background-color: rgba(67, 49, 57, 0); color: rgb(0, 0, 0); font-size: 19px; border-radius: 30px; padding: 40px 36px;\" onclick=\"\"><div class=\"buttonSubmit-content\"></div></button></div></div><div class='popup-element' data-type='agree' data-element-id='670301' data-fill='#9e9e9eff' data-mode='default' data-mode='default' style='margin-top: 33px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;'><style>#SGpopup1882 .popup-element[data-element-id='670301'][data-type='agree'] .popupElement-content input[type='checkbox'] + label:before {border-color: #9e9e9eff;} #SGpopup1882 .popup-element[data-element-id='670301'][data-type='agree'] .popupElement-content input[type='checkbox'] + label:after {background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHhtbG5zOnhsaW5rPSdodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rJyB2ZXJzaW9uPScxLjEnIHg9JzBweCcgeT0nMHB4JyB3aWR0aD0nNTEycHgnIGhlaWdodD0nNTEycHgnIHZpZXdCb3g9JzAgMCA0NDIuNTMzIDQ0Mi41MzMnIHN0eWxlPSdlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDQ0Mi41MzMgNDQyLjUzMycgeG1sOnNwYWNlPSdwcmVzZXJ2ZSc+PHBhdGggZD0nTTQzNC41MzksOTguNDk5bC0zOC44MjgtMzguODI4Yy01LjMyNC01LjMyOC0xMS43OTktNy45OTMtMTkuNDEtNy45OTNjLTcuNjE4LDAtMTQuMDkzLDIuNjY1LTE5LjQxNyw3Ljk5M0wxNjkuNTksMjQ3LjI0OCBsLTgzLjkzOS04NC4yMjVjLTUuMzMtNS4zMy0xMS44MDEtNy45OTItMTkuNDEyLTcuOTkyYy03LjYxNiwwLTE0LjA4NywyLjY2Mi0xOS40MTcsNy45OTJMNy45OTQsMjAxLjg1MiAgIEMyLjY2NCwyMDcuMTgxLDAsMjEzLjY1NCwwLDIyMS4yNjljMCw3LjYwOSwyLjY2NCwxNC4wODgsNy45OTQsMTkuNDE2bDEwMy4zNTEsMTAzLjM0OWwzOC44MzEsMzguODI4IGM1LjMyNyw1LjMzMiwxMS44LDcuOTk0LDE5LjQxNCw3Ljk5NGM3LjYxMSwwLDE0LjA4NC0yLjY2OSwxOS40MTQtNy45OTRsMzguODMtMzguODI4TDQzNC41MzksMTM3LjMzIGM1LjMyNS01LjMzLDcuOTk0LTExLjgwMiw3Ljk5NC0xOS40MTdDNDQyLjUzNywxMTAuMzAyLDQzOS44NjQsMTAzLjgyOSw0MzQuNTM5LDk4LjQ5OXonIGZpbGw9JyM5ZTllOWVmZicvPjwvc3ZnPg==);}</style><div class='popupElement-content'><input type=\"checkbox\" checked=\"\" required=\"\" tabindex=\"-1\" data-orig-tabindex=\"-1\"><label><p><span style=\"color:hsl(0,0%,18%);font-size:9px;\">Я согласен на обработку моих персональных данных. 
С&nbsp;</span><a href=\"https://psy-muip.ru/agreement\" data-fpl-component=\"primitive\" target=\"_blank\" rel=\"noopener\"><span style=\"color:hsl(0,0%,18%);font-size:9px;\"><u>Политикой обработки персональных данных</u></span></a><span style=\"color:hsl(0,0%,18%);font-size:9px;\">&nbsp;ознакомлен</span></p></label></div></div><div class='popup-element' data-type='editor' data-element-id='129343' style='padding-top: 0px;padding-right: 0px;padding-bottom: 0px;padding-left: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;' data-p-margin-bottom='13px' data-p-line-height='80%'><style>#SGpopup1882 .popup-element[data-element-id='129343'][data-type='editor'] p {margin-bottom: 13px}#SGpopup1882 .popup-element[data-element-id='129343'][data-type='editor'] * {line-height: 80%}</style><div class='popupElement-content'><p><a href=\"https://psy-muip.ru/politika\" data-fpl-component=\"primitive\" target=\"_blank\" rel=\"noopener\"><span style=\"color:hsl(0,0%,18%);font-size:9px;\"><u>Политика&nbsp;в отношении обработки персональных данных</u></span></a><span style=\"color:hsl(0,0%,18%);font-size:9px;\"> | </span><a href=\"https://psy-muip.ru/custom\" data-fpl-component=\"primitive\" target=\"_blank\" rel=\"noopener\"><span style=\"color:hsl(0,0%,18%);font-size:9px;\"><u>Пользовательское соглашение</u></span></a><br><a href=\"https://psy-muip.ru/agreement\" data-fpl-component=\"primitive\" target=\"_blank\" rel=\"noopener\"><span style=\"color:hsl(0,0%,18%);font-size:9px;\"><u>Согласие на обработку персональных данных</u></span></a><span style=\"color:hsl(0,0%,18%);font-size:9px;\"> | </span><a href=\"https://psy-muip.ru/rassylka\" data-fpl-component=\"primitive\" target=\"_blank\" rel=\"noopener\"><span style=\"color:hsl(0,0%,18%);font-size:9px;\"><u>Согласие на рассылку материалов</u></span></a></p></div></div><div class='popup-element' data-type='editor' data-element-id='513285' style='padding-top: 0px;padding-right: 0px;padding-bottom: 0px;padding-left: 0px;margin-top: 2px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;' data-p-margin-bottom='20px' data-p-line-height='120%'><style>#SGpopup1882 .popup-element[data-element-id='513285'][data-type='editor'] p {margin-bottom: 20px}#SGpopup1882 .popup-element[data-element-id='513285'][data-type='editor'] * {line-height: 120%}</style><div class='popupElement-content'><p><span style=\"color:hsl(0,0%,0%);font-size:8px;\">*Cкидки и бонусы не суммируются</span></p></div></div></div><div class='popup-area' data-type='close-container' style='position: absolute; top: -2px; left: 1189px; 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: 36px; height: 36px; 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(255, 14, 14);\">
20421<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: absolute; top: 27px; left: 196px; margin-left: ; width: 92.8667px; height: 24.8667px; '><div class='popup-element' data-type='editor' data-element-id='105568' style='padding-top: 0px;padding-right: 0px;padding-bottom: 0px;padding-left: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;' data-p-margin-bottom='20px' data-p-line-height='120%'><style>#SGpopup1882 .popup-element[data-element-id='105568'][data-type='editor'] p {margin-bottom: 20px}#SGpopup1882 .popup-element[data-element-id='105568'][data-type='editor'] * {line-height: 120%}</style><div class='popupElement-content'><p><span style=\"color:hsl(0, 0%, 0%);font-size:18px;\">{date}</span></p></div></div></div><div class='popup-element' data-type='wheel' style='position: absolute; top: -20px; left: 548px'><div class='popupElement-content'><div class=\"wheel-circle\"><img src=\"https://service.leads-gen.ru/upload/453/popups/1663/1779461714.png\" width=\"683\" height=\"683\" alt=\"1779461714.png\"></div><div class=\"wheel-prizes\" style=\"margin-top: 41px; margin-left: 37px;\"><img src=\"https://service.leads-gen.ru/upload/453/popups/1882/1790798903.png\" width=\"610\" height=\"610\" alt=\"1790798903.png\"></div></div></div><input type='hidden' name='popupID' value='1882'><input type='hidden' name='projectID' value='453'><input type='hidden' name='custom_utm_source'><input type='hidden' name='custom_utm_medium'><input type='hidden' name='custom_utm_campaign'><input type='hidden' name='custom_utm_content'><input type='hidden' name='custom_utm_term'></noindex>";
20422								
20423												closeButton = false;
20424										
20425											} else {
20426								
20427												html = "<noindex id='SGpopup1882' class='popup-wrapper grid-hidden'><div class='popup-area' data-type='area-container' style='position: relative; top: 141px; left: 7px; margin-left: ; width: 322.222px; height: 283.222px; '><div class='popup-element' data-type='editor' data-element-id='162439' style='padding-top: 0px;padding-right: 0px;padding-bottom: 0px;padding-left: 0px;margin-top: 2px;margin-right: 0px;margin-bottom: 4px;margin-left: 0px;' data-p-margin-bottom='20px' data-p-line-height='120%'><style>#SGpopup1882 .popup-element[data-element-id='162439'][data-type='editor'] p {margin-bottom: 20px}#SGpopup1882 .popup-element[data-element-id='162439'][data-type='editor'] * {line-height: 120%}</style><div class='popupElement-content'><p><span style=\"color:hsl(0,0%,0%);font-size:12px;\">Укажите почту для получения информации о подарке:</span></p></div></div><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=\"Ваш e-mail, например: [email protected]\" data-name=\"Почта\" data-mask=\"email\" required=\"\" style=\"background-color: rgb(255, 255, 255); border-color: rgb(227, 227, 227); font-size: 17px; color: rgb(104, 104, 104); padding: 5px; border-radius: 30px;\"></div></div><div class='popup-element' data-type='editor' data-element-id='836069' style='padding-top: 0px;padding-right: 0px;padding-bottom: 0px;padding-left: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 4px;margin-left: 0px;' data-p-margin-bottom='20px' data-p-line-height='120%'><style>#SGpopup1882 .popup-element[data-element-id='836069'][data-type='editor'] p {margin-bottom: 20px}#SGpopup1882 .popup-element[data-element-id='836069'][data-type='editor'] * {line-height: 120%}</style><div class='popupElement-content'><p><span style=\"font-size:12px;\">Подтвердите, что вы не робот, указав номер телефона:</span></p></div></div><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 (___) ___ - __ - __\" data-name=\"Телефон\" data-mask=\"phone_intl\" required=\"\" style=\"background-color: rgb(255, 255, 255); border-color: rgb(225, 225, 226); font-size: 17px; color: rgb(120, 120, 120); padding: 5px; border-radius: 30px;\"></div></div><div class='popup-element' data-type='button-submit' style='margin-top: 0px;margin-right: 0px;margin-bottom: 23px;margin-left: 0px;'><div class='popupElement-content'><button type=\"submit\" style=\"background-color: rgba(107, 112, 108, 0);
20427 color: rgb(0, 0, 0); font-size: 19px; border-radius: 30px; padding: 27px;\" onclick=\"\"><div class=\"buttonSubmit-content\"></div></button></div></div><div class='popup-element' data-type='agree' data-element-id='497518' data-fill='#9e9e9eff' data-mode='default' data-mode='default' style='margin-top: 0px;margin-right: 0px;margin-bottom: 1px;margin-left: 0px;'><style>#SGpopup1882 .popup-element[data-element-id='497518'][data-type='agree'] .popupElement-content input[type='checkbox'] + label:before {border-color: #9e9e9eff;} #SGpopup1882 .popup-element[data-element-id='497518'][data-type='agree'] .popupElement-content input[type='checkbox'] + label:after {background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHhtbG5zOnhsaW5rPSdodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rJyB2ZXJzaW9uPScxLjEnIHg9JzBweCcgeT0nMHB4JyB3aWR0aD0nNTEycHgnIGhlaWdodD0nNTEycHgnIHZpZXdCb3g9JzAgMCA0NDIuNTMzIDQ0Mi41MzMnIHN0eWxlPSdlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDQ0Mi41MzMgNDQyLjUzMycgeG1sOnNwYWNlPSdwcmVzZXJ2ZSc+PHBhdGggZD0nTTQzNC41MzksOTguNDk5bC0zOC44MjgtMzguODI4Yy01LjMyNC01LjMyOC0xMS43OTktNy45OTMtMTkuNDEtNy45OTNjLTcuNjE4LDAtMTQuMDkzLDIuNjY1LTE5LjQxNyw3Ljk5M0wxNjkuNTksMjQ3LjI0OCBsLTgzLjkzOS04NC4yMjVjLTUuMzMtNS4zMy0xMS44MDEtNy45OTItMTkuNDEyLTcuOTkyYy03LjYxNiwwLTE0LjA4NywyLjY2Mi0xOS40MTcsNy45OTJMNy45OTQsMjAxLjg1MiAgIEMyLjY2NCwyMDcuMTgxLDAsMjEzLjY1NCwwLDIyMS4yNjljMCw3LjYwOSwyLjY2NCwxNC4wODgsNy45OTQsMTkuNDE2bDEwMy4zNTEsMTAzLjM0OWwzOC44MzEsMzguODI4IGM1LjMyNyw1LjMzMiwxMS44LDcuOTk0LDE5LjQxNCw3Ljk5NGM3LjYxMSwwLDE0LjA4NC0yLjY2OSwxOS40MTQtNy45OTRsMzguODMtMzguODI4TDQzNC41MzksMTM3LjMzIGM1LjMyNS01LjMzLDcuOTk0LTExLjgwMiw3Ljk5NC0xOS40MTdDNDQyLjUzNywxMTAuMzAyLDQzOS44NjQsMTAzLjgyOSw0MzQuNTM5LDk4LjQ5OXonIGZpbGw9JyM5ZTllOWVmZicvPjwvc3ZnPg==);}</style><div class='popupElement-content'><input type=\"checkbox\" checked=\"\" required=\"\" tabindex=\"-1\" data-orig-tabindex=\"-1\"><label><p><span style=\"color:hsl(0,0%,18%);font-size:7px;\">Я согласен на обработку моих персональных данных. 
С&nbsp;</span><a href=\"https://psy-muip.ru/agreement\" data-fpl-component=\"primitive\" target=\"_blank\" rel=\"noopener\"><span style=\"color:hsl(0,0%,18%);font-size:7px;\"><u>Политикой обработки персональных данных</u></span></a><span style=\"color:hsl(0,0%,18%);font-size:7px;\">&nbsp;ознакомлен</span></p></label></div></div><div class='popup-element' data-type='editor' data-element-id='656792' style='padding-top: 0px;padding-right: 0px;padding-bottom: 0px;padding-left: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;' data-p-margin-bottom='13px' data-p-line-height='80%'><style>#SGpopup1882 .popup-element[data-element-id='656792'][data-type='editor'] p {margin-bottom: 13px}#SGpopup1882 .popup-element[data-element-id='656792'][data-type='editor'] * {line-height: 80%}</style><div class='popupElement-content'><p><a href=\"https://psy-muip.ru/politika\" data-fpl-component=\"primitive\" target=\"_blank\" rel=\"noopener\"><span style=\"color:hsl(0,0%,18%);font-size:8px;\"><u>Политика&nbsp;в отношении обработки персональных данных</u></span></a><span style=\"color:hsl(0,0%,18%);font-size:8px;\"> | </span><a href=\"https://psy-muip.ru/custom\" data-fpl-component=\"primitive\" target=\"_blank\" rel=\"noopener\"><span style=\"color:hsl(0,0%,18%);font-size:8px;\"><u>Пользовательское соглашение</u></span></a><br><a href=\"https://psy-muip.ru/agreement\" data-fpl-component=\"primitive\" target=\"_blank\" rel=\"noopener\"><span style=\"color:hsl(0,0%,18%);font-size:8px;\"><u>Согласие на обработку персональных данных</u></span></a><span style=\"color:hsl(0,0%,18%);font-size:8px;\"> | </span><a href=\"https://psy-muip.ru/rassylka\" data-fpl-component=\"primitive\" target=\"_blank\" rel=\"noopener\"><span style=\"color:hsl(0,0%,18%);font-size:8px;\"><u>Согласие на рассылку материалов</u></span></a></p></div></div><div class='popup-element' data-type='editor' data-element-id='113152' style='padding-top: 0px;padding-right: 0px;padding-bottom: 0px;padding-left: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;' data-p-margin-bottom='20px' data-p-line-height='120%'><style>#SGpopup1882 .popup-element[data-element-id='113152'][data-type='editor'] p {margin-bottom: 20px}#SGpopup1882 .popup-element[data-element-id='113152'][data-type='editor'] * {line-height: 120%}</style><div class='popupElement-content'><p><span style=\"color:hsl(0,0%,0%);font-size:8px;\">*Cкидки и бонусы не суммируются</span></p></div></div></div><div class='popup-area' data-type='close-container' style='position: absolute; top: -40px; left: 370px; margin-left: -40px; width: 40px; height: 40px; '><div class='popup-element' data-type='button-close' style=''><div class='popupElement-content'></div></div></div><div class='popup-area' data-type='area-container' style='position: absolute; top: 19.0312px; left: 110.975px; margin-left: ; width: 47px; height: 18px; '><div class='popup-element' data-type='editor' data-element-id='190463' style='padding-top: 0px;padding-right: 0px;padding-bottom: 0px;padding-left: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;' data-p-margin-bottom='20px' data-p-line-height='120%'><style>#SGpopup1882 .popup-element[data-element-id='190463'][data-type='editor'] p {margin-bottom: 20px}#SGpopup1882 .popup-element[data-element-id='190463'][data-type='editor'] * {line-height: 120%}</style><div class='popupElement-content'><p><span style=\"color:hsl(0, 0%, 0%);font-size:10px;\"><strong>{date}</strong></span></p></div></div></div><div class='popup-element' data-type='wheel' style='position: absolute; top: 431.517px; left: 6.06665px'><div class='popupElement-content'><div class=\"wheel-circle\"><img src=\"https://service.leads-gen.ru/upload/453/popups/1658/1779372570.png\" width=\"345\" height=\"345\" alt=\"1779372570.png\"></div><div class=\"wheel-prizes\" style=\"margin-top: 14px; margin-left: 13px;\"><img src=\"https://service.leads-gen.ru/upload/453/popups/1882/1790799242.png\" width=\"320\" height=\"320\" alt=\"1790799242.png\"></div></div></div><input type='hidden' name='popupID' value='1882'><input type='hidden' name='projectID' value='453'><input type='hidden' name='custom_utm_source'><input type='hidden' name='custom_utm_medium'><input type='hidden' name='custom_utm_campaign'><input type='hidden' name='custom_utm_content'><input type='hidden' name='custom_utm_term'></noindex>";
20428								
20429												closeButton = true;
20430										
20431											}
20432								
20433											let prize = getCookie('sgPopup1882prize_1779367731');
20434											if(prize) {
20435												if(action == 'forceOpen') {
20436													sgSuccessPopup1882();
20437												}
20438												return false;
20439											}
20440									
20441											dateFrom = 1773187200 * 1000;
20442											if(dateFrom < Date.now()) {
20443												do {
20444													dateFrom += 7 * 24 * 60 * 60 * 1000;
20445												} while (dateFrom < Date.now());
20446											}
20447
20448											for (const match of html.matchAll(/{date((\+|\-)([0-9]*))?}/g)) {
20449												dateTo = dateFrom;
20450												if(typeof match[1] != 'undefined') {
20451													dateTo += match[1] * 24 * 60 * 60 * 1000;
20452												}
20453												dateTo = new Date(dateTo);
20454
20455												formatDate = '{day}.{month} ';
20456												if(formatDate.indexOf('{day}') != -1) {
20457													day = dateTo.getDate();
20458													if("number_short" == "number_full") {
20459														if(day < 10) {
20460															day = '0' + day;
20461														}
20462													}
20463													formatDate = formatDate.replace('{day}', day);
20464												}
20465
20466												if(formatDate.indexOf('{month}') != -1) {
20467													month = dateTo.getMonth() + 1;
20468													if("number_full" == "number_full") {
20469														if(month < 10) {
20470															month = '0' + month;
20471														}
20472													} else if("number_full" == "text_nominative") {
20473														let months = {
20474															1: 'январь',
20475															2: 'февраль',
20476															3: 'март',
20477															4: 'апрель',
20478															5: 'май',
20479															6: 'июнь',
20480															7: 'июль',
20481															8: 'август',
20482															9: 'сентябрь',
20483															10: 'октябрь',
20484															11: 'ноябрь',
20485															12: 'декабрь'
20486														};
20487														month = months[month];
20488													} else if("number_full" == "text_genitive") {
20489														let months = {
20490															1: 'января',
20491															2: 'февраля',
20492															3: 'марта',
20493															4: 'апреля',
20494															5: 'мая',
20495															6: 'июня',
20496															7: 'июля',
20497															8: 'августа',
20498															9: 'сентября',
20499															10: 'октября',
20500															11: 'ноября',
20501															12: 'декабря'
20502														};
20503														month = months[month];
20504													}
20505													formatDate = formatDate.replace('{month}', month);
20506												}
20507
20508												if(formatDate.indexOf('{year}') != -1) {
20509													year = dateTo.getFullYear();
20510													if("number_short" == "number_short") {
20511														year = year.toString().substr(-2);
20512													}
20513													formatDate = formatDate.replace('{year}', year);
20514												}
20515												html = html.replaceAll(match[0], formatDate);
20516											};
20517										
20518											Fancybox.close();
20519											new Fancybox([
20520												{
20521													src: html,
20522													type: 'html'
20523												}
20524											], {
20525												dragToClose: false,
20526												closeButton: closeButton,
20527												compact: false,
20528												autoFocus: false,
20529												trapFocus: false,
20530												on: {
20531													done: (fancybox, slide) => {
20532								
20533													localStorage.setItem('localStoragePopup1790797910', +new Date());
20534									
20535													sgPopup1882reachGoal("ym(93615077,'reachGoal','Koleso_fortune_autoshow');");
20536										
20537													const popup = document.querySelector("#SGpopup1882");
20538													if(popup) {
20539
20540														const url = new URL(location.href);
20541														window.utm_source = url.searchParams.get('utm_source');
20542														window.utm_medium = url.searchParams.get('utm_medium');
20543														window.utm_campaign = url.searchParams.get('utm_campaign');
20544														window.utm_term = url.searchParams.get('utm_term');
20545														window.utm_content = url.searchParams.get('utm_content');
20546
20547								
20548														const custom_utm_source = popup.querySelector('input[name="custom_utm_source"]');
20549														if(custom_utm_source && typeof 'site' != undefined) {
20550															custom_utm_source.value = 'site';
20551														}
20552											
20553														const custom_utm_medium = popup.querySelector('input[name="custom_utm_medium"]');
20554														if(custom_utm_medium && typeof 'seo' != undefined) {
20555															custom_utm_medium.value = 'seo';
20556														}
20557											
20558														const custom_utm_campaign = popup.querySelector('input[name="custom_utm_campaign"]');
20559														if(custom_utm_campaign && typeof 'genegator_koleso_fortuni_30%_discount' != undefined) {
20560															custom_utm_campaign.value = 'genegator_koleso_fortuni_30%_discount';
20561														}
20562											
20563														const custom_utm_content = popup.querySelector('input[name="custom_utm_content"]');
20564														if(custom_utm_content && typeof 'muip' != undefined) {
20565															custom_utm_content.value = 'muip';
20566														}
20567											
20568														const custom_utm_term = popup.querySelector('input[name="custom_utm_term"]');
20569														if(custom_utm_term && typeof 'popup' != undefined) {
20570															custom_utm_term.value = 'popup';
20571														}
20572											
20573														openerLinks = popup.querySelectorAll('a[data-target]');
20574														if(openerLinks) {
20575															for(let openerLink of openerLinks) {
20576																openerLink.addEventListener('click', function(){
20577																	if(openerLink.dataset.target) {
20578																		if(typeof window[openerLink.dataset.target] == 'function') {
20579																			Fancybox.close();
20580																			window[openerLink.dataset.target]('open');
20581																		}
20582																	}
20583																});
20584															}
20585														}
20586
20587														linkImages = popup.querySelectorAll('.image-wrapper[data-type="link"]');
20588														if(linkImages) {
20589															for(let linkImage of linkImages) {
20590																linkImage.addEventListener('click', function(){
20591																	if(linkImage.dataset.link) {
20592																		if(linkImage.dataset.target == '_blank') {
20593																			window.open(linkImage.dataset.link);
20594																		} else {
20595																			location.href = linkImage.dataset.link
20596																		}
20597																	}
20598																});
20599															}
20600														}
20601
20602														openerImages = popup.querySelectorAll('.image-wrapper[data-type="opener"]');
20603														if(openerImages) {
20604															for(let openerImage of openerImages) {
20605																openerImage.addEventListener('click', function(){
20606																	if(openerImage.dataset.popup) {
20607																		if(typeof window['sgPopup' + openerImage.dataset.popup] == 'function') {
20608																			Fancybox.close();
20609																			window['sgPopup' + openerImage.dataset.popup]('forceOpen');
20610																		}
20611																	}
20612																});
20613															}
20614														}
20615
20616														submitImages = popup.querySelectorAll('.image-wrapper[data-type="submitter"]');
20617														if(submitImages) {
20618															for(let submitImage of submitImages) {
20619																submitImage.addEventListener('click', function(){
20620
20621																	if(submitImage.classList.contains('disabled')) return false;
20622
20623																	submitImage.classList.add('disabled');
20624
20625																	sgPopup1882submit(function(result){
20626																		submitImage.classList.toggle('disabled', result);
20627																	});
20628
20629																});
20630															}
20631														}
20632
20633														const linkButtons = popup.querySelectorAll('button[data-type="link"]');
20634														if(linkButtons) {
20635															for(let linkButton of linkButtons) {
20636																linkButton.addEventListener('click', function(){
20637																	if(linkButton.dataset.link && linkButton.dataset.link != '#') {
20638								
20639																		if(linkButton.dataset.target == '_blank') {
20640																			window.open(linkButton.dataset.link);
20641																		} else {
20642																			location.href = linkButton.dataset.link
20643																		}
20644																	}
20645																});
20646															}
20647														}
20648
20649														openerButtons = popup.querySelectorAll('button[data-type="opener"]');
20650														if(openerButtons) {
20651															for(let openerButton of openerButtons) {
20652																openerButton.addEventListener('click', function(){
20653									
20654																	if(openerButton.dataset.popup) {
20655																		if(typeof window['sgPopup' + openerButton.dataset.popup] == 'function') {
20656																			Fancybox.close();
20657																			window['sgPopup' + openerButton.dataset.popup]('forceOpen');
20658																		}
20659																	}
20660																});
20661															}
20662														}
20663
20664														const maskedFields = popup.querySelectorAll('input[data-mask]');
20665														if(maskedFields) {
20666															for(let maskedField of maskedFields) {
20667																if(maskedField.dataset.mask == 'phone') {
20668																	Inputmask('+7 (999) 999-99-99', {
20669																		clearIncomplete: true,
20670																		greedy: false
20671																	}).mask(maskedField);
20672								
20673																} else if(maskedField.dataset.mask == 'phone_intl') {
20674																	maskedField.removeAttribute('placeholder');
20675																	phoneIntl = window.intlTelInput(maskedField, {
20676																		initialCountry: 'ru',
20677																		separateDialCode: true,
20678																		strictMode: true,
20679																		formatOnDisplay: true,
20680																		useFullscreenPopup: false,
20681																		i18n: {
20682																			searchPlaceholder: 'Поиск',
20683																			ad: 'Андорра',
20684																			ae: 'ОАЭ',
20685																			af: 'Афганистан',
20686																			ag: 'Антигуа и Барбуда',
20687																			ai: 'Ангилья',
20688																			al: 'Албания',
20689																			am: 'Армения',
20690																			ao: 'Ангола',
20691																			ar: 'Аргентина',
20692																			as: 'Американское Самоа',
20693																			at: 'Австрия',
20694																			au: 'Австралия',
20695																			aw: 'Аруба',
20696																			ax: 'Аландские о-ва',
20697																			az: 'Азербайджан',
20698																			ba: 'Босния и Герцеговина',
20699																			bb: 'Барбадос',
20700																			bd: 'Бангладеш',
20701																			be: 'Бельгия',
20702																			bf: 'Буркина-Фасо',
20703																			bg: 'Болгария',
20704																			bh: 'Бахрейн',
20705																			bi: 'Бурунди',
20706																			bj: 'Бенин',
20707																			bl: 'Сен-Бартелеми',
20708																			bm: 'Бермудские о-ва',
20709																			bn: 'Бруней-Даруссалам',
20710																			bo: 'Боливия',
20711																			bq: 'Бонэйр, Синт-Эстатиус и Саба',
20712																			br: 'Бразилия',
20713																			bs: 'Багамы',
20714																			bt: 'Бутан',
20715																			bw: 'Ботсвана',
20716																			by: 'Беларусь',
20717																			bz: 'Белиз',
20718																			ca: 'Канада',
20719																			cc: 'Кокосовые о-ва',
20720																			cd: 'Конго - Киншаса',
20721																			cf: 'Центрально-Африканская Республика',
20722																			cg: 'Конго - Браззавиль',
20723																			ch: 'Швейцария',
20724																			ci: 'Кот-д’Ивуар',
20725																			ck: 'Острова Кука',
20726																			cl: 'Чили',
20727																			cm: 'Камерун',
20728																			cn: 'Китай',
20729																			co: 'Колумбия',
20730																			cr: 'Коста-Рика',
20731																			cu: 'Куба',
20732																			cv: 'Кабо-Верде',
20733																			cw: 'Кюрасао',
20734																			cx: 'о-в Рождества',
20735																			cy: 'Кипр',
20736																			cz: 'Чехия',
20737																			de: 'Германия',
20738																			dj: 'Джибути',
20739																			dk: 'Дания',
20740																			dm: 'Доминика',
20741																			do: 'Доминиканская Республика',
20742																			dz: 'Алжир',
20743																			ec: 'Эквадор',
20744																			ee: 'Эстония',
20745																			eg: 'Египет',
20746																			eh: 'Западная Сахара',
20747																			er: 'Эритрея',
20748																			es: 'Испания',
20749																			et: 'Эфиопия',
20750																			fi: 'Финляндия',
20751																			fj: 'Фиджи',
20752																			fk: 'Фолклендские о-ва',
20753																			fm: 'Федеративные Штаты Микронезии',
20754																			fo: 'Фарерские о-ва',
20755																			fr: 'Франция',
20756																			ga: 'Габон',
20757																			gb: 'Великобритания',
20758																			gd: 'Гренада',
20759																			ge: 'Грузия',
20760																			gf: 'Французская Гвиана',
20761																			gg: 'Гернси',
20762																			gh: 'Гана',
20763																			gi: 'Гибралтар',
20764																			gl: 'Гренландия',
20765																			gm: 'Гамбия',
20766																			gn: 'Гвинея',
20767																			gp: 'Гваделупа',
20768																			gq: 'Экваториальная Гвинея',
20769																			gr: 'Греция',
20770																			gt: 'Гватемала',
20771																			gu: 'Гуам',
20772																			gw: 'Гвинея-Бисау',
20773																			gy: 'Гайана',
20774																			hk: 'Гонконг (САР)',
20775																			hn: 'Гондурас',
20776																			hr: 'Хорватия',
20777																			ht: 'Гаити',
20778																			hu: 'Венгрия',
20779																			id: 'Индонезия',
20780																			ie: 'Ирландия',
20781																			il: 'Израиль',
20782																			im: 'о-в Мэн',
20783																			in: 'Индия',
20784																			io: 'Британская территория в Индийском океане',
20785																			iq: 'Ирак',
20786																			ir: 'Иран',
20787																			is: 'Исландия',
20788																			it: 'Италия',
20789																			je: 'Джерси',
20790																			jm: 'Ямайка',
20791																			jo: 'Иордания',
20792																			jp: 'Япония',
20793																			ke: 'Кения',
20794																			kg: 'Киргизия',
20795																			kh: 'Камбоджа',
20796																			ki: 'Кирибати',
20797																			km: 'Коморы',
20798																			kn: 'Сент-Китс и Невис',
20799																			kp: 'КНДР',
20800																			kr: 'Республика Корея',
20801																			kw: 'Кувейт',
20802																			ky: 'Острова Кайман',
20803																			kz: 'Казахстан',
20804																			la: 'Лаос',
20805																			lb: 'Ливан',
20806																			lc: 'Сент-Люсия',
20807																			li: 'Лихтенштейн',
20808																			lk: 'Шри-Ланка',
20809																			lr: 'Либерия',
20810																			ls: 'Лесото',
20811																			lt: 'Литва',
20812																			lu: 'Люксембург',
20813																			lv: 'Латвия',
20814																			ly: 'Ливия',
20815																			ma: 'Марокко',
20816																			mc: 'Монако',
20817																			md: 'Молдова',
20818																			me: 'Черногория',
20819																			mf: 'Сен-Мартен',
20820																			mg: 'Мадагаскар',
20821																			mh: 'Маршалловы Острова',
20822																			mk: 'Северная Македония',
20823																			ml: 'Мали',
20824																			mm: 'Мьянма (Бирма)',
20825																			mn: 'Монголия',
20826																			mo: 'Макао (САР)',
20827																			mp: 'Северные Марианские о-ва',
20828																			mq: 'Мартиника',
20829																			mr: 'Мавритания',
20830																			ms: 'Монтсеррат',
20831																			mt: 'Мальта',
20832																			mu: 'Маврикий',
20833																			mv: 'Мальдивы',
20834																			mw: 'Малави',
20835																			mx: 'Мексика',
20836																			my: 'Малайзия',
20837																			mz: 'Мозамбик',
20838																			na: 'Намибия',
20839																			nc: 'Новая Каледония',
20840																			ne: 'Нигер',
20841																			nf: 'о-в Норфолк',
20842																			ng: 'Нигерия',
20843																			ni: 'Никарагуа',
20844																			nl: 'Нидерланды',
20845																			no: 'Норвегия',
20846																			np: 'Непал',
20847																			nr: 'Науру',
20848																			nu: 'Ниуэ',
20849																			nz: 'Новая Зеландия',
20850																			om: 'Оман',
20851																			pa: 'Панама',
20852																			pe: 'Перу',
20853																			pf: 'Французская Полинезия',
20854																			pg: 'Папуа — Новая Гвинея',
20855																			ph: 'Филиппины',
20856																			pk: 'Пакистан',
20857																			pl: 'Польша',
20858																			pm: 'Сен-Пьер и Микелон',
20859																			pr: 'Пуэрто-Рико',
20860																			ps: 'Палестинские территории',
20861																			pt: 'Португалия',
20862																			pw: 'Палау',
20863																			py: 'Парагвай',
20864																			qa: 'Катар',
20865																			re: 'Реюньон',
20866																			ro: 'Румыния',
20867																			rs: 'Сербия',
20868																			ru: 'Россия',
20869																			rw: 'Руанда',
20870																			sa: 'Саудовская Аравия',
20871																			sb: 'Соломоновы Острова',
20872																			sc: 'Сейшельские Острова',
20873																			sd: 'Судан',
20874																			se: 'Швеция',
20875																			sg: 'Сингапур',
20876																			sh: 'о-в Св. Елены',
20877																			si: 'Словения',
20878																			sj: 'Шпицберген и Ян-Майен',
20879																			sk: 'Словакия',
20880																			sl: 'Сьерра-Леоне',
20881																			sm: 'Сан-Марино',
20882																			sn: 'Сенегал',
20883																			so: 'Сомали',
20884																			sr: 'Суринам',
20885																			ss: 'Южный Судан',
20886																			st: 'Сан-Томе и Принсипи',
20887																			sv: 'Сальвадор',
20888																			sx: 'Синт-Мартен',
20889																			sy: 'Сирия',
20890																			sz: 'Эсватини',
20891																			tc: 'о-ва Тёркс и Кайкос',
20892																			td: 'Чад',
20893																			tg: 'Того',
20894																			th: 'Таиланд',
20895																			tj: 'Таджикистан',
20896																			tk: 'Токелау',
20897																			tl: 'Восточный Тимор',
20898																			tm: 'Туркменистан',
20899																			tn: 'Тунис',
20900																			to: 'Тонга',
20901																			tr: 'Турция',
20902																			tt: 'Тринидад и Тобаго',
20903																			tv: 'Тувалу',
20904																			tw: 'Тайвань',
20905																			tz: 'Танзания',
20906																			ua: 'Украина',
20907																			ug: 'Уганда',
20908																			us: 'Соединенные Штаты',
20909																			uy: 'Уругвай',
20910																			uz: 'Узбекистан',
20911																			va: 'Ватикан',
20912																			vc: 'Сент-Винсент и Гренадины',
20913																			ve: 'Венесуэла',
20914																			vg: 'Виргинские о-ва (Великобритания)',
20915																			vi: 'Виргинские о-ва (США)',
20916																			vn: 'Вьетнам',
20917																			vu: 'Вануату',
20918																			wf: 'Уоллис и Футуна',
20919																			ws: 'Самоа',
20920																			ye: 'Йемен',
20921																			yt: 'Майотта',
20922																			za: 'Южно-Африканская Республика',
20923																			zm: 'Замбия',
20924																			zw: 'Зимбабве',
20925																			ac: 'Остров Вознесения',
20926																			xk: 'Косово'
20927																		}
20928																	});
20929																	window.sgPopup.elements.intl = phoneIntl;
20930									
20931																} else if(maskedField.dataset.mask == 'email') {
20932																	Inputmask({
20933																	alias: 'email',
20934																		clearIncomplete: true,
20935																		greedy: false
20936																	}).mask(maskedField);
20937																}
20938															}
20939														}
20940
20941														const fileInputs = popup.querySelectorAll('.popup-element[data-type="input-file"] input[type="file"]');
20942														if(fileInputs) {
20943															for(let fileInput of fileInputs) {
20944																let label = fileInput.nextElementSibling;
20945																if(label) {
20946																	fileInput.addEventListener('change', function() {
20947																		if (fileInput.files && fileInput.files.length > 0) {
20948																			const maxSize = fileInput.dataset.limit;
20949																			if(fileInput.files[0].size <= maxSize * 1024 * 1024) {
20950																				reader = new FileReader();
20951																				reader.onload = function(){
20952																					const span = label.querySelector('span');
20953																					if(span) {
20954																						span.innerHTML = fileInput.files[0].name;
20955																					}
20956																					fileInput.dataset.content = reader.result;
20957																				};
20958																				reader.readAsDataURL(fileInput.files[0]);
20959																			} else {
20960																				alert('Превышен максимальный размер файла - '+ maxSize +'мб');
20961																			}
20962																		}
20963																	});
20964																	label.addEventListener('click', function(event){
20965																		event.preventDefault();
20966																		fileInput.click();
20967																	});
20968																}
20969															}
20970														}
20971
20972														const agrees = popup.querySelectorAll('.popup-element[data-type="agree"] input[type="checkbox"]');
20973														if(agrees) {
20974															for(let agree of agrees) {
20975																let parent = agree.closest('.popup-element');
20976																if(parent) {
20977																	let label = agree.nextElementSibling;
20978																	if(label) {
20979																		label.addEventListener('click', function(event){
20980																			event.preventDefault();
20981																			agree.checked = !agree.checked;
20982
20983
20984																			if(parent.dataset.mode == 'general') {
20985																				const agreeAll = agree;
20986																				for(let agree of agrees) {
20987																					agree.checked = agreeAll.checked;
20988																				}
20989																			}
20990
20991																			let agreeCount = 0;
20992																			let agreeSelected = 0;
20993																			for(let agree of agrees) {
20994																				const parent = agree.closest('.popup-element');
20995																				if(parent && parent.dataset.mode != 'general') {
20996																					agreeCount++;
20997																					if(agree.checked) {
20998																						agreeSelected++;
20999																					}
21000																				}
21001																			}
21002
21003																			const general = popup.querySelector('.popup-element[data-type="agree"][data-mode="general"]');
21004																			if(general) {
21005																				general.classList.toggle('all-selected', agreeSelected == agreeCount);
21006																				general.classList.toggle('no-selected', agreeSelected == 0);
21007																				general.classList.toggle('some-selected', agreeSelected > 0 && agreeSelected < agreeCount);
21008
21009																				const checkbox = general.querySelector('input[type="checkbox"]');
21010																				if(checkbox) {
21011																					if(agreeSelected == agreeCount) {
21012																						checkbox.checked = true;
21013																					} else {
21014																						checkbox.checked = false;
21015																					}
21016																				}
21017																			}
21018																		});
21019																		const links = label.querySelectorAll('a');
21020																		if(links) {
21021																			for(let link of links) {
21022																				link.addEventListener('click', function(event){
21023																					event.stopPropagation()
21024																				});
21025																			}
21026																		}
21027																	}
21028																}
21029															}
21030														}
21031
21032														const wheel = popup.querySelector('.popup-element[data-type="wheel"]');
21033														let wheelInterval;
21034														let wheelAngle = 0;
21035														if(wheel){
21036															const circle = popup.querySelector('.wheel-circle img');
21037															if(circle) {
21038																wheelInterval = setInterval(function(){
21039																	wheelAngle += 0.2;
21040																	if(wheelAngle > 360) {
21041																		wheelAngle -= 360;
21042																	}
21043																	circle.setAttribute('style', 'transform: rotate('+ wheelAngle +'deg)');
21044																}, 40);
21045															}
21046														}
21047
21048														const closeTriggers = popup.querySelectorAll('.popup-element[data-type="button-close"] button:not([data-fancybox-close])');
21049														if(closeTriggers) {
21050															for(let closeTrigger of closeTriggers) {
21051																closeTrigger.addEventListener('click', function(){
21052																	Fancybox.close();
21053																})
21054															}
21055														}
21056
21057														function sgPopup1882submit(callback = false) {
21058
21059															let hasError = false;
21060															const requiredInputs = popup.querySelectorAll('input[data-name][required]');
21061															if(requiredInputs) {
21062																for(let requiredInput of requiredInputs) {
21063																	if(requiredInput.dataset.mask) {
21064																		if(requiredInput.dataset.mask == 'phone') {
21065																			if(!Inputmask.isValid(requiredInput.value, { mask: '+7 (999) 999-99-99'})) {
21066																				requiredInput.classList.add('error');
21067																				hasError = true;
21068																			} else {
21069																				requiredInput.classList.remove('error');
21070																			}
21071																		} else if(requiredInput.dataset.mask == 'phone_intl' && typeof window.sgPopup.elements.intl != 'undefined') {
21072																			intl = window.sgPopup.elements.intl;
21073																			if(!intl.isValidNumberPrecise()) {
21074																				requiredInput.classList.add('error');
21075																				hasError = true;
21076																			} else {
21077																				requiredInput.classList.remove('error');
21078																			}
21079																		} else if(requiredInput.dataset.mask == 'email') {
21080																			if(!Inputmask.isValid(requiredInput.value, {alias: 'email'})) {
21081																				requiredInput.classList.add('error');
21082																				hasError = true;
21083																			} else {
21084																				requiredInput.classList.remove('error');
21085																			}
21086																		}
21087																	} else {
21088																		if(requiredInput.value == '') {
21089																			requiredInput.classList.add('error');
21090																			hasError = true;
21091																		} else {
21092																			requiredInput.classList.remove('error');
21093																		}
21094																	}
21095																}
21096															}
21097								
21098															const requiredTextareas = popup.querySelectorAll('textarea[data-name][required]');
21099															if(requiredTextareas) {
21100																for(let requiredTextarea of requiredTextareas) {
21101																	if(requiredTextarea.value == '') {
21102																		requiredTextarea.classList.add('error');
21103																		hasError = true;
21104																	} else {
21105																		requiredTextarea.classList.remove('error');
21106																	}
21107																}
21108															}
21109
21110															const requiredSelects = popup.querySelectorAll('select[data-name][required]');
21111															if(requiredSelects) {
21112																for(let requiredSelect of requiredSelects) {
21113																	const niceSelect = requiredSelect.nextElementSibling;
21114																	if(niceSelect) {
21115																		if(niceSelect.querySelector('.option.selected')) {
21116																			niceSelect.classList.remove('error')
21117																		} else {
21118																			niceSelect.classList.add('error');
21119																			hasError = true
21120																		}
21121																	}
21122																}
21123															}
21124
21125															if(agrees) {
21126																for(let agree of agrees) {
21127																	if(agree.required) {
21128																		let label = agree.nextElementSibling;
21129																		if(agree.checked) {
21130																			label.classList.remove('error');
21131																		} else {
21132																			label.classList.add('error');
21133																			hasError = true;
21134																		}
21135																	}
21136																}
21137															}
21138
21139															if(hasError) {
21140																if (callback && typeof callback === 'function') {
21141																	callback(false);
21142																}
21143																return false;
21144															}
21145
21146															function sgPopup1882sendRequest() {
21147
21148								
21149																let data = {
21150																	fields: [],
21151																	cookie: document.cookie,
21152																	markers: markers,
21153																	source: location.href
21154																};
21155								
21156																const inputs = popup.querySelectorAll('input[data-name]');
21157																if(inputs) {
21158																	for(let input of inputs) {
21159																		if(input.dataset.mask == 'phone_intl' && typeof window.sgPopup.elements.intl != 'undefined') {
21160																			intl = window.sgPopup.elements.intl;
21161																			data.fields.push({
21162																				name: input.dataset.name,
21163																				value: intl.getNumber()
21164																			});
21165																		} else {
21166																			data.fields.push({
21167																				name: input.dataset.name,
21168																				value: input.value
21169																			});
21170																		}
21171																	}
21172																}
21173
21174																const textareas = popup.querySelectorAll('textarea[data-name]');
21175																if(textareas) {
21176																	for(let textarea of textareas) {
21177																		data.fields.push({
21178																			name: textarea.dataset.name,
21179																			value: textarea.value
21180																		});
21181																	}
21182																}
21183
21184																if(typeof selects != 'undefined') {
21185																	for(let select of selects) {
21186																		data.fields.push({
21187																			name: select.dataset.name,
21188																			value: select.value
21189																		});
21190																	}
21191																}
21192
21193																const hiddenInputs = popup.querySelectorAll('input[type="hidden"]');
21194																for(let hiddenInput of hiddenInputs) {
21195																	const name = hiddenInput.name;
21196																	data[hiddenInput.name] = hiddenInput.value;
21197																}
21198
21199																const fileInputs = popup.querySelectorAll('.popup-element[data-type="input-file"] input[type="file"]');
21200																if(fileInputs) {
21201																	data.files = [];
21202																	for(let fileInput of fileInputs) {
21203																		if (fileInput.files && fileInput.files.length > 0) {
21204																			data.files.push({
21205																				'name': fileInput.files[0].name,
21206																				'content': fileInput.dataset.content
21207																			});
21208																		}
21209																	}
21210																}
21211
21212																if( wheel && typeof window.prize != 'undefined' ) {
21213																	data.fields.push(window.prize);
21214																}
21215								
21216
21217																var xmlhr = new XMLHttpRequest();
21218																xmlhr.open('POST', "https://psy-muip.ru/wp-json/generator.conversion/v1/actions/?_method=POST&action=formSubmit");
21219																xmlhr.send(JSON.stringify(data));
21220
21221																xmlhr.onreadystatechange = function() {
21222																	if (xmlhr.readyState === 4 && xmlhr.status === 200) {
21223																		console.log(xmlhr.response);
21224																		const response = JSON.parse(xmlhr.response);
21225																		console.log(response);
21226								
21227																	}
21228																};
21229								
21230																sgPopup1882reachGoal("ym(93615077,'reachGoal','Koleso_fortune_auto_send');");
21231											
21232																sgSuccessPopup1882();
21233										
21234																let redirect = {
21235																	url: 'https://psy-muip.ru/thank_you/',
21236																	newtab: '',
21237																	timeout: '10000'
21238																};
21239											
21240																if( typeof redirect != 'undefined' ) {
21241																	sgSuccessRedirect1882(redirect);
21242																}
21243										
21244																return true;
21245
21246															}
21247
21248															if(wheel){
21249																const circle = popup.querySelector('.wheel-circle img');
21250																if(circle) {
21251																	clearInterval(wheelInterval);
21252								
21253																	const random = Math.floor(Math.random() * 100);
21254																	let sectors = [];
21255																	let prize;
21256									
21257																	if(window.innerWidth >= 1040) {
21258													
21259																		sectors.push({
21260																			'from': 1,
21261																			'to': 100,
21262																			'angle': '72',
21263																			'rotation': '144',
21264																			'prize': {
21265																				'label': 'Скидка 30% на любой курс',
21266																				'value': 'Скидка 30% на любой курс'
21267																			}
21268																		});
21269														
21270																		for(let sector of sectors) {
21271																			if(random >= sector.from && random <= sector.to) {
21272																				prize = sector;
21273																			}
21274																		}
21275																	}
21276												
21277																	if(window.innerWidth < 1040) {
21278													
21279																		sectors.push({
21280																			'from': 1,
21281																			'to': 100,
21282																			'angle': '72',
21283																			'rotation': '144',
21284																			'prize': {
21285																				'label': 'Скидка 30% на любой курс',
21286																				'value': 'Скидка 30% на любой курс'
21287																			}
21288																		});
21289														
21290																		for(let sector of sectors) {
21291																			if(random >= sector.from && random <= sector.to) {
21292																				prize = sector;
21293																			}
21294																		}
21295																	}
21296												
21297																	if(prize) {
21298																		const circle = popup.querySelector('.wheel-circle img');
21299																		if(circle) {
21300																			window.prize = {
21301																				'name': 'Приз',
21302																				'label': prize['prize']['label'],
21303																				'value': prize['prize']['value']
21304																			};
21305																			wheelInterval = setInterval(function(){
21306																				wheelAngle += 5;
21307																				circle.setAttribute('style', 'transform: rotate('+ wheelAngle +'deg)');
21308																				if(wheelAngle >= parseInt(prize['rotation']) + parseInt(prize['angle']) / 2 + 360 * 3) {
21309																					let cookie = 'sgPopup1882prize_1779367731='+ encodeURIComponent(prize.prize.label) +'; path=/';
21310									
21311																						let limit;
21312																						if(1 == 0) {
21313																							limit = 60 * 60;
21314																						} else {
21315																							limit = 1 * 60 * 60 * 24;
21316																						}
21317																						cookie += '; max-age='+ limit;
21318																						window.cookie = cookie;
21319																						document.cookie = cookie;
21320																						clearInterval(wheelInterval);
21321																						setTimeout(function(){
21322																							const result = sgPopup1882sendRequest();
21323																							if (callback && typeof callback === 'function') {
21324																								callback(result);
21325																							}
21326																						}, 3000);
21327																					}
21328																				}, 20);
21329																			}
21330																		}
21331									
21332																	}
21333
21334																} else {
21335																	const result = sgPopup1882sendRequest();
21336																	if (callback && typeof callback === 'function') {
21337																		callback(result);
21338																	}
21339																}
21340
21341															}
21342
21343															areaLinks = popup.querySelectorAll('.popup-area[data-type="area-link"]');
21344															if(areaLinks) {
21345																for(let areaLink of areaLinks) {
21346																	areaLink.addEventListener('click', function(){
21347																		if(areaLink.dataset.link && areaLink.dataset.link != '#') {
21348																			if(areaLink.dataset.target == '_blank') {
21349																				window.open(areaLink.dataset.link);
21350																			} else {
21351																				location.href = areaLink.dataset.link
21352																			}
21353																		}
21354																	});
21355																}
21356															}
21357
21358															areaOpeners = popup.querySelectorAll('.popup-area[data-type="area-opener"]');
21359															if(areaOpeners) {
21360																for(let areaOpener of areaOpeners) {
21361																	areaOpener.addEventListener('click', function(){
21362																		if(areaOpener.dataset.popup) {
21363																			if(typeof window['sgPopup' + areaOpener.dataset.popup] == 'function') {
21364																				Fancybox.close();
21365																				window['sgPopup' + areaOpener.dataset.popup]('forceOpen');
21366																			}
21367																		}
21368																	});
21369																}
21370															}
21371
21372															const submitButton = popup.querySelector(".popup-element[data-type='button-submit'] button");
21373															if(submitButton) {
21374																submitButton.addEventListener('click', function(event){
21375
21376																	event.preventDefault();
21377																	submitButton.disabled = true;
21378
21379																	sgPopup1882submit(function(result){
21380																		submitButton.disabled = result;
21381																	});
21382
21383																})
21384															}
21385														}
21386													},
21387													close: () => {
21388														window.sgPopup.opened = false;
21389														window.sgPopup.shown.push(1882);
21390														if(window.sgPopup.queue.length) {
21391															setTimeout(function(){
21392																let popupID = window.sgPopup.queue.shift();
21393																window['sgPopup' + popupID]('forceOpen');
21394															}, 30000);
21395														}
21396								
21397													}
21398												}
21399											})
21400										}
21401									}
21402								}
21403							
21404								function sgSuccessPopup1882() {
21405							
21406									let html;
21407									let closeButton;
21408									if(window.innerWidth >= 1040) {
21409										html = "<noindex id='SGsuccess1882' class='popup-wrapper grid-hidden'><div class='success-area' data-type='close-container' style='position: absolute; top: 3px; left: 1222px; 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: 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(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>";
21410							closeButton = false;
21411									} else {
21412										html = "<noindex id='SGsuccess1882' class='popup-wrapper grid-hidden'><div class='success-area' data-type='close-container' style='position: absolute; top: 6px; left: 354px; 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: 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(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>";
21413							closeButton = false;
21414									}
21415							
21416									Fancybox.close();
21417									new Fancybox([
21418										{
21419											src: html,
21420											type: 'html'
21421										}
21422									], {
21423										dragToClose: false,
21424										closeButton: closeButton,
21425										autoFocus: false,
21426										trapFocus: false,
21427										on: {
21428											done: (fancybox, slide) => {
21429							
21430												const success = document.querySelector("#SGsuccess1882");
21431												if(success) {
21432
21433													buttonLinks = success.querySelectorAll('button[data-type="link"]');
21434													if(buttonLinks) {
21435														for(let buttonLink of buttonLinks) {
21436															buttonLink.addEventListener('click', function(){
21437																if(buttonLink.dataset.link) {
21438																	if(buttonLink.dataset.target == '_blank') {
21439																		window.open(buttonLink.dataset.link);
21440																	} else {
21441																		location.href = buttonLink.dataset.link
21442																	}
21443																}
21444															});
21445														}
21446													}
21447													
21448												}
21449							
21450												setTimeout(function(){
21451													Fancybox.close();
21452												}, 8000);
21453									
21454											},
21455											close: () => {
21456												window.sgPopup.opened = false;
21457											}
21458										}
21459									});
21460								}
21461							
21462								function sgSuccessRedirect1882(redirect) {
21463									setTimeout(function(){
21464										const clickEvent = new MouseEvent('click', {
21465											bubbles: true,
21466											cancelable: true
21467										});
21468										const link = document.createElement('a');
21469										link.setAttribute('href', redirect.url);
21470
21471										if(redirect.newtab == '') {
21472											Fancybox.close();
21473										} else {
21474											link.setAttribute('target', '_blank');
21475										}
21476										document.body.append(link);
21477										link.dispatchEvent(clickEvent);
21478										link.parentNode.removeChild(link);
21479									}, redirect.timeout);
21480								}
21481							</script>
vendor: 1 bytes, line 21481
21481
21482<script>
21483								if(typeof window.sgPopup == 'undefined') {
21484									window.sgPopup = {
21485										opened: false,
21486										queue: [],
21487										shown: [],
21488										elements: {}
21489									};
21490								}
21491						
21492								addEventListener('DOMContentLoaded', () => {
21493						
21494									document.body.addEventListener('click', function(event){
21495										if(
21496											event.target.dataset.target == "sgPopup1883"
21497											|| event.target.closest('[data-target="sgPopup1883"]')
21498										) {
21499											Fancybox.close();
21500											sgPopup1883('forceOpen');
21501										}
21502									});
21503
21504									sgPopup1883autoOpen();
21505								});
21506
21507								function sgPopup1883autoOpen() {
21508							
21509								}
21510
21511								function sgPopup1883reachGoal(code) {
21512
21513									function executeGoal(params) {
21514										if(typeof params == 'object') {
21515
21516											eval('ym('+ params.join(',') +');');
21517
21518											let data = {
21519												'goal': params[2],
21520												timestamp: new Date().toISOString()
21521											};
21522
21523											var xmlhr = new XMLHttpRequest();
21524											xmlhr.open('POST', "https://psy-muip.ru/wp-json/generator.conversion/v1/actions/?_method=POST&action=goalLog");
21525											xmlhr.send(JSON.stringify(data));
21526
21527											xmlhr.onreadystatechange = function() {
21528												if (xmlhr.readyState === 4 && xmlhr.status === 200) {
21529													if( urlParams.get('debug') ) {
21530														const response = JSON.parse(xmlhr.response);
21531														console.log(response);
21532													}
21533												}
21534											}
21535
21536										}
21537									}
21538
21539									const goals = code.split(';');
21540									if(goals) {
21541										for(let goal of goals) {
21542											goal = goal.trim();
21543											if(goal != '') {
21544												const regexp = /ym(.*)/;
21545												if( regexp.test(goal) ) {
21546
21547													goal = goal.replace('ym(', '');
21548													goal = goal.replace(')', '');
21549													const params = goal.split(',');
21550													if(params) {
21551
21552														if (typeof window.ym != 'undefined') {
21553															executeGoal(params);
21554														} else {
21555															if(typeof window.popup1883goals == 'undefined') {
21556																window.popup1883goals = [];
21557															}
21558
21559															window.popup1883goals.push({
21560																'metrika': params[0],
21561																'action': params[1],
21562																'id': params[2]
21563															});
21564
21565															if(typeof popup1883interval == 'undefined') {
21566																popup1883interval = setInterval(function(){
21567																	if (typeof window.ym != 'undefined') {
21568																		for(let goal of window.popup1883goals) {
21569																			executeGoal(params);
21570																		}
21571																		window.popup1883goals = [];
21572																		clearInterval(popup1883interval);
21573																	}
21574																}, 1000);
21575															}
21576														}
21577													}
21578												} else {
21579													eval(goal);
21580												}
21581											}
21582										}
21583									}
21584
21585								}
21586
21587								function sgPopup1883(action = false) {
21588
21589									if(!action) return;
21590
21591									if( ['open', 'forceOpen'].includes(action) ) {
21592
21593								
21594										if(action == 'open' && window.sgPopup.shown.includes(1883)) {
21595											return false;
21596										}
21597
21598										if(window.sgPopup.opened) {
21599
21600											if(window.sgPopup.opened != 1883) {
21601												window.sgPopup.queue.push(1883);
21602											}
21603
21604										} else {
21605
21606											window.sgPopup.opened = 1883;
21607
21608											let html;
21609											let closeButton;
21610											if(window.innerWidth >= 1040) {
21611												html = "<noindex id='SGpopup1883' class='popup-wrapper grid-hidden'><div class='popup-area' data-type='area-container' style='position: relative; top: 253px; left: 21px; margin-left: ; width: 431.222px; height: 271.222px; '><div class='popup-element' data-type='editor' data-element-id='155694' style='padding-top: 0px;padding-right: 0px;padding-bottom: 0px;padding-left: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 6px;margin-left: 0px;' data-p-margin-bottom='20px' data-p-line-height='120%'><style>#SGpopup1883 .popup-element[data-element-id='155694'][data-type='editor'] p {margin-bottom: 20px}#SGpopup1883 .popup-element[data-element-id='155694'][data-type='editor'] * {line-height: 120%}</style><div class='popupElement-content'><p><span style=\"color:hsl(0,0%,100%);font-size:12px;\">Введите данные для предзаписи на курс и бронирования скидки</span></p></div></div><div class='popup-element' data-type='input' style='margin-top: 0px;margin-right: 0px;margin-bottom: 6px;margin-left: 0px;'><div class='popupElement-content'><input type=\"text\" placeholder=\"Ваш e-mail, например: [email protected]\" data-name=\"Почта\" data-mask=\"email\" required=\"\" style=\"background-color: rgb(255, 255, 255); border-color: rgb(89, 89, 89); font-size: 17px; color: rgb(104, 104, 104); padding: 9px 8px; border-radius: 99px;\"></div></div><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 (___) ___ - __ - __\" data-name=\"Телефон\" data-mask=\"phone_intl\" required=\"\" style=\"background-color: rgb(255, 255, 255); border-color: rgb(89, 89, 89); font-size: 17px; color: rgb(120, 120, 120); padding: 9px 12px; border-radius: 100px;\"></div></div><div class='popup-element' data-type='button-submit' style='margin-top: 4px;margin-right: 0px;margin-bottom: 5px;margin-left: 0px;'><div class='popupElement-content'><button type=\"submit\" style=\"background-color: rgb(171, 39, 79); color: rgb(0, 0, 0); font-size: 19px; border-radius: 100px; padding: 16px 14px;\" onclick=\"\"><div class=\"buttonSubmit-content\"><p><span style=\"color:hsl(0,0%,100%);font-size:24px;\">Записаться на курс</span></p></div></button></div></div><div class='popup-element' data-type='agree' data-element-id='784444' data-fill='#ffffffff' data-mode='default' data-mode='default' style='margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;'><style>#SGpopup1883 .popup-element[data-element-id='784444'][data-type='agree'] .popupElement-content input[type='checkbox'] + label:before {border-color: #ffffffff;} #SGpopup1883 .popup-element[data-element-id='784444'][data-type='agree'] .popupElement-content input[type='checkbox'] + label:after {background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHhtbG5zOnhsaW5rPSdodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rJyB2ZXJzaW9uPScxLjEnIHg9JzBweCcgeT0nMHB4JyB3aWR0aD0nNTEycHgnIGhlaWdodD0nNTEycHgnIHZpZXdCb3g9JzAgMCA0NDIuNTMzIDQ0Mi41MzMnIHN0eWxlPSdlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDQ0Mi41MzMgNDQyLjUzMycgeG1sOnNwYWNlPSdwcmVzZXJ2ZSc+PHBhdGggZD0nTTQzNC41MzksOTguNDk5bC0zOC44MjgtMzguODI4Yy01LjMyNC01LjMyOC0xMS43OTktNy45OTMtMTkuNDEtNy45OTNjLTcuNjE4LDAtMTQuMDkzLDIuNjY1LTE5LjQxNyw3Ljk5M0wxNjkuNTksMjQ3LjI0OCBsLTgzLjkzOS04NC4yMjVjLTUuMzMtNS4zMy0xMS44MDEtNy45OTItMTkuNDEyLTcuOTkyYy03LjYxNiwwLTE0LjA4NywyLjY2Mi0xOS40MTcsNy45OTJMNy45OTQsMjAxLjg1MiAgIEMyLjY2NCwyMDcuMTgxLDAsMjEzLjY1NCwwLDIyMS4yNjljMCw3LjYwOSwyLjY2NCwxNC4wODgsNy45OTQsMTkuNDE2bDEwMy4zNTEsMTAzLjM0OWwzOC44MzEsMzguODI4IGM1LjMyNyw1LjMzMiwxMS44LDcuOTk0LDE5LjQxNCw3Ljk5NGM3LjYxMSwwLDE0LjA4NC0yLjY2OSwxOS40MTQtNy45OTRsMzguODMtMzguODI4TDQzNC41MzksMTM3LjMzIGM1LjMyNS01LjMzLDcuOTk0LTExLjgwMiw3Ljk5NC0xOS40MTdDNDQyLjUzNywxMTAuMzAyLDQzOS44NjQsMTAzLjgyOSw0MzQuNTM5LDk4LjQ5OXonIGZpbGw9JyNmZmZmZmZmZicvPjwvc3ZnPg==);}</style><div class='popupElement-content'><input type=\"checkbox\" checked=\"\" required=\"\"><label><p><span style=\"color:hsl(0, 0%, 100%);font-size:8px;\">Я согласен на обработку моих персональных данных. 
С&nbsp;</span><a href=\"https://psy-muip.ru/agreement\" data-fpl-component=\"primitive\" target=\"_blank\" rel=\"noopener\"><span style=\"color:hsl(0, 0%, 100%);font-size:8px;\"><u>Политикой обработки персональных данных</u></span></a><span style=\"color:hsl(0, 0%, 100%);font-size:8px;\">&nbsp;ознакомлен</span></p></label></div></div><div class='popup-element' data-type='editor' data-element-id='343587' style='padding-top: 0px;padding-right: 0px;padding-bottom: 0px;padding-left: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;' data-p-margin-bottom='13px' data-p-line-height='80%'><style>#SGpopup1883 .popup-element[data-element-id='343587'][data-type='editor'] p {margin-bottom: 13px}#SGpopup1883 .popup-element[data-element-id='343587'][data-type='editor'] * {line-height: 80%}</style><div class='popupElement-content'><p><a href=\"https://psy-muip.ru/politika\" data-fpl-component=\"primitive\" target=\"_blank\" rel=\"noopener\"><span style=\"color:hsl(0, 0%, 100%);font-size:8px;\"><u>Политика&nbsp;в отношении обработки персональных данных</u></span></a><span style=\"color:hsl(0, 0%, 100%);font-size:8px;\"> | </span><a href=\"https://psy-muip.ru/custom\" data-fpl-component=\"primitive\" target=\"_blank\" rel=\"noopener\"><span style=\"color:hsl(0, 0%, 100%);font-size:8px;\"><u>Пользовательское соглашение</u></span></a><br><a href=\"https://psy-muip.ru/agreement\" data-fpl-component=\"primitive\" target=\"_blank\" rel=\"noopener\"><span style=\"color:hsl(0, 0%, 100%);font-size:8px;\"><u>Согласие на обработку персональных данных</u></span></a><span style=\"color:hsl(0, 0%, 100%);font-size:8px;\"> | </span><a href=\"https://psy-muip.ru/rassylka\" data-fpl-component=\"primitive\" target=\"_blank\" rel=\"noopener\"><span style=\"color:hsl(0, 0%, 100%);font-size:8px;\"><u>Согласие на рассылку материалов</u></span></a></p></div></div></div><div class='popup-area' data-type='close-container' style='position: absolute; top: 13px; left: 990px; 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: 34px; height: 34px; 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: rgba(234, 15, 15, 0);\"><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='1883'><input type='hidden' name='projectID' value='453'><input type='hidden' name='custom_utm_source'><input type='hidden' name='custom_utm_medium'><input type='hidden' name='custom_utm_campaign'><input type='hidden' name='custom_utm_content'><input type='hidden' name='custom_utm_term'></noindex>";
21612								
21613												closeButton = false;
21614										
21615											} else {
21616								
21617												html = "<noindex id='SGpopup1883' class='popup-wrapper grid-hidden'><div class='popup-area' data-type='area-container' style='position: relative; top: 140px; left: 4px; margin-left: ; width: 319.222px; height: 246.222px; '><div class='popup-element' data-type='editor' data-element-id='148116' style='padding-top: 0px;padding-right: 0px;padding-bottom: 0px;padding-left: 0px;margin-top: 2px;margin-right: 0px;margin-bottom: 6px;margin-left: 0px;' data-p-margin-bottom='20px' data-p-line-height='120%'><style>#SGpopup1883 .popup-element[data-element-id='148116'][data-type='editor'] p {margin-bottom: 20px}#SGpopup1883 .popup-element[data-element-id='148116'][data-type='editor'] * {line-height: 120%}</style><div class='popupElement-content'><p><span style=\"color:hsl(0, 0%, 100%);font-size:10px;\">Введите данные для предзаписи на курс и бронирования скидки</span></p></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=\"Ваш e-mail, например: [email protected]\" data-name=\"Почта\" data-mask=\"email\" required=\"\" style=\"background-color: rgb(255, 255, 255); border-color: rgb(89, 89, 89); font-size: 17px; color: rgb(104, 104, 104); padding: 7px 5px; border-radius: 100px;\"></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=\"+7 (___) ___ - __ - __\" data-name=\"Телефон\" data-mask=\"phone_intl\" required=\"\" style=\"background-color: rgb(255, 255, 255); border-color: rgb(89, 89, 89); font-size: 17px; color: rgb(120, 120, 120); padding: 7px 5px; border-radius: 100px;\"></div></div><div class='popup-element' data-type='button-submit' style='margin-top: 3px;margin-right: 0px;margin-bottom: 7px;margin-left: 0px;'><div class='popupElement-content'><button type=\"submit\" style=\"background-color: rgb(171, 39, 79); color: rgb(0, 0, 0); font-size: 19px; border-radius: 100px; padding: 18px 10px;\" onclick=\"\"><div class=\"buttonSubmit-content\"><p><span style=\"color:hsl(0,0%,100%);font-size:18px;\">Записаться на курс</span></p></div></button></div></div><div class='popup-element' data-type='agree' data-element-id='109997' data-fill='#ffffffff' data-mode='default' data-mode='default' style='margin-top: 0px;margin-right: 0px;margin-bottom: 4px;margin-left: 0px;'><style>#SGpopup1883 .popup-element[data-element-id='109997'][data-type='agree'] .popupElement-content input[type='checkbox'] + label:before {border-color: #ffffffff;} #SGpopup1883 .popup-element[data-element-id='109997'][data-type='agree'] .popupElement-content input[type='checkbox'] + label:after {background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHhtbG5zOnhsaW5rPSdodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rJyB2ZXJzaW9uPScxLjEnIHg9JzBweCcgeT0nMHB4JyB3aWR0aD0nNTEycHgnIGhlaWdodD0nNTEycHgnIHZpZXdCb3g9JzAgMCA0NDIuNTMzIDQ0Mi41MzMnIHN0eWxlPSdlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDQ0Mi41MzMgNDQyLjUzMycgeG1sOnNwYWNlPSdwcmVzZXJ2ZSc+PHBhdGggZD0nTTQzNC41MzksOTguNDk5bC0zOC44MjgtMzguODI4Yy01LjMyNC01LjMyOC0xMS43OTktNy45OTMtMTkuNDEtNy45OTNjLTcuNjE4LDAtMTQuMDkzLDIuNjY1LTE5LjQxNyw3Ljk5M0wxNjkuNTksMjQ3LjI0OCBsLTgzLjkzOS04NC4yMjVjLTUuMzMtNS4zMy0xMS44MDEtNy45OTItMTkuNDEyLTcuOTkyYy03LjYxNiwwLTE0LjA4NywyLjY2Mi0xOS40MTcsNy45OTJMNy45OTQsMjAxLjg1MiAgIEMyLjY2NCwyMDcuMTgxLDAsMjEzLjY1NCwwLDIyMS4yNjljMCw3LjYwOSwyLjY2NCwxNC4wODgsNy45OTQsMTkuNDE2bDEwMy4zNTEsMTAzLjM0OWwzOC44MzEsMzguODI4IGM1LjMyNyw1LjMzMiwxMS44LDcuOTk0LDE5LjQxNCw3Ljk5NGM3LjYxMSwwLDE0LjA4NC0yLjY2OSwxOS40MTQtNy45OTRsMzguODMtMzguODI4TDQzNC41MzksMTM3LjMzIGM1LjMyNS01LjMzLDcuOTk0LTExLjgwMiw3Ljk5NC0xOS40MTdDNDQyLjUzNywxMTAuMzAyLDQzOS44NjQsMTAzLjgyOSw0MzQuNTM5LDk4LjQ5OXonIGZpbGw9JyNmZmZmZmZmZicvPjwvc3ZnPg==);}</style><div class='popupElement-content'><input type=\"checkbox\" checked=\"\" required=\"\" tabindex=\"-1\" data-orig-tabindex=\"-1\"><label><p><span style=\"color:hsl(0, 0%, 100%);font-size:8px;\">Я согласен на обработку моих персональных данных. 
С&nbsp;</span><a href=\"https://psy-muip.ru/agreement\" data-fpl-component=\"primitive\" target=\"_blank\" rel=\"noopener\"><span style=\"color:hsl(0, 0%, 100%);font-size:8px;\"><u>Политикой обработки персональных данных</u></span></a><span style=\"color:hsl(0, 0%, 100%);font-size:8px;\">&nbsp;ознакомлен</span></p></label></div></div><div class='popup-element' data-type='editor' data-element-id='396258' style='padding-top: 0px;padding-right: 0px;padding-bottom: 0px;padding-left: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;' data-p-margin-bottom='13px' data-p-line-height='80%'><style>#SGpopup1883 .popup-element[data-element-id='396258'][data-type='editor'] p {margin-bottom: 13px}#SGpopup1883 .popup-element[data-element-id='396258'][data-type='editor'] * {line-height: 80%}</style><div class='popupElement-content'><p><a href=\"https://psy-muip.ru/politika\" data-fpl-component=\"primitive\" target=\"_blank\" rel=\"noopener\"><span style=\"color:hsl(0, 0%, 100%);font-size:8px;\"><u>Политика&nbsp;в отношении обработки персональных данных</u></span></a><span style=\"color:hsl(0, 0%, 100%);font-size:8px;\"> | </span><a href=\"https://psy-muip.ru/custom\" data-fpl-component=\"primitive\" target=\"_blank\" rel=\"noopener\"><span style=\"color:hsl(0, 0%, 100%);font-size:8px;\"><u>Пользовательское соглашение</u></span></a><br><a href=\"https://psy-muip.ru/agreement\" data-fpl-component=\"primitive\" target=\"_blank\" rel=\"noopener\"><span style=\"color:hsl(0, 0%, 100%);font-size:8px;\"><u>Согласие на обработку персональных данных</u></span></a><span style=\"color:hsl(0, 0%, 100%);font-size:8px;\"> | </span><a href=\"https://psy-muip.ru/rassylka\" data-fpl-component=\"primitive\" target=\"_blank\" rel=\"noopener\"><span style=\"color:hsl(0, 0%, 100%);font-size:8px;\"><u>Согласие на рассылку материалов</u></span></a></p></div></div></div><div class='popup-area' data-type='close-container' style='position: absolute; top: -38.9937px; left: 364px; margin-left: -40px; width: 40px; height: 40px; '><div class='popup-element' data-type='button-close' style=''><div class='popupElement-content'></div></div></div><input type='hidden' name='popupID' value='1883'><input type='hidden' name='projectID' value='453'><input type='hidden' name='custom_utm_source'><input type='hidden' name='custom_utm_medium'><input type='hidden' name='custom_utm_campaign'><input type='hidden' name='custom_utm_content'><input type='hidden' name='custom_utm_term'></noindex>";
21618								
21619												closeButton = true;
21620										
21621											}
21622								
21623											dateFrom = 1773187200 * 1000;
21624											if(dateFrom < Date.now()) {
21625												do {
21626													dateFrom += 5 * 24 * 60 * 60 * 1000;
21627												} while (dateFrom < Date.now());
21628											}
21629
21630											for (const match of html.matchAll(/{date((\+|\-)([0-9]*))?}/g)) {
21631												dateTo = dateFrom;
21632												if(typeof match[1] != 'undefined') {
21633													dateTo += match[1] * 24 * 60 * 60 * 1000;
21634												}
21635												dateTo = new Date(dateTo);
21636
21637												formatDate = '{day} {month} ';
21638												if(formatDate.indexOf('{day}') != -1) {
21639													day = dateTo.getDate();
21640													if("number_full" == "number_full") {
21641														if(day < 10) {
21642															day = '0' + day;
21643														}
21644													}
21645													formatDate = formatDate.replace('{day}', day);
21646												}
21647
21648												if(formatDate.indexOf('{month}') != -1) {
21649													month = dateTo.getMonth() + 1;
21650													if("text_genitive" == "number_full") {
21651														if(month < 10) {
21652															month = '0' + month;
21653														}
21654													} else if("text_genitive" == "text_nominative") {
21655														let months = {
21656															1: 'январь',
21657															2: 'февраль',
21658															3: 'март',
21659															4: 'апрель',
21660															5: 'май',
21661															6: 'июнь',
21662															7: 'июль',
21663															8: 'август',
21664															9: 'сентябрь',
21665															10: 'октябрь',
21666															11: 'ноябрь',
21667															12: 'декабрь'
21668														};
21669														month = months[month];
21670													} else if("text_genitive" == "text_genitive") {
21671														let months = {
21672															1: 'января',
21673															2: 'февраля',
21674															3: 'марта',
21675															4: 'апреля',
21676															5: 'мая',
21677															6: 'июня',
21678															7: 'июля',
21679															8: 'августа',
21680															9: 'сентября',
21681															10: 'октября',
21682															11: 'ноября',
21683															12: 'декабря'
21684														};
21685														month = months[month];
21686													}
21687													formatDate = formatDate.replace('{month}', month);
21688												}
21689
21690												if(formatDate.indexOf('{year}') != -1) {
21691													year = dateTo.getFullYear();
21692													if("number_full" == "number_short") {
21693														year = year.toString().substr(-2);
21694													}
21695													formatDate = formatDate.replace('{year}', year);
21696												}
21697												html = html.replaceAll(match[0], formatDate);
21698											};
21699										
21700											Fancybox.close();
21701											new Fancybox([
21702												{
21703													src: html,
21704													type: 'html'
21705												}
21706											], {
21707												dragToClose: false,
21708												closeButton: closeButton,
21709												compact: false,
21710												autoFocus: false,
21711												trapFocus: false,
21712												on: {
21713													done: (fancybox, slide) => {
21714								
21715													sgPopup1883reachGoal("ym(93615077,'reachGoal','Popup_topbar_show');");
21716										
21717													const popup = document.querySelector("#SGpopup1883");
21718													if(popup) {
21719
21720														const url = new URL(location.href);
21721														window.utm_source = url.searchParams.get('utm_source');
21722														window.utm_medium = url.searchParams.get('utm_medium');
21723														window.utm_campaign = url.searchParams.get('utm_campaign');
21724														window.utm_term = url.searchParams.get('utm_term');
21725														window.utm_content = url.searchParams.get('utm_content');
21726
21727								
21728														const custom_utm_source = popup.querySelector('input[name="custom_utm_source"]');
21729														if(custom_utm_source && typeof 'site' != undefined) {
21730															custom_utm_source.value = 'site';
21731														}
21732											
21733														const custom_utm_medium = popup.querySelector('input[name="custom_utm_medium"]');
21734														if(custom_utm_medium && typeof 'seo' != undefined) {
21735															custom_utm_medium.value = 'seo';
21736														}
21737											
21738														const custom_utm_campaign = popup.querySelector('input[name="custom_utm_campaign"]');
21739														if(custom_utm_campaign && typeof 'genegator_predzapis_rasprodaji_tot' != undefined) {
21740															custom_utm_campaign.value = 'genegator_predzapis_rasprodaji_tot';
21741														}
21742											
21743														const custom_utm_content = popup.querySelector('input[name="custom_utm_content"]');
21744														if(custom_utm_content && typeof 'muip' != undefined) {
21745															custom_utm_content.value = 'muip';
21746														}
21747											
21748														const custom_utm_term = popup.querySelector('input[name="custom_utm_term"]');
21749														if(custom_utm_term && typeof 'popup' != undefined) {
21750															custom_utm_term.value = 'popup';
21751														}
21752											
21753														openerLinks = popup.querySelectorAll('a[data-target]');
21754														if(openerLinks) {
21755															for(let openerLink of openerLinks) {
21756																openerLink.addEventListener('click', function(){
21757																	if(openerLink.dataset.target) {
21758																		if(typeof window[openerLink.dataset.target] == 'function') {
21759																			Fancybox.close();
21760																			window[openerLink.dataset.target]('open');
21761																		}
21762																	}
21763																});
21764															}
21765														}
21766
21767														linkImages = popup.querySelectorAll('.image-wrapper[data-type="link"]');
21768														if(linkImages) {
21769															for(let linkImage of linkImages) {
21770																linkImage.addEventListener('click', function(){
21771																	if(linkImage.dataset.link) {
21772																		if(linkImage.dataset.target == '_blank') {
21773																			window.open(linkImage.dataset.link);
21774																		} else {
21775																			location.href = linkImage.dataset.link
21776																		}
21777																	}
21778																});
21779															}
21780														}
21781
21782														openerImages = popup.querySelectorAll('.image-wrapper[data-type="opener"]');
21783														if(openerImages) {
21784															for(let openerImage of openerImages) {
21785																openerImage.addEventListener('click', function(){
21786																	if(openerImage.dataset.popup) {
21787																		if(typeof window['sgPopup' + openerImage.dataset.popup] == 'function') {
21788																			Fancybox.close();
21789																			window['sgPopup' + openerImage.dataset.popup]('forceOpen');
21790																		}
21791																	}
21792																});
21793															}
21794														}
21795
21796														submitImages = popup.querySelectorAll('.image-wrapper[data-type="submitter"]');
21797														if(submitImages) {
21798															for(let submitImage of submitImages) {
21799																submitImage.addEventListener('click', function(){
21800
21801																	if(submitImage.classList.contains('disabled')) return false;
21802
21803																	submitImage.classList.add('disabled');
21804
21805																	sgPopup1883submit(function(result){
21806																		submitImage.classList.toggle('disabled', result);
21807																	});
21808
21809																});
21810															}
21811														}
21812
21813														const linkButtons = popup.querySelectorAll('button[data-type="link"]');
21814														if(linkButtons) {
21815															for(let linkButton of linkButtons) {
21816																linkButton.addEventListener('click', function(){
21817																	if(linkButton.dataset.link && linkButton.dataset.link != '#') {
21818								
21819																		if(linkButton.dataset.target == '_blank') {
21820																			window.open(linkButton.dataset.link);
21821																		} else {
21822																			location.href = linkButton.dataset.link
21823																		}
21824																	}
21825																});
21826															}
21827														}
21828
21829														openerButtons = popup.querySelectorAll('button[data-type="opener"]');
21830														if(openerButtons) {
21831															for(let openerButton of openerButtons) {
21832																openerButton.addEventListener('click', function(){
21833									
21834																	if(openerButton.dataset.popup) {
21835																		if(typeof window['sgPopup' + openerButton.dataset.popup] == 'function') {
21836																			Fancybox.close();
21837																			window['sgPopup' + openerButton.dataset.popup]('forceOpen');
21838																		}
21839																	}
21840																});
21841															}
21842														}
21843
21844														const maskedFields = popup.querySelectorAll('input[data-mask]');
21845														if(maskedFields) {
21846															for(let maskedField of maskedFields) {
21847																if(maskedField.dataset.mask == 'phone') {
21848																	Inputmask('+7 (999) 999-99-99', {
21849																		clearIncomplete: true,
21850																		greedy: false
21851																	}).mask(maskedField);
21852								
21853																} else if(maskedField.dataset.mask == 'phone_intl') {
21854																	maskedField.removeAttribute('placeholder');
21855																	phoneIntl = window.intlTelInput(maskedField, {
21856																		initialCountry: 'ru',
21857																		separateDialCode: true,
21858																		strictMode: true,
21859																		formatOnDisplay: true,
21860																		useFullscreenPopup: false,
21861																		i18n: {
21862																			searchPlaceholder: 'Поиск',
21863																			ad: 'Андорра',
21864																			ae: 'ОАЭ',
21865																			af: 'Афганистан',
21866																			ag: 'Антигуа и Барбуда',
21867																			ai: 'Ангилья',
21868																			al: 'Албания',
21869																			am: 'Армения',
21870																			ao: 'Ангола',
21871																			ar: 'Аргентина',
21872																			as: 'Американское Самоа',
21873																			at: 'Австрия',
21874																			au: 'Австралия',
21875																			aw: 'Аруба',
21876																			ax: 'Аландские о-ва',
21877																			az: 'Азербайджан',
21878																			ba: 'Босния и Герцеговина',
21879																			bb: 'Барбадос',
21880																			bd: 'Бангладеш',
21881																			be: 'Бельгия',
21882																			bf: 'Буркина-Фасо',
21883																			bg: 'Болгария',
21884																			bh: 'Бахрейн',
21885																			bi: 'Бурунди',
21886																			bj: 'Бенин',
21887																			bl: 'Сен-Бартелеми',
21888																			bm: 'Бермудские о-ва',
21889																			bn: 'Бруней-Даруссалам',
21890																			bo: 'Боливия',
21891																			bq: 'Бонэйр, Синт-Эстатиус и Саба',
21892																			br: 'Бразилия',
21893																			bs: 'Багамы',
21894																			bt: 'Бутан',
21895																			bw: 'Ботсвана',
21896																			by: 'Беларусь',
21897																			bz: 'Белиз',
21898																			ca: 'Канада',
21899																			cc: 'Кокосовые о-ва',
21900																			cd: 'Конго - Киншаса',
21901																			cf: 'Центрально-Африканская Республика',
21902																			cg: 'Конго - Браззавиль',
21903																			ch: 'Швейцария',
21904																			ci: 'Кот-д’Ивуар',
21905																			ck: 'Острова Кука',
21906																			cl: 'Чили',
21907																			cm: 'Камерун',
21908																			cn: 'Китай',
21909																			co: 'Колумбия',
21910																			cr: 'Коста-Рика',
21911																			cu: 'Куба',
21912																			cv: 'Кабо-Верде',
21913																			cw: 'Кюрасао',
21914																			cx: 'о-в Рождества',
21915																			cy: 'Кипр',
21916																			cz: 'Чехия',
21917																			de: 'Германия',
21918																			dj: 'Джибути',
21919																			dk: 'Дания',
21920																			dm: 'Доминика',
21921																			do: 'Доминиканская Республика',
21922																			dz: 'Алжир',
21923																			ec: 'Эквадор',
21924																			ee: 'Эстония',
21925																			eg: 'Египет',
21926																			eh: 'Западная Сахара',
21927																			er: 'Эритрея',
21928																			es: 'Испания',
21929																			et: 'Эфиопия',
21930																			fi: 'Финляндия',
21931																			fj: 'Фиджи',
21932																			fk: 'Фолклендские о-ва',
21933																			fm: 'Федеративные Штаты Микронезии',
21934																			fo: 'Фарерские о-ва',
21935																			fr: 'Франция',
21936																			ga: 'Габон',
21937																			gb: 'Великобритания',
21938																			gd: 'Гренада',
21939																			ge: 'Грузия',
21940																			gf: 'Французская Гвиана',
21941																			gg: 'Гернси',
21942																			gh: 'Гана',
21943																			gi: 'Гибралтар',
21944																			gl: 'Гренландия',
21945																			gm: 'Гамбия',
21946																			gn: 'Гвинея',
21947																			gp: 'Гваделупа',
21948																			gq: 'Экваториальная Гвинея',
21949																			gr: 'Греция',
21950																			gt: 'Гватемала',
21951																			gu: 'Гуам',
21952																			gw: 'Гвинея-Бисау',
21953																			gy: 'Гайана',
21954																			hk: 'Гонконг (САР)',
21955																			hn: 'Гондурас',
21956																			hr: 'Хорватия',
21957																			ht: 'Гаити',
21958																			hu: 'Венгрия',
21959																			id: 'Индонезия',
21960																			ie: 'Ирландия',
21961																			il: 'Израиль',
21962																			im: 'о-в Мэн',
21963																			in: 'Индия',
21964																			io: 'Британская территория в Индийском океане',
21965																			iq: 'Ирак',
21966																			ir: 'Иран',
21967																			is: 'Исландия',
21968																			it: 'Италия',
21969																			je: 'Джерси',
21970																			jm: 'Ямайка',
21971																			jo: 'Иордания',
21972																			jp: 'Япония',
21973																			ke: 'Кения',
21974																			kg: 'Киргизия',
21975																			kh: 'Камбоджа',
21976																			ki: 'Кирибати',
21977																			km: 'Коморы',
21978																			kn: 'Сент-Китс и Невис',
21979																			kp: 'КНДР',
21980																			kr: 'Республика Корея',
21981																			kw: 'Кувейт',
21982																			ky: 'Острова Кайман',
21983																			kz: 'Казахстан',
21984																			la: 'Лаос',
21985																			lb: 'Ливан',
21986																			lc: 'Сент-Люсия',
21987																			li: 'Лихтенштейн',
21988																			lk: 'Шри-Ланка',
21989																			lr: 'Либерия',
21990																			ls: 'Лесото',
21991																			lt: 'Литва',
21992																			lu: 'Люксембург',
21993																			lv: 'Латвия',
21994																			ly: 'Ливия',
21995																			ma: 'Марокко',
21996																			mc: 'Монако',
21997																			md: 'Молдова',
21998																			me: 'Черногория',
21999																			mf: 'Сен-Мартен',
22000																			mg: 'Мадагаскар',
22001																			mh: 'Маршалловы Острова',
22002																			mk: 'Северная Македония',
22003																			ml: 'Мали',
22004																			mm: 'Мьянма (Бирма)',
22005																			mn: 'Монголия',
22006																			mo: 'Макао (САР)',
22007																			mp: 'Северные Марианские о-ва',
22008																			mq: 'Мартиника',
22009																			mr: 'Мавритания',
22010																			ms: 'Монтсеррат',
22011																			mt: 'Мальта',
22012																			mu: 'Маврикий',
22013																			mv: 'Мальдивы',
22014																			mw: 'Малави',
22015																			mx: 'Мексика',
22016																			my: 'Малайзия',
22017																			mz: 'Мозамбик',
22018																			na: 'Намибия',
22019																			nc: 'Новая Каледония',
22020																			ne: 'Нигер',
22021																			nf: 'о-в Норфолк',
22022																			ng: 'Нигерия',
22023																			ni: 'Никарагуа',
22024																			nl: 'Нидерланды',
22025																			no: 'Норвегия',
22026																			np: 'Непал',
22027																			nr: 'Науру',
22028																			nu: 'Ниуэ',
22029																			nz: 'Новая Зеландия',
22030																			om: 'Оман',
22031																			pa: 'Панама',
22032																			pe: 'Перу',
22033																			pf: 'Французская Полинезия',
22034																			pg: 'Папуа — Новая Гвинея',
22035																			ph: 'Филиппины',
22036																			pk: 'Пакистан',
22037																			pl: 'Польша',
22038																			pm: 'Сен-Пьер и Микелон',
22039																			pr: 'Пуэрто-Рико',
22040																			ps: 'Палестинские территории',
22041																			pt: 'Португалия',
22042																			pw: 'Палау',
22043																			py: 'Парагвай',
22044																			qa: 'Катар',
22045																			re: 'Реюньон',
22046																			ro: 'Румыния',
22047																			rs: 'Сербия',
22048																			ru: 'Россия',
22049																			rw: 'Руанда',
22050																			sa: 'Саудовская Аравия',
22051																			sb: 'Соломоновы Острова',
22052																			sc: 'Сейшельские Острова',
22053																			sd: 'Судан',
22054																			se: 'Швеция',
22055																			sg: 'Сингапур',
22056																			sh: 'о-в Св. Елены',
22057																			si: 'Словения',
22058																			sj: 'Шпицберген и Ян-Майен',
22059																			sk: 'Словакия',
22060																			sl: 'Сьерра-Леоне',
22061																			sm: 'Сан-Марино',
22062																			sn: 'Сенегал',
22063																			so: 'Сомали',
22064																			sr: 'Суринам',
22065																			ss: 'Южный Судан',
22066																			st: 'Сан-Томе и Принсипи',
22067																			sv: 'Сальвадор',
22068																			sx: 'Синт-Мартен',
22069																			sy: 'Сирия',
22070																			sz: 'Эсватини',
22071																			tc: 'о-ва Тёркс и Кайкос',
22072																			td: 'Чад',
22073																			tg: 'Того',
22074																			th: 'Таиланд',
22075																			tj: 'Таджикистан',
22076																			tk: 'Токелау',
22077																			tl: 'Восточный Тимор',
22078																			tm: 'Туркменистан',
22079																			tn: 'Тунис',
22080																			to: 'Тонга',
22081																			tr: 'Турция',
22082																			tt: 'Тринидад и Тобаго',
22083																			tv: 'Тувалу',
22084																			tw: 'Тайвань',
22085																			tz: 'Танзания',
22086																			ua: 'Украина',
22087																			ug: 'Уганда',
22088																			us: 'Соединенные Штаты',
22089																			uy: 'Уругвай',
22090																			uz: 'Узбекистан',
22091																			va: 'Ватикан',
22092																			vc: 'Сент-Винсент и Гренадины',
22093																			ve: 'Венесуэла',
22094																			vg: 'Виргинские о-ва (Великобритания)',
22095																			vi: 'Виргинские о-ва (США)',
22096																			vn: 'Вьетнам',
22097																			vu: 'Вануату',
22098																			wf: 'Уоллис и Футуна',
22099																			ws: 'Самоа',
22100																			ye: 'Йемен',
22101																			yt: 'Майотта',
22102																			za: 'Южно-Африканская Республика',
22103																			zm: 'Замбия',
22104																			zw: 'Зимбабве',
22105																			ac: 'Остров Вознесения',
22106																			xk: 'Косово'
22107																		}
22108																	});
22109																	window.sgPopup.elements.intl = phoneIntl;
22110									
22111																} else if(maskedField.dataset.mask == 'email') {
22112																	Inputmask({
22113																	alias: 'email',
22114																		clearIncomplete: true,
22115																		greedy: false
22116																	}).mask(maskedField);
22117																}
22118															}
22119														}
22120
22121														const fileInputs = popup.querySelectorAll('.popup-element[data-type="input-file"] input[type="file"]');
22122														if(fileInputs) {
22123															for(let fileInput of fileInputs) {
22124																let label = fileInput.nextElementSibling;
22125																if(label) {
22126																	fileInput.addEventListener('change', function() {
22127																		if (fileInput.files && fileInput.files.length > 0) {
22128																			const maxSize = fileInput.dataset.limit;
22129																			if(fileInput.files[0].size <= maxSize * 1024 * 1024) {
22130																				reader = new FileReader();
22131																				reader.onload = function(){
22132																					const span = label.querySelector('span');
22133																					if(span) {
22134																						span.innerHTML = fileInput.files[0].name;
22135																					}
22136																					fileInput.dataset.content = reader.result;
22137																				};
22138																				reader.readAsDataURL(fileInput.files[0]);
22139																			} else {
22140																				alert('Превышен максимальный размер файла - '+ maxSize +'мб');
22141																			}
22142																		}
22143																	});
22144																	label.addEventListener('click', function(event){
22145																		event.preventDefault();
22146																		fileInput.click();
22147																	});
22148																}
22149															}
22150														}
22151
22152														const agrees = popup.querySelectorAll('.popup-element[data-type="agree"] input[type="checkbox"]');
22153														if(agrees) {
22154															for(let agree of agrees) {
22155																let parent = agree.closest('.popup-element');
22156																if(parent) {
22157																	let label = agree.nextElementSibling;
22158																	if(label) {
22159																		label.addEventListener('click', function(event){
22160																			event.preventDefault();
22161																			agree.checked = !agree.checked;
22162
22163
22164																			if(parent.dataset.mode == 'general') {
22165																				const agreeAll = agree;
22166																				for(let agree of agrees) {
22167																					agree.checked = agreeAll.checked;
22168																				}
22169																			}
22170
22171																			let agreeCount = 0;
22172																			let agreeSelected = 0;
22173																			for(let agree of agrees) {
22174																				const parent = agree.closest('.popup-element');
22175																				if(parent && parent.dataset.mode != 'general') {
22176																					agreeCount++;
22177																					if(agree.checked) {
22178																						agreeSelected++;
22179																					}
22180																				}
22181																			}
22182
22183																			const general = popup.querySelector('.popup-element[data-type="agree"][data-mode="general"]');
22184																			if(general) {
22185																				general.classList.toggle('all-selected', agreeSelected == agreeCount);
22186																				general.classList.toggle('no-selected', agreeSelected == 0);
22187																				general.classList.toggle('some-selected', agreeSelected > 0 && agreeSelected < agreeCount);
22188
22189																				const checkbox = general.querySelector('input[type="checkbox"]');
22190																				if(checkbox) {
22191																					if(agreeSelected == agreeCount) {
22192																						checkbox.checked = true;
22193																					} else {
22194																						checkbox.checked = false;
22195																					}
22196																				}
22197																			}
22198																		});
22199																		const links = label.querySelectorAll('a');
22200																		if(links) {
22201																			for(let link of links) {
22202																				link.addEventListener('click', function(event){
22203																					event.stopPropagation()
22204																				});
22205																			}
22206																		}
22207																	}
22208																}
22209															}
22210														}
22211
22212														const wheel = popup.querySelector('.popup-element[data-type="wheel"]');
22213														let wheelInterval;
22214														let wheelAngle = 0;
22215														if(wheel){
22216															const circle = popup.querySelector('.wheel-circle img');
22217															if(circle) {
22218																wheelInterval = setInterval(function(){
22219																	wheelAngle += 0.2;
22220																	if(wheelAngle > 360) {
22221																		wheelAngle -= 360;
22222																	}
22223																	circle.setAttribute('style', 'transform: rotate('+ wheelAngle +'deg)');
22224																}, 40);
22225															}
22226														}
22227
22228														const closeTriggers = popup.querySelectorAll('.popup-element[data-type="button-close"] button:not([data-fancybox-close])');
22229														if(closeTriggers) {
22230															for(let closeTrigger of closeTriggers) {
22231																closeTrigger.addEventListener('click', function(){
22232																	Fancybox.close();
22233																})
22234															}
22235														}
22236
22237														function sgPopup1883submit(callback = false) {
22238
22239															let hasError = false;
22240															const requiredInputs = popup.querySelectorAll('input[data-name][required]');
22241															if(requiredInputs) {
22242																for(let requiredInput of requiredInputs) {
22243																	if(requiredInput.dataset.mask) {
22244																		if(requiredInput.dataset.mask == 'phone') {
22245																			if(!Inputmask.isValid(requiredInput.value, { mask: '+7 (999) 999-99-99'})) {
22246																				requiredInput.classList.add('error');
22247																				hasError = true;
22248																			} else {
22249																				requiredInput.classList.remove('error');
22250																			}
22251																		} else if(requiredInput.dataset.mask == 'phone_intl' && typeof window.sgPopup.elements.intl != 'undefined') {
22252																			intl = window.sgPopup.elements.intl;
22253																			if(!intl.isValidNumberPrecise()) {
22254																				requiredInput.classList.add('error');
22255																				hasError = true;
22256																			} else {
22257																				requiredInput.classList.remove('error');
22258																			}
22259																		} else if(requiredInput.dataset.mask == 'email') {
22260																			if(!Inputmask.isValid(requiredInput.value, {alias: 'email'})) {
22261																				requiredInput.classList.add('error');
22262																				hasError = true;
22263																			} else {
22264																				requiredInput.classList.remove('error');
22265																			}
22266																		}
22267																	} else {
22268																		if(requiredInput.value == '') {
22269																			requiredInput.classList.add('error');
22270																			hasError = true;
22271																		} else {
22272																			requiredInput.classList.remove('error');
22273																		}
22274																	}
22275																}
22276															}
22277								
22278															const requiredTextareas = popup.querySelectorAll('textarea[data-name][required]');
22279															if(requiredTextareas) {
22280																for(let requiredTextarea of requiredTextareas) {
22281																	if(requiredTextarea.value == '') {
22282																		requiredTextarea.classList.add('error');
22283																		hasError = true;
22284																	} else {
22285																		requiredTextarea.classList.remove('error');
22286																	}
22287																}
22288															}
22289
22290															const requiredSelects = popup.querySelectorAll('select[data-name][required]');
22291															if(requiredSelects) {
22292																for(let requiredSelect of requiredSelects) {
22293																	const niceSelect = requiredSelect.nextElementSibling;
22294																	if(niceSelect) {
22295																		if(niceSelect.querySelector('.option.selected')) {
22296																			niceSelect.classList.remove('error')
22297																		} else {
22298																			niceSelect.classList.add('error');
22299																			hasError = true
22300																		}
22301																	}
22302																}
22303															}
22304
22305															if(agrees) {
22306																for(let agree of agrees) {
22307																	if(agree.required) {
22308																		let label = agree.nextElementSibling;
22309																		if(agree.checked) {
22310																			label.classList.remove('error');
22311																		} else {
22312																			label.classList.add('error');
22313																			hasError = true;
22314																		}
22315																	}
22316																}
22317															}
22318
22319															if(hasError) {
22320																if (callback && typeof callback === 'function') {
22321																	callback(false);
22322																}
22323																return false;
22324															}
22325
22326															function sgPopup1883sendRequest() {
22327
22328								
22329																let data = {
22330																	fields: [],
22331																	cookie: document.cookie,
22332																	markers: markers,
22333																	source: location.href
22334																};
22335								
22336																const inputs = popup.querySelectorAll('input[data-name]');
22337																if(inputs) {
22338																	for(let input of inputs) {
22339																		if(input.dataset.mask == 'phone_intl' && typeof window.sgPopup.elements.intl != 'undefined') {
22340																			intl = window.sgPopup.elements.intl;
22341																			data.fields.push({
22342																				name: input.dataset.name,
22343																				value: intl.getNumber()
22344																			});
22345																		} else {
22346																			data.fields.push({
22347																				name: input.dataset.name,
22348																				value: input.value
22349																			});
22350																		}
22351																	}
22352																}
22353
22354																const textareas = popup.querySelectorAll('textarea[data-name]');
22355																if(textareas) {
22356																	for(let textarea of textareas) {
22357																		data.fields.push({
22358																			name: textarea.dataset.name,
22359																			value: textarea.value
22360																		});
22361																	}
22362																}
22363
22364																if(typeof selects != 'undefined') {
22365																	for(let select of selects) {
22366																		data.fields.push({
22367																			name: select.dataset.name,
22368																			value: select.value
22369																		});
22370																	}
22371																}
22372
22373																const hiddenInputs = popup.querySelectorAll('input[type="hidden"]');
22374																for(let hiddenInput of hiddenInputs) {
22375																	const name = hiddenInput.name;
22376																	data[hiddenInput.name] = hiddenInput.value;
22377																}
22378
22379																const fileInputs = popup.querySelectorAll('.popup-element[data-type="input-file"] input[type="file"]');
22380																if(fileInputs) {
22381																	data.files = [];
22382																	for(let fileInput of fileInputs) {
22383																		if (fileInput.files && fileInput.files.length > 0) {
22384																			data.files.push({
22385																				'name': fileInput.files[0].name,
22386																				'content': fileInput.dataset.content
22387																			});
22388																		}
22389																	}
22390																}
22391
22392																if( wheel && typeof window.prize != 'undefined' ) {
22393																	data.fields.push(window.prize);
22394																}
22395								
22396
22397																var xmlhr = new XMLHttpRequest();
22398																xmlhr.open('POST', "https://psy-muip.ru/wp-json/generator.conversion/v1/actions/?_method=POST&action=formSubmit");
22399																xmlhr.send(JSON.stringify(data));
22400
22401																xmlhr.onreadystatechange = function() {
22402																	if (xmlhr.readyState === 4 && xmlhr.status === 200) {
22403																		console.log(xmlhr.response);
22404																		const response = JSON.parse(xmlhr.response);
22405																		console.log(response);
22406								
22407																	}
22408																};
22409								
22410																sgPopup1883reachGoal("ym(93615077,'reachGoal','Popup_topbar_send');");
22411											
22412																sgSuccessPopup1883();
22413										
22414																return true;
22415
22416															}
22417
22418															if(wheel){
22419																const circle = popup.querySelector('.wheel-circle img');
22420																if(circle) {
22421																	clearInterval(wheelInterval);
22422								
22423																	}
22424
22425																} else {
22426																	const result = sgPopup1883sendRequest();
22427																	if (callback && typeof callback === 'function') {
22428																		callback(result);
22429																	}
22430																}
22431
22432															}
22433
22434															areaLinks = popup.querySelectorAll('.popup-area[data-type="area-link"]');
22435															if(areaLinks) {
22436																for(let areaLink of areaLinks) {
22437																	areaLink.addEventListener('click', function(){
22438																		if(areaLink.dataset.link && areaLink.dataset.link != '#') {
22439																			if(areaLink.dataset.target == '_blank') {
22440																				window.open(areaLink.dataset.link);
22441																			} else {
22442																				location.href = areaLink.dataset.link
22443																			}
22444																		}
22445																	});
22446																}
22447															}
22448
22449															areaOpeners = popup.querySelectorAll('.popup-area[data-type="area-opener"]');
22450															if(areaOpeners) {
22451																for(let areaOpener of areaOpeners) {
22452																	areaOpener.addEventListener('click', function(){
22453																		if(areaOpener.dataset.popup) {
22454																			if(typeof window['sgPopup' + areaOpener.dataset.popup] == 'function') {
22455																				Fancybox.close();
22456																				window['sgPopup' + areaOpener.dataset.popup]('forceOpen');
22457																			}
22458																		}
22459																	});
22460																}
22461															}
22462
22463															const submitButton = popup.querySelector(".popup-element[data-type='button-submit'] button");
22464															if(submitButton) {
22465																submitButton.addEventListener('click', function(event){
22466
22467																	event.preventDefault();
22468																	submitButton.disabled = true;
22469
22470																	sgPopup1883submit(function(result){
22471																		submitButton.disabled = result;
22472																	});
22473
22474																})
22475															}
22476														}
22477													},
22478													close: () => {
22479														window.sgPopup.opened = false;
22480														window.sgPopup.shown.push(1883);
22481														if(window.sgPopup.queue.length) {
22482															setTimeout(function(){
22483																let popupID = window.sgPopup.queue.shift();
22484																window['sgPopup' + popupID]('forceOpen');
22485															}, 30000);
22486														}
22487								
22488													}
22489												}
22490											})
22491										}
22492									}
22493								}
22494							
22495								function sgSuccessPopup1883() {
22496							
22497									let html;
22498									let closeButton;
22499									if(window.innerWidth >= 1040) {
22500										html = "<noindex id='SGsuccess1883' 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>";
22501							closeButton = false;
22502									} else {
22503										html = "<noindex id='SGsuccess1883' 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;\">Спасибо, мы скоро свяжемся с вами!&nbsp;</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>";
22504							closeButton = false;
22505									}
22506							
22507									Fancybox.close();
22508									new Fancybox([
22509										{
22510											src: html,
22511											type: 'html'
22512										}
22513									], {
22514										dragToClose: false,
22515										closeButton: closeButton,
22516										autoFocus: false,
22517										trapFocus: false,
22518										on: {
22519											done: (fancybox, slide) => {
22520							
22521												const success = document.querySelector("#SGsuccess1883");
22522												if(success) {
22523
22524													buttonLinks = success.querySelectorAll('button[data-type="link"]');
22525													if(buttonLinks) {
22526														for(let buttonLink of buttonLinks) {
22527															buttonLink.addEventListener('click', function(){
22528																if(buttonLink.dataset.link) {
22529																	if(buttonLink.dataset.target == '_blank') {
22530																		window.open(buttonLink.dataset.link);
22531																	} else {
22532																		location.href = buttonLink.dataset.link
22533																	}
22534																}
22535															});
22536														}
22537													}
22538													
22539												}
22540							
22541												setTimeout(function(){
22542													Fancybox.close();
22543												}, 3000);
22544									
22545											},
22546											close: () => {
22547												window.sgPopup.opened = false;
22548											}
22549										}
22550									});
22551								}
22552							</script>
vendor: 1 bytes, line 22552
22552
22553<script>addEventListener('DOMContentLoaded', function(){sgWidget235autoOpen();});function sgWidget235autoOpen() {widget = document.createElement('noindex');widget.id = 'sgWidget235';wrapper = document.createElement('div');wrapper.classList = 'widget-wrapper';wrapper.dataset.step = 'desktop';wrapper.style.position = 'fixed';wrapper.style.zIndex = 100;wrapper.style.top = 'unset';wrapper.style.right = 'unset';wrapper.style.bottom = 0;wrapper.style.left = 0;wrapper.style.marginTop = '0px';wrapper.style.marginRight = '0px';wrapper.style.marginBottom = '40px';wrapper.style.marginLeft = '50px';wrapper.style.paddingTop = '0px';wrapper.style.paddingRight = '0px';wrapper.style.paddingBottom = '0px';wrapper.style.paddingLeft = '0px';wrapper.style.width = '265px';wrapper.style.minWidth = '265px';wrapper.style.maxWidth = '80%';wrapper.style.height = '68px';wrapper.style.backgroundColor = 'rgba(105, 162, 0, 1.00)';wrapper.style.borderRadius = '40px';wrapper.innerHTML = '<div class="widget-element" data-type="image" style="position:absolute;z-index:0;top:-1px;left:0px"><div class="widgetElement-content"><div class="image-wrapper" data-type="default"><img src="https://service.leads-gen.ru/upload/453/widgets/148/1772177852.png" alt="1772177852.png" style="width: 69px; height: 69px; border-radius: 40px; min-width: 69px; min-height: 69px;"></div></div></div><div class="widget-element" data-type="editor" data-element-id="586587" style="position:absolute;z-index:0;top:15.9838px;left:70.9907px;width:168px;height:33px"><div class="widgetElement-content"><p style="text-align:center;"><span style="color:hsl(0,0%,100%);font-size:22px;">Забрать скидку -30%</span></p></div></div><div class="widget-element" data-type="image" style="position:absolute;z-index:0;top:55px;left:48.4833px"><div class="widgetElement-content"><div class="image-wrapper" data-type="default"><img src="https://service.leads-gen.ru/upload/453/widgets/149/1772557911.png" alt="1772557911.png" style="width: 13px; height: 13px; border-radius: 40px; min-width: 13px; min-height: 13px;"></div></div></div>';widget.append(wrapper);closeButtons = wrapper.querySelectorAll('.button-close');if(closeButtons) {for(let closeButton of closeButtons) {closeButton.addEventListener('click', function(event){event.stopPropagation();const noindex = closeButton.closest('noindex[id*="sgWidget"]');if(noindex) {noindex.parentNode.removeChild(noindex);}});}}wrapper.addEventListener('click', function() {if(typeof window['sgPopup1878'] == 'function') {window['sgPopup1878']('forceOpen');}console.log("link");});wrapper = document.createElement('div');wrapper.classList = 'widget-wrapper';wrapper.dataset.step = 'mobile';wrapper.style.position = 'fixed';wrapper.style.zIndex = 100;wrapper.style.top = 'unset';wrapper.style.right = 'unset';wrapper.style.bottom = 0;wrapper.style.left = 0;wrapper.style.marginTop = '0px';wrapper.style.marginRight = '0px';wrapper.style.marginBottom = '20px';wrapper.style.marginLeft = '20px';wrapper.style.paddingTop = '0px';wrapper.style.paddingRight = '0px';wrapper.style.paddingBottom = '0px';wrapper.style.paddingLeft = '0px';wrapper.style.width = '194px';wrapper.style.minWidth = '194px';wrapper.style.maxWidth = '50%';wrapper.style.height = '48px';wrapper.style.backgroundColor = 'rgba(105, 162, 0, 1.00)';wrapper.style.borderRadius = '40px';wrapper.innerHTML = '<div class="widget-element" data-type="image" style="position:absolute;z-index:0;top:0px;left:0px"><div class="widgetElement-content"><div class="image-wrapper" data-type="default"><img src="https://service.leads-gen.ru/upload/453/widgets/148/1772178428.png" alt="1772178428.png" style="width: 49px; height: 49px; border-radius: 40px; min-width: 49px; min-height: 49px;"></div></div></div><div class="widget-element" data-type="editor" data-element-id="240708" style="position:absolute;z-index:0;top:7.96295px;left:49.9838px;width:123px;height:37px"><div class="widgetElement-content"><p style="text-align:center;"><span style="color:hsl(0,0%,100%);font-size:16px;">Забрать скидку -30%</span></p></div></div><div class="widget-element" data-type="image" style="position:absolute;z-index:0;top:38px;left:33.9833px"><div class="widgetElement-content"><div class="image-wrapper" data-type="default"><img src="https://service.leads-gen.ru/upload/453/widgets/149/1772557999.png" alt="1772557999.png" style="width: 10px; height: 10px; border-radius: 40px; min-width: 10px; min-height: 10px;"></div></div></div>';widget.append(wrapper);closeButtons = wrapper.querySelectorAll('.button-close');if(closeButtons) {for(let closeButton of closeButtons) {closeButton.addEventListener('click', function(event){event.stopPropagation();const noindex = closeButton.closest('noindex[id*="sgWidget"]');if(noindex) {noindex.parentNode.removeChild(noindex);}});}}wrapper.addEventListener('click', function() {if(typeof window['sgPopup1878'] == 'function') {window['sgPopup1878']('forceOpen');}console.log("popup");});document.body.append(widget);sgWidget235shown = false;function sgWidget235visibility() {document.body.classList.add('sgWidget235');sgWidget235reachGoal("ym(93615077,'reachGoal','Vijet_show');");}sgWidget235visibility();}function sgWidget235reachGoal(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://psy-muip.ru/wp-json/generator.conversion/v1/actions/?token=8b115a64e0d810e8f5212cf21604b258&action=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(';');
22553if(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.widget235goals == 'undefined') {window.widget235goals = [];}window.widget235goals.push({'metrika': params[0],'action': params[1],'id': params[2]});if(typeof widget235interval == 'undefined') {widget235interval = setInterval(function(){if (typeof window.ym != 'undefined') {for(let goal of window.widget235goals) {executeGoal(params);}window.widget235goals = [];clearInterval(widget235interval);}}, 1000);}}}} else {eval(goal);}}}}}</script>
22553
22554<link href='https://service.leads-gen.ru/assets/libs/fancybox.css' type='text/css' rel='stylesheet'>
22555<script src='https://service.leads-gen.ru/assets/libs/fancybox.umd.js'></script>
22555
22556<link href='https://service.leads-gen.ru/assets/libs/nice-select2.css' type='text/css' rel='stylesheet'>
22557<script src='https://service.leads-gen.ru/assets/libs/nice-select2.js'></script>
vendor: 1 bytes, line 22557
22557
22558<script src='https://service.leads-gen.ru/assets/libs/inputmask.min.js'></script>
22558
22559<link href='https://service.leads-gen.ru/assets/libs/intl-tel/intlTelInput.css' type='text/css' rel='stylesheet'>
22560<script src='https://service.leads-gen.ru/assets/libs/intl-tel/intlTelInputWithUtils.min.js'></script>
vendor: 1 bytes, line 22560
22560
22561<script>if(typeof urlParams == "undefined") {urlParams = new URLSearchParams(window.location.search);}if(typeof markers == "undefined") {markers = JSON.parse(localStorage.getItem("sgConversionMarkers") || "{}");const utms = ["utm_source", "utm_medium", "utm_campaign", "utm_term", "utm_content"];utms.forEach(utm => {if (urlParams.has(utm)) {markers[utm] = urlParams.get(utm);}});localStorage.setItem("sgConversionMarkers", JSON.stringify(markers));}if(typeof urlParams == "undefined") {urlParams = new URLSearchParams(window.location.search);}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=/`;}if (window.opener) {if(urlParams.get("mode") == "blockCatcher" && urlParams.get("element")) {localStorage.setItem("catcher_mode", urlParams.get("mode"));localStorage.setItem("catcher_element", urlParams.get("element"));}const mode = localStorage.getItem("catcher_mode");const element = localStorage.getItem("catcher_element");if (mode && element) {const catcher = document.createElement("div");catcher.className = "sgElementCatcher";catcher.innerHTML = "выбрать элемент";document.body.appendChild(catcher);catcher.addEventListener("click", function(){if( document.body.classList.contains("catcher-active") ) {document.body.classList.remove("catcher-active");catcher.innerHTML = "выбрать элемент";} else {document.body.classList.add("catcher-active");catcher.innerHTML = "выбираем элемент";}});document.addEventListener("click", (event) => {if (event.target === catcher || catcher.contains(event.target)) {return;}if( document.body.classList.contains("catcher-active") ) {event.preventDefault();event.stopPropagation();const PARENT_ORIGIN = "https://service.leads-gen.ru";const payload = {action: "getSelector",timestamp: Date.now(),selector: getSelector(event.target),element: element};window.opener.postMessage(payload, PARENT_ORIGIN);localStorage.removeItem("catcher_mode");localStorage.removeItem("catcher_element");window.close();}}, true);function getSelector(el) {    if (!(el instanceof Element)) return "";        const path = [];    while (el && el.nodeType === Node.ELEMENT_NODE) {        let selector = el.nodeName.toLowerCase();        if (selector === "html" || selector === "body") {            break;        }                const className = el.getAttribute("class");        const firstClass = className ? className.trim().split(/\s+/).filter(Boolean)[0] : null;                if (el.id && firstClass && el.parentNode) {            const hasSiblingWithSameClass = Array.from(el.parentNode.children).some(                sibling => sibling !== el && sibling.classList.contains(firstClass)            );            if (hasSiblingWithSameClass) {                selector += `.${firstClass}`;            } else {                selector += `#${CSS.escape(el.id)}`;                path.unshift(selector);                break;            }        }  else if (el.id) {            selector += `#${CSS.escape(el.id)}`;            path.unshift(selector);            break;        }         else if (firstClass) {            selector += `.${firstClass}`;        }        path.unshift(selector);        el = el.parentNode;    }    return path.join(" > ");}}}</script>
22561
22562</body>
22563</html>

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