PageSourceSearch

https://kkartschool.com/pl/cms/layout/js?id=19586&hash=bad8a8ae16e7aeb5650ba5a8bfbef0f5

js kkartschool.com collected 2026-10-08 17:10:03 UTC 85,540 bytes, 1,001 lines download raw bytes

1$(document).ready(function(){
2    setTimeout(function() {
3    	$('.widget-opacity-form').css('opacity', '1');
4    }, 500);  
5
6   if (location.href.indexOf('/teach/control/schedule') !== -1) {
7       $('body').addClass('schedule-page');
8   }
9    
10   if (location.href.indexOf('/pl/notifications/settings/my') !== -1) {
11       $('body').addClass('notifications-page');
12   }
13});
14/* ------------- 
15content start - Общение
16------------- */
17
18$(document).ready(function(){
19    setTimeout(function() {
20        $('.remove-after-load').remove();
21        $('.talks-widget-window').hide();
22        $('.talks-widget-button').click(function() {    
23            $('.talks-widget-window').css('display', 'flex');
24            $('.gc-fade-wrapper').show();
25            setTimeout(function() {
26                if ($('.conversation-img').children('.support-chat-icon').length === 0) {
27                    $('img[src="/public/img/chat.png"]').after('<span class="support-chat-icon"></span>');     
28                }  
29            },500);
30            $('.talks-widget-window .btn-close').click(function() {
31                $('.gc-fade-wrapper').hide();
32            });
33        });
34    }, 300);
35    if (location.href.indexOf('/pl/talks/conversation') !== -1) {
36        $('body').addClass('full-window-talks');
37        setTimeout(function() {
38            $('.talks-widget-window').css('display', 'flex');
39            if ($('.conversation-img').children('.support-chat-icon').length === 0) {
40                $('img[src="/public/img/chat.png"]').after('<span class="support-chat-icon"></span>');     
41            }
42            if (location.hash.length > 0) {
43                $('.talks-widget-window .talks-widget-header').append($('.talks-widget-window .talks-widget-header').find('.btn-back'));
44                $('.talks-widget-window .talks-widget-header').find('.caption').addClass('name');
45                if ($('.comments-tree>.comments-container').outerHeight() <= 100) {
46                    $('.comments-tree>.comments-container').css('height',  $('.comments-tree').outerHeight() - $('.gc-comment-form').outerHeight() + 'px');
47                };
48            }
49            $('.talks-widget-window .talks-widget-body .conversations-list-block .conversation-annotate, .conversation-list-footer .btn-new').click(function() {
50                setTimeout(function() {
51                    $('.talks-widget-window .talks-widget-header').append($('.talks-widget-window .talks-widget-header').find('.btn-back'));
52                    $('.talks-widget-window .talks-widget-header').find('.caption').addClass('name');
53                    if ($('.conversation-img').children('.support-chat-icon').length === 0) {
54                        $('img[src="/public/img/chat.png"]').after('<span class="support-chat-icon"></span>');     
55                    }  
56                    $('.talks-widget-window .btn-back').click(function() {
57                        $('.talks-widget-window .talks-widget-header').find('.caption').removeClass('name');
58                    });
59                });
60            });
61        }, 500);
62    } else {
63        setTimeout(function() {
64            $('.talks-widget-window .talks-widget-body .conversations-list-block .conversation-annotate, .conversation-list-footer .btn-new').click(function() {
65                setTimeout(function() {
66                    $('.talks-widget-window').addClass('right-side');
67                    $('.talks-widget-window .talks-widget-header').append($('.talks-widget-window .talks-widget-header').find('.btn-back'));
68                    $('.talks-widget-window .talks-widget-header').find('.caption').addClass('name');
69                    if ($('.conversation-img').children('.support-chat-icon').length === 0) {
70                        $('img[src="/public/img/chat.png"]').after('<span class="support-chat-icon"></span>');     
71                    }                  
72                    $('.gc-fade-wrapper').show();
73                    $('.talks-widget-window .btn-back').click(function() {
74                        $('.gc-fade-wrapper').hide();
75                        $('.talks-widget-window').removeClass('right-side').hide();
76                        $('.talks-widget-window .talks-widget-header').find('.caption').removeClass('name');
77                    });
78                });
79            });
80            $('.gc-fade-wrapper').click(function() {
81                $('.talks-widget-window').removeClass('right-side').hide();
82                $('.talks-widget-window .talks-widget-header').find('.caption').removeClass('name');
83                $('.talks-widget-window').hide();
84            });
85
86            $('.talks-widget-button').click(function() {
87                setTimeout(function() {
88                    $('.talks-widget-window .talks-widget-body .conversations-list-block .conversation-annotate, .conversation-list-footer .btn-new').click(function() {
89                        setTimeout(function() {
90                            $('.talks-widget-window').addClass('right-side');
91                            $('.talks-widget-window .talks-widget-header').append($('.talks-widget-window .talks-widget-header').find('.btn-back'));
92                            $('.talks-widget-window .talks-widget-header').find('.caption').addClass('name');
93                            $('.gc-fade-wrapper').show();
94                            if ($('.conversation-img').children('.support-chat-icon').length === 0) {
95                                $('img[src="/public/img/chat.png"]').after('<span class="support-chat-icon"></span>');     
96                            }          
97                            $('.talks-widget-window .btn-back').click(function() {
98                                $('.talks-widget-window').removeClass('right-side').hide();
99                                $('.talks-widget-window .talks-widget-header').find('.caption').removeClass('name');
100                                $('.talks-widget-window').css('display', 'flex');
101                            });
102                        });
103                    });
104                }, 500);
105            });
106        }, 500);
107    }
108});
109/* ------------- 
110content finish - Общение
111------------- */
112
113/* ------------- 
114content start - Верхнее меню
115------------- */
116
117$(document).ready(function(){
118    setTimeout(function() {
119        let avatarLeftMenuLink = $('.menu-item-profile .menu-item-icon').attr('src');
120
121        let personalAreaMenu = `
122<div class="menu personal-area-menu">
123<div class="container">
124<div class="menu-block">
125<div class="menu-block-left-side">
126<div class="menu-mobile-burger-btn menu-mobile">
127<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" style="display: block">
128<path d="M3 18H21" stroke="#A56429" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path>
129<path d="M3 12H21" stroke="#A56429" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path>
130<path d="M3 6H21" stroke="#A56429" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path>
131</svg>
132</div>
133<div class="menu-logo">
134<a href="/">
135<svg width="114" height="49" viewBox="0 0 114 49" fill="none" xmlns="http://www.w3.org/2000/svg" style="display: block">
136<path d="M0 19.5129V15.5233H2.01415L6.18892 0H14.0258L18.2006 15.5233H20.2147V19.5129H0ZM6.00582 15.5596H14.2455L10.144 0.181347L6.00582 15.5596Z" fill="#A56429"></path>
137<path d="M22.5583 5.98442C23.071 4.78753 23.7668 3.77199 24.6824 2.90152C25.5613 2.03105 26.6233 1.34193 27.7951 0.834159C29.0036 0.326387 30.2853 0.0725098 31.6403 0.0725098C32.9953 0.0725098 34.277 0.326387 35.4855 0.834159C36.694 1.34193 37.7194 2.03105 38.5983 2.90152C39.4772 3.77199 40.173 4.78753 40.6857 5.98442C41.1983 7.18131 41.4547 8.45074 41.4547 9.79271C41.4547 11.1347 41.1983 12.4041 40.6857 13.601C40.173 14.7979 39.4772 15.8134 38.5983 16.6839C37.7194 17.5544 36.694 18.2798 35.4855 18.7875C34.277 19.2953 32.9953 19.5492 31.6403 19.5492C30.2853 19.5492 29.0036 19.2953 27.7951 18.7875C26.5866 18.2798 25.5613 17.5906 24.6824 16.6839C23.8035 15.8134 23.071 14.7616 22.5583 13.601C22.0456 12.4041 21.7893 11.1347 21.7893 9.79271C21.7893 8.41447 22.0456 7.14504 22.5583 5.98442ZM26.1472 12.3678C26.4402 13.0207 26.8064 13.601 27.2824 14.0725C27.7585 14.544 28.3444 14.943 29.0036 15.1969C29.6628 15.487 30.3586 15.5958 31.1276 15.5958C32.0065 15.5958 32.8122 15.4145 33.5812 15.088C34.3503 14.7616 35.0094 14.2901 35.5954 13.7098C36.1813 13.1295 36.6207 12.4404 36.9503 11.715C37.2799 10.9533 37.4264 10.1554 37.4264 9.28494C37.4264 8.55955 37.3165 7.87043 37.0602 7.21758C36.8039 6.56473 36.4743 5.98443 36.0348 5.51292C35.5954 5.04142 35.046 4.64246 34.3869 4.38857C33.7277 4.09841 33.0319 3.9896 32.2262 3.9896C31.3473 3.9896 30.5417 4.17095 29.736 4.49737C28.967 4.8238 28.2712 5.29531 27.6853 5.87562C27.0993 6.45593 26.6233 7.14505 26.257 7.87044C25.8908 8.63209 25.7077 9.43002 25.7077 10.3005C25.7444 11.0259 25.8908 11.715 26.1472 12.3678Z" fill="#A56429"></path>
138<path d="M43.0662 19.5129L48.2663 0H58.9962V3.95337H51.1594L50.6101 5.94818C50.8298 5.91191 51.0861 5.83938 51.3425 5.83938C51.5988 5.80311 51.8185 5.80311 52.0749 5.80311C53.027 5.80311 53.9426 5.98446 54.7848 6.34715C55.6271 6.70984 56.3595 7.21762 56.9821 7.8342C57.6046 8.45078 58.1173 9.17617 58.4469 10.0104C58.8131 10.8446 58.9962 11.715 58.9962 12.658C58.9962 13.601 58.8131 14.4715 58.4469 15.3057C58.0807 16.1399 57.6046 16.8653 56.9821 17.4819C56.3595 18.0984 55.6271 18.6062 54.7848 18.9689C53.9426 19.3316 53.027 19.5129 52.0749 19.5129C51.196 19.5129 50.3537 19.3679 49.5481 19.0414C48.7424 18.715 48.0832 18.3161 47.4607 17.772L47.0212 19.5129H43.0662ZM49.9509 14.8342C50.427 15.342 51.0129 15.5959 51.7453 15.5959C52.1481 15.5959 52.551 15.487 52.9538 15.3057C53.32 15.1244 53.6862 14.8705 53.9792 14.5803C54.2721 14.2902 54.5285 13.9275 54.675 13.5285C54.8581 13.1295 54.9313 12.7306 54.9313 12.2953C54.9313 11.6062 54.7116 10.9896 54.2721 10.4819C53.8327 9.97409 53.2101 9.7202 52.4777 9.7202C52.0749 9.7202 51.6354 9.82902 51.2692 10.0104C50.8664 10.1917 50.5368 10.4093 50.2438 10.6995C49.9509 10.9896 49.6945 11.3161 49.5481 11.715C49.365 12.114 49.2917 12.513 49.2917 12.9482C49.2185 13.7098 49.4748 14.3264 49.9509 14.8342Z" fill="#A56429"></path>
139<path d="M64.9289 19.5129H60.9373L66.1374 0H70.0925L70.0192 0.362694C70.7883 0.145078 71.5939 0.0362716 72.3263 0.0362716C73.425 0.0362716 74.487 0.253882 75.4391 0.652845C76.4279 1.05181 77.2701 1.63212 78.0026 2.35751C78.735 3.0829 79.3209 3.9171 79.7237 4.89637C80.1266 5.87565 80.3463 6.92746 80.3463 8.05182C80.3463 9.1399 80.1266 10.1917 79.7237 11.1347C79.3209 12.114 78.735 12.9482 78.0026 13.6736C77.2701 14.399 76.3912 14.9793 75.4391 15.3782C74.4503 15.7772 73.425 15.9948 72.3263 15.9948C71.1545 15.9948 70.0925 15.7772 69.1037 15.3057C68.1149 14.8342 67.236 14.2539 66.5036 13.4922L64.9289 19.5129ZM70.9714 4.35233C70.4587 4.56995 69.9826 4.89637 69.5798 5.29534C69.1769 5.6943 68.884 6.12953 68.6642 6.67357C68.4445 7.18134 68.3347 7.76166 68.3347 8.34197C68.3347 9.43005 68.6643 10.3368 69.3601 11.0259C70.0558 11.715 70.9347 12.0777 71.9967 12.0777C72.5827 12.0777 73.1686 11.9689 73.7179 11.715C74.2672 11.4974 74.7067 11.171 75.1095 10.772C75.5123 10.3731 75.8053 9.93782 76.0617 9.39378C76.2814 8.84974 76.4279 8.3057 76.4279 7.68912C76.4279 6.67358 76.0983 5.80311 75.4391 5.07772C74.7799 4.35233 73.8644 3.98964 72.7292 3.98964C72.07 4.02591 71.4841 4.13471 70.9714 4.35233Z" fill="#A56429"></path>
140<path d="M80.749 19.5129L85.9858 0H93.8227L99.0228 19.5129H95.0678L93.4565 13.601H86.2788L84.7041 19.5129H80.749ZM89.9409 0.217619L87.3774 9.6114H92.4677L89.9409 0.217619Z" fill="#A56429"></path>
141<path d="M113.671 19.5131H109.679V13.0934C108.727 13.5286 107.738 13.7462 106.713 13.7462C106.457 13.7462 106.237 13.7462 106.127 13.7099L104.589 19.5131H100.597L102.502 12.3317C101.659 11.7151 101 10.9172 100.524 9.9742C100.048 9.03119 99.7917 7.97938 99.7917 6.8913C99.7917 5.94829 99.9749 5.07783 100.341 4.24363C100.707 3.40944 101.22 2.68405 101.843 2.06747C102.465 1.45089 103.197 0.943113 104.04 0.580418C104.882 0.217724 105.761 0.036377 106.713 0.036377C107.738 0.036377 108.727 0.253989 109.679 0.689222V0.036377H113.671V19.5131ZM107.629 9.57523C107.995 9.43015 108.324 9.21254 108.617 8.92239C108.91 8.63223 109.13 8.34207 109.313 7.97938C109.496 7.61668 109.606 7.21772 109.643 6.81875V6.60115C109.643 5.87576 109.386 5.25917 108.91 4.7514C108.434 4.24363 107.775 3.98974 107.006 3.98974C106.091 3.98974 105.321 4.31617 104.736 4.93275C104.15 5.54933 103.82 6.27472 103.82 7.10892C103.82 7.87057 104.076 8.52342 104.552 9.06746C105.065 9.57523 105.688 9.82912 106.457 9.82912C106.86 9.82912 107.262 9.75658 107.629 9.57523Z" fill="#A56429"></path>
142<path d="M17.4682 37.5027V23.2125H22.2289V37.4664H24.7924V23.2125H29.5531V42.2177H10.1074V23.1763H14.8681V37.4664H17.4682V37.5027ZM10.6934 41.6737H29.0404V23.7566H25.3417V38.0105H21.6796V23.7566H17.9809V38.0105H14.3554V23.7203H10.6934V41.6737Z" fill="#1F212C"></path>
143<path d="M42.81 42.1813L40.4296 33.2953H37.976V42.2176H33.252V23.2124H37.976V28.1813L39.331 23.2124H44.0917L41.6747 32.2072H44.934L47.6073 42.1813H42.81ZM37.4267 32.7513H40.8691L43.2494 41.6373H46.8749L44.4945 32.7513H40.9789L43.3593 23.7564H39.7338L37.4267 32.316V23.7564H33.7646V41.6735H37.4267V32.7513Z" fill="#1F212C"></path>
144<path d="M48.303 29.0156C48.8157 27.855 49.5115 26.8757 50.3537 26.0053C51.2326 25.1348 52.2214 24.4819 53.3933 23.9742C54.5651 23.5027 55.8102 23.2488 57.1286 23.2488C58.4469 23.2488 59.6921 23.5027 60.8639 23.9742C62.0358 24.4819 63.0245 25.1348 63.9034 26.0053C64.7823 26.8757 65.4415 27.855 65.9542 29.0156C66.4669 30.1762 66.6866 31.4094 66.6866 32.7151C66.6866 34.0208 66.4303 35.254 65.9542 36.4146C65.4415 37.5752 64.7823 38.5545 63.9034 39.4249C63.0245 40.2954 62.0358 40.9483 60.8639 41.456C59.6921 41.9638 58.4469 42.2177 57.1286 42.2177C55.8102 42.2177 54.5651 41.9638 53.3933 41.456C52.2214 40.9483 51.2326 40.2591 50.3537 39.4249C49.4748 38.5545 48.8157 37.5752 48.303 36.4146C47.7903 35.254 47.5339 34.0208 47.5339 32.7151C47.5706 31.4094 47.8269 30.1762 48.303 29.0156ZM60.6808 40.9845C61.7794 40.513 62.7316 39.8965 63.5372 39.0623C64.3429 38.2643 65.0021 37.285 65.4415 36.197C65.9176 35.1089 66.1373 33.9483 66.1373 32.7151C66.1373 31.4819 65.9176 30.3213 65.4415 29.2332C64.9655 28.1452 64.3429 27.2021 63.5372 26.4042C62.7316 25.6063 61.7794 24.9534 60.6808 24.5182C59.5822 24.0467 58.4103 23.8291 57.1652 23.8291C55.9201 23.8291 54.7482 24.0467 53.6496 24.5182C52.551 24.9897 51.5988 25.6063 50.7566 26.4042C49.9509 27.2021 49.2917 28.1452 48.8157 29.2332C48.3396 30.3213 48.1199 31.4819 48.1199 32.7151C48.1199 33.9483 48.3396 35.1089 48.8157 36.197C49.2917 37.285 49.9143 38.2281 50.7566 39.0623C51.5622 39.8602 52.551 40.513 53.6496 40.9845C54.7482 41.456 55.9201 41.6736 57.1652 41.6736C58.4103 41.6736 59.5822 41.456 60.6808 40.9845ZM52.2214 30.9742C52.551 30.285 52.9904 29.6685 53.5398 29.1244C54.0891 28.5804 54.7116 28.1451 55.444 27.855C56.1765 27.5286 56.9089 27.3835 57.7145 27.3835C58.4469 27.3835 59.1061 27.4923 59.692 27.7462C60.278 28.0001 60.7907 28.3265 61.1935 28.798C61.5963 29.2332 61.9259 29.7773 62.1456 30.3576C62.3654 30.9379 62.4752 31.5907 62.4752 32.2436C62.4752 33.0415 62.3288 33.7669 62.0358 34.456C61.7428 35.1452 61.3034 35.7617 60.7907 36.3058C60.278 36.8498 59.6554 37.285 58.9596 37.5752C58.2638 37.9016 57.4948 38.0467 56.7258 38.0467C56.03 38.0467 55.3708 37.9379 54.7849 37.684C54.1989 37.4301 53.6496 37.1037 53.2102 36.6322C52.7707 36.197 52.4045 35.6529 52.1482 35.0726C51.8918 34.4923 51.782 33.8395 51.782 33.1866C51.7087 32.3887 51.8918 31.6633 52.2214 30.9742ZM52.5876 34.8913C52.8073 35.4353 53.1369 35.8705 53.5398 36.2695C53.9426 36.6685 54.4186 36.9586 54.9313 37.1762C55.444 37.3939 56.03 37.5027 56.6525 37.5027C57.3849 37.5027 58.0441 37.3576 58.6667 37.0674C59.2892 36.7773 59.8385 36.4146 60.3146 35.9068C60.7907 35.4353 61.1935 34.8913 61.4499 34.2384C61.7428 33.6218 61.8527 32.9327 61.8527 32.2073C61.8527 30.9742 61.4499 29.9223 60.6808 29.1244C59.9118 28.2902 58.8864 27.8913 57.6047 27.8913C56.8723 27.8913 56.1765 28.0363 55.5539 28.3265C54.8947 28.6167 54.3088 28.9793 53.8327 29.4871C53.32 29.9586 52.9172 30.5389 52.6242 31.1555C52.3313 31.7721 52.1848 32.4612 52.1848 33.1866C52.258 33.8032 52.3679 34.3835 52.5876 34.8913Z" fill="#1F212C"></path>
145<path d="M71.6303 23.2124H79.6503L84.704 42.2176H79.9433L75.622 26.0414L71.2641 42.2176H66.5034L71.6303 23.2124ZM70.8613 41.6735L75.622 23.9378L80.3461 41.6735H83.9716L79.2109 23.7564H72.0332L67.2358 41.6735H70.8613Z" fill="#1F212C"></path>
146<path d="M90.9297 23.2124H98.9496L104.003 42.2176H99.2426L97.7777 36.7772H92.0283L90.5268 42.2176H85.8027L90.9297 23.2124ZM91.6254 36.2331H98.2172L99.7187 41.6735H103.344L98.5834 23.7564H91.3691L86.5718 41.6735H90.2339L91.6254 36.2331ZM97.2651 32.5699H92.6142L94.9579 23.9378L97.2651 32.5699ZM94.9579 26.0052L93.3466 32.0259H96.5693L94.9579 26.0052Z" fill="#1F212C"></path>
147<path d="M21.1304 46.7876C20.9106 46.5699 20.6543 46.4611 20.3979 46.4611C19.8486 46.4611 19.5557 46.89
14764 19.5557 47.4041C19.5557 47.8756 19.8486 48.3109 20.3979 48.3109C20.6543 48.3109 20.9473 48.2021 21.167 47.9482L21.5698 48.2383C21.2402 48.6373 20.874 48.8187 20.4346 48.8187C19.519 48.8187 19.0063 48.1295 19.0063 47.4041C19.0063 46.6788 19.519 45.9534 20.4346 45.9534C20.8374 45.9534 21.2036 46.0984 21.5332 46.4611L21.1304 46.7876Z" fill="#1F212C"></path>
148<path d="M44.2014 46.0259V47.114L45.1536 46.0259H45.8127L44.7873 47.259L45.8494 48.7824H45.1536L44.3479 47.6217L44.2014 47.7668V48.7824H43.6155V46.0259H44.2014Z" fill="#1F212C"></path>
149<path d="M47.6804 48.0207H46.7283L46.5085 48.7461H45.886L46.8381 45.9534H47.5705L48.5227 48.7461H47.9001L47.6804 48.0207ZM47.2043 46.3886L47.1311 46.8238L46.9114 47.4767H47.5339L47.3142 46.8238L47.2043 46.3886Z" fill="#1F212C"></path>
150<path d="M49.365 48.7824H48.7791V46.0259H49.658C50.3171 46.0259 50.6467 46.4974 50.6467 46.9689C50.6467 47.4404 50.3171 47.8756 49.658 47.8756H49.3284V48.7824H49.365ZM50.0974 46.9326C50.0974 46.7513 49.9509 46.4974 49.6946 46.4974H49.365V47.3679H49.6946C49.9509 47.3679 50.0974 47.114 50.0974 46.9326Z" fill="#1F212C"></path>
151<path d="M53.2468 45.9897V48.7825H52.6609V47.2954L52.7707 46.5338H52.7341L52.5144 47.1141L51.7087 48.7825H50.9763V45.9897H51.5256V47.4768L51.4158 48.2022H51.4524L51.6721 47.6581L52.5144 45.9897H53.2468Z" fill="#1F212C"></path>
152<path d="M55.2244 47.6581H54.3455V48.7825H53.7961V45.9897H54.3455V47.1504H55.2244V45.9897H55.8103V48.7825H55.2244V47.6581Z" fill="#1F212C"></path>
153<path d="M59.0693 47.4042C59.0693 48.2746 58.4102 48.8187 57.6411 48.8187C56.8721 48.8187 56.2129 48.2746 56.2129 47.4042C56.2129 46.5337 56.8721 45.9896 57.6411 45.9896C58.4102 45.9534 59.0693 46.5337 59.0693 47.4042ZM57.6045 48.3109C58.0439 48.3109 58.4468 48.0207 58.4468 47.4042C58.4468 46.7876 58.0073 46.4974 57.6045 46.4974C57.2017 46.4974 56.7622 46.7876 56.7622 47.4042C56.7622 48.0207 57.2017 48.3109 57.6045 48.3109Z" fill="#1F212C"></path>
154<path d="M61.7429 46.0258V48.7823H61.157V47.2952L61.2668 46.5698H61.2302L61.0105 47.1501L60.2048 48.7823H59.4724V46.0258H60.0583V47.5128L59.9485 48.2382H59.9851L60.2048 47.6942L61.0471 46.0621H61.7429V46.0258ZM60.0583 45.3367C60.0583 46.0258 61.157 46.0258 61.1936 45.3367H60.8274C60.7908 45.5906 60.4978 45.5906 60.4612 45.3367H60.0583Z" fill="#1F212C"></path>
155<path d="M84.5942 46.0259V47.114L85.5464 46.0259H86.2422L85.1802 47.259L86.2422 48.7824H85.583L84.7407 47.6217L84.5942 47.7668V48.7824H84.0083V46.0259H84.5942Z" fill="#1F212C"></path>
156<path d="M88.769 45.9897V48.7825H88.1831V47.2954L88.293 46.5338H88.2563L88.0366 47.1141L87.231 48.7825H86.4985V45.9897H87.0478V47.4768L86.938 48.2022H86.9746L87.1943 47.6581L88.0366 45.9897H88.769Z" fill="#1F212C"></path>
157<path d="M90.7466 47.6581H89.8677V48.7825H89.3184V45.9897H89.8677V47.1504H90.7466V45.9897H91.3325V48.7825H90.7466V47.6581Z" fill="#1F212C"></path>
158<path d="M94.5552 47.4042C94.5552 48.2746 93.896 48.8187 93.1269 48.8187C92.3579 48.8187 91.6987 48.2746 91.6987 47.4042C91.6987 46.5337 92.3579 45.9896 93.1269 45.9896C93.9326 45.9534 94.5552 46.5337 94.5552 47.4042ZM93.1269 48.3109C93.5664 48.3109 93.9692 48.0207 93.9692 47.4042C93.9692 46.7876 93.5298 46.4974 93.1269 46.4974C92.7241 46.4974 92.2847 46.7876 92.2847 47.4042C92.2847 48.0207 92.7241 48.3109 93.1269 48.3109Z" fill="#1F212C"></path>
159<path d="M5.49311 44.8654C5.23677 44.6115 4.90718 44.5027 4.50435 44.5027C4.24801 44.5027 3.99166 44.539 3.77193 44.684C3.40573 44.9379 3.25924 45.3731 3.186 45.5545C3.07614 45.3731 2.96627 44.9379 2.60006 44.684C2.41696 44.539 2.12399 44.5027 1.86765 44.5027C1.50144 44.5027 1.13523 44.6478 0.878884 44.8654C0.622538 45.1193 0.366194 45.5545 0.62254 46.2799C1.13523 47.8032 3.11276 48.8913 3.186 48.8913C3.25924 48.855 5.23677 47.8032 5.74946 46.2799C6.0058 45.5545 5.71284 45.083 5.49311 44.8654Z" fill="#A56429"></path>
160<path d="M3.18611 48.9999H3.14949C3.003 48.9637 1.02548 47.8393 0.512788 46.2797C0.256442 45.4818 0.586031 44.974 0.805756 44.7564C1.0621 44.5025 1.46493 44.3212 1.86776 44.3212C2.08748 44.3212 2.41708 44.3574 2.67342 44.5388C2.92977 44.7564 3.07625 45.0103 3.18611 45.1916C3.29597 44.974 3.44246 44.7201 3.6988 44.5025C3.88191 44.3575 4.17488 44.2849 4.50446 44.2849C4.90729 44.2849 5.31012 44.43 5.56647 44.7201C5.78619 44.9378 6.1524 45.4455 5.85943 46.2435C5.34674 47.803 3.36922 48.8911 3.22273 48.9637C3.22273 48.9999 3.22273 48.9999 3.18611 48.9999ZM1.9
1600438 44.6113C1.57479 44.6113 1.24521 44.7201 1.02548 44.9378C0.842379 45.1191 0.54941 45.5181 0.805756 46.2072C1.28183 47.5854 2.92977 48.5647 3.22273 48.7098C3.5157 48.5647 5.20026 47.5854 5.63971 46.2072C5.85943 45.5543 5.60309 45.1191 5.41999 44.9378C5.20026 44.7201 4.87067 44.6113 4.54108 44.6113C4.24811 44.6113 4.06501 44.6476 3.88191 44.7564C3.62556 44.9378 3.47908 45.2279 3.40584 45.4455C3.36922 45.5181 3.36921 45.5543 3.33259 45.5906C3.29597 45.6632 3.14949 45.6632 3.11287 45.5906C3.07625 45.5543 3.07625 45.4818 3.03963 45.4455C2.92977 45.2279 2.8199 44.974 2.56356 44.7564C2.34383 44.6113 2.08749 44.6113 1.90438 44.6113Z" fill="#A56429"></path>
161<path d="M113.488 44.8654C113.232 44.6115 112.902 44.5027 112.499 44.5027C112.243 44.5027 111.987 44.539 111.767 44.684C111.401 44.9379 111.254 45.3731 111.181 45.5545C111.071 45.3731 110.961 44.9379 110.595 44.684C110.412 44.539 110.119 44.5027 109.863 44.5027C109.496 44.5027 109.13 44.6478 108.874 44.8654C108.617 45.1193 108.361 45.5545 108.617 46.2799C109.13 47.8032 111.108 48.8913 111.181 48.8913C111.254 48.855 113.232 47.8032 113.744 46.2799C114.001 45.5545 113.744 45.083 113.488 44.8654Z" fill="#A56429"></path>
162<path d="M111.218 48.9999H111.181C111.034 48.9637 109.057 47.8393 108.544 46.2797C108.288 45.4818 108.618 44.974 108.837 44.7564C109.094 44.5025 109.496 44.3212 109.899 44.3212C110.119 44.3212 110.449 44.3574 110.705 44.5388C110.961 44.7564 111.108 45.0103 111.218 45.1916C111.327 44.974 111.474 44.7201 111.73 44.5025C111.913 44.3575 112.206 44.2849 112.536 44.2849C112.939 44.2849 113.342 44.43 113.598 44.7201C113.818 44.9378 114.184 45.4455 113.891 46.2435C113.378 47.803 111.401 48.8911 111.254 48.9637C111.254 48.9999 111.218 48.9999 111.218 48.9999ZM109.899 44.6113C109.57 44.6113 109.24 44.7201 109.02 44.9378C108.837 45.1191 108.544 45.5181 108.801 46.2072C109.277 47.5854 110.925 48.5647 111.218 48.7098C111.511 48.5647 113.195 47.5854 113.635 46.2072C113.854 45.5543 113.598 45.1191 113.415 44.9378C113.195 44.7201 112.866 44.6113 112.536 44.6113C112.243 44.6113 112.06 44.6476 111.877 44.7564C111.62 44.9378 111.474 45.2279 111.401 45.4455C111.364 45.5181 111.364 45.5543 111.327 45.5906C111.291 45.6632 111.144 45.6632 111.108 45.5906C111.071 45.5543 111.071 45.4818 111.034 45.4455C110.925 45.2279 110.815 44.974 110.558 44.7564C110.375 44.6113 110.082 44.6113 109.899 44.6113Z" fill="#A56429"></path>
163</svg>
164</a>
165</div>
166</div>
167<div class="menu-block-right-side menu-mobile-toggle">
168<div class="menu-mobile-scroll-block">
169<div class="menu-mobile-toggle-header menu-mobile">
170<div class="menu-logo">
171<a href="/">
172<svg width="75" height="32" viewBox="0 0 75 32" fill="none" xmlns="http://www.w3.org/2000/svg">
173<path d="M0 12.7431V10.1377H1.31921L4.05356 0H9.18648L11.9208 10.1377H13.24V12.7431H0ZM3.93363 10.1614H9.33039L6.644 0.118431L3.93363 10.1614Z" fill="#A56429"></path>
174<path d="M14.7751 3.9082C15.1109 3.12656 15.5666 2.46335 16.1662 1.89488C16.7419 1.32641 17.4375 0.876373 18.205 0.544767C18.9965 0.213161 19.836 0.0473633 20.7235 0.0473633C21.6109 0.0473633 22.4504 0.213161 23.242 0.544767C24.0335 0.876373 24.7051 1.32641 25.2807 1.89488C25.8564 2.46335 26.3121 3.12656 26.6479 3.9082C26.9837 4.68985 27.1516 5.51886 27.1516 6.39525C27.1516 7.27164 26.9837 8.10065 26.6479 8.8823C26.3121 9.66394 25.8564 10.3272 25.2807 10.8956C24.7051 11.4641 24.0335 11.9378 23.242 12.2694C22.4504 12.601 21.6109 12.7668 20.7235 12.7668C19.836 12.7668 18.9965 12.601 18.205 12.2694C17.4135 11.9378 16.7419 11.4878 16.1662 10.8956C15.5906 10.3272 15.1109 9.64025 14.7751 8.8823C14.4393 8.10065 14.2714 7.27164 14.2714 6.39525C14.2714 5.49518 14.4393 4.66616 14.7751 3.9082ZM17.1256 8.07697C17.3175 8.50332 17.5574 8.88229 17.8692 9.19021C18.181 9.49813 18.5648 9.75868 18.9965 9.92449C19.4283 10.114 19.884 10.185 20.3877 10.185C20.9633 10.185 21.491 10.0666 21.9947 9.85343C22.4984 9.64025 22.9302 9.33233 23.3139 8.95335C23.6977 8.57437 23.9855 8.12434 24.2014 7.65061C24.4173 7.1532 24.5132 6.63211 24.5132 6.06365C24.5132 5.58992 24.4412 5.13988 24.2733 4.71353C24.1054 4.28718 23.8896 3.90821 23.6018 3.60029C23.3139 3.29237 22.9541 3.03182 22.5224 2.86601C22.0907 2.67653 21.6349 2.60547 21.1073 2.60547C20.5316 2.60547 20.0039 2.72389 19.4762 2.93707C18.9725 3.15025 18.5168 3.45817 18.133 3.83715C17.7493 4.21613 17.4375 4.66616 17.1976 5.13989C16.9577 5.6373 16.8378 6.15839 16.8378 6.72685C16.8618 7.20058 16.9577 7.65062 17.1256 8.07697Z" fill="#A56429"></path>
175<path d="M28.207 12.7431L31.613 0H38.6408V2.58179H33.5078L33.1481 3.88453C33.292 3.86084 33.4599 3.81347 33.6278 3.81347C33.7957 3.78979 33.9396 3.78978 34.1075 3.78978C34.7311 3.78978 35.3307 3.90822 35.8824 4.14508C36.4341 4.38194 36.9138 4.71355 37.3216 5.11621C37.7293 5.51888 38.0651 5.9926 38.281 6.53738C38.5208 7.08216 38.6408 7.65063 38.6408 8.26647C38.6408 8.88231 38.5208 9.45078 38.281 9.99556C38.0411 10.5403 37.7293 11.0141 37.3216 11.4167C36.9138 11.8194 36.4341 12.151 35.8824 12.3879C35.3307 12.6247 34.7311 12.7431 34.1075 12.7431C33.5318 12.7431 32.9802 12.6484 32.4525 12.4352C31.9248 12.2221 31.4931 11.9615 31.0853 11.6062L30.7975 12.7431H28.207ZM32.7163 9.68764C33.0281 10.0192 33.4119 10.185 33.8916 10.185C34.1555 10.185 34.4193 10.114 34.6831 9.99556C34.923 9.87713 35.1629 9.71133 35.3547 9.52184C35.5466 9.33235 35.7145 9.09548 35.8105 8.83493C35.9304 8.57439 35.9784 8.31384 35.9784 8.0296C35.9784 7.57957 35.8344 7.1769 35.5466 6.8453C35.2588 6.51369 34.851 6.34789 34.3713 6.34789C34.1075 6.34789 33.8197 6.41895 33.5798 6.53738C33.316 6.65581 33.1001 6.79793 32.9082 6.98742C32.7163 7.17691 32.5484 7.39008 32.4525 7.65063C32.3326 7.91117 32.2846 8.17173 32.2846 8.45596C32.2366 8.95337 32.4045 9.35603 32.7163 9.68764Z" fill="#A56429"></path>
176<path d="M42.5265 12.7431H39.9121L43.3181 0H45.9085L45.8605 0.236862C46.3642 0.0947446 46.8919 0.0236876 47.3716 0.0236876C48.0912 0.0236876 48.7868 0.1658 49.4104 0.426348C50.058 0.686896 50.6097 1.06588 51.0894 1.5396C51.5691 2.01332 51.9529 2.5581 52.2167 3.19763C52.4806 3.83716 52.6245 4.52406 52.6245 5.25833C52.6245 5.96891 52.4806 6.65581 52.2167 7.27165C51.9529 7.91118 51.5691 8.45596 51.0894 8.92968C50.6097 9.40341 50.034 9.78238 49.4104 10.0429C48.7628 10.3035 48.0912 10.4456 47.3716 10.4456C46.6041 10.4456 45.9085 10.3035 45.2609 9.99556C44.6133 9.68764 44.0376 9.30866 43.5579 8.81125L42.5265 12.7431ZM46.4842 2.84234C46.1484 2.98446 45.8365 3.19763 45.5727 3.45818C45.3089 3.71873 45.117 4.0029
1766 44.9731 4.35825C44.8291 4.68986 44.7572 5.06884 44.7572 5.44782C44.7572 6.1584 44.9731 6.75055 45.4288 7.20059C45.8845 7.65063 46.4602 7.88749 47.1558 7.88749C47.5395 7.88749 47.9233 7.81643 48.2831 7.65063C48.6429 7.50851 48.9307 7.29534 49.1945 7.03479C49.4584 6.77424 49.6503 6.49001 49.8182 6.13471C49.9621 5.77942 50.058 5.42413 50.058 5.02147C50.058 4.35826 49.8421 3.78978 49.4104 3.31606C48.9787 2.84234 48.379 2.60548 47.6355 2.60548C47.2037 2.62916 46.82 2.70022 46.4842 2.84234Z" fill="#A56429"></path>
177<path d="M52.8882 12.7431L56.3181 0H61.451L64.857 12.7431H62.2665L61.2112 8.88231H56.51L55.4786 12.7431H52.8882ZM58.9086 0.142118L57.2296 6.27683H60.5636L58.9086 0.142118Z" fill="#A56429"></path>
178<path d="M74.4513 12.7431H71.8368V8.5507C71.2132 8.83493 70.5656 8.97705 69.894 8.97705C69.7261 8.97705 69.5822 8.97704 69.5102 8.95336L68.5028 12.7431H65.8884L67.1357 8.05329C66.584 7.65062 66.1522 7.12953 65.8404 6.51369C65.5286 5.89785 65.3607 5.21095 65.3607 4.50036C65.3607 3.88452 65.4806 3.31606 65.7205 2.77128C65.9604 2.2265 66.2962 1.75277 66.7039 1.35011C67.1117 0.947443 67.5914 0.615836 68.143 0.378974C68.6947 0.142112 69.2704 0.0236816 69.894 0.0236816C70.5656 0.0236816 71.2132 0.165796 71.8368 0.45003V0.0236816H74.4513V12.7431ZM70.4936 6.25314C70.7335 6.15839 70.9494 6.01628 71.1412 5.82679C71.3331 5.6373 71.477 5.44781 71.597 5.21095C71.7169 4.97409 71.7889 4.71354 71.8128 4.45299V4.31088C71.8128 3.83715 71.6449 3.43449 71.3331 3.10288C71.0213 2.77128 70.5896 2.60547 70.0859 2.60547C69.4862 2.60547 68.9825 2.81865 68.5988 3.22131C68.215 3.62398 67.9991 4.0977 67.9991 4.64248C67.9991 5.13989 68.167 5.56624 68.4788 5.92153C68.8146 6.25314 69.2224 6.41894 69.7261 6.41894C69.9899 6.41894 70.2538 6.37157 70.4936 6.25314Z" fill="#A56429"></path>
179<path d="M11.4411 24.4915V15.1592H14.5592V24.4678H16.2382V15.1592H19.3563V27.5707H6.62V15.1355H9.73812V24.4678H11.4411V24.4915ZM7.00377 27.2154H19.0205V15.5145H16.598V24.8231H14.1994V15.5145H11.7769V24.8231H9.40232V15.4908H7.00377V27.2154Z" fill="#1F212C"></path>
180<path d="M28.0392 27.547L26.4801 21.7439H24.8731V27.5707H21.7789V15.1592H24.8731V18.4042L25.7605 15.1592H28.8787L27.2956 21.0333H29.4303L31.1813 27.547H28.0392ZM24.5133 21.3886H26.7679L28.327 27.1917H30.7016L29.1425 21.3886H26.8399L28.399 15.5145H26.0244L24.5133 21.1044V15.5145H22.1147V27.2154H24.5133V21.3886Z" fill="#1F212C"></path>
181<path d="M31.637 18.949C31.9728 18.191 32.4285 17.5515 32.9802 16.983C33.5558 16.4145 34.2035 15.9882 34.971 15.6566C35.7385 15.3487 36.554 15.1829 37.4175 15.1829C38.281 15.1829 39.0965 15.3487 39.8641 15.6566C40.6316 15.9882 41.2792 16.4145 41.8549 16.983C42.4305 17.5515 42.8622 18.191 43.198 18.949C43.5338 19.7069 43.6778 20.5122 43.6778 21.3649C43.6778 22.2177 43.5099 23.023 43.198 23.7809C42.8622 24.5389 42.4305 25.1784 41.8549 25.7469C41.2792 26.3154 40.6316 26.7417 39.8641 27.0733C39.0965 27.4049 38.281 27.5707 37.4175 27.5707C36.554 27.5707 35.7385 27.4049 34.971 27.0733C34.2035 26.7417 33.5558 26.2917 32.9802 25.7469C32.4045 25.1784 31.9728 24.5389 31.637 23.7809C31.3012 23.023 31.1333 22.2177 31.1333 21.3649C31.1573 20.5122 31.3252 19.7069 31.637 18.949ZM39.7441 26.7654C40.4637 26.4575 41.0873 26.0548 41.615 25.51C42.1427 24.9889 42.5744 24.3494 42.8622 23.6388C43.1741 22.9282 43.318 22.1703 43.318 21.3649C43.318 20.5596 43.1741 19.8017 42.8622 19.0911C42.5504 18.3805 42.1427 17.7646 41.615 17.2436C41.0873 16.7225 40.4637 16.2961 39.7441 16.0119C39.0246 15.704 38.257 15.5618 37.4415 15.5618C36.626 15.5618 35.8585 15.704 35.1389 16.0119C34.4193 16.3198 33.7957 16.7225 33.244 17.2436C32.7163 17.7646 32.2846 18.3805 31.9728 19.0911C31.661 19.8017 31.5171 20.5596 31.5171 21.3649C31.5171 22.1703 31.661 22.9282 31.9728 23.6388C32.2846 24.3494 32.6924 24.9652 33.244 25.51C33.7717 26.0311 34.4193 26.4575 35.1389 26.7654C35.8585 27.0733 36.626 27.2154 37.4415 27.2154C38.257 27.2154 39.0246 27.0733 39.7441 26.7654ZM34.2035 20.228C34.4193 19.778 34.7072 19.3753 35.0669 19.02C35.4267 18.6647 35.8345 18.3805 36.3142 18.191C36.7939 17.9778 37.2736 17.8831 37.8013 17.8831C38.281 17.8831 38.7127 17.9541 39.0965 18.1199C39.4803 18.2857 39.8161 18.4989 40.0799 18.8068C40.3438 19.0911 40.5596 19.4464 40.7035 19.8253C40.8475 20.2043 40.9194 20.6307 40.9194 21.057C40.9194 21.5781 40.8235 22.0518 40.6316 22.5019C40.4397 22.9519 40.1519 23.3546 39.8161 23.7099C39.4803 24.0652 39.0725 24.3494 38.6168 24.5389C38.1611 24.7521 37.6574 24.8468 37.1537 24.8468C36.698 24.8468 36.2662 24.7758 35.8824 24.6099C35.4987 24.4441 35.1389 24.231 34.8511 23.9231C34.5632 23.6388 34.3234 23.2835 34.1555 22.9046C33.9876 22.5256 33.9156 22.0992 33.9156 21.6729C33.8677 21.1518 33.9876 20.678 34.2035 20.228ZM34.4433 22.7861C34.5872 23.1414 34.8031 23.4256 35.0669 23.6862C35.3308 23.9467 35.6426 24.1362 35.9784 24.2783C36.3142 24.4205 36.698 24.4915 37.1057 24.4915C37.5854 24.4915 38.0172 24.3968 38.4249 24.2073C38.8327 24.0178 39.1925 23.7809 39.5043 23.4493C39.8161 23.1414 40.0799 22.7861 40.2478 22.3598C40.4397 21.9571 40.5117 21.5071 40.5117 21.0333C40.5117 20.228 40.2478 19.5411 39.7441 19.02C39.2404 18.4752 38.5688 18.2147 37.7293 18.2147C37.2496 18.2147 36.7939 18.3094 36.3861 18.4989C35.9544 18.6884 35.5706 18.9253 35.2588 19.2569C34.923 19.5648 34.6592 19.9438 34.4673 20.3464C34.2754 20.7491 34.1795 21.1991 34.1795 21.6729C34.2274 22.0755 34.2994 22.4545 34.4433 22.7861Z" fill="#1F212C"></path>
182<path d="M46.9158 15.1592H52.1687L55.4787 27.5707H52.3606L49.5303 17.0067L46.676 27.5707H43.5
182579L46.9158 15.1592ZM46.4121 27.2154L49.5303 15.6329L52.6244 27.2154H54.999L51.8809 15.5145H47.1797L44.0376 27.2154H46.4121Z" fill="#1F212C"></path>
183<path d="M59.5562 15.1592H64.8091L68.1191 27.5707H65.0009L64.0415 24.0178H60.2758L59.2924 27.5707H56.1982L59.5562 15.1592ZM60.0119 23.6625H64.3294L65.3128 27.2154H67.6873L64.5692 15.5145H59.844L56.7019 27.2154H59.1005L60.0119 23.6625ZM63.7057 21.2702H60.6596L62.1946 15.6329L63.7057 21.2702ZM62.1946 16.983L61.1393 20.9149H63.25L62.1946 16.983Z" fill="#1F212C"></path>
184<path d="M13.8398 30.555C13.6959 30.4129 13.528 30.3419 13.3601 30.3419C13.0003 30.3419 12.8084 30.6261 12.8084 30.9577C12.8084 31.2656 13.0003 31.5499 13.3601 31.5499C13.528 31.5499 13.7198 31.4788 13.8638 31.313L14.1276 31.5025C13.9117 31.763 13.6719 31.8815 13.384 31.8815C12.7844 31.8815 12.4486 31.4314 12.4486 30.9577C12.4486 30.484 12.7844 30.0103 13.384 30.0103C13.6479 30.0103 13.8877 30.105 14.1036 30.3419L13.8398 30.555Z" fill="#1F212C"></path>
185<path d="M28.9507 30.0576V30.7682L29.5743 30.0576H30.006L29.3344 30.8629L30.03 31.8578H29.5743L29.0466 31.0998L28.9507 31.1946V31.8578H28.5669V30.0576H28.9507Z" fill="#1F212C"></path>
186<path d="M31.2292 31.3604H30.6056L30.4617 31.8341H30.054L30.6776 30.0103H31.1573L31.7809 31.8341H31.3732L31.2292 31.3604ZM30.9174 30.2945L30.8695 30.5787L30.7255 31.0051H31.1333L30.9894 30.5787L30.9174 30.2945Z" fill="#1F212C"></path>
187<path d="M32.3326 31.8578H31.9489V30.0576H32.5245C32.9562 30.0576 33.1721 30.3655 33.1721 30.6735C33.1721 30.9814 32.9562 31.2656 32.5245 31.2656H32.3086V31.8578H32.3326ZM32.8123 30.6498C32.8123 30.5313 32.7164 30.3655 32.5485 30.3655H32.3326V30.934H32.5485C32.7164 30.934 32.8123 30.7682 32.8123 30.6498Z" fill="#1F212C"></path>
188<path d="M34.875 30.0339V31.8578H34.4913V30.8866L34.5632 30.3892H34.5392L34.3953 30.7682L33.8677 31.8578H33.3879V30.0339H33.7477V31.0051L33.6758 31.4788H33.6997L33.8437 31.1235L34.3953 30.0339H34.875Z" fill="#1F212C"></path>
189<path d="M36.1703 31.1235H35.5946V31.8578H35.2349V30.0339H35.5946V30.7919H36.1703V30.0339H36.5541V31.8578H36.1703V31.1235Z" fill="#1F212C"></path>
190<path d="M38.6888 30.9578C38.6888 31.5262 38.257 31.8815 37.7533 31.8815C37.2496 31.8815 36.8179 31.5262 36.8179 30.9578C36.8179 30.3893 37.2496 30.034 37.7533 30.034C38.257 30.0103 38.6888 30.3893 38.6888 30.9578ZM37.7293 31.5499C38.0172 31.5499 38.281 31.3604 38.281 30.9578C38.281 30.5551 37.9932 30.3656 37.7293 30.3656C37.4655 30.3656 37.1777 30.5551 37.1777 30.9578C37.1777 31.3604 37.4655 31.5499 37.7293 31.5499Z" fill="#1F212C"></path>
191<path d="M40.4397 30.0577V31.8579H40.056V30.8867L40.1279 30.413H40.1039L39.96 30.792L39.4323 31.8579H38.9526V30.0577H39.3364V31.0288L39.2644 31.5026H39.2884L39.4323 31.1473L39.984 30.0814H40.4397V30.0577ZM39.3364 29.6077C39.3364 30.0577 40.056 30.0577 40.08 29.6077H39.8401C39.8161 29.7735 39.6242 29.7735 39.6002 29.6077H39.3364Z" fill="#1F212C"></path>
192<path d="M55.4068 30.0576V30.7682L56.0305 30.0576H56.4862L55.7906 30.8629L56.4862 31.8578H56.0544L55.5028 31.0998L55.4068 31.1946V31.8578H55.0231V30.0576H55.4068Z" fill="#1F212C"></path>
193<path d="M58.141 30.0339V31.8578H57.7573V30.8866L57.8292 30.3892H57.8052L57.6613 30.7682L57.1336 31.8578H56.6539V30.0339H57.0137V31.0051L56.9418 31.4788H56.9657L57.1097 31.1235L57.6613 30.0339H58.141Z" fill="#1F212C"></path>
194<path d="M59.4364 31.1235H58.8608V31.8578H58.501V30.0339H58.8608V30.7919H59.4364V30.0339H59.8202V31.8578H59.4364V31.1235Z" fill="#1F212C"></path>
195<path d="M61.9308 30.9578C61.9308 31.5262 61.4991 31.8815 60.9954 31.8815C60.4917 31.8815 60.0599 31.5262 60.0599 30.9578C60.0599 30.3893 60.4917 30.034 60.9954 30.034C61.5231 30.0103 61.9308 30.3893 61.9308 30.9578ZM60.9954 31.5499C61.2832 31.5499 61.547 31.3604 61.547 30.9578C61.547 30.5551 61.2592 30.3656 60.9954 30.3656C60.7315 30.3656 60.4437 30.5551 60.4437 30.9578C60.4437 31.3604 60.7315 31.5499 60.9954 31.5499Z" fill="#1F212C"></path>
196<path d="M3.59789 29.2998C3.42999 29.134 3.21412 29.063 2.95028 29.063C2.78238 29.063 2.61448 29.0867 2.47056 29.1814C2.23071 29.3472 2.13476 29.6315 2.08679 29.7499C2.01484 29.6315 1.94288 29.3472 1.70302 29.1814C1.58309 29.0867 1.39121 29.063 1.22331 29.063C0.983455 29.063 0.7436 29.1577 0.575701 29.2998C0.407802 29.4657 0.239904 29.7499 0.407803 30.2236C0.743601 31.2184 2.03882 31.929 2.08679 31.929C2.13476 31.9053 3.42999 31.2184 3.76578 30.2236C3.93368 29.7499 3.7418 29.442 3.59789 29.2998Z" fill="#A56429"></path>
197<path d="M2.08687 32.0001H2.06289C1.96694 31.9764 0.671723 31.2421 0.335925 30.2236C0.168026 29.7025 0.383897 29.3709 0.52781 29.2288C0.695709 29.063 0.959549 28.9446 1.22339 28.9446C1.3673 28.9446 1.58318 28.9683 1.75108 29.0867C1.91898 29.2288 2.01492 29.3946 2.08687 29.5131C2.15883 29.3709 2.25477 29.2051 2.42267 29.063C2.5426 28.9683 2.73449 28.9209 2.95036 28.9209C3.2142 28.9209 3.47804 29.0156 3.64594 29.2051C3.78985 29.3472 4.02971 29.6789 3.83782 30.1999C3.50202 31.2185 2.2068 31.929 2.11086 31.9764C2.11086 32.0001 2.11086 32.0001 2.08687 32.0001ZM1.24738 29.1341C1.03151 29.1341 0.815639 29.2051 0.671725 29.3472C0.551797 29.4657 0.359911 29.7262 0.52781 30.1763C0.839623 31.0763 1.91898 31.7159 2.11086 31.8106C2.30274 31.7159 3.40608 31.0763 3.69391 30.1763C3.83782 29.7499 3.66992 29.4657 3.55 29.3472C3.40608 29.2051 3.19021 29.1341 2.97434 29.1341C2.78245 29.1341 2.66253 29.1578 2.5426 29.2288C2.3747 29.3472 2.27876 29.5367 2.23079 29.6789C2.2068 29.7262 2.2068 29.7499 2.18281 29.7736C2.15883 29.821 2.06289 29.821 2.0389 29.7736C2.01492 29.7499 2.01492 29.7025 1.99093 29.6789C1.91898 29.5367 1.84702 29.3709 1.67912 29.2288C1.53521 29.1341 1.36731 29.1341 1.24738 29.1341Z" fill="#A56429"></path>
198<path d="M74.3313 29.2998C74.1634 29.134 73.9475 29.063 73.6837 29.063C73.5158 29.063 73.3479 29.0867 73.204 29.1814C72.9641 29.3472 72.8682 29.6315 72.8202 29.7499C72.7482 29.6315 72.6763 29.3472 72.4364 29.1814C72.3165 29.0867 72.1246 29.063 71.9567 29.063C71.7169 29.063 71.477 29.1577 71.3091 29.2998C71.1412 29.4657 70.9733 29.7499 71.1412 30.2236C71.477 31.2184 72.7722 31.929 72.8202 31.929C72.8682 31.9053 74.1634 31.2184 74.4992 30.2236C74.6671 29.7499 74.4992 29.442 74.3313 29.2998Z" fill="#A56429"></path>
199<path d="M72.8443 32.0001H72.8203C72.7244 31.9764 71.4292 31.2421 71.0934 30.2236C70.9255 29.7025 71.1413 29.3709 71.2853 29.2288C71.4532 29.063 71.717 28.9446 71.9808 28.9446C72.1247 28.9446 72.3406 28.9683 72.5085 29.0867C72.6764 29.2288 72.7724 29.3946 72.8443 29.5131C72.9163 29.3709 73.0122 29.2051 73.1801 29.063C73.3 28.9683 73.4919 28.9209 73.7078 28.9209C73.9716 28.9209 74.2355 29.0156 74.4034 29.2051C74.5473 29.3472 74.7871 29.6789 74.5953 30.1999C74.2595 31.2185 72.9642 31.929 72.8683 31.9764C72.8683 32.0001 72.8443 32.0001 72.8443 32.0001ZM71.9808 29.1341C71.765 29.1341 71.5491 29.2051 71.4052 29.3472C71.2853 29.4657 71.0934 29.7262 71.2613 30.1763C71.5731 31.0763 72.6524 31.7159 72.8443 31.8106C73.0362 31.7159 74.1395 31.0763 74.4274 30.1763C74.5713 29.7499 74.4034 29.4657 74.2835 29.3472C74.1395 29.2051 73.9237 29.1341 73.7078 29.1341C73.5159 29.1341 73.396 29.1578 73.2761 29.2288C73.1082 29.3472 73.0122 29.5367 72.9642 29.6789C72.9403 29.7262 72.9403 29.7499 72.9163 29.7736C72.8923 29.821 72.7963 29.821 72.7724 29.7736C72.7484 29.7499 72.7484 29.7025 72.7244 29.6789C72.6524 29.5367 72.5805 29.3709 72.4126 29.2288C72.2927 29.1341 72.1008 29.1341 71.9808 29.1341Z" fill="#A56429"></path>
200</svg>
201</a>
202</div>
203<div class="menu-close-btn">
204<svg width="17" height="17" viewBox="0 0 17 17" fill="none" xmlns="http://www.w3.org/2000/svg">
205<path d="M0.313073 15.7053C0.11781 15.9005 0.11781 16.2171 0.313073 16.4124C0.508335 16.6076 0.824917 16.6076 1.02018 16.4124L0.313073 15.7053ZM16.079 1.35355C16.2743 1.15829 16.2743 0.841709 16.079 0.646447C15.8837 0.451184 15.5672 0.451184 15.3719 0.646447L16.079 1.35355ZM1.02018 0.646447C0.824917 0.451184 0.508335 0.451184 0.313073 0.646447C0.11781 0.841709 0.11781 1.15829 0.313073 1.35355L1.02018 0.646447ZM15.3719 16.4124C15.5672 16.6076 15.8837 16.6076 16.079 16.4124C16.2743 16.2171 16.2743 15.9005 16.079 15.7053L15.3719 16.4124ZM1.02018 16.4124L8.54959 8.88297L7.84248 8.17586L0.313073 15.7053L1.02018 16.4124ZM8.54959 8.88297L16.079 1.35355L15.3719 
2050.646447L7.84248 8.17586L8.54959 8.88297ZM0.313073 1.35355L7.84248 8.88297L8.54959 8.17586L1.02018 0.646447L0.313073 1.35355ZM7.84248 8.88297L15.3719 16.4124L16.079 15.7053L8.54959 8.17586L7.84248 8.88297Z" fill="#A56429"></path>
206</svg>
207</div>
208</div>
209<div class="menu-list">
210<ul>
211<li><a href="/free">Бесплатно</a></li>
212<li><a href="/blog">Блог</a></li>
213<li><a href="/about">О нас</a></li>
214<li><a href="/faq">FAQ</a></li>
215</ul>
216</div>
217<div class="menu-guests-btns">
218<a class="menu-registr-btn" href="/login?state=registration">Зарегистрироваться</a>
219<a class="menu-login-btn" href="/login">Войти</a>
220</div>
221<div class="menu-logined-profile">
222<a href="/teach/control/stream"> 
223<p>Личный кабинет</p>
224<div class="menu-logined-profile-avatar">
225<img src="${avatarLeftMenuLink}">
226</div>
227</a>
228<div class="menu-logined-profile-submenu"> 
229<div class="menu-logined-profile-submenu-btn">
230<svg width="14" height="9" viewBox="0 0 14 9" fill="none" xmlns="http://www.w3.org/2000/svg">
231<path d="M1 1L7 7L13 1" stroke="#A56429" stroke-width="2" stroke-linecap="round"></path>
232</svg>
233</div>
234<ul class="menu-logined-profile-submenu-list">
235<li><a href="/pl/user/profile/my">Мой профиль</a></li>
236<li><a href="/teach/control/stream">Мои курсы</a></li>
237<li><a href="/user/my/logout">Выход</a></li>
238</ul>
239</div>
240</div>
241<div class="menu-mobile-app-block menu-mobile">
242<p class="menu-mobile-app-title">Мобильное приложение</p>
243<div class="menu-mobile-app-icons">
244<a href="https://itunes.apple.com/app/id1438208045" target="_blank">
245<img src="https://fs.getcourse.ru/fileservice/file/download/a/11920/sc/27/h/8716f1907396b6ef3c54147e48255f9b.png" alt="App Store">
246</a>
247<a href="https://play.google.com/store/apps/details?id=com.chatium.app" target="_blank">
248<img src="https://fs.getcourse.ru/fileservice/file/download/a/11920/sc/274/h/2a05aea5e139f3bb972f2b2e0a18cd47.png" alt="Google Play">
249</a>
250</div>
251</div>
252</div>
253</div>
254<div class="menu-mobile-btn menu-mobile">
255<a style="color: #A56429;" href="/login">Войти</a>
256</div>
257<div class="menu-logined-profile menu-mobile">
258<div class="menu-logined-profile-avatar">
259<img src="${avatarLeftMenuLink}">
260</div>
261<div class="menu-logined-profile-submenu-btn">
262<svg width="14" height="9" viewBox="0 0 14 9" fill="none" xmlns="http://www.w3.org/2000/svg">
263<path d="M1 1L7 7L13 1" stroke="#A56429" stroke-width="2" stroke-linecap="round"></path>
264</svg>
265</div>
266<ul class="menu-logined-profile-submenu-list">
267<li><a href="/pl/user/profile/my">Мой профиль</a></li>
268<li><a href="/teach/control/stream">Мои курсы</a></li>
269<li><a href="/user/my/logout">Выход</a></li>
270</ul>
271</div>
272</div>
273</div>
274</div>
275`
276
277        $('.main-page-block, .lesson-page > .container').before(personalAreaMenu);
278        $('.xdget-myProfileSystemPage').parents('.gc-main-content').prepend(personalAreaMenu);
279        $('.full-window-talks .gc-main-content, .notifications-page .gc-main-content').prepend(personalAreaMenu);
280       
281        if ($('.gc-fade-wrapper').length === 0) {
282            $('body').append('<div class="gc-fade-wrapper menu-fade" style="display: none;"><div class="gc-fade"></div></div>');
283        }
284        
285    }, 200);
286
287
288    $('body').on('click', function(event) {
289        let target = event.target;
290        if (target.closest('.menu-mobile-burger-btn') && $(window).width() <= '1190') {
291            $('.menu-mobile-toggle').css('transform', 'translateX(0)');
292            $('.gc-fade-wrapper').show();
293            $('.menu-logined-profile.menu-mobile .menu-logined-profile-submenu-list').fadeOut(300);
294        } else if ((target.closest('.menu-close-btn') || target.closest('.gc-fade-wrapper')) && $(window).width() <= '1190') {
295            let widthHide = $('.menu-mobile-toggle').outerWidth();
296            $('.menu-mobile-toggle').css('transform', `translateX(-${widthHide + 100}px)`);
297            $('.gc-fade-wrapper').hide();
298            $('.menu-logined-profile.menu-mobile .menu-logined-profile-submenu-list').fadeOut(300);
299        } else if (target.closest('.menu-logined-profile.menu-mobile') && $(window).width() <= '1190') {
300            $('.menu-logined-profile.menu-mobile .menu-logined-profile-submenu-list').fadeToggle(300);
301        } else {
302            $('.menu-logined-profile.menu-mobile .menu-logined-profile-submenu-list').fadeOut(300);
303        }
304    });
305
306    $(window).on('resize', function() {
307        if ($(window).width() <= '1190') {
308            setTimeout(function() {
309                $('.menu-mobile-toggle').hide();
310                $('.gc-fade-wrapper').hide();
311                let widthHide = $('.menu-mobile-toggle').outerWidth();
312                $('.menu-mobile-toggle').css('transform', `translateX(-${widthHide + 100}px)`);
313                $('.menu-mobile-toggle').show();
314            });
315        } else {
316            setTimeout(function() {
317                $('.menu-mobile-toggle').css('transform', 'translateX(0)');
318            });
319        }
320    });
321
322});
323/* ------------- 
324content finish - Верхнее меню
325------------- */
326
327/* ------------- 
328content start - Для тренингов
329------------- */
330
331$(document).ready(function(){
332
333    $('.without-type-tranings tr').each(function(index, elem) {
334        let title = $(elem).find('.stream-title').text().toLowerCase();
335        if (title.indexOf(', курс с сопровождением') !== -1 || title.indexOf(', курс в записи') !== -1 || title.indexOf('бесплатные') !== -1) {
336            $(elem).remove();
337        }
338    });
339    $('.with-accompaniment-tranings tr').each(function(index, elem) {
340        let title = $(elem).find('.stream-title').text().toLowerCase();
341        if (title.indexOf(', курс с сопровождением') === -1) {
342            $(elem).remove();
343        } else {
344            $(elem).find('.stream-title').text(title.replace(', курс с сопровождением', '').trim());
345        }
346    });
347    $('.in-recording-tranings tr').each(function(index, elem) {
348        let title = $(elem).find('.stream-title').text().toLowerCase();
349        if (title.indexOf(', курс в записи') === -1) {
350            $(elem).remove();
351        } else {
352            $(elem).find('.stream-title').text(title.replace(', курс в записи', '').trim())
353        }
354    });
355
356    $('.free-lessons tr').each(function(index, elem) {
357        let title = $(elem).find('.stream-title').text().toLowerCase();
358        if (title.indexOf('бесплатные') === -1) {
359            $(elem).remove();
360        }
361    });
362
363    if ($('.with-accompaniment-tranings tr').length === 0) {
364        $('.with-accompaniment-tranings-title, .with-accompaniment-tranings').hide();
365    }
366    if ($('.in-recording-tranings tr').length === 0) {
367        $('.in-recording-tranings-title, .in-recording-tranings').hide();
368    }
369    if ($('.without-type-tranings tr').length === 0) {
370        $('.without-type-tranings').hide();
371    }
372    if ($('.xdget-training .xdget-lessonList li').length === 0) {
373        $('.xdget-training .xdget-lessonList').hide();
374    }
375
376
377    $('.common-list-traninghs tr').each(function(index, elem) {
378        let title = $(elem).find('.stream-title').text().toLowerCase();
379        if (title.indexOf(', курс в записи') !== -1) {
380            $(elem).find('.stream-title').text(title.replace(', курс в записи', '').trim());
381            $(elem).addClass('in-recording-tranings');
382            $(elem).show();
383        } else if (title.indexOf(', курс с сопровождением') !== -1) {
384            $(elem).find('.stream-title').text(title.replace(', курс с сопровождением', '').trim());
385            $(elem).addClass('with-accompaniment-tranings');
386            $(elem).show();
387        } else if (title.indexOf('бесплатные') !== -1) {
388            $(elem).addClass('free-lessons');
389            $('.common-list-traninghs tbody').append($(elem));
390        }
391    });
392
393    $('.xdget-trainingList tr .stream-title ~ div').each(function(index, elem) {
394        $(elem).after('<div class="traning-footer"><button class="go-to-lessons">
394Перейти к урокам</button></div>');
395        $(elem).parents('tr').find('.traning-footer').prepend($(elem).parents('tr').find('.stream-title ~ div ul'));
396        if (($(elem).parents('tr').hasClass('no-public') || $(elem).parents('tr').hasClass('noaccess-mode-show')) && $(elem).find('.start-date-check').length) {
397            console.log($(elem).find('.start-date-check'));
398            $(elem).parents('tr').find('.traning-footer').prepend(`<p class="start-date">${$(elem).find('.start-date-check').data('start')}</p>`);
399        }
400        if (($(elem).parents('.in-recording-tranings').length === 0 || $(elem).hasClass('in-recording-tranings')) &&
401            $(elem).find('.scale-id') && $(elem).find('.scale-id').data('id') && 
402            $(elem).find('b').length && !$(elem).parents('tr').hasClass('no-public')) {
403            let scaleId = $(elem).find('.scale-id').data('id');
404            if (window.accountUserId > 0) {
405                $.get(`/pl/user/scale/view-results?id=${scaleId}&userId=${window.accountUserId}`, function(data) {
406                    let lessonsDoneCount = +$(data).find('.scale-update .well .badge').text().replace(/[^0-9]/g,""),
407                        lessonsCount = +$(elem).find('b').text().replace(/[^0-9]/g,""),
408                        scaleLineWidth =  215 * lessonsDoneCount / lessonsCount;
409                    if (lessonsCount > lessonsDoneCount) {
410                        $(elem).parents('tr').find('.traning-footer').prepend(`
411<div class="scale-block">
412<p>Пройдено: ${lessonsDoneCount} из ${lessonsCount} уроков</p>
413<svg width="216" height="8" viewBox="0 0 216 8" fill="none" xmlns="http://www.w3.org/2000/svg">
414<rect class="scale-line" x="0.5" y="0.5" width="${scaleLineWidth}" height="7" rx="3.5" fill="#A56429"/>
415<rect x="0.5" y="0.5" width="215" height="7" rx="3.5" stroke="#BFB09D"/>
416</svg>
417</div>`); 
418                    } else {
419                        $(elem).parents('tr').find('.traning-footer').prepend(`
420<div class="scale-block">
421<p>Курс пройден!</p>
422<svg width="216" height="8" viewBox="0 0 216 8" fill="none" xmlns="http://www.w3.org/2000/svg">
423<rect class="scale-line" x="0.5" y="0.5" width="215" height="7" rx="3.5" fill="#A56429"/>
424<rect x="0.5" y="0.5" width="215" height="7" rx="3.5" stroke="#BFB09D"/>
425</svg>
426</div>`); 
427                    }
428                })
429                .fail(function(data, status) {
430                    console.log('error1--', data, status);
431                });
432            }
433        } else if ($(elem).parents('.in-recording-tranings').length) {
434            $.get($(elem).parents('a').attr('href'), function(data) {
435                let arrayParam = $(data).find('.xdget-lessonList > form ~ script').text().trim().replace('$(function () {', '').split(';'),
436                    wsUrl = arrayParam[0].trim().replace("var wsUrl = '", '').replace("'", ''),
437                    wsPayload = arrayParam[1].trim().replace("var wsPayload = '", '').replace("'", '');
438
439                let lessonsDoneCount,
440                    lessonsCount = $(data).find('.lesson-list li').length,
441                    scaleLineWidth;
442
443                $.ajax({
444                    url: wsUrl,
445                    method: 'POST',
446                    data: {json: wsPayload}
447                }).done(function (videoArray) {
448                    lessonsDoneCount = videoArray.length;
449                    scaleLineWidth =  215 * lessonsDoneCount / lessonsCount;
450                    if (lessonsCount > lessonsDoneCount) {
451                        $(elem).parents('tr').find('.traning-footer').prepend(`
452<div class="scale-block">
453<p>Пройдено: ${lessonsDoneCount} из ${lessonsCount} уроков</p>
454<svg width="216" height="8" viewBox="0 0 216 8" fill="none" xmlns="http://www.w3.org/2000/svg">
455<rect class="scale-line" x="0.5" y="0.5" width="${scaleLineWidth}" height="7" rx="3.5" fill="#A56429"/>
456<rect x="0.5" y="0.5" width="215" height="7" rx="3.5" stroke="#BFB09D"/>
457</svg>
458</div>`); 
459                    } else {
460                        $(elem).parents('tr').find('.traning-footer').prepend(`
461<div class="scale-block">
462<p>Курс пройден!</p>
463<svg width="216" height="8" viewBox="0 0 216 8" fill="none" xmlns="http://www.w3.org/2000/svg">
464<rect class="scale-line" x="0.5" y="0.5" width="215" height="7" rx="3.5" fill="#A56429"/>
465<rect x="0.5" y="0.5" width="215" height="7" rx="3.5" stroke="#BFB09D"/>
466</svg>
467</div>`); 
468                    }
469
470                }).fail(function (data, status) {
471                    console.log('error2--', data, status);
472                });
473
474            })
475            .fail(function(data, status) {
476                console.log('error3--', data, status);
477            });
478        }
479    });
480
481
482    setTimeout(function() {
483        $('.main-page-block, .gc-main-content > .container .page-header, .gc-main-content > .container .center-block').show();
484    }, 200);
485});
486/* ------------- 
487content finish - Для тренингов
488------------- */
489
490/* ------------- 
491content start - Замена слов
492------------- */
493
494$( document ).ready(function() {
495    setTimeout(function() {
496        $('.menu-item-teach').on('click', function() {
497            if($('.gc-account-leftbar > div').hasClass('gc-account-user-submenu-bar-teach')) {
498                $('.gc-account-user-submenu .menu-item-trainings a').html('Мои курсы');
499            }
500        });
501        if (!window.userInfo.isAdmin) {
502            $('.menu-item.menu-item-chatium a').attr('href', '/mobile-qr').attr('onClick', 'event.stopPropagation();');
503        }
504
505        if ($('.gc-main-content').hasClass('gc-user-user')) {
506            $('.menu-item-profile').on('click', function() {
507                $('.gc-account-user-submenu .menu-item-profile a.subitem-link').attr('href', '/pl/user/profile/my');
508            });
509            $('body').append('<style>.menu-item-change_password {display: none}</style>');
510        }
511    }, 500);
512
513    if($('.main-page-block .breadcrumbs:contains("Тренинги")').length) {
514        $('.main-page-block .breadcrumbs').html($('.main-page-block .breadcrumbs').html().replace('Тренинги', 'Мои курсы ').replaceAll(' → ', '<span class="breadcrumbs-separator">/</span>'));
515    }
516
517    let lessonNumber = $('.lesson-number').text().length ? $('.lesson-number').text() : $('.standard-page-content .lesson-navigation td').eq(1).find('span').text().trim().split(' ')[0];
518	if($('.standard-page-content .breadcrumb:contains("Список тренингов")').length) {
519        $('.standard-page-content .breadcrumb').append(`
520<span class="breadcrumbs-separator">/</span>
521<li>${$('h1').html()}</li>
522<span class="breadcrumbs-separator">/</span>
523<span class="breadcrumbs-page-title">Урок ${lessonNumber.length ? lessonNumber : ''}. ${$(document).prop('title')}</span>`);
524        $('.standard-page-content .breadcrumb').html($('.standard-page-content .breadcrumb').html().replace('Список тренингов', 'Мои курсы'));
525    }
526
527    $('.standard-page-content h2.lesson-title-value').before(`<p class="lesson-subtitle-value">Урок ${lessonNumber.length ? lessonNumber : ''}</p>`);
528
529    $('.main-page-block .breadcrumbs').append(`<span class="breadcrumbs-separator">/</span><span class="breadcrumbs-page-title">${$(document).prop('title')}</span>`);
530
531    $('.lt-lesson.lt-lesson-mission-block h3').eq(0).text('Домашнее задание');
532
533    $('textarea[name="LessonAnswer[answer_text]"]').attr('placeholder', 'Ваш ответ');
534    $('.user-answer .comment-form-wrapper .new-comment-textarea').attr('placeholder', 'Добавить комментарий к ответу');
535    $('.simple-answer .new-comment-textarea').attr('placeholder', 'Добавить комментарий к уроку');
536
537    let lessonAnswersTitle = $('.lesson-answers-title #answers a') && $('.lesson-answers-title #answers a').length > 0 ? $('.lesson-answers-title #answers a').attr('href') : '';
538    if (lessonAnswersTitle.indexOf('sort=desc') !== -1) {
539        $('.lesson-answers-title #answers a').html(`
540Сначала новые
541<svg width="8" height="7" viewBox="0 0 8 7" fill="none" xmlns="http://www.w3.org/2000/svg">
542<path d="M1.35355 3.14645C1.15829 2.95118 0.841709 2.95118 0.646447 3.14645C0.451184 3.34171 0.451184 3.65829 0.646447 3.85355L1.35355 3.14645ZM3.82843 6.32843L3.47487 6.68198C3.67014 6.87724 3.98672 6.87724 4.18198 6.68198L3.82843 6.32843ZM7.01041 3.85355C7.20567 3.65829 7.20567 3.34171 7.01041 3.14645C6.81515 2.95118 6.49856 2.95118 6.3033 3.14645L7.01041 3.85355ZM0.646447 3.85355L3.47487 6.68198L4.18198 5.97487L1.35355 3.14645L0.646447 3.85355ZM4.18198 6.68198L7.01041 3.85355L6.3033 3.14645L3.47487 5.97487L4.18198 6.68198Z" fill="#1F212C"/>
543</svg>
544`);
545    } else {
546        $('.lesson-answers-title #answers a').html(`
547Сначала старые
548<svg width="8" height="7" viewBox="0 0 8 7" fill="none" xmlns="http://www.w3.org/2000/svg">
549<path d="M6.3033 6.18168C6.49856 6.37694 6.81515 6.37694 7.01041 6.18168C7.20567 5.98642 7.20567 5.66983 7.01041 5.47457L6.3033 6.18168ZM3.82843 2.9997L4.18198 2.64614C3.98672 2.45088 3.67014 2.45088 3.47487 2.64614L3.82843 2.9997ZM0.646447 5.47457C0.451185 5.66983 0.451185 5.98642 0.646447 6.18168C0.841709 6.37694 1.15829 6.37694 1.35355 6.18168L0.646447 5.47457ZM7.01041 5.47457L4.18198 2.64614L3.47487 3.35325L6.3033 6.18168L7.01041 5.47457ZM3.47487 2.64614L0.646447 5.47457L1.35355 6.18168L4.18198 3.35325L3.47487 2.64614Z" fill="#1F212C"/>
550</svg>
551`);
552    }
553
554
555    $('.o-lt-lesson-mission-block').after($('.o-lt-lesson-comment-block'));
556
557
558});
559/* ------------- 
560content finish - Замена слов
561------------- */
562
563/* ------------- 
564content start - Внутри тренинга
565------------- */
566
567$(document).ready(function () {
568  if (location.href.indexOf('/teach/control/stream/view/id/') !== -1) {
569    let headerText = $('.page-header h1').text();
570
571    if (headerText.indexOf(', курс с сопровождением') !== -1) {
572      $('.page-header h1').text(headerText.replace(', курс с сопровождением', '').trim());
573      $('.page-header h1').addClass('with-accompaniment');
574
575    } else if (headerText.indexOf(', курс в записи') !== -1) {
576      $('.page-header h1').text(headerText.replace(', курс в записи', '').trim());
577      $('.page-header h1').addClass('in-recording');
578      $('.lesson-list').addClass('in-recording');
579      lessonsDoneCount = $('.lesson-list .lesson-list_watched').length;
580      lessonsCount = $('.lesson-list li').length;
581    }
582
583    setTimeout(function () {
584      let lessonsDoneCount = $('.xdget-trainingAchievements').length ? $('.xdget-trainingAchievements .badge').text().replace(/[^0-9]/g, "") : 0,
585        lessonsCount = $('.xdget-trainingAchievements').attr('max-score') ? $('.xdget-trainingAchievements').attr('max-score') : $('.lesson-list li').length ? $('.lesson-list li').length : 0;
586      if (headerText.indexOf('в записи') !== -1) {
587        lessonsDoneCount = $('.lesson-list .lesson-list_watched').length;
588        lessonsCount = $('.lesson-list li').length;
589        $('.xdget-trainingAchievements').hide();
590      }
591      if (lessonsDoneCount == 0) {
592        $('.xdget-trainingAchievements').hide();
593      } else {
594        $('.xdget-trainingAchievements').append($('.xdget-trainingAchievements .badge'));
595      }
596
597      $('.progrss-bar').append(`
598        <p>Пройдено: ${lessonsDoneCount} из ${lessonsCount} уроков</p>
599        <div class="progrss-bar-line-empty">
600        <div class="progrss-bar-line"></div>
601        </div>
602        `);
603      console.log($('.progrss-bar .progrss-bar-line-empty').outerWidth());
604      let scaleLineWidth = $('.progrss-bar .progrss-bar-line-empty').outerWidth() * lessonsDoneCount / lessonsCount;
605
606      $('.progrss-bar .progrss-bar-line').css('width', `${scaleLineWidth}px`);
607    }, 400);
608
609    $('.lesson-list li').each(function(i, lesson) {
610      if ($(lesson).find('.lesson-number').length) {
611        let lessonManualNum = $(lesson).find('.lesson-number').text();
612        $(lesson).addClass('manual-numeration');
613        $(lesson).find('.title').prepend(`<span class="lesson-manual-number">Урок ${lessonManualNum}</span>`);
614      }
615    })
616  }
617
618  if (location.href.indexOf('/pl/teach/control/lesson') !== -1) {
619    $('.gc-main-content').addClass('lesson-page');
620    let missionBlockLength = $('.o-lt-lesson-mission-block .lt-lesson-mission-block .lt-block-wrapper') && $('.o-lt-lesson-mission-block .lt-lesson-mission-block .lt-block-wrapper').length > 0 ? $('.o-lt-lesson-mission-block .lt-lesson-mission-block .lt-block-wrapper').html().trim().length : 0;
621    if (missionBlockLength === 0) {
622      $('.o-lt-lesson-mission-block').hide();
623      $('.lt-lesson-comment-block').css('margin-top', '0');
624    }
625  }
626
627
628});
629
630
631$(window).on('load resize', function () {
632  if (location.href.indexOf('/teach/control/stream/view/id/') !== -1 && $(window).width() <= '991') {
633    $('.xdget-training').prepend($('.progress-bar-wrapper'));
634    $('.xdget-training').prepend($('.traning-group-wrapper'));
635  } else if (location.href.indexOf('/teach/control/stream/view/id/') !== -1 && $(window).width() > '991') {
636    $('.xdget-training .training-side-wrapper').prepend($('.progress-bar-wrapper'));
637    $('.xdget-training .training-side-wrapper').append($('.traning-group-wrapper'));
638  }
639});
640
641/* ------------- 
642content finish - Внутри тренинга
643------------- */
644
645/* ------------- 
646content start - Таймер для вебинара
647------------- */
648
649$(document).ready(function(){
650    const addZero = function(num) {
651        if (num <= 9) {
652            return '0' + num;
653        } else {
654            return num;
655        }
656    };
657    const getTime = function(endDay) {
658        const t = Date.parse(endDay) - Date.parse(new Date()),
659              seconds = Math.floor((t / 1000) % 60),
660              minutes = Math.floor((t / 1000 / 60) % 60),
661              hours = Math.floor((t / 1000 / 60 / 60) % 24),
662              days = Math.floor(t / 1000 / 60 / 60 / 24);
663        return {
664            'total': t,
665            'seconds': seconds,
666            'minutes': minutes,
667            'hours':  hours,
668            'days': days
669        }
670    };
671
672    $('.custom-timer').each(function(index, elem) {
673        const startDate = $(elem).parents('.start-course-timer').length ? $(elem).parents('.start-course-timer').data('start') : $(elem).data('webinar'),
674              now = new Date();
675        let timeInterval = setInterval(function() {
676            const t = getTime(startDate);
677            $(elem).find('.timer-days .custom-timer-unit').text(addZero(t.days));
678            switch(t.days < 10 || t.days > 19 ? t.days % 10 : 0) {
679                case 1:
680                    $(elem).find('.timer-days .custom-timer-text').text('день');
681                    break;
682                case 2:
683                case 3: 
684                case 4: 
685                    $(elem).find('.timer-days .custom-timer-text').text('дня');
686                    break;
687                default:
688                    $(elem).find('.timer-days .custom-timer-text').text('дней');
689            }
690
691            $(elem).find('.timer-hours .custom-timer-unit').text(addZero(t.hours));
692            switch(t.hours < 10 || t.hours > 19 ? t.hours % 10 : 0) {
693                case 1:
694                    $(elem).find('.timer-hours .custom-timer-text').text('час');
695                    break;
696                case 2:
697                case 3: 
698                case 4: 
699                    $(elem).find('.timer-hours .custom-timer-text').text('часа');
700                    break;
701                default:
702                    $(elem).find('.timer-hours .custom-timer-text').text('часов');
703            }
704
705            $(elem).find('.timer-minutes .custom-timer-unit').text(addZero(t.minutes));
706            switch(t.minutes < 10 || t.minutes > 19 ? t.minutes % 10 : 0) {
707                case 1:
708                    $(elem).find('.timer-minutes .custom-timer-text').text('минута');
709                    break;
710                case 2:
711                case 3: 
712                case 4: 
713                    $(elem).find('.timer-minutes .custom-timer-text').text('минуты');
714                    break;
715                default:
716                    $(elem).find('.timer-minutes .custom-timer-text').text('минут');
717            }
718
719            $(elem).find('.timer-seconds .custom-timer-unit').text(addZero(t.seconds));
720            switch(t.seconds < 10 || t.seconds > 19 ? t.seconds % 10 : 0) {
721                case 1:
722                    $(elem).find('.timer-seconds .custom-timer-text').text('секунда');
723                    break;
724                case 2:
725                case 3: 
726                case 4: 
727                    $(elem).find('.timer-seconds .custom-timer-text').text('секунды');
728                    break;
729                default:
730                    $(elem).find('.timer-seconds .custom-timer-text').text('секунд');
731            }
732
733            if (t.total <= 0 ) {
734                $(elem).find('.timer-days .custom-timer-unit').text('00');
735                $(elem).find('.timer-hours .custom-timer-unit').text('00');
736                $(elem).find('.timer-minutes .custom-timer-unit').text('00');
737                $(elem).find('.timer-seconds .custom-timer-unit').text('00');
738                $(elem).parents('.lt-block').find('.lesson-webinar-video').show();
739                $(elem).parents('.lt-block').find('.custom-timer-wrapper').hide();
740                $(elem).parents('.start-course-block').hide();
741                clearInterval(timeInterval);
742            } else {
743            	$(elem).parents('.start-course-block').css('display', 'block');
744            }
745        }, 1000);
746    });
747});
748/* ------------- 
749content finish - Таймер для вебинара
750------------- */
751
752/* ------------- 
753content start - Календарь
754------------- */
755
756$(document).ready(function() {
757    let mounthsArray = [
758        'Январь',
759        'Февраль',
760        'Март',
761        'Апрель',
762        'Май',
763        'Июнь',
764        'Июль',
765        'Август',
766        'Сентябрь',
767        'Октябрь',
768        'Ноябрь',
769        'Декабрь'
770    ];
771
772    let mounthsAbbreviatedArray = [
773        'Янв',
774        'Фев',
775        'Мар',
776        'Апр',
777        'Май',
778        'Июн',
779        'Июл',
780        'Авг',
781        'Сен',
782        'Окт',
783        'Ноя',
784        'Дек'
785    ];
786
787    Date.prototype.daysInMonth = function() {
788        return 32 - new Date(this.getFullYear(), this.getMonth(), 32).getDate();
789    };
790
791    let currentDay = new Date(),
792        currentYear,
793        currentMounth,
794        currentMounthDays,
795        prevMonthDays,
796        firstWeekDayMounth;
797
798    let scheduleDaysArray = [],
799        today = Date.now();
800
801    $('.schedule-block .day').each(function(index, elem) {
802        let scheduleDay,
803            scheduleDayRecord = [];
804        if ($(elem).hasClass('today')) {
805            scheduleDay =  `${new Date(today).getDate()}/${new Date(today).getMonth() + 1}/${new Date(today).getFullYear()}`;
806        } else if ($(elem).find('.day-label').text().indexOf('Завтра') !== -1) {
807            let tomorrow = new Date(today + 86400000);
808            scheduleDay =  `${tomorrow.getDate()}/${tomorrow.getMonth() + 1}/${tomorrow.getFullYear()}`;
809        } else if ($(elem).find('.day-label').text().indexOf('Вчера') !== -1) {
810            let yesterday = new Date(today - 86400000);
811            scheduleDay =  `${yesterday.getDate()}/${yesterday.getMonth() + 1}/${yesterday.getFullYear()}`;
812        } else {
813            let dayArray = $(elem).find('.day-label').text().replace(',', '').split(' '),
814                correctDay = dayArray[0].substr(0, 1) !== '0' ? dayArray[0] : dayArray[0].substr(1, 2),
815                correctMounth = mounthsAbbreviatedArray.indexOf(dayArray[1]),
816                correctYear = new Date(today).getFullYear();
817            if (new Date(today).getMonth() === 11 && correctMounth === 0) {
818                correctYear = new Date(today).getFullYear() + 1;
819            } else if (new Date(today).getMonth() === 0 && correctMounth === 11) {
820            	correctYear = new Date(today).getFullYear() - 1;
821            }
822            scheduleDay = `${correctDay}/${correctMounth + 1}/${correctYear}`;
823        }
824        $(elem).attr('data-date', scheduleDay);
825        scheduleDaysArray.push(scheduleDay);
826    });
827
828    let aboutMounth = function(currentDay) {
829        currentYear = currentDay.getFullYear();
830        currentMounth = currentDay.getMonth();
831        currentMounthDays = currentDay.daysInMonth();
832        prevMonthDays = new Date(currentMounth === 0 ? currentYear - 1 : currentYear, currentMounth === 0 ? 11 : currentMounth - 1, 1).daysInMonth();
833        firstWeekDayMounth = new Date(currentYear, currentMounth, 1).getDay() === 0 ? 6 : new Date(currentYear, currentMounth, 1).getDay() - 1;
834
835        $('.timetable-head-mounth').text(`${mounthsArray[currentMounth]} ${currentDay.getFullYear().toString().slice(-2)}`);
836
837        let sumDays = 1,
838            nextMounthSumDays = 1,
839            prevMounthSumDays = prevMonthDays - firstWeekDayMounth + 1;
840
841        $('.timetable-body-week td').each(function(index, elem) {
842
843            $(elem).removeClass('current');
844            $(elem).removeClass('active');
845            $(elem).find('.schedule-records').remove();
846            $(elem).attr('data-date', '');
847
848            if (index < firstWeekDayMounth) {
849                $(elem).text(prevMounthSumDays);
850                prevMounthSumDays++;
851            } else if (index >= firstWeekDayMounth && index < currentMounthDays + firstWeekDayMounth) {
852                $(elem).html(`<span>${sumDays}</span>`);
853                $(elem).addClass('current');
854                $(elem).attr('data-date', `${sumDays}/${currentMounth + 1}/${currentYear}`);
855                sumDays++;
856            } else if (index >= currentMounthDays) {
857                $(elem).text(nextMounthSumDays);
858                nextMounthSumDays++;
859            }
860
861            if (scheduleDaysArray.indexOf($(elem).attr('data-date')) !== -1) {
862                $(elem).addClass('active');
863                $(elem).append('<ul class="schedule-records"></ul>');
864                $(`.schedule-block .day[data-date="${$(elem).data('date')}"] .record`).each(function(i, el) {
865                    $(elem).find('.schedule-records').append(`<li>${$(el).find('.time').text()}<a href="${$(el).find('.event a').attr('href')}">${$(el).find('.event a').text()}</a></li>`);
866                });
867            }
868        });
869        if ($('.timetable-body-week:last-child').find('.current').length === 0) {
870            $('.timetable-body-week:last-child').addClass('hide');
871        } else {
872            $('.timetable-body-week:last-child').removeClass('hide');
873        }
874    };
875
876    aboutMounth(currentDay);
877
878    $('.timetable-head-arrow-prev').click(function() {
879        currentDay = new Date(currentMounth === 0 ? currentYear - 1 : currentYear, currentMounth === 0 ? 11 : currentMounth - 1, 1);
880        aboutMounth(currentDay);
881    });
882
883    $('.timetable-head-arrow-next').click(function() {
884        currentDay = new Date(currentMounth === 11 ? currentYear + 1 : currentYear, currentMounth === 11 ? 0 : currentMounth + 1, 1);
885        aboutMounth(currentDay);
886    });
887});
888/* ------------- 
889content finish - Календарь
890------------- */
891
892/* ------------- 
893content start - Уведомления
894------------- */
895
896$(document).ready(function(){
897    $('.notifications-page input[type="checkbox"]').wrap('<label class="checkbox-label"></label>');
898    $('.notifications-page input[type="checkbox"]').after('<span></span>');
899    $('.notifications-page .standard-page-menu a[href="/pl/notifications/../../user/my/profile"]').text('Основное');
900    $('.notifications-page .standard-page-menu a[href="/pl/notifications/../../user/my/profile"]').attr('href', '/pl/user/profile/my');
901});
902/* ------------- 
903content finish - Уведомления
904------------- */
905
906/* ------------- 
907content start - Cookies и VPN
908------------- */
909
910$(document).ready(function () {
911    if ((location.href.indexOf('/pl/lite/widget/widget') == -1) && (location.href.indexOf('cms/default/embed') == -1) && (document.cookie.indexOf('cookieAccepted=1') < 0)) {
912        $('head').append('<style>.cookie-popup{width: 100%; max-width: 415px; padding: 16px; background: #FFFFFF; border: 1px solid #E2E2E2; box-shadow: 4px 4px 40px rgba(0, 0, 0, 0.15); border-radius: 12px; position: fixed; bottom: 40px; left: 50%; transform: translateX(-50%); z-index: 10000;}</style>');
913        $('.gc-main-content').append('<div class="cookie-popup"><div class="cookie-popup-content"><p class="cookie-popup-text">Пользуясь нашим сайтом, вы соглашаетесь с тем, что <span>мы используем cookies</span> &#127850;</p><button class="cookie-popup-button">Окей</button></div></div>');
914        $('.cookie-popup-button').on('click', function () {        
915            $('.cookie-popup').remove();
916            let date = new Date(new Date().setFullYear(new Date().getFullYear() + 1)).toUTCString();
917            document.cookie = 'cookieAccepted=1;path=/;secure;expires='+date;
918        });
919    }
920 
921    //---------------- VPN ---------------------
922    if ((location.href.indexOf('/sales/shop/dealPay/id/config/hash/') !== -1) && (location.href.indexOf('cms/default/embed') == -1) && (location.href.indexOf('https://kkartschool.com') == -1)) {
923        var firstVisit = sessionStorage.getItem('firstVisit');
924        $('head').append(`<style>.login-widget .vpn-popup{display: none;} .vpn-popup{width: 100%; max-width: 415px; padding: 16px; background: #FFFFFF; border: 1px solid #E2E2E2; box-shadow: 4px 4px 40px rgba(0, 0, 0, 0.15); border-radius: 12px; position: fixed; left: 50%; transform: translateX(-50%); z-index: 10000;}.vpn-popup-content{display: flex; gap: 16px;}.vpn-popup-text{font-weight: 400; font-size: 14px; line-height: 140%; color: #1F212C;}.vpn-popup-text::after {content:""; width:12px; height:12px; display: inline-block;  background-size: cover;background-repeat: no-repeat; margin-left: 5px; background-image: url(https://fs.getcourse.ru/fileservice/file/download/a/11920/sc/99/h/ff161bb25c9782fe3a10446923a447b9.png);}.vpn-popup-button{padding: 12px 16px; background: #A56429; border-radius: 50px; font-weight: 500; font-size: 14px; line-height: 16px; color: #FFFFFF; border: none;}@media (min-width: 640px){.vpn-popup {top: 40px;}}@media (max-width: 640px){.vpn-popup{max-width: 66vw; padding: 16px; border-radius: 3vw; bottom: 5vw;}.vpn-popup-content{display: flex; flex-direction: column; gap: 3vw; align-items: center;}.vpn-popup-text{font-size: 3.8vw;}.vpn-popup-button{padding: 8px 0px; width: 100%; border-radius: 15vw; font-size: 4.4vw; line-height: 1;}}</style>`);
925        $('.gc-main-content').append('<div class="vpn-popup vpn-popup2"><div class="vpn-popup-content"><p class="vpn-popup-text">Если на курсы со скидкой у вас отображается цена без скидки, значит сайт не загрузился полностью. Попробуйте ВЫключить Впн или зайти из другого браузера&#11088;</p><button class="vpn-popup-button">Хорошо</button></div></div>');    
926    if (firstVisit === null) {
927        $('.vpn-popup').show();
928        
929        sessionStorage.setItem('firstVisit', 'true');
930    }
931    
932    $('.vpn-popup-button').click(function() {
933        $('.vpn-popup').hide();
934    });
935    }
936    else {
937if (!localStorage.getItem('lastPopupClosed') || Date.now() - localStorage.getItem('lastPopupClosed') > 31536000000) {
938    if ((location.href.indexOf('cms/default/embed') == -1) && (location.href.indexOf('https://kkartschool.com') == -1)) {
939        $('head').append('<style>.vpn-popup{width: 100%; max-width: 415px; padding: 16px; background: #FFFFFF; border: 1px solid #E2E2E2; box-shadow: 4px 4px 40px rgba(0, 0, 0, 0.15); border-radius: 12px; position: fixed; left: 50%; transform: translateX(-50%); z-index: 10000;}.vpn-popup-content{display: flex; gap: 16px;}.vpn-popup-text{font-weight: 400; font-size: 14px; line-height: 140%; color: #1F212C;}.vpn-popup-text::after {content:""; width:12px; height:12px; display: inline-block; background-size: cover;background-repeat: no-repeat; margin-left: 5px; background-image: url(https://fs.getcourse.ru/fileservice/file/download/a/11920/sc/99/h/ff161bb25c9782fe3a10446923a447b9.png);}.vpn-popup-button{padding: 12px 16px; background: #A56429; border-radius: 50px; font-weight: 500; font-size: 14px; line-height: 16px; color: #FFFFFF; border: none;}@media (min-width: 640px){.vpn-popup {top: 10px;}}@media (max-width: 640px){.vpn-popup{max-width: 66vw; padding: 16px; border-radius: 3vw; bottom: 5vw;}.vpn-popup-content{display: flex; flex-direction: column; gap: 3vw; align-items: center;}.vpn-popup-text{font-size: 3.8vw;}.vpn-popup-button{padding: 8px 0px; width: 100%; border-radius: 15vw; font-size: 4.4vw; line-height: 1;}}</style>');
940        $('.gc-main-content').append('<div class="vpn-popup vpn-popup1"><div class="vpn-popup-content"><p class="vpn-popup-text">Если на курсы со скидкой у вас отображается цена без скидки, значит сайт не загрузился полностью. Попробуйте ВЫключить Впн или зайти из другого браузера&#11088;</p><button class="vpn-popup-button">Хорошо</button></div></div>');
941        $('.vpn-popup-button').on('click', function() {
942            $('.vpn-popup').remove();
943            localStorage.setItem('lastPopupClosed', Date.now());
944        });
945    }
946}
947}
948    
949    //---------------- Для главной страницы ---------------------
950  if ((location.href.indexOf('cms/default/embed') == -1) && (location.href.indexOf('https://kkartschool.com') !== -1)) {
951        let firstVisit2 = sessionStorage.getItem('firstVisit');
952        let lastPopupClosed = localStorage.getItem('lastPopupClosed2');
953
954        
955        if (lastPopupClosed && (Date.now() - lastPopupClosed < 31536000000)) {
956            
957            return;
958        }
959        if (firstVisit2 === null) {
960        $('head').append(`<style>.login-widget .vpn-popup{display: none;} .vpn-popup{width: 100%; max-width: 415px; padding: 16px; background: #FFFFFF; border: 1px solid #E2E2E2; box-shadow: 4px 4px 40px rgba(0, 0, 0, 0.15); border-radius: 12px; position: fixed; left: 50%; transform: translateX(-50%); z-index: 10000;}.vpn-popup-content{display: flex; gap: 16px;}.vpn-popup-text{font-weight: 400; font-size: 14px; line-height: 140%; color: #1F212C;}.vpn-popup-text::after {content:""; width:12px; height:12px; display: inline-block;  background-size: cover;background-repeat: no-repeat; margin-left: 5px; background-image: url(https://fs.getcourse.ru/fileservice/file/download/a/11920/sc/99/h/ff161bb25c9782fe3a10446923a447b9.png);}.vpn-popup-button{padding: 12px 16px; background: #A56429; border-radius: 50px; font-weight: 500; font-size: 14px; line-height: 16px; color: #FFFFFF; border: none;}@media (min-width: 640px){.vpn-popup {top: 40px;}}@media (max-width: 640px){.vpn-popup{max-width: 66vw; padding: 16px; border-radius: 3vw; bottom: 5vw;}.vpn-popup-content{display: flex; flex-direction: column; gap: 3vw; align-items: center;}.vpn-popup-text{font-size: 3.8vw;}.vpn-popup-button{padding: 8px 0px; width: 100%; border-radius: 15vw; font-size: 4.4vw; line-height: 1;}}</style>`);
961            $('.gc-main-content').append(
962                '<div class="vpn-popup vpn-popup3"><div class="vpn-popup-content"><p class="vpn-popup-text">Если на курсы со скидкой у вас отображается цена без скидки, значит сайт не загрузился полностью. Попробуйте ВЫключить Впн или зайти из другого браузера&#11088;</p><button class="vpn-popup-button">Хорошо</button></div></div>'
963            );
964            $('.vpn-popup').show();
965
966            sessionStorage.setItem('firstVisit', 'true');
967
968            
969            $('.vpn-popup-button').on('click', function() {
970                $('.vpn-popup').hide();
971                localStorage.setItem('lastPopupClosed2', Date.now());
972            });
973        } else {
974            
975        $('head').append('<style>.vpn-popup{width: 100%; max-width: 415px; padding: 16px; background: #FFFFFF; border: 1px solid #E2E2E2; box-shadow: 4px 4px 40px rgba(0, 0, 0, 0.15); border-radius: 12px; position: fixed; left: 50%; transform: translateX(-50%); z-index: 10000;}.vpn-popup-content{display: flex; gap: 16px;}.vpn-popup-text{font-weight: 400; font-size: 14px; line-height: 140%; color: #1F212C;}.vpn-popup-text::after {content:""; width:12px; height:12px; display: inline-block; background-size: cover;background-repeat: no-repeat; margin-left: 5px; background-image: url(https://fs.getcourse.ru/fileservice/file/download/a/11920/sc/99/h/ff161bb25c9782fe3a10446923a447b9.png);}.vpn-popup-button{padding: 12px 16px; background: #A56429; border-radius: 50px; font-weight: 500; font-size: 14px; line-height: 16px; color: #FFFFFF; border: none;}@media (min-width: 640px){.vpn-popup {top: 10px;}}@media (max-width: 640px){.vpn-popup{max-width: 66vw; padding: 16px; border-radius: 3vw; bottom: 5vw;}.vpn-popup-content{display: flex; flex-direction: column; gap: 3vw; align-items: center;}.vpn-popup-text{font-size: 3.8vw;}.vpn-popup-button{padding: 8px 0px; width: 100%; border-radius: 15vw; font-size: 4.4vw; line-height: 1;}}</style>');
976        $('.gc-main-content').append(
977                '<div class="vpn-popup vpn-popup4"><div class="vpn-popup-content"><p class="vpn-popup-text">Если на курсы со скидкой у вас отображается цена без скидки, значит сайт не загрузился полностью. Попробуйте ВЫключить Впн или зайти из другого браузера&#11088;</p><button class="vpn-popup-button">Хорошо</button></div></div>'
978            );
979            $('.vpn-popup').show();
980
981            
982            $('.vpn-popup-button').on('click', function() {
983                $('.vpn-popup').remove();
984                localStorage.setItem('lastPopupClosed2', Date.now());
985            });
986        }
987    }
988    
989  if ($(window).width() < 640) {
990    $(".gc-main-content").each(function() {
991      if ($(this).find(".cookie-popup").length > 0) {
992        $(this).find(".vpn-popup").css('bottom', '34vw');
993      } else {
994        $(this).find(".vpn-popup").css('bottom', '10vw');
995      }
996    });
997  }
998});
999/* ------------- 
1000content finish - Cookies и VPN
1001------------- */

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.