PATH:
home
/
hunkmedicalstaff
/
public_html
/
wp-content
/
plugins
/
ajax-search-lite
/
js
/
min
/
plugin
/
optimized
(function(l){l.fn.extend(window.WPD.ajaxsearchlite.plugin,{gaPageview:function(a){let c=this.gaGetTrackingID();if("undefined"==typeof ASL.analytics||"pageview"!=ASL.analytics.method)return!1;if(""!=ASL.analytics.string){let d="function"==typeof __gaTracker?__gaTracker:"function"==typeof ga?ga:!1,f="function"==typeof gtag?gtag:!1;window.location.origin||(window.location.origin=window.location.protocol+"//"+window.location.hostname+(window.location.port?":"+window.location.port:""));let e=this.o.homeurl.replace(window.location.origin, "");if(!1!==f)!1!==c&&c.forEach(function(g){f("config",g,{page_path:e+ASL.analytics.string.replace("{asl_term}",a)})});else if(!1!==d){let g={page:e+ASL.analytics.string.replace("{asl_term}",a),title:"Ajax Search"};!1!==c?c.forEach(function(b){d("create",b,"auto");d("send","pageview",g)}):d("send","pageview",g)}}},gaEvent:function(a,c){let d=this.gaGetTrackingID();if("undefined"==typeof ASL.analytics||"event"!=ASL.analytics.method)return!1;let f="function"==typeof gtag?gtag:!1,e="function"==typeof window.__gaTracker? window.__gaTracker:"function"==typeof window.ga?window.ga:!1;if(!1===f&&!1===e&&"undefined"==typeof window.dataLayer)return!1;if("undefined"!=typeof ASL.analytics.event[a]&&1==ASL.analytics.event[a].active){let g={search_id:this.o.id,search_name:this.o.name,phrase:this.n("text").val(),option_name:"",option_value:"",result_title:"",result_url:"",results_count:""},b={event_category:ASL.analytics.event[a].category,event_label:ASL.analytics.event[a].label,value:ASL.analytics.event[a].value};c=l.fn.extend(g, c);Object.keys(c).forEach(function(h){let k=c[h];k=String(k).replace(/[\s\n\r]+/g," ").trim();Object.keys(b).forEach(function(m){b[m]=b[m].replace(new RegExp("{"+h+"}","gmi"),k)})});!1!==e?!1!==d?d.forEach(function(h){e("create",h,"auto");e("send","event",b.event_category,ASL.analytics.event[a].action,b.event_label,b.value)}):e("send","event",b.event_category,ASL.analytics.event[a].action,b.event_label,b.value):!1!==f?!1!==d?d.forEach(function(h){b.send_to=h;f("event",ASL.analytics.event[a].action, b)}):f("event",ASL.analytics.event[a].action,b):"undefined"!=typeof window.dataLayer.push&&window.dataLayer.push({event:"gaEvent",eventCategory:b.event_category,eventAction:ASL.analytics.event[a].action,eventLabel:b.event_label})}},gaGetTrackingID:function(){if("undefined"==typeof ASL.analytics)return!1;if("undefined"!=typeof ASL.analytics.tracking_id&&""!=ASL.analytics.tracking_id)return[ASL.analytics.tracking_id];if(!1===("function"==typeof window.gtag?window.gtag:!1)&&"undefined"!=typeof window.ga&& "undefined"!=typeof window.ga.getAll){let a=[];window.ga.getAll().forEach(function(c){a.push(c.get("trackingId"))});return 0<a.length?a:!1}return!1}})})(WPD.dom);
[-] asl-ga.js
[edit]
[-] asl-results-vertical.js
[edit]
[-] asl-wrapper.js
[edit]
[-] asl-settings.js
[edit]
[-] asl-core.js
[edit]
[+]
..
[-] asl-prereq.js
[edit]
[-] asl-autocomplete.js
[edit]
[-] asl-load.js
[edit]