(()=>{"use strict";var t;(t=jQuery)(function(){var e,a=window.location.href,o=void 0!==screen.width&&screen.width>1024?"no":"yes",n=void 0!==document.title?document.title:"";function i(e){try{var a=parseInt(e.getAttribute("data-show_effect"));t(e).show(a)}catch(t){e.style.display="block"}var o=e.getAttribute("data-an_type"),n=t(e).hasClass("ht_ctc_entry_animation")?1200:120;setTimeout(function(){e.classList.add("ht_ctc_animation",o)},n),t(".ht-ctc-group").hover(function(){t(".ht-ctc-group .ht-ctc-cta-hover").show(220)},function(){t(".ht-ctc-group .ht-ctc-cta-hover").hide(100)})}function r(t){var e=t.getAttribute("data-group_id"),o="Click to Chat for WhatsApp",i="group: "+e,r=n+", "+a;"yes"===t.getAttribute("data-is_ga_enable")&&("undefined"!=typeof gtag?gtag("event",i,{event_category:o,event_label:r}):"undefined"!=typeof ga&&void 0!==ga.getAll?ga.getAll()[0].send("event",o,i,r):"undefined"!=typeof __gaTracker&&__gaTracker("send","event",o,i,r)),"undefined"!=typeof dataLayer&&dataLayer.push({event:"Click to Chat",event_category:o,event_label:r,event_action:i}),"yes"===t.getAttribute("data-ga_ads")&&"undefined"!=typeof gtag_report_conversion&&gtag_report_conversion(),"yes"===t.getAttribute("data-is_fb_pixel")&&"undefined"!=typeof fbq&&fbq("trackCustom","Click to Chat by HoliThemes",{Category:"Click to Chat for WhatsApp",return_type:"group",ID:e,Title:n,URL:a})}(e=document.querySelector(".ht-ctc-group"))&&(function(t){var e=t.getAttribute("data-css");if("yes"===o){if("show"===t.getAttribute("data-display_mobile")){var a=document.querySelector(".ht_ctc_desktop_group");a&&a.remove();var n=t.getAttribute("data-position_mobile");t.style.cssText=n+e,i(t)}}else if("show"===t.getAttribute("data-display_desktop")){var r=document.querySelector(".ht_ctc_mobile_group");r&&r.remove();var c=t.getAttribute("data-position");t.style.cssText=c+e,i(t)}}(e),e.addEventListener("click",function(){var t=e.getAttribute("data-group_id");window.open("https://chat.whatsapp.com/"+t,"_blank","noopener"),r(e)})),t(document).on("click",".ht-ctc-sc-group",function(){data_link=this.getAttribute("data-ctc-link"),data_link=encodeURI(data_link),window.open(data_link,"_blank","noopener"),r(this)})})})();