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

Version Description

Better support for cache plugins. It's much easier to add the Facebook Messenger icon now. We've also added explanation for the line.me icon

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.2.4
Comparing to
See all releases

Code changes from version 2.2.3 to 2.2.4

admin/class-social-icons.php CHANGED
@@ -99,6 +99,9 @@ class CHT_Social_Icons
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>
99
  'slug' => 'Line',
100
  'title' => 'Line',
101
  'color' => '#38B900',
102
+ 'help' => '',
103
+ 'help_title' => "Find your link",
104
+ 'help_link' => "https://developers.line.biz/en/docs/messaging-api/sharing-bot/#url-scheme-to-link-to-the-add-friend-screen",
105
  'svg' => '
106
  <circle class="color-element" cx="19.4395" cy="19.4395" r="19.4395" fill="#38B900"></circle>
107
  <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>
assets/css/cht-style.css CHANGED
@@ -3573,4 +3573,12 @@ select.multiple-options {
3573
  .updates-content-buttons {
3574
  background: #c1c1c1;
3575
  padding: 0 20px;
 
 
 
 
 
 
 
 
3576
  }
3573
  .updates-content-buttons {
3574
  background: #c1c1c1;
3575
  padding: 0 20px;
3576
+ }
3577
+ .notice.chaty-notice {
3578
+ display: block !important;
3579
+ }
3580
+ .preview .h2 {
3581
+ padding: 40px 0 10px 0;
3582
+ text-align: center;
3583
+ font-weight: bold;
3584
  }
assets/js/cht-front-script.js CHANGED
@@ -24,7 +24,17 @@
24
  i(11), t.exports = i(12)
25
  }, 11: function (t, e) {
26
  !function (t) {
27
- var e = JSON.parse(chaty_settings);
 
 
 
 
 
 
 
 
 
 
28
  function i(t) {
29
  for (var e = t + "=", i = document.cookie.split(";"), n = 0; n < i.length; n++) {
30
  for (var a = i[n]; " " == a.charAt(0);)a = a.substring(1);
@@ -44,24 +54,46 @@
44
  function o(e) {
45
  var i = "", n = 0;
46
  return t.each(e.object_settings.social, function (t, a) {
47
- var fbTarget = (e.object_settings.isMobile == "1")?"":" target='_blank' ";
48
- var linkTarget = " target='_blank' ";
49
- var customLinkTarget = " target='_blank' ";
50
  var linkVal;
51
  if("link" == t) {
52
- linkVal = e.object_settings.social.link;
53
  if(linkVal.indexOf("javascript") != -1) {
54
- linkTarget = "";
 
55
  }
56
  }
57
  if("custom_link" == t) {
58
- linkVal = e.object_settings.social.custom_link;
59
  if(linkVal.indexOf("javascript") != -1) {
60
- customLinkTarget = "";
 
61
  }
62
  }
 
 
63
  if (!e.object_settings.isPRO && "3" == ++n)return !1;
64
- "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 + '" '+customLinkTarget+'>', 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 + '" '+fbTarget+'>', 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 + '" '+linkTarget+'>', 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 + '">', 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("+", "") + '" '+fbTarget+'>', 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>")
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
65
  }), i
66
  }
67
 
@@ -118,7 +150,12 @@
118
  }
119
 
120
  function r(t) {
121
- var e = t || n.find(".chaty-widget-is .chaty-widget-i").length;
 
 
 
 
 
122
  n.find(".chaty-widget-i").css({
123
  height: o + "px",
124
  width: o + "px"
@@ -172,11 +209,39 @@
172
  "use strict";
173
  t(this).find(".chaty-widget-i").toggleClass("hover")
174
  });
175
- if(Object.keys(e.object_settings.social).length == 1) {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
176
  jQuery(".chaty-widget").addClass("chaty-widget-show");
177
  jQuery(".chaty-widget-is").css("top", "auto");
178
  jQuery(".chaty-widget-is").css("z-index", "10001");
179
- jQuery(".chaty-widget-i.i-trigger-close, .i-trigger.chaty-widget-i").remove();
180
  jQuery(".chaty-widget .get a").css("top", "-10px");
181
  jQuery(".chaty-widget").addClass("one_widget");
182
  jQuery(".chaty-widget-i:first .chaty-widget-i-title:last p").text(e.object_settings.cta);
@@ -195,6 +260,48 @@
195
  jQuery(this).remove();
196
  }
197
  });
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
198
  })
199
  })
200
  }(jQuery)
24
  i(11), t.exports = i(12)
25
  }, 11: function (t, e) {
26
  !function (t) {
27
+ var e = chaty_settings;
28
+ var isChatyInMobile = false; //initiate as false
29
+ if(/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|ipad|iris|kindle|Android|Silk|lge |maemo|midp|mmp|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows (ce|phone)|xda|xiino/i.test(navigator.userAgent)
30
+ || /1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i.test(navigator.userAgent.substr(0,4))) {
31
+ isChatyInMobile = true;
32
+ }
33
+ if(isChatyInMobile) {
34
+ jQuery("body").addClass("chaty-in-mobile");
35
+ } else {
36
+ jQuery("body").addClass("chaty-in-desktop");
37
+ }
38
  function i(t) {
39
  for (var e = t + "=", i = document.cookie.split(";"), n = 0; n < i.length; n++) {
40
  for (var a = i[n]; " " == a.charAt(0);)a = a.substring(1);
54
  function o(e) {
55
  var i = "", n = 0;
56
  return t.each(e.object_settings.social, function (t, a) {
57
+ var mobileTarget = a.mobile_target;
58
+ var desktopTarget = a.desktop_target;
 
59
  var linkVal;
60
  if("link" == t) {
61
+ linkVal = a.value;
62
  if(linkVal.indexOf("javascript") != -1) {
63
+ mobileTarget = "";
64
+ desktopTarget = "";
65
  }
66
  }
67
  if("custom_link" == t) {
68
+ linkVal = a.value;
69
  if(linkVal.indexOf("javascript") != -1) {
70
+ mobileTarget = "";
71
+ desktopTarget = "";
72
  }
73
  }
74
+ var currentTarget = (jQuery("body").hasClass("chaty-in-mobile"))?mobileTarget:desktopTarget;
75
+ console.log(currentTarget);
76
  if (!e.object_settings.isPRO && "3" == ++n)return !1;
77
+ "linkedin" == t && (i += '<div class="chaty-widget-i chaty-main-widget '+a.is_mobile+' '+a.is_desktop+' " data-title="' + a.value + '">', i += '<a href="https://www.linkedin.com/' + a.value + '" target="'+currentTarget+ '" data-mobile-target="'+mobileTarget+'" data-desktop-target="'+desktopTarget+'" >', 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>"),
78
+ "twitter" == t && (i += '<div class="chaty-widget-i chaty-main-widget '+a.is_mobile+' '+a.is_desktop+' " data-title="' + a.value + '">', i += '<a href="https://twitter.com/' + a.value + '" target="'+currentTarget+ '" data-mobile-target="'+mobileTarget+'" data-desktop-target="'+desktopTarget+'" >', 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>"),
79
+ "instagram" == t && (i += '<div class="chaty-widget-i chaty-main-widget '+a.is_mobile+' '+a.is_desktop+' " data-title="' + a.value + '">', i += '<a href="https://www.instagram.com/' + a.value + '" target="'+currentTarget+ '" data-mobile-target="'+mobileTarget+'" data-desktop-target="'+desktopTarget+'" >', 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>"),
80
+ "custom_link" == t && (i += '<div class="chaty-widget-i chaty-main-widget '+a.is_mobile+' '+a.is_desktop+' " data-title="' + a.value + '">', i += '<a href="' + a.value + '" target="'+currentTarget+ '" data-mobile-target="'+mobileTarget+'" data-desktop-target="'+desktopTarget+'" >', 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>"),
81
+ "facebook_messenger" == t && (i += '<div class="chaty-widget-i chaty-main-widget '+a.is_mobile+' '+a.is_desktop+' " data-title="' + a.value + '">', i += '<a href="' + a.value + '" target="'+currentTarget+ '" data-mobile-target="'+mobileTarget+'" data-desktop-target="'+desktopTarget+'" >', 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>"),
82
+ "google_maps" == t && (i += '<div class="chaty-widget-i chaty-main-widget '+a.is_mobile+' '+a.is_desktop+' " data-title="' + a.value + '">', i += '<a href="' + a.value + '" target="'+currentTarget+ '" data-mobile-target="'+mobileTarget+'" data-desktop-target="'+desktopTarget+'" >', 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>"),
83
+ "link" == t && (i += '<div class="chaty-widget-i chaty-main-widget '+a.is_mobile+' '+a.is_desktop+' " data-title="' + a.value + '">', i += '<a href="' + a.value + '" target="'+currentTarget+ '" data-mobile-target="'+mobileTarget+'" data-desktop-target="'+desktopTarget+'" >', 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>"),
84
+ "email" == t && (i += '<div class="chaty-widget-i chaty-main-widget '+a.is_mobile+' '+a.is_desktop+' " data-title="' + a.value + '">', i += '<a href="mailto:' + a.value + '">', 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>"),
85
+ "poptin" == t && (i += '<div class="chaty-widget-i chaty-main-widget '+a.is_mobile+' '+a.is_desktop+' " data-title="' + a.value + '">', i += '<a href="' + a.value + '">', 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>"),
86
+ "skype" == t && (i += '<div class="chaty-widget-i chaty-main-widget '+a.is_mobile+' '+a.is_desktop+' " data-title="' + a.value + '">', i += '<a href="skype:' + a.value + '?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>"),
87
+ "sms" == t && (i += '<div class="chaty-widget-i chaty-main-widget '+a.is_mobile+' '+a.is_desktop+' " data-title="' + a.value + '">', i += '<a href="sms:' + a.value + '">', 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>"),
88
+ "snapchat" == t && (i += '<div class="chaty-widget-i chaty-main-widget '+a.is_mobile+' '+a.is_desktop+' " data-title="' + a.value + '">', i += '<a href="https://www.snapchat.com/add/' + a.value + '" target="'+currentTarget+ '" data-mobile-target="'+mobileTarget+'" data-desktop-target="'+desktopTarget+'" >', 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>"),
89
+ "telegram" == t && (i += '<div class="chaty-widget-i chaty-main-widget '+a.is_mobile+' '+a.is_desktop+' " data-title="' + a.value + '">', i += '<a href="https://telegram.me/' + a.value + ' " target="'+currentTarget+ '" data-mobile-target="'+mobileTarget+'" data-desktop-target="'+desktopTarget+'" >', 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>"),
90
+ "phone" == t && (i += '<div class="chaty-widget-i chaty-main-widget '+a.is_mobile+' '+a.is_desktop+' " >', i += '<a href="tel:' + a.value + '">', 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>"),
91
+ "viber" == t && (i += '<div class="chaty-widget-i chaty-main-widget '+a.is_mobile+' '+a.is_desktop+' " data-title="' + a.value + '">', i += '<a href="viber://chat?number=' + a.value+ '">', 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>"),
92
+ "vkontakte" == t && (i += '<div class="chaty-widget-i chaty-main-widget '+a.is_mobile+' '+a.is_desktop+' " data-title="' + a.value + '">', i += '<a href="https://vk.me/' + a.value + ' "target="'+currentTarget+ '" data-mobile-target="'+mobileTarget+'" data-desktop-target="'+desktopTarget+'" >', 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>"),
93
+ "waze" == t && (i += '<div class="chaty-widget-i chaty-main-widget '+a.is_mobile+' '+a.is_desktop+' " data-title="' + a.value + ' "target="'+currentTarget+ '" data-mobile-target="'+mobileTarget+'" data-desktop-target="'+desktopTarget+'" >', i += '<a href="' + a.value + ' "target="'+currentTarget+ '" data-mobile-target="'+mobileTarget+'" data-desktop-target="'+desktopTarget+'" >', 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>"),
94
+ "whatsapp" == t && (i += '<div class="chaty-widget-i chaty-main-widget '+a.is_mobile+' '+a.is_desktop+' " data-title="' + a.value + '">', i += '<a href="https://api.whatsapp.com/send?phone=' + a.value + '" >', 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>"),
95
+ "line" == t && (i += '<div class="chaty-widget-i chaty-main-widget '+a.is_mobile+' '+a.is_desktop+' " data-title="' + a.value + ' "target="'+currentTarget+ '" data-mobile-target="'+mobileTarget+'" data-desktop-target="'+desktopTarget+'" >', i += '<a href="' + a.value + ' "target="'+currentTarget+ '" data-mobile-target="'+mobileTarget+'" data-desktop-target="'+desktopTarget+'" >', 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>"),
96
+ "wechat" == t && (i += '<div class="chaty-widget-i chaty-main-widget '+a.is_mobile+' '+a.is_desktop+' " data-title="' + a.value + ' "target="'+currentTarget+ '" data-mobile-target="'+mobileTarget+'" data-desktop-target="'+desktopTarget+'" >', 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: " + a.value + "</p>", i += "</div>"), i += "</div>")
97
  }), i
98
  }
99
 
150
  }
151
 
152
  function r(t) {
153
+ var e;
154
+ if(jQuery("body").hasClass("chaty-in-desktop")) {
155
+ e = t || n.find(".chaty-widget-is .chaty-widget-i.is-in-desktop").length;
156
+ } else {
157
+ e = t || n.find(".chaty-widget-is .chaty-widget-i.is-in-mobile").length;
158
+ }
159
  n.find(".chaty-widget-i").css({
160
  height: o + "px",
161
  width: o + "px"
209
  "use strict";
210
  t(this).find(".chaty-widget-i").toggleClass("hover")
211
  });
212
+ var activeWidget = 0;
213
+ if(jQuery("body").hasClass("chaty-in-desktop")) {
214
+ activeWidget = jQuery(".chaty-widget-is .chaty-widget-i.is-in-desktop").length;
215
+ } else {
216
+ activeWidget = jQuery(".chaty-widget-is .chaty-widget-i.is-in-mobile").length;
217
+ }
218
+ if(activeWidget == 0) {
219
+ jQuery(".chaty-widget").addClass("hide-widget").removeClass("desktop_active").removeClass("mobile_active");
220
+ } else {
221
+ jQuery(".chaty-widget").removeClass("hide-widget").addClass("desktop_active").addClass("mobile_active");;
222
+ if(activeWidget == 1) {
223
+ jQuery(".chaty-close-settings").hide();
224
+ if(jQuery("body").hasClass("chaty-in-desktop")) {
225
+ htmlToAdd = jQuery(".chaty-widget-is .chaty-widget-i.is-in-desktop:first").clone();
226
+ jQuery(".i-trigger").html(htmlToAdd);
227
+ } else {
228
+ htmlToAdd = jQuery(".chaty-widget-is .chaty-widget-i.is-in-mobile:first").clone();
229
+ jQuery(".i-trigger").html(htmlToAdd);
230
+ }
231
+ jQuery(".chaty-widget-i-title p").text(chaty_settings.object_settings.cta);
232
+ jQuery(".chaty-widget").addClass("one_widget");
233
+ } else {
234
+ jQuery(".chaty-widget").removeClass("one_widget");
235
+ jQuery(".i-trigger .chaty-main-widget").remove();
236
+ jQuery(".chaty-close-settings").show();
237
+ }
238
+ }
239
+
240
+ if(activeWidget == 1) {
241
  jQuery(".chaty-widget").addClass("chaty-widget-show");
242
  jQuery(".chaty-widget-is").css("top", "auto");
243
  jQuery(".chaty-widget-is").css("z-index", "10001");
244
+ jQuery(".chaty-widget-i.i-trigger-close, .i-trigger.chaty-widget-i").hide();
245
  jQuery(".chaty-widget .get a").css("top", "-10px");
246
  jQuery(".chaty-widget").addClass("one_widget");
247
  jQuery(".chaty-widget-i:first .chaty-widget-i-title:last p").text(e.object_settings.cta);
260
  jQuery(this).remove();
261
  }
262
  });
263
+ });
264
+ jQuery.ajax({
265
+ url: chaty_settings.object_settings.ajax_url,
266
+ data: "action=chaty_check_for_mobile&time="+Math.random(),
267
+ type: "post",
268
+ success: function(response) {
269
+ jQuery("body").removeClass("chaty-in-desktop").removeClass("chaty-in-mobile");
270
+ if(response == "yes") {
271
+ jQuery("body").addClass("chaty-in-mobile");
272
+ } else {
273
+ jQuery("body").addClass("chaty-in-desktop");
274
+ }
275
+ jQuery(".i-trigger").find(".chaty-main-widget").remove();
276
+ jQuery(".chaty-close-settings").show();
277
+ var activeWidget = 0;
278
+ if(jQuery("body").hasClass("chaty-in-desktop")) {
279
+ activeWidget = jQuery(".chaty-widget-is .chaty-widget-i.is-in-desktop").length;
280
+ } else {
281
+ activeWidget = jQuery(".chaty-widget-is .chaty-widget-i.is-in-mobile").length;
282
+ }
283
+ if(activeWidget == 0) {
284
+ jQuery(".chaty-widget").addClass("hide-widget").removeClass("desktop_active");
285
+ } else {
286
+ jQuery(".chaty-widget").removeClass("hide-widget").addClass("desktop_active");
287
+ if(activeWidget == 1) {
288
+ jQuery(".chaty-close-settings").hide();
289
+ if(jQuery("body").hasClass("chaty-in-desktop")) {
290
+ htmlToAdd = jQuery(".chaty-widget-is .chaty-widget-i.is-in-desktop").clone();
291
+ jQuery(".i-trigger").html(htmlToAdd);
292
+ } else {
293
+ htmlToAdd = jQuery(".chaty-widget-is .chaty-widget-i.is-in-mobile").clone();
294
+ jQuery(".i-trigger").html(htmlToAdd);
295
+ }
296
+ jQuery(".i-trigger .chaty-widget-i-title p").text(chaty_settings.object_settings.cta);
297
+ jQuery(".chaty-widget").addClass("one_widget");
298
+ } else {
299
+ jQuery(".chaty-widget").removeClass("one_widget");
300
+ jQuery(".i-trigger .chaty-main-widget").remove();
301
+ jQuery(".chaty-close-settings").show();
302
+ }
303
+ }
304
+ }
305
  })
306
  })
307
  }(jQuery)
assets/js/cht-scripts.min.js CHANGED
@@ -279,7 +279,7 @@
279
  }
280
  }
281
  }), e(".btn-help").click(function (e) {
282
- window.open("https://premio.io/downloads/chaty/#faq", "_blank")
283
  }), e(".free-custom-radio, .free-custom-checkbox").on("click", function (e) {
284
  e.preventDefault()
285
  });
@@ -292,7 +292,11 @@
292
 
293
  function d() {
294
  var t, o, a = !1;
295
- h() ? (0 === e(".js-chanel-desktop:checked").length && (t = !1), 1 === e(".js-chanel-desktop:checked").length && (t = e('.icon[data-title="' + e(".js-chanel-desktop:checked").attr("data-type") + '"]').html()), e(".js-chanel-desktop:checked").length > 1 && (t = l, a = !0)) : (0 === e(".js-chanel-mobile:checked").length && (o = !1), 1 === e(".js-chanel-mobile:checked").length && (o = e('.icon[data-title="' + e(".js-chanel-mobile:checked").attr("data-type") + '"]').html()), e(".js-chanel-mobile:checked").length > 1 && (o = l, a = !0)), c = t, s = o, h() ? p(c, a) : p(s, a)
 
 
 
 
296
  }
297
 
298
  function p(t, o) {
279
  }
280
  }
281
  }), e(".btn-help").click(function (e) {
282
+ window.open("https://premio.io/help/chaty/", "_blank")
283
  }), e(".free-custom-radio, .free-custom-checkbox").on("click", function (e) {
284
  e.preventDefault()
285
  });
292
 
293
  function d() {
294
  var t, o, a = !1;
295
+ h() ? (0 === e(".js-chanel-desktop:checked").length && (t = !1),
296
+ 1 === e(".js-chanel-desktop:checked").length && (t = e('.icon[data-title="' + e(".js-chanel-desktop:checked").attr("data-type") + '"]').html()),
297
+ e(".js-chanel-desktop:checked").length > 1 && (t = l, a = !0)) : (0 === e(".js-chanel-desktop:checked").length && (o = !1),
298
+ 1 === e(".js-chanel-mobile:checked").length && (o = e('.icon[data-title="' + e(".js-chanel-mobile:checked").attr("data-type") + '"]').html()),
299
+ e(".js-chanel-mobile:checked").length > 1 && (o = l, a = !0)), c = t, s = o, h() ? p(c, a) : p(s, a)
300
  }
301
 
302
  function p(t, o) {
cht-icons.php CHANGED
@@ -5,7 +5,7 @@
5
  Description: Chat with your website visitors via their favorite channels. Show a chat icon on the bottom of your site and communicate with your customers.
6
  Author: Premio
7
  Author URI: https://premio.io/downloads/chaty/
8
- Version: 2.2.3
9
  License: GPL2
10
  */
11
 
@@ -23,7 +23,7 @@ define('CHT_INC', CHT_DIR . '/includes');
23
  define('CHT_PRO_URL', admin_url("admin.php?page=chaty-app-upgrade"));
24
  define('CHT_PLUGIN_URL', plugins_url() . "/chaty/");
25
  define('CHT_PLUGIN_BASE', plugin_basename(CHT_FILE));
26
- define('CHT_VERSION', "2.2.3");
27
 
28
  if (!function_exists('wp_doing_ajax')) {
29
  function wp_doing_ajax()
@@ -88,6 +88,9 @@ if(!function_exists("cht_clear_all_caches")) {
88
  require_once CHT_INC . '/class-cht-icons.php';
89
  require_once CHT_FRONT_INC . '/class-frontend.php';
90
 
 
 
 
91
 
92
  add_action('activated_plugin', 'cht_activation_redirect');
93
 
@@ -116,6 +119,12 @@ function cht_install()
116
  update_option('cht_widget_img', '');
117
  update_option('cht_color', '#A886CD');
118
  }
 
 
 
 
 
 
119
  }
120
 
121
  function cht_activation_redirect($plugin)
5
  Description: Chat with your website visitors via their favorite channels. Show a chat icon on the bottom of your site and communicate with your customers.
6
  Author: Premio
7
  Author URI: https://premio.io/downloads/chaty/
8
+ Version: 2.2.4
9
  License: GPL2
10
  */
11
 
23
  define('CHT_PRO_URL', admin_url("admin.php?page=chaty-app-upgrade"));
24
  define('CHT_PLUGIN_URL', plugins_url() . "/chaty/");
25
  define('CHT_PLUGIN_BASE', plugin_basename(CHT_FILE));
26
+ define('CHT_VERSION', "2.2.4");
27
 
28
  if (!function_exists('wp_doing_ajax')) {
29
  function wp_doing_ajax()
88
  require_once CHT_INC . '/class-cht-icons.php';
89
  require_once CHT_FRONT_INC . '/class-frontend.php';
90
 
91
+ require_once CHT_INC . '/class-affiliate.php';
92
+
93
+
94
 
95
  add_action('activated_plugin', 'cht_activation_redirect');
96
 
119
  update_option('cht_widget_img', '');
120
  update_option('cht_color', '#A886CD');
121
  }
122
+
123
+ $option = get_option("Chaty_show_affiliate_box_after");
124
+ if($option === false || empty($option)) {
125
+ $date = date("Y-m-d", strtotime("+5 days"));
126
+ add_option("Chaty_show_affiliate_box_after", $date);
127
+ }
128
  }
129
 
130
  function cht_activation_redirect($plugin)
frontend/class-frontend.php CHANGED
@@ -24,7 +24,20 @@ class CHT_Frontend extends CHT_Admin_Base
24
  add_action('wp_ajax_add_token', array($this, 'add_token'));
25
  add_action('wp_ajax_del_token', array($this, 'del_token'));
26
  }
27
- add_action('wp_footer', array($this, 'insert_widget'));
 
 
 
 
 
 
 
 
 
 
 
 
 
28
  }
29
 
30
  /**
@@ -124,14 +137,14 @@ class CHT_Frontend extends CHT_Admin_Base
124
  $channel_slug = strtolower($channel_id);
125
  ?>
126
  <label class="channels__view" for="<?php echo esc_attr($channel_id); ?>Desktop">
127
- <input type="checkbox" id="<?php echo esc_attr($channel_id); ?>Desktop" class="channels__view-check js-chanel-icon js-chanel-desktop" data-type="<?php esc_attr_e($channel_slug); ?>"
128
  name="cht_social_<?php echo esc_attr($item['slug']); ?>[is_desktop]" value="checked" data-gramm_editor="false" <?php esc_attr_e($social_opt['is_desktop']) ?> >
129
  <span class="channels__view-txt">Desktop</label>
130
  </label>
131
  <label class="channels__view"
132
  for="<?php echo esc_attr($channel_id); ?>Mobile">
133
  <input type="checkbox" id="<?php echo esc_attr($channel_id); ?>Mobile" class="channels__view-check js-chanel-icon js-chanel-mobile"
134
- data-type="<?php esc_attr_e($channel_slug); ?>" name="cht_social_<?php echo esc_attr($item['slug']); ?>[is_mobile]" value="checked" data-gramm_editor="false" <?php esc_attr_e($social_opt['is_mobile']) ?> >
135
  <span class="channels__view-txt">Mobile</span>
136
  </label>
137
  </div>
@@ -141,12 +154,17 @@ class CHT_Frontend extends CHT_Admin_Base
141
  <div class="input-example">
142
  <?php esc_attr_e('For example', CHT_OPT); ?>: <?php esc_attr_e($item['example']); ?>
143
  </div>
144
- <?php if(isset($item['help']) && !empty($item['help'])) {
145
- $help_text = isset($item['help_title'])?$item['help_title']:"Doesn't work?";
146
- ?>
147
  <div class="viber-help">
148
- <span><?php echo $item['help']; ?></span>
149
- <?php echo esc_attr_e($help_text); ?>
 
 
 
 
 
 
150
  </div>
151
  <?php } ?>
152
  </div>
@@ -235,13 +253,16 @@ class CHT_Frontend extends CHT_Admin_Base
235
  $social = explode(",", $social);
236
 
237
  $arr = array();
 
238
  foreach ($social as $key_soc):
239
  foreach ($this->socials as $social) :
240
  if ($social['slug'] != $key_soc) {
241
  continue;
242
  }
243
  if ($value = get_option('cht_social_' . $social['slug'])) {
244
- if (!empty($value['value']) && (wp_is_mobile() ? isset($value['is_mobile']) : isset($value['is_desktop']))) {
 
 
245
  $arr[strtolower($social['slug'])] = $value['value'];
246
  if($social['slug'] == "Viber") {
247
  $val = $value['value'];
@@ -258,6 +279,11 @@ class CHT_Frontend extends CHT_Admin_Base
258
  $val = $value['value'];
259
  $val = str_replace("+","", $val);
260
  $arr[strtolower($social['slug'])] = $val;
 
 
 
 
 
261
  } else if($social['slug'] == "Facebook_Messenger") {
262
  $val = $value['value'];
263
  $val = str_replace("facebook.com","m.me", $val);
@@ -266,6 +292,20 @@ class CHT_Frontend extends CHT_Admin_Base
266
  $val = str_replace("http:", "https:", $val);
267
  $value['value'] = $val;
268
  $arr[strtolower($social['slug'])] = $value['value'];
 
 
 
 
 
 
 
 
 
 
 
 
 
 
269
  } else if($social['slug'] == "Link" || $social['slug'] == "Custom_Link") {
270
  echo $is_exist = strpos($value['value'], "javascript");
271
  if(strpos($value['value'], "javascript") === false) {
@@ -274,12 +314,36 @@ class CHT_Frontend extends CHT_Admin_Base
274
  $arr[strtolower($social['slug'])] = $value['value'];
275
  }
276
  $value['value'] = $value['value'];
277
- $arr[strtolower($social['slug'])] = $value['value'];
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
278
  }
279
  };
280
  endforeach;
281
  endforeach;
282
- return $arr;
 
283
  }
284
 
285
  public function insert_widget()
@@ -300,7 +364,7 @@ class CHT_Frontend extends CHT_Admin_Base
300
  $res = false;
301
  foreach ($social as $name) {
302
  $value = get_option('cht_social_' . strtolower($name));
303
- $res = $res || !empty($value['value']) && (wp_is_mobile() ? isset($value['is_mobile']) : isset($value['is_desktop']));
304
  }
305
  return $res;
306
  }
24
  add_action('wp_ajax_add_token', array($this, 'add_token'));
25
  add_action('wp_ajax_del_token', array($this, 'del_token'));
26
  }
27
+ add_action('wp_head', array($this, 'insert_widget'));
28
+
29
+ add_action('wp_ajax_chaty_check_for_mobile', array($this, 'chaty_check_for_mobile')); // initialize widget in footer
30
+ add_action('wp_ajax_nopriv_chaty_check_for_mobile', array($this, 'chaty_check_for_mobile'));
31
+ }
32
+
33
+
34
+ public function chaty_check_for_mobile() {
35
+ if(wp_is_mobile()) {
36
+ echo "yes";
37
+ } else {
38
+ echo "no";
39
+ }
40
+ wp_die();
41
  }
42
 
43
  /**
137
  $channel_slug = strtolower($channel_id);
138
  ?>
139
  <label class="channels__view" for="<?php echo esc_attr($channel_id); ?>Desktop">
140
+ <input type="checkbox" id="<?php echo esc_attr($channel_id); ?>Desktop" class="channels__view-check js-chanel-icon js-chanel-desktop" data-type="<?php echo esc_attr($item['title']); ?>"
141
  name="cht_social_<?php echo esc_attr($item['slug']); ?>[is_desktop]" value="checked" data-gramm_editor="false" <?php esc_attr_e($social_opt['is_desktop']) ?> >
142
  <span class="channels__view-txt">Desktop</label>
143
  </label>
144
  <label class="channels__view"
145
  for="<?php echo esc_attr($channel_id); ?>Mobile">
146
  <input type="checkbox" id="<?php echo esc_attr($channel_id); ?>Mobile" class="channels__view-check js-chanel-icon js-chanel-mobile"
147
+ data-type="<?php echo esc_attr($item['title']); ?>" name="cht_social_<?php echo esc_attr($item['slug']); ?>[is_mobile]" value="checked" data-gramm_editor="false" <?php esc_attr_e($social_opt['is_mobile']) ?> >
148
  <span class="channels__view-txt">Mobile</span>
149
  </label>
150
  </div>
154
  <div class="input-example">
155
  <?php esc_attr_e('For example', CHT_OPT); ?>: <?php esc_attr_e($item['example']); ?>
156
  </div>
157
+ <!-- checking for extra help message for social media -->
158
+ <?php if((isset($item['help']) && !empty($item['help'])) || isset($item['help_link'])) { ?>
 
159
  <div class="viber-help">
160
+ <?php if(isset($item['help_link'])) { ?>
161
+ <?php $help_text = isset($item['help_title'])?$item['help_title']:"Doesn't work?"; ?>
162
+ <a href="<?php echo esc_url($item['help_link']) ?>" target="_blank"><?php esc_attr_e($help_text); ?></a>
163
+ <?php } else { ?>
164
+ <?php $help_title = isset($item['help_title'])?$item['help_title']:"Doesn't work?" ?>
165
+ <span><?php echo $item['help']; ?></span>
166
+ <?php esc_attr_e($help_title) ?>
167
+ <?php } ?>
168
  </div>
169
  <?php } ?>
170
  </div>
253
  $social = explode(",", $social);
254
 
255
  $arr = array();
256
+ $output = array();
257
  foreach ($social as $key_soc):
258
  foreach ($this->socials as $social) :
259
  if ($social['slug'] != $key_soc) {
260
  continue;
261
  }
262
  if ($value = get_option('cht_social_' . $social['slug'])) {
263
+ if ($value) {
264
+ $desktop_target = "";
265
+ $mobile_target = "";
266
  $arr[strtolower($social['slug'])] = $value['value'];
267
  if($social['slug'] == "Viber") {
268
  $val = $value['value'];
279
  $val = $value['value'];
280
  $val = str_replace("+","", $val);
281
  $arr[strtolower($social['slug'])] = $val;
282
+ if(wp_is_mobile()) {
283
+ $mobile_target = "";
284
+ } else {
285
+ $desktop_target = "_blank";
286
+ }
287
  } else if($social['slug'] == "Facebook_Messenger") {
288
  $val = $value['value'];
289
  $val = str_replace("facebook.com","m.me", $val);
292
  $val = str_replace("http:", "https:", $val);
293
  $value['value'] = $val;
294
  $arr[strtolower($social['slug'])] = $value['value'];
295
+
296
+ $val = trim($val, "/");
297
+ $val_array = explode("/", $val);
298
+ $total = count($val_array)-1;
299
+ $last_value = $val_array[$total];
300
+ $last_value = explode("-", $last_value);
301
+ $total_text = count($last_value)-1;
302
+ $total_text = $last_value[$total_text];
303
+
304
+ if(is_numeric($total_text)) {
305
+ $val_array[$total] = $total_text;
306
+ $val = implode("/", $val_array);
307
+ $value['value'] = $val;
308
+ }
309
  } else if($social['slug'] == "Link" || $social['slug'] == "Custom_Link") {
310
  echo $is_exist = strpos($value['value'], "javascript");
311
  if(strpos($value['value'], "javascript") === false) {
314
  $arr[strtolower($social['slug'])] = $value['value'];
315
  }
316
  $value['value'] = $value['value'];
317
+
318
+ $slug = strtolower($social['slug']);
319
+ if(in_array($slug, array("telegram", "line", "link", "custom_link", "google_maps", "waze", "poptin", "snapchat", "vkontakte", "twitter", "instagram", "linkedin", "facebook_messenger", "whatsapp"))) {
320
+ $desktop_target = "_blank";
321
+ $mobile_target = "_blank";
322
+ }
323
+
324
+ if(in_array($social['slug'], array("facebook_messenger", "whatsapp")) && wp_is_mobile()) {
325
+ $mobile_target = "";
326
+ }
327
+
328
+ $is_mobile = isset($value['is_mobile']) ? "is-in-mobile" : 0;
329
+ $is_desktop = isset($value['is_desktop']) ? "is-in-desktop" : 0;
330
+
331
+ if(!empty($value['value'])) {
332
+ $data = array(
333
+ "value" => $value['value'],
334
+ "is_mobile" => $is_mobile,
335
+ "is_desktop" => $is_desktop,
336
+ "desktop_target" => $desktop_target,
337
+ "mobile_target" => $mobile_target,
338
+ );
339
+ $output[strtolower($social['slug'])] = $data;
340
+ }
341
  }
342
  };
343
  endforeach;
344
  endforeach;
345
+ // echo "<pre>"; print_r($output); die;
346
+ return $output;
347
  }
348
 
349
  public function insert_widget()
364
  $res = false;
365
  foreach ($social as $name) {
366
  $value = get_option('cht_social_' . strtolower($name));
367
+ $res = $res || !empty($value['value']);
368
  }
369
  return $res;
370
  }
includes/class-affiliate.php ADDED
@@ -0,0 +1,169 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ class Chaty_affiliate_program {
3
+
4
+ public $plugin = "Chaty";
5
+
6
+ public function __construct() {
7
+ add_action("wp_ajax_".$this->plugin."_affiliate_program", array($this, "affiliate_program"));
8
+
9
+ add_action('admin_notices', array($this, 'admin_notices'));
10
+ }
11
+
12
+ public function affiliate_program() {
13
+ $nonce = filter_input(INPUT_POST, 'nonce', FILTER_SANITIZE_STRING);
14
+ $days = filter_input(INPUT_POST, 'days', FILTER_SANITIZE_STRING);
15
+ if(!empty($nonce) && wp_verify_nonce($nonce, $this->plugin."_affiliate_program")) {
16
+ if($days == -1) {
17
+ add_option($this->plugin."_hide_affiliate_box", "1");
18
+ } else {
19
+ $date = date("Y-m-d", strtotime("+".$days." days"));
20
+ update_option($this->plugin."_show_affiliate_box_after", $date);
21
+ }
22
+ }
23
+ die;
24
+ }
25
+
26
+ public function admin_notices() {
27
+ $is_hidden = get_option($this->plugin."_hide_affiliate_box");
28
+ if($is_hidden !== false) {
29
+ return;
30
+ }
31
+ $date_to_show = get_option($this->plugin."_show_affiliate_box_after");
32
+ if($date_to_show === false || empty($date_to_show)) {
33
+ $date = date("Y-m-d", strtotime("+5 days"));
34
+ update_option($this->plugin."_show_affiliate_box_after", $date);
35
+ return;
36
+ }
37
+ $current_date = date("Y-m-d");
38
+ if($current_date < $date_to_show) {
39
+ return;
40
+ }
41
+ ?>
42
+ <style>
43
+ .premio-affiliate p a {
44
+ display: inline-block;
45
+ float: right;
46
+ text-decoration: none;
47
+ color: #999999;
48
+ position: absolute;
49
+ right: 12px;
50
+ top: 12px;
51
+ }
52
+ .premio-affiliate p a:hover, .premio-affiliate p a:focus {
53
+ color: #333333;
54
+ }
55
+ .premio-affiliate .button span {
56
+ display: inline-block;
57
+ line-height: 27px;
58
+ font-size: 16px;
59
+ }
60
+ .premio-affiliate {
61
+ padding: 1px 100px 12px 12px;
62
+ margin: 15px 15px 2px;
63
+ position: relative;
64
+ }
65
+ .affiliate-popup {
66
+ position: fixed;
67
+ width: 100%;
68
+ height: 100%;
69
+ z-index: 10001;
70
+ background: rgba(0,0,0,0.65);
71
+ top: 0;
72
+ left: 0;
73
+ display: none;
74
+ }
75
+ .affiliate-popup-content {
76
+ background: #ffffff;
77
+ padding: 20px;
78
+ position: absolute;
79
+ max-width: 450px;
80
+ width: 100%;
81
+ margin: 0 auto;
82
+ top: 45%;
83
+ left: 0;
84
+ right: 0;
85
+ -webkit-border-radius: 5px;
86
+ -moz-border-radius: 5px;
87
+ border-radius: 5px;: ;
88
+ }
89
+ .affiliate-title {
90
+ padding: 0 0 10px 0;
91
+ font-weight: bold;
92
+ }
93
+ .affiliate-options a {
94
+ display: block;
95
+ margin: 5px 0 5px 0;
96
+ color: #333;
97
+ text-decoration: none;
98
+ }
99
+ .affiliate-options a.dismiss {
100
+ color: #999;
101
+ }
102
+ .affiliate-options a:hover, .affiliate-options a:focus {
103
+ color: #0073aa;
104
+ }
105
+ button.close-affiliate-popup {
106
+ position: absolute;
107
+ top: 5px;
108
+ right: 0;
109
+ border: none;
110
+ background: transparent;
111
+ cursor: pointer;
112
+ }
113
+ a.button.button-primary.affiliate-btn {
114
+ font-size: 14px;
115
+ background: #F51366;
116
+ color: #fff;
117
+ border: solid 1px #F51366;
118
+ border-radius: 3px;
119
+ line-height: 24px;
120
+ -webkit-box-shadow: 0 3px 5px -3px #333333;
121
+ -moz-box-shadow: 0 3px 5px -3px #333333;
122
+ box-shadow: 0 3px 5px -3px #333333;
123
+ text-shadow: none;
124
+ }
125
+ </style>
126
+ <div class="notice notice-info chaty-notice premio-affiliate <?php echo $this->plugin ?>-premio-affiliate">
127
+ <p>Hi there, you've been using Chaty for a while now. Do you know that <b><?php echo $this->plugin ?></b> has an affiliate program? Join now and get 25% lifetime commission <a href="javascript:;" class="dismiss-btn"><span class="dashicons dashicons-no-alt"></span> Dismiss</a></p>
128
+ <div class="clear clearfix"></div>
129
+ <a class="button button-primary affiliate-btn" target="_blank" href="https://premio.io/affiliates/?utm_source=inapp&domain=<?php echo $_SERVER['HTTP_HOST'] ?>">Tell me more <span class="dashicons dashicons-arrow-right-alt"></span></a>
130
+ </div>
131
+ <div class="affiliate-popup">
132
+ <div class="affiliate-popup-content">
133
+ <button class="close-affiliate-popup"><span class="dashicons dashicons-no-alt"></span></button>
134
+ <div class="affiliate-title">Would you like us to remind you about this later?</div>
135
+ <div class="affiliate-options">
136
+ <a href="javascript:;" data-days="3">Remind me in 3 days</a>
137
+ <a href="javascript:;" data-days="10">Remind me in 10 days</a>
138
+ <a href="javascript:;" data-days="-1" class="dismiss">Don't remind me about this</a>
139
+ </div>
140
+ </div>
141
+ </div>
142
+ <script>
143
+ jQuery(document).ready(function(){
144
+ jQuery(document).on("click", ".premio-affiliate p a.dismiss-btn", function(){
145
+ jQuery(".affiliate-popup").show();
146
+ });
147
+ jQuery(document).on("click", ".close-affiliate-popup", function(){
148
+ jQuery(".affiliate-popup").hide();
149
+ });
150
+ jQuery(document).on("click", ".affiliate-options a", function(){
151
+ var dataDays = jQuery(this).attr("data-days");
152
+ jQuery(".affiliate-popup").hide();
153
+ jQuery(".<?php echo $this->plugin ?>-premio-affiliate").hide();
154
+ jQuery.ajax({
155
+ url: "<?php echo admin_url("admin-ajax.php") ?>",
156
+ data: "action=<?php echo esc_attr($this->plugin) ?>_affiliate_program&days="+dataDays+"&nonce=<?php echo esc_attr(wp_create_nonce($this->plugin."_affiliate_program")) ?>",
157
+ type: "post",
158
+ success: function() {
159
+ jQuery(".affiliate-popup").remove();
160
+ jQuery(".<?php echo $this->plugin ?>-premio-affiliate").remove();
161
+ }
162
+ });
163
+ });
164
+ });
165
+ </script>
166
+ <?php
167
+ }
168
+ }
169
+ $Chaty_affiliate_program = new Chaty_affiliate_program();
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: galdub, tomeraharon, premio
3
  Tags: whatsapp, facebook messenger, click to chat, chat, chat button, call now button, messenger, whatsapp button, chat icon, messenger chat icon, contact button, click to call
4
  Requires at least: 3.1
5
  Tested up to: 5.2
6
- Stable tag: 2.2.3
7
  Plugin URI: https://premio.io/downloads/chaty/
8
 
9
  Let your visitors contact you via Facebook Messenger, Whatsapp, Telegram, Viber, Email, Phone call, SMS and more with customizable chat & call buttons
@@ -116,6 +116,8 @@ You will get all the features of the free plan, plus:
116
 
117
  * Launch a Poptin popup - add a ‘direct link’ of your popup from your Poptin.com account, and launch a popup with a contact form when the visitor clicks on the button.
118
 
 
 
119
  = Chaty is GDPR complaint =
120
  We don't store any local data about your visitors. Any time your visitors click on any your the channels buttons, Chaty will forward the visitor to the relevant platform without saving any local data about it.
121
 
@@ -133,7 +135,7 @@ You can choose up to two channels (unlimited in the pro plan), display the widge
133
  No. you can use the free plan as long as you want.
134
 
135
  = Will Chaty work with any theme and page builder? =
136
- Yes! Chaty works great with all themes and page builders including Elementor, Divi, Visual Composer, WPBakery Gutenberg, WooCommerce and more
137
 
138
  = Can I show a Click To Call button on my site? =
139
  Yes! Just choose the Phone icon and add your phone number.
@@ -176,6 +178,9 @@ Yes! You can even decide what chat buttons will show up on each device (desktop/
176
 
177
  == Changelog ==
178
 
 
 
 
179
  = 2.2.3 =
180
  Improved validation for click to call, WhatsApp, Viber, and SMS
181
 
3
  Tags: whatsapp, facebook messenger, click to chat, chat, chat button, call now button, messenger, whatsapp button, chat icon, messenger chat icon, contact button, click to call
4
  Requires at least: 3.1
5
  Tested up to: 5.2
6
+ Stable tag: 2.2.4
7
  Plugin URI: https://premio.io/downloads/chaty/
8
 
9
  Let your visitors contact you via Facebook Messenger, Whatsapp, Telegram, Viber, Email, Phone call, SMS and more with customizable chat & call buttons
116
 
117
  * Launch a Poptin popup - add a ‘direct link’ of your popup from your Poptin.com account, and launch a popup with a contact form when the visitor clicks on the button.
118
 
119
+ Chaty works great with all themes and page builders including Elementor, Divi, Visual Composer, WPBakery, Beaver, SiteOrigin, Gutenberg, WooCommerce and more
120
+
121
  = Chaty is GDPR complaint =
122
  We don't store any local data about your visitors. Any time your visitors click on any your the channels buttons, Chaty will forward the visitor to the relevant platform without saving any local data about it.
123
 
135
  No. you can use the free plan as long as you want.
136
 
137
  = Will Chaty work with any theme and page builder? =
138
+ Yes! Chaty works great with all themes and page builders including Elementor, Divi, Visual Composer, WPBakery, Beaver, SiteOrigin, Gutenberg, WooCommerce and more
139
 
140
  = Can I show a Click To Call button on my site? =
141
  Yes! Just choose the Phone icon and add your phone number.
178
 
179
  == Changelog ==
180
 
181
+ = 2.2.4 =
182
+ Better support for cache plugins. It's much easier to add the Facebook Messenger icon now. We've also added explanation for the line.me icon
183
+
184
  = 2.2.3 =
185
  Improved validation for click to call, WhatsApp, Viber, and SMS
186
 
views/admin.php CHANGED
@@ -17,7 +17,7 @@ if (!$is_pro) {
17
  $cht_license_key = get_option('cht_license_key');
18
  $pro_class = (!$is_pro && $cht_license_key !== "")?"none_pro":"";
19
  ?>
20
-
21
  <div class="container <?php esc_attr_e($pro_class) ?>" dir="ltr">
22
  <?php require_once 'parts/custom-styles.php'; ?>
23
  <header class="header">
@@ -96,10 +96,11 @@ $pro_class = (!$is_pro && $cht_license_key !== "")?"none_pro":"";
96
  }
97
  }
98
  if (jQuery("#cht-form #Facebook_Messenger").length && jQuery("#cht-form #Facebook_Messenger").val() != "") {
99
- faceBookReg = /(?:http:\/\/)?(?:www\.)?m\.me\/(?:(?:\w)*#!\/)?(?:pages\/)?(?:[\w\-]*\/)*([\w\-]*)/;
 
100
  InputVal = jQuery.trim(jQuery("#Facebook_Messenger").val());
101
  jQuery("#cht-form #Facebook_Messenger").val(InputVal);
102
- if (!faceBookReg.test(InputVal)) {
103
  alert("Please make sure your Facebook page's URL looks like, \nhttps://m.me/YOURPAGE");
104
  jQuery("#cht-form #Facebook_Messenger").focus();
105
  return false;
17
  $cht_license_key = get_option('cht_license_key');
18
  $pro_class = (!$is_pro && $cht_license_key !== "")?"none_pro":"";
19
  ?>
20
+ <h2></h2>
21
  <div class="container <?php esc_attr_e($pro_class) ?>" dir="ltr">
22
  <?php require_once 'parts/custom-styles.php'; ?>
23
  <header class="header">
96
  }
97
  }
98
  if (jQuery("#cht-form #Facebook_Messenger").length && jQuery("#cht-form #Facebook_Messenger").val() != "") {
99
+ faceBookMeReg = /(?:http:\/\/)?m\.me\/(?:(?:\w)*#!\/)?(?:pages\/)?(?:[\w\-]*\/)*([\w\-]*)/;
100
+ faceBookReg = /(?:http:\/\/)?facebook\.com\/(?:(?:\w)*#!\/)?(?:pages\/)?(?:[\w\-]*\/)*([\w\-]*)/;
101
  InputVal = jQuery.trim(jQuery("#Facebook_Messenger").val());
102
  jQuery("#cht-form #Facebook_Messenger").val(InputVal);
103
+ if (!faceBookReg.test(InputVal) && !faceBookMeReg.test(InputVal)) {
104
  alert("Please make sure your Facebook page's URL looks like, \nhttps://m.me/YOURPAGE");
105
  jQuery("#cht-form #Facebook_Messenger").focus();
106
  return false;
views/parts/section1.php CHANGED
@@ -1,6 +1,6 @@
1
- <div class="preview-section-chaty">
2
  <div class="preview" id="admin-preview">
3
- <h2><?php esc_attr_e('Preview', CHT_OPT); ?>:</h2>
4
 
5
  <div class="page">
6
  <div class="page-header">
@@ -62,7 +62,7 @@
62
  ?>
63
  <div class="chaty-widget chaty-widget-icons-<?php esc_attr_e($cht_position) ?>" style="<?php esc_attr_e($position); ?>">
64
  <div class="icon icon-xs active tooltip-show tooltip"
65
- data-title="<?php esc_attr_e($cht_cta) ?>">
66
  <i id="iconWidget">
67
  <?php $bg_color = $this->get_current_color(); ?>
68
  <?php $fill = ($bg_color) ? $bg_color : '#A886CD'; ?>
@@ -178,7 +178,7 @@
178
  active
179
  <?php } ?>
180
  <?php endforeach; ?>"
181
- data-social="<?php echo esc_attr($social['slug']); ?>" data-title="<?php esc_attr_e($slug); ?>">
182
  <svg width="39" height="39" viewBox="0 0 39 39" fill="none" xmlns="http://www.w3.org/2000/svg">
183
  <?php echo $social['svg']; ?>
184
  </svg>
@@ -225,6 +225,19 @@
225
  $val = str_replace("facebook.com","m.me", $val);
226
  $val = str_replace("www.","", $val);
227
  $value['value'] = $val;
 
 
 
 
 
 
 
 
 
 
 
 
 
228
  }
229
  $image_url = plugin_dir_url("")."/chaty/assets/images/move-icon.png";
230
  $is_pro = ($this->is_pro()) ? 'pro' : 'free';
@@ -236,7 +249,7 @@
236
  <div class="move-icon">
237
  <img src="<?php echo esc_url($image_url) ?>" >
238
  </div>
239
- <div class="icon icon-md active" data-title="<?php esc_attr_e($social['title']); ?>">
240
  <span class="default-chaty-icon custom-icon-<?php echo esc_attr($social['slug']) ?> default_image_<?php echo esc_attr($social['slug']) ?>" >
241
  <svg width="39" height="39" viewBox="0 0 39 39" fill="none" xmlns="http://www.w3.org/2000/svg">
242
  <?php echo $social['svg']; ?>
@@ -258,7 +271,7 @@
258
  <input type="checkbox"
259
  id="<?php echo esc_attr($channel_slug); ?>Desktop"
260
  class="channels__view-check js-chanel-icon js-chanel-desktop"
261
- data-type="<?php echo esc_attr($channel_slug); ?>"
262
  name="cht_social_<?php echo esc_attr($social['slug']); ?>[is_desktop]"
263
  value="checked"
264
  data-gramm_editor="false"
@@ -271,7 +284,7 @@
271
  <input type="checkbox"
272
  id="<?php echo esc_attr($channel_slug); ?>Mobile"
273
  class="channels__view-check js-chanel-icon js-chanel-mobile"
274
- data-type="<?php echo esc_attr($channel_slug); ?>"
275
  name="cht_social_<?php echo esc_attr($social['slug']); ?>[is_mobile]"
276
  value="checked"
277
  data-gramm_editor="false"
@@ -286,11 +299,16 @@
286
  <div class="input-example">
287
  <?php esc_attr_e('For example', CHT_OPT); ?>: <?php esc_attr_e($social['example']); ?>
288
  </div>
289
- <?php if(isset($social['help']) && !empty($social['help'])) { ?>
290
- <?php $help_text = isset($social['help_title'])?$social['help_title']:"Doesn't work?"; ?>
291
  <div class="viber-help">
292
- <span><?php echo $social['help']; ?></span>
293
- <?php esc_attr_e($help_text); ?>
 
 
 
 
 
 
294
  </div>
295
  <?php } ?>
296
  </div>
1
+ <div class="preview-section-chaty wrap">
2
  <div class="preview" id="admin-preview">
3
+ <div class="h2"><?php esc_attr_e('Preview', CHT_OPT); ?>:</div>
4
 
5
  <div class="page">
6
  <div class="page-header">
62
  ?>
63
  <div class="chaty-widget chaty-widget-icons-<?php esc_attr_e($cht_position) ?>" style="<?php esc_attr_e($position); ?>">
64
  <div class="icon icon-xs active tooltip-show tooltip"
65
+ data-title="<?php echo esc_attr($cht_cta) ?>">
66
  <i id="iconWidget">
67
  <?php $bg_color = $this->get_current_color(); ?>
68
  <?php $fill = ($bg_color) ? $bg_color : '#A886CD'; ?>
178
  active
179
  <?php } ?>
180
  <?php endforeach; ?>"
181
+ data-social="<?php echo esc_attr($social['slug']); ?>" data-title="<?php echo esc_attr($slug); ?>">
182
  <svg width="39" height="39" viewBox="0 0 39 39" fill="none" xmlns="http://www.w3.org/2000/svg">
183
  <?php echo $social['svg']; ?>
184
  </svg>
225
  $val = str_replace("facebook.com","m.me", $val);
226
  $val = str_replace("www.","", $val);
227
  $value['value'] = $val;
228
+
229
+ $val = trim($val, "/");
230
+ $val_array = explode("/", $val);
231
+ $total = count($val_array)-1;
232
+ $last_value = $val_array[$total];
233
+ $last_value = explode("-", $last_value);
234
+ $total_text = count($last_value)-1;
235
+ $total_text = $last_value[$total_text];
236
+
237
+ if(is_numeric($total_text)) {
238
+ $val_array[$total] = $total_text;
239
+ $value['value'] = implode("/", $val_array);
240
+ }
241
  }
242
  $image_url = plugin_dir_url("")."/chaty/assets/images/move-icon.png";
243
  $is_pro = ($this->is_pro()) ? 'pro' : 'free';
249
  <div class="move-icon">
250
  <img src="<?php echo esc_url($image_url) ?>" >
251
  </div>
252
+ <div class="icon icon-md active" data-title="<?php echo esc_attr($social['title']); ?>">
253
  <span class="default-chaty-icon custom-icon-<?php echo esc_attr($social['slug']) ?> default_image_<?php echo esc_attr($social['slug']) ?>" >
254
  <svg width="39" height="39" viewBox="0 0 39 39" fill="none" xmlns="http://www.w3.org/2000/svg">
255
  <?php echo $social['svg']; ?>
271
  <input type="checkbox"
272
  id="<?php echo esc_attr($channel_slug); ?>Desktop"
273
  class="channels__view-check js-chanel-icon js-chanel-desktop"
274
+ data-type="<?php echo esc_attr($social['title']); ?>"
275
  name="cht_social_<?php echo esc_attr($social['slug']); ?>[is_desktop]"
276
  value="checked"
277
  data-gramm_editor="false"
284
  <input type="checkbox"
285
  id="<?php echo esc_attr($channel_slug); ?>Mobile"
286
  class="channels__view-check js-chanel-icon js-chanel-mobile"
287
+ data-type="<?php echo esc_attr($social['title']); ?>"
288
  name="cht_social_<?php echo esc_attr($social['slug']); ?>[is_mobile]"
289
  value="checked"
290
  data-gramm_editor="false"
299
  <div class="input-example">
300
  <?php esc_attr_e('For example', CHT_OPT); ?>: <?php esc_attr_e($social['example']); ?>
301
  </div>
302
+ <?php if((isset($social['help']) && !empty($social['help'])) || isset($social['help_link'])) { ?>
 
303
  <div class="viber-help">
304
+ <?php if(isset($social['help_link'])) { ?>
305
+ <?php $help_text = isset($social['help_title'])?$social['help_title']:"Doesn't work?"; ?>
306
+ <a href="<?php echo esc_url($social['help_link']) ?>" target="_blank"><?php esc_attr_e($help_text); ?></a>
307
+ <?php } else { ?>
308
+ <?php $help_text = isset($social['help_title'])?$social['help_title']:"Doesn't work?"; ?>
309
+ <span><?php echo $social['help']; ?></span>
310
+ <?php esc_attr_e($help_text); ?>
311
+ <?php } ?>
312
  </div>
313
  <?php } ?>
314
  </div>
views/widget.php CHANGED
@@ -29,6 +29,8 @@ $settings['widget_img'] = $this->getCustomWidgetImg();
29
  $settings['cta'] = wp_slash($cta);
30
  $settings['link_active'] = get_option('cht_credit');
31
  $settings['isMobile'] = (wp_is_mobile())?"1":"0";
 
 
32
  $settings['active'] = ($cht_active && $len > 0 && $len < 3) ? "true" : "false";
33
  $data = array();
34
  $data['object_settings'] = $settings;
@@ -39,15 +41,15 @@ if($len > 0 && $len < 3) {
39
  .chaty-widget-is a{display: block; margin:0; padding:0; }
40
  .chaty-widget-is svg{margin:0; padding:0;}
41
  .chaty-widget.one_widget .chaty-get-btn {padding-top: 5px;}
 
 
 
 
42
  </style>
43
  <?php
44
  echo ob_get_clean();
45
- ?>
46
- <script>
47
- var chaty_settings = '<?php echo json_encode($data) ?>';
48
- </script>
49
- <?php
50
  wp_enqueue_script("chaty-front-end", CHT_PLUGIN_URL."assets/js/cht-front-script.js", array('jquery'), CHT_VERSION);
 
51
  ?>
52
  <?php
53
  }
29
  $settings['cta'] = wp_slash($cta);
30
  $settings['link_active'] = get_option('cht_credit');
31
  $settings['isMobile'] = (wp_is_mobile())?"1":"0";
32
+ $settings['is_mobile'] = (wp_is_mobile())?"1":"0";
33
+ $settings['ajax_url'] = admin_url('admin-ajax.php');
34
  $settings['active'] = ($cht_active && $len > 0 && $len < 3) ? "true" : "false";
35
  $data = array();
36
  $data['object_settings'] = $settings;
41
  .chaty-widget-is a{display: block; margin:0; padding:0; }
42
  .chaty-widget-is svg{margin:0; padding:0;}
43
  .chaty-widget.one_widget .chaty-get-btn {padding-top: 5px;}
44
+ .chaty-main-widget { display: none; }
45
+ .chaty-in-desktop .chaty-main-widget.is-in-desktop { display: block; }
46
+ .chaty-in-mobile .chaty-main-widget.is-in-mobile { display: block; }
47
+ .chaty-widget.hide-widget { display: none !important; }
48
  </style>
49
  <?php
50
  echo ob_get_clean();
 
 
 
 
 
51
  wp_enqueue_script("chaty-front-end", CHT_PLUGIN_URL."assets/js/cht-front-script.js", array('jquery'), CHT_VERSION);
52
+ wp_localize_script('chaty-front-end', 'chaty_settings', $data);
53
  ?>
54
  <?php
55
  }