/* buildnumber=5
branchName=release-5.93.5
 */var __webpack_exports__={};(function(){var FRAME_ID="inqChatStage";var TC_CHAT_LOADER_P_CSS="font-family: Arial,sans-serif;"+"font-size: 42px;"+"margin: 0 !important;"+"position: absolute;"+"top: 45%;"+"left: 50%;"+"transform: translate(-50%, -50%);"+"width: 200px !important;"+"text-align: center;";var STYLE_HIDDEN="overflow: hidden; position: absolute;"+" height: 1px; width: 1px; left: 0px; top: 0px;"+" border-style: none; border-width: 0px;";function log(message){if(typeof console!="undefined"&&console.log)console.log(message)}function secureProtocol(url){return url.replace(/^HTTPS?:/i,"https:")}function encodeURLIfNotEncoded(urlStr){var decodedUrlStr;if(!urlStr)return urlStr;try{decodedUrlStr=decodeURI(urlStr);if(decodedUrlStr.length===urlStr.length)return encodeURI(urlStr)}catch(err){}return urlStr}v3Lander.v3Frame=false;v3Lander.domReady=false;v3Lander.domState="defer-failed";v3Lander.hostedFileURL=v3Lander.getV3LanderConfigProperty("hostedFileURL",v3Lander.v3HostedFileURL);v3Lander.isAtHostedFileURL=false;v3Lander.embeddedHostedFile=null;v3Lander.embeddedDiv=null;v3Lander.c2cQueryData=null;v3Lander.registerDivRetry=0;v3Lander.buDataCallbackFcn=null;v3Lander.inqSiteDataFun=null;v3Lander.inqRulesEngineFun=null;v3Lander.programRulesConfig=null;v3Lander.mbusToLoad=[];v3Lander.page=null;v3Lander.cgIDs=null;v3Lander.loadedMbuRuleDataFuns=[];v3Lander.jsonAPIData=null;v3Lander.jsonMbuData=null;v3Lander.reInitChatData=null;function _getHostedFileURL(domain){if(!domain)domain=window.location.host;domain=domain.toUpperCase();if(v3Lander.hostToPath&&v3Lander.hostToPath[domain])return v3Lander.hostToPath[domain];else return v3Lander.hostedFileURL}function _setHostedFileURL(domain){if(!domain)domain=window.location.host;domain=domain.toUpperCase();if(v3Lander.hostToPath&&v3Lander.hostToPath[domain])v3Lander.hostedFileURL=v3Lander.hostToPath[domain]}function loadJSON(url,callback,nameForLog){var xhr=new XMLHttpRequest;xhr.onreadystatechange=function(){if(xhr.readyState===4)if(xhr.status===200)callback(xhr.responseText);else if(xhr.status===0)console.error("Get "+nameForLog+" with network issue. Status: "+xhr.status);else console.error("Get "+nameForLog+" fail with status: "+xhr.status)};xhr.open("GET",url,true);xhr.send()}v3Lander.showLoader=function showLoader(){var loader=document.createElement("div");loader.id="tc-chat-loader";var paragraph=document.createElement("p");paragraph.style.cssText=TC_CHAT_LOADER_P_CSS;var text=document.createTextNode("Loading...");paragraph.appendChild(text);loader.appendChild(paragraph);document.body.appendChild(loader)};v3Lander.showLoaderAnim=function showLoaderAnim(){var content="<style> @keyframes rotate {from {transform: rotate(0deg);}to {transform: rotate(360deg);}}@-webkit-keyframes rotate {from {-webkit-transform: rotate(0deg);}to {-webkit-transform: rotate(360deg);}}.load {width: 200px;height: 200px;margin-left: auto;margin-right: auto;margin-top: 30vh;border: solid 10px rgb(68, 68, 68);border-radius: 50%;border-top-color: transparent;border-right-color: transparent;-webkit-transition: all 0.5s ease-in;-webkit-animation-name: rotate;-webkit-animation-duration: 1.0s;-webkit-animation-iteration-count: infinite;-webkit-animation-timing-function: linear;transition: all 0.5s ease-in;animation-name: rotate;animation-duration: 1.0s;animation-iteration-count: infinite;animation-timing-function: linear;}</style>";content+="<div class='load' role='progressbar' aria-valuetext='Loading...' aria-valuemin='0' aria-valuemax='100'></div>";var loader=document.createElement("div");loader.id="tc-chat-loader";loader.innerHTML=content;document.body.appendChild(loader)};v3Lander.getHostedFileURL=function getHostedFileURL(domain){var url=_getHostedFileURL(domain);if(url.indexOf("//")!=0)url="//"+domain+url;url=window.location.protocol+url;return url};v3Lander.establishHostedFileURL=function establishHostedFileURL(){var hostPaths=this.getV3LanderConfigProperty("hostToPath",[]);for(var i=0,paths=hostPaths;i<paths.length;i++)if(paths[i].domain&&paths[i].hostedFileDirectory)this.hostToPath[paths[i].domain.toUpperCase()]=paths[i].hostedFileDirectory+this.hostedFileURL;_setHostedFileURL()};v3Lander.assignDomain=function assignDomain(){if(this.isAtHostedFileURL){var domainName=document.domain;var temp=domainName.split(".");for(var i=0;i<temp.length;i++)try{var tempwindow=null;if(window.location.search=="")tempwindow=window.opener;else if(window.location.search.indexOf("?IFRAME")==0||window.location.search=="?IEXF")tempwindow=window.parent;else if(window.location.search=="?BLNK")tempwindow=window.parent;else if(window.location.search=="?XHR")tempwindow=window.parent.parent;else return;if(document.domain==tempwindow.document.domain)break;else{temp.shift();if(temp.length>1)document.domain=temp.join(".")}}catch(ee){temp.shift();if(temp.length>1)document.domain=temp.join(".")}}};v3Lander.resizeAnscestorIframe=function resizeAnscestorIframe(){var items=name.split("||");var iframeName=items[1];var width=items[2];var height=items[3];var iframeElements=parent.parent.document.getElementsByName(iframeName);if(iframeElements.length>0)try{var iframe=iframeElements[0];iframe.style.cssText+=";width: "+width+"px;"+"height: "+height+"px;"+"display: block;"+"overflow: hidden;"+"overflow-x: hidden;"+"overflow-y: hidden;"+"border-style: hidden;"+"border-style: none;"+"border-width: 0px;"}catch(e){}};v3Lander.registerDiv=function registerDiv(retryCount){if(!!retryCount)v3Lander.registerDivRetry=retryCount;try{if(top["Inq"]==null)throw new Error("Inq not ready");if(top.Inq["fireCustomEvent"]==null)throw new Error("fireCustomEvent not ready");top.Inq.fireCustomEvent("IframeC2C",{div:v3Lander.embeddedDiv,queryData:v3Lander.c2cQueryData})}catch(e){if(--v3Lander.registerDivRetry>0)window.setTimeout(v3Lander.registerDiv.bind(this),500)}};v3Lander.resizeIframe=function resizeIframe(width,height){var winName=!!window.name?window.name.replace(/\n|<.*?>/g,"").replace(/\"/g,"\\'"):window.name;var name="RESIZE||"+winName+"||"+width+"||"+height;var div=document.createElement("div");div.innerHTML="<ifr"+'ame id="inqChatStage" name="'+name+'" src="'+v3Lander.embeddedHostedFile+'?RSC2C"'+' style="z-index:9999999; display: none; '+STYLE_HIDDEN+'" scrolling="NO"'+"></ifr"+"ame>";var ifrm=div.firstChild;document.body.appendChild(ifrm)};v3Lander.setSource=function setSource(attributes,domain){v3Lander.embeddedHostedFile=v3Lander.getHostedFileURL(domain);v3Lander.embeddedDiv.innerHTML="";var image=new Image;image.onload=function(e){v3Lander.resizeIframe(this.width,this.height);return false};for(var attr in attributes)image.setAttribute(attr,attributes[attr]);v3Lander.embeddedDiv.appendChild(image)};v3Lander.fixV3IFrames=function fixV3IFrames(div){var inqFrames=div.getElementsByTagName("IFRAME");div.style.cssText=STYLE_HIDDEN;for(var ix=0,l=inqFrames.length;ix<l;ix++){inqFrame=inqFrames[ix];inqFrame.allowTransparency="true";inqFrame.border="0";inqFrame.frameSpacing=0;inqFrame.marginWidth=0;inqFrame.style.cssText=STYLE_HIDDEN+" z-index: 9999999; BACKGROUND-COLOR: Transparent;"}};v3Lander.initV3Frame=function initV3Frame(){if(window.frameElement)window.clientwin=window.parent;else if(window.opener)window.clientwin=window.opener;if(window.clientwin)window.clientwin.inqFrame=window;window.inqFrame=window;if(window.inqFrame!=window.parent)window.name=opener?"_inqPersistentChat":"inqV3";insertLandingTag()};v3Lander.reload=function reload(){this.domReady=false;setTimeout(_reload.bind(this),50)};function _reload(){var chatStage=document.getElementById(FRAME_ID);var corner=document.getElementById("inqDivResizeCorner");var title=document.getElementById("inqTitleBar");if(chatStage)document.body.removeChild(chatStage);if(corner)document.body.removeChild(corner);if(title)document.body.removeChild(title);window.inqFrame=null;window.Inq=void 0;this.start()}v3Lander.createV3Frame=function createV3Frame(win){if(top.document.getElementById(FRAME_ID))return;if(!win)win=window;var maxIframeCreateAttemptCount=v3Lander.maxIframeCreateAttemptCount||0;var doc=win.document;var params=win.location.search.replace("?","").split("&");var attemptCount=0;for(var i=0;i<params.length;i++)if(params[i].indexOf("nuance-frame-ac=")===0){attemptCount=parseInt(params[i].split("=")[1],10);attemptCount++}if(!isNaN(attemptCount)&&maxIframeCreateAttemptCount!==0&&attemptCount>maxIframeCreateAttemptCount)return;var div=doc.createElement("div");var port=doc.location.port==""?"":":"+doc.location.port;var iframesrc;if(v3Lander.hostedFileURL.indexOf("/")===0)iframesrc=doc.location.protocol+"//"+doc.location.hostname+port+this.hostedFileURL+"?IFRAME"+(window.v3LanderConfig.iframeSrcParams||"");else iframesrc=v3Lander.hostedFileURL;if(iframesrc.indexOf("http")!==0)return;var prefix=iframesrc.indexOf("?")===-1?"?":"&";iframesrc+=prefix+"nuance-frame-ac="+attemptCount;if(v3Lander.isJSSDK||v3Lander.useJSHelperForIJSF){var helperPath="";var env=getEnvFromConfig();if(v3Lander.noJSHosting&&env)helperPath="/"+env;helperPath+=generatePath("site_"+v3Lander.siteID+"_default_helper.js");loadScript(helperPath,true,true)}if(typeof CEAPI_POST_CHAT_SURVEY_DATA!="undefined"&&CEAPI_POST_CHAT_SURVEY_DATA!=null)iframesrc=doc.location+"?IFRAME&hostedFileURL=true&siteID="+v3Lander.siteID+"&vanityDomain="+secureProtocol(window.v3LanderConfig.vanityDomain||v3Lander.vanityDomain);if(top!=parent){var rand=Math.round(Math.random()*1e12).toString(36);iframesrc+=iframesrc.indexOf("?")==-1?"?":"&";iframesrc+="rand="+rand}div.id=FRAME_ID;div.style.cssText="z-index:9999999; "+STYLE_HIDDEN;iframesrc=encodeURLIfNotEncoded(iframesrc);div.innerHTML='<iframe id="inqChatStage" title="Chat Window"'+' name="'+v3Lander.siteID+'" src="'+iframesrc+'"'+' style="z-index:9999999; display: none;'+STYLE_HIDDEN+'"'+"></iframe>"+'<div id="inqTitleBar" style="border-width: 0px; position: absolute;'+" z-index: 9999999; left: 0px; top: 0px; cursor: move;"+' height: 55px; width: 410px; display: none;"></div>'+'<div id="inqResizeBox" style="border-width: 0px; position: absolute;'+' z-index: 9999999; left: 0px; top: 0px; display:none; height: 0px; width: 0px;">'+'<div id="inqDivResizeCorner" style="border-width: 0px; position: absolute;'+" z-index: 9999999; left: 424px; top: 284px; cursor: se-resize;"+' height: 16px; width: 16px; display: none;"></div>';var bdy=doc.body;if(bdy){var iframes=div.getElementsByTagName("IFRAME");if(this.noChatFrame){this.v3Frame=window;this.initV3Frame();additionalTags();return}if(!this.isLegacy){if(iframes.length>0){var oDiv=document.getElementById("nuanMessagingFrame");if(!oDiv){oDiv=doc.createElement("div");oDiv.id="nuanMessagingFrame";oDiv.classList.add("nuance-chat-floating-container");bdy.appendChild(oDiv)}oDiv.appendChild(iframes[0]);v3Lander.modernSkin=true}}else for(var ix=iframes.length-1;ix>-1;--ix)bdy.appendChild(iframes[ix]);additionalTags()}v3Lander.fixV3IFrames(div);function additionalTags(){var divs=div.getElementsByTagName("DIV");for(var ix=divs.length-1;ix>-1;--ix)bdy.appendChild(divs[ix])}};function getEnvFromConfig(){var landerConfig=v3Lander.getOpenerV3LanderConfig()||v3LanderConfig.parent||window.v3LanderConfig;return landerConfig?landerConfig["env"]:null}function loadScript(name,useMediaServer,useClientDomain,async,errorCallback,useResolvePageWSDomain){var bdy=document.getElementsByTagName("BODY");if(bdy&&bdy[0]){var srctag=document.createElement("SC"+"RIPT");if(v3Lander.noJSHosting&&useClientDomain){v3LanderConfig.clientStaticUrl=v3Lander.getV3LanderConfigProperty("clientStaticUrl",v3Lander.staticClientURL);srctag.src=secureProtocol(window.v3LanderConfig.clientStaticUrl)+name}else if(useMediaServer)srctag.src=secureProtocol(window.v3LanderConfig.vanityDomain||v3Lander.mediaServer||v3Lander.vanityDomain)+name;else if(useResolvePageWSDomain)srctag.src=secureProtocol(v3Lander.resolvePageWSDomain)+name;else srctag.src=secureProtocol(window.v3LanderConfig.vanityDomain||v3Lander.vanityDomain)+name;srctag.onerror=function(){if(typeof errorCallback=="function")errorCallback()};srctag.async=async!==false;srctag.type="text/javascript";srctag.charset="utf-8";srctag.language="javascript";bdy[0].appendChild(srctag)}}v3Lander.requestPage=function requestPage(){this.resolvePage()};v3Lander.getPage=function getPage(){return this.page};v3Lander.getContentGroupIDs=function getContentGroupIDs(){return this.cgIDs};v3Lander.resolvePage=function resolvePage(){var urlPath="/launch/resolvePage?siteID="+this.siteID+"&url="+encodeURIComponent(document.URL)+"&codeVersion="+encodeURIComponent(this.codeVersion);if(!this.useResolvePageWSDomain)urlPath="/tagserver"+urlPath;var overriddenPageId=null;if(window.inqSiteID)overriddenPageId=window.inqSiteID;else if(window.parent&&window.parent.inqSiteID)overriddenPageId=window.parent.inqSiteID;if(overriddenPageId)urlPath+="&overridePageId="+encodeURIComponent(overriddenPageId);loadScript(urlPath,false,false,true,null,this.useResolvePageWSDomain)};v3Lander.applyPage=function applyPage(data){var contains=function(a,obj){for(var i=0;i<a.length;i++)if(a[i]===obj)return true;return false};var prepareMbusList=function(bUnits){var mbusToLoad=[];for(var i=0;i<bUnits.length;i++)if(!contains(mbusToLoad,bUnits[i]))mbusToLoad.push(bUnits[i]);return mbusToLoad};if(this.isBupMode&&data.bUnits)this.mbusToLoad=prepareMbusList(data.bUnits);if(this.isRplMode&&data.page)this.page=data.page;if(this.isRplMode&&data.cgIDs)this.cgIDs=data.cgIDs;if(this.reInitChatData){window.Inq.reinitChatV3Callback(this.reInitChatData.pageID,this.reInitChatData.data);this.reInitChatData=null}else this.createV3Frame()};v3Lander.initSiteDefaultData=function initSiteDefaultData(siteData,rulesEngineData,landingData){this.landingData=landingData;this.inqSiteDataFun=siteData;this.inqRulesEngineFun=rulesEngineData;if(!this.isBupMode||parent.v3Lander.mbusToLoad.length===0)loadTcFramework();else loadMbuData()};v3Lander.initProgramRulesData=function(programRulesConfig){this.programRulesConfig=programRulesConfig;loadScript(generatePath("site_"+this.siteID+"_default.js"),true,true)};function loadTcFramework(){loadScript(generatePath(v3Lander.tcFrameworkName),true,true)}function generatePath(filename){var path=(window.v3LanderConfig.vanityDomain?"/chatskins":"/media")+"/launch/";if(v3Lander.noJSHosting)path="/";return path+filename+"?codeVersion="+encodeURIComponent(v3Lander.codeVersion)}function loadMbuData(){if(v3Lander.isJSSDK){var buIds="";for(var i=0;i<parent.v3Lander.mbusToLoad.length;i++){var mbuID=parent.v3Lander.mbusToLoad[i];buIds+=mbuID.toString()+";"}var serverUrl=v3Lander.vanityDomain+"/tagserver/v1/jssdkApi/all?siteID="+v3Lander.siteID+"&buIds="+buIds;loadJSON(serverUrl,(function(responseText){var jsonMbuData=JSON.parse(responseText);v3Lander.jsonMbuData=jsonMbuData;for(var i=0;i<parent.v3Lander.mbusToLoad.length;i++){var mbuID=parent.v3Lander.mbusToLoad[i];var mbuRuleData={rules:JSSDK_RENDERER.RenderRules(jsonMbuData[mbuID.toString()])};v3Lander.applyMbuRuleData(mbuRuleData)}}),"MBU Data")}else for(var i=0;i<parent.v3Lander.mbusToLoad.length;i++)v3Lander.loadMbuDataForBU(parent.v3Lander.mbusToLoad[i])}v3Lander.loadMbuDataForBU=function loadMbuDataForBU(buID,callback){if(!!callback)v3Lander.buDataCallbackFcn=callback;loadScript((v3Lander.noJSHosting?"/":"/chatskins/launch/")+"site_"+v3Lander.siteID+"_bu_"+buID+".js?codeVersion="+encodeURIComponent(v3Lander.codeVersion),false,true)};v3Lander.applyMbuRuleData=function applyMbuRuleData(mbuRuleData){if(this.buDataCallbackFcn){this.buDataCallbackFcn(mbuRuleData);this.buDataCallbackFcn=null}else{v3Lander.loadedMbuRuleDataFuns[v3Lander.loadedMbuRuleDataFuns.length]=mbuRuleData;if(v3Lander.loadedMbuRuleDataFuns.length==parent.v3Lander.mbusToLoad.length)loadTcFramework()}};function insertLandingTag(){if(v3Lander.isJSSDK){var helperPath="";var env=getEnvFromConfig();if(v3Lander.noJSHosting&&env)helperPath="/"+env;helperPath+=generatePath("site_"+v3Lander.siteID+"_default_helper.js");var defaultJSSDKPath=generatePath("site_"+v3Lander.siteID+"_default_jssdk.js");var useMediaServer=true;var useClientDomain=true;var async=false;loadScript(helperPath,useMediaServer,useClientDomain,async);loadScript(defaultJSSDKPath,useMediaServer,useClientDomain,async)}else loadScript(generatePath(v3Lander.isObfuscated?"pr.min.js":"pr.dev.js"),true,true,true)}function insertPostToServerTag(){loadScript((v3Lander.noJSHosting?"/":"/tagserver/")+v3Lander.postToServerName+"?siteID="+v3Lander.siteID+"&codeVersion="+encodeURIComponent(v3Lander.codeVersion),false,true)}v3Lander.parseC2CQueryString=function parseC2CQueryString(){var queryStringIndex=window.location.href.indexOf("?C2C");var queryString=window.location.href.substring(queryStringIndex+4);if(queryString.length>1){var c2cQueryData="{";var queryStringPairs=queryString.substring(1).split("&");for(var i=0;i<queryStringPairs.length;i++){var pair=queryStringPairs[i].split("=");if(pair.length>=1||pair.length<=2)c2cQueryData+=(i==0?"":", ")+pair[0]+": "+(pair.length==2?'"'+unescape(pair[1])+'"':'""');c2cQueryData+="}";v3Lander.c2cQueryData=c2cQueryData}}};v3Lander.renderC2CDiv=function renderC2CDiv(){document.body.style.cssText="border-style: none; border-width: 0px;"+" margin: 0px; padding: 0px; overflow: hidden; overflow-x:hidden; overflow-y: hidden;";var c2cdiv=document.createElement("DIV");c2cdiv.id=window.name;document.body.appendChild(c2cdiv);v3Lander.embeddedDiv=c2cdiv;c2cdiv["setSource"]=v3Lander.setSource};v3Lander.onDomReady=function onDomReady(){if(v3Lander.domReady)return;v3Lander.domReady=true;if(window.location.href.indexOf("?C2C")!==-1){try{v3Lander.renderC2CDiv();v3Lander.parseC2CQueryString();v3Lander.registerDiv(200)}catch(e){}return}try{if(window!=window.parent&&!this.isAtHostedFileURL&&window.document.domain==window.parent.document.domain)if(this.allowTaggingInsideFrameSet){if(!window.frameElement)return}else return}catch(e){}if(!this.v3Frame)if(this.isBupMode||this.isRplMode)this.requestPage();else this.createV3Frame();else this.initV3Frame()};v3Lander.injectIntoParent=function injectIntoParent(){function whenLoaded(){win.v3Lander=window.v3Lander;instance.createV3Frame(win)}var instance=this;var win=top.top;var doc=win.document;if(!doc.readyState);else if(doc.readyState==="complete"||doc.readyState==="loaded")whenLoaded();else if(window.addEventListener)window.addEventListener("load",whenLoaded,true);else if(window.attachEvent)window.attachEvent("onload",whenLoaded)};v3Lander.setDomReadyTimeout=function setDomReadyTimeout(t){setTimeout((function(){v3Lander.onDomReady()}),t||0)};v3Lander.testReady=function testReady(){var WAIT_PERIOD=100;var skipDomReadyTest=v3Lander.skipDomReadyTest;if(typeof jQuery!="undefined"&&jQuery.isReady)v3Lander.setDomReadyTimeout(1);else if(skipDomReadyTest&&!v3Lander.v3Frame)v3Lander.setDomReadyTimeout(1);else if(typeof document.readyState=="undefined"){if(document.addEventListener){document.addEventListener("load",v3Lander.setDomReadyTimeout,false);document.addEventListener("DOMContentLoaded",v3Lander.setDomReadyTimeout,false)}v3Lander.setDomReadyTimeout(WAIT_PERIOD)}else{var tridentVersion=navigator.userAgent.match(/Trident\/(\d+)/);var newIeVersion=tridentVersion&&tridentVersion.length==2&&parseInt(tridentVersion[1])>=6;if(document.readyState=="complete"&&newIeVersion)v3Lander.setDomReadyTimeout();else if(document.addEventListener||newIeVersion&&document.attachEvent)if(/loaded|complete/.test(document.readyState))v3Lander.setDomReadyTimeout();else setTimeout(arguments.callee,100)}};if(v3Lander.isExitChat){v3Lander.prepareBeforeUnloadForEH=function prepareBeforeUnloadForEH(){if(!inqFrame.Inq.EC.isInitialized())window.onbeforeunload=function(evt){inqFrame.Inq.EH.fireBeforeUnloadEvent()}};v3Lander.prepareBeforeUnload=function prepareBeforeUnload(atxt,ctxt,cancelFcn,showImage,imageElement){window.onbeforeunload=function(evt){if(inqFrame.Inq.EH.isInitialized())inqFrame.Inq.EH.fireBeforeUnloadEvent();if(inqFrame.Inq.EC.update()){if(showImage){var positionX=(window.innerWidth-imageElement.width)/2;var positionY=(window.innerHeight-imageElement.height)/2;var style=inqFrame.frameElement.style;style["display"]="block";style["z-index"]="9999999";style["overflow"]="hidden";style["position"]="absolute";style["height"]=imageElement.height+"px";style["width"]=imageElement.width+"px";style["left"]=positionX+"px";style["top"]=positionY+"px";style["border-style"]="none";style["border-width"]="0px";inqFrame.Inq.CHM.isImagePosition=true}inqFrame.Inq.EC.fireBeforeExitConfirmationEvent();if(atxt&&navigator.userAgent.indexOf("Firefox")<0)alert(atxt);window.onbeforeunload=null;setTimeout(cancelFcn,200);return String(ctxt)}}}}v3Lander.start=function start(){try{this.assignDomain();v3Lander.v3Frame=window.frameElement&&window.frameElement.id===FRAME_ID}catch(e){v3Lander.v3Frame=false}if(v3Lander.isExitChat)if(this.isAtHostedFileURL)this.prepBBDetect();v3Lander.testReady()};v3Lander.establishHostedFileURL();if(window.location.href.indexOf("surveys/launchNativePostChatSurvey")>-1)v3Lander.isAtHostedFileURL=window.location.href.indexOf("hostedFileURL=true")>-1;else v3Lander.isAtHostedFileURL=window.location.href.indexOf(v3Lander.hostedFileURL)>-1;v3Lander.assignDomain();if(window.location.href.indexOf("?CLEAR")!=-1){var cookies=document.cookie.split(";");for(var i=0;i<cookies.length;i++){var cookie=cookies[i];var eqPos=cookie.indexOf("=");var cookieName=eqPos>-1?cookie.substr(0,eqPos):cookie;document.cookie=cookieName+"=;Path=/;Expires=Thu, 01 Jan 1970 00:00:01 GMT;"}}else if(window.location.href.indexOf("?BLNK")!=-1);else if(window.location.href.indexOf("?C2C")!=-1)v3Lander.testReady();else if(window.location.href.indexOf("?INJECT")!=-1)v3Lander.injectIntoParent();else if(window.location.href.indexOf("?RSC2C")!=-1)v3Lander.resizeAnscestorIframe();else if(window.location.href.indexOf("?POST2SERVER")!=-1)insertPostToServerTag();else if(!!window.name&&window.name.indexOf("||")!=-1&&v3Lander.isAtHostedFileURL){if(!v3Lander.disableXframeToIjsf&&typeof v3Lander.xframeToIjsf==="function")if(window.location.search=="?XFRM"){v3Lander.xframeToIjsf();window.close()}}else if(!window.v3LanderConfig.customLaunching)v3Lander.start();if(window===window.parent&&typeof CEAPI_POST_CHAT_SURVEY_DATA!="undefined"&&CEAPI_POST_CHAT_SURVEY_DATA!=null)if(CEAPI_POST_CHAT_SURVEY_DATA.skinVersion)v3Lander.showLoaderAnim();else v3Lander.showLoader()})();