"use strict";var gadwpRedirectLink,gadwpRedirectCalled=!1,gadwpDefaultPrevented=!1;function gadwpRedirect(){gadwpRedirectCalled||(gadwpRedirectCalled=!0,0==gadwpDefaultPrevented?document.location.href=gadwpRedirectLink:gadwpDefaultPrevented=!1)}function gadwp_send_event(t,e,a,n){if(gadwpUAEventsData.options.ga_with_gtag){if("undefined"==typeof gtag)return;n?gadwpUAEventsData.options.event_bouncerate?gtag("event",e,{event_category:t,event_label:a,non_interaction:1,event_callback:gadwpRedirect}):gtag("event",e,{event_category:t,event_label:a,event_callback:gadwpRedirect}):gadwpUAEventsData.options.event_bouncerate?gtag("event",e,{event_category:t,event_label:a,non_interaction:1}):gtag("event",e,{event_category:t,event_label:a})}else{if("undefined"==typeof ga)return;n?gadwpUAEventsData.options.event_bouncerate?ga("send","event",t,e,a,{nonInteraction:1,hitCallback:gadwpRedirect}):ga("send","event",t,e,a,{hitCallback:gadwpRedirect}):gadwpUAEventsData.options.event_bouncerate?ga("send","event",t,e,a,{nonInteraction:1}):ga("send","event",t,e,a)}}jQuery(window).on("load",function(){gadwpUAEventsData.options.event_tracking&&(jQuery("a").filter(function(){if("string"==typeof this.href){var t=new RegExp(".*\\.("+gadwpUAEventsData.options.event_downloads+")(\\?.*)?$");return this.href.match(t)}}).click(function(t){gadwp_send_event(this.getAttribute("data-vars-ga-category")||"download",this.getAttribute("data-vars-ga-action")||"click",this.getAttribute("data-vars-ga-label")||this.href,!1)}),jQuery('a[href^="mailto"]').click(function(t){gadwp_send_event(this.getAttribute("data-vars-ga-category")||"email",this.getAttribute("data-vars-ga-action")||"send",this.getAttribute("data-vars-ga-label")||this.href,!1)}),jQuery('a[href^="tel"]').click(function(t){gadwp_send_event(this.getAttribute("data-vars-ga-category")||"telephone",this.getAttribute("data-vars-ga-action")||"call",this.getAttribute("data-vars-ga-label")||this.href,!1)}),gadwpUAEventsData.options.root_domain&&jQuery('a[href^="http"]').filter(function(){if("string"==typeof this.href)var t=new RegExp(".*\\.("+gadwpUAEventsData.options.event_downloads+")(\\?.*)?$");if(t&&!this.href.match(t)&&-1==this.href.indexOf(gadwpUAEventsData.options.root_domain)&&-1