!function(){var e,n,t,o,r,a,i,d,s,u,c,l,f={win:window,salt:"bf779e0933a882808585d19455cd7937",cacheBust:"20210429",persistentSettingsCacheBust:"54caa5ed1c78fa726e6264825207a8bc",allowedParams:["ae_version","ae_system","ae_live_scanner","ae_live_scanner_open","eval","disableae"],allowedCookies:["ae_version","ae_system","ae_live_scanner","ae_live_scanner_open","aebuild","ae_authoring_tool_extension"],loader:{file:"scripts/loader.js",subdomains:{dev:{dflt:"wsv3dev",cdn:"wsv3devcdn"},prod:{dflt:"wsv3",cdn:"wsv3cdn"},staging:{dflt:"wsv3staging",cdn:"wsv3stagingcdn"},staging2:{dflt:"wsv3staging2"},stagingls:{dflt:"wsv3stagingls"},services2:{dflt:"services2",cdn:"services2cdn"},monitoring:{dflt:"wsmonitoring",cdn:"wsmonitoringcdn"},gov:{dflt:"govwsnc",cdn:"govwscdn"},slowae:{dflt:"slowws"}},govDomains:["ef7ae47ab6adc7c592feaafdd2ea02a2"],systems:[["dev","3dev"],["staging"],["staging2"],["stagingls"],["monitoring"],["gov"],["slowae"]]}},m={encode:window.encodeURIComponent,decode:window.decodeURIComponent,getEnv:function(e){for(var n=e.win,t=n!==n.top;"about:"===n.location.protocol;){if(!n.parent)return void console.log("No valid location information for this page. AudioEye cannot load");n=n.parent}var o=n.document,r=n.location.hostname,a=m.urlParamsToObj(n.location.search),i=m.cookies(o.cookie),d=m.getRoot(r),s=n.location.protocol;return{doc:n.document,lang:o.documentElement.lang,protocol:s,root:d,hashedRoot:m.md5(e.salt+d),hostname:r,pathname:n.location.pathname,self:n.self,inIframe:t,userAgent:n.navigator.userAgent,queryParams:a,cookies:m.keepKeys(e.allowedCookies,i),siteHash:m.getSiteHash(n),previewMode:window.__AudioEyePreviewMode}},getSiteHash:function(e){var n;try{(n=e.__AudioEyeSiteHash?e.__AudioEyeSiteHash:document.currentScript&&document.currentScript.getAttribute("data-audioeye-site-hash")?document.currentScript.getAttribute("data-audioeye-site-hash"):e.parent.__AudioEyeSiteHash?e.parent.__AudioEyeSiteHash:e.top.__AudioEyeSiteHash?e.top.__AudioEyeSiteHash:null)&&(e.__AudioEyeSiteHash=n)}catch(t){n=undefined}return n},loader:{getScriptTag:function(e){var n=e.doc.createElement("script");return n.setAttribute("async",""),n.setAttribute("crossorigin","anonymous"),n},getURL:function(e,n){return"https://"+m.loader.getSubDomain(e,n)+".audioeye.com/"+e.loader.file+m.loader.getParams(n)},getSubDomain:function(e,n){var t=m.loader.getSystem(e,n),o=m.loader.getVersion(n),r=e.loader.subdomains[t];if(!r)throw new Error('AudioEye (ae.js): Could not determine sub-domain for system. "'+t+'" has no defined sub-domains.');return!o&&r.cdn?r.cdn:r.dflt},getParams:function(e){for(var n="?",t=0;t<m.loader.params.length;t++){var o=m.loader.params[t],r=o.fn(e,f);if(r!==undefined){if(!Array.isArray(r)||2!==r.length)throw new Error("Invalid value returned from param constructor "+o.name);n+=("?"===n?"":"&")+(r[0]+"=")+r[1]}}return n},params:[{name:"siteHash",fn:function(e){return e.siteHash?["h",e.siteHash]:undefined}},{name:"root",fn:function(e){return e.siteHash?undefined:["r",m.encode(e.root)]}},{name:"domain",fn:function(e){return e.siteHash?undefined:["d",m.encode(e.hostname)]}},{name:"iframe",fn:function(e){if(e.inIframe)return["e","1"]}},{name:"version",fn:function(e){var n=m.loader.getVersion(e);return n?["version",n]:undefined}},{name:"lang",fn:function(e){return["lang",e.lang?m.encode(e.lang):"en"]}},{name:"cb",fn:function(e,n){return["cb",n.cacheBust]}},{name:"pscb",fn:function(e,n){return["pscb",n.persistentSettingsCacheBust]}},{name:"live_scanner",fn:function(e){var n=m.loader.getLiveScannerEval(e);return n?["live_scanner",n]:undefined}},{name:"live_scanner_open",fn:function(e){var n=m.loader.getLiveScannerOpen(e);return n?["live_scanner_open",n]:undefined}},{name:"authoring_tool",fn:function(e){var n=m.loader.getExtensionEval(e);return n?["authoring_tool",n]:undefined}},{name:"delay_ae",fn:function(e){var n=e.queryParams.delay_ae;return n?["delay_ae",n]:undefined}},{name:"ae_pc_override",fn:function(e){var n=e.queryParams.ae_pc_override;return n?["ae_pc_override",n]:undefined}},{name:"monitor",fn:function(e,n){return"monitoring"===m.loader.getSystem(n,e)?["monitor","true"]:undefined}},{name:"build",fn:function(e){var n=e.cookies.aebuild;if("dev"===n)return["build",n]}},{name:"testmode",fn:function(){if(!0===window.AEUnitTests)return["testmode","1"]}},{name:"ae_toolbar",fn:function(e){var n=e.queryParams.ae_toolbar;return n?["ae_toolbar",n]:undefined}}],getVersion:function(e){var n=e.queryParams.ae_version,t=e.cookies.ae_version,o=n?n.match(/-?([a-z]|[\d])+/):undefined,r=t?t.match(/-?\d+/):undefined,a=e.previewMode?["w"]:undefined,i=o||r||a;return i&&i.length?i[0]:undefined},getExtensionEval:function(e){var n=e.cookies.ae_authoring_tool_extension,t=n?n.match(/true|\d+/):undefined;return t&&t.length?t[0]:undefined},getLiveScannerEval:function(e){var n=e.queryParams.ae_live_scanner,t=e.cookies.ae_live_scanner,o=e.queryParams.eval,r=n?n.match(/true|\d+/):undefined,a=t?t.match(/true|\d+/):undefined,i=o?o.match(/\d+/):undefined,d=r||a;return d&&"true"===d[0]&&i&&(d=i),d&&d.length?d[0]:undefined},getLiveScannerOpen:function(e){var n=e.queryParams.ae_live_scanner_open,t=e.cookies.ae_live_scanner_open,o=n?n.match(/true/):undefined,r=t?t.match(/true/):undefined,a=o||r;return a&&a.length?a[0]:undefined},getSystem:function(e,n){var t=n.hashedRoot;if(m.some(e.loader.govDomains,(function(e){return t===e})))return"gov";var o=n.queryParams.ae_system;if(o){var r=m.loader.matchSystem(o,e.loader.systems);if(r)return r}var a=n.cookies.ae_system;if(a){var i=m.loader.matchSystem(a,e.loader.systems);if(i)return i}return"prod"},matchSystem:function(e,n){for(var t=n.length,o=e.toLowerCase(),r=0;r<t;r++){if(o===n[r][0])return n[r][0];for(var a=0;a<n[r].length;a++)if(o===n[r][a])return n[r][0]}return undefined}},shouldExitEarly:function(e){if("1"===e.queryParams.disableae)return{msg:'"disableae" query param is present.'};var n="AudioEye has not been loaded on this page due to browser version incompatibility.";return window.WeakMap?e.userAgent.match(/MSIE ([2-9]|10)/gi)?{msg:n+" Code: 2"}:"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/43.0.2357.125 Safari/537.36"===e.userAgent?{msg:n+" Code: 3"}:!!m.isAdminArea(e)&&{msg:"As a general rule, AudioEye tools are disabled in content management system admin areas. Please contact us for more information."}:{msg:n+" Code: 1"}},isAdminArea:function(e){return e.pathname.indexOf("/wp-admin/")>-1},getAction:function(e){var n=m.getEnv(e),t=m.shouldExitEarly(n);return t?{name:"exitEarly",args:[e.win,t]}:{name:"loadAll",args:[e.win,{tag:m.loader.getScriptTag(n),src:m.loader.getURL(e,n)}]}},run:function(e){var n=e.win;try{m.removeAejsTag()}catch(o){m.safeLog(n,"Failed to remove ae.js")}if(!0===window.__AudioEyeInitialLoadFlag)return"function"==typeof window.dispatchEvent&&"function"==typeof window.CustomEvent&&window.dispatchEvent(new CustomEvent("AudioEyeDuplicateScript")),void(window.__AudioEyeDuplicateScript=!0);window.__AudioEyeInitialLoadFlag=!0,window.__AudioEyeInitialLoadTime=(new Date).getTime();try{var t=m.getAction(e);if("function"!=typeof m.pageActions[t.name])throw new Error(t.name+" is not a valid action");m.pageActions[t.name].apply(m,t.args)}catch(o){m.safeLog(n,"AudioEye (ae.js): Failed to run."),m.safeLog(n,o)}},pageActions:{exitEarly:function(e,n){m.safeLog(e,"AudioEye Disabled. "+n.msg),n.cookie&&(document.cookie=n.cookie)},loadAll:function(e,n){m.pageActions.appendLoader(e,n)},appendLoader:function(e,n){window.__AudioEyeLoaderAppendedTime=(new Date).getTime();var t=e.document,o=t.addEventListener||t.attachEvent,r=t.removeEventListener||t.detachEvent,a=t.addEventListener?"DOMContentLoaded":"onreadystatechange",i=function(){r.call(t,a,i,!1),n.tag.id="audioeye_loader",n.tag.src=n.src,m.safeLog("Injecting loader script: ",n.src),t.body.appendChild(n.tag)};"loading"!==t.readyState?i():o.call(t,a,i,!1)}},safeLog:function(e,n){e.console&&e.console.log&&e.console.log(n)},keepKeys:function(e,n){for(var t,o={},r=0;r<e.length;r++)n[t=e[r]]&&(o[t]=n[t]);return o},cookies:function(e){for(var n=e.split("; "),t={},o=0;o<n.length;o++){var r=n[o].split("=");t[r[0]]=r[1]}return window.__aejs_cookie_override&&"object"==typeof window.__aejs_cookie_override&&(Object.keys(window.__aejs_cookie_override).forEach((function(e){t[e]=String(window.__aejs_cookie_override[e])})),delete window.__aejs_cookie_override),t},urlParamsToObj:function(e){var n={};if(!e||!e.length)return n;for(var t=("?"===e[0]?e.substr(1):e).split("&"),o=0;o<t.length;o++){var r=t[o].split("=");if(0!==r[0].length)try{var a=decodeURIComponent(r[0]),i=decodeURIComponent(r[1]||"");n[a]=i}catch(d){continue}}return n},getRoot:function(e){return e.split(".").slice(-2).join(".")},some:function(e,n,t){if(!e)throw new TypeError("No array provided to some()");if("function"!=typeof n)throw new TypeError;for(var o=Object(e),r=o.length>>>0,a=0;a<r;a++)if(a in o&&n.call(t,o[a],a,o))return!0;return!1},endsWith:function(e,n){return-1!==e.indexOf(n,e.length-n.length)},removeAejsTag:function(){if(document.currentScript)document.currentScript.remove();else for(var e=document.getElementsByTagName("script"),n=0;n<e.length;n++)m.endsWith(e[n].src,"audioeye.com/ae.js")&&e[n].parentNode.removeChild(e[n])}};e=m,n=function(e,n){var t=e[0],d=e[1],s=e[2],u=e[3];t=o(t,d,s,u,n[0],7,-680876936),u=o(u,t,d,s,n[1],12,-389564586),s=o(s,u,t,d,n[2],17,606105819),d=o(d,s,u,t,n[3],22,-1044525330),t=o(t,d,s,u,n[4],7,-176418897),u=o(u,t,d,s,n[5],12,1200080426),s=o(s,u,t,d,n[6],17,-1473231341),d=o(d,s,u,t,n[7],22,-45705983),t=o(t,d,s,u,n[8],7,1770035416),u=o(u,t,d,s,n[9],12,-1958414417),s=o(s,u,t,d,n[10],17,-42063),d=o(d,s,u,t,n[11],22,-1990404162),t=o(t,d,s,u,n[12],7,1804603682),u=o(u,t,d,s,n[13],12,-40341101),s=o(s,u,t,d,n[14],17,-1502002290),d=o(d,s,u,t,n[15],22,1236535329),t=r(t,d,s,u,n[1],5,-165796510),u=r(u,t,d,s,n[6],9,-1069501632),s=r(s,u,t,d,n[11],14,643717713),d=r(d,s,u,t,n[0],20,-373897302),t=r(t,d,s,u,n[5],5,-701558691),u=r(u,t,d,s,n[10],9,38016083),s=r(s,u,t,d,n[15],14,-660478335),d=r(d,s,u,t,n[4],20,-405537848),t=r(t,d,s,u,n[9],5,568446438),u=r(u,t,d,s,n[14],9,-1019803690),s=r(s,u,t,d,n[3],14,-187363961),d=r(d,s,u,t,n[8],20,1163531501),t=r(t,d,s,u,n[13],5,-1444681467),u=r(u,t,d,s,n[2],9,-51403784),s=r(s,u,t,d,n[7],14,1735328473),d=r(d,s,u,t,n[12],20,-1926607734),t=a(t,d,s,u,n[5],4,-378558),u=a(u,t,d,s,n[8],11,-2022574463),s=a(s,u,t,d,n[11],16,1839030562),d=a(d,s,u,t,n[14],23,-35309556),t=a(t,d,s,u,n[1],4,-1530992060),u=a(u,t,d,s,n[4],11,1272893353),s=a(s,u,t,d,n[7],16,-155497632),d=a(d,s,u,t,n[10],23,-1094730640),t=a(t,d,s,u,n[13],4,681279174),u=a(u,t,d,s,n[0],11,-358537222),s=a(s,u,t,d,n[3],16,-722521979),d=a(d,s,u,t,n[6],23,76029189),t=a(t,d,s,u,n[9],4,-640364487),u=a(u,t,d,s,n[12],11,-421815835),s=a(s,u,t,d,n[15],16,530742520),d=a(d,s,u,t,n[2],23,-995338651),t=i(t,d,s,u,n[0],6,-198630844),u=i(u,t,d,s,n[7],10,1126891415),s=i(s,u,t,d,n[14],15,-1416354905),d=i(d,s,u,t,n[5],21,-57434055),t=i(t,d,s,u,n[12],6,1700485571),u=i(u,t,d,s,n[3],10,-1894986606),s=i(s,u,t,d,n[10],15,-1051523),d=i(d,s,u,t,n[1],21,-2054922799),t=i(t,d,s,u,n[8],6,1873313359),u=i(u,t,d,s,n[15],10,-30611744),s=i(s,u,t,d,n[6],15,-1560198380),d=i(d,s,u,t,n[13],21,1309151649),t=i(t,d,s,u,n[4],6,-145523070),u=i(u,t,d,s,n[11],10,-1120210379),s=i(s,u,t,d,n[2],15,718787259),d=i(d,s,u,t,n[9],21,-343485551),e[0]=l(t,e[0]),e[1]=l(d,e[1]),e[2]=l(s,e[2]),e[3]=l(u,e[3])},t=function(e,n,t,o,r,a){return n=l(l(n,e),l(o,a)),l(n<<r|n>>>32-r,t)},o=function(e,n,o,r,a,i,d){return t(n&o|~n&r,e,n,a,i,d)},r=function(e,n,o,r,a,i,d){return t(n&r|o&~r,e,n,a,i,d)},a=function(e,n,o,r,a,i,d){return t(n^o^r,e,n,a,i,d)},i=function(e,n,o,r,a,i,d){return t(o^(n|~r),e,n,a,i,d)},d=function(e){var n,t=[];for(n=0;n<64;n+=4)t[n>>2]=e.charCodeAt(n)+(e.charCodeAt(n+1)<<8)+(e.charCodeAt(n+2)<<16)+(e.charCodeAt(n+3)<<24);return t},s="0123456789abcdef".split(""),u=function(e){for(var n="",t=0;t<4;t++)n+=s[e>>8*t+4&15]+s[e>>8*t&15];return n},c=e.md5=function(e){return function(e){for(var n=0;n<e.length;n++)e[n]=u(e[n]);return e.join("")}(function(e){var t,o=e.length,r=[1732584193,-271733879,-1732584194,271733878];for(t=64;t<=e.length;t+=64)n(r,d(e.substring(t-64,t)));e=e.substring(t-64);var a=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];for(t=0;t<e.length;t++)a[t>>2]|=e.charCodeAt(t)<<(t%4<<3);if(a[t>>2]|=128<<(t%4<<3),t>55)for(n(r,a),t=0;t<16;t++)a[t]=0;return a[14]=8*o,n(r,a),r}(e))},l=function(e,n){return e+n&4294967295},"5d41402abc4b2a76b9719d911017c592"!=c("hello")&&(l=function(e,n){var t=(65535&e)+(65535&n);return(e>>16)+(n>>16)+(t>>16)<<16|65535&t}),m.run(f)}();