var TLT=function(){"use strict";function p(n,t,i){var e=null,s=TLT.getService("queue"),o=TLT.getModule("replay"),r=null,u=window.location,f=u.origin||null;if(t&&typeof t=="string"){if(i&&typeof i=="string"||(i=""),f||(f=(u.protocol||"")+"//"+(u.host||"")),e={type:2,screenview:{type:n,name:t,url:u.pathname,host:f,referrer:i}},n==="LOAD"?r={type:"screenview_load"}:n==="UNLOAD"&&(r={type:"screenview_unload"}),r&&o)o.onevent(r);(n==="LOAD"||n==="UNLOAD")&&s.post("",e,"DEFAULT")}}var k=(new Date).getTime(),r={},u={},o=!1,f=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}(),w=null,h={config:["getConfig","updateConfig","getCoreConfig","updateCoreConfig","getModuleConfig","updateModuleConfig","getServiceConfig","updateServiceConfig"],queue:["post","setAutoFlush","flushAll"],browserBase:["processDOMEvent"]},v=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={},b=function(){},e=null,c=!0,i=null,l=!1,y=!1,a=navigator.userAgent.indexOf("iPhone")>-1||navigator.userAgent.indexOf("iPod")>-1||navigator.userAgent.indexOf("iPad")>-1,n={getStartTime:function(){return k},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)),b(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 f},destroy:function(n){var i="",a="",v=null,r=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(r in u)u.hasOwnProperty(r)&&(h=u[r].instance,h&&typeof h.destroy=="function"&&h.destroy(),u[r].instance=null);if(s.clearCache(),t={},o=!1,c=!0,f="destroyed",typeof e=="function")try{e("destroyed")}catch(p){}},_updateModules:function(t){var u=this.getCoreConfig(),f=this.getService("browser"),e=null,i=null;if(u&&f&&u.modules)try{for(i in u.modules)u.modules.hasOwnProperty(i)&&(e=u.modules[i],r.hasOwnProperty(i)?(e.enabled===!1?this.stop(i):this.start(i),e.events&&f!==null&&this._registerModuleEvents(i,e.events,t)):f.loadScript&&f.loadScript(u.moduleBase+i+".js"));this._registerModuleEvents.clearCache()}catch(o){return n.destroy(),!1}else return!1;return!0},rebind:function(t){n._updateModules(t)},getSessionData:function(){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)},logCustomEvent:function(n,t){var i=null,r=this.getService("queue");n&&typeof n=="string"||(n="CUSTOM");t=t||{};i={type:5,customEvent:{name:n,data:t}};r.post("",i,"DEFAULT")},logExceptionEvent:function(n,t,i){var r=null,u=this.getService("queue");n&&typeof n=="string"&&(t=t||"",i=i||"",r={type:6,exception:{description:n,url:t,line:i}},u.post("",r,"DEFAULT"))},logScreenviewLoad:function(n,t,i){p("LOAD",n,t,i)},logScreenviewUnload:function(n){p("UNLOAD",n)},_hasSameOrigin:function(n){try{return n.document.location.host===document.location.host&&n.document.location.protocol===document.location.protocol}catch(t){}return!1},_registerModuleEvents:function(){function f(u,f,e){var a=n.getService("browserBase"),h=n.getService("browser"),s=n.utils.getDocument(e),l=n._getLocalTop(),y=n.utils.isIFrameDescendant(e),o,c;if(e=e||s,v.normalizeModuleEvents(u,f,l,s),y&&(o=a.ElementData.prototype.examineID(e).id,typeof o=="string")){o=o.slice(0,o.length-1);for(c in t)t.hasOwnProperty(c)&&c.indexOf(o)!==-1&&delete t[c]}n.utils.forEach(f,function(f){var c=r(f.target,l,s)||s,v=r(f.delegateTarget,l,s),o="";f.recurseFrames!==!0&&y||(typeof c=="string"?f.delegateTarget&&n.getFlavor()==="jQuery"?(o=n._buildToken4delegateTarget(f.name,c,f.delegateTarget),t.hasOwnProperty(o)?t[o].push(u):(t[o]=[u],t[o].target=c,t[o].delegateTarget=v,h.subscribe(f.name,c,n._publishEvent,v,o))):n.utils.forEach(h.queryAll(c,e),function(r){var e=i.get(r);(e||(e=a.ElementData.prototype.examineID(r),i.set(r,e)),o=f.name+"|"+e.id+e.type,n.utils.indexOf(t[o],u)===-1)&&(t[o]=t[o]||[],t[o].push(u),t[o].target=r,h.subscribe(f.name,r,n._publishEvent))}):(o=n._buildToken4bubbleTarget(f.name,c,typeof f.target=="undefined"),t.hasOwnProperty(o)?n.utils.indexOf(t[o],u)===-1&&t[o].push(u):(t[o]=[u],h.subscribe(f.name,c,n._publishEvent))),o!==""&&typeof c!="string"&&(t[o].target=c))})}function e(t){var i=n.utils.getIFrameWindow(t);return i&&n._hasSameOrigin(i)&&i.document&&i.document.readyState==="complete"}function u(t,r,u){if(u=u||n._getLocalTop().document,i=i||new n.utils.WeakMap,f(t,r,u),t!=="performance")for(var o=null,c=null,v=n.getService("browser"),l=v.queryAll("iframe, frame",u),h=0,a=l.length;h<a;h+=1)(o=l[h],s(o))||(e(o)&&(c=n.utils.getIFrameWindow(o),n._registerModuleEvents(t,r,c.document)),function(t,i,r){var u=null,f={moduleName:t,moduleEvents:i,hIFrame:r,_registerModuleEventsDelayed:function(){var u=null;s(r)||(u=n.utils.getIFrameWindow(r),n._hasSameOrigin(u)&&n._registerModuleEvents(t,i,u.document))}};n.utils.addEventListener(r,"load",function(){f._registerModuleEventsDelayed()});n.utils.isLegacyIE&&(u=n.utils.getIFrameWindow(r),u&&u.document&&n.utils.addEventListener(u.document,"readystatechange",function(){f._registerModuleEventsDelayed()}))}(t,r,o))}var i,r=function(n,t,i){return n==="window"?t:n==="document"?i:n};return u.clearCache=function(){i&&(i.clear(),i=null)},u}(),_buildToken4currentTarget:function(n){var t=n.nativeEvent?n.nativeEvent.currentTarget:null,i=t?this.getService("browserBase").ElementData.prototype.examineID(t):{id:n.target.id,type:n.target.idType};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()},_handleTouchStart:function(t){var r,u;if(a)return!1;if(i===null)return i=t,!0;for(r=0;r<i.nativeEvent.touches.length;r+=1)for(u=0;u<t.nativeEvent.touches.length;u+=1)if(i.nativeEvent.touches[r]===t.nativeEvent.touches[u])return!0;return n._prepNonIosTouchEnd(),i=t,!0},_handleTouchMove:function(n){a||(i=n)},_handleTouchScroll:function(n){return a?!1:(i!==null&&n.type==="scroll"&&(i.target.position.x=n.target.position.x,i.target.position.y=n.target.position.y,l=!0),!0)},_prepNonIosTouchEnd:function(){var t=!1;return i!==null&&(i.type="touchend",i.nativeEvent.type="touchend",n._publishEvent(i),l&&(i.type="scroll",i.nativeEvent.type="scroll",y=!0,n._publishEvent(i)),t=!0),i=null,l=!1,y=!1,t},_publishEvent:function(r){var o=null,s=null,u=r.delegateTarget&&r.data?r.data:n._buildToken4currentTarget(r),c=null,h,k,d,e=null,p=!1,b=!1,g=n.getService("browser"),nt=r.delegateTarget||null;if((r.type!=="load"&&r.type!=="pageshow"||r.nativeEvent.customLoad)&&(!a||r.type!=="touchstart"&&r.type!=="touchmove")){if(i!==null&&r.type!=="touchstart"&&r.type!=="touchmove"&&r.type!=="scroll"&&r.type!=="touchend")n._prepNonIosTouchEnd();else{if(r.type==="touchstart"){n._handleTouchStart(r);return}if(r.type==="touchmove"){n._handleTouchMove(r);return}if(i!==null&&r.type==="scroll"&&!y){n._handleTouchScroll(r);return}l&&(u="scroll|null-2|window")}if((!n.utils.isIE||(r.type==="click"&&(w=r.target.element),r.type!=="beforeunload"||(p=!1,n.utils.forEach(n.getCoreConfig().ieExcludedLinks,function(n){for(var i=g.queryAll(n),t=0,r=i?i.length:0;t<r;t+=1)if(typeof i[t]!==undefined&&i[t]===w){p=!0;return}}),!p)))&&(v.isUnload(r)&&(f="unloading"),r.type!=="change"||!n.utils.isLegacyIE||n.getFlavor()!=="w3c"||r.target.element.type!=="checkbox"&&r.target.element.type!=="radio")){if(r.type==="propertychange")if(r.nativeEvent.propertyName==="checked"&&(r.target.element.type==="checkbox"||r.target.element.type==="radio"&&r.target.element.checked))r.type=r.target.type="change";else return;if(t.hasOwnProperty(u)||(r.hasOwnProperty("nativeEvent")&&(d=r.nativeEvent.currentTarget||r.nativeEvent.target),u=n._buildToken4bubbleTarget(r.type,d,!0,nt)),t.hasOwnProperty(u))for(c=t[u],h=0,k=c.length;h<k;h+=1)if(o=c[h],s=n.getModule(o),e=n.utils.mixin({},r),s&&n.isStarted(o)&&typeof s.onevent=="function"&&(b=v.canPublish(o,e),b))s.onevent(e);e&&e.type==="unload"&&b&&TLT.destroy()}}},_getLocalTop:function(){return window.window},addModule:function(n,t){r[n]={creator:t,instance:null,context:null,messages:[]};this.isInitialized()&&this.start(n)},getModule:function(n){return r[n]&&r[n].instance?r[n].instance:null},removeModule:function(n){this.stop(n);delete r[n]},isStarted:function(n){return r.hasOwnProperty(n)&&r[n].instance!==null},start:function(n){var t=r[n],i=null;t&&t.instance===null&&(t.context=new TLT.ModuleContext(n,this),i=t.instance=t.creator(t.context),typeof i.init=="function"&&i.init())},startAll:function(){for(var n in r)r.hasOwnProperty(n)&&this.start(n)},stop:function(n){var t=r[n],i=null;t&&t.instance!==null&&(i=t.instance,typeof i.destroy=="function"&&i.destroy(),t.instance=t.context=null)},stopAll:function(){for(var n in r)r.hasOwnProperty(n)&&this.stop(n)},addService:function(n,t){u[n]={creator:t,instance:null}},getService:function(n){if(u.hasOwnProperty(n)){if(!u[n].instance){try{u[n].instance=u[n].creator(this);typeof u[n].instance.init=="function"&&u[n].instance.init()}catch(t){return null}typeof u[n].instance.getServiceName!="function"&&(u[n].instance.getServiceName=function(){return n})}return u[n].instance}return null},removeService:function(n){delete u[n]},broadcast:function(t){var u=null,i=null;if(t&&typeof t=="object")for(u in r)if(r.hasOwnProperty(u)&&(i=r[u],n.utils.indexOf(i.messages,t.type)>-1&&typeof i.instance.onmessage=="function"))i.instance.onmessage(t)},listen:function(t,i){var u=null;this.isStarted(t)&&(u=r[t],n.utils.indexOf(u.messages,i)===-1&&u.messages.push(i))},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"w3c"}};return b=function(t){var i,r,u,s;if(o){n.utils.clog("TLT.init() called more than once. Ignoring.");return}if(i=n.getService("config"),i.updateConfig(t),!n._updateModules()){f!=="destroyed"&&n.destroy();return}if(i.subscribe&&i.subscribe("configupdated",n._reinitConfig),o=!0,f="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"),u=new s.WebEvent(r),n._publishEvent(u),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=function(){var n=window.navigator.userAgent.toLowerCase();return n.indexOf("msie")!==-1}(),i=function(){var n=!!window.performance;return t&&(!n||document.documentMode<9)}(),n={isIE:t,isLegacyIE:i,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},isUndefOrNull:function(n){return typeof n=="undefined"||n===null},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.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},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){return t===document?"document":t===window||t===window.window?"window":typeof t=="string"?t.toLowerCase():typeof t=="object"&&!n.isUndefOrNull(t)&&typeof t.tagName=="string"?t.tagName.toLowerCase():""},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,e,r,f,o=null,s;try{if(i=i||document.cookie,!t||!t.toString)return null;for(t+="=",s=t.length,f=i.split(";"),u=0,e=f.length;u<e;u+=1)if(r=f[u],r=n.ltrim(r),r.indexOf(t)===0){o=r.substring(s,r.length);break}}catch(h){}return o},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)}}(),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","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 p(){}function w(){return window.location.pathname}function e(t,r){var f=i.flush(t),a=f!==null?f.length:0,e=i.get(t),h={"Content-Type":"application/json","X-Tealeaf":"device (UIC) Lib/3.0.1.1068","X-TealeafType":"GUI","X-TeaLeaf-Page-Url":w()},l=e.serializer||"json",s,o=null;if(f=c.wrapMessages(f),a)if(e.crossDomainEnabled){if(o=n.utils.getIFrameWindow(e.crossDomainIFrame),!o)return;if(s={request:{url:e.url,async:!r,headers:h,data:u.serialize(f,l)}},n.utils.isIE||typeof postMessage!="function")try{o.sendMessage(s)}catch(y){return}else o.postMessage(s,e.crossDomainIFrame.src)}else v.sendRequest({oncomplete:p,url:e.url,async:!r,headers:h,data:u.serialize(f,l)})}function l(n){for(var r=null,i=0,i=0;i<t.length;i+=1)r=t[i],e(r.qid,n);return!0}function b(t,r){var u=i.push(t,c.createMessage(r));u>=i.get(t).threshold&&f&&n.getState()!=="unloading"&&e(t)}function k(n){for(var i=null,f="",r=0,u=0,r=0;r<t.length;r+=1)if(i=t[r],i&&i.modules)for(u=0;u<i.modules.length;u+=1)if(f=i.modules[u],f===n)return i.qid;return s.qid}function d(n,t){r[n]=window.setTimeout(function i(){e(n);r[n]=window.setTimeout(i,t)},t)}function g(){for(var n in r)r.hasOwnProperty(n)&&(window.clearTimeout(r[n]),delete r[n]);r={}}function a(){}function nt(r){t=r;var u=null,e,f=null;for(e in t)t.hasOwnProperty(e)&&(f=null,u=t[e],u.qid==="DEFAULT"&&(s=u),u.crossDomainEnabled&&(f=y.query(u.crossDomainFrameSelector),f||n.fail("Cross domain iframe not found")),i.add(u.qid,{url:u.endpoint,threshold:u.maxEvents,serializer:u.serializer,timerInterval:u.timerInterval||0,crossDomainEnabled:u.crossDomainEnabled||!1,crossDomainIFrame:f}),typeof u.timerInterval!="undefined"&&u.timerInterval>0&&d(u.qid,u.timerInterval));o.subscribe("configupdated",a);h=!0}function tt(){f&&l(!0);o.unsubscribe("configupdated",a);g();t=null;s=null;h=!1}var t=null,v=n.getService("ajax"),y=n.getService("browser"),u=n.getService("serializer"),o=n.getService("config"),c=n.getService("message"),s=null,r={},f=!0,h=!1,i=function(){function n(n){return typeof t[n]!="undefined"}function f(i,r){return n(i)||(t[i]={data:[],queueId:i,url:r.url,threshold:r.threshold,serializer:r.serializer,crossDomainEnabled:!!r.crossDomainEnabled,crossDomainIFrame:r.crossDomainIFrame}),t[i]}function e(i){n(i)&&delete t[i]}function i(i){return n(i)?t[i]:null}function r(n){var t=i(n);t!==null&&(t.data=[])}function o(t){var u=null;return n(t)&&(u=i(t).data,r(t)),u}function s(t,r){var s=null,f=null,e=window.tlBridge,o=window.iOSJSONShuttle;if(typeof e!="undefined"&&typeof e.addMessage=="function")f=u.serialize(r),e.addMessage(f);else if(typeof o!="undefined"&&typeof o=="function")f=u.serialize(r),o(f);else if(n(t))return s=i(t),s.data.push(r);return 0}var t={};return{SEND_HEADER_ONCE:-1,SEND_HEADER_ALWAYS:-2,exists:n,add:f,remove:e,get:i,clear:r,flush:o,push:s}}();return{init:function(){h||nt(o.getServiceConfig("queue")||{})},destroy:function(){tt()},_getQueue:function(n){return i.get(n).data},setAutoFlush:function(n){f=n===1?!0:!1},flush:function(n){if(!i.exists(n))throw new Error("Queue: "+n+" does not exist!");e(n)},flushAll:function(n){return l(!!n)},post:function(n,t,r){if(r=r||k(n),!i.exists(r))throw new Error("Queue: "+r+" does not exist!");b(r,t)}}});TLT.addService("browserBase",function(n){"use strict";function s(){f=n.getService("config");e=n.getService("serializer");r=n.getService("config").getServiceConfig("browser")||{};i=r.hasOwnProperty("blacklist")?r.blacklist:[];u=r.hasOwnProperty("customid")?r.customid:[]}function k(){s();f.subscribe("configupdated",s);o=!0}function d(){f.unsubscribe("configupdated",s);o=!1}function h(n){var t,r,u;if(!n||!n.id||typeof n.id!="string")return!1;for(t=0,r=i.length;t<r;t+=1)if(typeof i[t]=="string"){if(n.id===i[t])return!1}else if(typeof i[t]=="object"&&(u=new RegExp(i[t].regex,i[t].flags),u.test(n.id)))return!1;return!0}function a(n){return n&&typeof n.originalEvent!="undefined"&&typeof n.isDefaultPrevented!="undefined"&&!n.isSimulated}function v(n){return n?(n.type&&n.type.indexOf("touch")===0&&(a(n)&&(n=n.originalEvent),n.type==="touchstart"?n=n.touches[n.touches.length-1]:n.type==="touchend"&&(n=n.changedTouches[0])),n):null}function g(n){var t=n||window.event,i=document.documentElement,r=document.body;return a(t)&&(t=t.originalEvent),(typeof n=="undefined"||typeof t.target=="undefined")&&(t.target=t.srcElement||window.window,t.timeStamp=Number(new Date),(t.pageX===null||typeof t.pageX=="undefined")&&(t.pageX=t.clientX+(i&&i.scrollLeft||r&&r.scrollLeft||0)-(i&&i.clientLeft||r&&r.clientLeft||0),t.pageY=t.clientY+(i&&i.scrollTop||r&&r.scrollTop||0)-(i&&i.clientTop||r&&r.clientTop||0)),t.preventDefault=function(){this.returnValue=!1},t.stopPropagation=function(){this.cancelBubble=!0}),t}function nt(n){var t=null;if(!n)return null;for(n.srcElement?t=n.srcElement:(t=n.target,t||(t=n.explicitOriginalTarget),t||(t=n.originalTarget)),t||n.type.indexOf("touch")!==0||(t=v(n).target);t&&b[t.tagName];)t=t.parentNode;return t||n.srcElement!==null||(t=window.window),t}function y(n){var r=0,u=0,t=document.documentElement,i=document.body;return n=v(n),n!==null&&(n.pageX&&n.pageY&&n.pageX>0&&n.pageY>0?(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 p(n,t){this.x=n||0;this.y=t||0}function tt(n,t){this.width=n||0;this.height=t||0}function t(n,t){var i,u,r;t=nt(n);i=this.examineID(t);u=this.examineType(t,n);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 p(r.x,r.y);this.size=new tt(r.width,r.height);this.xPath=i.xPath;this.name=i.name}function it(){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 rt(t){var r,i,u;if(typeof t=="undefined"||t===null||!t.getBoundingClientRect)return{x:0,y:0,width:0,height:0};try{r=t.getBoundingClientRect()}catch(f){return n.utils.clog("getBoundingClientRect failed.",f),{x:0,y:0,width:0,height:0}}return i={x:r.left,y:r.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=it(),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 w(n){var i;this.data=n.data||null;this.delegateTarget=n.delegateTarget||null;n=g(n);i=y(n);this.custom=!1;this.nativeEvent=this.custom===!0?null:n;this.position=new p(i.x,i.y);this.target=new t(n,n.target);this.timestamp=(new Date).getTime();this.type=n.type;switch(this.type){case"focusin":this.type="focus";break;case"focusout":this.type="blur"}}function ut(t){n._publishEvent(new w(t))}var b={OPTGROUP:!0,OPTION:!0,NOBR:!0},c={},f=n.getService("config"),e,r,i,u,l,o=!1;return l=function(){function i(i){for(var o,e=!1,r=null,s=null,f=null,u=[],c=!0,l=n._getLocalTop();c;)if(c=!1,!n.utils.isUndefOrNull(i)){for(n.utils.isUndefOrNull(i.tagName)||t.hasOwnProperty(i.tagName)&&(i=i.parentNode),e=h(i);i!==document&&!e;e=h(i)){if(f=i.parentNode,f||(s=n.utils.getWindow(i),f=s!==l?s.frameElement:document),r=f.firstChild,typeof r=="undefined")return u;for(o=0;r;r=r.nextSibling)if(r.nodeType===1&&r.tagName===i.tagName){if(r===i){u[u.length]=[i.tagName,o];break}o+=1}i=f}e&&(u[u.length]=[i.id],n.utils.isIFrameDescendant(i)&&(c=!0,i=n.utils.getWindow(i).frameElement))}return u}var t={NOBR:!0,P:!0};return function(n){var r=i(n),u=[],t=r.length;if(t<1)return"null";while(t)t-=1,u[u.length]=r[t].length>1?'["'+r[t][0]+'",'+r[t][1]+"]":"["+e.serialize(r[t][0],"json")+"]";return"["+u.join(",")+"]"}}(),c.xpath=function(n,t){var s=e.parse(n),i,u=null,f,r,o,h,c;if(t=typeof t!="undefined"?t:document,i=t,!s)return null;for(f=0,h=s.length;f<h&&i;f+=1)if(u=s[f],u.length===1)i=t.getElementById(u[0]);else{for(r=0,o=-1,c=i.childNodes.length;r<c;r+=1)if(i.childNodes[r].nodeType===1&&i.childNodes[r].tagName.toUpperCase()===u[0]&&(o+=1,o===u[1])){i=i.childNodes[r];break}if(o===-1)return null}return i===t||!i?null:i},t.HTML_ID=-1,t.XPATH_ID=-2,t.ATTRIBUTE_ID=-3,t.prototype.examineID=function(i){var r,f,s,c,e=u.length,o;try{s=l(i)}catch(a){}c=i.name;try{if(!n.utils.isIFrameDescendant(i))if(h(i))r=i.id,f=t.HTML_ID;else if(u.length&&i.attributes)while(e)e-=1,o=i.attributes[u[e]],typeof o!="undefined"&&(r=u[e]+"="+(o.value||o),f=t.ATTRIBUTE_ID)}catch(v){}return r||(r=s,f=t.XPATH_ID),{id:r,type:f,xPath:s,name:c}},t.prototype.examineType=function(n,t){var i="";return i=t.type==="change"?n.tagName==="TEXTAREA"||n.tagName==="INPUT"&&n.type==="text"?"textChange":"valueChange":t.type,{type:t.type,subType:i}},t.prototype.examineState=function(n){var e=typeof n.tagName!="undefined"?n.tagName.toLowerCase():"",t={a:["innerText","href"],input:{range:["maxValue:max","value"],checkbox:["value","checked"],radio:["value","checked"],image:["src"]},select:["value"],button:["value","innerText"],textarea:["value"]}[e]||null,r=null,i=null,f=null,u="";if(t!==null){Object.prototype.toString.call(t)==="[object Object]"&&(t=t[n.type]||["value"]);i={};for(u in t)t.hasOwnProperty(u)&&(t[u].indexOf(":")!==-1?(f=t[u].split(":"),i[f[0]]=n[f[1]]):i[t[u]]=t[u]==="innerText"?n.innerText||n.textContent:n[t[u]])}return e==="select"&&n.options&&!isNaN(n.selectedIndex)&&(i.index=n.selectedIndex,i.index>=0&&i.index<n.options.length&&(r=n.options[n.selectedIndex],i.value=r.getAttribute("value")||r.getAttribute("label")||r.text||r.innerText,i.text=r.text||r.innerText)),i},t.prototype.examinePosition=function(n,t){var r=y(n),i=rt(t);return i.x=r.x!==0&&r.y!==0?Math.round(Math.abs(r.x-i.x)):i.width/2,i.y=r.x!==0&&r.y!==0?Math.round(Math.abs(r.y-i.y)):i.height/2,i},{init:function(){o||k()},destroy:function(){d()},WebEvent:w,ElementData:t,processDOMEvent:ut,queryDom:c}});TLT.addService("browser",function(n){"use strict";function y(){if(u.xpath=o.queryDom.xpath,typeof document.addEventListener=="function")t=function(n,t,i){n.addEventListener(t,i,s)},i=function(n,t,i){n.removeEventListener(t,i,s)};else if(typeof document.attachEvent!="undefined")t=function(n,t,i){n.attachEvent("on"+t,i)},i=function(n,t,i){n.detachEvent("on"+t,i)};else throw new Error("Unsupported browser");r=!0}var e=n.getService("config"),o=n.getService("browserBase"),h=n.getService("ajax"),t=null,i=null,c=e.getServiceConfig("browser")||{},s=c.useCapture===!0,r=!1,l={NO_QUERY_SELECTOR:"NOQUERYSELECTOR"},a=function(n){return function(t){n(new o.WebEvent(t))}},v=function(n){var t=document.getElementsByTagName("script")[0],i=document.createElement("script");i.src=n;t.parentNode.insertBefore(i,t)},u={list2Array:function(n){var r=n.length,i=[],t;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(t,i){var r=this,f=null,o=document.getElementsByTagName("body")[0],u=e.getServiceConfig("browser")||{},s=u.sizzleURL||null,c=u.hasOwnProperty("jQueryObject")?n.utils.access(u.jQueryObject):window.jQuery,a=u.hasOwnProperty("sizzleObject")?n.utils.access(u.sizzleObject):window.Sizzle;if(typeof document.querySelectorAll=="undefined"){if(r.css=function(n,t){return t=t||document,r.Sizzle(n,t)},typeof r.Sizzle=="undefined")if(s)f={type:"GET",url:s,async:!1,oncomplete:function(result){function define(n){r.Sizzle=n()}define.amd=!0;eval(result.responseText)}},h.sendRequest(f);else try{o===a("html > body",document)[0]&&(r.Sizzle=a)}catch(v){try{o===c(document).find("html > body").get()[0]&&(r.Sizzle=function(n,t){return c(t).find(n).get()})}catch(y){n.fail("Sizzle was not found",l.NO_QUERY_SELECTOR)}}}else r.css=function(n,t){return t=t||document,t.querySelectorAll(n)};return r.css(t,i)}},f=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))}}}();return{init:function(){r||y()},destroy:function(){r=!1},getServiceName:function(){return"W3C"},query:function(n,t,i){return u.find(n,t,i)[0]||null},queryAll:function(n,t,i){return u.find(n,t,i)},loadScript:function(n){v(n)},subscribe:function(n,i,r){var u=f.add(r);t(i,n,u)},unsubscribe:function(n,t,r){var u=f.find(r);if(u){try{i(t,n,u)}catch(e){}f.remove(r)}}}});TLT.addService("ajax",function(){"use strict";function r(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(t){var u=n(),f=[["X-Requested-With","XMLHttpRequest"]],h=0,e="",s=null,o,c;for(t.headers&&(f=f.concat(i(t.headers))),t.contentType&&f.push(["Content-Type",t.contentType]),u.open(t.type.toUpperCase(),t.url,!0),o=0,c=f.length;o<c;o+=1)e=f[o],e[0]&&e[1]&&u.setRequestHeader(e[0],e[1]);u.onreadystatechange=s=function(){if(u.readyState===4){u.onreadystatechange=s=function(){};t.timeout&&window.clearTimeout(h);t.oncomplete({headers:r(u.getAllResponseHeaders()),responseText:u.responseText||null,statusCode:u.status,success:u.status===200});u=null}};u.send(t.data||null);s();t.timeout&&(h=window.setTimeout(function(){u&&(u.onreadystatechange=function(){},u.readyState!==4&&u.abort(),u=null)},t.timeout))}function f(){n=typeof XMLHttpRequest!="undefined"?function(){return new XMLHttpRequest}:function(){return new ActiveXObject("Microsoft.XMLHTTP")};t=!0}var n,i=function(n){var t="",i=[];for(t in n)n.hasOwnProperty(t)&&i.push([t,n[t]]);return i},t=!1;return{init:function(){t||f()},destroy:function(){t=!1},sendRequest:function(n){n.type=n.type||"POST";u(n)}}});TLT.addService("message",function(n){"use strict";function ot(n){var t="";this.type=n.type;this.offset=(new Date).getTime()-w.getTime();(n.type===2||c===null)&&(c=new Date);this.screenviewOffset=(new Date).getTime()-c.getTime();this.count=p+=1;this.fromWeb=!0;for(t in n)n.hasOwnProperty(t)&&(this[t]=n[t])}function st(i,r){var u=t.PVC_MASK_BASIC;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));typeof r.target.prevState!="undefined"&&r.target.prevState.hasOwnProperty("value")&&(r.target.prevState.value=u(r.target.prevState.value));typeof r.target.currState!="undefined"&&r.target.currState.hasOwnProperty("value")&&(r.target.currState.value=u(r.target.currState.value))}function ht(n,t){for(var r,u,o,e,s,i,f=0,h=n.length;f<h;f+=1)if(i=n[f],typeof i=="string"){for(u=k.queryAll(i),r=0,o=u?u.length:0;r<o;r+=1)if(u[r]&&(e=b.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 ct(n){var t,r,i;if(!n||!n.hasOwnProperty("target"))return n;for(t=0,r=l.length;t<r;t+=1)if(i=l[t],ht(i.targets,n.target)){st(i,n);break}return n}function v(){u=n.getService("config");f=u.getServiceConfig("message")||{};l=f.hasOwnProperty("privacy")?f.privacy:[]}function lt(){u.subscribe&&u.subscribe("configupdated",v);a=!0}function at(){u.unsubscribe("configupdated",v);a=!1}var c=null,y=0,p=0,w=new Date,r=new Date,b=n.getService("browserBase"),k=n.getService("browser"),u=n.getService("config"),f=u.getServiceConfig("message")||{},d=window.location.href,g="TODO",nt="ID"+r.getHours()+"H"+r.getMinutes()+"M"+r.getSeconds()+"S"+r.getMilliseconds()+"R"+Math.random(),l=f.hasOwnProperty("privacy")?f.privacy:[],t={},s={lower:"x",upper:"X",numeric:"9",symbol:"@"},h=navigator.userAgent.indexOf("iPhone")>-1||navigator.userAgent.indexOf("iPod")>-1||navigator.userAgent.indexOf("iPad")>-1,e=window.devicePixelRatio||1,i=window.screen?window.screen.width:0,o=window.screen?window.screen.height:0,tt=window.orientation||0,it=h?i:i<=320?i:i/e,rt=h?o:i<=320?o:o/e,ut=window.screen===null?0:window.screen.height-window.screen.availHeight,ft=window.innerWidth||document.documentElement.clientWidth,et=window.innerHeight||document.documentElement.clientHeight,a=!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])?s.numeric:n.utils.isUpperCase(r[i])?s.upper:n.utils.isLowerCase(r[i])?s.lower:s.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(){a||lt()},destroy:function(){at()},createMessage:function(n){if(typeof n.type=="undefined")throw new TypeError("Invalid queueEvent given!");return ct(new ot(n))},wrapMessages:function(t){var u={messageVersion:"2.2.0.0",serialNumber:y+=1,sessions:[{id:nt,startTime:r.getTime(),timezoneOffset:r.getTimezoneOffset(),messages:t,clientEnvironment:{webEnvironment:{libVersion:"3.0.1.1068",page:d,windowId:g,screen:{devicePixelRatio:e,deviceOriginalWidth:h?i*e:i,deviceOriginalHeight:h?o*e:o,deviceWidth:it,deviceHeight:rt,deviceToolbarHeight:ut,width:ft,height:et,orientation:tt}}}}]},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 h(u){for(var h in u)u.hasOwnProperty(h)&&(s(u[h].stringifiers,i,h),s(u[h].parsers,r,h));u.json&&u.json.hasOwnProperty("defaultToBuiltin")&&u.json.defaultToBuiltin!==!0||(i.json=i.json||o.json.serialize,r.json=r.json||o.json.parse);(typeof i.json!="function"||typeof r.json!="function")&&n.fail("JSON parser and/or serializer not provided in the UIC config. Can't continue.");t.subscribe&&t.subscribe("configupdated",f);e=!0}function c(){i={};r={};t.unsubscribe("configupdated",f);e=!1}var t=n.getService("config"),i={},r={},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(){t=n.getService("config");h(t.getServiceConfig("serializer")||{})},{init:function(){e||h(t.getServiceConfig("serializer")||{})},destroy:function(){c()},parse:function(n,t){return t=t||"json",r[t](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 e(t){n.post(t)}function t(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 s(){var i=n.getConfig()||{},t=i.hoverThreshold;return typeof t!="number"?o:t<f?f:t}function u(n){var u=null,f=t(n,"target.id"),o=0,h=null;if(f){if(r===null&&(r=s()),n.type==="mouseover"){i[f]=i[f]||{clickOccurred:!1};i[f].timestamp=n.timestamp;return}if(u=i[f],u&&u.timestamp){if(o=Math.abs(n.timestamp-u.timestamp),n.type==="mouseout"){delete u.timestamp;u.clickOccurred=!1;o>=r&&(h={type:4,event:{type:n.type,tlEvent:"hover"},target:{id:t(n,"target.id"),idType:t(n,"target.idType"),currState:{hoverTime:o}}},e(h));return}if(n.type==="click"&&o>=r&&!u.clickOccurred){u.clickOccurred=!0;h={type:4,event:{type:n.type,tlEvent:"hoverToClick"},target:{id:t(n,"target.id"),idType:t(n,"target.idType"),currState:{hoverTime:o}}};e(h);return}}}}var i={},r=null,o=250,f=100;return{init:function(){},destroy:function(){},onevent:function(n){if(typeof n=="object"&&n.type)switch(n.type){case"mouseover":u(n);break;case"mouseout":u(n);break;case"click":u(n)}},onmessage:function(){}}});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?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 l=n.getConfig()||{},e="UNKNOWN",o={type:7,performance:{}},s,c,h;if(r&&!t.perfEventSent){if(c=r.performance||{},h=c.timing,s=c.navigation,h)o.performance.timing=u(h,l.filter),o.performance.timing.renderTime=f(h);else if(l.calculateRenderTime)o.performance.timing={renderTime:i,calculated:!0};else return;if(s){switch(s.type){case 0:e="NAVIGATE";break;case 1:e="RELOAD";break;case 2:e="BACKFORWARD";break;default:e="UNKNOWN"}o.performance.navigation={type:e,redirectCount:s.redirectCount}}n.post(o);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 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 pt(n){var t=[];for(n=n.parentNode;n;)t.push(n),n=n.parentNode;return t}function wt(t){return n.utils.some(t,function(n){return n.tagName==="A"||n.tagName==="BUTTON"?n:null})}function bt(n){var t=n.type;return t=typeof t=="string"?t.toLowerCase():"unknown",t==="blur"&&(t="focusout"),t}function kt(n){var t,u=i(n,"webEvent.target.element.tagName"),f=u.toLowerCase()==="input"?i(n,"webEvent.target.element.type"):"",s=vt[u.toLowerCase()+":"+f]||u,h=pt(i(n,"webEvent.target.element")),r=null,e=i(n,"webEvent.target.position.relXY"),o=i(n,"webEvent.target.subtype");return t={type:4,target:{id:n.id||"",idType:i(n,"webEvent.target.idType"),name:i(n,"webEvent.target.name"),tlType:s,type:u,subType:f,position:{width:i(n,"webEvent.target.element.offsetWidth"),height:i(n,"webEvent.target.element.offsetHeight")},currState:n.currState||null},event:{tlEvent:bt(i(n,"webEvent")),type:i(n,"webEvent.target.type")}},e&&(t.target.position.relXY=e),typeof n.dwell=="number"&&n.dwell>0&&(t.target.dwell=n.dwell),typeof n.visitedCount=="number"&&(t.target.visitedCount=n.visitedCount),typeof n.prevState!="undefined"&&(t.prevState=n.prevState),typeof o!="undefined"&&(t.event.subType=o),t.target.name=i(n,"webEvent.target.name"),r=wt(h),t.target.isParentLink=!!r,r&&(r.href&&(t.target.currState=t.target.currState||{},t.target.currState.href=t.target.currState.href||r.href),r.value&&(t.target.currState=t.target.currState||{},t.target.currState.value=t.target.currState.value||r.value),(r.innerText||r.textContent)&&(t.target.currState=t.target.currState||{},t.target.currState.innerText=t.target.currState.innerText||r.innerText||r.textContent)),t}function h(t){n.post(t)}function st(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 tt(n,t){o=t;o.inFocus=!0;typeof r[n]=="undefined"&&(r[n]={});r[n].focus=o.dwellStart=Number(new Date);r[n].focusInOffset=e?o.dwellStart-Number(e):-1;r[n].prevState=i(t,"target.state");r[n].visitedCount=r[n].visitedCount+1||1}function it(n,r){t.push(kt({webEvent:n,id:r,currState:i(n,"target.state")}))}function dt(n){var t=!1,i=null;if(typeof n!="object"||!n.type)return t;switch(n.type){case"INPUT":i="|"+(n.subType||"")+"|";t="|button|image|submit|reset|checkbox|radio|".indexOf(i.toLowerCase())===-1?!1:!0;break;case"TEXTAREA":t=!1;break;default:t=!0}return t}function rt(n,i){var u;typeof n!="undefined"&&n!==null&&typeof i!="undefined"&&i!==null&&(o.inFocus=!1,typeof r[n]!="undefined"&&r[n].hasOwnProperty("focus")?r[n].dwell=Number(new Date)-r[n].focus:(r[n]={},r[n].dwell=0),t.length===0&&(i.type=i.target.type="blur",it(i,n)),u=t[t.length-1],u&&(u.target.dwell=r[n].dwell,u.focusInOffset=r[n].focusInOffset,u.target.visitedCount=r[n].visitedCount,u.event.type!=="click"||dt(u.target)||(u.event.type="blur",u.event.tlEvent="focusout")),st(t))}function gt(n,i){var r=!1;return t.length>0&&t[t.length-1]&&t[t.length-1].target.id!==n&&i.type!=="scroll"&&i.type!=="resize"&&i.type!=="mouseout"&&i.type!=="mouseover"&&t[t.length-1].target.tlType!=="textBox"&&t[t.length-1].target.tlType!=="selectList"&&(rt(t[t.length-1].target.id,t[t.length-1]),r=!0),r}function ht(n,i){typeof r[n]=="undefined"||r[n].hasOwnProperty("focus")||tt(n,i);it(i,n);typeof r[n]!="undefined"&&typeof r[n].prevState!="undefined"&&(t[t.length-1].target.tlType==="textBox"||t[t.length-1].target.tlType==="selectList")&&(t[t.length-1].target.prevState=r[n].prevState)}function ni(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 ti(n,r){var f,e=!0,u=0;if(r.target.element.tagName==="SELECT"&&y&&y.target.id===n){y=null;return}o.inFocus||tt(n,r);u=t.length;u&&i(t[u-1],"event.type")!=="change"&&ht(n,r);f=ni(r);u=t.length;r.position.x===0&&r.position.y===0&&u&&i(t[u-1],"target.tlType")==="radioButton"?e=!1:r.target.position.relXY=f;u&&i(t[u-1],"target.id")===n?e&&(t[u-1].target.position.relXY=f):it(r,n);y=r}function ii(){return window.orientation||0}function ri(){var t=ii(),i={type:4,event:{type:"orientationchange"},target:{prevState:{orientation:b,orientationMode:n.utils.getOrientationMode(b)},currState:{orientation:t,orientationMode:n.utils.getOrientationMode(t)}}};h(i);b=t}function ui(n){return n?f.scale===n.scale&&Math.abs((new Date).getTime()-f.timestamp)<500:!1}function fi(n){f.scale=n.scale;f.rotation=n.rotation;f.timestamp=(new Date).getTime()}function ct(n){var t;return typeof n=="undefined"||n===null?"INVALID":(t=Number(n),isNaN(t)?"INVALID":t<1?"CLOSE":t>1?"OPEN":"NONE")}function ei(n){var t={},o=i(n,"nativeEvent.rotation")||0,u=i(n,"nativeEvent.scale")||1,r=null,e={type:4,event:{type:"touchend"},target:{id:i(n,"target.id"),idType:i(n,"target.idType")}};p&&(!u||u===1)||!p&&n.nativeEvent.touches.length<=1||(r={rotation:o?o.toFixed(2):0,scale:u?u.toFixed(2):1},r.pinch=ct(r.scale),ui(r))||(f&&f.timestamp&&(t.rotation=f.rotation,t.scale=f.scale,t.pinch=ct(t.scale)),i(t,"scale")&&(e.target.prevState=t),e.target.currState=r,h(e),fi(r))}function w(t){var r={type:1,clientState:{pageWidth:document.width||(document.documentElement===null?0:document.documentElement.offsetWidth),pageHeight:Math.max(typeof document.height=="undefined"?0:document.height,typeof document.documentElement=="undefined"?0:document.documentElement.offsetHeight,typeof document.documentElement=="undefined"?0:document.documentElement.scrollHeight),viewPortWidth:window.innerWidth||document.documentElement.clientWidth,viewPortHeight:window.innerHeight||document.documentElement.clientHeight,viewPortX:window.pageXOffset||(document.body===null?0:document.body.scrollLeft),viewPortY:window.pageYOffset||(document.body===null?0:document.body.scrollTop),deviceOrientation:window.orientation||0,event:i(t,"type")}},f=1,e=1;return f=Math.abs(r.clientState.deviceOrientation)===90?p?nt-s:a<=320?nt-s:nt/ot-s:p?a+s:a<=320?a-s:a/ot-s,e=r.clientState.viewPortWidth===0?1:f/r.clientState.viewPortWidth,r.clientState.deviceScale=e-.02,r.clientState.deviceScale=r.clientState.deviceScale.toFixed(3),r.clientState.viewTime=l===null?0:(new Date).getTime()-l.getTime(),t.type==="scroll"&&c<=0&&(ft=k.clientState.viewPortX,et=k.clientState.viewPortY),t.type==="scroll"&&(r.clientState.viewPortXStart=ft,r.clientState.viewPortYStart=et),u=n.utils.clone(r),r}function lt(){return u!==null&&u.clientState.event!=="load"?(u.clientState.event==="scroll"&&(delete u.clientState.viewPortXStart,delete u.clientState.viewPortYStart),u.clientState.event="attention",u.clientState.viewTime=e===null?0:(new Date).getTime()-e.getTime(),h(u),e=new Date,!0):!1}function at(n){return n.clientState.event==="scroll"&&n.clientState.viewPortXStart===n.clientState.viewPortX&&n.clientState.viewPortYStart===n.clientState.viewPortY?!1:!0}function oi(t){var i=g===null?0:(new Date).getTime()-g.getTime();return u!==null&&(t.type!==u.clientState.event||i>=1e3)?(at(u)&&(h(u),u.clientState.event!=="touchend"&&(k=n.utils.clone(u))),u=null,l=null,c=0,!0):(u!==null&&c===1&&i>=1e3&&(u.clientState.event==="resize"||u.clientState.event==="scroll"||u.clientState.event==="orientationchange"||t.type==="screenview_load")&&lt(),!1)}function si(n,t){var o=["type","target.id"],f=null,u,s,r=!0,e=0,h=0,c=0;for(n&&t&&typeof n=="object"&&typeof t=="object"||(r=!1),u=0,s=o.length;r&&u<s;u+=1)if(f=o[u],i(n,f)!==i(t,f)){r=!1;break}return r&&(h=i(n,"timestamp"),c=i(t,"timestamp"),isNaN(h)&&isNaN(c)||(e=Math.abs(i(n,"timestamp")-i(t,"timestamp")),(isNaN(e)||e>10)&&(r=!1))),r}function hi(){var n=window.location.hash;n!==v&&(v&&TLT.logScreenviewUnload(v),n&&TLT.logScreenviewLoad(n),v=n)}function ci(n){var t={type:4,event:{type:n.type},target:{id:i(n,"target.id"),idType:i(n,"target.idType")}};h(t)}var vt={"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"},b=window.orientation||0,f={scale:0,timestamp:0},r={},v=window.location.hash,ut=null,t=[],c=0,u=null,k=null,yt=0,li=(new Date).getTime(),d=null,l=null,e=null,ft=0,et=0,g=null,o={inFocus:!1},y=null,p=navigator.userAgent.indexOf("iPhone")>-1||navigator.userAgent.indexOf("iPod")>-1||navigator.userAgent.indexOf("iPad")>-1,ot=window.devicePixelRatio||1,a=window.screen===null?0:window.screen.width,nt=window.screen===null?0:window.screen.height,s=window.screen===null?0:window.screen.height-window.screen.availHeight,ai=n.getConfig();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}},yt+=1,n.post(u))}),{init:function(){},destroy:function(){rt(ut)},onevent:function(n){var f=null,u=null;if(typeof n=="object"&&n.type){if(si(n,d)){d=n;return}d=n;f=i(n,"target.id");Object.prototype.toString.call(r[f])!=="[object Object]"&&(r[f]={});oi(n);gt(f,n);g=new Date;switch(n.type){case"hashchange":hi();break;case"focus":u=tt(f,n);break;case"blur":u=rt(f,n);break;case"click":u=ti(f,n);break;case"change":u=ht(f,n);break;case"orientationchange":u=ri(n);break;case"touchend":u=ei(n);u=w(n);break;case"load":TLT.logScreenviewLoad("root");u=w(n);e=new Date;break;case"screenview_load":e=new Date;break;case"screenview_unload":break;case"resize":case"scroll":l===null&&c<=0&&(l=new Date);u=w(n);at(u)?u=null:c+=1;break;case"unload":t!==null&&st(t);u=w(n);lt();h(u);TLT.logScreenviewUnload("root");break;default:ci(n)}return ut=f,u}},onmessage:function(){}}}),function(){"use strict";var n;TLT.getFlavor()==="w3c"&&TLT.utils.isLegacyIE&&(n="input, select, textarea, button");window.TLT.init({core:{moduleBase:"intermediate/modules/",modules:{overstat:{events:[{name:"click",recurseFrames:!0},{name:"mouseover",recurseFrames:!0},{name:"mouseout",recurseFrames:!0}]},performance:{events:[{name:"load",target:window},{name:"unload",target:window}]},replay:{events:[{name:"change",target:n,recurseFrames:!0},{name:"mousedown",recurseFrames:!0},{name:"mouseup",recurseFrames:!0},{name:"click",recurseFrames:!0},{name:"hashchange",target:window},{name:"focus",target:"input, select, textarea, button",recurseFrames:!0},{name:"blur",target:"input, select, textarea, button",recurseFrames:!0},{name:"load",target:window},{name:"unload",target:window},{name:"resize",target:window},{name:"scroll",target:window},{name:"orientationchange",target:window},{name:"touchstart"},{name:"touchmove"},{name:"touchend"}]}},sessionDataEnabled:!1,sessionData:{sessionValueNeedsHashing:!0,sessionQueryName:"sessionID",sessionQueryDelim:";",sessionCookieName:"jsessionid"},framesBlacklist:["#iframe1"]},services:{queue:[{qid:"DEFAULT",endpoint:"/tealeaf-target",maxEvents:50,timerInterval:3e5,serializer:"json"}],message:{privacy:[{targets:["input[type=password]"],maskType:3}]},serializer:{json:{defaultToBuiltin:!0,parsers:["JSON.parse"],stringifiers:["JSON.stringify"]}},browser:{sizzleObject:"window.Sizzle",jQueryObject:"window.jQuery"}},modules:{overstat:{hoverThreshold:1e3},performance:{calculateRenderTime:!0,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}}}})}()