var TLT,changeTarget;if(window.TLT)throw"Attempting to recreate TLT. Library may be included more than once on the page.";TLT=function(){"use strict";function v(n,t,i){var u=null,f=null,s=TLT.getService("queue"),e=TLT.getModule("replay"),r=null,o=TLT.utils.getOriginAndPath();t&&typeof t=="string"&&(i&&typeof i=="string"||(i=""),f={type:2,screenview:{type:n,name:t,url:o.path,host:o.origin,referrer:i}},n==="LOAD"?r={type:"screenview_load",name:t}:n==="UNLOAD"&&(r={type:"screenview_unload",name:t}),r&&e&&(u=e.onevent(r)),u&&(f.dcid=u),(n==="LOAD"||n==="UNLOAD")&&s.post("",f,"DEFAULT"))}function y(n){var t,i=TLT.getService("queue");n&&n.coords&&(t={type:13,geolocation:{lat:n.coords.latitude,long:n.coords.longitude,accuracy:Math.ceil(n.coords.accuracy)}},i.post("",t,"DEFAULT"))}function k(){var n,t=TLT.getService("queue");n={type:13,geolocation:{errorCode:201,error:"Permission denied."}};t.post("",n,"DEFAULT")}var d=(new Date).getTime(),i={},r={},o=!1,u=null,s=function(){function u(r){var o=n.getService("browser"),u=n.getCoreConfig().framesBlacklist,f,e;if(t=t||[],r=r||null,typeof u!="undefined"&&u.length>0){for(e=0;e<u.length;e+=1)f=o.queryAll(u[e],r),f&&f.length>0&&(t=t.concat(f));i=i.concat(o.queryAll("iframe",r))}}function r(r){return n.utils.indexOf(i,r)<0&&u(r.ownerDocument),n.utils.indexOf(t,r)>-1}var t,i=[];return r.clearCache=function(){t=null},r}(),p=null,h={config:["getConfig","updateConfig","getCoreConfig","updateCoreConfig","getModuleConfig","updateModuleConfig","getServiceConfig","updateServiceConfig"],queue:["post","setAutoFlush","flushAll"],browserBase:["getXPathFromNode","processDOMEvent"]},l=function(){var t={};return{normalizeModuleEvents:function(i,r,u,f){var e=!1,o=!1,s=n.getService("browser");if(u=u||n._getLocalTop(),f=f||u.document,t[i]={loadFired:!1,pageHideFired:!1},n.utils.forEach(r,function(t){switch(t.name){case"load":e=!0;r.push(n.utils.mixin(n.utils.mixin({},t),{name:"pageshow"}));break;case"unload":o=!0;r.push(n.utils.mixin(n.utils.mixin({},t),{name:"pagehide"}));r.push(n.utils.mixin(n.utils.mixin({},t),{name:"beforeunload"}));break;case"change":n.utils.isLegacyIE&&n.getFlavor()==="w3c"&&r.push(n.utils.mixin(n.utils.mixin({},t),{name:"propertychange"}))}}),!e&&!o){delete t[i];return}t[i].silentLoad=!e;t[i].silentUnload=!o;e||r.push({name:"load",target:u});o||r.push({name:"unload",target:u})},canPublish:function(n,i){var r;if(t.hasOwnProperty(n)===!1)return!0;r=t[n];switch(i.type){case"load":return r.pageHideFired=!1,r.loadFired=!0,!r.silentLoad;case"pageshow":return r.pageHideFired=!1,i.type="load",!r.loadFired&&!r.silentLoad;case"pagehide":return i.type="unload",r.loadFired=!1,r.pageHideFired=!0,!r.silentUnload;case"unload":case"beforeunload":return i.type="unload",r.loadFired=!1,!r.pageHideFired&&!r.silentUnload}return!0},isUnload:function(n){return typeof n=="object"?n.type==="unload"||n.type==="beforeunload"||n.type==="pagehide":!1}}}(),t={},f={},w=function(){},e=null,c=!0,a=null,b=function(){},n={getStartTime:function(){return d},init:function(n,t){var i;if(e=t,!c)throw"init must only be called once!";c=!1;i=function(r){r=r||window.event||{};(document.addEventListener||r.type==="load"||document.readyState==="complete")&&(document.removeEventListener?(document.removeEventListener("DOMContentLoaded",i,!1),window.removeEventListener("load",i,!1)):(document.detachEvent("onreadystatechange",i),window.detachEvent("onload",i)),w(n,t))};document.readyState==="complete"?setTimeout(i):document.addEventListener?(document.addEventListener("DOMContentLoaded",i,!1),window.addEventListener("load",i,!1)):(document.attachEvent("onreadystatechange",i),window.attachEvent("onload",i))},isInitialized:function(){return o},getState:function(){return u},destroy:function(n){var i="",a="",v=null,f=null,h=null,l=null,y=!1;if(c)return!1;if(this.stopAll(),!n){l=this.getService("browser");for(i in t)t.hasOwnProperty(i)&&l!==null&&(a=i.split("|")[0],v=t[i].target,y=t[i].delegateTarget||undefined,l.unsubscribe(a,v,this._publishEvent,y))}for(f in r)r.hasOwnProperty(f)&&(h=r[f].instance,h&&typeof h.destroy=="function"&&h.destroy(),r[f].instance=null);if(s.clearCache(),t={},o=!1,c=!0,u="destroyed",typeof e=="function")try{e("destroyed")}catch(p){}},_updateModules:function(t){var u=this.getCoreConfig(),e=this.getService("browser"),f=null,r=null;if(u&&e&&u.modules)try{for(r in u.modules)if(u.modules.hasOwnProperty(r))if(f=u.modules[r],i.hasOwnProperty(r)){if(f.enabled===!1){this.stop(r);continue}this.start(r);f.events&&this._registerModuleEvents(r,f.events,t)}else e.loadScript&&e.loadScript(u.moduleBase+r+".js");this._registerModuleEvents.clearCache()}catch(o){return n.destroy(),!1}else return!1;return!0},rebind:function(t){n._updateModules(t)},getSessionData:function(){if(n.isInitialized()){var i=null,r=null,t,u,f=n.getCoreConfig();return!f||!f.sessionDataEnabled?null:(r=f.sessionData||{},t=r.sessionQueryName,t?u=n.utils.getQueryStringValue(t,r.sessionQueryDelim):(t=r.sessionCookieName||"TLTSID",u=n.utils.getCookieValue(t)),t&&u&&(i=i||{},i.tltSCN=t,i.tltSCV=u,i.tltSCVNeedsHashing=!!r.sessionValueNeedsHashing),i)}},logGeolocation:function(t){var r=n.getModuleConfig("replay")||{},u=n.utils.getValue(r,"geolocation.options",{timeout:3e4,enableHighAccuracy:!0,maximumAge:0}),f=n.utils.getValue(r,"geolocation.enabled",!1),i=window.navigator;if(t)y(t);else{if(!f||!i||!i.geolocation||!i.geolocation.getCurrentPosition)return;i.geolocation.getCurrentPosition(y,k,u)}},logCustomEvent:function(t,i){if(n.isInitialized()){var r=null,u=this.getService("queue");t&&typeof t=="string"||(t="CUSTOM");i=i||{};r={type:5,customEvent:{name:t,data:i}};u.post("",r,"DEFAULT")}},logExceptionEvent:function(t,i,r){if(n.isInitialized()){var u=null,f=this.getService("queue");t&&typeof t=="string"&&(i=i||"",r=r||"",u={type:6,exception:{description:t,url:i,line:r}},f.post("",u,"DEFAULT"))}},logScreenviewLoad:function(t,i,r){n.isInitialized()&&v("LOAD",t,i,r)},logScreenviewUnload:function(t){n.isInitialized()&&v("UNLOAD",t)},logDOMCapture:function(t,i){var r=null,u,f,e,o;return this.isInitialized()?n.utils.isLegacyIE?r:(f=this.getService("domCapture"),f&&(t=t||window.document,i=i||{},u=f.captureDOM(t,i),u?(r=i.dcid||"dcid-"+this.utils.getSerialNumber()+"."+(new Date).getTime(),u.dcid=r,u.eventOn=!!i.eventOn,e={type:12,domCapture:u},o=this.getService("queue"),o.post("",e,"DEFAULT")):r=null),r):r},performDOMCapture:function(n,t,i){return this.logDOMCapture(t,i)},_bridgeCallback:function(n){var t=f[n];return t&&t.enabled?t:null},logScreenCapture:function(){if(n.isInitialized()){var t=n._bridgeCallback("screenCapture");t!==null&&t.cbFunction()}},enableTealeafFramework:function(){if(n.isInitialized()){var t=n._bridgeCallback("enableTealeafFramework");t!==null&&t.cbFunction()}},disableTealeafFramework:function(){if(n.isInitialized()){var t=n._bridgeCallback("disableTealeafFramework");t!==null&&t.cbFunction()}},startNewTLFSession:function(){if(n.isInitialized()){var t=n._bridgeCallback("startNewTLFSession");t!==null&&t.cbFunction()}},currentSessionId:function(){if(n.isInitialized()){var t,i=n._bridgeCallback("currentSessionId");return i!==null&&(t=i.cbFunction()),t}},defaultValueForConfigurableItem:function(t){if(n.isInitialized()){var i,r=n._bridgeCallback("defaultValueForConfigurableItem");return r!==null&&(i=r.cbFunction(t)),i}},valueForConfigurableItem:function(t){if(n.isInitialized()){var i,r=n._bridgeCallback("valueForConfigurableItem");return r!==null&&(i=r.cbFunction(t)),i}},setConfigurableItem:function(t,i){if(n.isInitialized()){var r=!1,u=n._bridgeCallback("setConfigurableItem");return u!==null&&(r=u.cbFunction(t,i)),r}},addAdditionalHttpHeader:function(t,i){if(n.isInitialized()){var r=!1,u=n._bridgeCallback("addAdditionalHttpHeader");return u!==null&&(r=u.cbFunction(t,i)),r}},logCustomEventBridge:function(t,i,r){if(n.isInitialized()){var u=!1,f=n._bridgeCallback("logCustomEventBridge");return f!==null&&(u=f.cbFunction(t,i,r)),u}},registerBridgeCallbacks:function(n){var i=0,r=0,t=null;if(!n)return!1;if(n.length===0)return f={},!1;try{for(i=0,r=n.length;i<r;i+=1)t=n[i],typeof t=="object"&&t.cbType&&t.cbFunction&&(f[t.cbType]={enabled:t.enabled,cbFunction:t.cbFunction})}catch(u){return!1}return!0},redirectQueue:function(t){var i,e,r,u,o;if(!t||!t.length)return t;if(r=f.messageRedirect,r&&r.enabled)for(o=n.getService("serializer"),i=0,e=t.length;i<e;i+=1)u=r.cbFunction(o.serialize(t[i]),t[i]),u&&typeof u=="object"?t[i]=u:(t.splice(i,1),i-=1,e=t.length);return t},_hasSameOrigin:function(n){try{return n.document.location.host===document.location.host&&n.document.location.protocol===document.location.protocol}catch(t){}return!1},provideRequestHeaders:function(){var t=null,n=f.addRequestHeaders;return n&&n.enabled&&(t=n.cbFunction()),t},_registerModuleEvents:function(){function o(r,f,e){var y=n.getService("browserBase"),c=n.getService("browser"),h=n.utils.getDocument(e),v=n._getLocalTop(),p=n.utils.isIFrameDescendant(e),o,s,a;if(e=e||h,l.normalizeModuleEvents(r,f,v,h),p&&(o=y.ElementData.prototype.examineID(e).id,typeof o=="string")){o=o.slice(0,o.length-1);for(s in t)if(t.hasOwnProperty(s))for(a=0;a<t[s].length;a+=1)if(r===t[s][a]&&s.indexOf(o)!==-1){delete t[s];break}}n.utils.forEach(f,function(f){var s=u(f.target,v,h)||h,l=u(f.delegateTarget,v,h),o="";f.recurseFrames!==!0&&p||(typeof s=="string"?f.delegateTarget&&n.getFlavor()==="jQuery"?(o=n._buildToken4delegateTarget(f.name,s,f.delegateTarget),t.hasOwnProperty(o)?t[o].push(r):(t[o]=[r],t[o].target=s,t[o].delegateTarget=l,c.subscribe(f.name,s,n._publishEvent,l,o))):n.utils.forEach(c.queryAll(s,e),function(u){var e=i.get(u);(e||(e=y.ElementData.prototype.examineID(u),i.set(u,e)),o=f.name+"|"+e.id+e.type,n.utils.indexOf(t[o],r)===-1)&&(t[o]=t[o]||[],t[o].push(r),t[o].target=u,c.subscribe(f.name,u,n._publishEvent))}):(o=n._buildToken4bubbleTarget(f.name,s,typeof f.target=="undefined"),t.hasOwnProperty(o)?n.utils.indexOf(t[o],r)===-1&&t[o].push(r):(t[o]=[r],c.subscribe(f.name,s,n._publishEvent))),o!==""&&typeof s!="string"&&(t[o].target=s))})}function f(t){var i=n.utils.getIFrameWindow(t);return i!==null&&n._hasSameOrigin(i)&&i.document!==null&&i.document.readyState==="complete"}function e(t,u,e){if(e=e||n._getLocalTop().document,i=i||new n.utils.WeakMap,o(t,u,e),t!=="performance")for(var h=null,l=null,y=n.getService("browser"),a=y.queryAll("iframe, frame",e),c=0,v=a.length;c<v;c+=1)(h=a[c],s(h))||(f(h)&&(l=n.utils.getIFrameWindow(h),n._registerModuleEvents(t,u,l.document)),r+=1,function(t,i,u){var e=null,o={moduleName:t,moduleEvents:i,hIFrame:u,_registerModuleEventsDelayed:function(){var f=null;s(u)||(f=n.utils.getIFrameWindow(u),n._hasSameOrigin(f)&&n._registerModuleEvents(t,i,f.document));r-=1;r||n._publishEvent({type:"loadWithFrames",custom:!0})}};n.utils.addEventListener(u,"load",function(){o._registerModuleEventsDelayed()});n.utils.isLegacyIE&&f(u)&&(e=n.utils.getIFrameWindow(u),n.utils.addEventListener(e.document,"readystatechange",function(){o._registerModuleEventsDelayed()}))}(t,u,h))}var i,r=0,u=function(n,t,i){return n==="window"?t:n==="document"?i:n};return e.clearCache=function(){i&&(i.clear(),i=null)},e}(),_buildToken4currentTarget:function(n){var t=n.nativeEvent?n.nativeEvent.currentTarget:null,i=t?this.getService("browserBase").ElementData.prototype.examineID(t):{id:n.target?n.target.id:null,type:n.target?n.target.idType:-1};return n.type+"|"+i.id+i.type},_buildToken4delegateTarget:function(n,t,i){return n+"|"+t+"|"+i},_buildToken4bubbleTarget:function(t,i,r,u){var l=n._getLocalTop(),e,a=n.getService("browser"),v=function(t){var i=null;return n._hasSameOrigin(e.parent)&&n.utils.forEach(a.queryAll("iframe, frame",e.parent.document),function(r){var u=null;s(r)||(u=n.utils.getIFrameWindow(r),n._hasSameOrigin(u)&&u.document===t&&(i=r))}),i},f=n.utils.getDocument(i),y=this.getService("browserBase"),h=null,c,o=t;return f&&(e=f.defaultView||f.parentWindow),i===window||i===window.window?o+="|null-2|window":r&&e&&n._hasSameOrigin(e.parent)&&typeof f!="undefined"&&l.document!==f?(h=v(f),h&&(c=y.ElementData.prototype.examineID(h),o+="|"+c.xPath+"-2")):o+=u&&u!==document&&n.getFlavor()==="jQuery"?"|null-2|"+n.utils.getTagName(i)+"|"+n.utils.getTagName(u):"|null-2|document",o},_reinitConfig:function(){n._updateModules()},_publishEvent:function(i){var f=null,e=null,o=i.delegateTarget&&i.data?i.data:n._buildToken4currentTarget(i),h=null,s,y,w,r=null,c=!1,v=!1,k=n.getCoreConfig(),d=n.getService("browser"),g=i.delegateTarget||null;if((a&&clearTimeout(a),a=setTimeout(b,n.utils.getValue(k,"inactivityTimeout",6e5)),i.type!=="load"&&i.type!=="pageshow"||i.nativeEvent.customLoad)&&(!n.utils.isIE||(i.type==="click"&&(p=i.target.element),i.type!=="beforeunload"||(c=!1,n.utils.forEach(k.ieExcludedLinks,function(n){for(var i=d.queryAll(n),t=0,r=i?i.length:0;t<r;t+=1)if(typeof i[t]!==undefined&&i[t]===p){c=!0;return}}),!c)))&&(l.isUnload(i)&&(u="unloading"),i.type!=="change"||!n.utils.isLegacyIE||n.getFlavor()!=="w3c"||i.target.element.type!=="checkbox"&&i.target.element.type!=="radio")){if(i.type==="propertychange")if(i.nativeEvent.propertyName==="checked"&&(i.target.element.type==="checkbox"||i.target.element.type==="radio"&&i.target.element.checked))i.type="change",i.target.type="INPUT";else return;if(t.hasOwnProperty(o)||(i.hasOwnProperty("nativeEvent")&&(w=i.nativeEvent.currentTarget||i.nativeEvent.target),o=n._buildToken4bubbleTarget(i.type,w,!0,g)),t.hasOwnProperty(o))for(h=t[o],s=0,y=h.length;s<y;s+=1)if(f=h[s],e=n.getModule(f),r=n.utils.mixin({},i),e&&n.isStarted(f)&&typeof e.onevent=="function"&&(v=l.canPublish(f,r),v))e.onevent(r);r&&r.type==="unload"&&v&&n.destroy()}},_getLocalTop:function(){return window.window},addModule:function(n,t){i[n]={creator:t,instance:null,context:null,messages:[]};this.isInitialized()&&this.start(n)},getModule:function(n){return i[n]&&i[n].instance?i[n].instance:null},removeModule:function(n){this.stop(n);delete i[n]},isStarted:function(n){return i.hasOwnProperty(n)&&i[n].instance!==null},start:function(n){var t=i[n],r=null;t&&t.instance===null&&(t.context=new TLT.ModuleContext(n,this),r=t.instance=t.creator(t.context),typeof r.init=="function"&&r.init())},startAll:function(){for(var n in i)i.hasOwnProperty(n)&&this.start(n)},stop:function(n){var t=i[n],r=null;t&&t.instance!==null&&(r=t.instance,typeof r.destroy=="function"&&r.destroy(),t.instance=t.context=null)},stopAll:function(){for(var n in i)i.hasOwnProperty(n)&&this.stop(n)},addService:function(n,t){r[n]={creator:t,instance:null}},getService:function(n){if(r.hasOwnProperty(n)){if(!r[n].instance){try{r[n].instance=r[n].creator(this);typeof r[n].instance.init=="function"&&r[n].instance.init()}catch(t){return null}typeof r[n].instance.getServiceName!="function"&&(r[n].instance.getServiceName=function(){return n})}return r[n].instance}return null},removeService:function(n){delete r[n]},broadcast:function(t){var u=null,r=null;if(t&&typeof t=="object")for(u in i)if(i.hasOwnProperty(u)&&(r=i[u],n.utils.indexOf(r.messages,t.type)>-1&&typeof r.instance.onmessage=="function"))r.instance.onmessage(t)},listen:function(t,r){var u=null;this.isStarted(t)&&(u=i[t],n.utils.indexOf(u.messages,r)===-1&&u.messages.push(r))},fail:function(t,i,r){t="UIC FAILED. "+t;try{n.destroy(!!r)}finally{n.utils.clog(t);throw new n.UICError(t,i);}},UICError:function(){function n(n,t){this.message=n;this.code=t}return n.prototype=new Error,n.prototype.name="UICError",n.prototype.constructor=n,n}(),getFlavor:function(){return"jQuery"}};return b=function(){n.utils.clog("UIC self-terminated due to inactivity timeout.");n.destroy()},w=function(t){var i,r,f,s;if(o){n.utils.clog("TLT.init() called more than once. Ignoring.");return}if(!TLT||!TLT.replay){if(i=n.getService("config"),i.updateConfig(t),!n._updateModules()){u!=="destroyed"&&n.destroy();return}if(i.subscribe&&i.subscribe("configupdated",n._reinitConfig),o=!0,u="loaded",r={type:"load",target:window.window,srcElement:window.window,currentTarget:window.window,bubbles:!0,cancelBubble:!1,cancelable:!0,timeStamp:+new Date,customLoad:!0},s=n.getService("browserBase"),f=new s.WebEvent(r),n._publishEvent(f),typeof e=="function")try{e("initialized")}catch(h){}}},function(){var t=null,i,r;for(t in h)if(h.hasOwnProperty(t))for(i=0,r=h[t].length;i<r;i+=1)(function(t,i){n[i]=function(){var n=this.getService(t);if(n)return n[i].apply(n,arguments)}})(t,h[t][i])}(),n}(),function(){"use strict";var t=window.navigator.userAgent.toLowerCase(),i=t.indexOf("msie")!==-1||t.indexOf("trident")!==-1,u=function(){var n=!!window.performance;return i&&(!n||document.documentMode<9)}(),f=t.indexOf("android")!==-1,e=/(ipad|iphone|ipod)/.test(t),r=1,n={isIE:i,isLegacyIE:u,isAndroid:f,isLandscapeZeroDegrees:!1,isiOS:e,isUndefOrNull:function(n){return typeof n=="undefined"||n===null},getSerialNumber:function(){var n;return n=r,r+=1,n},getValue:function(n,t,i){var r,f,u;if(i=typeof i=="undefined"?null:i,!n||typeof n!="object"||typeof t!="string")return i;for(u=t.split("."),r=0,f=u.length;r<f;r+=1){if(this.isUndefOrNull(n)||typeof n[u[r]]=="undefined")return i;n=n[u[r]]}return n},indexOf:function(n,t){var i,r;if(n&&n instanceof Array)for(i=0,r=n.length;i<r;i+=1)if(n[i]===t)return i;return-1},forEach:function(n,t,i){var r,u;if(n&&n.length&&t&&t.call)for(r=0,u=n.length;r<u;r+=1)t.call(i,n[r],r,n)},some:function(n,t){for(var r=!1,i=0,u=n.length;i<u;i+=1)if(r=t(n[i],i,n),r)return r;return r},convertToArray:function(n){for(var t=0,r=n.length,i=[];t<r;)i.push(n[t]),t+=1;return i},mixin:function(n){for(var t,i,r=1,u=arguments.length;r<u;r+=1){i=arguments[r];for(t in i)Object.prototype.hasOwnProperty.call(i,t)&&(n[t]=i[t])}return n},extend:function(t,i,r){for(var u in r)Object.prototype.hasOwnProperty.call(r,u)&&(t&&Object.prototype.toString.call(r[u])==="[object Object]"?(typeof i[u]=="undefined"&&(i[u]={}),n.extend(t,i[u],r[u])):i[u]=r[u]);return i},clone:function(t){var r,i;if(null===t||"object"!=typeof t)return t;if(t instanceof Object){r=Object.prototype.toString.call(t)==="[object Array]"?[]:{};for(i in t)Object.prototype.hasOwnProperty.call(t,i)&&(r[i]=n.clone(t[i]));return r}},createObject:function(){var n=null,t=null;return typeof Object.create=="function"?n=Object.create:(t=function(){},n=function(n){if(typeof n!="object"&&typeof n!="function")throw new TypeError("Object prototype need to be an object!");return t.prototype=n,new t}),n}(),access:function(n,t){var r=t||window,u,i,f;if(typeof n=="string"&&(typeof r=="object"||r===null)){for(u=n.split("."),i=0,f=u.length;i<f;i+=1)if(i!==0||u[i]!=="window"){if(!Object.prototype.hasOwnProperty.call(r,u[i]))return;if(r=r[u[i]],i<f-1&&!(r instanceof Object))return}return r}},isNumeric:function(n){return!isNaN(n+1-1)},isUpperCase:function(n){return n===n.toUpperCase()&&n!==n.toLowerCase()},isLowerCase:function(n){return n===n.toLowerCase()&&n!==n.toUpperCase()},getDocument:function(t){return t&&t.nodeType!==9?n.isUndefOrNull(t.ownerDocument)?t.document:t.ownerDocument:t},getWindow:function(t){if(t.self!==t){var i=n.getDocument(t);return n.isUndefOrNull(i.defaultView)?i.parentWindow:i.defaultView}return t},getOriginAndPath:function(n){var t={};return n=n||window.location,t.origin=n.origin?n.origin:(n.protocol||"")+"//"+(n.host||""),t.path=n.pathname||"",t.origin.indexOf("file://")>-1&&(t.path=t.path.replace(/(.*?)(?=\/[^.\/]*\.app)/g,"").replace(".app//",".app/")),t},getIFrameWindow:function(n){var t=null;if(!n)return t;try{t=n.contentWindow||(n.contentDocument?n.contentDocument.parentWindow:null)}catch(i){}return t},getTagName:function(t){var i="";return t===document?i="document":t===window||t===window.window?i="window":typeof t=="string"?i=t.toLowerCase():n.isUndefOrNull(t)||(i=t.tagName?t.tagName.toLowerCase():t.nodeName?t.nodeName.toLowerCase():""),i},isIFrameDescendant:function(t){return n.getWindow(t)!=TLT._getLocalTop()},getOrientationMode:function(n){var t="INVALID";if(typeof n!="number")return t;switch(n){case 0:case 180:case 360:t="PORTRAIT";break;case 90:case-90:case 270:t="LANDSCAPE";break;default:t="UNKNOWN"}return t},clog:function(){return function(){}}(window),trim:function(n){return!n||!n.toString?n:n.toString().replace(/^\s+|\s+$/g,"")},ltrim:function(n){return!n||!n.toString?n:n.toString().replace(/^\s+/,"")},rtrim:function(n){return!n||!n.toString?n:n.toString().replace(/\s+$/,"")},getCookieValue:function(t,i){var u,o,r,f,e=null,s;try{if(i=i||document.cookie,!t||!t.toString)return null;for(t+="=",s=t.length,f=i.split(";"),u=0,o=f.length;u<o;u+=1)if(r=f[u],r=n.ltrim(r),r.indexOf(t)===0){e=r.substring(s,r.length);break}}catch(h){e=null}return e},getQueryStringValue:function(n,t,i){var u,r,f,o=null,e;try{if(i=i||window.location.search,f=i.length,!n||!n.toString||!f)return null;t=t||"&";i=t+i.substring(1);n=t+n+"=";u=i.indexOf(n);u!==-1&&(e=u+n.length,r=i.indexOf(t,e),r===-1&&(r=f),o=decodeURIComponent(i.substring(e,r)))}catch(s){}return o},addEventListener:function(){return window.addEventListener?function(n,t,i){n.addEventListener(t,i,!1)}:function(n,t,i){n.attachEvent("on"+t,i)}}(),matchTarget:function(n,t){var r,f,u=-1,e,s,o,h,c,i;if(!n||!t)return u;for(this.browserService&&this.browserBaseService||(this.browserService=TLT.getService("browser"),this.browserBaseService=TLT.getService("browserBase")),r=0,c=n.length;r<c&&u===-1;r+=1)if(i=n[r],typeof i=="string"){for(e=this.browserService.queryAll(i),f=0,s=e?e.length:0;f<s;f+=1)if(e[f]&&(o=this.browserBaseService.ElementData.prototype.examineID(e[f]),o.type===t.idType&&o.id===t.id)){u=r;break}}else if(i.id&&i.idType&&t.idType.toString()===i.idType.toString())switch(typeof i.id){case"string":i.id===t.id&&(u=r);break;case"object":h=new RegExp(i.id.regex,i.id.flags);h.test(t.id)&&(u=r)}return u},WeakMap:function(){function n(n,t){var i,r;for(n=n||[],i=0,r=n.length;i<r;i+=1)if(n[i][0]===t)return i;return-1}return function(){var t=[];this.set=function(i,r){var u=n(t,i);t[u>-1?u:t.length]=[i,r]};this.get=function(i){var r=t[n(t,i)];return r?r[1]:undefined};this.clear=function(){t=[]};this.has=function(i){return n(t,i)>=0};this.remove=function(i){var r=n(t,i);r>=0&&t.splice(r,1)};this["delete"]=this.remove}}()};typeof TLT!="undefined"&&TLT||(window.TLT={});TLT.utils=n}(),function(){"use strict";TLT.EventTarget=function(){this._handlers={}};TLT.EventTarget.prototype={constructor:TLT.EventTarget,publish:function(n,t){var i=0,u=0,r=this._handlers[n],f={type:n,data:t};if(typeof r!="undefined")for(u=r.length;i<u;i+=1)r[i](f)},subscribe:function(n,t){this._handlers.hasOwnProperty(n)||(this._handlers[n]=[]);this._handlers[n].push(t)},unsubscribe:function(n,t){var i=0,u=0,r=this._handlers[n];if(r)for(u=r.length;i<u;i+=1)if(r[i]===t){r.splice(i,1);return}}}}();TLT.ModuleContext=function(){"use strict";var n=["broadcast","getConfig:getModuleConfig","listen","post","getXPathFromNode","performDOMCapture","getStartTime"];return function(t,i){for(var f={},u=0,s=n.length,r=null,e=null,o=null,u=0;u<s;u+=1)r=n[u].split(":"),r.length>1?(o=r[0],e=r[1]):(o=r[0],e=r[0]),f[o]=function(n){return function(){var r=i.utils.convertToArray(arguments);return r.unshift(t),i[n].apply(i,r)}}(e);return f.utils=i.utils,f}}();TLT.addService("config",function(n){"use strict";function i(t,i){n.utils.extend(!0,t,i);r.publish("configupdated",r.getConfig())}var t={core:{},modules:{},services:{}},r=n.utils.extend(!1,n.utils.createObject(new TLT.EventTarget),{getConfig:function(){return t},updateConfig:function(n){i(t,n)},getCoreConfig:function(){return t.core},updateCoreConfig:function(n){i(t.core,n)},getServiceConfig:function(n){return t.services[n]||null},updateServiceConfig:function(n,r){typeof t.services[n]=="undefined"&&(t.services[n]={});i(t.services[n],r)},getModuleConfig:function(n){return t.modules[n]||null},updateModuleConfig:function(n,r){typeof t.modules[n]=="undefined"&&(t.modules[n]={});i(t.modules[n],r)},destroy:function(){t={core:{},modules:{},services:{}}}});return r});TLT.addService("queue",function(n){"use strict";function w(){}function b(){return window.location.pathname}function k(n,i,r,u){var f=t.get(n),o={name:i,value:r},e=null;typeof i=="string"&&typeof r=="string"&&(f.headers||(f.headers={once:[],always:[]}),e=!u?f.headers.once:f.headers.always,e.push(o))}function d(n,i){function s(n,t){for(var i=0,u=0,r=null,i=0,u=n.length;i<u;i+=1)r=n[i],t[r.name]=r.value}var r=0,e=0,o=t.get(n),u=o.headers,f=null;if(i=i||{},u)for(f=[u.always,u.once],r=0,e=f.length;r<e;r+=1)s(f[r],i);return i}function g(n){var i=null,r=null;if(!t.exists(n))throw new Error("Queue: "+n+" does not exist!");i=t.get(n);r=i?i.headers:null;r&&(r.once=[])}function nt(){var t=0,u,i,r=n.provideRequestHeaders();if(r&&r.length)for(t=0,u=r.length;t<u;t+=1)i=r[t],k("DEFAULT",i.name,i.value,i.recurring);return t}function tt(n){var t,r,u=[],i="";if(!n||!n.length)return i;for(t=0,r=n.length;t<r;t+=1)u[n[t].type]=!0;for(t=0,r=u.length;t<r;t+=1)u[t]&&(i&&(i+=","),i+=t);return i}function f(i,r){var u=t.flush(i),k=u!==null?u.length:0,f=t.get(i),s={"Content-Type":"application/json","X-Tealeaf":"device (UIC) Lib/4.1.0.1645","X-TealeafType":"GUI","X-TeaLeaf-Page-Url":b()},a=f.serializer||"json",y=f.encoder,l,o,h=null;if(k){if(s["X-Tealeaf-MessageTypes"]=tt(u),u=c.wrapMessages(u),a&&(u=e.serialize(u,a)),y&&(o=p.encode(u,y),o&&o.data&&!o.error&&(u=o.data,s["Content-Encoding"]=o.encoding)),nt(),d(i,s),f.crossDomainEnabled){if(h=n.utils.getIFrameWindow(f.crossDomainIFrame),!h)return;if(l={request:{url:f.url,async:!r,headers:s,data:u}},n.utils.isIE||typeof postMessage!="function")try{h.sendMessage(l)}catch(it){return}else h.postMessage(l,f.crossDomainIFrame.src)}else v.sendRequest({oncomplete:w,url:f.url,async:!r,headers:s,data:u});g(i)}}function l(n){for(var i=null,u=r.queues,t=0,t=0;t<u.length;t+=1)i=u[t],f(i.qid,n);return!0}function it(i,r){var e=t.push(i,c.createMessage(r));e>=t.get(i).threshold&&u&&n.getState()!=="unloading"&&f(i)}function rt(n){for(var t=null,f=r.queues,e="",i=0,u=0,i=0;i<f.length;i+=1)if(t=f[i],t&&t.modules)for(u=0;u<t.modules.length;u+=1)if(e=t.modules[u],e===n)return t.qid;return s.qid}function ut(n,t){i[n]=window.setTimeout(function r(){f(n);i[n]=window.setTimeout(r,t)},t)}function ft(){for(var n in i)i.hasOwnProperty(n)&&(window.clearTimeout(i[n]),delete i[n]);i={}}function a(){}function et(i){r=i;n.utils.forEach(r.queues,function(i){var r=null;i.qid==="DEFAULT"&&(s=i);i.crossDomainEnabled&&(r=y.query(i.crossDomainFrameSelector),r||n.fail("Cross domain iframe not found"));t.add(i.qid,{url:i.endpoint,threshold:i.maxEvents,serializer:i.serializer,encoder:i.encoder,timerInterval:i.timerInterval||0,crossDomainEnabled:i.crossDomainEnabled||!1,crossDomainIFrame:r});typeof i.timerInterval!="undefined"&&i.timerInterval>0&&ut(i.qid,i.timerInterval)});o.subscribe("configupdated",a);h=!0}function ot(){u&&l(!r.asyncReqOnUnload);o.unsubscribe("configupdated",a);ft();r=null;s=null;h=!1}var r=null,v=n.getService("ajax"),y=n.getService("browser"),p=n.getService("encoder"),e=n.getService("serializer"),o=n.getService("config"),c=n.getService("message"),s=null,i={},u=!0,h=!1,t=function(){function t(n){return typeof i[n]!="undefined"}function f(n,r){return t(n)||(i[n]={data:[],queueId:n,url:r.url,threshold:r.threshold,serializer:r.serializer,encoder:r.encoder,crossDomainEnabled:!!r.crossDomainEnabled,crossDomainIFrame:r.crossDomainIFrame}),i[n]}function o(n){t(n)&&delete i[n]}function r(n){return t(n)?i[n]:null}function u(n){var t=r(n);t!==null&&(t.data=[])}function s(n){var i=null;return t(n)&&(i=r(n).data,u(n)),i}function h(i,u){var f=null,o=null,s=window.tlBridge,h=window.iOSJSONShuttle;if(typeof s!="undefined"&&typeof s.addMessage=="function")o=e.serialize(u),s.addMessage(o);else if(typeof h!="undefined"&&typeof h=="function")o=e.serialize(u),h(o);else if(t(i))return f=r(i),f.data.push(u),f.data=n.redirectQueue(f.data),f.data.length;return 0}var i={};return{exists:t,add:f,remove:o,get:r,clear:u,flush:s,push:h}}();return{init:function(){h||et(o.getServiceConfig("queue")||{})},destroy:function(){ot()},_getQueue:function(n){return t.get(n).data},setAutoFlush:function(n){u=n===!0?!0:!1},flush:function(n){if(!t.exists(n))throw new Error("Queue: "+n+" does not exist!");f(n)},flushAll:function(n){return l(!!n)},post:function(n,i,r){if(r=r||rt(n),!t.exists(r))throw new Error("Queue: "+r+" does not exist!");it(r,i)}}});TLT.addService("browserBase",function(n){"use strict";function a(){h=n.getService("config");o=n.getService("serializer");u=n.getService("config").getServiceConfig("browser")||{};r=u.hasOwnProperty("blacklist")?u.blacklist:[];f=u.hasOwnProperty("customid")?u.customid:[]}function nt(){a();h.subscribe("configupdated",a);o=n.getService("serializer");l=!0}function tt(){h.unsubscribe("configupdated",a);l=!1}function v(n){var t,i,u;if(!n||!n.id||typeof n.id!="string")return!1;for(t=0,i=r.length;t<i;t+=1)if(typeof r[t]=="string"){if(n.id===r[t])return!1}else if(typeof r[t]=="object"&&(u=new RegExp(r[t].regex,r[t].flags),u.test(n.id)))return!1;return!0}function it(n){var i={type:null,subType:null},t;if(!n)return i;t=n.type;switch(t){case"focusin":t="focus";break;case"focusout":t="blur"}return i.type=t,i}function rt(n){var i={type:null,subType:null};return n?(i.type=t.getTagName(n),i.subType=n.type||null,i):i}function ut(n,t,i){var f={HTML_ID:"-1",XPATH_ID:"-2",ATTRIBUTE_ID:"-3"},r,u=null,e;return!n||!t?u:(r=i||window.document,t=t.toString(),t===f.HTML_ID?r.getElementById?u=r.getElementById(n):r.querySelector&&(u=r.querySelector("#"+n)):t===f.ATTRIBUTE_ID?(e=n.split("="),r.querySelector&&(u=r.querySelector("["+e[0]+'="'+e[1]+'"]'))):t===f.XPATH_ID&&(u=s.xpath(n,r)),u)}function ft(n){var t={left:-1,top:-1},i;return n=n||document,i=n.documentElement||n.body.parentNode||n.body,t.left=typeof pageXOffset=="number"?window.pageXOffset:i.scrollLeft,t.top=typeof pageYOffset=="number"?window.pageYOffset:i.scrollTop,t}function y(n){return n&&typeof n.originalEvent!="undefined"&&typeof n.isDefaultPrevented!="undefined"&&!n.isSimulated}function p(n){return n?(n.type&&n.type.indexOf("touch")===0&&(y(n)&&(n=n.originalEvent),n.type==="touchstart"?n=n.touches[n.touches.length-1]:n.type==="touchend"&&(n=n.changedTouches[0])),n):null}function et(n){var i=n||window.event,r=document.documentElement,u=document.body,o=!1,e=null,f=0;if(y(i)&&(i=i.originalEvent),(typeof n=="undefined"||typeof i.target=="undefined")&&(i.target=i.srcElement||window.window,i.timeStamp=Number(new Date),(i.pageX===null||typeof i.pageX=="undefined")&&(i.pageX=i.clientX+(r&&r.scrollLeft||u&&u.scrollLeft||0)-(r&&r.clientLeft||u&&u.clientLeft||0),i.pageY=i.clientY+(r&&r.scrollTop||u&&u.scrollTop||0)-(r&&r.clientTop||u&&u.clientTop||0)),i.preventDefault=function(){this.returnValue=!1},i.stopPropagation=function(){this.cancelBubble=!0}),window.chrome&&i.path!==undefined&&i.type==="click"){if(i.path.length===undefined)return i;for(f=0;f<i.path.length;f++)t.getTagName(i.path[f])==="button"&&(o=!0,e=i.path[f],f=i.path.length);if(o)return{originalEvent:i,target:e,srcElement:e,type:i.type,pageX:document.body.scrollLeft+e.getBoundingClientRect().left,pageY:document.body.scrollTop+e.getBoundingClientRect().top}}return i}function ot(n){var i=null;if(!n)return null;for(n.srcElement?i=n.srcElement:(i=n.target,i||(i=n.explicitOriginalTarget),i||(i=n.originalTarget)),i||n.type.indexOf("touch")!==0||(i=p(n).target);i&&g[t.getTagName(i)];)i=i.parentNode;return i||n.srcElement!==null||(i=window.window),i}function w(n){var r=0,u=0,t=document.documentElement,i=document.body;return n=p(n),n&&(n.pageX||n.pageY?(r=n.pageX,u=n.pageY):(n.clientX||n.clientY)&&(r=n.clientX+(t?t.scrollLeft:i?i.scrollLeft:0)-(t?t.clientLeft:i?i.clientLeft:0),u=n.clientY+(t?t.scrollTop:i?i.scrollTop:0)-(t?t.clientTop:i?i.clientTop:0))),{x:r,y:u}}function b(n,t){this.x=n||0;this.y=t||0}function st(n,t){this.width=n||0;this.height=t||0}function i(n,t){var i,u,r;t=ot(n);i=this.examineID(t);u=rt(t);r=this.examinePosition(n,t);this.element=t;this.id=i.id;this.idType=i.type;this.type=u.type;this.subType=u.subType;this.state=this.examineState(t);this.position=new b(r.x,r.y);this.size=new st(r.width,r.height);this.xPath=i.xPath;this.name=i.name}function ht(){var t=1,i,r,u;if(document.body.getBoundingClientRect){try{i=document.body.getBoundingClientRect()}catch(f){return n.utils.clog("getBoundingClientRect failed.",f),t}r=i.right-i.left;u=document.body.offsetWidth;t=Math.round(r/u*100)/100}return t}function ct(t){var r,i,u,f;if(!t||!t.getBoundingClientRect)return{x:0,y:0,width:0,height:0};try{r=t.getBoundingClientRect();f=ft(document)}catch(e){return n.utils.clog("getBoundingClientRect failed.",e),{x:0,y:0,width:0,height:0}}return i={x:r.left+f.left,y:r.top+f.top,width:r.right-r.left,height:r.bottom-r.top},n.utils.isIE&&(i.x-=document.documentElement.clientLeft,i.y-=document.documentElement.clientTop,u=ht(),u!==1&&(i.x=Math.round(i.x/u),i.y=Math.round(i.y/u),i.width=Math.round(i.width/u),i.height=Math.round(i.height/u))),i}function k(){var t=typeof window.orientation=="number"?window.orientation:0;return n.utils.isLandscapeZeroDegrees&&(Math.abs(t)===180||Math.abs(t)===0?t=90:Math.abs(t)===90&&(t=0)),t}function lt(t){var u,e,o,f,i,r;if(t)return t;o=n.getCoreConfig()||{};i=o.modules;t={};for(r in i)if(i.hasOwnProperty(r)&&i[r].events)for(u=0,e=i[r].events.length;u<e;u+=1)f=i[r].events[u],f.state&&(t[f.name]=f.state);return t}function at(n){var i;return e=lt(e),e[n.type]&&(i=t.getValue(n,e[n.type],null)),i}function d(n){var t,r,u;this.data=n.data||null;this.delegateTarget=n.delegateTarget||null;(n.gesture||n.originalEvent&&n.originalEvent.gesture)&&(this.gesture=n.gesture||n.originalEvent.gesture,this.gesture.idType=new i(this.gesture,this.gesture.target).idType);n=et(n);t=w(n);this.custom=!1;this.nativeEvent=this.custom===!0?null:n;this.position=new b(t.x,t.y);this.target=new i(n,n.target);this.orientation=k();u=at(n);u&&(this.target.state=u);this.timestamp=(new Date).getTime();r=it(n,this.target);this.type=r.type;this.subType=r.subType}function vt(t){n._publishEvent(new d(t))}var e,t=n.utils,g={optgroup:!0,option:!0,nobr:!0},s={},h=n.getService("config"),o=null,u,r,f,c,l=!1;return c=function(){function r(r){for(var h,s=!1,u=null,c=null,o=null,e=[],l=!0,a=n._getLocalTop(),f="";l;)if(l=!1,!t.isUndefOrNull(r)){for(f=t.getTagName(r),t.isUndefOrNull(f)||i.hasOwnProperty(f)&&(r=r.parentNode,f=t.getTagName(r)),s=v(r);r!==document&&!s;s=v(r)){if(o=r.parentNode,o||(c=n.utils.getWindow(r),o=c!==a?c.frameElement:document),u=o.firstChild,typeof u=="undefined")return e;for(h=0;u;u=u.nextSibling)if(u.nodeType===1&&t.getTagName(u)===f){if(u===r){e[e.length]=[f,h];break}h+=1}r=o;f=t.getTagName(r)}s&&(e[e.length]=[r.id],n.utils.isIFrameDescendant(r)&&(l=!0,r=n.utils.getWindow(r).frameElement))}return e}var i={nobr:!0,p:!0};return function(n){var i=r(n),u=[],t=i.length;if(t<1)return"null";while(t)t-=1,u[u.length]=i[t].length>1?'["'+i[t][0]+'",'+i[t][1]+"]":"["+o.serialize(i[t][0],"json")+"]";return"["+u.join(",")+"]"}}(),s.xpath=function(n,i){var e=null,r,u=null,s,f,h,c,l;if(!n||(e=o.parse(n),i=i||document,r=i,!e))return null;for(s=0,c=e.length;s<c&&r;s+=1)if(u=e[s],u.length===1)r=i.getElementById?i.getElementById(u[0]):i.querySelector?i.querySelector("#"+u[0]):null;else{for(f=0,h=-1,l=r.childNodes.length;f<l;f+=1)if(r.childNodes[f].nodeType===1&&t.getTagName(r.childNodes[f])===u[0].toLowerCase()&&(h+=1,h===u[1])){r=r.childNodes[f];break}if(h===-1)return null}return r===i||!r?null:r},i.HTML_ID=-1,i.XPATH_ID=-2,i.ATTRIBUTE_ID=-3,i.prototype.examineID=function(t){var r,u,s,h,e=f.length,o;try{s=c(t)}catch(l){}h=t.name;try{if(!n.utils.isIFrameDescendant(t))if(v(t))r=t.id,u=i.HTML_ID;else if(f.length&&t.attributes)while(e)e-=1,o=t.attributes[f[e]],typeof o!="undefined"&&(r=f[e]+"="+(o.value||o),u=i.ATTRIBUTE_ID)}catch(a){}return r||(r=s,u=i.XPATH_ID),{id:r,type:u,xPath:s,name:h}},i.prototype.examineState=function(i){var s=t.getTagName(i),r={a:["innerText","href"],input:{range:["maxValue:max","value"],checkbox:["value","checked"],radio:["value","checked"],image:["src"]},select:["value"],button:["value","innerText"],textarea:["value"]}[s]||null,f=null,u=null,o=null,e="";if(r!==null){Object.prototype.toString.call(r)==="[object Object]"&&(r=r[i.type]||["value"]);u={};for(e in r)r.hasOwnProperty(e)&&(r[e].indexOf(":")!==-1?(o=r[e].split(":"),u[o[0]]=i[o[1]]):u[r[e]]=r[e]==="innerText"?n.utils.trim(i.innerText||i.textContent):i[r[e]])}return s==="select"&&i.options&&!isNaN(i.selectedIndex)&&(u.index=i.selectedIndex,u.index>=0&&u.index<i.options.length&&(f=i.options[i.selectedIndex],u.value=f.getAttribute("value")||f.getAttribute("label")||f.text||f.innerText,u.text=f.text||f.innerText)),u},i.prototype.examinePosition=function(n,t){var r=w(n),i=ct(t);return i.x=r.x||r.y?Math.round(Math.abs(r.x-i.x)):i.width/2,i.y=r.x||r.y?Math.round(Math.abs(r.y-i.y)):i.height/2,i},{init:function(){l||nt()},destroy:function(){tt()},WebEvent:d,ElementData:i,processDOMEvent:vt,getNormalizedOrientation:k,getXPathFromNode:function(n,t){return c(t)},getNodeFromID:ut,queryDom:s}});TLT.addService("browser",function(n){"use strict";function a(n){return function(t){var i=new h.WebEvent(t);n(i)}}function c(t,i){typeof t[i]!="function"&&n.fail("jQuery Object does not support "+i,u.JQUERY_NOT_SUPPORTED)}function v(){var e=["on","off"],o=["ajax","find","getScript"],r=typeof t=="function"&&typeof t.fn=="object"?t.fn.jquery:0,s=r!==0?parseInt(r.split(".")[0],10):0,l=r!==0?parseInt(r.split(".")[1],10):0,i,f=0,h=null;for(typeof t!="function"&&n.fail("jQuery not found.",u.JQUERY_NOT_FOUND),i=0,f=o.length;i<f;i+=1)c(t,o[i]);for(i=0,f=e.length,h=t({});i<f;i+=1)c(h,e[i]);s>=2||s===1&&l>=7||n.fail("jQuery Object has the wrong version ("+r+")",u.JQUERY_NOT_SUPPORTED)}function y(r){var u=l.useCapture===!0;i.xpath=h.queryDom.xpath;t=r.hasOwnProperty("jQueryObject")?n.utils.access(r.jQueryObject):window.jQuery;v();u&&typeof document.addEventListener=="function"?(f=function(n,i,r){var f=function(n){r(t.event.fix(n))};n.addEventListener(i,f,u)},e=function(n,i,r){var f=function(n){r(t.event.fix(n))};n.removeEventListener(i,f,u)}):(f=function(n,i,r){t(n).on(i,r)},e=function(n,i,r){t(n).off(i,r)});o=!0}var t,i,r,u={JQUERY_NOT_SUPPORTED:"JQUERYNOTSUPPORTED",JQUERY_NOT_FOUND:"JQUERYNOTFOUND"},s=n.getService("config"),h=n.getService("browserBase"),l=s.getServiceConfig("browser")||{},f=null,e=null,o=!1;return i={list2Array:function(n){var r=n.length,i=[],t;if(!n)return i;if(typeof n.length=="undefined")return[n];for(t=0;t<r;t+=1)i[t]=n[t];return i},find:function(n,t,i){return i=i||"css",this.list2Array(this[i](n,t))},css:function(n,i){return i=i||document,t(i).find(n).get()}},r=function(){var t=new n.utils.WeakMap;return{add:function(n){var i=t.get(n)||[a(n),0];return i[1]+=1,t.set(n,i),i[0]},find:function(n){var i=t.get(n);return i?i[0]:null},remove:function(n){var i=t.get(n);i&&(i[1]-=1,i[1]<=0&&t.remove(n))}}}(),{init:function(){o||y(s.getServiceConfig("browser")||{})},destroy:function(){o=!1},getServiceName:function(){return"jQuery"},query:function(n,t,r){try{return i.find(n,t,r)[0]||null}catch(u){return[]}},queryAll:function(n,t,r){try{return i.find(n,t,r)}catch(u){return[]}},loadScript:function(n){t.getScript(n)},subscribe:function(n,i,u,e,o){var s=r.add(u);if(e)t(e).on(n,i,o,s);else f(i,n,s)},unsubscribe:function(n,i,u,f){var o=r.find(u);if(o){try{f?t(f).off(n,i,o):e(i,n,o)}catch(s){}r.remove(u)}},getJQuery:function(){return t}}});TLT.addService("ajax",function(n){"use strict";function e(n){n=n.split("\n");for(var r={},t=0,u=n.length,i=null,t=0;t<u;t+=1)i=n[t].split(": "),r[i[0]]=i[1];return r}function u(n){return function(t,i,r){var u=t,f=!1;i==="success"&&(u=r||t,f=!0);n({headers:e(u.getAllResponseHeaders()),responseText:u.responseText,statusCode:u.status,success:f})}}function o(i){t=i.hasOwnProperty("jQueryObject")?n.utils.access(i.jQueryObject):window.jQuery;r=!0}var i,f=n.getService("config"),s=n.getService("browser"),t,r=!1;return i={init:function(n){var r=parseFloat(t.fn.jquery);this.init=r<=1.7?i["jQuery<=1.7"]:i["jQuery>=1.8"];this.init(n)},"jQuery<=1.7":function(n){n.complete=u(n.oncomplete);delete n.oncomplete;t.ajax(n)},"jQuery>=1.8":function(n){var r=u(n.oncomplete),i;delete n.oncomplete;i=t.ajax(n.url,n);i.always(r)}},{init:function(){r||o(f.getServiceConfig("browser")||{})},destroy:function(){r=!1},sendRequest:function(n){n.type=n.type||"POST";n.processData=n.processData||!1;i.init(n)}}});TLT.addService("domCapture",function(n){"use strict";function s(){t.subscribe("configupdated",f);e=n.getService("message");r=!0}function h(){t.unsubscribe("configupdated",f);r=!1}function c(){return"tlt-"+i.getSerialNumber()}function l(n,t){var r,i;if(n&&n.getElementsByTagName&&t){if(i=n.getElementsByTagName(t),i&&i.length)for(r=i.length-1;r>=0;r-=1)i[r].parentNode.removeChild(i[r]);return n}}function a(n){var t,i=null;return!n||!n.doctype?null:(t=n.doctype,t&&(i="<!DOCTYPE "+t.name+(t.publicId?' PUBLIC "'+t.publicId+'"':"")+(!t.publicId&&t.systemId?" SYSTEM":"")+(t.systemId?' "'+t.systemId+'"':"")+">"),i)}function v(n){var i,t,r,u;if(n&&(r=n.getElementsByTagName("input"),r))for(i=0,u=r.length;i<u;i+=1){t=r[i];switch(t.type){case"checkbox":case"radio":t.checked?t.setAttribute("checked","checked"):t.removeAttribute("checked");break;default:t.setAttribute("value",t.value)}}}function y(n,t){var u,f,e,o,r,i,s;if(n&&n.getElementsByTagName&&t&&t.getElementsByTagName&&(f=n.getElementsByTagName("select"),o=t.getElementsByTagName("select"),f))for(r=0,s=f.length;r<s;r+=1)for(u=f[r],e=o[r],i=0;i<u.options.length;i+=1)i===u.selectedIndex||u.options[i].selected?e.options[i].setAttribute("selected","selected"):e.options[i].removeAttribute("selected")}function p(n){var i,t=null;if(n){i=n.nodeType||-1;switch(i){case 9:t=n.documentElement.outerHTML;break;case 1:t=n.outerHTML;break;default:t=null}}return t}function w(n){var i,t=!1;if(n){i=n.nodeType||-1;switch(i){case 9:case 1:t=!0;break;default:t=!1}}return t}function b(n,t,r){for(var o,p,a,w=["iframe","frame"],b,h,v,f,y,e={frames:[],canvas:[]},l,k,s=0;s<w.length;s+=1)if(a=w[s],l=n.getElementsByTagName(a),k=t.getElementsByTagName(a),l)for(o=0,p=l.length;o<p;o+=1)try{b=l[o];h=i.getIFrameWindow(b);h&&h.document&&(v=h.document,f=u(v,v,r),y=c(),k[o].setAttribute("tltid",y),f.tltid=y,e.frames=e.frames.concat(f.frames),delete f.frames,e.canvas=e.canvas.concat(f.canvas),delete f.canvas,e.frames.push(f))}catch(d){}return e}function k(n){var t,r,i=0;if(!n||!n.root)return i;for(i=n.root.length,t=0,r=n.frames.length;t<r;t+=1)n.frames[t].root&&(i+=n.frames[t].root.length);return i}var t=n.getService("config"),e,r=!1,o=function(){},u=function(){},f=function(){},i=n.utils;return o=function(n){var t=null;return w(n)&&(t=n.cloneNode(!0),!t&&n.documentElement&&(t=n.documentElement.cloneNode(!0))),t},u=function(n,t,r){var f=null,s,h,u={},c;return!n||!t?u:(f=o(t,n),r.removeScripts&&l(f,"script"),y(t,f),v(f),f=e.applyPrivacyToDocument(f),r.captureCanvas&&(s=null),r.captureFrames&&(h=b(t,f,r)),h&&(u=i.mixin(u,h)),s&&(u.canvas||(u.canvas=[]),u.canvas=u.canvas.concat(s)),u.root=(a(t)||"")+p(f),u.charset=n.characterSet||n.charset,c=i.getOriginAndPath(n.location),u.host=c.origin,u.url=c.path,u)},f=function(){t=n.getService("config");s(t.getServiceConfig("domCapture")||{})},{init:function(){t=n.getService("config");r||s(t.getServiceConfig("domCapture")||{})},destroy:function(){h()},captureDOM:function(n,t){var f=null,e=0;return!r||i.isLegacyIE?f:(t&&typeof t=="object"||(t={}),n=n||window.document,f=u(window.document,n,t),t.maxLength&&(e=k(f),e>t.maxLength&&(f={errorCode:101,error:"Captured length ("+e+") exceeded limit ("+t.maxLength+")."})),f)}}});TLT.addService("encoder",function(n){"use strict";function e(t){var i=null;return t?(i=u[t],i&&typeof i.encode=="string"&&(i.encode=n.utils.access(i.encode)),i):i}function f(n){u=n;t.subscribe("configupdated",i);r=!0}function o(){t.unsubscribe("configupdated",i);r=!1}var u={},t=null,i=null,r=!1;return i=function(){t=n.getService("config");f(t.getServiceConfig("encoder")||{})},{init:function(){t=n.getService("config");r||f(t.getServiceConfig("encoder")||{})},destroy:function(){o()},encode:function(t,i){var u,f,r={data:null,encoding:null,error:null};return typeof t!="string"&&!t||!i?(r.error="Invalid "+(t?"type":"data")+" parameter.",r):(u=e(i),!u)?(r.error="Specified encoder ("+i+") not found.",r):typeof u.encode!="function"?(r.error="Configured encoder ("+i+") encode method is not a function.",r):(f=u.encode(t),!f||n.utils.getValue(f,"buffer",null)===null)?(r.error="Encoder ("+i+") returned an invalid result.",r):(r.data=f.buffer,r.encoding=u.defaultEncoding,r)}}});TLT.addService("message",function(n){"use strict";function ht(n){var t="";this.type=n.type;this.offset=(new Date).getTime()-g.getTime();(n.type===2||v===null)&&(v=new Date);this.screenviewOffset=(new Date).getTime()-v.getTime();this.count=d+=1;this.fromWeb=!0;for(t in n)n.hasOwnProperty(t)&&(this[t]=n[t])}function a(i,r){var u=t.PVC_MASK_BASIC;return typeof r!="string"?r:(i?i.maskType===t.PVC_MASK_EMPTY.maskType?u=t.PVC_MASK_EMPTY:i.maskType===t.PVC_MASK_BASIC.maskType?u=t.PVC_MASK_BASIC:i.maskType===t.PVC_MASK_TYPE.maskType?u=t.PVC_MASK_TYPE:i.maskType===t.PVC_MASK_CUSTOM.maskType&&(u=typeof i.maskFunction=="string"?n.utils.access(i.maskFunction):i.maskFunction,typeof u!="function"&&(u=t.PVC_MASK_BASIC)):u=t.PVC_MASK_BASIC,u(r))}function ct(n,t){t&&t.target&&(t.target.prevState&&typeof t.target.prevState!="undefined"&&t.target.prevState.hasOwnProperty("value")&&(t.target.prevState.value=a(n,t.target.prevState.value)),t.target.currState&&typeof t.target.currState!="undefined"&&t.target.currState.hasOwnProperty("value")&&(t.target.currState.value=a(n,t.target.currState.value)))}function lt(n,t){var f,r,u,o,e,s,h,i;if(!n||!t||!t.id)return!1;for(f=0,h=n.length;f<h;f+=1)if(i=n[f],typeof i=="string"){for(u=w.queryAll(i),r=0,o=u?u.length:0;r<o;r+=1)if(u[r]&&(e=y.ElementData.prototype.examineID(u[r]),e.type===t.idType&&e.id===t.id))return!0}else if(i.id&&i.idType&&t.idType.toString()===i.idType.toString())switch(typeof i.id){case"string":if(i.id===t.id)return!0;break;case"object":if(s=new RegExp(i.id.regex,i.id.flags),s.test(t.id))return!0}return!1}function at(n){var t,r,i;if(!n||!n.hasOwnProperty("target"))return n;for(t=0,r=e.length;t<r;t+=1)if(i=e[t],lt(i.targets,n.target)){ct(i,n);break}return n}function vt(n){var r,u,f,t,c,o,s,l,i,h,v;if(!n)return n;for(r=0,c=e.length;r<c;r+=1)for(o=e[r],h=o.targets,u=0,v=h.length;u<v;u+=1)if(i=h[u],typeof i=="string")for(s=w.queryAll(i,n),f=0,l=s.length;f<l;f+=1)t=s[f],t.value&&t.setAttribute("value",a(o,t.value));else typeof i.id=="string"&&(t=y.getNodeFromID(i.id,i.idType,n),t&&t.value&&t.setAttribute("value",a(o,t.value)));return n}function b(){u=n.getService("config");f=u.getServiceConfig("message")||{};e=f.hasOwnProperty("privacy")?f.privacy:[]}function yt(){u.subscribe&&u.subscribe("configupdated",b);p=!0}function pt(){u.unsubscribe("configupdated",b);p=!1}var v=null,k=0,d=0,g=new Date,r=new Date,y=n.getService("browserBase"),w=n.getService("browser"),u=n.getService("config"),f=u.getServiceConfig("message")||{},nt=window.location.href,tt="TODO",it="ID"+r.getHours()+"H"+r.getMinutes()+"M"+r.getSeconds()+"S"+r.getMilliseconds()+"R"+Math.random(),e=f.hasOwnProperty("privacy")?f.privacy:[],t={},h={lower:"x",upper:"X",numeric:"9",symbol:"@"},c=n.utils.isiOS,l=navigator.userAgent.indexOf("Chrome")>-1&&n.utils.isAndroid,o=window.devicePixelRatio||1,i=window.screen?window.screen.width:0,s=window.screen?window.screen.height:0,rt=y.getNormalizedOrientation(),ut=c||l?i:i<=320?i:i/o,ft=c||l?s:i<=320?s:s/o,et=window.screen?window.screen.height-window.screen.availHeight:0,ot=window.innerWidth||document.documentElement.clientWidth,st=window.innerHeight||document.documentElement.clientHeight,p=!1;return t.PVC_MASK_EMPTY=function(){return""},t.PVC_MASK_BASIC=function(n){return typeof n!="string"?"":n.length?"XXXXX":""},t.PVC_MASK_TYPE=function(t){var r,i=0,f=0,u="";if(typeof t!="string")return u;for(r=t.split(""),i=0,f=r.length;i<f;i+=1)u+=n.utils.isNumeric(r[i])?h.numeric:n.utils.isUpperCase(r[i])?h.upper:n.utils.isLowerCase(r[i])?h.lower:h.symbol;return u},t.PVC_MASK_EMPTY.maskType=1,t.PVC_MASK_BASIC.maskType=2,t.PVC_MASK_TYPE.maskType=3,t.PVC_MASK_CUSTOM={maskType:4},{init:function(){p||yt()},destroy:function(){pt()},applyPrivacyToDocument:vt,createMessage:function(n){if(typeof n.type=="undefined")throw new TypeError("Invalid queueEvent given!");return at(new ht(n))},wrapMessages:function(t){var u={messageVersion:"5.0.0.0",serialNumber:k+=1,sessions:[{id:it,startTime:r.getTime(),timezoneOffset:r.getTimezoneOffset(),messages:t,clientEnvironment:{webEnvironment:{libVersion:"4.1.0.1645",page:nt,windowId:tt,screen:{devicePixelRatio:o,deviceOriginalWidth:c||l?i*o:i,deviceOriginalHeight:c||l?s*o:s,deviceWidth:ut,deviceHeight:ft,deviceToolbarHeight:et,width:ot,height:st,orientation:rt}}}}]},f=u.sessions[0].clientEnvironment.webEnvironment.screen;return f.orientationMode=n.utils.getOrientationMode(f.orientation),u}}});TLT.addService("serializer",function(n){"use strict";function u(n){var t,i,r=0;if(typeof n!="object"||n===null)switch(typeof n){case"function":case"undefined":return"null";case"string":return'"'+n.replace(/\"/g,'\\"')+'"';default:return String(n)}else if(Object.prototype.toString.call(n)==="[object Array]")for(t="[",i=0,r=n.length;i<r;i+=1)Object.prototype.hasOwnProperty.call(n,i)&&(t+=u(n[i])+",");else{t="{";for(i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t=t.concat('"',i,'":',u(n[i]),","),r+=1)}return r>0&&(t=t.substring(0,t.length-1)),t+String.fromCharCode(t.charCodeAt(0)+2)}function s(t,i,r){var f,e,u;for(t=t||[],f=0,e=t.length;f<e;f+=1)if(u=t[f],typeof u=="string"&&(u=n.utils.access(u)),typeof u=="function"){i[r]=u;break}}function c(){var n;return typeof i.json!="function"||typeof t.json!="function"?n=!0:(n=typeof t.json('{"foo": "bar"}')=="undefined"?!0:t.json('{"foo": "bar"}').foo!=="bar",typeof t.json("[1, 2]")=="undefined"?n=!0:(n=n||t.json("[1, 2]")[0]!==1,n=n||t.json("[1,2]")[1]!==2),n=n||i.json({foo:"bar"})!=='{"foo":"bar"}',n=n||i.json([1,2])!=="[1,2]"),n}function h(u){for(var h in u)u.hasOwnProperty(h)&&(s(u[h].stringifiers,i,h),s(u[h].parsers,t,h));u.json&&u.json.hasOwnProperty("defaultToBuiltin")&&u.json.defaultToBuiltin!==!0||(i.json=i.json||o.json.serialize,t.json=t.json||o.json.parse);(typeof i.json!="function"||typeof t.json!="function")&&n.fail("JSON parser and/or serializer not provided in the UIC config. Can't continue.");c()&&n.fail("JSON stringification and parsing are not working as expected");r.subscribe&&r.subscribe("configupdated",f);e=!0}function l(){i={};t={};r.unsubscribe("configupdated",f);e=!1}var r=n.getService("config"),i={},t={},o={json:function(){return typeof JSON!="undefined"?{serialize:window.JSON.stringify,parse:window.JSON.parse}:{serialize:u,parse:function(data){return eval("("+data+")")}}}()},f=null,e=!1;return f=function(){r=n.getService("config");h(r.getServiceConfig("serializer")||{})},{init:function(){e||h(r.getServiceConfig("serializer")||{})},destroy:function(){l()},parse:function(n,i){return i=i||"json",t[i](n)},serialize:function(n,t){return t=t||"json",i[t](n)}}});TLT&&typeof TLT.addModule=="function"&&TLT.addModule("overstat",function(n){"use strict";function i(n,t){var i,r;if(!n||typeof n!="object")return null;for(r=t.split("."),i=0;i<r.length;i+=1){if(typeof n=="undefined"||n[r[i]]===null)return null;n=n[r[i]]}return n}function r(t){var r=n.getConfig()||{},i=r[t];return typeof i=="number"?i:v[t]}function y(t,r){var u=i(t,"webEvent.target.element.tagName")||"",e=u.toLowerCase()==="input"?i(t,"webEvent.target.element.type"):"",o=a[u.toLowerCase()+":"+e]||u,f={type:9,event:{hoverDuration:t.hoverDuration,hoverToClick:i(r,"hoverToClick")},target:{id:i(t,"webEvent.target.id")||"",idType:i(t,"webEvent.target.idType")||"",name:i(t,"webEvent.target.name")||"",tlType:o,type:u,subType:e,position:{width:i(t,"webEvent.target.element.offsetWidth")||0,height:i(t,"webEvent.target.element.offsetHeight")||0,relXY:t.gridX+","+t.gridY}}};typeof f.target.id!==undefined&&f.target.id!==""&&n.post(f)}function f(n){return n&&n.element&&(n=n.element),!n||n===document.body||n===document.html||n===document}function e(n){return n?n.element?n.element.parentNode:n.parentNode:null}function u(n){if(!n)return null;var t=n.element?n.element.offsetParent:n.offsetParent;return t||e(n)}function p(n,t){if(!t||t===n)return!1;for(t=e(t);!f(t);){if(t===n)return!0;t=e(t)}return!1}function c(n){return n.nativeEvent&&(n=n.nativeEvent),n}function w(n){return n?n.element||n:null}function b(n){return n?(n.element&&(n=n.element),n.nodeType||-1):-1}function k(n){return n?(n.element&&(n=n.element),n.tagName?n.tagName.toUpperCase():""):""}function o(n){return n&&n.element&&(n=n.element),n}function d(n){var t=k(n);return b(n)!==1||t==="TR"||t==="TBODY"||t==="THEAD"}function g(t){return t?t.xPath?t.xPath:(t=w(t),n.getXPathFromNode(t)):""}function nt(n,i){var r=t[n];if(r&&r[i])return r[i]()}function s(n,i,u,f){this.xPath=n!==null?g(n):"";this.domNode=n;this.hoverDuration=0;this.hoverUpdateTime=0;this.gridX=Math.max(i,0);this.gridY=Math.max(u,0);this.parentKey="";this.updateTimer=-1;this.disposed=!1;this.childKeys={};this.webEvent=f;this.getKey=function(){return this.xPath+":"+this.gridX+","+this.gridY};this.update=function(){var n=(new Date).getTime(),t=this.getKey();this.hoverUpdateTime!==0&&(this.hoverDuration+=n-this.hoverUpdateTime);this.hoverUpdateTime=n;clearTimeout(this.updateTimer);this.updateTimer=setTimeout(function(){nt(t,"update")},r("UPDATE_INTERVAL"))};this.dispose=function(n){if(clearTimeout(this.updateTimer),delete t[this.getKey()],this.disposed=!0,n){var i=this.clone();t[i.getKey()]=i;i.update()}};this.process=function(n){if(clearTimeout(this.updateTimer),this.disposed)return!1;var u=!1,i=this;if(this.hoverDuration>=r("HOVER_THRESHOLD_MIN"))for(this.hoverDuration=Math.min(this.hoverDuration,r("HOVER_THRESHOLD_MAX")),u=!0,y(this,{hoverToClick:!!n});typeof i!="undefined";)i.dispose(n),i=t[i.parentKey];else this.dispose(n);return u};this.clone=function(){var n=new s(this.domNode,this.gridX,this.gridY);return n.parentKey=this.parentKey,n}}function tt(n,t,i,r){return new s(n,t,i,r)}function it(n){if(n&&n.position)return{x:n.position.x,y:n.position.y};n=o(n);for(var i=n.offsetLeft,r=n.offsetTop,h=i,c=r,e=0,s=0,t=u(n);t;){if(f(t))break;e=t.offsetLeft-(t.scrollLeft||0);s=t.offsetTop-(t.scrollTop||0);(e!==h||s!==c)&&(i+=e,r+=s,h=e,c=s);t=u(t)}return isNaN(i)&&(i=0),isNaN(r)&&(r=0),{x:i,y:r}}function rt(n,t,i){n=o(n);var f=it(n),r=t-f.x,u=i-f.y;return isFinite(r)||(r=0),isFinite(u)||(u=0),{x:r,y:u}}function ut(n,t,i){n=o(n);var e=n.offsetWidth>0?Math.max(n.offsetWidth/r("GRIDCELL_MAX_X"),r("GRIDCELL_MIN_WIDTH")):r("GRIDCELL_MIN_WIDTH"),s=n.offsetHeight>0?Math.max(n.offsetHeight/r("GRIDCELL_MAX_X"),r("GRIDCELL_MIN_HEIGHT")):r("GRIDCELL_MIN_HEIGHT"),u=Math.floor(t/e),f=Math.floor(i/s);return isFinite(u)||(u=0),isFinite(f)||(f=0),{x:u,y:f}}function l(n){var i=n,f=n.getKey(),u={},r=null;for(u[f]=!0;typeof i!="undefined";){if(u[i.parentKey]=!0,i.parentKey===""||i.parentKey===i.getKey())break;i=t[i.parentKey]}for(r in t)t.hasOwnProperty(r)&&!u[r]&&(i=t[r],i&&i.process())}function ft(n,i){var r=null;for(var u in t)t.hasOwnProperty(u)&&(r=t[u],r.domNode===n&&r.getKey()!==i&&r.process())}function h(i,r,e){if((r||(r=i.target),f(r))||n.utils.isiOS||n.utils.isAndroid)return null;var a,v,o,c,y,p,w;return d(r)?o=h(i,u(r),e):(a=rt(r,i.position.x,i.position.y),v=ut(r,a.x,a.y),o=new s(r,v.x,v.y,i),c=o.getKey(),t[c]?o=t[c]:t[c]=o,o.update(),e||(w=u(r),w&&(p=h(i,w,!0),p!==null&&(y=p.getKey(),c=o.getKey(),c!==y&&(o.parentKey=y))),l(o))),o}function et(n){(n=c(n),p(n.target,n.relatedTarget))||ft(n.target)}function ot(){var n=null;for(var i in t)t.hasOwnProperty(i)&&(n=t[i],n.process(!0))}function st(n){var t=i(n,"target.id");if(t)switch(n.type){case"mousemove":h(n);break;case"mouseout":et(n);break;case"click":ot(n)}}var a={"input:radio":"radioButton","input:checkbox":"checkBox","input:text":"textBox","input:password":"textBox","input:file":"fileInput","input:button":"button","input:submit":"submitButton","input:reset":"resetButton","input:image":"image","input:color":"color","input:date":"date","input:datetime":"datetime","input:datetime-local":"datetime-local","input:number":"number","input:email":"email","input:tel":"tel","input:search":"search","input:url":"url","input:time":"time","input:week":"week","input:month":"month","textarea:":"textBox","select:":"selectList","button:":"button","a:":"link"},t={},v={UPDATE_INTERVAL:250,HOVER_THRESHOLD_MIN:1e3,HOVER_THRESHOLD_MAX:12e4,GRIDCELL_MAX_X:10,GRIDCELL_MAX_Y:10,GRIDCELL_MIN_WIDTH:20,GRIDCELL_MIN_HEIGHT:20};return{init:function(){},destroy:function(){var n;for(n in t)t.hasOwnProperty(n)&&(t[n].dispose(),delete t[n])},onevent:function(n){typeof n=="object"&&n.type&&st(n)},onmessage:function(){},createHoverEvent:tt,cleanupHoverEvents:l,eventMap:t}});TLT&&typeof TLT.addModule=="function"&&TLT.addModule("performance",function(n){"use strict";function r(n,t){return typeof n!="string"?!1:!t||typeof t!="object"?!1:t[n]===!0}function u(n,t){var f=0,e={},i="",u=0;if(!n||typeof n!="object"||!n.navigationStart)return{};f=n.navigationStart;for(i in n)(Object.prototype.hasOwnProperty.call(n,i)||typeof n[i]=="number")&&(r(i,t)||(u=n[i],e[i]=typeof u=="number"&&u&&i!=="navigationStart"?u-f:u));return e}function f(t){var u=0,i,r,f=n.utils;return t&&(i=t.responseEnd>0&&t.responseEnd<t.domLoading?t.responseEnd:t.domLoading,r=t.loadEventStart,f.isNumeric(i)&&f.isNumeric(r)&&r>i&&(u=r-i)),u}function e(t){var r=n.getStartTime();t.timestamp>r&&!i&&(i=t.timestamp-r)}function o(r){var s=n.getConfig()||{},o="UNKNOWN",e={type:7,performance:{}},h,l,c;if(r&&!t.perfEventSent){if(l=r.performance||{},c=l.timing,h=l.navigation,c)e.performance.timing=u(c,s.filter),e.performance.timing.renderTime=f(c);else if(s.calculateRenderTime)e.performance.timing={renderTime:i,calculated:!0};else return;if(s.renderTimeThreshold&&e.performance.timing.renderTime>s.renderTimeThreshold&&(e.performance.timing.invalidRenderTime=e.performance.timing.renderTime,delete e.performance.timing.renderTime),h){switch(h.type){case 0:o="NAVIGATE";break;case 1:o="RELOAD";break;case 2:o="BACKFORWARD";break;default:o="UNKNOWN"}e.performance.navigation={type:o,redirectCount:h.redirectCount}}n.post(e);t.perfEventSent=!0}}var t={loadReceived:!1,unloadReceived:!1,perfEventSent:!1},i=0;return{init:function(){},destroy:function(){},onevent:function(n){if(typeof n=="object"&&n.type)switch(n.type){case"load":t.loadReceived=!0;e(n);break;case"unload":t.unloadReceived=!0;t.perfEventSent||o(window)}},onmessage:function(){}}});TLT.addModule("replay",function(n){"use strict";function yt(n){var t=!1,i=null;if(typeof n!="object"||!n.type)return t;switch(n.type.toLowerCase()){case"input":i="|"+(n.subType||"")+"|";t="|button|image|submit|reset|checkbox|radio|".indexOf(i.toLowerCase())===-1?!1:!0;break;case"select":case"textarea":t=!1;break;default:t=!0}return t}function gt(n){var t=[];for(n=n.parentNode;n;)t.push(n),n=n.parentNode;return t}function ni(n){return t.some(n,function(n){var i=t.getTagName(n);return i==="a"||i==="button"?n:null})}function ti(n){var t=n.type,i=n.target;if(t=typeof t=="string"?t.toLowerCase():"unknown",t==="blur"&&(t="focusout"),t==="change")if(i.type==="INPUT")switch(i.subType){case"text":case"date":case"time":t=i.subType+"Change";break;default:t="valueChange"}else t=i.type==="TEXTAREA"?"textChange":"valueChange";return t}function ii(i,r,u){var f=null;return i?(r=r||{},r.eventOn=st,st=!1,u?(f="dcid-"+t.getSerialNumber()+"."+(new Date).getTime()+"s",window.setTimeout(function(){r.dcid=f;n.performDOMCapture(i,r)},u)):(delete r.dcid,f=n.performDOMCapture(i,r)),f):f}function p(i,r,u){var e,h=!1,l,a=!1,f,o,s=null,v=0,y;if(!i||!r&&!u||!r&&!(i==="load"||i==="unload")||(c=n.getConfig()||{},a=t.getValue(c,"domCapture.enabled",!1),!a||t.isLegacyIE))return s;for(o=t.getValue(c,"domCapture.triggers")||[],e=0,y=o.length;e<y;e+=1)if(f=o[e],f.event===i&&(h=i==="load"||i==="unload"?f.screenviews?-1!==t.indexOf(f.screenviews,u):!0:f.targets?-1!==t.matchTarget(f.targets,r):!0),h){l=t.getValue(c,"domCapture.options",{});v=f.delay||0;s=ii(window.document,l,v);break}return s}function ri(n){var i,f,r=t.getValue(n,"webEvent.target",{}),e=r.type,o=r.subType||"",c=bt[e.toLowerCase()+":"+o.toLowerCase()]||e,l=gt(t.getValue(r,"element")),u=null,s=t.getValue(r,"position.relXY"),h=t.getValue(n,"webEvent.subType",null);return i={type:4,target:{id:r.id||"",idType:r.idType,name:r.name,tlType:c,type:e,position:{width:t.getValue(r,"element.offsetWidth"),height:t.getValue(r,"element.offsetHeight")},currState:n.currState||null},event:{tlEvent:ti(t.getValue(n,"webEvent")),type:t.getValue(n,"webEvent.type","UNKNOWN")}},o&&(i.target.subType=o),s&&(i.target.position.relXY=s),typeof n.dwell=="number"&&n.dwell>0&&(i.target.dwell=n.dwell),typeof n.visitedCount=="number"&&(i.target.visitedCount=n.visitedCount),typeof n.prevState!="undefined"&&(i.prevState=n.prevState),h&&(i.event.subType=h),u=ni(l),i.target.isParentLink=!!u,u&&(u.href&&(i.target.currState=i.target.currState||{},i.target.currState.href=i.target.currState.href||u.href),u.value&&(i.target.currState=i.target.currState||{},i.target.currState.value=i.target.currState.value||u.value),(u.innerText||u.textContent)&&(i.target.currState=i.target.currState||{},i.target.currState.innerText=t.trim(i.target.currState.innerText||u.innerText||u.textContent))),t.isUndefOrNull(i.target.currState)&&delete i.target.currState,t.isUndefOrNull(i.target.name)&&delete i.target.name,(i.event.type!=="click"||yt(r))&&(f=p(i.event.type,r),f&&(i.dcid=f)),i}function nt(t){n.post(t)}function pt(t){for(var u=0,f,o=t.length,i,r,s,h={mouseout:!0,mouseover:!0},e=[],u=0;u<o;u+=1)if(i=t[u],i)if(h[i.event.type])e.push(i);else{for(f=u+1;f<o&&t[f];f+=1)if(!h[t[f].event.type])break;f<o&&(r=t[f],r&&i.target.id===r.target.id&&i.event.type!==r.event.type&&(i.event.type==="click"&&(s=i,i=r,r=s),r.event.type==="click"?(i.target.position=r.target.position,u+=1):r.event.type==="blur"&&(i.target.dwell=r.target.dwell,i.target.visitedCount=r.target.visitedCount,i.focusInOffset=r.focusInOffset,i.target.position=r.target.position,u+=1),t[f]=null,t[u]=i));e.push(t[u])}for(i=e.shift();i;i=e.shift())n.post(i);t.splice(0,t.length)}function ut(n,i){e=i;e.inFocus=!0;typeof r[n]=="undefined"&&(r[n]={});r[n].focus=e.dwellStart=Number(new Date);r[n].focusInOffset=it?e.dwellStart-Number(it):-1;r[n].prevState=t.getValue(i,"target.state");r[n].visitedCount=r[n].visitedCount+1||1}function ft(n,r){i.push(ri({webEvent:n,id:r,currState:t.getValue(n,"target.state")}))}function et(n,u){var s=!1,h,f,o=0;if(typeof n!="undefined"&&n!==null&&typeof u!="undefined"&&u!==null){if(typeof r[n]!="undefined"&&r[n].hasOwnProperty("focus")?r[n].dwell=Number(new Date)-r[n].focus:(r[n]={},r[n].dwell=0),i.length===0){if(!e.inFocus)return;ft(u,n)}if(e.inFocus=!1,i[i.length-1])for(o=i.length-1;o>=0;o--)i[o].target.visitedCount=r[n].visitedCount;f=i[i.length-1];f&&(f.target.dwell=r[n].dwell,f.focusInOffset=r[n].focusInOffset,f.target.visitedCount=r[n].visitedCount,f.event.type==="click"?yt(f.target)||(f.target.currState=t.getValue(u,"target.state"),s=!0):f.event.type==="focus"&&(s=!0),s&&(f.event.type="blur",f.event.tlEvent="focusout",h=p(f.event.type,u.target),h&&(f.dcid=h)));pt(i)}}function ui(n,t){var u=!1,f=i.length,r=f>0?i[f-1]:null;return r?(r.target.id!==n&&r.target.tltype!=="selectList"&&(t.type==="focus"||t.type==="click"||t.type==="change")&&(et(r.target.id,r),u=!0),u):u}function wt(n,t){typeof r[n]=="undefined"||r[n].hasOwnProperty("focus")||ut(n,t);ft(t,n);typeof r[n]!="undefined"&&typeof r[n].prevState!="undefined"&&(i[i.length-1].target.tlType==="textBox"||i[i.length-1].target.tlType==="selectList")&&(i[i.length-1].target.prevState=r[n].prevState)}function fi(n){var r=n.target.position.x,u=n.target.position.y,f=n.target.size.width,e=n.target.size.height,t=Math.abs(r/f).toFixed(1),i=Math.abs(u/e).toFixed(1);return t=t>1||t<0?.5:t,i=i>1||i<0?.5:i,t+","+i}function ei(n,r){var f,o=!0,u=0;if(r.target.type==="select"&&k&&k.target.id===n){k=null;return}e.inFocus||ut(n,r);u=i.length;u&&t.getValue(i[u-1],"event.type")!=="change"&&wt(n,r);f=fi(r);u=i.length;r.position.x===0&&r.position.y===0&&u&&t.getValue(i[u-1],"target.tlType")==="radioButton"?o=!1:r.target.position.relXY=f;u&&t.getValue(i[u-1],"target.id")===n?o&&(i[u-1].target.position.relXY=f):ft(r,n);k=r}function oi(n){var i=n.orientation,r={type:4,event:{type:"orientationchange"},target:{prevState:{orientation:o,orientationMode:t.getOrientationMode(o)},currState:{orientation:i,orientationMode:t.getOrientationMode(i)}}};nt(r);o=i}function si(){var n;return n=d-g,isNaN(n)?"INVALID":n<0?"CLOSE":n>0?"OPEN":"NONE"}function hi(n){var i=document.documentElement,u=document.body,r={type:1,clientState:{pageWidth:document.width||(i?i.offsetWidth:0),pageHeight:Math.max(document.height?document.height:0,i?i.offsetHeight:0,i?i.scrollHeight:0),viewPortWidth:window.innerWidth||i.clientWidth,viewPortHeight:window.innerHeight||i.clientHeight,viewPortX:window.pageXOffset||(i?i.scrollLeft||0:u?u.scrollLeft:0),viewPortY:window.pageYOffset||(i?i.scrollTop||0:u?u.scrollTop:0),deviceOrientation:t.getValue(n,"orientation",0),event:t.getValue(n,"type")}},f=1,e=1;return a=a||r,f=Math.abs(r.clientState.deviceOrientation)===90?lt||at?rt-h:y<=320?rt-h:rt/vt-h:lt||at?y+h:y<=320?y-h:y/vt-h,e=r.clientState.viewPortWidth===0?1:f/r.clientState.viewPortWidth,r.clientState.deviceScale=(e-.02).toFixed(3),r.clientState.viewTime=0,v&&s&&(r.clientState.viewTime=s.getTime()-v.getTime()),n.type==="scroll"&&(r.clientState.viewPortXStart=a.clientState.viewPortX,r.clientState.viewPortYStart=a.clientState.viewPortY),r}function f(){u&&(nt(u),a=u,u=null,v=ct||v,s=null)}function w(n){var i=null;return u=hi(n),n.type==="scroll"||n.type==="resize"?(f.timeoutId&&(window.clearTimeout(f.timeoutId),f.timeoutId=0),f.timeoutId=window.setTimeout(f,t.getValue(c,"scrollTimeout",2e3))):n.type==="touchstart"||n.type==="load"?u&&(g=parseFloat(u.clientState.deviceScale)):n.type==="touchend"&&u&&(d=parseFloat(u.clientState.deviceScale),f()),(n.type==="load"||n.type==="unload")&&(n.type==="unload"&&ht&&(i=t.clone(u),i.clientState.event="attention",i.clientState.viewTime=(new Date).getTime()-ht),f(),i&&(u=i,f())),u}function ci(n){var i=t.getValue(n,"nativeEvent.touches.length",0);i===2&&w(n)}function li(n){var u,f={},e=t.getValue(n,"nativeEvent.rotation",0)||t.getValue(n,"nativeEvent.touches[0].webkitRotationAngle",0),o=t.getValue(n,"nativeEvent.scale",1),i=null,r={type:4,event:{type:"touchend"},target:{id:t.getValue(n,"target.id"),idType:t.getValue(n,"target.idType")}};(u=t.getValue(n,"nativeEvent.changedTouches.length",0)+t.getValue(n,"nativeEvent.touches.length",0),u===2)&&(w(n),i={rotation:e?e.toFixed(2):0,scale:d?d.toFixed(2):1},i.pinch=si(),f.scale=g?g.toFixed(2):1,r.target.prevState=f,r.target.currState=i,nt(r))}function ai(n,i){var o=["type","target.id"],f=null,u,s,r=!0,e=0,h=0,c=0;for(n&&i&&typeof n=="object"&&typeof i=="object"||(r=!1),u=0,s=o.length;r&&u<s;u+=1)if(f=o[u],t.getValue(n,f)!==t.getValue(i,f)){r=!1;break}return r&&(h=t.getValue(n,"timestamp"),c=t.getValue(i,"timestamp"),isNaN(h)&&isNaN(c)||(e=Math.abs(t.getValue(n,"timestamp")-t.getValue(i,"timestamp")),(isNaN(e)||e>10)&&(r=!1))),r}function vi(){var n=window.location.hash;n!==b&&(b&&TLT.logScreenviewUnload(b),n&&TLT.logScreenviewLoad(n),b=n)}function yi(n){var r={type:4,event:{type:n.type},target:{id:t.getValue(n,"target.id"),idType:t.getValue(n,"target.idType"),currState:t.getValue(n,"target.state")}},i;i=p(n.type,n.target);i&&(r.dcid=i);nt(r)}function pi(n){var i=t.getValue(c,"geolocation"),r;i&&i.enabled&&(r=i.triggers||[],r.length)&&r[0].event===n&&TLT.logGeolocation()}var bt={"a:":"link","button:button":"button","button:submit":"button","input:button":"button","input:checkbox":"checkBox","input:color":"colorPicker","input:date":"datePicker","input:datetime":"datetimePicker","input:datetime-local":"datetime-local","input:email":"emailInput","input:file":"fileInput","input:image":"image","input:month":"month","input:number":"numberPicker","input:password":"textBox","input:radio":"radioButton","input:range":"slider","input:reset":"resetButton","input:search":"searchBox","input:submit":"submitButton","input:tel":"tel","input:text":"textBox","input:time":"timePicker","input:url":"urlBox","input:week":"week","select:":"selectList","select:select-one":"selectList","textarea:":"textBox","textarea:textarea":"textBox"},t=n.utils,o=0,l={scale:0,timestamp:0},r={},b=window.location.hash,ot=null,i=[],st=!0,u=null,a=null,kt=0,ht=(new Date).getTime(),tt=null,it=null,v=null,s=null,ct=null,dt=null,e={inFocus:!1},k=null,lt=t.isiOS,at=navigator.userAgent.indexOf("Chrome")>-1&&t.isAndroid,vt=window.devicePixelRatio||1,y=window.screen?window.screen.width:0,rt=window.screen?window.screen.height:0,h=window.screen?window.screen.height-window.screen.availHeight:0,c=n.getConfig()||{},d=1,g=1;return typeof onerror!="function"&&(window.onerror=function(t,i,r){var u=null;typeof t=="string"&&(r=r||-1,u={type:6,exception:{description:t,url:i,line:r}},kt+=1,n.post(u))}),{init:function(){i=[]},destroy:function(){et(ot);i=[]},onevent:function(n){var u=null,f=null,e,h;if(typeof n=="object"&&n.type){if(ai(n,tt)){tt=n;return}tt=n;u=t.getValue(n,"target.id");Object.prototype.toString.call(r[u])!=="[object Object]"&&(r[u]={});ui(u,n);dt=new Date;switch(n.type){case"hashchange":vi();break;case"focus":f=ut(u,n);break;case"blur":f=et(u,n);break;case"click":f=ei(u,n);break;case"change":f=wt(u,n);break;case"orientationchange":f=oi(n);break;case"touchstart":ci(n);break;case"touchend":f=li(n);break;case"loadWithFrames":TLT.logScreenviewLoad("rootWithFrames");break;case"load":o=n.orientation;v=new Date;(typeof window.orientation!="number"||t.isAndroid)&&(h=window.screen.width>window.screen.height?90:0,e=window.orientation,Math.abs(e)===h||e===180&&h===0||(t.isLandscapeZeroDegrees=!0,Math.abs(e)===180||Math.abs(e)===0?o=90:Math.abs(e)===90&&(o=0)));w(n);pi(n.type);TLT.logScreenviewLoad("root");break;case"screenview_load":it=new Date;f=p("load",null,n.name);break;case"screenview_unload":f=p("unload",null,n.name);break;case"resize":case"scroll":s||(s=new Date);ct=new Date;w(n);break;case"unload":i!==null&&pt(i);s=new Date;w(n);TLT.logScreenviewUnload("root");break;default:yi(n)}return ot=u,f}},onmessage:function(){}}});TLT.addModule("saas",function(){"use strict";var n=function(){if(typeof TLT.getCoreConfig().modules.saas!="undefined"){for(var n in TLT.getCoreConfig().modules.saas)TLT.getCoreConfig().modules.saas.hasOwnProperty(n)&&typeof n=="string"&&typeof TLT.getCoreConfig().modules.saas[n]=="string"&&(this[n]=TLT.getCoreConfig().modules.saas[n],document.cookie=n+"="+this[n]);this.get=function(n){return typeof n!="string"||typeof this=="undefined"?"SaaS Data undefined or key is not a string":typeof this[n]=="undefined"?"Key does not exist within saasData":this[n]};this.set=function(n,t){return typeof n!="string"||typeof t!="string"||typeof this=="undefined"||n==="get"||n==="set"||n==="toSaasString"||n==="clear"||n==="remove"?!1:(this[n]=t,document.cookie=n+"="+t,!0)};this.clear=function(){for(var n in this)this.hasOwnProperty(n)&&n!=="get"&&n!=="set"&&n!=="toSaasString"&&n!=="clear"&&n!=="remove"&&(document.cookie=n+"=; expires=Thu, 01 Jan 1970 00:00:01 GMT;",delete this[n]);return};this.remove=function(n){this.hasOwnProperty(n)&&n!=="get"&&n!=="set"&&n!=="toSaasString"&&n!=="clear"&&n!=="remove"&&(document.cookie=n+"=; expires=Thu, 01 Jan 1970 00:00:01 GMT;",delete this[n]);return};this.toSaasString=function(){var t="";for(var n in this)this.hasOwnProperty(n)&&typeof this.get(n)=="string"&&(t+=n+"="+this.get(n)+";");return t}}},t=new n;return{init:function(){TLT.saasData=t},destroy:function(){},onevent:function(){}}});TLT.init({services:{browser:{jQueryObject:"window.jQuery"},queue:{queues:[{qid:"DEFAULT",endpoint:"/ual/format/js/tealeaf/tealeaftarget.aspx",maxEvents:30,timerinterval:0}],asyncReqOnUnload:!1},message:{privacy:[{targets:['[data-privacy="no-capture"]'],maskType:3}]},serializer:{json:{defaultToBuiltin:!0,parsers:[],stringifiers:[]}}},core:{modules:{performance:{enabled:!0,events:[{name:"load",target:window},{name:"unload",target:window}]},replay:{enabled:!0,events:[{name:"load",target:window},{name:"unload",target:window},{name:"click",recurseFrames:!0},{name:"focus",target:"input, select, textarea, button",recurseFrames:!0},{name:"blur",target:"input, select, textarea, button",recurseFrames:!0},{name:"change",target:changeTarget,recurseFrames:!0},{name:"resize",target:window},{name:"scroll",target:window},{name:"hashchange",target:window},{name:"orientationchange",target:window},{name:"touchend"},{name:"touchstart"}]}},sessionData:{sessionCookieName:"TLTSID"}},modules:{performance:{calculateRenderTime:!0,renderTimeThreshold:6e5,filter:{navigationStart:!0,unloadEventStart:!0,unloadEventEnd:!0,redirectStart:!0,redirectEnd:!0,fetchStart:!0,domainLookupStart:!0,domainLookupEnd:!0,connectStart:!0,connectEnd:!0,secureConnectionStart:!0,requestStart:!0,responseStart:!0,responseEnd:!0,domLoading:!0,domInteractive:!0,domContentLoadedEventStart:!0,domContentLoadedEventEnd:!0,domComplete:!0,loadEventStart:!0,loadEventEnd:!0}},replay:{}}})