(function(){var interceptInitFn=function(interceptHost,orgId,key,interceptPort,isTesting,enableLogger,clientHost,clientVersion,loadTestCustomJS){var testingParamMap={"isTesting":"IM_loadInterceptsInTest","loadTestCustomJS":"IM_loadTestCustomJS"};handleLocalStorageOverrides=function(testingParamName,testingParamValue){if(testingParamValue!==true){try{testingParamValue=localStorage.getItem(testingParamMap[testingParamName]);try{testingParamValue=JSON.parse(testingParamValue);}catch(ex){testingParamValue=false;}if(testingParamValue==null){testingParamValue=false;}}catch(err){console.log("localStorage isn't initialized");}}return testingParamValue;};isTesting=handleLocalStorageOverrides("isTesting",isTesting);loadTestCustomJS=handleLocalStorageOverrides("loadTestCustomJS",loadTestCustomJS);this.go=function(){var baseScriptEl=document.createElement("script");baseScriptEl.type="text/javascript";baseScriptEl.async=true;baseScriptEl.setAttribute("crossorigin","anonymous");baseScriptEl.src="https://"+clientHost+"/intercept-client-v"+clientVersion+".js";if(document.body){document.body.appendChild(baseScriptEl);}var waitForBaseJS=function(){if(window.IMI&&IMI.InterceptUtil){clearInterval(checkExist);IMI.Config.host=interceptHost;IMI.Config.orgId=orgId;IMI.Config.key=key;IMI.Config.port=interceptPort;IMI.Config.testing=isTesting;IMI.Config.loadTestCustomJS=loadTestCustomJS;IMI.InterceptUtil.loadAndEvaluateIntercepts();}};var checkExist=setInterval(waitForBaseJS,100);setTimeout(function(){clearInterval(checkExist);},10000);};};try{if(window.imiInterceptClientLoaded){return;}window.imiInterceptClientLoaded=true;(new interceptInitFn("dispawsusva.inmoment.com",4764,"BCogwKsjR5wsoOIzLQR3bg==",8080,false,false,"intercept-client.inmoment.com","1.26.0",false)).go();}catch(i){console.log(i);}})();