PageSourceSearch

https://mabiab.com/site-pages/about

html mabiab.com collected 2026-09-24 11:21:00 UTC 293,405 bytes, 5,291 lines download raw bytes

1<!DOCTYPE html>
2<html id="html" lang="en">
3   <head>
4      <meta charset="UTF-8">
5      <title>О МАБ | MABIAB</title>
6      <meta name="title" content="О МАБ | MABIAB">
7      <meta name="description" content="">
8      <meta name="keywords" content="">
9            <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
10      <meta property="fb:app_id" content="1643990952546825" />
11      <meta name="format-detection" content="telephone=no" />
12      <meta name="apple-mobile-web-app-capable" content="yes" />
13                      <link rel="canonical" href="https://mabiab.com/custom_page"/>
14            <link rel="alternate" href="https://mabiab.com?lang=english" hreflang="ru" /><link rel="alternate" href="https://mabiab.com?lang=arabic" hreflang="ar" /><link rel="alternate" href="https://mabiab.com?lang=dutch" hreflang="nl" /><link rel="alternate" href="https://mabiab.com?lang=french" hreflang="fr" /><link rel="alternate" href="https://mabiab.com?lang=german" hreflang="de" /><link rel="alternate" href="https://mabiab.com?lang=russian" hreflang="en" /><link rel="alternate" href="https://mabiab.com?lang=spanish" hreflang="es" /><link rel="alternate" href="https://mabiab.com?lang=turkish" hreflang="tr" /><link rel="alternate" href="https://mabiab.com?lang=hindi" hreflang="hi" /><link rel="alternate" href="https://mabiab.com?lang=chinese" hreflang="zh" /><link rel="alternate" href="https://mabiab.com?lang=urdu" hreflang="ur" /><link rel="alternate" href="https://mabiab.com?lang=indonesian" hreflang="id" /><link rel="alternate" href="https://mabiab.com?lang=croatian" hreflang="sh" /><link rel="alternate" href="https://mabiab.com?lang=hebrew" hreflang="he" /><link rel="alternate" href="https://mabiab.com?lang=bengali" hreflang="bn" /><link rel="alternate" href="https://mabiab.com?lang=japanese" hreflang="ja" /><link rel="alternate" href="https://mabiab.com?lang=portuguese" hreflang="pt" /><link rel="alternate" href="https://mabiab.com?lang=italian" hreflang="it" /><link rel="alternate" href="https://mabiab.com?lang=persian" hreflang="fa" /><link rel="alternate" href="https://mabiab.com?lang=swedish" hreflang="sv" /><link rel="alternate" href="https://mabiab.com?lang=vietnamese" hreflang="vi" /><link rel="alternate" href="https://mabiab.com?lang=danish" hreflang="da" /><link rel="alternate" href="https://mabiab.com?lang=filipino" hreflang="fil" />
15      <link rel="shortcut icon" type="image/png" href="https://mabiab.com/themes/youplay/img/icon.png"/>
16      <link rel="stylesheet" href="https://mabiab.com/themes/youplay/css/jquery-ui.min.css?version=2.2.4">
17      <link rel="stylesheet" href="https://mabiab.com/themes/youplay/css/jquery.tagit.css?version=2.2.4">
18      <link rel="stylesheet" href="https://mabiab.com/themes/youplay/css/font-awesome-4.7.0/css/font-awesome.min.css?version=2.2.4">
19      <link rel="stylesheet" href="https://mabiab.com/themes/youplay/css/twemoji-awesome.css?version=2.2.4">
20      <link rel="stylesheet" href="https://netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap-glyphicons.css?version=2.2.4">
21      <link rel="stylesheet" href="https://mabiab.com/themes/youplay/css/bootstrap.min.css?version=2.2.4">
22      <link rel="stylesheet" href="https://mabiab.com/themes/youplay/js/lib/sweetalert2/dist/sweetalert2.min.css?version=2.2.4">
23      <link rel="stylesheet" href="https://mabiab.com/themes/youplay/js/lib/notifIt/notifIt/css/notifIt.min.css?version=2.2.4">
24      <link rel="stylesheet" href="https://mabiab.com/themes/youplay/css/chat.css?version=2.2.4">
25      <link rel="stylesheet" href="https://mabiab.com/themes/youplay/css/style.css?version=2.2.4" id="style-css">
26            <link rel="stylesheet" href="https://mabiab.com/themes/youplay/css/custom.style.css?version=2.2.4">
27      <link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet" type="text/css">
28      <link href="https://fonts.googleapis.com/css?family=Open+Sans|Roboto:400,500" rel="stylesheet">
29      
29<script src="https://mabiab.com/themes/youplay/js/jquery-3.min.js?version=2.2.4"></script>
29
30      
30<script src="https://mabiab.com/themes/youplay/js/jquery-ui.min.js?version=2.2.4"></script>
30
31      
31<script type="text/javascript" src="https://mabiab.com/themes/youplay/js/jquery.form.min.js?version=2.2.4"></script>
31
32      
32<script type="text/javascript" src="https://mabiab.com/themes/youplay/js/tag-it.min.js?version=2.2.4"></script>
32
33            <link rel="stylesheet" href="https://mabiab.com/themes/youplay/player/css/mediaelementplayer.min.css?version=2.2.4" />
34      
34<script src="https://mabiab.com/themes/youplay/player/js/mediaelement-and-player.min.js?version=2.2.4"></script>
34
35      <link rel="stylesheet" href="https://mabiab.com/themes/youplay/player/css/mejs-dark.css?version=2.2.4" />
36      
36<script src="https://mabiab.com/themes/youplay/js/lib/sweetalert2/dist/sweetalert2.js?version=2.2.4"></script>
36
37      <link rel="stylesheet" href="https://mabiab.com/themes/youplay/css/paid_links.css">
38<script>
39function PT_ShowPaidLinksPopup(data) {
40	var price  = (data.link_price / 100).toFixed(2);
41	var total  = (data.total_price / 100).toFixed(2);
42	var wallet = (data.wallet_cents / 100).toFixed(2);
43	var enough = data.wallet_cents >= data.total_price;
44	var is_comment  = data.context == 'comment';
45	var count_label = is_comment ? 'Внешних неоплаченных ссылок в комментарии' : 'Внешних неоплаченных ссылок в статье';
46	var after_label = is_comment ? 'Чтобы опубликовать комментарий, оплатите ссылки или полностью удалите их.' : 'Чтобы опубликовать статью, оплатите ссылки или полностью удалите их.';
47	var links_list = '';
48	if (data.links && data.links.length) {
49		var counts = {};
50		data.links.forEach(function (url) { counts[url] = (counts[url] || 0) + 1; });
51		links_list = '<ul class="paid-links-list">';
52		Object.keys(counts).forEach(function (url) {
53			var safe_url = $('<div>').text(url).html();
54			links_list += '<li>' + safe_url + (counts[url] > 1 ? ' <span class="paid-links-count-badge">×' + counts[url] + '</span>' : '') + '</li>';
55		});
56		links_list += '</ul>';
57	}
58	var html   = '<div style="text-align:left">' +
59		'<p>' + count_label + ': <b>' + data.links_count + '</b></p>' +
60		links_list +
61		'<p>Цена одной ссылки: <b>' + price + ' €</b></p>' +
62		'<p>Итого к оплате: <b>' + total + ' €</b></p>' +
63		'<p>Доступный баланс: <b>' + wallet + ' €</b></p>' +
64		(enough ? '' : '<p style="color:#e74c3c">У вас недостаточно баланса, чтобы купить, пожалуйста, пополните свой кошелек.</p>') +
65		'<p>' + after_label + '</p>' +
66		'<p class="paid-links-support">Если у вас есть вопросы, напишите в поддержку: <a href="mailto:[email protected]">[email protected]</a></p>' +
67		'</div>';
68	var pay_url    = data.pay_url    || 'https://mabiab.com/aj/paid_links/pay?hash=' + $('.main_session').val();
69	var pay_params = data.pay_params || {post_id: data.post_id};
70	var pay_result = {link: data.link};
71	swal({
72		customClass: 'paid-links-modal',
73		title: 'Платные ссылки',
74		html: html,
75		showCloseButton: true,
76		showCancelButton: true,
77		focusConfirm: false,
78		confirmButtonText: enough ? 'платить' : 'Пополнить',
79		cancelButtonText: 'отменить',
80		buttonsStyling: false,
81		confirmButtonClass: 'btn btn-success btn-block pt_wallet_btn',
82		cancelButtonClass: 'btn btn-default btn-block pt_wallet_btn',
83		allowOutsideClick: false,
84		showLoaderOnConfirm: true,
85		preConfirm: function () {
86			return new Promise(function (resolve, reject) {
87				if (!enough) {
88					resolve();
89					return;
90				}
91				$.post(pay_url, pay_params, function (res) {
92					if (res.status == 200) {
93						pay_result = res;
94						resolve();
95					}
96					else {
97						reject(res.message);
98					}
99				}).fail(function () {
100					reject('Пожалуйста, повторите попытку позже.');
101				});
102			});
103		}
104	}).then(function () {
105		if (!enough) {
106			window.location.href = 'https://mabiab.com/wallet';
107			return;
108		}
109		if (data.on_paid) {
110			data.on_paid(pay_result);
111			return;
112		}
113		window.location.href = pay_result.link;
114	}, function () {
115		if (data.edit_link) {
116			window.location.href = data.edit_link;
117		}
118	});
119}
120function PT_ShowCommentPaywall(data, pay_params, on_paid, pay_url) {
121	data.pay_url    = pay_url || 'https://mabiab.com/aj/add-comment';
122	data.pay_params = pay_params;
123	data.on_paid    = on_paid;
124	PT_ShowPaidLinksPopup(data);
125}
126</script>
126
127      
127<script src="https://mabiab.com/themes/youplay/js/lib/notifIt/notifIt/js/notifIt.min.js?version=2.2.4"></script>
127
128      <link href="https://gitcdn.github.io/bootstrap-toggle/2.2.2/css/bootstrap-toggle.min.css?version=2.2.4" rel="stylesheet">
129      
129<script type="text/javascript" src="https://mabiab.com/themes/youplay/js/bootstrap.min.js?version=2.2.4"></script>
129
130      <link rel="stylesheet" href="https://mabiab.com/themes/youplay/css/bootstrap-select.min.css?version=2.2.4">
131      
131<script src="https://mabiab.com/themes/youplay/js/bootstrap-select.min.js?version=2.2.4"></script>
131
132      
132<script src="https://mabiab.com/themes/youplay/js/emoji/emojionearea/dist/emojionearea.js?version=2.2.4"></script>
132
133      <link rel="stylesheet" type="text/css" href="https://mabiab.com/themes/youplay/js/emoji/emojionearea/dist/emojionearea.min.css?version=2.2.4"/>
134            
134<script src="https://mabiab.com/themes/youplay/player/plugins/speed/speed.min.js?version=2.2.4"></script>
134
135      <link rel="stylesheet" href="https://mabiab.com/themes/youplay/player/plugins/speed/speed.min.css?version=2.2.4" />
136      
136<script src="https://mabiab.com/themes/youplay/player/plugins/speed/speed-i18n.js?version=2.2.4"></script>
136
137      
137<script src="https://mabiab.com/themes/youplay/player/plugins/youtube-speed/youtube-speed.js?version=2.2.4"></script>
137
138      
138<script src="https://mabiab.com/themes/youplay/player/plugins/jump/jump-forward.min.js?version=2.2.4"></script>
138
139      <link rel="stylesheet" href="https://mabiab.com/themes/youplay/player/plugins/jump/jump-forward.min.css?version=2.2.4" />
140      
140<script src="https://mabiab.com/themes/youplay/player/plugins/ads/ads.min.js?version=2.2.4"></script>
140
141      <link rel="stylesheet" href="https://mabiab.com/themes/youplay/player/plugins/ads/ads.min.css?version=2.2.4" />
142      
142<script src="https://mabiab.com/themes/youplay/player/plugins/ads/ads-i18n.js?version=2.2.4"></script>
142
143      
143<script src="https://mabiab.com/themes/youplay/player/plugins/vast/ads-vast-vpaid.js?version=2.2.4"></script>
143
144      
144<script src="https://mabiab.com/themes/youplay/player/plugins/quality/quality.min.js?version=2.2.4"></script>
144
145      <link rel="stylesheet" href="https://mabiab.com/themes/youplay/player/plugins/quality/quality.min.css?version=2.2.4" />
146      
146<script src="https://cdn.jsdelivr.net/npm/[email protected]/build/renderers/facebook.min.js?version=2.2.4"></script>
146
147      
147<script src="https://mabiab.com/themes/youplay/player/plugins/context-menu/context-menu.min.js?version=2.2.4"></script>
147
148      
148<script src="https://mabiab.com/themes/youplay/player/plugins/context-menu/context-menu-i18n.js?version=2.2.4"></script>
148
149      <link rel="stylesheet" href="https://mabiab.com/themes/youplay/player/plugins/context-menu/context-menu.min.css?version=2.2.4" />
150      
150<script src="https://mabiab.com/themes/youplay/js/Fingerprintjs2/fingerprint2.js?version=2.2.4"></script>
150
151      <link rel="stylesheet" href="https://mabiab.com/themes/youplay/css/bootstrap-colorpicker.min.css?version=2.2.4" />
152      
152<script src="https://mabiab.com/themes/youplay/js/bootstrap-colorpicker.min.js?version=2.2.4"></script>
152
153
154      <!-- start: Compatibility -->
155
156<!--      
156<script src="https://mabiab.com/themes/youplay/javascript/agora.js?version=2.2.4"></script>
156-->
157<!--      
157<script src="https://mabiab.com/themes/youplay/javascript/hls.js?version=2.2.4"></script>
157-->
158
159
160      
160<script src="https://mabiab.com/themes/youplay/javascript/audioRecord/recorder.js?version=2.2.4"></script>
160
161      
161<script src="https://mabiab.com/themes/youplay/javascript/audioRecord/record.js?version=2.2.4"></script>
161
162
163      
163<script type="text/javascript">
164         function _getSession(cname) {
165                        return '';
166         }
167      </script>
167
168
169      
169<script src="https://mabiab.com/themes/youplay/javascript/script.js?version=2.2.4>"></script>
169
170
171      
171<script type="text/javascript">
172         function Wo_Ajax_Requests_File(){
173            return "https://mabiab.com/requests.php"
174         }
175      </script>
175
176
177      <!-- end:   Compatibility -->
178
179      <!-- start: Chat. Socket -->
180
181      
181<script src="https://mabiab.com/themes/youplay/javascript/socket.io.js?version=2.2.4>"></script>
181
182
183
184      <!-- end:   Chat. Socket -->
185
186            <!-- 
186<script src="https://mabiab.com/themes/youplay/js/highcharts/highcharts.js?version=2.2.4"></script>
186
187         
187<script src="https://mabiab.com/themes/youplay/js/highcharts/exporting.js?version=2.2.4"></script>
187 -->
188      
188<script src= "https://player.twitch.tv/js/embed/v1.js?version=2.2.4"></script>
vendor: 117 bytes, lines 188-190
188
189            <script src="https://www.google.com/recaptcha/api.js?version=2.2.4" async defer></script>
190            
190<link rel="stylesheet" href="https://mabiab.com/themes/youplay/css/swiper@8/swiper-bundle.min.css?version=2.2.4" />
191      
191<script src="https://mabiab.com/themes/youplay/js/swiper@8/swiper-bundle.min.js?version=2.2.4"></script>
191
192            <!-- Google tag (gtag.js) -->
vendor: 71 bytes, lines 192-193
192
193      <script async src="https://www.googletagmanager.com/gtag/js?id=
193G-SFDMCZBWN0
vendor: 19 bytes, lines 193-194
193"></script>
194      
194<script>
195         window.dataLayer = window.dataLayer || [];
196         function gtag(){dataLayer.push(arguments);}
197         gtag('js', new Date());
198
199         gtag('config', '351687457');
200      </script>
200
201            
201<script>
202                     var site_url = 'https://mabiab.com';
203           function PT_Ajax_Requests_File() {
204             return site_url + '/';
205           }
206           function PT_Page_Loading_File() {
207             return site_url + '/page_loading.php';
208           }
209           function OpenShareWindow(url, windowName) {
210              newwindow = window.open(url, windowName, 'height=600,width=800');
211              if (window.focus) {
212                 newwindow.focus();
213              }
214              return false;
215           }
216           function getCookie(name) {
217             var value = "; " + document.cookie;
218             var parts = value.split("; " + name + "=");
219             if (parts.length == 2) return parts.pop().split(";").shift();
220           }
221      </script>
221
222      
222<script src="https://mabiab.com/themes/youplay/js/header.js?version=2.2.4"></script>
222
223            
223<script src="https://imasdk.googleapis.com/js/sdkloader/ima3.js?version=2.2.4" type="text/javascript"></script>
223
224      
225      <link rel="stylesheet" href="https://mabiab.com/themes/youplay/javascript/green-audio-player/green-audio-player.css?version=2.2.4" />
226      
226<script src="https://mabiab.com/themes/youplay/javascript/green-audio-player/green-audio-player.js?version=2.2.4"></script>
226
227   </head>
228   
228<script type="text/javascript">
229        window.UpdateChatU = 0;
230      $(document).on('click', '#open_slide', function(event) {
231         setTimeout(function () {
232            window.dispatchEvent(new Event('resize'));
233            console.log("resize");
234         }, 300)
235      });
236        $(document).on('click', 'a[data-load]', function(event) {
237          if ($('#live_post_id').length > 0) {
238                DeleteLive();
239                window.location = $(this).attr('href');
240                return false;
241          }
242
243          if ($('video').length > 0) {
244              $('video')[0].pause();
245            }
246          $('#bar_loading').show();
247            event.preventDefault();
248            var url = $(this).attr('data-load');
249            $.ajax({
250              url: PT_Page_Loading_File()+url,
251              type: 'GET',
252              dataType: 'html'
253            })
254            .done(function(data_html) {
255              if ($(data_html).filter('#json-data').length > 0) {
256                  data = JSON.parse($(data_html).filter('#json-data').val());
257                  if (data.is_movie == true) {
258                    $('.toggle-mode').hide();
259                    $('.logo-img img').attr('src', 'https://mabiab.com/themes/youplay/img/logo-light.png');
260                  }
261                  else{
262                    if ($('#toggle-mode').prop( "checked" ) === true) {
263                      $('.logo-img img').attr('src', 'https://mabiab.com/themes/youplay/img/logo-light.png');
264                    }
265                    else{
266                      $('.logo-img img').attr('src', 'https://mabiab.com/themes/youplay/img/logo.png');
267                    }
268                    $('.toggle-mode').show();
269                  }
270
271                  (data.page == 'register' ||
272                  data.page == 'login' ||
273                  data.page == 'shorts' ||
274                  data.page == 'upload-video' ||
275                  data.page == 'import-video' ||
276                  data.page == 'messages') ? $('#header_ad_').addClass('hidden') : $('#header_ad_').removeClass('hidden');
277
278                  (data.page == 'home') ? $('#home_menu_').addClass('active') : $('#home_menu_').removeClass('active');
279                  (data.page == 'history') ? $('#history_menu_').addClass('active') : $('#history_menu_').removeClass('active');
280                  (data.page == 'articles') ? $('#articles_menu_').addClass('active') : $('#articles_menu_').removeClass('active');
281                  (data.page == 'latest') ? $('#latest_menu_').addClass('active') : $('#latest_menu_').removeClass('active');
282                  (data.page == 'trending') ? $('#trending_menu_').addClass('active') : $('#trending_menu_').removeClass('active');
283                  (data.page == 'paid-videos') ? $('#paid_videos_').addClass('active') : $('#paid_videos_').removeClass('active');
284                  (data.page == 'top') ? $('#top_menu_').addClass('active') : $('#top_menu_').removeClass('active');
285                  (data.page == 'movies') ? $('#movies_menu_').addClass('active') : $('#movies_menu_').removeClass('active');
286                  (data.page == 'stock') ? $('#stock_menu_').addClass('active') : $('#stock_menu_').removeClass('active');
287                  (data.page == 'popular_channels') ? $('#popular_channels_menu_').addClass('active') : $('#popular_channels_menu_').removeClass('active');
288                  (data.page == 'shorts') ? $('#shorts_menu_').addClass('active') : $('#shorts_menu_').removeClass('active');
289
290                  window.history.pushState({state:'new'},'', data.url);
291                  $('#container_content').html(data_html);
292                  $('meta[name=title]').attr('content', data.title);
293                  $('meta[name=description]').attr('content', data.description);
294                  $('meta[name=keywords]').attr('content', data.keyword);
295                  $('title').text(data.title);
296                  var main_container_class = 'main-content ';
297                  (data.page != 'login') ? main_container_class += ' container ' : main_container_
297class += ' welcome-page ';
298                  (data.page == 'home') ? main_container_class += ' container-full ' : main_container_class += ' ';
299               (data.page == 'timeline') ? main_container_class += ' container-full ' : main_container_class += ' ';
300               (data.page == 'search') ? main_container_class += ' container-full ' : main_container_class += ' ';
301               (data.page == 'import-video') ? main_container_class += ' container-full ' : main_container_class += ' ';
302               (data.page == 'trending') ? main_container_class += ' container-full ' : main_container_class += ' ';
303               (data.page == 'category') ? main_container_class += ' container-full ' : main_container_class += ' ';
304               (data.page == 'latest') ? main_container_class += ' container-full ' : main_container_class += ' ';
305               (data.page == 'top') ? main_container_class += ' container-full ' : main_container_class += ' ';
306               (data.page == 'live') ? main_container_class += ' container-full ' : main_container_class += ' ';
307               (data.page == 'stock') ? main_container_class += ' container-full ' : main_container_class += ' ';
308               (data.page == 'paid-videos') ? main_container_class += ' container-full ' : main_container_class += ' ';
309                  (data.page == 'watch') ? main_container_class += ' container-full ' : main_container_class += ' ';
310                  (data.page == 'messages') ? main_container_class += ' m_cont_full ' : main_container_class += ' ';
311                  $('#main-container').attr('class',main_container_class);
312
313
314                }
315                else{
316                  window.location.href = site_url+'/login';
317                }
318
319            })
320            .fail(function() {
321              if (typeof(getCookie('user_id')) == 'undefined') {
322                window.location.href = site_url+'/login';
323              }
324              else{
325                window.location.href = site_url+'/404';
326              }
327
328            })
329            .always(function() {
330              window.scrollTo(0,0);
331              $('#bar_loading').delay(300).fadeOut(300);
332              $(".video-player").hover(
333                  function(e){
334                    $('.watermark').css('display', 'block');
335                   },
336                  function(e){
337                    setTimeout(function () {
338                      if ($('.video-player:hover').length == 0) {
339                        $('.watermark').css('display', 'none');
340                      }
341                    }, 1000);
342                   }
343              );
344            });
345        });
346        function load_more_sub() {
347          var id = $('.subscribers_').last().attr('data_subscriber_id');
348          var user_id = '{{ME id}}';
349          $.post(PT_Ajax_Requests_File()+'aj/user/get_more_subscribers_', {id: id,user_id:user_id}, function(data, textStatus, xhr) {
350            if (data.status == 200) {
351              if (data.html != '') {
352                $('.user_subscribers_').append(data.html);
353              }
354              else{
355                $('#user_subscribers__load').text("Нет больше подписок");
356              }
357
358            }
359
360          });
361        }
362   </script>
362
363   <body itemscope itemtype="http://schema.org/Organization" id="pt-body" class="
364         ">
365            <div id="pop_up_18" class="modal matdialog et_plus" data-backdrop="static" data-keyboard="false">
366         <div class="modal-dialog">
367            <div class="modal-content">
368               <div class="modal-body">
369                  <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 328.863 328.863" height="120" width="120" xml:space="preserve">
370                     <g id="_x34_4-18Plus_movie">
371                        <g>
372                           <path fill="currentColor" d="M104.032,220.434V131.15H83.392V108.27h49.121v112.164H104.032z"/>
373                        </g>
374                        <g>
375                           <path fill="currentColor" d="M239.552,137.23c0,9.76-5.28,18.4-14.08,23.201c12.319,5.119,20,15.84,20,28.32c0,20.16-17.921,32.961-45.921,32.961 c-28.001,0-45.921-12.641-45.921-32.48c0-12.801,8.32-23.682,21.28-28.801c-9.44-5.281-15.52-14.24-15.52-24 c0-17.922,15.681-29.281,40.001-29.281C224.031,107.15,239.552,118.83,239.552,137.23z M180.51,186.352 c0,9.441,6.721,14.721,19.041,14.721c12.32,0,19.2-5.119,19.2-14.721c0-9.279-6.88-14.561-19.2-14.561 C187.23,171.791,180.51,177.072,180.51,186.352z M183.391,138.83c0,8.002,5.76,12.48,16.16,12.48c10.4,0,16.16-4.479,16.16-12.48 c0-8.318-5.76-12.959-16.16-12.959C189.15,125.871,183.391,130.512,183.391,138.83z"/>
376                        </g>
377                        <g>
378                           <path fill="currentColor" d="M292.864,120.932c4.735,13.975,7.137,28.592,7.137,43.5c0,74.752-60.816,135.568-135.569,135.568 S28.862,239.184,28.862,164.432c0-74.754,60.816-135.568,135.569-135.568c14.91,0,29.527,2.4,43.5,7.137V5.832 C193.817,1.963,179.24,0,164.432,0C73.765,0,0.001,73.764,0.001,164.432s73.764,164.432,164.431,164.432 S328.862,255.1,328.862,164.432c0-14.807-1.962-29.385-5.831-43.5H292.864z"/>
379                        </g>
380                        <g>
381                           <polygon fill="currentColor" points="284.659,44.111 284.659,12.582 261.987,12.582 261.987,44.111 230.647,44.111 230.647,66.781 261.987,66.781 261.987,98.309 284.659,98.309 284.659,66.781 316.186,66.781 316.186,44.111 "/>
382                        </g>
383                     </g>
384                  </svg>
385                  <h4>Обратите внимание, что если вам не исполнилось 18 лет, вы не сможете получить доступ к этому сайту.</h4>
386                  <p>Вам 18 лет или больше?</p>
387               </div>
388               <div class="modal-footer">
389                  <button class="btn btn-success matbtn" id="pop_up_18_yes">да</button>
390                  <button class="btn matbtn" id="pop_up_18_no">нет</button>
391               </div>
392            </div>
393         </div>
394      </div>
395      <a href="" id="link_redirect_to_page"  data-load=""></a>
396      <div id="bar_loading"></div>
397            <input type="hidden" class="main_session" value="24104d6205fadd601155bde3140f9d5863bbce69">
398            <header class="navbar-fixed-top">
399         <nav class="navbar navbar-findcond pt_header_nav">
400	<div class="left-part">
401					<div class="yp_slide_menu">
402				<span id="open_slide" title="Расширять" data-toggle="tooltip" data-placement="bottom" onclick="SlideSetCookie('open_slide','yes',1);">
403					<svg xmlns="http://www.w3.org/2000/svg" width="24px" height="24px" viewBox="0 0 276.167 276.167"> <g fill="currentColor"><path d="M33.144,2.471C15.336,2.471,0.85,16.958,0.85,34.765s14.48,32.293,32.294,32.293s32.294-14.486,32.294-32.293 S50.951,2.471,33.144,2.471z"/> <path d="M137.663,2.471c-17.807,0-32.294,14.487-32.294,32.294s14.487,32.293,32.294,32.293c17.808,0,32.297-14.486,32.297-32.293 S155.477,2.471,137.663,2.471z"/> <path d="M243.873,67.059c17.804,0,32.294-14.486,32.294-32.293S261.689,2.471,243.873,2.471s-32.294,14.487-32.294,32.294 S226.068,67.059,243.873,67.059z"/> <path d="M32.3,170.539c17.807,0,32.297-14.483,32.297-32.293c0-17.811-14.49-32.297-32.297-32.297S0,120.436,0,138.246 C0,156.056,14.493,170.539,32.3,170.539z"/> <path d="M136.819,170.539c17.804,0,32.294-14.483,32.294-32.293c0-17.811-14.478-32.297-32.294-32.297 c-17.813,0-32.294,14.486-32.294,32.297C104.525,156.056,119.012,170.539,136.819,170.539z"/> <path d="M243.038,170.539c17.811,0,32.294-14.483,32.294-32.293c0-17.811-14.483-32.297-32.294-32.297 s-32.306,14.486-32.306,32.297C210.732,156.056,225.222,170.539,243.038,170.539z"/> <path d="M33.039,209.108c-17.807,0-32.3,14.483-32.3,32.294c0,17.804,14.493,32.293,32.3,32.293s32.293-14.482,32.293-32.293 S50.846,209.108,33.039,209.108z"/> <path d="M137.564,209.108c-17.808,0-32.3,14.483-32.3,32.294c0,17.804,14.487,32.293,32.3,32.293 c17.804,0,32.293-14.482,32.293-32.293S155.368,209.108,137.564,209.108z"/> <path d="M243.771,209.108c-17.804,0-32.294,14.483-32.294,32.294c0,17.804,14.49,32.293,32.294,32.293 c17.811,0,32.294-14.482,32.294-32.293S261.575,209.108,243.771,209.108z"/> </g></svg>
404				</span>
405			</div>
406				<a class="navbar-brand logo-img" href="https://mabiab.com/" itemprop="url">
407							<img itemprop="logo" src="https://mabiab.com/themes/youplay/img/logo.png" alt="MABIAB">
408					</a>
409	</div>
410	<form class="navbar-form search-header" role="search" action="https://mabiab.com/search" method="GET">
411		<div class="form-group">
412			<input type="text" class="form-control" id="search-bar" name="keyword" placeholder="Поиск видео" autocomplete="off" value="">
413			<button type="submit" class="btn btn-main"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="22" height="22">
413<path fill="currentColor" d="M23.707 22.293l-5.969-5.969a10.016 10.016 0 10-1.414 1.414l5.969 5.969a1 1 0 001.414-1.414zM10 18a8 8 0 118-8 8.009 8.009 0 01-8 8z"/></svg></button>			
414						<div class="search-dropdown hidden"></div>
415		</div>
416	</form>
417	<ul class="nav right-part">
418		<li class="dropdown hide_upload_mobi_link">
419			<a href="javascript:void(0);" class="dropdown-toggle" data-toggle="dropdown">
420				<svg xmlns="http://www.w3.org/2000/svg" width="24px" height="24px" viewBox="0 0 121.24 122.88"><g><path fill="currentColor" d="M10.05,96.6C6.38,105.51,1.42,113.97,0,122.88l5.13-0.44c8.1-23.56,15.4-39.4,31.23-59.21 C48.24,48.39,61.13,36.58,77.66,27.2c8.8-5,20.07-10.47,30.21-11.85c2.77-0.38,5.58-0.49,8.46-0.24 c-31.4,7.19-56.26,23.84-76.12,48.8C32.1,74.09,25.05,85.4,18.57,97.32l11.94,2.18l-4.97-2.47l17.78-2.83 c-6.6-2.33-13.12-1.55-15.21-4.06c18.3-0.83,33.34-4.78,43.9-12.45c-3.93-0.55-8.46-1.04-10.82-2.17 c17.69-5.98,27.92-16.73,40.9-26.27c-16.87,3.54-32.48,2.96-37-0.25c29.77,2.21,49-6.02,55.59-26.77c0.57-2.24,0.73-4.5,0.37-6.78 C118.74,0.62,92.49-4.39,83.95,7.77c-1.71,2.43-4.12,4.66-6.11,7.48L85.97,0c-21.88,7.39-23.68,15.54-35,40.09 c0.9-7.47,2.97-14.24,5.66-20.63c-27.34,10.55-36.45,37.11-37.91,59.7c-0.79-7.88,0.67-17.78,3.49-28.9 c-7.98,8-13.41,17.39-11.47,30.79l-3.65-1.63l1.92,7.19l-5.46-2.59L10.05,96.6L10.05,96.6z"/></g></svg>
421				<span class="hide_hdr_usr_name">&nbsp;&nbsp;Создать</span>
422			</a>
423			<ul class="dropdown-menu pt-create-menu">
424															<li class="hide_up_imp">
425							<a href="https://mabiab.com/create_article" data-load="?link1=create_article">
426								<svg xmlns="http://www.w3.org/2000/svg" fill="currentColor" height="24px" width="24px" viewBox="0 0 465 465" xml:space="preserve">
427<g>
428	<path d="M405.437,0h-10c-4.143,0-7.5,3.358-7.5,7.5s3.357,7.5,7.5,7.5h2.5v435h-2.5c-4.143,0-7.5,3.358-7.5,7.5s3.357,7.5,7.5,7.5
429		h10c4.143,0,7.5-3.358,7.5-7.5V7.5C412.937,3.358,409.579,0,405.437,0z"/>
430	<path d="M315.437,140H109.563c-4.143,0-7.5,3.358-7.5,7.5s3.357,7.5,7.5,7.5h205.873c4.143,0,7.5-3.358,7.5-7.5
431		S319.579,140,315.437,140z"/>
432	<path d="M315.437,260H109.563c-4.143,0-7.5,3.358-7.5,7.5s3.357,7.5,7.5,7.5h205.873c4.143,0,7.5-3.358,7.5-7.5
433		S319.579,260,315.437,260z"/>
434	<path d="M315.437,300H232.5c-4.143,0-7.5,3.358-7.5,7.5s3.357,7.5,7.5,7.5h82.937c4.143,0,7.5-3.358,7.5-7.5
435		S319.579,300,315.437,300z"/>
436	<path d="M365.437,0H129.563c-0.251,0-0.501,0.013-0.749,0.038c-0.184,0.019-0.365,0.05-0.545,0.082
437		c-0.06,0.011-0.122,0.016-0.182,0.028c-0.215,0.043-0.425,0.098-0.632,0.159c-0.025,0.008-0.052,0.012-0.077,0.02
438		c-0.212,0.064-0.419,0.141-0.623,0.223c-0.022,0.009-0.044,0.015-0.066,0.024c-0.195,0.081-0.383,0.172-0.569,0.269
439		c-0.031,0.016-0.064,0.029-0.094,0.045c-0.173,0.093-0.339,0.196-0.504,0.301c-0.042,0.027-0.086,0.049-0.127,0.077
440		c-0.154,0.103-0.3,0.216-0.446,0.33c-0.048,0.038-0.098,0.07-0.145,0.109c-0.173,0.142-0.338,0.293-0.498,0.451
441		c-0.015,0.015-0.031,0.027-0.046,0.042l-70,70c-0.018,0.018-0.033,0.039-0.051,0.057c-0.153,0.156-0.301,0.317-0.44,0.486
442		c-0.044,0.054-0.082,0.112-0.125,0.167c-0.108,0.138-0.215,0.277-0.313,0.423c-0.033,0.049-0.06,0.101-0.092,0.151
443		c-0.1,0.157-0.199,0.315-0.287,0.48c-0.02,0.037-0.035,0.075-0.054,0.112c-0.093,0.181-0.182,0.363-0.261,0.552
444		c-0.011,0.026-0.019,0.054-0.03,0.081c-0.08,0.2-0.155,0.402-0.218,0.61c-0.008,0.026-0.013,0.053-0.021,0.08
445		c-0.061,0.207-0.116,0.416-0.158,0.63c-0.012,0.059-0.017,0.119-0.027,0.178c-0.032,0.182-0.064,0.363-0.082,0.549
446		c-0.025,0.248-0.038,0.498-0.038,0.749v380c0,4.142,3.357,7.5,7.5,7.5h305.873c4.143,0,7.5-3.358,7.5-7.5V7.5
447		C372.937,3.358,369.579,0,365.437,0z M122.063,25.606V70H77.67L122.063,25.606z M357.937,450H67.063V85h62.5
448		c4.143,0,7.5-3.358,7.5-7.5V15h220.873V450z"/>
449	<path d="M159.563,85h155.873c4.143,0,7.5-3.358,7.5-7.5s-3.357-7.5-7.5-7.5H159.563c-4.143,0-7.5,3.358-7.5,7.5
450		S155.421,85,159.563,85z"/>
451	<path d="M315.437,180H232.5c-4.143,0-7.5,3.358-7.5,7.5s3.357,7.5,7.5,7.5h82.937c4.143,0,7.5-3.358,7.5-7.5
452		S319.579,180,315.437,180z"/>
453	<path d="M315.437,220H232.5c-4.143,0-7.5,3.358-7.5,7.5s3.357,7.5,7.5,7.5h82.937c4.143,0,7.5-3.358,7.5-7.5
454		S319.579,220,315.437,220z"/>
455	<path d="M192.5,315c4.143,0,7.5-3.358,7.5-7.5s-3.357-7.5-7.5-7.5h-82.937c-4.143,0-7.5,3.358-7.5,7.5v80
456		c0,4.142,3.357,7.5,7.5,7.5H192.5c4.143,0,7.5-3.358,7.5-7.5v-50c0-4.142-3.357-7.5-7.5-7.5s-7.5,3.358-7.5,7.5V380h-67.937v-65
457		H192.5z"/>
458	<path d="M109.563,235H192.5c4.143,0,7.5-3.358,7.5-7.5s-3.357-7.5-7.5-7.5h-82.937c-4.143,0-7.5,3.358-7.5,7.5
459		S105.421,235,109.563,235z"/>
460	<path d="M265.437,380H232.5c-4.143,0-7.5,3.358-7.5,7.5s3.357,7.5,7.5,7.5h32.937c4.143,0,7.5-3.358,7.5-7.5
461		S269.579,380,265.437,380z"/>
462	<path d="M315.437,340H232.5c-4.143,0-7.5,3.358-7.5,7.5s3.357,7.5,7.5,7.5h82.937c4.143,0,7.5-3.358,7.5-7.5
463		S319.579,340,315.437,340z"/>
464	<path d="M109.563,195H192.5c4.143,0,7.5-3.358,7.5-7.5s-3.357-7.5-7.5-7.5h-82.937c-4.143,0-7.5,3.358-7.5,7.5
465		S105.421,195,109.563,195z"/>
466</g></svg>
467								Создать статью
468							</a>
469						</li>
470										 
471						<li class="hide_up_imp">
472							<a href="https://mabiab.com/upload-video" data-load="?link1=upload-video">
473								<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
473<path fill-rule="evenodd" clip-rule="evenodd" d="M7 10.25L6.96421 10.25C6.05997 10.25 5.33069 10.25 4.7424 10.3033C4.13605 10.3583 3.60625 10.4746 3.125 10.7524C2.55493 11.0815 2.08154 11.5549 1.7524 12.125C1.47455 12.6063 1.35826 13.1361 1.3033 13.7424C1.24998 14.3307 1.24999 15.06 1.25 15.9642L1.25 15.9642L1.25 16L1.25 16.0358L1.25 16.0358C1.24999 16.94 1.24998 17.6693 1.3033 18.2576C1.35826 18.8639 1.47455 19.3937 1.7524 19.875C2.08154 20.4451 2.55493 20.9185 3.125 21.2476C3.60625 21.5254 4.13605 21.6417 4.7424 21.6967C5.33067 21.75 6.05992 21.75 6.96412 21.75L6.96418 21.75L7 21.75L17 21.75L17.0357 21.75C17.94 21.75 18.6693 21.75 19.2576 21.6967C19.8639 21.6417 20.3937 21.5254 20.875 21.2476C21.4451 20.9185 21.9185 20.4451 22.2476 19.875C22.5254 19.3937 22.6417 18.8639 22.6967 18.2576C22.75 17.6693 22.75 16.94 22.75 16.0358L22.75 16L22.75 15.9642C22.75 15.06 22.75 14.3307 22.6967 13.7424C22.6417 13.1361 22.5254 12.6063 22.2476 12.125C21.9185 11.5549 21.4451 11.0815 20.875 10.7524C20.3937 10.4746 19.8639 10.3583 19.2576 10.3033C18.6693 10.25 17.94 10.25 17.0358 10.25L17 10.25L16 10.25C15.5858 10.25 15.25 10.5858 15.25 11C15.25 11.4142 15.5858 11.75 16 11.75L17 11.75C17.9484 11.75 18.6096 11.7507 19.1222 11.7972C19.6245 11.8427 19.9101 11.9274 20.125 12.0514C20.467 12.2489 20.7511 12.533 20.9486 12.875C21.0726 13.0899 21.1573 13.3755 21.2028 13.8778C21.2493 14.3904 21.25 15.0516 21.25 16C21.25 16.9484 21.2493 17.6096 21.2028 18.1222C21.1573 18.6245 21.0726 18.9101 20.9486 19.125C20.7511 19.467 20.467 19.7511 20.125 19.9486C19.9101 20.0726 19.6245 20.1573 19.1222 20.2028C18.6096 20.2493 17.9484 20.25 17 20.25L7 20.25C6.05158 20.25 5.39041 20.2493 4.87779 20.2028C4.37549 20.1573 4.0899 20.0726 3.875 19.9486C3.53296 19.7511 3.24892 19.467 3.05144 19.125C2.92737 18.9101 2.8427 18.6245 2.79718 18.1222C2.75072 17.6096 2.75 16.9484 2.75 16C2.75 15.0516 2.75072 14.3904 2.79718 13.8778C2.84271 13.3755 2.92737 13.0899 3.05144 12.875C3.24892 12.533 3.53296 12.2489 3.875 12.0514C4.0899 11.9274 4.37549 11.8427 4.87779 11.7972C5.39041 11.7507 6.05158 11.75 7 11.75L8 11.75C8.41421 11.75 8.75 11.4142 8.75 11C8.75 10.5858 8.41421 10.25 8 10.25L7 10.25ZM16.5303 6.46967L12.5303 2.46967C12.2374 2.17678 11.7626 2.17678 11.4697 2.46967L7.46967 6.46967C7.17678 6.76256 7.17678 7.23744 7.46967 7.53033C7.76256 7.82322 8.23744 7.82322 8.53033 7.53033L11.25 4.81066L11.25 16C11.25 16.4142 11.5858 16.75 12 16.75C12.4142 16.75 12.75 16.4142 12.75 16L12.75 4.81066L15.4697 7.53033C15.7626 7.82322 16.2374 7.82322 16.5303 7.53033C16.8232 7.23744 16.8232 6.76256 16.5303 6.46967Z" fill="#2196f3"/></svg>
474								Загрузить
475							</a>
476						</li>
477										 
478						<li class="hide_up_imp">
479							<a href="https://mabiab.com/import-video" data-load="?link1=import-video">
480								<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill-rule="evenodd" clip-rule="evenodd" d="M12.75 3.00008C12.75 2.58586 12.4142 2.25008 12 2.25008C11.5858 2.25008 11.25 2.58586 11.25 3.00008V15.1894L8.53033 12.4697C8.23744 12.1769 7.76256 12.1769 7.46967 12.4697C7.17678 12.7626 7.17678 13.2375 7.46967 13.5304L11.4697 17.5304C11.6103 17.6711 11.8011 17.7501 12 17.7501C12.1989 17.7501 12.3897 17.6711 12.5303 17.5304L16.5303 13.5304C16.8232 13.2375 16.8232 12.7626 16.5303 12.4697C16.2374 12.1769 
48015.7626 12.1769 15.4697 12.4697L12.75 15.1894V3.00008ZM7.5 8.25H7.45481C6.32039 8.24999 5.4057 8.24998 4.67621 8.33222C3.92193 8.41726 3.27341 8.59809 2.71713 9.02494C2.45714 9.22444 2.22443 9.45716 2.02493 9.71714C1.59808 10.2734 1.41725 10.922 1.33221 11.6762C1.24997 12.4057 1.24999 13.3204 1.25 14.4548V14.5V15V15.0549C1.24998 16.4225 1.24996 17.5248 1.36652 18.3918C1.48754 19.2919 1.74643 20.0497 2.34835 20.6517C2.95027 21.2536 3.70814 21.5125 4.60825 21.6335C5.4752 21.75 6.57751 21.75 7.94507 21.75H8H16H16.0548C17.4224 21.75 18.5248 21.7501 19.3918 21.6335C20.2919 21.5125 21.0497 21.2536 21.6516 20.6517C22.2536 20.0497 22.5125 19.2919 22.6335 18.3918C22.75 17.5248 22.75 16.4225 22.75 15.0549V15V14.5V14.4548C22.75 13.3204 22.75 12.4057 22.6678 11.6762C22.5828 10.922 22.4019 10.2734 21.9751 9.71714C21.7756 9.45716 21.5429 9.22444 21.2829 9.02495C20.7266 8.59809 20.0781 8.41726 19.3238 8.33222C18.5943 8.24998 17.6796 8.24999 16.5452 8.25H16.5452H16.5L16.5 9L16.5 8.25L16 8.25002C15.5858 8.25003 15.25 8.58582 15.25 9.00004C15.25 9.41425 15.5858 9.75003 16 9.75002L16.5 9.75H16.5C17.6902 9.75 18.5201 9.75112 19.1558 9.82278C19.7763 9.89274 20.1181 10.0219 20.3697 10.215C20.5257 10.3347 20.6653 10.4743 20.785 10.6303C20.9781 10.8819 21.1073 11.2238 21.1772 11.8443C21.2489 12.4799 21.25 13.3098 21.25 14.5V15C21.25 16.4354 21.2484 17.4365 21.1469 18.1919C21.0482 18.9257 20.8678 19.3142 20.591 19.591C20.3142 19.8678 19.9257 20.0482 19.1919 20.1469C18.4365 20.2484 17.4354 20.25 16 20.25H8C6.56458 20.25 5.56347 20.2484 4.80812 20.1469C4.07435 20.0482 3.68577 19.8678 3.40901 19.591C3.13225 19.3142 2.9518 18.9257 2.85315 18.1919C2.75159 17.4365 2.75 16.4354 2.75 15V14.5C2.75 13.3098 2.75112 12.4799 2.82277 11.8443C2.89273 11.2238 3.02187 10.8819 3.21496 10.6303C3.33466 10.4743 3.47429 10.3347 3.63028 10.215C3.88192 10.0219 4.22375 9.89273 4.84425 9.82278C5.47986 9.75112 6.30976 9.75 7.49998 9.75H7.5L7.99998 9.75002C8.41419 9.75003 8.74999 9.41425 8.75 9.00004C8.75001 8.58582 8.41424 8.25003 8.00002 8.25002L7.50002 8.25L7.5 9L7.5 8.25Z" fill="#4caf50"/></svg>
481								Импортировать
482							</a>
483						</li>
484																	</ul>
485		</li>
486			
487		<li class="show-in-mobile top-header">
488			<a href="#" class="search-icon"><svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M3.75 11C3.75 6.99594 6.99594 3.75 11 3.75C15.0041 3.75 18.25 6.99594 18.25 11C18.25 15.0041 15.0041 18.25 11 18.25C6.99594 18.25 3.75 15.0041 3.75 11ZM11 2.25C6.16751 2.25 2.25 6.16751 2.25 11C2.25 15.8325 6.16751 19.75 11 19.75C13.1462 19.75 15.112 18.9773 16.6342 17.6949L19.4697 20.5303C19.7626 20.8232 20.2374 20.8232 20.5303 20.5303C20.8232 20.2374 20.8232 19.7626 20.5303 19.4697L17.6949 16.6342C18.9773 15.112 19.75 13.1462 19.75 11C19.75 6.16751 15.8325 2.25 11 2.25Z" fill="currentColor"/></svg></a>
489		</li>
490				<li class="dropdown hide-from-mobile profile-nav">
491	<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">
492		<span class="hide_hdr_usr_name">&nbsp;&nbsp;Мой Аккаунт&nbsp;&nbsp;</span><svg class="auth" width="26" height="26" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"> <path fill-rule="evenodd" clip-rule="evenodd" d="M22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12ZM11.3333 12C9.49238 12 8 13.4924 8 15.3333C8 16.2538 8.74619 17 9.66667 17H14.3333C15.2538 17 16 16.2538 16 15.3333C16 13.4924 14.5076 12 12.6667 12H11.3333ZM12 10C13.1046 10 14 9.10457 14 8C14 6.89543 13.1046 6 12 6C10.8954 6 10 6.89543 10 8C10 9.10457 10.8954 10 12 10Z" fill="currentColor"/> </svg> <svg width="21" height="21" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M12 7C13.1 7 14 6.1 14 5C14 3.9 13.1 3 12 3C10.9 3 10 3.9 10 5C10 6.1 10.9 7 12 7ZM12 10C10.9 10 10 10.9 10 12C10 13.1 10.9 14 12 14C13.1 14 14 13.1 14 12C14 10.9 13.1 10 12 10ZM10 19C10 17.9 10.9 17 12 17C13.1 17 14 17.9 14 19C14 20.1 13.1 21 12 21C10.9 21 10 20.1 10 19Z" fill="currentColor"/></svg>
493	</a>
494	<ul class="dropdown-menu dropdown-menu-right ani_log_menu" role="menu">
495									<li>
496					<div class="toggle-mode">
497						<label class="switch">
498							<input type="checkbox"  id="toggle-mode">
499							<span class="slider">
500								<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"> <path fill-rule="evenodd" clip-rule="evenodd" d="M5.75 9C5.75 5.54822 8.54822 2.75 12 2.75C15.4518 2.75 18.25 5.54822 18.25 9C18.25 10.6664 17.5988 12.1791 16.5355 13.3002C15.7338 14.1455 14.8913 15.1981 14.49 16.4347C14.4575 16.4543 14.4173 16.4781 14.3701 16.5051C14.2232 16.589 14.0116 16.7019 13.7579 16.8146C13.2374 17.046 12.5989 17.25 12.0002 17.25C11.4014 17.25 10.7628 17.046 10.2422 16.8146C9.98848 16.7019 9.77682 16.589 9.62992 16.505C9.58272 16.4781 9.54251 16.4543 9.51004 16.4346C9.10872 15.1981 8.2662 14.1455 7.46448 13.3002C6.40119 12.1791 5.75 10.6664 5.75 9ZM9.7
5005 18.2363C10.346 18.49 11.1557 18.75 12.0002 18.75C12.8445 18.75 13.6541 18.4901 14.25 18.2363V19C14.25 20.2426 13.2426 21.25 12 21.25C10.7574 21.25 9.75 20.2426 9.75 19V18.2363ZM12 1.25C7.71979 1.25 4.25 4.71979 4.25 9C4.25 11.0656 5.0591 12.9438 6.37615 14.3325C7.44473 15.4591 8.25 16.6431 8.25 17.9109V19C8.25 21.0711 9.92893 22.75 12 22.75C14.0711 22.75 15.75 21.0711 15.75 19V17.9109C15.75 16.6431 16.5553 15.4591 17.6238 14.3325C18.9409 12.9438 19.75 11.0656 19.75 9C19.75 4.71979 16.2802 1.25 12 1.25Z" fill="currentColor"/> </svg> Режим
501							</span>
502						</label>
503					</div>
504				</li>
505				<li class="divider"></li>
506							<li><a href="https://mabiab.com/login" data-toggle="modal" data-target="#loginbox"><svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"> <path fill-rule="evenodd" clip-rule="evenodd" d="M13.5302 7.46972C13.2374 7.17683 12.7625 7.17683 12.4696 7.46972C12.1767 7.76261 12.1767 8.23749 12.4696 8.53038L15.1893 11.2501L2.99991 11.2501C2.5857 11.2501 2.24991 11.5858 2.24991 12.0001C2.24991 12.4143 2.5857 12.7501 2.99991 12.7501L15.1893 12.7501L12.4696 15.4697C12.1767 15.7626 12.1767 16.2375 12.4696 16.5304C12.7625 16.8233 13.2374 16.8233 13.5302 16.5304L17.5302 12.5304C17.8231 12.2375 17.8231 11.7626 17.5302 11.4697L13.5302 7.46972ZM15 2.74997C16.4354 2.74997 17.4365 2.75156 18.1919 2.85312C18.9257 2.95177 19.3142 3.13222 19.591 3.40898C19.8678 3.68574 20.0482 4.07432 20.1469 4.80809C20.2484 5.56344 20.25 6.56456 20.25 7.99997L20.25 16C20.25 17.4354 20.2484 18.4365 20.1469 19.1918C20.0482 19.9256 19.8678 20.3142 19.591 20.591C19.3142 20.8677 18.9257 21.0482 18.1919 21.1468C17.4365 21.2484 16.4354 21.25 15 21.25L12.5 21.25C11.3098 21.25 10.4799 21.2489 9.84426 21.1772C9.22377 21.1072 8.88194 20.9781 8.6303 20.785C8.47429 20.6653 8.33465 20.5257 8.21495 20.3697C8.02186 20.118 7.89272 19.7762 7.82277 19.1557C7.75112 18.5201 7.75 17.6902 7.75 16.5L7.75 16C7.75 15.5858 7.41422 15.25 7 15.25C6.58579 15.25 6.25 15.5858 6.25 16L6.25 16.5L6.25 16.5452C6.24999 17.6796 6.24997 18.5943 6.33221 19.3237C6.41724 20.078 6.59807 20.7265 7.02491 21.2828C7.22442 21.5428 7.45716 21.7756 7.71717 21.9751C8.27345 22.4019 8.92196 22.5827 9.67622 22.6678C10.4057 22.75 11.3204 22.75 12.4548 22.75L12.5 22.75L15 22.75L15.0549 22.75C16.4225 22.75 17.5248 22.75 18.3918 22.6334C19.2919 22.5124 20.0497 22.2535 20.6516 21.6516C21.2536 21.0497 21.5125 20.2918 21.6335 19.3917C21.75 18.5248 21.75 17.4225 21.75 16.055L21.75 16.0549L21.75 16L21.75 7.99997L21.75 7.94513C21.75 6.57752 21.75 5.47519 21.6335 4.60822C21.5125 3.70811 21.2536 2.95024 20.6517 2.34832C20.0497 1.7464 19.2919 1.48751 18.3918 1.36649C17.5248 1.24993 16.4225 1.24995 15.0549 1.24997L15 1.24997L12.5 1.24997L12.4548 1.24997L12.4548 1.24997C11.3204 1.24996 10.4057 1.24994 9.67622 1.33219C8.92194 1.41722 8.27341 1.59805 7.71712 2.02491C7.45714 2.22441 7.22443 2.45711 7.02494 2.71709C6.59808 3.27338 6.41725 3.92191 6.33222 4.67619C6.24997 5.40569 6.24999 6.32038 6.25 7.45481L6.25 7.5L6.25 7.99997C6.25 8.41418 6.58579 8.74997 7 8.74997C7.41421 8.74997 7.75 8.41418 7.75 7.99997L7.75 7.5C7.75 6.30976 7.75112 5.47984 7.82277 4.84422C7.89273 4.22372 8.02187 3.88188 8.21497 3.63024C8.33466 3.47426 8.47429 3.33463 8.63027 3.21494C8.88191 3.02184 9.22375 2.8927 9.84426 2.82274C10.4799 2.75108 11.3098 2.74997 12.5 2.74997L15 2.74997Z" fill="currentColor"/> </svg> Авторизоваться</a></li>
507					<li><a href="https://mabiab.com/register" data-toggle="modal" data-target="#registerbox"><svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"> <path fill-rule="evenodd" clip-rule="evenodd" d="M9 3.75C7.20507 3.75 5.75 5.20507 5.75 7C5.75 8.79493 7.20507 10.25 9 10.25C10.7949 10.25 12.25 8.79493 12.25 7C12.25 5.20507 10.7949 3.75 9 3.75ZM4.25 7C4.25 4.37665 6.37665 2.25 9 2.25C11.6234 2.25 13.75 4.37665 13.75 7C13.75 9.62335 11.6234 11.75 9 11.75C6.37665 11.75 4.25 9.62335 4.25 7ZM6 15.75C4.20507 15.75 2.75 17.2051 2.75 19C2.75 19.6904 3.30964 20.25 4 20.25H14C14.6904 20.25 15.25 19.6904 15.25 19C15.25 17.2051 13.7949 15.75 12 15.75H6ZM1.25 19C1.25 16.3766 3.37665 14.25 6 14.25H12C14.6234 14.25 16.75 16.3766 16.75 19C16.75 20.5188 15.5188 21.75 14 21.75H4C2.48122 21.75 1.25 20.5188 1.25 19ZM20.75 7C20.75 6.58579 20.4142 6.25 20 6.25C19.5858 6.25 19.25 6.58579 19.25 7V9.25H17C16.5858 9.25 16.25 9.58579 16.25 10C16.25 10.4142 16.5858 10.75 17 10.75H19.25V13C19.25 13.4142 19.5858 13.75 20 13.75C20.4142 13.75 20.75 13.4142 20.75 13V10.75H23C23.4142 10.75 23.75 10.4142 23.75 10C23.75 9.58579 23.4142 9.25 23 9.25H20.75V7Z" fill="currentColor"/> </svg> Регистрация</a></li>
508			</ul>
509</li>
510
511
512
513		<li class="show-in-mobile dropdown top-header friend-icon">
514			<a href="javascript:void(0);" onclick="toggleMobileFriendsChat();">
515				<svg width="24" height="24" viewBox="0 0 24 24" fill="none">
516					<path fill="currentColor" d="M16 11c1.66 0 2.99-1.34 2.99-3S17.66 5 16 5c-1.66 0-3 1.34-3 3s1.34 3 3 3zm-8 0c1.66 0 2.99-1.34 2.99-3S9.66 5 8 5C6.34 5 5 6.34 5 8s1.34 3 3 3zm0 2c-2.33 0-7 1.17-7 3.5V19h14v-2.5c0-2.33-4.67-3.5-7-3.5zm8 0c-.29 0-.62.02-.97.05 1.16.84 1.97 1.97 1.97 3.45V19h6v-2.5c0-2.33-4.67-3.5-7-3.5z"/>
517				</svg>
518			</a>
519		</li>
520	</ul>
521</nav>
522
523<nav class="navbar navbar-findcond navbar-fixed-top hidden search-bar">
524    <div class="container-fluid">
525		<form class="search-header-mobile" role="search" action="https://mabiab.com/search" method="GET">
526			<div class="form-group">
527				<input type="text" class="form-control" id="search-bar-mobile" name="keyword" placeholder="Поиск видео" autocomplete="off" value="" autofocus>
528				<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-search"><circle cx="11" cy="11" r="8"></circle><line x1="21" y1="21" x2="16.65" y2="16.65"></line></svg>
529			</div>
530			<div class="search-dropdown hidden"></div>
531		</form>
532	</div>
533</nav>
534
535
536<script>
537$('.search-icon').on('click', function(event) {
538	event.preventDefault();
539	$('.search-bar').toggleClass('hidden');
540});
541
542$('#open_slide').on('click', function(event) {
543	event.preventDefault();
544	$('body').toggleClass('side_open');
545});
546
547current_width = $(window).width();
548if(current_width <= 1251) {
549    $('#open_slide').on('click', function(event) {
550		$('body').addClass('mobi_side_open');
551	});
552}
553
554//$('.sidenav-overlay').on('click', function() {
555//	$('body').removeClass('side_open');
556//});
557
558$('#search-bar').keyup(function(event) {
559	var search_value = $(this).val();
560	var search_dropdown = $('.search-dropdown');
561	if (search_value == '') {
562		search_dropdown.addClass('hidden');
563		search_dropdown.empty();
564		return false;
565	} else {
566		search_dropdown.removeClass('hidden');
567	}
568    $.post('https://mabiab.com/aj/search', {search_value: search_value}, function(data, textStatus, xhr) {
569    	if (data.status == 200) {
570    		search_dropdown.html(data.html);
571    	} else {
572	       search_dropdown.addClass('hidden');
573		   search_dropdown.empty();
574		   return false;
575    	}
576    });
577});
578
579jQuery(document).click(function(event){
580    if (!(jQuery(event.target).closest(".search-dropdown").length)) {
581        jQuery('.search-dropdown').addClass('hidden');
582    }
583});
584</script>
584
585         <div class="clear"></div>
586      </header>
587            <div class="yp_side_menu has_side_menu ">
588         <div id="main-container" class="container              main-content" >
589                  <div class="ads-placment" id="header_ad_"></div>
590                  <div class="announcement-renderer">
591            
592         </div>
593         <div id="container_content">
594            <div class="content pt_shadow">
595   <div class="wo_terms_page red-list">
596      <h3><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-file"><path d="M13 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V9z"></path><polyline points="13 2 13 9 20 9"></polyline></svg> О МАБ</h3>
597      <p class="setting-well">
598        <div class="row" style="margin-top: 50px;">
599  <div class="col col-sm-12 col-md-12 col-lg-12">
600    <h4 style="padding-left: 50px; padding-bottom:25px;">Международная Ассоциация Блогеров</h4>
601    <div class="panel panel-default">
602        <div class="panel-body">
603          <video style="width: 100%;" autoplay="autoplay" loop="loop">
604	   <source src="/upload/pages/about/flag-mab.mp4" type="video/mp4">
605         </video>
606       </div>
607    </div>
608  </div>
609</div>
610<div class="row">
611  <div  class="col col-sm-12 col-md-12 col-lg-12">
612    <h3 style="padding-left: 50px; padding-bottom:25px;">Устав МАБ</h3>
613    <div class="col col-md-6 col-sm-12  col-md-offset-3">
614<ul class="list-group">
615  <li class="list-group-item"><a href="/upload/pages/about/chapter_ru.pdf" target="_blank">Устав на русском языке</a></li>
616  <li class="list-group-item"><a href="/upload/pages/about/chapter_en.pdf" target="_blank">Устав на английском языке</a></li>
617  <li class="list-group-item"><a href="/upload/pages/about/chapter_de.pdf" target="_blank">Устав на немецком языке</a></li>
618  <li class="list-group-item"><a href="/upload/pages/about/chapter_es.pdf" target="_blank">Устав на испанском языке</a></li>
619  <li class="list-group-item"><a href="/upload/pages/about/chapter_it.pdf" target="_blank">Устав на итальянском языке</a></li>
620  <li class="list-group-item"><a href="/upload/pages/about/chapter_arm.pdf" target="_blank">Устав на армянском языке</a></li>
621</ul>
622    </div>
623  </div>
624</div>
625<div class="row">
626  <div>
627  <h3 style="padding-left: 50px; padding-bottom:25px;">Президент МАБ</h3>
628  <div class="col col-sm-12 col-md-6  col-md-offset-3">
629  <div class="thumbnail">
630<img style="width: 100%;" data-src="/upload/pages/team/yevloyev-nazir.png" alt="Евлоев Назир">
631  </div>
632    <div class="clear"></div>
633    <p style="font-size: 150%;"><a href="#nazir-yevloyev">Евлоев Назир</a></p>
634  </div>
635  </div>
636</div>
637<div class="row">
638  
639  <h3 style="padding-left: 50px; padding-bottom:25px;">Высший совет</h3>
640  <div class="col col-sm-12 col-md-10 col-md-offset-1">
641 <p style="margin-bottom: 25px;">Высшим руководящим органом МАБ является общее собрание членов Высшего Совета МАБ. Общее собрание членов Высшего Совета созывается по мере необходимости, но не реже двух раз в год. Заседание общего собрания правомочно, если на нем присутствует более половины членов Высшего Совета МАБ. Решения принимаются открытым голосованием.</p>
642
643
644  </div>
645  <div class="col col-sm-6 col-md-2">
646    <div class="thumbnail" style="width: 100%;">
647      <img style="width: 100%;" data-src="/upload/pages/about/vladimir-mamontov.png" alt="Владимир МАМОНТОВ">
648    </div>
649    <p><strong><a href="#vladimir-mamontov">Владимир МАМОНТОВ</a></strong></p>
650  </div>
651  <div class="col col-sm-6 col-md-2">
652    <div class="thumbnail" style="width: 100%;">
653      <img style="width: 100%;" data-src="/upload/pages/about/fedor-konyuhov.png" alt="Фёдор КОНЮХОВ">
654    </div>
655    <p><strong><a href="#fedor-knyuhov">Фёдор КОНЮХОВ</a></strong></p>
656  </div>
657  <div class="col col-sm-6 col-md-2">
658    <div class="thumbnail" style="width: 100%;">
659      <img style="width: 100%;" data-src="/upload/pages/about/vladimir-anikovich.png" alt="Владимир АНИКОВИЧ">
660    </div>
661    <p><strong><a href="#vladimir-anikovich">Владимир АНИКОВИЧ</a></strong></p>
662  </div>
663  <div class="col col-sm-6 col-md-2">
664    <div class="thumbnail" style="width: 100%;">
665      <img style="width: 100%;" data-src="/upload/pages/about/vladislav-nesterov.png" alt="Владислав НЕСТЕРОВ">
666    </div>
667    <p><strong><a href="#vladislav-nesterov">Владислав НЕСТЕРОВ</a></strong></p>
668  </div>
669  <div class="col col-sm-6 col-md-2">
670    <div class="thumbnail" style="width: 100%;">
671      <img style="width: 100%;" data-src="/upload/pages/about/ivan-kononov.png" alt="Иван КОНОНОВ">
672    </div>
673    <p><strong><a href="#ivan-kononov">Иван КОНОНОВ</a></strong></p>
674  </div>
675  <div class="col col-sm-6 col-md-2">
676    <div class="thumbnail" style="width: 100%;">
677      <img style="width: 100%;" data-src="/upload/pages/about/kris-roman.png" alt="Крис РОМАН">
678    </div>
679    <p><strong><a href="#kris-roman">Крис РОМАН</a></strong></p>
680  </div>
681  <div class="clear"></div>
682  
683
684  <div class="col col-sm-6 col-md-2">
685    <div class="thumbnail" style="width: 100%;">
686      <img style="width: 100%;" data-src="/upload/pages/about/fridrih-moller.png" alt="Фридрих Мёллер">
687    </div>
688    <p><strong><a href="#fridrih-moller">Фридрих МЁЛЛЕР</a></strong></p>
689  </div>
690  <div class="col col-sm-6 col-md-2">
691    <div class="thumbnail" style="width: 100%;">
692      <img style="width: 100%;" data-src="/upload/pages/about/yurij-zbitnev.png" alt="Юрий ЗБИТНЕВ">
693    </div>
694    <p><strong><a href="#yurij-zbitnev">Юрий ЗБИТНЕВ</a></strong></p>
695  </div>
696  <div class="col col-sm-6 col-md-2">
697    <div class="thumbnail" style="width: 100%;">
698      <img style="width: 100%;" data-src="/upload/pages/about/leontij-hachaturov.png" alt="Леонтий ХАЧАТУРОВ">
699    </div>
700    <p><strong><a href="#leontij-hachaturov">Леонтий ХАЧАТУРОВ</a></strong></p>
701  </div>
702  <div class="col col-sm-6 col-md-2">
703    <div class="thumbnail" style="width: 100%;">
704      <img style="width: 100%;" data-src="/upload/pages/about/elena-volohova.png" alt="Елена ВОЛОХОВА">
705    </div>
706    <p><strong><a href="#elena-volohova">Елена ВОЛОХОВА</a></strong></p>
707  </div>
708  <div class="col col-sm-6 col-md-2">
709    <div class="thumbnail" style="width: 100%;">
710      <img style="width: 100%;" data-src="/upload/pages/about/igor-shatrov.png" alt="Игорь ШАТРОВ">
711    </div>
712    <p><strong><a href="#igor-shatrov">Игорь ШАТРОВ</a></strong></p>
713  </div>
714  <div class="col col-sm-6 col-md-2">
715    <div class="thumbnail" style="width: 100%;">
716      <img style="width: 100%;" data-src="/upload/pages/about/irina-vihoreva.png" alt="Ирина ВИХОРЕВА">
717    </div>
718    <p><strong><a href="#irina-vihoreva">Ирина ВИХОРЕВА</a></strong></p>
719  </div>
720<div class="clear"></div>
721  <div class="col col-sm-6 col-md-2">
722    <div class="thumbnail" style="width: 100%;">
723      <img style="width: 100%;" data-src="/upload/pages/about/valery-hiltunen.png" alt="Валерий ХИЛТУНЕН">
724    </div>
725    <p><strong><a href="#valery-hiltunen">Валерий ХИЛТУНЕН</a></strong></p>
726  </div>
727  <div class="col col-sm-6 col-md-2">
728    <div class="thumbnail" style="width: 100%;">
729      <img style="width: 100%;" data-src="/upload/pages/about/emmanuil-vitorgan.jpg" alt="Эммануил ВИТОРГАН">
730    </div>
731    <p><strong><a href="#emmanuil-vitorgan">Эммануил ВИТОРГАН</a></strong></p>
732  </div>
733</div>
734
735<div class="row">
736  
737  <h3 style="padding-left: 50px; padding-bottom:25px;">Почетные члены МАБ</h3>
738  <div class="col col-sm-12 col-md-10 col-md-offset-1">
739<p>В этом списке отмечены люди, которые сделали неоценимый вклад для развития МАБа. </p>
740<p style="margin-bottom: 25px;" >Они награждаются медалью «Почетный член МАБ». Медали сделаны по специально разработанному дизайну.</p>
741  </div>
742  <div class="col col-sm-6 col-md-2">
743    <div class="thumbnail" style="width: 100%;">
744      <img style="width: 100%;" data-src="/upload/pages/about/vladimir-anikovich.png" alt="Владимир АНИКОВИЧ">
745    </div>
746    <p><strong><a href="#vladimir-anikovich">Владимир АНИКОВИЧ</a></strong></p>
747  </div>
748  <div class="col col-sm-6 col-md-2">
749    <div class="thumbnail" style="width: 100%;">
750      <img style="width: 100%;" data-src="/upload/pages/about/aleksandr-amaryan.png" alt="Александр АМАРЯН">
751    </div>
752    <p><strong><a href="#aleksandr-amaryan">Александр АМАРЯН</a></strong></p>
753  </div>
754  <div class="col col-sm-6 col-md-2">
755    <div class="thumbnail" style="width: 100%;">
756      <img style="width: 100%;" data-src="/upload/pages/about/lybov-garshina.png" alt="Любовь ГАРШИНА-ДЮРАМ">
757    </div>
758    <p><strong><a href="#lyubov-garshina">Любовь ГАРШИНА-ДЮРАМ</a></strong></p>
759  </div>
760  <div class="col col-sm-6 col-md-2">
761    <div class="thumbnail" style="width: 100%;">
762      <img style="width: 100%;" data-src="/upload/pages/about/yurij-zbitnev.png" alt="Юрий ЗБИТНЕВ">
763    </div>
764    <p><strong><a href="#yurij-zbitnev">Юрий ЗБИТНЕВ</a></strong></p>
765  </div>
766  <div class="col col-sm-6 col-md-2">
767    <div class="thumbnail" style="width: 100%;">
768      <img style="width: 100%;" data-src="/upload/pages/about/vladislav-nesterov.png" alt="Владислав НЕСТЕРОВ">
769    </div>
770    <p><strong><a href="#vladislav-nesterov">Владислав НЕСТЕРОВ</a></strong></p>
771  </div>
772  <div class="col col-sm-6 col-md-2">
773    <div class="thumbnail" style="width: 100%;">
774      <img style="width: 100%;" data-src="/upload/pages/about/ivan-kononov.png" alt="Иван КОНОНОВ">
775    </div>
776    <p><strong><a href="#ivan-kononov">Иван КОНОНОВ</a></strong></p>
777  </div>
778
779</div>
780
781<div class="row">
782  <div>
783  <h3 style="padding-left: 50px; padding-bottom:25px;">Герб МАБ</h3>
784  <div class="col col-sm-12 col-md-6  col-md-offset-3">
785  <div class="thumbnail">
786<img style="width: 100%;" data-src="/upload/pages/about/gerb-mab.png" alt="Герб МАБ">
787  </div>
788    <div class="clear"></div>
789  </div>
790  </div>
791</div>
792
793<div class="row">
794    <h3 style="padding-left: 50px; padding-bottom: 25px;">Персоналии</h3>
795  <div class="col col-sm-12 col-md-10 col-md-offset-1">
796
797
798
799<p><strong><a id="nazir-yevloyev">Назир Евлоев</a></strong></p>
800<p>
801Экономист, Журналист, Юрист.
802</p>
803<p>
804Всем желаю самого главного - МИРА! Ничего лучше мира на земле нет. (Россия, Германия)
805</p>
806
807<p><strong><a id="vladimir-mamontov">Влади́мир Мамонтов</a></strong></p>
808<p>
809Советский и российский журналист.
810</p>
811<p>
812Гендиректор в «Говорит Москва». Гендиректор Фонда «Разумный Интернет». Работал Главред.
813</p>
814<p>
815 Президент компании «Газета «Известия»». (Россия)
816
817</p>
818
819<p><strong><a id="fedor-konyuhov">Фёдор Конюхов</a></strong></p>
820<p>
821Российский путешественник, писатель, художник, пилот свободного аэростата, священник Украинской православной церкви (Московского патриархата). Заслуженный мастер спорта СССР по спортивному туризму, член Союза художников СССР, Союза писателей России и Союза журналистов России. 
822Академик Российской Академии художеств. Первый российский гражданин, побывавший на всех Семи вершинах, на Южном и Северном полюсах (т. н. Explorers Grand Slam). (Россия)
823</p>
824
825<p><strong><a id="vladimir-anikovich">Владимир АНИКОВИЧ</a></strong></p>
826<p>
827Руководитель департамента по работе с инвесторами, руководитель департамента специальных проектов в медиа-холдинге «Регионы России». (Россия)
828</p>
829
830<p><strong><a id="vladislav-nesterov">Владислав НЕСТЕРОВ</a></strong></p>
831<p>
8321976 года рождения
833</p>
834<p>
835Образование высшее
836</p>
837<p>
838ЭАМ, "Финансовый менеджмент" Дополнительное: London School Public Relations, "Integrated Approach to Public Relations", Кишиневский Институт НЛП Курсы "Практик" и "Мастер" Карьера.</br>
8391998-2001 -валютный дилер КБ Петрол-банк 2001-2004 - руководитель представительства WCG в Молдове 2004 и по настоящее время - генеральный директор OOO "Intellectual Creative Engineering" Общественная деятельность.
840</p>
841<p>
8422001-2011 - советник президента Национального Союза Студентов и Молодежи Молдовы
843</p>
844<p>
8452011- и по настоящее время руководитель русского крыла Национальной Лиги Студентов Молдовы
846</p>
847<p>
8482013- и по настоящее время член Высшего Совета Международной Ассоциации Блогеров
849</p>
850<p>
8512015 - и по настоящее время руководитель международного центра креативных методик просвещения "Содружество" Автор и разработчик образовательных программ для ряда международных молодежных форумов.
852</p>
853<p>
854Тренер.
855</p>
856<p>
857Специалист по игрофикации и моделированию конфликтных форм коммуникаций.
858
859</p>
860<p><strong><a id="ivan-kononov">Иван КОНОНОВ</a></strong></p>
861<p>
862Иван Арсеньевич Кононов (3 мая 1953 года рождения). 
863</p>
864<p>
865Ростов-на-Дону — советский и российский ведущий, продюсер.
866</p>
867<p>
868Был одним из создателей ток-шоу «12-й этаж» Первого Канала («Останкино», позже — ОРТ), стоял у истоков создания компании ATV, работал заместителем директора «Новой студии» РГТРК «Останкино» (1992). Создатель «Будки гласности», Ведущий программ «Третий глаз» (НТВ), «Пресс-клуб» (ОРТ), «Вместе» (ОРТ), «Ночной полёт» (ТВЦ), «Новая Старая квартира» (РТР), «Предметный разговор», «Настоящее» («Звезда»), программа «Ять» («Доверие»), руководитель молодёжного ток-шоу «Акуна матата» (РТР).
869</p>
870<p>
871В 1980 году окончил факультет журналистики МГУ по специальности «литературный сотрудник радио и телевидения».
872</p>
873<p>
874Работал референтом, редактором, ответственным выпускающим программы «Время». С 1985 года — в Главной редакции молодёжных программ ЦТ Гостелерадио СССР — комментатор, заведующий отделом публицистики.
875</p>
876<p>
877Главный редактор, заместитель генерального директора 4-го канала Останкино (1992—1993).
878Один из авторов документального фильма "Время отпуска" об августовском путче.
879</p>
880<p>
881Ведущий еженедельной программы "В гостях у Ивана Кононова".
882</p>
883<p>
884Автор и ведущий программы «Третий глаз» на каналах 4-й канал Останкино, НТВ (1993—1997).
885</p>
886<p>
887Вице-президент телекомпании «Авторское телевидение».
888</p>
889<p>
890Автор программы "Будка гласности".
891</p>
892<p>
893Руководитель и один из ведущих программы "Пресс клуб".
894</p>
895<p>
896Руководитель программы "Вместе".
897</p>
898<p>
899Автор и руководитель программы "Акуна матата".
900</p>
901<p>
902Один из ведущих программы "Времечко. Ночной полет".
903</p>
904<p>
905Руководитель и ведущий программы "Новая старая квартира" в ежедневном формате.
906</p>
907<p>
908Ведущий ежедневных программы «Народ хочет знать» и «Круглый стол» на канале «Россия».
909</p>
910<p>
911Продюсер документальных фильмов Дирекции утренних программ Первого канала (2003—2004).
912</p>
913<p>
914Ведущий еженедельной аналитической программы «60 минут» на канале ДТВ.
915</p>
916<p>
917Ведущий, продюсер спецпроектов, политический обозреватель канала «Звезда» (2005—2008).
918</p>
919<p>
920Проректор Московского института телевидения и радиовещания «Останкино».
921</p>
922<p>
923Ведущий программ «Утро», «Третье дыхание», «Ять» на канале «Доверие».
924</p>
925<p>
926Советник Генерального директора ООО «Газ-ойл» («Газпром») по связям с общественными организациями и органами государственной власти.
927</p>
928<p>
929Вице-президент Евразийской академии телевидения и радиовещания.
930</p>
931<p>
932Помощник члена Совета Федерации Л. В. Тягачева.
933</p>
934<p>
935Начальник управления культуры Клуба военачальников Российской Федерации.
936</p>
937<p>
938<em>Литературные и музыкальные произведения</em>:
939</p>
940<p>
941
942В 1988 году написал цикл песен о Ростове-на-ДоÐ
942½Ñƒ: «В Нахичевани», «Три поросёнка», «Речка Темерничка», «Мореходка», «Я родился и вырос в Ростове», «В Ростове падают каштаны», «Левый берег Дона», «А над Доном золотые купола», «Конь вороной», «Мы — солдаты России», «Мазурка», «Обожаю я тебя, обожаю!» и другие, которые исполнили Константин Ундров, Михаил Шуфутинский, Александр Михайлов, Ренат Ибрагимов, Никита Джигурда, трио «Реликт», Ирина Шведова, Донна Луна, Владимир Лёвкин, Александр Иншаков, Андрей Разин.
943</p>
944<p>
945В 1999 году выпустил книгу стихов «Конец века» со своими иллюстрациями и предисловием Эрнста Неизвестного. ISBN 985-456-288-3.
946</p>
947<p>
948В 2002 году записал альбом с авторскими песнями «Девочки, привет!».
949</p>
950<p>
951В 2008 году издал книгу стихов «Смыслы» с предисловием Юрия Арабова.
952</p>
953<p>
954В 2008 году выпустил два диска песен в авторском исполнении: «Мой город — Ростов-на-Дону» и «Я и ты».
955</p>
956<p>
957В 2013 году издал книгу стихов для детей «Компашка».
958</p>
959<p>
960Автор мюзиклов "Левбердон", "Фон Барон" и "Магистериум".
961</p>
962<p>
963Автор пьес в стихах "Русский человек" и "Три сестрицы или Второе пришествие"
964</p>
965<p>
966
967<em>Роли в кино</em>
968
969</p>
970<p>
9712001 год: «Ростов-папа».
972</p>
973<p>
9742003 год: «Оперативный псевдоним».
975</p>
976<p>
9772004 год: «Слепой».
978</p>
979<p>
9802005 год: «Атаман» (телесериал).
981</p>
982<p>
9832005 год: «Эшелон» (соавтор сценария).
984
985</p>
986
987<p><strong><a id="kris-roman">Крис РОМАН</a></strong></p>
988<p>
989Политолог, директор геополитического исследовательского центра «Евро-Рус». (Бельгия)
990</p>
991
992
993<p><strong><a id="aleksandr-amaryan">Александр АМАРЯН</a></strong></p>
994<p>
995Директор Союза Медиаторов. Президент Ассоциации противодействия коррупции. Руководитель Центра реабилитации и помощи жертвам деструктивных культов. Руководитель научно-учебного центра Мидиации, Психологии и Права. (Армения)
996</p>
997
998<p><strong><a id="elena-volohova">Елена Волохова</a></strong></p>
999<p>
1000Член центрального совета ВОД «Матери России».
1001</p>
1002<p>
1003Президент Международного благотворительного фонда «Подари любовь миру». (Россия)
1004
1005</p>
1006<p><strong><a id="igor-shatrov">Игорь Шатров</a></strong></p>
1007<p>
1008Заместитель директора Национального института развития современной идеологии (НИРСИ), политолог, политконсультант, радиоведущий. Сфера интересов – идеология, внешняя политика, федеративные отношения, местное самоуправление. (Россия)
1009</p>
1010<p><strong><a id="irina-vihoreva">Ирина Вихорева</a></strong></p>
1011<p>
1012Президент культурной ассоциации русско-итальянской дружбы Speranza, Рим. (Италия)
1013</p>
1014<p><strong><a id="fridrih-moller">Ганс-Фридрих Мёллер</a></strong></p>
1015<p>
1016Vorsitzender: Deutsch-Russische Gesellschaft Kiel
1017</p>
1018<p>
1019Vorsitzender: Deutsche Freundschaftsgesellschaft West-Ost in Schleswig-Holstein e.V.l
1020</p>
1021<p>
1022Vorstandsmitglied: Gesellschaft Russland-Deutschland, Moskaul
1023</p>
1024<p>
1025Vorstandsmitglied: Bundesverband Deutscher West-Ost Gesellschaften (BDWO) , Berlinl
1026</p>
1027<p>
1028Председатель: немецко-русское общество Кильl
1029</p>
1030<p>
1031Председатель: Немецкий Общество дружбы Восток-Запад в земле Шлезвиг-Гольштейн Э.В.l
1032</p>
1033<p>
1034Член Правления: Общество Россия-Германия, Москваl
1035</p>
1036<p>
1037Член правления: Немецкая Ассоциация государств Юго-Восточной компании (BDWO), Берлин. (Германия)l
1038
1039</p>
1040<p><strong><a id="yurij-zbitnev">Юрий ЗБИТНЕВ</a></strong></p>
1041<p>
1042Украинский политик, государственный и общественный деятель, конституционалист. (Украина)
1043</p>
1044<p><strong><a id="lybov-garshina">Любовь ГАРШИНА-ДЮРАМ</a></strong></p>
1045<p>
1046Писатель, главный редактор, журналист, публицист, искусствовед. (США)
1047</p>
1048<p><strong><a id="leontij-hachaturov">Леонтий ХАЧАТУРОВ</a></strong></p>
1049<p>
1050Бизнес-архитектор. Руководитель проектов в области IT и организационного развития. Аналитик бизнес-процессов. Методолог. (Россия)
1051</p>
1052
1053
1054<p><strong><a id="valery-hiltunen">Хилтунен Валерий Рудольфович</a></strong></p>
1055<p>
1056Журналист, член Cоюза журналистов России  c 1976 года.
1057</p>
1058<p>
1059
1060Окончил с  золотой медалью среднюю школу в Петрозаводске. Первая публикация автора появилась в медвежьегорской газете «Вперёд» в августе 1966-го, затем статьи в «Комсомольце» в 1967 году. Студентом  второго курса факультета журналистики МГУ был принят в штат «Комсомольской правды», заведовал  Школьным отделом, выпускавшим, среди прочего, и легендарную  страничку для старшеклассников «Алый парус». 
1061</p>
1062<p>
1063За четверть века в «Комсомольской правде» опубликованы сотни  статей, заметок очерков автора. Издал для российского и зарубежного читателя несколько книг общим тиражом около полутора миллиона экземпляров, работал обозревателем и собкором по скандинавским странам «Литературной газеты» и других газет. Был одним из ведущих программы «Времечко» на АТВ.
1064</p>
1065<p>
1066Действительный член Международной академии телевидения и радиовещания, вице-президент Евразийской академии телевидения и радио, лауреат многих профессиональных премий, автор нескольких документальных фильмов, образовательных и гуманитарных проектов.
1067</p>
1068<p>
1069Занесен в Книгу рекордов России за самое большое количество мест работы.
1070</p>
1071
1072<p><strong><a id="emmanuil-vitorgan">Эммануил Гедионович Виторган</a></strong></p>
1073<p>
1074Родился 27 декабря 1939 года в Баку.
1075</p><p>
1076Заслуженный артист РСФСР (6.02.1990).
1077</p><p>
1078Народный артист России (3.02.1998).
1079</p><p>
1080Окончил Ленинградский институт театра, музыки и кинематографии (1961).
1081</p><p>
1082С 1961 по 1963 годы — актёр Псковского драматического театра имени А.С. Пушкина.
1083</p><p>
1084С 1963 года — актёр Ленинградского театра драмы и комедии на Литейном, с 1967 года — артист Ленинградского театра имени Ленинского комсомола, с 1971 года — актёр Московского драматического театра имени К.С. Станиславского, с 1982 по 1984 год — артист Театра драмы и комедии на Таганке.
1085
1086</p><p>
1087В 1984-2006 годах — актёр Московского академического театра имени Маяковского.
1088Открыл и руководит «Культурным Центром Эммануила Виторгана» (Москва, Сеченовский пер. 5, стр. 2), в котором играет свой моноспектакль «Выход», проводит творческие вечера, концерты, чествует актёров.
1089</p><p>
1090Был женат на актрисе Алле Балтер (1939-2000).
1091</p><p>
1092Сын — актёр Максим Виторган.
1093</p><p>
1094ТЕАТРАЛЬНЫЕ РАБОТЫ
1095</p><p>
1096Квартет И:
1097</p><p>
1098Спектакль «День Радио». Играл себя — Роль собственника радиостанции (голос за кадром)
1099</p><p>
1100Московский драматический театр им. К. С. Станиславского:
1101</p><p>
11021979 — «Взрослая дочь молодого человека» В. СлавкиÐ
1102½. Режиссёр: А. Васильев — Ивченко
1103</p><p>
11041980 — «Сирано де Бержерак» Э. Ростана. Режиссёр: Б. Морозов — Кристиан
1105</p><p>
1106«Продавец дождя» Р. Нэша. Режиссёр — Л.В. Варпаховский. Файл, помощник шерифа
1107</p><p>
1108
1109Московский академический театр им. Вл. Маяковского:
1110</p><p>
1111Гупер («Кошка на раскалённой крыше» Т. Уильямса — режиссёр Андрей Гончаров)
1112</p><p>
1113Клим Самгин («Жизнь Клима Самгина» М. Горького — режиссёр Андрей Гончаров)
1114</p><p>
1115Лев («Блондинка» А.М. Володина — режиссёр Кама Гинкас)
1116</p><p>
1117Марк Антоний («Игра теней» Ю. Эдлиса — режиссёр Юрий Иоффе)
1118</p><p>
1119Беня Крик («Закат» И.Э. Бабеля — режиссёр Андрей Гончаров)
1120</p><p>
1121Лорд Портес («Круг» С. Моэма — режиссёр Татьяна Ахрамкова)
1122</p><p>
1123Адмирал Нельсон («Виктория?» Т. Рэттигана — режиссёр А. Гончаров)
1124</p><p>
1125Барон («Горбун» С. Мрожека — режиссёр Андрей Гончаров)
1126</p><p>
1127Марк («В баре токийского отеля» Т. Уильямса — режиссёр Адольф Шапиро)
1128</p><p>
1129Синьор Капулетти («Чума на оба ваши дома» Г. Горина — режиссёр Татьяна Ахрамкова)
1130</p><p>
1131Крогстад («Кукольный дом» Г. Ибсена — режиссёр Леонид Хейфец)
1132</p><p>
1133Уильям («Шаман с Бродвея» И. Кернера — режиссёр Э. Виторган)
1134</p><p>
1135Джордж Шнайдер («Глава вторая» Н. Саймона — режиссёр Юрий Иоффе)
1136</p><p>
1137
1138Московский театр эстрады:
1139</p><p>
11402009 — Жорж Маслов (Мюзикл «Мата Хари» — режиссёр Евгений Гинзбург, композитор Алексей Киселев)
1141</p><p>
1142Театр Гешер (Яффа, Израиль):
1143</p><p>
11442010 — спектакль «Поздняя любовь» (постановка режиссёра Евгения Арье по пьесе Валерия Мухарьямова «В тени виноградника», написанной по мотивам рассказа Исаака Башевиса-Зингера
1145</p><p>
1146ПРИЗЫ И НАГРАДЫ
1147</p><p>
1148Лауреат Российской национальной актёрской премии им. Андрея Миронова «Фигаро» (2014).
1149</p><p>
1150Орден общественного признания граждан РФ "Польза честь и слава" (17.12.2015)
1151</p>
1152
1153  </div>
1154</div>
1155
1156
1157
1158
1159
1160      </p>
1161   </div>
1162</div>
1163
1164         </div>
1165         <input type="hidden" id="main-url" value="http://mabiab.com%2Fsite-pages%2Fabout">
1166                  <div class="ads-placment" id="footer_ad_"></div>
1167               </div>
1168
1169         <div class="extra">
1170            
1171         </div>
1172
1173      </div>
1174                  <div class="yp_side_drawer">
1175         <span class="open_side_menu_head">
1176            <span onclick="javascript:$('body').removeClass('side_open');$('body').removeClass('mobi_side_open');">
1177               <svg height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg">
1178                  <path fill="currentColor" d="M19,6.41L17.59,5L12,10.59L6.41,5L5,6.41L10.59,12L5,17.59L6.41,19L12,13.41L17.59,19L19,17.59L13.41,12L19,6.41Z" />
1179               </svg>
1180            </span>
1181         </span>
1182         <ul class="sections">
1183            <li class="" id="home_menu_">
1184               <a href="https://mabiab.com/" data-load="?link1=home">
1185                  <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
1186                     <path fill-rule="evenodd" clip-rule="evenodd" d="M9.7019 5.35876C10.3836 4.6771 10.8426 4.22033 11.2301 3.92469C11.6002 3.64226 11.8157 3.57843 12 3.57843C12.1843 3.57843 12.3998 3.64226 12.7699 3.92469C13.1574 4.22033 13.6164 4.6771 14.2981 5.35876L16.4697 7.53033L16.7123 7.77297C17.6227 8.68333 17.9207 9.00017 18.0787 9.3816C18.2367 9.76304 18.25 10.1978 18.25 11.4853V15C18.25 16.4354 18.2484 17.4365 18.1469 18.1919C18.0482 18.9257 17.8678 19.3142 17.591 19.591C17.3142 19.8678 16.9257 20.0482 16.1919 20.1469C15.4365 20.2484 14.4354 20.25 13 20.25H11C9.56458 20.25 8.56347 20.2484 7.80812 20.1469C7.07434 20.0482 6.68577 19.8678 6.40901 19.591C6.13225 19.3142 5.9518 18.9257 5.85315 18.1919C5.75159 17.4365 5.75 16.4354 5.75 15V11.4853C5.75 10.1978 5.76328 9.76304 5.92127 9.3816C6.0788 9.00129 6.37558 8.68519 7.27968 7.78098C7.28235 7.77831 7.28502 7.77564 7.28769 7.77297L7.53033 7.53033C7.53049 7.53017 7.53065 7.53001 7.53081 7.52985L9.7019 5.35876ZM6.47015 6.46919L8.64124 4.2981L8.67801 4.26133C9.31331 3.62599 9.84307 3.09619 10.3202 2.73216C10.8238 2.34793 11.3559 2.07843 12 2.07843C12.6441 2.07843 13.1762 2.34793 13.6798 2.73216C14.1569 3.09619 14.6867 3.62598 15.322 4.26132L15.3588 4.2981L17.5296 6.46897C17.5299 6.4692 17.5301 6.46944 17.5303 6.46967L17.773 6.71231L17.7745 6.71384L17.8738 6.81312C17.9389 6.87809 18.0022 6.94139 18.0639 7.00325L22.5303 11.4697C22.8232 11.7626 22.8232 12.2374 22.5303 12.5303C22.2374 12.8232 21.7626 12.8232 21.4697 12.5303L19.7488 10.8095C19.7502 10.9783 19.7501 11.1556 19.75 11.3427L19.75 11.4853V15V15.0549C19.75 16.4225 19.75 17.5248 19.6335 18.3918C19.5125 19.2919 19.2536 20.0497 18.6516 20.6517C18.0497 21.2536 17.2919 21.5125 16.3918 21.6335C15.5248 21.75 14.4225 21.75 13.0549 21.75H13H11H10.9451C9.57754 21.75 8.47522 21.75 7.60825 21.6335C6.70814 21.5125 5.95027 21.2536 5.34835 20.6517C4.74643 20.0497 4.48754 19.2919 4.36652 18.3918C4.24996 17.5248 4.24998 16.4225 4.25 15.0549L4.25 15V11.4853L4.24995 11.3427C4.24987 11.1556 4.24978 10.9783 4.25116 10.8095L2.53033 12.5303C2.23744 12.8232 1.76256 12.8232 1.46967 12.5303C1.17678 12.2374 1.17678 11.7626 1.46967 11.4697L5.93593 7.00341C5.99765 6.9415 6.06107 6.87815 6.12616 6.81312L6.12616 6.81311L6.22625 6.71309L6.22703 6.71231L6.46967 6.46967C6.46983 6.46951 6.46999 6.46935 6.47015 6.46919Z" fill="currentColor"/>
1187                  </svg>
1188                  <span>Главная</span>
1189               </a>
1190            </li>
1191                                                <li class="hide-from-mobile " id="articles_menu_">
1192                                 <a href="https://mabiab.com/articles" data-load="?link1=articles">
1193                                 <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
1194                     <path fill-rule="evenodd" fill="currentColor" d="M2.62356 2.35132C2.85479 2.21713 3.13998 2.21617 3.3721 2.34882L6.5 4.13619L9.6279 2.34882C9.85847 2.21706 10.1415 2.21706 10.3721 2.34882L13.5 4.13619L16.6279 2.34882C16.86 2.21617 17.1452 2.21713 17.3764 2.35132C17.6077 2.48551 17.75 2.73265 17.75 3V11.25H21C21.4142 11.25 21.75 11.5858 21.75 12V19C21.75 20.5188 20.5188 21.75 19 21.75H9H8.94513C7.57754 21.75 6.47522 21.75 5.60825 21.6335C4.70814 21.5125 3.95027 21.2536 3.34835 20.6517C2.74643 20.0497 2.48754 19.2919 2.36652 18.3918C2.24996 17.5248 2.24998 16.4225 2.25 15.0549V15V3C2.25 2.73265 2.39232 2.48551 2.62356 2.35132ZM19 20.25C19.6904 20.25 20.25 19.6904 20.25 19V12.75H17.75V19C17.75 19.6904 18.3096 20.25 19 20.25ZM16.5499 20.25H9C7.56458 20.25 6.56347 20.2484 5.80812 20.1469C5.07435 20.0482 4.68577 19.8678 4.40901 19.591C4.13225 19.3142 3.9518 18.9257 3.85315 18.1919C3.75159 17.4365 3.75 16.4354 3.75 15V4.29238L6.1279 5.65118C6.35847 5.78294 6.64153 5.78294 6.8721 5.65118L10 3.86381L13.1279 5.65118C13.3585 5.78294 13.6415 5.78294 13.8721 5.65118L16.25 4.29239V12V19C16.25 19.4501 16.3581 19.875 16.5499 20.25ZM6.25 9C6.25 8.58579 6.58579 8.25 7 8.25H11C11.4142 8.25 11.75 8.58579 11.75 9C11.75 9.41421 11.4142 9.75 11 9.75H7C6.58579 9.75 6.25 9.41421 6.25 9ZM7 12.25C6.58579 12.25 6.25 12.5858 6.25 13C6.25 13.4142 6.58579 13.75 7 13.75H13C13.4142 13.75 13.75 13.4142 13.75 13C13.75 12.5858 13.4142 12.25 13 12.25H7ZM6.25 17C6.25 16.5858 6.58579 16.25 7 16.25H13C13.4142 16.25 13.75 16.5858 13.75 17C13.75 17.4142 13.4142 17.75 13 17.75H7C6.58579 17.75 6.25 17.4142 6.25 17Z" />
1195                  </svg>
1196                  <span>Статьи</span>
1197               </a>
1198            </li>
1199                     </ul>
1200         <ul class="sections">
1201            <li class="hide-from-mobile " id="latest_menu_">
1202               <a href="https://mabiab.com/videos/latest" data-load="?link1=videos&page=latest">
1203                  <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
1204                     <path fill-rule="evenodd" fill="currentColor" d="M10 3.25L9.94358 3.25L9.94356 3.25C8.10581 3.24999 6.65019 3.24997 5.51098 3.40314C4.33855 3.56077 3.38961 3.89288 2.64124 4.64125C1.89288 5.38961 1.56076 6.33856 1.40313 7.51098C1.24997 8.65019 1.24998 10.1058 1.25 11.9436L1.25 11.9436L1.25 12L1.25 12.0564L1.25 12.0565C1.24998 13.8942 1.24997 15.3498 1.40313 16.489C1.56076 17.6614 1.89288 18.6104 2.64124 19.3588C3.38961 20.1071 4.33855 20.4392 5.51098 20.5969C6.65019 20.75 8.10583 20.75 9.94359 20.75L10 20.75L10.0564 20.75L10.0565 20.75C11.8942 20.75 13.3498 20.75 14.489 20.5969C15.6614 20.4392 16.6104 20.1071 17.3588 19.3588C18.1071 18.6104 18.4392 17.6614 18.5969 16.489C18.6011 16.4577 18.6052 16.4261 18.6092 16.3943C19.1758 16.8183 19.6658 17.1765 20.0818 17.4026C20.5551 17.6598 21.1632 17.875 21.7826 17.5653C22.402 17.2556 22.5947 16.64 22.673 16.107C22.7501 15.5813 22.75 14.8815 22.75 14.0604L22.75 14L22.75 9.99999L22.75 9.93961C22.75 9.11853 22.7501 8.41864 22.673 7.893C22.5947 7.35998 22.402 6.74439 21.7826 6.4347C21.1632 6.12501 20.5551 6.34019 20.0818 6.59743C19.6658 6.82352 19.1758 7.18169 18.6092 7.60572C18.6052 7.5739 18.6011 7.54232 18.5969 7.51098C18.4392 6.33856 18.1071 5.38961 17.3588 4.64125C16.6104 3.89288 15.6614 3.56077 14.489 3.40314C13.3498 3.24997 11.8942 3.24999 10.0564 3.25L10.0564 3.25L10 3.25ZM18.75 11.8488L18.75 11.8418L18.75 11.8335L18.75 11.8251L18.75 11.8168L18.75 11.8084L18.75 11.8L18.75 11.7917L18.75 11.7833L18.75 11.7749L18.75 11.7666L18.75 11.7582L18.75 11.7498L18.75 11.7414L18.75 11.733L18.75 11.7246L18.75 11.7162L18.75 11.7078L18.75 11.6994L18.75 11.691L18.75 11.6825L18.75 11.6741L18.75 11.6657L18.75 11.6573L18.75 11.6488L18.75 11.6404L18.75 11.632L18.75 11.6235L18.7
12045 11.6151L18.75 11.6066L18.75 11.5982L18.75 11.5897L18.75 11.5813L18.75 11.5728L18.75 11.5643L18.75 11.5559L18.75 11.5474L18.75 11.5389L18.75 11.5304L18.75 11.522L18.75 11.5135L18.75 11.505L18.75 11.4965L18.75 11.488L18.75 11.4795L18.75 11.471L18.75 11.4625L18.75 11.454L18.75 11.4455L18.75 11.437L18.75 11.4285L18.75 11.4199L18.75 11.4114L18.75 11.4029L18.75 11.3944L18.75 11.3858L18.75 11.3773L18.75 11.3688L18.75 11.3602L18.75 11.3517L18.75 11.3432L18.75 11.3346L18.75 11.3261L18.75 11.3175L18.75 11.309L18.75 11.3004L18.75 11.2919L18.75 11.2833L18.75 11.2748L18.75 11.2662L18.75 11.2576L18.75 11.2491L18.75 11.2405L18.75 11.2319L18.75 11.2234L18.75 11.2148L18.75 11.2062L18.75 11.1976L18.75 11.1891L18.75 11.1805L18.75 11.1719L18.75 11.1633L18.75 11.1547L18.75 11.1461L18.75 11.1375L18.75 11.1289L18.75 11.1203L18.75 11.1117L18.75 11.1032L18.75 11.0946L18.75 11.086L18.75 11.0773L18.75 11.0687L18.75 11.0601L18.75 11.0515L18.75 11.0429L18.75 11.0343L18.75 11.0257L18.75 11.0171L18.75 11.0085L18.75 10.9999L18.75 10.9912L18.75 10.9826L18.75 10.974L18.75 10.9654L18.75 10.9568L18.75 10.9481L18.75 10.9395L18.75 10.9309L18.75 10.9223L18.75 10.9137L18.75 10.905L18.75 10.8964L18.75 10.8878L18.75 10.8791L18.75 10.8705L18.75 10.8619L18.75 10.8532L18.75 10.8446L18.75 10.836L18.75 10.8273L18.75 10.8187L18.75 10.8101L18.75 10.8014L18.75 10.7928L18.75 10.7842L18.75 10.7755L18.75 10.7669L18.75 10.7583L18.75 10.7496L18.75 10.741L18.75 10.7323L18.75 10.7237L18.75 10.7151L18.75 10.7064L18.75 10.6978L18.75 10.6891L18.75 10.6805L18.75 10.6719L18.75 10.6632L18.75 10.6546L18.75 10.6459L18.75 10.6373L18.75 10.6286L18.75 10.62L18.75 10.6114L18.75 10.6027L18.75 10.5941L18.75 10.5854L18.75 10.5768L18.75 10.5682L18.75 10.5595L18.75 10.5509L18.75 10.5422L18.75 10.5336L18.75 10.525L18.7
12045 10.5163L18.75 10.5077L18.75 10.4991L18.75 10.4904L18.75 10.4818L18.75 10.4731L18.75 10.4645L18.75 10.4559L18.75 10.4472L18.75 10.4386L18.75 10.43L18.75 10.4213L18.75 10.4127L18.75 10.4041L18.75 10.3955L18.75 10.3868L18.75 10.3782L18.75 10.3696L18.75 10.361L18.75 10.3523L18.75 10.3437L18.75 10.3351L18.75 10.3265L18.75 10.3178L18.75 10.3092L18.75 10.3006L18.75 10.292L18.75 10.2834L18.75 10.2748L18.75 10.2661L18.75 10.2575L18.75 10.2489L18.75 10.2403L18.75 10.2317L18.75 10.2231L18.75 10.2145L18.75 10.2059L18.75 10.1973L18.75 10.1887L18.75 10.1801L18.75 10.1715L18.75 10.1629L18.75 10.1543L18.75 10.1457L18.75 10.1371L18.75 10.1285L18.75 10.12L18.75 10.1114L18.75 10.1028L18.75 10.0942L18.75 10.0856L18.75 10.0771L18.75 10.0685L18.75 10.0599L18.75 10.0513L18.75 10.0428L18.75 10.0342L18.75 10.0256L18.75 10.0171L18.75 10.0085L18.75 9.99996C18.75 9.74167 18.7507 9.59613 18.7603 9.48769C18.7646 9.43923 18.7696 9.41311 18.7728 9.39999C18.7744 9.3938 18.7754 9.39062 18.7758 9.38956L18.7764 9.3882L18.7771 9.38693C18.7778 9.38599 18.7797 9.38321 18.7837 9.37828C18.7922 9.36782 18.8101 9.34811 18.8463 9.31561C18.9273 9.24286 19.0433 9.15498 19.25 9C19.9685 8.46106 20.4399 8.11002 20.798 7.91537C20.9675 7.82328 21.0616 7.79413 21.1071 7.78583C21.1277 7.82716 21.1608 7.91996 21.1888 8.11077C21.248 8.51408 21.25 9.10178 21.25 9.99999L21.25 14C21.25 14.8982 21.248 15.4859 21.1888 15.8892C21.1608 16.08 21.1277 16.1728 21.1071 16.2141C21.0616 16.2058 20.9675 16.1767 20.798 16.0846C20.4399 15.89 19.9686 15.5389 19.25 15C19.0434 14.845 18.9273 14.7572 18.8463 14.6844C18.8101 14.6519 18.7922 14.6322 18.7837 14.6217C18.7817 14.6193 18.7803 14.6175 18.7792 14.616C18.7781 14.6145 18.7775 14.6136 18.7771 14.6131L18.7764 14.6118L18.7758 14.6104C18.7754 14.6093 18.7743 14.6061 18.7728 14.6C18.7696 14.5869 18.7646 14.5608 18.7603 14.5125C18.7507 14.4043 18.75 14.2591 18.75 14.0012L18.75 13.9954L18.75 13.9896L18.75 13.9838L18.75 13.978L18.75 13.9722L18.75 13.9664L18.75 13.9606L18.75 13.9547L18.75 13.9489L18.75 13.943L18.75 13.9371L18.75 13.9312L18.75 13.9253L18.75 13.9193L18.75 13.9134L18.75 13.9075L18.75 13.9015L18.75 13.8955L18.75 13.8895L18.75 13.8835L18.75 13.8775L18.75 13.8715L18.75 13.8654L18.75 13.8594L18.75 13.8533L18.75 13.8472L18.75 13.8411L18.75 13.835L18.75 13.8289L18.75 13.8228L18.75 13.8166L18.75 13.8105L18.75 13.8043L18.75 13.7981L18.75 13.792L18.75 13.7857L18.75 13.7795L18.75 13.7733L18.75 13.7671L18.75 13.7608L18.75 13.7546L18.75 13.7483L18.75 13.742L18.75 13.7357L18.75 13.7294L18.75 13.7231L18.75 13.7167L18.75 13.7104L18.75 13.704L18.75 13.6977L18.75 13.6913L18.75 13.6849L18.75 13.6785L18.75 13.6721L18.75 13.6656L18.75 13.6592L18.75 13.6527L18.75 13.6463L18.75 13.6398L18.75 13.6333L18.75 13.6268L18.75 13.6203L18.75 13.6138L18.75 13.6073L18.75 13.6007L18.75 13.5942L18.75 13.5876L18.75 13.581L18.75 13.5744L18.75 13.5678L18.75 13.5612L18.75 13.5546L18.75 13.548L18.75 13.5413L18.75 13.5347L18.75 13.528L18.75 13.5214L18.75 13.5147L18.75 13.508L18.75 13.5013L18.75 13.4945L18.75 13.4878L18.75 13.4811L18.75 13.4743L18.75 13.4676L18.75 13.4608L18.75 13.454L18.75 13.4472L18.75 13.4404L18.75 13.4336L18.75 13.4268L18.75 13.4199L18.75 13.4131L18.75 13.4062L18.75 13.3994L18.75 13.3925L18.75 13.3856L18.75 13.3787L18.75 13.3718L18.75 13.3649L18.75 13.358L18.75 13.351L18.75 13.3441L18.75 13.3371L18.75 13.3301L18.75 13.3232L18.75 13.3162L18.75 13.3092L18.75 13.3022L18.75 13.2952L18.75 13.2881L18.75 13.2811L18.75 13.274L18.75 13.267L18.75 13.2599L18.75 13.2528L18.75 13.2458L18.75 13.2387L18.75 13.2315L18.75 13.2244L18.75 13.2173L18.75 13.2102L18.75 13.203L18.75 13.1959L18.75 13.1887L18.75 13.1815L18.75 13.1744L18.75 13.1672L18.75 13.16L18.75 13.1528L18.75 13.1455L18.75 13.1383L18.75 13.1311L18.75 13.1238L18.75 13.1166L18.75 13.1093L18.75 13.102L18.75 13.0947L18.75 13.0874L18.75 13.0801L18.75 13.0728L18.75 13.0655L18.75 13.0582L18.75 13.0508L18.75 13.0435L18.75 13.0361L18.75 13.0288L18.75 13.0214L18.75 13.014L18.75 13.0066L18.75 12.9992L18.75 12.9918L18.75 12.9844L18.75 12.977L18.75 12.9696L18.75 12.9621L18.75 12.9547L18.7
12045 12.9472L18.75 12.9397L18.75 12.9323L18.75 12.9248L18.75 12.9173L18.75 12.9098L18.75 12.9023L18.75 12.8948L18.75 12.8872L18.75 12.8797L18.75 12.8722L18.75 12.8646L18.75 12.857L18.75 12.8495L18.75 12.8419L18.75 12.8343L18.75 12.8267L18.75 12.8191L18.75 12.8115L18.75 12.8039L18.75 12.7963L18.75 12.7887L18.75 12.781L18.75 12.7734L18.75 12.7657L18.75 12.7581L18.75 12.7504L18.75 12.7427L18.75 12.735L18.75 12.7273L18.75 12.7196L18.75 12.7119L18.75 12.7042L18.75 12.6965L18.75 12.6888L18.75 12.681L18.75 12.6733L18.75 12.6655L18.75 12.6578L18.75 12.65L18.75 12.6422L18.75 12.6345L18.75 12.6267L18.75 12.6189L18.75 12.6111L18.75 12.6033L18.75 12.5955L18.75 12.5876L18.75 12.5798L18.75 12.572L18.75 12.5641L18.75 12.5563L18.75 12.5484L18.75 12.5405L18.75 12.5327L18.75 12.5248L18.75 12.5169L18.75 12.509L18.75 12.5011L18.75 12.4932L18.75 12.4853L18.75 12.4774L18.75 12.4695L18.75 12.4615L18.75 12.4536L18.75 12.4456L18.75 12.4377L18.75 12.4297L18.75 12.4218L18.75 12.4138L18.75 12.4058L18.75 12.3978L18.75 12.3899L18.75 12.3819L18.75 12.3739L18.75 12.3659L18.75 12.3578L18.75 12.3498L18.75 12.3418L18.75 12.3338L18.75 12.3257L18.75 12.3177L18.75 12.3096L18.75 12.3016L18.75 12.2935L18.75 12.2854L18.75 12.2774L18.75 12.2693L18.75 12.2612L18.75 12.2531L18.75 12.245L18.75 12.2369L18.75 12.2288L18.75 12.2207L18.75 12.2126L18.75 12.2044L18.75 12.1963L18.75 12.1882L18.75 12.18L18.75 12.1719L18.75 12.1637L18.75 12.1556L18.75 12.1512M17.25 12C17.25 13.9068 17.2484 15.2615 17.1102 16.2892C16.975 17.2952 16.7213 17.8749 16.2981 18.2981C15.8749 18.7213 15.2952 18.975 14.2892 19.1102C13.2615 19.2484 11.9068 19.25 10 19.25C8.09318 19.25 6.73851 19.2484 5.71085 19.1102C4.70476 18.975 4.12511 18.7213 3.7019 18.2981C3.27869 17.8749 3.02502 17.2952 2.88976 16.2892C2.75159 15.2615 2.75 13.9068 2.75 12C2.75 10.0932 2.75159 8.73852 2.88976 7.71085C3.02502 6.70476 3.27869 6.12512 3.7019 5.70191C4.12511 5.2787 4.70476 5.02503 5.71085 4.88976C6.73851 4.7516 8.09318 4.75 10 4.75C11.9068 4.75 13.2615 4.7516 14.2892 4.88976C15.2952 5.02503 15.8749 5.2787 16.2981 5.70191C16.7213 6.12512 16.975 6.70476 17.1102 7.71085C17.2484 8.73852 17.25 10.0932 17.25 12ZM21.1422 7.78417C21.1418 7.78483 21.137 7.78511 21.129 7.783C21.1387 7.78245 21.1427 7.7835 21.1422 7.78417ZM21.0962 7.76658C21.0897 7.76146 21.087 7.75743 21.0873 7.7567C21.0876 7.75596 21.0908 7.75852 21.0962 7.76658ZM21.0873 16.2433C21.087 16.2425 21.0897 16.2385 21.0962 16.2334C21.0908 16.2414 21.0876 16.244 21.0873 16.2433ZM21.129 16.217C21.137 16.2148 21.1418 16.2151 21.1422 16.2158C21.1427 16.2165 21.1387 16.2175 21.129 16.217Z" />
1205                  </svg>
1206                  <span>Видео</span>
1207               </a>
1208            </li>
1209            <li class="" id="trending_menu_">
1210               <a href="https://mabiab.com/trending" data-load="?link1=trending">
1211                  <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
1212                     <path fill-rule="evenodd" fill="currentColor" d="M14.25 7.00003C14.25 6.58582 14.5858 6.25003 15 6.25003H21C21.4142 6.25003 21.75 6.58582 21.75 7.00003V13C21.75 13.4142 21.4142 13.75 21 13.75C20.5858 13.75 20.25 13.4142 20.25 13V8.81069L15.5303 13.5303C15.5013 13.5594 15.4727 13.588 15.4445 13.6163C14.9844 14.0771 14.6282 14.4339 14.221 14.6357C13.4516 15.0169 12.5484 15.0169 11.779 14.6357C11.3718 14.4339 11.0156 14.0771 10.5555 13.6163C10.5273 13.588 10.4987 13.5594 10.4697 13.5303C9.88157 12.9423 9.71099 12.7857 9.55498 12.7084C9.20526 12.5351 8.79467 12.5351 8.44496 12.7084C8.28895 12.7857 8.11837 12.9423 7.53028 13.5303L3.53033 17.5303C3.23744 17.8232 2.76256 17.8232 2.46967 17.5303C2.17678 17.2374 2.17678 16.7625 2.46967 16.4696L6.46962 12.4697C6.49865 12.4407 6.52726 12.412 6.55547 12.3837C7.01556 11.9229 7.37172 11.5662 7.77895 11.3644C8.54832 10.9831 9.45162 10.9831 10.221 11.3644C10.6282 11.5662 10.9844 11.9229 11.4445 12.3838C11.4727 12.412 11.5013 12.4407 11.5303 12.4697C12.1184 13.0578 12.289 13.2143 12.445 13.2916C12.7947 13.4649 13.2053 13.4649 13.555 13.2916C13.711 13.2143 13.8816 13.0578 14.4697 12.4697L19.1893 7.75003H15C14.5858 7.75003 14.25 7.41424 
121214.25 7.00003Z" />
1213                  </svg>
1214                  <span>Важная реплика</span>
1215               </a>
1216            </li>
1217            <li class="hide-from-mobile " id="top_menu_">
1218               <a href="https://mabiab.com/videos/top" data-load="?link1=videos&page=top">
1219                  <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
1220                     <path fill-rule="evenodd" fill="currentColor" d="M13 6h2v11h-2zM17 3h2v14h-2zM9 9h2v8H9zM5 12h2v5H5zM4 19h16v2H4z" />
1221                  </svg>
1222                  <span>Лучшие видеоролики</span>
1223               </a>
1224            </li>
1225                                                <li class="hide-from-mobile " id="popular_channels_menu_">
1226               <a href="https://mabiab.com/popular_channels" data-load="?link1=popular_channels">
1227                  <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
1228                     <path fill-rule="evenodd" fill="currentColor" d="M12 1.25C12.2841 1.25 12.5438 1.4105 12.6708 1.66459L15.5 7.32299L21.1233 8.2602C21.4004 8.30639 21.6285 8.50358 21.7142 8.77112C21.8 9.03866 21.729 9.33167 21.5304 9.53033L17.3243 13.7364L18.7308 19.8314C18.7961 20.1143 18.6922 20.4096 18.464 20.5893C18.2358 20.7689 17.9244 20.8007 17.6646 20.6708L12 17.8385L6.33543 20.6708C6.07566 20.8007 5.76425 20.7689 5.53606 20.5893C5.30787 20.4096 5.20392 20.1143 5.26923 19.8314L6.67576 13.7364L2.46969 9.53033C2.27104 9.33167 2.20006 9.03866 2.2858 8.77112C2.37154 8.50358 2.5996 8.30639 2.87672 8.2602L8.5 7.32299L11.3292 1.66459C11.4563 1.4105 11.7159 1.25 12 1.25ZM12 3.67705L9.67084 8.33541C9.56353 8.55003 9.36001 8.70035 9.12332 8.7398L4.56088 9.5002L8.03035 12.9697C8.2132 13.1525 8.28896 13.4167 8.23081 13.6686L7.08887 18.617L11.6646 16.3292C11.8758 16.2236 12.1243 16.2236 12.3354 16.3292L16.9112 18.617L15.7692 13.6686C15.7111 13.4167 15.7868 13.1525 15.9697 12.9697L19.4392 9.5002L14.8767 8.7398C14.64 8.70035 14.4365 8.55003 14.3292 8.33541L12 3.67705Z" />
1229                  </svg>
1230                  <span>Популярные блоги</span>
1231               </a>
1232            </li>
1233                                 </ul>
1234                  <ul class="sections more_links_list">
1235            <h3>Узнайте больше</h3>
1236                                    <li>
1237               <a href="https://mabiab.com/contact-us" data-load="?link1=contact">
1238                  <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
1239                     <path fill-rule="evenodd" clip-rule="evenodd" d="M12 3.75C7.44365 3.75 3.75 7.44365 3.75 12C3.75 16.5563 7.44365 20.25 12 20.25C16.5563 20.25 20.25 16.5563 20.25 12C20.25 7.44365 16.5563 3.75 12 3.75ZM2.25 12C2.25 6.61522 6.61522 2.25 12 2.25C17.3848 2.25 21.75 6.61522 21.75 12C21.75 17.3848 17.3848 21.75 12 21.75C6.61522 21.75 2.25 17.3848 2.25 12ZM13 16C13 16.5523 12.5523 17 12 17C11.4477 17 11 16.5523 11 16C11 15.4477 11.4477 15 12 15C12.5523 15 13 15.4477 13 16ZM10.75 10C10.75 9.30964 11.3096 8.75 12 8.75C12.6904 8.75 13.25 9.30964 13.25 10V10.1213C13.25 10.485 13.1055 10.8338 12.8483 11.091L11.4697 12.4697C11.1768 12.7626 11.1768 13.2374 11.4697 13.5303C11.7626 13.8232 12.2374 13.8232 12.5303 13.5303L13.909 12.1517C14.4475 11.6132 14.75 10.8828 14.75 10.1213V10C14.75 8.48122 13.5188 7.25 12 7.25C10.4812 7.25 9.25 8.48122 9.25 10V10.5C9.25 10.9142 9.58579 11.25 10 11.25C10.4142 11.25 10.75 10.9142 10.75 10.5V10Z" fill="currentColor"/>
1240                  </svg>
1241                  Помощь
1242               </a>
1243            </li>
1244         </ul>
1245         <footer class="pt_footer">
1246            <!-- <a href="https://mabiab.com/terms/about-us" data-load="?link1=terms&type=about-us">О нас</a>&nbsp;·&nbsp; -->
1247			<a href="https://mabiab.com/site-pages/about">О МАБ</a>
1248			&nbsp;·&nbsp;<a href="https://mabiab.com/site-pages/rules">Правила сайта</a>
1249			&nbsp;·&nbsp;<a href="https://mabiab.com/site-pages/team">Команда разработчиков проекта</a>
1250&nbsp;·&nbsp;<a href="javascript:void(0);" data-toggle="modal" data-target="#select-language">Язык</a>
1251&nbsp;·&nbsp;<a href="https://mabiab.com/contact-us" data-load="?link1=contact">Свяжитесь с нами</a>
1252<div class="clear"></div>
1253<p class="copyright">
1253Copyright ©  MABIAB. Все права защищены.</p>
1254
1255         </footer>
1256      </div>
1257            
1258      <!-- JS FILES -->
1259            
1259<script>
1260function PT_PlaylistSubscribe(user_id, type,playlist) {
1261  if (!user_id || !type || !playlist) { return false; }
1262  if (!$('#main-container').attr('data-logged') && $('#main-url').val()) {
1263      window.location.href = PT_Ajax_Requests_File() + 'login?to=' + $('#main-url').val();
1264      return false;
1265  }
1266  var subscribe_button = $('.subscribe-id-playlist-' + user_id);
1267  if (type == 'subscribe') {
1268    subscribe_button.removeClass('plist-btn-subscribe').addClass('plist-btn-subscribed');
1269    subscribe_button.html('<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M17.75 21.16L15 18.16L16.16 17L17.75 18.59L21.34 15L22.5 16.41L17.75 21.16M3 20V19L5 17V11C5 7.9 7.03 5.18 10 4.29V4C10 2.9 10.9 2 12 2C13.11 2 14 2.9 14 4V4.29C16.97 5.18 19 7.9 19 11V12.08L18 12C14.69 12 12 14.69 12 18C12 18.7 12.12 19.37 12.34 20H3M12 23C10.9 23 10 22.11 10 21H12.8C13.04 21.41 13.33 21.79 13.65 22.13C13.29 22.66 12.69 23 12 23Z" /></svg>');
1270    subscribe_button.attr('onclick', 'PT_PlaylistSubscribe(' + user_id + ', "subscribed","'+playlist+'")');
1271	subscribe_button.attr('title', 'Подписка на уведомления о плейлисте');
1272    $.post('https://mabiab.com/aj/playlist_subscribe', {user_id: user_id,playlist:playlist});
1273  } else {
1274    var html = "<small>Вы уверены, что хотите отказаться от подписки? Это действие не может быть отмена.</small>";
1275    swal({
1276      title: "",
1277      type: "",
1278      html:html,
1279      showCancelButton: true,
1280      cancelButtonText: "нет",
1281      customClass: 'sweetalert-lg pt_add_to_list_vid',
1282      confirmButtonText:'да'
1283    }).then(function(){
1284        subscribe_button.removeClass('plist-btn-subscribed').addClass('plist-btn-subscribe');
1285        subscribe_button.html('<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M21,19V20H3V19L5,17V11C5,7.9 7.03,5.17 10,4.29C10,4.19 10,4.1 10,4A2,2 0 0,1 12,2A2,2 0 0,1 14,4C14,4.1 14,4.19 14,4.29C16.97,5.17 19,7.9 19,11V17L21,19M14,21A2,2 0 0,1 12,23A2,2 0 0,1 10,21M19.75,3.19L18.33,4.61C20.04,6.3 21,8.6 21,11H23C23,8.07 21.84,5.25 19.75,3.19M1,11H3C3,8.6 3.96,6.3 5.67,4.61L4.25,3.19C2.16,5.25 1,8.07 1,11Z" /></svg>');
1286        subscribe_button.attr('onclick', 'PT_PlaylistSubscribe(' + user_id + ', "subscribe","'+playlist+'")');
1287		subscribe_button.attr('title', 'Подписаться на уведомления');
1288        $.post('https://mabiab.com/aj/playlist_subscribe', {user_id: user_id,playlist:playlist});
1289
1290      },function(){
1291    });
1292    
1293  }
1294  
1295}
1296
1297function PT_Subscribe(user_id, type) {
1298  if (!user_id || !type) { return false; }
1299  if (!$('#main-container').attr('data-logged') && $('#main-url').val()) {
1300      window.location.href = PT_Ajax_Requests_File() + 'login?to=' + $('#main-url').val();
1301      return false;
1302  }
1303  var subscribe_button = $('.subscribe-id-' + user_id);
1304  if (type == 'subscribe') {
1305    subscribe_button.removeClass('btn-subscribe').addClass('btn-subscribed');
1306    subscribe_button.html('Подписан');
1307    subscribe_button.attr('onclick', 'PT_Subscribe(' + user_id + ', "subscribed")');
1308    $.post('https://mabiab.com/aj/subscribe', {user_id: user_id});
1309  } else {
1310    var html = "<small>Вы уверены, что хотите отказаться от подписки? Это действие не может быть отмена.</small>";
1311    swal({
1312      title: "",
1313      type: "",
1314      html:html,
1315      showCancelButton: true,
1316      cancelButtonText: "нет",
1317      customClass: 'sweetalert-lg pt_add_to_list_vid',
1318      confirmButtonText:'да'
1319    }).then(function(){
1320        subscribe_button.removeClass('btn-subscribed').addClass('btn-subscribe');
1321        subscribe_button.html('Подписывайся');
1322        subscribe_button.attr('onclick', 'PT_Subscribe(' + user_id + ', "subscribe")');
1323        $.post('https://mabiab.com/aj/subscribe', {user_id: user_id});
1324
1325      },function(){
1326    });
1327    
1328  }
1329  
1330}
1331
1332function PT_Reply(comm_id, name,reply_id) {
1333  if (!comm_id) { return false;}
1334  var logged = $('#main-container').attr('data-logged');
1335  var name   = (name) ? "@"+name+": " : '';
1336  if(!logged){
1337    window.location.href = "https://mabiab.com/login?to=http://mabiab.com%2Fsite-pages%2Fabout";
1338    return false;
1339  }
1340  else{
1341    var reply_form = $('#comm-reply-' + comm_id);
1342
1343    reply_form.removeClass('hidden').find('input').val(name).focus().scrollTo();
1344
1345    if (reply_id) {
1346      reply_form.attr('data-reply-id',reply_id); 
1347    }
1348    
1349  }
1350}
1351
1352$(function () {
1353  $(document).on('click','.load-more' , function(event) {
1354    event.preventDefault();
1355    var $type = $(this).attr('data-type');
1356    var keyword = '';
1357    if ($(this).attr('data-keyword')) {
1358      keyword = $(this).attr('data-keyword');
1359    }
1360    var last_id = $('.video-wrapper:last').attr('data-id');
1361    if ($(this).attr('data-category')) {
1362      var $category_id = $(this).attr('data-category');
1363      sub_category = $(this).attr('data-sub-category-id');
1364      $type = 'category?c_id=' + $category_id + '&sub_category='+sub_category;
1365    }
1366    views = 0;
1367    if ($('.video-wrapper:last').attr('data-views')) {
1368      var views = $('.video-wrapper:last').attr('data-views');
1369      $type = $type + '?views=' + views;
1370    }
1371    tr_id = 0;
1372    if ($('.video-wrapper:last').attr('data-tr')) {
1373      var tr_id = $('.video-wrapper:last').attr('data-tr');
1374      $type = $type + '?tr_id=' + tr_id;
1375    }
1376    user_id = 0;
1377    if ($('#profile-id').val()) {
1378      var user_id = $('#profile-id').val();
1379    }
1380    
1381    data1 = {};
1382    if ($type == 'top') {
1383      for (var i = 0; i < $('.video-wrapper').length; i++) {
1384        if ($($('.video-wrapper')[i]).attr('data-views') == views) {
1385          data1[i] = $($('.video-wrapper')[i]).attr('data-views');
1386        }
1387      }
1388    }
1389    else{
1390      if (views) {
1391        var asdf = $('div[data-views=' + views + ']').each(function(index, el) {
1392          data1[index] = $(this).attr('data-id')
1393        });
1394      }
1395    }
1396    date = '';
1397    category = '';
1398    if ($(this).attr('data-type') == 'search') {
1399      date = $(this).attr('data-by-date');
1400      category = $(this).attr('data-by-category');
1401    }
1402    if ($(this).attr('data-type') == 'video_comment') {
1403      $type = 'video_comment';
1404      last_id = $('.comment_info:last').attr('data-comment-id');
1405    }
1406
1407    video_studio_ids = [];
1408    video_studio_type = '';
1409
1410    if ($(this).attr('data-type') == 'video_studio') {
1411      for (var i = 0; i < $('.video-wrapper').length; i++) {
1412          video_studio_ids.push($($('.video-wrapper')[i]).attr('data-id'));
1413      }
1414      video_studio_type = $(this).attr('sort-type');
1415    }
1416    paid_sort = '';
1417    if ($(this).attr('data-type') == 'paid_videos') {
1418      paid_sort = $(this).attr('data-video-type');
1419    }
1420
1421    var channels_ids = [];
1422    var sort_type = '';
1423    var sort_by = '';
1424
1425    if ($(this).attr('data-type') == 'popular_channels') {
1426      channels_ids = [];
1427      last_id = $('.channels_list:last').attr('data-channel-views');
1428      for (var i = 0; i < $('.channels_list').length; i++) {
1429        if ($($('.channels_list')[i]).attr('data-channel-views') == last_id) {
1430          channels_ids.push($($('.channels_list')[i]).attr('data-channel-id'));
1431        }
1432      }
1433      sort_by = $(this).attr('data-sort-by');
1434      sort_type = $(this).attr('data-sort-type');
1435    }
1436
1437    $('.load-more').text("Пожалуйста, подождите..");
1438    $.post('https://mabiab.com/aj/load-more/' + $type + '', {last_id: last_id, ids: data1, keyword:keyword, user_id: user_id,date:date,category:category,video_studio_ids:video_studio_ids,video_studio_type:video_studio_type,channels_ids:channels_ids,sort_type:sort_type,sort_by:sort_by,paid_sort:paid_sort}, function(data, textStatus, xhr) {
1439       if (data.status == 200) {
1440          if ($type == 'subscriptions' || $type == 'history' || $type == 'saved_videos' || $type == 'liked_videos' || $type == 'my_videos' || $type == 'video_studio' || $type == 'search' || $type == 'popular_channels') {
1441            if ($('#video_studio_ids').length > 0) {
1442              $('#video_studio_ids').attr('value',data.video_ids_);
1443              $('#video_studio_ids').attr('data_by_id',data.by_ids);
1444            }
1445             $('.author-list').append(data.videos);
1446          } else {
1447            if ($type == 'video_comment') {
1448              $('#comments_container').append(data.comments);
1449            }else{
1450              $('.videos-latest-list').append(data.videos);
1451            }
1452          }
1453          $('.load-more').text("Показать больше");
1454       } else {
1455          if ($type == 'video_comment') {
1456            $('.load-more').text("Больше комментариев не найдено");
1457          }else if($type == 'popular_channels'){
1458            $('.load-more').text("Нет больше каналов для показа");
1459          }else{
1460            $('.load-more').text("Больше нет видео для показа");
1461          }
1462       }
1463       scrolled = 0;
1464    });
1465  });
1466});
1467
1468
1469function PT_LoadPost(section, category, sort_type, self){
1470  if (!self) { return false;}
1471
1472  var count = ($('.article-wrapper').length > 0) ? $('.article-wrapper').length : 0;
1473  if (count && count > 0) {
1474    $.post('https://mabiab.com/aj/load-more/articles', {count, section, category, sort_type}, function(data, textStatus, xhr) {
1475       if (data.status == 200) {
1476          $('.articles-container').append(data.posts);
1477          $(self).text("Показать больше");
1478       }
1479
1480       else {
1481          $(self).text("Нет статей");
1482       }
1483    });
1484  }
1485}
1486
1487function PT_DeleteVideo(id, type) {
1488  if (!id) {
1489    return false;
1490  }
1491  if (!confirm("Вы действительно хотите удалить это видео? Это действие не может быть отменено")) {
1492    return false;
1493  }
1494  if (type == 'edit-page') {
1495    $('.btn-delete').attr('disabled', true);
1496    $('.btn-delete').val("Пожалуйста, подождите..");
1497  } else if (type == 'manage-page') {
1498    $('#video-' + id).slideUp('200', function () {
1499      $(this).remove();
1500    });
1501  }
1502  $.post('https://mabiab.com/aj/delete-video', {id: id}, function(data, textStatus, xhr) {
1503    if (data.status == 200) {
1504      if (type == 'edit-page') {
1505        window.location.href = 'https://mabiab.com/video_studio';
1506      } 
1507    }
1508  });
1509}
1510
1511function PT_DeleteActivity(id) {
1512  if (!id) {
1513    return false;
1514  }
1515  if (!confirm("Вы уверены, что хотите удалить это действие? Это действие нельзя отменить.")) {
1516    return false;
1517  }
1518
1519  $('#activity-' + id).slideUp('200', function () {
1520    $(this).remove();
1521  });
1522
1523  $.post('https://mabiab.com/aj/delete-activity', {id: id}, function(data, textStatus, xhr) {
1524  });
1525}
1526
1527function PT_DeleteHistory(id) {
1528  if (!id) {
1529    return false;
1530  }
1531  $('#video-' + id).fadeOut('200', function () {
1532    $(this).remove();
1533  });
1534  $.post('https://mabiab.com/aj/delete-history', {id: id});
1535  Snackbar.show({text: '<div><img src="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0nMjAnIGhlaWdodD0nMjAnIHZpZXdCb3g9JzAgMCAyMCAyMCcgeG1sbnM9J2h0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnJz4KCTxnPgoJCTxwYXRoIGQ9J00tMi0yaDI0djI0SC0yeicgZmlsbD0nbm9uZScvPgoJCTxwYXRoIGQ9J00xMCAwQzQuNDggMCAwIDQuNDggMCAxMHM0LjQ4IDEwIDEwIDEwIDEwLTQuNDggMTAtMTBTMTUuNTIgMCAxMCAwek04IDE1bC01LTUgMS40MS0xLjQxTDggMTIuMTdsNy41OS03LjU5TDE3IDZsLTkgOXonIGZpbGw9JyMyNkJDNEUnLz4KCTwvZz4KPC9zdmc+Cg=="/> Удалено из истории</div>'});
1536}
1537
1538function PT_DeleteSaved(id) {
1539  if (!id) {
1540    return false;
1541  }
1542  $('#video-' + id).slideUp('200', function () {
1543    $(this).remove();
1544  });
1545  $.post('https://mabiab.com/aj/delete-saved', {id: id});
1546}
1547
1548function PT_AddToList(video_id){
1549  if (!video_id) {
1550    return false;
1551  }
1552
1553  var name = '';
1554  var desc = '';
1555  var id   = video_id;
1556
1557  $.ajax({
1558    url: 'https://mabiab.com/aj/lists',
1559    type: 'GET',
1560    dataType: 'json',
1561    data: {type: 'list',a:'add',id:id},
1562  })
1563  .done(function(data) {
1564    if (data.status == 200) {
1565      swal({
1566        title: "",
1567        type: "",
1568        html:data.html,
1569        showCancelButton: true,
1570        cancelButtonText: "Закрыть",
1571        customClass: 'sweetalert-lg pt_add_to_list_vid',
1572        confirmButtonText:'Создать новый'
1573      }).then(function(){
1574          PT_NewList();
1575        },function(){
1576      });
1577    }
1578    else{
1579      swal(
1580        'Error!',
1581        'Something went wrong.Please try again later!',
1582        'error'
1583      );
1584    }
1585  })
1586  .fail(function() {
1587    console.log("error");
1588  })
1589  .always(function() {
1590    console.log("complete");
1591  });
1592}
1593
1594function PT_ReportVideo(video_id,self){
1595  if (!video_id || !self) { return false;}
1596
1597    var message = "";
1598    self = $(self);
1599    if (self.attr('data-rep') == 1) {
1600      swal({
1601        title: 'Сообщить об этом видео',
1602        html: $('<form>').add($('<p>',{
1603          text:"Пожалуйста, напишите резюме того, о чем это видео было",
1604          class:'report-message-label'
1605        })).add($('<textarea>',{
1606          id:'report-message',
1607          rows: 4,
1608          placeholder:'Сообщение'
1609        })),
1610        showCancelButton: true,
1611        confirmButtonText: 'Отправить',
1612        cancelButtonText: 'отменить',
1613        customClass:'report-video-popup',
1614        animation: false,
1615        preConfirm: function(name){
1616          return new Promise(function(resolve,reject){
1617              message = $('#report-message').val();
1618              if (message.length < 1) {
1619                swal.showValidationError(
1620                  'Пожалуйста, проверьте детали'
1621                );
1622                reject();
1623              }
1624              else{
1625                resolve();
1626              }
1627          });
1628        },
1629        allowOutsideClick: false
1630      }).then(function(){
1631        $.ajax({
1632          url: 'https://mabiab.com/aj/report/video/report',
1633          type: 'POST',
1634          dataType: 'json',
1635          data: {id: video_id,text:message},
1636        })
1637        .done(function(data) {
1638          if (data.status == 200) {
1639            swal({
1640              title: 'Спасибо',
1641              html: 'Мы получили ваш отчет!'
1642            });
1643            self.find('span').text('Отменить отчет');
1644            self.attr('data-rep', '0');
1645            self.addClass('active');
1646          }
1647          else if(data.status == 304){
1648            self.find('span').text('Отчет');
1649            self.attr('data-rep', '1');
1650            self.removeClass('active');
1651            notif({
1652              msg: "Ваш отчет отменен!",
1653              type: "default",
1654              fade:0,
1655              timeout:1500
1656            });
1657          }
1658        });
1659      });
1660    }
1661    else{
1662      $.ajax({
1663        url: 'https://mabiab.com/aj/report/video/cancel',
1664        type: 'POST',
1665        dataType: 'json',
1666        data: {id: video_id},
1667      })
1668      .done(function(data) {
1669        if(data.status == 304){
1670          self.find('span').text('Отчет');
1671          self.attr('data-rep', '1');
1672          self.removeClass('active');
1673          notif({
1674            msg: "Ваш отчет отменен!",
1675            type: "default",
1676            fade:0,
1677            timeout:1500
1678          });
1679        }
1680      });
1681    }  
1682}
1683
1684function PT_ReportCopyVideo(video_id,self){
1685  if (!video_id || !self) { return false;}
1686  var text1 = "У меня есть добросовестное предположение, что использование защищенных авторским правом работ, описанных выше, не разрешено владельцем авторского права, его агентом или законом";
1687  var text2 = "Я подтверждаю, что я являюсь владельцем авторского права или имею право действовать от имени владельца исключительного права, которое предположительно было нарушено.";
1688  var error = "Пожалуйста, отметьте флажки ниже, если вы являетесь владельцем авторских прав.";
1689  swal({
1690        title: 'Создание DMCA снимать уведомления',
1691        html: $('<form>').add($('<p>',{
1692          text:"Пожалуйста, опишите вашу просьбу тщательно и столько, сколько вы можете, обратите внимание, что ложные DMCA запросы могут привести к блокировке аккаунта.",
1693          class:'report-message-label'
1694        })).add($('<textarea>',{
1695          id:'report-message-copy',
1696          rows: 4,
1697          placeholder:'Сообщение'
1698        })).add($('<div class="custom-control custom-radio checkbox checkbox-primary"><input type="checkbox" id="confirm_1" name="confirm_1" class="custom-control-input"><label class="custom-control-label" for="confirm_1">'+text1+'</label></div><div class="custom-control custom-radio checkbox checkbox-primary"><input type="checkbox" id="confirm_2" name="confirm_2" class="custom-control-input"><label class="custom-control-label" for="confirm_2">'+text2+'</label></div>')),
1699        showCancelButton: true,
1700        confirmButtonText: 'Отправить',
1701        cancelButtonText: 'отменить',
1702        customClass:'report-video-popup pt_rep_copy_vid',
1703        animation: false,
1704        preConfirm: function(name){
1705          return new Promise(function(resolve,reject){
1706              message = $('#report-message-copy').val();
1707              if (message.length < 1) {
1708                swal.showValidationError(
1709                  'Пожалуйста, проверьте детали'
1710                );
1711                reject();
1712              }
1713              else{
1714                if ($('#confirm_1').is(':not(:checked)')) {
1715                  swal.showValidationError(
1716                    error
1717                  );
1718                  reject();
1719                }
1720                else{
1721                  if ($('#confirm_2').is(':not(:checked)')) {
1722                    swal.showValidationError(
1723                      error
1724                    );
1725                    reject();
1726                  }
1727                  else{
1728                    resolve();
1729                  }
1730                }
1731              }
1732          });
1733        },
1734        allowOutsideClick: false
1735      }).then(function(){
1736        $.ajax({
1737          url: 'https://mabiab.com/aj/main/copy_report?hash=' + $('.main_session').val(),
1738          type: 'POST',
1739          dataType: 'json',
1740          data: {id: video_id,text:message},
1741        })
1742        .done(function(data) {
1743          if (data.status == 200) {
1744            swal({
1745              title: 'Спасибо',
1746              html: 'Мы получили ваш отчет!'
1747            });
1748          }
1749          else if(data.status == 304){
1750            self.find('span').text('Отчет');
1751            self.attr('data-rep', '1');
1752            self.removeClass('active');
1753            notif({
1754              msg: "Ваш отчет отменен!",
1755              type: "default",
1756              fade:0,
1757              timeout:1500
1758            });
1759          }
1760        });
1761      });
1762
1763}
1764function PT_PLVToggle(id,self){
1765  if (!id || !self) {
1766    return false;
1767  }
1768  var self = $(self);
1769  var list = self.attr('id');
1770  $.ajax({
1771    url: 'https://mabiab.com/aj/lists',
1772    type: 'GET',
1773    dataType: 'json',
1774    data: {type: 'list',a:'tg',id:id,list:list},
1775  })
1776  .done(function(data) {
1777    if (data.status == 200 && data.code == 1) {
1778      self.find('button').html('<i class="fa fa-check-square-o"></i>');
1779      notif({
1780        msg: "Добавлено в " + data.name,
1781        type: "default",
1782        fade:0,
1783        timeout:1500
1784      });
1785    }
1786
1787    else if(data.status == 200 && data.code == 0){
1788      self.find('button').html('<i class="fa fa-square-o"></i>');
1789      notif({
1790        msg: "Удалено из " + data.name,
1791        type: "default",
1792        fade:0,
1793        timeout:1500
1794      });
1795    }
1796
1797    else{
1798      swal(
1799        'Error!',
1800        'Something went wrong.Please try again later!',
1801        'error'
1802      );
1803    }
1804  })
1805  .fail(function() {
1806    console.log("error");
1807  })  
1808}
1809
1810function PT_WLToggle(id,self){
1811  if (!id || !self) {
1812    return false;
1813  }
1814  var self = $(self);
1815  $.ajax({
1816    url: 'https://mabiab.com/aj/lists',
1817    type: 'GET',
1818    dataType: 'json',
1819    data: {type: 'list',a:'wl-tg',id:id},
1820  })
1821  .done(function(data) {
1822    if (data.status == 200 && data.code == 1) {
1823      self.find('.pt-plist-tgl_btn').html('<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="green" d="M17,7H7A5,5 0 0,0 2,12A5,5 0 0,0 7,17H17A5,5 0 0,0 22,12A5,5 0 0,0 17,7M17,15A3,3 0 0,1 14,12A3,3 0 0,1 17,9A3,3 0 0,1 20,12A3,3 0 0,1 17,15Z" /></svg>');
1824      notif({
1825        msg: "Добавлено в \"Посмотреть позже\"",
1826        type: "default",
1827        fade:0,
1828        timeout:1500
1829      });
1830    }
1831
1832    else if(data.status == 200 && data.code == 0){
1833      self.find('.pt-plist-tgl_btn').html('<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M7,10A2,2 0 0,1 9,12A2,2 0 0,1 7,14A2,2 0 0,1 5,12A2,2 0 0,1 7,10M17,7A5,5 0 0,1 22,12A5,5 0 0,1 17,17H7A5,5 0 0,1 2,12A5,5 0 0,1 7,7H17M7,9A3,3 0 0,0 4,12A3,3 0 0,0 7,15H17A3,3 0 0,0 20,12A3,3 0 0,0 17,9H7Z" /></svg>');
1834      notif({
1835        msg: "Удалено из \"Посмотреть позже\"",
1836        type: "default",
1837        fade:0,
1838        timeout:1500
1839      });
1840    }
1841
1842    else{
1843      swal(
1844        'Error!',
1845        'Something went wrong.Please try again later!',
1846        'error'
1847      );
1848    }
1849  })
1850  .fail(function() {
1851    console.log("error");
1852  })  
1853}
1854
1855function PT_NewList(){
1856  swal({
1857    title: '',
1858    type: "",
1859    html:'<form class="form pt_forms create-new-list"><div class="create-new-list-head"><p>Создать новый плейлист</p></div><div class="sa-create-list-alert"></div><div class="form-group"><input type="text" class="form-control" placeholder="Название плейлиста 0 / 30"></div><div class="form-group"><select class="form-control"><option value="1" selected="selected">Приватность</option><option value="1">Публичный</option><option value="0">Приватный</option></select></div><div class="form-group"><textarea name="" id="" rows="3" class="form-control optional-field" placeholder="Описание.."></textarea></div></form>',
1860    showCancelButton: true,
1861    allowOutsideClick:false,
1862    confirmButtonText:'Создать',
1863    cancelButtonText:'отменить',
1864	customClass: 'pt_add_to_list_vid',
1865    preConfirm: function (email) {
1866    return new Promise(function (resolve, reject) {
1867        name     = $(".create-new-list").find('input').val();
1868        desc     = $(".create-new-list").find('textarea').val();
1869        privacy  = $(".create-new-list").find('select').val();
1870        setTimeout(function() {
1871          if (name == '') {
1872            reject('Введите имя плейлиста');
1873          }
1874          else if(privacy < 0 || privacy > 1){
1875            reject('Пожалуйста, проверьте детали');
1876          }
1877          else {
1878            resolve();
1879          }
1880        }, 100)
1881      })
1882    }
1883  }).then(function(){
1884    if (!name){ return;}
1885    $.ajax({
1886      url: 'https://mabiab.com/aj/lists?type=list&a=new',
1887      type: 'POST',
1888      dataType: 'json',
1889      data: {name:name,desc:desc,pr:privacy},
1890    })
1891    .done(function(data) {
1892      if (data.status == 200) {
1893        swal({
1894          title:name,
1895          text:"Плейлист был успешно добавлен!",
1896          type:'success'
1897        });
1898
1899        PT_Delay(function(){
1900          swal.close();
1901        },2000);
1902      }
1903      else if(data.status == 200){
1904        swal(
1905          'Error!',
1906          'Something went wrong.Please try again later!',
1907          'error'
1908        );
1909      }
1910    })
1911    .fail(function() {
1912      swal.close();
1913      console.log("error");
1914    })
1915  },
1916  function(){
1917    //Error
1918  })
1919}
1920
1921function PT_EditList(id){
1922  if (!id) {
1923    return false;
1924  }
1925  $.ajax({
1926    url: 'https://mabiab.com/aj/lists',
1927    type: 'GET',
1928    dataType: 'json',
1929    data: {type: 'list',a:'edit',id:id},
1930  })
1931  .done(function(data) {
1932    if (data.status == 200) {
1933      swal({
1934        title: '',
1935        type: "",
1936        html:data.html,
1937        showCancelButton: true,
1938        allowOutsideClick:false,
1939        confirmButtonText:'<i class="fa fa-floppy-o"></i> Сохранить',
1940        cancelButtonText:'отменить',
1941        preConfirm: function (email) {
1942        return new Promise(function (resolve, reject) {
1943            name     = $(".edit-list-form").find('input').val();
1944            desc     = $(".edit-list-form").find('textarea').val();
1945            privacy  = $(".edit-list-form").find('select').val();
1946            setTimeout(function() {
1947              if (name == '') {
1948                reject('');
1949              }
1950              else if(privacy < 0 || privacy > 1){
1951                reject('Пожалуйста, проверьте детали');
1952              }
1953              else {
1954                resolve();
1955              }
1956            }, 100)
1957          })
1958        }
1959      }).then(function(){
1960        if (!name){ return;}
1961        $.ajax({
1962          url: 'https://mabiab.com/aj/lists?type=list&a=update',
1963          type: 'POST',
1964          dataType: 'json',
1965          data: {name:name,desc:desc,pr:privacy,id:id},
1966        })
1967        .done(function(data) {
1968          if (data.status == 200) {
1969            swal({
1970              title:name,
1971              text:"Плейлист был успешно сохранен!",
1972              type:'success'
1973            });
1974
1975            PT_Delay(function(){
1976              swal.close();
1977            },2000);
1978          }
1979          else if(data.status == 200){
1980            swal(
1981              'Error!',
1982              'Something went wrong.Please try again later!',
1983              'error'
1984            );
1985          }
1986        })
1987        .fail(function() {
1988          swal.close();
1989          console.log("error");
1990        })
1991      },
1992      function(){
1993        //Error
1994      })
1995    }
1996  })
1997  .fail(function() {
1998    console.log("error");
1999  })
2000}
2001
2002function PT_DeleteList(id){
2003  if (!id) { return false;}
2004  swal({
2005    title: 'Подтверждение!',
2006    text: "Вы действительно хотите удалить этот список воспроизведения?",
2007    type: 'warning',
2008    showCancelButton: true,
2009    confirmButtonColor: '#3085d6',
2010    cancelButtonColor: '#d33',
2011    confirmButtonText: 'Да, удалите его!'
2012  }).then(function(){
2013    $.ajax({
2014      url: 'https://mabiab.com/aj/lists',
2015      type: 'GET',
2016      dataType: 'json',
2017      data: {type: 'list',a:'delist',id:id},
2018    })
2019    .done(function(data) {
2020      if (data.status == 200) {
2021        $("[data-playlist='"+id+"']").slideUp(function(){
2022          $(this).remove();
2023        });
2024        
2025        swal({
2026          title:"Удаляется!",
2027          text:data.name +  " был удален!",
2028          type:"success"
2029        });
2030      }
2031      else{
2032        swal(
2033          'Error!',
2034          'Something went wrong.Please try again later!',
2035          'error'
2036        );
2037      }
2038    })
2039    .fail(function() {
2040      console.log("error");
2041    })
2042    
2043  })
2044}
2045
2046function PT_DelFromList(list_id,video_id){
2047  if (!list_id || !video_id) {
2048    return false;
2049  }
2050
2051  $.ajax({
2052    url: 'https://mabiab.com/aj/lists',
2053    type: 'GET',
2054    dataType: 'json',
2055    data: {type: 'list',a:'delvid',video_id:video_id,list_id:list_id},
2056  })
2057  .done(function(data) {
2058    if (data.status == 200) {
2059      $("[data-video-id='"+video_id+"']").slideUp(function(){
2060        $(this).remove();
2061      })
2062    }
2063    else{
2064      swal(
2065        'Error!',
2066        'Something went wrong.Please try again later!',
2067        'error'
2068      );
2069    }
2070  })
2071  .fail(function() {
2072    swal(
2073      'Error!',
2074      'Something went wrong.Please try again later!',
2075      'error'
2076    );
2077  })
2078}
2079
2080function PT_RemoveFromWL(video_id){
2081  if (!video_id) {
2082    return false;
2083  }
2084
2085  $.ajax({
2086    url: 'https://mabiab.com/aj/lists',
2087    type: 'GET',
2088    dataType: 'json',
2089    data: {type: 'list',a:'delwl',video_id:video_id},
2090  })
2091  .done(function(data) {
2092    if (data.status == 200) {
2093      $("[data-video-id='"+video_id+"']").slideUp(function(){
2094        $(this).remove();
2095      })
2096    }
2097    else{
2098      swal(
2099        'Error!',
2100        'Something went wrong.Please try again later!',
2101        'error'
2102      );
2103    }
2104  })
2105  .fail(function() {
2106    swal(
2107      'Error!',
2108      'Something went wrong.Please try again later!',
2109      'error'
2110    );
2111  })
2112}
2113
2114function PT_RVReply(text,comm_id,event,video_id){
2115  
2116  if (!text || !comm_id || !event || !video_id) {
2117    return false;
2118  }
2119  else if(event.keyCode == 13 && event.shiftKey == 0){
2120    var reply_id = 0;
2121    if($("#comm-reply-"+comm_id).attr('data-reply-id')){
2122      reply_id = $("#comm-reply-"+comm_id).attr('data-reply-id');
2123    }
2124
2125    $.ajax({
2126      url: "https://mabiab.com/aj/add-reply/video",
2127      type: 'POST',
2128      dataType: 'json',
2129      data: {text:text,id:comm_id,video_id:video_id,reply:reply_id},
2130    })
2131    .done(function(data) {
2132      if (data.status == 200) {
2133        $("#pt-comment-replies-cont-" + comm_id).append(data.html)
2134        $("#comm-reply-"+comm_id).find('input').val('').blur();
2135
2136      }
2137      else if (data.links_count) {
2138        PT_ShowCommentPaywall(data, {text:text,id:comm_id,video_id:video_id,reply:reply_id,pay_links:1}, PT_AppendReply(comm_id), 'https://mabiab.com/aj/add-reply/video');
2139      }
2140      $("#comment-reply-loading-renderer-"+comm_id).addClass('hidden');
2141    })
2142    .fail(function() {
2143      alert('Sorry, something went wrong: Please try again later ...');
2144    })
2145  }
2146}
2147
2148function PT_RPReply(text,comm_id,event,post_id){
2149  
2150  if (!text || !comm_id || !event || !post_id) {
2151    return false;
2152  }
2153  else if(event.keyCode == 13 && event.shiftKey == 0){
2154    var reply_id = 0;
2155    if($("#comm-reply-"+comm_id).attr('data-reply-id')){
2156      reply_id = $("#comm-reply-"+comm_id).attr('data-reply-id');
2157    }
2158
2159    $.ajax({
2160      url: "https://mabiab.com/aj/add-reply/article",
2161      type: 'POST',
2162      dataType: 'json',
2163      data: {text:text,id:comm_id,post_id:post_id,reply:reply_id},
2164    })
2165    .done(function(data) {
2166      if (data.status == 200) {
2167        $("#pt-comment-replies-cont-" + comm_id).append(data.html)
2168        $("#comm-reply-"+comm_id).find('input').val('').blur();
2169      }
2170      else if (data.links_count) {
2171        PT_ShowCommentPaywall(data, {text:text,id:comm_id,post_id:post_id,reply:reply_id,pay_links:1}, PT_AppendReply(comm_id), 'https://mabiab.com/aj/add-reply/article');
2172      }
2173      $("#comment-reply-loading-renderer-"+comm_id).addClass('hidden');
2174    })
2175    .fail(function() {
2176      alert('Sorry, something went wrong: Please try again later ...');
2177    })
2178  }
2179}
2180function PT_RAReply(text,comm_id,event,post_id){
2181  
2182  if (!text || !comm_id || !event || !post_id) {
2183    return false;
2184  }
2185  else if(event.keyCode == 13 && event.shiftKey == 0){
2186    var reply_id = 0;
2187    if($("#comm-reply-"+comm_id).attr('data-reply-id')){
2188      reply_id = $("#comm-reply-"+comm_id).attr('data-reply-id');
2189    }
2190
2191    $.ajax({
2192      url: "https://mabiab.com/aj/add-reply/activity",
2193      type: 'POST',
2194      dataType: 'json',
2195      data: {text:text,id:comm_id,post_id:post_id,reply:reply_id},
2196    })
2197    .done(function(data) {
2198      if (data.status == 200) {
2199        $("#pt-comment-replies-cont-" + comm_id).append(data.html)
2200        $("#comm-reply-"+comm_id).find('input').val('').blur();
2201      }
2202      else if (data.links_count) {
2203        PT_ShowCommentPaywall(data, {text:text,id:comm_id,post_id:post_id,reply:reply_id,pay_links:1}, PT_AppendReply(comm_id), 'https://mabiab.com/aj/add-reply/activity');
2204      }
2205      $("#comment-reply-loading-renderer-"+comm_id).addClass('hidden');
2206    })
2207    .fail(function() {
2208      alert('Sorry, something went wrong: Please try again later ...');
2209    })
2210  }
2211}
2212function PT_AppendReply(comm_id) {
2213  return function (res) {
2214    $("#pt-comment-replies-cont-" + comm_id).append(res.html);
2215    $("#comm-reply-"+comm_id).find('input').val('').blur();
2216  };
2217}
2218function PT_DeleteReply(id) {
2219  if (!id) { return false; }
2220  if (!confirm('Вы уверены, что хотите удалить свой комментарий?')) { return false; }
2221  $('#reply-' + id).slideUp('fast');
2222  $.post('https://mabiab.com/aj/delete-reply', {id: id});
2223}
2224
2225function PT_EditReply(id) {
2226    if (!id) { return false; }
2227
2228    let wrapper = $('#reply-' + id);
2229    let comment_wrapper = $('div.reply-wrapper.reply-id-' + id);
2230
2231    let html = comment_wrapper.html();
2232
2233    $.post('https://mabiab.com/aj/comments/get_comment', {id: id, is_reply: 1}, function(res) {
2234        if (res.status != 200) { return false; }
2235        wrapper.addClass('edit');
2236        comment_wrapper.html(
2237            '<div class="reply-holder" style="display: none;">' + html.trim() + '</div>' +
2238            '<textarea style="width: 100%; border: 1px solid #eee;"></textarea>'
2239        );
2240        comment_wrapper.find('textarea').val(res.text);
2241    });
2242}
2243
2244function PT_CancelEditingReply(id) {
2245    let wrapper = $('#reply-' + id);
2246    let comment_wrapper = $('div.reply-wrapper.reply-id-' + id);
2247    let old_comment = $('div.reply-wrapper.reply-id-' + id + ' > .reply-holder').html();
2248
2249    comment_wrapper.html(old_comment.trim());
2250    wrapper.removeClass('edit');
2251}
2252
2253function PT_SaveReply(id) {
2254    if (!id) { return false; }
2255
2256    let wrapper = $('#reply-' + id);
2257    let comment_wrapper = $('div.reply-wrapper.reply-id-' + id);
2258    let text = $('div.reply-wrapper.reply-id-' + id + ' > textarea').val().trim();
2259    let old_html = comment_wrapper.find('.reply-holder').html();
2260
2261    $.post('https://mabiab.com/aj/comments/update_reply', {id: id, text: text}, function(data, textStatus, xhr) {
2262        if (data.status == 200) {
2263            comment_wrapper.html(data.text);
2264            wrapper.removeClass('edit');
2265            return;
2266        }
2267        if (data.links_count) {
2268            PT_ShowCommentPaywall(data, {id: id, text: text, pay_links: 1}, function (res) {
2269                comment_wrapper.html(res.text);
2270                wrapper.removeClass('edit');
2271            }, 'https://mabiab.com/aj/comments/update_reply');
2272            return;
2273        }
2274        comment_wrapper.html(old_html.trim());
2275        wrapper.removeClass('edit');
2276    });
2277}
2278
2279function PT_LikeComments(self,type,comment_id){
2280  if (!self || (type != 'up' && type != 'down') || !comment_id){
2281    return false;
2282  }
2283
2284  else if (!$('#main-container').attr('data-logged') && $('#main-url').val()) {
2285    window.location.href = PT_Ajax_Requests_File() + 'login?to=' + $('#main-url').val();
2286    return false;
2287  }
2288
2289  var self = $(self);
2290  $.ajax({
2291    url: 'https://mabiab.com/aj/comment-like-system/' + type,
2292    type: 'POST',
2293    dataType: 'json',
2294    data: {id:comment_id}
2295  })
2296  .done(function(data) {
2297    if (data.status == 200 && type == 'up' && data.type == 'added_like'){
2298      self.find('span').text((data.up));
2299      $('[data-comment-dislikes="'+comment_id+'"]').find('span').text((data.down));
2300      self.find('svg.feather').addClass('active');
2301      self.siblings().find('svg.feather').removeClass('active');
2302      
2303    }
2304
2305    else if (data.status == 200 && type == 'up' && data.type == 'deleted_like'){
2306      self.find('span').text((data.up));
2307      $('[data-comment-dislikes="'+comment_id+'"]').find('span').text((data.down));
2308      self.find('svg.feather').removeClass('active');
2309      self.siblings().find('svg.feather').removeClass('active');
2310    }
2311
2312    else if (data.status == 200 && type == 'down' && data.type == 'added_dislike'){
2313      self.find('span').text((data.down));
2314      self.find('svg.feather').addClass('active');
2315      $('[data-comment-likes="'+comment_id+'"]').find('span').text((data.up));
2316      self.siblings().find('svg.feather').removeClass('active');
2317    }
2318
2319    else if (data.status == 200 && type == 'down' && data.type == 'deleted_dislike'){
2320      self.find('span').text((data.down));
2321      self.find('svg.feather').removeClass('active');
2322      $('[data-comment-likes="'+comment_id+'"]').find('span').text((data.up));
2323      self.siblings().find('svg.feather').removeClass('active');
2324    }
2325
2326    else{
2327      swal(
2328         'Error!',
2329         'Something went wrong.Please try again later!',
2330         'error'
2331       );
2332    }
2333  })
2334  .fail(function() {
2335    console.log("error");
2336  })
2337}
2338
2339function PT_LikeReplies(self,type,reply_id){
2340  if (!self || (type != 'up' && type != 'down') || !reply_id){
2341    return false;
2342  }
2343
2344  else if (!$('#main-container').attr('data-logged') && $('#main-url').val()) {
2345    window.location.href = PT_Ajax_Requests_File() + 'login?to=' + $('#main-url').val();
2346    return false;
2347  }
2348
2349  var self = $(self);
2350  $.ajax({
2351    url: 'https://mabiab.com/aj/reply-like-system/' + type,
2352    type: 'POST',
2353    dataType: 'json',
2354    data: {id:reply_id}
2355  })
2356  .done(function(data) {
2357    if (data.status == 200 && type == 'up' && data.type == 'added_like'){
2358      self.find('span').text((data.up));
2359      $('[data-reply-dislikes="'+reply_id+'"]').find('span').text((data.down));
2360      self.find('svg.feather').addClass('active');
2361      self.siblings().find('svg.feather').removeClass('active');
2362      
2363    }
2364
2365    else if (data.status == 200 && type == 'up' && data.type == 'deleted_like'){
2366      self.find('span').text((data.up));
2367      $('[data-reply-dislikes="'+reply_id+'"]').find('span').text((data.down));
2368      self.find('svg.feather').removeClass('active');
2369      self.siblings().find('svg.feather').removeClass('active');
2370    }
2371
2372    else if (data.status == 200 && type == 'down' && data.type == 'added_dislike'){
2373      self.find('span').text((data.down));
2374      self.find('svg.feather').addClass('active');
2375      $('[data-reply-likes="'+reply_id+'"]').find('span').text((data.up));
2376      self.siblings().find('svg.feather').removeClass('active');
2377    }
2378
2379    else if (data.status == 200 && type == 'down' && data.type == 'deleted_dislike'){
2380      self.find('span').text((data.down));
2381      self.find('svg.feather').removeClass('active');
2382      $('[data-reply-likes="'+reply_id+'"]').find('span').text((data.up));
2383      self.siblings().find('svg.feather').removeClass('active');
2384    }
2385
2386    else{
2387      swal(
2388         'Error!',
2389         'Something went wrong.Please try again later!',
2390         'error'
2391       );
2392    }
2393  })
2394  .fail(function() {
2395    console.log("error");
2396  })
2397}
2398
2399function pt_hide_announcement(id){
2400  if (!id) { return false; }
2401  $("#announcement-"+id).slideUp('fast',function(){
2402    $(this).remove();
2403    $.post('https://mabiab.com/aj/main/hide-announcement', {id: id}, function(data, textStatus, xhr) { /* pass */ });
2404  })  
2405}
2406
2407function pay_to_see(video_id,price,type = 'buy') {
2408  PayUsingWallet(type,'show',video_id,price);
2409  return false;
2410  
2411  $('.p_t_show_btn_').attr('disabled', 'true');
2412  
2413  if (type == 'rent') {
2414    $('.p_t_show_btn_rent').text("Пожалуйста, подождите..");
2415    $('.p_t_show_btn_rent').text("Арендная плата €"+price);
2416    PT_ShowMethods('rent',video_id,price);
2417  }
2418  else{
2419    $('.p_t_show_btn_buy').text("Пожалуйста, подождите..");
2420    $('.p_t_show_btn_buy').text("платить €"+price);
2421    PT_ShowMethods('pay',video_id,price);
2422  }
2423  
2424  $('.p_t_show_btn_').removeAttr('disabled');
2425}
2426
2427function PT_ShowMethods(type,video_id = 0,price = 0,user_id = 0) {
2428  $.post('https://mabiab.com/aj/wallet/get_modal',{type:type,video_id:video_id,price:price,user_id:user_id}, function(data, textStatus, xhr) {
2429    if (data.status == 200) {
2430      $('.payment_method').html(data.html);
2431      $('#pay-go-pro').modal({
2432             show: true
2433            });
2434    }
2435    if (type == 'subscribe') {
2436      $('.subscribe-id-'+user_id).find('span').text("Подписывайся");
2437      $('.subscribe-id-'+user_id).removeAttr('disabled');
2438    }
2439  });
2440}
2441
2442
2443  function PT_PurchasePkg(pkg,self,video_id,price,user_id = 0){
2444    if (!pkg || !self) {
2445      return false;
2446    }
2447
2448    $(self).text("Пожалуйста, подождите..").attr('disabled', 'true');
2449    if (pkg == 'wallet') {
2450        amount = $("#wallet_amount").val();
2451
2452      $.ajax({
2453        url: 'https://mabiab.com/aj/wallet/replenish',
2454        type: 'POST',
2455        dataType: 'json',
2456        data: {amount:amount},
2457      })
2458      .done(function(data) {
2459        if (data.status == 200) {
2460          window.location.href = data.url;
2461        }
2462        else{
2463          swal({
2464            title:"Ошибка!",
2465            text:"Что-то пошло не так. Пожалуйста, повторите попытку позже!",
2466            type:"error"
2467          });
2468        }
2469      })
2470      .fail(function() {
2471        swal({
2472          title:"Ошибка!",
2473          text:"Что-то пошло не так. Пожалуйста, повторите попытку позже!",
2474          type:"error"
2475        });
2476      });
2477    }
2478  }
2479  function pay_using_iyzipay(pkg,self,video_id,price,user_id = 0) {
2480    $('.btn-iyzipay').attr('disabled','true');
2481    $('.btn-iyzipay').find('span').text("Пожалуйста, подождите..");
2482    pay_type = '';
2483    if (pkg == 'pro') {
2484      path = '/go_pro/iyzipay';
2485    }
2486    else if (pkg == 'wallet') {
2487      path = '/wallet/iyzipay';
2488      price = $("#wallet_amount").val();
2489    }
2490    else if (pkg == 'pay') {
2491      path = '/go_pro/iyzipay_pay_to_see';
2492    }
2493    else if (pkg == 'rent') {
2494      path = '/go_pro/iyzipay_pay_to_see';
2495      pay_type = 'rent';
2496    }
2497    else if (pkg == 'subscribe') {
2498      path = '/go_pro/subscribe';
2499    }
2500
2501    $.post('https://mabiab.com/aj'+path, {video_id:video_id,amount:price,user_id:user_id,pay_type:pay_type,type:'iyzipay'}, function(data) {
2502      if (data.status == 200) {
2503        $('#iyzipay_content').html('');
2504        $('#iyzipay_content').html(data.html);
2505      } else {
2506        $('.btn-iyzipay').attr('disabled', false).html("Iyzipay App not set yet.");
2507      }
2508      $('.btn-iyzipay').removeAttr('disabled');
2509      $('.btn-iyzipay').find('span').text("Айзипай");
2510    });
2511  }
2512  function pay_using_paysera(pkg,self,video_id,price,user_id = 0) {
2513    $('.btn-paysera').attr('disabled','true');
2514    $('.btn-paysera').find('span').text("Пожалуйста, подождите..");
2515    pay_type = '';
2516    if (pkg == 'pro') {
2517      path = '/go_pro/paysera';
2518    }
2519    else if (pkg == 'wallet') {
2520      path = '/wallet/paysera';
2521      price = $("#wallet_amount").val();
2522    }
2523    else if (pkg == 'pay') {
2524      path = '/go_pro/paysera_pay_to_see';
2525    }
2526    else if (pkg == 'rent') {
2527      path = '/go_pro/paysera_pay_to_see';
2528      pay_type = 'rent';
2529    }
2530    else if (pkg == 'subscribe') {
2531      path = '/go_pro/subscribe';
2532    }
2533
2534    $.post('https://mabiab.com/aj'+path, {video_id:video_id,amount:price * 100,user_id:user_id,pay_type:pay_type,type:'paysera'}, function(data) {
2535      if (data.status == 200) {
2536        window.location.href = data.url;
2537      } else {
2538        $('.btn-paysera').attr('disabled', false).html("Paysera App not set yet.");
2539      }
2540      $('.btn-paysera').removeAttr('disabled');
2541      $('.btn-paysera').find('span').text("Paysera");
2542    });
2543  }
2544  function pay_using_razorpay(pkg,self,video_id,price,user_id = 0) {
2545    $('#razorpay_type').val(pkg);
2546    $('#razorpay_video_id').val(video_id);
2547    $('#razorpay_price').val(price);
2548    $('#razorpay_user_id').val(user_id);
2549    $("#razorpay_alert").html('');
2550    $('#pay-go-pro').modal('hide');
2551    $('#razorpay_modal_box').modal({
2552          show: true
2553      });
2554  }
2555  function SignatureRazorpay() {
2556    $('#razorpay_button').html("Пожалуйста, подождите..");
2557    $('#razorpay_button').attr('disabled','true');
2558
2559      var merchant_order_id = "111111";
2560      var card_holder_name_id = $('#razorpay_name').val();
2561      var email = $('#razorpay_email').val();
2562      var phone = $('#razorpay_phone').val();
2563      var currency_code_id = "INR";
2564
2565      if (!email || !phone || !card_holder_name_id) {
2566        $('#razorpay_alert').html("<div class='alert alert-danger'>Пожалуйста, проверьте детали</div>");
2567        $('#razorpay_button').html("платить");
2568        $('#razorpay_button').removeAttr('disabled');
2569        setTimeout(function () {
2570          $('#razorpay_alert').html("");
2571        },3000);
2572      return false;
2573      }
2574
2575      video_id = $('#razorpay_video_id').val();
2576      amount = $('#razorpay_price').val();
2577      user_id = $('#razorpay_user_id').val();
2578      pay_type = '';
2579      pkg = $('#razorpay_type').val();
2580      if (pkg == 'pro') {
2581        path = '/go_pro/razorpay';
2582      }
2583      else if (pkg == 'wallet') {
2584        path = '/wallet/razorpay';
2585        amount = $("#wallet_amount").val();
2586      }
2587      else if (pkg == 'pay') {
2588        path = '/go_pro/razorpay_pay_to_see';
2589      }
2590      else if (pkg == 'rent') {
2591        path = '/go_pro/razorpay_pay_to_see';
2592        pay_type = 'rent';
2593      }
2594      else if (pkg == 'subscribe') {
2595        path = '/go_pro/subscribe_razorpay';
2596      }
2597      var merchant_total = Number(amount) * 100;
2598      
2599      var razorpay_options = {
2600          key: "",
2601          amount: merchant_total,
2602          name: "MABIAB",
2603          description: "",
2604          image: 'https://mabiab.com/themes/youplay/img/logo-light.png',
2605          netbanking: true,
2606          currency: currency_code_id,
2607          prefill: {
2608              name: card_holder_name_id,
2609              email: email,
2610              contact: phone
2611          },
2612          notes: {
2613              soolegal_order_id: merchant_order_id,
2614          },
2615          handler: function (transaction) {
2616            $.post('https://mabiab.com/aj'+path, {payment_id: transaction.razorpay_payment_id, order_id: merchant_order_id, card_holder_name_id: card_holder_name_id,  merchant_amount: merchant_total, currency: currency_code_id,video_id:video_id,user_id:user_id,pay_type:pay_type,type:'razorpay',name:name,phone:phone}, function(data) {
2617              if (data.status == 200) {
2618                window.location = data.url;
2619              } else {
2620                $('#razorpay_alert').html("<div class='alert alert-danger'>"+data.message+"</div>");
2621                setTimeout(function () {
2622                  $('#razorpay_alert').html("");
2623                },3000);
2624              }
2625              $('#razorpay_button').html("платить");
2626              $('#razorpay_button').removeAttr('disabled');
2627            });
2628          },
2629          "modal": {
2630              "ondismiss": function () {
2631                  // code here
2632              }
2633          }
2634      };
2635      // obj        
2636      var objrzpv1 = new Razorpay(razorpay_options);
2637      objrzpv1.open();
2638  }
2639  function pay_using_cashfree(pkg,self,video_id,price,user_id = 0) {
2640    $('#cashfree_type').val(pkg);
2641    $('#cashfree_video_id').val(video_id);
2642    $('#cashfree_price').val(price);
2643    $('#cashfree_user_id').val(user_id);
2644    $("#cashfree_alert").html('');
2645    $('#pay-go-pro').modal('hide');
2646    $('#cashfree_modal_box').modal({
2647          show: true
2648      });
2649  }
2650  function InitializeCashfree() {
2651    $('#cashfree_button').html("Пожалуйста, подождите..");
2652    $('#cashfree_button').attr('disabled','true');
2653    name = $('#cashfree_name').val();
2654    phone = $('#cashfree_phone').val();
2655    email = $('#cashfree_email').val();
2656    video_id = $('#cashfree_video_id').val();
2657    amount = $('#cashfree_price').val();
2658    user_id = $('#cashfree_user_id').val();
2659    pay_type = '';
2660    pkg = $('#cashfree_type').val();
2661    if (pkg == 'pro') {
2662      path = '/go_pro/cashfree';
2663    }
2664    else if (pkg == 'wallet') {
2665      path = '/wallet/cashfree';
2666      amount = $("#wallet_amount").val();
2667    }
2668    else if (pkg == 'pay') {
2669      path = '/go_pro/cashfree_pay_to_see';
2670    }
2671    else if (pkg == 'rent') {
2672      path = '/go_pro/cashfree_pay_to_see';
2673      pay_type = 'rent';
2674    }
2675    else if (pkg == 'subscribe') {
2676      path = '/go_pro/subscribe';
2677    }
2678    $.post('https://mabiab.com/aj'+path, {email:email,video_id:video_id,amount:amount,user_id:user_id,pay_type:pay_type,type:'cashfree',name:name,phone:phone}, function(data) {
2679      if (data.status == 200) {
2680        $('body').append(data.html);
2681        document.getElementById("redirectForm").submit();
2682      } else {
2683        $('#cashfree_alert').html("<div class='alert alert-danger'>"+data.message+"</div>");
2684        setTimeout(function () {
2685          $('#cashfree_alert').html("");
2686        },3000);
2687      }
2688      $('#cashfree_button').html("платить");
2689      $('#cashfree_button').removeAttr('disabled');
2690    });
2691  }
2692  function pay_using_paystack(pkg,self,video_id,price,user_id = 0) {
2693    $('#paystack_type').val(pkg);
2694    $('#paystack_video_id').val(video_id);
2695    $('#paystack_price').val(price);
2696    $('#paystack_user_id').val(user_id);
2697    $("#paystack_wallet_alert").html('');
2698    $('#pay-go-pro').modal('hide');
2699    $('#paystack_wallet_modal').modal({
2700          show: true
2701      });
2702  }
2703  function InitializeWalletPaystack() {
2704    $('#paystack_btn').html("Пожалуйста, подождите..");
2705      $('#paystack_btn').attr('disabled','true');
2706    email = $('#paystack_wallet_email').val();
2707    video_id = $('#paystack_video_id').val();
2708    amount = $('#paystack_price').val();
2709    user_id = $('#paystack_user_id').val();
2710    pay_type = '';
2711    pkg = $('#paystack_type').val();
2712    if (pkg == 'pro') {
2713      path = '/go_pro/paystack';
2714    }
2715    else if (pkg == 'wallet') {
2716      path = '/wallet/paystack';
2717      amount = $("#wallet_amount").val();
2718    }
2719    else if (pkg == 'pay') {
2720      path = '/go_pro/paystack_pay_to_see';
2721    }
2722    else if (pkg == 'rent') {
2723      path = '/go_pro/paystack_pay_to_see';
2724      pay_type = 'rent';
2725    }
2726    else if (pkg == 'subscribe') {
2727      path = '/go_pro/subscribe';
2728    }
2729    $.post('https://mabiab.com/aj'+path, {email:email,video_id:video_id,amount:amount,user_id:user_id,pay_type:pay_type,type:'paystack'}, function(data) {
2730      if (data.status == 200) {
2731        window.location.href = data.url;
2732      } else {
2733        $('#paystack_wallet_alert').html("<div class='alert alert-danger'>"+data.message+"</div>");
2734        setTimeout(function () {
2735          $('#paystack_wallet_alert').html("");
2736        },3000);
2737      }
2738      $('#paystack_btn').html("платить");
2739        $('#paystack_btn').removeAttr('disabled');
2740    });
2741  }
2742
2743  function PT_OpenCheckOut(pkg,self,video_id = 0,price = 0,user_id = 0){
2744    if (!pkg || !self) {
2745      return false;
2746    }
2747    if (video_id) {
2748      $('#checkout_video_'+video_id).val(video_id);
2749    }
2750    if (price) {
2751      $('#checkout_price_'+video_id).val(price);
2752    }
2753    $('#checkout_user_id').val(user_id);
2754
2755    $(self).text("Пожалуйста, подождите..").attr('disabled', 'true');
2756
2757    $("#2checkout_alert").html('');
2758    $('#pay-go-pro').modal('hide');
2759      $('#2checkout_modal').modal({
2760            show: true
2761        });
2762      if (pkg == 'rent') {
2763        $('.checkout_pay_type').val('rent');
2764      }
2765      else{
2766        $('.checkout_pay_type').val('');
2767      }
2768  }
2769
2770
2771  function PT_PaySubscribe(user_id,self,type = '',price=0) {
2772    if (!user_id || !self) { return false; }
2773    var text = $(self).find('span').text();
2774    if (type == 'subscribe') {
2775      PayUsingWallet(type,'show',user_id,price);
2776      return;
2777      $(self).find('span').text("Пожалуйста, подождите..");
2778      $(self).attr('disabled', 'true');
2779      PT_ShowMethods('subscribe',0,0,user_id);
2780    }
2781    else{
2782      var html = "<small>Вы уверены, что хотите отказаться от подписки? Это действие не может быть отмена.</small>";
2783      swal({
2784        title: "",
2785        type: "",
2786        html:html,
2787        showCancelButton: true,
2788        cancelButtonText: "нет",
2789        customClass: 'sweetalert-lg pt_add_to_list_vid',
2790        confirmButtonText:'да'
2791      }).then(function(){
2792          $(self).removeClass('btn-subscribed').addClass('btn-subscribe');
2793          $(self).find('span').text("Подписывайся");
2794          $(self).find('svg').remove();
2795          $(self).prepend('<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-plus"><line x1="12" y1="5" x2="12" y2="19"></line><line x1="5" y1="12" x2="19" y2="12"></line></svg>');
2796          $(self).attr('onclick', 'PT_PaySubscribe(' + user_id + ',this,"subscribe")');
2797          $.post('https://mabiab.com/aj/subscribe', {user_id: user_id});
2798
2799        },function(){
2800      });
2801    }
2802    $(self).removeAttr('disabled');
2803    $(self).find('span').text(text);
2804  }
2805  
2806</script>
2806
2807      
2807<script>
2808  
2809  function CheckIfCanUse() {
2810      }
2811  
2812
2813     var create_bar = $('.create-product-bar');
2814  var create_percent = $('.create-product-percent');
2815  $(document).ready(function() {
2816
2817    $('form.edit-offer-form').ajaxForm({
2818          url: Wo_Ajax_Requests_File() + '?f=offer&s=edit_offer',
2819          beforeSend: function() {
2820           var percentVal = '0%';
2821           create_bar.width(percentVal);
2822           create_percent.html(percentVal);
2823
2824
2825            $('.edit-offer-form').find('.last-sett-btn .ball-pulse').fadeIn(100);
2826          },
2827          uploadProgress: function (event, position, total, percentComplete) {
2828             var percentVal = percentComplete + '%';
2829             create_bar.width(percentVal);
2830             $('.edit-offer-form').find('.create-product-progress').slideDown(200);
2831             create_percent.html(percentVal);
2832          },
2833          success: function(data) {
2834           if (data.status == 200) {
2835             $('.edit-offer-form').find('.app-general-alert').html("<div class='alert alert-success'></div>");
2836               $('.edit-offer-form').find('.alert-success').fadeIn(300);
2837               setTimeout(function (argument) {
2838                $('.edit-offer-form').find('.alert-success').fadeOut(300);
2839                window.location.reload(true);
2840
2841               },3000);
2842           } else {
2843            $('.edit-offer-form').animate({
2844              scrollTop: $('html, body').offset().top //#DIV_ID is an example. Use the id of your destination on the page
2845          });
2846               $('.edit-offer-form').find('.app-general-alert').html('<div class="alert alert-danger">' + data.error + '</div>');
2847               $('.edit-offer-form').find('.alert-danger').fadeIn(300);
2848               setTimeout(function (argument) {
2849                $('.edit-offer-form').find('.alert-danger').fadeOut(300);
2850
2851               },3000);
2852           }
2853           $('.edit-offer-form').find('.last-sett-btn .ball-pulse').fadeOut(100);
2854          }
2855      });
2856
2857  });
2858function Wo_RegisterReactionLike(element,reaction_icon,is_html){
2859
2860    var reaction = parseInt($(element).attr('data-reaction-id'));
2861    var post_id = $(element).attr('data-post-id');
2862
2863    if ($('#react_'+post_id).attr('data_react') == 1) {
2864      return false;
2865    }
2866
2867    var path = "https://mabiab.com/themes/youplay";
2868    var lang = $(element).attr('data-reaction-lang');
2869    if (!post_id || !reaction) {
2870      return false;
2871    }
2872
2873    $('.reactions-box-container-'+post_id).fadeOut(1);
2874
2875    var reaction_color = '';
2876    switch (reaction) {
2877          case 1:
2878              reaction_color = '#1eb2c4';
2879              break;
2880          case 2:
2881              
2882              reaction_color = '#f25268';
2883              break;
2884          case 3:
2885              reaction_color = '#f3b715';
2886              break;
2887          case 4:
2888              reaction_color = '#f3b715';
2889              break;
2890          case 5:
2891              reaction_color = '#f3b715';
2892              break;
2893          case 6:
2894              reaction_color = '#f7806c';
2895              break;
2896      }
2897
2898      console.log(reaction_color);
2899
2900       reaction_html = '<div class="inline_post_emoji no_anim"><div class="reaction"><img src="'+reaction_icon+'"></div></div>';
2901
2902    $('.status-reaction-'+post_id).html(''+reaction_html+'' + lang).css({"color": reaction_color});
2903    $('.status-reaction-'+post_id).addClass("active-like");
2904    $.get(Wo_Ajax_Requests_File(), {f: 'posts', s: 'register_reaction', post_id: post_id, reaction: reaction}, function (data) {
2905
2906      if(data.status == 200) {
2907               if ($('#react_'+post_id).attr('data_react') == 0) {
2908        socket.emit("post_notification", { post_id: post_id, user_id: _getCookie("user_id"), type: "added" });
2909      }
2910              $('.post-reactions-icons-'+post_id).html(data.reactions);
2911
2912      }
2913      if (data.can_send == 1) {
2914        Wo_SendMessages();
2915      }
2916      $('#react_'+post_id).attr('data_react','1');
2917    });
2918}
2919
2920function Wo_RegisterStoryReaction(element,reaction_icon,is_html) {
2921  var reaction = parseInt($(element).attr('data-reaction-id'));
2922  var post_id = $(element).attr('data-post-id');
2923  var path = "https://mabiab.com/themes/youplay";
2924  var lang = $(element).attr('data-reaction-lang');
2925  if (!post_id || !reaction) {
2926    return false;
2927  }
2928  $('.like-story-lightbox').addClass('active');
2929  $.get(Wo_Ajax_Requests_File(), {f: 'status', s: 'register_reaction', story_id: post_id, reaction: reaction}, function (data) {
2930    if(data.status == 200) {
2931        if ($('#react_'+post_id).attr('data_react') == 0) {
2932    //socket.emit("post_notification", { post_id: post_id, user_id: _getCookie("user_id"), type: "added" });
2933  }
2934        $('.post-reactions-icons-'+post_id).html(data.reactions);
2935
2936    }
2937    if (data.can_send == 1) {
2938      Wo_SendMessages();
2939    }
2940    //$('#react_'+post_id).attr('data_react','1');
2941  });
2942}
2943
2944function Wo_RegisterMessageReaction(element,reaction_icon,is_html) {
2945  var reaction = parseInt($(element).attr('data-reaction-id'));
2946  var post_id = $(element).attr('data-post-id');
2947  var path = "https://mabiab.com/themes/youplay";
2948  var lang = $(element).attr('data-reaction-lang');
2949  if (!post_id || !reaction) {
2950    return false;
2951  }
2952       socket.emit("register_reaction", {
2953        type: 'messages',
2954        id: post_id,
2955        reaction: reaction,
2956        user_id: _getCookie("user_id")
2957      })
2958
2959    $('.reactions-box-container-'+post_id).fadeOut(50);
2960
2961}
2962function Wo_RegisterReaction(element,reaction_icon,is_html){
2963    var reaction = parseInt($(element).attr('data-reaction-id'));
2964    var post_id = $(element).attr('data-post-id');
2965    var path = "https://mabiab.com/themes/youplay";
2966    var lang = $(element).attr('data-reaction-lang');
2967    if (!post_id || !reaction) {
2968      return false;
2969    }
2970
2971    $('.reactions-box-container-'+post_id).fadeOut(1);
2972
2973    var reaction_color = '';
2974
2975    switch (reaction) {
2976          case 1:
2977              reaction_color = '#1da1f2';
2978              break;
2979          case 2:
2980              reaction_color = '#f25268';
2981              break;
2982          case 3:
2983              reaction_color = '#f3b715';
2984              break;
2985          case 4:
2986              reaction_color = '#f3b715';
2987              break;
2988          case 5:
2989              reaction_color = '#f3b715';
2990              break;
2991          case 6:
2992              reaction_color = '#f7806c';
2993              break;
2994      }
2995
2996    reaction_html = '<div class="inline_post_count_emoji reaction"><img src="'+reaction_icon+'"></div>&nbsp;&nbsp;';
2997    reaction_color = '';
2998
2999    $('.status-reaction-'+post_id).removeClass (function (index, css) {
3000       return (css.match (/(^|\s)active-like\S+/g) || []).join(' ');
3001    });
3002    $('.status-reaction-'+post_id).removeClass('active-like');
3003    $('.status-reaction-'+post_id).html(''+reaction_html+'' + lang).css({"color": reaction_color});
3004    $('.status-reaction-'+post_id).addClass("active-like");
3005    $('.status-reaction-'+post_id).addClass("active-like-" + reaction);
3006    $.get(Wo_Ajax_Requests_File(), {f: 'posts', s: 'register_reaction', post_id: post_id, reaction: reaction}, function (data) {
3007      if(data.status == 200) {
3008            //if ($('#react_'+post_id).attr('data_react') == 0) {
3009      socket.emit("post_notification", { post_id: post_id, user_id: _getCookie("user_id"), type: "added" });
3010    //}
3011            $('.post-reactions-icons-'+post_id).html(data.reactions);
3012
3013      }
3014      if (data.can_send == 1) {
3015        Wo_SendMessages();
3016      }
3017      $('#react_'+post_id).attr('data_react','1');
3018    });
3019}
3020
3021
3022function Wo_RegisterFollowNotify(id, type) {
3023  var _follow_con = $('[id=Notify-' + id + ']');
3024  data_next = $('[id=Notify-' + id + ']').attr('title');
3025  title = $('[id=Notify-' + id + ']').attr('data_next');
3026  html_ = '<span id="Notify-' + id + '" title="'+title+'" data_next="'+data_next+'" class="btn-glossy"><button type="button" onclick="Wo_RegisterFollowNotify(' + id + ',0)" class="btn-active btn btn-default btn-sm wo_following_btn wo_user_folw_empty_btns" id="wo_useract_btn"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-bell-off"><path d="M13.73 21a2 2 0 0 1-3.46 0"></path><path d="M18.63 13A17.89 17.89 0 0 1 18 8"></path><path d="M6.26 6.26A5.86 5.86 0 0 0 6 8c0 7-3 9-3 9h14"></path><path d="M18 8a6 6 0 0 0-9.33-5"></path><line x1="1" y1="1" x2="23" y2="23"></line></svg></button></span>';
3027  if (type == 0) {
3028    html_ = '<span id="Notify-' + id + '" title="'+title+'" data_next="'+data_next+'" class="btn-glossy"><button type="button" onclick="Wo_RegisterFollowNotify(' + id + ',1)" class="btn btn-default btn-sm wo_user_folw_empty_btns" id="wo_useract_btn"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-bell"><path d="M18 8A6 6 0 0 0 6 8c0 7-3 9-3 9h18s-3-2-3-9"></path><path d="M13.73 21a2 2 0 0 1-3.46 0"></path></svg></button></span>';
3029  }
3030
3031  _follow_con.replaceWith(html_);
3032
3033  $.get(Wo_Ajax_Requests_File(), {f: 'notify_user', following_id: id}, function(data) {});
3034
3035}
3036
3037
3038
3039
3040
3041function Wo_RegisterFollow(id, is_confirm,show_modal= false) {
3042  var _follow_con = $('[id=Follow-' + id + ']');
3043  is_confirm_f    = 0;
3044
3045  if (is_confirm == 1) {
3046    is_confirm_f = 1;
3047  }
3048  if (show_modal == true) {
3049    $('#unfriend_btn').attr('onclick', 'Wo_RegisterFollow('+id+')');
3050    $('#un_friend_modal').modal('show');
3051    return false;
3052  }
3053  $('#un_friend_modal').modal('hide');
3054
3055      html_ = '<button type="button" onclick="Wo_RegisterFollow(' + id + ', ' + is_confirm_f + ')" class="btn-active btn btn-default btn-sm wo_following_btn" id="wo_useract_btn"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M16 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2"></path><circle cx="8.5" cy="7" r="4"></circle><polyline points="17 11 19 13 23 9"></polyline></svg><span class="button-text"> Following</span></button>';
3056    if (is_confirm_f == 1) {
3057      html_ = '<button type="button" onclick="Wo_RegisterFollow(' + id + ', ' + is_confirm_f + ')" class="btn-requested btn btn-default btn-sm wo_request_btn" id="wo_useract_btn"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M16 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2"></path><circle cx="8.5" cy="7" r="4"></circle><line x1="20" y1="8" x2="20" y2="14"></line><line x1="23" y1="11" x2="17" y2="11"></line></svg><span class="button-text"> </span></button>';
3058    }
3059    if (_follow_con.find('button').hasClass('btn-active') || _follow_con.find('button').hasClass('btn-requested')) {
3060      html_ = '<button type="button" onclick="Wo_RegisterFollow(' + id + ', ' + is_confirm_f + ')" class="btn btn-default btn-sm wo_follow_btn" id="wo_useract_btn"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M16 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2"></path><circle cx="8.5" cy="7" r="4"></circle><line x1="20" y1="8" x2="20" y2="14"></line><line x1="23" y1="11" x2="17" y2="11"></line></svg><span class="button-text"> Follow</span></button>';
3061
3062    }
3063  
3064  _follow_con.html(html_);
3065
3066  $.get(Wo_Ajax_Requests_File(), {f: 'follow_user', following_id: id}, function(data) {
3067
3068    
3069    if (_follow_con.find('button').hasClass('btn-active') || _follow_con.find('button').hasClass('btn-requested')) {
3070      if (node_socket_flow == "1") {
3071        if (is_confirm_f == 1) {
3072          socket.emit("user_notification", { to_id: id, user_id: _getCookie("user_id"), type: "request" });
3073        } else {
3074          socket.emit("user_notification", { to_id: id, user_id: _getCookie("user_id"), type: "added" });
3075        }
3076
3077      }
3078    } else {
3079      if (node_socket_flow == "1") {
3080        if (is_confirm_f == 1) {
3081         socket.emit("user_notification", { to_id: id, user_id: _getCookie("user_id"), type: "removed" });
3082          } else {
3083            socket.emit("user_notification", { to_id: id, user_id: _getCookie("user_id"), type: "request_removed" });
3084          }
3085      }
3086    }
3087  
3088      socket.emit("active-message-user-change", {from_id: _getCookie("user_id"), user_id: id})
3089  
3090    if (data.can_send == 1) {
3091      Wo_SendMessages();
3092    }
3093
3094    else if(data.status == 400){
3095      html_ = '<button type="button" onclick="Wo_RegisterFollow(' + id + ')" class="btn btn-default btn-sm wo_follow_btn" id="wo_useract_btn"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M16 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2"></path><circle cx="8.5" cy="7" r="4"></circle><line x1="20" y1="8" x2="20" y2="14"></line><line x1="23" y1="11" x2="17" y2="11"></line></svg><span class="button-text"> </span></button>';
3096      _follow_con.html(html_);
3097
3098      $("#modal-alert").modal('show');
3099
3100      Wo_Delay(function(){
3101        $("#modal-alert").modal('hide');
3102      },3000);
3103    }
3104  });
3105
3106}
3107
3108function Wo_RegisterGroupJoin(id, is_confirm) {
3109  var _join_con = $('[id=join-' + id + ']');
3110  is_confirm_ = 0;
3111  if (is_confirm == 1) {
3112    is_confirm_ = 1;
3113  }
3114  html_join = '<button type="button" onclick="Wo_RegisterGroupJoin(' + id + ', ' + is_confirm_ + ')" class="btn-active btn btn-default btn-sm wo_following_btn" id="wo_useract_btn"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M22 11.08V12a10 10 0 1 1-5.93-9.14"></path><polyline points="22 4 12 14.01 9 11.01"></polyline></svg><span class="button-text"> </span></button>';
3115  if (is_confirm_ == 1) {
3116    html_join = '<button type="button" onclick="Wo_RegisterGroupJoin(' + id + ', ' + is_confirm_ + ')" class="btn-requested btn btn-default btn-sm wo_request_btn" id="wo_useract_btn"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="10"></circle><polyline points="12 6 12 12 16 14"></polyline></svg><span class="button-text"> </span></button>';
3117  }
3118  if (_join_con.find('button').hasClass('btn-requested') || _join_con.find('button').hasClass('btn-active')) {
3119    html_join = '<button type="button" onclick="Wo_RegisterGroupJoin(' + id + ', ' + is_confirm_ + ')" class="btn btn-default btn-sm wo_follow_btn" id="wo_useract_btn"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="10"></circle><line x1="12" y1="8" x2="12" y2="16"></line>
3119<line x1="8" y1="12" x2="16" y2="12"></line></svg><span class="button-text"> </span></button>';
3120  }
3121  _join_con.html(html_join);
3122  $.get(Wo_Ajax_Requests_File(), {f: 'join_group', group_id: id}, function (data) {
3123    if (node_socket_flow == "1") {
3124      if (_join_con.find('button').hasClass('btn-active') || _join_con.find('button').hasClass('btn-requested')) {
3125          socket.emit("group_notification", { to_id: id, user_id: _getCookie("user_id"), type: "added" });
3126      } else {
3127          socket.emit("group_notification", { to_id: id, user_id: _getCookie("user_id"), type: "removed" });
3128      }
3129    }
3130    if (data.can_send == 1) {
3131      Wo_SendMessages();
3132    }
3133  });
3134}
3135
3136function Wo_RegisterEventGoing(id) {
3137  var _join_con = $('[id=going-' + id + ']');
3138  html_join = '<button type="button" onclick="Wo_RegisterEventGoing(' + id + ')" class="btn btn-main btn-mat"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M0.41,13.41L6,19L7.41,17.58L1.83,12M22.24,5.58L11.66,16.17L7.5,12L6.07,13.41L11.66,19L23.66,7M18,7L16.59,5.58L10.24,11.93L11.66,13.34L18,7Z" /></svg> <span class="button-text"> </span></button>';
3139  if (_join_con.find('button').hasClass('btn-main')) {
3140    html_join = '<button type="button" onclick="Wo_RegisterEventGoing(' + id + ')" class="btn btn-default btn-mat"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M10.74,11.72C11.21,12.95 11.16,14.23 9.75,14.74C6.85,15.81 6.2,13 6.16,12.86L10.74,11.72M5.71,10.91L10.03,9.84C9.84,8.79 10.13,7.74 10.13,6.5C10.13,4.82 8.8,1.53 6.68,2.06C4.26,2.66 3.91,5.35 4,6.65C4.12,7.95 5.64,10.73 5.71,10.91M17.85,19.85C17.82,20 17.16,22.8 14.26,21.74C12.86,21.22 12.8,19.94 13.27,18.71L17.85,19.85M20,13.65C20.1,12.35 19.76,9.65 17.33,9.05C15.22,8.5 13.89,11.81 13.89,13.5C13.89,14.73 14.17,15.78 14,16.83L18.3,17.9C18.38,17.72 19.89,14.94 20,13.65Z" /></svg> <span class="button-text"> </span></button>';
3141  }
3142  _join_con.html(html_join);
3143  $.get(Wo_Ajax_Requests_File(), {f: 'go_event', event_id: id}, function (data) {
3144    if (node_socket_flow == "1") {
3145      if (_join_con.find('button').hasClass('btn-main')) {
3146          socket.emit("event_notification", { to_id: id, user_id: _getCookie("user_id"), type: "added" });
3147      } else {
3148          socket.emit("event_notification", { to_id: id, user_id: _getCookie("user_id"), type: "removed" });
3149      }
3150    }
3151    if (data.can_send == 1) {
3152      Wo_SendMessages();
3153    }
3154  });
3155}
3156
3157function Wo_RegisterEventInterested(id) {
3158  var _join_con = $('[id=interested-' + id + ']');
3159  html_join = '<button type="button" onclick="Wo_RegisterEventInterested(' + id + ')" class="btn btn-main btn-mat"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M0.41,13.41L6,19L7.41,17.58L1.83,12M22.24,5.58L11.66,16.17L7.5,12L6.07,13.41L11.66,19L23.66,7M18,7L16.59,5.58L10.24,11.93L11.66,13.34L18,7Z" /></svg> <span class="button-text"> </span></button>';
3160  if (_join_con.find('button').hasClass('btn-main')) {
3161    html_join = '<button type="button" onclick="Wo_RegisterEventInterested(' + id + ')" class="btn btn-default btn-mat"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M16.5,5C15,5 13.58,5.91 13,7.2V17.74C17.25,13.87 20,11.2 20,8.5C20,6.5 18.5,5 16.5,5M16.5,3C19.58,3 22,5.41 22,8.5C22,12.27 18.6,15.36 13.45,20.03L12,21.35L10.55,20.03C5.4,15.36 2,12.27 2,8.5C2,5.41 4.42,3 7.5,3C9.24,3 10.91,3.81 12,5.08C13.09,3.81 14.76,3 16.5,3Z" /></svg> <span class="button-text"> </span></button>';
3162  }
3163  _join_con.html(html_join);
3164  $.get(Wo_Ajax_Requests_File(), {f: 'interested_event', event_id: id}, function (data) {
3165     if (node_socket_flow == "1") {
3166      if (_join_con.find('button').hasClass('btn-main')) {
3167          socket.emit("event_notification", { to_id: id, user_id: _getCookie("user_id"), type: "added" });
3168      } else {
3169          socket.emit("event_notification", { to_id: id, user_id: _getCookie("user_id"), type: "removed" });
3170      }
3171    }
3172    if (data.can_send == 1) {
3173      Wo_SendMessages();
3174    }
3175  });
3176}
3177
3178
3179function Wo_RegisterPageLike(id) {
3180  element_like = $('[id=like-' + id + ']');
3181  html_like = '<button type="button" onclick="Wo_RegisterPageLike(' + id + ')" class="btn-active btn btn-default btn-sm wo_following_btn" id="wo_useract_btn"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M14 9V5a3 3 0 0 0-3-3l-4 9v11h11.28a2 2 0 0 0 2-1.7l1.38-9a2 2 0 0 0-2-2.3zM7 22H4a2 2 0 0 1-2-2v-7a2 2 0 0 1 2-2h3"></path></svg><span class="button-text"> </span></button>';
3182  if (element_like.find('button').hasClass('btn-active')) {
3183  	html_like = '<button type="button" onclick="Wo_RegisterPageLike(' + id + ')" class="btn btn-default btn-sm wo_follow_btn" id="wo_useract_btn"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M14 9V5a3 3 0 0 0-3-3l-4 9v11h11.28a2 2 0 0 0 2-1.7l1.38-9a2 2 0 0 0-2-2.3zM7 22H4a2 2 0 0 1-2-2v-7a2 2 0 0 1 2-2h3"></path></svg><span class="button-text">' + "</span></button>" ;
3184  }
3185  element_like.html(html_like);
3186  $.get(Wo_Ajax_Requests_File(), {f: 'like_page', page_id: id}, function (data) {
3187    if(data.status == 200) {
3188      if (node_socket_flow == "1") {
3189        if (element_like.find('button').hasClass('btn-active')) {
3190           socket.emit("page_notification", { to_id: id, user_id: _getCookie("user_id"), type: "added"});
3191        } else {
3192          socket.emit("page_notification", { to_id: id, user_id: _getCookie("user_id"), type: "removed"});
3193        }
3194      }
3195      if ($('.sidebar-listed-page-like').attr('data-type') == "sidebar") {
3196        setTimeout(function () {
3197          Wo_ReloadSideBarPages();
3198        }, 500);
3199      }
3200    }
3201    if (data.can_send == 1) {
3202      Wo_SendMessages();
3203    }
3204  });
3205}
3206
3207function Wo_RegisterLike(post_id) {
3208  var post = $('[id=post-' + post_id + ']');
3209    html_like = "<span class='active-like'><svg xmlns='http://www.w3.org/2000/svg' width='58.553' height='58.266' viewB
3209ox='0 0 58.553 58.266' class='feather'> <path d='M-7080.317,1279.764l-26.729-1.173a1.657,1.657,0,0,1-1.55-1.717l1.11-33.374a4.112,4.112,0,0,1,2.361-3.6l.014-.005a13.62,13.62,0,0,1,1.978-.363h.007a9.007,9.007,0,0,0,3.249-.771c2.645-1.845,3.973-4.658,5.259-7.378l.005-.013.031-.061.059-.13.012-.023c.272-.576.61-1.289.944-1.929l0-.007c.576-1.105,2.327-4.46,4.406-5.107a2.3,2.3,0,0,1,.59-.105c.036,0,.072,0,.109,0a2.55,2.55,0,0,1,1.212.324c2.941,1.554,1.212,7.451.561,9.672a38.306,38.306,0,0,1-3.7,8.454l-.71,1.218,18.363.808a3.916,3.916,0,0,1,3.784,3.735,3.783,3.783,0,0,1-1.123,2.834,3.629,3.629,0,0,1-2.559,1.055c-.046,0-.1,0-.145,0h-.027l-2.141-.093-9.331-.41-.075,1.7,9.333.408a3.721,3.721,0,0,1,2.666,1.3,3.855,3.855,0,0,1,.936,2.934,3.779,3.779,0,0,1-3.821,3.38c-.061,0-.122,0-.181-.005l-1.974-.082-8.9-.392-.075,1.7,8.9.39a3.723,3.723,0,0,1,2.666,1.3,3.86,3.86,0,0,1,.937,2.933,3.784,3.784,0,0,1-3.827,3.381c-.057,0-.118,0-.177,0l-1.976-.088-8.472-.372-.075,1.7,8.474.372a3.726,3.726,0,0,1,2.666,1.3,3.857,3.857,0,0,1,.935,2.933,3.782,3.782,0,0,1-3.827,3.381C-7080.2,1279.765-7080.26,1279.765-7080.317,1279.764Zm-38.4,0-.089,0a6.558,6.558,0,0,1-6.193-6.8l.907-27.293a6.446,6.446,0,0,1,2.074-4.553,6.214,6.214,0,0,1,3.954-1.672c.081,0,.17-.005.29-.005s.212,0,.292.005a6.561,6.561,0,0,1,6.192,6.8l-.907,27.293a6.441,6.441,0,0,1-2.072,4.547,6.249,6.249,0,0,1-4.261,1.681Z' transform='translate(7126.251 -1222.75)' fill='none' stroke='currentColor' stroke-width='2.5'/> </svg> </span>"; 
3210    if (post.find("[id^=like-button]").parent().find('.active-like').length > 0) {
3211      html_like = "<svg xmlns='http://www.w3.org/2000/svg' width='58.553' height='58.266' viewBox='0 0 58.553 58.266' class='feather'> <path d='M-7080.317,1279.764l-26.729-1.173a1.657,1.657,0,0,1-1.55-1.717l1.11-33.374a4.112,4.112,0,0,1,2.361-3.6l.014-.005a13.62,13.62,0,0,1,1.978-.363h.007a9.007,9.007,0,0,0,3.249-.771c2.645-1.845,3.973-4.658,5.259-7.378l.005-.013.031-.061.059-.13.012-.023c.272-.576.61-1.289.944-1.929l0-.007c.576-1.105,2.327-4.46,4.406-5.107a2.3,2.3,0,0,1,.59-.105c.036,0,.072,0,.109,0a2.55,2.55,0,0,1,1.212.324c2.941,1.554,1.212,7.451.561,9.672a38.306,38.306,0,0,1-3.7,8.454l-.71,1.218,18.363.808a3.916,3.916,0,0,1,3.784,3.735,3.783,3.783,0,0,1-1.123,2.834,3.629,3.629,0,0,1-2.559,1.055c-.046,0-.1,0-.145,0h-.027l-2.141-.093-9.331-.41-.075,1.7,9.333.408a3.721,3.721,0,0,1,2.666,1.3,3.855,3.855,0,0,1,.936,2.934,3.779,3.779,0,0,1-3.821,3.38c-.061,0-.122,0-.181-.005l-1.974-.082-8.9-.392-.075,1.7,8.9.39a3.723,3.723,0,0,1,2.666,1.3,3.86,3.86,0,0,1,.937,2.933,3.784,3.784,0,0,1-3.827,3.381c-.057,0-.118,0-.177,0l-1.976-.088-8.472-.372-.075,1.7,8.474.372a3.726,3.726,0,0,1,2.666,1.3,3.857,3.857,0,0,1,.935,2.933,3.782,3.782,0,0,1-3.827,3.381C-7080.2,1279.765-7080.26,1279.765-7080.317,1279.764Zm-38.4,0-.089,0a6.558,6.558,0,0,1-6.193-6.8l.907-27.293a6.446,6.446,0,0,1,2.074-4.553,6.214,6.214,0,0,1,3.954-1.672c.081,0,.17-.005.29-.005s.212,0,.292.005a6.561,6.561,0,0,1,6.192,6.8l-.907,27.293a6.441,6.441,0,0,1-2.072,4.547,6.249,6.249,0,0,1-4.261,1.681Z' transform='translate(7126.251 -1222.75)' fill='none' stroke='currentColor' stroke-width='2.5'/> </svg> ";
3212    }
3213    post.find("[id^=like-button]").html(html_like);
3214  $.get(Wo_Ajax_Requests_File(), {f: 'posts', s: 'register_like', post_id: post_id}, function (data) {
3215    if (post.find("[id^=like-button]").parent().find('.active-like').length > 0) {
3216      if (node_socket_flow == "1") { socket.emit("post_notification", { post_id: post_id, user_id: _getCookie("user_id"), type: "added" }); }
3217    } else {
3218      if (node_socket_flow == "1") { socket.emit("post_notification", { post_id: post_id, user_id: _getCookie("user_id"), type: "removed" });}
3219    }
3220    if(data.status == 200) {
3221      post.find("[id^=likes]").text(data.likes);
3222      post.find("[id^=wonders]").text(data.wonders);
3223    } else {
3224      post.find("[id^=likes]").text(data.likes);
3225      post.find("[id^=wonders]").text(data.wonders);
3226    }
3227    if (data.can_send == 1) {
3228      Wo_SendMessages();
3229    }
3230  });
3231}
3232
3233function Wo_RegisterWonder(post_id) {
3234  var post = $('[id=post-' + post_id + ']');
3235  wonder_icon = '<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-thumbs-down"><path d="M10 15v4a3 3 0 0 0 3 3l4-9V2H5.72a2 2 0 0 0-2 1.7l-1.38 9a2 2 0 0 0 2 2.3zm7-13h2.67A2.31 2.31 0 0 1 22 4v7a2.31 2.31 0 0 1-2.33 2H17"></path></svg>';
3236  wonder_lang = "";
3237  wonder_lang_2 = "";
3238    html_wonder = '<span class="active-wonder">' + wonder_icon + '<span class="like-btn-mobile">' + wonder_lang_2 + '</span></span>';
3239  if (post.find("[id^=wonder-button]").parent().find('.active-wonder').length > 0) {
3240  	html_wonder = '' + wonder_icon + '<span class="like-btn-mobile">' + wonder_lang + '</span>';
3241  }
3242  post.find("[id^=wonder-button]").html(html_wonder);
3243    $.get(Wo_Ajax_Requests_File(), {f: 'posts', s: 'register_wonder', post_id: post_id}, function (data) {
3244    if (post.find("[id^=wonder-button]").parent().find('.active-wonder').length > 0) {
3245      if (node_socket_flow == "1") { socket.emit("post_notification", { post_id: post_id, user_id: _getCookie("user_id"), type: "added" }); }
3246    } else {
3247      if (node_socket_flow == "1") { socket.emit("post_notification", { post_id: post_id, user_id: _getCookie("user_id"), type: "removed" });}
3248    }
3249    if(data.status == 200) {
3250      post.find("[id^=wonders]").text(data.wonders);
3251      post.find("[id^=likes]").text(data.likes);
3252    } else {
3253      post.find("[id^=wonders]").text(data.wonders);
3254      post.find("[id^=likes]").text(data.likes);
3255    }
3256    if (data.can_send == 1) {
3257      Wo_SendMessages();
3258    }
3259  });
3260}
3261function Wo_IsLangValid(lang){
3262  var langs = [ "en", "tr","fr","es","nl","de","it","pt","ru","ar"];
3263  if (lang && langs.indexOf(lang) != -1) {
3264    return true;
3265  }
3266  else{
3267    return false;
3268  }
3269}
3270function Wo_DetectTextLang(text){
3271  var lcode = false;
3272  if (text || typeof(text) == 'string') {
3273    guessLanguage.info(text, function(lang) {
3274    lcode = lang[0];
3275    });
3276  }
3277  return lcode;
3278}
3279function Wo_Translate(id,lang){
3280  if (!id || !lang && Wo_IsLangValid(lang)) {
3281    return false;
3282  }else{
3283          return false;
3284        var translatable_text = $("[data-translate-text="+id+"]").text();
3285    if (lang == Wo_DetectTextLang(translatable_text)) {
3286      // $("[data-trans-btn=" + id + "]").removeAttr('onclick')
3287      // return false;
3288    }
3289    $("[data-trans-btn="+id+"]").text("");
3290    if ($("[data-translate-text="+id+"]").parents('.post-description').find('.data_translated').length > 0) {
3291      let tx = $("[data-translate-text="+id+"]").parents('.post-description').find('.data_translated').text();
3292      $("[data-translate-text="+id+"]").parents('.post-description').find('.data_translated').remove();
3293      $("[data-translate-text="+id+"]").text(tx);
3294      $("[data-trans-btn="+id+"]").text("");
3295      return false;
3296    }
3297    $("[data-translate-text="+id+"]").parents('.post-description').append('<span class="hidden data_translated">'+translatable_text+'</span>');
3298    
3299        $.ajax({
3300      url: url,
3301      type: method,
3302      dataType: 'json',
3303      data: r_data
3304    }).done(function(data) {
3305          $("[data-trans-btn="+id+"]").text("");
3306    }).fail(function() {
3307      let tx = $("[data-translate-text="+id+"]").parents('.post-description').find('.data_translated').text();
3308      $("[data-translate-text="+id+"]").parents('.post-description').find('.data_translated').remove();
3309      $("[data-translate-text="+id+"]").text(tx);
3310      $("[data-trans-btn="+id+"]").text("");
3311      console.log("translation error");
3312    })
3313  }
3314}
3315
3316$(document).on('click', '#night_mode_toggle', function(event) {
3317  mode = $(this).attr('data-mode');
3318  if (mode == 'night') {
3319      $('head').append('<link rel="stylesheet" href="https://mabiab.com/themes/youplay/stylesheet/dark.css" id="night-mode-css">');
3320      $('#night_mode_toggle').attr('data-mode', 'day');
3321      $('#night-mode-text').text('Day mode');
3322  } else {
3323      $('#night-mode-css').remove();
3324      $('#night_mode_toggle').attr('data-mode', 'night');
3325      $('#night-mode-text').text('Night mode');
3326  }
3327  $.post(Wo_Ajax_Requests_File() + '?mode=' + mode);
3328});
3329
3330$(document).on('click', '#share_post_on_btn', function(event) {
3331  text = $('#share_post_text').val();
3332  type = $('#SearchForInputType').val();
3333  post_id = $('#SearchForInputPostId').val();
3334  type_id = $('#SearchForInputTypeId').val();
3335  self = this;
3336  $(this).text('Please wait..');
3337  $(this).attr('disabled', 'true');
3338    $.ajax({
3339      url: Wo_Ajax_Requests_File(),
3340      type: 'GET',
3341      dataType: 'json',
3342      data: {f: 'share_post_on',s:type,type_id:type_id,post_id:post_id,text:text},
3343    })
3344    .done(function(data) {
3345      if (node_socket_flow == "1") {
3346          socket.emit("post_notification", { post_id: post_id, user_id: _getCookie("user_id")});
3347        }
3348      $(self).text('Share');
3349      $(self).removeAttr('disabled');
3350      if (data.status == 200) {
3351        $('.share_post_modal_alert').html('<div class="alert alert-success"></div>');
3352
3353        setTimeout(function () {
3354          $('#share_post_modal').modal('hide');
3355        },2000);
3356      }
3357      else{
3358        $('.share_post_modal_alert').html("<div class='alert alert-danger'></div>");
3359        setTimeout(function () {
3360          $('.share_post_modal_alert').html('');
3361        },2000);
3362      }
3363    })
3364    .fail(function() {
3365    })
3366    .always(function() {
3367    });
3368});
3369
3370$(document).on('change', '#share_type_select', function(event) {
3371  var type = $(this).val();
3372  if (type == 'user') {
3373    $('.search_for_form').hide(400);
3374    $('#type_user_name').show(400);
3375    $('#SearchForInputType').val('user');
3376  }
3377  else if(type == 'page'){
3378    $('.search_for_form').hide(400);
3379    $('#type_page_name').show(400);
3380    $('#SearchForInputType').val('page');
3381  }
3382  else if(type == 'group'){
3383    $('.search_for_form').hide(400);
3384    $('#type_group_name').show(400);
3385    $('#SearchForInputType').val('group');
3386  }
3387  else if(type == 'timeline'){
3388    $('.search_for_form').hide(400);
3389    $('#SearchForInputType').val('timeline');
3390  }
3391});
3392
3393// $(document).on('click', '#share_post_on_page_form_btn', function(event) {
3394//   page_id = $('#SearchForInputPage').val();
3395//   post_id = $('#SearchForInputPostIdPage').val();
3396//   $.ajax({
3397//     url: Wo_Ajax_Requests_File(),
3398//     type: 'GET',
3399//     dataType: 'json',
3400//     data: {f: 'share_post_on',s:'page',page_id:page_id,post_id:post_id},
3401//   })
3402//   .done(function() {
3403//   })
3404//   .fail(function() {
3405//   })
3406//   .always(function() {
3407//   });
3408
3409// });
3410// $(document).on('click', '#share_post_on_user_form_btn', function(event) {
3411//   user_id = $('#SearchForInputUser').val();
3412//   post_id = $('#SearchForInputUserPostId').val();
3413//   $.ajax({
3414//     url: Wo_Ajax_Requests_File(),
3415//     type: 'GET',
3416//     dataType: 'json',
3417//     data: {f: 'share_post_on',s:'user',user_id:user_id,post_id:post_id},
3418//   })
3419//   .done(function() {
3420//   })
3421//   .fail(function() {
3422//   })
3423//   .always(function() {
3424//   });
3425
3426// });
3427
3428
3429function Wo_LoadViewsInfo(self) {
3430  $('#load_more_info_btn').html('Please wait..');
3431  var type = $(self).attr('data-type');
3432  var table = $(self).attr('table-type');
3433  var post_id = $(self).attr('post-id');
3434  var id   = $('.views_info_count').last().attr('data-row-id');
3435  var request = '';
3436  if (type == 'like') {
3437    request = 'get_post_likes';
3438  }
3439  if (type == 'wonder') {
3440    request = 'get_post_wonders';
3441  }
3442  if (type == 'share') {
3443    request = 'get_post_shared';
3444  }
3445  $.get(Wo_Ajax_Requests_File(), {
3446    f: 'posts',
3447    s: request,
3448    type:type,
3449    post_id: post_id,
3450    offset: id,
3451    table:table
3452  }, function (data) {
3453    if(data.status == 200) {
3454      if(data.html.length == 0) {
3455        $(self).css('display', 'none');
3456      } else {
3457        $('#views_info').append(data.html);
3458        $('#load_more_info_btn').html('Load more');
3459      }
3460    }
3461    $('#load_more_info_btn').html('Load more');
3462  });
3463}
3464
3465function Wo_LoadReactedUsers(type) {
3466  $('#reacted_users_box').html('<div class="lb-preloader" style="display:block"><svg width="50px" height="50px" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="xMidYMid"><rect x="0" y="0" width="100" height="100" fill="none" class="bk"></rect><circle cx="50" cy="50" r="40" stroke="#676d76" fill="none" stroke-width="6" stroke-linecap="round"><animate attributeName="stroke-dashoffset" dur="1.5s" repeatCount="indefinite" from="0" to="502"></animate><animate attributeName="stroke-dasharray" dur="1.5s" repeatCount="indefinite" values="150.6 100.4;1 250;150.6 100.4"></animate></circle></svg></div>');
3467  var post_id = $('.reacted_users_load_more').attr('post-id');
3468  var col = $('.reacted_users_load_more').attr('col-type');
3469  $.get(Wo_Ajax_Requests_File(), {
3470    f: 'posts',
3471    s: 'get_post_reacted',
3472    type:type,
3473    post_id: post_id,
3474    col:col
3475  }, function (data) {
3476    if(data.status == 200) {
3477      if(data.html.length == 0) {
3478        $('.reacted_users_load_more').css('display', 'none');
3479        $('.reacted_users_load_more').attr('data-type', '');
3480        $('#reacted_users_box').html('<span class="view-more-wrapper text-center">' + data.message + '</span>');
3481      } else {
3482        $('.reacted_users_load_more').attr('data-type', type);
3483        $('.reacted_users_load_more').attr('post-id', post_id);
3484        $('.reacted_users_load_more').attr('col-type', col);
3485        $('#load_more_reacted_btn').html('Load more');
3486        $('.reacted_users_load_more').css('display', 'inline');
3487        $('#reacted_users_box').html(data.html);
3488      }
3489    }
3490    //$('#load_more_info_btn').html('Load more');
3491  });
3492}
3493
3494function Wo_LoadMoreReactedUsers(self) {
3495  $('.reacted_users_load_more').find('#load_more_reacted_btn').html('Please wait..');
3496  var type = $(self).attr('data-type');
3497  var post_id = $(self).attr('post-id');
3498  var id   = $('.views_info_count').last().attr('data-row-id');
3499  var col = $('.reacted_users_load_more').attr('col-type');
3500  var request = 'get_post_reacted';
3501  $.get(Wo_Ajax_Requests_File(), {
3502    f: 'posts',
3503    s: request,
3504    type:type,
3505    post_id: post_id,
3506    offset: id,
3507    col:col
3508  }, function (data) {
3509    if(data.status == 200) {
3510      if(data.html.length == 0) {
3511        $(self).css('display', 'none');
3512      } else {
3513        $('#reacted_users_box').append(data.html);
3514        $('.reacted_users_load_more').find('#load_more_reacted_btn').html('Load more');
3515      }
3516    }
3517    $('.reacted_users_load_more').find('#load_more_reacted_btn').html('Load more');
3518  });
3519}
3520
3521function Wo_SortComments(type,post_id) {
3522  if (type == 'top') {
3523    $('.order-text-'+post_id).text('');
3524  }
3525  else{
3526    $('.order-text-'+post_id).text('');
3527  }
3528  main_wrapper = $('#post-' + post_id);
3529  view_more_wrapper = main_wrapper.find('.view-more-wrapper');
3530  Wo_progressIconLoader(view_more_wrapper);
3531  $('#post-' + post_id).find('.view-more-wrapper .ball-pulse').fadeIn(100);
3532  $.get(Wo_Ajax_Requests_File(), {
3533    f: 'posts',
3534    s: 'load_more_comments_sort',
3535    post_id: post_id,
3536    type: type
3537  }, function (data) {
3538    if(data.status == 200) {
3539      main_wrapper.find('.comments-list').html(data.html);
3540      $('.ball-pulse-'+post_id).fadeOut('100');
3541    }
3542  });
3543}
3544
3545function count_char(self,id) {
3546    $(self).limit("", '#charsLeft_'+id);
3547  }
3548
3549function ApplyJobNow(job_id) {
3550  $.post(Wo_Ajax_Requests_File()+'?f=job&s=get_apply_modal', {job_id: job_id}, function(data, textStatus, xhr) {
3551    if (data.status == 200) {
3552      $('#apply-job-modal').html(data.html);
3553      $('#apply-job-modal').modal('show');
3554    }
3555  });
3556}
3557
3558$(document).on('change', '#i_currently_work', function(event) {
3559  if ($('#i_currently_work').is(":checked")) {
3560    $('#experience_end_date').css('display', 'none');
3561  }
3562  else{
3563    $('#experience_end_date').css('display', 'block');
3564  }
3565});
3566
3567
3568
3569function Wo_GetPaymentMethods(self) {
3570  var amount = $('#fund_donate_amount').val();
3571  var fund_id = $('#fund_donate_id').val();
3572  if (!amount || !fund_id) {
3573    $('#fund_donate_amount').attr('style', 'border-color: red !important');
3574    return false;
3575  }
3576  $('#fund_donate_amount').attr('style', 'border-color: unset');
3577  $(self).attr('disabled', 'true');
3578  $.get(Wo_Ajax_Requests_File() + '?f=funding&s=get_payment_donate_method&fund_id=' + fund_id + '&amount=' + amount, function (data) {
3579      if (data.status == 200) {
3580          $('#donate_for_fund_modal').html(data.html);
3581		  $('#dont_modal').modal('hide');
3582          $('#fund_payment_donate_modal').modal({
3583           show: true
3584          });
3585      }
3586      else{
3587        $('#amount_fund_alert').html('<div class="alert alert-danger">' + data['message'] + '</div>');
3588        setTimeout(function (argument) {
3589          $('#amount_fund_alert').html('');
3590        },2000);
3591      }
3592      $(self).removeAttr('disabled');
3593  });
3594}
3595
3596
3597function Wo_StripeDonate(fund_id,amount,type = 'credit_card') {
3598  if (!amount || !fund_id) {
3599    return false;
3600  }
3601
3602  if (type == 'credit_card') {
3603    $('.btn-cart').attr('disabled', true).text("Please wait..");
3604  }
3605  else{
3606    $('.btn-alipay').attr('disabled', true).text("Please wait..");
3607  }
3608  var stripe = Stripe('');
3609  $.post(Wo_Ajax_Requests_File() + '?f=stripe&s=session', {amount: amount,type:'fund',fund_id:fund_id,payment_type:type}, function(data, textStatus, xhr) {
3610    if (data.status == 200) {
3611      return stripe.redirectToCheckout({ sessionId: data.sessionId });
3612    }
3613  });
3614}
3615
3616function Wo_BankTransferDonate(fund_id,amount) {
3617  if (!amount || !fund_id) {
3618    return false;
3619  }
3620
3621  $('.bank_payment').attr('disabled', true).text("Please wait..");
3622
3623  $('#configreset').click();
3624  $(".prv-img").html('<div class="thumbnail-rendderer"><div><h4 class="bold"></h4><div class="error-text-renderer"></div><div><span>or</span><p>Browse To Upload</p></div></div> </div>');
3625  $("#blog-alert").html('');
3626  $('#bank_donate_price').val(amount);
3627  $('#bank_donate_fund_id').val(fund_id);
3628  $('#pay-go-pro').modal('hide');
3629  $('#bank_transfer_donate_modal').modal({
3630         show: true
3631        });
3632}
3633
3634function Wo_BitcoinDonate(fund_id,amount) {
3635  if (!amount || !fund_id) {
3636    return false;
3637  }
3638
3639  $('.btn-bitcoin').attr('disabled', true).text("Please wait..");
3640  $('#pay-go-pro').modal('hide');
3641  $.get(Wo_Ajax_Requests_File() + '?f=donate_with_bitcoin&amount=' + amount+"&fund_id="+fund_id, function (data) {
3642    if (data.status == 200) {
3643      $(data.html).appendTo('body').submit();
3644    }
3645  });
3646}
3647
3648
3649
3650function openInNewTab(url, id) {
3651   var myWindow = window.open(url, "", "width=600,height=700");
3652   return false;
3653}
3654
3655function Wo_LiveComment(text,event,post_id,insert = 0) {
3656  text = $('[id=post-' + post_id + ']').find('.comment-textarea').val();
3657  if (text && (event.keyCode == 13 || insert == 1)) {
3658    if ($('#live_post_comments_'+post_id+' .live_comments').length >= 4) {
3659      $('#live_post_comments_'+post_id+' .live_comments').first().remove();
3660    }
3661      $('#live_post_comments_'+post_id).append('<div class="live_comments" live_comment_id=""><a class="pull-left" href=""><img class="live_avatar pull-left" src="" alt="avatar"></a><div class="comment-body" style="float: left;"><div class="comment-heading"><span><a href="" data-ajax="?link1=timeline&amp;u=" ><h4 class="live_user_h">  </h4></a></span><div class="comment-text">'+text+'</div></div></div><div class="clear"></div></div>');
3662
3663  }
3664}
3665function Wo_ReplyChatMessage(chat_id,id) {
3666  $('.message_reply_id_'+chat_id).val(id);
3667  $('.message_reply_text_'+chat_id+' span').find('.reply_content').remove();
3668  if ($("#message_text_reply_"+id).length > 0 && $("#message_text_reply_"+id).html() != '') {
3669    $('.message_reply_text_'+chat_id+' span').prepend('<p class="reply_content">'+$("#message_text_reply_"+id).html()+'</p>')
3670  }
3671  else if($('#message_media_reply_'+id).length > 0 && $('#message_media_reply_'+id).find('img').length > 0){
3672    $('.message_reply_text_'+chat_id+' span').prepend('<div class="message-user-image pull-left reply_content"><img src="'+$('#message_media_reply_'+id).find('img').attr('src')+'" alt="User image"></div>')
3673  }
3674  $('.message_reply_text_'+chat_id).fadeIn(50);
3675}
3676function Wo_ClearReplyChatMessage(chat_id) {
3677  $('.message_reply_id_'+chat_id).val(0);
3678  $('.message_reply_text_'+chat_id).find('.reply_content').remove();
3679  $('.message_reply_text_'+chat_id).fadeOut(50);
3680}
3681function Wo_ReplyMessage(id) {
3682  $('.message_reply_id').val(id);
3683  $('.message_reply_text span').find('.reply_content').remove();
3684  if ($("#message_text_reply_"+id).length > 0 && $("#message_text_reply_"+id).html() != '') {
3685    $('.message_reply_text span').prepend('<p class="reply_content">'+$("#message_text_reply_"+id).html()+'</p>')
3686  }
3687  else if($('#message_media_reply_'+id).length > 0 && $('#message_media_reply_'+id).find('img').length > 0){
3688    $('.message_reply_text span').prepend('<div class="message-user-image reply_content"><img src="'+$('#message_media_reply_'+id).find('img').attr('src')+'" alt="User image"></div>')
3689  }
3690  $('.message_reply_text').fadeIn(50);
3691}
3692function Wo_ClearReplyMessage() {
3693  $('.message_reply_id').val(0);
3694  $('.message_reply_text').find('.reply_content').remove();
3695  $('.message_reply_text').fadeOut(50);
3696}
3697$(window).on('load', function() {
3698  //reactions
3699  $('body').delegate('.wo-reaction-post','mouseenter', function() {
3700    var id = $( this ).attr( 'data-id' );
3701    setTimeout( function () {
3702      if ($('#post-' + id + ' .wo-reaction-post:hover').length != 0) {
3703          $('.reactions-box-container-'+id).fadeIn(50);
3704      }
3705    }, 300);
3706  });
3707  $('body').delegate('.like-story-lightbox','click', function() {
3708    var id = $( this ).attr( 'data-story-id' );
3709    setTimeout( function () {
3710      $('.reactions-box-story-container-'+id).fadeIn(50);
3711    }, 300);
3712  });
3713  $('body').delegate('.like-story-lightbox','mouseleave', function() {
3714    var id = $( this ).attr( 'data-story-id' );
3715      setTimeout( function () {
3716          $('.reactions-box-story-container-'+id).fadeOut(50);
3717    }, 1000);
3718  });
3719  $('body').delegate('.messages-reactions','click', function() {
3720    var id = $( this ).attr( 'data-message-id' );
3721    setTimeout( function () {
3722      $('.reactions-box-container-'+id).fadeIn(50);
3723    }, 300);
3724  });
3725  $('body').delegate('.messages-reactions','mouseleave', function() {
3726    var id = $( this ).attr( 'data-message-id' );
3727      setTimeout( function () {
3728        if ($('.reactions-box-container-'+id + ':hover').length == 0) {
3729          $('.reactions-box-container-'+id).fadeOut(50);
3730        }
3731    }, 500);
3732  });
3733
3734  $('body').delegate('.wo-reaction-post','mouseleave', function() {
3735    var id = $( this ).attr( 'data-id' );
3736      setTimeout( function () {
3737      if ($('.reactions-box-container-'+id + ':hover').length == 0 && $('#post-' + id + ' .wo-reaction-post:hover').length == 0) {
3738          $('.reactions-box-container-'+id).fadeOut(50);
3739      }
3740    }, 500);
3741  });
3742
3743  $('body').delegate('.like-btn-post','click', function() {
3744    if ($( this ).attr( 'data_react' ) == 0) {
3745      return false;
3746    }
3747    var self = this;
3748    var post_id = $( this ).attr( 'data-id' );
3749
3750    $.get(Wo_Ajax_Requests_File(), {f: 'posts', s: 'delete_reaction', post_id: post_id}, function (data) {
3751      if(data.status == 200) {
3752                socket.emit("post_notification", { post_id: post_id, user_id: _getCookie("user_id"), type: "removed" });
3753                $('.reactions-box-container-'+post_id).toggle();
3754        $('.post-reactions-icons-'+post_id).html(data.reactions);
3755        $('.status-reaction-'+post_id).removeClass("active-like");
3756        $('.status-reaction-'+post_id).html('<svg xmlns="http://www.w3.org/2000/svg" width="58.553" height="58.266" viewBox="0 0 58.553 58.266" class="feather"> <path d="M-7080.317,1279.764l-26.729-1.173a1.657,1.657,0,0,1-1.55-1.717l1.11-33.374a4.112,4.112,0,0,1,2.361-3.6l.014-.005a13.62,13.62,0,0,1,1.978-.363h.007a9.007,9.007,0,0,0,3.249-.771c2.645-1.845,3.973-4.658,5.259-7.378l.005-.013.031-.061.059-.13.012-.023c.272-.576.61-1.289.944-1.929l0-.007c.576-1.105,2.327-4.46,4.406-5.107a2.3,2.3,0,0,1,.59-.105c.036,0,.072,0,.109,0a2.55,2.55,0,0,1,1.212.324c2.941,1.554,1.212,7.451.561,9.672a38.306,38.306,0,0,1-3.7,8.454l-.71,1.218,18.363.808a3.916,3.916,0,0,1,3.784,3.735,3.783,3.783,0,0,1-1.123,2.834,3.629,3.629,0,0,1-2.559,1.055c-.046,0-.1,0-.145,0h-.027l-2.141-.093-9.331-.41-.075,1.7,9.333.408a3.721,3.721,0,0,1,2.666,1.3,3.855,3.855,0,0,1,.936,2.934,3.779,3.779,0,0,1-3.821,3.38c-.061,0-.122,0-.181-.005l-1.974-.082-8.9-.392-.075,1.7,8.9.39a3.723,3.723,0,0,1,2.666,1.3,3.86,3.86,0,0,1,.937,2.933,3.784,3.784,0,0,1-3.827,3.381c-.057,0-.118,0-.177,0l-1.976-.088-8.472-.372-.075,1.7,8.474.372a3.726,3.726,0,0,1,2.666,1.3,3.857,3.857,0,0,1,.935,2.933,3.782,3.782,0,0,1-3.827,3.381C-7080.2,1279.765-7080.26,1279.765-7080.317,1279.764Zm-38.4,0-.089,0a6.558,6.558,0,0,1-6.193-6.8l.907-27.293a6.446,6.446,0,0,1,2.074-4.553,6.214,6.214,0,0,1,3.954-1.672c.081,0,.17-.005.29-.005s.212,0,.292.005a6.561,6.561,0,0,1,6.192,6.8l-.907,27.293a6.441,6.441,0,0,1-2.072,4.547,6.249,6.249,0,0,1-4.261,1.681Z" transform="translate(7126.251 -1222.75)" fill="none" stroke="currentColor" stroke-width="2.5"></path> </svg> ' + data.like_lang).css({"color": "inherit"});
3757      }
3758      $(self).attr('data_react','0');
3759    });
3760  });
3761
3762   $('body').delegate('.reactions-box','mouseleave', function() {
3763    var id = $( this ).attr( 'data-id' );
3764    setTimeout( function () {
3765      if ($('.reactions-box-container-'+id + ':hover').length == 0 && $('#post-' + id + ' .wo-reaction-post:hover').length == 0) {
3766          $('.reactions-box-container-'+id).fadeOut(50);
3767      }
3768    }, 500);
3769  });
3770
3771  //reactions lightbox
3772  $('body').delegate('.wo-reaction-lightbox','mouseenter', function() {
3773    var id = $( this ).attr( 'data-id' );
3774    setTimeout( function () {
3775      if ($('#post-' + id + ' .wo-reaction-lightbox:hover').length != 0) {
3776        $('.reactions-lightbox-container-'+id).fadeIn(50);
3777      }
3778    }, 500);
3779  });
3780
3781  $('body').delegate('.wo-reaction-lightbox','mouseleave', function() {
3782    var id = $( this ).attr( 'data-id' );
3783    setTimeout( function () {
3784      if ($('.reactions-lightbox-container-'+id + ':hover').length == 0 && $('#post-' + id + ' .wo-reaction-lightbox:hover').length == 0) {
3785          $('.reactions-lightbox-container-'+id).fadeOut(50);
3786      }
3787    }, 500);
3788  });
3789
3790  $('body').delegate('.like-btn-lightbox','click', function() {
3791    var post_id = $( this ).attr( 'data-id' );
3792
3793    $.get(Wo_Ajax_Requests_File(), {f: 'posts', s: 'delete_reaction', post_id: post_id}, function (data) {
3794      if(data.status == 200) {
3795                 socket.emit("post_notification", { post_id: post_id, user_id: _getCookie("user_id"), type: "removed" });
3796                $('.reactions-lightbox-container-'+post_id).toggle();
3797        $('.post-reactions-icons-'+post_id).html("");
3798        $('.status-reaction-'+post_id).removeClass("active-like");
3799        $('.status-reaction-'+post_id).html('<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-thumbs-up"><path d="M14 9V5a3 3 0 0 0-3-3l-4 9v11h11.28a2 2 0 0 0 2-1.7l1.38-9a2 2 0 0 0-2-2.3zM7 22H4a2 2 0 0 1-2-2v-7a2 2 0 0 1 2-2h3"></path></svg>
3799' + data.like_lang).css({"color": "inherit"});
3800      }
3801    });
3802  });
3803
3804  //reactions comment
3805  $('body').delegate('.like-btn-comment','mouseenter', function() {
3806    var id = $( this ).attr( 'data-id' );
3807    setTimeout( function () {
3808        $('.reactions-comment-container-'+id).fadeIn(50);
3809    }, 500);
3810  });
3811
3812  $('body').delegate('.like-btn-comment','mouseleave', function() {
3813    var id = $( this ).attr( 'data-id' );
3814    setTimeout( function () {
3815      if( $('.reactions-comment-container-'+id+':hover').length == 0 && $('#comment-' + id + ' .wo-reaction-comment:hover').length == 0 ){
3816        $('.reactions-comment-container-'+id).fadeOut(50);
3817      }
3818    }, 500);
3819  });
3820
3821  $('body').delegate('.reactions-box','mouseleave', function() {
3822    if( !$( this ).hasClass( 'reactions-comment-container-' + $( this ).attr( 'data-id' ) ) ){
3823      return false;
3824    }
3825    var id = $( this ).attr( 'data-id' );
3826    setTimeout( function () {
3827        $('.reactions-comment-container-'+id).fadeOut(50);
3828    }, 500);
3829  });
3830
3831  $('body').delegate('.like-btn-comment','click', function() {
3832    var comment_id = $( this ).attr( 'data-id' );
3833
3834    $.get(Wo_Ajax_Requests_File(), {f: 'posts', s: 'delete_comment_reaction', comment_id: comment_id}, function (data) {
3835      if(data.status == 200) {
3836                socket.emit("comment_notification", { comment_id: comment_id, user_id: _getCookie("user_id"), type: "removed" });
3837                $('.reactions-comment-container-'+comment_id).toggle();
3838        $('.comment-reactions-icons-'+comment_id).html(data.reactions);
3839        $('.comment-status-reaction-'+comment_id).removeClass("active-like");
3840      }
3841    });
3842  });
3843
3844  //reactions replay
3845  $('body').delegate('.like-btn-replay','mouseenter', function() {
3846    var id = $( this ).attr( 'data-id' );
3847    setTimeout( function () {
3848        $('.reactions-box-comment-replay-container-'+id).fadeIn(50);
3849    }, 500);
3850  });
3851  $('body').delegate('.reactions-box','mouseenter', function() {
3852    var id = $( this ).attr( 'data-id' );
3853    setTimeout( function () {
3854        $('.reactions-box-comment-replay-container-'+id).fadeIn(50);
3855    }, 500);
3856  });
3857
3858  $('body').delegate('.like-btn-replay','mouseleave', function() {
3859    var id = $( this ).attr( 'data-id' );
3860    setTimeout( function () {
3861      if( $('.reactions-comment-replay-container-'+id+':hover').length == 0 && $('#comment_reply_' + id + ' .wo-reaction-replay:hover').length == 0 ){
3862        $('.reactions-box-comment-replay-container-'+id).fadeOut(50);
3863      }
3864    }, 500);
3865  });
3866
3867  $('body').delegate('.reactions-box','mouseleave', function() {
3868    if( !$( this ).hasClass( 'reactions-box-comment-replay-container-' + $( this ).attr( 'data-id' ) ) ){
3869      return false;
3870    }
3871    var id = $( this ).attr( 'data-id' );
3872    setTimeout( function () {
3873        $('.reactions-box-comment-replay-container-'+id).fadeOut(50);
3874    }, 500);
3875  });
3876
3877  $('body').delegate('.like-btn-replay','click', function() {
3878    var replay_id = $( this ).attr( 'data-id' );
3879
3880    $.get(Wo_Ajax_Requests_File(), {f: 'posts', s: 'delete_replay_reaction', replay_id: replay_id}, function (data) {
3881      if(data.status == 200) {
3882        if (node_socket_flow == "1") {
3883          socket.emit("reply_notification", { reply_id: replay_id, user_id: _getCookie("user_id"), type: "removed" });
3884        }
3885        $('.reactions-box-comment-replay-container-'+replay_id).toggle();
3886        $('.replay-reactions-icons-'+replay_id).html(data.reactions);
3887        $('.replay-status-reaction-'+replay_id).removeClass("active-like");
3888      }
3889    });
3890  });
3891
3892
3893  //reactions comment lightbox
3894  $('body').delegate('.like-btn-lightbox-comment','mouseenter', function() {
3895    var id = $( this ).attr( 'data-id' );
3896    setTimeout( function () {
3897        $('.reactions-lightbox-comment-container-'+id).fadeIn(50);
3898    }, 500);
3899  });
3900
3901  $('body').delegate('.like-btn-lightbox-comment','mouseleave', function() {
3902    var id = $( this ).attr( 'data-id' );
3903    setTimeout( function () {
3904      if( $('.reactions-lightbox-comment-container-'+id+':hover').length == 0 && $('#comment_' + id + ' .wo-reaction-lightbox-comment:hover').length == 0 ){
3905        $('.reactions-lightbox-comment-container-'+id).fadeOut(50);
3906      }
3907    }, 500);
3908  });
3909
3910  $('body').delegate('.reactions-box','mouseleave', function() {
3911    if( !$( this ).hasClass( 'reactions-lightbox-comment-container-' + $( this ).attr( 'data-id' ) ) ){
3912      return false;
3913    }
3914    var id = $( this ).attr( 'data-id' );
3915    setTimeout( function () {
3916        $('.reactions-lightbox-comment-container-'+id).fadeOut(50);
3917    }, 500);
3918  });
3919
3920  $('body').delegate('.like-btn-lightbox-comment','click', function() {
3921    var comment_id = $( this ).attr( 'data-id' );
3922
3923    $.get(Wo_Ajax_Requests_File(), {f: 'posts', s: 'delete_comment_reaction', comment_id: comment_id}, function (data) {
3924      if(data.status == 200) {
3925            socket.emit("comment_notification", { comment_id: comment_id, user_id: _getCookie("user_id"), type: "removed" });
3926            $('.reactions-box-comment-replay-container-'+comment_id).toggle();
3927        $('.lightbox-comment-reactions-icons-'+comment_id).html(data.reactions);
3928        $('.lightbox-comment-status-reaction-'+comment_id).removeClass("active-like");
3929      }
3930    });
3931  });
3932
3933});
3934function ProcessingVideo(id) {
3935  $.get(Wo_Ajax_Requests_File(), {f: 'posts', s: 'processing_video', post_id: id}, function (data) {
3936    $('.processing_alert_'+id).remove();
3937  });
3938}
3939function SendSeen(recipient_id) {
3940  var chat_container = $('.chat-tab').find('.chat_main_'+recipient_id);
3941  var last_id = chat_container.find('.messages-text:last').attr('data-message-id');
3942          socket.emit("seen_messages", {user_id: _getCookie("user_id"), recipient_id: recipient_id,message_id: last_id}, (data)=>{})
3943    }
3944function AddProductToCart(self,id,type) {
3945  // if (type == 'add') {
3946  //   $(self).text("");
3947  //   $(self).attr('onclick', "AddProductToCart(this,'"+id+"','remove')");
3948  // }
3949  // else{
3950  //   $(self).text("");
3951  //   $(self).attr('onclick', "AddProductToCart(this,'"+id+"','add')");
3952  // }
3953  qty = 1;
3954  if ($('#cart_product_qty').length > 0) {
3955    qty = $('#cart_product_qty').val();
3956  }
3957  $.post(Wo_Ajax_Requests_File() + '?f=products&s=add_cart&hash=' + $('.main_session').val(), {product_id: id,qty:qty}, function(data, textStatus, xhr) {
3958    if (data.status == 200) {
3959      LoadCheckout();
3960    }
3961  });
3962}
3963function ChangeQty(self,product_id) {
3964  qty = $(self).val();
3965  $.post(Wo_Ajax_Requests_File() + '?f=products&s=change_qty&hash=' + $('.main_session').val(), {product_id: product_id,qty: qty}, function(data, textStatus, xhr) {
3966    LoadCheckout();
3967  });
3968}
3969function LoadCheckout() {
3970  $('#load_checkout').click();
3971}
3972function RemoveProductFromCart(id) {
3973  // $('#cart_product_'+id).remove();
3974  // $('#checkout_product_'+id).remove();
3975  $.post(Wo_Ajax_Requests_File() + '?f=products&s=remove_cart&hash=' + $('.main_session').val(), {product_id: id}, function(data, textStatus, xhr) {
3976    // if (data.status == 200) {
3977    //   $('.unread_cart_count').html(data.count);
3978    // }
3979  });
3980}
3981function NewAddress() {
3982  $('.modal_add_address_modal_alert').empty();
3983  $("#add_address_modal").find('.btn-mat').removeAttr('disabled')
3984  $("#add_address_modal").find('.btn-mat').text("Add");
3985  $('#add_address_modal').modal('show');
3986}
3987$(document).ready(function() {
3988    var options = {
3989      url: Wo_Ajax_Requests_File() + '?f=address&s=add&hash=' + $('.main_session').val(),
3990        beforeSubmit:  function () {
3991          $('.modal_add_address_modal_alert').empty();
3992          $("#add_address_modal").find('.btn-mat').attr('disabled', 'true');
3993          $("#add_address_modal").find('.btn-mat').text("Please wait..");
3994        },
3995        success: function (data) {
3996          $("#add_address_modal").find('.btn-mat').text("Add");
3997          $("#add_address_modal").find('.btn-mat').removeAttr('disabled')
3998          if (data.status == 200) {
3999            $('.modal_add_address_modal_alert').html('<div class="alert alert-success bg-success"><i class="fa fa-check"></i> '+
4000              data.message
4001              +'</div>');
4002              if (data.url && data.url != '') {
4003                if ($('#setting_address_page').length > 0) {
4004                  setTimeout(function () {
4005                    location.href = data.url;
4006                  },2000);
4007                }
4008                else{
4009                  setTimeout(function () {
4010                    $('.modal_add_address_modal_alert').empty();
4011              $("#add_address_modal").find('.btn-mat').removeAttr('disabled')
4012              $("#add_address_modal").find('.btn-mat').text("Add");
4013              $('#add_address_modal').modal('hide');
4014              $('#load_checkout').click();
4015                  },2000);
4016                }
4017              }
4018          } else {
4019            $('.modal_add_address_modal_alert').html('<div class="alert alert-danger bg-danger"> '+
4020            data.message
4021            +'</div>');
4022          }
4023        }
4024    };
4025    $('.address_form').ajaxForm(options);
4026});
4027function BuyProducts(type = 'show',price) {
4028  if ($('.payment_address').length < 1) {
4029    $('.checkout_alert').html("<div class='alert alert-danger bg-danger'><i class='fa fa-info-circle'></i> </div>");
4030    return false;
4031  }
4032  if ($('input[name=choose-address]:checked').length < 1) {
4033    $('.checkout_alert').html("<div class='alert alert-danger bg-danger'><i class='fa fa-info-circle'></i> </div>");
4034    return false;
4035  }
4036  address_id = $('input[name=choose-address]:checked').val();
4037  if (type == 'hide') {
4038        $('#buy_product_modal').find('.btn-mat').html("Purchase "+price);
4039        $('#buy_product_modal').find('.btn-mat').attr('onclick', "BuyProducts('show','"+price+"')");
4040        $('#buy_product_modal').modal('show');
4041        return false;
4042    }
4043    $('#buy_product_modal').find('.btn-mat').html("Please wait..");
4044    $('#buy_product_modal').find('.btn-mat').attr('disabled', "true");
4045  $.post(Wo_Ajax_Requests_File() + '?f=products&s=buy&hash=' + $('.main_session').val(),{address_id: address_id}, function(data, textStatus, xhr) {
4046    $('#buy_product_modal').find('.btn-mat').removeAttr('disabled');
4047    $('#buy_product_modal').find('.btn-mat').text("Purchase "+price);
4048    if (data.status == 200) {
4049              socket.emit("checkout_notification", {user_id: _getCookie("user_id"), type: "added",users: data.users });
4050            $('#buy_product_modal').find('.modal_product_pay_alert').html("<div class='alert alert-success bg-success'><i class='fa fa-check'></i> "+data.message+"</div>");
4051      setTimeout(function () {
4052        $('#buy_product_modal').find('.modal_product_pay_alert').html("");
4053        location.href = "https://mabiab.com/purchased";
4054      },2000);
4055    }
4056    else{
4057      $('#buy_product_modal').find('.modal_product_pay_alert').html("<div class='alert alert-danger bg-danger'><i class='fa fa-info-circle'></i> "+data.message+"</div>");
4058    }
4059  });
4060}
4061function DownloadPurchased(id,type = 'order') {
4062  if (type == 'order') {
4063    url = '?f=products&s=download&hash=' + $('.main_session').val();
4064  }
4065  $.post(Wo_Ajax_Requests_File() + url,{id,id}, function(data, textStatus, xhr) {
4066    $('body').append(data.html);
4067    setTimeout(function () {
4068      $('.ticket_card_'+id).remove();
4069    },10000);
4070  });
4071}
4072function ChangeStatus(self,hash_id) {
4073  status = $(self).val();
4074  $.post(Wo_Ajax_Requests_File() + '?f=products&s=change_status&hash=' + $('.main_session').val(), {hash_order: hash_id,status: status}, function(data, textStatus, xhr) {
4075    if (data.status == 200) {
4076                socket.emit("main_notification", {user_id: _getCookie("user_id"), type: "added",to_id: data.recipient_id });
4077          }
4078    $('#load_order').click();
4079  });
4080}
4081function RefundOrder(hash_id,type = 'show') {
4082  if (type == 'hide') {
4083        $('#refund_order').find('.get_refnd').attr('onclick', "RefundOrder('"+hash_id+"')");
4084        $('#refund_order').modal('show');
4085        return false;
4086    }
4087    $('#refund_order').find('.get_refnd').html("Please wait..");
4088    $('#refund_order').find('.get_refnd').attr('disabled', "true");
4089    message = $('#refund_order_message').val();
4090    $.post(Wo_Ajax_Requests_File() + '?f=products&s=refund&hash=' + $('.main_session').val(), {hash_order: hash_id,message: message}, function(data, textStatus, xhr) {
4091      $('#refund_order').find('.get_refnd').removeAttr('disabled');
4092    $('#refund_order').find('.get_refnd').text("");
4093    if (data.status == 200) {
4094      $('#refund_order').find('.modal_refund_order_modal_alert').html("<div class='alert alert-success bg-success'><i class='fa fa-check'></i> "+data.message+"</div>");
4095      setTimeout(function () {
4096        $('#refund_order').modal('hide');
4097              $('#refund_order').find('.modal_refund_order_modal_alert').html("");
4098              $('#load_order').click();
4099            },2000);
4100    }
4101    else{
4102      $('#refund_order').find('.modal_refund_order_modal_alert').html("<div class='alert alert-danger bg-danger'><i class='fa fa-info-circle'></i> "+data.message+"</div>");
4103    }
4104  });
4105}
4106function OpenWriteReview(product_id) {
4107  $('#write_product_review_product_id').val(product_id)
4108  $('#write_product_review').modal('show');
4109}
4110function Wo_LoadPurchase(){
4111  $.post(Wo_Ajax_Requests_File() + '?f=products&s=load_purchase&hash=' + $('.main_session').val(), {id: $("[data-purchase-id]:last").attr('data-purchase-id')}, function(data, textStatus, xhr) {
4112    if (data.status == 200) {
4113      $('.purchased_table').find('tbody').append(data.html);
4114    }
4115    else{
4116      $('.purchased_posts_load').remove();
4117    }
4118  });
4119}
4120function Wo_LoadOrders(){
4121  $.post(Wo_Ajax_Requests_File() + '?f=products&s=load_orders&hash=' + $('.main_session').val(), {id: $("[data-orders-id]:last").attr('data-orders-id')}, function(data, textStatus, xhr) {
4122    if (data.status == 200) {
4123      $('.orders_table').find('tbody').append(data.html);
4124    }
4125    else{
4126      $('.orders_posts_load').remove();
4127    }
4128  });
4129}
4130function Wo_LoadReviews(){
4131  $('#show_product_reviews_load_text').html("Please wait..");
4132  $.post(Wo_Ajax_Requests_File() + '?f=products&s=load_reviews&hash=' + $('.main_session').val(), {id: $(".review_list:last").attr('id'),product_id: $(".review_list:last").attr('product_id')}, function(data, textStatus, xhr) {
4133    $('#show_product_reviews_load_text').html("Load more");
4134    if (data.status == 200) {
4135      $('#show_product_reviews_modal_info').append(data.html);
4136    }
4137    else{
4138      $('#show_product_reviews_modal_info_load').slideUp();
4139    }
4140  });
4141}
4142function Wo_GetPaymentLink(type,price,type2 = 'pro',type3 = 'show') {
4143  if (type3 == 'hide') {
4144    $('.pay_modal_wallet_text').html('');
4145    $('.pay_modal_wallet_alert').html('');
4146    if (type2 == 'pro') {
4147      $('.pay_modal_wallet_text').html("You are about to upgrade to a PRO memeber.");
4148    }
4149    else if(type2 == 'fund'){
4150      price = $('#fund_donate_amount').val();
4151      type = $('#fund_donate_id').val();
4152      $('.pay_modal_wallet_text').html("");
4153      $('#dont_modal').modal('hide');
4154    }
4155    $('#pay_modal_wallet_btn').attr('onclick', "Wo_GetPaymentLink('"+type+"','"+price+"','"+type2+"')");
4156    if (parseInt() < parseInt(price) ) {
4157      $('.pay_modal_wallet_alert').html("<div class='alert alert-danger'><a href='https://mabiab.com/wallet'>You don&#039;t have enough balance to purchase, please top up your wallet.</a></div>");
4158      $('#pay_modal_wallet_btn').html("Purchase "+price).attr('disabled',true);
4159      $('.pay_modal_wallet_text').html("");
4160      $('#pay-go-pro').modal({
4161              show: true
4162          });
4163    }
4164    else{
4165      $('#pay_modal_wallet_btn').html("Purchase "+price).removeAttr('disabled');
4166      $('#pay-go-pro').modal({
4167              show: true
4168          });
4169    }
4170  }
4171  else{
4172    $('#pay_modal_wallet_btn').html("Please wait..");
4173    $('#pay_modal_wallet_btn').attr('disabled','true');
4174    link = '';
4175    if (type2 == 'pro') {
4176      link = '&pro_type=' + type+'&price='+price+'&type='+type2;
4177    }
4178    else if(type2 == 'fund'){
4179      link = '&fund_id=' + type+'&price='+price+'&type='+type2;
4180    }
4181    $.get(Wo_Ajax_Requests_File() + '?f=wallet&s=pay'+link, function (data) {
4182      $('#pay_modal_wallet_btn').html("Purchase "+price);
4183      $('#pay_modal_wallet_btn').removeAttr('disabled');
4184          if (data.status == 200) {
4185            $('.pay_modal_wallet_alert').html("<div class='alert alert-success bg-success'><i class='fa fa-check'></i> Payment successfully done, thank you!</div>");
4186            setTimeout( function (){
4187              location.href = data.url;
4188            } ,3000);
4189          }
4190          else{
4191            $('.pay_modal_wallet_alert').html("<div class='alert alert-danger'>"+data.message+"</div>");
4192          }
4193      });
4194  }
4195}
4196// register comment like
4197function Wo_RegisterCommentLike(comment_id) {
4198  var comment = $('[id=comment_' + comment_id + ']');
4199  comment_text = comment.find('div.comment-text').text();
4200  Wo_progressIconLoader(comment.find('#LikeComment'));
4201  $.post(Wo_Ajax_Requests_File() + '?f=posts&s=register_comment_like', {
4202    comment_id: comment_id,
4203    comment_text: comment_text
4204  }, function (data) {
4205    if(data.status == 200) {
4206      if (node_socket_flow == "1") {
4207        socket.emit("comment_notification", { comment_id: comment_id, user_id: _getCookie("user_id"), type: "added" });
4208      }
4209            if (data.dislike == 1) {
4210          comment.find("#comment-wonders").text(data.wonders_c);
4211          comment.find("#WonderComment").html('<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-thumbs-down"><path d="M10 15v4a3 3 0 0 0 3 3l4-9V2H5.72a2 2 0 0 0-2 1.7l-1.38 9a2 2 0 0 0 2 2.3zm7-13h2.67A2.31 2.31 0 0 1 22 4v7a2.31 2.31 0 0 1-2.33 2H17"></path></svg>');
4212      }
4213            comment.find("#LikeComment").html("<svg xmlns='http://www.w3.org/2000/svg' width='58.553' height='58.266' viewBox='0 0 58.553 58.266' class='feather active-like'> <path d='M-7080.317,1279.764l-26.729-1.173a1.657,1.657,0,0,1-1.55-1.717l1.11-33.374a4.112,4.112,0,0,1,2.361-3.6l.014-.005a13.62,13.62,0,0,1,1.978-.363h.007a9.007,9.007,0,0,0,3.249-.771c2.645-1.845,3.973-4.658,5.259-7.378l.005-.013.031-.061.059-.13.012-.023c.272-.576.61-1.289.944-1.929l0-.007c.576-1.105,2.327-4.46,4.406-5.107a2.3,2.3,0,0,1,.59-.105c.036,0,.072,0,.109,0a2.55,2.55,0,0,1,1.212.324c2.941,1.554,1.212,7.451.561,9.672a38.306,38.306,0,0,1-3.7,8.454l-.71,1.218,18.363.808a3.916,3.916,0,0,1,3.784,3.735,3.783,3.783,0,0,1-1.123,2.834,3.629,3.629,0,0,1-2.559,1.055c-.046,0-.1,0-.145,0h-.027l-2.141-.093-9.331-.41-.075,1.7,9.333.408a3.721,3.721,0,0,1,2.666,1.3,3.855,3.855,0,0,1,.936,2.934,3.779,3.779,0,0,1-3.821,3.38c-.061,0-.122,0-.181-.005l-1.974-.082-8.9-.392-.075,1.7,8.9.39a3.723,3.723,0,0,1,2.666,1.3,3.86,3.86,0,0,1,.937,2.933,3.784,3.784,0,0,1-3.827,3.381c-.057,0-.118,0-.177,0l-1.976-.088-8.472-.372-.075,1.7,8.474.372a3.726,3.726,0,0,1,2.666,1.3,3.857,3.857,0,0,1,.935,2.933,3.782,3.782,0,0,1-3.827,3.381C-7080.2,1279.765-7080.26,1279.765-7080.317,1279.764Zm-38.4,0-.089,0a6.558,6.558,0,0,1-6.193-6.8l.907-27.293a6.446,6.446,0,0,1,2.074-4.553,6.214,6.214,0,0,1,3.954-1.672c.081,0,.17-.005.29-.005s.212,0,.292.005a6.561,6.561,0,0,1,6.192,6.8l-.907,27.293a6.441,6.441,0,0,1-2.072,4.547,6.249,6.249,0,0,1-4.261,1.681Z' transform='translate(7126.251 -1222.75)' fill='none' stroke='currentColor' stroke-width='2.5'/> </svg>").fadeIn(150);
4214      comment.find("#comment-likes").text(data.likes);
4215    } else {
4216      if (node_socket_flow == "1") {
4217        socket.emit("comment_notification", { comment_id: comment_id, user_id: _getCookie("user_id"), type: "removed" });
4218      }
4219      comment.find("#LikeComment").html("<svg xmlns='http://www.w3.org/2000/svg' width='58.553' height='58.266' viewBox='0 0 58.553 58.266' class='feather'> <path d='M-7080.317,1279.764l-26.729-1.173a1.657,1.657,0,0,1-1.55-1.717l1.11-33.374a4.112,4.112,0,0,1,2.361-3.6l.014-.005a13.62,13.62,0,0,1,1.978-.363h.007a9.007,9.007,0,0,0,3.249-.771c2.645-1.845,3.973-4.658,5.259-7.378l.005-.013.031-.061.059-.13.012-.023c.272-.576.61-1.289.944-1.929l0-.007c.576-1.105,2.327-4.46,4.406-5.107a2.3,2.3,0,0,1,.59-.105c.036,0,.072,0,.109,0a2.55,2.55,0,0,1,1.212.324c2.941,1.554,1.212,7.451.561,9.672a38.306,38.306,0,0,1-3.7,8.454l-.71,1.218,18.363.808a3.916,3.916,0,0,1,3.784,3.735,3.783,3.783,0,0,1-1.123,2.834,3.629,3.629,0,0,1-2.559,1.055c-.046,0-.1,0-.145,0h-.027l-2.141-.093-9.331-.41-.075,1.7,9.333.408a3.721,3.721,0,0,1,2.666,1.3,3.855,3.855,0,0,1,.936,2.934,3.779,3.779,0,0,1-3.821,3.38c-.061,0-.122,0-.181-.005l-1.974-.082-8.9-.392-.075,1.7,8.9.39a3.723,3.723,0,0,1,2.666,1.3,3.86,3.86,0,0,1,.937,2.933,3.784,3.784,0,0,1-3.827,3.381c-.057,0-.118,0-.177,0l-1.976-.088-8.472-.372-.075,1.7,8.474.372a3.726,3.726,0,0,1,2.666,1.3,3.857,3.857,0,0,1,.935,2.933,3.782,3.782,0,0,1-3.827,3.381C-7080.2,1279.765-7080.26,1279.765-7080.317,1279.764Zm-38.4,0-.089,0a6.558,6.558,0,0,1-6.193-6.8l.907-27.293a6.446,6.446,0,0,1,2.074-4.553,6.214,6.214,0,0,1,3.954-1.672c.081,0,.17-.005.29-.005s.212,0,.292.005a6.561,6.561,0,0,1,6.192,6.8l-.907,27.293a6.441,6.441,0,0,1-2.072,4.547,6.249,6.249,0,0,1-4.261,1.681Z' transform='translate(7126.251 -1222.75)' fill='none' stroke='currentColor' stroke-width='2.5'/> </svg>").fadeIn(150);
4220      comment.find("#comment-likes").text(data.likes);
4221    }
4222  });
4223}
4224
4225function SubmitAjaxForm(name){
4226  $(name).submit();
4227}
4228function Wo_LoadMoreApplyJobs(){
4229    var after_id = ($(".job_apply").length > 0) ? $(".job_apply").last().attr('data-job-apply') : 0;
4230    var job_id = $('.apply_job_info').attr('data_apply_job');
4231    if (!after_id) { return false;}
4232    Wo_progressIconLoader($('#load_more_nearby_users'));
4233    $.ajax({
4234      url: Wo_Ajax_Requests_File(),
4235      type: 'GET',
4236      dataType: 'json',
4237      data: {
4238        f:'job',
4239        s:'load',
4240        offset:after_id,
4241        job_id:job_id
4242      },
4243    })
4244    .done(function(data) {
4245
4246          if (data['status'] == 200){
4247            $(".apply_job_container").append(data.html);
4248            $("[data-toggle]").tooltip();
4249            $("#load_more_nearby_users").html('<span><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
4249<path fill="currentColor" d="M7.41,8.58L12,13.17L16.59,8.58L18,10L12,16L6,10L7.41,8.58Z"></path></svg></span> Load more');
4250
4251          }
4252          else{
4253            $("#load_more_nearby_users").html('No result to show');
4254          }
4255    })
4256    .fail(function() {
4257      console.log("error");
4258    })
4259  }
4260  var create_bar = $('.create-product-bar');
4261  var create_percent = $('.create-product-percent');
4262
4263  $('form.edit-job-form').ajaxForm({
4264      url: Wo_Ajax_Requests_File() + '?f=job&s=edit_job',
4265      beforeSend: function() {
4266       var percentVal = '0%';
4267       create_bar.width(percentVal);
4268       create_percent.html(percentVal);
4269
4270
4271        $('.edit-job-form').find('.last-sett-btn .ball-pulse').fadeIn(100);
4272      },
4273      uploadProgress: function (event, position, total, percentComplete) {
4274         var percentVal = percentComplete + '%';
4275         create_bar.width(percentVal);
4276         $('.edit-job-form').find('.create-product-progress').slideDown(200);
4277         create_percent.html(percentVal);
4278      },
4279      success: function(data) {
4280       if (data.status == 200) {
4281         $('.edit-job-form').find('.app-general-alert').html("<div class='alert alert-success'></div>");
4282           $('.edit-job-form').find('.alert-success').fadeIn(300);
4283           setTimeout(function (argument) {
4284            $('.edit-job-form').find('.alert-success').fadeOut(300);
4285            window.location.reload(true);
4286
4287           },3000);
4288       } else {
4289        $('.edit-job-form').find('#create-job-modal').animate({
4290          scrollTop: $('html, body').offset().top //#DIV_ID is an example. Use the id of your destination on the page
4291      });
4292           $('.edit-job-form').find('.app-general-alert').html('<div class="alert alert-danger">' + data.error + '</div>');
4293           $('.edit-job-form').find('.alert-danger').fadeIn(300);
4294           setTimeout(function (argument) {
4295            $('.edit-job-form').find('.alert-danger').fadeOut(300);
4296
4297           },3000);
4298       }
4299       $('.edit-job-form').find('.last-sett-btn .ball-pulse').fadeOut(100);
4300      }
4301  });
4302  // update post privacy
4303function Wo_UpdatePostPrivacy(post_id, privacy_type, event) {
4304  var post = $('#post-' + post_id);
4305  event.preventDefault();
4306  var post_privacy_container = post.find('.post-privacy');
4307  Wo_progressIconLoader(post_privacy_container);
4308  post.find('.wo_post_privacy_menu .dropdown-toggle').dropdown('toggle');
4309  $.get(Wo_Ajax_Requests_File(), {
4310    f: 'posts',
4311    s: 'update_post_privacy',
4312    post_id: post_id,
4313    privacy_type: privacy_type
4314  }, function (data) {
4315    if(data.status == 200) {
4316
4317      if(data.privacy_type == 0) {
4318        post_privacy_container.html('<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-globe"><circle cx="12" cy="12" r="10"></circle><line x1="2" y1="12" x2="22" y2="12"></line><path d="M12 2a15.3 15.3 0 0 1 4 10 15.3 15.3 0 0 1-4 10 15.3 15.3 0 0 1-4-10 15.3 15.3 0 0 1 4-10z"></path></svg>');
4319      } else if(data.privacy_type == 1) {
4320        post_privacy_container.html('<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-users"><path d="M17 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2"></path><circle cx="9" cy="7" r="4"></circle><path d="M23 21v-2a4 4 0 0 0-3-3.87"></path><path d="M16 3.13a4 4 0 0 1 0 7.75"></path></svg>');
4321      } else if(data.privacy_type == 2) {
4322        post_privacy_container.html('<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-user"><path d="M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2"></path><circle cx="12" cy="7" r="4"></circle></svg>');
4323      } else if(data.privacy_type == 3) {
4324        post_privacy_container.html('<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-lock"><rect x="3" y="11" width="18" height="11" rx="2" ry="2"></rect><path d="M7 11V7a5 5 0 0 1 10 0v4"></path></svg>');
4325      } else if(data.privacy_type == 4) {
4326        post_privacy_container.html('<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" class="feather" data-toggle="tooltip" title="" data-original-title="Anonymous">
4326<path fill="currentColor" d="M12,3C9.31,3 7.41,4.22 7.41,4.22L6,9H18L16.59,4.22C16.59,4.22 14.69,3 12,3M12,11C9.27,11 5.39,11.54 5.13,11.59C4.09,11.87 3.25,12.15 2.59,12.41C1.58,12.75 1,13 1,13H23C23,13 22.42,12.75 21.41,12.41C20.75,12.15 19.89,11.87 18.84,11.59C18.84,11.59 14.82,11 12,11M7.5,14A3.5,3.5 0 0,0 4,17.5A3.5,3.5 0 0,0 7.5,21A3.5,3.5 0 0,0 11,17.5C11,17.34 11,17.18 10.97,17.03C11.29,16.96 11.63,16.9 12,16.91C12.37,16.91 12.71,16.96 13.03,17.03C13,17.18 13,17.34 13,17.5A3.5,3.5 0 0,0 16.5,21A3.5,3.5 0 0,0 20,17.5A3.5,3.5 0 0,0 16.5,14C15.03,14 13.77,14.9 13.25,16.19C12.93,16.09 12.55,16 12,16C11.45,16 11.07,16.09 10.75,16.19C10.23,14.9 8.97,14 7.5,14M7.5,15A2.5,2.5 0 0,1 10,17.5A2.5,2.5 0 0,1 7.5,20A2.5,2.5 0 0,1 5,17.5A2.5,2.5 0 0,1 7.5,15M16.5,15A2.5,2.5 0 0,1 19,17.5A2.5,2.5 0 0,1 16.5,20A2.5,2.5 0 0,1 14,17.5A2.5,2.5 0 0,1 16.5,15Z"></path></svg>');
4327      } else if(data.privacy_type == 5) {
4328              } else {
4329        return false;
4330      }
4331    }
4332  });
4333}
4334function SearchSkill(word){
4335  $.post(Wo_Ajax_Requests_File()+"?f=get_skills", {
4336    word: word
4337  }, function (data) {
4338    if (data.status == 200 && data.html != '') {
4339      $('.skills_result').html(data.html);
4340    }
4341    else{
4342      $('.skills_result').html('');
4343    }
4344  });
4345}
4346function AddToSkill(self){
4347  setTimeout(function(){
4348    $($('.skills_div .bootstrap-tagsinput .label-info span')[$('.skills_div .bootstrap-tagsinput .label-info span').length - 1]).click();
4349    $('.skills_result').html('');
4350    $('#skills').tagsinput('add', $(self).text());
4351  }, 200);
4352}
4353function SearchLanguages(word){
4354  $.post(Wo_Ajax_Requests_File()+"?f=get_languages", {
4355    word: word
4356  }, function (data) {
4357    if (data.status == 200 && data.html != '') {
4358      $('.languages_result').html(data.html);
4359    }
4360    else{
4361      $('.languages_result').html('');
4362    }
4363  });
4364}
4365function AddToLang(self){
4366  setTimeout(function(){
4367    $($('.languages_div .bootstrap-tagsinput .label-info span')[$('.languages_div .bootstrap-tagsinput .label-info span').length - 1]).click();
4368    $('.languages_result').html('');
4369    $('#languages').tagsinput('add', $(self).text());
4370  }, 200);
4371}
4372function ShowProductReviews(id){
4373  $('#show_product_reviews_modal').modal('show');
4374  $.post(Wo_Ajax_Requests_File() + '?f=products&s=get_reviews&hash=' + $('.main_session').val(), {
4375    id: id
4376  }, function (data) {
4377    if (data.status == 200 && data.html != '') {
4378      $('#show_product_reviews_modal_info_load').slideDown();
4379      $('#show_product_reviews_modal_info').html(data.html);
4380    }
4381    else{
4382      $('#show_product_reviews_modal_info').html('<div class="empty_state"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M17,9H7V7H17M17,13H7V11H17M14,17H7V15H14M12,3A1,1 0 0,1 13,4A1,1 0 0,1 12,5A1,1 0 0,1 11,4A1,1 0 0,1 12,3M19,3H14.82C14.4,1.84 13.3,1 12,1C10.7,1 9.6,1.84 9.18,3H5A2,2 0 0,0 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5A2,2 0 0,0 19,3Z"></path></svg> </div>');
4383    }
4384  });
4385}
4386function Wo_LoadMoreUserProducts(user_id){
4387  id = $('.load_user_products:last').attr('id');
4388  $('#load_more_users_products').html('Please wait..');
4389  $('#load_more_users_products').attr('disabled', 'true');
4390  $.post(Wo_Ajax_Requests_File() + '?f=products&s=load_users_products&hash=' + $('.main_session').val(), {
4391    id: id,
4392    user_id: user_id,
4393  }, function (data) {
4394    $('#load_more_users_products').html('Load more');
4395    $('#load_more_users_products').removeAttr('disabled');
4396    if (data.status == 200 && data.html != '') {
4397      $('#products-list').append(data.html);
4398    }
4399    else{
4400      $('#load_more_users_products').slideUp();
4401    }
4402  });
4403}
4404function Wo_OpenBannedMenu(type = 'notification'){
4405  if (type == 'notification') {
4406    $('.turn-off-sound').remove();
4407    $('#notification-list').html("<div class='empty_state'><svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'><path d='M18.586 20H4a.5.5 0 0 1-.4-.8l.4-.533V10c0-1.33.324-2.584.899-3.687L1.393 2.808l1.415-1.415 19.799 19.8-1.415 1.414L18.586 20zM6.408 7.822A5.985 5.985 0 0 0 6 10v8h10.586L6.408 7.822zM20 15.786l-2-2V10a6 6 0 0 0-8.99-5.203L7.56 3.345A8 8 0 0 1 20 10v5.786zM9.5 21h5a2.5 2.5 0 1 1-5 0z' fill='currentColor'/></svg></div>");
4408  }
4409  else if(type == 'message'){
4410    $('#messages-list').html("<div class='empty_state'><svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'><path d='M6.455 19L2 22.5V4a1 1 0 0 1 1-1h18a1 1 0 0 1 1 1v14a1 1 0 0 1-1 1H6.455zM4 18.385L5.763 17H20V5H4v13.385zM13.414 11l2.475 2.475-1.414 1.414L12 12.414 9.525 14.89l-1.414-1.414L10.586 11 8.11 8.525l1.414-1.414L12 9.586l2.475-2.475 1.414 1.414L13.414 11z' fill='currentColor'/></svg></div>");
4411  }
4412  else if(type == 'requests'){
4413    $('#requests-list').html("<div class='empty_state'><svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'><path d='M14 14.252v2.09A6 6 0 0 0 6 22l-2-.001a8 8 0 0 1 10-7.748zM12 13c-3.315 0-6-2.685-6-6s2.685-6 6-6 6 2.685 6 6-2.685 6-6 6zm0-2c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm7 6.586l2.121-2.122 1.415 1.415L20.414 19l2.122 2.121-1.415 1.415L19 20.414l-2.121 2.122-1.415-1.415L17.586 19l-2.122-2.121 1.415-1.415L19 17.586z' fill='currentColor'/></svg></div>");
4414  }
4415}
4416function AddYandexResult(target,self,result_co) {
4417  $(target).val($(self).text());
4418  $(result_co).html('');
4419}
4420</script>
4420
4421
4422      
4422<script type="text/javascript" src="https://mabiab.com/themes/youplay/js/script.js?version=2.2.4"></script>
4422
4423      
4423<script src="https://gitcdn.github.io/bootstrap-toggle/2.2.2/js/bootstrap-toggle.min.js?version=2.2.4"></script>
4423
4424      
4424<script src="https://mabiab.com/themes/youplay/js/footer.js?version=2.2.4"></script>
4424
4425      <link rel="" ="">
4426      
4426<script>
4427         $(window).on("popstate", function (e) {
4428             location.reload();
4429         });
4430         $(document).ready(function() {
4431         $("img[data-src]").unveil(200);
4432         });
4433
4434         $(document).ready(function(){
4435           // $('.share-video a').click(function (e) {
4436           //     e.preventDefault();
4437           // });
4438           $('.dropdown-toggle').dropdown()
4439
4440           $("#toggle-mode").change(function(event) {
4441               var mode = 'day';
4442
4443               if ($(this).prop( "checked" ) === true) {
4444                 mode = 'night';
4445                 $('<link>',{
4446                   rel:'stylesheet',
4447                   href:'https://mabiab.com/themes/youplay/css/night-mode.css',
4448                   class:'night-mode-css'
4449                 }).insertAfter('link#style-css');
4450                  $('<link>',{
4451                     rel:'stylesheet',
4452                     href:'https://mabiab.com/themes/youplay/css/chat-night-mode.css',
4453                     class:'night-mode-css'
4454                  }).insertAfter('link#style-css');
4455                 $('.logo-img img').attr('src', 'https://mabiab.com/themes/youplay/img/logo-light.png');
4456               }
4457               else{
4458                 $(".night-mode-css").remove();
4459                 $('.logo-img img').attr('src', 'https://mabiab.com/themes/youplay/img/logo.png');
4460               }
4461
4462
4463               $.post('https://mabiab.com/', {mode: mode}, function(data, textStatus, xhr) { /* pass */ });
4464           });
4465
4466           $("li.toggle-mobile-mode").click(function(event) {
4467               var mode = $(this).attr('data-mode');
4468
4469               $.post('https://mabiab.com/', {mode: mode}, function(data, textStatus, xhr) {
4470                 location.reload();
4471               });
4472           });
4473         });
4474      </script>
4474
4475      
4476      
4476<script src="//cdnjs.cloudflare.com/ajax/libs/cookieconsent2/3.0.3/cookieconsent.min.js?version=2.2.4"></script>
4476
4477      
4477<script>
4478         window.addEventListener("load", function(){
4479         window.cookieconsent.initialise({
4480           "theme": "classic",
4481           "content": {
4482             "message": "На этом веб-сайте используются файлы cookie, чтобы вы могли получить лучший опыт на нашем веб-сайте.",
4483             "dismiss": "Понял!",
4484             "link": "Выучить больше",
4485             "href": "https://mabiab.com/terms/privacy-policy"
4486           }
4487         })});
4488      </script>
4488
4489                  <div class="sidenav-overlay" onclick="javascript:$('body').removeClass('side_open');$('body').removeClass('mobi_side_open');"></div>
4490            <div class="fab-overlay"></div>
4491      
4491<script>
4492
4493         //adjust action button location if user is on messages page, to avoid buttons overlapping
4494         document.addEventListener('DOMContentLoaded', function() {
4495            const element = document.querySelector("#actionButton");
4496            if (!element) return;
4497
4498            if (window.location.pathname.includes('/messages')) {
4499               element.style.bottom = '86px';
4500            } else {
4501               element.style.bottom = '16px';
4502            }
4503         });
4504
4505         $(document).on('click', '#pop_up_18_yes', function(event) {
4506           event.preventDefault();
4507           $.post('https://mabiab.com/aj/main/yes_18?hash=' + $('.main_session').val(), function(data, textStatus, xhr) {
4508             $('#pop_up_18').modal('hide');
4509           });
4510         });
4511
4512         $(document).on('click', '#pop_up_18_no', function(event) {
4513           event.preventDefault();
4514           $.post('https://mabiab.com/aj/main/no_18?hash=' + $('.main_session').val(), function(data, textStatus, xhr) {
4515             if (data.status == 200) {
4516               $('#pop_up_18').modal('hide');
4517               window.location.href = data.url
4518             }
4519           });
4520         });
4521
4522                  $('#btn-fab-main').on('touchstart click', function() {
4523         if ($(this).hasClass('active')) {
4524         $(this).removeClass('active');
4525         $('body').removeClass('fab_open');
4526         $(this).addClass('reverse-animation');
4527         } else {
4528         $(this).removeClass('reverse-animation');
4529         $(this).addClass('active');
4530         $('body').addClass('fab_open');
4531         }
4532         return false;
4533         });
4534         function setCookie(cname, cvalue, exdays) {
4535           var d = new Date();
4536           d.setTime(d.getTime() + (exdays * 24 * 60 * 60 * 1000));
4537           var expires = "expires="+d.toUTCString();
4538           document.cookie = cname + "=" + cvalue + ";" + expires + ";path=/";
4539         }
4540         function SlideSetCookie(cname, cvalue, exdays) {
4541         $('#open_slide').attr('onclick', "SlideEraseCookie('open_slide')");
4542           var d = new Date();
4543           d.setTime(d.getTime() + (exdays * 24 * 60 * 60 * 1000));
4544           var expires = "expires="+d.toUTCString();
4545           document.cookie = cname + "=" + cvalue + ";" + expires + ";path=/";
4546         }
4547         function SlideEraseCookie(name) {
4548         $('#open_slide').attr('onclick', "SlideSetCookie('open_slide','yes',1)");
4549           document.cookie = name + '=;path=/;Max-Age=0'
4550         }
4551
4552         function ChatSetCookie(cname, cvalue, exdays) {
4553            $('#open_chat').attr('onclick', "ChatEraseCookie('open_chat')");
4554            var d = new Date();
4555            d.setTime(d.getTime() + (exdays * 24 * 60 * 60 * 1000));
4556            var expires = "expires="+d.toUTCString();
4557            document.cookie = cname + "=" + cvalue + ";" + expires + ";path=/";
4558         }
4559
4560         function toggleMobileFriendsChat() {
4561            //toggles sidebar visibility trough style=display:none property
4562            $('#mobile-sidebar-container').toggle();
4563
4564            //toggles class in body that makes sidebar opened on full size instead of minimized version
4565            if ($('#mobile-sidebar-container').is(':visible')) {
4566               $('body').addClass('chat_open');
4567            } else {
4568               $('body').removeClass('chat_open');
4569            }
4570         }
4571
4572
4573         function ChatEraseCookie(name) {
4574            $('#open_chat').attr('onclick', "ChatSetCookie('open_chat','yes',1)");
4575            document.cookie = name + '=;path=/;Max-Age=0'
4576         }
4577
4578         function getCookie(cname) {
4579           var name = cname + "=";
4580           var ca = document.cookie.split(';');
4581           for(var i = 0; i < ca.length; i++) {
4582               var c = ca[i];
4583               while (c.charAt(0) == ' ') {
4584                   c = c.substring(1);
4585               }
4586               if (c.indexOf(name) == 0) {
4587                   return c.substring(name.length, c.length);
4588               }
4589           }
4590           return "";
4591         }
4592                  $.ajax({
4593           url: 'https://extreme-ip-lookup.com/json/',
4594           type: 'GET',
4595           dataType: 'json'
4596         })
4597         .done(function(data) {
4598           if (data.status == 'success') {
4599             setCookie('r', window.btoa(data.continent), 1);
4600                        }
4601           else{
4602             setCookie('r', window.btoa('string'), 1);
4603                        }
4604         })
4605         .fail(function() {
4606           setCookie('r', window.btoa('string'), 1);
4607                    })
4608         .always(function() {
4609         });
4610
4611             // $.get('https://extreme-ip-lookup.com/json/', function(data) {
4612             //   if (data.status == 'success') {
4613             //     setCookie('r', window.btoa(data.continent), 1);
4614             //                  //   }
4615             //   else{
4616             //     setCookie('r', window.btoa('string'), 1);
4617             //                  //   }
4618             // });
4619                 </script>
4619
4620            
4620<script>
4621         var fingerprintReport = function () {
4622            Fingerprint2.get(function(components) {
4623              var murmur = Fingerprint2.x64hash128(components.map(function (pair) { return pair.value }).join(), 31)
4624              $.post('https://mabiab.com/aj/views?hash=' + $('.main_session').val()+'&type_=set', {finger: murmur}, function(data, textStatus, xhr) {
4625              });
4626            })
4627         }
4628         fingerprintReport();
4629      </script>
4629
4630            
4630<script type="text/javascript">
4631         var myTimeout;
4632
4633         function show_gif(self,gif) {
4634           if (gif && gif != '') {
4635             myTimeout = setTimeout(function() {
4636                 $(self).append('<img src="'+gif+'">');
4637             }, 1000);
4638           }
4639         }
4640
4641         function hide_gif(self) {
4642           $(self).find('img').remove();
4643           clearTimeout(myTimeout);
4644         }
4645         function block_user(user_id,self,redirect = true) {
4646           $.post('https://mabiab.com/aj/user/block?hash=' + $('.main_session').val(), {user_id: user_id}, function(data, textStatus, xhr) {
4647             if (redirect == true) {
4648               location.reload();
4649             }
4650             else{
4651               $(self).find('span').text(data.message);
4652             }
4653           });
4654         }
4655
4656      </script>
4656
4657      <div id="pay-go-pro" class="modal matdialog">
4658         <div class="modal-dialog">
4659            <div class="modal-content payment_box">
4660               <div class="modal-header">
4661                  <h3 class="modal-title">
4662                     Выберите способ оплаты
4663                     <button type="button" class="close" data-dismiss="modal" aria-label="Close">
4664                        <span aria-hidden="true">
4665                           <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-x">
4666                              <line x1="18" y1="6" x2="6" y2="18"></line>
4667                              <line x1="6" y1="6" x2="18" y2="18"></line>
4668                           </svg>
4669                        </span>
4670                     </button>
4671                  </h3>
4672               </div>
4673               <div class="payment_method"></div>
4674            </div>
4675         </div>
4676         <input id="wallet_amount" type="hidden">
4677      </div>
4678
4679      <div id="select-language" class="modal matdialog et_plus lang_select_modal" data-backdrop="static" data-keyboard="false">
4680         <div class="modal-dialog modal-lg">
4681            <div class="modal-content">
4682               <div class="modal-body" id="pt_language_modal">
4683					<div class="row">
4684						<div class="col-md-4">
4685							<div class="language_info">
4686								<h3>Язык</h3>
4687								<img src="https://mabiab.com/themes/youplay/img/language.svg"/>
4688							</div>
4689						</div>
4690						<div class="col-md-8">
4691							<ul class="lang_modal">
4692								<li class="language_select"><a href="?lang=english" rel="nofollow" class="english">English</a></li><li class="language_select"><a href="?lang=arabic" rel="nofollow" class="arabic">Arabic</a></li><li class="language_select"><a href="?lang=dutch" rel="nofollow" class="dutch">Dutch</a></li><li class="language_select"><a href="?lang=french" rel="nofollow" class="french">French</a></li><li class="language_select"><a href="?lang=german" rel="nofollow" class="german">German</a></li><li class="language_select"><a href="?lang=russian" rel="nofollow" class="russian">Russian</a></li><li class="language_select"><a href="?lang=spanish" rel="nofollow" class="spanish">Spanish</a></li><li class="language_select"><a href="?lang=turkish" rel="nofollow" class="turkish">Turkish</a></li><li class="language_select"><a href="?lang=hindi" rel="nofollow" class="hindi">Hindi</a></li><li class="language_select"><a href="?lang=chinese" rel="nofollow" class="chinese">Chinese</a></li><li class="language_select"><a href="?lang=urdu" rel="nofollow" class="urdu">Urdu</a></li><li class="language_select"><a href="?lang=indonesian" rel="nofollow" class="indonesian">Indonesian</a></li><li class="language_select"><a href="?lang=croatian" rel="nofollow" class="croatian">Croatian</a></li><li class="language_select"><a href="?lang=hebrew" rel="nofollow" class="hebrew">Hebrew</a></li><li class="language_select"><a href="?lang=bengali" rel="nofollow" class="bengali">Bengali</a></li><li class="language_select"><a href="?lang=japanese" rel="nofollow" class="japanese">Japanese</a></li><li class="language_select"><a href="?lang=portuguese" rel="nofollow" class="portuguese">Portuguese</a></li><li class="language_select"><a href="?lang=italian" rel="nofollow" class="italian">Italian</a></li><li class="language_select"><a href="?lang=persian" rel="nofollow" class="persian">Persian</a></li><li class="language_select"><a href="?lang=swedish" rel="nofollow" class="swedish">Swedish</a></li><li class="language_select"><a href="?lang=vietnamese" rel="nofollow" class="vietnamese">Vietnamese</a></li><li class="language_select"><a href="?lang=danish" rel="nofollow" class="danish">Danish</a></li><li class="language_select"><a href="?lang=filipino" rel="nofollow" class="filipino">Filipino</a></li>							</ul>
4693						</div>
4694					</div>
4695
4696               </div>
4697            </div>
4698         </div>
4699      </div>
4700	  
4701	        
4701<script type="text/javascript">
4702         $('#select-language').modal('show');
4703         setCookie('lang_modal','1', 10);
4704      </script>
4704
4705                              <div class="modal fade matdialog" id="pay_modal_wallet" role="dialog" data-keyboard="false">
4706	<div class="modal-dialog">
4707		<div class="modal-content">
4708			<div class="modal-header">
4709				<h3 class="modal-title">Оплата по кошельку<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-x"><line x1="18" y1="6" x2="6" y2="18"></line><line x1="6" y1="6" x2="18" y2="18"></line></svg></span></button></h3>
4710			</div>
4711			
4712			<div class="modal-body">
4713				<div class="pay_modal_wallet_alert"></div>
4714				<p class="pay_modal_wallet_text"></p>
4715			</div>
4716			<div class="clear"></div>
4717			<div class="modal-footer">
4718				<div class="ball-pulse"><div></div><div></div><div></div></div>
4719				<button type="button" class="btn btn-main" id="pay_modal_wallet_btn">платить</button>
4720			</div>
4721		</div>
4722	</div>
4723</div>      
4723<script type="text/javascript">
4724         function HideCard(ad_date) {
4725             setTimeout(function (argument) {
4726                $('.'+ad_date).remove();
4727             },5000);
4728          }
4729                      function SLogin(provider) {
4730                $.post('https://mabiab.com/aj/provider?hash=' + $('.main_session').val(), {provider: provider}, function(data, textStatus, xhr) {
4731                  if (data.status == 200) {
4732                    location.href = "https://mabiab.com/social-login.php?provider="+provider;
4733                  }
4734               });
4735            }
4736                </script>
4736
4737      <div class="modal fade pt_auth_box" id="loginbox" tabindex="-1" role="dialog" aria-labelledby="loginbox">
4738	<div class="modal-dialog" role="document">
4739		<div class="login_page">
4740			<div class="login-page">
4741				<div class="login-form">
4742					<h4>Авторизоваться</h4>
4743					<form action="https://mabiab.com/login" method="POST">
4744						<div class="errors form-group"></div>
4745						<div class="pp_mat_input">
4746							<input type="text" name="username" id="username" placeholder="имя пользователя" required autofocus>
4747							<label for="username">имя пользователя</label>
4748						</div>
4749						<div class="pp_mat_input">
4750							<input type="password" name="password" id="password" placeholder="Пароль" required>
4751							<label for="password">Пароль</label>
4752						</div>
4753						<div class="forgot_password">
4754							<a href="https://mabiab.com/forgot_password">Забыли пароль?</a>
4755						</div>
4756						<div class="login_signup_combo">
4757							<input type="submit" class="btn btn-main button" value="Авторизоваться">
4758						</div>
4759													<div class="pt_vdo_cstm_radio">
4760								<input type="checkbox" name="remember_device" id="remember_device" checked>
4761								<label for="remember_device">Помните это устройство</label>
4762							</div>
4763																		<div class="clear"></div>
4764													<hr>
4765							<div class="signup__">
4766								Новенький тут? <a class="dec" href="https://mabiab.com/register">Регистрация</a>
4767							</div>
4768											</form>
4769				</div>
4770			</div>
4771		</div>
4772		
4772<script>
4773		$(function() {
4774			$('.button').on('click', function () {
4775				if ($('#username').val() && $('#password').val()) {
4776					$(this).val("Пожалуйста, подождите..");
4777				}
4778			});
4779		});
4780		</script>
4780
4781	</div>
4782</div>
4783      <div class="modal fade pt_auth_box" id="registerbox" tabindex="-1" role="dialog" aria-labelledby="registerbox">
4784	<div class="modal-dialog" role="document">
4785		<div class="login_page">
4786			<div class="login-page">
4787				<div class="login-form registeration_modal" id="register_form_p">
4788					<h4>Зарегистрироваться!</h4>
4789					<form action="https://mabiab.com/register" method="POST">
4790						<div class="errors form-group errors_alert"></div>
4791						<div class="errors success form-group"></div>
4792													<div class="pp_mat_input">
4793								<input type="text" name="first_name" id="first_name" placeholder="Имя" required autofocus>
4794								<label for="first_name">Имя</label>
4795							</div>
4796							<div class="pp_mat_input">
4797								<input type="text" name="last_name" id="last_name" placeholder="Фамилия" required autofocus>
4798								<label for="last_name">Фамилия</label>
4799							</div>
4800												<div class="pp_mat_input">
4801							<input type="email" name="email" id="email" placeholder="Адрес электронной почты" required>
4802							<label for="email">Адрес электронной почты</label>
4803						</div>
4804						<div class="pp_mat_input">
4805							<input type="password" name="password" id="password" placeholder="Пароль" required>
4806							<label for="password">Пароль</label>
4807													</div>
4808						<div class="pp_mat_input">
4809							<input type="password" name="c_password"  id="c_password" placeholder="Подтвердите Пароль" required>
4810							<label for="c_password">Подтвердите Пароль</label>
4811						</div>
4812						<div class="pp_mat_input">
4813							<select name="gender" id="gender" required>
4814								<option value="male">мужчина</option>
4815								<option value="female">женский</option>
4816							</select>
4817						</div>
4818												<div class="recaptcha">
4819															<div class="g-recaptcha" data-sitekey="6Lfyrf8iAAAAAIHUe4oXPPS8lvfLYJgx6tEVDpia"></div>
4820													</div>
4821						<div class="login_signup_combo">
4822							<input type="submit" class="btn btn-main button" value="Зарегистрироваться!">
4823						</div>
4824						<div class="terms">
4825							<label for="accept_terms">
4826								<input type="checkbox" name="accept_terms" id="accept_terms">Создав свою учетную запись, вы соглашаетесь с нашими
4827								<a href="https://mabiab.com/terms/terms">Условия эксплуатации</a> & <a href="https://mabiab.com/terms/privacy-policy">политика конфиденциальности</a>
4828							</label>
4829							<div class="clear"></div>
4830						</div>
4831						<hr>
4832						<div class="signup__">
4833							У вас уже есть учетная запись? <a class="dec" href="https://mabiab.com/login">Авторизоваться</a>
4834						</div>
4835						<input type="hidden" id="checked" value="off" name="terms">
4836											</form>
4837				</div>    
4838			</div>
4839		</div>
4840		
4840<script>
4841					$(function() {
4842			$("#accept_terms").change(function() {
4843				if(this.checked) {
4844					$('#checked').val('on');
4845				} else {
4846					$('#checked').val('off');
4847				}
4848			});
4849			$('.button').on('click', function () {
4850				if ($('#username').val() && $('#password').val() && $('#email').val() && $('#gender').val() && $('#c_password').val()) {
4851					$(this).val("Пожалуйста, подождите..");
4852				}
4853			});
4854		});
4855		</script>
4855
4856	</div>
4857</div>   <!-- Load modal alerts -->
4858   <div class="modal fade in" id="comment_report_box" role="dialog">
4859    <div class="modal-dialog wow_mat_mdl">
4860    
4861      <div class="modal-content">
4862        <p class="wo_error_messages">
4863          <svg xmlns="http://www.w3.org/2000/svg" x="0px" y="0px" viewBox="0 0 496.158 496.158" xml:space="preserve"> <path style="fill:#32BEA6;" d="M496.158,248.085c0-137.021-111.07-248.082-248.076-248.082C111.07,0.003,0,111.063,0,248.085 c0,137.002,111.07,248.07,248.082,248.07C385.088,496.155,496.158,385.087,496.158,248.085z"/> <path style="fill:#FFFFFF;" d="M384.673,164.968c-5.84-15.059-17.74-12.682-30.635-10.127c-7.701,1.605-41.953,11.631-96.148,68.777 c-22.49,23.717-37.326,42.625-47.094,57.045c-5.967-7.326-12.803-15.164-19.982-22.346c-22.078-22.072-46.699-37.23-47.734-37.867 c-10.332-6.316-23.82-3.066-30.154,7.258c-6.326,10.324-3.086,23.834,7.23,30.174c0.211,0.133,21.354,13.205,39.619,31.475 c18.627,18.629,35.504,43.822,35.67,44.066c4.109,6.178,11.008,9.783,18.266,9.783c1.246,0,2.504-0.105,3.756-0.322 c8.566-1.488,15.447-7.893,17.545-16.332c0.053-0.203,8.756-24.256,54.73-72.727c37.029-39.053,61.723-51.465,70.279-54.908 c0.082-0.014,0.141-0.02,0.252-0.043c-0.041,0.01,0.277-0.137,0.793-0.369c1.469-0.551,2.256-0.762,2.301-0.773 c-0.422,0.105-0.641,0.131-0.641,0.131l-0.014-0.076c3.959-1.727,11.371-4.916,11.533-4.984 C385.405,188.218,389.034,176.214,384.673,164.968z"/></svg>
4864          <span class="msg"></span>
4865        </p>
4866      </div>
4867      
4868    </div>
4869</div>
4870
4871<div class="modal fade in" id="post-shared" role="dialog">
4872    <div class="modal-dialog wow_mat_mdl">
4873    
4874      <div class="modal-content">
4875        <p class="wo_error_messages">
4876          <svg xmlns="http://www.w3.org/2000/svg" x="0px" y="0px" viewBox="0 0 496.158 496.158" xml:space="preserve"> <path style="fill:#32BEA6;" d="M496.158,248.085c0-137.021-111.07-248.082-248.076-248.082C111.07,0.003,0,111.063,0,248.085 c0,137.002,111.07,248.07,248.082,248.07C385.088,496.155,496.158,385.087,496.158,248.085z"/> <path style="fill:#FFFFFF;" d="M384.673,164.968c-5.84-15.059-17.74-12.682-30.635-10.127c-7.701,1.605-41.953,11.631-96.148,68.777 c-22.49,23.717-37.326,42.625-47.094,57.045c-5.967-7.326-12.803-15.164-19.982-22.346c-22.078-22.072-46.699-37.23-47.734-37.867 c-10.332-6.316-23.82-3.066-30.154,7.258c-6.326,10.324-3.086,23.834,7.23,30.174c0.211,0.133,21.354,13.205,39.619,31.475 c18.627,18.629,35.504,43.822,35.67,44.066c4.109,6.178,11.008,9.783,18.266,9.783c1.246,0,2.504-0.105,3.756-0.322 c8.566-1.488,15.447-7.893,17.545-16.332c0.053-0.203,8.756-24.256,54.73-72.727c37.029-39.053,61.723-51.465,70.279-54.908 c0.082-0.014,0.141-0.02,0.252-0.043c-0.041,0.01,0.277-0.137,0.793-0.369c1.469-0.551,2.256-0.762,2.301-0.773 c-0.422,0.105-0.641,0.131-0.641,0.131l-0.014-0.076c3.959-1.727,11.371-4.916,11.533-4.984 C385.405,188.218,389.034,176.214,384.673,164.968z"/></svg>
4877          Post was successfully added to your timeline!        </p>
4878      </div>
4879      
4880    </div>
4881</div>
4882<div class="modal fade in" id="modal-alert" role="dialog">
4883    <div class="modal-dialog wow_mat_mdl">
4884      <div class="modal-content">
4885        <p class="wo_error_messages">
4886          <svg enable-background="new 0 0 64 64" height="512" viewBox="0 0 64 64" width="512" xmlns="http://www.w3.org/2000/svg"><g id="Icons"><g><g><path d="m32 58c-14.359 0-26-11.641-26-26 0-14.359 11.641-26 26-26 14.359 0 26 11.641 26 26 0 14.359-11.641 26-26 26z" fill="#fa6450"/></g><g><path d="m10 32c0-13.686 10.576-24.894 24-25.916-.661-.05-1.326-.084-2-.084-14.359 0-26 11.641-26 26 0 14.359 11.641 26 26 26 .674 0 1.339-.034 2-.084-13.424-1.022-24-12.23-24-25.916z" fill="#dc4632"/></g><g><path d="m32 38c-2.209 0-4-1.791-4-4v-16c0-2.209 1.791-4 4-4 2.209 0 4 1.791 4 4v16c0 2.209-1.791 4-4 4z" fill="#f0f0f0"/></g><g><path d="m32 50c-2.209 0-4-1.791-4-4 0-2.209 1.791-4 4-4 2.209 0 4 1.791 4 4 0 2.209-1.791 4-4 4z" fill="#f0f0f0"/></g></g></g></svg>
4887          <span id="modal-alert-msg">
4888                      </span>
4889        </p>
4890      </div>
4891    </div>
4892</div>
4893<div class="modal fade in" id="invalid_file" role="dialog">
4894    <div class="modal-dialog wow_mat_mdl">
4895    
4896      <div class="modal-content">
4897        <p class="wo_error_messages">
4898          <svg enable-background="new 0 0 64 64" height="512" viewBox="0 0 64 64" width="512" xmlns="http://www.w3.org/2000/svg"><g id="Icons"><g><g><path d="m32 58c-14.359 0-26-11.641-26-26 0-14.359 11.641-26 26-26 14.359 0 26 11.641 26 26 0 14.359-11.641 26-26 26z" fill="#fa6450"/></g><g><path d="m10 32c0-13.686 10.576-24.894 24-25.916-.661-.05-1.326-.084-2-.084-14.359 0-26 11.641-26 26 0 14.359 11.641 26 26 26 .674 0 1.339-.034 2-.084-13.424-1.022-24-12.23-24-25.916z" fill="#dc4632"/></g><g><path d="m32 38c-2.209 0-4-1.791-4-4v-16c0-2.209 1.791-4 4-4 2.209 0 4 1.791 4 4v16c0 2.209-1.791 4-4 4z" fill="#f0f0f0"/></g><g><path d="m32 50c-2.209 0-4-1.791-4-4 0-2.209 1.791-4 4-4 2.209 0 4 1.791 4 4 0 2.209-1.791 4-4 4z" fill="#f0f0f0"/></g></g></g></svg>
4899                  </p>
4900      </div>
4901      
4902    </div>
4903</div>
4904<div class="modal fade in" id="ffmpeg_file" role="dialog">
4905    <div class="modal-dialog wow_mat_mdl">
4906    
4907      <div class="modal-content">
4908        <p style="text-align: center;padding: 30px 20px;font-size: 16px;margin: 0;">
4909          <svg xmlns="http://www.w3.org/2000/svg" height="100px" viewBox="0 0 512 512" width="100px" class="main" style="display: block;margin: 0 auto 30px;"><g fill="currentColor" opacity="0.6"><path d="m71.072 303.9a189.244 189.244 0 0 0 66.661 97.518 186.451 186.451 0 0 0 114.189 38.582c103.707 0 188.078-84.284 188.078-187.884a185.963 185.963 0 0 0 -38.974-114.534 189.368 189.368 0 0 0 -98.448-66.463 24 24 0 1 1 12.883-46.238 237.668 237.668 0 0 1 123.578 83.392 235.9 235.9 0 0 1 -187.117 379.727 234.064 234.064 0 0 1 -143.342-48.444 237.546 237.546 0 0 1 -83.652-122.438z"/><circle cx="200" cy="48" r="24"/><circle cx="56" cy="192" r="24"/><circle cx="109" cy="101" r="24"/></g><path d="m48 480a24 24 0 0 1 -24-24v-144a24 24 0 0 1 29.206-23.429l144 32a24 24 0 1 1 -10.412 46.858l-114.794-25.51v114.081a24 24 0 0 1 -24 24z" fill="currentColor"/></svg>
4910          Your video is being processed, We’ll let you know when it&#039;s ready to view.        </p>
4911      </div>
4912      
4913    </div>
4914</div>
4915<div class="modal fade in" id="file_not_supported" role="dialog">
4916    <div class="modal-dialog wow_mat_mdl">
4917    
4918      <div class="modal-content">
4919        <p class="wo_error_messages">
4920          <svg enable-background="new 0 0 64 64" height="512" viewBox="0 0 64 64" width="512" xmlns="http://www.w3.org/2000/svg"><g id="Icons"><g><g><path d="m32 58c-14.359 0-26-11.641-26-26 0-14.359 11.641-26 26-26 14.359 0 26 11.641 26 26 0 14.359-11.641 26-26 26z" fill="#fa6450"/></g><g><path d="m10 32c0-13.686 10.576-24.894 24-25.916-.661-.05-1.326-.084-2-.084-14.359 0-26 11.641-26 26 0 14.359 11.641 26 26 26 .674 0 1.339-.034 2-.084-13.424-1.022-24-12.23-24-25.916z" fill="#dc4632"/></g><g><path d="m32 38c-2.209 0-4-1.791-4-4v-16c0-2.209 1.791-4 4-4 2.209 0 4 1.791 4 4v16c0 2.209-1.791 4-4 4z" fill="#f0f0f0"/></g><g><path d="m32 50c-2.209 0-4-1.791-4-4 0-2.209 1.791-4 4-4 2.209 0 4 1.791 4 4 0 2.209-1.791 4-4 4z" fill="#f0f0f0"/></g></g></g></svg>
4921          File format is not supported        </p>
4922      </div>
4923      
4924    </div>
4925</div>
4926<div class="modal fade" id="modal_light_box" role="dialog">
4927	<button type="button" class="close comm_mod_img_close" data-dismiss="modal" aria-label="Close"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-x"><line x1="18" y1="6" x2="6" y2="18"></line><line x1="6" y1="6" x2="18" y2="18"></line></svg></button>
4928  <div class="modal-dialog" >
4929    <div class="modal-content">              
4930      <div class="modal-body" style="padding: 0;">
4931        <img  class="image" style="width: 100%;" >
4932      </div>
4933    </div>
4934  </div>
4935</div>
4936<div class="modal fade in" id="adult_image_file" role="dialog">
4937    <div class="modal-dialog wow_mat_mdl">
4938    
4939      <div class="modal-content">
4940        <p class="wo_error_messages">
4941          <svg enable-background="new 0 0 64 64" height="512" viewBox="0 0 64 64" width="512" xmlns="http://www.w3.org/2000/svg"><g id="Icons"><g><g><path d="m32 58c-14.359 0-26-11.641-26-26 0-14.359 11.641-26 26-26 14.359 0 26 11.641 26 26 0 14.359-11.641 26-26 26z" fill="#fa6450"/></g><g><path d="m10 32c0-13.686 10.576-24.894 24-25.916-.661-.05-1.326-.084-2-.084-14.359 0-26 11.641-26 26 0 14.359 11.641 26 26 26 .674 0 1.339-.034 2-.084-13.424-1.022-24-12.23-24-25.916z" fill="#dc4632"/></g><g><path d="m32 38c-2.209 0-4-1.791-4-4v-16c0-2.209 1.791-4 4-4 2.209 0 4 1.791 4 4v16c0 2.209-1.791 4-4 4z" fill="#f0f0f0"/></g><g><path d="m32 50c-2.209 0-4-1.791-4-4 0-2.209 1.791-4 4-4 2.209 0 4 1.791 4 4 0 2.209-1.791 4-4 4z" fill="#f0f0f0"/></g></g></g></svg>
4942          We have detected some adult content on the image you uploaded, therefore we have declined your upload process.        </p>
4943      </div>
4944      
4945    </div>
4946</div>
4947<div class="modal fade" id="share_post_on_group" role="dialog">
4948  <div class="modal-dialog modal-sm">
4949    <div class="modal-content">
4950      <div class="modal-header">
4951        <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-x"><line x1="18" y1="6" x2="6" y2="18"></line><line x1="6" y1="6" x2="18" y2="18"></line></svg></span></button>
4952        <h4 class="modal-title">
4953          Share post on a group        </h4>
4954      </div>
4955      <form id="share_post_on_group_form" class="share_post_on_group_form" method="POST">
4956        <div class="modal-body">
4957          <div id="share_post_on_group_form_alert"></div>
4958          <div class="form-group input-group">
4959            <span class="input-group-addon pointer">
4960              <svg xmlns="http://www.w3.org/2000/svg" class="feather" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" style="color:#03A9F4;"><rect x="3" y="3" width="7" height="7"></rect><rect x="14" y="3" width="7" height="7"></rect><rect x="14" y="14" width="7" height="7"></rect><rect x="3" y="14" width="7" height="7"></rect></svg>
4961            </span>
4962            <input onkeydown="SearchFor(this,'group')" type="text" class="form-control" name="name" placeholder="">
4963            <input type="hidden" id="SearchForInputGroup" name="group_id">
4964            <input type="hidden" id="SearchForInputPostId" name="post_id">
4965          </div>
4966        </div>
4967        <div class="modal-footer">
4968          <div class="ball-pulse"><div></div><div></div><div></div></div>
4969          <button id="share_post_on_group_form_btn" type="button" class="btn btn-main">
4970            Share          </button>
4971        </div>
4972      </form>
4973    </div>
4974  </div>
4975</div>
4976<div class="modal fade" id="share_post_on_page" role="dialog">
4977  <div class="modal-dialog modal-sm">
4978    <div class="modal-content">
4979      <div class="modal-header">
4980        <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-x"><line x1="18" y1="6" x2="6" y2="18"></line><line x1="6" y1="6" x2="18" y2="18"></line></svg></span></button>
4981        <h4 class="modal-title">
4982          Share to a page        </h4>
4983      </div>
4984      <form id="share_post_on_page_form" class="share_post_on_page_form" method="POST">
4985        <div class="modal-body">
4986          <div id="share_post_on_page_form_alert"></div>
4987          <div class="form-group input-group">
4988            <span class="input-group-addon pointer">
4989              <svg xmlns="http://www.w3.org/2000/svg" class="feather" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" style="color:#f79f58;"><path d="M4 15s1-1 4-1 5 2 8 2 4-1 4-1V3s-1 1-4 1-5-2-8-2-4 1-4 1z"></path><line x1="4" y1="22" x2="4" y2="15"></line></svg>
4990            </span>
4991            <input onkeydown="SearchFor(this,'page')" type="text" class="form-control" name="name" placeholder="">
4992            <input type="hidden" id="SearchForInputPage" name="page_id">
4993            <input type="hidden" id="SearchForInputPostIdPage" name="post_id">
4994          </div>
4995        </div>
4996        <div class="modal-footer">
4997          <div class="ball-pulse"><div></div><div></div><div></div></div>
4998          <button id="share_post_on_page_form_btn" type="button" class="btn btn-main">
4999            Share          </button>
5000        </div>
5001      </form>
5002    </div>
5003  </div>
5004</div>
5005<div class="modal fade" id="share_post_on_user" role="dialog">
5006  <div class="modal-dialog modal-sm">
5007    <div class="modal-content">
5008      <div class="modal-header">
5009        <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-x"><line x1="18" y1="6" x2="6" y2="18"></line><line x1="6" y1="6" x2="18" y2="18"></line></svg></span></button>
5010        <h4 class="modal-title">
5011          Share to user        </h4>
5012      </div>
5013      <form id="share_post_on_page_form" class="share_post_on_user_form" method="POST">
5014        <div class="modal-body">
5015          <div id="share_post_on_user_form_alert"></div>
5016          <div class="form-group input-group">
5017            <span class="input-group-addon pointer">
5018              <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-share" style="margin-top: -4px;width: 19px;height: 19px;"><path d="M4 12v8a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-8"></path><polyline points="16 6 12 2 8 6"></polyline><line x1="12" y1="2" x2="12" y2="15"></line></svg>
5019            </span>
5020            <input onkeydown="SearchFor(this,'user')" type="text" class="form-control" name="name" placeholder="Username">
5021            <input type="hidden" id="SearchForInputUser" name="user_id">
5022            <input type="hidden" id="SearchForInputUserPostId" name="post_id">
5023          </div>
5024        </div>
5025        <div class="modal-footer">
5026          <div class="ball-pulse"><div></div><div></div><div></div></div>
5027          <button id="share_post_on_user_form_btn" type="button" class="btn btn-main">
5028            Share          </button>
5029        </div>
5030      </form>
5031    </div>
5032  </div>
5033</div>
5034
5035
5036<div class="modal fade sun_modal" id="views-info-modal" role="dialog">
5037	<div class="modal-dialog">
5038		<div class="modal-content">
5039			<div class="modal-header">
5040				<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-x"><line x1="18" y1="6" x2="6" y2="18"></line><line x1="6" y1="6" x2="18" y2="18"></line></svg></span></button>
5041				<h4 class="modal-title"><span id="views_info_title"></span></h4>
5042			</div>
5043			<div class="modal-body">
5044				<div id="views_info" class="wo_react_ursrs_list"></div>
5045				<div class="clearfix"></div>
5046				<div id="views_info_load" style="display: none;">
5047					<div class="load-more views_info_load_ wo_react_ursrs_list_lod_mor">
5048						<button class="btn btn-default text-center views_info_load_more" data-type="" post-id="" table-type="" onclick="Wo_LoadViewsInfo(this);"><span id="load_more_info_btn">Load more</span>
5049						</button>
5050					</div>
5051				</div>
5052			</div>
5053		</div>
5054	</div>
5055</div>
5056
5057<div class="modal fade sun_modal" id="users-reacted-modal" role="dialog">
5058	<div class="modal-dialog">
5059		<div class="modal-content">
5060			<div class="modal-header">
5061				<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-x"><line x1="18" y1="6" x2="6" y2="18"></line><line x1="6" y1="6" x2="18" y2="18"></line></svg></span></button>
5062				<h4 class="modal-title">
5063					<div class="who_react_modal">
5064
5065                             <span class="how_reacted like-btn-like pointer" id="_post333" onclick="Wo_LoadReactedUsers(1);">
5066                                    <div class="inline_post_emoji no_anim"><div class="reaction"><img src="https://mabiab.com/upload/files/2022/09/EAufYfaIkYQEsYzwvZha_01_4bafb7db09656e1ecb54d195b26be5c3_file.svg"></div></div>
5067                                  </span>
5068                             <span class="how_reacted like-btn-like pointer" id="_post333" onclick="Wo_LoadReactedUsers(2);">
5069                                    <div class="inline_post_emoji no_anim"><div class="reaction"><img src="https://mabiab.com/upload/files/2022/09/2MRRkhb7rDhUNuClfOfc_01_76c3c700064cfaef049d0bb983655cd4_file.svg"></div></div>
5070                                  </span>
5071                             <span class="how_reacted like-btn-like pointer" id="_post333" onclick="Wo_LoadReactedUsers(3);">
5072                                    <div class="inline_post_emoji no_anim"><div class="reaction"><img src="https://mabiab.com/upload/files/2022/09/D91CP5YFfv74GVAbYtT7_01_288940ae12acf0198d590acbf11efae0_file.svg"></div></div>
5073                                  </span>
5074                             <span class="how_reacted like-btn-like pointer" id="_post333" onclick="Wo_LoadReactedUsers(4);">
5075                                    <div class="inline_post_emoji no_anim"><div class="reaction"><img src="https://mabiab.com/upload/files/2022/09/cFNOXZB1XeWRSdXXEdlx_01_7d9c4adcbe750bfc8e864c69cbed3daf_file.svg"></div></div>
5076                                  </span>
5077                             <span class="how_reacted like-btn-like pointer" id="_post333" onclick="Wo_LoadReactedUsers(5);">
5078                                    <div class="inline_post_emoji no_anim"><div class="reaction"><img src="https://mabiab.com/upload/files/2022/09/yKmDaNA7DpA7RkCRdoM6_01_eb391ca40102606b78fef1eb70ce3c0f_file.svg"></div></div>
5079                                  </span>
5080                             <span class="how_reacted like-btn-like pointer" id="_post333" onclick="Wo_LoadReactedUsers(6);">
5081                                    <div class="inline_post_emoji no_anim"><div class="reaction"><img src="https://mabiab.com/upload/files/2022/09/iZcVfFlay3gkABhEhtVC_01_771d67d0b8ae8720f7775be3a0cfb51a_file.svg"></div></div>
5082                                  </span>
5083            
5084
5085						<!-- <span class="how_reacted like-btn-like pointer" id="_post333" onclick="Wo_LoadReactedUsers('like');">
5086							<div class="inline_post_emoji inline_act_emoji no_anim"><div class="emoji emoji--like"><div class="emoji__hand"><div class="emoji__thumb"></div></div></div></div>
5087						</span>
5088						<span class="how_reacted like-btn-love pointer" id="_post333" onclick="Wo_LoadReactedUsers('love');">
5089							<div class="inline_post_emoji inline_act_emoji no_anim"><div class="emoji emoji--love"><div class="emoji__heart"></div></div></div>
5090						</span>
5091						<span class="how_reacted like-btn-haha pointer" id="_post333" onclick="Wo_LoadReactedUsers('haha');">
5092							<div class="inline_post_emoji inline_act_emoji no_anim"><div class="emoji emoji--haha"><div class="emoji__face"><div class="emoji__eyes"></div><div class="emoji__mouth"><div class="emoji__tongue"></div></div></div></div></div>
5093						</span>
5094						<span class="how_reacted like-btn-wow pointer" id="_post333" onclick="Wo_LoadReactedUsers('wow');">
5095							<div class="inline_post_emoji inline_act_emoji no_anim"><div class="emoji emoji--wow"><div class="emoji__face"><div class="emoji__eyebrows"></div><div class="emoji__eyes"></div><div class="emoji__mouth"></div></div></div></div>
5096						</span>
5097						<span class="how_reacted like-btn-sad pointer" id="_post333" onclick="Wo_LoadReactedUsers('sad');">
5098							<div class="inline_post_emoji inline_act_emoji no_anim"><div class="emoji emoji--sad"><div class="emoji__face"><div class="emoji__eyebrows"></div><div class="emoji__eyes"></div><div class="emoji__mouth"></div></div></div></div>
5099						</span>
5100						<span class="how_reacted like-btn-angry pointer" id="_post333" onclick="Wo_LoadReactedUsers('angry');">
5101							<div class="inline_post_emoji inline_act_emoji no_anim"><div class="emoji emoji--angry"><div class="emoji__face"><div class="emoji__eyebrows"></div><div class="emoji__eyes"></div><div class="emoji__mouth"></div></div></div></div>
5102						</span> -->
5103					</div>
5104				</h4>
5105			</div>
5106			<div class="modal-body">
5107				<div id="reacted_users_box" class="wo_react_ursrs_list"></div>
5108				<div class="clearfix"></div>
5109				<div id="reacted_users_load" style="display: none;">
5110					<div class="load-more wo_react_ursrs_list_lod_mor">
5111						<button class="btn btn-default text-center reacted_users_load_more" data-type="" post-id="" col-type="" onclick="Wo_LoadMoreReactedUsers(this);"><span id="load_more_reacted_btn">Load more</span>
5112						</button>
5113					</div>
5114				</div>
5115			</div>
5116		</div>
5117	</div>
5118</div>
5119
5120
5121<div class="modal fade in" id="approve_post" role="dialog">
5122	<div class="modal-dialog wow_mat_mdl">
5123		<div class="modal-content">
5124			<div class="empty_state" style="margin: 40px 0;"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M9,13A3,3 0 0,0 12,16A3,3 0 0,0 15,13A3,3 0 0,0 12,10A3,3 0 0,0 9,13M20,19.59V8L14,2H6A2,2 0 0,0 4,4V20A2,2 0 0,0 6,22H18C18.45,22 18.85,21.85 19.19,21.6L14.76,17.17C13.96,17.69 13,18 12,18A5,5 0 0,1 7,13A5,5 0 0,1 12,8A5,5 0 0,1 17,13C17,14 16.69,14.96 16.17,15.75L20,19.59Z" /></svg> </div>
5125		</div>
5126	</div>
5127</div>
5128
5129<div class="modal fade in" id="error_post" role="dialog">
5130    <div class="modal-dialog wow_mat_mdl">
5131    
5132      <div class="modal-content">
5133        <p class="wo_error_messages" id="error_post_text">
5134        </p>
5135      </div>
5136      
5137    </div>
5138</div>
5139
5140<div class="modal fade in" id="pro_upload_file" role="dialog">
5141    <div class="modal-dialog wow_mat_mdl">
5142    
5143      <div class="modal-content">
5144        <p class="wo_error_messages">
5145          <svg enable-background="new 0 0 64 64" height="512" viewBox="0 0 64 64" width="512" xmlns="http://www.w3.org/2000/svg"><g id="Icons"><g><g><path d="m32 58c-14.359 0-26-11.641-26-26 0-14.359 11.641-26 26-26 14.359 0 26 11.641 26 26 0 14.359-11.641 26-26 26z" fill="#fa6450"/></g><g><path d="m10 32c0-13.686 10.576-24.894 24-25.916-.661-.05-1.326-.084-2-.084-14.359 0-26 11.641-26 26 0 14.359 11.641 26 26 26 .674 0 1.339-.034 2-.084-13.424-1.022-24-12.23-24-25.916z" fill="#dc4632"/></g><g><path d="m32 38c-2.209 0-4-1.791-4-4v-16c0-2.209 1.791-4 4-4 2.209 0 4 1.791 4 4v16c0 2.209-1.791 4-4 4z" fill="#f0f0f0"/></g><g><path d="m32 50c-2.209 0-4-1.791-4-4 0-2.209 1.791-4 4-4 2.209 0 4 1.791 4 4 0 2.209-1.791 4-4 4z" fill="#f0f0f0"/></g></g></g></svg>
5146           <a href="https://mabiab.com/go-pro"></a>
5147        </p>
5148      </div>
5149      
5150    </div>
5151</div>
5152
5153<div class="modal fade sun_modal" id="edit-offer-modal" role="dialog">
5154<div class="modal-dialog">
5155      <div class="modal-content">
5156            <div class="modal-header">
5157                  <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-x"><line x1="18" y1="6" x2="6" y2="18"></line><line x1="6" y1="6" x2="18" y2="18"></line></svg></span></button>
5158                  <h4 class="modal-title"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-shopping-cart"><circle cx="9" cy="21" r="1"></circle><circle cx="20" cy="21" r="1"></circle><path d="M1 1h4l2.68 13.39a2 2 0 0 0 2 1.61h9.72a2 2 0 0 0 2-1.61L23 6H6"></path></svg> </h4>
5159            </div>
5160            <div class="modal-body">
5161                  <div class="wo_settings_page">
5162                        <form class="edit-offer-form form-horizontal" method="post">
5163                              <div class="app-offer-alert app-general-alert"></div>
5164                              <div class="clear"></div>
5165                              <div class="setting-panel row job-setting-panel edit_offer_modal_form">
5166                                    
5167
5168                              </div>
5169
5170                              <div class="publisher-hidden-option">
5171                                    <div id="progress" class="create-offer-progress">
5172                                          <span id="percent" class="create-product-percent pull-right">0%</span>
5173                                          <div class="progress">
5174                                                <div id="bar" class="progress-bar active create-product-bar"></div> 
5175                                          </div>
5176                                          <div class="clear"></div>
5177                                    </div>
5178                              </div>
5179
5180                              
5181                              <div class="form-group last-sett-btn modal-footer">
5182                                    <div class="ball-pulse"><div></div><div></div><div></div></div>
5183                                    <button type="submit" class="btn btn-main setting-panel-mdbtn">Publish</button>
5184                              </div>
5185                        </form>
5186                  </div>
5187            </div>
5188      </div>
5189</div>
5190</div>
5191
5192
5193
5194<div class="modal fade" id="add_tier_modal" role="dialog" data-keyboard="false" style="overflow-y: auto;">
5195  <div class="modal-dialog">
5196    <div class="modal-content">
5197      <div class="modal-header">
5198        <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-x"><line x1="18" y1="6" x2="6" y2="18"></line><line x1="6" y1="6" x2="18" y2="18"></line></svg></span></button>
5199        <h4 class="modal-title">Add tier</h4>
5200      </div>
5201      <form class="form form-horizontal tier_form" method="post" action="#">
5202        <div class="modal-body twocheckout_modal">
5203          <div class="modal_add_tier_modal_alert"></div>
5204          <div class="clear"></div>
5205          <div class="sun_input col-md-6">
5206            <input name="title" type="text" class="form-control input-md" autocomplete="off" placeholder="Tier title">
5207            <label class="plr15">Tier title</label>  
5208          </div>
5209          <div class="sun_input col-md-6">
5210            <input name="price" type="number" class="form-control input-md" autocomplete="off" placeholder="Tier price">
5211            <label class="plr15">Tier price</label>  
5212          </div>
5213          <div class=" col-lg-12">
5214            <label class="plr15">Benefits</label>
5215            <br>
5216            <input type="checkbox" name="benefits[]" value="chat" onclick="ShowBenefitsChat(this)">
5217            <label>Chat</label><br>
5218            <div class="add_benefits_chat" style="display: none;">
5219              <input type="radio" id="benefits_chat_1" name="chat" value="chat_without_audio_video">
5220              <label for="benefits_chat_1">Chat without audio and video call</label><br>
5221              <input type="radio" id="benefits_chat_2" name="chat" value="chat_with_audio_without_video">
5222              <label for="benefits_chat_2">Chat with audio call and without video call</label><br>  
5223              <input type="radio" id="benefits_chat_3" name="chat" value="chat_without_audio_with_video">
5224              <label for="benefits_chat_3">Chat without audio call and with video call</label><br>  
5225              <input type="radio" id="benefits_chat_4" name="chat" value="chat_with_audio_video">
5226              <label for="benefits_chat_4">Chat with audio and video call</label><br>
5227            </div>
5228            <input type="checkbox" name="benefits[]" value="live_stream">
5229            <label>Live Stream</label><br>
5230          </div>
5231          <div class="sun_input col-md-12">
5232            <textarea class="form-control input-md" placeholder="Tier description" name="description"></textarea>
5233            <label class="plr15">Tier description</label>  
5234          </div>
5235          <div class="clear"></div>
5236          <div class="form-group col-lg-12">
5237            <label class="col-md-12">Tier image:</label>  
5238            <div class="col-md-12">
5239              <div class="select_ev_covr" id="select_tier_image">
5240                <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M5,3A2,2 0 0,0 3,5V19A2,2 0 0,0 5,21H14.09C14.03,20.67 14,20.34 14,20C14,19.32 14.12,18.64 14.35,18H5L8.5,13.5L11,16.5L14.5,12L16.73,14.97C17.7,14.34 18.84,14 20,14C20.34,14 20.67,14.03 21,14.09V5C21,3.89 20.1,3 19,3H5M19,16V19H16V21H19V24H21V21H24V19H21V16H19Z" /></svg>
5241                Select an image    
5242              </div>
5243            </div>
5244          </div>
5245        </div>
5246        <input type="file" name="image" class="hidden" id="tier_image">
5247        <div class="clear"></div>
5248        <div class="modal-footer">
5249          <div class="ball-pulse"><div></div><div></div><div></div></div>
5250          <button type="submit" class="btn btn-main btn-mat">Add</button>
5251        </div>
5252      </form>
5253    </div>
5254  </div>
5255</div>
5256<div class="modal fade" id="delete-tier" tabindex="-1" role="dialog" aria-labelledby="delete-tier" aria-hidden="true" data-id="0">
5257  <div class="modal-dialog mat_box" role="document">
5258    <div class="modal-content">
5259      <div class="modal-header">
5260        <h5 class="modal-title"> Delete your tier</h5>
5261      </div>
5262      <div class="modal-body">
5263        Are you sure you want to delete this tier?      </div>  
5264      <div class="modal-footer">
5265        <button type="button" class="btn btn-default" data-dismiss="modal">Cancel</button>
5266        <button type="button" class="btn btn-danger btn-mat" data-dismiss="modal">Delete</button>
5267      </div>
5268    </div>
5269  </div>
5270</div>
5271<div class="modal fade sun_modal" id="show_product_reviews_modal" role="dialog">
5272	<div class="modal-dialog wow_mat_mdl">
5273		<div class="modal-content check_reviews">
5274			<div class="modal-header">
5275				<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-x"><line x1="18" y1="6" x2="6" y2="18"></line><line x1="6" y1="6" x2="18" y2="18"></line></svg></span></button>
5276				<h4 class="modal-title"></h4>
5277			</div>
5278			<div class="modal-body">
5279				<div id="show_product_reviews_modal_info" class="wo_react_ursrs_list"></div>
5280				<div class="clearfix"></div>
5281				<div id="show_product_reviews_modal_info_load" style="display: none;">
5282					<div class="load-more">
5283						<button class="btn btn-default text-center" data-type="" post-id="" table-type="" onclick="Wo_LoadReviews();"><span id="show_product_reviews_load_text">Load more</span></button>
5284					</div>
5285				</div>
5286			</div>
5287		</div>
5288	</div>
5289</div>
5290   </body>
5291</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.