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

Version Description

Added opacity options to the chat buttons, you can now decide whether you want to use the WhatsApp WAME link or WhatsApp desktop link in the WhatsApp settings, fixed an Oxygen editor bug and we've also fixed some other bugs

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

Code changes from version 2.7.4 to 2.7.5

admin/assets/css/admin-setting.css CHANGED
@@ -1 +1 @@
1
- @import url(https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap);*,:after,:before{box-sizing:border-box}#wpwrap{background:#6572db;background:-moz-linear-gradient(-45deg,#6572db 0,#ee86c6 67%,#ee86c6 100%);background:-webkit-gradient(left top,right bottom,color-stop(0,#6572db),color-stop(67%,#ee86c6),color-stop(100%,#ee86c6));background:-webkit-linear-gradient(-45deg,#6572db 0,#ee86c6 67%,#ee86c6 100%);background:-o-linear-gradient(-45deg,#6572db 0,#ee86c6 67%,#ee86c6 100%);background:-ms-linear-gradient(-45deg,#6572db 0,#ee86c6 67%,#ee86c6 100%);background:linear-gradient(135deg,#6572db 0,#ee86c6 67%,#ee86c6 100%)}.pricing-table{margin:0 0 45px;color:#28375a;font-size:16px;line-height:25px;font-family:Lato,sans-serif}.price-title{font-weight:700;font-size:24px;line-height:30px;color:#28375a;text-align:center}.price-table{background:#fff;box-sizing:border-box;border-radius:10px}.price-table-top{padding:20px;position:relative;border-radius:10px}.price-table.basic-feature{box-shadow:0 12px 44px rgba(108,203,255,.2);border:2px solid #b9eafd}.price-table.basic-feature .price-table-top{background:url(../images/basic-price-bg.png) no-repeat left top}.price-table.plus-feature{border:2px solid #f9d9bd;box-shadow:0 12px 44px rgba(239,140,106,.2)}.price-table.plus-feature .price-table-top{background:url(../images/plus-price.png) no-repeat left top}.price-table.agency-feature{border:2px solid #cfd3fb;box-shadow:0 12px 44px rgba(96,93,236,.2)}.price-table.agency-feature .price-table-top{background:url(../images/agency-price.png) no-repeat left top}.price-tables{margin:30px 0 50px}.plan-name{font-size:30px;line-height:36px;font-weight:700;color:#28375a}.plan-price{position:absolute;right:18px;top:8px;font-weight:700;font-size:60px;line-height:72px;color:#42b9fa}.price-table.plus-feature .plan-price{color:#ef8c6a}.price-table.agency-feature .plan-price{color:#605dec}.price-table.agency-feature .plan-name{color:#fff}.price-head{line-height:72px;padding:5px 0 25px 0}.price-offer,.price-websites{line-height:18px;font-size:15px}.cus-tooltip{cursor:pointer;display:inline-block;position:relative}.cus-tooltip .tooltip__content{background-color:#1849ab;border-radius:4px;bottom:150%;color:#fff;left:0;margin-left:15px;opacity:0;padding:5px 10px;position:absolute;transition:opacity .25s;visibility:hidden;width:auto;z-index:1;text-align:left;margin-right:15px;font-size:14px;line-height:20px}.cus-tooltip .tooltip__content::after{border-width:5px;border-style:solid;border-color:#1849ab transparent transparent transparent;content:"";left:25px;margin-left:-5px;position:absolute;top:100%}.cus-tooltip:hover .tooltip__content{opacity:1;visibility:visible}.price-table-middle ul{list-style:none;margin:0;padding:0}.price-table-middle ul li{display:block;width:100%;border-bottom:solid 1px #e9e9e9;padding:15px 0;margin:0}.price-table-middle ul li a{padding:0 15px;color:#28375a;font-size:16px;line-height:19px;display:block;text-decoration:none}span.has-tooltip{color:#605dec}.price-table-bottom{padding:15px}.custom-dd-btn{background:#fff;border:1px solid #e9e9e9;border-radius:6px;height:40px;line-height:40px;width:100%;text-align:left;padding:0 15px}.custom-dd{margin-bottom:15px}.price-table-bottom a{background:#fff;border:1px solid #42b9fa;color:#42b9fa;border-radius:20px;height:40px;line-height:38px;padding:0 15px;display:block;text-align:center;transition:all .25s linear}.price-table-bottom a:hover{color:#fff;background:#42b9fa}.price-table.plus-feature .price-table-bottom a{background:#ef8c6a;border:1px solid #ef8c6a;color:#fff}.price-table.plus-feature .price-table-bottom a:hover{background:#fff;color:#ef8c6a}.price-table.agency-feature .price-table-bottom a{background:#fff;border:1px solid #605dec;color:#605dec}.price-table.agency-feature .price-table-bottom a:hover{background:#605dec;color:#fff}.container{max-width:1180px;width:100%;padding:30px;background:#fff;border-radius:15px;margin:50px auto}.row{margin-right:-15px;margin-left:-15px}.col-md-4{padding-right:15px;padding-left:15px;width:33.33333333%;float:left}.select2-container--default .select2-selection--single{background:#fff;border:1px solid #e9e9e9;border-radius:6px;height:40px;line-height:40px;width:100%;text-align:left;padding:0 15px;outline:0}span.select2.select2-container{width:100%!important}.website-package{padding:0 15px;line-height:18px}.select2-container--default .select2-results__option--highlighted[aria-selected]{background-color:#5897fb;color:#fff}.website-package .select2-container--default .select2-results>.select2-results__options{margin-top:5px}.custom-dd .select2-container--default .select2-selection--single .select2-selection__arrow{height:20px;top:10px;right:1px;width:20px}@media (min-width:768px){.col-sm-4{width:100%;float:none}}a,a:focus,a:hover{text-decoration:none}.select2-container--default .select2-selection--single .select2-selection__rendered{color:#444;line-height:38px}.select2-results__option{user-select:none;-webkit-user-select:none;font-size:14px;padding:8px 25px;margin:0}.select2-dropdown{border:1px solid #e9e9e9}.price-after{padding:0;text-align:center;font-size:16px;line-height:25px;font-family:Lato,sans-serif}.price-after p,.price-after span{font-size:16px;line-height:25px;margin:0;padding:0}.clearfix{clear:both}.price-after span{display:inline-block;vertical-align:text-top;font-size:20px;color:#42b9fa}.payments{padding:20px 0 10px}.folder-testimonial-list{width:100%;margin:30px auto 0;font-family:Lato,sans-serif}.folder-testimonial{position:relative}.folder-testimonial .testimonial-image{position:absolute;height:60px;width:60px;top:50%;margin-top:-30px;z-index:1;overflow:hidden;border-radius:30px}.folder-testimonial .testimonial-image img{width:100%;height:auto}.folder-testimonial .testimonial-data{position:relative;margin-left:30px;font-size:16px;line-height:22px;padding:10px 10px 10px 40px;background:#f5f5f5;border-radius:4px}.testimonial-title{font-weight:700;font-size:18px;padding:0 0 5px}.testimonial-author{font-size:16px;font-style:italic;font-weight:500;padding:5px 0 0}.plan-price span{font-size:16px;color:#28375a}.price-table-middle{margin-top:20px}.agency-feature .price-table-middle{margin-top:0}.website-package .select2-container--default .select2-selection--single{border:1px solid #6156f6;box-shadow:0 12px 44px rgba(96,93,236,.2)}.website-package .select2-container--default .select2-selection--single .select2-selection__rendered{color:#6156f6}.website-package .select2-container--default .select2-selection--single .select2-selection__arrow b{border-color:#6156f6 transparent transparent transparent}.website-package .select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b{border-color:transparent transparent #6156f6 transparent;border-width:0 4px 5px 4px}.basic-feature .price-table-bottom .select2-container--default .select2-selection--single{border:1px solid #42b9fa;box-shadow:0 12px 44px rgba(66,182,250,.2)}.basic-feature .select2-container--default .select2-selection--single .select2-selection__arrow b{border-color:#42b9fa transparent transparent transparent}.plus-feature .price-table-bottom .select2-container--default .select2-selection--single{border:1px solid #ef8c6a;box-shadow:0 12px 44px rgba(239,140,106,.2)}.plus-feature .select2-container--default .select2-selection--single .select2-selection__arrow b{border-color:#ef8c6a transparent transparent transparent}.agency-feature .price-table-bottom .select2-container--default .select2-selection--single{border:1px solid #6156f6;box-shadow:0 12px 44px rgba(96,93,236,.2)}.agency-feature .select2-container--default .select2-selection--single .select2-selection__arrow b{border-color:#6156f6 transparent transparent transparent}
1
+ @import url(https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap);*,:after,:before{box-sizing:border-box}#wpwrap{background:#6572db;background:-moz-linear-gradient(-45deg,#6572db 0,#ee86c6 67%,#ee86c6 100%);background:-webkit-gradient(left top,right bottom,color-stop(0,#6572db),color-stop(67%,#ee86c6),color-stop(100%,#ee86c6));background:-webkit-linear-gradient(-45deg,#6572db 0,#ee86c6 67%,#ee86c6 100%);background:-o-linear-gradient(-45deg,#6572db 0,#ee86c6 67%,#ee86c6 100%);background:-ms-linear-gradient(-45deg,#6572db 0,#ee86c6 67%,#ee86c6 100%);background:linear-gradient(135deg,#6572db 0,#ee86c6 67%,#ee86c6 100%)}.pricing-table{margin:0 0 45px;color:#28375a;font-size:16px;line-height:25px;font-family:Lato,sans-serif}.price-title{font-weight:700;font-size:24px;line-height:30px;color:#28375a;text-align:center}.price-table{background:#fff;box-sizing:border-box;border-radius:10px;position:relative}.price-table-top{padding:20px;position:relative;border-radius:10px}.price-table.basic-feature{box-shadow:0 12px 44px rgba(108,203,255,.2);border:2px solid #b9eafd}.price-table.basic-feature .price-table-top{background:url(../images/basic-price-bg.png) no-repeat left top}.price-table.plus-feature{border:2px solid #f9d9bd;box-shadow:0 12px 44px rgba(239,140,106,.2)}.price-table.plus-feature .price-table-top{background:url(../images/plus-price.png) no-repeat left top}.price-table.agency-feature{border:2px solid #cfd3fb;box-shadow:0 12px 44px rgba(96,93,236,.2)}.price-table.agency-feature .price-table-top{background:url(../images/agency-price.png) no-repeat left top}.price-tables{margin:30px 0 50px}.plan-name{font-size:30px;line-height:36px;font-weight:700;color:#28375a}.plan-price{position:absolute;right:18px;top:8px;font-weight:700;font-size:60px;line-height:72px;color:#42b9fa}.price-table.plus-feature .plan-price{color:#ef8c6a}.price-table.agency-feature .plan-price{color:#605dec}.price-table.agency-feature .plan-name{color:#fff}.price-head{line-height:72px;padding:5px 0 25px 0}.price-offer,.price-websites{line-height:18px;font-size:15px}.cus-tooltip{cursor:pointer;display:inline-block;position:relative}.cus-tooltip .tooltip__content{background-color:#1849ab;border-radius:4px;bottom:150%;color:#fff;left:0;margin-left:15px;opacity:0;padding:5px 10px;position:absolute;transition:opacity .25s;visibility:hidden;width:auto;z-index:1;text-align:left;margin-right:15px;font-size:14px;line-height:20px}.cus-tooltip .tooltip__content::after{border-width:5px;border-style:solid;border-color:#1849ab transparent transparent transparent;content:"";left:25px;margin-left:-5px;position:absolute;top:100%}.cus-tooltip:hover .tooltip__content{opacity:1;visibility:visible}.price-table-middle ul{list-style:none;margin:0;padding:0}.price-table-middle ul li{display:block;width:100%;border-bottom:solid 1px #e9e9e9;padding:15px 0;margin:0}.price-table-middle ul li a{padding:0 15px;color:#28375a;font-size:16px;line-height:19px;display:block;text-decoration:none}span.has-tooltip{color:#605dec}.price-table-bottom{padding:15px}.price-table.is-fixed{padding-bottom:140px;position:relative}.price-table.is-fixed .price-table-bottom{position:fixed;left:0;width:100%;border-top:solid 2px #e9e9e9;background:#fff}.bottom-position{position:absolute;left:0;bottom:0;height:1px;width:1px}.custom-dd-btn{background:#fff;border:1px solid #e9e9e9;border-radius:6px;height:40px;line-height:40px;width:100%;text-align:left;padding:0 15px}.custom-dd{margin-bottom:15px}.price-table-bottom a{background:#fff;border:1px solid #42b9fa;color:#42b9fa;border-radius:20px;height:40px;line-height:38px;padding:0 15px;display:block;text-align:center;transition:all .25s linear}.price-table-bottom a:hover{color:#fff;background:#42b9fa}.price-table.plus-feature .price-table-bottom a{background:#ef8c6a;border:1px solid #ef8c6a;color:#fff}.price-table.plus-feature .price-table-bottom a:hover{background:#fff;color:#ef8c6a}.price-table.agency-feature .price-table-bottom a{background:#fff;border:1px solid #605dec;color:#605dec}.price-table.agency-feature .price-table-bottom a:hover{background:#605dec;color:#fff}.container{max-width:1180px;width:100%;padding:30px;background:#fff;border-radius:15px;margin:50px auto}.row{margin-right:-15px;margin-left:-15px}.col-md-4{padding-right:15px;padding-left:15px;width:33.33333333%;float:left}.select2-container--default .select2-selection--single{background:#fff;border:1px solid #e9e9e9;border-radius:6px;height:40px;line-height:40px;width:100%;text-align:left;padding:0 15px;outline:0}span.select2.select2-container{width:100%!important}.website-package{padding:0 15px;line-height:18px}.select2-container--default .select2-results__option--highlighted[aria-selected]{background-color:#5897fb;color:#fff}.website-package .select2-container--default .select2-results>.select2-results__options{margin-top:5px}.custom-dd .select2-container--default .select2-selection--single .select2-selection__arrow{height:20px;top:10px;right:1px;width:20px}@media (min-width:768px){.col-sm-4{width:100%;float:none}}a,a:focus,a:hover{text-decoration:none}.select2-container--default .select2-selection--single .select2-selection__rendered{color:#444;line-height:38px}.select2-results__option{user-select:none;-webkit-user-select:none;font-size:14px;padding:8px 25px;margin:0}.select2-dropdown{border:1px solid #e9e9e9}.price-after{padding:0;text-align:center;font-size:16px;line-height:25px;font-family:Lato,sans-serif}.price-after p,.price-after span{font-size:16px;line-height:25px;margin:0;padding:0}.clearfix{clear:both}.price-after span{display:inline-block;vertical-align:text-top;font-size:20px;color:#42b9fa}.payments{padding:20px 0 10px}.folder-testimonial-list{width:100%;margin:30px auto 0;font-family:Lato,sans-serif}.folder-testimonial{position:relative}.folder-testimonial .testimonial-image{position:absolute;height:60px;width:60px;top:50%;margin-top:-30px;z-index:1;overflow:hidden;border-radius:30px}.folder-testimonial .testimonial-image img{width:100%;height:auto}.folder-testimonial .testimonial-data{position:relative;margin-left:30px;font-size:16px;line-height:22px;padding:10px 10px 10px 40px;background:#f5f5f5;border-radius:4px}.testimonial-title{font-weight:700;font-size:18px;padding:0 0 5px}.testimonial-author{font-size:16px;font-style:italic;font-weight:500;padding:5px 0 0}.plan-price span{font-size:16px;color:#28375a}.price-table-middle{margin-top:21px}.agency-feature .price-table-middle{margin-top:0}.website-package .select2-container--default .select2-selection--single{border:1px solid #6156f6;box-shadow:0 12px 44px rgba(96,93,236,.2)}.website-package .select2-container--default .select2-selection--single .select2-selection__rendered{color:#6156f6}.website-package .select2-container--default .select2-selection--single .select2-selection__arrow b{border-color:#6156f6 transparent transparent transparent}.website-package .select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b{border-color:transparent transparent #6156f6 transparent;border-width:0 4px 5px 4px}.folders-tabs{max-width:inherit}.basic-feature .price-table-bottom .select2-container--default .select2-selection--single{border:1px solid #42b9fa;box-shadow:0 12px 44px rgba(66,182,250,.2)}.basic-feature .select2-container--default .select2-selection--single .select2-selection__arrow b{border-color:#42b9fa transparent transparent transparent}.plus-feature .price-table-bottom .select2-container--default .select2-selection--single{border:1px solid #ef8c6a;box-shadow:0 12px 44px rgba(239,140,106,.2)}.plus-feature .select2-container--default .select2-selection--single .select2-selection__arrow b{border-color:#ef8c6a transparent transparent transparent}.agency-feature .price-table-bottom .select2-container--default .select2-selection--single{border:1px solid #6156f6;box-shadow:0 12px 44px rgba(96,93,236,.2)}.agency-feature .select2-container--default .select2-selection--single .select2-selection__arrow b{border-color:#6156f6 transparent transparent transparent}.basic-feature.price-table.is-fixed .price-table-bottom{border-color:#b9eafd}.plus-feature.price-table.is-fixed .price-table-bottom{border-color:#f9d9bd}.agency-feature.price-table.is-fixed .price-table-bottom{border-color:#cfd3fb}@media (max-width:1320px){.plan-price{font-size:50px;line-height:64px}}@media (max-width:1200px){.plan-price{font-size:40px;line-height:54px}}@media (max-width:1100px){.plan-name{font-size:24px;line-height:36px}}@media (max-width:1024px){.plan-price{font-size:30px;line-height:54px;top:15px}}@media (max-width:920px){.col-md-4{padding-left:5px;padding-right:5px}}@media (max-width:840px){.col-md-4{padding:0;width:auto;margin:0 auto 30px;float:none;padding-left:15px;padding-right:15px}.plan-price{font-size:50px;line-height:64px}.price-table.is-fixed{padding-bottom:15px;position:relative}.price-table.is-fixed .price-table-bottom{position:relative;left:0;width:100%;border-top:none;background:#fff;top:auto!important;left:auto!important;width:100%!important}}
admin/assets/css/cht-style.css CHANGED
@@ -1,7 +1,3 @@
1
- *, .rpt_plans .rpt_plan, ::after, ::before {
2
- box-sizing: border-box
3
- }
4
-
5
  .btn-help, .btn-help:active, .btn-help:hover, .btn-save, .btn-save-sticky a, .icon:after, i {
6
  color: #fff
7
  }
@@ -77,7 +73,7 @@ i {
77
  content: "\f232"
78
  }
79
 
80
- *, ::after, ::before {
81
  box-sizing: border-box
82
  }
83
 
@@ -132,7 +128,7 @@ input::-webkit-inner-spin-button, input::-webkit-outer-spin-button {
132
  opacity: 0
133
  }
134
 
135
- .custom-control .custom-control-input.js-upload:disabled ~ .custom-control-label::before {
136
  background: rgba(0, 0, 0, .1)
137
  }
138
 
@@ -148,7 +144,7 @@ input::-webkit-inner-spin-button, input::-webkit-outer-spin-button {
148
  position: static
149
  }
150
 
151
- .custom-control.custom-checkbox .custom-control-label::before {
152
  content: '';
153
  transition: all .2s;
154
  position: absolute;
@@ -178,7 +174,7 @@ input::-webkit-inner-spin-button, input::-webkit-outer-spin-button {
178
  display: none
179
  }
180
 
181
- .custom-control.custom-checkbox .custom-control-input:checked ~ .custom-control-label::before {
182
  background-image: url(../images/icon-check.svg);
183
  background-color: transparent
184
  }
@@ -707,6 +703,7 @@ li#chaty-social-Poptin {
707
  vertical-align: middle;
708
  width: auto;
709
  height: auto;
 
710
  }
711
  .main .channels-selected__item .icon > i {
712
  font-size: 30px;
@@ -895,7 +892,14 @@ li#chaty-social-Poptin {
895
  background-color: #333;
896
  box-shadow: 0 2px 4px rgba(0, 0, 0, .15);
897
  border-radius: 6px;
898
- z-index: 1001;
 
 
 
 
 
 
 
899
  }
900
 
901
  .btn-save:after, .icon:before, .popover:after {
@@ -1006,7 +1010,7 @@ li#chaty-social-Poptin {
1006
  border-radius: 9px
1007
  }
1008
 
1009
- .btn-help, .preview-help-btn {
1010
  text-align: center;
1011
  padding-top: 10px;
1012
  position: absolute;
@@ -1095,7 +1099,7 @@ input.channels__input.border-red {
1095
  padding: 0 5px;
1096
  position: relative;
1097
  box-shadow: 0 1px 14px rgba(156, 117, 198, .4), 0 2px 4px rgba(0, 0, 0, .15);
1098
- margin: 30px 0 20px 0;
1099
  text-align: center;
1100
  max-width: 635px;
1101
  }
@@ -1323,18 +1327,13 @@ img.payment-img {
1323
  }
1324
 
1325
  .upgrade-block .money-guaranteed {
1326
- color: #b97fcf;
1327
- font-size: 16px;
1328
  line-height: 18px;
1329
- margin: 10px 0;
1330
- }
1331
-
1332
- .upgrade-block .money-guaranteed span.dashicons.dashicons-yes {
1333
- background: #00bd00;
1334
- color: #fff;
1335
- border-radius: 50%;
1336
- -webkit-border-radius: 50%;
1337
- -moz-border-radius: 50%;
1338
  }
1339
 
1340
  .easy-modal.modal-upgrade {
@@ -1486,17 +1485,17 @@ img.payment-img {
1486
 
1487
  .chaty-widget-icons-left .tooltip .tooltiptext, .chaty-widget-icons-right .tooltip .tooltiptext {
1488
  white-space: pre-wrap;
1489
- display: block;
1490
  width: 250px;
1491
- min-height: 24px;
1492
  color: #000;
1493
  text-align: center;
1494
  padding: 0px;
1495
- top: 2.5px;
1496
  position: absolute;
1497
  z-index: 35;
1498
  font-size: 12px;
1499
- line-height: 36px;
1500
  }
1501
 
1502
  .tooltip .tooltiptext span {
@@ -1504,11 +1503,11 @@ img.payment-img {
1504
  padding: 0px 15px;
1505
  display: inline-block;
1506
  vertical-align: middle;
1507
- line-height: 24px;
1508
- height: 24px;
1509
  float: right;
1510
  margin: 0;
1511
- border-radius: 6px;
1512
  }
1513
  .chaty-widget-icons-left .tooltip .tooltiptext span {
1514
  float: left;
@@ -1521,11 +1520,7 @@ img.payment-img {
1521
  .chaty-widget-icons-right .tooltip .tooltiptext {
1522
  justify-content: center;
1523
  align-items: center;
1524
- right: 41px
1525
- }
1526
-
1527
- .mobiel-view .chaty-widget-icons-right .tooltip .tooltiptext {
1528
- right: 35px
1529
  }
1530
  .chaty-widget-icons-right .tooltip .tooltiptext.has-multiline.line-1 {
1531
 
@@ -1552,6 +1547,10 @@ img.payment-img {
1552
  padding-bottom: 2px;
1553
  }
1554
 
 
 
 
 
1555
  .chaty-widget-icons-left .tooltip .tooltiptext {
1556
  align-items: center;
1557
  justify-content: center;
@@ -1570,10 +1569,12 @@ img.payment-img {
1570
  .notice, div.error, div.updated {
1571
  display: none !important
1572
  }
1573
-
1574
- div#setting-error-settings_updated {
1575
  display: block !important
1576
  }
 
 
 
1577
 
1578
  .domain__input, .domain__label {
1579
  max-width: 342px;
@@ -1858,7 +1859,7 @@ a.new-demo-button {
1858
  height: 34px;
1859
  position: relative;
1860
  padding: 0 0 0 60px !important;
1861
- line-height: 24px;
1862
  width: 100% !important;
1863
  }
1864
 
@@ -2508,7 +2509,7 @@ a.upgrade-link strong {
2508
  padding-left: 17px;
2509
  position: relative;
2510
  font-size: 14px;
2511
- margin-left: 15px;
2512
  }
2513
 
2514
  .channels__view-check {
@@ -2517,11 +2518,14 @@ a.upgrade-link strong {
2517
  opacity: 0
2518
  }
2519
 
2520
- .channels__view-check:checked ~ .channels__view-txt::before {
 
 
2521
  background: #a785cb;
2522
  color: #fff;
2523
  }
2524
- .channels__view-check:checked ~ .channels__view-txt::after {
 
2525
  color: #fff;
2526
  content: "\f147";
2527
  font-family: dashicons;
@@ -2559,10 +2563,10 @@ a.upgrade-link strong {
2559
  background: #FFF;
2560
  box-shadow: 0 4px 14px rgba(0, 0, 0, .15);
2561
  border-radius: 9px;
2562
- width: 282px
2563
  }
2564
  .channels__input.transparent {
2565
- background: transparent;
2566
  box-shadow: none;
2567
  }
2568
  .channels__input-box {
@@ -2764,7 +2768,7 @@ label.widget-icon__wrap.has-free {
2764
  right: 0
2765
  }
2766
 
2767
- .file-input-new .file-browse:hover span, a.pro-plugin-url, a.rpt_tooltip {
2768
  text-decoration: none
2769
  }
2770
 
@@ -3020,10 +3024,10 @@ a.pro-plugin-url {
3020
 
3021
  .license-key {
3022
  border: 1px solid #ccc;
3023
- background: #FFF;
3024
  width: 100%;
3025
  max-width: 350px;
3026
- margin: 10px 0 20px
3027
  }
3028
 
3029
  .license-key .license-key-header {
@@ -3031,24 +3035,24 @@ a.pro-plugin-url {
3031
  padding: 15px 12px;
3032
  font-weight: 600;
3033
  background: #f9f9f9;
3034
- color: #23282d
3035
  }
3036
 
3037
  .license-key .license-key-content {
3038
  padding: 15px 12px;
3039
- background: #fff
3040
  }
3041
 
3042
- .license-key .license-key-content input[type=text] {
3043
  width: 100%;
3044
  font-size: 14px;
3045
- font-weight: 400
3046
  }
3047
 
3048
  .license-key .license-key-footer {
3049
  border-top: 1px solid #ccc;
3050
  padding: 15px 12px;
3051
- background: #f9f9f9
3052
  }
3053
 
3054
  .license-key .license-key-message {
@@ -3090,7 +3094,7 @@ a.pro-plugin-url {
3090
 
3091
  span.expired-message {
3092
  color: #a00000;
3093
- font-size: 18px
3094
  }
3095
 
3096
  .wrap.wrap-licenses {
@@ -3263,969 +3267,264 @@ html[dir=rtl] .chaty-help-form {
3263
  width: 100%
3264
  }
3265
 
3266
- .rpt_plans .rpt_plan {
3267
- -moz-box-sizing: border-box;
3268
- -webkit-box-sizing: border-box
3269
- }
3270
-
3271
- .rpt_2_plans .rpt_plan {
3272
- margin-right: 2%;
3273
- width: 49%;
3274
- float: left
3275
- }
3276
-
3277
- .rpt_2_plans .rpt_plan:last-child {
3278
- margin-right: 0
3279
- }
3280
-
3281
- .rpt_3_plans .rpt_plan {
3282
- margin-right: 2%;
3283
- width: 32%;
3284
- float: left
3285
- }
3286
-
3287
- .rpt_3_plans .rpt_plan:last-child {
3288
- margin-right: 0
3289
- }
3290
-
3291
- .rpt_4_plans .rpt_plan {
3292
- margin-right: 1%;
3293
- width: 24.25%;
3294
- float: left
3295
- }
3296
-
3297
- .rpt_4_plans .rpt_plan:last-child {
3298
- margin-right: 0
3299
- }
3300
-
3301
- .rpt_5_plans .rpt_plan {
3302
- margin-right: .5%;
3303
- width: 19.6%;
3304
- float: left
3305
- }
3306
-
3307
- .rpt_5_plans .rpt_plan:last-child {
3308
- margin-right: 0
3309
  }
3310
-
3311
- .rpt_style_bic .rpt_plan, .rpt_style_loc .rpt_plan {
3312
- -webkit-box-shadow: 1px 1px 3px 0 rgba(50, 50, 50, .19);
3313
- -moz-box-shadow: 1px 1px 3px 0 rgba(50, 50, 50, .19);
3314
- box-shadow: 1px 1px 3px 0 rgba(50, 50, 50, .19)
3315
  }
3316
-
3317
- .rpt_plans .rpt_plan .rpt_title img {
3318
- margin-right: 10px;
3319
- position: relative;
3320
- vertical-align: middle
 
 
3321
  }
3322
-
3323
- .rpt_plans .rpt_plan .rpt_title {
3324
- background: #6371db;
3325
- font-weight: 300;
3326
- padding: 24px 18px;
3327
- font-size: 26px;
3328
- color: #fff;
3329
- line-height: 35px;
3330
- height: auto
3331
  }
3332
 
3333
- .rpt_plans .rpt_plan .rpt_title span {
3334
- display: inline-block;
3335
- position: relative;
3336
- top: -10px
 
3337
  }
3338
-
3339
- .rpt_style_basic .rpt_plan .rpt_title {
3340
- border-bottom: #ec86c6 solid 1px;
3341
- border-top-left-radius: 8px;
3342
- border-top-right-radius: 8px
 
 
 
 
3343
  }
3344
-
3345
- .rpt_style_spec .rpt_plan .rpt_title {
3346
- color: #fff
 
 
 
 
 
 
 
 
 
 
 
 
3347
  }
3348
-
3349
- .rpt_style_bic .rpt_plan .rpt_title, .rpt_style_loc .rpt_plan .rpt_title, .rpt_style_swl .rpt_plan .rpt_title {
3350
- background: #333
 
 
 
3351
  }
3352
-
3353
- .rpt_plans .rpt_sm_title .rpt_plan .rpt_title {
3354
- font-size: 20px;
3355
- line-height: 18px
3356
  }
3357
-
3358
- .rpt_plans .rpt_xsm_title .rpt_plan .rpt_title {
3359
- font-size: 15px;
3360
- line-height: 15px
 
3361
  }
3362
-
3363
- .rpt_4_plans .rpt_plan .rpt_title {
3364
- font-size: 17px;
3365
- line-height: 15px
3366
  }
3367
-
3368
- .rpt_4_plans .rpt_sm_title .rpt_plan .rpt_title {
3369
- font-size: 15px;
3370
- line-height: 13px
 
 
3371
  }
3372
-
3373
- .rpt_4_plans .rpt_xsm_title .rpt_plan .rpt_title {
3374
- font-size: 13px;
3375
- line-height: 11px
 
 
 
 
 
 
 
 
3376
  }
3377
-
3378
- .rpt_5_plans .rpt_plan .rpt_title {
3379
- font-size: 15px;
3380
- line-height: 13px
 
3381
  }
3382
-
3383
- .rpt_5_plans .rpt_sm_title .rpt_plan .rpt_title {
3384
- font-size: 13px;
3385
- line-height: 11px
3386
  }
3387
-
3388
- .rpt_5_plans .rpt_xsm_title .rpt_plan .rpt_title {
3389
- font-size: 12px;
3390
- line-height: 10px
3391
  }
3392
-
3393
- .rpt_plans .rpt_recommended_plan .rpt_title {
3394
- background: #6371db
 
 
 
 
 
 
 
3395
  }
3396
-
3397
- .rpt_plans .rpt_plan .rpt_head .rpt_price .rpt_currency {
3398
- position: relative;
3399
- top: -44px;
3400
- left: -10px;
3401
- font-size: 35px;
3402
- line-height: 0
3403
  }
3404
-
3405
- .rpt_4_plans .rpt_plan .rpt_head .rpt_price .rpt_currency {
3406
- top: -36px
 
 
 
 
 
 
 
3407
  }
3408
-
3409
- .rpt_5_plans .rpt_plan .rpt_head .rpt_price .rpt_currency {
3410
- top: -26px
3411
  }
3412
-
3413
- .rpt_sm_price .rpt_plan .rpt_head .rpt_price .rpt_currency {
3414
- font-size: 30px;
3415
- top: -44px;
3416
- left: -4px
3417
  }
3418
-
3419
- .rpt_xsm_price .rpt_plan .rpt_head .rpt_price .rpt_currency {
3420
- font-size: 25px;
3421
- top: -30px;
3422
- left: -4px
3423
  }
3424
-
3425
- .rpt_xxsm_price .rpt_plan .rpt_head .rpt_price .rpt_currency {
3426
- font-size: 21px;
3427
- top: -14px;
3428
- left: -4px
 
 
 
 
 
 
 
 
3429
  }
3430
-
3431
- .rpt_style_basic .rpt_plan .rpt_head {
3432
- background: #ec86c6
 
 
 
3433
  }
3434
-
3435
- .rpt_style_spec .rpt_plan .rpt_head {
3436
- background: #222
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3437
  }
3438
-
3439
- .rpt_style_swl .rpt_plan .rpt_head {
3440
- background: #fff
3441
  }
3442
-
3443
- .rpt_plans .rpt_plan .rpt_head .rpt_price {
3444
- padding: 6px 10px;
3445
- font-size: 74px;
3446
- line-height: 100px;
3447
- font-weight: 300;
3448
  text-align: center;
3449
- color: #fff
3450
- }
3451
-
3452
- .rpt_style_basic .rpt_plan .rpt_head .rpt_price, .rpt_style_spec .rpt_plan .rpt_head .rpt_price {
3453
- text-shadow: 1px 2px 7px rgba(0, 0, 0, .6)
3454
  }
3455
-
3456
- .rpt_style_swl .rpt_plan .rpt_head .rpt_price {
3457
- color: #000
3458
  }
3459
-
3460
- .rpt_plans .rpt_sm_price .rpt_plan .rpt_head .rpt_price {
3461
- font-size: 62px
 
3462
  }
3463
-
3464
- .rpt_plans .rpt_xsm_price .rpt_plan .rpt_head .rpt_price {
3465
- font-size: 56px
 
3466
  }
3467
-
3468
- .rpt_plans .rpt_xxsm_price .rpt_plan .rpt_head .rpt_price {
3469
- font-size: 38px
3470
  }
3471
-
3472
- .rpt_4_plans .rpt_plan .rpt_head .rpt_price {
3473
- font-size: 69px;
3474
- line-height: 80px
3475
  }
3476
-
3477
- .rpt_4_plans .rpt_sm_price .rpt_plan .rpt_head .rpt_price {
3478
- font-size: 53px;
3479
- line-height: 65px
3480
  }
3481
-
3482
- .rpt_4_plans .rpt_xsm_price .rpt_plan .rpt_head .rpt_price {
3483
- font-size: 47px;
3484
- line-height: 64px
3485
  }
3486
-
3487
- .rpt_4_plans .rpt_xxsm_price .rpt_plan .rpt_head .rpt_price {
3488
- font-size: 31px;
3489
- line-height: 60px
3490
  }
3491
-
3492
- .rpt_5_plans .rpt_plan .rpt_head .rpt_price {
3493
- font-size: 59px;
3494
- line-height: 80px
3495
  }
3496
-
3497
- .rpt_5_plans .rpt_sm_price .rpt_plan .rpt_head .rpt_price {
3498
- font-size: 44px;
3499
- line-height: 60px
3500
- }
3501
-
3502
- .rpt_5_plans .rpt_xsm_price .rpt_plan .rpt_head .rpt_price {
3503
- font-size: 37px;
3504
- line-height: 53px
3505
- }
3506
-
3507
- .rpt_5_plans .rpt_xxsm_price .rpt_plan .rpt_head .rpt_price {
3508
- font-size: 24px;
3509
- line-height: 50px
3510
- }
3511
-
3512
- .rpt_plans .rpt_recommended_plan .rpt_head .rpt_price {
3513
- font-size: 98px
3514
- }
3515
-
3516
- .rpt_4_plans .rpt_recommended_plan .rpt_head .rpt_price {
3517
- font-size: 74px
3518
- }
3519
-
3520
- .rpt_5_plans .rpt_recommended_plan .rpt_head .rpt_price {
3521
- font-size: 67px
3522
- }
3523
-
3524
- .rpt_plans .rpt_sm_price .rpt_recommended_plan .rpt_head .rpt_price {
3525
- font-size: 83px
3526
- }
3527
-
3528
- .rpt_4_plans .rpt_sm_price .rpt_recommended_plan .rpt_head .rpt_price {
3529
- font-size: 60px
3530
- }
3531
-
3532
- .rpt_5_plans .rpt_sm_price .rpt_recommended_plan .rpt_head .rpt_price {
3533
- font-size: 54px
3534
- }
3535
-
3536
- .rpt_plans .rpt_xsm_price .rpt_recommended_plan .rpt_head .rpt_price {
3537
- font-size: 55px
3538
- }
3539
-
3540
- .rpt_4_plans .rpt_xsm_price .rpt_recommended_plan .rpt_head .rpt_price {
3541
- font-size: 49px
3542
- }
3543
-
3544
- .rpt_5_plans .rpt_xsm_price .rpt_recommended_plan .rpt_head .rpt_price {
3545
- font-size: 41px
3546
- }
3547
-
3548
- .rpt_plans .rpt_xxsm_price .rpt_recommended_plan .rpt_head .rpt_price {
3549
- font-size: 42px
3550
- }
3551
-
3552
- .rpt_4_plans .rpt_xxsm_price .rpt_recommended_plan .rpt_head .rpt_price {
3553
- font-size: 34px
3554
- }
3555
-
3556
- .rpt_5_plans .rpt_xxsm_price .rpt_recommended_plan .rpt_head .rpt_price {
3557
- font-size: 26px
3558
- }
3559
-
3560
- .rpt_plans .rpt_plan .rpt_head .rpt_recurrence {
3561
- font-size: 13px;
3562
- font-weight: 300;
3563
- line-height: 18px;
3564
- padding: 20px 40px 10px;
3565
- color: #d3d3d3;
3566
- text-align: center
3567
- }
3568
-
3569
- .rpt_style_spec .rpt_plan .rpt_head .rpt_recurrence {
3570
- color: #d3d3d3
3571
- }
3572
-
3573
- .rpt_style_bic .rpt_plan .rpt_head .rpt_recurrence, .rpt_style_loc .rpt_plan .rpt_head .rpt_recurrence {
3574
- color: #f5f5f5
3575
- }
3576
-
3577
- .rpt_style_swl .rpt_plan .rpt_head .rpt_recurrence {
3578
- color: grey
3579
- }
3580
-
3581
- .rpt_plans .rpt_sm_recurrence .rpt_plan .rpt_head .rpt_recurrence {
3582
- font-size: 11px;
3583
- padding: 20px 40px 4px
3584
- }
3585
-
3586
- .rpt_plans .rpt_plan .rpt_head .rpt_subtitle {
3587
- font-size: 16px;
3588
- line-height: 20px;
3589
- font-weight: 300;
3590
- text-align: center;
3591
- padding: 10px 30px 20px
3592
- }
3593
-
3594
- .rpt_plans .rpt_sm_subtitle .rpt_plan .rpt_head .rpt_subtitle {
3595
- font-size: 14px
3596
- }
3597
-
3598
- .rpt_plans .rpt_xsm_subtitle .rpt_plan .rpt_head .rpt_subtitle {
3599
- font-size: 12px
3600
- }
3601
-
3602
- .rpt_4_plans .rpt_plan .rpt_head .rpt_subtitle {
3603
- font-size: 16px;
3604
- line-height: 18px;
3605
- padding: 10px 10px 20px
3606
- }
3607
-
3608
- .rpt_4_plans .rpt_sm_subtitle .rpt_plan .rpt_head .rpt_subtitle {
3609
- font-size: 14px;
3610
- line-height: 17px
3611
- }
3612
-
3613
- .rpt_4_plans .rpt_xsm_subtitle .rpt_plan .rpt_head .rpt_subtitle {
3614
- font-size: 13px;
3615
- line-height: 16px
3616
- }
3617
-
3618
- .rpt_5_plans .rpt_plan .rpt_head .rpt_subtitle {
3619
- font-size: 15px;
3620
- line-height: 18px;
3621
- padding: 10px 10px 20px
3622
- }
3623
-
3624
- .rpt_5_plans .rpt_sm_subtitle .rpt_plan .rpt_head .rpt_subtitle {
3625
- font-size: 13px;
3626
- line-height: 17px
3627
- }
3628
-
3629
- .rpt_5_plans .rpt_xsm_subtitle .rpt_plan .rpt_head .rpt_subtitle {
3630
- font-size: 12px;
3631
- line-height: 16px
3632
- }
3633
-
3634
- .rpt_plans .rpt_plan .rpt_head .rpt_description {
3635
- font-size: 14px;
3636
- line-height: 20px;
3637
- padding: 0 20px 30px;
3638
- font-weight: 300;
3639
- text-align: center;
3640
- color: #fff
3641
- }
3642
-
3643
- .rpt_plans .rpt_sm_description .rpt_plan .rpt_head .rpt_description {
3644
- font-size: 12px
3645
- }
3646
-
3647
- .rpt_style_bic .rpt_plan .rpt_head .rpt_description, .rpt_style_loc .rpt_plan .rpt_head .rpt_description {
3648
- color: #f5f5f5
3649
- }
3650
-
3651
- .rpt_4_plans .rpt_plan .rpt_head .rpt_description {
3652
- font-size: 13px;
3653
- line-height: 18px
3654
- }
3655
-
3656
- .rpt_4_plans .rpt_sm_description .rpt_plan .rpt_head .rpt_description {
3657
- font-size: 12px;
3658
- line-height: 17px
3659
- }
3660
-
3661
- .rpt_5_plans .rpt_plan .rpt_head .rpt_description {
3662
- font-size: 12px;
3663
- line-height: 18px
3664
- }
3665
-
3666
- .rpt_5_plans .rpt_sm_description .rpt_plan .rpt_head .rpt_description {
3667
- font-size: 11px;
3668
- line-height: 17px
3669
- }
3670
-
3671
- .rpt_plans .rpt_plan .rpt_features {
3672
- padding: 20px;
3673
- background: #f5f5f5;
3674
- text-align: center
3675
- }
3676
-
3677
- .rpt_plans .rpt_plan .rpt_features .rpt_feature {
3678
- font-size: 16px;
3679
- padding: 6px 16px;
3680
- border-bottom: 1px dotted #d3d3d3
3681
- }
3682
-
3683
- .rpt_plans .rpt_plan .rpt_features .rpt_feature:last-child {
3684
- border-bottom: none
3685
- }
3686
-
3687
- .rpt_plans .rpt_sm_features .rpt_plan .rpt_features .rpt_feature {
3688
- font-size: 14px
3689
- }
3690
-
3691
- .rpt_style_bic .rpt_plan .rpt_features, .rpt_style_loc .rpt_plan .rpt_features, .rpt_style_swl .rpt_plan .rpt_features {
3692
- background: #fff
3693
- }
3694
-
3695
- .rpt_style_swl .rpt_plan .rpt_features .rpt_feature {
3696
- padding: 5px 16px
3697
- }
3698
-
3699
- .rpt_4_plans .rpt_plan .rpt_features .rpt_feature {
3700
- padding: 6px 10px;
3701
- font-size: 14px
3702
- }
3703
-
3704
- .rpt_4_plans .rpt_sm_features .rpt_plan .rpt_features .rpt_feature {
3705
- font-size: 12px
3706
- }
3707
-
3708
- .rpt_5_plans .rpt_plan .rpt_features .rpt_feature {
3709
- padding: 6px 10px;
3710
- font-size: 13px
3711
- }
3712
-
3713
- .rpt_5_plans .rpt_sm_features .rpt_plan .rpt_features .rpt_feature {
3714
- font-size: 11px
3715
- }
3716
-
3717
- .rpt_plans .rpt_plan .rpt_foot {
3718
- display: block;
3719
- padding: 10px 30px;
3720
- border-top: #f5f5f5 solid 2px;
3721
- text-align: center;
3722
- color: #fff;
3723
- font-size: 24px;
3724
- text-decoration: none;
3725
- font-weight: 300;
3726
- transition: All .5s ease;
3727
- -webkit-transition: All .5s ease;
3728
- -moz-transition: All .5s ease;
3729
- -o-transition: All .5s ease
3730
- }
3731
-
3732
- .rpt_plans .rpt_sm_button .rpt_plan .rpt_foot {
3733
- font-size: 19px
3734
- }
3735
-
3736
- .rpt_style_basic .rpt_plan .rpt_foot {
3737
- border-bottom-left-radius: 8px;
3738
- border-bottom-right-radius: 8px
3739
- }
3740
-
3741
- .rpt_style_swl .rpt_plan .rpt_foot {
3742
- border-top: none;
3743
- padding: 10px 30px 20px;
3744
- color: #000;
3745
- background: #333
3746
- }
3747
-
3748
- .rpt_4_plans .rpt_plan .rpt_foot {
3749
- padding: 4px 20px;
3750
- font-size: 19px
3751
- }
3752
-
3753
- .rpt_4_plans .rpt_sm_button .rpt_plan .rpt_foot, .rpt_5_plans .rpt_plan .rpt_foot {
3754
- padding: 4px 20px;
3755
- font-size: 17px
3756
- }
3757
-
3758
- .rpt_5_plans .rpt_sm_button .rpt_plan .rpt_foot {
3759
- font-size: 16px
3760
- }
3761
-
3762
- .rpt_plans .rpt_plan .rpt_foot:hover {
3763
- opacity: .8
3764
- }
3765
-
3766
- .rpt_style_swl .rpt_plan .rpt_foot:hover {
3767
- opacity: 1
3768
- }
3769
-
3770
- .rpt_plans .rpt_recommended_plan .rpt_foot {
3771
- font-size: 30px;
3772
- padding: 16px 0
3773
- }
3774
-
3775
- .rpt_plans .rpt_sm_button .rpt_recommended_plan .rpt_foot {
3776
- font-size: 26px
3777
- }
3778
-
3779
- .rpt_4_plans .rpt_recommended_plan .rpt_foot {
3780
- font-size: 22px;
3781
- font-weight: 300;
3782
- padding: 10px 0
3783
- }
3784
-
3785
- .rpt_4_plans .rpt_sm_button .rpt_recommended_plan .rpt_foot {
3786
- font-size: 19px;
3787
- padding: 10px 0
3788
- }
3789
-
3790
- .rpt_5_plans .rpt_recommended_plan .rpt_foot {
3791
- font-size: 20px;
3792
- font-weight: 300;
3793
- padding: 10px 0
3794
- }
3795
-
3796
- .rpt_5_plans .rpt_sm_button .rpt_recommended_plan .rpt_foot {
3797
- font-size: 18px;
3798
- padding: 10px 0
3799
- }
3800
-
3801
- .rpt_custom_btn {
3802
- border-bottom-left-radius: 5px;
3803
- border-bottom-right-radius: 5px;
3804
- text-align: center;
3805
- padding: 16px 20px
3806
- }
3807
-
3808
- .rpt_plans .rpt_recommended_plan {
3809
- position: relative;
3810
- top: -10px
3811
- }
3812
-
3813
- .rpt_recommended_plan img.rpt_recommended {
3814
- position: absolute !important;
3815
- right: 10px !important
3816
- }
3817
-
3818
- .rpt_style_bic .rpt_recommended_plan, .rpt_style_loc .rpt_recommended_plan {
3819
- -webkit-box-shadow: 1px 1px 6px 0 rgba(50, 50, 50, .39);
3820
- -moz-box-shadow: 1px 1px 6px 0 rgba(50, 50, 50, .39);
3821
- box-shadow: 1px 1px 6px 0 rgba(50, 50, 50, .39)
3822
- }
3823
-
3824
- a.rpt_tooltip {
3825
- display: block;
3826
- outline: 0;
3827
- position: relative
3828
- }
3829
-
3830
- a.rpt_tooltip strong {
3831
- line-height: 30px
3832
- }
3833
-
3834
- a.rpt_tooltip > span.intool {
3835
- width: 90%;
3836
- padding: 10px;
3837
- margin-top: 56px;
3838
- opacity: 0;
3839
- visibility: hidden;
3840
- z-index: 10;
3841
- position: absolute;
3842
- top: -15px;
3843
- display: block;
3844
- color: #f5f5f5;
3845
- font-size: 13px;
3846
- line-height: 20px;
3847
- background: #333;
3848
- font-weight: 300;
3849
- text-align: center
3850
- }
3851
-
3852
- a.rpt_tooltip:hover {
3853
- cursor: zoom-in
3854
- }
3855
-
3856
- a.rpt_tooltip .rpt_tooltip_plus {
3857
- text-decoration: none !important;
3858
- display: inline;
3859
- font-size: 12px;
3860
- font-weight: 700;
3861
- position: relative;
3862
- top: -6px
3863
- }
3864
-
3865
- .rpt_feature:hover a.rpt_tooltip > span.intool {
3866
- opacity: .98;
3867
- text-decoration: none;
3868
- visibility: visible;
3869
- overflow: visible
3870
- }
3871
-
3872
- a.rpt_tooltip span.intool b {
3873
- width: 10px;
3874
- height: 10px;
3875
- margin-left: 35%;
3876
- margin-top: -15px;
3877
- position: absolute;
3878
- -webkit-transform: rotate(-45deg);
3879
- -moz-transform: rotate(-45deg);
3880
- -o-transform: rotate(-45deg);
3881
- transform: rotate(-45deg);
3882
- display: none \0/;
3883
- background: #333
3884
- }
3885
-
3886
- .rpt_3_plans a.rpt_tooltip > span.intool {
3887
- margin-left: -1%
3888
- }
3889
-
3890
- .rpt_4_plans a.rpt_tooltip > span.intool {
3891
- margin-left: 0
3892
- }
3893
-
3894
- .rpt_5_plans a.rpt_tooltip > span.intool {
3895
- margin-left: -2%
3896
- }
3897
-
3898
- .entry-content .rpt_plan a, .rpt_plan a {
3899
- border-bottom: none !important
3900
- }
3901
-
3902
- .rpt_plans .rpt_plan .rpt_icon {
3903
- max-width: 30px;
3904
- max-height: 30px
3905
- }
3906
-
3907
- .rpt_plans .rpt_plan img {
3908
- display: inline;
3909
- margin: 0 10px 0 0;
3910
- padding: 0;
3911
- -webkit-box-shadow: 0 0 0 0 transparent;
3912
- -moz-box-shadow: 0 0 0 0 transparent;
3913
- box-shadow: 0 0 0 0 transparent;
3914
- border: none
3915
- }
3916
-
3917
- select.form-fonts, select.chaty-select {
3918
- width: 360px;
3919
- max-width: 100%;
3920
- border: none;
3921
- color: #32373c;
3922
- outline: 0;
3923
- padding: 5px 7px;
3924
- line-height: 26px;
3925
- background-color: #ffffff;
3926
- border-radius: 5px;
3927
- height: 36px;
3928
- -webkit-box-shadow: 0px 0px 15px 0px rgba(234, 234, 234, 1);
3929
- -moz-box-shadow: 0px 0px 15px 0px rgba(234, 234, 234, 1);
3930
- box-shadow: 0px 0px 15px 0px rgba(234, 234, 234, 1);
3931
- }
3932
- select.chaty-select:disabled, textarea.test_textarea:disabled {
3933
- background: #eee;
3934
- border: solid 1px #ddd;
3935
- color: #32373c;
3936
- }
3937
- .icon.label-tooltip {
3938
- font-size: 12px;
3939
- font-weight: normal;
3940
- color: #72777c;
3941
- }
3942
- .icon.label-tooltip:after {
3943
- width: 250px;
3944
- white-space: normal;
3945
- line-height: 16px;
3946
- padding: 10px;
3947
- }
3948
- @media only screen and (max-width: 640px) {
3949
- .rpt_plans .rpt_plan {
3950
- width: 96%;
3951
- margin: 10px 2% 20px !important
3952
- }
3953
-
3954
- .rpt_plans .rpt_plan .rpt_title {
3955
- position: relative;
3956
- font-size: 26px !important;
3957
- line-height: 35px !important
3958
- }
3959
-
3960
- .rpt_plans .rpt_plan .rpt_head .rpt_price {
3961
- font-size: 74px !important;
3962
- line-height: 100px !important
3963
- }
3964
-
3965
- .rpt_plans .rpt_plan .rpt_head .rpt_subtitle {
3966
- font-size: 17px !important;
3967
- line-height: 28px !important;
3968
- padding: 10px 40px 20px
3969
- }
3970
-
3971
- .rpt_plans .rpt_plan .rpt_head .rpt_description {
3972
- font-size: 15px !important;
3973
- line-height: 26px !important;
3974
- padding: 0 40px 30px
3975
- }
3976
-
3977
- .rpt_plans .rpt_plan .rpt_features .rpt_feature {
3978
- padding: 6px 16px;
3979
- font-size: 14px !important
3980
- }
3981
-
3982
- .rpt_plans .rpt_plan .rpt_foot {
3983
- padding: 10px 40px;
3984
- text-align: center;
3985
- color: #fff;
3986
- font-size: 20px
3987
- }
3988
-
3989
- .rpt_plans .rpt_recommended_plan .rpt_foot {
3990
- font-size: 30px;
3991
- font-weight: 300;
3992
- padding: 20px 0
3993
- }
3994
-
3995
- .rpt_plan .rpt_head .rpt_price .rpt_currency {
3996
- top: -36px !important;
3997
- left: -10px !important;
3998
- font-size: 35px !important
3999
- }
4000
- }
4001
-
4002
- #rpt_pricr .rpt_plan_ori .rpt_features .rpt_feature, #rpt_pricr .rpt_plan_ori .rpt_features .rpt_feature a, #rpt_pricr .rpt_plan_ori .rpt_foot, #rpt_pricr .rpt_plan_ori .rpt_head .rpt_description, #rpt_pricr .rpt_plan_ori .rpt_head .rpt_price, #rpt_pricr .rpt_plan_ori .rpt_head .rpt_price .rpt_currency, #rpt_pricr .rpt_plan_ori .rpt_head .rpt_recurrence, #rpt_pricr .rpt_plan_ori .rpt_head .rpt_subtitle, #rpt_pricr .rpt_plan_ori .rpt_title {
4003
- font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif !important;
4004
- font-weight: 300 !important
4005
- }
4006
-
4007
- p.udner-title strong {
4008
- font-size: 40px;
4009
- padding-bottom: 30px;
4010
- display: block;
4011
- color: #b97fcf
4012
- }
4013
- .channels-selected-list li {
4014
- display: block;
4015
- max-width: 640px;
4016
- padding: 15px;
4017
- background: #EFF6F6;
4018
- -webkit-border-radius: 10px;
4019
- -moz-border-radius: 10px;
4020
- border-radius: 10px;
4021
- margin-bottom: 15px;
4022
- }
4023
- .chaty-settings a {
4024
- text-decoration: none;
4025
- display: inline-block;
4026
- color: #fff;
4027
- margin-left: 15px;
4028
- height: 26px;
4029
- background: #A785CB;
4030
- text-align: center;
4031
- vertical-align: middle;
4032
- -webkit-border-radius: 18px;
4033
- -moz-border-radius: 18px;
4034
- border-radius: 18px;
4035
- font-size: 10px;
4036
- line-height: 26px;
4037
- padding: 0 5px;
4038
- }
4039
- .chaty-settings a .dashicons, .chaty-settings a .dashicons-before:before {
4040
- font-size: 16px;
4041
- line-height: 26px;
4042
- display: inline-block;
4043
- margin: 0;
4044
- text-align: center;
4045
- }
4046
- .move-icon {
4047
- display: inline-block;
4048
- vertical-align: middle;
4049
- }
4050
- .move-icon img {
4051
- width: 10px;
4052
- margin-right: 5px;
4053
- margin-top: 8px;
4054
- cursor: move;
4055
- }
4056
- .chaty-default-settings > * {
4057
- display: inline-block;
4058
- vertical-align: middle;
4059
- }
4060
- .chaty-default-settings {
4061
- display: flex;
4062
- align-items: center;
4063
- flex-wrap: wrap;
4064
- position: relative;
4065
- padding-bottom: 15px;
4066
- }
4067
- .chaty-advance-settings {
4068
- width: 100%;
4069
- border: solid 1px #a785cb;
4070
- margin: 20px 0 0 0;
4071
- padding: 10px;
4072
- -webkit-border-radius: 5px;
4073
- -moz-border-radius: 5px;
4074
- border-radius: 5px;
4075
- background: #f2f2f2;
4076
- display: none;
4077
- min-height: 70px;
4078
- position: relative;
4079
- }
4080
- .chaty-setting-col > * {
4081
- display: inline-block;
4082
- padding: 0 0 10px 0;
4083
- vertical-align: middle;
4084
- }
4085
- .chaty-setting-col > label {
4086
- width: 150px;
4087
- }
4088
- .chaty-setting-col .channels__view {
4089
- margin: 0;
4090
- padding: 0;
4091
- }
4092
- .chaty-setting-col input[type=text], select.channel-select-input {
4093
- width: 300px;
4094
- height: 36px;
4095
- line-height: 36px;
4096
- padding: 0 10px;
4097
- -webkit-border-radius: 4px;
4098
- -moz-border-radius: 4px;
4099
- border-radius: 4px;
4100
- font-family: Rubik,sans-serif;
4101
- font-size: 17px;
4102
- }
4103
- .sp-replacer.sp-light {
4104
- padding: 0;
4105
- -webkit-border-radius: 4px;
4106
- -moz-border-radius: 4px;
4107
- border-radius: 4px;
4108
- border: none;
4109
- }
4110
- .chaty-setting-col a.upload-chaty-icon {
4111
- background: #a886cd;
4112
- color: #fff;
4113
- text-decoration: none;
4114
- line-height: 36px;
4115
- padding: 0 10px;
4116
- -webkit-border-radius: 4px;
4117
- -moz-border-radius: 4px;
4118
- border-radius: 4px;
4119
- display: inline-block;
4120
- }
4121
- .chaty-setting-col a.upload-chaty-icon span {
4122
- line-height: 40px;
4123
- }
4124
- .chaty-setting-col input[type='text'].chaty-color-field {
4125
- width: 40px;
4126
- }
4127
- .chaty-setting-col input[type='text']:read-only {
4128
- background: #fff;
4129
- }
4130
- .chaty-pro-feature {
4131
- position: absolute;
4132
- left: 0;
4133
- width: 100%;
4134
- text-align: center;
4135
- top: 0;
4136
- height: 100%;
4137
- vertical-align: middle;
4138
- background: rgba(255,255,255,0.4);
4139
- -webkit-border-radius: 5px;
4140
- -moz-border-radius: 5px;
4141
- border-radius: 5px;
4142
- display: none;
4143
- }
4144
- .chaty-advance-settings:hover .chaty-pro-feature, .chaty-date-time-option:hover .chaty-pro-feature {
4145
- display: inline-block;
4146
- width: 170px;
4147
- margin: 0 auto;
4148
- left: 0;
4149
- right: 0;
4150
- }
4151
- /*.chaty-advance-settings:hover .chaty-setting-col {
4152
- filter: blur(2px);
4153
- -o-filter: blur(2px);
4154
- -ms-filter: blur(2px);
4155
- -moz-filter: blur(2px);
4156
- -webkit-filter: blur(2px);
4157
- }*/
4158
- .chaty-pro-feature a {
4159
- text-decoration: none;
4160
- background: #ff6624;
4161
- color: #fff;
4162
- padding: 0px 10px;
4163
- line-height: 36px;
4164
- display: inline-block;
4165
- top: 50%;
4166
- position: absolute;
4167
- left: 0;
4168
- right: 0;
4169
- width: 180px;
4170
- margin: -20px auto 0;
4171
- -webkit-border-radius: 5px;
4172
- -moz-border-radius: 5px;
4173
- border-radius: 5px;
4174
- }
4175
- .chaty-pro-feature a:hover {
4176
- background: #a886cd;
4177
- }
4178
- a#upload_qr_code {
4179
- background: #fff;
4180
- display: inline-block;
4181
- height: 40px;
4182
- width: 40px;
4183
- text-align: center;
4184
- line-height: 40px;
4185
- text-decoration: none;
4186
- }
4187
- a#upload_qr_code span {
4188
- line-height: 36px;
4189
- }
4190
- .cls-btn-settings, .close-btn-set {
4191
- opacity: 0;
4192
- visibility: hidden;
4193
- pointer-events: none;
4194
- }
4195
- .cls-btn-settings.active, .close-btn-set.active {
4196
- opacity: 1;
4197
- visibility: visible;
4198
- pointer-events: auto;
4199
- }
4200
- .chaty-settings.cls-btn {
4201
- margin-left: 164px;
4202
- }
4203
- .section2 {
4204
- padding: 25px 15px 30px;
4205
- border-top: 2px solid rgba(130, 130, 130, .1);
4206
- }
4207
- #chaty-social-close {
4208
- display: none;
4209
- }
4210
- #chaty-social-Facebook_Messenger .chaty-default-settings {
4211
- padding-bottom: 25px;
4212
- }
4213
- ul#channels-selected-list {
4214
- margin: 0;
4215
- padding: 0;
4216
- }
4217
- .channels-selected-list li.ui-chaty-state-hl {
4218
- border: dashed 1px #6972da;
4219
- min-height: 95px;
4220
- }
4221
- .viber-help {
4222
- position: absolute;
4223
- right: 43px;
4224
- bottom: -4px;
4225
- font-size: 12px;
4226
- color: #665cac;
4227
- text-decoration: underline;
4228
- cursor: pointer;
4229
  }
4230
  .viber-help span.help-text {
4231
  position: absolute;
@@ -4270,10 +3569,7 @@ a.create-rule.remove-rules {
4270
  .chaty-settings.cls-btn span {
4271
  padding-left: 2px;
4272
  }
4273
- .rpt_description.title-text {
4274
- padding: 25px 0 0 !important;
4275
- display: block !important;
4276
- }
4277
  .chaty-page-option {
4278
  padding: 5px;
4279
  background: #f6f3fa;
@@ -4374,15 +3670,6 @@ span.chaty-url {
4374
  select.multiple-options {
4375
  max-width: 100%;
4376
  }
4377
-
4378
- .rpt_plan.pro-active .rpt_head {
4379
- padding-bottom: 50px;
4380
- }
4381
- .rpt_plan.pro-active .rpt_head .rpt_description {
4382
- display: none;
4383
- }
4384
-
4385
-
4386
  .updates-form-form {
4387
  min-height: calc(100vh - 280px);
4388
  }
@@ -4502,8 +3789,8 @@ select.multiple-options {
4502
  .sp-preview {
4503
  padding: 0;
4504
  margin: 0;
4505
- height: 40px;
4506
- width: 40px;
4507
  border: none;
4508
  -webkit-border-radius: 4px;
4509
  -moz-border-radius: 4px;
@@ -4789,16 +4076,6 @@ body *.form-horizontal__item *.cht-input:disabled {
4789
  .main .form-horizontal__item.pending-message-items.active {
4790
  display: flex;
4791
  }
4792
- .disable-message.label-tooltip.icon {
4793
- font-size: 17px;
4794
- }
4795
- .cta-action-radio .disable-message {
4796
- display: inline-block;
4797
- margin-left: 10px;
4798
- }
4799
- .custom-control.custom-radio .custom-control-input:checked:disabled ~ .custom-control-label:before {
4800
- background: #e2e2e2 !important;
4801
- }
4802
  span.pop-number {
4803
  position: absolute;
4804
  top: -6px;
@@ -4811,6 +4088,16 @@ span.pop-number {
4811
  min-height: 16px;
4812
  text-align: center;
4813
  }
 
 
 
 
 
 
 
 
 
 
4814
  .preview .page .chaty-widget .icon i#iconWidget {
4815
  position: relative;
4816
  overflow: inherit;
@@ -4844,10 +4131,14 @@ span.pop-number {
4844
  -webkit-transform: translate(0px, -50%);
4845
  -moz-transform: translate(0px, -50%);
4846
  transform: translate(0px, -50%);
 
4847
  }
4848
- .chaty-popup-content {
4849
  position: relative;
4850
  padding: 0;
 
 
 
4851
  }
4852
  .chaty-popup-close {
4853
  position: absolute;
@@ -4882,10 +4173,24 @@ span.pop-number {
4882
  text-align: center;
4883
  }
4884
  .chaty-popup-footer {
4885
- padding: 10px;
4886
  text-align: center;
4887
  border-top: solid 1px #e8e8e8;
4888
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4889
  .gtm-select {
4890
  width: 27%;
4891
  }
@@ -5137,12 +4442,38 @@ a.remove-traffic-option {
5137
  padding: 5px 10px 8px;
5138
  border-top: solid 1px #eee2ff;
5139
  }
 
 
 
 
 
5140
  .chaty-setting-col > div > *.chaty-setting-textarea {
5141
  width: 310px;
5142
  max-width: 100%;
5143
  height: 100px;
5144
  padding: 5px;
5145
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5146
  .whatsapp-welcome-message {
5147
  display: none;
5148
  background: rgba(168,134,205,.1);
@@ -5201,6 +4532,22 @@ a.remove-traffic-option {
5201
  width: 100%;
5202
  background: #d2d2d2;
5203
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5204
  a#wpappp_export_to_csv {
5205
  background: #FF6624;
5206
  display: block;
@@ -5264,6 +4611,43 @@ a.url {
5264
  background: #ffeaea;
5265
  color: #dd0000;
5266
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5267
  .main .channels-icons > .icon.chat-channel-Contact_Us {
5268
  width: 180px;
5269
  line-height: 48px;
@@ -5390,6 +4774,7 @@ body *.full-width {
5390
  width: 100%;
5391
  display: block;
5392
  padding: 0 0 5px 0;
 
5393
  }
5394
  .chaty-setting-textarea {
5395
  width: 100%;
@@ -5458,6 +4843,11 @@ button#delete-widget-btn {
5458
  background: #ff0000;
5459
  border-color: #ff0000;
5460
  }
 
 
 
 
 
5461
  .select2-box {
5462
  width: 100%;
5463
  height: 36px;
@@ -5468,6 +4858,112 @@ button#delete-widget-btn {
5468
  .date-schedule:hover .chaty-pro-feature {
5469
  display: block;
5470
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5471
  @keyframes shake {
5472
  10%, 90% {
5473
  transform: translate3d(-1px, 0, 0);
@@ -5535,6 +5031,103 @@ button#delete-widget-btn {
5535
  height: 60px
5536
  }
5537
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5538
  @media screen and (max-width: 1280px) {
5539
  .preview {
5540
  top: 180px;
@@ -5542,7 +5135,7 @@ button#delete-widget-btn {
5542
  .chaty-sticky-buttons {
5543
  position: fixed;
5544
  right: 0;
5545
- top: 239px;
5546
  z-index: 601;
5547
  }
5548
  .preview-section-chaty {
@@ -5570,7 +5163,7 @@ button#delete-widget-btn {
5570
  }
5571
  .preview-help-btn {
5572
  display: block;
5573
- top: 177px;
5574
  background: #a785cb;
5575
  padding: 0;
5576
  line-height: 42px;
@@ -5600,9 +5193,11 @@ button#delete-widget-btn {
5600
  }
5601
  .btn-save-sticky {
5602
  top: 20px !important;
 
5603
  }
5604
  .btn-help {
5605
  top: 60px !important;
 
5606
  }
5607
  }
5608
  @media screen and (max-width: 1180px) {
@@ -5658,7 +5253,7 @@ button#delete-widget-btn {
5658
  margin: 0;
5659
  }
5660
  .chaty-settings {
5661
- width: 92px;
5662
  text-align: center;
5663
  }
5664
  .chaty-default-settings .icon.icon-md svg, .main .channels-selected__item .icon {
@@ -5705,8 +5300,45 @@ button#delete-widget-btn {
5705
  .chaty-feature, .chaty-feature.second, .chaty-feature.analytics {
5706
  min-height: inherit;
5707
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5708
  }
5709
  @media screen and (max-width: 680px) {
 
 
 
 
 
 
 
 
 
 
 
5710
  .chaty-default-settings > * {
5711
  display: inline-block;
5712
  vertical-align: top;
@@ -5716,7 +5348,7 @@ button#delete-widget-btn {
5716
  margin: 0 0 15px 0;
5717
  }
5718
  .chaty-default-settings .channels__input-box {
5719
- width: calc(100% - 80px);
5720
  }
5721
  .viber-help {
5722
  position: relative;
@@ -5727,7 +5359,7 @@ button#delete-widget-btn {
5727
  width: 100%;
5728
  }
5729
  .chaty-default-settings .channels__device-box {
5730
- width: calc(100% - 105px);
5731
  text-align: left;
5732
  padding: 10px 0 0 0;
5733
  }
@@ -5742,7 +5374,7 @@ button#delete-widget-btn {
5742
  .extra-chaty-settings {
5743
  padding: 10px 0 0;
5744
  }
5745
- .chaty-setting-col input[type='text'], select.channel-select-input {
5746
  width: 100%;
5747
  }
5748
  .chaty-default-settings .channels__device-box .channels__view {
@@ -5815,7 +5447,7 @@ button#delete-widget-btn {
5815
  padding-right: 2px;
5816
  }
5817
  .chaty-cls-setting .chaty-default-settings .channels__input-box {
5818
- width: calc(100% - 114px);
5819
  }
5820
  .chaty-cls-setting .chaty-settings.cls-btn {
5821
  margin-left: 0;
@@ -5937,6 +5569,9 @@ button#delete-widget-btn {
5937
  .mobile-message {
5938
  display: block;
5939
  }
 
 
 
5940
  .mobile-button {
5941
  display: block;
5942
  margin: 10px 0 0 0px;
 
 
 
 
1
  .btn-help, .btn-help:active, .btn-help:hover, .btn-save, .btn-save-sticky a, .icon:after, i {
2
  color: #fff
3
  }
73
  content: "\f232"
74
  }
75
 
76
+ *, :after, :before {
77
  box-sizing: border-box
78
  }
79
 
128
  opacity: 0
129
  }
130
 
131
+ .custom-control .custom-control-input.js-upload:disabled ~ .custom-control-label:before {
132
  background: rgba(0, 0, 0, .1)
133
  }
134
 
144
  position: static
145
  }
146
 
147
+ .custom-control.custom-checkbox .custom-control-label:before {
148
  content: '';
149
  transition: all .2s;
150
  position: absolute;
174
  display: none
175
  }
176
 
177
+ .custom-control.custom-checkbox .custom-control-input:checked ~ .custom-control-label:before {
178
  background-image: url(../images/icon-check.svg);
179
  background-color: transparent
180
  }
703
  vertical-align: middle;
704
  width: auto;
705
  height: auto;
706
+ line-height: 1;
707
  }
708
  .main .channels-selected__item .icon > i {
709
  font-size: 30px;
892
  background-color: #333;
893
  box-shadow: 0 2px 4px rgba(0, 0, 0, .15);
894
  border-radius: 6px;
895
+ font-style: normal;
896
+ }
897
+
898
+ .icon.label-tooltip:after {
899
+ width: 250px;
900
+ white-space: normal;
901
+ line-height: 16px;
902
+ padding: 10px;
903
  }
904
 
905
  .btn-save:after, .icon:before, .popover:after {
1010
  border-radius: 9px
1011
  }
1012
 
1013
+ .btn-help, .remove-chaty-widget-sticky, .preview-help-btn {
1014
  text-align: center;
1015
  padding-top: 10px;
1016
  position: absolute;
1099
  padding: 0 5px;
1100
  position: relative;
1101
  box-shadow: 0 1px 14px rgba(156, 117, 198, .4), 0 2px 4px rgba(0, 0, 0, .15);
1102
+ margin: 0 0 20px 0;
1103
  text-align: center;
1104
  max-width: 635px;
1105
  }
1327
  }
1328
 
1329
  .upgrade-block .money-guaranteed {
1330
+ color: #a886cd;
1331
+ font-size: 12px;
1332
  line-height: 18px;
1333
+ margin-bottom: 30px;
1334
+ position: relative;
1335
+ z-index: 10;
1336
+ top: -10px
 
 
 
 
 
1337
  }
1338
 
1339
  .easy-modal.modal-upgrade {
1485
 
1486
  .chaty-widget-icons-left .tooltip .tooltiptext, .chaty-widget-icons-right .tooltip .tooltiptext {
1487
  white-space: pre-wrap;
1488
+ display: flex;
1489
  width: 250px;
1490
+ min-height: 30px;
1491
  color: #000;
1492
  text-align: center;
1493
  padding: 0px;
1494
+ bottom: 0;
1495
  position: absolute;
1496
  z-index: 35;
1497
  font-size: 12px;
1498
+ line-height: 30px
1499
  }
1500
 
1501
  .tooltip .tooltiptext span {
1503
  padding: 0px 15px;
1504
  display: inline-block;
1505
  vertical-align: middle;
1506
+ line-height: 30px;
1507
+ height: 30px;
1508
  float: right;
1509
  margin: 0;
1510
+ border-radius: 5px;
1511
  }
1512
  .chaty-widget-icons-left .tooltip .tooltiptext span {
1513
  float: left;
1520
  .chaty-widget-icons-right .tooltip .tooltiptext {
1521
  justify-content: center;
1522
  align-items: center;
1523
+ right: 41px;
 
 
 
 
1524
  }
1525
  .chaty-widget-icons-right .tooltip .tooltiptext.has-multiline.line-1 {
1526
 
1547
  padding-bottom: 2px;
1548
  }
1549
 
1550
+ .mobiel-view .chaty-widget-icons-right .tooltip .tooltiptext {
1551
+ right: 35px
1552
+ }
1553
+
1554
  .chaty-widget-icons-left .tooltip .tooltiptext {
1555
  align-items: center;
1556
  justify-content: center;
1569
  .notice, div.error, div.updated {
1570
  display: none !important
1571
  }
1572
+ .notice.premio-notice {
 
1573
  display: block !important
1574
  }
1575
+ div#setting-error-settings_updated {
1576
+ display: none !important
1577
+ }
1578
 
1579
  .domain__input, .domain__label {
1580
  max-width: 342px;
1859
  height: 34px;
1860
  position: relative;
1861
  padding: 0 0 0 60px !important;
1862
+ line-height: 24px !important;
1863
  width: 100% !important;
1864
  }
1865
 
2509
  padding-left: 17px;
2510
  position: relative;
2511
  font-size: 14px;
2512
+ margin-left: 10px
2513
  }
2514
 
2515
  .channels__view-check {
2518
  opacity: 0
2519
  }
2520
 
2521
+ .channels__view-check:checked ~ .channels__view-txt:before {
2522
+ /*background-image: url(../images/icon-check.svg);
2523
+ background-color: transparent*/
2524
  background: #a785cb;
2525
  color: #fff;
2526
  }
2527
+
2528
+ .channels__view-check:checked ~ .channels__view-txt:after {
2529
  color: #fff;
2530
  content: "\f147";
2531
  font-family: dashicons;
2563
  background: #FFF;
2564
  box-shadow: 0 4px 14px rgba(0, 0, 0, .15);
2565
  border-radius: 9px;
2566
+ width: 291px
2567
  }
2568
  .channels__input.transparent {
2569
+ background: 0 0;
2570
  box-shadow: none;
2571
  }
2572
  .channels__input-box {
2768
  right: 0
2769
  }
2770
 
2771
+ .file-input-new .file-browse:hover span {
2772
  text-decoration: none
2773
  }
2774
 
3024
 
3025
  .license-key {
3026
  border: 1px solid #ccc;
3027
+ background: #FFFFFF;
3028
  width: 100%;
3029
  max-width: 350px;
3030
+ margin: 10px 0 20px;
3031
  }
3032
 
3033
  .license-key .license-key-header {
3035
  padding: 15px 12px;
3036
  font-weight: 600;
3037
  background: #f9f9f9;
3038
+ color: #23282d;
3039
  }
3040
 
3041
  .license-key .license-key-content {
3042
  padding: 15px 12px;
3043
+ background: #ffffff;
3044
  }
3045
 
3046
+ .license-key .license-key-content input[type="text"] {
3047
  width: 100%;
3048
  font-size: 14px;
3049
+ font-weight: normal;
3050
  }
3051
 
3052
  .license-key .license-key-footer {
3053
  border-top: 1px solid #ccc;
3054
  padding: 15px 12px;
3055
+ background: #f9f9f9;
3056
  }
3057
 
3058
  .license-key .license-key-message {
3094
 
3095
  span.expired-message {
3096
  color: #a00000;
3097
+ font-size: 18px;
3098
  }
3099
 
3100
  .wrap.wrap-licenses {
3267
  width: 100%
3268
  }
3269
 
3270
+ select.form-fonts, select.chaty-select {
3271
+ width: 360px;
3272
+ max-width: 100%;
3273
+ border: none;
3274
+ color: #32373c;
3275
+ outline: 0;
3276
+ padding: 5px 7px;
3277
+ line-height: 26px;
3278
+ background-color: #ffffff;
3279
+ border-radius: 5px;
3280
+ height: 36px;
3281
+ -webkit-box-shadow: 0px 0px 15px 0px rgba(234, 234, 234, 1);
3282
+ -moz-box-shadow: 0px 0px 15px 0px rgba(234, 234, 234, 1);
3283
+ box-shadow: 0px 0px 15px 0px rgba(234, 234, 234, 1);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3284
  }
3285
+ select.chaty-select:disabled, textarea.test_textarea:disabled {
3286
+ background: #eee;
3287
+ border: solid 1px #ddd;
3288
+ color: #32373c;
 
3289
  }
3290
+ .icon.label-tooltip {
3291
+ font-size: 12px;
3292
+ font-weight: normal;
3293
+ color: #72777c;
3294
+ display: inline-block;
3295
+ height: 24px !important;
3296
+ width: auto !important;
3297
  }
3298
+ .icon.label-tooltip:after {
3299
+ width: 250px;
3300
+ white-space: normal;
3301
+ line-height: 16px;
3302
+ padding: 10px;
 
 
 
 
3303
  }
3304
 
3305
+ p.udner-title strong {
3306
+ font-size: 40px;
3307
+ padding-bottom: 30px;
3308
+ display: block;
3309
+ color: #b97fcf
3310
  }
3311
+ .channels-selected-list li {
3312
+ display: block;
3313
+ max-width: 640px;
3314
+ padding: 15px;
3315
+ background: #EFF6F6;
3316
+ -webkit-border-radius: 10px;
3317
+ -moz-border-radius: 10px;
3318
+ border-radius: 10px;
3319
+ margin-bottom: 15px;
3320
  }
3321
+ .chaty-settings a {
3322
+ text-decoration: none;
3323
+ display: inline-block;
3324
+ color: #fff;
3325
+ margin-left: 15px;
3326
+ height: 26px;
3327
+ background: #A785CB;
3328
+ text-align: center;
3329
+ vertical-align: middle;
3330
+ -webkit-border-radius: 18px;
3331
+ -moz-border-radius: 18px;
3332
+ border-radius: 18px;
3333
+ font-size: 10px;
3334
+ line-height: 26px;
3335
+ padding: 0 5px;
3336
  }
3337
+ .chaty-settings a .dashicons, .chaty-settings a .dashicons-before:before {
3338
+ font-size: 16px;
3339
+ line-height: 26px;
3340
+ display: inline-block;
3341
+ margin: 0;
3342
+ text-align: center;
3343
  }
3344
+ .move-icon {
3345
+ display: inline-block;
3346
+ vertical-align: middle;
 
3347
  }
3348
+ .move-icon img {
3349
+ width: 10px;
3350
+ margin-right: 5px;
3351
+ margin-top: 8px;
3352
+ cursor: move;
3353
  }
3354
+ .chaty-default-settings > * {
3355
+ display: inline-block;
3356
+ vertical-align: middle;
 
3357
  }
3358
+ .chaty-default-settings {
3359
+ display: flex;
3360
+ align-items: center;
3361
+ flex-wrap: wrap;
3362
+ position: relative;
3363
+ padding-bottom: 15px;
3364
  }
3365
+ .chaty-advance-settings {
3366
+ width: 100%;
3367
+ border: solid 1px #a785cb;
3368
+ margin: 20px 0 0 0;
3369
+ padding: 10px;
3370
+ -webkit-border-radius: 5px;
3371
+ -moz-border-radius: 5px;
3372
+ border-radius: 5px;
3373
+ background: #f2f2f2;
3374
+ display: none;
3375
+ min-height: 70px;
3376
+ position: relative;
3377
  }
3378
+ .chaty-setting-col > * {
3379
+ display: inline-block;
3380
+ padding: 0 0 10px 0;
3381
+ vertical-align: top;
3382
+ line-height: 36px;
3383
  }
3384
+ .chaty-setting-col > label {
3385
+ width: 170px;
 
 
3386
  }
3387
+ .chaty-setting-col .channels__view {
3388
+ margin: 0;
3389
+ padding: 0;
 
3390
  }
3391
+ .chaty-setting-col input[type=text], select.channel-select-input {
3392
+ width: 300px;
3393
+ height: 36px;
3394
+ line-height: 36px;
3395
+ padding: 0 10px;
3396
+ -webkit-border-radius: 4px;
3397
+ -moz-border-radius: 4px;
3398
+ border-radius: 4px;
3399
+ font-family: Rubik,sans-serif;
3400
+ font-size: 17px;
3401
  }
3402
+ .sp-replacer.sp-light {
3403
+ padding: 0;
3404
+ -webkit-border-radius: 4px;
3405
+ -moz-border-radius: 4px;
3406
+ border-radius: 4px;
3407
+ border: none;
 
3408
  }
3409
+ .chaty-setting-col a.upload-chaty-icon {
3410
+ background: #a886cd;
3411
+ color: #fff;
3412
+ text-decoration: none;
3413
+ line-height: 36px;
3414
+ padding: 0 10px;
3415
+ -webkit-border-radius: 4px;
3416
+ -moz-border-radius: 4px;
3417
+ border-radius: 4px;
3418
+ display: inline-block;
3419
  }
3420
+ .chaty-setting-col a.upload-chaty-icon span {
3421
+ line-height: 40px;
 
3422
  }
3423
+ .chaty-setting-col input[type='text'].chaty-color-field {
3424
+ width: 40px;
 
 
 
3425
  }
3426
+ .chaty-setting-col input[type='text']:read-only {
3427
+ background: #fff;
 
 
 
3428
  }
3429
+ .chaty-pro-feature {
3430
+ position: absolute;
3431
+ left: 0;
3432
+ width: 100%;
3433
+ text-align: center;
3434
+ top: 0;
3435
+ height: 100%;
3436
+ vertical-align: middle;
3437
+ background: rgba(255,255,255,0.4);
3438
+ -webkit-border-radius: 5px;
3439
+ -moz-border-radius: 5px;
3440
+ border-radius: 5px;
3441
+ display: none;
3442
  }
3443
+ .chaty-advance-settings:hover .chaty-pro-feature, .chaty-date-time-option:hover .chaty-pro-feature {
3444
+ display: inline-block;
3445
+ width: 170px;
3446
+ margin: 0 auto;
3447
+ left: 0;
3448
+ right: 0;
3449
  }
3450
+ /*.chaty-advance-settings:hover .chaty-setting-col {
3451
+ filter: blur(2px);
3452
+ -o-filter: blur(2px);
3453
+ -ms-filter: blur(2px);
3454
+ -moz-filter: blur(2px);
3455
+ -webkit-filter: blur(2px);
3456
+ }*/
3457
+ .chaty-pro-feature a {
3458
+ text-decoration: none;
3459
+ background: #ff6624;
3460
+ color: #fff;
3461
+ padding: 0px 10px;
3462
+ line-height: 36px;
3463
+ display: inline-block;
3464
+ top: 50%;
3465
+ position: absolute;
3466
+ left: 0;
3467
+ right: 0;
3468
+ width: 180px;
3469
+ margin: -20px auto 0;
3470
+ -webkit-border-radius: 5px;
3471
+ -moz-border-radius: 5px;
3472
+ border-radius: 5px;
3473
  }
3474
+ .chaty-pro-feature a:hover {
3475
+ background: #a886cd;
 
3476
  }
3477
+ a#upload_qr_code {
3478
+ background: #fff;
3479
+ display: inline-block;
3480
+ height: 40px;
3481
+ width: 40px;
 
3482
  text-align: center;
3483
+ line-height: 40px;
3484
+ text-decoration: none;
 
 
 
3485
  }
3486
+ a#upload_qr_code span {
3487
+ line-height: 36px;
 
3488
  }
3489
+ .cls-btn-settings, .close-btn-set {
3490
+ opacity: 0;
3491
+ visibility: hidden;
3492
+ pointer-events: none;
3493
  }
3494
+ .cls-btn-settings.active, .close-btn-set.active {
3495
+ opacity: 1;
3496
+ visibility: visible;
3497
+ pointer-events: auto;
3498
  }
3499
+ .chaty-settings.cls-btn {
3500
+ margin-left: 164px;
 
3501
  }
3502
+ .section2 {
3503
+ padding: 25px 15px 30px;
3504
+ border-top: 2px solid rgba(130, 130, 130, .1);
 
3505
  }
3506
+ #chaty-social-close {
3507
+ display: none;
 
 
3508
  }
3509
+ #chaty-social-Facebook_Messenger .chaty-default-settings {
3510
+ padding-bottom: 25px;
 
 
3511
  }
3512
+ ul#channels-selected-list {
3513
+ margin: 0;
3514
+ padding: 0;
 
3515
  }
3516
+ .channels-selected-list li.ui-chaty-state-hl {
3517
+ border: dashed 1px #6972da;
3518
+ min-height: 95px;
 
3519
  }
3520
+ .viber-help {
3521
+ position: absolute;
3522
+ right: 43px;
3523
+ bottom: -4px;
3524
+ font-size: 12px;
3525
+ color: #665cac;
3526
+ text-decoration: underline;
3527
+ cursor: pointer;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3528
  }
3529
  .viber-help span.help-text {
3530
  position: absolute;
3569
  .chaty-settings.cls-btn span {
3570
  padding-left: 2px;
3571
  }
3572
+
 
 
 
3573
  .chaty-page-option {
3574
  padding: 5px;
3575
  background: #f6f3fa;
3670
  select.multiple-options {
3671
  max-width: 100%;
3672
  }
 
 
 
 
 
 
 
 
 
3673
  .updates-form-form {
3674
  min-height: calc(100vh - 280px);
3675
  }
3789
  .sp-preview {
3790
  padding: 0;
3791
  margin: 0;
3792
+ height: 36px;
3793
+ width: 36px;
3794
  border: none;
3795
  -webkit-border-radius: 4px;
3796
  -moz-border-radius: 4px;
4076
  .main .form-horizontal__item.pending-message-items.active {
4077
  display: flex;
4078
  }
 
 
 
 
 
 
 
 
 
 
4079
  span.pop-number {
4080
  position: absolute;
4081
  top: -6px;
4088
  min-height: 16px;
4089
  text-align: center;
4090
  }
4091
+ .disable-message.label-tooltip.icon {
4092
+ font-size: 17px;
4093
+ }
4094
+ .cta-action-radio .disable-message {
4095
+ display: inline-block;
4096
+ margin-left: 10px;
4097
+ }
4098
+ .custom-control.custom-radio .custom-control-input:checked:disabled ~ .custom-control-label:before {
4099
+ background: #e2e2e2 !important;
4100
+ }
4101
  .preview .page .chaty-widget .icon i#iconWidget {
4102
  position: relative;
4103
  overflow: inherit;
4131
  -webkit-transform: translate(0px, -50%);
4132
  -moz-transform: translate(0px, -50%);
4133
  transform: translate(0px, -50%);
4134
+ font-weight: normal;
4135
  }
4136
+ .chaty-popup .chaty-popup-content {
4137
  position: relative;
4138
  padding: 0;
4139
+ margin: 0;
4140
+ top: 0;
4141
+ width: 100%;
4142
  }
4143
  .chaty-popup-close {
4144
  position: absolute;
4173
  text-align: center;
4174
  }
4175
  .chaty-popup-footer {
4176
+ padding: 15px 10px;
4177
  text-align: center;
4178
  border-top: solid 1px #e8e8e8;
4179
  }
4180
+ .chaty-popup-footer button {
4181
+ border: solid 1px #00c478;
4182
+ padding: 5px 10px;
4183
+ border-radius: 4px;
4184
+ background: #00c478;
4185
+ color: #fff;
4186
+ }
4187
+ .chaty-popup-footer button.btn.btn-default {
4188
+ background: #fff;
4189
+ color: #333;
4190
+ border: solid 1px #333;
4191
+ outline: 0;
4192
+ box-shadow: none;
4193
+ }
4194
  .gtm-select {
4195
  width: 27%;
4196
  }
4442
  padding: 5px 10px 8px;
4443
  border-top: solid 1px #eee2ff;
4444
  }
4445
+ .chaty-setting-col > div > * {
4446
+ display: inline-block;
4447
+ padding: 0 10px 0 0;
4448
+ vertical-align: middle;
4449
+ }
4450
  .chaty-setting-col > div > *.chaty-setting-textarea {
4451
  width: 310px;
4452
  max-width: 100%;
4453
  height: 100px;
4454
  padding: 5px;
4455
  }
4456
+ .chaty-setting-col > div > .channels__view {
4457
+ padding: 0;
4458
+ margin: 0;
4459
+ }
4460
+ span.icon.label-tooltip.support-tooltip {
4461
+ display: inline-block;
4462
+ margin: 0;
4463
+ padding: 0 3px;
4464
+ width: auto;
4465
+ font-style: italic;
4466
+ height: auto;
4467
+ }
4468
+ .chaty-setting-col > label {
4469
+ width: 170px;
4470
+ }
4471
+ .chaty-setting-col > label.full-width {
4472
+ width: 100%;
4473
+ }
4474
+ .chaty-setting-col .wp-color-result-text {
4475
+ display: none;
4476
+ }
4477
  .whatsapp-welcome-message {
4478
  display: none;
4479
  background: rgba(168,134,205,.1);
4532
  width: 100%;
4533
  background: #d2d2d2;
4534
  }
4535
+ input[type=search].search-input, select.search-input {
4536
+ height: 30px;
4537
+ float: left;
4538
+ width: 170px;
4539
+ font-weight: normal;
4540
+ }
4541
+ .date-range {
4542
+ display: none;
4543
+ padding: 5px 0 0 0;
4544
+ }
4545
+ .date-range.active {
4546
+ display: block;
4547
+ }
4548
+ .lead-search-box {
4549
+ float: right;
4550
+ }
4551
  a#wpappp_export_to_csv {
4552
  background: #FF6624;
4553
  display: block;
4611
  background: #ffeaea;
4612
  color: #dd0000;
4613
  }
4614
+ .custom-pagination {
4615
+ float: right;
4616
+ margin: 25px 0 0 0;
4617
+ }
4618
+ .custom-pagination ul {
4619
+ margin: 0;
4620
+ padding: 0;
4621
+ display: block;
4622
+ }
4623
+ .custom-pagination ul li {
4624
+ display: block;
4625
+ float: left;
4626
+ margin: 0 0 0 4px;
4627
+ }
4628
+ .custom-pagination ul li a, .custom-pagination ul li > span {
4629
+ display: block;
4630
+ padding: 2px 10px;
4631
+ text-decoration: none;
4632
+ color: #333;
4633
+ font-size: 14px;
4634
+ border-radius: 3px;
4635
+ background: #ffffff;
4636
+ border: solid 1px #e3e3e3;
4637
+ }
4638
+ .custom-pagination ul li a .dashicons {
4639
+ font-size: 14px;
4640
+ height: 14px;
4641
+ width: 14px;
4642
+ text-align: center;
4643
+ line-height: 22px;
4644
+ }
4645
+ .custom-pagination ul li a.next, .custom-pagination ul li a.prev {
4646
+ padding: 2px 8px;
4647
+ }
4648
+ .custom-pagination ul li > span {
4649
+ background: #f3f5f6;
4650
+ }
4651
  .main .channels-icons > .icon.chat-channel-Contact_Us {
4652
  width: 180px;
4653
  line-height: 48px;
4774
  width: 100%;
4775
  display: block;
4776
  padding: 0 0 5px 0;
4777
+ line-height: 24px;
4778
  }
4779
  .chaty-setting-textarea {
4780
  width: 100%;
4843
  background: #ff0000;
4844
  border-color: #ff0000;
4845
  }
4846
+ .chaty-setting-col>div span.supported-tags {
4847
+ display: flex;
4848
+ font-size: 12px;
4849
+ line-height: 1.4;
4850
+ }
4851
  .select2-box {
4852
  width: 100%;
4853
  height: 36px;
4858
  .date-schedule:hover .chaty-pro-feature {
4859
  display: block;
4860
  }
4861
+ .sr-only {
4862
+ position: absolute;
4863
+ width: 1px;
4864
+ height: 1px;
4865
+ padding: 0;
4866
+ margin: -1px;
4867
+ overflow: hidden;
4868
+ clip: rect(0,0,0,0);
4869
+ border: 0;
4870
+ }
4871
+
4872
+ .chaty-updates-form {
4873
+ width: 768px;
4874
+ padding: 70px 40px;
4875
+ box-shadow: 0px 20px 25px rgb(0 0 0 / 10%), 0px 10px 10px rgb(0 0 0 / 4%);
4876
+ display: flex;
4877
+ margin: 100px auto 0;
4878
+ font-family: Rubik, sans-serif;
4879
+ }
4880
+ .update-title {
4881
+ font-style: normal;
4882
+ font-weight: 500;
4883
+ font-size: 26px;
4884
+ line-height: 150%;
4885
+ align-items: center;
4886
+ color: #334155;
4887
+ }
4888
+ .updates-form-form-left {
4889
+ padding: 50px 20px 50px 0;
4890
+ }
4891
+ .updates-form-form-right p {
4892
+ font-style: normal;
4893
+ font-weight: normal;
4894
+ font-size: 14px;
4895
+ line-height: 150%;
4896
+ position: relative;
4897
+ padding: 0 0 20px 0;
4898
+ color: #475569;
4899
+ margin: 40px 0;
4900
+ }
4901
+ .updates-form-form-right p:after {
4902
+ content: "";
4903
+ border: 1px solid #3C85F7;
4904
+ position: absolute;
4905
+ bottom: 5px;
4906
+ left: 0;
4907
+ width: 90px;
4908
+ }
4909
+ .updates-form {
4910
+ display: flex;
4911
+ }
4912
+ .update-form-input {
4913
+ position: relative;
4914
+ }
4915
+ .update-form-input input {
4916
+ width: 320px;
4917
+ background: #F4F4F5;
4918
+ border: 1px solid #F4F4F5;
4919
+ box-sizing: border-box;
4920
+ border-radius: 4px;
4921
+ height: 40px;
4922
+ line-height: 40px;
4923
+ padding: 0 50px 0 40px;
4924
+ font-size: 13px;
4925
+ box-sizing: border-box;
4926
+ color: #334155;
4927
+ }
4928
+ .update-form-input .form-submit-btn {
4929
+ background: #3C85F7;
4930
+ border-radius: 4px;
4931
+ border: none;
4932
+ color: #fff;
4933
+ font-style: normal;
4934
+ font-weight: 500;
4935
+ font-size: 13px;
4936
+ line-height: 150%;
4937
+ height: 34px;
4938
+ padding: 0 10px;
4939
+ position: absolute;
4940
+ right: 3px;
4941
+ top: 3px;
4942
+ }
4943
+ .updates-form .form-cancel-btn.no {
4944
+ margin: 0 0 0 3px;
4945
+ background: transparent;
4946
+ border: none;
4947
+ color: #64748B;
4948
+ font-size: 13px;
4949
+ line-height: 40px;
4950
+ padding: 0 0 0 5px;
4951
+ }
4952
+ .updates-form .form-cancel-btn.no:hover {
4953
+ color: #334155;
4954
+ }
4955
+ .mail-icon {
4956
+ position: absolute;
4957
+ top: 8px;
4958
+ left: 10px;
4959
+ }
4960
+ .update-notice {
4961
+ margin: 50px 0 0 0;
4962
+ font-size: 12px;
4963
+ padding: 0 110px 0 0;
4964
+ line-height: 150%;
4965
+ color: #64748B;
4966
+ }
4967
  @keyframes shake {
4968
  10%, 90% {
4969
  transform: translate3d(-1px, 0, 0);
5031
  height: 60px
5032
  }
5033
  }
5034
+ .chaty-checkbox {
5035
+ position: relative;
5036
+ line-height: 36px;
5037
+ }
5038
+ .chaty-checkbox > span {
5039
+ position: relative;
5040
+ border: solid 2px #a785cb;
5041
+ display: inline-block;
5042
+ width: 16px;
5043
+ height: 16px;
5044
+ border-radius: 2px;
5045
+ vertical-align: middle;
5046
+ }
5047
+ .chaty-checkbox input:checked + span {
5048
+ background: #a785cb;
5049
+ }
5050
+ .chaty-checkbox input:checked + span:before {
5051
+ color: #fff;
5052
+ content: "\f147";
5053
+ font-family: dashicons;
5054
+ line-height: 1;
5055
+ position: absolute;
5056
+ top: -2px;
5057
+ left: -3px;
5058
+ display: block;
5059
+ }
5060
+ .icon.label-tooltip.inline-tooltip {
5061
+ display: inline-block;
5062
+ width: 24px;
5063
+ padding: 0;
5064
+ margin: 0;
5065
+ height: 24px;
5066
+ vertical-align: middle;
5067
+ line-height: 34px;
5068
+ }
5069
+ html[dir='rtl'] .iti--container {
5070
+ margin-left: 503px;
5071
+ }
5072
+ .toast-message {
5073
+ position: fixed;
5074
+ right: -110%;
5075
+ top: 50px;
5076
+ -webkit-box-shadow: 0 3px 6px -4px rgb(0 0 0 / 12%), 0 6px 16px 0 rgb(0 0 0 / 8%), 0 9px 28px 8px rgb(0 0 0 / 5%);
5077
+ box-shadow: 0 3px 6px -4px rgb(0 0 0 / 12%), 0 6px 16px 0 rgb(0 0 0 / 8%), 0 9px 28px 8px rgb(0 0 0 / 5%);
5078
+ background: #fff;
5079
+ padding: 10px 20px;
5080
+ font-family: -apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;
5081
+ border-left: solid 4px #00cc33;
5082
+ transition: all 0.5s linear;
5083
+ z-index: 10001;
5084
+ }
5085
+ .toast-message.active {
5086
+ right: 20px;
5087
+ }
5088
+ html[dir='rtl'] .toast-message {
5089
+ left: -110%;
5090
+ right: auto;
5091
+ }
5092
+ html[dir='rtl'] .toast-message.active {
5093
+ left: 20px;
5094
+ }
5095
+ .toast-message-title {
5096
+ margin-bottom: 8px;
5097
+ color: rgba(0,0,0,.85);
5098
+ font-size: 16px;
5099
+ line-height: 24px;
5100
+ }
5101
+ .toast-close-btn {
5102
+ position: absolute;
5103
+ right: 10px;
5104
+ top: 14px;
5105
+ width: 16px;
5106
+ height: 16px;
5107
+ }
5108
+ .toast-close-btn a {
5109
+ display: block;
5110
+ position: relative;
5111
+ }
5112
+ .toast-close-btn a:after, .toast-close-btn a:before {
5113
+ content: "";
5114
+ position: absolute;
5115
+ width: 12px;
5116
+ height: 2px;
5117
+ background-color: #000000;
5118
+ display: block;
5119
+ border-radius: 2px;
5120
+ transform: rotate(45deg);
5121
+ top: 7px;
5122
+ left: 2px;
5123
+ }
5124
+ .toast-close-btn a:after {
5125
+ transform: rotate(-45deg);
5126
+ }
5127
+ .toast-message-body {
5128
+ font-size: 14px;
5129
+ color: rgba(0,0,0,.8);
5130
+ }
5131
  @media screen and (max-width: 1280px) {
5132
  .preview {
5133
  top: 180px;
5135
  .chaty-sticky-buttons {
5136
  position: fixed;
5137
  right: 0;
5138
+ top: 179px;
5139
  z-index: 601;
5140
  }
5141
  .preview-section-chaty {
5163
  }
5164
  .preview-help-btn {
5165
  display: block;
5166
+ top: 177px !important;
5167
  background: #a785cb;
5168
  padding: 0;
5169
  line-height: 42px;
5193
  }
5194
  .btn-save-sticky {
5195
  top: 20px !important;
5196
+ position: absolute;
5197
  }
5198
  .btn-help {
5199
  top: 60px !important;
5200
+ position: absolute;
5201
  }
5202
  }
5203
  @media screen and (max-width: 1180px) {
5253
  margin: 0;
5254
  }
5255
  .chaty-settings {
5256
+ width: 94px;
5257
  text-align: center;
5258
  }
5259
  .chaty-default-settings .icon.icon-md svg, .main .channels-selected__item .icon {
5300
  .chaty-feature, .chaty-feature.second, .chaty-feature.analytics {
5301
  min-height: inherit;
5302
  }
5303
+ .chaty-updates-form {
5304
+ display: block;
5305
+ width: 92%;
5306
+ margin: 100px 4% 0
5307
+ }
5308
+ .updates-form-form-left {
5309
+ width: 100%;
5310
+ text-align: center;
5311
+ padding: 0 0 20px 0;
5312
+ }
5313
+ .updates-form {
5314
+ display: block;
5315
+ }
5316
+ .update-form-input, .update-form-input input {
5317
+ width: 100%;
5318
+ }
5319
+ .update-form-skip-button {
5320
+ text-align: center;
5321
+ }
5322
+ .updates-form .form-cancel-btn.no {
5323
+ padding:0;
5324
+ margin: 0;
5325
+ }
5326
+ .update-notice {
5327
+ padding: 0;
5328
+ }
5329
  }
5330
  @media screen and (max-width: 680px) {
5331
+ #wpbody-content {
5332
+ padding-right: 10px;
5333
+ }
5334
+ .date-option {
5335
+ width: 100%;
5336
+ margin: 0;
5337
+ padding: 0 0 10px 0;
5338
+ }
5339
+ .custom-search-box {
5340
+ max-width: 100%;
5341
+ }
5342
  .chaty-default-settings > * {
5343
  display: inline-block;
5344
  vertical-align: top;
5348
  margin: 0 0 15px 0;
5349
  }
5350
  .chaty-default-settings .channels__input-box {
5351
+ width: calc(100% - 75px);
5352
  }
5353
  .viber-help {
5354
  position: relative;
5359
  width: 100%;
5360
  }
5361
  .chaty-default-settings .channels__device-box {
5362
+ width: calc(100% - 102px);
5363
  text-align: left;
5364
  padding: 10px 0 0 0;
5365
  }
5374
  .extra-chaty-settings {
5375
  padding: 10px 0 0;
5376
  }
5377
+ .chaty-setting-col input[type='text'], select.channel-select-input, .chaty-setting-col input[type='number'] {
5378
  width: 100%;
5379
  }
5380
  .chaty-default-settings .channels__device-box .channels__view {
5447
  padding-right: 2px;
5448
  }
5449
  .chaty-cls-setting .chaty-default-settings .channels__input-box {
5450
+ width: calc(100% - 108px);
5451
  }
5452
  .chaty-cls-setting .chaty-settings.cls-btn {
5453
  margin-left: 0;
5569
  .mobile-message {
5570
  display: block;
5571
  }
5572
+ header.header {
5573
+ display: block;
5574
+ }
5575
  .mobile-button {
5576
  display: block;
5577
  margin: 10px 0 0 0px;
admin/assets/css/cht-style.min.css CHANGED
@@ -1 +1 @@
1
- *,.rpt_plans .rpt_plan,::after,::before{box-sizing:border-box}.btn-help,.btn-help:active,.btn-help:hover,.btn-save,.btn-save-sticky a,.icon:after,i{color:#fff}body,i{-webkit-font-smoothing:antialiased}.main .channels-selected__item .btn-cancel:focus,.main .channels-selected__item.disabled .btn-cancel:focus,.main .channels-selected__item.disabled input:focus,button:focus,input:focus{outline:0}.easy-modal ul,.upgrade-block ul{list-style-image:url(../images/icon-check-purple.svg);columns:2}.btn-red,.link-back{text-decoration:none}.btn-file,.kv-file-content,.preview .page,.switch-preview{overflow:hidden}@font-face{font-family:icomoon;src:url(../fonts/icomoon.ttf?qh3c2u) format('truetype'),url(../fonts/icomoon.woff?qh3c2u) format('woff'),url(../fonts/icomoon.svg?qh3c2u#icomoon) format('svg');font-weight:400;font-style:normal}i{font-family:icomoon;speak:none;font-style:normal;font-weight:400;font-variant:normal;text-transform:none;line-height:1;-moz-osx-font-smoothing:grayscale}.easy-modal__bottom,.plan_date,body,button,input{font-family:Rubik,sans-serif}.icon-chat-base:before{content:"\e901"}.icon-chat-db:before{content:"\e903"}.icon-chat-bubble:before{content:"\e900"}.icon-chat-smile:before{content:"\e904"}.icon-upload:before{content:"\e902"}.icon-phone:before{content:"\f095"}.icon-whatsapp:before{content:"\f232"}*,::after,::before{box-sizing:border-box}input::-webkit-inner-spin-button,input::-webkit-outer-spin-button{appearance:none;-webkit-appearance:none;margin:0}.container,.ml-auto{margin-left:auto}.container{width:100%;padding-right:15px;padding-left:15px;margin-right:auto}.col-12{flex:0 0 100%;max-width:100%}.text-center{text-align:center}.text-primary{color:#a886cd}.align-top{align-self:flex-start}.custom-control{display:inline-block;color:#5d5c5c;margin-bottom:0;cursor:pointer;min-height:22px;line-height:22px;padding-left:20px;position:relative}.custom-control .custom-control-input{position:absolute;z-index:-1;opacity:0}.custom-control .custom-control-input.js-upload:disabled~.custom-control-label::before{background:rgba(0,0,0,.1)}.custom-control .custom-control-input:disabled~i{opacity:.5}.custom-control+.custom-control{margin-left:16px}.custom-control.custom-checkbox .custom-control-label{position:static}.custom-control.custom-checkbox .custom-control-label::before{content:'';transition:all .2s;position:absolute;top:3px;left:0;display:block;width:15px;height:15px;line-height:15px;text-align:center;background-color:#fff;-webkit-box-shadow:0 0 15px 0 #eaeaea;-moz-box-shadow:0 0 15px 0 #eaeaea;box-shadow:0 0 15px 0 #eaeaea;border-radius:3px;background-position:center;background-repeat:no-repeat;background-size:15px}.color-picker-btn,.custom-control.custom-radio .custom-control-label::before{-webkit-box-shadow:0 0 15px 0 #eaeaea;-moz-box-shadow:0 0 15px 0 #eaeaea}.custom-control.custom-checkbox .custom-control-label::after{display:none}.custom-control.custom-checkbox .custom-control-input:checked~.custom-control-label::before{background-image:url(../images/icon-check.svg);background-color:transparent}.custom-control.custom-radio{padding-left:27px}.custom-control.custom-radio .custom-control-label{position:static}.custom-control.custom-radio .custom-control-label:before{content:'';transition:all .2s;position:absolute;top:0;left:0;display:block;width:22px;height:22px;background-color:#fff;-webkit-box-shadow:0 0 15px 0 #eaeaea;-moz-box-shadow:0 0 15px 0 #eaeaea;box-shadow:0 0 15px 0 #eaeaea;border-radius:50%;border:5px solid #fff}.custom-control.custom-radio .custom-control-label:after{display:none}.custom-control.custom-radio .custom-control-input:checked~.custom-control-label:before{background:#a886cd}.custom-control.custom-radio+label:before{display:none}.position-pro{background:rgba(168,134,205,.1);border-radius:4px;display:flex;padding:6px 0;transition:all .2s;margin-top:11px;flex-wrap:wrap}.position-pro>div{flex:0 0 auto;padding:6px 15px}.position-pro>div>label:first-child{display:block;margin-bottom:10px}.position-pro>div .custom-control-group{background:#fff;box-shadow:0 4px 14px rgba(0,0,0,.15);border-radius:5px;display:flex;align-items:center;width:150px;height:34px}.position-pro>div .custom-control-group .custom-control{width:75px;padding:0;margin:0!important}.position-pro>div .custom-control-group .custom-control .custom-control-label{width:100%;color:#e0e0e0;height:34px;display:flex;align-items:center;padding:6px 7px}.position-pro>div .custom-control-group .custom-control .custom-control-label:before{content:none}.position-pro>div .custom-control-group .custom-control .custom-control-input:checked+.custom-control-label{color:#a886cd;box-shadow:inset 0 3px 7px rgba(0,0,0,.08)}.position-pro>div .custom-control-group .custom-control .custom-control-input:checked+.custom-control-label path{fill:#a886cd}.icon:not(.active):not(:hover) .color-element,.main .channels-icons>.icon:not(.active):not(:hover) .color-element{fill:#bdbdbd}.icon:not(.active):not(:hover) .slack-path,.main .channels-icons>.icon:not(.active):not(:hover) .slack-path{fill:#fff!important}.position-pro>div .custom-control-group .custom-control:first-child .custom-control-label{border-radius:5px 0 0 5px;text-align:left}.position-pro>div .custom-control-group .custom-control:first-child .custom-control-label svg{margin-right:5px}.position-pro>div .custom-control-group .custom-control:last-child .custom-control-label{border-radius:0 5px 5px 0;display:flex;justify-content:flex-end}.position-pro>div .custom-control-group .custom-control:last-child .custom-control-label svg{margin-left:5px}.btn-red,.color-picker-box .color-picker-radio label+label{margin-left:12px}.position-pro input{background:#fff;box-shadow:0 0 10px 2px rgba(0,0,0,.2);-webkit-box-shadow:0 0 10px 2px rgba(0,0,0,.2);-moz-box-shadow:0 0 10px 2px rgba(0,0,0,.2);border-radius:5px;border:0;line-height:24px;padding:5px 7px;width:60px;margin-right:3px}.color-picker-box{background:#fff;box-shadow:0 0 10px 2px rgba(0,0,0,.2);-webkit-box-shadow:0 0 10px 2px rgba(0,0,0,.2);-moz-box-shadow:0 0 10px 2px rgba(0,0,0,.2);border-radius:4px;width:330px;display:none;position:relative}.color-picker-box .color-picker-radio{display:flex;padding:6px 8px 10px;border-bottom:1px solid rgba(130,130,130,.1)}.color-picker-box .color-picker-radio label{border-radius:50%;width:28px;height:28px;position:relative;cursor:pointer;font-size:0}.color-picker-box .color-picker-radio label span{display:block;width:28px;height:28px;vertical-align:top;opacity:0;transition:all .2s;background-position:center;background-repeat:no-repeat;background-image:url(../images/icon-check-white.svg)}.color-picker-box .color-picker-radio label input{position:absolute;z-index:-1;opacity:0}.color-picker-box .color-picker-radio label input:checked+span{opacity:1}.btn-help span,.color-picker-box .color-picker-custom a{margin-left:5px}.color-picker-box .color-picker-custom{padding:10px 8px 16px}.color-picker-box .color-picker-custom>div{display:flex;align-items:center}.color-picker-box .color-picker-custom>div+div{margin-top:10px}.color-picker-box .color-picker-custom .circle{color:#ff6376;background:#fff;border:1px solid #d0d0d0;border-radius:50%;width:28px;height:28px;align-items:center;justify-content:center;display:flex;margin-right:3px;font-size:14px}a,a:focus{color:#a886cd}body,button{font-size:17px;font-family:Rubik,sans-serif}.color-picker-box .color-picker-custom input{background:#fff;box-shadow:0 4px 14px rgba(0,0,0,.15);border-radius:5px;border:0;line-height:24px;padding:5px 7px;height:34px;width:180px}.color-picker-btn{background-color:#fff;-webkit-box-shadow:0 0 15px 0 #eaeaea;-moz-box-shadow:0 0 15px 0 #eaeaea;box-shadow:0 0 15px 0 #eaeaea;border-radius:4px;border:0;padding:6px 8px;line-height:17px}.color-picker-btn .circle{display:inline-block;vertical-align:top;width:15px;height:15px;border-radius:50%;margin:1px 4px 1px 0}.color-picker-btn svg{transition:all .2s;margin-left:8px}.color-picker-btn-close{background-color:transparent;border:0;padding:5px;line-height:17px;position:absolute;right:0;top:0}.color-picker-btn-close svg{transform:rotate(180deg)}.switch{display:flex;align-items:center;margin-bottom:0;position:relative;flex:0 0 auto}.switch input[type=checkbox]{pointer-events:none;opacity:0;position:absolute;top:0;right:0;z-index:-1;width:0;height:0}.switch input[type=checkbox]:checked+.switch__styled{background:#a886cd;-webkit-box-shadow:0 0 15px 0 #eaeaea;-moz-box-shadow:0 0 15px 0 #eaeaea;box-shadow:0 0 15px 0 #eaeaea}.switch input[type=checkbox]:checked+.switch__styled:after{left:40px;background:#fff}.form-group .switch{height:42px}.switch__styled{background:linear-gradient(283.61deg,#f6f6f6 7.4%,#fff 91.67%),#fff;margin:0 8px;display:inline-block;height:34px;width:72px;border-radius:17px;position:relative;transition:all .2s;cursor:pointer;-webkit-box-shadow:0 0 15px 0 #eaeaea;-moz-box-shadow:0 0 15px 0 #eaeaea;box-shadow:0 0 15px 0 #eaeaea;background:#cfbde4}.switch__styled:after{content:'';position:absolute;left:2px;top:2px;height:30px;width:30px;border-radius:50%;background-color:#fff;transition:all .2s;-webkit-box-shadow:0 0 15px 0 #eaeaea inset;-moz-box-shadow:0 0 15px 0 #eaeaea inset;box-shadow:0 0 15px 0 #eaeaea inset}.switch.custom-switch{margin-right:auto;margin-left:30px}.switch.custom-switch .switch__styled{background:linear-gradient(283.61deg,#f6f6f6 7.4%,#fff 91.67%),#fff;box-shadow:0 4px 14px rgba(0,0,0,.15)}body{height:auto;background-image:url(../images/bg.svg);background-position:155px 30px;background-repeat:no-repeat;background-size:calc(100% - 150px) auto;background-attachment:fixed;color:#4f4f4f;padding-bottom:50px;margin:0}button{cursor:pointer}button#collapse-button{font-size:13px}input{font-family:Rubik,sans-serif;font-size:17px}#cht-form input[type=submit]{opacity:0;position:absolute}a:focus{box-shadow:none}::-webkit-input-placeholder{color:#e0e0e0}::-moz-placeholder{color:#e0e0e0}:-ms-input-placeholder{color:#e0e0e0}:-moz-placeholder{color:#e0e0e0}.section{padding:30px 15px;position:relative}.section+.section{border-top:2px solid rgba(130,130,130,.1)}.section.one{max-width:680px}.chaty-text-color{position:relative}.chaty-text-color .wp-picker-holder{position:absolute;z-index:101}.chaty-text-color span.wp-color-result-text{display:none}.section-title{font-family:Oswald,sans-serif;font-size:30px;color:#000;line-height:44px;margin-bottom:30px;font-weight:400;margin-top:0;display:flex}.section-title strong{margin:0 14px 0 0;text-align:right;font-weight:700}.main{background-color:#fff;border-radius:9px;position:relative}.main .channels-icons{display:flex;flex-wrap:wrap;width:540px;margin:0 auto;max-width:100%}.main .channels-icons>.icon{padding:0 6px;margin:0 0;width:60px;height:55px}.main .channels-icons>.icon .color-element{transition:all .2s}.main .channels-icons>.icon:not(.active) svg{cursor:pointer}.main .channels-selected{padding-top:20px;position:relative;min-height:120px}.main .channels-selected__item{display:flex;align-items:center;flex-wrap:wrap;position:relative}.chaty-default-settings{display:flex;align-items:center;flex-wrap:wrap;position:relative;padding-bottom:15px}.channels-selected-list li{display:block;max-width:640px;padding:15px;background:#eff6f6;-webkit-border-radius:10px;-moz-border-radius:10px;border-radius:10px;margin-bottom:15px}li#chaty-social-Poptin{padding:15px 15px 25px 15px}.main .channels-selected__item .icon{margin-right:5px;cursor:pointer;width:50px;border-radius:100%;height:50px;text-align:center;vertical-align:middle}.main .channels-selected__item .icon.inline-message{display:inline-block;vertical-align:middle;width:auto;height:auto}.main .channels-selected__item .icon>i{font-size:30px;line-height:50px}.main .channels-selected__item .btn-cancel{position:absolute;right:-15px;top:-15px;transform:translate(50%,-50%);background:linear-gradient(0deg,#333,#333),linear-gradient(153.18deg,#6371db 7.07%,#ff89c4 90.47%);border-radius:50%;width:22px;height:22px;display:flex;align-items:center;justify-content:center;padding:0;border:0;z-index:1;box-shadow:0 4px 14px rgba(0,0,0,.15);cursor:pointer}.main .channels-selected__item .input-example{font-size:13px;padding-top:0;line-height:14px;color:#444;opacity:.8;position:absolute;left:calc(50px + 16px + 7px);top:50px;max-width:350px}.chaty-settings a{text-decoration:none;display:inline-block;color:#fff;margin-left:15px;height:26px;background:#a785cb;text-align:center;vertical-align:middle;-webkit-border-radius:18px;-moz-border-radius:18px;border-radius:18px;font-size:10px;line-height:26px;padding:0 5px}.move-icon img{width:10px;margin-right:5px;margin-top:8px;cursor:move}.chaty-settings a .dashicons,.chaty-settings a .dashicons-before:before{font-size:16px;line-height:26px;display:inline-block;margin:0;text-align:center}.main .channels-selected__item.disabled .icon{cursor:default}.main .channels-selected__item.disabled .icon .color-element{fill:#e9e9e9}.main .channels-selected__item.disabled input{box-shadow:0 4px 14px rgba(179,179,179,.15);color:#e9e9e9}.main .channels-selected__item.disabled input::-webkit-input-placeholder{color:#e9e9e9}.main .channels-selected__item.disabled input::-moz-placeholder{color:#e9e9e9}.main .channels-selected__item.disabled input:-ms-input-placeholder{color:#e9e9e9}.main .channels-selected__item.disabled input:-moz-placeholder{color:#e9e9e9}.main .channels-selected__item.disabled .btn-cancel{cursor:default;background:linear-gradient(0deg,#cfcfcf,#cfcfcf),linear-gradient(153.18deg,#6371db 7.07%,#ff89c4 90.47%)}.btn-help,.btn-save-sticky,.channels__view,.icon:not(.active) svg{cursor:pointer}.main .channels-selected__item.disabled .input-example{color:#e9e9e9}.main #positionPro{margin-left:-122px}.main .form-horizontal__item{display:flex;flex-wrap:wrap}.main .form-horizontal__item.active+.form-horizontal__item{padding-top:30px}.main .form-horizontal__item:not(.o-channel)+.form-horizontal__item{padding-top:30px}.main .form-horizontal__item-label{flex:0 0 135px;margin:0 14px 0 0;text-align:right;font-weight:700}.header,.main .form-horizontal__item.flex-center{align-items:center}.main .form-horizontal__item>div>input{background:#fff;-webkit-box-shadow:0 0 15px 0 #eaeaea;-moz-box-shadow:0 0 15px 0 #eaeaea;box-shadow:0 0 15px 0 #eaeaea;border-radius:5px;border:0;line-height:24px;padding:5px 7px}.main .form-horizontal__item>div>input.widget-size__input{width:47px;height:34px;text-align:center}.icon{border-radius:50%;vertical-align:top;font-size:0;position:relative}.icon.label-tooltip{font-size:12px;font-weight:400;color:#72777c}.icon:after,.icon:before{position:absolute;opacity:0;pointer-events:none;left:50%}.icon:after{text-align:center;content:"" attr(data-label) "";font-size:11px;top:0;transform:translate(-50%,calc(-100% - 6px));padding:0 20px;line-height:23px;min-width:90px;white-space:nowrap;background-color:#333;box-shadow:0 2px 4px rgba(0,0,0,.15);border-radius:6px;z-index:1001}.btn-save:after,.icon:before,.popover:after{content:''}.icon:before{top:-8px;transform:translateX(-50%);height:10px;width:10px;border-width:10px 5px 0;border-style:solid;border-color:#333 transparent transparent}.icon.tooltip-show:after,.icon.tooltip-show:before,.icon:hover:not(.tooltip-show):after,.icon:hover:not(.tooltip-show):before{opacity:1;pointer-events:auto}.chaty-help-form,.disabled{pointer-events:none}.icon .color-element{transition:all .2s}.icon.no-tooltip:after,.icon.no-tooltip:before{content:none!important}.icon.icon-sm svg{width:48px;height:48px}.icon.icon-md svg{width:50px;height:50px;cursor:move}.icon.icon-xs svg{width:30px;height:30px}.preview.mobiel-view .icon.icon-xs svg{width:24px;height:24px}.preview.mobiel-view .social-item-box{margin:0}.preview.mobiel-view .tooltip .tooltiptext{min-height:24px;line-height:24px;height:24px;bottom:3px}.preview.mobiel-view .tooltip .tooltiptext span{height:24px;min-height:24px;line-height:24px}.preview.mobiel-view .chaty-widget .icon:before{top:calc(100% - 17px)}.preview.mobiel-view span.social-tooltip{padding:0 10px}.preview.mobiel-view span.social-tooltip:after{top:6px}.btn-save{border:0;text-transform:uppercase;line-height:24px;font-weight:700;position:relative;max-width:100%;margin-top:40px;height:50px;width:274px;border-radius:25px;padding:14px 15px 12px;background-image:url(../images/rocket.svg);background-color:#ff6624;background-position:left bottom;background-repeat:no-repeat;box-shadow:0 3px 10px 1px rgba(255,90,116,.5)}.btn-save:after{position:absolute;z-index:-1;top:30px;left:50%;transform:translateX(-50%);width:238.1px;height:30.81px;background:linear-gradient(97.71deg,#ff6624 9.04%,#ff6376 91.56%),linear-gradient(104.36deg,#6371db 20.37%,#ff89c4 72.52%);opacity:.77;filter:blur(19px);border-radius:9px}.btn-help,.preview-help-btn{text-align:center;padding-top:10px;position:absolute;background:#03e78b;border-radius:7px 7px 0 0;right:0;top:60px;transform:rotate(-90deg);transform-origin:bottom right;border:0;height:42px;width:102px;text-transform:uppercase;font-weight:700}.btn-help span{display:inline-block;width:27px;height:27px;border:2px solid #fff;border-radius:100%}.preview-help-btn{display:none;color:#fff;text-decoration:none}.btn-save-sticky{padding:10px 0 11px;top:20px;background:#ff6624;right:0;border-radius:7px 0 0 7px;position:absolute;border:0;height:69px;width:42px;text-transform:uppercase;color:#fff;font-weight:700;font-size:11px}.btn-save-sticky span{text-align:center;display:inline-block;margin-bottom:4px;height:15px;line-height:13px}input.channels__input.border-red{border-color:#d00}@media (min-width:1281px){.btn-save-sticky{left:calc(50vw - 480px + 1050px / 12 * 7 + 475px);top:161px;right:auto;border-radius:0 7px 7px 0;position:fixed}body.has-premio-box .btn-save-sticky{top:320px}body.has-premio-box .btn-help{top:455px}html[dir=rtl] .btn-save-sticky{left:calc(50vw - 480px + 1050px / 12 * 7 + 295px)}html[dir=rtl] .btn-help{left:calc(50vw - 480px + 1050px / 12 * 7 + 193px)}}.popover{flex:0 0 auto;background:#fff;border-radius:4px;line-height:33px;padding:0 5px;position:relative;box-shadow:0 1px 14px rgba(156,117,198,.4),0 2px 4px rgba(0,0,0,.15);margin:30px 0 20px 0;text-align:center;max-width:635px}.popover:after{position:absolute;top:-7px;left:40px;width:20px;height:7px;background-image:url(../images/arrow.png);background-position:center;background-size:contain;background-repeat:no-repeat;display:none}.easy-modal{display:none;width:515px;max-width:calc(100vw - 30px);box-shadow:0 4px 6px rgba(0,0,0,.15);border-radius:6px;background-color:#fff;top:50%!important;transform:translateY(-50%)}.easy-modal .money-guaranteed svg,.upgrade-block .money-guaranteed svg{width:15px;vertical-align:text-bottom}.easy-modal .money-guaranteed{color:#a886cd;font-size:17px;line-height:24px;margin-bottom:20px}.easy-modal .easy-modal-inner{position:relative;padding:20px 50px}.easy-modal .easy-modal-close{position:absolute;right:0;top:0;padding:7px;line-height:12px;background-color:transparent;border:0}.easy-modal h2{font-family:Rubik;font-weight:700;font-size:27px;margin-bottom:13px;text-align:center;margin-top:0}.easy-modal .udner-title{font-size:17px}.easy-modal .udner-title span{font-size:15px;display:block;color:#bdbdbd}.easy-modal p{text-align:center;margin:0 auto 10px}.easy-modal ul{margin-bottom:17px;line-height:27px;list-style-position:inside;text-align:left}.easy-modal .easy-modal-link{font-size:15px;text-decoration-line:underline;color:#828282;display:inline-block;margin-top:7px}.easy-modal .form-horizontal__item{margin-bottom:50px;justify-content:center;text-align:center}.easy-modal .user-name,.easy-modal .user-role{margin:0;font-size:13px}.easy-modal .form-horizontal__item>div{flex:0 0 auto}.easy-modal .user-name{font-weight:700;color:#828282;text-align:left}.link-back,.link-back:hover{color:#fff}.easy-modal .user-photo{float:left;margin-right:5px}.link-back{display:inline-block;border:1px solid #fff;border-radius:60px;font-size:17px;line-height:20px;text-align:center;padding:7px 46px}.upgrade-wrap{max-width:962px;margin:13px auto}.upgrade-block{background-color:#fff;border-radius:9px;padding:48px 0 67px;margin-top:21px}.upgrade-block .easy-modal-inner{max-width:600px;margin:0 auto;direction:ltr!important}.upgrade-block h2{font-family:Rubik;font-weight:700;font-size:27px;margin-bottom:5px;text-align:center;margin-top:0;line-height:33px}.upgrade-block .udner-title{font-size:17px}.upgrade-block .udner-title span{font-size:15px;display:block;color:#bdbdbd}.form-horizontal__item .chaty-widget .icon,.upgrade-block ul{display:inline-block}.upgrade-block p{text-align:center;margin:0 auto 10px}.upgrade-block ul{margin-bottom:17px;line-height:27px;list-style-position:inside;text-align:left}.upgrade-block .easy-modal-link{font-size:15px;text-decoration-line:underline;color:#828282;display:inline-block;margin-top:7px}.upgrade-block .form-horizontal__item{margin-bottom:50px;justify-content:center;text-align:center}img.payment-img{margin:10px 0}.upgrade-block .form-horizontal__item>div{flex:0 0 auto}.upgrade-block .user-name{font-weight:700;color:#828282;margin:0;text-align:left;font-size:13px}.upgrade-block .user-role{margin:0;font-size:13px}.upgrade-block .user-photo{float:left;margin-right:5px}.upgrade-block .money-guaranteed{color:#b97fcf;font-size:16px;line-height:18px;margin:10px 0}.upgrade-block .money-guaranteed span.dashicons.dashicons-yes{background:#00bd00;color:#fff;border-radius:50%;-webkit-border-radius:50%;-moz-border-radius:50%}.easy-modal.modal-upgrade{width:560px}.easy-modal.modal-upgrade .easy-modal-inner{padding:20px 0 0}.modal__wrap{padding:0 5px;text-align:center}.form-horizontal__item .chaty-widget{position:static;flex:0 0 250px!important}.form-horizontal__item .chaty-widget .icon svg{width:62px;height:62px}.form-horizontal__item .chaty-widget .icon:after{z-index:10;content:"" attr(data-label) "";font-size:17px;left:0;top:50%;transform:translate(calc(-100% - 6px),-50%);white-space:nowrap;padding:16px 25px;line-height:21px;width:auto;color:#333;background-color:#fff;box-shadow:0 1.93px 7.74px rgba(0,0,0,.15);border-radius:10px}#toplevel_page_chaty-app img,.btn-red:hover,.text_update{color:#fff}.form-horizontal__item .chaty-widget .icon:before{content:'';left:-8px;top:50%;transform:translateY(-50%);height:10px;width:10px;z-index:11;border-width:5px 0 5px 10px;border-style:solid;border-color:transparent transparent transparent #fff}.btn-red,.btn-white{z-index:100;line-height:27px;box-shadow:0 4px 4px rgba(0,0,0,.11);vertical-align:top;position:relative;color:#fff}.btn-red:focus,.btn-red:hover{color:#fff}.form-horizontal__item .chaty-widget.chaty-widget-icons-right .icon:before{right:-8px;left:auto;border-width:5px 10px 5px 0;border-color:transparent #fff transparent transparent}.form-horizontal__item .chaty-widget.chaty-widget-icons-right .icon:after{right:0;left:auto;transform:translate(calc(100% + 6px),-50%)}.header{display:flex;padding:3px 0;margin-bottom:9px}.btn-red,.tooltip{display:inline-block}.btn-white{background-color:transparent;border:1px solid #fff;border-radius:19px;display:inline-block;padding:3px 20px;text-transform:uppercase;font-weight:700;text-decoration:none}.btn-white,.btn-white:focus,.btn-white:hover{color:#fff}.btn-red{border:0;text-transform:uppercase;font-weight:700;background-color:#ff6624;padding:6px 20px 4px;border-radius:19px}.btn-red svg{vertical-align:text-top;margin-left:5px}.btn-red:hover{color:#fff}.text_update{color:#fff;top:2px;position:relative;margin:0;font-size:10px;left:15px}.sticky-wrapper{position:absolute;right:0;top:-370px;width:calc(320px);z-index:99}.tooltip{position:relative}.chaty-widget-icons-left .tooltip .tooltiptext,.chaty-widget-icons-right .tooltip .tooltiptext{white-space:pre-wrap;display:block;width:250px;min-height:24px;color:#000;text-align:center;padding:0;top:2.5px;position:absolute;z-index:35;font-size:12px;line-height:36px}.tooltip .tooltiptext span{background-color:#fff;padding:0 15px;display:inline-block;vertical-align:middle;line-height:24px;height:24px;float:right;margin:0;border-radius:6px}.chaty-widget-icons-left .tooltip .tooltiptext span{float:left}.tooltip:hover .tooltiptext{visibility:visible}.chaty-widget-icons-right .tooltip .tooltiptext{justify-content:center;align-items:center;right:41px}.mobiel-view .chaty-widget-icons-right .tooltip .tooltiptext{right:35px}.chaty-widget-icons-right .tooltip .tooltiptext.has-multiline.line-1{height:auto;top:-3px}.chaty-widget-icons-right .tooltip .tooltiptext.has-multiline.line-1 span{height:auto;line-height:16px;padding-top:2px;padding-bottom:2px}.chaty-widget-icons-right .tooltip .tooltiptext.has-multiline.line-2{height:auto;top:-3px}.chaty-widget-icons-right .tooltip .tooltiptext.has-multiline.line-2 span{height:auto;line-height:16px;padding-top:2px;padding-bottom:2px}.chaty-widget-icons-left .tooltip .tooltiptext{align-items:center;justify-content:center;left:43px;line-height:36px}.mobiel-view .chaty-widget-icons-left .tooltip .tooltiptext{left:37px}.update-nag{display:block!important}.notice,div.error,div.updated{display:none!important}div#setting-error-settings_updated{display:block!important}.domain__input,.domain__label{max-width:342px;display:block}.domain{background:rgba(168,134,205,.1);border-radius:4px;text-align:left;margin:0 0 10px;padding:10px 20px}.domain__label{font-size:17px;font-weight:700;margin:0 auto 6px}.domain__input{height:34px;background:#fff;box-shadow:0 4px 14px rgba(0,0,0,.15);border-radius:5px;border:none;width:100%;margin:0 auto}.upg{background:0 0;border:none;text-align:center;width:270px;padding:0}.upg img,.upg svg{width:100%}.valid_domain{transition-property:margin-top;transition-delay:.3s;color:red;display:none}.payments{margin-bottom:5px}.easy-modal__bottom{padding:10px 10px 0;text-align:left;font-family:Rubik,sans-serif;color:#828282;position:relative}.easy-modal__bottom .quote{position:absolute;left:65px;top:-4px}.easy-modal__bottom:before{content:'';display:block;position:absolute;left:0;top:0;width:100%;background:rgba(130,130,130,.1);height:2px}.easy-modal__bottom .easy-modal__bottom-p{text-align:left;font-weight:300;position:relative;margin-bottom:10px;font-size:14px;line-height:17px}.easy-modal__bottom .easy-modal__bottom-p p{text-align:left;margin:6px 0 0;line-height:15px}html[dir=rtl] body{background-position:0}html[dir=rtl] input[type=radio]:checked:before{text-indent:-1px}.chaty-new-widget-wrap{border-radius:10px;padding:10px;margin:40px auto 0 auto;background-size:auto 100%;width:100%;max-width:776px;background:#fff url(../images/bg.png) right bottom no-repeat;font-family:Poppins;line-height:20px}.chaty-new-widget-wrap h2{font-style:normal;font-weight:600;font-size:20px;line-height:30px;color:#1e1e1e;margin:15px 0}.chaty-features ul{margin:0;padding:0}.chaty-features ul li{margin:0;width:33.33%;float:left;padding:10px}.chaty-feature{margin:30px 0 0 0;background:#fff;border:1px solid #605dec;box-sizing:border-box;border-radius:4px;padding:30px 15px 10px 15px;min-height:186px;position:relative}.chaty-feature.second{min-height:155px}.feature-title{font-family:Poppins;font-style:normal;font-weight:700;font-size:13px;line-height:18px;color:#1e1e1e}.feature-description{font-family:Poppins;font-style:normal;font-weight:400;font-size:13px;line-height:18px;color:#1e1e1e}a.new-upgrade-button{height:40px;background:#605dec;border-radius:100px;border:solid 1px #605dec;display:inline-block;text-align:center;color:#fff;line-height:40px;margin:10px 0 10px 10px;padding:0 25px;text-decoration:none;text-transform:uppercase}a.new-demo-button{height:40px;color:#605dec;border:solid 1px #605dec;border-radius:100px;display:inline-block;text-align:center;background:#fff;line-height:40px;margin:10px 0 10px 10px;padding:0 25px;text-decoration:none;width:165px}.analytics-popup{display:none}.analytics-overlay{width:100%;height:100%;position:fixed;top:0;left:0;background:rgba(0,0,0,.5);z-index:10001}.analytics-popup-content{position:fixed;top:50%;left:0;right:0;margin:0 auto;z-index:11011;width:auto;max-width:100%;max-height:100%;padding:15px;border-radius:5px;text-align:center;-webkit-transform:translate(0,-50%);transform:translate(0,-50%);height:80vh}.analytics-popup-content .popup-data{position:relative;display:inline-block;height:80vh}.analytics-popup-content .popup-data img{width:auto;max-width:100%;height:auto;max-height:100%}.analytics-popup-content .close-popup{position:absolute;right:-20px;top:-20px}.analytics-popup-content .close-popup a{text-decoration:none;width:20px;height:20px;border-radius:50%;background:#4e4e4e;color:#fff;text-align:center;display:block}.chaty-feature.analytics{min-height:115px}.chaty-feature-top{width:50px;height:50px;border:solid 1px #605dec;border-radius:50%;position:absolute;left:0;right:0;margin:0 auto;top:-25px;background:#fff;z-index:11;padding:10px}.chaty-feature-top img{width:100%;height:auto}.trigger-block{padding:0;background:#f6f3fa;margin-bottom:4px;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;position:relative;flex:calc(100% - 152px);max-width:360px}.chaty-switch{display:inline-block;height:34px;position:relative;padding:0 0 0 60px!important;line-height:24px;width:100%!important}.chaty-switch input{display:none}.chaty-slider{background-color:#cfbde4;bottom:0;cursor:pointer;left:0;position:absolute;right:0;top:0;transition:.4s;width:50px;height:24px}.chaty-slider:before{background-color:#fff;bottom:4px;content:"";height:16px;left:4px;position:absolute;transition:.2s;width:16px}.chaty-slider:after{content:"off";color:#fff;display:inline-block;padding:0 0 0 25px;font-size:14px;line-height:24px;position:absolute;left:0;top:0}.trigger-block-input{font-size:14px}.trigger-block-input input{width:50px}input:checked+.chaty-slider{background-color:#a886cd}input:checked+.chaty-slider:before{transform:translateX(26px)}input:checked+.chaty-slider:after{padding:0 0 0 8px;content:"on"}input:disabled+.chaty-slider{background:#e2e2e2}.chaty-slider.round{border-radius:34px}.chaty-slider.round:before{border-radius:50%}.trigger-option-block{padding:10px;border-bottom:solid 1px #eee2ff}.trigger-option-block:last-child{border-bottom:none}.gmt-data{display:none}.chaty-date-time-option:first-child .gmt-data{display:block}.chaty-date-time-option{padding:5px;background:#f6f3fa;margin-bottom:4px;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;position:relative}.chaty-date-time-option.last{margin-bottom:15px}.date-time-content>*{vertical-align:middle;display:inline-block}.day-select{width:25%;display:inline-block;padding-right:5px}.date-time-content input,.date-time-content select{width:100%;height:36px;line-height:36px;padding:0 10px;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px}.day-label{width:50px;padding-right:5px;text-align:right}.day-time{width:10%;padding-right:5px}.day-buttons a{background:#bd2a00;text-align:center;display:inline-block;line-height:36px;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;width:36px;height:36px}.main .form-horizontal__item.hide-show-button{display:none}.main .form-horizontal__item.hide-show-button.active{display:flex}.custom-chaty-image{display:none}.chaty-channels .social-item-box .custom-chaty-image{display:none}.chaty-channels .social-item-box .custom-chaty-image img{width:30px;height:30px;object-fit:cover;border-radius:50%}.chaty-channels .social-item-box.img-active .custom-chaty-image{display:block}.chaty-channels .social-item-box .custom-chaty-image,.chaty-channels .social-item-box .default-chaty-icon{width:30px;height:30px;cursor:pointer}.chaty-channels .social-item-box.img-active .default-chaty-icon{display:none}.social-item-box{display:block;height:30px;margin:0 0 5px 0;position:relative}#iconWidget{cursor:pointer}.chaty-channels{display:none}.chaty-widget.active .chaty-channels,.chaty-widget.hover:hover .chaty-channels{display:block}.preview .page .chaty-widget i.chaty-close-icon,.preview .page .chaty-widget.active.hide-arrow i.chaty-close-icon{display:none!important}.preview .page .chaty-widget.active:not(.has-single):not(.hide-arrow) i.chaty-close-icon,.preview .page .chaty-widget.hover:hover:not(.has-single):not(.hide-arrow) i.chaty-close-icon{display:block!important}.preview .page .chaty-widget.active:not(.has-single) i#iconWidget,.preview .page .chaty-widget.hover:hover:not(.has-single) i#iconWidget{display:none!important}.preview .page .chaty-widget.active:not(.has-single) .tooltiptext{display:none!important}.preview .page .chaty-widget.active:not(.has-single) .icon:before{display:none!important}span.social-tooltip{position:absolute;right:100%;background:#fff;padding:0 10px;color:#4f4f4f;top:0;z-index:1001;font-size:12px;margin:0 10px 0 0;border-radius:5px;display:none}.social-item-box:hover span.social-tooltip{display:block}span.social-tooltip:after{content:"";border-width:5px 0 5px 10px;border-style:solid;border-color:transparent transparent transparent #fff;position:absolute;top:6px;right:-9px}.chaty-widget-icons-left span.social-tooltip{margin:0 0 0 14px;left:100%;right:auto}.chaty-widget-icons-left span.social-tooltip:after{content:"";border-style:solid;border-width:5px 10px 5px 0;border-color:transparent #fff transparent transparent;position:absolute;top:12px;right:100%}.chaty-date-time-option input[readonly]{background:#fff}.upgrade-upload-btn .upgrade-link{display:none!important}.upgrade-upload-btn:hover .upgrade-link{display:block!important}.upgrade-upload-btn:hover .custom-control-label,.upgrade-upload-btn:hover .form-group{opacity:.5;filter:blur(2px);-o-filter:blur(2px);-ms-filter:blur(2px);-moz-filter:blur(2px);-webkit-filter:blur(2px)}.read-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}select.chaty-select:disabled,textarea.test_textarea:disabled{background:#eee;border:solid 1px #ddd;color:#32373c;font-size:14px}.widget-icon__block .custom-control.custom-radio.add-border{border-right:1px solid #fff}.upgrade-upload-btn:hover .custom-control-label,.upgrade-upload-btn:hover .form-group{opacity:.5;filter:blur(2px);-o-filter:blur(2px);-ms-filter:blur(2px);-moz-filter:blur(2px);-webkit-filter:blur(2px)}.widget-icon__wrap a.upgrade-link{display:block;font-size:16px;text-align:center;padding-left:0;position:absolute;bottom:35px;right:0;width:70px;text-decoration:none;text-align:center;left:0;margin:0 auto}.upgrade-upload-btn:hover .upgrade-link{display:block!important}.chaty-option-box{flex:calc(100% - 152px)}.chaty-data-and-time-rules{display:none}.hover.chaty-widget:hover .tooltiptext{display:none!important}.preview .page .hover.chaty-widget:hover .icon:before{display:none!important}span.header-tooltip{position:relative;display:inline-block}span.header-tooltip span.dashicons.dashicons-editor-help{display:inline-block;cursor:pointer}span.header-tooltip-text{display:none;position:absolute;bottom:140%;left:0;width:250px;left:-110px;font-size:12px;font-weight:400;line-height:16px;background:#000;padding:5px;border-radius:5px;color:#fff}span.header-tooltip-text:before{content:"";top:100%;transform:translateX(-50%);height:10px;width:10px;border-width:10px 5px 0;border-style:solid;border-color:#333 transparent transparent;position:absolute;left:0;right:0;margin:0 auto}span.header-tooltip:hover span.header-tooltip-text{display:block}.chaty-animation-pulse{animation:chaty-animation-pulse 1s forwards}.chaty-animation-jump{animation:chaty-animation-jump 1s forwards cubic-bezier(.84,-.54,.31,1.19)}.chaty-animation-waggle{animation:chaty-animation-waggle 1s forwards ease-out}.chaty-animation-sheen{position:relative;overflow:hidden}.chaty-animation-sheen:after{animation:chaty-animation-sheen 1.5s forwards;content:'';position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(to bottom,transparent,rgba(255,255,255,.5) 50%,transparent);transform:rotateZ(60deg) translate(-1em,4em)}.chaty-animation-spin{animation:chaty-animation-spin 1s forwards cubic-bezier(.56,-.35,.22,1.5)}.chaty-animation-fade{animation:chaty-animation-fade 1s forwards}a.upgrade-link{line-height:24px;display:block;padding:10px 10px;text-decoration:none}a.upgrade-link strong{text-decoration:underline}@keyframes chaty-animation-pulse{0%{background-color:orange}25%{background-color:red}50%{background-color:orange}75%{background-color:red}}@keyframes chaty-animation-jump{0%{transform:none}50%{transform:translateY(-.8em)}}@keyframes chaty-animation-waggle{0%{transform:none}50%{transform:rotateZ(-20deg) scale(1.2)}60%{transform:rotateZ(25deg) scale(1.2)}67.5%{transform:rotateZ(-15deg) scale(1.2)}75%{transform:rotateZ(15deg) scale(1.2)}82.5%{transform:rotateZ(-12deg) scale(1.2)}85%{transform:rotateZ(0) scale(1.2)}100%{transform:rotateZ(0) scale(1)}}@keyframes chaty-animation-sheen{100%{transform:rotateZ(60deg) translate(0,-4em)}}@keyframes chaty-animation-spin{50%{transform:rotateZ(-20deg);animation-timing-function:ease}100%{transform:rotateZ(360deg)}}@keyframes chaty-animation-fade{25%{opacity:.25}50%{opacity:1}75%{opacity:.25}100%{opacity:1}}.chaty-animation-shockwave:after{content:"";position:absolute;top:0;left:0;bottom:0;right:0;border-radius:50%;-webkit-animation:chaty-animation-shockwave 1s .65s ease-out infinite;animation:chaty-animation-shockwave 1s .65s ease-out infinite}.chaty-animation-shockwave:before{content:"";position:absolute;top:0;left:0;bottom:0;right:0;border-radius:50%;-webkit-animation:chaty-animation-shockwave 1s .5s ease-out infinite;animation:chaty-animation-shockwave 1s .5s ease-out infinite}@-webkit-keyframes chaty-animation-shockwave{0%{transform:scale(1);box-shadow:0 0 2px rgba(0,0,0,.3),inset 0 0 1px rgba(0,0,0,.3)}95%{box-shadow:0 0 50px transparent,inset 0 0 30px transparent}100%{transform:scale(2.25)}}@keyframes chaty-animation-shockwave{0%{transform:scale(1);box-shadow:0 0 2px rgba(0,0,0,.3),inset 0 0 1px rgba(0,0,0,.3)}95%{box-shadow:0 0 50px transparent,inset 0 0 30px transparent}100%{transform:scale(2.25)}}@keyframes chaty-animation-shockwave{0%{transform:scale(1);box-shadow:0 0 2px rgba(0,0,0,.3),inset 0 0 1px rgba(0,0,0,.3)}95%{box-shadow:0 0 50px transparent,inset 0 0 30px transparent}100%{transform:scale(2.25)}}.chaty-animation-blink{-webkit-animation:chaty-animation-blink 1.33s ease-out infinite;animation:chaty-animation-blink 1.33s ease-out infinite}@-webkit-keyframes chaty-animation-blink{0%{opacity:1}20%{opacity:.5}100%{opacity:1}}@keyframes chaty-animation-blink{0%{opacity:1}20%{opacity:.5}100%{opacity:1}}.chaty-animation-pulse-icon{-webkit-animation:chaty-animation-pulse-icon .4s ease infinite alternate;animation:chaty-animation-pulse-icon .4s ease infinite alternate}@-webkit-keyframes chaty-animation-pulse-icon{0%{transform:scale(1);box-shadow:0 2px 2px rgba(0,0,0,.2);border-radius:50%}100%{transform:scale(1.1);box-shadow:0 2px 2px rgba(0,0,0,.2);border-radius:45%}}@keyframes chaty-animation-pulse-icon{0%{transform:scale(1);border-radius:50%}100%{transform:scale(1.1);border-radius:45%}}@keyframes chaty-animation-pulse{0%{background-color:orange}25%{background-color:red}50%{background-color:orange}75%{background-color:red}}.start-now,.start-now:after{animation-delay:0s}@media (min-width:576px){.container{max-width:540px}}@media (min-width:768px){.container{max-width:720px}.modal__wrap{padding:0}.domain{margin:0 0 10px;padding:20px 60px 26px}}.channels__view{display:inline-block;color:#444;margin-bottom:0;line-height:14px;padding-left:17px;position:relative;font-size:14px;margin-left:15px}.channels__view-check{position:absolute;z-index:-1;opacity:0}.channels__view-check:checked~.channels__view-txt::before{background:#a785cb;color:#fff}.channels__view-check:checked~.channels__view-txt::after{color:#fff;content:"\f147";font-family:dashicons;line-height:1;position:absolute;top:0;left:0}.channels__view-txt:before{content:'';transition:all .2s;position:absolute;top:0;left:0;display:block;width:14px;height:14px;line-height:14px;text-align:center;border:solid 2px #a785cb;-webkit-border-radius:2px;-moz-border-radius:2px;border-radius:2px}.file-input,.widget-icon__block .custom-control.custom-radio .custom-control-label{position:relative}.channels__input{padding:9px 7px;border:0;line-height:24px;background:#fff;box-shadow:0 4px 14px rgba(0,0,0,.15);border-radius:9px;width:282px}.channels__input.transparent{background:0 0;box-shadow:none}.channels__input-box{position:relative;margin-right:5px}.widget-icon__block [class^=icon-]{display:block;border-radius:100%;text-align:center;width:40px;height:40px;line-height:40px;font-size:20px;margin:0 auto 6px}.widget-icon__block [class^=icon-] svg{color:#fff}.widget-icon__block .icon-upload{background:0 0;color:#a886cd}.widget-icon__block .custom-control.custom-radio{text-align:center;margin:0;padding:22px 8px 22px;vertical-align:bottom;text-decoration:none;max-width:70px}label.widget-icon__wrap.has-pro .custom-control.custom-radio{padding:22px 8px 44px}.widget-icon__block .custom-control.custom-radio .custom-control-label:before{transform:translateX(-50%);left:50%}.widget-icon__block .custom-control.custom-radio.add-border{border-right:1px solid #fff}label.widget-icon__wrap.has-free{position:relative}.widget-icon__wrap.has-free .custom-control.custom-radio{text-align:center;margin:0;padding:22px 8px 42px;vertical-align:bottom;text-decoration:none}.widget-icon__wrap.has-pro .custom-control.custom-radio{border:none}.widget-icon__wrap{background:rgba(168,134,205,.1);padding:0;border-radius:4px;flex:none;font-size:0;margin-bottom:25px;position:relative}@media (min-width:768px){.widget-icon__block [class^=icon-]{width:54px;height:54px;font-size:28px;line-height:54px}.widget-icon__block [class^=icon-] svg{width:100%}.widget-icon__block .custom-control.custom-radio:first-child{padding-left:20px;max-width:90px}.widget-icon__block .custom-control.custom-radio:last-child{padding-right:20px}}@media (max-width:767px){.main .form-horizontal__item>.widget-icon__wrap{display:flex;justify-content:space-between}.main .form-horizontal__item>.widget-icon__wrap .custom-control{margin:0;flex:1;text-align:center}}.file-input{width:40px;height:44px;display:block}.file-input input[type=file]{top:0;left:0;min-width:100%;min-height:100%;text-align:right;opacity:0;background:0 0;cursor:pointer;display:block;position:absolute}.btn-file,.form-group,.kv-file-content{position:relative}.form-group:hover :not(.file-input-new) .file-browse{display:block;z-index:10}.file-actions,.file-browse,.file-browse span,.file-drop-zone-title,.file-footer-caption,.file-preview-status{display:none}.form-group:hover :not(.file-input-new) .file-browse .icon-upload{background:rgba(0,0,0,.5)}.kv-file-content{width:40px;height:40px;background:#fff;border-radius:100%;text-align:center;margin:0 auto}.kv-file-content img{width:auto;height:auto;max-width:100%;max-height:100%}.file-preview{position:absolute}.file-preview-thumbnails{width:54px;height:54px;border-radius:100%;position:absolute;left:0;top:0}.file-preview-frame{position:absolute;left:0;top:0;right:0;z-index:10}.file-preview-frame.file-preview-initial{z-index:0}.file-input-new .file-browse{display:block}.file-input-new .file-browse span{display:block;color:#a886cd;text-decoration:underline;position:absolute;bottom:0;left:0;right:0}.file-input-new .file-browse:hover span,a.pro-plugin-url,a.rpt_tooltip{text-decoration:none}@media (min-width:768px){.kv-file-content{width:54px;height:54px}.file-input{width:54px;height:60px}}.preview{width:337px;z-index:99;height:373px;margin-right:15px;float:right;z-index:1001}body.has-premio-box .preview{top:320px}.preview.mobiel-view .page{width:202px}.preview.mobiel-view .page .chaty-widget .icon i{width:24px;height:24px;font-size:12px;line-height:24px}.is-sticky .preview{left:calc(50vw - 480px + 960px / 12 * 7 + 140px)}.preview h2{text-align:center;font-weight:700;line-height:normal;font-size:17px;color:#4f4f4f;margin-bottom:5px}.preview .page{background-color:#f2f2f2;box-shadow:0 4px 35px rgba(0,0,0,.05);border-radius:5px;position:relative;height:234px;margin:0 auto}.preview .page .page-header{display:flex;align-items:center;background:#fff;border-radius:5px 5px 0 0;height:16px}.preview .page .page-header .circle{margin-left:9px;width:6px;height:6px;background:linear-gradient(153.19deg,#6371db 7.06%,#ff89c4 90.47%),#ffe663;box-shadow:0 4px 35px rgba(0,0,0,.05);border-radius:50%}.preview .page .page-header svg:last-child{margin-left:auto;margin-top:7px;margin-right:-7px}.preview .page .chaty-widget{position:absolute;left:auto}.preview .page .chaty-widget .icon:after{z-index:10;content:'';font-size:13px;top:13px;white-space:nowrap;padding:0;line-height:0;width:auto;color:#333;background-color:#fff;box-shadow:0 1.93px 7.74px rgba(0,0,0,.15);border-radius:0;right:0;left:auto;transform:translate(calc(100% + 6px),-50%)}.preview .page .chaty-widget .icon:before{content:'';right:-18px;left:auto;top:calc(100% - 20px);height:10px;width:10px;z-index:11;border-style:solid;border-width:5px 10px 5px 0;border-color:transparent #fff transparent transparent}.preview .page .chaty-widget.hide-arrow .icon:before,.preview .page .chaty-widget.hide_arrow .icon:before{display:none}.preview .page .chaty-widget .icon i{width:30px;height:30px;font-size:18px;display:block;border-radius:100%;line-height:30px;text-align:center;overflow:hidden}.preview .page .chaty-widget .icon i.icon-chat-image{background:0 0}.preview .page .chaty-widget .icon i.icon-chat-image img{display:block;background:#a886cd}.preview .page .chaty-widget .icon i svg{fill:#fff;width:100%;height:100%}.preview .page .chaty-widget .icon i img{width:auto;height:auto;max-width:100%;max-height:100%;border-radius:50%}.preview .page .chaty-widget.has-single .icon i#iconWidget{position:relative;overflow:inherit}.mobiel-view .preview .page .chaty-widget .icon i{width:23px;height:23px;font-size:13px;line-height:23px}.preview .page .chaty-widget[style*="left: auto;"] .icon:before{right:auto;left:-8px;border-width:5px 0 5px 10px;border-style:solid;border-color:transparent transparent transparent #fff}.preview .page .chaty-widget[style*="left: auto;"] .icon:after{left:0;right:auto;transform:translate(calc(-100% - 6px),-50%)}.switch-preview{display:flex;width:160px;border-radius:5px;margin:15px auto 0;-webkit-box-shadow:0 0 15px 0 #eaeaea inset;-moz-box-shadow:0 0 15px 0 #eaeaea inset;box-shadow:0 0 15px 0 #eaeaea inset;background:#fff}.easy-modal-open,.switch-preview__input[type=radio],.switch-preview__label input{display:none}.switch-preview__label{flex:1;text-align:center;line-height:30px}.switch-preview__input[type=radio],.switch-preview__label input{display:none}.switch-preview__input[type=radio]:checked+label{background:#a886cd;color:#fff}html[dir=rtl] .preview{right:auto}html[dir=rtl] .is-sticky .preview{left:calc(50vw - 480px + 960px / 12 * 7 + 84px - 175px)}.easy-modal-open{display:none}a.pro-plugin-url{color:#fff;background:#7474d9;display:inline-block;margin-bottom:25px;text-decoration:none;-moz-border-radius:25px;-webkit-border-radius:25px;font-size:24px;border-radius:25px;padding:15px 45px}.test_textarea{-webkit-box-shadow:0 0 15px 0 #eaeaea;-moz-box-shadow:0 0 15px 0 #eaeaea;box-shadow:0 0 15px 0 #eaeaea;border-radius:5px;-webkit-border-radius:5px;-moz-border-radius:5px;padding:10px;height:70px;border:solid 1px #f6f6f6;width:100%;max-width:350px}.license-key{border:1px solid #ccc;background:#fff;width:100%;max-width:350px;margin:10px 0 20px}.license-key .license-key-header{border-bottom:1px solid #ccc;padding:15px 12px;font-weight:600;background:#f9f9f9;color:#23282d}.license-key .license-key-content{padding:15px 12px;background:#fff}.license-key .license-key-content input[type=text]{width:100%;font-size:14px;font-weight:400}.license-key .license-key-footer{border-top:1px solid #ccc;padding:15px 12px;background:#f9f9f9}.license-key .license-key-message{margin:10px 0 0 0;min-height:40px}.license-key .button-secondary{font-weight:400}.testimonial-error-message,.testimonial-success-message{background:#fff;margin:10px 0 0 0;padding:10px 10px 10px 10px;border-left:solid 3px #dd4b39}.testimonial-success-message{border-left:solid 3px #00a65a}.save-testimonial-license-key{text-align:center}.remove-testimonial-license-key{width:128px;text-align:center}.test-error-message{color:#dc3232}.hide-this-table,.lean-overlay{display:none!important}span.expired-message{color:#a00000;font-size:18px}.wrap.wrap-licenses{background:#fff;padding:10px 25px 25px}.chaty-help-btn{position:fixed;right:20px;bottom:20px;z-index:1001}.chaty-help-btn a{display:block;border:3px solid #fff;width:50px;height:50px;-webkit-border-radius:50%;-moz-border-radius:50%;border-radius:50%;position:relative}.chaty-help-btn a img{width:100%;height:auto;display:block;-webkit-border-radius:50%;-moz-border-radius:50%;border-radius:50%}.chaty-help-form{position:fixed;right:85px;border:1px solid #e9edf0;bottom:25px;background:#fff;-webkit-border-radius:10px;-moz-border-radius:10px;border-radius:10px;width:320px;z-index:1001;direction:ltr;opacity:0;transition:.4s;-webkit-transition:.4s;-moz-transition:.4s}.chaty-help-form.active{opacity:1;pointer-events:inherit}.chaty-help-header{background:#f4f4f4;border-bottom:solid 1px #e9edf0;padding:5px 20px;-webkit-border-radius:10px;-moz-border-radius:10px;border-radius:10px 10px 0 0;font-size:16px;text-align:right}.chaty-help-header b{float:left}.chaty-help-content{margin-bottom:10px;padding:20px 20px 10px}.chaty-help-form p{margin:0 0 1em}.chaty-form-field{margin-bottom:10px}.chaty-form-field input,.chaty-form-field textarea{-webkit-border-radius:5px;-moz-border-radius:5px;border-radius:5px;padding:5px;width:100%;box-sizing:border-box;border:1px solid #c5c5c5}.chaty-form-field textarea{height:70px}.chaty-help-button{border:none;padding:8px 0;width:100%;background:#ff6624;color:#fff;border-radius:18px}.chaty-help-form .error-message{font-weight:400;font-size:14px}.chaty-help-form input.input-error,.chaty-help-form textarea.input-error{border-color:#dc3232}.chaty-help-btn span.tooltiptext{position:absolute;background:#000;font-size:12px;color:#fff;top:-35px;width:140%;text-align:center;left:-20%;border-radius:5px;direction:ltr}p.error-p,p.success-p{margin:0;font-size:14px;text-align:center}.chaty-help-btn span.tooltiptext:after{bottom:-9px;content:"";transform:translateX(-50%);height:10px;width:10px;border-width:10px 5px 0;border-style:solid;border-color:#000 transparent transparent;left:50%;position:absolute}p.success-p{color:green}p.error-p{color:#dc3232}html[dir=rtl] .chaty-help-btn{left:20px;right:auto}html[dir=rtl] .chaty-help-form{left:85px;right:auto}#rpt_container{margin-top:24px;width:100%}.rpt_plans .rpt_plan{-moz-box-sizing:border-box;-webkit-box-sizing:border-box}.rpt_2_plans .rpt_plan{margin-right:2%;width:49%;float:left}.rpt_2_plans .rpt_plan:last-child{margin-right:0}.rpt_3_plans .rpt_plan{margin-right:2%;width:32%;float:left}.rpt_3_plans .rpt_plan:last-child{margin-right:0}.rpt_4_plans .rpt_plan{margin-right:1%;width:24.25%;float:left}.rpt_4_plans .rpt_plan:last-child{margin-right:0}.rpt_5_plans .rpt_plan{margin-right:.5%;width:19.6%;float:left}.rpt_5_plans .rpt_plan:last-child{margin-right:0}.rpt_style_bic .rpt_plan,.rpt_style_loc .rpt_plan{-webkit-box-shadow:1px 1px 3px 0 rgba(50,50,50,.19);-moz-box-shadow:1px 1px 3px 0 rgba(50,50,50,.19);box-shadow:1px 1px 3px 0 rgba(50,50,50,.19)}.rpt_plans .rpt_plan .rpt_title img{margin-right:10px;position:relative;vertical-align:middle}.rpt_plans .rpt_plan .rpt_title{background:#6371db;font-weight:300;padding:24px 18px;font-size:26px;color:#fff;line-height:35px;height:auto}.rpt_plans .rpt_plan .rpt_title span{display:inline-block;position:relative;top:-10px}.rpt_style_basic .rpt_plan .rpt_title{border-bottom:#ec86c6 solid 1px;border-top-left-radius:8px;border-top-right-radius:8px}.rpt_style_spec .rpt_plan .rpt_title{color:#fff}.rpt_style_bic .rpt_plan .rpt_title,.rpt_style_loc .rpt_plan .rpt_title,.rpt_style_swl .rpt_plan .rpt_title{background:#333}.rpt_plans .rpt_sm_title .rpt_plan .rpt_title{font-size:20px;line-height:18px}.rpt_plans .rpt_xsm_title .rpt_plan .rpt_title{font-size:15px;line-height:15px}.rpt_4_plans .rpt_plan .rpt_title{font-size:17px;line-height:15px}.rpt_4_plans .rpt_sm_title .rpt_plan .rpt_title{font-size:15px;line-height:13px}.rpt_4_plans .rpt_xsm_title .rpt_plan .rpt_title{font-size:13px;line-height:11px}.rpt_5_plans .rpt_plan .rpt_title{font-size:15px;line-height:13px}.rpt_5_plans .rpt_sm_title .rpt_plan .rpt_title{font-size:13px;line-height:11px}.rpt_5_plans .rpt_xsm_title .rpt_plan .rpt_title{font-size:12px;line-height:10px}.rpt_plans .rpt_recommended_plan .rpt_title{background:#6371db}.rpt_plans .rpt_plan .rpt_head .rpt_price .rpt_currency{position:relative;top:-44px;left:-10px;font-size:35px;line-height:0}.rpt_4_plans .rpt_plan .rpt_head .rpt_price .rpt_currency{top:-36px}.rpt_5_plans .rpt_plan .rpt_head .rpt_price .rpt_currency{top:-26px}.rpt_sm_price .rpt_plan .rpt_head .rpt_price .rpt_currency{font-size:30px;top:-44px;left:-4px}.rpt_xsm_price .rpt_plan .rpt_head .rpt_price .rpt_currency{font-size:25px;top:-30px;left:-4px}.rpt_xxsm_price .rpt_plan .rpt_head .rpt_price .rpt_currency{font-size:21px;top:-14px;left:-4px}.rpt_style_basic .rpt_plan .rpt_head{background:#ec86c6}.rpt_style_spec .rpt_plan .rpt_head{background:#222}.rpt_style_swl .rpt_plan .rpt_head{background:#fff}.rpt_plans .rpt_plan .rpt_head .rpt_price{padding:6px 10px;font-size:74px;line-height:100px;font-weight:300;text-align:center;color:#fff}.rpt_style_basic .rpt_plan .rpt_head .rpt_price,.rpt_style_spec .rpt_plan .rpt_head .rpt_price{text-shadow:1px 2px 7px rgba(0,0,0,.6)}.rpt_style_swl .rpt_plan .rpt_head .rpt_price{color:#000}.rpt_plans .rpt_sm_price .rpt_plan .rpt_head .rpt_price{font-size:62px}.rpt_plans .rpt_xsm_price .rpt_plan .rpt_head .rpt_price{font-size:56px}.rpt_plans .rpt_xxsm_price .rpt_plan .rpt_head .rpt_price{font-size:38px}.rpt_4_plans .rpt_plan .rpt_head .rpt_price{font-size:69px;line-height:80px}.rpt_4_plans .rpt_sm_price .rpt_plan .rpt_head .rpt_price{font-size:53px;line-height:65px}.rpt_4_plans .rpt_xsm_price .rpt_plan .rpt_head .rpt_price{font-size:47px;line-height:64px}.rpt_4_plans .rpt_xxsm_price .rpt_plan .rpt_head .rpt_price{font-size:31px;line-height:60px}.rpt_5_plans .rpt_plan .rpt_head .rpt_price{font-size:59px;line-height:80px}.rpt_5_plans .rpt_sm_price .rpt_plan .rpt_head .rpt_price{font-size:44px;line-height:60px}.rpt_5_plans .rpt_xsm_price .rpt_plan .rpt_head .rpt_price{font-size:37px;line-height:53px}.rpt_5_plans .rpt_xxsm_price .rpt_plan .rpt_head .rpt_price{font-size:24px;line-height:50px}.rpt_plans .rpt_recommended_plan .rpt_head .rpt_price{font-size:98px}.rpt_4_plans .rpt_recommended_plan .rpt_head .rpt_price{font-size:74px}.rpt_5_plans .rpt_recommended_plan .rpt_head .rpt_price{font-size:67px}.rpt_plans .rpt_sm_price .rpt_recommended_plan .rpt_head .rpt_price{font-size:83px}.rpt_4_plans .rpt_sm_price .rpt_recommended_plan .rpt_head .rpt_price{font-size:60px}.rpt_5_plans .rpt_sm_price .rpt_recommended_plan .rpt_head .rpt_price{font-size:54px}.rpt_plans .rpt_xsm_price .rpt_recommended_plan .rpt_head .rpt_price{font-size:55px}.rpt_4_plans .rpt_xsm_price .rpt_recommended_plan .rpt_head .rpt_price{font-size:49px}.rpt_5_plans .rpt_xsm_price .rpt_recommended_plan .rpt_head .rpt_price{font-size:41px}.rpt_plans .rpt_xxsm_price .rpt_recommended_plan .rpt_head .rpt_price{font-size:42px}.rpt_4_plans .rpt_xxsm_price .rpt_recommended_plan .rpt_head .rpt_price{font-size:34px}.rpt_5_plans .rpt_xxsm_price .rpt_recommended_plan .rpt_head .rpt_price{font-size:26px}.rpt_plans .rpt_plan .rpt_head .rpt_recurrence{font-size:13px;font-weight:300;line-height:18px;padding:20px 40px 10px;color:#d3d3d3;text-align:center}.rpt_style_spec .rpt_plan .rpt_head .rpt_recurrence{color:#d3d3d3}.rpt_style_bic .rpt_plan .rpt_head .rpt_recurrence,.rpt_style_loc .rpt_plan .rpt_head .rpt_recurrence{color:#f5f5f5}.rpt_style_swl .rpt_plan .rpt_head .rpt_recurrence{color:grey}.rpt_plans .rpt_sm_recurrence .rpt_plan .rpt_head .rpt_recurrence{font-size:11px;padding:20px 40px 4px}.rpt_plans .rpt_plan .rpt_head .rpt_subtitle{font-size:16px;line-height:20px;font-weight:300;text-align:center;padding:10px 30px 20px}.rpt_plans .rpt_sm_subtitle .rpt_plan .rpt_head .rpt_subtitle{font-size:14px}.rpt_plans .rpt_xsm_subtitle .rpt_plan .rpt_head .rpt_subtitle{font-size:12px}.rpt_4_plans .rpt_plan .rpt_head .rpt_subtitle{font-size:16px;line-height:18px;padding:10px 10px 20px}.rpt_4_plans .rpt_sm_subtitle .rpt_plan .rpt_head .rpt_subtitle{font-size:14px;line-height:17px}.rpt_4_plans .rpt_xsm_subtitle .rpt_plan .rpt_head .rpt_subtitle{font-size:13px;line-height:16px}.rpt_5_plans .rpt_plan .rpt_head .rpt_subtitle{font-size:15px;line-height:18px;padding:10px 10px 20px}.rpt_5_plans .rpt_sm_subtitle .rpt_plan .rpt_head .rpt_subtitle{font-size:13px;line-height:17px}.rpt_5_plans .rpt_xsm_subtitle .rpt_plan .rpt_head .rpt_subtitle{font-size:12px;line-height:16px}.rpt_plans .rpt_plan .rpt_head .rpt_description{font-size:14px;line-height:20px;padding:0 20px 30px;font-weight:300;text-align:center;color:#fff}.rpt_plans .rpt_sm_description .rpt_plan .rpt_head .rpt_description{font-size:12px}.rpt_style_bic .rpt_plan .rpt_head .rpt_description,.rpt_style_loc .rpt_plan .rpt_head .rpt_description{color:#f5f5f5}.rpt_4_plans .rpt_plan .rpt_head .rpt_description{font-size:13px;line-height:18px}.rpt_4_plans .rpt_sm_description .rpt_plan .rpt_head .rpt_description{font-size:12px;line-height:17px}.rpt_5_plans .rpt_plan .rpt_head .rpt_description{font-size:12px;line-height:18px}.rpt_5_plans .rpt_sm_description .rpt_plan .rpt_head .rpt_description{font-size:11px;line-height:17px}.rpt_plans .rpt_plan .rpt_features{padding:20px;background:#f5f5f5;text-align:center}.rpt_plans .rpt_plan .rpt_features .rpt_feature{font-size:16px;padding:6px 16px;border-bottom:1px dotted #d3d3d3}.rpt_plans .rpt_plan .rpt_features .rpt_feature:last-child{border-bottom:none}.rpt_plans .rpt_sm_features .rpt_plan .rpt_features .rpt_feature{font-size:14px}.rpt_style_bic .rpt_plan .rpt_features,.rpt_style_loc .rpt_plan .rpt_features,.rpt_style_swl .rpt_plan .rpt_features{background:#fff}.rpt_style_swl .rpt_plan .rpt_features .rpt_feature{padding:5px 16px}.rpt_4_plans .rpt_plan .rpt_features .rpt_feature{padding:6px 10px;font-size:14px}.rpt_4_plans .rpt_sm_features .rpt_plan .rpt_features .rpt_feature{font-size:12px}.rpt_5_plans .rpt_plan .rpt_features .rpt_feature{padding:6px 10px;font-size:13px}.rpt_5_plans .rpt_sm_features .rpt_plan .rpt_features .rpt_feature{font-size:11px}.rpt_plans .rpt_plan .rpt_foot{display:block;padding:10px 30px;border-top:#f5f5f5 solid 2px;text-align:center;color:#fff;font-size:24px;text-decoration:none;font-weight:300;transition:All .5s ease;-webkit-transition:All .5s ease;-moz-transition:All .5s ease;-o-transition:All .5s ease}.rpt_plans .rpt_sm_button .rpt_plan .rpt_foot{font-size:19px}.rpt_style_basic .rpt_plan .rpt_foot{border-bottom-left-radius:8px;border-bottom-right-radius:8px}.rpt_style_swl .rpt_plan .rpt_foot{border-top:none;padding:10px 30px 20px;color:#000;background:#333}.rpt_4_plans .rpt_plan .rpt_foot{padding:4px 20px;font-size:19px}.rpt_4_plans .rpt_sm_button .rpt_plan .rpt_foot,.rpt_5_plans .rpt_plan .rpt_foot{padding:4px 20px;font-size:17px}.rpt_5_plans .rpt_sm_button .rpt_plan .rpt_foot{font-size:16px}.rpt_plans .rpt_plan .rpt_foot:hover{opacity:.8}.rpt_style_swl .rpt_plan .rpt_foot:hover{opacity:1}.rpt_plans .rpt_recommended_plan .rpt_foot{font-size:30px;padding:16px 0}.rpt_plans .rpt_sm_button .rpt_recommended_plan .rpt_foot{font-size:26px}.rpt_4_plans .rpt_recommended_plan .rpt_foot{font-size:22px;font-weight:300;padding:10px 0}.rpt_4_plans .rpt_sm_button .rpt_recommended_plan .rpt_foot{font-size:19px;padding:10px 0}.rpt_5_plans .rpt_recommended_plan .rpt_foot{font-size:20px;font-weight:300;padding:10px 0}.rpt_5_plans .rpt_sm_button .rpt_recommended_plan .rpt_foot{font-size:18px;padding:10px 0}.rpt_custom_btn{border-bottom-left-radius:5px;border-bottom-right-radius:5px;text-align:center;padding:16px 20px}.rpt_plans .rpt_recommended_plan{position:relative;top:-10px}.rpt_recommended_plan img.rpt_recommended{position:absolute!important;right:10px!important}.rpt_style_bic .rpt_recommended_plan,.rpt_style_loc .rpt_recommended_plan{-webkit-box-shadow:1px 1px 6px 0 rgba(50,50,50,.39);-moz-box-shadow:1px 1px 6px 0 rgba(50,50,50,.39);box-shadow:1px 1px 6px 0 rgba(50,50,50,.39)}a.rpt_tooltip{display:block;outline:0;position:relative}a.rpt_tooltip strong{line-height:30px}a.rpt_tooltip>span.intool{width:90%;padding:10px;margin-top:56px;opacity:0;visibility:hidden;z-index:10;position:absolute;top:-15px;display:block;color:#f5f5f5;font-size:13px;line-height:20px;background:#333;font-weight:300;text-align:center}a.rpt_tooltip:hover{cursor:zoom-in}a.rpt_tooltip .rpt_tooltip_plus{text-decoration:none!important;display:inline;font-size:12px;font-weight:700;position:relative;top:-6px}.rpt_feature:hover a.rpt_tooltip>span.intool{opacity:.98;text-decoration:none;visibility:visible;overflow:visible}a.rpt_tooltip span.intool b{width:10px;height:10px;margin-left:35%;margin-top:-15px;position:absolute;-webkit-transform:rotate(-45deg);-moz-transform:rotate(-45deg);-o-transform:rotate(-45deg);transform:rotate(-45deg);display:none \0/;background:#333}.rpt_3_plans a.rpt_tooltip>span.intool{margin-left:-1%}.rpt_4_plans a.rpt_tooltip>span.intool{margin-left:0}.rpt_5_plans a.rpt_tooltip>span.intool{margin-left:-2%}.entry-content .rpt_plan a,.rpt_plan a{border-bottom:none!important}.rpt_plans .rpt_plan .rpt_icon{max-width:30px;max-height:30px}.rpt_plans .rpt_plan img{display:inline;margin:0 10px 0 0;padding:0;-webkit-box-shadow:0 0 0 0 transparent;-moz-box-shadow:0 0 0 0 transparent;box-shadow:0 0 0 0 transparent;border:none}select.chaty-select,select.form-fonts{width:360px;max-width:100%;border:none;color:#32373c;outline:0;padding:5px 7px;line-height:26px;background-color:#fff;border-radius:5px;height:36px;-webkit-box-shadow:0 0 15px 0 #eaeaea;-moz-box-shadow:0 0 15px 0 #eaeaea;box-shadow:0 0 15px 0 #eaeaea}select.chaty-select:disabled,textarea.test_textarea:disabled{background:#eee;border:solid 1px #ddd;color:#32373c}.icon.label-tooltip{font-size:12px;font-weight:400;color:#72777c}.icon.label-tooltip:after{width:250px;white-space:normal;line-height:16px;padding:10px}@media only screen and (max-width:640px){.rpt_plans .rpt_plan{width:96%;margin:10px 2% 20px!important}.rpt_plans .rpt_plan .rpt_title{position:relative;font-size:26px!important;line-height:35px!important}.rpt_plans .rpt_plan .rpt_head .rpt_price{font-size:74px!important;line-height:100px!important}.rpt_plans .rpt_plan .rpt_head .rpt_subtitle{font-size:17px!important;line-height:28px!important;padding:10px 40px 20px}.rpt_plans .rpt_plan .rpt_head .rpt_description{font-size:15px!important;line-height:26px!important;padding:0 40px 30px}.rpt_plans .rpt_plan .rpt_features .rpt_feature{padding:6px 16px;font-size:14px!important}.rpt_plans .rpt_plan .rpt_foot{padding:10px 40px;text-align:center;color:#fff;font-size:20px}.rpt_plans .rpt_recommended_plan .rpt_foot{font-size:30px;font-weight:300;padding:20px 0}.rpt_plan .rpt_head .rpt_price .rpt_currency{top:-36px!important;left:-10px!important;font-size:35px!important}}#rpt_pricr .rpt_plan_ori .rpt_features .rpt_feature,#rpt_pricr .rpt_plan_ori .rpt_features .rpt_feature a,#rpt_pricr .rpt_plan_ori .rpt_foot,#rpt_pricr .rpt_plan_ori .rpt_head .rpt_description,#rpt_pricr .rpt_plan_ori .rpt_head .rpt_price,#rpt_pricr .rpt_plan_ori .rpt_head .rpt_price .rpt_currency,#rpt_pricr .rpt_plan_ori .rpt_head .rpt_recurrence,#rpt_pricr .rpt_plan_ori .rpt_head .rpt_subtitle,#rpt_pricr .rpt_plan_ori .rpt_title{font-family:'Helvetica Neue',Helvetica,Arial,sans-serif!important;font-weight:300!important}p.udner-title strong{font-size:40px;padding-bottom:30px;display:block;color:#b97fcf}.channels-selected-list li{display:block;max-width:640px;padding:15px;background:#eff6f6;-webkit-border-radius:10px;-moz-border-radius:10px;border-radius:10px;margin-bottom:15px}.chaty-settings a{text-decoration:none;display:inline-block;color:#fff;margin-left:15px;height:26px;background:#a785cb;text-align:center;vertical-align:middle;-webkit-border-radius:18px;-moz-border-radius:18px;border-radius:18px;font-size:10px;line-height:26px;padding:0 5px}.chaty-settings a .dashicons,.chaty-settings a .dashicons-before:before{font-size:16px;line-height:26px;display:inline-block;margin:0;text-align:center}.move-icon{display:inline-block;vertical-align:middle}.move-icon img{width:10px;margin-right:5px;margin-top:8px;cursor:move}.chaty-default-settings>*{display:inline-block;vertical-align:middle}.chaty-default-settings{display:flex;align-items:center;flex-wrap:wrap;position:relative;padding-bottom:15px}.chaty-advance-settings{width:100%;border:solid 1px #a785cb;margin:20px 0 0 0;padding:10px;-webkit-border-radius:5px;-moz-border-radius:5px;border-radius:5px;background:#f2f2f2;display:none;min-height:70px;position:relative}.chaty-setting-col>*{display:inline-block;padding:0 0 10px 0;vertical-align:middle}.chaty-setting-col>label{width:150px}.chaty-setting-col .channels__view{margin:0;padding:0}.chaty-setting-col input[type=text],select.channel-select-input{width:300px;height:36px;line-height:36px;padding:0 10px;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;font-family:Rubik,sans-serif;font-size:17px}.sp-replacer.sp-light{padding:0;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;border:none}.chaty-setting-col a.upload-chaty-icon{background:#a886cd;color:#fff;text-decoration:none;line-height:36px;padding:0 10px;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;display:inline-block}.chaty-setting-col a.upload-chaty-icon span{line-height:40px}.chaty-setting-col input[type=text].chaty-color-field{width:40px}.chaty-setting-col input[type=text]:read-only{background:#fff}.chaty-pro-feature{position:absolute;left:0;width:100%;text-align:center;top:0;height:100%;vertical-align:middle;background:rgba(255,255,255,.4);-webkit-border-radius:5px;-moz-border-radius:5px;border-radius:5px;display:none}.chaty-advance-settings:hover .chaty-pro-feature,.chaty-date-time-option:hover .chaty-pro-feature{display:inline-block;width:170px;margin:0 auto;left:0;right:0}.chaty-pro-feature a{text-decoration:none;background:#ff6624;color:#fff;padding:0 10px;line-height:36px;display:inline-block;top:50%;position:absolute;left:0;right:0;width:180px;margin:-20px auto 0;-webkit-border-radius:5px;-moz-border-radius:5px;border-radius:5px}.chaty-pro-feature a:hover{background:#a886cd}a#upload_qr_code{background:#fff;display:inline-block;height:40px;width:40px;text-align:center;line-height:40px;text-decoration:none}a#upload_qr_code span{line-height:36px}.close-btn-set,.cls-btn-settings{opacity:0;visibility:hidden;pointer-events:none}.close-btn-set.active,.cls-btn-settings.active{opacity:1;visibility:visible;pointer-events:auto}.chaty-settings.cls-btn{margin-left:164px}.section2{padding:25px 15px 30px;border-top:2px solid rgba(130,130,130,.1)}#chaty-social-close{display:none}#chaty-social-Facebook_Messenger .chaty-default-settings{padding-bottom:25px}ul#channels-selected-list{margin:0;padding:0}.channels-selected-list li.ui-chaty-state-hl{border:dashed 1px #6972da;min-height:95px}.viber-help{position:absolute;right:43px;bottom:-4px;font-size:12px;color:#665cac;text-decoration:underline;cursor:pointer}.viber-help span.help-text{position:absolute;width:210px;left:-80%;text-align:center;background:#000;padding:5px;color:#fff;font-size:12px;bottom:20px;z-index:101;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;display:none}.viber-help:hover span{display:block}a.create-rule{background:#ff6624;text-decoration:none;padding:5px 20px;color:#fff;-webkit-border-radius:5px;-moz-border-radius:5px;border-radius:5px;display:inline-block}a.create-rule.remove-rules{background:#7e8993;color:#fff;display:inline-block}.chaty-pro-block{position:relative}.chaty-pro-block:hover .chaty-pro-feature{display:inline-block}.chaty-settings.cls-btn span{padding-left:2px}.rpt_description.title-text{padding:25px 0 0!important;display:block!important}.chaty-page-option{padding:5px;background:#f6f3fa;margin-bottom:15px;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;position:relative}.url-select{width:17%;display:inline-block;padding-right:5px}.url-content>*{vertical-align:middle}.url-option{width:20%;display:inline-block;padding-right:5px}.url-box{width:25%;display:inline-block;padding-right:0;text-align:right}.url-values{width:calc(37% - 46px);display:inline-block;padding-right:5px}.day-buttons,.url-buttons{width:36px;display:inline-block;float:right;padding:0}.url-buttons{padding:2px 0 0 0}span.chaty-url{font-size:12px;line-height:12px}.url-content .remove-chaty{background:#bd2a00;text-align:center;display:block;line-height:36px;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px}.url-content input,.url-content select{width:100%;height:36px;line-height:36px;padding:0 10px;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px}.page-options{position:relative;display:none}.chaty-option-box .page-options:hover .chaty-pro-feature{display:block;width:170px;margin:0 auto;left:0;right:0}.preview{position:fixed;top:190px;width:337px;height:290px;bottom:auto}.preview-section-chaty{position:static;width:352px;height:320px;display:block;vertical-align:baseline;float:right}select.multiple-options{max-width:100%}.rpt_plan.pro-active .rpt_head{padding-bottom:50px}.rpt_plan.pro-active .rpt_head .rpt_description{display:none}.updates-form-form{min-height:calc(100vh - 280px)}.popup-form-content{background:#fff;min-height:100px;width:450px;text-align:center;margin-top:50px;border:solid 1px #c1c1c1}.updates-content-buttons button{margin:10px 3px!important;float:left}.updates-content-buttons a span{-webkit-animation:fa-spin .75s infinite linear;animation:fa-spin .75s infinite linear}.updates-content-buttons a:focus,.updates-content-buttons a:hover{color:#fff;background-image:linear-gradient(rgba(0,0,0,.1),rgba(0,0,0,.1))}.updates-content-buttons a:focus{outline:0;box-shadow:0 0 0 2px #fff,0 0 0 4px rgba(50,100,150,.4)}.updates-content-buttons button.form-cancel-btn{float:right!important}.form-submit-btn{background-color:#3085d6}.updates-content-buttons a span{-webkit-animation:fa-spin .75s infinite linear;animation:fa-spin .75s infinite linear}.add-update-folder-title{font-size:20px;line-height:30px;padding:20px 20px 0}.folder-form-input{padding:10px 20px}.folder-form-input input{width:100%;transition:border-color .3s,box-shadow .3s;border:1px solid #d9d9d9;border-radius:.1875em;font-size:1.125em;box-shadow:inset 0 1px 1px rgba(0,0,0,.06);box-sizing:border-box;height:2.625em;margin:1em auto}.updates-content-buttons{background:#c1c1c1;padding:0 20px}.notice.chaty-notice{display:block!important}.preview .h2{padding:40px 0 10px 0;text-align:center;font-weight:700}.pro-features{position:relative;display:inline-flex}.pro-item{position:relative}.pro-button{display:none;position:absolute;width:100%;top:0;left:0;height:100%;line-height:36px;text-align:center}.pro-button a{display:block;line-height:36px}.pro-features:hover .pro-item{opacity:.25;filter:blur(2px);-o-filter:blur(2px);-ms-filter:blur(2px);-moz-filter:blur(2px);-webkit-filter:blur(2px)}.pro-features:hover .pro-button{display:block}.sp-replacer.sp-light{padding:0;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;border:none}.sp-preview{padding:0;margin:0;height:40px;width:40px;border:none;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px}.sp-preview-inner{-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px}.sp-dd{display:none}span.facustom-icon{display:block;width:50px;height:50px;font-size:30px;line-height:50px;-webkit-border-radius:50%;-moz-border-radius:50%;border-radius:50%}span.default-chaty-icon .facustom-icon{display:none}span.default-chaty-icon.has-fa-icon .facustom-icon{display:block}span.default-chaty-icon.has-fa-icon svg{display:none}.preview .page .chaty-widget span.facustom-icon{width:30px;height:30px;line-height:30px;font-size:20px}.preview .page .chaty-widget span.facustom-icon i{line-height:30px;font-size:18px}.preview.mobiel-view .page .chaty-widget span.facustom-icon{width:24px;height:24px;line-height:24px;font-size:12px}.preview.mobiel-view .page .chaty-widget svg{width:24px;height:24px}.preview.mobiel-view .page .chaty-widget span.facustom-icon i{line-height:24px;font-size:14px}.preview.mobiel-view .page .chaty-widget .social-item-box{height:24px;margin:0 0 4px 0}label.custom-control.custom-radio:before{display:none}.channels-selected-list li#chaty-social-Poptin{padding-bottom:30px}.chaty-popup{position:fixed;width:100%;height:100%;top:0;left:0;z-index:100001;background:rgba(0,0,0,.75)}.chaty-popup-box{padding:0;width:600px;max-width:100%;margin:auto;top:50%;position:absolute;left:0;right:0;border-radius:5px;transform:translate(0,-50%);-webkit-transform:translate(0,-50%);-moz-transform:translate(0,-50%);text-align:center;background:#fcfcfc}.chaty-popup-header{padding:15px;font-size:20px;border-bottom:solid 1px #e6e6e6}.chaty-popup-content{background:#fff;padding:15px}.chaty-popup-content iframe{margin:30px 0}.chaty-popup-footer{padding:10px 15px;border-top:solid 1px #e6e6e6}.chaty-popup-footer button{border:solid 1px #00c478;padding:5px 10px;border-radius:4px;background:#00c478;color:#fff}button.btn.btn-default{background:#fff;color:#333;border:solid 1px #333;outline:0;box-shadow:none}.country-option-box{position:relative}.country-option-box:hover .country-list-box{filter:blur(2px);-o-filter:blur(2px);-ms-filter:blur(2px);-moz-filter:blur(2px);-webkit-filter:blur(2px)}.country-option-box:hover .chaty-pro-feature{display:block}.custom-css{-webkit-box-shadow:0 0 15px 0 #eaeaea;-moz-box-shadow:0 0 15px 0 #eaeaea;box-shadow:0 0 15px 0 #eaeaea;border-radius:5px;-webkit-border-radius:5px;-moz-border-radius:5px;padding:10px;height:70px;border:solid 1px #f6f6f6;width:360px;max-width:100%}.close-chaty-popup span{line-height:20px}.close-chaty-popup{margin:0;padding:0;background:0 0;border:none;float:right;background:#000;border-radius:50%;color:#fff;text-align:center;width:24px;height:24px}.css-option-box{width:350px;max-width:100%}.chaty-channel .advanced-settings{display:none;width:100%}.chaty-channel[data-channel=Contact_Us] .advanced-settings.Contact_Us-settings,.chaty-channel[data-channel=Custom_Link] .advanced-settings.Custom_Link-settings,.chaty-channel[data-channel=Custom_Link_3] .advanced-settings.Custom_Link_3-settings,.chaty-channel[data-channel=Custom_Link_4] .advanced-settings.Custom_Link_4-settings,.chaty-channel[data-channel=Custom_Link_5] .advanced-settings.Custom_Link_5-settings,.chaty-channel[data-channel=Email] .advanced-settings.Email-settings,.chaty-channel[data-channel=Link] .advanced-settings.Link-settings,.chaty-channel[data-channel=Linkedin] .advanced-settings.Linkedin-settings,.chaty-channel[data-channel=WeChat] .advanced-settings.WeChat-settings,.chaty-channel[data-channel=Whatsapp] .advanced-settings.Whatsapp-settings{display:block}.preview .page .chaty-widget.horizontal.chaty-widget-icons-left #iconWidget,.preview .page .chaty-widget.horizontal.chaty-widget-icons-left .chaty-close-icon{float:left}.preview .page .chaty-widget.horizontal.chaty-widget-icons-left .chaty-channels{float:right}.chaty-widget.horizontal.chaty-widget-icons-left .social-item-box{margin:0 0 0 5px;vertical-align:bottom}.chaty-widget.horizontal span.social-tooltip{right:auto;left:auto;transform:translate(calc(-50% + 15px),-150%);top:0;margin:0 auto}.chaty-widget.horizontal span.social-tooltip:after{top:100%;left:0;right:0;margin:0 auto;transform:rotate(-90deg);width:10px;height:10px}.chaty-widget.horizontal.chaty-widget-icons-left span.social-tooltip:after{transform:rotate(90deg)}.ui-sortable-handle{touch-action:inherit!important}.chaty-widget.horizontal .social-item-box{display:inline-block;margin:0 5px 0 0;vertical-align:bottom}.chaty-widget.active.horizontal .chaty-channels,.chaty-widget.hover.horizontal:hover .chaty-channels{display:inline-block}.preview .page .chaty-widget.active:not(.has-single) i#iconWidget,.preview .page .chaty-widget.hover:hover:not(.has-single) i#iconWidget{display:none!important}.preview .page .chaty-widget.horizontal.active:not(.has-single):not(.hide-arrow) i.chaty-close-icon,.preview .page .chaty-widget.horizontal.hover:hover:not(.has-single):not(.hide-arrow) i.chaty-close-icon{display:inline-block!important;vertical-align:bottom}.ui-sortable-handle{touch-action:inherit!important}.form-horizontal__item.o-channel{display:none}.form-horizontal__item.o-channel.active{display:flex}.font-section{margin-top:30px}.font-section.active{margin:0}.form-horizontal__item .cht-input{max-width:100%;width:350px}body .form-horizontal__item .cht-input:disabled{background:#eee;border:solid 1px #ddd;color:#32373c;font-size:14px}.form-horizontal__item .sp-replacer.sp-light.sp-disabled .sp-preview-inner{background:#eee!important;border:solid 1px #ddd}.form-horizontal__item .sp-replacer.sp-light{-webkit-box-shadow:0 0 15px 0 #eaeaea;-moz-box-shadow:0 0 15px 0 #eaeaea;box-shadow:0 0 15px 0 #eaeaea}.switch input[type=checkbox]:disabled+.switch__styled{background:#e2e2e2!important}.form-horizontal__item .sp-replacer.sp-light .sp-preview{margin:0}.main .form-horizontal__item.pending-message-items{display:none}.main .form-horizontal__item.pending-message-items.active{display:flex}.disable-message.label-tooltip.icon{font-size:17px}.cta-action-radio .disable-message{display:inline-block;margin-left:10px}.custom-control.custom-radio .custom-control-input:checked:disabled~.custom-control-label:before{background:#e2e2e2!important}span.pop-number{position:absolute;top:-6px;right:-6px;font-size:10px;border-radius:50%;line-height:12px;padding:2px;min-width:16px;min-height:16px;text-align:center}.preview .page .chaty-widget .icon i#iconWidget{position:relative;overflow:inherit}.disable-message.label-tooltip .sp-replacer.sp-light{pointer-events:none}.chaty-popup{display:none}.chaty-popup-outer{position:fixed;width:100%;height:100%;background:rgba(0,0,0,.4);left:0;top:0;z-index:1010}.chaty-popup-inner{position:fixed;height:auto;left:0;top:50%;right:0;margin:0 auto;width:480px;max-width:100%;z-index:1012;-webkit-transform:translate(0,-50%);-moz-transform:translate(0,-50%);transform:translate(0,-50%)}.chaty-popup-content{position:relative;padding:0}.chaty-popup-close{position:absolute;width:20px;height:20px;right:4px;top:4px;z-index:110}.chaty-popup-close a{display:block;width:20px;height:20px;padding:4px;box-sizing:border-box;vertical-align:top;line-height:12px}.chaty-popup-close svg{width:100%;height:100%}.chaty-popup-header{padding:10px;border-bottom:solid 1px #e8e8e8;font-weight:700;text-align:center;font-size:20px}.chaty-popup-body{padding:40px 20px;text-align:center}.chaty-popup-footer{padding:10px;text-align:center;border-top:solid 1px #e8e8e8}.gtm-select{width:27%}.color-setting{width:100%;max-width:500px;padding:30px 0}.color-box{display:flex}.clr-setting{flex:1}.main .single-channel-setting{display:none}.main .single-channel-setting.active{display:flex}.chaty-table{width:100%;margin:10px auto 3px;background:#fff;padding:15px 20px 20px;border-radius:9px;position:relative}.chaty-table table{width:100%;border-collapse:collapse;border-top:1px solid #aeaeae;border-left:1px solid #aeaeae}.chaty-table table thead th{background-color:#44467f;color:#fff;text-align:left;padding:15px 12px;border-right:1px solid #aeaeae;border-bottom:1px solid #605dec}.chaty-table table tbody td{text-align:left;border-right:1px solid #aeaeae;border-bottom:1px solid #aeaeae;padding:15px 12px}.fix-width{width:100px;text-align:center!important}.chaty-actions a{color:#44467f;text-decoration:none;font-weight:400;display:inline-block}.chaty-actions .icon.label-tooltip:after{width:auto}td.chaty-actions{text-align:center!important}.cht-tooltip{display:inline-block;position:relative}.cht-tooltip:after,.cht-tooltip:before{position:absolute;opacity:0;pointer-events:none;left:50%;content:"";color:#fff}.cht-tooltip:before{top:-8px;transform:translateX(-50%);height:10px;width:10px;border-width:10px 5px 0;border-style:solid;border-color:#333 transparent transparent}.cht-tooltip:after{text-align:center;content:"" attr(data-title) "";font-size:11px;top:0;transform:translate(-50%,calc(-100% - 6px));padding:0 20px;line-height:23px;min-width:90px;white-space:nowrap;background-color:#333;box-shadow:0 2px 4px rgba(0,0,0,.15);border-radius:6px}.cht-tooltip:hover:not(.tooltip-show):after,.cht-tooltip:hover:not(.tooltip-show):before{opacity:1;pointer-events:auto}.chaty-table .chaty-switch{display:block;height:24px;position:relative;padding:0 0 0 40px!important;line-height:24px;width:40px!important;margin:0 auto}a.cht-add-new-widget{background-color:#fff;line-height:initial;color:#44467f;font-weight:500;padding:8px 14px;border-radius:25px;border:1px solid #44467f;text-decoration:none;margin:0;display:inline-block}.pull-right{float:right}.chaty-table-header span{display:inline-block;font-size:24px;line-height:38px}.chaty-table-header{padding:0 0 15px 0}@media (min-width:1281px){.btn-help,.remove-chaty-widget-sticky{transform:rotate(90deg);position:fixed;left:calc(50vw - 480px + 1050px / 12 * 7 + 372px);top:306px;right:auto}}@media (min-width:576px){.container{max-width:540px}}@media (min-width:768px){.container{max-width:1070px;width:100%}.modal__wrap{padding:0}.domain{margin:0 0 10px;padding:20px 60px 26px}}.trigger-block span.dashicons.dashicons-editor-help{width:20px;height:24px;line-height:25px;color:#7e8993}.traffic-active,.traffic-options-box.active .traffic-default{display:none}.traffic-options-box.active .traffic-active{display:block}.traffic-custom-rules{padding:5px 10px}.custom-rule-title{font-weight:700;font-size:14px}.custom-traffic-rule>*{display:inline-block;vertical-align:middle;box-sizing:border-box}.custom-traffic-rule>.traffic-option{width:120px;padding:0 5px 0 0}.traffic-action{width:36px}a.remove-traffic-option{background:#bd2a00;text-align:center;display:block;line-height:36px;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px}.traffic-url{width:calc(100% - 165px);padding:0 5px 0 0}.traffic-url input{width:100%}.custom-traffic-rule>.traffic-option select{height:36px;width:100%}.custom-traffic-rule{padding:5px 0;border-bottom:solid 1px #eee2ff}.custom-traffic-rule:last-child{border:none}.custom-traffic-rule:first-child .remove-traffic-option{display:none}.traffic-rule-actions{padding:5px 10px 8px;border-top:solid 1px #eee2ff}.chaty-setting-col>div>.chaty-setting-textarea{width:310px;max-width:100%;height:100px;padding:5px}.whatsapp-welcome-message{display:none;background:rgba(168,134,205,.1);padding:15px 15px 10px 15px;border-radius:10px;border:solid 1px #e1c4ff;width:100%}.whatsapp-welcome-message.active{display:block}.form-field-setting-col{padding:10px;background:#eff6f6;border:solid 1px #d2d2d2;border-radius:5px;margin:0 0 10px 0}.close_form_after-settings,.email-settings,.field-settings,.redirect_action-settings{display:none}.close_form_after-settings.active,.field-settings.active,.redirect_action-settings.active{display:block}.email-settings.active{padding:15px 0 0 0;display:block}.no-margin{margin:0!important}.no-padding{padding:0!important}.left-section{float:left;text-align:left}.right-section{float:right;width:50%;text-align:right}.inline-block{display:inline-block;vertical-align:top}.form-field-title{font-weight:700;padding:0 0 10px 0;font-size:18px}.chaty-separator{margin:0 0 10px 0;height:1px;width:100%;background:#d2d2d2}a#wpappp_export_to_csv{background:#ff6624;display:block;text-align:center;padding:10px 15px;color:#fff;text-decoration:none;border-radius:4px}input#chaty_delete_all_leads{background:#3c3c3c;color:#fff;padding:10px 15px;border:none;border-radius:4px;cursor:pointer}.responstable{border-collapse:collapse;width:100%;border:1px solid #ccd0d4;margin-top:30px;font-size:14px}.responstable td{border:none;padding:8px;font-size:14px}.responstable tr:last-child{border-bottom:1px solid #ccd0d4}.responstable th{text-align:left;background-color:#fff;border-bottom:1px solid #ccd0d4;border-top:1px solid #ccd0d4;color:#32373c;font-weight:400;padding:12px 8px;font-size:14px}.responstable th.text-center{text-align:center;width:80px}.responstable tr:nth-child(even){background-color:#f9f9f9}.remove-record{color:#333;text-decoration:none}a.url{color:#333;text-decoration:none}.no-record-message{margin:100px 0 0;text-align:center;padding:50px;border:solid 1px #d00;background:#ffeaea;color:#d00}.main .channels-icons>.icon.chat-channel-Contact_Us{width:180px;line-height:48px;text-align:center}.main .channels-icons>.icon.chat-channel-Contact_Us span.icon-box{display:inline-block;height:48px;border-radius:24px;background:#bdbdbd;padding:0 20px 0 0;transition:all .2s;cursor:pointer}.main .channels-icons>.icon.chat-channel-Contact_Us.active span.icon-box,.main .channels-icons>.icon.chat-channel-Contact_Us:hover span.icon-box{background:#253974}.main .channels-icons>.icon.chat-channel-Contact_Us span.icon-box span{display:inline-block;vertical-align:top;font-size:14px;padding:0 0 0 5px;font-family:Rubik,sans-serif;color:#fff}.chaty-new-widget-row.no-records{border:1px solid #605dec;margin:10px;padding:10px;text-align:center;border-radius:5px;color:#1e1e1e;font-weight:400}.no-records-title{font-style:normal;font-weight:600;font-size:20px;line-height:30px;color:#1e1e1e;margin:15px 0;text-align:center}.extra-chaty-settings{padding:10px 0 0 70px}.html-tooltip{position:relative;display:inline-block}.html-tooltip .tooltip-text{visibility:hidden;width:300px;background-color:#333;color:#fff;text-align:center;border-radius:6px;padding:10px;position:absolute;z-index:1201;bottom:125%;left:50%;margin-left:-150px;opacity:0;transition:opacity .3s;font-size:12px;line-height:18px;top:100%;height:454px}.html-tooltip.no-position .tooltip-text{height:auto}.html-tooltip .tooltip-text:after{content:"";position:absolute;top:-10px;left:50%;margin-left:-5px;border-width:5px;border-style:solid;border-color:#333 transparent transparent transparent;transform:rotate(180deg);-webkit-transform:rotate(180deg)}.html-tooltip:hover .tooltip-text{visibility:visible;opacity:1}.html-tooltip .tooltip-text img{width:100%;height:auto;display:block;margin:10px 0 0 0}.html-tooltip.top .tooltip-text{top:auto;bottom:100%}.html-tooltip.top .tooltip-text:after{top:100%;transform:rotate(0);-webkit-transform:rotate(0)}.html-tooltip.side .tooltip-text{bottom:125%;left:100%;margin-left:0;top:5px;transform:translateY(-50%);-webkit-transform:translateY(-50%)}.html-tooltip.side .tooltip-text:after{top:50%;left:-5px;transform:rotate(180deg);-webkit-transform:rotate(90deg)}.html-tooltip.side .tooltip-text.hide-arrow:after{display:none}body .full-width{width:100%;display:block;padding:0 0 5px 0}.chaty-setting-textarea{width:100%;height:100px;border-radius:0;border:solid 1px #dadce3}.popover .upgrade-link.active{animation:shake .82s cubic-bezier(.36,.07,.19,.97) both;transform:translate3d(0,0,0);backface-visibility:hidden;perspective:1000px}.date-schedule{padding:10px;background:#f6f3fa;margin-bottom:4px;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;position:relative;flex:calc(100% - 152px);max-width:350px}.date-time-box input[type=text]{width:100%}.date-schedule label{display:block;font-size:16px;padding:0 0 2px 0}.date-time-box{padding-top:8px}.date-select-option{width:49%;float:left}.time-select-option{width:49%;float:right}#date-schedule.active .date-schedule-button,.date-schedule-box{display:none}#date-schedule.active .date-schedule-box{display:block}a#remove-date-rule{margin-top:5px}.chaty-popup-input input{width:100%;margin:10px 0 0 0;width:calc(100% - 36px)}#wpwrap{position:inherit}#wpfooter{display:none}button#delete-widget-btn{background:red;border-color:red}.select2-box{width:100%;height:36px}.date-schedule{position:relative}.date-schedule:hover .chaty-pro-feature{display:block}@keyframes shake{10%,90%{transform:translate3d(-1px,0,0)}20%,80%{transform:translate3d(2px,0,0)}30%,50%,70%{transform:translate3d(-4px,0,0)}40%,60%{transform:translate3d(4px,0,0)}}@media (min-width:768px){.widget-icon__block [class^=icon-]{width:54px;height:54px;font-size:28px;line-height:54px}.widget-icon__block [class^=icon-] svg{width:100%}.widget-icon__block .custom-control.custom-radio:first-child{padding-left:20px;max-width:90px}.widget-icon__block .custom-control.custom-radio:last-child{padding-right:20px}}@media (max-width:767px){.main .form-horizontal__item>.widget-icon__wrap{display:flex;justify-content:space-between}.main .form-horizontal__item>.widget-icon__wrap .custom-control{margin:0;flex:1;text-align:center}}@media (min-width:768px){.kv-file-content{width:54px;height:54px}.file-input{width:54px;height:60px}}@media screen and (max-width:1280px){.preview{top:180px}.chaty-sticky-buttons{position:fixed;right:0;top:239px;z-index:601}.preview-section-chaty{display:none;z-index:1001;position:fixed;left:0;right:0;margin:0 auto}.preview-section-chaty.active,.preview-section-overlay.active{display:block}.preview-section-overlay{position:fixed;background:rgba(0,0,0,.6);top:0;left:0;width:100%;height:100vh;z-index:999;display:none;float:none;width:100%}.preview-help-btn{display:block;top:177px;background:#a785cb;padding:0;line-height:42px;height:42px;width:110px}a.remove-chaty-widget-sticky{top:302px!important}.preview-help-btn:focus,.preview-help-btn:hover{color:#fff}.preview{position:relative;top:0!important;margin:0 auto!important;left:0;right:0;float:none}.preview.mobiel-view .page{width:202px;height:300px}.btn-save-sticky{top:20px!important}.btn-help{top:60px!important}}@media screen and (max-width:1180px){.section.one{max-width:inherit}.main .channels-icons{max-width:600px;text-align:center;margin:0;width:100%}.main .channels-icons>.icon{display:inline-block;vertical-align:middle;text-align:center;float:none;margin:0;padding:2px 4px 0;width:58px;height:58px}.container{max-width:1180px;padding:0 20px 0 10px}.chaty-settings.cls-btn{margin-left:137px}.chaty-settings.cls-btn span{padding-left:0}}@media screen and (max-width:960px){.chaty-default-settings>*{display:inline-block;vertical-align:middle}.chaty-default-settings .move-icon{width:15px}.channels-selected__item .icon span.custom-chaty-image,.channels-selected__item .icon span.custom-chaty-image img{width:40px;height:40px}.chaty-default-settings .icon{width:40px}.chaty-default-settings .channels__device-box{width:135px}.chaty-default-settings .channels__device-box .channels__view{margin:0}.chaty-settings{width:92px;text-align:center}.chaty-default-settings .icon.icon-md svg,.main .channels-selected__item .icon{width:40px;height:40px;cursor:move}.chaty-default-settings{display:block;width:100%;padding-bottom:0}.chaty-default-settings .channels__input-box input{width:100%}.chaty-default-settings .channels__input-box{width:calc(100% - 310px)}.viber-help{top:50px;bottom:auto}.day-buttons{width:calc(100% - 71% - 102px)}.url-values{width:calc(37% - 52px)}body{background:#af7dd0 url(../images/bg.svg) no-repeat}.modal-dialog.modal-lg{display:none}}@media screen and (max-width:830px){.chaty-features ul li{width:100%;text-align:center}.demo-buttons{text-align:center}.chaty-feature,.chaty-feature.analytics,.chaty-feature.second{min-height:inherit}}@media screen and (max-width:680px){.chaty-default-settings>*{display:inline-block;vertical-align:top}.section-title{font-size:20px;margin:0 0 15px 0}.chaty-default-settings .channels__input-box{width:calc(100% - 80px)}.viber-help{position:relative;top:auto;left:auto;right:auto;padding:5px 0 0 0;width:100%}.chaty-default-settings .channels__device-box{width:calc(100% - 105px);text-align:left;padding:10px 0 0 0}.chaty-settings{padding:10px 0 0 0}.help-section{display:block;width:100%;text-align:left}.extra-chaty-settings{padding:10px 0 0}.chaty-setting-col input[type=text],select.channel-select-input{width:100%}.chaty-default-settings .channels__device-box .channels__view{margin:0 15px 0 0}.chaty-setting-col>*{display:block}.main .form-horizontal__item-label{display:block;width:100%;flex:auto;text-align:left;padding:0 0 5px 0}button.chaty-input-button,select.chaty-select,select.form-fonts{width:100%}.country-option-box{width:100%}.form-horizontal__item>div{display:block;width:100%}.day-select{width:100%;padding-bottom:10px}.chaty-date-time-option .day-time{width:calc(50% - 78px);padding-bottom:0}.chaty-date-time-option .day-buttons{width:36px;padding-bottom:0}.chaty-date-time-option .time-data{display:none}.chaty-date-time-option.first .time-data{display:inline-block}.chaty-date-time-option.first .day-time{width:calc(50% - 58px);padding-bottom:10px}.chaty-date-time-option.first .day-buttons{width:calc(50% - 7px);vertical-align:top}.url-content>*{float:left}.url-box,.url-option,.url-select{width:50%;word-break:break-all;padding:0 2px}.url-values{width:calc(50% - 36px)}.url-box,.url-buttons,.url-values{padding-top:5px}.url-values{padding-left:2px}.url-buttons{padding-right:2px}.chaty-cls-setting .chaty-default-settings .channels__input-box{width:calc(100% - 114px)}.chaty-cls-setting .chaty-settings.cls-btn{margin-left:0;padding:0}.chaty-cls-setting .input-example{display:none}.chaty-cls-setting .input-example.active{display:block;position:relative;top:4px}.css-option-box,.custom-css{width:100%}.main .channels-selected__item .input-example{left:0;top:40px;position:static;width:100%;text-align:left;margin-top:10px}.viber-help span.help-text{left:-40px}.form-horizontal__item span.header-tooltip-text{width:210px;left:-10px}.form-horizontal__item span.header-tooltip-text:before{left:20px;right:auto}.main #positionPro{margin-left:0}}@media screen and (max-width:600px){.url-content>*{width:100%;padding:0 0 5px 0;text-align:left}.url-content>.url-buttons{padding:0}a.remove-chaty-widget-sticky{top:290px}.pro-features{position:relative;display:block}.chaty-setting-col .pro-features.upload-image{display:inline-block}.btn-red,.btn-white{font-size:14px;margin:2px 0;float:right}.update-nag{display:none!important}.chaty-new-widget-row{display:block}.chaty-new-widget-left{width:100%;float:none}.chaty-new-widget-right{width:100%;float:none;padding:20px 0 0 0}.chaty-new-widget-left img{max-width:100%}.chaty-new-widget-wrap{margin:40px 10px 0 0}.btn-save-sticky{top:70px}.btn-help{top:113px;height:32px;line-height:34px;padding:0;display:inline-block;vertical-align:middle;width:100px}.btn-help span{width:18px;height:18px;line-height:18px;font-size:11px}.preview-help-btn{top:172px!important;line-height:32px;height:32px;width:110px}a.remove-chaty-widget-sticky{padding:0;height:32px;line-height:32px;top:292px!important}.ml-auto{display:none}.mobile-message{display:block}.mobile-button{display:block;margin:10px 0 0 0;float:right}.icon:not(.active):hover:after,.icon:not(.active):hover:before{opacity:0;pointer-events:auto}.icon:not(.active):hover .color-element,.main .channels-icons>.icon:not(.active):hover .color-element{fill:#bdbdbd}.icon:not(.active) .color-element,.main .channels-icons>.icon:not(.active) .color-element{fill:#bdbdbd}.container{padding-left:6px}.btn-save-sticky{font-size:10px;width:32px;height:65px;padding:10px 0 7px;text-align:center}.btn-save-sticky svg{width:25px;margin:0 auto}.btn-save-sticky span{font-size:10px;line-height:10px;height:10px}}@media screen and (max-width:480px){.btn-red,.btn-white{font-size:12px;width:180px;text-align:center}.btn-red svg{width:12px;vertical-align:middle}span.expired-message{color:#a00000;font-size:13px;display:block;padding:0 0 10px 0}a.renew-button{float:right}p.plan_date{font-size:14px}}@media screen and (max-width:400px){.btn-red,.btn-white{font-size:10px;width:160px;text-align:center;padding:5px 0}.chaty-help-btn{right:20px;bottom:5px}}
1
+ .btn-help,.btn-help:active,.btn-help:hover,.btn-save,.btn-save-sticky a,.icon:after,i{color:#fff}body,i{-webkit-font-smoothing:antialiased}.main .channels-selected__item .btn-cancel:focus,.main .channels-selected__item.disabled .btn-cancel:focus,.main .channels-selected__item.disabled input:focus,button:focus,input:focus{outline:0}.easy-modal ul,.upgrade-block ul{list-style-image:url(../images/icon-check-purple.svg);columns:2}.btn-red,.link-back{text-decoration:none}.btn-file,.kv-file-content,.preview .page,.switch-preview{overflow:hidden}@font-face{font-family:icomoon;src:url(../fonts/icomoon.ttf?qh3c2u) format('truetype'),url(../fonts/icomoon.woff?qh3c2u) format('woff'),url(../fonts/icomoon.svg?qh3c2u#icomoon) format('svg');font-weight:400;font-style:normal}i{font-family:icomoon;speak:none;font-style:normal;font-weight:400;font-variant:normal;text-transform:none;line-height:1;-moz-osx-font-smoothing:grayscale}.easy-modal__bottom,.plan_date,body,button,input{font-family:Rubik,sans-serif}.icon-chat-base:before{content:"\e901"}.icon-chat-db:before{content:"\e903"}.icon-chat-bubble:before{content:"\e900"}.icon-chat-smile:before{content:"\e904"}.icon-upload:before{content:"\e902"}.icon-phone:before{content:"\f095"}.icon-whatsapp:before{content:"\f232"}*,:after,:before{box-sizing:border-box}input::-webkit-inner-spin-button,input::-webkit-outer-spin-button{appearance:none;-webkit-appearance:none;margin:0}.container,.ml-auto{margin-left:auto}.container{width:100%;padding-right:15px;padding-left:15px;margin-right:auto}.col-12{flex:0 0 100%;max-width:100%}.text-center{text-align:center}.text-primary{color:#a886cd}.align-top{align-self:flex-start}.custom-control{display:inline-block;color:#5d5c5c;margin-bottom:0;cursor:pointer;min-height:22px;line-height:22px;padding-left:20px;position:relative}.custom-control .custom-control-input{position:absolute;z-index:-1;opacity:0}.custom-control .custom-control-input.js-upload:disabled~.custom-control-label:before{background:rgba(0,0,0,.1)}.custom-control .custom-control-input:disabled~i{opacity:.5}.custom-control+.custom-control{margin-left:16px}.custom-control.custom-checkbox .custom-control-label{position:static}.custom-control.custom-checkbox .custom-control-label:before{content:'';transition:all .2s;position:absolute;top:3px;left:0;display:block;width:15px;height:15px;line-height:15px;text-align:center;background-color:#fff;-webkit-box-shadow:0 0 15px 0 #eaeaea;-moz-box-shadow:0 0 15px 0 #eaeaea;box-shadow:0 0 15px 0 #eaeaea;border-radius:3px;background-position:center;background-repeat:no-repeat;background-size:15px}.color-picker-btn,.custom-control.custom-radio .custom-control-label::before{-webkit-box-shadow:0 0 15px 0 #eaeaea;-moz-box-shadow:0 0 15px 0 #eaeaea}.custom-control.custom-checkbox .custom-control-label::after{display:none}.custom-control.custom-checkbox .custom-control-input:checked~.custom-control-label:before{background-image:url(../images/icon-check.svg);background-color:transparent}.custom-control.custom-radio{padding-left:27px}.custom-control.custom-radio .custom-control-label{position:static}.custom-control.custom-radio .custom-control-label:before{content:'';transition:all .2s;position:absolute;top:0;left:0;display:block;width:22px;height:22px;background-color:#fff;-webkit-box-shadow:0 0 15px 0 #eaeaea;-moz-box-shadow:0 0 15px 0 #eaeaea;box-shadow:0 0 15px 0 #eaeaea;border-radius:50%;border:5px solid #fff}.custom-control.custom-radio .custom-control-label:after{display:none}.custom-control.custom-radio .custom-control-input:checked~.custom-control-label:before{background:#a886cd}.custom-control.custom-radio+label:before{display:none}.position-pro{background:rgba(168,134,205,.1);border-radius:4px;display:flex;padding:6px 0;transition:all .2s;margin-top:11px;flex-wrap:wrap}.position-pro>div{flex:0 0 auto;padding:6px 15px}.position-pro>div>label:first-child{display:block;margin-bottom:10px}.position-pro>div .custom-control-group{background:#fff;box-shadow:0 4px 14px rgba(0,0,0,.15);border-radius:5px;display:flex;align-items:center;width:150px;height:34px}.position-pro>div .custom-control-group .custom-control{width:75px;padding:0;margin:0!important}.position-pro>div .custom-control-group .custom-control .custom-control-label{width:100%;color:#e0e0e0;height:34px;display:flex;align-items:center;padding:6px 7px}.position-pro>div .custom-control-group .custom-control .custom-control-label:before{content:none}.position-pro>div .custom-control-group .custom-control .custom-control-input:checked+.custom-control-label{color:#a886cd;box-shadow:inset 0 3px 7px rgba(0,0,0,.08)}.position-pro>div .custom-control-group .custom-control .custom-control-input:checked+.custom-control-label path{fill:#a886cd}.icon:not(.active):not(:hover) .color-element,.main .channels-icons>.icon:not(.active):not(:hover) .color-element{fill:#bdbdbd}.icon:not(.active):not(:hover) .slack-path,.main .channels-icons>.icon:not(.active):not(:hover) .slack-path{fill:#fff!important}.position-pro>div .custom-control-group .custom-control:first-child .custom-control-label{border-radius:5px 0 0 5px;text-align:left}.position-pro>div .custom-control-group .custom-control:first-child .custom-control-label svg{margin-right:5px}.position-pro>div .custom-control-group .custom-control:last-child .custom-control-label{border-radius:0 5px 5px 0;display:flex;justify-content:flex-end}.position-pro>div .custom-control-group .custom-control:last-child .custom-control-label svg{margin-left:5px}.btn-red,.color-picker-box .color-picker-radio label+label{margin-left:12px}.position-pro input{background:#fff;box-shadow:0 0 10px 2px rgba(0,0,0,.2);-webkit-box-shadow:0 0 10px 2px rgba(0,0,0,.2);-moz-box-shadow:0 0 10px 2px rgba(0,0,0,.2);border-radius:5px;border:0;line-height:24px;padding:5px 7px;width:60px;margin-right:3px}.color-picker-box{background:#fff;box-shadow:0 0 10px 2px rgba(0,0,0,.2);-webkit-box-shadow:0 0 10px 2px rgba(0,0,0,.2);-moz-box-shadow:0 0 10px 2px rgba(0,0,0,.2);border-radius:4px;width:330px;display:none;position:relative}.color-picker-box .color-picker-radio{display:flex;padding:6px 8px 10px;border-bottom:1px solid rgba(130,130,130,.1)}.color-picker-box .color-picker-radio label{border-radius:50%;width:28px;height:28px;position:relative;cursor:pointer;font-size:0}.color-picker-box .color-picker-radio label span{display:block;width:28px;height:28px;vertical-align:top;opacity:0;transition:all .2s;background-position:center;background-repeat:no-repeat;background-image:url(../images/icon-check-white.svg)}.color-picker-box .color-picker-radio label input{position:absolute;z-index:-1;opacity:0}.color-picker-box .color-picker-radio label input:checked+span{opacity:1}.btn-help span,.color-picker-box .color-picker-custom a{margin-left:5px}.color-picker-box .color-picker-custom{padding:10px 8px 16px}.color-picker-box .color-picker-custom>div{display:flex;align-items:center}.color-picker-box .color-picker-custom>div+div{margin-top:10px}.color-picker-box .color-picker-custom .circle{color:#ff6376;background:#fff;border:1px solid #d0d0d0;border-radius:50%;width:28px;height:28px;align-items:center;justify-content:center;display:flex;margin-right:3px;font-size:14px}a,a:focus{color:#a886cd}body,button{font-size:17px;font-family:Rubik,sans-serif}.color-picker-box .color-picker-custom input{background:#fff;box-shadow:0 4px 14px rgba(0,0,0,.15);border-radius:5px;border:0;line-height:24px;padding:5px 7px;height:34px;width:180px}.color-picker-btn{background-color:#fff;-webkit-box-shadow:0 0 15px 0 #eaeaea;-moz-box-shadow:0 0 15px 0 #eaeaea;box-shadow:0 0 15px 0 #eaeaea;border-radius:4px;border:0;padding:6px 8px;line-height:17px}.color-picker-btn .circle{display:inline-block;vertical-align:top;width:15px;height:15px;border-radius:50%;margin:1px 4px 1px 0}.color-picker-btn svg{transition:all .2s;margin-left:8px}.color-picker-btn-close{background-color:transparent;border:0;padding:5px;line-height:17px;position:absolute;right:0;top:0}.color-picker-btn-close svg{transform:rotate(180deg)}.switch{display:flex;align-items:center;margin-bottom:0;position:relative;flex:0 0 auto}.switch input[type=checkbox]{pointer-events:none;opacity:0;position:absolute;top:0;right:0;z-index:-1;width:0;height:0}.switch input[type=checkbox]:checked+.switch__styled{background:#a886cd;-webkit-box-shadow:0 0 15px 0 #eaeaea;-moz-box-shadow:0 0 15px 0 #eaeaea;box-shadow:0 0 15px 0 #eaeaea}.switch input[type=checkbox]:checked+.switch__styled:after{left:40px;background:#fff}.form-group .switch{height:42px}.switch__styled{background:linear-gradient(283.61deg,#f6f6f6 7.4%,#fff 91.67%),#fff;margin:0 8px;display:inline-block;height:34px;width:72px;border-radius:17px;position:relative;transition:all .2s;cursor:pointer;-webkit-box-shadow:0 0 15px 0 #eaeaea;-moz-box-shadow:0 0 15px 0 #eaeaea;box-shadow:0 0 15px 0 #eaeaea;background:#cfbde4}.switch__styled:after{content:'';position:absolute;left:2px;top:2px;height:30px;width:30px;border-radius:50%;background-color:#fff;transition:all .2s;-webkit-box-shadow:0 0 15px 0 #eaeaea inset;-moz-box-shadow:0 0 15px 0 #eaeaea inset;box-shadow:0 0 15px 0 #eaeaea inset}.switch.custom-switch{margin-right:auto;margin-left:30px}.switch.custom-switch .switch__styled{background:linear-gradient(283.61deg,#f6f6f6 7.4%,#fff 91.67%),#fff;box-shadow:0 4px 14px rgba(0,0,0,.15)}body{height:auto;background-image:url(../images/bg.svg);background-position:155px 30px;background-repeat:no-repeat;background-size:calc(100% - 150px) auto;background-attachment:fixed;color:#4f4f4f;padding-bottom:50px;margin:0}button{cursor:pointer}button#collapse-button{font-size:13px}input{font-family:Rubik,sans-serif;font-size:17px}#cht-form input[type=submit]{opacity:0;position:absolute}a:focus{box-shadow:none}::-webkit-input-placeholder{color:#e0e0e0}::-moz-placeholder{color:#e0e0e0}:-ms-input-placeholder{color:#e0e0e0}:-moz-placeholder{color:#e0e0e0}.section{padding:30px 15px;position:relative}.section+.section{border-top:2px solid rgba(130,130,130,.1)}.section.one{max-width:680px}.chaty-text-color{position:relative}.chaty-text-color .wp-picker-holder{position:absolute;z-index:101}.chaty-text-color span.wp-color-result-text{display:none}.section-title{font-family:Oswald,sans-serif;font-size:30px;color:#000;line-height:44px;margin-bottom:30px;font-weight:400;margin-top:0;display:flex}.section-title strong{margin:0 14px 0 0;text-align:right;font-weight:700}.main{background-color:#fff;border-radius:9px;position:relative}.main .channels-icons{display:flex;flex-wrap:wrap;width:540px;margin:0 auto;max-width:100%}.main .channels-icons>.icon{padding:0 6px;margin:0 0;width:60px;height:55px}.main .channels-icons>.icon .color-element{transition:all .2s}.main .channels-icons>.icon:not(.active) svg{cursor:pointer}.main .channels-selected{padding-top:20px;position:relative;min-height:120px}.main .channels-selected__item{display:flex;align-items:center;flex-wrap:wrap;position:relative}.chaty-default-settings{display:flex;align-items:center;flex-wrap:wrap;position:relative;padding-bottom:15px}.channels-selected-list li{display:block;max-width:640px;padding:15px;background:#eff6f6;-webkit-border-radius:10px;-moz-border-radius:10px;border-radius:10px;margin-bottom:15px}li#chaty-social-Poptin{padding:15px 15px 25px 15px}.main .channels-selected__item .icon{margin-right:5px;cursor:pointer;width:50px;border-radius:100%;height:50px;text-align:center;vertical-align:middle}.main .channels-selected__item .icon.inline-message{display:inline-block;vertical-align:middle;width:auto;height:auto;line-height:1}.main .channels-selected__item .icon>i{font-size:30px;line-height:50px}.main .channels-selected__item .btn-cancel{position:absolute;right:-15px;top:-15px;transform:translate(50%,-50%);background:linear-gradient(0deg,#333,#333),linear-gradient(153.18deg,#6371db 7.07%,#ff89c4 90.47%);border-radius:50%;width:22px;height:22px;display:flex;align-items:center;justify-content:center;padding:0;border:0;z-index:1;box-shadow:0 4px 14px rgba(0,0,0,.15);cursor:pointer}.main .channels-selected__item .input-example{font-size:13px;padding-top:0;line-height:14px;color:#444;opacity:.8;position:absolute;left:calc(50px + 16px + 7px);top:50px;max-width:350px}.chaty-settings a{text-decoration:none;display:inline-block;color:#fff;margin-left:15px;height:26px;background:#a785cb;text-align:center;vertical-align:middle;-webkit-border-radius:18px;-moz-border-radius:18px;border-radius:18px;font-size:10px;line-height:26px;padding:0 5px}.move-icon img{width:10px;margin-right:5px;margin-top:8px;cursor:move}.chaty-settings a .dashicons,.chaty-settings a .dashicons-before:before{font-size:16px;line-height:26px;display:inline-block;margin:0;text-align:center}.main .channels-selected__item.disabled .icon{cursor:default}.main .channels-selected__item.disabled .icon .color-element{fill:#e9e9e9}.main .channels-selected__item.disabled input{box-shadow:0 4px 14px rgba(179,179,179,.15);color:#e9e9e9}.main .channels-selected__item.disabled input::-webkit-input-placeholder{color:#e9e9e9}.main .channels-selected__item.disabled input::-moz-placeholder{color:#e9e9e9}.main .channels-selected__item.disabled input:-ms-input-placeholder{color:#e9e9e9}.main .channels-selected__item.disabled input:-moz-placeholder{color:#e9e9e9}.main .channels-selected__item.disabled .btn-cancel{cursor:default;background:linear-gradient(0deg,#cfcfcf,#cfcfcf),linear-gradient(153.18deg,#6371db 7.07%,#ff89c4 90.47%)}.btn-help,.btn-save-sticky,.channels__view,.icon:not(.active) svg{cursor:pointer}.main .channels-selected__item.disabled .input-example{color:#e9e9e9}.main #positionPro{margin-left:-122px}.main .form-horizontal__item{display:flex;flex-wrap:wrap}.main .form-horizontal__item.active+.form-horizontal__item{padding-top:30px}.main .form-horizontal__item:not(.o-channel)+.form-horizontal__item{padding-top:30px}.main .form-horizontal__item-label{flex:0 0 135px;margin:0 14px 0 0;text-align:right;font-weight:700}.header,.main .form-horizontal__item.flex-center{align-items:center}.main .form-horizontal__item>div>input{background:#fff;-webkit-box-shadow:0 0 15px 0 #eaeaea;-moz-box-shadow:0 0 15px 0 #eaeaea;box-shadow:0 0 15px 0 #eaeaea;border-radius:5px;border:0;line-height:24px;padding:5px 7px}.main .form-horizontal__item>div>input.widget-size__input{width:47px;height:34px;text-align:center}.icon{border-radius:50%;vertical-align:top;font-size:0;position:relative}.icon.label-tooltip{font-size:12px;font-weight:400;color:#72777c}.icon:after,.icon:before{position:absolute;opacity:0;pointer-events:none;left:50%}.icon:after{text-align:center;content:"" attr(data-label) "";font-size:11px;top:0;transform:translate(-50%,calc(-100% - 6px));padding:0 20px;line-height:23px;min-width:90px;white-space:nowrap;background-color:#333;box-shadow:0 2px 4px rgba(0,0,0,.15);border-radius:6px;font-style:normal}.icon.label-tooltip:after{width:250px;white-space:normal;line-height:16px;padding:10px}.btn-save:after,.icon:before,.popover:after{content:''}.icon:before{top:-8px;transform:translateX(-50%);height:10px;width:10px;border-width:10px 5px 0;border-style:solid;border-color:#333 transparent transparent}.icon.tooltip-show:after,.icon.tooltip-show:before,.icon:hover:not(.tooltip-show):after,.icon:hover:not(.tooltip-show):before{opacity:1;pointer-events:auto}.chaty-help-form,.disabled{pointer-events:none}.icon .color-element{transition:all .2s}.icon.no-tooltip:after,.icon.no-tooltip:before{content:none!important}.icon.icon-sm svg{width:48px;height:48px}.icon.icon-md svg{width:50px;height:50px;cursor:move}.icon.icon-xs svg{width:30px;height:30px}.preview.mobiel-view .icon.icon-xs svg{width:24px;height:24px}.preview.mobiel-view .social-item-box{margin:0}.preview.mobiel-view .tooltip .tooltiptext{min-height:24px;line-height:24px;height:24px;bottom:3px}.preview.mobiel-view .tooltip .tooltiptext span{height:24px;min-height:24px;line-height:24px}.preview.mobiel-view .chaty-widget .icon:before{top:calc(100% - 17px)}.preview.mobiel-view span.social-tooltip{padding:0 10px}.preview.mobiel-view span.social-tooltip:after{top:6px}.btn-save{border:0;text-transform:uppercase;line-height:24px;font-weight:700;position:relative;max-width:100%;margin-top:40px;height:50px;width:274px;border-radius:25px;padding:14px 15px 12px;background-image:url(../images/rocket.svg);background-color:#ff6624;background-position:left bottom;background-repeat:no-repeat;box-shadow:0 3px 10px 1px rgba(255,90,116,.5)}.btn-save:after{position:absolute;z-index:-1;top:30px;left:50%;transform:translateX(-50%);width:238.1px;height:30.81px;background:linear-gradient(97.71deg,#ff6624 9.04%,#ff6376 91.56%),linear-gradient(104.36deg,#6371db 20.37%,#ff89c4 72.52%);opacity:.77;filter:blur(19px);border-radius:9px}.btn-help,.preview-help-btn,.remove-chaty-widget-sticky{text-align:center;padding-top:10px;position:absolute;background:#03e78b;border-radius:7px 7px 0 0;right:0;top:60px;transform:rotate(-90deg);transform-origin:bottom right;border:0;height:42px;width:102px;text-transform:uppercase;font-weight:700}.btn-help span{display:inline-block;width:27px;height:27px;border:2px solid #fff;border-radius:100%}.preview-help-btn{display:none;color:#fff;text-decoration:none}.btn-save-sticky{padding:10px 0 11px;top:20px;background:#ff6624;right:0;border-radius:7px 0 0 7px;position:absolute;border:0;height:69px;width:42px;text-transform:uppercase;color:#fff;font-weight:700;font-size:11px}.btn-save-sticky span{text-align:center;display:inline-block;margin-bottom:4px;height:15px;line-height:13px}input.channels__input.border-red{border-color:#d00}@media (min-width:1281px){.btn-save-sticky{left:calc(50vw - 480px + 1050px / 12 * 7 + 475px);top:161px;right:auto;border-radius:0 7px 7px 0;position:fixed}body.has-premio-box .btn-save-sticky{top:320px}body.has-premio-box .btn-help{top:455px}html[dir=rtl] .btn-save-sticky{left:calc(50vw - 480px + 1050px / 12 * 7 + 295px)}html[dir=rtl] .btn-help{left:calc(50vw - 480px + 1050px / 12 * 7 + 193px)}}.popover{flex:0 0 auto;background:#fff;border-radius:4px;line-height:33px;padding:0 5px;position:relative;box-shadow:0 1px 14px rgba(156,117,198,.4),0 2px 4px rgba(0,0,0,.15);margin:0 0 20px 0;text-align:center;max-width:635px}.popover:after{position:absolute;top:-7px;left:40px;width:20px;height:7px;background-image:url(../images/arrow.png);background-position:center;background-size:contain;background-repeat:no-repeat;display:none}.easy-modal{display:none;width:515px;max-width:calc(100vw - 30px);box-shadow:0 4px 6px rgba(0,0,0,.15);border-radius:6px;background-color:#fff;top:50%!important;transform:translateY(-50%)}.easy-modal .money-guaranteed svg,.upgrade-block .money-guaranteed svg{width:15px;vertical-align:text-bottom}.easy-modal .money-guaranteed{color:#a886cd;font-size:17px;line-height:24px;margin-bottom:20px}.easy-modal .easy-modal-inner{position:relative;padding:20px 50px}.easy-modal .easy-modal-close{position:absolute;right:0;top:0;padding:7px;line-height:12px;background-color:transparent;border:0}.easy-modal h2{font-family:Rubik;font-weight:700;font-size:27px;margin-bottom:13px;text-align:center;margin-top:0}.easy-modal .udner-title{font-size:17px}.easy-modal .udner-title span{font-size:15px;display:block;color:#bdbdbd}.easy-modal p{text-align:center;margin:0 auto 10px}.easy-modal ul{margin-bottom:17px;line-height:27px;list-style-position:inside;text-align:left}.easy-modal .easy-modal-link{font-size:15px;text-decoration-line:underline;color:#828282;display:inline-block;margin-top:7px}.easy-modal .form-horizontal__item{margin-bottom:50px;justify-content:center;text-align:center}.easy-modal .user-name,.easy-modal .user-role{margin:0;font-size:13px}.easy-modal .form-horizontal__item>div{flex:0 0 auto}.easy-modal .user-name{font-weight:700;color:#828282;text-align:left}.link-back,.link-back:hover{color:#fff}.easy-modal .user-photo{float:left;margin-right:5px}.link-back{display:inline-block;border:1px solid #fff;border-radius:60px;font-size:17px;line-height:20px;text-align:center;padding:7px 46px}.upgrade-wrap{max-width:962px;margin:13px auto}.upgrade-block{background-color:#fff;border-radius:9px;padding:48px 0 67px;margin-top:21px}.upgrade-block .easy-modal-inner{max-width:600px;margin:0 auto;direction:ltr!important}.upgrade-block h2{font-family:Rubik;font-weight:700;font-size:27px;margin-bottom:5px;text-align:center;margin-top:0;line-height:33px}.upgrade-block .udner-title{font-size:17px}.upgrade-block .udner-title span{font-size:15px;display:block;color:#bdbdbd}.form-horizontal__item .chaty-widget .icon,.upgrade-block ul{display:inline-block}.upgrade-block p{text-align:center;margin:0 auto 10px}.upgrade-block ul{margin-bottom:17px;line-height:27px;list-style-position:inside;text-align:left}.upgrade-block .easy-modal-link{font-size:15px;text-decoration-line:underline;color:#828282;display:inline-block;margin-top:7px}.upgrade-block .form-horizontal__item{margin-bottom:50px;justify-content:center;text-align:center}img.payment-img{margin:10px 0}.upgrade-block .form-horizontal__item>div{flex:0 0 auto}.upgrade-block .user-name{font-weight:700;color:#828282;margin:0;text-align:left;font-size:13px}.upgrade-block .user-role{margin:0;font-size:13px}.upgrade-block .user-photo{float:left;margin-right:5px}.upgrade-block .money-guaranteed{color:#a886cd;font-size:12px;line-height:18px;margin-bottom:30px;position:relative;z-index:10;top:-10px}.easy-modal.modal-upgrade{width:560px}.easy-modal.modal-upgrade .easy-modal-inner{padding:20px 0 0}.modal__wrap{padding:0 5px;text-align:center}.form-horizontal__item .chaty-widget{position:static;flex:0 0 250px!important}.form-horizontal__item .chaty-widget .icon svg{width:62px;height:62px}.form-horizontal__item .chaty-widget .icon:after{z-index:10;content:"" attr(data-label) "";font-size:17px;left:0;top:50%;transform:translate(calc(-100% - 6px),-50%);white-space:nowrap;padding:16px 25px;line-height:21px;width:auto;color:#333;background-color:#fff;box-shadow:0 1.93px 7.74px rgba(0,0,0,.15);border-radius:10px}#toplevel_page_chaty-app img,.btn-red:hover,.text_update{color:#fff}.form-horizontal__item .chaty-widget .icon:before{content:'';left:-8px;top:50%;transform:translateY(-50%);height:10px;width:10px;z-index:11;border-width:5px 0 5px 10px;border-style:solid;border-color:transparent transparent transparent #fff}.btn-red,.btn-white{z-index:100;line-height:27px;box-shadow:0 4px 4px rgba(0,0,0,.11);vertical-align:top;position:relative;color:#fff}.btn-red:focus,.btn-red:hover{color:#fff}.form-horizontal__item .chaty-widget.chaty-widget-icons-right .icon:before{right:-8px;left:auto;border-width:5px 10px 5px 0;border-color:transparent #fff transparent transparent}.form-horizontal__item .chaty-widget.chaty-widget-icons-right .icon:after{right:0;left:auto;transform:translate(calc(100% + 6px),-50%)}.header{display:flex;padding:3px 0;margin-bottom:9px}.btn-red,.tooltip{display:inline-block}.btn-white{background-color:transparent;border:1px solid #fff;border-radius:19px;display:inline-block;padding:3px 20px;text-transform:uppercase;font-weight:700;text-decoration:none}.btn-white,.btn-white:focus,.btn-white:hover{color:#fff}.btn-red{border:0;text-transform:uppercase;font-weight:700;background-color:#ff6624;padding:6px 20px 4px;border-radius:19px}.btn-red svg{vertical-align:text-top;margin-left:5px}.btn-red:hover{color:#fff}.text_update{color:#fff;top:2px;position:relative;margin:0;font-size:10px;left:15px}.sticky-wrapper{position:absolute;right:0;top:-370px;width:calc(320px);z-index:99}.tooltip{position:relative}.chaty-widget-icons-left .tooltip .tooltiptext,.chaty-widget-icons-right .tooltip .tooltiptext{white-space:pre-wrap;display:flex;width:250px;min-height:30px;color:#000;text-align:center;padding:0;bottom:0;position:absolute;z-index:35;font-size:12px;line-height:30px}.tooltip .tooltiptext span{background-color:#fff;padding:0 15px;display:inline-block;vertical-align:middle;line-height:30px;height:30px;float:right;margin:0;border-radius:5px}.chaty-widget-icons-left .tooltip .tooltiptext span{float:left}.tooltip:hover .tooltiptext{visibility:visible}.chaty-widget-icons-right .tooltip .tooltiptext{justify-content:center;align-items:center;right:41px}.chaty-widget-icons-right .tooltip .tooltiptext.has-multiline.line-1{height:auto;top:-3px}.chaty-widget-icons-right .tooltip .tooltiptext.has-multiline.line-1 span{height:auto;line-height:16px;padding-top:2px;padding-bottom:2px}.chaty-widget-icons-right .tooltip .tooltiptext.has-multiline.line-2{height:auto;top:-3px}.chaty-widget-icons-right .tooltip .tooltiptext.has-multiline.line-2 span{height:auto;line-height:16px;padding-top:2px;padding-bottom:2px}.mobiel-view .chaty-widget-icons-right .tooltip .tooltiptext{right:35px}.chaty-widget-icons-left .tooltip .tooltiptext{align-items:center;justify-content:center;left:43px;line-height:36px}.mobiel-view .chaty-widget-icons-left .tooltip .tooltiptext{left:37px}.update-nag{display:block!important}.notice,div.error,div.updated{display:none!important}.notice.premio-notice{display:block!important}div#setting-error-settings_updated{display:none!important}.domain__input,.domain__label{max-width:342px;display:block}.domain{background:rgba(168,134,205,.1);border-radius:4px;text-align:left;margin:0 0 10px;padding:10px 20px}.domain__label{font-size:17px;font-weight:700;margin:0 auto 6px}.domain__input{height:34px;background:#fff;box-shadow:0 4px 14px rgba(0,0,0,.15);border-radius:5px;border:none;width:100%;margin:0 auto}.upg{background:0 0;border:none;text-align:center;width:270px;padding:0}.upg img,.upg svg{width:100%}.valid_domain{transition-property:margin-top;transition-delay:.3s;color:red;display:none}.payments{margin-bottom:5px}.easy-modal__bottom{padding:10px 10px 0;text-align:left;font-family:Rubik,sans-serif;color:#828282;position:relative}.easy-modal__bottom .quote{position:absolute;left:65px;top:-4px}.easy-modal__bottom:before{content:'';display:block;position:absolute;left:0;top:0;width:100%;background:rgba(130,130,130,.1);height:2px}.easy-modal__bottom .easy-modal__bottom-p{text-align:left;font-weight:300;position:relative;margin-bottom:10px;font-size:14px;line-height:17px}.easy-modal__bottom .easy-modal__bottom-p p{text-align:left;margin:6px 0 0;line-height:15px}html[dir=rtl] body{background-position:0}html[dir=rtl] input[type=radio]:checked:before{text-indent:-1px}.chaty-new-widget-wrap{border-radius:10px;padding:10px;margin:40px auto 0 auto;background-size:auto 100%;width:100%;max-width:776px;background:#fff url(../images/bg.png) right bottom no-repeat;font-family:Poppins;line-height:20px}.chaty-new-widget-wrap h2{font-style:normal;font-weight:600;font-size:20px;line-height:30px;color:#1e1e1e;margin:15px 0}.chaty-features ul{margin:0;padding:0}.chaty-features ul li{margin:0;width:33.33%;float:left;padding:10px}.chaty-feature{margin:30px 0 0 0;background:#fff;border:1px solid #605dec;box-sizing:border-box;border-radius:4px;padding:30px 15px 10px 15px;min-height:186px;position:relative}.chaty-feature.second{min-height:155px}.feature-title{font-family:Poppins;font-style:normal;font-weight:700;font-size:13px;line-height:18px;color:#1e1e1e}.feature-description{font-family:Poppins;font-style:normal;font-weight:400;font-size:13px;line-height:18px;color:#1e1e1e}a.new-upgrade-button{height:40px;background:#605dec;border-radius:100px;border:solid 1px #605dec;display:inline-block;text-align:center;color:#fff;line-height:40px;margin:10px 0 10px 10px;padding:0 25px;text-decoration:none;text-transform:uppercase}a.new-demo-button{height:40px;color:#605dec;border:solid 1px #605dec;border-radius:100px;display:inline-block;text-align:center;background:#fff;line-height:40px;margin:10px 0 10px 10px;padding:0 25px;text-decoration:none;width:165px}.analytics-popup{display:none}.analytics-overlay{width:100%;height:100%;position:fixed;top:0;left:0;background:rgba(0,0,0,.5);z-index:10001}.analytics-popup-content{position:fixed;top:50%;left:0;right:0;margin:0 auto;z-index:11011;width:auto;max-width:100%;max-height:100%;padding:15px;border-radius:5px;text-align:center;-webkit-transform:translate(0,-50%);transform:translate(0,-50%);height:80vh}.analytics-popup-content .popup-data{position:relative;display:inline-block;height:80vh}.analytics-popup-content .popup-data img{width:auto;max-width:100%;height:auto;max-height:100%}.analytics-popup-content .close-popup{position:absolute;right:-20px;top:-20px}.analytics-popup-content .close-popup a{text-decoration:none;width:20px;height:20px;border-radius:50%;background:#4e4e4e;color:#fff;text-align:center;display:block}.chaty-feature.analytics{min-height:115px}.chaty-feature-top{width:50px;height:50px;border:solid 1px #605dec;border-radius:50%;position:absolute;left:0;right:0;margin:0 auto;top:-25px;background:#fff;z-index:11;padding:10px}.chaty-feature-top img{width:100%;height:auto}.trigger-block{padding:0;background:#f6f3fa;margin-bottom:4px;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;position:relative;flex:calc(100% - 152px);max-width:360px}.chaty-switch{display:inline-block;height:34px;position:relative;padding:0 0 0 60px!important;line-height:24px!important;width:100%!important}.chaty-switch input{display:none}.chaty-slider{background-color:#cfbde4;bottom:0;cursor:pointer;left:0;position:absolute;right:0;top:0;transition:.4s;width:50px;height:24px}.chaty-slider:before{background-color:#fff;bottom:4px;content:"";height:16px;left:4px;position:absolute;transition:.2s;width:16px}.chaty-slider:after{content:"off";color:#fff;display:inline-block;padding:0 0 0 25px;font-size:14px;line-height:24px;position:absolute;left:0;top:0}.trigger-block-input{font-size:14px}.trigger-block-input input{width:50px}input:checked+.chaty-slider{background-color:#a886cd}input:checked+.chaty-slider:before{transform:translateX(26px)}input:checked+.chaty-slider:after{padding:0 0 0 8px;content:"on"}input:disabled+.chaty-slider{background:#e2e2e2}.chaty-slider.round{border-radius:34px}.chaty-slider.round:before{border-radius:50%}.trigger-option-block{padding:10px;border-bottom:solid 1px #eee2ff}.trigger-option-block:last-child{border-bottom:none}.gmt-data{display:none}.chaty-date-time-option:first-child .gmt-data{display:block}.chaty-date-time-option{padding:5px;background:#f6f3fa;margin-bottom:4px;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;position:relative}.chaty-date-time-option.last{margin-bottom:15px}.date-time-content>*{vertical-align:middle;display:inline-block}.day-select{width:25%;display:inline-block;padding-right:5px}.date-time-content input,.date-time-content select{width:100%;height:36px;line-height:36px;padding:0 10px;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px}.day-label{width:50px;padding-right:5px;text-align:right}.day-time{width:10%;padding-right:5px}.day-buttons a{background:#bd2a00;text-align:center;display:inline-block;line-height:36px;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;width:36px;height:36px}.main .form-horizontal__item.hide-show-button{display:none}.main .form-horizontal__item.hide-show-button.active{display:flex}.custom-chaty-image{display:none}.chaty-channels .social-item-box .custom-chaty-image{display:none}.chaty-channels .social-item-box .custom-chaty-image img{width:30px;height:30px;object-fit:cover;border-radius:50%}.chaty-channels .social-item-box.img-active .custom-chaty-image{display:block}.chaty-channels .social-item-box .custom-chaty-image,.chaty-channels .social-item-box .default-chaty-icon{width:30px;height:30px;cursor:pointer}.chaty-channels .social-item-box.img-active .default-chaty-icon{display:none}.social-item-box{display:block;height:30px;margin:0 0 5px 0;position:relative}#iconWidget{cursor:pointer}.chaty-channels{display:none}.chaty-widget.active .chaty-channels,.chaty-widget.hover:hover .chaty-channels{display:block}.preview .page .chaty-widget i.chaty-close-icon,.preview .page .chaty-widget.active.hide-arrow i.chaty-close-icon{display:none!important}.preview .page .chaty-widget.active:not(.has-single):not(.hide-arrow) i.chaty-close-icon,.preview .page .chaty-widget.hover:hover:not(.has-single):not(.hide-arrow) i.chaty-close-icon{display:block!important}.preview .page .chaty-widget.active:not(.has-single) i#iconWidget,.preview .page .chaty-widget.hover:hover:not(.has-single) i#iconWidget{display:none!important}.preview .page .chaty-widget.active:not(.has-single) .tooltiptext{display:none!important}.preview .page .chaty-widget.active:not(.has-single) .icon:before{display:none!important}span.social-tooltip{position:absolute;right:100%;background:#fff;padding:0 10px;color:#4f4f4f;top:0;z-index:1001;font-size:12px;margin:0 10px 0 0;border-radius:5px;display:none}.social-item-box:hover span.social-tooltip{display:block}span.social-tooltip:after{content:"";border-width:5px 0 5px 10px;border-style:solid;border-color:transparent transparent transparent #fff;position:absolute;top:6px;right:-9px}.chaty-widget-icons-left span.social-tooltip{margin:0 0 0 14px;left:100%;right:auto}.chaty-widget-icons-left span.social-tooltip:after{content:"";border-style:solid;border-width:5px 10px 5px 0;border-color:transparent #fff transparent transparent;position:absolute;top:12px;right:100%}.chaty-date-time-option input[readonly]{background:#fff}.upgrade-upload-btn .upgrade-link{display:none!important}.upgrade-upload-btn:hover .upgrade-link{display:block!important}.upgrade-upload-btn:hover .custom-control-label,.upgrade-upload-btn:hover .form-group{opacity:.5;filter:blur(2px);-o-filter:blur(2px);-ms-filter:blur(2px);-moz-filter:blur(2px);-webkit-filter:blur(2px)}.read-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}select.chaty-select:disabled,textarea.test_textarea:disabled{background:#eee;border:solid 1px #ddd;color:#32373c;font-size:14px}.widget-icon__block .custom-control.custom-radio.add-border{border-right:1px solid #fff}.upgrade-upload-btn:hover .custom-control-label,.upgrade-upload-btn:hover .form-group{opacity:.5;filter:blur(2px);-o-filter:blur(2px);-ms-filter:blur(2px);-moz-filter:blur(2px);-webkit-filter:blur(2px)}.widget-icon__wrap a.upgrade-link{display:block;font-size:16px;text-align:center;padding-left:0;position:absolute;bottom:35px;right:0;width:70px;text-decoration:none;text-align:center;left:0;margin:0 auto}.upgrade-upload-btn:hover .upgrade-link{display:block!important}.chaty-option-box{flex:calc(100% - 152px)}.chaty-data-and-time-rules{display:none}.hover.chaty-widget:hover .tooltiptext{display:none!important}.preview .page .hover.chaty-widget:hover .icon:before{display:none!important}span.header-tooltip{position:relative;display:inline-block}span.header-tooltip span.dashicons.dashicons-editor-help{display:inline-block;cursor:pointer}span.header-tooltip-text{display:none;position:absolute;bottom:140%;left:0;width:250px;left:-110px;font-size:12px;font-weight:400;line-height:16px;background:#000;padding:5px;border-radius:5px;color:#fff}span.header-tooltip-text:before{content:"";top:100%;transform:translateX(-50%);height:10px;width:10px;border-width:10px 5px 0;border-style:solid;border-color:#333 transparent transparent;position:absolute;left:0;right:0;margin:0 auto}span.header-tooltip:hover span.header-tooltip-text{display:block}.chaty-animation-pulse{animation:chaty-animation-pulse 1s forwards}.chaty-animation-jump{animation:chaty-animation-jump 1s forwards cubic-bezier(.84,-.54,.31,1.19)}.chaty-animation-waggle{animation:chaty-animation-waggle 1s forwards ease-out}.chaty-animation-sheen{position:relative;overflow:hidden}.chaty-animation-sheen:after{animation:chaty-animation-sheen 1.5s forwards;content:'';position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(to bottom,transparent,rgba(255,255,255,.5) 50%,transparent);transform:rotateZ(60deg) translate(-1em,4em)}.chaty-animation-spin{animation:chaty-animation-spin 1s forwards cubic-bezier(.56,-.35,.22,1.5)}.chaty-animation-fade{animation:chaty-animation-fade 1s forwards}a.upgrade-link{line-height:24px;display:block;padding:10px 10px;text-decoration:none}a.upgrade-link strong{text-decoration:underline}@keyframes chaty-animation-pulse{0%{background-color:orange}25%{background-color:red}50%{background-color:orange}75%{background-color:red}}@keyframes chaty-animation-jump{0%{transform:none}50%{transform:translateY(-.8em)}}@keyframes chaty-animation-waggle{0%{transform:none}50%{transform:rotateZ(-20deg) scale(1.2)}60%{transform:rotateZ(25deg) scale(1.2)}67.5%{transform:rotateZ(-15deg) scale(1.2)}75%{transform:rotateZ(15deg) scale(1.2)}82.5%{transform:rotateZ(-12deg) scale(1.2)}85%{transform:rotateZ(0) scale(1.2)}100%{transform:rotateZ(0) scale(1)}}@keyframes chaty-animation-sheen{100%{transform:rotateZ(60deg) translate(0,-4em)}}@keyframes chaty-animation-spin{50%{transform:rotateZ(-20deg);animation-timing-function:ease}100%{transform:rotateZ(360deg)}}@keyframes chaty-animation-fade{25%{opacity:.25}50%{opacity:1}75%{opacity:.25}100%{opacity:1}}.chaty-animation-shockwave:after{content:"";position:absolute;top:0;left:0;bottom:0;right:0;border-radius:50%;-webkit-animation:chaty-animation-shockwave 1s .65s ease-out infinite;animation:chaty-animation-shockwave 1s .65s ease-out infinite}.chaty-animation-shockwave:before{content:"";position:absolute;top:0;left:0;bottom:0;right:0;border-radius:50%;-webkit-animation:chaty-animation-shockwave 1s .5s ease-out infinite;animation:chaty-animation-shockwave 1s .5s ease-out infinite}@-webkit-keyframes chaty-animation-shockwave{0%{transform:scale(1);box-shadow:0 0 2px rgba(0,0,0,.3),inset 0 0 1px rgba(0,0,0,.3)}95%{box-shadow:0 0 50px transparent,inset 0 0 30px transparent}100%{transform:scale(2.25)}}@keyframes chaty-animation-shockwave{0%{transform:scale(1);box-shadow:0 0 2px rgba(0,0,0,.3),inset 0 0 1px rgba(0,0,0,.3)}95%{box-shadow:0 0 50px transparent,inset 0 0 30px transparent}100%{transform:scale(2.25)}}@keyframes chaty-animation-shockwave{0%{transform:scale(1);box-shadow:0 0 2px rgba(0,0,0,.3),inset 0 0 1px rgba(0,0,0,.3)}95%{box-shadow:0 0 50px transparent,inset 0 0 30px transparent}100%{transform:scale(2.25)}}.chaty-animation-blink{-webkit-animation:chaty-animation-blink 1.33s ease-out infinite;animation:chaty-animation-blink 1.33s ease-out infinite}@-webkit-keyframes chaty-animation-blink{0%{opacity:1}20%{opacity:.5}100%{opacity:1}}@keyframes chaty-animation-blink{0%{opacity:1}20%{opacity:.5}100%{opacity:1}}.chaty-animation-pulse-icon{-webkit-animation:chaty-animation-pulse-icon .4s ease infinite alternate;animation:chaty-animation-pulse-icon .4s ease infinite alternate}@-webkit-keyframes chaty-animation-pulse-icon{0%{transform:scale(1);box-shadow:0 2px 2px rgba(0,0,0,.2);border-radius:50%}100%{transform:scale(1.1);box-shadow:0 2px 2px rgba(0,0,0,.2);border-radius:45%}}@keyframes chaty-animation-pulse-icon{0%{transform:scale(1);border-radius:50%}100%{transform:scale(1.1);border-radius:45%}}@keyframes chaty-animation-pulse{0%{background-color:orange}25%{background-color:red}50%{background-color:orange}75%{background-color:red}}.start-now,.start-now:after{animation-delay:0s}@media (min-width:576px){.container{max-width:540px}}@media (min-width:768px){.container{max-width:720px}.modal__wrap{padding:0}.domain{margin:0 0 10px;padding:20px 60px 26px}}.channels__view{display:inline-block;color:#444;margin-bottom:0;line-height:14px;padding-left:17px;position:relative;font-size:14px;margin-left:10px}.channels__view-check{position:absolute;z-index:-1;opacity:0}.channels__view-check:checked~.channels__view-txt:before{background:#a785cb;color:#fff}.channels__view-check:checked~.channels__view-txt:after{color:#fff;content:"\f147";font-family:dashicons;line-height:1;position:absolute;top:0;left:0}.channels__view-txt:before{content:'';transition:all .2s;position:absolute;top:0;left:0;display:block;width:14px;height:14px;line-height:14px;text-align:center;border:solid 2px #a785cb;-webkit-border-radius:2px;-moz-border-radius:2px;border-radius:2px}.file-input,.widget-icon__block .custom-control.custom-radio .custom-control-label{position:relative}.channels__input{padding:9px 7px;border:0;line-height:24px;background:#fff;box-shadow:0 4px 14px rgba(0,0,0,.15);border-radius:9px;width:291px}.channels__input.transparent{background:0 0;box-shadow:none}.channels__input-box{position:relative;margin-right:5px}.widget-icon__block [class^=icon-]{display:block;border-radius:100%;text-align:center;width:40px;height:40px;line-height:40px;font-size:20px;margin:0 auto 6px}.widget-icon__block [class^=icon-] svg{color:#fff}.widget-icon__block .icon-upload{background:0 0;color:#a886cd}.widget-icon__block .custom-control.custom-radio{text-align:center;margin:0;padding:22px 8px 22px;vertical-align:bottom;text-decoration:none;max-width:70px}label.widget-icon__wrap.has-pro .custom-control.custom-radio{padding:22px 8px 44px}.widget-icon__block .custom-control.custom-radio .custom-control-label:before{transform:translateX(-50%);left:50%}.widget-icon__block .custom-control.custom-radio.add-border{border-right:1px solid #fff}label.widget-icon__wrap.has-free{position:relative}.widget-icon__wrap.has-free .custom-control.custom-radio{text-align:center;margin:0;padding:22px 8px 42px;vertical-align:bottom;text-decoration:none}.widget-icon__wrap.has-pro .custom-control.custom-radio{border:none}.widget-icon__wrap{background:rgba(168,134,205,.1);padding:0;border-radius:4px;flex:none;font-size:0;margin-bottom:25px;position:relative}@media (min-width:768px){.widget-icon__block [class^=icon-]{width:54px;height:54px;font-size:28px;line-height:54px}.widget-icon__block [class^=icon-] svg{width:100%}.widget-icon__block .custom-control.custom-radio:first-child{padding-left:20px;max-width:90px}.widget-icon__block .custom-control.custom-radio:last-child{padding-right:20px}}@media (max-width:767px){.main .form-horizontal__item>.widget-icon__wrap{display:flex;justify-content:space-between}.main .form-horizontal__item>.widget-icon__wrap .custom-control{margin:0;flex:1;text-align:center}}.file-input{width:40px;height:44px;display:block}.file-input input[type=file]{top:0;left:0;min-width:100%;min-height:100%;text-align:right;opacity:0;background:0 0;cursor:pointer;display:block;position:absolute}.btn-file,.form-group,.kv-file-content{position:relative}.form-group:hover :not(.file-input-new) .file-browse{display:block;z-index:10}.file-actions,.file-browse,.file-browse span,.file-drop-zone-title,.file-footer-caption,.file-preview-status{display:none}.form-group:hover :not(.file-input-new) .file-browse .icon-upload{background:rgba(0,0,0,.5)}.kv-file-content{width:40px;height:40px;background:#fff;border-radius:100%;text-align:center;margin:0 auto}.kv-file-content img{width:auto;height:auto;max-width:100%;max-height:100%}.file-preview{position:absolute}.file-preview-thumbnails{width:54px;height:54px;border-radius:100%;position:absolute;left:0;top:0}.file-preview-frame{position:absolute;left:0;top:0;right:0;z-index:10}.file-preview-frame.file-preview-initial{z-index:0}.file-input-new .file-browse{display:block}.file-input-new .file-browse span{display:block;color:#a886cd;text-decoration:underline;position:absolute;bottom:0;left:0;right:0}.file-input-new .file-browse:hover span{text-decoration:none}@media (min-width:768px){.kv-file-content{width:54px;height:54px}.file-input{width:54px;height:60px}}.preview{width:337px;z-index:99;height:373px;margin-right:15px;float:right;z-index:1001}body.has-premio-box .preview{top:320px}.preview.mobiel-view .page{width:202px}.preview.mobiel-view .page .chaty-widget .icon i{width:24px;height:24px;font-size:12px;line-height:24px}.is-sticky .preview{left:calc(50vw - 480px + 960px / 12 * 7 + 140px)}.preview h2{text-align:center;font-weight:700;line-height:normal;font-size:17px;color:#4f4f4f;margin-bottom:5px}.preview .page{background-color:#f2f2f2;box-shadow:0 4px 35px rgba(0,0,0,.05);border-radius:5px;position:relative;height:234px;margin:0 auto}.preview .page .page-header{display:flex;align-items:center;background:#fff;border-radius:5px 5px 0 0;height:16px}.preview .page .page-header .circle{margin-left:9px;width:6px;height:6px;background:linear-gradient(153.19deg,#6371db 7.06%,#ff89c4 90.47%),#ffe663;box-shadow:0 4px 35px rgba(0,0,0,.05);border-radius:50%}.preview .page .page-header svg:last-child{margin-left:auto;margin-top:7px;margin-right:-7px}.preview .page .chaty-widget{position:absolute;left:auto}.preview .page .chaty-widget .icon:after{z-index:10;content:'';font-size:13px;top:13px;white-space:nowrap;padding:0;line-height:0;width:auto;color:#333;background-color:#fff;box-shadow:0 1.93px 7.74px rgba(0,0,0,.15);border-radius:0;right:0;left:auto;transform:translate(calc(100% + 6px),-50%)}.preview .page .chaty-widget .icon:before{content:'';right:-18px;left:auto;top:calc(100% - 20px);height:10px;width:10px;z-index:11;border-style:solid;border-width:5px 10px 5px 0;border-color:transparent #fff transparent transparent}.preview .page .chaty-widget.hide-arrow .icon:before,.preview .page .chaty-widget.hide_arrow .icon:before{display:none}.preview .page .chaty-widget .icon i{width:30px;height:30px;font-size:18px;display:block;border-radius:100%;line-height:30px;text-align:center;overflow:hidden}.preview .page .chaty-widget .icon i.icon-chat-image{background:0 0}.preview .page .chaty-widget .icon i.icon-chat-image img{display:block;background:#a886cd}.preview .page .chaty-widget .icon i svg{fill:#fff;width:100%;height:100%}.preview .page .chaty-widget .icon i img{width:auto;height:auto;max-width:100%;max-height:100%;border-radius:50%}.preview .page .chaty-widget.has-single .icon i#iconWidget{position:relative;overflow:inherit}.mobiel-view .preview .page .chaty-widget .icon i{width:23px;height:23px;font-size:13px;line-height:23px}.preview .page .chaty-widget[style*="left: auto;"] .icon:before{right:auto;left:-8px;border-width:5px 0 5px 10px;border-style:solid;border-color:transparent transparent transparent #fff}.preview .page .chaty-widget[style*="left: auto;"] .icon:after{left:0;right:auto;transform:translate(calc(-100% - 6px),-50%)}.switch-preview{display:flex;width:160px;border-radius:5px;margin:15px auto 0;-webkit-box-shadow:0 0 15px 0 #eaeaea inset;-moz-box-shadow:0 0 15px 0 #eaeaea inset;box-shadow:0 0 15px 0 #eaeaea inset;background:#fff}.easy-modal-open,.switch-preview__input[type=radio],.switch-preview__label input{display:none}.switch-preview__label{flex:1;text-align:center;line-height:30px}.switch-preview__input[type=radio],.switch-preview__label input{display:none}.switch-preview__input[type=radio]:checked+label{background:#a886cd;color:#fff}html[dir=rtl] .preview{right:auto}html[dir=rtl] .is-sticky .preview{left:calc(50vw - 480px + 960px / 12 * 7 + 84px - 175px)}.easy-modal-open{display:none}a.pro-plugin-url{color:#fff;background:#7474d9;display:inline-block;margin-bottom:25px;text-decoration:none;-moz-border-radius:25px;-webkit-border-radius:25px;font-size:24px;border-radius:25px;padding:15px 45px}.test_textarea{-webkit-box-shadow:0 0 15px 0 #eaeaea;-moz-box-shadow:0 0 15px 0 #eaeaea;box-shadow:0 0 15px 0 #eaeaea;border-radius:5px;-webkit-border-radius:5px;-moz-border-radius:5px;padding:10px;height:70px;border:solid 1px #f6f6f6;width:100%;max-width:350px}.license-key{border:1px solid #ccc;background:#fff;width:100%;max-width:350px;margin:10px 0 20px}.license-key .license-key-header{border-bottom:1px solid #ccc;padding:15px 12px;font-weight:600;background:#f9f9f9;color:#23282d}.license-key .license-key-content{padding:15px 12px;background:#fff}.license-key .license-key-content input[type=text]{width:100%;font-size:14px;font-weight:400}.license-key .license-key-footer{border-top:1px solid #ccc;padding:15px 12px;background:#f9f9f9}.license-key .license-key-message{margin:10px 0 0 0;min-height:40px}.license-key .button-secondary{font-weight:400}.testimonial-error-message,.testimonial-success-message{background:#fff;margin:10px 0 0 0;padding:10px 10px 10px 10px;border-left:solid 3px #dd4b39}.testimonial-success-message{border-left:solid 3px #00a65a}.save-testimonial-license-key{text-align:center}.remove-testimonial-license-key{width:128px;text-align:center}.test-error-message{color:#dc3232}.hide-this-table,.lean-overlay{display:none!important}span.expired-message{color:#a00000;font-size:18px}.wrap.wrap-licenses{background:#fff;padding:10px 25px 25px}.chaty-help-btn{position:fixed;right:20px;bottom:20px;z-index:1001}.chaty-help-btn a{display:block;border:3px solid #fff;width:50px;height:50px;-webkit-border-radius:50%;-moz-border-radius:50%;border-radius:50%;position:relative}.chaty-help-btn a img{width:100%;height:auto;display:block;-webkit-border-radius:50%;-moz-border-radius:50%;border-radius:50%}.chaty-help-form{position:fixed;right:85px;border:1px solid #e9edf0;bottom:25px;background:#fff;-webkit-border-radius:10px;-moz-border-radius:10px;border-radius:10px;width:320px;z-index:1001;direction:ltr;opacity:0;transition:.4s;-webkit-transition:.4s;-moz-transition:.4s}.chaty-help-form.active{opacity:1;pointer-events:inherit}.chaty-help-header{background:#f4f4f4;border-bottom:solid 1px #e9edf0;padding:5px 20px;-webkit-border-radius:10px;-moz-border-radius:10px;border-radius:10px 10px 0 0;font-size:16px;text-align:right}.chaty-help-header b{float:left}.chaty-help-content{margin-bottom:10px;padding:20px 20px 10px}.chaty-help-form p{margin:0 0 1em}.chaty-form-field{margin-bottom:10px}.chaty-form-field input,.chaty-form-field textarea{-webkit-border-radius:5px;-moz-border-radius:5px;border-radius:5px;padding:5px;width:100%;box-sizing:border-box;border:1px solid #c5c5c5}.chaty-form-field textarea{height:70px}.chaty-help-button{border:none;padding:8px 0;width:100%;background:#ff6624;color:#fff;border-radius:18px}.chaty-help-form .error-message{font-weight:400;font-size:14px}.chaty-help-form input.input-error,.chaty-help-form textarea.input-error{border-color:#dc3232}.chaty-help-btn span.tooltiptext{position:absolute;background:#000;font-size:12px;color:#fff;top:-35px;width:140%;text-align:center;left:-20%;border-radius:5px;direction:ltr}p.error-p,p.success-p{margin:0;font-size:14px;text-align:center}.chaty-help-btn span.tooltiptext:after{bottom:-9px;content:"";transform:translateX(-50%);height:10px;width:10px;border-width:10px 5px 0;border-style:solid;border-color:#000 transparent transparent;left:50%;position:absolute}p.success-p{color:green}p.error-p{color:#dc3232}html[dir=rtl] .chaty-help-btn{left:20px;right:auto}html[dir=rtl] .chaty-help-form{left:85px;right:auto}#rpt_container{margin-top:24px;width:100%}select.chaty-select,select.form-fonts{width:360px;max-width:100%;border:none;color:#32373c;outline:0;padding:5px 7px;line-height:26px;background-color:#fff;border-radius:5px;height:36px;-webkit-box-shadow:0 0 15px 0 #eaeaea;-moz-box-shadow:0 0 15px 0 #eaeaea;box-shadow:0 0 15px 0 #eaeaea}select.chaty-select:disabled,textarea.test_textarea:disabled{background:#eee;border:solid 1px #ddd;color:#32373c}.icon.label-tooltip{font-size:12px;font-weight:400;color:#72777c;display:inline-block;height:24px!important;width:auto!important}.icon.label-tooltip:after{width:250px;white-space:normal;line-height:16px;padding:10px}p.udner-title strong{font-size:40px;padding-bottom:30px;display:block;color:#b97fcf}.channels-selected-list li{display:block;max-width:640px;padding:15px;background:#eff6f6;-webkit-border-radius:10px;-moz-border-radius:10px;border-radius:10px;margin-bottom:15px}.chaty-settings a{text-decoration:none;display:inline-block;color:#fff;margin-left:15px;height:26px;background:#a785cb;text-align:center;vertical-align:middle;-webkit-border-radius:18px;-moz-border-radius:18px;border-radius:18px;font-size:10px;line-height:26px;padding:0 5px}.chaty-settings a .dashicons,.chaty-settings a .dashicons-before:before{font-size:16px;line-height:26px;display:inline-block;margin:0;text-align:center}.move-icon{display:inline-block;vertical-align:middle}.move-icon img{width:10px;margin-right:5px;margin-top:8px;cursor:move}.chaty-default-settings>*{display:inline-block;vertical-align:middle}.chaty-default-settings{display:flex;align-items:center;flex-wrap:wrap;position:relative;padding-bottom:15px}.chaty-advance-settings{width:100%;border:solid 1px #a785cb;margin:20px 0 0 0;padding:10px;-webkit-border-radius:5px;-moz-border-radius:5px;border-radius:5px;background:#f2f2f2;display:none;min-height:70px;position:relative}.chaty-setting-col>*{display:inline-block;padding:0 0 10px 0;vertical-align:top;line-height:36px}.chaty-setting-col>label{width:170px}.chaty-setting-col .channels__view{margin:0;padding:0}.chaty-setting-col input[type=text],select.channel-select-input{width:300px;height:36px;line-height:36px;padding:0 10px;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;font-family:Rubik,sans-serif;font-size:17px}.sp-replacer.sp-light{padding:0;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;border:none}.chaty-setting-col a.upload-chaty-icon{background:#a886cd;color:#fff;text-decoration:none;line-height:36px;padding:0 10px;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;display:inline-block}.chaty-setting-col a.upload-chaty-icon span{line-height:40px}.chaty-setting-col input[type=text].chaty-color-field{width:40px}.chaty-setting-col input[type=text]:read-only{background:#fff}.chaty-pro-feature{position:absolute;left:0;width:100%;text-align:center;top:0;height:100%;vertical-align:middle;background:rgba(255,255,255,.4);-webkit-border-radius:5px;-moz-border-radius:5px;border-radius:5px;display:none}.chaty-advance-settings:hover .chaty-pro-feature,.chaty-date-time-option:hover .chaty-pro-feature{display:inline-block;width:170px;margin:0 auto;left:0;right:0}.chaty-pro-feature a{text-decoration:none;background:#ff6624;color:#fff;padding:0 10px;line-height:36px;display:inline-block;top:50%;position:absolute;left:0;right:0;width:180px;margin:-20px auto 0;-webkit-border-radius:5px;-moz-border-radius:5px;border-radius:5px}.chaty-pro-feature a:hover{background:#a886cd}a#upload_qr_code{background:#fff;display:inline-block;height:40px;width:40px;text-align:center;line-height:40px;text-decoration:none}a#upload_qr_code span{line-height:36px}.close-btn-set,.cls-btn-settings{opacity:0;visibility:hidden;pointer-events:none}.close-btn-set.active,.cls-btn-settings.active{opacity:1;visibility:visible;pointer-events:auto}.chaty-settings.cls-btn{margin-left:164px}.section2{padding:25px 15px 30px;border-top:2px solid rgba(130,130,130,.1)}#chaty-social-close{display:none}#chaty-social-Facebook_Messenger .chaty-default-settings{padding-bottom:25px}ul#channels-selected-list{margin:0;padding:0}.channels-selected-list li.ui-chaty-state-hl{border:dashed 1px #6972da;min-height:95px}.viber-help{position:absolute;right:43px;bottom:-4px;font-size:12px;color:#665cac;text-decoration:underline;cursor:pointer}.viber-help span.help-text{position:absolute;width:210px;left:-80%;text-align:center;background:#000;padding:5px;color:#fff;font-size:12px;bottom:20px;z-index:101;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;display:none}.viber-help:hover span{display:block}a.create-rule{background:#ff6624;text-decoration:none;padding:5px 20px;color:#fff;-webkit-border-radius:5px;-moz-border-radius:5px;border-radius:5px;display:inline-block}a.create-rule.remove-rules{background:#7e8993;color:#fff;display:inline-block}.chaty-pro-block{position:relative}.chaty-pro-block:hover .chaty-pro-feature{display:inline-block}.chaty-settings.cls-btn span{padding-left:2px}.chaty-page-option{padding:5px;background:#f6f3fa;margin-bottom:15px;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;position:relative}.url-select{width:17%;display:inline-block;padding-right:5px}.url-content>*{vertical-align:middle}.url-option{width:20%;display:inline-block;padding-right:5px}.url-box{width:25%;display:inline-block;padding-right:0;text-align:right}.url-values{width:calc(37% - 46px);display:inline-block;padding-right:5px}.day-buttons,.url-buttons{width:36px;display:inline-block;float:right;padding:0}.url-buttons{padding:2px 0 0 0}span.chaty-url{font-size:12px;line-height:12px}.url-content .remove-chaty{background:#bd2a00;text-align:center;display:block;line-height:36px;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px}.url-content input,.url-content select{width:100%;height:36px;line-height:36px;padding:0 10px;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px}.page-options{position:relative;display:none}.chaty-option-box .page-options:hover .chaty-pro-feature{display:block;width:170px;margin:0 auto;left:0;right:0}.preview{position:fixed;top:190px;width:337px;height:290px;bottom:auto}.preview-section-chaty{position:static;width:352px;height:320px;display:block;vertical-align:baseline;float:right}select.multiple-options{max-width:100%}.updates-form-form{min-height:calc(100vh - 280px)}.popup-form-content{background:#fff;min-height:100px;width:450px;text-align:center;margin-top:50px;border:solid 1px #c1c1c1}.updates-content-buttons button{margin:10px 3px!important;float:left}.updates-content-buttons a span{-webkit-animation:fa-spin .75s infinite linear;animation:fa-spin .75s infinite linear}.updates-content-buttons a:focus,.updates-content-buttons a:hover{color:#fff;background-image:linear-gradient(rgba(0,0,0,.1),rgba(0,0,0,.1))}.updates-content-buttons a:focus{outline:0;box-shadow:0 0 0 2px #fff,0 0 0 4px rgba(50,100,150,.4)}.updates-content-buttons button.form-cancel-btn{float:right!important}.form-submit-btn{background-color:#3085d6}.updates-content-buttons a span{-webkit-animation:fa-spin .75s infinite linear;animation:fa-spin .75s infinite linear}.add-update-folder-title{font-size:20px;line-height:30px;padding:20px 20px 0}.folder-form-input{padding:10px 20px}.folder-form-input input{width:100%;transition:border-color .3s,box-shadow .3s;border:1px solid #d9d9d9;border-radius:.1875em;font-size:1.125em;box-shadow:inset 0 1px 1px rgba(0,0,0,.06);box-sizing:border-box;height:2.625em;margin:1em auto}.updates-content-buttons{background:#c1c1c1;padding:0 20px}.notice.chaty-notice{display:block!important}.preview .h2{padding:40px 0 10px 0;text-align:center;font-weight:700}.pro-features{position:relative;display:inline-flex}.pro-item{position:relative}.pro-button{display:none;position:absolute;width:100%;top:0;left:0;height:100%;line-height:36px;text-align:center}.pro-button a{display:block;line-height:36px}.pro-features:hover .pro-item{opacity:.25;filter:blur(2px);-o-filter:blur(2px);-ms-filter:blur(2px);-moz-filter:blur(2px);-webkit-filter:blur(2px)}.pro-features:hover .pro-button{display:block}.sp-replacer.sp-light{padding:0;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;border:none}.sp-preview{padding:0;margin:0;height:36px;width:36px;border:none;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px}.sp-preview-inner{-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px}.sp-dd{display:none}span.facustom-icon{display:block;width:50px;height:50px;font-size:30px;line-height:50px;-webkit-border-radius:50%;-moz-border-radius:50%;border-radius:50%}span.default-chaty-icon .facustom-icon{display:none}span.default-chaty-icon.has-fa-icon .facustom-icon{display:block}span.default-chaty-icon.has-fa-icon svg{display:none}.preview .page .chaty-widget span.facustom-icon{width:30px;height:30px;line-height:30px;font-size:20px}.preview .page .chaty-widget span.facustom-icon i{line-height:30px;font-size:18px}.preview.mobiel-view .page .chaty-widget span.facustom-icon{width:24px;height:24px;line-height:24px;font-size:12px}.preview.mobiel-view .page .chaty-widget svg{width:24px;height:24px}.preview.mobiel-view .page .chaty-widget span.facustom-icon i{line-height:24px;font-size:14px}.preview.mobiel-view .page .chaty-widget .social-item-box{height:24px;margin:0 0 4px 0}label.custom-control.custom-radio:before{display:none}.channels-selected-list li#chaty-social-Poptin{padding-bottom:30px}.chaty-popup{position:fixed;width:100%;height:100%;top:0;left:0;z-index:100001;background:rgba(0,0,0,.75)}.chaty-popup-box{padding:0;width:600px;max-width:100%;margin:auto;top:50%;position:absolute;left:0;right:0;border-radius:5px;transform:translate(0,-50%);-webkit-transform:translate(0,-50%);-moz-transform:translate(0,-50%);text-align:center;background:#fcfcfc}.chaty-popup-header{padding:15px;font-size:20px;border-bottom:solid 1px #e6e6e6}.chaty-popup-content{background:#fff;padding:15px}.chaty-popup-content iframe{margin:30px 0}.chaty-popup-footer{padding:10px 15px;border-top:solid 1px #e6e6e6}.chaty-popup-footer button{border:solid 1px #00c478;padding:5px 10px;border-radius:4px;background:#00c478;color:#fff}button.btn.btn-default{background:#fff;color:#333;border:solid 1px #333;outline:0;box-shadow:none}.country-option-box{position:relative}.country-option-box:hover .country-list-box{filter:blur(2px);-o-filter:blur(2px);-ms-filter:blur(2px);-moz-filter:blur(2px);-webkit-filter:blur(2px)}.country-option-box:hover .chaty-pro-feature{display:block}.custom-css{-webkit-box-shadow:0 0 15px 0 #eaeaea;-moz-box-shadow:0 0 15px 0 #eaeaea;box-shadow:0 0 15px 0 #eaeaea;border-radius:5px;-webkit-border-radius:5px;-moz-border-radius:5px;padding:10px;height:70px;border:solid 1px #f6f6f6;width:360px;max-width:100%}.close-chaty-popup span{line-height:20px}.close-chaty-popup{margin:0;padding:0;background:0 0;border:none;float:right;background:#000;border-radius:50%;color:#fff;text-align:center;width:24px;height:24px}.css-option-box{width:350px;max-width:100%}.chaty-channel .advanced-settings{display:none;width:100%}.chaty-channel[data-channel=Contact_Us] .advanced-settings.Contact_Us-settings,.chaty-channel[data-channel=Custom_Link] .advanced-settings.Custom_Link-settings,.chaty-channel[data-channel=Custom_Link_3] .advanced-settings.Custom_Link_3-settings,.chaty-channel[data-channel=Custom_Link_4] .advanced-settings.Custom_Link_4-settings,.chaty-channel[data-channel=Custom_Link_5] .advanced-settings.Custom_Link_5-settings,.chaty-channel[data-channel=Email] .advanced-settings.Email-settings,.chaty-channel[data-channel=Link] .advanced-settings.Link-settings,.chaty-channel[data-channel=Linkedin] .advanced-settings.Linkedin-settings,.chaty-channel[data-channel=WeChat] .advanced-settings.WeChat-settings,.chaty-channel[data-channel=Whatsapp] .advanced-settings.Whatsapp-settings{display:block}.preview .page .chaty-widget.horizontal.chaty-widget-icons-left #iconWidget,.preview .page .chaty-widget.horizontal.chaty-widget-icons-left .chaty-close-icon{float:left}.preview .page .chaty-widget.horizontal.chaty-widget-icons-left .chaty-channels{float:right}.chaty-widget.horizontal.chaty-widget-icons-left .social-item-box{margin:0 0 0 5px;vertical-align:bottom}.chaty-widget.horizontal span.social-tooltip{right:auto;left:auto;transform:translate(calc(-50% + 15px),-150%);top:0;margin:0 auto}.chaty-widget.horizontal span.social-tooltip:after{top:100%;left:0;right:0;margin:0 auto;transform:rotate(-90deg);width:10px;height:10px}.chaty-widget.horizontal.chaty-widget-icons-left span.social-tooltip:after{transform:rotate(90deg)}.ui-sortable-handle{touch-action:inherit!important}.chaty-widget.horizontal .social-item-box{display:inline-block;margin:0 5px 0 0;vertical-align:bottom}.chaty-widget.active.horizontal .chaty-channels,.chaty-widget.hover.horizontal:hover .chaty-channels{display:inline-block}.preview .page .chaty-widget.active:not(.has-single) i#iconWidget,.preview .page .chaty-widget.hover:hover:not(.has-single) i#iconWidget{display:none!important}.preview .page .chaty-widget.horizontal.active:not(.has-single):not(.hide-arrow) i.chaty-close-icon,.preview .page .chaty-widget.horizontal.hover:hover:not(.has-single):not(.hide-arrow) i.chaty-close-icon{display:inline-block!important;vertical-align:bottom}.ui-sortable-handle{touch-action:inherit!important}.form-horizontal__item.o-channel{display:none}.form-horizontal__item.o-channel.active{display:flex}.font-section{margin-top:30px}.font-section.active{margin:0}.form-horizontal__item .cht-input{max-width:100%;width:350px}body .form-horizontal__item .cht-input:disabled{background:#eee;border:solid 1px #ddd;color:#32373c;font-size:14px}.form-horizontal__item .sp-replacer.sp-light.sp-disabled .sp-preview-inner{background:#eee!important;border:solid 1px #ddd}.form-horizontal__item .sp-replacer.sp-light{-webkit-box-shadow:0 0 15px 0 #eaeaea;-moz-box-shadow:0 0 15px 0 #eaeaea;box-shadow:0 0 15px 0 #eaeaea}.switch input[type=checkbox]:disabled+.switch__styled{background:#e2e2e2!important}.form-horizontal__item .sp-replacer.sp-light .sp-preview{margin:0}.main .form-horizontal__item.pending-message-items{display:none}.main .form-horizontal__item.pending-message-items.active{display:flex}span.pop-number{position:absolute;top:-6px;right:-6px;font-size:10px;border-radius:50%;line-height:12px;padding:2px;min-width:16px;min-height:16px;text-align:center}.disable-message.label-tooltip.icon{font-size:17px}.cta-action-radio .disable-message{display:inline-block;margin-left:10px}.custom-control.custom-radio .custom-control-input:checked:disabled~.custom-control-label:before{background:#e2e2e2!important}.preview .page .chaty-widget .icon i#iconWidget{position:relative;overflow:inherit}.disable-message.label-tooltip .sp-replacer.sp-light{pointer-events:none}.chaty-popup{display:none}.chaty-popup-outer{position:fixed;width:100%;height:100%;background:rgba(0,0,0,.4);left:0;top:0;z-index:1010}.chaty-popup-inner{position:fixed;height:auto;left:0;top:50%;right:0;margin:0 auto;width:480px;max-width:100%;z-index:1012;-webkit-transform:translate(0,-50%);-moz-transform:translate(0,-50%);transform:translate(0,-50%);font-weight:400}.chaty-popup .chaty-popup-content{position:relative;padding:0;margin:0;top:0;width:100%}.chaty-popup-close{position:absolute;width:20px;height:20px;right:4px;top:4px;z-index:110}.chaty-popup-close a{display:block;width:20px;height:20px;padding:4px;box-sizing:border-box;vertical-align:top;line-height:12px}.chaty-popup-close svg{width:100%;height:100%}.chaty-popup-header{padding:10px;border-bottom:solid 1px #e8e8e8;font-weight:700;text-align:center;font-size:20px}.chaty-popup-body{padding:40px 20px;text-align:center}.chaty-popup-footer{padding:15px 10px;text-align:center;border-top:solid 1px #e8e8e8}.chaty-popup-footer button{border:solid 1px #00c478;padding:5px 10px;border-radius:4px;background:#00c478;color:#fff}.chaty-popup-footer button.btn.btn-default{background:#fff;color:#333;border:solid 1px #333;outline:0;box-shadow:none}.gtm-select{width:27%}.color-setting{width:100%;max-width:500px;padding:30px 0}.color-box{display:flex}.clr-setting{flex:1}.main .single-channel-setting{display:none}.main .single-channel-setting.active{display:flex}.chaty-table{width:100%;margin:10px auto 3px;background:#fff;padding:15px 20px 20px;border-radius:9px;position:relative}.chaty-table table{width:100%;border-collapse:collapse;border-top:1px solid #aeaeae;border-left:1px solid #aeaeae}.chaty-table table thead th{background-color:#44467f;color:#fff;text-align:left;padding:15px 12px;border-right:1px solid #aeaeae;border-bottom:1px solid #605dec}.chaty-table table tbody td{text-align:left;border-right:1px solid #aeaeae;border-bottom:1px solid #aeaeae;padding:15px 12px}.fix-width{width:100px;text-align:center!important}.chaty-actions a{color:#44467f;text-decoration:none;font-weight:400;display:inline-block}.chaty-actions .icon.label-tooltip:after{width:auto}td.chaty-actions{text-align:center!important}.cht-tooltip{display:inline-block;position:relative}.cht-tooltip:after,.cht-tooltip:before{position:absolute;opacity:0;pointer-events:none;left:50%;content:"";color:#fff}.cht-tooltip:before{top:-8px;transform:translateX(-50%);height:10px;width:10px;border-width:10px 5px 0;border-style:solid;border-color:#333 transparent transparent}.cht-tooltip:after{text-align:center;content:"" attr(data-title) "";font-size:11px;top:0;transform:translate(-50%,calc(-100% - 6px));padding:0 20px;line-height:23px;min-width:90px;white-space:nowrap;background-color:#333;box-shadow:0 2px 4px rgba(0,0,0,.15);border-radius:6px}.cht-tooltip:hover:not(.tooltip-show):after,.cht-tooltip:hover:not(.tooltip-show):before{opacity:1;pointer-events:auto}.chaty-table .chaty-switch{display:block;height:24px;position:relative;padding:0 0 0 40px!important;line-height:24px;width:40px!important;margin:0 auto}a.cht-add-new-widget{background-color:#fff;line-height:initial;color:#44467f;font-weight:500;padding:8px 14px;border-radius:25px;border:1px solid #44467f;text-decoration:none;margin:0;display:inline-block}.pull-right{float:right}.chaty-table-header span{display:inline-block;font-size:24px;line-height:38px}.chaty-table-header{padding:0 0 15px 0}@media (min-width:1281px){.btn-help,.remove-chaty-widget-sticky{transform:rotate(90deg);position:fixed;left:calc(50vw - 480px + 1050px / 12 * 7 + 372px);top:306px;right:auto}}@media (min-width:576px){.container{max-width:540px}}@media (min-width:768px){.container{max-width:1070px;width:100%}.modal__wrap{padding:0}.domain{margin:0 0 10px;padding:20px 60px 26px}}.trigger-block span.dashicons.dashicons-editor-help{width:20px;height:24px;line-height:25px;color:#7e8993}.traffic-active,.traffic-options-box.active .traffic-default{display:none}.traffic-options-box.active .traffic-active{display:block}.traffic-custom-rules{padding:5px 10px}.custom-rule-title{font-weight:700;font-size:14px}.custom-traffic-rule>*{display:inline-block;vertical-align:middle;box-sizing:border-box}.custom-traffic-rule>.traffic-option{width:120px;padding:0 5px 0 0}.traffic-action{width:36px}a.remove-traffic-option{background:#bd2a00;text-align:center;display:block;line-height:36px;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px}.traffic-url{width:calc(100% - 165px);padding:0 5px 0 0}.traffic-url input{width:100%}.custom-traffic-rule>.traffic-option select{height:36px;width:100%}.custom-traffic-rule{padding:5px 0;border-bottom:solid 1px #eee2ff}.custom-traffic-rule:last-child{border:none}.custom-traffic-rule:first-child .remove-traffic-option{display:none}.traffic-rule-actions{padding:5px 10px 8px;border-top:solid 1px #eee2ff}.chaty-setting-col>div>*{display:inline-block;padding:0 10px 0 0;vertical-align:middle}.chaty-setting-col>div>.chaty-setting-textarea{width:310px;max-width:100%;height:100px;padding:5px}.chaty-setting-col>div>.channels__view{padding:0;margin:0}span.icon.label-tooltip.support-tooltip{display:inline-block;margin:0;padding:0 3px;width:auto;font-style:italic;height:auto}.chaty-setting-col>label{width:170px}.chaty-setting-col>label.full-width{width:100%}.chaty-setting-col .wp-color-result-text{display:none}.whatsapp-welcome-message{display:none;background:rgba(168,134,205,.1);padding:15px 15px 10px 15px;border-radius:10px;border:solid 1px #e1c4ff;width:100%}.whatsapp-welcome-message.active{display:block}.form-field-setting-col{padding:10px;background:#eff6f6;border:solid 1px #d2d2d2;border-radius:5px;margin:0 0 10px 0}.close_form_after-settings,.email-settings,.field-settings,.redirect_action-settings{display:none}.close_form_after-settings.active,.field-settings.active,.redirect_action-settings.active{display:block}.email-settings.active{padding:15px 0 0 0;display:block}.no-margin{margin:0!important}.no-padding{padding:0!important}.left-section{float:left;text-align:left}.right-section{float:right;width:50%;text-align:right}.inline-block{display:inline-block;vertical-align:top}.form-field-title{font-weight:700;padding:0 0 10px 0;font-size:18px}.chaty-separator{margin:0 0 10px 0;height:1px;width:100%;background:#d2d2d2}input[type=search].search-input,select.search-input{height:30px;float:left;width:170px;font-weight:400}.date-range{display:none;padding:5px 0 0 0}.date-range.active{display:block}.lead-search-box{float:right}a#wpappp_export_to_csv{background:#ff6624;display:block;text-align:center;padding:10px 15px;color:#fff;text-decoration:none;border-radius:4px}input#chaty_delete_all_leads{background:#3c3c3c;color:#fff;padding:10px 15px;border:none;border-radius:4px;cursor:pointer}.responstable{border-collapse:collapse;width:100%;border:1px solid #ccd0d4;margin-top:30px;font-size:14px}.responstable td{border:none;padding:8px;font-size:14px}.responstable tr:last-child{border-bottom:1px solid #ccd0d4}.responstable th{text-align:left;background-color:#fff;border-bottom:1px solid #ccd0d4;border-top:1px solid #ccd0d4;color:#32373c;font-weight:400;padding:12px 8px;font-size:14px}.responstable th.text-center{text-align:center;width:80px}.responstable tr:nth-child(even){background-color:#f9f9f9}.remove-record{color:#333;text-decoration:none}a.url{color:#333;text-decoration:none}.no-record-message{margin:100px 0 0;text-align:center;padding:50px;border:solid 1px #d00;background:#ffeaea;color:#d00}.custom-pagination{float:right;margin:25px 0 0 0}.custom-pagination ul{margin:0;padding:0;display:block}.custom-pagination ul li{display:block;float:left;margin:0 0 0 4px}.custom-pagination ul li a,.custom-pagination ul li>span{display:block;padding:2px 10px;text-decoration:none;color:#333;font-size:14px;border-radius:3px;background:#fff;border:solid 1px #e3e3e3}.custom-pagination ul li a .dashicons{font-size:14px;height:14px;width:14px;text-align:center;line-height:22px}.custom-pagination ul li a.next,.custom-pagination ul li a.prev{padding:2px 8px}.custom-pagination ul li>span{background:#f3f5f6}.main .channels-icons>.icon.chat-channel-Contact_Us{width:180px;line-height:48px;text-align:center}.main .channels-icons>.icon.chat-channel-Contact_Us span.icon-box{display:inline-block;height:48px;border-radius:24px;background:#bdbdbd;padding:0 20px 0 0;transition:all .2s;cursor:pointer}.main .channels-icons>.icon.chat-channel-Contact_Us.active span.icon-box,.main .channels-icons>.icon.chat-channel-Contact_Us:hover span.icon-box{background:#253974}.main .channels-icons>.icon.chat-channel-Contact_Us span.icon-box span{display:inline-block;vertical-align:top;font-size:14px;padding:0 0 0 5px;font-family:Rubik,sans-serif;color:#fff}.chaty-new-widget-row.no-records{border:1px solid #605dec;margin:10px;padding:10px;text-align:center;border-radius:5px;color:#1e1e1e;font-weight:400}.no-records-title{font-style:normal;font-weight:600;font-size:20px;line-height:30px;color:#1e1e1e;margin:15px 0;text-align:center}.extra-chaty-settings{padding:10px 0 0 70px}.html-tooltip{position:relative;display:inline-block}.html-tooltip .tooltip-text{visibility:hidden;width:300px;background-color:#333;color:#fff;text-align:center;border-radius:6px;padding:10px;position:absolute;z-index:1201;bottom:125%;left:50%;margin-left:-150px;opacity:0;transition:opacity .3s;font-size:12px;line-height:18px;top:100%;height:454px}.html-tooltip.no-position .tooltip-text{height:auto}.html-tooltip .tooltip-text:after{content:"";position:absolute;top:-10px;left:50%;margin-left:-5px;border-width:5px;border-style:solid;border-color:#333 transparent transparent transparent;transform:rotate(180deg);-webkit-transform:rotate(180deg)}.html-tooltip:hover .tooltip-text{visibility:visible;opacity:1}.html-tooltip .tooltip-text img{width:100%;height:auto;display:block;margin:10px 0 0 0}.html-tooltip.top .tooltip-text{top:auto;bottom:100%}.html-tooltip.top .tooltip-text:after{top:100%;transform:rotate(0);-webkit-transform:rotate(0)}.html-tooltip.side .tooltip-text{bottom:125%;left:100%;margin-left:0;top:5px;transform:translateY(-50%);-webkit-transform:translateY(-50%)}.html-tooltip.side .tooltip-text:after{top:50%;left:-5px;transform:rotate(180deg);-webkit-transform:rotate(90deg)}.html-tooltip.side .tooltip-text.hide-arrow:after{display:none}body .full-width{width:100%;display:block;padding:0 0 5px 0;line-height:24px}.chaty-setting-textarea{width:100%;height:100px;border-radius:0;border:solid 1px #dadce3}.popover .upgrade-link.active{animation:shake .82s cubic-bezier(.36,.07,.19,.97) both;transform:translate3d(0,0,0);backface-visibility:hidden;perspective:1000px}.date-schedule{padding:10px;background:#f6f3fa;margin-bottom:4px;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;position:relative;flex:calc(100% - 152px);max-width:350px}.date-time-box input[type=text]{width:100%}.date-schedule label{display:block;font-size:16px;padding:0 0 2px 0}.date-time-box{padding-top:8px}.date-select-option{width:49%;float:left}.time-select-option{width:49%;float:right}#date-schedule.active .date-schedule-button,.date-schedule-box{display:none}#date-schedule.active .date-schedule-box{display:block}a#remove-date-rule{margin-top:5px}.chaty-popup-input input{width:100%;margin:10px 0 0 0;width:calc(100% - 36px)}#wpwrap{position:inherit}#wpfooter{display:none}button#delete-widget-btn{background:red;border-color:red}.chaty-setting-col>div span.supported-tags{display:flex;font-size:12px;line-height:1.4}.select2-box{width:100%;height:36px}.date-schedule{position:relative}.date-schedule:hover .chaty-pro-feature{display:block}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}.chaty-updates-form{width:768px;padding:70px 40px;box-shadow:0 20px 25px rgb(0 0 0 / 10%),0 10px 10px rgb(0 0 0 / 4%);display:flex;margin:100px auto 0;font-family:Rubik,sans-serif}.update-title{font-style:normal;font-weight:500;font-size:26px;line-height:150%;align-items:center;color:#334155}.updates-form-form-left{padding:50px 20px 50px 0}.updates-form-form-right p{font-style:normal;font-weight:400;font-size:14px;line-height:150%;position:relative;padding:0 0 20px 0;color:#475569;margin:40px 0}.updates-form-form-right p:after{content:"";border:1px solid #3c85f7;position:absolute;bottom:5px;left:0;width:90px}.updates-form{display:flex}.update-form-input{position:relative}.update-form-input input{width:320px;background:#f4f4f5;border:1px solid #f4f4f5;box-sizing:border-box;border-radius:4px;height:40px;line-height:40px;padding:0 50px 0 40px;font-size:13px;box-sizing:border-box;color:#334155}.update-form-input .form-submit-btn{background:#3c85f7;border-radius:4px;border:none;color:#fff;font-style:normal;font-weight:500;font-size:13px;line-height:150%;height:34px;padding:0 10px;position:absolute;right:3px;top:3px}.updates-form .form-cancel-btn.no{margin:0 0 0 3px;background:0 0;border:none;color:#64748b;font-size:13px;line-height:40px;padding:0 0 0 5px}.updates-form .form-cancel-btn.no:hover{color:#334155}.mail-icon{position:absolute;top:8px;left:10px}.update-notice{margin:50px 0 0 0;font-size:12px;padding:0 110px 0 0;line-height:150%;color:#64748b}@keyframes shake{10%,90%{transform:translate3d(-1px,0,0)}20%,80%{transform:translate3d(2px,0,0)}30%,50%,70%{transform:translate3d(-4px,0,0)}40%,60%{transform:translate3d(4px,0,0)}}@media (min-width:768px){.widget-icon__block [class^=icon-]{width:54px;height:54px;font-size:28px;line-height:54px}.widget-icon__block [class^=icon-] svg{width:100%}.widget-icon__block .custom-control.custom-radio:first-child{padding-left:20px;max-width:90px}.widget-icon__block .custom-control.custom-radio:last-child{padding-right:20px}}@media (max-width:767px){.main .form-horizontal__item>.widget-icon__wrap{display:flex;justify-content:space-between}.main .form-horizontal__item>.widget-icon__wrap .custom-control{margin:0;flex:1;text-align:center}}@media (min-width:768px){.kv-file-content{width:54px;height:54px}.file-input{width:54px;height:60px}}.chaty-checkbox{position:relative;line-height:36px}.chaty-checkbox>span{position:relative;border:solid 2px #a785cb;display:inline-block;width:16px;height:16px;border-radius:2px;vertical-align:middle}.chaty-checkbox input:checked+span{background:#a785cb}.chaty-checkbox input:checked+span:before{color:#fff;content:"\f147";font-family:dashicons;line-height:1;position:absolute;top:-2px;left:-3px;display:block}.icon.label-tooltip.inline-tooltip{display:inline-block;width:24px;padding:0;margin:0;height:24px;vertical-align:middle;line-height:34px}html[dir=rtl] .iti--container{margin-left:503px}.toast-message{position:fixed;right:-110%;top:50px;-webkit-box-shadow:0 3px 6px -4px rgb(0 0 0 / 12%),0 6px 16px 0 rgb(0 0 0 / 8%),0 9px 28px 8px rgb(0 0 0 / 5%);box-shadow:0 3px 6px -4px rgb(0 0 0 / 12%),0 6px 16px 0 rgb(0 0 0 / 8%),0 9px 28px 8px rgb(0 0 0 / 5%);background:#fff;padding:10px 20px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;border-left:solid 4px #0c3;transition:all .5s linear;z-index:10001}.toast-message.active{right:20px}html[dir=rtl] .toast-message{left:-110%;right:auto}html[dir=rtl] .toast-message.active{left:20px}.toast-message-title{margin-bottom:8px;color:rgba(0,0,0,.85);font-size:16px;line-height:24px}.toast-close-btn{position:absolute;right:10px;top:14px;width:16px;height:16px}.toast-close-btn a{display:block;position:relative}.toast-close-btn a:after,.toast-close-btn a:before{content:"";position:absolute;width:12px;height:2px;background-color:#000;display:block;border-radius:2px;transform:rotate(45deg);top:7px;left:2px}.toast-close-btn a:after{transform:rotate(-45deg)}.toast-message-body{font-size:14px;color:rgba(0,0,0,.8)}@media screen and (max-width:1280px){.preview{top:180px}.chaty-sticky-buttons{position:fixed;right:0;top:179px;z-index:601}.preview-section-chaty{display:none;z-index:1001;position:fixed;left:0;right:0;margin:0 auto}.preview-section-chaty.active,.preview-section-overlay.active{display:block}.preview-section-overlay{position:fixed;background:rgba(0,0,0,.6);top:0;left:0;width:100%;height:100vh;z-index:999;display:none;float:none;width:100%}.preview-help-btn{display:block;top:177px!important;background:#a785cb;padding:0;line-height:42px;height:42px;width:110px}a.remove-chaty-widget-sticky{top:302px!important}.preview-help-btn:focus,.preview-help-btn:hover{color:#fff}.preview{position:relative;top:0!important;margin:0 auto!important;left:0;right:0;float:none}.preview.mobiel-view .page{width:202px;height:300px}.btn-save-sticky{top:20px!important;position:absolute}.btn-help{top:60px!important;position:absolute}}@media screen and (max-width:1180px){.section.one{max-width:inherit}.main .channels-icons{max-width:600px;text-align:center;margin:0;width:100%}.main .channels-icons>.icon{display:inline-block;vertical-align:middle;text-align:center;float:none;margin:0;padding:2px 4px 0;width:58px;height:58px}.container{max-width:1180px;padding:0 20px 0 10px}.chaty-settings.cls-btn{margin-left:137px}.chaty-settings.cls-btn span{padding-left:0}}@media screen and (max-width:960px){.chaty-default-settings>*{display:inline-block;vertical-align:middle}.chaty-default-settings .move-icon{width:15px}.channels-selected__item .icon span.custom-chaty-image,.channels-selected__item .icon span.custom-chaty-image img{width:40px;height:40px}.chaty-default-settings .icon{width:40px}.chaty-default-settings .channels__device-box{width:135px}.chaty-default-settings .channels__device-box .channels__view{margin:0}.chaty-settings{width:94px;text-align:center}.chaty-default-settings .icon.icon-md svg,.main .channels-selected__item .icon{width:40px;height:40px;cursor:move}.chaty-default-settings{display:block;width:100%;padding-bottom:0}.chaty-default-settings .channels__input-box input{width:100%}.chaty-default-settings .channels__input-box{width:calc(100% - 310px)}.viber-help{top:50px;bottom:auto}.day-buttons{width:calc(100% - 71% - 102px)}.url-values{width:calc(37% - 52px)}body{background:#af7dd0 url(../images/bg.svg) no-repeat}.modal-dialog.modal-lg{display:none}}@media screen and (max-width:830px){.chaty-features ul li{width:100%;text-align:center}.demo-buttons{text-align:center}.chaty-feature,.chaty-feature.analytics,.chaty-feature.second{min-height:inherit}.chaty-updates-form{display:block;width:92%;margin:100px 4% 0}.updates-form-form-left{width:100%;text-align:center;padding:0 0 20px 0}.updates-form{display:block}.update-form-input,.update-form-input input{width:100%}.update-form-skip-button{text-align:center}.updates-form .form-cancel-btn.no{padding:0;margin:0}.update-notice{padding:0}}@media screen and (max-width:680px){#wpbody-content{padding-right:10px}.date-option{width:100%;margin:0;padding:0 0 10px 0}.custom-search-box{max-width:100%}.chaty-default-settings>*{display:inline-block;vertical-align:top}.section-title{font-size:20px;margin:0 0 15px 0}.chaty-default-settings .channels__input-box{width:calc(100% - 75px)}.viber-help{position:relative;top:auto;left:auto;right:auto;padding:5px 0 0 0;width:100%}.chaty-default-settings .channels__device-box{width:calc(100% - 102px);text-align:left;padding:10px 0 0 0}.chaty-settings{padding:10px 0 0 0}.help-section{display:block;width:100%;text-align:left}.extra-chaty-settings{padding:10px 0 0}.chaty-setting-col input[type=number],.chaty-setting-col input[type=text],select.channel-select-input{width:100%}.chaty-default-settings .channels__device-box .channels__view{margin:0 15px 0 0}.chaty-setting-col>*{display:block}.main .form-horizontal__item-label{display:block;width:100%;flex:auto;text-align:left;padding:0 0 5px 0}button.chaty-input-button,select.chaty-select,select.form-fonts{width:100%}.country-option-box{width:100%}.form-horizontal__item>div{display:block;width:100%}.day-select{width:100%;padding-bottom:10px}.chaty-date-time-option .day-time{width:calc(50% - 78px);padding-bottom:0}.chaty-date-time-option .day-buttons{width:36px;padding-bottom:0}.chaty-date-time-option .time-data{display:none}.chaty-date-time-option.first .time-data{display:inline-block}.chaty-date-time-option.first .day-time{width:calc(50% - 58px);padding-bottom:10px}.chaty-date-time-option.first .day-buttons{width:calc(50% - 7px);vertical-align:top}.url-content>*{float:left}.url-box,.url-option,.url-select{width:50%;word-break:break-all;padding:0 2px}.url-values{width:calc(50% - 36px)}.url-box,.url-buttons,.url-values{padding-top:5px}.url-values{padding-left:2px}.url-buttons{padding-right:2px}.chaty-cls-setting .chaty-default-settings .channels__input-box{width:calc(100% - 108px)}.chaty-cls-setting .chaty-settings.cls-btn{margin-left:0;padding:0}.chaty-cls-setting .input-example{display:none}.chaty-cls-setting .input-example.active{display:block;position:relative;top:4px}.css-option-box,.custom-css{width:100%}.main .channels-selected__item .input-example{left:0;top:40px;position:static;width:100%;text-align:left;margin-top:10px}.viber-help span.help-text{left:-40px}.form-horizontal__item span.header-tooltip-text{width:210px;left:-10px}.form-horizontal__item span.header-tooltip-text:before{left:20px;right:auto}.main #positionPro{margin-left:0}}@media screen and (max-width:600px){.url-content>*{width:100%;padding:0 0 5px 0;text-align:left}.url-content>.url-buttons{padding:0}a.remove-chaty-widget-sticky{top:290px}.pro-features{position:relative;display:block}.chaty-setting-col .pro-features.upload-image{display:inline-block}.btn-red,.btn-white{font-size:14px;margin:2px 0;float:right}.update-nag{display:none!important}.chaty-new-widget-row{display:block}.chaty-new-widget-left{width:100%;float:none}.chaty-new-widget-right{width:100%;float:none;padding:20px 0 0 0}.chaty-new-widget-left img{max-width:100%}.chaty-new-widget-wrap{margin:40px 10px 0 0}.btn-save-sticky{top:70px}.btn-help{top:113px;height:32px;line-height:34px;padding:0;display:inline-block;vertical-align:middle;width:100px}.btn-help span{width:18px;height:18px;line-height:18px;font-size:11px}.preview-help-btn{top:172px!important;line-height:32px;height:32px;width:110px}a.remove-chaty-widget-sticky{padding:0;height:32px;line-height:32px;top:292px!important}.ml-auto{display:none}.mobile-message{display:block}header.header{display:block}.mobile-button{display:block;margin:10px 0 0 0;float:right}.icon:not(.active):hover:after,.icon:not(.active):hover:before{opacity:0;pointer-events:auto}.icon:not(.active):hover .color-element,.main .channels-icons>.icon:not(.active):hover .color-element{fill:#bdbdbd}.icon:not(.active) .color-element,.main .channels-icons>.icon:not(.active) .color-element{fill:#bdbdbd}.container{padding-left:6px}.btn-save-sticky{font-size:10px;width:32px;height:65px;padding:10px 0 7px;text-align:center}.btn-save-sticky svg{width:25px;margin:0 auto}.btn-save-sticky span{font-size:10px;line-height:10px;height:10px}}@media screen and (max-width:480px){.btn-red,.btn-white{font-size:12px;width:180px;text-align:center}.btn-red svg{width:12px;vertical-align:middle}span.expired-message{color:#a00000;font-size:13px;display:block;padding:0 0 10px 0}a.renew-button{float:right}p.plan_date{font-size:14px}}@media screen and (max-width:400px){.btn-red,.btn-white{font-size:10px;width:160px;text-align:center;padding:5px 0}.chaty-help-btn{right:20px;bottom:5px}}
admin/assets/css/datepicker.min.css ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
1
+ /*! jQuery UI - v1.12.1 - 2019-08-06
2
+ * http://jqueryui.com
3
+ * Includes: core.css, datepicker.css, theme.css
4
+ * To view and modify this theme, visit http://jqueryui.com/themeroller/?scope=&folderName=base&cornerRadiusShadow=8px&offsetLeftShadow=0px&offsetTopShadow=0px&thicknessShadow=5px&opacityShadow=30&bgImgOpacityShadow=0&bgTextureShadow=flat&bgColorShadow=666666&opacityOverlay=30&bgImgOpacityOverlay=0&bgTextureOverlay=flat&bgColorOverlay=aaaaaa&iconColorError=cc0000&fcError=5f3f3f&borderColorError=f1a899&bgTextureError=flat&bgColorError=fddfdf&iconColorHighlight=777620&fcHighlight=777620&borderColorHighlight=dad55e&bgTextureHighlight=flat&bgColorHighlight=fffa90&iconColorActive=ffffff&fcActive=ffffff&borderColorActive=003eff&bgTextureActive=flat&bgColorActive=007fff&iconColorHover=555555&fcHover=2b2b2b&borderColorHover=cccccc&bgTextureHover=flat&bgColorHover=ededed&iconColorDefault=777777&fcDefault=454545&borderColorDefault=c5c5c5&bgTextureDefault=flat&bgColorDefault=f6f6f6&iconColorContent=444444&fcContent=333333&borderColorContent=dddddd&bgTextureContent=flat&bgColorContent=ffffff&iconColorHeader=444444&fcHeader=333333&borderColorHeader=dddddd&bgTextureHeader=flat&bgColorHeader=e9e9e9&cornerRadius=3px&fwDefault=normal&fsDefault=1em&ffDefault=Arial%2CHelvetica%2Csans-serif
5
+ * Copyright jQuery Foundation and other contributors; Licensed MIT */.ui-helper-hidden{display:none}.ui-helper-hidden-accessible{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.ui-helper-reset{margin:0;padding:0;border:0;outline:0;line-height:1.3;text-decoration:none;font-size:100%;list-style:none}.ui-helper-clearfix:after,.ui-helper-clearfix:before{content:"";display:table;border-collapse:collapse}.ui-helper-clearfix:after{clear:both}.ui-helper-zfix{width:100%;height:100%;top:0;left:0;position:absolute;opacity:0;filter:Alpha(Opacity=0)}.ui-front{z-index:100}.ui-state-disabled{cursor:default!important;pointer-events:none}.ui-icon{display:inline-block;vertical-align:middle;margin-top:-.25em;position:relative;text-indent:-99999px;overflow:hidden;background-repeat:no-repeat}.ui-widget-icon-block{left:50%;margin-left:-8px;display:block}.ui-widget-overlay{position:fixed;top:0;left:0;width:100%;height:100%}.ui-datepicker{width:17em;padding:.2em .2em 0;display:none}.ui-datepicker .ui-datepicker-header{position:relative;padding:.2em 0}.ui-datepicker .ui-datepicker-next,.ui-datepicker .ui-datepicker-prev{position:absolute;top:2px;width:1.8em;height:1.8em}.ui-datepicker .ui-datepicker-next-hover,.ui-datepicker .ui-datepicker-prev-hover{top:1px}.ui-datepicker .ui-datepicker-prev{left:2px}.ui-datepicker .ui-datepicker-next{right:2px}.ui-datepicker .ui-datepicker-prev-hover{left:1px}.ui-datepicker .ui-datepicker-next-hover{right:1px}.ui-datepicker .ui-datepicker-next span,.ui-datepicker .ui-datepicker-prev span{display:block;position:absolute;left:50%;margin-left:-8px;top:50%;margin-top:-8px}.ui-datepicker .ui-datepicker-title{margin:0 2.3em;line-height:1.8em;text-align:center}.ui-datepicker .ui-datepicker-title select{font-size:1em;margin:1px 0}.ui-datepicker select.ui-datepicker-month,.ui-datepicker select.ui-datepicker-year{width:45%}.ui-datepicker table{width:100%;font-size:.9em;border-collapse:collapse;margin:0 0 .4em}.ui-datepicker th{padding:.7em .3em;text-align:center;font-weight:700;border:0}.ui-datepicker td{border:0;padding:1px}.ui-datepicker td a,.ui-datepicker td span{display:block;padding:.2em;text-align:right;text-decoration:none}.ui-datepicker .ui-datepicker-buttonpane{background-image:none;margin:.7em 0 0 0;padding:0 .2em;border-left:0;border-right:0;border-bottom:0}.ui-datepicker .ui-datepicker-buttonpane button{float:right;margin:.5em .2em .4em;cursor:pointer;padding:.2em .6em .3em .6em;width:auto;overflow:visible}.ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current{float:left}.ui-datepicker.ui-datepicker-multi{width:auto}.ui-datepicker-multi .ui-datepicker-group{float:left}.ui-datepicker-multi .ui-datepicker-group table{width:95%;margin:0 auto .4em}.ui-datepicker-multi-2 .ui-datepicker-group{width:50%}.ui-datepicker-multi-3 .ui-datepicker-group{width:33.3%}.ui-datepicker-multi-4 .ui-datepicker-group{width:25%}.ui-datepicker-multi .ui-datepicker-group-last .ui-datepicker-header,.ui-datepicker-multi .ui-datepicker-group-middle .ui-datepicker-header{border-left-width:0}.ui-datepicker-multi .ui-datepicker-buttonpane{clear:left}.ui-datepicker-row-break{clear:both;width:100%;font-size:0}.ui-datepicker-rtl{direction:rtl}.ui-datepicker-rtl .ui-datepicker-prev{right:2px;left:auto}.ui-datepicker-rtl .ui-datepicker-next{left:2px;right:auto}.ui-datepicker-rtl .ui-datepicker-prev:hover{right:1px;left:auto}.ui-datepicker-rtl .ui-datepicker-next:hover{left:1px;right:auto}.ui-datepicker-rtl .ui-datepicker-buttonpane{clear:right}.ui-datepicker-rtl .ui-datepicker-buttonpane button{float:left}.ui-datepicker-rtl .ui-datepicker-buttonpane button.ui-datepicker-current,.ui-datepicker-rtl .ui-datepicker-group{float:right}.ui-datepicker-rtl .ui-datepicker-group-last .ui-datepicker-header,.ui-datepicker-rtl .ui-datepicker-group-middle .ui-datepicker-header{border-right-width:0;border-left-width:1px}.ui-datepicker .ui-icon{display:block;text-indent:-99999px;overflow:hidden;background-repeat:no-repeat;left:.5em;top:.3em}.ui-widget{font-family:Arial,Helvetica,sans-serif;font-size:1em}.ui-widget .ui-widget{font-size:1em}.ui-widget button,.ui-widget input,.ui-widget select,.ui-widget textarea{font-family:Arial,Helvetica,sans-serif;font-size:1em}.ui-widget.ui-widget-content{border:1px solid #c5c5c5}.ui-widget-content{border:1px solid #ddd;background:#fff;color:#333}.ui-widget-content a{color:#333}.ui-widget-header{border:1px solid #ddd;background:#e9e9e9;color:#333;font-weight:700}.ui-widget-header a{color:#333}.ui-button,.ui-state-default,.ui-widget-content .ui-state-default,.ui-widget-header .ui-state-default,html .ui-button.ui-state-disabled:active,html .ui-button.ui-state-disabled:hover{border:1px solid #d8dcdf;background:#eee;font-weight:700;color:#004276}.ui-button,.ui-state-default a,.ui-state-default a:link,.ui-state-default a:visited,a.ui-button,a:link.ui-button,a:visited.ui-button{color:#454545;text-decoration:none}.ui-button:focus,.ui-button:hover,.ui-state-focus,.ui-state-hover,.ui-widget-content .ui-state-focus,.ui-widget-content .ui-state-hover,.ui-widget-header .ui-state-focus,.ui-widget-header .ui-state-hover{border:1px solid #ccc;background:#ededed;font-weight:400;color:#2b2b2b}.ui-state-focus a,.ui-state-focus a:hover,.ui-state-focus a:link,.ui-state-focus a:visited,.ui-state-hover a,.ui-state-hover a:hover,.ui-state-hover a:link,.ui-state-hover a:visited,a.ui-button:focus,a.ui-button:hover{color:#2b2b2b;text-decoration:none}.ui-visual-focus{box-shadow:0 0 3px 1px #5e9ed6}.ui-button.ui-state-active:hover,.ui-button:active,.ui-state-active,.ui-widget-content .ui-state-active,.ui-widget-header .ui-state-active,a.ui-button:active{border:1px solid #003eff;background:#007fff;font-weight:400;color:#fff}.ui-icon-background,.ui-state-active .ui-icon-background{border:#003eff;background-color:#fff}.ui-state-active a,.ui-state-active a:link,.ui-state-active a:visited{color:#fff;text-decoration:none}.ui-state-highlight,.ui-widget-content .ui-state-highlight,.ui-widget-header .ui-state-highlight{border:1px solid #dad55e;background:#fffa90;color:#777620}.ui-state-checked{border:1px solid #dad55e;background:#fffa90}.ui-state-highlight a,.ui-widget-content .ui-state-highlight a,.ui-widget-header .ui-state-highlight a{color:#777620}.ui-state-error,.ui-widget-content .ui-state-error,.ui-widget-header .ui-state-error{border:1px solid #f1a899;background:#fddfdf;color:#5f3f3f}.ui-state-error a,.ui-widget-content .ui-state-error a,.ui-widget-header .ui-state-error a{color:#5f3f3f}.ui-state-error-text,.ui-widget-content .ui-state-error-text,.ui-widget-header .ui-state-error-text{color:#5f3f3f}.ui-priority-primary,.ui-widget-content .ui-priority-primary,.ui-widget-header .ui-priority-primary{font-weight:700}.ui-priority-secondary,.ui-widget-content .ui-priority-secondary,.ui-widget-header .ui-priority-secondary{opacity:.7;filter:Alpha(Opacity=70);font-weight:400}.ui-state-disabled,.ui-widget-content .ui-state-disabled,.ui-widget-header .ui-state-disabled{opacity:.35;filter:Alpha(Opacity=35);background-image:none}.ui-state-disabled .ui-icon{filter:Alpha(Opacity=35)}.ui-datepicker .ui-icon{width:16px;height:16px}.ui-icon,.ui-widget-content .ui-icon{background-image:url(images/ui-icons_444444_256x240.png)}.ui-widget-header .ui-icon{background-image:url(../images/ui-icons_444444_256x240.png)}.ui-button:focus .ui-icon,.ui-button:hover .ui-icon,.ui-state-focus .ui-icon,.ui-state-hover .ui-icon{background-image:url(../images/ui-icons_555555_256x240.png)}.ui-button:active .ui-icon,.ui-state-active .ui-icon{background-image:url(images/ui-icons_ffffff_256x240.png)}.ui-button .ui-state-highlight.ui-icon,.ui-state-highlight .ui-icon{background-image:url(images/ui-icons_777620_256x240.png)}.ui-state-error .ui-icon,.ui-state-error-text .ui-icon{background-image:url(images/ui-icons_cc0000_256x240.png)}.ui-button .ui-icon{background-image:url(images/ui-icons_777777_256x240.png)}.ui-icon-blank{background-position:16px 16px}.ui-icon-caret-1-n{background-position:0 0}.ui-icon-caret-1-ne{background-position:-16px 0}.ui-icon-caret-1-e{background-position:-32px 0}.ui-icon-caret-1-se{background-position:-48px 0}.ui-icon-caret-1-s{background-position:-65px 0}.ui-icon-caret-1-sw{background-position:-80px 0}.ui-icon-caret-1-w{background-position:-96px 0}.ui-icon-caret-1-nw{background-position:-112px 0}.ui-icon-caret-2-n-s{background-position:-128px 0}.ui-icon-caret-2-e-w{background-position:-144px 0}.ui-icon-triangle-1-n{background-position:0 -16px}.ui-icon-triangle-1-ne{background-position:-16px -16px}.ui-icon-triangle-1-e{background-position:-32px -16px}.ui-icon-triangle-1-se{background-position:-48px -16px}.ui-icon-triangle-1-s{background-position:-65px -16px}.ui-icon-triangle-1-sw{background-position:-80px -16px}.ui-icon-triangle-1-w{background-position:-96px -16px}.ui-icon-triangle-1-nw{background-position:-112px -16px}.ui-icon-triangle-2-n-s{background-position:-128px -16px}.ui-icon-triangle-2-e-w{background-position:-144px -16px}.ui-icon-arrow-1-n{background-position:0 -32px}.ui-icon-arrow-1-ne{background-position:-16px -32px}.ui-icon-arrow-1-e{background-position:-32px -32px}.ui-icon-arrow-1-se{background-position:-48px -32px}.ui-icon-arrow-1-s{background-position:-65px -32px}.ui-icon-arrow-1-sw{background-position:-80px -32px}.ui-icon-arrow-1-w{background-position:-96px -32px}.ui-icon-arrow-1-nw{background-position:-112px -32px}.ui-icon-arrow-2-n-s{background-position:-128px -32px}.ui-icon-arrow-2-ne-sw{background-position:-144px -32px}.ui-icon-arrow-2-e-w{background-position:-160px -32px}.ui-icon-arrow-2-se-nw{background-position:-176px -32px}.ui-icon-arrowstop-1-n{background-position:-192px -32px}.ui-icon-arrowstop-1-e{background-position:-208px -32px}.ui-icon-arrowstop-1-s{background-position:-224px -32px}.ui-icon-arrowstop-1-w{background-position:-240px -32px}.ui-icon-arrowthick-1-n{background-position:1px -48px}.ui-icon-arrowthick-1-ne{background-position:-16px -48px}.ui-icon-arrowthick-1-e{background-position:-32px -48px}.ui-icon-arrowthick-1-se{background-position:-48px -48px}.ui-icon-arrowthick-1-s{background-position:-64px -48px}.ui-icon-arrowthick-1-sw{background-position:-80px -48px}.ui-icon-arrowthick-1-w{background-position:-96px -48px}.ui-icon-arrowthick-1-nw{background-position:-112px -48px}.ui-icon-arrowthick-2-n-s{background-position:-128px -48px}.ui-icon-arrowthick-2-ne-sw{background-position:-144px -48px}.ui-icon-arrowthick-2-e-w{background-position:-160px -48px}.ui-icon-arrowthick-2-se-nw{background-position:-176px -48px}.ui-icon-arrowthickstop-1-n{background-position:-192px -48px}.ui-icon-arrowthickstop-1-e{background-position:-208px -48px}.ui-icon-arrowthickstop-1-s{background-position:-224px -48px}.ui-icon-arrowthickstop-1-w{background-position:-240px -48px}.ui-icon-arrowreturnthick-1-w{background-position:0 -64px}.ui-icon-arrowreturnthick-1-n{background-position:-16px -64px}.ui-icon-arrowreturnthick-1-e{background-position:-32px -64px}.ui-icon-arrowreturnthick-1-s{background-position:-48px -64px}.ui-icon-arrowreturn-1-w{background-position:-64px -64px}.ui-icon-arrowreturn-1-n{background-position:-80px -64px}.ui-icon-arrowreturn-1-e{background-position:-96px -64px}.ui-icon-arrowreturn-1-s{background-position:-112px -64px}.ui-icon-arrowrefresh-1-w{background-position:-128px -64px}.ui-icon-arrowrefresh-1-n{background-position:-144px -64px}.ui-icon-arrowrefresh-1-e{background-position:-160px -64px}.ui-icon-arrowrefresh-1-s{background-position:-176px -64px}.ui-icon-arrow-4{background-position:0 -80px}.ui-icon-arrow-4-diag{background-position:-16px -80px}.ui-icon-extlink{background-position:-32px -80px}.ui-icon-newwin{background-position:-48px -80px}.ui-icon-refresh{background-position:-64px -80px}.ui-icon-shuffle{background-position:-80px -80px}.ui-icon-transfer-e-w{background-position:-96px -80px}.ui-icon-transferthick-e-w{background-position:-112px -80px}.ui-icon-folder-collapsed{background-position:0 -96px}.ui-icon-folder-open{background-position:-16px -96px}.ui-icon-document{background-position:-32px -96px}.ui-icon-document-b{background-position:-48px -96px}.ui-icon-note{background-position:-64px -96px}.ui-icon-mail-closed{background-position:-80px -96px}.ui-icon-mail-open{background-position:-96px -96px}.ui-icon-suitcase{background-position:-112px -96px}.ui-icon-comment{background-position:-128px -96px}.ui-icon-person{background-position:-144px -96px}.ui-icon-print{background-position:-160px -96px}.ui-icon-trash{background-position:-176px -96px}.ui-icon-locked{background-position:-192px -96px}.ui-icon-unlocked{background-position:-208px -96px}.ui-icon-bookmark{background-position:-224px -96px}.ui-icon-tag{background-position:-240px -96px}.ui-icon-home{background-position:0 -112px}.ui-icon-flag{background-position:-16px -112px}.ui-icon-calendar{background-position:-32px -112px}.ui-icon-cart{background-position:-48px -112px}.ui-icon-pencil{background-position:-64px -112px}.ui-icon-clock{background-position:-80px -112px}.ui-icon-disk{background-position:-96px -112px}.ui-icon-calculator{background-position:-112px -112px}.ui-icon-zoomin{background-position:-128px -112px}.ui-icon-zoomout{background-position:-144px -112px}.ui-icon-search{background-position:-160px -112px}.ui-icon-wrench{background-position:-176px -112px}.ui-icon-gear{background-position:-192px -112px}.ui-icon-heart{background-position:-208px -112px}.ui-icon-star{background-position:-224px -112px}.ui-icon-link{background-position:-240px -112px}.ui-icon-cancel{background-position:0 -128px}.ui-icon-plus{background-position:-16px -128px}.ui-icon-plusthick{background-position:-32px -128px}.ui-icon-minus{background-position:-48px -128px}.ui-icon-minusthick{background-position:-64px -128px}.ui-icon-close{background-position:-80px -128px}.ui-icon-closethick{background-position:-96px -128px}.ui-icon-key{background-position:-112px -128px}.ui-icon-lightbulb{background-position:-128px -128px}.ui-icon-scissors{background-position:-144px -128px}.ui-icon-clipboard{background-position:-160px -128px}.ui-icon-copy{background-position:-176px -128px}.ui-icon-contact{background-position:-192px -128px}.ui-icon-image{background-position:-208px -128px}.ui-icon-video{background-position:-224px -128px}.ui-icon-script{background-position:-240px -128px}.ui-icon-alert{background-position:0 -144px}.ui-icon-info{background-position:-16px -144px}.ui-icon-notice{background-position:-32px -144px}.ui-icon-help{background-position:-48px -144px}.ui-icon-check{background-position:-64px -144px}.ui-icon-bullet{background-position:-80px -144px}.ui-icon-radio-on{background-position:-96px -144px}.ui-icon-radio-off{background-position:-112px -144px}.ui-icon-pin-w{background-position:-128px -144px}.ui-icon-pin-s{background-position:-144px -144px}.ui-icon-play{background-position:0 -160px}.ui-icon-pause{background-position:-16px -160px}.ui-icon-seek-next{background-position:-32px -160px}.ui-icon-seek-prev{background-position:-48px -160px}.ui-icon-seek-end{background-position:-64px -160px}.ui-icon-seek-start{background-position:-80px -160px}.ui-icon-seek-first{background-position:-80px -160px}.ui-icon-stop{background-position:-96px -160px}.ui-icon-eject{background-position:-112px -160px}.ui-icon-volume-off{background-position:-128px -160px}.ui-icon-volume-on{background-position:-144px -160px}.ui-icon-power{background-position:0 -176px}.ui-icon-signal-diag{background-position:-16px -176px}.ui-icon-signal{background-position:-32px -176px}.ui-icon-battery-0{background-position:-48px -176px}.ui-icon-battery-1{background-position:-64px -176px}.ui-icon-battery-2{background-position:-80px -176px}.ui-icon-battery-3{background-position:-96px -176px}.ui-icon-circle-plus{background-position:0 -192px}.ui-icon-circle-minus{background-position:-16px -192px}.ui-icon-circle-close{background-position:-32px -192px}.ui-icon-circle-triangle-e{background-position:-48px -192px}.ui-icon-circle-triangle-s{background-position:-64px -192px}.ui-icon-circle-triangle-w{background-position:-80px -192px}.ui-icon-circle-triangle-n{background-position:-96px -192px}.ui-icon-circle-arrow-e{background-position:-112px -192px}.ui-icon-circle-arrow-s{background-position:-128px -192px}.ui-icon-circle-arrow-w{background-position:-144px -192px}.ui-icon-circle-arrow-n{background-position:-160px -192px}.ui-icon-circle-zoomin{background-position:-176px -192px}.ui-icon-circle-zoomout{background-position:-192px -192px}.ui-icon-circle-check{background-position:-208px -192px}.ui-icon-circlesmall-plus{background-position:0 -208px}.ui-icon-circlesmall-minus{background-position:-16px -208px}.ui-icon-circlesmall-close{background-position:-32px -208px}.ui-icon-squaresmall-plus{background-position:-48px -208px}.ui-icon-squaresmall-minus{background-position:-64px -208px}.ui-icon-squaresmall-close{background-position:-80px -208px}.ui-icon-grip-dotted-vertical{background-position:0 -224px}.ui-icon-grip-dotted-horizontal{background-position:-16px -224px}.ui-icon-grip-solid-vertical{background-position:-32px -224px}.ui-icon-grip-solid-horizontal{background-position:-48px -224px}.ui-icon-gripsmall-diagonal-se{background-position:-64px -224px}.ui-icon-grip-diagonal-se{background-position:-80px -224px}.ui-corner-all,.ui-corner-left,.ui-corner-tl,.ui-corner-top{border-top-left-radius:3px}.ui-corner-all,.ui-corner-right,.ui-corner-top,.ui-corner-tr{border-top-right-radius:3px}.ui-corner-all,.ui-corner-bl,.ui-corner-bottom,.ui-corner-left{border-bottom-left-radius:3px}.ui-corner-all,.ui-corner-bottom,.ui-corner-br,.ui-corner-right{border-bottom-right-radius:3px}.ui-widget-overlay{background:#aaa;opacity:.3;filter:Alpha(Opacity=30)}.ui-widget-shadow{-webkit-box-shadow:0 0 5px #666;box-shadow:0 0 5px #666}
admin/assets/images/ui-icons_444444_256x240.png ADDED
Binary file
admin/assets/images/ui-icons_555555_256x240.png ADDED
Binary file
admin/assets/js/cht-scripts.js CHANGED
@@ -901,8 +901,13 @@ function check_for_number_chaty(phoneNumber, validationFor) {
901
  preferredFormat: "hex",
902
  showInput: true,
903
  cancelText: "Cancel",
 
904
  move: function (color) {
905
- jQuery(this).val(color.toHexString());
 
 
 
 
906
  chaty_set_bg_color();
907
  }
908
  });
@@ -1394,8 +1399,24 @@ function check_for_number_chaty(phoneNumber, validationFor) {
1394
  };
1395
  });
1396
 
 
 
 
 
 
 
 
 
 
 
 
1397
  jQuery(document).ready(function () {
1398
 
 
 
 
 
 
1399
  jQuery(document).on("click", ".chaty-popup-box button, #chaty-intro-popup", function(e){
1400
  e.stopPropagation();
1401
  var nonceVal = jQuery("#chaty_update_popup_status").val();
@@ -1621,10 +1642,19 @@ jQuery(document).ready(function () {
1621
  preferredFormat: "hex",
1622
  cancelText: "Cancel",
1623
  showInput: true,
 
1624
  move: function (color) {
1625
  jQuery(this).val(color.toHexString());
 
 
 
 
 
 
1626
  chaty_set_bg_color();
1627
- change_custom_preview();
 
 
1628
  }
1629
  });
1630
  jQuery(".chaty-color-field").on("change", function () {
@@ -1738,7 +1768,7 @@ jQuery(document).ready(function () {
1738
  jQuery('.chaty-google-font').remove();
1739
  if (font_val != "") {
1740
  if(jQuery('.form-fonts option:selected').data("group") != "Default") {
1741
- jQuery('head').append('<link href="https://fonts.googleapis.com/css?family=' + font_val + ':400,600,700" rel="stylesheet" type="text/css" class="chaty-google-font">');
1742
  }
1743
  jQuery('.preview-section-chaty #admin-preview .page-body').css('font-family', font_val);
1744
  } else {
@@ -1760,7 +1790,7 @@ jQuery(window).on("load", function() {
1760
  jQuery('.chaty-google-font').remove();
1761
  if (font_val != "") {
1762
  if(jQuery('.form-fonts option:selected').data("group") != "Default") {
1763
- jQuery('head').append('<link href="https://fonts.googleapis.com/css?family=' + font_val + ':400,600,700" rel="stylesheet" type="text/css" class="chaty-google-font">');
1764
  }
1765
  jQuery('.preview-section-chaty #admin-preview .page-body').css('font-family', font_val);
1766
  }
901
  preferredFormat: "hex",
902
  showInput: true,
903
  cancelText: "Cancel",
904
+ showAlpha: true,
905
  move: function (color) {
906
+ jQuery(this).val(color.toRgbString());
907
+ //chaty_set_bg_color();
908
+ },
909
+ change: function (color) {
910
+ jQuery(this).val(color.toRgbString());
911
  chaty_set_bg_color();
912
  }
913
  });
1399
  };
1400
  });
1401
 
1402
+ jQuery(window).on("load", function(){
1403
+ if(jQuery("#setting-error-settings_updated").length) {
1404
+ jQuery(".toast-message").show();
1405
+ jQuery(".toast-message").addClass("active");
1406
+
1407
+ setTimeout(function(){
1408
+ jQuery(".toast-message").removeClass("active");
1409
+ }, 5000);
1410
+ }
1411
+ });
1412
+
1413
  jQuery(document).ready(function () {
1414
 
1415
+ jQuery(document).on("click", ".toast-close-btn a", function(e){
1416
+ e.preventDefault();
1417
+ jQuery(".toast-message").removeClass("active");
1418
+ });
1419
+
1420
  jQuery(document).on("click", ".chaty-popup-box button, #chaty-intro-popup", function(e){
1421
  e.stopPropagation();
1422
  var nonceVal = jQuery("#chaty_update_popup_status").val();
1642
  preferredFormat: "hex",
1643
  cancelText: "Cancel",
1644
  showInput: true,
1645
+ showAlpha: true,
1646
  move: function (color) {
1647
  jQuery(this).val(color.toHexString());
1648
+ jQuery("#cta-box span").css("color", jQuery("#cht_cta_text_color").val());
1649
+ jQuery("#cta-box span").css("background", jQuery("#cht_cta_bg_color").val());
1650
+ jQuery("#custom-css").html("<style>.preview .page .chaty-widget .icon:before {border-color: transparent "+jQuery('#cht_cta_bg_color').val()+" transparent transparent } .preview .page .chaty-widget[style*='left: auto;'] .icon:before {border-color: transparent transparent transparent "+jQuery('#cht_cta_bg_color').val()+"}</style>");
1651
+ },
1652
+ change: function (color) {
1653
+ jQuery(this).val(color.toRgbString());
1654
  chaty_set_bg_color();
1655
+ jQuery("#cta-box span").css("color", jQuery("#cht_cta_text_color").val());
1656
+ jQuery("#cta-box span").css("background", jQuery("#cht_cta_bg_color").val());
1657
+ jQuery("#custom-css").html("<style>.preview .page .chaty-widget .icon:before {border-color: transparent "+jQuery('#cht_cta_bg_color').val()+" transparent transparent } .preview .page .chaty-widget[style*='left: auto;'] .icon:before {border-color: transparent transparent transparent "+jQuery('#cht_cta_bg_color').val()+"}</style>");
1658
  }
1659
  });
1660
  jQuery(".chaty-color-field").on("change", function () {
1768
  jQuery('.chaty-google-font').remove();
1769
  if (font_val != "") {
1770
  if(jQuery('.form-fonts option:selected').data("group") != "Default") {
1771
+ //jQuery('head').append('<link href="https://fonts.googleapis.com/css?family=' + font_val + ':400,600,700" rel="stylesheet" type="text/css" class="chaty-google-font">');
1772
  }
1773
  jQuery('.preview-section-chaty #admin-preview .page-body').css('font-family', font_val);
1774
  } else {
1790
  jQuery('.chaty-google-font').remove();
1791
  if (font_val != "") {
1792
  if(jQuery('.form-fonts option:selected').data("group") != "Default") {
1793
+ //jQuery('head').append('<link href="https://fonts.googleapis.com/css?family=' + font_val + ':400,600,700" rel="stylesheet" type="text/css" class="chaty-google-font">');
1794
  }
1795
  jQuery('.preview-section-chaty #admin-preview .page-body').css('font-family', font_val);
1796
  }
admin/assets/js/cht-scripts.min.js CHANGED
@@ -1 +1 @@
1
- function check_for_number_chaty(e,t){return!(""==e||("+"==e[0]&&(e=e.substr(1,e.length)),"Phone"==t&&"*"==e[0]&&(e=e.substr(1,e.length)),!isNaN(e)))}function check_for_preview_pos(){if(jQuery(".chaty-setting-form").length)if(jQuery(window).width()>1179){var e=parseInt(jQuery(".chaty-setting-form").offset().top);jQuery(".btn-save-sticky, .chaty-sticky-buttons").css("top",e+58),jQuery(".preview").css("top",e+18),jQuery(".btn-help").css("top",e+58+145),jQuery("a.remove-chaty-widget-sticky").css("top",e+58+145+119)}else jQuery(".btn-save-sticky, .chaty-sticky-buttons").attr("style",""),jQuery(".preview").attr("style",""),jQuery(".btn-help").attr("style",""),jQuery("a.remove-chaty-widget-sticky").attr("style","");if(jQuery("#scroll-to-item").length&&jQuery("#admin-preview").length&&((e=jQuery("body").hasClass("has-premio-box")?jQuery("#scroll-to-item").offset().top-jQuery(window).scrollTop()-625:jQuery("#scroll-to-item").offset().top-jQuery(window).scrollTop()-485)<0?(e=Math.abs(e),jQuery("#admin-preview").css("margin-top",-1*e+"px")):jQuery("#admin-preview").css("margin-top","0")),jQuery(window).height()<=1180){var t=285;jQuery(window).width()<=600&&(t=310),jQuery(".chaty-sticky-buttons").css("top",jQuery(window).height()/2-t/2+"px")}jQuery(".html-tooltip:not(.no-position)").length&&jQuery(".html-tooltip:not(.no-position)").each(function(){jQuery(this).offset().top-jQuery(window).scrollTop()>540?(jQuery(this).addClass("top").removeClass("side").removeClass("bottom"),jQuery(this).find(".tooltip-text").attr("style",""),jQuery(this).find(".tooltip-text").removeClass("hide-arrow")):jQuery(window).height()-(jQuery(this).offset().top-jQuery(window).scrollTop())>460?(jQuery(this).addClass("bottom").removeClass("top").removeClass("side"),jQuery(this).find(".tooltip-text").attr("style",""),jQuery(this).find(".tooltip-text").removeClass("hide-arrow")):(jQuery(this).addClass("side").removeClass("top").removeClass("bottom"),jQuery(this).find(".tooltip-text").length&&(jQuery(this).find(".tooltip-text").attr("style",""),jQuery(this).find(".tooltip-text").removeClass("hide-arrow"),jQuery(this).find(".tooltip-text").offset().top-jQuery(window).scrollTop()-50<0?(jQuery(this).find(".tooltip-text").css("margin-top",Math.abs(jQuery(this).find(".tooltip-text").offset().top-jQuery(window).scrollTop()-50)+"px"),jQuery(this).find(".tooltip-text").addClass("hide-arrow")):(jQuery(this).find(".tooltip-text").attr("style",""),jQuery(this).find(".tooltip-text").offset().top+parseInt(jQuery(this).find(".tooltip-text").outerHeight())-jQuery(window).scrollTop()-jQuery(window).height()>0&&(jQuery(this).find(".tooltip-text").css("margin-top",-1*Math.abs(jQuery(this).find(".tooltip-text").offset().top+parseInt(jQuery(this).find(".tooltip-text").outerHeight())-jQuery(window).scrollTop()-jQuery(window).height())-10+"px"),jQuery(this).find(".tooltip-text").addClass("hide-arrow")))))})}jQuery(function(e){"use strict";var t=!1,a=!1,o=!1,c=!1,i=!1,n=!1,s=!1;function r(){if(e(".chaty-popup").hide(),0==e("#cht-form .js-chanel-desktop").length||0==e("#cht-form .js-chanel-mobile").length)return e("#no-device-popup").show(),!1;if(0==e("#cht-form .js-chanel-desktop:checked").length&&0==e("#cht-form .js-chanel-mobile:checked").length)return e("#device-popup").show(),!1;var t=0;return e("#channels-selected-list > li:not(#chaty-social-close)").find(".channels__input").each(function(){""==jQuery.trim(e(this).val())&&t++}),t!=e("#channels-selected-list > li:not(#chaty-social-close)").find(".channels__input").length||e("#chaty-social-Contact_Us").length?l():(e("#no-device-value").show(),!1)}function l(){return e(".chaty-popup").hide(),e("#trigger_on_time").is(":checked")||e("#chaty_trigger_on_exit").is(":checked")||e("#chaty_trigger_on_scroll").is(":checked")?u():(e("#trigger-popup").show(),!1)}function u(){return e(".chaty-popup").hide(),e(".cht_active").is(":checked")?(t=!0,e("#cht-form").trigger("submit"),!0):(e("#status-popup").show(),!1)}function h(){if(a){if(o){if(c){if(i){if(n)s||(s=!0,e("#channels-selected-list .phone-number").length&&e("#channels-selected-list .phone-number").each(function(){if(""!=jQuery.trim(e(this).val())&&jQuery.trim(e(this).val()).length>13)return e("#custom-message-popup .chaty-popup-header").text(e(this).data("label")+" number is not valid"),e("#custom-message-popup .chaty-popup-body").text("Seems like the "+e(this).data("label")+" number you're trying to enter isn't valid. Would you like to publish it anyway?"),e("#custom-message-popup").show(),!1}));else if(n=!0,e("#cht-form #Viber").length&&""!=e("#cht-form #Viber").val()){t=jQuery.trim(e("#cht-form #Viber").val());if(check_for_number_chaty(t,"Viber"))return e("#custom-message-popup .chaty-popup-header").text("Viber number is not valid"),e("#custom-message-popup .chaty-popup-body").text("Seems like the Viber number you're trying to enter isn't in the right syntax. Would you like to publish it anyway?"),e("#custom-message-popup").show(),!1}}else if(i=!0,e("#cht-form #SMS").length&&""!=e("#cht-form #SMS").val()){t=jQuery.trim(e("#cht-form #SMS").val());if(check_for_number_chaty(t,"SMS"))return e("#custom-message-popup .chaty-popup-header").text("SMS number is not valid"),e("#custom-message-popup .chaty-popup-body").text("Seems like the SMS number you're trying to enter isn't in the right syntax. Would you like to publish it anyway?"),e("#custom-message-popup").show(),!1}}else if(c=!0,e("#cht-form #Facebook_Messenger").length&&""!=e("#cht-form #Facebook_Messenger").val()){var t=jQuery.trim(e("#Facebook_Messenger").val());if(e("#cht-form #Facebook_Messenger").val(t),!/(?:http:\/\/)?facebook\.com\/(?:(?:\w)*#!\/)?(?:pages\/)?(?:[\w\-]*\/)*([\w\-]*)/.test(t)&&!/(?:http:\/\/)?m\.me\/(?:(?:\w)*#!\/)?(?:pages\/)?(?:[\w\-]*\/)*([\w\-]*)/.test(t))return e("#custom-message-popup .chaty-popup-header").text("Facebook page's URL is not valid"),e("#custom-message-popup .chaty-popup-body").text("Please make sure your Facebook page's URL looks like, <br/>https://m.me/YOURPAGE"),e("#custom-message-popup").show(),!1}}else if(o=!0,e("#cht-form #Phone").length&&""!=e("#cht-form #Phone").val()){var t=jQuery.trim(e("#cht-form #Phone").val());if(check_for_number_chaty(t,"Phone"))return e("#custom-message-popup .chaty-popup-header").text("Phone number is not valid"),e("#custom-message-popup .chaty-popup-body").text("Seems like the phone number you're trying to enter isn't in the right syntax. Would you like to publish it anyway?"),e("#custom-message-popup").show(),!1}}else{a=!0;if(e("#cht-form #Whatsapp").length&&""!=e("#cht-form #Whatsapp").val()){var t=jQuery.trim(e("#cht-form #Whatsapp").val());if(check_for_number_chaty(t,"Whatsapp"))return e("#custom-message-popup .chaty-popup-header").text("Whatsapp number is not valid"),e("#custom-message-popup .chaty-popup-body").text("Seems like the WhatsApp number you're trying to enter isn't in the right syntax. Would you like to publish it anyway?"),e("#custom-message-popup").show(),!1}}return r()}e(document).ready(function(){jQuery(document).on("click","#update-chaty-traffic-source-rule",function(e){jQuery(".traffic-options-box").addClass("active"),jQuery("#chaty_traffic_source").val("yes")}),jQuery(document).on("click","#remove-traffic-rules",function(e){jQuery(".traffic-options-box").removeClass("active"),jQuery("#chaty_traffic_source").val("no")}),jQuery(document).on("click",".remove-traffic-option",function(e){jQuery(this).closest(".custom-traffic-rule").remove()}),e(document).on("click",".chaty-switch-toggle",function(){setTimeout(function(){e(".chaty-field-setting").each(function(){e(this).is(":checked")?e(this).closest(".field-setting-col").find(".field-settings").addClass("active"):e(this).closest(".field-setting-col").find(".field-settings").removeClass("active")})},100)}),e(document).on("change",".chaty-close_form_after-setting",function(){setTimeout(function(){e(".chaty-close_form_after-setting").each(function(){e(this).is(":checked")?e(this).closest(".form-field-setting-col").find(".close_form_after-settings").addClass("active"):e(this).closest(".form-field-setting-col").find(".close_form_after-settings").removeClass("active")})},100)}),e("#channel_input_Whatsapp").length&&(cht_settings.channel_settings.Whatsapp=document.querySelector("#channel_input_Whatsapp"),window.intlTelInput(cht_settings.channel_settings.Whatsapp,{dropdownContainer:document.body,formatOnDisplay:!0,hiddenInput:"full_number",initialCountry:"auto",nationalMode:!1,utilsScript:cht_settings.plugin_url+"admin/assets/js/utils.js"})),e(".custom-channel-Whatsapp:not(#channel_input_Whatsapp)").length&&e(".custom-channel-Whatsapp:not(#channel_input_Whatsapp)").each(function(){var t=e(this).closest("li.chaty-channel").data("id");null!=t&&e("#channel_input_"+t).length&&(cht_settings.channel_settings[t]=document.querySelector("#channel_input_"+t),window.intlTelInput(cht_settings.channel_settings[t],{dropdownContainer:document.body,formatOnDisplay:!0,hiddenInput:"full_number",initialCountry:"auto",nationalMode:!1,utilsScript:cht_settings.plugin_url+"admin/assets/js/utils.js"}))}),e(document).on("change",".chaty-redirect-setting",function(){setTimeout(function(){e(".chaty-redirect-setting").each(function(){e(this).is(":checked")?e(this).closest(".form-field-setting-col").find(".redirect_action-settings").addClass("active"):e(this).closest(".form-field-setting-col").find(".redirect_action-settings").removeClass("active")})},100)}),e(document).on("click",".email-setting",function(){setTimeout(function(){e(".email-setting-field").each(function(){e(this).is(":checked")?e(this).closest(".form-field-setting-col").find(".email-settings").addClass("active"):e(this).closest(".form-field-setting-col").find(".email-settings").removeClass("active")})},100)}),e(document).on("click",".chaty-embedded-window",function(){setTimeout(function(){e(".embedded_window-checkbox").each(function(){e(this).is(":checked")?e(this).closest("li.chaty-channel").find(".whatsapp-welcome-message").addClass("active"):e(this).closest("li.chaty-channel").find(".whatsapp-welcome-message").removeClass("active")})},300)}),e(document).on("change","#cht-form input",function(){a=!1,o=!1,c=!1,i=!1,n=!1,s=!1}),e("#cht-form").on("submit",function(){if(t)return!0;set_social_channel_order();var a=0;return e("#chaty-page-options .cht-required").length&&e("#chaty-page-options .cht-required").each(function(){""==jQuery.trim(e(this).val())&&(e(this).addClass("cht-input-error"),a++)}),e(".chaty-data-and-time-rules .cht-required").length&&e(".chaty-data-and-time-rules .cht-required").each(function(){""==jQuery.trim(e(this).val())&&(e(this).addClass("cht-input-error"),a++)}),0==a?h():(e(".cht-input-error:first").focus(),!1)}),e(".close-chaty-popup-btn").on("click",function(t){t.stopPropagation(),e(".chaty-popup").hide(),e(this).hasClass("channel-setting-btn")?e("body, html").animate({scrollTop:e("#channel-list").offset().top-125},250):e(this).hasClass("select-trigger-btn")?e("body, html").animate({scrollTop:e("#trigger-setting").offset().top-50},250):e(this).hasClass("change-status-btn")&&e("body, html").animate({scrollTop:e("#launch-section").offset().top-100},250)}),e(".chaty-popup-inner").on("click",function(e){e.stopPropagation()}),e(".chaty-popup-outer").on("click",function(t){e(".chaty-popup").hide()}),e(".check-for-numbers").on("click",function(){h()}),e(".check-for-device").on("click",function(){r()}),e(".check-for-triggers").on("click",function(){l()}),e(".check-for-status").on("click",function(){u()}),e(".change-status-and-save").on("click",function(){e(".cht_active").prop("checked",!0),t=!0,e(".chaty-popup").hide(),e("#cht-form").trigger("submit")}),e(".status-and-save").on("click",function(){e(".cht_active").prop("checked",!1),t=!0,e(".chaty-popup").hide(),e("#cht-form").trigger("submit")}),e(document).on("click",".preview-section-chaty",function(e){e.stopPropagation()}),e(document).on("click",".preview-section-overlay",function(){e(".preview-help-btn").removeClass("active"),e(".preview-section-chaty").removeClass("active"),e(".preview-section-overlay").removeClass("active")}),e(document).on("click",".preview-help-btn",function(t){return t.preventDefault(),e(this).hasClass("active")?(e(this).removeClass("active"),e(".preview-section-chaty").removeClass("active"),e(".preview-section-overlay").removeClass("active")):(e(this).addClass("active"),e(".preview-section-chaty").addClass("active"),e(".preview-section-overlay").addClass("active")),!1}),jQuery(document).on("click","#create-date-rule",function(e){jQuery("#date-schedule").addClass("active"),jQuery("#cht_date_rules").val("yes")}),jQuery(document).on("click","#remove-date-rule",function(e){jQuery("#date-schedule").removeClass("active"),jQuery("#cht_date_rules").val("no")})})}),function(e){jQuery(window).on("popstate",function(e){window.onbeforeunload=null,window.history&&window.history.pushState&&window.history.back()}),jQuery(document).ready(function(){jQuery(".chaty-table").length||jQuery("body input, body .icon, body textarea, body .btn-cancel:not(.close-btn-set) ").on("click",function(e){window.onbeforeunload=function(e){(e=e||window.event).preventDefault=!0,e.cancelBubble=!0,e.returnValue="Your beautiful goodbye message"}}),jQuery(document).on("submit","form",function(e){window.onbeforeunload=null}),jQuery(document).on("change",".channel-select-input",function(t){var a=e(this).closest("li").attr("data-id");jQuery.ajax({type:"POST",url:ajaxurl,dataType:"json",data:{social:jQuery(this).val(),channel:a,action:"get_chaty_settings"},success:function(t){1==t.status&&("Whatsapp"==t.data.slug?e("#channel_input_"+t.channel).length&&(cht_settings.channel_settings[t.channel]=document.querySelector("#channel_input_"+t.channel),window.intlTelInput(cht_settings.channel_settings[t.channel],{dropdownContainer:document.body,formatOnDisplay:!0,hiddenInput:"full_number",initialCountry:"auto",nationalMode:!1,utilsScript:cht_settings.plugin_url+"admin/assets/js/utils.js"})):e("#chaty-social-"+t.channel+" .channels__input-box").html("<input type='text' class='channels__input' name='cht_social_"+t.channel+"[value]' id='channel_input_"+t.channel+"' />"),jQuery(".custom-icon-"+t.channel+" svg").html(t.data.svg),jQuery("#chaty-social-"+t.channel).attr("data-channel",t.data.slug),jQuery("#chaty-social-"+t.channel).find(".sp-preview-inner").css("background-color",t.data.color),jQuery("#chaty-social-"+t.channel).find(".chaty-color-field").val(t.data.color),jQuery("#chaty-social-"+t.channel).find(".channels__input").attr("placeholder",t.data.placeholder),jQuery("#chaty-social-"+t.channel).find(".channel-example").text(t.data.example),jQuery("#chaty-social-"+t.channel).find(".chaty-title").val(t.data.title),jQuery("#chaty-social-"+t.channel).find(".icon").attr("data-title",t.data.title),jQuery("#chaty-social-"+t.channel).find(".chaty-color-field").trigger("change"),jQuery(".help-section").html(""),""!=t.data.help_link?jQuery(".help-section").html('<div class="viber-help"><a target="_blank" href="'+t.data.help_link+'">'+t.data.help_title+"</a></div>"):""!=t.data.help_text&&jQuery(".help-section").html('<div class="viber-help"><span class="help-text">'+t.data.help_text+'</span><span class="help-title">'+t.data.help_title+"</span></div>"))}})}),jQuery(document).on("click","#chaty_icons_view",function(e){jQuery(".page-body .chaty-widget").removeClass("vertical").removeClass("horizontal"),jQuery(".page-body .chaty-widget").addClass(jQuery(this).val())}),jQuery(".upg").on("click",function(e){jQuery(".valid_domain_input").val(jQuery(".valid_domain_input").val().replace(" ","")),/^(http(s)?:\/\/)?(www\.)?[a-z0-9]+([\-\.]{1}[a-z0-9]+)*\.[a-z]{2,5}(:[0-9]{1,5})?(\/.*)?$/.test(jQuery(".valid_domain_input").val())||(e.preventDefault(),jQuery(".valid_domain").fadeIn().css({display:"block"}))}),jQuery(".del_token").on("click",function(t){e.ajax({type:"POST",url:ajaxurl,data:{action:"del_token",nonce_code:cht_nonce_ajax.cht_nonce},success:function(e){location.reload()},error:function(e,t,a){}})}),jQuery(document).on("blur","#channels-selected-list > li:not(#chaty-social-close) .channels__input",function(){jQuery(this).hasClass("border-red")&&""!=jQuery(this).val()&&jQuery(this).removeClass("border-red")});var t=1000000003;jQuery(".show_up").on("click",function(){t+=10,jQuery("#upgrade-modal").css({"z-index":t,display:"block","margin-left":"-258px"})}),jQuery(".color-picker-btn, .color-picker-btn-close, .color-picker-custom button").on("click",function(e){e.preventDefault(),jQuery(".color-picker-box").toggle(),jQuery(".color-picker-btn").toggle()}),jQuery(".color-picker-radio input").on("change",function(){var e=jQuery(this);if(jQuery('.color-picker-custom input[name="cht_custom_color"]').val(""),jQuery(".color-picker-custom .circle").html("?").css({"background-color":"#fff"}),e.prop("checked")){jQuery(".color-picker-radio input").prop("checked",!1),e.prop("checked",!0);var t=e.val(),a=e.prop("title")}else t=jQuery(".color-picker-custom input").val(),a="Custom";""!=t&&-1==t.indexOf("#")&&(t="#"+t),jQuery(".color-picker-btn .circle").css({backgroundColor:t}),jQuery(".color-picker-btn .text").text(a),jQuery("#chaty-social-close ellipse").attr("fill",t)}),jQuery(".color-picker-custom input").on("change",function(){jQuery(".color-picker-radio input").prop("checked",!1);var e=jQuery(this).val();""!=e&&-1==e.indexOf("#")&&(e="#"+e),jQuery(".color-picker-btn .circle").css({backgroundColor:e}),jQuery(".color-picker-btn .text").text("Custom"),jQuery("#chaty-social-close ellipse").attr("fill",e)}),jQuery('[name="cht_position"]').on("change",function(){jQuery("#positionCustom").prop("checked")?jQuery("#positionPro").show():jQuery("#positionPro").hide()}),jQuery(".update_token").on("click",function(t){t.preventDefault();var a=jQuery('input[name="cht_token"]').val();e.ajax({type:"POST",url:ajaxurl,data:{action:"add_token",nonce_code:cht_nonce_ajax.cht_nonce,token:a},beforeSend:function(e){},success:function(e){e?(alert("Your pro plan is activated"),location.reload()):alert("You`ve entered a wrong token")},error:function(e,t,a){}})}),jQuery("textarea[name=cht_cta]").on("keyup",function(e){if(jQuery(".tooltiptext span").html(jQuery(this).val()),0==jQuery(this).val().length)jQuery(".cta").hide(200),jQuery(".tooltiptext span").hide(200);else{jQuery(".cta").show(300),jQuery(".tooltiptext span").show(200);var t=jQuery(".tooltiptext span").html();count=(t.match(/\n/g)||[]).length,count>0?jQuery(".tooltiptext").addClass("has-multiline").removeClass("line-1").removeClass("line-2").removeClass("line-3").addClass("line-"+count):jQuery(".tooltiptext").removeClass("has-multiline")}}),jQuery("textarea[name=cht_cta]").trigger("keyup")})}(jQuery),function(e){jQuery(document).ready(function(){!function(){function e(){var e=jQuery("#positionBottom"),t=jQuery("#positionSide"),a=jQuery(".preview .page .chaty-widget"),o=jQuery('[name="cht_position"]:checked').val();if("right"===o)a.css({right:"7px",left:"auto",bottom:"7px"});else if("left"===o)a.css({left:"7px",right:"auto",bottom:"7px"});else if("custom"===o){if(e.val())var c=e.val()+"px";else c="7px";if(t.val())var i=t.val()+"px";else i="7px";e.on("change",function(){c=jQuery("#positionBottom").val()+"px",a.css({bottom:c})}),t.on("change",function(){var e=jQuery('[name="positionSide"]:checked').val();i=jQuery(this).val()+"px","right"===e?(jQuery(".page-body .chaty-widget ").removeClass("chaty-widget-icons-left"),jQuery(".page-body .chaty-widget ").addClass("chaty-widget-icons-right"),a.css({right:i,left:"auto"})):"left"===e&&(jQuery(".page-body .chaty-widget ").removeClass("chaty-widget-icons-right"),jQuery(".page-body .chaty-widget ").addClass("chaty-widget-icons-left"),a.css({left:i,right:"auto"}))}),jQuery('[name="positionSide"]').on("change",function(){var e=jQuery('[name="positionSide"]:checked').val();"right"===e?(jQuery(".page-body .chaty-widget ").removeClass("chaty-widget-icons-left"),jQuery(".page-body .chaty-widget ").addClass("chaty-widget-icons-right"),a.css({right:i,left:"auto"})):"left"===e&&(jQuery(".page-body .chaty-widget ").removeClass("chaty-widget-icons-right"),jQuery(".page-body .chaty-widget ").addClass("chaty-widget-icons-left"),a.css({left:i,right:"auto"}))})}}jQuery(".color-picker-radio input").on("change",function(){var e=jQuery(this);e.prop("checked")?e.val():jQuery(".color-picker-custom input").val(),u()}),jQuery(".color-picker-custom input").on("change",function(){jQuery(this).val(),u()}),jQuery(document).on("change","#chaty_default_state",function(){u()}),jQuery("#cht_close_button, #trigger_on_time, #chaty_trigger_on_scroll").on("click",function(){u()}),function(){var e=jQuery("#widgetTooltip"),t=jQuery(".preview .page .icon");function a(){jQuery("[name=cht_cta]").length&&(jQuery("[name=cht_cta]").val().length>=1?t.removeClass("no-tooltip"):t.addClass("no-tooltip"))}a(),e.on("change",function(){a()})}(),e(),jQuery('input[name="cht_position"]').on("change",function(){var t=jQuery('[name="cht_position"]:checked').val();"right"===t?(jQuery(".page-body .chaty-widget ").removeClass("chaty-widget-icons-left"),jQuery(".page-body .chaty-widget ").addClass("chaty-widget-icons-right")):"left"===t&&(jQuery(".page-body .chaty-widget ").removeClass("chaty-widget-icons-right"),jQuery(".page-body .chaty-widget ").addClass("chaty-widget-icons-left")),e()})}(),jQuery(".popover").hide(),o();var t=jQuery(".channels-icons > .icon-sm"),a=jQuery(".social-inputs");function o(){jQuery("section").is("#pro")||(jQuery(".channels-selected__item").length<=1?(jQuery(".channels-selected__item").hide(),jQuery(".popover").hide()):jQuery(".channels-selected__item").length>=2&&jQuery(".channels-selected__item").show())}jQuery("input[name=cht_custom_color]").on("keyup",function(e){var t=jQuery(this).val();(jQuery(".circle").html(""),""!=t)&&(-1==t.indexOf("#")&&(t="#"+t),jQuery(".color-picker-custom .circle").css({"background-color":t}));jQuery(this).val().length<1&&jQuery(".color-picker-custom .circle").html("?")}),t.on("click",function(){0,o();var c=jQuery(this),i=c.data("social");a.find(".social-form-group");if(c.hasClass("active")){var n=","+jQuery(this).attr("data-social");return s=(s=jQuery(".add_slug").val()).replace(n,""),jQuery(".add_slug").val(s),s=s.replace(n,""),jQuery(".add_slug").val(s),s=s.replace(n,""),jQuery(".add_slug").val(s),s=s.replace(n,""),jQuery(".add_slug").val(s),void c.toggleClass("active")}if(t.addClass("disabled"),icon=jQuery(this).data("social"),"1"==jQuery(".add_slug").val().indexOf(icon)&&""!=jQuery(".add_slug").val()){var s;n=","+icon;s=(s=jQuery(".add_slug").val()).replace(n,""),jQuery(".add_slug").val(s),s=s.replace(n,""),jQuery(".add_slug").val(s),s=s.replace(n,""),jQuery(".add_slug").val(s)}else jQuery(".add_slug").val(jQuery(".add_slug").val()+","+jQuery(this).attr("data-social"));if(!jQuery("section").is("#pro")&&jQuery(".channels-icons > .icon.active").length>=2)return t.removeClass("disabled"),jQuery(".popover").show(),jQuery(".popover .upgrade-link").addClass("active"),void setTimeout(function(){jQuery(".popover .upgrade-link").removeClass("active")},1e3);if(c.toggleClass("active"),jQuery("section").is("#pro"))var r="pro";else r="free";e.ajax({type:"POST",dataType:"json",url:ajaxurl,data:{action:"choose_social",social:i,nonce_code:cht_nonce_ajax.cht_nonce,version:r,widget_index:jQuery("#widget_index").val()},beforeSend:function(e){},success:function(a){var c=jQuery(a),n=c.find(".icon").data("title");c.data("channel");jQuery('.channels-selected div[data-social="'+n+'"]').length||(jQuery("#chaty-social-close").before(c),jQuery("#chaty-social-"+i+" .chaty-whatsapp-setting-textarea").length&&(editorId=jQuery("#chaty-social-"+i+" .chaty-whatsapp-setting-textarea").attr("id"),tinymce.execCommand("mceAddEditor",!0,editorId))),t.removeClass("disabled"),e("#iconWidget").show(),u(),o(),set_social_channel_order(),check_for_chaty_close_button(),jQuery(".chaty-color-field").spectrum({chooseText:"Submit",preferredFormat:"hex",showInput:!0,cancelText:"Cancel",move:function(e){jQuery(this).val(e.toHexString()),chaty_set_bg_color()}}),check_for_chaty_close_button(),"Whatsapp"==i&&e("#channel_input_Whatsapp").length&&(cht_settings.channel_settings.Whatsapp=document.querySelector("#channel_input_Whatsapp"),window.intlTelInput(cht_settings.channel_settings.Whatsapp,{dropdownContainer:document.body,formatOnDisplay:!0,hiddenInput:"full_number",initialCountry:"auto",nationalMode:!1,utilsScript:cht_settings.plugin_url+"admin/assets/js/utils.js"})),jQuery(".custom-channel-Whatsapp").length&&jQuery(".custom-channel-Whatsapp").each(function(){if(!jQuery(this).closest(".iti__flag-container").length){var e=jQuery(this).closest("li.chaty-channel").data("id");jQuery("#channel_input_"+e).length&&(cht_settings.channel_settings[e]=document.querySelector("#channel_input_"+e),window.intlTelInput(cht_settings.channel_settings[e],{dropdownContainer:document.body,formatOnDisplay:!0,hiddenInput:"full_number",initialCountry:"auto",nationalMode:!1,utilsScript:cht_settings.plugin_url+"admin/assets/js/utils.js"}))}})},error:function(e,t,a){}}),o()}),jQuery("body").on("click",".icon, .btn-cancel:not(.close-btn-set)",function(e){if(!jQuery(this).hasClass("close-btn-set")&&(e.preventDefault(),!jQuery(this).hasClass("icon")||!jQuery(this).hasClass("active"))){if(icon=jQuery(this).data("social"),jQuery(this).hasClass("btn-cancel")){jQuery('.icon.active[data-social^="'+icon+'"]').removeClass("active");var t=","+icon,a=jQuery(".add_slug").val();a=a.replace(t,""),jQuery(".add_slug").val(a)}jQuery("#chaty-social-"+icon).remove();jQuery(this).parent(".channels-selected__item"),jQuery(this).data("social");u(),o(),set_social_channel_order(),check_for_chaty_close_button()}}),jQuery(".btn-help").on("click",function(e){window.open("https://premio.io/help/chaty/","_blank")}),jQuery(".free-custom-radio, .free-custom-checkbox").on("click",function(e){e.preventDefault()});var c=jQuery("[name=cht_cta]"),i=jQuery(".preview .tooltip-show");c.on("keyup",function(){var e=jQuery(".preview .page .icon");c.val().length>=1?e.removeClass("no-tooltip"):e.addClass("no-tooltip"),i.attr("data-title",c.val())});var n,s,r='<svg version="1.1" id="ch" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="-496 507.7 54 54" style="enable-background:new -496 507.7 54 54;" xml:space="preserve">\n <style type="text/css">.st0 {fill: #A886CD;} .st1 {fill: #FFFFFF;}\n </style><g><circle class="st0" cx="-469" cy="534.7" r="27"/></g><path class="st1" d="M-459.9,523.7h-20.3c-1.9,0-3.4,1.5-3.4,3.4v15.3c0,1.9,1.5,3.4,3.4,3.4h11.4l5.9,4.9c0.2,0.2,0.3,0.2,0.5,0.2 h0.3c0.3-0.2,0.5-0.5,0.5-0.8v-4.2h1.7c1.9,0,3.4-1.5,3.4-3.4v-15.3C-456.5,525.2-458,523.7-459.9,523.7z"/>\n <path class="st0" d="M-477.7,530.5h11.9c0.5,0,0.8,0.4,0.8,0.8l0,0c0,0.5-0.4,0.8-0.8,0.8h-11.9c-0.5,0-0.8-0.4-0.8-0.8l0,0\n C-478.6,530.8-478.2,530.5-477.7,530.5z"/>\n <path class="st0" d="M-477.7,533.5h7.9c0.5,0,0.8,0.4,0.8,0.8l0,0c0,0.5-0.4,0.8-0.8,0.8h-7.9c-0.5,0-0.8-0.4-0.8-0.8l0,0\n C-478.6,533.9-478.2,533.5-477.7,533.5z"/>\n </svg>',l=document.getElementById("iconWidget");jQuery(".color-picker-radio input:checked").val();function u(){var t,a,o=!1;if(jQuery(".single-channel-setting").addClass("active"),jQuery("#iconWidget").removeClass("img-p-active"),d()?(0===jQuery(".js-chanel-desktop:checked").length?(t=!1,jQuery(".page-body .chaty-widget").hide()):jQuery(".page-body .chaty-widget").show(),1===jQuery(".js-chanel-desktop:checked").length&&(t=jQuery(".js-chanel-desktop:checked").closest("li").find(".icon.icon-md").html(),jQuery(".js-chanel-desktop:checked").closest(".channels-selected__item").hasClass("img-active")&&jQuery("#iconWidget").addClass("img-p-active")),jQuery(".js-chanel-desktop:checked").length>1&&(t=r,o=!0)):(0===jQuery(".js-chanel-mobile:checked").length?(a=!1,jQuery(".page-body .chaty-widget").hide()):jQuery(".page-body .chaty-widget").show(),1===jQuery(".js-chanel-mobile:checked").length&&(a=jQuery(".js-chanel-mobile:checked").closest("li").find(".icon.icon-md").html(),jQuery(".js-chanel-mobile:checked").closest(".channels-selected__item").hasClass("img-active")&&jQuery("#iconWidget").addClass("img-p-active")),jQuery(".js-chanel-mobile:checked").length>1&&(a=r,o=!0)),n=t,s=a,d()?h(n,o):h(s,o),e("#iconWidget .pop-number").remove(),jQuery("#cht_pending_messages").is(":checked")){var c=jQuery("#cht_number_of_messages").val();""!=c&&c>0&&(e("#iconWidget").append("<span class='pop-number'>"+c+"</span>"),e("#iconWidget .pop-number").css("color",jQuery("#cht_number_color").val()),e("#iconWidget .pop-number").css("background",jQuery("#cht_number_bg_color").val()))}var i=".js-chanel-mobile";if(d())i=".js-chanel-desktop";"open"==jQuery("#chaty_default_state").val()&&jQuery(i+":checked").length>1&&e("#iconWidget .pop-number").remove(),e("#cta-box span").css("color",e("#cht_cta_text_color").val()),e("#cta-box span").css("background",e("#cht_cta_bg_color").val()),e("#custom-css").html("<style>.preview .page .chaty-widget .icon:before {border-color: transparent "+e("#cht_cta_bg_color").val()+" transparent transparent } .preview .page .chaty-widget[style*='left: auto;'] .icon:before {border-color: transparent transparent transparent "+e("#cht_cta_bg_color").val()+"}</style>"),jQuery(".single-channel-setting").addClass("active"),1===jQuery("#channel-list .icon.active").length&&(jQuery(".single-channel-setting").removeClass("active"),"open"==jQuery("#chaty_default_state").val()&&jQuery(".hide-show-button").removeClass("active"))}function h(e,t){if(jQuery("#iconWidget").length){if(l.innerHTML=e||"",t){var a=jQuery(".color-picker-custom input").val()?jQuery(".color-picker-custom input").val():jQuery(".color-picker-radio input:checked").val();if(""!=a)-1==a.indexOf("#")&&(a="#"+a);jQuery(".preview .page svg circle").css({fill:a}),jQuery("#chaty-social-close ellipse").attr("fill",a)}thisVal=jQuery("#chaty_default_state").val(),"open"==thisVal?jQuery(".hide-show-button").addClass("active"):jQuery(".hide-show-button").removeClass("active"),jQuery(".chaty-widget").removeClass("active").removeClass("hover").removeClass("click").removeClass("hide_arrow"),"open"==thisVal?(jQuery(".chaty-widget").addClass("active").addClass("click"),"open"==thisVal&&jQuery(o+":checked").length>1&&jQuery(".chaty-widget").addClass("hide_arrow")):"hover"==thisVal?jQuery(".chaty-widget").addClass("hover"):jQuery(".chaty-widget").addClass("click"),jQuery(".chaty-channels").html("");var o=".js-chanel-mobile";if(d())o=".js-chanel-desktop";"open"==thisVal&&jQuery(o+":checked").length>1?(jQuery("#chaty_attention_effect").val(""),jQuery("#chaty_attention_effect, .test_textarea").attr("disabled",!0),jQuery("#chaty_attention_effect option:first-child").text("Doesn't apply for the open state"),"Doesn't apply for the open state"!=jQuery(".test_textarea").val()&&jQuery(".test_textarea").attr("data-value",jQuery(".test_textarea").val()),jQuery(".test_textarea").val("Doesn't apply for the open state"),jQuery("#cht_number_of_messages").attr("disabled",!0),jQuery("#cht_pending_messages").attr("disabled",!0),jQuery(".disable-message").addClass("label-tooltip").addClass("icon"),jQuery("#cht_pending_messages").attr("checked",!1),jQuery(".pending-message-items").removeClass("active"),jQuery(".cta-action-radio input").attr("disabled",!0)):(jQuery("#chaty_attention_effect, .test_textarea").attr("disabled",!1),jQuery("#chaty_attention_effect option:first-child").text("None"),jQuery(".test_textarea").attr("placeholder",""),"Doesn't apply for the open state"==jQuery(".test_textarea").val()&&jQuery(".test_textarea").val(jQuery(".test_textarea").attr("data-value")),jQuery("#cht_number_of_messages").attr("disabled",!1),jQuery("#cht_pending_messages").attr("disabled",!1),jQuery(".disable-message").removeClass("label-tooltip").removeClass("icon"),jQuery(".cta-action-radio input").attr("disabled",!1)),jQuery(".page-body .chaty-widget").removeClass("vertical").removeClass("horizontal"),jQuery(o+":checked").length>1?(jQuery(o+":checked").each(function(){var e=jQuery(this).closest("li").find(".icon").html(),t=(e=jQuery(this).closest("li").find(".icon").html(),jQuery(this).closest("li").find(".chaty-title").val()),a=jQuery(this).closest(".channels-selected__item").hasClass("img-active")?"img-active":"";""!=t&&(t="<span class='social-tooltip'>"+t+"</span>"),jQuery(".chaty-channels").append("<div class='social-item-box "+a+"'><span class='tooltip-icon'>"+e+"</span>"+t+"</div>")}),"open"==jQuery("#chaty_default_state").val()&&jQuery("#cht_close_button").is(":checked")?(jQuery("#iconWidget").css("display","block"),jQuery(".chaty-widget .tooltiptext").css("display","block"),jQuery(".chaty-widget").removeClass("hide-arrow")):"open"!=jQuery("#chaty_default_state").val()?(jQuery("#iconWidget").css("display","block"),jQuery(".chaty-widget .tooltiptext").css("display","block"),jQuery(".chaty-widget").removeClass("hide-arrow")):"open"==jQuery("#chaty_default_state").val()&&(jQuery("#iconWidget").hide(),jQuery(".chaty-widget .tooltiptext").hide(),jQuery(".chaty-widget").addClass("hide-arrow")),jQuery(".chaty-widget").removeClass("has-single"),jQuery(".page-body .chaty-widget").addClass(jQuery("#chaty_icons_view").val())):1==jQuery(o+":checked").length?("open"!=jQuery("#chaty_default_state").val()||jQuery("#cht_close_button").is(":checked")?"open"!=jQuery("#chaty_default_state").val()&&(jQuery("#iconWidget").css("display","block"),jQuery(".chaty-widget .tooltiptext").css("display","block"),jQuery(".chaty-widget").removeClass("hide-arrow")):(jQuery("#iconWidget").css("display","block"),jQuery(".chaty-widget .tooltiptext").css("display","block"),jQuery(".chaty-widget").removeClass("hide-arrow")),jQuery(".chaty-widget").addClass("has-single"),jQuery(".chaty-widget").removeClass("hide-arrow")):0==jQuery(o+":checked").length&&(jQuery("#iconWidget").hide(),jQuery(".chaty-widget .tooltiptext").hide(),jQuery(".chaty-widget").addClass("hide-arrow"),jQuery(".chaty-widget").removeClass("has-single")),jQuery(".chaty-channels .remove-icon-img").remove(),jQuery("#trigger_on_time").is(":checked")?jQuery("#chaty_trigger_time").attr("readonly",!1):jQuery("#chaty_trigger_time").attr("readonly",!0),jQuery("#chaty_trigger_on_scroll").is(":checked")?jQuery("#chaty_trigger_on_page_scroll").attr("readonly",!1):jQuery("#chaty_trigger_on_page_scroll").attr("readonly",!0),""==jQuery(".chaty-widget .tooltiptext").text()?jQuery(".chaty-widget .tooltiptext").hide():"open"==jQuery("#chaty_default_state").val()&&jQuery(o+":checked").length>1?jQuery(".chaty-widget .tooltiptext").hide():jQuery(".chaty-widget .tooltiptext").css("display","block")}}function d(){return"checked"===jQuery("#previewDesktop").attr("checked")}jQuery("#testUpload").on("change",function(){this.value.length>0?document.querySelector(".js-upload").disabled=!1:(document.querySelector(".js-upload").disabled=!0,document.getElementById("uploadInput").checked=!1)}),jQuery(document).on("keyup","textarea.test_textarea",function(){u()}),jQuery(".js-switch-preview").on("change",function(){d()?jQuery(this).closest(".preview").removeClass("mobiel-view"):jQuery(this).closest(".preview").addClass("mobiel-view"),u()}),jQuery(document).on("change","input[name='cht_pending_messages']",function(){jQuery("#cht_pending_messages").is(":checked")?jQuery(".pending-message-items").addClass("active"):jQuery(".pending-message-items").removeClass("active"),u()}),jQuery(document).on("change","#cht_number_of_messages",function(){u()}),jQuery(document).on("keyup","#cht_number_of_messages",function(){u()}),jQuery(document).on("blur","#cht_number_of_messages",function(){u()}),jQuery(document).on("change",".js-chanel-icon",function(){u()}),jQuery(document).on("change",".js-widget-i",function(e){r=e.target.classList.contains("js-upload")?jQuery(".file-preview-image").last().parent().html():jQuery("i[data-type="+jQuery(".js-widget-i:checked").val()+"]").html(),u()}),"chat-image"!==jQuery(".js-widget-i:checked").attr("data-type")&&(r=jQuery("i[data-type="+jQuery(".js-widget-i:checked").attr("data-type")+"]").html(),u())}),jQuery(document).ready(function(){jQuery(document).on("click",".chaty-popup-box button, #chaty-intro-popup",function(t){t.stopPropagation();var a=jQuery("#chaty_update_popup_status").val();e("#chaty-intro-popup").remove(),e.ajax({type:"POST",url:ajaxurl,data:{action:"update_popup_status",nonce:a},beforeSend:function(e){},success:function(e){},error:function(e,t,a){}})}),jQuery(document).on("click",".chaty-popup-box",function(e){e.stopPropagation()}),jQuery(document).on("click",".remove-chaty-options",function(t){t.preventDefault(),t.stopPropagation(),confirm("Are you sure you want to delete this widget?")&&e.ajax({type:"POST",url:ajaxurl,data:{action:"remove_chaty_widget",nonce_code:cht_nonce_ajax.cht_nonce,widget_index:jQuery("#widget_index").val()},beforeSend:function(e){},success:function(e){window.location=e},error:function(e,t,a){}})});window.location.href;window.location.href.indexOf("page=chaty-app&widget=")>-1&&jQuery("#toplevel_page_chaty-app .wp-submenu.wp-submenu-wrap li").each(function(){var e=jQuery(this).find("a").attr("href");void 0!==e&&(jQuery(this).removeClass("current"),window.location.href.indexOf(e)>-1&&e.indexOf("&widget=")>-1&&jQuery(this).addClass("current"))})})}(jQuery),jQuery(window).on("resize",function(){check_for_preview_pos()}),jQuery(window).on("scroll",function(){check_for_preview_pos()}),jQuery(document).ready(function(){check_for_preview_pos()});var totalPageOptions=0,pageOptionContent="",totalDateAndTimeOptions=0,dateAndTimeOptionContent="";jQuery(document).ready(function(){function e(){jQuery(".chaty-whatsapp-setting-textarea").length&&jQuery(".chaty-whatsapp-setting-textarea").each(function(){jQuery("#cht_social_embedded_message_"+jQuery(this).data("id")+"_ifr").length&&tinymce.get(jQuery(this).attr("id")).remove(),tinymce.execCommand("mceAddEditor",!0,jQuery(this).attr("id"))})}totalPageOptions=parseInt(jQuery(".chaty-page-option").length),pageOptionContent=jQuery(".chaty-page-options-html").html(),jQuery(".chaty-page-options-html").remove(),totalDateAndTimeOptions=parseInt(jQuery(".chaty-date-time-option").length),dateAndTimeOptionContent=jQuery(".chaty-date-and-time-options-html").html(),jQuery(".chaty-date-and-time-options-html").remove(),jQuery("#create-rule").on("click",function(){jQuery(".page-options").toggle()}),jQuery("#create-data-and-time-rule").on("click",function(){jQuery(".chaty-data-and-time-rules").toggle()}),jQuery(document).on("change","#chaty_attention_effect",function(){var e=jQuery(this).attr("data-effect");""!=e&&jQuery("#iconWidget").removeClass("chaty-animation-"+e),jQuery("#iconWidget").removeClass("start-now"),jQuery("#iconWidget").addClass("chaty-animation-"+jQuery(this).val()).addClass("start-now"),jQuery(this).attr("data-effect",jQuery(this).val())}),setInterval(function(){var e=jQuery("#chaty_attention_effect").attr("data-effect");""!=e?(jQuery("#iconWidget").removeClass("chaty-animation-"+e),jQuery("#iconWidget").removeClass("start-now"),setTimeout(function(){jQuery("#iconWidget").addClass("chaty-animation-"+jQuery("#chaty_attention_effect").val()).addClass("start-now")},1e3)):jQuery("#chaty_attention_effect").attr("data-effect",jQuery("#chaty_attention_effect").val())},5e3),jQuery(document).on("click",".remove-chaty",function(){jQuery(".page-options").toggle()}),jQuery(document).on("click",".remove-page-option",function(){jQuery(".chaty-data-and-time-rules ").toggle()}),jQuery("#image-upload-content .custom-control-label").on("click",function(e){return e.stopPropagation(),jQuery(this).closest(".custom-control").find("input[type=radio]").attr("checked",!0),jQuery(".js-widget-i").trigger("change"),!1}),jQuery(".chaty-color-field").spectrum({chooseText:"Submit",preferredFormat:"hex",cancelText:"Cancel",showInput:!0,move:function(e){jQuery(this).val(e.toHexString()),chaty_set_bg_color(),change_custom_preview()}}),jQuery(".chaty-color-field").on("change",function(){chaty_set_bg_color(),change_custom_preview()}),jQuery(".remove-chaty-img").on("click",function(e){e.stopPropagation()}),jQuery("#channels-selected-list").sortable({placeholder:"ui-chaty-state-hl",items:"li:not(#chaty-social-close)",stop:function(){e()},update:function(t,a){set_social_channel_order(),change_custom_preview(),e()}}),jQuery(document).ready(function(){e()}),jQuery(".close-button-img img, .close-button-img .image-upload").on("click",function(){var e=wp.media({title:"Upload Image",multiple:!1,library:{type:"image"}}).open().on("select",function(t){var a=e.state().get("selection").first();imageData=a.toJSON(),jQuery(".close-button-img").addClass("active"),jQuery(".close-button-img input").val(imageData.id),jQuery(".close-button-img img").attr("src",imageData.url),change_custom_preview()})}),jQuery(".remove-close-img").on("click",function(){default_image=jQuery("#default_image").val(),jQuery(".close-button-img").removeClass("active"),jQuery(".close-button-img input").val(""),jQuery(".close-button-img img").attr("src",default_image),change_custom_preview()}),jQuery(document).on("click",".chaty-widget.click",function(e){e.preventDefault(),jQuery(".chaty-widget").toggleClass("active")}),jQuery(document).on("change",".url-options.cht-required",function(e){thisVal=jQuery(this).val(),siteURL=jQuery("#chaty_site_url").val(),newURL=siteURL,"page_has_url"==thisVal?newURL=siteURL:"page_contains"==thisVal?newURL=siteURL+"%s%":"page_start_with"==thisVal?newURL=siteURL+"s%":"page_end_with"==thisVal&&(newURL=siteURL+"%s"),jQuery(this).closest(".url-content").find(".chaty-url").text(newURL)}),check_for_chaty_close_button(),chaty_set_bg_color(),change_custom_preview(),jQuery(".chaty-settings.cls-btn a, .close-btn-set").on("click",function(e){e.preventDefault(),jQuery(".cls-btn-settings, .close-btn-set").toggleClass("active")}),0==jQuery("input[name='cht_position']:checked").length&&(jQuery("#right-position").attr("checked",!0),jQuery("input[name='cht_position']:checked").trigger("change")),0==jQuery("input[name='widget_icon']:checked").length&&(jQuery("input[name='widget_icon']:first").attr("checked",!0),jQuery("input[name='widget_icon']:checked").trigger("change")),jQuery(".form-fonts").on("change",function(){var e=jQuery(this).val();jQuery(".chaty-google-font").remove(),""!=e?("Default"!=jQuery(".form-fonts option:selected").data("group")&&jQuery("head").append('<link href="https://fonts.googleapis.com/css?family='+e+':400,600,700" rel="stylesheet" type="text/css" class="chaty-google-font">'),jQuery(".preview-section-chaty #admin-preview .page-body").css("font-family",e)):jQuery(".preview-section-chaty #admin-preview .page-body").attr("style","")})}),jQuery(window).on("load",function(){check_for_chaty_close_button(),chaty_set_bg_color(),jQuery(".chaty-page-options .chaty-page-option").removeClass("last"),jQuery(".chaty-page-options .chaty-page-option:last").addClass("last"),jQuery(".url-options.cht-required").each(function(){jQuery(this).trigger("change")});var e=jQuery(".form-fonts").val();jQuery(".chaty-google-font").remove(),""!=e&&("Default"!=jQuery(".form-fonts option:selected").data("group")&&jQuery("head").append('<link href="https://fonts.googleapis.com/css?family='+e+':400,600,700" rel="stylesheet" type="text/css" class="chaty-google-font">'),jQuery(".preview-section-chaty #admin-preview .page-body").css("font-family",e))});var selectedsocialSlug="";function upload_chaty_image(e){selectedsocialSlug=e;var t=wp.media({title:"Upload Image",multiple:!1,library:{type:"image"}}).open().on("select",function(e){var a=t.state().get("selection").first();imageData=a.toJSON(),jQuery("#cht_social_image_"+selectedsocialSlug).val(imageData.id),jQuery(".custom-image-"+selectedsocialSlug+" img").attr("src",imageData.url),jQuery("#chaty-social-"+selectedsocialSlug+" .channels-selected__item").addClass("img-active"),change_custom_preview()})}function toggle_chaty_setting(e){if(jQuery("#chaty-social-"+e).find(".chaty-advance-settings").toggle(),"Contact_Us"==e&&jQuery("#Contact_Us-close-btn").length){var t=jQuery("#Contact_Us-close-btn").data("nonce");jQuery("#Contact_Us-close-btn").hasClass("active")||(jQuery("#Contact_Us-close-btn").addClass("active"),jQuery.ajax({type:"POST",url:ajaxurl,data:{nonce:t,action:"update_channel_setting"},success:function(e){}}))}change_custom_preview()}function chaty_set_bg_color(){jQuery(".chaty-color-field:not(.button-color)").each(function(){""!=jQuery(this).val()&&"#ffffff"!=jQuery(this).val()&&("Linkedin"!=jQuery(this).closest("li").data("id")||"Linkedin"==jQuery(this).closest("li").data("id")&&"#ffffff"!=jQuery(this).val())&&(defaultColor=jQuery(this).val(),jQuery(this).closest(".channels-selected__item").find(".color-element").css("fill",defaultColor),jQuery(this).closest(".channels-selected__item").find(".custom-chaty-image").css("background",defaultColor),jQuery(this).closest(".channels-selected__item").find(".facustom-icon").css("background",defaultColor))}),change_custom_preview()}function upload_qr_code(){var e=wp.media({title:"Upload QR Image",multiple:!1,library:{type:"image"}}).open().on("select",function(t){var a=e.state().get("selection").first();imageData=a.toJSON(),jQuery("#upload_qr_code_val").val(imageData.id),jQuery("#upload_qr_code img").attr("src",imageData.url),jQuery(".remove-qr-code").addClass("active"),change_custom_preview()})}function remove_qr_code(){jQuery(".remove-qr-code").removeClass("active"),jQuery("#upload_qr_code_val").val(""),default_image=jQuery("#default_image").val(),jQuery("#upload_qr_code img").attr("src",default_image),change_custom_preview()}function remove_chaty_image(e){default_image=jQuery("#default_image").val(),jQuery("#chaty-social-"+e+" .channels-selected__item").removeClass("img-active"),jQuery("#cht_social_image_"+e).val(""),jQuery("#cht_social_image_src_"+e).attr("src",default_image),change_custom_preview()}var baseIcon='<svg version="1.1" id="ch" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="-496 507.7 54 54" style="enable-background:new -496 507.7 54 54;" xml:space="preserve">\n <style type="text/css">.st0 {fill: #A886CD;} .st1 {fill: #FFFFFF;}\n </style><g><circle class="st0" cx="-469" cy="534.7" r="27"/></g><path class="st1" d="M-459.9,523.7h-20.3c-1.9,0-3.4,1.5-3.4,3.4v15.3c0,1.9,1.5,3.4,3.4,3.4h11.4l5.9,4.9c0.2,0.2,0.3,0.2,0.5,0.2 h0.3c0.3-0.2,0.5-0.5,0.5-0.8v-4.2h1.7c1.9,0,3.4-1.5,3.4-3.4v-15.3C-456.5,525.2-458,523.7-459.9,523.7z"/>\n <path class="st0" d="M-477.7,530.5h11.9c0.5,0,0.8,0.4,0.8,0.8l0,0c0,0.5-0.4,0.8-0.8,0.8h-11.9c-0.5,0-0.8-0.4-0.8-0.8l0,0\n C-478.6,530.8-478.2,530.5-477.7,530.5z"/>\n <path class="st0" d="M-477.7,533.5h7.9c0.5,0,0.8,0.4,0.8,0.8l0,0c0,0.5-0.4,0.8-0.8,0.8h-7.9c-0.5,0-0.8-0.4-0.8-0.8l0,0\n C-478.6,533.9-478.2,533.5-477.7,533.5z"/>\n </svg>',defaultIcon='<svg version="1.1" id="ch" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="-496 507.7 54 54" style="enable-background:new -496 507.7 54 54;" xml:space="preserve">\n <style type="text/css">.st0 {fill: #A886CD;} .st1 {fill: #FFFFFF;}\n </style><g><circle class="st0" cx="-469" cy="534.7" r="27"/></g><path class="st1" d="M-459.9,523.7h-20.3c-1.9,0-3.4,1.5-3.4,3.4v15.3c0,1.9,1.5,3.4,3.4,3.4h11.4l5.9,4.9c0.2,0.2,0.3,0.2,0.5,0.2 h0.3c0.3-0.2,0.5-0.5,0.5-0.8v-4.2h1.7c1.9,0,3.4-1.5,3.4-3.4v-15.3C-456.5,525.2-458,523.7-459.9,523.7z"/>\n <path class="st0" d="M-477.7,530.5h11.9c0.5,0,0.8,0.4,0.8,0.8l0,0c0,0.5-0.4,0.8-0.8,0.8h-11.9c-0.5,0-0.8-0.4-0.8-0.8l0,0\n C-478.6,530.8-478.2,530.5-477.7,530.5z"/>\n <path class="st0" d="M-477.7,533.5h7.9c0.5,0,0.8,0.4,0.8,0.8l0,0c0,0.5-0.4,0.8-0.8,0.8h-7.9c-0.5,0-0.8-0.4-0.8-0.8l0,0\n C-478.6,533.9-478.2,533.5-477.7,533.5z"/>\n </svg>',iconBlock=document.getElementById("iconWidget");function set_social_channel_order(){socialString=[],jQuery("#channels-selected-list li").each(function(){socialString.push(jQuery(this).attr("data-id"))}),socialString=socialString.join(","),jQuery("#cht_numb_slug").val(socialString),check_for_chaty_close_button()}function check_for_chaty_close_button(){jQuery("#channels-selected-list > li:not(.chaty-cls-setting)").length>=2?jQuery("#chaty-social-close").show():jQuery("#chaty-social-close").hide(),change_custom_preview();var e="";jQuery("#channels-selected-list > li").each(function(){"undefined"!=jQuery(this).attr("data-id")&&""!=jQuery(this).attr("data-id")&&(e+=jQuery(this).attr("data-id")+","),e=e.trimRight(",")}),jQuery(".add_slug").val(e)}function change_custom_preview(){var e,t,a=!1;jQuery("#iconWidget").removeClass("img-p-active"),getChtPreviewDesktop()?(0===jQuery(".js-chanel-desktop:checked").length&&(e=!1),1===jQuery(".js-chanel-desktop:checked").length&&(e=jQuery(".js-chanel-desktop:checked").closest("li").find(".icon.icon-md").html(),jQuery(".js-chanel-desktop:checked").closest(".channels-selected__item").hasClass("img-active")&&jQuery("#iconWidget").addClass("img-p-active")),jQuery(".js-chanel-desktop:checked").length>1&&(e=defaultIcon,a=!0)):(0===jQuery(".js-chanel-mobile:checked").length&&(t=!1),1===jQuery(".js-chanel-mobile:checked").length&&(t=jQuery(".js-chanel-mobile:checked").closest("li").find(".icon.icon-md").html(),jQuery(".js-chanel-mobile:checked").closest(".channels-selected__item").hasClass("img-active")&&jQuery("#iconWidget").addClass("img-p-active")),jQuery(".js-chanel-mobile:checked").length>1&&(t=defaultIcon,a=!0)),desktopIcon=e,mobileIcon=t,getChtPreviewDesktop()?setChtIcon(desktopIcon,a):setChtIcon(mobileIcon,a),jQuery("#channels-selected-list > li.chaty-channel").length<=1?jQuery(".o-channel, .font-section").removeClass("active"):jQuery(".o-channel, .font-section").addClass("active")}function getChtPreviewDesktop(){return"checked"===jQuery("#previewDesktop").attr("checked")}function setChtIcon(e,t){if(jQuery("iconWidget").length){if((iconBlock=document.getElementById("iconWidget")).innerHTML=e||"",t){var a=jQuery(".color-picker-custom input").val()?jQuery(".color-picker-custom input").val():jQuery(".color-picker-radio input:checked").val();jQuery(".preview .page svg circle").css({fill:a}),jQuery("#chaty-social-close ellipse").attr("fill",a)}jQuery(".js-widget-i:checked").trigger("change")}}
1
+ function check_for_number_chaty(e,t){return!(""==e||("+"==e[0]&&(e=e.substr(1,e.length)),"Phone"==t&&"*"==e[0]&&(e=e.substr(1,e.length)),!isNaN(e)))}function check_for_preview_pos(){if(jQuery(".chaty-setting-form").length)if(jQuery(window).width()>1179){var e=parseInt(jQuery(".chaty-setting-form").offset().top);jQuery(".btn-save-sticky, .chaty-sticky-buttons").css("top",e+58),jQuery(".preview").css("top",e+18),jQuery(".btn-help").css("top",e+58+145),jQuery("a.remove-chaty-widget-sticky").css("top",e+58+145+119)}else jQuery(".btn-save-sticky, .chaty-sticky-buttons").attr("style",""),jQuery(".preview").attr("style",""),jQuery(".btn-help").attr("style",""),jQuery("a.remove-chaty-widget-sticky").attr("style","");if(jQuery("#scroll-to-item").length&&jQuery("#admin-preview").length&&((e=jQuery("body").hasClass("has-premio-box")?jQuery("#scroll-to-item").offset().top-jQuery(window).scrollTop()-625:jQuery("#scroll-to-item").offset().top-jQuery(window).scrollTop()-485)<0?(e=Math.abs(e),jQuery("#admin-preview").css("margin-top",-1*e+"px")):jQuery("#admin-preview").css("margin-top","0")),jQuery(window).height()<=1180){var t=285;jQuery(window).width()<=600&&(t=310),jQuery(".chaty-sticky-buttons").css("top",jQuery(window).height()/2-t/2+"px")}jQuery(".html-tooltip:not(.no-position)").length&&jQuery(".html-tooltip:not(.no-position)").each(function(){jQuery(this).offset().top-jQuery(window).scrollTop()>540?(jQuery(this).addClass("top").removeClass("side").removeClass("bottom"),jQuery(this).find(".tooltip-text").attr("style",""),jQuery(this).find(".tooltip-text").removeClass("hide-arrow")):jQuery(window).height()-(jQuery(this).offset().top-jQuery(window).scrollTop())>460?(jQuery(this).addClass("bottom").removeClass("top").removeClass("side"),jQuery(this).find(".tooltip-text").attr("style",""),jQuery(this).find(".tooltip-text").removeClass("hide-arrow")):(jQuery(this).addClass("side").removeClass("top").removeClass("bottom"),jQuery(this).find(".tooltip-text").length&&(jQuery(this).find(".tooltip-text").attr("style",""),jQuery(this).find(".tooltip-text").removeClass("hide-arrow"),jQuery(this).find(".tooltip-text").offset().top-jQuery(window).scrollTop()-50<0?(jQuery(this).find(".tooltip-text").css("margin-top",Math.abs(jQuery(this).find(".tooltip-text").offset().top-jQuery(window).scrollTop()-50)+"px"),jQuery(this).find(".tooltip-text").addClass("hide-arrow")):(jQuery(this).find(".tooltip-text").attr("style",""),jQuery(this).find(".tooltip-text").offset().top+parseInt(jQuery(this).find(".tooltip-text").outerHeight())-jQuery(window).scrollTop()-jQuery(window).height()>0&&(jQuery(this).find(".tooltip-text").css("margin-top",-1*Math.abs(jQuery(this).find(".tooltip-text").offset().top+parseInt(jQuery(this).find(".tooltip-text").outerHeight())-jQuery(window).scrollTop()-jQuery(window).height())-10+"px"),jQuery(this).find(".tooltip-text").addClass("hide-arrow")))))})}jQuery(function(e){"use strict";var t=!1,a=!1,o=!1,c=!1,n=!1,i=!1,s=!1;function r(){if(e(".chaty-popup").hide(),0==e("#cht-form .js-chanel-desktop").length||0==e("#cht-form .js-chanel-mobile").length)return e("#no-device-popup").show(),!1;if(0==e("#cht-form .js-chanel-desktop:checked").length&&0==e("#cht-form .js-chanel-mobile:checked").length)return e("#device-popup").show(),!1;var t=0;return e("#channels-selected-list > li:not(#chaty-social-close)").find(".channels__input").each(function(){""==jQuery.trim(e(this).val())&&t++}),t!=e("#channels-selected-list > li:not(#chaty-social-close)").find(".channels__input").length||e("#chaty-social-Contact_Us").length?l():(e("#no-device-value").show(),!1)}function l(){return e(".chaty-popup").hide(),e("#trigger_on_time").is(":checked")||e("#chaty_trigger_on_exit").is(":checked")||e("#chaty_trigger_on_scroll").is(":checked")?u():(e("#trigger-popup").show(),!1)}function u(){return e(".chaty-popup").hide(),e(".cht_active").is(":checked")?(t=!0,e("#cht-form").trigger("submit"),!0):(e("#status-popup").show(),!1)}function h(){if(a){if(o){if(c){if(n){if(i)s||(s=!0,e("#channels-selected-list .phone-number").length&&e("#channels-selected-list .phone-number").each(function(){if(""!=jQuery.trim(e(this).val())&&jQuery.trim(e(this).val()).length>13)return e("#custom-message-popup .chaty-popup-header").text(e(this).data("label")+" number is not valid"),e("#custom-message-popup .chaty-popup-body").text("Seems like the "+e(this).data("label")+" number you're trying to enter isn't valid. Would you like to publish it anyway?"),e("#custom-message-popup").show(),!1}));else if(i=!0,e("#cht-form #Viber").length&&""!=e("#cht-form #Viber").val()){t=jQuery.trim(e("#cht-form #Viber").val());if(check_for_number_chaty(t,"Viber"))return e("#custom-message-popup .chaty-popup-header").text("Viber number is not valid"),e("#custom-message-popup .chaty-popup-body").text("Seems like the Viber number you're trying to enter isn't in the right syntax. Would you like to publish it anyway?"),e("#custom-message-popup").show(),!1}}else if(n=!0,e("#cht-form #SMS").length&&""!=e("#cht-form #SMS").val()){t=jQuery.trim(e("#cht-form #SMS").val());if(check_for_number_chaty(t,"SMS"))return e("#custom-message-popup .chaty-popup-header").text("SMS number is not valid"),e("#custom-message-popup .chaty-popup-body").text("Seems like the SMS number you're trying to enter isn't in the right syntax. Would you like to publish it anyway?"),e("#custom-message-popup").show(),!1}}else if(c=!0,e("#cht-form #Facebook_Messenger").length&&""!=e("#cht-form #Facebook_Messenger").val()){var t=jQuery.trim(e("#Facebook_Messenger").val());if(e("#cht-form #Facebook_Messenger").val(t),!/(?:http:\/\/)?facebook\.com\/(?:(?:\w)*#!\/)?(?:pages\/)?(?:[\w\-]*\/)*([\w\-]*)/.test(t)&&!/(?:http:\/\/)?m\.me\/(?:(?:\w)*#!\/)?(?:pages\/)?(?:[\w\-]*\/)*([\w\-]*)/.test(t))return e("#custom-message-popup .chaty-popup-header").text("Facebook page's URL is not valid"),e("#custom-message-popup .chaty-popup-body").text("Please make sure your Facebook page's URL looks like, <br/>https://m.me/YOURPAGE"),e("#custom-message-popup").show(),!1}}else if(o=!0,e("#cht-form #Phone").length&&""!=e("#cht-form #Phone").val()){var t=jQuery.trim(e("#cht-form #Phone").val());if(check_for_number_chaty(t,"Phone"))return e("#custom-message-popup .chaty-popup-header").text("Phone number is not valid"),e("#custom-message-popup .chaty-popup-body").text("Seems like the phone number you're trying to enter isn't in the right syntax. Would you like to publish it anyway?"),e("#custom-message-popup").show(),!1}}else{a=!0;if(e("#cht-form #Whatsapp").length&&""!=e("#cht-form #Whatsapp").val()){var t=jQuery.trim(e("#cht-form #Whatsapp").val());if(check_for_number_chaty(t,"Whatsapp"))return e("#custom-message-popup .chaty-popup-header").text("Whatsapp number is not valid"),e("#custom-message-popup .chaty-popup-body").text("Seems like the WhatsApp number you're trying to enter isn't in the right syntax. Would you like to publish it anyway?"),e("#custom-message-popup").show(),!1}}return r()}e(document).ready(function(){jQuery(document).on("click","#update-chaty-traffic-source-rule",function(e){jQuery(".traffic-options-box").addClass("active"),jQuery("#chaty_traffic_source").val("yes")}),jQuery(document).on("click","#remove-traffic-rules",function(e){jQuery(".traffic-options-box").removeClass("active"),jQuery("#chaty_traffic_source").val("no")}),jQuery(document).on("click",".remove-traffic-option",function(e){jQuery(this).closest(".custom-traffic-rule").remove()}),e(document).on("click",".chaty-switch-toggle",function(){setTimeout(function(){e(".chaty-field-setting").each(function(){e(this).is(":checked")?e(this).closest(".field-setting-col").find(".field-settings").addClass("active"):e(this).closest(".field-setting-col").find(".field-settings").removeClass("active")})},100)}),e(document).on("change",".chaty-close_form_after-setting",function(){setTimeout(function(){e(".chaty-close_form_after-setting").each(function(){e(this).is(":checked")?e(this).closest(".form-field-setting-col").find(".close_form_after-settings").addClass("active"):e(this).closest(".form-field-setting-col").find(".close_form_after-settings").removeClass("active")})},100)}),e("#channel_input_Whatsapp").length&&(cht_settings.channel_settings.Whatsapp=document.querySelector("#channel_input_Whatsapp"),window.intlTelInput(cht_settings.channel_settings.Whatsapp,{dropdownContainer:document.body,formatOnDisplay:!0,hiddenInput:"full_number",initialCountry:"auto",nationalMode:!1,utilsScript:cht_settings.plugin_url+"admin/assets/js/utils.js"})),e(".custom-channel-Whatsapp:not(#channel_input_Whatsapp)").length&&e(".custom-channel-Whatsapp:not(#channel_input_Whatsapp)").each(function(){var t=e(this).closest("li.chaty-channel").data("id");null!=t&&e("#channel_input_"+t).length&&(cht_settings.channel_settings[t]=document.querySelector("#channel_input_"+t),window.intlTelInput(cht_settings.channel_settings[t],{dropdownContainer:document.body,formatOnDisplay:!0,hiddenInput:"full_number",initialCountry:"auto",nationalMode:!1,utilsScript:cht_settings.plugin_url+"admin/assets/js/utils.js"}))}),e(document).on("change",".chaty-redirect-setting",function(){setTimeout(function(){e(".chaty-redirect-setting").each(function(){e(this).is(":checked")?e(this).closest(".form-field-setting-col").find(".redirect_action-settings").addClass("active"):e(this).closest(".form-field-setting-col").find(".redirect_action-settings").removeClass("active")})},100)}),e(document).on("click",".email-setting",function(){setTimeout(function(){e(".email-setting-field").each(function(){e(this).is(":checked")?e(this).closest(".form-field-setting-col").find(".email-settings").addClass("active"):e(this).closest(".form-field-setting-col").find(".email-settings").removeClass("active")})},100)}),e(document).on("click",".chaty-embedded-window",function(){setTimeout(function(){e(".embedded_window-checkbox").each(function(){e(this).is(":checked")?e(this).closest("li.chaty-channel").find(".whatsapp-welcome-message").addClass("active"):e(this).closest("li.chaty-channel").find(".whatsapp-welcome-message").removeClass("active")})},300)}),e(document).on("change","#cht-form input",function(){a=!1,o=!1,c=!1,n=!1,i=!1,s=!1}),e("#cht-form").on("submit",function(){if(t)return!0;set_social_channel_order();var a=0;return e("#chaty-page-options .cht-required").length&&e("#chaty-page-options .cht-required").each(function(){""==jQuery.trim(e(this).val())&&(e(this).addClass("cht-input-error"),a++)}),e(".chaty-data-and-time-rules .cht-required").length&&e(".chaty-data-and-time-rules .cht-required").each(function(){""==jQuery.trim(e(this).val())&&(e(this).addClass("cht-input-error"),a++)}),0==a?h():(e(".cht-input-error:first").focus(),!1)}),e(".close-chaty-popup-btn").on("click",function(t){t.stopPropagation(),e(".chaty-popup").hide(),e(this).hasClass("channel-setting-btn")?e("body, html").animate({scrollTop:e("#channel-list").offset().top-125},250):e(this).hasClass("select-trigger-btn")?e("body, html").animate({scrollTop:e("#trigger-setting").offset().top-50},250):e(this).hasClass("change-status-btn")&&e("body, html").animate({scrollTop:e("#launch-section").offset().top-100},250)}),e(".chaty-popup-inner").on("click",function(e){e.stopPropagation()}),e(".chaty-popup-outer").on("click",function(t){e(".chaty-popup").hide()}),e(".check-for-numbers").on("click",function(){h()}),e(".check-for-device").on("click",function(){r()}),e(".check-for-triggers").on("click",function(){l()}),e(".check-for-status").on("click",function(){u()}),e(".change-status-and-save").on("click",function(){e(".cht_active").prop("checked",!0),t=!0,e(".chaty-popup").hide(),e("#cht-form").trigger("submit")}),e(".status-and-save").on("click",function(){e(".cht_active").prop("checked",!1),t=!0,e(".chaty-popup").hide(),e("#cht-form").trigger("submit")}),e(document).on("click",".preview-section-chaty",function(e){e.stopPropagation()}),e(document).on("click",".preview-section-overlay",function(){e(".preview-help-btn").removeClass("active"),e(".preview-section-chaty").removeClass("active"),e(".preview-section-overlay").removeClass("active")}),e(document).on("click",".preview-help-btn",function(t){return t.preventDefault(),e(this).hasClass("active")?(e(this).removeClass("active"),e(".preview-section-chaty").removeClass("active"),e(".preview-section-overlay").removeClass("active")):(e(this).addClass("active"),e(".preview-section-chaty").addClass("active"),e(".preview-section-overlay").addClass("active")),!1}),jQuery(document).on("click","#create-date-rule",function(e){jQuery("#date-schedule").addClass("active"),jQuery("#cht_date_rules").val("yes")}),jQuery(document).on("click","#remove-date-rule",function(e){jQuery("#date-schedule").removeClass("active"),jQuery("#cht_date_rules").val("no")})})}),function(e){jQuery(window).on("popstate",function(e){window.onbeforeunload=null,window.history&&window.history.pushState&&window.history.back()}),jQuery(document).ready(function(){jQuery(".chaty-table").length||jQuery("body input, body .icon, body textarea, body .btn-cancel:not(.close-btn-set) ").on("click",function(e){window.onbeforeunload=function(e){(e=e||window.event).preventDefault=!0,e.cancelBubble=!0,e.returnValue="Your beautiful goodbye message"}}),jQuery(document).on("submit","form",function(e){window.onbeforeunload=null}),jQuery(document).on("change",".channel-select-input",function(t){var a=e(this).closest("li").attr("data-id");jQuery.ajax({type:"POST",url:ajaxurl,dataType:"json",data:{social:jQuery(this).val(),channel:a,action:"get_chaty_settings"},success:function(t){1==t.status&&("Whatsapp"==t.data.slug?e("#channel_input_"+t.channel).length&&(cht_settings.channel_settings[t.channel]=document.querySelector("#channel_input_"+t.channel),window.intlTelInput(cht_settings.channel_settings[t.channel],{dropdownContainer:document.body,formatOnDisplay:!0,hiddenInput:"full_number",initialCountry:"auto",nationalMode:!1,utilsScript:cht_settings.plugin_url+"admin/assets/js/utils.js"})):e("#chaty-social-"+t.channel+" .channels__input-box").html("<input type='text' class='channels__input' name='cht_social_"+t.channel+"[value]' id='channel_input_"+t.channel+"' />"),jQuery(".custom-icon-"+t.channel+" svg").html(t.data.svg),jQuery("#chaty-social-"+t.channel).attr("data-channel",t.data.slug),jQuery("#chaty-social-"+t.channel).find(".sp-preview-inner").css("background-color",t.data.color),jQuery("#chaty-social-"+t.channel).find(".chaty-color-field").val(t.data.color),jQuery("#chaty-social-"+t.channel).find(".channels__input").attr("placeholder",t.data.placeholder),jQuery("#chaty-social-"+t.channel).find(".channel-example").text(t.data.example),jQuery("#chaty-social-"+t.channel).find(".chaty-title").val(t.data.title),jQuery("#chaty-social-"+t.channel).find(".icon").attr("data-title",t.data.title),jQuery("#chaty-social-"+t.channel).find(".chaty-color-field").trigger("change"),jQuery(".help-section").html(""),""!=t.data.help_link?jQuery(".help-section").html('<div class="viber-help"><a target="_blank" href="'+t.data.help_link+'">'+t.data.help_title+"</a></div>"):""!=t.data.help_text&&jQuery(".help-section").html('<div class="viber-help"><span class="help-text">'+t.data.help_text+'</span><span class="help-title">'+t.data.help_title+"</span></div>"))}})}),jQuery(document).on("click","#chaty_icons_view",function(e){jQuery(".page-body .chaty-widget").removeClass("vertical").removeClass("horizontal"),jQuery(".page-body .chaty-widget").addClass(jQuery(this).val())}),jQuery(".upg").on("click",function(e){jQuery(".valid_domain_input").val(jQuery(".valid_domain_input").val().replace(" ","")),/^(http(s)?:\/\/)?(www\.)?[a-z0-9]+([\-\.]{1}[a-z0-9]+)*\.[a-z]{2,5}(:[0-9]{1,5})?(\/.*)?$/.test(jQuery(".valid_domain_input").val())||(e.preventDefault(),jQuery(".valid_domain").fadeIn().css({display:"block"}))}),jQuery(".del_token").on("click",function(t){e.ajax({type:"POST",url:ajaxurl,data:{action:"del_token",nonce_code:cht_nonce_ajax.cht_nonce},success:function(e){location.reload()},error:function(e,t,a){}})}),jQuery(document).on("blur","#channels-selected-list > li:not(#chaty-social-close) .channels__input",function(){jQuery(this).hasClass("border-red")&&""!=jQuery(this).val()&&jQuery(this).removeClass("border-red")});var t=1000000003;jQuery(".show_up").on("click",function(){t+=10,jQuery("#upgrade-modal").css({"z-index":t,display:"block","margin-left":"-258px"})}),jQuery(".color-picker-btn, .color-picker-btn-close, .color-picker-custom button").on("click",function(e){e.preventDefault(),jQuery(".color-picker-box").toggle(),jQuery(".color-picker-btn").toggle()}),jQuery(".color-picker-radio input").on("change",function(){var e=jQuery(this);if(jQuery('.color-picker-custom input[name="cht_custom_color"]').val(""),jQuery(".color-picker-custom .circle").html("?").css({"background-color":"#fff"}),e.prop("checked")){jQuery(".color-picker-radio input").prop("checked",!1),e.prop("checked",!0);var t=e.val(),a=e.prop("title")}else t=jQuery(".color-picker-custom input").val(),a="Custom";""!=t&&-1==t.indexOf("#")&&(t="#"+t),jQuery(".color-picker-btn .circle").css({backgroundColor:t}),jQuery(".color-picker-btn .text").text(a),jQuery("#chaty-social-close ellipse").attr("fill",t)}),jQuery(".color-picker-custom input").on("change",function(){jQuery(".color-picker-radio input").prop("checked",!1);var e=jQuery(this).val();""!=e&&-1==e.indexOf("#")&&(e="#"+e),jQuery(".color-picker-btn .circle").css({backgroundColor:e}),jQuery(".color-picker-btn .text").text("Custom"),jQuery("#chaty-social-close ellipse").attr("fill",e)}),jQuery('[name="cht_position"]').on("change",function(){jQuery("#positionCustom").prop("checked")?jQuery("#positionPro").show():jQuery("#positionPro").hide()}),jQuery(".update_token").on("click",function(t){t.preventDefault();var a=jQuery('input[name="cht_token"]').val();e.ajax({type:"POST",url:ajaxurl,data:{action:"add_token",nonce_code:cht_nonce_ajax.cht_nonce,token:a},beforeSend:function(e){},success:function(e){e?(alert("Your pro plan is activated"),location.reload()):alert("You`ve entered a wrong token")},error:function(e,t,a){}})}),jQuery("textarea[name=cht_cta]").on("keyup",function(e){if(jQuery(".tooltiptext span").html(jQuery(this).val()),0==jQuery(this).val().length)jQuery(".cta").hide(200),jQuery(".tooltiptext span").hide(200);else{jQuery(".cta").show(300),jQuery(".tooltiptext span").show(200);var t=jQuery(".tooltiptext span").html();count=(t.match(/\n/g)||[]).length,count>0?jQuery(".tooltiptext").addClass("has-multiline").removeClass("line-1").removeClass("line-2").removeClass("line-3").addClass("line-"+count):jQuery(".tooltiptext").removeClass("has-multiline")}}),jQuery("textarea[name=cht_cta]").trigger("keyup")})}(jQuery),function(e){jQuery(document).ready(function(){!function(){function e(){var e=jQuery("#positionBottom"),t=jQuery("#positionSide"),a=jQuery(".preview .page .chaty-widget"),o=jQuery('[name="cht_position"]:checked').val();if("right"===o)a.css({right:"7px",left:"auto",bottom:"7px"});else if("left"===o)a.css({left:"7px",right:"auto",bottom:"7px"});else if("custom"===o){if(e.val())var c=e.val()+"px";else c="7px";if(t.val())var n=t.val()+"px";else n="7px";e.on("change",function(){c=jQuery("#positionBottom").val()+"px",a.css({bottom:c})}),t.on("change",function(){var e=jQuery('[name="positionSide"]:checked').val();n=jQuery(this).val()+"px","right"===e?(jQuery(".page-body .chaty-widget ").removeClass("chaty-widget-icons-left"),jQuery(".page-body .chaty-widget ").addClass("chaty-widget-icons-right"),a.css({right:n,left:"auto"})):"left"===e&&(jQuery(".page-body .chaty-widget ").removeClass("chaty-widget-icons-right"),jQuery(".page-body .chaty-widget ").addClass("chaty-widget-icons-left"),a.css({left:n,right:"auto"}))}),jQuery('[name="positionSide"]').on("change",function(){var e=jQuery('[name="positionSide"]:checked').val();"right"===e?(jQuery(".page-body .chaty-widget ").removeClass("chaty-widget-icons-left"),jQuery(".page-body .chaty-widget ").addClass("chaty-widget-icons-right"),a.css({right:n,left:"auto"})):"left"===e&&(jQuery(".page-body .chaty-widget ").removeClass("chaty-widget-icons-right"),jQuery(".page-body .chaty-widget ").addClass("chaty-widget-icons-left"),a.css({left:n,right:"auto"}))})}}jQuery(".color-picker-radio input").on("change",function(){var e=jQuery(this);e.prop("checked")?e.val():jQuery(".color-picker-custom input").val(),u()}),jQuery(".color-picker-custom input").on("change",function(){jQuery(this).val(),u()}),jQuery(document).on("change","#chaty_default_state",function(){u()}),jQuery("#cht_close_button, #trigger_on_time, #chaty_trigger_on_scroll").on("click",function(){u()}),function(){var e=jQuery("#widgetTooltip"),t=jQuery(".preview .page .icon");function a(){jQuery("[name=cht_cta]").length&&(jQuery("[name=cht_cta]").val().length>=1?t.removeClass("no-tooltip"):t.addClass("no-tooltip"))}a(),e.on("change",function(){a()})}(),e(),jQuery('input[name="cht_position"]').on("change",function(){var t=jQuery('[name="cht_position"]:checked').val();"right"===t?(jQuery(".page-body .chaty-widget ").removeClass("chaty-widget-icons-left"),jQuery(".page-body .chaty-widget ").addClass("chaty-widget-icons-right")):"left"===t&&(jQuery(".page-body .chaty-widget ").removeClass("chaty-widget-icons-right"),jQuery(".page-body .chaty-widget ").addClass("chaty-widget-icons-left")),e()})}(),jQuery(".popover").hide(),o();var t=jQuery(".channels-icons > .icon-sm"),a=jQuery(".social-inputs");function o(){jQuery("section").is("#pro")||(jQuery(".channels-selected__item").length<=1?(jQuery(".channels-selected__item").hide(),jQuery(".popover").hide()):jQuery(".channels-selected__item").length>=2&&jQuery(".channels-selected__item").show())}jQuery("input[name=cht_custom_color]").on("keyup",function(e){var t=jQuery(this).val();(jQuery(".circle").html(""),""!=t)&&(-1==t.indexOf("#")&&(t="#"+t),jQuery(".color-picker-custom .circle").css({"background-color":t}));jQuery(this).val().length<1&&jQuery(".color-picker-custom .circle").html("?")}),t.on("click",function(){0,o();var c=jQuery(this),n=c.data("social");a.find(".social-form-group");if(c.hasClass("active")){var i=","+jQuery(this).attr("data-social");return s=(s=jQuery(".add_slug").val()).replace(i,""),jQuery(".add_slug").val(s),s=s.replace(i,""),jQuery(".add_slug").val(s),s=s.replace(i,""),jQuery(".add_slug").val(s),s=s.replace(i,""),jQuery(".add_slug").val(s),void c.toggleClass("active")}if(t.addClass("disabled"),icon=jQuery(this).data("social"),"1"==jQuery(".add_slug").val().indexOf(icon)&&""!=jQuery(".add_slug").val()){var s;i=","+icon;s=(s=jQuery(".add_slug").val()).replace(i,""),jQuery(".add_slug").val(s),s=s.replace(i,""),jQuery(".add_slug").val(s),s=s.replace(i,""),jQuery(".add_slug").val(s)}else jQuery(".add_slug").val(jQuery(".add_slug").val()+","+jQuery(this).attr("data-social"));if(!jQuery("section").is("#pro")&&jQuery(".channels-icons > .icon.active").length>=2)return t.removeClass("disabled"),jQuery(".popover").show(),jQuery(".popover .upgrade-link").addClass("active"),void setTimeout(function(){jQuery(".popover .upgrade-link").removeClass("active")},1e3);if(c.toggleClass("active"),jQuery("section").is("#pro"))var r="pro";else r="free";e.ajax({type:"POST",dataType:"json",url:ajaxurl,data:{action:"choose_social",social:n,nonce_code:cht_nonce_ajax.cht_nonce,version:r,widget_index:jQuery("#widget_index").val()},beforeSend:function(e){},success:function(a){var c=jQuery(a),i=c.find(".icon").data("title");c.data("channel");jQuery('.channels-selected div[data-social="'+i+'"]').length||(jQuery("#chaty-social-close").before(c),jQuery("#chaty-social-"+n+" .chaty-whatsapp-setting-textarea").length&&(editorId=jQuery("#chaty-social-"+n+" .chaty-whatsapp-setting-textarea").attr("id"),tinymce.execCommand("mceAddEditor",!0,editorId))),t.removeClass("disabled"),e("#iconWidget").show(),u(),o(),set_social_channel_order(),check_for_chaty_close_button(),jQuery(".chaty-color-field").spectrum({chooseText:"Submit",preferredFormat:"hex",showInput:!0,cancelText:"Cancel",showAlpha:!0,move:function(e){jQuery(this).val(e.toRgbString())},change:function(e){jQuery(this).val(e.toRgbString()),chaty_set_bg_color()}}),check_for_chaty_close_button(),"Whatsapp"==n&&e("#channel_input_Whatsapp").length&&(cht_settings.channel_settings.Whatsapp=document.querySelector("#channel_input_Whatsapp"),window.intlTelInput(cht_settings.channel_settings.Whatsapp,{dropdownContainer:document.body,formatOnDisplay:!0,hiddenInput:"full_number",initialCountry:"auto",nationalMode:!1,utilsScript:cht_settings.plugin_url+"admin/assets/js/utils.js"})),jQuery(".custom-channel-Whatsapp").length&&jQuery(".custom-channel-Whatsapp").each(function(){if(!jQuery(this).closest(".iti__flag-container").length){var e=jQuery(this).closest("li.chaty-channel").data("id");jQuery("#channel_input_"+e).length&&(cht_settings.channel_settings[e]=document.querySelector("#channel_input_"+e),window.intlTelInput(cht_settings.channel_settings[e],{dropdownContainer:document.body,formatOnDisplay:!0,hiddenInput:"full_number",initialCountry:"auto",nationalMode:!1,utilsScript:cht_settings.plugin_url+"admin/assets/js/utils.js"}))}})},error:function(e,t,a){}}),o()}),jQuery("body").on("click",".icon, .btn-cancel:not(.close-btn-set)",function(e){if(!jQuery(this).hasClass("close-btn-set")&&(e.preventDefault(),!jQuery(this).hasClass("icon")||!jQuery(this).hasClass("active"))){if(icon=jQuery(this).data("social"),jQuery(this).hasClass("btn-cancel")){jQuery('.icon.active[data-social^="'+icon+'"]').removeClass("active");var t=","+icon,a=jQuery(".add_slug").val();a=a.replace(t,""),jQuery(".add_slug").val(a)}jQuery("#chaty-social-"+icon).remove();jQuery(this).parent(".channels-selected__item"),jQuery(this).data("social");u(),o(),set_social_channel_order(),check_for_chaty_close_button()}}),jQuery(".btn-help").on("click",function(e){window.open("https://premio.io/help/chaty/","_blank")}),jQuery(".free-custom-radio, .free-custom-checkbox").on("click",function(e){e.preventDefault()});var c=jQuery("[name=cht_cta]"),n=jQuery(".preview .tooltip-show");c.on("keyup",function(){var e=jQuery(".preview .page .icon");c.val().length>=1?e.removeClass("no-tooltip"):e.addClass("no-tooltip"),n.attr("data-title",c.val())});var i,s,r='<svg version="1.1" id="ch" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="-496 507.7 54 54" style="enable-background:new -496 507.7 54 54;" xml:space="preserve">\n <style type="text/css">.st0 {fill: #A886CD;} .st1 {fill: #FFFFFF;}\n </style><g><circle class="st0" cx="-469" cy="534.7" r="27"/></g><path class="st1" d="M-459.9,523.7h-20.3c-1.9,0-3.4,1.5-3.4,3.4v15.3c0,1.9,1.5,3.4,3.4,3.4h11.4l5.9,4.9c0.2,0.2,0.3,0.2,0.5,0.2 h0.3c0.3-0.2,0.5-0.5,0.5-0.8v-4.2h1.7c1.9,0,3.4-1.5,3.4-3.4v-15.3C-456.5,525.2-458,523.7-459.9,523.7z"/>\n <path class="st0" d="M-477.7,530.5h11.9c0.5,0,0.8,0.4,0.8,0.8l0,0c0,0.5-0.4,0.8-0.8,0.8h-11.9c-0.5,0-0.8-0.4-0.8-0.8l0,0\n C-478.6,530.8-478.2,530.5-477.7,530.5z"/>\n <path class="st0" d="M-477.7,533.5h7.9c0.5,0,0.8,0.4,0.8,0.8l0,0c0,0.5-0.4,0.8-0.8,0.8h-7.9c-0.5,0-0.8-0.4-0.8-0.8l0,0\n C-478.6,533.9-478.2,533.5-477.7,533.5z"/>\n </svg>',l=document.getElementById("iconWidget");jQuery(".color-picker-radio input:checked").val();function u(){var t,a,o=!1;if(jQuery(".single-channel-setting").addClass("active"),jQuery("#iconWidget").removeClass("img-p-active"),d()?(0===jQuery(".js-chanel-desktop:checked").length?(t=!1,jQuery(".page-body .chaty-widget").hide()):jQuery(".page-body .chaty-widget").show(),1===jQuery(".js-chanel-desktop:checked").length&&(t=jQuery(".js-chanel-desktop:checked").closest("li").find(".icon.icon-md").html(),jQuery(".js-chanel-desktop:checked").closest(".channels-selected__item").hasClass("img-active")&&jQuery("#iconWidget").addClass("img-p-active")),jQuery(".js-chanel-desktop:checked").length>1&&(t=r,o=!0)):(0===jQuery(".js-chanel-mobile:checked").length?(a=!1,jQuery(".page-body .chaty-widget").hide()):jQuery(".page-body .chaty-widget").show(),1===jQuery(".js-chanel-mobile:checked").length&&(a=jQuery(".js-chanel-mobile:checked").closest("li").find(".icon.icon-md").html(),jQuery(".js-chanel-mobile:checked").closest(".channels-selected__item").hasClass("img-active")&&jQuery("#iconWidget").addClass("img-p-active")),jQuery(".js-chanel-mobile:checked").length>1&&(a=r,o=!0)),i=t,s=a,d()?h(i,o):h(s,o),e("#iconWidget .pop-number").remove(),jQuery("#cht_pending_messages").is(":checked")){var c=jQuery("#cht_number_of_messages").val();""!=c&&c>0&&(e("#iconWidget").append("<span class='pop-number'>"+c+"</span>"),e("#iconWidget .pop-number").css("color",jQuery("#cht_number_color").val()),e("#iconWidget .pop-number").css("background",jQuery("#cht_number_bg_color").val()))}var n=".js-chanel-mobile";if(d())n=".js-chanel-desktop";"open"==jQuery("#chaty_default_state").val()&&jQuery(n+":checked").length>1&&e("#iconWidget .pop-number").remove(),e("#cta-box span").css("color",e("#cht_cta_text_color").val()),e("#cta-box span").css("background",e("#cht_cta_bg_color").val()),e("#custom-css").html("<style>.preview .page .chaty-widget .icon:before {border-color: transparent "+e("#cht_cta_bg_color").val()+" transparent transparent } .preview .page .chaty-widget[style*='left: auto;'] .icon:before {border-color: transparent transparent transparent "+e("#cht_cta_bg_color").val()+"}</style>"),jQuery(".single-channel-setting").addClass("active"),1===jQuery("#channel-list .icon.active").length&&(jQuery(".single-channel-setting").removeClass("active"),"open"==jQuery("#chaty_default_state").val()&&jQuery(".hide-show-button").removeClass("active"))}function h(e,t){if(jQuery("#iconWidget").length){if(l.innerHTML=e||"",t){var a=jQuery(".color-picker-custom input").val()?jQuery(".color-picker-custom input").val():jQuery(".color-picker-radio input:checked").val();if(""!=a)-1==a.indexOf("#")&&(a="#"+a);jQuery(".preview .page svg circle").css({fill:a}),jQuery("#chaty-social-close ellipse").attr("fill",a)}thisVal=jQuery("#chaty_default_state").val(),"open"==thisVal?jQuery(".hide-show-button").addClass("active"):jQuery(".hide-show-button").removeClass("active"),jQuery(".chaty-widget").removeClass("active").removeClass("hover").removeClass("click").removeClass("hide_arrow"),"open"==thisVal?(jQuery(".chaty-widget").addClass("active").addClass("click"),"open"==thisVal&&jQuery(o+":checked").length>1&&jQuery(".chaty-widget").addClass("hide_arrow")):"hover"==thisVal?jQuery(".chaty-widget").addClass("hover"):jQuery(".chaty-widget").addClass("click"),jQuery(".chaty-channels").html("");var o=".js-chanel-mobile";if(d())o=".js-chanel-desktop";"open"==thisVal&&jQuery(o+":checked").length>1?(jQuery("#chaty_attention_effect").val(""),jQuery("#chaty_attention_effect, .test_textarea").attr("disabled",!0),jQuery("#chaty_attention_effect option:first-child").text("Doesn't apply for the open state"),"Doesn't apply for the open state"!=jQuery(".test_textarea").val()&&jQuery(".test_textarea").attr("data-value",jQuery(".test_textarea").val()),jQuery(".test_textarea").val("Doesn't apply for the open state"),jQuery("#cht_number_of_messages").attr("disabled",!0),jQuery("#cht_pending_messages").attr("disabled",!0),jQuery(".disable-message").addClass("label-tooltip").addClass("icon"),jQuery("#cht_pending_messages").attr("checked",!1),jQuery(".pending-message-items").removeClass("active"),jQuery(".cta-action-radio input").attr("disabled",!0)):(jQuery("#chaty_attention_effect, .test_textarea").attr("disabled",!1),jQuery("#chaty_attention_effect option:first-child").text("None"),jQuery(".test_textarea").attr("placeholder",""),"Doesn't apply for the open state"==jQuery(".test_textarea").val()&&jQuery(".test_textarea").val(jQuery(".test_textarea").attr("data-value")),jQuery("#cht_number_of_messages").attr("disabled",!1),jQuery("#cht_pending_messages").attr("disabled",!1),jQuery(".disable-message").removeClass("label-tooltip").removeClass("icon"),jQuery(".cta-action-radio input").attr("disabled",!1)),jQuery(".page-body .chaty-widget").removeClass("vertical").removeClass("horizontal"),jQuery(o+":checked").length>1?(jQuery(o+":checked").each(function(){var e=jQuery(this).closest("li").find(".icon").html(),t=(e=jQuery(this).closest("li").find(".icon").html(),jQuery(this).closest("li").find(".chaty-title").val()),a=jQuery(this).closest(".channels-selected__item").hasClass("img-active")?"img-active":"";""!=t&&(t="<span class='social-tooltip'>"+t+"</span>"),jQuery(".chaty-channels").append("<div class='social-item-box "+a+"'><span class='tooltip-icon'>"+e+"</span>"+t+"</div>")}),"open"==jQuery("#chaty_default_state").val()&&jQuery("#cht_close_button").is(":checked")?(jQuery("#iconWidget").css("display","block"),jQuery(".chaty-widget .tooltiptext").css("display","block"),jQuery(".chaty-widget").removeClass("hide-arrow")):"open"!=jQuery("#chaty_default_state").val()?(jQuery("#iconWidget").css("display","block"),jQuery(".chaty-widget .tooltiptext").css("display","block"),jQuery(".chaty-widget").removeClass("hide-arrow")):"open"==jQuery("#chaty_default_state").val()&&(jQuery("#iconWidget").hide(),jQuery(".chaty-widget .tooltiptext").hide(),jQuery(".chaty-widget").addClass("hide-arrow")),jQuery(".chaty-widget").removeClass("has-single"),jQuery(".page-body .chaty-widget").addClass(jQuery("#chaty_icons_view").val())):1==jQuery(o+":checked").length?("open"!=jQuery("#chaty_default_state").val()||jQuery("#cht_close_button").is(":checked")?"open"!=jQuery("#chaty_default_state").val()&&(jQuery("#iconWidget").css("display","block"),jQuery(".chaty-widget .tooltiptext").css("display","block"),jQuery(".chaty-widget").removeClass("hide-arrow")):(jQuery("#iconWidget").css("display","block"),jQuery(".chaty-widget .tooltiptext").css("display","block"),jQuery(".chaty-widget").removeClass("hide-arrow")),jQuery(".chaty-widget").addClass("has-single"),jQuery(".chaty-widget").removeClass("hide-arrow")):0==jQuery(o+":checked").length&&(jQuery("#iconWidget").hide(),jQuery(".chaty-widget .tooltiptext").hide(),jQuery(".chaty-widget").addClass("hide-arrow"),jQuery(".chaty-widget").removeClass("has-single")),jQuery(".chaty-channels .remove-icon-img").remove(),jQuery("#trigger_on_time").is(":checked")?jQuery("#chaty_trigger_time").attr("readonly",!1):jQuery("#chaty_trigger_time").attr("readonly",!0),jQuery("#chaty_trigger_on_scroll").is(":checked")?jQuery("#chaty_trigger_on_page_scroll").attr("readonly",!1):jQuery("#chaty_trigger_on_page_scroll").attr("readonly",!0),""==jQuery(".chaty-widget .tooltiptext").text()?jQuery(".chaty-widget .tooltiptext").hide():"open"==jQuery("#chaty_default_state").val()&&jQuery(o+":checked").length>1?jQuery(".chaty-widget .tooltiptext").hide():jQuery(".chaty-widget .tooltiptext").css("display","block")}}function d(){return"checked"===jQuery("#previewDesktop").attr("checked")}jQuery("#testUpload").on("change",function(){this.value.length>0?document.querySelector(".js-upload").disabled=!1:(document.querySelector(".js-upload").disabled=!0,document.getElementById("uploadInput").checked=!1)}),jQuery(document).on("keyup","textarea.test_textarea",function(){u()}),jQuery(".js-switch-preview").on("change",function(){d()?jQuery(this).closest(".preview").removeClass("mobiel-view"):jQuery(this).closest(".preview").addClass("mobiel-view"),u()}),jQuery(document).on("change","input[name='cht_pending_messages']",function(){jQuery("#cht_pending_messages").is(":checked")?jQuery(".pending-message-items").addClass("active"):jQuery(".pending-message-items").removeClass("active"),u()}),jQuery(document).on("change","#cht_number_of_messages",function(){u()}),jQuery(document).on("keyup","#cht_number_of_messages",function(){u()}),jQuery(document).on("blur","#cht_number_of_messages",function(){u()}),jQuery(document).on("change",".js-chanel-icon",function(){u()}),jQuery(document).on("change",".js-widget-i",function(e){r=e.target.classList.contains("js-upload")?jQuery(".file-preview-image").last().parent().html():jQuery("i[data-type="+jQuery(".js-widget-i:checked").val()+"]").html(),u()}),"chat-image"!==jQuery(".js-widget-i:checked").attr("data-type")&&(r=jQuery("i[data-type="+jQuery(".js-widget-i:checked").attr("data-type")+"]").html(),u())}),jQuery(window).on("load",function(){jQuery("#setting-error-settings_updated").length&&(jQuery(".toast-message").show(),jQuery(".toast-message").addClass("active"),setTimeout(function(){jQuery(".toast-message").removeClass("active")},5e3))}),jQuery(document).ready(function(){jQuery(document).on("click",".toast-close-btn a",function(e){e.preventDefault(),jQuery(".toast-message").removeClass("active")}),jQuery(document).on("click",".chaty-popup-box button, #chaty-intro-popup",function(t){t.stopPropagation();var a=jQuery("#chaty_update_popup_status").val();e("#chaty-intro-popup").remove(),e.ajax({type:"POST",url:ajaxurl,data:{action:"update_popup_status",nonce:a},beforeSend:function(e){},success:function(e){},error:function(e,t,a){}})}),jQuery(document).on("click",".chaty-popup-box",function(e){e.stopPropagation()}),jQuery(document).on("click",".remove-chaty-options",function(t){t.preventDefault(),t.stopPropagation(),confirm("Are you sure you want to delete this widget?")&&e.ajax({type:"POST",url:ajaxurl,data:{action:"remove_chaty_widget",nonce_code:cht_nonce_ajax.cht_nonce,widget_index:jQuery("#widget_index").val()},beforeSend:function(e){},success:function(e){window.location=e},error:function(e,t,a){}})});window.location.href;window.location.href.indexOf("page=chaty-app&widget=")>-1&&jQuery("#toplevel_page_chaty-app .wp-submenu.wp-submenu-wrap li").each(function(){var e=jQuery(this).find("a").attr("href");void 0!==e&&(jQuery(this).removeClass("current"),window.location.href.indexOf(e)>-1&&e.indexOf("&widget=")>-1&&jQuery(this).addClass("current"))})})}(jQuery),jQuery(window).on("resize",function(){check_for_preview_pos()}),jQuery(window).on("scroll",function(){check_for_preview_pos()}),jQuery(document).ready(function(){check_for_preview_pos()});var totalPageOptions=0,pageOptionContent="",totalDateAndTimeOptions=0,dateAndTimeOptionContent="";jQuery(document).ready(function(){function e(){jQuery(".chaty-whatsapp-setting-textarea").length&&jQuery(".chaty-whatsapp-setting-textarea").each(function(){jQuery("#cht_social_embedded_message_"+jQuery(this).data("id")+"_ifr").length&&tinymce.get(jQuery(this).attr("id")).remove(),tinymce.execCommand("mceAddEditor",!0,jQuery(this).attr("id"))})}totalPageOptions=parseInt(jQuery(".chaty-page-option").length),pageOptionContent=jQuery(".chaty-page-options-html").html(),jQuery(".chaty-page-options-html").remove(),totalDateAndTimeOptions=parseInt(jQuery(".chaty-date-time-option").length),dateAndTimeOptionContent=jQuery(".chaty-date-and-time-options-html").html(),jQuery(".chaty-date-and-time-options-html").remove(),jQuery("#create-rule").on("click",function(){jQuery(".page-options").toggle()}),jQuery("#create-data-and-time-rule").on("click",function(){jQuery(".chaty-data-and-time-rules").toggle()}),jQuery(document).on("change","#chaty_attention_effect",function(){var e=jQuery(this).attr("data-effect");""!=e&&jQuery("#iconWidget").removeClass("chaty-animation-"+e),jQuery("#iconWidget").removeClass("start-now"),jQuery("#iconWidget").addClass("chaty-animation-"+jQuery(this).val()).addClass("start-now"),jQuery(this).attr("data-effect",jQuery(this).val())}),setInterval(function(){var e=jQuery("#chaty_attention_effect").attr("data-effect");""!=e?(jQuery("#iconWidget").removeClass("chaty-animation-"+e),jQuery("#iconWidget").removeClass("start-now"),setTimeout(function(){jQuery("#iconWidget").addClass("chaty-animation-"+jQuery("#chaty_attention_effect").val()).addClass("start-now")},1e3)):jQuery("#chaty_attention_effect").attr("data-effect",jQuery("#chaty_attention_effect").val())},5e3),jQuery(document).on("click",".remove-chaty",function(){jQuery(".page-options").toggle()}),jQuery(document).on("click",".remove-page-option",function(){jQuery(".chaty-data-and-time-rules ").toggle()}),jQuery("#image-upload-content .custom-control-label").on("click",function(e){return e.stopPropagation(),jQuery(this).closest(".custom-control").find("input[type=radio]").attr("checked",!0),jQuery(".js-widget-i").trigger("change"),!1}),jQuery(".chaty-color-field").spectrum({chooseText:"Submit",preferredFormat:"hex",cancelText:"Cancel",showInput:!0,showAlpha:!0,move:function(e){jQuery(this).val(e.toHexString()),jQuery("#cta-box span").css("color",jQuery("#cht_cta_text_color").val()),jQuery("#cta-box span").css("background",jQuery("#cht_cta_bg_color").val()),jQuery("#custom-css").html("<style>.preview .page .chaty-widget .icon:before {border-color: transparent "+jQuery("#cht_cta_bg_color").val()+" transparent transparent } .preview .page .chaty-widget[style*='left: auto;'] .icon:before {border-color: transparent transparent transparent "+jQuery("#cht_cta_bg_color").val()+"}</style>")},change:function(e){jQuery(this).val(e.toRgbString()),chaty_set_bg_color(),jQuery("#cta-box span").css("color",jQuery("#cht_cta_text_color").val()),jQuery("#cta-box span").css("background",jQuery("#cht_cta_bg_color").val()),jQuery("#custom-css").html("<style>.preview .page .chaty-widget .icon:before {border-color: transparent "+jQuery("#cht_cta_bg_color").val()+" transparent transparent } .preview .page .chaty-widget[style*='left: auto;'] .icon:before {border-color: transparent transparent transparent "+jQuery("#cht_cta_bg_color").val()+"}</style>")}}),jQuery(".chaty-color-field").on("change",function(){chaty_set_bg_color(),change_custom_preview()}),jQuery(".remove-chaty-img").on("click",function(e){e.stopPropagation()}),jQuery("#channels-selected-list").sortable({placeholder:"ui-chaty-state-hl",items:"li:not(#chaty-social-close)",stop:function(){e()},update:function(t,a){set_social_channel_order(),change_custom_preview(),e()}}),jQuery(document).ready(function(){e()}),jQuery(".close-button-img img, .close-button-img .image-upload").on("click",function(){var e=wp.media({title:"Upload Image",multiple:!1,library:{type:"image"}}).open().on("select",function(t){var a=e.state().get("selection").first();imageData=a.toJSON(),jQuery(".close-button-img").addClass("active"),jQuery(".close-button-img input").val(imageData.id),jQuery(".close-button-img img").attr("src",imageData.url),change_custom_preview()})}),jQuery(".remove-close-img").on("click",function(){default_image=jQuery("#default_image").val(),jQuery(".close-button-img").removeClass("active"),jQuery(".close-button-img input").val(""),jQuery(".close-button-img img").attr("src",default_image),change_custom_preview()}),jQuery(document).on("click",".chaty-widget.click",function(e){e.preventDefault(),jQuery(".chaty-widget").toggleClass("active")}),jQuery(document).on("change",".url-options.cht-required",function(e){thisVal=jQuery(this).val(),siteURL=jQuery("#chaty_site_url").val(),newURL=siteURL,"page_has_url"==thisVal?newURL=siteURL:"page_contains"==thisVal?newURL=siteURL+"%s%":"page_start_with"==thisVal?newURL=siteURL+"s%":"page_end_with"==thisVal&&(newURL=siteURL+"%s"),jQuery(this).closest(".url-content").find(".chaty-url").text(newURL)}),check_for_chaty_close_button(),chaty_set_bg_color(),change_custom_preview(),jQuery(".chaty-settings.cls-btn a, .close-btn-set").on("click",function(e){e.preventDefault(),jQuery(".cls-btn-settings, .close-btn-set").toggleClass("active")}),0==jQuery("input[name='cht_position']:checked").length&&(jQuery("#right-position").attr("checked",!0),jQuery("input[name='cht_position']:checked").trigger("change")),0==jQuery("input[name='widget_icon']:checked").length&&(jQuery("input[name='widget_icon']:first").attr("checked",!0),jQuery("input[name='widget_icon']:checked").trigger("change")),jQuery(".form-fonts").on("change",function(){var e=jQuery(this).val();jQuery(".chaty-google-font").remove(),""!=e?(jQuery(".form-fonts option:selected").data("group"),jQuery(".preview-section-chaty #admin-preview .page-body").css("font-family",e)):jQuery(".preview-section-chaty #admin-preview .page-body").attr("style","")})}),jQuery(window).on("load",function(){check_for_chaty_close_button(),chaty_set_bg_color(),jQuery(".chaty-page-options .chaty-page-option").removeClass("last"),jQuery(".chaty-page-options .chaty-page-option:last").addClass("last"),jQuery(".url-options.cht-required").each(function(){jQuery(this).trigger("change")});var e=jQuery(".form-fonts").val();jQuery(".chaty-google-font").remove(),""!=e&&(jQuery(".form-fonts option:selected").data("group"),jQuery(".preview-section-chaty #admin-preview .page-body").css("font-family",e))});var selectedsocialSlug="";function upload_chaty_image(e){selectedsocialSlug=e;var t=wp.media({title:"Upload Image",multiple:!1,library:{type:"image"}}).open().on("select",function(e){var a=t.state().get("selection").first();imageData=a.toJSON(),jQuery("#cht_social_image_"+selectedsocialSlug).val(imageData.id),jQuery(".custom-image-"+selectedsocialSlug+" img").attr("src",imageData.url),jQuery("#chaty-social-"+selectedsocialSlug+" .channels-selected__item").addClass("img-active"),change_custom_preview()})}function toggle_chaty_setting(e){if(jQuery("#chaty-social-"+e).find(".chaty-advance-settings").toggle(),"Contact_Us"==e&&jQuery("#Contact_Us-close-btn").length){var t=jQuery("#Contact_Us-close-btn").data("nonce");jQuery("#Contact_Us-close-btn").hasClass("active")||(jQuery("#Contact_Us-close-btn").addClass("active"),jQuery.ajax({type:"POST",url:ajaxurl,data:{nonce:t,action:"update_channel_setting"},success:function(e){}}))}change_custom_preview()}function chaty_set_bg_color(){jQuery(".chaty-color-field:not(.button-color)").each(function(){""!=jQuery(this).val()&&"#ffffff"!=jQuery(this).val()&&("Linkedin"!=jQuery(this).closest("li").data("id")||"Linkedin"==jQuery(this).closest("li").data("id")&&"#ffffff"!=jQuery(this).val())&&(defaultColor=jQuery(this).val(),jQuery(this).closest(".channels-selected__item").find(".color-element").css("fill",defaultColor),jQuery(this).closest(".channels-selected__item").find(".custom-chaty-image").css("background",defaultColor),jQuery(this).closest(".channels-selected__item").find(".facustom-icon").css("background",defaultColor))}),change_custom_preview()}function upload_qr_code(){var e=wp.media({title:"Upload QR Image",multiple:!1,library:{type:"image"}}).open().on("select",function(t){var a=e.state().get("selection").first();imageData=a.toJSON(),jQuery("#upload_qr_code_val").val(imageData.id),jQuery("#upload_qr_code img").attr("src",imageData.url),jQuery(".remove-qr-code").addClass("active"),change_custom_preview()})}function remove_qr_code(){jQuery(".remove-qr-code").removeClass("active"),jQuery("#upload_qr_code_val").val(""),default_image=jQuery("#default_image").val(),jQuery("#upload_qr_code img").attr("src",default_image),change_custom_preview()}function remove_chaty_image(e){default_image=jQuery("#default_image").val(),jQuery("#chaty-social-"+e+" .channels-selected__item").removeClass("img-active"),jQuery("#cht_social_image_"+e).val(""),jQuery("#cht_social_image_src_"+e).attr("src",default_image),change_custom_preview()}var baseIcon='<svg version="1.1" id="ch" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="-496 507.7 54 54" style="enable-background:new -496 507.7 54 54;" xml:space="preserve">\n <style type="text/css">.st0 {fill: #A886CD;} .st1 {fill: #FFFFFF;}\n </style><g><circle class="st0" cx="-469" cy="534.7" r="27"/></g><path class="st1" d="M-459.9,523.7h-20.3c-1.9,0-3.4,1.5-3.4,3.4v15.3c0,1.9,1.5,3.4,3.4,3.4h11.4l5.9,4.9c0.2,0.2,0.3,0.2,0.5,0.2 h0.3c0.3-0.2,0.5-0.5,0.5-0.8v-4.2h1.7c1.9,0,3.4-1.5,3.4-3.4v-15.3C-456.5,525.2-458,523.7-459.9,523.7z"/>\n <path class="st0" d="M-477.7,530.5h11.9c0.5,0,0.8,0.4,0.8,0.8l0,0c0,0.5-0.4,0.8-0.8,0.8h-11.9c-0.5,0-0.8-0.4-0.8-0.8l0,0\n C-478.6,530.8-478.2,530.5-477.7,530.5z"/>\n <path class="st0" d="M-477.7,533.5h7.9c0.5,0,0.8,0.4,0.8,0.8l0,0c0,0.5-0.4,0.8-0.8,0.8h-7.9c-0.5,0-0.8-0.4-0.8-0.8l0,0\n C-478.6,533.9-478.2,533.5-477.7,533.5z"/>\n </svg>',defaultIcon='<svg version="1.1" id="ch" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="-496 507.7 54 54" style="enable-background:new -496 507.7 54 54;" xml:space="preserve">\n <style type="text/css">.st0 {fill: #A886CD;} .st1 {fill: #FFFFFF;}\n </style><g><circle class="st0" cx="-469" cy="534.7" r="27"/></g><path class="st1" d="M-459.9,523.7h-20.3c-1.9,0-3.4,1.5-3.4,3.4v15.3c0,1.9,1.5,3.4,3.4,3.4h11.4l5.9,4.9c0.2,0.2,0.3,0.2,0.5,0.2 h0.3c0.3-0.2,0.5-0.5,0.5-0.8v-4.2h1.7c1.9,0,3.4-1.5,3.4-3.4v-15.3C-456.5,525.2-458,523.7-459.9,523.7z"/>\n <path class="st0" d="M-477.7,530.5h11.9c0.5,0,0.8,0.4,0.8,0.8l0,0c0,0.5-0.4,0.8-0.8,0.8h-11.9c-0.5,0-0.8-0.4-0.8-0.8l0,0\n C-478.6,530.8-478.2,530.5-477.7,530.5z"/>\n <path class="st0" d="M-477.7,533.5h7.9c0.5,0,0.8,0.4,0.8,0.8l0,0c0,0.5-0.4,0.8-0.8,0.8h-7.9c-0.5,0-0.8-0.4-0.8-0.8l0,0\n C-478.6,533.9-478.2,533.5-477.7,533.5z"/>\n </svg>',iconBlock=document.getElementById("iconWidget");function set_social_channel_order(){socialString=[],jQuery("#channels-selected-list li").each(function(){socialString.push(jQuery(this).attr("data-id"))}),socialString=socialString.join(","),jQuery("#cht_numb_slug").val(socialString),check_for_chaty_close_button()}function check_for_chaty_close_button(){jQuery("#channels-selected-list > li:not(.chaty-cls-setting)").length>=2?jQuery("#chaty-social-close").show():jQuery("#chaty-social-close").hide(),change_custom_preview();var e="";jQuery("#channels-selected-list > li").each(function(){"undefined"!=jQuery(this).attr("data-id")&&""!=jQuery(this).attr("data-id")&&(e+=jQuery(this).attr("data-id")+","),e=e.trimRight(",")}),jQuery(".add_slug").val(e)}function change_custom_preview(){var e,t,a=!1;jQuery("#iconWidget").removeClass("img-p-active"),getChtPreviewDesktop()?(0===jQuery(".js-chanel-desktop:checked").length&&(e=!1),1===jQuery(".js-chanel-desktop:checked").length&&(e=jQuery(".js-chanel-desktop:checked").closest("li").find(".icon.icon-md").html(),jQuery(".js-chanel-desktop:checked").closest(".channels-selected__item").hasClass("img-active")&&jQuery("#iconWidget").addClass("img-p-active")),jQuery(".js-chanel-desktop:checked").length>1&&(e=defaultIcon,a=!0)):(0===jQuery(".js-chanel-mobile:checked").length&&(t=!1),1===jQuery(".js-chanel-mobile:checked").length&&(t=jQuery(".js-chanel-mobile:checked").closest("li").find(".icon.icon-md").html(),jQuery(".js-chanel-mobile:checked").closest(".channels-selected__item").hasClass("img-active")&&jQuery("#iconWidget").addClass("img-p-active")),jQuery(".js-chanel-mobile:checked").length>1&&(t=defaultIcon,a=!0)),desktopIcon=e,mobileIcon=t,getChtPreviewDesktop()?setChtIcon(desktopIcon,a):setChtIcon(mobileIcon,a),jQuery("#channels-selected-list > li.chaty-channel").length<=1?jQuery(".o-channel, .font-section").removeClass("active"):jQuery(".o-channel, .font-section").addClass("active")}function getChtPreviewDesktop(){return"checked"===jQuery("#previewDesktop").attr("checked")}function setChtIcon(e,t){if(jQuery("iconWidget").length){if((iconBlock=document.getElementById("iconWidget")).innerHTML=e||"",t){var a=jQuery(".color-picker-custom input").val()?jQuery(".color-picker-custom input").val():jQuery(".color-picker-radio input:checked").val();jQuery(".preview .page svg circle").css({fill:a}),jQuery("#chaty-social-close ellipse").attr("fill",a)}jQuery(".js-widget-i:checked").trigger("change")}}
admin/class-admin-base.php CHANGED
@@ -55,6 +55,10 @@ class CHT_Admin_Base
55
  add_action('admin_footer', array($this, 'add_deactivate_modal'));
56
  add_action('wp_ajax_chaty_plugin_deactivate', array($this, 'chaty_plugin_deactivate'));
57
 
 
 
 
 
58
  add_action("wp_ajax_chaty_update_status", array($this, 'chaty_update_status'));
59
 
60
  /* load language files */
@@ -211,6 +215,14 @@ class CHT_Admin_Base
211
  /* admin css files */
212
  public function enqueue_styles($page)
213
  {
 
 
 
 
 
 
 
 
214
  $query_args = array(
215
  'family' => 'Rubik:400,700|Oswald:400,600',
216
  'subset' => 'latin,latin-ext'
@@ -219,6 +231,11 @@ class CHT_Admin_Base
219
  wp_enqueue_style($this->plugin_slug . 'spectrum', plugins_url('../admin/assets/css/spectrum.min.css', __FILE__), array(), CHT_VERSION);
220
  wp_enqueue_style($this->plugin_slug . 'intlTelInput', plugins_url('../admin/assets/css/intlTelInput.min.css', __FILE__), array(), CHT_VERSION);
221
  /* WP change this */
 
 
 
 
 
222
  wp_enqueue_style($this->plugin_slug, plugins_url('../admin/assets/css/cht-style.min.css', __FILE__), array(), CHT_VERSION);
223
  }
224
 
@@ -228,33 +245,44 @@ class CHT_Admin_Base
228
  }
229
 
230
  /* admin js files */
231
- public function enqueue_scripts()
232
- {
233
- $is_shown = get_option("chaty_update_message");
234
- if($is_shown !== false) {
235
- wp_enqueue_script($this->plugin_slug . 'fileinput', plugins_url('../admin/assets/js/fileinput.min.js', __FILE__), array('jquery'), CHT_VERSION);
236
- wp_enqueue_script($this->plugin_slug . 'spectrum', plugins_url('../admin/assets/js/spectrum.min.js', __FILE__), array('jquery'), CHT_VERSION);
237
- wp_enqueue_script($this->plugin_slug . 'pop', plugins_url('../admin/assets/js/popper.min.js', __FILE__), array('jquery'), CHT_VERSION);
238
- wp_enqueue_script($this->plugin_slug . 'intlTelInput', plugins_url('../admin/assets/js/intlTelInput.min.js', __FILE__), array('jquery'), CHT_VERSION);
239
-
240
- /* WP change this */
241
- wp_enqueue_editor();
242
- wp_enqueue_script($this->plugin_slug. 'chaty', plugins_url('../admin/assets/js/cht-scripts.min.js', __FILE__), array('jquery', 'wp-color-picker', 'jquery-ui-draggable', 'jquery-ui-droppable', 'jquery-ui-sortable'), CHT_VERSION);
243
- wp_localize_script($this->plugin_slug . 'chaty', 'cht_nonce_ajax',
244
- array(
245
- 'cht_nonce' => wp_create_nonce('cht_nonce_ajax')
246
- )
247
- );$whatsapp_settings = array();
248
- foreach($this->socials as $social) {
249
- $whatsapp_settings[$social['slug']] = "";
250
- }
251
- wp_localize_script($this->plugin_slug . 'chaty', 'cht_settings',
252
- array(
253
- 'plugin_url' => CHT_PLUGIN_URL,
254
- 'channel_settings' => $whatsapp_settings
255
- )
256
- );
257
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
258
  }
259
 
260
  public function cht_admin_setting_page()
@@ -299,7 +327,7 @@ class CHT_Admin_Base
299
  add_action('admin_print_styles-' . $upgrade_page, array($this, 'enqueue_styles'));
300
 
301
  /* creating admin sub menu for chaty */
302
- $upgrade_page = add_submenu_page(
303
  $this->plugin_slug,
304
  esc_attr__('Contact form leads', CHT_OPT),
305
  esc_attr__('Contact form leads', CHT_OPT),
@@ -307,7 +335,7 @@ class CHT_Admin_Base
307
  "chaty-contact-form-feed",
308
  array($this, 'chaty_contact_form_feed')
309
  );
310
- add_action('admin_print_styles-' . $upgrade_page, array($this, 'enqueue_styles')); /* creating admin sub menu for chaty */
311
 
312
  $getData = filter_input_array(INPUT_GET);
313
  if(isset($getData['hide_chaty_recommended_plugin']) && isset($getData['nonce'])) {
@@ -339,12 +367,10 @@ class CHT_Admin_Base
339
  $this->upgrade_slug,
340
  array($this, 'display_cht_admin_upgrade_page')
341
  );
342
- add_action('admin_print_styles-' . $widget_page, array($this, 'enqueue_styles'));
343
  add_action('admin_print_styles-' . $upgrade_page, array($this, 'enqueue_pricing_styles'));
344
  }
345
  // Load public-facing style sheet and JavaScript.
346
  add_action('admin_print_styles-' . $this->page, array($this, 'enqueue_styles'));
347
- add_action('admin_print_scripts-' . $this->page, array($this, 'enqueue_scripts'));
348
  }
349
 
350
 
@@ -506,8 +532,17 @@ class CHT_Admin_Base
506
  }
507
  if($chaty_leads) {
508
  $delete = $wpdb->query("DELETE FROM {$table_name} WHERE id IN(".$chaty_leads.")");
509
- wp_redirect(admin_url("admin.php?page=chaty-contact-form-feed"));
510
- exit;
 
 
 
 
 
 
 
 
 
511
  }
512
  }
513
  }
@@ -530,8 +565,17 @@ class CHT_Admin_Base
530
  } else {
531
  $delete = $wpdb->query("DELETE FROM {$table_name} WHERE id IN(" . $chaty_leads . ")");
532
  }
533
- wp_redirect(admin_url("admin.php?page=chaty-contact-form-feed"));
534
- exit;
 
 
 
 
 
 
 
 
 
535
  }
536
  }
537
  }
@@ -1813,9 +1857,4 @@ class CHT_Admin_Base
1813
  wp_die();
1814
  }
1815
  }
1816
-
1817
- add_action('update_option_chaty_updated_on', function( $old_value, $value ) {
1818
- wp_redirect("admin.php?page=chaty-app");
1819
- exit;
1820
- }, 10, 2);
1821
  new CHT_Admin_Base();
55
  add_action('admin_footer', array($this, 'add_deactivate_modal'));
56
  add_action('wp_ajax_chaty_plugin_deactivate', array($this, 'chaty_plugin_deactivate'));
57
 
58
+ add_action('admin_enqueue_scripts', array($this, 'enqueue_styles'), 99);
59
+
60
+ add_action('admin_enqueue_scripts', array($this, 'enqueue_scripts'), 99);
61
+
62
  add_action("wp_ajax_chaty_update_status", array($this, 'chaty_update_status'));
63
 
64
  /* load language files */
215
  /* admin css files */
216
  public function enqueue_styles($page)
217
  {
218
+ if($page != "toplevel_page_chaty-app" && $page != "chaty_page_chaty-widget-settings" && $page != "chaty_page_chaty-app-upgrade" && $page != "chaty_page_chaty-upgrade" && $page != 'chaty_page_widget-analytics' && $page != 'chaty_page_chaty-contact-form-feed' && $page != "chaty_page_chaty-app-upgrade") {
219
+ return;
220
+ }
221
+
222
+ if($page == "chaty_page_chaty-app-upgrade") {
223
+ return;
224
+ }
225
+
226
  $query_args = array(
227
  'family' => 'Rubik:400,700|Oswald:400,600',
228
  'subset' => 'latin,latin-ext'
231
  wp_enqueue_style($this->plugin_slug . 'spectrum', plugins_url('../admin/assets/css/spectrum.min.css', __FILE__), array(), CHT_VERSION);
232
  wp_enqueue_style($this->plugin_slug . 'intlTelInput', plugins_url('../admin/assets/css/intlTelInput.min.css', __FILE__), array(), CHT_VERSION);
233
  /* WP change this */
234
+
235
+ if($page == 'chaty_page_chaty-contact-form-feed') {
236
+ wp_enqueue_style( 'jquery-ui-css', plugins_url('../admin/assets/css/datepicker.min.css', __FILE__), array(), CHT_VERSION );
237
+ }
238
+
239
  wp_enqueue_style($this->plugin_slug, plugins_url('../admin/assets/css/cht-style.min.css', __FILE__), array(), CHT_VERSION);
240
  }
241
 
245
  }
246
 
247
  /* admin js files */
248
+ public function enqueue_scripts($page) {
249
+ if($page == 'chaty_page_widget-analytics' || $page == "chaty_page_chaty-contact-form-feed") {
250
+ wp_enqueue_script('jquery-ui-datepicker');
251
+ return;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
252
  }
253
+
254
+ $is_shown = get_option("chaty_update_message");
255
+ if($is_shown === false) {
256
+ return;
257
+ }
258
+
259
+ if($page == "chaty_page_chaty-app-upgrade") {
260
+ return;
261
+ }
262
+
263
+ wp_enqueue_script($this->plugin_slug . 'fileinput', plugins_url('../admin/assets/js/fileinput.min.js', __FILE__), array('jquery'), CHT_VERSION);
264
+ wp_enqueue_script($this->plugin_slug . 'spectrum', plugins_url('../admin/assets/js/spectrum.min.js', __FILE__), array('jquery'), CHT_VERSION);
265
+ wp_enqueue_script($this->plugin_slug . 'pop', plugins_url('../admin/assets/js/popper.min.js', __FILE__), array('jquery'), CHT_VERSION);
266
+ wp_enqueue_script($this->plugin_slug . 'intlTelInput', plugins_url('../admin/assets/js/intlTelInput.min.js', __FILE__), array('jquery'), CHT_VERSION);
267
+
268
+ /* WP change this */
269
+ wp_enqueue_editor();
270
+ wp_enqueue_script($this->plugin_slug. 'chaty', plugins_url('../admin/assets/js/cht-scripts.min.js', __FILE__), array('jquery', 'wp-color-picker', 'jquery-ui-draggable', 'jquery-ui-droppable', 'jquery-ui-sortable'), CHT_VERSION);
271
+ wp_localize_script($this->plugin_slug . 'chaty', 'cht_nonce_ajax',
272
+ array(
273
+ 'cht_nonce' => wp_create_nonce('cht_nonce_ajax')
274
+ )
275
+ );$whatsapp_settings = array();
276
+ foreach($this->socials as $social) {
277
+ $whatsapp_settings[$social['slug']] = "";
278
+ }
279
+ wp_localize_script($this->plugin_slug . 'chaty', 'cht_settings',
280
+ array(
281
+ 'plugin_url' => CHT_PLUGIN_URL,
282
+ 'channel_settings' => $whatsapp_settings
283
+ )
284
+ );
285
+
286
  }
287
 
288
  public function cht_admin_setting_page()
327
  add_action('admin_print_styles-' . $upgrade_page, array($this, 'enqueue_styles'));
328
 
329
  /* creating admin sub menu for chaty */
330
+ $feed_page = add_submenu_page(
331
  $this->plugin_slug,
332
  esc_attr__('Contact form leads', CHT_OPT),
333
  esc_attr__('Contact form leads', CHT_OPT),
335
  "chaty-contact-form-feed",
336
  array($this, 'chaty_contact_form_feed')
337
  );
338
+ add_action('admin_print_styles-' . $feed_page, array($this, 'enqueue_styles')); /* creating admin sub menu for chaty */
339
 
340
  $getData = filter_input_array(INPUT_GET);
341
  if(isset($getData['hide_chaty_recommended_plugin']) && isset($getData['nonce'])) {
367
  $this->upgrade_slug,
368
  array($this, 'display_cht_admin_upgrade_page')
369
  );
 
370
  add_action('admin_print_styles-' . $upgrade_page, array($this, 'enqueue_pricing_styles'));
371
  }
372
  // Load public-facing style sheet and JavaScript.
373
  add_action('admin_print_styles-' . $this->page, array($this, 'enqueue_styles'));
 
374
  }
375
 
376
 
532
  }
533
  if($chaty_leads) {
534
  $delete = $wpdb->query("DELETE FROM {$table_name} WHERE id IN(".$chaty_leads.")");
535
+ $paged = isset($postData['paged'])&&!empty($postData['paged'])&&is_numeric($postData['paged'])&&$postData['paged']>0?$postData['paged']:1;
536
+ $search = isset($postData['search'])&&!empty($postData['search'])?$postData['search']:"";
537
+ $url = admin_url("admin.php?page=chaty-contact-form-feed");
538
+ if(intval($paged) > 1) {
539
+ $url .= "&paged=".$paged;
540
+ }
541
+ if(!empty($search)) {
542
+ $url .= "&search=".$search;
543
+ }
544
+ wp_redirect($url);
545
+ exit;
546
  }
547
  }
548
  }
565
  } else {
566
  $delete = $wpdb->query("DELETE FROM {$table_name} WHERE id IN(" . $chaty_leads . ")");
567
  }
568
+ $paged = isset($postData['paged'])&&!empty($postData['paged'])&&is_numeric($postData['paged'])&&$postData['paged']>0?$postData['paged']:1;
569
+ $search = isset($postData['search'])&&!empty($postData['search'])?$postData['search']:"";
570
+ $url = admin_url("admin.php?page=chaty-contact-form-feed");
571
+ if(intval($paged) > 1) {
572
+ $url .= "&paged=".$paged;
573
+ }
574
+ if(!empty($search)) {
575
+ $url .= "&search=".$search;
576
+ }
577
+ wp_redirect($url);
578
+ exit;
579
  }
580
  }
581
  }
1857
  wp_die();
1858
  }
1859
  }
 
 
 
 
 
1860
  new CHT_Admin_Base();
admin/class-social-icons.php CHANGED
@@ -57,7 +57,7 @@ class CHT_Social_Icons
57
  'svg' => '<circle class="color-element" cx="19.4395" cy="19.4395" r="19.4395" fill="#49E670"/>
58
  <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"/>
59
  <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"/>',
60
- 'title' => 'Whatsapp',
61
  'color' => '#49E670',
62
  'attr' => 'phone-number'
63
  ),
57
  'svg' => '<circle class="color-element" cx="19.4395" cy="19.4395" r="19.4395" fill="#49E670"/>
58
  <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"/>
59
  <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"/>',
60
+ 'title' => 'WhatsApp',
61
  'color' => '#49E670',
62
  'attr' => 'phone-number'
63
  ),
cht-icons.php CHANGED
@@ -7,7 +7,7 @@
7
  Author URI: https://premio.io/downloads/chaty/
8
  Text Domain: chaty
9
  Domain Path: /languages
10
- Version: 2.7.4
11
  License: GPL2
12
  */
13
 
@@ -27,7 +27,7 @@ define('CHT_INC', CHT_DIR . '/includes');
27
  define('CHT_PRO_URL', admin_url("admin.php?page=chaty-app-upgrade"));
28
  define('CHT_PLUGIN_URL', plugin_dir_url(__FILE__));
29
  define('CHT_PLUGIN_BASE', plugin_basename(CHT_FILE));
30
- define('CHT_VERSION', "2.7.4");
31
 
32
  if (!function_exists('wp_doing_ajax')) {
33
  function wp_doing_ajax()
7
  Author URI: https://premio.io/downloads/chaty/
8
  Text Domain: chaty
9
  Domain Path: /languages
10
+ Version: 2.7.5
11
  License: GPL2
12
  */
13
 
27
  define('CHT_PRO_URL', admin_url("admin.php?page=chaty-app-upgrade"));
28
  define('CHT_PLUGIN_URL', plugin_dir_url(__FILE__));
29
  define('CHT_PLUGIN_BASE', plugin_basename(CHT_FILE));
30
+ define('CHT_VERSION', "2.7.5");
31
 
32
  if (!function_exists('wp_doing_ajax')) {
33
  function wp_doing_ajax()
css/chaty-front.css CHANGED
@@ -1,4 +1,4 @@
1
- body.hide-cht-widget .chaty-widget.one_widget .chaty-widget-i:not(.no-tooltip):before {
2
  display: none
3
  }
4
  .facebook .chaty-widget-i-title {
@@ -64,21 +64,21 @@ body.hide-cht-widget .chaty-widget.one_widget .chaty-widget-i:not(.no-tooltip):b
64
  display: inline-block;
65
  vertical-align: bottom;
66
  background: #fff;
67
- border-radius: 5px;
68
- -webkit-box-shadow: 0px 0px 5px 0px rgba(204, 204, 204, 1);
69
- -moz-box-shadow: 0px 0px 5px 0px rgba(204, 204, 204, 1);
70
- box-shadow: 0px 0px 5px 0px rgba(204, 204, 204, 1);
71
- -webkit-border-radius: 5px;
72
- -moz-border-radius: 5px;
73
- border-radius: 5px;
74
- max-width: 250px;
75
- height: auto;
76
- overflow: hidden;
77
  position: fixed;
78
  bottom: 30px;
79
  left: 100px;
80
  padding: 0px;
81
  z-index: 100001;
 
 
 
 
 
 
 
82
  }
83
  .chaty-social-img {
84
  display: block;
@@ -91,6 +91,10 @@ body.hide-cht-widget .chaty-widget.one_widget .chaty-widget-i:not(.no-tooltip):b
91
  -webkit-border-radius: 50%;
92
  -moz-border-radius: 50%;
93
  border-radius: 50%;
 
 
 
 
94
  }
95
  .widget-img {
96
  display: flex;
@@ -163,6 +167,10 @@ body .one_widget .bofore_del:before {
163
  .chaty-widget-i.hover .snap-wee-title {
164
  opacity: 1;
165
  }
 
 
 
 
166
  .snap-wee-title:before {
167
  content: "";
168
  right: -9px;
@@ -293,6 +301,9 @@ body .chaty-widget-i .facebook_header p {
293
  .i-trigger-close .chaty-widget-i-title {
294
  display: none;
295
  }
 
 
 
296
  }
297
  @media screen and (max-width: 480px) {
298
  .mobile_none {
@@ -466,6 +477,14 @@ body .chaty-widget-i .facebook_header p {
466
  display: block;
467
  position: relative;
468
  box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.25);
 
 
 
 
 
 
 
 
469
  box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.25);
470
  border-radius: 50%;
471
  -wekit-border-radius: 50%;
@@ -806,6 +825,12 @@ body.horizontal-cht-menu.right-cht-position .chaty-widget-is .chaty-widget-i:not
806
  .i-trigger.one-widget.no-tooltip .chaty-widget-i:before {
807
  display: none;
808
  }
 
 
 
 
 
 
809
  .chaty-widget.has-not-close-button .chaty-widget-is {
810
  top: auto !important;
811
  bottom: 0 !important;
@@ -1028,6 +1053,8 @@ span.cht-pending-message {
1028
  }
1029
  .chaty-input-area textarea {
1030
  height: 100px;
 
 
1031
  }
1032
  .chaty-contact-body form .chaty-input-area:last-child {
1033
  padding: 0;
@@ -1155,8 +1182,8 @@ body.left-cht-position .chaty-inline-popup {
1155
  bottom: 0;
1156
  right: 0;
1157
  border-radius: 50%;
1158
- -webkit-animation: chaty-animation-shockwave 1s 0.65s ease-out infinite;
1159
- animation: chaty-animation-shockwave 1s 0.65s ease-out infinite;
1160
  }
1161
  .chaty-animation-shockwave:before {
1162
  content: "";
@@ -1166,22 +1193,38 @@ body.left-cht-position .chaty-inline-popup {
1166
  bottom: 0;
1167
  right: 0;
1168
  border-radius: 50%;
1169
- -webkit-animation: chaty-animation-shockwave 1s 0.5s ease-out infinite;
1170
- animation: chaty-animation-shockwave 1s 0.5s ease-out infinite;
1171
  }
1172
- @-webkit-keyframes chaty-animation-shockwave {
1173
- 0% {
1174
- transform: scale(1);
1175
- box-shadow: 0 0 2px rgba(0, 0, 0, 0.30), inset 0 0 1px rgba(0, 0, 0, 0.30);
1176
- }
1177
- 95% {
1178
- box-shadow: 0 0 50px rgba(0, 0, 0, 0), inset 0 0 30px rgba(0, 0, 0, 0);
1179
- }
1180
- 100% {
1181
- transform: scale(2.25);
1182
- }
1183
  }
1184
- @keyframes chaty-animation-shockwave {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1185
  0% {
1186
  transform: scale(1);
1187
  box-shadow: 0 0 2px rgba(0, 0, 0, 0.30), inset 0 0 1px rgba(0, 0, 0, 0.30);
@@ -1193,7 +1236,6 @@ body.left-cht-position .chaty-inline-popup {
1193
  transform: scale(2.25);
1194
  }
1195
  }
1196
-
1197
  @keyframes chaty-animation-shockwave {
1198
  0% {
1199
  transform: scale(1);
1
+ .chaty-widget.hide-cht-widget .chaty-widget.one_widget .chaty-widget-i:not(.no-tooltip):before {
2
  display: none
3
  }
4
  .facebook .chaty-widget-i-title {
64
  display: inline-block;
65
  vertical-align: bottom;
66
  background: #fff;
67
+ -webkit-border-radius: 6px;
68
+ -moz-border-radius: 6px;
69
+ border-radius: 6px;
 
 
 
 
 
 
 
70
  position: fixed;
71
  bottom: 30px;
72
  left: 100px;
73
  padding: 0px;
74
  z-index: 100001;
75
+ width: 280px;
76
+ transition: all 0.5s linear;
77
+ -webkit-transition: all 0.5s linear;
78
+ -moz-transition: all 0.5s linear;
79
+ box-shadow: rgba(0, 0, 0, 0.16) 0px 5px 40px;
80
+ -webkit-box-shadow: rgba(0, 0, 0, 0.16) 0px 5px 40px;
81
+ -moz-box-shadow: rgba(0, 0, 0, 0.16) 0px 5px 40px;
82
  }
83
  .chaty-social-img {
84
  display: block;
91
  -webkit-border-radius: 50%;
92
  -moz-border-radius: 50%;
93
  border-radius: 50%;
94
+ box-shadow: 0 3px 6px rgba(0,0,0,.25);
95
+ line-height: 0;
96
+ margin: 0;
97
+ padding: 0;
98
  }
99
  .widget-img {
100
  display: flex;
167
  .chaty-widget-i.hover .snap-wee-title {
168
  opacity: 1;
169
  }
170
+ .chaty-whatsapp-message p {
171
+ margin: 0;
172
+ padding: 0;
173
+ }
174
  .snap-wee-title:before {
175
  content: "";
176
  right: -9px;
301
  .i-trigger-close .chaty-widget-i-title {
302
  display: none;
303
  }
304
+ .i-trigger-close:before {
305
+ display: none;
306
+ }
307
  }
308
  @media screen and (max-width: 480px) {
309
  .mobile_none {
477
  display: block;
478
  position: relative;
479
  box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.25);
480
+ border-radius: 50%;
481
+ -wekit-border-radius: 50%;
482
+ -moz-border-radius: 50%;
483
+ }
484
+ .chaty-widget .chaty-animation-sheen svg, .chaty-widget .chaty-animation-sheen .wrap-svg {
485
+ box-shadow: none;
486
+ }
487
+ .chaty-widget .chaty-animation-sheen {
488
  box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.25);
489
  border-radius: 50%;
490
  -wekit-border-radius: 50%;
825
  .i-trigger.one-widget.no-tooltip .chaty-widget-i:before {
826
  display: none;
827
  }
828
+ body .chaty-widget.one_widget *.i-trigger.one-widget.show-channel .chaty-widget-i-title, body .chaty-widget.one_widget *.i-trigger.one-widget.show-channel .chaty-widget-i:before {
829
+ opacity: 0 !important;
830
+ }
831
+ body .chaty-widget.one_widget *.i-trigger.one-widget.show-channel:hover .chaty-widget-i-title, body .chaty-widget.one_widget *.i-trigger.one-widget.show-channel:hover .chaty-widget-i:before {
832
+ opacity: 1 !important;
833
+ }
834
  .chaty-widget.has-not-close-button .chaty-widget-is {
835
  top: auto !important;
836
  bottom: 0 !important;
1053
  }
1054
  .chaty-input-area textarea {
1055
  height: 100px;
1056
+ line-height: 1.25;
1057
+ padding: 5px 10px;
1058
  }
1059
  .chaty-contact-body form .chaty-input-area:last-child {
1060
  padding: 0;
1182
  bottom: 0;
1183
  right: 0;
1184
  border-radius: 50%;
1185
+ -webkit-animation: chaty-animation-shockwave 2s 1.3s ease-out infinite;
1186
+ animation: chaty-animation-shockwave 2s 1.3s ease-out infinite;
1187
  }
1188
  .chaty-animation-shockwave:before {
1189
  content: "";
1193
  bottom: 0;
1194
  right: 0;
1195
  border-radius: 50%;
1196
+ -webkit-animation: chaty-animation-shockwave 2s 0.8s ease-out infinite;
1197
+ animation: chaty-animation-shockwave 2s 0.8s ease-out infinite;
1198
  }
1199
+ .one_widget.chaty-widget .chaty-widget-i.no-tooltip .chaty-widget-i-title {
1200
+ display: none;
 
 
 
 
 
 
 
 
 
1201
  }
1202
+ .chaty-widget.one_widget .chaty-widget-i.no-tooltip:before {
1203
+ display: none;
1204
+ }
1205
+ .i-trigger.one-widget a {
1206
+ position: relative;
1207
+ display: block;
1208
+ }
1209
+ .i-trigger.one-widget a:after {
1210
+ content: "";
1211
+ position: absolute;
1212
+ height: 100%;
1213
+ width: 100%;
1214
+ top: 0;
1215
+ left: 0;
1216
+ background: #000;
1217
+ z-index: 111;
1218
+ display: block;
1219
+ border-radius: 50%;
1220
+ opacity: 0;
1221
+ transition: all 0.1s linear;
1222
+ -webkit-transition: all 0.1s linear;
1223
+ }
1224
+ .i-trigger.one-widget a:hover:after {
1225
+ opacity: 0.12;
1226
+ }
1227
+ @-webkit-keyframes chaty-animation-shockwave {
1228
  0% {
1229
  transform: scale(1);
1230
  box-shadow: 0 0 2px rgba(0, 0, 0, 0.30), inset 0 0 1px rgba(0, 0, 0, 0.30);
1236
  transform: scale(2.25);
1237
  }
1238
  }
 
1239
  @keyframes chaty-animation-shockwave {
1240
  0% {
1241
  transform: scale(1);
css/chaty-front.min.css CHANGED
@@ -1 +1 @@
1
- body.hide-cht-widget .chaty-widget.one_widget .chaty-widget-i:not(.no-tooltip):before{display:none}.facebook .chaty-widget-i-title{padding:0!important}.widget-img img{max-height:100%;max-width:100%;height:auto;margin:0 auto}.widget-img{text-align:center;background:0 0!important}.widget-img img{object-fit:cover;border-radius:50%}.chaty-widget .chaty-widget-i.facebook.active.before .chaty-widget-i-title.fb-title{display:none!important}.wechat-box img{object-fit:cover;max-width:230px;height:auto;width:100%;display:block}.wechat-box-head svg{cursor:pointer;width:30px;height:30px}.wechat-box-head SVG{cursor:pointer;width:30PX;height:30px;fill:#fff;font-weight:700}.wechat-box-head{width:100%;display:inline-block;vertical-align:bottom;color:#fff;padding:0 0 0 10px;line-height:34px;background:#34a700;height:34px}.wechat-box{display:inline-block;vertical-align:bottom;position:relative;padding:10px;width:100%}.wechat-qr-code{display:inline-block;vertical-align:bottom;background:#fff;border-radius:5px;-webkit-box-shadow:0 0 5px 0 #ccc;-moz-box-shadow:0 0 5px 0 #ccc;box-shadow:0 0 5px 0 #ccc;-webkit-border-radius:5px;-moz-border-radius:5px;border-radius:5px;max-width:250px;height:auto;overflow:hidden;position:fixed;bottom:30px;left:100px;padding:0;z-index:100001}.chaty-social-img{display:block;-webkit-border-radius:50%;-moz-border-radius:50%;border-radius:50%}.chaty-social-img img{object-fit:cover;-webkit-border-radius:50%;-moz-border-radius:50%;border-radius:50%}.widget-img{display:flex;align-items:center;height:100%;overflow:inherit;border-radius:100%}.set-url-target{line-height:0}.get{opacity:1}.chaty-widget-show .get{opacity:1}.none-widget-show .get{opacity:0}.get a{color:#222!important;text-decoration:none!important}body .one_widget .bofore_del:before{opacity:0!important;display:none}.one_widget.chaty-widget:not(.chaty-widget-is-right) .chaty-widget-i:not(.no-tooltip) .chaty-widget-i-title{font-size:17px;left:-3px;top:50%;white-space:nowrap;padding:5px 15px;line-height:21px;color:#333;background-color:#fff;box-shadow:0 1.93465px 7.73859px rgba(0,0,0,.15);border-radius:10px}.chaty-widget.one_widget .chaty-widget-i:not(.no-tooltip) .chaty-widget-i-title,.chaty-widget.one_widget .chaty-widget-i:not(.no-tooltip):before{opacity:1!important}.snap-wee-title{z-index:20;opacity:0;padding:10px 10px 9px 12px!important;font-size:17px;transform:translate(calc(-100% - 14px),-50%);left:-3px;top:50%;white-space:nowrap;line-height:21px;color:#333;background-color:#fff;box-shadow:0 1.93465px 7.73859px rgba(0,0,0,.15);border-radius:10px;position:absolute}@media (min-width:1024px){.chaty-widget-i:hover .snap-wee-title{opacity:1}}.chaty-widget-i.hover .snap-wee-title{opacity:1}.snap-wee-title:before{content:"";right:-9px;position:absolute;top:50%;transform:translateY(-50%);height:0;width:0;z-index:11;border-width:5px 0 5px 10px;border-style:solid;border-color:transparent transparent transparent #fff}.snap-wee-title p{color:#222;text-decoration:none;margin:0;padding:0}.chaty-widget-i .chaty-widget-i-title p{color:#222!important;text-decoration:none!important;margin:0!important;padding:0!important}.chaty-widget-i .i-trigger a{color:#222!important;text-decoration:none!important}*{-webkit-tap-highlight-color:transparent!important}.i-trigger-close svg,.i-trigger-open svg{transition:all .5s}.chaty-widget-show .i-trigger-close svg,.chaty-widget-show .i-trigger-open svg{transform:rotate(180deg)}.none-widget-show .i-trigger-ope{-webkit-animation:fadein 1.5s;-moz-animation:fadein 1.5s;-ms-animation:fadein 1.5s;-o-animation:fadein 1.5s}.chaty-widget-show .i-trigger-cloe{-webkit-animation:fadein 1.5s;-moz-animation:fadein 1.5s;-ms-animation:fadein 1.5s;-o-animation:fadein 1.5s}.chaty-widget .i-trigger-open.chaty-widget-i:not(.no-tooltip) .chaty-widget-i-title{transform:translate(calc(-100% - 12px),-50%)}.chaty-widget-is-right.chaty-widget .i-trigger-open.chaty-widget-i:not(.no-tooltip) .chaty-widget-i-title{right:0;left:auto;transform:translate(calc(100% + 12px),-50%)}.chaty-widget-is-right.chaty-widget .chaty-widget-i:not(.no-tooltip) .chaty-widget-i-title{right:0;left:auto;transform:translate(calc(100% + 13px),-50%)}.chaty-widget-is-right.chaty-widget.one_widget .chaty-widget-i:not(.no-tooltip):before{left:auto;right:-18px}.chaty-widget.one_widget .chaty-widget-i:not(.no-tooltip):before{left:-18px}.one_widget .i-trigger-open .chaty-widget-i-title{padding:10px 10px 9px 12px!important}.one_widget .i-trigger-open.hidetooltip .chaty-widget-i-title{display:none}.one_widget .i-trigger-open.hidetooltip .chaty-widget-i:before{display:none}.chaty-widget .chaty-widget-i.before.facebook:not(.no-tooltip):hover:before,.chaty-widget .chaty-widget-i.facebook.before:not(.no-tooltip):hover .chaty-widget-i-title{opacity:1;pointer-events:auto}.chaty-widget .chaty-widget-i:not(.no-tooltip) .chaty-widget-i-title,.chaty-widget .chaty-widget-i:not(.no-tooltip).before:before{opacity:1}.one_widget .chaty-widget-i svg{position:relative}body .chaty-widget-i-title.true{opacity:1!important}.chaty-widget .i-trigger-open:not(.no-tooltip):before{opacity:1!important}.chaty-widget .chaty-widget-i.facebook.active:not(.no-tooltip) .chaty-widget-i-title,.chaty-widget .chaty-widget-i.facebook:not(.no-tooltip):hover:before{pointer-events:initial}.chaty-widget .facebook_header{background-color:#1e88e5;height:34px;border-top-left-radius:5px;border-top-right-radius:5px;padding-left:9px;display:flex;align-items:center;justify-content:space-between}body .chaty-widget-i .facebook_header p{font-family:Lato,Helvetica,Arial,sans-serif;font-size:13px;color:#fff!important;position:relative}.facebook_header p,.facebook_header svg{display:inline-block;vertical-align:bottom;margin:0}.chaty-widget .chaty-widget-i .facebook_header svg{height:30px!important;width:30px!important}.chaty-widget{display:none!important}@media screen and (max-width:800px){.i-trigger-close .chaty-widget-i-title{display:none}}@media screen and (max-width:480px){.mobile_none{display:none}.chaty-widget.mobile_active{display:block!important}}@media screen and (min-width:480px){.chaty-widget.desktop_active{display:block!important}}.chaty-widget{position:fixed;z-index:9999}.chaty-widget .chaty-widget-is{display:flex;z-index:1111;flex-wrap:wrap;overflow:hidden;height:0;position:absolute;pointer-events:none;left:0;right:auto;bottom:65px;opacity:0}#transition_disabled{-webkit-animation:none!important;-moz-animation:none!important;-ms-animation:none!important;-o-animation:none!important;-webkit-animation:none!important}@keyframes fadeout{from{opacity:1}to{opacity:0}}@-moz-keyframes fadeout{from{opacity:1}to{opacity:0}}@-webkit-keyframes fadeout{from{opacity:1}to{opacity:0}}@-o-keyframes fadeout{from{opacity:1}to{opacity:0}}.chaty-widget .i-trigger{cursor:pointer;position:relative}.chaty-widget .i-trigger .i-trigger-close,.chaty-widget .i-trigger .i-trigger-open{transition:all .2s}.chaty-widget .i-trigger .i-trigger-close{position:absolute;bottom:-4px;left:0;right:0;z-index:2}.chaty-widget .i-trigger .i-trigger-open{opacity:1;pointer-events:auto}.chaty-widget .i-trigger .i-trigger-close{opacity:0;pointer-events:none}.chaty-widget.chaty-widget-show .i-trigger .i-trigger-open{opacity:0;pointer-events:none}.chaty-widget.chaty-widget-show .i-trigger .i-trigger-close{box-shadow:none;opacity:1;pointer-events:auto}.chaty-widget.chaty-widget-show .chaty-widget-is{pointer-events:auto;overflow:visible;opacity:1;visibility:visible}@keyframes fadein{from{opacity:0}to{opacity:1}}@-moz-keyframes fadein{from{opacity:0}to{opacity:1}}@-webkit-keyframes fadein{from{opacity:0}to{opacity:1}}@-ms-keyframes fadein{from{opacity:0}to{opacity:1}}@-o-keyframes fadein{from{opacity:0}to{opacity:1}}.chaty-widget.chaty-widget-show .chaty-widget-is .chaty-widget-i{opacity:1;overflow:visible}.chaty-widget .chaty-widget-i .chaty-widget-i{margin:0}.chaty-widget .chaty-widget-i{border-radius:50%;vertical-align:top;width:54px;height:54px;position:relative;margin:4px}.chaty-widget .chaty-widget-i .wrap-svg,.chaty-widget .chaty-widget-i svg{cursor:pointer;width:100%;height:100%;display:block;position:relative;box-shadow:0 3px 6px rgba(0,0,0,.25);box-shadow:0 3px 6px rgba(0,0,0,.25);border-radius:50%;-wekit-border-radius:50%;-moz-border-radius:50%}body .i-trigger-open .chaty-widget-i-title{padding:5px 16px 5px 17px!important}.chaty-widget:not(.chaty-widget-is-right) .i-trigger-open:before{left:-18px!important}.one_widget.chaty-widget.chaty-widget-is-right .i-trigger-open:before{right:-18px!important}body .one_widget .i-trigger-open .chaty-widget-i-title.face_title{padding:0!important}.one_widget.chaty-widget .chaty-widget-i:not(.no-tooltip) .chaty-widget-i-title{transform:translate(calc(-100% - 14px),-50%)}.chaty-widget .chaty-widget-i:not(.no-tooltip) .chaty-widget-i-title,.chaty-widget .chaty-widget-i:not(.no-tooltip):before{content:none;position:absolute;opacity:0;pointer-events:none;z-index:10}.chaty-widget .chaty-widget-i:not(.no-tooltip):before{content:"";left:-14px;top:50%;transform:translateY(-50%);height:0;width:0;z-index:11;border-width:5px 0 5px 10px;border-style:solid;border-color:transparent transparent transparent #fff}.chaty-widget .chaty-widget-i:not(.no-tooltip) .chaty-widget-i-title{text-align:center;font-size:17px;left:0;top:50%;transform:translate(calc(-100% - 13px),-50%);white-space:nowrap;padding:5px 15px;line-height:21px;color:#333;background-color:#fff;box-shadow:0 1.93465px 7.73859px rgba(0,0,0,.15);border-radius:10px}.chaty-widget .chaty-widget-i:not(.no-tooltip):hover .chaty-widget-i-title,.chaty-widget .chaty-widget-i:not(.no-tooltip):hover:before{opacity:1;pointer-events:auto}.chaty-widget .chaty-widget-i.facebook:not(.no-tooltip):hover .chaty-widget-i-title,.chaty-widget .chaty-widget-i.facebook:not(.no-tooltip):hover:before{opacity:0;pointer-events:auto}.chaty-widget .chaty-widget-i .color-element{transition:all .2s}.chaty-widget:not(.chaty-widget-is-right) .chaty-widget-is{position:absolute;right:0;left:auto;bottom:65px;justify-content:flex-end}.chaty-widget.chaty-widget-is-right .i-trigger-open.chaty-widget-i:before{right:-13px;left:auto;border-width:5px 10px 5px 0;border-color:transparent #fff transparent transparent}.chaty-widget.chaty-widget-is-right .chaty-widget-i:before{right:-14px;left:auto;border-width:5px 10px 5px 0;border-color:transparent #fff transparent transparent}.chaty-widget.chaty-widget-is-right .chaty-widget-i.facebook.active .chaty-widget-i-title.face_title{position:fixed;transform:initial!important;right:auto;top:calc(100% - 484px)}.chaty-widget .chaty-widget-i.facebook.active .chaty-widget-i-title{min-width:250px;padding:0;position:fixed;transform:initial;right:29px;left:auto;top:calc(100% - 484px)}.one_widget.chaty-widget.chaty-widget-is-right .chaty-widget-i .chaty-widget-i-title{right:0;left:auto;transform:translate(calc(100% + 17px),-50%)!important}.chaty-animation-pulse{animation:chaty-animation-pulse 5s infinite}.chaty-animation-jump{animation:chaty-animation-jump 5s infinite cubic-bezier(.84,-.54,.31,1.19)}.chaty-animation-waggle{animation:chaty-animation-waggle 5s infinite}.chaty-animation-sheen{position:relative;overflow:hidden}.chaty-animation-sheen:after{animation:chaty-animation-sheen 5s infinite;content:'';position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(to bottom,transparent,rgba(255,255,255,.5) 50%,transparent);transform:rotateZ(60deg) translate(0,5em)}.chaty-animation-spin{animation:chaty-animation-spin 5s infinite cubic-bezier(.56,-.35,.22,1.5)}.chaty-animation-fade{animation:chaty-animation-fade 5s infinite}@keyframes chaty-animation-pulse{0%{background-color:orange}5%{background-color:red}10%{background-color:orange}15%{background-color:red}100%,20%{background-color:transparent}}@keyframes chaty-animation-jump{0%{transform:none}10%{transform:translateY(-1em)}100%,20%{transform:none}}@keyframes chaty-animation-waggle{0%{transform:none}10%{transform:rotateZ(-20deg) scale(1.2)}13%{transform:rotateZ(25deg) scale(1.2)}15%{transform:rotateZ(-15deg) scale(1.2)}17%{transform:rotateZ(15deg) scale(1.2)}20%{transform:rotateZ(-12deg) scale(1.2)}22%{transform:rotateZ(0) scale(1.2)}100%,24%{transform:rotateZ(0) scale(1)}}@keyframes chaty-animation-sheen{100%,20%{transform:rotateZ(60deg) translate(0,-80px)}}@keyframes chaty-animation-spin{10%{transform:rotateZ(-20deg);animation-timing-function:ease}100%,20%{transform:rotateZ(360deg)}}@keyframes chaty-animation-fade{5%{opacity:.25}10%{opacity:1}15%{opacity:.25}100%,20%{opacity:1}}.start-now,.start-now:after{animation-delay:0}.chaty-widget .i-trigger{z-index:1000}.chaty-widget:not(.chaty-widget-is-right) .chaty-widget-is{z-index:1000}.chaty-nav:before{display:block;position:fixed;top:0;left:0;content:'';width:100vw;height:100vh;background:rgba(0,0,0,.8);visibility:hidden;z-index:100;transition:all .5s ease-in-out;-webkit-transition:all .5s ease-in-out;-moz-transition:all .5s ease-in-out}.chaty-animation-widget.left-position .chaty-nav:before{clip-path:circle(15px at 60px calc(100% - 60px))}.chaty-animation-widget.right-position .chaty-nav:before{clip-path:circle(15px at calc(100% - 60px) calc(100% - 60px))}.chaty-animation-widget.active .chaty-nav:before{visibility:visible;clip-path:circle(100%)}.chaty-widget-is.has-no-close-btn{position:absolute!important;bottom:0!important;top:auto!important}.chaty-widget.hide-tooltip-arrow .chaty-widget-i:before{display:none!important}body .no-tooltip .chaty-widget-i-title.true{display:none}.chaty-widget-i.hide-chaty-arrow:before{display:none}.chaty-widget-show .i-trigger-open.single-button svg{transform:rotate(0)!important;-webkit-transform:rotate(0)!important}.facustom-icon{display:block;border-radius:50%;-moz-border-radius:50%;-webkit-border-radius:50%;text-align:center;color:#fff}body.horizontal-cht-menu .chaty-widget-is{display:inline-block;top:0;right:100%!important;left:auto!important}body.horizontal-cht-menu.chaty-in-desktop .chaty-main-widget.is-in-desktop{display:inline-block}body.horizontal-cht-menu.chaty-in-mobile .chaty-main-widget.is-in-mobile{display:inline-block}body.horizontal-cht-menu.chaty-widget-is-right .chaty-widget-is{left:100%!important;right:auto!important}body.horizontal-cht-menu .chaty-widget.chaty-widget-is-right .chaty-widget-is{right:auto!important;left:100%!important}body.horizontal-cht-menu .chaty-widget.one_widget .chaty-widget-is{right:0!important;left:0!important}body.chaty-in-desktop.horizontal-cht-menu .chaty-main-widget.is-in-desktop,body.chaty-in-mobile.horizontal-cht-menu .chaty-main-widget.is-in-mobile{display:inline-block!important}.wechat-qr-code.right{right:25px;left:auto}.wechat-qr-code.left{right:auto;left:25px}body.horizontal-cht-menu .chaty-widget-is .chaty-widget-i:not(.no-tooltip) .chaty-widget-i-title{right:auto;left:auto;transform:translate(calc(-50% + 26px),-140%);top:0}body.horizontal-cht-menu .chaty-widget-is .chaty-widget-i:not(.no-tooltip):before{top:-30%;left:0;right:0;margin:0 auto;transform:rotate(-90deg)}body.horizontal-cht-menu.right-cht-position .chaty-widget-is .chaty-widget-i:not(.no-tooltip):before{transform:rotate(90deg)}.i-trigger.one-widget.no-tooltip .chaty-widget-i-title{display:none}.i-trigger.one-widget.no-tooltip .chaty-widget-i:before{display:none}.chaty-widget.has-not-close-button .chaty-widget-is{top:auto!important;bottom:0!important}body.horizontal-cht-menu .chaty-widget-show .chaty-widget-i.chaty-close-settings .chaty-widget-i-title{right:auto;left:auto;transform:translate(calc(-50% + 26px),-140%);top:0}body.horizontal-cht-menu .chaty-widget-i.chaty-close-settings.i-trigger-close:before{top:-30%;left:0;right:0;margin:0 auto;transform:rotate(-90deg)}body.horizontal-cht-menu.right-cht-position .chaty-widget-i.chaty-close-settings.i-trigger-close:before{transform:rotate(90deg)}span.cht-pending-message{position:absolute;top:-4px;right:-4px;font-size:11px;font-size:11.5px;border-radius:50%;background:#d00;color:#fff;min-width:20px;min-height:20px;text-align:center;line-height:20px}.chaty-widget .sr-only{border:0!important;clip:rect(0,0,0,0);height:1px!important;margin:-1px!important;overflow:hidden;padding:0!important;position:absolute;width:1px!important}.chaty-whatsapp-header{padding:5px 0 1px 10px;text-align:left;background:#4fce5d}.chaty-contact-header{padding:5px 5px 5px 10px;text-align:left;background:#fff;font-size:18px;border-bottom:solid 1px #acacac}.chaty-contact-header svg,.chaty-whatsapp-header svg{width:24px;height:24px;color:#000;margin:0!important;padding:0;text-align:center;line-height:24px;font-weight:700;cursor:pointer}.close-chaty-box{float:right}.chaty-contact-header svg{fill:#000!important}.chaty-whatsapp-body{background:#e6ddd4;padding:20px 20px 20px 10px;position:relative;z-index:2;height:260px}.chaty-whatsapp-body:before{display:block;position:absolute;content:"";left:0;top:0;height:100%;width:100%;z-index:0;opacity:.08;background-image:url(../images/whatsapp.png)}.chaty-whatsapp-message{padding:7px 14px 6px;background-color:#fff;border-radius:0 8px 8px;position:relative;transform-origin:center top;z-index:2;box-shadow:rgba(0,0,0,.13) 0 1px .5px;margin-top:4px;margin-left:15px;max-width:calc(100% - 40px);font-size:14px;font-family:Segoe UI,Helvetica Neue,Helvetica,Lucida Grande,Arial,Ubuntu,Cantarell,Fira Sans,sans-serif}.chaty-whatsapp-message:before{position:absolute;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAmCAMAAADp2asXAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAACQUExURUxpccPDw9ra2m9vbwAAAAAAADExMf///wAAABoaGk9PT7q6uqurqwsLCycnJz4+PtDQ0JycnIyMjPf3915eXvz8/E9PT/39/RMTE4CAgAAAAJqamv////////r6+u/v7yUlJeXl5f///5ycnOXl5XNzc/Hx8f///xUVFf///+zs7P///+bm5gAAAM7Ozv///2fVensAAAAvdFJOUwCow1cBCCnqAhNAnY0WIDW2f2/hSeo99g1lBYT87vDXG8/6d8oL4sgM5szrkgl660OiZwAAAHRJREFUKM/ty7cSggAABNFVUQFzwizmjPz/39k4YuFWtm55bw7eHR6ny63+alnswT3/rIDzUSC7CrAziPYCJCsB+gbVkgDtVIDh+DsE9OTBpCtAbSBAZSEQNgWIygJ0RgJMDWYNAdYbAeKtAHODlkHIv997AkLqIVOXVU84AAAAAElFTkSuQmCC);background-position:50% 50%;background-repeat:no-repeat;background-size:contain;content:"";top:0;left:-12px;width:12px;height:19px}.chaty-whatsapp-footer{position:relative;padding:12px 15px;background:#f0f0f0}.chaty-whatsapp-footer input.chaty-whatsapp-msg{height:48px!important;line-height:32px;padding:0 10px 0 15px;font-size:14px;resize:none;width:100%;border:none;border-radius:24px;outline:0;font-family:Segoe UI,Helvetica Neue,Helvetica,Lucida Grande,Arial,Ubuntu,Cantarell,Fira Sans,sans-serif}.chaty-whatsapp-footer input.chaty-whatsapp-msg:focus{outline:0;box-shadow:none}.chaty-whatsapp-footer .chaty-whatsapp-field{width:calc(100% - 60px);float:left}.chaty-whatsapp-footer button.chaty-whatsapp-submit-btn{line-height:48px;text-align:center;float:right;height:48px;width:48px;padding:8px 10px 8px 15px;background:#25d366;border-radius:24px;outline:0;box-shadow:none;border:none}.chaty-whatsapp-footer button.chaty-whatsapp-submit-btn:focus,.chaty-whatsapp-footer button.chaty-whatsapp-submit-btn:hover{background:#22bf5b}.chaty-whatsapp-footer button.chaty-whatsapp-submit-btn svg{width:100%;height:100%;display:block}.chaty-contact-body{padding:10px 10px 0}.chaty-inline-popup{vertical-align:bottom;background:#fff;-webkit-box-shadow:0 0 5px 0 #ccc;-moz-box-shadow:0 0 5px 0 #ccc;box-shadow:0 0 5px 0 #ccc;-webkit-border-radius:6px;-moz-border-radius:6px;border-radius:6px;max-width:250px;height:auto;overflow:hidden;position:fixed;bottom:30px;left:100px;padding:0;z-index:100001;max-width:inherit;width:280px;transition:all .5s linear;-webkit-transition:all .5s linear;-moz-transition:all .5s linear}.chaty-inline-popup{box-shadow:rgba(0,0,0,.16) 0 5px 40px;-webkit-box-shadow:rgba(0,0,0,.16) 0 5px 40px;-moz-box-shadow:rgba(0,0,0,.16) 0 5px 40px}.chaty-inline-popup:not(.active){bottom:-100%!important}.chaty-input-area{width:100%;margin-bottom:10px;line-height:36px}.chaty-input-area input[type=email],.chaty-input-area input[type=text],.chaty-input-area textarea{width:100%;height:30px;line-height:36px;font-size:14px;padding:0 0 0 10px;border:solid 1px #ccc;border-radius:4px}.chaty-whatsapp-popup,.chaty-whatsapp-popup input{position:relative}.chaty-input-area input[type=email].has-chaty-error,.chaty-input-area input[type=text].has-chaty-error,.chaty-input-area textarea.has-chaty-error{border:solid 1px #d20000}.chaty-input-area textarea{height:100px}.chaty-contact-body form .chaty-input-area:last-child{padding:0;margin:0}.chaty-contact-footer{padding:0 10px 10px}.chaty-contact-footer button.chaty-contact-submit-btn{width:100%;padding:5px;font-weight:400;border-radius:5px;border:none;cursor:pointer;outline:0;text-decoration:none}.close-chaty-popup{position:absolute;right:5px;top:5px;background:#30534b;width:22px;height:22px;border-radius:15px;padding:3px;cursor:pointer;transition:all .4s;-webkit-transition:all .4s;-moz-transition:all .4s}.close-chaty-popup:hover{transform:rotate(180deg);-webkit-transform:rotate(180deg);-moz-transform:rotate(180deg)}.chaty-close-button{position:relative;width:16px;height:16px;transition:all .4s;cursor:pointer}.chaty-close-button:after,.chaty-close-button:before{content:"";position:absolute;width:12px;height:2px;background-color:#fff;display:block;border-radius:2px;transform:rotate(45deg);top:7px;left:2px}.close-chaty-box .chaty-close-button:after,.close-chaty-box .chaty-close-button:before{background-color:#333}.chaty-close-button:after{transform:rotate(-45deg)}.close-chaty-box .chaty-close-button:hover{transform:rotate(180deg)}.chaty-ajax-success-message{color:#00a700;padding:5px 0;text-align:center;font-size:16px}.chaty-ajax-error-message{color:#da0000;padding:5px 0;text-align:center;font-size:16px}span.chaty-error-msg{color:#da0000;font-size:14px;line-height:1;display:block}.chaty-widget.chaty-popup-open .chaty-widget-i:not(.no-tooltip):before{opacity:0!important;display:none!important}.chaty-widget.chaty-popup-open .chaty-widget-i .chaty-widget-i-title{opacity:0!important;display:none!important}.chaty-widget.hide-block{transition:all .25s linear}.chaty-widget.hide-block.active{transform:scale(0);-webkit-transform:scale(0);-moz-transform:scale(0)}body.right-cht-position .chaty-inline-popup{left:auto;right:25px;bottom:25px;position:fixed}body.left-cht-position .chaty-inline-popup{left:25px;right:auto;bottom:25px;position:fixed}.chaty-widget.hide-block{transition:all .25s linear}.chaty-widget.hide-block.active{transform:scale(0);-webkit-transform:scale(0);-moz-transform:scale(0)}.chaty-animation-shockwave:after{content:"";position:absolute;top:0;left:0;bottom:0;right:0;border-radius:50%;-webkit-animation:chaty-animation-shockwave 1s .65s ease-out infinite;animation:chaty-animation-shockwave 1s .65s ease-out infinite}.chaty-animation-shockwave:before{content:"";position:absolute;top:0;left:0;bottom:0;right:0;border-radius:50%;-webkit-animation:chaty-animation-shockwave 1s .5s ease-out infinite;animation:chaty-animation-shockwave 1s .5s ease-out infinite}@-webkit-keyframes chaty-animation-shockwave{0%{transform:scale(1);box-shadow:0 0 2px rgba(0,0,0,.3),inset 0 0 1px rgba(0,0,0,.3)}95%{box-shadow:0 0 50px transparent,inset 0 0 30px transparent}100%{transform:scale(2.25)}}@keyframes chaty-animation-shockwave{0%{transform:scale(1);box-shadow:0 0 2px rgba(0,0,0,.3),inset 0 0 1px rgba(0,0,0,.3)}95%{box-shadow:0 0 50px transparent,inset 0 0 30px transparent}100%{transform:scale(2.25)}}@keyframes chaty-animation-shockwave{0%{transform:scale(1);box-shadow:0 0 2px rgba(0,0,0,.3),inset 0 0 1px rgba(0,0,0,.3)}95%{box-shadow:0 0 50px transparent,inset 0 0 30px transparent}100%{transform:scale(2.25)}}.chaty-animation-blink{-webkit-animation:chaty-animation-blink 1.33s ease-out infinite;animation:chaty-animation-blink 1.33s ease-out infinite}@-webkit-keyframes chaty-animation-blink{0%{opacity:1}20%{opacity:.5}100%{opacity:1}}@keyframes chaty-animation-blink{0%{opacity:1}20%{opacity:.5}100%{opacity:1}}.chaty-animation-pulse-icon{-webkit-animation:chaty-animation-pulse-icon .4s ease infinite alternate;animation:chaty-animation-pulse-icon .4s ease infinite alternate}@-webkit-keyframes chaty-animation-pulse-icon{0%{transform:scale(1);box-shadow:0 2px 2px rgba(0,0,0,.2);border-radius:50%}100%{transform:scale(1.1);box-shadow:0 2px 2px rgba(0,0,0,.2);border-radius:45%}}@keyframes chaty-animation-pulse-icon{0%{transform:scale(1);border-radius:50%}100%{transform:scale(1.1);border-radius:45%}}@keyframes chaty-animation-pulse{0%{background-color:orange}25%{background-color:red}50%{background-color:orange}75%{background-color:red}}body.chaty-in-mobile .chaty-widget-i.chaty-close-settings.i-trigger-close:before{display:none}.i-trigger.one-widget.no-tooltip:not(.show-channel) .chaty-widget-i-title{display:none}.i-trigger.one-widget.no-tooltip:not(.show-channel) .chaty-widget-i:before{display:none}body .chaty-widget.one_widget .i-trigger.one-widget.show-channel .chaty-widget-i-title,body .chaty-widget.one_widget .i-trigger.one-widget.show-channel .chaty-widget-i:before{opacity:0!important}body .chaty-widget.one_widget .i-trigger.one-widget.show-channel:hover .chaty-widget-i-title,body .chaty-widget.one_widget .i-trigger.one-widget.show-channel:hover .chaty-widget-i:before{opacity:1!important}
1
+ .chaty-widget.hide-cht-widget .chaty-widget.one_widget .chaty-widget-i:not(.no-tooltip):before{display:none}.facebook .chaty-widget-i-title{padding:0!important}.widget-img img{max-height:100%;max-width:100%;height:auto;margin:0 auto}.widget-img{text-align:center;background:0 0!important}.widget-img img{object-fit:cover;border-radius:50%}.chaty-widget .chaty-widget-i.facebook.active.before .chaty-widget-i-title.fb-title{display:none!important}.wechat-box img{object-fit:cover;max-width:230px;height:auto;width:100%;display:block}.wechat-box-head svg{cursor:pointer;width:30px;height:30px}.wechat-box-head SVG{cursor:pointer;width:30PX;height:30px;fill:#fff;font-weight:700}.wechat-box-head{width:100%;display:inline-block;vertical-align:bottom;color:#fff;padding:0 0 0 10px;line-height:34px;background:#34a700;height:34px}.wechat-box{display:inline-block;vertical-align:bottom;position:relative;padding:10px;width:100%}.wechat-qr-code{display:inline-block;vertical-align:bottom;background:#fff;-webkit-border-radius:6px;-moz-border-radius:6px;border-radius:6px;position:fixed;bottom:30px;left:100px;padding:0;z-index:100001;width:280px;transition:all .5s linear;-webkit-transition:all .5s linear;-moz-transition:all .5s linear;box-shadow:rgba(0,0,0,.16) 0 5px 40px;-webkit-box-shadow:rgba(0,0,0,.16) 0 5px 40px;-moz-box-shadow:rgba(0,0,0,.16) 0 5px 40px}.chaty-social-img{display:block;-webkit-border-radius:50%;-moz-border-radius:50%;border-radius:50%}.chaty-social-img img{object-fit:cover;-webkit-border-radius:50%;-moz-border-radius:50%;border-radius:50%;box-shadow:0 3px 6px rgba(0,0,0,.25);line-height:0;margin:0;padding:0}.widget-img{display:flex;align-items:center;height:100%;overflow:inherit;border-radius:100%}.set-url-target{line-height:0}.get{opacity:1}.chaty-widget-show .get{opacity:1}.none-widget-show .get{opacity:0}.get a{color:#222!important;text-decoration:none!important}body .one_widget .bofore_del:before{opacity:0!important;display:none}.one_widget.chaty-widget:not(.chaty-widget-is-right) .chaty-widget-i:not(.no-tooltip) .chaty-widget-i-title{font-size:17px;left:-3px;top:50%;white-space:nowrap;padding:5px 15px;line-height:21px;color:#333;background-color:#fff;box-shadow:0 1.93465px 7.73859px rgba(0,0,0,.15);border-radius:10px}.chaty-widget.one_widget .chaty-widget-i:not(.no-tooltip) .chaty-widget-i-title,.chaty-widget.one_widget .chaty-widget-i:not(.no-tooltip):before{opacity:1!important}.snap-wee-title{z-index:20;opacity:0;padding:10px 10px 9px 12px!important;font-size:17px;transform:translate(calc(-100% - 14px),-50%);left:-3px;top:50%;white-space:nowrap;line-height:21px;color:#333;background-color:#fff;box-shadow:0 1.93465px 7.73859px rgba(0,0,0,.15);border-radius:10px;position:absolute}@media (min-width:1024px){.chaty-widget-i:hover .snap-wee-title{opacity:1}}.chaty-widget-i.hover .snap-wee-title{opacity:1}.chaty-whatsapp-message p{margin:0;padding:0}.snap-wee-title:before{content:"";right:-9px;position:absolute;top:50%;transform:translateY(-50%);height:0;width:0;z-index:11;border-width:5px 0 5px 10px;border-style:solid;border-color:transparent transparent transparent #fff}.snap-wee-title p{color:#222;text-decoration:none;margin:0;padding:0}.chaty-widget-i .chaty-widget-i-title p{color:#222!important;text-decoration:none!important;margin:0!important;padding:0!important}.chaty-widget-i .i-trigger a{color:#222!important;text-decoration:none!important}*{-webkit-tap-highlight-color:transparent!important}.i-trigger-close svg,.i-trigger-open svg{transition:all .5s}.chaty-widget-show .i-trigger-close svg,.chaty-widget-show .i-trigger-open svg{transform:rotate(180deg)}.none-widget-show .i-trigger-ope{-webkit-animation:fadein 1.5s;-moz-animation:fadein 1.5s;-ms-animation:fadein 1.5s;-o-animation:fadein 1.5s}.chaty-widget-show .i-trigger-cloe{-webkit-animation:fadein 1.5s;-moz-animation:fadein 1.5s;-ms-animation:fadein 1.5s;-o-animation:fadein 1.5s}.chaty-widget .i-trigger-open.chaty-widget-i:not(.no-tooltip) .chaty-widget-i-title{transform:translate(calc(-100% - 12px),-50%)}.chaty-widget-is-right.chaty-widget .i-trigger-open.chaty-widget-i:not(.no-tooltip) .chaty-widget-i-title{right:0;left:auto;transform:translate(calc(100% + 12px),-50%)}.chaty-widget-is-right.chaty-widget .chaty-widget-i:not(.no-tooltip) .chaty-widget-i-title{right:0;left:auto;transform:translate(calc(100% + 13px),-50%)}.chaty-widget-is-right.chaty-widget.one_widget .chaty-widget-i:not(.no-tooltip):before{left:auto;right:-18px}.chaty-widget.one_widget .chaty-widget-i:not(.no-tooltip):before{left:-18px}.one_widget .i-trigger-open .chaty-widget-i-title{padding:10px 10px 9px 12px!important}.one_widget .i-trigger-open.hidetooltip .chaty-widget-i-title{display:none}.one_widget .i-trigger-open.hidetooltip .chaty-widget-i:before{display:none}.chaty-widget .chaty-widget-i.before.facebook:not(.no-tooltip):hover:before,.chaty-widget .chaty-widget-i.facebook.before:not(.no-tooltip):hover .chaty-widget-i-title{opacity:1;pointer-events:auto}.chaty-widget .chaty-widget-i:not(.no-tooltip) .chaty-widget-i-title,.chaty-widget .chaty-widget-i:not(.no-tooltip).before:before{opacity:1}.one_widget .chaty-widget-i svg{position:relative}body .chaty-widget-i-title.true{opacity:1!important}.chaty-widget .i-trigger-open:not(.no-tooltip):before{opacity:1!important}.chaty-widget .chaty-widget-i.facebook.active:not(.no-tooltip) .chaty-widget-i-title,.chaty-widget .chaty-widget-i.facebook:not(.no-tooltip):hover:before{pointer-events:initial}.chaty-widget .facebook_header{background-color:#1e88e5;height:34px;border-top-left-radius:5px;border-top-right-radius:5px;padding-left:9px;display:flex;align-items:center;justify-content:space-between}body .chaty-widget-i .facebook_header p{font-family:Lato,Helvetica,Arial,sans-serif;font-size:13px;color:#fff!important;position:relative}.facebook_header p,.facebook_header svg{display:inline-block;vertical-align:bottom;margin:0}.chaty-widget .chaty-widget-i .facebook_header svg{height:30px!important;width:30px!important}.chaty-widget{display:none!important}@media screen and (max-width:800px){.i-trigger-close .chaty-widget-i-title{display:none}.i-trigger-close:before{display:none}}@media screen and (max-width:480px){.mobile_none{display:none}.chaty-widget.mobile_active{display:block!important}}@media screen and (min-width:480px){.chaty-widget.desktop_active{display:block!important}}.chaty-widget{position:fixed;z-index:9999}.chaty-widget .chaty-widget-is{display:flex;z-index:1111;flex-wrap:wrap;overflow:hidden;height:0;position:absolute;pointer-events:none;left:0;right:auto;bottom:65px;opacity:0}#transition_disabled{-webkit-animation:none!important;-moz-animation:none!important;-ms-animation:none!important;-o-animation:none!important;-webkit-animation:none!important}@keyframes fadeout{from{opacity:1}to{opacity:0}}@-moz-keyframes fadeout{from{opacity:1}to{opacity:0}}@-webkit-keyframes fadeout{from{opacity:1}to{opacity:0}}@-o-keyframes fadeout{from{opacity:1}to{opacity:0}}.chaty-widget .i-trigger{cursor:pointer;position:relative}.chaty-widget .i-trigger .i-trigger-close,.chaty-widget .i-trigger .i-trigger-open{transition:all .2s}.chaty-widget .i-trigger .i-trigger-close{position:absolute;bottom:-4px;left:0;right:0;z-index:2}.chaty-widget .i-trigger .i-trigger-open{opacity:1;pointer-events:auto}.chaty-widget .i-trigger .i-trigger-close{opacity:0;pointer-events:none}.chaty-widget.chaty-widget-show .i-trigger .i-trigger-open{opacity:0;pointer-events:none}.chaty-widget.chaty-widget-show .i-trigger .i-trigger-close{box-shadow:none;opacity:1;pointer-events:auto}.chaty-widget.chaty-widget-show .chaty-widget-is{pointer-events:auto;overflow:visible;opacity:1;visibility:visible}@keyframes fadein{from{opacity:0}to{opacity:1}}@-moz-keyframes fadein{from{opacity:0}to{opacity:1}}@-webkit-keyframes fadein{from{opacity:0}to{opacity:1}}@-ms-keyframes fadein{from{opacity:0}to{opacity:1}}@-o-keyframes fadein{from{opacity:0}to{opacity:1}}.chaty-widget.chaty-widget-show .chaty-widget-is .chaty-widget-i{opacity:1;overflow:visible}.chaty-widget .chaty-widget-i .chaty-widget-i{margin:0}.chaty-widget .chaty-widget-i{border-radius:50%;vertical-align:top;width:54px;height:54px;position:relative;margin:4px}.chaty-widget .chaty-widget-i .wrap-svg,.chaty-widget .chaty-widget-i svg{cursor:pointer;width:100%;height:100%;display:block;position:relative;box-shadow:0 3px 6px rgba(0,0,0,.25);border-radius:50%;-wekit-border-radius:50%;-moz-border-radius:50%}.chaty-widget .chaty-animation-sheen .wrap-svg,.chaty-widget .chaty-animation-sheen svg{box-shadow:none}.chaty-widget .chaty-animation-sheen{box-shadow:0 3px 6px rgba(0,0,0,.25);border-radius:50%;-wekit-border-radius:50%;-moz-border-radius:50%}body .i-trigger-open .chaty-widget-i-title{padding:5px 16px 5px 17px!important}.chaty-widget:not(.chaty-widget-is-right) .i-trigger-open:before{left:-18px!important}.one_widget.chaty-widget.chaty-widget-is-right .i-trigger-open:before{right:-18px!important}body .one_widget .i-trigger-open .chaty-widget-i-title.face_title{padding:0!important}.one_widget.chaty-widget .chaty-widget-i:not(.no-tooltip) .chaty-widget-i-title{transform:translate(calc(-100% - 14px),-50%)}.chaty-widget .chaty-widget-i:not(.no-tooltip) .chaty-widget-i-title,.chaty-widget .chaty-widget-i:not(.no-tooltip):before{content:none;position:absolute;opacity:0;pointer-events:none;z-index:10}.chaty-widget .chaty-widget-i:not(.no-tooltip):before{content:"";left:-14px;top:50%;transform:translateY(-50%);height:0;width:0;z-index:11;border-width:5px 0 5px 10px;border-style:solid;border-color:transparent transparent transparent #fff}.chaty-widget .chaty-widget-i:not(.no-tooltip) .chaty-widget-i-title{text-align:center;font-size:17px;left:0;top:50%;transform:translate(calc(-100% - 13px),-50%);white-space:nowrap;padding:5px 15px;line-height:21px;color:#333;background-color:#fff;box-shadow:0 1.93465px 7.73859px rgba(0,0,0,.15);border-radius:10px}.chaty-widget .chaty-widget-i:not(.no-tooltip):hover .chaty-widget-i-title,.chaty-widget .chaty-widget-i:not(.no-tooltip):hover:before{opacity:1;pointer-events:auto}.chaty-widget .chaty-widget-i.facebook:not(.no-tooltip):hover .chaty-widget-i-title,.chaty-widget .chaty-widget-i.facebook:not(.no-tooltip):hover:before{opacity:0;pointer-events:auto}.chaty-widget .chaty-widget-i .color-element{transition:all .2s}.chaty-widget:not(.chaty-widget-is-right) .chaty-widget-is{position:absolute;right:0;left:auto;bottom:65px;justify-content:flex-end}.chaty-widget.chaty-widget-is-right .i-trigger-open.chaty-widget-i:before{right:-13px;left:auto;border-width:5px 10px 5px 0;border-color:transparent #fff transparent transparent}.chaty-widget.chaty-widget-is-right .chaty-widget-i:before{right:-14px;left:auto;border-width:5px 10px 5px 0;border-color:transparent #fff transparent transparent}.chaty-widget.chaty-widget-is-right .chaty-widget-i.facebook.active .chaty-widget-i-title.face_title{position:fixed;transform:initial!important;right:auto;top:calc(100% - 484px)}.chaty-widget .chaty-widget-i.facebook.active .chaty-widget-i-title{min-width:250px;padding:0;position:fixed;transform:initial;right:29px;left:auto;top:calc(100% - 484px)}.one_widget.chaty-widget.chaty-widget-is-right .chaty-widget-i .chaty-widget-i-title{right:0;left:auto;transform:translate(calc(100% + 17px),-50%)!important}.chaty-animation-pulse{animation:chaty-animation-pulse 5s infinite}.chaty-animation-jump{animation:chaty-animation-jump 5s infinite cubic-bezier(.84,-.54,.31,1.19)}.chaty-animation-waggle{animation:chaty-animation-waggle 5s infinite}.chaty-animation-sheen{position:relative;overflow:hidden}.chaty-animation-sheen:after{animation:chaty-animation-sheen 5s infinite;content:'';position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(to bottom,transparent,rgba(255,255,255,.5) 50%,transparent);transform:rotateZ(60deg) translate(0,5em)}.chaty-animation-spin{animation:chaty-animation-spin 5s infinite cubic-bezier(.56,-.35,.22,1.5)}.chaty-animation-fade{animation:chaty-animation-fade 5s infinite}@keyframes chaty-animation-pulse{0%{background-color:orange}5%{background-color:red}10%{background-color:orange}15%{background-color:red}100%,20%{background-color:transparent}}@keyframes chaty-animation-jump{0%{transform:none}10%{transform:translateY(-1em)}100%,20%{transform:none}}@keyframes chaty-animation-waggle{0%{transform:none}10%{transform:rotateZ(-20deg) scale(1.2)}13%{transform:rotateZ(25deg) scale(1.2)}15%{transform:rotateZ(-15deg) scale(1.2)}17%{transform:rotateZ(15deg) scale(1.2)}20%{transform:rotateZ(-12deg) scale(1.2)}22%{transform:rotateZ(0) scale(1.2)}100%,24%{transform:rotateZ(0) scale(1)}}@keyframes chaty-animation-sheen{100%,20%{transform:rotateZ(60deg) translate(0,-80px)}}@keyframes chaty-animation-spin{10%{transform:rotateZ(-20deg);animation-timing-function:ease}100%,20%{transform:rotateZ(360deg)}}@keyframes chaty-animation-fade{5%{opacity:.25}10%{opacity:1}15%{opacity:.25}100%,20%{opacity:1}}.start-now,.start-now:after{animation-delay:0}.chaty-widget .i-trigger{z-index:1000}.chaty-widget:not(.chaty-widget-is-right) .chaty-widget-is{z-index:1000}.chaty-nav:before{display:block;position:fixed;top:0;left:0;content:'';width:100vw;height:100vh;background:rgba(0,0,0,.8);visibility:hidden;z-index:100;transition:all .5s ease-in-out;-webkit-transition:all .5s ease-in-out;-moz-transition:all .5s ease-in-out}.chaty-animation-widget.left-position .chaty-nav:before{clip-path:circle(15px at 60px calc(100% - 60px))}.chaty-animation-widget.right-position .chaty-nav:before{clip-path:circle(15px at calc(100% - 60px) calc(100% - 60px))}.chaty-animation-widget.active .chaty-nav:before{visibility:visible;clip-path:circle(100%)}.chaty-widget-is.has-no-close-btn{position:absolute!important;bottom:0!important;top:auto!important}.chaty-widget.hide-tooltip-arrow .chaty-widget-i:before{display:none!important}body .no-tooltip .chaty-widget-i-title.true{display:none}.chaty-widget-i.hide-chaty-arrow:before{display:none}.chaty-widget-show .i-trigger-open.single-button svg{transform:rotate(0)!important;-webkit-transform:rotate(0)!important}.facustom-icon{display:block;border-radius:50%;-moz-border-radius:50%;-webkit-border-radius:50%;text-align:center;color:#fff}body.horizontal-cht-menu .chaty-widget-is{display:inline-block;top:0;right:100%!important;left:auto!important}body.horizontal-cht-menu.chaty-in-desktop .chaty-main-widget.is-in-desktop{display:inline-block}body.horizontal-cht-menu.chaty-in-mobile .chaty-main-widget.is-in-mobile{display:inline-block}body.horizontal-cht-menu.chaty-widget-is-right .chaty-widget-is{left:100%!important;right:auto!important}body.horizontal-cht-menu .chaty-widget.chaty-widget-is-right .chaty-widget-is{right:auto!important;left:100%!important}body.horizontal-cht-menu .chaty-widget.one_widget .chaty-widget-is{right:0!important;left:0!important}body.chaty-in-desktop.horizontal-cht-menu .chaty-main-widget.is-in-desktop,body.chaty-in-mobile.horizontal-cht-menu .chaty-main-widget.is-in-mobile{display:inline-block!important}.wechat-qr-code.right{right:25px;left:auto}.wechat-qr-code.left{right:auto;left:25px}body.horizontal-cht-menu .chaty-widget-is .chaty-widget-i:not(.no-tooltip) .chaty-widget-i-title{right:auto;left:auto;transform:translate(calc(-50% + 26px),-140%);top:0}body.horizontal-cht-menu .chaty-widget-is .chaty-widget-i:not(.no-tooltip):before{top:-30%;left:0;right:0;margin:0 auto;transform:rotate(-90deg)}body.horizontal-cht-menu.right-cht-position .chaty-widget-is .chaty-widget-i:not(.no-tooltip):before{transform:rotate(90deg)}.i-trigger.one-widget.no-tooltip .chaty-widget-i-title{display:none}.i-trigger.one-widget.no-tooltip .chaty-widget-i:before{display:none}body .chaty-widget.one_widget .i-trigger.one-widget.show-channel .chaty-widget-i-title,body .chaty-widget.one_widget .i-trigger.one-widget.show-channel .chaty-widget-i:before{opacity:0!important}body .chaty-widget.one_widget .i-trigger.one-widget.show-channel:hover .chaty-widget-i-title,body .chaty-widget.one_widget .i-trigger.one-widget.show-channel:hover .chaty-widget-i:before{opacity:1!important}.chaty-widget.has-not-close-button .chaty-widget-is{top:auto!important;bottom:0!important}body.horizontal-cht-menu .chaty-widget-show .chaty-widget-i.chaty-close-settings .chaty-widget-i-title{right:auto;left:auto;transform:translate(calc(-50% + 26px),-140%);top:0}body.horizontal-cht-menu .chaty-widget-i.chaty-close-settings.i-trigger-close:before{top:-30%;left:0;right:0;margin:0 auto;transform:rotate(-90deg)}body.horizontal-cht-menu.right-cht-position .chaty-widget-i.chaty-close-settings.i-trigger-close:before{transform:rotate(90deg)}span.cht-pending-message{position:absolute;top:-4px;right:-4px;font-size:11px;font-size:11.5px;border-radius:50%;background:#d00;color:#fff;min-width:20px;min-height:20px;text-align:center;line-height:20px}.chaty-widget .sr-only{border:0!important;clip:rect(0,0,0,0);height:1px!important;margin:-1px!important;overflow:hidden;padding:0!important;position:absolute;width:1px!important}.chaty-whatsapp-header{padding:5px 0 1px 10px;text-align:left;background:#4fce5d}.chaty-contact-header{padding:5px 5px 5px 10px;text-align:left;background:#fff;font-size:18px;border-bottom:solid 1px #acacac}.chaty-contact-header svg,.chaty-whatsapp-header svg{width:24px;height:24px;color:#000;margin:0!important;padding:0;text-align:center;line-height:24px;font-weight:700;cursor:pointer}.close-chaty-box{float:right}.chaty-contact-header svg{fill:#000!important}.chaty-whatsapp-body{background:#e6ddd4;padding:20px 20px 20px 10px;position:relative;z-index:2;height:260px}.chaty-whatsapp-body:before{display:block;position:absolute;content:"";left:0;top:0;height:100%;width:100%;z-index:0;opacity:.08;background-image:url(../images/whatsapp.png)}.chaty-whatsapp-message{padding:7px 14px 6px;background-color:#fff;border-radius:0 8px 8px;position:relative;transform-origin:center top;z-index:2;box-shadow:rgba(0,0,0,.13) 0 1px .5px;margin-top:4px;margin-left:15px;max-width:calc(100% - 40px);font-size:14px;font-family:Segoe UI,Helvetica Neue,Helvetica,Lucida Grande,Arial,Ubuntu,Cantarell,Fira Sans,sans-serif}.chaty-whatsapp-message:before{position:absolute;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAmCAMAAADp2asXAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAACQUExURUxpccPDw9ra2m9vbwAAAAAAADExMf///wAAABoaGk9PT7q6uqurqwsLCycnJz4+PtDQ0JycnIyMjPf3915eXvz8/E9PT/39/RMTE4CAgAAAAJqamv////////r6+u/v7yUlJeXl5f///5ycnOXl5XNzc/Hx8f///xUVFf///+zs7P///+bm5gAAAM7Ozv///2fVensAAAAvdFJOUwCow1cBCCnqAhNAnY0WIDW2f2/hSeo99g1lBYT87vDXG8/6d8oL4sgM5szrkgl660OiZwAAAHRJREFUKM/ty7cSggAABNFVUQFzwizmjPz/39k4YuFWtm55bw7eHR6ny63+alnswT3/rIDzUSC7CrAziPYCJCsB+gbVkgDtVIDh+DsE9OTBpCtAbSBAZSEQNgWIygJ0RgJMDWYNAdYbAeKtAHODlkHIv997AkLqIVOXVU84AAAAAElFTkSuQmCC);background-position:50% 50%;background-repeat:no-repeat;background-size:contain;content:"";top:0;left:-12px;width:12px;height:19px}.chaty-whatsapp-footer{position:relative;padding:12px 15px;background:#f0f0f0}.chaty-whatsapp-footer input.chaty-whatsapp-msg{height:48px!important;line-height:32px;padding:0 10px 0 15px;font-size:14px;resize:none;width:100%;border:none;border-radius:24px;outline:0;font-family:Segoe UI,Helvetica Neue,Helvetica,Lucida Grande,Arial,Ubuntu,Cantarell,Fira Sans,sans-serif}.chaty-whatsapp-footer input.chaty-whatsapp-msg:focus{outline:0;box-shadow:none}.chaty-whatsapp-footer .chaty-whatsapp-field{width:calc(100% - 60px);float:left}.chaty-whatsapp-footer button.chaty-whatsapp-submit-btn{line-height:48px;text-align:center;float:right;height:48px;width:48px;padding:8px 10px 8px 15px;background:#25d366;border-radius:24px;outline:0;box-shadow:none;border:none}.chaty-whatsapp-footer button.chaty-whatsapp-submit-btn:focus,.chaty-whatsapp-footer button.chaty-whatsapp-submit-btn:hover{background:#22bf5b}.chaty-whatsapp-footer button.chaty-whatsapp-submit-btn svg{width:100%;height:100%;display:block}.chaty-contact-body{padding:10px 10px 0}.chaty-inline-popup{vertical-align:bottom;background:#fff;-webkit-box-shadow:0 0 5px 0 #ccc;-moz-box-shadow:0 0 5px 0 #ccc;box-shadow:0 0 5px 0 #ccc;-webkit-border-radius:6px;-moz-border-radius:6px;border-radius:6px;max-width:250px;height:auto;overflow:hidden;position:fixed;bottom:30px;left:100px;padding:0;z-index:100001;max-width:inherit;width:280px;transition:all .5s linear;-webkit-transition:all .5s linear;-moz-transition:all .5s linear}.chaty-inline-popup{box-shadow:rgba(0,0,0,.16) 0 5px 40px;-webkit-box-shadow:rgba(0,0,0,.16) 0 5px 40px;-moz-box-shadow:rgba(0,0,0,.16) 0 5px 40px}.chaty-inline-popup:not(.active){bottom:-100%!important}.chaty-input-area{width:100%;margin-bottom:10px;line-height:36px}.chaty-input-area input[type=email],.chaty-input-area input[type=text],.chaty-input-area textarea{width:100%;height:30px;line-height:36px;font-size:14px;padding:0 0 0 10px;border:solid 1px #ccc;border-radius:4px}.chaty-whatsapp-popup,.chaty-whatsapp-popup input{position:relative}.chaty-input-area input[type=email].has-chaty-error,.chaty-input-area input[type=text].has-chaty-error,.chaty-input-area textarea.has-chaty-error{border:solid 1px #d20000}.chaty-input-area textarea{height:100px;line-height:1.25;padding:5px 10px}.chaty-contact-body form .chaty-input-area:last-child{padding:0;margin:0}.chaty-contact-footer{padding:0 10px 10px}.chaty-contact-footer button.chaty-contact-submit-btn{width:100%;padding:5px;font-weight:400;border-radius:5px;border:none;cursor:pointer;outline:0;text-decoration:none}.close-chaty-popup{position:absolute;right:5px;top:5px;background:#30534b;width:22px;height:22px;border-radius:15px;padding:3px;cursor:pointer;transition:all .4s;-webkit-transition:all .4s;-moz-transition:all .4s}.close-chaty-popup:hover{transform:rotate(180deg);-webkit-transform:rotate(180deg);-moz-transform:rotate(180deg)}.chaty-close-button{position:relative;width:16px;height:16px;transition:all .4s;cursor:pointer}.chaty-close-button:after,.chaty-close-button:before{content:"";position:absolute;width:12px;height:2px;background-color:#fff;display:block;border-radius:2px;transform:rotate(45deg);top:7px;left:2px}.close-chaty-box .chaty-close-button:after,.close-chaty-box .chaty-close-button:before{background-color:#333}.chaty-close-button:after{transform:rotate(-45deg)}.close-chaty-box .chaty-close-button:hover{transform:rotate(180deg)}.chaty-ajax-success-message{color:#00a700;padding:5px 0;text-align:center;font-size:16px}.chaty-ajax-error-message{color:#da0000;padding:5px 0;text-align:center;font-size:16px}span.chaty-error-msg{color:#da0000;font-size:14px;line-height:1;display:block}.chaty-widget.chaty-popup-open .chaty-widget-i:not(.no-tooltip):before{opacity:0!important;display:none!important}.chaty-widget.chaty-popup-open .chaty-widget-i .chaty-widget-i-title{opacity:0!important;display:none!important}.chaty-widget.hide-block{transition:all .25s linear}.chaty-widget.hide-block.active{transform:scale(0);-webkit-transform:scale(0);-moz-transform:scale(0)}body.right-cht-position .chaty-inline-popup{left:auto;right:25px;bottom:25px;position:fixed}body.left-cht-position .chaty-inline-popup{left:25px;right:auto;bottom:25px;position:fixed}.chaty-widget.hide-block{transition:all .25s linear}.chaty-widget.hide-block.active{transform:scale(0);-webkit-transform:scale(0);-moz-transform:scale(0)}.chaty-animation-shockwave:after{content:"";position:absolute;top:0;left:0;bottom:0;right:0;border-radius:50%;-webkit-animation:chaty-animation-shockwave 2s 1.3s ease-out infinite;animation:chaty-animation-shockwave 2s 1.3s ease-out infinite}.chaty-animation-shockwave:before{content:"";position:absolute;top:0;left:0;bottom:0;right:0;border-radius:50%;-webkit-animation:chaty-animation-shockwave 2s .8s ease-out infinite;animation:chaty-animation-shockwave 2s .8s ease-out infinite}.one_widget.chaty-widget .chaty-widget-i.no-tooltip .chaty-widget-i-title{display:none}.chaty-widget.one_widget .chaty-widget-i.no-tooltip:before{display:none}.i-trigger.one-widget a{position:relative;display:block}.i-trigger.one-widget a:after{content:"";position:absolute;height:100%;width:100%;top:0;left:0;background:#000;z-index:111;display:block;border-radius:50%;opacity:0;transition:all .1s linear;-webkit-transition:all .1s linear}.i-trigger.one-widget a:hover:after{opacity:.12}@-webkit-keyframes chaty-animation-shockwave{0%{transform:scale(1);box-shadow:0 0 2px rgba(0,0,0,.3),inset 0 0 1px rgba(0,0,0,.3)}95%{box-shadow:0 0 50px transparent,inset 0 0 30px transparent}100%{transform:scale(2.25)}}@keyframes chaty-animation-shockwave{0%{transform:scale(1);box-shadow:0 0 2px rgba(0,0,0,.3),inset 0 0 1px rgba(0,0,0,.3)}95%{box-shadow:0 0 50px transparent,inset 0 0 30px transparent}100%{transform:scale(2.25)}}.chaty-animation-blink{-webkit-animation:chaty-animation-blink 1.33s ease-out infinite;animation:chaty-animation-blink 1.33s ease-out infinite}@-webkit-keyframes chaty-animation-blink{0%{opacity:1}20%{opacity:.5}100%{opacity:1}}@keyframes chaty-animation-blink{0%{opacity:1}20%{opacity:.5}100%{opacity:1}}.chaty-animation-pulse-icon{-webkit-animation:chaty-animation-pulse-icon .4s ease infinite alternate;animation:chaty-animation-pulse-icon .4s ease infinite alternate}@-webkit-keyframes chaty-animation-pulse-icon{0%{transform:scale(1);box-shadow:0 2px 2px rgba(0,0,0,.2);border-radius:50%}100%{transform:scale(1.1);box-shadow:0 2px 2px rgba(0,0,0,.2);border-radius:45%}}@keyframes chaty-animation-pulse-icon{0%{transform:scale(1);border-radius:50%}100%{transform:scale(1.1);border-radius:45%}}@keyframes chaty-animation-pulse{0%{background-color:orange}25%{background-color:red}50%{background-color:orange}75%{background-color:red}}body.chaty-in-mobile .chaty-widget-i.chaty-close-settings.i-trigger-close:before{display:none}.i-trigger.one-widget.no-tooltip:not(.show-channel) .chaty-widget-i-title{display:none}.i-trigger.one-widget.no-tooltip:not(.show-channel) .chaty-widget-i:before{display:none}body .chaty-widget.one_widget .i-trigger.one-widget.show-channel .chaty-widget-i-title,body .chaty-widget.one_widget .i-trigger.one-widget.show-channel .chaty-widget-i:before{opacity:0!important}body .chaty-widget.one_widget .i-trigger.one-widget.show-channel:hover .chaty-widget-i-title,body .chaty-widget.one_widget .i-trigger.one-widget.show-channel:hover .chaty-widget-i:before{opacity:1!important}
includes/class-frontend.php CHANGED
@@ -35,7 +35,9 @@ class CHT_Frontend extends CHT_Admin_Base
35
  add_action('wp_ajax_change_chaty_widget_status', array($this, 'change_chaty_widget_status')); // remove social media widget
36
  }
37
 
38
- add_action('wp_enqueue_scripts', array($this, 'cht_front_end_css_and_js'), 0);
 
 
39
  }
40
 
41
  public function remove_chaty_widget() {
@@ -111,6 +113,18 @@ class CHT_Frontend extends CHT_Admin_Base
111
  echo "1"; exit;
112
  }
113
 
 
 
 
 
 
 
 
 
 
 
 
 
114
  function chaty_front_form_save_data() {
115
  $response = array(
116
  'status' => 0,
@@ -183,6 +197,9 @@ class CHT_Frontend extends CHT_Admin_Base
183
  $send_leads_in_email = $value['send_leads_in_email'];
184
  $save_leads_locally = $value['save_leads_locally'];
185
 
 
 
 
186
  global $wpdb;
187
  $chaty_table = $wpdb->prefix . 'chaty_contact_form_leads';
188
  $insert = array();
@@ -205,7 +222,7 @@ class CHT_Frontend extends CHT_Admin_Base
205
  $insert['ref_page'] = $ref_url;
206
  $insert['ip_address'] = $this->get_user_ipaddress();
207
  $insert['widget_id'] = esc_sql(sanitize_text_field($widget));
208
- $insert['created_on'] = date("Y-m-d H:i:s");
209
  $wpdb->insert($chaty_table, $insert);
210
 
211
 
@@ -360,6 +377,8 @@ class CHT_Frontend extends CHT_Admin_Base
360
  $pending_messages = "off";
361
  }
362
 
 
 
363
  /* widget setting array */
364
  $settings = array();
365
  $settings['isPRO'] = 0;
@@ -376,7 +395,8 @@ class CHT_Frontend extends CHT_Admin_Base
376
  $settings['bot'] = $cht_bottom_spacing;
377
  $settings['side'] = $cht_side_spacing;
378
  $settings['device'] = $this->device();
379
- $settings['color'] = ($bg_color) ? $bg_color : '#A886CD';
 
380
  $settings['widget_size'] = $cht_widget_size;
381
  $settings['widget_type'] = get_option('widget_icon');
382
  $settings['widget_img'] = $this->getCustomWidgetImg();
@@ -440,11 +460,11 @@ class CHT_Frontend extends CHT_Admin_Base
440
  /*.chaty-widget-i-title.hide-it { display: none !important; }*/
441
  body div.chaty-widget.hide-widget { display: none !important; }
442
  <?php
443
- echo ".i-trigger .chaty-widget-i-title {color:".esc_attr($cht_cta_text_color)." !important; background:".esc_attr($cht_cta_bg_color)." !important;}";
444
- echo ".i-trigger .chaty-widget-i-title p {color:".esc_attr($cht_cta_text_color)." !important; background:".esc_attr($cht_cta_bg_color)." !important;}";
445
- echo ".i-trigger .chaty-widget-i:not(.no-tooltip):before { border-color: transparent transparent transparent ".esc_attr($cht_cta_bg_color)." !important;}";
446
- echo ".chaty-widget.chaty-widget-is-right .i-trigger .i-trigger-open.chaty-widget-i:before { border-color: transparent ".esc_attr($cht_cta_bg_color)." transparent transparent !important;}";
447
- echo ".chaty-widget.chaty-widget-is-right .i-trigger .chaty-widget-i:before {border-color: transparent ".esc_attr($cht_cta_bg_color)." transparent transparent !important; }";
448
  $chaty_css = ob_get_clean();
449
 
450
  if($len >= 1 && !empty($settings['social'])) {
@@ -483,7 +503,6 @@ class CHT_Frontend extends CHT_Admin_Base
483
  if (!empty($social)) {
484
  $status = 1;
485
  $data = $social;
486
- // echo "<pre>"; print_r($social); echo "</pre>";
487
  $data['help'] = "";
488
  $data['help_text'] = "";
489
  $data['help_link'] = "";
@@ -644,17 +663,17 @@ class CHT_Frontend extends CHT_Admin_Base
644
  <div class="move-icon">
645
  <img src="<?php echo esc_url(plugin_dir_url("")."/chaty/admin/assets/images/move-icon.png") ?>">
646
  </div>
647
- <div class="icon icon-md active" data-label="<?php esc_attr_e($value['title']); ?>">
648
- <span style="" class="custom-chaty-image custom-image-<?php echo esc_attr($social['slug']) ?>" id="image_data_<?php echo esc_attr($social['slug']) ?>">
649
- <img src="<?php echo esc_url($imageUrl) ?>" />
650
- <span onclick="remove_chaty_image('<?php echo esc_attr($social['slug']) ?>')" class="remove-icon-img"></span>
651
- </span>
652
  <span class="default-chaty-icon <?php echo (isset($value['fa_icon'])&&!empty($value['fa_icon']))?"has-fa-icon":"" ?> custom-icon-<?php echo esc_attr($social['slug']) ?> default_image_<?php echo esc_attr($social['slug']) ?>" >
653
- <svg width="39" height="39" viewBox="0 0 39 39" fill="none" xmlns="http://www.w3.org/2000/svg">
654
- <?php echo $svg_icon; ?>
655
- </svg>
656
- <span class="facustom-icon" style="background-color: <?php echo esc_attr($value['bg_color']) ?>"><i class="<?php echo esc_attr($value['fa_icon']) ?>"></i></span>
657
- </span>
658
  </div>
659
 
660
  <?php if($social['slug'] != 'Contact_Us') { ?>
@@ -1084,10 +1103,11 @@ class CHT_Frontend extends CHT_Admin_Base
1084
  <!-- advance setting for Email -->
1085
  <div class="clear clearfix"></div>
1086
  <div class="chaty-setting-col">
1087
- <label>Mail Subject</label>
1088
  <div>
1089
  <?php $mail_subject = isset($value['mail_subject'])?$value['mail_subject']:""; ?>
1090
  <input id="cht_social_message_<?php echo esc_attr($social['slug']); ?>" type="text" name="cht_social_<?php echo esc_attr($social['slug']); ?>[mail_subject]" value="<?php esc_attr_e($mail_subject) ?>" >
 
1091
  </div>
1092
  </div>
1093
  </div>
@@ -1179,11 +1199,12 @@ class CHT_Frontend extends CHT_Admin_Base
1179
  <div class="Email-settings advanced-settings">
1180
  <div class="clear clearfix"></div>
1181
  <div class="chaty-setting-col">
1182
- <label>Mail Subject</label>
1183
  <div>
1184
  <div class="pro-features">
1185
  <div class="pro-item">
1186
  <input disabled id="cht_social_message_<?php echo esc_attr($social['slug']); ?>" type="text" name="" value="" >
 
1187
  </div>
1188
  <div class="pro-button">
1189
  <a target="_blank" href="<?php echo esc_url($this->getUpgradeMenuItemUrl());?>"><?php esc_attr_e('Upgrade to Pro', CHT_OPT);?></a>
@@ -1237,6 +1258,24 @@ class CHT_Frontend extends CHT_Admin_Base
1237
  </div>
1238
  </div>
1239
  <?php } ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1240
  </div>
1241
  <!-- advance setting fields: end -->
1242
 
@@ -1375,11 +1414,19 @@ class CHT_Frontend extends CHT_Admin_Base
1375
  if($channel_type == "whatsapp") {
1376
  /* setting for Whatsapp URL */
1377
  $val = str_replace("+","",$val);
1378
- $url = "https://web.whatsapp.com/send?phone=".$val;
 
 
 
 
1379
  $mobile_url = "https://wa.me/".$val;
1380
  // https://wa.me/$number?text=$test
1381
  if(isset($value['pre_set_message']) && !empty($value['pre_set_message'])) {
1382
- $url .= "&text=".rawurlencode($value['pre_set_message']);
 
 
 
 
1383
  $mobile_url .= "?text=".rawurlencode($value['pre_set_message']);
1384
  }
1385
  if(wp_is_mobile()) {
@@ -1402,7 +1449,11 @@ class CHT_Frontend extends CHT_Admin_Base
1402
  $popup_html .= "<span class='default-msg-phone' style='display:none'>".esc_attr($val)."</span>";
1403
  $popup_html .= "<div class='chaty-whatsapp-body'>".$close_button."<div class='chaty-whatsapp-message'></div></div>";
1404
  $popup_html .= "<div class='chaty-whatsapp-footer'>";
1405
- $popup_html .= "<form class='whatsapp-chaty-form' autocomplete='off' target='_blank' action='https://web.whatsapp.com/send' method='get'>";
 
 
 
 
1406
  $popup_html .= "<div class='chaty-whatsapp-field'><input autocomplete='off' class='chaty-whatsapp-msg' name='text' value='' /></div>";
1407
  $popup_html .= "<input type='hidden' name='phone' class='chaty-whatsapp-phone' value='' />";
1408
  $popup_html .= "<input type='hidden' class='is-default-open' value='".esc_attr($is_default_open)."' />";
@@ -1596,10 +1647,12 @@ class CHT_Frontend extends CHT_Admin_Base
1596
 
1597
  $svg = '<svg class="ico_d '.$svg_class.'" width="39" height="39" viewBox="0 0 39 39" fill="none" xmlns="http://www.w3.org/2000/svg" style="transform: rotate(0deg);">'.$svg.'</svg>';
1598
 
 
1599
  $data = array(
1600
  'val' => esc_attr__(wp_unslash($val)),
1601
  'default_icon' => $svg,
1602
  'bg_color' => $value['bg_color'],
 
1603
  'title' => esc_attr__(wp_unslash($value['title'])),
1604
  'img_url' => esc_url($image_url),
1605
  'social_channel' => $slug,
@@ -1631,6 +1684,62 @@ class CHT_Frontend extends CHT_Admin_Base
1631
 
1632
  }
1633
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1634
  private function canInsertWidget()
1635
  {
1636
  return get_option('cht_active') && $this->checkChannels();
35
  add_action('wp_ajax_change_chaty_widget_status', array($this, 'change_chaty_widget_status')); // remove social media widget
36
  }
37
 
38
+ if(!isset($_GET['ct_builder'])) {
39
+ add_action( 'wp_enqueue_scripts', array( $this, 'cht_front_end_css_and_js' ), 0 );
40
+ }
41
  }
42
 
43
  public function remove_chaty_widget() {
113
  echo "1"; exit;
114
  }
115
 
116
+ function getWpTimezone() {
117
+ $timezone_string = get_option( 'timezone_string' );
118
+ if ( ! empty( $timezone_string ) ) {
119
+ return $timezone_string;
120
+ }
121
+ $offset = get_option( 'gmt_offset' );
122
+ $hours = (int) $offset;
123
+ $minutes = abs( ( $offset - (int) $offset ) * 60 );
124
+ $offset = "UTC".sprintf( '%+03d:%02d', $hours, $minutes );
125
+ return $offset;
126
+ }
127
+
128
  function chaty_front_form_save_data() {
129
  $response = array(
130
  'status' => 0,
197
  $send_leads_in_email = $value['send_leads_in_email'];
198
  $save_leads_locally = $value['save_leads_locally'];
199
 
200
+ $time_zone = $this->getWpTimezone();
201
+ date_default_timezone_set($time_zone);
202
+
203
  global $wpdb;
204
  $chaty_table = $wpdb->prefix . 'chaty_contact_form_leads';
205
  $insert = array();
222
  $insert['ref_page'] = $ref_url;
223
  $insert['ip_address'] = $this->get_user_ipaddress();
224
  $insert['widget_id'] = esc_sql(sanitize_text_field($widget));
225
+ $insert['created_on'] = date_i18n("Y-m-d H:i:s");
226
  $wpdb->insert($chaty_table, $insert);
227
 
228
 
377
  $pending_messages = "off";
378
  }
379
 
380
+ $bg_color = ($bg_color) ? $bg_color : '#A886CD';
381
+
382
  /* widget setting array */
383
  $settings = array();
384
  $settings['isPRO'] = 0;
395
  $settings['bot'] = $cht_bottom_spacing;
396
  $settings['side'] = $cht_side_spacing;
397
  $settings['device'] = $this->device();
398
+ $settings['color'] = $bg_color;
399
+ $settings['rgb_color'] = $this->getRGBColor($bg_color);
400
  $settings['widget_size'] = $cht_widget_size;
401
  $settings['widget_type'] = get_option('widget_icon');
402
  $settings['widget_img'] = $this->getCustomWidgetImg();
460
  /*.chaty-widget-i-title.hide-it { display: none !important; }*/
461
  body div.chaty-widget.hide-widget { display: none !important; }
462
  <?php
463
+ echo ".i-trigger .chaty-widget-i-title, .chaty-widget-i .chaty-widget-i-title {color:".esc_attr($cht_cta_text_color)." !important; background:".esc_attr($cht_cta_bg_color)." !important;}";
464
+ echo ".i-trigger .chaty-widget-i-title p, .chaty-widget-i.chaty-main-widget .chaty-widget-i-title p {color:".esc_attr($cht_cta_text_color)." !important; background:".esc_attr($cht_cta_bg_color)." !important;}";
465
+ echo ".i-trigger .chaty-widget-i:not(.no-tooltip):before, .chaty-widget-i.chaty-main-widget:before { border-color: transparent transparent transparent ".esc_attr($cht_cta_bg_color)." !important;}";
466
+ echo ".chaty-widget.chaty-widget-is-right .i-trigger .i-trigger-open.chaty-widget-i:before, .chaty-widget.chaty-widget-is-right .chaty-widget-i:before { border-color: transparent ".esc_attr($cht_cta_bg_color)." transparent transparent !important;}";
467
+ echo ".chaty-widget.chaty-widget-is-right .i-trigger .chaty-widget-i:before, .chaty-widget.chaty-widget-is-right .chaty-widget-i:before {border-color: transparent ".esc_attr($cht_cta_bg_color)." transparent transparent !important; }";
468
  $chaty_css = ob_get_clean();
469
 
470
  if($len >= 1 && !empty($settings['social'])) {
503
  if (!empty($social)) {
504
  $status = 1;
505
  $data = $social;
 
506
  $data['help'] = "";
507
  $data['help_text'] = "";
508
  $data['help_link'] = "";
663
  <div class="move-icon">
664
  <img src="<?php echo esc_url(plugin_dir_url("")."/chaty/admin/assets/images/move-icon.png") ?>">
665
  </div>
666
+ <div class="icon icon-md active" data-label="<?php esc_attr_e($social['title']); ?>">
667
+ <span style="" class="custom-chaty-image custom-image-<?php echo esc_attr($social['slug']) ?>" id="image_data_<?php echo esc_attr($social['slug']) ?>">
668
+ <img src="<?php echo esc_url($imageUrl) ?>" />
669
+ <span onclick="remove_chaty_image('<?php echo esc_attr($social['slug']) ?>')" class="remove-icon-img"></span>
670
+ </span>
671
  <span class="default-chaty-icon <?php echo (isset($value['fa_icon'])&&!empty($value['fa_icon']))?"has-fa-icon":"" ?> custom-icon-<?php echo esc_attr($social['slug']) ?> default_image_<?php echo esc_attr($social['slug']) ?>" >
672
+ <svg width="39" height="39" viewBox="0 0 39 39" fill="none" xmlns="http://www.w3.org/2000/svg">
673
+ <?php echo $svg_icon; ?>
674
+ </svg>
675
+ <span class="facustom-icon" style="background-color: <?php echo esc_attr($value['bg_color']) ?>"><i class="<?php echo esc_attr($value['fa_icon']) ?>"></i></span>
676
+ </span>
677
  </div>
678
 
679
  <?php if($social['slug'] != 'Contact_Us') { ?>
1103
  <!-- advance setting for Email -->
1104
  <div class="clear clearfix"></div>
1105
  <div class="chaty-setting-col">
1106
+ <label>Mail Subject <span class="icon label-tooltip inline-tooltip" data-label="Add your own pre-set message that's automatically added to the user's message. You can also use merge tags and add the URL or the title of the current visitor's page. E.g. you can add the current URL of a product to the message so you know which product the visitor is talking about when the visitor messages you"><span class="dashicons dashicons-editor-help"></span></span></label>
1107
  <div>
1108
  <?php $mail_subject = isset($value['mail_subject'])?$value['mail_subject']:""; ?>
1109
  <input id="cht_social_message_<?php echo esc_attr($social['slug']); ?>" type="text" name="cht_social_<?php echo esc_attr($social['slug']); ?>[mail_subject]" value="<?php esc_attr_e($mail_subject) ?>" >
1110
+ <span class="supported-tags"><span class="icon label-tooltip support-tooltip" data-label="{title} tag grabs the page title of the webpage">{title}</span> and <span class="icon label-tooltip support-tooltip" data-label="{url} tag grabs the URL of the page">{url}</span> tags are supported</span>
1111
  </div>
1112
  </div>
1113
  </div>
1199
  <div class="Email-settings advanced-settings">
1200
  <div class="clear clearfix"></div>
1201
  <div class="chaty-setting-col">
1202
+ <label>Mail Subject <span class="icon label-tooltip inline-tooltip" data-label="Add your own pre-set message that's automatically added to the user's message. You can also use merge tags and add the URL or the title of the current visitor's page. E.g. you can add the current URL of a product to the message so you know which product the visitor is talking about when the visitor messages you"><span class="dashicons dashicons-editor-help"></span></span></label>
1203
  <div>
1204
  <div class="pro-features">
1205
  <div class="pro-item">
1206
  <input disabled id="cht_social_message_<?php echo esc_attr($social['slug']); ?>" type="text" name="" value="" >
1207
+ <span class="supported-tags"><span class="icon label-tooltip support-tooltip" data-label="{title} tag grabs the page title of the webpage">{title}</span> and <span class="icon label-tooltip support-tooltip" data-label="{url} tag grabs the URL of the page">{url}</span> tags are supported</span>
1208
  </div>
1209
  <div class="pro-button">
1210
  <a target="_blank" href="<?php echo esc_url($this->getUpgradeMenuItemUrl());?>"><?php esc_attr_e('Upgrade to Pro', CHT_OPT);?></a>
1258
  </div>
1259
  </div>
1260
  <?php } ?>
1261
+
1262
+ <?php $use_whatsapp_web = isset($value['use_whatsapp_web'])?$value['use_whatsapp_web']:"yes"; ?>
1263
+ <div class="Whatsapp-settings advanced-settings">
1264
+ <div class="clear clearfix"></div>
1265
+ <div class="chaty-setting-col">
1266
+ <label>Whatsapp Web</label>
1267
+ <input type="hidden" name="cht_social_<?php echo esc_attr($social['slug']); ?>[use_whatsapp_web]" value="no" />
1268
+ <div>
1269
+ <div class="checkbox">
1270
+ <label for="cht_social_<?php echo esc_attr($social['slug']); ?>_use_whatsapp_web" class="chaty-checkbox">
1271
+ <input class="sr-only" type="checkbox" id="cht_social_<?php echo esc_attr($social['slug']); ?>_use_whatsapp_web" name="cht_social_<?php echo esc_attr($social['slug']); ?>[use_whatsapp_web]" value="yes" <?php echo checked($use_whatsapp_web, "yes") ?> />
1272
+ <span></span>
1273
+ Use Whatsapp Web directly on desktop
1274
+ </label>
1275
+ </div>
1276
+ </div>
1277
+ </div>
1278
+ </div>
1279
  </div>
1280
  <!-- advance setting fields: end -->
1281
 
1414
  if($channel_type == "whatsapp") {
1415
  /* setting for Whatsapp URL */
1416
  $val = str_replace("+","",$val);
1417
+ if(isset($value['use_whatsapp_web']) && $value['use_whatsapp_web'] == "no") {
1418
+ $url = "https://wa.me/".$val;
1419
+ } else {
1420
+ $url = "https://web.whatsapp.com/send?phone=" . $val;
1421
+ }
1422
  $mobile_url = "https://wa.me/".$val;
1423
  // https://wa.me/$number?text=$test
1424
  if(isset($value['pre_set_message']) && !empty($value['pre_set_message'])) {
1425
+ if(isset($value['use_whatsapp_web']) && $value['use_whatsapp_web'] == "no") {
1426
+ $url .= "?text=".rawurlencode($value['pre_set_message']);
1427
+ } else {
1428
+ $url .= "&text=".rawurlencode($value['pre_set_message']);
1429
+ }
1430
  $mobile_url .= "?text=".rawurlencode($value['pre_set_message']);
1431
  }
1432
  if(wp_is_mobile()) {
1449
  $popup_html .= "<span class='default-msg-phone' style='display:none'>".esc_attr($val)."</span>";
1450
  $popup_html .= "<div class='chaty-whatsapp-body'>".$close_button."<div class='chaty-whatsapp-message'></div></div>";
1451
  $popup_html .= "<div class='chaty-whatsapp-footer'>";
1452
+ if(isset($value['use_whatsapp_web']) && $value['use_whatsapp_web'] == "no") {
1453
+ $popup_html .= "<form class='whatsapp-chaty-form' autocomplete='off' target='_blank' action='https://wa.me/".$val."' method='get'>";
1454
+ } else {
1455
+ $popup_html .= "<form class='whatsapp-chaty-form' autocomplete='off' target='_blank' action='https://web.whatsapp.com/send' method='get'>";
1456
+ }
1457
  $popup_html .= "<div class='chaty-whatsapp-field'><input autocomplete='off' class='chaty-whatsapp-msg' name='text' value='' /></div>";
1458
  $popup_html .= "<input type='hidden' name='phone' class='chaty-whatsapp-phone' value='' />";
1459
  $popup_html .= "<input type='hidden' class='is-default-open' value='".esc_attr($is_default_open)."' />";
1647
 
1648
  $svg = '<svg class="ico_d '.$svg_class.'" width="39" height="39" viewBox="0 0 39 39" fill="none" xmlns="http://www.w3.org/2000/svg" style="transform: rotate(0deg);">'.$svg.'</svg>';
1649
 
1650
+ $rgb_color = $this->getRGBColor($value['bg_color']);
1651
  $data = array(
1652
  'val' => esc_attr__(wp_unslash($val)),
1653
  'default_icon' => $svg,
1654
  'bg_color' => $value['bg_color'],
1655
+ 'rbg_color' => $rgb_color,
1656
  'title' => esc_attr__(wp_unslash($value['title'])),
1657
  'img_url' => esc_url($image_url),
1658
  'social_channel' => $slug,
1684
 
1685
  }
1686
 
1687
+ public function getRGBColor($color) {
1688
+ if(!empty($color)) {
1689
+ if (strpos($color, '#') !== false) {
1690
+ $color = $this->hex2rgba($color);
1691
+ }
1692
+ if (strpos($color, 'rgba(') !== false || strpos($color, 'rgb(') !== false) {
1693
+ $color = explode(",", $color);
1694
+ $color = str_replace(array("rgba(", "rgb(", ")"), array("","",""), $color);
1695
+ $string = "";
1696
+ $string .= ((isset($color[0]))?trim($color[0]):"0").",";
1697
+ $string .= ((isset($color[1]))?trim($color[1]):"0").",";
1698
+ $string .= ((isset($color[2]))?trim($color[2]):"0");
1699
+ return $string;
1700
+ }
1701
+ }
1702
+ return "0,0,0";
1703
+ }
1704
+
1705
+ public function hex2rgba($color, $opacity = false) {
1706
+
1707
+ $default = 'rgb(0,0,0)';
1708
+
1709
+ //Return default if no color provided
1710
+ if(empty($color))
1711
+ return $default;
1712
+
1713
+ //Sanitize $color if "#" is provided
1714
+ if ($color[0] == '#' ) {
1715
+ $color = substr( $color, 1 );
1716
+ }
1717
+
1718
+ //Check if color has 6 or 3 characters and get values
1719
+ if (strlen($color) == 6) {
1720
+ $hex = array( $color[0] . $color[1], $color[2] . $color[3], $color[4] . $color[5] );
1721
+ } elseif ( strlen( $color ) == 3 ) {
1722
+ $hex = array( $color[0] . $color[0], $color[1] . $color[1], $color[2] . $color[2] );
1723
+ } else {
1724
+ return $default;
1725
+ }
1726
+
1727
+ //Convert hexadec to rgb
1728
+ $rgb = array_map('hexdec', $hex);
1729
+
1730
+ //Check if opacity is set(rgba or rgb)
1731
+ if($opacity){
1732
+ if(abs($opacity) > 1)
1733
+ $opacity = 1.0;
1734
+ $output = 'rgba('.implode(",",$rgb).','.$opacity.')';
1735
+ } else {
1736
+ $output = 'rgb('.implode(",",$rgb).')';
1737
+ }
1738
+
1739
+ //Return rgb(a) color string
1740
+ return $output;
1741
+ }
1742
+
1743
  private function canInsertWidget()
1744
  {
1745
  return get_option('cht_active') && $this->checkChannels();
js/cht-front-script.js CHANGED
@@ -29,6 +29,13 @@
29
  var e;
30
  var animationClass = ".i-trigger .chaty-widget-i .svg, .i-trigger .chaty-widget-i .widget-img, .i-trigger .chaty-widget-i .facustom-icon";
31
 
 
 
 
 
 
 
 
32
  function i(t) {
33
  if(get_cta_status() && chaty_settings.object_settings.click_setting == 'click') {
34
  return "none";
@@ -46,6 +53,11 @@
46
  }
47
 
48
  jQuery(document).ready(function(){
 
 
 
 
 
49
  "" != i("display_cta"), token = "", jQuery(document).ready(function () {
50
  e = chaty_settings;
51
  "true" == e.object_settings.active && (function (e, n) {
@@ -55,16 +67,7 @@
55
  a = "right" === c ? "left: auto; bottom: " + s + "px; right: " + r + "px" : "left: " + r + "px; bottom: " + s + "px; right: auto"
56
  }
57
  var g = e.object_settings.cta, d = "", l = e.object_settings.social;
58
- var isChatyInMobile = false; //initiate as false
59
- 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)
60
- || /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))) {
61
- isChatyInMobile = true;
62
- }
63
- if (isChatyInMobile) {
64
- jQuery("body").addClass("chaty-in-mobile");
65
- } else {
66
- jQuery("body").addClass("chaty-in-desktop");
67
- }
68
  if (Object.keys(l).length >= 1 && (d = '<div class="chaty-widget hide-widget ' + n + " " + o + ' " style="display:block; ' + a + '" dir="ltr">', d += '<div class="chaty-widget-is" id="transition_disabled">'), d += function (e) {
69
  var i = "", n = 0;
70
  return t.each(e.object_settings.social, function (t, o) {
@@ -109,7 +112,7 @@
109
  if (e.object_settings.social[t].on_click != "") {
110
  onclick_settings = ' onclick="' + e.object_settings.social[t].on_click + '"';
111
  }
112
- socialString = '<div data-popup="'+e.object_settings.social[t].popup_html+'" class="chaty-widget-i chaty-main-widget ' + desktopClass + " " + mobileClass + " " + extra_class + " channel-" + e.object_settings.social[t].social_channel + '" data-title="' + e.object_settings.social[t].val + '" id="chaty-channel-' + e.object_settings.social[t].social_channel + '" data-channel="' + e.object_settings.social[t].social_channel + '" data-code="' + e.object_settings.social[t].qr_code_image + '">',
113
  bgColor = "",
114
  "" != e.object_settings.social[t].bg_color && (socialString += "<style>#chaty-channel-" + e.object_settings.social[t].social_channel + " .color-element {fill: " + e.object_settings.social[t].bg_color + "; background: " + e.object_settings.social[t].bg_color + "}</style>", bgColor = "style='background-color: " + e.object_settings.social[t].bg_color + ";'"), socialString += "<a class='set-url-target' " + onclick_settings + " rel='noopener' data-mobile-target='" + e.object_settings.social[t].mobile_target + "' data-desktop-target='" + e.object_settings.social[t].desktop_target + "' target='" + targetAction + "' href='" + e.object_settings.social[t].href_url + "' >", socialString += "<span class='sr-only'>"+e.object_settings.social[t].title+"</span>", "" != e.object_settings.social[t].img_url ? socialString += "<span " + bgColor + " class='chaty-social-img'><img src='" + e.object_settings.social[t].img_url + "' alt='" + e.object_settings.social[t].title + "' /></span>" : socialString += e.object_settings.social[t].default_icon, socialString += "</a>", socialString += "<div class='chaty-widget-i-title'><p>" + e.object_settings.social[t].title + "</p></div>", socialString += "</div>";
115
  i += socialString;
@@ -361,6 +364,7 @@
361
  jQuery(".i-trigger").addClass("one-widget");
362
  if(get_cta_status());
363
 
 
364
  } else {
365
  jQuery(".chaty-widget").removeClass("one_widget");
366
  if (chaty_settings.object_settings.click_setting == 'click') {
@@ -383,6 +387,8 @@
383
  if (chaty_settings.object_settings.display_state == "open") {
384
  t(".i-trigger-open").addClass("no-tooltip")
385
  }
 
 
386
  }
387
  }
388
 
@@ -634,6 +640,17 @@
634
  } else {
635
  jQuery(".chaty-widget").addClass("hide-widget");
636
  }
 
 
 
 
 
 
 
 
 
 
 
637
  });
638
  jQuery(".chaty-widget-i-title").each(function () {
639
  if (jQuery(this).text() == "") {
@@ -695,6 +712,9 @@
695
  jQuery(".chaty-whatsapp-msg").focus();
696
  }
697
  }
 
 
 
698
  });
699
 
700
  jQuery(document).on("click", ".close-chaty-popup, .close-chaty-box", function(){
@@ -797,6 +817,26 @@
797
  return false;
798
  });
799
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
800
  function get_cta_status() {
801
  var cookieStr = "cta";
802
  var cookieValue = check_for_chaty_settinigs(cookieStr);
29
  var e;
30
  var animationClass = ".i-trigger .chaty-widget-i .svg, .i-trigger .chaty-widget-i .widget-img, .i-trigger .chaty-widget-i .facustom-icon";
31
 
32
+ var isChatyInMobile = false; //initiate as false
33
+ 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)
34
+ || /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))) {
35
+ isChatyInMobile = true;
36
+ }
37
+
38
+
39
  function i(t) {
40
  if(get_cta_status() && chaty_settings.object_settings.click_setting == 'click') {
41
  return "none";
53
  }
54
 
55
  jQuery(document).ready(function(){
56
+ if (isChatyInMobile) {
57
+ jQuery("body").addClass("chaty-in-mobile");
58
+ } else {
59
+ jQuery("body").addClass("chaty-in-desktop");
60
+ }
61
  "" != i("display_cta"), token = "", jQuery(document).ready(function () {
62
  e = chaty_settings;
63
  "true" == e.object_settings.active && (function (e, n) {
67
  a = "right" === c ? "left: auto; bottom: " + s + "px; right: " + r + "px" : "left: " + r + "px; bottom: " + s + "px; right: auto"
68
  }
69
  var g = e.object_settings.cta, d = "", l = e.object_settings.social;
70
+
 
 
 
 
 
 
 
 
 
71
  if (Object.keys(l).length >= 1 && (d = '<div class="chaty-widget hide-widget ' + n + " " + o + ' " style="display:block; ' + a + '" dir="ltr">', d += '<div class="chaty-widget-is" id="transition_disabled">'), d += function (e) {
72
  var i = "", n = 0;
73
  return t.each(e.object_settings.social, function (t, o) {
112
  if (e.object_settings.social[t].on_click != "") {
113
  onclick_settings = ' onclick="' + e.object_settings.social[t].on_click + '"';
114
  }
115
+ socialString = '<div data-popup="'+e.object_settings.social[t].popup_html+'" data-rgb="'+e.object_settings.social[t].rbg_color+'" class="chaty-widget-i chaty-main-widget ' + desktopClass + " " + mobileClass + " " + extra_class + " channel-" + e.object_settings.social[t].social_channel + '" data-title="' + e.object_settings.social[t].val + '" id="chaty-channel-' + e.object_settings.social[t].social_channel + '" data-channel="' + e.object_settings.social[t].social_channel + '" data-code="' + e.object_settings.social[t].qr_code_image + '">',
116
  bgColor = "",
117
  "" != e.object_settings.social[t].bg_color && (socialString += "<style>#chaty-channel-" + e.object_settings.social[t].social_channel + " .color-element {fill: " + e.object_settings.social[t].bg_color + "; background: " + e.object_settings.social[t].bg_color + "}</style>", bgColor = "style='background-color: " + e.object_settings.social[t].bg_color + ";'"), socialString += "<a class='set-url-target' " + onclick_settings + " rel='noopener' data-mobile-target='" + e.object_settings.social[t].mobile_target + "' data-desktop-target='" + e.object_settings.social[t].desktop_target + "' target='" + targetAction + "' href='" + e.object_settings.social[t].href_url + "' >", socialString += "<span class='sr-only'>"+e.object_settings.social[t].title+"</span>", "" != e.object_settings.social[t].img_url ? socialString += "<span " + bgColor + " class='chaty-social-img'><img src='" + e.object_settings.social[t].img_url + "' alt='" + e.object_settings.social[t].title + "' /></span>" : socialString += e.object_settings.social[t].default_icon, socialString += "</a>", socialString += "<div class='chaty-widget-i-title'><p>" + e.object_settings.social[t].title + "</p></div>", socialString += "</div>";
118
  i += socialString;
364
  jQuery(".i-trigger").addClass("one-widget");
365
  if(get_cta_status());
366
 
367
+ setCSSKeyFrames(jQuery(".i-trigger .chaty-widget-i:first").data("rgb"));
368
  } else {
369
  jQuery(".chaty-widget").removeClass("one_widget");
370
  if (chaty_settings.object_settings.click_setting == 'click') {
387
  if (chaty_settings.object_settings.display_state == "open") {
388
  t(".i-trigger-open").addClass("no-tooltip")
389
  }
390
+
391
+ setCSSKeyFrames(chaty_settings.object_settings.rgb_color);
392
  }
393
  }
394
 
640
  } else {
641
  jQuery(".chaty-widget").addClass("hide-widget");
642
  }
643
+
644
+
645
+ if(jQuery(".chaty-widget-i-title").length) {
646
+ jQuery(".chaty-widget-i-title").each(function(){
647
+ if(jQuery.trim(jQuery(this).text()) == "") {
648
+ jQuery(this).closest(".chaty-widget-i").addClass("hide-chaty-arrow");
649
+ jQuery(this).remove();
650
+ }
651
+ });
652
+ }
653
+
654
  });
655
  jQuery(".chaty-widget-i-title").each(function () {
656
  if (jQuery(this).text() == "") {
712
  jQuery(".chaty-whatsapp-msg").focus();
713
  }
714
  }
715
+ if(isChatyInMobile) {
716
+ jQuery(".whatsapp-chaty-form").prop("target", "");
717
+ }
718
  });
719
 
720
  jQuery(document).on("click", ".close-chaty-popup, .close-chaty-box", function(){
817
  return false;
818
  });
819
 
820
+ function setCSSKeyFrames(colorCode) {
821
+ console.log("fn called"+ colorCode);
822
+ var colorString = '@-webkit-keyframes chaty-animation-shockwave ' +
823
+ '{ ' +
824
+ '0% { transform: scale(1); box-shadow: 0 0 2px rgba('+colorCode+', 0.30), inset 0 0 1px rgba('+colorCode+', 0.30); } ' +
825
+ '95% { box-shadow: 0 0 50px rgba('+colorCode+', 0), inset 0 0 30px rgba('+colorCode+', 0); } ' +
826
+ '100% { transform: scale(2.25); } ' +
827
+ '} ' +
828
+ '' +
829
+ '@keyframes chaty-animation-shockwave { ' +
830
+ '0% { transform: scale(1); box-shadow: 0 0 2px rgba('+colorCode+', 0.30), inset 0 0 1px rgba('+colorCode+', 0.30); } ' +
831
+ '95% { box-shadow: 0 0 50px rgba('+colorCode+', 0), inset 0 0 30px rgba('+colorCode+', 0); } ' +
832
+ '100% { transform: scale(2.25); } ' +
833
+ '}';
834
+ if(!jQuery("#chaty-advance-css").length) {
835
+ jQuery("body").append("<div id='chaty-advance-css'></div>");
836
+ }
837
+ jQuery("#chaty-advance-css").append("<style>"+colorString+"</style>");
838
+ }
839
+
840
  function get_cta_status() {
841
  var cookieStr = "cta";
842
  var cookieValue = check_for_chaty_settinigs(cookieStr);
js/cht-front-script.min.js CHANGED
@@ -1 +1 @@
1
- function launch_chaty(){jQuery(".chaty-widget").hasClass("one_widget")||jQuery(".trigger-chaty-button").trigger("click")}function close_chaty(){jQuery("#chaty-inline-popup").hasClass("active")&&jQuery("#chaty-inline-popup .close-chaty-popup").trigger("click"),jQuery(".chaty-widget.chaty-widget-show").length&&jQuery(".chaty-widget.chaty-widget-show").each(function(){jQuery(this).find(".chaty-close-settings").length&&jQuery(this).find(".chaty-close-settings").trigger("click")})}!function(t){var e={};function i(s){if(e[s])return e[s].exports;var a=e[s]={i:s,l:!1,exports:{}};return t[s].call(a.exports,a,a.exports,i),a.l=!0,a.exports}i.m=t,i.c=e,i.d=function(t,e,s){i.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:s})},i.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return i.d(e,"a",e),e},i.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},i.p="/",i(i.s=10)}({10:function(t,e,i){i(11),t.exports=i(12)},11:function(t,e){!function(t){var e,i=0,s=".i-trigger .chaty-widget-i .svg, .i-trigger .chaty-widget-i .widget-img, .i-trigger .chaty-widget-i .facustom-icon";function a(t){return n()&&"click"==chaty_settings.object_settings.click_setting?"none":""}new Date;function c(){jQuery(".chaty-widget").hasClass("one_widget")&&jQuery(".chaty-widget").removeClass("chaty-widget-show")}function n(){var t=o("cta");if(null!=t&&""!=t){t=new Date(t);var e=Math.abs(new Date-t);return Math.floor(e/6e4)<=10}return!1}function o(t){var e=d("chaty_settings"),i=[];if(null!=e&&""!=e&&(i=JSON.parse(e)),i.length>0)for(var s=0;s<i.length;s++)if(i[s].k==t)return i[s].v;return null}function r(t){var e=d("chaty_settings"),i=[];null!=e&&""!=e&&(i=JSON.parse(e));var s=!1;if(i.length>0)for(var a=0;a<i.length;a++)i[a].k==t&&(s=!0,i[a].v=new Date);s||i.push({k:t,v:new Date}),h("chaty_settings",e=JSON.stringify(i),"7")}function g(t){var e=o(t);if(null!=e&&""!=e){e=new Date(e);var i=Math.abs(new Date-e);return Math.floor(i/864e5)>=1}return!0}function l(){var t=d("chaty_settings"),e=[];null!=t&&""!=t&&(e=JSON.parse(t));var i=!1;if(e.length>0)for(var s=0;s<e.length;s++)"cta"==e[s].k&&(i=!0,e[s].v=new Date);i||e.push({k:"cta",v:new Date}),h("chaty_settings",t=JSON.stringify(e),"7")}function h(t,e,i){var s="";if(i){var a=new Date;a.setTime(a.getTime()+24*i*60*60*1e3),s="; expires="+a.toUTCString()}document.cookie=t+"="+(e||"")+s+"; path=/"}function d(t){for(var e=t+"=",i=document.cookie.split(";"),s=0;s<i.length;s++){for(var a=i[s];" "==a.charAt(0);)a=a.substring(1,a.length);if(0==a.indexOf(e))return a.substring(e.length,a.length)}return null}function y(){r("cta_widget_status"),i=1;var t=0;t=jQuery("body").hasClass("chaty-in-desktop")?jQuery(".chaty-widget-is .chaty-widget-i.is-in-desktop").length:jQuery(".chaty-widget-is .chaty-widget-i.is-in-mobile").length,g("chaty-animation")||(chaty_settings.object_settings.animation_class=""),""!=chaty_settings.object_settings.animation_class&&("sheen"!=chaty_settings.object_settings.animation_class?t>1?jQuery(s).addClass("chaty-animation-"+chaty_settings.object_settings.animation_class).addClass("start-now"):1==t&&(s=".chaty-main-widget .svg, .chaty-main-widget img, .chaty-main-widget .facustom-icon",jQuery(s).removeClass("chaty-animation-"+chaty_settings.object_settings.animation_class).removeClass("start-now"),jQuery(s).addClass("chaty-animation-"+chaty_settings.object_settings.animation_class).addClass("start-now")):(s=".i-trigger .chaty-widget-i .wrap-svg",jQuery(".i-trigger .chaty-widget-i .wrap-svg").length,jQuery(s).removeClass("chaty-animation-sheen").removeClass("start-now"),jQuery(s).addClass("chaty-animation-sheen").addClass("start-now"))),"open"==chaty_settings.object_settings.display_state&&("no"==chaty_settings.object_settings.has_close_button?t>1&&(u(),jQuery(".chaty-widget").find(".i-trigger-open").removeClass("active_clos"),jQuery(".chaty-widget").find(".i-trigger-open").trigger("click"),jQuery(".chaty-widget-is").addClass("has-no-close-btn"),jQuery(".i-trigger").remove()):t>1&&(u(),jQuery(".chaty-widget").find(".i-trigger-open").removeClass("active_clos"),jQuery(".chaty-widget").find(".i-trigger-open").trigger("click"))),jQuery(".chaty-widget").hasClass("one_widget")&&jQuery(".chaty-widget").removeClass("chaty-widget-show")}function u(){r("chaty-animation"),jQuery(".chaty-animation-"+chaty_settings.object_settings.animation_class).removeClass("chaty-animation-"+chaty_settings.object_settings.animation_class).removeClass("start-now"),jQuery(".start-now").removeClass("start-now"),chaty_settings.object_settings.animation_class=""}jQuery(document).ready(function(){a(),token="",jQuery(document).ready(function(){"true"==(e=chaty_settings).object_settings.active&&function(e,i){var s=e.object_settings.device,c="";if("right"==e.object_settings.position)c="left: auto;bottom: 25px; right: 25px;";else if("left"==e.object_settings.position)c="right: auto; bottom: 25px; left: 25px;";else if("custom"==e.object_settings.position){var n=e.object_settings.pos_side,o=e.object_settings.bot,r=e.object_settings.side;c="right"===n?"left: auto; bottom: "+o+"px; right: "+r+"px":"left: "+r+"px; bottom: "+o+"px; right: auto"}var l=e.object_settings.cta,h="",d=e.object_settings.social,y=!1;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)||/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)))&&(y=!0),y?jQuery("body").addClass("chaty-in-mobile"):jQuery("body").addClass("chaty-in-desktop"),Object.keys(d).length>=1&&(h='<div class="chaty-widget hide-widget '+i+" "+s+' " style="display:block; '+c+'" dir="ltr">',h+='<div class="chaty-widget-is" id="transition_disabled">'),h+=function(e){var i="",s=0;return t.each(e.object_settings.social,function(t,a){if(e.object_settings.isPRO&&jQuery("body").addClass("has-pro-version"),!e.object_settings.isPRO&&"3"==++s)return!1;extra_class="","1"!=e.object_settings.analytics&&1!=e.object_settings.analytics||(extra_class+=" update-analytics ");var c=1==e.object_settings.social[t].is_desktop?"is-in-desktop":"",n=1==e.object_settings.social[t].is_mobile?"is-in-mobile":"",o=1==e.object_settings.is_mobile?e.object_settings.social[t].mobile_target:e.object_settings.social[t].desktop_target;if(jQuery("body").hasClass("chaty-in-mobile")&&(e.object_settings.social[t].href_url=e.object_settings.social[t].mobile_url),"viber"==e.object_settings.social[t].social_channel){if(jQuery("body").hasClass("chaty-in-mobile")){var r=e.object_settings.social[t].href_url;isNaN(r)||(r=r.replace("+",""),navigator.userAgent.match(/(iPod|iPhone|iPad)/)&&(r="+"+r)),e.object_settings.social[t].href_url=r}e.object_settings.social[t].href_url="viber://chat?number="+e.object_settings.social[t].href_url}1==parseInt(e.object_settings.social[t].has_custom_popup)&&("whatsapp"==e.object_settings.social[t].channel_type?(e.object_settings.social[t].is_default_open&&g("cht_whatsapp_window")&&(extra_class+=" open-it-by-default"),o="",e.object_settings.social[t].mobile_target="",e.object_settings.social[t].desktop_target="",extra_class+=" has-custom-chaty-popup whatsapp-button"):"contact_us"==e.object_settings.social[t].channel_type&&(extra_class+=" has-custom-chaty-popup whatsapp-button"));var l="";""!=e.object_settings.social[t].on_click&&(l=' onclick="'+e.object_settings.social[t].on_click+'"'),socialString='<div data-popup="'+e.object_settings.social[t].popup_html+'" class="chaty-widget-i chaty-main-widget '+c+" "+n+" "+extra_class+" channel-"+e.object_settings.social[t].social_channel+'" data-title="'+e.object_settings.social[t].val+'" id="chaty-channel-'+e.object_settings.social[t].social_channel+'" data-channel="'+e.object_settings.social[t].social_channel+'" data-code="'+e.object_settings.social[t].qr_code_image+'">',bgColor="",""!=e.object_settings.social[t].bg_color&&(socialString+="<style>#chaty-channel-"+e.object_settings.social[t].social_channel+" .color-element {fill: "+e.object_settings.social[t].bg_color+"; background: "+e.object_settings.social[t].bg_color+"}</style>",bgColor="style='background-color: "+e.object_settings.social[t].bg_color+";'"),socialString+="<a class='set-url-target' "+l+" rel='noopener' data-mobile-target='"+e.object_settings.social[t].mobile_target+"' data-desktop-target='"+e.object_settings.social[t].desktop_target+"' target='"+o+"' href='"+e.object_settings.social[t].href_url+"' >",socialString+="<span class='sr-only'>"+e.object_settings.social[t].title+"</span>",""!=e.object_settings.social[t].img_url?socialString+="<span "+bgColor+" class='chaty-social-img'><img src='"+e.object_settings.social[t].img_url+"' alt='"+e.object_settings.social[t].title+"' /></span>":socialString+=e.object_settings.social[t].default_icon,socialString+="</a>",socialString+="<div class='chaty-widget-i-title'><p>"+e.object_settings.social[t].title+"</p></div>",socialString+="</div>",i+=socialString}),i}(e),d=e.object_settings.social,Object.keys(d).length>=1){h+="</div>",h+='<div class="i-trigger">';var u=a(),w=current_url=window.location.origin;if(w=(w=w.replace("https://","")).replace("http://",""),""!=l&&"none"!=u)var p="true";else p="no-tooltip";"click"!=chaty_settings.object_settings.click_setting&&(p=!0),h+='<div class="chaty-widget-i chaty-close-settings i-trigger-open '+p+' ">',h+=function(t){switch(t.object_settings.widget_type){case"chat-image":if(t.object_settings.widget_img.length>1)return'<div class="widget-img" style="background-color:'+t.object_settings.color+'"><img src="'+t.object_settings.widget_img+'"/></div>';case"chat-smile":return'<svg version="1.1" id="smile" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="-496.8 507.1 54 54" style="enable-background:new -496.8 507.1 54 54;" xml:space="preserve"><style type="text/css">.st1{fill:#FFFFFF;} .st2{fill:none;stroke:#808080;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;}</style><g><circle cx="-469.8" cy="534.1" r="27" fill="'+t.object_settings.color+'"/></g><path class="st1" d="M-459.5,523.5H-482c-2.1,0-3.7,1.7-3.7,3.7v13.1c0,2.1,1.7,3.7,3.7,3.7h19.3l5.4,5.4c0.2,0.2,0.4,0.2,0.7,0.2c0.2,0,0.2,0,0.4,0c0.4-0.2,0.6-0.6,0.6-0.9v-21.5C-455.8,525.2-457.5,523.5-459.5,523.5z"/><path class="st2" d="M-476.5,537.3c2.5,1.1,8.5,2.1,13-2.7"/><path class="st2" d="M-460.8,534.5c-0.1-1.2-0.8-3.4-3.3-2.8"/></svg>';case"chat-bubble":return'<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="-496.9 507.1 54 54" style="enable-background:new -496.9 507.1 54 54;" xml:space="preserve"><style type="text/css">.st1{fill:#FFFFFF;}</style><g><circle cx="-469.9" cy="534.1" r="27" fill="'+t.object_settings.color+'"/></g><path class="st1" d="M-472.6,522.1h5.3c3,0,6,1.2,8.1,3.4c2.1,2.1,3.4,5.1,3.4,8.1c0,6-4.6,11-10.6,11.5v4.4c0,0.4-0.2,0.7-0.5,0.9 c-0.2,0-0.2,0-0.4,0c-0.2,0-0.5-0.2-0.7-0.4l-4.6-5c-3,0-6-1.2-8.1-3.4s-3.4-5.1-3.4-8.1C-484.1,527.2-478.9,522.1-472.6,522.1z M-462.9,535.3c1.1,0,1.8-0.7,1.8-1.8c0-1.1-0.7-1.8-1.8-1.8c-1.1,0-1.8,0.7-1.8,1.8C-464.6,534.6-463.9,535.3-462.9,535.3z M-469.9,535.3c1.1,0,1.8-0.7,1.8-1.8c0-1.1-0.7-1.8-1.8-1.8c-1.1,0-1.8,0.7-1.8,1.8C-471.7,534.6-471,535.3-469.9,535.3z M-477,535.3c1.1,0,1.8-0.7,1.8-1.8c0-1.1-0.7-1.8-1.8-1.8c-1.1,0-1.8,0.7-1.8,1.8C-478.8,534.6-478.1,535.3-477,535.3z"/></svg>';case"chat-db":return'<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="-496 507.1 54 54" style="enable-background:new -496 507.1 54 54;" xml:space="preserve"><style type="text/css">.st1{fill:#FFFFFF;}</style><g><circle cx="-469" cy="534.1" r="27" fill="'+t.object_settings.color+'"/></g><path class="st1" d="M-464.6,527.7h-15.6c-1.9,0-3.5,1.6-3.5,3.5v10.4c0,1.9,1.6,3.5,3.5,3.5h12.6l5,5c0.2,0.2,0.3,0.2,0.7,0.2c0.2,0,0.2,0,0.3,0c0.3-0.2,0.5-0.5,0.5-0.9v-18.2C-461.1,529.3-462.7,527.7-464.6,527.7z"/><path class="st1" d="M-459.4,522.5H-475c-1.9,0-3.5,1.6-3.5,3.5h13.9c2.9,0,5.2,2.3,5.2,5.2v11.6l1.9,1.9c0.2,0.2,0.3,0.2,0.7,0.2c0.2,0,0.2,0,0.3,0c0.3-0.2,0.5-0.5,0.5-0.9v-18C-455.9,524.1-457.5,522.5-459.4,522.5z"/></svg>';default:return'<svg version="1.1" id="ch" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="-496 507.7 54 54" style="enable-background:new -496 507.7 54 54;" xml:space="preserve"><style type="text/css">.st1 {fill: #FFFFFF;}.st0{fill: #808080;}</style><g><circle cx="-469" cy="534.7" r="27" fill="'+t.object_settings.color+'"/></g><path class="st1" d="M-459.9,523.7h-20.3c-1.9,0-3.4,1.5-3.4,3.4v15.3c0,1.9,1.5,3.4,3.4,3.4h11.4l5.9,4.9c0.2,0.2,0.3,0.2,0.5,0.2 h0.3c0.3-0.2,0.5-0.5,0.5-0.8v-4.2h1.7c1.9,0,3.4-1.5,3.4-3.4v-15.3C-456.5,525.2-458,523.7-459.9,523.7z"/><path class="st0" d="M-477.7,530.5h11.9c0.5,0,0.8,0.4,0.8,0.8l0,0c0,0.5-0.4,0.8-0.8,0.8h-11.9c-0.5,0-0.8-0.4-0.8-0.8l0,0C-478.6,530.8-478.2,530.5-477.7,530.5z"/><path class="st0" d="M-477.7,533.5h7.9c0.5,0,0.8,0.4,0.8,0.8l0,0c0,0.5-0.4,0.8-0.8,0.8h-7.9c-0.5,0-0.8-0.4-0.8-0.8l0,0C-478.6,533.9-478.2,533.5-477.7,533.5z"/></svg>'}}(e),u=a(),""!=l&&"none"!=u&&(h+=' <div class="chaty-widget-i-title true"> ',h+=l,h+="</div>"),h+="</div>",h+='<div class="chaty-widget-i chaty-close-settings i-trigger-close" data-title="'+e.object_settings.close_text+'" style="background-color:'+e.object_settings.color+'">',""==e.object_settings.close_img?(h+='<svg viewBox="0 0 54 54" fill="none" xmlns="http://www.w3.org/2000/svg">',h+='<ellipse cx="26" cy="26" rx="26" ry="26" fill="'+e.object_settings.color+'"/>',h+='<rect width="27.1433" height="3.89857" rx="1.94928" transform="translate(18.35 15.6599) scale(0.998038 1.00196) rotate(45)" fill="white"/>',h+='<rect width="27.1433" height="3.89857" rx="1.94928" transform="translate(37.5056 18.422) scale(0.998038 1.00196) rotate(135)" fill="white"/>',h+="</svg>"):h+="<span class='chaty-social-img'><img alt='"+e.object_settings.close_text+"' src='"+e.object_settings.close_img+"' /></span>",h+='<div class="chaty-widget-i-title">',h+=e.object_settings.close_text,h+="</div>",h+="</div>",h+=" </div>",0===i.length&&!e.object_settings.isPRO&&(h+=""),h+="</div>"}t("body").append(h)}(e,token),function(){var i=t(".chaty-widget"),s=e.object_settings.widget_size?e.object_settings.widget_size:54,n=+e.object_settings.widget_size+8;function o(){i.position().top;var t=i.find(".chaty-widget-is .chaty-widget-i").length;if((t=jQuery("body").hasClass("chaty-in-desktop")?i.find(".chaty-widget-is .chaty-widget-i.is-in-desktop").length:i.find(".chaty-widget-is .chaty-widget-i.is-in-mobile").length)*n>jQuery(window).height()-(chaty_settings.object_settings.widget_size+8)){var e=Math.round(Math.sqrt(t)),s=Math.ceil(Math.sqrt(t));i.find(".chaty-widget-is").css({height:s*n,width:e*n}),g(s),i.find("span:not(.cht-pending-message)").css({height:s*n,width:e*n}),g(s),i.find("img").css({height:s*n,width:e*n}),g(s)}else g()}function r(){"left"===e.object_settings.position&&i.addClass("chaty-widget-is-right"),"custom"===e.object_settings.position&&"left"===e.object_settings.pos_side&&i.addClass("chaty-widget-is-right")}function g(t){var e;e=jQuery("body").hasClass("chaty-in-desktop")?i.find(".chaty-widget-is .chaty-widget-i.is-in-desktop").length:i.find(".chaty-widget-is .chaty-widget-i.is-in-mobile").length,i.find(".chaty-widget-i").css({height:s+"px",width:s+"px"}),i.find("img").css({height:s+"px",width:s+"px"}),i.find("span:not(.cht-pending-message)").css({height:s+"px",width:s+"px"}),i.find(".chaty-widget-is").css({top:"-"+100*e+"%"}),i.find(".chaty-widget-is").height(e*(parseInt(s)+8)),i.find(".chaty-widget-is").width(parseInt(s)+8),"horizontal"==chaty_settings.object_settings.mode?(i.find(".chaty-widget-is").css({top:"0"}),i.find(".chaty-widget-is").width(e*(parseInt(s)+8)),i.find(".chaty-widget-is").height(parseInt(s)+8)):(i.find(".chaty-widget-is").height(e*(parseInt(s)+8)),i.find(".chaty-widget-is").width(parseInt(s)+8))}jQuery(".open-it-by-default").length&&jQuery(".open-it-by-default").trigger("click"),r(),o(),jQuery(window).resize(function(){o(),1==Object.keys(e.object_settings.social).length&&(jQuery(".chaty-widget").addClass("chaty-widget-show"),jQuery(".chaty-widget-is").css("top","auto")),jQuery(".chaty-widget").hasClass("one_widget")&&jQuery(".chaty-widget").removeClass("chaty-widget-show")}),t(".chaty-widget-i.facebook").mouseenter(function(){t(".facebook_two_mess").css({opacity:"1","z-index":"1"}),t(this).addClass("before")}),t(".chaty-widget-i.facebook").mouseleave(function(){t(".facebook_two_mess").css({opacity:"0","z-index":"1"}),t(this).removeClass("before")}),t(".chaty-widget-i.facebook").on("click",function(){t(this).addClass("active"),t(".facebook_two_mess").hide(),jQuery(".chaty-widget .get a").hide(),t(this).children(".face_title").css({opacity:"1","z-index":"2"}).show(),t(".chaty-widget").hasClass("one_widget")?t(".chaty-widget").hasClass("chaty-widget-is-right")?t(".face_title").css({top:"calc(100% - 447px)",left:"20px"}):t(".face_title").css({top:"calc(100% - 447px)",left:"auto",right:"20px"}):(t(".facebook_two_mess").css({opacity:"0","z-index":"10001"}),t(".ico_d").hide(),t(".chaty-widget .chaty-widget-i").css({"box-shadow":"0px 3px 6px rgba(0,0,0,0)"}),t(".chaty-widget").hasClass("one_widget")||t(".i-trigger").hide())}),t(".i-trigger-close").on("click",function(e){e.preventDefault(),t(".chaty-widget-i.facebook").hasClass("active")||(i.removeClass("chaty-widget-show"),i.addClass("none-widget-show"))}),t("body").on("click",".close_facebook",function(){t(".facebook_two_mess").show(),jQuery(".chaty-widget .get a").show(),t(".chaty-widget-i.facebook").removeClass("active"),t(this).parent().parent().css({opacity:"1"}).hide(),t(".i-trigger").show(),t(".chaty-widget-is .chaty-widget-i svg").show()}),t(".i-trigger-close").on("click",function(e){t(".i-trigger-open").addClass("active_clos"),e.preventDefault(),t(".chaty-widget-i.facebook").hasClass("active")||(i.removeClass("chaty-widget-show"),i.addClass("none-widget-show"))}),t("body").on("click",".update-analytics",function(t){if(channelName=jQuery(this).attr("data-channel"),null!=channelName&&""!=channelName)if(window.hasOwnProperty("gtag"))gtag("event","chaty_"+channelName,{eventCategory:"chaty_"+channelName,event_action:"chaty_"+channelName});else if(window.hasOwnProperty("ga")){var e=window.ga.getAll()[0];e&&e.send("event","click",{eventCategory:"chaty_"+channelName,eventAction:"chaty_"+channelName})}}),t("body").on("click",".wechat",function(){var t=jQuery(".chaty-widget .chaty-widget-i.wechat").attr("data-code");null!=t&&""!=t&&(jQuery("#wechat-qr-code").length||(htmlString="<div id='wechat-qr-code' class='wechat-qr-code'>",htmlString+='<div class="wechat-box-head">WeChat<svg xmlns="http://www.w3.org/2000/svg" class="close_facebook" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" id="Capa_1" x="0px" y="0px" width="612px" height="612px" viewBox="0 0 612 612" style="fill: #fff; float: right; margin-top: 4px;" xml:space="preserve"><path xmlns="http://www.w3.org/2000/svg" d="M268.064,256.75l138.593-138.593c3.124-3.124,3.124-8.189,0-11.313c-3.125-3.124-8.189-3.124-11.314,0L256.75,245.436 L118.157,106.843c-3.124-3.124-8.189-3.124-11.313,0c-3.125,3.124-3.125,8.189,0,11.313L245.436,256.75L106.843,395.343 c-3.125,3.125-3.125,8.189,0,11.314c1.562,1.562,3.609,2.343,5.657,2.343s4.095-0.781,5.657-2.343L256.75,268.064l138.593,138.593 c1.563,1.562,3.609,2.343,5.657,2.343s4.095-0.781,5.657-2.343c3.124-3.125,3.124-8.189,0-11.314L268.064,256.75z"></path></svg></div>',htmlString+="<div class='wechat-box'><img src='"+t+"' alt='QR Code' /><a href='javascript:;'>",htmlString+="</a></div></div>",jQuery("body").append(htmlString)),jQuery("#wechat-qr-code").show())});var l=a();"hover"==chaty_settings.object_settings.display_state?i.find(".i-trigger-open").mouseenter(function(e){e.stopPropagation(),u(),c(),t(".chaty-widget-is").removeAttr("id"),t(this).hasClass("active_clos")||t(".chaty-widget-i.facebook").hasClass("active")||i.hasClass("one_widget")||(r(),t(i).hasClass("chaty-widget-show")||(i.addClass("chaty-widget-show"),i.removeClass("none-widget-show"))),jQuery(".chaty-widget").hasClass("one_widget")&&jQuery(".chaty-widget").removeClass("chaty-widget-show"),"click"==chaty_settings.object_settings.click_setting&&(jQuery(".i-trigger").hasClass("one-widget")||jQuery("body .chaty-widget-i-title.true").remove())}):i.find(".i-trigger-open").click(function(e){e.stopPropagation(),u(),c(),t(".chaty-widget-is").removeAttr("id"),t(this).hasClass("active_clos")||t(".chaty-widget-i.facebook").hasClass("active")||i.hasClass("one_widget")||(r(),t(i).hasClass("chaty-widget-show")||(i.addClass("chaty-widget-show"),i.removeClass("none-widget-show"))),c(),"click"==chaty_settings.object_settings.click_setting&&(jQuery(".i-trigger").hasClass("one-widget")||jQuery("body .chaty-widget-i-title.true").remove()),jQuery(".cht-pending-message").remove()}),t(".one_widget").on("click",function(){u(),jQuery(".cht-pending-message").remove()}),i.find(".i-trigger-open").on("click",function(){jQuery(".cht-pending-message").remove(),"none"!=l&&(t(".chaty-widget").hasClass(".one_widget")||t(".i-trigger-open .chaty-widget-i-title1").detach()),"click"==chaty_settings.object_settings.click_setting&&t(".i-trigger-open").addClass("no-tooltip"),t(this).hasClass("active_clos")||t(".chaty-widget-i.facebook").hasClass("active")||i.hasClass("one_widget")||(r(),t(i).hasClass("chaty-widget-show")||(i.addClass("chaty-widget-show"),i.removeClass("none-widget-show"))),u()}),i.find(".i-trigger-open").mouseenter(function(){"click"==chaty_settings.object_settings.click_setting&&t(this).addClass("no-tooltip"),t(".i-trigger-open").removeClass("active_clos"),o()}),i.find(".chaty-widget-is").mouseleave(function(){t(".i-trigger-open").removeClass("active_clos"),t(".chaty-widget-i.facebook").hasClass("active")}),1===Object.keys(e.object_settings.social).length&&i.find(".i-trigger-open").on("touchstart",function(e){"use strict";t(this).find(".chaty-widget-i").toggleClass("hover")}),1==Object.keys(e.object_settings.social).length&&(jQuery(".chaty-widget").addClass("chaty-widget-show"),jQuery(".chaty-widget-is").css("top","auto"),jQuery(".chaty-widget-is").css("z-index","10001"),jQuery(".chaty-widget-i.i-trigger-close, .i-trigger.chaty-widget-i").remove(),jQuery(".chaty-widget .get a").css("top","-10px"),jQuery(".chaty-widget").addClass("one_widget"),jQuery(document).on("click",".chaty-widget-i",function(){jQuery(".i-trigger").hasClass("one-widget")||(jQuery(".chaty-widget-i:first .chaty-widget-i-title:last").hide(),jQuery("body").addClass("hide-cht-widget"))}),jQuery("body").append("<style>.chaty-widget-is{top:0!important;}</style>"))}(),t(document).ready(function(){1!==Object.keys(e.object_settings.social).length||!e.object_settings.social.snapchat&&!e.object_settings.social.wechat||e.object_settings.cta||(t(".chaty-widget-i-1title").detach(),t(".chaty-widget-i").addClass("bofore_del")),t(".chaty-widget-i-title").hasClass("one_go")&&(t(".chaty-widget-i-title p").html(t(".chaty-widget-i-title.one_go").html()),"none"==a()&&(t(".chaty-widget-i-title").hasClass("face_title")?(t(".facebook_two_mess").detach(),t(".chaty-widget-i").addClass("bofore_del")):(t(".chaty-widget-i-title11").detach(),t(".chaty-widget-i").addClass("bofore_del")))),window.matchMedia("only screen and (max-width: 760px)").matches&&t(".i-trigger-open").addClass("active_clos"),jQuery(".chaty-widget-i-title").each(function(){""==jQuery(this).text()&&jQuery(this).remove()})}),t(document).ready(function(){var s=0;0==(s=jQuery("body").hasClass("chaty-in-desktop")?jQuery(".chaty-widget-is .chaty-widget-i.is-in-desktop").length:jQuery(".chaty-widget-is .chaty-widget-i.is-in-mobile").length)?jQuery(".chaty-widget").addClass("hide-widget").removeClass("desktop_active").removeClass("mobile_active"):(jQuery("body").hasClass("chaty-in-desktop")?jQuery(".chaty-widget").removeClass("hide-widget").addClass("desktop_active"):jQuery(".chaty-widget").removeClass("hide-widget").addClass("mobile_active"),1==s?(jQuery(".chaty-close-settings").hide(),jQuery("body").hasClass("chaty-in-desktop")?(htmlToAdd=jQuery(".chaty-widget-is .chaty-widget-i.is-in-desktop:first").clone(),jQuery(".i-trigger").html(htmlToAdd)):(htmlToAdd=jQuery(".chaty-widget-is .chaty-widget-i.is-in-mobile:first").clone(),jQuery(".i-trigger").html(htmlToAdd)),n()?(jQuery(".i-trigger").addClass("show-channel"),jQuery("")):(jQuery(".i-trigger").attr("data-title",jQuery(".chaty-widget-is .chaty-widget-i-title p").html()),jQuery(".i-trigger .chaty-widget-i-title p").html(chaty_settings.object_settings.cta)),jQuery(".chaty-widget").addClass("one_widget"),jQuery(".chaty-widget.one_widget, .i-trigger, .chaty-widget-i").mouseenter(function(){c(),"click"==chaty_settings.object_settings.click_setting&&(jQuery(".i-trigger").hasClass("one-widget")||(jQuery(".chaty-widget-i-title").remove(),jQuery(".chaty-widget").addClass("hide-tooltip-arrow")),jQuery(".chaty-widget").removeClass("chaty-widget-show")),jQuery(".i-trigger").hasClass("one-widget")||l(),u()}),jQuery(".chaty-widget").removeClass("chaty-widget-show"),jQuery(".i-trigger").addClass("one-widget"),n()):(jQuery(".chaty-widget").removeClass("one_widget"),"click"==chaty_settings.object_settings.click_setting&&jQuery(".i-trigger .chaty-main-widget").remove(),jQuery(".chaty-close-settings").show(),jQuery(".chaty-widget-i-title").removeClass("hide-it"),jQuery(".chaty-widget.one_widget, .i-trigger, .chaty-widget-i").mouseenter(function(){c(),jQuery(".i-trigger").hasClass("one-widget")||(l(),jQuery(".i-trigger").hasClass("one-widget")||jQuery(".i-trigger .chaty-widget-i-title").addClass("hide-it")),u()}),"open"==chaty_settings.object_settings.display_state&&t(".i-trigger-open").addClass("no-tooltip"))),jQuery(document).on("click",".i-trigger.one-widget",function(){l()});var o,r,w,p=0;if(1==parseInt(chaty_settings.object_settings.display_conditions)){var _=chaty_settings.object_settings.display_rules;if(_.length>0){var j=new Date;j.setHours(j.getHours()+chaty_settings.object_settings.gmt);for(var m=j.getUTCHours(),b=j.getUTCMinutes(),v=j.getUTCDay(),f=0;f<_.length;f++){var Q=0,C=0;-1==_[f].days?C=1:_[f].days>=0&&_[f].days<=6?_[f].days==v&&(C=1):7==_[f].days?v>=0&&v<=4&&(C=1):8==_[f].days?v>=1&&v<=5&&(C=1):9==_[f].days&&(5!=v&&6!=v||(C=1)),1==C&&(m>_[f].start_hours&&m<_[f].end_hours?Q=1:m==_[f].start_hours&&m<_[f].end_hours?b>=_[f].start_min&&(Q=1):m>_[f].start_hours&&m==_[f].end_hours?b<=_[f].end_min&&(Q=1):m==_[f].start_hours&&m==_[f].end_hours&&b>=_[f].start_min&&b<=_[f].end_min&&(Q=1),1==Q&&b>=_[f].start_min&&b<=_[f].end_min&&1),1==Q&&1==C&&(p=1),1==p&&(f=_.length+1)}}else p=1}else p=1;if(1==s&&(""!=a()&&("click"==chaty_settings.object_settings.click_setting&&(jQuery(".i-trigger").hasClass("one-widget")||(jQuery(".chaty-widget-i-title").remove(),jQuery(".chaty-widget").addClass("hide-tooltip-arrow"))),setInterval(function(){},1e4)),jQuery(".chaty-main-widget").addClass("i-trigger-open").addClass("single-button"),jQuery(".chaty-widget-show .i-trigger-open svg").css("transform","rotate(0deg)"),jQuery(".chaty-widget").removeClass("chaty-widget-show")),""!=chaty_settings.object_settings.animation_class&&("sheen"!=chaty_settings.object_settings.animation_class?jQuery(".i-trigger .chaty-widget-i svg").wrap(function(){return"<div class='svg'></div>"}):jQuery(".i-trigger .chaty-widget-i .wrap-svg").length||jQuery(".i-trigger .chaty-widget-i svg").wrap(function(){return"<div class='wrap-svg'></div>"})),n()||("on"==chaty_settings.object_settings.pending_messages&&("sheen"!=chaty_settings.object_settings.animation_class?jQuery(".i-trigger .i-trigger-open .svg, .i-trigger .i-trigger-open.single-button .svg").length?jQuery(".i-trigger .i-trigger-open .svg, .i-trigger .i-trigger-open.single-button .svg").append("<span class='cht-pending-message'>"+chaty_settings.object_settings.number_of_messages+"</span>"):jQuery(".i-trigger .i-trigger-open.single-button svg").length?jQuery(".i-trigger .i-trigger-open.single-button svg").after("<span class='cht-pending-message'>"+chaty_settings.object_settings.number_of_messages+"</span>"):jQuery(".i-trigger .i-trigger-open, .i-trigger .i-trigger-open.single-button svg").after("<span class='cht-pending-message'>"+chaty_settings.object_settings.number_of_messages+"</span>"):jQuery(".i-trigger .i-trigger-open, .i-trigger .i-trigger-open.single-button").after("<span class='cht-pending-message'>"+chaty_settings.object_settings.number_of_messages+"</span>"),jQuery(".cht-pending-message").css("color",chaty_settings.object_settings.number_color),jQuery(".cht-pending-message").css("background",chaty_settings.object_settings.number_bg_color)),jQuery(document).on("click",".i-trigger .i-trigger-open, .i-trigger.one-widget",function(){if(jQuery(".cht-pending-message").remove(),jQuery(this).hasClass("one-widget")){jQuery(this).addClass("show-channel");var t=jQuery(this).data("title");jQuery(this).find(".chaty-widget-i-title").find("p").html(t)}})),jQuery(document).on("click",".i-trigger.one-widget",function(){if(jQuery(this).hasClass("one-widget")){jQuery(this).addClass("show-channel");var t=jQuery(this).data("title");console.log("tooltipText: "+t),jQuery(this).find(".chaty-widget-i-title").find("p").html(t)}}),jQuery("chaty-main-widget").mouseenter(function(){jQuery(".i-trigger").hasClass("one-widget")||l()}),1==p)if(g("cta_widget_status"))if("no"==chaty_settings.object_settings.time_trigger&&"no"==chaty_settings.object_settings.exit_intent&&"no"==chaty_settings.object_settings.on_page_scroll)jQuery(".chaty-widget").removeClass("hide-widget"),"open"==chaty_settings.object_settings.display_state&&"no"==chaty_settings.object_settings.has_close_button?chaty_settings.object_settings.has_close_button="no":(chaty_settings.object_settings.display_state="hover",chaty_settings.object_settings.has_close_button="yes"),y();else{if(jQuery(".chaty-widget").addClass("hide-widget"),"yes"==chaty_settings.object_settings.time_trigger&&setTimeout(function(){i||(jQuery(".chaty-widget").removeClass("hide-widget"),y())},1e3*parseInt(chaty_settings.object_settings.trigger_time)),"yes"==chaty_settings.object_settings.exit_intent){o=document,r="mouseout",w=function(t){null==t.toElement&&null==t.relatedTarget&&null==d("cta_exit_intent_shown")&&(h("cta_exit_intent_shown","yes",1),i=!0,jQuery(".chaty-widget").removeClass("hide-widget"),jQuery(".chaty-widget").addClass("chaty-animation-widget"),jQuery(".chaty-animation-widget").append("<div class='chaty-nav'></div>"),"open"==chaty_settings.object_settings.display_state&&"no"==chaty_settings.object_settings.has_close_button?chaty_settings.object_settings.has_close_button="no":(chaty_settings.object_settings.display_state="open",chaty_settings.object_settings.has_close_button="yes"),y(),"left"==chaty_settings.object_settings.position?jQuery(".chaty-widget").addClass("left-position"):"right"==chaty_settings.object_settings.position?jQuery(".chaty-widget").addClass("right-position"):"custom"==chaty_settings.object_settings.position&&("left"==e.object_settings.pos_side?jQuery(".chaty-widget").addClass("left-position"):jQuery(".chaty-widget").addClass("right-position")),u(),setTimeout(function(){jQuery(".chaty-animation-widget").addClass("active")},100),setTimeout(function(){jQuery(".chaty-nav").remove()},2500))},o.addEventListener?o.addEventListener(r,w,!1):o.attachEvent&&o.attachEvent("on"+r,w)}"yes"==chaty_settings.object_settings.on_page_scroll&&parseInt(chaty_settings.object_settings.page_scroll)>0&&jQuery(window).scroll(function(){if(!i){var t=jQuery(document).height()-jQuery(window).height(),e=jQuery(window).scrollTop();0!=e&&e/t*100>=parseInt(chaty_settings.object_settings.page_scroll)&&(jQuery(".chaty-widget").removeClass("hide-widget"),y())}})}else jQuery(".chaty-widget").removeClass("hide-widget"),y();else jQuery(".chaty-widget").addClass("hide-widget")}),jQuery(".chaty-widget-i-title").each(function(){""==jQuery(this).text()&&(jQuery(this).closest(".chaty-widget-i").addClass("hide-chaty-arrow"),jQuery(this).remove())}),jQuery(".chaty-widget").hasClass("one_widget")||jQuery("body").append("<div class='trigger-chaty-button'></div>"),jQuery("body").addClass(chaty_settings.object_settings.mode+"-cht-menu"),jQuery("body").addClass(chaty_settings.object_settings.position+"-cht-position")})}),jQuery(document).on("click",".trigger-chaty-button",function(){jQuery(".chaty-widget").removeClass("hide-widget"),y(),!jQuery(".chaty-widget").hasClass("none-widget-show")&&jQuery(".chaty-widget").hasClass("chaty-widget-show")||jQuery(".i-trigger-open").trigger("click")}),jQuery(document).on("click",".has-custom-chaty-popup.whatsapp-button",function(t){if(jQuery("#chaty-inline-popup").length){var e=jQuery(this).data("data-index");jQuery("#chaty-widget-"+e).removeClass("chaty-popup-open"),jQuery(".chaty-popup-open").removeClass("chaty-popup-open"),jQuery(".chaty-widget.hide-block").removeClass("active")}if(jQuery(this).hasClass("open-it-by-default")&&t.preventDefault(),jQuery("#chaty-inline-popup").remove(),null!=jQuery(this).attr("data-popup")&&""!=jQuery(this).attr("data-popup")){e="";jQuery(".chaty-widget").addClass("hide-block"),jQuery(".chaty-widget").addClass("chaty-popup-open");var i="<div data-index='"+e+"' id='chaty-inline-popup' class='chaty-inline-popup chaty-popup-form "+jQuery(this).data("channel")+"-channel'>";i+=jQuery(this).attr("data-popup"),jQuery("body").append(i),jQuery(".chaty-inline-popup .default-value").length&&(jQuery(".chaty-whatsapp-msg").val(jQuery(".chaty-inline-popup .default-value").text()),jQuery(".chaty-whatsapp-phone").val(jQuery(".chaty-inline-popup .default-msg-phone").text()),jQuery(".chaty-whatsapp-message").html(jQuery(".chaty-inline-popup .default-msg-value").html())),jQuery(".chaty-widget").addClass("active"),setTimeout(function(){jQuery("#chaty-inline-popup").addClass("active")},150),jQuery("body").hasClass("chaty-in-mobile")||jQuery(".chaty-whatsapp-msg").focus()}}),jQuery(document).on("click",".close-chaty-popup, .close-chaty-box",function(){jQuery(this).hasClass("is-whatsapp-btn")&&r("cht_whatsapp_window"),jQuery("#chaty-inline-popup").removeClass("active"),jQuery(".chaty-widget").removeClass("chaty-popup-open"),setTimeout(function(){jQuery(".chaty-widget.hide-block").removeClass("active")},250)}),jQuery(document).on("submit",".whatsapp-chaty-form",function(t){if(r("cht_whatsapp_window"),jQuery("#chaty-inline-popup").removeClass("active"),jQuery(".chaty-widget").removeClass("chaty-popup-open"),setTimeout(function(){jQuery(".chaty-widget.hide-block").removeClass("active")},250),jQuery("body").hasClass("chaty-in-mobile"))return t.preventDefault(),window.location="https://wa.me/"+jQuery(this).find(".chaty-whatsapp-phone").val()+"?text="+jQuery(this).find(".chaty-whatsapp-msg").val(),!1}),jQuery(document).on("submit",".chaty-contact-form-data",function(t){var e=0;if(jQuery(".has-chaty-error").removeClass("has-chaty-error"),jQuery(".chaty-error-msg").remove(),jQuery(".chaty-ajax-error-message").remove(),jQuery(".chaty-ajax-success-message").remove(),jQuery(this).find(".is-required").each(function(){""==jQuery.trim(jQuery(this).val())&&(e++,jQuery(this).addClass("has-chaty-error"))}),0==e){var i=jQuery(this);jQuery(".chaty-contact-submit-btn").attr("disabled",!0),jQuery.ajax({url:chaty_settings.ajax_url,data:{action:"chaty_front_form_save_data",name:i.find(".chaty-field-name").length?i.find(".chaty-field-name").val():"",email:i.find(".chaty-field-email").length?i.find(".chaty-field-email").val():"",phone:i.find(".chaty-field-phone").length?i.find(".chaty-field-phone").val():"",message:i.find(".chaty-field-message").length?i.find(".chaty-field-message").val():"",nonce:i.find(".chaty-field-nonce").length?i.find(".chaty-field-nonce").val():"",channel:i.find(".chaty-field-channel").length?i.find(".chaty-field-channel").val():"",widget:i.find(".chaty-field-widget").length?i.find(".chaty-field-widget").val():"",ref_url:window.location.href},type:"post",async:!0,defer:!0,success:function(t){if(t=jQuery.parseJSON(t),jQuery(".chaty-ajax-error-message").remove(),jQuery(".chaty-ajax-success-message").remove(),jQuery(".chaty-contact-submit-btn").attr("disabled",!1),1==t.status)jQuery(".chaty-contact-footer").append("<div class='chaty-ajax-success-message'>"+t.message+"</div>"),jQuery(".chaty-field-name, .chaty-field-email, .chaty-field-message").val(""),"yes"==t.redirect_action&&("yes"==t.link_in_new_tab?window.open(t.redirect_link,"_blank"):window.location=t.redirect_link),"yes"==t.close_form_after&&setTimeout(function(){jQuery("#chaty-inline-popup").removeClass("active"),jQuery(".chaty-widget").removeClass("chaty-popup-open"),setTimeout(function(){jQuery(".chaty-widget.hide-block").removeClass("active")},250)},1e3*parseInt(t.close_form_after_seconds));else if(1==t.error){if(t.errors.length)for(var e=0;e<t.errors.length;e++)jQuery("."+t.errors[e].field).addClass("has-chaty-error"),jQuery("."+t.errors[e].field).after("<span class='chaty-error-msg'>"+t.errors[e].message+"</span>")}else jQuery(".chaty-contact-footer").append("<div class='chaty-ajax-error-message'>"+t.message+"</div>")}})}else jQuery(".has-chaty-error:first").focus();return!1})}(jQuery)},12:function(t,e){}});
1
+ function launch_chaty(){jQuery(".chaty-widget").hasClass("one_widget")||jQuery(".trigger-chaty-button").trigger("click")}function close_chaty(){jQuery("#chaty-inline-popup").hasClass("active")&&jQuery("#chaty-inline-popup .close-chaty-popup").trigger("click"),jQuery(".chaty-widget.chaty-widget-show").length&&jQuery(".chaty-widget.chaty-widget-show").each(function(){jQuery(this).find(".chaty-close-settings").length&&jQuery(this).find(".chaty-close-settings").trigger("click")})}!function(t){var e={};function s(i){if(e[i])return e[i].exports;var a=e[i]={i:i,l:!1,exports:{}};return t[i].call(a.exports,a,a.exports,s),a.l=!0,a.exports}s.m=t,s.c=e,s.d=function(t,e,i){s.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:i})},s.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return s.d(e,"a",e),e},s.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},s.p="/",s(s.s=10)}({10:function(t,e,s){s(11),t.exports=s(12)},11:function(t,e){!function(t){var e,s=0,i=".i-trigger .chaty-widget-i .svg, .i-trigger .chaty-widget-i .widget-img, .i-trigger .chaty-widget-i .facustom-icon",a=!1;function c(t){return r()&&"click"==chaty_settings.object_settings.click_setting?"none":""}(/(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)||/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)))&&(a=!0);new Date;function n(){jQuery(".chaty-widget").hasClass("one_widget")&&jQuery(".chaty-widget").removeClass("chaty-widget-show")}function o(t){console.log("fn called"+t);var e="@-webkit-keyframes chaty-animation-shockwave { 0% { transform: scale(1); box-shadow: 0 0 2px rgba("+t+", 0.30), inset 0 0 1px rgba("+t+", 0.30); } 95% { box-shadow: 0 0 50px rgba("+t+", 0), inset 0 0 30px rgba("+t+", 0); } 100% { transform: scale(2.25); } } @keyframes chaty-animation-shockwave { 0% { transform: scale(1); box-shadow: 0 0 2px rgba("+t+", 0.30), inset 0 0 1px rgba("+t+", 0.30); } 95% { box-shadow: 0 0 50px rgba("+t+", 0), inset 0 0 30px rgba("+t+", 0); } 100% { transform: scale(2.25); } }";jQuery("#chaty-advance-css").length||jQuery("body").append("<div id='chaty-advance-css'></div>"),jQuery("#chaty-advance-css").append("<style>"+e+"</style>")}function r(){var t=g("cta");if(null!=t&&""!=t){t=new Date(t);var e=Math.abs(new Date-t);return Math.floor(e/6e4)<=10}return!1}function g(t){var e=u("chaty_settings"),s=[];if(null!=e&&""!=e&&(s=JSON.parse(e)),s.length>0)for(var i=0;i<s.length;i++)if(s[i].k==t)return s[i].v;return null}function l(t){var e=u("chaty_settings"),s=[];null!=e&&""!=e&&(s=JSON.parse(e));var i=!1;if(s.length>0)for(var a=0;a<s.length;a++)s[a].k==t&&(i=!0,s[a].v=new Date);i||s.push({k:t,v:new Date}),y("chaty_settings",e=JSON.stringify(s),"7")}function h(t){var e=g(t);if(null!=e&&""!=e){e=new Date(e);var s=Math.abs(new Date-e);return Math.floor(s/864e5)>=1}return!0}function d(){var t=u("chaty_settings"),e=[];null!=t&&""!=t&&(e=JSON.parse(t));var s=!1;if(e.length>0)for(var i=0;i<e.length;i++)"cta"==e[i].k&&(s=!0,e[i].v=new Date);s||e.push({k:"cta",v:new Date}),y("chaty_settings",t=JSON.stringify(e),"7")}function y(t,e,s){var i="";if(s){var a=new Date;a.setTime(a.getTime()+24*s*60*60*1e3),i="; expires="+a.toUTCString()}document.cookie=t+"="+(e||"")+i+"; path=/"}function u(t){for(var e=t+"=",s=document.cookie.split(";"),i=0;i<s.length;i++){for(var a=s[i];" "==a.charAt(0);)a=a.substring(1,a.length);if(0==a.indexOf(e))return a.substring(e.length,a.length)}return null}function p(){l("cta_widget_status"),s=1;var t=0;t=jQuery("body").hasClass("chaty-in-desktop")?jQuery(".chaty-widget-is .chaty-widget-i.is-in-desktop").length:jQuery(".chaty-widget-is .chaty-widget-i.is-in-mobile").length,h("chaty-animation")||(chaty_settings.object_settings.animation_class=""),""!=chaty_settings.object_settings.animation_class&&("sheen"!=chaty_settings.object_settings.animation_class?t>1?jQuery(i).addClass("chaty-animation-"+chaty_settings.object_settings.animation_class).addClass("start-now"):1==t&&(i=".chaty-main-widget .svg, .chaty-main-widget img, .chaty-main-widget .facustom-icon",jQuery(i).removeClass("chaty-animation-"+chaty_settings.object_settings.animation_class).removeClass("start-now"),jQuery(i).addClass("chaty-animation-"+chaty_settings.object_settings.animation_class).addClass("start-now")):(i=".i-trigger .chaty-widget-i .wrap-svg",jQuery(".i-trigger .chaty-widget-i .wrap-svg").length,jQuery(i).removeClass("chaty-animation-sheen").removeClass("start-now"),jQuery(i).addClass("chaty-animation-sheen").addClass("start-now"))),"open"==chaty_settings.object_settings.display_state&&("no"==chaty_settings.object_settings.has_close_button?t>1&&(w(),jQuery(".chaty-widget").find(".i-trigger-open").removeClass("active_clos"),jQuery(".chaty-widget").find(".i-trigger-open").trigger("click"),jQuery(".chaty-widget-is").addClass("has-no-close-btn"),jQuery(".i-trigger").remove()):t>1&&(w(),jQuery(".chaty-widget").find(".i-trigger-open").removeClass("active_clos"),jQuery(".chaty-widget").find(".i-trigger-open").trigger("click"))),jQuery(".chaty-widget").hasClass("one_widget")&&jQuery(".chaty-widget").removeClass("chaty-widget-show")}function w(){l("chaty-animation"),jQuery(".chaty-animation-"+chaty_settings.object_settings.animation_class).removeClass("chaty-animation-"+chaty_settings.object_settings.animation_class).removeClass("start-now"),jQuery(".start-now").removeClass("start-now"),chaty_settings.object_settings.animation_class=""}jQuery(document).ready(function(){a?jQuery("body").addClass("chaty-in-mobile"):jQuery("body").addClass("chaty-in-desktop"),c(),token="",jQuery(document).ready(function(){"true"==(e=chaty_settings).object_settings.active&&function(e,s){var i=e.object_settings.device,a="";if("right"==e.object_settings.position)a="left: auto;bottom: 25px; right: 25px;";else if("left"==e.object_settings.position)a="right: auto; bottom: 25px; left: 25px;";else if("custom"==e.object_settings.position){var n=e.object_settings.pos_side,o=e.object_settings.bot,r=e.object_settings.side;a="right"===n?"left: auto; bottom: "+o+"px; right: "+r+"px":"left: "+r+"px; bottom: "+o+"px; right: auto"}var g=e.object_settings.cta,l="",d=e.object_settings.social;if(Object.keys(d).length>=1&&(l='<div class="chaty-widget hide-widget '+s+" "+i+' " style="display:block; '+a+'" dir="ltr">',l+='<div class="chaty-widget-is" id="transition_disabled">'),l+=function(e){var s="",i=0;return t.each(e.object_settings.social,function(t,a){if(e.object_settings.isPRO&&jQuery("body").addClass("has-pro-version"),!e.object_settings.isPRO&&"3"==++i)return!1;extra_class="","1"!=e.object_settings.analytics&&1!=e.object_settings.analytics||(extra_class+=" update-analytics ");var c=1==e.object_settings.social[t].is_desktop?"is-in-desktop":"",n=1==e.object_settings.social[t].is_mobile?"is-in-mobile":"",o=1==e.object_settings.is_mobile?e.object_settings.social[t].mobile_target:e.object_settings.social[t].desktop_target;if(jQuery("body").hasClass("chaty-in-mobile")&&(e.object_settings.social[t].href_url=e.object_settings.social[t].mobile_url),"viber"==e.object_settings.social[t].social_channel){if(jQuery("body").hasClass("chaty-in-mobile")){var r=e.object_settings.social[t].href_url;isNaN(r)||(r=r.replace("+",""),navigator.userAgent.match(/(iPod|iPhone|iPad)/)&&(r="+"+r)),e.object_settings.social[t].href_url=r}e.object_settings.social[t].href_url="viber://chat?number="+e.object_settings.social[t].href_url}1==parseInt(e.object_settings.social[t].has_custom_popup)&&("whatsapp"==e.object_settings.social[t].channel_type?(e.object_settings.social[t].is_default_open&&h("cht_whatsapp_window")&&(extra_class+=" open-it-by-default"),o="",e.object_settings.social[t].mobile_target="",e.object_settings.social[t].desktop_target="",extra_class+=" has-custom-chaty-popup whatsapp-button"):"contact_us"==e.object_settings.social[t].channel_type&&(extra_class+=" has-custom-chaty-popup whatsapp-button"));var g="";""!=e.object_settings.social[t].on_click&&(g=' onclick="'+e.object_settings.social[t].on_click+'"'),socialString='<div data-popup="'+e.object_settings.social[t].popup_html+'" data-rgb="'+e.object_settings.social[t].rbg_color+'" class="chaty-widget-i chaty-main-widget '+c+" "+n+" "+extra_class+" channel-"+e.object_settings.social[t].social_channel+'" data-title="'+e.object_settings.social[t].val+'" id="chaty-channel-'+e.object_settings.social[t].social_channel+'" data-channel="'+e.object_settings.social[t].social_channel+'" data-code="'+e.object_settings.social[t].qr_code_image+'">',bgColor="",""!=e.object_settings.social[t].bg_color&&(socialString+="<style>#chaty-channel-"+e.object_settings.social[t].social_channel+" .color-element {fill: "+e.object_settings.social[t].bg_color+"; background: "+e.object_settings.social[t].bg_color+"}</style>",bgColor="style='background-color: "+e.object_settings.social[t].bg_color+";'"),socialString+="<a class='set-url-target' "+g+" rel='noopener' data-mobile-target='"+e.object_settings.social[t].mobile_target+"' data-desktop-target='"+e.object_settings.social[t].desktop_target+"' target='"+o+"' href='"+e.object_settings.social[t].href_url+"' >",socialString+="<span class='sr-only'>"+e.object_settings.social[t].title+"</span>",""!=e.object_settings.social[t].img_url?socialString+="<span "+bgColor+" class='chaty-social-img'><img src='"+e.object_settings.social[t].img_url+"' alt='"+e.object_settings.social[t].title+"' /></span>":socialString+=e.object_settings.social[t].default_icon,socialString+="</a>",socialString+="<div class='chaty-widget-i-title'><p>"+e.object_settings.social[t].title+"</p></div>",socialString+="</div>",s+=socialString}),s}(e),d=e.object_settings.social,Object.keys(d).length>=1){l+="</div>",l+='<div class="i-trigger">';var y=c(),u=current_url=window.location.origin;if(u=(u=u.replace("https://","")).replace("http://",""),""!=g&&"none"!=y)var p="true";else p="no-tooltip";"click"!=chaty_settings.object_settings.click_setting&&(p=!0),l+='<div class="chaty-widget-i chaty-close-settings i-trigger-open '+p+' ">',l+=function(t){switch(t.object_settings.widget_type){case"chat-image":if(t.object_settings.widget_img.length>1)return'<div class="widget-img" style="background-color:'+t.object_settings.color+'"><img src="'+t.object_settings.widget_img+'"/></div>';case"chat-smile":return'<svg version="1.1" id="smile" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="-496.8 507.1 54 54" style="enable-background:new -496.8 507.1 54 54;" xml:space="preserve"><style type="text/css">.st1{fill:#FFFFFF;} .st2{fill:none;stroke:#808080;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;}</style><g><circle cx="-469.8" cy="534.1" r="27" fill="'+t.object_settings.color+'"/></g><path class="st1" d="M-459.5,523.5H-482c-2.1,0-3.7,1.7-3.7,3.7v13.1c0,2.1,1.7,3.7,3.7,3.7h19.3l5.4,5.4c0.2,0.2,0.4,0.2,0.7,0.2c0.2,0,0.2,0,0.4,0c0.4-0.2,0.6-0.6,0.6-0.9v-21.5C-455.8,525.2-457.5,523.5-459.5,523.5z"/><path class="st2" d="M-476.5,537.3c2.5,1.1,8.5,2.1,13-2.7"/><path class="st2" d="M-460.8,534.5c-0.1-1.2-0.8-3.4-3.3-2.8"/></svg>';case"chat-bubble":return'<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="-496.9 507.1 54 54" style="enable-background:new -496.9 507.1 54 54;" xml:space="preserve"><style type="text/css">.st1{fill:#FFFFFF;}</style><g><circle cx="-469.9" cy="534.1" r="27" fill="'+t.object_settings.color+'"/></g><path class="st1" d="M-472.6,522.1h5.3c3,0,6,1.2,8.1,3.4c2.1,2.1,3.4,5.1,3.4,8.1c0,6-4.6,11-10.6,11.5v4.4c0,0.4-0.2,0.7-0.5,0.9 c-0.2,0-0.2,0-0.4,0c-0.2,0-0.5-0.2-0.7-0.4l-4.6-5c-3,0-6-1.2-8.1-3.4s-3.4-5.1-3.4-8.1C-484.1,527.2-478.9,522.1-472.6,522.1z M-462.9,535.3c1.1,0,1.8-0.7,1.8-1.8c0-1.1-0.7-1.8-1.8-1.8c-1.1,0-1.8,0.7-1.8,1.8C-464.6,534.6-463.9,535.3-462.9,535.3z M-469.9,535.3c1.1,0,1.8-0.7,1.8-1.8c0-1.1-0.7-1.8-1.8-1.8c-1.1,0-1.8,0.7-1.8,1.8C-471.7,534.6-471,535.3-469.9,535.3z M-477,535.3c1.1,0,1.8-0.7,1.8-1.8c0-1.1-0.7-1.8-1.8-1.8c-1.1,0-1.8,0.7-1.8,1.8C-478.8,534.6-478.1,535.3-477,535.3z"/></svg>';case"chat-db":return'<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="-496 507.1 54 54" style="enable-background:new -496 507.1 54 54;" xml:space="preserve"><style type="text/css">.st1{fill:#FFFFFF;}</style><g><circle cx="-469" cy="534.1" r="27" fill="'+t.object_settings.color+'"/></g><path class="st1" d="M-464.6,527.7h-15.6c-1.9,0-3.5,1.6-3.5,3.5v10.4c0,1.9,1.6,3.5,3.5,3.5h12.6l5,5c0.2,0.2,0.3,0.2,0.7,0.2c0.2,0,0.2,0,0.3,0c0.3-0.2,0.5-0.5,0.5-0.9v-18.2C-461.1,529.3-462.7,527.7-464.6,527.7z"/><path class="st1" d="M-459.4,522.5H-475c-1.9,0-3.5,1.6-3.5,3.5h13.9c2.9,0,5.2,2.3,5.2,5.2v11.6l1.9,1.9c0.2,0.2,0.3,0.2,0.7,0.2c0.2,0,0.2,0,0.3,0c0.3-0.2,0.5-0.5,0.5-0.9v-18C-455.9,524.1-457.5,522.5-459.4,522.5z"/></svg>';default:return'<svg version="1.1" id="ch" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="-496 507.7 54 54" style="enable-background:new -496 507.7 54 54;" xml:space="preserve"><style type="text/css">.st1 {fill: #FFFFFF;}.st0{fill: #808080;}</style><g><circle cx="-469" cy="534.7" r="27" fill="'+t.object_settings.color+'"/></g><path class="st1" d="M-459.9,523.7h-20.3c-1.9,0-3.4,1.5-3.4,3.4v15.3c0,1.9,1.5,3.4,3.4,3.4h11.4l5.9,4.9c0.2,0.2,0.3,0.2,0.5,0.2 h0.3c0.3-0.2,0.5-0.5,0.5-0.8v-4.2h1.7c1.9,0,3.4-1.5,3.4-3.4v-15.3C-456.5,525.2-458,523.7-459.9,523.7z"/><path class="st0" d="M-477.7,530.5h11.9c0.5,0,0.8,0.4,0.8,0.8l0,0c0,0.5-0.4,0.8-0.8,0.8h-11.9c-0.5,0-0.8-0.4-0.8-0.8l0,0C-478.6,530.8-478.2,530.5-477.7,530.5z"/><path class="st0" d="M-477.7,533.5h7.9c0.5,0,0.8,0.4,0.8,0.8l0,0c0,0.5-0.4,0.8-0.8,0.8h-7.9c-0.5,0-0.8-0.4-0.8-0.8l0,0C-478.6,533.9-478.2,533.5-477.7,533.5z"/></svg>'}}(e),y=c(),""!=g&&"none"!=y&&(l+=' <div class="chaty-widget-i-title true"> ',l+=g,l+="</div>"),l+="</div>",l+='<div class="chaty-widget-i chaty-close-settings i-trigger-close" data-title="'+e.object_settings.close_text+'" style="background-color:'+e.object_settings.color+'">',""==e.object_settings.close_img?(l+='<svg viewBox="0 0 54 54" fill="none" xmlns="http://www.w3.org/2000/svg">',l+='<ellipse cx="26" cy="26" rx="26" ry="26" fill="'+e.object_settings.color+'"/>',l+='<rect width="27.1433" height="3.89857" rx="1.94928" transform="translate(18.35 15.6599) scale(0.998038 1.00196) rotate(45)" fill="white"/>',l+='<rect width="27.1433" height="3.89857" rx="1.94928" transform="translate(37.5056 18.422) scale(0.998038 1.00196) rotate(135)" fill="white"/>',l+="</svg>"):l+="<span class='chaty-social-img'><img alt='"+e.object_settings.close_text+"' src='"+e.object_settings.close_img+"' /></span>",l+='<div class="chaty-widget-i-title">',l+=e.object_settings.close_text,l+="</div>",l+="</div>",l+=" </div>",0===s.length&&!e.object_settings.isPRO&&(l+=""),l+="</div>"}t("body").append(l)}(e,token),function(){var s=t(".chaty-widget"),i=e.object_settings.widget_size?e.object_settings.widget_size:54,a=+e.object_settings.widget_size+8;function o(){s.position().top;var t=s.find(".chaty-widget-is .chaty-widget-i").length;if((t=jQuery("body").hasClass("chaty-in-desktop")?s.find(".chaty-widget-is .chaty-widget-i.is-in-desktop").length:s.find(".chaty-widget-is .chaty-widget-i.is-in-mobile").length)*a>jQuery(window).height()-(chaty_settings.object_settings.widget_size+8)){var e=Math.round(Math.sqrt(t)),i=Math.ceil(Math.sqrt(t));s.find(".chaty-widget-is").css({height:i*a,width:e*a}),g(i),s.find("span:not(.cht-pending-message)").css({height:i*a,width:e*a}),g(i),s.find("img").css({height:i*a,width:e*a}),g(i)}else g()}function r(){"left"===e.object_settings.position&&s.addClass("chaty-widget-is-right"),"custom"===e.object_settings.position&&"left"===e.object_settings.pos_side&&s.addClass("chaty-widget-is-right")}function g(t){var e;e=jQuery("body").hasClass("chaty-in-desktop")?s.find(".chaty-widget-is .chaty-widget-i.is-in-desktop").length:s.find(".chaty-widget-is .chaty-widget-i.is-in-mobile").length,s.find(".chaty-widget-i").css({height:i+"px",width:i+"px"}),s.find("img").css({height:i+"px",width:i+"px"}),s.find("span:not(.cht-pending-message)").css({height:i+"px",width:i+"px"}),s.find(".chaty-widget-is").css({top:"-"+100*e+"%"}),s.find(".chaty-widget-is").height(e*(parseInt(i)+8)),s.find(".chaty-widget-is").width(parseInt(i)+8),"horizontal"==chaty_settings.object_settings.mode?(s.find(".chaty-widget-is").css({top:"0"}),s.find(".chaty-widget-is").width(e*(parseInt(i)+8)),s.find(".chaty-widget-is").height(parseInt(i)+8)):(s.find(".chaty-widget-is").height(e*(parseInt(i)+8)),s.find(".chaty-widget-is").width(parseInt(i)+8))}jQuery(".open-it-by-default").length&&jQuery(".open-it-by-default").trigger("click"),r(),o(),jQuery(window).resize(function(){o(),1==Object.keys(e.object_settings.social).length&&(jQuery(".chaty-widget").addClass("chaty-widget-show"),jQuery(".chaty-widget-is").css("top","auto")),jQuery(".chaty-widget").hasClass("one_widget")&&jQuery(".chaty-widget").removeClass("chaty-widget-show")}),t(".chaty-widget-i.facebook").mouseenter(function(){t(".facebook_two_mess").css({opacity:"1","z-index":"1"}),t(this).addClass("before")}),t(".chaty-widget-i.facebook").mouseleave(function(){t(".facebook_two_mess").css({opacity:"0","z-index":"1"}),t(this).removeClass("before")}),t(".chaty-widget-i.facebook").on("click",function(){t(this).addClass("active"),t(".facebook_two_mess").hide(),jQuery(".chaty-widget .get a").hide(),t(this).children(".face_title").css({opacity:"1","z-index":"2"}).show(),t(".chaty-widget").hasClass("one_widget")?t(".chaty-widget").hasClass("chaty-widget-is-right")?t(".face_title").css({top:"calc(100% - 447px)",left:"20px"}):t(".face_title").css({top:"calc(100% - 447px)",left:"auto",right:"20px"}):(t(".facebook_two_mess").css({opacity:"0","z-index":"10001"}),t(".ico_d").hide(),t(".chaty-widget .chaty-widget-i").css({"box-shadow":"0px 3px 6px rgba(0,0,0,0)"}),t(".chaty-widget").hasClass("one_widget")||t(".i-trigger").hide())}),t(".i-trigger-close").on("click",function(e){e.preventDefault(),t(".chaty-widget-i.facebook").hasClass("active")||(s.removeClass("chaty-widget-show"),s.addClass("none-widget-show"))}),t("body").on("click",".close_facebook",function(){t(".facebook_two_mess").show(),jQuery(".chaty-widget .get a").show(),t(".chaty-widget-i.facebook").removeClass("active"),t(this).parent().parent().css({opacity:"1"}).hide(),t(".i-trigger").show(),t(".chaty-widget-is .chaty-widget-i svg").show()}),t(".i-trigger-close").on("click",function(e){t(".i-trigger-open").addClass("active_clos"),e.preventDefault(),t(".chaty-widget-i.facebook").hasClass("active")||(s.removeClass("chaty-widget-show"),s.addClass("none-widget-show"))}),t("body").on("click",".update-analytics",function(t){if(channelName=jQuery(this).attr("data-channel"),null!=channelName&&""!=channelName)if(window.hasOwnProperty("gtag"))gtag("event","chaty_"+channelName,{eventCategory:"chaty_"+channelName,event_action:"chaty_"+channelName});else if(window.hasOwnProperty("ga")){var e=window.ga.getAll()[0];e&&e.send("event","click",{eventCategory:"chaty_"+channelName,eventAction:"chaty_"+channelName})}}),t("body").on("click",".wechat",function(){var t=jQuery(".chaty-widget .chaty-widget-i.wechat").attr("data-code");null!=t&&""!=t&&(jQuery("#wechat-qr-code").length||(htmlString="<div id='wechat-qr-code' class='wechat-qr-code'>",htmlString+='<div class="wechat-box-head">WeChat<svg xmlns="http://www.w3.org/2000/svg" class="close_facebook" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" id="Capa_1" x="0px" y="0px" width="612px" height="612px" viewBox="0 0 612 612" style="fill: #fff; float: right; margin-top: 4px;" xml:space="preserve"><path xmlns="http://www.w3.org/2000/svg" d="M268.064,256.75l138.593-138.593c3.124-3.124,3.124-8.189,0-11.313c-3.125-3.124-8.189-3.124-11.314,0L256.75,245.436 L118.157,106.843c-3.124-3.124-8.189-3.124-11.313,0c-3.125,3.124-3.125,8.189,0,11.313L245.436,256.75L106.843,395.343 c-3.125,3.125-3.125,8.189,0,11.314c1.562,1.562,3.609,2.343,5.657,2.343s4.095-0.781,5.657-2.343L256.75,268.064l138.593,138.593 c1.563,1.562,3.609,2.343,5.657,2.343s4.095-0.781,5.657-2.343c3.124-3.125,3.124-8.189,0-11.314L268.064,256.75z"></path></svg></div>',htmlString+="<div class='wechat-box'><img src='"+t+"' alt='QR Code' /><a href='javascript:;'>",htmlString+="</a></div></div>",jQuery("body").append(htmlString)),jQuery("#wechat-qr-code").show())});var l=c();"hover"==chaty_settings.object_settings.display_state?s.find(".i-trigger-open").mouseenter(function(e){e.stopPropagation(),w(),n(),t(".chaty-widget-is").removeAttr("id"),t(this).hasClass("active_clos")||t(".chaty-widget-i.facebook").hasClass("active")||s.hasClass("one_widget")||(r(),t(s).hasClass("chaty-widget-show")||(s.addClass("chaty-widget-show"),s.removeClass("none-widget-show"))),jQuery(".chaty-widget").hasClass("one_widget")&&jQuery(".chaty-widget").removeClass("chaty-widget-show"),"click"==chaty_settings.object_settings.click_setting&&(jQuery(".i-trigger").hasClass("one-widget")||jQuery("body .chaty-widget-i-title.true").remove())}):s.find(".i-trigger-open").click(function(e){e.stopPropagation(),w(),n(),t(".chaty-widget-is").removeAttr("id"),t(this).hasClass("active_clos")||t(".chaty-widget-i.facebook").hasClass("active")||s.hasClass("one_widget")||(r(),t(s).hasClass("chaty-widget-show")||(s.addClass("chaty-widget-show"),s.removeClass("none-widget-show"))),n(),"click"==chaty_settings.object_settings.click_setting&&(jQuery(".i-trigger").hasClass("one-widget")||jQuery("body .chaty-widget-i-title.true").remove()),jQuery(".cht-pending-message").remove()}),t(".one_widget").on("click",function(){w(),jQuery(".cht-pending-message").remove()}),s.find(".i-trigger-open").on("click",function(){jQuery(".cht-pending-message").remove(),"none"!=l&&(t(".chaty-widget").hasClass(".one_widget")||t(".i-trigger-open .chaty-widget-i-title1").detach()),"click"==chaty_settings.object_settings.click_setting&&t(".i-trigger-open").addClass("no-tooltip"),t(this).hasClass("active_clos")||t(".chaty-widget-i.facebook").hasClass("active")||s.hasClass("one_widget")||(r(),t(s).hasClass("chaty-widget-show")||(s.addClass("chaty-widget-show"),s.removeClass("none-widget-show"))),w()}),s.find(".i-trigger-open").mouseenter(function(){"click"==chaty_settings.object_settings.click_setting&&t(this).addClass("no-tooltip"),t(".i-trigger-open").removeClass("active_clos"),o()}),s.find(".chaty-widget-is").mouseleave(function(){t(".i-trigger-open").removeClass("active_clos"),t(".chaty-widget-i.facebook").hasClass("active")}),1===Object.keys(e.object_settings.social).length&&s.find(".i-trigger-open").on("touchstart",function(e){"use strict";t(this).find(".chaty-widget-i").toggleClass("hover")}),1==Object.keys(e.object_settings.social).length&&(jQuery(".chaty-widget").addClass("chaty-widget-show"),jQuery(".chaty-widget-is").css("top","auto"),jQuery(".chaty-widget-is").css("z-index","10001"),jQuery(".chaty-widget-i.i-trigger-close, .i-trigger.chaty-widget-i").remove(),jQuery(".chaty-widget .get a").css("top","-10px"),jQuery(".chaty-widget").addClass("one_widget"),jQuery(document).on("click",".chaty-widget-i",function(){jQuery(".i-trigger").hasClass("one-widget")||(jQuery(".chaty-widget-i:first .chaty-widget-i-title:last").hide(),jQuery("body").addClass("hide-cht-widget"))}),jQuery("body").append("<style>.chaty-widget-is{top:0!important;}</style>"))}(),t(document).ready(function(){1!==Object.keys(e.object_settings.social).length||!e.object_settings.social.snapchat&&!e.object_settings.social.wechat||e.object_settings.cta||(t(".chaty-widget-i-1title").detach(),t(".chaty-widget-i").addClass("bofore_del")),t(".chaty-widget-i-title").hasClass("one_go")&&(t(".chaty-widget-i-title p").html(t(".chaty-widget-i-title.one_go").html()),"none"==c()&&(t(".chaty-widget-i-title").hasClass("face_title")?(t(".facebook_two_mess").detach(),t(".chaty-widget-i").addClass("bofore_del")):(t(".chaty-widget-i-title11").detach(),t(".chaty-widget-i").addClass("bofore_del")))),window.matchMedia("only screen and (max-width: 760px)").matches&&t(".i-trigger-open").addClass("active_clos"),jQuery(".chaty-widget-i-title").each(function(){""==jQuery(this).text()&&jQuery(this).remove()})}),t(document).ready(function(){var i=0;0==(i=jQuery("body").hasClass("chaty-in-desktop")?jQuery(".chaty-widget-is .chaty-widget-i.is-in-desktop").length:jQuery(".chaty-widget-is .chaty-widget-i.is-in-mobile").length)?jQuery(".chaty-widget").addClass("hide-widget").removeClass("desktop_active").removeClass("mobile_active"):(jQuery("body").hasClass("chaty-in-desktop")?jQuery(".chaty-widget").removeClass("hide-widget").addClass("desktop_active"):jQuery(".chaty-widget").removeClass("hide-widget").addClass("mobile_active"),1==i?(jQuery(".chaty-close-settings").hide(),jQuery("body").hasClass("chaty-in-desktop")?(htmlToAdd=jQuery(".chaty-widget-is .chaty-widget-i.is-in-desktop:first").clone(),jQuery(".i-trigger").html(htmlToAdd)):(htmlToAdd=jQuery(".chaty-widget-is .chaty-widget-i.is-in-mobile:first").clone(),jQuery(".i-trigger").html(htmlToAdd)),r()?(jQuery(".i-trigger").addClass("show-channel"),jQuery("")):(jQuery(".i-trigger").attr("data-title",jQuery(".chaty-widget-is .chaty-widget-i-title p").html()),jQuery(".i-trigger .chaty-widget-i-title p").html(chaty_settings.object_settings.cta)),jQuery(".chaty-widget").addClass("one_widget"),jQuery(".chaty-widget.one_widget, .i-trigger, .chaty-widget-i").mouseenter(function(){n(),"click"==chaty_settings.object_settings.click_setting&&(jQuery(".i-trigger").hasClass("one-widget")||(jQuery(".chaty-widget-i-title").remove(),jQuery(".chaty-widget").addClass("hide-tooltip-arrow")),jQuery(".chaty-widget").removeClass("chaty-widget-show")),jQuery(".i-trigger").hasClass("one-widget")||d(),w()}),jQuery(".chaty-widget").removeClass("chaty-widget-show"),jQuery(".i-trigger").addClass("one-widget"),r(),o(jQuery(".i-trigger .chaty-widget-i:first").data("rgb"))):(jQuery(".chaty-widget").removeClass("one_widget"),"click"==chaty_settings.object_settings.click_setting&&jQuery(".i-trigger .chaty-main-widget").remove(),jQuery(".chaty-close-settings").show(),jQuery(".chaty-widget-i-title").removeClass("hide-it"),jQuery(".chaty-widget.one_widget, .i-trigger, .chaty-widget-i").mouseenter(function(){n(),jQuery(".i-trigger").hasClass("one-widget")||(d(),jQuery(".i-trigger").hasClass("one-widget")||jQuery(".i-trigger .chaty-widget-i-title").addClass("hide-it")),w()}),"open"==chaty_settings.object_settings.display_state&&t(".i-trigger-open").addClass("no-tooltip"),o(chaty_settings.object_settings.rgb_color))),jQuery(document).on("click",".i-trigger.one-widget",function(){d()});var a,g,l,_=0;if(1==parseInt(chaty_settings.object_settings.display_conditions)){var j=chaty_settings.object_settings.display_rules;if(j.length>0){var m=new Date;m.setHours(m.getHours()+chaty_settings.object_settings.gmt);for(var b=m.getUTCHours(),f=m.getUTCMinutes(),v=m.getUTCDay(),Q=0;Q<j.length;Q++){var C=0,k=0;-1==j[Q].days?k=1:j[Q].days>=0&&j[Q].days<=6?j[Q].days==v&&(k=1):7==j[Q].days?v>=0&&v<=4&&(k=1):8==j[Q].days?v>=1&&v<=5&&(k=1):9==j[Q].days&&(5!=v&&6!=v||(k=1)),1==k&&(b>j[Q].start_hours&&b<j[Q].end_hours?C=1:b==j[Q].start_hours&&b<j[Q].end_hours?f>=j[Q].start_min&&(C=1):b>j[Q].start_hours&&b==j[Q].end_hours?f<=j[Q].end_min&&(C=1):b==j[Q].start_hours&&b==j[Q].end_hours&&f>=j[Q].start_min&&f<=j[Q].end_min&&(C=1),1==C&&f>=j[Q].start_min&&f<=j[Q].end_min&&1),1==C&&1==k&&(_=1),1==_&&(Q=j.length+1)}}else _=1}else _=1;if(1==i&&(""!=c()&&("click"==chaty_settings.object_settings.click_setting&&(jQuery(".i-trigger").hasClass("one-widget")||(jQuery(".chaty-widget-i-title").remove(),jQuery(".chaty-widget").addClass("hide-tooltip-arrow"))),setInterval(function(){},1e4)),jQuery(".chaty-main-widget").addClass("i-trigger-open").addClass("single-button"),jQuery(".chaty-widget-show .i-trigger-open svg").css("transform","rotate(0deg)"),jQuery(".chaty-widget").removeClass("chaty-widget-show")),""!=chaty_settings.object_settings.animation_class&&("sheen"!=chaty_settings.object_settings.animation_class?jQuery(".i-trigger .chaty-widget-i svg").wrap(function(){return"<div class='svg'></div>"}):jQuery(".i-trigger .chaty-widget-i .wrap-svg").length||jQuery(".i-trigger .chaty-widget-i svg").wrap(function(){return"<div class='wrap-svg'></div>"})),r()||("on"==chaty_settings.object_settings.pending_messages&&("sheen"!=chaty_settings.object_settings.animation_class?jQuery(".i-trigger .i-trigger-open .svg, .i-trigger .i-trigger-open.single-button .svg").length?jQuery(".i-trigger .i-trigger-open .svg, .i-trigger .i-trigger-open.single-button .svg").append("<span class='cht-pending-message'>"+chaty_settings.object_settings.number_of_messages+"</span>"):jQuery(".i-trigger .i-trigger-open.single-button svg").length?jQuery(".i-trigger .i-trigger-open.single-button svg").after("<span class='cht-pending-message'>"+chaty_settings.object_settings.number_of_messages+"</span>"):jQuery(".i-trigger .i-trigger-open, .i-trigger .i-trigger-open.single-button svg").after("<span class='cht-pending-message'>"+chaty_settings.object_settings.number_of_messages+"</span>"):jQuery(".i-trigger .i-trigger-open, .i-trigger .i-trigger-open.single-button").after("<span class='cht-pending-message'>"+chaty_settings.object_settings.number_of_messages+"</span>"),jQuery(".cht-pending-message").css("color",chaty_settings.object_settings.number_color),jQuery(".cht-pending-message").css("background",chaty_settings.object_settings.number_bg_color)),jQuery(document).on("click",".i-trigger .i-trigger-open, .i-trigger.one-widget",function(){if(jQuery(".cht-pending-message").remove(),jQuery(this).hasClass("one-widget")){jQuery(this).addClass("show-channel");var t=jQuery(this).data("title");jQuery(this).find(".chaty-widget-i-title").find("p").html(t)}})),jQuery(document).on("click",".i-trigger.one-widget",function(){if(jQuery(this).hasClass("one-widget")){jQuery(this).addClass("show-channel");var t=jQuery(this).data("title");console.log("tooltipText: "+t),jQuery(this).find(".chaty-widget-i-title").find("p").html(t)}}),jQuery("chaty-main-widget").mouseenter(function(){jQuery(".i-trigger").hasClass("one-widget")||d()}),1==_)if(h("cta_widget_status"))if("no"==chaty_settings.object_settings.time_trigger&&"no"==chaty_settings.object_settings.exit_intent&&"no"==chaty_settings.object_settings.on_page_scroll)jQuery(".chaty-widget").removeClass("hide-widget"),"open"==chaty_settings.object_settings.display_state&&"no"==chaty_settings.object_settings.has_close_button?chaty_settings.object_settings.has_close_button="no":(chaty_settings.object_settings.display_state="hover",chaty_settings.object_settings.has_close_button="yes"),p();else{if(jQuery(".chaty-widget").addClass("hide-widget"),"yes"==chaty_settings.object_settings.time_trigger&&setTimeout(function(){s||(jQuery(".chaty-widget").removeClass("hide-widget"),p())},1e3*parseInt(chaty_settings.object_settings.trigger_time)),"yes"==chaty_settings.object_settings.exit_intent){a=document,g="mouseout",l=function(t){null==t.toElement&&null==t.relatedTarget&&null==u("cta_exit_intent_shown")&&(y("cta_exit_intent_shown","yes",1),s=!0,jQuery(".chaty-widget").removeClass("hide-widget"),jQuery(".chaty-widget").addClass("chaty-animation-widget"),jQuery(".chaty-animation-widget").append("<div class='chaty-nav'></div>"),"open"==chaty_settings.object_settings.display_state&&"no"==chaty_settings.object_settings.has_close_button?chaty_settings.object_settings.has_close_button="no":(chaty_settings.object_settings.display_state="open",chaty_settings.object_settings.has_close_button="yes"),p(),"left"==chaty_settings.object_settings.position?jQuery(".chaty-widget").addClass("left-position"):"right"==chaty_settings.object_settings.position?jQuery(".chaty-widget").addClass("right-position"):"custom"==chaty_settings.object_settings.position&&("left"==e.object_settings.pos_side?jQuery(".chaty-widget").addClass("left-position"):jQuery(".chaty-widget").addClass("right-position")),w(),setTimeout(function(){jQuery(".chaty-animation-widget").addClass("active")},100),setTimeout(function(){jQuery(".chaty-nav").remove()},2500))},a.addEventListener?a.addEventListener(g,l,!1):a.attachEvent&&a.attachEvent("on"+g,l)}"yes"==chaty_settings.object_settings.on_page_scroll&&parseInt(chaty_settings.object_settings.page_scroll)>0&&jQuery(window).scroll(function(){if(!s){var t=jQuery(document).height()-jQuery(window).height(),e=jQuery(window).scrollTop();0!=e&&e/t*100>=parseInt(chaty_settings.object_settings.page_scroll)&&(jQuery(".chaty-widget").removeClass("hide-widget"),p())}})}else jQuery(".chaty-widget").removeClass("hide-widget"),p();else jQuery(".chaty-widget").addClass("hide-widget");jQuery(".chaty-widget-i-title").length&&jQuery(".chaty-widget-i-title").each(function(){""==jQuery.trim(jQuery(this).text())&&(jQuery(this).closest(".chaty-widget-i").addClass("hide-chaty-arrow"),jQuery(this).remove())})}),jQuery(".chaty-widget-i-title").each(function(){""==jQuery(this).text()&&(jQuery(this).closest(".chaty-widget-i").addClass("hide-chaty-arrow"),jQuery(this).remove())}),jQuery(".chaty-widget").hasClass("one_widget")||jQuery("body").append("<div class='trigger-chaty-button'></div>"),jQuery("body").addClass(chaty_settings.object_settings.mode+"-cht-menu"),jQuery("body").addClass(chaty_settings.object_settings.position+"-cht-position")})}),jQuery(document).on("click",".trigger-chaty-button",function(){jQuery(".chaty-widget").removeClass("hide-widget"),p(),!jQuery(".chaty-widget").hasClass("none-widget-show")&&jQuery(".chaty-widget").hasClass("chaty-widget-show")||jQuery(".i-trigger-open").trigger("click")}),jQuery(document).on("click",".has-custom-chaty-popup.whatsapp-button",function(t){if(jQuery("#chaty-inline-popup").length){var e=jQuery(this).data("data-index");jQuery("#chaty-widget-"+e).removeClass("chaty-popup-open"),jQuery(".chaty-popup-open").removeClass("chaty-popup-open"),jQuery(".chaty-widget.hide-block").removeClass("active")}if(jQuery(this).hasClass("open-it-by-default")&&t.preventDefault(),jQuery("#chaty-inline-popup").remove(),null!=jQuery(this).attr("data-popup")&&""!=jQuery(this).attr("data-popup")){e="";jQuery(".chaty-widget").addClass("hide-block"),jQuery(".chaty-widget").addClass("chaty-popup-open");var s="<div data-index='"+e+"' id='chaty-inline-popup' class='chaty-inline-popup chaty-popup-form "+jQuery(this).data("channel")+"-channel'>";s+=jQuery(this).attr("data-popup"),jQuery("body").append(s),jQuery(".chaty-inline-popup .default-value").length&&(jQuery(".chaty-whatsapp-msg").val(jQuery(".chaty-inline-popup .default-value").text()),jQuery(".chaty-whatsapp-phone").val(jQuery(".chaty-inline-popup .default-msg-phone").text()),jQuery(".chaty-whatsapp-message").html(jQuery(".chaty-inline-popup .default-msg-value").html())),jQuery(".chaty-widget").addClass("active"),setTimeout(function(){jQuery("#chaty-inline-popup").addClass("active")},150),jQuery("body").hasClass("chaty-in-mobile")||jQuery(".chaty-whatsapp-msg").focus()}a&&jQuery(".whatsapp-chaty-form").prop("target","")}),jQuery(document).on("click",".close-chaty-popup, .close-chaty-box",function(){jQuery(this).hasClass("is-whatsapp-btn")&&l("cht_whatsapp_window"),jQuery("#chaty-inline-popup").removeClass("active"),jQuery(".chaty-widget").removeClass("chaty-popup-open"),setTimeout(function(){jQuery(".chaty-widget.hide-block").removeClass("active")},250)}),jQuery(document).on("submit",".whatsapp-chaty-form",function(t){if(l("cht_whatsapp_window"),jQuery("#chaty-inline-popup").removeClass("active"),jQuery(".chaty-widget").removeClass("chaty-popup-open"),setTimeout(function(){jQuery(".chaty-widget.hide-block").removeClass("active")},250),jQuery("body").hasClass("chaty-in-mobile"))return t.preventDefault(),window.location="https://wa.me/"+jQuery(this).find(".chaty-whatsapp-phone").val()+"?text="+jQuery(this).find(".chaty-whatsapp-msg").val(),!1}),jQuery(document).on("submit",".chaty-contact-form-data",function(t){var e=0;if(jQuery(".has-chaty-error").removeClass("has-chaty-error"),jQuery(".chaty-error-msg").remove(),jQuery(".chaty-ajax-error-message").remove(),jQuery(".chaty-ajax-success-message").remove(),jQuery(this).find(".is-required").each(function(){""==jQuery.trim(jQuery(this).val())&&(e++,jQuery(this).addClass("has-chaty-error"))}),0==e){var s=jQuery(this);jQuery(".chaty-contact-submit-btn").attr("disabled",!0),jQuery.ajax({url:chaty_settings.ajax_url,data:{action:"chaty_front_form_save_data",name:s.find(".chaty-field-name").length?s.find(".chaty-field-name").val():"",email:s.find(".chaty-field-email").length?s.find(".chaty-field-email").val():"",phone:s.find(".chaty-field-phone").length?s.find(".chaty-field-phone").val():"",message:s.find(".chaty-field-message").length?s.find(".chaty-field-message").val():"",nonce:s.find(".chaty-field-nonce").length?s.find(".chaty-field-nonce").val():"",channel:s.find(".chaty-field-channel").length?s.find(".chaty-field-channel").val():"",widget:s.find(".chaty-field-widget").length?s.find(".chaty-field-widget").val():"",ref_url:window.location.href},type:"post",async:!0,defer:!0,success:function(t){if(t=jQuery.parseJSON(t),jQuery(".chaty-ajax-error-message").remove(),jQuery(".chaty-ajax-success-message").remove(),jQuery(".chaty-contact-submit-btn").attr("disabled",!1),1==t.status)jQuery(".chaty-contact-footer").append("<div class='chaty-ajax-success-message'>"+t.message+"</div>"),jQuery(".chaty-field-name, .chaty-field-email, .chaty-field-message").val(""),"yes"==t.redirect_action&&("yes"==t.link_in_new_tab?window.open(t.redirect_link,"_blank"):window.location=t.redirect_link),"yes"==t.close_form_after&&setTimeout(function(){jQuery("#chaty-inline-popup").removeClass("active"),jQuery(".chaty-widget").removeClass("chaty-popup-open"),setTimeout(function(){jQuery(".chaty-widget.hide-block").removeClass("active")},250)},1e3*parseInt(t.close_form_after_seconds));else if(1==t.error){if(t.errors.length)for(var e=0;e<t.errors.length;e++)jQuery("."+t.errors[e].field).addClass("has-chaty-error"),jQuery("."+t.errors[e].field).after("<span class='chaty-error-msg'>"+t.errors[e].message+"</span>")}else jQuery(".chaty-contact-footer").append("<div class='chaty-ajax-error-message'>"+t.message+"</div>")}})}else jQuery(".has-chaty-error:first").focus();return!1})}(jQuery)},12:function(t,e){}});
readme.txt CHANGED
@@ -2,8 +2,8 @@
2
  Contributors: galdub, tomeraharon, premio
3
  Tags: whatsapp, whatsapp chat, facebook messenger, click to chat, chat, chat button, call now button, messenger, whatsapp button, chat icon, contact button, click to call
4
  Requires at least: 3.1
5
- Tested up to: 5.6
6
- Stable tag: 2.7.4
7
  Plugin URI: https://premio.io/downloads/chaty/
8
 
9
  Whatsapp, Facebook Messenger, Telegram, Viber, Email, Phone call, SMS and more with customizable chat & call buttons. Chat with your visitors on WhatsApp, Facebook Messenger, and other chat channels!
@@ -72,7 +72,7 @@ Link to an external channel/contact page (New feature: add 2 custom buttons and
72
  4. Set a display trigger - decide when the widget will appear for the first time. You can show it after a few seconds, on page scroll, or use our powerful exit intent trigger. When you choose more than one trigger, the widget will appear when the first trigger takes place. The exit intent trigger will help you get your website's visitors' attention when they plan to leave your website.
73
  5. Attention effects - choose from 8 stunning attention effects including bounce, waggle, sheen, spin, fade, shockwave, blink, and pulse. Your attention effect will help you capture the attention of your website visitors. Once the see your chat widget, your conversation rate will increase significantly.
74
  6. Pending messages icon - increase your chat button click-rate by displaying a pending messages icon with the number of pending messages in your Chaty widget to let your visitors know that you're waiting for them to contact you.
75
- 6. Fully customize all chat icons including colors and text on hover. You can also translate the "Hide" text to your language now :)
76
  7. Choose between 7 different colors.
77
  8. New! WhatsApp chat pop up - show a WhatsApp chat pop up to your visitors so that they can start a WhatsApp conversation with you on your website (you can open the WhatsApp pop up by default, or open it when the user clicks on the WhatsApp icon). After they click on the send button, they'll be redirected to WhatsApp to continue the conversation there (<a href="https://demo.premio.io/chaty/?utm_source=wordpressorg" target="_blank" title="Premio.io demo site">click here</a> to see it in action)
78
  9. New! Contact Us Form - add a contact form as one of your Chaty channels. Your visitors will be able to fill out their details using the contact us form (<a href="https://demo.premio.io/chaty/?utm_source=wordpressorg" target="_blank" title="Premio.io demo site">click here</a> to see it in action)
@@ -91,9 +91,10 @@ Link to an external channel/contact page (New feature: add 2 custom buttons and
91
  22. New! You can now add a Slack chat button.
92
  23. New! We've added a third custom chat button, you can link to any page or fire a JavaScript code.
93
  24. New! Now it's much easier to enter your WhatsApp number. Select your country and add your local WhatsApp number, and avoid confusion
 
94
 
95
  = What do you get in the Pro plan? =
96
- Unlock the Pro features for only $25/year
97
  You will get all the features of the free plan, plus:
98
 
99
  1. Show all the channels you want at the same time (25 different click to chat buttons and other icons)
@@ -109,14 +110,15 @@ Different chat widgets for different products and categories
109
  Different chats buttons based on purpose (support, sales, etc)
110
  7. New! Traffic source targeting – show the contact your chat channels only to visitors who come from specific traffic sources including direct traffic, social networks, search engines, Google Ads, or any other traffic source (for example, show a WhatsApp icon to visitors from Google, and Facebook Messenger to visitors from Facebook)
111
  8. New! Widget Analytics - get data about your most used chat channels. Find out which of your chat widgets converts better.
112
- 9. Create a pre-set WhatsApp chat message and pre-set email subject line. When people click on your WhatsApp button or email icon, your pre-set message will be automatically loaded
113
- 10. Fire a Google Analytics event every time one of your channel buttons is clicked. That's great news for you because now you can fully track any click to call, chat, navigate, and more
114
- 11. Available days and hours - display the widget on specific days and hours based on your opening days and hours. E.g. You can show live chat channels like Facebook Messenger and WhatsApp on certain days & hours, and when you're not available for live chat you can display email and Instagram.
115
- 12. New! Country targeting - show a different chat button for different countries. For example, you can show Line, Viber, WeChat, and Whatsapp chat for Chinese users, and Facebook Messenger, email button, and SMS text icon for visitors from the US.
116
- 13. New! Add your own custom CSS.
117
- 14. New! Duplicate your Chaty widget to save time and use the same settings and chat channels from another widget
118
- 15. New! Get your contact form leads to email
119
- 16. New! Date scheduling - set a start and end date for your chat buttons (E.g. show a WhatsApp chat button from a specific date)
 
120
  Works great for multi-language websites and WPML plugin, for different products, landing pages, and any other URL targeting rule.
121
  <br><a href="https://premio.io/downloads/chaty/?utm_source=wordpressorg" target="_blank" title="Chaty pro plans"><strong>Upgrade to pro</strong></a> to get all pro features :)
122
 
@@ -251,6 +253,9 @@ Yes! You can even decide what chat buttons will show up on each device (desktop/
251
 
252
 
253
  == Changelog ==
 
 
 
254
  = 2.7.4 =
255
  Dashboard, option to close Chaty using this JavaScript function close_chaty(), and some bugs were fixed
256
 
2
  Contributors: galdub, tomeraharon, premio
3
  Tags: whatsapp, whatsapp chat, facebook messenger, click to chat, chat, chat button, call now button, messenger, whatsapp button, chat icon, contact button, click to call
4
  Requires at least: 3.1
5
+ Tested up to: 5.7
6
+ Stable tag: 2.7.5
7
  Plugin URI: https://premio.io/downloads/chaty/
8
 
9
  Whatsapp, Facebook Messenger, Telegram, Viber, Email, Phone call, SMS and more with customizable chat & call buttons. Chat with your visitors on WhatsApp, Facebook Messenger, and other chat channels!
72
  4. Set a display trigger - decide when the widget will appear for the first time. You can show it after a few seconds, on page scroll, or use our powerful exit intent trigger. When you choose more than one trigger, the widget will appear when the first trigger takes place. The exit intent trigger will help you get your website's visitors' attention when they plan to leave your website.
73
  5. Attention effects - choose from 8 stunning attention effects including bounce, waggle, sheen, spin, fade, shockwave, blink, and pulse. Your attention effect will help you capture the attention of your website visitors. Once the see your chat widget, your conversation rate will increase significantly.
74
  6. Pending messages icon - increase your chat button click-rate by displaying a pending messages icon with the number of pending messages in your Chaty widget to let your visitors know that you're waiting for them to contact you.
75
+ 6. Fully customize all chat icons including colors and text on hover and chat buttons opacity. You can also translate the "Hide" text to your language now :)
76
  7. Choose between 7 different colors.
77
  8. New! WhatsApp chat pop up - show a WhatsApp chat pop up to your visitors so that they can start a WhatsApp conversation with you on your website (you can open the WhatsApp pop up by default, or open it when the user clicks on the WhatsApp icon). After they click on the send button, they'll be redirected to WhatsApp to continue the conversation there (<a href="https://demo.premio.io/chaty/?utm_source=wordpressorg" target="_blank" title="Premio.io demo site">click here</a> to see it in action)
78
  9. New! Contact Us Form - add a contact form as one of your Chaty channels. Your visitors will be able to fill out their details using the contact us form (<a href="https://demo.premio.io/chaty/?utm_source=wordpressorg" target="_blank" title="Premio.io demo site">click here</a> to see it in action)
91
  22. New! You can now add a Slack chat button.
92
  23. New! We've added a third custom chat button, you can link to any page or fire a JavaScript code.
93
  24. New! Now it's much easier to enter your WhatsApp number. Select your country and add your local WhatsApp number, and avoid confusion
94
+ 25. New! Decide whether you want to use the WhatsApp WAME link or WhatsApp desktop link in the WhatsApp settings
95
 
96
  = What do you get in the Pro plan? =
97
+ Unlock the Pro features for only $39/year
98
  You will get all the features of the free plan, plus:
99
 
100
  1. Show all the channels you want at the same time (25 different click to chat buttons and other icons)
110
  Different chats buttons based on purpose (support, sales, etc)
111
  7. New! Traffic source targeting – show the contact your chat channels only to visitors who come from specific traffic sources including direct traffic, social networks, search engines, Google Ads, or any other traffic source (for example, show a WhatsApp icon to visitors from Google, and Facebook Messenger to visitors from Facebook)
112
  8. New! Widget Analytics - get data about your most used chat channels. Find out which of your chat widgets converts better.
113
+ 9. Create a pre-set WhatsApp chat message and pre-set email subject line. When people click on your WhatsApp button or email icon, your pre-set message will be automatically loaded
114
+ 10. New! Title and URL tags for the WhatsApp pre-set message - you can also use title and URL tags of the visitor's current page for the WhatsApp pre-set message
115
+ 11. Fire a Google Analytics event every time one of your channel buttons is clicked. That's great news for you because now you can fully track any click to call, chat, navigate, and more
116
+ 12. Available days and hours - display the widget on specific days and hours based on your opening days and hours. E.g. You can show live chat channels like Facebook Messenger and WhatsApp on certain days & hours, and when you're not available for live chat you can display email and Instagram.
117
+ 13. New! Country targeting - show a different chat button for different countries. For example, you can show Line, Viber, WeChat, and Whatsapp chat for Chinese users, and Facebook Messenger, email button, and SMS text icon for visitors from the US.
118
+ 14. New! Add your own custom CSS.
119
+ 15. New! Duplicate your Chaty widget to save time and use the same settings and chat channels from another widget
120
+ 16. New! Get your contact form leads to email
121
+ 17. New! Date scheduling - set a start and end date for your chat buttons (E.g. show a WhatsApp chat button from a specific date)
122
  Works great for multi-language websites and WPML plugin, for different products, landing pages, and any other URL targeting rule.
123
  <br><a href="https://premio.io/downloads/chaty/?utm_source=wordpressorg" target="_blank" title="Chaty pro plans"><strong>Upgrade to pro</strong></a> to get all pro features :)
124
 
253
 
254
 
255
  == Changelog ==
256
+ = 2.7.5 =
257
+ Added opacity options to the chat buttons, you can now decide whether you want to use the WhatsApp WAME link or WhatsApp desktop link in the WhatsApp settings, fixed an Oxygen editor bug and we've also fixed some other bugs
258
+
259
  = 2.7.4 =
260
  Dashboard, option to close Chaty using this JavaScript function close_chaty(), and some bugs were fixed
261
 
views/admin/admin.php CHANGED
@@ -63,4 +63,9 @@ $pro_class = (!$is_pro && $cht_license_key !== "")?"none_pro":"";
63
 
64
  <?php require_once 'help.php'; ?>
65
  </div>
66
- <?php require_once 'popup.php'; ?>
 
 
 
 
 
63
 
64
  <?php require_once 'help.php'; ?>
65
  </div>
66
+ <?php require_once 'popup.php'; ?>
67
+ <div class="toast-message" style="display: none">
68
+ <div class="toast-close-btn"><a href="javascript:;"></a></div>
69
+ <div class="toast-message-title">Settings Updated</div>
70
+ <div class="toast-message-body">Your settings has been saved</div>
71
+ </div>
views/admin/channels-section.php CHANGED
@@ -393,7 +393,7 @@ if (!defined('ABSPATH')) {
393
  <div class="move-icon">
394
  <img src="<?php echo esc_url(plugin_dir_url("")."/chaty/admin/assets/images/move-icon.png") ?>">
395
  </div>
396
- <div class="icon icon-md active" data-label="<?php esc_attr_e($value['title']); ?>">
397
  <span style="" class="custom-chaty-image custom-image-<?php echo esc_attr($social['slug']) ?>" id="image_data_<?php echo esc_attr($social['slug']) ?>">
398
  <img src="<?php echo esc_url($imageUrl) ?>" />
399
  <span onclick="remove_chaty_image('<?php echo esc_attr($social['slug']) ?>')" class="remove-icon-img"></span>
@@ -489,7 +489,7 @@ if (!defined('ABSPATH')) {
489
  <?php $embedded_window = isset($value['embedded_window'])?$value['embedded_window']:"no"; ?>
490
  <div class="chaty-setting-col">
491
  <input type="hidden" name="cht_social_<?php echo esc_attr($social['slug']); ?>[embedded_window]" value="no" >
492
- <label class="chaty-switch chaty-embedded-window" for="whatsapp_embedded_window_<?php echo esc_attr($social['slug']); ?>">
493
  <input type="checkbox" class="embedded_window-checkbox" name="cht_social_<?php echo esc_attr($social['slug']); ?>[embedded_window]" id="whatsapp_embedded_window_<?php echo esc_attr($social['slug']); ?>" value="yes" <?php checked($embedded_window, "yes") ?> >
494
  <div class="chaty-slider round"></div>
495
  WhatsApp Chat Popup &#128172;
@@ -720,7 +720,7 @@ if (!defined('ABSPATH')) {
720
  <?php $field_value = isset($value['redirect_action'])?$value['redirect_action']:"no" ?>
721
  <div class="chaty-setting-col">
722
  <input type="hidden" name="cht_social_<?php echo esc_attr($social['slug']); ?>[redirect_action]" value="no" >
723
- <label class="chaty-switch" for="redirect_action_<?php echo esc_attr($social['slug']); ?>">
724
  <input type="checkbox" class="chaty-redirect-setting" name="cht_social_<?php echo esc_attr($social['slug']); ?>[redirect_action]" id="redirect_action_<?php echo esc_attr($social['slug']); ?>" value="yes" <?php checked($field_value, "yes") ?> >
725
  <div class="chaty-slider round"></div>
726
  Redirect visitors after submission
@@ -737,7 +737,7 @@ if (!defined('ABSPATH')) {
737
  <?php $field_value = isset($value['link_in_new_tab'])?$value['link_in_new_tab']:"no" ?>
738
  <div class="chaty-setting-col">
739
  <input type="hidden" name="cht_social_<?php echo esc_attr($social['slug']); ?>[link_in_new_tab]" value="no" >
740
- <label class="chaty-switch" for="link_in_new_tab_<?php echo esc_attr($social['slug']); ?>">
741
  <input type="checkbox" class="chaty-field-setting" name="cht_social_<?php echo esc_attr($social['slug']); ?>[link_in_new_tab]" id="link_in_new_tab_<?php echo esc_attr($social['slug']); ?>" value="yes" <?php checked($field_value, "yes") ?> >
742
  <div class="chaty-slider round"></div>
743
  Open in a new tab
@@ -748,7 +748,7 @@ if (!defined('ABSPATH')) {
748
  <?php $field_value = isset($value['close_form_after'])?$value['close_form_after']:"no" ?>
749
  <div class="chaty-setting-col">
750
  <input type="hidden" name="cht_social_<?php echo esc_attr($social['slug']); ?>[close_form_after]" value="no" >
751
- <label class="chaty-switch" for="close_form_after_<?php echo esc_attr($social['slug']); ?>">
752
  <input type="checkbox" class="chaty-close_form_after-setting" name="cht_social_<?php echo esc_attr($social['slug']); ?>[close_form_after]" id="close_form_after_<?php echo esc_attr($social['slug']); ?>" value="yes" <?php checked($field_value, "yes") ?> >
753
  <div class="chaty-slider round"></div>
754
  Close form automatically after submission
@@ -822,10 +822,11 @@ if (!defined('ABSPATH')) {
822
  <!-- advance setting for Whatsapp -->
823
  <div class="clear clearfix"></div>
824
  <div class="chaty-setting-col">
825
- <label>Pre Set Message</label>
826
  <div>
827
  <?php $pre_set_message = isset($value['pre_set_message'])?$value['pre_set_message']:""; ?>
828
  <input id="cht_social_message_<?php echo esc_attr($social['slug']); ?>" type="text" name="cht_social_<?php echo esc_attr($social['slug']); ?>[pre_set_message]" value="<?php esc_attr_e($pre_set_message) ?>" >
 
829
  </div>
830
  </div>
831
  </div>
@@ -833,10 +834,11 @@ if (!defined('ABSPATH')) {
833
  <!-- advance setting for Email -->
834
  <div class="clear clearfix"></div>
835
  <div class="chaty-setting-col">
836
- <label>Mail Subject</label>
837
  <div>
838
  <?php $mail_subject = isset($value['mail_subject'])?$value['mail_subject']:""; ?>
839
  <input id="cht_social_message_<?php echo esc_attr($social['slug']); ?>" type="text" name="cht_social_<?php echo esc_attr($social['slug']); ?>[mail_subject]" value="<?php esc_attr_e($mail_subject) ?>" >
 
840
  </div>
841
  </div>
842
  </div>
@@ -912,11 +914,12 @@ if (!defined('ABSPATH')) {
912
  <?php $pre_set_message = isset($value['pre_set_message'])?$value['pre_set_message']:""; ?>
913
  <div class="clear clearfix"></div>
914
  <div class="chaty-setting-col">
915
- <label>Pre Set Message</label>
916
  <div>
917
  <div class="pro-features">
918
  <div class="pro-item">
919
  <input disabled id="cht_social_message_<?php echo esc_attr($social['slug']); ?>" type="text" name="" value="<?php esc_attr_e($pre_set_message) ?>" >
 
920
  </div>
921
  <div class="pro-button">
922
  <a target="_blank" href="<?php echo esc_url($this->getUpgradeMenuItemUrl());?>"><?php esc_attr_e('Upgrade to Pro', CHT_OPT);?></a>
@@ -928,11 +931,12 @@ if (!defined('ABSPATH')) {
928
  <div class="Email-settings advanced-settings">
929
  <div class="clear clearfix"></div>
930
  <div class="chaty-setting-col">
931
- <label>Mail Subject</label>
932
  <div>
933
  <div class="pro-features">
934
  <div class="pro-item">
935
  <input disabled id="cht_social_message_<?php echo esc_attr($social['slug']); ?>" type="text" name="" value="" >
 
936
  </div>
937
  <div class="pro-button">
938
  <a target="_blank" href="<?php echo esc_url($this->getUpgradeMenuItemUrl());?>"><?php esc_attr_e('Upgrade to Pro', CHT_OPT);?></a>
@@ -986,6 +990,24 @@ if (!defined('ABSPATH')) {
986
  </div>
987
  </div>
988
  <?php } ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
989
  </div>
990
  <!-- advance setting fields: end -->
991
 
393
  <div class="move-icon">
394
  <img src="<?php echo esc_url(plugin_dir_url("")."/chaty/admin/assets/images/move-icon.png") ?>">
395
  </div>
396
+ <div class="icon icon-md active" data-label="<?php esc_attr_e($social['title']); ?>">
397
  <span style="" class="custom-chaty-image custom-image-<?php echo esc_attr($social['slug']) ?>" id="image_data_<?php echo esc_attr($social['slug']) ?>">
398
  <img src="<?php echo esc_url($imageUrl) ?>" />
399
  <span onclick="remove_chaty_image('<?php echo esc_attr($social['slug']) ?>')" class="remove-icon-img"></span>
489
  <?php $embedded_window = isset($value['embedded_window'])?$value['embedded_window']:"no"; ?>
490
  <div class="chaty-setting-col">
491
  <input type="hidden" name="cht_social_<?php echo esc_attr($social['slug']); ?>[embedded_window]" value="no" >
492
+ <label class="chaty-switch full-width chaty-embedded-window" for="whatsapp_embedded_window_<?php echo esc_attr($social['slug']); ?>">
493
  <input type="checkbox" class="embedded_window-checkbox" name="cht_social_<?php echo esc_attr($social['slug']); ?>[embedded_window]" id="whatsapp_embedded_window_<?php echo esc_attr($social['slug']); ?>" value="yes" <?php checked($embedded_window, "yes") ?> >
494
  <div class="chaty-slider round"></div>
495
  WhatsApp Chat Popup &#128172;
720
  <?php $field_value = isset($value['redirect_action'])?$value['redirect_action']:"no" ?>
721
  <div class="chaty-setting-col">
722
  <input type="hidden" name="cht_social_<?php echo esc_attr($social['slug']); ?>[redirect_action]" value="no" >
723
+ <label class="chaty-switch full-width" for="redirect_action_<?php echo esc_attr($social['slug']); ?>">
724
  <input type="checkbox" class="chaty-redirect-setting" name="cht_social_<?php echo esc_attr($social['slug']); ?>[redirect_action]" id="redirect_action_<?php echo esc_attr($social['slug']); ?>" value="yes" <?php checked($field_value, "yes") ?> >
725
  <div class="chaty-slider round"></div>
726
  Redirect visitors after submission
737
  <?php $field_value = isset($value['link_in_new_tab'])?$value['link_in_new_tab']:"no" ?>
738
  <div class="chaty-setting-col">
739
  <input type="hidden" name="cht_social_<?php echo esc_attr($social['slug']); ?>[link_in_new_tab]" value="no" >
740
+ <label class="chaty-switch full-width" for="link_in_new_tab_<?php echo esc_attr($social['slug']); ?>">
741
  <input type="checkbox" class="chaty-field-setting" name="cht_social_<?php echo esc_attr($social['slug']); ?>[link_in_new_tab]" id="link_in_new_tab_<?php echo esc_attr($social['slug']); ?>" value="yes" <?php checked($field_value, "yes") ?> >
742
  <div class="chaty-slider round"></div>
743
  Open in a new tab
748
  <?php $field_value = isset($value['close_form_after'])?$value['close_form_after']:"no" ?>
749
  <div class="chaty-setting-col">
750
  <input type="hidden" name="cht_social_<?php echo esc_attr($social['slug']); ?>[close_form_after]" value="no" >
751
+ <label class="chaty-switch full-width" for="close_form_after_<?php echo esc_attr($social['slug']); ?>">
752
  <input type="checkbox" class="chaty-close_form_after-setting" name="cht_social_<?php echo esc_attr($social['slug']); ?>[close_form_after]" id="close_form_after_<?php echo esc_attr($social['slug']); ?>" value="yes" <?php checked($field_value, "yes") ?> >
753
  <div class="chaty-slider round"></div>
754
  Close form automatically after submission
822
  <!-- advance setting for Whatsapp -->
823
  <div class="clear clearfix"></div>
824
  <div class="chaty-setting-col">
825
+ <label>Pre Set Message <span class="icon label-tooltip inline-tooltip" data-label="Add your own pre-set message that's automatically added to the user's message. You can also use merge tags and add the URL or the title of the current visitor's page. E.g. you can add the current URL of a product to the message so you know which product the visitor is talking about when the visitor messages you"><span class="dashicons dashicons-editor-help"></span></span></label>
826
  <div>
827
  <?php $pre_set_message = isset($value['pre_set_message'])?$value['pre_set_message']:""; ?>
828
  <input id="cht_social_message_<?php echo esc_attr($social['slug']); ?>" type="text" name="cht_social_<?php echo esc_attr($social['slug']); ?>[pre_set_message]" value="<?php esc_attr_e($pre_set_message) ?>" >
829
+ <span class="supported-tags"><span class="icon label-tooltip support-tooltip" data-label="{title} tag grabs the page title of the webpage">{title}</span> and <span class="icon label-tooltip support-tooltip" data-label="{url} tag grabs the URL of the page">{url}</span> tags are supported</span>
830
  </div>
831
  </div>
832
  </div>
834
  <!-- advance setting for Email -->
835
  <div class="clear clearfix"></div>
836
  <div class="chaty-setting-col">
837
+ <label>Mail Subject <span class="icon label-tooltip inline-tooltip" data-label="Add your own pre-set message that's automatically added to the user's message. You can also use merge tags and add the URL or the title of the current visitor's page. E.g. you can add the current URL of a product to the message so you know which product the visitor is talking about when the visitor messages you"><span class="dashicons dashicons-editor-help"></span></span></label>
838
  <div>
839
  <?php $mail_subject = isset($value['mail_subject'])?$value['mail_subject']:""; ?>
840
  <input id="cht_social_message_<?php echo esc_attr($social['slug']); ?>" type="text" name="cht_social_<?php echo esc_attr($social['slug']); ?>[mail_subject]" value="<?php esc_attr_e($mail_subject) ?>" >
841
+ <span class="supported-tags"><span class="icon label-tooltip support-tooltip" data-label="{title} tag grabs the page title of the webpage">{title}</span> and <span class="icon label-tooltip support-tooltip" data-label="{url} tag grabs the URL of the page">{url}</span> tags are supported</span>
842
  </div>
843
  </div>
844
  </div>
914
  <?php $pre_set_message = isset($value['pre_set_message'])?$value['pre_set_message']:""; ?>
915
  <div class="clear clearfix"></div>
916
  <div class="chaty-setting-col">
917
+ <label>Pre Set Message <span class="icon label-tooltip inline-tooltip" data-label="Add your own pre-set message that's automatically added to the user's message. You can also use merge tags and add the URL or the title of the current visitor's page. E.g. you can add the current URL of a product to the message so you know which product the visitor is talking about when the visitor messages you"><span class="dashicons dashicons-editor-help"></span></span></label>
918
  <div>
919
  <div class="pro-features">
920
  <div class="pro-item">
921
  <input disabled id="cht_social_message_<?php echo esc_attr($social['slug']); ?>" type="text" name="" value="<?php esc_attr_e($pre_set_message) ?>" >
922
+ <span class="supported-tags"><span class="icon label-tooltip support-tooltip" data-label="{title} tag grabs the page title of the webpage">{title}</span> and <span class="icon label-tooltip support-tooltip" data-label="{url} tag grabs the URL of the page">{url}</span> tags are supported</span>
923
  </div>
924
  <div class="pro-button">
925
  <a target="_blank" href="<?php echo esc_url($this->getUpgradeMenuItemUrl());?>"><?php esc_attr_e('Upgrade to Pro', CHT_OPT);?></a>
931
  <div class="Email-settings advanced-settings">
932
  <div class="clear clearfix"></div>
933
  <div class="chaty-setting-col">
934
+ <label>Mail Subject <span class="icon label-tooltip inline-tooltip" data-label="Add your own pre-set message that's automatically added to the user's message. You can also use merge tags and add the URL or the title of the current visitor's page. E.g. you can add the current URL of a product to the message so you know which product the visitor is talking about when the visitor messages you"><span class="dashicons dashicons-editor-help"></span></span></label>
935
  <div>
936
  <div class="pro-features">
937
  <div class="pro-item">
938
  <input disabled id="cht_social_message_<?php echo esc_attr($social['slug']); ?>" type="text" name="" value="" >
939
+ <span class="supported-tags"><span class="icon label-tooltip support-tooltip" data-label="{title} tag grabs the page title of the webpage">{title}</span> and <span class="icon label-tooltip support-tooltip" data-label="{url} tag grabs the URL of the page">{url}</span> tags are supported</span>
940
  </div>
941
  <div class="pro-button">
942
  <a target="_blank" href="<?php echo esc_url($this->getUpgradeMenuItemUrl());?>"><?php esc_attr_e('Upgrade to Pro', CHT_OPT);?></a>
990
  </div>
991
  </div>
992
  <?php } ?>
993
+
994
+ <?php $use_whatsapp_web = isset($value['use_whatsapp_web'])?$value['use_whatsapp_web']:"yes"; ?>
995
+ <div class="Whatsapp-settings advanced-settings">
996
+ <div class="clear clearfix"></div>
997
+ <div class="chaty-setting-col">
998
+ <label>Whatsapp Web</label>
999
+ <input type="hidden" name="cht_social_<?php echo esc_attr($social['slug']); ?>[use_whatsapp_web]" value="no" />
1000
+ <div>
1001
+ <div class="checkbox">
1002
+ <label for="cht_social_<?php echo esc_attr($social['slug']); ?>_use_whatsapp_web" class="chaty-checkbox">
1003
+ <input class="sr-only" type="checkbox" id="cht_social_<?php echo esc_attr($social['slug']); ?>_use_whatsapp_web" name="cht_social_<?php echo esc_attr($social['slug']); ?>[use_whatsapp_web]" value="yes" <?php echo checked($use_whatsapp_web, "yes") ?> />
1004
+ <span></span>
1005
+ Use Whatsapp Web directly on desktop
1006
+ </label>
1007
+ </div>
1008
+ </div>
1009
+ </div>
1010
+ </div>
1011
  </div>
1012
  <!-- advance setting fields: end -->
1013
 
views/admin/contact-form-feed.php CHANGED
@@ -2,7 +2,113 @@
2
  <?php
3
  global $wpdb;
4
  $table_name = $wpdb->prefix . 'chaty_contact_form_leads';
5
- $result = $wpdb->get_results ( "SELECT * FROM ".$table_name ." ORDER BY ID DESC" );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6
  ?>
7
  <style>
8
  #wpwrap {
@@ -10,51 +116,71 @@ $result = $wpdb->get_results ( "SELECT * FROM ".$table_name ." ORDER BY ID DESC"
10
  }
11
  </style>
12
  <div class="wrap">
13
- <?php
14
- $result = $wpdb->get_results ( "SELECT * FROM ".$table_name ." ORDER BY ID DESC" );
15
- if($result){
16
- ?>
17
  <div class="">
18
  <table id="mystickyelement_contact_tab">
19
  <tbody>
20
- <tr>
21
- <td><strong>Download &amp; Export All Subscriber to CSV file: </strong></td>
22
- <td><a href="<?php echo admin_url("?download_chaty_file=chaty_contact_leads&nonce=".wp_create_nonce("download_chaty_contact_leads")) ?>" class="wpappp_buton" id="wpappp_export_to_csv" value="Export to CSV">Download &amp; Export to CSV</a></td>
23
- <td><strong>Delete All Subscribers from Database: </strong></td>
24
- <td><input type="button" class="wpappp_buton" id="chaty_delete_all_leads" value="Delete All Data"></td>
25
- </tr>
26
  </tbody>
27
  </table>
28
  </div>
29
- <?php
30
- }
31
- ?>
32
  <div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
33
  <form action="" method="post">
34
- <?php if($result){ ?>
35
- <div class="tablenav top">
36
- <div class="alignleft actions bulkactions">
37
- <select name="action" id="bulk-action-selector-top">
38
- <option value="">Bulk Actions</option>
39
- <option value="delete_message">Delete</option>
40
- </select>
41
- <input type="submit" id="doaction" class="button action" value="Apply">
 
42
  </div>
43
- </div>
44
- <h2>Contact Form Leads</h2>
45
- <style>
46
- body {
47
- background: #ffffff;
48
- }
49
- #wpwrap {
50
- position: inherit;
51
- }
52
- </style>
53
- <?php } ?>
54
- <?php
55
- $result = $wpdb->get_results ( "SELECT * FROM ".$table_name ." ORDER BY ID DESC" );
56
- if($result){
57
- ?>
58
  <table border="0" class="responstable">
59
  <tr>
60
  <th style="width:1%"><?php esc_html_e( 'Bulk', 'chaty' );?></th>
@@ -68,17 +194,17 @@ $result = $wpdb->get_results ( "SELECT * FROM ".$table_name ." ORDER BY ID DESC"
68
  <th class="text-center"><?php esc_html_e( 'URL', 'chaty');?></th>
69
  <th class="text-center"><?php esc_html_e( 'Delete', 'chaty');?></th>
70
  </tr>
71
- <?php
72
- foreach( $result as $res ) {
73
- if($res->widget_id == 0) {
74
- $widget_name = "Default";
75
- } else {
76
- $widget_name = get_option("cht_widget_title_".$res->widget_id);
77
- if(empty($widget_name)) {
78
- $widget_name = "Widget #".($res->widget_id+1);
79
- }
80
- }
81
- ?>
82
  <tr data-id="<?php echo $res->id ?>">
83
  <td><input type="checkbox" value="<?php echo $res->id ?>" name="chaty_leads[]"></td>
84
  <td><?php echo $res->id ?></td>
@@ -91,21 +217,53 @@ $result = $wpdb->get_results ( "SELECT * FROM ".$table_name ." ORDER BY ID DESC"
91
  <td class="text-center"><a class="url" target="_blank" href="<?php echo $res->ref_page ?>"><span class="dashicons dashicons-external"></span></a></td>
92
  <td class="text-center"><a class="remove-record" href="#"><span class="dashicons dashicons-trash"></span></a></td>
93
  </tr>
94
- <?php } ?>
95
  </table>
96
- <?php } else { ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
97
  <div class="chaty-new-widget-wrap">
98
  <h2 class="no-records-title">Contact Form Leads</h2>
99
  <div class="chaty-new-widget-row no-records">Your contact form leads will appear here once you get some leads. Please make sure you've added the contact form channel to your Chaty channels in order to collect leads</div>
100
  </div>
101
- <?php } ?>
102
  <input type="hidden" name="remove_chaty_leads" value="<?php echo wp_create_nonce("remove_chaty_leads") ?>">
 
 
103
  </form>
104
  </div>
105
  </div>
106
  <script>
107
  jQuery(document).ready(function(){
108
- var selectedURL = '<?php echo admin_url("admin.php?page=chaty-contact-form-feed&remove_chaty_leads=".wp_create_nonce("remove_chaty_leads")."&action=delete_message&chaty_leads=") ?>';
109
  jQuery(document).on("click", ".remove-record", function(e){
110
  e.preventDefault();
111
  var redirectRemoveURL = selectedURL+jQuery(this).closest("tr").data("id");
@@ -119,5 +277,54 @@ $result = $wpdb->get_results ( "SELECT * FROM ".$table_name ." ORDER BY ID DESC"
119
  window.location = redirectRemoveURL;
120
  }
121
  });
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
122
  });
123
  </script>
2
  <?php
3
  global $wpdb;
4
  $table_name = $wpdb->prefix . 'chaty_contact_form_leads';
5
+
6
+ $current = isset($_GET['paged'])&&!empty($_GET['paged'])&&is_numeric($_GET['paged'])&&$_GET['paged']>0?$_GET['paged']:1;
7
+ $current = intval($current);
8
+
9
+ $search_for = "all_time";
10
+ $search_list = array(
11
+ 'today' => 'Today',
12
+ 'yesterday' => 'Yesterday',
13
+ 'last_7_days' => 'Last 7 Days',
14
+ 'last_30_days' => 'Last 30 Days',
15
+ 'this_week' => 'This Week',
16
+ 'this_month' => 'This Month',
17
+ 'all_time' => 'All Time',
18
+ 'custom' => 'Custom Date'
19
+ );
20
+
21
+ if(isset($_GET['search_for']) && !empty($_GET['search_for']) && isset($search_list[$_GET['search_for']])) {
22
+ $search_for = $_GET['search_for'];
23
+ }
24
+ $start_date = "";
25
+ $end_date = "";
26
+ if($search_for == "today") {
27
+ $start_date = date("Y-m-d");
28
+ $end_date = date("Y-m-d");
29
+ } else if($search_for == "yesterday") {
30
+ $start_date = date("Y-m-d", strtotime("-1 days"));
31
+ $end_date = date("Y-m-d", strtotime("-1 days"));
32
+ } else if($search_for == "last_7_days") {
33
+ $start_date = date("Y-m-d", strtotime("-7 days"));
34
+ $end_date = date("Y-m-d");
35
+ } else if($search_for == "last_30_days") {
36
+ $start_date = date("Y-m-d", strtotime("-30 days"));
37
+ $end_date = date("Y-m-d");
38
+ } else if($search_for == "this_week") {
39
+ $start_date = date("Y-m-d", strtotime('monday this week'));
40
+ $end_date = date("Y-m-d");
41
+ } else if($search_for == "this_month") {
42
+ $start_date = date("Y-m-01");
43
+ $end_date = date("Y-m-d");
44
+ } else if($search_for == "custom") {
45
+ if(isset($_GET['start_date']) && !empty($_GET['start_date'])) {
46
+ $start_date = $_GET['start_date'];
47
+ }
48
+ if(isset($_GET['end_date']) && !empty($_GET['end_date'])) {
49
+ $end_date = $_GET['end_date'];
50
+ }
51
+ } else if($search_for == "all_time") {
52
+ $start_date = "";
53
+ $end_date = "";
54
+ }
55
+
56
+ $hasSearch = isset($_GET['search'])&&!empty($_GET['search'])?$_GET['search']:false;
57
+
58
+ $query = "SELECT count(id) as total_records FROM ".$table_name;
59
+ $search = "";
60
+
61
+ $condition = "";
62
+ $conditionArray = array();
63
+ if($hasSearch !== false) {
64
+ $search = $hasSearch;
65
+ $hasSearch = "%".$hasSearch."%";
66
+ $condition .= " (name LIKE %s OR email LIKE %s OR phone_number LIKE %s OR message LIKE %s)";
67
+ $conditionArray[] = $hasSearch;
68
+ $conditionArray[] = $hasSearch;
69
+ $conditionArray[] = $hasSearch;
70
+ $conditionArray[] = $hasSearch;
71
+ }
72
+
73
+ if(!empty($start_date) && !empty($end_date)) {
74
+ if(!empty($condition)) {
75
+ $condition .= " AND ";
76
+ }
77
+ $c_start_date = date("Y-m-d 00:00:00", strtotime($start_date));
78
+ $c_end_date = date("Y-m-d 23:59:59", strtotime($end_date));
79
+ $condition .= " created_on >= %s AND created_on <= %s";
80
+ $conditionArray[] = $c_start_date;
81
+ $conditionArray[] = $c_end_date;
82
+ }
83
+ if(!empty($condition)) {
84
+ $query .= " WHERE ".$condition;
85
+ }
86
+ $query .= " ORDER BY ID DESC";
87
+
88
+ if(!empty($conditionArray)) {
89
+ $query = $wpdb->prepare($query, $conditionArray);
90
+ }
91
+
92
+ $total_records = $wpdb->get_var($query);
93
+ $per_page = 15;
94
+ $total_pages = ceil($total_records / $per_page);
95
+
96
+ $query = "SELECT * FROM ".$table_name;
97
+ if(!empty($condition)) {
98
+ $query .= " WHERE ".$condition;
99
+ }
100
+
101
+ if($current > $total_pages) {
102
+ $current = 1;
103
+ }
104
+ $start_from = ($current-1)*$per_page;
105
+
106
+ $query .= " ORDER BY ID DESC";
107
+ $query .= " LIMIT $start_from, $per_page";
108
+
109
+ if(!empty($conditionArray)) {
110
+ $query = $wpdb->prepare($query, $conditionArray);
111
+ }
112
  ?>
113
  <style>
114
  #wpwrap {
116
  }
117
  </style>
118
  <div class="wrap">
119
+ <?php
120
+ $result = $wpdb->get_results ($query);
121
+ if($result){
122
+ ?>
123
  <div class="">
124
  <table id="mystickyelement_contact_tab">
125
  <tbody>
126
+ <tr>
127
+ <td><strong>Download &amp; Export All Subscriber to CSV file: </strong></td>
128
+ <td><a href="<?php echo admin_url("?download_chaty_file=chaty_contact_leads&nonce=".wp_create_nonce("download_chaty_contact_leads")) ?>" class="wpappp_buton" id="wpappp_export_to_csv" value="Export to CSV">Download &amp; Export to CSV</a></td>
129
+ <td><strong>Delete All Subscribers from Database: </strong></td>
130
+ <td><input type="button" class="wpappp_buton" id="chaty_delete_all_leads" value="Delete All Data"></td>
131
+ </tr>
132
  </tbody>
133
  </table>
134
  </div>
135
+ <?php
136
+ }
137
+ ?>
138
  <div>
139
+
140
+ <h2>Contact Form Leads
141
+ <?php if($result || !empty($search) || $search_for != 'all_time'){ ?>
142
+ <div class="lead-search-box">
143
+ <form action="<?php echo admin_url("admin.php") ?>" method="get">
144
+ <label class="screen-reader-text" for="post-search-input">Search:</label>
145
+ <select class="search-input" name="search_for" style="" id="date-range">
146
+ <?php foreach($search_list as $key=>$value) { ?>
147
+ <option <?php selected($key, $search_for) ?> value="<?php echo $key ?>"><?php echo $value ?></option>
148
+ <?php } ?>
149
+ </select>
150
+ <input type="search" class="search-input" name="search" value="<?php echo esc_attr($search) ?>" class="">
151
+ <input type="submit" id="search-submit" class="button" value="Search">
152
+ <input type="hidden" name="page" value="chaty-contact-form-feed" />
153
+ <div class="date-range <?php echo ($search_for == "custom"?"active":"") ?>">
154
+ <input type="search" class="search-input" name="start_date" id="start_date" value="<?php echo esc_attr($start_date) ?>" autocomplete="off" placeholder="Start date">
155
+ <input type="search" class="search-input" name="end_date" id="end_date" value="<?php echo esc_attr($end_date) ?>" autocomplete="off" placeholder="End date">
156
+ </div>
157
+ </form>
158
+ </div>
159
+ <?php } ?>
160
+ </h2>
161
  <form action="" method="post">
162
+ <?php if($result){ ?>
163
+ <div class="tablenav top">
164
+ <div class="alignleft actions bulkactions">
165
+ <select name="action" id="bulk-action-selector-top">
166
+ <option value="">Bulk Actions</option>
167
+ <option value="delete_message">Delete</option>
168
+ </select>
169
+ <input type="submit" id="doaction" class="button action" value="Apply">
170
+ </div>
171
  </div>
172
+ <style>
173
+ body {
174
+ background: #ffffff;
175
+ }
176
+ #wpwrap {
177
+ position: inherit;
178
+ }
179
+ </style>
180
+ <?php } ?>
181
+ <?php
182
+ if($result){
183
+ ?>
 
 
 
184
  <table border="0" class="responstable">
185
  <tr>
186
  <th style="width:1%"><?php esc_html_e( 'Bulk', 'chaty' );?></th>
194
  <th class="text-center"><?php esc_html_e( 'URL', 'chaty');?></th>
195
  <th class="text-center"><?php esc_html_e( 'Delete', 'chaty');?></th>
196
  </tr>
197
+ <?php
198
+ foreach( $result as $res ) {
199
+ if($res->widget_id == 0) {
200
+ $widget_name = "Default";
201
+ } else {
202
+ $widget_name = get_option("cht_widget_title_".$res->widget_id);
203
+ if(empty($widget_name)) {
204
+ $widget_name = "Widget #".($res->widget_id+1);
205
+ }
206
+ }
207
+ ?>
208
  <tr data-id="<?php echo $res->id ?>">
209
  <td><input type="checkbox" value="<?php echo $res->id ?>" name="chaty_leads[]"></td>
210
  <td><?php echo $res->id ?></td>
217
  <td class="text-center"><a class="url" target="_blank" href="<?php echo $res->ref_page ?>"><span class="dashicons dashicons-external"></span></a></td>
218
  <td class="text-center"><a class="remove-record" href="#"><span class="dashicons dashicons-trash"></span></a></td>
219
  </tr>
220
+ <?php } ?>
221
  </table>
222
+ <?php
223
+ if($total_pages > 1) {
224
+ $baseURL = admin_url("admin.php?paged=%#%&page=chaty-contact-form-feed");
225
+ if(!empty($search)) {
226
+ $baseURL .= "&search=".$search;
227
+ }
228
+ echo '<div class="custom-pagination">';
229
+ echo paginate_links(array(
230
+ 'base' => $baseURL,
231
+ 'total' => $total_pages,
232
+ 'current' => $current,
233
+ 'format' => '?paged=%#%',
234
+ 'show_all' => false,
235
+ 'type' => 'list',
236
+ 'end_size' => 3,
237
+ 'mid_size' => 1,
238
+ 'prev_next' => true,
239
+ 'prev_text' => sprintf('%1$s', '<span class="dashicons dashicons-arrow-left-alt2"></span>'),
240
+ 'next_text' => sprintf('%1$s', '<span class="dashicons dashicons-arrow-right-alt2"></span>'),
241
+ 'add_args' => false,
242
+ 'add_fragment' => '',
243
+ ));
244
+ echo "</div>";
245
+ }
246
+ ?>
247
+ <?php } else if(!empty($search) || $search_for != "all_time") { ?>
248
+ <div class="chaty-new-widget-wrap">
249
+ <h2 class="no-records-title">Contact Form Leads</h2>
250
+ <div class="chaty-new-widget-row no-records">No records are found</div>
251
+ </div>
252
+ <?php } else { ?>
253
  <div class="chaty-new-widget-wrap">
254
  <h2 class="no-records-title">Contact Form Leads</h2>
255
  <div class="chaty-new-widget-row no-records">Your contact form leads will appear here once you get some leads. Please make sure you've added the contact form channel to your Chaty channels in order to collect leads</div>
256
  </div>
257
+ <?php } ?>
258
  <input type="hidden" name="remove_chaty_leads" value="<?php echo wp_create_nonce("remove_chaty_leads") ?>">
259
+ <input type="hidden" name="paged" value="<?php echo esc_attr($current) ?>">
260
+ <input type="hidden" name="search" value="<?php echo esc_attr($search) ?>">
261
  </form>
262
  </div>
263
  </div>
264
  <script>
265
  jQuery(document).ready(function(){
266
+ var selectedURL = '<?php echo admin_url("admin.php?page=chaty-contact-form-feed&remove_chaty_leads=".wp_create_nonce("remove_chaty_leads")."&action=delete_message&paged={$current}&search={$search}&chaty_leads=") ?>';
267
  jQuery(document).on("click", ".remove-record", function(e){
268
  e.preventDefault();
269
  var redirectRemoveURL = selectedURL+jQuery(this).closest("tr").data("id");
277
  window.location = redirectRemoveURL;
278
  }
279
  });
280
+ jQuery("#date-range").on("change", function(){
281
+ if(jQuery(this).val() == "custom") {
282
+ jQuery(".date-range").addClass("active");
283
+ } else {
284
+ jQuery(".date-range").removeClass("active");
285
+ }
286
+ });
287
+ if(jQuery("#start_date").length) {
288
+ jQuery("#start_date").datepicker({
289
+ dateFormat: 'yy-mm-dd',
290
+ altFormat: 'yy-mm-dd',
291
+ maxDate: 0,
292
+ onSelect: function(d,i){
293
+ var minDate = jQuery("#start_date").datepicker('getDate');
294
+ minDate.setDate(minDate.getDate()); //add two days
295
+ jQuery("#end_date").datepicker("option", "minDate", minDate);
296
+ if(jQuery("#end_date").val() <= jQuery("#start_date").val()) {
297
+ jQuery("#end_date").val(jQuery("#start_date").val());
298
+ }
299
+
300
+ if(jQuery("#end_date").val() == "") {
301
+ jQuery("#end_date").val(jQuery("#start_date").val());
302
+ }
303
+ }
304
+ });
305
+ }
306
+ if(jQuery("#end_date").length) {
307
+ jQuery("#end_date").datepicker({
308
+ dateFormat: 'yy-mm-dd',
309
+ altFormat: 'yy-mm-dd',
310
+ maxDate: 0,
311
+ minDate: 0,
312
+ onSelect: function(d,i){
313
+ if(jQuery("#start_date").val() == "") {
314
+ jQuery("#start_date").val(jQuery("#end_date").val());
315
+ }
316
+ }
317
+ });
318
+ }
319
+ // if(jQuery("#start_date").length) {
320
+ // if(jQuery("#start_date").val() != "") {
321
+ // var minDate = jQuery("#start_date").datepicker('getDate');
322
+ // minDate.setDate(minDate.getDate()); //add two days
323
+ // jQuery("#end_date").datepicker("option", "minDate", minDate);
324
+ // if(jQuery("#end_date").val() <= jQuery("#start_date").val()) {
325
+ // jQuery("#end_date").val(jQuery("#start_date").val());
326
+ // }
327
+ // }
328
+ // }
329
  });
330
  </script>
views/admin/update.php CHANGED
@@ -1,33 +1,157 @@
1
  <?php if (!defined('ABSPATH')) { exit; } ?>
2
  <style>
3
  body {
4
- background: #f1f1f1 !important;
5
  }
6
  </style>
7
- <div class="updates-form-form" >
8
- <div class="popup-form-content">
9
- <div id="add-update-folder-title" class="add-update-folder-title">
10
- Would you like to get feature updates for Chaty in real-time?
11
- </div>
12
- <div class="folder-form-input">
13
- <input id="chaty_update_email" autocomplete="off" value="<?php echo get_option( 'admin_email' ) ?>" placeholder="Email address">
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
14
  </div>
15
- <div class="updates-content-buttons">
16
- <button href="javascript:;" class="button button-primary form-submit-btn yes">Yes, I want</button>
17
- <button href="javascript:;" class="button button-secondary form-cancel-btn no">Skip</button>
18
- <div style="clear: both"></div>
19
  </div>
20
  <input type="hidden" id="chaty_update_status" value="<?php echo wp_create_nonce("chaty_update_status") ?>">
21
  </div>
22
  </div>
23
  <script>
24
  jQuery(document).ready(function($) {
25
- $(document).on("click", ".updates-content-buttons button", function () {
26
  var updateStatus = 0;
27
  if ($(this).hasClass("yes")) {
28
  updateStatus = 1;
29
  }
30
- $(".updates-content-buttons button").attr("disabled", true);
31
  $.ajax({
32
  url: ajaxurl,
33
  data: "action=chaty_update_status&status=" + updateStatus + "&nonce=" + $("#chaty_update_status").val() + "&email=" + $("#chaty_update_email").val(),
1
  <?php if (!defined('ABSPATH')) { exit; } ?>
2
  <style>
3
  body {
4
+ background: #ffffff !important;
5
  }
6
  </style>
7
+ <div class="chaty-updates-form">
8
+ <div class="updates-form-form-left">
9
+ <svg width="261" height="243" viewBox="0 0 261 243" fill="none" xmlns="http://www.w3.org/2000/svg">
10
+ <path d="M10.6418 144.346C10.6418 144.346 10.4222 143.702 10.0669 142.505" stroke="#69F0AE" stroke-width="9" stroke-miterlimit="10"/>
11
+ <path opacity="0.6" d="M9.02692 138.772C1.17536 108.652 -23.303 -30.1614 222.082 56.4967" stroke="#3C85F7" stroke-width="9" stroke-miterlimit="10" stroke-dasharray="12.04 12.04"/>
12
+ <path d="M223.919 57.1403L225.744 57.7839" stroke="#69F0AE" stroke-width="9" stroke-miterlimit="10"/>
13
+ <path d="M195.688 164.197C195.69 157.688 193.254 151.414 188.857 146.6C184.46 141.787 178.418 138.782 171.915 138.173C165.411 137.563 158.913 139.394 153.693 143.306C148.472 147.218 144.905 152.93 143.689 159.325L63.0771 157.146L63.9621 170.945C63.9621 170.945 52.4674 197.37 112.88 204.411V231.12H182.721V186.712C186.665 184.412 189.936 181.123 192.211 177.174C194.486 173.224 195.684 168.75 195.688 164.197Z" fill="url(#paint0_linear)"/>
14
+ <path d="M66.7297 171.524C66.7297 171.524 55.7227 196.83 113.577 203.581V229.169H180.463V161.4L65.8706 158.308L66.7297 171.524Z" fill="#F6B9AD"/>
15
+ <path d="M100.158 65.922C98.4136 68.6639 95.6514 70.6067 92.4743 71.326C89.2972 72.0453 85.9635 71.4827 83.2014 69.7609L47.2896 46.1834C44.5376 44.4457 42.5876 41.6936 41.8657 38.5282C41.1437 35.3627 41.7085 32.0413 43.4365 29.2894C45.1804 26.551 47.9403 24.6107 51.1143 23.8915C54.2883 23.1724 57.6189 23.7327 60.3799 25.4504L96.2916 49.028C99.0458 50.7635 100.998 53.5147 101.723 56.6803C102.447 59.8459 101.885 63.1685 100.158 65.922Z" fill="url(#paint1_linear)"/>
16
+ <path d="M98.1685 64.6316C96.5474 67.1803 93.9798 68.9862 91.0267 69.6548C88.0735 70.3235 84.9747 69.8005 82.4073 68.2002L49.0148 46.2831C46.4567 44.668 44.6441 42.1098 43.973 39.1675C43.3019 36.2251 43.8268 33.1378 45.433 30.5797C47.0541 28.0311 49.6216 26.2252 52.5748 25.5565C55.528 24.8879 58.6267 25.4108 61.1942 27.0111L94.5803 48.9314C97.1385 50.5455 98.9518 53.1026 99.6241 56.0442C100.296 58.9859 99.7731 62.0731 98.1685 64.6316Z" fill="#F6B9AD"/>
17
+ <path d="M167.763 190.085C181.635 190.085 192.881 178.88 192.881 165.059C192.881 151.238 181.635 140.034 167.763 140.034C153.891 140.034 142.645 151.238 142.645 165.059C142.645 178.88 153.891 190.085 167.763 190.085Z" fill="#F6B9AD"/>
18
+ <path d="M163.242 0H67.0204C64.8353 0 63.064 1.76486 63.064 3.94193V183.327C63.064 185.504 64.8353 187.269 67.0204 187.269H163.242C165.427 187.269 167.198 185.504 167.198 183.327V3.94193C167.198 1.76486 165.427 0 163.242 0Z" fill="url(#paint2_linear)"/>
19
+ <path d="M161.384 2.53249H68.8776C66.4445 2.53249 64.4722 4.49761 64.4722 6.92171V180.354C64.4722 182.778 66.4445 184.743 68.8776 184.743H161.384C163.817 184.743 165.79 182.778 165.79 180.354V6.92171C165.79 4.49761 163.817 2.53249 161.384 2.53249Z" fill="white"/>
20
+ <path opacity="0.9" d="M140.584 7.0987C140.291 9.03104 139.314 10.7951 137.829 12.0717C136.344 13.3484 134.449 14.0533 132.487 14.059H97.4962C95.5353 14.0525 93.6414 13.3472 92.1569 12.0707C90.6725 10.7941 89.6954 9.0305 89.4024 7.0987H70.8635C70.3581 7.09827 69.8576 7.19709 69.3905 7.38951C68.9234 7.58192 68.499 7.86415 68.1415 8.22008C67.7839 8.576 67.5003 8.99864 67.3068 9.46383C67.1133 9.92902 67.0137 10.4277 67.0137 10.9312V176.331C67.0132 176.835 67.1124 177.334 67.3056 177.799C67.4987 178.264 67.7819 178.687 68.1392 179.044C68.4964 179.4 68.9206 179.682 69.3875 179.875C69.8544 180.068 70.3549 180.167 70.8603 180.167H159.401C159.906 180.168 160.407 180.069 160.874 179.876C161.341 179.684 161.766 179.402 162.123 179.046C162.481 178.69 162.764 178.267 162.958 177.802C163.151 177.337 163.251 176.838 163.251 176.335V10.9344C163.251 10.4309 163.152 9.93216 162.959 9.4668C162.766 9.00145 162.483 8.57858 162.125 8.22235C161.768 7.86613 161.344 7.58354 160.877 7.39074C160.41 7.19793 159.91 7.0987 159.404 7.0987H140.584Z" fill="#3C85F7"/>
21
+ <path d="M125.919 9.28044H104.631C104.275 9.28044 103.985 9.56858 103.985 9.92402V10.0431C103.985 10.3985 104.275 10.6867 104.631 10.6867H125.919C126.275 10.6867 126.565 10.3985 126.565 10.0431V9.92402C126.565 9.56858 126.275 9.28044 125.919 9.28044Z" fill="#DBDBDB"/>
22
+ <path d="M131.36 10.6867C131.828 10.6867 132.207 10.3092 132.207 9.84356C132.207 9.37794 131.828 9.00047 131.36 9.00047C130.893 9.00047 130.514 9.37794 130.514 9.84356C130.514 10.3092 130.893 10.6867 131.36 10.6867Z" fill="#DBDBDB"/>
23
+ <path d="M184.002 169.471C176.713 171.151 171.71 166.414 170.024 159.154L153.275 97.1903C152.474 93.6895 153.096 90.0153 155.005 86.9699C156.915 83.9246 159.956 81.7557 163.464 80.9367C166.978 80.1391 170.666 80.7591 173.722 82.6612C176.779 84.5634 178.956 87.5933 179.778 91.0892L193.446 154.643C195.132 161.915 191.289 167.791 184.002 169.471Z" fill="url(#paint3_linear)"/>
24
+ <path d="M177.898 92.6093C176.477 86.4812 170.339 82.6613 164.188 84.0772C158.038 85.4931 154.204 91.6086 155.625 97.7367L171.027 164.152C172.448 170.28 178.586 174.1 184.737 172.684C190.887 171.268 194.721 165.152 193.3 159.024L177.898 92.6093Z" fill="#F6B9AD"/>
25
+ <path d="M192.778 220.796H97.1768V243H192.778V220.796Z" fill="url(#paint4_linear)"/>
26
+ <path d="M190.194 223.371H99.7607V240.747H190.194V223.371Z" fill="#FF8976"/>
27
+ <path d="M136.46 58.6881L129.051 53.1308L132.281 48.9475L126.891 44.7321L123.522 48.9862L115.903 43.2744C115.613 43.0574 115.26 42.9401 114.897 42.9401C114.534 42.9401 114.181 43.0574 113.891 43.2744L93.695 58.2537C92.9296 58.8973 92.2126 59.6342 92.2061 61.3204H92.1835L92.1318 84.3992V85.4257C92.131 85.7562 92.1955 86.0835 92.3216 86.3892C92.4478 86.6948 92.6331 86.9727 92.867 87.207C93.101 87.4412 93.3789 87.6273 93.685 87.7545C93.9911 87.8818 94.3194 87.9477 94.6511 87.9485H95.6458L114.795 87.9904L134.942 88.0354C135.274 88.0363 135.603 87.972 135.909 87.8463C136.216 87.7207 136.495 87.536 136.73 87.3029C136.965 87.0699 137.152 86.7929 137.28 86.488C137.407 86.183 137.474 85.8559 137.474 85.5255L137.529 61.462H137.571C137.571 59.7726 137.226 59.3317 136.46 58.6881Z" fill="url(#paint5_linear)"/>
28
+ <path d="M135.582 61.8127C135.582 60.2746 135.259 59.882 134.568 59.2867L115.812 45.2341C115.547 45.0359 115.225 44.9288 114.893 44.9288C114.562 44.9288 114.24 45.0359 113.975 45.2341L95.5488 58.9037C95.1056 59.2192 94.749 59.6406 94.512 60.1293C94.275 60.6179 94.1651 61.1581 94.1923 61.7001H94.173L94.1245 82.7581V83.6945C94.1237 84.3033 94.3653 84.8875 94.7965 85.3189C95.2277 85.7503 95.8131 85.9936 96.4241 85.9953H97.3317L114.805 86.0339L133.185 86.0757C133.796 86.0766 134.383 85.8358 134.816 85.4062C135.249 84.9766 135.493 84.3934 135.495 83.7846L135.543 61.8288L135.582 61.8127Z" fill="url(#paint6_linear)"/>
29
+ <path d="M94.5117 61.7844L135.152 61.8763L135.101 84.1538C135.101 84.3304 135.065 84.5052 134.997 84.6683C134.929 84.8313 134.829 84.9794 134.703 85.104C134.578 85.2286 134.429 85.3274 134.265 85.3946C134.101 85.4618 133.925 85.4962 133.748 85.4958L95.9598 85.4104C95.5649 85.4095 95.1865 85.2523 94.9079 84.9735C94.6293 84.6947 94.4733 84.317 94.4742 83.9236L94.5246 61.7844L94.5117 61.7844Z" fill="#6C63FF"/>
30
+ <path opacity="0.2" d="M94.5117 61.7844L135.152 61.8763L135.101 84.1538C135.101 84.3304 135.065 84.5052 134.997 84.6683C134.929 84.8313 134.829 84.9794 134.703 85.104C134.578 85.2286 134.429 85.3274 134.265 85.3946C134.101 85.4618 133.925 85.4962 133.748 85.4958L95.9598 85.4104C95.5649 85.4095 95.1865 85.2523 94.9079 84.9735C94.6293 84.6947 94.4733 84.317 94.4742 83.9236L94.5246 61.7844L94.5117 61.7844Z" fill="white"/>
31
+ <path d="M94.5154 61.7773L94.4702 82.24C94.4694 82.6528 94.5502 83.0618 94.7079 83.4436C94.8657 83.8253 95.0975 84.1724 95.3899 84.4649C95.6823 84.7575 96.0297 84.9897 96.4122 85.1485C96.7947 85.3073 97.2049 85.3894 97.6192 85.3903L131.948 85.4675" fill="#F5F5F5"/>
32
+ <path d="M135.158 61.8674L135.113 82.3429C135.112 82.7558 135.03 83.1645 134.871 83.5456C134.711 83.9267 134.478 84.2728 134.184 84.5641C133.891 84.8555 133.542 85.0863 133.159 85.2435C132.776 85.4008 132.366 85.4813 131.951 85.4804L97.6221 85.4032" fill="white"/>
33
+ <path d="M113.972 45.7682L95.885 59.0582C95.4505 59.3626 95.1004 59.7715 94.8672 60.2469C94.634 60.7223 94.5252 61.2488 94.5511 61.7773L135.211 61.906C135.211 60.4097 134.888 60.0171 134.216 59.4508L115.79 45.7747C115.528 45.5777 115.21 45.4705 114.882 45.4694C114.554 45.4682 114.235 45.5731 113.972 45.7682Z" fill="#6C63FF"/>
34
+ <path opacity="0.2" d="M113.972 45.7682L95.885 59.0582C95.4505 59.3626 95.1004 59.7715 94.8672 60.2469C94.634 60.7223 94.5252 61.2488 94.5511 61.7773L135.211 61.906C135.211 60.4097 134.888 60.0171 134.216 59.4508L115.79 45.7747C115.528 45.5777 115.21 45.4705 114.882 45.4694C114.554 45.4682 114.235 45.5731 113.972 45.7682Z" fill="black"/>
35
+ <path d="M130.757 50.3924L125.838 46.5502L113.949 61.5521L107.561 56.6158L103.559 61.684L112.858 68.7602L115.164 70.604L130.757 50.3924Z" fill="url(#paint7_linear)"/>
36
+ <path d="M130.395 50.299L125.938 46.8945L114.126 62.2407L107.567 57.2304L104.146 61.6711L112.935 68.3772L115.189 70.0602L130.395 50.299Z" fill="white"/>
37
+ <path d="M92.4451 99.6939C90.7137 102.415 87.972 104.343 84.8186 105.057C81.6652 105.771 78.3563 105.213 75.6148 103.504L45.0935 83.7041C42.3622 81.9791 40.427 79.2474 39.7105 76.1056C38.994 72.9638 39.5545 69.6671 41.2694 66.9356C43.0008 64.2144 45.7426 62.2863 48.896 61.5724C52.0494 60.8586 55.3582 61.417 58.0998 63.1256L88.621 82.9254C91.3523 84.6504 93.2875 87.3821 94.004 90.5239C94.7205 93.6657 94.16 96.9624 92.4451 99.6939Z" fill="url(#paint8_linear)"/>
38
+ <path d="M90.8236 98.6513C89.2025 101.2 86.6349 103.006 83.6817 103.675C80.7285 104.343 77.6298 103.82 75.0623 102.22L46.4757 83.6752C43.9176 82.06 42.1051 79.5019 41.434 76.5595C40.7628 73.6172 41.2877 70.5298 42.8939 67.9718C44.515 65.4231 47.0826 63.6172 50.0358 62.9486C52.9889 62.2799 56.0877 62.8028 58.6551 64.4031L87.2418 82.9479C89.7998 84.5631 91.6124 87.1212 92.2835 90.0635C92.9546 93.0059 92.4298 96.0933 90.8236 98.6513Z" fill="#F6B9AD"/>
39
+ <path d="M86.218 132.394C84.4951 135.104 81.7661 137.023 78.6271 137.734C75.488 138.445 72.1942 137.889 69.4652 136.188L45.3776 120.662C42.6583 118.945 40.7314 116.226 40.0179 113.099C39.3044 109.971 39.8623 106.689 41.5697 103.97C43.2925 101.261 46.0216 99.3413 49.1606 98.6305C52.2996 97.9196 55.5935 98.4754 58.3225 100.177L82.4068 115.706C85.1258 117.422 87.0527 120.14 87.7668 123.267C88.4809 126.394 87.924 129.675 86.218 132.394Z" fill="url(#paint9_linear)"/>
40
+ <path d="M80.1721 165.262C78.434 167.996 75.6803 169.934 72.5127 170.651C69.3452 171.369 66.0214 170.808 63.2676 169.091L48.3493 158.247C45.6051 156.515 43.6604 153.771 42.9402 150.616C42.2201 147.46 42.7829 144.148 44.5059 141.404C46.2461 138.672 49.0007 136.737 52.1681 136.022C55.3355 135.307 58.6582 135.87 61.4105 137.588L76.3287 148.429C79.0703 150.161 81.0131 152.902 81.7331 156.056C82.4532 159.21 81.892 162.519 80.1721 165.262Z" fill="url(#paint10_linear)"/>
41
+ <path d="M78.9674 164.454C77.3463 167.003 74.7787 168.809 71.8255 169.477C68.8723 170.146 65.7736 169.623 63.2061 168.023L49.2955 157.912C46.7375 156.297 44.9249 153.739 44.2538 150.797C43.5827 147.854 44.1075 144.767 45.7137 142.209C47.3348 139.66 49.9024 137.854 52.8556 137.186C55.8088 136.517 58.9075 137.04 61.475 138.64L75.3856 148.751C77.9436 150.366 79.7562 152.924 80.4273 155.866C81.0984 158.809 80.5736 161.896 78.9674 164.454Z" fill="#F6B9AD"/>
42
+ <path d="M148.074 104.122H82.187V123.751H148.074V104.122Z" fill="url(#paint11_linear)"/>
43
+ <path d="M145.814 106.052H84.4482V120.211H145.814V106.052Z" fill="#69F0AE"/>
44
+ <path d="M259.84 69.0305L261 69.2107L260.819 69.0401H260.916L260.764 68.9886L239.741 49.1245L234.638 57.1468L230.395 64.4643L232.361 64.77L231.489 68.7344L259.84 69.0305Z" fill="url(#paint12_linear)"/>
45
+ <path d="M235.52 57.5651L231.645 64.2615L260.066 68.8728L241.76 56.1717L235.52 57.5651Z" fill="#6C63FF"/>
46
+ <path opacity="0.2" d="M235.52 57.5651L231.645 64.2615L260.066 68.8728L241.76 56.1717L235.52 57.5651Z" fill="black"/>
47
+ <path d="M240.188 50.2283L260.067 68.8728L235.521 57.5651L240.188 50.2283Z" fill="#6C63FF"/>
48
+ <path d="M232.691 68.197L259.989 68.7151L234.506 59.6985L232.691 68.197Z" fill="#6C63FF"/>
49
+ <path d="M84.8936 131.554C83.2725 134.103 80.7049 135.909 77.7517 136.578C74.7985 137.246 71.6998 136.723 69.1323 135.123L46.4723 120.514C43.9142 118.899 42.1017 116.34 41.4305 113.398C40.7594 110.456 41.2843 107.368 42.8905 104.81C44.509 102.259 47.0754 100.45 50.0288 99.7781C52.9822 99.1063 56.0823 99.6268 58.6517 101.226L81.3118 115.835C83.8743 117.45 85.69 120.011 86.3613 122.958C87.0326 125.904 86.5049 128.995 84.8936 131.554Z" fill="#F6B9AD"/>
50
+ <defs>
51
+ <linearGradient id="paint0_linear" x1="129.387" y1="231.132" x2="129.387" y2="138.061" gradientUnits="userSpaceOnUse">
52
+ <stop stop-color="#808080" stop-opacity="0.25"/>
53
+ <stop offset="0.54" stop-color="#808080" stop-opacity="0.12"/>
54
+ <stop offset="1" stop-color="#808080" stop-opacity="0.1"/>
55
+ </linearGradient>
56
+ <linearGradient id="paint1_linear" x1="24916.3" y1="14199" x2="24916.3" y2="7023.87" gradientUnits="userSpaceOnUse">
57
+ <stop stop-color="#808080" stop-opacity="0.25"/>
58
+ <stop offset="0.54" stop-color="#808080" stop-opacity="0.12"/>
59
+ <stop offset="1" stop-color="#808080" stop-opacity="0.1"/>
60
+ </linearGradient>
61
+ <linearGradient id="paint2_linear" x1="56806.2" y1="122524" x2="56806.2" y2="13540.6" gradientUnits="userSpaceOnUse">
62
+ <stop stop-color="#808080" stop-opacity="0.25"/>
63
+ <stop offset="0.54" stop-color="#808080" stop-opacity="0.12"/>
64
+ <stop offset="1" stop-color="#808080" stop-opacity="0.1"/>
65
+ </linearGradient>
66
+ <linearGradient id="paint3_linear" x1="29845.7" y1="53620" x2="29845.7" y2="28883.9" gradientUnits="userSpaceOnUse">
67
+ <stop stop-color="#808080" stop-opacity="0.25"/>
68
+ <stop offset="0.54" stop-color="#808080" stop-opacity="0.12"/>
69
+ <stop offset="1" stop-color="#808080" stop-opacity="0.1"/>
70
+ </linearGradient>
71
+ <linearGradient id="paint4_linear" x1="61020.9" y1="18572.5" x2="61020.9" y2="17040.4" gradientUnits="userSpaceOnUse">
72
+ <stop stop-color="#808080" stop-opacity="0.25"/>
73
+ <stop offset="0.54" stop-color="#808080" stop-opacity="0.12"/>
74
+ <stop offset="1" stop-color="#808080" stop-opacity="0.1"/>
75
+ </linearGradient>
76
+ <linearGradient id="paint5_linear" x1="114.85" y1="88.0322" x2="114.85" y2="42.9365" gradientUnits="userSpaceOnUse">
77
+ <stop stop-opacity="0.12"/>
78
+ <stop offset="0.55" stop-opacity="0.09"/>
79
+ <stop offset="1" stop-opacity="0.02"/>
80
+ </linearGradient>
81
+ <linearGradient id="paint6_linear" x1="22673.8" y1="14029.1" x2="22673.8" y2="8768.08" gradientUnits="userSpaceOnUse">
82
+ <stop stop-color="#808080" stop-opacity="0.25"/>
83
+ <stop offset="0.54" stop-color="#808080" stop-opacity="0.12"/>
84
+ <stop offset="1" stop-color="#808080" stop-opacity="0.1"/>
85
+ </linearGradient>
86
+ <linearGradient id="paint7_linear" x1="15019" y1="7079.44" x2="15023" y2="5279.5" gradientUnits="userSpaceOnUse">
87
+ <stop stop-opacity="0.12"/>
88
+ <stop offset="0.55" stop-opacity="0.09"/>
89
+ <stop offset="1" stop-opacity="0.02"/>
90
+ </linearGradient>
91
+ <linearGradient id="paint8_linear" x1="21783.4" y1="17691.5" x2="21783.4" y2="11649.7" gradientUnits="userSpaceOnUse">
92
+ <stop stop-color="#808080" stop-opacity="0.25"/>
93
+ <stop offset="0.54" stop-color="#808080" stop-opacity="0.12"/>
94
+ <stop offset="1" stop-color="#808080" stop-opacity="0.1"/>
95
+ </linearGradient>
96
+ <linearGradient id="paint9_linear" x1="18747.1" y1="20007.7" x2="18747.1" y2="15107.8" gradientUnits="userSpaceOnUse">
97
+ <stop stop-color="#808080" stop-opacity="0.25"/>
98
+ <stop offset="0.54" stop-color="#808080" stop-opacity="0.12"/>
99
+ <stop offset="1" stop-color="#808080" stop-opacity="0.1"/>
100
+ </linearGradient>
101
+ <linearGradient id="paint10_linear" x1="15098.2" y1="21407.6" x2="15098.2" y2="17548.1" gradientUnits="userSpaceOnUse">
102
+ <stop stop-color="#808080" stop-opacity="0.25"/>
103
+ <stop offset="0.54" stop-color="#808080" stop-opacity="0.12"/>
104
+ <stop offset="1" stop-color="#808080" stop-opacity="0.1"/>
105
+ </linearGradient>
106
+ <linearGradient id="paint11_linear" x1="22956.9" y1="7652.93" x2="22956.9" y2="6455.55" gradientUnits="userSpaceOnUse">
107
+ <stop stop-opacity="0.12"/>
108
+ <stop offset="0.55" stop-opacity="0.09"/>
109
+ <stop offset="1" stop-opacity="0.02"/>
110
+ </linearGradient>
111
+ <linearGradient id="paint12_linear" x1="21383.9" y1="21299.4" x2="22083.3" y2="20191.7" gradientUnits="userSpaceOnUse">
112
+ <stop stop-color="#808080" stop-opacity="0.25"/>
113
+ <stop offset="0.54" stop-color="#808080" stop-opacity="0.12"/>
114
+ <stop offset="1" stop-color="#808080" stop-opacity="0.1"/>
115
+ </linearGradient>
116
+ </defs>
117
+ </svg>
118
+ </div>
119
+ <div class="updates-form-form-right">
120
+ <div class="update-title">Be first</div>
121
+ <p>Be among the first to know about our latest features & what we're working on. Plus, insider offer & flash sales.</p>
122
+ <div class="updates-form">
123
+ <div class="update-form-input">
124
+ <div class="mail-icon">
125
+ <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
126
+ <mask id="mask0" mask-type="alpha" maskUnits="userSpaceOnUse" x="2" y="4" width="20" height="16">
127
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M22 6C22 4.9 21.1 4 20 4H4C2.9 4 2 4.9 2 6V18C2 19.1 2.9 20 4 20H20C21.1 20 22 19.1 22 18V6ZM20 6L12 11L4 6H20ZM12 13L4 8V18H20V8L12 13Z" fill="white"/>
128
+ </mask>
129
+ <g mask="url(#mask0)">
130
+ <rect width="24" height="24" fill="#94A3B8"/>
131
+ </g>
132
+ </svg>
133
+ </div>
134
+ <input id="chaty_update_email" autocomplete="off" value="<?php echo get_option( 'admin_email' ) ?>" placeholder="Email address">
135
+ <button href="javascript:;" class="form-submit-btn yes">Sign Up</button>
136
+ </div>
137
+ <div class="update-form-skip-button">
138
+ <button href="javascript:;" class="form-cancel-btn no">Skip</button>
139
+ </div>
140
  </div>
141
+ <div class="update-notice">
142
+ You can remove yourself from the list whenever you want, no strings attached 😛
 
 
143
  </div>
144
  <input type="hidden" id="chaty_update_status" value="<?php echo wp_create_nonce("chaty_update_status") ?>">
145
  </div>
146
  </div>
147
  <script>
148
  jQuery(document).ready(function($) {
149
+ $(document).on("click", ".updates-form button", function () {
150
  var updateStatus = 0;
151
  if ($(this).hasClass("yes")) {
152
  updateStatus = 1;
153
  }
154
+ $(".updates-form button").attr("disabled", true);
155
  $.ajax({
156
  url: ajaxurl,
157
  data: "action=chaty_update_status&status=" + updateStatus + "&nonce=" + $("#chaty_update_status").val() + "&email=" + $("#chaty_update_email").val(),
views/admin/upgrade.php CHANGED
@@ -15,7 +15,7 @@ $pro_url = "https://go.premio.io/?edd_action=add_to_cart&download_id=185&edd_opt
15
  <div class="price-table-top">
16
  <div class="price-head">
17
  <div class="plan-name">Basic</div>
18
- <div class="plan-price">$25<span>/year</span></div>
19
  </div>
20
  <div class="price-websites">For small website owners</div>
21
  <div class="price-offer">Renewals for <b>25% off</b></div>
@@ -112,13 +112,14 @@ $pro_url = "https://go.premio.io/?edd_action=add_to_cart&download_id=185&edd_opt
112
  <div class="price-table-bottom">
113
  <div class="custom-dd">
114
  <select class="multiple-options">
115
- <option data-option="1_year" data-header="Renewals for 25% off" data-price="25" value="<?php echo $pro_url ?>1">Updates &amp; support for 1 year</option>
116
- <option data-option="2_year" data-header="For 2 years" data-price="39" value="<?php echo $pro_url ?>13">Updates &amp; support for 2 years</option>
117
- <option data-option="lifetime" data-header="For lifetime" data-price="79" value="<?php echo $pro_url ?>5">Updates &amp; support for lifetime</option>
118
  </select>
119
  </div>
120
- <a class="cart-link" target="_blank" href="<?php echo $pro_url."1" ?>">Buy now</a>
121
  </div>
 
122
  </div>
123
  </div>
124
  <div class="col-md-4 col-sm-12">
@@ -126,7 +127,7 @@ $pro_url = "https://go.premio.io/?edd_action=add_to_cart&download_id=185&edd_opt
126
  <div class="price-table-top">
127
  <div class="price-head">
128
  <div class="plan-name">Plus</div>
129
- <div class="plan-price">$59<span>/year</span></div>
130
  </div>
131
  <div class="price-websites">For businesses with multiple websites</div>
132
  <div class="price-offer">Renewals for <b>25% off</b></div>
@@ -223,13 +224,14 @@ $pro_url = "https://go.premio.io/?edd_action=add_to_cart&download_id=185&edd_opt
223
  <div class="price-table-bottom">
224
  <div class="custom-dd">
225
  <select class="multiple-options">
226
- <option data-option="1_year" data-header="Renewals for 25% off" data-price="59" value="<?php echo $pro_url ?>2">Updates &amp; support for 1 year</option>
227
- <option data-option="2_year" data-header="For 2 years" data-price="89" value="<?php echo $pro_url ?>14">Updates &amp; support for 2 years</option>
228
- <option data-option="lifetime" data-header="For lifetime" data-price="149" value="<?php echo $pro_url ?>7">Updates &amp; support for lifetime</option>
229
  </select>
230
  </div>
231
- <a class="cart-link" target="_blank" href="<?php echo $pro_url ?>2">Buy now</a>
232
  </div>
 
233
  </div>
234
  </div>
235
  <div class="col-md-4 col-sm-12">
@@ -237,7 +239,7 @@ $pro_url = "https://go.premio.io/?edd_action=add_to_cart&download_id=185&edd_opt
237
  <div class="price-table-top">
238
  <div class="price-head">
239
  <div class="plan-name">Agency</div>
240
- <div class="plan-price">$99<span>/year</span></div>
241
  </div>
242
  <div class="price-websites">For agencies who manage clients</div>
243
  <div class="price-offer">Renewals for <b>25% off</b></div>
@@ -342,13 +344,14 @@ $pro_url = "https://go.premio.io/?edd_action=add_to_cart&download_id=185&edd_opt
342
  <div class="price-table-bottom">
343
  <div class="custom-dd">
344
  <select class="multiple-options has-multiple-websites">
345
- <option data-option="1_year" data-header="Renewals for 25% off" data-price="99" value="<?php echo $pro_url ?>10">Updates &amp; support for 1 year</option>
346
- <option data-option="2_year" data-header="For 2 years" data-price="149" value="<?php echo $pro_url ?>15">Updates &amp; support for 2 years</option>
347
- <option data-option="lifetime" data-header="For lifetime" data-price="249" value="<?php echo $pro_url ?>12">Updates &amp; support for lifetime</option>
348
  </select>
349
  </div>
350
- <a class="cart-link" target="_blank" href="<?php echo $pro_url ?>10">Buy now</a>
351
  </div>
 
352
  </div>
353
  </div>
354
  </div>
@@ -382,57 +385,137 @@ $pro_url = "https://go.premio.io/?edd_action=add_to_cart&download_id=185&edd_opt
382
  </div>
383
  <script src="<?php echo esc_url(CHT_PLUGIN_URL."admin/assets/js/select2.min.js?ver=".CHT_VERSION) ?>" type="text/javascript" ></script>
384
  <script>
385
- var priceOptions = {"50_websites":{"1_year":{"price":99,"link":"https:\/\/go.premio.io\/?edd_action=add_to_cart&download_id=185&edd_options[price_id]=10"},"2_year":{"price":149,"link":"https:\/\/go.premio.io\/?edd_action=add_to_cart&download_id=185&edd_options[price_id]=15"},"lifetime":{"price":249,"link":"https:\/\/go.premio.io\/?edd_action=add_to_cart&download_id=185&edd_options[price_id]=12"}},"500_websites":{"1_year":{"price":179,"link":"https:\/\/go.premio.io\/?edd_action=add_to_cart&download_id=185&edd_options[price_id]=16"},"2_year":{"price":269,"link":"https:\/\/go.premio.io\/?edd_action=add_to_cart&download_id=185&edd_options[price_id]=17"},"lifetime":{"price":449,"link":"https:\/\/go.premio.io\/?edd_action=add_to_cart&download_id=185&edd_options[price_id]=18"}},"1000_websites":{"1_year":{"price":249,"link":"https:\/\/go.premio.io\/?edd_action=add_to_cart&download_id=185&edd_options[price_id]=19"},"2_year":{"price":375,"link":"https:\/\/go.premio.io\/?edd_action=add_to_cart&download_id=185&edd_options[price_id]=20"},"lifetime":{"price":619,"link":"https:\/\/go.premio.io\/?edd_action=add_to_cart&download_id=185&edd_options[price_id]=21"}}};
386
- jQuery(document).ready(function(){
387
- if(jQuery(".multiple-options").length) {
388
- jQuery(".multiple-options").select2({
389
- minimumResultsForSearch: -1
390
- });
391
  }
392
- if(jQuery(".multiple-web-options").length) {
393
- jQuery(".multiple-web-options").select2({
394
- minimumResultsForSearch: -1
395
- });
 
396
  }
397
- jQuery(document).on("change", ".multiple-options", function(){
398
- priceText = jQuery(this).find("option:selected").attr("data-header");
399
- thisValue = jQuery(this).val();
400
- thisPrice = jQuery(this).find("option:selected").attr("data-price");
401
- if(!jQuery(this).hasClass("has-multiple-websites")) {
402
- jQuery(this).closest(".price-table").find("a.cart-link").attr("href", thisValue);
403
- jQuery(this).closest(".price-table").find(".plan-price").text("$" + thisPrice);
404
- } else {
405
- var webOption = jQuery(".multiple-web-options").val();
406
- var priceSettings = priceOptions[webOption];
407
- var yearPlan = jQuery(".multiple-options.has-multiple-websites option:selected").attr("data-option");
408
- if(priceSettings[yearPlan] != undefined) {
409
- priceSettings = priceSettings[yearPlan];
410
- thisValue = priceSettings.link;
411
- thisPrice = priceSettings.price;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
412
  }
413
  }
414
- thisOption = jQuery(this).find("option:selected").attr("data-option");
415
- if(thisOption == "1_year") {
416
- thisPrice = thisPrice+"<span>/year</span>";
417
- priceText = "Renewals for <b>25% off</b>";
418
- } else if(thisOption == "2_year") {
419
- thisPrice = thisPrice+"<span>/2 years</span>";
420
- priceText = "Renewals for <b>25% off</b>";
421
- } else {
422
- thisPrice = thisPrice+"<span>/lifetime</span>";
423
- priceText = "For lifetime";
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
424
  }
425
- jQuery(this).closest(".price-table").find("a.cart-link").attr("href", thisValue);
426
- jQuery(this).closest(".price-table").find(".plan-price").html("$" + thisPrice);
427
- jQuery(this).closest(".price-table").find(".price-offer").html(priceText);
428
  });
429
 
430
- jQuery(document).on("change", ".multiple-web-options", function(){
431
- jQuery(".multiple-options.has-multiple-websites").trigger("change");
432
  });
433
 
434
- if(jQuery(".multiple-options.has-multiple-websites").length) {
435
- jQuery(".multiple-options.has-multiple-websites").trigger("change");
 
 
 
 
 
 
 
 
 
 
 
 
 
 
436
  }
437
- });
438
  </script>
15
  <div class="price-table-top">
16
  <div class="price-head">
17
  <div class="plan-name">Basic</div>
18
+ <div class="plan-price">$39<span>/year</span></div>
19
  </div>
20
  <div class="price-websites">For small website owners</div>
21
  <div class="price-offer">Renewals for <b>25% off</b></div>
112
  <div class="price-table-bottom">
113
  <div class="custom-dd">
114
  <select class="multiple-options">
115
+ <option data-option="1_year" data-header="Renewals for 25% off" data-price="39" value="<?php echo $pro_url ?>22">Updates &amp; support for 1 year</option>
116
+ <option data-option="2_year" data-header="For 2 years" data-price="59" value="<?php echo $pro_url ?>23">Updates &amp; support for 2 years</option>
117
+ <option data-option="lifetime" data-header="For lifetime" data-price="119" value="<?php echo $pro_url ?>24">Updates &amp; support for lifetime</option>
118
  </select>
119
  </div>
120
+ <a class="cart-link" target="_blank" href="<?php echo $pro_url."22" ?>">Buy now</a>
121
  </div>
122
+ <div class="bottom-position"></div>
123
  </div>
124
  </div>
125
  <div class="col-md-4 col-sm-12">
127
  <div class="price-table-top">
128
  <div class="price-head">
129
  <div class="plan-name">Plus</div>
130
+ <div class="plan-price">$89<span>/year</span></div>
131
  </div>
132
  <div class="price-websites">For businesses with multiple websites</div>
133
  <div class="price-offer">Renewals for <b>25% off</b></div>
224
  <div class="price-table-bottom">
225
  <div class="custom-dd">
226
  <select class="multiple-options">
227
+ <option data-option="1_year" data-header="Renewals for 25% off" data-price="89" value="<?php echo $pro_url ?>25">Updates &amp; support for 1 year</option>
228
+ <option data-option="2_year" data-header="For 2 years" data-price="139" value="<?php echo $pro_url ?>26">Updates &amp; support for 2 years</option>
229
+ <option data-option="lifetime" data-header="For lifetime" data-price="229" value="<?php echo $pro_url ?>27">Updates &amp; support for lifetime</option>
230
  </select>
231
  </div>
232
+ <a class="cart-link" target="_blank" href="<?php echo $pro_url ?>25">Buy now</a>
233
  </div>
234
+ <div class="bottom-position"></div>
235
  </div>
236
  </div>
237
  <div class="col-md-4 col-sm-12">
239
  <div class="price-table-top">
240
  <div class="price-head">
241
  <div class="plan-name">Agency</div>
242
+ <div class="plan-price">$149<span>/year</span></div>
243
  </div>
244
  <div class="price-websites">For agencies who manage clients</div>
245
  <div class="price-offer">Renewals for <b>25% off</b></div>
344
  <div class="price-table-bottom">
345
  <div class="custom-dd">
346
  <select class="multiple-options has-multiple-websites">
347
+ <option data-option="1_year" data-header="Renewals for 25% off" data-price="149" value="<?php echo $pro_url ?>28">Updates &amp; support for 1 year</option>
348
+ <option data-option="2_year" data-header="For 2 years" data-price="229" value="<?php echo $pro_url ?>29">Updates &amp; support for 2 years</option>
349
+ <option data-option="lifetime" data-header="For lifetime" data-price="389" value="<?php echo $pro_url ?>30">Updates &amp; support for lifetime</option>
350
  </select>
351
  </div>
352
+ <a class="cart-link" target="_blank" href="<?php echo $pro_url ?>28">Buy now</a>
353
  </div>
354
+ <div class="bottom-position"></div>
355
  </div>
356
  </div>
357
  </div>
385
  </div>
386
  <script src="<?php echo esc_url(CHT_PLUGIN_URL."admin/assets/js/select2.min.js?ver=".CHT_VERSION) ?>" type="text/javascript" ></script>
387
  <script>
388
+ (function (factory) {
389
+ "use strict";
390
+ if (typeof define === 'function' && define.amd) {
391
+ define(['jquery'], factory);
 
 
392
  }
393
+ else if(typeof module !== 'undefined' && module.exports) {
394
+ module.exports = factory(require('jquery'));
395
+ }
396
+ else {
397
+ factory(jQuery);
398
  }
399
+ }(function ($, undefined) {
400
+ var priceOptions = {
401
+ "50_websites": {
402
+ "1_year": {
403
+ "price": 149,
404
+ "link": "https://go.premio.io/?edd_action=add_to_cart&download_id=185&edd_options[price_id]=28"
405
+ },
406
+ "2_year": {
407
+ "price": 229,
408
+ "link": "https://go.premio.io/?edd_action=add_to_cart&download_id=185&edd_options[price_id]=29"
409
+ },
410
+ "lifetime": {
411
+ "price": 389,
412
+ "link": "https://go.premio.io/?edd_action=add_to_cart&download_id=185&edd_options[price_id]=30"
413
+ }
414
+ },
415
+ "500_websites": {
416
+ "1_year": {
417
+ "price": 279,
418
+ "link": "https://go.premio.io/?edd_action=add_to_cart&download_id=185&edd_options[price_id]=31"
419
+ },
420
+ "2_year": {
421
+ "price": 419,
422
+ "link": "https://go.premio.io/?edd_action=add_to_cart&download_id=185&edd_options[price_id]=32"
423
+ },
424
+ "lifetime": {
425
+ "price": 699,
426
+ "link": "https://go.premio.io/?edd_action=add_to_cart&download_id=185&edd_options[price_id]=33"
427
+ }
428
+ },
429
+ "1000_websites": {
430
+ "1_year": {
431
+ "price": 389,
432
+ "link": "https://go.premio.io/?edd_action=add_to_cart&download_id=185&edd_options[price_id]=34"
433
+ },
434
+ "2_year": {
435
+ "price": 585,
436
+ "link": "https://go.premio.io/?edd_action=add_to_cart&download_id=185&edd_options[price_id]=35"
437
+ },
438
+ "lifetime": {
439
+ "price": 959,
440
+ "link": "https://go.premio.io/?edd_action=add_to_cart&download_id=185&edd_options[price_id]=36"
441
  }
442
  }
443
+ };
444
+ $(document).ready(function(){
445
+ if($(".multiple-options").length) {
446
+ $(".multiple-options").select2({
447
+ minimumResultsForSearch: -1
448
+ });
449
+ }
450
+ if($(".multiple-web-options").length) {
451
+ $(".multiple-web-options").select2({
452
+ minimumResultsForSearch: -1
453
+ });
454
+ }
455
+ $(document).on("change", ".multiple-options", function(){
456
+ priceText = $(this).find("option:selected").attr("data-header");
457
+ thisValue = $(this).val();
458
+ thisPrice = $(this).find("option:selected").attr("data-price");
459
+ if(!$(this).hasClass("has-multiple-websites")) {
460
+ $(this).closest(".price-table").find("a.cart-link").attr("href", thisValue);
461
+ $(this).closest(".price-table").find(".plan-price").text("$" + thisPrice);
462
+ } else {
463
+ var webOption = $(".multiple-web-options").val();
464
+ var priceSettings = priceOptions[webOption];
465
+ var yearPlan = $(".multiple-options.has-multiple-websites option:selected").attr("data-option");
466
+ if(priceSettings[yearPlan] != undefined) {
467
+ priceSettings = priceSettings[yearPlan];
468
+ thisValue = priceSettings.link;
469
+ thisPrice = priceSettings.price;
470
+ }
471
+ }
472
+ thisOption = $(this).find("option:selected").attr("data-option");
473
+ if(thisOption == "1_year") {
474
+ thisPrice = thisPrice+"<span>/year</span>";
475
+ priceText = "Renewals for <b>25% off</b>";
476
+ } else if(thisOption == "2_year") {
477
+ thisPrice = thisPrice+"<span>/2 years</span>";
478
+ priceText = "Renewals for <b>25% off</b>";
479
+ } else {
480
+ thisPrice = thisPrice+"<span>/lifetime</span>";
481
+ priceText = "For lifetime";
482
+ }
483
+ $(this).closest(".price-table").find("a.cart-link").attr("href", thisValue);
484
+ $(this).closest(".price-table").find(".plan-price").html("$" + thisPrice);
485
+ $(this).closest(".price-table").find(".price-offer").html(priceText);
486
+ });
487
+
488
+ $(document).on("change", ".multiple-web-options", function(){
489
+ $(".multiple-options.has-multiple-websites").trigger("change");
490
+ });
491
+
492
+ if($(".multiple-options.has-multiple-websites").length) {
493
+ $(".multiple-options.has-multiple-websites").trigger("change");
494
  }
495
+
496
+ checkForPricingPos();
 
497
  });
498
 
499
+ $(window).on("scroll", function(){
500
+ checkForPricingPos();
501
  });
502
 
503
+ $(window).on("resize", function(){
504
+ checkForPricingPos();
505
+ });
506
+
507
+ function checkForPricingPos() {
508
+ $(".bottom-position").each(function(){
509
+ if($(this).offset().top - $(window).scrollTop() - $(window).height() < -3) {
510
+ $(this).closest(".price-table").removeClass("is-fixed");
511
+ $(this).closest(".price-table").find(".price-table-bottom").prop("style", "");
512
+ } else {
513
+ $(this).closest(".price-table").addClass("is-fixed");
514
+ $(this).closest(".price-table").find(".price-table-bottom").css("top", ($(window).height() - 125 )+"px");
515
+ $(this).closest(".price-table").find(".price-table-bottom").css("left", $(this).offset().left+"px");
516
+ $(this).closest(".price-table").find(".price-table-bottom").outerWidth($(this).closest(".price-table").width());
517
+ }
518
+ });
519
  }
520
+ }));
521
  </script>