// All code and conventions are protected by copyright !function(t,e,n){function i(){T.getToolsByType("nielsen").length>0&&T.domReady(T.bind(this.initialize,this))}function a(e){T.domReady(T.bind(function(){this.twttr=e||t.twttr,this.initialize()},this))}function r(){this.lastURL=T.URL(),this._fireIfURIChanged=T.bind(this.fireIfURIChanged,this),this._onPopState=T.bind(this.onPopState,this),this._onHashChange=T.bind(this.onHashChange,this),this._pushState=T.bind(this.pushState,this),this._replaceState=T.bind(this.replaceState,this),this.initialize()}function s(){var t=T.filter(T.rules,function(t){return 0===t.event.indexOf("dataelementchange")});this.dataElementsNames=T.map(t,function(t){var e=t.event.match(/dataelementchange\((.*)\)/i);return e[1]},this),this.initPolling()}function o(){T.addEventHandler(t,"orientationchange",o.orientationChange)}function c(){this.rules=T.filter(T.rules,function(t){return"videoplayed"===t.event.substring(0,11)}),this.eventHandler=T.bind(this.onUpdateTime,this)}function u(){this.defineEvents(),this.visibilityApiHasPriority=!0,e.addEventListener?this.setVisibilityApiPriority(!1):this.attachDetachOlderEventListeners(!0,e,"focusout");T.bindEvent("aftertoolinit",function(){T.fireEvent(T.visibility.isHidden()?"tabblur":"tabfocus")})}function l(e){e=e||T.rules,this.rules=T.filter(e,function(t){return"inview"===t.event}),this.elements=[],this.eventHandler=T.bind(this.track,this),T.addEventHandler(t,"scroll",this.eventHandler),T.addEventHandler(t,"load",this.eventHandler)}function d(){this.rules=T.filter(T.rules,function(t){return"elementexists"===t.event})}function h(t){this.delay=250,this.FB=t,T.domReady(T.bind(function(){T.poll(T.bind(this.initialize,this),this.delay,8)},this))}function f(){var t=this.eventRegex=/^hover\(([0-9]+)\)$/,e=this.rules=[];T.each(T.rules,function(n){var i=n.event.match(t);i&&e.push([Number(n.event.match(t)[1]),n.selector])})}function g(t){T.BaseTool.call(this,t),this.defineListeners(),this.beaconMethod="plainBeacon",this.adapt=new g.DataAdapters,this.dataProvider=new g.DataProvider.Aggregate}function p(t){T.BaseTool.call(this,t),this.styleElements={},this.targetPageParamsStore={}}function v(){T.BaseTool.call(this),this.asyncScriptCallbackQueue=[],this.argsForBlockingScripts=[]}function m(t){T.BaseTool.call(this,t),this.varBindings={},this.events=[],this.products=[],this.customSetupFuns=[]}function y(t){T.BaseTool.call(this,t),this.name=t.name||"Basic"}function b(t){T.BaseTool.call(this,t)}function E(t){T.BaseTool.call(this,t)}function k(t){T.BaseTool.call(this,t),this.name=t.name||"VisitorID",this.initialize()}var S=Object.prototype.toString,P=t._satellite&&t._satellite.override,T={initialized:!1,$data:function(t,e,i){if(t){var a="__satellite__",r=T.dataCache,s=t[a];s||(s=t[a]=T.uuid++);var o=r[s];return o||(o=r[s]={}),i===n?o[e]:void(o[e]=i)}},uuid:1,dataCache:{},keys:function(t){var e=[];for(var n in t)t.hasOwnProperty(n)&&e.push(n);return e},values:function(t){var e=[];for(var n in t)t.hasOwnProperty(n)&&e.push(t[n]);return e},isArray:Array.isArray||function(t){return"[object Array]"===S.apply(t)},isObject:function(t){return null!=t&&!T.isArray(t)&&"object"==typeof t},isString:function(t){return"string"==typeof t},isNumber:function(t){return"[object Number]"===S.apply(t)&&!T.isNaN(t)},isNaN:function(t){return t!==t},isRegex:function(t){return t instanceof RegExp},isLinkTag:function(t){return!(!t||!t.nodeName||"a"!==t.nodeName.toLowerCase())},each:function(t,e,n){for(var i=0,a=t.length;a>i;i++)e.call(n,t[i],i,t)},map:function(t,e,n){for(var i=[],a=0,r=t.length;r>a;a++)i.push(e.call(n,t[a],a,t));return i},filter:function(t,e,n){for(var i=[],a=0,r=t.length;r>a;a++){var s=t[a];e.call(n,s,a,t)&&i.push(s)}return i},any:function(t,e,n){for(var i=0,a=t.length;a>i;i++){var r=t[i];if(e.call(n,r,i,t))return!0}return!1},every:function(t,e,n){for(var i=!0,a=0,r=t.length;r>a;a++){var s=t[a];i=i&&e.call(n,s,a,t)}return i},contains:function(t,e){return-1!==T.indexOf(t,e)},indexOf:function(t,e){if(t.indexOf)return t.indexOf(e);for(var n=t.length;n--;)if(e===t[n])return n;return-1},find:function(t,e,n){if(!t)return null;for(var i=0,a=t.length;a>i;i++){var r=t[i];if(e.call(n,r,i,t))return r}return null},textMatch:function(t,e){if(null==e)throw new Error("Illegal Argument: Pattern is not present");return null==t?!1:"string"==typeof e?t===e:e instanceof RegExp?e.test(t):!1},stringify:function(t,e){if(e=e||[],T.isObject(t)){if(T.contains(e,t))return"";e.push(t)}if(T.isArray(t))return"["+T.map(t,function(t){return T.stringify(t,e)}).join(",")+"]";if(T.isString(t))return'"'+String(t)+'"';if(T.isObject(t)){var n=[];for(var i in t)t.hasOwnProperty(i)&&n.push(i+": "+T.stringify(t[i],e));return"{"+n.join(", ")+"}"}return String(t)},trim:function(t){return null==t?null:t.trim?t.trim():t.replace(/^ */,"").replace(/ *$/,"")},bind:function(t,e){return function(){return t.apply(e,arguments)}},throttle:function(t,e){var n=null;return function(){var i=this,a=arguments;clearTimeout(n),n=setTimeout(function(){t.apply(i,a)},e)}},domReady:function(t){function n(t){for(h=1;t=a.shift();)t()}var i,a=[],r=!1,s=e,o=s.documentElement,c=o.doScroll,u="DOMContentLoaded",l="addEventListener",d="onreadystatechange",h=/^loade|^c/.test(s.readyState);return s[l]&&s[l](u,i=function(){s.removeEventListener(u,i,r),n()},r),c&&s.attachEvent(d,i=function(){/^c/.test(s.readyState)&&(s.detachEvent(d,i),n())}),t=c?function(e){self!=top?h?e():a.push(e):function(){try{o.doScroll("left")}catch(n){return setTimeout(function(){t(e)},50)}e()}()}:function(t){h?t():a.push(t)}}(),loadScript:function(t,n){var i=e.createElement("script");T.scriptOnLoad(t,i,n),i.src=t,e.getElementsByTagName("head")[0].appendChild(i)},scriptOnLoad:function(t,e,n){function i(t){t&&T.logError(t),n&&n(t)}"onload"in e?(e.onload=function(){i()},e.onerror=function(){i(new Error("Failed to load script "+t))}):"readyState"in e&&(e.onreadystatechange=function(){var t=e.readyState;("loaded"===t||"complete"===t)&&(e.onreadystatechange=null,i())})},loadScriptOnce:function(t,e){T.loadedScriptRegistry[t]||T.loadScript(t,function(n){n||(T.loadedScriptRegistry[t]=!0),e&&e(n)})},loadedScriptRegistry:{},loadScriptSync:function(t){return e.write?T.domReadyFired?void T.notify('Cannot load sync the "'+t+'" script after DOM Ready.',1):(t.indexOf('"')>-1&&(t=encodeURI(t)),void e.write('')):void T.notify('Cannot load sync the "'+t+'" script because "document.write" is not available',1)},pushAsyncScript:function(t){T.tools["default"].pushAsyncScript(t)},pushBlockingScript:function(t){T.tools["default"].pushBlockingScript(t)},addEventHandler:t.addEventListener?function(t,e,n){t.addEventListener(e,n,!1)}:function(t,e,n){t.attachEvent("on"+e,n)},removeEventHandler:t.removeEventListener?function(t,e,n){t.removeEventListener(e,n,!1)}:function(t,e,n){t.detachEvent("on"+e,n)},preventDefault:t.addEventListener?function(t){t.preventDefault()}:function(t){t.returnValue=!1},stopPropagation:function(t){t.cancelBubble=!0,t.stopPropagation&&t.stopPropagation()},containsElement:function(t,e){return t.contains?t.contains(e):!!(16&t.compareDocumentPosition(e))},matchesCss:function(n){function i(t,e){var n=e.tagName;return n?t.toLowerCase()===n.toLowerCase():!1}var a=n.matchesSelector||n.mozMatchesSelector||n.webkitMatchesSelector||n.oMatchesSelector||n.msMatchesSelector;return a?function(n,i){if(i===e||i===t)return!1;try{return a.call(i,n)}catch(r){return!1}}:n.querySelectorAll?function(t,e){var n=e.parentNode;if(!n)return!1;if(t.match(/^[a-z]+$/i))return i(t,e);try{for(var a=e.parentNode.querySelectorAll(t),r=a.length;r--;)if(a[r]===e)return!0}catch(s){}return!1}:function(t,e){if(t.match(/^[a-z]+$/i))return i(t,e);try{return T.Sizzle.matches(t,[e]).length>0}catch(n){return!1}}}(e.documentElement),cssQuery:function(t){return t.querySelectorAll?function(e,n){var i;try{i=t.querySelectorAll(e)}catch(a){i=[]}n(i)}:function(t,e){if(T.Sizzle){var n;try{n=T.Sizzle(t)}catch(i){n=[]}e(n)}else T.sizzleQueue.push([t,e])}}(e),hasAttr:function(t,e){return t.hasAttribute?t.hasAttribute(e):t[e]!==n},inherit:function(t,e){var n=function(){};n.prototype=e.prototype,t.prototype=new n,t.prototype.constructor=t},extend:function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},toArray:function(){try{var t=Array.prototype.slice;return t.call(e.documentElement.childNodes,0)[0].nodeType,function(e){return t.call(e,0)}}catch(n){return function(t){for(var e=[],n=0,i=t.length;i>n;n++)e.push(t[n]);return e}}}(),equalsIgnoreCase:function(t,e){return null==t?null==e:null==e?!1:String(t).toLowerCase()===String(e).toLowerCase()},poll:function(t,e,n){function i(){T.isNumber(n)&&a++>=n||t()||setTimeout(i,e)}var a=0;e=e||1e3,i()},escapeForHtml:function(t){return t?String(t).replace(/\&/g,"&").replace(/\/g,">").replace(/\"/g,""").replace(/\'/g,"'").replace(/\//g,"/"):t}};T.availableTools={},T.availableEventEmitters=[],T.fireOnceEvents=["condition","elementexists"],T.initEventEmitters=function(){T.eventEmitters=T.map(T.availableEventEmitters,function(t){return new t})},T.eventEmitterBackgroundTasks=function(){T.each(T.eventEmitters,function(t){"backgroundTasks"in t&&t.backgroundTasks()})},T.initTools=function(t){var e={"default":new v},n=T.settings.euCookieName||"sat_track";for(var i in t)if(t.hasOwnProperty(i)){var a,r,s;if(a=t[i],a.euCookie){var o="true"!==T.readCookie(n);if(o)continue}if(r=T.availableTools[a.engine],!r){var c=[];for(var u in T.availableTools)T.availableTools.hasOwnProperty(u)&&c.push(u);throw new Error("No tool engine named "+a.engine+", available: "+c.join(",")+".")}s=new r(a),s.id=i,e[i]=s}return e},T.preprocessArguments=function(t,e,n,i,a){function r(t){return i&&T.isString(t)?t.toLowerCase():t}function s(t){var c={};for(var u in t)if(t.hasOwnProperty(u)){var l=t[u];T.isObject(l)?c[u]=s(l):T.isArray(l)?c[u]=o(l,i):c[u]=r(T.replace(l,e,n,a))}return c}function o(t,i){for(var a=[],o=0,c=t.length;c>o;o++){var u=t[o];T.isString(u)?u=r(T.replace(u,e,n)):u&&u.constructor===Object&&(u=s(u)),a.push(u)}return a}return t?o(t,i):t},T.execute=function(t,e,n,i){function a(a){var r=i[a||"default"];if(r)try{r.triggerCommand(t,e,n)}catch(s){T.logError(s)}}if(!_satellite.settings.hideActivity)if(i=i||T.tools,t.engine){var r=t.engine;for(var s in i)if(i.hasOwnProperty(s)){var o=i[s];o.settings&&o.settings.engine===r&&a(s)}}else t.tool instanceof Array?T.each(t.tool,function(t){a(t)}):a(t.tool)},T.Logger={outputEnabled:!1,messages:[],keepLimit:100,flushed:!1,LEVELS:[null,null,"log","info","warn","error"],message:function(t,e){var n=this.LEVELS[e]||"log";this.messages.push([n,t]),this.messages.length>this.keepLimit&&this.messages.shift(),this.outputEnabled&&this.echo(n,t)},getHistory:function(){return this.messages},clearHistory:function(){this.messages=[]},setOutputState:function(t){this.outputEnabled!=t&&(this.outputEnabled=t,t?this.flush():this.flushed=!1)},echo:function(e,n){t.console&&t.console[e]("SATELLITE: "+n)},flush:function(){this.flushed||(T.each(this.messages,function(t){t[2]!==!0&&(this.echo(t[0],t[1]),t[2]=!0)},this),this.flushed=!0)}},T.notify=T.bind(T.Logger.message,T.Logger),T.cleanText=function(t){return null==t?null:T.trim(t).replace(/\s+/g," ")},T.cleanText.legacy=function(t){return null==t?null:T.trim(t).replace(/\s{2,}/g," ").replace(/[^\000-\177]*/g,"")},T.text=function(t){return t.textContent||t.innerText},T.specialProperties={text:T.text,cleanText:function(t){return T.cleanText(T.text(t))}},T.getObjectProperty=function(t,e,i){for(var a,r=e.split("."),s=t,o=T.specialProperties,c=0,u=r.length;u>c;c++){if(null==s)return n;var l=r[c];if(i&&"@"===l.charAt(0)){var d=l.slice(1);s=o[d](s)}else if(s.getAttribute&&(a=l.match(/^getAttribute\((.+)\)$/))){var h=a[1];s=s.getAttribute(h)}else s=s[l]}return s},T.getToolsByType=function(t){if(!t)throw new Error("Tool type is missing");var e=[];for(var n in T.tools)if(T.tools.hasOwnProperty(n)){var i=T.tools[n];i.settings&&i.settings.engine===t&&e.push(i)}return e},T.setVar=function(){var t=T.data.customVars;if(null==t&&(T.data.customVars={},t=T.data.customVars),"string"==typeof arguments[0]){var e=arguments[0];t[e]=arguments[1]}else if(arguments[0]){var n=arguments[0];for(var i in n)n.hasOwnProperty(i)&&(t[i]=n[i])}},T.dataElementSafe=function(t,e){if(arguments.length>2){var n=arguments[2];"pageview"===e?T.dataElementSafe.pageviewCache[t]=n:"session"===e?T.setCookie("_sdsat_"+t,n):"visitor"===e&&T.setCookie("_sdsat_"+t,n,730)}else{if("pageview"===e)return T.dataElementSafe.pageviewCache[t];if("session"===e||"visitor"===e)return T.readCookie("_sdsat_"+t)}},T.dataElementSafe.pageviewCache={},T.realGetDataElement=function(e){var n;return e.selector?T.hasSelector&&T.cssQuery(e.selector,function(t){if(t.length>0){var i=t[0];"text"===e.property?n=i.innerText||i.textContent:e.property in i?n=i[e.property]:T.hasAttr(i,e.property)&&(n=i.getAttribute(e.property))}}):e.queryParam?n=e.ignoreCase?T.getQueryParamCaseInsensitive(e.queryParam):T.getQueryParam(e.queryParam):e.cookie?n=T.readCookie(e.cookie):e.jsVariable?n=T.getObjectProperty(t,e.jsVariable):e.customJS?n=e.customJS():e.contextHub&&(n=e.contextHub()),T.isString(n)&&e.cleanText&&(n=T.cleanText(n)),n},T.getDataElement=function(t,e,i){if(i=i||T.dataElements[t],null==i)return T.settings.undefinedVarsReturnEmpty?"":null;var a=T.realGetDataElement(i);return a===n&&i.storeLength?a=T.dataElementSafe(t,i.storeLength):a!==n&&i.storeLength&&T.dataElementSafe(t,i.storeLength,a),a||e||(a=i["default"]||""),T.isString(a)&&i.forceLowerCase&&(a=a.toLowerCase()),a},T.getVar=function(i,a,r){var s,o,c=T.data.customVars,u=r?r.target||r.srcElement:null,l={uri:T.URI(),protocol:e.location.protocol,hostname:e.location.hostname};if(T.dataElements&&i in T.dataElements)return T.getDataElement(i);if(o=l[i.toLowerCase()],o===n)if("this."===i.substring(0,5))i=i.slice(5),o=T.getObjectProperty(a,i,!0);else if("event."===i.substring(0,6))i=i.slice(6),o=T.getObjectProperty(r,i);else if("target."===i.substring(0,7))i=i.slice(7),o=T.getObjectProperty(u,i);else if("window."===i.substring(0,7))i=i.slice(7),o=T.getObjectProperty(t,i);else if("param."===i.substring(0,6))i=i.slice(6),o=T.getQueryParam(i);else if(s=i.match(/^rand([0-9]+)$/)){var d=Number(s[1]),h=(Math.random()*(Math.pow(10,d)-1)).toFixed(0);o=Array(d-h.length+1).join("0")+h}else o=T.getObjectProperty(c,i);return o},T.getVars=function(t,e,n){var i={};return T.each(t,function(t){i[t]=T.getVar(t,e,n)}),i},T.replace=function(t,e,n,i){return"string"!=typeof t?t:t.replace(/%(.*?)%/g,function(t,a){var r=T.getVar(a,e,n);return null==r?T.settings.undefinedVarsReturnEmpty?"":t:i?T.escapeForHtml(r):r})},T.escapeHtmlParams=function(t){return t.escapeHtml=!0,t},T.searchVariables=function(t,e,n){if(!t||0===t.length)return"";for(var i=[],a=0,r=t.length;r>a;a++){var s=t[a],o=T.getVar(s,e,n);i.push(s+"="+escape(o))}return"?"+i.join("&")},T.fireRule=function(t,e,n){var i=t.trigger;if(i){for(var a=0,r=i.length;r>a;a++){var s=i[a];T.execute(s,e,n)}T.contains(T.fireOnceEvents,t.event)&&(t.expired=!0)}},T.isLinked=function(t){for(var e=t;e;e=e.parentNode)if(T.isLinkTag(e))return!0;return!1},T.firePageLoadEvent=function(t){for(var n=e.location,i={type:t,target:n},a=T.pageLoadRules,r=T.evtHandlers[i.type],s=a.length;s--;){var o=a[s];T.ruleMatches(o,i,n)&&(T.notify('Rule "'+o.name+'" fired.',1),T.fireRule(o,n,i))}for(var c in T.tools)if(T.tools.hasOwnProperty(c)){var u=T.tools[c];u.endPLPhase&&u.endPLPhase(t)}r&&T.each(r,function(t){t(i)})},T.track=function(t){t=t.replace(/^\s*/,"").replace(/\s*$/,"");for(var e=0;e0)return!1;if(t.expired)return!1;if("inview"===o&&e.inviewDelay!==t.inviewDelay)return!1;if(!l&&(t.bubbleFireIfParent===!1||0!==i&&t.bubbleFireIfChildFired===!1))return!1;if(t.selector&&!T.matchesCss(t.selector,n))return!1;if(!T.propertiesMatch(s,n))return!1;if(null!=c)if("string"==typeof c){if(c!==n.value)return!1}else if(!c.test(n.value))return!1;if(a)try{if(!a.call(n,e,u))return T.notify('Condition for rule "'+t.name+'" not met.',1),!1}catch(d){return T.notify('Condition for rule "'+t.name+'" not met. Error: '+d.message,1),!1}if(r){var h=T.find(r,function(i){try{return!i.call(n,e,u)}catch(a){return T.notify('Condition for rule "'+t.name+'" not met. Error: '+a.message,1),!0}});if(h)return T.notify("Condition "+h.toString()+' for rule "'+t.name+'" not met.',1),!1}return!0},T.evtHandlers={},T.bindEvent=function(t,e){var n=T.evtHandlers;n[t]||(n[t]=[]),n[t].push(e)},T.whenEvent=T.bindEvent,T.unbindEvent=function(t,e){var n=T.evtHandlers;if(n[t]){var i=T.indexOf(n[t],e);n[t].splice(i,1)}},T.bindEventOnce=function(t,e){var n=function(){T.unbindEvent(t,n),e.apply(null,arguments)};T.bindEvent(t,n)},T.isVMLPoisoned=function(t){if(!t)return!1;try{t.nodeName}catch(e){if("Attribute only valid on v:image"===e.message)return!0}return!1},T.handleEvent=function(t){if(!T.$data(t,"eventProcessed")){var e=t.type.toLowerCase(),n=t.target||t.srcElement,i=0,a=T.rules,r=(T.tools,T.evtHandlers[t.type]);if(T.isVMLPoisoned(n))return void T.notify("detected "+e+" on poisoned VML element, skipping.",1);r&&T.each(r,function(e){e(t)});var s=n&&n.nodeName;s?T.notify("detected "+e+" on "+n.nodeName,1):T.notify("detected "+e,1);for(var o=n;o;o=o.parentNode){var c=!1;if(T.each(a,function(e){T.ruleMatches(e,t,o,i)&&(T.notify('Rule "'+e.name+'" fired.',1),T.fireRule(e,o,t),i++,e.bubbleStop&&(c=!0))}),c)break}T.$data(t,"eventProcessed",!0)}},T.onEvent=e.querySelectorAll?function(t){T.handleEvent(t)}:function(){var t=[],e=function(e){e.selector?t.push(e):T.handleEvent(e)};return e.pendingEvents=t,e}(),T.fireEvent=function(t,e){T.onEvent({type:t,target:e})},T.registerEvents=function(t,e){for(var n=e.length-1;n>=0;n--){var i=e[n];T.$data(t,i+".tracked")||(T.addEventHandler(t,i,T.onEvent),T.$data(t,i+".tracked",!0))}},T.registerEventsForTags=function(t,n){for(var i=t.length-1;i>=0;i--)for(var a=t[i],r=e.getElementsByTagName(a),s=r.length-1;s>=0;s--)T.registerEvents(r[s],n)},T.setListeners=function(){var t=["click","submit"];T.each(T.rules,function(e){"custom"===e.event&&e.hasOwnProperty("customEvent")&&!T.contains(t,e.customEvent)&&t.push(e.customEvent)}),T.registerEvents(e,t)},T.getUniqueRuleEvents=function(){return T._uniqueRuleEvents||(T._uniqueRuleEvents=[],T.each(T.rules,function(t){-1===T.indexOf(T._uniqueRuleEvents,t.event)&&T._uniqueRuleEvents.push(t.event)})),T._uniqueRuleEvents},T.setFormListeners=function(){if(!T._relevantFormEvents){var t=["change","focus","blur","keypress"];T._relevantFormEvents=T.filter(T.getUniqueRuleEvents(),function(e){return-1!==T.indexOf(t,e)})}T._relevantFormEvents.length&&T.registerEventsForTags(["input","select","textarea","button"],T._relevantFormEvents)},T.setVideoListeners=function(){if(!T._relevantVideoEvents){var t=["play","pause","ended","volumechange","stalled","loadeddata"];T._relevantVideoEvents=T.filter(T.getUniqueRuleEvents(),function(e){return-1!==T.indexOf(t,e)})}T._relevantVideoEvents.length&&T.registerEventsForTags(["video"],T._relevantVideoEvents)},T.readStoredSetting=function(e){try{return e="sdsat_"+e,t.localStorage.getItem(e)}catch(n){return T.notify("Cannot read stored setting from localStorage: "+n.message,2),null}},T.loadStoredSettings=function(){var t=T.readStoredSetting("debug"),e=T.readStoredSetting("hide_activity");t&&(T.settings.notifications="true"===t),e&&(T.settings.hideActivity="true"===e)},T.isRuleActive=function(t,e){function n(t,e){return e=a(e,{hour:t[f](),minute:t[g]()}),Math.floor(Math.abs((t.getTime()-e.getTime())/864e5))}function i(t,e){function n(t){return 12*t[d]()+t[h]()}return Math.abs(n(t)-n(e))}function a(t,e){var n=new Date(t.getTime());for(var i in e)if(e.hasOwnProperty(i)){var a=e[i];switch(i){case"hour":n[p](a);break;case"minute":n[v](a);break;case"date":n[m](a)}}return n}function r(t,e){var n=t[f](),i=t[g](),a=e[f](),r=e[g]();return 60*n+i>60*a+r}function s(t,e){var n=t[f](),i=t[g](),a=e[f](),r=e[g]();return 60*a+r>60*n+i}var o=t.schedule;if(!o)return!0;var c=o.utc,u=c?"getUTCDate":"getDate",l=c?"getUTCDay":"getDay",d=c?"getUTCFullYear":"getFullYear",h=c?"getUTCMonth":"getMonth",f=c?"getUTCHours":"getHours",g=c?"getUTCMinutes":"getMinutes",p=c?"setUTCHours":"setHours",v=c?"setUTCMinutes":"setMinutes",m=c?"setUTCDate":"setDate";if(e=e||new Date,o.repeat){if(r(o.start,e))return!1;if(s(o.end,e))return!1;if(e=o.endRepeat)return!1;if("daily"===o.repeat){if(o.repeatEvery){var y=n(o.start,e);if(y%o.repeatEvery!==0)return!1}}else if("weekly"===o.repeat){if(o.days){if(!T.contains(o.days,e[l]()))return!1}else if(o.start[l]()!==e[l]())return!1;if(o.repeatEvery){var b=n(o.start,e);if(b%(7*o.repeatEvery)!==0)return!1}}else if("monthly"===o.repeat){if(o.repeatEvery){var E=i(o.start,e);if(E%o.repeatEvery!==0)return!1}if(o.nthWeek&&o.mthDay){if(o.mthDay!==e[l]())return!1;var k=Math.floor((e[u]()-e[l]()+1)/7);if(o.nthWeek!==k)return!1}else if(o.start[u]()!==e[u]())return!1}else if("yearly"===o.repeat){if(o.start[h]()!==e[h]())return!1;if(o.start[u]()!==e[u]())return!1;if(o.repeatEvery){var b=Math.abs(o.start[d]()-e[d]());if(b%o.repeatEvery!==0)return!1}}}else{if(o.start>e)return!1;if(o.end0?T.equalsIgnoreCase(t.substring(n),e):!1},T.getVisitorId=function(){var t=T.getToolsByType("visitor_id");return 0===t.length?null:t[0].getInstance()},T.URI=function(){var t=e.location.pathname+e.location.search;return T.settings.forceLowerCase&&(t=t.toLowerCase()),t},T.URL=function(){var t=e.location.href;return T.settings.forceLowerCase&&(t=t.toLowerCase()),t},T.filterRules=function(){function t(t){return T.isRuleActive(t)?!0:!1}T.rules=T.filter(T.rules,t),T.pageLoadRules=T.filter(T.pageLoadRules,t)},T.ruleInScope=function(t,n){function i(t,e){function n(t){return e.match(t)}var i=t.include,r=t.exclude;if(i&&a(i,e))return!0;if(r){if(T.isString(r)&&r===e)return!0;if(T.isArray(r)&&T.any(r,n))return!0;if(T.isRegex(r)&&n(r))return!0}return!1}function a(t,e){function n(t){return e.match(t)}return T.isString(t)&&t!==e?!0:T.isArray(t)&&!T.any(t,n)?!0:T.isRegex(t)&&!n(t)?!0:!1}n=n||e.location;var r=t.scope;if(!r)return!0;var s=r.URI,o=r.subdomains,c=r.domains,u=r.protocols,l=r.hashes;return s&&i(s,n.pathname+n.search)?!1:o&&i(o,n.hostname)?!1:c&&a(c,n.hostname)?!1:u&&a(u,n.protocol)?!1:l&&i(l,n.hash)?!1:!0},T.backgroundTasks=function(){+new Date;T.setFormListeners(),T.setVideoListeners(),T.loadStoredSettings(),T.registerNewElementsForDynamicRules(),T.eventEmitterBackgroundTasks();+new Date},T.registerNewElementsForDynamicRules=function(){function t(e,n){var i=t.cache[e];return i?n(i):void T.cssQuery(e,function(i){t.cache[e]=i,n(i)})}t.cache={},T.each(T.dynamicRules,function(e){t(e.selector,function(t){T.each(t,function(t){var n="custom"===e.event?e.customEvent:e.event;T.$data(t,"dynamicRules.seen."+n)||(T.$data(t,"dynamicRules.seen."+n,!0),T.propertiesMatch(e.property,t)&&T.registerEvents(t,[n]))})})})},T.ensureCSSSelector=function(){return e.querySelectorAll?void(T.hasSelector=!0):(T.loadingSizzle=!0,T.sizzleQueue=[],void T.loadScript(T.basePath()+"selector.js",function(){if(!T.Sizzle)return void T.logError(new Error("Failed to load selector.js"));var t=T.onEvent.pendingEvents;T.each(t,function(t){T.handleEvent(t)},this),T.onEvent=T.handleEvent,T.hasSelector=!0,delete T.loadingSizzle,T.each(T.sizzleQueue,function(t){T.cssQuery(t[0],t[1])}),delete T.sizzleQueue}))},T.errors=[],T.logError=function(t){T.errors.push(t),T.notify(t.name+" - "+t.message,5)},T.pageBottom=function(){T.initialized&&(T.pageBottomFired=!0,T.firePageLoadEvent("pagebottom"))},T.stagingLibraryOverride=function(){var t="true"===T.readStoredSetting("stagingLibrary");if(t){for(var n,i,a,r=e.getElementsByTagName("script"),s=/^(.*)satelliteLib-([a-f0-9]{40})\.js$/,o=/^(.*)satelliteLib-([a-f0-9]{40})-staging\.js$/,c=0,u=r.length;u>c&&(a=r[c].getAttribute("src"),!a||(n||(n=a.match(s)),i||(i=a.match(o)),!i));c++);if(n&&!i){var l=n[1]+"satelliteLib-"+n[2]+"-staging.js";if(e.write)e.write('');else{var d=e.createElement("script");d.src=l,e.head.appendChild(d)}return!0}}return!1},T.checkAsyncInclude=function(){t.satellite_asyncLoad&&T.notify('You may be using the async installation of Satellite. In-page HTML and the "pagebottom" event will not work. Please update your Satellite installation for these features.',5)},T.hasMultipleDomains=function(){return!!T.settings.domainList&&T.settings.domainList.length>1},T.handleOverrides=function(){if(P)for(var t in P)P.hasOwnProperty(t)&&(T.data[t]=P[t])},T.privacyManagerParams=function(){var t={};T.extend(t,T.settings.privacyManagement);var e=[];for(var n in T.tools)if(T.tools.hasOwnProperty(n)){var i=T.tools[n],a=i.settings;if(!a)continue;"sc"===a.engine&&e.push(i)}var r=T.filter(T.map(e,function(t){return t.getTrackingServer()}),function(t){return null!=t});t.adobeAnalyticsTrackingServers=r;for(var s=["bannerText","headline","introductoryText","customCSS"],o=0;o=u}:function(){return s-a>=u};!T.$data(t,n)&&l()&&(T.$data(t,n,!0),T.onEvent({type:n,target:t}))}},onUpdateTime:function(t){var e=this.rules,n=t.target;if(n.seekable&&0!==n.seekable.length)for(var i=0,a=e.length;a>i;i++)this.evalRule(n,e[i])}},T.availableEventEmitters.push(c),u.prototype={defineEvents:function(){this.oldBlurClosure=function(){T.fireEvent("tabblur",e)},this.oldFocusClosure=T.bind(function(){this.visibilityApiHasPriority?T.fireEvent("tabfocus",e):null!=T.visibility.getHiddenProperty()?T.visibility.isHidden()||T.fireEvent("tabfocus",e):T.fireEvent("tabfocus",e)},this)},attachDetachModernEventListeners:function(t){var n=0==t?"removeEventHandler":"addEventHandler";T[n](e,T.visibility.getVisibilityEvent(),this.handleVisibilityChange)},attachDetachOlderEventListeners:function(e,n,i){var a=0==e?"removeEventHandler":"addEventHandler";T[a](n,i,this.oldBlurClosure),T[a](t,"focus",this.oldFocusClosure)},handleVisibilityChange:function(){T.visibility.isHidden()?T.fireEvent("tabblur",e):T.fireEvent("tabfocus",e)},setVisibilityApiPriority:function(e){this.visibilityApiHasPriority=e,this.attachDetachOlderEventListeners(!1,t,"blur"),this.attachDetachModernEventListeners(!1),e?null!=T.visibility.getHiddenProperty()?this.attachDetachModernEventListeners(!0):this.attachDetachOlderEventListeners(!0,t,"blur"):(this.attachDetachOlderEventListeners(!0,t,"blur"),null!=T.visibility.getHiddenProperty()&&this.attachDetachModernEventListeners(!0))},oldBlurClosure:null,oldFocusClosure:null,visibilityApiHasPriority:!0},T.availableEventEmitters.push(u),l.offset=function(n){var i=null,a=null;try{var r=n.getBoundingClientRect(),s=e,o=s.documentElement,c=s.body,u=t,l=o.clientTop||c.clientTop||0,d=o.clientLeft||c.clientLeft||0,h=u.pageYOffset||o.scrollTop||c.scrollTop,f=u.pageXOffset||o.scrollLeft||c.scrollLeft;i=r.top+h-l,a=r.left+f-d}catch(g){}return{top:i,left:a}},l.getViewportHeight=function(){var n=t.innerHeight,i=e.compatMode;return i&&(n="CSS1Compat"==i?e.documentElement.clientHeight:e.body.clientHeight),n},l.getScrollTop=function(){return e.documentElement.scrollTop?e.documentElement.scrollTop:e.body.scrollTop},l.isElementInDocument=function(t){return e.body.contains(t)},l.isElementInView=function(t){if(!l.isElementInDocument(t))return!1;var e=l.getViewportHeight(),n=l.getScrollTop(),i=l.offset(t).top,a=t.offsetHeight;return null!==i?!(n>i+a||i>n+e):!1},l.prototype={backgroundTasks:function(){var t=this.elements;T.each(this.rules,function(e){T.cssQuery(e.selector,function(n){var i=0;T.each(n,function(e){T.contains(t,e)||(t.push(e),i++)}),i&&T.notify(e.selector+" added "+i+" elements.",1)})}),this.track()},checkInView:function(t,e,n){var i=T.$data(t,"inview");if(l.isElementInView(t)){i||T.$data(t,"inview",!0);var a=this;this.processRules(t,function(n,i,r){if(e||!n.inviewDelay)T.$data(t,i,!0),T.onEvent({type:"inview",target:t,inviewDelay:n.inviewDelay});else if(n.inviewDelay){var s=T.$data(t,r);s||(s=setTimeout(function(){a.checkInView(t,!0,n.inviewDelay)},n.inviewDelay),T.$data(t,r,s))}},n)}else{if(!l.isElementInDocument(t)){var r=T.indexOf(this.elements,t);this.elements.splice(r,1)}i&&T.$data(t,"inview",!1),this.processRules(t,function(e,n,i){var a=T.$data(t,i);a&&clearTimeout(a)},n)}},track:function(){for(var t=this.elements.length-1;t>=0;t--)this.checkInView(this.elements[t])},processRules:function(t,e,n){var i=this.rules;n&&(i=T.filter(this.rules,function(t){return t.inviewDelay==n})),T.each(i,function(n,i){var a=n.inviewDelay?"viewed_"+n.inviewDelay:"viewed",r="inview_timeout_id_"+i;T.$data(t,a)||T.matchesCss(n.selector,t)&&e(n,a,r)})}},T.availableEventEmitters.push(l),d.prototype.backgroundTasks=function(){T.each(this.rules,function(t){T.cssQuery(t.selector,function(t){if(t.length>0){var e=t[0];if(T.$data(e,"elementexists.seen"))return;T.$data(e,"elementexists.seen",!0),T.onEvent({type:"elementexists",target:e})}})})},T.availableEventEmitters.push(d),h.prototype={initialize:function(){return this.FB=this.FB||t.FB,this.FB&&this.FB.Event&&this.FB.Event.subscribe?(this.bind(),!0):void 0},bind:function(){this.FB.Event.subscribe("edge.create",function(){T.notify("tracking a facebook like",1),T.onEvent({type:"facebook.like",target:e})}),this.FB.Event.subscribe("edge.remove",function(){T.notify("tracking a facebook unlike",1),T.onEvent({type:"facebook.unlike",target:e})}),this.FB.Event.subscribe("message.send",function(){T.notify("tracking a facebook share",1),T.onEvent({type:"facebook.send",target:e})})}},T.availableEventEmitters.push(h),f.prototype={backgroundTasks:function(){var t=this;T.each(this.rules,function(e){var n=e[1],i=e[0];T.cssQuery(n,function(e){T.each(e,function(e){t.trackElement(e,i)})})},this)},trackElement:function(t,e){var n=this,i=T.$data(t,"hover.delays");i?T.contains(i,e)||i.push(e):(T.addEventHandler(t,"mouseover",function(e){n.onMouseOver(e,t)}),T.addEventHandler(t,"mouseout",function(e){n.onMouseOut(e,t)}),T.$data(t,"hover.delays",[e]))},onMouseOver:function(t,e){var n=t.target||t.srcElement,i=t.relatedTarget||t.fromElement,a=(e===n||T.containsElement(e,n))&&!T.containsElement(e,i);a&&this.onMouseEnter(e)},onMouseEnter:function(t){var e=T.$data(t,"hover.delays"),n=T.map(e,function(e){return setTimeout(function(){T.onEvent({type:"hover("+e+")",target:t})},e)});T.$data(t,"hover.delayTimers",n)},onMouseOut:function(t,e){var n=t.target||t.srcElement,i=t.relatedTarget||t.toElement,a=(e===n||T.containsElement(e,n))&&!T.containsElement(e,i);a&&this.onMouseLeave(e)},onMouseLeave:function(t){var e=T.$data(t,"hover.delayTimers");e&&T.each(e,function(t){clearTimeout(t)})}},T.availableEventEmitters.push(f),T.inherit(g,T.BaseTool),T.extend(g.prototype,{name:"Nielsen",endPLPhase:function(t){switch(t){case"pagetop":this.initialize();break;case"pagebottom":this.enableTracking&&(this.queueCommand({command:"sendFirstBeacon",arguments:[]}),this.flushQueueWhenReady())}},defineListeners:function(){this.onTabFocus=T.bind(function(){this.notify("Tab visible, sending view beacon when ready",1),this.tabEverVisible=!0,this.flushQueueWhenReady()},this),this.onPageLeave=T.bind(function(){this.notify("isHuman? : "+this.isHuman(),1),this.isHuman()&&this.sendDurationBeacon()},this),this.onHumanDetectionChange=T.bind(function(t){this==t.target.target&&(this.human=t.target.isHuman)},this)},initialize:function(){this.initializeTracking(),this.initializeDataProviders(),this.initializeNonHumanDetection(),this.tabEverVisible=T.visibility.isVisible(),this.tabEverVisible?this.notify("Tab visible, sending view beacon when ready",1):T.bindEventOnce("tabfocus",this.onTabFocus),this.initialized=!0},initializeTracking:function(){this.initialized||(this.notify("Initializing tracking",1),this.addRemovePageLeaveEvent(this.enableTracking),this.addRemoveHumanDetectionChangeEvent(this.enableTracking),this.initialized=!0)},initializeDataProviders:function(){var t,e=this.getAnalyticsTool();this.dataProvider.register(new g.DataProvider.VisitorID(T.getVisitorId())),e?(t=new g.DataProvider.Generic("rsid",function(){return e.settings.account}),this.dataProvider.register(t)):this.notify("Missing integration with Analytics: rsid will not be sent.")},initializeNonHumanDetection:function(){T.nonhumandetection?(T.nonhumandetection.init(),this.setEnableNonHumanDetection(0==this.settings.enableNonHumanDetection?!1:!0),this.settings.nonHumanDetectionDelay>0&&this.setNonHumanDetectionDelay(1e3*parseInt(this.settings.nonHumanDetectionDelay))):this.notify("NHDM is not available.")},getAnalyticsTool:function(){return this.settings.integratesWith?T.tools[this.settings.integratesWith]:void 0},flushQueueWhenReady:function(){this.enableTracking&&this.tabEverVisible&&T.poll(T.bind(function(){return this.isReadyToTrack()?(this.flushQueue(),!0):void 0},this),100,20)},isReadyToTrack:function(){return this.tabEverVisible&&this.dataProvider.isReady()},$setVars:function(t,e,n){for(var i in n){var a=n[i];"function"==typeof a&&(a=a()),this.settings[i]=a}this.notify("Set variables done",2),this.prepareContextData()},$setEnableTracking:function(t,e,n){this.notify("Will"+(n?"":" not")+" track time on page",1),this.enableTracking!=n&&(this.addRemovePageLeaveEvent(n),this.addRemoveHumanDetectionChangeEvent(n),this.enableTracking=n)},$sendFirstBeacon:function(t,e,n){this.sendViewBeacon()},setEnableNonHumanDetection:function(t){t?T.nonhumandetection.register(this):T.nonhumandetection.unregister(this)},setNonHumanDetectionDelay:function(t){T.nonhumandetection.register(this,t)},addRemovePageLeaveEvent:function(t){this.notify((t?"Attach onto":"Detach from")+" page leave event",1);var e=0==t?"unbindEvent":"bindEvent";T[e]("leave",this.onPageLeave)},addRemoveHumanDetectionChangeEvent:function(t){this.notify((t?"Attach onto":"Detach from")+" human detection change event",1);var e=0==t?"unbindEvent":"bindEvent";T[e]("humandetection.change",this.onHumanDetectionChange)},sendViewBeacon:function(){this.notify("Tracked page view.",1),this.sendBeaconWith()},sendDurationBeacon:function(){if(!T.timetracking||"function"!=typeof T.timetracking.timeOnPage||null==T.timetracking.timeOnPage())return void this.notify("Could not track close due missing time on page",5);this.notify("Tracked close",1),this.sendBeaconWith({timeOnPage:Math.round(T.timetracking.timeOnPage()/1e3),duration:"D",timer:"timer"});var t,e="";for(t=0;t0&&a){var c=r.shift();c.call(t,e,s)}var u=n.shift();if(u){var l=T.data.host,d=o.scriptURL(u.src);l&&(d=T.basePath()+d),a=u,T.loadScript(d,i)}}try{var a,n=n.slice(0),r=this.asyncScriptCallbackQueue,s=e.target||e.srcElement,o=this}catch(c){console.error("scripts is",T.stringify(n))}i()},$loadBlockingScript:function(t,e,n){var i=n.scripts,a=(n.loadOn,T.bind(function(){T.each(i,function(n){this.loadBlockingScript(t,e,n)},this)},this));a()},loadBlockingScript:function(t,e,n){var i=this.scriptURL(n.src),a=T.data.host,r=e.target||e.srcElement;a&&(i=T.basePath()+i),this.argsForBlockingScripts.push([t,e,r]),T.loadScriptSync(i)},pushAsyncScript:function(t){this.asyncScriptCallbackQueue.push(t)},pushBlockingScript:function(t){var e=this.argsForBlockingScripts.shift(),n=e[0];t.apply(n,e.slice(1))},$writeHTML:T.escapeHtmlParams(function(t,n){if(T.domReadyFired||!e.write)return void T.notify("Command writeHTML failed. You should try appending HTML using the async option.",1);if("pagebottom"!==n.type&&"pagetop"!==n.type)return void T.notify("You can only use writeHTML on the `pagetop` and `pagebottom` events.",1);for(var i=2,a=arguments.length;a>i;i++){var r=arguments[i].html;r=T.replace(r,t,n),e.write(r)}}),linkNeedsDelayActivate:function(e,n){n=n||t;var i=e.tagName,a=e.getAttribute("target"),r=e.getAttribute("href");return i&&"a"!==i.toLowerCase()?!1:r?a?"_blank"===a?!1:"_top"===a?n.top===n:"_parent"===a?!1:"_self"===a?!0:n.name?a===n.name:!0:!0:!1},$delayActivateLink:function(t,e){if(this.linkNeedsDelayActivate(t)){T.preventDefault(e);var n=T.settings.linkDelay||100;setTimeout(function(){T.setLocation(t.href)},n)}},isQueueable:function(t){return"writeHTML"!==t.command}}),T.availableTools["default"]=v,T.inherit(m,T.BaseTool),T.extend(m.prototype,{name:"SC",endPLPhase:function(t){var e=this.settings.loadOn;t===e&&this.initialize(t)},initialize:function(e){if(!this._cancelToolInit)if(this.settings.initVars=this.substituteVariables(this.settings.initVars,{type:e}),this.settings.initTool!==!1){var n=this.settings.sCodeURL||T.basePath()+"s_code.js";"object"==typeof n&&(n="https:"===t.location.protocol?n.https:n.http),n.match(/^https?:/)||(n=T.basePath()+n),this.settings.initVars&&this.$setVars(null,null,this.settings.initVars),T.loadScript(n,T.bind(this.onSCodeLoaded,this)),this.initializing=!0}else this.initializing=!0,this.pollForSC()},getS:function(e,n){var i=n&&n.hostname||t.location.hostname,a=this.concatWithToolVarBindings(n&&n.setVars||this.varBindings),r=n&&n.addEvent||this.events,s=this.getAccount(i),o=t.s_gi;if(!o)return null;if(this.isValidSCInstance(e)||(e=null),!s&&!e)return T.notify("Adobe Analytics: tracker not initialized because account was not found",1),null;var e=e||o(s),c="D"+T.appVersion;"undefined"!=typeof e.tagContainerMarker?e.tagContainerMarker=c:"string"==typeof e.version&&e.version.substring(e.version.length-5)!=="-"+c&&(e.version+="-"+c),e.sa&&this.settings.skipSetAccount!==!0&&this.settings.initTool!==!1&&e.sa(this.settings.account),this.applyVarBindingsOnTracker(e,a),r.length>0&&(e.events=r.join(","));var u=T.getVisitorId();return u&&(e.visitor=T.getVisitorId()),e},onSCodeLoaded:function(t){this.initialized=!0,this.initializing=!1;var e=["Adobe Analytics: loaded",t?" (manual)":"","."];T.notify(e.join(""),1),T.fireEvent(this.id+".load",this.getS()),t||(this.flushQueueExceptTrackLink(),this.sendBeacon()),this.flushQueue()},getAccount:function(e){return t.s_account?t.s_account:e&&this.settings.accountByHost?this.settings.accountByHost[e]||this.settings.account:this.settings.account},getTrackingServer:function(){var e=this,n=e.getS();if(n){if(n.ssl&&n.trackingServerSecure)return n.trackingServerSecure;if(n.trackingServer)return n.trackingServer}var i=e.getAccount(t.location.hostname);if(!i)return null;var a,r,s,o="",c=n&&n.dc;return a=i,r=a.indexOf(","),r>=0&&(a=a.gb(0,r)),a=a.replace(/[^A-Za-z0-9]/g,""),o||(o="2o7.net"),c=c?(""+c).toLowerCase():"d1","2o7.net"==o&&("d1"==c?c="112":"d2"==c&&(c="122"),s=""),r=a+"."+c+"."+s+o},sendBeacon:function(){var e=this.getS(t[this.settings.renameS||"s"]);return e?this.settings.customInit&&this.settings.customInit(e)===!1?void T.notify("Adobe Analytics: custom init suppressed beacon",1):(this.settings.executeCustomPageCodeFirst&&this.applyVarBindingsOnTracker(e,this.varBindings),this.executeCustomSetupFuns(e),e.t(),this.clearVarBindings(),this.clearCustomSetup(),void T.notify("Adobe Analytics: tracked page view",1)):void T.notify("Adobe Analytics: page code not loaded",1)},pollForSC:function(){T.poll(T.bind(function(){return"function"==typeof t.s_gi?(this.onSCodeLoaded(!0),!0):void 0},this))},flushQueueExceptTrackLink:function(){if(this.pending){for(var t=[],e=0;e0&&l.push("events"),o.products&&l.push("products"),l=this.mergeTrackLinkVars(o.linkTrackVars,l),s=this.mergeTrackLinkVars(o.linkTrackEvents,s),o.linkTrackVars=this.getCustomLinkVarsList(l);var d=T.map(s,function(t){return t.split(":")[0]});o.linkTrackEvents=this.getCustomLinkVarsList(d),o.tl(!0,i||"o",a),T.notify(["Adobe Analytics: tracked link ","using: linkTrackVars=",T.stringify(o.linkTrackVars),"; linkTrackEvents=",T.stringify(o.linkTrackEvents)].join(""),1),o.linkTrackVars=c,o.linkTrackEvents=u},mergeTrackLinkVars:function(t,e){return t&&(e=t.split(",").concat(e)),e},getCustomLinkVarsList:function(t){var e=T.indexOf(t,"None");return e>-1&&t.length>1&&t.splice(e,1),t.join(",")},definedVarNames:function(t){t=t||this.varBindings;var e=[];for(var n in t)t.hasOwnProperty(n)&&/^(eVar[0-9]+)|(prop[0-9]+)|(hier[0-9]+)|campaign|purchaseID|channel|server|state|zip|pageType$/.test(n)&&e.push(n);return e},$trackPageView:function(t,e,n){var i=n&&n.setVars,a=n&&n.addEvent||[],r=this.getS(null,{setVars:i,addEvent:a});return r?(r.linkTrackVars="",r.linkTrackEvents="",this.executeCustomSetupFuns(r),n&&n.customSetup&&n.customSetup.call(t,e,r),r.t(),this.clearVarBindings(),this.clearCustomSetup(),void T.notify("Adobe Analytics: tracked page view",1)):void T.notify("Adobe Analytics: page code not loaded",1)},$postTransaction:function(e,n,i){var a=T.data.transaction=t[i],r=this.varBindings,s=this.settings.fieldVarMapping;if(T.each(a.items,function(t){this.products.push(t)},this),r.products=T.map(this.products,function(t){var e=[];if(s&&s.item)for(var n in s.item)if(s.item.hasOwnProperty(n)){var i=s.item[n];e.push(i+"="+t[n]),"event"===i.substring(0,5)&&this.events.push(i)}var a=["",t.product,t.quantity,t.unitPrice*t.quantity];return e.length>0&&a.push(e.join("|")),a.join(";")},this).join(","),s&&s.transaction){var o=[];for(var c in s.transaction)if(s.transaction.hasOwnProperty(c)){var i=s.transaction[c];o.push(i+"="+a[c]),"event"===i.substring(0,5)&&this.events.push(i)}r.products.length>0&&(r.products+=","),r.products+=";;;;"+o.join("|")}},$addEvent:function(t,e){for(var n=2,i=arguments.length;i>n;n++)this.events.push(arguments[n])},$addProduct:function(t,e){for(var n=2,i=arguments.length;i>n;n++)this.products.push(arguments[n])}}),T.availableTools.sc=m,T.inherit(y,T.BaseTool),T.extend(y.prototype,{initialize:function(){var t=this.settings;if(this.settings.initTool!==!1){var e=t.url;e="string"==typeof e?T.basePath()+e:T.isHttps()?e.https:e.http,T.loadScript(e,T.bind(this.onLoad,this)),this.initializing=!0}else this.initialized=!0},isQueueAvailable:function(){return!this.initialized},onLoad:function(){this.initialized=!0,this.initializing=!1,this.settings.initialBeacon&&this.settings.initialBeacon(),this.flushQueue()},endPLPhase:function(t){var e=this.settings.loadOn;t===e&&(T.notify(this.name+": Initializing at "+t,1),this.initialize())},$fire:function(t,e,n){return this.initializing?void this.queueCommand({command:"fire",arguments:[n]},t,e):void n.call(this.settings,t,e)}}),T.availableTools.am=y,T.availableTools.adlens=y,T.availableTools.aem=y,T.availableTools.__basic=y,T.inherit(b,T.BaseTool),T.extend(b.prototype,{name:"GA",initialize:function(){var e=this.settings,n=t._gaq,i=e.initCommands||[],a=e.customInit;if(n||(_gaq=[]),this.isSuppressed())T.notify("GA: page code not loaded(suppressed).",1);else{if(!n&&!b.scriptLoaded){var r=T.isHttps(),s=(r?"https://ssl":"http://www")+".google-analytics.com/ga.js";e.url&&(s=r?e.url.https:e.url.http),T.loadScript(s),b.scriptLoaded=!0,T.notify("GA: page code loaded.",1)}var o=(e.domain,e.trackerName),c=w.allowLinker(),u=T.replace(e.account,location);T.settings.domainList||[];_gaq.push([this.cmd("setAccount"),u]),c&&_gaq.push([this.cmd("setAllowLinker"),c]),_gaq.push([this.cmd("setDomainName"),w.cookieDomain()]),T.each(i,function(t){var e=[this.cmd(t[0])].concat(T.preprocessArguments(t.slice(1),location,null,this.forceLowerCase));_gaq.push(e)},this),a&&(this.suppressInitialPageView=!1===a(_gaq,o)),e.pageName&&this.$overrideInitialPageView(null,null,e.pageName)}this.initialized=!0,T.fireEvent(this.id+".configure",_gaq,o)},isSuppressed:function(){return this._cancelToolInit||this.settings.initTool===!1},tracker:function(){return this.settings.trackerName},cmd:function(t){var e=this.tracker();return e?e+"._"+t:"_"+t},$overrideInitialPageView:function(t,e,n){this.urlOverride=n},trackInitialPageView:function(){if(!this.isSuppressed()&&!this.suppressInitialPageView)if(this.urlOverride){var t=T.preprocessArguments([this.urlOverride],location,null,this.forceLowerCase); this.$missing$("trackPageview",null,null,t)}else this.$missing$("trackPageview")},endPLPhase:function(t){var e=this.settings.loadOn;t===e&&(T.notify("GA: Initializing at "+t,1),this.initialize(),this.flushQueue(),this.trackInitialPageView())},call:function(t,e,n,i){if(!this._cancelToolInit){var a=(this.settings,this.tracker()),r=this.cmd(t),i=i?[r].concat(i):[r];_gaq.push(i),a?T.notify("GA: sent command "+t+" to tracker "+a+(i.length>1?" with parameters ["+i.slice(1).join(", ")+"]":"")+".",1):T.notify("GA: sent command "+t+(i.length>1?" with parameters ["+i.slice(1).join(", ")+"]":"")+".",1)}},$missing$:function(t,e,n,i){this.call(t,e,n,i)},$postTransaction:function(e,n,i){var a=T.data.customVars.transaction=t[i];this.call("addTrans",e,n,[a.orderID,a.affiliation,a.total,a.tax,a.shipping,a.city,a.state,a.country]),T.each(a.items,function(t){this.call("addItem",e,n,[t.orderID,t.sku,t.product,t.category,t.unitPrice,t.quantity])},this),this.call("trackTrans",e,n)},delayLink:function(t,e){var n=this;if(w.allowLinker()&&t.hostname.match(this.settings.linkerDomains)&&!T.isSubdomainOf(t.hostname,location.hostname)){T.preventDefault(e);var i=T.settings.linkDelay||100;setTimeout(function(){n.call("link",t,e,[t.href])},i)}},popupLink:function(e,n){if(t._gat){T.preventDefault(n);var i=this.settings.account,a=t._gat._createTracker(i),r=a._getLinkerUrl(e.href);t.open(r)}},$link:function(t,e){"_blank"===t.getAttribute("target")?this.popupLink(t,e):this.delayLink(t,e)},$trackEvent:function(t,e){var n=Array.prototype.slice.call(arguments,2);if(n.length>=4&&null!=n[3]){var i=parseInt(n[3],10);T.isNaN(i)&&(i=1),n[3]=i}this.call("trackEvent",t,e,n)}}),T.availableTools.ga=b;var w={allowLinker:function(){return T.hasMultipleDomains()},cookieDomain:function(){var e=T.settings.domainList,n=T.find(e,function(e){var n=t.location.hostname;return T.equalsIgnoreCase(n.slice(n.length-e.length),e)}),i=n?"."+n:"auto";return i}};T.inherit(E,T.BaseTool),T.extend(E.prototype,{name:"GAUniversal",endPLPhase:function(t){var e=this.settings,n=e.loadOn;t===n&&(T.notify("GAU: Initializing at "+t,1),this.initialize(),this.flushQueue(),this.trackInitialPageView())},getTrackerName:function(){return this.settings.trackerSettings.name||""},isPageCodeLoadSuppressed:function(){return this.settings.initTool===!1||this._cancelToolInit===!0},initialize:function(){if(this.isPageCodeLoadSuppressed())return this.initialized=!0,void T.notify("GAU: Page code not loaded (suppressed).",1);var e="ga";t[e]=t[e]||this.createGAObject(),t.GoogleAnalyticsObject=e,T.notify("GAU: Page code loaded.",1),T.loadScriptOnce(this.getToolUrl());var n=this.settings;if(w.allowLinker()&&n.allowLinker!==!1?this.createAccountForLinker():this.createAccount(),this.executeInitCommands(),n.customInit){var i=n.customInit,a=i(t[e],this.getTrackerName());a===!1&&(this.suppressInitialPageView=!0)}this.initialized=!0},createGAObject:function(){var t=function(){t.q.push(arguments)};return t.q=[],t.l=1*new Date,t},createAccount:function(){this.create()},createAccountForLinker:function(){var t={};w.allowLinker()&&(t.allowLinker=!0),this.create(t),this.call("require","linker"),this.call("linker:autoLink",this.autoLinkDomains(),!1,!0)},create:function(t){var e=this.settings.trackerSettings;e=T.preprocessArguments([e],location,null,this.forceLowerCase)[0],e.trackingId=T.replace(this.settings.trackerSettings.trackingId,location),e.cookieDomain||(e.cookieDomain=w.cookieDomain()),T.extend(e,t||{}),this.call("create",e)},autoLinkDomains:function(){var t=location.hostname;return T.filter(T.settings.domainList,function(e){return e!==t})},executeInitCommands:function(){var t=this.settings;t.initCommands&&T.each(t.initCommands,function(t){var e=t.splice(2,t.length-2);t=t.concat(T.preprocessArguments(e,location,null,this.forceLowerCase)),this.call.apply(this,t)},this)},trackInitialPageView:function(){this.suppressInitialPageView||this.isPageCodeLoadSuppressed()||this.call("send","pageview")},call:function(){return"function"!=typeof ga?void T.notify("GA Universal function not found!",4):void(this.isCallSuppressed()||(arguments[0]=this.cmd(arguments[0]),this.log(T.toArray(arguments)),ga.apply(t,arguments)))},isCallSuppressed:function(){return this._cancelToolInit===!0},$missing$:function(t,e,n,i){i=i||[],i=[t].concat(i),this.call.apply(this,i)},getToolUrl:function(){var t=this.settings,e=T.isHttps();return t.url?e?t.url.https:t.url.http:(e?"https://ssl":"http://www")+".google-analytics.com/analytics.js"},cmd:function(t){var e=["send","set","get"],n=this.getTrackerName();return n&&-1!==T.indexOf(e,t)?n+"."+t:t},log:function(t){var e=t[0],n=this.getTrackerName()||"default",i="GA Universal: sent command "+e+" to tracker "+n;if(t.length>1){T.stringify(t.slice(1));i+=" with parameters "+T.stringify(t.slice(1))}i+=".",T.notify(i,1)}}),T.availableTools.ga_universal=E,T.extend(k.prototype,{getInstance:function(){return this.instance},initialize:function(){var t,e=this.settings;T.notify("Visitor ID: Initializing tool",1),t=this.createInstance(e.mcOrgId,e.initVars),null!==t&&(e.customerIDs&&this.applyCustomerIDs(t,e.customerIDs),e.autoRequest&&t.getMarketingCloudVisitorID(),this.instance=t)},createInstance:function(t,e){if(!T.isString(t))return T.notify('Visitor ID: Cannot create instance using mcOrgId: "'+t+'"',4),null;t=T.replace(t),T.notify('Visitor ID: Create instance using mcOrgId: "'+t+'"',1),e=this.parseValues(e);var n=Visitor.getInstance(t,e);return T.notify("Visitor ID: Set variables: "+T.stringify(e),1),n},applyCustomerIDs:function(t,e){var n=this.parseIds(e);t.setCustomerIDs(n),T.notify("Visitor ID: Set Customer IDs: "+T.stringify(n),1)},parseValues:function(t){if(T.isObject(t)===!1)return{};var e={};for(var n in t)t.hasOwnProperty(n)&&(e[n]=T.replace(t[n]));return e},parseIds:function(t){var e={};if(T.isObject(t)===!1)return{};for(var n in t)if(t.hasOwnProperty(n)){var i=T.replace(t[n].id);i!==t[n].id&&i&&(e[n]={},e[n].id=i,e[n].authState=Visitor.AuthState[t[n].authState])}return e}}),T.availableTools.visitor_id=k,_satellite.init({tools:{},pageLoadRules:[{name:"01 google remarketing alle seiten",trigger:[{command:"loadIframe",arguments:[{pages:[{src:"satellite-595e2c2064746d3292012f5e.html",data:[]}]}]}],event:"pagebottom"},{name:"02 google sale - ergebnis mit parameter\xfcbergabe",trigger:[{command:"loadIframe",arguments:[{pages:[{src:"satellite-595f584f64746d0bd40079b2.html",data:["Vertriebsprodukt"]}]}]}],scope:{hashes:{include:["ergebnis"]}},event:"pagebottom"},{name:"03 google lead aa-danke",trigger:[{command:"loadIframe",arguments:[{pages:[{src:"satellite-595f58d764746d0a5801b544.html",data:[]}]}]}],scope:{hashes:{include:["aa-danke"]}},event:"pagebottom"},{name:"04 adform alle seiten",trigger:[{command:"loadIframe",arguments:[{pages:[{src:"satellite-595f6ab364746d6e6c00825f.html",data:[]}]}]}],event:"pagebottom"},{name:"05 intelliad oab-danke conversion sale",trigger:[{command:"loadIframe",arguments:[{pages:[{src:"satellite-595f6c5364746d6ae00148b0.html",data:[]}]}]}],scope:{hashes:{include:["oab-danke"]}},event:"pagebottom"},{name:"06 intelliad aa-danke conversion lead",trigger:[{command:"loadIframe",arguments:[{pages:[{src:"satellite-595f6cb164746d5067013790.html",data:["Anrede","Beitrag","Geburtsjahr","OrderID","Tarifmodus","Vertriebsprodukte"]}]}]}],scope:{hashes:{include:["aa-danke"]}},event:"pagebottom"},{name:"07 perfmedia utt alle seiten",trigger:[{command:"loadIframe",arguments:[{pages:[{src:"satellite-595f6d4964746d586a007bef.html",data:[]}]}]}],event:"pagebottom"}],rules:[{name:" 05 intelliad oab-danke conv mit Beitrag",trigger:[{command:"loadIframe",arguments:[{pages:[{src:"satellite-5968ce4864746d586a00b347.html",data:["Anrede","Beitrag","Geburtsjahr","OrderID","Tarifmodus","Vertriebsprodukt"]}]}]}],scope:{hashes:{include:["oab-danke"]}},event:"locationchange",bubbleFireIfParent:!0,bubbleFireIfChildFired:!0,bubbleStop:!1},{name:"DTM nur auf Fahrerdatenseiten mit Hash Regel",trigger:[{command:"loadIframe",arguments:[{pages:[{src:"satellite-58dce51c64746d33eb00a04d.html",data:[]}]}]}],scope:{hashes:{include:["fahrerdaten"]}},event:"locationchange",bubbleFireIfParent:!0,bubbleFireIfChildFired:!0,bubbleStop:!1},{name:"google ergebnis mit produkt",trigger:[{command:"loadIframe",arguments:[{pages:[{src:"satellite-5968cc9a64746d0b9200c740.html",data:["Vertriebsprodukt"]}]}]}],scope:{hashes:{include:["ergebnis"]}},event:"locationchange",bubbleFireIfParent:!0,bubbleFireIfChildFired:!0,bubbleStop:!1}],directCallRules:[],settings:{trackInternalLinks:!0,libraryName:"satelliteLib-5a2e4dbbf201fd918984d5166592a92f9d625538",isStaging:!1,allowGATTcalls:!1,downloadExtensions:/\.(?:doc|docx|eps|jpg|png|svg|xls|ppt|pptx|pdf|xlsx|tab|csv|zip|txt|vsd|vxd|xml|js|css|rar|exe|wma|mov|avi|wmv|mp3|wav|m4v)($|\&|\?)/i,notifications:!1,utilVisible:!1,domainList:["ergo.de"],scriptDir:"fe1c9671731d9d9932eda48b33a6211b9601a571/scripts/",tagTimeout:3e3},data:{URI:e.location.pathname+e.location.search,browser:{},cartItems:[],revenue:"",host:{http:"www.ergo.de/de/Resources/Tagmanager",https:"www.ergo.de/de/Resources/Tagmanager"}},dataElements:{Anrede:{selector:"div.DataElementAnrede",property:"text",storeLength:"pageview"},Beitrag:{selector:"div.DataElementBeitrag",property:"text",storeLength:"pageview"},Geburtsjahr:{selector:"div.DataElementGeburtsjahr",property:"text",storeLength:"pageview"},OrderID:{selector:"div.DataElementOrderID",property:"text",storeLength:"pageview"},Tarifmodus:{selector:"div.DataElementTarifmodus",property:"text",storeLength:"pageview"},Vertriebsprodukt:{selector:"div.DataElementVertriebsprodukt",property:"text",storeLength:"pageview"}},appVersion:"7QN",buildDate:"2017-08-17 11:37:01 UTC",publishDate:"2017-08-17 11:37:00 UTC"})}(window,document);