Floating Chat Widget: Contact Chat Icons, Telegram Chat, Line, WeChat, Email, SMS, Call Button – Chaty - Version 2.1.1

Version Description

  • Instagram, Twitter, Linkedin, and second custom channel
Download this release

Release Info

Developer galdub
Plugin Icon wp plugin Floating Chat Widget: Contact Chat Icons, Telegram Chat, Line, WeChat, Email, SMS, Call Button – Chaty
Version 2.1.1
Comparing to
See all releases

Code changes from version 2.1 to 2.1.1

admin/class-admin-base.php CHANGED
@@ -1,585 +1,585 @@
1
- <?php
2
- namespace CHT\admin;
3
-
4
- use CHT\includes\CHT_Widget;
5
- /**
6
- * Class CHT_Admin_Base
7
- * @since 1.0
8
- */
9
-
10
- require 'class-social-icons.php';
11
-
12
- class CHT_Admin_Base
13
- {
14
- public $page;
15
- public $socials;
16
- public $colors;
17
- protected $token;
18
- protected static $response = null;
19
- protected static $checked_token = false;
20
- protected $upgrade_slug;
21
-
22
-
23
- public function __construct()
24
- {
25
- $plugin = CHT_Widget::get_instance();
26
- $this->plugin_slug = $plugin->get_plugin_slug();
27
- $this->friendly_name = $plugin->get_name();
28
- $this->socials = CHT_Social_Icons::get_instance()->get_icons_list();
29
- $this->colors = CHT_Social_Icons::get_instance()->get_colors();
30
- $this->token = $this->get_token();
31
- $this->upgrade_slug = $this->plugin_slug.'-upgrade';
32
-
33
- if ( is_admin() ) { // admin actions
34
- add_action('admin_menu', array($this, 'cht_admin_setting_page'));
35
- // Adds all of the options for the administrative settings
36
- add_action('admin_init', array($this, 'cht_register_inputs'));
37
- add_action('admin_head', array($this, 'cht_inline_css_admin'));
38
- add_action('init', array($this, 'check_page_available'));
39
- }
40
- add_action('updated_option', array($this, 'cht_clear_all_caches'));
41
-
42
- /* Send message to owner */
43
- add_action( 'wp_ajax_wcp_admin_send_message_to_owner', array( $this, 'wcp_admin_send_message_to_owner' ) );
44
-
45
- /* ADD Upgrade link to plugin */
46
- add_filter( 'plugin_action_links_' . CHT_PLUGIN_BASE, [ $this, 'plugin_action_links' ] );
47
-
48
- add_action( 'admin_footer', array( $this, 'add_deactivate_modal' ) );
49
- add_action( 'wp_ajax_chaty_plugin_deactivate', array( $this, 'chaty_plugin_deactivate' ) );
50
- }
51
-
52
- public function chaty_plugin_deactivate() {
53
- global $current_user;
54
- $postData = $_POST;
55
- $errorCounter = 0;
56
- $response = array();
57
- $response['status'] = 0;
58
- $response['message'] = "";
59
- $response['valid'] = 1;
60
- if(!isset($postData['reason']) || empty($postData['reason'])) {
61
- $errorCounter++;
62
- $response['message'] = "Please provide reason";
63
- } else if (!isset($postData['nonce']) || empty($postData['nonce'])) {
64
- $response['message'] = __("Your request is not valid", CHT_OPT);
65
- $errorCounter++;
66
- $response['valid'] = 0;
67
- } else {
68
- $nonce = self::chaty_sanitize_options($postData['nonce']);
69
- if(!wp_verify_nonce($nonce, 'chaty_deactivate_nonce')) {
70
- $response['message'] = __("Your request is not valid", CHT_OPT);
71
- $errorCounter++;
72
- $response['valid'] = 0;
73
- }
74
- }
75
- if($errorCounter == 0) {
76
- global $current_user;
77
- $postData = $_POST;
78
- $email = get_option('admin_email');
79
- $domain = site_url();
80
- $user_name = $current_user->first_name . " " . $current_user->last_name;
81
- $subject = "Chaty was removed from {$domain}";
82
- $headers = "MIME-Version: 1.0\r\n";
83
- $headers .= "Content-Type: text/html; charset=UTF-8\r\n";
84
- $headers .= 'From: ' . $user_name . ' <' . $email . '>' . PHP_EOL;
85
- $headers .= 'Reply-To: ' . $user_name . ' <' . $email . '>' . PHP_EOL;
86
- $headers .= 'X-Mailer: PHP/' . phpversion();
87
- ob_start();
88
- ?>
89
- <table border="0" cellspacing="0" cellpadding="5">
90
- <tr>
91
- <th>Plugin</th>
92
- <td>Chaty</td>
93
- </tr>
94
- <tr>
95
- <th>Plugin Version</th>
96
- <td><?php echo CHT_CURRENT_VERSION ?></td>
97
- </tr>
98
- <tr>
99
- <th>Domain</th>
100
- <td><?php echo $domain ?></td>
101
- </tr>
102
- <tr>
103
- <th>Email</th>
104
- <td><?php echo $email ?></td>
105
- </tr>
106
- <tr>
107
- <th>Reason</th>
108
- <td><?php echo nl2br($postData['reason']) ?></td>
109
- </tr>
110
- <tr>
111
- <th>WordPress Version</th>
112
- <td><?php echo get_bloginfo('version') ?></td>
113
- </tr>
114
- <tr>
115
- <th>PHP Version</th>
116
- <td><?php echo PHP_VERSION ?></td>
117
- </tr>
118
- </table>
119
- <?php
120
- $content = ob_get_clean();
121
- $to = "contact+removed@premio.io";
122
- wp_mail($to, $subject, $content, $headers);
123
- $response['status'] = 1;
124
- }
125
- echo json_encode($response);
126
- die;
127
- }
128
-
129
- public function add_deactivate_modal() {
130
- global $pagenow;
131
-
132
- if ( 'plugins.php' !== $pagenow ) {
133
- return;
134
- }
135
-
136
- include CHT_DIR . '/views/modals/chaty-deactivate-form.php';
137
- }
138
-
139
- public function plugin_action_links( $links ) {
140
- $links['go_pro'] = '<a href="'.CHT_PRO_URL.'" class="chaty-plugins-gopro">'.__( 'Upgrade', 'stars-testimonials' ).'</a>';
141
-
142
- wp_register_style( 'chaty-admin-custom-style', CHT_PLUGIN_URL.'/assets/css/admin-cht-style.css');
143
- wp_enqueue_style( 'chaty-admin-custom-style' );
144
-
145
- return $links;
146
- }
147
-
148
- public function wcp_admin_send_message_to_owner() {
149
- $response = array();
150
- $response['status'] = 0;
151
- $response['error'] = 0;
152
- $response['errors'] = array();
153
- $response['message'] = "";
154
- $errorArray = [];
155
- $errorMessage = __("%s is required", CHT_OPT);
156
- $postData = $_POST;
157
- if(!isset($postData['textarea_text']) || trim($postData['textarea_text']) == "") {
158
- $error = array(
159
- "key" => "textarea_text",
160
- "message" => __("Please enter your message","wcp")
161
- );
162
- $errorArray[] = $error;
163
- }
164
- if(!isset($postData['user_email']) || trim($postData['user_email']) == "") {
165
- $error = array(
166
- "key" => "user_email",
167
- "message" => sprintf($errorMessage,__("Email","wcp"))
168
- );
169
- $errorArray[] = $error;
170
- } else if(!filter_var($postData['user_email'], FILTER_VALIDATE_EMAIL)) {
171
- $error = array(
172
- 'key' => "user_email",
173
- "message" => "Email is not valid"
174
- );
175
- $errorArray[] = $error;
176
- }
177
- if(empty($errorArray)) {
178
- if(!isset($_REQUEST['nonce']) || empty($_REQUEST['nonce'])) {
179
- $error = array(
180
- 'key' => "nonce",
181
- "message" => "Your request is not valid"
182
- );
183
- $errorArray[] = $error;
184
- } else if(!wp_verify_nonce($_REQUEST['nonce'], "chaty_send_message_to_owner")) {
185
- $error = array(
186
- 'key' => "nonce",
187
- "message" => "Your request is not valid"
188
- );
189
- $errorArray[] = $error;
190
- }
191
- }
192
- if(empty($errorArray)) {
193
- global $current_user;
194
- $text_message = $postData['textarea_text'];
195
- $email = $postData['user_email'];
196
- $domain = site_url();
197
- $user_name = $current_user->first_name." ".$current_user->last_name;
198
- $subject = "Chaty request: ".$domain;
199
- $headers = "MIME-Version: 1.0\r\n";
200
- $headers .= "Content-Type: text/html; charset=UTF-8\r\n";
201
- $headers .= 'From: '.$user_name.' <'.$email.'>'.PHP_EOL ;
202
- $headers .= 'Reply-To: '.$user_name.' <'.$email.'>'.PHP_EOL ;
203
- $headers .= 'X-Mailer: PHP/' . phpversion();
204
- ob_start();
205
- ?>
206
- <table border="0" cellspacing="0" cellpadding="5">
207
- <tr>
208
- <th>Domain</th>
209
- <td><?php echo $domain ?></td>
210
- </tr>
211
- <tr>
212
- <th>Email</th>
213
- <td><?php echo $email ?></td>
214
- </tr>
215
- <tr>
216
- <th>Message</th>
217
- <td><?php echo nl2br($text_message) ?></td>
218
- </tr>
219
- </table>
220
- <?php
221
- $message = ob_get_clean();
222
- $to = "contact+fromwp@premio.io";
223
- $status = wp_mail($to, $subject, $message, $headers);
224
- if($status) {
225
- $response['status'] = 1;
226
- } else {
227
- $response['status'] = 0;
228
- $response['message'] = "Not able to send mail";
229
- }
230
- } else {
231
- $response['error'] = 1;
232
- $response['errors'] = $errorArray;
233
- }
234
- echo json_encode($response);
235
- }
236
-
237
- public function del_space($text){
238
- return str_replace('_',' ',$text);
239
- }
240
-
241
- public function cht_inline_css_admin(){
242
- echo '<style>
243
- #toplevel_page_chaty-app img:hover, #toplevel_page_chaty-app img {
244
- opacity: 0 !important;
245
- }
246
- #toplevel_page_chaty-app:hover .dashicons-before{
247
- background-color: #00b9eb;
248
- }
249
- #toplevel_page_chaty-app .dashicons-before{
250
- background-color: #A0A3A8;
251
- -webkit-mask: url('.plugins_url( '../icon/chaty.svg' , __FILE__).') no-repeat center;
252
- mask: url('.plugins_url( '../icon/chaty.svg' , __FILE__).') no-repeat center;
253
- }
254
- .current#toplevel_page_chaty-app .dashicons-before{
255
- background-color: #fff;
256
- }
257
-
258
- </style> ';
259
- }
260
-
261
- public function enqueue_styles()
262
- {
263
- $query_args = array(
264
- 'family' => 'Rubik:400,700|Oswald:400,600',
265
- 'subset' => 'latin,latin-ext'
266
- );
267
- wp_enqueue_style( 'google_fonts', add_query_arg( $query_args, "//fonts.googleapis.com/css" ), array(), null );
268
- wp_enqueue_style( $this->plugin_slug, plugins_url('../assets/css/cht-style.css', __FILE__), array(), CHT_VERSION);
269
- }
270
-
271
- public function enqueue_scripts()
272
- {
273
-
274
- wp_enqueue_script( $this->plugin_slug . '-jq-ui', 'https://ajax.googleapis.com/ajax/libs/jqueryui/1.11.3/jquery-ui.min.js');
275
- wp_enqueue_script( $this->plugin_slug .'fileinput', plugins_url('../assets/js/fileinput.min.js', __FILE__), array( 'jquery' ), CHT_VERSION);
276
- wp_enqueue_script( $this->plugin_slug .'pop', plugins_url('../assets/js/popper.min.js', __FILE__), array( 'jquery' ), CHT_VERSION);
277
- wp_enqueue_script( $this->plugin_slug, plugins_url('../assets/js/cht-scripts.min.js', __FILE__), array('jquery', 'wp-color-picker', 'jquery-ui-draggable', 'jquery-ui-droppable', 'jquery-ui-sortable'), CHT_VERSION);
278
- // wp_enqueue_script( $this->plugin_slug, plugins_url('../assets/js/cht-scripts.js', __FILE__), array( 'jquery' ), CHT_VERSION);
279
- wp_enqueue_script( $this->plugin_slug.'stick', plugins_url('../assets/js/jquery.sticky.js', __FILE__), array( 'jquery' ), CHT_VERSION);
280
- wp_localize_script($this->plugin_slug.'stick', 'cht_nonce_ajax',
281
- array(
282
- 'cht_nonce' => wp_create_nonce('cht_nonce_ajax')
283
- )
284
- );
285
- }
286
-
287
- public function cht_admin_setting_page() {
288
- if (current_user_can('manage_options')){
289
- $this->page = add_menu_page(
290
- __('Chaty', CHT_OPT),
291
- __('Chaty', CHT_OPT),
292
- 'manage_options',
293
- $this->plugin_slug,
294
- array($this, 'display_cht_admin_page'),
295
- plugins_url( 'chaty/icon/chaty.svg' )
296
- );
297
-
298
- add_submenu_page(
299
- $this->plugin_slug,
300
- __('Settings', CHT_OPT),
301
- __('Settings', CHT_OPT),
302
- 'manage_options',
303
- $this->plugin_slug,
304
- array($this, 'display_cht_admin_page')
305
- );
306
-
307
- $upgrade_page = add_submenu_page(
308
- $this->plugin_slug,
309
- __('Upgrade to Pro', CHT_OPT),
310
- __('Upgrade to Pro', CHT_OPT),
311
- 'manage_options',
312
- $this->upgrade_slug,
313
- array($this, 'display_cht_admin_upgrade_page')
314
- );
315
- add_action( 'admin_print_styles-' . $upgrade_page, array( $this, 'enqueue_styles' ) );
316
- }
317
- // Load public-facing style sheet and JavaScript.
318
- add_action( 'admin_print_styles-' . $this->page, array( $this, 'enqueue_styles' ) );
319
- add_action( 'admin_print_scripts-' . $this->page, array( $this, 'enqueue_scripts' ) );
320
- }
321
-
322
- public function check_page_available() {
323
-
324
- }
325
-
326
- public function getUpgradeMenuItemUrl() {
327
- return CHT_PRO_URL;
328
- }
329
-
330
-
331
- public function display_cht_admin_page() {
332
- include_once CHT_DIR . '/views/admin.php';
333
- }
334
-
335
- public function display_cht_admin_upgrade_page() {
336
- include_once CHT_DIR . '/views/upgrade.php';
337
- }
338
-
339
- protected function get_token()
340
- {
341
- return get_option('cht_license_key');
342
- }
343
- // this site domain
344
- public function get_site(){
345
- $permalink = get_home_url();
346
- return $permalink;
347
- }
348
- public function is_pro($token = '')
349
- {
350
- if ($token === '') {
351
- $token = $this->get_token();
352
- }
353
- return false;
354
- }
355
-
356
- public function data_has_expired()
357
- {
358
- return strtotime(date('Y-m-d')) > strtotime(date('Y-m-d', strtotime($this->data_activ())));
359
- }
360
-
361
- public function data_activ(){
362
- if (!$this->is_pro()) return;
363
- $body = null;
364
- if(empty(self::$response->errors)){
365
- $body = json_decode(self::$response['body']);
366
- }
367
- if (isset($body->expired_date)) return $body->expired_date->date;
368
- }
369
- public function data_check(){
370
- if ($this->is_pro()) {
371
- return false;
372
- };
373
- }
374
- public function get_current_color()
375
- {
376
- $def_color = get_option('cht_color');
377
- $custom_color = get_option('cht_custom_color');
378
- if (!$def_color) {
379
- $color = $custom_color;
380
- } else {
381
- $color = $def_color;
382
- }
383
-
384
- $color = strtoupper($color);
385
- return $color;
386
- }
387
-
388
- public function get_position_style()
389
- {
390
- $position = get_option('cht_position');
391
-
392
- if ($position === 'custom') {
393
- $pos_side = get_option('positionSide');
394
- $bot = (get_option('cht_bottom_spacing')) ? get_option('cht_bottom_spacing') : '25';
395
- $side = (get_option('cht_side_spacing')) ? get_option('cht_side_spacing') : '25';
396
- if ($pos_side === 'right') {
397
- $pos_style = 'left: auto; bottom: ' . $bot . 'px; right: ' . $side . 'px';
398
- } else {
399
- $pos_style = 'left: ' . $side . 'px; bottom: ' . $bot . 'px; right: auto';
400
- }
401
- } elseif ($position === 'right') {
402
- $pos_style = 'left: auto; bottom: 25px; right: 25px';
403
- } else {
404
- $pos_style = 'left: 25px; bottom: 25px; right: auto';
405
- }
406
-
407
- return $pos_style ;
408
- }
409
-
410
- public function cht_clear_all_caches()
411
- {
412
- global $wp_fastest_cache;
413
- // if W3 Total Cache is being used, clear the cache
414
- if (function_exists('w3tc_flush_all')) {
415
- w3tc_flush_all();
416
- /* if WP Super Cache is being used, clear the cache */
417
- } else if (function_exists('wp_cache_clean_cache')) {
418
- global $file_prefix, $supercachedir;
419
- if (empty($supercachedir) && function_exists('get_supercache_dir')) {
420
- $supercachedir = get_supercache_dir();
421
- }
422
- wp_cache_clean_cache($file_prefix);
423
- } else if (class_exists('WpeCommon')) {
424
- //be extra careful, just in case 3rd party changes things on us
425
- if (method_exists('WpeCommon', 'purge_memcached')) {
426
- WpeCommon::purge_memcached();
427
- }
428
- if (method_exists('WpeCommon', 'clear_maxcdn_cache')) {
429
- WpeCommon::clear_maxcdn_cache();
430
- }
431
- if (method_exists('WpeCommon', 'purge_varnish_cache')) {
432
- WpeCommon::purge_varnish_cache();
433
- }
434
- } else if (method_exists('WpFastestCache', 'deleteCache') && !empty($wp_fastest_cache)) {
435
- $wp_fastest_cache->deleteCache();
436
- } else if (function_exists( 'rocket_clean_domain' )) {
437
- rocket_clean_domain();
438
- // Preload cache.
439
- if ( function_exists( 'run_rocket_sitemap_preload' ) ) {
440
- run_rocket_sitemap_preload();
441
- }
442
- }
443
- }
444
-
445
- public static function chaty_sanitize_options($value) {
446
- $value = stripslashes($value);
447
- $value = filter_var($value, FILTER_SANITIZE_STRING);
448
- return $value;
449
- }
450
-
451
- public function cht_register_inputs()
452
- {
453
- /**
454
- * Adding settings fields
455
- */
456
- // Section One
457
- foreach ($this->socials as $social) {
458
- add_settings_field(
459
- 'cht_social_' . $social['slug'],
460
- ucfirst($social['slug']),
461
- '',
462
- $this->plugin_slug
463
- );
464
- }
465
-
466
- // Section Two
467
- add_settings_field('cht_devices', 'Devices', '', $this->plugin_slug);
468
- add_settings_field('cht_color', 'Color', '', $this->plugin_slug);
469
- add_settings_field('cht_custom_color', 'Color', '', $this->plugin_slug);
470
- add_settings_field('cht_position', 'Position', '', $this->plugin_slug);
471
- add_settings_field('positionSide', 'PositionSide', '', $this->plugin_slug);
472
- add_settings_field('cht_bottom_spacing', 'Bottom spacing', '', $this->plugin_slug);
473
- add_settings_field('cht_side_spacing', 'Side spacing', '', $this->plugin_slug);
474
- add_settings_field('cht_cta', 'CTA', '', $this->plugin_slug);
475
- add_settings_field('cht_credit', 'Credit', '', $this->plugin_slug);
476
- add_settings_field('cht_cta_switcher', 'CTA switcher', '', $this->plugin_slug);
477
-
478
- // section three
479
- add_settings_field('cht_active', 'Active', '', $this->plugin_slug);
480
-
481
- // token
482
- add_settings_field('cht_license_key', 'Token', '', $this->plugin_slug);
483
-
484
- // slug
485
- add_settings_field('cht_numb_slug', 'Numb', '', $this->plugin_slug);
486
-
487
- /**
488
- * Registering settings fields
489
- */
490
-
491
- /*check for nonce*/
492
- if(isset($_REQUEST['nonce']) && !empty($_REQUEST['nonce']) && wp_verify_nonce($_REQUEST['nonce'], "chaty_plugin_nonce")) {
493
-
494
- // register field section one
495
- foreach ($this->socials as $social) {
496
- register_setting($this->plugin_slug, 'cht_social_' . $social['slug']);
497
- }
498
-
499
- // register field section two
500
- register_setting($this->plugin_slug, 'cht_devices', 'chaty_sanitize_options');
501
- register_setting($this->plugin_slug, 'cht_color', 'chaty_sanitize_options');
502
- register_setting($this->plugin_slug, 'cht_custom_color', 'chaty_sanitize_options');
503
- register_setting($this->plugin_slug, 'cht_position', 'chaty_sanitize_options');
504
- register_setting($this->plugin_slug, 'positionSide', 'chaty_sanitize_options');
505
- register_setting($this->plugin_slug, 'cht_bottom_spacing', 'chaty_sanitize_options');
506
- register_setting($this->plugin_slug, 'cht_side_spacing', 'chaty_sanitize_options');
507
- register_setting($this->plugin_slug, 'cht_cta', 'chaty_sanitize_options');
508
- register_setting($this->plugin_slug, 'cht_credit', 'chaty_sanitize_options');
509
- register_setting($this->plugin_slug, 'cht_cta_switcher', 'chaty_sanitize_options');
510
- register_setting($this->plugin_slug, 'cht_widget_size', 'chaty_sanitize_options');
511
- register_setting($this->plugin_slug, 'cht_widget_img', 'chaty_sanitize_options');
512
- register_setting($this->plugin_slug, 'widget_icon', 'chaty_sanitize_options');
513
- add_action('pre_update_option_cht_widget_img', array($this, 'uploadCustomWidget'), 10, 3);
514
-
515
- // register field section three
516
- register_setting($this->plugin_slug, 'cht_active', 'chaty_sanitize_options');
517
-
518
- // register field section token
519
- register_setting($this->plugin_slug, 'cht_license_key', 'chaty_sanitize_options');
520
-
521
- // register field section slug
522
- register_setting($this->plugin_slug, 'cht_numb_slug', 'chaty_sanitize_options');
523
- }
524
- }
525
-
526
- public function device(){
527
- return'desktop_active mobile_active';
528
- if( isset(get_option('cht_devices')['desktop']) && isset(get_option('cht_devices')['mobile'])){
529
- return'desktop_active mobile_active';
530
- }else if( isset(get_option('cht_devices')['mobile'])){
531
- return 'mobile_active';
532
- }else if(isset(get_option('cht_devices')['desktop'])){
533
- return 'desktop_active';
534
- }else{
535
- return 'none';
536
- }
537
- }
538
-
539
- public function getCustomWidgetImg()
540
- {
541
- $value = get_option('cht_widget_img');
542
- return isset($value['url']) ? $value['url'] : '';
543
- }
544
-
545
- public function uploadCustomWidget($value, $old_value, $option)
546
- {
547
- $option = !empty($option) ? $option : 'cht_widget_img';
548
- $allowed_ext = ['jpeg', 'png', 'jpg' ,'svg'];
549
- if ( ! function_exists( 'wp_handle_upload' ) )
550
- require_once( ABSPATH . 'wp-admin/includes/file.php' );
551
-
552
- $file = &$_FILES[$option];
553
- $type = wp_check_filetype($file['name']);
554
-
555
- if (!in_array($type['ext'], $allowed_ext)) {
556
- return $old_value;
557
- }
558
-
559
- if (isset($old_value['file'])) {
560
- wp_delete_file($old_value['file']);
561
- }
562
-
563
- $overrides = array( 'test_form' => false );
564
- $movefile = wp_handle_upload( $file, $overrides );
565
- if ( $movefile && empty($movefile['error']) ) {
566
- return array(
567
- 'file' => $movefile['file'],
568
- 'url' => $movefile['url']
569
- );
570
- }
571
- return '';
572
- }
573
-
574
- public function getCallToAction()
575
- {
576
- if(get_option('cht_cta')){
577
- $res = nl2br(get_option('cht_cta'));
578
- $res = str_replace(array("\n", "\r"), "", $res);
579
- return $res;
580
- }
581
- return '';
582
- }
583
- }
584
-
585
- new CHT_Admin_Base();
1
+ <?php
2
+ namespace CHT\admin;
3
+
4
+ use CHT\includes\CHT_Widget;
5
+ /**
6
+ * Class CHT_Admin_Base
7
+ * @since 1.0
8
+ */
9
+
10
+ require 'class-social-icons.php';
11
+
12
+ class CHT_Admin_Base
13
+ {
14
+ public $page;
15
+ public $socials;
16
+ public $colors;
17
+ protected $token;
18
+ protected static $response = null;
19
+ protected static $checked_token = false;
20
+ protected $upgrade_slug;
21
+
22
+
23
+ public function __construct()
24
+ {
25
+ $plugin = CHT_Widget::get_instance();
26
+ $this->plugin_slug = $plugin->get_plugin_slug();
27
+ $this->friendly_name = $plugin->get_name();
28
+ $this->socials = CHT_Social_Icons::get_instance()->get_icons_list();
29
+ $this->colors = CHT_Social_Icons::get_instance()->get_colors();
30
+ $this->token = $this->get_token();
31
+ $this->upgrade_slug = $this->plugin_slug.'-upgrade';
32
+
33
+ if ( is_admin() ) { // admin actions
34
+ add_action('admin_menu', array($this, 'cht_admin_setting_page'));
35
+ // Adds all of the options for the administrative settings
36
+ add_action('admin_init', array($this, 'cht_register_inputs'));
37
+ add_action('admin_head', array($this, 'cht_inline_css_admin'));
38
+ add_action('init', array($this, 'check_page_available'));
39
+ }
40
+ add_action('updated_option', array($this, 'cht_clear_all_caches'));
41
+
42
+ /* Send message to owner */
43
+ add_action( 'wp_ajax_wcp_admin_send_message_to_owner', array( $this, 'wcp_admin_send_message_to_owner' ) );
44
+
45
+ /* ADD Upgrade link to plugin */
46
+ add_filter( 'plugin_action_links_' . CHT_PLUGIN_BASE, [ $this, 'plugin_action_links' ] );
47
+
48
+ add_action( 'admin_footer', array( $this, 'add_deactivate_modal' ) );
49
+ add_action( 'wp_ajax_chaty_plugin_deactivate', array( $this, 'chaty_plugin_deactivate' ) );
50
+ }
51
+
52
+ public function chaty_plugin_deactivate() {
53
+ global $current_user;
54
+ $postData = $_POST;
55
+ $errorCounter = 0;
56
+ $response = array();
57
+ $response['status'] = 0;
58
+ $response['message'] = "";
59
+ $response['valid'] = 1;
60
+ if(!isset($postData['reason']) || empty($postData['reason'])) {
61
+ $errorCounter++;
62
+ $response['message'] = "Please provide reason";
63
+ } else if (!isset($postData['nonce']) || empty($postData['nonce'])) {
64
+ $response['message'] = __("Your request is not valid", CHT_OPT);
65
+ $errorCounter++;
66
+ $response['valid'] = 0;
67
+ } else {
68
+ $nonce = self::chaty_sanitize_options($postData['nonce']);
69
+ if(!wp_verify_nonce($nonce, 'chaty_deactivate_nonce')) {
70
+ $response['message'] = __("Your request is not valid", CHT_OPT);
71
+ $errorCounter++;
72
+ $response['valid'] = 0;
73
+ }
74
+ }
75
+ if($errorCounter == 0) {
76
+ global $current_user;
77
+ $postData = $_POST;
78
+ $email = get_option('admin_email');
79
+ $domain = site_url();
80
+ $user_name = $current_user->first_name . " " . $current_user->last_name;
81
+ $subject = "Chaty was removed from {$domain}";
82
+ $headers = "MIME-Version: 1.0\r\n";
83
+ $headers .= "Content-Type: text/html; charset=UTF-8\r\n";
84
+ $headers .= 'From: ' . $user_name . ' <' . $email . '>' . PHP_EOL;
85
+ $headers .= 'Reply-To: ' . $user_name . ' <' . $email . '>' . PHP_EOL;
86
+ $headers .= 'X-Mailer: PHP/' . phpversion();
87
+ ob_start();
88
+ ?>
89
+ <table border="0" cellspacing="0" cellpadding="5">
90
+ <tr>
91
+ <th>Plugin</th>
92
+ <td>Chaty</td>
93
+ </tr>
94
+ <tr>
95
+ <th>Plugin Version</th>
96
+ <td><?php echo CHT_CURRENT_VERSION ?></td>
97
+ </tr>
98
+ <tr>
99
+ <th>Domain</th>
100
+ <td><?php echo $domain ?></td>
101
+ </tr>
102
+ <tr>
103
+ <th>Email</th>
104
+ <td><?php echo $email ?></td>
105
+ </tr>
106
+ <tr>
107
+ <th>Reason</th>
108
+ <td><?php echo nl2br($postData['reason']) ?></td>
109
+ </tr>
110
+ <tr>
111
+ <th>WordPress Version</th>
112
+ <td><?php echo get_bloginfo('version') ?></td>
113
+ </tr>
114
+ <tr>
115
+ <th>PHP Version</th>
116
+ <td><?php echo PHP_VERSION ?></td>
117
+ </tr>
118
+ </table>
119
+ <?php
120
+ $content = ob_get_clean();
121
+ $to = "contact+removed@premio.io";
122
+ wp_mail($to, $subject, $content, $headers);
123
+ $response['status'] = 1;
124
+ }
125
+ echo json_encode($response);
126
+ die;
127
+ }
128
+
129
+ public function add_deactivate_modal() {
130
+ global $pagenow;
131
+
132
+ if ( 'plugins.php' !== $pagenow ) {
133
+ return;
134
+ }
135
+
136
+ include CHT_DIR . '/views/modals/chaty-deactivate-form.php';
137
+ }
138
+
139
+ public function plugin_action_links( $links ) {
140
+ $links['go_pro'] = '<a href="'.CHT_PRO_URL.'" class="chaty-plugins-gopro">'.__( 'Upgrade', 'stars-testimonials' ).'</a>';
141
+
142
+ wp_register_style( 'chaty-admin-custom-style', CHT_PLUGIN_URL.'/assets/css/admin-cht-style.css');
143
+ wp_enqueue_style( 'chaty-admin-custom-style' );
144
+
145
+ return $links;
146
+ }
147
+
148
+ public function wcp_admin_send_message_to_owner() {
149
+ $response = array();
150
+ $response['status'] = 0;
151
+ $response['error'] = 0;
152
+ $response['errors'] = array();
153
+ $response['message'] = "";
154
+ $errorArray = [];
155
+ $errorMessage = __("%s is required", CHT_OPT);
156
+ $postData = $_POST;
157
+ if(!isset($postData['textarea_text']) || trim($postData['textarea_text']) == "") {
158
+ $error = array(
159
+ "key" => "textarea_text",
160
+ "message" => __("Please enter your message","wcp")
161
+ );
162
+ $errorArray[] = $error;
163
+ }
164
+ if(!isset($postData['user_email']) || trim($postData['user_email']) == "") {
165
+ $error = array(
166
+ "key" => "user_email",
167
+ "message" => sprintf($errorMessage,__("Email","wcp"))
168
+ );
169
+ $errorArray[] = $error;
170
+ } else if(!filter_var($postData['user_email'], FILTER_VALIDATE_EMAIL)) {
171
+ $error = array(
172
+ 'key' => "user_email",
173
+ "message" => "Email is not valid"
174
+ );
175
+ $errorArray[] = $error;
176
+ }
177
+ if(empty($errorArray)) {
178
+ if(!isset($_REQUEST['nonce']) || empty($_REQUEST['nonce'])) {
179
+ $error = array(
180
+ 'key' => "nonce",
181
+ "message" => "Your request is not valid"
182
+ );
183
+ $errorArray[] = $error;
184
+ } else if(!wp_verify_nonce($_REQUEST['nonce'], "chaty_send_message_to_owner")) {
185
+ $error = array(
186
+ 'key' => "nonce",
187
+ "message" => "Your request is not valid"
188
+ );
189
+ $errorArray[] = $error;
190
+ }
191
+ }
192
+ if(empty($errorArray)) {
193
+ global $current_user;
194
+ $text_message = $postData['textarea_text'];
195
+ $email = $postData['user_email'];
196
+ $domain = site_url();
197
+ $user_name = $current_user->first_name." ".$current_user->last_name;
198
+ $subject = "Chaty request: ".$domain;
199
+ $headers = "MIME-Version: 1.0\r\n";
200
+ $headers .= "Content-Type: text/html; charset=UTF-8\r\n";
201
+ $headers .= 'From: '.$user_name.' <'.$email.'>'.PHP_EOL ;
202
+ $headers .= 'Reply-To: '.$user_name.' <'.$email.'>'.PHP_EOL ;
203
+ $headers .= 'X-Mailer: PHP/' . phpversion();
204
+ ob_start();
205
+ ?>
206
+ <table border="0" cellspacing="0" cellpadding="5">
207
+ <tr>
208
+ <th>Domain</th>
209
+ <td><?php echo $domain ?></td>
210
+ </tr>
211
+ <tr>
212
+ <th>Email</th>
213
+ <td><?php echo $email ?></td>
214
+ </tr>
215
+ <tr>
216
+ <th>Message</th>
217
+ <td><?php echo nl2br($text_message) ?></td>
218
+ </tr>
219
+ </table>
220
+ <?php
221
+ $message = ob_get_clean();
222
+ $to = "contact+fromwp@premio.io";
223
+ $status = wp_mail($to, $subject, $message, $headers);
224
+ if($status) {
225
+ $response['status'] = 1;
226
+ } else {
227
+ $response['status'] = 0;
228
+ $response['message'] = "Not able to send mail";
229
+ }
230
+ } else {
231
+ $response['error'] = 1;
232
+ $response['errors'] = $errorArray;
233
+ }
234
+ echo json_encode($response);
235
+ }
236
+
237
+ public function del_space($text){
238
+ return str_replace('_',' ',$text);
239
+ }
240
+
241
+ public function cht_inline_css_admin(){
242
+ echo '<style>
243
+ #toplevel_page_chaty-app img:hover, #toplevel_page_chaty-app img {
244
+ opacity: 0 !important;
245
+ }
246
+ #toplevel_page_chaty-app:hover .dashicons-before{
247
+ background-color: #00b9eb;
248
+ }
249
+ #toplevel_page_chaty-app .dashicons-before{
250
+ background-color: #A0A3A8;
251
+ -webkit-mask: url('.plugins_url( '../icon/chaty.svg' , __FILE__).') no-repeat center;
252
+ mask: url('.plugins_url( '../icon/chaty.svg' , __FILE__).') no-repeat center;
253
+ }
254
+ .current#toplevel_page_chaty-app .dashicons-before{
255
+ background-color: #fff;
256
+ }
257
+
258
+ </style> ';
259
+ }
260
+
261
+ public function enqueue_styles()
262
+ {
263
+ $query_args = array(
264
+ 'family' => 'Rubik:400,700|Oswald:400,600',
265
+ 'subset' => 'latin,latin-ext'
266
+ );
267
+ wp_enqueue_style( 'google_fonts', add_query_arg( $query_args, "//fonts.googleapis.com/css" ), array(), null );
268
+ wp_enqueue_style( $this->plugin_slug, plugins_url('../assets/css/cht-style.css', __FILE__), array(), CHT_VERSION);
269
+ }
270
+
271
+ public function enqueue_scripts()
272
+ {
273
+
274
+ wp_enqueue_script( $this->plugin_slug . '-jq-ui', 'https://ajax.googleapis.com/ajax/libs/jqueryui/1.11.3/jquery-ui.min.js');
275
+ wp_enqueue_script( $this->plugin_slug .'fileinput', plugins_url('../assets/js/fileinput.min.js', __FILE__), array( 'jquery' ), CHT_VERSION);
276
+ wp_enqueue_script( $this->plugin_slug .'pop', plugins_url('../assets/js/popper.min.js', __FILE__), array( 'jquery' ), CHT_VERSION);
277
+ wp_enqueue_script( $this->plugin_slug, plugins_url('../assets/js/cht-scripts.min.js', __FILE__), array('jquery', 'wp-color-picker', 'jquery-ui-draggable', 'jquery-ui-droppable', 'jquery-ui-sortable'), CHT_VERSION);
278
+ // wp_enqueue_script( $this->plugin_slug, plugins_url('../assets/js/cht-scripts.js', __FILE__), array( 'jquery' ), CHT_VERSION);
279
+ wp_enqueue_script( $this->plugin_slug.'stick', plugins_url('../assets/js/jquery.sticky.js', __FILE__), array( 'jquery' ), CHT_VERSION);
280
+ wp_localize_script($this->plugin_slug.'stick', 'cht_nonce_ajax',
281
+ array(
282
+ 'cht_nonce' => wp_create_nonce('cht_nonce_ajax')
283
+ )
284
+ );
285
+ }
286
+
287
+ public function cht_admin_setting_page() {
288
+ if (current_user_can('manage_options')){
289
+ $this->page = add_menu_page(
290
+ __('Chaty', CHT_OPT),
291
+ __('Chaty', CHT_OPT),
292
+ 'manage_options',
293
+ $this->plugin_slug,
294
+ array($this, 'display_cht_admin_page'),
295
+ plugins_url( 'chaty/icon/chaty.svg' )
296
+ );
297
+
298
+ add_submenu_page(
299
+ $this->plugin_slug,
300
+ __('Settings', CHT_OPT),
301
+ __('Settings', CHT_OPT),
302
+ 'manage_options',
303
+ $this->plugin_slug,
304
+ array($this, 'display_cht_admin_page')
305
+ );
306
+
307
+ $upgrade_page = add_submenu_page(
308
+ $this->plugin_slug,
309
+ __('Upgrade to Pro', CHT_OPT),
310
+ __('Upgrade to Pro', CHT_OPT),
311
+ 'manage_options',
312
+ $this->upgrade_slug,
313
+ array($this, 'display_cht_admin_upgrade_page')
314
+ );
315
+ add_action( 'admin_print_styles-' . $upgrade_page, array( $this, 'enqueue_styles' ) );
316
+ }
317
+ // Load public-facing style sheet and JavaScript.
318
+ add_action( 'admin_print_styles-' . $this->page, array( $this, 'enqueue_styles' ) );
319
+ add_action( 'admin_print_scripts-' . $this->page, array( $this, 'enqueue_scripts' ) );
320
+ }
321
+
322
+ public function check_page_available() {
323
+
324
+ }
325
+
326
+ public function getUpgradeMenuItemUrl() {
327
+ return CHT_PRO_URL;
328
+ }
329
+
330
+
331
+ public function display_cht_admin_page() {
332
+ include_once CHT_DIR . '/views/admin.php';
333
+ }
334
+
335
+ public function display_cht_admin_upgrade_page() {
336
+ include_once CHT_DIR . '/views/upgrade.php';
337
+ }
338
+
339
+ protected function get_token()
340
+ {
341
+ return get_option('cht_license_key');
342
+ }
343
+ // this site domain
344
+ public function get_site(){
345
+ $permalink = get_home_url();
346
+ return $permalink;
347
+ }
348
+ public function is_pro($token = '')
349
+ {
350
+ if ($token === '') {
351
+ $token = $this->get_token();
352
+ }
353
+ return false;
354
+ }
355
+
356
+ public function data_has_expired()
357
+ {
358
+ return strtotime(date('Y-m-d')) > strtotime(date('Y-m-d', strtotime($this->data_activ())));
359
+ }
360
+
361
+ public function data_activ(){
362
+ if (!$this->is_pro()) return;
363
+ $body = null;
364
+ if(empty(self::$response->errors)){
365
+ $body = json_decode(self::$response['body']);
366
+ }
367
+ if (isset($body->expired_date)) return $body->expired_date->date;
368
+ }
369
+ public function data_check(){
370
+ if ($this->is_pro()) {
371
+ return false;
372
+ };
373
+ }
374
+ public function get_current_color()
375
+ {
376
+ $def_color = get_option('cht_color');
377
+ $custom_color = get_option('cht_custom_color');
378
+ if (!$def_color) {
379
+ $color = $custom_color;
380
+ } else {
381
+ $color = $def_color;
382
+ }
383
+
384
+ $color = strtoupper($color);
385
+ return $color;
386
+ }
387
+
388
+ public function get_position_style()
389
+ {
390
+ $position = get_option('cht_position');
391
+
392
+ if ($position === 'custom') {
393
+ $pos_side = get_option('positionSide');
394
+ $bot = (get_option('cht_bottom_spacing')) ? get_option('cht_bottom_spacing') : '25';
395
+ $side = (get_option('cht_side_spacing')) ? get_option('cht_side_spacing') : '25';
396
+ if ($pos_side === 'right') {
397
+ $pos_style = 'left: auto; bottom: ' . $bot . 'px; right: ' . $side . 'px';
398
+ } else {
399
+ $pos_style = 'left: ' . $side . 'px; bottom: ' . $bot . 'px; right: auto';
400
+ }
401
+ } elseif ($position === 'right') {
402
+ $pos_style = 'left: auto; bottom: 25px; right: 25px';
403
+ } else {
404
+ $pos_style = 'left: 25px; bottom: 25px; right: auto';
405
+ }
406
+
407
+ return $pos_style ;
408
+ }
409
+
410
+ public function cht_clear_all_caches()
411
+ {
412
+ global $wp_fastest_cache;
413
+ // if W3 Total Cache is being used, clear the cache
414
+ if (function_exists('w3tc_flush_all')) {
415
+ w3tc_flush_all();
416
+ /* if WP Super Cache is being used, clear the cache */
417
+ } else if (function_exists('wp_cache_clean_cache')) {
418
+ global $file_prefix, $supercachedir;
419
+ if (empty($supercachedir) && function_exists('get_supercache_dir')) {
420
+ $supercachedir = get_supercache_dir();
421
+ }
422
+ wp_cache_clean_cache($file_prefix);
423
+ } else if (class_exists('WpeCommon')) {
424
+ //be extra careful, just in case 3rd party changes things on us
425
+ if (method_exists('WpeCommon', 'purge_memcached')) {
426
+ WpeCommon::purge_memcached();
427
+ }
428
+ if (method_exists('WpeCommon', 'clear_maxcdn_cache')) {
429
+ WpeCommon::clear_maxcdn_cache();
430
+ }
431
+ if (method_exists('WpeCommon', 'purge_varnish_cache')) {
432
+ WpeCommon::purge_varnish_cache();
433
+ }
434
+ } else if (method_exists('WpFastestCache', 'deleteCache') && !empty($wp_fastest_cache)) {
435
+ $wp_fastest_cache->deleteCache();
436
+ } else if (function_exists( 'rocket_clean_domain' )) {
437
+ rocket_clean_domain();
438
+ // Preload cache.
439
+ if ( function_exists( 'run_rocket_sitemap_preload' ) ) {
440
+ run_rocket_sitemap_preload();
441
+ }
442
+ }
443
+ }
444
+
445
+ public static function chaty_sanitize_options($value) {
446
+ $value = stripslashes($value);
447
+ $value = filter_var($value, FILTER_SANITIZE_STRING);
448
+ return $value;
449
+ }
450
+
451
+ public function cht_register_inputs()
452
+ {
453
+ /**
454
+ * Adding settings fields
455
+ */
456
+ // Section One
457
+ foreach ($this->socials as $social) {
458
+ add_settings_field(
459
+ 'cht_social_' . $social['slug'],
460
+ ucfirst($social['slug']),
461
+ '',
462
+ $this->plugin_slug
463
+ );
464
+ }
465
+
466
+ // Section Two
467
+ add_settings_field('cht_devices', 'Devices', '', $this->plugin_slug);
468
+ add_settings_field('cht_color', 'Color', '', $this->plugin_slug);
469
+ add_settings_field('cht_custom_color', 'Color', '', $this->plugin_slug);
470
+ add_settings_field('cht_position', 'Position', '', $this->plugin_slug);
471
+ add_settings_field('positionSide', 'PositionSide', '', $this->plugin_slug);
472
+ add_settings_field('cht_bottom_spacing', 'Bottom spacing', '', $this->plugin_slug);
473
+ add_settings_field('cht_side_spacing', 'Side spacing', '', $this->plugin_slug);
474
+ add_settings_field('cht_cta', 'CTA', '', $this->plugin_slug);
475
+ add_settings_field('cht_credit', 'Credit', '', $this->plugin_slug);
476
+ add_settings_field('cht_cta_switcher', 'CTA switcher', '', $this->plugin_slug);
477
+
478
+ // section three
479
+ add_settings_field('cht_active', 'Active', '', $this->plugin_slug);
480
+
481
+ // token
482
+ add_settings_field('cht_license_key', 'Token', '', $this->plugin_slug);
483
+
484
+ // slug
485
+ add_settings_field('cht_numb_slug', 'Numb', '', $this->plugin_slug);
486
+
487
+ /**
488
+ * Registering settings fields
489
+ */
490
+
491
+ /*check for nonce*/
492
+ if(isset($_REQUEST['nonce']) && !empty($_REQUEST['nonce']) && wp_verify_nonce($_REQUEST['nonce'], "chaty_plugin_nonce")) {
493
+
494
+ // register field section one
495
+ foreach ($this->socials as $social) {
496
+ register_setting($this->plugin_slug, 'cht_social_' . $social['slug']);
497
+ }
498
+
499
+ // register field section two
500
+ register_setting($this->plugin_slug, 'cht_devices', 'chaty_sanitize_options');
501
+ register_setting($this->plugin_slug, 'cht_color', 'chaty_sanitize_options');
502
+ register_setting($this->plugin_slug, 'cht_custom_color', 'chaty_sanitize_options');
503
+ register_setting($this->plugin_slug, 'cht_position', 'chaty_sanitize_options');
504
+ register_setting($this->plugin_slug, 'positionSide', 'chaty_sanitize_options');
505
+ register_setting($this->plugin_slug, 'cht_bottom_spacing', 'chaty_sanitize_options');
506
+ register_setting($this->plugin_slug, 'cht_side_spacing', 'chaty_sanitize_options');
507
+ register_setting($this->plugin_slug, 'cht_cta', 'chaty_sanitize_options');
508
+ register_setting($this->plugin_slug, 'cht_credit', 'chaty_sanitize_options');
509
+ register_setting($this->plugin_slug, 'cht_cta_switcher', 'chaty_sanitize_options');
510
+ register_setting($this->plugin_slug, 'cht_widget_size', 'chaty_sanitize_options');
511
+ register_setting($this->plugin_slug, 'cht_widget_img', 'chaty_sanitize_options');
512
+ register_setting($this->plugin_slug, 'widget_icon', 'chaty_sanitize_options');
513
+ add_action('pre_update_option_cht_widget_img', array($this, 'uploadCustomWidget'), 10, 3);
514
+
515
+ // register field section three
516
+ register_setting($this->plugin_slug, 'cht_active', 'chaty_sanitize_options');
517
+
518
+ // register field section token
519
+ register_setting($this->plugin_slug, 'cht_license_key', 'chaty_sanitize_options');
520
+
521
+ // register field section slug
522
+ register_setting($this->plugin_slug, 'cht_numb_slug', 'chaty_sanitize_options');
523
+ }
524
+ }
525
+
526
+ public function device(){
527
+ return'desktop_active mobile_active';
528
+ if( isset(get_option('cht_devices')['desktop']) && isset(get_option('cht_devices')['mobile'])){
529
+ return'desktop_active mobile_active';
530
+ }else if( isset(get_option('cht_devices')['mobile'])){
531
+ return 'mobile_active';
532
+ }else if(isset(get_option('cht_devices')['desktop'])){
533
+ return 'desktop_active';
534
+ }else{
535
+ return 'none';
536
+ }
537
+ }
538
+
539
+ public function getCustomWidgetImg()
540
+ {
541
+ $value = get_option('cht_widget_img');
542
+ return isset($value['url']) ? $value['url'] : '';
543
+ }
544
+
545
+ public function uploadCustomWidget($value, $old_value, $option)
546
+ {
547
+ $option = !empty($option) ? $option : 'cht_widget_img';
548
+ $allowed_ext = ['jpeg', 'png', 'jpg' ,'svg'];
549
+ if ( ! function_exists( 'wp_handle_upload' ) )
550
+ require_once( ABSPATH . 'wp-admin/includes/file.php' );
551
+
552
+ $file = &$_FILES[$option];
553
+ $type = wp_check_filetype($file['name']);
554
+
555
+ if (!in_array($type['ext'], $allowed_ext)) {
556
+ return $old_value;
557
+ }
558
+
559
+ if (isset($old_value['file'])) {
560
+ wp_delete_file($old_value['file']);
561
+ }
562
+
563
+ $overrides = array( 'test_form' => false );
564
+ $movefile = wp_handle_upload( $file, $overrides );
565
+ if ( $movefile && empty($movefile['error']) ) {
566
+ return array(
567
+ 'file' => $movefile['file'],
568
+ 'url' => $movefile['url']
569
+ );
570
+ }
571
+ return '';
572
+ }
573
+
574
+ public function getCallToAction()
575
+ {
576
+ if(get_option('cht_cta')){
577
+ $res = nl2br(get_option('cht_cta'));
578
+ $res = str_replace(array("\n", "\r"), "", $res);
579
+ return $res;
580
+ }
581
+ return '';
582
+ }
583
+ }
584
+
585
+ new CHT_Admin_Base();
admin/class-social-icons.php CHANGED
@@ -1,218 +1,274 @@
1
- <?php
2
- namespace CHT\admin;
3
-
4
- class CHT_Social_Icons
5
- {
6
- protected $social_list;
7
- protected static $instance;
8
-
9
- private function __construct() {}
10
-
11
- public static function get_instance()
12
- {
13
- if (!self::$instance) {
14
- self::$instance = new CHT_Social_Icons;
15
- }
16
-
17
- return self::$instance;
18
- }
19
-
20
- public function get_colors()
21
- {
22
- return array(
23
- '#A886CD' => __('Purple', CHT_OPT),
24
- '#86CD91' => __('Green', CHT_OPT),
25
- '#4F6ACA' => __('Blue', CHT_OPT),
26
- '#FF6060' => __('Red', CHT_OPT),
27
- '#000' => __('Black', CHT_OPT),
28
- '#EEF075' => __('Yellow', CHT_OPT),
29
- '#FF95EE' => __('Pink', CHT_OPT)
30
- );
31
- }
32
-
33
- public function get_widget_types()
34
- {
35
- return [
36
- 'default' => 'default',
37
- 'smile' => 'smile',
38
- 'points' => 'points',
39
- 'two' => 'two',
40
- 'custom' => 'custom'
41
- ];
42
- }
43
-
44
- public function get_icons_list()
45
- {
46
- return array(
47
- array(
48
- 'example' => '1507854875',
49
- 'placeholder' => __('Phone number', CHT_OPT),
50
- 'slug' => 'Whatsapp',
51
- 'svg' => '<circle class="color-element" cx="19.4395" cy="19.4395" r="19.4395" fill="#49E670"/>
52
- <path d="M12.9821 10.1115C12.7029 10.7767 11.5862 11.442 10.7486 11.575C10.1902 11.7081 9.35269 11.8411 6.84003 10.7767C3.48981 9.44628 1.39593 6.25317 1.25634 6.12012C1.11674 5.85403 2.13001e-06 4.39053 2.13001e-06 2.92702C2.13001e-06 1.46351 0.83755 0.665231 1.11673 0.399139C1.39592 0.133046 1.8147 1.01506e-06 2.23348 1.01506e-06C2.37307 1.01506e-06 2.51267 1.01506e-06 2.65226 1.01506e-06C2.93144 1.01506e-06 3.21063 -2.02219e-06 3.35022 0.532183C3.62941 1.19741 4.32736 2.66092 4.32736 2.79397C4.46696 2.92702 4.46696 3.19311 4.32736 3.32616C4.18777 3.59225 4.18777 3.59224 3.90858 3.85834C3.76899 3.99138 3.6294 4.12443 3.48981 4.39052C3.35022 4.52357 3.21063 4.78966 3.35022 5.05576C3.48981 5.32185 4.18777 6.38622 5.16491 7.18449C6.42125 8.24886 7.39839 8.51496 7.81717 8.78105C8.09636 8.91409 8.37554 8.9141 8.65472 8.648C8.93391 8.38191 9.21309 7.98277 9.49228 7.58363C9.77146 7.31754 10.0507 7.1845 10.3298 7.31754C10.609 7.45059 12.2841 8.11582 12.5633 8.38191C12.8425 8.51496 13.1217 8.648 13.1217 8.78105C13.1217 8.78105 13.1217 9.44628 12.9821 10.1115Z" transform="translate(12.9597 12.9597)" fill="#FAFAFA"/>
53
- <path d="M0.196998 23.295L0.131434 23.4862L0.323216 23.4223L5.52771 21.6875C7.4273 22.8471 9.47325 23.4274 11.6637 23.4274C18.134 23.4274 23.4274 18.134 23.4274 11.6637C23.4274 5.19344 18.134 -0.1 11.6637 -0.1C5.19344 -0.1 -0.1 5.19344 -0.1 11.6637C-0.1 13.9996 0.624492 16.3352 1.93021 18.2398L0.196998 23.295ZM5.87658 19.8847L5.84025 19.8665L5.80154 19.8788L2.78138 20.8398L3.73978 17.9646L3.75932 17.906L3.71562 17.8623L3.43104 17.5777C2.27704 15.8437 1.55796 13.8245 1.55796 11.6637C1.55796 6.03288 6.03288 1.55796 11.6637 1.55796C17.2945 1.55796 21.7695 6.03288 21.7695 11.6637C21.7695 17.2945 17.2945 21.7695 11.6637 21.7695C9.64222 21.7695 7.76778 21.1921 6.18227 20.039L6.17557 20.0342L6.16817 20.0305L5.87658 19.8847Z" transform="translate(7.7758 7.77582)" fill="white" stroke="white" stroke-width="0.2"/>',
54
- 'title' => 'Whatsapp',
55
- 'color' => '#49E670'
56
- ),
57
- array(
58
- 'example' => '+1507854875',
59
- 'placeholder' => __('Phone number', CHT_OPT),
60
- 'slug' => 'Phone',
61
- 'title' => 'Phone',
62
- 'color' => '#03E78B',
63
- 'svg' => '<circle class="color-element" cx="19.4395" cy="19.4395" r="19.4395" fill="#03E78B"/>
64
- <path d="M19.3929 14.9176C17.752 14.7684 16.2602 14.3209 14.7684 13.7242C14.0226 13.4259 13.1275 13.7242 12.8292 14.4701L11.7849 16.2602C8.65222 14.6193 6.11623 11.9341 4.47529 8.95057L6.41458 7.90634C7.16046 7.60799 7.45881 6.71293 7.16046 5.96705C6.56375 4.47529 6.11623 2.83435 5.96705 1.34259C5.96705 0.596704 5.22117 0 4.47529 0H0.745882C0.298353 0 5.69062e-07 0.298352 5.69062e-07 0.745881C5.69062e-07 3.72941 0.596704 6.71293 1.93929 9.3981C3.87858 13.575 7.30964 16.8569 11.3374 18.7962C14.0226 20.1388 17.0061 20.7355 19.9896 20.7355C20.4371 20.7355 20.7355 20.4371 20.7355 19.9896V16.4094C20.7355 15.5143 20.1388 14.9176 19.3929 14.9176Z" transform="translate(9.07179 9.07178)" fill="white"/>'
65
- ),
66
- array(
67
- 'example' => 'https://m.me/Coca-Cola/',
68
- 'placeholder' => __('https://m.me/Facebook_Page', CHT_OPT),
69
- 'slug' => 'Facebook_Messenger',
70
- 'title' => 'Facebook Messenger',
71
- 'color' => '#1E88E5',
72
- 'svg' => '<circle class="color-element" cx="19.4395" cy="19.4395" r="19.4395" fill="#1E88E5"/>
73
- <path fill-rule="evenodd" clip-rule="evenodd" d="M0 9.63934C0 4.29861 4.68939 0 10.4209 0C16.1524 0 20.8418 4.29861 20.8418 9.63934C20.8418 14.98 16.1524 19.2787 10.4209 19.2787C9.37878 19.2787 8.33673 19.1484 7.42487 18.8879L3.90784 20.8418V17.1945C1.56311 15.3708 0 12.6353 0 9.63934ZM8.85779 10.1604L11.463 13.0261L17.1945 6.90384L12.1143 9.76959L9.37885 6.90384L3.64734 13.0261L8.85779 10.1604Z" transform="translate(9.01854 10.3146)" fill="white"/>'
74
- ),
75
- array(
76
- 'example' => '+1507854875',
77
- 'placeholder' => __('Phone number', CHT_OPT),
78
- 'slug' => 'SMS',
79
- 'title' => 'SMS',
80
- 'color' => '#FF549C',
81
- 'svg' => '<circle class="color-element" cx="19.4395" cy="19.4395" r="19.4395" fill="#FF549C"/>
82
- <path fill-rule="evenodd" clip-rule="evenodd" d="M2.60298 0H16.9194C18.351 0 19.5224 1.19321 19.5224 2.65158V14.5838C19.5224 16.0421 18.351 17.2354 16.9194 17.2354H7.4185L3.64418 20.4173C3.51402 20.5499 3.38388 20.5499 3.25372 20.5499H2.99344C2.73314 20.4173 2.60298 20.1521 2.60298 19.887V17.2354C1.17134 17.2354 0 16.0421 0 14.5838V2.65158C0 1.19321 1.17134 0 2.60298 0ZM2.60316 11.2696C2.60316 11.6673 2.86346 11.9325 3.25391 11.9325H4.5554C5.5966 11.9325 6.50764 11.0044 6.50764 9.94376C6.50764 8.88312 5.5966 7.95505 4.5554 7.95505C4.16496 7.95505 3.90465 7.68991 3.90465 7.29218C3.90465 6.89441 4.16496 6.62927 4.5554 6.62927H5.85689C6.24733 6.62927 6.50764 6.36411 6.50764 5.96637C6.50764 5.56863 6.24733 5.30347 5.85689 5.30347H4.5554C3.51421 5.30347 2.60316 6.23154 2.60316 7.29218C2.60316 8.35281 3.51421 9.28085 4.5554 9.28085C4.94585 9.28085 5.20613 9.54602 5.20613 9.94376C5.20613 10.3415 4.94585 10.6067 4.5554 10.6067H3.25391C2.86346 10.6067 2.60316 10.8718 2.60316 11.2696ZM14.9678 11.9325H13.6664C13.2759 11.9325 13.0156 11.6673 13.0156 11.2696C13.0156 10.8718 13.2759 10.6067 13.6664 10.6067H14.9678C15.3583 10.6067 15.6186 10.3415 15.6186 9.94376C15.6186 9.54602 15.3583 9.28085 14.9678 9.28085C13.9267 9.28085 13.0156 8.35281 13.0156 7.29218C13.0156 6.23154 13.9267 5.30347 14.9678 5.30347H16.2693C16.6598 5.30347 16.9201 5.56863 16.9201 5.96637C16.9201 6.36411 16.6598 6.62927 16.2693 6.62927H14.9678C14.5774 6.62927 14.3171 6.89441 14.3171 7.29218C14.3171 7.68991 14.5774 7.95505 14.9678 7.95505C16.009 7.95505 16.9201 8.88312 16.9201 9.94376C16.9201 11.0044 16.009 11.9325 14.9678 11.9325ZM10.4126 11.2697C10.4126 11.6674 10.6729 11.9326 11.0633 11.9326C11.4538 11.9326 11.7141 11.6674 11.8442 11.2697V5.96649C11.8442 5.70135 11.5839 5.43619 11.3236 5.30362C10.9332 5.30362 10.6729 5.43619 10.5427 5.70135L9.76186 7.15973L8.98094 5.70135C8.85081 5.43619 8.46034 5.17102 8.20006 5.30362C7.93977 5.43619 7.67946 5.70135 7.67946 5.96649V11.2697C7.67946 11.6674 7.93977 11.9326 8.33022 11.9326C8.72066 11.9326 8.98094 11.6674 8.98094 11.2697V8.75067L9.1111 8.88327C9.37138 9.28101 10.0221 9.28101 10.2825 8.88327L10.4126 8.75067V11.2697Z" transform="translate(9.67801 10.4601)" fill="white"/>'
83
- ),
84
- array(
85
- 'example' => 'myusername',
86
- 'placeholder' => __('User Name', CHT_OPT),
87
- 'slug' => 'Telegram',
88
- 'title' => 'Telegram',
89
- 'color' => '#3E99D8',
90
- 'svg' => '<circle class="color-element" cx="19.4395" cy="19.4395" r="19.4395" fill="#3E99D8"/>
91
- <path d="M3.56917 -2.55497e-07L0 6.42978L7.5349 1.87535L3.56917 -2.55497e-07Z" transform="translate(13.9704 24.6145)" fill="#E0E0E0"/>
92
- <path d="M20.8862 0.133954C20.754 0 20.4897 0 20.2253 0L0.396574 8.03723C0.132191 8.17118 0 8.43909 0 8.707C0 8.97491 0.132191 9.24282 0.396574 9.37677L17.5814 17.414C17.7136 17.414 17.7136 17.414 17.8458 17.414C17.978 17.414 18.1102 17.414 18.1102 17.28C18.2424 17.1461 18.3746 17.0121 18.5068 16.7442L21.1506 0.669769C21.1506 0.535815 21.1506 0.267908 20.8862 0.133954Z" transform="translate(7.36069 10.9512)" fill="white"/>
93
- <path d="M13.8801 0L0 11.52V19.4233L3.70136 13.2614L13.8801 0Z" transform="translate(13.9704 11.6208)" fill="#F2F2F2"/>'
94
- ),
95
- array(
96
- 'example' => 'http://line.me/ti/p/2a-s5A2B8B',
97
- 'placeholder' => __('User Name', CHT_OPT),
98
- 'slug' => 'Line',
99
- 'title' => 'Line',
100
- 'color' => '#38B900',
101
- 'svg' => '
102
- <circle class="color-element" cx="19.4395" cy="19.4395" r="19.4395" fill="#38B900"></circle>
103
- <path d="M24 9.36561C24 4.19474 18.6178 0 12 0C5.38215 0 0 4.19474 0 9.36561C0 13.9825 4.25629 17.8606 10.0229 18.5993C10.4073 18.6785 10.9565 18.8368 11.0664 19.1797C11.1762 19.4699 11.1487 19.9184 11.0938 20.235C11.0938 20.235 10.9565 21.0528 10.9291 21.2111C10.8741 21.5013 10.6819 22.3456 11.9725 21.8443C13.2632 21.3167 18.8924 17.9398 21.3913 15.1433C23.1487 13.2702 24 11.4234 24 9.36561Z" transform="translate(7 10)" fill="white"></path>
104
- <path d="M1.0984 0H0.24714C0.10984 0 -2.09503e-07 0.105528 -2.09503e-07 0.211056V5.22364C-2.09503e-07 5.35555 0.10984 5.43469 0.24714 5.43469H1.0984C1.2357 5.43469 1.34554 5.32917 1.34554 5.22364V0.211056C1.34554 0.105528 1.2357 0 1.0984 0Z" transform="translate(15.4577 16.8593)" fill="#38B900" class="color-element"></path>
105
- <path d="M4.66819 0H3.81693C3.67963 0 3.56979 0.105528 3.56979 0.211056V3.19222L1.18078 0.0791458C1.18078 0.0791458 1.18078 0.0527642 1.15332 0.0527642C1.15332 0.0527642 1.15332 0.0527641 1.12586 0.0263821C1.12586 0.0263821 1.12586 0.0263821 1.0984 0.0263821H0.247139C0.10984 0.0263821 4.19006e-07 0.13191 4.19006e-07 0.237438V5.25002C4.19006e-07 5.38193 0.10984 5.46108 0.247139 5.46108H1.0984C1.2357 5.46108 1.34554 5.35555 1.34554 5.25002V2.26885L3.73455 5.38193C3.76201 5.40831 3.76201 5.43469 3.78947 5.43469C3.78947 5.43469 3.78947 5.43469 3.81693 5.43469C3.81693 5.43469 3.81693 5.43469 3.84439 5.43469C3.87185 5.43469 3.87185 5.43469 3.89931 5.43469H4.75057C4.88787 5.43469 4.99771 5.32917 4.99771 5.22364V0.211056C4.91533 0.105528 4.80549 0 4.66819 0Z" transform="translate(17.6819 16.8593)" fill="#38B900" class="color-element"></path>
106
- <path d="M3.62471 4.22112H1.34554V0.237438C1.34554 0.105528 1.2357 0 1.0984 0H0.24714C0.10984 0 -5.23757e-08 0.105528 -5.23757e-08 0.237438V5.25002C-5.23757e-08 5.30278 0.0274599 5.35555 0.0549198 5.40831C0.10984 5.43469 0.16476 5.46108 0.21968 5.46108H3.56979C3.70709 5.46108 3.78947 5.35555 3.78947 5.22364V4.4058C3.87185 4.32665 3.76201 4.22112 3.62471 4.22112Z" transform="translate(10.8993 16.8593)" fill="#38B900" class="color-element"></path>
107
- <path d="M3.56979 1.29272C3.70709 1.29272 3.78947 1.18719 3.78947 1.05528V0.237438C3.78947 0.105528 3.67963 -1.00639e-07 3.56979 -1.00639e-07H0.219679C0.164759 -1.00639e-07 0.10984 0.0263821 0.0549199 0.0527641C0.02746 0.105528 -2.09503e-07 0.158292 -2.09503e-07 0.211056V5.22364C-2.09503e-07 5.2764 0.02746 5.32917 0.0549199 5.38193C0.10984 5.40831 0.164759 5.43469 0.219679 5.43469H3.56979C3.70709 5.43469 3.78947 5.32917 3.78947 5.19726V4.37941C3.78947 4.2475 3.67963 4.14198 3.56979 4.14198H1.29062V3.29775H3.56979C3.70709 3.29775 3.78947 3.19222 3.78947 3.06031V2.24247C3.78947 2.11056 3.67963 2.00503 3.56979 2.00503H1.29062V1.16081H3.56979V1.29272Z" transform="translate(23.421 16.8329)" fill="#38B900" class="color-element"></path>
108
- '
109
- ),
110
- array(
111
- 'example' => 'UserID',
112
- 'placeholder' => __('User Name', CHT_OPT),
113
- 'slug' => 'WeChat',
114
- 'title' => 'WeChat',
115
- 'color' => '#45DC00',
116
- 'svg' => ' <circle class="color-element" cx="19.4395" cy="19.4395" r="19.4395" fill="#45DC00"></circle>
117
- <path d="M17.3707 6.90938C15.0508 7.03077 13.0281 7.71242 11.3888 9.26248C9.73039 10.8312 8.97307 12.7455 9.18397 15.1172C8.27327 15.0052 7.44884 14.8838 6.61482 14.8184C6.32723 14.7904 5.99171 14.8278 5.74246 14.9585C4.93721 15.4067 4.16071 15.9016 3.24042 16.4619C3.41298 15.7242 3.51843 15.0705 3.71015 14.4449C3.85395 13.9874 3.78685 13.7353 3.35546 13.4364C0.584998 11.5222 -0.594125 8.65553 0.287821 5.69547C1.10266 2.95952 3.09663 1.30674 5.80957 0.447674C9.50991 -0.728879 13.68 0.475687 15.9232 3.33303C16.738 4.36952 17.2365 5.53673 17.3707 6.90938ZM6.69152 5.98494C6.71069 5.44336 6.23137 4.95779 5.65619 4.93912C5.07142 4.92044 4.5921 5.35932 4.57293 5.91958C4.55375 6.48918 5.00431 6.94673 5.58908 6.95607C6.18344 6.97474 6.67234 6.53587 6.69152 5.98494ZM12.2612 4.93912C11.686 4.94846 11.2067 5.42468 11.2163 5.96627C11.2259 6.52653 11.7052 6.9654 12.29 6.9654C12.8843 6.95607 13.3253 6.51719 13.3253 5.93825C13.3157 5.37799 12.846 4.92978 12.2612 4.93912Z" transform="translate(7 9)" fill="white"></path>
118
- <path d="M12.48 13.2605C11.7418 12.943 11.0708 12.4668 10.3518 12.3921C9.63283 12.3174 8.88509 12.7189 8.13735 12.7936C5.8558 13.0177 3.8139 12.4014 2.13629 10.8887C-1.06556 8.00334 -0.605416 3.57726 3.09492 1.21482C6.38305 -0.886168 11.2146 -0.185839 13.5345 2.72753C15.5572 5.26739 15.3175 8.64764 12.8538 10.786C12.1349 11.4023 11.876 11.9158 12.3362 12.7282C12.4225 12.8776 12.432 13.0737 12.48 13.2605ZM4.11108 5.3701C4.58081 5.3701 4.96426 5.01527 4.98344 4.56706C5.00261 4.09084 4.60957 3.68932 4.12066 3.68932C3.63176 3.68932 3.22913 4.09084 3.2483 4.55772C3.26748 5.00593 3.65093 5.3701 4.11108 5.3701ZM9.5082 3.68932C9.05764 3.68932 8.6646 4.04415 8.64543 4.49236C8.62626 4.96858 9.00971 5.36077 9.48903 5.36077C9.95876 5.36077 10.3326 5.01527 10.3422 4.55772C10.371 4.09084 9.98752 3.68932 9.5082 3.68932Z" transform="translate(17.1057 16.7395)" fill="white"></path>'
119
- ),
120
- array(
121
- 'example' => 'https://goo.gl/maps/4m93C84v2DC2',
122
- 'placeholder' => __('Maps link', CHT_OPT),
123
- 'slug' => 'Google_Maps',
124
- 'title' => 'Google Map',
125
- 'color' => '#37AA66',
126
- 'svg' => '<circle class="color-element" cx="19.4395" cy="19.4395" r="19.4395" fill="#37AA66"/>
127
- <path fill-rule="evenodd" clip-rule="evenodd" d="M0 8.06381C0 3.68631 3.68633 0 8.06383 0C12.4413 0 16.1276 3.68631 16.1276 8.06381C16.1276 12.2109 9.67659 19.5835 8.9854 20.2747C8.755 20.5051 8.29422 20.7355 8.06383 20.7355C7.83344 20.7355 7.37263 20.5051 7.14224 20.2747C6.45107 19.5835 0 12.2109 0 8.06381ZM11.5203 8.06378C11.5203 9.97244 9.97302 11.5197 8.06436 11.5197C6.15572 11.5197 4.60844 9.97244 4.60844 8.06378C4.60844 6.15515 6.15572 4.60788 8.06436 4.60788C9.97302 4.60788 11.5203 6.15515 11.5203 8.06378Z" transform="translate(11.3764 9.07178)" fill="white"/>'
128
- ),
129
- array(
130
- 'example' => 'https://www.example.com/contact',
131
- 'placeholder' => __('Link', CHT_OPT),
132
- 'slug' => 'Link',
133
- 'title' => 'Link',
134
- 'color' => '#FF7539',
135
- 'svg' => '<circle class="color-element" cx="19.4395" cy="19.4395" r="19.4395" fill="#FF7539"/>
136
- <mask id="path-2-outside-1" maskUnits="userSpaceOnUse" x="-1" y="-1" width="13" height="14" fill="black">
137
- <rect fill="white" x="-1" y="-1" width="13" height="14"/>
138
- <path fill-rule="evenodd" clip-rule="evenodd" d="M9.10658 1.73537C9.10658 1.73537 9.10658 1.73538 9.10659 1.73538L9.93879 2.58495C9.9388 2.58495 9.9388 2.58495 9.9388 2.58496C9.99645 2.64381 10.0508 2.70475 10.1019 2.76754C10.3002 3.0113 10.6804 3.07698 10.9003 2.85252C11.0424 2.70754 11.0721 2.4836 10.9533 2.31904C10.849 2.17452 10.7327 2.03614 10.6046 1.90532C10.6046 1.9053 10.6046 1.90529 10.6045 1.90528L9.77236 1.05572C9.77236 1.05572 9.77235 1.05572 9.77235 1.05572C8.39351 -0.351905 6.15792 -0.351905 4.77907 1.05571C4.77907 1.05572 4.77907 1.05572 4.77906 1.05572L1.03414 4.87877C1.03413 4.87878 1.03413 4.87878 1.03413 4.87878C-0.344706 6.2864 -0.34471 8.56858 1.03412 9.9762C1.03413 9.97621 1.03414 9.97622 1.03415 9.97623L1.86633 10.8258C1.86634 10.8258 1.86635 10.8258 1.86636 10.8258C3.24521 12.2334 5.48072 12.2334 6.85962 10.8258C6.85963 10.8258 6.85964 10.8258 6.85964 10.8258L9.28893 8.34581C9.47006 8.1609 9.47006 7.86509 9.28893 7.68018C9.10243 7.48979 8.79591 7.48979 8.60942 7.68018L6.19386 10.1461C6.19386 10.1461 6.19386 10.1461 6.19386 10.1461C5.1827 11.1784 3.54326 11.1784 2.53215 10.1461C2.53213 10.1461 2.53211 10.1461 2.53209 10.1461L1.69991 9.29657C1.69991 9.29657 1.6999 9.29656 1.6999 9.29655C0.688737 8.2643 0.688739 6.59069 1.6999 5.55844C1.6999 5.55843 1.69991 5.55843 1.69991 5.55843L5.44484 1.73538C5.44484 1.73538 5.44484 1.73537 5.44484 1.73537C6.45601 0.703119 8.09541 0.703118 9.10658 1.73537Z"/>
139
- </mask>
140
- <path fill-rule="evenodd" clip-rule="evenodd" d="M9.10658 1.73537C9.10658 1.73537 9.10658 1.73538 9.10659 1.73538L9.93879 2.58495C9.9388 2.58495 9.9388 2.58495 9.9388 2.58496C9.99645 2.64381 10.0508 2.70475 10.1019 2.76754C10.3002 3.0113 10.6804 3.07698 10.9003 2.85252C11.0424 2.70754 11.0721 2.4836 10.9533 2.31904C10.849 2.17452 10.7327 2.03614 10.6046 1.90532C10.6046 1.9053 10.6046 1.90529 10.6045 1.90528L9.77236 1.05572C9.77236 1.05572 9.77235 1.05572 9.77235 1.05572C8.39351 -0.351905 6.15792 -0.351905 4.77907 1.05571C4.77907 1.05572 4.77907 1.05572 4.77906 1.05572L1.03414 4.87877C1.03413 4.87878 1.03413 4.87878 1.03413 4.87878C-0.344706 6.2864 -0.34471 8.56858 1.03412 9.9762C1.03413 9.97621 1.03414 9.97622 1.03415 9.97623L1.86633 10.8258C1.86634 10.8258 1.86635 10.8258 1.86636 10.8258C3.24521 12.2334 5.48072 12.2334 6.85962 10.8258C6.85963 10.8258 6.85964 10.8258 6.85964 10.8258L9.28893 8.34581C9.47006 8.1609 9.47006 7.86509 9.28893 7.68018C9.10243 7.48979 8.79591 7.48979 8.60942 7.68018L6.19386 10.1461C6.19386 10.1461 6.19386 10.1461 6.19386 10.1461C5.1827 11.1784 3.54326 11.1784 2.53215 10.1461C2.53213 10.1461 2.53211 10.1461 2.53209 10.1461L1.69991 9.29657C1.69991 9.29657 1.6999 9.29656 1.6999 9.29655C0.688737 8.2643 0.688739 6.59069 1.6999 5.55844C1.6999 5.55843 1.69991 5.55843 1.69991 5.55843L5.44484 1.73538C5.44484 1.73538 5.44484 1.73537 5.44484 1.73537C6.45601 0.703119 8.09541 0.703118 9.10658 1.73537Z" transform="translate(9.95154 16.0478)" fill="white"/>
141
- <path d="M5.44484 1.73538L5.23053 1.52545L5.44484 1.73538ZM5.44484 1.73537L5.23053 1.52544L5.44484 1.73537ZM1.6999 5.55844L1.48559 5.3485L1.6999 5.55844ZM1.69991 5.55843L1.91422 5.76836L1.69991 5.55843ZM1.69991 9.29657L1.91422 9.08664L1.69991 9.29657ZM1.6999 9.29655L1.91421 9.08662L1.6999 9.29655ZM2.53215 10.1461L2.31784 10.3561L2.53215 10.1461ZM2.53209 10.1461L2.31778 10.356L2.53209 10.1461ZM6.19386 10.1461L5.97955 9.93618L6.19386 10.1461ZM6.19386 10.1461L6.40817 10.356L6.19386 10.1461ZM8.60942 7.68018L8.82373 7.89011L8.60942 7.68018ZM9.28893 8.34581L9.07462 8.13588L9.28893 8.34581ZM6.85962 10.8258L6.64532 10.6158L6.85962 10.8258ZM6.85964 10.8258L7.07395 11.0357L6.85964 10.8258ZM1.86633 10.8258L2.08064 10.6158L1.86633 10.8258ZM1.86636 10.8258L2.08067 10.6159L1.86636 10.8258ZM1.03412 9.9762L1.24843 9.76628L1.03412 9.9762ZM1.03415 9.97623L0.819841 10.1862L1.03415 9.97623ZM1.03414 4.87877L0.819827 4.66884L1.03414 4.87877ZM1.03413 4.87878L1.24844 5.08871L1.03413 4.87878ZM4.77907 1.05571L4.99338 1.26564L4.77907 1.05571ZM4.77906 1.05572L4.99338 1.26565L4.77906 1.05572ZM9.77236 1.05572L9.55805 1.26565L9.77236 1.05572ZM9.77235 1.05572L9.98666 0.845785L9.77235 1.05572ZM10.6046 1.90532L10.8189 1.6954L10.6046 1.90532ZM10.6045 1.90528L10.8189 1.69535L10.6045 1.90528ZM10.9533 2.31904L10.7101 2.49464L10.9533 2.31904ZM10.1019 2.76754L9.86916 2.95685L10.1019 2.76754ZM9.10659 1.73538L9.3209 1.52545L9.10659 1.73538ZM9.10658 1.73537L8.89227 1.9453L9.10658 1.73537ZM9.93879 2.58495L10.1531 2.37502L9.93879 2.58495ZM9.9388 2.58496L10.1531 2.37503L9.9388 2.58496ZM10.1531 2.37502L9.3209 1.52545L8.89228 1.94531L9.72448 2.79488L10.1531 2.37502ZM10.3346 2.57823C10.2777 2.50832 10.2172 2.4405 10.1531 2.37503L9.72449 2.79488C9.77566 2.84713 9.82388 2.90119 9.86916 2.95685L10.3346 2.57823ZM11.1966 2.14344C11.0835 1.98684 10.9576 1.83698 10.8189 1.6954L10.3903 2.11524C10.5079 2.2353 10.6145 2.3622 10.7101 2.49464L11.1966 2.14344ZM10.8189 1.69535L9.98667 0.845789L9.55805 1.26565L10.3902 2.11521L10.8189 1.69535ZM9.98666 0.845785C8.49018 -0.681928 6.06124 -0.681928 4.56476 0.845784L4.99338 1.26564C6.25459 -0.0218819 8.29683 -0.0218814 9.55804 1.26565L9.98666 0.845785ZM4.56475 0.84579L0.819827 4.66884L1.24845 5.0887L4.99338 1.26565L4.56475 0.84579ZM0.819819 4.66885C-0.673269 6.1931 -0.673273 8.66187 0.819807 10.1861L1.24843 9.76628C-0.0161474 8.47529 -0.016144 6.37969 1.24844 5.08871L0.819819 4.66885ZM0.819841 10.1862L1.65203 11.0357L2.08064 10.6158L1.24846 9.7663L0.819841 10.1862ZM1.65205 11.0357C3.14854 12.5634 5.57739 12.5634 7.07393 11.0357L6.64532 10.6158C5.38405 11.9034 3.34188 11.9034 2.08067 10.6159L1.65205 11.0357ZM7.07395 11.0357L9.50324 8.55574L9.07462 8.13588L6.64533 10.6158L7.07395 11.0357ZM6.40817 10.356L8.82373 7.89011L8.39511 7.47025L5.97955 9.93618L6.40817 10.356ZM2.31784 10.3561C3.44659 11.5084 5.27938 11.5084 6.40817 10.356L5.97955 9.93618C5.08603 10.8483 3.63993 10.8483 2.74646 9.93621L2.31784 10.3561ZM1.48561 9.50651L2.31778 10.356L2.7464 9.93615L1.91422 9.08664L1.48561 9.50651ZM1.48559 5.3485C0.360176 6.49739 0.360173 8.35759 1.48559 9.50648L1.91421 9.08662C1.0173 8.171 1.0173 6.68399 1.91421 5.76837L1.48559 5.3485ZM5.23053 1.52545L1.4856 5.3485L1.91422 5.76836L5.65915 1.94531L5.23053 1.52545ZM9.32089 1.52544C8.19208 0.373095 6.35934 0.373096 5.23053 1.52544L5.65915 1.9453C6.55268 1.03314 7.99874 1.03314 8.89227 1.9453L9.32089 1.52544ZM5.65915 1.94531C5.65915 1.94531 5.65915 1.94531 5.65915 1.9453L5.23053 1.52544C5.23053 1.52544 5.23053 1.52544 5.23053 1.52545L5.65915 1.94531ZM1.91421 5.76837C1.91421 5.76837 1.91422 5.76836 1.91422 5.76836L1.4856 5.3485C1.4856 5.3485 1.48559 5.3485 1.48559 5.3485L1.91421 5.76837ZM1.91422 9.08664C1.91422 9.08663 1.91421 9.08663 1.91421 9.08662L1.48559 9.50648C1.48559 9.50649 1.4856 9.5065 1.48561 9.50651L1.91422 9.08664ZM2.74646 9.93621C2.74644 9.93619 2.74642 9.93617 2.7464 9.93615L2.31778 10.356C2.3178 10.356 2.31782 10.356 2.31784 10.3561L2.74646 9.93621ZM5.97955 9.93618C5.97955 9.93618 5.97955 9.93618 5.97955 9.93618L6.40817 10.356C6.40817 10.356 6.40817 10.356 6.40817 10.356L5.97955 9.93618ZM9.50324 7.47025C9.1991 7.15977 8.69924 7.15977 8.39511 7.47025L8.82373 7.89011C8.89259 7.81981 9.00576 7.81981 9.07462 7.89011L9.50324 7.47025ZM9.50324 8.55574C9.79862 8.25419 9.79862 7.77179 9.50324 7.47025L9.07462 7.89011C9.1415 7.95838 9.1415 8.0676 9.07462 8.13588L9.50324 8.55574ZM7.07393 11.0357C7.07394 11.0357 7.07395 11.0357 7.07395 11.0357L6.64533 10.6158C6.64533 10.6158 6.64532 10.6158 6.64532 10.6158L7.07393 11.0357ZM1.65203 11.0357C1.65203 11.0357 1.65204 11.0357 1.65205 11.0357L2.08067 10.6159C2.08066 10.6158 2.08065 10.6158 2.08064 10.6158L1.65203 11.0357ZM0.819807 10.1861C0.819819 10.1861 0.81983 10.1862 0.819841 10.1862L1.24846 9.7663C1.24845 9.76629 1.24844 9.76628 1.24843 9.76628L0.819807 10.1861ZM0.819827 4.66884C0.819824 4.66884 0.819822 4.66885 0.819819 4.66885L1.24844 5.08871C1.24844 5.08871 1.24845 5.08871 1.24845 5.0887L0.819827 4.66884ZM4.56476 0.845784C4.56476 0.845786 4.56476 0.845788 4.56475 0.84579L4.99338 1.26565C4.99338 1.26565 4.99338 1.26565 4.99338 1.26564L4.56476 0.845784ZM9.98667 0.845789C9.98667 0.845788 9.98666 0.845787 9.98666 0.845785L9.55804 1.26565C9.55804 1.26565 9.55804 1.26565 9.55805 1.26565L9.98667 0.845789ZM10.8189 1.6954C10.8189 1.69538 10.8189 1.69536 10.8189 1.69535L10.3902 2.11521C10.3902 2.11522 10.3903 2.11523 10.3903 2.11524L10.8189 1.6954ZM11.1146 3.06246C11.3462 2.82606 11.411 2.44051 11.1966 2.14344L10.7101 2.49464C10.7332 2.52669 10.7385 2.58902 10.686 2.64258L11.1146 3.06246ZM9.86916 2.95685C10.1487 3.30046 10.7367 3.44829 11.1146 3.06246L10.686 2.64258C10.652 2.67732 10.6006 2.69693 10.531 2.68804C10.4586 2.67877 10.3842 2.63918 10.3346 2.57823L9.86916 2.95685ZM9.3209 1.52545C9.32089 1.52544 9.32089 1.52544 9.32089 1.52544L8.89227 1.9453C8.89227 1.9453 8.89227 1.94531 8.89228 1.94531L9.3209 1.52545ZM9.72448 2.79488C9.72448 2.79488 9.72448 2.79488 9.72449 2.79488L10.1531 2.37503C10.1531 2.37503 10.1531 2.37502 10.1531 2.37502L9.72448 2.79488Z" transform="translate(9.95154 16.0478)" fill="white" mask="url(#path-2-outside-1)"/>
142
- <mask id="path-4-outside-2" maskUnits="userSpaceOnUse" x="-1" y="-1" width="13" height="14" fill="black">
143
- <rect fill="white" x="-1" y="-1" width="13" height="14"/>
144
- <path fill-rule="evenodd" clip-rule="evenodd" d="M9.10658 1.73537C9.10658 1.73537 9.10658 1.73538 9.10659 1.73538L9.93879 2.58495C9.9388 2.58495 9.9388 2.58495 9.9388 2.58496C9.99645 2.64381 10.0508 2.70475 10.1019 2.76754C10.3002 3.0113 10.6804 3.07698 10.9003 2.85252C11.0424 2.70754 11.0721 2.4836 10.9533 2.31904C10.849 2.17452 10.7327 2.03614 10.6046 1.90532C10.6046 1.9053 10.6046 1.90529 10.6045 1.90528L9.77236 1.05572C9.77236 1.05572 9.77235 1.05572 9.77235 1.05572C8.39351 -0.351905 6.15792 -0.351905 4.77907 1.05571C4.77907 1.05572 4.77907 1.05572 4.77906 1.05572L1.03414 4.87877C1.03413 4.87878 1.03413 4.87878 1.03413 4.87878C-0.344706 6.2864 -0.34471 8.56858 1.03412 9.9762C1.03413 9.97621 1.03414 9.97622 1.03415 9.97623L1.86633 10.8258C1.86634 10.8258 1.86635 10.8258 1.86636 10.8258C3.24521 12.2334 5.48072 12.2334 6.85962 10.8258C6.85963 10.8258 6.85964 10.8258 6.85964 10.8258L9.28893 8.34581C9.47006 8.1609 9.47006 7.86509 9.28893 7.68018C9.10243 7.48979 8.79591 7.48979 8.60942 7.68018L6.19386 10.1461C6.19386 10.1461 6.19386 10.1461 6.19386 10.1461C5.1827 11.1784 3.54326 11.1784 2.53215 10.1461C2.53213 10.1461 2.53211 10.1461 2.53209 10.1461L1.69991 9.29657C1.69991 9.29657 1.6999 9.29656 1.6999 9.29655C0.688737 8.2643 0.688739 6.59069 1.6999 5.55844C1.6999 5.55843 1.69991 5.55843 1.69991 5.55843L5.44484 1.73538C5.44484 1.73538 5.44484 1.73537 5.44484 1.73537C6.45601 0.703119 8.09541 0.703118 9.10658 1.73537Z"/>
145
- </mask>
146
- <path fill-rule="evenodd" clip-rule="evenodd" d="M9.10658 1.73537C9.10658 1.73537 9.10658 1.73538 9.10659 1.73538L9.93879 2.58495C9.9388 2.58495 9.9388 2.58495 9.9388 2.58496C9.99645 2.64381 10.0508 2.70475 10.1019 2.76754C10.3002 3.0113 10.6804 3.07698 10.9003 2.85252C11.0424 2.70754 11.0721 2.4836 10.9533 2.31904C10.849 2.17452 10.7327 2.03614 10.6046 1.90532C10.6046 1.9053 10.6046 1.90529 10.6045 1.90528L9.77236 1.05572C9.77236 1.05572 9.77235 1.05572 9.77235 1.05572C8.39351 -0.351905 6.15792 -0.351905 4.77907 1.05571C4.77907 1.05572 4.77907 1.05572 4.77906 1.05572L1.03414 4.87877C1.03413 4.87878 1.03413 4.87878 1.03413 4.87878C-0.344706 6.2864 -0.34471 8.56858 1.03412 9.9762C1.03413 9.97621 1.03414 9.97622 1.03415 9.97623L1.86633 10.8258C1.86634 10.8258 1.86635 10.8258 1.86636 10.8258C3.24521 12.2334 5.48072 12.2334 6.85962 10.8258C6.85963 10.8258 6.85964 10.8258 6.85964 10.8258L9.28893 8.34581C9.47006 8.1609 9.47006 7.86509 9.28893 7.68018C9.10243 7.48979 8.79591 7.48979 8.60942 7.68018L6.19386 10.1461C6.19386 10.1461 6.19386 10.1461 6.19386 10.1461C5.1827 11.1784 3.54326 11.1784 2.53215 10.1461C2.53213 10.1461 2.53211 10.1461 2.53209 10.1461L1.69991 9.29657C1.69991 9.29657 1.6999 9.29656 1.6999 9.29655C0.688737 8.2643 0.688739 6.59069 1.6999 5.55844C1.6999 5.55843 1.69991 5.55843 1.69991 5.55843L5.44484 1.73538C5.44484 1.73538 5.44484 1.73537 5.44484 1.73537C6.45601 0.703119 8.09541 0.703118 9.10658 1.73537Z" transform="translate(28.9286 22.8312) rotate(-180)" fill="white"/>
147
- <path d="M5.44484 1.73538L5.23053 1.52545L5.44484 1.73538ZM5.44484 1.73537L5.23053 1.52544L5.44484 1.73537ZM1.6999 5.55844L1.48559 5.3485L1.6999 5.55844ZM1.69991 5.55843L1.91422 5.76836L1.69991 5.55843ZM1.69991 9.29657L1.91422 9.08664L1.69991 9.29657ZM1.6999 9.29655L1.91421 9.08662L1.6999 9.29655ZM2.53215 10.1461L2.31784 10.3561L2.53215 10.1461ZM2.53209 10.1461L2.31778 10.356L2.53209 10.1461ZM6.19386 10.1461L5.97955 9.93618L6.19386 10.1461ZM6.19386 10.1461L6.40817 10.356L6.19386 10.1461ZM8.60942 7.68018L8.82373 7.89011L8.60942 7.68018ZM9.28893 8.34581L9.07462 8.13588L9.28893 8.34581ZM6.85962 10.8258L6.64532 10.6158L6.85962 10.8258ZM6.85964 10.8258L7.07395 11.0357L6.85964 10.8258ZM1.86633 10.8258L2.08064 10.6158L1.86633 10.8258ZM1.86636 10.8258L2.08067 10.6159L1.86636 10.8258ZM1.03412 9.9762L1.24843 9.76628L1.03412 9.9762ZM1.03415 9.97623L0.819841 10.1862L1.03415 9.97623ZM1.03414 4.87877L0.819827 4.66884L1.03414 4.87877ZM1.03413 4.87878L1.24844 5.08871L1.03413 4.87878ZM4.77907 1.05571L4.99338 1.26564L4.77907 1.05571ZM4.77906 1.05572L4.99338 1.26565L4.77906 1.05572ZM9.77236 1.05572L9.55805 1.26565L9.77236 1.05572ZM9.77235 1.05572L9.98666 0.845785L9.77235 1.05572ZM10.6046 1.90532L10.8189 1.6954L10.6046 1.90532ZM10.6045 1.90528L10.8189 1.69535L10.6045 1.90528ZM10.9533 2.31904L10.7101 2.49464L10.9533 2.31904ZM10.1019 2.76754L9.86916 2.95685L10.1019 2.76754ZM9.10659 1.73538L9.3209 1.52545L9.10659 1.73538ZM9.10658 1.73537L8.89227 1.9453L9.10658 1.73537ZM9.93879 2.58495L10.1531 2.37502L9.93879 2.58495ZM9.9388 2.58496L10.1531 2.37503L9.9388 2.58496ZM10.1531 2.37502L9.3209 1.52545L8.89228 1.94531L9.72448 2.79488L10.1531 2.37502ZM10.3346 2.57823C10.2777 2.50832 10.2172 2.4405 10.1531 2.37503L9.72449 2.79488C9.77566 2.84713 9.82388 2.90119 9.86916 2.95685L10.3346 2.57823ZM11.1966 2.14344C11.0835 1.98684 10.9576 1.83698 10.8189 1.6954L10.3903 2.11524C10.5079 2.2353 10.6145 2.3622 10.7101 2.49464L11.1966 2.14344ZM10.8189 1.69535L9.98667 0.845789L9.55805 1.26565L10.3902 2.11521L10.8189 1.69535ZM9.98666 0.845785C8.49018 -0.681928 6.06124 -0.681928 4.56476 0.845784L4.99338 1.26564C6.25459 -0.0218819 8.29683 -0.0218814 9.55804 1.26565L9.98666 0.845785ZM4.56475 0.84579L0.819827 4.66884L1.24845 5.0887L4.99338 1.26565L4.56475 0.84579ZM0.819819 4.66885C-0.673269 6.1931 -0.673273 8.66187 0.819807 10.1861L1.24843 9.76628C-0.0161474 8.47529 -0.016144 6.37969 1.24844 5.08871L0.819819 4.66885ZM0.819841 10.1862L1.65203 11.0357L2.08064 10.6158L1.24846 9.7663L0.819841 10.1862ZM1.65205 11.0357C3.14854 12.5634 5.57739 12.5634 7.07393 11.0357L6.64532 10.6158C5.38405 11.9034 3.34188 11.9034 2.08067 10.6159L1.65205 11.0357ZM7.07395 11.0357L9.50324 8.55574L9.07462 8.13588L6.64533 10.6158L7.07395 11.0357ZM6.40817 10.356L8.82373 7.89011L8.39511 7.47025L5.97955 9.93618L6.40817 10.356ZM2.31784 10.3561C3.44659 11.5084 5.27938 11.5084 6.40817 10.356L5.97955 9.93618C5.08603 10.8483 3.63993 10.8483 2.74646 9.93621L2.31784 10.3561ZM1.48561 9.50651L2.31778 10.356L2.7464 9.93615L1.91422 9.08664L1.48561 9.50651ZM1.48559 5.3485C0.360176 6.49739 0.360173 8.35759 1.48559 9.50648L1.91421 9.08662C1.0173 8.171 1.0173 6.68399 1.91421 5.76837L1.48559 5.3485ZM5.23053 1.52545L1.4856 5.3485L1.91422 5.76836L5.65915 1.94531L5.23053 1.52545ZM9.32089 1.52544C8.19208 0.373095 6.35934 0.373096 5.23053 1.52544L5.65915 1.9453C6.55268 1.03314 7.99874 1.03314 8.89227 1.9453L9.32089 1.52544ZM5.65915 1.94531C5.65915 1.94531 5.65915 1.94531 5.65915 1.9453L5.23053 1.52544C5.23053 1.52544 5.23053 1.52544 5.23053 1.52545L5.65915 1.94531ZM1.91421 5.76837C1.91421 5.76837 1.91422 5.76836 1.91422 5.76836L1.4856 5.3485C1.4856 5.3485 1.48559 5.3485 1.48559 5.3485L1.91421 5.76837ZM1.91422 9.08664C1.91422 9.08663 1.91421 9.08663 1.91421 9.08662L1.48559 9.50648C1.48559 9.50649 1.4856 9.5065 1.48561 9.50651L1.91422 9.08664ZM2.74646 9.93621C2.74644 9.93619 2.74642 9.93617 2.7464 9.93615L2.31778 10.356C2.3178 10.356 2.31782 10.356 2.31784 10.3561L2.74646 9.93621ZM5.97955 9.93618C5.97955 9.93618 5.97955 9.93618 5.97955 9.93618L6.40817 10.356C6.40817 10.356 6.40817 10.356 6.40817 10.356L5.97955 9.93618ZM9.50324 7.47025C9.1991 7.15977 8.69924 7.15977 8.39511 7.47025L8.82373 7.89011C8.89259 7.81981 9.00576 7.81981 9.07462 7.89011L9.50324 7.47025ZM9.50324 8.55574C9.79862 8.25419 9.79862 7.77179 9.50324 7.47025L9.07462 7.89011C9.1415 7.95838 9.1415 8.0676 9.07462 8.13588L9.50324 8.55574ZM7.07393 11.0357C7.07394 11.0357 7.07395 11.0357 7.07395 11.0357L6.64533 10.6158C6.64533 10.6158 6.64532 10.6158 6.64532 10.6158L7.07393 11.0357ZM1.65203 11.0357C1.65203 11.0357 1.65204 11.0357 1.65205 11.0357L2.08067 10.6159C2.08066 10.6158 2.08065 10.6158 2.08064 10.6158L1.65203 11.0357ZM0.819807 10.1861C0.819819 10.1861 0.81983 10.1862 0.819841 10.1862L1.24846 9.7663C1.24845 9.76629 1.24844 9.76628 1.24843 9.76628L0.819807 10.1861ZM0.819827 4.66884C0.819824 4.66884 0.819822 4.66885 0.819819 4.66885L1.24844 5.08871C1.24844 5.08871 1.24845 5.08871 1.24845 5.0887L0.819827 4.66884ZM4.56476 0.845784C4.56476 0.845786 4.56476 0.845788 4.56475 0.84579L4.99338 1.26565C4.99338 1.26565 4.99338 1.26565 4.99338 1.26564L4.56476 0.845784ZM9.98667 0.845789C9.98667 0.845788 9.98666 0.845787 9.98666 0.845785L9.55804 1.26565C9.55804 1.26565 9.55804 1.26565 9.55805 1.26565L9.98667 0.845789ZM10.8189 1.6954C10.8189 1.69538 10.8189 1.69536 10.8189 1.69535L10.3902 2.11521C10.3902 2.11522 10.3903 2.11523 10.3903 2.11524L10.8189 1.6954ZM11.1146 3.06246C11.3462 2.82606 11.411 2.44051 11.1966 2.14344L10.7101 2.49464C10.7332 2.52669 10.7385 2.58902 10.686 2.64258L11.1146 3.06246ZM9.86916 2.95685C10.1487 3.30046 10.7367 3.44829 11.1146 3.06246L10.686 2.64258C10.652 2.67732 10.6006 2.69693 10.531 2.68804C10.4586 2.67877 10.3842 2.63918 10.3346 2.57823L9.86916 2.95685ZM9.3209 1.52545C9.32089 1.52544 9.32089 1.52544 9.32089 1.52544L8.89227 1.9453C8.89227 1.9453 8.89227 1.94531 8.89228 1.94531L9.3209 1.52545ZM9.72448 2.79488C9.72448 2.79488 9.72448 2.79488 9.72449 2.79488L10.1531 2.37503C10.1531 2.37503 10.1531 2.37502 10.1531 2.37502L9.72448 2.79488Z" transform="translate(28.9286 22.8312) rotate(-180)" fill="white" mask="url(#path-4-outside-2)"/>'
148
- ),
149
- array(
150
- 'example' => 'someone@example.com',
151
- 'placeholder' => 'Email',
152
- 'slug' => 'Email',
153
- 'title' => 'Email',
154
- 'color' => '#FF485F',
155
- 'svg' => '<circle class="color-element" cx="19.4395" cy="19.4395" r="19.4395" fill="#FF485F"/>
156
- <path d="M20.5379 14.2557H1.36919C0.547677 14.2557 0 13.7373 0 12.9597V1.29597C0 0.518387 0.547677 0 1.36919 0H20.5379C21.3594 0 21.9071 0.518387 21.9071 1.29597V12.9597C21.9071 13.7373 21.3594 14.2557 20.5379 14.2557ZM20.5379 12.9597V13.6077V12.9597ZM1.36919 1.29597V12.9597H20.5379V1.29597H1.36919Z" transform="translate(8.48619 12.3117)" fill="white"/>
157
- <path d="M10.9659 8.43548C10.829 8.43548 10.692 8.43548 10.5551 8.30588L0.286184 1.17806C0.012346 0.918864 -0.124573 0.530073 0.149265 0.270879C0.423104 0.0116857 0.833862 -0.117911 1.1077 0.141283L10.9659 7.00991L20.8241 0.141283C21.0979 -0.117911 21.5087 0.0116857 21.7825 0.270879C22.0563 0.530073 21.9194 0.918864 21.6456 1.17806L11.3766 8.30588C11.2397 8.43548 11.1028 8.43548 10.9659 8.43548Z" transform="translate(8.47443 12.9478)" fill="white"/>
158
- <path d="M9.0906 7.13951C8.95368 7.13951 8.81676 7.13951 8.67984 7.00991L0.327768 1.17806C-0.0829894 0.918864 -0.0829899 0.530073 0.190849 0.270879C0.327768 0.0116855 0.738525 -0.117911 1.14928 0.141282L9.50136 5.97314C9.7752 6.23233 9.91212 6.62112 9.63828 6.88032C9.50136 7.00991 9.36444 7.13951 9.0906 7.13951Z" transform="translate(20.6183 18.7799)" fill="white"/>
159
- <path d="M0.696942 7.13951C0.423104 7.13951 0.286185 7.00991 0.149265 6.88032C-0.124573 6.62112 0.012346 6.23233 0.286185 5.97314L8.63826 0.141282C9.04902 -0.117911 9.45977 0.0116855 9.59669 0.270879C9.87053 0.530073 9.73361 0.918864 9.45977 1.17806L1.1077 7.00991C0.970781 7.13951 0.833862 7.13951 0.696942 7.13951Z" transform="translate(8.47443 18.7799)" fill="white"/>'
160
- ),
161
- array(
162
- 'example' => 'myusername',
163
- 'placeholder' => 'Skype',
164
- 'title' => 'Skype',
165
- 'slug' => 'Skype',
166
- 'color' => '#03A9F4',
167
- 'svg' => '<circle class="color-element" cx="19.4395" cy="19.4395" r="19.4395" fill="#03A9F4"/>
168
- <path fill-rule="evenodd" clip-rule="evenodd" d="M10.5634 0.777588C16.0406 0.777588 20.4747 5.05426 20.4747 10.4973C20.4747 11.1453 20.4747 11.9229 20.0834 12.5709C20.4747 13.2189 20.7355 14.1261 20.7355 15.0332C20.7355 18.1436 18.1273 20.7355 14.9974 20.7355C13.9541 20.7355 13.0412 20.4763 12.2587 20.0875C11.6067 20.2171 11.085 20.2171 10.433 20.2171C4.95566 20.2171 0.521637 15.9404 0.521637 10.4973C0.521637 9.84955 0.652008 9.20175 0.782349 8.55392L0.782471 8.55338C0.260834 7.77582 0 6.73904 0 5.70227C0 2.59195 2.60825 0 5.73813 0C6.91183 0 7.95514 0.388794 8.86801 0.907166C9.38965 0.777588 10.0417 0.777588 10.5634 0.777588ZM13.5627 16.718C14.4756 16.3292 15.1276 15.8108 15.6493 15.1628C16.1709 14.5149 16.3013 13.7373 16.0405 12.9597C16.0405 12.3117 15.9101 11.7933 15.6493 11.2749C15.3884 10.7565 14.9972 10.3677 14.4756 10.1086L14.4752 10.1084C13.9536 9.84924 13.4321 9.59012 12.7802 9.33096C12.5034 9.27597 12.2031 9.1976 11.8893 9.11572C11.4638 9.0047 11.0135 8.88718 10.5632 8.81259C10.1953 8.66635 9.86893 8.60263 9.60748 8.55157C9.40552 8.51215 9.24231 8.48029 9.12866 8.4238C8.86792 8.4238 8.60721 8.29428 8.34647 8.16473L8.34619 8.16461C8.08536 8.035 7.82455 7.90543 7.69412 7.77582C7.43329 7.64621 7.43329 7.51663 7.43329 7.25742C7.43329 6.86862 7.69412 6.60944 8.08536 6.35025C8.47659 6.09106 9.12866 5.96146 9.78073 5.96146C10.5632 5.96146 11.0848 6.09106 11.4761 6.35025C11.8673 6.60944 12.1281 6.86865 12.3889 7.38702C12.6497 7.77563 12.9104 8.03476 13.0408 8.16443L13.041 8.16461C13.3018 8.29419 13.5627 8.4238 13.9539 8.4238C14.3451 8.4238 14.7364 8.29419 14.9972 8.035C15.258 7.77582 15.3884 7.51663 15.3884 7.12784C15.3884 6.73904 15.3884 6.35025 15.1276 5.96146C15.0313 5.67429 14.7927 5.45782 14.5169 5.20764C14.4193 5.11908 14.317 5.02631 14.2147 4.92468C13.6931 4.6655 13.1714 4.40631 12.5194 4.14709C11.8673 4.01752 11.0848 3.88791 10.172 3.88791C9.12866 3.88791 8.08536 4.01752 7.30289 4.2767C6.39001 4.53589 5.73795 5.05429 5.34671 5.57266C4.95547 6.09106 4.69464 6.73904 4.69464 7.51663C4.69464 8.29419 4.95547 8.9422 5.34671 9.46057C5.73795 9.97897 6.39001 10.3677 7.04205 10.627C7.69412 10.8861 8.60703 11.1453 9.6503 11.4045C10.4328 11.5341 11.0848 11.6637 11.4761 11.7933C11.8673 11.9229 12.2585 12.0525 12.5194 12.3117C12.7802 12.5709 12.9106 12.8301 12.9106 13.2189C12.9106 13.6077 12.6498 13.9965 12.1281 14.3853C11.6065 14.774 10.9544 14.9036 10.172 14.9036C9.6503 14.9036 9.12866 14.774 8.73743 14.6444C8.47659 14.5149 8.21576 14.2556 7.95496 13.9965C7.91547 13.918 7.86407 13.8277 7.80792 13.7291C7.67859 13.5019 7.52423 13.2308 7.43329 12.9597C7.40817 12.9098 7.38306 12.855 7.35703 12.7983C7.24783 12.5604 7.12225 12.2867 6.91165 12.1821C6.65085 12.0525 6.39001 11.9229 5.99878 11.9229C5.60754 11.9229 5.21631 12.0525 4.95547 12.3117C4.69464 12.5709 4.56424 12.8301 4.56424 13.2189C4.56424 13.8669 4.82507 14.3853 5.21631 15.0332C5.73795 15.6812 6.25961 16.07 6.91165 16.4588C7.82455 16.9772 8.99823 17.2364 10.4328 17.2364C11.6065 17.2364 12.6498 17.1068 13.5627 16.718Z" transform="translate(9.07178 9.07178)" fill="white"/>'
169
- ),
170
- array(
171
- 'example' => 'myusername',
172
- 'placeholder' => __('Phone number', CHT_OPT),
173
- 'slug' => 'Snapchat',
174
- 'title' => 'Snapchat',
175
- 'color' => '#FFE81D',
176
- 'svg' => '<circle class="color-element" cx="19.4395" cy="19.4395" r="19.4395" fill="#FFE81D"/>
177
- <path d="M21.5684 15.5864C18.7017 15.0298 17.3366 12.1073 17.3366 11.9681C17.2001 11.6898 17.2001 11.4115 17.2001 11.2723C17.3366 10.8548 18.0191 10.7157 18.4287 10.5765C18.5652 10.5765 18.7017 10.4373 18.7017 10.4373C19.1112 10.2982 19.3842 10.159 19.5207 9.88067C19.7938 9.60234 19.7938 9.46318 19.7938 9.32402C19.7938 8.90652 19.5207 8.62819 19.1112 8.48903C18.9747 8.48903 18.8382 8.34986 18.7017 8.34986C18.5652 8.34986 18.4287 8.34986 18.2922 8.48903C17.8826 8.62819 17.6096 8.76736 17.3366 8.76736C17.2001 8.76736 17.0636 8.76736 17.0636 8.76736C17.0636 8.62819 17.0636 8.48903 17.0636 8.34986C17.2001 6.81906 17.3366 5.00992 16.7906 3.8966C16.5175 3.20078 15.9715 2.50496 15.4255 1.9483C15.016 1.53081 14.4699 1.11332 13.7874 0.834987C12.6953 4.97691e-07 11.7397 0 11.3302 0C11.1937 0 10.9207 0 10.9207 0C10.3747 0 9.4191 0.139164 8.46354 0.556657C7.9175 0.834986 7.37147 1.25248 6.82544 1.66997C6.2794 2.22663 5.86988 2.92245 5.46035 3.61827C4.91431 4.73159 5.05082 6.54073 5.18733 8.07153C5.18733 8.2107 5.18733 8.34986 5.18733 8.62819C5.05082 8.62819 5.05082 8.62819 4.77781 8.62819C4.50479 8.62819 4.23177 8.48903 3.82224 8.34986C3.68574 8.34986 3.54923 8.2107 3.41272 8.2107C3.1397 8.2107 3.00319 8.2107 2.73018 8.34986C2.45716 8.48903 2.32065 8.76736 2.32065 8.90652C2.32065 9.04568 2.32065 9.32401 2.59366 9.74151C2.73017 9.88067 3.00319 10.0198 3.41272 10.159C3.54923 10.159 3.54922 10.2982 3.68573 10.2982C4.09526 10.4373 4.6413 10.5765 4.91431 10.994C5.05082 11.1332 4.91431 11.4115 4.77781 11.6898C4.77781 11.829 4.36828 12.5248 3.68573 13.3598C3.27621 13.7773 2.86668 14.1948 2.32065 14.6123C1.77461 15.0298 1.09207 15.3081 0.409527 15.3081C0.13651 15.3081 2.08296e-06 15.5864 2.08296e-06 15.8647C2.08296e-06 16.0039 2.08296e-06 16.0039 2.08296e-06 16.1431C0.136511 16.4214 0.409528 16.5606 0.682546 16.8389C1.22858 17.1172 1.91112 17.2564 2.86668 17.3955C2.86668 17.5347 3.00319 17.6739 3.00319 17.813C3.00319 17.9522 3.1397 18.0914 3.1397 18.3697C3.1397 18.5089 3.41272 18.7872 3.68573 18.7872C3.82224 18.7872 3.95875 18.7872 4.23177 18.648C4.50479 18.648 4.91431 18.5089 5.32384 18.5089C5.59686 18.5089 5.86988 18.5089 6.14289 18.648C6.68893 18.7872 7.09845 19.0655 7.64449 19.483C8.46354 20.0397 9.28259 20.7355 10.6477 20.7355H10.7842H10.9207C12.2858 20.7355 13.1048 20.0397 13.9239 19.483C14.4699 19.0655 14.8794 18.7872 15.4255 18.648C15.6985 18.648 15.9715 18.5089 16.2445 18.5089C16.6541 18.5089 17.0636 18.5089 17.3366 18.648C17.6096 18.648 17.7461 18.648 17.8826 18.648C18.1557 18.648 18.4287 18.5089 18.4287 18.2305C18.4287 18.0914 18.5652 17.9522 18.5652 17.6739C18.5652 17.5347 18.7017 17.2564 18.7017 17.2564C19.6572 17.1172 20.3398 16.9781 20.8858 16.6997C21.2954 16.5606 21.5684 16.2822 21.5684 16.0039C21.5684 15.8647 21.5684 15.8647 21.5684 15.7256C21.9779 15.8647 21.8414 15.5864 21.5684 15.5864Z" transform="translate(8.52631 9.07178)" fill="white"/>'
178
- ),
179
- array(
180
- 'example' => '+1507854875',
181
- 'placeholder' => __('Phone number', CHT_OPT),
182
- 'slug' => 'Viber',
183
- 'title' => 'Viber',
184
- 'color' => '#665CAC',
185
- 'svg' => '<circle class="color-element" cx="19.4395" cy="19.4395" r="19.4395" fill="#665CAC"/>
186
- <path d="M17.6837 2.14833C17.16 1.64578 15.0497 0.0389578 10.3496 0.0158143C10.3496 0.0158143 4.80418 -0.334645 2.10085 2.26405C0.596193 3.84111 0.0662511 6.14886 0.0126261 9.01205C-0.0441534 11.8752 -0.116705 17.2346 4.8168 18.6894H4.81995L4.8168 20.9078C4.8168 20.9078 4.78525 21.8071 5.3499 21.989C6.03125 22.2105 6.43186 21.5294 7.08482 20.7921C7.44127 20.3888 7.93651 19.7936 8.30874 19.3407C11.6808 19.6382 14.2769 18.9572 14.5702 18.858C15.2516 18.6265 19.1063 18.1075 19.7309 12.7481C20.3775 7.22338 19.4154 3.7254 17.6837 2.14833ZM18.2546 12.3513C17.7247 16.828 14.5986 17.1123 14.0245 17.3041C13.7785 17.3867 11.501 17.9818 8.63679 17.7835C8.63679 17.7835 6.50126 20.4813 5.83567 21.1856C5.73158 21.2947 5.60856 21.341 5.52654 21.3178C5.41298 21.2881 5.38144 21.1459 5.38144 20.9376C5.38459 20.64 5.40037 17.2512 5.40037 17.2512C5.39721 17.2512 5.39721 17.2512 5.40037 17.2512C1.23023 16.0378 1.47312 11.4719 1.52044 9.08148C1.56775 6.69108 1.99675 4.73379 3.26798 3.41792C5.55493 1.24904 10.2645 1.57305 10.2645 1.57305C14.2422 1.59288 16.1475 2.84594 16.5891 3.26583C18.0527 4.58501 18.8003 7.73585 18.2546 12.3513Z" transform="translate(9.47299 8.4238)" fill="white"/> <path d="M1.58982 1.72254C1.53935 0.628182 1.00941 0.0562059 0 1.00898e-07" transform="translate(20.166 15.5914)" stroke="white" stroke-width="0.518873" stroke-linecap="round" stroke-linejoin="round"/> <path d="M3.35945 3.69636C3.38153 2.67804 3.09448 1.82834 2.49514 1.14395C1.8958 0.459565 1.06619 0.0793496 1.9253e-07 2.01796e-07" transform="translate(19.7592 14.0966)" stroke="white" stroke-width="0.518873" stroke-linecap="round" stroke-linejoin="round"/> <path d="M5.22371 5.71646C5.21109 3.94763 4.70639 2.55902 3.71275 1.5407C2.71911 0.525689 1.47942 0.00991877 -3.8506e-07 1.00898e-07" transform="translate(19.2931 12.6479)" stroke="white" stroke-width="0.518873" stroke-linecap="round" stroke-linejoin="round"/> <path d="M6.35738 8.04532C6.35738 8.04532 6.73276 8.07838 6.93149 7.81719L7.32263 7.30142C7.5119 7.04353 7.96929 6.88153 8.41722 7.14272C8.66641 7.2915 9.11434 7.57914 9.39193 7.79405C9.68844 8.02218 10.2972 8.55448 10.2972 8.55448C10.5875 8.80906 10.6537 9.18597 10.4581 9.58271C10.4581 9.58602 10.455 9.58933 10.455 9.58933C10.2531 9.96293 9.9818 10.3167 9.63797 10.644C9.63482 10.6473 9.63482 10.6473 9.63167 10.6506C9.35092 10.8953 9.07333 11.0375 8.80205 11.0705C8.77051 11.0771 8.7295 11.0804 8.68219 11.0771C8.56232 11.0771 8.44561 11.0606 8.32889 11.0209L8.31943 11.0077C7.89989 10.8854 7.20277 10.5746 6.03879 9.90342C5.28173 9.467 4.654 9.02066 4.12406 8.57762C3.84331 8.34619 3.55626 8.08169 3.2629 7.77752C3.25344 7.7676 3.24398 7.75768 3.23451 7.74776C3.22505 7.73784 3.21559 7.72792 3.20612 7.718C3.19666 7.70808 3.1872 7.69817 3.17773 7.68825C3.16827 7.67833 3.15881 7.66841 3.14934 7.65849C2.85914 7.35101 2.60678 7.05015 2.38597 6.75589C1.96328 6.20045 1.53744 5.5392 1.12105 4.74902C0.480708 3.52902 0.184194 2.79834 0.0674803 2.35862L0.0548623 2.3487C0.0170094 2.22637 -0.00191702 2.10404 0.0012374 1.9784C-0.00191702 1.92881 0.0012373 1.88583 0.00754613 1.85276C0.0390903 1.56843 0.17473 1.27748 0.408157 0.983227C0.411312 0.979921 0.411311 0.979921 0.414466 0.976615C0.726753 0.616237 1.06112 0.331902 1.42072 0.120304C1.42388 0.120304 1.42703 0.116997 1.42703 0.116997C1.80556 -0.0879887 2.16517 -0.0185578 2.40806 0.285615C2.41121 0.288921 2.91592 0.923716 3.13357 1.2345C3.33861 1.52875 3.6162 1.99493 3.75499 2.25612C4.00419 2.72561 3.84962 3.20501 3.60358 3.40338L3.11149 3.81335C2.86229 4.02495 2.89384 4.41509 2.89384 4.41509C2.89384 4.41509 3.62566 7.31464 6.35738 8.04532Z" transform="translate(13.863 13.0014)" fill="white"/>'
187
- ),
188
- array(
189
- 'example' => 'myusername',
190
- 'placeholder' => __('Link Vkontakte', CHT_OPT),
191
- 'slug' => 'Vkontakte',
192
- 'title' => 'Vkontakte',
193
- 'color' => '#5076AA',
194
- 'svg' => '<circle class="color-element" cx="19.4395" cy="19.4395" r="19.4395" fill="#5076AA"/>
195
- <path d="M11.0953 12.4775H12.5097C12.5097 12.4775 12.934 12.4774 13.0755 12.1971C13.2169 12.0569 13.2169 11.6363 13.2169 11.6363C13.2169 11.6363 13.2169 9.81373 14.0656 9.53334C14.9142 9.25294 15.9043 11.2157 17.0359 12.0569C17.8845 12.6176 18.5917 12.4775 18.5917 12.4775H21.562C21.562 12.4775 23.1178 12.3373 22.4106 11.2157C22.4106 11.0755 21.9863 10.2343 20.1476 8.69216C18.3088 7.0098 18.4503 7.29019 20.8548 4.20588C22.2692 2.38333 22.835 1.26176 22.6935 0.700978C22.5521 0.28039 21.562 0.42059 21.562 0.42059H18.1674C18.1674 0.42059 17.8845 0.420588 17.7431 0.560784C17.6016 0.70098 17.4602 0.981371 17.4602 0.981371C17.4602 0.981371 16.8944 2.38333 16.1872 3.6451C14.6313 6.16863 14.0656 6.30882 13.7827 6.16863C13.2169 5.74804 13.3584 4.62647 13.3584 3.92549C13.3584 1.40196 13.7827 0.420589 12.6512 0.140197C12.2268 1.06543e-06 11.944 -2.13922e-06 11.0953 -2.13922e-06C9.82233 -2.13922e-06 8.83224 -1.06543e-06 8.26647 0.280391C7.84215 0.420587 7.55927 0.841177 7.70071 0.841177C7.9836 0.841177 8.40792 0.98137 8.6908 1.40196C8.97368 1.82255 8.97368 2.94412 8.97368 2.94412C8.97368 2.94412 9.11513 5.88824 8.54936 6.16863C8.12503 6.44902 7.41783 5.88824 6.14485 3.6451C5.43764 2.52353 4.87188 1.12157 4.87188 1.12157C4.87188 1.12157 4.73044 0.841174 4.589 0.700978C4.30611 0.560782 4.02323 0.560784 4.02323 0.560784H0.770071C0.770071 0.560784 0.345746 0.560785 0.0628629 0.841177C-0.0785787 0.981374 0.0628629 1.40196 0.0628629 1.40196C0.0628629 1.40196 2.60881 7.2902 5.43764 10.2343C8.12503 12.7578 11.0953 12.4775 11.0953 12.4775Z" transform="translate(6.78613 14.4898)" fill="white"/>'
196
- ),
197
- array(
198
- 'example' => 'https://waze.com/ul/hdr5ru7vtv',
199
- 'placeholder' => __('Enter a waze link', CHT_OPT),
200
- 'slug' => 'Waze',
201
- 'title' => 'Waze',
202
- 'color' => '#6ECCEF',
203
- 'svg' => '<circle class="color-element" cx="19.4395" cy="19.4395" r="19.4395" fill="#6ECCEF"/>
204
- <path d="M11.6549 16.6733C16.5911 16.6733 20.5675 12.9218 20.5675 8.33667C20.5675 3.7515 16.5911 0 11.6549 0C6.7187 0 2.74233 3.7515 2.74233 8.33667C2.74233 8.33667 3.42791 12.505 0 12.505C0 15.9786 6.17024 16.6733 11.6549 16.6733Z" transform="translate(9.15631 9.71375)"
205
- fill="#6ECCEF" class="color-element"/> <path d="M12.3405 18.0628C3.97637 18.0628 0 16.5344 0 13.1997C0 12.7829 0.274233 12.505 0.685582 12.505C1.37116 12.505 1.91963 12.3661 2.19386 11.9492C3.01656 10.9766 2.74233 9.17034 2.74233 9.17034C2.74233 4.02939 6.99293 0 12.3405 0C17.688 0 21.9386 4.02939 21.9386 9.0314C21.9386 14.0334 17.688 18.0628 12.3405 18.0628ZM1.50828 13.7555C2.19386 15.5618 5.896 16.6733 12.3405 16.6733C16.8653 16.6733 20.5675 13.1997 20.5675 9.0314C20.5675 4.86306 16.8653 1.38945 12.3405 1.38945C7.81563 1.38945 4.11349 4.86306 4.11349 9.0314C4.11349 9.0314 4.52484 11.3935 3.29079 12.7829C2.74233 13.3387 2.19386 13.6166 1.50828 13.7555Z" transform="translate(8.46936 9.01862)" fill="white"/> <path d="M2.74233 5.55778C4.25687 5.55778 5.48465 4.31363 5.48465 2.77889C5.48465 1.24415 4.25687 0 2.74233 0C1.22778 0 0 1.24415 0 2.77889C0 4.31363 1.22778 5.55778 2.74233 5.55778Z" transform="translate(20.8105 24.3027)" fill="white"/> <path d="M2.74233 5.55778C4.25687 5.55778 5.48465 4.31363 5.48465 2.77889C5.48465 1.24415 4.25687 0 2.74233 0C1.22778 0 0 1.24415 0 2.77889C0 4.31363 1.22778 5.55778 2.74233 5.55778Z" transform="translate(12.5836 24.3025)" fill="white"/> <path d="M0.685582 1.38945C0.274233 1.38945 0 1.11156 0 0.694723C0 0.277889 0.274233 0 0.685582 0C1.09693 0 1.37116 0.277889 1.37116 0.694723C1.37116 1.11156 1.09693 1.38945 0.685582 1.38945Z" transform="translate(17.3835 15.2717)" fill="white"/> <path d="M0.685582 1.38945C0.274233 1.38945 0 1.11156 0 0.694723C0 0.277889 0.274233 0 0.685582 0C1.09693 0 1.37116 0.277889 1.37116 0.694723C1.37116 1.11156 1.09693 1.38945 0.685582 1.38945Z" transform="translate(22.8668 15.2717)" fill="white"/> <path d="M4.14916 4.20448C2.22953 4.20448 0.447017 2.81503 0.035668 0.869809C-0.101448 0.452975 0.172786 0.175088 0.584135 0.0361436C0.995484 -0.102801 1.26972 0.17509 1.40683 0.591924C1.68106 1.84242 2.77799 2.81503 4.14916 2.81503C5.52032 2.81503 6.61725 1.84242 6.89148 0.591924C7.0286 0.17509 7.30283 0.0361436 7.71418 0.0361436C8.12553 0.175088 8.26265 0.452975 8.26265 0.869809C7.8513 2.81503 6.06879 4.20448 4.14916 4.20448Z" transform="translate(16.662 18.7092)" fill="white"/>'
206
- ),
207
- array(
208
- 'example' => 'https://app.popt.in/APIRequest/click/34e92354f927c',
209
- 'placeholder' => __('Enter a poptin link', CHT_OPT),
210
- 'slug' => 'Poptin',
211
- 'title' => 'Poptin',
212
- 'color' => '#47A2B1',
213
- 'svg' => '<circle class="color-element" cx="19.4395" cy="19.4395" r="19.4395" fill="#47A2B1"/>
214
- <rect width="21.351" height="17.0808" rx="1.73931" transform="translate(8.76428 12.1953)" fill="white"/> <rect width="18.2112" height="1.83009" rx="0.915044" transform="translate(10.0203 17.6851)" fill="#F2F2F2"/> <rect width="15.0713" height="1.83009" rx="0.915044" transform="translate(10.0203 20.1256)" fill="#F2F2F2"/> <rect width="8.16363" height="1.83009" rx="0.915044" transform="translate(15.0443 24.3958)" fill="#E0E0E0"/> <path d="M0 1.74C0 0.779025 0.779024 0 1.74 0H19.611C20.572 0 21.351 0.779025 21.351 1.74V3.20266H0V1.74Z" transform="translate(8.76428 12.1953)" fill="#E0E0E0"/>'
215
- )
216
- );
217
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
218
  }
1
+ <?php
2
+ namespace CHT\admin;
3
+
4
+ class CHT_Social_Icons
5
+ {
6
+ protected $social_list;
7
+ protected static $instance;
8
+
9
+ private function __construct() {}
10
+
11
+ public static function get_instance()
12
+ {
13
+ if (!self::$instance) {
14
+ self::$instance = new CHT_Social_Icons;
15
+ }
16
+
17
+ return self::$instance;
18
+ }
19
+
20
+ public function get_colors()
21
+ {
22
+ return array(
23
+ '#A886CD' => __('Purple', CHT_OPT),
24
+ '#86CD91' => __('Green', CHT_OPT),
25
+ '#4F6ACA' => __('Blue', CHT_OPT),
26
+ '#FF6060' => __('Red', CHT_OPT),
27
+ '#000' => __('Black', CHT_OPT),
28
+ '#EEF075' => __('Yellow', CHT_OPT),
29
+ '#FF95EE' => __('Pink', CHT_OPT)
30
+ );
31
+ }
32
+
33
+ public function get_widget_types()
34
+ {
35
+ return [
36
+ 'default' => 'default',
37
+ 'smile' => 'smile',
38
+ 'points' => 'points',
39
+ 'two' => 'two',
40
+ 'custom' => 'custom'
41
+ ];
42
+ }
43
+
44
+ public function get_icons_list()
45
+ {
46
+ return array(
47
+ array(
48
+ 'example' => '1507854875',
49
+ 'placeholder' => __('Phone number', CHT_OPT),
50
+ 'slug' => 'Whatsapp',
51
+ 'svg' => '<circle class="color-element" cx="19.4395" cy="19.4395" r="19.4395" fill="#49E670"/>
52
+ <path d="M12.9821 10.1115C12.7029 10.7767 11.5862 11.442 10.7486 11.575C10.1902 11.7081 9.35269 11.8411 6.84003 10.7767C3.48981 9.44628 1.39593 6.25317 1.25634 6.12012C1.11674 5.85403 2.13001e-06 4.39053 2.13001e-06 2.92702C2.13001e-06 1.46351 0.83755 0.665231 1.11673 0.399139C1.39592 0.133046 1.8147 1.01506e-06 2.23348 1.01506e-06C2.37307 1.01506e-06 2.51267 1.01506e-06 2.65226 1.01506e-06C2.93144 1.01506e-06 3.21063 -2.02219e-06 3.35022 0.532183C3.62941 1.19741 4.32736 2.66092 4.32736 2.79397C4.46696 2.92702 4.46696 3.19311 4.32736 3.32616C4.18777 3.59225 4.18777 3.59224 3.90858 3.85834C3.76899 3.99138 3.6294 4.12443 3.48981 4.39052C3.35022 4.52357 3.21063 4.78966 3.35022 5.05576C3.48981 5.32185 4.18777 6.38622 5.16491 7.18449C6.42125 8.24886 7.39839 8.51496 7.81717 8.78105C8.09636 8.91409 8.37554 8.9141 8.65472 8.648C8.93391 8.38191 9.21309 7.98277 9.49228 7.58363C9.77146 7.31754 10.0507 7.1845 10.3298 7.31754C10.609 7.45059 12.2841 8.11582 12.5633 8.38191C12.8425 8.51496 13.1217 8.648 13.1217 8.78105C13.1217 8.78105 13.1217 9.44628 12.9821 10.1115Z" transform="translate(12.9597 12.9597)" fill="#FAFAFA"/>
53
+ <path d="M0.196998 23.295L0.131434 23.4862L0.323216 23.4223L5.52771 21.6875C7.4273 22.8471 9.47325 23.4274 11.6637 23.4274C18.134 23.4274 23.4274 18.134 23.4274 11.6637C23.4274 5.19344 18.134 -0.1 11.6637 -0.1C5.19344 -0.1 -0.1 5.19344 -0.1 11.6637C-0.1 13.9996 0.624492 16.3352 1.93021 18.2398L0.196998 23.295ZM5.87658 19.8847L5.84025 19.8665L5.80154 19.8788L2.78138 20.8398L3.73978 17.9646L3.75932 17.906L3.71562 17.8623L3.43104 17.5777C2.27704 15.8437 1.55796 13.8245 1.55796 11.6637C1.55796 6.03288 6.03288 1.55796 11.6637 1.55796C17.2945 1.55796 21.7695 6.03288 21.7695 11.6637C21.7695 17.2945 17.2945 21.7695 11.6637 21.7695C9.64222 21.7695 7.76778 21.1921 6.18227 20.039L6.17557 20.0342L6.16817 20.0305L5.87658 19.8847Z" transform="translate(7.7758 7.77582)" fill="white" stroke="white" stroke-width="0.2"/>',
54
+ 'title' => 'Whatsapp',
55
+ 'color' => '#49E670'
56
+ ),
57
+ array(
58
+ 'example' => 'https://m.me/Coca-Cola/',
59
+ 'placeholder' => __('https://m.me/Coca-Cola/', CHT_OPT),
60
+ 'slug' => 'Facebook_Messenger',
61
+ 'title' => 'Facebook Messenger',
62
+ 'color' => '#1E88E5',
63
+ 'help' => "Your Facebook page has to be available to all ages and countries (check your page's settings).<br>If you can't find your page's URL, <a href='https://youtu.be/KKVRHyfc_9k' target='_blank'>click here</a> and follow our guide.",
64
+ 'svg' => '<circle class="color-element" cx="19.4395" cy="19.4395" r="19.4395" fill="#1E88E5"/>
65
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M0 9.63934C0 4.29861 4.68939 0 10.4209 0C16.1524 0 20.8418 4.29861 20.8418 9.63934C20.8418 14.98 16.1524 19.2787 10.4209 19.2787C9.37878 19.2787 8.33673 19.1484 7.42487 18.8879L3.90784 20.8418V17.1945C1.56311 15.3708 0 12.6353 0 9.63934ZM8.85779 10.1604L11.463 13.0261L17.1945 6.90384L12.1143 9.76959L9.37885 6.90384L3.64734 13.0261L8.85779 10.1604Z" transform="translate(9.01854 10.3146)" fill="white"/>'
66
+ ),
67
+ array(
68
+ 'example' => '+1507854875',
69
+ 'placeholder' => __('Phone number', CHT_OPT),
70
+ 'slug' => 'SMS',
71
+ 'title' => 'SMS',
72
+ 'color' => '#FF549C',
73
+ 'svg' => '<circle class="color-element" cx="19.4395" cy="19.4395" r="19.4395" fill="#FF549C"/>
74
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M2.60298 0H16.9194C18.351 0 19.5224 1.19321 19.5224 2.65158V14.5838C19.5224 16.0421 18.351 17.2354 16.9194 17.2354H7.4185L3.64418 20.4173C3.51402 20.5499 3.38388 20.5499 3.25372 20.5499H2.99344C2.73314 20.4173 2.60298 20.1521 2.60298 19.887V17.2354C1.17134 17.2354 0 16.0421 0 14.5838V2.65158C0 1.19321 1.17134 0 2.60298 0ZM2.60316 11.2696C2.60316 11.6673 2.86346 11.9325 3.25391 11.9325H4.5554C5.5966 11.9325 6.50764 11.0044 6.50764 9.94376C6.50764 8.88312 5.5966 7.95505 4.5554 7.95505C4.16496 7.95505 3.90465 7.68991 3.90465 7.29218C3.90465 6.89441 4.16496 6.62927 4.5554 6.62927H5.85689C6.24733 6.62927 6.50764 6.36411 6.50764 5.96637C6.50764 5.56863 6.24733 5.30347 5.85689 5.30347H4.5554C3.51421 5.30347 2.60316 6.23154 2.60316 7.29218C2.60316 8.35281 3.51421 9.28085 4.5554 9.28085C4.94585 9.28085 5.20613 9.54602 5.20613 9.94376C5.20613 10.3415 4.94585 10.6067 4.5554 10.6067H3.25391C2.86346 10.6067 2.60316 10.8718 2.60316 11.2696ZM14.9678 11.9325H13.6664C13.2759 11.9325 13.0156 11.6673 13.0156 11.2696C13.0156 10.8718 13.2759 10.6067 13.6664 10.6067H14.9678C15.3583 10.6067 15.6186 10.3415 15.6186 9.94376C15.6186 9.54602 15.3583 9.28085 14.9678 9.28085C13.9267 9.28085 13.0156 8.35281 13.0156 7.29218C13.0156 6.23154 13.9267 5.30347 14.9678 5.30347H16.2693C16.6598 5.30347 16.9201 5.56863 16.9201 5.96637C16.9201 6.36411 16.6598 6.62927 16.2693 6.62927H14.9678C14.5774 6.62927 14.3171 6.89441 14.3171 7.29218C14.3171 7.68991 14.5774 7.95505 14.9678 7.95505C16.009 7.95505 16.9201 8.88312 16.9201 9.94376C16.9201 11.0044 16.009 11.9325 14.9678 11.9325ZM10.4126 11.2697C10.4126 11.6674 10.6729 11.9326 11.0633 11.9326C11.4538 11.9326 11.7141 11.6674 11.8442 11.2697V5.96649C11.8442 5.70135 11.5839 5.43619 11.3236 5.30362C10.9332 5.30362 10.6729 5.43619 10.5427 5.70135L9.76186 7.15973L8.98094 5.70135C8.85081 5.43619 8.46034 5.17102 8.20006 5.30362C7.93977 5.43619 7.67946 5.70135 7.67946 5.96649V11.2697C7.67946 11.6674 7.93977 11.9326 8.33022 11.9326C8.72066 11.9326 8.98094 11.6674 8.98094 11.2697V8.75067L9.1111 8.88327C9.37138 9.28101 10.0221 9.28101 10.2825 8.88327L10.4126 8.75067V11.2697Z" transform="translate(9.67801 10.4601)" fill="white"/>'
75
+ ),
76
+ array(
77
+ 'example' => 'InstagramUsername',
78
+ 'placeholder' => __('InstagramUsername', CHT_OPT),
79
+ 'slug' => 'Instagram',
80
+ 'title' => 'Instagram',
81
+ 'color' => '#ffffff',
82
+ 'svg' => '<defs><linearGradient id="linear-gradient" x1="0.892" y1="0.192" x2="0.128" y2="0.85" gradientUnits="objectBoundingBox"><stop offset="0" stop-color="#4a64d5"/><stop offset="0.322" stop-color="#9737bd"/><stop offset="0.636" stop-color="#f15540"/><stop offset="1" stop-color="#fecc69"/></linearGradient></defs><circle class="color-element" cx="19.5" cy="19.5" r="19.5" fill="url(#linear-gradient)"/>
83
+ <path id="Path_1923" data-name="Path 1923" d="M13.177,0H5.022A5.028,5.028,0,0,0,0,5.022v8.155A5.028,5.028,0,0,0,5.022,18.2h8.155A5.028,5.028,0,0,0,18.2,13.177V5.022A5.028,5.028,0,0,0,13.177,0Zm3.408,13.177a3.412,3.412,0,0,1-3.408,3.408H5.022a3.411,3.411,0,0,1-3.408-3.408V5.022A3.412,3.412,0,0,1,5.022,1.615h8.155a3.412,3.412,0,0,1,3.408,3.408v8.155Z" transform="translate(10 10.4)" fill="#fff"/><path id="Path_1924" data-name="Path 1924" d="M45.658,40.97a4.689,4.689,0,1,0,4.69,4.69A4.695,4.695,0,0,0,45.658,40.97Zm0,7.764a3.075,3.075,0,1,1,3.075-3.075A3.078,3.078,0,0,1,45.658,48.734Z" transform="translate(-26.558 -26.159)" fill="#fff"/><path id="Path_1925" data-name="Path 1925" d="M120.105,28.251a1.183,1.183,0,1,0,.838.347A1.189,1.189,0,0,0,120.105,28.251Z" transform="translate(-96.119 -14.809)" fill="#fff"/>'
84
+ ),
85
+ array(
86
+ 'example' => 'myusername',
87
+ 'placeholder' => __('User Name', CHT_OPT),
88
+ 'slug' => 'Telegram',
89
+ 'title' => 'Telegram',
90
+ 'color' => '#3E99D8',
91
+ 'svg' => '<circle class="color-element" cx="19.4395" cy="19.4395" r="19.4395" fill="#3E99D8"/>
92
+ <path d="M3.56917 -2.55497e-07L0 6.42978L7.5349 1.87535L3.56917 -2.55497e-07Z" transform="translate(13.9704 24.6145)" fill="#E0E0E0"/>
93
+ <path d="M20.8862 0.133954C20.754 0 20.4897 0 20.2253 0L0.396574 8.03723C0.132191 8.17118 0 8.43909 0 8.707C0 8.97491 0.132191 9.24282 0.396574 9.37677L17.5814 17.414C17.7136 17.414 17.7136 17.414 17.8458 17.414C17.978 17.414 18.1102 17.414 18.1102 17.28C18.2424 17.1461 18.3746 17.0121 18.5068 16.7442L21.1506 0.669769C21.1506 0.535815 21.1506 0.267908 20.8862 0.133954Z" transform="translate(7.36069 10.9512)" fill="white"/>
94
+ <path d="M13.8801 0L0 11.52V19.4233L3.70136 13.2614L13.8801 0Z" transform="translate(13.9704 11.6208)" fill="#F2F2F2"/>'
95
+ ),
96
+ array(
97
+ 'example' => 'http://line.me/ti/p/2a-s5A2B8B',
98
+ 'placeholder' => __('User Name', CHT_OPT),
99
+ 'slug' => 'Line',
100
+ 'title' => 'Line',
101
+ 'color' => '#38B900',
102
+ 'svg' => '
103
+ <circle class="color-element" cx="19.4395" cy="19.4395" r="19.4395" fill="#38B900"></circle>
104
+ <path d="M24 9.36561C24 4.19474 18.6178 0 12 0C5.38215 0 0 4.19474 0 9.36561C0 13.9825 4.25629 17.8606 10.0229 18.5993C10.4073 18.6785 10.9565 18.8368 11.0664 19.1797C11.1762 19.4699 11.1487 19.9184 11.0938 20.235C11.0938 20.235 10.9565 21.0528 10.9291 21.2111C10.8741 21.5013 10.6819 22.3456 11.9725 21.8443C13.2632 21.3167 18.8924 17.9398 21.3913 15.1433C23.1487 13.2702 24 11.4234 24 9.36561Z" transform="translate(7 10)" fill="white"></path>
105
+ <path d="M1.0984 0H0.24714C0.10984 0 -2.09503e-07 0.105528 -2.09503e-07 0.211056V5.22364C-2.09503e-07 5.35555 0.10984 5.43469 0.24714 5.43469H1.0984C1.2357 5.43469 1.34554 5.32917 1.34554 5.22364V0.211056C1.34554 0.105528 1.2357 0 1.0984 0Z" transform="translate(15.4577 16.8593)" fill="#38B900" class="color-element"></path>
106
+ <path d="M4.66819 0H3.81693C3.67963 0 3.56979 0.105528 3.56979 0.211056V3.19222L1.18078 0.0791458C1.18078 0.0791458 1.18078 0.0527642 1.15332 0.0527642C1.15332 0.0527642 1.15332 0.0527641 1.12586 0.0263821C1.12586 0.0263821 1.12586 0.0263821 1.0984 0.0263821H0.247139C0.10984 0.0263821 4.19006e-07 0.13191 4.19006e-07 0.237438V5.25002C4.19006e-07 5.38193 0.10984 5.46108 0.247139 5.46108H1.0984C1.2357 5.46108 1.34554 5.35555 1.34554 5.25002V2.26885L3.73455 5.38193C3.76201 5.40831 3.76201 5.43469 3.78947 5.43469C3.78947 5.43469 3.78947 5.43469 3.81693 5.43469C3.81693 5.43469 3.81693 5.43469 3.84439 5.43469C3.87185 5.43469 3.87185 5.43469 3.89931 5.43469H4.75057C4.88787 5.43469 4.99771 5.32917 4.99771 5.22364V0.211056C4.91533 0.105528 4.80549 0 4.66819 0Z" transform="translate(17.6819 16.8593)" fill="#38B900" class="color-element"></path>
107
+ <path d="M3.62471 4.22112H1.34554V0.237438C1.34554 0.105528 1.2357 0 1.0984 0H0.24714C0.10984 0 -5.23757e-08 0.105528 -5.23757e-08 0.237438V5.25002C-5.23757e-08 5.30278 0.0274599 5.35555 0.0549198 5.40831C0.10984 5.43469 0.16476 5.46108 0.21968 5.46108H3.56979C3.70709 5.46108 3.78947 5.35555 3.78947 5.22364V4.4058C3.87185 4.32665 3.76201 4.22112 3.62471 4.22112Z" transform="translate(10.8993 16.8593)" fill="#38B900" class="color-element"></path>
108
+ <path d="M3.56979 1.29272C3.70709 1.29272 3.78947 1.18719 3.78947 1.05528V0.237438C3.78947 0.105528 3.67963 -1.00639e-07 3.56979 -1.00639e-07H0.219679C0.164759 -1.00639e-07 0.10984 0.0263821 0.0549199 0.0527641C0.02746 0.105528 -2.09503e-07 0.158292 -2.09503e-07 0.211056V5.22364C-2.09503e-07 5.2764 0.02746 5.32917 0.0549199 5.38193C0.10984 5.40831 0.164759 5.43469 0.219679 5.43469H3.56979C3.70709 5.43469 3.78947 5.32917 3.78947 5.19726V4.37941C3.78947 4.2475 3.67963 4.14198 3.56979 4.14198H1.29062V3.29775H3.56979C3.70709 3.29775 3.78947 3.19222 3.78947 3.06031V2.24247C3.78947 2.11056 3.67963 2.00503 3.56979 2.00503H1.29062V1.16081H3.56979V1.29272Z" transform="translate(23.421 16.8329)" fill="#38B900" class="color-element"></path>'
109
+ ),
110
+ array(
111
+ 'example' => 'UserID',
112
+ 'placeholder' => __('User Name', CHT_OPT),
113
+ 'slug' => 'WeChat',
114
+ 'title' => 'WeChat',
115
+ 'color' => '#45DC00',
116
+ 'help' => "Unfortunately, WeChat doesn't have a click-to-chat API, therefore we can only show your username on-click so visitors can look-up for it. We have a QR upload option available in the pro plan",
117
+ 'svg' => ' <circle class="color-element" cx="19.4395" cy="19.4395" r="19.4395" fill="#45DC00"></circle>
118
+ <path d="M17.3707 6.90938C15.0508 7.03077 13.0281 7.71242 11.3888 9.26248C9.73039 10.8312 8.97307 12.7455 9.18397 15.1172C8.27327 15.0052 7.44884 14.8838 6.61482 14.8184C6.32723 14.7904 5.99171 14.8278 5.74246 14.9585C4.93721 15.4067 4.16071 15.9016 3.24042 16.4619C3.41298 15.7242 3.51843 15.0705 3.71015 14.4449C3.85395 13.9874 3.78685 13.7353 3.35546 13.4364C0.584998 11.5222 -0.594125 8.65553 0.287821 5.69547C1.10266 2.95952 3.09663 1.30674 5.80957 0.447674C9.50991 -0.728879 13.68 0.475687 15.9232 3.33303C16.738 4.36952 17.2365 5.53673 17.3707 6.90938ZM6.69152 5.98494C6.71069 5.44336 6.23137 4.95779 5.65619 4.93912C5.07142 4.92044 4.5921 5.35932 4.57293 5.91958C4.55375 6.48918 5.00431 6.94673 5.58908 6.95607C6.18344 6.97474 6.67234 6.53587 6.69152 5.98494ZM12.2612 4.93912C11.686 4.94846 11.2067 5.42468 11.2163 5.96627C11.2259 6.52653 11.7052 6.9654 12.29 6.9654C12.8843 6.95607 13.3253 6.51719 13.3253 5.93825C13.3157 5.37799 12.846 4.92978 12.2612 4.93912Z" transform="translate(7 9)" fill="white"></path>
119
+ <path d="M12.48 13.2605C11.7418 12.943 11.0708 12.4668 10.3518 12.3921C9.63283 12.3174 8.88509 12.7189 8.13735 12.7936C5.8558 13.0177 3.8139 12.4014 2.13629 10.8887C-1.06556 8.00334 -0.605416 3.57726 3.09492 1.21482C6.38305 -0.886168 11.2146 -0.185839 13.5345 2.72753C15.5572 5.26739 15.3175 8.64764 12.8538 10.786C12.1349 11.4023 11.876 11.9158 12.3362 12.7282C12.4225 12.8776 12.432 13.0737 12.48 13.2605ZM4.11108 5.3701C4.58081 5.3701 4.96426 5.01527 4.98344 4.56706C5.00261 4.09084 4.60957 3.68932 4.12066 3.68932C3.63176 3.68932 3.22913 4.09084 3.2483 4.55772C3.26748 5.00593 3.65093 5.3701 4.11108 5.3701ZM9.5082 3.68932C9.05764 3.68932 8.6646 4.04415 8.64543 4.49236C8.62626 4.96858 9.00971 5.36077 9.48903 5.36077C9.95876 5.36077 10.3326 5.01527 10.3422 4.55772C10.371 4.09084 9.98752 3.68932 9.5082 3.68932Z" transform="translate(17.1057 16.7395)" fill="white"></path>'
120
+ ),
121
+ array(
122
+ 'example' => 'MyTwitterHandle',
123
+ 'placeholder' => __('Twitter', CHT_OPT),
124
+ 'slug' => 'Twitter',
125
+ 'title' => 'Twitter',
126
+ 'color' => '#1ab2e8',
127
+ 'svg' => '<circle class="color-element" cx="19.5" cy="19.5" r="19.5" fill="#1ab2e8"/>
128
+ <path id="path_color_twitter" d="M18.532,59.222a7.592,7.592,0,0,1-2.183.6,3.817,3.817,0,0,0,1.671-2.1,7.664,7.664,0,0,1-2.416.923,3.8,3.8,0,0,0-6.478,3.466,10.792,10.792,0,0,1-7.835-3.972A3.806,3.806,0,0,0,2.469,63.21a3.8,3.8,0,0,1-1.722-.477v.047A3.805,3.805,0,0,0,3.8,66.508a3.85,3.85,0,0,1-1,.133,3.649,3.649,0,0,1-.716-.071,3.8,3.8,0,0,0,3.55,2.64A7.627,7.627,0,0,1,.908,70.835,8.079,8.079,0,0,1,0,70.783a10.745,10.745,0,0,0,5.827,1.71A10.741,10.741,0,0,0,16.643,61.678l-.013-.492A7.591,7.591,0,0,0,18.532,59.222Z" transform="translate(9.999 -45.441)" fill="#fff"/>'
129
+ ),
130
+ array(
131
+ 'example' => 'https://goo.gl/maps/4m93C84v2DC2',
132
+ 'placeholder' => __('Maps link', CHT_OPT),
133
+ 'slug' => 'Google_Maps',
134
+ 'title' => 'Google Map',
135
+ 'color' => '#37AA66',
136
+ 'svg' => '<circle class="color-element" cx="19.4395" cy="19.4395" r="19.4395" fill="#37AA66"/>
137
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M0 8.06381C0 3.68631 3.68633 0 8.06383 0C12.4413 0 16.1276 3.68631 16.1276 8.06381C16.1276 12.2109 9.67659 19.5835 8.9854 20.2747C8.755 20.5051 8.29422 20.7355 8.06383 20.7355C7.83344 20.7355 7.37263 20.5051 7.14224 20.2747C6.45107 19.5835 0 12.2109 0 8.06381ZM11.5203 8.06378C11.5203 9.97244 9.97302 11.5197 8.06436 11.5197C6.15572 11.5197 4.60844 9.97244 4.60844 8.06378C4.60844 6.15515 6.15572 4.60788 8.06436 4.60788C9.97302 4.60788 11.5203 6.15515 11.5203 8.06378Z" transform="translate(11.3764 9.07178)" fill="white"/>'
138
+ ),
139
+ array(
140
+ 'example' => 'https://www.example.com/contact',
141
+ 'placeholder' => __('Link', CHT_OPT),
142
+ 'slug' => 'Custom_Link',
143
+ 'title' => 'Custom Link',
144
+ 'color' => '#1E88E5',
145
+ 'help' => "You can use this channel to add any custom channel you want. You can link to a specific form on your site or any social network. You can customize the color, upload a custom image, and change the on-hover text in the Pro plans",
146
+ 'help_title' => 'How do I use this?',
147
+ 'svg' => '<circle class="color-element" cx="19.4395" cy="19.4395" r="19.4395" fill="#1E88E5"/>
148
+ <mask id="path-2-outside-1" maskUnits="userSpaceOnUse" x="-1" y="-1" width="13" height="14" fill="black">
149
+ <rect fill="white" x="-1" y="-1" width="13" height="14"/>
150
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M9.10658 1.73537C9.10658 1.73537 9.10658 1.73538 9.10659 1.73538L9.93879 2.58495C9.9388 2.58495 9.9388 2.58495 9.9388 2.58496C9.99645 2.64381 10.0508 2.70475 10.1019 2.76754C10.3002 3.0113 10.6804 3.07698 10.9003 2.85252C11.0424 2.70754 11.0721 2.4836 10.9533 2.31904C10.849 2.17452 10.7327 2.03614 10.6046 1.90532C10.6046 1.9053 10.6046 1.90529 10.6045 1.90528L9.77236 1.05572C9.77236 1.05572 9.77235 1.05572 9.77235 1.05572C8.39351 -0.351905 6.15792 -0.351905 4.77907 1.05571C4.77907 1.05572 4.77907 1.05572 4.77906 1.05572L1.03414 4.87877C1.03413 4.87878 1.03413 4.87878 1.03413 4.87878C-0.344706 6.2864 -0.34471 8.56858 1.03412 9.9762C1.03413 9.97621 1.03414 9.97622 1.03415 9.97623L1.86633 10.8258C1.86634 10.8258 1.86635 10.8258 1.86636 10.8258C3.24521 12.2334 5.48072 12.2334 6.85962 10.8258C6.85963 10.8258 6.85964 10.8258 6.85964 10.8258L9.28893 8.34581C9.47006 8.1609 9.47006 7.86509 9.28893 7.68018C9.10243 7.48979 8.79591 7.48979 8.60942 7.68018L6.19386 10.1461C6.19386 10.1461 6.19386 10.1461 6.19386 10.1461C5.1827 11.1784 3.54326 11.1784 2.53215 10.1461C2.53213 10.1461 2.53211 10.1461 2.53209 10.1461L1.69991 9.29657C1.69991 9.29657 1.6999 9.29656 1.6999 9.29655C0.688737 8.2643 0.688739 6.59069 1.6999 5.55844C1.6999 5.55843 1.69991 5.55843 1.69991 5.55843L5.44484 1.73538C5.44484 1.73538 5.44484 1.73537 5.44484 1.73537C6.45601 0.703119 8.09541 0.703118 9.10658 1.73537Z"/>
151
+ </mask>
152
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M9.10658 1.73537C9.10658 1.73537 9.10658 1.73538 9.10659 1.73538L9.93879 2.58495C9.9388 2.58495 9.9388 2.58495 9.9388 2.58496C9.99645 2.64381 10.0508 2.70475 10.1019 2.76754C10.3002 3.0113 10.6804 3.07698 10.9003 2.85252C11.0424 2.70754 11.0721 2.4836 10.9533 2.31904C10.849 2.17452 10.7327 2.03614 10.6046 1.90532C10.6046 1.9053 10.6046 1.90529 10.6045 1.90528L9.77236 1.05572C9.77236 1.05572 9.77235 1.05572 9.77235 1.05572C8.39351 -0.351905 6.15792 -0.351905 4.77907 1.05571C4.77907 1.05572 4.77907 1.05572 4.77906 1.05572L1.03414 4.87877C1.03413 4.87878 1.03413 4.87878 1.03413 4.87878C-0.344706 6.2864 -0.34471 8.56858 1.03412 9.9762C1.03413 9.97621 1.03414 9.97622 1.03415 9.97623L1.86633 10.8258C1.86634 10.8258 1.86635 10.8258 1.86636 10.8258C3.24521 12.2334 5.48072 12.2334 6.85962 10.8258C6.85963 10.8258 6.85964 10.8258 6.85964 10.8258L9.28893 8.34581C9.47006 8.1609 9.47006 7.86509 9.28893 7.68018C9.10243 7.48979 8.79591 7.48979 8.60942 7.68018L6.19386 10.1461C6.19386 10.1461 6.19386 10.1461 6.19386 10.1461C5.1827 11.1784 3.54326 11.1784 2.53215 10.1461C2.53213 10.1461 2.53211 10.1461 2.53209 10.1461L1.69991 9.29657C1.69991 9.29657 1.6999 9.29656 1.6999 9.29655C0.688737 8.2643 0.688739 6.59069 1.6999 5.55844C1.6999 5.55843 1.69991 5.55843 1.69991 5.55843L5.44484 1.73538C5.44484 1.73538 5.44484 1.73537 5.44484 1.73537C6.45601 0.703119 8.09541 0.703118 9.10658 1.73537Z" transform="translate(9.95154 16.0478)" fill="white"/>
153
+ <path d="M5.44484 1.73538L5.23053 1.52545L5.44484 1.73538ZM5.44484 1.73537L5.23053 1.52544L5.44484 1.73537ZM1.6999 5.55844L1.48559 5.3485L1.6999 5.55844ZM1.69991 5.55843L1.91422 5.76836L1.69991 5.55843ZM1.69991 9.29657L1.91422 9.08664L1.69991 9.29657ZM1.6999 9.29655L1.91421 9.08662L1.6999 9.29655ZM2.53215 10.1461L2.31784 10.3561L2.53215 10.1461ZM2.53209 10.1461L2.31778 10.356L2.53209 10.1461ZM6.19386 10.1461L5.97955 9.93618L6.19386 10.1461ZM6.19386 10.1461L6.40817 10.356L6.19386 10.1461ZM8.60942 7.68018L8.82373 7.89011L8.60942 7.68018ZM9.28893 8.34581L9.07462 8.13588L9.28893 8.34581ZM6.85962 10.8258L6.64532 10.6158L6.85962 10.8258ZM6.85964 10.8258L7.07395 11.0357L6.85964 10.8258ZM1.86633 10.8258L2.08064 10.6158L1.86633 10.8258ZM1.86636 10.8258L2.08067 10.6159L1.86636 10.8258ZM1.03412 9.9762L1.24843 9.76628L1.03412 9.9762ZM1.03415 9.97623L0.819841 10.1862L1.03415 9.97623ZM1.03414 4.87877L0.819827 4.66884L1.03414 4.87877ZM1.03413 4.87878L1.24844 5.08871L1.03413 4.87878ZM4.77907 1.05571L4.99338 1.26564L4.77907 1.05571ZM4.77906 1.05572L4.99338 1.26565L4.77906 1.05572ZM9.77236 1.05572L9.55805 1.26565L9.77236 1.05572ZM9.77235 1.05572L9.98666 0.845785L9.77235 1.05572ZM10.6046 1.90532L10.8189 1.6954L10.6046 1.90532ZM10.6045 1.90528L10.8189 1.69535L10.6045 1.90528ZM10.9533 2.31904L10.7101 2.49464L10.9533 2.31904ZM10.1019 2.76754L9.86916 2.95685L10.1019 2.76754ZM9.10659 1.73538L9.3209 1.52545L9.10659 1.73538ZM9.10658 1.73537L8.89227 1.9453L9.10658 1.73537ZM9.93879 2.58495L10.1531 2.37502L9.93879 2.58495ZM9.9388 2.58496L10.1531 2.37503L9.9388 2.58496ZM10.1531 2.37502L9.3209 1.52545L8.89228 1.94531L9.72448 2.79488L10.1531 2.37502ZM10.3346 2.57823C10.2777 2.50832 10.2172 2.4405 10.1531 2.37503L9.72449 2.79488C9.77566 2.84713 9.82388 2.90119 9.86916 2.95685L10.3346 2.57823ZM11.1966 2.14344C11.0835 1.98684 10.9576 1.83698 10.8189 1.6954L10.3903 2.11524C10.5079 2.2353 10.6145 2.3622 10.7101 2.49464L11.1966 2.14344ZM10.8189 1.69535L9.98667 0.845789L9.55805 1.26565L10.3902 2.11521L10.8189 1.69535ZM9.98666 0.845785C8.49018 -0.681928 6.06124 -0.681928 4.56476 0.845784L4.99338 1.26564C6.25459 -0.0218819 8.29683 -0.0218814 9.55804 1.26565L9.98666 0.845785ZM4.56475 0.84579L0.819827 4.66884L1.24845 5.0887L4.99338 1.26565L4.56475 0.84579ZM0.819819 4.66885C-0.673269 6.1931 -0.673273 8.66187 0.819807 10.1861L1.24843 9.76628C-0.0161474 8.47529 -0.016144 6.37969 1.24844 5.08871L0.819819 4.66885ZM0.819841 10.1862L1.65203 11.0357L2.08064 10.6158L1.24846 9.7663L0.819841 10.1862ZM1.65205 11.0357C3.14854 12.5634 5.57739 12.5634 7.07393 11.0357L6.64532 10.6158C5.38405 11.9034 3.34188 11.9034 2.08067 10.6159L1.65205 11.0357ZM7.07395 11.0357L9.50324 8.55574L9.07462 8.13588L6.64533 10.6158L7.07395 11.0357ZM6.40817 10.356L8.82373 7.89011L8.39511 7.47025L5.97955 9.93618L6.40817 10.356ZM2.31784 10.3561C3.44659 11.5084 5.27938 11.5084 6.40817 10.356L5.97955 9.93618C5.08603 10.8483 3.63993 10.8483 2.74646 9.93621L2.31784 10.3561ZM1.48561 9.50651L2.31778 10.356L2.7464 9.93615L1.91422 9.08664L1.48561 9.50651ZM1.48559 5.3485C0.360176 6.49739 0.360173 8.35759 1.48559 9.50648L1.91421 9.08662C1.0173 8.171 1.0173 6.68399 1.91421 5.76837L1.48559 5.3485ZM5.23053 1.52545L1.4856 5.3485L1.91422 5.76836L5.65915 1.94531L5.23053 1.52545ZM9.32089 1.52544C8.19208 0.373095 6.35934 0.373096 5.23053 1.52544L5.65915 1.9453C6.55268 1.03314 7.99874 1.03314 8.89227 1.9453L9.32089 1.52544ZM5.65915 1.94531C5.65915 1.94531 5.65915 1.94531 5.65915 1.9453L5.23053 1.52544C5.23053 1.52544 5.23053 1.52544 5.23053 1.52545L5.65915 1.94531ZM1.91421 5.76837C1.91421 5.76837 1.91422 5.76836 1.91422 5.76836L1.4856 5.3485C1.4856 5.3485 1.48559 5.3485 1.48559 5.3485L1.91421 5.76837ZM1.91422 9.08664C1.91422 9.08663 1.91421 9.08663 1.91421 9.08662L1.48559 9.50648C1.48559 9.50649 1.4856 9.5065 1.48561 9.50651L1.91422 9.08664ZM2.74646 9.93621C2.74644 9.93619 2.74642 9.93617 2.7464 9.93615L2.31778 10.356C2.3178 10.356 2.31782 10.356 2.31784 10.3561L2.74646 9.93621ZM5.97955 9.93618C5.97955 9.93618 5.97955 9.93618 5.97955 9.93618L6.40817 10.356C6.40817 10.356 6.40817 10.356 6.40817 10.356L5.97955 9.93618ZM9.50324 7.47025C9.1991 7.15977 8.69924 7.15977 8.39511 7.47025L8.82373 7.89011C8.89259 7.81981 9.00576 7.81981 9.07462 7.89011L9.50324 7.47025ZM9.50324 8.55574C9.79862 8.25419 9.79862 7.77179 9.50324 7.47025L9.07462 7.89011C9.1415 7.95838 9.1415 8.0676 9.07462 8.13588L9.50324 8.55574ZM7.07393 11.0357C7.07394 11.0357 7.07395 11.0357 7.07395 11.0357L6.64533 10.6158C6.64533 10.6158 6.64532 10.6158 6.64532 10.6158L7.07393 11.0357ZM1.65203 11.0357C1.65203 11.0357 1.65204 11.0357 1.65205 11.0357L2.08067 10.6159C2.08066 10.6158 2.08065 10.6158 2.08064 10.6158L1.65203 11.0357ZM0.819807 10.1861C0.819819 10.1861 0.81983 10.1862 0.819841 10.1862L1.24846 9.7663C1.24845 9.76629 1.24844 9.76628 1.24843 9.76628L0.819807 10.1861ZM0.819827 4.66884C0.819824 4.66884 0.819822 4.66885 0.819819 4.66885L1.24844 5.08871C1.24844 5.08871 1.24845 5.08871 1.24845 5.0887L0.819827 4.66884ZM4.56476 0.845784C4.56476 0.845786 4.56476 0.845788 4.56475 0.84579L4.99338 1.26565C4.99338 1.26565 4.99338 1.26565 4.99338 1.26564L4.56476 0.845784ZM9.98667 0.845789C9.98667 0.845788 9.98666 0.845787 9.98666 0.845785L9.55804 1.26565C9.55804 1.26565 9.55804 1.26565 9.55805 1.26565L9.98667 0.845789ZM10.8189 1.6954C10.8189 1.69538 10.8189 1.69536 10.8189 1.69535L10.3902 2.11521C10.3902 2.11522 10.3903 2.11523 10.3903 2.11524L10.8189 1.6954ZM11.1146 3.06246C11.3462 2.82606 11.411 2.44051 11.1966 2.14344L10.7101 2.49464C10.7332 2.52669 10.7385 2.58902 10.686 2.64258L11.1146 3.06246ZM9.86916 2.95685C10.1487 3.30046 10.7367 3.44829 11.1146 3.06246L10.686 2.64258C10.652 2.67732 10.6006 2.69693 10.531 2.68804C10.4586 2.67877 10.3842 2.63918 10.3346 2.57823L9.86916 2.95685ZM9.3209 1.52545C9.32089 1.52544 9.32089 1.52544 9.32089 1.52544L8.89227 1.9453C8.89227 1.9453 8.89227 1.94531 8.89228 1.94531L9.3209 1.52545ZM9.72448 2.79488C9.72448 2.79488 9.72448 2.79488 9.72449 2.79488L10.1531 2.37503C10.1531 2.37503 10.1531 2.37502 10.1531 2.37502L9.72448 2.79488Z" transform="translate(9.95154 16.0478)" fill="white" mask="url(#path-2-outside-1)"/>
154
+ <mask id="path-4-outside-2" maskUnits="userSpaceOnUse" x="-1" y="-1" width="13" height="14" fill="black">
155
+ <rect fill="white" x="-1" y="-1" width="13" height="14"/>
156
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M9.10658 1.73537C9.10658 1.73537 9.10658 1.73538 9.10659 1.73538L9.93879 2.58495C9.9388 2.58495 9.9388 2.58495 9.9388 2.58496C9.99645 2.64381 10.0508 2.70475 10.1019 2.76754C10.3002 3.0113 10.6804 3.07698 10.9003 2.85252C11.0424 2.70754 11.0721 2.4836 10.9533 2.31904C10.849 2.17452 10.7327 2.03614 10.6046 1.90532C10.6046 1.9053 10.6046 1.90529 10.6045 1.90528L9.77236 1.05572C9.77236 1.05572 9.77235 1.05572 9.77235 1.05572C8.39351 -0.351905 6.15792 -0.351905 4.77907 1.05571C4.77907 1.05572 4.77907 1.05572 4.77906 1.05572L1.03414 4.87877C1.03413 4.87878 1.03413 4.87878 1.03413 4.87878C-0.344706 6.2864 -0.34471 8.56858 1.03412 9.9762C1.03413 9.97621 1.03414 9.97622 1.03415 9.97623L1.86633 10.8258C1.86634 10.8258 1.86635 10.8258 1.86636 10.8258C3.24521 12.2334 5.48072 12.2334 6.85962 10.8258C6.85963 10.8258 6.85964 10.8258 6.85964 10.8258L9.28893 8.34581C9.47006 8.1609 9.47006 7.86509 9.28893 7.68018C9.10243 7.48979 8.79591 7.48979 8.60942 7.68018L6.19386 10.1461C6.19386 10.1461 6.19386 10.1461 6.19386 10.1461C5.1827 11.1784 3.54326 11.1784 2.53215 10.1461C2.53213 10.1461 2.53211 10.1461 2.53209 10.1461L1.69991 9.29657C1.69991 9.29657 1.6999 9.29656 1.6999 9.29655C0.688737 8.2643 0.688739 6.59069 1.6999 5.55844C1.6999 5.55843 1.69991 5.55843 1.69991 5.55843L5.44484 1.73538C5.44484 1.73538 5.44484 1.73537 5.44484 1.73537C6.45601 0.703119 8.09541 0.703118 9.10658 1.73537Z"/>
157
+ </mask>
158
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M9.10658 1.73537C9.10658 1.73537 9.10658 1.73538 9.10659 1.73538L9.93879 2.58495C9.9388 2.58495 9.9388 2.58495 9.9388 2.58496C9.99645 2.64381 10.0508 2.70475 10.1019 2.76754C10.3002 3.0113 10.6804 3.07698 10.9003 2.85252C11.0424 2.70754 11.0721 2.4836 10.9533 2.31904C10.849 2.17452 10.7327 2.03614 10.6046 1.90532C10.6046 1.9053 10.6046 1.90529 10.6045 1.90528L9.77236 1.05572C9.77236 1.05572 9.77235 1.05572 9.77235 1.05572C8.39351 -0.351905 6.15792 -0.351905 4.77907 1.05571C4.77907 1.05572 4.77907 1.05572 4.77906 1.05572L1.03414 4.87877C1.03413 4.87878 1.03413 4.87878 1.03413 4.87878C-0.344706 6.2864 -0.34471 8.56858 1.03412 9.9762C1.03413 9.97621 1.03414 9.97622 1.03415 9.97623L1.86633 10.8258C1.86634 10.8258 1.86635 10.8258 1.86636 10.8258C3.24521 12.2334 5.48072 12.2334 6.85962 10.8258C6.85963 10.8258 6.85964 10.8258 6.85964 10.8258L9.28893 8.34581C9.47006 8.1609 9.47006 7.86509 9.28893 7.68018C9.10243 7.48979 8.79591 7.48979 8.60942 7.68018L6.19386 10.1461C6.19386 10.1461 6.19386 10.1461 6.19386 10.1461C5.1827 11.1784 3.54326 11.1784 2.53215 10.1461C2.53213 10.1461 2.53211 10.1461 2.53209 10.1461L1.69991 9.29657C1.69991 9.29657 1.6999 9.29656 1.6999 9.29655C0.688737 8.2643 0.688739 6.59069 1.6999 5.55844C1.6999 5.55843 1.69991 5.55843 1.69991 5.55843L5.44484 1.73538C5.44484 1.73538 5.44484 1.73537 5.44484 1.73537C6.45601 0.703119 8.09541 0.703118 9.10658 1.73537Z" transform="translate(28.9286 22.8312) rotate(-180)" fill="white"/>
159
+ <path d="M5.44484 1.73538L5.23053 1.52545L5.44484 1.73538ZM5.44484 1.73537L5.23053 1.52544L5.44484 1.73537ZM1.6999 5.55844L1.48559 5.3485L1.6999 5.55844ZM1.69991 5.55843L1.91422 5.76836L1.69991 5.55843ZM1.69991 9.29657L1.91422 9.08664L1.69991 9.29657ZM1.6999 9.29655L1.91421 9.08662L1.6999 9.29655ZM2.53215 10.1461L2.31784 10.3561L2.53215 10.1461ZM2.53209 10.1461L2.31778 10.356L2.53209 10.1461ZM6.19386 10.1461L5.97955 9.93618L6.19386 10.1461ZM6.19386 10.1461L6.40817 10.356L6.19386 10.1461ZM8.60942 7.68018L8.82373 7.89011L8.60942 7.68018ZM9.28893 8.34581L9.07462 8.13588L9.28893 8.34581ZM6.85962 10.8258L6.64532 10.6158L6.85962 10.8258ZM6.85964 10.8258L7.07395 11.0357L6.85964 10.8258ZM1.86633 10.8258L2.08064 10.6158L1.86633 10.8258ZM1.86636 10.8258L2.08067 10.6159L1.86636 10.8258ZM1.03412 9.9762L1.24843 9.76628L1.03412 9.9762ZM1.03415 9.97623L0.819841 10.1862L1.03415 9.97623ZM1.03414 4.87877L0.819827 4.66884L1.03414 4.87877ZM1.03413 4.87878L1.24844 5.08871L1.03413 4.87878ZM4.77907 1.05571L4.99338 1.26564L4.77907 1.05571ZM4.77906 1.05572L4.99338 1.26565L4.77906 1.05572ZM9.77236 1.05572L9.55805 1.26565L9.77236 1.05572ZM9.77235 1.05572L9.98666 0.845785L9.77235 1.05572ZM10.6046 1.90532L10.8189 1.6954L10.6046 1.90532ZM10.6045 1.90528L10.8189 1.69535L10.6045 1.90528ZM10.9533 2.31904L10.7101 2.49464L10.9533 2.31904ZM10.1019 2.76754L9.86916 2.95685L10.1019 2.76754ZM9.10659 1.73538L9.3209 1.52545L9.10659 1.73538ZM9.10658 1.73537L8.89227 1.9453L9.10658 1.73537ZM9.93879 2.58495L10.1531 2.37502L9.93879 2.58495ZM9.9388 2.58496L10.1531 2.37503L9.9388 2.58496ZM10.1531 2.37502L9.3209 1.52545L8.89228 1.94531L9.72448 2.79488L10.1531 2.37502ZM10.3346 2.57823C10.2777 2.50832 10.2172 2.4405 10.1531 2.37503L9.72449 2.79488C9.77566 2.84713 9.82388 2.90119 9.86916 2.95685L10.3346 2.57823ZM11.1966 2.14344C11.0835 1.98684 10.9576 1.83698 10.8189 1.6954L10.3903 2.11524C10.5079 2.2353 10.6145 2.3622 10.7101 2.49464L11.1966 2.14344ZM10.8189 1.69535L9.98667 0.845789L9.55805 1.26565L10.3902 2.11521L10.8189 1.69535ZM9.98666 0.845785C8.49018 -0.681928 6.06124 -0.681928 4.56476 0.845784L4.99338 1.26564C6.25459 -0.0218819 8.29683 -0.0218814 9.55804 1.26565L9.98666 0.845785ZM4.56475 0.84579L0.819827 4.66884L1.24845 5.0887L4.99338 1.26565L4.56475 0.84579ZM0.819819 4.66885C-0.673269 6.1931 -0.673273 8.66187 0.819807 10.1861L1.24843 9.76628C-0.0161474 8.47529 -0.016144 6.37969 1.24844 5.08871L0.819819 4.66885ZM0.819841 10.1862L1.65203 11.0357L2.08064 10.6158L1.24846 9.7663L0.819841 10.1862ZM1.65205 11.0357C3.14854 12.5634 5.57739 12.5634 7.07393 11.0357L6.64532 10.6158C5.38405 11.9034 3.34188 11.9034 2.08067 10.6159L1.65205 11.0357ZM7.07395 11.0357L9.50324 8.55574L9.07462 8.13588L6.64533 10.6158L7.07395 11.0357ZM6.40817 10.356L8.82373 7.89011L8.39511 7.47025L5.97955 9.93618L6.40817 10.356ZM2.31784 10.3561C3.44659 11.5084 5.27938 11.5084 6.40817 10.356L5.97955 9.93618C5.08603 10.8483 3.63993 10.8483 2.74646 9.93621L2.31784 10.3561ZM1.48561 9.50651L2.31778 10.356L2.7464 9.93615L1.91422 9.08664L1.48561 9.50651ZM1.48559 5.3485C0.360176 6.49739 0.360173 8.35759 1.48559 9.50648L1.91421 9.08662C1.0173 8.171 1.0173 6.68399 1.91421 5.76837L1.48559 5.3485ZM5.23053 1.52545L1.4856 5.3485L1.91422 5.76836L5.65915 1.94531L5.23053 1.52545ZM9.32089 1.52544C8.19208 0.373095 6.35934 0.373096 5.23053 1.52544L5.65915 1.9453C6.55268 1.03314 7.99874 1.03314 8.89227 1.9453L9.32089 1.52544ZM5.65915 1.94531C5.65915 1.94531 5.65915 1.94531 5.65915 1.9453L5.23053 1.52544C5.23053 1.52544 5.23053 1.52544 5.23053 1.52545L5.65915 1.94531ZM1.91421 5.76837C1.91421 5.76837 1.91422 5.76836 1.91422 5.76836L1.4856 5.3485C1.4856 5.3485 1.48559 5.3485 1.48559 5.3485L1.91421 5.76837ZM1.91422 9.08664C1.91422 9.08663 1.91421 9.08663 1.91421 9.08662L1.48559 9.50648C1.48559 9.50649 1.4856 9.5065 1.48561 9.50651L1.91422 9.08664ZM2.74646 9.93621C2.74644 9.93619 2.74642 9.93617 2.7464 9.93615L2.31778 10.356C2.3178 10.356 2.31782 10.356 2.31784 10.3561L2.74646 9.93621ZM5.97955 9.93618C5.97955 9.93618 5.97955 9.93618 5.97955 9.93618L6.40817 10.356C6.40817 10.356 6.40817 10.356 6.40817 10.356L5.97955 9.93618ZM9.50324 7.47025C9.1991 7.15977 8.69924 7.15977 8.39511 7.47025L8.82373 7.89011C8.89259 7.81981 9.00576 7.81981 9.07462 7.89011L9.50324 7.47025ZM9.50324 8.55574C9.79862 8.25419 9.79862 7.77179 9.50324 7.47025L9.07462 7.89011C9.1415 7.95838 9.1415 8.0676 9.07462 8.13588L9.50324 8.55574ZM7.07393 11.0357C7.07394 11.0357 7.07395 11.0357 7.07395 11.0357L6.64533 10.6158C6.64533 10.6158 6.64532 10.6158 6.64532 10.6158L7.07393 11.0357ZM1.65203 11.0357C1.65203 11.0357 1.65204 11.0357 1.65205 11.0357L2.08067 10.6159C2.08066 10.6158 2.08065 10.6158 2.08064 10.6158L1.65203 11.0357ZM0.819807 10.1861C0.819819 10.1861 0.81983 10.1862 0.819841 10.1862L1.24846 9.7663C1.24845 9.76629 1.24844 9.76628 1.24843 9.76628L0.819807 10.1861ZM0.819827 4.66884C0.819824 4.66884 0.819822 4.66885 0.819819 4.66885L1.24844 5.08871C1.24844 5.08871 1.24845 5.08871 1.24845 5.0887L0.819827 4.66884ZM4.56476 0.845784C4.56476 0.845786 4.56476 0.845788 4.56475 0.84579L4.99338 1.26565C4.99338 1.26565 4.99338 1.26565 4.99338 1.26564L4.56476 0.845784ZM9.98667 0.845789C9.98667 0.845788 9.98666 0.845787 9.98666 0.845785L9.55804 1.26565C9.55804 1.26565 9.55804 1.26565 9.55805 1.26565L9.98667 0.845789ZM10.8189 1.6954C10.8189 1.69538 10.8189 1.69536 10.8189 1.69535L10.3902 2.11521C10.3902 2.11522 10.3903 2.11523 10.3903 2.11524L10.8189 1.6954ZM11.1146 3.06246C11.3462 2.82606 11.411 2.44051 11.1966 2.14344L10.7101 2.49464C10.7332 2.52669 10.7385 2.58902 10.686 2.64258L11.1146 3.06246ZM9.86916 2.95685C10.1487 3.30046 10.7367 3.44829 11.1146 3.06246L10.686 2.64258C10.652 2.67732 10.6006 2.69693 10.531 2.68804C10.4586 2.67877 10.3842 2.63918 10.3346 2.57823L9.86916 2.95685ZM9.3209 1.52545C9.32089 1.52544 9.32089 1.52544 9.32089 1.52544L8.89227 1.9453C8.89227 1.9453 8.89227 1.94531 8.89228 1.94531L9.3209 1.52545ZM9.72448 2.79488C9.72448 2.79488 9.72448 2.79488 9.72449 2.79488L10.1531 2.37503C10.1531 2.37503 10.1531 2.37502 10.1531 2.37502L9.72448 2.79488Z" transform="translate(28.9286 22.8312) rotate(-180)" fill="white" mask="url(#path-4-outside-2)"/>'
160
+ ),
161
+ array(
162
+ 'example' => '+1507854875',
163
+ 'placeholder' => __('Phone number', CHT_OPT),
164
+ 'slug' => 'Phone',
165
+ 'title' => 'Phone',
166
+ 'color' => '#03E78B',
167
+ 'svg' => '<circle class="color-element" cx="19.4395" cy="19.4395" r="19.4395" fill="#03E78B"/>
168
+ <path d="M19.3929 14.9176C17.752 14.7684 16.2602 14.3209 14.7684 13.7242C14.0226 13.4259 13.1275 13.7242 12.8292 14.4701L11.7849 16.2602C8.65222 14.6193 6.11623 11.9341 4.47529 8.95057L6.41458 7.90634C7.16046 7.60799 7.45881 6.71293 7.16046 5.96705C6.56375 4.47529 6.11623 2.83435 5.96705 1.34259C5.96705 0.596704 5.22117 0 4.47529 0H0.745882C0.298353 0 5.69062e-07 0.298352 5.69062e-07 0.745881C5.69062e-07 3.72941 0.596704 6.71293 1.93929 9.3981C3.87858 13.575 7.30964 16.8569 11.3374 18.7962C14.0226 20.1388 17.0061 20.7355 19.9896 20.7355C20.4371 20.7355 20.7355 20.4371 20.7355 19.9896V16.4094C20.7355 15.5143 20.1388 14.9176 19.3929 14.9176Z" transform="translate(9.07179 9.07178)" fill="white"/>'
169
+ ),
170
+ array(
171
+ 'example' => 'someone@example.com',
172
+ 'placeholder' => 'Email',
173
+ 'slug' => 'Email',
174
+ 'title' => 'Email',
175
+ 'color' => '#FF485F',
176
+ 'svg' => '<circle class="color-element" cx="19.4395" cy="19.4395" r="19.4395" fill="#FF485F"/>
177
+ <path d="M20.5379 14.2557H1.36919C0.547677 14.2557 0 13.7373 0 12.9597V1.29597C0 0.518387 0.547677 0 1.36919 0H20.5379C21.3594 0 21.9071 0.518387 21.9071 1.29597V12.9597C21.9071 13.7373 21.3594 14.2557 20.5379 14.2557ZM20.5379 12.9597V13.6077V12.9597ZM1.36919 1.29597V12.9597H20.5379V1.29597H1.36919Z" transform="translate(8.48619 12.3117)" fill="white"/>
178
+ <path d="M10.9659 8.43548C10.829 8.43548 10.692 8.43548 10.5551 8.30588L0.286184 1.17806C0.012346 0.918864 -0.124573 0.530073 0.149265 0.270879C0.423104 0.0116857 0.833862 -0.117911 1.1077 0.141283L10.9659 7.00991L20.8241 0.141283C21.0979 -0.117911 21.5087 0.0116857 21.7825 0.270879C22.0563 0.530073 21.9194 0.918864 21.6456 1.17806L11.3766 8.30588C11.2397 8.43548 11.1028 8.43548 10.9659 8.43548Z" transform="translate(8.47443 12.9478)" fill="white"/>
179
+ <path d="M9.0906 7.13951C8.95368 7.13951 8.81676 7.13951 8.67984 7.00991L0.327768 1.17806C-0.0829894 0.918864 -0.0829899 0.530073 0.190849 0.270879C0.327768 0.0116855 0.738525 -0.117911 1.14928 0.141282L9.50136 5.97314C9.7752 6.23233 9.91212 6.62112 9.63828 6.88032C9.50136 7.00991 9.36444 7.13951 9.0906 7.13951Z" transform="translate(20.6183 18.7799)" fill="white"/>
180
+ <path d="M0.696942 7.13951C0.423104 7.13951 0.286185 7.00991 0.149265 6.88032C-0.124573 6.62112 0.012346 6.23233 0.286185 5.97314L8.63826 0.141282C9.04902 -0.117911 9.45977 0.0116855 9.59669 0.270879C9.87053 0.530073 9.73361 0.918864 9.45977 1.17806L1.1077 7.00991C0.970781 7.13951 0.833862 7.13951 0.696942 7.13951Z" transform="translate(8.47443 18.7799)" fill="white"/>'
181
+ ),
182
+ array(
183
+ 'example' => 'myusername',
184
+ 'placeholder' => 'Skype',
185
+ 'title' => 'Skype',
186
+ 'slug' => 'Skype',
187
+ 'color' => '#03A9F4',
188
+ 'svg' => '<circle class="color-element" cx="19.4395" cy="19.4395" r="19.4395" fill="#03A9F4"/>
189
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M10.5634 0.777588C16.0406 0.777588 20.4747 5.05426 20.4747 10.4973C20.4747 11.1453 20.4747 11.9229 20.0834 12.5709C20.4747 13.2189 20.7355 14.1261 20.7355 15.0332C20.7355 18.1436 18.1273 20.7355 14.9974 20.7355C13.9541 20.7355 13.0412 20.4763 12.2587 20.0875C11.6067 20.2171 11.085 20.2171 10.433 20.2171C4.95566 20.2171 0.521637 15.9404 0.521637 10.4973C0.521637 9.84955 0.652008 9.20175 0.782349 8.55392L0.782471 8.55338C0.260834 7.77582 0 6.73904 0 5.70227C0 2.59195 2.60825 0 5.73813 0C6.91183 0 7.95514 0.388794 8.86801 0.907166C9.38965 0.777588 10.0417 0.777588 10.5634 0.777588ZM13.5627 16.718C14.4756 16.3292 15.1276 15.8108 15.6493 15.1628C16.1709 14.5149 16.3013 13.7373 16.0405 12.9597C16.0405 12.3117 15.9101 11.7933 15.6493 11.2749C15.3884 10.7565 14.9972 10.3677 14.4756 10.1086L14.4752 10.1084C13.9536 9.84924 13.4321 9.59012 12.7802 9.33096C12.5034 9.27597 12.2031 9.1976 11.8893 9.11572C11.4638 9.0047 11.0135 8.88718 10.5632 8.81259C10.1953 8.66635 9.86893 8.60263 9.60748 8.55157C9.40552 8.51215 9.24231 8.48029 9.12866 8.4238C8.86792 8.4238 8.60721 8.29428 8.34647 8.16473L8.34619 8.16461C8.08536 8.035 7.82455 7.90543 7.69412 7.77582C7.43329 7.64621 7.43329 7.51663 7.43329 7.25742C7.43329 6.86862 7.69412 6.60944 8.08536 6.35025C8.47659 6.09106 9.12866 5.96146 9.78073 5.96146C10.5632 5.96146 11.0848 6.09106 11.4761 6.35025C11.8673 6.60944 12.1281 6.86865 12.3889 7.38702C12.6497 7.77563 12.9104 8.03476 13.0408 8.16443L13.041 8.16461C13.3018 8.29419 13.5627 8.4238 13.9539 8.4238C14.3451 8.4238 14.7364 8.29419 14.9972 8.035C15.258 7.77582 15.3884 7.51663 15.3884 7.12784C15.3884 6.73904 15.3884 6.35025 15.1276 5.96146C15.0313 5.67429 14.7927 5.45782 14.5169 5.20764C14.4193 5.11908 14.317 5.02631 14.2147 4.92468C13.6931 4.6655 13.1714 4.40631 12.5194 4.14709C11.8673 4.01752 11.0848 3.88791 10.172 3.88791C9.12866 3.88791 8.08536 4.01752 7.30289 4.2767C6.39001 4.53589 5.73795 5.05429 5.34671 5.57266C4.95547 6.09106 4.69464 6.73904 4.69464 7.51663C4.69464 8.29419 4.95547 8.9422 5.34671 9.46057C5.73795 9.97897 6.39001 10.3677 7.04205 10.627C7.69412 10.8861 8.60703 11.1453 9.6503 11.4045C10.4328 11.5341 11.0848 11.6637 11.4761 11.7933C11.8673 11.9229 12.2585 12.0525 12.5194 12.3117C12.7802 12.5709 12.9106 12.8301 12.9106 13.2189C12.9106 13.6077 12.6498 13.9965 12.1281 14.3853C11.6065 14.774 10.9544 14.9036 10.172 14.9036C9.6503 14.9036 9.12866 14.774 8.73743 14.6444C8.47659 14.5149 8.21576 14.2556 7.95496 13.9965C7.91547 13.918 7.86407 13.8277 7.80792 13.7291C7.67859 13.5019 7.52423 13.2308 7.43329 12.9597C7.40817 12.9098 7.38306 12.855 7.35703 12.7983C7.24783 12.5604 7.12225 12.2867 6.91165 12.1821C6.65085 12.0525 6.39001 11.9229 5.99878 11.9229C5.60754 11.9229 5.21631 12.0525 4.95547 12.3117C4.69464 12.5709 4.56424 12.8301 4.56424 13.2189C4.56424 13.8669 4.82507 14.3853 5.21631 15.0332C5.73795 15.6812 6.25961 16.07 6.91165 16.4588C7.82455 16.9772 8.99823 17.2364 10.4328 17.2364C11.6065 17.2364 12.6498 17.1068 13.5627 16.718Z" transform="translate(9.07178 9.07178)" fill="white"/>'
190
+ ),
191
+ array(
192
+ 'example' => 'myusername',
193
+ 'placeholder' => __('Phone number', CHT_OPT),
194
+ 'slug' => 'Snapchat',
195
+ 'title' => 'Snapchat',
196
+ 'color' => '#FFE81D',
197
+ 'svg' => '<circle class="color-element" cx="19.4395" cy="19.4395" r="19.4395" fill="#FFE81D"/>
198
+ <path d="M21.5684 15.5864C18.7017 15.0298 17.3366 12.1073 17.3366 11.9681C17.2001 11.6898 17.2001 11.4115 17.2001 11.2723C17.3366 10.8548 18.0191 10.7157 18.4287 10.5765C18.5652 10.5765 18.7017 10.4373 18.7017 10.4373C19.1112 10.2982 19.3842 10.159 19.5207 9.88067C19.7938 9.60234 19.7938 9.46318 19.7938 9.32402C19.7938 8.90652 19.5207 8.62819 19.1112 8.48903C18.9747 8.48903 18.8382 8.34986 18.7017 8.34986C18.5652 8.34986 18.4287 8.34986 18.2922 8.48903C17.8826 8.62819 17.6096 8.76736 17.3366 8.76736C17.2001 8.76736 17.0636 8.76736 17.0636 8.76736C17.0636 8.62819 17.0636 8.48903 17.0636 8.34986C17.2001 6.81906 17.3366 5.00992 16.7906 3.8966C16.5175 3.20078 15.9715 2.50496 15.4255 1.9483C15.016 1.53081 14.4699 1.11332 13.7874 0.834987C12.6953 4.97691e-07 11.7397 0 11.3302 0C11.1937 0 10.9207 0 10.9207 0C10.3747 0 9.4191 0.139164 8.46354 0.556657C7.9175 0.834986 7.37147 1.25248 6.82544 1.66997C6.2794 2.22663 5.86988 2.92245 5.46035 3.61827C4.91431 4.73159 5.05082 6.54073 5.18733 8.07153C5.18733 8.2107 5.18733 8.34986 5.18733 8.62819C5.05082 8.62819 5.05082 8.62819 4.77781 8.62819C4.50479 8.62819 4.23177 8.48903 3.82224 8.34986C3.68574 8.34986 3.54923 8.2107 3.41272 8.2107C3.1397 8.2107 3.00319 8.2107 2.73018 8.34986C2.45716 8.48903 2.32065 8.76736 2.32065 8.90652C2.32065 9.04568 2.32065 9.32401 2.59366 9.74151C2.73017 9.88067 3.00319 10.0198 3.41272 10.159C3.54923 10.159 3.54922 10.2982 3.68573 10.2982C4.09526 10.4373 4.6413 10.5765 4.91431 10.994C5.05082 11.1332 4.91431 11.4115 4.77781 11.6898C4.77781 11.829 4.36828 12.5248 3.68573 13.3598C3.27621 13.7773 2.86668 14.1948 2.32065 14.6123C1.77461 15.0298 1.09207 15.3081 0.409527 15.3081C0.13651 15.3081 2.08296e-06 15.5864 2.08296e-06 15.8647C2.08296e-06 16.0039 2.08296e-06 16.0039 2.08296e-06 16.1431C0.136511 16.4214 0.409528 16.5606 0.682546 16.8389C1.22858 17.1172 1.91112 17.2564 2.86668 17.3955C2.86668 17.5347 3.00319 17.6739 3.00319 17.813C3.00319 17.9522 3.1397 18.0914 3.1397 18.3697C3.1397 18.5089 3.41272 18.7872 3.68573 18.7872C3.82224 18.7872 3.95875 18.7872 4.23177 18.648C4.50479 18.648 4.91431 18.5089 5.32384 18.5089C5.59686 18.5089 5.86988 18.5089 6.14289 18.648C6.68893 18.7872 7.09845 19.0655 7.64449 19.483C8.46354 20.0397 9.28259 20.7355 10.6477 20.7355H10.7842H10.9207C12.2858 20.7355 13.1048 20.0397 13.9239 19.483C14.4699 19.0655 14.8794 18.7872 15.4255 18.648C15.6985 18.648 15.9715 18.5089 16.2445 18.5089C16.6541 18.5089 17.0636 18.5089 17.3366 18.648C17.6096 18.648 17.7461 18.648 17.8826 18.648C18.1557 18.648 18.4287 18.5089 18.4287 18.2305C18.4287 18.0914 18.5652 17.9522 18.5652 17.6739C18.5652 17.5347 18.7017 17.2564 18.7017 17.2564C19.6572 17.1172 20.3398 16.9781 20.8858 16.6997C21.2954 16.5606 21.5684 16.2822 21.5684 16.0039C21.5684 15.8647 21.5684 15.8647 21.5684 15.7256C21.9779 15.8647 21.8414 15.5864 21.5684 15.5864Z" transform="translate(8.52631 9.07178)" fill="white"/>'
199
+ ),
200
+ array(
201
+ 'example' => 'My-Name-512b1413b',
202
+ 'placeholder' => __('My-Name-512b1413b', CHT_OPT),
203
+ 'slug' => 'Linkedin',
204
+ 'title' => 'Linkedin',
205
+ 'color' => '#0077b5',
206
+ 'help' => "To find your username and suffix, go to your <a href='https://www.linkedin.com/' target='_blank'>LinkedIn account</a> and click on your profile picture. Once you see your profile, copy the last part of the URL after https://www.linkedin.com/in/",
207
+ 'svg' => '<circle class="color-element" cx="19.5" cy="19.5" r="19.5" fill="#0077b5"/>
208
+ <path id="LinkedIn_color" d="M18,20.1v6.655H14.142V20.549c0-1.56-.558-2.624-1.954-2.624a2.111,2.111,0,0,0-1.98,1.411,2.64,2.64,0,0,0-.128.941v6.481H6.221s.052-10.516,0-11.606H10.08V16.8c-.008.012-.018.026-.025.037h.025V16.8a3.832,3.832,0,0,1,3.478-1.918C16.1,14.88,18,16.539,18,20.1ZM2.184,9.558a2.011,2.011,0,1,0-.051,4.011h.026a2.012,2.012,0,1,0,.025-4.011ZM.229,26.758H4.087V15.152H.229Z" transform="translate(11 1.442)" fill="#fff"/>'
209
+ ),
210
+ array(
211
+ 'example' => '+1507854875',
212
+ 'placeholder' => __('Phone number', CHT_OPT),
213
+ 'slug' => 'Viber',
214
+ 'title' => 'Viber',
215
+ 'color' => '#665CAC',
216
+ 'help' => 'Try to remove the "+" and your country code',
217
+ 'svg' => '<circle class="color-element" cx="19.4395" cy="19.4395" r="19.4395" fill="#665CAC"/>
218
+ <path d="M17.6837 2.14833C17.16 1.64578 15.0497 0.0389578 10.3496 0.0158143C10.3496 0.0158143 4.80418 -0.334645 2.10085 2.26405C0.596193 3.84111 0.0662511 6.14886 0.0126261 9.01205C-0.0441534 11.8752 -0.116705 17.2346 4.8168 18.6894H4.81995L4.8168 20.9078C4.8168 20.9078 4.78525 21.8071 5.3499 21.989C6.03125 22.2105 6.43186 21.5294 7.08482 20.7921C7.44127 20.3888 7.93651 19.7936 8.30874 19.3407C11.6808 19.6382 14.2769 18.9572 14.5702 18.858C15.2516 18.6265 19.1063 18.1075 19.7309 12.7481C20.3775 7.22338 19.4154 3.7254 17.6837 2.14833ZM18.2546 12.3513C17.7247 16.828 14.5986 17.1123 14.0245 17.3041C13.7785 17.3867 11.501 17.9818 8.63679 17.7835C8.63679 17.7835 6.50126 20.4813 5.83567 21.1856C5.73158 21.2947 5.60856 21.341 5.52654 21.3178C5.41298 21.2881 5.38144 21.1459 5.38144 20.9376C5.38459 20.64 5.40037 17.2512 5.40037 17.2512C5.39721 17.2512 5.39721 17.2512 5.40037 17.2512C1.23023 16.0378 1.47312 11.4719 1.52044 9.08148C1.56775 6.69108 1.99675 4.73379 3.26798 3.41792C5.55493 1.24904 10.2645 1.57305 10.2645 1.57305C14.2422 1.59288 16.1475 2.84594 16.5891 3.26583C18.0527 4.58501 18.8003 7.73585 18.2546 12.3513Z" transform="translate(9.47299 8.4238)" fill="white"/> <path d="M1.58982 1.72254C1.53935 0.628182 1.00941 0.0562059 0 1.00898e-07" transform="translate(20.166 15.5914)" stroke="white" stroke-width="0.518873" stroke-linecap="round" stroke-linejoin="round"/> <path d="M3.35945 3.69636C3.38153 2.67804 3.09448 1.82834 2.49514 1.14395C1.8958 0.459565 1.06619 0.0793496 1.9253e-07 2.01796e-07" transform="translate(19.7592 14.0966)" stroke="white" stroke-width="0.518873" stroke-linecap="round" stroke-linejoin="round"/> <path d="M5.22371 5.71646C5.21109 3.94763 4.70639 2.55902 3.71275 1.5407C2.71911 0.525689 1.47942 0.00991877 -3.8506e-07 1.00898e-07" transform="translate(19.2931 12.6479)" stroke="white" stroke-width="0.518873" stroke-linecap="round" stroke-linejoin="round"/> <path d="M6.35738 8.04532C6.35738 8.04532 6.73276 8.07838 6.93149 7.81719L7.32263 7.30142C7.5119 7.04353 7.96929 6.88153 8.41722 7.14272C8.66641 7.2915 9.11434 7.57914 9.39193 7.79405C9.68844 8.02218 10.2972 8.55448 10.2972 8.55448C10.5875 8.80906 10.6537 9.18597 10.4581 9.58271C10.4581 9.58602 10.455 9.58933 10.455 9.58933C10.2531 9.96293 9.9818 10.3167 9.63797 10.644C9.63482 10.6473 9.63482 10.6473 9.63167 10.6506C9.35092 10.8953 9.07333 11.0375 8.80205 11.0705C8.77051 11.0771 8.7295 11.0804 8.68219 11.0771C8.56232 11.0771 8.44561 11.0606 8.32889 11.0209L8.31943 11.0077C7.89989 10.8854 7.20277 10.5746 6.03879 9.90342C5.28173 9.467 4.654 9.02066 4.12406 8.57762C3.84331 8.34619 3.55626 8.08169 3.2629 7.77752C3.25344 7.7676 3.24398 7.75768 3.23451 7.74776C3.22505 7.73784 3.21559 7.72792 3.20612 7.718C3.19666 7.70808 3.1872 7.69817 3.17773 7.68825C3.16827 7.67833 3.15881 7.66841 3.14934 7.65849C2.85914 7.35101 2.60678 7.05015 2.38597 6.75589C1.96328 6.20045 1.53744 5.5392 1.12105 4.74902C0.480708 3.52902 0.184194 2.79834 0.0674803 2.35862L0.0548623 2.3487C0.0170094 2.22637 -0.00191702 2.10404 0.0012374 1.9784C-0.00191702 1.92881 0.0012373 1.88583 0.00754613 1.85276C0.0390903 1.56843 0.17473 1.27748 0.408157 0.983227C0.411312 0.979921 0.411311 0.979921 0.414466 0.976615C0.726753 0.616237 1.06112 0.331902 1.42072 0.120304C1.42388 0.120304 1.42703 0.116997 1.42703 0.116997C1.80556 -0.0879887 2.16517 -0.0185578 2.40806 0.285615C2.41121 0.288921 2.91592 0.923716 3.13357 1.2345C3.33861 1.52875 3.6162 1.99493 3.75499 2.25612C4.00419 2.72561 3.84962 3.20501 3.60358 3.40338L3.11149 3.81335C2.86229 4.02495 2.89384 4.41509 2.89384 4.41509C2.89384 4.41509 3.62566 7.31464 6.35738 8.04532Z" transform="translate(13.863 13.0014)" fill="white"/>'
219
+ ),
220
+ array(
221
+ 'example' => 'myusername',
222
+ 'placeholder' => __('Link Vkontakte', CHT_OPT),
223
+ 'slug' => 'Vkontakte',
224
+ 'title' => 'Vkontakte',
225
+ 'color' => '#5076AA',
226
+ 'svg' => '<circle class="color-element" cx="19.4395" cy="19.4395" r="19.4395" fill="#5076AA"/>
227
+ <path d="M11.0953 12.4775H12.5097C12.5097 12.4775 12.934 12.4774 13.0755 12.1971C13.2169 12.0569 13.2169 11.6363 13.2169 11.6363C13.2169 11.6363 13.2169 9.81373 14.0656 9.53334C14.9142 9.25294 15.9043 11.2157 17.0359 12.0569C17.8845 12.6176 18.5917 12.4775 18.5917 12.4775H21.562C21.562 12.4775 23.1178 12.3373 22.4106 11.2157C22.4106 11.0755 21.9863 10.2343 20.1476 8.69216C18.3088 7.0098 18.4503 7.29019 20.8548 4.20588C22.2692 2.38333 22.835 1.26176 22.6935 0.700978C22.5521 0.28039 21.562 0.42059 21.562 0.42059H18.1674C18.1674 0.42059 17.8845 0.420588 17.7431 0.560784C17.6016 0.70098 17.4602 0.981371 17.4602 0.981371C17.4602 0.981371 16.8944 2.38333 16.1872 3.6451C14.6313 6.16863 14.0656 6.30882 13.7827 6.16863C13.2169 5.74804 13.3584 4.62647 13.3584 3.92549C13.3584 1.40196 13.7827 0.420589 12.6512 0.140197C12.2268 1.06543e-06 11.944 -2.13922e-06 11.0953 -2.13922e-06C9.82233 -2.13922e-06 8.83224 -1.06543e-06 8.26647 0.280391C7.84215 0.420587 7.55927 0.841177 7.70071 0.841177C7.9836 0.841177 8.40792 0.98137 8.6908 1.40196C8.97368 1.82255 8.97368 2.94412 8.97368 2.94412C8.97368 2.94412 9.11513 5.88824 8.54936 6.16863C8.12503 6.44902 7.41783 5.88824 6.14485 3.6451C5.43764 2.52353 4.87188 1.12157 4.87188 1.12157C4.87188 1.12157 4.73044 0.841174 4.589 0.700978C4.30611 0.560782 4.02323 0.560784 4.02323 0.560784H0.770071C0.770071 0.560784 0.345746 0.560785 0.0628629 0.841177C-0.0785787 0.981374 0.0628629 1.40196 0.0628629 1.40196C0.0628629 1.40196 2.60881 7.2902 5.43764 10.2343C8.12503 12.7578 11.0953 12.4775 11.0953 12.4775Z" transform="translate(6.78613 14.4898)" fill="white"/>'
228
+ ),
229
+ array(
230
+ 'example' => 'https://waze.com/ul/hdr5ru7vtv',
231
+ 'placeholder' => __('Enter a waze link', CHT_OPT),
232
+ 'slug' => 'Waze',
233
+ 'title' => 'Waze',
234
+ 'color' => '#6ECCEF',
235
+ 'svg' => '<circle class="color-element" cx="19.4395" cy="19.4395" r="19.4395" fill="#6ECCEF"/>
236
+ <path d="M11.6549 16.6733C16.5911 16.6733 20.5675 12.9218 20.5675 8.33667C20.5675 3.7515 16.5911 0 11.6549 0C6.7187 0 2.74233 3.7515 2.74233 8.33667C2.74233 8.33667 3.42791 12.505 0 12.505C0 15.9786 6.17024 16.6733 11.6549 16.6733Z" transform="translate(9.15631 9.71375)"
237
+ fill="#6ECCEF" class="color-element"/> <path d="M12.3405 18.0628C3.97637 18.0628 0 16.5344 0 13.1997C0 12.7829 0.274233 12.505 0.685582 12.505C1.37116 12.505 1.91963 12.3661 2.19386 11.9492C3.01656 10.9766 2.74233 9.17034 2.74233 9.17034C2.74233 4.02939 6.99293 0 12.3405 0C17.688 0 21.9386 4.02939 21.9386 9.0314C21.9386 14.0334 17.688 18.0628 12.3405 18.0628ZM1.50828 13.7555C2.19386 15.5618 5.896 16.6733 12.3405 16.6733C16.8653 16.6733 20.5675 13.1997 20.5675 9.0314C20.5675 4.86306 16.8653 1.38945 12.3405 1.38945C7.81563 1.38945 4.11349 4.86306 4.11349 9.0314C4.11349 9.0314 4.52484 11.3935 3.29079 12.7829C2.74233 13.3387 2.19386 13.6166 1.50828 13.7555Z" transform="translate(8.46936 9.01862)" fill="white"/> <path d="M2.74233 5.55778C4.25687 5.55778 5.48465 4.31363 5.48465 2.77889C5.48465 1.24415 4.25687 0 2.74233 0C1.22778 0 0 1.24415 0 2.77889C0 4.31363 1.22778 5.55778 2.74233 5.55778Z" transform="translate(20.8105 24.3027)" fill="white"/> <path d="M2.74233 5.55778C4.25687 5.55778 5.48465 4.31363 5.48465 2.77889C5.48465 1.24415 4.25687 0 2.74233 0C1.22778 0 0 1.24415 0 2.77889C0 4.31363 1.22778 5.55778 2.74233 5.55778Z" transform="translate(12.5836 24.3025)" fill="white"/> <path d="M0.685582 1.38945C0.274233 1.38945 0 1.11156 0 0.694723C0 0.277889 0.274233 0 0.685582 0C1.09693 0 1.37116 0.277889 1.37116 0.694723C1.37116 1.11156 1.09693 1.38945 0.685582 1.38945Z" transform="translate(17.3835 15.2717)" fill="white"/> <path d="M0.685582 1.38945C0.274233 1.38945 0 1.11156 0 0.694723C0 0.277889 0.274233 0 0.685582 0C1.09693 0 1.37116 0.277889 1.37116 0.694723C1.37116 1.11156 1.09693 1.38945 0.685582 1.38945Z" transform="translate(22.8668 15.2717)" fill="white"/> <path d="M4.14916 4.20448C2.22953 4.20448 0.447017 2.81503 0.035668 0.869809C-0.101448 0.452975 0.172786 0.175088 0.584135 0.0361436C0.995484 -0.102801 1.26972 0.17509 1.40683 0.591924C1.68106 1.84242 2.77799 2.81503 4.14916 2.81503C5.52032 2.81503 6.61725 1.84242 6.89148 0.591924C7.0286 0.17509 7.30283 0.0361436 7.71418 0.0361436C8.12553 0.175088 8.26265 0.452975 8.26265 0.869809C7.8513 2.81503 6.06879 4.20448 4.14916 4.20448Z" transform="translate(16.662 18.7092)" fill="white"/>'
238
+ ),
239
+ array(
240
+ 'example' => '<br/>https://app.popt.in/APIRequest/click/34e92354f927c',
241
+ 'placeholder' => __('Enter a poptin link', CHT_OPT),
242
+ 'slug' => 'Poptin',
243
+ 'title' => 'Poptin',
244
+ 'color' => '#47A2B1',
245
+ 'help_title' => 'How do I use Poptin?',
246
+ 'help' => 'You can create a free poptin account by <a href="https://www.poptin.com/?utm_source=chat" target="_blank">clicking here</a>, and use it to create popups and forms on your site',
247
+ 'svg' => '<circle class="color-element" cx="19.4395" cy="19.4395" r="19.4395" fill="#47A2B1"/>
248
+ <rect width="21.351" height="17.0808" rx="1.73931" transform="translate(8.76428 12.1953)" fill="white"/> <rect width="18.2112" height="1.83009" rx="0.915044" transform="translate(10.0203 17.6851)" fill="#F2F2F2"/> <rect width="15.0713" height="1.83009" rx="0.915044" transform="translate(10.0203 20.1256)" fill="#F2F2F2"/> <rect width="8.16363" height="1.83009" rx="0.915044" transform="translate(15.0443 24.3958)" fill="#E0E0E0"/> <path d="M0 1.74C0 0.779025 0.779024 0 1.74 0H19.611C20.572 0 21.351 0.779025 21.351 1.74V3.20266H0V1.74Z" transform="translate(8.76428 12.1953)" fill="#E0E0E0"/>'
249
+ ),
250
+ array(
251
+ 'example' => 'https://www.example.com/contact',
252
+ 'placeholder' => __('Link', CHT_OPT),
253
+ 'slug' => 'Link',
254
+ 'title' => 'Link',
255
+ 'color' => '#FF7539',
256
+ 'help' => "You can use this channel to add any custom channel you want. You can link to a specific form on your site or any social network. You can customize the color, upload a custom image, and change the on-hover text in the Pro plans",
257
+ 'help_title' => 'How do I use this?',
258
+ 'svg' => '<circle class="color-element" cx="19.4395" cy="19.4395" r="19.4395" fill="#FF7539"/>
259
+ <mask id="path-2-outside-1" maskUnits="userSpaceOnUse" x="-1" y="-1" width="13" height="14" fill="black">
260
+ <rect fill="white" x="-1" y="-1" width="13" height="14"/>
261
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M9.10658 1.73537C9.10658 1.73537 9.10658 1.73538 9.10659 1.73538L9.93879 2.58495C9.9388 2.58495 9.9388 2.58495 9.9388 2.58496C9.99645 2.64381 10.0508 2.70475 10.1019 2.76754C10.3002 3.0113 10.6804 3.07698 10.9003 2.85252C11.0424 2.70754 11.0721 2.4836 10.9533 2.31904C10.849 2.17452 10.7327 2.03614 10.6046 1.90532C10.6046 1.9053 10.6046 1.90529 10.6045 1.90528L9.77236 1.05572C9.77236 1.05572 9.77235 1.05572 9.77235 1.05572C8.39351 -0.351905 6.15792 -0.351905 4.77907 1.05571C4.77907 1.05572 4.77907 1.05572 4.77906 1.05572L1.03414 4.87877C1.03413 4.87878 1.03413 4.87878 1.03413 4.87878C-0.344706 6.2864 -0.34471 8.56858 1.03412 9.9762C1.03413 9.97621 1.03414 9.97622 1.03415 9.97623L1.86633 10.8258C1.86634 10.8258 1.86635 10.8258 1.86636 10.8258C3.24521 12.2334 5.48072 12.2334 6.85962 10.8258C6.85963 10.8258 6.85964 10.8258 6.85964 10.8258L9.28893 8.34581C9.47006 8.1609 9.47006 7.86509 9.28893 7.68018C9.10243 7.48979 8.79591 7.48979 8.60942 7.68018L6.19386 10.1461C6.19386 10.1461 6.19386 10.1461 6.19386 10.1461C5.1827 11.1784 3.54326 11.1784 2.53215 10.1461C2.53213 10.1461 2.53211 10.1461 2.53209 10.1461L1.69991 9.29657C1.69991 9.29657 1.6999 9.29656 1.6999 9.29655C0.688737 8.2643 0.688739 6.59069 1.6999 5.55844C1.6999 5.55843 1.69991 5.55843 1.69991 5.55843L5.44484 1.73538C5.44484 1.73538 5.44484 1.73537 5.44484 1.73537C6.45601 0.703119 8.09541 0.703118 9.10658 1.73537Z"/>
262
+ </mask>
263
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M9.10658 1.73537C9.10658 1.73537 9.10658 1.73538 9.10659 1.73538L9.93879 2.58495C9.9388 2.58495 9.9388 2.58495 9.9388 2.58496C9.99645 2.64381 10.0508 2.70475 10.1019 2.76754C10.3002 3.0113 10.6804 3.07698 10.9003 2.85252C11.0424 2.70754 11.0721 2.4836 10.9533 2.31904C10.849 2.17452 10.7327 2.03614 10.6046 1.90532C10.6046 1.9053 10.6046 1.90529 10.6045 1.90528L9.77236 1.05572C9.77236 1.05572 9.77235 1.05572 9.77235 1.05572C8.39351 -0.351905 6.15792 -0.351905 4.77907 1.05571C4.77907 1.05572 4.77907 1.05572 4.77906 1.05572L1.03414 4.87877C1.03413 4.87878 1.03413 4.87878 1.03413 4.87878C-0.344706 6.2864 -0.34471 8.56858 1.03412 9.9762C1.03413 9.97621 1.03414 9.97622 1.03415 9.97623L1.86633 10.8258C1.86634 10.8258 1.86635 10.8258 1.86636 10.8258C3.24521 12.2334 5.48072 12.2334 6.85962 10.8258C6.85963 10.8258 6.85964 10.8258 6.85964 10.8258L9.28893 8.34581C9.47006 8.1609 9.47006 7.86509 9.28893 7.68018C9.10243 7.48979 8.79591 7.48979 8.60942 7.68018L6.19386 10.1461C6.19386 10.1461 6.19386 10.1461 6.19386 10.1461C5.1827 11.1784 3.54326 11.1784 2.53215 10.1461C2.53213 10.1461 2.53211 10.1461 2.53209 10.1461L1.69991 9.29657C1.69991 9.29657 1.6999 9.29656 1.6999 9.29655C0.688737 8.2643 0.688739 6.59069 1.6999 5.55844C1.6999 5.55843 1.69991 5.55843 1.69991 5.55843L5.44484 1.73538C5.44484 1.73538 5.44484 1.73537 5.44484 1.73537C6.45601 0.703119 8.09541 0.703118 9.10658 1.73537Z" transform="translate(9.95154 16.0478)" fill="white"/>
264
+ <path d="M5.44484 1.73538L5.23053 1.52545L5.44484 1.73538ZM5.44484 1.73537L5.23053 1.52544L5.44484 1.73537ZM1.6999 5.55844L1.48559 5.3485L1.6999 5.55844ZM1.69991 5.55843L1.91422 5.76836L1.69991 5.55843ZM1.69991 9.29657L1.91422 9.08664L1.69991 9.29657ZM1.6999 9.29655L1.91421 9.08662L1.6999 9.29655ZM2.53215 10.1461L2.31784 10.3561L2.53215 10.1461ZM2.53209 10.1461L2.31778 10.356L2.53209 10.1461ZM6.19386 10.1461L5.97955 9.93618L6.19386 10.1461ZM6.19386 10.1461L6.40817 10.356L6.19386 10.1461ZM8.60942 7.68018L8.82373 7.89011L8.60942 7.68018ZM9.28893 8.34581L9.07462 8.13588L9.28893 8.34581ZM6.85962 10.8258L6.64532 10.6158L6.85962 10.8258ZM6.85964 10.8258L7.07395 11.0357L6.85964 10.8258ZM1.86633 10.8258L2.08064 10.6158L1.86633 10.8258ZM1.86636 10.8258L2.08067 10.6159L1.86636 10.8258ZM1.03412 9.9762L1.24843 9.76628L1.03412 9.9762ZM1.03415 9.97623L0.819841 10.1862L1.03415 9.97623ZM1.03414 4.87877L0.819827 4.66884L1.03414 4.87877ZM1.03413 4.87878L1.24844 5.08871L1.03413 4.87878ZM4.77907 1.05571L4.99338 1.26564L4.77907 1.05571ZM4.77906 1.05572L4.99338 1.26565L4.77906 1.05572ZM9.77236 1.05572L9.55805 1.26565L9.77236 1.05572ZM9.77235 1.05572L9.98666 0.845785L9.77235 1.05572ZM10.6046 1.90532L10.8189 1.6954L10.6046 1.90532ZM10.6045 1.90528L10.8189 1.69535L10.6045 1.90528ZM10.9533 2.31904L10.7101 2.49464L10.9533 2.31904ZM10.1019 2.76754L9.86916 2.95685L10.1019 2.76754ZM9.10659 1.73538L9.3209 1.52545L9.10659 1.73538ZM9.10658 1.73537L8.89227 1.9453L9.10658 1.73537ZM9.93879 2.58495L10.1531 2.37502L9.93879 2.58495ZM9.9388 2.58496L10.1531 2.37503L9.9388 2.58496ZM10.1531 2.37502L9.3209 1.52545L8.89228 1.94531L9.72448 2.79488L10.1531 2.37502ZM10.3346 2.57823C10.2777 2.50832 10.2172 2.4405 10.1531 2.37503L9.72449 2.79488C9.77566 2.84713 9.82388 2.90119 9.86916 2.95685L10.3346 2.57823ZM11.1966 2.14344C11.0835 1.98684 10.9576 1.83698 10.8189 1.6954L10.3903 2.11524C10.5079 2.2353 10.6145 2.3622 10.7101 2.49464L11.1966 2.14344ZM10.8189 1.69535L9.98667 0.845789L9.55805 1.26565L10.3902 2.11521L10.8189 1.69535ZM9.98666 0.845785C8.49018 -0.681928 6.06124 -0.681928 4.56476 0.845784L4.99338 1.26564C6.25459 -0.0218819 8.29683 -0.0218814 9.55804 1.26565L9.98666 0.845785ZM4.56475 0.84579L0.819827 4.66884L1.24845 5.0887L4.99338 1.26565L4.56475 0.84579ZM0.819819 4.66885C-0.673269 6.1931 -0.673273 8.66187 0.819807 10.1861L1.24843 9.76628C-0.0161474 8.47529 -0.016144 6.37969 1.24844 5.08871L0.819819 4.66885ZM0.819841 10.1862L1.65203 11.0357L2.08064 10.6158L1.24846 9.7663L0.819841 10.1862ZM1.65205 11.0357C3.14854 12.5634 5.57739 12.5634 7.07393 11.0357L6.64532 10.6158C5.38405 11.9034 3.34188 11.9034 2.08067 10.6159L1.65205 11.0357ZM7.07395 11.0357L9.50324 8.55574L9.07462 8.13588L6.64533 10.6158L7.07395 11.0357ZM6.40817 10.356L8.82373 7.89011L8.39511 7.47025L5.97955 9.93618L6.40817 10.356ZM2.31784 10.3561C3.44659 11.5084 5.27938 11.5084 6.40817 10.356L5.97955 9.93618C5.08603 10.8483 3.63993 10.8483 2.74646 9.93621L2.31784 10.3561ZM1.48561 9.50651L2.31778 10.356L2.7464 9.93615L1.91422 9.08664L1.48561 9.50651ZM1.48559 5.3485C0.360176 6.49739 0.360173 8.35759 1.48559 9.50648L1.91421 9.08662C1.0173 8.171 1.0173 6.68399 1.91421 5.76837L1.48559 5.3485ZM5.23053 1.52545L1.4856 5.3485L1.91422 5.76836L5.65915 1.94531L5.23053 1.52545ZM9.32089 1.52544C8.19208 0.373095 6.35934 0.373096 5.23053 1.52544L5.65915 1.9453C6.55268 1.03314 7.99874 1.03314 8.89227 1.9453L9.32089 1.52544ZM5.65915 1.94531C5.65915 1.94531 5.65915 1.94531 5.65915 1.9453L5.23053 1.52544C5.23053 1.52544 5.23053 1.52544 5.23053 1.52545L5.65915 1.94531ZM1.91421 5.76837C1.91421 5.76837 1.91422 5.76836 1.91422 5.76836L1.4856 5.3485C1.4856 5.3485 1.48559 5.3485 1.48559 5.3485L1.91421 5.76837ZM1.91422 9.08664C1.91422 9.08663 1.91421 9.08663 1.91421 9.08662L1.48559 9.50648C1.48559 9.50649 1.4856 9.5065 1.48561 9.50651L1.91422 9.08664ZM2.74646 9.93621C2.74644 9.93619 2.74642 9.93617 2.7464 9.93615L2.31778 10.356C2.3178 10.356 2.31782 10.356 2.31784 10.3561L2.74646 9.93621ZM5.97955 9.93618C5.97955 9.93618 5.97955 9.93618 5.97955 9.93618L6.40817 10.356C6.40817 10.356 6.40817 10.356 6.40817 10.356L5.97955 9.93618ZM9.50324 7.47025C9.1991 7.15977 8.69924 7.15977 8.39511 7.47025L8.82373 7.89011C8.89259 7.81981 9.00576 7.81981 9.07462 7.89011L9.50324 7.47025ZM9.50324 8.55574C9.79862 8.25419 9.79862 7.77179 9.50324 7.47025L9.07462 7.89011C9.1415 7.95838 9.1415 8.0676 9.07462 8.13588L9.50324 8.55574ZM7.07393 11.0357C7.07394 11.0357 7.07395 11.0357 7.07395 11.0357L6.64533 10.6158C6.64533 10.6158 6.64532 10.6158 6.64532 10.6158L7.07393 11.0357ZM1.65203 11.0357C1.65203 11.0357 1.65204 11.0357 1.65205 11.0357L2.08067 10.6159C2.08066 10.6158 2.08065 10.6158 2.08064 10.6158L1.65203 11.0357ZM0.819807 10.1861C0.819819 10.1861 0.81983 10.1862 0.819841 10.1862L1.24846 9.7663C1.24845 9.76629 1.24844 9.76628 1.24843 9.76628L0.819807 10.1861ZM0.819827 4.66884C0.819824 4.66884 0.819822 4.66885 0.819819 4.66885L1.24844 5.08871C1.24844 5.08871 1.24845 5.08871 1.24845 5.0887L0.819827 4.66884ZM4.56476 0.845784C4.56476 0.845786 4.56476 0.845788 4.56475 0.84579L4.99338 1.26565C4.99338 1.26565 4.99338 1.26565 4.99338 1.26564L4.56476 0.845784ZM9.98667 0.845789C9.98667 0.845788 9.98666 0.845787 9.98666 0.845785L9.55804 1.26565C9.55804 1.26565 9.55804 1.26565 9.55805 1.26565L9.98667 0.845789ZM10.8189 1.6954C10.8189 1.69538 10.8189 1.69536 10.8189 1.69535L10.3902 2.11521C10.3902 2.11522 10.3903 2.11523 10.3903 2.11524L10.8189 1.6954ZM11.1146 3.06246C11.3462 2.82606 11.411 2.44051 11.1966 2.14344L10.7101 2.49464C10.7332 2.52669 10.7385 2.58902 10.686 2.64258L11.1146 3.06246ZM9.86916 2.95685C10.1487 3.30046 10.7367 3.44829 11.1146 3.06246L10.686 2.64258C10.652 2.67732 10.6006 2.69693 10.531 2.68804C10.4586 2.67877 10.3842 2.63918 10.3346 2.57823L9.86916 2.95685ZM9.3209 1.52545C9.32089 1.52544 9.32089 1.52544 9.32089 1.52544L8.89227 1.9453C8.89227 1.9453 8.89227 1.94531 8.89228 1.94531L9.3209 1.52545ZM9.72448 2.79488C9.72448 2.79488 9.72448 2.79488 9.72449 2.79488L10.1531 2.37503C10.1531 2.37503 10.1531 2.37502 10.1531 2.37502L9.72448 2.79488Z" transform="translate(9.95154 16.0478)" fill="white" mask="url(#path-2-outside-1)"/>
265
+ <mask id="path-4-outside-2" maskUnits="userSpaceOnUse" x="-1" y="-1" width="13" height="14" fill="black">
266
+ <rect fill="white" x="-1" y="-1" width="13" height="14"/>
267
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M9.10658 1.73537C9.10658 1.73537 9.10658 1.73538 9.10659 1.73538L9.93879 2.58495C9.9388 2.58495 9.9388 2.58495 9.9388 2.58496C9.99645 2.64381 10.0508 2.70475 10.1019 2.76754C10.3002 3.0113 10.6804 3.07698 10.9003 2.85252C11.0424 2.70754 11.0721 2.4836 10.9533 2.31904C10.849 2.17452 10.7327 2.03614 10.6046 1.90532C10.6046 1.9053 10.6046 1.90529 10.6045 1.90528L9.77236 1.05572C9.77236 1.05572 9.77235 1.05572 9.77235 1.05572C8.39351 -0.351905 6.15792 -0.351905 4.77907 1.05571C4.77907 1.05572 4.77907 1.05572 4.77906 1.05572L1.03414 4.87877C1.03413 4.87878 1.03413 4.87878 1.03413 4.87878C-0.344706 6.2864 -0.34471 8.56858 1.03412 9.9762C1.03413 9.97621 1.03414 9.97622 1.03415 9.97623L1.86633 10.8258C1.86634 10.8258 1.86635 10.8258 1.86636 10.8258C3.24521 12.2334 5.48072 12.2334 6.85962 10.8258C6.85963 10.8258 6.85964 10.8258 6.85964 10.8258L9.28893 8.34581C9.47006 8.1609 9.47006 7.86509 9.28893 7.68018C9.10243 7.48979 8.79591 7.48979 8.60942 7.68018L6.19386 10.1461C6.19386 10.1461 6.19386 10.1461 6.19386 10.1461C5.1827 11.1784 3.54326 11.1784 2.53215 10.1461C2.53213 10.1461 2.53211 10.1461 2.53209 10.1461L1.69991 9.29657C1.69991 9.29657 1.6999 9.29656 1.6999 9.29655C0.688737 8.2643 0.688739 6.59069 1.6999 5.55844C1.6999 5.55843 1.69991 5.55843 1.69991 5.55843L5.44484 1.73538C5.44484 1.73538 5.44484 1.73537 5.44484 1.73537C6.45601 0.703119 8.09541 0.703118 9.10658 1.73537Z"/>
268
+ </mask>
269
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M9.10658 1.73537C9.10658 1.73537 9.10658 1.73538 9.10659 1.73538L9.93879 2.58495C9.9388 2.58495 9.9388 2.58495 9.9388 2.58496C9.99645 2.64381 10.0508 2.70475 10.1019 2.76754C10.3002 3.0113 10.6804 3.07698 10.9003 2.85252C11.0424 2.70754 11.0721 2.4836 10.9533 2.31904C10.849 2.17452 10.7327 2.03614 10.6046 1.90532C10.6046 1.9053 10.6046 1.90529 10.6045 1.90528L9.77236 1.05572C9.77236 1.05572 9.77235 1.05572 9.77235 1.05572C8.39351 -0.351905 6.15792 -0.351905 4.77907 1.05571C4.77907 1.05572 4.77907 1.05572 4.77906 1.05572L1.03414 4.87877C1.03413 4.87878 1.03413 4.87878 1.03413 4.87878C-0.344706 6.2864 -0.34471 8.56858 1.03412 9.9762C1.03413 9.97621 1.03414 9.97622 1.03415 9.97623L1.86633 10.8258C1.86634 10.8258 1.86635 10.8258 1.86636 10.8258C3.24521 12.2334 5.48072 12.2334 6.85962 10.8258C6.85963 10.8258 6.85964 10.8258 6.85964 10.8258L9.28893 8.34581C9.47006 8.1609 9.47006 7.86509 9.28893 7.68018C9.10243 7.48979 8.79591 7.48979 8.60942 7.68018L6.19386 10.1461C6.19386 10.1461 6.19386 10.1461 6.19386 10.1461C5.1827 11.1784 3.54326 11.1784 2.53215 10.1461C2.53213 10.1461 2.53211 10.1461 2.53209 10.1461L1.69991 9.29657C1.69991 9.29657 1.6999 9.29656 1.6999 9.29655C0.688737 8.2643 0.688739 6.59069 1.6999 5.55844C1.6999 5.55843 1.69991 5.55843 1.69991 5.55843L5.44484 1.73538C5.44484 1.73538 5.44484 1.73537 5.44484 1.73537C6.45601 0.703119 8.09541 0.703118 9.10658 1.73537Z" transform="translate(28.9286 22.8312) rotate(-180)" fill="white"/>
270
+ <path d="M5.44484 1.73538L5.23053 1.52545L5.44484 1.73538ZM5.44484 1.73537L5.23053 1.52544L5.44484 1.73537ZM1.6999 5.55844L1.48559 5.3485L1.6999 5.55844ZM1.69991 5.55843L1.91422 5.76836L1.69991 5.55843ZM1.69991 9.29657L1.91422 9.08664L1.69991 9.29657ZM1.6999 9.29655L1.91421 9.08662L1.6999 9.29655ZM2.53215 10.1461L2.31784 10.3561L2.53215 10.1461ZM2.53209 10.1461L2.31778 10.356L2.53209 10.1461ZM6.19386 10.1461L5.97955 9.93618L6.19386 10.1461ZM6.19386 10.1461L6.40817 10.356L6.19386 10.1461ZM8.60942 7.68018L8.82373 7.89011L8.60942 7.68018ZM9.28893 8.34581L9.07462 8.13588L9.28893 8.34581ZM6.85962 10.8258L6.64532 10.6158L6.85962 10.8258ZM6.85964 10.8258L7.07395 11.0357L6.85964 10.8258ZM1.86633 10.8258L2.08064 10.6158L1.86633 10.8258ZM1.86636 10.8258L2.08067 10.6159L1.86636 10.8258ZM1.03412 9.9762L1.24843 9.76628L1.03412 9.9762ZM1.03415 9.97623L0.819841 10.1862L1.03415 9.97623ZM1.03414 4.87877L0.819827 4.66884L1.03414 4.87877ZM1.03413 4.87878L1.24844 5.08871L1.03413 4.87878ZM4.77907 1.05571L4.99338 1.26564L4.77907 1.05571ZM4.77906 1.05572L4.99338 1.26565L4.77906 1.05572ZM9.77236 1.05572L9.55805 1.26565L9.77236 1.05572ZM9.77235 1.05572L9.98666 0.845785L9.77235 1.05572ZM10.6046 1.90532L10.8189 1.6954L10.6046 1.90532ZM10.6045 1.90528L10.8189 1.69535L10.6045 1.90528ZM10.9533 2.31904L10.7101 2.49464L10.9533 2.31904ZM10.1019 2.76754L9.86916 2.95685L10.1019 2.76754ZM9.10659 1.73538L9.3209 1.52545L9.10659 1.73538ZM9.10658 1.73537L8.89227 1.9453L9.10658 1.73537ZM9.93879 2.58495L10.1531 2.37502L9.93879 2.58495ZM9.9388 2.58496L10.1531 2.37503L9.9388 2.58496ZM10.1531 2.37502L9.3209 1.52545L8.89228 1.94531L9.72448 2.79488L10.1531 2.37502ZM10.3346 2.57823C10.2777 2.50832 10.2172 2.4405 10.1531 2.37503L9.72449 2.79488C9.77566 2.84713 9.82388 2.90119 9.86916 2.95685L10.3346 2.57823ZM11.1966 2.14344C11.0835 1.98684 10.9576 1.83698 10.8189 1.6954L10.3903 2.11524C10.5079 2.2353 10.6145 2.3622 10.7101 2.49464L11.1966 2.14344ZM10.8189 1.69535L9.98667 0.845789L9.55805 1.26565L10.3902 2.11521L10.8189 1.69535ZM9.98666 0.845785C8.49018 -0.681928 6.06124 -0.681928 4.56476 0.845784L4.99338 1.26564C6.25459 -0.0218819 8.29683 -0.0218814 9.55804 1.26565L9.98666 0.845785ZM4.56475 0.84579L0.819827 4.66884L1.24845 5.0887L4.99338 1.26565L4.56475 0.84579ZM0.819819 4.66885C-0.673269 6.1931 -0.673273 8.66187 0.819807 10.1861L1.24843 9.76628C-0.0161474 8.47529 -0.016144 6.37969 1.24844 5.08871L0.819819 4.66885ZM0.819841 10.1862L1.65203 11.0357L2.08064 10.6158L1.24846 9.7663L0.819841 10.1862ZM1.65205 11.0357C3.14854 12.5634 5.57739 12.5634 7.07393 11.0357L6.64532 10.6158C5.38405 11.9034 3.34188 11.9034 2.08067 10.6159L1.65205 11.0357ZM7.07395 11.0357L9.50324 8.55574L9.07462 8.13588L6.64533 10.6158L7.07395 11.0357ZM6.40817 10.356L8.82373 7.89011L8.39511 7.47025L5.97955 9.93618L6.40817 10.356ZM2.31784 10.3561C3.44659 11.5084 5.27938 11.5084 6.40817 10.356L5.97955 9.93618C5.08603 10.8483 3.63993 10.8483 2.74646 9.93621L2.31784 10.3561ZM1.48561 9.50651L2.31778 10.356L2.7464 9.93615L1.91422 9.08664L1.48561 9.50651ZM1.48559 5.3485C0.360176 6.49739 0.360173 8.35759 1.48559 9.50648L1.91421 9.08662C1.0173 8.171 1.0173 6.68399 1.91421 5.76837L1.48559 5.3485ZM5.23053 1.52545L1.4856 5.3485L1.91422 5.76836L5.65915 1.94531L5.23053 1.52545ZM9.32089 1.52544C8.19208 0.373095 6.35934 0.373096 5.23053 1.52544L5.65915 1.9453C6.55268 1.03314 7.99874 1.03314 8.89227 1.9453L9.32089 1.52544ZM5.65915 1.94531C5.65915 1.94531 5.65915 1.94531 5.65915 1.9453L5.23053 1.52544C5.23053 1.52544 5.23053 1.52544 5.23053 1.52545L5.65915 1.94531ZM1.91421 5.76837C1.91421 5.76837 1.91422 5.76836 1.91422 5.76836L1.4856 5.3485C1.4856 5.3485 1.48559 5.3485 1.48559 5.3485L1.91421 5.76837ZM1.91422 9.08664C1.91422 9.08663 1.91421 9.08663 1.91421 9.08662L1.48559 9.50648C1.48559 9.50649 1.4856 9.5065 1.48561 9.50651L1.91422 9.08664ZM2.74646 9.93621C2.74644 9.93619 2.74642 9.93617 2.7464 9.93615L2.31778 10.356C2.3178 10.356 2.31782 10.356 2.31784 10.3561L2.74646 9.93621ZM5.97955 9.93618C5.97955 9.93618 5.97955 9.93618 5.97955 9.93618L6.40817 10.356C6.40817 10.356 6.40817 10.356 6.40817 10.356L5.97955 9.93618ZM9.50324 7.47025C9.1991 7.15977 8.69924 7.15977 8.39511 7.47025L8.82373 7.89011C8.89259 7.81981 9.00576 7.81981 9.07462 7.89011L9.50324 7.47025ZM9.50324 8.55574C9.79862 8.25419 9.79862 7.77179 9.50324 7.47025L9.07462 7.89011C9.1415 7.95838 9.1415 8.0676 9.07462 8.13588L9.50324 8.55574ZM7.07393 11.0357C7.07394 11.0357 7.07395 11.0357 7.07395 11.0357L6.64533 10.6158C6.64533 10.6158 6.64532 10.6158 6.64532 10.6158L7.07393 11.0357ZM1.65203 11.0357C1.65203 11.0357 1.65204 11.0357 1.65205 11.0357L2.08067 10.6159C2.08066 10.6158 2.08065 10.6158 2.08064 10.6158L1.65203 11.0357ZM0.819807 10.1861C0.819819 10.1861 0.81983 10.1862 0.819841 10.1862L1.24846 9.7663C1.24845 9.76629 1.24844 9.76628 1.24843 9.76628L0.819807 10.1861ZM0.819827 4.66884C0.819824 4.66884 0.819822 4.66885 0.819819 4.66885L1.24844 5.08871C1.24844 5.08871 1.24845 5.08871 1.24845 5.0887L0.819827 4.66884ZM4.56476 0.845784C4.56476 0.845786 4.56476 0.845788 4.56475 0.84579L4.99338 1.26565C4.99338 1.26565 4.99338 1.26565 4.99338 1.26564L4.56476 0.845784ZM9.98667 0.845789C9.98667 0.845788 9.98666 0.845787 9.98666 0.845785L9.55804 1.26565C9.55804 1.26565 9.55804 1.26565 9.55805 1.26565L9.98667 0.845789ZM10.8189 1.6954C10.8189 1.69538 10.8189 1.69536 10.8189 1.69535L10.3902 2.11521C10.3902 2.11522 10.3903 2.11523 10.3903 2.11524L10.8189 1.6954ZM11.1146 3.06246C11.3462 2.82606 11.411 2.44051 11.1966 2.14344L10.7101 2.49464C10.7332 2.52669 10.7385 2.58902 10.686 2.64258L11.1146 3.06246ZM9.86916 2.95685C10.1487 3.30046 10.7367 3.44829 11.1146 3.06246L10.686 2.64258C10.652 2.67732 10.6006 2.69693 10.531 2.68804C10.4586 2.67877 10.3842 2.63918 10.3346 2.57823L9.86916 2.95685ZM9.3209 1.52545C9.32089 1.52544 9.32089 1.52544 9.32089 1.52544L8.89227 1.9453C8.89227 1.9453 8.89227 1.94531 8.89228 1.94531L9.3209 1.52545ZM9.72448 2.79488C9.72448 2.79488 9.72448 2.79488 9.72449 2.79488L10.1531 2.37503C10.1531 2.37503 10.1531 2.37502 10.1531 2.37502L9.72448 2.79488Z" transform="translate(28.9286 22.8312) rotate(-180)" fill="white" mask="url(#path-4-outside-2)"/>'
271
+ )
272
+ );
273
+ }
274
  }
assets/css/cht-style.css CHANGED
@@ -578,7 +578,7 @@ a:focus {
578
  }
579
 
580
  .section.one {
581
- max-width: 570px
582
  }
583
 
584
  .section-title {
@@ -634,7 +634,6 @@ a:focus {
634
  align-items: center;
635
  flex-wrap: wrap;
636
  position: relative;
637
- max-width: 520px
638
  }
639
 
640
  .main .channels-selected__item .icon {
@@ -899,7 +898,7 @@ a:focus {
899
  .btn-help {
900
  transform: rotate(90deg);
901
  position: fixed;
902
- left: calc(50vw - 480px + 960px / 12 * 7 + 373px);
903
  top: 306px;
904
  right: auto
905
  }
@@ -931,7 +930,7 @@ a:focus {
931
 
932
  @media (min-width: 1280px) {
933
  .btn-save-sticky {
934
- left: calc(50vw - 480px + 960px / 12 * 7 + 475px);
935
  top: 161px;
936
  right: auto;
937
  border-radius: 0 7px 7px 0;
@@ -939,11 +938,11 @@ a:focus {
939
  }
940
 
941
  html[dir=rtl] .btn-save-sticky {
942
- left: calc(50vw - 480px + 960px / 12 * 7 + 295px)
943
  }
944
 
945
  html[dir=rtl] .btn-help {
946
- left: calc(50vw - 480px + 960px / 12 * 7 + 193px)
947
  }
948
  }
949
 
@@ -1264,6 +1263,10 @@ img.payment-img {
1264
  color: #fff
1265
  }
1266
 
 
 
 
 
1267
  .form-horizontal__item .chaty-widget.chaty-widget-icons-right .icon:before {
1268
  right: -8px;
1269
  left: auto;
@@ -1509,7 +1512,7 @@ html[dir=rtl] input[type=radio]:checked:before {
1509
 
1510
  @media (min-width: 992px) {
1511
  .container {
1512
- max-width: 960px
1513
  }
1514
  }
1515
 
@@ -1656,7 +1659,7 @@ html[dir=rtl] input[type=radio]:checked:before {
1656
  padding-left: 17px;
1657
  position: relative;
1658
  font-size: 14px;
1659
- margin-left: 6px;
1660
  }
1661
 
1662
  .channels__view-check {
@@ -1706,7 +1709,7 @@ html[dir=rtl] input[type=radio]:checked:before {
1706
  background: #FFF;
1707
  box-shadow: 0 4px 14px rgba(0, 0, 0, .15);
1708
  border-radius: 9px;
1709
- width: 200px
1710
  }
1711
 
1712
  .channels__input-box {
@@ -3100,7 +3103,7 @@ p.udner-title strong {
3100
  }
3101
  .channels-selected-list li {
3102
  display: block;
3103
- max-width: 510px;
3104
  padding: 15px;
3105
  background: #EFF6F6;
3106
  -webkit-border-radius: 10px;
@@ -3154,7 +3157,7 @@ p.udner-title strong {
3154
  .chaty-advance-settings {
3155
  width: 100%;
3156
  border: solid 1px #a785cb;
3157
- margin: 10px 0 0 0;
3158
  padding: 10px;
3159
  -webkit-border-radius: 5px;
3160
  -moz-border-radius: 5px;
@@ -3170,7 +3173,11 @@ p.udner-title strong {
3170
  vertical-align: middle;
3171
  }
3172
  .chaty-setting-col > label {
3173
- width: 140px;
 
 
 
 
3174
  }
3175
  .chaty-setting-col input[type='text'] {
3176
  width: 310px;
@@ -3275,7 +3282,7 @@ a#upload_qr_code span {
3275
  pointer-events: auto;
3276
  }
3277
  .chaty-settings.cls-btn {
3278
- margin-left: 22px;
3279
  }
3280
  .section2 {
3281
  padding: 25px 15px 30px;
578
  }
579
 
580
  .section.one {
581
+ max-width: 680px
582
  }
583
 
584
  .section-title {
634
  align-items: center;
635
  flex-wrap: wrap;
636
  position: relative;
 
637
  }
638
 
639
  .main .channels-selected__item .icon {
898
  .btn-help {
899
  transform: rotate(90deg);
900
  position: fixed;
901
+ left: calc(50vw - 480px + 1050px / 12 * 7 + 373px);
902
  top: 306px;
903
  right: auto
904
  }
930
 
931
  @media (min-width: 1280px) {
932
  .btn-save-sticky {
933
+ left: calc(50vw - 480px + 1050px / 12 * 7 + 475px);
934
  top: 161px;
935
  right: auto;
936
  border-radius: 0 7px 7px 0;
938
  }
939
 
940
  html[dir=rtl] .btn-save-sticky {
941
+ left: calc(50vw - 480px + 1050px / 12 * 7 + 295px)
942
  }
943
 
944
  html[dir=rtl] .btn-help {
945
+ left: calc(50vw - 480px + 1050px / 12 * 7 + 193px)
946
  }
947
  }
948
 
1263
  color: #fff
1264
  }
1265
 
1266
+ .btn-red:hover, .btn-red:focus {
1267
+ color: #fff
1268
+ }
1269
+
1270
  .form-horizontal__item .chaty-widget.chaty-widget-icons-right .icon:before {
1271
  right: -8px;
1272
  left: auto;
1512
 
1513
  @media (min-width: 992px) {
1514
  .container {
1515
+ max-width: 1070px
1516
  }
1517
  }
1518
 
1659
  padding-left: 17px;
1660
  position: relative;
1661
  font-size: 14px;
1662
+ margin-left: 15px;
1663
  }
1664
 
1665
  .channels__view-check {
1709
  background: #FFF;
1710
  box-shadow: 0 4px 14px rgba(0, 0, 0, .15);
1711
  border-radius: 9px;
1712
+ width: 330px;
1713
  }
1714
 
1715
  .channels__input-box {
3103
  }
3104
  .channels-selected-list li {
3105
  display: block;
3106
+ max-width: 640px;
3107
  padding: 15px;
3108
  background: #EFF6F6;
3109
  -webkit-border-radius: 10px;
3157
  .chaty-advance-settings {
3158
  width: 100%;
3159
  border: solid 1px #a785cb;
3160
+ margin: 20px 0 0 0;
3161
  padding: 10px;
3162
  -webkit-border-radius: 5px;
3163
  -moz-border-radius: 5px;
3173
  vertical-align: middle;
3174
  }
3175
  .chaty-setting-col > label {
3176
+ width: 150px;
3177
+ }
3178
+ .chaty-setting-col .channels__view {
3179
+ margin: 0;
3180
+ padding: 0;
3181
  }
3182
  .chaty-setting-col input[type='text'] {
3183
  width: 310px;
3282
  pointer-events: auto;
3283
  }
3284
  .chaty-settings.cls-btn {
3285
+ margin-left: 42px;
3286
  }
3287
  .section2 {
3288
  padding: 25px 15px 30px;
assets/css/cht-widget.css CHANGED
@@ -1 +1 @@
1
- .chaty-widget{position:fixed;width:62px;z-index:9999}.chaty-widget .chaty-widget-icons{display:flex;flex-wrap:wrap;transition:all 0.2s;overflow:hidden;height:0;opacity:0;position:absolute;left:0;right:auto;bottom:60px}.chaty-widget .chaty-widget-icons .chaty-widget-icon{opacity:0;transition:all 0.2s;max-height:0;overflow:hidden}.chaty-widget .icon-trigger{position:relative;margin-top:6px}.chaty-widget .icon-trigger .icon-trigger-open,.chaty-widget .icon-trigger .icon-trigger-close{transition:all 0.2s}.chaty-widget .icon-trigger .icon-trigger-close{position:absolute;bottom:-4px;left:0;right:0;z-index:2}.chaty-widget .icon-trigger .icon-trigger-open{opacity:1;pointer-events:auto}.chaty-widget .icon-trigger .icon-trigger-close{opacity:0;pointer-events:none}.chaty-widget:not(.chaty-widget-show) .chaty-widget-icons{height:0 !important}.chaty-widget.chaty-widget-show .icon-trigger .icon-trigger-open{opacity:0;pointer-events:none}.chaty-widget.chaty-widget-show .icon-trigger .icon-trigger-close{opacity:1;pointer-events:auto}.chaty-widget.chaty-widget-show .chaty-widget-icons{overflow:visible;opacity:1}.chaty-widget.chaty-widget-show .chaty-widget-icons .chaty-widget-icon{opacity:1;max-height:54px;overflow:visible}.chaty-widget .chaty-widget-icon{flex:0 0 54px;border-radius:50%;vertical-align:top;font-size:0;position:relative;box-shadow:0px 3px 6px rgba(0,0,0,0.25);margin:4px}.chaty-widget .chaty-widget-icon svg{cursor:pointer;width:54px;height:54px}.chaty-widget .chaty-widget-icon:not(.no-tooltip) .chaty-widget-icon-title,.chaty-widget .chaty-widget-icon:not(.no-tooltip):before{content:none;position:absolute;opacity:0;pointer-events:none;z-index:10}.chaty-widget .chaty-widget-icon:not(.no-tooltip):before{content:'';left:-8px;top:50%;transform:translateY(-50%);height:0;width:0;z-index:11;border-width:5px 0 5px 10px;border-style:solid;border-color:transparent transparent transparent #fff}.chaty-widget .chaty-widget-icon:not(.no-tooltip) .chaty-widget-icon-title{font-size:17px;left:0;top:50%;transform:translate(calc(-100% - 6px), -50%);white-space:nowrap;padding:5px 15px;line-height:21px;color:#333;background-color:#fff;box-shadow:0 1.93465px 7.73859px rgba(0,0,0,0.15);border-radius:10px}.chaty-widget .chaty-widget-icon:not(.no-tooltip):hover .chaty-widget-icon-title,.chaty-widget .chaty-widget-icon:not(.no-tooltip):hover:before{opacity:1;pointer-events:auto}.chaty-widget .chaty-widget-icon .color-element{transition:all .2s}.chaty-widget:not(.chaty-widget-icons-right) .chaty-widget-icons{position:absolute;right:0;left:auto;bottom:60px;justify-content:flex-end}.chaty-widget.chaty-widget-icons-right .chaty-widget-icon:before{right:-8px;left:auto;border-width:5px 10px 5px 0;border-color:transparent #fff transparent transparent}.chaty-widget.chaty-widget-icons-right .chaty-widget-icon .chaty-widget-icon-title{right:0;left:auto;transform:translate(calc(100% + 6px), -50%)}
1
+ .chaty-widget{position:fixed;width:62px;z-index:9999}.chaty-widget .chaty-widget-icons{display:flex;flex-wrap:wrap;transition:all 0.2s;overflow:hidden;height:0;opacity:0;position:absolute;left:0;right:auto;bottom:60px}.chaty-widget .chaty-widget-icons .chaty-widget-icon{opacity:0;transition:all 0.2s;max-height:0;overflow:hidden}.chaty-widget .icon-trigger{position:relative;margin-top:6px}.chaty-widget .icon-trigger .icon-trigger-open,.chaty-widget .icon-trigger .icon-trigger-close{transition:all 0.2s}.chaty-widget .icon-trigger .icon-trigger-close{position:absolute;bottom:-4px;left:0;right:0;z-index:2}.chaty-widget .icon-trigger .icon-trigger-open{opacity:1;pointer-events:auto}.chaty-widget .icon-trigger .icon-trigger-close{opacity:0;pointer-events:none}.chaty-widget:not(.chaty-widget-show) .chaty-widget-icons{height:0 !important}.chaty-widget.chaty-widget-show .icon-trigger .icon-trigger-open{opacity:0;pointer-events:none}.chaty-widget.chaty-widget-show .icon-trigger .icon-trigger-close{opacity:1;pointer-events:auto}.chaty-widget.chaty-widget-show .chaty-widget-icons{overflow:visible;opacity:1}.chaty-widget.chaty-widget-show .chaty-widget-icons .chaty-widget-icon{opacity:1;max-height:54px;overflow:visible}.chaty-widget .chaty-widget-icon{flex:0 0 54px;border-radius:50%;vertical-align:top;font-size:0;position:relative;box-shadow:0px 3px 6px rgba(0,0,0,0.25);margin:4px}.chaty-widget .chaty-widget-icon svg{cursor:pointer;width:54px;height:54px}.chaty-widget .chaty-widget-icon:not(.no-tooltip) .chaty-widget-icon-title,.chaty-widget .chaty-widget-icon:not(.no-tooltip):before{content:none;position:absolute;opacity:0;pointer-events:none;z-index:10}.chaty-widget .chaty-widget-icon:not(.no-tooltip):before{content:'';left:-8px;top:50%;transform:translateY(-50%);height:0;width:0;z-index:11;border-width:5px 0 5px 10px;border-style:solid;border-color:transparent transparent transparent #fff}.chaty-widget .chaty-widget-icon:not(.no-tooltip) .chaty-widget-icon-title{font-size:17px;left:0;top:50%;transform:translate(calc(-100% - 6px), -50%);white-space:nowrap;padding:5px 15px;line-height:21px;color:#333;background-color:#fff;box-shadow:0 1.93465px 7.73859px rgba(0,0,0,0.15);border-radius:10px}.chaty-widget .chaty-widget-icon:not(.no-tooltip):hover .chaty-widget-icon-title,.chaty-widget .chaty-widget-icon:not(.no-tooltip):hover:before{opacity:1;pointer-events:auto}.chaty-widget .chaty-widget-icon .color-element{transition:all .2s}.chaty-widget:not(.chaty-widget-icons-right) .chaty-widget-icons{position:absolute;right:0;left:auto;bottom:60px;justify-content:flex-end}.chaty-widget.chaty-widget-icons-right .chaty-widget-icon:before{right:-8px;left:auto;border-width:5px 10px 5px 0;border-color:transparent #fff transparent transparent}.chaty-widget.chaty-widget-icons-right .chaty-widget-icon .chaty-widget-icon-title{right:0;left:auto;transform:translate(calc(100% + 6px), -50%)}
assets/css/src/_channels.less CHANGED
@@ -1,58 +1,58 @@
1
- .channels{
2
- &__view{
3
- display: inline-block;
4
- color: #5d5c5c;
5
- margin-bottom: 0;
6
- cursor: pointer;
7
- line-height: 14px;
8
- padding-left: 17px;
9
- position: relative;
10
- font-size: 14px;
11
- margin-left: 6px;
12
- &-check{
13
- position: absolute;
14
- z-index: -1;
15
- opacity: 0;
16
- &:checked {
17
- &~.channels__view-txt {
18
- &::before {
19
- background-image: url("../images/icon-check.svg");
20
- background-color: @background_color_2;
21
- }
22
- }
23
- }
24
- }
25
- &-txt{
26
- &:before {
27
- content: '';
28
- transition: all 0.2s;
29
- position: absolute;
30
- top: 0;
31
- left: 0;
32
- display: block;
33
- width: 13px;
34
- height: 13px;
35
- line-height: 13px;
36
- text-align: center;
37
- box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
38
- border-radius: 3px;
39
- background-position: center;
40
- background-repeat: no-repeat;
41
- background-size: 13px;
42
- }
43
- }
44
- }
45
- &__input{
46
- padding: 9px 7px;
47
- border: 0;
48
- line-height: 24px;
49
- background: #FFFFFF;
50
- box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
51
- border-radius: 9px;
52
- width: 282px;
53
- &-box{
54
- position: relative;
55
- margin-right: 13px;
56
- }
57
- }
58
- }
1
+ .channels{
2
+ &__view{
3
+ display: inline-block;
4
+ color: #5d5c5c;
5
+ margin-bottom: 0;
6
+ cursor: pointer;
7
+ line-height: 14px;
8
+ padding-left: 17px;
9
+ position: relative;
10
+ font-size: 14px;
11
+ margin-left: 6px;
12
+ &-check{
13
+ position: absolute;
14
+ z-index: -1;
15
+ opacity: 0;
16
+ &:checked {
17
+ &~.channels__view-txt {
18
+ &::before {
19
+ background-image: url("../images/icon-check.svg");
20
+ background-color: @background_color_2;
21
+ }
22
+ }
23
+ }
24
+ }
25
+ &-txt{
26
+ &:before {
27
+ content: '';
28
+ transition: all 0.2s;
29
+ position: absolute;
30
+ top: 0;
31
+ left: 0;
32
+ display: block;
33
+ width: 13px;
34
+ height: 13px;
35
+ line-height: 13px;
36
+ text-align: center;
37
+ box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
38
+ border-radius: 3px;
39
+ background-position: center;
40
+ background-repeat: no-repeat;
41
+ background-size: 13px;
42
+ }
43
+ }
44
+ }
45
+ &__input{
46
+ padding: 9px 7px;
47
+ border: 0;
48
+ line-height: 24px;
49
+ background: #FFFFFF;
50
+ box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
51
+ border-radius: 9px;
52
+ width: 282px;
53
+ &-box{
54
+ position: relative;
55
+ margin-right: 13px;
56
+ }
57
+ }
58
+ }
assets/css/src/_file-input.less CHANGED
@@ -1,140 +1,140 @@
1
- .file-input{
2
- width: 40px;
3
- height: 44px;
4
- display: block;
5
- position: relative;
6
- input[type=file] {
7
- top: 0;
8
- left: 0;
9
- min-width: 100%;
10
- min-height: 100%;
11
- text-align: right;
12
- opacity: 0;
13
- background: none repeat scroll 0 0 transparent;
14
- cursor: pointer;
15
- display: block;
16
- position: absolute;
17
- }
18
- }
19
- .form-group{
20
- position: relative;
21
- &:hover{
22
- :not(.file-input-new){
23
- .file-browse{
24
- display: block;
25
- z-index: 10;
26
- .icon-upload{
27
- background: rgba(0, 0, 0, .5);
28
- }
29
- }
30
- }
31
- }
32
- }
33
- .kv-file-content{
34
- width: 40px;
35
- height: 40px;
36
- background: #fff;
37
- border-radius: 100%;
38
- text-align: center;
39
- margin: 0 auto;
40
- overflow: hidden;
41
- position: relative;
42
- &:after{
43
- //content: '';
44
- //background: rgba(0, 0, 0, .7);
45
- //display: block;
46
- //width: 100%;
47
- //height: 100%;
48
- //left: 0;
49
- //top: 0;
50
- //position: absolute;
51
- }
52
- img{
53
- width: auto;
54
- height: auto;
55
- max-width: 100%;
56
- max-height: 100%;
57
- }
58
- }
59
- .file-footer-caption{
60
- display: none;
61
- }
62
- .file-footer-caption{
63
- display: none;
64
- }
65
- .file-actions{
66
- display: none;
67
- }
68
- .file-drop-zone-title{
69
- display: none;
70
- }
71
- .btn-file{
72
- overflow: hidden;
73
- position: relative;
74
- }
75
- .file-preview{
76
- position: absolute;
77
- }
78
- .file-preview-thumbnails{
79
- width: 54px;
80
- height: 54px;
81
- //background: #a886cd;
82
- border-radius: 100%;
83
- position: absolute;
84
- left: 0;
85
- top: 0;
86
- }
87
- .file-thumbnail-footer{
88
- //display: none;
89
- }
90
- .file-preview-status{
91
- display: none;
92
- }
93
- .file-preview-frame{
94
- position: absolute;
95
- left: 0;
96
- top:0;
97
- right: 0;
98
- z-index: 10;
99
- &.file-preview-initial{
100
- z-index: 0;
101
- }
102
- }
103
-
104
- .file-browse{
105
- display: none;
106
- span{
107
- display: none;
108
- }
109
- }
110
- .file-input-new{
111
- .file-browse{
112
- display: block;
113
- span{
114
- display: block;
115
- color:@color_1;
116
- text-decoration: underline;
117
- position: absolute;
118
- bottom: 0;
119
- left: 0;
120
- right: 0;
121
- }
122
- &:hover{
123
- span{
124
- text-decoration: none;
125
- }
126
- }
127
- }
128
- }
129
-
130
- @media (min-width: 768px) {
131
- .kv-file-content{
132
- width: 54px;
133
- height: 54px;
134
- }
135
- .file-input{
136
- width: 54px;
137
- height: 60px;
138
- }
139
-
140
- }
1
+ .file-input{
2
+ width: 40px;
3
+ height: 44px;
4
+ display: block;
5
+ position: relative;
6
+ input[type=file] {
7
+ top: 0;
8
+ left: 0;
9
+ min-width: 100%;
10
+ min-height: 100%;
11
+ text-align: right;
12
+ opacity: 0;
13
+ background: none repeat scroll 0 0 transparent;
14
+ cursor: pointer;
15
+ display: block;
16
+ position: absolute;
17
+ }
18
+ }
19
+ .form-group{
20
+ position: relative;
21
+ &:hover{
22
+ :not(.file-input-new){
23
+ .file-browse{
24
+ display: block;
25
+ z-index: 10;
26
+ .icon-upload{
27
+ background: rgba(0, 0, 0, .5);
28
+ }
29
+ }
30
+ }
31
+ }
32
+ }
33
+ .kv-file-content{
34
+ width: 40px;
35
+ height: 40px;
36
+ background: #fff;
37
+ border-radius: 100%;
38
+ text-align: center;
39
+ margin: 0 auto;
40
+ overflow: hidden;
41
+ position: relative;
42
+ &:after{
43
+ //content: '';
44
+ //background: rgba(0, 0, 0, .7);
45
+ //display: block;
46
+ //width: 100%;
47
+ //height: 100%;
48
+ //left: 0;
49
+ //top: 0;
50
+ //position: absolute;
51
+ }
52
+ img{
53
+ width: auto;
54
+ height: auto;
55
+ max-width: 100%;
56
+ max-height: 100%;
57
+ }
58
+ }
59
+ .file-footer-caption{
60
+ display: none;
61
+ }
62
+ .file-footer-caption{
63
+ display: none;
64
+ }
65
+ .file-actions{
66
+ display: none;
67
+ }
68
+ .file-drop-zone-title{
69
+ display: none;
70
+ }
71
+ .btn-file{
72
+ overflow: hidden;
73
+ position: relative;
74
+ }
75
+ .file-preview{
76
+ position: absolute;
77
+ }
78
+ .file-preview-thumbnails{
79
+ width: 54px;
80
+ height: 54px;
81
+ //background: #a886cd;
82
+ border-radius: 100%;
83
+ position: absolute;
84
+ left: 0;
85
+ top: 0;
86
+ }
87
+ .file-thumbnail-footer{
88
+ //display: none;
89
+ }
90
+ .file-preview-status{
91
+ display: none;
92
+ }
93
+ .file-preview-frame{
94
+ position: absolute;
95
+ left: 0;
96
+ top:0;
97
+ right: 0;
98
+ z-index: 10;
99
+ &.file-preview-initial{
100
+ z-index: 0;
101
+ }
102
+ }
103
+
104
+ .file-browse{
105
+ display: none;
106
+ span{
107
+ display: none;
108
+ }
109
+ }
110
+ .file-input-new{
111
+ .file-browse{
112
+ display: block;
113
+ span{
114
+ display: block;
115
+ color:@color_1;
116
+ text-decoration: underline;
117
+ position: absolute;
118
+ bottom: 0;
119
+ left: 0;
120
+ right: 0;
121
+ }
122
+ &:hover{
123
+ span{
124
+ text-decoration: none;
125
+ }
126
+ }
127
+ }
128
+ }
129
+
130
+ @media (min-width: 768px) {
131
+ .kv-file-content{
132
+ width: 54px;
133
+ height: 54px;
134
+ }
135
+ .file-input{
136
+ width: 54px;
137
+ height: 60px;
138
+ }
139
+
140
+ }
assets/css/src/_icon.less CHANGED
@@ -1,61 +1,61 @@
1
- @font-face {
2
- font-family: '@{icomoon-font-family}';
3
- src:
4
- url('@{icomoon-font-path}/@{icomoon-font-family}.ttf?qh3c2u') format('truetype'),
5
- url('@{icomoon-font-path}/@{icomoon-font-family}.woff?qh3c2u') format('woff'),
6
- url('@{icomoon-font-path}/@{icomoon-font-family}.svg?qh3c2u#@{icomoon-font-family}') format('svg');
7
- font-weight: normal;
8
- font-style: normal;
9
- }
10
-
11
- i {
12
- /* use !important to prevent issues with browser extensions that change fonts */
13
- font-family: '@{icomoon-font-family}' !important;
14
- speak: none;
15
- font-style: normal;
16
- font-weight: normal;
17
- font-variant: normal;
18
- text-transform: none;
19
- line-height: 1;
20
- color:#fff;
21
-
22
- /* Better Font Rendering =========== */
23
- -webkit-font-smoothing: antialiased;
24
- -moz-osx-font-smoothing: grayscale;
25
- }
26
-
27
- .icon-chat-base {
28
- &:before {
29
- content: @icon-chat-base;
30
- }
31
- }
32
- .icon-chat-db {
33
- &:before {
34
- content: @icon-chat-db;
35
- }
36
- }
37
- .icon-chat-bubble {
38
- &:before {
39
- content: @icon-chat-bubble;
40
- }
41
- }
42
- .icon-chat-smile {
43
- &:before {
44
- content: @icon-chat-smile;
45
- }
46
- }
47
- .icon-upload {
48
- &:before {
49
- content: @icon-upload;
50
- }
51
- }
52
- .icon-phone {
53
- &:before {
54
- content: @icon-phone;
55
- }
56
- }
57
- .icon-whatsapp {
58
- &:before {
59
- content: @icon-whatsapp;
60
- }
61
- }
1
+ @font-face {
2
+ font-family: '@{icomoon-font-family}';
3
+ src:
4
+ url('@{icomoon-font-path}/@{icomoon-font-family}.ttf?qh3c2u') format('truetype'),
5
+ url('@{icomoon-font-path}/@{icomoon-font-family}.woff?qh3c2u') format('woff'),
6
+ url('@{icomoon-font-path}/@{icomoon-font-family}.svg?qh3c2u#@{icomoon-font-family}') format('svg');
7
+ font-weight: normal;
8
+ font-style: normal;
9
+ }
10
+
11
+ i {
12
+ /* use !important to prevent issues with browser extensions that change fonts */
13
+ font-family: '@{icomoon-font-family}' !important;
14
+ speak: none;
15
+ font-style: normal;
16
+ font-weight: normal;
17
+ font-variant: normal;
18
+ text-transform: none;
19
+ line-height: 1;
20
+ color:#fff;
21
+
22
+ /* Better Font Rendering =========== */
23
+ -webkit-font-smoothing: antialiased;
24
+ -moz-osx-font-smoothing: grayscale;
25
+ }
26
+
27
+ .icon-chat-base {
28
+ &:before {
29
+ content: @icon-chat-base;
30
+ }
31
+ }
32
+ .icon-chat-db {
33
+ &:before {
34
+ content: @icon-chat-db;
35
+ }
36
+ }
37
+ .icon-chat-bubble {
38
+ &:before {
39
+ content: @icon-chat-bubble;
40
+ }
41
+ }
42
+ .icon-chat-smile {
43
+ &:before {
44
+ content: @icon-chat-smile;
45
+ }
46
+ }
47
+ .icon-upload {
48
+ &:before {
49
+ content: @icon-upload;
50
+ }
51
+ }
52
+ .icon-phone {
53
+ &:before {
54
+ content: @icon-phone;
55
+ }
56
+ }
57
+ .icon-whatsapp {
58
+ &:before {
59
+ content: @icon-whatsapp;
60
+ }
61
+ }
assets/css/src/_main.less CHANGED
@@ -1,1533 +1,1533 @@
1
- * {
2
- box-sizing: border-box;
3
- &::before {
4
- box-sizing: border-box;
5
- }
6
- &::after {
7
- box-sizing: border-box;
8
- }
9
- }
10
- input::-webkit-outer-spin-button,
11
- input::-webkit-inner-spin-button {
12
- appearance: none;
13
- -webkit-appearance: none;
14
- margin: 0; /* <-- Apparently some margin are still there even though it's hidden */
15
- }
16
- .container {
17
- width: 100%;
18
- padding-right: 15px;
19
- padding-left: 15px;
20
- margin-right: auto;
21
- margin-left: auto;
22
- }
23
- .ml-auto {
24
- margin-left: auto;
25
- }
26
- .col-12 {
27
- flex: 0 0 100%;
28
- max-width: 100%;
29
- }
30
- .text-center {
31
- text-align: center;
32
- }
33
- .text-primary {
34
- color: @color_1;
35
- }
36
- .align-top {
37
- align-self: flex-start;
38
- }
39
- .custom-control {
40
- display: inline-block;
41
- color: @color_2;
42
- margin-bottom: 0;
43
- cursor: pointer;
44
- min-height: 22px;
45
- line-height: 22px;
46
- padding-left: 20px;
47
- position: relative;
48
- .custom-control-input {
49
- position: absolute;
50
- z-index: -1;
51
- opacity: 0;
52
- &.js-upload:disabled{
53
- &~.custom-control-label {
54
- &::before {
55
- background: rgba(0, 0, 0, .1);
56
- }
57
- }
58
- }
59
- &:disabled ~i {
60
- opacity: .5;
61
- }
62
- }
63
- &+.custom-control {
64
- margin-left: 16px;
65
- }
66
- }
67
- .custom-control.custom-checkbox {
68
- .custom-control-label {
69
- &::before {
70
- border-radius: 4px;
71
- content: '';
72
- transition: all 0.2s;
73
- position: absolute;
74
- top: 3px;
75
- left: 0;
76
- display: block;
77
- width: 15px;
78
- height: 15px;
79
- line-height: 15px;
80
- text-align: center;
81
- background-color: @background_color_1;
82
- box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
83
- border-radius: 3px;
84
- background-position: center;
85
- background-repeat: no-repeat;
86
- background-size: 15px;
87
- }
88
- position: static;
89
- &::after {
90
- display: none;
91
- }
92
- }
93
- .custom-control-input {
94
- &:checked {
95
- &~.custom-control-label {
96
- &::before {
97
- background-image: url("../images/icon-check.svg");
98
- background-color: @background_color_2;
99
- }
100
- }
101
- }
102
- }
103
- }
104
- .custom-control.custom-radio {
105
- padding-left: 27px;
106
- .custom-control-label {
107
- &::before {
108
- border-radius: 4px;
109
- content: '';
110
- transition: all 0.2s;
111
- position: absolute;
112
- top: 0;
113
- left: 0;
114
- display: block;
115
- width: 22px;
116
- height: 22px;
117
- background-color: @background_color_1;
118
- box-shadow: 0px 4px 14px rgba(0, 0, 0, 0.15);
119
- border-radius: 50%;
120
- border: 5px solid white;
121
- }
122
- position: static;
123
- &::after {
124
- display: none;
125
- }
126
- }
127
- .custom-control-input {
128
- &:checked {
129
- &~.custom-control-label {
130
- &::before {
131
- background: linear-gradient(153.18deg, #6371DB 7.07%, #FF89C4 90.47%);
132
- }
133
- }
134
- }
135
- }
136
- }
137
-
138
- .position-pro {
139
- background: rgba(168, 134, 205, 0.1);
140
- border-radius: 4px;
141
- display: flex;
142
- padding: 6px 0;
143
- transition: all 0.2s;
144
- margin-top: 11px;
145
- flex-wrap: wrap;
146
- >div {
147
- flex: 0 0 auto;
148
- padding: 6px 15px;
149
- >label {
150
- &:first-child {
151
- display: block;
152
- margin-bottom: 10px;
153
- }
154
- }
155
- .custom-control-group {
156
- background: #FFFFFF;
157
- box-shadow: 0px 4px 14px rgba(0, 0, 0, 0.15);
158
- border-radius: 5px;
159
- display: flex;
160
- align-items: center;
161
- width: 150px;
162
- height: 34px;
163
- .custom-control {
164
- width: 75px;
165
- padding: 0;
166
- margin: 0 !important;
167
- .custom-control-label {
168
- width: 100%;
169
- color: @color_3;
170
- height: 34px;
171
- display: flex;
172
- align-items: center;
173
- padding: 6px 7px;
174
- &:before {
175
- content: none;
176
- }
177
- }
178
- .custom-control-input {
179
- &:checked {
180
- &+.custom-control-label {
181
- color: @color_1;
182
- box-shadow: inset 0px 3px 7px rgba(0, 0, 0, 0.08);
183
- path {
184
- fill: @color_1;
185
- }
186
- }
187
- }
188
- }
189
- &:first-child {
190
- .custom-control-label {
191
- border-radius: 5px 0 0 5px;
192
- text-align: left;
193
- svg {
194
- margin-right: 5px;
195
- }
196
- }
197
- }
198
- &:last-child {
199
- .custom-control-label {
200
- border-radius: 0 5px 5px 0;
201
- display: flex;
202
- justify-content: flex-end;
203
- svg {
204
- margin-left: 5px;
205
- }
206
- }
207
- }
208
- }
209
- }
210
- }
211
- input {
212
- background: #FFFFFF;
213
- box-shadow: 0px 4px 14px rgba(0, 0, 0, 0.15);
214
- border-radius: 5px;
215
- border: 0;
216
- line-height: 24px;
217
- padding: 5px 7px;
218
- width: 60px;
219
- margin-right: 3px;
220
- }
221
- }
222
- .color-picker {
223
- background: #FFFFFF;
224
- box-shadow: 0 1px 7px rgba(0, 0, 0, 0.08);
225
- border-radius: 4px;
226
- width: 330px;
227
- display: none;
228
- position: relative;
229
- .color-picker-radio {
230
- display: flex;
231
- padding: 6px 8px 10px;
232
- border-bottom: 1px solid rgba(130, 130, 130, 0.1);
233
- label {
234
- border-radius: 50%;
235
- width: 28px;
236
- height: 28px;
237
- position: relative;
238
- cursor: pointer;
239
- font-size: 0;
240
- span {
241
- display: block;
242
- width: 28px;
243
- height: 28px;
244
- vertical-align: top;
245
- opacity: 0;
246
- transition: all 0.2s;
247
- background-position: center;
248
- background-repeat: no-repeat;
249
- background-image: url("../images/icon-check-white.svg");
250
- }
251
- input {
252
- position: absolute;
253
- z-index: -1;
254
- opacity: 0;
255
- &:checked {
256
- &+span {
257
- opacity: 1;
258
- }
259
- }
260
- }
261
- &+label {
262
- margin-left: 12px;
263
- }
264
- }
265
- }
266
- .color-picker-custom {
267
- padding: 10px 8px 16px;
268
- >div {
269
- display: flex;
270
- align-items: center;
271
- &+div {
272
- margin-top: 10px;
273
- }
274
- }
275
- .circle {
276
- color: @color_5;
277
- background: #FFFFFF;
278
- border: 1px solid #D0D0D0;
279
- border-radius: 50%;
280
- width: 28px;
281
- height: 28px;
282
- align-items: center;
283
- justify-content: center;
284
- display: flex;
285
- margin-right: 3px;
286
- font-size: 14px;
287
- }
288
- a {
289
- margin-left: 5px;
290
- }
291
- input {
292
- background: #FFFFFF;
293
- box-shadow: 0px 4px 14px rgba(0, 0, 0, 0.15);
294
- border-radius: 5px;
295
- border: 0;
296
- line-height: 24px;
297
- padding: 5px 7px;
298
- height: 34px;
299
- width: 180px;
300
- }
301
- }
302
- }
303
- .color-picker-btn {
304
- background-color: @background_color_1;
305
- box-shadow: 0px 1px 7px rgba(0, 0, 0, 0.08);
306
- border-radius: 4px;
307
- border: 0;
308
- padding: 3px 8px;
309
- line-height: 17px;
310
- .circle {
311
- display: inline-block;
312
- vertical-align: top;
313
- width: 15px;
314
- height: 15px;
315
- border-radius: 50%;
316
- margin: 1px 4px 1px 0;
317
- }
318
- svg {
319
- transition: all 0.2s;
320
- margin-left: 8px;
321
- }
322
- }
323
- .color-picker-btn-close {
324
- background-color: @background_color_2;
325
- border: 0;
326
- padding: 5px;
327
- line-height: 17px;
328
- position: absolute;
329
- right: 0;
330
- top: 0;
331
- svg {
332
- transform: rotate(180deg);
333
- }
334
- }
335
- .switch {
336
- display: flex;
337
- align-items: center;
338
- margin-bottom: 0;
339
- position: relative;
340
- flex: 0 0 auto;
341
- input[type="checkbox"] {
342
- pointer-events: none;
343
- opacity: 0;
344
- position: absolute;
345
- top: 0;
346
- right: 0;
347
- z-index: -1;
348
- width: 0;
349
- height: 0;
350
- &:checked {
351
- &+.switch__styled {
352
- &:after {
353
- left: 40px;
354
- }
355
- background: linear-gradient(133.22deg, #6371DB 14.55%, #FF89C4 80.37%), #fff;
356
- }
357
- }
358
- }
359
- }
360
- .form-group {
361
- .switch {
362
- height: 42px;
363
- }
364
- }
365
- .switch__styled {
366
- background: linear-gradient(283.61deg, #F6F6F6 7.4%, #fff 91.67%), #fff;
367
- margin: 0 8px;
368
- display: inline-block;
369
- height: 34px;
370
- width: 72px;
371
- border-radius: 17px;
372
- position: relative;
373
- transition: all 0.2s;
374
- cursor: pointer;
375
- box-shadow: 0px 4px 14px rgba(0, 0, 0, 0.15);
376
- &:after {
377
- content: '';
378
- position: absolute;
379
- left: 2px;
380
- top: 2px;
381
- height: 30px;
382
- width: 30px;
383
- border-radius: 50%;
384
- background-color: @background_color_3;
385
- transition: all 0.2s;
386
- }
387
- }
388
- .switch.custom-switch {
389
- margin-right: auto;
390
- margin-left: 30px;
391
- .switch__styled {
392
- background: linear-gradient(283.61deg, #F6F6F6 7.4%, #fff 91.67%), #fff;
393
- box-shadow: 0px 4px 14px rgba(0, 0, 0, 0.15);
394
- }
395
- }
396
- body {
397
- height: auto;
398
- background-image: url("../images/bg.svg");
399
- background-position: 155px 30px;
400
- background-repeat: no-repeat;
401
- background-size: calc(100% - 150px) auto;
402
- background-attachment: fixed;
403
- font-family: @font_family_1;
404
- color: @color_6;
405
- font-size: 17px;
406
- padding-bottom: 50px;
407
- -webkit-font-smoothing: antialiased;
408
- margin: 0;
409
- }
410
- button {
411
- font-family: @font_family_1;
412
- font-size: 17px;
413
- cursor: pointer;
414
- &:focus {
415
- outline: none;
416
- }
417
- }
418
- button#collapse-button {
419
- font-size: 13px;
420
- }
421
- input {
422
- font-family: @font_family_1;
423
- font-size: 17px;
424
- &:focus {
425
- outline: none;
426
- }
427
- }
428
- #cht-form {
429
- input[type=submit] {
430
- opacity: 0;
431
- position: absolute;
432
- }
433
- }
434
- a{
435
- color: @color_1;
436
- }
437
- a:focus {
438
- color: @color_1;
439
- box-shadow: none;
440
- }
441
- &::-webkit-input-placeholder {
442
- color: @color_3;
443
- }
444
- &::-moz-placeholder {
445
- color: @color_3;
446
- }
447
- &:-ms-input-placeholder {
448
- color: @color_3;
449
- }
450
- &:-moz-placeholder {
451
- color: @color_3;
452
- }
453
- .section {
454
- padding: 30px 15px;
455
- position: relative;
456
-
457
- &+.section {
458
- border-top: 2px solid rgba(130, 130, 130, 0.1);
459
- }
460
- &.one{
461
- max-width: 570px;
462
- }
463
- }
464
- .section-title {
465
- font-family: @font_family_2;
466
- font-size: 30px;
467
- color: @color_7;
468
- line-height: 44px;
469
- margin-bottom: 30px;
470
- font-weight: normal;
471
- margin-top: 0;
472
- display: flex;
473
- strong{
474
- flex: 0 0 122px;
475
- margin: 0 14px 0 0;
476
- text-align: right;
477
- font-weight: bold;
478
- }
479
- }
480
- .main {
481
- background-color: @background_color_4;
482
- border-radius: 9px;
483
- position: relative;
484
- .channels-icons {
485
- display: flex;
486
- flex-wrap: wrap;
487
- margin: 0 -8px 20px;
488
- >.icon {
489
- padding: 0 8px;
490
- margin-bottom: 16px;
491
- .color-element {
492
- transition: all .2s;
493
- }
494
- &:not(.active) {
495
- svg {
496
- cursor: pointer;
497
- }
498
- &:not(:hover) {
499
- .color-element {
500
- fill: #BDBDBD;
501
- }
502
- }
503
- }
504
- }
505
- }
506
- .channels-selected {
507
- padding-top: 20px;
508
- position: relative;
509
- min-height: 220px;
510
- }
511
- .channels-selected__item {
512
- display: flex;
513
- align-items: center;
514
- flex-wrap: wrap;
515
- position: relative;
516
- padding-bottom: 20px;
517
- margin-bottom: 20px;
518
- max-width: 520px;
519
- .icon {
520
- margin-right: 16px;
521
- cursor: pointer;
522
- width: 50px;
523
- background: #49E670;
524
- border-radius: 100%;
525
- height: 50px;
526
- text-align: center;
527
- vertical-align: middle;
528
- &>i{
529
- font-size: 30px;
530
- line-height: 50px;
531
- }
532
- }
533
- .btn-cancel {
534
- position: absolute;
535
- right: 0;
536
- top: 0;
537
- transform: translate(50%, -50%);
538
- background: linear-gradient(0deg, #333, #333), linear-gradient(153.18deg, #6371DB 7.07%, #FF89C4 90.47%);
539
- border-radius: 50%;
540
- width: 22px;
541
- height: 22px;
542
- display: flex;
543
- align-items: center;
544
- justify-content: center;
545
- padding: 0;
546
- border: 0;
547
- z-index: 1;
548
- box-shadow: 0px 4px 14px rgba(0, 0, 0, 0.15);
549
- cursor: pointer;
550
- &:focus {
551
- outline: none;
552
- }
553
- }
554
- .input-example {
555
- font-size: 13px;
556
- padding-top: 8px;
557
- line-height: 14px;
558
- color: @color_8;
559
- opacity: 0.8;
560
- position: absolute;
561
- left: calc(50px + 16px + 7px);
562
- top: 50px;
563
- }
564
- }
565
- .channels-selected__item.disabled {
566
- .icon {
567
- cursor: default;
568
- .color-element {
569
- fill: #E9E9E9;
570
- }
571
- }
572
- input {
573
- box-shadow: 0px 4px 14px rgba(179, 179, 179, 0.15);
574
- color: @color_9;
575
- &::-webkit-input-placeholder {
576
- color: @color_9;
577
- }
578
- &::-moz-placeholder {
579
- color: @color_9;
580
- }
581
- &:-ms-input-placeholder {
582
- color: @color_9;
583
- }
584
- &:-moz-placeholder {
585
- color: @color_9;
586
- }
587
- &:focus {
588
- outline: none;
589
- }
590
- }
591
- .btn-cancel {
592
- cursor: default;
593
- background: linear-gradient(0deg, #CFCFCF, #CFCFCF), linear-gradient(153.18deg, #6371DB 7.07%, #FF89C4 90.47%);
594
- &:focus {
595
- outline: none;
596
- }
597
- }
598
- .input-example {
599
- color: @color_9;
600
- }
601
- }
602
- #positionPro{
603
- margin-left: -122px;
604
- }
605
- .form-horizontal{
606
-
607
- }
608
- .form-horizontal__item {
609
- display: flex;
610
- flex-wrap: wrap;
611
- &+.form-horizontal__item {
612
- margin-top: 30px;
613
- }
614
- &-label {
615
- flex: 0 0 122px;
616
- margin: 0 14px 0 0;
617
- text-align: right;
618
- font-weight: bold;
619
- }
620
- >div {
621
- >input {
622
- background: #FFFFFF;
623
- box-shadow: 0px 4px 14px rgba(0, 0, 0, 0.15);
624
- border-radius: 5px;
625
- border: 0;
626
- line-height: 24px;
627
- padding: 5px 7px;
628
- &.widget-size__input{
629
- width: 47px;
630
- height: 34px;
631
- text-align: center;
632
- }
633
- }
634
- }
635
- &.flex-center{
636
- align-items: center;
637
- }
638
- }
639
- }
640
- .icon {
641
- border-radius: 50%;
642
- vertical-align: top;
643
- font-size: 0;
644
- position: relative;
645
- &:after {
646
- position: absolute;
647
- opacity: 0;
648
- pointer-events: none;
649
- text-align: center;
650
- content: "" attr(data-title) "";
651
- font-size: 11px;
652
- top: 0;
653
- left: 50%;
654
- transform: translate(-50%, calc(-100% - 6px));
655
- padding: 0 20px;
656
- line-height: 23px;
657
- min-width: 90px;
658
- white-space: nowrap;
659
- color: @color_10;
660
- background-color: @background_color_5;
661
- box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.15);
662
- border-radius: 6px;
663
- }
664
- &:before {
665
- position: absolute;
666
- opacity: 0;
667
- pointer-events: none;
668
- content: '';
669
- top: -8px;
670
- left: 50%;
671
- transform: translateX(-50%);
672
- height: 10px;
673
- width: 10px;
674
- border-width: 10px 5px 0;
675
- border-style: solid;
676
- border-color: @border_color_1;
677
- }
678
- &:hover {
679
- &:not(.tooltip-show) {
680
- &:after {
681
- opacity: 1;
682
- pointer-events: auto;
683
- }
684
- &:before {
685
- opacity: 1;
686
- pointer-events: auto;
687
- }
688
- }
689
- }
690
- .color-element {
691
- transition: all .2s;
692
- }
693
- &:not(.active) {
694
- svg {
695
- cursor: pointer;
696
- }
697
- &:not(:hover) {
698
- .color-element {
699
- fill: #BDBDBD;
700
- }
701
- }
702
- }
703
- }
704
- .icon.no-tooltip {
705
- &:after {
706
- content: none !important;
707
- }
708
- &:before {
709
- content: none !important;
710
- }
711
- }
712
- .icon.tooltip-show {
713
- &:after {
714
- opacity: 1;
715
- pointer-events: auto;
716
- }
717
- &:before {
718
- opacity: 1;
719
- pointer-events: auto;
720
- }
721
- }
722
- .icon.icon-sm {
723
- svg {
724
- width: 39px;
725
- height: 39px;
726
- }
727
- }
728
- .icon.icon-md {
729
- svg {
730
- width: 50px;
731
- height: 50px;
732
- }
733
- }
734
- .icon.icon-xs {
735
- svg {
736
- width: 30px;
737
- height: 30px;
738
- }
739
- }
740
- .btn-save {
741
- border: 0;
742
- text-transform: uppercase;
743
- line-height: 24px;
744
- font-weight: bold;
745
- color: @color_10;
746
- position: relative;
747
- max-width: 100%;
748
- margin-top: 40px;
749
- height: 50px;
750
- width: 274px;
751
- border-radius: 25px;
752
- padding: 14px 15px 12px;
753
- background-image: url("../images/rocket.svg"), linear-gradient(100.68deg, #FF6624 9.02%, #FF6376 91.6%);
754
- background-position: left bottom;
755
- background-repeat: no-repeat;
756
- box-shadow: 0px 3px 10px 1px rgba(255, 90, 116, 0.5);
757
- &:after {
758
- position: absolute;
759
- content: '';
760
- z-index: -1;
761
- top: 30px;
762
- left: 50%;
763
- transform: translateX(-50%);
764
- width: 238.1px;
765
- height: 30.81px;
766
- background: linear-gradient(97.71deg, #FF6624 9.04%, #FF6376 91.56%), linear-gradient(104.36deg, #6371DB 20.37%, #FF89C4 72.52%);
767
- opacity: 0.77;
768
- filter: blur(19px);
769
- border-radius: 9px;
770
- }
771
- }
772
- .btn-help {
773
- text-align: center;
774
- padding-top: 10px;
775
- cursor: pointer;
776
- position: absolute;
777
- background: #51F2B8;
778
- border-radius: 7px 7px 0 0;
779
- right: 0;
780
- top: 60px;
781
- transform: rotate(-90deg);
782
- transform-origin: bottom right;
783
- border: 0;
784
- height: 42px;
785
- width: 102px;
786
- text-transform: uppercase;
787
- color: #fff;
788
- font-weight: bold;
789
- &:hover,
790
- &:active,
791
- &:active{
792
- color:#fff;
793
- }
794
- span{
795
- display: inline-block;
796
- width: 27px;
797
- height: 27px;
798
- margin-left: 5px;
799
- border: 2px solid #fff;
800
- border-radius: 100%;
801
- }
802
- @media (min-width: 768px) and (max-width: 1023px) {
803
-
804
- }
805
- @media (min-width: 1024px) and (max-width: 1439px) {
806
-
807
- }
808
- @media (min-width: 1280px) {
809
- transform: rotate(90deg);
810
- position: fixed;
811
- left: calc(50vw - 480px + 960px / 12 * 7 + 373px);
812
- top: 306px;
813
- right: auto;
814
-
815
- }
816
- }
817
-
818
- .btn-save-sticky {
819
- padding: 10px 0 11px 0;
820
- cursor: pointer;
821
- top: 20px;
822
- background: #FF6624;
823
- right: 0;
824
- border-radius: 7px 0 0 7px;
825
- position: absolute;
826
- border: 0;
827
- height: 69px;
828
- width: 42px;
829
- text-transform: uppercase;
830
- color: #fff;
831
- font-weight: bold;
832
- font-size: 11px;
833
- a{
834
- color:#fff;
835
- }
836
- span{
837
- text-align: center;
838
- display: inline-block;
839
- margin-bottom: 4px;
840
- height: 15px;
841
- line-height: 13px;
842
- }
843
- @media (min-width: 1280px) {
844
- left: calc(50vw - 480px + 960px / 12 * 7 + 475px);
845
- top: 161px;
846
- right: auto;
847
- border-radius: 0 7px 7px 0;
848
- position: fixed;
849
- }
850
- }
851
- html[dir="rtl"] {
852
- .btn-save-sticky {
853
- @media (min-width: 1280px) {
854
- left: calc(50vw - 480px + 960px / 12 * 7 + 295px);
855
- }
856
- }
857
- .btn-help{
858
- @media (min-width: 1280px) {
859
- left: calc(50vw - 480px + 960px / 12 * 7 + 193px);
860
- }
861
- }
862
-
863
- }
864
-
865
- .popover {
866
- flex: 0 0 auto;
867
- background: #FFFFFF;
868
- border-radius: 4px;
869
- line-height: 33px;
870
- padding: 0 5px;
871
- position: relative;
872
- margin-left: 37px;
873
- margin-top: 25px;
874
- box-shadow: 0px 1px 14px rgba(156, 117, 198, 0.4), 0px 2px 4px rgba(0, 0, 0, 0.15);
875
- &:after {
876
- position: absolute;
877
- content: '';
878
- top: -7px;
879
- left: 40px;
880
- width: 20px;
881
- height: 7px;
882
- background-image: url("../images/arrow.png");
883
- background-position: center;
884
- background-size: contain;
885
- background-repeat: no-repeat;
886
- }
887
- }
888
- .easy-modal {
889
- display: none;
890
- width: 515px;
891
- max-width: calc(100vw - 30px);
892
- box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
893
- border-radius: 6px;
894
- background-color: @background_color_4;
895
- top: 50% !important;
896
- transform: translateY(-50%);
897
- .money-guaranteed{
898
- color:@color_1;
899
- font-size: 17px;
900
- line-height: 24px;
901
- margin-bottom: 20px;
902
- svg{
903
- width: 15px;
904
- vertical-align: text-bottom;
905
- }
906
- }
907
- .easy-modal-inner {
908
- position: relative;
909
- padding: 20px 50px;
910
- }
911
- .easy-modal-close {
912
- position: absolute;
913
- right: 0;
914
- top: 0;
915
- padding: 7px;
916
- line-height: 12px;
917
- background-color: @background_color_2;
918
- border: 0;
919
- }
920
- h2 {
921
- font-family: @font_family_3;
922
- font-weight: bold;
923
- font-size: 27px;
924
- margin-bottom: 13px;
925
- text-align: center;
926
- margin-top: 0;
927
- }
928
- .udner-title {
929
- font-size: 17px;
930
- span {
931
- font-size: 15px;
932
- display: block;
933
- color: @color_11;
934
- }
935
- }
936
- p {
937
- text-align: center;
938
- margin: 0 auto 10px;
939
- }
940
- ul {
941
- margin-bottom: 17px;
942
- line-height: 27px;
943
- list-style-image: url("../images/icon-check-purple.svg");
944
- list-style-position: inside;
945
- columns: 2;
946
- text-align: left;
947
- }
948
- .easy-modal-link {
949
- font-size: 15px;
950
- text-decoration-line: underline;
951
- color: @color_12;
952
- display: inline-block;
953
- margin-top: 7px;
954
- }
955
- .form-horizontal__item {
956
- margin-bottom: 50px;
957
- justify-content: center;
958
- text-align: center;
959
- >div {
960
- flex: 0 0 auto;
961
- }
962
- }
963
- .user-name {
964
- font-weight: 700;
965
- color: @color_12;
966
- margin: 0;
967
- text-align: left;
968
- font-size: 13px;
969
- }
970
- .user-role {
971
- margin: 0;
972
- font-size: 13px;
973
- }
974
- .user-photo {
975
- float: left;
976
- margin-right: 5px;
977
- }
978
- }
979
- .link-back{
980
- display: inline-block;
981
- border: 1px solid #fff;
982
- border-radius: 60px;
983
- font-size: 17px;
984
- line-height: 20px;
985
- text-align: center;
986
- color:#fff;
987
- text-decoration: none;
988
- padding: 7px 46px;
989
- &:hover{
990
- color:#fff;
991
- }
992
- }
993
- .upgrade{
994
- &-wrap{
995
- max-width: 962px;
996
- margin: 13px auto;
997
- }
998
- &-block{
999
- background-color: #fff;
1000
- border-radius: 9px;
1001
- padding: 48px 0 67px 0;
1002
- margin-top: 21px;
1003
- .easy-modal-inner{
1004
- max-width: 600px;
1005
- margin: 0 auto;
1006
- }
1007
- h2 {
1008
- font-family: Rubik;
1009
- font-weight: 700;
1010
- font-size: 27px;
1011
- margin-bottom: 5px;
1012
- text-align: center;
1013
- margin-top: 0;
1014
- line-height: 33px;
1015
- }
1016
- .udner-title {
1017
- font-size: 17px;
1018
- span {
1019
- font-size: 15px;
1020
- display: block;
1021
- color: @color_11;
1022
- }
1023
- }
1024
- p {
1025
- text-align: center;
1026
- margin: 0 auto 10px;
1027
- }
1028
- ul {
1029
- display: inline-block;
1030
- margin-bottom: 17px;
1031
- line-height: 27px;
1032
- list-style-image: url("../images/icon-check-purple.svg");
1033
- list-style-position: inside;
1034
- columns: 2;
1035
- text-align: left;
1036
- }
1037
- .easy-modal-link {
1038
- font-size: 15px;
1039
- text-decoration-line: underline;
1040
- color: @color_12;
1041
- display: inline-block;
1042
- margin-top: 7px;
1043
- }
1044
- .form-horizontal__item {
1045
- margin-bottom: 50px;
1046
- justify-content: center;
1047
- text-align: center;
1048
- >div {
1049
- flex: 0 0 auto;
1050
- }
1051
- }
1052
- .user-name {
1053
- font-weight: 700;
1054
- color: @color_12;
1055
- margin: 0;
1056
- text-align: left;
1057
- font-size: 13px;
1058
- }
1059
- .user-role {
1060
- margin: 0;
1061
- font-size: 13px;
1062
- }
1063
- .user-photo {
1064
- float: left;
1065
- margin-right: 5px;
1066
- }
1067
- .money-guaranteed{
1068
- color: #a886cd;
1069
- font-size: 12px;
1070
- line-height: 18px;
1071
- margin-bottom: 30px;
1072
- position: relative;
1073
- z-index: 10;
1074
- top: -10px;
1075
- svg{
1076
- width: 15px;
1077
- vertical-align: text-bottom;
1078
- }
1079
- }
1080
- }
1081
- }
1082
-
1083
- .easy-modal.modal-upgrade {
1084
- width: 560px;
1085
- .easy-modal-inner {
1086
- padding: 20px 0 0;
1087
- }
1088
- }
1089
- .modal__wrap {
1090
- padding: 0 5px;
1091
- text-align: center;
1092
- }
1093
-
1094
- .form-horizontal__item {
1095
- .chaty-widget {
1096
- position: static;
1097
- flex: 0 0 250px !important;
1098
- .icon {
1099
- display: inline-block;
1100
- svg {
1101
- width: 62px;
1102
- height: 62px;
1103
- }
1104
- &:after {
1105
- z-index: 10;
1106
- content: "" attr(data-title) "";
1107
- font-size: 17px;
1108
- left: 0;
1109
- top: 50%;
1110
- transform: translate(calc(-100% - 6px), -50%);
1111
- white-space: nowrap;
1112
- padding: 16px 25px;
1113
- line-height: 21px;
1114
- width: auto;
1115
- color: @color_13;
1116
- background-color: @background_color_3;
1117
- box-shadow: 0 1.93465px 7.73859px rgba(0, 0, 0, 0.15);
1118
- border-radius: 10px;
1119
- }
1120
- &:before {
1121
- z-index: 10;
1122
- content: '';
1123
- left: -8px;
1124
- top: 50%;
1125
- transform: translateY(-50%);
1126
- height: 10px;
1127
- width: 10px;
1128
- z-index: 11;
1129
- border-width: 5px 0 5px 10px;
1130
- border-style: solid;
1131
- border-color: @border_color_3;
1132
- }
1133
- }
1134
- }
1135
- .chaty-widget.chaty-widget-icons-right {
1136
- .icon {
1137
- &:before {
1138
- right: -8px;
1139
- left: auto;
1140
- border-width: 5px 10px 5px 0;
1141
- border-color: @border_color_2;
1142
- }
1143
- &:after {
1144
- right: 0;
1145
- left: auto;
1146
- transform: translate(calc(100% + 6px), -50%);
1147
- }
1148
- }
1149
- }
1150
- }
1151
- .header {
1152
- display: flex;
1153
- align-items: center;
1154
- padding: 3px 0;
1155
- margin-bottom: 9px;
1156
- }
1157
- .btn-white {
1158
- z-index: 100;
1159
- position: relative;
1160
- line-height: 27px;
1161
- color: @color_10;
1162
- background-color: @background_color_2;
1163
- border: 1px solid #FFFFFF;
1164
- box-shadow: 0 4px 4px rgba(0, 0, 0, 0.11);
1165
- padding: 4px 20px;
1166
- border-radius: 19px;
1167
- vertical-align: top;
1168
- }
1169
- .btn-red {
1170
- z-index: 100;
1171
- border: 0;
1172
- text-transform: uppercase;
1173
- line-height: 27px;
1174
- font-weight: bold;
1175
- color: @color_10;
1176
- position: relative;
1177
- background-image: linear-gradient(100.68deg, #FF6624 9.02%, #FF6376 91.6%);
1178
- box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.11);
1179
- padding: 6px 20px 4px;
1180
- border-radius: 19px;
1181
- vertical-align: top;
1182
- margin-left: 12px;
1183
- text-decoration: none;
1184
- display: inline-block;
1185
- svg {
1186
- vertical-align: text-top;
1187
- margin-left: 5px;
1188
- }
1189
- &:hover{
1190
- color:#fff;
1191
- }
1192
- }
1193
- .text_update {
1194
- color: @color_10;
1195
- position: relative;
1196
- top: 2px;
1197
- position: relative;
1198
- margin: 0;
1199
- font-size: 10px;
1200
- left: 15px;
1201
- }
1202
- .sticky-wrapper {
1203
- position: absolute;
1204
- right: 0px;
1205
- top: -370px;
1206
- width: calc(320px);
1207
- z-index: 99;
1208
- }
1209
- .disabled {
1210
- pointer-events: none;
1211
- }
1212
- #toplevel_page_chaty-app {
1213
- img {
1214
- color: @color_10;
1215
- }
1216
- }
1217
- .tooltip {
1218
- position: relative;
1219
- display: inline-block;
1220
- &:hover {
1221
- .tooltiptext {
1222
- visibility: visible;
1223
- }
1224
- }
1225
- }
1226
- .chaty-widget-icons-right {
1227
- .tooltip {
1228
- .tooltiptext {
1229
- white-space: pre-wrap;
1230
- justify-content: center;
1231
- width: 120px;
1232
- min-height: 36px;
1233
- display: flex;
1234
- align-items: center;
1235
- background-color: @background_color_3;
1236
- color: @color_14;
1237
- text-align: center;
1238
- border-radius: 6px;
1239
- padding: 0 11px;
1240
- right: 41px;
1241
- top: 0;
1242
- position: absolute;
1243
- z-index: 35;
1244
- font-size: 12px;
1245
- line-height: 17px;
1246
- .mobiel-view &{
1247
- right: 35px;
1248
- }
1249
- }
1250
- }
1251
- }
1252
- .chaty-widget-icons-left {
1253
- .tooltip {
1254
- .tooltiptext {
1255
- white-space: pre-wrap;
1256
- display: flex;
1257
- align-items: center;
1258
- justify-content: center;
1259
- width: 120px;
1260
- min-height: 36px;
1261
- background-color: @background_color_3;
1262
- color: @color_14;
1263
- text-align: center;
1264
- border-radius: 6px;
1265
- padding: 0 11px;
1266
- left: 43px;
1267
- top: 0;
1268
- position: absolute;
1269
- z-index: 35;
1270
- font-size: 12px;
1271
- line-height: 17px;
1272
- .mobiel-view &{
1273
- left: 37px;
1274
- }
1275
-
1276
- }
1277
- }
1278
- }
1279
- .update-nag {
1280
- display: block !important;
1281
- }
1282
- .notice {
1283
- display: none !important;
1284
- }
1285
- div.error {
1286
- display: none !important;
1287
- }
1288
- div.updated {
1289
- display: none !important;
1290
- }
1291
- div#setting-error-settings_updated {
1292
- display: block !important;
1293
- }
1294
- .domain {
1295
- background: rgba(168, 134, 205, .1);
1296
- border-radius: 4px;
1297
- text-align: left;
1298
- margin: 0 0 10px;
1299
- padding: 10px 20px;
1300
- }
1301
- .domain__label {
1302
- font-size: 17px;
1303
- font-weight: 700;
1304
- display: block;
1305
- max-width: 342px;
1306
- margin: 0 auto 6px;
1307
- }
1308
- .domain__input {
1309
- height: 34px;
1310
- background: #FFFFFF;
1311
- box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
1312
- border-radius: 5px;
1313
- border: none;
1314
- width: 100%;
1315
- max-width: 342px;
1316
- margin: 0 auto;
1317
- display: block;
1318
- }
1319
- .upg {
1320
- background: none;
1321
- border: none;
1322
- text-align: center;
1323
- width: 270px;
1324
- padding: 0;
1325
- svg{
1326
- width: 100%;
1327
- }
1328
- img{
1329
- width: 100%;
1330
- }
1331
- }
1332
-
1333
- .valid_domain {
1334
- transition-property: margin-top;
1335
- transition-delay: 0.3s;
1336
- color: @color_15;
1337
- display: none;
1338
- }
1339
- .payments {
1340
- margin-bottom: 5px;
1341
- }
1342
- .easy-modal__bottom {
1343
- padding: 10px 10px 0;
1344
- text-align: left;
1345
- font-family: @font_family_4;
1346
- color: @color_12;
1347
- position: relative;
1348
- .quote {
1349
- position: absolute;
1350
- left: 65px;
1351
- top: -4px;
1352
- }
1353
- &:before {
1354
- content: '';
1355
- display: block;
1356
- position: absolute;
1357
- left: 0;
1358
- top: 0;
1359
- width: 100%;
1360
- background: rgba(130, 130, 130, .1);
1361
- height: 2px;
1362
- }
1363
- .easy-modal__bottom-p {
1364
- text-align: left;
1365
- font-weight: 300;
1366
- position: relative;
1367
- margin-bottom: 10px;
1368
- font-size: 14px;
1369
- line-height: 17px;
1370
- p {
1371
- text-align: left;
1372
- margin: 6px 0 0 0;
1373
- line-height: 15px;
1374
- }
1375
- }
1376
- }
1377
- .plan_date {
1378
- color: @color_10;
1379
- font-family: @font_family_4;
1380
- font-size: 16px;
1381
- opacity: 0.9;
1382
- }
1383
- html[dir="rtl"] {
1384
- body {
1385
- background-position: 0;
1386
- }
1387
- input[type=radio] {
1388
- &:checked {
1389
- &:before {
1390
- text-indent: -1px;
1391
- }
1392
- }
1393
- }
1394
- }
1395
- @media (min-width: 576px) {
1396
- .container {
1397
- max-width: 540px;
1398
- }
1399
- }
1400
- @media (min-width: 768px) {
1401
- .container {
1402
- max-width: 720px;
1403
- }
1404
- .modal__wrap {
1405
- padding: 0;
1406
- }
1407
- .domain {
1408
- margin: 0 0 10px;
1409
- padding: 20px 60px 26px;
1410
- }
1411
- }
1412
- @media (min-width: 992px) {
1413
- .container {
1414
- max-width: 960px;
1415
- }
1416
- }
1417
- @media (max-width: 767px) {
1418
- .position-pro {
1419
- >div {
1420
- flex: 0 0 100%;
1421
- }
1422
- }
1423
- .main {
1424
- .channels-icons {
1425
- max-width: 95%;
1426
- }
1427
- .channels-selected__item {
1428
- max-width: 100%;
1429
- margin-bottom: 10px;
1430
- padding-bottom: 10px;
1431
- }
1432
- .form-horizontal__item {
1433
- flex-wrap: wrap;
1434
- >label {
1435
- flex: 0 0 100%;
1436
- margin-bottom: 10px;
1437
- text-align: left;
1438
- }
1439
- .custom-switch {
1440
- flex: 0 0 auto;
1441
- margin: 10px auto;
1442
- }
1443
- >div {
1444
- flex: 0 0 100%;
1445
- .custom-control {
1446
- margin: 0 10px 10px 0;
1447
- &:last-child {
1448
- margin-right: 0;
1449
- }
1450
- }
1451
- }
1452
- }
1453
- }
1454
- body {
1455
- background-position: center top;
1456
- background-size: cover;
1457
- background-attachment: fixed;
1458
- }
1459
- .section {
1460
- padding: 30px 15px;
1461
- }
1462
- .col-12 {
1463
- flex: 0 0 auto;
1464
- }
1465
- .popover {
1466
- margin-left: 0;
1467
- white-space: normal;
1468
- max-width: 100%;
1469
- }
1470
- .header {
1471
- flex-wrap: wrap;
1472
- img {
1473
- flex: 0 0 100%;
1474
- margin-bottom: 10px;
1475
- }
1476
- .ml-auto {
1477
- margin: 0 auto;
1478
- text-align: center;
1479
- button {
1480
- margin: 5px 6px;
1481
- }
1482
- }
1483
- }
1484
- }
1485
- @media (max-width: 991px) {
1486
- .form-horizontal {
1487
- left: 0 !important;
1488
- }
1489
- body {
1490
- background-position: 30px 30px;
1491
- background-repeat: no-repeat;
1492
- background-size: calc(100% - 20px) auto;
1493
- }
1494
- .section {
1495
- padding: 30px 30px;
1496
- }
1497
- .main {
1498
- .channels-selected__item {
1499
- .input-example{
1500
- left: 0;
1501
- top: 40px;
1502
- position: static;
1503
- width: 100%;
1504
- }
1505
- .icon {
1506
- width: 40px;
1507
- height: 40px;
1508
- margin-right: 5px;
1509
- margin-bottom: 5px;
1510
- > i{
1511
- font-size: 25px;
1512
- line-height: 40px;
1513
- }
1514
- }
1515
- }
1516
- .channels__input{
1517
- width: 190px;
1518
- }
1519
- .channels__input-box{
1520
- margin-right: 5px;
1521
- margin-bottom: 5px;
1522
- }
1523
-
1524
- }
1525
- }
1526
- @media screen and (max-width: 782px) {
1527
- #sticky-wrapper {
1528
- display: none;
1529
- }
1530
- .test_textarea {
1531
- width: 250px;
1532
- }
1533
- }
1
+ * {
2
+ box-sizing: border-box;
3
+ &::before {
4
+ box-sizing: border-box;
5
+ }
6
+ &::after {
7
+ box-sizing: border-box;
8
+ }
9
+ }
10
+ input::-webkit-outer-spin-button,
11
+ input::-webkit-inner-spin-button {
12
+ appearance: none;
13
+ -webkit-appearance: none;
14
+ margin: 0; /* <-- Apparently some margin are still there even though it's hidden */
15
+ }
16
+ .container {
17
+ width: 100%;
18
+ padding-right: 15px;
19
+ padding-left: 15px;
20
+ margin-right: auto;
21
+ margin-left: auto;
22
+ }
23
+ .ml-auto {
24
+ margin-left: auto;
25
+ }
26
+ .col-12 {
27
+ flex: 0 0 100%;
28
+ max-width: 100%;
29
+ }
30
+ .text-center {
31
+ text-align: center;
32
+ }
33
+ .text-primary {
34
+ color: @color_1;
35
+ }
36
+ .align-top {
37
+ align-self: flex-start;
38
+ }
39
+ .custom-control {
40
+ display: inline-block;
41
+ color: @color_2;
42
+ margin-bottom: 0;
43
+ cursor: pointer;
44
+ min-height: 22px;
45
+ line-height: 22px;
46
+ padding-left: 20px;
47
+ position: relative;
48
+ .custom-control-input {
49
+ position: absolute;
50
+ z-index: -1;
51
+ opacity: 0;
52
+ &.js-upload:disabled{
53
+ &~.custom-control-label {
54
+ &::before {
55
+ background: rgba(0, 0, 0, .1);
56
+ }
57
+ }
58
+ }
59
+ &:disabled ~i {
60
+ opacity: .5;
61
+ }
62
+ }
63
+ &+.custom-control {
64
+ margin-left: 16px;
65
+ }
66
+ }
67
+ .custom-control.custom-checkbox {
68
+ .custom-control-label {
69
+ &::before {
70
+ border-radius: 4px;
71
+ content: '';
72
+ transition: all 0.2s;
73
+ position: absolute;
74
+ top: 3px;
75
+ left: 0;
76
+ display: block;
77
+ width: 15px;
78
+ height: 15px;
79
+ line-height: 15px;
80
+ text-align: center;
81
+ background-color: @background_color_1;
82
+ box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
83
+ border-radius: 3px;
84
+ background-position: center;
85
+ background-repeat: no-repeat;
86
+ background-size: 15px;
87
+ }
88
+ position: static;
89
+ &::after {
90
+ display: none;
91
+ }
92
+ }
93
+ .custom-control-input {
94
+ &:checked {
95
+ &~.custom-control-label {
96
+ &::before {
97
+ background-image: url("../images/icon-check.svg");
98
+ background-color: @background_color_2;
99
+ }
100
+ }
101
+ }
102
+ }
103
+ }
104
+ .custom-control.custom-radio {
105
+ padding-left: 27px;
106
+ .custom-control-label {
107
+ &::before {
108
+ border-radius: 4px;
109
+ content: '';
110
+ transition: all 0.2s;
111
+ position: absolute;
112
+ top: 0;
113
+ left: 0;
114
+ display: block;
115
+ width: 22px;
116
+ height: 22px;
117
+ background-color: @background_color_1;
118
+ box-shadow: 0px 4px 14px rgba(0, 0, 0, 0.15);
119
+ border-radius: 50%;
120
+ border: 5px solid white;
121
+ }
122
+ position: static;
123
+ &::after {
124
+ display: none;
125
+ }
126
+ }
127
+ .custom-control-input {
128
+ &:checked {
129
+ &~.custom-control-label {
130
+ &::before {
131
+ background: linear-gradient(153.18deg, #6371DB 7.07%, #FF89C4 90.47%);
132
+ }
133
+ }
134
+ }
135
+ }
136
+ }
137
+
138
+ .position-pro {
139
+ background: rgba(168, 134, 205, 0.1);
140
+ border-radius: 4px;
141
+ display: flex;
142
+ padding: 6px 0;
143
+ transition: all 0.2s;
144
+ margin-top: 11px;
145
+ flex-wrap: wrap;
146
+ >div {
147
+ flex: 0 0 auto;
148
+ padding: 6px 15px;
149
+ >label {
150
+ &:first-child {
151
+ display: block;
152
+ margin-bottom: 10px;
153
+ }
154
+ }
155
+ .custom-control-group {
156
+ background: #FFFFFF;
157
+ box-shadow: 0px 4px 14px rgba(0, 0, 0, 0.15);
158
+ border-radius: 5px;
159
+ display: flex;
160
+ align-items: center;
161
+ width: 150px;
162
+ height: 34px;
163
+ .custom-control {
164
+ width: 75px;
165
+ padding: 0;
166
+ margin: 0 !important;
167
+ .custom-control-label {
168
+ width: 100%;
169
+ color: @color_3;
170
+ height: 34px;
171
+ display: flex;
172
+ align-items: center;
173
+ padding: 6px 7px;
174
+ &:before {
175
+ content: none;
176
+ }
177
+ }
178
+ .custom-control-input {
179
+ &:checked {
180
+ &+.custom-control-label {
181
+ color: @color_1;
182
+ box-shadow: inset 0px 3px 7px rgba(0, 0, 0, 0.08);
183
+ path {
184
+ fill: @color_1;
185
+ }
186
+ }
187
+ }
188
+ }
189
+ &:first-child {
190
+ .custom-control-label {
191
+ border-radius: 5px 0 0 5px;
192
+ text-align: left;
193
+ svg {
194
+ margin-right: 5px;
195
+ }
196
+ }
197
+ }
198
+ &:last-child {
199
+ .custom-control-label {
200
+ border-radius: 0 5px 5px 0;
201
+ display: flex;
202
+ justify-content: flex-end;
203
+ svg {
204
+ margin-left: 5px;
205
+ }
206
+ }
207
+ }
208
+ }
209
+ }
210
+ }
211
+ input {
212
+ background: #FFFFFF;
213
+ box-shadow: 0px 4px 14px rgba(0, 0, 0, 0.15);
214
+ border-radius: 5px;
215
+ border: 0;
216
+ line-height: 24px;
217
+ padding: 5px 7px;
218
+ width: 60px;
219
+ margin-right: 3px;
220
+ }
221
+ }
222
+ .color-picker {
223
+ background: #FFFFFF;
224
+ box-shadow: 0 1px 7px rgba(0, 0, 0, 0.08);
225
+ border-radius: 4px;
226
+ width: 330px;
227
+ display: none;
228
+ position: relative;
229
+ .color-picker-radio {
230
+ display: flex;
231
+ padding: 6px 8px 10px;
232
+ border-bottom: 1px solid rgba(130, 130, 130, 0.1);
233
+ label {
234
+ border-radius: 50%;
235
+ width: 28px;
236
+ height: 28px;
237
+ position: relative;
238
+ cursor: pointer;
239
+ font-size: 0;
240
+ span {
241
+ display: block;
242
+ width: 28px;
243
+ height: 28px;
244
+ vertical-align: top;
245
+ opacity: 0;
246
+ transition: all 0.2s;
247
+ background-position: center;
248
+ background-repeat: no-repeat;
249
+ background-image: url("../images/icon-check-white.svg");
250
+ }
251
+ input {
252
+ position: absolute;
253
+ z-index: -1;
254
+ opacity: 0;
255
+ &:checked {
256
+ &+span {
257
+ opacity: 1;
258
+ }
259
+ }
260
+ }
261
+ &+label {
262
+ margin-left: 12px;
263
+ }
264
+ }
265
+ }
266
+ .color-picker-custom {
267
+ padding: 10px 8px 16px;
268
+ >div {
269
+ display: flex;
270
+ align-items: center;
271
+ &+div {
272
+ margin-top: 10px;
273
+ }
274
+ }
275
+ .circle {
276
+ color: @color_5;
277
+ background: #FFFFFF;
278
+ border: 1px solid #D0D0D0;
279
+ border-radius: 50%;
280
+ width: 28px;
281
+ height: 28px;
282
+ align-items: center;
283
+ justify-content: center;
284
+ display: flex;
285
+ margin-right: 3px;
286
+ font-size: 14px;
287
+ }
288
+ a {
289
+ margin-left: 5px;
290
+ }
291
+ input {
292
+ background: #FFFFFF;
293
+ box-shadow: 0px 4px 14px rgba(0, 0, 0, 0.15);
294
+ border-radius: 5px;
295
+ border: 0;
296
+ line-height: 24px;
297
+ padding: 5px 7px;
298
+ height: 34px;
299
+ width: 180px;
300
+ }
301
+ }
302
+ }
303
+ .color-picker-btn {
304
+ background-color: @background_color_1;
305
+ box-shadow: 0px 1px 7px rgba(0, 0, 0, 0.08);
306
+ border-radius: 4px;
307
+ border: 0;
308
+ padding: 3px 8px;
309
+ line-height: 17px;
310
+ .circle {
311
+ display: inline-block;
312
+ vertical-align: top;
313
+ width: 15px;
314
+ height: 15px;
315
+ border-radius: 50%;
316
+ margin: 1px 4px 1px 0;
317
+ }
318
+ svg {
319
+ transition: all 0.2s;
320
+ margin-left: 8px;
321
+ }
322
+ }
323
+ .color-picker-btn-close {
324
+ background-color: @background_color_2;
325
+ border: 0;
326
+ padding: 5px;
327
+ line-height: 17px;
328
+ position: absolute;
329
+ right: 0;
330
+ top: 0;
331
+ svg {
332
+ transform: rotate(180deg);
333
+ }
334
+ }
335
+ .switch {
336
+ display: flex;
337
+ align-items: center;
338
+ margin-bottom: 0;
339
+ position: relative;
340
+ flex: 0 0 auto;
341
+ input[type="checkbox"] {
342
+ pointer-events: none;
343
+ opacity: 0;
344
+ position: absolute;
345
+ top: 0;
346
+ right: 0;
347
+ z-index: -1;
348
+ width: 0;
349
+ height: 0;
350
+ &:checked {
351
+ &+.switch__styled {
352
+ &:after {
353
+ left: 40px;
354
+ }
355
+ background: linear-gradient(133.22deg, #6371DB 14.55%, #FF89C4 80.37%), #fff;
356
+ }
357
+ }
358
+ }
359
+ }
360
+ .form-group {
361
+ .switch {
362
+ height: 42px;
363
+ }
364
+ }
365
+ .switch__styled {
366
+ background: linear-gradient(283.61deg, #F6F6F6 7.4%, #fff 91.67%), #fff;
367
+ margin: 0 8px;
368
+ display: inline-block;
369
+ height: 34px;
370
+ width: 72px;
371
+ border-radius: 17px;
372
+ position: relative;
373
+ transition: all 0.2s;
374
+ cursor: pointer;
375
+ box-shadow: 0px 4px 14px rgba(0, 0, 0, 0.15);
376
+ &:after {
377
+ content: '';
378
+ position: absolute;
379
+ left: 2px;
380
+ top: 2px;
381
+ height: 30px;
382
+ width: 30px;
383
+ border-radius: 50%;
384
+ background-color: @background_color_3;
385
+ transition: all 0.2s;
386
+ }
387
+ }
388
+ .switch.custom-switch {
389
+ margin-right: auto;
390
+ margin-left: 30px;
391
+ .switch__styled {
392
+ background: linear-gradient(283.61deg, #F6F6F6 7.4%, #fff 91.67%), #fff;
393
+ box-shadow: 0px 4px 14px rgba(0, 0, 0, 0.15);
394
+ }
395
+ }
396
+ body {
397
+ height: auto;
398
+ background-image: url("../images/bg.svg");
399
+ background-position: 155px 30px;
400
+ background-repeat: no-repeat;
401
+ background-size: calc(100% - 150px) auto;
402
+ background-attachment: fixed;
403
+ font-family: @font_family_1;
404
+ color: @color_6;
405
+ font-size: 17px;
406
+ padding-bottom: 50px;
407
+ -webkit-font-smoothing: antialiased;
408
+ margin: 0;
409
+ }
410
+ button {
411
+ font-family: @font_family_1;
412
+ font-size: 17px;
413
+ cursor: pointer;
414
+ &:focus {
415
+ outline: none;
416
+ }
417
+ }
418
+ button#collapse-button {
419
+ font-size: 13px;
420
+ }
421
+ input {
422
+ font-family: @font_family_1;
423
+ font-size: 17px;
424
+ &:focus {
425
+ outline: none;
426
+ }
427
+ }
428
+ #cht-form {
429
+ input[type=submit] {
430
+ opacity: 0;
431
+ position: absolute;
432
+ }
433
+ }
434
+ a{
435
+ color: @color_1;
436
+ }
437
+ a:focus {
438
+ color: @color_1;
439
+ box-shadow: none;
440
+ }
441
+ &::-webkit-input-placeholder {
442
+ color: @color_3;
443
+ }
444
+ &::-moz-placeholder {
445
+ color: @color_3;
446
+ }
447
+ &:-ms-input-placeholder {
448
+ color: @color_3;
449
+ }
450
+ &:-moz-placeholder {
451
+ color: @color_3;
452
+ }
453
+ .section {
454
+ padding: 30px 15px;
455
+ position: relative;
456
+
457
+ &+.section {
458
+ border-top: 2px solid rgba(130, 130, 130, 0.1);
459
+ }
460
+ &.one{
461
+ max-width: 570px;
462
+ }
463
+ }
464
+ .section-title {
465
+ font-family: @font_family_2;
466
+ font-size: 30px;
467
+ color: @color_7;
468
+ line-height: 44px;
469
+ margin-bottom: 30px;
470
+ font-weight: normal;
471
+ margin-top: 0;
472
+ display: flex;
473
+ strong{
474
+ flex: 0 0 122px;
475
+ margin: 0 14px 0 0;
476
+ text-align: right;
477
+ font-weight: bold;
478
+ }
479
+ }
480
+ .main {
481
+ background-color: @background_color_4;
482
+ border-radius: 9px;
483
+ position: relative;
484
+ .channels-icons {
485
+ display: flex;
486
+ flex-wrap: wrap;
487
+ margin: 0 -8px 20px;
488
+ >.icon {
489
+ padding: 0 8px;
490
+ margin-bottom: 16px;
491
+ .color-element {
492
+ transition: all .2s;
493
+ }
494
+ &:not(.active) {
495
+ svg {
496
+ cursor: pointer;
497
+ }
498
+ &:not(:hover) {
499
+ .color-element {
500
+ fill: #BDBDBD;
501
+ }
502
+ }
503
+ }
504
+ }
505
+ }
506
+ .channels-selected {
507
+ padding-top: 20px;
508
+ position: relative;
509
+ min-height: 220px;
510
+ }
511
+ .channels-selected__item {
512
+ display: flex;
513
+ align-items: center;
514
+ flex-wrap: wrap;
515
+ position: relative;
516
+ padding-bottom: 20px;
517
+ margin-bottom: 20px;
518
+ max-width: 520px;
519
+ .icon {
520
+ margin-right: 16px;
521
+ cursor: pointer;
522
+ width: 50px;
523
+ background: #49E670;
524
+ border-radius: 100%;
525
+ height: 50px;
526
+ text-align: center;
527
+ vertical-align: middle;
528
+ &>i{
529
+ font-size: 30px;
530
+ line-height: 50px;
531
+ }
532
+ }
533
+ .btn-cancel {
534
+ position: absolute;
535
+ right: 0;
536
+ top: 0;
537
+ transform: translate(50%, -50%);
538
+ background: linear-gradient(0deg, #333, #333), linear-gradient(153.18deg, #6371DB 7.07%, #FF89C4 90.47%);
539
+ border-radius: 50%;
540
+ width: 22px;
541
+ height: 22px;
542
+ display: flex;
543
+ align-items: center;
544
+ justify-content: center;
545
+ padding: 0;
546
+ border: 0;
547
+ z-index: 1;
548
+ box-shadow: 0px 4px 14px rgba(0, 0, 0, 0.15);
549
+ cursor: pointer;
550
+ &:focus {
551
+ outline: none;
552
+ }
553
+ }
554
+ .input-example {
555
+ font-size: 13px;
556
+ padding-top: 8px;
557
+ line-height: 14px;
558
+ color: @color_8;
559
+ opacity: 0.8;
560
+ position: absolute;
561
+ left: calc(50px + 16px + 7px);
562
+ top: 50px;
563
+ }
564
+ }
565
+ .channels-selected__item.disabled {
566
+ .icon {
567
+ cursor: default;
568
+ .color-element {
569
+ fill: #E9E9E9;
570
+ }
571
+ }
572
+ input {
573
+ box-shadow: 0px 4px 14px rgba(179, 179, 179, 0.15);
574
+ color: @color_9;
575
+ &::-webkit-input-placeholder {
576
+ color: @color_9;
577
+ }
578
+ &::-moz-placeholder {
579
+ color: @color_9;
580
+ }
581
+ &:-ms-input-placeholder {
582
+ color: @color_9;
583
+ }
584
+ &:-moz-placeholder {
585
+ color: @color_9;
586
+ }
587
+ &:focus {
588
+ outline: none;
589
+ }
590
+ }
591
+ .btn-cancel {
592
+ cursor: default;
593
+ background: linear-gradient(0deg, #CFCFCF, #CFCFCF), linear-gradient(153.18deg, #6371DB 7.07%, #FF89C4 90.47%);
594
+ &:focus {
595
+ outline: none;
596
+ }
597
+ }
598
+ .input-example {
599
+ color: @color_9;
600
+ }
601
+ }
602
+ #positionPro{
603
+ margin-left: -122px;
604
+ }
605
+ .form-horizontal{
606
+
607
+ }
608
+ .form-horizontal__item {
609
+ display: flex;
610
+ flex-wrap: wrap;
611
+ &+.form-horizontal__item {
612
+ margin-top: 30px;
613
+ }
614
+ &-label {
615
+ flex: 0 0 122px;
616
+ margin: 0 14px 0 0;
617
+ text-align: right;
618
+ font-weight: bold;
619
+ }
620
+ >div {
621
+ >input {
622
+ background: #FFFFFF;
623
+ box-shadow: 0px 4px 14px rgba(0, 0, 0, 0.15);
624
+ border-radius: 5px;
625
+ border: 0;
626
+ line-height: 24px;
627
+ padding: 5px 7px;
628
+ &.widget-size__input{
629
+ width: 47px;
630
+ height: 34px;
631
+ text-align: center;
632
+ }
633
+ }
634
+ }
635
+ &.flex-center{
636
+ align-items: center;
637
+ }
638
+ }
639
+ }
640
+ .icon {
641
+ border-radius: 50%;
642
+ vertical-align: top;
643
+ font-size: 0;
644
+ position: relative;
645
+ &:after {
646
+ position: absolute;
647
+ opacity: 0;
648
+ pointer-events: none;
649
+ text-align: center;
650
+ content: "" attr(data-title) "";
651
+ font-size: 11px;
652
+ top: 0;
653
+ left: 50%;
654
+ transform: translate(-50%, calc(-100% - 6px));
655
+ padding: 0 20px;
656
+ line-height: 23px;
657
+ min-width: 90px;
658
+ white-space: nowrap;
659
+ color: @color_10;
660
+ background-color: @background_color_5;
661
+ box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.15);
662
+ border-radius: 6px;
663
+ }
664
+ &:before {
665
+ position: absolute;
666
+ opacity: 0;
667
+ pointer-events: none;
668
+ content: '';
669
+ top: -8px;
670
+ left: 50%;
671
+ transform: translateX(-50%);
672
+ height: 10px;
673
+ width: 10px;
674
+ border-width: 10px 5px 0;
675
+ border-style: solid;
676
+ border-color: @border_color_1;
677
+ }
678
+ &:hover {
679
+ &:not(.tooltip-show) {
680
+ &:after {
681
+ opacity: 1;
682
+ pointer-events: auto;
683
+ }
684
+ &:before {
685
+ opacity: 1;
686
+ pointer-events: auto;
687
+ }
688
+ }
689
+ }
690
+ .color-element {
691
+ transition: all .2s;
692
+ }
693
+ &:not(.active) {
694
+ svg {
695
+ cursor: pointer;
696
+ }
697
+ &:not(:hover) {
698
+ .color-element {
699
+ fill: #BDBDBD;
700
+ }
701
+ }
702
+ }
703
+ }
704
+ .icon.no-tooltip {
705
+ &:after {
706
+ content: none !important;
707
+ }
708
+ &:before {
709
+ content: none !important;
710
+ }
711
+ }
712
+ .icon.tooltip-show {
713
+ &:after {
714
+ opacity: 1;
715
+ pointer-events: auto;
716
+ }
717
+ &:before {
718
+ opacity: 1;
719
+ pointer-events: auto;
720
+ }
721
+ }
722
+ .icon.icon-sm {
723
+ svg {
724
+ width: 39px;
725
+ height: 39px;
726
+ }
727
+ }
728
+ .icon.icon-md {
729
+ svg {
730
+ width: 50px;
731
+ height: 50px;
732
+ }
733
+ }
734
+ .icon.icon-xs {
735
+ svg {
736
+ width: 30px;
737
+ height: 30px;
738
+ }
739
+ }
740
+ .btn-save {
741
+ border: 0;
742
+ text-transform: uppercase;
743
+ line-height: 24px;
744
+ font-weight: bold;
745
+ color: @color_10;
746
+ position: relative;
747
+ max-width: 100%;
748
+ margin-top: 40px;
749
+ height: 50px;
750
+ width: 274px;
751
+ border-radius: 25px;
752
+ padding: 14px 15px 12px;
753
+ background-image: url("../images/rocket.svg"), linear-gradient(100.68deg, #FF6624 9.02%, #FF6376 91.6%);
754
+ background-position: left bottom;
755
+ background-repeat: no-repeat;
756
+ box-shadow: 0px 3px 10px 1px rgba(255, 90, 116, 0.5);
757
+ &:after {
758
+ position: absolute;
759
+ content: '';
760
+ z-index: -1;
761
+ top: 30px;
762
+ left: 50%;
763
+ transform: translateX(-50%);
764
+ width: 238.1px;
765
+ height: 30.81px;
766
+ background: linear-gradient(97.71deg, #FF6624 9.04%, #FF6376 91.56%), linear-gradient(104.36deg, #6371DB 20.37%, #FF89C4 72.52%);
767
+ opacity: 0.77;
768
+ filter: blur(19px);
769
+ border-radius: 9px;
770
+ }
771
+ }
772
+ .btn-help {
773
+ text-align: center;
774
+ padding-top: 10px;
775
+ cursor: pointer;
776
+ position: absolute;
777
+ background: #51F2B8;
778
+ border-radius: 7px 7px 0 0;
779
+ right: 0;
780
+ top: 60px;
781
+ transform: rotate(-90deg);
782
+ transform-origin: bottom right;
783
+ border: 0;
784
+ height: 42px;
785
+ width: 102px;
786
+ text-transform: uppercase;
787
+ color: #fff;
788
+ font-weight: bold;
789
+ &:hover,
790
+ &:active,
791
+ &:active{
792
+ color:#fff;
793
+ }
794
+ span{
795
+ display: inline-block;
796
+ width: 27px;
797
+ height: 27px;
798
+ margin-left: 5px;
799
+ border: 2px solid #fff;
800
+ border-radius: 100%;
801
+ }
802
+ @media (min-width: 768px) and (max-width: 1023px) {
803
+
804
+ }
805
+ @media (min-width: 1024px) and (max-width: 1439px) {
806
+
807
+ }
808
+ @media (min-width: 1280px) {
809
+ transform: rotate(90deg);
810
+ position: fixed;
811
+ left: calc(50vw - 480px + 960px / 12 * 7 + 373px);
812
+ top: 306px;
813
+ right: auto;
814
+
815
+ }
816
+ }
817
+
818
+ .btn-save-sticky {
819
+ padding: 10px 0 11px 0;
820
+ cursor: pointer;
821
+ top: 20px;
822
+ background: #FF6624;
823
+ right: 0;
824
+ border-radius: 7px 0 0 7px;
825
+ position: absolute;
826
+ border: 0;
827
+ height: 69px;
828
+ width: 42px;
829
+ text-transform: uppercase;
830
+ color: #fff;
831
+ font-weight: bold;
832
+ font-size: 11px;
833
+ a{
834
+ color:#fff;
835
+ }
836
+ span{
837
+ text-align: center;
838
+ display: inline-block;
839
+ margin-bottom: 4px;
840
+ height: 15px;
841
+ line-height: 13px;
842
+ }
843
+ @media (min-width: 1280px) {
844
+ left: calc(50vw - 480px + 960px / 12 * 7 + 475px);
845
+ top: 161px;
846
+ right: auto;
847
+ border-radius: 0 7px 7px 0;
848
+ position: fixed;
849
+ }
850
+ }
851
+ html[dir="rtl"] {
852
+ .btn-save-sticky {
853
+ @media (min-width: 1280px) {
854
+ left: calc(50vw - 480px + 960px / 12 * 7 + 295px);
855
+ }
856
+ }
857
+ .btn-help{
858
+ @media (min-width: 1280px) {
859
+ left: calc(50vw - 480px + 960px / 12 * 7 + 193px);
860
+ }
861
+ }
862
+
863
+ }
864
+
865
+ .popover {
866
+ flex: 0 0 auto;
867
+ background: #FFFFFF;
868
+ border-radius: 4px;
869
+ line-height: 33px;
870
+ padding: 0 5px;
871
+ position: relative;
872
+ margin-left: 37px;
873
+ margin-top: 25px;
874
+ box-shadow: 0px 1px 14px rgba(156, 117, 198, 0.4), 0px 2px 4px rgba(0, 0, 0, 0.15);
875
+ &:after {
876
+ position: absolute;
877
+ content: '';
878
+ top: -7px;
879
+ left: 40px;
880
+ width: 20px;
881
+ height: 7px;
882
+ background-image: url("../images/arrow.png");
883
+ background-position: center;
884
+ background-size: contain;
885
+ background-repeat: no-repeat;
886
+ }
887
+ }
888
+ .easy-modal {
889
+ display: none;
890
+ width: 515px;
891
+ max-width: calc(100vw - 30px);
892
+ box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
893
+ border-radius: 6px;
894
+ background-color: @background_color_4;
895
+ top: 50% !important;
896
+ transform: translateY(-50%);
897
+ .money-guaranteed{
898
+ color:@color_1;
899
+ font-size: 17px;
900
+ line-height: 24px;
901
+ margin-bottom: 20px;
902
+ svg{
903
+ width: 15px;
904
+ vertical-align: text-bottom;
905
+ }
906
+ }
907
+ .easy-modal-inner {
908
+ position: relative;
909
+ padding: 20px 50px;
910
+ }
911
+ .easy-modal-close {
912
+ position: absolute;
913
+ right: 0;
914
+ top: 0;
915
+ padding: 7px;
916
+ line-height: 12px;
917
+ background-color: @background_color_2;
918
+ border: 0;
919
+ }
920
+ h2 {
921
+ font-family: @font_family_3;
922
+ font-weight: bold;
923
+ font-size: 27px;
924
+ margin-bottom: 13px;
925
+ text-align: center;
926
+ margin-top: 0;
927
+ }
928
+ .udner-title {
929
+ font-size: 17px;
930
+ span {
931
+ font-size: 15px;
932
+ display: block;
933
+ color: @color_11;
934
+ }
935
+ }
936
+ p {
937
+ text-align: center;
938
+ margin: 0 auto 10px;
939
+ }
940
+ ul {
941
+ margin-bottom: 17px;
942
+ line-height: 27px;
943
+ list-style-image: url("../images/icon-check-purple.svg");
944
+ list-style-position: inside;
945
+ columns: 2;
946
+ text-align: left;
947
+ }
948
+ .easy-modal-link {
949
+ font-size: 15px;
950
+ text-decoration-line: underline;
951
+ color: @color_12;
952
+ display: inline-block;
953
+ margin-top: 7px;
954
+ }
955
+ .form-horizontal__item {
956
+ margin-bottom: 50px;
957
+ justify-content: center;
958
+ text-align: center;
959
+ >div {
960
+ flex: 0 0 auto;
961
+ }
962
+ }
963
+ .user-name {
964
+ font-weight: 700;
965
+ color: @color_12;
966
+ margin: 0;
967
+ text-align: left;
968
+ font-size: 13px;
969
+ }
970
+ .user-role {
971
+ margin: 0;
972
+ font-size: 13px;
973
+ }
974
+ .user-photo {
975
+ float: left;
976
+ margin-right: 5px;
977
+ }
978
+ }
979
+ .link-back{
980
+ display: inline-block;
981
+ border: 1px solid #fff;
982
+ border-radius: 60px;
983
+ font-size: 17px;
984
+ line-height: 20px;
985
+ text-align: center;
986
+ color:#fff;
987
+ text-decoration: none;
988
+ padding: 7px 46px;
989
+ &:hover{
990
+ color:#fff;
991
+ }
992
+ }
993
+ .upgrade{
994
+ &-wrap{
995
+ max-width: 962px;
996
+ margin: 13px auto;
997
+ }
998
+ &-block{
999
+ background-color: #fff;
1000
+ border-radius: 9px;
1001
+ padding: 48px 0 67px 0;
1002
+ margin-top: 21px;
1003
+ .easy-modal-inner{
1004
+ max-width: 600px;
1005
+ margin: 0 auto;
1006
+ }
1007
+ h2 {
1008
+ font-family: Rubik;
1009
+ font-weight: 700;
1010
+ font-size: 27px;
1011
+ margin-bottom: 5px;
1012
+ text-align: center;
1013
+ margin-top: 0;
1014
+ line-height: 33px;
1015
+ }
1016
+ .udner-title {
1017
+ font-size: 17px;
1018
+ span {
1019
+ font-size: 15px;
1020
+ display: block;
1021
+ color: @color_11;
1022
+ }
1023
+ }
1024
+ p {
1025
+ text-align: center;
1026
+ margin: 0 auto 10px;
1027
+ }
1028
+ ul {
1029
+ display: inline-block;
1030
+ margin-bottom: 17px;
1031
+ line-height: 27px;
1032
+ list-style-image: url("../images/icon-check-purple.svg");
1033
+ list-style-position: inside;
1034
+ columns: 2;
1035
+ text-align: left;
1036
+ }
1037
+ .easy-modal-link {
1038
+ font-size: 15px;
1039
+ text-decoration-line: underline;
1040
+ color: @color_12;
1041
+ display: inline-block;
1042
+ margin-top: 7px;
1043
+ }
1044
+ .form-horizontal__item {
1045
+ margin-bottom: 50px;
1046
+ justify-content: center;
1047
+ text-align: center;
1048
+ >div {
1049
+ flex: 0 0 auto;
1050
+ }
1051
+ }
1052
+ .user-name {
1053
+ font-weight: 700;
1054
+ color: @color_12;
1055
+ margin: 0;
1056
+ text-align: left;
1057
+ font-size: 13px;
1058
+ }
1059
+ .user-role {
1060
+ margin: 0;
1061
+ font-size: 13px;
1062
+ }
1063
+ .user-photo {
1064
+ float: left;
1065
+ margin-right: 5px;
1066
+ }
1067
+ .money-guaranteed{
1068
+ color: #a886cd;
1069
+ font-size: 12px;
1070
+ line-height: 18px;
1071
+ margin-bottom: 30px;
1072
+ position: relative;
1073
+ z-index: 10;
1074
+ top: -10px;
1075
+ svg{
1076
+ width: 15px;
1077
+ vertical-align: text-bottom;
1078
+ }
1079
+ }
1080
+ }
1081
+ }
1082
+
1083
+ .easy-modal.modal-upgrade {
1084
+ width: 560px;
1085
+ .easy-modal-inner {
1086
+ padding: 20px 0 0;
1087
+ }
1088
+ }
1089
+ .modal__wrap {
1090
+ padding: 0 5px;
1091
+ text-align: center;
1092
+ }
1093
+
1094
+ .form-horizontal__item {
1095
+ .chaty-widget {
1096
+ position: static;
1097
+ flex: 0 0 250px !important;
1098
+ .icon {
1099
+ display: inline-block;
1100
+ svg {
1101
+ width: 62px;
1102
+ height: 62px;
1103
+ }
1104
+ &:after {
1105
+ z-index: 10;
1106
+ content: "" attr(data-title) "";
1107
+ font-size: 17px;
1108
+ left: 0;
1109
+ top: 50%;
1110
+ transform: translate(calc(-100% - 6px), -50%);
1111
+ white-space: nowrap;
1112
+ padding: 16px 25px;
1113
+ line-height: 21px;
1114
+ width: auto;
1115
+ color: @color_13;
1116
+ background-color: @background_color_3;
1117
+ box-shadow: 0 1.93465px 7.73859px rgba(0, 0, 0, 0.15);
1118
+ border-radius: 10px;
1119
+ }
1120
+ &:before {
1121
+ z-index: 10;
1122
+ content: '';
1123
+ left: -8px;
1124
+ top: 50%;
1125
+ transform: translateY(-50%);
1126
+ height: 10px;
1127
+ width: 10px;
1128
+ z-index: 11;
1129
+ border-width: 5px 0 5px 10px;
1130
+ border-style: solid;
1131
+ border-color: @border_color_3;
1132
+ }
1133
+ }
1134
+ }
1135
+ .chaty-widget.chaty-widget-icons-right {
1136
+ .icon {
1137
+ &:before {
1138
+ right: -8px;
1139
+ left: auto;
1140
+ border-width: 5px 10px 5px 0;
1141
+ border-color: @border_color_2;
1142
+ }
1143
+ &:after {
1144
+ right: 0;
1145
+ left: auto;
1146
+ transform: translate(calc(100% + 6px), -50%);
1147
+ }
1148
+ }
1149
+ }
1150
+ }
1151
+ .header {
1152
+ display: flex;
1153
+ align-items: center;
1154
+ padding: 3px 0;
1155
+ margin-bottom: 9px;
1156
+ }
1157
+ .btn-white {
1158
+ z-index: 100;
1159
+ position: relative;
1160
+ line-height: 27px;
1161
+ color: @color_10;
1162
+ background-color: @background_color_2;
1163
+ border: 1px solid #FFFFFF;
1164
+ box-shadow: 0 4px 4px rgba(0, 0, 0, 0.11);
1165
+ padding: 4px 20px;
1166
+ border-radius: 19px;
1167
+ vertical-align: top;
1168
+ }
1169
+ .btn-red {
1170
+ z-index: 100;
1171
+ border: 0;
1172
+ text-transform: uppercase;
1173
+ line-height: 27px;
1174
+ font-weight: bold;
1175
+ color: @color_10;
1176
+ position: relative;
1177
+ background-image: linear-gradient(100.68deg, #FF6624 9.02%, #FF6376 91.6%);
1178
+ box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.11);
1179
+ padding: 6px 20px 4px;
1180
+ border-radius: 19px;
1181
+ vertical-align: top;
1182
+ margin-left: 12px;
1183
+ text-decoration: none;
1184
+ display: inline-block;
1185
+ svg {
1186
+ vertical-align: text-top;
1187
+ margin-left: 5px;
1188
+ }
1189
+ &:hover{
1190
+ color:#fff;
1191
+ }
1192
+ }
1193
+ .text_update {
1194
+ color: @color_10;
1195
+ position: relative;
1196
+ top: 2px;
1197
+ position: relative;
1198
+ margin: 0;
1199
+ font-size: 10px;
1200
+ left: 15px;
1201
+ }
1202
+ .sticky-wrapper {
1203
+ position: absolute;
1204
+ right: 0px;
1205
+ top: -370px;
1206
+ width: calc(320px);
1207
+ z-index: 99;
1208
+ }
1209
+ .disabled {
1210
+ pointer-events: none;
1211
+ }
1212
+ #toplevel_page_chaty-app {
1213
+ img {
1214
+ color: @color_10;
1215
+ }
1216
+ }
1217
+ .tooltip {
1218
+ position: relative;
1219
+ display: inline-block;
1220
+ &:hover {
1221
+ .tooltiptext {
1222
+ visibility: visible;
1223
+ }
1224
+ }
1225
+ }
1226
+ .chaty-widget-icons-right {
1227
+ .tooltip {
1228
+ .tooltiptext {
1229
+ white-space: pre-wrap;
1230
+ justify-content: center;
1231
+ width: 120px;
1232
+ min-height: 36px;
1233
+ display: flex;
1234
+ align-items: center;
1235
+ background-color: @background_color_3;
1236
+ color: @color_14;
1237
+ text-align: center;
1238
+ border-radius: 6px;
1239
+ padding: 0 11px;
1240
+ right: 41px;
1241
+ top: 0;
1242
+ position: absolute;
1243
+ z-index: 35;
1244
+ font-size: 12px;
1245
+ line-height: 17px;
1246
+ .mobiel-view &{
1247
+ right: 35px;
1248
+ }
1249
+ }
1250
+ }
1251
+ }
1252
+ .chaty-widget-icons-left {
1253
+ .tooltip {
1254
+ .tooltiptext {
1255
+ white-space: pre-wrap;
1256
+ display: flex;
1257
+ align-items: center;
1258
+ justify-content: center;
1259
+ width: 120px;
1260
+ min-height: 36px;
1261
+ background-color: @background_color_3;
1262
+ color: @color_14;
1263
+ text-align: center;
1264
+ border-radius: 6px;
1265
+ padding: 0 11px;
1266
+ left: 43px;
1267
+ top: 0;
1268
+ position: absolute;
1269
+ z-index: 35;
1270
+ font-size: 12px;
1271
+ line-height: 17px;
1272
+ .mobiel-view &{
1273
+ left: 37px;
1274
+ }
1275
+
1276
+ }
1277
+ }
1278
+ }
1279
+ .update-nag {
1280
+ display: block !important;
1281
+ }
1282
+ .notice {
1283
+ display: none !important;
1284
+ }
1285
+ div.error {
1286
+ display: none !important;
1287
+ }
1288
+ div.updated {
1289
+ display: none !important;
1290
+ }
1291
+ div#setting-error-settings_updated {
1292
+ display: block !important;
1293
+ }
1294
+ .domain {
1295
+ background: rgba(168, 134, 205, .1);
1296
+ border-radius: 4px;
1297
+ text-align: left;
1298
+ margin: 0 0 10px;
1299
+ padding: 10px 20px;
1300
+ }
1301
+ .domain__label {
1302
+ font-size: 17px;
1303
+ font-weight: 700;
1304
+ display: block;
1305
+ max-width: 342px;
1306
+ margin: 0 auto 6px;
1307
+ }
1308
+ .domain__input {
1309
+ height: 34px;
1310
+ background: #FFFFFF;
1311
+ box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
1312
+ border-radius: 5px;
1313
+ border: none;
1314
+ width: 100%;
1315
+ max-width: 342px;
1316
+ margin: 0 auto;
1317
+ display: block;
1318
+ }
1319
+ .upg {
1320
+ background: none;
1321
+ border: none;
1322
+ text-align: center;
1323
+ width: 270px;
1324
+ padding: 0;
1325
+ svg{
1326
+ width: 100%;
1327
+ }
1328
+ img{
1329
+ width: 100%;
1330
+ }
1331
+ }
1332
+
1333
+ .valid_domain {
1334
+ transition-property: margin-top;
1335
+ transition-delay: 0.3s;
1336
+ color: @color_15;
1337
+ display: none;
1338
+ }
1339
+ .payments {
1340
+ margin-bottom: 5px;
1341
+ }
1342
+ .easy-modal__bottom {
1343
+ padding: 10px 10px 0;
1344
+ text-align: left;
1345
+ font-family: @font_family_4;
1346
+ color: @color_12;
1347
+ position: relative;
1348
+ .quote {
1349
+ position: absolute;
1350
+ left: 65px;
1351
+ top: -4px;
1352
+ }
1353
+ &:before {
1354
+ content: '';
1355
+ display: block;
1356
+ position: absolute;
1357
+ left: 0;
1358
+ top: 0;
1359
+ width: 100%;
1360
+ background: rgba(130, 130, 130, .1);
1361
+ height: 2px;
1362
+ }
1363
+ .easy-modal__bottom-p {
1364
+ text-align: left;
1365
+ font-weight: 300;
1366
+ position: relative;
1367
+ margin-bottom: 10px;
1368
+ font-size: 14px;
1369
+ line-height: 17px;
1370
+ p {
1371
+ text-align: left;
1372
+ margin: 6px 0 0 0;
1373
+ line-height: 15px;
1374
+ }
1375
+ }
1376
+ }
1377
+ .plan_date {
1378
+ color: @color_10;
1379
+ font-family: @font_family_4;
1380
+ font-size: 16px;
1381
+ opacity: 0.9;
1382
+ }
1383
+ html[dir="rtl"] {
1384
+ body {
1385
+ background-position: 0;
1386
+ }
1387
+ input[type=radio] {
1388
+ &:checked {
1389
+ &:before {
1390
+ text-indent: -1px;
1391
+ }
1392
+ }
1393
+ }
1394
+ }
1395
+ @media (min-width: 576px) {
1396
+ .container {
1397
+ max-width: 540px;
1398
+ }
1399
+ }
1400
+ @media (min-width: 768px) {
1401
+ .container {
1402
+ max-width: 720px;
1403
+ }
1404
+ .modal__wrap {
1405
+ padding: 0;
1406
+ }
1407
+ .domain {
1408
+ margin: 0 0 10px;
1409
+ padding: 20px 60px 26px;
1410
+ }
1411
+ }
1412
+ @media (min-width: 992px) {
1413
+ .container {
1414
+ max-width: 960px;
1415
+ }
1416
+ }
1417
+ @media (max-width: 767px) {
1418
+ .position-pro {
1419
+ >div {
1420
+ flex: 0 0 100%;
1421
+ }
1422
+ }
1423
+ .main {
1424
+ .channels-icons {
1425
+ max-width: 95%;
1426
+ }
1427
+ .channels-selected__item {
1428
+ max-width: 100%;
1429
+ margin-bottom: 10px;
1430
+ padding-bottom: 10px;
1431
+ }
1432
+ .form-horizontal__item {
1433
+ flex-wrap: wrap;
1434
+ >label {
1435
+ flex: 0 0 100%;
1436
+ margin-bottom: 10px;
1437
+ text-align: left;
1438
+ }
1439
+ .custom-switch {
1440
+ flex: 0 0 auto;
1441
+ margin: 10px auto;
1442
+ }
1443
+ >div {
1444
+ flex: 0 0 100%;
1445
+ .custom-control {
1446
+ margin: 0 10px 10px 0;
1447
+ &:last-child {
1448
+ margin-right: 0;
1449
+ }
1450
+ }
1451
+ }
1452
+ }
1453
+ }
1454
+ body {
1455
+ background-position: center top;
1456
+ background-size: cover;
1457
+ background-attachment: fixed;
1458
+ }
1459
+ .section {
1460
+ padding: 30px 15px;
1461
+ }
1462
+ .col-12 {
1463
+ flex: 0 0 auto;
1464
+ }
1465
+ .popover {
1466
+ margin-left: 0;
1467
+ white-space: normal;
1468
+ max-width: 100%;
1469
+ }
1470
+ .header {
1471
+ flex-wrap: wrap;
1472
+ img {
1473
+ flex: 0 0 100%;
1474
+ margin-bottom: 10px;
1475
+ }
1476
+ .ml-auto {
1477
+ margin: 0 auto;
1478
+ text-align: center;
1479
+ button {
1480
+ margin: 5px 6px;
1481
+ }
1482
+ }
1483
+ }
1484
+ }
1485
+ @media (max-width: 991px) {
1486
+ .form-horizontal {
1487
+ left: 0 !important;
1488
+ }
1489
+ body {
1490
+ background-position: 30px 30px;
1491
+ background-repeat: no-repeat;
1492
+ background-size: calc(100% - 20px) auto;
1493
+ }
1494
+ .section {
1495
+ padding: 30px 30px;
1496
+ }
1497
+ .main {
1498
+ .channels-selected__item {
1499
+ .input-example{
1500
+ left: 0;
1501
+ top: 40px;
1502
+ position: static;
1503
+ width: 100%;
1504
+ }
1505
+ .icon {
1506
+ width: 40px;
1507
+ height: 40px;
1508
+ margin-right: 5px;
1509
+ margin-bottom: 5px;
1510
+ > i{
1511
+ font-size: 25px;
1512
+ line-height: 40px;
1513
+ }
1514
+ }
1515
+ }
1516
+ .channels__input{
1517
+ width: 190px;
1518
+ }
1519
+ .channels__input-box{
1520
+ margin-right: 5px;
1521
+ margin-bottom: 5px;
1522
+ }
1523
+
1524
+ }
1525
+ }
1526
+ @media screen and (max-width: 782px) {
1527
+ #sticky-wrapper {
1528
+ display: none;
1529
+ }
1530
+ .test_textarea {
1531
+ width: 250px;
1532
+ }
1533
+ }
assets/css/src/_sticky-preview.less CHANGED
@@ -1,199 +1,199 @@
1
- .preview {
2
- width: 337px;
3
- z-index: 99;
4
- height: 373px;
5
- margin-right: 15px;
6
- float: right;
7
- h2{
8
- text-align: center;
9
- }
10
- &.mobiel-view{
11
- .page{
12
- width: 152px;
13
- .chaty-widget{
14
- .icon{
15
- i{
16
- width: 24px;
17
- height: 24px;
18
- font-size: 12px;
19
- line-height: 24px;
20
-
21
- }
22
- }
23
-
24
- }
25
- }
26
-
27
- }
28
- .is-sticky &{
29
- left: calc(50vw - 480px + 960px / 12 * 7 + 140px);
30
- }
31
- h2 {
32
- font-weight: bold;
33
- line-height: normal;
34
- font-size: 17px;
35
- color: @color_6;
36
- margin-bottom: 5px;
37
- }
38
- .page {
39
- overflow: hidden;
40
- background-color: @background_color_6;
41
- box-shadow: 0px 4px 35px rgba(0, 0, 0, 0.05);
42
- border-radius: 5px;
43
- position: relative;
44
- height: 194px;
45
- margin: 0 auto;
46
- .page-header {
47
- display: flex;
48
- align-items: center;
49
- background: #FFFFFF;
50
- border-radius: 5px 5px 0px 0px;
51
- height: 16px;
52
- .circle {
53
- margin-left: 9px;
54
- width: 6px;
55
- height: 6px;
56
- background: linear-gradient(153.19deg, #6371DB 7.06%, #FF89C4 90.47%), #FFE663;
57
- box-shadow: 0px 4px 35px rgba(0, 0, 0, 0.05);
58
- border-radius: 50%;
59
- }
60
- svg {
61
- &:last-child {
62
- margin-left: auto;
63
- margin-top: 7px;
64
- margin-right: -7px;
65
- }
66
- }
67
- }
68
- .chaty-widget {
69
- position: absolute;
70
- left: auto;
71
- .icon {
72
- &:after {
73
- z-index: 10;
74
- content: '';
75
- font-size: 13px;
76
- top: 13px;
77
- white-space: nowrap;
78
- padding: 0;
79
- line-height: 0px;
80
- width: auto;
81
- color: @color_13;
82
- background-color: @background_color_3;
83
- box-shadow: 0 1.93465px 7.73859px rgba(0, 0, 0, 0.15);
84
- border-radius: 0px;
85
- right: 0;
86
- left: auto;
87
- transform: translate(calc(100% + 6px), -50%);
88
- }
89
- &:before {
90
- content: '';
91
- right: -13px;
92
- left: auto;
93
- top: 15px;
94
- transform: translateY(-50%);
95
- height: 10px;
96
- width: 10px;
97
- z-index: 11;
98
- border-style: solid;
99
- border-width: 5px 10px 5px 0;
100
- border-color: @border_color_2;
101
- }
102
- i{
103
-
104
- width: 30px;
105
- height: 30px;
106
- font-size: 18px;
107
- display: block;
108
- border-radius: 100%;
109
- line-height: 30px;
110
- text-align: center;
111
- overflow: hidden;
112
- &.icon-chat-image{
113
- background: none;
114
- img{
115
- display: block;
116
- background: @color_1;
117
- }
118
- }
119
- svg{
120
- fill:#fff;
121
- width: 100%;
122
- height: 100%;
123
- }
124
- img{
125
- width: auto;
126
- height: auto;
127
- max-width: 100%;
128
- max-height: 100%;
129
- }
130
- .mobiel-view &{
131
- width: 23px;
132
- height: 23px;
133
- font-size: 13px;
134
- line-height: 23px;
135
- }
136
- }
137
- }
138
- }
139
- .chaty-widget[style*="left: auto;"] {
140
- .icon {
141
- &:before {
142
- right: auto;
143
- left: -11px;
144
- border-width: 5px 0 5px 10px;
145
- border-style: solid;
146
- border-color: @border_color_3;
147
- }
148
- &:after {
149
- left: 0;
150
- right: auto;
151
- transform: translate(calc(-100% - 6px), -50%);
152
- }
153
- }
154
- }
155
- }
156
- }
157
- .switch-preview{
158
- display: flex;
159
- width: 160px;
160
- border-radius: 5px;
161
- margin: 15px auto 0;
162
- overflow: hidden;
163
- box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.07);
164
- background: #fff;
165
- &__label{
166
- flex: 1;
167
- text-align: center;
168
- line-height: 30px;
169
- input{
170
- display: none;
171
- }
172
- }
173
- &__input[type=radio]{
174
- display: none;
175
- &:checked + label{
176
- background: @color_1;
177
- color: #fff;
178
- }
179
- }
180
- }
181
-
182
- html[dir="rtl"] {
183
- .preview {
184
- right: auto;
185
- }
186
- .is-sticky {
187
- .preview {
188
- left: calc(50vw - 480px + 960px / 12 * 7 + 84px - 175px);
189
- }
190
- }
191
- }
192
- @media (max-width: 1200px) {
193
- .preview {
194
- display: none ;
195
- //position: static;
196
- //width: 100%;
197
- //float: none;
198
- }
199
- }
1
+ .preview {
2
+ width: 337px;
3
+ z-index: 99;
4
+ height: 373px;
5
+ margin-right: 15px;
6
+ float: right;
7
+ h2{
8
+ text-align: center;
9
+ }
10
+ &.mobiel-view{
11
+ .page{
12
+ width: 152px;
13
+ .chaty-widget{
14
+ .icon{
15
+ i{
16
+ width: 24px;
17
+ height: 24px;
18
+ font-size: 12px;
19
+ line-height: 24px;
20
+
21
+ }
22
+ }
23
+
24
+ }
25
+ }
26
+
27
+ }
28
+ .is-sticky &{
29
+ left: calc(50vw - 480px + 960px / 12 * 7 + 140px);
30
+ }
31
+ h2 {
32
+ font-weight: bold;
33
+ line-height: normal;
34
+ font-size: 17px;
35
+ color: @color_6;
36
+ margin-bottom: 5px;
37
+ }
38
+ .page {
39
+ overflow: hidden;
40
+ background-color: @background_color_6;
41
+ box-shadow: 0px 4px 35px rgba(0, 0, 0, 0.05);
42
+ border-radius: 5px;
43
+ position: relative;
44
+ height: 194px;
45
+ margin: 0 auto;
46
+ .page-header {
47
+ display: flex;
48
+ align-items: center;
49
+ background: #FFFFFF;
50
+ border-radius: 5px 5px 0px 0px;
51
+ height: 16px;
52
+ .circle {
53
+ margin-left: 9px;
54
+ width: 6px;
55
+ height: 6px;
56
+ background: linear-gradient(153.19deg, #6371DB 7.06%, #FF89C4 90.47%), #FFE663;
57
+ box-shadow: 0px 4px 35px rgba(0, 0, 0, 0.05);
58
+ border-radius: 50%;
59
+ }
60
+ svg {
61
+ &:last-child {
62
+ margin-left: auto;
63
+ margin-top: 7px;
64
+ margin-right: -7px;
65
+ }
66
+ }
67
+ }
68
+ .chaty-widget {
69
+ position: absolute;
70
+ left: auto;
71
+ .icon {
72
+ &:after {
73
+ z-index: 10;
74
+ content: '';
75
+ font-size: 13px;
76
+ top: 13px;
77
+ white-space: nowrap;
78
+ padding: 0;
79
+ line-height: 0px;
80
+ width: auto;
81
+ color: @color_13;
82
+ background-color: @background_color_3;
83
+ box-shadow: 0 1.93465px 7.73859px rgba(0, 0, 0, 0.15);
84
+ border-radius: 0px;
85
+ right: 0;
86
+ left: auto;
87
+ transform: translate(calc(100% + 6px), -50%);
88
+ }
89
+ &:before {
90
+ content: '';
91
+ right: -13px;
92
+ left: auto;
93
+ top: 15px;
94
+ transform: translateY(-50%);
95
+ height: 10px;
96
+ width: 10px;
97
+ z-index: 11;
98
+ border-style: solid;
99
+ border-width: 5px 10px 5px 0;
100
+ border-color: @border_color_2;
101
+ }
102
+ i{
103
+
104
+ width: 30px;
105
+ height: 30px;
106
+ font-size: 18px;
107
+ display: block;
108
+ border-radius: 100%;
109
+ line-height: 30px;
110
+ text-align: center;
111
+ overflow: hidden;
112
+ &.icon-chat-image{
113
+ background: none;
114
+ img{
115
+ display: block;
116
+ background: @color_1;
117
+ }
118
+ }
119
+ svg{
120
+ fill:#fff;
121
+ width: 100%;
122
+ height: 100%;
123
+ }
124
+ img{
125
+ width: auto;
126
+ height: auto;
127
+ max-width: 100%;
128
+ max-height: 100%;
129
+ }
130
+ .mobiel-view &{
131
+ width: 23px;
132
+ height: 23px;
133
+ font-size: 13px;
134
+ line-height: 23px;
135
+ }
136
+ }
137
+ }
138
+ }
139
+ .chaty-widget[style*="left: auto;"] {
140
+ .icon {
141
+ &:before {
142
+ right: auto;
143
+ left: -11px;
144
+ border-width: 5px 0 5px 10px;
145
+ border-style: solid;
146
+ border-color: @border_color_3;
147
+ }
148
+ &:after {
149
+ left: 0;
150
+ right: auto;
151
+ transform: translate(calc(-100% - 6px), -50%);
152
+ }
153
+ }
154
+ }
155
+ }
156
+ }
157
+ .switch-preview{
158
+ display: flex;
159
+ width: 160px;
160
+ border-radius: 5px;
161
+ margin: 15px auto 0;
162
+ overflow: hidden;
163
+ box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.07);
164
+ background: #fff;
165
+ &__label{
166
+ flex: 1;
167
+ text-align: center;
168
+ line-height: 30px;
169
+ input{
170
+ display: none;
171
+ }
172
+ }
173
+ &__input[type=radio]{
174
+ display: none;
175
+ &:checked + label{
176
+ background: @color_1;
177
+ color: #fff;
178
+ }
179
+ }
180
+ }
181
+
182
+ html[dir="rtl"] {
183
+ .preview {
184
+ right: auto;
185
+ }
186
+ .is-sticky {
187
+ .preview {
188
+ left: calc(50vw - 480px + 960px / 12 * 7 + 84px - 175px);
189
+ }
190
+ }
191
+ }
192
+ @media (max-width: 1200px) {
193
+ .preview {
194
+ display: none ;
195
+ //position: static;
196
+ //width: 100%;
197
+ //float: none;
198
+ }
199
+ }
assets/css/src/_variables.less CHANGED
@@ -1,40 +1,40 @@
1
- @color_1: #a886cd;
2
- @color_2: #5d5c5c;
3
- @color_3: #E0E0E0;
4
-
5
- @color_5: #FF6376;
6
- @color_6: #4F4F4F;
7
- @color_7: #000000;
8
- @color_8: #707070;
9
- @color_9: #E9E9E9;
10
- @color_10: #fff;
11
- @color_11: #bdbdbd;
12
- @color_12: #828282;
13
- @color_13: #333;
14
- @color_14: #000;
15
- @color_15: red;
16
- @font_family_1: 'Rubik', sans-serif;
17
- @font_family_2: 'Oswald', sans-serif;
18
- @font_family_3: Rubik;
19
- @font_family_4: Rubik, sans-serif;
20
- @background_color_1: #FFFFFF;
21
- @background_color_2: transparent;
22
- @background_color_3: #fff;
23
- @background_color_4: white;
24
- @background_color_5: #333333;
25
- @background_color_6: #F2F2F2;
26
- @border_color_1: #333 transparent transparent;
27
- @border_color_2: transparent #fff transparent transparent;
28
- @border_color_3: transparent transparent transparent #fff;
29
-
30
- //ICONS
31
- @icomoon-font-family: "icomoon";
32
- @icomoon-font-path: "../fonts";
33
-
34
- @icon-chat-base: "\e901";
35
- @icon-chat-db: "\e903";
36
- @icon-chat-bubble: "\e900";
37
- @icon-chat-smile: "\e904";
38
- @icon-upload: "\e902";
39
- @icon-phone: "\f095";
40
- @icon-whatsapp: "\f232";
1
+ @color_1: #a886cd;
2
+ @color_2: #5d5c5c;
3
+ @color_3: #E0E0E0;
4
+
5
+ @color_5: #FF6376;
6
+ @color_6: #4F4F4F;
7
+ @color_7: #000000;
8
+ @color_8: #707070;
9
+ @color_9: #E9E9E9;
10
+ @color_10: #fff;
11
+ @color_11: #bdbdbd;
12
+ @color_12: #828282;
13
+ @color_13: #333;
14
+ @color_14: #000;
15
+ @color_15: red;
16
+ @font_family_1: 'Rubik', sans-serif;
17
+ @font_family_2: 'Oswald', sans-serif;
18
+ @font_family_3: Rubik;
19
+ @font_family_4: Rubik, sans-serif;
20
+ @background_color_1: #FFFFFF;
21
+ @background_color_2: transparent;
22
+ @background_color_3: #fff;
23
+ @background_color_4: white;
24
+ @background_color_5: #333333;
25
+ @background_color_6: #F2F2F2;
26
+ @border_color_1: #333 transparent transparent;
27
+ @border_color_2: transparent #fff transparent transparent;
28
+ @border_color_3: transparent transparent transparent #fff;
29
+
30
+ //ICONS
31
+ @icomoon-font-family: "icomoon";
32
+ @icomoon-font-path: "../fonts";
33
+
34
+ @icon-chat-base: "\e901";
35
+ @icon-chat-db: "\e903";
36
+ @icon-chat-bubble: "\e900";
37
+ @icon-chat-smile: "\e904";
38
+ @icon-upload: "\e902";
39
+ @icon-phone: "\f095";
40
+ @icon-whatsapp: "\f232";
assets/css/src/_widget-icon__block.less CHANGED
@@ -1,82 +1,82 @@
1
- .widget-icon{
2
- &__block{
3
- [class^="icon-"]{
4
- display: block;
5
- border-radius: 100%;
6
- text-align: center;
7
- width: 40px;
8
- height: 40px;
9
- line-height: 40px;
10
- font-size: 20px;
11
- margin: 0 auto 6px;
12
- svg{
13
- color:#fff;
14
- }
15
- }
16
- .icon-upload{
17
- background: transparent;
18
- color: @color_1;
19
- }
20
- .custom-control.custom-radio{
21
- text-align: center;
22
- margin: 0;
23
- padding: 22px 8px 43px 8px;
24
- vertical-align: bottom;
25
- text-decoration: none;
26
- .custom-control-label{
27
- position: relative;
28
- &:before{
29
- transform: translateX(-50%);
30
- left: 50%;
31
- }
32
- }
33
- &:first-child{
34
- border-right: 1px solid #fff;
35
- }
36
-
37
- }
38
- }
39
- &__wrap{
40
- background: rgba(168, 134, 205, .1);
41
- padding:0;
42
- border-radius: 4px;
43
- flex: none;
44
- font-size: 0;
45
- }
46
- }
47
-
48
- @media (min-width: 768px) {
49
- .widget-icon{
50
- &__block{
51
- [class^="icon-"]{
52
- width: 54px;
53
- height: 54px;
54
- font-size: 28px;
55
- line-height: 54px;
56
- svg {
57
- width: 100%;
58
- }
59
- }
60
- .custom-control.custom-radio{
61
- &:first-child{
62
- padding-left: 20px;
63
- }
64
- &:last-child{
65
- padding-right: 20px;
66
- }
67
- }
68
- }
69
- }
70
- }
71
- @media (max-width: 767px){
72
- .main .form-horizontal__item > .widget-icon__wrap {
73
- display: flex;
74
- justify-content: space-between;
75
- .custom-control{
76
- margin: 0;
77
- flex: 1;
78
- text-align: center;
79
- }
80
- }
81
- }
82
-
1
+ .widget-icon{
2
+ &__block{
3
+ [class^="icon-"]{
4
+ display: block;
5
+ border-radius: 100%;
6
+ text-align: center;
7
+ width: 40px;
8
+ height: 40px;
9
+ line-height: 40px;
10
+ font-size: 20px;
11
+ margin: 0 auto 6px;
12
+ svg{
13
+ color:#fff;
14
+ }
15
+ }
16
+ .icon-upload{
17
+ background: transparent;
18
+ color: @color_1;
19
+ }
20
+ .custom-control.custom-radio{
21
+ text-align: center;
22
+ margin: 0;
23
+ padding: 22px 8px 43px 8px;
24
+ vertical-align: bottom;
25
+ text-decoration: none;
26
+ .custom-control-label{
27
+ position: relative;
28
+ &:before{
29
+ transform: translateX(-50%);
30
+ left: 50%;
31
+ }
32
+ }
33
+ &:first-child{
34
+ border-right: 1px solid #fff;
35
+ }
36
+
37
+ }
38
+ }
39
+ &__wrap{
40
+ background: rgba(168, 134, 205, .1);
41
+ padding:0;
42
+ border-radius: 4px;
43
+ flex: none;
44
+ font-size: 0;
45
+ }
46
+ }
47
+
48
+ @media (min-width: 768px) {
49
+ .widget-icon{
50
+ &__block{
51
+ [class^="icon-"]{
52
+ width: 54px;
53
+ height: 54px;
54
+ font-size: 28px;
55
+ line-height: 54px;
56
+ svg {
57
+ width: 100%;
58
+ }
59
+ }
60
+ .custom-control.custom-radio{
61
+ &:first-child{
62
+ padding-left: 20px;
63
+ }
64
+ &:last-child{
65
+ padding-right: 20px;
66
+ }
67
+ }
68
+ }
69
+ }
70
+ }
71
+ @media (max-width: 767px){
72
+ .main .form-horizontal__item > .widget-icon__wrap {
73
+ display: flex;
74
+ justify-content: space-between;
75
+ .custom-control{
76
+ margin: 0;
77
+ flex: 1;
78
+ text-align: center;
79
+ }
80
+ }
81
+ }
82
+
assets/css/src/cht-style.less CHANGED
@@ -1,7 +1,7 @@
1
- @import "_variables";
2
- @import "_icon";
3
- @import "_main";
4
- @import "_channels";
5
- @import "_widget-icon__block";
6
- @import "_file-input";
7
- @import "_sticky-preview";
1
+ @import "_variables";
2
+ @import "_icon";
3
+ @import "_main";
4
+ @import "_channels";
5
+ @import "_widget-icon__block";
6
+ @import "_file-input";
7
+ @import "_sticky-preview";
assets/fonts/icomoon.svg CHANGED
@@ -1,17 +1,17 @@
1
- <?xml version="1.0" standalone="no"?>
2
- <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" >
3
- <svg xmlns="http://www.w3.org/2000/svg">
4
- <metadata>Generated by IcoMoon</metadata>
5
- <defs>
6
- <font id="icomoon" horiz-adv-x="1024">
7
- <font-face units-per-em="1024" ascent="960" descent="-64" />
8
- <missing-glyph horiz-adv-x="1024" />
9
- <glyph unicode="&#x20;" horiz-adv-x="512" d="" />
10
- <glyph unicode="&#xe900;" glyph-name="chat-bubble" d="M416.113 960h191.774c108.551 0 217.102-43.42 293.088-123.025s123.025-184.537 123.025-293.088c0-217.102-166.445-398.021-383.548-416.113v-159.208c0-14.473-7.237-25.329-18.092-32.565-7.237 0-7.237 0-14.473 0s-18.092 7.237-25.329 14.473l-166.445 180.919c-108.551 0-217.102 43.42-293.088 123.025-75.986 75.986-123.025 184.537-123.025 293.088 0 227.958 184.537 412.495 416.113 412.495zM767.095 478.756c39.802 0 65.131 25.329 65.131 65.131s-25.329 65.131-65.131 65.131c-39.802 0-65.131-25.329-65.131-65.131 3.618-39.802 28.947-65.131 65.131-65.131zM510.191 478.756c39.802 0 65.131 25.329 65.131 65.131s-25.329 65.131-65.131 65.131c-39.802 0-65.131-25.329-65.131-65.131 3.618-39.802 28.947-65.131 65.131-65.131zM256.905 478.756c39.802 0 65.131 25.329 65.131 65.131s-25.329 65.131-65.131 65.131c-39.802 0-65.131-25.329-65.131-65.131s25.329-65.131 65.131-65.131z" />
11
- <glyph unicode="&#xe901;" glyph-name="chat-base" d="M128.472 960h767.055c71.793 0 128.472-56.679 128.472-128.472v-578.125c0-71.793-56.679-128.472-128.472-128.472h-64.236v-158.701c0-11.336-7.557-26.45-18.893-30.229-7.557 0-7.557 0-11.336 0-7.557 0-11.336 0-18.893 7.557l-222.937 185.151h-430.76c-71.793 0-128.472 56.679-128.472 128.472v578.125c0 68.015 56.679 124.694 128.472 124.694zM479.882 449.889h256.945c18.893 0 30.229 11.336 30.229 30.229s-11.336 30.229-30.229 30.229h-256.945c-18.893 0-30.229-11.336-30.229-30.229s11.336-30.229 30.229-30.229zM287.173 638.819h449.653c18.893 0 30.229 11.336 30.229 30.229s-11.336 30.229-30.229 30.229h-449.653c-18.893 0-30.229-11.336-30.229-30.229 0-15.114 11.336-30.229 30.229-30.229z" />
12
- <glyph unicode="&#xe902;" glyph-name="upload" horiz-adv-x="961" d="M455.111 947.358c8.428 8.428 21.070 12.642 25.284 12.642 8.428 0 21.070-8.428 25.284-12.642l223.342-257.053c8.428-8.428 12.642-25.284 8.428-33.712-8.428-8.428-21.070-21.070-33.712-21.070h-126.42v-417.185c0-21.070-12.642-33.712-33.712-33.712h-126.42c-21.070 0-33.712 12.642-33.712 33.712v417.185h-126.42c-12.642 0-25.284 8.428-33.712 21.070 0 12.642 0 25.284 8.428 33.712l223.342 257.053zM830.156 260.477v-193.844h-703.737v193.844h-126.42v-257.053c0-37.926 25.284-63.21 63.21-63.21h830.156c37.926 0 63.21 25.284 63.21 63.21v257.053h-126.42z" />
13
- <glyph unicode="&#xe903;" glyph-name="chat-db" d="M698.514 766.171h-570.514c-69.486 0-128-58.514-128-128v-380.343c0-69.486 58.514-128 128-128h460.8l182.857-182.857c7.314-7.314 10.971-7.314 25.6-7.314 7.314 0 7.314 0 10.971 0 10.971 7.314 18.286 18.286 18.286 32.914v665.6c0 69.486-58.514 128-128 128zM888.686 956.343h-570.514c-69.486 0-128-58.514-128-128h508.343c106.057 0 190.171-84.114 190.171-190.171v-424.229l69.486-69.486c7.314-7.314 10.971-7.314 25.6-7.314 7.314 0 7.314 0 10.971 0 10.971 7.314 18.286 18.286 18.286 32.914v658.286c3.657 69.486-54.857 128-124.343 128z" />
14
- <glyph unicode="&#xe904;" glyph-name="chat-smile" horiz-adv-x="1176" d="M1024 960h-879.389c-82.076 0-144.611-66.443-144.611-144.611v-515.908c0-82.076 66.443-144.611 144.611-144.611h754.321l211.053-211.053c7.817-7.817 15.634-7.817 27.359-7.817 7.817 0 7.817 0 15.634 0 15.634 7.817 23.45 23.45 23.45 35.176v840.305c-3.908 82.076-70.351 148.519-152.427 148.519zM359.573 420.641c97.71-42.992 332.214-82.076 508.092 105.527M977.099 530.076c-3.908 46.901-31.267 132.885-128.977 109.435" />
15
- <glyph unicode="&#xf095;" glyph-name="phone" horiz-adv-x="805" d="M804.571 242.286c0-20.571-9.143-60.571-17.714-79.429-12-28-44-46.286-69.714-60.571-33.714-18.286-68-29.143-106.286-29.143-53.143 0-101.143 21.714-149.714 39.429-34.857 12.571-68.571 28-100 47.429-97.143 60-214.286 177.143-274.286 274.286-19.429 31.429-34.857 65.143-47.429 100-17.714 48.571-39.429 96.571-39.429 149.714 0 38.286 10.857 72.571 29.143 106.286 14.286 25.714 32.571 57.714 60.571 69.714 18.857 8.571 58.857 17.714 79.429 17.714 4 0 8 0 12-1.714 12-4 24.571-32 30.286-43.429 18.286-32.571 36-65.714 54.857-97.714 9.143-14.857 26.286-33.143 26.286-50.857 0-34.857-103.429-85.714-103.429-116.571 0-15.429 14.286-35.429 22.286-49.143 57.714-104 129.714-176 233.714-233.714 13.714-8 33.714-22.286 49.143-22.286 30.857 0 81.714 103.429 116.571 103.429 17.714 0 36-17.143 50.857-26.286 32-18.857 65.143-36.571 97.714-54.857 11.429-5.714 39.429-18.286 43.429-30.286 1.714-4 1.714-8 1.714-12z" />
16
- <glyph unicode="&#xf232;" glyph-name="whatsapp" horiz-adv-x="878" d="M562.857 394.286c9.714 0 102.857-48.571 106.857-55.429 1.143-2.857 1.143-6.286 1.143-8.571 0-14.286-4.571-30.286-9.714-43.429-13.143-32-66.286-52.571-98.857-52.571-27.429 0-84 24-108.571 35.429-81.714 37.143-132.571 100.571-181.714 173.143-21.714 32-41.143 71.429-40.571 110.857v4.571c1.143 37.714 14.857 64.571 42.286 90.286 8.571 8 17.714 12.571 29.714 12.571 6.857 0 13.714-1.714 21.143-1.714 15.429 0 18.286-4.571 24-19.429 4-9.714 33.143-87.429 33.143-93.143 0-21.714-39.429-46.286-39.429-59.429 0-2.857 1.143-5.714 2.857-8.571 12.571-26.857 36.571-57.714 58.286-78.286 26.286-25.143 54.286-41.714 86.286-57.714 4-2.286 8-4 12.571-4 17.143 0 45.714 55.429 60.571 55.429zM446.857 91.428c197.714 0 358.857 161.143 358.857 358.857s-161.143 358.857-358.857 358.857-358.857-161.143-358.857-358.857c0-75.429 24-149.143 68.571-210.286l-45.143-133.143 138.286 44c58.286-38.286 127.429-59.429 197.143-59.429zM446.857 881.143c237.714 0 430.857-193.143 430.857-430.857s-193.143-430.857-430.857-430.857c-72.571 0-144.571 18.286-208.571 53.714l-238.286-76.571 77.714 231.429c-40.571 66.857-61.714 144-61.714 222.286 0 237.714 193.143 430.857 430.857 430.857z" />
17
  </font></defs></svg>
1
+ <?xml version="1.0" standalone="no"?>
2
+ <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" >
3
+ <svg xmlns="http://www.w3.org/2000/svg">
4
+ <metadata>Generated by IcoMoon</metadata>
5
+ <defs>
6
+ <font id="icomoon" horiz-adv-x="1024">
7
+ <font-face units-per-em="1024" ascent="960" descent="-64" />
8
+ <missing-glyph horiz-adv-x="1024" />
9
+ <glyph unicode="&#x20;" horiz-adv-x="512" d="" />
10
+ <glyph unicode="&#xe900;" glyph-name="chat-bubble" d="M416.113 960h191.774c108.551 0 217.102-43.42 293.088-123.025s123.025-184.537 123.025-293.088c0-217.102-166.445-398.021-383.548-416.113v-159.208c0-14.473-7.237-25.329-18.092-32.565-7.237 0-7.237 0-14.473 0s-18.092 7.237-25.329 14.473l-166.445 180.919c-108.551 0-217.102 43.42-293.088 123.025-75.986 75.986-123.025 184.537-123.025 293.088 0 227.958 184.537 412.495 416.113 412.495zM767.095 478.756c39.802 0 65.131 25.329 65.131 65.131s-25.329 65.131-65.131 65.131c-39.802 0-65.131-25.329-65.131-65.131 3.618-39.802 28.947-65.131 65.131-65.131zM510.191 478.756c39.802 0 65.131 25.329 65.131 65.131s-25.329 65.131-65.131 65.131c-39.802 0-65.131-25.329-65.131-65.131 3.618-39.802 28.947-65.131 65.131-65.131zM256.905 478.756c39.802 0 65.131 25.329 65.131 65.131s-25.329 65.131-65.131 65.131c-39.802 0-65.131-25.329-65.131-65.131s25.329-65.131 65.131-65.131z" />
11
+ <glyph unicode="&#xe901;" glyph-name="chat-base" d="M128.472 960h767.055c71.793 0 128.472-56.679 128.472-128.472v-578.125c0-71.793-56.679-128.472-128.472-128.472h-64.236v-158.701c0-11.336-7.557-26.45-18.893-30.229-7.557 0-7.557 0-11.336 0-7.557 0-11.336 0-18.893 7.557l-222.937 185.151h-430.76c-71.793 0-128.472 56.679-128.472 128.472v578.125c0 68.015 56.679 124.694 128.472 124.694zM479.882 449.889h256.945c18.893 0 30.229 11.336 30.229 30.229s-11.336 30.229-30.229 30.229h-256.945c-18.893 0-30.229-11.336-30.229-30.229s11.336-30.229 30.229-30.229zM287.173 638.819h449.653c18.893 0 30.229 11.336 30.229 30.229s-11.336 30.229-30.229 30.229h-449.653c-18.893 0-30.229-11.336-30.229-30.229 0-15.114 11.336-30.229 30.229-30.229z" />
12
+ <glyph unicode="&#xe902;" glyph-name="upload" horiz-adv-x="961" d="M455.111 947.358c8.428 8.428 21.070 12.642 25.284 12.642 8.428 0 21.070-8.428 25.284-12.642l223.342-257.053c8.428-8.428 12.642-25.284 8.428-33.712-8.428-8.428-21.070-21.070-33.712-21.070h-126.42v-417.185c0-21.070-12.642-33.712-33.712-33.712h-126.42c-21.070 0-33.712 12.642-33.712 33.712v417.185h-126.42c-12.642 0-25.284 8.428-33.712 21.070 0 12.642 0 25.284 8.428 33.712l223.342 257.053zM830.156 260.477v-193.844h-703.737v193.844h-126.42v-257.053c0-37.926 25.284-63.21 63.21-63.21h830.156c37.926 0 63.21 25.284 63.21 63.21v257.053h-126.42z" />
13
+ <glyph unicode="&#xe903;" glyph-name="chat-db" d="M698.514 766.171h-570.514c-69.486 0-128-58.514-128-128v-380.343c0-69.486 58.514-128 128-128h460.8l182.857-182.857c7.314-7.314 10.971-7.314 25.6-7.314 7.314 0 7.314 0 10.971 0 10.971 7.314 18.286 18.286 18.286 32.914v665.6c0 69.486-58.514 128-128 128zM888.686 956.343h-570.514c-69.486 0-128-58.514-128-128h508.343c106.057 0 190.171-84.114 190.171-190.171v-424.229l69.486-69.486c7.314-7.314 10.971-7.314 25.6-7.314 7.314 0 7.314 0 10.971 0 10.971 7.314 18.286 18.286 18.286 32.914v658.286c3.657 69.486-54.857 128-124.343 128z" />
14
+ <glyph unicode="&#xe904;" glyph-name="chat-smile" horiz-adv-x="1176" d="M1024 960h-879.389c-82.076 0-144.611-66.443-144.611-144.611v-515.908c0-82.076 66.443-144.611 144.611-144.611h754.321l211.053-211.053c7.817-7.817 15.634-7.817 27.359-7.817 7.817 0 7.817 0 15.634 0 15.634 7.817 23.45 23.45 23.45 35.176v840.305c-3.908 82.076-70.351 148.519-152.427 148.519zM359.573 420.641c97.71-42.992 332.214-82.076 508.092 105.527M977.099 530.076c-3.908 46.901-31.267 132.885-128.977 109.435" />
15
+ <glyph unicode="&#xf095;" glyph-name="phone" horiz-adv-x="805" d="M804.571 242.286c0-20.571-9.143-60.571-17.714-79.429-12-28-44-46.286-69.714-60.571-33.714-18.286-68-29.143-106.286-29.143-53.143 0-101.143 21.714-149.714 39.429-34.857 12.571-68.571 28-100 47.429-97.143 60-214.286 177.143-274.286 274.286-19.429 31.429-34.857 65.143-47.429 100-17.714 48.571-39.429 96.571-39.429 149.714 0 38.286 10.857 72.571 29.143 106.286 14.286 25.714 32.571 57.714 60.571 69.714 18.857 8.571 58.857 17.714 79.429 17.714 4 0 8 0 12-1.714 12-4 24.571-32 30.286-43.429 18.286-32.571 36-65.714 54.857-97.714 9.143-14.857 26.286-33.143 26.286-50.857 0-34.857-103.429-85.714-103.429-116.571 0-15.429 14.286-35.429 22.286-49.143 57.714-104 129.714-176 233.714-233.714 13.714-8 33.714-22.286 49.143-22.286 30.857 0 81.714 103.429 116.571 103.429 17.714 0 36-17.143 50.857-26.286 32-18.857 65.143-36.571 97.714-54.857 11.429-5.714 39.429-18.286 43.429-30.286 1.714-4 1.714-8 1.714-12z" />
16
+ <glyph unicode="&#xf232;" glyph-name="whatsapp" horiz-adv-x="878" d="M562.857 394.286c9.714 0 102.857-48.571 106.857-55.429 1.143-2.857 1.143-6.286 1.143-8.571 0-14.286-4.571-30.286-9.714-43.429-13.143-32-66.286-52.571-98.857-52.571-27.429 0-84 24-108.571 35.429-81.714 37.143-132.571 100.571-181.714 173.143-21.714 32-41.143 71.429-40.571 110.857v4.571c1.143 37.714 14.857 64.571 42.286 90.286 8.571 8 17.714 12.571 29.714 12.571 6.857 0 13.714-1.714 21.143-1.714 15.429 0 18.286-4.571 24-19.429 4-9.714 33.143-87.429 33.143-93.143 0-21.714-39.429-46.286-39.429-59.429 0-2.857 1.143-5.714 2.857-8.571 12.571-26.857 36.571-57.714 58.286-78.286 26.286-25.143 54.286-41.714 86.286-57.714 4-2.286 8-4 12.571-4 17.143 0 45.714 55.429 60.571 55.429zM446.857 91.428c197.714 0 358.857 161.143 358.857 358.857s-161.143 358.857-358.857 358.857-358.857-161.143-358.857-358.857c0-75.429 24-149.143 68.571-210.286l-45.143-133.143 138.286 44c58.286-38.286 127.429-59.429 197.143-59.429zM446.857 881.143c237.714 0 430.857-193.143 430.857-430.857s-193.143-430.857-430.857-430.857c-72.571 0-144.571 18.286-208.571 53.714l-238.286-76.571 77.714 231.429c-40.571 66.857-61.714 144-61.714 222.286 0 237.714 193.143 430.857 430.857 430.857z" />
17
  </font></defs></svg>
assets/images/bg.svg CHANGED
@@ -1,533 +1,533 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" width="1200" height="1328" viewBox="0 0 1200 1328" fill="none">
2
- <g clip-path="url(#clip0)">
3
- <rect width="1200" height="1328" fill="white"/>
4
- <rect width="1200" height="1328" fill="url(#paint0_linear)"/>
5
- <!--<g opacity="0.6" filter="url(#filter0_f)">-->
6
- <!--<rect width="914.215" height="42.0585" rx="9" transform="translate(142.892 1257.2)" fill="black"-->
7
- <!--fill-opacity="0.2"/>-->
8
- <!--</g>-->
9
-
10
-
11
- <g opacity="0.1">
12
- <path fill-rule="evenodd" clip-rule="evenodd"
13
- d="M3.86839 0H25.1446C27.2722 0 29.013 1.77328 29.013 3.94064V21.6735C29.013 23.8409 27.2722 25.6142 25.1446 25.6142H11.0249L5.41576 30.3429C5.22234 30.54 5.02892 30.54 4.83549 30.54H4.44866C4.06182 30.3429 3.86839 29.9489 3.86839 29.5548V25.6142C1.74078 25.6142 0 23.8409 0 21.6735V3.94064C0 1.77328 1.74078 0 3.86839 0ZM3.86839 16.7477C3.86839 17.3388 4.25523 17.7328 4.83549 17.7328H6.76968C8.31704 17.7328 9.67098 16.3536 9.67098 14.7774C9.67098 13.2011 8.31704 11.8219 6.76968 11.8219C6.18942 11.8219 5.80258 11.4278 5.80258 10.8367C5.80258 10.2456 6.18942 9.85156 6.76968 9.85156H8.70388C9.28414 9.85156 9.67098 9.45752 9.67098 8.86642C9.67098 8.27533 9.28414 7.88126 8.70388 7.88126H6.76968C5.22232 7.88126 3.86839 9.26047 3.86839 10.8367C3.86839 12.413 5.22232 13.7922 6.76968 13.7922C7.34995 13.7922 7.73678 14.1863 7.73678 14.7774C7.73678 15.3685 7.34995 15.7625 6.76968 15.7625H4.83549C4.25523 15.7625 3.86839 16.1566 3.86839 16.7477ZM22.2433 17.7328H20.3091C19.7289 17.7328 19.342 17.3388 19.342 16.7477C19.342 16.1566 19.7289 15.7625 20.3091 15.7625H22.2433C22.8236 15.7625 23.2104 15.3685 23.2104 14.7774C23.2104 14.1863 22.8236 13.7922 22.2433 13.7922C20.6959 13.7922 19.342 12.413 19.342 10.8367C19.342 9.26047 20.6959 7.88126 22.2433 7.88126H24.1775C24.7578 7.88126 25.1446 8.27533 25.1446 8.86642C25.1446 9.45752 24.7578 9.85156 24.1775 9.85156H22.2433C21.663 9.85156 21.2762 10.2456 21.2762 10.8367C21.2762 11.4278 21.663 11.8219 22.2433 11.8219C23.7907 11.8219 25.1446 13.2011 25.1446 14.7774C25.1446 16.3536 23.7907 17.7328 22.2433 17.7328ZM15.4736 16.7477C15.4736 17.3388 15.8604 17.7329 16.4407 17.7329C17.0209 17.7329 17.4078 17.3388 17.6012 16.7477V8.86646C17.6012 8.47238 17.2143 8.07834 16.8275 7.88129C16.2472 7.88129 15.8604 8.07834 15.667 8.47238L14.5065 10.6397L13.346 8.47238C13.1525 8.07834 12.5723 7.68427 12.1854 7.88129C11.7986 8.07834 11.4118 8.47238 11.4118 8.86646V16.7477C11.4118 17.3388 11.7986 17.7329 12.3789 17.7329C12.9591 17.7329 13.346 17.3388 13.346 16.7477V13.0041L13.5394 13.2012C13.9262 13.7923 14.8933 13.7923 15.2802 13.2012L15.4736 13.0041V16.7477Z"
14
- transform="translate(39.6424 236.54) rotate(-30)" fill="white"/>
15
- </g>
16
- <g opacity="0.1">
17
- <path fill-rule="evenodd" clip-rule="evenodd"
18
- d="M3.8684 1.49725e-06L25.1446 0C27.2722 -4.69996e-06 29.013 1.7733 29.013 3.94066L29.013 21.6735C29.013 23.8409 27.2722 25.6142 25.1446 25.6142L11.0249 25.6142L5.41576 30.3429C5.22234 30.54 5.02892 30.54 4.8355 30.54H4.44866C4.06182 30.3429 3.86839 29.9489 3.8684 29.5548L3.86839 25.6142C1.74078 25.6142 1.87794e-06 23.8409 0 21.6735L3.99215e-06 3.94064C2.11421e-06 1.77329 1.74078 6.19722e-06 3.8684 1.49725e-06ZM4.83549 17.7329L6.76969 17.7329C8.31704 17.7329 9.67098 16.3537 9.67097 14.7774C9.67098 13.2011 8.31704 11.8219 6.76968 11.8219C6.18942 11.8219 5.80259 11.4279 5.80258 10.8368C5.80258 10.2457 6.18943 9.8516 6.76968 9.85161L8.70388 9.8516C9.28414 9.8516 9.67098 9.45753 9.67098 8.86644C9.67098 8.27534 9.28413 7.88128 8.70388 7.88129L6.76968 7.88128C5.22233 7.88128 3.86839 9.2605 3.86838 10.8368C3.86838 12.413 5.22232 13.7922 6.76968 13.7922C7.34994 13.7922 7.73678 14.1863 7.73678 14.7774C7.73678 15.3685 7.34994 15.7626 6.76968 15.7626L4.83548 15.7626C4.25523 15.7626 3.86839 16.1566 3.86839 16.7477C3.86838 17.3388 4.25522 17.7329 4.83549 17.7329ZM22.2433 17.7329L20.3091 17.7329C19.7288 17.7329 19.342 17.3388 19.342 16.7477C19.342 16.1566 19.7289 15.7626 20.3091 15.7626L22.2433 15.7626C22.8236 15.7626 23.2104 15.3685 23.2104 14.7774C23.2104 14.1863 22.8236 13.7922 22.2433 13.7922C20.6959 13.7922 19.342 12.413 19.342 10.8368C19.342 9.2605 20.696 7.88127 22.2433 7.88127L24.1775 7.88128C24.7578 7.88128 25.1446 8.27534 25.1446 8.86644C25.1446 9.45753 24.7578 9.8516 24.1775 9.8516L22.2433 9.8516C21.6631 9.85159 21.2762 10.2457 21.2762 10.8368C21.2762 11.4279 21.663 11.8219 22.2433 11.8219C23.7907 11.8219 25.1446 13.2011 25.1446 14.7774C25.1446 16.3537 23.7907 17.7329 22.2433 17.7329ZM15.4736 16.7477C15.4736 17.3388 15.8604 17.7329 16.4407 17.7329C17.0209 17.7329 17.4078 17.3389 17.6012 16.7478L17.6012 8.86647C17.6012 8.4724 17.2143 8.07834 16.8275 7.8813C16.2472 7.88131 15.8604 8.07834 15.667 8.4724L14.5065 10.6398L13.346 8.47241C13.1525 8.07834 12.5723 7.68428 12.1854 7.8813C11.7986 8.07834 11.4118 8.47241 11.4118 8.86647V16.7478C11.4118 17.3388 11.7986 17.7329 12.3789 17.7329C12.9591 17.7329 13.346 17.3388 13.346 16.7478L13.346 13.0041L13.5394 13.2012C13.9262 13.7923 14.8933 13.7923 15.2802 13.2012L15.4736 13.0041L15.4736 16.7477Z"
19
- transform="translate(319.608 17.3281) rotate(-30)" fill="white"/>
20
- </g>
21
- <g opacity="0.1">
22
- <path fill-rule="evenodd" clip-rule="evenodd"
23
- d="M3.8684 0L25.1446 1.17173e-05C27.2722 7.01729e-06 29.013 1.77329 29.013 3.94064L29.013 21.6735C29.013 23.8409 27.2722 25.6142 25.1446 25.6142L11.0249 25.6142L5.41576 30.3429C5.22234 30.54 5.02892 30.54 4.8355 30.54L4.44866 30.54C4.06182 30.3429 3.8684 29.9489 3.8684 29.5548L3.86839 25.6142C1.74077 25.6142 1.87794e-06 23.8409 0 21.6735L3.99215e-06 3.94064C2.11421e-06 1.77329 1.74078 2.79262e-06 3.8684 0ZM4.83548 17.7329L6.76968 17.7329C8.31704 17.7329 9.67097 16.3537 9.67097 14.7774C9.67098 13.2011 8.31703 11.8219 6.76968 11.8219C6.18942 11.8219 5.80258 11.4279 5.80258 10.8368C5.80258 10.2457 6.18942 9.85159 6.76968 9.8516L8.70387 9.8516C9.28414 9.8516 9.67098 9.45753 9.67098 8.86643C9.67098 8.27534 9.28413 7.88128 8.70387 7.88128L6.76968 7.88127C5.22232 7.88128 3.86838 9.2605 3.86838 10.8368C3.86838 12.413 5.22232 13.7922 6.76968 13.7922C7.34994 13.7922 7.73678 14.1863 7.73678 14.7774C7.73678 15.3685 7.34994 15.7626 6.76968 15.7626L4.83548 15.7626C4.25522 15.7626 3.86838 16.1566 3.86838 16.7477C3.86838 17.3388 4.25522 17.7329 4.83548 17.7329ZM22.2433 17.7329L20.3091 17.7329C19.7288 17.7329 19.342 17.3388 19.342 16.7477C19.342 16.1566 19.7289 15.7626 20.3091 15.7626L22.2433 15.7626C22.8236 15.7626 23.2104 15.3685 23.2104 14.7774C23.2104 14.1863 22.8236 13.7922 22.2433 13.7922C20.6959 13.7922 19.342 12.413 19.342 10.8368C19.342 9.2605 20.696 7.88127 22.2433 7.88127L24.1775 7.88128C24.7578 7.88128 25.1446 8.27534 25.1446 8.86643C25.1446 9.45753 24.7578 9.8516 24.1775 9.8516L22.2433 9.8516C21.6631 9.85159 21.2762 10.2457 21.2762 10.8368C21.2762 11.4279 21.663 11.8219 22.2433 11.8219C23.7907 11.8219 25.1446 13.2011 25.1446 14.7774C25.1446 16.3537 23.7907 17.7329 22.2433 17.7329ZM15.4736 16.7477C15.4736 17.3388 15.8604 17.7329 16.4407 17.7329C17.0209 17.7329 17.4078 17.3389 17.6012 16.7478L17.6012 8.86647C17.6012 8.4724 17.2143 8.07834 16.8275 7.88131C16.2472 7.8813 15.8604 8.07834 15.667 8.4724L14.5065 10.6398L13.346 8.47241C13.1525 8.07833 12.5723 7.68428 12.1854 7.8813C11.7986 8.07834 11.4118 8.47241 11.4118 8.86647L11.4118 16.7478C11.4118 17.3388 11.7986 17.7329 12.3789 17.7329C12.9591 17.7329 13.346 17.3388 13.346 16.7477L13.346 13.0041L13.5394 13.2012C13.9262 13.7923 14.8933 13.7923 15.2802 13.2012L15.4736 13.0041L15.4736 16.7477Z"
24
- transform="translate(20.1613 634.373) rotate(-30)" fill="white"/>
25
- </g>
26
- <g opacity="0.1">
27
- <path fill-rule="evenodd" clip-rule="evenodd"
28
- d="M3.8684 3.66012e-06L25.1446 0C27.2722 2.41835e-06 29.013 1.77329 29.013 3.94064L29.013 21.6735C29.013 23.8409 27.2722 25.6142 25.1446 25.6142L11.0249 25.6142L5.41576 30.3429C5.22235 30.54 5.02892 30.54 4.8355 30.54H4.44867C4.06182 30.3429 3.8684 29.9489 3.8684 29.5548L3.8684 25.6142C1.74078 25.6142 1.70049e-06 23.8409 4.52245e-06 21.6735L0 3.94064C1.42568e-06 1.77329 1.74078 1.24177e-06 3.8684 3.66012e-06ZM4.83549 17.7329L6.76968 17.7329C8.31704 17.7329 9.67098 16.3536 9.67098 14.7774C9.67098 13.2011 8.31704 11.8219 6.76968 11.8219C6.18942 11.8219 5.80259 11.4279 5.80258 10.8368C5.80258 10.2457 6.18942 9.85159 6.76968 9.85159L8.70388 9.85159C9.28414 9.85159 9.67098 9.45753 9.67098 8.86643C9.67098 8.27534 9.28414 7.88127 8.70388 7.88127H6.76968C5.22232 7.88127 3.86839 9.2605 3.86838 10.8368C3.86839 12.413 5.22233 13.7922 6.76968 13.7922C7.34994 13.7922 7.73678 14.1863 7.73678 14.7774C7.73678 15.3685 7.34994 15.7626 6.76968 15.7626L4.83548 15.7626C4.25523 15.7626 3.86838 16.1566 3.86838 16.7477C3.86838 17.3388 4.25522 17.7329 4.83549 17.7329ZM22.2433 17.7329H20.3091C19.7289 17.7329 19.342 17.3388 19.342 16.7477C19.342 16.1566 19.7289 15.7626 20.3091 15.7626L22.2433 15.7626C22.8236 15.7626 23.2104 15.3685 23.2104 14.7774C23.2104 14.1863 22.8236 13.7922 22.2433 13.7922C20.696 13.7922 19.342 12.413 19.342 10.8368C19.342 9.2605 20.696 7.88127 22.2433 7.88127L24.1775 7.88127C24.7578 7.88127 25.1446 8.27534 25.1446 8.86643C25.1446 9.45753 24.7578 9.85159 24.1775 9.85159H22.2433C21.6631 9.85159 21.2762 10.2457 21.2762 10.8368C21.2762 11.4279 21.6631 11.8219 22.2433 11.8219C23.7907 11.8219 25.1446 13.2011 25.1446 14.7774C25.1446 16.3536 23.7907 17.7329 22.2433 17.7329ZM15.4736 16.7477C15.4736 17.3388 15.8604 17.7329 16.4407 17.7329C17.0209 17.7329 17.4078 17.3388 17.6012 16.7477L17.6012 8.86646C17.6012 8.47239 17.2144 8.07833 16.8275 7.8813C16.2473 7.8813 15.8604 8.07833 15.667 8.47239L14.5065 10.6398L13.346 8.4724C13.1525 8.07833 12.5723 7.68427 12.1855 7.8813C11.7986 8.07833 11.4118 8.4724 11.4118 8.86646L11.4118 16.7477C11.4118 17.3388 11.7986 17.7329 12.3789 17.7329C12.9591 17.7329 13.346 17.3388 13.346 16.7477L13.346 13.0041L13.5394 13.2012C13.9262 13.7923 14.8933 13.7923 15.2802 13.2012L15.4736 13.0041L15.4736 16.7477Z"
29
- transform="translate(-5.74054 821.887) rotate(-30)" fill="white"/>
30
- </g>
31
- <g opacity="0.1">
32
- <path fill-rule="evenodd" clip-rule="evenodd"
33
- d="M3.86841 2.92775e-06L25.1446 0C27.2722 -1.83895e-06 29.013 1.7733 29.013 3.94066L29.013 21.6735C29.013 23.8409 27.2722 25.6142 25.1446 25.6142L11.0249 25.6142L5.41576 30.343C5.22235 30.54 5.02892 30.54 4.8355 30.54L4.44867 30.54C4.06182 30.343 3.8684 29.9489 3.8684 29.5548L3.8684 25.6142C1.74078 25.6142 -1.42568e-06 23.8409 0 21.6735L9.14383e-06 3.94064C9.7436e-06 1.77329 1.74079 5.72037e-06 3.86841 2.92775e-06ZM4.8355 17.7329L6.7697 17.7329C8.31706 17.7329 9.67099 16.3537 9.67099 14.7774C9.67099 13.2011 8.31706 11.8219 6.7697 11.8219C6.18944 11.8219 5.80259 11.4279 5.8026 10.8367C5.8026 10.2456 6.18943 9.85159 6.76969 9.85159L8.70389 9.85159C9.28415 9.85159 9.67099 9.45752 9.67099 8.86642C9.67099 8.27533 9.28415 7.88126 8.7039 7.88126L6.7697 7.88126C5.22234 7.88126 3.86839 9.2605 3.8684 10.8367C3.8684 12.413 5.22233 13.7922 6.76969 13.7922C7.34995 13.7922 7.73679 14.1863 7.73679 14.7774C7.73679 15.3685 7.34995 15.7626 6.76969 15.7626L4.8355 15.7625C4.25524 15.7625 3.8684 16.1566 3.8684 16.7477C3.8684 17.3388 4.25524 17.7329 4.8355 17.7329ZM22.2433 17.7329L20.3091 17.7329C19.7288 17.7329 19.342 17.3388 19.342 16.7477C19.342 16.1566 19.7289 15.7626 20.3091 15.7626L22.2433 15.7626C22.8236 15.7626 23.2104 15.3685 23.2104 14.7774C23.2104 14.1863 22.8236 13.7923 22.2433 13.7923C20.6959 13.7923 19.342 12.413 19.342 10.8368C19.342 9.26053 20.6959 7.88129 22.2433 7.88129L24.1775 7.88128C24.7578 7.88128 25.1446 8.27535 25.1446 8.86645C25.1446 9.45754 24.7578 9.85161 24.1775 9.85161L22.2433 9.85162C21.663 9.85162 21.2762 10.2457 21.2762 10.8368C21.2762 11.4279 21.663 11.8219 22.2433 11.8219C23.7907 11.8219 25.1446 13.2012 25.1446 14.7774C25.1446 16.3537 23.7907 17.7329 22.2433 17.7329ZM15.4736 16.7477C15.4736 17.3388 15.8604 17.7329 16.4407 17.7329C17.021 17.7329 17.4078 17.3388 17.6012 16.7477L17.6012 8.86645C17.6012 8.4724 17.2144 8.07833 16.8275 7.88131C16.2473 7.88131 15.8604 8.07833 15.667 8.4724L14.5065 10.6398L13.346 8.47238C13.1525 8.07834 12.5723 7.68427 12.1855 7.88129C11.7986 8.07834 11.4118 8.47239 11.4118 8.86646L11.4118 16.7477C11.4118 17.3388 11.7986 17.7329 12.3789 17.7329C12.9591 17.7329 13.346 17.3388 13.346 16.7477L13.346 13.0041L13.5394 13.2012C13.9262 13.7923 14.8933 13.7923 15.2802 13.2012L15.4736 13.0041L15.4736 16.7477Z"
34
- transform="translate(64.0171 1036.92) rotate(-30)" fill="white"/>
35
- </g>
36
- <g opacity="0.1">
37
- <path fill-rule="evenodd" clip-rule="evenodd"
38
- d="M3.86841 0L25.1446 2.49318e-05C27.2722 -6.19721e-06 29.013 1.7733 29.013 3.94063L29.013 21.6736C29.013 23.8409 27.2722 25.6142 25.1446 25.6142L11.0249 25.6142L5.41577 30.343C5.22235 30.54 5.02891 30.54 4.83551 30.54L4.44867 30.54C4.06184 30.3429 3.86842 29.9489 3.86841 29.5548L3.86842 25.6141C1.74079 25.6142 2.0774e-05 23.8409 3.63725e-06 21.6735L0 3.94067C1.33808e-05 1.77329 1.74078 3.1129e-05 3.86841 0ZM4.83549 17.7329L6.76969 17.7329C8.31705 17.7329 9.67101 16.3536 9.67099 14.7774C9.67098 13.2012 8.31707 11.8219 6.76971 11.8219C6.18943 11.8219 5.80261 11.4278 5.80261 10.8367C5.80261 10.2456 6.18944 9.85159 6.76971 9.85157L8.70391 9.85156C9.28415 9.85159 9.67099 9.45754 9.67099 8.86645C9.67099 8.27536 9.28416 7.88126 8.70389 7.88128L6.76969 7.88129C5.22233 7.88129 3.8684 9.2605 3.86841 10.8367C3.86839 12.413 5.22234 13.7922 6.7697 13.7922C7.34998 13.7922 7.73679 14.1863 7.73679 14.7774C7.7368 15.3685 7.34997 15.7625 6.7697 15.7626L4.8355 15.7626C4.25525 15.7625 3.86839 16.1566 3.86839 16.7477C3.86839 17.3388 4.25524 17.7329 4.83549 17.7329ZM22.2433 17.7329L20.3091 17.7329C19.7289 17.7329 19.342 17.3388 19.342 16.7477C19.342 16.1566 19.7289 15.7625 20.3091 15.7626L22.2433 15.7626C22.8236 15.7625 23.2104 15.3685 23.2104 14.7774C23.2104 14.1863 22.8236 13.7922 22.2433 13.7922C20.696 13.7922 19.342 12.413 19.342 10.8367C19.342 9.2605 20.696 7.88129 22.2433 7.88128L24.1775 7.88128C24.7578 7.88125 25.1446 8.27535 25.1446 8.86645C25.1446 9.45754 24.7578 9.85158 24.1775 9.85156L22.2433 9.85156C21.6631 9.85159 21.2762 10.2456 21.2762 10.8367C21.2762 11.4278 21.6631 11.8219 22.2433 11.8219C23.7907 11.8219 25.1446 13.2012 25.1446 14.7774C25.1446 16.3536 23.7907 17.7329 22.2433 17.7329ZM15.4736 16.7478C15.4736 17.3389 15.8604 17.7329 16.4407 17.7329C17.0209 17.7329 17.4078 17.3389 17.6012 16.7477L17.6012 8.86647C17.6012 8.47242 17.2144 8.07833 16.8275 7.88133C16.2473 7.8813 15.8604 8.07835 15.667 8.47243L14.5065 10.6398L13.346 8.47243C13.1525 8.07836 12.5723 7.68429 12.1854 7.88134C11.7986 8.07834 11.4118 8.47244 11.4118 8.86648L11.4118 16.7478C11.4118 17.3388 11.7986 17.7329 12.3789 17.7329C12.9591 17.7329 13.346 17.3388 13.346 16.7477L13.346 13.0041L13.5394 13.2012C13.9262 13.7923 14.8933 13.7923 15.2802 13.2012L15.4736 13.0042L15.4736 16.7478Z"
39
- transform="translate(-6.43736 1103.38) rotate(-30)" fill="white"/>
40
- </g>
41
- <g opacity="0.1">
42
- <path fill-rule="evenodd" clip-rule="evenodd"
43
- d="M3.86841 0L25.1446 2.49318e-05C27.2722 -6.19721e-06 29.013 1.7733 29.013 3.94063L29.013 21.6736C29.013 23.8409 27.2722 25.6142 25.1446 25.6142L11.0249 25.6142L5.41577 30.343C5.22235 30.54 5.02891 30.54 4.83551 30.54L4.44867 30.54C4.06184 30.3429 3.86842 29.9489 3.86841 29.5548L3.86842 25.6141C1.74079 25.6142 2.0774e-05 23.8409 3.63724e-06 21.6735L0 3.94067C1.33808e-05 1.77329 1.74078 3.1129e-05 3.86841 0ZM4.83549 17.7329L6.76969 17.7329C8.31705 17.7329 9.67101 16.3536 9.67099 14.7774C9.67098 13.2012 8.31707 11.8219 6.76971 11.8219C6.18943 11.8219 5.80261 11.4278 5.80261 10.8367C5.80261 10.2456 6.18944 9.85159 6.76971 9.85157L8.70391 9.85156C9.28415 9.85159 9.67099 9.45754 9.67099 8.86645C9.67099 8.27536 9.28416 7.88126 8.70389 7.88128L6.76969 7.88129C5.22233 7.88129 3.8684 9.2605 3.86841 10.8367C3.86839 12.413 5.22234 13.7922 6.7697 13.7922C7.34998 13.7922 7.73679 14.1863 7.73679 14.7774C7.7368 15.3685 7.34997 15.7625 6.7697 15.7626L4.8355 15.7626C4.25525 15.7625 3.86839 16.1566 3.86839 16.7477C3.86839 17.3388 4.25524 17.7329 4.83549 17.7329ZM22.2433 17.7329L20.3091 17.7329C19.7289 17.7329 19.342 17.3388 19.342 16.7477C19.342 16.1566 19.7289 15.7625 20.3091 15.7626L22.2433 15.7626C22.8236 15.7625 23.2104 15.3685 23.2104 14.7774C23.2104 14.1863 22.8236 13.7922 22.2433 13.7922C20.696 13.7922 19.342 12.413 19.342 10.8367C19.342 9.2605 20.696 7.88129 22.2433 7.88128L24.1775 7.88128C24.7578 7.88125 25.1446 8.27535 25.1446 8.86645C25.1446 9.45754 24.7578 9.85158 24.1775 9.85156L22.2433 9.85156C21.6631 9.85159 21.2762 10.2456 21.2762 10.8367C21.2762 11.4278 21.6631 11.8219 22.2433 11.8219C23.7907 11.8219 25.1446 13.2012 25.1446 14.7774C25.1446 16.3536 23.7907 17.7329 22.2433 17.7329ZM15.4736 16.7478C15.4736 17.3389 15.8604 17.7329 16.4407 17.7329C17.0209 17.7329 17.4078 17.3389 17.6012 16.7477L17.6012 8.86647C17.6012 8.47242 17.2144 8.07833 16.8275 7.88133C16.2473 7.8813 15.8604 8.07835 15.667 8.47243L14.5065 10.6398L13.346 8.47243C13.1525 8.07836 12.5723 7.68429 12.1854 7.88134C11.7986 8.07834 11.4118 8.47244 11.4118 8.86648L11.4118 16.7478C11.4118 17.3388 11.7986 17.7329 12.3789 17.7329C12.9591 17.7329 13.346 17.3388 13.346 16.7477L13.346 13.0041L13.5394 13.2012C13.9262 13.7923 14.8933 13.7923 15.2802 13.2012L15.4736 13.0042L15.4736 16.7478Z"
44
- transform="translate(1081 914.859) rotate(-30)" fill="white"/>
45
- </g>
46
- <g opacity="0.1">
47
- <path fill-rule="evenodd" clip-rule="evenodd"
48
- d="M3.86835 0L25.1446 3.2835e-05C27.2722 9.06158e-06 29.0129 1.7733 29.013 3.94068L29.013 21.6736C29.0129 23.8409 27.2722 25.6142 25.1445 25.6142L11.0249 25.6142L5.41577 30.343C5.22238 30.54 5.02887 30.54 4.83547 30.54L4.44868 30.54C4.06178 30.343 3.86839 29.9489 3.86841 29.5548L3.86839 25.6142C1.74081 25.6142 -4.93858e-05 23.8409 1.59425e-06 21.6736L1.29074e-09 3.94067C-5.47346e-05 1.77328 1.74077 2.37735e-05 3.86835 0ZM4.83546 17.7329L6.76965 17.7329C8.31704 17.7329 9.67095 16.3537 9.67099 14.7774C9.67103 13.2012 8.31708 11.8219 6.76968 11.8219C6.18939 11.8219 5.80259 11.4279 5.80262 10.8368C5.80263 10.2457 6.18942 9.85162 6.76972 9.85164L8.70391 9.85163C9.2841 9.85159 9.67101 9.45756 9.67103 8.86647C9.67093 8.27532 9.28415 7.88128 8.70385 7.88126L6.76967 7.88127C5.22228 7.88126 3.86835 9.26051 3.86843 10.8368C3.86839 12.413 5.22235 13.7923 6.76963 13.7922C7.34993 13.7922 7.73682 14.1863 7.73681 14.7774C7.73679 15.3685 7.34999 15.7626 6.76969 15.7626L4.83552 15.7626C4.25522 15.7625 3.86841 16.1566 3.8684 16.7477C3.86838 17.3388 4.25527 17.7329 4.83546 17.7329ZM22.2432 17.7329L20.309 17.7329C19.7288 17.7329 19.342 17.3388 19.342 16.7477C19.342 16.1566 19.7288 15.7626 20.3091 15.7626L22.2433 15.7626C22.8236 15.7626 23.2104 15.3685 23.2104 14.7774C23.2104 14.1863 22.8235 13.7922 22.2432 13.7922C20.6959 13.7923 19.342 12.413 19.342 10.8368C19.3419 9.26051 20.6959 7.88126 22.2432 7.88128L24.1774 7.88127C24.7577 7.88129 25.1445 8.27533 25.1446 8.86647C25.1446 9.45756 24.7577 9.85159 24.1775 9.85163L22.2433 9.85164C21.663 9.85162 21.2762 10.2457 21.2762 10.8368C21.2762 11.4279 21.663 11.8219 22.2433 11.8219C23.7907 11.8219 25.1446 13.2012 25.1446 14.7774C25.1445 16.3537 23.7906 17.7329 22.2432 17.7329ZM15.4736 16.7478C15.4736 17.3389 15.8605 17.7329 16.4407 17.7329C17.021 17.7329 17.4078 17.3389 17.6012 16.7478L17.6013 8.8665C17.6013 8.47246 17.2144 8.07836 16.8276 7.88137C16.2473 7.88135 15.8605 8.07839 15.667 8.47241L14.5065 10.6398L13.346 8.47242C13.1526 8.0784 12.5723 7.68431 12.1855 7.88135C11.7986 8.07837 11.4118 8.47243 11.4118 8.8665L11.4118 16.7478C11.4118 17.3389 11.7986 17.7329 12.3789 17.7329C12.9592 17.733 13.346 17.3389 13.346 16.7478L13.346 13.0042L13.5394 13.2012C13.9263 13.7923 14.8934 13.7923 15.2802 13.2012L15.4736 13.0042L15.4736 16.7478Z"
49
- transform="translate(1140.36 1117.89) rotate(-30)" fill="white"/>
50
- </g>
51
- <g opacity="0.1">
52
- <path fill-rule="evenodd" clip-rule="evenodd"
53
- d="M3.86835 0L25.1446 3.2835e-05C27.2722 9.06158e-06 29.0129 1.7733 29.013 3.94068L29.013 21.6736C29.0129 23.8409 27.2722 25.6142 25.1445 25.6142L11.0249 25.6142L5.41577 30.343C5.22238 30.54 5.02887 30.54 4.83547 30.54L4.44868 30.54C4.06178 30.343 3.86839 29.9489 3.86841 29.5548L3.86839 25.6142C1.74081 25.6142 -4.93858e-05 23.8409 1.59425e-06 21.6736L1.29074e-09 3.94067C-5.47346e-05 1.77328 1.74077 2.37735e-05 3.86835 0ZM4.83546 17.7329L6.76965 17.7329C8.31704 17.7329 9.67095 16.3537 9.67099 14.7774C9.67103 13.2012 8.31708 11.8219 6.76968 11.8219C6.18939 11.8219 5.80259 11.4279 5.80262 10.8368C5.80263 10.2457 6.18942 9.85162 6.76972 9.85164L8.70391 9.85163C9.2841 9.85159 9.67101 9.45756 9.67103 8.86647C9.67093 8.27532 9.28415 7.88128 8.70385 7.88126L6.76967 7.88127C5.22228 7.88126 3.86835 9.26051 3.86843 10.8368C3.86839 12.413 5.22235 13.7923 6.76963 13.7922C7.34993 13.7922 7.73682 14.1863 7.73681 14.7774C7.73679 15.3685 7.34999 15.7626 6.76969 15.7626L4.83552 15.7626C4.25522 15.7625 3.86841 16.1566 3.8684 16.7477C3.86838 17.3388 4.25527 17.7329 4.83546 17.7329ZM22.2432 17.7329L20.309 17.7329C19.7288 17.7329 19.342 17.3388 19.342 16.7477C19.342 16.1566 19.7288 15.7626 20.3091 15.7626L22.2433 15.7626C22.8236 15.7626 23.2104 15.3685 23.2104 14.7774C23.2104 14.1863 22.8235 13.7922 22.2432 13.7922C20.6959 13.7923 19.342 12.413 19.342 10.8368C19.3419 9.26051 20.6959 7.88126 22.2432 7.88128L24.1774 7.88127C24.7577 7.88129 25.1445 8.27533 25.1446 8.86647C25.1446 9.45756 24.7577 9.85159 24.1775 9.85163L22.2433 9.85164C21.663 9.85162 21.2762 10.2457 21.2762 10.8368C21.2762 11.4279 21.663 11.8219 22.2433 11.8219C23.7907 11.8219 25.1446 13.2012 25.1446 14.7774C25.1445 16.3537 23.7906 17.7329 22.2432 17.7329ZM15.4736 16.7478C15.4736 17.3389 15.8605 17.7329 16.4407 17.7329C17.021 17.7329 17.4078 17.3389 17.6012 16.7478L17.6013 8.8665C17.6013 8.47246 17.2144 8.07836 16.8276 7.88137C16.2473 7.88135 15.8605 8.07839 15.667 8.47241L14.5065 10.6398L13.346 8.47242C13.1526 8.0784 12.5723 7.68431 12.1855 7.88135C11.7986 8.07837 11.4118 8.47243 11.4118 8.8665L11.4118 16.7478C11.4118 17.3389 11.7986 17.7329 12.3789 17.7329C12.9592 17.733 13.346 17.3389 13.346 16.7478L13.346 13.0042L13.5394 13.2012C13.9263 13.7923 14.8934 13.7923 15.2802 13.2012L15.4736 13.0042L15.4736 16.7478Z"
54
- transform="translate(1066.27 680.345) rotate(-30)" fill="white"/>
55
- </g>
56
- <g opacity="0.1">
57
- <path fill-rule="evenodd" clip-rule="evenodd"
58
- d="M3.86835 0L25.1446 4.60495e-05C27.2722 2.22761e-05 29.0129 1.77328 29.013 3.94067L29.013 21.6736C29.0129 23.8409 27.2722 25.6142 25.1445 25.6142L11.0249 25.6142L5.41578 30.343C5.22238 30.54 5.02887 30.54 4.83547 30.54L4.44868 30.54C4.06179 30.3429 3.86839 29.9489 3.86841 29.5548L3.86839 25.6142C1.74081 25.6142 -4.17564e-05 23.8409 9.22364e-06 21.6736L1.29074e-09 3.94067C-5.47346e-05 1.77328 1.74077 2.37735e-05 3.86835 0ZM4.83546 17.7329L6.76964 17.7329C8.31703 17.7329 9.67095 16.3537 9.67098 14.7774C9.67102 13.2012 8.31706 11.822 6.76967 11.8219C6.18937 11.8219 5.80259 11.4279 5.8026 10.8368C5.80262 10.2457 6.18942 9.85162 6.76971 9.85165L8.7039 9.85164C9.28409 9.8516 9.67101 9.45757 9.67102 8.86648C9.67093 8.27534 9.28414 7.88131 8.70384 7.88129L6.76966 7.88129C5.22227 7.88127 3.86835 9.26051 3.86842 10.8368C3.86838 12.413 5.22234 13.7923 6.76963 13.7922C7.34992 13.7923 7.73682 14.1863 7.7368 14.7774C7.73679 15.3685 7.34999 15.7626 6.76969 15.7626L4.8355 15.7626C4.2552 15.7626 3.8684 16.1567 3.86839 16.7477C3.86837 17.3388 4.25526 17.7329 4.83546 17.7329ZM22.2432 17.7329L20.309 17.7329C19.7289 17.7329 19.342 17.3388 19.342 16.7477C19.342 16.1566 19.7288 15.7626 20.3091 15.7626L22.2433 15.7626C22.8236 15.7626 23.2104 15.3685 23.2104 14.7774C23.2104 14.1863 22.8235 13.7922 22.2432 13.7922C20.6959 13.7923 19.342 12.413 19.342 10.8368C19.3419 9.26048 20.6959 7.88125 22.2433 7.88126L24.1774 7.88127C24.7577 7.88129 25.1445 8.27531 25.1446 8.86646C25.1446 9.45755 24.7577 9.85158 24.1775 9.85162L22.2433 9.85163C21.663 9.85159 21.2762 10.2457 21.2762 10.8368C21.2762 11.4279 21.663 11.8219 22.2433 11.8219C23.7907 11.8219 25.1446 13.2012 25.1446 14.7774C25.1445 16.3536 23.7906 17.7329 22.2432 17.7329ZM15.4736 16.7478C15.4736 17.3389 15.8605 17.733 16.4407 17.7329C17.021 17.7329 17.4078 17.3389 17.6012 16.7478L17.6012 8.86653C17.6013 8.47246 17.2144 8.07837 16.8276 7.88137C16.2473 7.88135 15.8605 8.07841 15.667 8.47241L14.5065 10.6398L13.346 8.47245C13.1526 8.0784 12.5723 7.68432 12.1855 7.88137C11.7986 8.07837 11.4118 8.47246 11.4118 8.86651L11.4118 16.7478C11.4118 17.3389 11.7986 17.7329 12.3789 17.7329C12.9592 17.733 13.346 17.3389 13.346 16.7478L13.346 13.0042L13.5394 13.2012C13.9263 13.7923 14.8934 13.7923 15.2802 13.2012L15.4736 13.0042L15.4736 16.7478Z"
59
- transform="translate(1127.86 438.314) rotate(-30)" fill="white"/>
60
- </g>
61
- <g opacity="0.1">
62
- <path fill-rule="evenodd" clip-rule="evenodd"
63
- d="M3.86835 0L25.1446 3.2835e-05C27.2722 1.23652e-05 29.0129 1.77328 29.013 3.94067L29.013 21.6736C29.0129 23.8409 27.2722 25.6142 25.1445 25.6142L11.0249 25.6142L5.41578 30.343C5.22238 30.54 5.02887 30.54 4.83548 30.54L4.44868 30.54C4.06179 30.3429 3.8684 29.9489 3.86841 29.5548L3.86839 25.6142C1.74081 25.6142 -3.88954e-05 23.8409 1.20847e-05 21.6736L1.29074e-09 3.94067C-5.47346e-05 1.77328 1.74077 2.04698e-05 3.86835 0ZM4.83546 17.7329L6.76964 17.7329C8.31703 17.7329 9.67095 16.3537 9.67099 14.7774C9.67103 13.2012 8.31707 11.8219 6.76968 11.8219C6.18938 11.8219 5.80259 11.4279 5.80261 10.8368C5.80262 10.2457 6.18942 9.85162 6.76972 9.85164L8.70391 9.85163C9.2841 9.85159 9.67101 9.45757 9.67102 8.86648C9.67093 8.27533 9.28414 7.8813 8.70385 7.88128L6.76966 7.88128C5.22227 7.88127 3.86835 9.2605 3.86842 10.8368C3.86839 12.413 5.22235 13.7923 6.76963 13.7922C7.34993 13.7922 7.73682 14.1863 7.73681 14.7774C7.73679 15.3685 7.34999 15.7626 6.76969 15.7626L4.83551 15.7626C4.25521 15.7626 3.8684 16.1567 3.86839 16.7477C3.86838 17.3388 4.25527 17.7329 4.83546 17.7329ZM22.2432 17.7329L20.3091 17.7329C19.7289 17.7329 19.342 17.3388 19.342 16.7477C19.342 16.1566 19.7288 15.7625 20.3091 15.7626L22.2433 15.7626C22.8236 15.7626 23.2104 15.3685 23.2104 14.7774C23.2104 14.1863 22.8235 13.7922 22.2432 13.7922C20.6959 13.7922 19.342 12.413 19.342 10.8368C19.3419 9.26048 20.6959 7.88124 22.2433 7.88126L24.1774 7.88125C24.7577 7.88127 25.1445 8.27531 25.1446 8.86646C25.1446 9.45754 24.7577 9.85157 24.1775 9.85161L22.2433 9.85161C21.663 9.85159 21.2762 10.2457 21.2762 10.8368C21.2762 11.4279 21.663 11.8219 22.2433 11.8219C23.7907 11.8219 25.1446 13.2012 25.1446 14.7774C25.1445 16.3536 23.7906 17.7329 22.2432 17.7329ZM15.4736 16.7478C15.4736 17.3389 15.8605 17.733 16.4407 17.7329C17.021 17.7329 17.4078 17.3389 17.6012 16.7478L17.6012 8.86652C17.6013 8.47246 17.2144 8.07837 16.8276 7.88136C16.2473 7.88134 15.8605 8.07839 15.667 8.4724L14.5065 10.6398L13.346 8.47244C13.1526 8.07839 12.5723 7.68431 12.1855 7.88136C11.7986 8.07836 11.4118 8.47244 11.4118 8.8665L11.4118 16.7478C11.4118 17.3389 11.7986 17.7329 12.3789 17.7329C12.9592 17.733 13.346 17.3389 13.346 16.7478L13.346 13.0042L13.5394 13.2012C13.9263 13.7923 14.8934 13.7923 15.2802 13.2012L15.4736 13.0042L15.4736 16.7478Z"
64
- transform="translate(1081 290.227) rotate(-30)" fill="white"/>
65
- </g>
66
- <g opacity="0.1">
67
- <path fill-rule="evenodd" clip-rule="evenodd"
68
- d="M0 14.1247C0 6.29886 6.87149 0 15.27 0C23.6685 0 30.54 6.29886 30.54 14.1247C30.54 21.9506 23.6685 28.2495 15.27 28.2495C13.743 28.2495 12.216 28.0586 10.8799 27.6768L5.72624 30.54V25.1955C2.2905 22.5232 0 18.5149 0 14.1247ZM12.9795 14.8882L16.797 19.0875L25.1955 10.1164L17.7514 14.3156L13.743 10.1164L5.3445 19.0875L12.9795 14.8882Z"
69
- transform="translate(73.9109 474.762) rotate(15)" fill="white"/>
70
- </g>
71
- <path opacity="0.1"
72
- d="M21.4219 16.4784C19.6093 16.3136 17.9615 15.8193 16.3136 15.1601C15.4897 14.8306 14.501 15.1601 14.1714 15.984L13.0179 17.9615C9.55747 16.1488 6.75615 13.1827 4.94352 9.88704L7.08571 8.73355C7.90963 8.40398 8.2392 7.41528 7.90963 6.59136C7.2505 4.94352 6.75615 3.1309 6.59136 1.48306C6.59136 0.659135 5.76744 0 4.94352 0H0.823921C0.329569 0 6.28601e-07 0.329568 6.28601e-07 0.82392C6.28601e-07 4.1196 0.659135 7.41528 2.14219 10.3814C4.28438 14.9953 8.07442 18.6206 12.5236 20.7628C15.4897 22.2458 18.7854 22.905 22.0811 22.905C22.5754 22.905 22.905 22.5754 22.905 22.0811V18.1262C22.905 17.1375 22.2458 16.4784 21.4219 16.4784Z"
73
- transform="translate(87.0557 648.595) rotate(30)" fill="white"/>
74
- <path opacity="0.1"
75
- d="M21.4219 16.4784C19.6093 16.3136 17.9615 15.8193 16.3136 15.1601C15.4897 14.8306 14.501 15.1601 14.1714 15.984L13.0179 17.9615C9.55747 16.1488 6.75615 13.1827 4.94352 9.88704L7.08571 8.73355C7.90963 8.40398 8.2392 7.41528 7.90963 6.59136C7.2505 4.94352 6.75615 3.1309 6.59136 1.48306C6.59136 0.659135 5.76744 0 4.94352 0H0.823921C0.329569 0 6.28601e-07 0.329568 6.28601e-07 0.82392C6.28601e-07 4.1196 0.659135 7.41528 2.14219 10.3814C4.28438 14.9953 8.07442 18.6206 12.5236 20.7628C15.4897 22.2458 18.7854 22.905 22.0811 22.905C22.5754 22.905 22.905 22.5754 22.905 22.0811V18.1262C22.905 17.1375 22.2458 16.4784 21.4219 16.4784Z"
76
- transform="translate(72.6127 813.598) rotate(5.24419)" fill="white"/>
77
- <path opacity="0.1"
78
- d="M21.4219 16.4784C19.6093 16.3136 17.9615 15.8193 16.3136 15.1601C15.4897 14.8306 14.501 15.1601 14.1714 15.984L13.0179 17.9615C9.55747 16.1488 6.75615 13.1827 4.94352 9.88704L7.08571 8.73355C7.90963 8.40398 8.2392 7.41528 7.90963 6.59136C7.2505 4.94352 6.75615 3.1309 6.59136 1.48306C6.59136 0.659135 5.76744 0 4.94352 0H0.823921C0.329569 0 6.28601e-07 0.329568 6.28601e-07 0.82392C6.28601e-07 4.1196 0.659135 7.41528 2.14219 10.3814C4.28438 14.9953 8.07442 18.6206 12.5236 20.7628C15.4897 22.2458 18.7854 22.905 22.0811 22.905C22.5754 22.905 22.905 22.5754 22.905 22.0811V18.1262C22.905 17.1375 22.2458 16.4784 21.4219 16.4784Z"
79
- transform="translate(1148.14 979.667) rotate(5.24419)" fill="white"/>
80
- <path opacity="0.1" fill-rule="evenodd" clip-rule="evenodd"
81
- d="M0 10.689C0 4.88638 4.88641 0 10.689 0C16.4916 0 21.378 4.88638 21.378 10.689C21.378 16.1862 12.8268 25.959 11.9106 26.8752C11.6052 27.1806 10.9944 27.486 10.689 27.486C10.3836 27.486 9.77283 27.1806 9.46741 26.8752C8.55121 25.959 0 16.1862 0 10.689ZM15.2702 10.689C15.2702 13.2191 13.2192 15.27 10.6892 15.27C8.15921 15.27 6.10822 13.2191 6.10822 10.689C6.10822 8.15903 8.15921 6.10803 10.6892 6.10803C13.2192 6.10803 15.2702 8.15903 15.2702 10.689Z"
82
- transform="translate(40.8526 362.509) rotate(-30)" fill="white"/>
83
- <g opacity="0.1">
84
- <path d="M17.1787 25.1446C5.53537 25.1446 0 23.017 0 18.3749C0 17.7946 0.38175 17.4078 0.954374 17.4078C1.90875 17.4078 2.67224 17.2144 3.05399 16.6341C4.19924 15.2802 3.8175 12.7657 3.8175 12.7657C3.8175 5.60917 9.73461 0 17.1787 0C24.6229 0 30.54 5.60917 30.54 12.5723C30.54 19.5354 24.6229 25.1446 17.1787 25.1446ZM2.09962 19.1486C3.05399 21.663 8.20762 23.2104 17.1787 23.2104C23.4776 23.2104 28.6312 18.3749 28.6312 12.5723C28.6312 6.76969 23.4776 1.9342 17.1787 1.9342C10.8799 1.9342 5.72624 6.76969 5.72624 12.5723C5.72624 12.5723 6.29887 15.8604 4.581 17.7946C3.8175 18.5683 3.05399 18.9551 2.09962 19.1486Z"
85
- transform="translate(1159.05 841.814) rotate(-30)" fill="white"/>
86
- <path d="M3.8175 7.73679C5.92584 7.73679 7.63499 6.00485 7.63499 3.8684C7.63499 1.73194 5.92584 0 3.8175 0C1.70915 0 0 1.73194 0 3.8684C0 6.00485 1.70915 7.73679 3.8175 7.73679Z"
87
- transform="translate(1184.56 851.65) rotate(-30)" fill="white"/>
88
- <path d="M3.8175 7.73679C5.92584 7.73679 7.63499 6.00485 7.63499 3.8684C7.63499 1.73194 5.92584 0 3.8175 0C1.70915 0 0 1.73194 0 3.8684C0 6.00485 1.70915 7.73679 3.8175 7.73679Z"
89
- transform="translate(1174.64 857.376) rotate(-30)" fill="white"/>
90
- <path d="M0.954374 1.9342C0.38175 1.9342 0 1.54736 0 0.967099C0 0.38684 0.38175 0 0.954374 0C1.527 0 1.90875 0.38684 1.90875 0.967099C1.90875 1.54736 1.527 1.9342 0.954374 1.9342Z"
91
- transform="translate(1174.14 843.148) rotate(-30)" fill="white"/>
92
- <path d="M0.954374 1.9342C0.38175 1.9342 0 1.54736 0 0.967099C0 0.38684 0.38175 0 0.954374 0C1.527 0 1.90875 0.38684 1.90875 0.967099C1.90875 1.54736 1.527 1.9342 0.954374 1.9342Z"
93
- transform="translate(1180.75 839.331) rotate(-30)" fill="white"/>
94
- <path d="M5.7759 5.85291C3.10365 5.85291 0.622277 3.91871 0.0496522 1.21083C-0.141223 0.630571 0.24053 0.243734 0.813154 0.0503142C1.38578 -0.143106 1.76753 0.243737 1.9584 0.823996C2.34015 2.56477 3.86715 3.91871 5.7759 3.91871C7.68464 3.91871 9.21164 2.56477 9.59339 0.823996C9.78427 0.243737 10.166 0.0503142 10.7386 0.0503142C11.3113 0.243734 11.5021 0.630571 11.5021 1.21083C10.9295 3.91871 8.44814 5.85291 5.7759 5.85291Z"
95
- transform="translate(1175.66 847.794) rotate(-30)" fill="white"/>
96
- </g>
97
- <g opacity="0.1">
98
- <path d="M28.599 19.851H1.9066C0.76264 19.851 0 19.1291 0 18.0463V1.80463C0 0.721854 0.76264 0 1.9066 0H28.599C29.7429 0 30.5056 0.721854 30.5056 1.80463V18.0463C30.5056 19.1291 29.7429 19.851 28.599 19.851ZM28.599 18.0463V18.9487V18.0463ZM1.9066 1.80463V18.0463H28.599V1.80463H1.9066Z"
99
- transform="translate(1124 680.375) rotate(-30)" fill="white"/>
100
- <path d="M15.27 11.7464C15.0793 11.7464 14.8887 11.7464 14.698 11.5659L0.398512 1.64044C0.0171918 1.27952 -0.173468 0.738126 0.207852 0.377199C0.589172 0.0162723 1.16115 -0.164191 1.54247 0.196736L15.27 9.7613L28.9975 0.196736C29.3788 -0.164191 29.9508 0.0162723 30.3321 0.377199C30.7134 0.738126 30.5228 1.27952 30.1415 1.64044L15.842 11.5659C15.6513 11.7464 15.4606 11.7464 15.27 11.7464Z"
101
- transform="translate(1124.42 681.151) rotate(-30)" fill="white"/>
102
- <path d="M12.6586 9.94176C12.468 9.94176 12.2773 9.94176 12.0867 9.7613L0.456417 1.64044C-0.115563 1.27952 -0.115563 0.738126 0.265756 0.377199C0.456416 0.016272 1.0284 -0.164191 1.60038 0.196736L13.2306 8.31759C13.6119 8.67852 13.8026 9.21991 13.4213 9.58084C13.2306 9.7613 13.04 9.94176 12.6586 9.94176Z"
103
- transform="translate(1143.13 679.729) rotate(-30)" fill="white"/>
104
- <path d="M0.970491 9.94176C0.589171 9.94176 0.398512 9.7613 0.207852 9.58084C-0.173468 9.21991 0.0171918 8.67852 0.398512 8.31759L12.0288 0.196736C12.6007 -0.164191 13.1727 0.016272 13.3634 0.377199C13.7447 0.738126 13.554 1.27952 13.1727 1.64044L1.54247 9.7613C1.35181 9.94176 1.16115 9.94176 0.970491 9.94176Z"
105
- transform="translate(1128.48 688.184) rotate(-30)" fill="white"/>
106
- </g>
107
- <g opacity="0.1">
108
- <path d="M25.7387 3.12691C24.9765 2.39545 21.905 0.0567034 15.064 0.0230178C15.064 0.0230178 6.99252 -0.487079 3.0578 3.29534C0.867763 5.59077 0.096429 8.94971 0.0183773 13.1171C-0.0642656 17.2845 -0.169865 25.0851 7.01089 27.2025H7.01548L7.01089 30.4315C7.01089 30.4315 6.96498 31.7404 7.78681 32.0051C8.77853 32.3275 9.36162 31.3362 10.312 30.2631C10.8308 29.676 11.5517 28.8098 12.0934 28.1505C17.0015 28.5836 20.7801 27.5923 21.2071 27.4479C22.1988 27.1111 27.8094 26.3556 28.7184 18.5549C29.6596 10.5137 28.2593 5.42234 25.7387 3.12691ZM26.5697 17.9775C25.7984 24.4932 21.2484 24.9071 20.4128 25.1862C20.0547 25.3065 16.7398 26.1727 12.5709 25.884C12.5709 25.884 9.46263 29.8107 8.49387 30.8358C8.34236 30.9946 8.1633 31.0619 8.04393 31.0282C7.87864 30.9849 7.83273 30.778 7.83273 30.4748C7.83732 30.0417 7.86027 25.1092 7.86027 25.1092C7.85568 25.1092 7.85568 25.1092 7.86027 25.1092C1.79061 23.3431 2.14414 16.6974 2.21301 13.2182C2.28188 9.73892 2.90629 6.89008 4.75657 4.97481C8.08525 1.81798 14.94 2.28958 14.94 2.28958C20.7296 2.31845 23.5027 4.14229 24.1455 4.75344C26.2759 6.67352 27.364 11.2596 26.5697 17.9775Z"
109
- transform="translate(1120.86 1041.52) rotate(15)" fill="white"/>
110
- <path d="M2.314 2.50717C2.24054 0.914324 1.46921 0.0818081 0 1.46858e-07"
111
- transform="translate(1133.19 1055.62) rotate(15)" stroke="white" stroke-width="0.518873"
112
- stroke-linecap="round" stroke-linejoin="round"/>
113
- <path d="M4.88971 5.38008C4.92185 3.89791 4.50404 2.66116 3.6317 1.66503C2.75936 0.6689 1.55185 0.115494 2.80229e-07 2.93715e-07"
114
- transform="translate(1133.19 1053.37) rotate(15)" stroke="white" stroke-width="0.518873"
115
- stroke-linecap="round" stroke-linejoin="round"/>
116
- <path d="M7.60315 8.32035C7.58479 5.74581 6.85018 3.72467 5.40393 2.2425C3.95768 0.765145 2.15331 0.0144368 -5.60458e-07 1.46858e-07"
117
- transform="translate(1133.07 1051.16) rotate(15)" stroke="white" stroke-width="0.518873"
118
- stroke-linecap="round" stroke-linejoin="round"/>
119
- <path d="M9.25322 11.71C9.25322 11.71 9.79958 11.7581 10.0888 11.378L10.6582 10.6273C10.9336 10.2519 11.5994 10.0161 12.2513 10.3963C12.614 10.6128 13.266 11.0315 13.67 11.3443C14.1016 11.6763 14.9877 12.4511 14.9877 12.4511C15.4101 12.8217 15.5065 13.3702 15.2219 13.9477C15.2219 13.9525 15.2173 13.9573 15.2173 13.9573C14.9234 14.5011 14.5286 15.016 14.0281 15.4924C14.0236 15.4973 14.0236 15.4973 14.019 15.5021C13.6103 15.8582 13.2063 16.0651 12.8115 16.1132C12.7655 16.1228 12.7059 16.1277 12.637 16.1228C12.4625 16.1228 12.2926 16.0988 12.1228 16.041L12.109 16.0218C11.4984 15.8437 10.4837 15.3914 8.7895 14.4145C7.6876 13.7793 6.77393 13.1296 6.0026 12.4848C5.59397 12.1479 5.17617 11.763 4.74918 11.3202C4.73541 11.3058 4.72163 11.2914 4.70786 11.2769C4.69408 11.2625 4.68031 11.2481 4.66654 11.2336C4.65276 11.2192 4.63899 11.2047 4.62522 11.1903C4.61144 11.1759 4.59767 11.1614 4.58389 11.147C4.1615 10.6995 3.79419 10.2615 3.47281 9.83325C2.85757 9.0248 2.23775 8.06235 1.6317 6.91223C0.699675 5.13652 0.268095 4.07301 0.0982181 3.43298L0.0798526 3.41855C0.0247573 3.2405 -0.00279024 3.06244 0.00180104 2.87958C-0.00279024 2.80739 0.0018009 2.74483 0.0109834 2.69671C0.0568962 2.28286 0.254322 1.85938 0.594076 1.4311C0.598667 1.42628 0.598667 1.42628 0.603258 1.42147C1.05779 0.896937 1.54447 0.483086 2.06787 0.175103C2.07247 0.175103 2.07706 0.17029 2.07706 0.17029C2.62801 -0.128068 3.15142 -0.027011 3.50494 0.415714C3.50954 0.420527 4.24414 1.34448 4.56094 1.79683C4.85937 2.22511 5.2634 2.90364 5.46542 3.28381C5.82813 3.96714 5.60316 4.66492 5.24504 4.95365L4.5288 5.55037C4.16609 5.85835 4.212 6.42619 4.212 6.42619C4.212 6.42619 5.27718 10.6465 9.25322 11.71Z"
120
- transform="translate(1125.31 1049.61) rotate(15)" fill="white"/>
121
- </g>
122
- <g opacity="0.1">
123
- <path d="M5.15362 -3.68919e-07L0 9.28415L10.8799 2.70788L5.15362 -3.68919e-07Z"
124
- transform="translate(629.801 24.9079) rotate(-30)" fill="#E0E0E0"/>
125
- <path d="M30.1582 0.19342C29.9673 0 29.5856 0 29.2038 0L0.572624 11.6052C0.190875 11.7986 0 12.1854 0 12.5723C0 12.9591 0.190875 13.346 0.572624 13.5394L25.3863 25.1446C25.5772 25.1446 25.5772 25.1446 25.7681 25.1446C25.959 25.1446 26.1498 25.1446 26.1498 24.9512C26.3407 24.7577 26.5316 24.5643 26.7225 24.1775L30.54 0.967099C30.54 0.773679 30.54 0.38684 30.1582 0.19342Z"
126
- transform="translate(611.671 12.5941) rotate(-30)" fill="white"/>
127
- <path d="M20.0419 0L0 16.6341V28.0459L5.34449 19.1486L20.0419 0Z"
128
- transform="translate(620.42 8.65979) rotate(-30)" fill="#F2F2F2"/>
129
- </g>
130
- <g opacity="0.1">
131
- <path d="M5.15362 -3.68919e-07L0 9.28415L10.8799 2.70788L5.15362 -3.68919e-07Z"
132
- transform="translate(470.533 62.2398) rotate(-30)" fill="#E0E0E0"/>
133
- <path d="M30.1582 0.19342C29.9673 0 29.5856 0 29.2038 0L0.572624 11.6052C0.190875 11.7986 0 12.1854 0 12.5723C0 12.9591 0.190875 13.346 0.572624 13.5394L25.3863 25.1446C25.5772 25.1446 25.5772 25.1446 25.7681 25.1446C25.959 25.1446 26.1498 25.1446 26.1498 24.9512C26.3407 24.7577 26.5316 24.5643 26.7225 24.1775L30.54 0.967099C30.54 0.773679 30.54 0.38684 30.1582 0.19342Z"
134
- transform="translate(452.403 49.926) rotate(-30)" fill="white"/>
135
- <path d="M20.0419 0L0 16.6341V28.0459L5.34449 19.1486L20.0419 0Z"
136
- transform="translate(461.152 45.9917) rotate(-30)" fill="#F2F2F2"/>
137
- </g>
138
- <g opacity="0.1">
139
- <path d="M5.15362 -3.68919e-07L0 9.28415L10.8799 2.70788L5.15362 -3.68919e-07Z"
140
- transform="translate(1146.54 108.458) rotate(-30)" fill="#E0E0E0"/>
141
- <path d="M30.1582 0.19342C29.9673 0 29.5856 0 29.2038 0L0.572624 11.6052C0.190875 11.7986 0 12.1854 0 12.5723C0 12.9591 0.190875 13.346 0.572624 13.5394L25.3863 25.1446C25.5772 25.1446 25.5772 25.1446 25.7681 25.1446C25.959 25.1446 26.1498 25.1446 26.1498 24.9512C26.3407 24.7577 26.5316 24.5643 26.7225 24.1775L30.54 0.967099C30.54 0.773679 30.54 0.38684 30.1582 0.19342Z"
142
- transform="translate(1128.41 96.144) rotate(-30)" fill="white"/>
143
- <path d="M20.0419 0L0 16.6341V28.0459L5.34449 19.1486L20.0419 0Z"
144
- transform="translate(1137.16 92.2097) rotate(-30)" fill="#F2F2F2"/>
145
- </g>
146
- <g opacity="0.1">
147
- <path d="M5.15362 -3.68919e-07L0 9.28415L10.8799 2.70788L5.15362 -3.68919e-07Z"
148
- transform="translate(750.376 27.973) rotate(-30)" fill="#E0E0E0"/>
149
- <path d="M30.1582 0.19342C29.9673 0 29.5856 0 29.2038 0L0.572624 11.6052C0.190875 11.7986 0 12.1854 0 12.5723C0 12.9591 0.190875 13.346 0.572624 13.5394L25.3863 25.1446C25.5772 25.1446 25.5772 25.1446 25.7681 25.1446C25.959 25.1446 26.1498 25.1446 26.1498 24.9512C26.3407 24.7577 26.5316 24.5643 26.7225 24.1775L30.54 0.967099C30.54 0.773679 30.54 0.38684 30.1582 0.19342Z"
150
- transform="translate(732.246 15.6592) rotate(-30)" fill="white"/>
151
- <path d="M20.0419 0L0 16.6341V28.0459L5.34449 19.1486L20.0419 0Z"
152
- transform="translate(740.995 11.7249) rotate(-30)" fill="#F2F2F2"/>
153
- </g>
154
- <path opacity="0.1"
155
- d="M30.1783 21.8084C26.1673 21.0295 24.2573 16.9405 24.2573 16.7457C24.0663 16.3563 24.0663 15.9669 24.0663 15.7722C24.2573 15.188 25.2123 14.9933 25.7853 14.7986C25.9763 14.7986 26.1673 14.6038 26.1673 14.6038C26.7403 14.4091 27.1223 14.2144 27.3133 13.825C27.6953 13.4355 27.6953 13.2408 27.6953 13.0461C27.6953 12.4619 27.3133 12.0725 26.7403 11.8778C26.5493 11.8778 26.3583 11.6831 26.1673 11.6831C25.9763 11.6831 25.7853 11.6831 25.5943 11.8778C25.0213 12.0725 24.6393 12.2672 24.2573 12.2672C24.0663 12.2672 23.8753 12.2672 23.8753 12.2672C23.8753 12.0725 23.8753 11.8778 23.8753 11.6831C24.0663 9.54118 24.2573 7.00984 23.4932 5.4521C23.1112 4.47851 22.3472 3.50492 21.5832 2.72605C21.0102 2.1419 20.2462 1.55774 19.2912 1.16831C17.7632 6.96366e-07 16.4262 0 15.8532 0C15.6622 0 15.2802 0 15.2802 0C14.5162 0 13.1791 0.194717 11.8421 0.778871C11.0781 1.16831 10.3141 1.75246 9.55011 2.33662C8.7861 3.11549 8.21309 4.08908 7.64009 5.06267C6.87608 6.62041 7.06708 9.15174 7.25808 11.2936C7.25808 11.4884 7.25808 11.6831 7.25808 12.0725C7.06708 12.0725 7.06708 12.0725 6.68508 12.0725C6.30307 12.0725 5.92107 11.8778 5.34806 11.6831C5.15706 11.6831 4.96606 11.4884 4.77505 11.4884C4.39305 11.4884 4.20205 11.4884 3.82004 11.6831C3.43804 11.8778 3.24703 12.2672 3.24703 12.4619C3.24703 12.6567 3.24703 13.0461 3.62904 13.6303C3.82004 13.825 4.20205 14.0197 4.77505 14.2144C4.96606 14.2144 4.96605 14.4091 5.15705 14.4091C5.73006 14.6038 6.49407 14.7986 6.87607 15.3827C7.06708 15.5774 6.87608 15.9669 6.68508 16.3563C6.68508 16.551 6.11206 17.5246 5.15705 18.6929C4.58405 19.2771 4.01104 19.8612 3.24703 20.4454C2.48302 21.0295 1.52802 21.419 0.573008 21.419C0.191004 21.419 2.91446e-06 21.8084 2.91446e-06 22.1978C2.91446e-06 22.3926 2.91446e-06 22.3926 2.91446e-06 22.5873C0.191005 22.9767 0.573009 23.1714 0.955013 23.5609C1.71902 23.9503 2.67403 24.145 4.01104 24.3397C4.01104 24.5345 4.20204 24.7292 4.20204 24.9239C4.20204 25.1186 4.39305 25.3133 4.39305 25.7028C4.39305 25.8975 4.77505 26.2869 5.15705 26.2869C5.34805 26.2869 5.53906 26.2869 5.92106 26.0922C6.30307 26.0922 6.87607 25.8975 7.44908 25.8975C7.83108 25.8975 8.21309 25.8975 8.5951 26.0922C9.3591 26.2869 9.93211 26.6764 10.6961 27.2605C11.8421 28.0394 12.9881 29.013 14.8982 29.013H15.0892H15.2802C17.1902 29.013 18.3362 28.0394 19.4822 27.2605C20.2462 26.6764 20.8192 26.2869 21.5832 26.0922C21.9652 26.0922 22.3472 25.8975 22.7293 25.8975C23.3023 25.8975 23.8753 25.8975 24.2573 26.0922C24.6393 26.0922 24.8303 26.0922 25.0213 26.0922C25.4033 26.0922 25.7853 25.8975 25.7853 25.508C25.7853 25.3133 25.9763 25.1186 25.9763 24.7292C25.9763 24.5345 26.1673 24.145 26.1673 24.145C27.5043 23.9503 28.4593 23.7556 29.2233 23.3662C29.7963 23.1714 30.1783 22.782 30.1783 22.3926C30.1783 22.1978 30.1783 22.1978 30.1783 22.0031C30.7513 22.1978 30.5603 21.8084 30.1783 21.8084Z"
156
- transform="translate(45.104 36.6945) rotate(15)" fill="white"/>
157
- <path opacity="0.1"
158
- d="M42.4653 30.6876C36.8212 29.5916 34.1335 23.8377 34.1335 23.5637C33.8647 23.0157 33.8647 22.4677 33.8647 22.1937C34.1335 21.3717 35.4773 21.0977 36.2836 20.8237C36.5524 20.8237 36.8212 20.5497 36.8212 20.5497C37.6275 20.2757 38.165 20.0017 38.4338 19.4537C38.9713 18.9058 38.9713 18.6318 38.9713 18.3578C38.9713 17.5358 38.4338 16.9878 37.6275 16.7138C37.3587 16.7138 37.0899 16.4398 36.8212 16.4398C36.5524 16.4398 36.2836 16.4398 36.0149 16.7138C35.2086 16.9878 34.671 17.2618 34.1335 17.2618C33.8647 17.2618 33.596 17.2618 33.596 17.2618C33.596 16.9878 33.596 16.7138 33.596 16.4398C33.8647 13.4258 34.1335 9.86387 33.0584 7.6719C32.5209 6.30191 31.4458 4.93193 30.3707 3.83595C29.5644 3.01396 28.4894 2.19197 27.1455 1.64398C24.9954 9.79887e-07 23.114 0 22.3077 0C22.0389 0 21.5014 0 21.5014 0C20.4263 0 18.545 0.273995 16.6636 1.09598C15.5885 1.64398 14.5135 2.46597 13.4384 3.28796C12.3633 4.38394 11.557 5.75392 10.7507 7.12391C9.67564 9.31588 9.9444 12.8778 10.2132 15.8918C10.2132 16.1658 10.2132 16.4398 10.2132 16.9878C9.9444 16.9878 9.94441 16.9878 9.40687 16.9878C8.86934 16.9878 8.3318 16.7138 7.5255 16.4398C7.25673 16.4398 6.98796 16.1658 6.71919 16.1658C6.18166 16.1658 5.91289 16.1658 5.37536 16.4398C4.83782 16.7138 4.56905 17.2618 4.56905 17.5358C4.56905 17.8098 4.56905 18.3578 5.10658 19.1797C5.37535 19.4537 5.91289 19.7277 6.71919 20.0017C6.98796 20.0017 6.98795 20.2757 7.25672 20.2757C8.06302 20.5497 9.1381 20.8237 9.67563 21.6457C9.9444 21.9197 9.67564 22.4677 9.40687 23.0157C9.40687 23.2897 8.60056 24.6597 7.25672 26.3037C6.45042 27.1256 5.64412 27.9476 4.56905 28.7696C3.49398 29.5916 2.15014 30.1396 0.806305 30.1396C0.26877 30.1396 4.10107e-06 30.6876 4.10107e-06 31.2356C4.10107e-06 31.5096 4.10107e-06 31.5096 4.10107e-06 31.7836C0.268772 32.3316 0.806307 32.6056 1.34384 33.1536C2.41891 33.7016 3.76275 33.9756 5.64412 34.2495C5.64412 34.5235 5.91288 34.7975 5.91288 35.0715C5.91288 35.3455 6.18166 35.6195 6.18166 36.1675C6.18166 36.4415 6.71919 36.9895 7.25672 36.9895C7.52549 36.9895 7.79426 36.9895 8.3318 36.7155C8.86933 36.7155 9.67563 36.4415 10.4819 36.4415C11.0195 36.4415 11.557 36.4415 12.0945 36.7155C13.1696 36.9895 13.9759 37.5375 15.051 38.3595C16.6636 39.4555 18.2762 40.8255 20.9639 40.8255H21.2327H21.5014C24.1891 40.8255 25.8017 39.4555 27.4143 38.3595C28.4894 37.5375 29.2957 36.9895 30.3707 36.7155C30.9083 36.7155 31.4458 36.4415 31.9834 36.4415C32.7897 36.4415 33.596 36.4415 34.1335 36.7155C34.671 36.7155 34.9398 36.7155 35.2086 36.7155C35.7461 36.7155 36.2836 36.4415 36.2836 35.8935C36.2836 35.6195 36.5524 35.3455 36.5524 34.7975C36.5524 34.5235 36.8212 33.9755 36.8212 33.9755C38.7025 33.7016 40.0464 33.4276 41.1214 32.8796C41.9277 32.6056 42.4653 32.0576 42.4653 31.5096C42.4653 31.2356 42.4653 31.2356 42.4653 30.9616C43.2716 31.2356 43.0028 30.6876 42.4653 30.6876Z"
159
- transform="translate(1109.55 355.131) rotate(-33.199)" fill="white"/>
160
- <path opacity="0.1"
161
- d="M30.1783 21.8084C26.1673 21.0295 24.2573 16.9405 24.2573 16.7457C24.0663 16.3563 24.0663 15.9669 24.0663 15.7722C24.2573 15.188 25.2123 14.9933 25.7853 14.7986C25.9763 14.7986 26.1673 14.6038 26.1673 14.6038C26.7403 14.4091 27.1223 14.2144 27.3133 13.825C27.6953 13.4355 27.6953 13.2408 27.6953 13.0461C27.6953 12.4619 27.3133 12.0725 26.7403 11.8778C26.5493 11.8778 26.3583 11.6831 26.1673 11.6831C25.9763 11.6831 25.7853 11.6831 25.5943 11.8778C25.0213 12.0725 24.6393 12.2672 24.2573 12.2672C24.0663 12.2672 23.8753 12.2672 23.8753 12.2672C23.8753 12.0725 23.8753 11.8778 23.8753 11.6831C24.0663 9.54118 24.2573 7.00984 23.4932 5.4521C23.1112 4.47851 22.3472 3.50492 21.5832 2.72605C21.0102 2.1419 20.2462 1.55774 19.2912 1.16831C17.7632 6.96366e-07 16.4262 0 15.8532 0C15.6622 0 15.2802 0 15.2802 0C14.5162 0 13.1791 0.194717 11.8421 0.778871C11.0781 1.16831 10.3141 1.75246 9.55011 2.33662C8.7861 3.11549 8.21309 4.08908 7.64009 5.06267C6.87608 6.62041 7.06708 9.15174 7.25808 11.2936C7.25808 11.4884 7.25808 11.6831 7.25808 12.0725C7.06708 12.0725 7.06708 12.0725 6.68508 12.0725C6.30307 12.0725 5.92107 11.8778 5.34806 11.6831C5.15706 11.6831 4.96606 11.4884 4.77505 11.4884C4.39305 11.4884 4.20205 11.4884 3.82004 11.6831C3.43804 11.8778 3.24703 12.2672 3.24703 12.4619C3.24703 12.6567 3.24703 13.0461 3.62904 13.6303C3.82004 13.825 4.20205 14.0197 4.77505 14.2144C4.96606 14.2144 4.96605 14.4091 5.15705 14.4091C5.73006 14.6038 6.49407 14.7986 6.87607 15.3827C7.06708 15.5774 6.87608 15.9669 6.68508 16.3563C6.68508 16.551 6.11206 17.5246 5.15705 18.6929C4.58405 19.2771 4.01104 19.8612 3.24703 20.4454C2.48302 21.0295 1.52802 21.419 0.573008 21.419C0.191004 21.419 2.91446e-06 21.8084 2.91446e-06 22.1978C2.91446e-06 22.3926 2.91446e-06 22.3926 2.91446e-06 22.5873C0.191005 22.9767 0.573009 23.1714 0.955013 23.5609C1.71902 23.9503 2.67403 24.145 4.01104 24.3397C4.01104 24.5345 4.20204 24.7292 4.20204 24.9239C4.20204 25.1186 4.39305 25.3133 4.39305 25.7028C4.39305 25.8975 4.77505 26.2869 5.15705 26.2869C5.34805 26.2869 5.53906 26.2869 5.92106 26.0922C6.30307 26.0922 6.87607 25.8975 7.44908 25.8975C7.83108 25.8975 8.21309 25.8975 8.5951 26.0922C9.3591 26.2869 9.93211 26.6764 10.6961 27.2605C11.8421 28.0394 12.9881 29.013 14.8982 29.013H15.0892H15.2802C17.1902 29.013 18.3362 28.0394 19.4822 27.2605C20.2462 26.6764 20.8192 26.2869 21.5832 26.0922C21.9652 26.0922 22.3472 25.8975 22.7293 25.8975C23.3023 25.8975 23.8753 25.8975 24.2573 26.0922C24.6393 26.0922 24.8303 26.0922 25.0213 26.0922C25.4033 26.0922 25.7853 25.8975 25.7853 25.508C25.7853 25.3133 25.9763 25.1186 25.9763 24.7292C25.9763 24.5345 26.1673 24.145 26.1673 24.145C27.5043 23.9503 28.4593 23.7556 29.2233 23.3662C29.7963 23.1714 30.1783 22.782 30.1783 22.3926C30.1783 22.1978 30.1783 22.1978 30.1783 22.0031C30.7513 22.1978 30.5603 21.8084 30.1783 21.8084Z"
162
- transform="translate(1130.4 743.387) rotate(15)" fill="white"/>
163
- <g opacity="0.1">
164
- <path fill-rule="evenodd" clip-rule="evenodd"
165
- d="M15.5581 1.14523C23.6253 1.14523 30.1558 7.44412 30.1558 15.4608C30.1558 16.4152 30.1558 17.5605 29.5796 18.5149C30.1558 19.4692 30.54 20.8054 30.54 22.1415C30.54 26.7225 26.6985 30.54 22.0887 30.54C20.552 30.54 19.2075 30.1582 18.0551 29.5856C17.0947 29.7765 16.3264 29.7765 15.366 29.7765C7.29886 29.7765 0.768311 23.4776 0.768311 15.4608C0.768311 14.5065 0.960373 13.5521 1.15245 12.5977C0.38414 11.4525 0 9.92551 0 8.3985C0 3.8175 3.84151 0 8.45131 0C10.18 0 11.7166 0.572632 13.0611 1.33612C13.8294 1.14526 14.7898 1.14523 15.5581 1.14523ZM19.9758 24.6229C21.3204 24.0502 22.2807 23.2867 23.0491 22.3324C23.8174 21.378 24.0094 20.2327 23.6253 19.0875C23.6253 18.1331 23.4332 17.3696 23.0491 16.6061C22.6649 15.8426 22.0887 15.27 21.3204 14.8882C20.5521 14.5065 19.7838 14.1248 18.8234 13.743C18.4158 13.662 17.9736 13.5466 17.5115 13.426C16.8848 13.2625 16.2214 13.0894 15.5581 12.9795C15.0163 12.7641 14.5356 12.6703 14.1505 12.5951C13.8531 12.537 13.6127 12.4901 13.4453 12.4069C13.0611 12.4069 12.677 12.216 12.2928 12.0251C11.9087 11.8343 11.5245 11.6434 11.3325 11.4525C10.9483 11.2616 10.9483 11.0707 10.9483 10.689C10.9483 10.1164 11.3325 9.73462 11.9087 9.35287C12.4849 8.97113 13.4453 8.78024 14.4057 8.78024C15.5581 8.78024 16.3264 8.97113 16.9026 9.35287C17.4789 9.73462 17.863 10.1164 18.2472 10.8799C18.6313 11.4525 19.0155 11.8343 19.2076 12.0251C19.5917 12.216 19.9758 12.4069 20.5521 12.4069C21.1283 12.4069 21.7045 12.216 22.0887 11.8343C22.4728 11.4525 22.6649 11.0707 22.6649 10.4981C22.6649 9.92551 22.6649 9.35287 22.2807 8.78024C22.1389 8.3573 21.7874 8.03845 21.3812 7.66992C21.2374 7.53955 21.0868 7.40292 20.9362 7.25327C20.1679 6.87149 19.3996 6.48975 18.4392 6.108C17.4789 5.91714 16.3264 5.72626 14.9819 5.72626C13.4453 5.72626 11.9087 5.91714 10.7562 6.29889C9.41171 6.68063 8.45132 7.44412 7.87511 8.20764C7.29887 8.97113 6.91473 9.92551 6.91473 11.0707C6.91473 12.216 7.29887 13.1704 7.87511 13.9339C8.45132 14.6974 9.41171 15.27 10.3721 15.6517C11.3325 16.0335 12.677 16.4153 14.2136 16.797C15.366 16.9879 16.3264 17.1787 16.9026 17.3696C17.4789 17.5605 18.0551 17.7514 18.4392 18.1331C18.8234 18.5149 19.0155 18.8966 19.0155 19.4692C19.0155 20.0419 18.6313 20.6145 17.863 21.1871C17.0947 21.7597 16.1344 21.9506 14.9819 21.9506C14.2136 21.9506 13.4453 21.7597 12.8691 21.5689C12.4849 21.378 12.1008 20.9962 11.7166 20.6145C11.6584 20.4989 11.5827 20.3658 11.4999 20.2205C11.3095 19.8859 11.0822 19.4867 10.9483 19.0875C10.9113 19.014 10.8743 18.9333 10.8359 18.8498C10.6751 18.4993 10.4902 18.0963 10.18 17.9423C9.79587 17.7514 9.41171 17.5605 8.83548 17.5605C8.25926 17.5605 7.68304 17.7514 7.29889 18.1331C6.91473 18.5149 6.72266 18.8966 6.72266 19.4692C6.72266 20.4236 7.10681 21.1871 7.68303 22.1415C8.45134 23.0959 9.21964 23.6685 10.18 24.2411C11.5245 25.0046 13.2532 25.3864 15.366 25.3864C17.0947 25.3864 18.6313 25.1955 19.9758 24.6229Z"
166
- transform="translate(198 -0.271942) rotate(30)" fill="white"/>
167
- </g>
168
-
169
-
170
- </g>
171
- <defs>
172
- <filter id="filter0_f" x="123.892" y="1238.2" width="952.215" height="80.0585" filterUnits="userSpaceOnUse"
173
- color-interpolation-filters="sRGB">
174
- <feFlood flood-opacity="0" result="BackgroundImageFix"/>
175
- <feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"/>
176
- <feGaussianBlur stdDeviation="9.5" result="effect1_foregroundBlur"/>
177
- </filter>
178
- <filter id="filter1_d" x="65" y="20" width="1070" height="1316" filterUnits="userSpaceOnUse"
179
- color-interpolation-filters="sRGB">
180
- <feFlood flood-opacity="0" result="BackgroundImageFix"/>
181
- <feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 255 0"/>
182
- <feOffset dy="4"/>
183
- <feGaussianBlur stdDeviation="27"/>
184
- <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0"/>
185
- <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow"/>
186
- <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow" result="shape"/>
187
- </filter>
188
- <filter id="filter2_d" x="232.892" y="320.381" width="310.108" height="69.2021" filterUnits="userSpaceOnUse"
189
- color-interpolation-filters="sRGB">
190
- <feFlood flood-opacity="0" result="BackgroundImageFix"/>
191
- <feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 255 0"/>
192
- <feOffset dy="4"/>
193
- <feGaussianBlur stdDeviation="7"/>
194
- <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"/>
195
- <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow"/>
196
- <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow" result="shape"/>
197
- </filter>
198
- <filter id="filter3_d" x="263" y="751" width="21" height="21" filterUnits="userSpaceOnUse"
199
- color-interpolation-filters="sRGB">
200
- <feFlood flood-opacity="0" result="BackgroundImageFix"/>
201
- <feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 255 0"/>
202
- <feOffset dy="1"/>
203
- <feGaussianBlur stdDeviation="1.5"/>
204
- <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"/>
205
- <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow"/>
206
- <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow" result="shape"/>
207
- </filter>
208
- <filter id="filter4_d" x="368.112" y="751" width="21" height="21" filterUnits="userSpaceOnUse"
209
- color-interpolation-filters="sRGB">
210
- <feFlood flood-opacity="0" result="BackgroundImageFix"/>
211
- <feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 255 0"/>
212
- <feOffset dy="1"/>
213
- <feGaussianBlur stdDeviation="1.5"/>
214
- <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"/>
215
- <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow"/>
216
- <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow" result="shape"/>
217
- </filter>
218
- <filter id="filter5_d" x="232.892" y="410.203" width="310.108" height="69.2021" filterUnits="userSpaceOnUse"
219
- color-interpolation-filters="sRGB">
220
- <feFlood flood-opacity="0" result="BackgroundImageFix"/>
221
- <feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 255 0"/>
222
- <feOffset dy="4"/>
223
- <feGaussianBlur stdDeviation="7"/>
224
- <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"/>
225
- <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow"/>
226
- <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow" result="shape"/>
227
- </filter>
228
- <filter id="filter6_d" x="252" y="895.778" width="411.711" height="62.2579" filterUnits="userSpaceOnUse"
229
- color-interpolation-filters="sRGB">
230
- <feFlood flood-opacity="0" result="BackgroundImageFix"/>
231
- <feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 255 0"/>
232
- <feOffset dy="4"/>
233
- <feGaussianBlur stdDeviation="7"/>
234
- <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"/>
235
- <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow"/>
236
- <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow" result="shape"/>
237
- </filter>
238
- <filter id="filter7_d" x="282.541" y="1106.97" width="100.096" height="62.2579" filterUnits="userSpaceOnUse"
239
- color-interpolation-filters="sRGB">
240
- <feFlood flood-opacity="0" result="BackgroundImageFix"/>
241
- <feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 255 0"/>
242
- <feOffset dy="4"/>
243
- <feGaussianBlur stdDeviation="7"/>
244
- <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"/>
245
- <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow"/>
246
- <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow" result="shape"/>
247
- </filter>
248
- <filter id="filter8_d" x="259" y="797" width="118" height="37" filterUnits="userSpaceOnUse"
249
- color-interpolation-filters="sRGB">
250
- <feFlood flood-opacity="0" result="BackgroundImageFix"/>
251
- <feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 255 0"/>
252
- <feOffset dy="1"/>
253
- <feGaussianBlur stdDeviation="3.5"/>
254
- <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.08 0"/>
255
- <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow"/>
256
- <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow" result="shape"/>
257
- </filter>
258
- <filter id="filter9_d" x="503.619" y="398.822" width="50.7628" height="50.7628" filterUnits="userSpaceOnUse"
259
- color-interpolation-filters="sRGB">
260
- <feFlood flood-opacity="0" result="BackgroundImageFix"/>
261
- <feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 255 0"/>
262
- <feOffset dy="4"/>
263
- <feGaussianBlur stdDeviation="7"/>
264
- <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"/>
265
- <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow"/>
266
- <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow" result="shape"/>
267
- </filter>
268
- <filter id="filter10_d" x="252" y="846.739" width="50.7628" height="50.7628" filterUnits="userSpaceOnUse"
269
- color-interpolation-filters="sRGB">
270
- <feFlood flood-opacity="0" result="BackgroundImageFix"/>
271
- <feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 255 0"/>
272
- <feOffset dy="4"/>
273
- <feGaussianBlur stdDeviation="7"/>
274
- <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"/>
275
- <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow"/>
276
- <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow" result="shape"/>
277
- </filter>
278
- <filter id="filter11_d" x="322" y="1108.41" width="58.7628" height="58.7628" filterUnits="userSpaceOnUse"
279
- color-interpolation-filters="sRGB">
280
- <feFlood flood-opacity="0" result="BackgroundImageFix"/>
281
- <feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 255 0"/>
282
- <feOffset dy="4"/>
283
- <feGaussianBlur stdDeviation="7"/>
284
- <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"/>
285
- <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow"/>
286
- <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow" result="shape"/>
287
- </filter>
288
- <filter id="filter12_d" x="503.619" y="309" width="50.7628" height="50.7628" filterUnits="userSpaceOnUse"
289
- color-interpolation-filters="sRGB">
290
- <feFlood flood-opacity="0" result="BackgroundImageFix"/>
291
- <feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 255 0"/>
292
- <feOffset dy="4"/>
293
- <feGaussianBlur stdDeviation="7"/>
294
- <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"/>
295
- <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow"/>
296
- <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow" result="shape"/>
297
- </filter>
298
- <filter id="filter13_d" x="232.892" y="499.838" width="310.108" height="69.2021" filterUnits="userSpaceOnUse"
299
- color-interpolation-filters="sRGB">
300
- <feFlood flood-opacity="0" result="BackgroundImageFix"/>
301
- <feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 255 0"/>
302
- <feOffset dy="4"/>
303
- <feGaussianBlur stdDeviation="7"/>
304
- <feColorMatrix type="matrix" values="0 0 0 0 0.700873 0 0 0 0 0.700873 0 0 0 0 0.700873 0 0 0 0.15 0"/>
305
- <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow"/>
306
- <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow" result="shape"/>
307
- </filter>
308
- <filter id="filter14_d" x="503.619" y="488.456" width="50.7628" height="50.7628" filterUnits="userSpaceOnUse"
309
- color-interpolation-filters="sRGB">
310
- <feFlood flood-opacity="0" result="BackgroundImageFix"/>
311
- <feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 255 0"/>
312
- <feOffset dy="4"/>
313
- <feGaussianBlur stdDeviation="7"/>
314
- <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"/>
315
- <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow"/>
316
- <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow" result="shape"/>
317
- </filter>
318
- <filter id="filter15_d" x="263" y="966.24" width="21" height="21" filterUnits="userSpaceOnUse"
319
- color-interpolation-filters="sRGB">
320
- <feFlood flood-opacity="0" result="BackgroundImageFix"/>
321
- <feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 255 0"/>
322
- <feOffset dy="1"/>
323
- <feGaussianBlur stdDeviation="1.5"/>
324
- <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"/>
325
- <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow"/>
326
- <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow" result="shape"/>
327
- </filter>
328
- <filter id="filter16_d" x="414.859" y="846.739" width="50.7628" height="50.7628" filterUnits="userSpaceOnUse"
329
- color-interpolation-filters="sRGB">
330
- <feFlood flood-opacity="0" result="BackgroundImageFix"/>
331
- <feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 255 0"/>
332
- <feOffset dy="4"/>
333
- <feGaussianBlur stdDeviation="7"/>
334
- <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"/>
335
- <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow"/>
336
- <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow" result="shape"/>
337
- </filter>
338
- <filter id="filter17_d" x="329" y="846.739" width="50.7628" height="50.7628" filterUnits="userSpaceOnUse"
339
- color-interpolation-filters="sRGB">
340
- <feFlood flood-opacity="0" result="BackgroundImageFix"/>
341
- <feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 255 0"/>
342
- <feOffset dy="4"/>
343
- <feGaussianBlur stdDeviation="7"/>
344
- <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"/>
345
- <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow"/>
346
- <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow" result="shape"/>
347
- </filter>
348
- <filter id="filter18_f" x="461.54" y="1204.83" width="276.102" height="68.8126" filterUnits="userSpaceOnUse"
349
- color-interpolation-filters="sRGB">
350
- <feFlood flood-opacity="0" result="BackgroundImageFix"/>
351
- <feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"/>
352
- <feGaussianBlur stdDeviation="9.5" result="effect1_foregroundBlur"/>
353
- </filter>
354
- <filter id="filter19_d" x="649" y="303" width="407" height="264" filterUnits="userSpaceOnUse"
355
- color-interpolation-filters="sRGB">
356
- <feFlood flood-opacity="0" result="BackgroundImageFix"/>
357
- <feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 255 0"/>
358
- <feOffset dy="4"/>
359
- <feGaussianBlur stdDeviation="17.5"/>
360
- <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.05 0"/>
361
- <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow"/>
362
- <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow" result="shape"/>
363
- </filter>
364
- <filter id="filter20_d" x="649" y="303" width="407" height="84.9871" filterUnits="userSpaceOnUse"
365
- color-interpolation-filters="sRGB">
366
- <feFlood flood-opacity="0" result="BackgroundImageFix"/>
367
- <feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 255 0"/>
368
- <feOffset dy="4"/>
369
- <feGaussianBlur stdDeviation="17.5"/>
370
- <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.05 0"/>
371
- <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow"/>
372
- <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow" result="shape"/>
373
- </filter>
374
- <filter id="filter21_d" x="658.205" y="307.614" width="76.1174" height="76.121" filterUnits="userSpaceOnUse"
375
- color-interpolation-filters="sRGB">
376
- <feFlood flood-opacity="0" result="BackgroundImageFix"/>
377
- <feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 255 0"/>
378
- <feOffset dy="4"/>
379
- <feGaussianBlur stdDeviation="17.5"/>
380
- <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.05 0"/>
381
- <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow"/>
382
- <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow" result="shape"/>
383
- </filter>
384
- <filter id="filter22_d" x="672.573" y="307.614" width="76.1174" height="76.121" filterUnits="userSpaceOnUse"
385
- color-interpolation-filters="sRGB">
386
- <feFlood flood-opacity="0" result="BackgroundImageFix"/>
387
- <feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 255 0"/>
388
- <feOffset dy="4"/>
389
- <feGaussianBlur stdDeviation="17.5"/>
390
- <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.05 0"/>
391
- <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow"/>
392
- <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow" result="shape"/>
393
- </filter>
394
- <filter id="filter23_d" x="687.283" y="307.614" width="76.1174" height="76.121" filterUnits="userSpaceOnUse"
395
- color-interpolation-filters="sRGB">
396
- <feFlood flood-opacity="0" result="BackgroundImageFix"/>
397
- <feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 255 0"/>
398
- <feOffset dy="4"/>
399
- <feGaussianBlur stdDeviation="17.5"/>
400
- <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.05 0"/>
401
- <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow"/>
402
- <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow" result="shape"/>
403
- </filter>
404
- <filter id="filter24_d" x="997.649" y="327.514" width="31.7105" height="31.491" filterUnits="userSpaceOnUse"
405
- color-interpolation-filters="sRGB">
406
- <feFlood flood-opacity="0" result="BackgroundImageFix"/>
407
- <feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 255 0"/>
408
- <feOffset dy="4"/>
409
- <feGaussianBlur stdDeviation="7.5"/>
410
- <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.1 0"/>
411
- <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow"/>
412
- <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow" result="shape"/>
413
- </filter>
414
- <filter id="filter25_d" x="997.649" y="330.198" width="31.7105" height="31.491" filterUnits="userSpaceOnUse"
415
- color-interpolation-filters="sRGB">
416
- <feFlood flood-opacity="0" result="BackgroundImageFix"/>
417
- <feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 255 0"/>
418
- <feOffset dy="4"/>
419
- <feGaussianBlur stdDeviation="7.5"/>
420
- <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.1 0"/>
421
- <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow"/>
422
- <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow" result="shape"/>
423
- </filter>
424
- <filter id="filter26_d" x="997.649" y="332.882" width="31.7105" height="31.491" filterUnits="userSpaceOnUse"
425
- color-interpolation-filters="sRGB">
426
- <feFlood flood-opacity="0" result="BackgroundImageFix"/>
427
- <feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 255 0"/>
428
- <feOffset dy="4"/>
429
- <feGaussianBlur stdDeviation="7.5"/>
430
- <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.1 0"/>
431
- <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow"/>
432
- <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow" result="shape"/>
433
- </filter>
434
- <filter id="filter27_d" x="687" y="490" width="38" height="38" filterUnits="userSpaceOnUse"
435
- color-interpolation-filters="sRGB">
436
- <feFlood flood-opacity="0" result="BackgroundImageFix"/>
437
- <feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 255 0"/>
438
- <feOffset dy="3"/>
439
- <feGaussianBlur stdDeviation="3"/>
440
- <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0"/>
441
- <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow"/>
442
- <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow" result="shape"/>
443
- </filter>
444
- <filter id="filter28_d" x="718.197" y="490" width="107.803" height="36" filterUnits="userSpaceOnUse"
445
- color-interpolation-filters="sRGB">
446
- <feFlood flood-opacity="0" result="BackgroundImageFix"/>
447
- <feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 255 0"/>
448
- <feOffset dy="1"/>
449
- <feGaussianBlur stdDeviation="2"/>
450
- <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"/>
451
- <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow"/>
452
- <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow" result="shape"/>
453
- </filter>
454
- <filter id="filter29_d" x="736.5" y="12.5" width="142" height="45" filterUnits="userSpaceOnUse"
455
- color-interpolation-filters="sRGB">
456
- <feFlood flood-opacity="0" result="BackgroundImageFix"/>
457
- <feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 255 0"/>
458
- <feOffset dy="4"/>
459
- <feGaussianBlur stdDeviation="2"/>
460
- <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.11 0"/>
461
- <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow"/>
462
- <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow" result="shape"/>
463
- </filter>
464
- <linearGradient id="paint0_linear" x2="1" gradientUnits="userSpaceOnUse"
465
- gradientTransform="matrix(1091.43 1312.52 -1186.01 1491.17 604.227 -730.108)">
466
- <stop stop-color="#6371DB"/>
467
- <stop offset="1" stop-color="#FF89C4"/>
468
- </linearGradient>
469
- <linearGradient id="paint1_linear" x2="1" gradientUnits="userSpaceOnUse"
470
- gradientTransform="translate(51.2225 -8.66092) scale(80.7879 38.3881) rotate(63.1774)">
471
- <stop stop-color="#6371DB"/>
472
- <stop offset="1" stop-color="#FF89C4"/>
473
- </linearGradient>
474
- <linearGradient id="paint2_linear" x2="1" gradientUnits="userSpaceOnUse"
475
- gradientTransform="translate(16.1725 -5.75478) scale(25.5071) rotate(63.1774)">
476
- <stop stop-color="#6371DB"/>
477
- <stop offset="1" stop-color="#FF89C4"/>
478
- </linearGradient>
479
- <linearGradient id="paint3_linear" x2="1" gradientUnits="userSpaceOnUse"
480
- gradientTransform="translate(16.1725 -5.75478) scale(25.5071) rotate(63.1774)">
481
- <stop stop-color="#6371DB"/>
482
- <stop offset="1" stop-color="#FF89C4"/>
483
- </linearGradient>
484
- <linearGradient id="paint4_linear" x2="1" gradientUnits="userSpaceOnUse"
485
- gradientTransform="translate(7.66235 -2.21336) scale(12.085 9.81037) rotate(63.1774)">
486
- <stop stop-color="#6371DB"/>
487
- <stop offset="1" stop-color="#FF89C4"/>
488
- </linearGradient>
489
- <linearGradient id="paint5_linear" x2="1" gradientUnits="userSpaceOnUse"
490
- gradientTransform="translate(9.1143 -3.24321) scale(14.375) rotate(63.1774)">
491
- <stop stop-color="#6371DB"/>
492
- <stop offset="1" stop-color="#FF89C4"/>
493
- </linearGradient>
494
- <linearGradient id="paint6_linear" x2="1" gradientUnits="userSpaceOnUse"
495
- gradientTransform="translate(169.166 -7.78989) scale(266.808 34.5274) rotate(63.1774)">
496
- <stop stop-color="#6371DB"/>
497
- <stop offset="1" stop-color="#FF89C4"/>
498
- </linearGradient>
499
- <linearGradient id="paint7_linear" x2="1" gradientUnits="userSpaceOnUse"
500
- gradientTransform="matrix(196.326 26.5802 -205.396 511.661 124.27 -253.384)">
501
- <stop stop-color="#FF6624"/>
502
- <stop offset="1" stop-color="#FF6376"/>
503
- </linearGradient>
504
- <linearGradient id="paint8_linear" x2="1" gradientUnits="userSpaceOnUse"
505
- gradientTransform="matrix(225.251 42.4755 -235.658 817.64 142.578 -404.911)">
506
- <stop stop-color="#FF6624"/>
507
- <stop offset="1" stop-color="#FF6376"/>
508
- </linearGradient>
509
- <linearGradient id="paint9_linear" x2="1" gradientUnits="userSpaceOnUse"
510
- gradientTransform="matrix(202.014 43.1321 -211.347 830.279 127.87 -411.17)">
511
- <stop stop-color="#FF6624"/>
512
- <stop offset="1" stop-color="#FF6376"/>
513
- </linearGradient>
514
- <linearGradient id="paint10_linear" x2="1" gradientUnits="userSpaceOnUse"
515
- gradientTransform="translate(4.34627 -1.54749) scale(6.85491 6.85901) rotate(63.1774)">
516
- <stop stop-color="#6371DB"/>
517
- <stop offset="1" stop-color="#FF89C4"/>
518
- </linearGradient>
519
- <linearGradient id="paint11_linear" x2="1" gradientUnits="userSpaceOnUse"
520
- gradientTransform="translate(4.34627 -1.54749) scale(6.85491 6.85901) rotate(63.1774)">
521
- <stop stop-color="#6371DB"/>
522
- <stop offset="1" stop-color="#FF89C4"/>
523
- </linearGradient>
524
- <linearGradient id="paint12_linear" x2="1" gradientUnits="userSpaceOnUse"
525
- gradientTransform="translate(4.34627 -1.54749) scale(6.85491 6.85901) rotate(63.1774)">
526
- <stop stop-color="#6371DB"/>
527
- <stop offset="1" stop-color="#FF89C4"/>
528
- </linearGradient>
529
- <clipPath id="clip0">
530
- <rect width="1200" height="1328" fill="white"/>
531
- </clipPath>
532
- </defs>
533
- </svg>
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="1200" height="1328" viewBox="0 0 1200 1328" fill="none">
2
+ <g clip-path="url(#clip0)">
3
+ <rect width="1200" height="1328" fill="white"/>
4
+ <rect width="1200" height="1328" fill="url(#paint0_linear)"/>
5
+ <!--<g opacity="0.6" filter="url(#filter0_f)">-->
6
+ <!--<rect width="914.215" height="42.0585" rx="9" transform="translate(142.892 1257.2)" fill="black"-->
7
+ <!--fill-opacity="0.2"/>-->
8
+ <!--</g>-->
9
+
10
+
11
+ <g opacity="0.1">
12
+ <path fill-rule="evenodd" clip-rule="evenodd"
13
+ d="M3.86839 0H25.1446C27.2722 0 29.013 1.77328 29.013 3.94064V21.6735C29.013 23.8409 27.2722 25.6142 25.1446 25.6142H11.0249L5.41576 30.3429C5.22234 30.54 5.02892 30.54 4.83549 30.54H4.44866C4.06182 30.3429 3.86839 29.9489 3.86839 29.5548V25.6142C1.74078 25.6142 0 23.8409 0 21.6735V3.94064C0 1.77328 1.74078 0 3.86839 0ZM3.86839 16.7477C3.86839 17.3388 4.25523 17.7328 4.83549 17.7328H6.76968C8.31704 17.7328 9.67098 16.3536 9.67098 14.7774C9.67098 13.2011 8.31704 11.8219 6.76968 11.8219C6.18942 11.8219 5.80258 11.4278 5.80258 10.8367C5.80258 10.2456 6.18942 9.85156 6.76968 9.85156H8.70388C9.28414 9.85156 9.67098 9.45752 9.67098 8.86642C9.67098 8.27533 9.28414 7.88126 8.70388 7.88126H6.76968C5.22232 7.88126 3.86839 9.26047 3.86839 10.8367C3.86839 12.413 5.22232 13.7922 6.76968 13.7922C7.34995 13.7922 7.73678 14.1863 7.73678 14.7774C7.73678 15.3685 7.34995 15.7625 6.76968 15.7625H4.83549C4.25523 15.7625 3.86839 16.1566 3.86839 16.7477ZM22.2433 17.7328H20.3091C19.7289 17.7328 19.342 17.3388 19.342 16.7477C19.342 16.1566 19.7289 15.7625 20.3091 15.7625H22.2433C22.8236 15.7625 23.2104 15.3685 23.2104 14.7774C23.2104 14.1863 22.8236 13.7922 22.2433 13.7922C20.6959 13.7922 19.342 12.413 19.342 10.8367C19.342 9.26047 20.6959 7.88126 22.2433 7.88126H24.1775C24.7578 7.88126 25.1446 8.27533 25.1446 8.86642C25.1446 9.45752 24.7578 9.85156 24.1775 9.85156H22.2433C21.663 9.85156 21.2762 10.2456 21.2762 10.8367C21.2762 11.4278 21.663 11.8219 22.2433 11.8219C23.7907 11.8219 25.1446 13.2011 25.1446 14.7774C25.1446 16.3536 23.7907 17.7328 22.2433 17.7328ZM15.4736 16.7477C15.4736 17.3388 15.8604 17.7329 16.4407 17.7329C17.0209 17.7329 17.4078 17.3388 17.6012 16.7477V8.86646C17.6012 8.47238 17.2143 8.07834 16.8275 7.88129C16.2472 7.88129 15.8604 8.07834 15.667 8.47238L14.5065 10.6397L13.346 8.47238C13.1525 8.07834 12.5723 7.68427 12.1854 7.88129C11.7986 8.07834 11.4118 8.47238 11.4118 8.86646V16.7477C11.4118 17.3388 11.7986 17.7329 12.3789 17.7329C12.9591 17.7329 13.346 17.3388 13.346 16.7477V13.0041L13.5394 13.2012C13.9262 13.7923 14.8933 13.7923 15.2802 13.2012L15.4736 13.0041V16.7477Z"
14
+ transform="translate(39.6424 236.54) rotate(-30)" fill="white"/>
15
+ </g>
16
+ <g opacity="0.1">
17
+ <path fill-rule="evenodd" clip-rule="evenodd"
18
+ d="M3.8684 1.49725e-06L25.1446 0C27.2722 -4.69996e-06 29.013 1.7733 29.013 3.94066L29.013 21.6735C29.013 23.8409 27.2722 25.6142 25.1446 25.6142L11.0249 25.6142L5.41576 30.3429C5.22234 30.54 5.02892 30.54 4.8355 30.54H4.44866C4.06182 30.3429 3.86839 29.9489 3.8684 29.5548L3.86839 25.6142C1.74078 25.6142 1.87794e-06 23.8409 0 21.6735L3.99215e-06 3.94064C2.11421e-06 1.77329 1.74078 6.19722e-06 3.8684 1.49725e-06ZM4.83549 17.7329L6.76969 17.7329C8.31704 17.7329 9.67098 16.3537 9.67097 14.7774C9.67098 13.2011 8.31704 11.8219 6.76968 11.8219C6.18942 11.8219 5.80259 11.4279 5.80258 10.8368C5.80258 10.2457 6.18943 9.8516 6.76968 9.85161L8.70388 9.8516C9.28414 9.8516 9.67098 9.45753 9.67098 8.86644C9.67098 8.27534 9.28413 7.88128 8.70388 7.88129L6.76968 7.88128C5.22233 7.88128 3.86839 9.2605 3.86838 10.8368C3.86838 12.413 5.22232 13.7922 6.76968 13.7922C7.34994 13.7922 7.73678 14.1863 7.73678 14.7774C7.73678 15.3685 7.34994 15.7626 6.76968 15.7626L4.83548 15.7626C4.25523 15.7626 3.86839 16.1566 3.86839 16.7477C3.86838 17.3388 4.25522 17.7329 4.83549 17.7329ZM22.2433 17.7329L20.3091 17.7329C19.7288 17.7329 19.342 17.3388 19.342 16.7477C19.342 16.1566 19.7289 15.7626 20.3091 15.7626L22.2433 15.7626C22.8236 15.7626 23.2104 15.3685 23.2104 14.7774C23.2104 14.1863 22.8236 13.7922 22.2433 13.7922C20.6959 13.7922 19.342 12.413 19.342 10.8368C19.342 9.2605 20.696 7.88127 22.2433 7.88127L24.1775 7.88128C24.7578 7.88128 25.1446 8.27534 25.1446 8.86644C25.1446 9.45753 24.7578 9.8516 24.1775 9.8516L22.2433 9.8516C21.6631 9.85159 21.2762 10.2457 21.2762 10.8368C21.2762 11.4279 21.663 11.8219 22.2433 11.8219C23.7907 11.8219 25.1446 13.2011 25.1446 14.7774C25.1446 16.3537 23.7907 17.7329 22.2433 17.7329ZM15.4736 16.7477C15.4736 17.3388 15.8604 17.7329 16.4407 17.7329C17.0209 17.7329 17.4078 17.3389 17.6012 16.7478L17.6012 8.86647C17.6012 8.4724 17.2143 8.07834 16.8275 7.8813C16.2472 7.88131 15.8604 8.07834 15.667 8.4724L14.5065 10.6398L13.346 8.47241C13.1525 8.07834 12.5723 7.68428 12.1854 7.8813C11.7986 8.07834 11.4118 8.47241 11.4118 8.86647V16.7478C11.4118 17.3388 11.7986 17.7329 12.3789 17.7329C12.9591 17.7329 13.346 17.3388 13.346 16.7478L13.346 13.0041L13.5394 13.2012C13.9262 13.7923 14.8933 13.7923 15.2802 13.2012L15.4736 13.0041L15.4736 16.7477Z"
19
+ transform="translate(319.608 17.3281) rotate(-30)" fill="white"/>
20
+ </g>
21
+ <g opacity="0.1">
22
+ <path fill-rule="evenodd" clip-rule="evenodd"
23
+ d="M3.8684 0L25.1446 1.17173e-05C27.2722 7.01729e-06 29.013 1.77329 29.013 3.94064L29.013 21.6735C29.013 23.8409 27.2722 25.6142 25.1446 25.6142L11.0249 25.6142L5.41576 30.3429C5.22234 30.54 5.02892 30.54 4.8355 30.54L4.44866 30.54C4.06182 30.3429 3.8684 29.9489 3.8684 29.5548L3.86839 25.6142C1.74077 25.6142 1.87794e-06 23.8409 0 21.6735L3.99215e-06 3.94064C2.11421e-06 1.77329 1.74078 2.79262e-06 3.8684 0ZM4.83548 17.7329L6.76968 17.7329C8.31704 17.7329 9.67097 16.3537 9.67097 14.7774C9.67098 13.2011 8.31703 11.8219 6.76968 11.8219C6.18942 11.8219 5.80258 11.4279 5.80258 10.8368C5.80258 10.2457 6.18942 9.85159 6.76968 9.8516L8.70387 9.8516C9.28414 9.8516 9.67098 9.45753 9.67098 8.86643C9.67098 8.27534 9.28413 7.88128 8.70387 7.88128L6.76968 7.88127C5.22232 7.88128 3.86838 9.2605 3.86838 10.8368C3.86838 12.413 5.22232 13.7922 6.76968 13.7922C7.34994 13.7922 7.73678 14.1863 7.73678 14.7774C7.73678 15.3685 7.34994 15.7626 6.76968 15.7626L4.83548 15.7626C4.25522 15.7626 3.86838 16.1566 3.86838 16.7477C3.86838 17.3388 4.25522 17.7329 4.83548 17.7329ZM22.2433 17.7329L20.3091 17.7329C19.7288 17.7329 19.342 17.3388 19.342 16.7477C19.342 16.1566 19.7289 15.7626 20.3091 15.7626L22.2433 15.7626C22.8236 15.7626 23.2104 15.3685 23.2104 14.7774C23.2104 14.1863 22.8236 13.7922 22.2433 13.7922C20.6959 13.7922 19.342 12.413 19.342 10.8368C19.342 9.2605 20.696 7.88127 22.2433 7.88127L24.1775 7.88128C24.7578 7.88128 25.1446 8.27534 25.1446 8.86643C25.1446 9.45753 24.7578 9.8516 24.1775 9.8516L22.2433 9.8516C21.6631 9.85159 21.2762 10.2457 21.2762 10.8368C21.2762 11.4279 21.663 11.8219 22.2433 11.8219C23.7907 11.8219 25.1446 13.2011 25.1446 14.7774C25.1446 16.3537 23.7907 17.7329 22.2433 17.7329ZM15.4736 16.7477C15.4736 17.3388 15.8604 17.7329 16.4407 17.7329C17.0209 17.7329 17.4078 17.3389 17.6012 16.7478L17.6012 8.86647C17.6012 8.4724 17.2143 8.07834 16.8275 7.88131C16.2472 7.8813 15.8604 8.07834 15.667 8.4724L14.5065 10.6398L13.346 8.47241C13.1525 8.07833 12.5723 7.68428 12.1854 7.8813C11.7986 8.07834 11.4118 8.47241 11.4118 8.86647L11.4118 16.7478C11.4118 17.3388 11.7986 17.7329 12.3789 17.7329C12.9591 17.7329 13.346 17.3388 13.346 16.7477L13.346 13.0041L13.5394 13.2012C13.9262 13.7923 14.8933 13.7923 15.2802 13.2012L15.4736 13.0041L15.4736 16.7477Z"
24
+ transform="translate(20.1613 634.373) rotate(-30)" fill="white"/>
25
+ </g>
26
+ <g opacity="0.1">
27
+ <path fill-rule="evenodd" clip-rule="evenodd"
28
+ d="M3.8684 3.66012e-06L25.1446 0C27.2722 2.41835e-06 29.013 1.77329 29.013 3.94064L29.013 21.6735C29.013 23.8409 27.2722 25.6142 25.1446 25.6142L11.0249 25.6142L5.41576 30.3429C5.22235 30.54 5.02892 30.54 4.8355 30.54H4.44867C4.06182 30.3429 3.8684 29.9489 3.8684 29.5548L3.8684 25.6142C1.74078 25.6142 1.70049e-06 23.8409 4.52245e-06 21.6735L0 3.94064C1.42568e-06 1.77329 1.74078 1.24177e-06 3.8684 3.66012e-06ZM4.83549 17.7329L6.76968 17.7329C8.31704 17.7329 9.67098 16.3536 9.67098 14.7774C9.67098 13.2011 8.31704 11.8219 6.76968 11.8219C6.18942 11.8219 5.80259 11.4279 5.80258 10.8368C5.80258 10.2457 6.18942 9.85159 6.76968 9.85159L8.70388 9.85159C9.28414 9.85159 9.67098 9.45753 9.67098 8.86643C9.67098 8.27534 9.28414 7.88127 8.70388 7.88127H6.76968C5.22232 7.88127 3.86839 9.2605 3.86838 10.8368C3.86839 12.413 5.22233 13.7922 6.76968 13.7922C7.34994 13.7922 7.73678 14.1863 7.73678 14.7774C7.73678 15.3685 7.34994 15.7626 6.76968 15.7626L4.83548 15.7626C4.25523 15.7626 3.86838 16.1566 3.86838 16.7477C3.86838 17.3388 4.25522 17.7329 4.83549 17.7329ZM22.2433 17.7329H20.3091C19.7289 17.7329 19.342 17.3388 19.342 16.7477C19.342 16.1566 19.7289 15.7626 20.3091 15.7626L22.2433 15.7626C22.8236 15.7626 23.2104 15.3685 23.2104 14.7774C23.2104 14.1863 22.8236 13.7922 22.2433 13.7922C20.696 13.7922 19.342 12.413 19.342 10.8368C19.342 9.2605 20.696 7.88127 22.2433 7.88127L24.1775 7.88127C24.7578 7.88127 25.1446 8.27534 25.1446 8.86643C25.1446 9.45753 24.7578 9.85159 24.1775 9.85159H22.2433C21.6631 9.85159 21.2762 10.2457 21.2762 10.8368C21.2762 11.4279 21.6631 11.8219 22.2433 11.8219C23.7907 11.8219 25.1446 13.2011 25.1446 14.7774C25.1446 16.3536 23.7907 17.7329 22.2433 17.7329ZM15.4736 16.7477C15.4736 17.3388 15.8604 17.7329 16.4407 17.7329C17.0209 17.7329 17.4078 17.3388 17.6012 16.7477L17.6012 8.86646C17.6012 8.47239 17.2144 8.07833 16.8275 7.8813C16.2473 7.8813 15.8604 8.07833 15.667 8.47239L14.5065 10.6398L13.346 8.4724C13.1525 8.07833 12.5723 7.68427 12.1855 7.8813C11.7986 8.07833 11.4118 8.4724 11.4118 8.86646L11.4118 16.7477C11.4118 17.3388 11.7986 17.7329 12.3789 17.7329C12.9591 17.7329 13.346 17.3388 13.346 16.7477L13.346 13.0041L13.5394 13.2012C13.9262 13.7923 14.8933 13.7923 15.2802 13.2012L15.4736 13.0041L15.4736 16.7477Z"
29
+ transform="translate(-5.74054 821.887) rotate(-30)" fill="white"/>
30
+ </g>
31
+ <g opacity="0.1">
32
+ <path fill-rule="evenodd" clip-rule="evenodd"
33
+ d="M3.86841 2.92775e-06L25.1446 0C27.2722 -1.83895e-06 29.013 1.7733 29.013 3.94066L29.013 21.6735C29.013 23.8409 27.2722 25.6142 25.1446 25.6142L11.0249 25.6142L5.41576 30.343C5.22235 30.54 5.02892 30.54 4.8355 30.54L4.44867 30.54C4.06182 30.343 3.8684 29.9489 3.8684 29.5548L3.8684 25.6142C1.74078 25.6142 -1.42568e-06 23.8409 0 21.6735L9.14383e-06 3.94064C9.7436e-06 1.77329 1.74079 5.72037e-06 3.86841 2.92775e-06ZM4.8355 17.7329L6.7697 17.7329C8.31706 17.7329 9.67099 16.3537 9.67099 14.7774C9.67099 13.2011 8.31706 11.8219 6.7697 11.8219C6.18944 11.8219 5.80259 11.4279 5.8026 10.8367C5.8026 10.2456 6.18943 9.85159 6.76969 9.85159L8.70389 9.85159C9.28415 9.85159 9.67099 9.45752 9.67099 8.86642C9.67099 8.27533 9.28415 7.88126 8.7039 7.88126L6.7697 7.88126C5.22234 7.88126 3.86839 9.2605 3.8684 10.8367C3.8684 12.413 5.22233 13.7922 6.76969 13.7922C7.34995 13.7922 7.73679 14.1863 7.73679 14.7774C7.73679 15.3685 7.34995 15.7626 6.76969 15.7626L4.8355 15.7625C4.25524 15.7625 3.8684 16.1566 3.8684 16.7477C3.8684 17.3388 4.25524 17.7329 4.8355 17.7329ZM22.2433 17.7329L20.3091 17.7329C19.7288 17.7329 19.342 17.3388 19.342 16.7477C19.342 16.1566 19.7289 15.7626 20.3091 15.7626L22.2433 15.7626C22.8236 15.7626 23.2104 15.3685 23.2104 14.7774C23.2104 14.1863 22.8236 13.7923 22.2433 13.7923C20.6959 13.7923 19.342 12.413 19.342 10.8368C19.342 9.26053 20.6959 7.88129 22.2433 7.88129L24.1775 7.88128C24.7578 7.88128 25.1446 8.27535 25.1446 8.86645C25.1446 9.45754 24.7578 9.85161 24.1775 9.85161L22.2433 9.85162C21.663 9.85162 21.2762 10.2457 21.2762 10.8368C21.2762 11.4279 21.663 11.8219 22.2433 11.8219C23.7907 11.8219 25.1446 13.2012 25.1446 14.7774C25.1446 16.3537 23.7907 17.7329 22.2433 17.7329ZM15.4736 16.7477C15.4736 17.3388 15.8604 17.7329 16.4407 17.7329C17.021 17.7329 17.4078 17.3388 17.6012 16.7477L17.6012 8.86645C17.6012 8.4724 17.2144 8.07833 16.8275 7.88131C16.2473 7.88131 15.8604 8.07833 15.667 8.4724L14.5065 10.6398L13.346 8.47238C13.1525 8.07834 12.5723 7.68427 12.1855 7.88129C11.7986 8.07834 11.4118 8.47239 11.4118 8.86646L11.4118 16.7477C11.4118 17.3388 11.7986 17.7329 12.3789 17.7329C12.9591 17.7329 13.346 17.3388 13.346 16.7477L13.346 13.0041L13.5394 13.2012C13.9262 13.7923 14.8933 13.7923 15.2802 13.2012L15.4736 13.0041L15.4736 16.7477Z"
34
+ transform="translate(64.0171 1036.92) rotate(-30)" fill="white"/>
35
+ </g>
36
+ <g opacity="0.1">
37
+ <path fill-rule="evenodd" clip-rule="evenodd"
38
+ d="M3.86841 0L25.1446 2.49318e-05C27.2722 -6.19721e-06 29.013 1.7733 29.013 3.94063L29.013 21.6736C29.013 23.8409 27.2722 25.6142 25.1446 25.6142L11.0249 25.6142L5.41577 30.343C5.22235 30.54 5.02891 30.54 4.83551 30.54L4.44867 30.54C4.06184 30.3429 3.86842 29.9489 3.86841 29.5548L3.86842 25.6141C1.74079 25.6142 2.0774e-05 23.8409 3.63725e-06 21.6735L0 3.94067C1.33808e-05 1.77329 1.74078 3.1129e-05 3.86841 0ZM4.83549 17.7329L6.76969 17.7329C8.31705 17.7329 9.67101 16.3536 9.67099 14.7774C9.67098 13.2012 8.31707 11.8219 6.76971 11.8219C6.18943 11.8219 5.80261 11.4278 5.80261 10.8367C5.80261 10.2456 6.18944 9.85159 6.76971 9.85157L8.70391 9.85156C9.28415 9.85159 9.67099 9.45754 9.67099 8.86645C9.67099 8.27536 9.28416 7.88126 8.70389 7.88128L6.76969 7.88129C5.22233 7.88129 3.8684 9.2605 3.86841 10.8367C3.86839 12.413 5.22234 13.7922 6.7697 13.7922C7.34998 13.7922 7.73679 14.1863 7.73679 14.7774C7.7368 15.3685 7.34997 15.7625 6.7697 15.7626L4.8355 15.7626C4.25525 15.7625 3.86839 16.1566 3.86839 16.7477C3.86839 17.3388 4.25524 17.7329 4.83549 17.7329ZM22.2433 17.7329L20.3091 17.7329C19.7289 17.7329 19.342 17.3388 19.342 16.7477C19.342 16.1566 19.7289 15.7625 20.3091 15.7626L22.2433 15.7626C22.8236 15.7625 23.2104 15.3685 23.2104 14.7774C23.2104 14.1863 22.8236 13.7922 22.2433 13.7922C20.696 13.7922 19.342 12.413 19.342 10.8367C19.342 9.2605 20.696 7.88129 22.2433 7.88128L24.1775 7.88128C24.7578 7.88125 25.1446 8.27535 25.1446 8.86645C25.1446 9.45754 24.7578 9.85158 24.1775 9.85156L22.2433 9.85156C21.6631 9.85159 21.2762 10.2456 21.2762 10.8367C21.2762 11.4278 21.6631 11.8219 22.2433 11.8219C23.7907 11.8219 25.1446 13.2012 25.1446 14.7774C25.1446 16.3536 23.7907 17.7329 22.2433 17.7329ZM15.4736 16.7478C15.4736 17.3389 15.8604 17.7329 16.4407 17.7329C17.0209 17.7329 17.4078 17.3389 17.6012 16.7477L17.6012 8.86647C17.6012 8.47242 17.2144 8.07833 16.8275 7.88133C16.2473 7.8813 15.8604 8.07835 15.667 8.47243L14.5065 10.6398L13.346 8.47243C13.1525 8.07836 12.5723 7.68429 12.1854 7.88134C11.7986 8.07834 11.4118 8.47244 11.4118 8.86648L11.4118 16.7478C11.4118 17.3388 11.7986 17.7329 12.3789 17.7329C12.9591 17.7329 13.346 17.3388 13.346 16.7477L13.346 13.0041L13.5394 13.2012C13.9262 13.7923 14.8933 13.7923 15.2802 13.2012L15.4736 13.0042L15.4736 16.7478Z"
39
+ transform="translate(-6.43736 1103.38) rotate(-30)" fill="white"/>
40
+ </g>
41
+ <g opacity="0.1">
42
+ <path fill-rule="evenodd" clip-rule="evenodd"
43
+ d="M3.86841 0L25.1446 2.49318e-05C27.2722 -6.19721e-06 29.013 1.7733 29.013 3.94063L29.013 21.6736C29.013 23.8409 27.2722 25.6142 25.1446 25.6142L11.0249 25.6142L5.41577 30.343C5.22235 30.54 5.02891 30.54 4.83551 30.54L4.44867 30.54C4.06184 30.3429 3.86842 29.9489 3.86841 29.5548L3.86842 25.6141C1.74079 25.6142 2.0774e-05 23.8409 3.63724e-06 21.6735L0 3.94067C1.33808e-05 1.77329 1.74078 3.1129e-05 3.86841 0ZM4.83549 17.7329L6.76969 17.7329C8.31705 17.7329 9.67101 16.3536 9.67099 14.7774C9.67098 13.2012 8.31707 11.8219 6.76971 11.8219C6.18943 11.8219 5.80261 11.4278 5.80261 10.8367C5.80261 10.2456 6.18944 9.85159 6.76971 9.85157L8.70391 9.85156C9.28415 9.85159 9.67099 9.45754 9.67099 8.86645C9.67099 8.27536 9.28416 7.88126 8.70389 7.88128L6.76969 7.88129C5.22233 7.88129 3.8684 9.2605 3.86841 10.8367C3.86839 12.413 5.22234 13.7922 6.7697 13.7922C7.34998 13.7922 7.73679 14.1863 7.73679 14.7774C7.7368 15.3685 7.34997 15.7625 6.7697 15.7626L4.8355 15.7626C4.25525 15.7625 3.86839 16.1566 3.86839 16.7477C3.86839 17.3388 4.25524 17.7329 4.83549 17.7329ZM22.2433 17.7329L20.3091 17.7329C19.7289 17.7329 19.342 17.3388 19.342 16.7477C19.342 16.1566 19.7289 15.7625 20.3091 15.7626L22.2433 15.7626C22.8236 15.7625 23.2104 15.3685 23.2104 14.7774C23.2104 14.1863 22.8236 13.7922 22.2433 13.7922C20.696 13.7922 19.342 12.413 19.342 10.8367C19.342 9.2605 20.696 7.88129 22.2433 7.88128L24.1775 7.88128C24.7578 7.88125 25.1446 8.27535 25.1446 8.86645C25.1446 9.45754 24.7578 9.85158 24.1775 9.85156L22.2433 9.85156C21.6631 9.85159 21.2762 10.2456 21.2762 10.8367C21.2762 11.4278 21.6631 11.8219 22.2433 11.8219C23.7907 11.8219 25.1446 13.2012 25.1446 14.7774C25.1446 16.3536 23.7907 17.7329 22.2433 17.7329ZM15.4736 16.7478C15.4736 17.3389 15.8604 17.7329 16.4407 17.7329C17.0209 17.7329 17.4078 17.3389 17.6012 16.7477L17.6012 8.86647C17.6012 8.47242 17.2144 8.07833 16.8275 7.88133C16.2473 7.8813 15.8604 8.07835 15.667 8.47243L14.5065 10.6398L13.346 8.47243C13.1525 8.07836 12.5723 7.68429 12.1854 7.88134C11.7986 8.07834 11.4118 8.47244 11.4118 8.86648L11.4118 16.7478C11.4118 17.3388 11.7986 17.7329 12.3789 17.7329C12.9591 17.7329 13.346 17.3388 13.346 16.7477L13.346 13.0041L13.5394 13.2012C13.9262 13.7923 14.8933 13.7923 15.2802 13.2012L15.4736 13.0042L15.4736 16.7478Z"
44
+ transform="translate(1081 914.859) rotate(-30)" fill="white"/>
45
+ </g>
46
+ <g opacity="0.1">
47
+ <path fill-rule="evenodd" clip-rule="evenodd"
48
+ d="M3.86835 0L25.1446 3.2835e-05C27.2722 9.06158e-06 29.0129 1.7733 29.013 3.94068L29.013 21.6736C29.0129 23.8409 27.2722 25.6142 25.1445 25.6142L11.0249 25.6142L5.41577 30.343C5.22238 30.54 5.02887 30.54 4.83547 30.54L4.44868 30.54C4.06178 30.343 3.86839 29.9489 3.86841 29.5548L3.86839 25.6142C1.74081 25.6142 -4.93858e-05 23.8409 1.59425e-06 21.6736L1.29074e-09 3.94067C-5.47346e-05 1.77328 1.74077 2.37735e-05 3.86835 0ZM4.83546 17.7329L6.76965 17.7329C8.31704 17.7329 9.67095 16.3537 9.67099 14.7774C9.67103 13.2012 8.31708 11.8219 6.76968 11.8219C6.18939 11.8219 5.80259 11.4279 5.80262 10.8368C5.80263 10.2457 6.18942 9.85162 6.76972 9.85164L8.70391 9.85163C9.2841 9.85159 9.67101 9.45756 9.67103 8.86647C9.67093 8.27532 9.28415 7.88128 8.70385 7.88126L6.76967 7.88127C5.22228 7.88126 3.86835 9.26051 3.86843 10.8368C3.86839 12.413 5.22235 13.7923 6.76963 13.7922C7.34993 13.7922 7.73682 14.1863 7.73681 14.7774C7.73679 15.3685 7.34999 15.7626 6.76969 15.7626L4.83552 15.7626C4.25522 15.7625 3.86841 16.1566 3.8684 16.7477C3.86838 17.3388 4.25527 17.7329 4.83546 17.7329ZM22.2432 17.7329L20.309 17.7329C19.7288 17.7329 19.342 17.3388 19.342 16.7477C19.342 16.1566 19.7288 15.7626 20.3091 15.7626L22.2433 15.7626C22.8236 15.7626 23.2104 15.3685 23.2104 14.7774C23.2104 14.1863 22.8235 13.7922 22.2432 13.7922C20.6959 13.7923 19.342 12.413 19.342 10.8368C19.3419 9.26051 20.6959 7.88126 22.2432 7.88128L24.1774 7.88127C24.7577 7.88129 25.1445 8.27533 25.1446 8.86647C25.1446 9.45756 24.7577 9.85159 24.1775 9.85163L22.2433 9.85164C21.663 9.85162 21.2762 10.2457 21.2762 10.8368C21.2762 11.4279 21.663 11.8219 22.2433 11.8219C23.7907 11.8219 25.1446 13.2012 25.1446 14.7774C25.1445 16.3537 23.7906 17.7329 22.2432 17.7329ZM15.4736 16.7478C15.4736 17.3389 15.8605 17.7329 16.4407 17.7329C17.021 17.7329 17.4078 17.3389 17.6012 16.7478L17.6013 8.8665C17.6013 8.47246 17.2144 8.07836 16.8276 7.88137C16.2473 7.88135 15.8605 8.07839 15.667 8.47241L14.5065 10.6398L13.346 8.47242C13.1526 8.0784 12.5723 7.68431 12.1855 7.88135C11.7986 8.07837 11.4118 8.47243 11.4118 8.8665L11.4118 16.7478C11.4118 17.3389 11.7986 17.7329 12.3789 17.7329C12.9592 17.733 13.346 17.3389 13.346 16.7478L13.346 13.0042L13.5394 13.2012C13.9263 13.7923 14.8934 13.7923 15.2802 13.2012L15.4736 13.0042L15.4736 16.7478Z"
49
+ transform="translate(1140.36 1117.89) rotate(-30)" fill="white"/>
50
+ </g>
51
+ <g opacity="0.1">
52
+ <path fill-rule="evenodd" clip-rule="evenodd"
53
+ d="M3.86835 0L25.1446 3.2835e-05C27.2722 9.06158e-06 29.0129 1.7733 29.013 3.94068L29.013 21.6736C29.0129 23.8409 27.2722 25.6142 25.1445 25.6142L11.0249 25.6142L5.41577 30.343C5.22238 30.54 5.02887 30.54 4.83547 30.54L4.44868 30.54C4.06178 30.343 3.86839 29.9489 3.86841 29.5548L3.86839 25.6142C1.74081 25.6142 -4.93858e-05 23.8409 1.59425e-06 21.6736L1.29074e-09 3.94067C-5.47346e-05 1.77328 1.74077 2.37735e-05 3.86835 0ZM4.83546 17.7329L6.76965 17.7329C8.31704 17.7329 9.67095 16.3537 9.67099 14.7774C9.67103 13.2012 8.31708 11.8219 6.76968 11.8219C6.18939 11.8219 5.80259 11.4279 5.80262 10.8368C5.80263 10.2457 6.18942 9.85162 6.76972 9.85164L8.70391 9.85163C9.2841 9.85159 9.67101 9.45756 9.67103 8.86647C9.67093 8.27532 9.28415 7.88128 8.70385 7.88126L6.76967 7.88127C5.22228 7.88126 3.86835 9.26051 3.86843 10.8368C3.86839 12.413 5.22235 13.7923 6.76963 13.7922C7.34993 13.7922 7.73682 14.1863 7.73681 14.7774C7.73679 15.3685 7.34999 15.7626 6.76969 15.7626L4.83552 15.7626C4.25522 15.7625 3.86841 16.1566 3.8684 16.7477C3.86838 17.3388 4.25527 17.7329 4.83546 17.7329ZM22.2432 17.7329L20.309 17.7329C19.7288 17.7329 19.342 17.3388 19.342 16.7477C19.342 16.1566 19.7288 15.7626 20.3091 15.7626L22.2433 15.7626C22.8236 15.7626 23.2104 15.3685 23.2104 14.7774C23.2104 14.1863 22.8235 13.7922 22.2432 13.7922C20.6959 13.7923 19.342 12.413 19.342 10.8368C19.3419 9.26051 20.6959 7.88126 22.2432 7.88128L24.1774 7.88127C24.7577 7.88129 25.1445 8.27533 25.1446 8.86647C25.1446 9.45756 24.7577 9.85159 24.1775 9.85163L22.2433 9.85164C21.663 9.85162 21.2762 10.2457 21.2762 10.8368C21.2762 11.4279 21.663 11.8219 22.2433 11.8219C23.7907 11.8219 25.1446 13.2012 25.1446 14.7774C25.1445 16.3537 23.7906 17.7329 22.2432 17.7329ZM15.4736 16.7478C15.4736 17.3389 15.8605 17.7329 16.4407 17.7329C17.021 17.7329 17.4078 17.3389 17.6012 16.7478L17.6013 8.8665C17.6013 8.47246 17.2144 8.07836 16.8276 7.88137C16.2473 7.88135 15.8605 8.07839 15.667 8.47241L14.5065 10.6398L13.346 8.47242C13.1526 8.0784 12.5723 7.68431 12.1855 7.88135C11.7986 8.07837 11.4118 8.47243 11.4118 8.8665L11.4118 16.7478C11.4118 17.3389 11.7986 17.7329 12.3789 17.7329C12.9592 17.733 13.346 17.3389 13.346 16.7478L13.346 13.0042L13.5394 13.2012C13.9263 13.7923 14.8934 13.7923 15.2802 13.2012L15.4736 13.0042L15.4736 16.7478Z"
54
+ transform="translate(1066.27 680.345) rotate(-30)" fill="white"/>
55
+ </g>
56
+ <g opacity="0.1">
57
+ <path fill-rule="evenodd" clip-rule="evenodd"
58
+ d="M3.86835 0L25.1446 4.60495e-05C27.2722 2.22761e-05 29.0129 1.77328 29.013 3.94067L29.013 21.6736C29.0129 23.8409 27.2722 25.6142 25.1445 25.6142L11.0249 25.6142L5.41578 30.343C5.22238 30.54 5.02887 30.54 4.83547 30.54L4.44868 30.54C4.06179 30.3429 3.86839 29.9489 3.86841 29.5548L3.86839 25.6142C1.74081 25.6142 -4.17564e-05 23.8409 9.22364e-06 21.6736L1.29074e-09 3.94067C-5.47346e-05 1.77328 1.74077 2.37735e-05 3.86835 0ZM4.83546 17.7329L6.76964 17.7329C8.31703 17.7329 9.67095 16.3537 9.67098 14.7774C9.67102 13.2012 8.31706 11.822 6.76967 11.8219C6.18937 11.8219 5.80259 11.4279 5.8026 10.8368C5.80262 10.2457 6.18942 9.85162 6.76971 9.85165L8.7039 9.85164C9.28409 9.8516 9.67101 9.45757 9.67102 8.86648C9.67093 8.27534 9.28414 7.88131 8.70384 7.88129L6.76966 7.88129C5.22227 7.88127 3.86835 9.26051 3.86842 10.8368C3.86838 12.413 5.22234 13.7923 6.76963 13.7922C7.34992 13.7923 7.73682 14.1863 7.7368 14.7774C7.73679 15.3685 7.34999 15.7626 6.76969 15.7626L4.8355 15.7626C4.2552 15.7626 3.8684 16.1567 3.86839 16.7477C3.86837 17.3388 4.25526 17.7329 4.83546 17.7329ZM22.2432 17.7329L20.309 17.7329C19.7289 17.7329 19.342 17.3388 19.342 16.7477C19.342 16.1566 19.7288 15.7626 20.3091 15.7626L22.2433 15.7626C22.8236 15.7626 23.2104 15.3685 23.2104 14.7774C23.2104 14.1863 22.8235 13.7922 22.2432 13.7922C20.6959 13.7923 19.342 12.413 19.342 10.8368C19.3419 9.26048 20.6959 7.88125 22.2433 7.88126L24.1774 7.88127C24.7577 7.88129 25.1445 8.27531 25.1446 8.86646C25.1446 9.45755 24.7577 9.85158 24.1775 9.85162L22.2433 9.85163C21.663 9.85159 21.2762 10.2457 21.2762 10.8368C21.2762 11.4279 21.663 11.8219 22.2433 11.8219C23.7907 11.8219 25.1446 13.2012 25.1446 14.7774C25.1445 16.3536 23.7906 17.7329 22.2432 17.7329ZM15.4736 16.7478C15.4736 17.3389 15.8605 17.733 16.4407 17.7329C17.021 17.7329 17.4078 17.3389 17.6012 16.7478L17.6012 8.86653C17.6013 8.47246 17.2144 8.07837 16.8276 7.88137C16.2473 7.88135 15.8605 8.07841 15.667 8.47241L14.5065 10.6398L13.346 8.47245C13.1526 8.0784 12.5723 7.68432 12.1855 7.88137C11.7986 8.07837 11.4118 8.47246 11.4118 8.86651L11.4118 16.7478C11.4118 17.3389 11.7986 17.7329 12.3789 17.7329C12.9592 17.733 13.346 17.3389 13.346 16.7478L13.346 13.0042L13.5394 13.2012C13.9263 13.7923 14.8934 13.7923 15.2802 13.2012L15.4736 13.0042L15.4736 16.7478Z"
59
+ transform="translate(1127.86 438.314) rotate(-30)" fill="white"/>
60
+ </g>
61
+ <g opacity="0.1">
62
+ <path fill-rule="evenodd" clip-rule="evenodd"
63
+ d="M3.86835 0L25.1446 3.2835e-05C27.2722 1.23652e-05 29.0129 1.77328 29.013 3.94067L29.013 21.6736C29.0129 23.8409 27.2722 25.6142 25.1445 25.6142L11.0249 25.6142L5.41578 30.343C5.22238 30.54 5.02887 30.54 4.83548 30.54L4.44868 30.54C4.06179 30.3429 3.8684 29.9489 3.86841 29.5548L3.86839 25.6142C1.74081 25.6142 -3.88954e-05 23.8409 1.20847e-05 21.6736L1.29074e-09 3.94067C-5.47346e-05 1.77328 1.74077 2.04698e-05 3.86835 0ZM4.83546 17.7329L6.76964 17.7329C8.31703 17.7329 9.67095 16.3537 9.67099 14.7774C9.67103 13.2012 8.31707 11.8219 6.76968 11.8219C6.18938 11.8219 5.80259 11.4279 5.80261 10.8368C5.80262 10.2457 6.18942 9.85162 6.76972 9.85164L8.70391 9.85163C9.2841 9.85159 9.67101 9.45757 9.67102 8.86648C9.67093 8.27533 9.28414 7.8813 8.70385 7.88128L6.76966 7.88128C5.22227 7.88127 3.86835 9.2605 3.86842 10.8368C3.86839 12.413 5.22235 13.7923 6.76963 13.7922C7.34993 13.7922 7.73682 14.1863 7.73681 14.7774C7.73679 15.3685 7.34999 15.7626 6.76969 15.7626L4.83551 15.7626C4.25521 15.7626 3.8684 16.1567 3.86839 16.7477C3.86838 17.3388 4.25527 17.7329 4.83546 17.7329ZM22.2432 17.7329L20.3091 17.7329C19.7289 17.7329 19.342 17.3388 19.342 16.7477C19.342 16.1566 19.7288 15.7625 20.3091 15.7626L22.2433 15.7626C22.8236 15.7626 23.2104 15.3685 23.2104 14.7774C23.2104 14.1863 22.8235 13.7922 22.2432 13.7922C20.6959 13.7922 19.342 12.413 19.342 10.8368C19.3419 9.26048 20.6959 7.88124 22.2433 7.88126L24.1774 7.88125C24.7577 7.88127 25.1445 8.27531 25.1446 8.86646C25.1446 9.45754 24.7577 9.85157 24.1775 9.85161L22.2433 9.85161C21.663 9.85159 21.2762 10.2457 21.2762 10.8368C21.2762 11.4279 21.663 11.8219 22.2433 11.8219C23.7907 11.8219 25.1446 13.2012 25.1446 14.7774C25.1445 16.3536 23.7906 17.7329 22.2432 17.7329ZM15.4736 16.7478C15.4736 17.3389 15.8605 17.733 16.4407 17.7329C17.021 17.7329 17.4078 17.3389 17.6012 16.7478L17.6012 8.86652C17.6013 8.47246 17.2144 8.07837 16.8276 7.88136C16.2473 7.88134 15.8605 8.07839 15.667 8.4724L14.5065 10.6398L13.346 8.47244C13.1526 8.07839 12.5723 7.68431 12.1855 7.88136C11.7986 8.07836 11.4118 8.47244 11.4118 8.8665L11.4118 16.7478C11.4118 17.3389 11.7986 17.7329 12.3789 17.7329C12.9592 17.733 13.346 17.3389 13.346 16.7478L13.346 13.0042L13.5394 13.2012C13.9263 13.7923 14.8934 13.7923 15.2802 13.2012L15.4736 13.0042L15.4736 16.7478Z"
64
+ transform="translate(1081 290.227) rotate(-30)" fill="white"/>
65
+ </g>
66
+ <g opacity="0.1">
67
+ <path fill-rule="evenodd" clip-rule="evenodd"
68
+ d="M0 14.1247C0 6.29886 6.87149 0 15.27 0C23.6685 0 30.54 6.29886 30.54 14.1247C30.54 21.9506 23.6685 28.2495 15.27 28.2495C13.743 28.2495 12.216 28.0586 10.8799 27.6768L5.72624 30.54V25.1955C2.2905 22.5232 0 18.5149 0 14.1247ZM12.9795 14.8882L16.797 19.0875L25.1955 10.1164L17.7514 14.3156L13.743 10.1164L5.3445 19.0875L12.9795 14.8882Z"
69
+ transform="translate(73.9109 474.762) rotate(15)" fill="white"/>
70
+ </g>
71
+ <path opacity="0.1"
72
+ d="M21.4219 16.4784C19.6093 16.3136 17.9615 15.8193 16.3136 15.1601C15.4897 14.8306 14.501 15.1601 14.1714 15.984L13.0179 17.9615C9.55747 16.1488 6.75615 13.1827 4.94352 9.88704L7.08571 8.73355C7.90963 8.40398 8.2392 7.41528 7.90963 6.59136C7.2505 4.94352 6.75615 3.1309 6.59136 1.48306C6.59136 0.659135 5.76744 0 4.94352 0H0.823921C0.329569 0 6.28601e-07 0.329568 6.28601e-07 0.82392C6.28601e-07 4.1196 0.659135 7.41528 2.14219 10.3814C4.28438 14.9953 8.07442 18.6206 12.5236 20.7628C15.4897 22.2458 18.7854 22.905 22.0811 22.905C22.5754 22.905 22.905 22.5754 22.905 22.0811V18.1262C22.905 17.1375 22.2458 16.4784 21.4219 16.4784Z"
73
+ transform="translate(87.0557 648.595) rotate(30)" fill="white"/>
74
+ <path opacity="0.1"
75
+ d="M21.4219 16.4784C19.6093 16.3136 17.9615 15.8193 16.3136 15.1601C15.4897 14.8306 14.501 15.1601 14.1714 15.984L13.0179 17.9615C9.55747 16.1488 6.75615 13.1827 4.94352 9.88704L7.08571 8.73355C7.90963 8.40398 8.2392 7.41528 7.90963 6.59136C7.2505 4.94352 6.75615 3.1309 6.59136 1.48306C6.59136 0.659135 5.76744 0 4.94352 0H0.823921C0.329569 0 6.28601e-07 0.329568 6.28601e-07 0.82392C6.28601e-07 4.1196 0.659135 7.41528 2.14219 10.3814C4.28438 14.9953 8.07442 18.6206 12.5236 20.7628C15.4897 22.2458 18.7854 22.905 22.0811 22.905C22.5754 22.905 22.905 22.5754 22.905 22.0811V18.1262C22.905 17.1375 22.2458 16.4784 21.4219 16.4784Z"
76
+ transform="translate(72.6127 813.598) rotate(5.24419)" fill="white"/>
77
+ <path opacity="0.1"
78
+ d="M21.4219 16.4784C19.6093 16.3136 17.9615 15.8193 16.3136 15.1601C15.4897 14.8306 14.501 15.1601 14.1714 15.984L13.0179 17.9615C9.55747 16.1488 6.75615 13.1827 4.94352 9.88704L7.08571 8.73355C7.90963 8.40398 8.2392 7.41528 7.90963 6.59136C7.2505 4.94352 6.75615 3.1309 6.59136 1.48306C6.59136 0.659135 5.76744 0 4.94352 0H0.823921C0.329569 0 6.28601e-07 0.329568 6.28601e-07 0.82392C6.28601e-07 4.1196 0.659135 7.41528 2.14219 10.3814C4.28438 14.9953 8.07442 18.6206 12.5236 20.7628C15.4897 22.2458 18.7854 22.905 22.0811 22.905C22.5754 22.905 22.905 22.5754 22.905 22.0811V18.1262C22.905 17.1375 22.2458 16.4784 21.4219 16.4784Z"
79
+ transform="translate(1148.14 979.667) rotate(5.24419)" fill="white"/>
80
+ <path opacity="0.1" fill-rule="evenodd" clip-rule="evenodd"
81
+ d="M0 10.689C0 4.88638 4.88641 0 10.689 0C16.4916 0 21.378 4.88638 21.378 10.689C21.378 16.1862 12.8268 25.959 11.9106 26.8752C11.6052 27.1806 10.9944 27.486 10.689 27.486C10.3836 27.486 9.77283 27.1806 9.46741 26.8752C8.55121 25.959 0 16.1862 0 10.689ZM15.2702 10.689C15.2702 13.2191 13.2192 15.27 10.6892 15.27C8.15921 15.27 6.10822 13.2191 6.10822 10.689C6.10822 8.15903 8.15921 6.10803 10.6892 6.10803C13.2192 6.10803 15.2702 8.15903 15.2702 10.689Z"
82
+ transform="translate(40.8526 362.509) rotate(-30)" fill="white"/>
83
+ <g opacity="0.1">
84
+ <path d="M17.1787 25.1446C5.53537 25.1446 0 23.017 0 18.3749C0 17.7946 0.38175 17.4078 0.954374 17.4078C1.90875 17.4078 2.67224 17.2144 3.05399 16.6341C4.19924 15.2802 3.8175 12.7657 3.8175 12.7657C3.8175 5.60917 9.73461 0 17.1787 0C24.6229 0 30.54 5.60917 30.54 12.5723C30.54 19.5354 24.6229 25.1446 17.1787 25.1446ZM2.09962 19.1486C3.05399 21.663 8.20762 23.2104 17.1787 23.2104C23.4776 23.2104 28.6312 18.3749 28.6312 12.5723C28.6312 6.76969 23.4776 1.9342 17.1787 1.9342C10.8799 1.9342 5.72624 6.76969 5.72624 12.5723C5.72624 12.5723 6.29887 15.8604 4.581 17.7946C3.8175 18.5683 3.05399 18.9551 2.09962 19.1486Z"
85
+ transform="translate(1159.05 841.814) rotate(-30)" fill="white"/>
86
+ <path d="M3.8175 7.73679C5.92584 7.73679 7.63499 6.00485 7.63499 3.8684C7.63499 1.73194 5.92584 0 3.8175 0C1.70915 0 0 1.73194 0 3.8684C0 6.00485 1.70915 7.73679 3.8175 7.73679Z"
87
+ transform="translate(1184.56 851.65) rotate(-30)" fill="white"/>
88
+ <path d="M3.8175 7.73679C5.92584 7.73679 7.63499 6.00485 7.63499 3.8684C7.63499 1.73194 5.92584 0 3.8175 0C1.70915 0 0 1.73194 0 3.8684C0 6.00485 1.70915 7.73679 3.8175 7.73679Z"
89
+ transform="translate(1174.64 857.376) rotate(-30)" fill="white"/>
90
+ <path d="M0.954374 1.9342C0.38175 1.9342 0 1.54736 0 0.967099C0 0.38684 0.38175 0 0.954374 0C1.527 0 1.90875 0.38684 1.90875 0.967099C1.90875 1.54736 1.527 1.9342 0.954374 1.9342Z"
91
+ transform="translate(1174.14 843.148) rotate(-30)" fill="white"/>
92
+ <path d="M0.954374 1.9342C0.38175 1.9342 0 1.54736 0 0.967099C0 0.38684 0.38175 0 0.954374 0C1.527 0 1.90875 0.38684 1.90875 0.967099C1.90875 1.54736 1.527 1.9342 0.954374 1.9342Z"
93
+ transform="translate(1180.75 839.331) rotate(-30)" fill="white"/>
94
+ <path d="M5.7759 5.85291C3.10365 5.85291 0.622277 3.91871 0.0496522 1.21083C-0.141223 0.630571 0.24053 0.243734 0.813154 0.0503142C1.38578 -0.143106 1.76753 0.243737 1.9584 0.823996C2.34015 2.56477 3.86715 3.91871 5.7759 3.91871C7.68464 3.91871 9.21164 2.56477 9.59339 0.823996C9.78427 0.243737 10.166 0.0503142 10.7386 0.0503142C11.3113 0.243734 11.5021 0.630571 11.5021 1.21083C10.9295 3.91871 8.44814 5.85291 5.7759 5.85291Z"
95
+ transform="translate(1175.66 847.794) rotate(-30)" fill="white"/>
96
+ </g>
97
+ <g opacity="0.1">
98
+ <path d="M28.599 19.851H1.9066C0.76264 19.851 0 19.1291 0 18.0463V1.80463C0 0.721854 0.76264 0 1.9066 0H28.599C29.7429 0 30.5056 0.721854 30.5056 1.80463V18.0463C30.5056 19.1291 29.7429 19.851 28.599 19.851ZM28.599 18.0463V18.9487V18.0463ZM1.9066 1.80463V18.0463H28.599V1.80463H1.9066Z"
99
+ transform="translate(1124 680.375) rotate(-30)" fill="white"/>
100
+ <path d="M15.27 11.7464C15.0793 11.7464 14.8887 11.7464 14.698 11.5659L0.398512 1.64044C0.0171918 1.27952 -0.173468 0.738126 0.207852 0.377199C0.589172 0.0162723 1.16115 -0.164191 1.54247 0.196736L15.27 9.7613L28.9975 0.196736C29.3788 -0.164191 29.9508 0.0162723 30.3321 0.377199C30.7134 0.738126 30.5228 1.27952 30.1415 1.64044L15.842 11.5659C15.6513 11.7464 15.4606 11.7464 15.27 11.7464Z"
101
+ transform="translate(1124.42 681.151) rotate(-30)" fill="white"/>
102
+ <path d="M12.6586 9.94176C12.468 9.94176 12.2773 9.94176 12.0867 9.7613L0.456417 1.64044C-0.115563 1.27952 -0.115563 0.738126 0.265756 0.377199C0.456416 0.016272 1.0284 -0.164191 1.60038 0.196736L13.2306 8.31759C13.6119 8.67852 13.8026 9.21991 13.4213 9.58084C13.2306 9.7613 13.04 9.94176 12.6586 9.94176Z"
103
+ transform="translate(1143.13 679.729) rotate(-30)" fill="white"/>
104
+ <path d="M0.970491 9.94176C0.589171 9.94176 0.398512 9.7613 0.207852 9.58084C-0.173468 9.21991 0.0171918 8.67852 0.398512 8.31759L12.0288 0.196736C12.6007 -0.164191 13.1727 0.016272 13.3634 0.377199C13.7447 0.738126 13.554 1.27952 13.1727 1.64044L1.54247 9.7613C1.35181 9.94176 1.16115 9.94176 0.970491 9.94176Z"
105
+ transform="translate(1128.48 688.184) rotate(-30)" fill="white"/>
106
+ </g>
107
+ <g opacity="0.1">
108
+ <path d="M25.7387 3.12691C24.9765 2.39545 21.905 0.0567034 15.064 0.0230178C15.064 0.0230178 6.99252 -0.487079 3.0578 3.29534C0.867763 5.59077 0.096429 8.94971 0.0183773 13.1171C-0.0642656 17.2845 -0.169865 25.0851 7.01089 27.2025H7.01548L7.01089 30.4315C7.01089 30.4315 6.96498 31.7404 7.78681 32.0051C8.77853 32.3275 9.36162 31.3362 10.312 30.2631C10.8308 29.676 11.5517 28.8098 12.0934 28.1505C17.0015 28.5836 20.7801 27.5923 21.2071 27.4479C22.1988 27.1111 27.8094 26.3556 28.7184 18.5549C29.6596 10.5137 28.2593 5.42234 25.7387 3.12691ZM26.5697 17.9775C25.7984 24.4932 21.2484 24.9071 20.4128 25.1862C20.0547 25.3065 16.7398 26.1727 12.5709 25.884C12.5709 25.884 9.46263 29.8107 8.49387 30.8358C8.34236 30.9946 8.1633 31.0619 8.04393 31.0282C7.87864 30.9849 7.83273 30.778 7.83273 30.4748C7.83732 30.0417 7.86027 25.1092 7.86027 25.1092C7.85568 25.1092 7.85568 25.1092 7.86027 25.1092C1.79061 23.3431 2.14414 16.6974 2.21301 13.2182C2.28188 9.73892 2.90629 6.89008 4.75657 4.97481C8.08525 1.81798 14.94 2.28958 14.94 2.28958C20.7296 2.31845 23.5027 4.14229 24.1455 4.75344C26.2759 6.67352 27.364 11.2596 26.5697 17.9775Z"
109
+ transform="translate(1120.86 1041.52) rotate(15)" fill="white"/>
110
+ <path d="M2.314 2.50717C2.24054 0.914324 1.46921 0.0818081 0 1.46858e-07"
111
+ transform="translate(1133.19 1055.62) rotate(15)" stroke="white" stroke-width="0.518873"
112
+ stroke-linecap="round" stroke-linejoin="round"/>
113
+ <path d="M4.88971 5.38008C4.92185 3.89791 4.50404 2.66116 3.6317 1.66503C2.75936 0.6689 1.55185 0.115494 2.80229e-07 2.93715e-07"
114
+ transform="translate(1133.19 1053.37) rotate(15)" stroke="white" stroke-width="0.518873"
115
+ stroke-linecap="round" stroke-linejoin="round"/>
116
+ <path d="M7.60315 8.32035C7.58479 5.74581 6.85018 3.72467 5.40393 2.2425C3.95768 0.765145 2.15331 0.0144368 -5.60458e-07 1.46858e-07"
117
+ transform="translate(1133.07 1051.16) rotate(15)" stroke="white" stroke-width="0.518873"
118
+ stroke-linecap="round" stroke-linejoin="round"/>
119
+ <path d="M9.25322 11.71C9.25322 11.71 9.79958 11.7581 10.0888 11.378L10.6582 10.6273C10.9336 10.2519 11.5994 10.0161 12.2513 10.3963C12.614 10.6128 13.266 11.0315 13.67 11.3443C14.1016 11.6763 14.9877 12.4511 14.9877 12.4511C15.4101 12.8217 15.5065 13.3702 15.2219 13.9477C15.2219 13.9525 15.2173 13.9573 15.2173 13.9573C14.9234 14.5011 14.5286 15.016 14.0281 15.4924C14.0236 15.4973 14.0236 15.4973 14.019 15.5021C13.6103 15.8582 13.2063 16.0651 12.8115 16.1132C12.7655 16.1228 12.7059 16.1277 12.637 16.1228C12.4625 16.1228 12.2926 16.0988 12.1228 16.041L12.109 16.0218C11.4984 15.8437 10.4837 15.3914 8.7895 14.4145C7.6876 13.7793 6.77393 13.1296 6.0026 12.4848C5.59397 12.1479 5.17617 11.763 4.74918 11.3202C4.73541 11.3058 4.72163 11.2914 4.70786 11.2769C4.69408 11.2625 4.68031 11.2481 4.66654 11.2336C4.65276 11.2192 4.63899 11.2047 4.62522 11.1903C4.61144 11.1759 4.59767 11.1614 4.58389 11.147C4.1615 10.6995 3.79419 10.2615 3.47281 9.83325C2.85757 9.0248 2.23775 8.06235 1.6317 6.91223C0.699675 5.13652 0.268095 4.07301 0.0982181 3.43298L0.0798526 3.41855C0.0247573 3.2405 -0.00279024 3.06244 0.00180104 2.87958C-0.00279024 2.80739 0.0018009 2.74483 0.0109834 2.69671C0.0568962 2.28286 0.254322 1.85938 0.594076 1.4311C0.598667 1.42628 0.598667 1.42628 0.603258 1.42147C1.05779 0.896937 1.54447 0.483086 2.06787 0.175103C2.07247 0.175103 2.07706 0.17029 2.07706 0.17029C2.62801 -0.128068 3.15142 -0.027011 3.50494 0.415714C3.50954 0.420527 4.24414 1.34448 4.56094 1.79683C4.85937 2.22511 5.2634 2.90364 5.46542 3.28381C5.82813 3.96714 5.60316 4.66492 5.24504 4.95365L4.5288 5.55037C4.16609 5.85835 4.212 6.42619 4.212 6.42619C4.212 6.42619 5.27718 10.6465 9.25322 11.71Z"
120
+ transform="translate(1125.31 1049.61) rotate(15)" fill="white"/>
121
+ </g>
122
+ <g opacity="0.1">
123
+ <path d="M5.15362 -3.68919e-07L0 9.28415L10.8799 2.70788L5.15362 -3.68919e-07Z"
124
+ transform="translate(629.801 24.9079) rotate(-30)" fill="#E0E0E0"/>
125
+ <path d="M30.1582 0.19342C29.9673 0 29.5856 0 29.2038 0L0.572624 11.6052C0.190875 11.7986 0 12.1854 0 12.5723C0 12.9591 0.190875 13.346 0.572624 13.5394L25.3863 25.1446C25.5772 25.1446 25.5772 25.1446 25.7681 25.1446C25.959 25.1446 26.1498 25.1446 26.1498 24.9512C26.3407 24.7577 26.5316 24.5643 26.7225 24.1775L30.54 0.967099C30.54 0.773679 30.54 0.38684 30.1582 0.19342Z"
126
+ transform="translate(611.671 12.5941) rotate(-30)" fill="white"/>
127
+ <path d="M20.0419 0L0 16.6341V28.0459L5.34449 19.1486L20.0419 0Z"
128
+ transform="translate(620.42 8.65979) rotate(-30)" fill="#F2F2F2"/>
129
+ </g>
130
+ <g opacity="0.1">
131
+ <path d="M5.15362 -3.68919e-07L0 9.28415L10.8799 2.70788L5.15362 -3.68919e-07Z"
132
+ transform="translate(470.533 62.2398) rotate(-30)" fill="#E0E0E0"/>
133
+ <path d="M30.1582 0.19342C29.9673 0 29.5856 0 29.2038 0L0.572624 11.6052C0.190875 11.7986 0 12.1854 0 12.5723C0 12.9591 0.190875 13.346 0.572624 13.5394L25.3863 25.1446C25.5772 25.1446 25.5772 25.1446 25.7681 25.1446C25.959 25.1446 26.1498 25.1446 26.1498 24.9512C26.3407 24.7577 26.5316 24.5643 26.7225 24.1775L30.54 0.967099C30.54 0.773679 30.54 0.38684 30.1582 0.19342Z"
134
+ transform="translate(452.403 49.926) rotate(-30)" fill="white"/>
135
+ <path d="M20.0419 0L0 16.6341V28.0459L5.34449 19.1486L20.0419 0Z"
136
+ transform="translate(461.152 45.9917) rotate(-30)" fill="#F2F2F2"/>
137
+ </g>
138
+ <g opacity="0.1">
139
+ <path d="M5.15362 -3.68919e-07L0 9.28415L10.8799 2.70788L5.15362 -3.68919e-07Z"
140
+ transform="translate(1146.54 108.458) rotate(-30)" fill="#E0E0E0"/>
141
+ <path d="M30.1582 0.19342C29.9673 0 29.5856 0 29.2038 0L0.572624 11.6052C0.190875 11.7986 0 12.1854 0 12.5723C0 12.9591 0.190875 13.346 0.572624 13.5394L25.3863 25.1446C25.5772 25.1446 25.5772 25.1446 25.7681 25.1446C25.959 25.1446 26.1498 25.1446 26.1498 24.9512C26.3407 24.7577 26.5316 24.5643 26.7225 24.1775L30.54 0.967099C30.54 0.773679 30.54 0.38684 30.1582 0.19342Z"
142
+ transform="translate(1128.41 96.144) rotate(-30)" fill="white"/>
143
+ <path d="M20.0419 0L0 16.6341V28.0459L5.34449 19.1486L20.0419 0Z"
144
+ transform="translate(1137.16 92.2097) rotate(-30)" fill="#F2F2F2"/>
145
+ </g>
146
+ <g opacity="0.1">
147
+ <path d="M5.15362 -3.68919e-07L0 9.28415L10.8799 2.70788L5.15362 -3.68919e-07Z"
148
+ transform="translate(750.376 27.973) rotate(-30)" fill="#E0E0E0"/>
149
+ <path d="M30.1582 0.19342C29.9673 0 29.5856 0 29.2038 0L0.572624 11.6052C0.190875 11.7986 0 12.1854 0 12.5723C0 12.9591 0.190875 13.346 0.572624 13.5394L25.3863 25.1446C25.5772 25.1446 25.5772 25.1446 25.7681 25.1446C25.959 25.1446 26.1498 25.1446 26.1498 24.9512C26.3407 24.7577 26.5316 24.5643 26.7225 24.1775L30.54 0.967099C30.54 0.773679 30.54 0.38684 30.1582 0.19342Z"
150
+ transform="translate(732.246 15.6592) rotate(-30)" fill="white"/>
151
+ <path d="M20.0419 0L0 16.6341V28.0459L5.34449 19.1486L20.0419 0Z"
152
+ transform="translate(740.995 11.7249) rotate(-30)" fill="#F2F2F2"/>
153
+ </g>
154
+ <path opacity="0.1"
155
+ d="M30.1783 21.8084C26.1673 21.0295 24.2573 16.9405 24.2573 16.7457C24.0663 16.3563 24.0663 15.9669 24.0663 15.7722C24.2573 15.188 25.2123 14.9933 25.7853 14.7986C25.9763 14.7986 26.1673 14.6038 26.1673 14.6038C26.7403 14.4091 27.1223 14.2144 27.3133 13.825C27.6953 13.4355 27.6953 13.2408 27.6953 13.0461C27.6953 12.4619 27.3133 12.0725 26.7403 11.8778C26.5493 11.8778 26.3583 11.6831 26.1673 11.6831C25.9763 11.6831 25.7853 11.6831 25.5943 11.8778C25.0213 12.0725 24.6393 12.2672 24.2573 12.2672C24.0663 12.2672 23.8753 12.2672 23.8753 12.2672C23.8753 12.0725 23.8753 11.8778 23.8753 11.6831C24.0663 9.54118 24.2573 7.00984 23.4932 5.4521C23.1112 4.47851 22.3472 3.50492 21.5832 2.72605C21.0102 2.1419 20.2462 1.55774 19.2912 1.16831C17.7632 6.96366e-07 16.4262 0 15.8532 0C15.6622 0 15.2802 0 15.2802 0C14.5162 0 13.1791 0.194717 11.8421 0.778871C11.0781 1.16831 10.3141 1.75246 9.55011 2.33662C8.7861 3.11549 8.21309 4.08908 7.64009 5.06267C6.87608 6.62041 7.06708 9.15174 7.25808 11.2936C7.25808 11.4884 7.25808 11.6831 7.25808 12.0725C7.06708 12.0725 7.06708 12.0725 6.68508 12.0725C6.30307 12.0725 5.92107 11.8778 5.34806 11.6831C5.15706 11.6831 4.96606 11.4884 4.77505 11.4884C4.39305 11.4884 4.20205 11.4884 3.82004 11.6831C3.43804 11.8778 3.24703 12.2672 3.24703 12.4619C3.24703 12.6567 3.24703 13.0461 3.62904 13.6303C3.82004 13.825 4.20205 14.0197 4.77505 14.2144C4.96606 14.2144 4.96605 14.4091 5.15705 14.4091C5.73006 14.6038 6.49407 14.7986 6.87607 15.3827C7.06708 15.5774 6.87608 15.9669 6.68508 16.3563C6.68508 16.551 6.11206 17.5246 5.15705 18.6929C4.58405 19.2771 4.01104 19.8612 3.24703 20.4454C2.48302 21.0295 1.52802 21.419 0.573008 21.419C0.191004 21.419 2.91446e-06 21.8084 2.91446e-06 22.1978C2.91446e-06 22.3926 2.91446e-06 22.3926 2.91446e-06 22.5873C0.191005 22.9767 0.573009 23.1714 0.955013 23.5609C1.71902 23.9503 2.67403 24.145 4.01104 24.3397C4.01104 24.5345 4.20204 24.7292 4.20204 24.9239C4.20204 25.1186 4.39305 25.3133 4.39305 25.7028C4.39305 25.8975 4.77505 26.2869 5.15705 26.2869C5.34805 26.2869 5.53906 26.2869 5.92106 26.0922C6.30307 26.0922 6.87607 25.8975 7.44908 25.8975C7.83108 25.8975 8.21309 25.8975 8.5951 26.0922C9.3591 26.2869 9.93211 26.6764 10.6961 27.2605C11.8421 28.0394 12.9881 29.013 14.8982 29.013H15.0892H15.2802C17.1902 29.013 18.3362 28.0394 19.4822 27.2605C20.2462 26.6764 20.8192 26.2869 21.5832 26.0922C21.9652 26.0922 22.3472 25.8975 22.7293 25.8975C23.3023 25.8975 23.8753 25.8975 24.2573 26.0922C24.6393 26.0922 24.8303 26.0922 25.0213 26.0922C25.4033 26.0922 25.7853 25.8975 25.7853 25.508C25.7853 25.3133 25.9763 25.1186 25.9763 24.7292C25.9763 24.5345 26.1673 24.145 26.1673 24.145C27.5043 23.9503 28.4593 23.7556 29.2233 23.3662C29.7963 23.1714 30.1783 22.782 30.1783 22.3926C30.1783 22.1978 30.1783 22.1978 30.1783 22.0031C30.7513 22.1978 30.5603 21.8084 30.1783 21.8084Z"
156
+ transform="translate(45.104 36.6945) rotate(15)" fill="white"/>
157
+ <path opacity="0.1"
158
+ d="M42.4653 30.6876C36.8212 29.5916 34.1335 23.8377 34.1335 23.5637C33.8647 23.0157 33.8647 22.4677 33.8647 22.1937C34.1335 21.3717 35.4773 21.0977 36.2836 20.8237C36.5524 20.8237 36.8212 20.5497 36.8212 20.5497C37.6275 20.2757 38.165 20.0017 38.4338 19.4537C38.9713 18.9058 38.9713 18.6318 38.9713 18.3578C38.9713 17.5358 38.4338 16.9878 37.6275 16.7138C37.3587 16.7138 37.0899 16.4398 36.8212 16.4398C36.5524 16.4398 36.2836 16.4398 36.0149 16.7138C35.2086 16.9878 34.671 17.2618 34.1335 17.2618C33.8647 17.2618 33.596 17.2618 33.596 17.2618C33.596 16.9878 33.596 16.7138 33.596 16.4398C33.8647 13.4258 34.1335 9.86387 33.0584 7.6719C32.5209 6.30191 31.4458 4.93193 30.3707 3.83595C29.5644 3.01396 28.4894 2.19197 27.1455 1.64398C24.9954 9.79887e-07 23.114 0 22.3077 0C22.0389 0 21.5014 0 21.5014 0C20.4263 0 18.545 0.273995 16.6636 1.09598C15.5885 1.64398 14.5135 2.46597 13.4384 3.28796C12.3633 4.38394 11.557 5.75392 10.7507 7.12391C9.67564 9.31588 9.9444 12.8778 10.2132 15.8918C10.2132 16.1658 10.2132 16.4398 10.2132 16.9878C9.9444 16.9878 9.94441 16.9878 9.40687 16.9878C8.86934 16.9878 8.3318 16.7138 7.5255 16.4398C7.25673 16.4398 6.98796 16.1658 6.71919 16.1658C6.18166 16.1658 5.91289 16.1658 5.37536 16.4398C4.83782 16.7138 4.56905 17.2618 4.56905 17.5358C4.56905 17.8098 4.56905 18.3578 5.10658 19.1797C5.37535 19.4537 5.91289 19.7277 6.71919 20.0017C6.98796 20.0017 6.98795 20.2757 7.25672 20.2757C8.06302 20.5497 9.1381 20.8237 9.67563 21.6457C9.9444 21.9197 9.67564 22.4677 9.40687 23.0157C9.40687 23.2897 8.60056 24.6597 7.25672 26.3037C6.45042 27.1256 5.64412 27.9476 4.56905 28.7696C3.49398 29.5916 2.15014 30.1396 0.806305 30.1396C0.26877 30.1396 4.10107e-06 30.6876 4.10107e-06 31.2356C4.10107e-06 31.5096 4.10107e-06 31.5096 4.10107e-06 31.7836C0.268772 32.3316 0.806307 32.6056 1.34384 33.1536C2.41891 33.7016 3.76275 33.9756 5.64412 34.2495C5.64412 34.5235 5.91288 34.7975 5.91288 35.0715C5.91288 35.3455 6.18166 35.6195 6.18166 36.1675C6.18166 36.4415 6.71919 36.9895 7.25672 36.9895C7.52549 36.9895 7.79426 36.9895 8.3318 36.7155C8.86933 36.7155 9.67563 36.4415 10.4819 36.4415C11.0195 36.4415 11.557 36.4415 12.0945 36.7155C13.1696 36.9895 13.9759 37.5375 15.051 38.3595C16.6636 39.4555 18.2762 40.8255 20.9639 40.8255H21.2327H21.5014C24.1891 40.8255 25.8017 39.4555 27.4143 38.3595C28.4894 37.5375 29.2957 36.9895 30.3707 36.7155C30.9083 36.7155 31.4458 36.4415 31.9834 36.4415C32.7897 36.4415 33.596 36.4415 34.1335 36.7155C34.671 36.7155 34.9398 36.7155 35.2086 36.7155C35.7461 36.7155 36.2836 36.4415 36.2836 35.8935C36.2836 35.6195 36.5524 35.3455 36.5524 34.7975C36.5524 34.5235 36.8212 33.9755 36.8212 33.9755C38.7025 33.7016 40.0464 33.4276 41.1214 32.8796C41.9277 32.6056 42.4653 32.0576 42.4653 31.5096C42.4653 31.2356 42.4653 31.2356 42.4653 30.9616C43.2716 31.2356 43.0028 30.6876 42.4653 30.6876Z"
159
+ transform="translate(1109.55 355.131) rotate(-33.199)" fill="white"/>
160
+ <path opacity="0.1"
161
+ d="M30.1783 21.8084C26.1673 21.0295 24.2573 16.9405 24.2573 16.7457C24.0663 16.3563 24.0663 15.9669 24.0663 15.7722C24.2573 15.188 25.2123 14.9933 25.7853 14.7986C25.9763 14.7986 26.1673 14.6038 26.1673 14.6038C26.7403 14.4091 27.1223 14.2144 27.3133 13.825C27.6953 13.4355 27.6953 13.2408 27.6953 13.0461C27.6953 12.4619 27.3133 12.0725 26.7403 11.8778C26.5493 11.8778 26.3583 11.6831 26.1673 11.6831C25.9763 11.6831 25.7853 11.6831 25.5943 11.8778C25.0213 12.0725 24.6393 12.2672 24.2573 12.2672C24.0663 12.2672 23.8753 12.2672 23.8753 12.2672C23.8753 12.0725 23.8753 11.8778 23.8753 11.6831C24.0663 9.54118 24.2573 7.00984 23.4932 5.4521C23.1112 4.47851 22.3472 3.50492 21.5832 2.72605C21.0102 2.1419 20.2462 1.55774 19.2912 1.16831C17.7632 6.96366e-07 16.4262 0 15.8532 0C15.6622 0 15.2802 0 15.2802 0C14.5162 0 13.1791 0.194717 11.8421 0.778871C11.0781 1.16831 10.3141 1.75246 9.55011 2.33662C8.7861 3.11549 8.21309 4.08908 7.64009 5.06267C6.87608 6.62041 7.06708 9.15174 7.25808 11.2936C7.25808 11.4884 7.25808 11.6831 7.25808 12.0725C7.06708 12.0725 7.06708 12.0725 6.68508 12.0725C6.30307 12.0725 5.92107 11.8778 5.34806 11.6831C5.15706 11.6831 4.96606 11.4884 4.77505 11.4884C4.39305 11.4884 4.20205 11.4884 3.82004 11.6831C3.43804 11.8778 3.24703 12.2672 3.24703 12.4619C3.24703 12.6567 3.24703 13.0461 3.62904 13.6303C3.82004 13.825 4.20205 14.0197 4.77505 14.2144C4.96606 14.2144 4.96605 14.4091 5.15705 14.4091C5.73006 14.6038 6.49407 14.7986 6.87607 15.3827C7.06708 15.5774 6.87608 15.9669 6.68508 16.3563C6.68508 16.551 6.11206 17.5246 5.15705 18.6929C4.58405 19.2771 4.01104 19.8612 3.24703 20.4454C2.48302 21.0295 1.52802 21.419 0.573008 21.419C0.191004 21.419 2.91446e-06 21.8084 2.91446e-06 22.1978C2.91446e-06 22.3926 2.91446e-06 22.3926 2.91446e-06 22.5873C0.191005 22.9767 0.573009 23.1714 0.955013 23.5609C1.71902 23.9503 2.67403 24.145 4.01104 24.3397C4.01104 24.5345 4.20204 24.7292 4.20204 24.9239C4.20204 25.1186 4.39305 25.3133 4.39305 25.7028C4.39305 25.8975 4.77505 26.2869 5.15705 26.2869C5.34805 26.2869 5.53906 26.2869 5.92106 26.0922C6.30307 26.0922 6.87607 25.8975 7.44908 25.8975C7.83108 25.8975 8.21309 25.8975 8.5951 26.0922C9.3591 26.2869 9.93211 26.6764 10.6961 27.2605C11.8421 28.0394 12.9881 29.013 14.8982 29.013H15.0892H15.2802C17.1902 29.013 18.3362 28.0394 19.4822 27.2605C20.2462 26.6764 20.8192 26.2869 21.5832 26.0922C21.9652 26.0922 22.3472 25.8975 22.7293 25.8975C23.3023 25.8975 23.8753 25.8975 24.2573 26.0922C24.6393 26.0922 24.8303 26.0922 25.0213 26.0922C25.4033 26.0922 25.7853 25.8975 25.7853 25.508C25.7853 25.3133 25.9763 25.1186 25.9763 24.7292C25.9763 24.5345 26.1673 24.145 26.1673 24.145C27.5043 23.9503 28.4593 23.7556 29.2233 23.3662C29.7963 23.1714 30.1783 22.782 30.1783 22.3926C30.1783 22.1978 30.1783 22.1978 30.1783 22.0031C30.7513 22.1978 30.5603 21.8084 30.1783 21.8084Z"
162
+ transform="translate(1130.4 743.387) rotate(15)" fill="white"/>
163
+ <g opacity="0.1">
164
+ <path fill-rule="evenodd" clip-rule="evenodd"
165
+ d="M15.5581 1.14523C23.6253 1.14523 30.1558 7.44412 30.1558 15.4608C30.1558 16.4152 30.1558 17.5605 29.5796 18.5149C30.1558 19.4692 30.54 20.8054 30.54 22.1415C30.54 26.7225 26.6985 30.54 22.0887 30.54C20.552 30.54 19.2075 30.1582 18.0551 29.5856C17.0947 29.7765 16.3264 29.7765 15.366 29.7765C7.29886 29.7765 0.768311 23.4776 0.768311 15.4608C0.768311 14.5065 0.960373 13.5521 1.15245 12.5977C0.38414 11.4525 0 9.92551 0 8.3985C0 3.8175 3.84151 0 8.45131 0C10.18 0 11.7166 0.572632 13.0611 1.33612C13.8294 1.14526 14.7898 1.14523 15.5581 1.14523ZM19.9758 24.6229C21.3204 24.0502 22.2807 23.2867 23.0491 22.3324C23.8174 21.378 24.0094 20.2327 23.6253 19.0875C23.6253 18.1331 23.4332 17.3696 23.0491 16.6061C22.6649 15.8426 22.0887 15.27 21.3204 14.8882C20.5521 14.5065 19.7838 14.1248 18.8234 13.743C18.4158 13.662 17.9736 13.5466 17.5115 13.426C16.8848 13.2625 16.2214 13.0894 15.5581 12.9795C15.0163 12.7641 14.5356 12.6703 14.1505 12.5951C13.8531 12.537 13.6127 12.4901 13.4453 12.4069C13.0611 12.4069 12.677 12.216 12.2928 12.0251C11.9087 11.8343 11.5245 11.6434 11.3325 11.4525C10.9483 11.2616 10.9483 11.0707 10.9483 10.689C10.9483 10.1164 11.3325 9.73462 11.9087 9.35287C12.4849 8.97113 13.4453 8.78024 14.4057 8.78024C15.5581 8.78024 16.3264 8.97113 16.9026 9.35287C17.4789 9.73462 17.863 10.1164 18.2472 10.8799C18.6313 11.4525 19.0155 11.8343 19.2076 12.0251C19.5917 12.216 19.9758 12.4069 20.5521 12.4069C21.1283 12.4069 21.7045 12.216 22.0887 11.8343C22.4728 11.4525 22.6649 11.0707 22.6649 10.4981C22.6649 9.92551 22.6649 9.35287 22.2807 8.78024C22.1389 8.3573 21.7874 8.03845 21.3812 7.66992C21.2374 7.53955 21.0868 7.40292 20.9362 7.25327C20.1679 6.87149 19.3996 6.48975 18.4392 6.108C17.4789 5.91714 16.3264 5.72626 14.9819 5.72626C13.4453 5.72626 11.9087 5.91714 10.7562 6.29889C9.41171 6.68063 8.45132 7.44412 7.87511 8.20764C7.29887 8.97113 6.91473 9.92551 6.91473 11.0707C6.91473 12.216 7.29887 13.1704 7.87511 13.9339C8.45132 14.6974 9.41171 15.27 10.3721 15.6517C11.3325 16.0335 12.677 16.4153 14.2136 16.797C15.366 16.9879 16.3264 17.1787 16.9026 17.3696C17.4789 17.5605 18.0551 17.7514 18.4392 18.1331C18.8234 18.5149 19.0155 18.8966 19.0155 19.4692C19.0155 20.0419 18.6313 20.6145 17.863 21.1871C17.0947 21.7597 16.1344 21.9506 14.9819 21.9506C14.2136 21.9506 13.4453 21.7597 12.8691 21.5689C12.4849 21.378 12.1008 20.9962 11.7166 20.6145C11.6584 20.4989 11.5827 20.3658 11.4999 20.2205C11.3095 19.8859 11.0822 19.4867 10.9483 19.0875C10.9113 19.014 10.8743 18.9333 10.8359 18.8498C10.6751 18.4993 10.4902 18.0963 10.18 17.9423C9.79587 17.7514 9.41171 17.5605 8.83548 17.5605C8.25926 17.5605 7.68304 17.7514 7.29889 18.1331C6.91473 18.5149 6.72266 18.8966 6.72266 19.4692C6.72266 20.4236 7.10681 21.1871 7.68303 22.1415C8.45134 23.0959 9.21964 23.6685 10.18 24.2411C11.5245 25.0046 13.2532 25.3864 15.366 25.3864C17.0947 25.3864 18.6313 25.1955 19.9758 24.6229Z"
166
+ transform="translate(198 -0.271942) rotate(30)" fill="white"/>
167
+ </g>
168
+
169
+
170
+ </g>
171
+ <defs>
172
+ <filter id="filter0_f" x="123.892" y="1238.2" width="952.215" height="80.0585" filterUnits="userSpaceOnUse"
173
+ color-interpolation-filters="sRGB">
174
+ <feFlood flood-opacity="0" result="BackgroundImageFix"/>
175
+ <feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"/>
176
+ <feGaussianBlur stdDeviation="9.5" result="effect1_foregroundBlur"/>
177
+ </filter>
178
+ <filter id="filter1_d" x="65" y="20" width="1070" height="1316" filterUnits="userSpaceOnUse"
179
+ color-interpolation-filters="sRGB">
180
+ <feFlood flood-opacity="0" result="BackgroundImageFix"/>
181
+ <feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 255 0"/>
182
+ <feOffset dy="4"/>
183
+ <feGaussianBlur stdDeviation="27"/>
184
+ <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0"/>
185
+ <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow"/>
186
+ <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow" result="shape"/>
187
+ </filter>
188
+ <filter id="filter2_d" x="232.892" y="320.381" width="310.108" height="69.2021" filterUnits="userSpaceOnUse"
189
+ color-interpolation-filters="sRGB">
190
+ <feFlood flood-opacity="0" result="BackgroundImageFix"/>
191
+ <feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 255 0"/>
192
+ <feOffset dy="4"/>
193
+ <feGaussianBlur stdDeviation="7"/>
194
+ <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"/>
195
+ <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow"/>
196
+ <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow" result="shape"/>
197
+ </filter>
198
+ <filter id="filter3_d" x="263" y="751" width="21" height="21" filterUnits="userSpaceOnUse"
199
+ color-interpolation-filters="sRGB">
200
+ <feFlood flood-opacity="0" result="BackgroundImageFix"/>
201
+ <feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 255 0"/>
202
+ <feOffset dy="1"/>
203
+ <feGaussianBlur stdDeviation="1.5"/>
204
+ <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"/>
205
+ <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow"/>
206
+ <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow" result="shape"/>
207
+ </filter>
208
+ <filter id="filter4_d" x="368.112" y="751" width="21" height="21" filterUnits="userSpaceOnUse"
209
+ color-interpolation-filters="sRGB">
210
+ <feFlood flood-opacity="0" result="BackgroundImageFix"/>
211
+ <feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 255 0"/>
212
+ <feOffset dy="1"/>
213
+ <feGaussianBlur stdDeviation="1.5"/>
214
+ <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"/>
215
+ <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow"/>
216
+ <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow" result="shape"/>
217
+ </filter>
218
+ <filter id="filter5_d" x="232.892" y="410.203" width="310.108" height="69.2021" filterUnits="userSpaceOnUse"
219
+ color-interpolation-filters="sRGB">
220
+ <feFlood flood-opacity="0" result="BackgroundImageFix"/>
221
+ <feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 255 0"/>
222
+ <feOffset dy="4"/>
223
+ <feGaussianBlur stdDeviation="7"/>
224
+ <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"/>
225
+ <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow"/>
226
+ <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow" result="shape"/>
227
+ </filter>
228
+ <filter id="filter6_d" x="252" y="895.778" width="411.711" height="62.2579" filterUnits="userSpaceOnUse"
229
+ color-interpolation-filters="sRGB">
230
+ <feFlood flood-opacity="0" result="BackgroundImageFix"/>
231
+ <feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 255 0"/>
232
+ <feOffset dy="4"/>
233
+ <feGaussianBlur stdDeviation="7"/>
234
+ <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"/>
235
+ <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow"/>
236
+ <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow" result="shape"/>
237
+ </filter>
238
+ <filter id="filter7_d" x="282.541" y="1106.97" width="100.096" height="62.2579" filterUnits="userSpaceOnUse"
239
+ color-interpolation-filters="sRGB">
240
+ <feFlood flood-opacity="0" result="BackgroundImageFix"/>
241
+ <feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 255 0"/>
242
+ <feOffset dy="4"/>
243
+ <feGaussianBlur stdDeviation="7"/>
244
+ <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"/>
245
+ <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow"/>
246
+ <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow" result="shape"/>
247
+ </filter>
248
+ <filter id="filter8_d" x="259" y="797" width="118" height="37" filterUnits="userSpaceOnUse"
249
+ color-interpolation-filters="sRGB">
250
+ <feFlood flood-opacity="0" result="BackgroundImageFix"/>
251
+ <feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 255 0"/>
252
+ <feOffset dy="1"/>
253
+ <feGaussianBlur stdDeviation="3.5"/>
254
+ <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.08 0"/>
255
+ <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow"/>
256
+ <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow" result="shape"/>
257
+ </filter>
258
+ <filter id="filter9_d" x="503.619" y="398.822" width="50.7628" height="50.7628" filterUnits="userSpaceOnUse"
259
+ color-interpolation-filters="sRGB">
260
+ <feFlood flood-opacity="0" result="BackgroundImageFix"/>
261
+ <feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 255 0"/>
262
+ <feOffset dy="4"/>
263
+ <feGaussianBlur stdDeviation="7"/>
264
+ <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"/>
265
+ <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow"/>
266
+ <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow" result="shape"/>
267
+ </filter>
268
+ <filter id="filter10_d" x="252" y="846.739" width="50.7628" height="50.7628" filterUnits="userSpaceOnUse"
269
+ color-interpolation-filters="sRGB">
270
+ <feFlood flood-opacity="0" result="BackgroundImageFix"/>
271
+ <feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 255 0"/>
272
+ <feOffset dy="4"/>
273
+ <feGaussianBlur stdDeviation="7"/>
274
+ <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"/>
275
+ <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow"/>
276
+ <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow" result="shape"/>
277
+ </filter>
278
+ <filter id="filter11_d" x="322" y="1108.41" width="58.7628" height="58.7628" filterUnits="userSpaceOnUse"
279
+ color-interpolation-filters="sRGB">
280
+ <feFlood flood-opacity="0" result="BackgroundImageFix"/>
281
+ <feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 255 0"/>
282
+ <feOffset dy="4"/>
283
+ <feGaussianBlur stdDeviation="7"/>
284
+ <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"/>
285
+ <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow"/>
286
+ <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow" result="shape"/>
287
+ </filter>
288
+ <filter id="filter12_d" x="503.619" y="309" width="50.7628" height="50.7628" filterUnits="userSpaceOnUse"
289
+ color-interpolation-filters="sRGB">
290
+ <feFlood flood-opacity="0" result="BackgroundImageFix"/>
291
+ <feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 255 0"/>
292
+ <feOffset dy="4"/>
293
+ <feGaussianBlur stdDeviation="7"/>
294
+ <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"/>
295
+ <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow"/>
296
+ <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow" result="shape"/>
297
+ </filter>
298
+ <filter id="filter13_d" x="232.892" y="499.838" width="310.108" height="69.2021" filterUnits="userSpaceOnUse"
299
+ color-interpolation-filters="sRGB">
300
+ <feFlood flood-opacity="0" result="BackgroundImageFix"/>
301
+ <feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 255 0"/>
302
+ <feOffset dy="4"/>
303
+ <feGaussianBlur stdDeviation="7"/>
304
+ <feColorMatrix type="matrix" values="0 0 0 0 0.700873 0 0 0 0 0.700873 0 0 0 0 0.700873 0 0 0 0.15 0"/>
305
+ <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow"/>
306
+ <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow" result="shape"/>
307
+ </filter>
308
+ <filter id="filter14_d" x="503.619" y="488.456" width="50.7628" height="50.7628" filterUnits="userSpaceOnUse"
309
+ color-interpolation-filters="sRGB">
310
+ <feFlood flood-opacity="0" result="BackgroundImageFix"/>
311
+ <feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 255 0"/>
312
+ <feOffset dy="4"/>
313
+ <feGaussianBlur stdDeviation="7"/>
314
+ <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"/>
315
+ <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow"/>
316
+ <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow" result="shape"/>
317
+ </filter>
318
+ <filter id="filter15_d" x="263" y="966.24" width="21" height="21" filterUnits="userSpaceOnUse"
319
+ color-interpolation-filters="sRGB">
320
+ <feFlood flood-opacity="0" result="BackgroundImageFix"/>
321
+ <feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 255 0"/>
322
+ <feOffset dy="1"/>
323
+ <feGaussianBlur stdDeviation="1.5"/>
324
+ <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"/>
325
+ <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow"/>
326
+ <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow" result="shape"/>
327
+ </filter>
328
+ <filter id="filter16_d" x="414.859" y="846.739" width="50.7628" height="50.7628" filterUnits="userSpaceOnUse"
329
+ color-interpolation-filters="sRGB">
330
+ <feFlood flood-opacity="0" result="BackgroundImageFix"/>
331
+ <feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 255 0"/>
332
+ <feOffset dy="4"/>
333
+ <feGaussianBlur stdDeviation="7"/>
334
+ <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"/>
335
+ <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow"/>
336
+ <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow" result="shape"/>
337
+ </filter>
338
+ <filter id="filter17_d" x="329" y="846.739" width="50.7628" height="50.7628" filterUnits="userSpaceOnUse"
339
+ color-interpolation-filters="sRGB">
340
+ <feFlood flood-opacity="0" result="BackgroundImageFix"/>
341
+ <feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 255 0"/>
342
+ <feOffset dy="4"/>
343
+ <feGaussianBlur stdDeviation="7"/>
344
+ <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"/>
345
+ <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow"/>
346
+ <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow" result="shape"/>
347
+ </filter>
348
+ <filter id="filter18_f" x="461.54" y="1204.83" width="276.102" height="68.8126" filterUnits="userSpaceOnUse"
349
+ color-interpolation-filters="sRGB">
350
+ <feFlood flood-opacity="0" result="BackgroundImageFix"/>
351
+ <feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"/>
352
+ <feGaussianBlur stdDeviation="9.5" result="effect1_foregroundBlur"/>
353
+ </filter>
354
+ <filter id="filter19_d" x="649" y="303" width="407" height="264" filterUnits="userSpaceOnUse"
355
+ color-interpolation-filters="sRGB">
356
+ <feFlood flood-opacity="0" result="BackgroundImageFix"/>
357
+ <feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 255 0"/>
358
+ <feOffset dy="4"/>
359
+ <feGaussianBlur stdDeviation="17.5"/>
360
+ <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.05 0"/>
361
+ <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow"/>
362
+ <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow" result="shape"/>
363
+ </filter>
364
+ <filter id="filter20_d" x="649" y="303" width="407" height="84.9871" filterUnits="userSpaceOnUse"
365
+ color-interpolation-filters="sRGB">
366
+ <feFlood flood-opacity="0" result="BackgroundImageFix"/>
367
+ <feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 255 0"/>
368
+ <feOffset dy="4"/>
369
+ <feGaussianBlur stdDeviation="17.5"/>
370
+ <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.05 0"/>
371
+ <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow"/>
372
+ <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow" result="shape"/>
373
+ </filter>
374
+ <filter id="filter21_d" x="658.205" y="307.614" width="76.1174" height="76.121" filterUnits="userSpaceOnUse"
375
+ color-interpolation-filters="sRGB">
376
+ <feFlood flood-opacity="0" result="BackgroundImageFix"/>
377
+ <feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 255 0"/>
378
+ <feOffset dy="4"/>
379
+ <feGaussianBlur stdDeviation="17.5"/>
380
+ <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.05 0"/>
381
+ <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow"/>
382
+ <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow" result="shape"/>
383
+ </filter>
384
+ <filter id="filter22_d" x="672.573" y="307.614" width="76.1174" height="76.121" filterUnits="userSpaceOnUse"
385
+ color-interpolation-filters="sRGB">
386
+ <feFlood flood-opacity="0" result="BackgroundImageFix"/>
387
+ <feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 255 0"/>
388
+ <feOffset dy="4"/>
389
+ <feGaussianBlur stdDeviation="17.5"/>
390
+ <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.05 0"/>
391
+ <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow"/>
392
+ <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow" result="shape"/>
393
+ </filter>
394
+ <filter id="filter23_d" x="687.283" y="307.614" width="76.1174" height="76.121" filterUnits="userSpaceOnUse"
395
+ color-interpolation-filters="sRGB">
396
+ <feFlood flood-opacity="0" result="BackgroundImageFix"/>
397
+ <feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 255 0"/>
398
+ <feOffset dy="4"/>
399
+ <feGaussianBlur stdDeviation="17.5"/>
400
+ <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.05 0"/>
401
+ <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow"/>
402
+ <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow" result="shape"/>
403
+ </filter>
404
+ <filter id="filter24_d" x="997.649" y="327.514" width="31.7105" height="31.491" filterUnits="userSpaceOnUse"
405
+ color-interpolation-filters="sRGB">
406
+ <feFlood flood-opacity="0" result="BackgroundImageFix"/>
407
+ <feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 255 0"/>
408
+ <feOffset dy="4"/>
409
+ <feGaussianBlur stdDeviation="7.5"/>
410
+ <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.1 0"/>
411
+ <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow"/>
412
+ <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow" result="shape"/>
413
+ </filter>
414
+ <filter id="filter25_d" x="997.649" y="330.198" width="31.7105" height="31.491" filterUnits="userSpaceOnUse"
415
+ color-interpolation-filters="sRGB">
416
+ <feFlood flood-opacity="0" result="BackgroundImageFix"/>
417
+ <feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 255 0"/>
418
+ <feOffset dy="4"/>
419
+ <feGaussianBlur stdDeviation="7.5"/>
420
+ <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.1 0"/>
421
+ <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow"/>
422
+ <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow" result="shape"/>
423
+ </filter>
424
+ <filter id="filter26_d" x="997.649" y="332.882" width="31.7105" height="31.491" filterUnits="userSpaceOnUse"
425
+ color-interpolation-filters="sRGB">
426
+ <feFlood flood-opacity="0" result="BackgroundImageFix"/>
427
+ <feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 255 0"/>
428
+ <feOffset dy="4"/>
429
+ <feGaussianBlur stdDeviation="7.5"/>
430
+ <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.1 0"/>
431
+ <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow"/>
432
+ <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow" result="shape"/>
433
+ </filter>
434
+ <filter id="filter27_d" x="687" y="490" width="38" height="38" filterUnits="userSpaceOnUse"
435
+ color-interpolation-filters="sRGB">
436
+ <feFlood flood-opacity="0" result="BackgroundImageFix"/>
437
+ <feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 255 0"/>
438
+ <feOffset dy="3"/>
439
+ <feGaussianBlur stdDeviation="3"/>
440
+ <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0"/>
441
+ <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow"/>
442
+ <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow" result="shape"/>
443
+ </filter>
444
+ <filter id="filter28_d" x="718.197" y="490" width="107.803" height="36" filterUnits="userSpaceOnUse"
445
+ color-interpolation-filters="sRGB">
446
+ <feFlood flood-opacity="0" result="BackgroundImageFix"/>
447
+ <feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 255 0"/>
448
+ <feOffset dy="1"/>
449
+ <feGaussianBlur stdDeviation="2"/>
450
+ <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"/>
451
+ <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow"/>
452
+ <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow" result="shape"/>
453
+ </filter>
454
+ <filter id="filter29_d" x="736.5" y="12.5" width="142" height="45" filterUnits="userSpaceOnUse"
455
+ color-interpolation-filters="sRGB">
456
+ <feFlood flood-opacity="0" result="BackgroundImageFix"/>
457
+ <feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 255 0"/>
458
+ <feOffset dy="4"/>
459
+ <feGaussianBlur stdDeviation="2"/>
460
+ <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.11 0"/>
461
+ <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow"/>
462
+ <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow" result="shape"/>
463
+ </filter>
464
+ <linearGradient id="paint0_linear" x2="1" gradientUnits="userSpaceOnUse"
465
+ gradientTransform="matrix(1091.43 1312.52 -1186.01 1491.17 604.227 -730.108)">
466
+ <stop stop-color="#6371DB"/>
467
+ <stop offset="1" stop-color="#FF89C4"/>
468
+ </linearGradient>
469
+ <linearGradient id="paint1_linear" x2="1" gradientUnits="userSpaceOnUse"
470
+ gradientTransform="translate(51.2225 -8.66092) scale(80.7879 38.3881) rotate(63.1774)">
471
+ <stop stop-color="#6371DB"/>
472
+ <stop offset="1" stop-color="#FF89C4"/>
473
+ </linearGradient>
474
+ <linearGradient id="paint2_linear" x2="1" gradientUnits="userSpaceOnUse"
475
+ gradientTransform="translate(16.1725 -5.75478) scale(25.5071) rotate(63.1774)">
476
+ <stop stop-color="#6371DB"/>
477
+ <stop offset="1" stop-color="#FF89C4"/>
478
+ </linearGradient>
479
+ <linearGradient id="paint3_linear" x2="1" gradientUnits="userSpaceOnUse"
480
+ gradientTransform="translate(16.1725 -5.75478) scale(25.5071) rotate(63.1774)">
481
+ <stop stop-color="#6371DB"/>
482
+ <stop offset="1" stop-color="#FF89C4"/>
483
+ </linearGradient>
484
+ <linearGradient id="paint4_linear" x2="1" gradientUnits="userSpaceOnUse"
485
+ gradientTransform="translate(7.66235 -2.21336) scale(12.085 9.81037) rotate(63.1774)">
486
+ <stop stop-color="#6371DB"/>
487
+ <stop offset="1" stop-color="#FF89C4"/>
488
+ </linearGradient>
489
+ <linearGradient id="paint5_linear" x2="1" gradientUnits="userSpaceOnUse"
490
+ gradientTransform="translate(9.1143 -3.24321) scale(14.375) rotate(63.1774)">
491
+ <stop stop-color="#6371DB"/>
492
+ <stop offset="1" stop-color="#FF89C4"/>
493
+ </linearGradient>
494
+ <linearGradient id="paint6_linear" x2="1" gradientUnits="userSpaceOnUse"
495
+ gradientTransform="translate(169.166 -7.78989) scale(266.808 34.5274) rotate(63.1774)">
496
+ <stop stop-color="#6371DB"/>
497
+ <stop offset="1" stop-color="#FF89C4"/>
498
+ </linearGradient>
499
+ <linearGradient id="paint7_linear" x2="1" gradientUnits="userSpaceOnUse"
500
+ gradientTransform="matrix(196.326 26.5802 -205.396 511.661 124.27 -253.384)">
501
+ <stop stop-color="#FF6624"/>
502
+ <stop offset="1" stop-color="#FF6376"/>
503
+ </linearGradient>
504
+ <linearGradient id="paint8_linear" x2="1" gradientUnits="userSpaceOnUse"
505
+ gradientTransform="matrix(225.251 42.4755 -235.658 817.64 142.578 -404.911)">
506
+ <stop stop-color="#FF6624"/>
507
+ <stop offset="1" stop-color="#FF6376"/>
508
+ </linearGradient>
509
+ <linearGradient id="paint9_linear" x2="1" gradientUnits="userSpaceOnUse"
510
+ gradientTransform="matrix(202.014 43.1321 -211.347 830.279 127.87 -411.17)">
511
+ <stop stop-color="#FF6624"/>
512
+ <stop offset="1" stop-color="#FF6376"/>
513
+ </linearGradient>
514
+ <linearGradient id="paint10_linear" x2="1" gradientUnits="userSpaceOnUse"
515
+ gradientTransform="translate(4.34627 -1.54749) scale(6.85491 6.85901) rotate(63.1774)">
516
+ <stop stop-color="#6371DB"/>
517
+ <stop offset="1" stop-color="#FF89C4"/>
518
+ </linearGradient>
519
+ <linearGradient id="paint11_linear" x2="1" gradientUnits="userSpaceOnUse"
520
+ gradientTransform="translate(4.34627 -1.54749) scale(6.85491 6.85901) rotate(63.1774)">
521
+ <stop stop-color="#6371DB"/>
522
+ <stop offset="1" stop-color="#FF89C4"/>
523
+ </linearGradient>
524
+ <linearGradient id="paint12_linear" x2="1" gradientUnits="userSpaceOnUse"
525
+ gradientTransform="translate(4.34627 -1.54749) scale(6.85491 6.85901) rotate(63.1774)">
526
+ <stop stop-color="#6371DB"/>
527
+ <stop offset="1" stop-color="#FF89C4"/>
528
+ </linearGradient>
529
+ <clipPath id="clip0">
530
+ <rect width="1200" height="1328" fill="white"/>
531
+ </clipPath>
532
+ </defs>
533
+ </svg>
assets/images/icon-check-purple.svg CHANGED
@@ -1,3 +1,3 @@
1
- <svg width="15" height="13" viewBox="0 0 15 13" fill="none" xmlns="http://www.w3.org/2000/svg">
2
- <path d="M0 4.33036L3.6206 8.75486L10.7848 0" transform="translate(2 2)" stroke="#A886CD" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"/>
3
- </svg>
1
+ <svg width="15" height="13" viewBox="0 0 15 13" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M0 4.33036L3.6206 8.75486L10.7848 0" transform="translate(2 2)" stroke="#A886CD" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"/>
3
+ </svg>
assets/images/icon-check-white.svg CHANGED
@@ -1,3 +1,3 @@
1
- <svg width="15" height="13" viewBox="0 0 15 13" fill="none" xmlns="http://www.w3.org/2000/svg">
2
- <path d="M0 4.33036L3.6206 8.75486L10.7848 0" transform="translate(2 2)" stroke="white" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"/>
3
- </svg>
1
+ <svg width="15" height="13" viewBox="0 0 15 13" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M0 4.33036L3.6206 8.75486L10.7848 0" transform="translate(2 2)" stroke="white" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"/>
3
+ </svg>
assets/images/icon-check.svg CHANGED
@@ -1,9 +1,9 @@
1
- <svg width="15" height="13" viewBox="0 0 15 13" fill="none" xmlns="http://www.w3.org/2000/svg">
2
- <path d="M0 4.33036L3.6206 8.75486L10.7848 0" transform="translate(1.92804 1.91522)" stroke="url(#paint0_linear)" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"/>
3
- <defs>
4
- <linearGradient id="paint0_linear" x2="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(7.66235 -2.21336) scale(12.085 9.81037) rotate(63.1774)">
5
- <stop stop-color="#6371DB"/>
6
- <stop offset="1" stop-color="#FF89C4"/>
7
- </linearGradient>
8
- </defs>
9
- </svg>
1
+ <svg width="15" height="13" viewBox="0 0 15 13" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M0 4.33036L3.6206 8.75486L10.7848 0" transform="translate(1.92804 1.91522)" stroke="url(#paint0_linear)" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"/>
3
+ <defs>
4
+ <linearGradient id="paint0_linear" x2="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(7.66235 -2.21336) scale(12.085 9.81037) rotate(63.1774)">
5
+ <stop stop-color="#6371DB"/>
6
+ <stop offset="1" stop-color="#FF89C4"/>
7
+ </linearGradient>
8
+ </defs>
9
+ </svg>
assets/images/logo.svg CHANGED
@@ -1,5 +1,5 @@
1
- <svg width="116" height="56" viewBox="0 0 116 56" fill="none" xmlns="http://www.w3.org/2000/svg">
2
- <path d="M8.604 47.18C6.252 47.18 4.416 46.52 3.096 45.2C1.8 43.856 1.152 42.092 1.152 39.908C1.152 37.964 1.536 36.26 2.304 34.796C3.072 33.332 4.068 32.204 5.292 31.412C6.516 30.62 7.8 30.224 9.144 30.224C10.464 30.224 11.484 30.62 12.204 31.412C12.948 32.18 13.32 33.176 13.32 34.4C13.32 35.408 13.092 36.26 12.636 36.956C12.204 37.652 11.628 38 10.908 38C10.452 38 10.08 37.892 9.792 37.676C9.528 37.46 9.396 37.16 9.396 36.776C9.396 36.608 9.42 36.416 9.468 36.2C9.516 35.984 9.552 35.828 9.576 35.732C9.696 35.372 9.756 35.036 9.756 34.724C9.756 34.412 9.672 34.172 9.504 34.004C9.36 33.836 9.144 33.752 8.856 33.752C8.304 33.752 7.788 34.004 7.308 34.508C6.828 34.988 6.444 35.648 6.156 36.488C5.868 37.328 5.724 38.252 5.724 39.26C5.724 42.044 6.936 43.436 9.36 43.436C10.344 43.436 11.4 43.112 12.528 42.464C13.68 41.792 14.808 40.796 15.912 39.476C16.2 39.14 16.524 38.972 16.884 38.972C17.196 38.972 17.436 39.116 17.604 39.404C17.796 39.692 17.892 40.088 17.892 40.592C17.892 41.504 17.664 42.248 17.208 42.824C16.08 44.216 14.724 45.296 13.14 46.064C11.58 46.808 10.068 47.18 8.604 47.18ZM34.9619 38.972C35.2739 38.972 35.5139 39.116 35.6819 39.404C35.8739 39.692 35.9699 40.088 35.9699 40.592C35.9699 41.552 35.7419 42.296 35.2859 42.824C34.1819 44.096 33.0419 45.14 31.8659 45.956C30.7139 46.772 29.3939 47.18 27.9059 47.18C26.6819 47.18 25.7579 46.832 25.1339 46.136C24.5099 45.416 24.1979 44.384 24.1979 43.04C24.1979 42.368 24.3659 41.168 24.7019 39.44C25.0139 37.928 25.1699 36.884 25.1699 36.308C25.1699 35.924 25.0379 35.732 24.7739 35.732C24.4619 35.732 24.0179 36.14 23.4419 36.956C22.8659 37.748 22.2899 38.804 21.7139 40.124C21.1379 41.444 20.6699 42.836 20.3099 44.3C19.8539 46.22 18.7259 47.18 16.9259 47.18C16.2059 47.18 15.7259 46.928 15.4859 46.424C15.2699 45.896 15.1619 44.96 15.1619 43.616C15.1619 42.848 15.1739 42.236 15.1979 41.78L15.2339 38.9C15.2339 35.204 15.6059 31.352 16.3499 27.344C17.1179 23.336 18.2339 19.976 19.6979 17.264C21.1859 14.528 22.9619 13.16 25.0259 13.16C26.1299 13.16 27.0179 13.64 27.6899 14.6C28.3859 15.536 28.7339 16.76 28.7339 18.272C28.7339 20.696 28.0259 23.216 26.6099 25.832C25.1939 28.424 22.8899 31.46 19.6979 34.94C19.6259 36.188 19.5899 37.472 19.5899 38.792C20.3819 36.752 21.2579 35.096 22.2179 33.824C23.2019 32.528 24.1619 31.604 25.0979 31.052C26.0579 30.5 26.9339 30.224 27.7259 30.224C29.2859 30.224 30.0659 31.004 30.0659 32.564C30.0659 33.5 29.8019 35.192 29.2739 37.64C28.8179 39.728 28.5899 41.108 28.5899 41.78C28.5899 42.74 28.9379 43.22 29.6339 43.22C30.1139 43.22 30.6779 42.932 31.3259 42.356C31.9979 41.756 32.8859 40.796 33.9899 39.476C34.2779 39.14 34.6019 38.972 34.9619 38.972ZM24.2699 16.724C23.8379 16.724 23.3579 17.348 22.8299 18.596C22.3019 19.82 21.7859 21.488 21.2819 23.6C20.8019 25.688 20.4059 27.968 20.0939 30.44C21.5819 28.688 22.8059 26.78 23.7659 24.716C24.7499 22.652 25.2419 20.78 25.2419 19.1C25.2419 18.332 25.1579 17.744 24.9899 17.336C24.8219 16.928 24.5819 16.724 24.2699 16.724ZM37.4802 47.18C35.9922 47.18 34.8042 46.64 33.9162 45.56C33.0282 44.48 32.5842 43.064 32.5842 41.312C32.5842 39.392 33.0282 37.58 33.9162 35.876C34.8042 34.148 35.9802 32.768 37.4442 31.736C38.9322 30.68 40.5042 30.152 42.1602 30.152C42.6882 30.152 43.0362 30.26 43.2042 30.476C43.3962 30.668 43.5522 31.028 43.6722 31.556C44.1762 31.46 44.7042 31.412 45.2562 31.412C46.4322 31.412 47.0202 31.832 47.0202 32.672C47.0202 33.176 46.8402 34.376 46.4802 36.272C45.9282 39.032 45.6522 40.952 45.6522 42.032C45.6522 42.392 45.7362 42.68 45.9042 42.896C46.0962 43.112 46.3362 43.22 46.6242 43.22C47.0802 43.22 47.6322 42.932 48.2802 42.356C48.9282 41.756 49.8042 40.796 50.9082 39.476C51.1962 39.14 51.5202 38.972 51.8802 38.972C52.1922 38.972 52.4322 39.116 52.6002 39.404C52.7922 39.692 52.8882 40.088 52.8882 40.592C52.8882 41.552 52.6602 42.296 52.2042 42.824C51.2202 44.048 50.1762 45.08 49.0722 45.92C47.9682 46.76 46.9002 47.18 45.8682 47.18C45.0762 47.18 44.3442 46.916 43.6722 46.388C43.0242 45.836 42.5322 45.092 42.1962 44.156C40.9482 46.172 39.3762 47.18 37.4802 47.18ZM38.7762 43.544C39.3042 43.544 39.8082 43.232 40.2882 42.608C40.7682 41.984 41.1162 41.156 41.3322 40.124L42.6642 33.5C41.6562 33.524 40.7202 33.908 39.8562 34.652C39.0162 35.372 38.3442 36.332 37.8402 37.532C37.3362 38.732 37.0842 40.004 37.0842 41.348C37.0842 42.092 37.2282 42.644 37.5162 43.004C37.8282 43.364 38.2482 43.544 38.7762 43.544ZM66.0184 38.972C66.3304 38.972 66.5704 39.116 66.7384 39.404C66.9304 39.692 67.0264 40.088 67.0264 40.592C67.0264 41.552 66.7984 42.296 66.3424 42.824C65.3104 44.096 64.1824 45.14 62.9584 45.956C61.7344 46.772 60.3304 47.18 58.7464 47.18C53.8504 47.18 51.4024 43.736 51.4024 36.848C51.4024 35.792 51.4384 34.724 51.5104 33.644H50.1064C49.3864 33.644 48.8944 33.512 48.6304 33.248C48.3904 32.984 48.2704 32.564 48.2704 31.988C48.2704 30.644 48.8104 29.972 49.8904 29.972H51.9424C52.3504 27.332 52.9744 24.92 53.8144 22.736C54.6544 20.552 55.6624 18.812 56.8384 17.516C58.0384 16.22 59.3224 15.572 60.6904 15.572C61.6984 15.572 62.4904 16.016 63.0664 16.904C63.6424 17.792 63.9304 18.908 63.9304 20.252C63.9304 23.972 62.3704 27.212 59.2504 29.972H63.2824C63.6664 29.972 63.9424 30.056 64.1104 30.224C64.2784 30.392 64.3624 30.704 64.3624 31.16C64.3624 32.816 63.0064 33.644 60.2944 33.644H55.9024C55.8544 34.844 55.8304 35.78 55.8304 36.452C55.8304 38.948 56.1184 40.7 56.6944 41.708C57.2944 42.716 58.2304 43.22 59.5024 43.22C60.5344 43.22 61.4464 42.908 62.2384 42.284C63.0304 41.66 63.9664 40.724 65.0464 39.476C65.3344 39.14 65.6584 38.972 66.0184 38.972ZM59.7184 19.028C59.3584 19.028 58.9504 19.484 58.4944 20.396C58.0624 21.284 57.6424 22.532 57.2344 24.14C56.8504 25.724 56.5264 27.488 56.2624 29.432C57.6784 28.208 58.7344 26.84 59.4304 25.328C60.1504 23.792 60.5104 22.4 60.5104 21.152C60.5104 19.736 60.2464 19.028 59.7184 19.028ZM76.6952 30.224C77.2472 30.224 77.6312 30.296 77.8472 30.44C78.0632 30.584 78.1712 30.824 78.1712 31.16C78.1712 31.736 77.8592 33.788 77.2352 37.316C76.6832 40.7 76.3592 42.704 76.2632 43.328C75.3752 49.496 74.1512 54.38 72.5912 57.98C71.0312 61.58 68.9552 63.38 66.3632 63.38C65.1392 63.38 64.1432 62.996 63.3752 62.228C62.6072 61.484 62.2232 60.5 62.2232 59.276C62.2232 58.148 62.4752 56.996 62.9792 55.82C63.5072 54.644 64.4672 53.288 65.8592 51.752C67.2752 50.24 69.2672 48.5 71.8352 46.532L71.9432 45.704C72.1112 44.816 72.3032 43.544 72.5192 41.888C72.0392 43.616 71.3672 44.936 70.5032 45.848C69.6392 46.736 68.7272 47.18 67.7672 47.18C66.6872 47.18 65.7992 46.688 65.1032 45.704C64.4312 44.696 64.0952 43.448 64.0952 41.96C64.0952 40.16 64.2152 38.516 64.4552 37.028C64.6952 35.516 65.0912 33.92 65.6432 32.24C65.8832 31.52 66.2192 31.004 66.6512 30.692C67.0832 30.38 67.7672 30.224 68.7032 30.224C69.2312 30.224 69.5912 30.308 69.7832 30.476C69.9992 30.644 70.1072 30.896 70.1072 31.232C70.1072 31.424 69.9752 32.072 69.7112 33.176C69.4712 34.064 69.2792 34.868 69.1352 35.588C68.9432 36.572 68.7752 37.52 68.6312 38.432C68.4872 39.32 68.4152 40.052 68.4152 40.628C68.4152 41.54 68.6672 41.996 69.1712 41.996C69.5312 41.996 69.9752 41.636 70.5032 40.916C71.0552 40.196 71.6312 39.104 72.2312 37.64C72.8552 36.176 73.4552 34.376 74.0312 32.24C74.2232 31.52 74.5112 31.004 74.8952 30.692C75.3032 30.38 75.9032 30.224 76.6952 30.224ZM66.7592 59.888C67.3592 59.888 68.0312 59.192 68.7752 57.8C69.5192 56.408 70.2632 54.092 71.0072 50.852C69.1592 52.412 67.8152 53.828 66.9752 55.1C66.1592 56.396 65.7512 57.524 65.7512 58.484C65.7512 58.892 65.8232 59.228 65.9672 59.492C66.1352 59.756 66.3992 59.888 66.7592 59.888Z" transform="translate(37 -8)" fill="white"/>
3
- <path d="M20.625 0H3.75C1.6875 0 0 1.6875 0 3.75V15C0 17.0625 1.6875 18.75 3.75 18.75H17.4375L22.875 24.1875C23.0625 24.375 23.25 24.375 23.625 24.375C23.8125 24.375 23.8125 24.375 24 24.375C24.375 24.1875 24.5625 23.8125 24.5625 23.4375V3.75C24.375 1.6875 22.6875 0 20.625 0Z" transform="translate(0 23.625)" fill="white"/>
4
- <path d="M20.625 0H3.75C1.6875 0 0 1.6875 0 3.75H15C18.1875 3.75 20.625 6.1875 20.625 9.375V21.9375L22.6875 24C22.875 24.1875 23.0625 24.1875 23.4375 24.1875C23.625 24.1875 23.625 24.1875 23.8125 24.1875C24.1875 24 24.375 23.625 24.375 23.25V3.75C24.375 1.6875 22.6875 0 20.625 0Z" transform="translate(5.625 18)" fill="white"/>
5
- </svg>
1
+ <svg width="116" height="56" viewBox="0 0 116 56" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M8.604 47.18C6.252 47.18 4.416 46.52 3.096 45.2C1.8 43.856 1.152 42.092 1.152 39.908C1.152 37.964 1.536 36.26 2.304 34.796C3.072 33.332 4.068 32.204 5.292 31.412C6.516 30.62 7.8 30.224 9.144 30.224C10.464 30.224 11.484 30.62 12.204 31.412C12.948 32.18 13.32 33.176 13.32 34.4C13.32 35.408 13.092 36.26 12.636 36.956C12.204 37.652 11.628 38 10.908 38C10.452 38 10.08 37.892 9.792 37.676C9.528 37.46 9.396 37.16 9.396 36.776C9.396 36.608 9.42 36.416 9.468 36.2C9.516 35.984 9.552 35.828 9.576 35.732C9.696 35.372 9.756 35.036 9.756 34.724C9.756 34.412 9.672 34.172 9.504 34.004C9.36 33.836 9.144 33.752 8.856 33.752C8.304 33.752 7.788 34.004 7.308 34.508C6.828 34.988 6.444 35.648 6.156 36.488C5.868 37.328 5.724 38.252 5.724 39.26C5.724 42.044 6.936 43.436 9.36 43.436C10.344 43.436 11.4 43.112 12.528 42.464C13.68 41.792 14.808 40.796 15.912 39.476C16.2 39.14 16.524 38.972 16.884 38.972C17.196 38.972 17.436 39.116 17.604 39.404C17.796 39.692 17.892 40.088 17.892 40.592C17.892 41.504 17.664 42.248 17.208 42.824C16.08 44.216 14.724 45.296 13.14 46.064C11.58 46.808 10.068 47.18 8.604 47.18ZM34.9619 38.972C35.2739 38.972 35.5139 39.116 35.6819 39.404C35.8739 39.692 35.9699 40.088 35.9699 40.592C35.9699 41.552 35.7419 42.296 35.2859 42.824C34.1819 44.096 33.0419 45.14 31.8659 45.956C30.7139 46.772 29.3939 47.18 27.9059 47.18C26.6819 47.18 25.7579 46.832 25.1339 46.136C24.5099 45.416 24.1979 44.384 24.1979 43.04C24.1979 42.368 24.3659 41.168 24.7019 39.44C25.0139 37.928 25.1699 36.884 25.1699 36.308C25.1699 35.924 25.0379 35.732 24.7739 35.732C24.4619 35.732 24.0179 36.14 23.4419 36.956C22.8659 37.748 22.2899 38.804 21.7139 40.124C21.1379 41.444 20.6699 42.836 20.3099 44.3C19.8539 46.22 18.7259 47.18 16.9259 47.18C16.2059 47.18 15.7259 46.928 15.4859 46.424C15.2699 45.896 15.1619 44.96 15.1619 43.616C15.1619 42.848 15.1739 42.236 15.1979 41.78L15.2339 38.9C15.2339 35.204 15.6059 31.352 16.3499 27.344C17.1179 23.336 18.2339 19.976 19.6979 17.264C21.1859 14.528 22.9619 13.16 25.0259 13.16C26.1299 13.16 27.0179 13.64 27.6899 14.6C28.3859 15.536 28.7339 16.76 28.7339 18.272C28.7339 20.696 28.0259 23.216 26.6099 25.832C25.1939 28.424 22.8899 31.46 19.6979 34.94C19.6259 36.188 19.5899 37.472 19.5899 38.792C20.3819 36.752 21.2579 35.096 22.2179 33.824C23.2019 32.528 24.1619 31.604 25.0979 31.052C26.0579 30.5 26.9339 30.224 27.7259 30.224C29.2859 30.224 30.0659 31.004 30.0659 32.564C30.0659 33.5 29.8019 35.192 29.2739 37.64C28.8179 39.728 28.5899 41.108 28.5899 41.78C28.5899 42.74 28.9379 43.22 29.6339 43.22C30.1139 43.22 30.6779 42.932 31.3259 42.356C31.9979 41.756 32.8859 40.796 33.9899 39.476C34.2779 39.14 34.6019 38.972 34.9619 38.972ZM24.2699 16.724C23.8379 16.724 23.3579 17.348 22.8299 18.596C22.3019 19.82 21.7859 21.488 21.2819 23.6C20.8019 25.688 20.4059 27.968 20.0939 30.44C21.5819 28.688 22.8059 26.78 23.7659 24.716C24.7499 22.652 25.2419 20.78 25.2419 19.1C25.2419 18.332 25.1579 17.744 24.9899 17.336C24.8219 16.928 24.5819 16.724 24.2699 16.724ZM37.4802 47.18C35.9922 47.18 34.8042 46.64 33.9162 45.56C33.0282 44.48 32.5842 43.064 32.5842 41.312C32.5842 39.392 33.0282 37.58 33.9162 35.876C34.8042 34.148 35.9802 32.768 37.4442 31.736C38.9322 30.68 40.5042 30.152 42.1602 30.152C42.6882 30.152 43.0362 30.26 43.2042 30.476C43.3962 30.668 43.5522 31.028 43.6722 31.556C44.1762 31.46 44.7042 31.412 45.2562 31.412C46.4322 31.412 47.0202 31.832 47.0202 32.672C47.0202 33.176 46.8402 34.376 46.4802 36.272C45.9282 39.032 45.6522 40.952 45.6522 42.032C45.6522 42.392 45.7362 42.68 45.9042 42.896C46.0962 43.112 46.3362 43.22 46.6242 43.22C47.0802 43.22 47.6322 42.932 48.2802 42.356C48.9282 41.756 49.8042 40.796 50.9082 39.476C51.1962 39.14 51.5202 38.972 51.8802 38.972C52.1922 38.972 52.4322 39.116 52.6002 39.404C52.7922 39.692 52.8882 40.088 52.8882 40.592C52.8882 41.552 52.6602 42.296 52.2042 42.824C51.2202 44.048 50.1762 45.08 49.0722 45.92C47.9682 46.76 46.9002 47.18 45.8682 47.18C45.0762 47.18 44.3442 46.916 43.6722 46.388C43.0242 45.836 42.5322 45.092 42.1962 44.156C40.9482 46.172 39.3762 47.18 37.4802 47.18ZM38.7762 43.544C39.3042 43.544 39.8082 43.232 40.2882 42.608C40.7682 41.984 41.1162 41.156 41.3322 40.124L42.6642 33.5C41.6562 33.524 40.7202 33.908 39.8562 34.652C39.0162 35.372 38.3442 36.332 37.8402 37.532C37.3362 38.732 37.0842 40.004 37.0842 41.348C37.0842 42.092 37.2282 42.644 37.5162 43.004C37.8282 43.364 38.2482 43.544 38.7762 43.544ZM66.0184 38.972C66.3304 38.972 66.5704 39.116 66.7384 39.404C66.9304 39.692 67.0264 40.088 67.0264 40.592C67.0264 41.552 66.7984 42.296 66.3424 42.824C65.3104 44.096 64.1824 45.14 62.9584 45.956C61.7344 46.772 60.3304 47.18 58.7464 47.18C53.8504 47.18 51.4024 43.736 51.4024 36.848C51.4024 35.792 51.4384 34.724 51.5104 33.644H50.1064C49.3864 33.644 48.8944 33.512 48.6304 33.248C48.3904 32.984 48.2704 32.564 48.2704 31.988C48.2704 30.644 48.8104 29.972 49.8904 29.972H51.9424C52.3504 27.332 52.9744 24.92 53.8144 22.736C54.6544 20.552 55.6624 18.812 56.8384 17.516C58.0384 16.22 59.3224 15.572 60.6904 15.572C61.6984 15.572 62.4904 16.016 63.0664 16.904C63.6424 17.792 63.9304 18.908 63.9304 20.252C63.9304 23.972 62.3704 27.212 59.2504 29.972H63.2824C63.6664 29.972 63.9424 30.056 64.1104 30.224C64.2784 30.392 64.3624 30.704 64.3624 31.16C64.3624 32.816 63.0064 33.644 60.2944 33.644H55.9024C55.8544 34.844 55.8304 35.78 55.8304 36.452C55.8304 38.948 56.1184 40.7 56.6944 41.708C57.2944 42.716 58.2304 43.22 59.5024 43.22C60.5344 43.22 61.4464 42.908 62.2384 42.284C63.0304 41.66 63.9664 40.724 65.0464 39.476C65.3344 39.14 65.6584 38.972 66.0184 38.972ZM59.7184 19.028C59.3584 19.028 58.9504 19.484 58.4944 20.396C58.0624 21.284 57.6424 22.532 57.2344 24.14C56.8504 25.724 56.5264 27.488 56.2624 29.432C57.6784 28.208 58.7344 26.84 59.4304 25.328C60.1504 23.792 60.5104 22.4 60.5104 21.152C60.5104 19.736 60.2464 19.028 59.7184 19.028ZM76.6952 30.224C77.2472 30.224 77.6312 30.296 77.8472 30.44C78.0632 30.584 78.1712 30.824 78.1712 31.16C78.1712 31.736 77.8592 33.788 77.2352 37.316C76.6832 40.7 76.3592 42.704 76.2632 43.328C75.3752 49.496 74.1512 54.38 72.5912 57.98C71.0312 61.58 68.9552 63.38 66.3632 63.38C65.1392 63.38 64.1432 62.996 63.3752 62.228C62.6072 61.484 62.2232 60.5 62.2232 59.276C62.2232 58.148 62.4752 56.996 62.9792 55.82C63.5072 54.644 64.4672 53.288 65.8592 51.752C67.2752 50.24 69.2672 48.5 71.8352 46.532L71.9432 45.704C72.1112 44.816 72.3032 43.544 72.5192 41.888C72.0392 43.616 71.3672 44.936 70.5032 45.848C69.6392 46.736 68.7272 47.18 67.7672 47.18C66.6872 47.18 65.7992 46.688 65.1032 45.704C64.4312 44.696 64.0952 43.448 64.0952 41.96C64.0952 40.16 64.2152 38.516 64.4552 37.028C64.6952 35.516 65.0912 33.92 65.6432 32.24C65.8832 31.52 66.2192 31.004 66.6512 30.692C67.0832 30.38 67.7672 30.224 68.7032 30.224C69.2312 30.224 69.5912 30.308 69.7832 30.476C69.9992 30.644 70.1072 30.896 70.1072 31.232C70.1072 31.424 69.9752 32.072 69.7112 33.176C69.4712 34.064 69.2792 34.868 69.1352 35.588C68.9432 36.572 68.7752 37.52 68.6312 38.432C68.4872 39.32 68.4152 40.052 68.4152 40.628C68.4152 41.54 68.6672 41.996 69.1712 41.996C69.5312 41.996 69.9752 41.636 70.5032 40.916C71.0552 40.196 71.6312 39.104 72.2312 37.64C72.8552 36.176 73.4552 34.376 74.0312 32.24C74.2232 31.52 74.5112 31.004 74.8952 30.692C75.3032 30.38 75.9032 30.224 76.6952 30.224ZM66.7592 59.888C67.3592 59.888 68.0312 59.192 68.7752 57.8C69.5192 56.408 70.2632 54.092 71.0072 50.852C69.1592 52.412 67.8152 53.828 66.9752 55.1C66.1592 56.396 65.7512 57.524 65.7512 58.484C65.7512 58.892 65.8232 59.228 65.9672 59.492C66.1352 59.756 66.3992 59.888 66.7592 59.888Z" transform="translate(37 -8)" fill="white"/>
3
+ <path d="M20.625 0H3.75C1.6875 0 0 1.6875 0 3.75V15C0 17.0625 1.6875 18.75 3.75 18.75H17.4375L22.875 24.1875C23.0625 24.375 23.25 24.375 23.625 24.375C23.8125 24.375 23.8125 24.375 24 24.375C24.375 24.1875 24.5625 23.8125 24.5625 23.4375V3.75C24.375 1.6875 22.6875 0 20.625 0Z" transform="translate(0 23.625)" fill="white"/>
4
+ <path d="M20.625 0H3.75C1.6875 0 0 1.6875 0 3.75H15C18.1875 3.75 20.625 6.1875 20.625 9.375V21.9375L22.6875 24C22.875 24.1875 23.0625 24.1875 23.4375 24.1875C23.625 24.1875 23.625 24.1875 23.8125 24.1875C24.1875 24 24.375 23.625 24.375 23.25V3.75C24.375 1.6875 22.6875 0 20.625 0Z" transform="translate(5.625 18)" fill="white"/>
5
+ </svg>
assets/images/rocket.svg CHANGED
@@ -1,6 +1,6 @@
1
- <svg width="53" height="39" viewBox="0 0 53 39" fill="none" xmlns="http://www.w3.org/2000/svg">
2
- <path d="M8.28113 11.0869L3.56199 12.3992C3.5038 12.4122 3.45855 12.4445 3.41977 12.4897L0.0646459 16.5236C0.0193938 16.5754 0 16.64 0 16.7046C0 16.7305 0.00646537 16.7628 0.01293 16.7887C0.0387883 16.8792 0.116363 16.9503 0.206868 16.9826L4.97127 18.366C4.93248 19.3745 5.15874 20.2666 5.66298 21.0036L4.15673 22.8395C4.05976 22.9559 4.07269 23.124 4.18259 23.2274L5.61773 24.5914C5.67591 24.6432 5.74701 24.6755 5.82459 24.669C5.90216 24.669 5.97328 24.6302 6.02499 24.5785L7.69286 22.762C8.11952 22.9171 9.17325 23.1951 10.7765 22.8977L12.4831 27.5716C12.5154 27.6621 12.593 27.7332 12.69 27.7526C12.787 27.772 12.8839 27.7462 12.955 27.6815L16.7562 24.0613C16.8015 24.0161 16.8273 23.9644 16.8402 23.9062L17.6936 19.1418C18.7279 18.2432 19.7816 17.2024 20.816 16.0388C26.7634 9.34795 27.649 4.11163 27.649 1.59044C27.649 0.762977 27.5456 0.303992 27.5456 0.284598C27.5197 0.168236 27.4292 0.0841959 27.3129 0.0648022C27.0155 0.0130855 19.9562 -1.07297 10.77 8.11321C10.7571 8.12614 9.56112 9.35441 8.28113 11.0869ZM13.414 11.52C13.414 9.92329 14.7069 8.62391 16.3101 8.62391C17.9069 8.62391 19.2063 9.91683 19.2063 11.52C19.2063 13.1233 17.9134 14.4162 16.3101 14.4162C14.7134 14.4097 13.414 13.1168 13.414 11.52Z" transform="translate(24.5464 0.646851)" fill="white" fill-opacity="0.47"/>
3
- <path d="M34.9298 1.24282L1.24282 34.9298C1.04241 35.1302 0.712721 35.1302 0.512318 34.9298L0.150302 34.5678C-0.0501005 34.3674 -0.0501005 34.0377 0.150302 33.8373L33.8373 0.150302C34.0377 -0.0501002 34.3674 -0.0501002 34.5678 0.150302L34.9298 0.512319C35.1366 0.712721 35.1366 1.04241 34.9298 1.24282Z" transform="translate(-6.27826 25.101)" fill="white" fill-opacity="0.47"/>
4
- <path d="M34.9298 1.24282L1.24282 34.9298C1.04241 35.1302 0.712721 35.1302 0.512318 34.9298L0.150302 34.5678C-0.0501005 34.3674 -0.0501005 34.0377 0.150302 33.8373L33.8373 0.150301C34.0377 -0.0501009 34.3674 -0.0501009 34.5678 0.150301L34.9298 0.512318C35.1366 0.712721 35.1366 1.04241 34.9298 1.24282Z" transform="translate(-6.76309 29.387)" fill="white" fill-opacity="0.47"/>
5
- <path d="M34.9298 1.24282L1.24282 34.9298C1.04241 35.1302 0.712721 35.1302 0.512318 34.9298L0.150302 34.5678C-0.0501005 34.3674 -0.0501005 34.0377 0.150302 33.8373L33.8373 0.150301C34.0377 -0.0501009 34.3674 -0.0501009 34.5678 0.150301L34.9298 0.512318C35.1302 0.712721 35.1302 1.04241 34.9298 1.24282Z" transform="translate(-10.9392 25.7668)" fill="white" fill-opacity="0.47"/>
6
- </svg>
1
+ <svg width="53" height="39" viewBox="0 0 53 39" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M8.28113 11.0869L3.56199 12.3992C3.5038 12.4122 3.45855 12.4445 3.41977 12.4897L0.0646459 16.5236C0.0193938 16.5754 0 16.64 0 16.7046C0 16.7305 0.00646537 16.7628 0.01293 16.7887C0.0387883 16.8792 0.116363 16.9503 0.206868 16.9826L4.97127 18.366C4.93248 19.3745 5.15874 20.2666 5.66298 21.0036L4.15673 22.8395C4.05976 22.9559 4.07269 23.124 4.18259 23.2274L5.61773 24.5914C5.67591 24.6432 5.74701 24.6755 5.82459 24.669C5.90216 24.669 5.97328 24.6302 6.02499 24.5785L7.69286 22.762C8.11952 22.9171 9.17325 23.1951 10.7765 22.8977L12.4831 27.5716C12.5154 27.6621 12.593 27.7332 12.69 27.7526C12.787 27.772 12.8839 27.7462 12.955 27.6815L16.7562 24.0613C16.8015 24.0161 16.8273 23.9644 16.8402 23.9062L17.6936 19.1418C18.7279 18.2432 19.7816 17.2024 20.816 16.0388C26.7634 9.34795 27.649 4.11163 27.649 1.59044C27.649 0.762977 27.5456 0.303992 27.5456 0.284598C27.5197 0.168236 27.4292 0.0841959 27.3129 0.0648022C27.0155 0.0130855 19.9562 -1.07297 10.77 8.11321C10.7571 8.12614 9.56112 9.35441 8.28113 11.0869ZM13.414 11.52C13.414 9.92329 14.7069 8.62391 16.3101 8.62391C17.9069 8.62391 19.2063 9.91683 19.2063 11.52C19.2063 13.1233 17.9134 14.4162 16.3101 14.4162C14.7134 14.4097 13.414 13.1168 13.414 11.52Z" transform="translate(24.5464 0.646851)" fill="white" fill-opacity="0.47"/>
3
+ <path d="M34.9298 1.24282L1.24282 34.9298C1.04241 35.1302 0.712721 35.1302 0.512318 34.9298L0.150302 34.5678C-0.0501005 34.3674 -0.0501005 34.0377 0.150302 33.8373L33.8373 0.150302C34.0377 -0.0501002 34.3674 -0.0501002 34.5678 0.150302L34.9298 0.512319C35.1366 0.712721 35.1366 1.04241 34.9298 1.24282Z" transform="translate(-6.27826 25.101)" fill="white" fill-opacity="0.47"/>
4
+ <path d="M34.9298 1.24282L1.24282 34.9298C1.04241 35.1302 0.712721 35.1302 0.512318 34.9298L0.150302 34.5678C-0.0501005 34.3674 -0.0501005 34.0377 0.150302 33.8373L33.8373 0.150301C34.0377 -0.0501009 34.3674 -0.0501009 34.5678 0.150301L34.9298 0.512318C35.1366 0.712721 35.1366 1.04241 34.9298 1.24282Z" transform="translate(-6.76309 29.387)" fill="white" fill-opacity="0.47"/>
5
+ <path d="M34.9298 1.24282L1.24282 34.9298C1.04241 35.1302 0.712721 35.1302 0.512318 34.9298L0.150302 34.5678C-0.0501005 34.3674 -0.0501005 34.0377 0.150302 33.8373L33.8373 0.150301C34.0377 -0.0501009 34.3674 -0.0501009 34.5678 0.150301L34.9298 0.512318C35.1302 0.712721 35.1302 1.04241 34.9298 1.24282Z" transform="translate(-10.9392 25.7668)" fill="white" fill-opacity="0.47"/>
6
+ </svg>
assets/js/cht-front-script.js CHANGED
@@ -45,7 +45,7 @@
45
  var i = "", n = 0;
46
  return t.each(e.object_settings.social, function (t, a) {
47
  if (!e.object_settings.isPRO && "3" == ++n)return !1;
48
- "facebook_messenger" == t && (i += '<div class="chaty-widget-i" data-title="' + e.object_settings.social.facebook_messenger + '">', i += '<a href="' + e.object_settings.social.facebook_messenger + '" target="_blank">', i += '<svg class="ico_d" width="39" height="39" viewBox="0 0 39 39" fill="none" xmlns="http://www.w3.org/2000/svg">', i += '<circle class="color-element" cx="19.5" cy="19.5" r="19.5" fill="#1E88E5"/>', i += '<path fill-rule="evenodd" clip-rule="evenodd" d="M0 9.63934C0 4.29861 4.68939 0 10.4209 0C16.1524 0 20.8418 4.29861 20.8418 9.63934C20.8418 14.98 16.1524 19.2787 10.4209 19.2787C9.37878 19.2787 8.33673 19.1484 7.42487 18.8879L3.90784 20.8418V17.1945C1.56311 15.3708 0 12.6353 0 9.63934ZM8.85779 10.1604L11.463 13.0261L17.1945 6.90384L12.1143 9.76959L9.37885 6.90384L3.64734 13.0261L8.85779 10.1604Z" transform="translate(9.01854 10.3146)" fill="white"/>', i += "</svg>", i += "</a>", i += '<div class="chaty-widget-i-title">', i += "<p>Facebook Messenger</p>", i += "</div>", i += "</div>"), "google_maps" == t && (i += '<div class="chaty-widget-i" data-title="' + e.object_settings.social.google_maps + '">', i += '<a href="' + e.object_settings.social.google_maps + '" target="_blank">', i += '<svg class="ico_d" width="39" height="39" viewBox="0 0 39 39" fill="none" xmlns="http://www.w3.org/2000/svg">', i += '<circle class="color-element" cx="19.5" cy="19.5" r="19.5" fill="#37AA66"/>', i += '<path fill-rule="evenodd" clip-rule="evenodd" d="M0 8.06381C0 3.68631 3.68633 0 8.06383 0C12.4413 0 16.1276 3.68631 16.1276 8.06381C16.1276 12.2109 9.67659 19.5835 8.9854 20.2747C8.755 20.5051 8.29422 20.7355 8.06383 20.7355C7.83344 20.7355 7.37263 20.5051 7.14224 20.2747C6.45107 19.5835 0 12.2109 0 8.06381ZM11.5203 8.06378C11.5203 9.97244 9.97302 11.5197 8.06436 11.5197C6.15572 11.5197 4.60844 9.97244 4.60844 8.06378C4.60844 6.15515 6.15572 4.60788 8.06436 4.60788C9.97302 4.60788 11.5203 6.15515 11.5203 8.06378Z" transform="translate(11.3764 9.07178)" fill="white"/>', i += "</svg>", i += "</a>", i += '<div class="chaty-widget-i-title">', i += "<p>Google Maps</p>", i += "</div>", i += "</div>"), "link" == t && (i += '<div class="chaty-widget-i" data-title="' + e.object_settings.social.link + '">', i += '<a href="' + e.object_settings.social.link + '" target="_blank">', i += '<svg class="ico_d" width="39" height="39" viewBox="0 0 39 39" fill="none" xmlns="http://www.w3.org/2000/svg">', i += '<circle class="color-element" cx="19.5" cy="19.5" r="19.5" fill="#FF7539"/>', i += '<mask id="path-2-outside-1" maskUnits="userSpaceOnUse" x="-1" y="-1" width="13" height="14" fill="black"> <rect fill="white" x="-1" y="-1" width="13" height="14"/> <path fill-rule="evenodd" clip-rule="evenodd" d="M9.10658 1.73537C9.10658 1.73537 9.10658 1.73538 9.10659 1.73538L9.93879 2.58495C9.9388 2.58495 9.9388 2.58495 9.9388 2.58496C9.99645 2.64381 10.0508 2.70475 10.1019 2.76754C10.3002 3.0113 10.6804 3.07698 10.9003 2.85252C11.0424 2.70754 11.0721 2.4836 10.9533 2.31904C10.849 2.17452 10.7327 2.03614 10.6046 1.90532C10.6046 1.9053 10.6046 1.90529 10.6045 1.90528L9.77236 1.05572C9.77236 1.05572 9.77235 1.05572 9.77235 1.05572C8.39351 -0.351905 6.15792 -0.351905 4.77907 1.05571C4.77907 1.05572 4.77907 1.05572 4.77906 1.05572L1.03414 4.87877C1.03413 4.87878 1.03413 4.87878 1.03413 4.87878C-0.344706 6.2864 -0.34471 8.56858 1.03412 9.9762C1.03413 9.97621 1.03414 9.97622 1.03415 9.97623L1.86633 10.8258C1.86634 10.8258 1.86635 10.8258 1.86636 10.8258C3.24521 12.2334 5.48072 12.2334 6.85962 10.8258C6.85963 10.8258 6.85964 10.8258 6.85964 10.8258L9.28893 8.34581C9.47006 8.1609 9.47006 7.86509 9.28893 7.68018C9.10243 7.48979 8.79591 7.48979 8.60942 7.68018L6.19386 10.1461C6.19386 10.1461 6.19386 10.1461 6.19386 10.1461C5.1827 11.1784 3.54326 11.1784 2.53215 10.1461C2.53213 10.1461 2.53211 10.1461 2.53209 10.1461L1.69991 9.29657C1.69991 9.29657 1.6999 9.29656 1.6999 9.29655C0.688737 8.2643 0.688739 6.59069 1.6999 5.55844C1.6999 5.55843 1.69991 5.55843 1.69991 5.55843L5.44484 1.73538C5.44484 1.73538 5.44484 1.73537 5.44484 1.73537C6.45601 0.703119 8.09541 0.703118 9.10658 1.73537Z"/> </mask><path fill-rule="evenodd" clip-rule="evenodd" d="M9.10658 1.73537C9.10658 1.73537 9.10658 1.73538 9.10659 1.73538L9.93879 2.58495C9.9388 2.58495 9.9388 2.58495 9.9388 2.58496C9.99645 2.64381 10.0508 2.70475 10.1019 2.76754C10.3002 3.0113 10.6804 3.07698 10.9003 2.85252C11.0424 2.70754 11.0721 2.4836 10.9533 2.31904C10.849 2.17452 10.7327 2.03614 10.6046 1.90532C10.6046 1.9053 10.6046 1.90529 10.6045 1.90528L9.77236 1.05572C9.77236 1.05572 9.77235 1.05572 9.77235 1.05572C8.39351 -0.351905 6.15792 -0.351905 4.77907 1.05571C4.77907 1.05572 4.77907 1.05572 4.77906 1.05572L1.03414 4.87877C1.03413 4.87878 1.03413 4.87878 1.03413 4.87878C-0.344706 6.2864 -0.34471 8.56858 1.03412 9.9762C1.03413 9.97621 1.03414 9.97622 1.03415 9.97623L1.86633 10.8258C1.86634 10.8258 1.86635 10.8258 1.86636 10.8258C3.24521 12.2334 5.48072 12.2334 6.85962 10.8258C6.85963 10.8258 6.85964 10.8258 6.85964 10.8258L9.28893 8.34581C9.47006 8.1609 9.47006 7.86509 9.28893 7.68018C9.10243 7.48979 8.79591 7.48979 8.60942 7.68018L6.19386 10.1461C6.19386 10.1461 6.19386 10.1461 6.19386 10.1461C5.1827 11.1784 3.54326 11.1784 2.53215 10.1461C2.53213 10.1461 2.53211 10.1461 2.53209 10.1461L1.69991 9.29657C1.69991 9.29657 1.6999 9.29656 1.6999 9.29655C0.688737 8.2643 0.688739 6.59069 1.6999 5.55844C1.6999 5.55843 1.69991 5.55843 1.69991 5.55843L5.44484 1.73538C5.44484 1.73538 5.44484 1.73537 5.44484 1.73537C6.45601 0.703119 8.09541 0.703118 9.10658 1.73537Z" transform="translate(9.95154 16.0478)" fill="white"/><path d="M5.44484 1.73538L5.23053 1.52545L5.44484 1.73538ZM5.44484 1.73537L5.23053 1.52544L5.44484 1.73537ZM1.6999 5.55844L1.48559 5.3485L1.6999 5.55844ZM1.69991 5.55843L1.91422 5.76836L1.69991 5.55843ZM1.69991 9.29657L1.91422 9.08664L1.69991 9.29657ZM1.6999 9.29655L1.91421 9.08662L1.6999 9.29655ZM2.53215 10.1461L2.31784 10.3561L2.53215 10.1461ZM2.53209 10.1461L2.31778 10.356L2.53209 10.1461ZM6.19386 10.1461L5.97955 9.93618L6.19386 10.1461ZM6.19386 10.1461L6.40817 10.356L6.19386 10.1461ZM8.60942 7.68018L8.82373 7.89011L8.60942 7.68018ZM9.28893 8.34581L9.07462 8.13588L9.28893 8.34581ZM6.85962 10.8258L6.64532 10.6158L6.85962 10.8258ZM6.85964 10.8258L7.07395 11.0357L6.85964 10.8258ZM1.86633 10.8258L2.08064 10.6158L1.86633 10.8258ZM1.86636 10.8258L2.08067 10.6159L1.86636 10.8258ZM1.03412 9.9762L1.24843 9.76628L1.03412 9.9762ZM1.03415 9.97623L0.819841 10.1862L1.03415 9.97623ZM1.03414 4.87877L0.819827 4.66884L1.03414 4.87877ZM1.03413 4.87878L1.24844 5.08871L1.03413 4.87878ZM4.77907 1.05571L4.99338 1.26564L4.77907 1.05571ZM4.77906 1.05572L4.99338 1.26565L4.77906 1.05572ZM9.77236 1.05572L9.55805 1.26565L9.77236 1.05572ZM9.77235 1.05572L9.98666 0.845785L9.77235 1.05572ZM10.6046 1.90532L10.8189 1.6954L10.6046 1.90532ZM10.6045 1.90528L10.8189 1.69535L10.6045 1.90528ZM10.9533 2.31904L10.7101 2.49464L10.9533 2.31904ZM10.1019 2.76754L9.86916 2.95685L10.1019 2.76754ZM9.10659 1.73538L9.3209 1.52545L9.10659 1.73538ZM9.10658 1.73537L8.89227 1.9453L9.10658 1.73537ZM9.93879 2.58495L10.1531 2.37502L9.93879 2.58495ZM9.9388 2.58496L10.1531 2.37503L9.9388 2.58496ZM10.1531 2.37502L9.3209 1.52545L8.89228 1.94531L9.72448 2.79488L10.1531 2.37502ZM10.3346 2.57823C10.2777 2.50832 10.2172 2.4405 10.1531 2.37503L9.72449 2.79488C9.77566 2.84713 9.82388 2.90119 9.86916 2.95685L10.3346 2.57823ZM11.1966 2.14344C11.0835 1.98684 10.9576 1.83698 10.8189 1.6954L10.3903 2.11524C10.5079 2.2353 10.6145 2.3622 10.7101 2.49464L11.1966 2.14344ZM10.8189 1.69535L9.98667 0.845789L9.55805 1.26565L10.3902 2.11521L10.8189 1.69535ZM9.98666 0.845785C8.49018 -0.681928 6.06124 -0.681928 4.56476 0.845784L4.99338 1.26564C6.25459 -0.0218819 8.29683 -0.0218814 9.55804 1.26565L9.98666 0.845785ZM4.56475 0.84579L0.819827 4.66884L1.24845 5.0887L4.99338 1.26565L4.56475 0.84579ZM0.819819 4.66885C-0.673269 6.1931 -0.673273 8.66187 0.819807 10.1861L1.24843 9.76628C-0.0161474 8.47529 -0.016144 6.37969 1.24844 5.08871L0.819819 4.66885ZM0.819841 10.1862L1.65203 11.0357L2.08064 10.6158L1.24846 9.7663L0.819841 10.1862ZM1.65205 11.0357C3.14854 12.5634 5.57739 12.5634 7.07393 11.0357L6.64532 10.6158C5.38405 11.9034 3.34188 11.9034 2.08067 10.6159L1.65205 11.0357ZM7.07395 11.0357L9.50324 8.55574L9.07462 8.13588L6.64533 10.6158L7.07395 11.0357ZM6.40817 10.356L8.82373 7.89011L8.39511 7.47025L5.97955 9.93618L6.40817 10.356ZM2.31784 10.3561C3.44659 11.5084 5.27938 11.5084 6.40817 10.356L5.97955 9.93618C5.08603 10.8483 3.63993 10.8483 2.74646 9.93621L2.31784 10.3561ZM1.48561 9.50651L2.31778 10.356L2.7464 9.93615L1.91422 9.08664L1.48561 9.50651ZM1.48559 5.3485C0.360176 6.49739 0.360173 8.35759 1.48559 9.50648L1.91421 9.08662C1.0173 8.171 1.0173 6.68399 1.91421 5.76837L1.48559 5.3485ZM5.23053 1.52545L1.4856 5.3485L1.91422 5.76836L5.65915 1.94531L5.23053 1.52545ZM9.32089 1.52544C8.19208 0.373095 6.35934 0.373096 5.23053 1.52544L5.65915 1.9453C6.55268 1.03314 7.99874 1.03314 8.89227 1.9453L9.32089 1.52544ZM5.65915 1.94531C5.65915 1.94531 5.65915 1.94531 5.65915 1.9453L5.23053 1.52544C5.23053 1.52544 5.23053 1.52544 5.23053 1.52545L5.65915 1.94531ZM1.91421 5.76837C1.91421 5.76837 1.91422 5.76836 1.91422 5.76836L1.4856 5.3485C1.4856 5.3485 1.48559 5.3485 1.48559 5.3485L1.91421 5.76837ZM1.91422 9.08664C1.91422 9.08663 1.91421 9.08663 1.91421 9.08662L1.48559 9.50648C1.48559 9.50649 1.4856 9.5065 1.48561 9.50651L1.91422 9.08664ZM2.74646 9.93621C2.74644 9.93619 2.74642 9.93617 2.7464 9.93615L2.31778 10.356C2.3178 10.356 2.31782 10.356 2.31784 10.3561L2.74646 9.93621ZM5.97955 9.93618C5.97955 9.93618 5.97955 9.93618 5.97955 9.93618L6.40817 10.356C6.40817 10.356 6.40817 10.356 6.40817 10.356L5.97955 9.93618ZM9.50324 7.47025C9.1991 7.15977 8.69924 7.15977 8.39511 7.47025L8.82373 7.89011C8.89259 7.81981 9.00576 7.81981 9.07462 7.89011L9.50324 7.47025ZM9.50324 8.55574C9.79862 8.25419 9.79862 7.77179 9.50324 7.47025L9.07462 7.89011C9.1415 7.95838 9.1415 8.0676 9.07462 8.13588L9.50324 8.55574ZM7.07393 11.0357C7.07394 11.0357 7.07395 11.0357 7.07395 11.0357L6.64533 10.6158C6.64533 10.6158 6.64532 10.6158 6.64532 10.6158L7.07393 11.0357ZM1.65203 11.0357C1.65203 11.0357 1.65204 11.0357 1.65205 11.0357L2.08067 10.6159C2.08066 10.6158 2.08065 10.6158 2.08064 10.6158L1.65203 11.0357ZM0.819807 10.1861C0.819819 10.1861 0.81983 10.1862 0.819841 10.1862L1.24846 9.7663C1.24845 9.76629 1.24844 9.76628 1.24843 9.76628L0.819807 10.1861ZM0.819827 4.66884C0.819824 4.66884 0.819822 4.66885 0.819819 4.66885L1.24844 5.08871C1.24844 5.08871 1.24845 5.08871 1.24845 5.0887L0.819827 4.66884ZM4.56476 0.845784C4.56476 0.845786 4.56476 0.845788 4.56475 0.84579L4.99338 1.26565C4.99338 1.26565 4.99338 1.26565 4.99338 1.26564L4.56476 0.845784ZM9.98667 0.845789C9.98667 0.845788 9.98666 0.845787 9.98666 0.845785L9.55804 1.26565C9.55804 1.26565 9.55804 1.26565 9.55805 1.26565L9.98667 0.845789ZM10.8189 1.6954C10.8189 1.69538 10.8189 1.69536 10.8189 1.69535L10.3902 2.11521C10.3902 2.11522 10.3903 2.11523 10.3903 2.11524L10.8189 1.6954ZM11.1146 3.06246C11.3462 2.82606 11.411 2.44051 11.1966 2.14344L10.7101 2.49464C10.7332 2.52669 10.7385 2.58902 10.686 2.64258L11.1146 3.06246ZM9.86916 2.95685C10.1487 3.30046 10.7367 3.44829 11.1146 3.06246L10.686 2.64258C10.652 2.67732 10.6006 2.69693 10.531 2.68804C10.4586 2.67877 10.3842 2.63918 10.3346 2.57823L9.86916 2.95685ZM9.3209 1.52545C9.32089 1.52544 9.32089 1.52544 9.32089 1.52544L8.89227 1.9453C8.89227 1.9453 8.89227 1.94531 8.89228 1.94531L9.3209 1.52545ZM9.72448 2.79488C9.72448 2.79488 9.72448 2.79488 9.72449 2.79488L10.1531 2.37503C10.1531 2.37503 10.1531 2.37502 10.1531 2.37502L9.72448 2.79488Z" transform="translate(9.95154 16.0478)" fill="white" mask="url(#path-2-outside-1)"/><mask id="path-4-outside-2" maskUnits="userSpaceOnUse" x="-1" y="-1" width="13" height="14" fill="black"><rect fill="white" x="-1" y="-1" width="13" height="14"/> <path fill-rule="evenodd" clip-rule="evenodd" d="M9.10658 1.73537C9.10658 1.73537 9.10658 1.73538 9.10659 1.73538L9.93879 2.58495C9.9388 2.58495 9.9388 2.58495 9.9388 2.58496C9.99645 2.64381 10.0508 2.70475 10.1019 2.76754C10.3002 3.0113 10.6804 3.07698 10.9003 2.85252C11.0424 2.70754 11.0721 2.4836 10.9533 2.31904C10.849 2.17452 10.7327 2.03614 10.6046 1.90532C10.6046 1.9053 10.6046 1.90529 10.6045 1.90528L9.77236 1.05572C9.77236 1.05572 9.77235 1.05572 9.77235 1.05572C8.39351 -0.351905 6.15792 -0.351905 4.77907 1.05571C4.77907 1.05572 4.77907 1.05572 4.77906 1.05572L1.03414 4.87877C1.03413 4.87878 1.03413 4.87878 1.03413 4.87878C-0.344706 6.2864 -0.34471 8.56858 1.03412 9.9762C1.03413 9.97621 1.03414 9.97622 1.03415 9.97623L1.86633 10.8258C1.86634 10.8258 1.86635 10.8258 1.86636 10.8258C3.24521 12.2334 5.48072 12.2334 6.85962 10.8258C6.85963 10.8258 6.85964 10.8258 6.85964 10.8258L9.28893 8.34581C9.47006 8.1609 9.47006 7.86509 9.28893 7.68018C9.10243 7.48979 8.79591 7.48979 8.60942 7.68018L6.19386 10.1461C6.19386 10.1461 6.19386 10.1461 6.19386 10.1461C5.1827 11.1784 3.54326 11.1784 2.53215 10.1461C2.53213 10.1461 2.53211 10.1461 2.53209 10.1461L1.69991 9.29657C1.69991 9.29657 1.6999 9.29656 1.6999 9.29655C0.688737 8.2643 0.688739 6.59069 1.6999 5.55844C1.6999 5.55843 1.69991 5.55843 1.69991 5.55843L5.44484 1.73538C5.44484 1.73538 5.44484 1.73537 5.44484 1.73537C6.45601 0.703119 8.09541 0.703118 9.10658 1.73537Z"/></mask> <path fill-rule="evenodd" clip-rule="evenodd" d="M9.10658 1.73537C9.10658 1.73537 9.10658 1.73538 9.10659 1.73538L9.93879 2.58495C9.9388 2.58495 9.9388 2.58495 9.9388 2.58496C9.99645 2.64381 10.0508 2.70475 10.1019 2.76754C10.3002 3.0113 10.6804 3.07698 10.9003 2.85252C11.0424 2.70754 11.0721 2.4836 10.9533 2.31904C10.849 2.17452 10.7327 2.03614 10.6046 1.90532C10.6046 1.9053 10.6046 1.90529 10.6045 1.90528L9.77236 1.05572C9.77236 1.05572 9.77235 1.05572 9.77235 1.05572C8.39351 -0.351905 6.15792 -0.351905 4.77907 1.05571C4.77907 1.05572 4.77907 1.05572 4.77906 1.05572L1.03414 4.87877C1.03413 4.87878 1.03413 4.87878 1.03413 4.87878C-0.344706 6.2864 -0.34471 8.56858 1.03412 9.9762C1.03413 9.97621 1.03414 9.97622 1.03415 9.97623L1.86633 10.8258C1.86634 10.8258 1.86635 10.8258 1.86636 10.8258C3.24521 12.2334 5.48072 12.2334 6.85962 10.8258C6.85963 10.8258 6.85964 10.8258 6.85964 10.8258L9.28893 8.34581C9.47006 8.1609 9.47006 7.86509 9.28893 7.68018C9.10243 7.48979 8.79591 7.48979 8.60942 7.68018L6.19386 10.1461C6.19386 10.1461 6.19386 10.1461 6.19386 10.1461C5.1827 11.1784 3.54326 11.1784 2.53215 10.1461C2.53213 10.1461 2.53211 10.1461 2.53209 10.1461L1.69991 9.29657C1.69991 9.29657 1.6999 9.29656 1.6999 9.29655C0.688737 8.2643 0.688739 6.59069 1.6999 5.55844C1.6999 5.55843 1.69991 5.55843 1.69991 5.55843L5.44484 1.73538C5.44484 1.73538 5.44484 1.73537 5.44484 1.73537C6.45601 0.703119 8.09541 0.703118 9.10658 1.73537Z" transform="translate(28.9286 22.8312) rotate(-180)" fill="white"/><path d="M5.44484 1.73538L5.23053 1.52545L5.44484 1.73538ZM5.44484 1.73537L5.23053 1.52544L5.44484 1.73537ZM1.6999 5.55844L1.48559 5.3485L1.6999 5.55844ZM1.69991 5.55843L1.91422 5.76836L1.69991 5.55843ZM1.69991 9.29657L1.91422 9.08664L1.69991 9.29657ZM1.6999 9.29655L1.91421 9.08662L1.6999 9.29655ZM2.53215 10.1461L2.31784 10.3561L2.53215 10.1461ZM2.53209 10.1461L2.31778 10.356L2.53209 10.1461ZM6.19386 10.1461L5.97955 9.93618L6.19386 10.1461ZM6.19386 10.1461L6.40817 10.356L6.19386 10.1461ZM8.60942 7.68018L8.82373 7.89011L8.60942 7.68018ZM9.28893 8.34581L9.07462 8.13588L9.28893 8.34581ZM6.85962 10.8258L6.64532 10.6158L6.85962 10.8258ZM6.85964 10.8258L7.07395 11.0357L6.85964 10.8258ZM1.86633 10.8258L2.08064 10.6158L1.86633 10.8258ZM1.86636 10.8258L2.08067 10.6159L1.86636 10.8258ZM1.03412 9.9762L1.24843 9.76628L1.03412 9.9762ZM1.03415 9.97623L0.819841 10.1862L1.03415 9.97623ZM1.03414 4.87877L0.819827 4.66884L1.03414 4.87877ZM1.03413 4.87878L1.24844 5.08871L1.03413 4.87878ZM4.77907 1.05571L4.99338 1.26564L4.77907 1.05571ZM4.77906 1.05572L4.99338 1.26565L4.77906 1.05572ZM9.77236 1.05572L9.55805 1.26565L9.77236 1.05572ZM9.77235 1.05572L9.98666 0.845785L9.77235 1.05572ZM10.6046 1.90532L10.8189 1.6954L10.6046 1.90532ZM10.6045 1.90528L10.8189 1.69535L10.6045 1.90528ZM10.9533 2.31904L10.7101 2.49464L10.9533 2.31904ZM10.1019 2.76754L9.86916 2.95685L10.1019 2.76754ZM9.10659 1.73538L9.3209 1.52545L9.10659 1.73538ZM9.10658 1.73537L8.89227 1.9453L9.10658 1.73537ZM9.93879 2.58495L10.1531 2.37502L9.93879 2.58495ZM9.9388 2.58496L10.1531 2.37503L9.9388 2.58496ZM10.1531 2.37502L9.3209 1.52545L8.89228 1.94531L9.72448 2.79488L10.1531 2.37502ZM10.3346 2.57823C10.2777 2.50832 10.2172 2.4405 10.1531 2.37503L9.72449 2.79488C9.77566 2.84713 9.82388 2.90119 9.86916 2.95685L10.3346 2.57823ZM11.1966 2.14344C11.0835 1.98684 10.9576 1.83698 10.8189 1.6954L10.3903 2.11524C10.5079 2.2353 10.6145 2.3622 10.7101 2.49464L11.1966 2.14344ZM10.8189 1.69535L9.98667 0.845789L9.55805 1.26565L10.3902 2.11521L10.8189 1.69535ZM9.98666 0.845785C8.49018 -0.681928 6.06124 -0.681928 4.56476 0.845784L4.99338 1.26564C6.25459 -0.0218819 8.29683 -0.0218814 9.55804 1.26565L9.98666 0.845785ZM4.56475 0.84579L0.819827 4.66884L1.24845 5.0887L4.99338 1.26565L4.56475 0.84579ZM0.819819 4.66885C-0.673269 6.1931 -0.673273 8.66187 0.819807 10.1861L1.24843 9.76628C-0.0161474 8.47529 -0.016144 6.37969 1.24844 5.08871L0.819819 4.66885ZM0.819841 10.1862L1.65203 11.0357L2.08064 10.6158L1.24846 9.7663L0.819841 10.1862ZM1.65205 11.0357C3.14854 12.5634 5.57739 12.5634 7.07393 11.0357L6.64532 10.6158C5.38405 11.9034 3.34188 11.9034 2.08067 10.6159L1.65205 11.0357ZM7.07395 11.0357L9.50324 8.55574L9.07462 8.13588L6.64533 10.6158L7.07395 11.0357ZM6.40817 10.356L8.82373 7.89011L8.39511 7.47025L5.97955 9.93618L6.40817 10.356ZM2.31784 10.3561C3.44659 11.5084 5.27938 11.5084 6.40817 10.356L5.97955 9.93618C5.08603 10.8483 3.63993 10.8483 2.74646 9.93621L2.31784 10.3561ZM1.48561 9.50651L2.31778 10.356L2.7464 9.93615L1.91422 9.08664L1.48561 9.50651ZM1.48559 5.3485C0.360176 6.49739 0.360173 8.35759 1.48559 9.50648L1.91421 9.08662C1.0173 8.171 1.0173 6.68399 1.91421 5.76837L1.48559 5.3485ZM5.23053 1.52545L1.4856 5.3485L1.91422 5.76836L5.65915 1.94531L5.23053 1.52545ZM9.32089 1.52544C8.19208 0.373095 6.35934 0.373096 5.23053 1.52544L5.65915 1.9453C6.55268 1.03314 7.99874 1.03314 8.89227 1.9453L9.32089 1.52544ZM5.65915 1.94531C5.65915 1.94531 5.65915 1.94531 5.65915 1.9453L5.23053 1.52544C5.23053 1.52544 5.23053 1.52544 5.23053 1.52545L5.65915 1.94531ZM1.91421 5.76837C1.91421 5.76837 1.91422 5.76836 1.91422 5.76836L1.4856 5.3485C1.4856 5.3485 1.48559 5.3485 1.48559 5.3485L1.91421 5.76837ZM1.91422 9.08664C1.91422 9.08663 1.91421 9.08663 1.91421 9.08662L1.48559 9.50648C1.48559 9.50649 1.4856 9.5065 1.48561 9.50651L1.91422 9.08664ZM2.74646 9.93621C2.74644 9.93619 2.74642 9.93617 2.7464 9.93615L2.31778 10.356C2.3178 10.356 2.31782 10.356 2.31784 10.3561L2.74646 9.93621ZM5.97955 9.93618C5.97955 9.93618 5.97955 9.93618 5.97955 9.93618L6.40817 10.356C6.40817 10.356 6.40817 10.356 6.40817 10.356L5.97955 9.93618ZM9.50324 7.47025C9.1991 7.15977 8.69924 7.15977 8.39511 7.47025L8.82373 7.89011C8.89259 7.81981 9.00576 7.81981 9.07462 7.89011L9.50324 7.47025ZM9.50324 8.55574C9.79862 8.25419 9.79862 7.77179 9.50324 7.47025L9.07462 7.89011C9.1415 7.95838 9.1415 8.0676 9.07462 8.13588L9.50324 8.55574ZM7.07393 11.0357C7.07394 11.0357 7.07395 11.0357 7.07395 11.0357L6.64533 10.6158C6.64533 10.6158 6.64532 10.6158 6.64532 10.6158L7.07393 11.0357ZM1.65203 11.0357C1.65203 11.0357 1.65204 11.0357 1.65205 11.0357L2.08067 10.6159C2.08066 10.6158 2.08065 10.6158 2.08064 10.6158L1.65203 11.0357ZM0.819807 10.1861C0.819819 10.1861 0.81983 10.1862 0.819841 10.1862L1.24846 9.7663C1.24845 9.76629 1.24844 9.76628 1.24843 9.76628L0.819807 10.1861ZM0.819827 4.66884C0.819824 4.66884 0.819822 4.66885 0.819819 4.66885L1.24844 5.08871C1.24844 5.08871 1.24845 5.08871 1.24845 5.0887L0.819827 4.66884ZM4.56476 0.845784C4.56476 0.845786 4.56476 0.845788 4.56475 0.84579L4.99338 1.26565C4.99338 1.26565 4.99338 1.26565 4.99338 1.26564L4.56476 0.845784ZM9.98667 0.845789C9.98667 0.845788 9.98666 0.845787 9.98666 0.845785L9.55804 1.26565C9.55804 1.26565 9.55804 1.26565 9.55805 1.26565L9.98667 0.845789ZM10.8189 1.6954C10.8189 1.69538 10.8189 1.69536 10.8189 1.69535L10.3902 2.11521C10.3902 2.11522 10.3903 2.11523 10.3903 2.11524L10.8189 1.6954ZM11.1146 3.06246C11.3462 2.82606 11.411 2.44051 11.1966 2.14344L10.7101 2.49464C10.7332 2.52669 10.7385 2.58902 10.686 2.64258L11.1146 3.06246ZM9.86916 2.95685C10.1487 3.30046 10.7367 3.44829 11.1146 3.06246L10.686 2.64258C10.652 2.67732 10.6006 2.69693 10.531 2.68804C10.4586 2.67877 10.3842 2.63918 10.3346 2.57823L9.86916 2.95685ZM9.3209 1.52545C9.32089 1.52544 9.32089 1.52544 9.32089 1.52544L8.89227 1.9453C8.89227 1.9453 8.89227 1.94531 8.89228 1.94531L9.3209 1.52545ZM9.72448 2.79488C9.72448 2.79488 9.72448 2.79488 9.72449 2.79488L10.1531 2.37503C10.1531 2.37503 10.1531 2.37502 10.1531 2.37502L9.72448 2.79488Z" transform="translate(28.9286 22.8312) rotate(-180)" fill="white" mask="url(#path-4-outside-2)"/>', i += "</svg>", i += "</a>", i += '<div class="chaty-widget-i-title">', i += "<p>Link<p>", i += "</div>", i += "</div>"), "email" == t && (i += '<div class="chaty-widget-i" data-title="' + e.object_settings.social.email + '">', i += '<a href="mailto:' + e.object_settings.social.email + '">', i += '<svg class="ico_d" width="39" height="39" viewBox="0 0 39 39" fill="none" xmlns="http://www.w3.org/2000/svg">', i += '<circle class="color-element" cx="19.5" cy="19.5" r="19.5" fill="#FF485F"/>', i += ' <path d="M20.5379 14.2557H1.36919C0.547677 14.2557 0 13.7373 0 12.9597V1.29597C0 0.518387 0.547677 0 1.36919 0H20.5379C21.3594 0 21.9071 0.518387 21.9071 1.29597V12.9597C21.9071 13.7373 21.3594 14.2557 20.5379 14.2557ZM20.5379 12.9597V13.6077V12.9597ZM1.36919 1.29597V12.9597H20.5379V1.29597H1.36919Z" transform="translate(8.48619 12.3117)" fill="white"/> <path d="M10.9659 8.43548C10.829 8.43548 10.692 8.43548 10.5551 8.30588L0.286184 1.17806C0.012346 0.918864 -0.124573 0.530073 0.149265 0.270879C0.423104 0.0116857 0.833862 -0.117911 1.1077 0.141283L10.9659 7.00991L20.8241 0.141283C21.0979 -0.117911 21.5087 0.0116857 21.7825 0.270879C22.0563 0.530073 21.9194 0.918864 21.6456 1.17806L11.3766 8.30588C11.2397 8.43548 11.1028 8.43548 10.9659 8.43548Z" transform="translate(8.47443 12.9478)" fill="white"/> <path d="M9.0906 7.13951C8.95368 7.13951 8.81676 7.13951 8.67984 7.00991L0.327768 1.17806C-0.0829894 0.918864 -0.0829899 0.530073 0.190849 0.270879C0.327768 0.0116855 0.738525 -0.117911 1.14928 0.141282L9.50136 5.97314C9.7752 6.23233 9.91212 6.62112 9.63828 6.88032C9.50136 7.00991 9.36444 7.13951 9.0906 7.13951Z" transform="translate(20.6183 18.7799)" fill="white"/> <path d="M0.696942 7.13951C0.423104 7.13951 0.286185 7.00991 0.149265 6.88032C-0.124573 6.62112 0.012346 6.23233 0.286185 5.97314L8.63826 0.141282C9.04902 -0.117911 9.45977 0.0116855 9.59669 0.270879C9.87053 0.530073 9.73361 0.918864 9.45977 1.17806L1.1077 7.00991C0.970781 7.13951 0.833862 7.13951 0.696942 7.13951Z" transform="translate(8.47443 18.7799)" fill="white"/>', i += "</svg>", i += "</a>", i += '<div class="chaty-widget-i-title">', i += "<p>Email</p>", i += "</div>", i += "</div>"), "poptin" == t && (i += '<div class="chaty-widget-i" data-title="' + e.object_settings.social.poptin + '">', i += '<a href="' + e.object_settings.social.poptin + '">', i += '<svg class="ico_d" width="39" height="39" viewBox="0 0 39 39" fill="none" xmlns="http://www.w3.org/2000/svg">', i += '<circle class="color-element" cx="19.5" cy="19.5" r="19.5" fill="#47A2B1"/>', i += ' <rect width="21.351" height="17.0808" rx="1.73931" transform="translate(8.76428 12.1953)" fill="white"/> <rect width="18.2112" height="1.83009" rx="0.915044" transform="translate(10.0203 17.6851)" fill="#F2F2F2"/> <rect width="15.0713" height="1.83009" rx="0.915044" transform="translate(10.0203 20.1256)" fill="#F2F2F2"/> <rect width="8.16363" height="1.83009" rx="0.915044" transform="translate(15.0443 24.3958)" fill="#E0E0E0"/> <path d="M0 1.74C0 0.779025 0.779024 0 1.74 0H19.611C20.572 0 21.351 0.779025 21.351 1.74V3.20266H0V1.74Z" transform="translate(8.76428 12.1953)" fill="#E0E0E0"/>', i += "</svg>", i += "</a>", i += '<div class="chaty-widget-i-title">', i += '<p><span class="mobile_none">Contact us</p>', i += "</div>", i += "</div>"), "skype" == t && (i += '<div class="chaty-widget-i" data-title="' + e.object_settings.social.skype + '">', i += '<a href="skype:' + e.object_settings.social.skype + '?chat">', i += '<svg class="ico_d" width="39" height="39" viewBox="0 0 39 39" fill="none" xmlns="http://www.w3.org/2000/svg">', i += '<circle class="color-element" cx="19.5" cy="19.5" r="19.5" fill="#03A9F4"/>', i += '<path fill-rule="evenodd" clip-rule="evenodd" d="M10.5634 0.777588C16.0406 0.777588 20.4747 5.05426 20.4747 10.4973C20.4747 11.1453 20.4747 11.9229 20.0834 12.5709C20.4747 13.2189 20.7355 14.1261 20.7355 15.0332C20.7355 18.1436 18.1273 20.7355 14.9974 20.7355C13.9541 20.7355 13.0412 20.4763 12.2587 20.0875C11.6067 20.2171 11.085 20.2171 10.433 20.2171C4.95566 20.2171 0.521637 15.9404 0.521637 10.4973C0.521637 9.84955 0.652008 9.20175 0.782349 8.55392L0.782471 8.55338C0.260834 7.77582 0 6.73904 0 5.70227C0 2.59195 2.60825 0 5.73813 0C6.91183 0 7.95514 0.388794 8.86801 0.907166C9.38965 0.777588 10.0417 0.777588 10.5634 0.777588ZM13.5627 16.718C14.4756 16.3292 15.1276 15.8108 15.6493 15.1628C16.1709 14.5149 16.3013 13.7373 16.0405 12.9597C16.0405 12.3117 15.9101 11.7933 15.6493 11.2749C15.3884 10.7565 14.9972 10.3677 14.4756 10.1086L14.4752 10.1084C13.9536 9.84924 13.4321 9.59012 12.7802 9.33096C12.5034 9.27597 12.2031 9.1976 11.8893 9.11572C11.4638 9.0047 11.0135 8.88718 10.5632 8.81259C10.1953 8.66635 9.86893 8.60263 9.60748 8.55157C9.40552 8.51215 9.24231 8.48029 9.12866 8.4238C8.86792 8.4238 8.60721 8.29428 8.34647 8.16473L8.34619 8.16461C8.08536 8.035 7.82455 7.90543 7.69412 7.77582C7.43329 7.64621 7.43329 7.51663 7.43329 7.25742C7.43329 6.86862 7.69412 6.60944 8.08536 6.35025C8.47659 6.09106 9.12866 5.96146 9.78073 5.96146C10.5632 5.96146 11.0848 6.09106 11.4761 6.35025C11.8673 6.60944 12.1281 6.86865 12.3889 7.38702C12.6497 7.77563 12.9104 8.03476 13.0408 8.16443L13.041 8.16461C13.3018 8.29419 13.5627 8.4238 13.9539 8.4238C14.3451 8.4238 14.7364 8.29419 14.9972 8.035C15.258 7.77582 15.3884 7.51663 15.3884 7.12784C15.3884 6.73904 15.3884 6.35025 15.1276 5.96146C15.0313 5.67429 14.7927 5.45782 14.5169 5.20764C14.4193 5.11908 14.317 5.02631 14.2147 4.92468C13.6931 4.6655 13.1714 4.40631 12.5194 4.14709C11.8673 4.01752 11.0848 3.88791 10.172 3.88791C9.12866 3.88791 8.08536 4.01752 7.30289 4.2767C6.39001 4.53589 5.73795 5.05429 5.34671 5.57266C4.95547 6.09106 4.69464 6.73904 4.69464 7.51663C4.69464 8.29419 4.95547 8.9422 5.34671 9.46057C5.73795 9.97897 6.39001 10.3677 7.04205 10.627C7.69412 10.8861 8.60703 11.1453 9.6503 11.4045C10.4328 11.5341 11.0848 11.6637 11.4761 11.7933C11.8673 11.9229 12.2585 12.0525 12.5194 12.3117C12.7802 12.5709 12.9106 12.8301 12.9106 13.2189C12.9106 13.6077 12.6498 13.9965 12.1281 14.3853C11.6065 14.774 10.9544 14.9036 10.172 14.9036C9.6503 14.9036 9.12866 14.774 8.73743 14.6444C8.47659 14.5149 8.21576 14.2556 7.95496 13.9965C7.91547 13.918 7.86407 13.8277 7.80792 13.7291C7.67859 13.5019 7.52423 13.2308 7.43329 12.9597C7.40817 12.9098 7.38306 12.855 7.35703 12.7983C7.24783 12.5604 7.12225 12.2867 6.91165 12.1821C6.65085 12.0525 6.39001 11.9229 5.99878 11.9229C5.60754 11.9229 5.21631 12.0525 4.95547 12.3117C4.69464 12.5709 4.56424 12.8301 4.56424 13.2189C4.56424 13.8669 4.82507 14.3853 5.21631 15.0332C5.73795 15.6812 6.25961 16.07 6.91165 16.4588C7.82455 16.9772 8.99823 17.2364 10.4328 17.2364C11.6065 17.2364 12.6498 17.1068 13.5627 16.718Z" transform="translate(9.07178 9.07178)" fill="white"/>', i += "</svg>", i += "</a>", i += '<div class="chaty-widget-i-title">', i += "<p>Skype</p>", i += "</div>", i += "</div>"), "sms" == t && (i += '<div class="chaty-widget-i" data-title="' + e.object_settings.social.sms + '">', i += '<a href="sms:' + e.object_settings.social.sms + '">', i += '<svg class="ico_d" width="39" height="39" viewBox="0 0 39 39" fill="none" xmlns="http://www.w3.org/2000/svg">', i += '<circle class="color-element" cx="19.5" cy="19.5" r="19.5" fill="#FF549C"/>', i += '<path fill-rule="evenodd" clip-rule="evenodd" d="M2.60298 0H16.9194C18.351 0 19.5224 1.19321 19.5224 2.65158V14.5838C19.5224 16.0421 18.351 17.2354 16.9194 17.2354H7.4185L3.64418 20.4173C3.51402 20.5499 3.38388 20.5499 3.25372 20.5499H2.99344C2.73314 20.4173 2.60298 20.1521 2.60298 19.887V17.2354C1.17134 17.2354 0 16.0421 0 14.5838V2.65158C0 1.19321 1.17134 0 2.60298 0ZM2.60316 11.2696C2.60316 11.6673 2.86346 11.9325 3.25391 11.9325H4.5554C5.5966 11.9325 6.50764 11.0044 6.50764 9.94376C6.50764 8.88312 5.5966 7.95505 4.5554 7.95505C4.16496 7.95505 3.90465 7.68991 3.90465 7.29218C3.90465 6.89441 4.16496 6.62927 4.5554 6.62927H5.85689C6.24733 6.62927 6.50764 6.36411 6.50764 5.96637C6.50764 5.56863 6.24733 5.30347 5.85689 5.30347H4.5554C3.51421 5.30347 2.60316 6.23154 2.60316 7.29218C2.60316 8.35281 3.51421 9.28085 4.5554 9.28085C4.94585 9.28085 5.20613 9.54602 5.20613 9.94376C5.20613 10.3415 4.94585 10.6067 4.5554 10.6067H3.25391C2.86346 10.6067 2.60316 10.8718 2.60316 11.2696ZM14.9678 11.9325H13.6664C13.2759 11.9325 13.0156 11.6673 13.0156 11.2696C13.0156 10.8718 13.2759 10.6067 13.6664 10.6067H14.9678C15.3583 10.6067 15.6186 10.3415 15.6186 9.94376C15.6186 9.54602 15.3583 9.28085 14.9678 9.28085C13.9267 9.28085 13.0156 8.35281 13.0156 7.29218C13.0156 6.23154 13.9267 5.30347 14.9678 5.30347H16.2693C16.6598 5.30347 16.9201 5.56863 16.9201 5.96637C16.9201 6.36411 16.6598 6.62927 16.2693 6.62927H14.9678C14.5774 6.62927 14.3171 6.89441 14.3171 7.29218C14.3171 7.68991 14.5774 7.95505 14.9678 7.95505C16.009 7.95505 16.9201 8.88312 16.9201 9.94376C16.9201 11.0044 16.009 11.9325 14.9678 11.9325ZM10.4126 11.2697C10.4126 11.6674 10.6729 11.9326 11.0633 11.9326C11.4538 11.9326 11.7141 11.6674 11.8442 11.2697V5.96649C11.8442 5.70135 11.5839 5.43619 11.3236 5.30362C10.9332 5.30362 10.6729 5.43619 10.5427 5.70135L9.76186 7.15973L8.98094 5.70135C8.85081 5.43619 8.46034 5.17102 8.20006 5.30362C7.93977 5.43619 7.67946 5.70135 7.67946 5.96649V11.2697C7.67946 11.6674 7.93977 11.9326 8.33022 11.9326C8.72066 11.9326 8.98094 11.6674 8.98094 11.2697V8.75067L9.1111 8.88327C9.37138 9.28101 10.0221 9.28101 10.2825 8.88327L10.4126 8.75067V11.2697Z" transform="translate(9.67801 10.4601)" fill="white"/>', i += "</svg>", i += "</a>", i += '<div class="chaty-widget-i-title">', i += "<p>SMS</p>", i += "</div>", i += "</div>"), "snapchat" == t && (i += '<div class="chaty-widget-i" data-title="' + e.object_settings.social.snapchat + '">', i += '<a href="https://www.snapchat.com/add/' + e.object_settings.social.snapchat + '" target="_blank">', i += '<svg class="ico_d" width="39" height="39" viewBox="0 0 39 39" fill="none" xmlns="http://www.w3.org/2000/svg">', i += '<circle class="color-element" cx="19.5" cy="19.5" r="19.5" fill="#FFE81D"/>', i += '<path d="M21.5684 15.5864C18.7017 15.0298 17.3366 12.1073 17.3366 11.9681C17.2001 11.6898 17.2001 11.4115 17.2001 11.2723C17.3366 10.8548 18.0191 10.7157 18.4287 10.5765C18.5652 10.5765 18.7017 10.4373 18.7017 10.4373C19.1112 10.2982 19.3842 10.159 19.5207 9.88067C19.7938 9.60234 19.7938 9.46318 19.7938 9.32402C19.7938 8.90652 19.5207 8.62819 19.1112 8.48903C18.9747 8.48903 18.8382 8.34986 18.7017 8.34986C18.5652 8.34986 18.4287 8.34986 18.2922 8.48903C17.8826 8.62819 17.6096 8.76736 17.3366 8.76736C17.2001 8.76736 17.0636 8.76736 17.0636 8.76736C17.0636 8.62819 17.0636 8.48903 17.0636 8.34986C17.2001 6.81906 17.3366 5.00992 16.7906 3.8966C16.5175 3.20078 15.9715 2.50496 15.4255 1.9483C15.016 1.53081 14.4699 1.11332 13.7874 0.834987C12.6953 4.97691e-07 11.7397 0 11.3302 0C11.1937 0 10.9207 0 10.9207 0C10.3747 0 9.4191 0.139164 8.46354 0.556657C7.9175 0.834986 7.37147 1.25248 6.82544 1.66997C6.2794 2.22663 5.86988 2.92245 5.46035 3.61827C4.91431 4.73159 5.05082 6.54073 5.18733 8.07153C5.18733 8.2107 5.18733 8.34986 5.18733 8.62819C5.05082 8.62819 5.05082 8.62819 4.77781 8.62819C4.50479 8.62819 4.23177 8.48903 3.82224 8.34986C3.68574 8.34986 3.54923 8.2107 3.41272 8.2107C3.1397 8.2107 3.00319 8.2107 2.73018 8.34986C2.45716 8.48903 2.32065 8.76736 2.32065 8.90652C2.32065 9.04568 2.32065 9.32401 2.59366 9.74151C2.73017 9.88067 3.00319 10.0198 3.41272 10.159C3.54923 10.159 3.54922 10.2982 3.68573 10.2982C4.09526 10.4373 4.6413 10.5765 4.91431 10.994C5.05082 11.1332 4.91431 11.4115 4.77781 11.6898C4.77781 11.829 4.36828 12.5248 3.68573 13.3598C3.27621 13.7773 2.86668 14.1948 2.32065 14.6123C1.77461 15.0298 1.09207 15.3081 0.409527 15.3081C0.13651 15.3081 2.08296e-06 15.5864 2.08296e-06 15.8647C2.08296e-06 16.0039 2.08296e-06 16.0039 2.08296e-06 16.1431C0.136511 16.4214 0.409528 16.5606 0.682546 16.8389C1.22858 17.1172 1.91112 17.2564 2.86668 17.3955C2.86668 17.5347 3.00319 17.6739 3.00319 17.813C3.00319 17.9522 3.1397 18.0914 3.1397 18.3697C3.1397 18.5089 3.41272 18.7872 3.68573 18.7872C3.82224 18.7872 3.95875 18.7872 4.23177 18.648C4.50479 18.648 4.91431 18.5089 5.32384 18.5089C5.59686 18.5089 5.86988 18.5089 6.14289 18.648C6.68893 18.7872 7.09845 19.0655 7.64449 19.483C8.46354 20.0397 9.28259 20.7355 10.6477 20.7355H10.7842H10.9207C12.2858 20.7355 13.1048 20.0397 13.9239 19.483C14.4699 19.0655 14.8794 18.7872 15.4255 18.648C15.6985 18.648 15.9715 18.5089 16.2445 18.5089C16.6541 18.5089 17.0636 18.5089 17.3366 18.648C17.6096 18.648 17.7461 18.648 17.8826 18.648C18.1557 18.648 18.4287 18.5089 18.4287 18.2305C18.4287 18.0914 18.5652 17.9522 18.5652 17.6739C18.5652 17.5347 18.7017 17.2564 18.7017 17.2564C19.6572 17.1172 20.3398 16.9781 20.8858 16.6997C21.2954 16.5606 21.5684 16.2822 21.5684 16.0039C21.5684 15.8647 21.5684 15.8647 21.5684 15.7256C21.9779 15.8647 21.8414 15.5864 21.5684 15.5864Z" transform="translate(8.52631 9.07178)" fill="white"/>', i += "</svg>", i += "</a>", i += '<div class="chaty-widget-i-title">', i += "<p>Snapchat</p>", i += "</div>", 1 === Object.keys(e.object_settings.social).length && (i += '<div class="snap-wee-title">', i += "<p>Snapchat</p>", i += "</div>"), i += "</div>"), "telegram" == t && (i += '<div class="chaty-widget-i" data-title="' + e.object_settings.social.telegram + '">', i += '<a href="https://telegram.me/' + e.object_settings.social.telegram + ' " target="_blank">', i += '<svg class="ico_d" width="39" height="39" viewBox="0 0 39 39" fill="none" xmlns="http://www.w3.org/2000/svg">', i += '<circle class="color-element" cx="19.5" cy="19.5" r="19.5" fill="#3E99D8"/>', i += '<path d="M3.56917 -2.55497e-07L0 6.42978L7.5349 1.87535L3.56917 -2.55497e-07Z" transform="translate(13.9704 24.6145)" fill="#E0E0E0"/><path d="M20.8862 0.133954C20.754 0 20.4897 0 20.2253 0L0.396574 8.03723C0.132191 8.17118 0 8.43909 0 8.707C0 8.97491 0.132191 9.24282 0.396574 9.37677L17.5814 17.414C17.7136 17.414 17.7136 17.414 17.8458 17.414C17.978 17.414 18.1102 17.414 18.1102 17.28C18.2424 17.1461 18.3746 17.0121 18.5068 16.7442L21.1506 0.669769C21.1506 0.535815 21.1506 0.267908 20.8862 0.133954Z" transform="translate(7.36069 10.9512)" fill="white"/> <path d="M13.8801 0L0 11.52V19.4233L3.70136 13.2614L13.8801 0Z" transform="translate(13.9704 11.6208)" fill="#F2F2F2"/>', i += "</svg>", i += "</a>", i += '<div class="chaty-widget-i-title">', i += "<p>Telegram</p>", i += "</div>", i += "</div>"), "phone" == t && (i += '<div class="chaty-widget-i" >', i += '<a href="tel:' + e.object_settings.social.phone + '">', i += '<svg class="ico_d" width="39" height="39" viewBox="0 0 39 39" fill="none" xmlns="http://www.w3.org/2000/svg">', i += '<circle class="color-element" cx="19.5" cy="19.5" r="19.5" fill="#03E78B"/>', i += '<path d="M19.3929 14.9176C17.752 14.7684 16.2602 14.3209 14.7684 13.7242C14.0226 13.4259 13.1275 13.7242 12.8292 14.4701L11.7849 16.2602C8.65222 14.6193 6.11623 11.9341 4.47529 8.95057L6.41458 7.90634C7.16046 7.60799 7.45881 6.71293 7.16046 5.96705C6.56375 4.47529 6.11623 2.83435 5.96705 1.34259C5.96705 0.596704 5.22117 0 4.47529 0H0.745882C0.298353 0 5.69062e-07 0.298352 5.69062e-07 0.745881C5.69062e-07 3.72941 0.596704 6.71293 1.93929 9.3981C3.87858 13.575 7.30964 16.8569 11.3374 18.7962C14.0226 20.1388 17.0061 20.7355 19.9896 20.7355C20.4371 20.7355 20.7355 20.4371 20.7355 19.9896V16.4094C20.7355 15.5143 20.1388 14.9176 19.3929 14.9176Z" transform="translate(9.07179 9.07178)" fill="white"/>', i += "</svg>", i += "</a>", i += '<div class="chaty-widget-i-title">', i += "<p>Phone</p>", i += "</div>", i += "</div>"), "viber" == t && (i += '<div class="chaty-widget-i" data-title="' + e.object_settings.social.viber + '">', i += '<a href="viber://chat?number=' + e.object_settings.social.viber + '" target="_blank">', i += '<svg class="ico_d" width="39" height="39" viewBox="0 0 39 39" fill="none" xmlns="http://www.w3.org/2000/svg">', i += '<circle class="color-element" cx="19.5" cy="19.5" r="19.5" fill="#665CAC"/>', i += '<path d="M17.6837 2.14833C17.16 1.64578 15.0497 0.0389578 10.3496 0.0158143C10.3496 0.0158143 4.80418 -0.334645 2.10085 2.26405C0.596193 3.84111 0.0662511 6.14886 0.0126261 9.01205C-0.0441534 11.8752 -0.116705 17.2346 4.8168 18.6894H4.81995L4.8168 20.9078C4.8168 20.9078 4.78525 21.8071 5.3499 21.989C6.03125 22.2105 6.43186 21.5294 7.08482 20.7921C7.44127 20.3888 7.93651 19.7936 8.30874 19.3407C11.6808 19.6382 14.2769 18.9572 14.5702 18.858C15.2516 18.6265 19.1063 18.1075 19.7309 12.7481C20.3775 7.22338 19.4154 3.7254 17.6837 2.14833ZM18.2546 12.3513C17.7247 16.828 14.5986 17.1123 14.0245 17.3041C13.7785 17.3867 11.501 17.9818 8.63679 17.7835C8.63679 17.7835 6.50126 20.4813 5.83567 21.1856C5.73158 21.2947 5.60856 21.341 5.52654 21.3178C5.41298 21.2881 5.38144 21.1459 5.38144 20.9376C5.38459 20.64 5.40037 17.2512 5.40037 17.2512C5.39721 17.2512 5.39721 17.2512 5.40037 17.2512C1.23023 16.0378 1.47312 11.4719 1.52044 9.08148C1.56775 6.69108 1.99675 4.73379 3.26798 3.41792C5.55493 1.24904 10.2645 1.57305 10.2645 1.57305C14.2422 1.59288 16.1475 2.84594 16.5891 3.26583C18.0527 4.58501 18.8003 7.73585 18.2546 12.3513Z" transform="translate(9.47299 8.4238)" fill="white"/> <path d="M1.58982 1.72254C1.53935 0.628182 1.00941 0.0562059 0 1.00898e-07" transform="translate(20.166 15.5914)" stroke="white" stroke-width="0.518873" stroke-linecap="round" stroke-linejoin="round"/> <path d="M3.35945 3.69636C3.38153 2.67804 3.09448 1.82834 2.49514 1.14395C1.8958 0.459565 1.06619 0.0793496 1.9253e-07 2.01796e-07" transform="translate(19.7592 14.0966)" stroke="white" stroke-width="0.518873" stroke-linecap="round" stroke-linejoin="round"/> <path d="M5.22371 5.71646C5.21109 3.94763 4.70639 2.55902 3.71275 1.5407C2.71911 0.525689 1.47942 0.00991877 -3.8506e-07 1.00898e-07" transform="translate(19.2931 12.6479)" stroke="white" stroke-width="0.518873" stroke-linecap="round" stroke-linejoin="round"/> <path d="M6.35738 8.04532C6.35738 8.04532 6.73276 8.07838 6.93149 7.81719L7.32263 7.30142C7.5119 7.04353 7.96929 6.88153 8.41722 7.14272C8.66641 7.2915 9.11434 7.57914 9.39193 7.79405C9.68844 8.02218 10.2972 8.55448 10.2972 8.55448C10.5875 8.80906 10.6537 9.18597 10.4581 9.58271C10.4581 9.58602 10.455 9.58933 10.455 9.58933C10.2531 9.96293 9.9818 10.3167 9.63797 10.644C9.63482 10.6473 9.63482 10.6473 9.63167 10.6506C9.35092 10.8953 9.07333 11.0375 8.80205 11.0705C8.77051 11.0771 8.7295 11.0804 8.68219 11.0771C8.56232 11.0771 8.44561 11.0606 8.32889 11.0209L8.31943 11.0077C7.89989 10.8854 7.20277 10.5746 6.03879 9.90342C5.28173 9.467 4.654 9.02066 4.12406 8.57762C3.84331 8.34619 3.55626 8.08169 3.2629 7.77752C3.25344 7.7676 3.24398 7.75768 3.23451 7.74776C3.22505 7.73784 3.21559 7.72792 3.20612 7.718C3.19666 7.70808 3.1872 7.69817 3.17773 7.68825C3.16827 7.67833 3.15881 7.66841 3.14934 7.65849C2.85914 7.35101 2.60678 7.05015 2.38597 6.75589C1.96328 6.20045 1.53744 5.5392 1.12105 4.74902C0.480708 3.52902 0.184194 2.79834 0.0674803 2.35862L0.0548623 2.3487C0.0170094 2.22637 -0.00191702 2.10404 0.0012374 1.9784C-0.00191702 1.92881 0.0012373 1.88583 0.00754613 1.85276C0.0390903 1.56843 0.17473 1.27748 0.408157 0.983227C0.411312 0.979921 0.411311 0.979921 0.414466 0.976615C0.726753 0.616237 1.06112 0.331902 1.42072 0.120304C1.42388 0.120304 1.42703 0.116997 1.42703 0.116997C1.80556 -0.0879887 2.16517 -0.0185578 2.40806 0.285615C2.41121 0.288921 2.91592 0.923716 3.13357 1.2345C3.33861 1.52875 3.6162 1.99493 3.75499 2.25612C4.00419 2.72561 3.84962 3.20501 3.60358 3.40338L3.11149 3.81335C2.86229 4.02495 2.89384 4.41509 2.89384 4.41509C2.89384 4.41509 3.62566 7.31464 6.35738 8.04532Z" transform="translate(13.863 13.0014)" fill="white"/>', i += "</svg>", i += "</a>", i += '<div class="chaty-widget-i-title">', i += "<p>Viber</p>", i += "</div>", i += "</div>"), "vkontakte" == t && (i += '<div class="chaty-widget-i" data-title="' + e.object_settings.social.vkontakte + '">', i += '<a href="https://vk.me/' + e.object_settings.social.vkontakte + '"target="_blank">', i += '<svg class="ico_d" width="39" height="39" viewBox="0 0 39 39" fill="none" xmlns="http://www.w3.org/2000/svg">', i += '<circle class="color-element" cx="19.5" cy="19.5" r="19.5" fill="#5076AA"/>', i += '<path d="M11.0953 12.4775H12.5097C12.5097 12.4775 12.934 12.4774 13.0755 12.1971C13.2169 12.0569 13.2169 11.6363 13.2169 11.6363C13.2169 11.6363 13.2169 9.81373 14.0656 9.53334C14.9142 9.25294 15.9043 11.2157 17.0359 12.0569C17.8845 12.6176 18.5917 12.4775 18.5917 12.4775H21.562C21.562 12.4775 23.1178 12.3373 22.4106 11.2157C22.4106 11.0755 21.9863 10.2343 20.1476 8.69216C18.3088 7.0098 18.4503 7.29019 20.8548 4.20588C22.2692 2.38333 22.835 1.26176 22.6935 0.700978C22.5521 0.28039 21.562 0.42059 21.562 0.42059H18.1674C18.1674 0.42059 17.8845 0.420588 17.7431 0.560784C17.6016 0.70098 17.4602 0.981371 17.4602 0.981371C17.4602 0.981371 16.8944 2.38333 16.1872 3.6451C14.6313 6.16863 14.0656 6.30882 13.7827 6.16863C13.2169 5.74804 13.3584 4.62647 13.3584 3.92549C13.3584 1.40196 13.7827 0.420589 12.6512 0.140197C12.2268 1.06543e-06 11.944 -2.13922e-06 11.0953 -2.13922e-06C9.82233 -2.13922e-06 8.83224 -1.06543e-06 8.26647 0.280391C7.84215 0.420587 7.55927 0.841177 7.70071 0.841177C7.9836 0.841177 8.40792 0.98137 8.6908 1.40196C8.97368 1.82255 8.97368 2.94412 8.97368 2.94412C8.97368 2.94412 9.11513 5.88824 8.54936 6.16863C8.12503 6.44902 7.41783 5.88824 6.14485 3.6451C5.43764 2.52353 4.87188 1.12157 4.87188 1.12157C4.87188 1.12157 4.73044 0.841174 4.589 0.700978C4.30611 0.560782 4.02323 0.560784 4.02323 0.560784H0.770071C0.770071 0.560784 0.345746 0.560785 0.0628629 0.841177C-0.0785787 0.981374 0.0628629 1.40196 0.0628629 1.40196C0.0628629 1.40196 2.60881 7.2902 5.43764 10.2343C8.12503 12.7578 11.0953 12.4775 11.0953 12.4775Z" transform="translate(6.78613 14.4898)" fill="white"/>', i += "</svg>", i += "</a>", i += '<div class="chaty-widget-i-title">', i += "<p>Vkontakte</p>", i += "</div>", i += "</div>"), "waze" == t && (i += '<div class="chaty-widget-i" data-title="' + e.object_settings.social.waze + '"target="_blank">', i += '<a href="' + e.object_settings.social.waze + '"target="_blank">', i += '<svg class="ico_d" width="39" height="39" viewBox="0 0 39 39" fill="none" xmlns="http://www.w3.org/2000/svg">', i += '<circle class="color-element" cx="19.5" cy="19.5" r="19.5" fill="#6ECCEF"/>', i += '<path d="M11.6549 16.6733C16.5911 16.6733 20.5675 12.9218 20.5675 8.33667C20.5675 3.7515 16.5911 0 11.6549 0C6.7187 0 2.74233 3.7515 2.74233 8.33667C2.74233 8.33667 3.42791 12.505 0 12.505C0 15.9786 6.17024 16.6733 11.6549 16.6733Z" transform="translate(9.15631 9.71375)" fill="#6ECCEF" class="color-element"/> <path d="M12.3405 18.0628C3.97637 18.0628 0 16.5344 0 13.1997C0 12.7829 0.274233 12.505 0.685582 12.505C1.37116 12.505 1.91963 12.3661 2.19386 11.9492C3.01656 10.9766 2.74233 9.17034 2.74233 9.17034C2.74233 4.02939 6.99293 0 12.3405 0C17.688 0 21.9386 4.02939 21.9386 9.0314C21.9386 14.0334 17.688 18.0628 12.3405 18.0628ZM1.50828 13.7555C2.19386 15.5618 5.896 16.6733 12.3405 16.6733C16.8653 16.6733 20.5675 13.1997 20.5675 9.0314C20.5675 4.86306 16.8653 1.38945 12.3405 1.38945C7.81563 1.38945 4.11349 4.86306 4.11349 9.0314C4.11349 9.0314 4.52484 11.3935 3.29079 12.7829C2.74233 13.3387 2.19386 13.6166 1.50828 13.7555Z" transform="translate(8.46936 9.01862)" fill="white"/> <path d="M2.74233 5.55778C4.25687 5.55778 5.48465 4.31363 5.48465 2.77889C5.48465 1.24415 4.25687 0 2.74233 0C1.22778 0 0 1.24415 0 2.77889C0 4.31363 1.22778 5.55778 2.74233 5.55778Z" transform="translate(20.8105 24.3027)" fill="white"/> <path d="M2.74233 5.55778C4.25687 5.55778 5.48465 4.31363 5.48465 2.77889C5.48465 1.24415 4.25687 0 2.74233 0C1.22778 0 0 1.24415 0 2.77889C0 4.31363 1.22778 5.55778 2.74233 5.55778Z" transform="translate(12.5836 24.3025)" fill="white"/> <path d="M0.685582 1.38945C0.274233 1.38945 0 1.11156 0 0.694723C0 0.277889 0.274233 0 0.685582 0C1.09693 0 1.37116 0.277889 1.37116 0.694723C1.37116 1.11156 1.09693 1.38945 0.685582 1.38945Z" transform="translate(17.3835 15.2717)" fill="white"/> <path d="M0.685582 1.38945C0.274233 1.38945 0 1.11156 0 0.694723C0 0.277889 0.274233 0 0.685582 0C1.09693 0 1.37116 0.277889 1.37116 0.694723C1.37116 1.11156 1.09693 1.38945 0.685582 1.38945Z" transform="translate(22.8668 15.2717)" fill="white"/> <path d="M4.14916 4.20448C2.22953 4.20448 0.447017 2.81503 0.035668 0.869809C-0.101448 0.452975 0.172786 0.175088 0.584135 0.0361436C0.995484 -0.102801 1.26972 0.17509 1.40683 0.591924C1.68106 1.84242 2.77799 2.81503 4.14916 2.81503C5.52032 2.81503 6.61725 1.84242 6.89148 0.591924C7.0286 0.17509 7.30283 0.0361436 7.71418 0.0361436C8.12553 0.175088 8.26265 0.452975 8.26265 0.869809C7.8513 2.81503 6.06879 4.20448 4.14916 4.20448Z" transform="translate(16.662 18.7092)" fill="white"/>', i += "</svg>", i += "</a>", i += '<div class="chaty-widget-i-title">', i += "<p>Waze</p>", i += "</div>", i += "</div>"), "whatsapp" == t && (phone = e.object_settings.social.whatsapp, i += '<div class="chaty-widget-i" data-title="' + e.object_settings.social.whatsapp + '">', i += '<a href=" https://api.whatsapp.com/send?phone=' + phone.replace("+", "") + '"target="_blank">', i += '<svg class="ico_d" width="39" height="39" viewBox="0 0 39 39" fill="none" xmlns="http://www.w3.org/2000/svg">', i += '<circle class="color-element" cx="19.5" cy="19.5" r="19.5" fill="#49E670"/>', i += '<path d="M12.9821 10.1115C12.7029 10.7767 11.5862 11.442 10.7486 11.575C10.1902 11.7081 9.35269 11.8411 6.84003 10.7767C3.48981 9.44628 1.39593 6.25317 1.25634 6.12012C1.11674 5.85403 2.13001e-06 4.39053 2.13001e-06 2.92702C2.13001e-06 1.46351 0.83755 0.665231 1.11673 0.399139C1.39592 0.133046 1.8147 1.01506e-06 2.23348 1.01506e-06C2.37307 1.01506e-06 2.51267 1.01506e-06 2.65226 1.01506e-06C2.93144 1.01506e-06 3.21063 -2.02219e-06 3.35022 0.532183C3.62941 1.19741 4.32736 2.66092 4.32736 2.79397C4.46696 2.92702 4.46696 3.19311 4.32736 3.32616C4.18777 3.59225 4.18777 3.59224 3.90858 3.85834C3.76899 3.99138 3.6294 4.12443 3.48981 4.39052C3.35022 4.52357 3.21063 4.78966 3.35022 5.05576C3.48981 5.32185 4.18777 6.38622 5.16491 7.18449C6.42125 8.24886 7.39839 8.51496 7.81717 8.78105C8.09636 8.91409 8.37554 8.9141 8.65472 8.648C8.93391 8.38191 9.21309 7.98277 9.49228 7.58363C9.77146 7.31754 10.0507 7.1845 10.3298 7.31754C10.609 7.45059 12.2841 8.11582 12.5633 8.38191C12.8425 8.51496 13.1217 8.648 13.1217 8.78105C13.1217 8.78105 13.1217 9.44628 12.9821 10.1115Z" transform="translate(12.9597 12.9597)" fill="#FAFAFA"/> <path d="M0.196998 23.295L0.131434 23.4862L0.323216 23.4223L5.52771 21.6875C7.4273 22.8471 9.47325 23.4274 11.6637 23.4274C18.134 23.4274 23.4274 18.134 23.4274 11.6637C23.4274 5.19344 18.134 -0.1 11.6637 -0.1C5.19344 -0.1 -0.1 5.19344 -0.1 11.6637C-0.1 13.9996 0.624492 16.3352 1.93021 18.2398L0.196998 23.295ZM5.87658 19.8847L5.84025 19.8665L5.80154 19.8788L2.78138 20.8398L3.73978 17.9646L3.75932 17.906L3.71562 17.8623L3.43104 17.5777C2.27704 15.8437 1.55796 13.8245 1.55796 11.6637C1.55796 6.03288 6.03288 1.55796 11.6637 1.55796C17.2945 1.55796 21.7695 6.03288 21.7695 11.6637C21.7695 17.2945 17.2945 21.7695 11.6637 21.7695C9.64222 21.7695 7.76778 21.1921 6.18227 20.039L6.17557 20.0342L6.16817 20.0305L5.87658 19.8847Z" transform="translate(7.7758 7.77582)" fill="white" stroke="white" stroke-width="0.2"/', i += "</svg>", i += "</a>", i += '<div class="chaty-widget-i-title">', i += "<p>Whatsapp</p>", i += "</div>", i += "</div>"), "line" == t && (i += '<div class="chaty-widget-i" data-title="' + e.object_settings.social.line + '"target="_blank">', i += '<a href="' + e.object_settings.social.line + '"target="_blank">', i += '<svg class="ico_d" width="39" height="39" viewBox="0 0 39 39" fill="none" xmlns="http://www.w3.org/2000/svg">', i += '<circle class="color-element" cx="19.5" cy="19.5" r="19.5" fill="#38B900"></circle>', i += '<path d="M24 9.36561C24 4.19474 18.6178 0 12 0C5.38215 0 0 4.19474 0 9.36561C0 13.9825 4.25629 17.8606 10.0229 18.5993C10.4073 18.6785 10.9565 18.8368 11.0664 19.1797C11.1762 19.4699 11.1487 19.9184 11.0938 20.235C11.0938 20.235 10.9565 21.0528 10.9291 21.2111C10.8741 21.5013 10.6819 22.3456 11.9725 21.8443C13.2632 21.3167 18.8924 17.9398 21.3913 15.1433C23.1487 13.2702 24 11.4234 24 9.36561Z" transform="translate(7 10)" fill="white"></path> <path d="M1.0984 0H0.24714C0.10984 0 -2.09503e-07 0.105528 -2.09503e-07 0.211056V5.22364C-2.09503e-07 5.35555 0.10984 5.43469 0.24714 5.43469H1.0984C1.2357 5.43469 1.34554 5.32917 1.34554 5.22364V0.211056C1.34554 0.105528 1.2357 0 1.0984 0Z" transform="translate(15.4577 16.8593)" fill="#38B900" class="color-element"></path> <path d="M4.66819 0H3.81693C3.67963 0 3.56979 0.105528 3.56979 0.211056V3.19222L1.18078 0.0791458C1.18078 0.0791458 1.18078 0.0527642 1.15332 0.0527642C1.15332 0.0527642 1.15332 0.0527641 1.12586 0.0263821C1.12586 0.0263821 1.12586 0.0263821 1.0984 0.0263821H0.247139C0.10984 0.0263821 4.19006e-07 0.13191 4.19006e-07 0.237438V5.25002C4.19006e-07 5.38193 0.10984 5.46108 0.247139 5.46108H1.0984C1.2357 5.46108 1.34554 5.35555 1.34554 5.25002V2.26885L3.73455 5.38193C3.76201 5.40831 3.76201 5.43469 3.78947 5.43469C3.78947 5.43469 3.78947 5.43469 3.81693 5.43469C3.81693 5.43469 3.81693 5.43469 3.84439 5.43469C3.87185 5.43469 3.87185 5.43469 3.89931 5.43469H4.75057C4.88787 5.43469 4.99771 5.32917 4.99771 5.22364V0.211056C4.91533 0.105528 4.80549 0 4.66819 0Z" transform="translate(17.6819 16.8593)" fill="#38B900" class="color-element"></path> <path d="M3.62471 4.22112H1.34554V0.237438C1.34554 0.105528 1.2357 0 1.0984 0H0.24714C0.10984 0 -5.23757e-08 0.105528 -5.23757e-08 0.237438V5.25002C-5.23757e-08 5.30278 0.0274599 5.35555 0.0549198 5.40831C0.10984 5.43469 0.16476 5.46108 0.21968 5.46108H3.56979C3.70709 5.46108 3.78947 5.35555 3.78947 5.22364V4.4058C3.87185 4.32665 3.76201 4.22112 3.62471 4.22112Z" transform="translate(10.8993 16.8593)" fill="#38B900" class="color-element"></path> <path d="M3.56979 1.29272C3.70709 1.29272 3.78947 1.18719 3.78947 1.05528V0.237438C3.78947 0.105528 3.67963 -1.00639e-07 3.56979 -1.00639e-07H0.219679C0.164759 -1.00639e-07 0.10984 0.0263821 0.0549199 0.0527641C0.02746 0.105528 -2.09503e-07 0.158292 -2.09503e-07 0.211056V5.22364C-2.09503e-07 5.2764 0.02746 5.32917 0.0549199 5.38193C0.10984 5.40831 0.164759 5.43469 0.219679 5.43469H3.56979C3.70709 5.43469 3.78947 5.32917 3.78947 5.19726V4.37941C3.78947 4.2475 3.67963 4.14198 3.56979 4.14198H1.29062V3.29775H3.56979C3.70709 3.29775 3.78947 3.19222 3.78947 3.06031V2.24247C3.78947 2.11056 3.67963 2.00503 3.56979 2.00503H1.29062V1.16081H3.56979V1.29272Z" transform="translate(23.421 16.8329)" fill="#38B900" class="color-element"></path>', i += "</svg>", i += "</a>", i += '<div class="chaty-widget-i-title">', i += "<p>Line</p>", i += "</div>", i += "</div>"), "wechat" == t && (i += '<div class="chaty-widget-i" data-title="' + e.object_settings.social.wechat + '"target="_blank">', i += '<svg class="ico_d" width="39" height="39" viewBox="0 0 39 39" fill="none" xmlns="http://www.w3.org/2000/svg">', i += '<circle class="color-element" cx="19.5" cy="19.5" r="19.5" fill="#45DC00"></circle>', i += '<path d="M17.3707 6.90938C15.0508 7.03077 13.0281 7.71242 11.3888 9.26248C9.73039 10.8312 8.97307 12.7455 9.18397 15.1172C8.27327 15.0052 7.44884 14.8838 6.61482 14.8184C6.32723 14.7904 5.99171 14.8278 5.74246 14.9585C4.93721 15.4067 4.16071 15.9016 3.24042 16.4619C3.41298 15.7242 3.51843 15.0705 3.71015 14.4449C3.85395 13.9874 3.78685 13.7353 3.35546 13.4364C0.584998 11.5222 -0.594125 8.65553 0.287821 5.69547C1.10266 2.95952 3.09663 1.30674 5.80957 0.447674C9.50991 -0.728879 13.68 0.475687 15.9232 3.33303C16.738 4.36952 17.2365 5.53673 17.3707 6.90938ZM6.69152 5.98494C6.71069 5.44336 6.23137 4.95779 5.65619 4.93912C5.07142 4.92044 4.5921 5.35932 4.57293 5.91958C4.55375 6.48918 5.00431 6.94673 5.58908 6.95607C6.18344 6.97474 6.67234 6.53587 6.69152 5.98494ZM12.2612 4.93912C11.686 4.94846 11.2067 5.42468 11.2163 5.96627C11.2259 6.52653 11.7052 6.9654 12.29 6.9654C12.8843 6.95607 13.3253 6.51719 13.3253 5.93825C13.3157 5.37799 12.846 4.92978 12.2612 4.93912Z" transform="translate(7 9)" fill="white"></path><path d="M12.48 13.2605C11.7418 12.943 11.0708 12.4668 10.3518 12.3921C9.63283 12.3174 8.88509 12.7189 8.13735 12.7936C5.8558 13.0177 3.8139 12.4014 2.13629 10.8887C-1.06556 8.00334 -0.605416 3.57726 3.09492 1.21482C6.38305 -0.886168 11.2146 -0.185839 13.5345 2.72753C15.5572 5.26739 15.3175 8.64764 12.8538 10.786C12.1349 11.4023 11.876 11.9158 12.3362 12.7282C12.4225 12.8776 12.432 13.0737 12.48 13.2605ZM4.11108 5.3701C4.58081 5.3701 4.96426 5.01527 4.98344 4.56706C5.00261 4.09084 4.60957 3.68932 4.12066 3.68932C3.63176 3.68932 3.22913 4.09084 3.2483 4.55772C3.26748 5.00593 3.65093 5.3701 4.11108 5.3701ZM9.5082 3.68932C9.05764 3.68932 8.6646 4.04415 8.64543 4.49236C8.62626 4.96858 9.00971 5.36077 9.48903 5.36077C9.95876 5.36077 10.3326 5.01527 10.3422 4.55772C10.371 4.09084 9.98752 3.68932 9.5082 3.68932Z" transform="translate(17.1057 16.7395)" fill="white"></path>', i += "</svg>", i += '<div class="chaty-widget-i-title">', i += "<p>WeChat: " + e.object_settings.social.wechat + "</p>", i += "</div>", 1 === Object.keys(e.object_settings.social).length && (i += '<div class="snap-wee-title">', i += "<p>WeChat: " + e.object_settings.social.wechat + "</p>", i += "</div>"), i += "</div>")
49
  }), i
50
  }
51
 
@@ -74,7 +74,7 @@
74
  default:
75
  return '<svg version="1.1" id="ch" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="-496 507.7 54 54" style="enable-background:new -496 507.7 54 54;" xml:space="preserve">\n<style type="text/css">.st1 {fill: #FFFFFF;}.st0{fill: #808080;}</style>\n<g><circle cx="-469" cy="534.7" r="27" fill="' + t.object_settings.color + '"/></g>\n<path class="st1" d="M-459.9,523.7h-20.3c-1.9,0-3.4,1.5-3.4,3.4v15.3c0,1.9,1.5,3.4,3.4,3.4h11.4l5.9,4.9c0.2,0.2,0.3,0.2,0.5,0.2 h0.3c0.3-0.2,0.5-0.5,0.5-0.8v-4.2h1.7c1.9,0,3.4-1.5,3.4-3.4v-15.3C-456.5,525.2-458,523.7-459.9,523.7z"/>\n<path class="st0" d="M-477.7,530.5h11.9c0.5,0,0.8,0.4,0.8,0.8l0,0c0,0.5-0.4,0.8-0.8,0.8h-11.9c-0.5,0-0.8-0.4-0.8-0.8l0,0C-478.6,530.8-478.2,530.5-477.7,530.5z"/>\n<path class="st0" d="M-477.7,533.5h7.9c0.5,0,0.8,0.4,0.8,0.8l0,0c0,0.5-0.4,0.8-0.8,0.8h-7.9c-0.5,0-0.8-0.4-0.8-0.8l0,0C-478.6,533.9-478.2,533.5-477.7,533.5z"/>\n</svg>'
76
  }
77
- }(e), C = i("display_cta"), "" != d && "none" != C && (g += ' <div class="chaty-widget-i-title true"> ', g += d, g += "</div>"), g += "</div>", g += '<div class="chaty-widget-i i-trigger-close" data-title="Hide" style="background-color:' + e.object_settings.color + '">', g += '<svg viewBox="0 0 54 54" fill="none" xmlns="http://www.w3.org/2000/svg">', g += '<ellipse cx="26" cy="26" rx="26" ry="26" fill="' + e.object_settings.color + '"/>', g += '<rect width="27.1433" height="3.89857" rx="1.94928" transform="translate(18.35 15.6599) scale(0.998038 1.00196) rotate(45)" fill="white"/>', g += '<rect width="27.1433" height="3.89857" rx="1.94928" transform="translate(37.5056 18.422) scale(0.998038 1.00196) rotate(135)" fill="white"/>', g += "</svg>", g += '<div class="chaty-widget-i-title">', g += "Hide", g += "</div>", g += "</div>", g += " </div>", 0 === n.length && (g += '<div class="get" style="position: absolute;width: 100%;text-align: center;"> <a href="https://premio.io/downloads/chaty/?utm_source=wpplugin" target="_blank" style=" font-size: 11px; top: -5px; position: relative; color: #8c8585; width:60px; font-family: Lato, Helvetica, Arial, sans-serif; ">Get Widget</a></div>'), g += "</div>"
78
 
79
  } else {
80
  var w = "";
45
  var i = "", n = 0;
46
  return t.each(e.object_settings.social, function (t, a) {
47
  if (!e.object_settings.isPRO && "3" == ++n)return !1;
48
+ "linkedin" == t && (i += '<div class="chaty-widget-i" data-title="' + e.object_settings.social.linkedin + '">', i += '<a href="https://www.linkedin.com/' + e.object_settings.social.linkedin + '" target="_blank">', i += '<svg class="ico_d" width="39" height="39" viewBox="0 0 39 39" fill="none" xmlns="http://www.w3.org/2000/svg">', i += '<circle class="color-element" cx="19.5" cy="19.5" r="19.5" fill="#0077b5"/>', i += '<path id="LinkedIn_color" d="M18,20.1v6.655H14.142V20.549c0-1.56-.558-2.624-1.954-2.624a2.111,2.111,0,0,0-1.98,1.411,2.64,2.64,0,0,0-.128.941v6.481H6.221s.052-10.516,0-11.606H10.08V16.8c-.008.012-.018.026-.025.037h.025V16.8a3.832,3.832,0,0,1,3.478-1.918C16.1,14.88,18,16.539,18,20.1ZM2.184,9.558a2.011,2.011,0,1,0-.051,4.011h.026a2.012,2.012,0,1,0,.025-4.011ZM.229,26.758H4.087V15.152H.229Z" transform="translate(11 1.442)" fill="#fff"/>', i += "</svg>", i += "</a>", i += '<div class="chaty-widget-i-title">', i += "<p>Linkedin</p>", i += "</div>", i += "</div>"), "twitter" == t && (i += '<div class="chaty-widget-i" data-title="' + e.object_settings.social.twitter + '">', i += '<a href="https://twitter.com/' + e.object_settings.social.twitter + '" target="_blank">', i += '<svg class="ico_d" width="39" height="39" viewBox="0 0 39 39" fill="none" xmlns="http://www.w3.org/2000/svg">', i += '<circle class="color-element" cx="19.5" cy="19.5" r="19.5" fill="#1ab2e8"/>', i += '<path id="path_color_twitter" d="M18.532,59.222a7.592,7.592,0,0,1-2.183.6,3.817,3.817,0,0,0,1.671-2.1,7.664,7.664,0,0,1-2.416.923,3.8,3.8,0,0,0-6.478,3.466,10.792,10.792,0,0,1-7.835-3.972A3.806,3.806,0,0,0,2.469,63.21a3.8,3.8,0,0,1-1.722-.477v.047A3.805,3.805,0,0,0,3.8,66.508a3.85,3.85,0,0,1-1,.133,3.649,3.649,0,0,1-.716-.071,3.8,3.8,0,0,0,3.55,2.64A7.627,7.627,0,0,1,.908,70.835,8.079,8.079,0,0,1,0,70.783a10.745,10.745,0,0,0,5.827,1.71A10.741,10.741,0,0,0,16.643,61.678l-.013-.492A7.591,7.591,0,0,0,18.532,59.222Z" transform="translate(9.999 -45.441)" fill="#fff"/>', i += "</svg>", i += "</a>", i += '<div class="chaty-widget-i-title">', i += "<p>Twitter</p>", i += "</div>", i += "</div>"), "instagram" == t && (i += '<div class="chaty-widget-i" data-title="' + e.object_settings.social.instagram + '">', i += '<a href="https://www.instagram.com/' + e.object_settings.social.instagram + '" target="_blank">', i += '<svg class="ico_d" width="39" height="39" viewBox="0 0 39 39" fill="none" xmlns="http://www.w3.org/2000/svg">', i += '<defs><linearGradient id="linear-gradient" x1="0.892" y1="0.192" x2="0.128" y2="0.85" gradientUnits="objectBoundingBox"><stop offset="0" stop-color="#4a64d5"/><stop offset="0.322" stop-color="#9737bd"/><stop offset="0.636" stop-color="#f15540"/><stop offset="1" stop-color="#fecc69"/></linearGradient></defs><circle class="color-element" cx="19.5" cy="19.5" r="19.5" fill="url(#linear-gradient)"/>', i += '<path id="Path_1923" data-name="Path 1923" d="M13.177,0H5.022A5.028,5.028,0,0,0,0,5.022v8.155A5.028,5.028,0,0,0,5.022,18.2h8.155A5.028,5.028,0,0,0,18.2,13.177V5.022A5.028,5.028,0,0,0,13.177,0Zm3.408,13.177a3.412,3.412,0,0,1-3.408,3.408H5.022a3.411,3.411,0,0,1-3.408-3.408V5.022A3.412,3.412,0,0,1,5.022,1.615h8.155a3.412,3.412,0,0,1,3.408,3.408v8.155Z" transform="translate(10 10.4)" fill="#fff"/><path id="Path_1924" data-name="Path 1924" d="M45.658,40.97a4.689,4.689,0,1,0,4.69,4.69A4.695,4.695,0,0,0,45.658,40.97Zm0,7.764a3.075,3.075,0,1,1,3.075-3.075A3.078,3.078,0,0,1,45.658,48.734Z" transform="translate(-26.558 -26.159)" fill="#fff"/><path id="Path_1925" data-name="Path 1925" d="M120.105,28.251a1.183,1.183,0,1,0,.838.347A1.189,1.189,0,0,0,120.105,28.251Z" transform="translate(-96.119 -14.809)" fill="#fff"/>', i += "</svg>", i += "</a>", i += '<div class="chaty-widget-i-title">', i += "<p>Instagram</p>", i += "</div>", i += "</div>"), "custom_link" == t && (i += '<div class="chaty-widget-i" data-title="' + e.object_settings.social.custom_link + '">', i += '<a href="' + e.object_settings.social.custom_link + '" target="_blank">', i += '<svg class="ico_d" width="39" height="39" viewBox="0 0 39 39" fill="none" xmlns="http://www.w3.org/2000/svg">', i += '<circle class="color-element" cx="19.4395" cy="19.4395" r="19.4395" fill="#1E88E5"/>', i += '<mask id="path-2-outside-1" maskUnits="userSpaceOnUse" x="-1" y="-1" width="13" height="14" fill="black"><rect fill="white" x="-1" y="-1" width="13" height="14"/><path fill-rule="evenodd" clip-rule="evenodd" d="M9.10658 1.73537C9.10658 1.73537 9.10658 1.73538 9.10659 1.73538L9.93879 2.58495C9.9388 2.58495 9.9388 2.58495 9.9388 2.58496C9.99645 2.64381 10.0508 2.70475 10.1019 2.76754C10.3002 3.0113 10.6804 3.07698 10.9003 2.85252C11.0424 2.70754 11.0721 2.4836 10.9533 2.31904C10.849 2.17452 10.7327 2.03614 10.6046 1.90532C10.6046 1.9053 10.6046 1.90529 10.6045 1.90528L9.77236 1.05572C9.77236 1.05572 9.77235 1.05572 9.77235 1.05572C8.39351 -0.351905 6.15792 -0.351905 4.77907 1.05571C4.77907 1.05572 4.77907 1.05572 4.77906 1.05572L1.03414 4.87877C1.03413 4.87878 1.03413 4.87878 1.03413 4.87878C-0.344706 6.2864 -0.34471 8.56858 1.03412 9.9762C1.03413 9.97621 1.03414 9.97622 1.03415 9.97623L1.86633 10.8258C1.86634 10.8258 1.86635 10.8258 1.86636 10.8258C3.24521 12.2334 5.48072 12.2334 6.85962 10.8258C6.85963 10.8258 6.85964 10.8258 6.85964 10.8258L9.28893 8.34581C9.47006 8.1609 9.47006 7.86509 9.28893 7.68018C9.10243 7.48979 8.79591 7.48979 8.60942 7.68018L6.19386 10.1461C6.19386 10.1461 6.19386 10.1461 6.19386 10.1461C5.1827 11.1784 3.54326 11.1784 2.53215 10.1461C2.53213 10.1461 2.53211 10.1461 2.53209 10.1461L1.69991 9.29657C1.69991 9.29657 1.6999 9.29656 1.6999 9.29655C0.688737 8.2643 0.688739 6.59069 1.6999 5.55844C1.6999 5.55843 1.69991 5.55843 1.69991 5.55843L5.44484 1.73538C5.44484 1.73538 5.44484 1.73537 5.44484 1.73537C6.45601 0.703119 8.09541 0.703118 9.10658 1.73537Z"/></mask><path fill-rule="evenodd" clip-rule="evenodd" d="M9.10658 1.73537C9.10658 1.73537 9.10658 1.73538 9.10659 1.73538L9.93879 2.58495C9.9388 2.58495 9.9388 2.58495 9.9388 2.58496C9.99645 2.64381 10.0508 2.70475 10.1019 2.76754C10.3002 3.0113 10.6804 3.07698 10.9003 2.85252C11.0424 2.70754 11.0721 2.4836 10.9533 2.31904C10.849 2.17452 10.7327 2.03614 10.6046 1.90532C10.6046 1.9053 10.6046 1.90529 10.6045 1.90528L9.77236 1.05572C9.77236 1.05572 9.77235 1.05572 9.77235 1.05572C8.39351 -0.351905 6.15792 -0.351905 4.77907 1.05571C4.77907 1.05572 4.77907 1.05572 4.77906 1.05572L1.03414 4.87877C1.03413 4.87878 1.03413 4.87878 1.03413 4.87878C-0.344706 6.2864 -0.34471 8.56858 1.03412 9.9762C1.03413 9.97621 1.03414 9.97622 1.03415 9.97623L1.86633 10.8258C1.86634 10.8258 1.86635 10.8258 1.86636 10.8258C3.24521 12.2334 5.48072 12.2334 6.85962 10.8258C6.85963 10.8258 6.85964 10.8258 6.85964 10.8258L9.28893 8.34581C9.47006 8.1609 9.47006 7.86509 9.28893 7.68018C9.10243 7.48979 8.79591 7.48979 8.60942 7.68018L6.19386 10.1461C6.19386 10.1461 6.19386 10.1461 6.19386 10.1461C5.1827 11.1784 3.54326 11.1784 2.53215 10.1461C2.53213 10.1461 2.53211 10.1461 2.53209 10.1461L1.69991 9.29657C1.69991 9.29657 1.6999 9.29656 1.6999 9.29655C0.688737 8.2643 0.688739 6.59069 1.6999 5.55844C1.6999 5.55843 1.69991 5.55843 1.69991 5.55843L5.44484 1.73538C5.44484 1.73538 5.44484 1.73537 5.44484 1.73537C6.45601 0.703119 8.09541 0.703118 9.10658 1.73537Z" transform="translate(9.95154 16.0478)" fill="white"/><path d="M5.44484 1.73538L5.23053 1.52545L5.44484 1.73538ZM5.44484 1.73537L5.23053 1.52544L5.44484 1.73537ZM1.6999 5.55844L1.48559 5.3485L1.6999 5.55844ZM1.69991 5.55843L1.91422 5.76836L1.69991 5.55843ZM1.69991 9.29657L1.91422 9.08664L1.69991 9.29657ZM1.6999 9.29655L1.91421 9.08662L1.6999 9.29655ZM2.53215 10.1461L2.31784 10.3561L2.53215 10.1461ZM2.53209 10.1461L2.31778 10.356L2.53209 10.1461ZM6.19386 10.1461L5.97955 9.93618L6.19386 10.1461ZM6.19386 10.1461L6.40817 10.356L6.19386 10.1461ZM8.60942 7.68018L8.82373 7.89011L8.60942 7.68018ZM9.28893 8.34581L9.07462 8.13588L9.28893 8.34581ZM6.85962 10.8258L6.64532 10.6158L6.85962 10.8258ZM6.85964 10.8258L7.07395 11.0357L6.85964 10.8258ZM1.86633 10.8258L2.08064 10.6158L1.86633 10.8258ZM1.86636 10.8258L2.08067 10.6159L1.86636 10.8258ZM1.03412 9.9762L1.24843 9.76628L1.03412 9.9762ZM1.03415 9.97623L0.819841 10.1862L1.03415 9.97623ZM1.03414 4.87877L0.819827 4.66884L1.03414 4.87877ZM1.03413 4.87878L1.24844 5.08871L1.03413 4.87878ZM4.77907 1.05571L4.99338 1.26564L4.77907 1.05571ZM4.77906 1.05572L4.99338 1.26565L4.77906 1.05572ZM9.77236 1.05572L9.55805 1.26565L9.77236 1.05572ZM9.77235 1.05572L9.98666 0.845785L9.77235 1.05572ZM10.6046 1.90532L10.8189 1.6954L10.6046 1.90532ZM10.6045 1.90528L10.8189 1.69535L10.6045 1.90528ZM10.9533 2.31904L10.7101 2.49464L10.9533 2.31904ZM10.1019 2.76754L9.86916 2.95685L10.1019 2.76754ZM9.10659 1.73538L9.3209 1.52545L9.10659 1.73538ZM9.10658 1.73537L8.89227 1.9453L9.10658 1.73537ZM9.93879 2.58495L10.1531 2.37502L9.93879 2.58495ZM9.9388 2.58496L10.1531 2.37503L9.9388 2.58496ZM10.1531 2.37502L9.3209 1.52545L8.89228 1.94531L9.72448 2.79488L10.1531 2.37502ZM10.3346 2.57823C10.2777 2.50832 10.2172 2.4405 10.1531 2.37503L9.72449 2.79488C9.77566 2.84713 9.82388 2.90119 9.86916 2.95685L10.3346 2.57823ZM11.1966 2.14344C11.0835 1.98684 10.9576 1.83698 10.8189 1.6954L10.3903 2.11524C10.5079 2.2353 10.6145 2.3622 10.7101 2.49464L11.1966 2.14344ZM10.8189 1.69535L9.98667 0.845789L9.55805 1.26565L10.3902 2.11521L10.8189 1.69535ZM9.98666 0.845785C8.49018 -0.681928 6.06124 -0.681928 4.56476 0.845784L4.99338 1.26564C6.25459 -0.0218819 8.29683 -0.0218814 9.55804 1.26565L9.98666 0.845785ZM4.56475 0.84579L0.819827 4.66884L1.24845 5.0887L4.99338 1.26565L4.56475 0.84579ZM0.819819 4.66885C-0.673269 6.1931 -0.673273 8.66187 0.819807 10.1861L1.24843 9.76628C-0.0161474 8.47529 -0.016144 6.37969 1.24844 5.08871L0.819819 4.66885ZM0.819841 10.1862L1.65203 11.0357L2.08064 10.6158L1.24846 9.7663L0.819841 10.1862ZM1.65205 11.0357C3.14854 12.5634 5.57739 12.5634 7.07393 11.0357L6.64532 10.6158C5.38405 11.9034 3.34188 11.9034 2.08067 10.6159L1.65205 11.0357ZM7.07395 11.0357L9.50324 8.55574L9.07462 8.13588L6.64533 10.6158L7.07395 11.0357ZM6.40817 10.356L8.82373 7.89011L8.39511 7.47025L5.97955 9.93618L6.40817 10.356ZM2.31784 10.3561C3.44659 11.5084 5.27938 11.5084 6.40817 10.356L5.97955 9.93618C5.08603 10.8483 3.63993 10.8483 2.74646 9.93621L2.31784 10.3561ZM1.48561 9.50651L2.31778 10.356L2.7464 9.93615L1.91422 9.08664L1.48561 9.50651ZM1.48559 5.3485C0.360176 6.49739 0.360173 8.35759 1.48559 9.50648L1.91421 9.08662C1.0173 8.171 1.0173 6.68399 1.91421 5.76837L1.48559 5.3485ZM5.23053 1.52545L1.4856 5.3485L1.91422 5.76836L5.65915 1.94531L5.23053 1.52545ZM9.32089 1.52544C8.19208 0.373095 6.35934 0.373096 5.23053 1.52544L5.65915 1.9453C6.55268 1.03314 7.99874 1.03314 8.89227 1.9453L9.32089 1.52544ZM5.65915 1.94531C5.65915 1.94531 5.65915 1.94531 5.65915 1.9453L5.23053 1.52544C5.23053 1.52544 5.23053 1.52544 5.23053 1.52545L5.65915 1.94531ZM1.91421 5.76837C1.91421 5.76837 1.91422 5.76836 1.91422 5.76836L1.4856 5.3485C1.4856 5.3485 1.48559 5.3485 1.48559 5.3485L1.91421 5.76837ZM1.91422 9.08664C1.91422 9.08663 1.91421 9.08663 1.91421 9.08662L1.48559 9.50648C1.48559 9.50649 1.4856 9.5065 1.48561 9.50651L1.91422 9.08664ZM2.74646 9.93621C2.74644 9.93619 2.74642 9.93617 2.7464 9.93615L2.31778 10.356C2.3178 10.356 2.31782 10.356 2.31784 10.3561L2.74646 9.93621ZM5.97955 9.93618C5.97955 9.93618 5.97955 9.93618 5.97955 9.93618L6.40817 10.356C6.40817 10.356 6.40817 10.356 6.40817 10.356L5.97955 9.93618ZM9.50324 7.47025C9.1991 7.15977 8.69924 7.15977 8.39511 7.47025L8.82373 7.89011C8.89259 7.81981 9.00576 7.81981 9.07462 7.89011L9.50324 7.47025ZM9.50324 8.55574C9.79862 8.25419 9.79862 7.77179 9.50324 7.47025L9.07462 7.89011C9.1415 7.95838 9.1415 8.0676 9.07462 8.13588L9.50324 8.55574ZM7.07393 11.0357C7.07394 11.0357 7.07395 11.0357 7.07395 11.0357L6.64533 10.6158C6.64533 10.6158 6.64532 10.6158 6.64532 10.6158L7.07393 11.0357ZM1.65203 11.0357C1.65203 11.0357 1.65204 11.0357 1.65205 11.0357L2.08067 10.6159C2.08066 10.6158 2.08065 10.6158 2.08064 10.6158L1.65203 11.0357ZM0.819807 10.1861C0.819819 10.1861 0.81983 10.1862 0.819841 10.1862L1.24846 9.7663C1.24845 9.76629 1.24844 9.76628 1.24843 9.76628L0.819807 10.1861ZM0.819827 4.66884C0.819824 4.66884 0.819822 4.66885 0.819819 4.66885L1.24844 5.08871C1.24844 5.08871 1.24845 5.08871 1.24845 5.0887L0.819827 4.66884ZM4.56476 0.845784C4.56476 0.845786 4.56476 0.845788 4.56475 0.84579L4.99338 1.26565C4.99338 1.26565 4.99338 1.26565 4.99338 1.26564L4.56476 0.845784ZM9.98667 0.845789C9.98667 0.845788 9.98666 0.845787 9.98666 0.845785L9.55804 1.26565C9.55804 1.26565 9.55804 1.26565 9.55805 1.26565L9.98667 0.845789ZM10.8189 1.6954C10.8189 1.69538 10.8189 1.69536 10.8189 1.69535L10.3902 2.11521C10.3902 2.11522 10.3903 2.11523 10.3903 2.11524L10.8189 1.6954ZM11.1146 3.06246C11.3462 2.82606 11.411 2.44051 11.1966 2.14344L10.7101 2.49464C10.7332 2.52669 10.7385 2.58902 10.686 2.64258L11.1146 3.06246ZM9.86916 2.95685C10.1487 3.30046 10.7367 3.44829 11.1146 3.06246L10.686 2.64258C10.652 2.67732 10.6006 2.69693 10.531 2.68804C10.4586 2.67877 10.3842 2.63918 10.3346 2.57823L9.86916 2.95685ZM9.3209 1.52545C9.32089 1.52544 9.32089 1.52544 9.32089 1.52544L8.89227 1.9453C8.89227 1.9453 8.89227 1.94531 8.89228 1.94531L9.3209 1.52545ZM9.72448 2.79488C9.72448 2.79488 9.72448 2.79488 9.72449 2.79488L10.1531 2.37503C10.1531 2.37503 10.1531 2.37502 10.1531 2.37502L9.72448 2.79488Z" transform="translate(9.95154 16.0478)" fill="white" mask="url(#path-2-outside-1)"/><mask id="path-4-outside-2" maskUnits="userSpaceOnUse" x="-1" y="-1" width="13" height="14" fill="black"><rect fill="white" x="-1" y="-1" width="13" height="14"/><path fill-rule="evenodd" clip-rule="evenodd" d="M9.10658 1.73537C9.10658 1.73537 9.10658 1.73538 9.10659 1.73538L9.93879 2.58495C9.9388 2.58495 9.9388 2.58495 9.9388 2.58496C9.99645 2.64381 10.0508 2.70475 10.1019 2.76754C10.3002 3.0113 10.6804 3.07698 10.9003 2.85252C11.0424 2.70754 11.0721 2.4836 10.9533 2.31904C10.849 2.17452 10.7327 2.03614 10.6046 1.90532C10.6046 1.9053 10.6046 1.90529 10.6045 1.90528L9.77236 1.05572C9.77236 1.05572 9.77235 1.05572 9.77235 1.05572C8.39351 -0.351905 6.15792 -0.351905 4.77907 1.05571C4.77907 1.05572 4.77907 1.05572 4.77906 1.05572L1.03414 4.87877C1.03413 4.87878 1.03413 4.87878 1.03413 4.87878C-0.344706 6.2864 -0.34471 8.56858 1.03412 9.9762C1.03413 9.97621 1.03414 9.97622 1.03415 9.97623L1.86633 10.8258C1.86634 10.8258 1.86635 10.8258 1.86636 10.8258C3.24521 12.2334 5.48072 12.2334 6.85962 10.8258C6.85963 10.8258 6.85964 10.8258 6.85964 10.8258L9.28893 8.34581C9.47006 8.1609 9.47006 7.86509 9.28893 7.68018C9.10243 7.48979 8.79591 7.48979 8.60942 7.68018L6.19386 10.1461C6.19386 10.1461 6.19386 10.1461 6.19386 10.1461C5.1827 11.1784 3.54326 11.1784 2.53215 10.1461C2.53213 10.1461 2.53211 10.1461 2.53209 10.1461L1.69991 9.29657C1.69991 9.29657 1.6999 9.29656 1.6999 9.29655C0.688737 8.2643 0.688739 6.59069 1.6999 5.55844C1.6999 5.55843 1.69991 5.55843 1.69991 5.55843L5.44484 1.73538C5.44484 1.73538 5.44484 1.73537 5.44484 1.73537C6.45601 0.703119 8.09541 0.703118 9.10658 1.73537Z"/></mask><path fill-rule="evenodd" clip-rule="evenodd" d="M9.10658 1.73537C9.10658 1.73537 9.10658 1.73538 9.10659 1.73538L9.93879 2.58495C9.9388 2.58495 9.9388 2.58495 9.9388 2.58496C9.99645 2.64381 10.0508 2.70475 10.1019 2.76754C10.3002 3.0113 10.6804 3.07698 10.9003 2.85252C11.0424 2.70754 11.0721 2.4836 10.9533 2.31904C10.849 2.17452 10.7327 2.03614 10.6046 1.90532C10.6046 1.9053 10.6046 1.90529 10.6045 1.90528L9.77236 1.05572C9.77236 1.05572 9.77235 1.05572 9.77235 1.05572C8.39351 -0.351905 6.15792 -0.351905 4.77907 1.05571C4.77907 1.05572 4.77907 1.05572 4.77906 1.05572L1.03414 4.87877C1.03413 4.87878 1.03413 4.87878 1.03413 4.87878C-0.344706 6.2864 -0.34471 8.56858 1.03412 9.9762C1.03413 9.97621 1.03414 9.97622 1.03415 9.97623L1.86633 10.8258C1.86634 10.8258 1.86635 10.8258 1.86636 10.8258C3.24521 12.2334 5.48072 12.2334 6.85962 10.8258C6.85963 10.8258 6.85964 10.8258 6.85964 10.8258L9.28893 8.34581C9.47006 8.1609 9.47006 7.86509 9.28893 7.68018C9.10243 7.48979 8.79591 7.48979 8.60942 7.68018L6.19386 10.1461C6.19386 10.1461 6.19386 10.1461 6.19386 10.1461C5.1827 11.1784 3.54326 11.1784 2.53215 10.1461C2.53213 10.1461 2.53211 10.1461 2.53209 10.1461L1.69991 9.29657C1.69991 9.29657 1.6999 9.29656 1.6999 9.29655C0.688737 8.2643 0.688739 6.59069 1.6999 5.55844C1.6999 5.55843 1.69991 5.55843 1.69991 5.55843L5.44484 1.73538C5.44484 1.73538 5.44484 1.73537 5.44484 1.73537C6.45601 0.703119 8.09541 0.703118 9.10658 1.73537Z" transform="translate(28.9286 22.8312) rotate(-180)" fill="white"/><path d="M5.44484 1.73538L5.23053 1.52545L5.44484 1.73538ZM5.44484 1.73537L5.23053 1.52544L5.44484 1.73537ZM1.6999 5.55844L1.48559 5.3485L1.6999 5.55844ZM1.69991 5.55843L1.91422 5.76836L1.69991 5.55843ZM1.69991 9.29657L1.91422 9.08664L1.69991 9.29657ZM1.6999 9.29655L1.91421 9.08662L1.6999 9.29655ZM2.53215 10.1461L2.31784 10.3561L2.53215 10.1461ZM2.53209 10.1461L2.31778 10.356L2.53209 10.1461ZM6.19386 10.1461L5.97955 9.93618L6.19386 10.1461ZM6.19386 10.1461L6.40817 10.356L6.19386 10.1461ZM8.60942 7.68018L8.82373 7.89011L8.60942 7.68018ZM9.28893 8.34581L9.07462 8.13588L9.28893 8.34581ZM6.85962 10.8258L6.64532 10.6158L6.85962 10.8258ZM6.85964 10.8258L7.07395 11.0357L6.85964 10.8258ZM1.86633 10.8258L2.08064 10.6158L1.86633 10.8258ZM1.86636 10.8258L2.08067 10.6159L1.86636 10.8258ZM1.03412 9.9762L1.24843 9.76628L1.03412 9.9762ZM1.03415 9.97623L0.819841 10.1862L1.03415 9.97623ZM1.03414 4.87877L0.819827 4.66884L1.03414 4.87877ZM1.03413 4.87878L1.24844 5.08871L1.03413 4.87878ZM4.77907 1.05571L4.99338 1.26564L4.77907 1.05571ZM4.77906 1.05572L4.99338 1.26565L4.77906 1.05572ZM9.77236 1.05572L9.55805 1.26565L9.77236 1.05572ZM9.77235 1.05572L9.98666 0.845785L9.77235 1.05572ZM10.6046 1.90532L10.8189 1.6954L10.6046 1.90532ZM10.6045 1.90528L10.8189 1.69535L10.6045 1.90528ZM10.9533 2.31904L10.7101 2.49464L10.9533 2.31904ZM10.1019 2.76754L9.86916 2.95685L10.1019 2.76754ZM9.10659 1.73538L9.3209 1.52545L9.10659 1.73538ZM9.10658 1.73537L8.89227 1.9453L9.10658 1.73537ZM9.93879 2.58495L10.1531 2.37502L9.93879 2.58495ZM9.9388 2.58496L10.1531 2.37503L9.9388 2.58496ZM10.1531 2.37502L9.3209 1.52545L8.89228 1.94531L9.72448 2.79488L10.1531 2.37502ZM10.3346 2.57823C10.2777 2.50832 10.2172 2.4405 10.1531 2.37503L9.72449 2.79488C9.77566 2.84713 9.82388 2.90119 9.86916 2.95685L10.3346 2.57823ZM11.1966 2.14344C11.0835 1.98684 10.9576 1.83698 10.8189 1.6954L10.3903 2.11524C10.5079 2.2353 10.6145 2.3622 10.7101 2.49464L11.1966 2.14344ZM10.8189 1.69535L9.98667 0.845789L9.55805 1.26565L10.3902 2.11521L10.8189 1.69535ZM9.98666 0.845785C8.49018 -0.681928 6.06124 -0.681928 4.56476 0.845784L4.99338 1.26564C6.25459 -0.0218819 8.29683 -0.0218814 9.55804 1.26565L9.98666 0.845785ZM4.56475 0.84579L0.819827 4.66884L1.24845 5.0887L4.99338 1.26565L4.56475 0.84579ZM0.819819 4.66885C-0.673269 6.1931 -0.673273 8.66187 0.819807 10.1861L1.24843 9.76628C-0.0161474 8.47529 -0.016144 6.37969 1.24844 5.08871L0.819819 4.66885ZM0.819841 10.1862L1.65203 11.0357L2.08064 10.6158L1.24846 9.7663L0.819841 10.1862ZM1.65205 11.0357C3.14854 12.5634 5.57739 12.5634 7.07393 11.0357L6.64532 10.6158C5.38405 11.9034 3.34188 11.9034 2.08067 10.6159L1.65205 11.0357ZM7.07395 11.0357L9.50324 8.55574L9.07462 8.13588L6.64533 10.6158L7.07395 11.0357ZM6.40817 10.356L8.82373 7.89011L8.39511 7.47025L5.97955 9.93618L6.40817 10.356ZM2.31784 10.3561C3.44659 11.5084 5.27938 11.5084 6.40817 10.356L5.97955 9.93618C5.08603 10.8483 3.63993 10.8483 2.74646 9.93621L2.31784 10.3561ZM1.48561 9.50651L2.31778 10.356L2.7464 9.93615L1.91422 9.08664L1.48561 9.50651ZM1.48559 5.3485C0.360176 6.49739 0.360173 8.35759 1.48559 9.50648L1.91421 9.08662C1.0173 8.171 1.0173 6.68399 1.91421 5.76837L1.48559 5.3485ZM5.23053 1.52545L1.4856 5.3485L1.91422 5.76836L5.65915 1.94531L5.23053 1.52545ZM9.32089 1.52544C8.19208 0.373095 6.35934 0.373096 5.23053 1.52544L5.65915 1.9453C6.55268 1.03314 7.99874 1.03314 8.89227 1.9453L9.32089 1.52544ZM5.65915 1.94531C5.65915 1.94531 5.65915 1.94531 5.65915 1.9453L5.23053 1.52544C5.23053 1.52544 5.23053 1.52544 5.23053 1.52545L5.65915 1.94531ZM1.91421 5.76837C1.91421 5.76837 1.91422 5.76836 1.91422 5.76836L1.4856 5.3485C1.4856 5.3485 1.48559 5.3485 1.48559 5.3485L1.91421 5.76837ZM1.91422 9.08664C1.91422 9.08663 1.91421 9.08663 1.91421 9.08662L1.48559 9.50648C1.48559 9.50649 1.4856 9.5065 1.48561 9.50651L1.91422 9.08664ZM2.74646 9.93621C2.74644 9.93619 2.74642 9.93617 2.7464 9.93615L2.31778 10.356C2.3178 10.356 2.31782 10.356 2.31784 10.3561L2.74646 9.93621ZM5.97955 9.93618C5.97955 9.93618 5.97955 9.93618 5.97955 9.93618L6.40817 10.356C6.40817 10.356 6.40817 10.356 6.40817 10.356L5.97955 9.93618ZM9.50324 7.47025C9.1991 7.15977 8.69924 7.15977 8.39511 7.47025L8.82373 7.89011C8.89259 7.81981 9.00576 7.81981 9.07462 7.89011L9.50324 7.47025ZM9.50324 8.55574C9.79862 8.25419 9.79862 7.77179 9.50324 7.47025L9.07462 7.89011C9.1415 7.95838 9.1415 8.0676 9.07462 8.13588L9.50324 8.55574ZM7.07393 11.0357C7.07394 11.0357 7.07395 11.0357 7.07395 11.0357L6.64533 10.6158C6.64533 10.6158 6.64532 10.6158 6.64532 10.6158L7.07393 11.0357ZM1.65203 11.0357C1.65203 11.0357 1.65204 11.0357 1.65205 11.0357L2.08067 10.6159C2.08066 10.6158 2.08065 10.6158 2.08064 10.6158L1.65203 11.0357ZM0.819807 10.1861C0.819819 10.1861 0.81983 10.1862 0.819841 10.1862L1.24846 9.7663C1.24845 9.76629 1.24844 9.76628 1.24843 9.76628L0.819807 10.1861ZM0.819827 4.66884C0.819824 4.66884 0.819822 4.66885 0.819819 4.66885L1.24844 5.08871C1.24844 5.08871 1.24845 5.08871 1.24845 5.0887L0.819827 4.66884ZM4.56476 0.845784C4.56476 0.845786 4.56476 0.845788 4.56475 0.84579L4.99338 1.26565C4.99338 1.26565 4.99338 1.26565 4.99338 1.26564L4.56476 0.845784ZM9.98667 0.845789C9.98667 0.845788 9.98666 0.845787 9.98666 0.845785L9.55804 1.26565C9.55804 1.26565 9.55804 1.26565 9.55805 1.26565L9.98667 0.845789ZM10.8189 1.6954C10.8189 1.69538 10.8189 1.69536 10.8189 1.69535L10.3902 2.11521C10.3902 2.11522 10.3903 2.11523 10.3903 2.11524L10.8189 1.6954ZM11.1146 3.06246C11.3462 2.82606 11.411 2.44051 11.1966 2.14344L10.7101 2.49464C10.7332 2.52669 10.7385 2.58902 10.686 2.64258L11.1146 3.06246ZM9.86916 2.95685C10.1487 3.30046 10.7367 3.44829 11.1146 3.06246L10.686 2.64258C10.652 2.67732 10.6006 2.69693 10.531 2.68804C10.4586 2.67877 10.3842 2.63918 10.3346 2.57823L9.86916 2.95685ZM9.3209 1.52545C9.32089 1.52544 9.32089 1.52544 9.32089 1.52544L8.89227 1.9453C8.89227 1.9453 8.89227 1.94531 8.89228 1.94531L9.3209 1.52545ZM9.72448 2.79488C9.72448 2.79488 9.72448 2.79488 9.72449 2.79488L10.1531 2.37503C10.1531 2.37503 10.1531 2.37502 10.1531 2.37502L9.72448 2.79488Z" transform="translate(28.9286 22.8312) rotate(-180)" fill="white" mask="url(#path-4-outside-2)"/>', i += "</svg>", i += "</a>", i += '<div class="chaty-widget-i-title">', i += "<p>Link</p>", i += "</div>", i += "</div>"), "facebook_messenger" == t && (i += '<div class="chaty-widget-i" data-title="' + e.object_settings.social.facebook_messenger + '">', i += '<a href="' + e.object_settings.social.facebook_messenger + '" target="_blank">', i += '<svg class="ico_d" width="39" height="39" viewBox="0 0 39 39" fill="none" xmlns="http://www.w3.org/2000/svg">', i += '<circle class="color-element" cx="19.5" cy="19.5" r="19.5" fill="#1E88E5"/>', i += '<path fill-rule="evenodd" clip-rule="evenodd" d="M0 9.63934C0 4.29861 4.68939 0 10.4209 0C16.1524 0 20.8418 4.29861 20.8418 9.63934C20.8418 14.98 16.1524 19.2787 10.4209 19.2787C9.37878 19.2787 8.33673 19.1484 7.42487 18.8879L3.90784 20.8418V17.1945C1.56311 15.3708 0 12.6353 0 9.63934ZM8.85779 10.1604L11.463 13.0261L17.1945 6.90384L12.1143 9.76959L9.37885 6.90384L3.64734 13.0261L8.85779 10.1604Z" transform="translate(9.01854 10.3146)" fill="white"/>', i += "</svg>", i += "</a>", i += '<div class="chaty-widget-i-title">', i += "<p>Facebook Messenger</p>", i += "</div>", i += "</div>"), "google_maps" == t && (i += '<div class="chaty-widget-i" data-title="' + e.object_settings.social.google_maps + '">', i += '<a href="' + e.object_settings.social.google_maps + '" target="_blank">', i += '<svg class="ico_d" width="39" height="39" viewBox="0 0 39 39" fill="none" xmlns="http://www.w3.org/2000/svg">', i += '<circle class="color-element" cx="19.5" cy="19.5" r="19.5" fill="#37AA66"/>', i += '<path fill-rule="evenodd" clip-rule="evenodd" d="M0 8.06381C0 3.68631 3.68633 0 8.06383 0C12.4413 0 16.1276 3.68631 16.1276 8.06381C16.1276 12.2109 9.67659 19.5835 8.9854 20.2747C8.755 20.5051 8.29422 20.7355 8.06383 20.7355C7.83344 20.7355 7.37263 20.5051 7.14224 20.2747C6.45107 19.5835 0 12.2109 0 8.06381ZM11.5203 8.06378C11.5203 9.97244 9.97302 11.5197 8.06436 11.5197C6.15572 11.5197 4.60844 9.97244 4.60844 8.06378C4.60844 6.15515 6.15572 4.60788 8.06436 4.60788C9.97302 4.60788 11.5203 6.15515 11.5203 8.06378Z" transform="translate(11.3764 9.07178)" fill="white"/>', i += "</svg>", i += "</a>", i += '<div class="chaty-widget-i-title">', i += "<p>Google Maps</p>", i += "</div>", i += "</div>"), "link" == t && (i += '<div class="chaty-widget-i" data-title="' + e.object_settings.social.link + '">', i += '<a href="' + e.object_settings.social.link + '" target="_blank">', i += '<svg class="ico_d" width="39" height="39" viewBox="0 0 39 39" fill="none" xmlns="http://www.w3.org/2000/svg">', i += '<circle class="color-element" cx="19.5" cy="19.5" r="19.5" fill="#FF7539"/>', i += '<mask id="path-2-outside-1" maskUnits="userSpaceOnUse" x="-1" y="-1" width="13" height="14" fill="black"> <rect fill="white" x="-1" y="-1" width="13" height="14"/> <path fill-rule="evenodd" clip-rule="evenodd" d="M9.10658 1.73537C9.10658 1.73537 9.10658 1.73538 9.10659 1.73538L9.93879 2.58495C9.9388 2.58495 9.9388 2.58495 9.9388 2.58496C9.99645 2.64381 10.0508 2.70475 10.1019 2.76754C10.3002 3.0113 10.6804 3.07698 10.9003 2.85252C11.0424 2.70754 11.0721 2.4836 10.9533 2.31904C10.849 2.17452 10.7327 2.03614 10.6046 1.90532C10.6046 1.9053 10.6046 1.90529 10.6045 1.90528L9.77236 1.05572C9.77236 1.05572 9.77235 1.05572 9.77235 1.05572C8.39351 -0.351905 6.15792 -0.351905 4.77907 1.05571C4.77907 1.05572 4.77907 1.05572 4.77906 1.05572L1.03414 4.87877C1.03413 4.87878 1.03413 4.87878 1.03413 4.87878C-0.344706 6.2864 -0.34471 8.56858 1.03412 9.9762C1.03413 9.97621 1.03414 9.97622 1.03415 9.97623L1.86633 10.8258C1.86634 10.8258 1.86635 10.8258 1.86636 10.8258C3.24521 12.2334 5.48072 12.2334 6.85962 10.8258C6.85963 10.8258 6.85964 10.8258 6.85964 10.8258L9.28893 8.34581C9.47006 8.1609 9.47006 7.86509 9.28893 7.68018C9.10243 7.48979 8.79591 7.48979 8.60942 7.68018L6.19386 10.1461C6.19386 10.1461 6.19386 10.1461 6.19386 10.1461C5.1827 11.1784 3.54326 11.1784 2.53215 10.1461C2.53213 10.1461 2.53211 10.1461 2.53209 10.1461L1.69991 9.29657C1.69991 9.29657 1.6999 9.29656 1.6999 9.29655C0.688737 8.2643 0.688739 6.59069 1.6999 5.55844C1.6999 5.55843 1.69991 5.55843 1.69991 5.55843L5.44484 1.73538C5.44484 1.73538 5.44484 1.73537 5.44484 1.73537C6.45601 0.703119 8.09541 0.703118 9.10658 1.73537Z"/> </mask><path fill-rule="evenodd" clip-rule="evenodd" d="M9.10658 1.73537C9.10658 1.73537 9.10658 1.73538 9.10659 1.73538L9.93879 2.58495C9.9388 2.58495 9.9388 2.58495 9.9388 2.58496C9.99645 2.64381 10.0508 2.70475 10.1019 2.76754C10.3002 3.0113 10.6804 3.07698 10.9003 2.85252C11.0424 2.70754 11.0721 2.4836 10.9533 2.31904C10.849 2.17452 10.7327 2.03614 10.6046 1.90532C10.6046 1.9053 10.6046 1.90529 10.6045 1.90528L9.77236 1.05572C9.77236 1.05572 9.77235 1.05572 9.77235 1.05572C8.39351 -0.351905 6.15792 -0.351905 4.77907 1.05571C4.77907 1.05572 4.77907 1.05572 4.77906 1.05572L1.03414 4.87877C1.03413 4.87878 1.03413 4.87878 1.03413 4.87878C-0.344706 6.2864 -0.34471 8.56858 1.03412 9.9762C1.03413 9.97621 1.03414 9.97622 1.03415 9.97623L1.86633 10.8258C1.86634 10.8258 1.86635 10.8258 1.86636 10.8258C3.24521 12.2334 5.48072 12.2334 6.85962 10.8258C6.85963 10.8258 6.85964 10.8258 6.85964 10.8258L9.28893 8.34581C9.47006 8.1609 9.47006 7.86509 9.28893 7.68018C9.10243 7.48979 8.79591 7.48979 8.60942 7.68018L6.19386 10.1461C6.19386 10.1461 6.19386 10.1461 6.19386 10.1461C5.1827 11.1784 3.54326 11.1784 2.53215 10.1461C2.53213 10.1461 2.53211 10.1461 2.53209 10.1461L1.69991 9.29657C1.69991 9.29657 1.6999 9.29656 1.6999 9.29655C0.688737 8.2643 0.688739 6.59069 1.6999 5.55844C1.6999 5.55843 1.69991 5.55843 1.69991 5.55843L5.44484 1.73538C5.44484 1.73538 5.44484 1.73537 5.44484 1.73537C6.45601 0.703119 8.09541 0.703118 9.10658 1.73537Z" transform="translate(9.95154 16.0478)" fill="white"/><path d="M5.44484 1.73538L5.23053 1.52545L5.44484 1.73538ZM5.44484 1.73537L5.23053 1.52544L5.44484 1.73537ZM1.6999 5.55844L1.48559 5.3485L1.6999 5.55844ZM1.69991 5.55843L1.91422 5.76836L1.69991 5.55843ZM1.69991 9.29657L1.91422 9.08664L1.69991 9.29657ZM1.6999 9.29655L1.91421 9.08662L1.6999 9.29655ZM2.53215 10.1461L2.31784 10.3561L2.53215 10.1461ZM2.53209 10.1461L2.31778 10.356L2.53209 10.1461ZM6.19386 10.1461L5.97955 9.93618L6.19386 10.1461ZM6.19386 10.1461L6.40817 10.356L6.19386 10.1461ZM8.60942 7.68018L8.82373 7.89011L8.60942 7.68018ZM9.28893 8.34581L9.07462 8.13588L9.28893 8.34581ZM6.85962 10.8258L6.64532 10.6158L6.85962 10.8258ZM6.85964 10.8258L7.07395 11.0357L6.85964 10.8258ZM1.86633 10.8258L2.08064 10.6158L1.86633 10.8258ZM1.86636 10.8258L2.08067 10.6159L1.86636 10.8258ZM1.03412 9.9762L1.24843 9.76628L1.03412 9.9762ZM1.03415 9.97623L0.819841 10.1862L1.03415 9.97623ZM1.03414 4.87877L0.819827 4.66884L1.03414 4.87877ZM1.03413 4.87878L1.24844 5.08871L1.03413 4.87878ZM4.77907 1.05571L4.99338 1.26564L4.77907 1.05571ZM4.77906 1.05572L4.99338 1.26565L4.77906 1.05572ZM9.77236 1.05572L9.55805 1.26565L9.77236 1.05572ZM9.77235 1.05572L9.98666 0.845785L9.77235 1.05572ZM10.6046 1.90532L10.8189 1.6954L10.6046 1.90532ZM10.6045 1.90528L10.8189 1.69535L10.6045 1.90528ZM10.9533 2.31904L10.7101 2.49464L10.9533 2.31904ZM10.1019 2.76754L9.86916 2.95685L10.1019 2.76754ZM9.10659 1.73538L9.3209 1.52545L9.10659 1.73538ZM9.10658 1.73537L8.89227 1.9453L9.10658 1.73537ZM9.93879 2.58495L10.1531 2.37502L9.93879 2.58495ZM9.9388 2.58496L10.1531 2.37503L9.9388 2.58496ZM10.1531 2.37502L9.3209 1.52545L8.89228 1.94531L9.72448 2.79488L10.1531 2.37502ZM10.3346 2.57823C10.2777 2.50832 10.2172 2.4405 10.1531 2.37503L9.72449 2.79488C9.77566 2.84713 9.82388 2.90119 9.86916 2.95685L10.3346 2.57823ZM11.1966 2.14344C11.0835 1.98684 10.9576 1.83698 10.8189 1.6954L10.3903 2.11524C10.5079 2.2353 10.6145 2.3622 10.7101 2.49464L11.1966 2.14344ZM10.8189 1.69535L9.98667 0.845789L9.55805 1.26565L10.3902 2.11521L10.8189 1.69535ZM9.98666 0.845785C8.49018 -0.681928 6.06124 -0.681928 4.56476 0.845784L4.99338 1.26564C6.25459 -0.0218819 8.29683 -0.0218814 9.55804 1.26565L9.98666 0.845785ZM4.56475 0.84579L0.819827 4.66884L1.24845 5.0887L4.99338 1.26565L4.56475 0.84579ZM0.819819 4.66885C-0.673269 6.1931 -0.673273 8.66187 0.819807 10.1861L1.24843 9.76628C-0.0161474 8.47529 -0.016144 6.37969 1.24844 5.08871L0.819819 4.66885ZM0.819841 10.1862L1.65203 11.0357L2.08064 10.6158L1.24846 9.7663L0.819841 10.1862ZM1.65205 11.0357C3.14854 12.5634 5.57739 12.5634 7.07393 11.0357L6.64532 10.6158C5.38405 11.9034 3.34188 11.9034 2.08067 10.6159L1.65205 11.0357ZM7.07395 11.0357L9.50324 8.55574L9.07462 8.13588L6.64533 10.6158L7.07395 11.0357ZM6.40817 10.356L8.82373 7.89011L8.39511 7.47025L5.97955 9.93618L6.40817 10.356ZM2.31784 10.3561C3.44659 11.5084 5.27938 11.5084 6.40817 10.356L5.97955 9.93618C5.08603 10.8483 3.63993 10.8483 2.74646 9.93621L2.31784 10.3561ZM1.48561 9.50651L2.31778 10.356L2.7464 9.93615L1.91422 9.08664L1.48561 9.50651ZM1.48559 5.3485C0.360176 6.49739 0.360173 8.35759 1.48559 9.50648L1.91421 9.08662C1.0173 8.171 1.0173 6.68399 1.91421 5.76837L1.48559 5.3485ZM5.23053 1.52545L1.4856 5.3485L1.91422 5.76836L5.65915 1.94531L5.23053 1.52545ZM9.32089 1.52544C8.19208 0.373095 6.35934 0.373096 5.23053 1.52544L5.65915 1.9453C6.55268 1.03314 7.99874 1.03314 8.89227 1.9453L9.32089 1.52544ZM5.65915 1.94531C5.65915 1.94531 5.65915 1.94531 5.65915 1.9453L5.23053 1.52544C5.23053 1.52544 5.23053 1.52544 5.23053 1.52545L5.65915 1.94531ZM1.91421 5.76837C1.91421 5.76837 1.91422 5.76836 1.91422 5.76836L1.4856 5.3485C1.4856 5.3485 1.48559 5.3485 1.48559 5.3485L1.91421 5.76837ZM1.91422 9.08664C1.91422 9.08663 1.91421 9.08663 1.91421 9.08662L1.48559 9.50648C1.48559 9.50649 1.4856 9.5065 1.48561 9.50651L1.91422 9.08664ZM2.74646 9.93621C2.74644 9.93619 2.74642 9.93617 2.7464 9.93615L2.31778 10.356C2.3178 10.356 2.31782 10.356 2.31784 10.3561L2.74646 9.93621ZM5.97955 9.93618C5.97955 9.93618 5.97955 9.93618 5.97955 9.93618L6.40817 10.356C6.40817 10.356 6.40817 10.356 6.40817 10.356L5.97955 9.93618ZM9.50324 7.47025C9.1991 7.15977 8.69924 7.15977 8.39511 7.47025L8.82373 7.89011C8.89259 7.81981 9.00576 7.81981 9.07462 7.89011L9.50324 7.47025ZM9.50324 8.55574C9.79862 8.25419 9.79862 7.77179 9.50324 7.47025L9.07462 7.89011C9.1415 7.95838 9.1415 8.0676 9.07462 8.13588L9.50324 8.55574ZM7.07393 11.0357C7.07394 11.0357 7.07395 11.0357 7.07395 11.0357L6.64533 10.6158C6.64533 10.6158 6.64532 10.6158 6.64532 10.6158L7.07393 11.0357ZM1.65203 11.0357C1.65203 11.0357 1.65204 11.0357 1.65205 11.0357L2.08067 10.6159C2.08066 10.6158 2.08065 10.6158 2.08064 10.6158L1.65203 11.0357ZM0.819807 10.1861C0.819819 10.1861 0.81983 10.1862 0.819841 10.1862L1.24846 9.7663C1.24845 9.76629 1.24844 9.76628 1.24843 9.76628L0.819807 10.1861ZM0.819827 4.66884C0.819824 4.66884 0.819822 4.66885 0.819819 4.66885L1.24844 5.08871C1.24844 5.08871 1.24845 5.08871 1.24845 5.0887L0.819827 4.66884ZM4.56476 0.845784C4.56476 0.845786 4.56476 0.845788 4.56475 0.84579L4.99338 1.26565C4.99338 1.26565 4.99338 1.26565 4.99338 1.26564L4.56476 0.845784ZM9.98667 0.845789C9.98667 0.845788 9.98666 0.845787 9.98666 0.845785L9.55804 1.26565C9.55804 1.26565 9.55804 1.26565 9.55805 1.26565L9.98667 0.845789ZM10.8189 1.6954C10.8189 1.69538 10.8189 1.69536 10.8189 1.69535L10.3902 2.11521C10.3902 2.11522 10.3903 2.11523 10.3903 2.11524L10.8189 1.6954ZM11.1146 3.06246C11.3462 2.82606 11.411 2.44051 11.1966 2.14344L10.7101 2.49464C10.7332 2.52669 10.7385 2.58902 10.686 2.64258L11.1146 3.06246ZM9.86916 2.95685C10.1487 3.30046 10.7367 3.44829 11.1146 3.06246L10.686 2.64258C10.652 2.67732 10.6006 2.69693 10.531 2.68804C10.4586 2.67877 10.3842 2.63918 10.3346 2.57823L9.86916 2.95685ZM9.3209 1.52545C9.32089 1.52544 9.32089 1.52544 9.32089 1.52544L8.89227 1.9453C8.89227 1.9453 8.89227 1.94531 8.89228 1.94531L9.3209 1.52545ZM9.72448 2.79488C9.72448 2.79488 9.72448 2.79488 9.72449 2.79488L10.1531 2.37503C10.1531 2.37503 10.1531 2.37502 10.1531 2.37502L9.72448 2.79488Z" transform="translate(9.95154 16.0478)" fill="white" mask="url(#path-2-outside-1)"/><mask id="path-4-outside-2" maskUnits="userSpaceOnUse" x="-1" y="-1" width="13" height="14" fill="black"><rect fill="white" x="-1" y="-1" width="13" height="14"/> <path fill-rule="evenodd" clip-rule="evenodd" d="M9.10658 1.73537C9.10658 1.73537 9.10658 1.73538 9.10659 1.73538L9.93879 2.58495C9.9388 2.58495 9.9388 2.58495 9.9388 2.58496C9.99645 2.64381 10.0508 2.70475 10.1019 2.76754C10.3002 3.0113 10.6804 3.07698 10.9003 2.85252C11.0424 2.70754 11.0721 2.4836 10.9533 2.31904C10.849 2.17452 10.7327 2.03614 10.6046 1.90532C10.6046 1.9053 10.6046 1.90529 10.6045 1.90528L9.77236 1.05572C9.77236 1.05572 9.77235 1.05572 9.77235 1.05572C8.39351 -0.351905 6.15792 -0.351905 4.77907 1.05571C4.77907 1.05572 4.77907 1.05572 4.77906 1.05572L1.03414 4.87877C1.03413 4.87878 1.03413 4.87878 1.03413 4.87878C-0.344706 6.2864 -0.34471 8.56858 1.03412 9.9762C1.03413 9.97621 1.03414 9.97622 1.03415 9.97623L1.86633 10.8258C1.86634 10.8258 1.86635 10.8258 1.86636 10.8258C3.24521 12.2334 5.48072 12.2334 6.85962 10.8258C6.85963 10.8258 6.85964 10.8258 6.85964 10.8258L9.28893 8.34581C9.47006 8.1609 9.47006 7.86509 9.28893 7.68018C9.10243 7.48979 8.79591 7.48979 8.60942 7.68018L6.19386 10.1461C6.19386 10.1461 6.19386 10.1461 6.19386 10.1461C5.1827 11.1784 3.54326 11.1784 2.53215 10.1461C2.53213 10.1461 2.53211 10.1461 2.53209 10.1461L1.69991 9.29657C1.69991 9.29657 1.6999 9.29656 1.6999 9.29655C0.688737 8.2643 0.688739 6.59069 1.6999 5.55844C1.6999 5.55843 1.69991 5.55843 1.69991 5.55843L5.44484 1.73538C5.44484 1.73538 5.44484 1.73537 5.44484 1.73537C6.45601 0.703119 8.09541 0.703118 9.10658 1.73537Z"/></mask> <path fill-rule="evenodd" clip-rule="evenodd" d="M9.10658 1.73537C9.10658 1.73537 9.10658 1.73538 9.10659 1.73538L9.93879 2.58495C9.9388 2.58495 9.9388 2.58495 9.9388 2.58496C9.99645 2.64381 10.0508 2.70475 10.1019 2.76754C10.3002 3.0113 10.6804 3.07698 10.9003 2.85252C11.0424 2.70754 11.0721 2.4836 10.9533 2.31904C10.849 2.17452 10.7327 2.03614 10.6046 1.90532C10.6046 1.9053 10.6046 1.90529 10.6045 1.90528L9.77236 1.05572C9.77236 1.05572 9.77235 1.05572 9.77235 1.05572C8.39351 -0.351905 6.15792 -0.351905 4.77907 1.05571C4.77907 1.05572 4.77907 1.05572 4.77906 1.05572L1.03414 4.87877C1.03413 4.87878 1.03413 4.87878 1.03413 4.87878C-0.344706 6.2864 -0.34471 8.56858 1.03412 9.9762C1.03413 9.97621 1.03414 9.97622 1.03415 9.97623L1.86633 10.8258C1.86634 10.8258 1.86635 10.8258 1.86636 10.8258C3.24521 12.2334 5.48072 12.2334 6.85962 10.8258C6.85963 10.8258 6.85964 10.8258 6.85964 10.8258L9.28893 8.34581C9.47006 8.1609 9.47006 7.86509 9.28893 7.68018C9.10243 7.48979 8.79591 7.48979 8.60942 7.68018L6.19386 10.1461C6.19386 10.1461 6.19386 10.1461 6.19386 10.1461C5.1827 11.1784 3.54326 11.1784 2.53215 10.1461C2.53213 10.1461 2.53211 10.1461 2.53209 10.1461L1.69991 9.29657C1.69991 9.29657 1.6999 9.29656 1.6999 9.29655C0.688737 8.2643 0.688739 6.59069 1.6999 5.55844C1.6999 5.55843 1.69991 5.55843 1.69991 5.55843L5.44484 1.73538C5.44484 1.73538 5.44484 1.73537 5.44484 1.73537C6.45601 0.703119 8.09541 0.703118 9.10658 1.73537Z" transform="translate(28.9286 22.8312) rotate(-180)" fill="white"/><path d="M5.44484 1.73538L5.23053 1.52545L5.44484 1.73538ZM5.44484 1.73537L5.23053 1.52544L5.44484 1.73537ZM1.6999 5.55844L1.48559 5.3485L1.6999 5.55844ZM1.69991 5.55843L1.91422 5.76836L1.69991 5.55843ZM1.69991 9.29657L1.91422 9.08664L1.69991 9.29657ZM1.6999 9.29655L1.91421 9.08662L1.6999 9.29655ZM2.53215 10.1461L2.31784 10.3561L2.53215 10.1461ZM2.53209 10.1461L2.31778 10.356L2.53209 10.1461ZM6.19386 10.1461L5.97955 9.93618L6.19386 10.1461ZM6.19386 10.1461L6.40817 10.356L6.19386 10.1461ZM8.60942 7.68018L8.82373 7.89011L8.60942 7.68018ZM9.28893 8.34581L9.07462 8.13588L9.28893 8.34581ZM6.85962 10.8258L6.64532 10.6158L6.85962 10.8258ZM6.85964 10.8258L7.07395 11.0357L6.85964 10.8258ZM1.86633 10.8258L2.08064 10.6158L1.86633 10.8258ZM1.86636 10.8258L2.08067 10.6159L1.86636 10.8258ZM1.03412 9.9762L1.24843 9.76628L1.03412 9.9762ZM1.03415 9.97623L0.819841 10.1862L1.03415 9.97623ZM1.03414 4.87877L0.819827 4.66884L1.03414 4.87877ZM1.03413 4.87878L1.24844 5.08871L1.03413 4.87878ZM4.77907 1.05571L4.99338 1.26564L4.77907 1.05571ZM4.77906 1.05572L4.99338 1.26565L4.77906 1.05572ZM9.77236 1.05572L9.55805 1.26565L9.77236 1.05572ZM9.77235 1.05572L9.98666 0.845785L9.77235 1.05572ZM10.6046 1.90532L10.8189 1.6954L10.6046 1.90532ZM10.6045 1.90528L10.8189 1.69535L10.6045 1.90528ZM10.9533 2.31904L10.7101 2.49464L10.9533 2.31904ZM10.1019 2.76754L9.86916 2.95685L10.1019 2.76754ZM9.10659 1.73538L9.3209 1.52545L9.10659 1.73538ZM9.10658 1.73537L8.89227 1.9453L9.10658 1.73537ZM9.93879 2.58495L10.1531 2.37502L9.93879 2.58495ZM9.9388 2.58496L10.1531 2.37503L9.9388 2.58496ZM10.1531 2.37502L9.3209 1.52545L8.89228 1.94531L9.72448 2.79488L10.1531 2.37502ZM10.3346 2.57823C10.2777 2.50832 10.2172 2.4405 10.1531 2.37503L9.72449 2.79488C9.77566 2.84713 9.82388 2.90119 9.86916 2.95685L10.3346 2.57823ZM11.1966 2.14344C11.0835 1.98684 10.9576 1.83698 10.8189 1.6954L10.3903 2.11524C10.5079 2.2353 10.6145 2.3622 10.7101 2.49464L11.1966 2.14344ZM10.8189 1.69535L9.98667 0.845789L9.55805 1.26565L10.3902 2.11521L10.8189 1.69535ZM9.98666 0.845785C8.49018 -0.681928 6.06124 -0.681928 4.56476 0.845784L4.99338 1.26564C6.25459 -0.0218819 8.29683 -0.0218814 9.55804 1.26565L9.98666 0.845785ZM4.56475 0.84579L0.819827 4.66884L1.24845 5.0887L4.99338 1.26565L4.56475 0.84579ZM0.819819 4.66885C-0.673269 6.1931 -0.673273 8.66187 0.819807 10.1861L1.24843 9.76628C-0.0161474 8.47529 -0.016144 6.37969 1.24844 5.08871L0.819819 4.66885ZM0.819841 10.1862L1.65203 11.0357L2.08064 10.6158L1.24846 9.7663L0.819841 10.1862ZM1.65205 11.0357C3.14854 12.5634 5.57739 12.5634 7.07393 11.0357L6.64532 10.6158C5.38405 11.9034 3.34188 11.9034 2.08067 10.6159L1.65205 11.0357ZM7.07395 11.0357L9.50324 8.55574L9.07462 8.13588L6.64533 10.6158L7.07395 11.0357ZM6.40817 10.356L8.82373 7.89011L8.39511 7.47025L5.97955 9.93618L6.40817 10.356ZM2.31784 10.3561C3.44659 11.5084 5.27938 11.5084 6.40817 10.356L5.97955 9.93618C5.08603 10.8483 3.63993 10.8483 2.74646 9.93621L2.31784 10.3561ZM1.48561 9.50651L2.31778 10.356L2.7464 9.93615L1.91422 9.08664L1.48561 9.50651ZM1.48559 5.3485C0.360176 6.49739 0.360173 8.35759 1.48559 9.50648L1.91421 9.08662C1.0173 8.171 1.0173 6.68399 1.91421 5.76837L1.48559 5.3485ZM5.23053 1.52545L1.4856 5.3485L1.91422 5.76836L5.65915 1.94531L5.23053 1.52545ZM9.32089 1.52544C8.19208 0.373095 6.35934 0.373096 5.23053 1.52544L5.65915 1.9453C6.55268 1.03314 7.99874 1.03314 8.89227 1.9453L9.32089 1.52544ZM5.65915 1.94531C5.65915 1.94531 5.65915 1.94531 5.65915 1.9453L5.23053 1.52544C5.23053 1.52544 5.23053 1.52544 5.23053 1.52545L5.65915 1.94531ZM1.91421 5.76837C1.91421 5.76837 1.91422 5.76836 1.91422 5.76836L1.4856 5.3485C1.4856 5.3485 1.48559 5.3485 1.48559 5.3485L1.91421 5.76837ZM1.91422 9.08664C1.91422 9.08663 1.91421 9.08663 1.91421 9.08662L1.48559 9.50648C1.48559 9.50649 1.4856 9.5065 1.48561 9.50651L1.91422 9.08664ZM2.74646 9.93621C2.74644 9.93619 2.74642 9.93617 2.7464 9.93615L2.31778 10.356C2.3178 10.356 2.31782 10.356 2.31784 10.3561L2.74646 9.93621ZM5.97955 9.93618C5.97955 9.93618 5.97955 9.93618 5.97955 9.93618L6.40817 10.356C6.40817 10.356 6.40817 10.356 6.40817 10.356L5.97955 9.93618ZM9.50324 7.47025C9.1991 7.15977 8.69924 7.15977 8.39511 7.47025L8.82373 7.89011C8.89259 7.81981 9.00576 7.81981 9.07462 7.89011L9.50324 7.47025ZM9.50324 8.55574C9.79862 8.25419 9.79862 7.77179 9.50324 7.47025L9.07462 7.89011C9.1415 7.95838 9.1415 8.0676 9.07462 8.13588L9.50324 8.55574ZM7.07393 11.0357C7.07394 11.0357 7.07395 11.0357 7.07395 11.0357L6.64533 10.6158C6.64533 10.6158 6.64532 10.6158 6.64532 10.6158L7.07393 11.0357ZM1.65203 11.0357C1.65203 11.0357 1.65204 11.0357 1.65205 11.0357L2.08067 10.6159C2.08066 10.6158 2.08065 10.6158 2.08064 10.6158L1.65203 11.0357ZM0.819807 10.1861C0.819819 10.1861 0.81983 10.1862 0.819841 10.1862L1.24846 9.7663C1.24845 9.76629 1.24844 9.76628 1.24843 9.76628L0.819807 10.1861ZM0.819827 4.66884C0.819824 4.66884 0.819822 4.66885 0.819819 4.66885L1.24844 5.08871C1.24844 5.08871 1.24845 5.08871 1.24845 5.0887L0.819827 4.66884ZM4.56476 0.845784C4.56476 0.845786 4.56476 0.845788 4.56475 0.84579L4.99338 1.26565C4.99338 1.26565 4.99338 1.26565 4.99338 1.26564L4.56476 0.845784ZM9.98667 0.845789C9.98667 0.845788 9.98666 0.845787 9.98666 0.845785L9.55804 1.26565C9.55804 1.26565 9.55804 1.26565 9.55805 1.26565L9.98667 0.845789ZM10.8189 1.6954C10.8189 1.69538 10.8189 1.69536 10.8189 1.69535L10.3902 2.11521C10.3902 2.11522 10.3903 2.11523 10.3903 2.11524L10.8189 1.6954ZM11.1146 3.06246C11.3462 2.82606 11.411 2.44051 11.1966 2.14344L10.7101 2.49464C10.7332 2.52669 10.7385 2.58902 10.686 2.64258L11.1146 3.06246ZM9.86916 2.95685C10.1487 3.30046 10.7367 3.44829 11.1146 3.06246L10.686 2.64258C10.652 2.67732 10.6006 2.69693 10.531 2.68804C10.4586 2.67877 10.3842 2.63918 10.3346 2.57823L9.86916 2.95685ZM9.3209 1.52545C9.32089 1.52544 9.32089 1.52544 9.32089 1.52544L8.89227 1.9453C8.89227 1.9453 8.89227 1.94531 8.89228 1.94531L9.3209 1.52545ZM9.72448 2.79488C9.72448 2.79488 9.72448 2.79488 9.72449 2.79488L10.1531 2.37503C10.1531 2.37503 10.1531 2.37502 10.1531 2.37502L9.72448 2.79488Z" transform="translate(28.9286 22.8312) rotate(-180)" fill="white" mask="url(#path-4-outside-2)"/>', i += "</svg>", i += "</a>", i += '<div class="chaty-widget-i-title">', i += "<p>Link<p>", i += "</div>", i += "</div>"), "email" == t && (i += '<div class="chaty-widget-i" data-title="' + e.object_settings.social.email + '">', i += '<a href="mailto:' + e.object_settings.social.email + '">', i += '<svg class="ico_d" width="39" height="39" viewBox="0 0 39 39" fill="none" xmlns="http://www.w3.org/2000/svg">', i += '<circle class="color-element" cx="19.5" cy="19.5" r="19.5" fill="#FF485F"/>', i += ' <path d="M20.5379 14.2557H1.36919C0.547677 14.2557 0 13.7373 0 12.9597V1.29597C0 0.518387 0.547677 0 1.36919 0H20.5379C21.3594 0 21.9071 0.518387 21.9071 1.29597V12.9597C21.9071 13.7373 21.3594 14.2557 20.5379 14.2557ZM20.5379 12.9597V13.6077V12.9597ZM1.36919 1.29597V12.9597H20.5379V1.29597H1.36919Z" transform="translate(8.48619 12.3117)" fill="white"/> <path d="M10.9659 8.43548C10.829 8.43548 10.692 8.43548 10.5551 8.30588L0.286184 1.17806C0.012346 0.918864 -0.124573 0.530073 0.149265 0.270879C0.423104 0.0116857 0.833862 -0.117911 1.1077 0.141283L10.9659 7.00991L20.8241 0.141283C21.0979 -0.117911 21.5087 0.0116857 21.7825 0.270879C22.0563 0.530073 21.9194 0.918864 21.6456 1.17806L11.3766 8.30588C11.2397 8.43548 11.1028 8.43548 10.9659 8.43548Z" transform="translate(8.47443 12.9478)" fill="white"/> <path d="M9.0906 7.13951C8.95368 7.13951 8.81676 7.13951 8.67984 7.00991L0.327768 1.17806C-0.0829894 0.918864 -0.0829899 0.530073 0.190849 0.270879C0.327768 0.0116855 0.738525 -0.117911 1.14928 0.141282L9.50136 5.97314C9.7752 6.23233 9.91212 6.62112 9.63828 6.88032C9.50136 7.00991 9.36444 7.13951 9.0906 7.13951Z" transform="translate(20.6183 18.7799)" fill="white"/> <path d="M0.696942 7.13951C0.423104 7.13951 0.286185 7.00991 0.149265 6.88032C-0.124573 6.62112 0.012346 6.23233 0.286185 5.97314L8.63826 0.141282C9.04902 -0.117911 9.45977 0.0116855 9.59669 0.270879C9.87053 0.530073 9.73361 0.918864 9.45977 1.17806L1.1077 7.00991C0.970781 7.13951 0.833862 7.13951 0.696942 7.13951Z" transform="translate(8.47443 18.7799)" fill="white"/>', i += "</svg>", i += "</a>", i += '<div class="chaty-widget-i-title">', i += "<p>Email</p>", i += "</div>", i += "</div>"), "poptin" == t && (i += '<div class="chaty-widget-i" data-title="' + e.object_settings.social.poptin + '">', i += '<a href="' + e.object_settings.social.poptin + '">', i += '<svg class="ico_d" width="39" height="39" viewBox="0 0 39 39" fill="none" xmlns="http://www.w3.org/2000/svg">', i += '<circle class="color-element" cx="19.5" cy="19.5" r="19.5" fill="#47A2B1"/>', i += ' <rect width="21.351" height="17.0808" rx="1.73931" transform="translate(8.76428 12.1953)" fill="white"/> <rect width="18.2112" height="1.83009" rx="0.915044" transform="translate(10.0203 17.6851)" fill="#F2F2F2"/> <rect width="15.0713" height="1.83009" rx="0.915044" transform="translate(10.0203 20.1256)" fill="#F2F2F2"/> <rect width="8.16363" height="1.83009" rx="0.915044" transform="translate(15.0443 24.3958)" fill="#E0E0E0"/> <path d="M0 1.74C0 0.779025 0.779024 0 1.74 0H19.611C20.572 0 21.351 0.779025 21.351 1.74V3.20266H0V1.74Z" transform="translate(8.76428 12.1953)" fill="#E0E0E0"/>', i += "</svg>", i += "</a>", i += '<div class="chaty-widget-i-title">', i += '<p><span class="mobile_none">Contact us</p>', i += "</div>", i += "</div>"), "skype" == t && (i += '<div class="chaty-widget-i" data-title="' + e.object_settings.social.skype + '">', i += '<a href="skype:' + e.object_settings.social.skype + '?chat">', i += '<svg class="ico_d" width="39" height="39" viewBox="0 0 39 39" fill="none" xmlns="http://www.w3.org/2000/svg">', i += '<circle class="color-element" cx="19.5" cy="19.5" r="19.5" fill="#03A9F4"/>', i += '<path fill-rule="evenodd" clip-rule="evenodd" d="M10.5634 0.777588C16.0406 0.777588 20.4747 5.05426 20.4747 10.4973C20.4747 11.1453 20.4747 11.9229 20.0834 12.5709C20.4747 13.2189 20.7355 14.1261 20.7355 15.0332C20.7355 18.1436 18.1273 20.7355 14.9974 20.7355C13.9541 20.7355 13.0412 20.4763 12.2587 20.0875C11.6067 20.2171 11.085 20.2171 10.433 20.2171C4.95566 20.2171 0.521637 15.9404 0.521637 10.4973C0.521637 9.84955 0.652008 9.20175 0.782349 8.55392L0.782471 8.55338C0.260834 7.77582 0 6.73904 0 5.70227C0 2.59195 2.60825 0 5.73813 0C6.91183 0 7.95514 0.388794 8.86801 0.907166C9.38965 0.777588 10.0417 0.777588 10.5634 0.777588ZM13.5627 16.718C14.4756 16.3292 15.1276 15.8108 15.6493 15.1628C16.1709 14.5149 16.3013 13.7373 16.0405 12.9597C16.0405 12.3117 15.9101 11.7933 15.6493 11.2749C15.3884 10.7565 14.9972 10.3677 14.4756 10.1086L14.4752 10.1084C13.9536 9.84924 13.4321 9.59012 12.7802 9.33096C12.5034 9.27597 12.2031 9.1976 11.8893 9.11572C11.4638 9.0047 11.0135 8.88718 10.5632 8.81259C10.1953 8.66635 9.86893 8.60263 9.60748 8.55157C9.40552 8.51215 9.24231 8.48029 9.12866 8.4238C8.86792 8.4238 8.60721 8.29428 8.34647 8.16473L8.34619 8.16461C8.08536 8.035 7.82455 7.90543 7.69412 7.77582C7.43329 7.64621 7.43329 7.51663 7.43329 7.25742C7.43329 6.86862 7.69412 6.60944 8.08536 6.35025C8.47659 6.09106 9.12866 5.96146 9.78073 5.96146C10.5632 5.96146 11.0848 6.09106 11.4761 6.35025C11.8673 6.60944 12.1281 6.86865 12.3889 7.38702C12.6497 7.77563 12.9104 8.03476 13.0408 8.16443L13.041 8.16461C13.3018 8.29419 13.5627 8.4238 13.9539 8.4238C14.3451 8.4238 14.7364 8.29419 14.9972 8.035C15.258 7.77582 15.3884 7.51663 15.3884 7.12784C15.3884 6.73904 15.3884 6.35025 15.1276 5.96146C15.0313 5.67429 14.7927 5.45782 14.5169 5.20764C14.4193 5.11908 14.317 5.02631 14.2147 4.92468C13.6931 4.6655 13.1714 4.40631 12.5194 4.14709C11.8673 4.01752 11.0848 3.88791 10.172 3.88791C9.12866 3.88791 8.08536 4.01752 7.30289 4.2767C6.39001 4.53589 5.73795 5.05429 5.34671 5.57266C4.95547 6.09106 4.69464 6.73904 4.69464 7.51663C4.69464 8.29419 4.95547 8.9422 5.34671 9.46057C5.73795 9.97897 6.39001 10.3677 7.04205 10.627C7.69412 10.8861 8.60703 11.1453 9.6503 11.4045C10.4328 11.5341 11.0848 11.6637 11.4761 11.7933C11.8673 11.9229 12.2585 12.0525 12.5194 12.3117C12.7802 12.5709 12.9106 12.8301 12.9106 13.2189C12.9106 13.6077 12.6498 13.9965 12.1281 14.3853C11.6065 14.774 10.9544 14.9036 10.172 14.9036C9.6503 14.9036 9.12866 14.774 8.73743 14.6444C8.47659 14.5149 8.21576 14.2556 7.95496 13.9965C7.91547 13.918 7.86407 13.8277 7.80792 13.7291C7.67859 13.5019 7.52423 13.2308 7.43329 12.9597C7.40817 12.9098 7.38306 12.855 7.35703 12.7983C7.24783 12.5604 7.12225 12.2867 6.91165 12.1821C6.65085 12.0525 6.39001 11.9229 5.99878 11.9229C5.60754 11.9229 5.21631 12.0525 4.95547 12.3117C4.69464 12.5709 4.56424 12.8301 4.56424 13.2189C4.56424 13.8669 4.82507 14.3853 5.21631 15.0332C5.73795 15.6812 6.25961 16.07 6.91165 16.4588C7.82455 16.9772 8.99823 17.2364 10.4328 17.2364C11.6065 17.2364 12.6498 17.1068 13.5627 16.718Z" transform="translate(9.07178 9.07178)" fill="white"/>', i += "</svg>", i += "</a>", i += '<div class="chaty-widget-i-title">', i += "<p>Skype</p>", i += "</div>", i += "</div>"), "sms" == t && (i += '<div class="chaty-widget-i" data-title="' + e.object_settings.social.sms + '">', i += '<a href="sms:' + e.object_settings.social.sms + '">', i += '<svg class="ico_d" width="39" height="39" viewBox="0 0 39 39" fill="none" xmlns="http://www.w3.org/2000/svg">', i += '<circle class="color-element" cx="19.5" cy="19.5" r="19.5" fill="#FF549C"/>', i += '<path fill-rule="evenodd" clip-rule="evenodd" d="M2.60298 0H16.9194C18.351 0 19.5224 1.19321 19.5224 2.65158V14.5838C19.5224 16.0421 18.351 17.2354 16.9194 17.2354H7.4185L3.64418 20.4173C3.51402 20.5499 3.38388 20.5499 3.25372 20.5499H2.99344C2.73314 20.4173 2.60298 20.1521 2.60298 19.887V17.2354C1.17134 17.2354 0 16.0421 0 14.5838V2.65158C0 1.19321 1.17134 0 2.60298 0ZM2.60316 11.2696C2.60316 11.6673 2.86346 11.9325 3.25391 11.9325H4.5554C5.5966 11.9325 6.50764 11.0044 6.50764 9.94376C6.50764 8.88312 5.5966 7.95505 4.5554 7.95505C4.16496 7.95505 3.90465 7.68991 3.90465 7.29218C3.90465 6.89441 4.16496 6.62927 4.5554 6.62927H5.85689C6.24733 6.62927 6.50764 6.36411 6.50764 5.96637C6.50764 5.56863 6.24733 5.30347 5.85689 5.30347H4.5554C3.51421 5.30347 2.60316 6.23154 2.60316 7.29218C2.60316 8.35281 3.51421 9.28085 4.5554 9.28085C4.94585 9.28085 5.20613 9.54602 5.20613 9.94376C5.20613 10.3415 4.94585 10.6067 4.5554 10.6067H3.25391C2.86346 10.6067 2.60316 10.8718 2.60316 11.2696ZM14.9678 11.9325H13.6664C13.2759 11.9325 13.0156 11.6673 13.0156 11.2696C13.0156 10.8718 13.2759 10.6067 13.6664 10.6067H14.9678C15.3583 10.6067 15.6186 10.3415 15.6186 9.94376C15.6186 9.54602 15.3583 9.28085 14.9678 9.28085C13.9267 9.28085 13.0156 8.35281 13.0156 7.29218C13.0156 6.23154 13.9267 5.30347 14.9678 5.30347H16.2693C16.6598 5.30347 16.9201 5.56863 16.9201 5.96637C16.9201 6.36411 16.6598 6.62927 16.2693 6.62927H14.9678C14.5774 6.62927 14.3171 6.89441 14.3171 7.29218C14.3171 7.68991 14.5774 7.95505 14.9678 7.95505C16.009 7.95505 16.9201 8.88312 16.9201 9.94376C16.9201 11.0044 16.009 11.9325 14.9678 11.9325ZM10.4126 11.2697C10.4126 11.6674 10.6729 11.9326 11.0633 11.9326C11.4538 11.9326 11.7141 11.6674 11.8442 11.2697V5.96649C11.8442 5.70135 11.5839 5.43619 11.3236 5.30362C10.9332 5.30362 10.6729 5.43619 10.5427 5.70135L9.76186 7.15973L8.98094 5.70135C8.85081 5.43619 8.46034 5.17102 8.20006 5.30362C7.93977 5.43619 7.67946 5.70135 7.67946 5.96649V11.2697C7.67946 11.6674 7.93977 11.9326 8.33022 11.9326C8.72066 11.9326 8.98094 11.6674 8.98094 11.2697V8.75067L9.1111 8.88327C9.37138 9.28101 10.0221 9.28101 10.2825 8.88327L10.4126 8.75067V11.2697Z" transform="translate(9.67801 10.4601)" fill="white"/>', i += "</svg>", i += "</a>", i += '<div class="chaty-widget-i-title">', i += "<p>SMS</p>", i += "</div>", i += "</div>"), "snapchat" == t && (i += '<div class="chaty-widget-i" data-title="' + e.object_settings.social.snapchat + '">', i += '<a href="https://www.snapchat.com/add/' + e.object_settings.social.snapchat + '" target="_blank">', i += '<svg class="ico_d" width="39" height="39" viewBox="0 0 39 39" fill="none" xmlns="http://www.w3.org/2000/svg">', i += '<circle class="color-element" cx="19.5" cy="19.5" r="19.5" fill="#FFE81D"/>', i += '<path d="M21.5684 15.5864C18.7017 15.0298 17.3366 12.1073 17.3366 11.9681C17.2001 11.6898 17.2001 11.4115 17.2001 11.2723C17.3366 10.8548 18.0191 10.7157 18.4287 10.5765C18.5652 10.5765 18.7017 10.4373 18.7017 10.4373C19.1112 10.2982 19.3842 10.159 19.5207 9.88067C19.7938 9.60234 19.7938 9.46318 19.7938 9.32402C19.7938 8.90652 19.5207 8.62819 19.1112 8.48903C18.9747 8.48903 18.8382 8.34986 18.7017 8.34986C18.5652 8.34986 18.4287 8.34986 18.2922 8.48903C17.8826 8.62819 17.6096 8.76736 17.3366 8.76736C17.2001 8.76736 17.0636 8.76736 17.0636 8.76736C17.0636 8.62819 17.0636 8.48903 17.0636 8.34986C17.2001 6.81906 17.3366 5.00992 16.7906 3.8966C16.5175 3.20078 15.9715 2.50496 15.4255 1.9483C15.016 1.53081 14.4699 1.11332 13.7874 0.834987C12.6953 4.97691e-07 11.7397 0 11.3302 0C11.1937 0 10.9207 0 10.9207 0C10.3747 0 9.4191 0.139164 8.46354 0.556657C7.9175 0.834986 7.37147 1.25248 6.82544 1.66997C6.2794 2.22663 5.86988 2.92245 5.46035 3.61827C4.91431 4.73159 5.05082 6.54073 5.18733 8.07153C5.18733 8.2107 5.18733 8.34986 5.18733 8.62819C5.05082 8.62819 5.05082 8.62819 4.77781 8.62819C4.50479 8.62819 4.23177 8.48903 3.82224 8.34986C3.68574 8.34986 3.54923 8.2107 3.41272 8.2107C3.1397 8.2107 3.00319 8.2107 2.73018 8.34986C2.45716 8.48903 2.32065 8.76736 2.32065 8.90652C2.32065 9.04568 2.32065 9.32401 2.59366 9.74151C2.73017 9.88067 3.00319 10.0198 3.41272 10.159C3.54923 10.159 3.54922 10.2982 3.68573 10.2982C4.09526 10.4373 4.6413 10.5765 4.91431 10.994C5.05082 11.1332 4.91431 11.4115 4.77781 11.6898C4.77781 11.829 4.36828 12.5248 3.68573 13.3598C3.27621 13.7773 2.86668 14.1948 2.32065 14.6123C1.77461 15.0298 1.09207 15.3081 0.409527 15.3081C0.13651 15.3081 2.08296e-06 15.5864 2.08296e-06 15.8647C2.08296e-06 16.0039 2.08296e-06 16.0039 2.08296e-06 16.1431C0.136511 16.4214 0.409528 16.5606 0.682546 16.8389C1.22858 17.1172 1.91112 17.2564 2.86668 17.3955C2.86668 17.5347 3.00319 17.6739 3.00319 17.813C3.00319 17.9522 3.1397 18.0914 3.1397 18.3697C3.1397 18.5089 3.41272 18.7872 3.68573 18.7872C3.82224 18.7872 3.95875 18.7872 4.23177 18.648C4.50479 18.648 4.91431 18.5089 5.32384 18.5089C5.59686 18.5089 5.86988 18.5089 6.14289 18.648C6.68893 18.7872 7.09845 19.0655 7.64449 19.483C8.46354 20.0397 9.28259 20.7355 10.6477 20.7355H10.7842H10.9207C12.2858 20.7355 13.1048 20.0397 13.9239 19.483C14.4699 19.0655 14.8794 18.7872 15.4255 18.648C15.6985 18.648 15.9715 18.5089 16.2445 18.5089C16.6541 18.5089 17.0636 18.5089 17.3366 18.648C17.6096 18.648 17.7461 18.648 17.8826 18.648C18.1557 18.648 18.4287 18.5089 18.4287 18.2305C18.4287 18.0914 18.5652 17.9522 18.5652 17.6739C18.5652 17.5347 18.7017 17.2564 18.7017 17.2564C19.6572 17.1172 20.3398 16.9781 20.8858 16.6997C21.2954 16.5606 21.5684 16.2822 21.5684 16.0039C21.5684 15.8647 21.5684 15.8647 21.5684 15.7256C21.9779 15.8647 21.8414 15.5864 21.5684 15.5864Z" transform="translate(8.52631 9.07178)" fill="white"/>', i += "</svg>", i += "</a>", i += '<div class="chaty-widget-i-title">', i += "<p>Snapchat</p>", i += "</div>", 1 === Object.keys(e.object_settings.social).length && (i += '<div class="snap-wee-title">', i += "<p>Snapchat</p>", i += "</div>"), i += "</div>"), "telegram" == t && (i += '<div class="chaty-widget-i" data-title="' + e.object_settings.social.telegram + '">', i += '<a href="https://telegram.me/' + e.object_settings.social.telegram + ' " target="_blank">', i += '<svg class="ico_d" width="39" height="39" viewBox="0 0 39 39" fill="none" xmlns="http://www.w3.org/2000/svg">', i += '<circle class="color-element" cx="19.5" cy="19.5" r="19.5" fill="#3E99D8"/>', i += '<path d="M3.56917 -2.55497e-07L0 6.42978L7.5349 1.87535L3.56917 -2.55497e-07Z" transform="translate(13.9704 24.6145)" fill="#E0E0E0"/><path d="M20.8862 0.133954C20.754 0 20.4897 0 20.2253 0L0.396574 8.03723C0.132191 8.17118 0 8.43909 0 8.707C0 8.97491 0.132191 9.24282 0.396574 9.37677L17.5814 17.414C17.7136 17.414 17.7136 17.414 17.8458 17.414C17.978 17.414 18.1102 17.414 18.1102 17.28C18.2424 17.1461 18.3746 17.0121 18.5068 16.7442L21.1506 0.669769C21.1506 0.535815 21.1506 0.267908 20.8862 0.133954Z" transform="translate(7.36069 10.9512)" fill="white"/> <path d="M13.8801 0L0 11.52V19.4233L3.70136 13.2614L13.8801 0Z" transform="translate(13.9704 11.6208)" fill="#F2F2F2"/>', i += "</svg>", i += "</a>", i += '<div class="chaty-widget-i-title">', i += "<p>Telegram</p>", i += "</div>", i += "</div>"), "phone" == t && (i += '<div class="chaty-widget-i" >', i += '<a href="tel:' + e.object_settings.social.phone + '">', i += '<svg class="ico_d" width="39" height="39" viewBox="0 0 39 39" fill="none" xmlns="http://www.w3.org/2000/svg">', i += '<circle class="color-element" cx="19.5" cy="19.5" r="19.5" fill="#03E78B"/>', i += '<path d="M19.3929 14.9176C17.752 14.7684 16.2602 14.3209 14.7684 13.7242C14.0226 13.4259 13.1275 13.7242 12.8292 14.4701L11.7849 16.2602C8.65222 14.6193 6.11623 11.9341 4.47529 8.95057L6.41458 7.90634C7.16046 7.60799 7.45881 6.71293 7.16046 5.96705C6.56375 4.47529 6.11623 2.83435 5.96705 1.34259C5.96705 0.596704 5.22117 0 4.47529 0H0.745882C0.298353 0 5.69062e-07 0.298352 5.69062e-07 0.745881C5.69062e-07 3.72941 0.596704 6.71293 1.93929 9.3981C3.87858 13.575 7.30964 16.8569 11.3374 18.7962C14.0226 20.1388 17.0061 20.7355 19.9896 20.7355C20.4371 20.7355 20.7355 20.4371 20.7355 19.9896V16.4094C20.7355 15.5143 20.1388 14.9176 19.3929 14.9176Z" transform="translate(9.07179 9.07178)" fill="white"/>', i += "</svg>", i += "</a>", i += '<div class="chaty-widget-i-title">', i += "<p>Phone</p>", i += "</div>", i += "</div>"), "viber" == t && (i += '<div class="chaty-widget-i" data-title="' + e.object_settings.social.viber + '">', i += '<a href="viber://chat?number=' + e.object_settings.social.viber + '" target="_blank">', i += '<svg class="ico_d" width="39" height="39" viewBox="0 0 39 39" fill="none" xmlns="http://www.w3.org/2000/svg">', i += '<circle class="color-element" cx="19.5" cy="19.5" r="19.5" fill="#665CAC"/>', i += '<path d="M17.6837 2.14833C17.16 1.64578 15.0497 0.0389578 10.3496 0.0158143C10.3496 0.0158143 4.80418 -0.334645 2.10085 2.26405C0.596193 3.84111 0.0662511 6.14886 0.0126261 9.01205C-0.0441534 11.8752 -0.116705 17.2346 4.8168 18.6894H4.81995L4.8168 20.9078C4.8168 20.9078 4.78525 21.8071 5.3499 21.989C6.03125 22.2105 6.43186 21.5294 7.08482 20.7921C7.44127 20.3888 7.93651 19.7936 8.30874 19.3407C11.6808 19.6382 14.2769 18.9572 14.5702 18.858C15.2516 18.6265 19.1063 18.1075 19.7309 12.7481C20.3775 7.22338 19.4154 3.7254 17.6837 2.14833ZM18.2546 12.3513C17.7247 16.828 14.5986 17.1123 14.0245 17.3041C13.7785 17.3867 11.501 17.9818 8.63679 17.7835C8.63679 17.7835 6.50126 20.4813 5.83567 21.1856C5.73158 21.2947 5.60856 21.341 5.52654 21.3178C5.41298 21.2881 5.38144 21.1459 5.38144 20.9376C5.38459 20.64 5.40037 17.2512 5.40037 17.2512C5.39721 17.2512 5.39721 17.2512 5.40037 17.2512C1.23023 16.0378 1.47312 11.4719 1.52044 9.08148C1.56775 6.69108 1.99675 4.73379 3.26798 3.41792C5.55493 1.24904 10.2645 1.57305 10.2645 1.57305C14.2422 1.59288 16.1475 2.84594 16.5891 3.26583C18.0527 4.58501 18.8003 7.73585 18.2546 12.3513Z" transform="translate(9.47299 8.4238)" fill="white"/> <path d="M1.58982 1.72254C1.53935 0.628182 1.00941 0.0562059 0 1.00898e-07" transform="translate(20.166 15.5914)" stroke="white" stroke-width="0.518873" stroke-linecap="round" stroke-linejoin="round"/> <path d="M3.35945 3.69636C3.38153 2.67804 3.09448 1.82834 2.49514 1.14395C1.8958 0.459565 1.06619 0.0793496 1.9253e-07 2.01796e-07" transform="translate(19.7592 14.0966)" stroke="white" stroke-width="0.518873" stroke-linecap="round" stroke-linejoin="round"/> <path d="M5.22371 5.71646C5.21109 3.94763 4.70639 2.55902 3.71275 1.5407C2.71911 0.525689 1.47942 0.00991877 -3.8506e-07 1.00898e-07" transform="translate(19.2931 12.6479)" stroke="white" stroke-width="0.518873" stroke-linecap="round" stroke-linejoin="round"/> <path d="M6.35738 8.04532C6.35738 8.04532 6.73276 8.07838 6.93149 7.81719L7.32263 7.30142C7.5119 7.04353 7.96929 6.88153 8.41722 7.14272C8.66641 7.2915 9.11434 7.57914 9.39193 7.79405C9.68844 8.02218 10.2972 8.55448 10.2972 8.55448C10.5875 8.80906 10.6537 9.18597 10.4581 9.58271C10.4581 9.58602 10.455 9.58933 10.455 9.58933C10.2531 9.96293 9.9818 10.3167 9.63797 10.644C9.63482 10.6473 9.63482 10.6473 9.63167 10.6506C9.35092 10.8953 9.07333 11.0375 8.80205 11.0705C8.77051 11.0771 8.7295 11.0804 8.68219 11.0771C8.56232 11.0771 8.44561 11.0606 8.32889 11.0209L8.31943 11.0077C7.89989 10.8854 7.20277 10.5746 6.03879 9.90342C5.28173 9.467 4.654 9.02066 4.12406 8.57762C3.84331 8.34619 3.55626 8.08169 3.2629 7.77752C3.25344 7.7676 3.24398 7.75768 3.23451 7.74776C3.22505 7.73784 3.21559 7.72792 3.20612 7.718C3.19666 7.70808 3.1872 7.69817 3.17773 7.68825C3.16827 7.67833 3.15881 7.66841 3.14934 7.65849C2.85914 7.35101 2.60678 7.05015 2.38597 6.75589C1.96328 6.20045 1.53744 5.5392 1.12105 4.74902C0.480708 3.52902 0.184194 2.79834 0.0674803 2.35862L0.0548623 2.3487C0.0170094 2.22637 -0.00191702 2.10404 0.0012374 1.9784C-0.00191702 1.92881 0.0012373 1.88583 0.00754613 1.85276C0.0390903 1.56843 0.17473 1.27748 0.408157 0.983227C0.411312 0.979921 0.411311 0.979921 0.414466 0.976615C0.726753 0.616237 1.06112 0.331902 1.42072 0.120304C1.42388 0.120304 1.42703 0.116997 1.42703 0.116997C1.80556 -0.0879887 2.16517 -0.0185578 2.40806 0.285615C2.41121 0.288921 2.91592 0.923716 3.13357 1.2345C3.33861 1.52875 3.6162 1.99493 3.75499 2.25612C4.00419 2.72561 3.84962 3.20501 3.60358 3.40338L3.11149 3.81335C2.86229 4.02495 2.89384 4.41509 2.89384 4.41509C2.89384 4.41509 3.62566 7.31464 6.35738 8.04532Z" transform="translate(13.863 13.0014)" fill="white"/>', i += "</svg>", i += "</a>", i += '<div class="chaty-widget-i-title">', i += "<p>Viber</p>", i += "</div>", i += "</div>"), "vkontakte" == t && (i += '<div class="chaty-widget-i" data-title="' + e.object_settings.social.vkontakte + '">', i += '<a href="https://vk.me/' + e.object_settings.social.vkontakte + '"target="_blank">', i += '<svg class="ico_d" width="39" height="39" viewBox="0 0 39 39" fill="none" xmlns="http://www.w3.org/2000/svg">', i += '<circle class="color-element" cx="19.5" cy="19.5" r="19.5" fill="#5076AA"/>', i += '<path d="M11.0953 12.4775H12.5097C12.5097 12.4775 12.934 12.4774 13.0755 12.1971C13.2169 12.0569 13.2169 11.6363 13.2169 11.6363C13.2169 11.6363 13.2169 9.81373 14.0656 9.53334C14.9142 9.25294 15.9043 11.2157 17.0359 12.0569C17.8845 12.6176 18.5917 12.4775 18.5917 12.4775H21.562C21.562 12.4775 23.1178 12.3373 22.4106 11.2157C22.4106 11.0755 21.9863 10.2343 20.1476 8.69216C18.3088 7.0098 18.4503 7.29019 20.8548 4.20588C22.2692 2.38333 22.835 1.26176 22.6935 0.700978C22.5521 0.28039 21.562 0.42059 21.562 0.42059H18.1674C18.1674 0.42059 17.8845 0.420588 17.7431 0.560784C17.6016 0.70098 17.4602 0.981371 17.4602 0.981371C17.4602 0.981371 16.8944 2.38333 16.1872 3.6451C14.6313 6.16863 14.0656 6.30882 13.7827 6.16863C13.2169 5.74804 13.3584 4.62647 13.3584 3.92549C13.3584 1.40196 13.7827 0.420589 12.6512 0.140197C12.2268 1.06543e-06 11.944 -2.13922e-06 11.0953 -2.13922e-06C9.82233 -2.13922e-06 8.83224 -1.06543e-06 8.26647 0.280391C7.84215 0.420587 7.55927 0.841177 7.70071 0.841177C7.9836 0.841177 8.40792 0.98137 8.6908 1.40196C8.97368 1.82255 8.97368 2.94412 8.97368 2.94412C8.97368 2.94412 9.11513 5.88824 8.54936 6.16863C8.12503 6.44902 7.41783 5.88824 6.14485 3.6451C5.43764 2.52353 4.87188 1.12157 4.87188 1.12157C4.87188 1.12157 4.73044 0.841174 4.589 0.700978C4.30611 0.560782 4.02323 0.560784 4.02323 0.560784H0.770071C0.770071 0.560784 0.345746 0.560785 0.0628629 0.841177C-0.0785787 0.981374 0.0628629 1.40196 0.0628629 1.40196C0.0628629 1.40196 2.60881 7.2902 5.43764 10.2343C8.12503 12.7578 11.0953 12.4775 11.0953 12.4775Z" transform="translate(6.78613 14.4898)" fill="white"/>', i += "</svg>", i += "</a>", i += '<div class="chaty-widget-i-title">', i += "<p>Vkontakte</p>", i += "</div>", i += "</div>"), "waze" == t && (i += '<div class="chaty-widget-i" data-title="' + e.object_settings.social.waze + '"target="_blank">', i += '<a href="' + e.object_settings.social.waze + '"target="_blank">', i += '<svg class="ico_d" width="39" height="39" viewBox="0 0 39 39" fill="none" xmlns="http://www.w3.org/2000/svg">', i += '<circle class="color-element" cx="19.5" cy="19.5" r="19.5" fill="#6ECCEF"/>', i += '<path d="M11.6549 16.6733C16.5911 16.6733 20.5675 12.9218 20.5675 8.33667C20.5675 3.7515 16.5911 0 11.6549 0C6.7187 0 2.74233 3.7515 2.74233 8.33667C2.74233 8.33667 3.42791 12.505 0 12.505C0 15.9786 6.17024 16.6733 11.6549 16.6733Z" transform="translate(9.15631 9.71375)" fill="#6ECCEF" class="color-element"/> <path d="M12.3405 18.0628C3.97637 18.0628 0 16.5344 0 13.1997C0 12.7829 0.274233 12.505 0.685582 12.505C1.37116 12.505 1.91963 12.3661 2.19386 11.9492C3.01656 10.9766 2.74233 9.17034 2.74233 9.17034C2.74233 4.02939 6.99293 0 12.3405 0C17.688 0 21.9386 4.02939 21.9386 9.0314C21.9386 14.0334 17.688 18.0628 12.3405 18.0628ZM1.50828 13.7555C2.19386 15.5618 5.896 16.6733 12.3405 16.6733C16.8653 16.6733 20.5675 13.1997 20.5675 9.0314C20.5675 4.86306 16.8653 1.38945 12.3405 1.38945C7.81563 1.38945 4.11349 4.86306 4.11349 9.0314C4.11349 9.0314 4.52484 11.3935 3.29079 12.7829C2.74233 13.3387 2.19386 13.6166 1.50828 13.7555Z" transform="translate(8.46936 9.01862)" fill="white"/> <path d="M2.74233 5.55778C4.25687 5.55778 5.48465 4.31363 5.48465 2.77889C5.48465 1.24415 4.25687 0 2.74233 0C1.22778 0 0 1.24415 0 2.77889C0 4.31363 1.22778 5.55778 2.74233 5.55778Z" transform="translate(20.8105 24.3027)" fill="white"/> <path d="M2.74233 5.55778C4.25687 5.55778 5.48465 4.31363 5.48465 2.77889C5.48465 1.24415 4.25687 0 2.74233 0C1.22778 0 0 1.24415 0 2.77889C0 4.31363 1.22778 5.55778 2.74233 5.55778Z" transform="translate(12.5836 24.3025)" fill="white"/> <path d="M0.685582 1.38945C0.274233 1.38945 0 1.11156 0 0.694723C0 0.277889 0.274233 0 0.685582 0C1.09693 0 1.37116 0.277889 1.37116 0.694723C1.37116 1.11156 1.09693 1.38945 0.685582 1.38945Z" transform="translate(17.3835 15.2717)" fill="white"/> <path d="M0.685582 1.38945C0.274233 1.38945 0 1.11156 0 0.694723C0 0.277889 0.274233 0 0.685582 0C1.09693 0 1.37116 0.277889 1.37116 0.694723C1.37116 1.11156 1.09693 1.38945 0.685582 1.38945Z" transform="translate(22.8668 15.2717)" fill="white"/> <path d="M4.14916 4.20448C2.22953 4.20448 0.447017 2.81503 0.035668 0.869809C-0.101448 0.452975 0.172786 0.175088 0.584135 0.0361436C0.995484 -0.102801 1.26972 0.17509 1.40683 0.591924C1.68106 1.84242 2.77799 2.81503 4.14916 2.81503C5.52032 2.81503 6.61725 1.84242 6.89148 0.591924C7.0286 0.17509 7.30283 0.0361436 7.71418 0.0361436C8.12553 0.175088 8.26265 0.452975 8.26265 0.869809C7.8513 2.81503 6.06879 4.20448 4.14916 4.20448Z" transform="translate(16.662 18.7092)" fill="white"/>', i += "</svg>", i += "</a>", i += '<div class="chaty-widget-i-title">', i += "<p>Waze</p>", i += "</div>", i += "</div>"), "whatsapp" == t && (phone = e.object_settings.social.whatsapp, i += '<div class="chaty-widget-i" data-title="' + e.object_settings.social.whatsapp + '">', i += '<a href=" https://api.whatsapp.com/send?phone=' + phone.replace("+", "") + '"target="_blank">', i += '<svg class="ico_d" width="39" height="39" viewBox="0 0 39 39" fill="none" xmlns="http://www.w3.org/2000/svg">', i += '<circle class="color-element" cx="19.5" cy="19.5" r="19.5" fill="#49E670"/>', i += '<path d="M12.9821 10.1115C12.7029 10.7767 11.5862 11.442 10.7486 11.575C10.1902 11.7081 9.35269 11.8411 6.84003 10.7767C3.48981 9.44628 1.39593 6.25317 1.25634 6.12012C1.11674 5.85403 2.13001e-06 4.39053 2.13001e-06 2.92702C2.13001e-06 1.46351 0.83755 0.665231 1.11673 0.399139C1.39592 0.133046 1.8147 1.01506e-06 2.23348 1.01506e-06C2.37307 1.01506e-06 2.51267 1.01506e-06 2.65226 1.01506e-06C2.93144 1.01506e-06 3.21063 -2.02219e-06 3.35022 0.532183C3.62941 1.19741 4.32736 2.66092 4.32736 2.79397C4.46696 2.92702 4.46696 3.19311 4.32736 3.32616C4.18777 3.59225 4.18777 3.59224 3.90858 3.85834C3.76899 3.99138 3.6294 4.12443 3.48981 4.39052C3.35022 4.52357 3.21063 4.78966 3.35022 5.05576C3.48981 5.32185 4.18777 6.38622 5.16491 7.18449C6.42125 8.24886 7.39839 8.51496 7.81717 8.78105C8.09636 8.91409 8.37554 8.9141 8.65472 8.648C8.93391 8.38191 9.21309 7.98277 9.49228 7.58363C9.77146 7.31754 10.0507 7.1845 10.3298 7.31754C10.609 7.45059 12.2841 8.11582 12.5633 8.38191C12.8425 8.51496 13.1217 8.648 13.1217 8.78105C13.1217 8.78105 13.1217 9.44628 12.9821 10.1115Z" transform="translate(12.9597 12.9597)" fill="#FAFAFA"/> <path d="M0.196998 23.295L0.131434 23.4862L0.323216 23.4223L5.52771 21.6875C7.4273 22.8471 9.47325 23.4274 11.6637 23.4274C18.134 23.4274 23.4274 18.134 23.4274 11.6637C23.4274 5.19344 18.134 -0.1 11.6637 -0.1C5.19344 -0.1 -0.1 5.19344 -0.1 11.6637C-0.1 13.9996 0.624492 16.3352 1.93021 18.2398L0.196998 23.295ZM5.87658 19.8847L5.84025 19.8665L5.80154 19.8788L2.78138 20.8398L3.73978 17.9646L3.75932 17.906L3.71562 17.8623L3.43104 17.5777C2.27704 15.8437 1.55796 13.8245 1.55796 11.6637C1.55796 6.03288 6.03288 1.55796 11.6637 1.55796C17.2945 1.55796 21.7695 6.03288 21.7695 11.6637C21.7695 17.2945 17.2945 21.7695 11.6637 21.7695C9.64222 21.7695 7.76778 21.1921 6.18227 20.039L6.17557 20.0342L6.16817 20.0305L5.87658 19.8847Z" transform="translate(7.7758 7.77582)" fill="white" stroke="white" stroke-width="0.2"/', i += "</svg>", i += "</a>", i += '<div class="chaty-widget-i-title">', i += "<p>Whatsapp</p>", i += "</div>", i += "</div>"), "line" == t && (i += '<div class="chaty-widget-i" data-title="' + e.object_settings.social.line + '"target="_blank">', i += '<a href="' + e.object_settings.social.line + '"target="_blank">', i += '<svg class="ico_d" width="39" height="39" viewBox="0 0 39 39" fill="none" xmlns="http://www.w3.org/2000/svg">', i += '<circle class="color-element" cx="19.5" cy="19.5" r="19.5" fill="#38B900"></circle>', i += '<path d="M24 9.36561C24 4.19474 18.6178 0 12 0C5.38215 0 0 4.19474 0 9.36561C0 13.9825 4.25629 17.8606 10.0229 18.5993C10.4073 18.6785 10.9565 18.8368 11.0664 19.1797C11.1762 19.4699 11.1487 19.9184 11.0938 20.235C11.0938 20.235 10.9565 21.0528 10.9291 21.2111C10.8741 21.5013 10.6819 22.3456 11.9725 21.8443C13.2632 21.3167 18.8924 17.9398 21.3913 15.1433C23.1487 13.2702 24 11.4234 24 9.36561Z" transform="translate(7 10)" fill="white"></path> <path d="M1.0984 0H0.24714C0.10984 0 -2.09503e-07 0.105528 -2.09503e-07 0.211056V5.22364C-2.09503e-07 5.35555 0.10984 5.43469 0.24714 5.43469H1.0984C1.2357 5.43469 1.34554 5.32917 1.34554 5.22364V0.211056C1.34554 0.105528 1.2357 0 1.0984 0Z" transform="translate(15.4577 16.8593)" fill="#38B900" class="color-element"></path> <path d="M4.66819 0H3.81693C3.67963 0 3.56979 0.105528 3.56979 0.211056V3.19222L1.18078 0.0791458C1.18078 0.0791458 1.18078 0.0527642 1.15332 0.0527642C1.15332 0.0527642 1.15332 0.0527641 1.12586 0.0263821C1.12586 0.0263821 1.12586 0.0263821 1.0984 0.0263821H0.247139C0.10984 0.0263821 4.19006e-07 0.13191 4.19006e-07 0.237438V5.25002C4.19006e-07 5.38193 0.10984 5.46108 0.247139 5.46108H1.0984C1.2357 5.46108 1.34554 5.35555 1.34554 5.25002V2.26885L3.73455 5.38193C3.76201 5.40831 3.76201 5.43469 3.78947 5.43469C3.78947 5.43469 3.78947 5.43469 3.81693 5.43469C3.81693 5.43469 3.81693 5.43469 3.84439 5.43469C3.87185 5.43469 3.87185 5.43469 3.89931 5.43469H4.75057C4.88787 5.43469 4.99771 5.32917 4.99771 5.22364V0.211056C4.91533 0.105528 4.80549 0 4.66819 0Z" transform="translate(17.6819 16.8593)" fill="#38B900" class="color-element"></path> <path d="M3.62471 4.22112H1.34554V0.237438C1.34554 0.105528 1.2357 0 1.0984 0H0.24714C0.10984 0 -5.23757e-08 0.105528 -5.23757e-08 0.237438V5.25002C-5.23757e-08 5.30278 0.0274599 5.35555 0.0549198 5.40831C0.10984 5.43469 0.16476 5.46108 0.21968 5.46108H3.56979C3.70709 5.46108 3.78947 5.35555 3.78947 5.22364V4.4058C3.87185 4.32665 3.76201 4.22112 3.62471 4.22112Z" transform="translate(10.8993 16.8593)" fill="#38B900" class="color-element"></path> <path d="M3.56979 1.29272C3.70709 1.29272 3.78947 1.18719 3.78947 1.05528V0.237438C3.78947 0.105528 3.67963 -1.00639e-07 3.56979 -1.00639e-07H0.219679C0.164759 -1.00639e-07 0.10984 0.0263821 0.0549199 0.0527641C0.02746 0.105528 -2.09503e-07 0.158292 -2.09503e-07 0.211056V5.22364C-2.09503e-07 5.2764 0.02746 5.32917 0.0549199 5.38193C0.10984 5.40831 0.164759 5.43469 0.219679 5.43469H3.56979C3.70709 5.43469 3.78947 5.32917 3.78947 5.19726V4.37941C3.78947 4.2475 3.67963 4.14198 3.56979 4.14198H1.29062V3.29775H3.56979C3.70709 3.29775 3.78947 3.19222 3.78947 3.06031V2.24247C3.78947 2.11056 3.67963 2.00503 3.56979 2.00503H1.29062V1.16081H3.56979V1.29272Z" transform="translate(23.421 16.8329)" fill="#38B900" class="color-element"></path>', i += "</svg>", i += "</a>", i += '<div class="chaty-widget-i-title">', i += "<p>Line</p>", i += "</div>", i += "</div>"), "wechat" == t && (i += '<div class="chaty-widget-i" data-title="' + e.object_settings.social.wechat + '"target="_blank">', i += '<svg class="ico_d" width="39" height="39" viewBox="0 0 39 39" fill="none" xmlns="http://www.w3.org/2000/svg">', i += '<circle class="color-element" cx="19.5" cy="19.5" r="19.5" fill="#45DC00"></circle>', i += '<path d="M17.3707 6.90938C15.0508 7.03077 13.0281 7.71242 11.3888 9.26248C9.73039 10.8312 8.97307 12.7455 9.18397 15.1172C8.27327 15.0052 7.44884 14.8838 6.61482 14.8184C6.32723 14.7904 5.99171 14.8278 5.74246 14.9585C4.93721 15.4067 4.16071 15.9016 3.24042 16.4619C3.41298 15.7242 3.51843 15.0705 3.71015 14.4449C3.85395 13.9874 3.78685 13.7353 3.35546 13.4364C0.584998 11.5222 -0.594125 8.65553 0.287821 5.69547C1.10266 2.95952 3.09663 1.30674 5.80957 0.447674C9.50991 -0.728879 13.68 0.475687 15.9232 3.33303C16.738 4.36952 17.2365 5.53673 17.3707 6.90938ZM6.69152 5.98494C6.71069 5.44336 6.23137 4.95779 5.65619 4.93912C5.07142 4.92044 4.5921 5.35932 4.57293 5.91958C4.55375 6.48918 5.00431 6.94673 5.58908 6.95607C6.18344 6.97474 6.67234 6.53587 6.69152 5.98494ZM12.2612 4.93912C11.686 4.94846 11.2067 5.42468 11.2163 5.96627C11.2259 6.52653 11.7052 6.9654 12.29 6.9654C12.8843 6.95607 13.3253 6.51719 13.3253 5.93825C13.3157 5.37799 12.846 4.92978 12.2612 4.93912Z" transform="translate(7 9)" fill="white"></path><path d="M12.48 13.2605C11.7418 12.943 11.0708 12.4668 10.3518 12.3921C9.63283 12.3174 8.88509 12.7189 8.13735 12.7936C5.8558 13.0177 3.8139 12.4014 2.13629 10.8887C-1.06556 8.00334 -0.605416 3.57726 3.09492 1.21482C6.38305 -0.886168 11.2146 -0.185839 13.5345 2.72753C15.5572 5.26739 15.3175 8.64764 12.8538 10.786C12.1349 11.4023 11.876 11.9158 12.3362 12.7282C12.4225 12.8776 12.432 13.0737 12.48 13.2605ZM4.11108 5.3701C4.58081 5.3701 4.96426 5.01527 4.98344 4.56706C5.00261 4.09084 4.60957 3.68932 4.12066 3.68932C3.63176 3.68932 3.22913 4.09084 3.2483 4.55772C3.26748 5.00593 3.65093 5.3701 4.11108 5.3701ZM9.5082 3.68932C9.05764 3.68932 8.6646 4.04415 8.64543 4.49236C8.62626 4.96858 9.00971 5.36077 9.48903 5.36077C9.95876 5.36077 10.3326 5.01527 10.3422 4.55772C10.371 4.09084 9.98752 3.68932 9.5082 3.68932Z" transform="translate(17.1057 16.7395)" fill="white"></path>', i += "</svg>", i += '<div class="chaty-widget-i-title">', i += "<p>WeChat: " + e.object_settings.social.wechat + "</p>", i += "</div>", 1 === Object.keys(e.object_settings.social).length && (i += '<div class="snap-wee-title">', i += "<p>WeChat: " + e.object_settings.social.wechat + "</p>", i += "</div>"), i += "</div>")
49
  }), i
50
  }
51
 
74
  default:
75
  return '<svg version="1.1" id="ch" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="-496 507.7 54 54" style="enable-background:new -496 507.7 54 54;" xml:space="preserve">\n<style type="text/css">.st1 {fill: #FFFFFF;}.st0{fill: #808080;}</style>\n<g><circle cx="-469" cy="534.7" r="27" fill="' + t.object_settings.color + '"/></g>\n<path class="st1" d="M-459.9,523.7h-20.3c-1.9,0-3.4,1.5-3.4,3.4v15.3c0,1.9,1.5,3.4,3.4,3.4h11.4l5.9,4.9c0.2,0.2,0.3,0.2,0.5,0.2 h0.3c0.3-0.2,0.5-0.5,0.5-0.8v-4.2h1.7c1.9,0,3.4-1.5,3.4-3.4v-15.3C-456.5,525.2-458,523.7-459.9,523.7z"/>\n<path class="st0" d="M-477.7,530.5h11.9c0.5,0,0.8,0.4,0.8,0.8l0,0c0,0.5-0.4,0.8-0.8,0.8h-11.9c-0.5,0-0.8-0.4-0.8-0.8l0,0C-478.6,530.8-478.2,530.5-477.7,530.5z"/>\n<path class="st0" d="M-477.7,533.5h7.9c0.5,0,0.8,0.4,0.8,0.8l0,0c0,0.5-0.4,0.8-0.8,0.8h-7.9c-0.5,0-0.8-0.4-0.8-0.8l0,0C-478.6,533.9-478.2,533.5-477.7,533.5z"/>\n</svg>'
76
  }
77
+ }(e), C = i("display_cta"), "" != d && "none" != C && (g += ' <div class="chaty-widget-i-title true"> ', g += d, g += "</div>"), g += "</div>", g += '<div class="chaty-widget-i i-trigger-close" data-title="Hide" style="background-color:' + e.object_settings.color + '">', g += '<svg viewBox="0 0 54 54" fill="none" xmlns="http://www.w3.org/2000/svg">', g += '<ellipse cx="26" cy="26" rx="26" ry="26" fill="' + e.object_settings.color + '"/>', g += '<rect width="27.1433" height="3.89857" rx="1.94928" transform="translate(18.35 15.6599) scale(0.998038 1.00196) rotate(45)" fill="white"/>', g += '<rect width="27.1433" height="3.89857" rx="1.94928" transform="translate(37.5056 18.422) scale(0.998038 1.00196) rotate(135)" fill="white"/>', g += "</svg>", g += '<div class="chaty-widget-i-title">', g += "Hide", g += "</div>", g += "</div>", g += " </div>", 0 === n.length && (g += '<div class="get" style="position: absolute;width: 100%;text-align: center;display: block!important; opacity: 1 !important;visibility: visible !important;"> <a href="https://premio.io/downloads/chaty/?utm_source=wpplugin" target="_blank" style=" font-size: 11px !important; top: -5px !important; position: relative !important; color: #222 !important; width:60px !important; font-family: Lato, Helvetica, Arial, sans-serif; display: block !important; opacity: 1 !important; visibility: visible !important; ">Get Widget</a></div>'), g += "</div>"
78
 
79
  } else {
80
  var w = "";
assets/js/cht-scripts-heart.js CHANGED
@@ -1,654 +1,654 @@
1
-
2
-
3
- // fuction plugin
4
-
5
-
6
- (function($) {
7
-
8
- var settings = JSON.parse(document.currentScript.getAttribute('settings'));
9
- console.log(settings);
10
- function getCookie(cname) {
11
- var name = cname + "=";
12
- var ca = document.cookie.split(';');
13
- for(var i=0; i<ca.length; i++) {
14
- var c = ca[i];
15
- while (c.charAt(0)==' ') c = c.substring(1);
16
- if(c.indexOf(name) == 0)
17
- return c.substring(name.length,c.length);
18
- }
19
- return "";
20
- }
21
- // cookie
22
- var date = new Date();
23
- function track_user() {
24
- setInterval(function() {
25
- date.setTime(date.getTime()+(2*500));
26
- document.cookie = "display_cta=none; expires="+ date.toGMTString() + "; path=/";
27
- }, 300);
28
- }
29
-
30
- var display_cta = getCookie("display_cta");
31
-
32
- if(display_cta!=''){
33
- track_user();
34
- }
35
-
36
-
37
- token = settings.object_settings.token ;
38
-
39
- function i(settings){
40
-
41
-
42
- var text = "";
43
- var counter = 0;
44
- $.each( settings.object_settings.social, function( key, value ) {
45
- // console.log( key + ": " + value );
46
- counter++;
47
-
48
- if(token=="" && counter=='3' ){
49
- return false;
50
- }
51
- if( key == 'facebook_messenger'){
52
-
53
- text+='<div class="chaty-widget-i facebook" data-title="'+settings.object_settings.social.facebook_messenger+'">';
54
- text+='<svg class="ico_d" width="39" height="39" viewBox="0 0 39 39" fill="none" xmlns="http://www.w3.org/2000/svg">';
55
- text+='<circle class="color-element" cx="19.5" cy="19.5" r="19.5" fill="#1E88E5"/>';
56
- text+='<path fill-rule="evenodd" clip-rule="evenodd" d="M0 9.63934C0 4.29861 4.68939 0 10.4209 0C16.1524 0 20.8418 4.29861 20.8418 9.63934C20.8418 14.98 16.1524 19.2787 10.4209 19.2787C9.37878 19.2787 8.33673 19.1484 7.42487 18.8879L3.90784 20.8418V17.1945C1.56311 15.3708 0 12.6353 0 9.63934ZM8.85779 10.1604L11.463 13.0261L17.1945 6.90384L12.1143 9.76959L9.37885 6.90384L3.64734 13.0261L8.85779 10.1604Z" transform="translate(9.01854 10.3146)" fill="white"/>';
57
- text+='</svg>';
58
- text+='<div class="chaty-widget-i-title face_title" style="display: none;">';
59
- text+='<div class="facebook_header">'
60
- text+='<svg width="15" height="15" viewBox="0 0 39 39" fill="none" xmlns="http://www.w3.org/2000/svg">';
61
- text+='<circle class="color-element" cx="19.5" cy="19.5" r="19.5" fill="#1E88E5"/>';
62
- text+='<path fill-rule="evenodd" clip-rule="evenodd" d="M0 9.63934C0 4.29861 4.68939 0 10.4209 0C16.1524 0 20.8418 4.29861 20.8418 9.63934C20.8418 14.98 16.1524 19.2787 10.4209 19.2787C9.37878 19.2787 8.33673 19.1484 7.42487 18.8879L3.90784 20.8418V17.1945C1.56311 15.3708 0 12.6353 0 9.63934ZM8.85779 10.1604L11.463 13.0261L17.1945 6.90384L12.1143 9.76959L9.37885 6.90384L3.64734 13.0261L8.85779 10.1604Z" transform="translate(9.01854 10.3146)" fill="white"/>';
63
- text+='</svg>';
64
- text+='<p>Facebook Messeger</p>';
65
- text+=' <svg xmlns="http://www.w3.org/2000/svg" class="close_facebook" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" id="Capa_1" x="0px" y="0px" width="612px" height="612px" viewBox="0 0 612 612" style="fill: #fff; float: right; margin-top: 4px;" xml:space="preserve">';
66
- text+='<circle class="color-element" cx="19.5" cy="19.5" r="19.5" fill="#1E88E5"/>';
67
- text+='<path xmlns="http://www.w3.org/2000/svg" d="M268.064,256.75l138.593-138.593c3.124-3.124,3.124-8.189,0-11.313c-3.125-3.124-8.189-3.124-11.314,0L256.75,245.436 L118.157,106.843c-3.124-3.124-8.189-3.124-11.313,0c-3.125,3.124-3.125,8.189,0,11.313L245.436,256.75L106.843,395.343 c-3.125,3.125-3.125,8.189,0,11.314c1.562,1.562,3.609,2.343,5.657,2.343s4.095-0.781,5.657-2.343L256.75,268.064l138.593,138.593 c1.563,1.562,3.609,2.343,5.657,2.343s4.095-0.781,5.657-2.343c3.124-3.125,3.124-8.189,0-11.314L268.064,256.75z"/>';
68
- text+='</svg>';
69
- text+=' </div>';
70
- text+='<div class="fb-page" data-href="'+settings.object_settings.social.facebook_messenger+'" data-tabs="messages" data-width="250" data-height="400" data-small-header="false" data-adapt-container-width="false" data-hide-cover="false" data-show-facepile="false"><blockquote cite="'+settings.object_settings.social.facebook_messenger+'" class="fb-xfbml-parse-ignore"><a href="'+settings.object_settings.social.facebook_messenger+'">Facebook</a></blockquote></div>';
71
- text+='</div>';
72
-
73
- text+='<div class="chaty-widget-i-title facebook_two_mess">';
74
- text+='<p style="margin: 7px!important;">Facebook Messenger</p>';
75
- text+='</div>';
76
- text+='</div>';
77
-
78
- }
79
- if(key == 'google_maps'){
80
-
81
- text+='<div class="chaty-widget-i" data-title="'+settings.object_settings.social.google_maps+'">';
82
- text+='<a href="'+settings.object_settings.social.google_maps+'" target="_blank">'
83
- text+='<svg class="ico_d" width="39" height="39" viewBox="0 0 39 39" fill="none" xmlns="http://www.w3.org/2000/svg">';
84
- text+='<circle class="color-element" cx="19.5" cy="19.5" r="19.5" fill="#37AA66"/>';
85
- text+='<path fill-rule="evenodd" clip-rule="evenodd" d="M0 8.06381C0 3.68631 3.68633 0 8.06383 0C12.4413 0 16.1276 3.68631 16.1276 8.06381C16.1276 12.2109 9.67659 19.5835 8.9854 20.2747C8.755 20.5051 8.29422 20.7355 8.06383 20.7355C7.83344 20.7355 7.37263 20.5051 7.14224 20.2747C6.45107 19.5835 0 12.2109 0 8.06381ZM11.5203 8.06378C11.5203 9.97244 9.97302 11.5197 8.06436 11.5197C6.15572 11.5197 4.60844 9.97244 4.60844 8.06378C4.60844 6.15515 6.15572 4.60788 8.06436 4.60788C9.97302 4.60788 11.5203 6.15515 11.5203 8.06378Z" transform="translate(11.3764 9.07178)" fill="white"/>';
86
- text+='</svg>';
87
- text+='</a>';
88
- text+='<div class="chaty-widget-i-title">';
89
- text+='<p>Google Maps</p>';
90
- text+='</div>';
91
- text+='</div>';
92
-
93
-
94
- }
95
- if(key == 'link'){
96
-
97
- text+='<div class="chaty-widget-i" data-title="'+settings.object_settings.social.link+'">';
98
- text+='<a href="'+settings.object_settings.social.link+'" target="_blank">'
99
- text+='<svg class="ico_d" width="39" height="39" viewBox="0 0 39 39" fill="none" xmlns="http://www.w3.org/2000/svg">';
100
- text+='<circle class="color-element" cx="19.5" cy="19.5" r="19.5" fill="#FF7539"/>';
101
- text+='<mask id="path-2-outside-1" maskUnits="userSpaceOnUse" x="-1" y="-1" width="13" height="14" fill="black"> <rect fill="white" x="-1" y="-1" width="13" height="14"/> <path fill-rule="evenodd" clip-rule="evenodd" d="M9.10658 1.73537C9.10658 1.73537 9.10658 1.73538 9.10659 1.73538L9.93879 2.58495C9.9388 2.58495 9.9388 2.58495 9.9388 2.58496C9.99645 2.64381 10.0508 2.70475 10.1019 2.76754C10.3002 3.0113 10.6804 3.07698 10.9003 2.85252C11.0424 2.70754 11.0721 2.4836 10.9533 2.31904C10.849 2.17452 10.7327 2.03614 10.6046 1.90532C10.6046 1.9053 10.6046 1.90529 10.6045 1.90528L9.77236 1.05572C9.77236 1.05572 9.77235 1.05572 9.77235 1.05572C8.39351 -0.351905 6.15792 -0.351905 4.77907 1.05571C4.77907 1.05572 4.77907 1.05572 4.77906 1.05572L1.03414 4.87877C1.03413 4.87878 1.03413 4.87878 1.03413 4.87878C-0.344706 6.2864 -0.34471 8.56858 1.03412 9.9762C1.03413 9.97621 1.03414 9.97622 1.03415 9.97623L1.86633 10.8258C1.86634 10.8258 1.86635 10.8258 1.86636 10.8258C3.24521 12.2334 5.48072 12.2334 6.85962 10.8258C6.85963 10.8258 6.85964 10.8258 6.85964 10.8258L9.28893 8.34581C9.47006 8.1609 9.47006 7.86509 9.28893 7.68018C9.10243 7.48979 8.79591 7.48979 8.60942 7.68018L6.19386 10.1461C6.19386 10.1461 6.19386 10.1461 6.19386 10.1461C5.1827 11.1784 3.54326 11.1784 2.53215 10.1461C2.53213 10.1461 2.53211 10.1461 2.53209 10.1461L1.69991 9.29657C1.69991 9.29657 1.6999 9.29656 1.6999 9.29655C0.688737 8.2643 0.688739 6.59069 1.6999 5.55844C1.6999 5.55843 1.69991 5.55843 1.69991 5.55843L5.44484 1.73538C5.44484 1.73538 5.44484 1.73537 5.44484 1.73537C6.45601 0.703119 8.09541 0.703118 9.10658 1.73537Z"/> </mask><path fill-rule="evenodd" clip-rule="evenodd" d="M9.10658 1.73537C9.10658 1.73537 9.10658 1.73538 9.10659 1.73538L9.93879 2.58495C9.9388 2.58495 9.9388 2.58495 9.9388 2.58496C9.99645 2.64381 10.0508 2.70475 10.1019 2.76754C10.3002 3.0113 10.6804 3.07698 10.9003 2.85252C11.0424 2.70754 11.0721 2.4836 10.9533 2.31904C10.849 2.17452 10.7327 2.03614 10.6046 1.90532C10.6046 1.9053 10.6046 1.90529 10.6045 1.90528L9.77236 1.05572C9.77236 1.05572 9.77235 1.05572 9.77235 1.05572C8.39351 -0.351905 6.15792 -0.351905 4.77907 1.05571C4.77907 1.05572 4.77907 1.05572 4.77906 1.05572L1.03414 4.87877C1.03413 4.87878 1.03413 4.87878 1.03413 4.87878C-0.344706 6.2864 -0.34471 8.56858 1.03412 9.9762C1.03413 9.97621 1.03414 9.97622 1.03415 9.97623L1.86633 10.8258C1.86634 10.8258 1.86635 10.8258 1.86636 10.8258C3.24521 12.2334 5.48072 12.2334 6.85962 10.8258C6.85963 10.8258 6.85964 10.8258 6.85964 10.8258L9.28893 8.34581C9.47006 8.1609 9.47006 7.86509 9.28893 7.68018C9.10243 7.48979 8.79591 7.48979 8.60942 7.68018L6.19386 10.1461C6.19386 10.1461 6.19386 10.1461 6.19386 10.1461C5.1827 11.1784 3.54326 11.1784 2.53215 10.1461C2.53213 10.1461 2.53211 10.1461 2.53209 10.1461L1.69991 9.29657C1.69991 9.29657 1.6999 9.29656 1.6999 9.29655C0.688737 8.2643 0.688739 6.59069 1.6999 5.55844C1.6999 5.55843 1.69991 5.55843 1.69991 5.55843L5.44484 1.73538C5.44484 1.73538 5.44484 1.73537 5.44484 1.73537C6.45601 0.703119 8.09541 0.703118 9.10658 1.73537Z" transform="translate(9.95154 16.0478)" fill="white"/><path d="M5.44484 1.73538L5.23053 1.52545L5.44484 1.73538ZM5.44484 1.73537L5.23053 1.52544L5.44484 1.73537ZM1.6999 5.55844L1.48559 5.3485L1.6999 5.55844ZM1.69991 5.55843L1.91422 5.76836L1.69991 5.55843ZM1.69991 9.29657L1.91422 9.08664L1.69991 9.29657ZM1.6999 9.29655L1.91421 9.08662L1.6999 9.29655ZM2.53215 10.1461L2.31784 10.3561L2.53215 10.1461ZM2.53209 10.1461L2.31778 10.356L2.53209 10.1461ZM6.19386 10.1461L5.97955 9.93618L6.19386 10.1461ZM6.19386 10.1461L6.40817 10.356L6.19386 10.1461ZM8.60942 7.68018L8.82373 7.89011L8.60942 7.68018ZM9.28893 8.34581L9.07462 8.13588L9.28893 8.34581ZM6.85962 10.8258L6.64532 10.6158L6.85962 10.8258ZM6.85964 10.8258L7.07395 11.0357L6.85964 10.8258ZM1.86633 10.8258L2.08064 10.6158L1.86633 10.8258ZM1.86636 10.8258L2.08067 10.6159L1.86636 10.8258ZM1.03412 9.9762L1.24843 9.76628L1.03412 9.9762ZM1.03415 9.97623L0.819841 10.1862L1.03415 9.97623ZM1.03414 4.87877L0.819827 4.66884L1.03414 4.87877ZM1.03413 4.87878L1.24844 5.08871L1.03413 4.87878ZM4.77907 1.05571L4.99338 1.26564L4.77907 1.05571ZM4.77906 1.05572L4.99338 1.26565L4.77906 1.05572ZM9.77236 1.05572L9.55805 1.26565L9.77236 1.05572ZM9.77235 1.05572L9.98666 0.845785L9.77235 1.05572ZM10.6046 1.90532L10.8189 1.6954L10.6046 1.90532ZM10.6045 1.90528L10.8189 1.69535L10.6045 1.90528ZM10.9533 2.31904L10.7101 2.49464L10.9533 2.31904ZM10.1019 2.76754L9.86916 2.95685L10.1019 2.76754ZM9.10659 1.73538L9.3209 1.52545L9.10659 1.73538ZM9.10658 1.73537L8.89227 1.9453L9.10658 1.73537ZM9.93879 2.58495L10.1531 2.37502L9.93879 2.58495ZM9.9388 2.58496L10.1531 2.37503L9.9388 2.58496ZM10.1531 2.37502L9.3209 1.52545L8.89228 1.94531L9.72448 2.79488L10.1531 2.37502ZM10.3346 2.57823C10.2777 2.50832 10.2172 2.4405 10.1531 2.37503L9.72449 2.79488C9.77566 2.84713 9.82388 2.90119 9.86916 2.95685L10.3346 2.57823ZM11.1966 2.14344C11.0835 1.98684 10.9576 1.83698 10.8189 1.6954L10.3903 2.11524C10.5079 2.2353 10.6145 2.3622 10.7101 2.49464L11.1966 2.14344ZM10.8189 1.69535L9.98667 0.845789L9.55805 1.26565L10.3902 2.11521L10.8189 1.69535ZM9.98666 0.845785C8.49018 -0.681928 6.06124 -0.681928 4.56476 0.845784L4.99338 1.26564C6.25459 -0.0218819 8.29683 -0.0218814 9.55804 1.26565L9.98666 0.845785ZM4.56475 0.84579L0.819827 4.66884L1.24845 5.0887L4.99338 1.26565L4.56475 0.84579ZM0.819819 4.66885C-0.673269 6.1931 -0.673273 8.66187 0.819807 10.1861L1.24843 9.76628C-0.0161474 8.47529 -0.016144 6.37969 1.24844 5.08871L0.819819 4.66885ZM0.819841 10.1862L1.65203 11.0357L2.08064 10.6158L1.24846 9.7663L0.819841 10.1862ZM1.65205 11.0357C3.14854 12.5634 5.57739 12.5634 7.07393 11.0357L6.64532 10.6158C5.38405 11.9034 3.34188 11.9034 2.08067 10.6159L1.65205 11.0357ZM7.07395 11.0357L9.50324 8.55574L9.07462 8.13588L6.64533 10.6158L7.07395 11.0357ZM6.40817 10.356L8.82373 7.89011L8.39511 7.47025L5.97955 9.93618L6.40817 10.356ZM2.31784 10.3561C3.44659 11.5084 5.27938 11.5084 6.40817 10.356L5.97955 9.93618C5.08603 10.8483 3.63993 10.8483 2.74646 9.93621L2.31784 10.3561ZM1.48561 9.50651L2.31778 10.356L2.7464 9.93615L1.91422 9.08664L1.48561 9.50651ZM1.48559 5.3485C0.360176 6.49739 0.360173 8.35759 1.48559 9.50648L1.91421 9.08662C1.0173 8.171 1.0173 6.68399 1.91421 5.76837L1.48559 5.3485ZM5.23053 1.52545L1.4856 5.3485L1.91422 5.76836L5.65915 1.94531L5.23053 1.52545ZM9.32089 1.52544C8.19208 0.373095 6.35934 0.373096 5.23053 1.52544L5.65915 1.9453C6.55268 1.03314 7.99874 1.03314 8.89227 1.9453L9.32089 1.52544ZM5.65915 1.94531C5.65915 1.94531 5.65915 1.94531 5.65915 1.9453L5.23053 1.52544C5.23053 1.52544 5.23053 1.52544 5.23053 1.52545L5.65915 1.94531ZM1.91421 5.76837C1.91421 5.76837 1.91422 5.76836 1.91422 5.76836L1.4856 5.3485C1.4856 5.3485 1.48559 5.3485 1.48559 5.3485L1.91421 5.76837ZM1.91422 9.08664C1.91422 9.08663 1.91421 9.08663 1.91421 9.08662L1.48559 9.50648C1.48559 9.50649 1.4856 9.5065 1.48561 9.50651L1.91422 9.08664ZM2.74646 9.93621C2.74644 9.93619 2.74642 9.93617 2.7464 9.93615L2.31778 10.356C2.3178 10.356 2.31782 10.356 2.31784 10.3561L2.74646 9.93621ZM5.97955 9.93618C5.97955 9.93618 5.97955 9.93618 5.97955 9.93618L6.40817 10.356C6.40817 10.356 6.40817 10.356 6.40817 10.356L5.97955 9.93618ZM9.50324 7.47025C9.1991 7.15977 8.69924 7.15977 8.39511 7.47025L8.82373 7.89011C8.89259 7.81981 9.00576 7.81981 9.07462 7.89011L9.50324 7.47025ZM9.50324 8.55574C9.79862 8.25419 9.79862 7.77179 9.50324 7.47025L9.07462 7.89011C9.1415 7.95838 9.1415 8.0676 9.07462 8.13588L9.50324 8.55574ZM7.07393 11.0357C7.07394 11.0357 7.07395 11.0357 7.07395 11.0357L6.64533 10.6158C6.64533 10.6158 6.64532 10.6158 6.64532 10.6158L7.07393 11.0357ZM1.65203 11.0357C1.65203 11.0357 1.65204 11.0357 1.65205 11.0357L2.08067 10.6159C2.08066 10.6158 2.08065 10.6158 2.08064 10.6158L1.65203 11.0357ZM0.819807 10.1861C0.819819 10.1861 0.81983 10.1862 0.819841 10.1862L1.24846 9.7663C1.24845 9.76629 1.24844 9.76628 1.24843 9.76628L0.819807 10.1861ZM0.819827 4.66884C0.819824 4.66884 0.819822 4.66885 0.819819 4.66885L1.24844 5.08871C1.24844 5.08871 1.24845 5.08871 1.24845 5.0887L0.819827 4.66884ZM4.56476 0.845784C4.56476 0.845786 4.56476 0.845788 4.56475 0.84579L4.99338 1.26565C4.99338 1.26565 4.99338 1.26565 4.99338 1.26564L4.56476 0.845784ZM9.98667 0.845789C9.98667 0.845788 9.98666 0.845787 9.98666 0.845785L9.55804 1.26565C9.55804 1.26565 9.55804 1.26565 9.55805 1.26565L9.98667 0.845789ZM10.8189 1.6954C10.8189 1.69538 10.8189 1.69536 10.8189 1.69535L10.3902 2.11521C10.3902 2.11522 10.3903 2.11523 10.3903 2.11524L10.8189 1.6954ZM11.1146 3.06246C11.3462 2.82606 11.411 2.44051 11.1966 2.14344L10.7101 2.49464C10.7332 2.52669 10.7385 2.58902 10.686 2.64258L11.1146 3.06246ZM9.86916 2.95685C10.1487 3.30046 10.7367 3.44829 11.1146 3.06246L10.686 2.64258C10.652 2.67732 10.6006 2.69693 10.531 2.68804C10.4586 2.67877 10.3842 2.63918 10.3346 2.57823L9.86916 2.95685ZM9.3209 1.52545C9.32089 1.52544 9.32089 1.52544 9.32089 1.52544L8.89227 1.9453C8.89227 1.9453 8.89227 1.94531 8.89228 1.94531L9.3209 1.52545ZM9.72448 2.79488C9.72448 2.79488 9.72448 2.79488 9.72449 2.79488L10.1531 2.37503C10.1531 2.37503 10.1531 2.37502 10.1531 2.37502L9.72448 2.79488Z" transform="translate(9.95154 16.0478)" fill="white" mask="url(#path-2-outside-1)"/><mask id="path-4-outside-2" maskUnits="userSpaceOnUse" x="-1" y="-1" width="13" height="14" fill="black"><rect fill="white" x="-1" y="-1" width="13" height="14"/> <path fill-rule="evenodd" clip-rule="evenodd" d="M9.10658 1.73537C9.10658 1.73537 9.10658 1.73538 9.10659 1.73538L9.93879 2.58495C9.9388 2.58495 9.9388 2.58495 9.9388 2.58496C9.99645 2.64381 10.0508 2.70475 10.1019 2.76754C10.3002 3.0113 10.6804 3.07698 10.9003 2.85252C11.0424 2.70754 11.0721 2.4836 10.9533 2.31904C10.849 2.17452 10.7327 2.03614 10.6046 1.90532C10.6046 1.9053 10.6046 1.90529 10.6045 1.90528L9.77236 1.05572C9.77236 1.05572 9.77235 1.05572 9.77235 1.05572C8.39351 -0.351905 6.15792 -0.351905 4.77907 1.05571C4.77907 1.05572 4.77907 1.05572 4.77906 1.05572L1.03414 4.87877C1.03413 4.87878 1.03413 4.87878 1.03413 4.87878C-0.344706 6.2864 -0.34471 8.56858 1.03412 9.9762C1.03413 9.97621 1.03414 9.97622 1.03415 9.97623L1.86633 10.8258C1.86634 10.8258 1.86635 10.8258 1.86636 10.8258C3.24521 12.2334 5.48072 12.2334 6.85962 10.8258C6.85963 10.8258 6.85964 10.8258 6.85964 10.8258L9.28893 8.34581C9.47006 8.1609 9.47006 7.86509 9.28893 7.68018C9.10243 7.48979 8.79591 7.48979 8.60942 7.68018L6.19386 10.1461C6.19386 10.1461 6.19386 10.1461 6.19386 10.1461C5.1827 11.1784 3.54326 11.1784 2.53215 10.1461C2.53213 10.1461 2.53211 10.1461 2.53209 10.1461L1.69991 9.29657C1.69991 9.29657 1.6999 9.29656 1.6999 9.29655C0.688737 8.2643 0.688739 6.59069 1.6999 5.55844C1.6999 5.55843 1.69991 5.55843 1.69991 5.55843L5.44484 1.73538C5.44484 1.73538 5.44484 1.73537 5.44484 1.73537C6.45601 0.703119 8.09541 0.703118 9.10658 1.73537Z"/></mask> <path fill-rule="evenodd" clip-rule="evenodd" d="M9.10658 1.73537C9.10658 1.73537 9.10658 1.73538 9.10659 1.73538L9.93879 2.58495C9.9388 2.58495 9.9388 2.58495 9.9388 2.58496C9.99645 2.64381 10.0508 2.70475 10.1019 2.76754C10.3002 3.0113 10.6804 3.07698 10.9003 2.85252C11.0424 2.70754 11.0721 2.4836 10.9533 2.31904C10.849 2.17452 10.7327 2.03614 10.6046 1.90532C10.6046 1.9053 10.6046 1.90529 10.6045 1.90528L9.77236 1.05572C9.77236 1.05572 9.77235 1.05572 9.77235 1.05572C8.39351 -0.351905 6.15792 -0.351905 4.77907 1.05571C4.77907 1.05572 4.77907 1.05572 4.77906 1.05572L1.03414 4.87877C1.03413 4.87878 1.03413 4.87878 1.03413 4.87878C-0.344706 6.2864 -0.34471 8.56858 1.03412 9.9762C1.03413 9.97621 1.03414 9.97622 1.03415 9.97623L1.86633 10.8258C1.86634 10.8258 1.86635 10.8258 1.86636 10.8258C3.24521 12.2334 5.48072 12.2334 6.85962 10.8258C6.85963 10.8258 6.85964 10.8258 6.85964 10.8258L9.28893 8.34581C9.47006 8.1609 9.47006 7.86509 9.28893 7.68018C9.10243 7.48979 8.79591 7.48979 8.60942 7.68018L6.19386 10.1461C6.19386 10.1461 6.19386 10.1461 6.19386 10.1461C5.1827 11.1784 3.54326 11.1784 2.53215 10.1461C2.53213 10.1461 2.53211 10.1461 2.53209 10.1461L1.69991 9.29657C1.69991 9.29657 1.6999 9.29656 1.6999 9.29655C0.688737 8.2643 0.688739 6.59069 1.6999 5.55844C1.6999 5.55843 1.69991 5.55843 1.69991 5.55843L5.44484 1.73538C5.44484 1.73538 5.44484 1.73537 5.44484 1.73537C6.45601 0.703119 8.09541 0.703118 9.10658 1.73537Z" transform="translate(28.9286 22.8312) rotate(-180)" fill="white"/><path d="M5.44484 1.73538L5.23053 1.52545L5.44484 1.73538ZM5.44484 1.73537L5.23053 1.52544L5.44484 1.73537ZM1.6999 5.55844L1.48559 5.3485L1.6999 5.55844ZM1.69991 5.55843L1.91422 5.76836L1.69991 5.55843ZM1.69991 9.29657L1.91422 9.08664L1.69991 9.29657ZM1.6999 9.29655L1.91421 9.08662L1.6999 9.29655ZM2.53215 10.1461L2.31784 10.3561L2.53215 10.1461ZM2.53209 10.1461L2.31778 10.356L2.53209 10.1461ZM6.19386 10.1461L5.97955 9.93618L6.19386 10.1461ZM6.19386 10.1461L6.40817 10.356L6.19386 10.1461ZM8.60942 7.68018L8.82373 7.89011L8.60942 7.68018ZM9.28893 8.34581L9.07462 8.13588L9.28893 8.34581ZM6.85962 10.8258L6.64532 10.6158L6.85962 10.8258ZM6.85964 10.8258L7.07395 11.0357L6.85964 10.8258ZM1.86633 10.8258L2.08064 10.6158L1.86633 10.8258ZM1.86636 10.8258L2.08067 10.6159L1.86636 10.8258ZM1.03412 9.9762L1.24843 9.76628L1.03412 9.9762ZM1.03415 9.97623L0.819841 10.1862L1.03415 9.97623ZM1.03414 4.87877L0.819827 4.66884L1.03414 4.87877ZM1.03413 4.87878L1.24844 5.08871L1.03413 4.87878ZM4.77907 1.05571L4.99338 1.26564L4.77907 1.05571ZM4.77906 1.05572L4.99338 1.26565L4.77906 1.05572ZM9.77236 1.05572L9.55805 1.26565L9.77236 1.05572ZM9.77235 1.05572L9.98666 0.845785L9.77235 1.05572ZM10.6046 1.90532L10.8189 1.6954L10.6046 1.90532ZM10.6045 1.90528L10.8189 1.69535L10.6045 1.90528ZM10.9533 2.31904L10.7101 2.49464L10.9533 2.31904ZM10.1019 2.76754L9.86916 2.95685L10.1019 2.76754ZM9.10659 1.73538L9.3209 1.52545L9.10659 1.73538ZM9.10658 1.73537L8.89227 1.9453L9.10658 1.73537ZM9.93879 2.58495L10.1531 2.37502L9.93879 2.58495ZM9.9388 2.58496L10.1531 2.37503L9.9388 2.58496ZM10.1531 2.37502L9.3209 1.52545L8.89228 1.94531L9.72448 2.79488L10.1531 2.37502ZM10.3346 2.57823C10.2777 2.50832 10.2172 2.4405 10.1531 2.37503L9.72449 2.79488C9.77566 2.84713 9.82388 2.90119 9.86916 2.95685L10.3346 2.57823ZM11.1966 2.14344C11.0835 1.98684 10.9576 1.83698 10.8189 1.6954L10.3903 2.11524C10.5079 2.2353 10.6145 2.3622 10.7101 2.49464L11.1966 2.14344ZM10.8189 1.69535L9.98667 0.845789L9.55805 1.26565L10.3902 2.11521L10.8189 1.69535ZM9.98666 0.845785C8.49018 -0.681928 6.06124 -0.681928 4.56476 0.845784L4.99338 1.26564C6.25459 -0.0218819 8.29683 -0.0218814 9.55804 1.26565L9.98666 0.845785ZM4.56475 0.84579L0.819827 4.66884L1.24845 5.0887L4.99338 1.26565L4.56475 0.84579ZM0.819819 4.66885C-0.673269 6.1931 -0.673273 8.66187 0.819807 10.1861L1.24843 9.76628C-0.0161474 8.47529 -0.016144 6.37969 1.24844 5.08871L0.819819 4.66885ZM0.819841 10.1862L1.65203 11.0357L2.08064 10.6158L1.24846 9.7663L0.819841 10.1862ZM1.65205 11.0357C3.14854 12.5634 5.57739 12.5634 7.07393 11.0357L6.64532 10.6158C5.38405 11.9034 3.34188 11.9034 2.08067 10.6159L1.65205 11.0357ZM7.07395 11.0357L9.50324 8.55574L9.07462 8.13588L6.64533 10.6158L7.07395 11.0357ZM6.40817 10.356L8.82373 7.89011L8.39511 7.47025L5.97955 9.93618L6.40817 10.356ZM2.31784 10.3561C3.44659 11.5084 5.27938 11.5084 6.40817 10.356L5.97955 9.93618C5.08603 10.8483 3.63993 10.8483 2.74646 9.93621L2.31784 10.3561ZM1.48561 9.50651L2.31778 10.356L2.7464 9.93615L1.91422 9.08664L1.48561 9.50651ZM1.48559 5.3485C0.360176 6.49739 0.360173 8.35759 1.48559 9.50648L1.91421 9.08662C1.0173 8.171 1.0173 6.68399 1.91421 5.76837L1.48559 5.3485ZM5.23053 1.52545L1.4856 5.3485L1.91422 5.76836L5.65915 1.94531L5.23053 1.52545ZM9.32089 1.52544C8.19208 0.373095 6.35934 0.373096 5.23053 1.52544L5.65915 1.9453C6.55268 1.03314 7.99874 1.03314 8.89227 1.9453L9.32089 1.52544ZM5.65915 1.94531C5.65915 1.94531 5.65915 1.94531 5.65915 1.9453L5.23053 1.52544C5.23053 1.52544 5.23053 1.52544 5.23053 1.52545L5.65915 1.94531ZM1.91421 5.76837C1.91421 5.76837 1.91422 5.76836 1.91422 5.76836L1.4856 5.3485C1.4856 5.3485 1.48559 5.3485 1.48559 5.3485L1.91421 5.76837ZM1.91422 9.08664C1.91422 9.08663 1.91421 9.08663 1.91421 9.08662L1.48559 9.50648C1.48559 9.50649 1.4856 9.5065 1.48561 9.50651L1.91422 9.08664ZM2.74646 9.93621C2.74644 9.93619 2.74642 9.93617 2.7464 9.93615L2.31778 10.356C2.3178 10.356 2.31782 10.356 2.31784 10.3561L2.74646 9.93621ZM5.97955 9.93618C5.97955 9.93618 5.97955 9.93618 5.97955 9.93618L6.40817 10.356C6.40817 10.356 6.40817 10.356 6.40817 10.356L5.97955 9.93618ZM9.50324 7.47025C9.1991 7.15977 8.69924 7.15977 8.39511 7.47025L8.82373 7.89011C8.89259 7.81981 9.00576 7.81981 9.07462 7.89011L9.50324 7.47025ZM9.50324 8.55574C9.79862 8.25419 9.79862 7.77179 9.50324 7.47025L9.07462 7.89011C9.1415 7.95838 9.1415 8.0676 9.07462 8.13588L9.50324 8.55574ZM7.07393 11.0357C7.07394 11.0357 7.07395 11.0357 7.07395 11.0357L6.64533 10.6158C6.64533 10.6158 6.64532 10.6158 6.64532 10.6158L7.07393 11.0357ZM1.65203 11.0357C1.65203 11.0357 1.65204 11.0357 1.65205 11.0357L2.08067 10.6159C2.08066 10.6158 2.08065 10.6158 2.08064 10.6158L1.65203 11.0357ZM0.819807 10.1861C0.819819 10.1861 0.81983 10.1862 0.819841 10.1862L1.24846 9.7663C1.24845 9.76629 1.24844 9.76628 1.24843 9.76628L0.819807 10.1861ZM0.819827 4.66884C0.819824 4.66884 0.819822 4.66885 0.819819 4.66885L1.24844 5.08871C1.24844 5.08871 1.24845 5.08871 1.24845 5.0887L0.819827 4.66884ZM4.56476 0.845784C4.56476 0.845786 4.56476 0.845788 4.56475 0.84579L4.99338 1.26565C4.99338 1.26565 4.99338 1.26565 4.99338 1.26564L4.56476 0.845784ZM9.98667 0.845789C9.98667 0.845788 9.98666 0.845787 9.98666 0.845785L9.55804 1.26565C9.55804 1.26565 9.55804 1.26565 9.55805 1.26565L9.98667 0.845789ZM10.8189 1.6954C10.8189 1.69538 10.8189 1.69536 10.8189 1.69535L10.3902 2.11521C10.3902 2.11522 10.3903 2.11523 10.3903 2.11524L10.8189 1.6954ZM11.1146 3.06246C11.3462 2.82606 11.411 2.44051 11.1966 2.14344L10.7101 2.49464C10.7332 2.52669 10.7385 2.58902 10.686 2.64258L11.1146 3.06246ZM9.86916 2.95685C10.1487 3.30046 10.7367 3.44829 11.1146 3.06246L10.686 2.64258C10.652 2.67732 10.6006 2.69693 10.531 2.68804C10.4586 2.67877 10.3842 2.63918 10.3346 2.57823L9.86916 2.95685ZM9.3209 1.52545C9.32089 1.52544 9.32089 1.52544 9.32089 1.52544L8.89227 1.9453C8.89227 1.9453 8.89227 1.94531 8.89228 1.94531L9.3209 1.52545ZM9.72448 2.79488C9.72448 2.79488 9.72448 2.79488 9.72449 2.79488L10.1531 2.37503C10.1531 2.37503 10.1531 2.37502 10.1531 2.37502L9.72448 2.79488Z" transform="translate(28.9286 22.8312) rotate(-180)" fill="white" mask="url(#path-4-outside-2)"/>';
102
- text+='</svg>';
103
- text+='</a>';
104
- text+='<div class="chaty-widget-i-title">';
105
- text+='<p>Link<p>';
106
- text+='</div>';
107
- text+='</div>';
108
-
109
- }
110
-
111
- if(key == 'email'){
112
-
113
- text+='<div class="chaty-widget-i" data-title="'+settings.object_settings.social.email+'">';
114
- text+='<a href="mailto:'+settings.object_settings.social.email+'">'
115
- text+='<svg class="ico_d" width="39" height="39" viewBox="0 0 39 39" fill="none" xmlns="http://www.w3.org/2000/svg">';
116
- text+='<circle class="color-element" cx="19.5" cy="19.5" r="19.5" fill="#FF485F"/>';
117
- text+=' <path d="M20.5379 14.2557H1.36919C0.547677 14.2557 0 13.7373 0 12.9597V1.29597C0 0.518387 0.547677 0 1.36919 0H20.5379C21.3594 0 21.9071 0.518387 21.9071 1.29597V12.9597C21.9071 13.7373 21.3594 14.2557 20.5379 14.2557ZM20.5379 12.9597V13.6077V12.9597ZM1.36919 1.29597V12.9597H20.5379V1.29597H1.36919Z" transform="translate(8.48619 12.3117)" fill="white"/> <path d="M10.9659 8.43548C10.829 8.43548 10.692 8.43548 10.5551 8.30588L0.286184 1.17806C0.012346 0.918864 -0.124573 0.530073 0.149265 0.270879C0.423104 0.0116857 0.833862 -0.117911 1.1077 0.141283L10.9659 7.00991L20.8241 0.141283C21.0979 -0.117911 21.5087 0.0116857 21.7825 0.270879C22.0563 0.530073 21.9194 0.918864 21.6456 1.17806L11.3766 8.30588C11.2397 8.43548 11.1028 8.43548 10.9659 8.43548Z" transform="translate(8.47443 12.9478)" fill="white"/> <path d="M9.0906 7.13951C8.95368 7.13951 8.81676 7.13951 8.67984 7.00991L0.327768 1.17806C-0.0829894 0.918864 -0.0829899 0.530073 0.190849 0.270879C0.327768 0.0116855 0.738525 -0.117911 1.14928 0.141282L9.50136 5.97314C9.7752 6.23233 9.91212 6.62112 9.63828 6.88032C9.50136 7.00991 9.36444 7.13951 9.0906 7.13951Z" transform="translate(20.6183 18.7799)" fill="white"/> <path d="M0.696942 7.13951C0.423104 7.13951 0.286185 7.00991 0.149265 6.88032C-0.124573 6.62112 0.012346 6.23233 0.286185 5.97314L8.63826 0.141282C9.04902 -0.117911 9.45977 0.0116855 9.59669 0.270879C9.87053 0.530073 9.73361 0.918864 9.45977 1.17806L1.1077 7.00991C0.970781 7.13951 0.833862 7.13951 0.696942 7.13951Z" transform="translate(8.47443 18.7799)" fill="white"/>'
118
- text+='</svg>';
119
- text+='</a>';
120
- text+='<div class="chaty-widget-i-title">';
121
- text+='<p>Email</p>';
122
- text+='</div>';
123
- text+='</div>';
124
-
125
- }
126
- if(key == 'poptin'){
127
-
128
- text+='<div class="chaty-widget-i" data-title="'+settings.object_settings.social.poptin+'">';
129
- text+='<a href="'+settings.object_settings.social.poptin+'">'
130
- text+='<svg class="ico_d" width="39" height="39" viewBox="0 0 39 39" fill="none" xmlns="http://www.w3.org/2000/svg">';
131
- text+='<circle class="color-element" cx="19.5" cy="19.5" r="19.5" fill="#47A2B1"/>';
132
- text+=' <rect width="21.351" height="17.0808" rx="1.73931" transform="translate(8.76428 12.1953)" fill="white"/> <rect width="18.2112" height="1.83009" rx="0.915044" transform="translate(10.0203 17.6851)" fill="#F2F2F2"/> <rect width="15.0713" height="1.83009" rx="0.915044" transform="translate(10.0203 20.1256)" fill="#F2F2F2"/> <rect width="8.16363" height="1.83009" rx="0.915044" transform="translate(15.0443 24.3958)" fill="#E0E0E0"/> <path d="M0 1.74C0 0.779025 0.779024 0 1.74 0H19.611C20.572 0 21.351 0.779025 21.351 1.74V3.20266H0V1.74Z" transform="translate(8.76428 12.1953)" fill="#E0E0E0"/>';
133
- text+='</svg>';
134
- text+='</a>';
135
- text+='<div class="chaty-widget-i-title">';
136
- text+='<p><span class="mobile_none">Contact us</p>';
137
- text+='</div>';
138
- text+='</div>';
139
-
140
- }
141
-
142
- if(key == 'skype'){
143
-
144
- text+='<div class="chaty-widget-i" data-title="'+settings.object_settings.social.skype+'">';
145
- text+='<a href="skype:'+settings.object_settings.social.skype+'?chat">'
146
- text+='<svg class="ico_d" width="39" height="39" viewBox="0 0 39 39" fill="none" xmlns="http://www.w3.org/2000/svg">';
147
- text+='<circle class="color-element" cx="19.5" cy="19.5" r="19.5" fill="#03A9F4"/>';
148
- text+='<path fill-rule="evenodd" clip-rule="evenodd" d="M10.5634 0.777588C16.0406 0.777588 20.4747 5.05426 20.4747 10.4973C20.4747 11.1453 20.4747 11.9229 20.0834 12.5709C20.4747 13.2189 20.7355 14.1261 20.7355 15.0332C20.7355 18.1436 18.1273 20.7355 14.9974 20.7355C13.9541 20.7355 13.0412 20.4763 12.2587 20.0875C11.6067 20.2171 11.085 20.2171 10.433 20.2171C4.95566 20.2171 0.521637 15.9404 0.521637 10.4973C0.521637 9.84955 0.652008 9.20175 0.782349 8.55392L0.782471 8.55338C0.260834 7.77582 0 6.73904 0 5.70227C0 2.59195 2.60825 0 5.73813 0C6.91183 0 7.95514 0.388794 8.86801 0.907166C9.38965 0.777588 10.0417 0.777588 10.5634 0.777588ZM13.5627 16.718C14.4756 16.3292 15.1276 15.8108 15.6493 15.1628C16.1709 14.5149 16.3013 13.7373 16.0405 12.9597C16.0405 12.3117 15.9101 11.7933 15.6493 11.2749C15.3884 10.7565 14.9972 10.3677 14.4756 10.1086L14.4752 10.1084C13.9536 9.84924 13.4321 9.59012 12.7802 9.33096C12.5034 9.27597 12.2031 9.1976 11.8893 9.11572C11.4638 9.0047 11.0135 8.88718 10.5632 8.81259C10.1953 8.66635 9.86893 8.60263 9.60748 8.55157C9.40552 8.51215 9.24231 8.48029 9.12866 8.4238C8.86792 8.4238 8.60721 8.29428 8.34647 8.16473L8.34619 8.16461C8.08536 8.035 7.82455 7.90543 7.69412 7.77582C7.43329 7.64621 7.43329 7.51663 7.43329 7.25742C7.43329 6.86862 7.69412 6.60944 8.08536 6.35025C8.47659 6.09106 9.12866 5.96146 9.78073 5.96146C10.5632 5.96146 11.0848 6.09106 11.4761 6.35025C11.8673 6.60944 12.1281 6.86865 12.3889 7.38702C12.6497 7.77563 12.9104 8.03476 13.0408 8.16443L13.041 8.16461C13.3018 8.29419 13.5627 8.4238 13.9539 8.4238C14.3451 8.4238 14.7364 8.29419 14.9972 8.035C15.258 7.77582 15.3884 7.51663 15.3884 7.12784C15.3884 6.73904 15.3884 6.35025 15.1276 5.96146C15.0313 5.67429 14.7927 5.45782 14.5169 5.20764C14.4193 5.11908 14.317 5.02631 14.2147 4.92468C13.6931 4.6655 13.1714 4.40631 12.5194 4.14709C11.8673 4.01752 11.0848 3.88791 10.172 3.88791C9.12866 3.88791 8.08536 4.01752 7.30289 4.2767C6.39001 4.53589 5.73795 5.05429 5.34671 5.57266C4.95547 6.09106 4.69464 6.73904 4.69464 7.51663C4.69464 8.29419 4.95547 8.9422 5.34671 9.46057C5.73795 9.97897 6.39001 10.3677 7.04205 10.627C7.69412 10.8861 8.60703 11.1453 9.6503 11.4045C10.4328 11.5341 11.0848 11.6637 11.4761 11.7933C11.8673 11.9229 12.2585 12.0525 12.5194 12.3117C12.7802 12.5709 12.9106 12.8301 12.9106 13.2189C12.9106 13.6077 12.6498 13.9965 12.1281 14.3853C11.6065 14.774 10.9544 14.9036 10.172 14.9036C9.6503 14.9036 9.12866 14.774 8.73743 14.6444C8.47659 14.5149 8.21576 14.2556 7.95496 13.9965C7.91547 13.918 7.86407 13.8277 7.80792 13.7291C7.67859 13.5019 7.52423 13.2308 7.43329 12.9597C7.40817 12.9098 7.38306 12.855 7.35703 12.7983C7.24783 12.5604 7.12225 12.2867 6.91165 12.1821C6.65085 12.0525 6.39001 11.9229 5.99878 11.9229C5.60754 11.9229 5.21631 12.0525 4.95547 12.3117C4.69464 12.5709 4.56424 12.8301 4.56424 13.2189C4.56424 13.8669 4.82507 14.3853 5.21631 15.0332C5.73795 15.6812 6.25961 16.07 6.91165 16.4588C7.82455 16.9772 8.99823 17.2364 10.4328 17.2364C11.6065 17.2364 12.6498 17.1068 13.5627 16.718Z" transform="translate(9.07178 9.07178)" fill="white"/>'
149
- text+='</svg>';
150
- text+='</a>';
151
- text+='<div class="chaty-widget-i-title">';
152
- text+='<p>Skype</p>';
153
- text+='</div>';
154
- text+='</div>';
155
-
156
- }
157
- if(key == 'sms'){
158
- text+='<div class="chaty-widget-i" data-title="'+settings.object_settings.social.sms+'">';
159
- text+='<a href="sms:'+settings.object_settings.social.sms+'">'
160
- text+='<svg class="ico_d" width="39" height="39" viewBox="0 0 39 39" fill="none" xmlns="http://www.w3.org/2000/svg">';
161
- text+='<circle class="color-element" cx="19.5" cy="19.5" r="19.5" fill="#FF549C"/>';
162
- text+='<path fill-rule="evenodd" clip-rule="evenodd" d="M2.60298 0H16.9194C18.351 0 19.5224 1.19321 19.5224 2.65158V14.5838C19.5224 16.0421 18.351 17.2354 16.9194 17.2354H7.4185L3.64418 20.4173C3.51402 20.5499 3.38388 20.5499 3.25372 20.5499H2.99344C2.73314 20.4173 2.60298 20.1521 2.60298 19.887V17.2354C1.17134 17.2354 0 16.0421 0 14.5838V2.65158C0 1.19321 1.17134 0 2.60298 0ZM2.60316 11.2696C2.60316 11.6673 2.86346 11.9325 3.25391 11.9325H4.5554C5.5966 11.9325 6.50764 11.0044 6.50764 9.94376C6.50764 8.88312 5.5966 7.95505 4.5554 7.95505C4.16496 7.95505 3.90465 7.68991 3.90465 7.29218C3.90465 6.89441 4.16496 6.62927 4.5554 6.62927H5.85689C6.24733 6.62927 6.50764 6.36411 6.50764 5.96637C6.50764 5.56863 6.24733 5.30347 5.85689 5.30347H4.5554C3.51421 5.30347 2.60316 6.23154 2.60316 7.29218C2.60316 8.35281 3.51421 9.28085 4.5554 9.28085C4.94585 9.28085 5.20613 9.54602 5.20613 9.94376C5.20613 10.3415 4.94585 10.6067 4.5554 10.6067H3.25391C2.86346 10.6067 2.60316 10.8718 2.60316 11.2696ZM14.9678 11.9325H13.6664C13.2759 11.9325 13.0156 11.6673 13.0156 11.2696C13.0156 10.8718 13.2759 10.6067 13.6664 10.6067H14.9678C15.3583 10.6067 15.6186 10.3415 15.6186 9.94376C15.6186 9.54602 15.3583 9.28085 14.9678 9.28085C13.9267 9.28085 13.0156 8.35281 13.0156 7.29218C13.0156 6.23154 13.9267 5.30347 14.9678 5.30347H16.2693C16.6598 5.30347 16.9201 5.56863 16.9201 5.96637C16.9201 6.36411 16.6598 6.62927 16.2693 6.62927H14.9678C14.5774 6.62927 14.3171 6.89441 14.3171 7.29218C14.3171 7.68991 14.5774 7.95505 14.9678 7.95505C16.009 7.95505 16.9201 8.88312 16.9201 9.94376C16.9201 11.0044 16.009 11.9325 14.9678 11.9325ZM10.4126 11.2697C10.4126 11.6674 10.6729 11.9326 11.0633 11.9326C11.4538 11.9326 11.7141 11.6674 11.8442 11.2697V5.96649C11.8442 5.70135 11.5839 5.43619 11.3236 5.30362C10.9332 5.30362 10.6729 5.43619 10.5427 5.70135L9.76186 7.15973L8.98094 5.70135C8.85081 5.43619 8.46034 5.17102 8.20006 5.30362C7.93977 5.43619 7.67946 5.70135 7.67946 5.96649V11.2697C7.67946 11.6674 7.93977 11.9326 8.33022 11.9326C8.72066 11.9326 8.98094 11.6674 8.98094 11.2697V8.75067L9.1111 8.88327C9.37138 9.28101 10.0221 9.28101 10.2825 8.88327L10.4126 8.75067V11.2697Z" transform="translate(9.67801 10.4601)" fill="white"/>';
163
- text+='</svg>';
164
- text+='</a>';
165
- text+='<div class="chaty-widget-i-title">';
166
- text+='<p>SMS</p>';
167
- text+='</div>';
168
- text+='</div>';
169
- }
170
- if( key == 'snapchat'){
171
-
172
- text+='<div class="chaty-widget-i" data-title="'+settings.object_settings.social.snapchat+'">';
173
- text+='<svg class="ico_d" width="39" height="39" viewBox="0 0 39 39" fill="none" xmlns="http://www.w3.org/2000/svg">';
174
- text+='<circle class="color-element" cx="19.5" cy="19.5" r="19.5" fill="#FFE81D"/>';
175
- text+='<path d="M21.5684 15.5864C18.7017 15.0298 17.3366 12.1073 17.3366 11.9681C17.2001 11.6898 17.2001 11.4115 17.2001 11.2723C17.3366 10.8548 18.0191 10.7157 18.4287 10.5765C18.5652 10.5765 18.7017 10.4373 18.7017 10.4373C19.1112 10.2982 19.3842 10.159 19.5207 9.88067C19.7938 9.60234 19.7938 9.46318 19.7938 9.32402C19.7938 8.90652 19.5207 8.62819 19.1112 8.48903C18.9747 8.48903 18.8382 8.34986 18.7017 8.34986C18.5652 8.34986 18.4287 8.34986 18.2922 8.48903C17.8826 8.62819 17.6096 8.76736 17.3366 8.76736C17.2001 8.76736 17.0636 8.76736 17.0636 8.76736C17.0636 8.62819 17.0636 8.48903 17.0636 8.34986C17.2001 6.81906 17.3366 5.00992 16.7906 3.8966C16.5175 3.20078 15.9715 2.50496 15.4255 1.9483C15.016 1.53081 14.4699 1.11332 13.7874 0.834987C12.6953 4.97691e-07 11.7397 0 11.3302 0C11.1937 0 10.9207 0 10.9207 0C10.3747 0 9.4191 0.139164 8.46354 0.556657C7.9175 0.834986 7.37147 1.25248 6.82544 1.66997C6.2794 2.22663 5.86988 2.92245 5.46035 3.61827C4.91431 4.73159 5.05082 6.54073 5.18733 8.07153C5.18733 8.2107 5.18733 8.34986 5.18733 8.62819C5.05082 8.62819 5.05082 8.62819 4.77781 8.62819C4.50479 8.62819 4.23177 8.48903 3.82224 8.34986C3.68574 8.34986 3.54923 8.2107 3.41272 8.2107C3.1397 8.2107 3.00319 8.2107 2.73018 8.34986C2.45716 8.48903 2.32065 8.76736 2.32065 8.90652C2.32065 9.04568 2.32065 9.32401 2.59366 9.74151C2.73017 9.88067 3.00319 10.0198 3.41272 10.159C3.54923 10.159 3.54922 10.2982 3.68573 10.2982C4.09526 10.4373 4.6413 10.5765 4.91431 10.994C5.05082 11.1332 4.91431 11.4115 4.77781 11.6898C4.77781 11.829 4.36828 12.5248 3.68573 13.3598C3.27621 13.7773 2.86668 14.1948 2.32065 14.6123C1.77461 15.0298 1.09207 15.3081 0.409527 15.3081C0.13651 15.3081 2.08296e-06 15.5864 2.08296e-06 15.8647C2.08296e-06 16.0039 2.08296e-06 16.0039 2.08296e-06 16.1431C0.136511 16.4214 0.409528 16.5606 0.682546 16.8389C1.22858 17.1172 1.91112 17.2564 2.86668 17.3955C2.86668 17.5347 3.00319 17.6739 3.00319 17.813C3.00319 17.9522 3.1397 18.0914 3.1397 18.3697C3.1397 18.5089 3.41272 18.7872 3.68573 18.7872C3.82224 18.7872 3.95875 18.7872 4.23177 18.648C4.50479 18.648 4.91431 18.5089 5.32384 18.5089C5.59686 18.5089 5.86988 18.5089 6.14289 18.648C6.68893 18.7872 7.09845 19.0655 7.64449 19.483C8.46354 20.0397 9.28259 20.7355 10.6477 20.7355H10.7842H10.9207C12.2858 20.7355 13.1048 20.0397 13.9239 19.483C14.4699 19.0655 14.8794 18.7872 15.4255 18.648C15.6985 18.648 15.9715 18.5089 16.2445 18.5089C16.6541 18.5089 17.0636 18.5089 17.3366 18.648C17.6096 18.648 17.7461 18.648 17.8826 18.648C18.1557 18.648 18.4287 18.5089 18.4287 18.2305C18.4287 18.0914 18.5652 17.9522 18.5652 17.6739C18.5652 17.5347 18.7017 17.2564 18.7017 17.2564C19.6572 17.1172 20.3398 16.9781 20.8858 16.6997C21.2954 16.5606 21.5684 16.2822 21.5684 16.0039C21.5684 15.8647 21.5684 15.8647 21.5684 15.7256C21.9779 15.8647 21.8414 15.5864 21.5684 15.5864Z" transform="translate(8.52631 9.07178)" fill="white"/>';
176
- text+='</svg>';
177
-
178
- text+='<div class="chaty-widget-i-title">';
179
- text+='Contact me at Snapchat: '+settings.object_settings.social.snapchat;
180
- text+='</div>';
181
- text+='</div>';
182
-
183
- }
184
- if(key == 'telegram'){
185
- text+='<div class="chaty-widget-i" data-title="'+settings.object_settings.social.telegram+'">';
186
- text+='<a href="https://telegram.me/'+settings.object_settings.social.telegram+' " target="_blank">'
187
- text+='<svg class="ico_d" width="39" height="39" viewBox="0 0 39 39" fill="none" xmlns="http://www.w3.org/2000/svg">';
188
- text+='<circle class="color-element" cx="19.5" cy="19.5" r="19.5" fill="#3E99D8"/>';
189
- text+='<path d="M3.56917 -2.55497e-07L0 6.42978L7.5349 1.87535L3.56917 -2.55497e-07Z" transform="translate(13.9704 24.6145)" fill="#E0E0E0"/><path d="M20.8862 0.133954C20.754 0 20.4897 0 20.2253 0L0.396574 8.03723C0.132191 8.17118 0 8.43909 0 8.707C0 8.97491 0.132191 9.24282 0.396574 9.37677L17.5814 17.414C17.7136 17.414 17.7136 17.414 17.8458 17.414C17.978 17.414 18.1102 17.414 18.1102 17.28C18.2424 17.1461 18.3746 17.0121 18.5068 16.7442L21.1506 0.669769C21.1506 0.535815 21.1506 0.267908 20.8862 0.133954Z" transform="translate(7.36069 10.9512)" fill="white"/> <path d="M13.8801 0L0 11.52V19.4233L3.70136 13.2614L13.8801 0Z" transform="translate(13.9704 11.6208)" fill="#F2F2F2"/>';
190
- text+='</svg>';
191
- text+='</a>';
192
- text+='<div class="chaty-widget-i-title">';
193
- text+='<a href="https://telegram.me/'+settings.object_settings.social.telegram+'"target="_blank">Telegram</a>';
194
- text+='</div>';
195
- text+='</div>';
196
- }
197
- if(key == 'phone'){
198
- text+='<div class="chaty-widget-i" >';
199
- text+='<a href="tel:'+settings.object_settings.social.phone+'">'
200
- text+='<svg class="ico_d" width="39" height="39" viewBox="0 0 39 39" fill="none" xmlns="http://www.w3.org/2000/svg">';
201
- text+='<circle class="color-element" cx="19.5" cy="19.5" r="19.5" fill="#03E78B"/>';
202
- text+='<path d="M19.3929 14.9176C17.752 14.7684 16.2602 14.3209 14.7684 13.7242C14.0226 13.4259 13.1275 13.7242 12.8292 14.4701L11.7849 16.2602C8.65222 14.6193 6.11623 11.9341 4.47529 8.95057L6.41458 7.90634C7.16046 7.60799 7.45881 6.71293 7.16046 5.96705C6.56375 4.47529 6.11623 2.83435 5.96705 1.34259C5.96705 0.596704 5.22117 0 4.47529 0H0.745882C0.298353 0 5.69062e-07 0.298352 5.69062e-07 0.745881C5.69062e-07 3.72941 0.596704 6.71293 1.93929 9.3981C3.87858 13.575 7.30964 16.8569 11.3374 18.7962C14.0226 20.1388 17.0061 20.7355 19.9896 20.7355C20.4371 20.7355 20.7355 20.4371 20.7355 19.9896V16.4094C20.7355 15.5143 20.1388 14.9176 19.3929 14.9176Z" transform="translate(9.07179 9.07178)" fill="white"/>';
203
- text+='</svg>';
204
- text+='</a>';
205
- text+='<div class="chaty-widget-i-title">';
206
- text+='<p>Phone</p>';
207
- text+='</div>';
208
- text+='</div>';
209
- }
210
- if(key == 'viber'){
211
- text+='<div class="chaty-widget-i" data-title="'+settings.object_settings.social.viber+'">';
212
- text+='<a href="viber://chat?number='+settings.object_settings.social.viber+'" target="_blank">'
213
- text+='<svg class="ico_d" width="39" height="39" viewBox="0 0 39 39" fill="none" xmlns="http://www.w3.org/2000/svg">';
214
- text+='<circle class="color-element" cx="19.5" cy="19.5" r="19.5" fill="#665CAC"/>';
215
- text+='<path d="M17.6837 2.14833C17.16 1.64578 15.0497 0.0389578 10.3496 0.0158143C10.3496 0.0158143 4.80418 -0.334645 2.10085 2.26405C0.596193 3.84111 0.0662511 6.14886 0.0126261 9.01205C-0.0441534 11.8752 -0.116705 17.2346 4.8168 18.6894H4.81995L4.8168 20.9078C4.8168 20.9078 4.78525 21.8071 5.3499 21.989C6.03125 22.2105 6.43186 21.5294 7.08482 20.7921C7.44127 20.3888 7.93651 19.7936 8.30874 19.3407C11.6808 19.6382 14.2769 18.9572 14.5702 18.858C15.2516 18.6265 19.1063 18.1075 19.7309 12.7481C20.3775 7.22338 19.4154 3.7254 17.6837 2.14833ZM18.2546 12.3513C17.7247 16.828 14.5986 17.1123 14.0245 17.3041C13.7785 17.3867 11.501 17.9818 8.63679 17.7835C8.63679 17.7835 6.50126 20.4813 5.83567 21.1856C5.73158 21.2947 5.60856 21.341 5.52654 21.3178C5.41298 21.2881 5.38144 21.1459 5.38144 20.9376C5.38459 20.64 5.40037 17.2512 5.40037 17.2512C5.39721 17.2512 5.39721 17.2512 5.40037 17.2512C1.23023 16.0378 1.47312 11.4719 1.52044 9.08148C1.56775 6.69108 1.99675 4.73379 3.26798 3.41792C5.55493 1.24904 10.2645 1.57305 10.2645 1.57305C14.2422 1.59288 16.1475 2.84594 16.5891 3.26583C18.0527 4.58501 18.8003 7.73585 18.2546 12.3513Z" transform="translate(9.47299 8.4238)" fill="white"/> <path d="M1.58982 1.72254C1.53935 0.628182 1.00941 0.0562059 0 1.00898e-07" transform="translate(20.166 15.5914)" stroke="white" stroke-width="0.518873" stroke-linecap="round" stroke-linejoin="round"/> <path d="M3.35945 3.69636C3.38153 2.67804 3.09448 1.82834 2.49514 1.14395C1.8958 0.459565 1.06619 0.0793496 1.9253e-07 2.01796e-07" transform="translate(19.7592 14.0966)" stroke="white" stroke-width="0.518873" stroke-linecap="round" stroke-linejoin="round"/> <path d="M5.22371 5.71646C5.21109 3.94763 4.70639 2.55902 3.71275 1.5407C2.71911 0.525689 1.47942 0.00991877 -3.8506e-07 1.00898e-07" transform="translate(19.2931 12.6479)" stroke="white" stroke-width="0.518873" stroke-linecap="round" stroke-linejoin="round"/> <path d="M6.35738 8.04532C6.35738 8.04532 6.73276 8.07838 6.93149 7.81719L7.32263 7.30142C7.5119 7.04353 7.96929 6.88153 8.41722 7.14272C8.66641 7.2915 9.11434 7.57914 9.39193 7.79405C9.68844 8.02218 10.2972 8.55448 10.2972 8.55448C10.5875 8.80906 10.6537 9.18597 10.4581 9.58271C10.4581 9.58602 10.455 9.58933 10.455 9.58933C10.2531 9.96293 9.9818 10.3167 9.63797 10.644C9.63482 10.6473 9.63482 10.6473 9.63167 10.6506C9.35092 10.8953 9.07333 11.0375 8.80205 11.0705C8.77051 11.0771 8.7295 11.0804 8.68219 11.0771C8.56232 11.0771 8.44561 11.0606 8.32889 11.0209L8.31943 11.0077C7.89989 10.8854 7.20277 10.5746 6.03879 9.90342C5.28173 9.467 4.654 9.02066 4.12406 8.57762C3.84331 8.34619 3.55626 8.08169 3.2629 7.77752C3.25344 7.7676 3.24398 7.75768 3.23451 7.74776C3.22505 7.73784 3.21559 7.72792 3.20612 7.718C3.19666 7.70808 3.1872 7.69817 3.17773 7.68825C3.16827 7.67833 3.15881 7.66841 3.14934 7.65849C2.85914 7.35101 2.60678 7.05015 2.38597 6.75589C1.96328 6.20045 1.53744 5.5392 1.12105 4.74902C0.480708 3.52902 0.184194 2.79834 0.0674803 2.35862L0.0548623 2.3487C0.0170094 2.22637 -0.00191702 2.10404 0.0012374 1.9784C-0.00191702 1.92881 0.0012373 1.88583 0.00754613 1.85276C0.0390903 1.56843 0.17473 1.27748 0.408157 0.983227C0.411312 0.979921 0.411311 0.979921 0.414466 0.976615C0.726753 0.616237 1.06112 0.331902 1.42072 0.120304C1.42388 0.120304 1.42703 0.116997 1.42703 0.116997C1.80556 -0.0879887 2.16517 -0.0185578 2.40806 0.285615C2.41121 0.288921 2.91592 0.923716 3.13357 1.2345C3.33861 1.52875 3.6162 1.99493 3.75499 2.25612C4.00419 2.72561 3.84962 3.20501 3.60358 3.40338L3.11149 3.81335C2.86229 4.02495 2.89384 4.41509 2.89384 4.41509C2.89384 4.41509 3.62566 7.31464 6.35738 8.04532Z" transform="translate(13.863 13.0014)" fill="white"/>';
216
- text+='</svg>';
217
- text+='</a>';
218
- text+='<div class="chaty-widget-i-title">';
219
- text+='<p>Viber</p>';
220
- text+='</div>';
221
- text+='</div>';
222
- }
223
- if(key == 'vkontakte'){
224
- text+='<div class="chaty-widget-i" data-title="'+settings.object_settings.social.vkontakte+'">';
225
- text+='<a href="https://vk.me/'+settings.object_settings.social.vkontakte+'"target="_blank">'
226
- text+='<svg class="ico_d" width="39" height="39" viewBox="0 0 39 39" fill="none" xmlns="http://www.w3.org/2000/svg">';
227
- text+='<circle class="color-element" cx="19.5" cy="19.5" r="19.5" fill="#5076AA"/>';
228
- text+='<path d="M11.0953 12.4775H12.5097C12.5097 12.4775 12.934 12.4774 13.0755 12.1971C13.2169 12.0569 13.2169 11.6363 13.2169 11.6363C13.2169 11.6363 13.2169 9.81373 14.0656 9.53334C14.9142 9.25294 15.9043 11.2157 17.0359 12.0569C17.8845 12.6176 18.5917 12.4775 18.5917 12.4775H21.562C21.562 12.4775 23.1178 12.3373 22.4106 11.2157C22.4106 11.0755 21.9863 10.2343 20.1476 8.69216C18.3088 7.0098 18.4503 7.29019 20.8548 4.20588C22.2692 2.38333 22.835 1.26176 22.6935 0.700978C22.5521 0.28039 21.562 0.42059 21.562 0.42059H18.1674C18.1674 0.42059 17.8845 0.420588 17.7431 0.560784C17.6016 0.70098 17.4602 0.981371 17.4602 0.981371C17.4602 0.981371 16.8944 2.38333 16.1872 3.6451C14.6313 6.16863 14.0656 6.30882 13.7827 6.16863C13.2169 5.74804 13.3584 4.62647 13.3584 3.92549C13.3584 1.40196 13.7827 0.420589 12.6512 0.140197C12.2268 1.06543e-06 11.944 -2.13922e-06 11.0953 -2.13922e-06C9.82233 -2.13922e-06 8.83224 -1.06543e-06 8.26647 0.280391C7.84215 0.420587 7.55927 0.841177 7.70071 0.841177C7.9836 0.841177 8.40792 0.98137 8.6908 1.40196C8.97368 1.82255 8.97368 2.94412 8.97368 2.94412C8.97368 2.94412 9.11513 5.88824 8.54936 6.16863C8.12503 6.44902 7.41783 5.88824 6.14485 3.6451C5.43764 2.52353 4.87188 1.12157 4.87188 1.12157C4.87188 1.12157 4.73044 0.841174 4.589 0.700978C4.30611 0.560782 4.02323 0.560784 4.02323 0.560784H0.770071C0.770071 0.560784 0.345746 0.560785 0.0628629 0.841177C-0.0785787 0.981374 0.0628629 1.40196 0.0628629 1.40196C0.0628629 1.40196 2.60881 7.2902 5.43764 10.2343C8.12503 12.7578 11.0953 12.4775 11.0953 12.4775Z" transform="translate(6.78613 14.4898)" fill="white"/>';
229
- text+='</svg>';
230
- text+='</a>'
231
- text+='<div class="chaty-widget-i-title">';
232
- text+='<p>Vkontakte</p>';
233
- text+='</div>';
234
- text+='</div>';
235
- }
236
- if(key == 'waze'){
237
- text+='<div class="chaty-widget-i" data-title="'+settings.object_settings.social.waze+'"target="_blank">';
238
- text+='<a href="'+settings.object_settings.social.waze+'"target="_blank">';
239
- text+='<svg class="ico_d" width="39" height="39" viewBox="0 0 39 39" fill="none" xmlns="http://www.w3.org/2000/svg">';
240
- text+='<circle class="color-element" cx="19.5" cy="19.5" r="19.5" fill="#6ECCEF"/>';
241
- text+='<path d="M11.6549 16.6733C16.5911 16.6733 20.5675 12.9218 20.5675 8.33667C20.5675 3.7515 16.5911 0 11.6549 0C6.7187 0 2.74233 3.7515 2.74233 8.33667C2.74233 8.33667 3.42791 12.505 0 12.505C0 15.9786 6.17024 16.6733 11.6549 16.6733Z" transform="translate(9.15631 9.71375)" fill="#6ECCEF" class="color-element"/> <path d="M12.3405 18.0628C3.97637 18.0628 0 16.5344 0 13.1997C0 12.7829 0.274233 12.505 0.685582 12.505C1.37116 12.505 1.91963 12.3661 2.19386 11.9492C3.01656 10.9766 2.74233 9.17034 2.74233 9.17034C2.74233 4.02939 6.99293 0 12.3405 0C17.688 0 21.9386 4.02939 21.9386 9.0314C21.9386 14.0334 17.688 18.0628 12.3405 18.0628ZM1.50828 13.7555C2.19386 15.5618 5.896 16.6733 12.3405 16.6733C16.8653 16.6733 20.5675 13.1997 20.5675 9.0314C20.5675 4.86306 16.8653 1.38945 12.3405 1.38945C7.81563 1.38945 4.11349 4.86306 4.11349 9.0314C4.11349 9.0314 4.52484 11.3935 3.29079 12.7829C2.74233 13.3387 2.19386 13.6166 1.50828 13.7555Z" transform="translate(8.46936 9.01862)" fill="white"/> <path d="M2.74233 5.55778C4.25687 5.55778 5.48465 4.31363 5.48465 2.77889C5.48465 1.24415 4.25687 0 2.74233 0C1.22778 0 0 1.24415 0 2.77889C0 4.31363 1.22778 5.55778 2.74233 5.55778Z" transform="translate(20.8105 24.3027)" fill="white"/> <path d="M2.74233 5.55778C4.25687 5.55778 5.48465 4.31363 5.48465 2.77889C5.48465 1.24415 4.25687 0 2.74233 0C1.22778 0 0 1.24415 0 2.77889C0 4.31363 1.22778 5.55778 2.74233 5.55778Z" transform="translate(12.5836 24.3025)" fill="white"/> <path d="M0.685582 1.38945C0.274233 1.38945 0 1.11156 0 0.694723C0 0.277889 0.274233 0 0.685582 0C1.09693 0 1.37116 0.277889 1.37116 0.694723C1.37116 1.11156 1.09693 1.38945 0.685582 1.38945Z" transform="translate(17.3835 15.2717)" fill="white"/> <path d="M0.685582 1.38945C0.274233 1.38945 0 1.11156 0 0.694723C0 0.277889 0.274233 0 0.685582 0C1.09693 0 1.37116 0.277889 1.37116 0.694723C1.37116 1.11156 1.09693 1.38945 0.685582 1.38945Z" transform="translate(22.8668 15.2717)" fill="white"/> <path d="M4.14916 4.20448C2.22953 4.20448 0.447017 2.81503 0.035668 0.869809C-0.101448 0.452975 0.172786 0.175088 0.584135 0.0361436C0.995484 -0.102801 1.26972 0.17509 1.40683 0.591924C1.68106 1.84242 2.77799 2.81503 4.14916 2.81503C5.52032 2.81503 6.61725 1.84242 6.89148 0.591924C7.0286 0.17509 7.30283 0.0361436 7.71418 0.0361436C8.12553 0.175088 8.26265 0.452975 8.26265 0.869809C7.8513 2.81503 6.06879 4.20448 4.14916 4.20448Z" transform="translate(16.662 18.7092)" fill="white"/>';
242
- text+='</svg>';
243
- text+='</a>';
244
- text+='<div class="chaty-widget-i-title">';
245
- text+='<p>Waze</p>';
246
- text+='</div>';
247
- text+='</div>';
248
- }
249
- if(key == 'whatsapp'){
250
- phone = settings.object_settings.social.whatsapp;
251
- text+='<div class="chaty-widget-i" data-title="'+settings.object_settings.social.whatsapp+'">';
252
- text+='<a href=" https://api.whatsapp.com/send?phone='+phone.replace('+', '')+'"target="_blank">';
253
- text+='<svg class="ico_d" width="39" height="39" viewBox="0 0 39 39" fill="none" xmlns="http://www.w3.org/2000/svg">';
254
- text+='<circle class="color-element" cx="19.5" cy="19.5" r="19.5" fill="#49E670"/>';
255
- text+='<path d="M12.9821 10.1115C12.7029 10.7767 11.5862 11.442 10.7486 11.575C10.1902 11.7081 9.35269 11.8411 6.84003 10.7767C3.48981 9.44628 1.39593 6.25317 1.25634 6.12012C1.11674 5.85403 2.13001e-06 4.39053 2.13001e-06 2.92702C2.13001e-06 1.46351 0.83755 0.665231 1.11673 0.399139C1.39592 0.133046 1.8147 1.01506e-06 2.23348 1.01506e-06C2.37307 1.01506e-06 2.51267 1.01506e-06 2.65226 1.01506e-06C2.93144 1.01506e-06 3.21063 -2.02219e-06 3.35022 0.532183C3.62941 1.19741 4.32736 2.66092 4.32736 2.79397C4.46696 2.92702 4.46696 3.19311 4.32736 3.32616C4.18777 3.59225 4.18777 3.59224 3.90858 3.85834C3.76899 3.99138 3.6294 4.12443 3.48981 4.39052C3.35022 4.52357 3.21063 4.78966 3.35022 5.05576C3.48981 5.32185 4.18777 6.38622 5.16491 7.18449C6.42125 8.24886 7.39839 8.51496 7.81717 8.78105C8.09636 8.91409 8.37554 8.9141 8.65472 8.648C8.93391 8.38191 9.21309 7.98277 9.49228 7.58363C9.77146 7.31754 10.0507 7.1845 10.3298 7.31754C10.609 7.45059 12.2841 8.11582 12.5633 8.38191C12.8425 8.51496 13.1217 8.648 13.1217 8.78105C13.1217 8.78105 13.1217 9.44628 12.9821 10.1115Z" transform="translate(12.9597 12.9597)" fill="#FAFAFA"/> <path d="M0.196998 23.295L0.131434 23.4862L0.323216 23.4223L5.52771 21.6875C7.4273 22.8471 9.47325 23.4274 11.6637 23.4274C18.134 23.4274 23.4274 18.134 23.4274 11.6637C23.4274 5.19344 18.134 -0.1 11.6637 -0.1C5.19344 -0.1 -0.1 5.19344 -0.1 11.6637C-0.1 13.9996 0.624492 16.3352 1.93021 18.2398L0.196998 23.295ZM5.87658 19.8847L5.84025 19.8665L5.80154 19.8788L2.78138 20.8398L3.73978 17.9646L3.75932 17.906L3.71562 17.8623L3.43104 17.5777C2.27704 15.8437 1.55796 13.8245 1.55796 11.6637C1.55796 6.03288 6.03288 1.55796 11.6637 1.55796C17.2945 1.55796 21.7695 6.03288 21.7695 11.6637C21.7695 17.2945 17.2945 21.7695 11.6637 21.7695C9.64222 21.7695 7.76778 21.1921 6.18227 20.039L6.17557 20.0342L6.16817 20.0305L5.87658 19.8847Z" transform="translate(7.7758 7.77582)" fill="white" stroke="white" stroke-width="0.2"/';
256
- text+='</svg>';
257
- text+='</a>'
258
- text+='<div class="chaty-widget-i-title">';
259
-
260
- text+='<p>WhatsApp</p>';
261
- text+='</div>';
262
- text+='</div>';
263
- }
264
- if(key == 'line'){
265
- text+='<div class="chaty-widget-i" data-title="'+settings.object_settings.social.line+'"target="_blank">';
266
- text+='<a href="'+settings.object_settings.social.line+'"target="_blank">';
267
- text+='<svg class="ico_d" width="39" height="39" viewBox="0 0 39 39" fill="none" xmlns="http://www.w3.org/2000/svg">';
268
- text+='<circle class="color-element" cx="19.5" cy="19.5" r="19.5" fill="#38B900"></circle>';
269
- text+='<path d="M24 9.36561C24 4.19474 18.6178 0 12 0C5.38215 0 0 4.19474 0 9.36561C0 13.9825 4.25629 17.8606 10.0229 18.5993C10.4073 18.6785 10.9565 18.8368 11.0664 19.1797C11.1762 19.4699 11.1487 19.9184 11.0938 20.235C11.0938 20.235 10.9565 21.0528 10.9291 21.2111C10.8741 21.5013 10.6819 22.3456 11.9725 21.8443C13.2632 21.3167 18.8924 17.9398 21.3913 15.1433C23.1487 13.2702 24 11.4234 24 9.36561Z" transform="translate(7 10)" fill="white"></path> <path d="M1.0984 0H0.24714C0.10984 0 -2.09503e-07 0.105528 -2.09503e-07 0.211056V5.22364C-2.09503e-07 5.35555 0.10984 5.43469 0.24714 5.43469H1.0984C1.2357 5.43469 1.34554 5.32917 1.34554 5.22364V0.211056C1.34554 0.105528 1.2357 0 1.0984 0Z" transform="translate(15.4577 16.8593)" fill="#38B900" class="color-element"></path> <path d="M4.66819 0H3.81693C3.67963 0 3.56979 0.105528 3.56979 0.211056V3.19222L1.18078 0.0791458C1.18078 0.0791458 1.18078 0.0527642 1.15332 0.0527642C1.15332 0.0527642 1.15332 0.0527641 1.12586 0.0263821C1.12586 0.0263821 1.12586 0.0263821 1.0984 0.0263821H0.247139C0.10984 0.0263821 4.19006e-07 0.13191 4.19006e-07 0.237438V5.25002C4.19006e-07 5.38193 0.10984 5.46108 0.247139 5.46108H1.0984C1.2357 5.46108 1.34554 5.35555 1.34554 5.25002V2.26885L3.73455 5.38193C3.76201 5.40831 3.76201 5.43469 3.78947 5.43469C3.78947 5.43469 3.78947 5.43469 3.81693 5.43469C3.81693 5.43469 3.81693 5.43469 3.84439 5.43469C3.87185 5.43469 3.87185 5.43469 3.89931 5.43469H4.75057C4.88787 5.43469 4.99771 5.32917 4.99771 5.22364V0.211056C4.91533 0.105528 4.80549 0 4.66819 0Z" transform="translate(17.6819 16.8593)" fill="#38B900" class="color-element"></path> <path d="M3.62471 4.22112H1.34554V0.237438C1.34554 0.105528 1.2357 0 1.0984 0H0.24714C0.10984 0 -5.23757e-08 0.105528 -5.23757e-08 0.237438V5.25002C-5.23757e-08 5.30278 0.0274599 5.35555 0.0549198 5.40831C0.10984 5.43469 0.16476 5.46108 0.21968 5.46108H3.56979C3.70709 5.46108 3.78947 5.35555 3.78947 5.22364V4.4058C3.87185 4.32665 3.76201 4.22112 3.62471 4.22112Z" transform="translate(10.8993 16.8593)" fill="#38B900" class="color-element"></path> <path d="M3.56979 1.29272C3.70709 1.29272 3.78947 1.18719 3.78947 1.05528V0.237438C3.78947 0.105528 3.67963 -1.00639e-07 3.56979 -1.00639e-07H0.219679C0.164759 -1.00639e-07 0.10984 0.0263821 0.0549199 0.0527641C0.02746 0.105528 -2.09503e-07 0.158292 -2.09503e-07 0.211056V5.22364C-2.09503e-07 5.2764 0.02746 5.32917 0.0549199 5.38193C0.10984 5.40831 0.164759 5.43469 0.219679 5.43469H3.56979C3.70709 5.43469 3.78947 5.32917 3.78947 5.19726V4.37941C3.78947 4.2475 3.67963 4.14198 3.56979 4.14198H1.29062V3.29775H3.56979C3.70709 3.29775 3.78947 3.19222 3.78947 3.06031V2.24247C3.78947 2.11056 3.67963 2.00503 3.56979 2.00503H1.29062V1.16081H3.56979V1.29272Z" transform="translate(23.421 16.8329)" fill="#38B900" class="color-element"></path>';
270
- text+='</svg>';
271
- text+='</a>';
272
- text+='<div class="chaty-widget-i-title">';
273
- text+='<p>Line</p>';
274
- text+='</div>';
275
- text+='</div>';
276
- }
277
- if(key == 'wechat'){
278
- text+='<div class="chaty-widget-i" data-title="'+settings.object_settings.social.wechat+'"target="_blank">';
279
- text+='<a href="weixin://dl/chat?'+settings.object_settings.social.wechat+'"target="_blank">';
280
- text+='<svg class="ico_d" width="39" height="39" viewBox="0 0 39 39" fill="none" xmlns="http://www.w3.org/2000/svg">';
281
- text+='<circle class="color-element" cx="19.5" cy="19.5" r="19.5" fill="#45DC00"></circle>';
282
- text+='<path d="M17.3707 6.90938C15.0508 7.03077 13.0281 7.71242 11.3888 9.26248C9.73039 10.8312 8.97307 12.7455 9.18397 15.1172C8.27327 15.0052 7.44884 14.8838 6.61482 14.8184C6.32723 14.7904 5.99171 14.8278 5.74246 14.9585C4.93721 15.4067 4.16071 15.9016 3.24042 16.4619C3.41298 15.7242 3.51843 15.0705 3.71015 14.4449C3.85395 13.9874 3.78685 13.7353 3.35546 13.4364C0.584998 11.5222 -0.594125 8.65553 0.287821 5.69547C1.10266 2.95952 3.09663 1.30674 5.80957 0.447674C9.50991 -0.728879 13.68 0.475687 15.9232 3.33303C16.738 4.36952 17.2365 5.53673 17.3707 6.90938ZM6.69152 5.98494C6.71069 5.44336 6.23137 4.95779 5.65619 4.93912C5.07142 4.92044 4.5921 5.35932 4.57293 5.91958C4.55375 6.48918 5.00431 6.94673 5.58908 6.95607C6.18344 6.97474 6.67234 6.53587 6.69152 5.98494ZM12.2612 4.93912C11.686 4.94846 11.2067 5.42468 11.2163 5.96627C11.2259 6.52653 11.7052 6.9654 12.29 6.9654C12.8843 6.95607 13.3253 6.51719 13.3253 5.93825C13.3157 5.37799 12.846 4.92978 12.2612 4.93912Z" transform="translate(7 9)" fill="white"></path><path d="M12.48 13.2605C11.7418 12.943 11.0708 12.4668 10.3518 12.3921C9.63283 12.3174 8.88509 12.7189 8.13735 12.7936C5.8558 13.0177 3.8139 12.4014 2.13629 10.8887C-1.06556 8.00334 -0.605416 3.57726 3.09492 1.21482C6.38305 -0.886168 11.2146 -0.185839 13.5345 2.72753C15.5572 5.26739 15.3175 8.64764 12.8538 10.786C12.1349 11.4023 11.876 11.9158 12.3362 12.7282C12.4225 12.8776 12.432 13.0737 12.48 13.2605ZM4.11108 5.3701C4.58081 5.3701 4.96426 5.01527 4.98344 4.56706C5.00261 4.09084 4.60957 3.68932 4.12066 3.68932C3.63176 3.68932 3.22913 4.09084 3.2483 4.55772C3.26748 5.00593 3.65093 5.3701 4.11108 5.3701ZM9.5082 3.68932C9.05764 3.68932 8.6646 4.04415 8.64543 4.49236C8.62626 4.96858 9.00971 5.36077 9.48903 5.36077C9.95876 5.36077 10.3326 5.01527 10.3422 4.55772C10.371 4.09084 9.98752 3.68932 9.5082 3.68932Z" transform="translate(17.1057 16.7395)" fill="white"></path>'
283
- text+='</svg>';
284
- text+='</a>';
285
- text+='<div class="chaty-widget-i-title">';
286
- text+='<p>WeChat</p>';
287
- text+='</div>';
288
- text+='</div>';
289
- }
290
- });
291
- return text;
292
- }
293
-
294
-
295
- function plugin(settings, token){
296
- // mobile\desktop
297
- var devices = settings.object_settings.device;
298
- // position
299
- var position ="";
300
-
301
- if(settings.object_settings.position=='right'){
302
- position = 'left: auto;bottom: 25px; right: 25px;'
303
- } else if(settings.object_settings.position=='left'){
304
- position = 'right: auto; bottom: 25px; left: 25px;'
305
- }else if(settings.object_settings.position=='custom'){
306
- var pos_side = settings.object_settings.pos_side;
307
- var bot = settings.object_settings.bot;
308
- var side = settings.object_settings.side;
309
- if (pos_side === 'right') {
310
- position = 'left: auto; bottom: ' + bot +'px; right: ' + side + 'px';
311
- } else {
312
- position = 'left: ' +side+ 'px; bottom: ' + bot + 'px; right: auto';
313
- }
314
- }
315
- var CTA= settings.object_settings.cta;
316
- var text = "";
317
- var b = settings.object_settings.social;
318
- if(Object.keys(b).length >= 2){
319
- text = '<div class="chaty-widget '+token+' '+devices+' " style="display:block; '+position+'">';
320
- // block 1 social
321
- text+='<div class="chaty-widget-is" id="transition_disabled">';
322
- }
323
- text+= i(settings);
324
- var b = settings.object_settings.social;
325
- if(Object.keys(b).length >= 2){
326
- text+='</div>';
327
- // block 2
328
- text+='<div class="i-trigger">'
329
- var display_cta = getCookie("display_cta");
330
- if(CTA != "" && display_cta!='none'){
331
- var tr = 'true';
332
- }else{
333
- tr = 'no-tooltip';
334
- }
335
- text+='<div class="chaty-widget-i i-trigger-open '+tr+' ">';
336
- text+='<svg width="52" height="52" viewBox="0 0 52 52" fill="none" xmlns="http://www.w3.org/2000/svg">';
337
- text+='<ellipse class="color-element" cx="26" cy="26" rx="26" ry="26" fill="'+settings.object_settings.color+'"/>'
338
- text+='<path d="M22 0H4C1.8 0 0 1.80692 0 4.01538V16.0615C0 18.27 1.8 20.0769 4 20.0769H18.6L24.4 25.8992C24.6 26.1 24.8 26.1 25.2 26.1C25.4 26.1 25.4 26.1 25.6 26.1C26 25.8992 26.2 25.4977 26.2 25.0962V4.01538C26 1.80692 24.2 0 22 0Z" transform="translate(8 18.0691)" fill="white"/>'
339
- text+='<path d="M22 0H4C1.8 0 0 1.80692 0 4.01538H16C19.4 4.01538 22 6.62538 22 10.0385V23.49L24.2 25.6985C24.4 25.8992 24.6 25.8992 25 25.8992C25.2 25.8992 25.2 25.8992 25.4 25.8992C25.8 25.6985 26 25.2969 26 24.8954V4.01538C26 1.80692 24.2 0 22 0Z" transform="translate(13.9999 12.0461)" fill="white"/>'
340
- text+='</svg>';
341
- var display_cta = getCookie("display_cta");
342
- if(CTA != "" && display_cta!='none'){
343
- text+=' <div class="chaty-widget-i-title true"> ';
344
- text+=CTA;
345
- text+='</div>';
346
- }
347
-
348
- text+='</div>';
349
- text+='<div class="chaty-widget-i i-trigger-close" data-title="Hide">';
350
- text+='<svg width="52" height="52" viewBox="0 0 52 52" fill="none" xmlns="http://www.w3.org/2000/svg">';
351
- text+='<ellipse cx="26" cy="26" rx="26" ry="26" fill="#A886CD"/>';
352
- text+='<rect width="27.1433" height="3.89857" rx="1.94928" transform="translate(18.35 15.6599) scale(0.998038 1.00196) rotate(45)" fill="white"/>';
353
- text+='<rect width="27.1433" height="3.89857" rx="1.94928" transform="translate(37.5056 18.422) scale(0.998038 1.00196) rotate(135)" fill="white"/>';
354
- text+='</svg>';
355
- text+='<div class="chaty-widget-i-title">';
356
- text+='Hide';
357
- text+='</div>';
358
- text+='</div>';
359
- text+=' </div>';
360
-
361
- if(Object.keys(b).length >1){
362
- no_active = 'no_active';
363
- }
364
- // if(check_token()){
365
- if( token != ''){
366
- if(settings.object_settings.link_active != 1){
367
- text+='<div class="get '+no_active+'" style="opacity:0; position: absolute;width: 100%;text-align: center;"> <a href="https://premio.io/downloads/chaty/?utm_source=wpplugin" target="_blank" style=" font-size: 11px; top: -5px; position: relative; color: #8c8585; ">Get Widget</a></div>'
368
- }
369
- }else{
370
- text+='<div class="get" style="opacity:0; position: absolute;width: 100%;text-align: center;"> <a href="https://premio.io/downloads/chaty/?utm_source=wpplugin" target="_blank" style=" font-size: 11px; top: -5px; position: relative; color: #8c8585;">Get Widget</a></div>'
371
- }
372
-
373
- text+='</div>';
374
-
375
- }else{
376
- text = '<div class="chaty-widget one_widget '+token+' '+devices+' " style="display:block; '+position+'">';
377
- // block 1 social
378
- text+='<div class="chaty-widget-is no-tooltip">';
379
- text+='</div>';
380
- // block 2
381
- text+='<div class="i-trigger">'
382
- text+='<div class="chaty-widget-i no-tooltip i-trigger-open ">';
383
- text+= i(settings);
384
-
385
- // if(CTA != ""){
386
- // text+=' <div class="chaty-widget-i-title"> ';
387
- // text+=CTA;
388
- // text+='</div>';
389
- // }
390
-
391
-
392
- text+='</div>';
393
- if( token == '' && i(settings).length != 0){
394
- text+='<div class="get" style="opacity:1; position: absolute;"> <a href="https://chaty.app/?utm_source=wppl0ugin" target="_blank" style=" font-size: 11px; top: -5px; position: relative; left: 3px; color: #8c8585;">Get Widget</a></div>'
395
- }
396
- text+=' </div>';
397
- text+='</div>';
398
-
399
- }
400
-
401
- $('body').append(text) ;
402
- }
403
-
404
- // add style
405
- function css(){
406
- $('body').append('<style> .chaty-widget-i .chaty-widget-i-title p{color: #222 !important; text-decoration: none !important; margin:0 !important; padding: 0 !important } .chaty-widget-i .i-trigger a{color: #222 !important; text-decoration: none !important;} *{ -webkit-tap-highlight-color: transparent !important;} .i-trigger-open svg, .i-trigger-close svg{transition: all 0.5s} .chaty-widget-show .i-trigger-open svg,.chaty-widget-show .i-trigger-close svg{transform:rotate(180deg)}.none-widget-show .i-trigger-ope{-webkit-animation: fadein 1.5s; -moz-animation: fadein 1.5s; -ms-animation: fadein 1.5s; -o-animation: fadein 1.5s; /* animation: fadein 2s; */}.chaty-widget-show .i-trigger-cloe{-webkit-animation: fadein 1.5s; -moz-animation: fadein 1.5s; -ms-animation: fadein 1.5s; -o-animation: fadein 1.5s; /* animation: fadein 2s; */}.chaty-widget .i-trigger-open.chaty-widget-i:not(.no-tooltip) .chaty-widget-i-title{transform: translate(calc(-100% - 12px), -50%);} .chaty-widget-is-right.chaty-widget .i-trigger-open.chaty-widget-i:not(.no-tooltip) .chaty-widget-i-title{ right: 0; left: auto; transform: translate(calc(100% + 12px), -50%);}.chaty-widget-is-right.chaty-widget .chaty-widget-i:not(.no-tooltip) .chaty-widget-i-title{ right: 0; left: auto; transform: translate(calc(100% + 13px), -50%);} .one_widget .i-trigger .chaty-widget-i svg{width: 56px!important; height: 55px!important;} .chaty-widget-is-right.chaty-widget.one_widget .chaty-widget-i:not(.no-tooltip):before{left: auto; right:-18px;} .chaty-widget.one_widget .chaty-widget-i:not(.no-tooltip):before{left: -18px;} .one_widget .i-trigger-open .chaty-widget-i-title { padding: 10px 10px 9px 12px!important; } .chaty-widget .chaty-widget-i.facebook.before:not(.no-tooltip):hover .chaty-widget-i-title,.chaty-widget .chaty-widget-i.before.facebook:not(.no-tooltip):hover:before{opacity:1;pointer-events:auto} .chaty-widget .chaty-widget-i:not(.no-tooltip) .chaty-widget-i-title, .chaty-widget .chaty-widget-i:not(.no-tooltip).before:before{opacity: 1;} .one_widget .chaty-widget-i svg {left:-5px; position: relative;}body .chaty-widget-i-title.true{opacity: 1!important;}.chaty-widget .i-trigger-open:not(.no-tooltip):before{opacity:1!important} .chaty-widget .chaty-widget-i.facebook.active:not(.no-tooltip) .chaty-widget-i-title, .chaty-widget .chaty-widget-i.facebook:not(.no-tooltip):hover:before{ pointer-events: initial; } .chaty-widget .facebook_header{background-color: #1E88E5 ;height: 34px; border-top-left-radius: 5px; border-top-right-radius: 5px; padding-left: 9px;} .facebook .chaty-widget-i-title{padding:0!important} body .chaty-widget-i .facebook_header p{ top: -3px; font-size: 13px; color: #fff !important; position:relative;} .facebook_header svg, .facebook_header p{display: inline-block; vertical-align: bottom; margin: 0;}.chaty-widget .chaty-widget-i .facebook_header svg{ height:30px!important; width:30px!important; } .chaty-widget{ display: none !important;}@media screen and (max-width:800px){.i-trigger-close .chaty-widget-i-title{display:none;}} @media screen and (max-width:480px){ .mobile_none{display:none}.chaty-widget.mobile_active{ display: block !important; } } @media screen and (min-width:480px){ .chaty-widget.desktop_active{ display: block !important; } }.chaty-widget{position:fixed;width:62px;z-index:9999}.chaty-widget .chaty-widget-is{display:flex;flex-wrap:wrap;overflow:hidden;height:0;position:absolute; pointer-events: none; left:0;right:auto;bottom:65px; opacity:0;}#transition_disabled{-webkit-animation: none !important; -moz-animation: none !important; -ms-animation: none !important; -o-animation: none !important;-webkit-animation:none !important}@keyframes fadeout{from{opacity:1}to{opacity:0}}@-moz-keyframes fadeout{from{opacity:1}to{opacity:0}}@-webkit-keyframes fadeout{from{opacity:1}to{opacity:0}}@-o-keyframes fadeout{from{opacity:1}to{opacity:0}}.chaty-widget .chaty-widget-is .chaty-widget-i{max-height:0;}.chaty-widget .i-trigger{position:relative;margin-top:6px}.chaty-widget .i-trigger .i-trigger-open,.chaty-widget .i-trigger .i-trigger-close{transition:all 0.2s; height: 54px;}.chaty-widget .i-trigger .i-trigger-close{position:absolute;bottom:-4px;left:0;right:0;z-index:2}.chaty-widget .i-trigger .i-trigger-open{opacity:1;pointer-events:auto}.chaty-widget .i-trigger .i-trigger-close{opacity:0;pointer-events:none}.chaty-widget:not(.chaty-widget-show) .chaty-widget-is{}.chaty-widget.chaty-widget-show .i-trigger .i-trigger-open{opacity:0;pointer-events:none}.chaty-widget.chaty-widget-show .i-trigger .i-trigger-close{opacity:1;pointer-events:auto}.chaty-widget.chaty-widget-show .chaty-widget-is{ pointer-events: auto;overflow:visible; opacity:1; visibility: visible;}@keyframes fadein{from{opacity:0}to{opacity:1}}@-moz-keyframes fadein{from{opacity:0}to{opacity:1}}@-webkit-keyframes fadein{from{opacity:0}to{opacity:1}}@-ms-keyframes fadein{from{opacity:0}to{opacity:1}}@-o-keyframes fadein{from{opacity:0}to{opacity:1}}.chaty-widget.chaty-widget-show .chaty-widget-is .chaty-widget-i{opacity:1;max-height:53px;overflow:visible}.chaty-widget .chaty-widget-i{flex:0 0 54px;border-radius:50%;vertical-align:top;font-size:0;position:relative;box-shadow:0px 3px 6px rgba(0,0,0,0.25);margin:4px}.chaty-widget .chaty-widget-i svg{cursor:pointer;width:54px;height:54px; position:relative;}body .i-trigger-open .chaty-widget-i-title{padding: 5px 16px 5px 17px!important; }.chaty-widget:not(.chaty-widget-is-right) .i-trigger-open:before{ left: -13px!important} .chaty-widget:not(.chaty-widget-is-right) .i-trigger-open:before{} .one_widget.chaty-widget.chaty-widget-is-right .i-trigger-open:before{ right: -12px!important} body .one_widget .i-trigger-open .chaty-widget-i-title.face_title{padding:0!important}.one_widget.chaty-widget .chaty-widget-i:not(.no-tooltip) .chaty-widget-i-title{transform: translate(calc(-100% - 14px), -50%);}.chaty-widget .chaty-widget-i:not(.no-tooltip) .chaty-widget-i-title,.chaty-widget .chaty-widget-i:not(.no-tooltip):before{content:none;position:absolute;opacity:0;pointer-events:none;z-index:10}.chaty-widget .chaty-widget-i:not(.no-tooltip):before{content:"";left:-14px;top:50%;transform:translateY(-50%);height:0;width:0;z-index:11;border-width:5px 0 5px 10px;border-style:solid;border-color:transparent transparent transparent #fff}.one_widget.chaty-widget:not(.chaty-widget-is-right) .chaty-widget-i:not(.no-tooltip) .chaty-widget-i-title{font-size:17px;left:-3px;top:50%;white-space:nowrap;padding:5px 15px;line-height:21px;color:#333;background-color:#fff;box-shadow:0 1.93465px 7.73859px rgba(0,0,0,0.15);border-radius:10px}.chaty-widget .chaty-widget-i:not(.no-tooltip) .chaty-widget-i-title{font-size:17px;left:0;top:50%;transform:translate(calc(-100% - 13px), -50%);white-space:nowrap;padding:5px 15px;line-height:21px;color:#333;background-color:#fff;box-shadow:0 1.93465px 7.73859px rgba(0,0,0,0.15);border-radius:10px}.chaty-widget .chaty-widget-i:not(.no-tooltip):hover .chaty-widget-i-title,.chaty-widget .chaty-widget-i:not(.no-tooltip):hover:before{opacity:1;pointer-events:auto}.chaty-widget .chaty-widget-i.facebook:not(.no-tooltip):hover .chaty-widget-i-title,.chaty-widget .chaty-widget-i.facebook:not(.no-tooltip):hover:before{opacity:0;pointer-events:auto}.chaty-widget .chaty-widget-i .color-element{transition:all .2s}.chaty-widget:not(.chaty-widget-is-right) .chaty-widget-is{position:absolute;right:0;left:auto;bottom:65px;justify-content:flex-end}.chaty-widget.chaty-widget-is-right .i-trigger-open.chaty-widget-i:before{right:-13px;left:auto;border-width:5px 10px 5px 0;border-color:transparent #fff transparent transparent}.chaty-widget.chaty-widget-is-right .chaty-widget-i:before{right:-14px;left:auto;border-width:5px 10px 5px 0;border-color:transparent #fff transparent transparent}.chaty-widget.chaty-widget-is-right .chaty-widget-i.facebook.active .chaty-widget-i-title{ position: fixed; transform: initial!important;right: auto; top: calc(100% - 484px);}.chaty-widget .chaty-widget-i.facebook.active .chaty-widget-i-title{ position: fixed; transform: initial;right: 29px; left:auto; top: calc(100% - 484px);} .one_widget.chaty-widget.chaty-widget-is-right .chaty-widget-i .chaty-widget-i-title{right:0;left:auto;transform:translate(calc(100% + 17px), -50%)!important}</style>')
407
- }
408
-
409
- jQuery(document).ready(function() {
410
-
411
- function chatyWidget() {
412
-
413
- var $chatyWidget = jQuery('.chaty-widget');
414
-
415
- function positionIcons() {
416
-
417
- var posTop = $chatyWidget.position().top;
418
-
419
- var length = $chatyWidget.find('.chaty-widget-is .chaty-widget-i').length;
420
-
421
- if (length*62 > posTop) {
422
- var itemsF = Math.round(Math.sqrt(length));
423
- var itemsC = Math.ceil(Math.sqrt(length));
424
-
425
- $chatyWidget.find('.chaty-widget-is').css({"height": itemsC * 62, "width": itemsF * 62})
426
- }else{
427
- $chatyWidget.find('.chaty-widget-is').css({height: length * 62, "width": "62px"})
428
- }
429
- }
430
-
431
- function tooltipPosition() {
432
- var posLeft = $chatyWidget.position().left;
433
- if (posLeft < jQuery(document).width()/2) {
434
- $chatyWidget.addClass('chaty-widget-is-right')
435
- }
436
- }
437
- tooltipPosition();
438
- positionIcons();
439
- jQuery(window).resize(function() {
440
- positionIcons();
441
- });
442
-
443
- $('.chaty-widget-i.facebook').mouseenter(function() {
444
- $('.facebook_two_mess').css({
445
- 'opacity': '1',
446
- 'z-index': '1'
447
- });
448
- $(this).addClass('before')
449
-
450
- });
451
- $('.chaty-widget-i.facebook').mouseleave(function() {
452
- $('.facebook_two_mess').css({
453
- 'opacity': '0',
454
- 'z-index': '1'
455
-
456
- })
457
- $(this).removeClass('before');
458
- })
459
-
460
- $('.chaty-widget-i.facebook').on('click',function() {
461
- $(this).addClass('active');
462
- $('.facebook_two_mess').hide();
463
- $(this).children('.face_title').css({
464
- 'opacity': '1',
465
- 'z-index': '2'
466
- }).show();
467
-
468
- if($('.chaty-widget').hasClass('one_widget')){
469
-
470
- if($('.chaty-widget').hasClass('chaty-widget-is-right')){
471
-
472
- $('.face_title').css({
473
- 'top': 'calc(100% - 452px)',
474
- 'left': '20px'
475
-
476
- });
477
-
478
- }else{
479
- $('.face_title').css({
480
- 'top': 'calc(100% - 453px)',
481
- 'left': 'auto',
482
- 'right': '23px'
483
- });
484
- }
485
- return
486
- }{
487
- $('.facebook_two_mess').css({
488
- 'opacity': '0',
489
- 'z-index': '1'
490
- });
491
- $('.ico_d').hide();
492
- }
493
-
494
- $('.chaty-widget .chaty-widget-i').css({
495
- 'box-shadow': '0px 3px 6px rgba(0,0,0,0)',
496
-
497
- });
498
-
499
- if($('.chaty-widget').hasClass('one_widget') ){
500
- return;
501
- }else{
502
- $('.i-trigger').hide();
503
- }
504
-
505
- })
506
-
507
- $('.i-trigger-close').on('click', function(event) {
508
- get_out()
509
- event.preventDefault();
510
- if($('.chaty-widget-i.facebook').hasClass('active')){
511
- return
512
- }
513
- $chatyWidget.removeClass('chaty-widget-show');
514
- $chatyWidget.addClass('none-widget-show');
515
-
516
- });
517
-
518
- $('body').on('click','.close_facebook', function() {
519
- $('.facebook_two_mess').show();
520
- $('.chaty-widget-i.facebook').removeClass('active');
521
- $(this).parent().parent().css({
522
- 'opacity': '1',
523
- }).hide();
524
-
525
- $('.i-trigger').show();
526
- $('.chaty-widget-is .chaty-widget-i svg').show();
527
- });
528
-
529
- $('.i-trigger-close').on('click', function(event) {
530
- get_out()
531
- $('.i-trigger-open').addClass('active_clos');
532
- event.preventDefault();
533
- if($('.chaty-widget-i.facebook').hasClass('active')){
534
- return;
535
- }
536
- $chatyWidget.removeClass('chaty-widget-show');
537
- $chatyWidget.addClass('none-widget-show');
538
- });
539
-
540
- var display_cta = getCookie("display_cta");
541
-
542
- $chatyWidget.find('.i-trigger-open').mouseenter(function () {
543
-
544
- $(".chaty-widget-is").removeAttr("id");
545
-
546
-
547
- document.cookie = "display_cta=none; path=/";
548
-
549
-
550
- if( $(this).hasClass('active_clos')){
551
- return;
552
- }
553
- if($('.chaty-widget-i.facebook').hasClass('active')){
554
- return;
555
- }
556
- if($chatyWidget.hasClass('one_widget')){
557
- return;
558
- }
559
-
560
- tooltipPosition();
561
-
562
- if($($chatyWidget).hasClass('chaty-widget-show')){
563
- }else{
564
- $chatyWidget.addClass('chaty-widget-show');
565
- $chatyWidget.removeClass('none-widget-show');
566
- }
567
- get_op()
568
- });
569
-
570
- function get_op(){
571
-
572
- if($('.get').hasClass('no_active')){
573
- return
574
- }
575
- $('.get').css({
576
- 'opacity': '1',
577
- })
578
- }
579
- function get_out(){
580
- if($('.get').hasClass('no_active')){
581
- return
582
- }
583
- $('.get').css({
584
- 'opacity': '0',
585
- })
586
- }
587
- $chatyWidget.find('.i-trigger-open').on('click',function () {
588
- if( display_cta!='none'){
589
- if($(".chaty-widget").hasClass(".one_widget")){
590
-
591
- }else{
592
- $('.i-trigger-open .chaty-widget-i-title').detach();
593
- }
594
-
595
- }
596
- $('.i-trigger-open').addClass('no-tooltip');
597
-
598
- get_op();
599
- if( $(this).hasClass('active_clos')){
600
- return;
601
- }
602
- if($('.chaty-widget-i.facebook').hasClass('active')){
603
- return;
604
- }
605
- if($chatyWidget.hasClass('one_widget')){
606
- return;
607
- }
608
-
609
- tooltipPosition();
610
-
611
- if($($chatyWidget).hasClass('chaty-widget-show')){
612
- }else{
613
- $chatyWidget.addClass('chaty-widget-show');
614
- $chatyWidget.removeClass('none-widget-show');
615
- }
616
- });
617
-
618
- $chatyWidget.find('.i-trigger-open').mouseenter(function () {
619
-
620
- $('.i-trigger-open').removeClass('active_clos')
621
-
622
- })
623
-
624
-
625
- $chatyWidget.find('.chaty-widget-is').mouseleave(function () {
626
-
627
- $('.i-trigger-open').removeClass('active_clos')
628
- if($('.chaty-widget-i.facebook').hasClass('active')){
629
- return
630
- }
631
- // $chatyWidget.removeClass('chaty-widget-show');
632
- // $chatyWidget.addClass('none-widget-show');
633
-
634
- });
635
- };
636
-
637
- if(settings.object_settings.active == 'true'){
638
- plugin(settings, token);
639
- css();
640
- }
641
-
642
-
643
- chatyWidget();
644
- $( document ).ready(function() {
645
- var isMobile = window.matchMedia("only screen and (max-width: 760px)");
646
- if (isMobile.matches) {
647
- $('.i-trigger-open').addClass('active_clos');
648
- }
649
- });
650
-
651
-
652
- });
653
-
654
  })(jQuery);
1
+
2
+
3
+ // fuction plugin
4
+
5
+
6
+ (function($) {
7
+
8
+ var settings = JSON.parse(document.currentScript.getAttribute('settings'));
9
+ console.log(settings);
10
+ function getCookie(cname) {
11
+ var name = cname + "=";
12
+ var ca = document.cookie.split(';');
13
+ for(var i=0; i<ca.length; i++) {
14
+ var c = ca[i];
15
+ while (c.charAt(0)==' ') c = c.substring(1);
16
+ if(c.indexOf(name) == 0)
17
+ return c.substring(name.length,c.length);
18
+ }
19
+ return "";
20
+ }
21
+ // cookie
22
+ var date = new Date();
23
+ function track_user() {
24
+ setInterval(function() {
25
+ date.setTime(date.getTime()+(2*500));
26
+ document.cookie = "display_cta=none; expires="+ date.toGMTString() + "; path=/";
27
+ }, 300);
28
+ }
29
+
30
+ var display_cta = getCookie("display_cta");
31
+
32
+ if(display_cta!=''){
33
+ track_user();
34
+ }
35
+
36
+
37
+ token = settings.object_settings.token ;
38
+
39
+ function i(settings){
40
+
41
+
42
+ var text = "";
43
+ var counter = 0;
44
+ $.each( settings.object_settings.social, function( key, value ) {
45
+ // console.log( key + ": " + value );
46
+ counter++;
47
+
48
+ if(token=="" && counter=='3' ){
49
+ return false;
50
+ }
51
+ if( key == 'facebook_messenger'){
52
+
53
+ text+='<div class="chaty-widget-i facebook" data-title="'+settings.object_settings.social.facebook_messenger+'">';
54
+ text+='<svg class="ico_d" width="39" height="39" viewBox="0 0 39 39" fill="none" xmlns="http://www.w3.org/2000/svg">';
55
+ text+='<circle class="color-element" cx="19.5" cy="19.5" r="19.5" fill="#1E88E5"/>';
56
+ text+='<path fill-rule="evenodd" clip-rule="evenodd" d="M0 9.63934C0 4.29861 4.68939 0 10.4209 0C16.1524 0 20.8418 4.29861 20.8418 9.63934C20.8418 14.98 16.1524 19.2787 10.4209 19.2787C9.37878 19.2787 8.33673 19.1484 7.42487 18.8879L3.90784 20.8418V17.1945C1.56311 15.3708 0 12.6353 0 9.63934ZM8.85779 10.1604L11.463 13.0261L17.1945 6.90384L12.1143 9.76959L9.37885 6.90384L3.64734 13.0261L8.85779 10.1604Z" transform="translate(9.01854 10.3146)" fill="white"/>';
57
+ text+='</svg>';
58
+ text+='<div class="chaty-widget-i-title face_title" style="display: none;">';
59
+ text+='<div class="facebook_header">'
60
+ text+='<svg width="15" height="15" viewBox="0 0 39 39" fill="none" xmlns="http://www.w3.org/2000/svg">';
61
+ text+='<circle class="color-element" cx="19.5" cy="19.5" r="19.5" fill="#1E88E5"/>';
62
+ text+='<path fill-rule="evenodd" clip-rule="evenodd" d="M0 9.63934C0 4.29861 4.68939 0 10.4209 0C16.1524 0 20.8418 4.29861 20.8418 9.63934C20.8418 14.98 16.1524 19.2787 10.4209 19.2787C9.37878 19.2787 8.33673 19.1484 7.42487 18.8879L3.90784 20.8418V17.1945C1.56311 15.3708 0 12.6353 0 9.63934ZM8.85779 10.1604L11.463 13.0261L17.1945 6.90384L12.1143 9.76959L9.37885 6.90384L3.64734 13.0261L8.85779 10.1604Z" transform="translate(9.01854 10.3146)" fill="white"/>';
63
+ text+='</svg>';
64
+ text+='<p>Facebook Messeger</p>';
65
+ text+=' <svg xmlns="http://www.w3.org/2000/svg" class="close_facebook" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" id="Capa_1" x="0px" y="0px" width="612px" height="612px" viewBox="0 0 612 612" style="fill: #fff; float: right; margin-top: 4px;" xml:space="preserve">';
66
+ text+='<circle class="color-element" cx="19.5" cy="19.5" r="19.5" fill="#1E88E5"/>';
67
+ text+='<path xmlns="http://www.w3.org/2000/svg" d="M268.064,256.75l138.593-138.593c3.124-3.124,3.124-8.189,0-11.313c-3.125-3.124-8.189-3.124-11.314,0L256.75,245.436 L118.157,106.843c-3.124-3.124-8.189-3.124-11.313,0c-3.125,3.124-3.125,8.189,0,11.313L245.436,256.75L106.843,395.343 c-3.125,3.125-3.125,8.189,0,11.314c1.562,1.562,3.609,2.343,5.657,2.343s4.095-0.781,5.657-2.343L256.75,268.064l138.593,138.593 c1.563,1.562,3.609,2.343,5.657,2.343s4.095-0.781,5.657-2.343c3.124-3.125,3.124-8.189,0-11.314L268.064,256.75z"/>';
68
+ text+='</svg>';
69
+ text+=' </div>';
70
+ text+='<div class="fb-page" data-href="'+settings.object_settings.social.facebook_messenger+'" data-tabs="messages" data-width="250" data-height="400" data-small-header="false" data-adapt-container-width="false" data-hide-cover="false" data-show-facepile="false"><blockquote cite="'+settings.object_settings.social.facebook_messenger+'" class="fb-xfbml-parse-ignore"><a href="'+settings.object_settings.social.facebook_messenger+'">Facebook</a></blockquote></div>';
71
+ text+='</div>';
72
+
73
+ text+='<div class="chaty-widget-i-title facebook_two_mess">';
74
+ text+='<p style="margin: 7px!important;">Facebook Messenger</p>';
75
+ text+='</div>';
76
+ text+='</div>';
77
+
78
+ }
79
+ if(key == 'google_maps'){
80
+
81
+ text+='<div class="chaty-widget-i" data-title="'+settings.object_settings.social.google_maps+'">';
82
+ text+='<a href="'+settings.object_settings.social.google_maps+'" target="_blank">'
83
+ text+='<svg class="ico_d" width="39" height="39" viewBox="0 0 39 39" fill="none" xmlns="http://www.w3.org/2000/svg">';
84
+ text+='<circle class="color-element" cx="19.5" cy="19.5" r="19.5" fill="#37AA66"/>';
85
+ text+='<path fill-rule="evenodd" clip-rule="evenodd" d="M0 8.06381C0 3.68631 3.68633 0 8.06383 0C12.4413 0 16.1276 3.68631 16.1276 8.06381C16.1276 12.2109 9.67659 19.5835 8.9854 20.2747C8.755 20.5051 8.29422 20.7355 8.06383 20.7355C7.83344 20.7355 7.37263 20.5051 7.14224 20.2747C6.45107 19.5835 0 12.2109 0 8.06381ZM11.5203 8.06378C11.5203 9.97244 9.97302 11.5197 8.06436 11.5197C6.15572 11.5197 4.60844 9.97244 4.60844 8.06378C4.60844 6.15515 6.15572 4.60788 8.06436 4.60788C9.97302 4.60788 11.5203 6.15515 11.5203 8.06378Z" transform="translate(11.3764 9.07178)" fill="white"/>';
86
+ text+='</svg>';
87
+ text+='</a>';
88
+ text+='<div class="chaty-widget-i-title">';
89
+ text+='<p>Google Maps</p>';
90
+ text+='</div>';
91
+ text+='</div>';
92
+
93
+
94
+ }
95
+ if(key == 'link'){
96
+
97
+ text+='<div class="chaty-widget-i" data-title="'+settings.object_settings.social.link+'">';
98
+ text+='<a href="'+settings.object_settings.social.link+'" target="_blank">'
99
+ text+='<svg class="ico_d" width="39" height="39" viewBox="0 0 39 39" fill="none" xmlns="http://www.w3.org/2000/svg">';
100
+ text+='<circle class="color-element" cx="19.5" cy="19.5" r="19.5" fill="#FF7539"/>';
101
+ text+='<mask id="path-2-outside-1" maskUnits="userSpaceOnUse" x="-1" y="-1" width="13" height="14" fill="black"> <rect fill="white" x="-1" y="-1" width="13" height="14"/> <path fill-rule="evenodd" clip-rule="evenodd" d="M9.10658 1.73537C9.10658 1.73537 9.10658 1.73538 9.10659 1.73538L9.93879 2.58495C9.9388 2.58495 9.9388 2.58495 9.9388 2.58496C9.99645 2.64381 10.0508 2.70475 10.1019 2.76754C10.3002 3.0113 10.6804 3.07698 10.9003 2.85252C11.0424 2.70754 11.0721 2.4836 10.9533 2.31904C10.849 2.17452 10.7327 2.03614 10.6046 1.90532C10.6046 1.9053 10.6046 1.90529 10.6045 1.90528L9.77236 1.05572C9.77236 1.05572 9.77235 1.05572 9.77235 1.05572C8.39351 -0.351905 6.15792 -0.351905 4.77907 1.05571C4.77907 1.05572 4.77907 1.05572 4.77906 1.05572L1.03414 4.87877C1.03413 4.87878 1.03413 4.87878 1.03413 4.87878C-0.344706 6.2864 -0.34471 8.56858 1.03412 9.9762C1.03413 9.97621 1.03414 9.97622 1.03415 9.97623L1.86633 10.8258C1.86634 10.8258 1.86635 10.8258 1.86636 10.8258C3.24521 12.2334 5.48072 12.2334 6.85962 10.8258C6.85963 10.8258 6.85964 10.8258 6.85964 10.8258L9.28893 8.34581C9.47006 8.1609 9.47006 7.86509 9.28893 7.68018C9.10243 7.48979 8.79591 7.48979 8.60942 7.68018L6.19386 10.1461C6.19386 10.1461 6.19386 10.1461 6.19386 10.1461C5.1827 11.1784 3.54326 11.1784 2.53215 10.1461C2.53213 10.1461 2.53211 10.1461 2.53209 10.1461L1.69991 9.29657C1.69991 9.29657 1.6999 9.29656 1.6999 9.29655C0.688737 8.2643 0.688739 6.59069 1.6999 5.55844C1.6999 5.55843 1.69991 5.55843 1.69991 5.55843L5.44484 1.73538C5.44484 1.73538 5.44484 1.73537 5.44484 1.73537C6.45601 0.703119 8.09541 0.703118 9.10658 1.73537Z"/> </mask><path fill-rule="evenodd" clip-rule="evenodd" d="M9.10658 1.73537C9.10658 1.73537 9.10658 1.73538 9.10659 1.73538L9.93879 2.58495C9.9388 2.58495 9.9388 2.58495 9.9388 2.58496C9.99645 2.64381 10.0508 2.70475 10.1019 2.76754C10.3002 3.0113 10.6804 3.07698 10.9003 2.85252C11.0424 2.70754 11.0721 2.4836 10.9533 2.31904C10.849 2.17452 10.7327 2.03614 10.6046 1.90532C10.6046 1.9053 10.6046 1.90529 10.6045 1.90528L9.77236 1.05572C9.77236 1.05572 9.77235 1.05572 9.77235 1.05572C8.39351 -0.351905 6.15792 -0.351905 4.77907 1.05571C4.77907 1.05572 4.77907 1.05572 4.77906 1.05572L1.03414 4.87877C1.03413 4.87878 1.03413 4.87878 1.03413 4.87878C-0.344706 6.2864 -0.34471 8.56858 1.03412 9.9762C1.03413 9.97621 1.03414 9.97622 1.03415 9.97623L1.86633 10.8258C1.86634 10.8258 1.86635 10.8258 1.86636 10.8258C3.24521 12.2334 5.48072 12.2334 6.85962 10.8258C6.85963 10.8258 6.85964 10.8258 6.85964 10.8258L9.28893 8.34581C9.47006 8.1609 9.47006 7.86509 9.28893 7.68018C9.10243 7.48979 8.79591 7.48979 8.60942 7.68018L6.19386 10.1461C6.19386 10.1461 6.19386 10.1461 6.19386 10.1461C5.1827 11.1784 3.54326 11.1784 2.53215 10.1461C2.53213 10.1461 2.53211 10.1461 2.53209 10.1461L1.69991 9.29657C1.69991 9.29657 1.6999 9.29656 1.6999 9.29655C0.688737 8.2643 0.688739 6.59069 1.6999 5.55844C1.6999 5.55843 1.69991 5.55843 1.69991 5.55843L5.44484 1.73538C5.44484 1.73538 5.44484 1.73537 5.44484 1.73537C6.45601 0.703119 8.09541 0.703118 9.10658 1.73537Z" transform="translate(9.95154 16.0478)" fill="white"/><path d="M5.44484 1.73538L5.23053 1.52545L5.44484 1.73538ZM5.44484 1.73537L5.23053 1.52544L5.44484 1.73537ZM1.6999 5.55844L1.48559 5.3485L1.6999 5.55844ZM1.69991 5.55843L1.91422 5.76836L1.69991 5.55843ZM1.69991 9.29657L1.91422 9.08664L1.69991 9.29657ZM1.6999 9.29655L1.91421 9.08662L1.6999 9.29655ZM2.53215 10.1461L2.31784 10.3561L2.53215 10.1461ZM2.53209 10.1461L2.31778 10.356L2.53209 10.1461ZM6.19386 10.1461L5.97955 9.93618L6.19386 10.1461ZM6.19386 10.1461L6.40817 10.356L6.19386 10.1461ZM8.60942 7.68018L8.82373 7.89011L8.60942 7.68018ZM9.28893 8.34581L9.07462 8.13588L9.28893 8.34581ZM6.85962 10.8258L6.64532 10.6158L6.85962 10.8258ZM6.85964 10.8258L7.07395 11.0357L6.85964 10.8258ZM1.86633 10.8258L2.08064 10.6158L1.86633 10.8258ZM1.86636 10.8258L2.08067 10.6159L1.86636 10.8258ZM1.03412 9.9762L1.24843 9.76628L1.03412 9.9762ZM1.03415 9.97623L0.819841 10.1862L1.03415 9.97623ZM1.03414 4.87877L0.819827 4.66884L1.03414 4.87877ZM1.03413 4.87878L1.24844 5.08871L1.03413 4.87878ZM4.77907 1.05571L4.99338 1.26564L4.77907 1.05571ZM4.77906 1.05572L4.99338 1.26565L4.77906 1.05572ZM9.77236 1.05572L9.55805 1.26565L9.77236 1.05572ZM9.77235 1.05572L9.98666 0.845785L9.77235 1.05572ZM10.6046 1.90532L10.8189 1.6954L10.6046 1.90532ZM10.6045 1.90528L10.8189 1.69535L10.6045 1.90528ZM10.9533 2.31904L10.7101 2.49464L10.9533 2.31904ZM10.1019 2.76754L9.86916 2.95685L10.1019 2.76754ZM9.10659 1.73538L9.3209 1.52545L9.10659 1.73538ZM9.10658 1.73537L8.89227 1.9453L9.10658 1.73537ZM9.93879 2.58495L10.1531 2.37502L9.93879 2.58495ZM9.9388 2.58496L10.1531 2.37503L9.9388 2.58496ZM10.1531 2.37502L9.3209 1.52545L8.89228 1.94531L9.72448 2.79488L10.1531 2.37502ZM10.3346 2.57823C10.2777 2.50832 10.2172 2.4405 10.1531 2.37503L9.72449 2.79488C9.77566 2.84713 9.82388 2.90119 9.86916 2.95685L10.3346 2.57823ZM11.1966 2.14344C11.0835 1.98684 10.9576 1.83698 10.8189 1.6954L10.3903 2.11524C10.5079 2.2353 10.6145 2.3622 10.7101 2.49464L11.1966 2.14344ZM10.8189 1.69535L9.98667 0.845789L9.55805 1.26565L10.3902 2.11521L10.8189 1.69535ZM9.98666 0.845785C8.49018 -0.681928 6.06124 -0.681928 4.56476 0.845784L4.99338 1.26564C6.25459 -0.0218819 8.29683 -0.0218814 9.55804 1.26565L9.98666 0.845785ZM4.56475 0.84579L0.819827 4.66884L1.24845 5.0887L4.99338 1.26565L4.56475 0.84579ZM0.819819 4.66885C-0.673269 6.1931 -0.673273 8.66187 0.819807 10.1861L1.24843 9.76628C-0.0161474 8.47529 -0.016144 6.37969 1.24844 5.08871L0.819819 4.66885ZM0.819841 10.1862L1.65203 11.0357L2.08064 10.6158L1.24846 9.7663L0.819841 10.1862ZM1.65205 11.0357C3.14854 12.5634 5.57739 12.5634 7.07393 11.0357L6.64532 10.6158C5.38405 11.9034 3.34188 11.9034 2.08067 10.6159L1.65205 11.0357ZM7.07395 11.0357L9.50324 8.55574L9.07462 8.13588L6.64533 10.6158L7.07395 11.0357ZM6.40817 10.356L8.82373 7.89011L8.39511 7.47025L5.97955 9.93618L6.40817 10.356ZM2.31784 10.3561C3.44659 11.5084 5.27938 11.5084 6.40817 10.356L5.97955 9.93618C5.08603 10.8483 3.63993 10.8483 2.74646 9.93621L2.31784 10.3561ZM1.48561 9.50651L2.31778 10.356L2.7464 9.93615L1.91422 9.08664L1.48561 9.50651ZM1.48559 5.3485C0.360176 6.49739 0.360173 8.35759 1.48559 9.50648L1.91421 9.08662C1.0173 8.171 1.0173 6.68399 1.91421 5.76837L1.48559 5.3485ZM5.23053 1.52545L1.4856 5.3485L1.91422 5.76836L5.65915 1.94531L5.23053 1.52545ZM9.32089 1.52544C8.19208 0.373095 6.35934 0.373096 5.23053 1.52544L5.65915 1.9453C6.55268 1.03314 7.99874 1.03314 8.89227 1.9453L9.32089 1.52544ZM5.65915 1.94531C5.65915 1.94531 5.65915 1.94531 5.65915 1.9453L5.23053 1.52544C5.23053 1.52544 5.23053 1.52544 5.23053 1.52545L5.65915 1.94531ZM1.91421 5.76837C1.91421 5.76837 1.91422 5.76836 1.91422 5.76836L1.4856 5.3485C1.4856 5.3485 1.48559 5.3485 1.48559 5.3485L1.91421 5.76837ZM1.91422 9.08664C1.91422 9.08663 1.91421 9.08663 1.91421 9.08662L1.48559 9.50648C1.48559 9.50649 1.4856 9.5065 1.48561 9.50651L1.91422 9.08664ZM2.74646 9.93621C2.74644 9.93619 2.74642 9.93617 2.7464 9.93615L2.31778 10.356C2.3178 10.356 2.31782 10.356 2.31784 10.3561L2.74646 9.93621ZM5.97955 9.93618C5.97955 9.93618 5.97955 9.93618 5.97955 9.93618L6.40817 10.356C6.40817 10.356 6.40817 10.356 6.40817 10.356L5.97955 9.93618ZM9.50324 7.47025C9.1991 7.15977 8.69924 7.15977 8.39511 7.47025L8.82373 7.89011C8.89259 7.81981 9.00576 7.81981 9.07462 7.89011L9.50324 7.47025ZM9.50324 8.55574C9.79862 8.25419 9.79862 7.77179 9.50324 7.47025L9.07462 7.89011C9.1415 7.95838 9.1415 8.0676 9.07462 8.13588L9.50324 8.55574ZM7.07393 11.0357C7.07394 11.0357 7.07395 11.0357 7.07395 11.0357L6.64533 10.6158C6.64533 10.6158 6.64532 10.6158 6.64532 10.6158L7.07393 11.0357ZM1.65203 11.0357C1.65203 11.0357 1.65204 11.0357 1.65205 11.0357L2.08067 10.6159C2.08066 10.6158 2.08065 10.6158 2.08064 10.6158L1.65203 11.0357ZM0.819807 10.1861C0.819819 10.1861 0.81983 10.1862 0.819841 10.1862L1.24846 9.7663C1.24845 9.76629 1.24844 9.76628 1.24843 9.76628L0.819807 10.1861ZM0.819827 4.66884C0.819824 4.66884 0.819822 4.66885 0.819819 4.66885L1.24844 5.08871C1.24844 5.08871 1.24845 5.08871 1.24845 5.0887L0.819827 4.66884ZM4.56476 0.845784C4.56476 0.845786 4.56476 0.845788 4.56475 0.84579L4.99338 1.26565C4.99338 1.26565 4.99338 1.26565 4.99338 1.26564L4.56476 0.845784ZM9.98667 0.845789C9.98667 0.845788 9.98666 0.845787 9.98666 0.845785L9.55804 1.26565C9.55804 1.26565 9.55804 1.26565 9.55805 1.26565L9.98667 0.845789ZM10.8189 1.6954C10.8189 1.69538 10.8189 1.69536 10.8189 1.69535L10.3902 2.11521C10.3902 2.11522 10.3903 2.11523 10.3903 2.11524L10.8189 1.6954ZM11.1146 3.06246C11.3462 2.82606 11.411 2.44051 11.1966 2.14344L10.7101 2.49464C10.7332 2.52669 10.7385 2.58902 10.686 2.64258L11.1146 3.06246ZM9.86916 2.95685C10.1487 3.30046 10.7367 3.44829 11.1146 3.06246L10.686 2.64258C10.652 2.67732 10.6006 2.69693 10.531 2.68804C10.4586 2.67877 10.3842 2.63918 10.3346 2.57823L9.86916 2.95685ZM9.3209 1.52545C9.32089 1.52544 9.32089 1.52544 9.32089 1.52544L8.89227 1.9453C8.89227 1.9453 8.89227 1.94531 8.89228 1.94531L9.3209 1.52545ZM9.72448 2.79488C9.72448 2.79488 9.72448 2.79488 9.72449 2.79488L10.1531 2.37503C10.1531 2.37503 10.1531 2.37502 10.1531 2.37502L9.72448 2.79488Z" transform="translate(9.95154 16.0478)" fill="white" mask="url(#path-2-outside-1)"/><mask id="path-4-outside-2" maskUnits="userSpaceOnUse" x="-1" y="-1" width="13" height="14" fill="black"><rect fill="white" x="-1" y="-1" width="13" height="14"/> <path fill-rule="evenodd" clip-rule="evenodd" d="M9.10658 1.73537C9.10658 1.73537 9.10658 1.73538 9.10659 1.73538L9.93879 2.58495C9.9388 2.58495 9.9388 2.58495 9.9388 2.58496C9.99645 2.64381 10.0508 2.70475 10.1019 2.76754C10.3002 3.0113 10.6804 3.07698 10.9003 2.85252C11.0424 2.70754 11.0721 2.4836 10.9533 2.31904C10.849 2.17452 10.7327 2.03614 10.6046 1.90532C10.6046 1.9053 10.6046 1.90529 10.6045 1.90528L9.77236 1.05572C9.77236 1.05572 9.77235 1.05572 9.77235 1.05572C8.39351 -0.351905 6.15792 -0.351905 4.77907 1.05571C4.77907 1.05572 4.77907 1.05572 4.77906 1.05572L1.03414 4.87877C1.03413 4.87878 1.03413 4.87878 1.03413 4.87878C-0.344706 6.2864 -0.34471 8.56858 1.03412 9.9762C1.03413 9.97621 1.03414 9.97622 1.03415 9.97623L1.86633 10.8258C1.86634 10.8258 1.86635 10.8258 1.86636 10.8258C3.24521 12.2334 5.48072 12.2334 6.85962 10.8258C6.85963 10.8258 6.85964 10.8258 6.85964 10.8258L9.28893 8.34581C9.47006 8.1609 9.47006 7.86509 9.28893 7.68018C9.10243 7.48979 8.79591 7.48979 8.60942 7.68018L6.19386 10.1461C6.19386 10.1461 6.19386 10.1461 6.19386 10.1461C5.1827 11.1784 3.54326 11.1784 2.53215 10.1461C2.53213 10.1461 2.53211 10.1461 2.53209 10.1461L1.69991 9.29657C1.69991 9.29657 1.6999 9.29656 1.6999 9.29655C0.688737 8.2643 0.688739 6.59069 1.6999 5.55844C1.6999 5.55843 1.69991 5.55843 1.69991 5.55843L5.44484 1.73538C5.44484 1.73538 5.44484 1.73537 5.44484 1.73537C6.45601 0.703119 8.09541 0.703118 9.10658 1.73537Z"/></mask> <path fill-rule="evenodd" clip-rule="evenodd" d="M9.10658 1.73537C9.10658 1.73537 9.10658 1.73538 9.10659 1.73538L9.93879 2.58495C9.9388 2.58495 9.9388 2.58495 9.9388 2.58496C9.99645 2.64381 10.0508 2.70475 10.1019 2.76754C10.3002 3.0113 10.6804 3.07698 10.9003 2.85252C11.0424 2.70754 11.0721 2.4836 10.9533 2.31904C10.849 2.17452 10.7327 2.03614 10.6046 1.90532C10.6046 1.9053 10.6046 1.90529 10.6045 1.90528L9.77236 1.05572C9.77236 1.05572 9.77235 1.05572 9.77235 1.05572C8.39351 -0.351905 6.15792 -0.351905 4.77907 1.05571C4.77907 1.05572 4.77907 1.05572 4.77906 1.05572L1.03414 4.87877C1.03413 4.87878 1.03413 4.87878 1.03413 4.87878C-0.344706 6.2864 -0.34471 8.56858 1.03412 9.9762C1.03413 9.97621 1.03414 9.97622 1.03415 9.97623L1.86633 10.8258C1.86634 10.8258 1.86635 10.8258 1.86636 10.8258C3.24521 12.2334 5.48072 12.2334 6.85962 10.8258C6.85963 10.8258 6.85964 10.8258 6.85964 10.8258L9.28893 8.34581C9.47006 8.1609 9.47006 7.86509 9.28893 7.68018C9.10243 7.48979 8.79591 7.48979 8.60942 7.68018L6.19386 10.1461C6.19386 10.1461 6.19386 10.1461 6.19386 10.1461C5.1827 11.1784 3.54326 11.1784 2.53215 10.1461C2.53213 10.1461 2.53211 10.1461 2.53209 10.1461L1.69991 9.29657C1.69991 9.29657 1.6999 9.29656 1.6999 9.29655C0.688737 8.2643 0.688739 6.59069 1.6999 5.55844C1.6999 5.55843 1.69991 5.55843 1.69991 5.55843L5.44484 1.73538C5.44484 1.73538 5.44484 1.73537 5.44484 1.73537C6.45601 0.703119 8.09541 0.703118 9.10658 1.73537Z" transform="translate(28.9286 22.8312) rotate(-180)" fill="white"/><path d="M5.44484 1.73538L5.23053 1.52545L5.44484 1.73538ZM5.44484 1.73537L5.23053 1.52544L5.44484 1.73537ZM1.6999 5.55844L1.48559 5.3485L1.6999 5.55844ZM1.69991 5.55843L1.91422 5.76836L1.69991 5.55843ZM1.69991 9.29657L1.91422 9.08664L1.69991 9.29657ZM1.6999 9.29655L1.91421 9.08662L1.6999 9.29655ZM2.53215 10.1461L2.31784 10.3561L2.53215 10.1461ZM2.53209 10.1461L2.31778 10.356L2.53209 10.1461ZM6.19386 10.1461L5.97955 9.93618L6.19386 10.1461ZM6.19386 10.1461L6.40817 10.356L6.19386 10.1461ZM8.60942 7.68018L8.82373 7.89011L8.60942 7.68018ZM9.28893 8.34581L9.07462 8.13588L9.28893 8.34581ZM6.85962 10.8258L6.64532 10.6158L6.85962 10.8258ZM6.85964 10.8258L7.07395 11.0357L6.85964 10.8258ZM1.86633 10.8258L2.08064 10.6158L1.86633 10.8258ZM1.86636 10.8258L2.08067 10.6159L1.86636 10.8258ZM1.03412 9.9762L1.24843 9.76628L1.03412 9.9762ZM1.03415 9.97623L0.819841 10.1862L1.03415 9.97623ZM1.03414 4.87877L0.819827 4.66884L1.03414 4.87877ZM1.03413 4.87878L1.24844 5.08871L1.03413 4.87878ZM4.77907 1.05571L4.99338 1.26564L4.77907 1.05571ZM4.77906 1.05572L4.99338 1.26565L4.77906 1.05572ZM9.77236 1.05572L9.55805 1.26565L9.77236 1.05572ZM9.77235 1.05572L9.98666 0.845785L9.77235 1.05572ZM10.6046 1.90532L10.8189 1.6954L10.6046 1.90532ZM10.6045 1.90528L10.8189 1.69535L10.6045 1.90528ZM10.9533 2.31904L10.7101 2.49464L10.9533 2.31904ZM10.1019 2.76754L9.86916 2.95685L10.1019 2.76754ZM9.10659 1.73538L9.3209 1.52545L9.10659 1.73538ZM9.10658 1.73537L8.89227 1.9453L9.10658 1.73537ZM9.93879 2.58495L10.1531 2.37502L9.93879 2.58495ZM9.9388 2.58496L10.1531 2.37503L9.9388 2.58496ZM10.1531 2.37502L9.3209 1.52545L8.89228 1.94531L9.72448 2.79488L10.1531 2.37502ZM10.3346 2.57823C10.2777 2.50832 10.2172 2.4405 10.1531 2.37503L9.72449 2.79488C9.77566 2.84713 9.82388 2.90119 9.86916 2.95685L10.3346 2.57823ZM11.1966 2.14344C11.0835 1.98684 10.9576 1.83698 10.8189 1.6954L10.3903 2.11524C10.5079 2.2353 10.6145 2.3622 10.7101 2.49464L11.1966 2.14344ZM10.8189 1.69535L9.98667 0.845789L9.55805 1.26565L10.3902 2.11521L10.8189 1.69535ZM9.98666 0.845785C8.49018 -0.681928 6.06124 -0.681928 4.56476 0.845784L4.99338 1.26564C6.25459 -0.0218819 8.29683 -0.0218814 9.55804 1.26565L9.98666 0.845785ZM4.56475 0.84579L0.819827 4.66884L1.24845 5.0887L4.99338 1.26565L4.56475 0.84579ZM0.819819 4.66885C-0.673269 6.1931 -0.673273 8.66187 0.819807 10.1861L1.24843 9.76628C-0.0161474 8.47529 -0.016144 6.37969 1.24844 5.08871L0.819819 4.66885ZM0.819841 10.1862L1.65203 11.0357L2.08064 10.6158L1.24846 9.7663L0.819841 10.1862ZM1.65205 11.0357C3.14854 12.5634 5.57739 12.5634 7.07393 11.0357L6.64532 10.6158C5.38405 11.9034 3.34188 11.9034 2.08067 10.6159L1.65205 11.0357ZM7.07395 11.0357L9.50324 8.55574L9.07462 8.13588L6.64533 10.6158L7.07395 11.0357ZM6.40817 10.356L8.82373 7.89011L8.39511 7.47025L5.97955 9.93618L6.40817 10.356ZM2.31784 10.3561C3.44659 11.5084 5.27938 11.5084 6.40817 10.356L5.97955 9.93618C5.08603 10.8483 3.63993 10.8483 2.74646 9.93621L2.31784 10.3561ZM1.48561 9.50651L2.31778 10.356L2.7464 9.93615L1.91422 9.08664L1.48561 9.50651ZM1.48559 5.3485C0.360176 6.49739 0.360173 8.35759 1.48559 9.50648L1.91421 9.08662C1.0173 8.171 1.0173 6.68399 1.91421 5.76837L1.48559 5.3485ZM5.23053 1.52545L1.4856 5.3485L1.91422 5.76836L5.65915 1.94531L5.23053 1.52545ZM9.32089 1.52544C8.19208 0.373095 6.35934 0.373096 5.23053 1.52544L5.65915 1.9453C6.55268 1.03314 7.99874 1.03314 8.89227 1.9453L9.32089 1.52544ZM5.65915 1.94531C5.65915 1.94531 5.65915 1.94531 5.65915 1.9453L5.23053 1.52544C5.23053 1.52544 5.23053 1.52544 5.23053 1.52545L5.65915 1.94531ZM1.91421 5.76837C1.91421 5.76837 1.91422 5.76836 1.91422 5.76836L1.4856 5.3485C1.4856 5.3485 1.48559 5.3485 1.48559 5.3485L1.91421 5.76837ZM1.91422 9.08664C1.91422 9.08663 1.91421 9.08663 1.91421 9.08662L1.48559 9.50648C1.48559 9.50649 1.4856 9.5065 1.48561 9.50651L1.91422 9.08664ZM2.74646 9.93621C2.74644 9.93619 2.74642 9.93617 2.7464 9.93615L2.31778 10.356C2.3178 10.356 2.31782 10.356 2.31784 10.3561L2.74646 9.93621ZM5.97955 9.93618C5.97955 9.93618 5.97955 9.93618 5.97955 9.93618L6.40817 10.356C6.40817 10.356 6.40817 10.356 6.40817 10.356L5.97955 9.93618ZM9.50324 7.47025C9.1991 7.15977 8.69924 7.15977 8.39511 7.47025L8.82373 7.89011C8.89259 7.81981 9.00576 7.81981 9.07462 7.89011L9.50324 7.47025ZM9.50324 8.55574C9.79862 8.25419 9.79862 7.77179 9.50324 7.47025L9.07462 7.89011C9.1415 7.95838 9.1415 8.0676 9.07462 8.13588L9.50324 8.55574ZM7.07393 11.0357C7.07394 11.0357 7.07395 11.0357 7.07395 11.0357L6.64533 10.6158C6.64533 10.6158 6.64532 10.6158 6.64532 10.6158L7.07393 11.0357ZM1.65203 11.0357C1.65203 11.0357 1.65204 11.0357 1.65205 11.0357L2.08067 10.6159C2.08066 10.6158 2.08065 10.6158 2.08064 10.6158L1.65203 11.0357ZM0.819807 10.1861C0.819819 10.1861 0.81983 10.1862 0.819841 10.1862L1.24846 9.7663C1.24845 9.76629 1.24844 9.76628 1.24843 9.76628L0.819807 10.1861ZM0.819827 4.66884C0.819824 4.66884 0.819822 4.66885 0.819819 4.66885L1.24844 5.08871C1.24844 5.08871 1.24845 5.08871 1.24845 5.0887L0.819827 4.66884ZM4.56476 0.845784C4.56476 0.845786 4.56476 0.845788 4.56475 0.84579L4.99338 1.26565C4.99338 1.26565 4.99338 1.26565 4.99338 1.26564L4.56476 0.845784ZM9.98667 0.845789C9.98667 0.845788 9.98666 0.845787 9.98666 0.845785L9.55804 1.26565C9.55804 1.26565 9.55804 1.26565 9.55805 1.26565L9.98667 0.845789ZM10.8189 1.6954C10.8189 1.69538 10.8189 1.69536 10.8189 1.69535L10.3902 2.11521C10.3902 2.11522 10.3903 2.11523 10.3903 2.11524L10.8189 1.6954ZM11.1146 3.06246C11.3462 2.82606 11.411 2.44051 11.1966 2.14344L10.7101 2.49464C10.7332 2.52669 10.7385 2.58902 10.686 2.64258L11.1146 3.06246ZM9.86916 2.95685C10.1487 3.30046 10.7367 3.44829 11.1146 3.06246L10.686 2.64258C10.652 2.67732 10.6006 2.69693 10.531 2.68804C10.4586 2.67877 10.3842 2.63918 10.3346 2.57823L9.86916 2.95685ZM9.3209 1.52545C9.32089 1.52544 9.32089 1.52544 9.32089 1.52544L8.89227 1.9453C8.89227 1.9453 8.89227 1.94531 8.89228 1.94531L9.3209 1.52545ZM9.72448 2.79488C9.72448 2.79488 9.72448 2.79488 9.72449 2.79488L10.1531 2.37503C10.1531 2.37503 10.1531 2.37502 10.1531 2.37502L9.72448 2.79488Z" transform="translate(28.9286 22.8312) rotate(-180)" fill="white" mask="url(#path-4-outside-2)"/>';
102
+ text+='</svg>';
103
+ text+='</a>';
104
+ text+='<div class="chaty-widget-i-title">';
105
+ text+='<p>Link<p>';
106
+ text+='</div>';
107
+ text+='</div>';
108
+
109
+ }
110
+
111
+ if(key == 'email'){
112
+
113
+ text+='<div class="chaty-widget-i" data-title="'+settings.object_settings.social.email+'">';
114
+ text+='<a href="mailto:'+settings.object_settings.social.email+'">'
115
+ text+='<svg class="ico_d" width="39" height="39" viewBox="0 0 39 39" fill="none" xmlns="http://www.w3.org/2000/svg">';
116
+ text+='<circle class="color-element" cx="19.5" cy="19.5" r="19.5" fill="#FF485F"/>';
117
+ text+=' <path d="M20.5379 14.2557H1.36919C0.547677 14.2557 0 13.7373 0 12.9597V1.29597C0 0.518387 0.547677 0 1.36919 0H20.5379C21.3594 0 21.9071 0.518387 21.9071 1.29597V12.9597C21.9071 13.7373 21.3594 14.2557 20.5379 14.2557ZM20.5379 12.9597V13.6077V12.9597ZM1.36919 1.29597V12.9597H20.5379V1.29597H1.36919Z" transform="translate(8.48619 12.3117)" fill="white"/> <path d="M10.9659 8.43548C10.829 8.43548 10.692 8.43548 10.5551 8.30588L0.286184 1.17806C0.012346 0.918864 -0.124573 0.530073 0.149265 0.270879C0.423104 0.0116857 0.833862 -0.117911 1.1077 0.141283L10.9659 7.00991L20.8241 0.141283C21.0979 -0.117911 21.5087 0.0116857 21.7825 0.270879C22.0563 0.530073 21.9194 0.918864 21.6456 1.17806L11.3766 8.30588C11.2397 8.43548 11.1028 8.43548 10.9659 8.43548Z" transform="translate(8.47443 12.9478)" fill="white"/> <path d="M9.0906 7.13951C8.95368 7.13951 8.81676 7.13951 8.67984 7.00991L0.327768 1.17806C-0.0829894 0.918864 -0.0829899 0.530073 0.190849 0.270879C0.327768 0.0116855 0.738525 -0.117911 1.14928 0.141282L9.50136 5.97314C9.7752 6.23233 9.91212 6.62112 9.63828 6.88032C9.50136 7.00991 9.36444 7.13951 9.0906 7.13951Z" transform="translate(20.6183 18.7799)" fill="white"/> <path d="M0.696942 7.13951C0.423104 7.13951 0.286185 7.00991 0.149265 6.88032C-0.124573 6.62112 0.012346 6.23233 0.286185 5.97314L8.63826 0.141282C9.04902 -0.117911 9.45977 0.0116855 9.59669 0.270879C9.87053 0.530073 9.73361 0.918864 9.45977 1.17806L1.1077 7.00991C0.970781 7.13951 0.833862 7.13951 0.696942 7.13951Z" transform="translate(8.47443 18.7799)" fill="white"/>'
118
+ text+='</svg>';
119
+ text+='</a>';
120
+ text+='<div class="chaty-widget-i-title">';
121
+ text+='<p>Email</p>';
122
+ text+='</div>';
123
+ text+='</div>';
124
+
125
+ }
126
+ if(key == 'poptin'){
127
+
128
+ text+='<div class="chaty-widget-i" data-title="'+settings.object_settings.social.poptin+'">';
129
+ text+='<a href="'+settings.object_settings.social.poptin+'">'
130
+ text+='<svg class="ico_d" width="39" height="39" viewBox="0 0 39 39" fill="none" xmlns="http://www.w3.org/2000/svg">';
131
+ text+='<circle class="color-element" cx="19.5" cy="19.5" r="19.5" fill="#47A2B1"/>';
132
+ text+=' <rect width="21.351" height="17.0808" rx="1.73931" transform="translate(8.76428 12.1953)" fill="white"/> <rect width="18.2112" height="1.83009" rx="0.915044" transform="translate(10.0203 17.6851)" fill="#F2F2F2"/> <rect width="15.0713" height="1.83009" rx="0.915044" transform="translate(10.0203 20.1256)" fill="#F2F2F2"/> <rect width="8.16363" height="1.83009" rx="0.915044" transform="translate(15.0443 24.3958)" fill="#E0E0E0"/> <path d="M0 1.74C0 0.779025 0.779024 0 1.74 0H19.611C20.572 0 21.351 0.779025 21.351 1.74V3.20266H0V1.74Z" transform="translate(8.76428 12.1953)" fill="#E0E0E0"/>';
133
+ text+='</svg>';
134
+ text+='</a>';
135
+ text+='<div class="chaty-widget-i-title">';
136
+ text+='<p><span class="mobile_none">Contact us</p>';
137
+ text+='</div>';
138
+ text+='</div>';
139
+
140
+ }
141
+
142
+ if(key == 'skype'){
143
+
144
+ text+='<div class="chaty-widget-i" data-title="'+settings.object_settings.social.skype+'">';
145
+ text+='<a href="skype:'+settings.object_settings.social.skype+'?chat">'
146
+ text+='<svg class="ico_d" width="39" height="39" viewBox="0 0 39 39" fill="none" xmlns="http://www.w3.org/2000/svg">';
147
+ text+='<circle class="color-element" cx="19.5" cy="19.5" r="19.5" fill="#03A9F4"/>';
148
+ text+='<path fill-rule="evenodd" clip-rule="evenodd" d="M10.5634 0.777588C16.0406 0.777588 20.4747 5.05426 20.4747 10.4973C20.4747 11.1453 20.4747 11.9229 20.0834 12.5709C20.4747 13.2189 20.7355 14.1261 20.7355 15.0332C20.7355 18.1436 18.1273 20.7355 14.9974 20.7355C13.9541 20.7355 13.0412 20.4763 12.2587 20.0875C11.6067 20.2171 11.085 20.2171 10.433 20.2171C4.95566 20.2171 0.521637 15.9404 0.521637 10.4973C0.521637 9.84955 0.652008 9.20175 0.782349 8.55392L0.782471 8.55338C0.260834 7.77582 0 6.73904 0 5.70227C0 2.59195 2.60825 0 5.73813 0C6.91183 0 7.95514 0.388794 8.86801 0.907166C9.38965 0.777588 10.0417 0.777588 10.5634 0.777588ZM13.5627 16.718C14.4756 16.3292 15.1276 15.8108 15.6493 15.1628C16.1709 14.5149 16.3013 13.7373 16.0405 12.9597C16.0405 12.3117 15.9101 11.7933 15.6493 11.2749C15.3884 10.7565 14.9972 10.3677 14.4756 10.1086L14.4752 10.1084C13.9536 9.84924 13.4321 9.59012 12.7802 9.33096C12.5034 9.27597 12.2031 9.1976 11.8893 9.11572C11.4638 9.0047 11.0135 8.88718 10.5632 8.81259C10.1953 8.66635 9.86893 8.60263 9.60748 8.55157C9.40552 8.51215 9.24231 8.48029 9.12866 8.4238C8.86792 8.4238 8.60721 8.29428 8.34647 8.16473L8.34619 8.16461C8.08536 8.035 7.82455 7.90543 7.69412 7.77582C7.43329 7.64621 7.43329 7.51663 7.43329 7.25742C7.43329 6.86862 7.69412 6.60944 8.08536 6.35025C8.47659 6.09106 9.12866 5.96146 9.78073 5.96146C10.5632 5.96146 11.0848 6.09106 11.4761 6.35025C11.8673 6.60944 12.1281 6.86865 12.3889 7.38702C12.6497 7.77563 12.9104 8.03476 13.0408 8.16443L13.041 8.16461C13.3018 8.29419 13.5627 8.4238 13.9539 8.4238C14.3451 8.4238 14.7364 8.29419 14.9972 8.035C15.258 7.77582 15.3884 7.51663 15.3884 7.12784C15.3884 6.73904 15.3884 6.35025 15.1276 5.96146C15.0313 5.67429 14.7927 5.45782 14.5169 5.20764C14.4193 5.11908 14.317 5.02631 14.2147 4.92468C13.6931 4.6655 13.1714 4.40631 12.5194 4.14709C11.8673 4.01752 11.0848 3.88791 10.172 3.88791C9.12866 3.88791 8.08536 4.01752 7.30289 4.2767C6.39001 4.53589 5.73795 5.05429 5.34671 5.57266C4.95547 6.09106 4.69464 6.73904 4.69464 7.51663C4.69464 8.29419 4.95547 8.9422 5.34671 9.46057C5.73795 9.97897 6.39001 10.3677 7.04205 10.627C7.69412 10.8861 8.60703 11.1453 9.6503 11.4045C10.4328 11.5341 11.0848 11.6637 11.4761 11.7933C11.8673 11.9229 12.2585 12.0525 12.5194 12.3117C12.7802 12.5709 12.9106 12.8301 12.9106 13.2189C12.9106 13.6077 12.6498 13.9965 12.1281 14.3853C11.6065 14.774 10.9544 14.9036 10.172 14.9036C9.6503 14.9036 9.12866 14.774 8.73743 14.6444C8.47659 14.5149 8.21576 14.2556 7.95496 13.9965C7.91547 13.918 7.86407 13.8277 7.80792 13.7291C7.67859 13.5019 7.52423 13.2308 7.43329 12.9597C7.40817 12.9098 7.38306 12.855 7.35703 12.7983C7.24783 12.5604 7.12225 12.2867 6.91165 12.1821C6.65085 12.0525 6.39001 11.9229 5.99878 11.9229C5.60754 11.9229 5.21631 12.0525 4.95547 12.3117C4.69464 12.5709 4.56424 12.8301 4.56424 13.2189C4.56424 13.8669 4.82507 14.3853 5.21631 15.0332C5.73795 15.6812 6.25961 16.07 6.91165 16.4588C7.82455 16.9772 8.99823 17.2364 10.4328 17.2364C11.6065 17.2364 12.6498 17.1068 13.5627 16.718Z" transform="translate(9.07178 9.07178)" fill="white"/>'
149
+ text+='</svg>';
150
+ text+='</a>';
151
+ text+='<div class="chaty-widget-i-title">';
152
+ text+='<p>Skype</p>';
153
+ text+='</div>';
154
+ text+='</div>';
155
+
156
+ }
157
+ if(key == 'sms'){
158
+ text+='<div class="chaty-widget-i" data-title="'+settings.object_settings.social.sms+'">';
159
+ text+='<a href="sms:'+settings.object_settings.social.sms+'">'
160
+ text+='<svg class="ico_d" width="39" height="39" viewBox="0 0 39 39" fill="none" xmlns="http://www.w3.org/2000/svg">';
161
+ text+='<circle class="color-element" cx="19.5" cy="19.5" r="19.5" fill="#FF549C"/>';
162
+ text+='<path fill-rule="evenodd" clip-rule="evenodd" d="M2.60298 0H16.9194C18.351 0 19.5224 1.19321 19.5224 2.65158V14.5838C19.5224 16.0421 18.351 17.2354 16.9194 17.2354H7.4185L3.64418 20.4173C3.51402 20.5499 3.38388 20.5499 3.25372 20.5499H2.99344C2.73314 20.4173 2.60298 20.1521 2.60298 19.887V17.2354C1.17134 17.2354 0 16.0421 0 14.5838V2.65158C0 1.19321 1.17134 0 2.60298 0ZM2.60316 11.2696C2.60316 11.6673 2.86346 11.9325 3.25391 11.9325H4.5554C5.5966 11.9325 6.50764 11.0044 6.50764 9.94376C6.50764 8.88312 5.5966 7.95505 4.5554 7.95505C4.16496 7.95505 3.90465 7.68991 3.90465 7.29218C3.90465 6.89441 4.16496 6.62927 4.5554 6.62927H5.85689C6.24733 6.62927 6.50764 6.36411 6.50764 5.96637C6.50764 5.56863 6.24733 5.30347 5.85689 5.30347H4.5554C3.51421 5.30347 2.60316 6.23154 2.60316 7.29218C2.60316 8.35281 3.51421 9.28085 4.5554 9.28085C4.94585 9.28085 5.20613 9.54602 5.20613 9.94376C5.20613 10.3415 4.94585 10.6067 4.5554 10.6067H3.25391C2.86346 10.6067 2.60316 10.8718 2.60316 11.2696ZM14.9678 11.9325H13.6664C13.2759 11.9325 13.0156 11.6673 13.0156 11.2696C13.0156 10.8718 13.2759 10.6067 13.6664 10.6067H14.9678C15.3583 10.6067 15.6186 10.3415 15.6186 9.94376C15.6186 9.54602 15.3583 9.28085 14.9678 9.28085C13.9267 9.28085 13.0156 8.35281 13.0156 7.29218C13.0156 6.23154 13.9267 5.30347 14.9678 5.30347H16.2693C16.6598 5.30347 16.9201 5.56863 16.9201 5.96637C16.9201 6.36411 16.6598 6.62927 16.2693 6.62927H14.9678C14.5774 6.62927 14.3171 6.89441 14.3171 7.29218C14.3171 7.68991 14.5774 7.95505 14.9678 7.95505C16.009 7.95505 16.9201 8.88312 16.9201 9.94376C16.9201 11.0044 16.009 11.9325 14.9678 11.9325ZM10.4126 11.2697C10.4126 11.6674 10.6729 11.9326 11.0633 11.9326C11.4538 11.9326 11.7141 11.6674 11.8442 11.2697V5.96649C11.8442 5.70135 11.5839 5.43619 11.3236 5.30362C10.9332 5.30362 10.6729 5.43619 10.5427 5.70135L9.76186 7.15973L8.98094 5.70135C8.85081 5.43619 8.46034 5.17102 8.20006 5.30362C7.93977 5.43619 7.67946 5.70135 7.67946 5.96649V11.2697C7.67946 11.6674 7.93977 11.9326 8.33022 11.9326C8.72066 11.9326 8.98094 11.6674 8.98094 11.2697V8.75067L9.1111 8.88327C9.37138 9.28101 10.0221 9.28101 10.2825 8.88327L10.4126 8.75067V11.2697Z" transform="translate(9.67801 10.4601)" fill="white"/>';
163
+ text+='</svg>';
164
+ text+='</a>';
165
+ text+='<div class="chaty-widget-i-title">';
166
+ text+='<p>SMS</p>';
167
+ text+='</div>';
168
+ text+='</div>';
169
+ }
170
+ if( key == 'snapchat'){
171
+
172
+ text+='<div class="chaty-widget-i" data-title="'+settings.object_settings.social.snapchat+'">';
173
+ text+='<svg class="ico_d" width="39" height="39" viewBox="0 0 39 39" fill="none" xmlns="http://www.w3.org/2000/svg">';
174
+ text+='<circle class="color-element" cx="19.5" cy="19.5" r="19.5" fill="#FFE81D"/>';
175
+ text+='<path d="M21.5684 15.5864C18.7017 15.0298 17.3366 12.1073 17.3366 11.9681C17.2001 11.6898 17.2001 11.4115 17.2001 11.2723C17.3366 10.8548 18.0191 10.7157 18.4287 10.5765C18.5652 10.5765 18.7017 10.4373 18.7017 10.4373C19.1112 10.2982 19.3842 10.159 19.5207 9.88067C19.7938 9.60234 19.7938 9.46318 19.7938 9.32402C19.7938 8.90652 19.5207 8.62819 19.1112 8.48903C18.9747 8.48903 18.8382 8.34986 18.7017 8.34986C18.5652 8.34986 18.4287 8.34986 18.2922 8.48903C17.8826 8.62819 17.6096 8.76736 17.3366 8.76736C17.2001 8.76736 17.0636 8.76736 17.0636 8.76736C17.0636 8.62819 17.0636 8.48903 17.0636 8.34986C17.2001 6.81906 17.3366 5.00992 16.7906 3.8966C16.5175 3.20078 15.9715 2.50496 15.4255 1.9483C15.016 1.53081 14.4699 1.11332 13.7874 0.834987C12.6953 4.97691e-07 11.7397 0 11.3302 0C11.1937 0 10.9207 0 10.9207 0C10.3747 0 9.4191 0.139164 8.46354 0.556657C7.9175 0.834986 7.37147 1.25248 6.82544 1.66997C6.2794 2.22663 5.86988 2.92245 5.46035 3.61827C4.91431 4.73159 5.05082 6.54073 5.18733 8.07153C5.18733 8.2107 5.18733 8.34986 5.18733 8.62819C5.05082 8.62819 5.05082 8.62819 4.77781 8.62819C4.50479 8.62819 4.23177 8.48903 3.82224 8.34986C3.68574 8.34986 3.54923 8.2107 3.41272 8.2107C3.1397 8.2107 3.00319 8.2107 2.73018 8.34986C2.45716 8.48903 2.32065 8.76736 2.32065 8.90652C2.32065 9.04568 2.32065 9.32401 2.59366 9.74151C2.73017 9.88067 3.00319 10.0198 3.41272 10.159C3.54923 10.159 3.54922 10.2982 3.68573 10.2982C4.09526 10.4373 4.6413 10.5765 4.91431 10.994C5.05082 11.1332 4.91431 11.4115 4.77781 11.6898C4.77781 11.829 4.36828 12.5248 3.68573 13.3598C3.27621 13.7773 2.86668 14.1948 2.32065 14.6123C1.77461 15.0298 1.09207 15.3081 0.409527 15.3081C0.13651 15.3081 2.08296e-06 15.5864 2.08296e-06 15.8647C2.08296e-06 16.0039 2.08296e-06 16.0039 2.08296e-06 16.1431C0.136511 16.4214 0.409528 16.5606 0.682546 16.8389C1.22858 17.1172 1.91112 17.2564 2.86668 17.3955C2.86668 17.5347 3.00319 17.6739 3.00319 17.813C3.00319 17.9522 3.1397 18.0914 3.1397 18.3697C3.1397 18.5089 3.41272 18.7872 3.68573 18.7872C3.82224 18.7872 3.95875 18.7872 4.23177 18.648C4.50479 18.648 4.91431 18.5089 5.32384 18.5089C5.59686 18.5089 5.86988 18.5089 6.14289 18.648C6.68893 18.7872 7.09845 19.0655 7.64449 19.483C8.46354 20.0397 9.28259 20.7355 10.6477 20.7355H10.7842H10.9207C12.2858 20.7355 13.1048 20.0397 13.9239 19.483C14.4699 19.0655 14.8794 18.7872 15.4255 18.648C15.6985 18.648 15.9715 18.5089 16.2445 18.5089C16.6541 18.5089 17.0636 18.5089 17.3366 18.648C17.6096 18.648 17.7461 18.648 17.8826 18.648C18.1557 18.648 18.4287 18.5089 18.4287 18.2305C18.4287 18.0914 18.5652 17.9522 18.5652 17.6739C18.5652 17.5347 18.7017 17.2564 18.7017 17.2564C19.6572 17.1172 20.3398 16.9781 20.8858 16.6997C21.2954 16.5606 21.5684 16.2822 21.5684 16.0039C21.5684 15.8647 21.5684 15.8647 21.5684 15.7256C21.9779 15.8647 21.8414 15.5864 21.5684 15.5864Z" transform="translate(8.52631 9.07178)" fill="white"/>';
176
+ text+='</svg>';
177
+
178
+ text+='<div class="chaty-widget-i-title">';
179
+ text+='Contact me at Snapchat: '+settings.object_settings.social.snapchat;
180
+ text+='</div>';
181
+ text+='</div>';
182
+
183
+ }
184
+ if(key == 'telegram'){
185
+ text+='<div class="chaty-widget-i" data-title="'+settings.object_settings.social.telegram+'">';
186
+ text+='<a href="https://telegram.me/'+settings.object_settings.social.telegram+' " target="_blank">'
187
+ text+='<svg class="ico_d" width="39" height="39" viewBox="0 0 39 39" fill="none" xmlns="http://www.w3.org/2000/svg">';
188
+ text+='<circle class="color-element" cx="19.5" cy="19.5" r="19.5" fill="#3E99D8"/>';
189
+ text+='<path d="M3.56917 -2.55497e-07L0 6.42978L7.5349 1.87535L3.56917 -2.55497e-07Z" transform="translate(13.9704 24.6145)" fill="#E0E0E0"/><path d="M20.8862 0.133954C20.754 0 20.4897 0 20.2253 0L0.396574 8.03723C0.132191 8.17118 0 8.43909 0 8.707C0 8.97491 0.132191 9.24282 0.396574 9.37677L17.5814 17.414C17.7136 17.414 17.7136 17.414 17.8458 17.414C17.978 17.414 18.1102 17.414 18.1102 17.28C18.2424 17.1461 18.3746 17.0121 18.5068 16.7442L21.1506 0.669769C21.1506 0.535815 21.1506 0.267908 20.8862 0.133954Z" transform="translate(7.36069 10.9512)" fill="white"/> <path d="M13.8801 0L0 11.52V19.4233L3.70136 13.2614L13.8801 0Z" transform="translate(13.9704 11.6208)" fill="#F2F2F2"/>';
190
+ text+='</svg>';
191
+ text+='</a>';
192
+ text+='<div class="chaty-widget-i-title">';
193
+ text+='<a href="https://telegram.me/'+settings.object_settings.social.telegram+'"target="_blank">Telegram</a>';
194
+ text+='</div>';
195
+ text+='</div>';
196
+ }
197
+ if(key == 'phone'){
198
+ text+='<div class="chaty-widget-i" >';
199
+ text+='<a href="tel:'+settings.object_settings.social.phone+'">'
200
+ text+='<svg class="ico_d" width="39" height="39" viewBox="0 0 39 39" fill="none" xmlns="http://www.w3.org/2000/svg">';
201
+ text+='<circle class="color-element" cx="19.5" cy="19.5" r="19.5" fill="#03E78B"/>';
202
+ text+='<path d="M19.3929 14.9176C17.752 14.7684 16.2602 14.3209 14.7684 13.7242C14.0226 13.4259 13.1275 13.7242 12.8292 14.4701L11.7849 16.2602C8.65222 14.6193 6.11623 11.9341 4.47529 8.95057L6.41458 7.90634C7.16046 7.60799 7.45881 6.71293 7.16046 5.96705C6.56375 4.47529 6.11623 2.83435 5.96705 1.34259C5.96705 0.596704 5.22117 0 4.47529 0H0.745882C0.298353 0 5.69062e-07 0.298352 5.69062e-07 0.745881C5.69062e-07 3.72941 0.596704 6.71293 1.93929 9.3981C3.87858 13.575 7.30964 16.8569 11.3374 18.7962C14.0226 20.1388 17.0061 20.7355 19.9896 20.7355C20.4371 20.7355 20.7355 20.4371 20.7355 19.9896V16.4094C20.7355 15.5143 20.1388 14.9176 19.3929 14.9176Z" transform="translate(9.07179 9.07178)" fill="white"/>';
203
+ text+='</svg>';
204
+ text+='</a>';
205
+ text+='<div class="chaty-widget-i-title">';
206
+ text+='<p>Phone</p>';
207
+ text+='</div>';
208
+ text+='</div>';
209
+ }
210
+ if(key == 'viber'){
211
+ text+='<div class="chaty-widget-i" data-title="'+settings.object_settings.social.viber+'">';
212
+ text+='<a href="viber://chat?number='+settings.object_settings.social.viber+'" target="_blank">'
213
+ text+='<svg class="ico_d" width="39" height="39" viewBox="0 0 39 39" fill="none" xmlns="http://www.w3.org/2000/svg">';
214
+ text+='<circle class="color-element" cx="19.5" cy="19.5" r="19.5" fill="#665CAC"/>';
215
+ text+='<path d="M17.6837 2.14833C17.16 1.64578 15.0497 0.0389578 10.3496 0.0158143C10.3496 0.0158143 4.80418 -0.334645 2.10085 2.26405C0.596193 3.84111 0.0662511 6.14886 0.0126261 9.01205C-0.0441534 11.8752 -0.116705 17.2346 4.8168 18.6894H4.81995L4.8168 20.9078C4.8168 20.9078 4.78525 21.8071 5.3499 21.989C6.03125 22.2105 6.43186 21.5294 7.08482 20.7921C7.44127 20.3888 7.93651 19.7936 8.30874 19.3407C11.6808 19.6382 14.2769 18.9572 14.5702 18.858C15.2516 18.6265 19.1063 18.1075 19.7309 12.7481C20.3775 7.22338 19.4154 3.7254 17.6837 2.14833ZM18.2546 12.3513C17.7247 16.828 14.5986 17.1123 14.0245 17.3041C13.7785 17.3867 11.501 17.9818 8.63679 17.7835C8.63679 17.7835 6.50126 20.4813 5.83567 21.1856C5.73158 21.2947 5.60856 21.341 5.52654 21.3178C5.41298 21.2881 5.38144 21.1459 5.38144 20.9376C5.38459 20.64 5.40037 17.2512 5.40037 17.2512C5.39721 17.2512 5.39721 17.2512 5.40037 17.2512C1.23023 16.0378 1.47312 11.4719 1.52044 9.08148C1.56775 6.69108 1.99675 4.73379 3.26798 3.41792C5.55493 1.24904 10.2645 1.57305 10.2645 1.57305C14.2422 1.59288 16.1475 2.84594 16.5891 3.26583C18.0527 4.58501 18.8003 7.73585 18.2546 12.3513Z" transform="translate(9.47299 8.4238)" fill="white"/> <path d="M1.58982 1.72254C1.53935 0.628182 1.00941 0.0562059 0 1.00898e-07" transform="translate(20.166 15.5914)" stroke="white" stroke-width="0.518873" stroke-linecap="round" stroke-linejoin="round"/> <path d="M3.35945 3.69636C3.38153 2.67804 3.09448 1.82834 2.49514 1.14395C1.8958 0.459565 1.06619 0.0793496 1.9253e-07 2.01796e-07" transform="translate(19.7592 14.0966)" stroke="white" stroke-width="0.518873" stroke-linecap="round" stroke-linejoin="round"/> <path d="M5.22371 5.71646C5.21109 3.94763 4.70639 2.55902 3.71275 1.5407C2.71911 0.525689 1.47942 0.00991877 -3.8506e-07 1.00898e-07" transform="translate(19.2931 12.6479)" stroke="white" stroke-width="0.518873" stroke-linecap="round" stroke-linejoin="round"/> <path d="M6.35738 8.04532C6.35738 8.04532 6.73276 8.07838 6.93149 7.81719L7.32263 7.30142C7.5119 7.04353 7.96929 6.88153 8.41722 7.14272C8.66641 7.2915 9.11434 7.57914 9.39193 7.79405C9.68844 8.02218 10.2972 8.55448 10.2972 8.55448C10.5875 8.80906 10.6537 9.18597 10.4581 9.58271C10.4581 9.58602 10.455 9.58933 10.455 9.58933C10.2531 9.96293 9.9818 10.3167 9.63797 10.644C9.63482 10.6473 9.63482 10.6473 9.63167 10.6506C9.35092 10.8953 9.07333 11.0375 8.80205 11.0705C8.77051 11.0771 8.7295 11.0804 8.68219 11.0771C8.56232 11.0771 8.44561 11.0606 8.32889 11.0209L8.31943 11.0077C7.89989 10.8854 7.20277 10.5746 6.03879 9.90342C5.28173 9.467 4.654 9.02066 4.12406 8.57762C3.84331 8.34619 3.55626 8.08169 3.2629 7.77752C3.25344 7.7676 3.24398 7.75768 3.23451 7.74776C3.22505 7.73784 3.21559 7.72792 3.20612 7.718C3.19666 7.70808 3.1872 7.69817 3.17773 7.68825C3.16827 7.67833 3.15881 7.66841 3.14934 7.65849C2.85914 7.35101 2.60678 7.05015 2.38597 6.75589C1.96328 6.20045 1.53744 5.5392 1.12105 4.74902C0.480708 3.52902 0.184194 2.79834 0.0674803 2.35862L0.0548623 2.3487C0.0170094 2.22637 -0.00191702 2.10404 0.0012374 1.9784C-0.00191702 1.92881 0.0012373 1.88583 0.00754613 1.85276C0.0390903 1.56843 0.17473 1.27748 0.408157 0.983227C0.411312 0.979921 0.411311 0.979921 0.414466 0.976615C0.726753 0.616237 1.06112 0.331902 1.42072 0.120304C1.42388 0.120304 1.42703 0.116997 1.42703 0.116997C1.80556 -0.0879887 2.16517 -0.0185578 2.40806 0.285615C2.41121 0.288921 2.91592 0.923716 3.13357 1.2345C3.33861 1.52875 3.6162 1.99493 3.75499 2.25612C4.00419 2.72561 3.84962 3.20501 3.60358 3.40338L3.11149 3.81335C2.86229 4.02495 2.89384 4.41509 2.89384 4.41509C2.89384 4.41509 3.62566 7.31464 6.35738 8.04532Z" transform="translate(13.863 13.0014)" fill="white"/>';
216
+ text+='</svg>';
217
+ text+='</a>';
218
+ text+='<div class="chaty-widget-i-title">';
219
+ text+='<p>Viber</p>';
220
+ text+='</div>';
221
+ text+='</div>';
222
+ }
223
+ if(key == 'vkontakte'){
224
+ text+='<div class="chaty-widget-i" data-title="'+settings.object_settings.social.vkontakte+'">';
225
+ text+='<a href="https://vk.me/'+settings.object_settings.social.vkontakte+'"target="_blank">'
226
+ text+='<svg class="ico_d" width="39" height="39" viewBox="0 0 39 39" fill="none" xmlns="http://www.w3.org/2000/svg">';
227
+ text+='<circle class="color-element" cx="19.5" cy="19.5" r="19.5" fill="#5076AA"/>';
228
+ text+='<path d="M11.0953 12.4775H12.5097C12.5097 12.4775 12.934 12.4774 13.0755 12.1971C13.2169 12.0569 13.2169 11.6363 13.2169 11.6363C13.2169 11.6363 13.2169 9.81373 14.0656 9.53334C14.9142 9.25294 15.9043 11.2157 17.0359 12.0569C17.8845 12.6176 18.5917 12.4775 18.5917 12.4775H21.562C21.562 12.4775 23.1178 12.3373 22.4106 11.2157C22.4106 11.0755 21.9863 10.2343 20.1476 8.69216C18.3088 7.0098 18.4503 7.29019 20.8548 4.20588C22.2692 2.38333 22.835 1.26176 22.6935 0.700978C22.5521 0.28039 21.562 0.42059 21.562 0.42059H18.1674C18.1674 0.42059 17.8845 0.420588 17.7431 0.560784C17.6016 0.70098 17.4602 0.981371 17.4602 0.981371C17.4602 0.981371 16.8944 2.38333 16.1872 3.6451C14.6313 6.16863 14.0656 6.30882 13.7827 6.16863C13.2169 5.74804 13.3584 4.62647 13.3584 3.92549C13.3584 1.40196 13.7827 0.420589 12.6512 0.140197C12.2268 1.06543e-06 11.944 -2.13922e-06 11.0953 -2.13922e-06C9.82233 -2.13922e-06 8.83224 -1.06543e-06 8.26647 0.280391C7.84215 0.420587 7.55927 0.841177 7.70071 0.841177C7.9836 0.841177 8.40792 0.98137 8.6908 1.40196C8.97368 1.82255 8.97368 2.94412 8.97368 2.94412C8.97368 2.94412 9.11513 5.88824 8.54936 6.16863C8.12503 6.44902 7.41783 5.88824 6.14485 3.6451C5.43764 2.52353 4.87188 1.12157 4.87188 1.12157C4.87188 1.12157 4.73044 0.841174 4.589 0.700978C4.30611 0.560782 4.02323 0.560784 4.02323 0.560784H0.770071C0.770071 0.560784 0.345746 0.560785 0.0628629 0.841177C-0.0785787 0.981374 0.0628629 1.40196 0.0628629 1.40196C0.0628629 1.40196 2.60881 7.2902 5.43764 10.2343C8.12503 12.7578 11.0953 12.4775 11.0953 12.4775Z" transform="translate(6.78613 14.4898)" fill="white"/>';
229
+ text+='</svg>';
230
+ text+='</a>'
231
+ text+='<div class="chaty-widget-i-title">';
232
+ text+='<p>Vkontakte</p>';
233
+ text+='</div>';
234
+ text+='</div>';
235
+ }
236
+ if(key == 'waze'){
237
+ text+='<div class="chaty-widget-i" data-title="'+settings.object_settings.social.waze+'"target="_blank">';
238
+ text+='<a href="'+settings.object_settings.social.waze+'"target="_blank">';
239
+ text+='<svg class="ico_d" width="39" height="39" viewBox="0 0 39 39" fill="none" xmlns="http://www.w3.org/2000/svg">';
240
+ text+='<circle class="color-element" cx="19.5" cy="19.5" r="19.5" fill="#6ECCEF"/>';
241
+ text+='<path d="M11.6549 16.6733C16.5911 16.6733 20.5675 12.9218 20.5675 8.33667C20.5675 3.7515 16.5911 0 11.6549 0C6.7187 0 2.74233 3.7515 2.74233 8.33667C2.74233 8.33667 3.42791 12.505 0 12.505C0 15.9786 6.17024 16.6733 11.6549 16.6733Z" transform="translate(9.15631 9.71375)" fill="#6ECCEF" class="color-element"/> <path d="M12.3405 18.0628C3.97637 18.0628 0 16.5344 0 13.1997C0 12.7829 0.274233 12.505 0.685582 12.505C1.37116 12.505 1.91963 12.3661 2.19386 11.9492C3.01656 10.9766 2.74233 9.17034 2.74233 9.17034C2.74233 4.02939 6.99293 0 12.3405 0C17.688 0 21.9386 4.02939 21.9386 9.0314C21.9386 14.0334 17.688 18.0628 12.3405 18.0628ZM1.50828 13.7555C2.19386 15.5618 5.896 16.6733 12.3405 16.6733C16.8653 16.6733 20.5675 13.1997 20.5675 9.0314C20.5675 4.86306 16.8653 1.38945 12.3405 1.38945C7.81563 1.38945 4.11349 4.86306 4.11349 9.0314C4.11349 9.0314 4.52484 11.3935 3.29079 12.7829C2.74233 13.3387 2.19386 13.6166 1.50828 13.7555Z" transform="translate(8.46936 9.01862)" fill="white"/> <path d="M2.74233 5.55778C4.25687 5.55778 5.48465 4.31363 5.48465 2.77889C5.48465 1.24415 4.25687 0 2.74233 0C1.22778 0 0 1.24415 0 2.77889C0 4.31363 1.22778 5.55778 2.74233 5.55778Z" transform="translate(20.8105 24.3027)" fill="white"/> <path d="M2.74233 5.55778C4.25687 5.55778 5.48465 4.31363 5.48465 2.77889C5.48465 1.24415 4.25687 0 2.74233 0C1.22778 0 0 1.24415 0 2.77889C0 4.31363 1.22778 5.55778 2.74233 5.55778Z" transform="translate(12.5836 24.3025)" fill="white"/> <path d="M0.685582 1.38945C0.274233 1.38945 0 1.11156 0 0.694723C0 0.277889 0.274233 0 0.685582 0C1.09693 0 1.37116 0.277889 1.37116 0.694723C1.37116 1.11156 1.09693 1.38945 0.685582 1.38945Z" transform="translate(17.3835 15.2717)" fill="white"/> <path d="M0.685582 1.38945C0.274233 1.38945 0 1.11156 0 0.694723C0 0.277889 0.274233 0 0.685582 0C1.09693 0 1.37116 0.277889 1.37116 0.694723C1.37116 1.11156 1.09693 1.38945 0.685582 1.38945Z" transform="translate(22.8668 15.2717)" fill="white"/> <path d="M4.14916 4.20448C2.22953 4.20448 0.447017 2.81503 0.035668 0.869809C-0.101448 0.452975 0.172786 0.175088 0.584135 0.0361436C0.995484 -0.102801 1.26972 0.17509 1.40683 0.591924C1.68106 1.84242 2.77799 2.81503 4.14916 2.81503C5.52032 2.81503 6.61725 1.84242 6.89148 0.591924C7.0286 0.17509 7.30283 0.0361436 7.71418 0.0361436C8.12553 0.175088 8.26265 0.452975 8.26265 0.869809C7.8513 2.81503 6.06879 4.20448 4.14916 4.20448Z" transform="translate(16.662 18.7092)" fill="white"/>';
242
+ text+='</svg>';
243
+ text+='</a>';
244
+ text+='<div class="chaty-widget-i-title">';
245
+ text+='<p>Waze</p>';
246
+ text+='</div>';
247
+ text+='</div>';
248
+ }
249
+ if(key == 'whatsapp'){
250
+ phone = settings.object_settings.social.whatsapp;
251
+ text+='<div class="chaty-widget-i" data-title="'+settings.object_settings.social.whatsapp+'">';
252
+ text+='<a href=" https://api.whatsapp.com/send?phone='+phone.replace('+', '')+'"target="_blank">';
253
+ text+='<svg class="ico_d" width="39" height="39" viewBox="0 0 39 39" fill="none" xmlns="http://www.w3.org/2000/svg">';
254
+ text+='<circle class="color-element" cx="19.5" cy="19.5" r="19.5" fill="#49E670"/>';
255
+ text+='<path d="M12.9821 10.1115C12.7029 10.7767 11.5862 11.442 10.7486 11.575C10.1902 11.7081 9.35269 11.8411 6.84003 10.7767C3.48981 9.44628 1.39593 6.25317 1.25634 6.12012C1.11674 5.85403 2.13001e-06 4.39053 2.13001e-06 2.92702C2.13001e-06 1.46351 0.83755 0.665231 1.11673 0.399139C1.39592 0.133046 1.8147 1.01506e-06 2.23348 1.01506e-06C2.37307 1.01506e-06 2.51267 1.01506e-06 2.65226 1.01506e-06C2.93144 1.01506e-06 3.21063 -2.02219e-06 3.35022 0.532183C3.62941 1.19741 4.32736 2.66092 4.32736 2.79397C4.46696 2.92702 4.46696 3.19311 4.32736 3.32616C4.18777 3.59225 4.18777 3.59224 3.90858 3.85834C3.76899 3.99138 3.6294 4.12443 3.48981 4.39052C3.35022 4.52357 3.21063 4.78966 3.35022 5.05576C3.48981 5.32185 4.18777 6.38622 5.16491 7.18449C6.42125 8.24886 7.39839 8.51496 7.81717 8.78105C8.09636 8.91409 8.37554 8.9141 8.65472 8.648C8.93391 8.38191 9.21309 7.98277 9.49228 7.58363C9.77146 7.31754 10.0507 7.1845 10.3298 7.31754C10.609 7.45059 12.2841 8.11582 12.5633 8.38191C12.8425 8.51496 13.1217 8.648 13.1217 8.78105C13.1217 8.78105 13.1217 9.44628 12.9821 10.1115Z" transform="translate(12.9597 12.9597)" fill="#FAFAFA"/> <path d="M0.196998 23.295L0.131434 23.4862L0.323216 23.4223L5.52771 21.6875C7.4273 22.8471 9.47325 23.4274 11.6637 23.4274C18.134 23.4274 23.4274 18.134 23.4274 11.6637C23.4274 5.19344 18.134 -0.1 11.6637 -0.1C5.19344 -0.1 -0.1 5.19344 -0.1 11.6637C-0.1 13.9996 0.624492 16.3352 1.93021 18.2398L0.196998 23.295ZM5.87658 19.8847L5.84025 19.8665L5.80154 19.8788L2.78138 20.8398L3.73978 17.9646L3.75932 17.906L3.71562 17.8623L3.43104 17.5777C2.27704 15.8437 1.55796 13.8245 1.55796 11.6637C1.55796 6.03288 6.03288 1.55796 11.6637 1.55796C17.2945 1.55796 21.7695 6.03288 21.7695 11.6637C21.7695 17.2945 17.2945 21.7695 11.6637 21.7695C9.64222 21.7695 7.76778 21.1921 6.18227 20.039L6.17557 20.0342L6.16817 20.0305L5.87658 19.8847Z" transform="translate(7.7758 7.77582)" fill="white" stroke="white" stroke-width="0.2"/';
256
+ text+='</svg>';
257
+ text+='</a>'
258
+ text+='<div class="chaty-widget-i-title">';
259
+
260
+ text+='<p>WhatsApp</p>';
261
+ text+='</div>';
262
+ text+='</div>';
263
+ }
264
+ if(key == 'line'){
265
+ text+='<div class="chaty-widget-i" data-title="'+settings.object_settings.social.line+'"target="_blank">';
266
+ text+='<a href="'+settings.object_settings.social.line+'"target="_blank">';
267
+ text+='<svg class="ico_d" width="39" height="39" viewBox="0 0 39 39" fill="none" xmlns="http://www.w3.org/2000/svg">';
268
+ text+='<circle class="color-element" cx="19.5" cy="19.5" r="19.5" fill="#38B900"></circle>';
269
+ text+='<path d="M24 9.36561C24 4.19474 18.6178 0 12 0C5.38215 0 0 4.19474 0 9.36561C0 13.9825 4.25629 17.8606 10.0229 18.5993C10.4073 18.6785 10.9565 18.8368 11.0664 19.1797C11.1762 19.4699 11.1487 19.9184 11.0938 20.235C11.0938 20.235 10.9565 21.0528 10.9291 21.2111C10.8741 21.5013 10.6819 22.3456 11.9725 21.8443C13.2632 21.3167 18.8924 17.9398 21.3913 15.1433C23.1487 13.2702 24 11.4234 24 9.36561Z" transform="translate(7 10)" fill="white"></path> <path d="M1.0984 0H0.24714C0.10984 0 -2.09503e-07 0.105528 -2.09503e-07 0.211056V5.22364C-2.09503e-07 5.35555 0.10984 5.43469 0.24714 5.43469H1.0984C1.2357 5.43469 1.34554 5.32917 1.34554 5.22364V0.211056C1.34554 0.105528 1.2357 0 1.0984 0Z" transform="translate(15.4577 16.8593)" fill="#38B900" class="color-element"></path> <path d="M4.66819 0H3.81693C3.67963 0 3.56979 0.105528 3.56979 0.211056V3.19222L1.18078 0.0791458C1.18078 0.0791458 1.18078 0.0527642 1.15332 0.0527642C1.15332 0.0527642 1.15332 0.0527641 1.12586 0.0263821C1.12586 0.0263821 1.12586 0.0263821 1.0984 0.0263821H0.247139C0.10984 0.0263821 4.19006e-07 0.13191 4.19006e-07 0.237438V5.25002C4.19006e-07 5.38193 0.10984 5.46108 0.247139 5.46108H1.0984C1.2357 5.46108 1.34554 5.35555 1.34554 5.25002V2.26885L3.73455 5.38193C3.76201 5.40831 3.76201 5.43469 3.78947 5.43469C3.78947 5.43469 3.78947 5.43469 3.81693 5.43469C3.81693 5.43469 3.81693 5.43469 3.84439 5.43469C3.87185 5.43469 3.87185 5.43469 3.89931 5.43469H4.75057C4.88787 5.43469 4.99771 5.32917 4.99771 5.22364V0.211056C4.91533 0.105528 4.80549 0 4.66819 0Z" transform="translate(17.6819 16.8593)" fill="#38B900" class="color-element"></path> <path d="M3.62471 4.22112H1.34554V0.237438C1.34554 0.105528 1.2357 0 1.0984 0H0.24714C0.10984 0 -5.23757e-08 0.105528 -5.23757e-08 0.237438V5.25002C-5.23757e-08 5.30278 0.0274599 5.35555 0.0549198 5.40831C0.10984 5.43469 0.16476 5.46108 0.21968 5.46108H3.56979C3.70709 5.46108 3.78947 5.35555 3.78947 5.22364V4.4058C3.87185 4.32665 3.76201 4.22112 3.62471 4.22112Z" transform="translate(10.8993 16.8593)" fill="#38B900" class="color-element"></path> <path d="M3.56979 1.29272C3.70709 1.29272 3.78947 1.18719 3.78947 1.05528V0.237438C3.78947 0.105528 3.67963 -1.00639e-07 3.56979 -1.00639e-07H0.219679C0.164759 -1.00639e-07 0.10984 0.0263821 0.0549199 0.0527641C0.02746 0.105528 -2.09503e-07 0.158292 -2.09503e-07 0.211056V5.22364C-2.09503e-07 5.2764 0.02746 5.32917 0.0549199 5.38193C0.10984 5.40831 0.164759 5.43469 0.219679 5.43469H3.56979C3.70709 5.43469 3.78947 5.32917 3.78947 5.19726V4.37941C3.78947 4.2475 3.67963 4.14198 3.56979 4.14198H1.29062V3.29775H3.56979C3.70709 3.29775 3.78947 3.19222 3.78947 3.06031V2.24247C3.78947 2.11056 3.67963 2.00503 3.56979 2.00503H1.29062V1.16081H3.56979V1.29272Z" transform="translate(23.421 16.8329)" fill="#38B900" class="color-element"></path>';
270
+ text+='</svg>';
271
+ text+='</a>';
272
+ text+='<div class="chaty-widget-i-title">';
273
+ text+='<p>Line</p>';
274
+ text+='</div>';
275
+ text+='</div>';
276
+ }
277
+ if(key == 'wechat'){
278
+ text+='<div class="chaty-widget-i" data-title="'+settings.object_settings.social.wechat+'"target="_blank">';
279
+ text+='<a href="weixin://dl/chat?'+settings.object_settings.social.wechat+'"target="_blank">';
280
+ text+='<svg class="ico_d" width="39" height="39" viewBox="0 0 39 39" fill="none" xmlns="http://www.w3.org/2000/svg">';
281
+ text+='<circle class="color-element" cx="19.5" cy="19.5" r="19.5" fill="#45DC00"></circle>';
282
+ text+='<path d="M17.3707 6.90938C15.0508 7.03077 13.0281 7.71242 11.3888 9.26248C9.73039 10.8312 8.97307 12.7455 9.18397 15.1172C8.27327 15.0052 7.44884 14.8838 6.61482 14.8184C6.32723 14.7904 5.99171 14.8278 5.74246 14.9585C4.93721 15.4067 4.16071 15.9016 3.24042 16.4619C3.41298 15.7242 3.51843 15.0705 3.71015 14.4449C3.85395 13.9874 3.78685 13.7353 3.35546 13.4364C0.584998 11.5222 -0.594125 8.65553 0.287821 5.69547C1.10266 2.95952 3.09663 1.30674 5.80957 0.447674C9.50991 -0.728879 13.68 0.475687 15.9232 3.33303C16.738 4.36952 17.2365 5.53673 17.3707 6.90938ZM6.69152 5.98494C6.71069 5.44336 6.23137 4.95779 5.65619 4.93912C5.07142 4.92044 4.5921 5.35932 4.57293 5.91958C4.55375 6.48918 5.00431 6.94673 5.58908 6.95607C6.18344 6.97474 6.67234 6.53587 6.69152 5.98494ZM12.2612 4.93912C11.686 4.94846 11.2067 5.42468 11.2163 5.96627C11.2259 6.52653 11.7052 6.9654 12.29 6.9654C12.8843 6.95607 13.3253 6.51719 13.3253 5.93825C13.3157 5.37799 12.846 4.92978 12.2612 4.93912Z" transform="translate(7 9)" fill="white"></path><path d="M12.48 13.2605C11.7418 12.943 11.0708 12.4668 10.3518 12.3921C9.63283 12.3174 8.88509 12.7189 8.13735 12.7936C5.8558 13.0177 3.8139 12.4014 2.13629 10.8887C-1.06556 8.00334 -0.605416 3.57726 3.09492 1.21482C6.38305 -0.886168 11.2146 -0.185839 13.5345 2.72753C15.5572 5.26739 15.3175 8.64764 12.8538 10.786C12.1349 11.4023 11.876 11.9158 12.3362 12.7282C12.4225 12.8776 12.432 13.0737 12.48 13.2605ZM4.11108 5.3701C4.58081 5.3701 4.96426 5.01527 4.98344 4.56706C5.00261 4.09084 4.60957 3.68932 4.12066 3.68932C3.63176 3.68932 3.22913 4.09084 3.2483 4.55772C3.26748 5.00593 3.65093 5.3701 4.11108 5.3701ZM9.5082 3.68932C9.05764 3.68932 8.6646 4.04415 8.64543 4.49236C8.62626 4.96858 9.00971 5.36077 9.48903 5.36077C9.95876 5.36077 10.3326 5.01527 10.3422 4.55772C10.371 4.09084 9.98752 3.68932 9.5082 3.68932Z" transform="translate(17.1057 16.7395)" fill="white"></path>'
283
+ text+='</svg>';
284
+ text+='</a>';
285
+ text+='<div class="chaty-widget-i-title">';
286
+ text+='<p>WeChat</p>';
287
+ text+='</div>';
288
+ text+='</div>';
289
+ }
290
+ });
291
+ return text;
292
+ }
293
+
294
+
295
+ function plugin(settings, token){
296
+ // mobile\desktop
297
+ var devices = settings.object_settings.device;
298
+ // position
299
+ var position ="";
300
+
301
+ if(settings.object_settings.position=='right'){
302
+ position = 'left: auto;bottom: 25px; right: 25px;'
303
+ } else if(settings.object_settings.position=='left'){
304
+ position = 'right: auto; bottom: 25px; left: 25px;'
305
+ }else if(settings.object_settings.position=='custom'){
306
+ var pos_side = settings.object_settings.pos_side;
307
+ var bot = settings.object_settings.bot;
308
+ var side = settings.object_settings.side;
309
+ if (pos_side === 'right') {
310
+ position = 'left: auto; bottom: ' + bot +'px; right: ' + side + 'px';
311
+ } else {
312
+ position = 'left: ' +side+ 'px; bottom: ' + bot + 'px; right: auto';
313
+ }
314
+ }
315
+ var CTA= settings.object_settings.cta;
316
+ var text = "";
317
+ var b = settings.object_settings.social;
318
+ if(Object.keys(b).length >= 2){
319
+ text = '<div class="chaty-widget '+token+' '+devices+' " style="display:block; '+position+'">';
320
+ // block 1 social
321
+ text+='<div class="chaty-widget-is" id="transition_disabled">';
322
+ }
323
+ text+= i(settings);
324
+ var b = settings.object_settings.social;
325
+ if(Object.keys(b).length >= 2){
326
+ text+='</div>';
327
+ // block 2
328
+ text+='<div class="i-trigger">'
329
+ var display_cta = getCookie("display_cta");
330
+ if(CTA != "" && display_cta!='none'){
331
+ var tr = 'true';
332
+ }else{
333
+ tr = 'no-tooltip';
334
+ }
335
+ text+='<div class="chaty-widget-i i-trigger-open '+tr+' ">';
336
+ text+='<svg width="52" height="52" viewBox="0 0 52 52" fill="none" xmlns="http://www.w3.org/2000/svg">';
337
+ text+='<ellipse class="color-element" cx="26" cy="26" rx="26" ry="26" fill="'+settings.object_settings.color+'"/>'
338
+ text+='<path d="M22 0H4C1.8 0 0 1.80692 0 4.01538V16.0615C0 18.27 1.8 20.0769 4 20.0769H18.6L24.4 25.8992C24.6 26.1 24.8 26.1 25.2 26.1C25.4 26.1 25.4 26.1 25.6 26.1C26 25.8992 26.2 25.4977 26.2 25.0962V4.01538C26 1.80692 24.2 0 22 0Z" transform="translate(8 18.0691)" fill="white"/>'
339
+ text+='<path d="M22 0H4C1.8 0 0 1.80692 0 4.01538H16C19.4 4.01538 22 6.62538 22 10.0385V23.49L24.2 25.6985C24.4 25.8992 24.6 25.8992 25 25.8992C25.2 25.8992 25.2 25.8992 25.4 25.8992C25.8 25.6985 26 25.2969 26 24.8954V4.01538C26 1.80692 24.2 0 22 0Z" transform="translate(13.9999 12.0461)" fill="white"/>'
340
+ text+='</svg>';
341
+ var display_cta = getCookie("display_cta");
342
+ if(CTA != "" && display_cta!='none'){
343
+ text+=' <div class="chaty-widget-i-title true"> ';
344
+ text+=CTA;
345
+ text+='</div>';
346
+ }
347
+
348
+ text+='</div>';
349
+ text+='<div class="chaty-widget-i i-trigger-close" data-title="Hide">';
350
+ text+='<svg width="52" height="52" viewBox="0 0 52 52" fill="none" xmlns="http://www.w3.org/2000/svg">';
351
+ text+='<ellipse cx="26" cy="26" rx="26" ry="26" fill="#A886CD"/>';
352
+ text+='<rect width="27.1433" height="3.89857" rx="1.94928" transform="translate(18.35 15.6599) scale(0.998038 1.00196) rotate(45)" fill="white"/>';
353
+ text+='<rect width="27.1433" height="3.89857" rx="1.94928" transform="translate(37.5056 18.422) scale(0.998038 1.00196) rotate(135)" fill="white"/>';
354
+ text+='</svg>';
355
+ text+='<div class="chaty-widget-i-title">';
356
+ text+='Hide';
357
+ text+='</div>';
358
+ text+='</div>';
359
+ text+=' </div>';
360
+
361
+ if(Object.keys(b).length >1){
362
+ no_active = 'no_active';
363
+ }
364
+ // if(check_token()){
365
+ if( token != ''){
366
+ if(settings.object_settings.link_active != 1){
367
+ text+='<div class="get '+no_active+'" style="opacity:0; position: absolute;width: 100%;text-align: center;"> <a href="https://premio.io/downloads/chaty/?utm_source=wpplugin" target="_blank" style=" font-size: 11px; top: -5px; position: relative; color: #8c8585; ">Get Widget</a></div>'
368
+ }
369
+ }else{
370
+ text+='<div class="get" style="opacity:0; position: absolute;width: 100%;text-align: center;"> <a href="https://premio.io/downloads/chaty/?utm_source=wpplugin" target="_blank" style=" font-size: 11px; top: -5px; position: relative; color: #8c8585;">Get Widget</a></div>'
371
+ }
372
+
373
+ text+='</div>';
374
+
375
+ }else{
376
+ text = '<div class="chaty-widget one_widget '+token+' '+devices+' " style="display:block; '+position+'">';
377
+ // block 1 social
378
+ text+='<div class="chaty-widget-is no-tooltip">';
379
+ text+='</div>';
380
+ // block 2
381
+ text+='<div class="i-trigger">'
382
+ text+='<div class="chaty-widget-i no-tooltip i-trigger-open ">';
383
+ text+= i(settings);
384
+
385
+ // if(CTA != ""){
386
+ // text+=' <div class="chaty-widget-i-title"> ';
387
+ // text+=CTA;
388
+ // text+='</div>';
389
+ // }
390
+
391
+
392
+ text+='</div>';
393
+ if( token == '' && i(settings).length != 0){
394
+ text+='<div class="get" style="opacity:1; position: absolute;"> <a href="https://chaty.app/?utm_source=wppl0ugin" target="_blank" style=" font-size: 11px; top: -5px; position: relative; left: 3px; color: #8c8585;">Get Widget</a></div>'
395
+ }
396
+ text+=' </div>';
397
+ text+='</div>';
398
+
399
+ }
400
+
401
+ $('body').append(text) ;
402
+ }
403
+
404
+ // add style
405
+ function css(){
406
+ $('body').append('<style> .chaty-widget-i .chaty-widget-i-title p{color: #222 !important; text-decoration: none !important; margin:0 !important; padding: 0 !important } .chaty-widget-i .i-trigger a{color: #222 !important; text-decoration: none !important;} *{ -webkit-tap-highlight-color: transparent !important;} .i-trigger-open svg, .i-trigger-close svg{transition: all 0.5s} .chaty-widget-show .i-trigger-open svg,.chaty-widget-show .i-trigger-close svg{transform:rotate(180deg)}.none-widget-show .i-trigger-ope{-webkit-animation: fadein 1.5s; -moz-animation: fadein 1.5s; -ms-animation: fadein 1.5s; -o-animation: fadein 1.5s; /* animation: fadein 2s; */}.chaty-widget-show .i-trigger-cloe{-webkit-animation: fadein 1.5s; -moz-animation: fadein 1.5s; -ms-animation: fadein 1.5s; -o-animation: fadein 1.5s; /* animation: fadein 2s; */}.chaty-widget .i-trigger-open.chaty-widget-i:not(.no-tooltip) .chaty-widget-i-title{transform: translate(calc(-100% - 12px), -50%);} .chaty-widget-is-right.chaty-widget .i-trigger-open.chaty-widget-i:not(.no-tooltip) .chaty-widget-i-title{ right: 0; left: auto; transform: translate(calc(100% + 12px), -50%);}.chaty-widget-is-right.chaty-widget .chaty-widget-i:not(.no-tooltip) .chaty-widget-i-title{ right: 0; left: auto; transform: translate(calc(100% + 13px), -50%);} .one_widget .i-trigger .chaty-widget-i svg{width: 56px!important; height: 55px!important;} .chaty-widget-is-right.chaty-widget.one_widget .chaty-widget-i:not(.no-tooltip):before{left: auto; right:-18px;} .chaty-widget.one_widget .chaty-widget-i:not(.no-tooltip):before{left: -18px;} .one_widget .i-trigger-open .chaty-widget-i-title { padding: 10px 10px 9px 12px!important; } .chaty-widget .chaty-widget-i.facebook.before:not(.no-tooltip):hover .chaty-widget-i-title,.chaty-widget .chaty-widget-i.before.facebook:not(.no-tooltip):hover:before{opacity:1;pointer-events:auto} .chaty-widget .chaty-widget-i:not(.no-tooltip) .chaty-widget-i-title, .chaty-widget .chaty-widget-i:not(.no-tooltip).before:before{opacity: 1;} .one_widget .chaty-widget-i svg {left:-5px; position: relative;}body .chaty-widget-i-title.true{opacity: 1!important;}.chaty-widget .i-trigger-open:not(.no-tooltip):before{opacity:1!important} .chaty-widget .chaty-widget-i.facebook.active:not(.no-tooltip) .chaty-widget-i-title, .chaty-widget .chaty-widget-i.facebook:not(.no-tooltip):hover:before{ pointer-events: initial; } .chaty-widget .facebook_header{background-color: #1E88E5 ;height: 34px; border-top-left-radius: 5px; border-top-right-radius: 5px; padding-left: 9px;} .facebook .chaty-widget-i-title{padding:0!important} body .chaty-widget-i .facebook_header p{ top: -3px; font-size: 13px; color: #fff !important; position:relative;} .facebook_header svg, .facebook_header p{display: inline-block; vertical-align: bottom; margin: 0;}.chaty-widget .chaty-widget-i .facebook_header svg{ height:30px!important; width:30px!important; } .chaty-widget{ display: none !important;}@media screen and (max-width:800px){.i-trigger-close .chaty-widget-i-title{display:none;}} @media screen and (max-width:480px){ .mobile_none{display:none}.chaty-widget.mobile_active{ display: block !important; } } @media screen and (min-width:480px){ .chaty-widget.desktop_active{ display: block !important; } }.chaty-widget{position:fixed;width:62px;z-index:9999}.chaty-widget .chaty-widget-is{display:flex;flex-wrap:wrap;overflow:hidden;height:0;position:absolute; pointer-events: none; left:0;right:auto;bottom:65px; opacity:0;}#transition_disabled{-webkit-animation: none !important; -moz-animation: none !important; -ms-animation: none !important; -o-animation: none !important;-webkit-animation:none !important}@keyframes fadeout{from{opacity:1}to{opacity:0}}@-moz-keyframes fadeout{from{opacity:1}to{opacity:0}}@-webkit-keyframes fadeout{from{opacity:1}to{opacity:0}}@-o-keyframes fadeout{from{opacity:1}to{opacity:0}}.chaty-widget .chaty-widget-is .chaty-widget-i{max-height:0;}.chaty-widget .i-trigger{position:relative;margin-top:6px}.chaty-widget .i-trigger .i-trigger-open,.chaty-widget .i-trigger .i-trigger-close{transition:all 0.2s; height: 54px;}.chaty-widget .i-trigger .i-trigger-close{position:absolute;bottom:-4px;left:0;right:0;z-index:2}.chaty-widget .i-trigger .i-trigger-open{opacity:1;pointer-events:auto}.chaty-widget .i-trigger .i-trigger-close{opacity:0;pointer-events:none}.chaty-widget:not(.chaty-widget-show) .chaty-widget-is{}.chaty-widget.chaty-widget-show .i-trigger .i-trigger-open{opacity:0;pointer-events:none}.chaty-widget.chaty-widget-show .i-trigger .i-trigger-close{opacity:1;pointer-events:auto}.chaty-widget.chaty-widget-show .chaty-widget-is{ pointer-events: auto;overflow:visible; opacity:1; visibility: visible;}@keyframes fadein{from{opacity:0}to{opacity:1}}@-moz-keyframes fadein{from{opacity:0}to{opacity:1}}@-webkit-keyframes fadein{from{opacity:0}to{opacity:1}}@-ms-keyframes fadein{from{opacity:0}to{opacity:1}}@-o-keyframes fadein{from{opacity:0}to{opacity:1}}.chaty-widget.chaty-widget-show .chaty-widget-is .chaty-widget-i{opacity:1;max-height:53px;overflow:visible}.chaty-widget .chaty-widget-i{flex:0 0 54px;border-radius:50%;vertical-align:top;font-size:0;position:relative;box-shadow:0px 3px 6px rgba(0,0,0,0.25);margin:4px}.chaty-widget .chaty-widget-i svg{cursor:pointer;width:54px;height:54px; position:relative;}body .i-trigger-open .chaty-widget-i-title{padding: 5px 16px 5px 17px!important; }.chaty-widget:not(.chaty-widget-is-right) .i-trigger-open:before{ left: -13px!important} .chaty-widget:not(.chaty-widget-is-right) .i-trigger-open:before{} .one_widget.chaty-widget.chaty-widget-is-right .i-trigger-open:before{ right: -12px!important} body .one_widget .i-trigger-open .chaty-widget-i-title.face_title{padding:0!important}.one_widget.chaty-widget .chaty-widget-i:not(.no-tooltip) .chaty-widget-i-title{transform: translate(calc(-100% - 14px), -50%);}.chaty-widget .chaty-widget-i:not(.no-tooltip) .chaty-widget-i-title,.chaty-widget .chaty-widget-i:not(.no-tooltip):before{content:none;position:absolute;opacity:0;pointer-events:none;z-index:10}.chaty-widget .chaty-widget-i:not(.no-tooltip):before{content:"";left:-14px;top:50%;transform:translateY(-50%);height:0;width:0;z-index:11;border-width:5px 0 5px 10px;border-style:solid;border-color:transparent transparent transparent #fff}.one_widget.chaty-widget:not(.chaty-widget-is-right) .chaty-widget-i:not(.no-tooltip) .chaty-widget-i-title{font-size:17px;left:-3px;top:50%;white-space:nowrap;padding:5px 15px;line-height:21px;color:#333;background-color:#fff;box-shadow:0 1.93465px 7.73859px rgba(0,0,0,0.15);border-radius:10px}.chaty-widget .chaty-widget-i:not(.no-tooltip) .chaty-widget-i-title{font-size:17px;left:0;top:50%;transform:translate(calc(-100% - 13px), -50%);white-space:nowrap;padding:5px 15px;line-height:21px;color:#333;background-color:#fff;box-shadow:0 1.93465px 7.73859px rgba(0,0,0,0.15);border-radius:10px}.chaty-widget .chaty-widget-i:not(.no-tooltip):hover .chaty-widget-i-title,.chaty-widget .chaty-widget-i:not(.no-tooltip):hover:before{opacity:1;pointer-events:auto}.chaty-widget .chaty-widget-i.facebook:not(.no-tooltip):hover .chaty-widget-i-title,.chaty-widget .chaty-widget-i.facebook:not(.no-tooltip):hover:before{opacity:0;pointer-events:auto}.chaty-widget .chaty-widget-i .color-element{transition:all .2s}.chaty-widget:not(.chaty-widget-is-right) .chaty-widget-is{position:absolute;right:0;left:auto;bottom:65px;justify-content:flex-end}.chaty-widget.chaty-widget-is-right .i-trigger-open.chaty-widget-i:before{right:-13px;left:auto;border-width:5px 10px 5px 0;border-color:transparent #fff transparent transparent}.chaty-widget.chaty-widget-is-right .chaty-widget-i:before{right:-14px;left:auto;border-width:5px 10px 5px 0;border-color:transparent #fff transparent transparent}.chaty-widget.chaty-widget-is-right .chaty-widget-i.facebook.active .chaty-widget-i-title{ position: fixed; transform: initial!important;right: auto; top: calc(100% - 484px);}.chaty-widget .chaty-widget-i.facebook.active .chaty-widget-i-title{ position: fixed; transform: initial;right: 29px; left:auto; top: calc(100% - 484px);} .one_widget.chaty-widget.chaty-widget-is-right .chaty-widget-i .chaty-widget-i-title{right:0;left:auto;transform:translate(calc(100% + 17px), -50%)!important}</style>')
407
+ }
408
+
409
+ jQuery(document).ready(function() {
410
+
411
+ function chatyWidget() {
412
+
413
+ var $chatyWidget = jQuery('.chaty-widget');
414
+
415
+ function positionIcons() {
416
+
417
+ var posTop = $chatyWidget.position().top;
418
+
419
+ var length = $chatyWidget.find('.chaty-widget-is .chaty-widget-i').length;
420
+
421
+ if (length*62 > posTop) {
422
+ var itemsF = Math.round(Math.sqrt(length));
423
+ var itemsC = Math.ceil(Math.sqrt(length));
424
+
425
+ $chatyWidget.find('.chaty-widget-is').css({"height": itemsC * 62, "width": itemsF * 62})
426
+ }else{
427
+ $chatyWidget.find('.chaty-widget-is').css({height: length * 62, "width": "62px"})
428
+ }
429
+ }
430
+
431
+ function tooltipPosition() {
432
+ var posLeft = $chatyWidget.position().left;
433
+ if (posLeft < jQuery(document).width()/2) {
434
+ $chatyWidget.addClass('chaty-widget-is-right')
435
+ }
436
+ }
437
+ tooltipPosition();
438
+ positionIcons();
439
+ jQuery(window).resize(function() {
440
+ positionIcons();
441
+ });
442
+
443
+ $('.chaty-widget-i.facebook').mouseenter(function() {
444
+ $('.facebook_two_mess').css({
445
+ 'opacity': '1',
446
+ 'z-index': '1'
447
+ });
448
+ $(this).addClass('before')
449
+
450
+ });
451
+ $('.chaty-widget-i.facebook').mouseleave(function() {
452
+ $('.facebook_two_mess').css({
453
+ 'opacity': '0',
454
+ 'z-index': '1'
455
+
456
+ })
457
+ $(this).removeClass('before');
458
+ })
459
+
460
+ $('.chaty-widget-i.facebook').on('click',function() {
461
+ $(this).addClass('active');
462
+ $('.facebook_two_mess').hide();
463
+ $(this).children('.face_title').css({
464
+ 'opacity': '1',
465
+ 'z-index': '2'
466
+ }).show();
467
+
468
+ if($('.chaty-widget').hasClass('one_widget')){
469
+
470
+ if($('.chaty-widget').hasClass('chaty-widget-is-right')){
471
+
472
+ $('.face_title').css({
473
+ 'top': 'calc(100% - 452px)',
474
+ 'left': '20px'
475
+
476
+ });
477
+
478
+ }else{
479
+ $('.face_title').css({
480
+ 'top': 'calc(100% - 453px)',
481
+ 'left': 'auto',
482
+ 'right': '23px'
483
+ });
484
+ }
485
+ return
486
+ }{
487
+ $('.facebook_two_mess').css({
488
+ 'opacity': '0',
489
+ 'z-index': '1'
490
+ });
491
+ $('.ico_d').hide();
492
+ }
493
+
494
+ $('.chaty-widget .chaty-widget-i').css({
495
+ 'box-shadow': '0px 3px 6px rgba(0,0,0,0)',
496
+
497
+ });
498
+
499
+ if($('.chaty-widget').hasClass('one_widget') ){
500
+ return;
501
+ }else{
502
+ $('.i-trigger').hide();
503
+ }
504
+
505
+ })
506
+
507
+ $('.i-trigger-close').on('click', function(event) {
508
+ get_out()
509
+ event.preventDefault();
510
+ if($('.chaty-widget-i.facebook').hasClass('active')){
511
+ return
512
+ }
513
+ $chatyWidget.removeClass('chaty-widget-show');
514
+ $chatyWidget.addClass('none-widget-show');
515
+
516
+ });
517
+
518
+ $('body').on('click','.close_facebook', function() {
519
+ $('.facebook_two_mess').show();
520
+ $('.chaty-widget-i.facebook').removeClass('active');
521
+ $(this).parent().parent().css({
522
+ 'opacity': '1',
523
+ }).hide();
524
+
525
+ $('.i-trigger').show();
526
+ $('.chaty-widget-is .chaty-widget-i svg').show();
527
+ });
528
+
529
+ $('.i-trigger-close').on('click', function(event) {
530
+ get_out()
531
+ $('.i-trigger-open').addClass('active_clos');
532
+ event.preventDefault();
533
+ if($('.chaty-widget-i.facebook').hasClass('active')){
534
+ return;
535
+ }
536
+ $chatyWidget.removeClass('chaty-widget-show');
537
+ $chatyWidget.addClass('none-widget-show');
538
+ });
539
+
540
+ var display_cta = getCookie("display_cta");
541
+
542
+ $chatyWidget.find('.i-trigger-open').mouseenter(function () {
543
+
544
+ $(".chaty-widget-is").removeAttr("id");
545
+
546
+
547
+ document.cookie = "display_cta=none; path=/";
548
+
549
+
550
+ if( $(this).hasClass('active_clos')){
551
+ return;
552
+ }
553
+ if($('.chaty-widget-i.facebook').hasClass('active')){
554
+ return;
555
+ }
556
+ if($chatyWidget.hasClass('one_widget')){
557
+ return;
558
+ }
559
+
560
+ tooltipPosition();
561
+
562
+ if($($chatyWidget).hasClass('chaty-widget-show')){
563
+ }else{
564
+ $chatyWidget.addClass('chaty-widget-show');
565
+ $chatyWidget.removeClass('none-widget-show');
566
+ }
567
+ get_op()
568
+ });
569
+
570
+ function get_op(){
571
+
572
+ if($('.get').hasClass('no_active')){
573
+ return
574
+ }
575
+ $('.get').css({
576
+ 'opacity': '1',
577
+ })
578
+ }
579
+ function get_out(){
580
+ if($('.get').hasClass('no_active')){
581
+ return
582
+ }
583
+ $('.get').css({
584
+ 'opacity': '0',
585
+ })
586
+ }
587
+ $chatyWidget.find('.i-trigger-open').on('click',function () {
588
+ if( display_cta!='none'){
589
+ if($(".chaty-widget").hasClass(".one_widget")){
590
+
591
+ }else{
592
+ $('.i-trigger-open .chaty-widget-i-title').detach();
593
+ }
594
+
595
+ }
596
+ $('.i-trigger-open').addClass('no-tooltip');
597
+
598
+ get_op();
599
+ if( $(this).hasClass('active_clos')){
600
+ return;
601
+ }
602
+ if($('.chaty-widget-i.facebook').hasClass('active')){
603
+ return;
604
+ }
605
+ if($chatyWidget.hasClass('one_widget')){
606
+ return;
607
+ }
608
+
609
+ tooltipPosition();
610
+
611
+ if($($chatyWidget).hasClass('chaty-widget-show')){
612
+ }else{
613
+ $chatyWidget.addClass('chaty-widget-show');
614
+ $chatyWidget.removeClass('none-widget-show');
615
+ }
616
+ });
617
+
618
+ $chatyWidget.find('.i-trigger-open').mouseenter(function () {
619
+
620
+ $('.i-trigger-open').removeClass('active_clos')
621
+
622
+ })
623
+
624
+
625
+ $chatyWidget.find('.chaty-widget-is').mouseleave(function () {
626
+
627
+ $('.i-trigger-open').removeClass('active_clos')
628
+ if($('.chaty-widget-i.facebook').hasClass('active')){
629
+ return
630
+ }
631
+ // $chatyWidget.removeClass('chaty-widget-show');
632
+ // $chatyWidget.addClass('none-widget-show');
633
+
634
+ });
635
+ };
636
+
637
+ if(settings.object_settings.active == 'true'){
638
+ plugin(settings, token);
639
+ css();
640
+ }
641
+
642
+
643
+ chatyWidget();
644
+ $( document ).ready(function() {
645
+ var isMobile = window.matchMedia("only screen and (max-width: 760px)");
646
+ if (isMobile.matches) {
647
+ $('.i-trigger-open').addClass('active_clos');
648
+ }
649
+ });
650
+
651
+
652
+ });
653
+
654
  })(jQuery);
assets/js/cht-scripts.js CHANGED
@@ -1,884 +1,884 @@
1
- /**
2
- * easyModal.js v1.3.2
3
- * A minimal jQuery modal that works with your CSS.
4
- * Author: Flavius Matis - http://flaviusmatis.github.com/
5
- * URL: https://github.com/flaviusmatis/easyModal.js
6
- *
7
- * Copyright 2012, Flavius Matis
8
- * Released under the MIT license.
9
- * http://flaviusmatis.github.com/license.html
10
- */
11
-
12
- /* jslint browser: true */
13
- /* global jQuery */
14
-
15
-
16
- (function ($, sr) {
17
- // debouncing function from John Hann
18
- // http://unscriptable.com/index.php/2009/03/20/debouncing-javascript-methods/
19
- var debounce = function (func, threshold, execAsap) {
20
- var timeout;
21
-
22
- return function debounced() {
23
- var obj = this; var
24
- args = arguments;
25
- function delayed() {
26
- if (!execAsap) func.apply(obj, args);
27
- timeout = null;
28
- }
29
-
30
- if (timeout) clearTimeout(timeout);
31
- else if (execAsap) func.apply(obj, args);
32
-
33
- timeout = setTimeout(delayed, threshold || 100);
34
- };
35
- };
36
- // smartModalResize
37
- jQuery.fn[sr] = function (fn) { return fn ? this.bind('resize', debounce(fn)) : this.trigger(sr); };
38
- }(jQuery, 'smartModalResize'));
39
-
40
- (function ($) {
41
- 'use strict';
42
-
43
- var methods = {
44
- init: function (options) {
45
- var defaults = {
46
- top: 'auto',
47
- left: 'auto',
48
- autoOpen: false,
49
- overlayOpacity: 0.5,
50
- overlayColor: '#000',
51
- overlayClose: true,
52
- overlayParent: 'body',
53
- closeOnEscape: true,
54
- closeButtonClass: '.close',
55
- transitionIn: '',
56
- transitionOut: '',
57
- onOpen: false,
58
- onClose: false,
59
- zIndex: function () {
60
- return (function (value) {
61
- return value === -Infinity ? 0 : value + 1;
62
- }(Math.max.apply(Math, $.makeArray($('*').map(function () {
63
- return $(this).css('z-index');
64
- }).filter(function () {
65
- return $.isNumeric(this);
66
- }).map(function () {
67
- return parseInt(this, 10);
68
- })))));
69
- },
70
- updateZIndexOnOpen: true,
71
- hasVariableWidth: false
72
- };
73
-
74
- options = $.extend(defaults, options);
75
-
76
- return this.each(function () {
77
- var o = options;
78
-
79
-
80
- var $overlay = $('<div class="lean-overlay"></div>');
81
-
82
-
83
- var $modal = $(this);
84
-
85
- $overlay.css({
86
- display: 'none',
87
- position: 'fixed',
88
- // When updateZIndexOnOpen is set to true, we avoid computing the z-index on initialization,
89
- // because the value would be replaced when opening the modal.
90
- 'z-index': (o.updateZIndexOnOpen ? 0 : o.zIndex()),
91
- top: 0,
92
- left: 0,
93
- height: '100%',
94
- width: '100%',
95
- background: o.overlayColor,
96
- opacity: o.overlayOpacity,
97
- overflow: 'auto'
98
- }).appendTo(o.overlayParent);
99
-
100
- $modal.css({
101
- display: 'none',
102
- position: 'fixed',
103
- // When updateZIndexOnOpen is set to true, we avoid computing the z-index on initialization,
104
- // because the value would be replaced when opening the modal.
105
- 'z-index': (o.updateZIndexOnOpen ? 0 : o.zIndex() + 1),
106
- left: parseInt(o.left, 10) > -1 ? o.left + 'px' : 50 + '%',
107
- top: parseInt(o.top, 10) > -1 ? o.top + 'px' : 50 + '%'
108
- });
109
-
110
- $modal.bind('openModal', function () {
111
- var overlayZ = o.updateZIndexOnOpen ? o.zIndex() : parseInt($overlay.css('z-index'), 10);
112
-
113
-
114
- var modalZ = overlayZ + 1;
115
-
116
- if (o.transitionIn !== '' && o.transitionOut !== '') {
117
- $modal.removeClass(o.transitionOut).addClass(o.transitionIn);
118
- }
119
- $modal.css({
120
- display: 'block',
121
- 'margin-left': (parseInt(o.left, 10) > -1 ? 0 : -($modal.outerWidth() / 2)) + 'px',
122
- 'margin-top': (parseInt(o.top, 10) > -1 ? 0 : -($modal.outerHeight() / 2)) + 'px',
123
- 'z-index': modalZ
124
- });
125
-
126
- $overlay.css({ 'z-index': overlayZ, display: 'block' });
127
-
128
- if (o.onOpen && typeof o.onOpen === 'function') {
129
- // onOpen callback receives as argument the modal window
130
- o.onOpen($modal[0]);
131
- }
132
- });
133
-
134
- $modal.bind('closeModal', function () {
135
- if (o.transitionIn !== '' && o.transitionOut !== '') {
136
- $modal.removeClass(o.transitionIn).addClass(o.transitionOut);
137
- $modal.one('webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend animationend', function () {
138
- $modal.css('display', 'none');
139
- $overlay.css('display', 'none');
140
- });
141
- } else {
142
- $modal.css('display', 'none');
143
- $overlay.css('display', 'none');
144
- }
145
- if (o.onClose && typeof o.onClose === 'function') {
146
- // onClose callback receives as argument the modal window
147
- o.onClose($modal[0]);
148
- }
149
- });
150
-
151
- // Close on overlay click
152
- $overlay.click(function () {
153
- if (o.overlayClose) {
154
- $modal.trigger('closeModal');
155
- }
156
- });
157
-
158
- $(document).keydown(function (e) {
159
- // ESCAPE key pressed
160
- if (o.closeOnEscape && e.keyCode === 27) {
161
- $modal.trigger('closeModal');
162
- }
163
- });
164
-
165
- $(window).smartModalResize(function () {
166
- if (o.hasVariableWidth) {
167
- $modal.css({
168
- 'margin-left': (parseInt(o.left, 10) > -1 ? 0 : -($modal.outerWidth() / 2)) + 'px',
169
- 'margin-top': (parseInt(o.top, 10) > -1 ? 0 : -($modal.outerHeight() / 2)) + 'px'
170
- });
171
- }
172
- });
173
-
174
- // Close when button pressed
175
- $modal.on('click', o.closeButtonClass, function (e) {
176
- $modal.trigger('closeModal');
177
- e.preventDefault();
178
- });
179
-
180
- // Automatically open modal if option set
181
- if (o.autoOpen) {
182
- $modal.trigger('openModal');
183
- }
184
- });
185
- }
186
- };
187
-
188
- $.fn.easyModal = function (method) {
189
- // Method calling logic
190
- if (methods[method]) {
191
- return methods[method].apply(this, Array.prototype.slice.call(arguments, 1));
192
- }
193
-
194
- if (typeof method === 'object' || !method) {
195
- return methods.init.apply(this, arguments);
196
- }
197
-
198
- $.error('Method ' + method + ' does not exist on jQuery.easyModal');
199
- };
200
- }(jQuery));
201
- (function ($) {
202
- $(document).ready(function () {
203
- $('input, .icon, textarea, .btn-cancel ').click(function (event) {
204
- window.onbeforeunload = function (e) {
205
- e = e || window.event;
206
- e.preventDefault = true;
207
- e.cancelBubble = true;
208
- e.returnValue = 'Your beautiful goodbye message';
209
- };
210
- });
211
-
212
- $(document).on('submit', 'form', function (event) {
213
- window.onbeforeunload = null;
214
- });
215
-
216
- $('.preview').stick_in_parent({
217
- offset_top:200
218
- });
219
-
220
- $('.upg').click(function (event) {
221
- $('.valid_domain_input').val($('.valid_domain_input').val().replace(' ', ''));
222
- if (!/^(http(s)?:\/\/)?(www\.)?[a-z0-9]+([\-\.]{1}[a-z0-9]+)*\.[a-z]{2,5}(:[0-9]{1,5})?(\/.*)?$/.test($('.valid_domain_input').val())) {
223
- event.preventDefault();
224
- $('.valid_domain').fadeIn().css({
225
- display: 'block'
226
- });
227
- }
228
- });
229
- $('.del_token').click(function (event) {
230
- $.ajax({
231
- type: 'POST',
232
- url: ajaxurl,
233
- data: {
234
- action: 'del_token',
235
- nonce_code: cht_nonce_ajax.cht_nonce
236
- },
237
- success: function (bool) {
238
- location.reload();
239
- },
240
- error: function (xhr, status, error) {
241
-
242
- }
243
- });
244
- });
245
-
246
- (function easyModal() {
247
- $('.easy-modal').easyModal({
248
- top: 150,
249
- overlay: 0.2
250
- });
251
- $('.easy-modal-open').click(function (e) {
252
- var target = $(this).attr('href');
253
- $(target).trigger('openModal');
254
- e.preventDefault();
255
- });
256
- $('.easy-modal-close').click(function (e) {
257
- e.preventDefault();
258
- $('.easy-modal').trigger('closeModal');
259
- });
260
- }());
261
- var count_click = 1000000003;
262
- $('.show_up').click(function () {
263
- count_click += 10;
264
- $('#upgrade-modal').css({
265
- 'z-index': count_click,
266
- display: 'block',
267
- 'margin-left': '-258px'
268
- });
269
- });
270
-
271
- (function colorPicker() {
272
- $('.color-picker-btn, .color-picker-btn-close, .color-picker-custom button').on('click', function (e) {
273
- e.preventDefault();
274
-
275
- $('.color-picker').toggle();
276
- $('.color-picker-btn').toggle();
277
- });
278
-
279
- $('.color-picker-radio input').change(function () {
280
- var $this = $(this);
281
- $('.color-picker-custom input[name="cht_custom_color"]').val('');
282
- $('.color-picker-custom .circle').html('?').css({
283
- 'background-color': '#fff'
284
- });
285
- if ($this.prop('checked')) {
286
- $('.color-picker-radio input').prop('checked', false);
287
- $this.prop('checked', true);
288
- var color = $this.val();
289
- var title = $this.prop('title');
290
- } else {
291
- color = $('.color-picker-custom input').val();
292
- title = 'Custom';
293
- }
294
-
295
- $('.color-picker-btn .circle').css({ backgroundColor: color });
296
- $('.color-picker-btn .text').text(title);
297
- });
298
-
299
- $('.color-picker-custom input').change(function () {
300
- $('.color-picker-radio input').prop('checked', false);
301
-
302
- var $this = $(this);
303
-
304
- var color = $this.val();
305
-
306
- $('.color-picker-btn .circle').css({ backgroundColor: color });
307
- $('.color-picker-btn .text').text('Custom');
308
- });
309
- }());
310
-
311
- (function customSelect() {
312
- $('[name="cht_position"]').change(function () {
313
- if ($('#positionCustom').prop('checked')) {
314
- $('#positionPro').show();
315
- } else {
316
- $('#positionPro').hide();
317
- }
318
- });
319
- }());
320
-
321
-
322
-
323
-
324
- /**
325
- * add Token
326
- */
327
-
328
- var AddTokenBtn = $('.update_token');
329
-
330
- AddTokenBtn.on('click', function (e) {
331
- e.preventDefault();
332
- var token = $('input[name="cht_license_key"]').val();
333
-
334
- $.ajax({
335
- type: 'POST',
336
- url: ajaxurl,
337
- data: {
338
- action: 'add_token',
339
- nonce_code: cht_nonce_ajax.cht_nonce,
340
- token: token
341
- },
342
- beforeSend: function (xhr) {
343
-
344
- },
345
- success: function (bool) {
346
- if (bool) {
347
- alert('Your pro plan is activated');
348
- location.reload();
349
- } else {
350
- alert('You`ve entered a wrong token');
351
- }
352
- },
353
- error: function (xhr, status, error) {
354
-
355
- }
356
- });
357
- });
358
- $('textarea[name=cht_cta]').keyup(function (event) {
359
- $('.tooltiptext').html($(this).val());
360
- if ($(this).val().length == 0) {
361
- $('.cta').hide(200);
362
- $('.tooltiptext').hide(200);
363
- } else {
364
- $('.cta').show(300);
365
- $('.tooltiptext').show(200);
366
- }
367
- });
368
- });
369
- }(jQuery));
370
-
371
- (function ($) {
372
- $(document).ready(function () {
373
- (function preview() {
374
- (function previewColor() {
375
- $('.color-picker-radio input').change(function () {
376
- var $this = $(this);
377
-
378
- if ($this.prop('checked')) {
379
- var color = $this.val();
380
- } else {
381
- color = $('.color-picker-custom input').val();
382
- }
383
- detectIcon();
384
- });
385
-
386
- $('.color-picker-custom input').change(function () {
387
- var $this = $(this);
388
-
389
- var color = $this.val();
390
-
391
- detectIcon();
392
- });
393
- }());
394
-
395
- (function previewTooltip() {
396
- var $widgetTooltip = $('#widgetTooltip');
397
- var $icon = $('.preview .page .icon');
398
-
399
- function tooltipToggle() {
400
- if ($('[name=cht_cta]').val().length >= 1) {
401
- $icon.removeClass('no-tooltip');
402
- } else {
403
- $icon.addClass('no-tooltip');
404
- }
405
- }
406
-
407
- tooltipToggle();
408
-
409
- $widgetTooltip.change(function () {
410
- tooltipToggle();
411
- });
412
- }());
413
-
414
- function previewPosition() {
415
- var $inputPosBot = $('#positionBottom');
416
- var $inputPosSide = $('#positionSide');
417
- var $chatyWidget = $('.preview .page .chaty-widget');
418
- var customSpace = '7px';
419
-
420
- var value = $('[name="cht_position"]:checked').val();
421
-
422
- if (value === 'right') {
423
- $chatyWidget.css({ right: customSpace, left: 'auto', bottom: '7px' });
424
- } else if (value === 'left') {
425
- $chatyWidget.css({ left: customSpace, right: 'auto', bottom: '7px' });
426
- } else if (value === 'custom') {
427
- if ($inputPosBot.val()) {
428
- var positionBottom = $inputPosBot.val() + 'px';
429
- } else {
430
- positionBottom = customSpace;
431
- }
432
-
433
- if ($inputPosSide.val()) {
434
- var positionSide = $inputPosSide.val() + 'px';
435
- } else {
436
- positionSide = customSpace;
437
- }
438
-
439
- $inputPosBot.change(function () {
440
- positionBottom = $('#positionBottom').val() + 'px';
441
-
442
- $chatyWidget.css({ bottom: positionBottom });
443
- });
444
-
445
- $inputPosSide.change(function () {
446
- var valueCustom = $('[name="positionSide"]:checked').val();
447
- positionSide = $(this).val() + 'px';
448
-
449
- if (valueCustom === 'right') {
450
- $('.page-body .chaty-widget ').removeClass('chaty-widget-icons-left');
451
- $('.page-body .chaty-widget ').addClass('chaty-widget-icons-right');
452
- $chatyWidget.css({ right: positionSide, left: 'auto' });
453
- } else if (valueCustom === 'left') {
454
- $('.page-body .chaty-widget ').removeClass('chaty-widget-icons-right');
455
- $('.page-body .chaty-widget ').addClass('chaty-widget-icons-left');
456
- $chatyWidget.css({ left: positionSide, right: 'auto' });
457
- }
458
- });
459
-
460
- $('[name="positionSide"]').change(function () {
461
- var valueCustom = $('[name="positionSide"]:checked').val();
462
-
463
- if (valueCustom === 'right') {
464
- $('.page-body .chaty-widget ').removeClass('chaty-widget-icons-left');
465
- $('.page-body .chaty-widget ').addClass('chaty-widget-icons-right');
466
- $chatyWidget.css({ right: positionSide, left: 'auto' });
467
- } else if (valueCustom === 'left') {
468
- $('.page-body .chaty-widget ').removeClass('chaty-widget-icons-right');
469
- $('.page-body .chaty-widget ').addClass('chaty-widget-icons-left');
470
- $chatyWidget.css({ left: positionSide, right: 'auto' });
471
- }
472
- });
473
- }
474
- $('[name="cht_position"]').change(function () {
475
- if ($('#positionCustom').prop('checked')) {
476
- var $inputPosBot = $('#positionBottom');
477
- var $inputPosSide = $('#positionSide');
478
- var $chatyWidget = $('.preview .page .chaty-widget');
479
- $chatyWidget.css({ bottom: positionBottom });
480
- var valueCustom = $('[name="positionSide"]:checked').val();
481
- positionSide = $('#positionSide').val() + 'px';
482
- if (valueCustom === 'right') {
483
- $('.page-body .chaty-widget ').removeClass('chaty-widget-icons-left');
484
- $('.page-body .chaty-widget ').addClass('chaty-widget-icons-right');
485
- $chatyWidget.css({ right: positionSide, left: 'auto' });
486
- } else if (valueCustom === 'left') {
487
- $('.page-body .chaty-widget ').removeClass('chaty-widget-icons-right');
488
- $('.page-body .chaty-widget ').addClass('chaty-widget-icons-left');
489
- $chatyWidget.css({ left: positionSide, right: 'auto' });
490
- }
491
- }
492
- });
493
- }
494
-
495
- previewPosition();
496
-
497
-
498
- $('[name="cht_position"]').change(function () {
499
- var valueCustom = $('[name="cht_position"]:checked').val();
500
-
501
- if (valueCustom === 'right') {
502
- $('.page-body .chaty-widget ').removeClass('chaty-widget-icons-left');
503
- $('.page-body .chaty-widget ').addClass('chaty-widget-icons-right');
504
- } else if (valueCustom === 'left') {
505
- $('.page-body .chaty-widget ').removeClass('chaty-widget-icons-right');
506
- $('.page-body .chaty-widget ').addClass('chaty-widget-icons-left');
507
- }
508
- previewPosition();
509
- });
510
- }());
511
- $('.popover').hide();
512
- two_soc();
513
-
514
- var socialIcon = $('.channels-icons > .icon-sm');
515
-
516
-
517
- var socialInputsContainer = $('.social-inputs');
518
-
519
- var click = 0;
520
- $('input[name=cht_custom_color]').keyup(function (event) {
521
- var color = $(this).val();
522
- $('.circle').html('');
523
- $('.color-picker-custom .circle').css({
524
- 'background-color': color
525
- });
526
- if ($(this).val().length < 1) {
527
- $('.color-picker-custom .circle').html('?');
528
- }
529
- });
530
- socialIcon.on('click', function () {
531
- ++click;
532
- two_soc();
533
-
534
- var $this = $(this);
535
-
536
- var social = $this.data('social');
537
-
538
- var socialItem = socialInputsContainer.find('.social-form-group');
539
-
540
- if ($this.hasClass('active')) {
541
- var del = ',' + $(this).attr('data-social');
542
-
543
- var newlocaldata = $('.add_slug').val();
544
- newlocaldata = newlocaldata.replace(del, '');
545
- $('.add_slug').val(newlocaldata);
546
- newlocaldata = newlocaldata.replace(del, '');
547
- $('.add_slug').val(newlocaldata);
548
- newlocaldata = newlocaldata.replace(del, '');
549
- $('.add_slug').val(newlocaldata);
550
- newlocaldata = newlocaldata.replace(del, '');
551
-
552
-
553
- $('.add_slug').val(newlocaldata);
554
-
555
- $this.toggleClass('active');
556
- return;
557
- }
558
- socialIcon.addClass('disabled');
559
- icon = $(this).data('social');
560
-
561
- if ($('.add_slug').val().indexOf(icon) == '1' && $('.add_slug').val() != '') {
562
- var del = ',' + icon;
563
- var newlocaldata = $('.add_slug').val();
564
-
565
- newlocaldata = newlocaldata.replace(del, '');
566
- $('.add_slug').val(newlocaldata);
567
- newlocaldata = newlocaldata.replace(del, '');
568
- $('.add_slug').val(newlocaldata);
569
- newlocaldata = newlocaldata.replace(del, '');
570
- $('.add_slug').val(newlocaldata);
571
- } else {
572
- $('.add_slug').val($('.add_slug').val() + ',' + $(this).attr('data-social'));
573
- }
574
-
575
-
576
- /* if($('section').is("#pro")){
577
-
578
- }else if(click >='3'){
579
- // alert(click);
580
- $('.popover').show().effect( "shake", {times:3}, 600 );
581
- click = $('.channels-selected__item.free').length;
582
- return;
583
-
584
-
585
- } */
586
-
587
- if (!$('section').is('#pro') && $('.channels-icons > .icon.active').length >= 2) {
588
- $('.popover').show().effect('shake', { times: 3 }, 600);
589
- socialIcon.removeClass('disabled');
590
- return;
591
- }
592
-
593
- $this.toggleClass('active');
594
-
595
-
596
- if ($('section').is('#pro')) {
597
- var token = 'pro';
598
- } else {
599
- var token = 'free';
600
- }
601
-
602
-
603
- $.ajax({
604
- type: 'POST',
605
- dataType: 'json',
606
- url: ajaxurl,
607
- data: {
608
- action: 'choose_social',
609
- social: social,
610
- nonce_code: cht_nonce_ajax.cht_nonce,
611
- version: token
612
- },
613
- beforeSend: function (xhr) {
614
-
615
- },
616
- success: function (data) {
617
- var item = $(data);
618
- var itemName = item.find('.icon').data('title');
619
-
620
- if (!$('.channels-selected div[data-title="' + itemName + '"]').length) {
621
- $('.channels-selected__item.disabled').before(item);
622
- }
623
-
624
-
625
- socialIcon.removeClass('disabled');
626
- detectIcon();
627
- two_soc();
628
- },
629
- error: function (xhr, status, error) {
630
-
631
- }
632
- });
633
-
634
- two_soc();
635
- });
636
-
637
-
638
- /**
639
- * Cancel Btn
640
- */
641
- var cancelBtn = $('body');
642
-
643
- cancelBtn.on('click', '.icon, .btn-cancel', function (e) {
644
- e.preventDefault();
645
-
646
- if ($(this).hasClass('icon') && $(this).hasClass('active')) {
647
- return;
648
- }
649
-
650
- icon = $(this).data('social');
651
- if ($(this).hasClass('btn-cancel')) {
652
- $('.icon.active[data-social^="' + icon + '"]').removeClass('active');
653
-
654
- var del = ',' + icon;
655
- var newlocaldata = $('.add_slug').val();
656
- newlocaldata = newlocaldata.replace(del, '');
657
-
658
- $('.add_slug').val(newlocaldata);
659
- }
660
- var del_item = $('.btn-cancel[data-social^="' + icon + '"]').parents('.channels-selected__item');
661
- del_item.remove();
662
-
663
- var item = $(this).parent('.channels-selected__item');
664
-
665
-
666
- var social = $(this).data('social');
667
-
668
- $.ajax({
669
- type: 'POST',
670
- dataType: 'json',
671
- url: ajaxurl,
672
- data: {
673
- action: 'remove_social',
674
- nonce_code: cht_nonce_ajax.cht_nonce,
675
- social: social
676
- },
677
- beforeSend: function (xhr) {
678
-
679
- },
680
- success: function (bool) {
681
- if (bool) {
682
- item.remove();
683
- del_item.remove();
684
-
685
-
686
- $('.icon-sm').each(function () {
687
- if ($(this).data('social') === social) {
688
- // $(this).removeClass('active');
689
- }
690
- });
691
- }
692
- },
693
- error: function (xhr, status, error) {
694
-
695
- }
696
- });
697
- detectIcon();
698
- two_soc();
699
- });
700
-
701
-
702
- function two_soc() {
703
- if ($('section').is('#pro')) {
704
- return;
705
- }
706
-
707
- if ($('.channels-selected__item').length <= 1) {
708
- $('.channels-selected__item').hide();
709
- $('.popover').hide();
710
- } else if ($('.channels-selected__item').length >= 2) {
711
- $('.channels-selected__item').show();
712
- }
713
- }
714
- $('.btn-help').click(function (event) {
715
- window.open(
716
- 'https://premio.io/downloads/chaty/#faq',
717
- '_blank' // <- This is what makes it open in a new window.
718
- );
719
- });
720
-
721
-
722
- var freeCustomInput = $('.free-custom-radio, .free-custom-checkbox');
723
-
724
- freeCustomInput.on('click', function (e) {
725
- e.preventDefault();
726
- });
727
- var chatyCta = $('[name=cht_cta]');
728
- var toolTip = $('.preview .tooltip-show');
729
-
730
- chatyCta.keyup(function () {
731
- var $icon = $('.preview .page .icon');
732
- if (chatyCta.val().length >= 1) {
733
- $icon.removeClass('no-tooltip');
734
- } else {
735
- $icon.addClass('no-tooltip');
736
- }
737
- toolTip.attr('data-title', chatyCta.val());
738
- });
739
-
740
-
741
- var baseIcon = '<svg version="1.1" id="ch" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="-496 507.7 54 54" style="enable-background:new -496 507.7 54 54;" xml:space="preserve">\n' +
742
- ' <style type="text/css">.st0 {fill: #A886CD;} .st1 {fill: #FFFFFF;}\n' +
743
- ' </style><g><circle class="st0" cx="-469" cy="534.7" r="27"/></g><path class="st1" d="M-459.9,523.7h-20.3c-1.9,0-3.4,1.5-3.4,3.4v15.3c0,1.9,1.5,3.4,3.4,3.4h11.4l5.9,4.9c0.2,0.2,0.3,0.2,0.5,0.2 h0.3c0.3-0.2,0.5-0.5,0.5-0.8v-4.2h1.7c1.9,0,3.4-1.5,3.4-3.4v-15.3C-456.5,525.2-458,523.7-459.9,523.7z"/>\n' +
744
- ' <path class="st0" d="M-477.7,530.5h11.9c0.5,0,0.8,0.4,0.8,0.8l0,0c0,0.5-0.4,0.8-0.8,0.8h-11.9c-0.5,0-0.8-0.4-0.8-0.8l0,0\n' +
745
- ' C-478.6,530.8-478.2,530.5-477.7,530.5z"/>\n' +
746
- ' <path class="st0" d="M-477.7,533.5h7.9c0.5,0,0.8,0.4,0.8,0.8l0,0c0,0.5-0.4,0.8-0.8,0.8h-7.9c-0.5,0-0.8-0.4-0.8-0.8l0,0\n' +
747
- ' C-478.6,533.9-478.2,533.5-477.7,533.5z"/>\n' +
748
- ' </svg>',
749
- defaultIcon = '<svg version="1.1" id="ch" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="-496 507.7 54 54" style="enable-background:new -496 507.7 54 54;" xml:space="preserve">\n' +
750
- ' <style type="text/css">.st0 {fill: #A886CD;} .st1 {fill: #FFFFFF;}\n' +
751
- ' </style><g><circle class="st0" cx="-469" cy="534.7" r="27"/></g><path class="st1" d="M-459.9,523.7h-20.3c-1.9,0-3.4,1.5-3.4,3.4v15.3c0,1.9,1.5,3.4,3.4,3.4h11.4l5.9,4.9c0.2,0.2,0.3,0.2,0.5,0.2 h0.3c0.3-0.2,0.5-0.5,0.5-0.8v-4.2h1.7c1.9,0,3.4-1.5,3.4-3.4v-15.3C-456.5,525.2-458,523.7-459.9,523.7z"/>\n' +
752
- ' <path class="st0" d="M-477.7,530.5h11.9c0.5,0,0.8,0.4,0.8,0.8l0,0c0,0.5-0.4,0.8-0.8,0.8h-11.9c-0.5,0-0.8-0.4-0.8-0.8l0,0\n' +
753
- ' C-478.6,530.8-478.2,530.5-477.7,530.5z"/>\n' +
754
- ' <path class="st0" d="M-477.7,533.5h7.9c0.5,0,0.8,0.4,0.8,0.8l0,0c0,0.5-0.4,0.8-0.8,0.8h-7.9c-0.5,0-0.8-0.4-0.8-0.8l0,0\n' +
755
- ' C-478.6,533.9-478.2,533.5-477.7,533.5z"/>\n' +
756
- ' </svg>',
757
- iconBlock = document.getElementById('iconWidget'),
758
- desktopIcon,
759
- mobileIcon,
760
- colorFill = jQuery('.color-picker-radio input:checked').val();
761
-
762
-
763
- $('#testUpload').on('change', function () {
764
- if (this.value.length > 0) {
765
- document.querySelector('.js-upload').disabled = false;
766
- } else {
767
- document.querySelector('.js-upload').disabled = true;
768
- document.getElementById('uploadInput').checked = false;
769
- }
770
- });
771
-
772
-
773
- $('.js-switch-preview').on('change', function () {
774
- if(getPreviewDesktop()){
775
- $(this).closest( ".preview" ).removeClass('mobiel-view');
776
- }else{
777
- $(this).closest( ".preview" ).addClass('mobiel-view');
778
- }
779
- detectIcon();
780
- });
781
-
782
- function detectIcon() {
783
- var desktop,
784
- mobile,
785
- colorSelf = false;
786
- if(getPreviewDesktop()){
787
- if($('.js-chanel-desktop:checked').length === 0){
788
- desktop = false;
789
- }
790
- if($('.js-chanel-desktop:checked').length === 1){
791
- desktop = $('.icon[data-title="'+$('.js-chanel-desktop:checked').attr('data-type')+'"]').html();
792
- }
793
- if($('.js-chanel-desktop:checked').length > 1){
794
- desktop = defaultIcon;
795
- colorSelf = true;
796
- }
797
- }else{
798
- if($('.js-chanel-mobile:checked').length === 0){
799
- mobile = false;
800
- }
801
- if($('.js-chanel-mobile:checked').length === 1){
802
- mobile = $('.icon[data-title="'+$('.js-chanel-mobile:checked').attr('data-type')+'"]').html();
803
- }
804
- if($('.js-chanel-mobile:checked').length > 1){
805
- mobile = defaultIcon;
806
- colorSelf = true;
807
- }
808
- }
809
-
810
-
811
- desktopIcon = desktop;
812
- mobileIcon = mobile;
813
-
814
- if(getPreviewDesktop()){
815
- setIcon(desktopIcon,colorSelf)
816
- }else{
817
- setIcon(mobileIcon,colorSelf)
818
- }
819
- }
820
- function setIcon(icon,colorSelf) {
821
- if(icon){
822
- $('.preview .page .chaty-widget').show();
823
- iconBlock.innerHTML = icon;
824
- }else{
825
- $('.preview .page .chaty-widget').hide();
826
- iconBlock.innerHTML= '';
827
- }
828
- if(colorSelf){
829
- var color = $('.color-picker-custom input').val() ? $('.color-picker-custom input').val() : $('.color-picker-radio input:checked').val();
830
- $('.preview .page svg circle').css({ fill: color });
831
- }
832
- }
833
-
834
- function getPreviewDesktop() {
835
- return $('#previewDesktop').attr('checked') === 'checked' ? true : false;
836
- }
837
-
838
- function changeWidgetIcon() {
839
-
840
- $(document).on('change', '.js-chanel-icon', function () {
841
- detectIcon();
842
- });
843
-
844
- function calc(a) {
845
- var count={}, res=0, q;
846
- for (q=0; q<a.length; ++q) {
847
- count[a[q].dataset.type] = ~~count[a[q].dataset.type] + 1;
848
- }
849
- for (q in count) {
850
- if (count.hasOwnProperty(q) && count[q] > 1) {
851
- res += count[q];
852
- }
853
- }
854
- return res;
855
- }
856
-
857
-
858
-
859
- $(document).on('change', '.js-widget-i', function (ev) {
860
- if (ev.target.classList.contains('js-upload')) {
861
- defaultIcon = $('.file-preview-image').last().parent().html();
862
- } else {
863
- defaultIcon = $('i[data-type='+ev.target.dataset.type+']').html()
864
- }
865
- detectIcon();
866
- });
867
- }
868
- changeWidgetIcon();
869
-
870
-
871
-
872
- if($(".js-widget-i:checked").attr("data-type") !== 'chat-image'){
873
- defaultIcon = $('i[data-type='+$(".js-widget-i:checked").attr("data-type")+']').html();
874
- detectIcon();
875
- };
876
-
877
-
878
-
879
-
880
- });
881
- }(jQuery));
882
-
883
-
884
-
1
+ /**
2
+ * easyModal.js v1.3.2
3
+ * A minimal jQuery modal that works with your CSS.
4
+ * Author: Flavius Matis - http://flaviusmatis.github.com/
5
+ * URL: https://github.com/flaviusmatis/easyModal.js
6
+ *
7
+ * Copyright 2012, Flavius Matis
8
+ * Released under the MIT license.
9
+ * http://flaviusmatis.github.com/license.html
10
+ */
11
+
12
+ /* jslint browser: true */
13
+ /* global jQuery */
14
+
15
+
16
+ (function ($, sr) {
17
+ // debouncing function from John Hann
18
+ // http://unscriptable.com/index.php/2009/03/20/debouncing-javascript-methods/
19
+ var debounce = function (func, threshold, execAsap) {
20
+ var timeout;
21
+
22
+ return function debounced() {
23
+ var obj = this; var
24
+ args = arguments;
25
+ function delayed() {
26
+ if (!execAsap) func.apply(obj, args);
27
+ timeout = null;
28
+ }
29
+
30
+ if (timeout) clearTimeout(timeout);
31
+ else if (execAsap) func.apply(obj, args);
32
+
33
+ timeout = setTimeout(delayed, threshold || 100);
34
+ };
35
+ };
36
+ // smartModalResize
37
+ jQuery.fn[sr] = function (fn) { return fn ? this.bind('resize', debounce(fn)) : this.trigger(sr); };
38
+ }(jQuery, 'smartModalResize'));
39
+
40
+ (function ($) {
41
+ 'use strict';
42
+
43
+ var methods = {
44
+ init: function (options) {
45
+ var defaults = {
46
+ top: 'auto',
47
+ left: 'auto',
48
+ autoOpen: false,
49
+ overlayOpacity: 0.5,
50
+ overlayColor: '#000',
51
+ overlayClose: true,
52
+ overlayParent: 'body',
53
+ closeOnEscape: true,
54
+ closeButtonClass: '.close',
55
+ transitionIn: '',
56
+ transitionOut: '',
57
+ onOpen: false,
58
+ onClose: false,
59
+ zIndex: function () {
60
+ return (function (value) {
61
+ return value === -Infinity ? 0 : value + 1;
62
+ }(Math.max.apply(Math, $.makeArray($('*').map(function () {
63
+ return $(this).css('z-index');
64
+ }).filter(function () {
65
+ return $.isNumeric(this);
66
+ }).map(function () {
67
+ return parseInt(this, 10);
68
+ })))));
69
+ },
70
+ updateZIndexOnOpen: true,
71
+ hasVariableWidth: false
72
+ };
73
+
74
+ options = $.extend(defaults, options);
75
+
76
+ return this.each(function () {
77
+ var o = options;
78
+
79
+
80
+ var $overlay = $('<div class="lean-overlay"></div>');
81
+
82
+
83
+ var $modal = $(this);
84
+
85
+ $overlay.css({
86
+ display: 'none',
87
+ position: 'fixed',
88
+ // When updateZIndexOnOpen is set to true, we avoid computing the z-index on initialization,
89
+ // because the value would be replaced when opening the modal.
90
+ 'z-index': (o.updateZIndexOnOpen ? 0 : o.zIndex()),
91
+ top: 0,
92
+ left: 0,
93
+ height: '100%',
94
+ width: '100%',
95
+ background: o.overlayColor,
96
+ opacity: o.overlayOpacity,
97
+ overflow: 'auto'
98
+ }).appendTo(o.overlayParent);
99
+
100
+ $modal.css({
101
+ display: 'none',
102
+ position: 'fixed',
103
+ // When updateZIndexOnOpen is set to true, we avoid computing the z-index on initialization,
104
+ // because the value would be replaced when opening the modal.
105
+ 'z-index': (o.updateZIndexOnOpen ? 0 : o.zIndex() + 1),
106
+ left: parseInt(o.left, 10) > -1 ? o.left + 'px' : 50 + '%',
107
+ top: parseInt(o.top, 10) > -1 ? o.top + 'px' : 50 + '%'
108
+ });
109
+
110
+ $modal.bind('openModal', function () {
111
+ var overlayZ = o.updateZIndexOnOpen ? o.zIndex() : parseInt($overlay.css('z-index'), 10);
112
+
113
+
114
+ var modalZ = overlayZ + 1;
115
+
116
+ if (o.transitionIn !== '' && o.transitionOut !== '') {
117
+ $modal.removeClass(o.transitionOut).addClass(o.transitionIn);
118
+ }
119
+ $modal.css({
120
+ display: 'block',
121
+ 'margin-left': (parseInt(o.left, 10) > -1 ? 0 : -($modal.outerWidth() / 2)) + 'px',
122
+ 'margin-top': (parseInt(o.top, 10) > -1 ? 0 : -($modal.outerHeight() / 2)) + 'px',
123
+ 'z-index': modalZ
124
+ });
125
+
126
+ $overlay.css({ 'z-index': overlayZ, display: 'block' });
127
+
128
+ if (o.onOpen && typeof o.onOpen === 'function') {
129
+ // onOpen callback receives as argument the modal window
130
+ o.onOpen($modal[0]);
131
+ }
132
+ });
133
+
134
+ $modal.bind('closeModal', function () {
135
+ if (o.transitionIn !== '' && o.transitionOut !== '') {
136
+ $modal.removeClass(o.transitionIn).addClass(o.transitionOut);
137
+ $modal.one('webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend animationend', function () {
138
+ $modal.css('display', 'none');
139
+ $overlay.css('display', 'none');
140
+ });
141
+ } else {
142
+ $modal.css('display', 'none');
143
+ $overlay.css('display', 'none');
144
+ }
145
+ if (o.onClose && typeof o.onClose === 'function') {
146
+ // onClose callback receives as argument the modal window
147
+ o.onClose($modal[0]);
148
+ }
149
+ });
150
+
151
+ // Close on overlay click
152
+ $overlay.click(function () {
153
+ if (o.overlayClose) {
154
+ $modal.trigger('closeModal');
155
+ }
156
+ });
157
+
158
+ $(document).keydown(function (e) {
159
+ // ESCAPE key pressed
160
+ if (o.closeOnEscape && e.keyCode === 27) {
161
+ $modal.trigger('closeModal');
162
+ }
163
+ });
164
+
165
+ $(window).smartModalResize(function () {
166
+ if (o.hasVariableWidth) {
167
+ $modal.css({
168
+ 'margin-left': (parseInt(o.left, 10) > -1 ? 0 : -($modal.outerWidth() / 2)) + 'px',
169
+ 'margin-top': (parseInt(o.top, 10) > -1 ? 0 : -($modal.outerHeight() / 2)) + 'px'
170
+ });
171
+ }
172
+ });
173
+
174
+ // Close when button pressed
175
+ $modal.on('click', o.closeButtonClass, function (e) {
176
+ $modal.trigger('closeModal');
177
+ e.preventDefault();
178
+ });
179
+
180
+ // Automatically open modal if option set
181
+ if (o.autoOpen) {
182
+ $modal.trigger('openModal');
183
+ }
184
+ });
185
+ }
186
+ };
187
+
188
+ $.fn.easyModal = function (method) {
189
+ // Method calling logic
190
+ if (methods[method]) {
191
+ return methods[method].apply(this, Array.prototype.slice.call(arguments, 1));
192
+ }
193
+
194
+ if (typeof method === 'object' || !method) {
195
+ return methods.init.apply(this, arguments);
196
+ }
197
+
198
+ $.error('Method ' + method + ' does not exist on jQuery.easyModal');
199
+ };
200
+ }(jQuery));
201
+ (function ($) {
202
+ $(document).ready(function () {
203
+ $('input, .icon, textarea, .btn-cancel ').click(function (event) {
204
+ window.onbeforeunload = function (e) {
205
+ e = e || window.event;
206
+ e.preventDefault = true;
207
+ e.cancelBubble = true;
208
+ e.returnValue = 'Your beautiful goodbye message';
209
+ };
210
+ });
211
+
212
+ $(document).on('submit', 'form', function (event) {
213
+ window.onbeforeunload = null;
214
+ });
215
+
216
+ $('.preview').stick_in_parent({
217
+ offset_top:200
218
+ });
219
+
220
+ $('.upg').click(function (event) {
221
+ $('.valid_domain_input').val($('.valid_domain_input').val().replace(' ', ''));
222
+ if (!/^(http(s)?:\/\/)?(www\.)?[a-z0-9]+([\-\.]{1}[a-z0-9]+)*\.[a-z]{2,5}(:[0-9]{1,5})?(\/.*)?$/.test($('.valid_domain_input').val())) {
223
+ event.preventDefault();
224
+ $('.valid_domain').fadeIn().css({
225
+ display: 'block'
226
+ });
227
+ }
228
+ });
229
+ $('.del_token').click(function (event) {
230
+ $.ajax({
231
+ type: 'POST',
232
+ url: ajaxurl,
233
+ data: {
234
+ action: 'del_token',
235
+ nonce_code: cht_nonce_ajax.cht_nonce
236
+ },
237
+ success: function (bool) {
238
+ location.reload();
239
+ },
240
+ error: function (xhr, status, error) {
241
+
242
+ }
243
+ });
244
+ });
245
+
246
+ (function easyModal() {
247
+ $('.easy-modal').easyModal({
248
+ top: 150,
249
+ overlay: 0.2
250
+ });
251
+ $('.easy-modal-open').click(function (e) {
252
+ var target = $(this).attr('href');
253
+ $(target).trigger('openModal');
254
+ e.preventDefault();
255
+ });
256
+ $('.easy-modal-close').click(function (e) {
257
+ e.preventDefault();
258
+ $('.easy-modal').trigger('closeModal');
259
+ });
260
+ }());
261
+ var count_click = 1000000003;
262
+ $('.show_up').click(function () {
263
+ count_click += 10;
264
+ $('#upgrade-modal').css({
265
+ 'z-index': count_click,
266
+ display: 'block',
267
+ 'margin-left': '-258px'
268
+ });
269
+ });
270
+
271
+ (function colorPicker() {
272
+ $('.color-picker-btn, .color-picker-btn-close, .color-picker-custom button').on('click', function (e) {
273
+ e.preventDefault();
274
+
275
+ $('.color-picker').toggle();
276
+ $('.color-picker-btn').toggle();
277
+ });
278
+
279
+ $('.color-picker-radio input').change(function () {
280
+ var $this = $(this);
281
+ $('.color-picker-custom input[name="cht_custom_color"]').val('');
282
+ $('.color-picker-custom .circle').html('?').css({
283
+ 'background-color': '#fff'
284
+ });
285
+ if ($this.prop('checked')) {
286
+ $('.color-picker-radio input').prop('checked', false);
287
+ $this.prop('checked', true);
288
+ var color = $this.val();
289
+ var title = $this.prop('title');
290
+ } else {
291
+ color = $('.color-picker-custom input').val();
292
+ title = 'Custom';
293
+ }
294
+
295
+ $('.color-picker-btn .circle').css({ backgroundColor: color });
296
+ $('.color-picker-btn .text').text(title);
297
+ });
298
+
299
+ $('.color-picker-custom input').change(function () {
300
+ $('.color-picker-radio input').prop('checked', false);
301
+
302
+ var $this = $(this);
303
+
304
+ var color = $this.val();
305
+
306
+ $('.color-picker-btn .circle').css({ backgroundColor: color });
307
+ $('.color-picker-btn .text').text('Custom');
308
+ });
309
+ }());
310
+
311
+ (function customSelect() {
312
+ $('[name="cht_position"]').change(function () {
313
+ if ($('#positionCustom').prop('checked')) {
314
+ $('#positionPro').show();
315
+ } else {
316
+ $('#positionPro').hide();
317
+ }
318
+ });
319
+ }());
320
+
321
+
322
+
323
+
324
+ /**
325
+ * add Token
326
+ */
327
+
328
+ var AddTokenBtn = $('.update_token');
329
+
330
+ AddTokenBtn.on('click', function (e) {
331
+ e.preventDefault();
332
+ var token = $('input[name="cht_license_key"]').val();
333
+
334
+ $.ajax({
335
+ type: 'POST',
336
+ url: ajaxurl,
337
+ data: {
338
+ action: 'add_token',
339
+ nonce_code: cht_nonce_ajax.cht_nonce,
340
+ token: token
341
+ },
342
+ beforeSend: function (xhr) {
343
+
344
+ },
345
+ success: function (bool) {
346
+ if (bool) {
347
+ alert('Your pro plan is activated');
348
+ location.reload();
349
+ } else {
350
+ alert('You`ve entered a wrong token');
351
+ }
352
+ },
353
+ error: function (xhr, status, error) {
354
+
355
+ }
356
+ });
357
+ });
358
+ $('textarea[name=cht_cta]').keyup(function (event) {
359
+ $('.tooltiptext').html($(this).val());
360
+ if ($(this).val().length == 0) {
361
+ $('.cta').hide(200);
362
+ $('.tooltiptext').hide(200);
363
+ } else {
364
+ $('.cta').show(300);
365
+ $('.tooltiptext').show(200);
366
+ }
367
+ });
368
+ });
369
+ }(jQuery));
370
+
371
+ (function ($) {
372
+ $(document).ready(function () {
373
+ (function preview() {
374
+ (function previewColor() {
375
+ $('.color-picker-radio input').change(function () {
376
+ var $this = $(this);
377
+
378
+ if ($this.prop('checked')) {
379
+ var color = $this.val();
380
+ } else {
381
+ color = $('.color-picker-custom input').val();
382
+ }
383
+ detectIcon();
384
+ });
385
+
386
+ $('.color-picker-custom input').change(function () {
387
+ var $this = $(this);
388
+
389
+ var color = $this.val();
390
+
391
+ detectIcon();
392
+ });
393
+ }());
394
+
395
+ (function previewTooltip() {
396
+ var $widgetTooltip = $('#widgetTooltip');
397
+ var $icon = $('.preview .page .icon');
398
+
399
+ function tooltipToggle() {
400
+ if ($('[name=cht_cta]').val().length >= 1) {
401
+ $icon.removeClass('no-tooltip');
402
+ } else {
403
+ $icon.addClass('no-tooltip');
404
+ }
405
+ }
406
+
407
+ tooltipToggle();
408
+
409
+ $widgetTooltip.change(function () {
410
+ tooltipToggle();
411
+ });
412
+ }());
413
+
414
+ function previewPosition() {
415
+ var $inputPosBot = $('#positionBottom');
416
+ var $inputPosSide = $('#positionSide');
417
+ var $chatyWidget = $('.preview .page .chaty-widget');
418
+ var customSpace = '7px';
419
+
420
+ var value = $('[name="cht_position"]:checked').val();
421
+
422
+ if (value === 'right') {
423
+ $chatyWidget.css({ right: customSpace, left: 'auto', bottom: '7px' });
424
+ } else if (value === 'left') {
425
+ $chatyWidget.css({ left: customSpace, right: 'auto', bottom: '7px' });
426
+ } else if (value === 'custom') {
427
+ if ($inputPosBot.val()) {
428
+ var positionBottom = $inputPosBot.val() + 'px';
429
+ } else {
430
+ positionBottom = customSpace;
431
+ }
432
+
433
+ if ($inputPosSide.val()) {
434
+ var positionSide = $inputPosSide.val() + 'px';
435
+ } else {
436
+ positionSide = customSpace;
437
+ }
438
+
439
+ $inputPosBot.change(function () {
440
+ positionBottom = $('#positionBottom').val() + 'px';
441
+
442
+ $chatyWidget.css({ bottom: positionBottom });
443
+ });
444
+
445
+ $inputPosSide.change(function () {
446
+ var valueCustom = $('[name="positionSide"]:checked').val();
447
+ positionSide = $(this).val() + 'px';
448
+
449
+ if (valueCustom === 'right') {
450
+ $('.page-body .chaty-widget ').removeClass('chaty-widget-icons-left');
451
+ $('.page-body .chaty-widget ').addClass('chaty-widget-icons-right');
452
+ $chatyWidget.css({ right: positionSide, left: 'auto' });
453
+ } else if (valueCustom === 'left') {
454
+ $('.page-body .chaty-widget ').removeClass('chaty-widget-icons-right');
455
+ $('.page-body .chaty-widget ').addClass('chaty-widget-icons-left');
456
+ $chatyWidget.css({ left: positionSide, right: 'auto' });
457
+ }
458
+ });
459
+
460
+ $('[name="positionSide"]').change(function () {
461
+ var valueCustom = $('[name="positionSide"]:checked').val();
462
+
463
+ if (valueCustom === 'right') {
464
+ $('.page-body .chaty-widget ').removeClass('chaty-widget-icons-left');
465
+ $('.page-body .chaty-widget ').addClass('chaty-widget-icons-right');
466
+ $chatyWidget.css({ right: positionSide, left: 'auto' });
467
+ } else if (valueCustom === 'left') {
468
+ $('.page-body .chaty-widget ').removeClass('chaty-widget-icons-right');
469
+ $('.page-body .chaty-widget ').addClass('chaty-widget-icons-left');
470
+ $chatyWidget.css({ left: positionSide, right: 'auto' });
471
+ }
472
+ });
473
+ }
474
+ $('[name="cht_position"]').change(function () {
475
+ if ($('#positionCustom').prop('checked')) {
476
+ var $inputPosBot = $('#positionBottom');
477
+ var $inputPosSide = $('#positionSide');
478
+ var $chatyWidget = $('.preview .page .chaty-widget');
479
+ $chatyWidget.css({ bottom: positionBottom });
480
+ var valueCustom = $('[name="positionSide"]:checked').val();
481
+ positionSide = $('#positionSide').val() + 'px';
482
+ if (valueCustom === 'right') {
483
+ $('.page-body .chaty-widget ').removeClass('chaty-widget-icons-left');
484
+ $('.page-body .chaty-widget ').addClass('chaty-widget-icons-right');
485
+ $chatyWidget.css({ right: positionSide, left: 'auto' });
486
+ } else if (valueCustom === 'left') {
487
+ $('.page-body .chaty-widget ').removeClass('chaty-widget-icons-right');
488
+ $('.page-body .chaty-widget ').addClass('chaty-widget-icons-left');
489
+ $chatyWidget.css({ left: positionSide, right: 'auto' });
490
+ }
491
+ }
492
+ });
493
+ }
494
+
495
+ previewPosition();
496
+
497
+
498
+ $('[name="cht_position"]').change(function () {
499
+ var valueCustom = $('[name="cht_position"]:checked').val();
500
+
501
+ if (valueCustom === 'right') {
502
+ $('.page-body .chaty-widget ').removeClass('chaty-widget-icons-left');
503
+ $('.page-body .chaty-widget ').addClass('chaty-widget-icons-right');
504
+ } else if (valueCustom === 'left') {
505
+ $('.page-body .chaty-widget ').removeClass('chaty-widget-icons-right');
506
+ $('.page-body .chaty-widget ').addClass('chaty-widget-icons-left');
507
+ }
508
+ previewPosition();
509
+ });
510
+ }());
511
+ $('.popover').hide();
512
+ two_soc();
513
+
514
+ var socialIcon = $('.channels-icons > .icon-sm');
515
+
516
+
517
+ var socialInputsContainer = $('.social-inputs');
518
+
519
+ var click = 0;
520
+ $('input[name=cht_custom_color]').keyup(function (event) {
521
+ var color = $(this).val();
522
+ $('.circle').html('');
523
+ $('.color-picker-custom .circle').css({
524
+ 'background-color': color
525
+ });
526
+ if ($(this).val().length < 1) {
527
+ $('.color-picker-custom .circle').html('?');
528
+ }
529
+ });
530
+ socialIcon.on('click', function () {
531
+ ++click;
532
+ two_soc();
533
+
534
+ var $this = $(this);
535
+
536
+ var social = $this.data('social');
537
+
538
+ var socialItem = socialInputsContainer.find('.social-form-group');
539
+
540
+ if ($this.hasClass('active')) {
541
+ var del = ',' + $(this).attr('data-social');
542
+
543
+ var newlocaldata = $('.add_slug').val();
544
+ newlocaldata = newlocaldata.replace(del, '');
545
+ $('.add_slug').val(newlocaldata);
546
+ newlocaldata = newlocaldata.replace(del, '');
547
+ $('.add_slug').val(newlocaldata);
548
+ newlocaldata = newlocaldata.replace(del, '');
549
+ $('.add_slug').val(newlocaldata);
550
+ newlocaldata = newlocaldata.replace(del, '');
551
+
552
+
553
+ $('.add_slug').val(newlocaldata);
554
+
555
+ $this.toggleClass('active');
556
+ return;
557
+ }
558
+ socialIcon.addClass('disabled');
559
+ icon = $(this).data('social');
560
+
561
+ if ($('.add_slug').val().indexOf(icon) == '1' && $('.add_slug').val() != '') {
562
+ var del = ',' + icon;
563
+ var newlocaldata = $('.add_slug').val();
564
+
565
+ newlocaldata = newlocaldata.replace(del, '');
566
+ $('.add_slug').val(newlocaldata);
567
+ newlocaldata = newlocaldata.replace(del, '');
568
+ $('.add_slug').val(newlocaldata);
569
+ newlocaldata = newlocaldata.replace(del, '');
570
+ $('.add_slug').val(newlocaldata);
571
+ } else {
572
+ $('.add_slug').val($('.add_slug').val() + ',' + $(this).attr('data-social'));
573
+ }
574
+
575
+
576
+ /* if($('section').is("#pro")){
577
+
578
+ }else if(click >='3'){
579
+ // alert(click);
580
+ $('.popover').show().effect( "shake", {times:3}, 600 );
581
+ click = $('.channels-selected__item.free').length;
582
+ return;
583
+
584
+
585
+ } */
586
+
587
+ if (!$('section').is('#pro') && $('.channels-icons > .icon.active').length >= 2) {
588
+ $('.popover').show().effect('shake', { times: 3 }, 600);
589
+ socialIcon.removeClass('disabled');
590
+ return;
591
+ }
592
+
593
+ $this.toggleClass('active');
594
+
595
+
596
+ if ($('section').is('#pro')) {
597
+ var token = 'pro';
598
+ } else {
599
+ var token = 'free';
600
+ }
601
+
602
+
603
+ $.ajax({
604
+ type: 'POST',
605
+ dataType: 'json',
606
+ url: ajaxurl,
607
+ data: {
608
+ action: 'choose_social',
609
+ social: social,
610
+ nonce_code: cht_nonce_ajax.cht_nonce,
611
+ version: token
612
+ },
613
+ beforeSend: function (xhr) {
614
+
615
+ },
616
+ success: function (data) {
617
+ var item = $(data);
618
+ var itemName = item.find('.icon').data('title');
619
+
620
+ if (!$('.channels-selected div[data-title="' + itemName + '"]').length) {
621
+ $('.channels-selected__item.disabled').before(item);
622
+ }
623
+
624
+
625
+ socialIcon.removeClass('disabled');
626
+ detectIcon();
627
+ two_soc();
628
+ },
629
+ error: function (xhr, status, error) {
630
+
631
+ }
632
+ });
633
+
634
+ two_soc();
635
+ });
636
+
637
+
638
+ /**
639
+ * Cancel Btn
640
+ */
641
+ var cancelBtn = $('body');
642
+
643
+ cancelBtn.on('click', '.icon, .btn-cancel', function (e) {
644
+ e.preventDefault();
645
+
646
+ if ($(this).hasClass('icon') && $(this).hasClass('active')) {
647
+ return;
648
+ }
649
+
650
+ icon = $(this).data('social');
651
+ if ($(this).hasClass('btn-cancel')) {
652
+ $('.icon.active[data-social^="' + icon + '"]').removeClass('active');
653
+
654
+ var del = ',' + icon;
655
+ var newlocaldata = $('.add_slug').val();
656
+ newlocaldata = newlocaldata.replace(del, '');
657
+
658
+ $('.add_slug').val(newlocaldata);
659
+ }
660
+ var del_item = $('.btn-cancel[data-social^="' + icon + '"]').parents('.channels-selected__item');
661
+ del_item.remove();
662
+
663
+ var item = $(this).parent('.channels-selected__item');
664
+
665
+
666
+ var social = $(this).data('social');
667
+
668
+ $.ajax({
669
+ type: 'POST',
670
+ dataType: 'json',
671
+ url: ajaxurl,
672
+ data: {
673
+ action: 'remove_social',
674
+ nonce_code: cht_nonce_ajax.cht_nonce,
675
+ social: social
676
+ },
677
+ beforeSend: function (xhr) {
678
+
679
+ },
680
+ success: function (bool) {
681
+ if (bool) {
682
+ item.remove();
683
+ del_item.remove();
684
+
685
+
686
+ $('.icon-sm').each(function () {
687
+ if ($(this).data('social') === social) {
688
+ // $(this).removeClass('active');
689
+ }
690
+ });
691
+ }
692
+ },
693
+ error: function (xhr, status, error) {
694
+
695
+ }
696
+ });
697
+ detectIcon();
698
+ two_soc();
699
+ });
700
+
701
+
702
+ function two_soc() {
703
+ if ($('section').is('#pro')) {
704
+ return;
705
+ }
706
+
707
+ if ($('.channels-selected__item').length <= 1) {
708
+ $('.channels-selected__item').hide();
709
+ $('.popover').hide();
710
+ } else if ($('.channels-selected__item').length >= 2) {
711
+ $('.channels-selected__item').show();
712
+ }
713
+ }
714
+ $('.btn-help').click(function (event) {
715
+ window.open(
716
+ 'https://premio.io/downloads/chaty/#faq',
717
+ '_blank' // <- This is what makes it open in a new window.
718
+ );
719
+ });
720
+
721
+
722
+ var freeCustomInput = $('.free-custom-radio, .free-custom-checkbox');
723
+
724
+ freeCustomInput.on('click', function (e) {
725
+ e.preventDefault();
726
+ });
727
+ var chatyCta = $('[name=cht_cta]');
728
+ var toolTip = $('.preview .tooltip-show');
729
+
730
+ chatyCta.keyup(function () {
731
+ var $icon = $('.preview .page .icon');
732
+ if (chatyCta.val().length >= 1) {
733
+ $icon.removeClass('no-tooltip');
734
+ } else {
735
+ $icon.addClass('no-tooltip');
736
+ }
737
+ toolTip.attr('data-title', chatyCta.val());
738
+ });
739
+
740
+
741
+ var baseIcon = '<svg version="1.1" id="ch" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="-496 507.7 54 54" style="enable-background:new -496 507.7 54 54;" xml:space="preserve">\n' +
742
+ ' <style type="text/css">.st0 {fill: #A886CD;} .st1 {fill: #FFFFFF;}\n' +
743
+ ' </style><g><circle class="st0" cx="-469" cy="534.7" r="27"/></g><path class="st1" d="M-459.9,523.7h-20.3c-1.9,0-3.4,1.5-3.4,3.4v15.3c0,1.9,1.5,3.4,3.4,3.4h11.4l5.9,4.9c0.2,0.2,0.3,0.2,0.5,0.2 h0.3c0.3-0.2,0.5-0.5,0.5-0.8v-4.2h1.7c1.9,0,3.4-1.5,3.4-3.4v-15.3C-456.5,525.2-458,523.7-459.9,523.7z"/>\n' +
744
+ ' <path class="st0" d="M-477.7,530.5h11.9c0.5,0,0.8,0.4,0.8,0.8l0,0c0,0.5-0.4,0.8-0.8,0.8h-11.9c-0.5,0-0.8-0.4-0.8-0.8l0,0\n' +
745
+ ' C-478.6,530.8-478.2,530.5-477.7,530.5z"/>\n' +
746
+ ' <path class="st0" d="M-477.7,533.5h7.9c0.5,0,0.8,0.4,0.8,0.8l0,0c0,0.5-0.4,0.8-0.8,0.8h-7.9c-0.5,0-0.8-0.4-0.8-0.8l0,0\n' +
747
+ ' C-478.6,533.9-478.2,533.5-477.7,533.5z"/>\n' +
748
+ ' </svg>',
749
+ defaultIcon = '<svg version="1.1" id="ch" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="-496 507.7 54 54" style="enable-background:new -496 507.7 54 54;" xml:space="preserve">\n' +
750
+ ' <style type="text/css">.st0 {fill: #A886CD;} .st1 {fill: #FFFFFF;}\n' +
751
+ ' </style><g><circle class="st0" cx="-469" cy="534.7" r="27"/></g><path class="st1" d="M-459.9,523.7h-20.3c-1.9,0-3.4,1.5-3.4,3.4v15.3c0,1.9,1.5,3.4,3.4,3.4h11.4l5.9,4.9c0.2,0.2,0.3,0.2,0.5,0.2 h0.3c0.3-0.2,0.5-0.5,0.5-0.8v-4.2h1.7c1.9,0,3.4-1.5,3.4-3.4v-15.3C-456.5,525.2-458,523.7-459.9,523.7z"/>\n' +
752
+ ' <path class="st0" d="M-477.7,530.5h11.9c0.5,0,0.8,0.4,0.8,0.8l0,0c0,0.5-0.4,0.8-0.8,0.8h-11.9c-0.5,0-0.8-0.4-0.8-0.8l0,0\n' +
753
+ ' C-478.6,530.8-478.2,530.5-477.7,530.5z"/>\n' +
754
+ ' <path class="st0" d="M-477.7,533.5h7.9c0.5,0,0.8,0.4,0.8,0.8l0,0c0,0.5-0.4,0.8-0.8,0.8h-7.9c-0.5,0-0.8-0.4-0.8-0.8l0,0\n' +
755
+ ' C-478.6,533.9-478.2,533.5-477.7,533.5z"/>\n' +
756
+ ' </svg>',
757
+ iconBlock = document.getElementById('iconWidget'),
758
+ desktopIcon,
759
+ mobileIcon,
760
+ colorFill = jQuery('.color-picker-radio input:checked').val();
761
+
762
+
763
+ $('#testUpload').on('change', function () {
764
+ if (this.value.length > 0) {
765
+ document.querySelector('.js-upload').disabled = false;
766
+ } else {
767
+ document.querySelector('.js-upload').disabled = true;
768
+ document.getElementById('uploadInput').checked = false;
769
+ }
770
+ });
771
+
772
+
773
+ $('.js-switch-preview').on('change', function () {
774
+ if(getPreviewDesktop()){
775
+ $(this).closest( ".preview" ).removeClass('mobiel-view');
776
+ }else{
777
+ $(this).closest( ".preview" ).addClass('mobiel-view');
778
+ }
779
+ detectIcon();
780
+ });
781
+
782
+ function detectIcon() {
783
+ var desktop,
784
+ mobile,
785
+ colorSelf = false;
786
+ if(getPreviewDesktop()){
787
+ if($('.js-chanel-desktop:checked').length === 0){
788
+ desktop = false;
789
+ }
790
+ if($('.js-chanel-desktop:checked').length === 1){
791
+ desktop = $('.icon[data-title="'+$('.js-chanel-desktop:checked').attr('data-type')+'"]').html();
792
+ }
793
+ if($('.js-chanel-desktop:checked').length > 1){
794
+ desktop = defaultIcon;
795
+ colorSelf = true;
796
+ }
797
+ }else{
798
+ if($('.js-chanel-mobile:checked').length === 0){
799
+ mobile = false;
800
+ }
801
+ if($('.js-chanel-mobile:checked').length === 1){
802
+ mobile = $('.icon[data-title="'+$('.js-chanel-mobile:checked').attr('data-type')+'"]').html();
803
+ }
804
+ if($('.js-chanel-mobile:checked').length > 1){
805
+ mobile = defaultIcon;
806
+ colorSelf = true;
807
+ }
808
+ }
809
+
810
+
811
+ desktopIcon = desktop;
812
+ mobileIcon = mobile;
813
+
814
+ if(getPreviewDesktop()){
815
+ setIcon(desktopIcon,colorSelf)
816
+ }else{
817
+ setIcon(mobileIcon,colorSelf)
818
+ }
819
+ }
820
+ function setIcon(icon,colorSelf) {
821
+ if(icon){
822
+ $('.preview .page .chaty-widget').show();
823
+ iconBlock.innerHTML = icon;
824
+ }else{
825
+ $('.preview .page .chaty-widget').hide();
826
+ iconBlock.innerHTML= '';
827
+ }
828
+ if(colorSelf){
829
+ var color = $('.color-picker-custom input').val() ? $('.color-picker-custom input').val() : $('.color-picker-radio input:checked').val();
830
+ $('.preview .page svg circle').css({ fill: color });
831
+ }
832
+ }
833
+
834
+ function getPreviewDesktop() {
835
+ return $('#previewDesktop').attr('checked') === 'checked' ? true : false;
836
+ }
837
+
838
+ function changeWidgetIcon() {
839
+
840
+ $(document).on('change', '.js-chanel-icon', function () {
841
+ detectIcon();
842
+ });
843
+
844
+ function calc(a) {
845
+ var count={}, res=0, q;
846
+ for (q=0; q<a.length; ++q) {
847
+ count[a[q].dataset.type] = ~~count[a[q].dataset.type] + 1;
848
+ }
849
+ for (q in count) {
850
+ if (count.hasOwnProperty(q) && count[q] > 1) {
851
+ res += count[q];
852
+ }
853
+ }
854
+ return res;
855
+ }
856
+
857
+
858
+
859
+ $(document).on('change', '.js-widget-i', function (ev) {
860
+ if (ev.target.classList.contains('js-upload')) {
861
+ defaultIcon = $('.file-preview-image').last().parent().html();
862
+ } else {
863
+ defaultIcon = $('i[data-type='+ev.target.dataset.type+']').html()
864
+ }
865
+ detectIcon();
866
+ });
867
+ }
868
+ changeWidgetIcon();
869
+
870
+
871
+
872
+ if($(".js-widget-i:checked").attr("data-type") !== 'chat-image'){
873
+ defaultIcon = $('i[data-type='+$(".js-widget-i:checked").attr("data-type")+']').html();
874
+ detectIcon();
875
+ };
876
+
877
+
878
+
879
+
880
+ });
881
+ }(jQuery));
882
+
883
+
884
+
assets/js/cht-scripts.min.js CHANGED
@@ -254,6 +254,7 @@
254
  },
255
  success: function (o) {
256
  var n = e(o), i = n.find(".icon").data("title");
 
257
  e('.channels-selected div[data-title="' + i + '"]').length || e("#chaty-social-close").before(n), t.removeClass("disabled"), d(), a(), check_for_close_btn()
258
  },
259
  error: function (e, t, o) {
254
  },
255
  success: function (o) {
256
  var n = e(o), i = n.find(".icon").data("title");
257
+ //console.log(i);
258
  e('.channels-selected div[data-title="' + i + '"]').length || e("#chaty-social-close").before(n), t.removeClass("disabled"), d(), a(), check_for_close_btn()
259
  },
260
  error: function (e, t, o) {
assets/js/fileinput.min.js CHANGED
@@ -1,4484 +1,4484 @@
1
- /*!
2
- * bootstrap-fileinput v4.5.0
3
- * http://plugins.krajee.com/file-input
4
- *
5
- * Author: Kartik Visweswaran
6
- * Copyright: 2014 - 2018, Kartik Visweswaran, Krajee.com
7
- *
8
- * Licensed under the BSD 3-Clause
9
- * https://github.com/kartik-v/bootstrap-fileinput/blob/master/LICENSE.md
10
- */
11
- (function (factory) {
12
- "use strict";
13
- //noinspection JSUnresolvedVariable
14
- if (typeof define === 'function' && define.amd) { // jshint ignore:line
15
- // AMD. Register as an anonymous module.
16
- define(['jquery'], factory); // jshint ignore:line
17
- } else { // noinspection JSUnresolvedVariable
18
- if (typeof module === 'object' && module.exports) { // jshint ignore:line
19
- // Node/CommonJS
20
- // noinspection JSUnresolvedVariable
21
- module.exports = factory(require('jquery')); // jshint ignore:line
22
- } else {
23
- // Browser globals
24
- factory(window.jQuery);
25
- }
26
- }
27
- }(function ($) {
28
- "use strict";
29
-
30
- $.fn.fileinputLocales = {};
31
- $.fn.fileinputThemes = {};
32
-
33
- String.prototype.setTokens = function (replacePairs) {
34
- var str = this.toString(), key, re;
35
- for (key in replacePairs) {
36
- if (replacePairs.hasOwnProperty(key)) {
37
- re = new RegExp("\{" + key + "\}", "g");
38
- str = str.replace(re, replacePairs[key]);
39
- }
40
- }
41
- return str;
42
- };
43
-
44
- var $h, FileInput;
45
-
46
- // fileinput helper object for all global variables and internal helper methods
47
- //noinspection JSUnresolvedVariable
48
- $h = {
49
- FRAMES: '.kv-preview-thumb',
50
- SORT_CSS: 'file-sortable',
51
- OBJECT_PARAMS: '<param name="controller" value="true" />\n' +
52
- '<param name="allowFullScreen" value="true" />\n' +
53
- '<param name="allowScriptAccess" value="always" />\n' +
54
- '<param name="autoPlay" value="false" />\n' +
55
- '<param name="autoStart" value="false" />\n' +
56
- '<param name="quality" value="high" />\n',
57
- DEFAULT_PREVIEW: '<div class="file-preview-other">\n' +
58
- '<span class="{previewFileIconClass}">{previewFileIcon}</span>\n' +
59
- '</div>',
60
- MODAL_ID: 'kvFileinputModal',
61
- MODAL_EVENTS: ['show', 'shown', 'hide', 'hidden', 'loaded'],
62
- objUrl: window.URL || window.webkitURL,
63
- compare: function (input, str, exact) {
64
- return input !== undefined && (exact ? input === str : input.match(str));
65
- },
66
- isIE: function (ver) {
67
- // check for IE versions < 11
68
- if (navigator.appName !== 'Microsoft Internet Explorer') {
69
- return false;
70
- }
71
- if (ver === 10) {
72
- return new RegExp('msie\\s' + ver, 'i').test(navigator.userAgent);
73
- }
74
- var div = document.createElement("div"), status;
75
- div.innerHTML = "<!--[if IE " + ver + "]> <i></i> <![endif]-->";
76
- status = div.getElementsByTagName("i").length;
77
- document.body.appendChild(div);
78
- div.parentNode.removeChild(div);
79
- return status;
80
- },
81
- canAssignFilesToInput: function () {
82
- var input = document.createElement('input');
83
- try {
84
- input.type = "file";
85
- input.files = null;
86
- return true;
87
- } catch (err) {
88
- return false;
89
- }
90
- },
91
- getDragDropFolders: function (items) {
92
- var i, item, len = items.length, folders = 0;
93
- if (len > 0 && items[0].webkitGetAsEntry()) {
94
- for (i = 0; i < len; i++) {
95
- item = items[i].webkitGetAsEntry();
96
- if (item && item.isDirectory) {
97
- folders++;
98
- }
99
- }
100
- }
101
- return folders;
102
- },
103
- initModal: function ($modal) {
104
- var $body = $('body');
105
- if ($body.length) {
106
- $modal.appendTo($body);
107
- }
108
- },
109
- isEmpty: function (value, trim) {
110
- return value === undefined || value === null || value.length === 0 || (trim && $.trim(value) === '');
111
- },
112
- isArray: function (a) {
113
- return Array.isArray(a) || Object.prototype.toString.call(a) === '[object Array]';
114
- },
115
- ifSet: function (needle, haystack, def) {
116
- def = def || '';
117
- return (haystack && typeof haystack === 'object' && needle in haystack) ? haystack[needle] : def;
118
- },
119
- cleanArray: function (arr) {
120
- if (!(arr instanceof Array)) {
121
- arr = [];
122
- }
123
- return arr.filter(function (e) {
124
- return (e !== undefined && e !== null);
125
- });
126
- },
127
- spliceArray: function (arr, index, reverseOrder) {
128
- var i, j = 0, out = [], newArr;
129
- if (!(arr instanceof Array)) {
130
- return [];
131
- }
132
- newArr = $.extend(true, [], arr);
133
- if (reverseOrder) {
134
- newArr.reverse();
135
- }
136
- for (i = 0; i < newArr.length; i++) {
137
- if (i !== index) {
138
- out[j] = newArr[i];
139
- j++;
140
- }
141
- }
142
- if (reverseOrder) {
143
- out.reverse();
144
- }
145
- return out;
146
- },
147
- getNum: function (num, def) {
148
- def = def || 0;
149
- if (typeof num === "number") {
150
- return num;
151
- }
152
- if (typeof num === "string") {
153
- num = parseFloat(num);
154
- }
155
- return isNaN(num) ? def : num;
156
- },
157
- hasFileAPISupport: function () {
158
- return !!(window.File && window.FileReader);
159
- },
160
- hasDragDropSupport: function () {
161
- var div = document.createElement('div');
162
- /** @namespace div.draggable */
163
- /** @namespace div.ondragstart */
164
- /** @namespace div.ondrop */
165
- return !$h.isIE(9) &&
166
- (div.draggable !== undefined || (div.ondragstart !== undefined && div.ondrop !== undefined));
167
- },
168
- hasFileUploadSupport: function () {
169
- return $h.hasFileAPISupport() && window.FormData;
170
- },
171
- hasBlobSupport: function () {
172
- try {
173
- return !!window.Blob && Boolean(new Blob());
174
- } catch (e) {
175
- return false;
176
- }
177
- },
178
- hasArrayBufferViewSupport: function () {
179
- try {
180
- return new Blob([new Uint8Array(100)]).size === 100;
181
- } catch (e) {
182
- return false;
183
- }
184
- },
185
- dataURI2Blob: function (dataURI) {
186
- //noinspection JSUnresolvedVariable
187
- var BlobBuilder = window.BlobBuilder || window.WebKitBlobBuilder || window.MozBlobBuilder ||
188
- window.MSBlobBuilder, canBlob = $h.hasBlobSupport(), byteStr, arrayBuffer, intArray, i, mimeStr, bb,
189
- canProceed = (canBlob || BlobBuilder) && window.atob && window.ArrayBuffer && window.Uint8Array;
190
- if (!canProceed) {
191
- return null;
192
- }
193
- if (dataURI.split(',')[0].indexOf('base64') >= 0) {
194
- byteStr = atob(dataURI.split(',')[1]);
195
- } else {
196
- byteStr = decodeURIComponent(dataURI.split(',')[1]);
197
- }
198
- arrayBuffer = new ArrayBuffer(byteStr.length);
199
- intArray = new Uint8Array(arrayBuffer);
200
- for (i = 0; i < byteStr.length; i += 1) {
201
- intArray[i] = byteStr.charCodeAt(i);
202
- }
203
- mimeStr = dataURI.split(',')[0].split(':')[1].split(';')[0];
204
- if (canBlob) {
205
- return new Blob([$h.hasArrayBufferViewSupport() ? intArray : arrayBuffer], {type: mimeStr});
206
- }
207
- bb = new BlobBuilder();
208
- bb.append(arrayBuffer);
209
- return bb.getBlob(mimeStr);
210
- },
211
- arrayBuffer2String: function (buffer) {
212
- //noinspection JSUnresolvedVariable
213
- if (window.TextDecoder) {
214
- // noinspection JSUnresolvedFunction
215
- return new TextDecoder("utf-8").decode(buffer);
216
- }
217
- var array = Array.prototype.slice.apply(new Uint8Array(buffer)), out = '', i = 0, len, c, char2, char3;
218
- len = array.length;
219
- while (i < len) {
220
- c = array[i++];
221
- switch (c >> 4) { // jshint ignore:line
222
- case 0:
223
- case 1:
224
- case 2:
225
- case 3:
226
- case 4:
227
- case 5:
228
- case 6:
229
- case 7:
230
- // 0xxxxxxx
231
- out += String.fromCharCode(c);
232
- break;
233
- case 12:
234
- case 13:
235
- // 110x xxxx 10xx xxxx
236
- char2 = array[i++];
237
- out += String.fromCharCode(((c & 0x1F) << 6) | (char2 & 0x3F)); // jshint ignore:line
238
- break;
239
- case 14:
240
- // 1110 xxxx 10xx xxxx 10xx xxxx
241
- char2 = array[i++];
242
- char3 = array[i++];
243
- out += String.fromCharCode(((c & 0x0F) << 12) | // jshint ignore:line
244
- ((char2 & 0x3F) << 6) | // jshint ignore:line
245
- ((char3 & 0x3F) << 0)); // jshint ignore:line
246
- break;
247
- }
248
- }
249
- return out;
250
- },
251
- isHtml: function (str) {
252
- var a = document.createElement('div');
253
- a.innerHTML = str;
254
- for (var c = a.childNodes, i = c.length; i--;) {
255
- if (c[i].nodeType === 1) {
256
- return true;
257
- }
258
- }
259
- return false;
260
- },
261
- isSvg: function (str) {
262
- return str.match(/^\s*<\?xml/i) && (str.match(/<!DOCTYPE svg/i) || str.match(/<svg/i));
263
- },
264
- getMimeType: function (signature, contents, type) {
265
- switch (signature) {
266
- case "ffd8ffe0":
267
- case "ffd8ffe1":
268
- case "ffd8ffe2":
269
- return 'image/jpeg';
270
- case '89504E47':
271
- return 'image/png';
272
- case '47494638':
273
- return 'image/gif';
274
- case '49492a00':
275
- return 'image/tiff';
276
- case '52494646':
277
- return 'image/webp';
278
- case '66747970':
279
- return 'video/3gp';
280
- case '4f676753':
281
- return 'video/ogg';
282
- case '1a45dfa3':
283
- return 'video/mkv';
284
- case '000001ba':
285
- case '000001b3':
286
- return 'video/mpeg';
287
- case '3026b275':
288
- return 'video/wmv';
289
- case '25504446':
290
- return 'application/pdf';
291
- case '25215053':
292
- return 'application/ps';
293
- case '504b0304':
294
- case '504b0506':
295
- case '504b0508':
296
- return 'application/zip';
297
- case '377abcaf':
298
- return 'application/7z';
299
- case '75737461':
300
- return 'application/tar';
301
- case '7801730d':
302
- return 'application/dmg';
303
- default:
304
- switch (signature.substring(0, 6)) {
305
- case '435753':
306
- return 'application/x-shockwave-flash';
307
- case '494433':
308
- return 'audio/mp3';
309
- case '425a68':
310
- return 'application/bzip';
311
- default:
312
- switch (signature.substring(0, 4)) {
313
- case '424d':
314
- return 'image/bmp';
315
- case 'fffb':
316
- return 'audio/mp3';
317
- case '4d5a':
318
- return 'application/exe';
319
- case '1f9d':
320
- case '1fa0':
321
- return 'application/zip';
322
- case '1f8b':
323
- return 'application/gzip';
324
- default:
325
- return contents && !contents.match(/[^\u0000-\u007f]/) ? 'application/text-plain' : type;
326
- }
327
- }
328
- }
329
- },
330
- addCss: function ($el, css) {
331
- $el.removeClass(css).addClass(css);
332
- },
333
- getElement: function (options, param, value) {
334
- return ($h.isEmpty(options) || $h.isEmpty(options[param])) ? value : $(options[param]);
335
- },
336
- uniqId: function () {
337
- return Math.round(new Date().getTime()) + '_' + Math.round(Math.random() * 100);
338
- },
339
- htmlEncode: function (str, undefVal) {
340
- if (str === undefined) {
341
- return undefVal || null;
342
- }
343
- return str.replace(/&/g, '&amp;')
344
- .replace(/</g, '&lt;')
345
- .replace(/>/g, '&gt;')
346
- .replace(/"/g, '&quot;')
347
- .replace(/'/g, '&apos;');
348
- },
349
- replaceTags: function (str, tags) {
350
- var out = str;
351
- if (!tags) {
352
- return out;
353
- }
354
- $.each(tags, function (key, value) {
355
- if (typeof value === "function") {
356
- value = value();
357
- }
358
- out = out.split(key).join(value);
359
- });
360
- return out;
361
- },
362
- cleanMemory: function ($thumb) {
363
- var data = $thumb.is('img') ? $thumb.attr('src') : $thumb.find('source').attr('src');
364
- /** @namespace $h.objUrl.revokeObjectURL */
365
- $h.objUrl.revokeObjectURL(data);
366
- },
367
- findFileName: function (filePath) {
368
- var sepIndex = filePath.lastIndexOf('/');
369
- if (sepIndex === -1) {
370
- sepIndex = filePath.lastIndexOf('\\');
371
- }
372
- return filePath.split(filePath.substring(sepIndex, sepIndex + 1)).pop();
373
- },
374
- checkFullScreen: function () {
375
- //noinspection JSUnresolvedVariable
376
- return document.fullscreenElement || document.mozFullScreenElement || document.webkitFullscreenElement ||
377
- document.msFullscreenElement;
378
- },
379
- toggleFullScreen: function (maximize) {
380
- var doc = document, de = doc.documentElement;
381
- if (de && maximize && !$h.checkFullScreen()) {
382
- /** @namespace document.requestFullscreen */
383
- /** @namespace document.msRequestFullscreen */
384
- /** @namespace document.mozRequestFullScreen */
385
- /** @namespace document.webkitRequestFullscreen */
386
- /** @namespace Element.ALLOW_KEYBOARD_INPUT */
387
- if (de.requestFullscreen) {
388
- de.requestFullscreen();
389
- } else if (de.msRequestFullscreen) {
390
- de.msRequestFullscreen();
391
- } else if (de.mozRequestFullScreen) {
392
- de.mozRequestFullScreen();
393
- } else if (de.webkitRequestFullscreen) {
394
- de.webkitRequestFullscreen(Element.ALLOW_KEYBOARD_INPUT);
395
- }
396
- } else {
397
- /** @namespace document.exitFullscreen */
398
- /** @namespace document.msExitFullscreen */
399
- /** @namespace document.mozCancelFullScreen */
400
- /** @namespace document.webkitExitFullscreen */
401
- if (doc.exitFullscreen) {
402
- doc.exitFullscreen();
403
- } else if (doc.msExitFullscreen) {
404
- doc.msExitFullscreen();
405
- } else if (doc.mozCancelFullScreen) {
406
- doc.mozCancelFullScreen();
407
- } else if (doc.webkitExitFullscreen) {
408
- doc.webkitExitFullscreen();
409
- }
410
- }
411
- },
412
- moveArray: function (arr, oldIndex, newIndex, reverseOrder) {
413
- var newArr = $.extend(true, [], arr);
414
- if (reverseOrder) {
415
- newArr.reverse();
416
- }
417
- if (newIndex >= newArr.length) {
418
- var k = newIndex - newArr.length;
419
- while ((k--) + 1) {
420
- newArr.push(undefined);
421
- }
422
- }
423
- newArr.splice(newIndex, 0, newArr.splice(oldIndex, 1)[0]);
424
- if (reverseOrder) {
425
- newArr.reverse();
426
- }
427
- return newArr;
428
- },
429
- cleanZoomCache: function ($el) {
430
- var $cache = $el.closest('.kv-zoom-cache-theme');
431
- if (!$cache.length) {
432
- $cache = $el.closest('.kv-zoom-cache');
433
- }
434
- $cache.remove();
435
- },
436
- closeButton: function (css) {
437
- css = css ? 'close ' + css : 'close';
438
- return '<button type="button" class="' + css + '" aria-label="Close">\n' +
439
- ' <span aria-hidden="true">&times;</span>\n' +
440
- '</button>';
441
- },
442
- getRotation: function (value) {
443
- switch (value) {
444
- case 2:
445
- return 'rotateY(180deg)';
446
- case 3:
447
- return 'rotate(180deg)';
448
- case 4:
449
- return 'rotate(180deg) rotateY(180deg)';
450
- case 5:
451
- return 'rotate(270deg) rotateY(180deg)';
452
- case 6:
453
- return 'rotate(90deg)';
454
- case 7:
455
- return 'rotate(90deg) rotateY(180deg)';
456
- case 8:
457
- return 'rotate(270deg)';
458
- default:
459
- return '';
460
- }
461
- },
462
- setTransform: function (el, val) {
463
- if (!el) {
464
- return;
465
- }
466
- el.style.transform = val;
467
- el.style.webkitTransform = val;
468
- el.style['-moz-transform'] = val;
469
- el.style['-ms-transform'] = val;
470
- el.style['-o-transform'] = val;
471
- },
472
- setImageOrientation: function ($img, $zoomImg, value) {
473
- if (!$img || !$img.length) {
474
- return;
475
- }
476
- var ev = 'load.fileinputimageorient';
477
- $img.off(ev).on(ev, function () {
478
- var img = $img.get(0), zoomImg = $zoomImg && $zoomImg.length ? $zoomImg.get(0) : null,
479
- h = img.offsetHeight, w = img.offsetWidth, r = $h.getRotation(value);
480
- $img.data('orientation', value);
481
- if (zoomImg) {
482
- $zoomImg.data('orientation', value);
483
- }
484
- if (value < 5) {
485
- $h.setTransform(img, r);
486
- $h.setTransform(zoomImg, r);
487
- return;
488
- }
489
- var offsetAngle = Math.atan(w / h), origFactor = Math.sqrt(Math.pow(h, 2) + Math.pow(w, 2)),
490
- scale = !origFactor ? 1 : (h / Math.cos(Math.PI / 2 + offsetAngle)) / origFactor,
491
- s = ' scale(' + Math.abs(scale) + ')';
492
- $h.setTransform(img, r + s);
493
- $h.setTransform(zoomImg, r + s);
494
- });
495
- }
496
- };
497
- FileInput = function (element, options) {
498
- var self = this;
499
- self.$element = $(element);
500
- self.$parent = self.$element.parent();
501
- if (!self._validate()) {
502
- return;
503
- }
504
- self.isPreviewable = $h.hasFileAPISupport();
505
- self.isIE9 = $h.isIE(9);
506
- self.isIE10 = $h.isIE(10);
507
- if (self.isPreviewable || self.isIE9) {
508
- self._init(options);
509
- self._listen();
510
- }
511
- self.$element.removeClass('file-loading');
512
- };
513
- //noinspection JSUnusedGlobalSymbols
514
- FileInput.prototype = {
515
- constructor: FileInput,
516
- _cleanup: function () {
517
- var self = this;
518
- self.reader = null;
519
- self.formdata = {};
520
- self.uploadCount = 0;
521
- self.uploadStatus = {};
522
- self.uploadLog = [];
523
- self.uploadAsyncCount = 0;
524
- self.loadedImages = [];
525
- self.totalImagesCount = 0;
526
- self.ajaxRequests = [];
527
- self.clearStack();
528
- self.fileBatchCompleted = true;
529
- if (!self.isPreviewable) {
530
- self.showPreview = false;
531
- }
532
- self.isError = false;
533
- self.ajaxAborted = false;
534
- self.cancelling = false;
535
- },
536
- _init: function (options, refreshMode) {
537
- var self = this, f, $el = self.$element, $cont, t, tmp;
538
- self.options = options;
539
- $.each(options, function (key, value) {
540
- switch (key) {
541
- case 'minFileCount':
542
- case 'maxFileCount':
543
- case 'minFileSize':
544
- case 'maxFileSize':
545
- case 'maxFilePreviewSize':
546
- case 'resizeImageQuality':
547
- case 'resizeIfSizeMoreThan':
548
- case 'progressUploadThreshold':
549
- case 'initialPreviewCount':
550
- case 'zoomModalHeight':
551
- case 'minImageHeight':
552
- case 'maxImageHeight':
553
- case 'minImageWidth':
554
- case 'maxImageWidth':
555
- self[key] = $h.getNum(value);
556
- break;
557
- default:
558
- self[key] = value;
559
- break;
560
- }
561
- });
562
- if (self.rtl) { // swap buttons for rtl
563
- tmp = self.previewZoomButtonIcons.prev;
564
- self.previewZoomButtonIcons.prev = self.previewZoomButtonIcons.next;
565
- self.previewZoomButtonIcons.next = tmp;
566
- }
567
- if (!refreshMode) {
568
- self._cleanup();
569
- }
570
- self.$form = $el.closest('form');
571
- self._initTemplateDefaults();
572
- self.uploadFileAttr = !$h.isEmpty($el.attr('name')) ? $el.attr('name') : 'file_data';
573
- t = self._getLayoutTemplate('progress');
574
- self.progressTemplate = t.replace('{class}', self.progressClass);
575
- self.progressCompleteTemplate = t.replace('{class}', self.progressCompleteClass);
576
- self.progressErrorTemplate = t.replace('{class}', self.progressErrorClass);
577
- self.isDisabled = $el.attr('disabled') || $el.attr('readonly');
578
- if (self.isDisabled) {
579
- $el.attr('disabled', true);
580
- }
581
- self.isAjaxUpload = $h.hasFileUploadSupport() && !$h.isEmpty(self.uploadUrl);
582
- self.dropZoneEnabled = $h.hasDragDropSupport() && self.dropZoneEnabled;
583
- if (!self.isAjaxUpload) {
584
- self.dropZoneEnabled = self.dropZoneEnabled && $h.canAssignFilesToInput();
585
- }
586
- self.isClickable = self.browseOnZoneClick && self.showPreview &&
587
- (self.dropZoneEnabled || !$h.isEmpty(self.defaultPreviewContent));
588
- self.slug = typeof options.slugCallback === "function" ? options.slugCallback : self._slugDefault;
589
- self.mainTemplate = self.showCaption ? self._getLayoutTemplate('main1') : self._getLayoutTemplate('main2');
590
- self.captionTemplate = self._getLayoutTemplate('caption');
591
- self.previewGenericTemplate = self._getPreviewTemplate('generic');
592
- if (!self.imageCanvas && self.resizeImage && (self.maxImageWidth || self.maxImageHeight)) {
593
- self.imageCanvas = document.createElement('canvas');
594
- self.imageCanvasContext = self.imageCanvas.getContext('2d');
595
- }
596
- if ($h.isEmpty($el.attr('id'))) {
597
- $el.attr('id', $h.uniqId());
598
- }
599
- self.namespace = '.fileinput_' + $el.attr('id').replace(/-/g, '_');
600
- if (self.$container === undefined) {
601
- self.$container = self._createContainer();
602
- } else {
603
- self._refreshContainer();
604
- }
605
- $cont = self.$container;
606
- self.$dropZone = $cont.find('.file-drop-zone');
607
- self.$progress = $cont.find('.kv-upload-progress');
608
- self.$btnUpload = $cont.find('.fileinput-upload');
609
- self.$captionContainer = $h.getElement(options, 'elCaptionContainer', $cont.find('.file-caption'));
610
- self.$caption = $h.getElement(options, 'elCaptionText', $cont.find('.file-caption-name'));
611
- if (!$h.isEmpty(self.msgPlaceholder)) {
612
- f = $el.attr('multiple') ? self.filePlural : self.fileSingle;
613
- self.$caption.attr('placeholder', self.msgPlaceholder.replace('{files}', f));
614
- }
615
- self.$captionIcon = self.$captionContainer.find('.file-caption-icon');
616
- self.$previewContainer = $h.getElement(options, 'elPreviewContainer', $cont.find('.file-preview'));
617
- self.$preview = $h.getElement(options, 'elPreviewImage', $cont.find('.file-preview-thumbnails'));
618
- self.$previewStatus = $h.getElement(options, 'elPreviewStatus', $cont.find('.file-preview-status'));
619
- self.$errorContainer = $h.getElement(options, 'elErrorContainer', self.$previewContainer.find('.kv-fileinput-error'));
620
- self._validateDisabled();
621
- if (!$h.isEmpty(self.msgErrorClass)) {
622
- $h.addCss(self.$errorContainer, self.msgErrorClass);
623
- }
624
- if (!refreshMode) {
625
- self.$errorContainer.hide();
626
- self.previewInitId = "preview-" + $h.uniqId();
627
- self._initPreviewCache();
628
- self._initPreview(true);
629
- self._initPreviewActions();
630
- if (self.$parent.hasClass('file-loading')) {
631
- self.$container.insertBefore(self.$parent);
632
- self.$parent.remove();
633
- }
634
- } else {
635
- if (!self._errorsExist()) {
636
- self.$errorContainer.hide();
637
- }
638
- }
639
- self._setFileDropZoneTitle();
640
- if ($el.attr('disabled')) {
641
- self.disable();
642
- }
643
- self._initZoom();
644
- if (self.hideThumbnailContent) {
645
- $h.addCss(self.$preview, 'hide-content');
646
- }
647
- },
648
- _initTemplateDefaults: function () {
649
- var self = this, tMain1, tMain2, tPreview, tFileIcon, tClose, tCaption, tBtnDefault, tBtnLink, tBtnBrowse,
650
- tModalMain, tModal, tProgress, tSize, tFooter, tActions, tActionDelete, tActionUpload, tActionDownload,
651
- tActionZoom, tActionDrag, tIndicator, tTagBef, tTagBef1, tTagBef2, tTagAft, tGeneric, tHtml, tImage,
652
- tText, tOffice, tGdocs, tVideo, tAudio, tFlash, tObject, tPdf, tOther, tStyle, tZoomCache, vDefaultDim;
653
- tMain1 = '{preview}\n' +
654
- '<div class="kv-upload-progress kv-hidden"></div><div class="clearfix"></div>\n' +
655
- '<div class="input-group {class}">\n' +
656
- ' {caption}\n' +
657
- '<div class="input-group-btn input-group-append">\n' +
658
- ' {remove}\n' +
659
- ' {cancel}\n' +
660
- ' {upload}\n' +
661
- ' {browse}\n' +
662
- ' </div>\n' +
663
- '</div>';
664
- tMain2 = '{preview}\n<div class="kv-upload-progress kv-hidden"></div>\n<div class="clearfix"></div>\n{remove}\n{cancel}\n{upload}\n{browse}\n';
665
- tPreview = '<div class="file-preview {class}">\n' +
666
- ' {close}' +
667
- ' <div class="{dropClass}">\n' +
668
- ' <div class="file-preview-thumbnails">\n' +
669
- ' </div>\n' +
670
- ' <div class="clearfix"></div>' +
671
- ' <div class="file-preview-status text-center text-success"></div>\n' +
672
- ' <div class="kv-fileinput-error"></div>\n' +
673
- ' </div>\n' +
674
- '</div>';
675
- tClose = $h.closeButton('fileinput-remove');
676
- tFileIcon = '<i class="glyphicon glyphicon-file"></i>';
677
- // noinspection HtmlUnknownAttribute
678
- tCaption = '<div class="file-caption form-control {class}" tabindex="500">\n' +
679
- ' <span class="file-caption-icon"></span>\n' +
680
- ' <input class="file-caption-name" onkeydown="return false;" onpaste="return false;">\n' +
681
- '</div>';
682
- //noinspection HtmlUnknownAttribute
683
- tBtnDefault = '<button type="{type}" tabindex="500" title="{title}" class="{css}" ' +
684
- '{status}>{icon} {label}</button>';
685
- //noinspection HtmlUnknownAttribute
686
- tBtnLink = '<a href="{href}" tabindex="500" title="{title}" class="{css}" {status}>{icon} {label}</a>';
687
- //noinspection HtmlUnknownAttribute
688
- tBtnBrowse = '<div tabindex="500" class="{css}" {status}>{icon} {label}</div>';
689
- tModalMain = '<div id="' + $h.MODAL_ID + '" class="file-zoom-dialog modal fade" ' +
690
- 'tabindex="-1" aria-labelledby="' + $h.MODAL_ID + 'Label"></div>';
691
- tModal = '<div class="modal-dialog modal-lg{rtl}" role="document">\n' +
692
- ' <div class="modal-content">\n' +
693
- ' <div class="modal-header">\n' +
694
- ' <h5 class="modal-title">{heading}</h5>\n' +
695
- ' <span class="kv-zoom-title"></span>\n' +
696
- ' <div class="kv-zoom-actions">{toggleheader}{fullscreen}{borderless}{close}</div>\n' +
697
- ' </div>\n' +
698
- ' <div class="modal-body">\n' +
699
- ' <div class="floating-buttons"></div>\n' +
700
- ' <div class="kv-zoom-body file-zoom-content {zoomFrameClass}"></div>\n' + '{prev} {next}\n' +
701
- ' </div>\n' +
702
- ' </div>\n' +
703
- '</div>\n';
704
- tProgress = '<div class="progress">\n' +
705
- ' <div class="{class}" role="progressbar"' +
706
- ' aria-valuenow="{percent}" aria-valuemin="0" aria-valuemax="100" style="width:{percent}%;">\n' +
707
- ' {status}\n' +
708
- ' </div>\n' +
709
- '</div>';
710
- tSize = ' <samp>({sizeText})</samp>';
711
- tFooter = '<div class="file-thumbnail-footer">\n' +
712
- ' <div class="file-footer-caption" title="{caption}">\n' +
713
- ' <div class="file-caption-info">{caption}</div>\n' +
714
- ' <div class="file-size-info">{size}</div>\n' +
715
- ' </div>\n' +
716
- ' {progress}\n{indicator}\n{actions}\n' +
717
- '</div>';
718
- tActions = '<div class="file-actions">\n' +
719
- ' <div class="file-footer-buttons">\n' +
720
- ' {download} {upload} {delete} {zoom} {other}' +
721
- ' </div>\n' +
722
- '</div>\n' +
723
- '{drag}\n' +
724
- '<div class="clearfix"></div>';
725
- //noinspection HtmlUnknownAttribute
726
- tActionDelete = '<button type="button" class="kv-file-remove {removeClass}" ' +
727
- 'title="{removeTitle}" {dataUrl}{dataKey}>{removeIcon}</button>\n';
728
- tActionUpload = '<button type="button" class="kv-file-upload {uploadClass}" title="{uploadTitle}">' +
729
- '{uploadIcon}</button>';
730
- tActionDownload = '<a class="kv-file-download {downloadClass}" title="{downloadTitle}" ' +
731
- 'href="{downloadUrl}" download="{caption}" target="_blank">{downloadIcon}</a>';
732
- tActionZoom = '<button type="button" class="kv-file-zoom {zoomClass}" ' +
733
- 'title="{zoomTitle}">{zoomIcon}</button>';
734
- tActionDrag = '<span class="file-drag-handle {dragClass}" title="{dragTitle}">{dragIcon}</span>';
735
- tIndicator = '<div class="file-upload-indicator" title="{indicatorTitle}">{indicator}</div>';
736
- tTagBef = '<div class="file-preview-frame {frameClass}" id="{previewId}" data-fileindex="{fileindex}"' +
737
- ' data-template="{template}"';
738
- tTagBef1 = tTagBef + '><div class="kv-file-content">\n';
739
- tTagBef2 = tTagBef + ' title="{caption}"><div class="kv-file-content">\n';
740
- tTagAft = '</div>{footer}\n</div>\n';
741
- tGeneric = '{content}\n';
742
- tStyle = ' {style}';
743
- tHtml = '<div class="kv-preview-data file-preview-html" title="{caption}"' + tStyle + '>{data}</div>\n';
744
- tImage = '<img src="{data}" class="file-preview-image kv-preview-data" title="{caption}" ' +
745
- 'alt="{caption}"' + tStyle + '>\n';
746
- tText = '<textarea class="kv-preview-data file-preview-text" title="{caption}" readonly' + tStyle + '>' +
747
- '{data}</textarea>\n';
748
- tOffice = '<iframe class="kv-preview-data file-preview-office" ' +
749
- 'src="https://view.officeapps.live.com/op/embed.aspx?src={data}"' + tStyle + '></iframe>';
750
- tGdocs = '<iframe class="kv-preview-data file-preview-gdocs" ' +
751
- 'src="https://docs.google.com/gview?url={data}&embedded=true"' + tStyle + '></iframe>';
752
- tVideo = '<video class="kv-preview-data file-preview-video" controls' + tStyle + '>\n' +
753
- '<source src="{data}" type="{type}">\n' + $h.DEFAULT_PREVIEW + '\n</video>\n';
754
- tAudio = '<!--suppress ALL --><audio class="kv-preview-data file-preview-audio" controls' + tStyle + '>\n<source src="{data}" ' +
755
- 'type="{type}">\n' + $h.DEFAULT_PREVIEW + '\n</audio>\n';
756
- tFlash = '<embed class="kv-preview-data file-preview-flash" src="{data}" type="application/x-shockwave-flash"' + tStyle + '>\n';
757
- tPdf = '<embed class="kv-preview-data file-preview-pdf" src="{data}" type="application/pdf"' + tStyle + '>\n';
758
- tObject = '<object class="kv-preview-data file-preview-object file-object {typeCss}" ' +
759
- 'data="{data}" type="{type}"' + tStyle + '>\n' + '<param name="movie" value="{caption}" />\n' +
760
- $h.OBJECT_PARAMS + ' ' + $h.DEFAULT_PREVIEW + '\n</object>\n';
761
- tOther = '<div class="kv-preview-data file-preview-other-frame"' + tStyle + '>\n' + $h.DEFAULT_PREVIEW + '\n</div>\n';
762
- tZoomCache = '<div class="kv-zoom-cache" style="display:none">{zoomContent}</div>';
763
- vDefaultDim = {width: "100%", height: "100%", 'min-height': "480px"};
764
- if (self._isPdfRendered()) {
765
- tPdf = self.pdfRendererTemplate.replace('{renderer}', self.pdfRendererUrl);
766
- }
767
- self.defaults = {
768
- layoutTemplates: {
769
- main1: tMain1,
770
- main2: tMain2,
771
- preview: tPreview,
772
- close: tClose,
773
- fileIcon: tFileIcon,
774
- caption: tCaption,
775
- modalMain: tModalMain,
776
- modal: tModal,
777
- progress: tProgress,
778
- size: tSize,
779
- footer: tFooter,
780
- indicator: tIndicator,
781
- actions: tActions,
782
- actionDelete: tActionDelete,
783
- actionUpload: tActionUpload,
784
- actionDownload: tActionDownload,
785
- actionZoom: tActionZoom,
786
- actionDrag: tActionDrag,
787
- btnDefault: tBtnDefault,
788
- btnLink: tBtnLink,
789
- btnBrowse: tBtnBrowse,
790
- zoomCache: tZoomCache
791
- },
792
- previewMarkupTags: {
793
- tagBefore1: tTagBef1,
794
- tagBefore2: tTagBef2,
795
- tagAfter: tTagAft
796
- },
797
- previewContentTemplates: {
798
- generic: tGeneric,
799
- html: tHtml,
800
- image: tImage,
801
- text: tText,
802
- office: tOffice,
803
- gdocs: tGdocs,
804
- video: tVideo,
805
- audio: tAudio,
806
- flash: tFlash,
807
- object: tObject,
808
- pdf: tPdf,
809
- other: tOther
810
- },
811
- allowedPreviewTypes: ['image', 'html', 'text', 'video', 'audio', 'flash', 'pdf', 'object'],
812
- previewTemplates: {},
813
- previewSettings: {
814
- image: {width: "auto", height: "auto", 'max-width': "100%", 'max-height': "100%"},
815
- html: {width: "213px", height: "160px"},
816
- text: {width: "213px", height: "160px"},
817
- office: {width: "213px", height: "160px"},
818
- gdocs: {width: "213px", height: "160px"},
819
- video: {width: "213px", height: "160px"},
820
- audio: {width: "100%", height: "30px"},
821
- flash: {width: "213px", height: "160px"},
822
- object: {width: "213px", height: "160px"},
823
- pdf: {width: "100%", height: "160px"},
824
- other: {width: "213px", height: "160px"}
825
- },
826
- previewSettingsSmall: {
827
- image: {width: "auto", height: "auto", 'max-width': "100%", 'max-height': "100%"},
828
- html: {width: "100%", height: "160px"},
829
- text: {width: "100%", height: "160px"},
830
- office: {width: "100%", height: "160px"},
831
- gdocs: {width: "100%", height: "160px"},
832
- video: {width: "100%", height: "auto"},
833
- audio: {width: "100%", height: "30px"},
834
- flash: {width: "100%", height: "auto"},
835
- object: {width: "100%", height: "auto"},
836
- pdf: {width: "100%", height: "160px"},
837
- other: {width: "100%", height: "160px"}
838
- },
839
- previewZoomSettings: {
840
- image: {width: "auto", height: "auto", 'max-width': "100%", 'max-height': "100%"},
841
- html: vDefaultDim,
842
- text: vDefaultDim,
843
- office: {width: "100%", height: "100%", 'max-width': "100%", 'min-height': "480px"},
844
- gdocs: {width: "100%", height: "100%", 'max-width': "100%", 'min-height': "480px"},
845
- video: {width: "auto", height: "100%", 'max-width': "100%"},
846
- audio: {width: "100%", height: "30px"},
847
- flash: {width: "auto", height: "480px"},
848
- object: {width: "auto", height: "100%", 'max-width': "100%", 'min-height': "480px"},
849
- pdf: vDefaultDim,
850
- other: {width: "auto", height: "100%", 'min-height': "480px"}
851
- },
852
- fileTypeSettings: {
853
- image: function (vType, vName) {
854
- return ($h.compare(vType, 'image.*') && !$h.compare(vType, /(tiff?|wmf)$/i) ||
855
- $h.compare(vName, /\.(gif|png|jpe?g)$/i));
856
- },
857
- html: function (vType, vName) {
858
- return $h.compare(vType, 'text/html') || $h.compare(vName, /\.(htm|html)$/i);
859
- },
860
- office: function (vType, vName) {
861
- return $h.compare(vType, /(word|excel|powerpoint|office)$/i) ||
862
- $h.compare(vName, /\.(docx?|xlsx?|pptx?|pps|potx?)$/i);
863
- },
864
- gdocs: function (vType, vName) {
865
- return $h.compare(vType, /(word|excel|powerpoint|office|iwork-pages|tiff?)$/i) ||
866
- $h.compare(vName, /\.(docx?|xlsx?|pptx?|pps|potx?|rtf|ods|odt|pages|ai|dxf|ttf|tiff?|wmf|e?ps)$/i);
867
- },
868
- text: function (vType, vName) {
869
- return $h.compare(vType, 'text.*') || $h.compare(vName, /\.(xml|javascript)$/i) ||
870
- $h.compare(vName, /\.(txt|md|csv|nfo|ini|json|php|js|css)$/i);
871
- },
872
- video: function (vType, vName) {
873
- return $h.compare(vType, 'video.*') && ($h.compare(vType, /(ogg|mp4|mp?g|mov|webm|3gp)$/i) ||
874
- $h.compare(vName, /\.(og?|mp4|webm|mp?g|mov|3gp)$/i));
875
- },
876
- audio: function (vType, vName) {
877
- return $h.compare(vType, 'audio.*') && ($h.compare(vName, /(ogg|mp3|mp?g|wav)$/i) ||
878
- $h.compare(vName, /\.(og?|mp3|mp?g|wav)$/i));
879
- },
880
- flash: function (vType, vName) {
881
- return $h.compare(vType, 'application/x-shockwave-flash', true) || $h.compare(vName, /\.(swf)$/i);
882
- },
883
- pdf: function (vType, vName) {
884
- return $h.compare(vType, 'application/pdf', true) || $h.compare(vName, /\.(pdf)$/i);
885
- },
886
- object: function () {
887
- return true;
888
- },
889
- other: function () {
890
- return true;
891
- }
892
- },
893
- fileActionSettings: {
894
- showRemove: true,
895
- showUpload: true,
896
- showDownload: true,
897
- showZoom: true,
898
- showDrag: true,
899
- removeIcon: '<i class="glyphicon glyphicon-trash"></i>',
900
- removeClass: 'btn btn-sm btn-kv btn-default btn-outline-secondary',
901
- removeErrorClass: 'btn btn-sm btn-kv btn-danger',
902
- removeTitle: 'Remove file',
903
- uploadIcon: '<i class="glyphicon glyphicon-upload"></i>',
904
- uploadClass: 'btn btn-sm btn-kv btn-default btn-outline-secondary',
905
- uploadTitle: 'Upload file',
906
- uploadRetryIcon: '<i class="glyphicon glyphicon-repeat"></i>',
907
- uploadRetryTitle: 'Retry upload',
908
- downloadIcon: '<i class="glyphicon glyphicon-download"></i>',
909
- downloadClass: 'btn btn-sm btn-kv btn-default btn-outline-secondary',
910
- downloadTitle: 'Download file',
911
- zoomIcon: '<i class="glyphicon glyphicon-zoom-in"></i>',
912
- zoomClass: 'btn btn-sm btn-kv btn-default btn-outline-secondary',
913
- zoomTitle: 'View Details',
914
- dragIcon: '<i class="glyphicon glyphicon-move"></i>',
915
- dragClass: 'text-info',
916
- dragTitle: 'Move / Rearrange',
917
- dragSettings: {},
918
- indicatorNew: '<i class="glyphicon glyphicon-plus-sign text-warning"></i>',
919
- indicatorSuccess: '<i class="glyphicon glyphicon-ok-sign text-success"></i>',
920
- indicatorError: '<i class="glyphicon glyphicon-exclamation-sign text-danger"></i>',
921
- indicatorLoading: '<i class="glyphicon glyphicon-hourglass text-muted"></i>',
922
- indicatorNewTitle: 'Not uploaded yet',
923
- indicatorSuccessTitle: 'Uploaded',
924
- indicatorErrorTitle: 'Upload Error',
925
- indicatorLoadingTitle: 'Uploading ...'
926
- }
927
- };
928
- $.each(self.defaults, function (key, setting) {
929
- if (key === 'allowedPreviewTypes') {
930
- if (self.allowedPreviewTypes === undefined) {
931
- self.allowedPreviewTypes = setting;
932
- }
933
- return;
934
- }
935
- self[key] = $.extend(true, {}, setting, self[key]);
936
- });
937
- self._initPreviewTemplates();
938
- },
939
- _initPreviewTemplates: function () {
940
- var self = this, tags = self.previewMarkupTags, tagBef, tagAft = tags.tagAfter;
941
- $.each(self.previewContentTemplates, function (key, value) {
942
- if ($h.isEmpty(self.previewTemplates[key])) {
943
- tagBef = tags.tagBefore2;
944
- if (key === 'generic' || key === 'image' || key === 'html' || key === 'text') {
945
- tagBef = tags.tagBefore1;
946
- }
947
- if (self._isPdfRendered() && key === 'pdf') {
948
- tagBef = tagBef.replace('kv-file-content', 'kv-file-content kv-pdf-rendered');
949
- }
950
- self.previewTemplates[key] = tagBef + value + tagAft;
951
- }
952
- });
953
- },
954
- _initPreviewCache: function () {
955
- var self = this;
956
- self.previewCache = {
957
- data: {},
958
- init: function () {
959
- var content = self.initialPreview;
960
- if (content.length > 0 && !$h.isArray(content)) {
961
- content = content.split(self.initialPreviewDelimiter);
962
- }
963
- self.previewCache.data = {
964
- content: content,
965
- config: self.initialPreviewConfig,
966
- tags: self.initialPreviewThumbTags
967
- };
968
- },
969
- count: function () {
970
- return !!self.previewCache.data && !!self.previewCache.data.content ?
971
- self.previewCache.data.content.length : 0;
972
- },
973
- get: function (i, isDisabled) {
974
- var ind = 'init_' + i, data = self.previewCache.data, config = data.config[i],
975
- content = data.content[i], previewId = self.previewInitId + '-' + ind, out, $tmp, cat, ftr,
976
- fname, ftype, frameClass, asData = $h.ifSet('previewAsData', config, self.initialPreviewAsData),
977
- parseTemplate = function (cat, dat, fn, ft, id, ftr, ind, fc, t) {
978
- fc = ' file-preview-initial ' + $h.SORT_CSS + (fc ? ' ' + fc : '');
979
- return self._generatePreviewTemplate(cat, dat, fn, ft, id, false, null, fc, ftr, ind, t);
980
- };
981
- if (!content) {
982
- return '';
983
- }
984
- isDisabled = isDisabled === undefined ? true : isDisabled;
985
- cat = $h.ifSet('type', config, self.initialPreviewFileType || 'generic');
986
- fname = $h.ifSet('filename', config, $h.ifSet('caption', config));
987
- ftype = $h.ifSet('filetype', config, cat);
988
- ftr = self.previewCache.footer(i, isDisabled, (config && config.size || null));
989
- frameClass = $h.ifSet('frameClass', config);
990
- if (asData) {
991
- out = parseTemplate(cat, content, fname, ftype, previewId, ftr, ind, frameClass);
992
- } else {
993
- out = parseTemplate('generic', content, fname, ftype, previewId, ftr, ind, frameClass, cat)
994
- .setTokens({'content': data.content[i]});
995
- }
996
- if (data.tags.length && data.tags[i]) {
997
- out = $h.replaceTags(out, data.tags[i]);
998
- }
999
- /** @namespace config.frameAttr */
1000
- if (!$h.isEmpty(config) && !$h.isEmpty(config.frameAttr)) {
1001
- $tmp = $(document.createElement('div')).html(out);
1002
- $tmp.find('.file-preview-initial').attr(config.frameAttr);
1003
- out = $tmp.html();
1004
- $tmp.remove();
1005
- }
1006
- return out;
1007
- },
1008
- add: function (content, config, tags, append) {
1009
- var data = self.previewCache.data, index;
1010
- if (!$h.isArray(content)) {
1011
- content = content.split(self.initialPreviewDelimiter);
1012
- }
1013
- if (append) {
1014
- index = data.content.push(content) - 1;
1015
- data.config[index] = config;
1016
- data.tags[index] = tags;
1017
- } else {
1018
- index = content.length - 1;
1019
- data.content = content;
1020
- data.config = config;
1021
- data.tags = tags;
1022
- }
1023
- self.previewCache.data = data;
1024
- return index;
1025
- },
1026
- set: function (content, config, tags, append) {
1027
- var data = self.previewCache.data, i, chk;
1028
- if (!content || !content.length) {
1029
- return;
1030
- }
1031
- if (!$h.isArray(content)) {
1032
- content = content.split(self.initialPreviewDelimiter);
1033
- }
1034
- chk = content.filter(function (n) {
1035
- return n !== null;
1036
- });
1037
- if (!chk.length) {
1038
- return;
1039
- }
1040
- if (data.content === undefined) {
1041
- data.content = [];
1042
- }
1043
- if (data.config === undefined) {
1044
- data.config = [];
1045
- }
1046
- if (data.tags === undefined) {
1047
- data.tags = [];
1048
- }
1049
- if (append) {
1050
- for (i = 0; i < content.length; i++) {
1051
- if (content[i]) {
1052
- data.content.push(content[i]);
1053
- }
1054
- }
1055
- for (i = 0; i < config.length; i++) {
1056
- if (config[i]) {
1057
- data.config.push(config[i]);
1058
- }
1059
- }
1060
- for (i = 0; i < tags.length; i++) {
1061
- if (tags[i]) {
1062
- data.tags.push(tags[i]);
1063
- }
1064
- }
1065
- } else {
1066
- data.content = content;
1067
- data.config = config;
1068
- data.tags = tags;
1069
- }
1070
- self.previewCache.data = data;
1071
- },
1072
- unset: function (index) {
1073
- var chk = self.previewCache.count(), rev = self.reversePreviewOrder;
1074
- if (!chk) {
1075
- return;
1076
- }
1077
- if (chk === 1) {
1078
- self.previewCache.data.content = [];
1079
- self.previewCache.data.config = [];
1080
- self.previewCache.data.tags = [];
1081
- self.initialPreview = [];
1082
- self.initialPreviewConfig = [];
1083
- self.initialPreviewThumbTags = [];
1084
- return;
1085
- }
1086
- self.previewCache.data.content = $h.spliceArray(self.previewCache.data.content, index, rev);
1087
- self.previewCache.data.config = $h.spliceArray(self.previewCache.data.config, index, rev);
1088
- self.previewCache.data.tags = $h.spliceArray(self.previewCache.data.tags, index, rev);
1089
- },
1090
- out: function () {
1091
- var html = '', caption, len = self.previewCache.count(), i, content;
1092
- if (len === 0) {
1093
- return {content: '', caption: ''};
1094
- }
1095
- for (i = 0; i < len; i++) {
1096
- content = self.previewCache.get(i);
1097
- html = self.reversePreviewOrder ? (content + html) : (html + content);
1098
- }
1099
- caption = self._getMsgSelected(len);
1100
- return {content: html, caption: caption};
1101
- },
1102
- footer: function (i, isDisabled, size) {
1103
- var data = self.previewCache.data || {};
1104
- if ($h.isEmpty(data.content)) {
1105
- return '';
1106
- }
1107
- if ($h.isEmpty(data.config) || $h.isEmpty(data.config[i])) {
1108
- data.config[i] = {};
1109
- }
1110
- isDisabled = isDisabled === undefined ? true : isDisabled;
1111
- var config = data.config[i], caption = $h.ifSet('caption', config), a,
1112
- width = $h.ifSet('width', config, 'auto'), url = $h.ifSet('url', config, false),
1113
- key = $h.ifSet('key', config, null), fs = self.fileActionSettings,
1114
- initPreviewShowDel = self.initialPreviewShowDelete || false,
1115
- dUrl = config.downloadUrl || self.initialPreviewDownloadUrl || '',
1116
- dFil = config.filename || config.caption || '',
1117
- initPreviewShowDwl = !!(dUrl),
1118
- sDel = $h.ifSet('showRemove', config, $h.ifSet('showRemove', fs, initPreviewShowDel)),
1119
- sDwl = $h.ifSet('showDownload', config, $h.ifSet('showDownload', fs, initPreviewShowDwl)),
1120
- sZm = $h.ifSet('showZoom', config, $h.ifSet('showZoom', fs, true)),
1121
- sDrg = $h.ifSet('showDrag', config, $h.ifSet('showDrag', fs, true)),
1122
- dis = (url === false) && isDisabled;
1123
- sDwl = sDwl && config.downloadUrl !== false && !!dUrl;
1124
- a = self._renderFileActions(false, sDwl, sDel, sZm, sDrg, dis, url, key, true, dUrl, dFil);
1125
- return self._getLayoutTemplate('footer').setTokens({
1126
- 'progress': self._renderThumbProgress(),
1127
- 'actions': a,
1128
- 'caption': caption,
1129
- 'size': self._getSize(size),
1130
- 'width': width,
1131
- 'indicator': ''
1132
- });
1133
- }
1134
- };
1135
- self.previewCache.init();
1136
- },
1137
- _isPdfRendered: function () {
1138
- var self = this, useLib = self.usePdfRenderer,
1139
- flag = typeof useLib === "function" ? useLib() : !!useLib;
1140
- return flag && self.pdfRendererUrl;
1141
- },
1142
- _handler: function ($el, event, callback) {
1143
- var self = this, ns = self.namespace, ev = event.split(' ').join(ns + ' ') + ns;
1144
- if (!$el || !$el.length) {
1145
- return;
1146
- }
1147
- $el.off(ev).on(ev, callback);
1148
- },
1149
- _log: function (msg) {
1150
- var self = this, id = self.$element.attr('id');
1151
- if (id) {
1152
- msg = '"' + id + '": ' + msg;
1153
- }
1154
- msg = 'bootstrap-fileinput: ' + msg;
1155
- if (typeof window.console.log !== "undefined") {
1156
- window.console.log(msg);
1157
- } else {
1158
- window.alert(msg);
1159
- }
1160
- },
1161
- _validate: function () {
1162
- var self = this, status = self.$element.attr('type') === 'file';
1163
- if (!status) {
1164
- self._log('The input "type" must be set to "file" for initializing the "bootstrap-fileinput" plugin.');
1165
- }
1166
- return status;
1167
- },
1168
- _errorsExist: function () {
1169
- var self = this, $err, $errList = self.$errorContainer.find('li');
1170
- if ($errList.length) {
1171
- return true;
1172
- }
1173
- $err = $(document.createElement('div')).html(self.$errorContainer.html());
1174
- $err.find('.kv-error-close').remove();
1175
- $err.find('ul').remove();
1176
- return !!$.trim($err.text()).length;
1177
- },
1178
- _errorHandler: function (evt, caption) {
1179
- var self = this, err = evt.target.error, showError = function (msg) {
1180
- self._showError(msg.replace('{name}', caption));
1181
- };
1182
- /** @namespace err.NOT_FOUND_ERR */
1183
- /** @namespace err.SECURITY_ERR */
1184
- /** @namespace err.NOT_READABLE_ERR */
1185
- if (err.code === err.NOT_FOUND_ERR) {
1186
- showError(self.msgFileNotFound);
1187
- } else if (err.code === err.SECURITY_ERR) {
1188
- showError(self.msgFileSecured);
1189
- } else if (err.code === err.NOT_READABLE_ERR) {
1190
- showError(self.msgFileNotReadable);
1191
- } else if (err.code === err.ABORT_ERR) {
1192
- showError(self.msgFilePreviewAborted);
1193
- } else {
1194
- showError(self.msgFilePreviewError);
1195
- }
1196
- },
1197
- _addError: function (msg) {
1198
- var self = this, $error = self.$errorContainer;
1199
- if (msg && $error.length) {
1200
- $error.html(self.errorCloseButton + msg);
1201
- self._handler($error.find('.kv-error-close'), 'click', function () {
1202
- setTimeout(function () {
1203
- if (self.showPreview && !self.getFrames().length) {
1204
- self.clear();
1205
- }
1206
- $error.fadeOut('slow');
1207
- }, 10);
1208
- });
1209
- }
1210
- },
1211
- _setValidationError: function (css) {
1212
- var self = this;
1213
- css = (css ? css + ' ' : '') + 'has-error';
1214
- self.$container.removeClass(css).addClass('has-error');
1215
- $h.addCss(self.$captionContainer, 'is-invalid');
1216
- },
1217
- _resetErrors: function (fade) {
1218
- var self = this, $error = self.$errorContainer;
1219
- self.isError = false;
1220
- self.$container.removeClass('has-error');
1221
- self.$captionContainer.removeClass('is-invalid');
1222
- $error.html('');
1223
- if (fade) {
1224
- $error.fadeOut('slow');
1225
- } else {
1226
- $error.hide();
1227
- }
1228
- },
1229
- _showFolderError: function (folders) {
1230
- var self = this, $error = self.$errorContainer, msg;
1231
- if (!folders) {
1232
- return;
1233
- }
1234
- if (!self.isAjaxUpload) {
1235
- self._clearFileInput();
1236
- }
1237
- msg = self.msgFoldersNotAllowed.replace('{n}', folders);
1238
- self._addError(msg);
1239
- self._setValidationError();
1240
- $error.fadeIn(800);
1241
- self._raise('filefoldererror', [folders, msg]);
1242
- },
1243
- _showUploadError: function (msg, params, event) {
1244
- var self = this, $error = self.$errorContainer, ev = event || 'fileuploaderror', e = params && params.id ?
1245
- '<li data-file-id="' + params.id + '">' + msg + '</li>' : '<li>' + msg + '</li>';
1246
- if ($error.find('ul').length === 0) {
1247
- self._addError('<ul>' + e + '</ul>');
1248
- } else {
1249
- $error.find('ul').append(e);
1250
- }
1251
- $error.fadeIn(800);
1252
- self._raise(ev, [params, msg]);
1253
- self._setValidationError('file-input-new');
1254
- return true;
1255
- },
1256
- _showError: function (msg, params, event) {
1257
- var self = this, $error = self.$errorContainer, ev = event || 'fileerror';
1258
- params = params || {};
1259
- params.reader = self.reader;
1260
- self._addError(msg);
1261
- $error.fadeIn(800);
1262
- self._raise(ev, [params, msg]);
1263
- if (!self.isAjaxUpload) {
1264
- self._clearFileInput();
1265
- }
1266
- self._setValidationError('file-input-new');
1267
- self.$btnUpload.attr('disabled', true);
1268
- return true;
1269
- },
1270
- _noFilesError: function (params) {
1271
- var self = this, label = self.minFileCount > 1 ? self.filePlural : self.fileSingle,
1272
- msg = self.msgFilesTooLess.replace('{n}', self.minFileCount).replace('{files}', label),
1273
- $error = self.$errorContainer;
1274
- self._addError(msg);
1275
- self.isError = true;
1276
- self._updateFileDetails(0);
1277
- $error.fadeIn(800);
1278
- self._raise('fileerror', [params, msg]);
1279
- self._clearFileInput();
1280
- self._setValidationError();
1281
- },
1282
- _parseError: function (operation, jqXHR, errorThrown, fileName) {
1283
- /** @namespace jqXHR.responseJSON */
1284
- var self = this, errMsg = $.trim(errorThrown + ''), textPre,
1285
- text = jqXHR.responseJSON !== undefined && jqXHR.responseJSON.error !== undefined ?
1286
- jqXHR.responseJSON.error : jqXHR.responseText;
1287
- if (self.cancelling && self.msgUploadAborted) {
1288
- errMsg = self.msgUploadAborted;
1289
- }
1290
- if (self.showAjaxErrorDetails && text) {
1291
- text = $.trim(text.replace(/\n\s*\n/g, '\n'));
1292
- textPre = text.length ? '<pre>' + text + '</pre>' : '';
1293
- errMsg += errMsg ? textPre : text;
1294
- }
1295
- if (!errMsg) {
1296
- errMsg = self.msgAjaxError.replace('{operation}', operation);
1297
- }
1298
- self.cancelling = false;
1299
- return fileName ? '<b>' + fileName + ': </b>' + errMsg : errMsg;
1300
- },
1301
- _parseFileType: function (type, name) {
1302
- var self = this, isValid, vType, cat, i, types = self.allowedPreviewTypes || [];
1303
- if (type === 'application/text-plain') {
1304
- return 'text';
1305
- }
1306
- for (i = 0; i < types.length; i++) {
1307
- cat = types[i];
1308
- isValid = self.fileTypeSettings[cat];
1309
- vType = isValid(type, name) ? cat : '';
1310
- if (!$h.isEmpty(vType)) {
1311
- return vType;
1312
- }
1313
- }
1314
- return 'other';
1315
- },
1316
- _getPreviewIcon: function (fname) {
1317
- var self = this, ext, out = null;
1318
- if (fname && fname.indexOf('.') > -1) {
1319
- ext = fname.split('.').pop();
1320
- if (self.previewFileIconSettings) {
1321
- out = self.previewFileIconSettings[ext] || self.previewFileIconSettings[ext.toLowerCase()] || null;
1322
- }
1323
- if (self.previewFileExtSettings) {
1324
- $.each(self.previewFileExtSettings, function (key, func) {
1325
- if (self.previewFileIconSettings[key] && func(ext)) {
1326
- out = self.previewFileIconSettings[key];
1327
- //noinspection UnnecessaryReturnStatementJS
1328
- return;
1329
- }
1330
- });
1331
- }
1332
- }
1333
- return out;
1334
- },
1335
- _parseFilePreviewIcon: function (content, fname) {
1336
- var self = this, icn = self._getPreviewIcon(fname) || self.previewFileIcon, out = content;
1337
- if (out.indexOf('{previewFileIcon}') > -1) {
1338
- out = out.setTokens({'previewFileIconClass': self.previewFileIconClass, 'previewFileIcon': icn});
1339
- }
1340
- return out;
1341
- },
1342
- _raise: function (event, params) {
1343
- var self = this, e = $.Event(event);
1344
- if (params !== undefined) {
1345
- self.$element.trigger(e, params);
1346
- } else {
1347
- self.$element.trigger(e);
1348
- }
1349
- if (e.isDefaultPrevented() || e.result === false) {
1350
- return false;
1351
- }
1352
- switch (event) {
1353
- // ignore these events
1354
- case 'filebatchuploadcomplete':
1355
- case 'filebatchuploadsuccess':
1356
- case 'fileuploaded':
1357
- case 'fileclear':
1358
- case 'filecleared':
1359
- case 'filereset':
1360
- case 'fileerror':
1361
- case 'filefoldererror':
1362
- case 'fileuploaderror':
1363
- case 'filebatchuploaderror':
1364
- case 'filedeleteerror':
1365
- case 'filecustomerror':
1366
- case 'filesuccessremove':
1367
- break;
1368
- // receive data response via `filecustomerror` event`
1369
- default:
1370
- if (!self.ajaxAborted) {
1371
- self.ajaxAborted = e.result;
1372
- }
1373
- break;
1374
- }
1375
- return true;
1376
- },
1377
- _listenFullScreen: function (isFullScreen) {
1378
- var self = this, $modal = self.$modal, $btnFull, $btnBord;
1379
- if (!$modal || !$modal.length) {
1380
- return;
1381
- }
1382
- $btnFull = $modal && $modal.find('.btn-fullscreen');
1383
- $btnBord = $modal && $modal.find('.btn-borderless');
1384
- if (!$btnFull.length || !$btnBord.length) {
1385
- return;
1386
- }
1387
- $btnFull.removeClass('active').attr('aria-pressed', 'false');
1388
- $btnBord.removeClass('active').attr('aria-pressed', 'false');
1389
- if (isFullScreen) {
1390
- $btnFull.addClass('active').attr('aria-pressed', 'true');
1391
- } else {
1392
- $btnBord.addClass('active').attr('aria-pressed', 'true');
1393
- }
1394
- if ($modal.hasClass('file-zoom-fullscreen')) {
1395
- self._maximizeZoomDialog();
1396
- } else {
1397
- if (isFullScreen) {
1398
- self._maximizeZoomDialog();
1399
- } else {
1400
- $btnBord.removeClass('active').attr('aria-pressed', 'false');
1401
- }
1402
- }
1403
- },
1404
- _listen: function () {
1405
- var self = this, $el = self.$element, $form = self.$form, $cont = self.$container, fullScreenEvents;
1406
- self._handler($el, 'click', function (e) {
1407
- if ($el.hasClass('file-no-browse')) {
1408
- if ($el.data('zoneClicked')) {
1409
- $el.data('zoneClicked', false);
1410
- } else {
1411
- e.preventDefault();
1412
- }
1413
- }
1414
- });
1415
- self._handler($el, 'change', $.proxy(self._change, self));
1416
- if (self.showBrowse) {
1417
- self._handler(self.$btnFile, 'click', $.proxy(self._browse, self));
1418
- }
1419
- self._handler($cont.find('.fileinput-remove:not([disabled])'), 'click', $.proxy(self.clear, self));
1420
- self._handler($cont.find('.fileinput-cancel'), 'click', $.proxy(self.cancel, self));
1421
- self._initDragDrop();
1422
- self._handler($form, 'reset', $.proxy(self.clear, self));
1423
- if (!self.isAjaxUpload) {
1424
- self._handler($form, 'submit', $.proxy(self._submitForm, self));
1425
- }
1426
- self._handler(self.$container.find('.fileinput-upload'), 'click', $.proxy(self._uploadClick, self));
1427
- self._handler($(window), 'resize', function () {
1428
- self._listenFullScreen(screen.width === window.innerWidth && screen.height === window.innerHeight);
1429
- });
1430
- fullScreenEvents = 'webkitfullscreenchange mozfullscreenchange fullscreenchange MSFullscreenChange';
1431
- self._handler($(document), fullScreenEvents, function () {
1432
- self._listenFullScreen($h.checkFullScreen());
1433
- });
1434
- self._autoFitContent();
1435
- self._initClickable();
1436
- self._refreshPreview();
1437
- },
1438
- _autoFitContent: function () {
1439
- var width = window.innerWidth || document.documentElement.clientWidth || document.body.clientWidth,
1440
- self = this, config = width < 400 ? (self.previewSettingsSmall || self.defaults.previewSettingsSmall) :
1441
- (self.previewSettings || self.defaults.previewSettings), sel;
1442
- $.each(config, function (cat, settings) {
1443
- sel = '.file-preview-frame .file-preview-' + cat;
1444
- self.$preview.find(sel + '.kv-preview-data,' + sel + ' .kv-preview-data').css(settings);
1445
- });
1446
- },
1447
- _scanDroppedItems: function (item, files, path) {
1448
- path = path || "";
1449
- var self = this, i, dirReader, readDir, errorHandler = function (e) {
1450
- self._log('Error scanning dropped files!');
1451
- self._log(e);
1452
- };
1453
- if (item.isFile) {
1454
- item.file(function (file) {
1455
- files.push(file);
1456
- }, errorHandler);
1457
- } else {
1458
- if (item.isDirectory) {
1459
- dirReader = item.createReader();
1460
- readDir = function () {
1461
- dirReader.readEntries(function (entries) {
1462
- if (entries && entries.length > 0) {
1463
- for (i = 0; i < entries.length; i++) {
1464
- self._scanDroppedItems(entries[i], files, path + item.name + "/");
1465
- }
1466
- // recursively call readDir() again, since browser can only handle first 100 entries.
1467
- readDir();
1468
- }
1469
- return null;
1470
- }, errorHandler);
1471
- };
1472
- readDir();
1473
- }
1474
- }
1475
-
1476
- },
1477
- _initDragDrop: function () {
1478
- var self = this, $zone = self.$dropZone;
1479
- if (self.dropZoneEnabled && self.showPreview) {
1480
- self._handler($zone, 'dragenter dragover', $.proxy(self._zoneDragEnter, self));
1481
- self._handler($zone, 'dragleave', $.proxy(self._zoneDragLeave, self));
1482
- self._handler($zone, 'drop', $.proxy(self._zoneDrop, self));
1483
- self._handler($(document), 'dragenter dragover drop', self._zoneDragDropInit);
1484
- }
1485
- },
1486
- _zoneDragDropInit: function (e) {
1487
- e.stopPropagation();
1488
- e.preventDefault();
1489
- },
1490
- _zoneDragEnter: function (e) {
1491
- var self = this, hasFiles = $.inArray('Files', e.originalEvent.dataTransfer.types) > -1;
1492
- self._zoneDragDropInit(e);
1493
- if (self.isDisabled || !hasFiles) {
1494
- e.originalEvent.dataTransfer.effectAllowed = 'none';
1495
- e.originalEvent.dataTransfer.dropEffect = 'none';
1496
- return;
1497
- }
1498
- $h.addCss(self.$dropZone, 'file-highlighted');
1499
- },
1500
- _zoneDragLeave: function (e) {
1501
- var self = this;
1502
- self._zoneDragDropInit(e);
1503
- if (self.isDisabled) {
1504
- return;
1505
- }
1506
- self.$dropZone.removeClass('file-highlighted');
1507
- },
1508
- _zoneDrop: function (e) {
1509
- /** @namespace e.originalEvent.dataTransfer */
1510
- var self = this, i, $el = self.$element, dataTransfer = e.originalEvent.dataTransfer,
1511
- files = dataTransfer.files, items = dataTransfer.items, folders = $h.getDragDropFolders(items),
1512
- processFiles = function () {
1513
- if (!self.isAjaxUpload) {
1514
- self.changeTriggered = true;
1515
- $el.get(0).files = files;
1516
- setTimeout(function () {
1517
- self.changeTriggered = false;
1518
- $el.trigger('change' + self.namespace);
1519
- }, 10);
1520
- } else {
1521
- self._change(e, files);
1522
- }
1523
- self.$dropZone.removeClass('file-highlighted');
1524
- };
1525
- e.preventDefault();
1526
- if (self.isDisabled || $h.isEmpty(files)) {
1527
- return;
1528
- }
1529
- if (folders > 0) {
1530
- if (!self.isAjaxUpload) {
1531
- self._showFolderError(folders);
1532
- return;
1533
- }
1534
- files = [];
1535
- for (i = 0; i < items.length; i++) {
1536
- var item = items[i].webkitGetAsEntry();
1537
- if (item) {
1538
- self._scanDroppedItems(item, files);
1539
- }
1540
- }
1541
- setTimeout(function () {
1542
- processFiles();
1543
- }, 500);
1544
- } else {
1545
- processFiles();
1546
- }
1547
- },
1548
- _uploadClick: function (e) {
1549
- var self = this, $btn = self.$container.find('.fileinput-upload'), $form,
1550
- isEnabled = !$btn.hasClass('disabled') && $h.isEmpty($btn.attr('disabled'));
1551
- if (e && e.isDefaultPrevented()) {
1552
- return;
1553
- }
1554
- if (!self.isAjaxUpload) {
1555
- if (isEnabled && $btn.attr('type') !== 'submit') {
1556
- $form = $btn.closest('form');
1557
- // downgrade to normal form submit if possible
1558
- if ($form.length) {
1559
- $form.trigger('submit');
1560
- }
1561
- e.preventDefault();
1562
- }
1563
- return;
1564
- }
1565
- e.preventDefault();
1566
- if (isEnabled) {
1567
- self.upload();
1568
- }
1569
- },
1570
- _submitForm: function () {
1571
- var self = this;
1572
- return self._isFileSelectionValid() && !self._abort({});
1573
- },
1574
- _clearPreview: function () {
1575
- var self = this, $p = self.$preview,
1576
- $thumbs = self.showUploadedThumbs ? self.getFrames(':not(.file-preview-success)') : self.getFrames();
1577
- $thumbs.each(function () {
1578
- var $thumb = $(this);
1579
- $thumb.remove();
1580
- $h.cleanZoomCache($p.find('#zoom-' + $thumb.attr('id')));
1581
- });
1582
- if (!self.getFrames().length || !self.showPreview) {
1583
- self._resetUpload();
1584
- }
1585
- self._validateDefaultPreview();
1586
- },
1587
- _initSortable: function () {
1588
- var self = this, $el = self.$preview, settings, selector = '.' + $h.SORT_CSS,
1589
- rev = self.reversePreviewOrder;
1590
- if (!window.KvSortable || $el.find(selector).length === 0) {
1591
- return;
1592
- }
1593
- //noinspection JSUnusedGlobalSymbols
1594
- settings = {
1595
- handle: '.drag-handle-init',
1596
- dataIdAttr: 'data-preview-id',
1597
- scroll: false,
1598
- draggable: selector,
1599
- onSort: function (e) {
1600
- var oldIndex = e.oldIndex, newIndex = e.newIndex, i = 0;
1601
- self.initialPreview = $h.moveArray(self.initialPreview, oldIndex, newIndex, rev);
1602
- self.initialPreviewConfig = $h.moveArray(self.initialPreviewConfig, oldIndex, newIndex, rev);
1603
- self.previewCache.init();
1604
- self.getFrames('.file-preview-initial').each(function () {
1605
- $(this).attr('data-fileindex', 'init_' + i);
1606
- i++;
1607
- });
1608
- self._raise('filesorted', {
1609
- previewId: $(e.item).attr('id'),
1610
- 'oldIndex': oldIndex,
1611
- 'newIndex': newIndex,
1612
- stack: self.initialPreviewConfig
1613
- });
1614
- }
1615
- };
1616
- if ($el.data('kvsortable')) {
1617
- $el.kvsortable('destroy');
1618
- }
1619
- $.extend(true, settings, self.fileActionSettings.dragSettings);
1620
- $el.kvsortable(settings);
1621
- },
1622
- _setPreviewContent: function (content) {
1623
- var self = this;
1624
- self.$preview.html(content);
1625
- self._autoFitContent();
1626
- },
1627
- _initPreview: function (isInit) {
1628
- var self = this, cap = self.initialCaption || '', out;
1629
- if (!self.previewCache.count()) {
1630
- self._clearPreview();
1631
- if (isInit) {
1632
- self._setCaption(cap);
1633
- } else {
1634
- self._initCaption();
1635
- }
1636
- return;
1637
- }
1638
- out = self.previewCache.out();
1639
- cap = isInit && self.initialCaption ? self.initialCaption : out.caption;
1640
- self._setPreviewContent(out.content);
1641
- self._setInitThumbAttr();
1642
- self._setCaption(cap);
1643
- self._initSortable();
1644
- if (!$h.isEmpty(out.content)) {
1645
- self.$container.removeClass('file-input-new');
1646
- }
1647
- },
1648
- _getZoomButton: function (type) {
1649
- var self = this, label = self.previewZoomButtonIcons[type], css = self.previewZoomButtonClasses[type],
1650
- title = ' title="' + (self.previewZoomButtonTitles[type] || '') + '" ',
1651
- params = title + (type === 'close' ? ' data-dismiss="modal" aria-hidden="true"' : '');
1652
- if (type === 'fullscreen' || type === 'borderless' || type === 'toggleheader') {
1653
- params += ' data-toggle="button" aria-pressed="false" autocomplete="off"';
1654
- }
1655
- return '<button type="button" class="' + css + ' btn-' + type + '"' + params + '>' + label + '</button>';
1656
- },
1657
- _getModalContent: function () {
1658
- var self = this;
1659
- return self._getLayoutTemplate('modal').setTokens({
1660
- 'rtl': self.rtl ? ' kv-rtl' : '',
1661
- 'zoomFrameClass': self.frameClass,
1662
- 'heading': self.msgZoomModalHeading,
1663
- 'prev': self._getZoomButton('prev'),
1664
- 'next': self._getZoomButton('next'),
1665
- 'toggleheader': self._getZoomButton('toggleheader'),
1666
- 'fullscreen': self._getZoomButton('fullscreen'),
1667
- 'borderless': self._getZoomButton('borderless'),
1668
- 'close': self._getZoomButton('close')
1669
- });
1670
- },
1671
- _listenModalEvent: function (event) {
1672
- var self = this, $modal = self.$modal, getParams = function (e) {
1673
- return {
1674
- sourceEvent: e,
1675
- previewId: $modal.data('previewId'),
1676
- modal: $modal
1677
- };
1678
- };
1679
- $modal.on(event + '.bs.modal', function (e) {
1680
- var $btnFull = $modal.find('.btn-fullscreen'), $btnBord = $modal.find('.btn-borderless');
1681
- self._raise('filezoom' + event, getParams(e));
1682
- if (event === 'shown') {
1683
- $btnBord.removeClass('active').attr('aria-pressed', 'false');
1684
- $btnFull.removeClass('active').attr('aria-pressed', 'false');
1685
- if ($modal.hasClass('file-zoom-fullscreen')) {
1686
- self._maximizeZoomDialog();
1687
- if ($h.checkFullScreen()) {
1688
- $btnFull.addClass('active').attr('aria-pressed', 'true');
1689
- } else {
1690
- $btnBord.addClass('active').attr('aria-pressed', 'true');
1691
- }
1692
- }
1693
- }
1694
- });
1695
- },
1696
- _initZoom: function () {
1697
- var self = this, $dialog, modalMain = self._getLayoutTemplate('modalMain'), modalId = '#' + $h.MODAL_ID;
1698
- if (!self.showPreview) {
1699
- return;
1700
- }
1701
- self.$modal = $(modalId);
1702
- if (!self.$modal || !self.$modal.length) {
1703
- $dialog = $(document.createElement('div')).html(modalMain).insertAfter(self.$container);
1704
- self.$modal = $(modalId).insertBefore($dialog);
1705
- $dialog.remove();
1706
- }
1707
- $h.initModal(self.$modal);
1708
- self.$modal.html(self._getModalContent());
1709
- $.each($h.MODAL_EVENTS, function (key, event) {
1710
- self._listenModalEvent(event);
1711
- });
1712
- },
1713
- _initZoomButtons: function () {
1714
- var self = this, previewId = self.$modal.data('previewId') || '', $first, $last,
1715
- thumbs = self.getFrames().toArray(), len = thumbs.length, $prev = self.$modal.find('.btn-prev'),
1716
- $next = self.$modal.find('.btn-next');
1717
- if (thumbs.length < 2) {
1718
- $prev.hide();
1719
- $next.hide();
1720
- return;
1721
- } else {
1722
- $prev.show();
1723
- $next.show();
1724
- }
1725
- if (!len) {
1726
- return;
1727
- }
1728
- $first = $(thumbs[0]);
1729
- $last = $(thumbs[len - 1]);
1730
- $prev.removeAttr('disabled');
1731
- $next.removeAttr('disabled');
1732
- if ($first.length && $first.attr('id') === previewId) {
1733
- $prev.attr('disabled', true);
1734
- }
1735
- if ($last.length && $last.attr('id') === previewId) {
1736
- $next.attr('disabled', true);
1737
- }
1738
- },
1739
- _maximizeZoomDialog: function () {
1740
- var self = this, $modal = self.$modal, $head = $modal.find('.modal-header:visible'),
1741
- $foot = $modal.find('.modal-footer:visible'), $body = $modal.find('.modal-body'),
1742
- h = $(window).height(), diff = 0;
1743
- $modal.addClass('file-zoom-fullscreen');
1744
- if ($head && $head.length) {
1745
- h -= $head.outerHeight(true);
1746
- }
1747
- if ($foot && $foot.length) {
1748
- h -= $foot.outerHeight(true);
1749
- }
1750
- if ($body && $body.length) {
1751
- diff = $body.outerHeight(true) - $body.height();
1752
- h -= diff;
1753
- }
1754
- $modal.find('.kv-zoom-body').height(h);
1755
- },
1756
- _resizeZoomDialog: function (fullScreen) {
1757
- var self = this, $modal = self.$modal, $btnFull = $modal.find('.btn-fullscreen'),
1758
- $btnBord = $modal.find('.btn-borderless');
1759
- if ($modal.hasClass('file-zoom-fullscreen')) {
1760
- $h.toggleFullScreen(false);
1761
- if (!fullScreen) {
1762
- if (!$btnFull.hasClass('active')) {
1763
- $modal.removeClass('file-zoom-fullscreen');
1764
- self.$modal.find('.kv-zoom-body').css('height', self.zoomModalHeight);
1765
- } else {
1766
- $btnFull.removeClass('active').attr('aria-pressed', 'false');
1767
- }
1768
- } else {
1769
- if (!$btnFull.hasClass('active')) {
1770
- $modal.removeClass('file-zoom-fullscreen');
1771
- self._resizeZoomDialog(true);
1772
- if ($btnBord.hasClass('active')) {
1773
- $btnBord.removeClass('active').attr('aria-pressed', 'false');
1774
- }
1775
- }
1776
- }
1777
- } else {
1778
- if (!fullScreen) {
1779
- self._maximizeZoomDialog();
1780
- return;
1781
- }
1782
- $h.toggleFullScreen(true);
1783
- }
1784
- $modal.focus();
1785
- },
1786
- _setZoomContent: function ($frame, animate) {
1787
- var self = this, $content, tmplt, body, title, $body, $dataEl, config, pid = $frame.attr('id'),
1788
- $modal = self.$modal, $prev = $modal.find('.btn-prev'), $next = $modal.find('.btn-next'), $tmp,
1789
- $btnFull = $modal.find('.btn-fullscreen'), $btnBord = $modal.find('.btn-borderless'), cap, size,
1790
- $btnTogh = $modal.find('.btn-toggleheader'), $zoomPreview = self.$preview.find('#zoom-' + pid);
1791
- tmplt = $zoomPreview.attr('data-template') || 'generic';
1792
- $content = $zoomPreview.find('.kv-file-content');
1793
- body = $content.length ? $content.html() : '';
1794
- cap = $frame.data('caption') || '';
1795
- size = $frame.data('size') || '';
1796
- title = cap + ' ' + size;
1797
- $modal.find('.kv-zoom-title').attr('title', $('<div/>').html(title).text()).html(title);
1798
- $body = $modal.find('.kv-zoom-body');
1799
- $modal.removeClass('kv-single-content');
1800
- if (animate) {
1801
- $tmp = $body.addClass('file-thumb-loading').clone().insertAfter($body);
1802
- $body.html(body).hide();
1803
- $tmp.fadeOut('fast', function () {
1804
- $body.fadeIn('fast', function () {
1805
- $body.removeClass('file-thumb-loading');
1806
- });
1807
- $tmp.remove();
1808
- });
1809
- } else {
1810
- $body.html(body);
1811
- }
1812
- config = self.previewZoomSettings[tmplt];
1813
- if (config) {
1814
- $dataEl = $body.find('.kv-preview-data');
1815
- $h.addCss($dataEl, 'file-zoom-detail');
1816
- $.each(config, function (key, value) {
1817
- $dataEl.css(key, value);
1818
- if (($dataEl.attr('width') && key === 'width') || ($dataEl.attr('height') && key === 'height')) {
1819
- $dataEl.removeAttr(key);
1820
- }
1821
- });
1822
- }
1823
- $modal.data('previewId', pid);
1824
- self._handler($prev, 'click', function () {
1825
- self._zoomSlideShow('prev', pid);
1826
- });
1827
- self._handler($next, 'click', function () {
1828
- self._zoomSlideShow('next', pid);
1829
- });
1830
- self._handler($btnFull, 'click', function () {
1831
- self._resizeZoomDialog(true);
1832
- });
1833
- self._handler($btnBord, 'click', function () {
1834
- self._resizeZoomDialog(false);
1835
- });
1836
- self._handler($btnTogh, 'click', function () {
1837
- var $header = $modal.find('.modal-header'), $floatBar = $modal.find('.modal-body .floating-buttons'),
1838
- ht, $actions = $header.find('.kv-zoom-actions'), resize = function (height) {
1839
- var $body = self.$modal.find('.kv-zoom-body'), h = self.zoomModalHeight;
1840
- if ($modal.hasClass('file-zoom-fullscreen')) {
1841
- h = $body.outerHeight(true);
1842
- if (!height) {
1843
- h = h - $header.outerHeight(true);
1844
- }
1845
- }
1846
- $body.css('height', height ? h + height : h);
1847
- };
1848
- if ($header.is(':visible')) {
1849
- ht = $header.outerHeight(true);
1850
- $header.slideUp('slow', function () {
1851
- $actions.find('.btn').appendTo($floatBar);
1852
- resize(ht);
1853
- });
1854
- } else {
1855
- $floatBar.find('.btn').appendTo($actions);
1856
- $header.slideDown('slow', function () {
1857
- resize();
1858
- });
1859
- }
1860
- $modal.focus();
1861
- });
1862
- self._handler($modal, 'keydown', function (e) {
1863
- var key = e.which || e.keyCode;
1864
- if (key === 37 && !$prev.attr('disabled')) {
1865
- self._zoomSlideShow('prev', pid);
1866
- }
1867
- if (key === 39 && !$next.attr('disabled')) {
1868
- self._zoomSlideShow('next', pid);
1869
- }
1870
- });
1871
- },
1872
- _zoomPreview: function ($btn) {
1873
- var self = this, $frame, $modal = self.$modal;
1874
- if (!$btn.length) {
1875
- throw 'Cannot zoom to detailed preview!';
1876
- }
1877
- $h.initModal($modal);
1878
- $modal.html(self._getModalContent());
1879
- $frame = $btn.closest($h.FRAMES);
1880
- self._setZoomContent($frame);
1881
- $modal.modal('show');
1882
- self._initZoomButtons();
1883
- },
1884
- _zoomSlideShow: function (dir, previewId) {
1885
- var self = this, $btn = self.$modal.find('.kv-zoom-actions .btn-' + dir), $targFrame, i,
1886
- thumbs = self.getFrames().toArray(), len = thumbs.length, out;
1887
- if ($btn.attr('disabled')) {
1888
- return;
1889
- }
1890
- for (i = 0; i < len; i++) {
1891
- if ($(thumbs[i]).attr('id') === previewId) {
1892
- out = dir === 'prev' ? i - 1 : i + 1;
1893
- break;
1894
- }
1895
- }
1896
- if (out < 0 || out >= len || !thumbs[out]) {
1897
- return;
1898
- }
1899
- $targFrame = $(thumbs[out]);
1900
- if ($targFrame.length) {
1901
- self._setZoomContent($targFrame, true);
1902
- }
1903
- self._initZoomButtons();
1904
- self._raise('filezoom' + dir, {'previewId': previewId, modal: self.$modal});
1905
- },
1906
- _initZoomButton: function () {
1907
- var self = this;
1908
- self.$preview.find('.kv-file-zoom').each(function () {
1909
- var $el = $(this);
1910
- self._handler($el, 'click', function () {
1911
- self._zoomPreview($el);
1912
- });
1913
- });
1914
- },
1915
- _inputFileCount: function () {
1916
- return this.$element.get(0).files.length;
1917
- },
1918
- _refreshPreview: function () {
1919
- var self = this, files;
1920
- if (!self._inputFileCount() || !self.showPreview || !self.isPreviewable) {
1921
- return;
1922
- }
1923
- if (self.isAjaxUpload) {
1924
- files = self.getFileStack();
1925
- self.filestack = [];
1926
- if (files.length) {
1927
- self._clearFileInput();
1928
- } else {
1929
- files = self.$element.get(0).files;
1930
- }
1931
- } else {
1932
- files = self.$element.get(0).files;
1933
- }
1934
- if (files && files.length) {
1935
- self.readFiles(files);
1936
- self._setFileDropZoneTitle();
1937
- }
1938
- },
1939
- _clearObjects: function ($el) {
1940
- $el.find('video audio').each(function () {
1941
- this.pause();
1942
- $(this).remove();
1943
- });
1944
- $el.find('img object div').each(function () {
1945
- $(this).remove();
1946
- });
1947
- },
1948
- _clearFileInput: function () {
1949
- var self = this, $el = self.$element, $srcFrm, $tmpFrm, $tmpEl;
1950
- if (!self._inputFileCount()) {
1951
- return;
1952
- }
1953
- $srcFrm = $el.closest('form');
1954
- $tmpFrm = $(document.createElement('form'));
1955
- $tmpEl = $(document.createElement('div'));
1956
- $el.before($tmpEl);
1957
- if ($srcFrm.length) {
1958
- $srcFrm.after($tmpFrm);
1959
- } else {
1960
- $tmpEl.after($tmpFrm);
1961
- }
1962
- $tmpFrm.append($el).trigger('reset');
1963
- $tmpEl.before($el).remove();
1964
- $tmpFrm.remove();
1965
- },
1966
- _resetUpload: function () {
1967
- var self = this;
1968
- self.uploadCache = {content: [], config: [], tags: [], append: true};
1969
- self.uploadCount = 0;
1970
- self.uploadStatus = {};
1971
- self.uploadLog = [];
1972
- self.uploadAsyncCount = 0;
1973
- self.loadedImages = [];
1974
- self.totalImagesCount = 0;
1975
- self.$btnUpload.removeAttr('disabled');
1976
- self._setProgress(0);
1977
- self.$progress.hide();
1978
- self._resetErrors(false);
1979
- self.ajaxAborted = false;
1980
- self.ajaxRequests = [];
1981
- self._resetCanvas();
1982
- self.cacheInitialPreview = {};
1983
- if (self.overwriteInitial) {
1984
- self.initialPreview = [];
1985
- self.initialPreviewConfig = [];
1986
- self.initialPreviewThumbTags = [];
1987
- self.previewCache.data = {
1988
- content: [],
1989
- config: [],
1990
- tags: []
1991
- };
1992
- }
1993
- },
1994
- _resetCanvas: function () {
1995
- var self = this;
1996
- if (self.canvas && self.imageCanvasContext) {
1997
- self.imageCanvasContext.clearRect(0, 0, self.canvas.width, self.canvas.height);
1998
- }
1999
- },
2000
- _hasInitialPreview: function () {
2001
- var self = this;
2002
- return !self.overwriteInitial && self.previewCache.count();
2003
- },
2004
- _resetPreview: function () {
2005
- var self = this, out, cap;
2006
- if (self.previewCache.count()) {
2007
- out = self.previewCache.out();
2008
- self._setPreviewContent(out.content);
2009
- self._setInitThumbAttr();
2010
- cap = self.initialCaption ? self.initialCaption : out.caption;
2011
- self._setCaption(cap);
2012
- } else {
2013
- self._clearPreview();
2014
- self._initCaption();
2015
- }
2016
- if (self.showPreview) {
2017
- self._initZoom();
2018
- self._initSortable();
2019
- }
2020
- },
2021
- _clearDefaultPreview: function () {
2022
- var self = this;
2023
- self.$preview.find('.file-default-preview').remove();
2024
- },
2025
- _validateDefaultPreview: function () {
2026
- var self = this;
2027
- if (!self.showPreview || $h.isEmpty(self.defaultPreviewContent)) {
2028
- return;
2029
- }
2030
- self._setPreviewContent('<div class="file-default-preview">' + self.defaultPreviewContent + '</div>');
2031
- self.$container.removeClass('file-input-new');
2032
- self._initClickable();
2033
- },
2034
- _resetPreviewThumbs: function (isAjax) {
2035
- var self = this, out;
2036
- if (isAjax) {
2037
- self._clearPreview();
2038
- self.clearStack();
2039
- return;
2040
- }
2041
- if (self._hasInitialPreview()) {
2042
- out = self.previewCache.out();
2043
- self._setPreviewContent(out.content);
2044
- self._setInitThumbAttr();
2045
- self._setCaption(out.caption);
2046
- self._initPreviewActions();
2047
- } else {
2048
- self._clearPreview();
2049
- }
2050
- },
2051
- _getLayoutTemplate: function (t) {
2052
- var self = this, template = self.layoutTemplates[t];
2053
- if ($h.isEmpty(self.customLayoutTags)) {
2054
- return template;
2055
- }
2056
- return $h.replaceTags(template, self.customLayoutTags);
2057
- },
2058
- _getPreviewTemplate: function (t) {
2059
- var self = this, template = self.previewTemplates[t];
2060
- if ($h.isEmpty(self.customPreviewTags)) {
2061
- return template;
2062
- }
2063
- return $h.replaceTags(template, self.customPreviewTags);
2064
- },
2065
- _getOutData: function (jqXHR, responseData, filesData) {
2066
- var self = this;
2067
- jqXHR = jqXHR || {};
2068
- responseData = responseData || {};
2069
- filesData = filesData || self.filestack.slice(0) || {};
2070
- return {
2071
- form: self.formdata,
2072
- files: filesData,
2073
- filenames: self.filenames,
2074
- filescount: self.getFilesCount(),
2075
- extra: self._getExtraData(),
2076
- response: responseData,
2077
- reader: self.reader,
2078
- jqXHR: jqXHR
2079
- };
2080
- },
2081
- _getMsgSelected: function (n) {
2082
- var self = this, strFiles = n === 1 ? self.fileSingle : self.filePlural;
2083
- return n > 0 ? self.msgSelected.replace('{n}', n).replace('{files}', strFiles) : self.msgNoFilesSelected;
2084
- },
2085
- _getFrame: function (id) {
2086
- var self = this, $frame = $('#' + id);
2087
- if (!$frame.length) {
2088
- self._log('Invalid thumb frame with id: "' + id + '".');
2089
- return null;
2090
- }
2091
- return $frame;
2092
- },
2093
- _getThumbs: function (css) {
2094
- css = css || '';
2095
- return this.getFrames(':not(.file-preview-initial)' + css);
2096
- },
2097
- _getExtraData: function (previewId, index) {
2098
- var self = this, data = self.uploadExtraData;
2099
- if (typeof self.uploadExtraData === "function") {
2100
- data = self.uploadExtraData(previewId, index);
2101
- }
2102
- return data;
2103
- },
2104
- _initXhr: function (xhrobj, previewId, fileCount) {
2105
- var self = this;
2106
- if (xhrobj.upload) {
2107
- xhrobj.upload.addEventListener('progress', function (event) {
2108
- var pct = 0, total = event.total, position = event.loaded || event.position;
2109
- /** @namespace event.lengthComputable */
2110
- if (event.lengthComputable) {
2111
- pct = Math.floor(position / total * 100);
2112
- }
2113
- if (previewId) {
2114
- self._setAsyncUploadStatus(previewId, pct, fileCount);
2115
- } else {
2116
- self._setProgress(pct);
2117
- }
2118
- }, false);
2119
- }
2120
- return xhrobj;
2121
- },
2122
- _initAjaxSettings: function () {
2123
- var self = this;
2124
- self._ajaxSettings = $.extend(true, {}, self.ajaxSettings);
2125
- self._ajaxDeleteSettings = $.extend(true, {}, self.ajaxDeleteSettings);
2126
- },
2127
- _mergeAjaxCallback: function (funcName, srcFunc, type) {
2128
- var self = this, settings = self._ajaxSettings, flag = self.mergeAjaxCallbacks, targFunc;
2129
- if (type === 'delete') {
2130
- settings = self._ajaxDeleteSettings;
2131
- flag = self.mergeAjaxDeleteCallbacks;
2132
- }
2133
- targFunc = settings[funcName];
2134
- if (flag && typeof targFunc === "function") {
2135
- if (flag === 'before') {
2136
- settings[funcName] = function () {
2137
- targFunc.apply(this, arguments);
2138
- srcFunc.apply(this, arguments);
2139
- };
2140
- } else {
2141
- settings[funcName] = function () {
2142
- srcFunc.apply(this, arguments);
2143
- targFunc.apply(this, arguments);
2144
- };
2145
- }
2146
- } else {
2147
- settings[funcName] = srcFunc;
2148
- }
2149
- },
2150
- _ajaxSubmit: function (fnBefore, fnSuccess, fnComplete, fnError, previewId, index) {
2151
- var self = this, settings;
2152
- if (!self._raise('filepreajax', [previewId, index])) {
2153
- return;
2154
- }
2155
- self._uploadExtra(previewId, index);
2156
- self._initAjaxSettings();
2157
- self._mergeAjaxCallback('beforeSend', fnBefore);
2158
- self._mergeAjaxCallback('success', fnSuccess);
2159
- self._mergeAjaxCallback('complete', fnComplete);
2160
- self._mergeAjaxCallback('error', fnError);
2161
- settings = $.extend(true, {}, {
2162
- xhr: function () {
2163
- var xhrobj = $.ajaxSettings.xhr();
2164
- return self._initXhr(xhrobj, previewId, self.getFileStack().length);
2165
- },
2166
- url: index && self.uploadUrlThumb ? self.uploadUrlThumb : self.uploadUrl,
2167
- type: 'POST',
2168
- dataType: 'json',
2169
- data: self.formdata,
2170
- cache: false,
2171
- processData: false,
2172
- contentType: false
2173
- }, self._ajaxSettings);
2174
- self.ajaxRequests.push($.ajax(settings));
2175
- },
2176
- _mergeArray: function (prop, content) {
2177
- var self = this, arr1 = $h.cleanArray(self[prop]), arr2 = $h.cleanArray(content);
2178
- self[prop] = arr1.concat(arr2);
2179
- },
2180
- _initUploadSuccess: function (out, $thumb, allFiles) {
2181
- var self = this, append, data, index, $div, $newCache, content, config, tags, i;
2182
- if (!self.showPreview || typeof out !== 'object' || $.isEmptyObject(out)) {
2183
- return;
2184
- }
2185
- if (out.initialPreview !== undefined && out.initialPreview.length > 0) {
2186
- self.hasInitData = true;
2187
- content = out.initialPreview || [];
2188
- config = out.initialPreviewConfig || [];
2189
- tags = out.initialPreviewThumbTags || [];
2190
- append = out.append === undefined || out.append;
2191
- if (content.length > 0 && !$h.isArray(content)) {
2192
- content = content.split(self.initialPreviewDelimiter);
2193
- }
2194
- self._mergeArray('initialPreview', content);
2195
- self._mergeArray('initialPreviewConfig', config);
2196
- self._mergeArray('initialPreviewThumbTags', tags);
2197
- if ($thumb !== undefined) {
2198
- if (!allFiles) {
2199
- index = self.previewCache.add(content, config[0], tags[0], append);
2200
- data = self.previewCache.get(index, false);
2201
- $div = $(document.createElement('div')).html(data).hide().insertAfter($thumb);
2202
- $newCache = $div.find('.kv-zoom-cache');
2203
- if ($newCache && $newCache.length) {
2204
- $newCache.insertAfter($thumb);
2205
- }
2206
- $thumb.fadeOut('slow', function () {
2207
- var $newThumb = $div.find('.file-preview-frame');
2208
- if ($newThumb && $newThumb.length) {
2209
- $newThumb.insertBefore($thumb).fadeIn('slow').css('display:inline-block');
2210
- }
2211
- self._initPreviewActions();
2212
- self._clearFileInput();
2213
- $h.cleanZoomCache(self.$preview.find('#zoom-' + $thumb.attr('id')));
2214
- $thumb.remove();
2215
- $div.remove();
2216
- self._initSortable();
2217
- });
2218
- } else {
2219
- i = $thumb.attr('data-fileindex');
2220
- self.uploadCache.content[i] = content[0];
2221
- self.uploadCache.config[i] = config[0] || [];
2222
- self.uploadCache.tags[i] = tags[0] || [];
2223
- self.uploadCache.append = append;
2224
- }
2225
- } else {
2226
- self.previewCache.set(content, config, tags, append);
2227
- self._initPreview();
2228
- self._initPreviewActions();
2229
- }
2230
- }
2231
- },
2232
- _initSuccessThumbs: function () {
2233
- var self = this;
2234
- if (!self.showPreview) {
2235
- return;
2236
- }
2237
- self._getThumbs($h.FRAMES + '.file-preview-success').each(function () {
2238
- var $thumb = $(this), $preview = self.$preview, $remove = $thumb.find('.kv-file-remove');
2239
- $remove.removeAttr('disabled');
2240
- self._handler($remove, 'click', function () {
2241
- var id = $thumb.attr('id'),
2242
- out = self._raise('filesuccessremove', [id, $thumb.attr('data-fileindex')]);
2243
- $h.cleanMemory($thumb);
2244
- if (out === false) {
2245
- return;
2246
- }
2247
- $thumb.fadeOut('slow', function () {
2248
- $h.cleanZoomCache($preview.find('#zoom-' + id));
2249
- $thumb.remove();
2250
- if (!self.getFrames().length) {
2251
- self.reset();
2252
- }
2253
- });
2254
- });
2255
- });
2256
- },
2257
- _checkAsyncComplete: function () {
2258
- var self = this, previewId, i;
2259
- for (i = 0; i < self.filestack.length; i++) {
2260
- if (self.filestack[i]) {
2261
- previewId = self.previewInitId + "-" + i;
2262
- if ($.inArray(previewId, self.uploadLog) === -1) {
2263
- return false;
2264
- }
2265
- }
2266
- }
2267
- return (self.uploadAsyncCount === self.uploadLog.length);
2268
- },
2269
- _uploadExtra: function (previewId, index) {
2270
- var self = this, data = self._getExtraData(previewId, index);
2271
- if (data.length === 0) {
2272
- return;
2273
- }
2274
- $.each(data, function (key, value) {
2275
- self.formdata.append(key, value);
2276
- });
2277
- },
2278
- _uploadSingle: function (i, isBatch) {
2279
- var self = this, total = self.getFileStack().length, formdata = new FormData(), outData,
2280
- previewId = self.previewInitId + "-" + i, $thumb, chkComplete, $btnUpload, $btnDelete,
2281
- hasPostData = self.filestack.length > 0 || !$.isEmptyObject(self.uploadExtraData), uploadFailed,
2282
- $prog = $('#' + previewId).find('.file-thumb-progress'), fnBefore, fnSuccess, fnComplete, fnError,
2283
- updateUploadLog, params = {id: previewId, index: i};
2284
- self.formdata = formdata;
2285
- if (self.showPreview) {
2286
- $thumb = $('#' + previewId + ':not(.file-preview-initial)');
2287
- $btnUpload = $thumb.find('.kv-file-upload');
2288
- $btnDelete = $thumb.find('.kv-file-remove');
2289
- $prog.show();
2290
- }
2291
- if (total === 0 || !hasPostData || ($btnUpload && $btnUpload.hasClass('disabled')) || self._abort(params)) {
2292
- return;
2293
- }
2294
- updateUploadLog = function (i, previewId) {
2295
- if (!uploadFailed) {
2296
- self.updateStack(i, undefined);
2297
- }
2298
- self.uploadLog.push(previewId);
2299
- if (self._checkAsyncComplete()) {
2300
- self.fileBatchCompleted = true;
2301
- }
2302
- };
2303
- chkComplete = function () {
2304
- var u = self.uploadCache, $initThumbs, i, j, len = 0, data = self.cacheInitialPreview;
2305
- if (!self.fileBatchCompleted) {
2306
- return;
2307
- }
2308
- if (data && data.content) {
2309
- len = data.content.length;
2310
- }
2311
- setTimeout(function () {
2312
- var triggerReset = self.getFileStack(true).length === 0;
2313
- if (self.showPreview) {
2314
- self.previewCache.set(u.content, u.config, u.tags, u.append);
2315
- if (len) {
2316
- for (i = 0; i < u.content.length; i++) {
2317
- j = i + len;
2318
- data.content[j] = u.content[i];
2319
- //noinspection JSUnresolvedVariable
2320
- if (data.config.length) {
2321
- data.config[j] = u.config[i];
2322
- }
2323
- if (data.tags.length) {
2324
- data.tags[j] = u.tags[i];
2325
- }
2326
- }
2327
- self.initialPreview = $h.cleanArray(data.content);
2328
- self.initialPreviewConfig = $h.cleanArray(data.config);
2329
- self.initialPreviewThumbTags = $h.cleanArray(data.tags);
2330
- } else {
2331
- self.initialPreview = u.content;
2332
- self.initialPreviewConfig = u.config;
2333
- self.initialPreviewThumbTags = u.tags;
2334
- }
2335
- self.cacheInitialPreview = {};
2336
- if (self.hasInitData) {
2337
- self._initPreview();
2338
- self._initPreviewActions();
2339
- }
2340
- }
2341
- self.unlock(triggerReset);
2342
- if (triggerReset) {
2343
- self._clearFileInput();
2344
- }
2345
- $initThumbs = self.$preview.find('.file-preview-initial');
2346
- if (self.uploadAsync && $initThumbs.length) {
2347
- $h.addCss($initThumbs, $h.SORT_CSS);
2348
- self._initSortable();
2349
- }
2350
- self._raise('filebatchuploadcomplete', [self.filestack, self._getExtraData()]);
2351
- self.uploadCount = 0;
2352
- self.uploadStatus = {};
2353
- self.uploadLog = [];
2354
- self._setProgress(101);
2355
- self.ajaxAborted = false;
2356
- }, 100);
2357
- };
2358
- fnBefore = function (jqXHR) {
2359
- outData = self._getOutData(jqXHR);
2360
- self.fileBatchCompleted = false;
2361
- if (!isBatch) {
2362
- self.ajaxAborted = false;
2363
- }
2364
- if (self.showPreview) {
2365
- if (!$thumb.hasClass('file-preview-success')) {
2366
- self._setThumbStatus($thumb, 'Loading');
2367
- $h.addCss($thumb, 'file-uploading');
2368
- }
2369
- $btnUpload.attr('disabled', true);
2370
- $btnDelete.attr('disabled', true);
2371
- }
2372
- if (!isBatch) {
2373
- self.lock();
2374
- }
2375
- self._raise('filepreupload', [outData, previewId, i]);
2376
- $.extend(true, params, outData);
2377
- if (self._abort(params)) {
2378
- jqXHR.abort();
2379
- if (!isBatch) {
2380
- self._setThumbStatus($thumb, 'New');
2381
- $thumb.removeClass('file-uploading');
2382
- $btnUpload.removeAttr('disabled');
2383
- $btnDelete.removeAttr('disabled');
2384
- self.unlock();
2385
- }
2386
- self._setProgressCancelled();
2387
- }
2388
- };
2389
- fnSuccess = function (data, textStatus, jqXHR) {
2390
- var pid = self.showPreview && $thumb.attr('id') ? $thumb.attr('id') : previewId;
2391
- outData = self._getOutData(jqXHR, data);
2392
- $.extend(true, params, outData);
2393
- setTimeout(function () {
2394
- if ($h.isEmpty(data) || $h.isEmpty(data.error)) {
2395
- if (self.showPreview) {
2396
- self._setThumbStatus($thumb, 'Success');
2397
- $btnUpload.hide();
2398
- self._initUploadSuccess(data, $thumb, isBatch);
2399
- self._setProgress(101, $prog);
2400
- }
2401
- self._raise('fileuploaded', [outData, pid, i]);
2402
- if (!isBatch) {
2403
- self.updateStack(i, undefined);
2404
- } else {
2405
- updateUploadLog(i, pid);
2406
- }
2407
- } else {
2408
- uploadFailed = true;
2409
- self._showUploadError(data.error, params);
2410
- self._setPreviewError($thumb, i, self.filestack[i], self.retryErrorUploads);
2411
- if (!self.retryErrorUploads) {
2412
- $btnUpload.hide();
2413
- }
2414
- if (isBatch) {
2415
- updateUploadLog(i, pid);
2416
- }
2417
- self._setProgress(101, $('#' + pid).find('.file-thumb-progress'), self.msgUploadError);
2418
- }
2419
- }, 100);
2420
- };
2421
- fnComplete = function () {
2422
- setTimeout(function () {
2423
- if (self.showPreview) {
2424
- $btnUpload.removeAttr('disabled');
2425
- $btnDelete.removeAttr('disabled');
2426
- $thumb.removeClass('file-uploading');
2427
- }
2428
- if (!isBatch) {
2429
- self.unlock(false);
2430
- self._clearFileInput();
2431
- } else {
2432
- chkComplete();
2433
- }
2434
- self._initSuccessThumbs();
2435
- }, 100);
2436
- };
2437
- fnError = function (jqXHR, textStatus, errorThrown) {
2438
- var op = self.ajaxOperations.uploadThumb,
2439
- errMsg = self._parseError(op, jqXHR, errorThrown, (isBatch && self.filestack[i].name ? self.filestack[i].name : null));
2440
- uploadFailed = true;
2441
- setTimeout(function () {
2442
- if (isBatch) {
2443
- updateUploadLog(i, previewId);
2444
- }
2445
- self.uploadStatus[previewId] = 100;
2446
- self._setPreviewError($thumb, i, self.filestack[i], self.retryErrorUploads);
2447
- if (!self.retryErrorUploads) {
2448
- $btnUpload.hide();
2449
- }
2450
- $.extend(true, params, self._getOutData(jqXHR));
2451
- self._setProgress(101, $prog, self.msgAjaxProgressError.replace('{operation}', op));
2452
- self._setProgress(101, $('#' + previewId).find('.file-thumb-progress'), self.msgUploadError);
2453
- self._showUploadError(errMsg, params);
2454
- }, 100);
2455
- };
2456
- formdata.append(self.uploadFileAttr, self.filestack[i], self.filenames[i]);
2457
- formdata.append('file_id', i);
2458
- self._ajaxSubmit(fnBefore, fnSuccess, fnComplete, fnError, previewId, i);
2459
- },
2460
- _uploadBatch: function () {
2461
- var self = this, files = self.filestack, total = files.length, params = {}, fnBefore, fnSuccess, fnError,
2462
- fnComplete, hasPostData = self.filestack.length > 0 || !$.isEmptyObject(self.uploadExtraData),
2463
- setAllUploaded;
2464
- self.formdata = new FormData();
2465
- if (total === 0 || !hasPostData || self._abort(params)) {
2466
- return;
2467
- }
2468
- setAllUploaded = function () {
2469
- $.each(files, function (key) {
2470
- self.updateStack(key, undefined);
2471
- });
2472
- self._clearFileInput();
2473
- };
2474
- fnBefore = function (jqXHR) {
2475
- self.lock();
2476
- var outData = self._getOutData(jqXHR);
2477
- self.ajaxAborted = false;
2478
- if (self.showPreview) {
2479
- self._getThumbs().each(function () {
2480
- var $thumb = $(this), $btnUpload = $thumb.find('.kv-file-upload'),
2481
- $btnDelete = $thumb.find('.kv-file-remove');
2482
- if (!$thumb.hasClass('file-preview-success')) {
2483
- self._setThumbStatus($thumb, 'Loading');
2484
- $h.addCss($thumb, 'file-uploading');
2485
- }
2486
- $btnUpload.attr('disabled', true);
2487
- $btnDelete.attr('disabled', true);
2488
- });
2489
- }
2490
- self._raise('filebatchpreupload', [outData]);
2491
- if (self._abort(outData)) {
2492
- jqXHR.abort();
2493
- self._getThumbs().each(function () {
2494
- var $thumb = $(this), $btnUpload = $thumb.find('.kv-file-upload'),
2495
- $btnDelete = $thumb.find('.kv-file-remove');
2496
- if ($thumb.hasClass('file-preview-loading')) {
2497
- self._setThumbStatus($thumb, 'New');
2498
- $thumb.removeClass('file-uploading');
2499
- }
2500
- $btnUpload.removeAttr('disabled');
2501
- $btnDelete.removeAttr('disabled');
2502
- });
2503
- self._setProgressCancelled();
2504
- }
2505
- };
2506
- fnSuccess = function (data, textStatus, jqXHR) {
2507
- /** @namespace data.errorkeys */
2508
- var outData = self._getOutData(jqXHR, data), key = 0,
2509
- $thumbs = self._getThumbs(':not(.file-preview-success)'),
2510
- keys = $h.isEmpty(data) || $h.isEmpty(data.errorkeys) ? [] : data.errorkeys;
2511
-
2512
- if ($h.isEmpty(data) || $h.isEmpty(data.error)) {
2513
- self._raise('filebatchuploadsuccess', [outData]);
2514
- setAllUploaded();
2515
- if (self.showPreview) {
2516
- $thumbs.each(function () {
2517
- var $thumb = $(this);
2518
- self._setThumbStatus($thumb, 'Success');
2519
- $thumb.removeClass('file-uploading');
2520
- $thumb.find('.kv-file-upload').hide().removeAttr('disabled');
2521
- });
2522
- self._initUploadSuccess(data);
2523
- } else {
2524
- self.reset();
2525
- }
2526
- self._setProgress(101);
2527
- } else {
2528
- if (self.showPreview) {
2529
- $thumbs.each(function () {
2530
- var $thumb = $(this), i = $thumb.attr('data-fileindex');
2531
- $thumb.removeClass('file-uploading');
2532
- $thumb.find('.kv-file-upload').removeAttr('disabled');
2533
- $thumb.find('.kv-file-remove').removeAttr('disabled');
2534
- if (keys.length === 0 || $.inArray(key, keys) !== -1) {
2535
- self._setPreviewError($thumb, i, self.filestack[i], self.retryErrorUploads);
2536
- if (!self.retryErrorUploads) {
2537
- $thumb.find('.kv-file-upload').hide();
2538
- self.updateStack(i, undefined);
2539
- }
2540
- } else {
2541
- $thumb.find('.kv-file-upload').hide();
2542
- self._setThumbStatus($thumb, 'Success');
2543
- self.updateStack(i, undefined);
2544
- }
2545
- if (!$thumb.hasClass('file-preview-error') || self.retryErrorUploads) {
2546
- key++;
2547
- }
2548
- });
2549
- self._initUploadSuccess(data);
2550
- }
2551
- self._showUploadError(data.error, outData, 'filebatchuploaderror');
2552
- self._setProgress(101, self.$progress, self.msgUploadError);
2553
- }
2554
- };
2555
- fnComplete = function () {
2556
- self.unlock();
2557
- self._initSuccessThumbs();
2558
- self._clearFileInput();
2559
- self._raise('filebatchuploadcomplete', [self.filestack, self._getExtraData()]);
2560
- };
2561
- fnError = function (jqXHR, textStatus, errorThrown) {
2562
- var outData = self._getOutData(jqXHR), op = self.ajaxOperations.uploadBatch,
2563
- errMsg = self._parseError(op, jqXHR, errorThrown);
2564
- self._showUploadError(errMsg, outData, 'filebatchuploaderror');
2565
- self.uploadFileCount = total - 1;
2566
- if (!self.showPreview) {
2567
- return;
2568
- }
2569
- self._getThumbs().each(function () {
2570
- var $thumb = $(this), key = $thumb.attr('data-fileindex');
2571
- $thumb.removeClass('file-uploading');
2572
- if (self.filestack[key] !== undefined) {
2573
- self._setPreviewError($thumb);
2574
- }
2575
- });
2576
- self._getThumbs().removeClass('file-uploading');
2577
- self._getThumbs(' .kv-file-upload').removeAttr('disabled');
2578
- self._getThumbs(' .kv-file-delete').removeAttr('disabled');
2579
- self._setProgress(101, self.$progress, self.msgAjaxProgressError.replace('{operation}', op));
2580
- };
2581
- $.each(files, function (key, data) {
2582
- if (!$h.isEmpty(files[key])) {
2583
- self.formdata.append(self.uploadFileAttr, data, self.filenames[key]);
2584
- }
2585
- });
2586
- self._ajaxSubmit(fnBefore, fnSuccess, fnComplete, fnError);
2587
- },
2588
- _uploadExtraOnly: function () {
2589
- var self = this, params = {}, fnBefore, fnSuccess, fnComplete, fnError;
2590
- self.formdata = new FormData();
2591
- if (self._abort(params)) {
2592
- return;
2593
- }
2594
- fnBefore = function (jqXHR) {
2595
- self.lock();
2596
- var outData = self._getOutData(jqXHR);
2597
- self._raise('filebatchpreupload', [outData]);
2598
- self._setProgress(50);
2599
- params.data = outData;
2600
- params.xhr = jqXHR;
2601
- if (self._abort(params)) {
2602
- jqXHR.abort();
2603
- self._setProgressCancelled();
2604
- }
2605
- };
2606
- fnSuccess = function (data, textStatus, jqXHR) {
2607
- var outData = self._getOutData(jqXHR, data);
2608
- if ($h.isEmpty(data) || $h.isEmpty(data.error)) {
2609
- self._raise('filebatchuploadsuccess', [outData]);
2610
- self._clearFileInput();
2611
- self._initUploadSuccess(data);
2612
- self._setProgress(101);
2613
- } else {
2614
- self._showUploadError(data.error, outData, 'filebatchuploaderror');
2615
- }
2616
- };
2617
- fnComplete = function () {
2618
- self.unlock();
2619
- self._clearFileInput();
2620
- self._raise('filebatchuploadcomplete', [self.filestack, self._getExtraData()]);
2621
- };
2622
- fnError = function (jqXHR, textStatus, errorThrown) {
2623
- var outData = self._getOutData(jqXHR), op = self.ajaxOperations.uploadExtra,
2624
- errMsg = self._parseError(op, jqXHR, errorThrown);
2625
- params.data = outData;
2626
- self._showUploadError(errMsg, outData, 'filebatchuploaderror');
2627
- self._setProgress(101, self.$progress, self.msgAjaxProgressError.replace('{operation}', op));
2628
- };
2629
- self._ajaxSubmit(fnBefore, fnSuccess, fnComplete, fnError);
2630
- },
2631
- _deleteFileIndex: function ($frame) {
2632
- var self = this, ind = $frame.attr('data-fileindex'), rev = self.reversePreviewOrder;
2633
- if (ind.substring(0, 5) === 'init_') {
2634
- ind = parseInt(ind.replace('init_', ''));
2635
- self.initialPreview = $h.spliceArray(self.initialPreview, ind, rev);
2636
- self.initialPreviewConfig = $h.spliceArray(self.initialPreviewConfig, ind, rev);
2637
- self.initialPreviewThumbTags = $h.spliceArray(self.initialPreviewThumbTags, ind, rev);
2638
- self.getFrames().each(function () {
2639
- var $nFrame = $(this), nInd = $nFrame.attr('data-fileindex');
2640
- if (nInd.substring(0, 5) === 'init_') {
2641
- nInd = parseInt(nInd.replace('init_', ''));
2642
- if (nInd > ind) {
2643
- nInd--;
2644
- $nFrame.attr('data-fileindex', 'init_' + nInd);
2645
- }
2646
- }
2647
- });
2648
- if (self.uploadAsync) {
2649
- self.cacheInitialPreview = self.getPreview();
2650
- }
2651
- }
2652
- },
2653
- _initFileActions: function () {
2654
- var self = this, $preview = self.$preview;
2655
- if (!self.showPreview) {
2656
- return;
2657
- }
2658
- self._initZoomButton();
2659
- self.getFrames(' .kv-file-remove').each(function () {
2660
- var $el = $(this), $frame = $el.closest($h.FRAMES), hasError, id = $frame.attr('id'),
2661
- ind = $frame.attr('data-fileindex'), n, cap, status;
2662
- self._handler($el, 'click', function () {
2663
- status = self._raise('filepreremove', [id, ind]);
2664
- if (status === false || !self._validateMinCount()) {
2665
- return false;
2666
- }
2667
- hasError = $frame.hasClass('file-preview-error');
2668
- $h.cleanMemory($frame);
2669
- $frame.fadeOut('slow', function () {
2670
- $h.cleanZoomCache($preview.find('#zoom-' + id));
2671
- self.updateStack(ind, undefined);
2672
- self._clearObjects($frame);
2673
- $frame.remove();
2674
- if (id && hasError) {
2675
- self.$errorContainer.find('li[data-file-id="' + id + '"]').fadeOut('fast', function () {
2676
- $(this).remove();
2677
- if (!self._errorsExist()) {
2678
- self._resetErrors();
2679
- }
2680
- });
2681
- }
2682
- self._clearFileInput();
2683
- var filestack = self.getFileStack(true), chk = self.previewCache.count(),
2684
- len = filestack.length, hasThumb = self.showPreview && self.getFrames().length;
2685
- if (len === 0 && chk === 0 && !hasThumb) {
2686
- self.reset();
2687
- } else {
2688
- n = chk + len;
2689
- cap = n > 1 ? self._getMsgSelected(n) : (filestack[0] ? self._getFileNames()[0] : '');
2690
- self._setCaption(cap);
2691
- }
2692
- self._raise('fileremoved', [id, ind]);
2693
- });
2694
- });
2695
- });
2696
- self.getFrames(' .kv-file-upload').each(function () {
2697
- var $el = $(this);
2698
- self._handler($el, 'click', function () {
2699
- var $frame = $el.closest($h.FRAMES), ind = $frame.attr('data-fileindex');
2700
- self.$progress.hide();
2701
- if ($frame.hasClass('file-preview-error') && !self.retryErrorUploads) {
2702
- return;
2703
- }
2704
- self._uploadSingle(ind, false);
2705
- });
2706
- });
2707
- },
2708
- _initPreviewActions: function () {
2709
- var self = this, $preview = self.$preview, deleteExtraData = self.deleteExtraData || {},
2710
- btnRemove = $h.FRAMES + ' .kv-file-remove', settings = self.fileActionSettings,
2711
- origClass = settings.removeClass, errClass = settings.removeErrorClass,
2712
- resetProgress = function () {
2713
- var hasFiles = self.isAjaxUpload ? self.previewCache.count() : self._inputFileCount();
2714
- if (!$preview.find($h.FRAMES).length && !hasFiles) {
2715
- self._setCaption('');
2716
- self.reset();
2717
- self.initialCaption = '';
2718
- }
2719
- };
2720
- self._initZoomButton();
2721
- $preview.find(btnRemove).each(function () {
2722
- var $el = $(this), vUrl = $el.data('url') || self.deleteUrl, vKey = $el.data('key'),
2723
- fnBefore, fnSuccess, fnError;
2724
- if ($h.isEmpty(vUrl) || vKey === undefined) {
2725
- return;
2726
- }
2727
- var $frame = $el.closest($h.FRAMES), cache = self.previewCache.data,
2728
- settings, params, index = $frame.attr('data-fileindex'), config, extraData;
2729
- index = parseInt(index.replace('init_', ''));
2730
- config = $h.isEmpty(cache.config) && $h.isEmpty(cache.config[index]) ? null : cache.config[index];
2731
- extraData = $h.isEmpty(config) || $h.isEmpty(config.extra) ? deleteExtraData : config.extra;
2732
- if (typeof extraData === "function") {
2733
- extraData = extraData();
2734
- }
2735
- params = {id: $el.attr('id'), key: vKey, extra: extraData};
2736
- fnBefore = function (jqXHR) {
2737
- self.ajaxAborted = false;
2738
- self._raise('filepredelete', [vKey, jqXHR, extraData]);
2739
- if (self._abort()) {
2740
- jqXHR.abort();
2741
- } else {
2742
- $el.removeClass(errClass);
2743
- $h.addCss($frame, 'file-uploading');
2744
- $h.addCss($el, 'disabled ' + origClass);
2745
- }
2746
- };
2747
- fnSuccess = function (data, textStatus, jqXHR) {
2748
- var n, cap;
2749
- if (!$h.isEmpty(data) && !$h.isEmpty(data.error)) {
2750
- params.jqXHR = jqXHR;
2751
- params.response = data;
2752
- self._showError(data.error, params, 'filedeleteerror');
2753
- $frame.removeClass('file-uploading');
2754
- $el.removeClass('disabled ' + origClass).addClass(errClass);
2755
- resetProgress();
2756
- return;
2757
- }
2758
- $frame.removeClass('file-uploading').addClass('file-deleted');
2759
- $frame.fadeOut('slow', function () {
2760
- index = parseInt(($frame.attr('data-fileindex')).replace('init_', ''));
2761
- self.previewCache.unset(index);
2762
- self._deleteFileIndex($frame);
2763
- n = self.previewCache.count();
2764
- cap = n > 0 ? self._getMsgSelected(n) : '';
2765
- self._setCaption(cap);
2766
- self._raise('filedeleted', [vKey, jqXHR, extraData]);
2767
- $h.cleanZoomCache($preview.find('#zoom-' + $frame.attr('id')));
2768
- self._clearObjects($frame);
2769
- $frame.remove();
2770
- resetProgress();
2771
- });
2772
- };
2773
- fnError = function (jqXHR, textStatus, errorThrown) {
2774
- var op = self.ajaxOperations.deleteThumb, errMsg = self._parseError(op, jqXHR, errorThrown);
2775
- params.jqXHR = jqXHR;
2776
- params.response = {};
2777
- self._showError(errMsg, params, 'filedeleteerror');
2778
- $frame.removeClass('file-uploading');
2779
- $el.removeClass('disabled ' + origClass).addClass(errClass);
2780
- resetProgress();
2781
- };
2782
- self._initAjaxSettings();
2783
- self._mergeAjaxCallback('beforeSend', fnBefore, 'delete');
2784
- self._mergeAjaxCallback('success', fnSuccess, 'delete');
2785
- self._mergeAjaxCallback('error', fnError, 'delete');
2786
- settings = $.extend(true, {}, {
2787
- url: vUrl,
2788
- type: 'POST',
2789
- dataType: 'json',
2790
- data: $.extend(true, {}, {key: vKey}, extraData)
2791
- }, self._ajaxDeleteSettings);
2792
- self._handler($el, 'click', function () {
2793
- if (!self._validateMinCount()) {
2794
- return false;
2795
- }
2796
- self.ajaxAborted = false;
2797
- self._raise('filebeforedelete', [vKey, extraData]);
2798
- //noinspection JSUnresolvedVariable,JSHint
2799
- if (self.ajaxAborted instanceof Promise) {
2800
- self.ajaxAborted.then(function (result) {
2801
- if (!result) {
2802
- $.ajax(settings);
2803
- }
2804
- });
2805
- } else {
2806
- if (!self.ajaxAborted) {
2807
- $.ajax(settings);
2808
- }
2809
- }
2810
- });
2811
- });
2812
- },
2813
- _hideFileIcon: function () {
2814
- var self = this;
2815
- if (self.overwriteInitial) {
2816
- self.$captionContainer.removeClass('icon-visible');
2817
- }
2818
- },
2819
- _showFileIcon: function () {
2820
- var self = this;
2821
- $h.addCss(self.$captionContainer, 'icon-visible');
2822
- },
2823
- _getSize: function (bytes) {
2824
- var self = this, size = parseFloat(bytes), i, func = self.fileSizeGetter, sizes, out;
2825
- if (!$.isNumeric(bytes) || !$.isNumeric(size)) {
2826
- return '';
2827
- }
2828
- if (typeof func === 'function') {
2829
- out = func(size);
2830
- } else {
2831
- if (size === 0) {
2832
- out = '0.00 B';
2833
- } else {
2834
- i = Math.floor(Math.log(size) / Math.log(1024));
2835
- sizes = ['B', 'KB', 'MB', 'GB', 'TB', 'PB', 'EB', 'ZB', 'YB'];
2836
- out = (size / Math.pow(1024, i)).toFixed(2) * 1 + ' ' + sizes[i];
2837
- }
2838
- }
2839
- return self._getLayoutTemplate('size').replace('{sizeText}', out);
2840
- },
2841
- _generatePreviewTemplate: function (cat, data, fname, ftype, previewId, isError, size, frameClass, foot, ind, templ) {
2842
- var self = this, caption = self.slug(fname), prevContent, zoomContent = '', styleAttribs = '',
2843
- screenW = window.innerWidth || document.documentElement.clientWidth || document.body.clientWidth,
2844
- config = screenW < 400 ? (self.previewSettingsSmall[cat] || self.defaults.previewSettingsSmall[cat]) :
2845
- (self.previewSettings[cat] || self.defaults.previewSettings[cat]),
2846
- footer = foot || self._renderFileFooter(caption, size, 'auto', isError),
2847
- hasIconSetting = self._getPreviewIcon(fname), typeCss = 'type-default',
2848
- forcePrevIcon = hasIconSetting && self.preferIconicPreview,
2849
- forceZoomIcon = hasIconSetting && self.preferIconicZoomPreview, getContent;
2850
- if (config) {
2851
- $.each(config, function (key, val) {
2852
- styleAttribs += key + ':' + val + ';';
2853
- });
2854
- }
2855
- getContent = function (c, d, zoom, frameCss) {
2856
- var id = zoom ? 'zoom-' + previewId : previewId, tmplt = self._getPreviewTemplate(c),
2857
- css = (frameClass || '') + ' ' + frameCss;
2858
- if (self.frameClass) {
2859
- css = self.frameClass + ' ' + css;
2860
- }
2861
- if (zoom) {
2862
- css = css.replace(' ' + $h.SORT_CSS, '');
2863
- }
2864
- tmplt = self._parseFilePreviewIcon(tmplt, fname);
2865
- if (c === 'text') {
2866
- d = $h.htmlEncode(d);
2867
- }
2868
- if (cat === 'object' && !ftype) {
2869
- $.each(self.defaults.fileTypeSettings, function (key, func) {
2870
- if (key === 'object' || key === 'other') {
2871
- return;
2872
- }
2873
- if (func(fname, ftype)) {
2874
- typeCss = 'type-' + key;
2875
- }
2876
- });
2877
- }
2878
- return tmplt.setTokens({
2879
- 'previewId': id,
2880
- 'caption': caption,
2881
- 'frameClass': css,
2882
- 'type': ftype,
2883
- 'fileindex': ind,
2884
- 'typeCss': typeCss,
2885
- 'footer': footer,
2886
- 'data': d,
2887
- 'template': templ || cat,
2888
- 'style': styleAttribs ? 'style="' + styleAttribs + '"' : ''
2889
- });
2890
- };
2891
- ind = ind || previewId.slice(previewId.lastIndexOf('-') + 1);
2892
- if (self.fileActionSettings.showZoom) {
2893
- zoomContent = getContent((forceZoomIcon ? 'other' : cat), data, true, 'kv-zoom-thumb');
2894
- }
2895
- zoomContent = '\n' + self._getLayoutTemplate('zoomCache').replace('{zoomContent}', zoomContent);
2896
- prevContent = getContent((forcePrevIcon ? 'other' : cat), data, false, 'kv-preview-thumb');
2897
- return prevContent + zoomContent;
2898
- },
2899
- _addToPreview: function ($preview, content) {
2900
- var self = this;
2901
- return self.reversePreviewOrder ? $preview.prepend(content) : $preview.append(content);
2902
- },
2903
- _previewDefault: function (file, previewId, isDisabled) {
2904
- var self = this, $preview = self.$preview;
2905
- if (!self.showPreview) {
2906
- return;
2907
- }
2908
- var fname = file ? file.name : '', ftype = file ? file.type : '', content, size = file.size || 0,
2909
- caption = self.slug(fname), isError = isDisabled === true && !self.isAjaxUpload,
2910
- data = $h.objUrl.createObjectURL(file);
2911
- self._clearDefaultPreview();
2912
- content = self._generatePreviewTemplate('other', data, fname, ftype, previewId, isError, size);
2913
- self._addToPreview($preview, content);
2914
- self._setThumbAttr(previewId, caption, size);
2915
- if (isDisabled === true && self.isAjaxUpload) {
2916
- self._setThumbStatus($('#' + previewId), 'Error');
2917
- }
2918
- },
2919
- _previewFile: function (i, file, theFile, previewId, data, fileInfo) {
2920
- if (!this.showPreview) {
2921
- return;
2922
- }
2923
- var self = this, fname = file ? file.name : '', ftype = fileInfo.type, caption = fileInfo.name,
2924
- cat = self._parseFileType(ftype, fname), types = self.allowedPreviewTypes, content,
2925
- mimes = self.allowedPreviewMimeTypes, $preview = self.$preview, fsize = file.size || 0,
2926
- chkTypes = types && types.indexOf(cat) >= 0, chkMimes = mimes && mimes.indexOf(ftype) !== -1,
2927
- iData = (cat === 'text' || cat === 'html' || cat === 'image') ? theFile.target.result : data;
2928
- /** @namespace window.DOMPurify */
2929
- if (cat === 'html' && self.purifyHtml && window.DOMPurify) {
2930
- iData = window.DOMPurify.sanitize(iData);
2931
- }
2932
- if (chkTypes || chkMimes) {
2933
- content = self._generatePreviewTemplate(cat, iData, fname, ftype, previewId, false, fsize);
2934
- self._clearDefaultPreview();
2935
- self._addToPreview($preview, content);
2936
- var $img = $preview.find('#' + previewId + ' img');
2937
- self._validateImageOrientation($img, file, previewId, caption, ftype, fsize, iData);
2938
- } else {
2939
- self._previewDefault(file, previewId);
2940
- }
2941
- self._setThumbAttr(previewId, caption, fsize);
2942
- self._initSortable();
2943
- },
2944
- _setThumbAttr: function (id, caption, size) {
2945
- var self = this, $frame = $('#' + id);
2946
- if ($frame.length) {
2947
- size = size && size > 0 ? self._getSize(size) : '';
2948
- $frame.data({'caption': caption, 'size': size});
2949
- }
2950
- },
2951
- _setInitThumbAttr: function () {
2952
- var self = this, data = self.previewCache.data, len = self.previewCache.count(), config,
2953
- caption, size, previewId;
2954
- if (len === 0) {
2955
- return;
2956
- }
2957
- for (var i = 0; i < len; i++) {
2958
- config = data.config[i];
2959
- previewId = self.previewInitId + '-' + 'init_' + i;
2960
- caption = $h.ifSet('caption', config, $h.ifSet('filename', config));
2961
- size = $h.ifSet('size', config);
2962
- self._setThumbAttr(previewId, caption, size);
2963
- }
2964
- },
2965
- _slugDefault: function (text) {
2966
- // noinspection RegExpRedundantEscape
2967
- return $h.isEmpty(text) ? '' : String(text).replace(/[\[\]\/\{}:;#%=\(\)\*\+\?\\\^\$\|<>&"']/g, '_');
2968
- },
2969
- _updateFileDetails: function (numFiles) {
2970
- var self = this, $el = self.$element, fileStack = self.getFileStack(),
2971
- name = ($h.isIE(9) && $h.findFileName($el.val())) ||
2972
- ($el[0].files[0] && $el[0].files[0].name) || (fileStack.length && fileStack[0].name) || '',
2973
- label = self.slug(name), n = self.isAjaxUpload ? fileStack.length : numFiles,
2974
- nFiles = self.previewCache.count() + n, log = n === 1 ? label : self._getMsgSelected(nFiles);
2975
- if (self.isError) {
2976
- self.$previewContainer.removeClass('file-thumb-loading');
2977
- self.$previewStatus.html('');
2978
- self.$captionContainer.removeClass('icon-visible');
2979
- } else {
2980
- self._showFileIcon();
2981
- }
2982
- self._setCaption(log, self.isError);
2983
- self.$container.removeClass('file-input-new file-input-ajax-new');
2984
- if (arguments.length === 1) {
2985
- self._raise('fileselect', [numFiles, label]);
2986
- }
2987
- if (self.previewCache.count()) {
2988
- self._initPreviewActions();
2989
- }
2990
- },
2991
- _setThumbStatus: function ($thumb, status) {
2992
- var self = this;
2993
- if (!self.showPreview) {
2994
- return;
2995
- }
2996
- var icon = 'indicator' + status, msg = icon + 'Title',
2997
- css = 'file-preview-' + status.toLowerCase(),
2998
- $indicator = $thumb.find('.file-upload-indicator'),
2999
- config = self.fileActionSettings;
3000
- $thumb.removeClass('file-preview-success file-preview-error file-preview-loading');
3001
- if (status === 'Success') {
3002
- $thumb.find('.file-drag-handle').remove();
3003
- }
3004
- $indicator.html(config[icon]);
3005
- $indicator.attr('title', config[msg]);
3006
- $thumb.addClass(css);
3007
- if (status === 'Error' && !self.retryErrorUploads) {
3008
- $thumb.find('.kv-file-upload').attr('disabled', true);
3009
- }
3010
- },
3011
- _setProgressCancelled: function () {
3012
- var self = this;
3013
- self._setProgress(101, self.$progress, self.msgCancelled);
3014
- },
3015
- _setProgress: function (p, $el, error) {
3016
- var self = this, pct = Math.min(p, 100), out, pctLimit = self.progressUploadThreshold,
3017
- t = p <= 100 ? self.progressTemplate : self.progressCompleteTemplate,
3018
- template = pct < 100 ? self.progressTemplate : (error ? self.progressErrorTemplate : t);
3019
- $el = $el || self.$progress;
3020
- if (!$h.isEmpty(template)) {
3021
- if (pctLimit && pct > pctLimit && p <= 100) {
3022
- out = template.setTokens({'percent': pctLimit, 'status': self.msgUploadThreshold});
3023
- } else {
3024
- out = template.setTokens({'percent': pct, 'status': (p > 100 ? self.msgUploadEnd : pct + '%')});
3025
- }
3026
- $el.html(out);
3027
- if (error) {
3028
- $el.find('[role="progressbar"]').html(error);
3029
- }
3030
- }
3031
- },
3032
- _setFileDropZoneTitle: function () {
3033
- var self = this, $zone = self.$container.find('.file-drop-zone'), title = self.dropZoneTitle, strFiles;
3034
- if (self.isClickable) {
3035
- strFiles = $h.isEmpty(self.$element.attr('multiple')) ? self.fileSingle : self.filePlural;
3036
- title += self.dropZoneClickTitle.replace('{files}', strFiles);
3037
- }
3038
- $zone.find('.' + self.dropZoneTitleClass).remove();
3039
- if (!self.showPreview || $zone.length === 0 || self.getFileStack().length > 0 || !self.dropZoneEnabled ||
3040
- (!self.isAjaxUpload && self.$element.files)) {
3041
- return;
3042
- }
3043
- if ($zone.find($h.FRAMES).length === 0 && $h.isEmpty(self.defaultPreviewContent)) {
3044
- $zone.prepend('<div class="' + self.dropZoneTitleClass + '">' + title + '</div>');
3045
- }
3046
- self.$container.removeClass('file-input-new');
3047
- $h.addCss(self.$container, 'file-input-ajax-new');
3048
- },
3049
- _setAsyncUploadStatus: function (previewId, pct, total) {
3050
- var self = this, sum = 0;
3051
- self._setProgress(pct, $('#' + previewId).find('.file-thumb-progress'));
3052
- self.uploadStatus[previewId] = pct;
3053
- $.each(self.uploadStatus, function (key, value) {
3054
- sum += value;
3055
- });
3056
- self._setProgress(Math.floor(sum / total));
3057
- },
3058
- _validateMinCount: function () {
3059
- var self = this, len = self.isAjaxUpload ? self.getFileStack().length : self._inputFileCount();
3060
- if (self.validateInitialCount && self.minFileCount > 0 && self._getFileCount(len - 1) < self.minFileCount) {
3061
- self._noFilesError({});
3062
- return false;
3063
- }
3064
- return true;
3065
- },
3066
- _getFileCount: function (fileCount) {
3067
- var self = this, addCount = 0;
3068
- if (self.validateInitialCount && !self.overwriteInitial) {
3069
- addCount = self.previewCache.count();
3070
- fileCount += addCount;
3071
- }
3072
- return fileCount;
3073
- },
3074
- _getFileId: function (file) {
3075
- var self = this, custom = self.generateFileId, relativePath;
3076
- if (typeof custom === 'function') {
3077
- return custom(file, event);
3078
- }
3079
- if (!file) {
3080
- return null;
3081
- }
3082
- /** @namespace file.webkitRelativePath */
3083
- /** @namespace file.fileName */
3084
- relativePath = String(file.webkitRelativePath || file.fileName || file.name || null);
3085
- if (!relativePath) {
3086
- return null;
3087
- }
3088
- return (file.size + '-' + relativePath.replace(/[^0-9a-zA-Z_-]/img, ''));
3089
- },
3090
- _getFileName: function (file) {
3091
- return file && file.name ? this.slug(file.name) : undefined;
3092
- },
3093
- _getFileIds: function (skipNull) {
3094
- var self = this;
3095
- return self.fileids.filter(function (n) {
3096
- return (skipNull ? n !== undefined : n !== undefined && n !== null);
3097
- });
3098
- },
3099
- _getFileNames: function (skipNull) {
3100
- var self = this;
3101
- return self.filenames.filter(function (n) {
3102
- return (skipNull ? n !== undefined : n !== undefined && n !== null);
3103
- });
3104
- },
3105
- _setPreviewError: function ($thumb, i, val, repeat) {
3106
- var self = this;
3107
- if (i !== undefined) {
3108
- self.updateStack(i, val);
3109
- }
3110
- if (!self.showPreview) {
3111
- return;
3112
- }
3113
- if (self.removeFromPreviewOnError && !repeat) {
3114
- $thumb.remove();
3115
- return;
3116
- } else {
3117
- self._setThumbStatus($thumb, 'Error');
3118
- }
3119
- self._refreshUploadButton($thumb, repeat);
3120
- },
3121
- _refreshUploadButton: function ($thumb, repeat) {
3122
- var self = this, $btn = $thumb.find('.kv-file-upload'), cfg = self.fileActionSettings,
3123
- icon = cfg.uploadIcon, title = cfg.uploadTitle;
3124
- if (!$btn.length) {
3125
- return;
3126
- }
3127
- if (repeat) {
3128
- icon = cfg.uploadRetryIcon;
3129
- title = cfg.uploadRetryTitle;
3130
- }
3131
- $btn.attr('title', title).html(icon);
3132
- },
3133
- _checkDimensions: function (i, chk, $img, $thumb, fname, type, params) {
3134
- var self = this, msg, dim, tag = chk === 'Small' ? 'min' : 'max', limit = self[tag + 'Image' + type],
3135
- $imgEl, isValid;
3136
- if ($h.isEmpty(limit) || !$img.length) {
3137
- return;
3138
- }
3139
- $imgEl = $img[0];
3140
- dim = (type === 'Width') ? $imgEl.naturalWidth || $imgEl.width : $imgEl.naturalHeight || $imgEl.height;
3141
- isValid = chk === 'Small' ? dim >= limit : dim <= limit;
3142
- if (isValid) {
3143
- return;
3144
- }
3145
- msg = self['msgImage' + type + chk].setTokens({'name': fname, 'size': limit});
3146
- self._showUploadError(msg, params);
3147
- self._setPreviewError($thumb, i, null);
3148
- },
3149
- _getExifObj: function (iData) {
3150
- var self = this, exifObj = null;
3151
- try {
3152
- exifObj = window.piexif ? window.piexif.load(iData) : null;
3153
- } catch (err) {
3154
- exifObj = null;
3155
- }
3156
- if (!exifObj) {
3157
- self._log('Error loading the piexif.js library.');
3158
- }
3159
- return exifObj;
3160
- },
3161
- _validateImageOrientation: function ($img, file, previewId, caption, ftype, fsize, iData) {
3162
- var self = this, exifObj = self._getExifObj(iData), value = null;
3163
- if ($img.length && self.autoOrientImage && exifObj) {
3164
- value = exifObj["0th"][piexif.ImageIFD.Orientation]; // jshint ignore:line
3165
- }
3166
- if (!value) {
3167
- self._validateImage(previewId, caption, ftype, fsize, iData, exifObj);
3168
- return;
3169
- }
3170
- $h.setImageOrientation($img, self.$preview.find('#zoom-' + previewId + ' img'), value);
3171
- self._raise('fileimageoriented', {'$img': $img, 'file': file});
3172
- self._validateImage(previewId, caption, ftype, fsize, iData, exifObj);
3173
- },
3174
- _validateImage: function (previewId, fname, ftype, fsize, iData, exifObj) {
3175
- var self = this, $preview = self.$preview, params, w1, w2, $thumb = $preview.find("#" + previewId),
3176
- i = $thumb.attr('data-fileindex'), $img = $thumb.find('img');
3177
- fname = fname || 'Untitled';
3178
- $img.one('load', function () {
3179
- w1 = $thumb.width();
3180
- w2 = $preview.width();
3181
- if (w1 > w2) {
3182
- $img.css('width', '100%');
3183
- }
3184
- params = {ind: i, id: previewId};
3185
- self._checkDimensions(i, 'Small', $img, $thumb, fname, 'Width', params);
3186
- self._checkDimensions(i, 'Small', $img, $thumb, fname, 'Height', params);
3187
- if (!self.resizeImage) {
3188
- self._checkDimensions(i, 'Large', $img, $thumb, fname, 'Width', params);
3189
- self._checkDimensions(i, 'Large', $img, $thumb, fname, 'Height', params);
3190
- }
3191
- self._raise('fileimageloaded', [previewId]);
3192
- self.loadedImages.push({
3193
- ind: i,
3194
- img: $img,
3195
- thumb: $thumb,
3196
- pid: previewId,
3197
- typ: ftype,
3198
- siz: fsize,
3199
- validated: false,
3200
- imgData: iData,
3201
- exifObj: exifObj
3202
- });
3203
- $thumb.data('exif', exifObj);
3204
- self._validateAllImages();
3205
- }).one('error', function () {
3206
- self._raise('fileimageloaderror', [previewId]);
3207
- }).each(function () {
3208
- if (this.complete) {
3209
- $(this).trigger('load');
3210
- } else {
3211
- if (this.error) {
3212
- $(this).trigger('error');
3213
- }
3214
- }
3215
- });
3216
- },
3217
- _validateAllImages: function () {
3218
- var self = this, i, counter = {val: 0}, numImgs = self.loadedImages.length, config,
3219
- fsize, minSize = self.resizeIfSizeMoreThan;
3220
- if (numImgs !== self.totalImagesCount) {
3221
- return;
3222
- }
3223
- self._raise('fileimagesloaded');
3224
- if (!self.resizeImage) {
3225
- return;
3226
- }
3227
- for (i = 0; i < self.loadedImages.length; i++) {
3228
- config = self.loadedImages[i];
3229
- if (config.validated) {
3230
- continue;
3231
- }
3232
- fsize = config.siz;
3233
- if (fsize && fsize > minSize * 1000) {
3234
- self._getResizedImage(config, counter, numImgs);
3235
- }
3236
- self.loadedImages[i].validated = true;
3237
- }
3238
- },
3239
- _getResizedImage: function (config, counter, numImgs) {
3240
- var self = this, img = $(config.img)[0], width = img.naturalWidth, height = img.naturalHeight, blob,
3241
- ratio = 1, maxWidth = self.maxImageWidth || width, maxHeight = self.maxImageHeight || height,
3242
- isValidImage = !!(width && height), chkWidth, chkHeight, canvas = self.imageCanvas, dataURI,
3243
- context = self.imageCanvasContext, type = config.typ, pid = config.pid, ind = config.ind,
3244
- $thumb = config.thumb, throwError, msg, exifObj = config.exifObj, exifStr;
3245
- throwError = function (msg, params, ev) {
3246
- if (self.isAjaxUpload) {
3247
- self._showUploadError(msg, params, ev);
3248
- } else {
3249
- self._showError(msg, params, ev);
3250
- }
3251
- self._setPreviewError($thumb, ind);
3252
- };
3253
- if (!self.filestack[ind] || !isValidImage || (width <= maxWidth && height <= maxHeight)) {
3254
- if (isValidImage && self.filestack[ind]) {
3255
- self._raise('fileimageresized', [pid, ind]);
3256
- }
3257
- counter.val++;
3258
- if (counter.val === numImgs) {
3259
- self._raise('fileimagesresized');
3260
- }
3261
- if (!isValidImage) {
3262
- throwError(self.msgImageResizeError, {id: pid, 'index': ind}, 'fileimageresizeerror');
3263
- return;
3264
- }
3265
- }
3266
- type = type || self.resizeDefaultImageType;
3267
- chkWidth = width > maxWidth;
3268
- chkHeight = height > maxHeight;
3269
- if (self.resizePreference === 'width') {
3270
- ratio = chkWidth ? maxWidth / width : (chkHeight ? maxHeight / height : 1);
3271
- } else {
3272
- ratio = chkHeight ? maxHeight / height : (chkWidth ? maxWidth / width : 1);
3273
- }
3274
- self._resetCanvas();
3275
- width *= ratio;
3276
- height *= ratio;
3277
- canvas.width = width;
3278
- canvas.height = height;
3279
- try {
3280
- context.drawImage(img, 0, 0, width, height);
3281
- dataURI = canvas.toDataURL(type, self.resizeQuality);
3282
- if (exifObj) {
3283
- exifStr = window.piexif.dump(exifObj);
3284
- dataURI = window.piexif.insert(exifStr, dataURI);
3285
- }
3286
- blob = $h.dataURI2Blob(dataURI);
3287
- self.filestack[ind] = blob;
3288
- self._raise('fileimageresized', [pid, ind]);
3289
- counter.val++;
3290
- if (counter.val === numImgs) {
3291
- self._raise('fileimagesresized', [undefined, undefined]);
3292
- }
3293
- if (!(blob instanceof Blob)) {
3294
- throwError(self.msgImageResizeError, {id: pid, 'index': ind}, 'fileimageresizeerror');
3295
- }
3296
- }
3297
- catch (err) {
3298
- counter.val++;
3299
- if (counter.val === numImgs) {
3300
- self._raise('fileimagesresized', [undefined, undefined]);
3301
- }
3302
- msg = self.msgImageResizeException.replace('{errors}', err.message);
3303
- throwError(msg, {id: pid, 'index': ind}, 'fileimageresizeexception');
3304
- }
3305
- },
3306
- _initBrowse: function ($container) {
3307
- var self = this, $el = self.$element;
3308
- if (self.showBrowse) {
3309
- self.$btnFile = $container.find('.btn-file').append($el);
3310
- } else {
3311
- $el.appendTo($container).attr('tabindex', -1);
3312
- $h.addCss($el, 'file-no-browse');
3313
- }
3314
- },
3315
- _initClickable: function () {
3316
- var self = this, $zone;
3317
- if (!self.isClickable) {
3318
- return;
3319
- }
3320
- $zone = self.isAjaxUpload ? self.$dropZone : self.$preview.find('.file-default-preview');
3321
- $h.addCss($zone, 'clickable');
3322
- $zone.attr('tabindex', -1);
3323
- self._handler($zone, 'click', function (e) {
3324
- var $tar = $(e.target);
3325
- if (!$(self.elErrorContainer + ':visible').length &&
3326
- (!$tar.parents('.file-preview-thumbnails').length || $tar.parents('.file-default-preview').length)) {
3327
- self.$element.data('zoneClicked', true).trigger('click');
3328
- $zone.blur();
3329
- }
3330
- });
3331
- },
3332
- _initCaption: function () {
3333
- var self = this, cap = self.initialCaption || '';
3334
- if (self.overwriteInitial || $h.isEmpty(cap)) {
3335
- self.$caption.val('');
3336
- return false;
3337
- }
3338
- self._setCaption(cap);
3339
- return true;
3340
- },
3341
- _setCaption: function (content, isError) {
3342
- var self = this, title, out, icon, n, cap, stack = self.getFileStack();
3343
- if (!self.$caption.length) {
3344
- return;
3345
- }
3346
- self.$captionContainer.removeClass('icon-visible');
3347
- if (isError) {
3348
- title = $('<div>' + self.msgValidationError + '</div>').text();
3349
- n = stack.length;
3350
- if (n) {
3351
- cap = n === 1 && stack[0] ? self._getFileNames()[0] : self._getMsgSelected(n);
3352
- } else {
3353
- cap = self._getMsgSelected(self.msgNo);
3354
- }
3355
- out = $h.isEmpty(content) ? cap : content;
3356
- icon = '<span class="' + self.msgValidationErrorClass + '">' + self.msgValidationErrorIcon + '</span>';
3357
- } else {
3358
- if ($h.isEmpty(content)) {
3359
- return;
3360
- }
3361
- title = $('<div>' + content + '</div>').text();
3362
- out = title;
3363
- icon = self._getLayoutTemplate('fileIcon');
3364
- }
3365
- self.$captionContainer.addClass('icon-visible');
3366
- self.$caption.attr('title', title).val(out);
3367
- self.$captionIcon.html(icon);
3368
- },
3369
- _createContainer: function () {
3370
- var self = this, attribs = {"class": 'file-input file-input-new' + (self.rtl ? ' kv-rtl' : '')},
3371
- $container = $(document.createElement("div")).attr(attribs).html(self._renderMain());
3372
- $container.insertBefore(self.$element);
3373
- self._initBrowse($container);
3374
- if (self.theme) {
3375
- $container.addClass('theme-' + self.theme);
3376
- }
3377
- return $container;
3378
- },
3379
- _refreshContainer: function () {
3380
- var self = this, $container = self.$container, $el = self.$element;
3381
- $el.insertAfter($container);
3382
- $container.html(self._renderMain());
3383
- self._initBrowse($container);
3384
- self._validateDisabled();
3385
- },
3386
- _validateDisabled: function () {
3387
- var self = this;
3388
- self.$caption.attr({readonly: self.isDisabled});
3389
- },
3390
- _renderMain: function () {
3391
- var self = this,
3392
- dropCss = self.dropZoneEnabled ? ' file-drop-zone' : 'file-drop-disabled',
3393
- close = !self.showClose ? '' : self._getLayoutTemplate('close'),
3394
- preview = !self.showPreview ? '' : self._getLayoutTemplate('preview')
3395
- .setTokens({'class': self.previewClass, 'dropClass': dropCss}),
3396
- css = self.isDisabled ? self.captionClass + ' file-caption-disabled' : self.captionClass,
3397
- caption = self.captionTemplate.setTokens({'class': css + ' kv-fileinput-caption'});
3398
- return self.mainTemplate.setTokens({
3399
- 'class': self.mainClass + (!self.showBrowse && self.showCaption ? ' no-browse' : ''),
3400
- 'preview': preview,
3401
- 'close': close,
3402
- 'caption': caption,
3403
- 'upload': self._renderButton('upload'),
3404
- 'remove': self._renderButton('remove'),
3405
- 'cancel': self._renderButton('cancel'),
3406
- 'browse': self._renderButton('browse')
3407
- });
3408
-
3409
- },
3410
- _renderButton: function (type) {
3411
- var self = this, tmplt = self._getLayoutTemplate('btnDefault'), css = self[type + 'Class'],
3412
- title = self[type + 'Title'], icon = self[type + 'Icon'], label = self[type + 'Label'],
3413
- status = self.isDisabled ? ' disabled' : '', btnType = 'button';
3414
- switch (type) {
3415
- case 'remove':
3416
- if (!self.showRemove) {
3417
- return '';
3418
- }
3419
- break;
3420
- case 'cancel':
3421
- if (!self.showCancel) {
3422
- return '';
3423
- }
3424
- css += ' kv-hidden';
3425
- break;
3426
- case 'upload':
3427
- if (!self.showUpload) {
3428
- return '';
3429
- }
3430
- if (self.isAjaxUpload && !self.isDisabled) {
3431
- tmplt = self._getLayoutTemplate('btnLink').replace('{href}', self.uploadUrl);
3432
- } else {
3433
- btnType = 'submit';
3434
- }
3435
- break;
3436
- case 'browse':
3437
- if (!self.showBrowse) {
3438
- return '';
3439
- }
3440
- tmplt = self._getLayoutTemplate('btnBrowse');
3441
- break;
3442
- default:
3443
- return '';
3444
- }
3445
-
3446
- css += type === 'browse' ? ' btn-file' : ' fileinput-' + type + ' fileinput-' + type + '-button';
3447
- if (!$h.isEmpty(label)) {
3448
- label = ' <span class="' + self.buttonLabelClass + '">' + label + '</span>';
3449
- }
3450
- return tmplt.setTokens({
3451
- 'type': btnType, 'css': css, 'title': title, 'status': status, 'icon': icon, 'label': label
3452
- });
3453
- },
3454
- _renderThumbProgress: function () {
3455
- var self = this;
3456
- return '<div class="file-thumb-progress kv-hidden">' +
3457
- self.progressTemplate.setTokens({'percent': '0', 'status': self.msgUploadBegin}) +
3458
- '</div>';
3459
- },
3460
- _renderFileFooter: function (caption, size, width, isError) {
3461
- var self = this, config = self.fileActionSettings, rem = config.showRemove, drg = config.showDrag,
3462
- upl = config.showUpload, zoom = config.showZoom, out,
3463
- template = self._getLayoutTemplate('footer'), tInd = self._getLayoutTemplate('indicator'),
3464
- ind = isError ? config.indicatorError : config.indicatorNew,
3465
- title = isError ? config.indicatorErrorTitle : config.indicatorNewTitle,
3466
- indicator = tInd.setTokens({'indicator': ind, 'indicatorTitle': title});
3467
- size = self._getSize(size);
3468
- if (self.isAjaxUpload) {
3469
- out = template.setTokens({
3470
- 'actions': self._renderFileActions(upl, false, rem, zoom, drg, false, false, false),
3471
- 'caption': caption,
3472
- 'size': size,
3473
- 'width': width,
3474
- 'progress': self._renderThumbProgress(),
3475
- 'indicator': indicator
3476
- });
3477
- } else {
3478
- out = template.setTokens({
3479
- 'actions': self._renderFileActions(false, false, false, zoom, drg, false, false, false),
3480
- 'caption': caption,
3481
- 'size': size,
3482
- 'width': width,
3483
- 'progress': '',
3484
- 'indicator': indicator
3485
- });
3486
- }
3487
- out = $h.replaceTags(out, self.previewThumbTags);
3488
- return out;
3489
- },
3490
- _renderFileActions: function (showUpl, showDwn, showDel, showZoom, showDrag, disabled, url, key, isInit, dUrl, dFile) {
3491
- if (!showUpl && !showDwn && !showDel && !showZoom && !showDrag) {
3492
- return '';
3493
- }
3494
- var self = this, vUrl = url === false ? '' : ' data-url="' + url + '"',
3495
- vKey = key === false ? '' : ' data-key="' + key + '"', btnDelete = '', btnUpload = '', btnDownload = '',
3496
- btnZoom = '', btnDrag = '', css, template = self._getLayoutTemplate('actions'),
3497
- config = self.fileActionSettings,
3498
- otherButtons = self.otherActionButtons.setTokens({'dataKey': vKey, 'key': key}),
3499
- removeClass = disabled ? config.removeClass + ' disabled' : config.removeClass;
3500
- if (showDel) {
3501
- btnDelete = self._getLayoutTemplate('actionDelete').setTokens({
3502
- 'removeClass': removeClass,
3503
- 'removeIcon': config.removeIcon,
3504
- 'removeTitle': config.removeTitle,
3505
- 'dataUrl': vUrl,
3506
- 'dataKey': vKey,
3507
- 'key': key
3508
- });
3509
- }
3510
- if (showUpl) {
3511
- btnUpload = self._getLayoutTemplate('actionUpload').setTokens({
3512
- 'uploadClass': config.uploadClass,
3513
- 'uploadIcon': config.uploadIcon,
3514
- 'uploadTitle': config.uploadTitle
3515
- });
3516
- }
3517
- if (showDwn) {
3518
- btnDownload = self._getLayoutTemplate('actionDownload').setTokens({
3519
- 'downloadClass': config.downloadClass,
3520
- 'downloadIcon': config.downloadIcon,
3521
- 'downloadTitle': config.downloadTitle,
3522
- 'downloadUrl': dUrl || self.initialPreviewDownloadUrl
3523
- });
3524
- btnDownload = btnDownload.setTokens({'filename': dFile, 'key': key});
3525
- }
3526
- if (showZoom) {
3527
- btnZoom = self._getLayoutTemplate('actionZoom').setTokens({
3528
- 'zoomClass': config.zoomClass,
3529
- 'zoomIcon': config.zoomIcon,
3530
- 'zoomTitle': config.zoomTitle
3531
- });
3532
- }
3533
- if (showDrag && isInit) {
3534
- css = 'drag-handle-init ' + config.dragClass;
3535
- btnDrag = self._getLayoutTemplate('actionDrag').setTokens({
3536
- 'dragClass': css,
3537
- 'dragTitle': config.dragTitle,
3538
- 'dragIcon': config.dragIcon
3539
- });
3540
- }
3541
- return template.setTokens({
3542
- 'delete': btnDelete,
3543
- 'upload': btnUpload,
3544
- 'download': btnDownload,
3545
- 'zoom': btnZoom,
3546
- 'drag': btnDrag,
3547
- 'other': otherButtons
3548
- });
3549
- },
3550
- _browse: function (e) {
3551
- var self = this;
3552
- if (e && e.isDefaultPrevented() || !self._raise('filebrowse')) {
3553
- return;
3554
- }
3555
- if (self.isError && !self.isAjaxUpload) {
3556
- self.clear();
3557
- }
3558
- self.$captionContainer.focus();
3559
- },
3560
- _filterDuplicate: function (file, files, fileIds) {
3561
- var self = this, fileId = self._getFileId(file);
3562
-
3563
- if (fileId && fileIds && fileIds.indexOf(fileId) > -1) {
3564
- return;
3565
- }
3566
- if (!fileIds) {
3567
- fileIds = [];
3568
- }
3569
- files.push(file);
3570
- fileIds.push(fileId);
3571
- },
3572
- _change: function (e) {
3573
- var self = this;
3574
- if (self.changeTriggered) {
3575
- return;
3576
- }
3577
- var $el = self.$element, isDragDrop = arguments.length > 1, isAjaxUpload = self.isAjaxUpload,
3578
- tfiles = [], files = isDragDrop ? arguments[1] : $el.get(0).files, total,
3579
- maxCount = !isAjaxUpload && $h.isEmpty($el.attr('multiple')) ? 1 : self.maxFileCount,
3580
- len, ctr = self.filestack.length, isSingleUpload = $h.isEmpty($el.attr('multiple')),
3581
- flagSingle = (isSingleUpload && ctr > 0), fileIds = self._getFileIds(),
3582
- throwError = function (mesg, file, previewId, index) {
3583
- var p1 = $.extend(true, {}, self._getOutData({}, {}, files), {id: previewId, index: index}),
3584
- p2 = {id: previewId, index: index, file: file, files: files};
3585
- return isAjaxUpload ? self._showUploadError(mesg, p1) : self._showError(mesg, p2);
3586
- },
3587
- maxCountCheck = function (n, m) {
3588
- var msg = self.msgFilesTooMany.replace('{m}', m).replace('{n}', n);
3589
- self.isError = throwError(msg, null, null, null);
3590
- self.$captionContainer.removeClass('icon-visible');
3591
- self._setCaption('', true);
3592
- self.$container.removeClass('file-input-new file-input-ajax-new');
3593
- };
3594
- self.reader = null;
3595
- self._resetUpload();
3596
- self._hideFileIcon();
3597
- if (self.dropZoneEnabled) {
3598
- self.$container.find('.file-drop-zone .' + self.dropZoneTitleClass).remove();
3599
- }
3600
- if (isAjaxUpload) {
3601
- $.each(files, function (vKey, vFile) {
3602
- self._filterDuplicate(vFile, tfiles, fileIds);
3603
- });
3604
- } else {
3605
- if (e.target && e.target.files === undefined) {
3606
- files = e.target.value ? [{name: e.target.value.replace(/^.+\\/, '')}] : [];
3607
- } else {
3608
- files = e.target.files || {};
3609
- }
3610
- tfiles = files;
3611
- }
3612
- if ($h.isEmpty(tfiles) || tfiles.length === 0) {
3613
- if (!isAjaxUpload) {
3614
- self.clear();
3615
- }
3616
- self._raise('fileselectnone');
3617
- return;
3618
- }
3619
- self._resetErrors();
3620
- len = tfiles.length;
3621
- total = self._getFileCount(isAjaxUpload ? (self.getFileStack().length + len) : len);
3622
- if (maxCount > 0 && total > maxCount) {
3623
- if (!self.autoReplace || len > maxCount) {
3624
- maxCountCheck((self.autoReplace && len > maxCount ? len : total), maxCount);
3625
- return;
3626
- }
3627
- if (total > maxCount) {
3628
- self._resetPreviewThumbs(isAjaxUpload);
3629
- }
3630
- } else {
3631
- if (!isAjaxUpload || flagSingle) {
3632
- self._resetPreviewThumbs(false);
3633
- if (flagSingle) {
3634
- self.clearStack();
3635
- }
3636
- } else {
3637
- if (isAjaxUpload && ctr === 0 && (!self.previewCache.count() || self.overwriteInitial)) {
3638
- self._resetPreviewThumbs(true);
3639
- }
3640
- }
3641
- }
3642
- if (self.isPreviewable) {
3643
- self.readFiles(tfiles);
3644
- } else {
3645
- self._updateFileDetails(1);
3646
- }
3647
- },
3648
- _abort: function (params) {
3649
- var self = this, data;
3650
- if (self.ajaxAborted && typeof self.ajaxAborted === "object" && self.ajaxAborted.message !== undefined) {
3651
- data = $.extend(true, {}, self._getOutData(), params);
3652
- data.abortData = self.ajaxAborted.data || {};
3653
- data.abortMessage = self.ajaxAborted.message;
3654
- self._setProgress(101, self.$progress, self.msgCancelled);
3655
- self._showUploadError(self.ajaxAborted.message, data, 'filecustomerror');
3656
- self.cancel();
3657
- return true;
3658
- }
3659
- return !!self.ajaxAborted;
3660
- },
3661
- _resetFileStack: function () {
3662
- var self = this, i = 0, newstack = [], newnames = [], newids = [];
3663
- self._getThumbs().each(function () {
3664
- var $thumb = $(this), ind = $thumb.attr('data-fileindex'), file = self.filestack[ind],
3665
- pid = $thumb.attr('id');
3666
- if (ind === '-1' || ind === -1) {
3667
- return;
3668
- }
3669
- if (file !== undefined) {
3670
- newstack[i] = file;
3671
- newnames[i] = self._getFileName(file);
3672
- newids[i] = self._getFileId(file);
3673
- $thumb.attr({'id': self.previewInitId + '-' + i, 'data-fileindex': i});
3674
- i++;
3675
- } else {
3676
- $thumb.attr({'id': 'uploaded-' + $h.uniqId(), 'data-fileindex': '-1'});
3677
- }
3678
- self.$preview.find('#zoom-' + pid).attr({
3679
- 'id': 'zoom-' + $thumb.attr('id'),
3680
- 'data-fileindex': $thumb.attr('data-fileindex')
3681
- });
3682
- });
3683
- self.filestack = newstack;
3684
- self.filenames = newnames;
3685
- self.fileids = newids;
3686
- },
3687
- _isFileSelectionValid: function (cnt) {
3688
- var self = this;
3689
- cnt = cnt || 0;
3690
- if (self.required && !self.getFilesCount()) {
3691
- self.$errorContainer.html('');
3692
- self._showUploadError(self.msgFileRequired);
3693
- return false;
3694
- }
3695
- if (self.minFileCount > 0 && self._getFileCount(cnt) < self.minFileCount) {
3696
- self._noFilesError({});
3697
- return false;
3698
- }
3699
- return true;
3700
- },
3701
- clearStack: function () {
3702
- var self = this;
3703
- self.filestack = [];
3704
- self.filenames = [];
3705
- self.fileids = [];
3706
- return self.$element;
3707
- },
3708
- updateStack: function (i, file) {
3709
- var self = this;
3710
- self.filestack[i] = file;
3711
- self.filenames[i] = self._getFileName(file);
3712
- self.fileids[i] = file && self._getFileId(file) || null;
3713
- return self.$element;
3714
- },
3715
- addToStack: function (file) {
3716
- var self = this;
3717
- self.filestack.push(file);
3718
- self.filenames.push(self._getFileName(file));
3719
- self.fileids.push(self._getFileId(file));
3720
- return self.$element;
3721
- },
3722
- getFileStack: function (skipNull) {
3723
- var self = this;
3724
- return self.filestack.filter(function (n) {
3725
- return (skipNull ? n !== undefined : n !== undefined && n !== null);
3726
- });
3727
- },
3728
- getFilesCount: function () {
3729
- var self = this, len = self.isAjaxUpload ? self.getFileStack().length : self._inputFileCount();
3730
- return self._getFileCount(len);
3731
- },
3732
- readFiles: function (files) {
3733
- this.reader = new FileReader();
3734
- var self = this, $el = self.$element, $preview = self.$preview, reader = self.reader,
3735
- $container = self.$previewContainer, $status = self.$previewStatus, msgLoading = self.msgLoading,
3736
- msgProgress = self.msgProgress, previewInitId = self.previewInitId, numFiles = files.length,
3737
- settings = self.fileTypeSettings, ctr = self.filestack.length, readFile,
3738
- fileTypes = self.allowedFileTypes, typLen = fileTypes ? fileTypes.length : 0,
3739
- fileExt = self.allowedFileExtensions, strExt = $h.isEmpty(fileExt) ? '' : fileExt.join(', '),
3740
- maxPreviewSize = self.maxFilePreviewSize && parseFloat(self.maxFilePreviewSize),
3741
- canPreview = $preview.length && (!maxPreviewSize || isNaN(maxPreviewSize)),
3742
- throwError = function (msg, file, previewId, index) {
3743
- var p1 = $.extend(true, {}, self._getOutData({}, {}, files), {id: previewId, index: index}),
3744
- p2 = {id: previewId, index: index, file: file, files: files}, $thumb;
3745
- self._previewDefault(file, previewId, true);
3746
- if (self.isAjaxUpload) {
3747
- self.addToStack(undefined);
3748
- setTimeout(function () {
3749
- readFile(index + 1);
3750
- }, 100);
3751
- } else {
3752
- numFiles = 0;
3753
- }
3754
- self._initFileActions();
3755
- $thumb = $('#' + previewId);
3756
- $thumb.find('.kv-file-upload').hide();
3757
- if (self.removeFromPreviewOnError) {
3758
- $thumb.remove();
3759
- }
3760
- self.isError = self.isAjaxUpload ? self._showUploadError(msg, p1) : self._showError(msg, p2);
3761
- self._updateFileDetails(numFiles);
3762
- };
3763
-
3764
- self.loadedImages = [];
3765
- self.totalImagesCount = 0;
3766
-
3767
- $.each(files, function (key, file) {
3768
- var func = self.fileTypeSettings.image;
3769
- if (func && func(file.type)) {
3770
- self.totalImagesCount++;
3771
- }
3772
- });
3773
- readFile = function (i) {
3774
- if ($h.isEmpty($el.attr('multiple'))) {
3775
- numFiles = 1;
3776
- }
3777
- if (i >= numFiles) {
3778
- if (self.isAjaxUpload && self.filestack.length > 0) {
3779
- self._raise('filebatchselected', [self.getFileStack()]);
3780
- } else {
3781
- self._raise('filebatchselected', [files]);
3782
- }
3783
- $container.removeClass('file-thumb-loading');
3784
- $status.html('');
3785
- return;
3786
- }
3787
- var node = ctr + i, previewId = previewInitId + "-" + node, file = files[i], fSizeKB, j, msg,
3788
- fnText = settings.text, fnImage = settings.image, fnHtml = settings.html, typ, chk, typ1, typ2,
3789
- caption = file && file.name ? self.slug(file.name) : '', fileSize = (file && file.size || 0) / 1000,
3790
- fileExtExpr = '', previewData = file ? $h.objUrl.createObjectURL(file) : null, fileCount = 0,
3791
- strTypes = '',
3792
- func, knownTypes = 0, isText, isHtml, isImage, txtFlag, processFileLoaded = function () {
3793
- var msg = msgProgress.setTokens({
3794
- 'index': i + 1,
3795
- 'files': numFiles,
3796
- 'percent': 50,
3797
- 'name': caption
3798
- });
3799
- setTimeout(function () {
3800
- $status.html(msg);
3801
- self._updateFileDetails(numFiles);
3802
- readFile(i + 1);
3803
- }, 100);
3804
- self._raise('fileloaded', [file, previewId, i, reader]);
3805
- };
3806
- if (!file) {
3807
- return;
3808
- }
3809
- if (typLen > 0) {
3810
- for (j = 0; j < typLen; j++) {
3811
- typ1 = fileTypes[j];
3812
- typ2 = self.msgFileTypes[typ1] || typ1;
3813
- strTypes += j === 0 ? typ2 : ', ' + typ2;
3814
- }
3815
- }
3816
- if (caption === false) {
3817
- readFile(i + 1);
3818
- return;
3819
- }
3820
- if (caption.length === 0) {
3821
- msg = self.msgInvalidFileName.replace('{name}', $h.htmlEncode(file.name, '[unknown]'));
3822
- throwError(msg, file, previewId, i);
3823
- return;
3824
- }
3825
- if (!$h.isEmpty(fileExt)) {
3826
- fileExtExpr = new RegExp('\\.(' + fileExt.join('|') + ')$', 'i');
3827
- }
3828
- fSizeKB = fileSize.toFixed(2);
3829
- if (self.maxFileSize > 0 && fileSize > self.maxFileSize) {
3830
- msg = self.msgSizeTooLarge.setTokens({
3831
- 'name': caption,
3832
- 'size': fSizeKB,
3833
- 'maxSize': self.maxFileSize
3834
- });
3835
- throwError(msg, file, previewId, i);
3836
- return;
3837
- }
3838
- if (self.minFileSize !== null && fileSize <= $h.getNum(self.minFileSize)) {
3839
- msg = self.msgSizeTooSmall.setTokens({
3840
- 'name': caption,
3841
- 'size': fSizeKB,
3842
- 'minSize': self.minFileSize
3843
- });
3844
- throwError(msg, file, previewId, i);
3845
- return;
3846
- }
3847
- if (!$h.isEmpty(fileTypes) && $h.isArray(fileTypes)) {
3848
- for (j = 0; j < fileTypes.length; j += 1) {
3849
- typ = fileTypes[j];
3850
- func = settings[typ];
3851
- fileCount += !func || (typeof func !== 'function') ? 0 : (func(file.type, file.name) ? 1 : 0);
3852
- }
3853
- if (fileCount === 0) {
3854
- msg = self.msgInvalidFileType.setTokens({'name': caption, 'types': strTypes});
3855
- throwError(msg, file, previewId, i);
3856
- return;
3857
- }
3858
- }
3859
- if (fileCount === 0 && !$h.isEmpty(fileExt) && $h.isArray(fileExt) && !$h.isEmpty(fileExtExpr)) {
3860
- chk = $h.compare(caption, fileExtExpr);
3861
- fileCount += $h.isEmpty(chk) ? 0 : chk.length;
3862
- if (fileCount === 0) {
3863
- msg = self.msgInvalidFileExtension.setTokens({'name': caption, 'extensions': strExt});
3864
- throwError(msg, file, previewId, i);
3865
- return;
3866
- }
3867
- }
3868
- if (!self.showPreview) {
3869
- if (self.isAjaxUpload) {
3870
- self.addToStack(file);
3871
- }
3872
- setTimeout(function () {
3873
- readFile(i + 1);
3874
- self._updateFileDetails(numFiles);
3875
- }, 100);
3876
- self._raise('fileloaded', [file, previewId, i, reader]);
3877
- return;
3878
- }
3879
- if (!canPreview && fileSize > maxPreviewSize) {
3880
- self.addToStack(file);
3881
- $container.addClass('file-thumb-loading');
3882
- self._previewDefault(file, previewId);
3883
- self._initFileActions();
3884
- self._updateFileDetails(numFiles);
3885
- readFile(i + 1);
3886
- return;
3887
- }
3888
- if ($preview.length && FileReader !== undefined) {
3889
- isText = fnText(file.type, caption);
3890
- isHtml = fnHtml(file.type, caption);
3891
- isImage = fnImage(file.type, caption);
3892
- $status.html(msgLoading.replace('{index}', i + 1).replace('{files}', numFiles));
3893
- $container.addClass('file-thumb-loading');
3894
- reader.onerror = function (evt) {
3895
- self._errorHandler(evt, caption);
3896
- };
3897
- reader.onload = function (theFile) {
3898
- var hex, fileInfo, uint, byte, bytes = [], contents, mime, readTextImage = function (textFlag) {
3899
- var newReader = new FileReader();
3900
- newReader.onerror = function (theFileNew) {
3901
- self._errorHandler(theFileNew, caption);
3902
- };
3903
- newReader.onload = function (theFileNew) {
3904
- self._previewFile(i, file, theFileNew, previewId, previewData, fileInfo);
3905
- self._initFileActions();
3906
- processFileLoaded();
3907
- };
3908
- if (textFlag) {
3909
- newReader.readAsText(file, self.textEncoding);
3910
- } else {
3911
- newReader.readAsDataURL(file);
3912
- }
3913
- };
3914
- fileInfo = {'name': caption, 'type': file.type};
3915
- $.each(settings, function (key, func) {
3916
- if (key !== 'object' && key !== 'other' && func(file.type, caption)) {
3917
- knownTypes++;
3918
- }
3919
- });
3920
- if (knownTypes === 0) {// auto detect mime types from content if no known file types detected
3921
- uint = new Uint8Array(theFile.target.result);
3922
- for (j = 0; j < uint.length; j++) {
3923
- byte = uint[j].toString(16);
3924
- bytes.push(byte);
3925
- }
3926
- hex = bytes.join('').toLowerCase().substring(0, 8);
3927
- mime = $h.getMimeType(hex, '', '');
3928
- if ($h.isEmpty(mime)) { // look for ascii text content
3929
- contents = $h.arrayBuffer2String(reader.result);
3930
- mime = $h.isSvg(contents) ? 'image/svg+xml' : $h.getMimeType(hex, contents, file.type);
3931
- }
3932
- fileInfo = {'name': caption, 'type': mime};
3933
- isText = fnText(mime, '');
3934
- isHtml = fnHtml(mime, '');
3935
- isImage = fnImage(mime, '');
3936
- txtFlag = isText || isHtml;
3937
- if (txtFlag || isImage) {
3938
- readTextImage(txtFlag);
3939
- return;
3940
- }
3941
- }
3942
- self._previewFile(i, file, theFile, previewId, previewData, fileInfo);
3943
- self._initFileActions();
3944
- processFileLoaded();
3945
- };
3946
- reader.onprogress = function (data) {
3947
- if (data.lengthComputable) {
3948
- var fact = (data.loaded / data.total) * 100, progress = Math.ceil(fact);
3949
- msg = msgProgress.setTokens({
3950
- 'index': i + 1,
3951
- 'files': numFiles,
3952
- 'percent': progress,
3953
- 'name': caption
3954
- });
3955
- setTimeout(function () {
3956
- $status.html(msg);
3957
- }, 100);
3958
- }
3959
- };
3960
-
3961
- if (isText || isHtml) {
3962
- reader.readAsText(file, self.textEncoding);
3963
- } else {
3964
- if (isImage) {
3965
- reader.readAsDataURL(file);
3966
- } else {
3967
- reader.readAsArrayBuffer(file);
3968
- }
3969
- }
3970
- } else {
3971
- self._previewDefault(file, previewId);
3972
- setTimeout(function () {
3973
- readFile(i + 1);
3974
- self._updateFileDetails(numFiles);
3975
- }, 100);
3976
- self._raise('fileloaded', [file, previewId, i, reader]);
3977
- }
3978
- self.addToStack(file);
3979
- };
3980
-
3981
- readFile(0);
3982
- self._updateFileDetails(numFiles, false);
3983
- },
3984
- lock: function () {
3985
- var self = this;
3986
- self._resetErrors();
3987
- self.disable();
3988
- if (self.showRemove) {
3989
- self.$container.find('.fileinput-remove').hide();
3990
- }
3991
- if (self.showCancel) {
3992
- self.$container.find('.fileinput-cancel').show();
3993
- }
3994
- self._raise('filelock', [self.filestack, self._getExtraData()]);
3995
- return self.$element;
3996
- },
3997
- unlock: function (reset) {
3998
- var self = this;
3999
- if (reset === undefined) {
4000
- reset = true;
4001
- }
4002
- self.enable();
4003
- if (self.showCancel) {
4004
- self.$container.find('.fileinput-cancel').hide();
4005
- }
4006
- if (self.showRemove) {
4007
- self.$container.find('.fileinput-remove').show();
4008
- }
4009
- if (reset) {
4010
- self._resetFileStack();
4011
- }
4012
- self._raise('fileunlock', [self.filestack, self._getExtraData()]);
4013
- return self.$element;
4014
- },
4015
- cancel: function () {
4016
- var self = this, xhr = self.ajaxRequests, len = xhr.length, i;
4017
- if (len > 0) {
4018
- for (i = 0; i < len; i += 1) {
4019
- self.cancelling = true;
4020
- xhr[i].abort();
4021
- }
4022
- }
4023
- self._setProgressCancelled();
4024
- self._getThumbs().each(function () {
4025
- var $thumb = $(this), ind = $thumb.attr('data-fileindex');
4026
- $thumb.removeClass('file-uploading');
4027
- if (self.filestack[ind] !== undefined) {
4028
- $thumb.find('.kv-file-upload').removeClass('disabled').removeAttr('disabled');
4029
- $thumb.find('.kv-file-remove').removeClass('disabled').removeAttr('disabled');
4030
- }
4031
- self.unlock();
4032
- });
4033
- return self.$element;
4034
- },
4035
- clear: function () {
4036
- var self = this, cap;
4037
- if (!self._raise('fileclear')) {
4038
- return;
4039
- }
4040
- self.$btnUpload.removeAttr('disabled');
4041
- self._getThumbs().find('video,audio,img').each(function () {
4042
- $h.cleanMemory($(this));
4043
- });
4044
- self._clearFileInput();
4045
- self._resetUpload();
4046
- self.clearStack();
4047
- self._resetErrors(true);
4048
- if (self._hasInitialPreview()) {
4049
- self._showFileIcon();
4050
- self._resetPreview();
4051
- self._initPreviewActions();
4052
- self.$container.removeClass('file-input-new');
4053
- } else {
4054
- self._getThumbs().each(function () {
4055
- self._clearObjects($(this));
4056
- });
4057
- if (self.isAjaxUpload) {
4058
- self.previewCache.data = {};
4059
- }
4060
- self.$preview.html('');
4061
- cap = (!self.overwriteInitial && self.initialCaption.length > 0) ? self.initialCaption : '';
4062
- self.$caption.attr('title', '').val(cap);
4063
- $h.addCss(self.$container, 'file-input-new');
4064
- self._validateDefaultPreview();
4065
- }
4066
- $h.addCss(self.$container, 'file-input-new');
4067
- if (self.$container.find($h.FRAMES).length === 0) {
4068
- if (!self._initCaption()) {
4069
- self.$captionContainer.removeClass('icon-visible');
4070
- }
4071
- }
4072
- self._hideFileIcon();
4073
- self._raise('filecleared');
4074
- self.$captionContainer.focus();
4075
- self._setFileDropZoneTitle();
4076
- return self.$element;
4077
- },
4078
- reset: function () {
4079
- var self = this;
4080
- if (!self._raise('filereset')) {
4081
- return;
4082
- }
4083
- self._resetPreview();
4084
- self.$container.find('.fileinput-filename').text('');
4085
- $h.addCss(self.$container, 'file-input-new');
4086
- if (self.getFrames().length || self.dropZoneEnabled) {
4087
- self.$container.removeClass('file-input-new');
4088
- }
4089
- self.clearStack();
4090
- self.formdata = {};
4091
- self._setFileDropZoneTitle();
4092
- return self.$element;
4093
- },
4094
- disable: function () {
4095
- var self = this;
4096
- self.isDisabled = true;
4097
- self._raise('filedisabled');
4098
- self.$element.attr('disabled', 'disabled');
4099
- self.$container.find(".kv-fileinput-caption").addClass("file-caption-disabled");
4100
- self.$container.find(".fileinput-remove, .fileinput-upload, .file-preview-frame button")
4101
- .attr("disabled", true);
4102
- $h.addCss(self.$container.find('.btn-file'), 'disabled');
4103
- self._initDragDrop();
4104
- return self.$element;
4105
- },
4106
- enable: function () {
4107
- var self = this;
4108
- self.isDisabled = false;
4109
- self._raise('fileenabled');
4110
- self.$element.removeAttr('disabled');
4111
- self.$container.find(".kv-fileinput-caption").removeClass("file-caption-disabled");
4112
- self.$container.find(".fileinput-remove, .fileinput-upload, .file-preview-frame button")
4113
- .removeAttr("disabled");
4114
- self.$container.find('.btn-file').removeClass('disabled');
4115
- self._initDragDrop();
4116
- return self.$element;
4117
- },
4118
- upload: function () {
4119
- var self = this, totLen = self.getFileStack().length, i, outData, len,
4120
- hasExtraData = !$.isEmptyObject(self._getExtraData());
4121
- if (!self.isAjaxUpload || self.isDisabled || !self._isFileSelectionValid(totLen)) {
4122
- return;
4123
- }
4124
- self._resetUpload();
4125
- if (totLen === 0 && !hasExtraData) {
4126
- self._showUploadError(self.msgUploadEmpty);
4127
- return;
4128
- }
4129
- self.$progress.show();
4130
- self.uploadCount = 0;
4131
- self.uploadStatus = {};
4132
- self.uploadLog = [];
4133
- self.lock();
4134
- self._setProgress(2);
4135
- if (totLen === 0 && hasExtraData) {
4136
- self._uploadExtraOnly();
4137
- return;
4138
- }
4139
- len = self.filestack.length;
4140
- self.hasInitData = false;
4141
- if (self.uploadAsync) {
4142
- outData = self._getOutData();
4143
- self._raise('filebatchpreupload', [outData]);
4144
- self.fileBatchCompleted = false;
4145
- self.uploadCache = {content: [], config: [], tags: [], append: true};
4146
- self.uploadAsyncCount = self.getFileStack().length;
4147
- for (i = 0; i < len; i++) {
4148
- self.uploadCache.content[i] = null;
4149
- self.uploadCache.config[i] = null;
4150
- self.uploadCache.tags[i] = null;
4151
- }
4152
- self.$preview.find('.file-preview-initial').removeClass($h.SORT_CSS);
4153
- self._initSortable();
4154
- self.cacheInitialPreview = self.getPreview();
4155
-
4156
- for (i = 0; i < len; i++) {
4157
- if (self.filestack[i]) {
4158
- self._uploadSingle(i, true);
4159
- }
4160
- }
4161
- return;
4162
- }
4163
- self._uploadBatch();
4164
- return self.$element;
4165
- },
4166
- destroy: function () {
4167
- var self = this, $form = self.$form, $cont = self.$container, $el = self.$element, ns = self.namespace;
4168
- $(document).off(ns);
4169
- $(window).off(ns);
4170
- if ($form && $form.length) {
4171
- $form.off(ns);
4172
- }
4173
- if (self.isAjaxUpload) {
4174
- self._clearFileInput();
4175
- }
4176
- self._cleanup();
4177
- self._initPreviewCache();
4178
- $el.insertBefore($cont).off(ns).removeData();
4179
- $cont.off().remove();
4180
- return $el;
4181
- },
4182
- refresh: function (options) {
4183
- var self = this, $el = self.$element;
4184
- if (typeof options !== 'object' || $h.isEmpty(options)) {
4185
- options = self.options;
4186
- } else {
4187
- options = $.extend(true, {}, self.options, options);
4188
- }
4189
- self._init(options, true);
4190
- self._listen();
4191
- return $el;
4192
- },
4193
- zoom: function (frameId) {
4194
- var self = this, $frame = self._getFrame(frameId), $modal = self.$modal;
4195
- if (!$frame) {
4196
- return;
4197
- }
4198
- $h.initModal($modal);
4199
- $modal.html(self._getModalContent());
4200
- self._setZoomContent($frame);
4201
- $modal.modal('show');
4202
- self._initZoomButtons();
4203
- },
4204
- getExif: function (frameId) {
4205
- var self = this, $frame = self._getFrame(frameId);
4206
- return $frame && $frame.data('exif') || null;
4207
- },
4208
- getFrames: function (cssFilter) {
4209
- var self = this, $frames;
4210
- cssFilter = cssFilter || '';
4211
- $frames = self.$preview.find($h.FRAMES + cssFilter);
4212
- if (self.reversePreviewOrder) {
4213
- $frames = $($frames.get().reverse());
4214
- }
4215
- return $frames;
4216
- },
4217
- getPreview: function () {
4218
- var self = this;
4219
- return {
4220
- content: self.initialPreview,
4221
- config: self.initialPreviewConfig,
4222
- tags: self.initialPreviewThumbTags
4223
- };
4224
- }
4225
- };
4226
-
4227
- $.fn.fileinput = function (option) {
4228
- if (!$h.hasFileAPISupport() && !$h.isIE(9)) {
4229
- return;
4230
- }
4231
- var args = Array.apply(null, arguments), retvals = [];
4232
- args.shift();
4233
- this.each(function () {
4234
- var self = $(this), data = self.data('fileinput'), options = typeof option === 'object' && option,
4235
- theme = options.theme || self.data('theme'), l = {}, t = {},
4236
- lang = options.language || self.data('language') || $.fn.fileinput.defaults.language || 'en', opt;
4237
- if (!data) {
4238
- if (theme) {
4239
- t = $.fn.fileinputThemes[theme] || {};
4240
- }
4241
- if (lang !== 'en' && !$h.isEmpty($.fn.fileinputLocales[lang])) {
4242
- l = $.fn.fileinputLocales[lang] || {};
4243
- }
4244
- opt = $.extend(true, {}, $.fn.fileinput.defaults, t, $.fn.fileinputLocales.en, l, options, self.data());
4245
- data = new FileInput(this, opt);
4246
- self.data('fileinput', data);
4247
- }
4248
-
4249
- if (typeof option === 'string') {
4250
- retvals.push(data[option].apply(data, args));
4251
- }
4252
- });
4253
- switch (retvals.length) {
4254
- case 0:
4255
- return this;
4256
- case 1:
4257
- return retvals[0];
4258
- default:
4259
- return retvals;
4260
- }
4261
- };
4262
-
4263
- $.fn.fileinput.defaults = {
4264
- language: 'en',
4265
- showCaption: true,
4266
- showBrowse: true,
4267
- showPreview: true,
4268
- showRemove: true,
4269
- showUpload: true,
4270
- showCancel: true,
4271
- showClose: true,
4272
- showUploadedThumbs: true,
4273
- browseOnZoneClick: false,
4274
- autoReplace: false,
4275
- autoOrientImage: false, // if `true` applicable for JPEG images only
4276
- required: false,
4277
- rtl: false,
4278
- hideThumbnailContent: false,
4279
- generateFileId: null,
4280
- previewClass: '',
4281
- captionClass: '',
4282
- frameClass: 'krajee-default',
4283
- mainClass: 'file-caption-main',
4284
- mainTemplate: null,
4285
- purifyHtml: true,
4286
- fileSizeGetter: null,
4287
- initialCaption: '',
4288
- initialPreview: [],
4289
- initialPreviewDelimiter: '*$$*',
4290
- initialPreviewAsData: false,
4291
- initialPreviewFileType: 'image',
4292
- initialPreviewConfig: [],
4293
- initialPreviewThumbTags: [],
4294
- previewThumbTags: {},
4295
- initialPreviewShowDelete: true,
4296
- initialPreviewDownloadUrl: '',
4297
- removeFromPreviewOnError: false,
4298
- deleteUrl: '',
4299
- deleteExtraData: {},
4300
- overwriteInitial: true,
4301
- previewZoomButtonIcons: {
4302
- prev: '<i class="glyphicon glyphicon-triangle-left"></i>',
4303
- next: '<i class="glyphicon glyphicon-triangle-right"></i>',
4304
- toggleheader: '<i class="glyphicon glyphicon-resize-vertical"></i>',
4305
- fullscreen: '<i class="glyphicon glyphicon-fullscreen"></i>',
4306
- borderless: '<i class="glyphicon glyphicon-resize-full"></i>',
4307
- close: '<i class="glyphicon glyphicon-remove"></i>'
4308
- },
4309
- previewZoomButtonClasses: {
4310
- prev: 'btn btn-navigate',
4311
- next: 'btn btn-navigate',
4312
- toggleheader: 'btn btn-sm btn-kv btn-default btn-outline-secondary',
4313
- fullscreen: 'btn btn-sm btn-kv btn-default btn-outline-secondary',
4314
- borderless: 'btn btn-sm btn-kv btn-default btn-outline-secondary',
4315
- close: 'btn btn-sm btn-kv btn-default btn-outline-secondary'
4316
- },
4317
- previewTemplates: {},
4318
- previewContentTemplates: {},
4319
- preferIconicPreview: false,
4320
- preferIconicZoomPreview: false,
4321
- allowedPreviewTypes: undefined,
4322
- allowedPreviewMimeTypes: null,
4323
- allowedFileTypes: null,
4324
- allowedFileExtensions: null,
4325
- defaultPreviewContent: null,
4326
- customLayoutTags: {},
4327
- customPreviewTags: {},
4328
- previewFileIcon: '<i class="glyphicon glyphicon-file"></i>',
4329
- previewFileIconClass: 'file-other-icon',
4330
- previewFileIconSettings: {},
4331
- previewFileExtSettings: {},
4332
- buttonLabelClass: 'hidden-xs',
4333
- browseIcon: '<i class="glyphicon glyphicon-folder-open"></i>&nbsp;',
4334
- browseClass: 'btn btn-primary',
4335
- removeIcon: '<i class="glyphicon glyphicon-trash"></i>',
4336
- removeClass: 'btn btn-default btn-secondary',
4337
- cancelIcon: '<i class="glyphicon glyphicon-ban-circle"></i>',
4338
- cancelClass: 'btn btn-default btn-secondary',
4339
- uploadIcon: '<i class="glyphicon glyphicon-upload"></i>',
4340
- uploadClass: 'btn btn-default btn-secondary',
4341
- uploadUrl: null,
4342
- uploadUrlThumb: null,
4343
- uploadAsync: true,
4344
- uploadExtraData: {},
4345
- zoomModalHeight: 480,
4346
- minImageWidth: null,
4347
- minImageHeight: null,
4348
- maxImageWidth: null,
4349
- maxImageHeight: null,
4350
- resizeImage: false,
4351
- resizePreference: 'width',
4352
- resizeQuality: 0.92,
4353
- resizeDefaultImageType: 'image/jpeg',
4354
- resizeIfSizeMoreThan: 0, // in KB
4355
- minFileSize: 0,
4356
- maxFileSize: 0,
4357
- maxFilePreviewSize: 25600, // 25 MB
4358
- minFileCount: 0,
4359
- maxFileCount: 0,
4360
- validateInitialCount: false,
4361
- msgValidationErrorClass: 'text-danger',
4362
- msgValidationErrorIcon: '<i class="glyphicon glyphicon-exclamation-sign"></i> ',
4363
- msgErrorClass: 'file-error-message',
4364
- progressThumbClass: "progress-bar bg-success progress-bar-success progress-bar-striped active",
4365
- progressClass: "progress-bar bg-success progress-bar-success progress-bar-striped active",
4366
- progressCompleteClass: "progress-bar bg-success progress-bar-success",
4367
- progressErrorClass: "progress-bar bg-danger progress-bar-danger",
4368
- progressUploadThreshold: 99,
4369
- previewFileType: 'image',
4370
- elCaptionContainer: null,
4371
- elCaptionText: null,
4372
- elPreviewContainer: null,
4373
- elPreviewImage: null,
4374
- elPreviewStatus: null,
4375
- elErrorContainer: null,
4376
- errorCloseButton: $h.closeButton('kv-error-close'),
4377
- slugCallback: null,
4378
- dropZoneEnabled: true,
4379
- dropZoneTitleClass: 'file-drop-zone-title',
4380
- fileActionSettings: {},
4381
- otherActionButtons: '',
4382
- textEncoding: 'UTF-8',
4383
- ajaxSettings: {},
4384
- ajaxDeleteSettings: {},
4385
- showAjaxErrorDetails: true,
4386
- mergeAjaxCallbacks: false,
4387
- mergeAjaxDeleteCallbacks: false,
4388
- retryErrorUploads: true,
4389
- reversePreviewOrder: false
4390
- };
4391
-
4392
- // noinspection HtmlUnknownAttribute
4393
- $.fn.fileinputLocales.en = {
4394
- fileSingle: 'file',
4395
- filePlural: 'files',
4396
- browseLabel: 'Browse &hellip;',
4397
- removeLabel: 'Remove',
4398
- removeTitle: 'Clear selected files',
4399
- cancelLabel: 'Cancel',
4400
- cancelTitle: 'Abort ongoing upload',
4401
- uploadLabel: 'Upload',
4402
- uploadTitle: 'Upload selected files',
4403
- msgNo: 'No',
4404
- msgNoFilesSelected: 'No files selected',
4405
- msgCancelled: 'Cancelled',
4406
- msgPlaceholder: 'Select {files}...',
4407
- msgZoomModalHeading: 'Detailed Preview',
4408
- msgFileRequired: 'You must select a file to upload.',
4409
- msgSizeTooSmall: 'File "{name}" (<b>{size} KB</b>) is too small and must be larger than <b>{minSize} KB</b>.',
4410
- msgSizeTooLarge: 'File "{name}" (<b>{size} KB</b>) exceeds maximum allowed upload size of <b>{maxSize} KB</b>.',
4411
- msgFilesTooLess: 'You must select at least <b>{n}</b> {files} to upload.',
4412
- msgFilesTooMany: 'Number of files selected for upload <b>({n})</b> exceeds maximum allowed limit of <b>{m}</b>.',
4413
- msgFileNotFound: 'File "{name}" not found!',
4414
- msgFileSecured: 'Security restrictions prevent reading the file "{name}".',
4415
- msgFileNotReadable: 'File "{name}" is not readable.',
4416
- msgFilePreviewAborted: 'File preview aborted for "{name}".',
4417
- msgFilePreviewError: 'An error occurred while reading the file "{name}".',
4418
- msgInvalidFileName: 'Invalid or unsupported characters in file name "{name}".',
4419
- msgInvalidFileType: 'Invalid type for file "{name}". Only "{types}" files are supported.',
4420
- msgInvalidFileExtension: 'Invalid extension for file "{name}". Only "{extensions}" files are supported.',
4421
- msgFileTypes: {
4422
- 'image': 'image',
4423
- 'html': 'HTML',
4424
- 'text': 'text',
4425
- 'video': 'video',
4426
- 'audio': 'audio',
4427
- 'flash': 'flash',
4428
- 'pdf': 'PDF',
4429
- 'object': 'object'
4430
- },
4431
- msgUploadAborted: 'The file upload was aborted',
4432
- msgUploadThreshold: 'Processing...',
4433
- msgUploadBegin: 'Initializing...',
4434
- msgUploadEnd: 'Done',
4435
- msgUploadEmpty: 'No valid data available for upload.',
4436
- msgUploadError: 'Error',
4437
- msgValidationError: 'Validation Error',
4438
- msgLoading: 'Loading file {index} of {files} &hellip;',
4439
- msgProgress: 'Loading file {index} of {files} - {name} - {percent}% completed.',
4440
- msgSelected: '{n} {files} selected',
4441
- msgFoldersNotAllowed: 'Drag & drop files only! {n} folder(s) dropped were skipped.',
4442
- msgImageWidthSmall: 'Width of image file "{name}" must be at least {size} px.',
4443
- msgImageHeightSmall: 'Height of image file "{name}" must be at least {size} px.',
4444
- msgImageWidthLarge: 'Width of image file "{name}" cannot exceed {size} px.',
4445
- msgImageHeightLarge: 'Height of image file "{name}" cannot exceed {size} px.',
4446
- msgImageResizeError: 'Could not get the image dimensions to resize.',
4447
- msgImageResizeException: 'Error while resizing the image.<pre>{errors}</pre>',
4448
- msgAjaxError: 'Something went wrong with the {operation} operation. Please try again later!',
4449
- msgAjaxProgressError: '{operation} failed',
4450
- ajaxOperations: {
4451
- deleteThumb: 'file delete',
4452
- uploadThumb: 'file upload',
4453
- uploadBatch: 'batch file upload',
4454
- uploadExtra: 'form data upload'
4455
- },
4456
- dropZoneTitle: 'Drag & drop files here &hellip;',
4457
- dropZoneClickTitle: '<br>(or click to select {files})',
4458
- previewZoomButtonTitles: {
4459
- prev: 'View previous file',
4460
- next: 'View next file',
4461
- toggleheader: 'Toggle header',
4462
- fullscreen: 'Toggle full screen',
4463
- borderless: 'Toggle borderless mode',
4464
- close: 'Close detailed preview'
4465
- },
4466
- usePdfRenderer: function () {
4467
- return !!navigator.userAgent.match(/(iPod|iPhone|iPad|Android)/i);
4468
- },
4469
- pdfRendererUrl: '',
4470
- pdfRendererTemplate: '<iframe class="kv-preview-data file-preview-pdf" src="{renderer}?file={data}" {style}></iframe>'
4471
- };
4472
-
4473
- $.fn.fileinput.Constructor = FileInput;
4474
-
4475
- /**
4476
- * Convert automatically file inputs with class 'file' into a bootstrap fileinput control.
4477
- */
4478
- $(document).ready(function () {
4479
- var $input = $('input.file[type=file]');
4480
- if ($input.length) {
4481
- $input.fileinput();
4482
- }
4483
- });
4484
- }));
1
+ /*!
2
+ * bootstrap-fileinput v4.5.0
3
+ * http://plugins.krajee.com/file-input
4
+ *
5
+ * Author: Kartik Visweswaran
6
+ * Copyright: 2014 - 2018, Kartik Visweswaran, Krajee.com
7
+ *
8
+ * Licensed under the BSD 3-Clause
9
+ * https://github.com/kartik-v/bootstrap-fileinput/blob/master/LICENSE.md
10
+ */
11
+ (function (factory) {
12
+ "use strict";
13
+ //noinspection JSUnresolvedVariable
14
+ if (typeof define === 'function' && define.amd) { // jshint ignore:line
15
+ // AMD. Register as an anonymous module.
16
+ define(['jquery'], factory); // jshint ignore:line
17
+ } else { // noinspection JSUnresolvedVariable
18
+ if (typeof module === 'object' && module.exports) { // jshint ignore:line
19
+ // Node/CommonJS
20
+ // noinspection JSUnresolvedVariable
21
+ module.exports = factory(require('jquery')); // jshint ignore:line
22
+ } else {
23
+ // Browser globals
24
+ factory(window.jQuery);
25
+ }
26
+ }
27
+ }(function ($) {
28
+ "use strict";
29
+
30
+ $.fn.fileinputLocales = {};
31
+ $.fn.fileinputThemes = {};
32
+
33
+ String.prototype.setTokens = function (replacePairs) {
34
+ var str = this.toString(), key, re;
35
+ for (key in replacePairs) {
36
+ if (replacePairs.hasOwnProperty(key)) {
37
+ re = new RegExp("\{" + key + "\}", "g");
38
+ str = str.replace(re, replacePairs[key]);
39
+ }
40
+ }
41
+ return str;
42
+ };
43
+
44
+ var $h, FileInput;
45
+
46
+ // fileinput helper object for all global variables and internal helper methods
47
+ //noinspection JSUnresolvedVariable
48
+ $h = {
49
+ FRAMES: '.kv-preview-thumb',
50
+ SORT_CSS: 'file-sortable',
51
+ OBJECT_PARAMS: '<param name="controller" value="true" />\n' +
52
+ '<param name="allowFullScreen" value="true" />\n' +
53
+ '<param name="allowScriptAccess" value="always" />\n' +
54
+ '<param name="autoPlay" value="false" />\n' +
55
+ '<param name="autoStart" value="false" />\n' +
56
+ '<param name="quality" value="high" />\n',
57
+ DEFAULT_PREVIEW: '<div class="file-preview-other">\n' +
58
+ '<span class="{previewFileIconClass}">{previewFileIcon}</span>\n' +
59
+ '</div>',
60
+ MODAL_ID: 'kvFileinputModal',
61
+ MODAL_EVENTS: ['show', 'shown', 'hide', 'hidden', 'loaded'],
62
+ objUrl: window.URL || window.webkitURL,
63
+ compare: function (input, str, exact) {
64
+ return input !== undefined && (exact ? input === str : input.match(str));
65
+ },
66
+ isIE: function (ver) {
67
+ // check for IE versions < 11
68
+ if (navigator.appName !== 'Microsoft Internet Explorer') {
69
+ return false;
70
+ }
71
+ if (ver === 10) {
72
+ return new RegExp('msie\\s' + ver, 'i').test(navigator.userAgent);
73
+ }
74
+ var div = document.createElement("div"), status;
75
+ div.innerHTML = "<!--[if IE " + ver + "]> <i></i> <![endif]-->";
76
+ status = div.getElementsByTagName("i").length;
77
+ document.body.appendChild(div);
78
+ div.parentNode.removeChild(div);
79
+ return status;
80
+ },
81
+ canAssignFilesToInput: function () {
82
+ var input = document.createElement('input');
83
+ try {
84
+ input.type = "file";
85
+ input.files = null;
86
+ return true;
87
+ } catch (err) {
88
+ return false;
89
+ }
90
+ },
91
+ getDragDropFolders: function (items) {
92
+ var i, item, len = items.length, folders = 0;
93
+ if (len > 0 && items[0].webkitGetAsEntry()) {
94
+ for (i = 0; i < len; i++) {
95
+ item = items[i].webkitGetAsEntry();
96
+ if (item && item.isDirectory) {
97
+ folders++;
98
+ }
99
+ }
100
+ }
101
+ return folders;
102
+ },
103
+ initModal: function ($modal) {
104
+ var $body = $('body');
105
+ if ($body.length) {
106
+ $modal.appendTo($body);
107
+ }
108
+ },
109
+ isEmpty: function (value, trim) {
110
+ return value === undefined || value === null || value.length === 0 || (trim && $.trim(value) === '');
111
+ },
112
+ isArray: function (a) {
113
+ return Array.isArray(a) || Object.prototype.toString.call(a) === '[object Array]';
114
+ },
115
+ ifSet: function (needle, haystack, def) {
116
+ def = def || '';
117
+ return (haystack && typeof haystack === 'object' && needle in haystack) ? haystack[needle] : def;
118
+ },
119
+ cleanArray: function (arr) {
120
+ if (!(arr instanceof Array)) {
121
+ arr = [];
122
+ }
123
+ return arr.filter(function (e) {
124
+ return (e !== undefined && e !== null);
125
+ });
126
+ },
127
+ spliceArray: function (arr, index, reverseOrder) {
128
+ var i, j = 0, out = [], newArr;
129
+ if (!(arr instanceof Array)) {
130
+ return [];
131
+ }
132
+ newArr = $.extend(true, [], arr);
133
+ if (reverseOrder) {
134
+ newArr.reverse();
135
+ }
136
+ for (i = 0; i < newArr.length; i++) {
137
+ if (i !== index) {
138
+ out[j] = newArr[i];
139
+ j++;
140
+ }
141
+ }
142
+ if (reverseOrder) {
143
+ out.reverse();
144
+ }
145
+ return out;
146
+ },
147
+ getNum: function (num, def) {
148
+ def = def || 0;
149
+ if (typeof num === "number") {
150
+ return num;
151
+ }
152
+ if (typeof num === "string") {
153
+ num = parseFloat(num);
154
+ }
155
+ return isNaN(num) ? def : num;
156
+ },
157
+ hasFileAPISupport: function () {
158
+ return !!(window.File && window.FileReader);
159
+ },
160
+ hasDragDropSupport: function () {
161
+ var div = document.createElement('div');
162
+ /** @namespace div.draggable */
163
+ /** @namespace div.ondragstart */
164
+ /** @namespace div.ondrop */
165
+ return !$h.isIE(9) &&
166
+ (div.draggable !== undefined || (div.ondragstart !== undefined && div.ondrop !== undefined));
167
+ },
168
+ hasFileUploadSupport: function () {
169
+ return $h.hasFileAPISupport() && window.FormData;
170
+ },
171
+ hasBlobSupport: function () {
172
+ try {
173
+ return !!window.Blob && Boolean(new Blob());
174
+ } catch (e) {
175
+ return false;
176
+ }
177
+ },
178
+ hasArrayBufferViewSupport: function () {
179
+ try {
180
+ return new Blob([new Uint8Array(100)]).size === 100;
181
+ } catch (e) {
182
+ return false;
183
+ }
184
+ },
185
+ dataURI2Blob: function (dataURI) {
186
+ //noinspection JSUnresolvedVariable
187
+ var BlobBuilder