var tObjectCheck,_allowedQuerystrings=[],isSearch=!1,oCONFIG={GWT_UAID:["UA-33523145-1"],GWT_GA4ID:["G-CSLL4ZEK4L"],FORCE_SSL:!0,ANONYMIZE_IP:!0,AGENCY:"",SUB_AGENCY:"",VERSION:"20230920 v6.8 - Dual Tracking",SITE_TOPIC:"",SITE_PLATFORM:"",SCRIPT_SOURCE:"",URL_PROTOCOL:location.protocol,USE_MAIN_CUSTOM_DIMENSIONS:!0,MAIN_AGENCY_CUSTOM_DIMENSION_SLOT:"dimension1",MAIN_SUBAGENCY_CUSTOM_DIMENSION_SLOT:"dimension2",MAIN_CODEVERSION_CUSTOM_DIMENSION_SLOT:"dimension3",MAIN_SITE_TOPIC_CUSTOM_DIMENSION_SLOT:"dimension4",
MAIN_SITE_PLATFORM_CUSTOM_DIMENSION_SLOT:"dimension5",MAIN_SCRIPT_SOURCE_URL_CUSTOM_DIMENSION_SLOT:"dimension6",MAIN_URL_PROTOCOL_CUSTOM_DIMENSION_SLOT:"dimension7",MAIN_INTERACTION_TYPE_CUSTOM_DIMENSION_SLOT:"dimension8",USE_PARALLEL_CUSTOM_DIMENSIONS:!1,PARALLEL_AGENCY_CUSTOM_DIMENSION_SLOT:"dimension1",PARALLEL_SUBAGENCY_CUSTOM_DIMENSION_SLOT:"dimension2",PARALLEL_CODEVERSION_CUSTOM_DIMENSION_SLOT:"dimension3",PARALLEL_SITE_TOPIC_CUSTOM_DIMENSION_SLOT:"dimension4",PARALLEL_SITE_PLATFORM_CUSTOM_DIMENSION_SLOT:"dimension5",
PARALLEL_SCRIPT_SOURCE_URL_CUSTOM_DIMENSION_SLOT:"dimension6",PARALLEL_URL_PROTOCOL_CUSTOM_DIMENSION_SLOT:"dimension7",PARALLEL_INTERACTION_TYPE_CUSTOM_DIMENSION_SLOT:"dimension8",COOKIE_DOMAIN:location.hostname.replace("www.","").toLowerCase(),COOKIE_TIMEOUT:63072E3,SEARCH_PARAMS:"q|query|nasaInclude|k|querytext|keys|qt|search_input|search|globalSearch|goog|s|gsearch|search_keywords|SearchableText|sp_q|qs|psnetsearch|locate|lookup|search_api_views_fulltext|keywords|request|_3_keywords",YOUTUBE:!1,
AUTOTRACKER:!0,EXTS:"doc|docx|xls|xlsx|xlsm|ppt|pptx|exe|zip|pdf|js|txt|csv|dxf|dwgd|rfa|rvt|dwfx|dwg|wmv|jpg|msi|7z|gz|tgz|wma|mov|avi|mp3|mp4|csv|mobi|epub|swf|rar",SUBDOMAIN_BASED:!0,PUA_NAME:"GSA_ENOR",GA4_NAME:"GSA_GA4_ENOR"},head=document.getElementsByTagName("head").item(0),GA4Object=document.createElement("script");GA4Object.setAttribute("type","text/javascript");GA4Object.setAttribute("src","https://www.googletagmanager.com/gtag/js?id="+oCONFIG.GWT_GA4ID[0]);head.appendChild(GA4Object);
window.dataLayer=window.dataLayer||[];function gtag(){dataLayer.push(arguments)}gtag("js",new Date);gtag("set","cookie_flags","SameSite=Strict;Secure");
"undefined"===typeof window.GoogleAnalyticsObject&&function(a,b,c,d,f,e,h){a.GoogleAnalyticsObject=f;a[f]=a[f]||function(){(a[f].q=a[f].q||[]).push(arguments)};a[f].l=1*new Date;e=b.createElement(c);h=b.getElementsByTagName(c)[0];e.async=1;e.src=d;h.parentNode.insertBefore(e,h)}(window,document,"script","https://www.google-analytics.com/analytics.js","ga");tObjectCheck=window.GoogleAnalyticsObject;var trackerFlag=!0;
function _onEveryPage(){_updateConfig();_defineCookieDomain();_defineAgencyCDsValues();_setAllowedQS();createTracker(trackerFlag);_sendViewSearchResult(location.href)}_onEveryPage();
function _defineCookieDomain(){/(([^.\/]+\.[^.\/]{2,3}\.[^.\/]{2})|(([^.\/]+\.)[^.\/]{2,4}))(\/.*)?$/.test(oCONFIG.SUBDOMAIN_BASED.toString())?(oCONFIG.COOKIE_DOMAIN=oCONFIG.SUBDOMAIN_BASED.toLowerCase().replace("www.",""),oCONFIG.SUBDOMAIN_BASED=!0):!1===oCONFIG.SUBDOMAIN_BASED?(oCONFIG.COOKIE_DOMAIN=document.location.hostname.match(/(([^.\/]+\.[^.\/]{2,3}\.[^.\/]{2})|(([^.\/]+\.)[^.\/]{2,4}))(\/.*)?$/)[1],oCONFIG.SUBDOMAIN_BASED=!0):(oCONFIG.COOKIE_DOMAIN=location.hostname.toLowerCase().replace("www.",
""),oCONFIG.SUBDOMAIN_BASED=!1)}function _defineAgencyCDsValues(){oCONFIG.AGENCY=oCONFIG.AGENCY||"unspecified:"+oCONFIG.COOKIE_DOMAIN;oCONFIG.SUB_AGENCY=oCONFIG.SUB_AGENCY||""+oCONFIG.COOKIE_DOMAIN;oCONFIG.SITE_TOPIC=oCONFIG.SITE_TOPIC||"unspecified:"+oCONFIG.COOKIE_DOMAIN;oCONFIG.SITE_PLATFORM=oCONFIG.SITE_PLATFORM||"unspecified:"+oCONFIG.COOKIE_DOMAIN}
function _cleanBooleanParam(a){switch(a.toString().toLowerCase()){case "true":case "on":case "yes":case "1":return!0;case "false":case "off":case "no":case "0":return!1;default:return a}}function _isValidUANum(a){a=a.toLowerCase();a=a.match(/^ua\-([0-9]+)\-[0-9]+$/);return null!=a&&0<a.length}function _isValidGA4Num(a){a=a.toLowerCase();a=a.match(/^g\-([0-9a-z])+$/);return null!=a&&0<a.length}
function _cleanDimensionValue(a){try{pattern=/^dimension([1-9]|[1-9][0-9]|1([0-9][0-9])|200)$/;if(pattern.test(a))return a;if(null!==a.match(/\d+$/g)){var b="dimension"+a.match(/\d+$/g)[0];if(pattern.test(b))return b}return""}catch(c){}}
function _updateConfig(){if("undefined"!==typeof _fedParmsGTM){var a=_fedParmsGTM.toLowerCase().split("&");oCONFIG.SCRIPT_SOURCE="GTM"}else{var b=document.getElementById("_fed_an_ua_tag");_fullParams=b.src.match(/^([^\?]*)(.*)$/i)[2].replace("?","");a=_fullParams.split("&");oCONFIG.SCRIPT_SOURCE=b.src.split("?")[0]}for(b=0;b<a.length;b++)switch(_keyValuePair=decodeURIComponent(a[b].toLowerCase()),_key=_keyValuePair.split("=")[0],_value=_keyValuePair.split("=")[1],_key){case "pua":for(var c=_value.split(","),
d=0;d<c.length;d++)_isValidUANum(c[d])&&oCONFIG.GWT_UAID.push(c[d].toUpperCase());break;case "pga4":c=_value.split(",");for(d=0;d<c.length;d++)_isValidGA4Num(c[d])&&oCONFIG.GWT_GA4ID.push(c[d].toUpperCase());break;case "agency":oCONFIG.AGENCY=_value.toUpperCase();break;case "subagency":oCONFIG.SUB_AGENCY=_value.toUpperCase();break;case "sitetopic":oCONFIG.SITE_TOPIC=_value;break;case "siteplatform":oCONFIG.SITE_PLATFORM=_value;break;case "parallelcd":_value=_cleanBooleanParam(_value);if(!0===_value||
!1===_value)oCONFIG.USE_PARALLEL_CUSTOM_DIMENSIONS=_value;break;case "palagencydim":_value=_cleanDimensionValue(_value);""!==_value&&(oCONFIG.PARALLEL_AGENCY_CUSTOM_DIMENSION_SLOT=_value);break;case "palsubagencydim":_value=_cleanDimensionValue(_value);""!==_value&&(oCONFIG.PARALLEL_SUBAGENCY_CUSTOM_DIMENSION_SLOT=_value);break;case "palversiondim":_value=_cleanDimensionValue(_value);""!==_value&&(oCONFIG.PARALLEL_CODEVERSION_CUSTOM_DIMENSION_SLOT=_value);break;case "paltopicdim":_value=_cleanDimensionValue(_value);
""!==_value&&(oCONFIG.PARALLEL_SITE_TOPIC_CUSTOM_DIMENSION_SLOT=_value);break;case "palplatformdim":_value=_cleanDimensionValue(_value);""!==_value&&(oCONFIG.PARALLEL_SITE_PLATFORM_CUSTOM_DIMENSION_SLOT=_value);break;case "palscriptsrcdim":_value=_cleanDimensionValue(_value);""!==_value&&(oCONFIG.PARALLEL_SCRIPT_SOURCE_URL_CUSTOM_DIMENSION_SLOT=_value);break;case "palurlprotocoldim":_value=_cleanDimensionValue(_value);""!==_value&&(oCONFIG.PARALLEL_URL_PROTOCOL_CUSTOM_DIMENSION_SLOT=_value);break;
case "palinteractiontypedim":_value=_cleanDimensionValue(_value);""!==_value&&(oCONFIG.PARALLEL_INTERACTION_TYPE_CUSTOM_DIMENSION_SLOT=_value);break;case "cto":oCONFIG.COOKIE_TIMEOUT=2628E3*parseInt(_value);break;case "sp":oCONFIG.SEARCH_PARAMS+="|"+_value.replace(/,/g,"|");break;case "exts":oCONFIG.EXTS+="|"+_value.replace(/,/g,"|");break;case "yt":_value=_cleanBooleanParam(_value);if(!0===_value||!1===_value)oCONFIG.YOUTUBE=_value;break;case "autotracker":_value=_cleanBooleanParam(_value);if(!0===
_value||!1===_value)oCONFIG.AUTOTRACKER=_value;break;case "sdor":oCONFIG.SUBDOMAIN_BASED=_cleanBooleanParam(_value)}}function _sendCustomDimensions(a,b){if(0<a.length&&""!==b&&void 0!==b){tObjectCheck!==window.GoogleAnalyticsObject&&createTracker(!1);for(var c=0;c<oCONFIG.GWT_UAID.length;c++)if("dimension0"!==a[c])try{window[window.GoogleAnalyticsObject](oCONFIG.PUA_NAME+c+".set",a[c],b)}catch(d){}}}
function _sendCustomMetrics(a,b){if(0<a.length&&""!==b&&void 0!==b){tObjectCheck!=window.GoogleAnalyticsObject&&createTracker(!1);for(var c=0;c<oCONFIG.GWT_UAID.length;c++)if("metric0"!==a[c])try{window[window.GoogleAnalyticsObject](oCONFIG.PUA_NAME+c+".set",a[c],b)}catch(d){}}}
function _sendEvent(a,b){!/^(page_view|view_search_results)$/i.test(a)&&_mapGA4toUA(a,b);for(var c="",d=0;d<oCONFIG.GWT_GA4ID.length;d++)try{c+=oCONFIG.GA4_NAME+d+","}catch(f){}b.send_to=c.replace(/.$/,"");b.event_name_dimension=a;gtag("event",a,b)}
function _mapGA4toUA(a,b){var c;var d=b.link_url;var f=b.event_value?b.event_value:0;var e=b.non_interaction||!1;var h=b.interaction_type;switch(a){case "file_download":b.outbound?c="Outbound Downloads":c="Download";var g=b.file_extension;break;case "email_click":b.outbound?c="Outbound MailTo":c="Mailto";g=b.link_url;d="";break;case "click":c="Outbound";g=b.link_domain;d=b.link_url.split(b.link_domain)[1];break;case "telephone_click":c="Telephone Clicks";g=b.link_url;d="";break;case "video_start":c=
"YouTube Video";g="play";d=b.video_url;break;case "video_play":c="YouTube Video";g="play";d=b.video_url;break;case "video_pause":c="YouTube Video";g="pause";d=b.video_url;break;case "video_progress":c="YouTube Video";g=0<b.video_percent&&33>=b.video_percent?"33%":33<b.video_percent&&66>=b.video_percent?"66%":66<b.video_percent&&90>=b.video_percent?"90%":b.video_percent;d=b.video_url;break;case "video_complete":c="YouTube Video";g="finish";d=b.video_url;break;case "dap_event":c=b.event_category,g=
b.event_action,d=b.event_label}if(""!==c&&void 0!==c&&""!==g&&void 0!==g)for(a=oCONFIG.MAIN_INTERACTION_TYPE_CUSTOM_DIMENSION_SLOT,tObjectCheck!==window.GoogleAnalyticsObject&&createTracker(!1),b=0;b<oCONFIG.GWT_UAID.length;b++)try{0<b&&(!0===oCONFIG.USE_PARALLEL_CUSTOM_DIMENSIONS?a=oCONFIG.PARALLEL_INTERACTION_TYPE_CUSTOM_DIMENSION_SLOT:h=void 0),window[window.GoogleAnalyticsObject](oCONFIG.PUA_NAME+b+".set",a,h),window[window.GoogleAnalyticsObject](oCONFIG.PUA_NAME+b+".send","event",c,g,void 0!==
d?d:"",""===f&&isNaN(f)&&void 0===f?0:parseInt(f),{nonInteraction:e})}catch(k){}}
function _sendPageview(a,b){if(""!==a&&void 0!==a){a=_URIHandler(_scrubbedURL(a)).split(/[#]/)[0];tObjectCheck!==window.GoogleAnalyticsObject&&createTracker(!1);for(var c=0;c<oCONFIG.GWT_UAID.length;c++)try{window[window.GoogleAnalyticsObject](oCONFIG.PUA_NAME+c+".send","pageview",{page:a.split(location.hostname)[1],title:""!==b||void 0!==b?b:document.title})}catch(d){}_sendEvent("page_view",{page_location:a,page_title:""!==b||void 0!==b?b:document.title,ignore_referrer:_isExcludedReferrer()?!0:!1});
_sendViewSearchResult(a)}}
function gas(a,b,c,d,f,e,h){if(void 0!==a&&""!==a&&void 0!==b&&""!==b&&void 0!==c&&""!==c)if("pageview"===b.toLowerCase())try{_sendPageview(c,void 0===d||""===d?document.title:d)}catch(n){}else if("event"===b.toLowerCase()&&void 0!==d&&""!==d)try{var g=!1;void 0!==h&&"boolean"===typeof _cleanBooleanParam(h)&&(g=_cleanBooleanParam(h));_sendEvent("dap_event",{event_category:c,event_action:d,event_label:void 0===f?"":f,event_value:void 0===e||""===e||isNaN(e)?0:parseInt(e),non_interaction:g})}catch(n){}else if(-1!=
b.toLowerCase().indexOf("dimension"))try{g=b.toLowerCase().split(",");var k=[];dimsPattern=/^dimension([1-9]|[1-9][0-9]|1([0-9][0-9])|200)$/;for(var l=0;l<g.length;l++)if(dimsPattern.test(g[l]))k.push(g[l]);else{var m="dimension"+g[l].match(/\d+$/g)[0];(dimsPattern.test(m)||"dimension0"===m)&&k.push(m)}0<k.length&&_sendCustomDimensions(k,void 0===c?"":c)}catch(n){}else if(-1!=b.toLowerCase().indexOf("metric"))try{k=b.toLowerCase().split(",");g=[];mtrcsPattern=/^metric([1-9]|[1-9][0-9]|1([0-9][0-9])|200)$/;
for(m=0;m<k.length;m++)mtrcsPattern.test(k[m])?g.push(k[m]):(l="metric"+k[m].match(/\d+$/g)[0],(mtrcsPattern.test(l)||"metric0"===l)&&g.push(l));0<g.length&&_sendCustomMetrics(g,void 0===c||""===c||isNaN(c)?1:parseFloat(c))}catch(n){}}function _URIHandler(a){var b=new RegExp("([?&])("+oCONFIG.SEARCH_PARAMS+")(=[^&]+)","i");b.test(a)&&(a=a.replace(b,"$1query$3"),isSearch=!0);return a}
function _sendViewSearchResult(a){isSearch&&(_sendEvent("view_search_results",{search_term:_URIHandler(a).match(/([?&])(query=)([^&#?]*)/i)[3],page_location:_URIHandler(_scrubbedURL(a))}),isSearch=!1)}function _isExcludedReferrer(){if(""!==document.referrer){var a=document.referrer.replace(/https?:\/\//,"").split("/")[0].replace("www.","");return oCONFIG.SUBDOMAIN_BASED?-1!=a.indexOf(oCONFIG.COOKIE_DOMAIN)?!0:!1:a===oCONFIG.COOKIE_DOMAIN?!0:!1}}
function createTracker(a){for(var b=0;b<oCONFIG.GWT_UAID.length;b++){var c=_URIHandler(_scrubbedURL(document.location.pathname+document.location.search+document.location.hash)).split(document.location.hostname)[1];window[window.GoogleAnalyticsObject]("create",oCONFIG.GWT_UAID[b],oCONFIG.COOKIE_DOMAIN,{name:oCONFIG.PUA_NAME+b,allowLinker:!0,cookieExpires:parseInt(oCONFIG.COOKIE_TIMEOUT),cookieFlags:"SameSite=Strict;Secure"});if(oCONFIG.ANONYMIZE_IP)window[window.GoogleAnalyticsObject](oCONFIG.PUA_NAME+
b+".set","anonymizeIp",oCONFIG.ANONYMIZE_IP);if(oCONFIG.FORCE_SSL)window[window.GoogleAnalyticsObject](oCONFIG.PUA_NAME+b+".set","forceSSL",!0);if(_isExcludedReferrer())window[window.GoogleAnalyticsObject](oCONFIG.PUA_NAME+b+".set","referrer","");oCONFIG.USE_MAIN_CUSTOM_DIMENSIONS&&0===b&&(window[window.GoogleAnalyticsObject](oCONFIG.PUA_NAME+b+".set",oCONFIG.MAIN_AGENCY_CUSTOM_DIMENSION_SLOT,oCONFIG.AGENCY),window[window.GoogleAnalyticsObject](oCONFIG.PUA_NAME+b+".set",oCONFIG.MAIN_SUBAGENCY_CUSTOM_DIMENSION_SLOT,
oCONFIG.SUB_AGENCY),window[window.GoogleAnalyticsObject](oCONFIG.PUA_NAME+b+".set",oCONFIG.MAIN_CODEVERSION_CUSTOM_DIMENSION_SLOT,oCONFIG.VERSION),window[window.GoogleAnalyticsObject](oCONFIG.PUA_NAME+b+".set",oCONFIG.MAIN_SITE_TOPIC_CUSTOM_DIMENSION_SLOT,oCONFIG.SITE_TOPIC),window[window.GoogleAnalyticsObject](oCONFIG.PUA_NAME+b+".set",oCONFIG.MAIN_SITE_PLATFORM_CUSTOM_DIMENSION_SLOT,oCONFIG.SITE_PLATFORM),window[window.GoogleAnalyticsObject](oCONFIG.PUA_NAME+b+".set",oCONFIG.MAIN_SCRIPT_SOURCE_URL_CUSTOM_DIMENSION_SLOT,
oCONFIG.SCRIPT_SOURCE),window[window.GoogleAnalyticsObject](oCONFIG.PUA_NAME+b+".set",oCONFIG.MAIN_URL_PROTOCOL_CUSTOM_DIMENSION_SLOT,oCONFIG.URL_PROTOCOL));oCONFIG.USE_PARALLEL_CUSTOM_DIMENSIONS&&0<b&&(window[window.GoogleAnalyticsObject](oCONFIG.PUA_NAME+b+".set",oCONFIG.PARALLEL_AGENCY_CUSTOM_DIMENSION_SLOT,oCONFIG.AGENCY),window[window.GoogleAnalyticsObject](oCONFIG.PUA_NAME+b+".set",oCONFIG.PARALLEL_SUBAGENCY_CUSTOM_DIMENSION_SLOT,oCONFIG.SUB_AGENCY),window[window.GoogleAnalyticsObject](oCONFIG.PUA_NAME+
b+".set",oCONFIG.PARALLEL_CODEVERSION_CUSTOM_DIMENSION_SLOT,oCONFIG.VERSION),window[window.GoogleAnalyticsObject](oCONFIG.PUA_NAME+b+".set",oCONFIG.PARALLEL_SITE_TOPIC_CUSTOM_DIMENSION_SLOT,oCONFIG.SITE_TOPIC),window[window.GoogleAnalyticsObject](oCONFIG.PUA_NAME+b+".set",oCONFIG.PARALLEL_SITE_PLATFORM_CUSTOM_DIMENSION_SLOT,oCONFIG.SITE_PLATFORM),window[window.GoogleAnalyticsObject](oCONFIG.PUA_NAME+b+".set",oCONFIG.PARALLEL_SCRIPT_SOURCE_URL_CUSTOM_DIMENSION_SLOT,oCONFIG.SCRIPT_SOURCE),window[window.GoogleAnalyticsObject](oCONFIG.PUA_NAME+
b+".set",oCONFIG.PARALLEL_URL_PROTOCOL_CUSTOM_DIMENSION_SLOT,oCONFIG.URL_PROTOCOL));-1!==document.title.search(/404|not found/i)&&(c=("/vpv404/"+c).replace(/\/\//g,"/")+(document.referrer?"/"+document.referrer:document.referrer));if(a)window[window.GoogleAnalyticsObject](oCONFIG.PUA_NAME+b+".send","pageview",c)}b=-1!==document.title.search(/404|not found/ig)?document.location.protocol+"//"+document.location.hostname+c:document.location.href;a=_URIHandler(_scrubbedURL(b));for(b=0;b<oCONFIG.GWT_GA4ID.length;b++)0===
b||0<b&&oCONFIG.USE_PARALLEL_CUSTOM_DIMENSIONS?gtag("config",oCONFIG.GWT_GA4ID[b],{groups:oCONFIG.GA4_NAME+b,cookie_expires:parseInt(oCONFIG.COOKIE_TIMEOUT),page_location:a,ignore_referrer:_isExcludedReferrer()?!0:!1,agency:oCONFIG.AGENCY.toUpperCase(),subagency:oCONFIG.SUB_AGENCY.toUpperCase(),site_topic:oCONFIG.SITE_TOPIC.toLowerCase(),site_platform:oCONFIG.SITE_PLATFORM.toLowerCase(),script_source:oCONFIG.SCRIPT_SOURCE.toLowerCase(),version:oCONFIG.VERSION.toLowerCase(),protocol:oCONFIG.URL_PROTOCOL}):
gtag("config",oCONFIG.GWT_GA4ID[b],{groups:oCONFIG.GA4_NAME+b,cookie_expires:parseInt(oCONFIG.COOKIE_TIMEOUT),page_location:a,ignore_referrer:_isExcludedReferrer()?!0:!1})}
function _initAutoTracker(a){var b=oCONFIG.COOKIE_DOMAIN,c=oCONFIG.EXTS.split("|");a=a||document.getElementsByTagName("a");for(i=0;i<a.length;i++){var d=0,f="",e=/^mailto:[a-zA-Z0-9._-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,4}/i,h=/^(ftp|http|https):\/\/(\w+:{0,1}\w*@)?(\S+)(:[0-9]+)?(\/|\/([\w#!:.?+=&%@!\-\/]))?/i,g=/^(tel:)(.*)$/i;if(e.test(a[i].href)||h.test(a[i].href)||g.test(a[i].href)){try{h.test(a[i].href)?f=a[i].hostname.toLowerCase().replace("www.",""):e.test(a[i].href)?f=a[i].href.split("@")[1].toLowerCase():
g.test(a[i].href)&&(f=a[i].href,f=f.toLowerCase())}catch(k){continue}if(oCONFIG.SUBDOMAIN_BASED?-1!==f.indexOf(b):f===b)if(-1!==a[i].href.toLowerCase().indexOf("mailto:")&&-1===a[i].href.toLowerCase().indexOf("tel:"))e=a[i].href.match(/[a-zA-Z0-9._-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,4}/),_tagClicks(a[i],"email_click",{link_id:a[i].id,link_url:e[0],link_domain:e[0].split("@")[1],link_text:a[i].text.replace(/(?:[\r\n]+)+/g,"").trim(),link_classes:a[i].className});else if(-1===a[i].href.toLowerCase().indexOf("mailto:")&&
-1!==a[i].href.toLowerCase().indexOf("tel:"))_tagClicks(a[i],"telephone_click",{link_id:a[i].id,link_url:a[i].href.split("tel:")[1],link_text:a[i].text.replace(/(?:[\r\n]+)+/g,"").trim(),link_classes:a[i].className});else{if(-1===a[i].href.toLowerCase().indexOf("mailto:")&&-1===a[i].href.toLowerCase().indexOf("tel:"))for(d=0;d<c.length;d++)if(e=a[i].href.split("."),e=e[e.length-1].split(/[#?&?]/),e[0].toLowerCase()===c[d]){d=a[i].pathname.split(/[#?&?]/)[0];d=100<d.length?"[shrt]"+d.substring(d.length-
94):d;_tagClicks(a[i],"file_download",{file_name:d,file_extension:e[0].toLowerCase(),link_text:a[i].text.replace(/(?:[\r\n]+)+/g,"").trim(),link_id:a[i].id,link_url:a[i].href.replace(/[#?&].*/,""),link_domain:a[i].hostname.replace(/(www\.)?/gi,"")});break}}else for(f=0;f<c.length;f++)if(e=a[i].href.split("."),e=e[e.length-1].split(/[#?]/),e[0].toLowerCase()===c[f]){a[i].href.split(c[f]);d=a[i].pathname.split(/[#?&?]/)[0];d=100<d.length?"[shrt]"+d.substring(d.length-94):d;_tagClicks(a[i],"file_download",
{file_name:d,file_extension:e[0].toLowerCase(),link_text:a[i].text.replace(/(?:[\r\n]+)+/g,"").trim(),link_id:a[i].id,link_url:a[i].href.replace(/[#?&].*/,""),link_domain:a[i].hostname.replace(/(www\.)?/gi,""),outbound:!0});break}else e[0].toLowerCase()!==c[f]&&(d++,d===c.length&&(-1===a[i].href.toLowerCase().indexOf("mailto:")&&-1===a[i].href.toLowerCase().indexOf("tel:")?_tagClicks(a[i],"click",{link_id:a[i].id,link_url:a[i].href.replace(/[#?&].*/,""),link_domain:a[i].hostname.replace(/(www\.)?/gi,
""),link_text:a[i].text.replace(/(?:[\r\n]+)+/g,"").trim(),link_classes:a[i].className,outbound:!0}):c.length&&-1!==a[i].href.toLowerCase().indexOf("mailto:")&&-1===a[i].href.toLowerCase().indexOf("tel:")?(e=a[i].href.match(/[a-zA-Z0-9._-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,4}/i),_tagClicks(a[i],"email_click",{link_id:a[i].id,link_url:e[0],link_domain:e[0].split("@")[1],link_text:a[i].text.replace(/(?:[\r\n]+)+/g,"").trim(),link_classes:a[i].className,outbound:!0})):c.length&&-1===a[i].href.toLowerCase().indexOf("mailto:")&&
-1!==a[i].href.toLowerCase().indexOf("tel:")&&_tagClicks(a[i],"telephone_click",{link_id:a[i].id,link_url:a[i].href.split("tel:")[1],link_text:a[i].text.replace(/(?:[\r\n]+)+/g,"").trim(),link_classes:a[i].className})))}}}
if(oCONFIG.YOUTUBE){var videoArray_fed=[],playerArray_fed=[],_f33=!1,_f66=!1,_f90=!1,tag=document.createElement("script");tag.src="https://www.youtube.com/iframe_api";var firstScriptTag=document.getElementsByTagName("script")[0];firstScriptTag.parentNode.insertBefore(tag,firstScriptTag);var youtube_parser_fed=function(a){if((a=a.match(/^(https?:)?(\/\/)?(www\.)?(youtu\.be\/|youtube(\-nocookie)?\.([A-Za-z]{2,4}|[A-Za-z]{2,3}\.[A-Za-z]{2})\/)(watch|embed\/|vi?\/)?(\?vi?=)?([^#&\?\/]{11}).*$/))&&11===
a[9].length)return a[9]},IsYouTube_fed=function(a){return/^(https?:)?(\/\/)?(www\.)?(youtu\.be\/|youtube(\-nocookie)?\.([A-Za-z]{2,4}|[A-Za-z]{2,3}\.[A-Za-z]{2})\/)(watch|embed\/|vi?\/)?(\?vi?=)?([^#&\?\/]{11}).*$/.test(a.toString())?!0:!1},YTUrlHandler_fed=function(a){a=a.replace(/origin=(https?:\/\/)?([\da-z\.-]+)\.([a-z\.]{2,6})&?/gi,"origin="+document.location.protocol+"//"+document.location.host);stAdd="";adFlag=!1;-1===a.indexOf("https")&&(a=a.replace("http","https"));-1===a.indexOf("?")&&(stAdd=
"?flag=1");-1===a.indexOf("enablejsapi")&&(stAdd+="&enablejsapi=1",adFlag=!0);-1===a.indexOf("html5")&&(stAdd+="&html5=1",adFlag=!0);-1===a.indexOf("origin")&&(stAdd+="&origin="+document.location.protocol+"//"+document.location.host,adFlag=!0);return!0===adFlag?a+stAdd:a},_initYouTubeTracker=function(){for(var a=document.getElementsByTagName("iframe"),b=0,c=0;c<a.length;c++){_thisVideoObj=a[c];var d=_thisVideoObj.src;IsYouTube_fed(d)&&(_thisVideoObj.src=YTUrlHandler_fed(d),d=youtube_parser_fed(d),
_thisVideoObj.setAttribute("id",d),videoArray_fed[b]=d,b++)}},onYouTubePlayerAPIReady=function(){for(var a=0;a<videoArray_fed.length;a++)playerArray_fed[a]=new YT.Player(videoArray_fed[a],{events:{onReady:onFedPlayerReady,onStateChange:onFedPlayerStateChange}})},onFedPlayerReady=function(a){},onFedPlayerStateChange=function(a){var b=a.target.getIframe().getAttribute("src");_thisDuration=(parseInt(a.target.getCurrentTime())/parseInt(a.target.getDuration())*100).toFixed();var c={video_current_time:Math.round(a.target.getCurrentTime()),
video_duration:Math.round(a.target.getDuration()),video_percent:this.video_percent||Math.round(+_thisDuration),video_provider:"youtube",video_title:a.target.getVideoData().title,video_url:b.split("?")[0]};youtube_parser_fed(b);"undefined"!==typeof onPlayerStateChange&&onPlayerStateChange(a);parseInt(a.data)===parseInt(YT.PlayerState.PLAYING)?0==Math.floor(+_thisDuration)?(_f90=_f66=_f33=!1,_sendEvent("video_start",c)):_sendEvent("video_play",c):a.data===YT.PlayerState.ENDED?_sendEvent("video_complete",
c):a.data===YT.PlayerState.PAUSED&&(_sendEvent("video_pause",c),100>_thisDuration&&(a=_thisDuration,0<a&&33>=a&&!1===_f33?(c.video_percent=33,_sendEvent("video_progress",c),c.video_percent=void 0,_f33=!0):33<a&&66>=a&&!1===_f66?(c.video_percent=66,_sendEvent("video_progress",c),c.video_percent=void 0,_f66=!0):66<a&&90>=a&&!1===_f90&&(c.video_percent=90,_sendEvent("video_progress",c),c.video_percent=void 0,_f90=!0)))}}
function _initIdAssigner(){for(var a=document.getElementsByTagName("a"),b=0;b<a.length;b++){var c=a[b].getAttribute("id");null!==c&&""!==c&&void 0!==c||a[b].setAttribute("id","anch_"+b)}}
function _tagClicks(a,b,c){a.addEventListener?(a.addEventListener("mousedown",function(){c.interaction_type="Mouse Click";_sendEvent(b,c)}),a.addEventListener("keydown",function(a){13===a.keyCode&&(c.interaction_type="Enter Key Keystroke",_sendEvent(b,c))})):a.attachEvent&&(a.attachEvent("onmousedown",function(){c.interaction_type="Mouse Click";_sendEvent(b,c)}),a.attachEvent("onkeydown",function(a){13===a.keyCode&&(c.interaction_type="Enter Key Keystroke",_sendEvent(b,c))}))}
function _scrubbedURL(a){RegExp.escape=function(a){return a.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")};var b="";a=(new RegExp("^(https?:\\/\\/(www\\.)?)?"+RegExp.escape(document.location.hostname.replace("www.","")),"ig")).test(a)?a:document.location.protocol+"//"+document.location.hostname+a;var c=a.split("?")[0];return 1<a.split("?").length?(a.split("?")[1].split("&").forEach(function(a,c){-1<_allowedQuerystrings.indexOf(a.split("=")[0])&&(b=b+"&"+a)}),0<b.length?c+"?"+b.substring(1):c):c}
function _setAllowedQS(){var a={"default":"utm_id utm_source utm_medium utm_campaign utm_term utm_content _gl gclid dclid gclsrc affiliate".split(" "),gsa:["challenge","state"],dhs:["appreceiptnum"],doc:"station meas start atlc epac cpac basin fdays cone tswind120 gm_track 50wind120 hwind120 mltoa34 swath radii wsurge key_messages inundation rainqpf ero gage wfo spanish_key_messages key_messages sid lan office".split(" "),hhs:["s_cid","selectedFacets"],hud:["PostID"],nasa:["feature","ProductID","selectedFacets"],
nps:["gid","mapid","site","webcam","id"],nsf:"meas start atlc epac cpac basin fdays cone tswind120 gm_track 50wind120 hwind120 mltoa34 swath radii wsurge key_messages inundation rainqpf ero gage wfo spanish_key_messages key_messages sid".split(" "),va:["id"]};_allowedQuerystrings=a.default.concat(a[oCONFIG.AGENCY.toLowerCase()]).concat(oCONFIG.SEARCH_PARAMS.split("|"))}
function _setUpTrackers(){tObjectCheck!==window.GoogleAnalyticsObject&&createTracker(!1);oCONFIG.ENHANCED_LINK?_initIdAssigner():"";oCONFIG.AUTOTRACKER?_initAutoTracker():"";oCONFIG.YOUTUBE?_initYouTubeTracker():""}function _setUpTrackersIfReady(){return"interactive"===document.readyState||"complete"===document.readyState?(_setUpTrackers(),!0):!1}
_setUpTrackersIfReady()||(document.addEventListener?document.addEventListener("DOMContentLoaded",_setUpTrackers):document.attachEvent&&document.attachEvent("onreadystatechange",_setUpTrackersIfReady));
//# sourceMappingURL=Federated.js.map