/* jQuery JavaScript Library v3.5.1 https://jquery.com/ Includes Sizzle.js https://sizzlejs.com/ Copyright JS Foundation and other contributors Released under the MIT license https://jquery.org/license Date: 2020-05-04T22:49Z Sizzle CSS Selector Engine v2.3.5 https://sizzlejs.com/ Copyright JS Foundation and other contributors Released under the MIT license https://js.foundation/ Date: 2020-03-14 */ window.ContextHubKernelConfig={debug:!1,initializationTimeout:2E3,stores:{snowflakegeolocation:{type:"snowflake.geolocation",required:!0},surferinfo:{type:"contexthub.surferinfo",required:!0},profile:{type:"granite.profile",required:!0},emulators:{type:"granite.emulators",required:!0},eventdata:{type:"aem.analyticsdata",required:!0},pagedata:{type:"aem.pagedata",required:!0},segmentation:{type:"aem.segmentation",required:!0},seeddata:{type:"campaign.seeddata",required:!1},metadata:{type:"campaign.metadata", required:!1}}}; (function(m,t){"object"===typeof module&&"object"===typeof module.exports?module.exports=m.document?t(m,!0):function(l){if(!l.document)throw Error("jQuery requires a window with a document");return t(l)}:t(m)})("undefined"!==typeof window?window:this,function(m,t){function l(a,b,c){c=c||ia;var f,h=c.createElement("script");h.text=a;if(b)for(f in Pc)(a=b[f]||b.getAttribute&&b.getAttribute(f))&&h.setAttribute(f,a);c.head.appendChild(h).parentNode.removeChild(h)}function d(a){return null==a?a+"":"object"=== typeof a||"function"===typeof a?Eb[ec.call(a)]||"object":typeof a}function e(a){var b=!!a&&"length"in a&&a.length,c=d(a);return aa(a)||qb(a)?!1:"array"===c||0===b||"number"===typeof b&&0=(1-h)*(1-(h=v()/C||.5))&&(n=0),A/=h;A*=2;g.style(a,b,A+y);c=c||[]}if(c){A=+A||+C||0;var G=c[1]?A+(c[1]+1)*c[2]:+c[2];f&&(f.unit=y,f.start=A,f.end=G)}return G}function ca(a,b){for(var c,f,h=[],n=0,v=a.length;nv;v+=2)"margin"===c&&(y+=g.css(a,c+ab[v],!0,h)),f?("content"===c&&(y-=g.css(a,"padding"+ab[v],!0,h)),"margin"!==c&&(y-=g.css(a,"border"+ab[v]+"Width",!0,h))):(y+=g.css(a,"padding"+ab[v],!0,h),"padding"!==c?y+=g.css(a,"border"+ab[v]+"Width",!0,h):C+=g.css(a,"border"+ab[v]+"Width",!0,h));!f&&0<=n&&(y+=Math.max(0,Math.ceil(a["offset"+b[0].toUpperCase()+b.slice(1)]-n-y-C-.5))||0);return y}function Ma(a,b,c){var f=Hb(a),h=(!la.boxSizingReliable()|| c)&&"border-box"===g.css(a,"boxSizing",!1,f),n=h,v=Oa(a,b,f),C="offset"+b[0].toUpperCase()+b.slice(1);if(Rb.test(v)){if(!c)return v;v="auto"}(!la.boxSizingReliable()&&h||!la.reliableTrDimensions()&&k(a,"tr")||"auto"===v||!parseFloat(v)&&"inline"===g.css(a,"display",!1,f))&&a.getClientRects().length&&(h="border-box"===g.css(a,"boxSizing",!1,f),(n=C in a)&&(v=a[C]));v=parseFloat(v)||0;return v+Ua(a,b,c||(h?"border":"content"),n,f,v)+"px"}function La(a,b,c,f,h){return new La.prototype.init(a,b,c,f,h)} function hb(){Ib&&(!1===ia.hidden&&m.requestAnimationFrame?m.requestAnimationFrame(hb):m.setTimeout(hb,g.fx.interval),g.fx.tick())}function wb(){m.setTimeout(function(){sb=void 0});return sb=Date.now()}function tb(a,b){var c=0,f={height:a};for(b=b?1:0;4>c;c+=2-b){var h=ab[c];f["margin"+h]=f["padding"+h]=a}b&&(f.opacity=f.width=a);return f}function mc(a,b,c){for(var f,h=(Va.tweeners[b]||[]).concat(Va.tweeners["*"]),n=0,v=h.length;nG&&Q)return A; Q||v.notifyWith(a,[y,1,0]);v.resolveWith(a,[y]);return!1},y=v.promise({elem:a,props:g.extend({},b),opts:g.extend(!0,{specialEasing:{},easing:g.easing._default},c),originalProperties:b,originalOptions:c,startTime:sb||wb(),duration:c.duration,tweens:[],createTween:function(A,G){A=g.Tween(a,y.opts,A,G,y.opts.specialEasing[A]||y.opts.easing);y.tweens.push(A);return A},stop:function(A){var G=0,K=A?y.tweens.length:0;if(f)return this;for(f=!0;Ga?this[a+this.length]:this[a]}, pushStack:function(a){a=g.merge(this.constructor(),a);a.prevObject=this;return a},each:function(a){return g.each(this,a)},map:function(a){return this.pushStack(g.map(this,function(b,c){return a.call(b,c,b)}))},slice:function(){return this.pushStack(gb.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(g.grep(this,function(a,b){return(b+1)%2}))},odd:function(){return this.pushStack(g.grep(this,function(a,b){return b% 2}))},eq:function(a){var b=this.length;a=+a+(0>a?b:0);return this.pushStack(0<=a&&aka.cacheLength&&delete p[z.shift()];return p[w+" "]=E}var z=[];return p}function f(p){p[va]=!0;return p}function h(p){var z=Z.createElement("fieldset");try{return!!p(z)}catch(w){return!1}finally{z.parentNode&&z.parentNode.removeChild(z)}}function n(p,z){p=p.split("|");for(var w=p.length;w--;)ka.attrHandle[p[w]]=z}function v(p,z){var w=z&&p,E=w&&1===p.nodeType&&1===z.nodeType&&p.sourceIndex-z.sourceIndex;if(E)return E;if(w)for(;w=w.nextSibling;)if(w===z)return-1;return p?1:-1}function C(p){return function(z){return"input"=== z.nodeName.toLowerCase()&&z.type===p}}function y(p){return function(z){var w=z.nodeName.toLowerCase();return("input"===w||"button"===w)&&z.type===p}}function A(p){return function(z){return"form"in z?z.parentNode&&!1===z.disabled?"label"in z?"label"in z.parentNode?z.parentNode.disabled===p:z.disabled===p:z.isDisabled===p||z.isDisabled!==!p&&fd(z)===p:z.disabled===p:"label"in z?z.disabled===p:!1}}function G(p){return f(function(z){z=+z;return f(function(w,E){for(var H,J=p([],w.length,z),P=J.length;P--;)w[H= J[P]]&&(w[H]=!(E[H]=w[H]))})})}function K(p){return p&&"undefined"!==typeof p.getElementsByTagName&&p}function Q(){}function oa(p){for(var z=0,w=p.length,E="";zp?String.fromCharCode(p+65536):String.fromCharCode(p>>10|55296,p&1023|56320)},sc=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,tc=function(p,z){return z?"\x00"===p?"\ufffd":p.slice(0,-1)+"\\"+p.charCodeAt(p.length-1).toString(16)+ " ":"\\"+p},yc=function(){lb()},fd=X(function(p){return!0===p.disabled&&"fieldset"===p.nodeName.toLowerCase()},{dir:"parentNode",next:"legend"});try{ib.apply(nb=xc.call(Ya.childNodes),Ya.childNodes),nb[Ya.childNodes.length].nodeType}catch(p){ib={apply:nb.length?function(z,w){jd.apply(z,xc.call(w))}:function(z,w){for(var E=z.length,H=0;z[E++]=w[H++];);z.length=E-1}}}var ua=b.support={};var rd=b.isXML=function(p){var z=(p.ownerDocument||p).documentElement;return!od.test(p.namespaceURI||z&&z.nodeName|| "HTML")};var lb=b.setDocument=function(p){var z;p=p?p.ownerDocument||p:Ya;if(p==Z||9!==p.nodeType||!p.documentElement)return Z;Z=p;Da=Z.documentElement;za=!rd(Z);Ya!=Z&&(z=Z.defaultView)&&z.top!==z&&(z.addEventListener?z.addEventListener("unload",yc,!1):z.attachEvent&&z.attachEvent("onunload",yc));ua.scope=h(function(w){Da.appendChild(w).appendChild(Z.createElement("div"));return"undefined"!==typeof w.querySelectorAll&&!w.querySelectorAll(":scope fieldset div").length});ua.attributes=h(function(w){w.className= "i";return!w.getAttribute("className")});ua.getElementsByTagName=h(function(w){w.appendChild(Z.createComment(""));return!w.getElementsByTagName("*").length});ua.getElementsByClassName=yb.test(Z.getElementsByClassName);ua.getById=h(function(w){Da.appendChild(w).id=va;return!Z.getElementsByName||!Z.getElementsByName(va).length});ua.getById?(ka.filter.ID=function(w){var E=w.replace(db,eb);return function(H){return H.getAttribute("id")===E}},ka.find.ID=function(w,E){if("undefined"!==typeof E.getElementById&& za)return(w=E.getElementById(w))?[w]:[]}):(ka.filter.ID=function(w){var E=w.replace(db,eb);return function(H){return(H="undefined"!==typeof H.getAttributeNode&&H.getAttributeNode("id"))&&H.value===E}},ka.find.ID=function(w,E){if("undefined"!==typeof E.getElementById&&za){var H,J=E.getElementById(w);if(J){if((H=J.getAttributeNode("id"))&&H.value===w)return[J];var P=E.getElementsByName(w);for(E=0;J=P[E++];)if((H=J.getAttributeNode("id"))&&H.value===w)return[J]}return[]}});ka.find.TAG=ua.getElementsByTagName? function(w,E){if("undefined"!==typeof E.getElementsByTagName)return E.getElementsByTagName(w);if(ua.qsa)return E.querySelectorAll(w)}:function(w,E){var H=[],J=0;E=E.getElementsByTagName(w);if("*"===w){for(;w=E[J++];)1===w.nodeType&&H.push(w);return H}return E};ka.find.CLASS=ua.getElementsByClassName&&function(w,E){if("undefined"!==typeof E.getElementsByClassName&&za)return E.getElementsByClassName(w)};Sa=[];Aa=[];if(ua.qsa=yb.test(Z.querySelectorAll))h(function(w){Da.appendChild(w).innerHTML="\x3ca id\x3d'"+ va+"'\x3e\x3c/a\x3e\x3cselect id\x3d'"+va+"-\r\\' msallowcapture\x3d''\x3e\x3coption selected\x3d''\x3e\x3c/option\x3e\x3c/select\x3e";w.querySelectorAll("[msallowcapture^\x3d'']").length&&Aa.push("[*^$]\x3d[\\x20\\t\\r\\n\\f]*(?:''|\"\")");w.querySelectorAll("[selected]").length||Aa.push("\\[[\\x20\\t\\r\\n\\f]*(?:value|checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped)");w.querySelectorAll("[id~\x3d"+va+"-]").length||Aa.push("~\x3d"); var E=Z.createElement("input");E.setAttribute("name","");w.appendChild(E);w.querySelectorAll("[name\x3d'']").length||Aa.push("\\[[\\x20\\t\\r\\n\\f]*name[\\x20\\t\\r\\n\\f]*\x3d[\\x20\\t\\r\\n\\f]*(?:''|\"\")");w.querySelectorAll(":checked").length||Aa.push(":checked");w.querySelectorAll("a#"+va+"+*").length||Aa.push(".#.+[+~]");w.querySelectorAll("\\\f");Aa.push("[\\r\\n\\f]")}),h(function(w){w.innerHTML="\x3ca href\x3d'' disabled\x3d'disabled'\x3e\x3c/a\x3e\x3cselect disabled\x3d'disabled'\x3e\x3coption/\x3e\x3c/select\x3e"; var E=Z.createElement("input");E.setAttribute("type","hidden");w.appendChild(E).setAttribute("name","D");w.querySelectorAll("[name\x3dd]").length&&Aa.push("name[\\x20\\t\\r\\n\\f]*[*^$|!~]?\x3d");2!==w.querySelectorAll(":enabled").length&&Aa.push(":enabled",":disabled");Da.appendChild(w).disabled=!0;2!==w.querySelectorAll(":disabled").length&&Aa.push(":enabled",":disabled");w.querySelectorAll("*,:x");Aa.push(",.*:")});(ua.matchesSelector=yb.test(Ob=Da.matches||Da.webkitMatchesSelector||Da.mozMatchesSelector|| Da.oMatchesSelector||Da.msMatchesSelector))&&h(function(w){ua.disconnectedMatch=Ob.call(w,"*");Ob.call(w,"[s!\x3d'']:x");Sa.push("!\x3d",":((?:\\\\[\\da-fA-F]{1,6}[\\x20\\t\\r\\n\\f]?|\\\\[^\\r\\n\\f]|[\\w-]|[^\x00-\\x7f])+)(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|\\[[\\x20\\t\\r\\n\\f]*((?:\\\\[\\da-fA-F]{1,6}[\\x20\\t\\r\\n\\f]?|\\\\[^\\r\\n\\f]|[\\w-]|[^\x00-\\x7f])+)(?:[\\x20\\t\\r\\n\\f]*([*^$|!~]?\x3d)[\\x20\\t\\r\\n\\f]*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|((?:\\\\[\\da-fA-F]{1,6}[\\x20\\t\\r\\n\\f]?|\\\\[^\\r\\n\\f]|[\\w-]|[^\x00-\\x7f])+))|)[\\x20\\t\\r\\n\\f]*\\])*)|.*)\\)|)")}); Aa=Aa.length&&new RegExp(Aa.join("|"));Sa=Sa.length&&new RegExp(Sa.join("|"));xb=(z=yb.test(Da.compareDocumentPosition))||yb.test(Da.contains)?function(w,E){var H=9===w.nodeType?w.documentElement:w;E=E&&E.parentNode;return w===E||!!(E&&1===E.nodeType&&(H.contains?H.contains(E):w.compareDocumentPosition&&w.compareDocumentPosition(E)&16))}:function(w,E){if(E)for(;E=E.parentNode;)if(E===w)return!0;return!1};Zb=z?function(w,E){if(w===E)return Pa=!0,0;var H=!w.compareDocumentPosition-!E.compareDocumentPosition; if(H)return H;H=(w.ownerDocument||w)==(E.ownerDocument||E)?w.compareDocumentPosition(E):1;return H&1||!ua.sortDetached&&E.compareDocumentPosition(w)===H?w==Z||w.ownerDocument==Ya&&xb(Ya,w)?-1:E==Z||E.ownerDocument==Ya&&xb(Ya,E)?1:ra?mb(ra,w)-mb(ra,E):0:H&4?-1:1}:function(w,E){if(w===E)return Pa=!0,0;var H=0,J=w.parentNode,P=E.parentNode,U=[w],I=[E];if(!J||!P)return w==Z?-1:E==Z?1:J?-1:P?1:ra?mb(ra,w)-mb(ra,E):0;if(J===P)return v(w,E);for(;w=w.parentNode;)U.unshift(w);for(w=E;w=w.parentNode;)I.unshift(w); for(;U[H]===I[H];)H++;return H?v(U[H],I[H]):U[H]==Ya?-1:I[H]==Ya?1:0};return Z};b.matches=function(p,z){return b(p,null,null,z)};b.matchesSelector=function(p,z){lb(p);if(!(!ua.matchesSelector||!za||Kb[z+" "]||Sa&&Sa.test(z)||Aa&&Aa.test(z)))try{var w=Ob.call(p,z);if(w||ua.disconnectedMatch||p.document&&11!==p.document.nodeType)return w}catch(E){Kb(z,!0)}return 0p.nodeType)return!1;return!0},parent:function(p){return!ka.pseudos.empty(p)}, header:function(p){return qd.test(p.nodeName)},input:function(p){return pd.test(p.nodeName)},button:function(p){var z=p.nodeName.toLowerCase();return"input"===z&&"button"===p.type||"button"===z},text:function(p){var z;return"input"===p.nodeName.toLowerCase()&&"text"===p.type&&(null==(z=p.getAttribute("type"))||"text"===z.toLowerCase())},first:G(function(){return[0]}),last:G(function(p,z){return[z-1]}),eq:G(function(p,z,w){return[0>w?w+z:w]}),even:G(function(p,z){for(var w=0;ww?w+z:w>z?z:w;0<=--z;)p.push(z);return p}),gt:G(function(p,z,w){for(w=0>w?w+z:w;++w:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;g.filter=function(a,b,c){var f=b[0];c&&(a=":not("+a+")");return 1===b.length&&1===f.nodeType?g.find.matchesSelector(f,a)?[f]:[]:g.find.matches(a,g.grep(b,function(h){return 1===h.nodeType}))};g.fn.extend({find:function(a){var b,c=this.length,f=this;if("string"!==typeof a)return this.pushStack(g(a).filter(function(){for(b=0;b)[^>]*|#([\w-]+))$/;(g.fn.init=function(a,b,c){if(!a)return this;c=c||td;if("string"===typeof a){var f="\x3c"===a[0]&&"\x3e"===a[a.length-1]&&3<=a.length?[null,a,null]:sd.exec(a);if(!f||!f[1]&&b)return!b||b.jquery? (b||c).find(a):this.constructor(b).find(a);if(f[1]){if(b=b instanceof g?b[0]:b,g.merge(this,g.parseHTML(f[1],b&&b.nodeType?b.ownerDocument||b:ia,!0)),Cc.test(f[1])&&g.isPlainObject(b))for(f in b)if(aa(this[f]))this[f](b[f]);else this.attr(f,b[f])}else if(a=ia.getElementById(f[2]))this[0]=a,this.length=1;return this}return a.nodeType?(this[0]=a,this.length=1,this):aa(a)?void 0!==c.ready?c.ready(a):a(g):g.makeArray(a,this)}).prototype=g.fn;var td=g(ia);var ud=/^(?:parents|prev(?:Until|All))/,vd={children:!0, contents:!0,next:!0,prev:!0};g.fn.extend({has:function(a){var b=g(a,this),c=b.length;return this.filter(function(){for(var f=0;fc.nodeType&&(v?-1=A&&(Q!==x&&(X=void 0,Ha=[W]),K.rejectWith(X,Ha))}};G?Wa():(g.Deferred.getStackHook&&(Wa.stackTrace=g.Deferred.getStackHook()),m.setTimeout(Wa))}}var A=0;return g.Deferred(function(G){b[0][3].add(y(0,G,aa(C)?C:B,G.notifyWith));b[1][3].add(y(0,G,aa(n)?n:B));b[2][3].add(y(0,G,aa(v)?v:x))}).promise()},promise:function(n){return null!=n?g.extend(n,f):f}},h={};g.each(b,function(n,v){var C=v[2],y=v[5];f[v[1]]=C.add;y&&C.add(function(){c=y},b[3-n][2].disable, b[3-n][3].disable,b[0][2].lock,b[0][3].lock);C.add(v[3].fire);h[v[0]]=function(){h[v[0]+"With"](this===h?void 0:this,arguments);return this};h[v[0]+"With"]=C.fireWith});f.promise(h);a&&a.call(h,h);return h},when:function(a){var b=arguments.length,c=b,f=Array(c),h=gb.call(arguments),n=g.Deferred(),v=function(C){return function(y){f[C]=this;h[C]=1=b&&(D(a,n.done(v(c)).resolve,n.reject,!b),"pending"===n.state()||aa(h[c]&&h[c].then)))return n.then(); for(;c--;)D(h[c],v(c),n.reject);return n.promise()}});var wd=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;g.Deferred.exceptionHook=function(a,b){m.console&&m.console.warn&&a&&wd.test(a.name)&&m.console.warn("jQuery.Deferred exception: "+a.message,a.stack,b)};g.readyException=function(a){m.setTimeout(function(){throw a;})};var ac=g.Deferred();g.fn.ready=function(a){ac.then(a).catch(function(b){g.readyException(b)});return this};g.extend({isReady:!1,readyWait:1,ready:function(a){(!0===a? --g.readyWait:g.isReady)||(g.isReady=!0,!0!==a&&0<--g.readyWait||ac.resolveWith(ia,[g]))}});g.ready.then=ac.then;"complete"===ia.readyState||"loading"!==ia.readyState&&!ia.documentElement.doScroll?m.setTimeout(g.ready):(ia.addEventListener("DOMContentLoaded",F),m.addEventListener("load",F));var fb=function(a,b,c,f,h,n,v){var C=0,y=a.length,A=null==c;if("object"===d(c))for(C in h=!0,c)fb(a,b,C,c[C],!0,n,v);else if(void 0!==f&&(h=!0,aa(f)||(v=!0),A&&(v?(b.call(a,f),b=null):(A=b,b=function(G,K,Q){return A.call(g(G), Q)})),b))for(;C\x20\t\r\n\f]*)/i,hc=/^$|^module$|\/(?:java|ecma)script/i;(function(){var a=ia.createDocumentFragment().appendChild(ia.createElement("div")), b=ia.createElement("input");b.setAttribute("type","radio");b.setAttribute("checked","checked");b.setAttribute("name","t");a.appendChild(b);la.checkClone=a.cloneNode(!0).cloneNode(!0).lastChild.checked;a.innerHTML="\x3ctextarea\x3ex\x3c/textarea\x3e";la.noCloneChecked=!!a.cloneNode(!0).lastChild.defaultValue;a.innerHTML="\x3coption\x3e\x3c/option\x3e";la.option=!!a.lastChild})();var Qa={thead:[1,"\x3ctable\x3e","\x3c/table\x3e"],col:[2,"\x3ctable\x3e\x3ccolgroup\x3e","\x3c/colgroup\x3e\x3c/table\x3e"], tr:[2,"\x3ctable\x3e\x3ctbody\x3e","\x3c/tbody\x3e\x3c/table\x3e"],td:[3,"\x3ctable\x3e\x3ctbody\x3e\x3ctr\x3e","\x3c/tr\x3e\x3c/tbody\x3e\x3c/table\x3e"],_default:[0,"",""]};Qa.tbody=Qa.tfoot=Qa.colgroup=Qa.caption=Qa.thead;Qa.th=Qa.td;la.option||(Qa.optgroup=Qa.option=[1,"\x3cselect multiple\x3d'multiple'\x3e","\x3c/select\x3e"]);var Uc=/<|&#?\w+;/,yd=/^key/,zd=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,Ec=/^([^.]*)(?:\.(.+)|)/;g.event={global:{},add:function(a,b,c,f,h){var n,v,C,y;var A= T.get(a);if(zb(a)){if(c.handler){var G=c;c=G.handler;h=G.selector}h&&g.find.matchesSelector(pb,h);c.guid||(c.guid=g.guid++);(v=A.events)||(v=A.events=Object.create(null));(n=A.handle)||(n=A.handle=function(X){return"undefined"!==typeof g&&g.event.triggered!==X.type?g.event.dispatch.apply(a,arguments):void 0});b=(b||"").match(Za)||[""];for(A=b.length;A--;){var K=Ec.exec(b[A])||[];var Q=C=K[1];var oa=(K[2]||"").split(".").sort();Q&&(K=g.event.special[Q]||{},Q=(h?K.delegateType:K.bindType)||Q,K=g.event.special[Q]|| {},C=g.extend({type:Q,origType:C,data:f,handler:c,guid:c.guid,selector:h,needsContext:h&&g.expr.match.needsContext.test(h),namespace:oa.join(".")},G),(y=v[Q])||(y=v[Q]=[],y.delegateCount=0,K.setup&&!1!==K.setup.call(a,f,oa,n)||a.addEventListener&&a.addEventListener(Q,n)),K.add&&(K.add.call(a,C),C.handler.guid||(C.handler.guid=c.guid)),h?y.splice(y.delegateCount++,0,C):y.push(C),g.event.global[Q]=!0)}}},remove:function(a,b,c,f,h){var n,v,C,y,A,G=T.hasData(a)&&T.get(a);if(G&&(C=G.events)){b=(b||"").match(Za)|| [""];for(y=b.length;y--;){var K=Ec.exec(b[y])||[];var Q=A=K[1];var oa=(K[2]||"").split(".").sort();if(Q){var X=g.event.special[Q]||{};Q=(f?X.delegateType:X.bindType)||Q;var Ha=C[Q]||[];K=K[2]&&new RegExp("(^|\\.)"+oa.join("\\.(?:.*\\.|)")+"(\\.|$)");for(v=n=Ha.length;n--;){var Ia=Ha[n];!h&&A!==Ia.origType||c&&c.guid!==Ia.guid||K&&!K.test(Ia.namespace)||f&&f!==Ia.selector&&("**"!==f||!Ia.selector)||(Ha.splice(n,1),Ia.selector&&Ha.delegateCount--,X.remove&&X.remove.call(a,Ia))}v&&!Ha.length&&(X.teardown&& !1!==X.teardown.call(a,oa,G.handle)||g.removeEvent(a,Q,G.handle),delete C[Q])}else for(Q in C)g.event.remove(a,Q+b[y],c,f,!0)}g.isEmptyObject(C)&&T.remove(a,"handle events")}},dispatch:function(a){var b,c,f,h=Array(arguments.length),n=g.event.fix(a);var v=(T.get(this,"events")||Object.create(null))[n.type]||[];var C=g.event.special[n.type]||{};h[0]=n;for(b=1;b\s*$/g;g.extend({htmlPrefilter:function(a){return a},clone:function(a,b,c){var f,h=a.cloneNode(!0), n=rb(a);if(!(la.noCloneChecked||1!==a.nodeType&&11!==a.nodeType||g.isXMLDoc(a))){var v=fa(h);var C=fa(a);var y=0;for(f=C.length;yg.inArray(this,a)&&(g.cleanData(fa(this)),c&&c.replaceChild(b,this))},a)}});g.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(a,b){g.fn[a]=function(c){for(var f=[],h=g(c),n=h.length-1,v=0;v<=n;v++)c=v===n?this: this.clone(!0),g(h[v])[b](c),Wb.apply(f,c.get());return this.pushStack(f)}});var Rb=new RegExp("^("+Dc+")(?!px)[a-z%]+$","i"),Hb=function(a){var b=a.ownerDocument.defaultView;b&&b.opener||(b=m);return b.getComputedStyle(a)},Fc=function(a,b,c){var f,h={};for(f in b)h[f]=a.style[f],a.style[f]=b[f];c=c.call(a);for(f in b)a.style[f]=h[f];return c},Xc=new RegExp(ab.join("|"),"i");(function(){function a(){if(y){C.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0"; y.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%";pb.appendChild(C).appendChild(y);var A=m.getComputedStyle(y);b="1%"!==A.top;v=12===Math.round(parseFloat(A.marginLeft));y.style.right="60%";h=36===Math.round(parseFloat(A.right));c=36===Math.round(parseFloat(A.width));y.style.position="absolute";f=12===Math.round(parseFloat(y.offsetWidth/3));pb.removeChild(C);y=null}}var b,c,f,h,n,v,C=ia.createElement("div"), y=ia.createElement("div");y.style&&(y.style.backgroundClip="content-box",y.cloneNode(!0).style.backgroundClip="",la.clearCloneStyle="content-box"===y.style.backgroundClip,g.extend(la,{boxSizingReliable:function(){a();return c},pixelBoxStyles:function(){a();return h},pixelPosition:function(){a();return b},reliableMarginLeft:function(){a();return v},scrollboxSize:function(){a();return f},reliableTrDimensions:function(){if(null==n){var A=ia.createElement("table");var G=ia.createElement("tr");var K=ia.createElement("div"); A.style.cssText="position:absolute;left:-11111px";G.style.height="1px";K.style.height="9px";pb.appendChild(A).appendChild(G).appendChild(K);G=m.getComputedStyle(G);n=3f;f++)h[a+ab[f]+b]=c[f]||c[f-2]||c[0];return h}};"margin"!==a&&(g.cssHooks[a+b].set=Ta)});g.fn.extend({css:function(a,b){return fb(this,function(c,f,h){var n,v={},C=0;if(Array.isArray(f)){h=Hb(c);for(n=f.length;Cc.indexOf(" "+f+" ")&&(c+=f+" ");c=jb(c);C!==c&&b.setAttribute("class",c)}}return this},removeClass:function(a){var b,c,f,h,n=0;if(aa(a))return this.each(function(y){g(this).removeClass(a.call(this,y,kb(this)))});if(!arguments.length)return this.attr("class","");var v=Sb(a);if(v.length)for(;b=this[n++];){var C=kb(b);if(c=1===b.nodeType&&" "+jb(C)+" "){for(h=0;f=v[h++];)for(;-1c?n:f?c:0;ay.indexOf(":")&&"on"+y;a=a[g.expando]?a:new g.Event(y,"object"=== typeof a&&a);a.isTrigger=f?2:3;a.namespace=A.join(".");a.rnamespace=a.namespace?new RegExp("(^|\\.)"+A.join("\\.(?:.*\\.|)")+"(\\.|$)"):null;a.result=void 0;a.target||(a.target=c);b=null==b?[a]:g.makeArray(b,[a]);A=g.event.special[y]||{};if(f||!A.trigger||!1!==A.trigger.apply(c,b)){if(!f&&!A.noBubble&&!qb(c)){var Q=A.delegateType||y;Ic.test(Q+y)||(G=G.parentNode);for(;G;G=G.parentNode)C.push(G),h=G;h===(c.ownerDocument||ia)&&C.push(h.defaultView||h.parentWindow||m)}for(h=0;(G=C[h++])&&!a.isPropagationStopped();)v= G,a.type=1ea||304===ea;Pa&&(Da=$c(A,W,Pa));!Z&& -1ea&&(ea=0);W.status=ea;W.statusText=(ra||za)+"";Z?Q.resolveWith(G,[Aa,za,W]):Q.rejectWith(G,[W,za,Sa]); W.statusCode(X);X=void 0;C&&K.trigger(Z?"ajaxSuccess":"ajaxError",[W,A,Z?Aa:Sa]);oa.fireWith(G,[W,za]);C&&(K.trigger("ajaxComplete",[W,A]),--g.active||g.event.trigger("ajaxStop"))}}"object"===typeof a&&(b=a,a=void 0);b=b||{};var f,h,n,v,C,y,A=g.ajaxSetup({},b),G=A.context||A,K=A.context&&(G.nodeType||G.jquery)?g(G):g.event,Q=g.Deferred(),oa=g.Callbacks("once memory"),X=A.statusCode||{},Ha={},Ia={},Wa="canceled",W={readyState:0,getResponseHeader:function(ea){var ra;if(Ja){if(!n)for(n={};ra=Od.exec(h);)n[ra[1].toLowerCase()+ " "]=(n[ra[1].toLowerCase()+" "]||[]).concat(ra[2]);ra=n[ea.toLowerCase()+" "]}return null==ra?null:ra.join(", ")},getAllResponseHeaders:function(){return Ja?h:null},setRequestHeader:function(ea,ra){null==Ja&&(ea=Ia[ea.toLowerCase()]=Ia[ea.toLowerCase()]||ea,Ha[ea]=ra);return this},overrideMimeType:function(ea){null==Ja&&(A.mimeType=ea);return this},statusCode:function(ea){var ra;if(ea)if(Ja)W.always(ea[W.status]);else for(ra in ea)X[ra]=[X[ra],ea[ra]];return this},abort:function(ea){ea=ea||Wa;f&& f.abort(ea);c(0,ea);return this}};Q.promise(W);A.url=((a||A.url||Cb.href)+"").replace(Qd,Cb.protocol+"//");A.type=b.method||b.type||A.method||A.type;A.dataTypes=(A.dataType||"*").toLowerCase().match(Za)||[""];if(null==A.crossDomain){a=ia.createElement("a");try{a.href=A.url,a.href=a.href,A.crossDomain=cc.protocol+"//"+cc.host!==a.protocol+"//"+a.host}catch(ea){A.crossDomain=!0}}A.data&&A.processData&&"string"!==typeof A.data&&(A.data=g.param(A.data,A.traditional));oc(Mc,A,b,W);if(Ja)return W;(C=g.event&& A.global)&&0===g.active++&&g.event.trigger("ajaxStart");A.type=A.type.toUpperCase();A.hasContent=!Pd.test(A.type);var Ga=A.url.replace(Md,"");A.hasContent?A.data&&A.processData&&0===(A.contentType||"").indexOf("application/x-www-form-urlencoded")&&(A.data=A.data.replace(Ld,"+")):(a=A.url.slice(Ga.length),A.data&&(A.processData||"string"===typeof A.data)&&(Ga+=(bc.test(Ga)?"\x26":"?")+A.data,delete A.data),!1===A.cache&&(Ga=Ga.replace(Nd,"$1"),a=(bc.test(Ga)?"\x26":"?")+"_\x3d"+Kc++ +a),A.url=Ga+a); A.ifModified&&(g.lastModified[Ga]&&W.setRequestHeader("If-Modified-Since",g.lastModified[Ga]),g.etag[Ga]&&W.setRequestHeader("If-None-Match",g.etag[Ga]));(A.data&&A.hasContent&&!1!==A.contentType||b.contentType)&&W.setRequestHeader("Content-Type",A.contentType);W.setRequestHeader("Accept",A.dataTypes[0]&&A.accepts[A.dataTypes[0]]?A.accepts[A.dataTypes[0]]+("*"!==A.dataTypes[0]?", "+Nc+"; q\x3d0.01":""):A.accepts["*"]);for(y in A.headers)W.setRequestHeader(y,A.headers[y]);if(A.beforeSend&&(!1===A.beforeSend.call(G, W,A)||Ja))return W.abort();Wa="abort";oa.add(A.complete);W.done(A.success);W.fail(A.error);if(f=oc(Ub,A,b,W)){W.readyState=1;C&&K.trigger("ajaxSend",[W,A]);if(Ja)return W;A.async&&0=e.length||(null===q||"undefined"===typeof q?delete u[k]:u[k]=q,m.each(u,function(B, x){r.push(B+":\x3d"+encodeURIComponent(x))}),ContextHub.Utils.Cookie.setItem(e,r.join("|")))};l.getItem=function(e,k){return d(e)[k]};l.removeItem=function(e,k){l.setItem(e,k,null)}})(ContextHubJQ,window);ContextHub.console.log(ContextHub.Shared.timestamp(),"[loading] contexthub.utils - ContextHub.Utils.cookie.js"); (function(m,t){t.ContextHub.Utils=t.ContextHub.Utils||{};var l={path:"/",expires:void 0,domain:void 0,secure:!1,trimUndefined:!0},d=function(r,B){var x=m.type(B);"object"===x&&m.isArray(B)&&(x="array");switch(x){case "regexp":return B.test(r);case "string":return r===B;case "function":return!0===B(r);case "array":var D=!1;m(B).each(function(F,N){D=d(r,N);return!D});return D;default:return!1}},e=function(r){var B="undefined"===typeof r,x=t.document.cookie?t.document.cookie.split(/;/):[],D=[];m(x).each(function(F, N){F=decodeURIComponent(N.split(/=/)[0].trim());F.length&&-1===m.inArray(F,D)&&(B||d(F,r))&&D.push(F)});return D.sort()},k=function(r,B,x){if("undefined"===typeof r)return!1;var D=m.type(B);x=m.extend(!0,{},l,x);B=!x.trimUndefined||"undefined"!==D&&"null"!==D?B:"";switch(m.type(x.expires)){case "date":break;case "number":D=new Date;D.setDate(D.getDate()+x.expires);x.expires=D;break;default:x.expires=void 0}r=[encodeURIComponent(r),"\x3d",encodeURIComponent(B),x.expires?"; expires\x3d"+x.expires.toUTCString(): "",x.domain?"; domain\x3d"+x.domain:"",x.path?"; path\x3d"+x.path:"",x.secure?"; secure":""].join("");return t.document.cookie=r},q=function(r){var B=t.document.cookie?t.document.cookie.split(/;/):[],x=null;m(B).each(function(D,F){D=decodeURIComponent(F.split(/=/).slice(1).join("\x3d").trim());decodeURIComponent(F.split(/=/)[0].trim())===r&&(x=D);return null===x});return x},u=function(r,B){k(r,"",m.extend({},B,{expires:-1}))};ContextHub.Utils.Cookie={setItem:k,getItem:q,getAllItems:function(r){var B= {};m(e(r)).each(function(x,D){x=q(D);var F=m.type(x);"undefined"!==F&&"null"!==F&&(B[D]=x)});return B},getKeys:e,exists:function(r){return null!==q(r)},removeItem:u,vanish:function(r,B){m(e(r)).each(function(x,D){u(D,B)})}}})(ContextHubJQ,window);ContextHub.console.log(ContextHub.Shared.timestamp(),"[loading] contexthub.utils - ContextHub.Utils.json.js"); (function(m,t){t.ContextHub.Utils=t.ContextHub.Utils||{};var l=function(r){var B=null;"string"===typeof r&&(B=r.split(/(?:\s*\/+\s*)+/),""===B[0]&&B.shift(),B.length&&""===B[B.length-1]&&B.pop());return B},d=function(r,B){var x=null;if(B=l(B))for(x=r,r=0;rN?-1:1:x===D?0:x>D?1:-1});m.each(B,function(x,D){x=d(r,D);var F=m.type(x);"object"!==F&&"array"!==F||!m.isEmptyObject(x)||(r=e(r,D))});return r},addAllItems:function(r,B){return m.extend(!0,{},r,B)}}})})(ContextHubJQ,window);ContextHub.console.log(ContextHub.Shared.timestamp(),"[loading] contexthub.utils - ContextHub.Utils.eventing.js"); (function(m,t){t.ContextHub.Utils=t.ContextHub.Utils||{};var l=function(){var L=m.grep([t.requestAnimationFrame,t.msRequestAnimationFrame,t.mozRequestAnimationFrame,t.webkitRequestAnimationFrame,t.oRequestAnimationFrame],m.isFunction).shift();if(!L){var R=0;L=function(ba){var wa=(new Date).getTime(),ha=Math.max(0,16-(wa-R)),ja=t.setTimeout(function(){ba(wa+ha)},ha);R=wa+ha;return ja}}return L}();(function(){var L=m.grep([t.cancelAnimationFrame,t.cancelRequestAnimationFrame,t.msCancelRequestAnimationFrame, t.mozCancelRequestAnimationFrame,t.webkitCancelRequestAnimationFrame,t.oCancelRequestAnimationFrame],m.isFunction).shift();L||(L=function(R){t.clearTimeout(R)});return L})();var d={},e={},k=function(L,R,ba){L=(L||"").replace(/^ *| *$/g,"");if(L.length){ba=ba||{};ba.hasOwnProperty("defer")||(ba.defer=this.config.defer);var wa=ba.defer;ba=ba._||{};L="/"+this.config.namespace+"/"+L;var ha=ContextHub.Utils.JSON.tree.getItem(this.queue,L)||{};ha.hasOwnProperty("executeAt")||(ha.executeAt=null);ha.hasOwnProperty("data")|| (ha.data=[]);for(var ja in ba)ba.hasOwnProperty(ja)&&"undefined"===typeof ha[ja]&&(ha[ja]=ba[ja]);ja=(new Date).getTime()+wa;if(!ha.executeAt||0===wa||ha.executeAt>ja)ha.executeAt=ja;m.isEmptyObject(R)||ha.data.push(R);this.queue=ContextHub.Utils.JSON.tree.setItem(this.queue,L,ha);this.eventingCounter=wa?this.eventingCounter:0;R=!0===this.queueIsEmpty;this.queueIsEmpty=!1;R&&this.eventingMonitor()}},q=function(){return this.queue},u=function(L,R){L.list.push(R.key);L.hash[R.key]=R},r=function(L){for(var R= m.extend(!0,{},L,{data:[]}),ba={},wa=function(Ua,Ma,La){var hb=Ua.key||"temp"+Math.random(),wb=ba[hb],tb=(wb||{}).old||null;ba[hb]=m.extend(!0,{},Ua);ba[hb]._idx=parseFloat(Ma+"."+(La||0));wb&&(ba[hb].old=tb)},ha=0;haR.executeAt){var ba=this.config.namespace+"-"+L,wa=R.duration?"("+R.duration+") ":"",ha=ContextHub.debug(),ja=m(this.config.broadcast);if(!this.windowBroadcast.initialized){var ta=t;var Ca=t.parent;try{for(;ta.location.origin===Ca.location.origin&&(ta=Ca,Ca=Ca.parent,ta!==t.top););}catch(Ta){}try{this.windowBroadcast.top=this.config.broadcast===ta?null:ta}catch(Ta){}this.windowBroadcast.initialized=!0}ta=this.windowBroadcast.top;R=r(R);R.event=ba;R.overlay&&(R= m.extend(!0,R,R.overlay));delete (this.queue[this.config.namespace]||{})[L];this.queueIsEmpty=m.isEmptyObject(this.queue[this.config.namespace]);if(!R.muteWhenNoData||R.muteWhenNoData&&0(new Date).getTime()&&u===d?(this.duration="cached",this.announceReadiness()):(this.setItem(ContextHub.Constants.SERVICE_LAST_URL_KEY,d),t.ContextHub.Callbacks=t.ContextHub.Callbacks|| {},ContextHub.Callbacks[this.callbackName]=this.callbackFunction.bind(this),l=this.getRequestOptions(),l.url=d,e&&m.extend(l,{dataType:"script",cache:!0}),this.pauseEventing(),this.duration=0,ContextHub.Shared.timers.start(this.name),d=m.ajax(l),e||d.done(function(r,B,x){r=ContextHub.Utils.JSON.parse(x.responseText);ContextHub.Callbacks[q.callbackName](r)}),d.fail(function(r){q.failureHandler(r)}),d.always(function(){k||q.resumeEventing();q.announceReadiness()}))}};ContextHub.Store.JSONPStore.prototype.successHandler= function(l){return l};ContextHub.Store.JSONPStore.prototype.failureHandler=function(l){ContextHub.console.log('There was an error while accessing JSONP service in the store "'+this.name+'", configuration: ',(this.config||{}).service,", error: ",l)};ContextHub.Store.JSONPStore.prototype.callbackFunction=function(l){this.duration=ContextHub.Shared.timers.finish(this.name)+"ms";this.setItem(ContextHub.Constants.SERVICE_RESPONSE_TIME_KEY,(new Date).getTime());l=this.successHandler(l);l=m.extend(!0,l instanceof Array?[]:{},l);this.setItem(ContextHub.Constants.SERVICE_RAW_RESPONSE_KEY,l)};ContextHub.Store.JSONPStore.prototype.getRawResponse=function(){return this.getItem(ContextHub.Constants.SERVICE_RAW_RESPONSE_KEY)||{}};ContextHub.Store.JSONPStore.prototype.reset=function(l){this.uber("reset",l);this.queryService(!1)};ContextHub.Store.JSONPStore.prototype.setUpdateInterval=function(l){l=isNaN(l)?this.config.pollInterval:l;this.intervalHandler&&(t.clearInterval(this.intervalHandler),this.intervalHandler= null);if(0u.length){var r=u.length;0===r&&(u.push(null),u.push(null));1===r&&u.push(k?!0:null)}r=ContextHub.SegmentEngine.getObjectValue(u[0]);var B=m.type(r);B=ContextHub.SegmentEngine.OperatorManager.getOperator(e,B);var x=function(O){k&&!1===O&&(d=l=!1);q&&!0===O&&(l=!0,d=!1)};x(r);var D=u.length?u.slice(1):[null]; if(B&&d){var F=k||q?u.length:2;e=B.operatorName;D=[];for(var N=1;Nt});ContextHub.SegmentEngine.OperatorManager.register("greater-than.string",function(m,t){m=String(m);t=String(t);return m>t});ContextHub.SegmentEngine.OperatorManager.register("greater-than.number",function(m,t){m=Number(String(m)||void 0);t=Number(String(t)||void 0);return m>t});ContextHub.SegmentEngine.OperatorManager.register("greater-than.date",function(m,t){m=new Date(m||void 0);t=new Date(t|| void 0);return Number(m)>Number(t)})})();ContextHub.console.log(ContextHub.Shared.timestamp(),"[loading] contexthub.segment-engine.operators - Operator.greater-than-or-equal.js"); (function(m){var t=function(e,k){ContextHub.console.error("[-] [SegmentEngine] Comparison operator not found:",e+(k?"."+k:""));return function(){return!1}},l=function(e,k){return(ContextHub.SegmentEngine.OperatorManager.getOperator(e,k)||{}).handler||t(e,k)},d=function(e){var k=l("greater-than",e),q=l("equal",e);return function(){return k.apply(this,arguments)||q.apply(this,arguments)}};m.each(ContextHub.SegmentEngine.OperatorManager.getAllOperators(),function(e){if(/^greater-than(\.|$)/.test(e)){var k= e.split(".",2);e=k.shift();k=k.shift();e=e.replace("greater-than","greater-than-or-equal");k&&(e+="."+k);ContextHub.SegmentEngine.OperatorManager.register(e,d(k))}})})(ContextHubJQ);ContextHub.console.log(ContextHub.Shared.timestamp(),"[loading] contexthub.segment-engine.page-interaction - PageInteraction.js"); (function(m,t){t.ContextHub.SegmentEngine.PageInteraction=t.ContextHub.SegmentEngine.PageInteraction||{};ContextHub.SegmentEngine.PageInteraction={};ContextHub.SegmentEngine.PageInteraction.info={propertyHolder:"data-contexthub-property",processorHolder:"data-processor",defaultHolder:"data-default-value"};ContextHub.SegmentEngine.PageInteraction.getPropertyPlaceholders=function(l){var d="["+ContextHub.SegmentEngine.PageInteraction.info.propertyHolder+(l?'^\x3d"%1"]':"]");l=m([d.replace(/%1/,"/"+l), d.replace(/%1/,l)].join(", "));var e=[];m.each(l,function(k,q){k=ContextHub.SegmentEngine.PageInteraction.PropertyPlaceholder(q);k.isValid()&&e.push(k)});return e}})(ContextHubJQ,window);ContextHub.console.log(ContextHub.Shared.timestamp(),"[loading] contexthub.segment-engine.page-interaction - PageInteraction.PropertyPlaceholder.js"); (function(m,t){t.ContextHub.SegmentEngine.PageInteraction=t.ContextHub.SegmentEngine.PageInteraction||{};var l=function(){var d=this.element.attr(ContextHub.SegmentEngine.PageInteraction.info.propertyHolder);this.element&&d?(d=ContextHub.Utils.JSON.tree.sanitizeKey(d),this.storeName=d.shift(),this.propertyName="/"+d.join("/"),this.keyName="/"+this.storeName+this.propertyName,this.defaultValue=m.trim(this.element.attr(ContextHub.SegmentEngine.PageInteraction.info.defaultHolder)||""),this.processors= [],m.each((this.element.attr(ContextHub.SegmentEngine.PageInteraction.info.processorHolder)||"").split(/,/),function(e,k){e=m.trim(k);e.length&&this.processors.push(e)}.bind(this))):(this.defaultValue=this.propertyName=this.keyName=this.storeName=null,this.processors=[])};ContextHub.SegmentEngine.PageInteraction.PropertyPlaceholder=function(d){var e=ContextHub.SegmentEngine.PageInteraction.PropertyPlaceholder;if(!(this instanceof e))return ContextHub.Utils.inheritance.newInstance(e,arguments);this.element= m(d);l.call(this)};ContextHub.SegmentEngine.PageInteraction.PropertyPlaceholder.prototype.update=function(d){l.call(this);var e=this.getValueProcessors();d||(d=ContextHub.get(this.getKey()));d&&""!==d||(d=this.getDefaultValue());for(var k=0;k=l?"0":"")+l};m=new Date(1E3*m);m=isNaN(m.getMilliseconds())?new Date:m;return[[m.getFullYear(),t(m.getMonth()+1),t(m.getDay())].join("-"),[t(m.getHours()),t(m.getMinutes()),t(m.getSeconds())].join(":")].join(" ")})})(); ContextHub.console.log(ContextHub.Shared.timestamp(),"[loading] contexthub.segment-engine.page-interaction - task.page-update-watcher.js"); (function(m,t){var l=t.MutationObserver||t.WebKitMutationObserver;if(l){var d={childList:!0,attributes:!0,characterData:!0,subtree:!0,attributeOldValue:!0,characterDataOldValue:!0,attributeFilter:[ContextHub.SegmentEngine.PageInteraction.info.propertyHolder,ContextHub.SegmentEngine.PageInteraction.info.defaultHolder,ContextHub.SegmentEngine.PageInteraction.info.processorHolder]};m(function(){(new l(function(e){for(var k="["+ContextHub.SegmentEngine.PageInteraction.info.propertyHolder+"]",q=[],u=0;u< e.length;u++){var r=e[u];m.merge(q,m(r.addedNodes).filter(k));r.attributeName&&r.target&&q.push(r.target)}m.each(m.unique(q),function(B,x){B=ContextHub.SegmentEngine.PageInteraction.PropertyPlaceholder(x);B.isValid()&&B.update()})})).observe(t.document.body,d)})}m(function(){var e=ContextHub.SegmentEngine.PageInteraction.getPropertyPlaceholders();m.each(e,function(k,q){q.isValid()&&q.update()})})})(ContextHubJQ,window);ContextHub.console.log(ContextHub.Shared.timestamp(),"[loading] contexthub.segment-engine.page-interaction - task.data-update-watcher.js"); (function(m){ContextHub.eventing.on(ContextHub.Constants.EVENT_STORE_UPDATED,function(t,l){t=ContextHub.SegmentEngine.PageInteraction.getPropertyPlaceholders((l||{}).store);m.each(t,function(d,e){var k=e.getPropertyName();d=this.eventData.keys.set.hash[k];k=this.eventData.keys.removed.hash[k];var q=d?d.value:void 0;(d||k)&&e.update(q)}.bind({eventData:l}))},"page-interaction",!0)})(ContextHubJQ);ContextHub.console.log(ContextHub.Shared.timestamp(),"[loading] contexthub.segment-engine.page-interaction - task.teaser-update.js"); (function(m){var t=0,l=function(){var e=ContextHub.SegmentEngine.PageInteraction.TeaserManager.getAllTeasers();m.each(e,function(k,q){q.isRegistered()&&q.updatePlaceholder()})},d=function(){80<=(new Date).getTime()-t?(l(),t=0):window.requestAnimationFrame(d)};ContextHub.eventing.once([ContextHub.Constants.EVENT_ALL_STORES_READY,ContextHub.Constants.EVENT_STORES_PARTIALLY_READY],function(){var e=[ContextHub.Constants.EVENT_SEGMENT_UPDATED,ContextHub.Constants.EVENT_STORE_UPDATED+":campaign",ContextHub.Constants.EVENT_TEASER_REGISTERED]; ContextHub.eventing.off(e,"teaser-updater");ContextHub.eventing.on(e,function(){var k=0===t;t=(new Date).getTime()+80;k&&d()},"teaser-updater",!0)},"teaser-initialization",!0)})(ContextHubJQ);ContextHub.console.log(ContextHub.Shared.timestamp(),"[loading] contexthub.segment-engine.page-interaction - strategy.first.js");(function(){ContextHub.SegmentEngine.PageInteraction.StrategyManager.register("first","First candidate",function(m){return(m||[])[0]||null})})(); ContextHub.console.log(ContextHub.Shared.timestamp(),"[loading] contexthub.segment-engine.page-interaction - strategy.last.js");(function(){ContextHub.SegmentEngine.PageInteraction.StrategyManager.register("last","Last candidate",function(m){var t;m&&(t=m[m.length-1]);return t||null})})();ContextHub.console.log(ContextHub.Shared.timestamp(),"[loading] contexthub.segment-engine.page-interaction - strategy.random.js"); (function(){ContextHub.SegmentEngine.PageInteraction.StrategyManager.register("random","Random",function(m){var t;m&&(t=m[Math.floor(Math.random()*m.length)]);return t||null})})();ContextHub.console.log(ContextHub.Shared.timestamp(),"[loading] contexthub.store.snowflake.geolocation - snowflake-geolocation.js"); (function(m){var t={initialValues:{countryCode:"US",regionCode:"CA",continentCode:"NA"}},l=function(d,e){this.config=m.extend(!0,{},t,e);this.init(d,this.config);"ui"!==ContextHub.Constants.MODE&&fetch("/content/snowflake-site/global/geolocation.json").then(function(k){if(!k.ok)throw Error("Network response was not ok: "+k.status+" "+k.statusText);return k.json()}).then(function(k){if("object"!==typeof k||null===k)throw Error("Invalid JSON structure: expected object, got "+typeof k);var q=function(u){return"string"=== typeof u&&0t.screen.height?"landscape":"portrait",F="normal"):-90===F||90===F?(x="landscape",F=90===F?"left":"right"):(x="portrait",F=0===F?"normal":"upside-down");q=e("display",{resolution:r,devicePixelRatio:u,colorDepth:q,nrOfColors:B,pixelsPerInch:D,orientation:{mode:x,direction:F}}).display.resolution}this.getItem("window")|| (u=e("window",{dimension:{width:m(t).innerWidth()*u,height:m(t).innerHeight()*u}}).window.dimension,e("window",{percentageUsage:Math.floor(u.width*u.height/(q.width*q.height)*100)/100}));this.getItem("browser")||e("browser",k());u=null;q=t.navigator.userAgent;D=q.match(/mobile|touch/i);x=q.match(/tablet/i);F=q.match(/iphone/i);var N=q.match(/ipod/i),M=q.match(/ipad/i),O=q.match(/htc/i),ma=q.match(RegExp("(BlackBerry)([^/]*)/([0-9.]*)","i")),qa=q.match(/GT-([^ ]*)/),ca=q.match(/ipad|ipod|iphone/i); r=q.match(/android/i);var fa=q.match(/windows/i),Ea=q.match(/(mobile|tablet);/i)&&q.match(/; rv:/i);B="Desktop";F||N||r&&D||fa&&D||ma&&D||Ea&&D?B="Mobile":(M||r&&x||fa&&x||ma&&x||Ea&&x)&&(B="Tablet");if(ca){u="iOS";var sa=ca.shift();var na=(q.match("OS ([0-9_]*)")||[""]).pop().replace(/_/g,".")}!u&&fa&&(u="windows");!u&&O&&(u="Android",sa=O.shift(),na=(q.match("HTC[_ /]([^ _;-]*)")||[""]).pop());!u&&ma&&4===ma.length&&(u="Blackberry",sa=ma.slice(1,3).join(" "),na=ma.pop());!u&&qa&&(na=qa.pop(),u= "Android",sa="Samsung "+({I90:"Galaxy S",I91:"Galaxy S II",I93:"Galaxy S III",I95:"Galaxy S IV",N70:"Note",N71:"Note II",P31:"Tab",P51:"Tab II"}[na.slice(0,3)]||"GT-"+na),na=(q.match("Android ([0-9.]*)")||[na]).pop());!u&&r&&(u="Android",sa="Unresolved",na=(q.match("Android ([0-9.]*)")||[""]).pop());u||(u="Desktop",sa="PC",na="");sa={category:B,type:u,model:sa,version:na};this.getItem("device")||e("device",sa);this.getItem("isMobile")||e("isMobile","desktop"!==sa.type);if(!this.getItem("os")){sa= null;na=t.navigator.userAgent;if(na.match(/Mac OS X|Macintosh/)){sa="Mac OS X";var ya=(na.match(/(Mac OS X|CPU OS) ([0-9_]*)/)||[""]).pop().replace(/_/g,".");ya=(na.match(/iPod|iPad|iPhone/)?"iOS ":"")+ya}sa||-1===na.indexOf("Windows")||(sa="Windows",ya={"NT 10.0":"10","NT 6.3":"8.1","NT 6.2":"8","NT 6.1":"7","NT 6.0":"Vista","NT 5.2":"XP x64","NT 5.1":"XP","NT 5.01":"2000 SP1","NT 5.0":"2000","NT 4.0":"NT 4.0",98:"98","NT 95":"95","NT CE":"CE"}[na.match(/Windows (.+?);/).pop()],"98"===ya&&-1!==na.indexOf("Win 9x 4.90")&& (ya="ME"));!sa&&na.match(/Linux/)&&(sa="Linux",ya=null);!sa&&na.match(/Android/)&&(sa="Android",ya=(na.match("Android ([0-9.]*)")||[""]).pop());e("os",{name:sa||"Unresolved",version:ya||"Unresolved"})}ya=new Date;d.year=ya.getFullYear();d.month=ya.getMonth()+1;d.day=ya.getDate();d.hour=ya.getHours();d.minutes=ya.getMinutes();this.addAllItems(d,{defer:0})};l.prototype.reset=function(q){this.uber("reset",q);this.readData()};ContextHub.Utils.storeCandidates.registerStoreCandidate(l,"contexthub.surferinfo", 0)})(ContextHubJQ,this);ContextHub.console.log(ContextHub.Shared.timestamp(),"[loading] contexthub.store.granite.profile - store.profile.js"); (function(m){var t={service:{jsonp:!1,timeout:1E3,path:"${contexthub:/store/profile/path}.infinity.json"},initialValues:{path:ContextHub.Constants.ANONYMOUS_HOME||"/home/users/a/anonymous"}},l=function(e){e=(new Date(e)).getTime();return~~((Date.now()-e)/315576E5)},d=function(e,k){this.config=m.extend(!0,{},t,k);this.init(e,this.config);this.onUpdate("age-update",function(q,u){var r=u.keys.set.hash["/birthday"];if(r&&r.value){var B=this;window.setTimeout(function(){B.setItem("age",l(r.value))},50)}}); this.queryService(!1)};ContextHub.Utils.inheritance.inherit(d,ContextHub.Store.PersistedJSONPStore);d.prototype.defaults={path:null,displayName:null,givenName:null,familyName:null,avatar:null,gender:null,birthday:null,age:null,email:null,aboutMe:null,streetAddress:null,city:null,state:null,country:null,postalCode:null,hobbies:null};d.prototype.successHandler=function(e){this.pauseEventing();var k=this.getItem("path");k&&(k=Granite.HTTP.externalize(k));var q=m.extend(!0,{},this.defaults,e.profile), u=!!ContextHub.Utils.JSON.tree.getItem(q,"/photos/primary/image"),r=/\/(jcr|sling|):/;m.each(ContextHub.Utils.JSON.tree.getKeys(q),function(B,x){x.match(r)&&(q=ContextHub.Utils.JSON.tree.removeItem(q,x))});q=ContextHub.Utils.JSON.tree.setItem(q,"path",k);u&&(q=ContextHub.Utils.JSON.tree.setItem(q,"avatar",k+"/profile/photos/primary/image"));q.birthday&&(q=ContextHub.Utils.JSON.tree.setItem(q,"age",l(q.birthday)));q.authorizableId=q.authorizableId||e["rep:authorizableId"];e="anonymous";q.givenName&& q.familyName?e=[q.givenName,q.familyName].filter(Boolean).join(" "):q.givenName?e=q.givenName:q.familyName?e=q.familyName:q.authorizableId&&(e=q.authorizableId);q=ContextHub.Utils.JSON.tree.setItem(q,"displayName",e);this.setItem("/",q);e="anonymous"===q.displayName?"anonymous":q.authorizableId;ContextHub.Shared.CookieContainer.setItem("SessionPersistence","PROFILEDATA",e?"authorizableId\x3d"+e:null);this.resumeEventing()};d.prototype.loadProfile=function(e){var k=ContextHub.getStore("profile");k.setItem("path", e?Granite.HTTP.externalize(e):e);k.queryService(!0)};ContextHub.Utils.storeCandidates.registerStoreCandidate(d,"granite.profile",0)})(ContextHubJQ);ContextHub.console.log(ContextHub.Shared.timestamp(),"[loading] cq.contexthub - store.clientcontext-backedstore.js (clientcontext connector)"); (function(m){window.ContextHub.Store=window.ContextHub.Store||{};ContextHub.Store.ClientContextBackedStore=function(){};ContextHub.Utils.inheritance.inherit(ContextHub.Store.ClientContextBackedStore,ContextHub.Store.PersistedJSONPStore);ContextHub.Store.ClientContextBackedStore.defaultConfig={mappingConfig:{propertyMapping:{},mapOtherProperties:!0,replicateToClientContext:!0}};ContextHub.Store.ClientContextBackedStore.prototype.init=function(t,l){this.uber("init",t,l);this.config=m.extend(!0,{},this.config, ContextHub.Store.ClientContextBackedStore.defaultConfig,l)};ContextHub.Store.ClientContextBackedStore.prototype.successHandler=function(t){var l=this.isEventingPaused(),d=this.config.mappingConfig.clientContextStoreName,e={},k;if(!this.preventSelfUpdating){this.preventSelfUpdating=!0;t=t||function(u,r){return r};this.pauseEventing();this.setItem("/",{});m.each(this.config.mappingConfig.propertyMapping,function(u,r){e[r]=!0;k=ClientContext.get(d+"/"+r);k=t(r,k);this.setItem("/"+u,k)}.bind(this));if(this.config.mappingConfig.mapOtherProperties){var q= ClientContext.get(d).data||{};m.each(q,function(u,r){e[u]||(r=t(u,r),this.setItem("/"+u,r))}.bind(this))}l||this.resumeEventing();this.preventSelfUpdating=!1}};ContextHub.Store.ClientContextBackedStore.prototype.failureHandler=function(t){};ContextHub.Store.ClientContextBackedStore.prototype.queryService=function(t,l){var d=this.config.mappingConfig.clientContextStoreName,e=this,k=function(){var q=ClientContext.get(d),u=e.isEventingPaused();e.pauseEventing();q?(q.addListener("update",function(){!0!== e.preventSelfUpdating&&e.successHandler(l)}),e.successHandler(l)):e.failureHandler();u||e.resumeEventing();e.announceReadiness()};ClientContext.get(d)?k():CQ_Analytics.ClientContextMgr.addListener("storeregister",function(q,u){u.STORENAME===d&&k()})};ContextHub.Store.ClientContextBackedStore.prototype.setItem=function(t,l){this.uber("setItem",t,l);if(this.config.mappingConfig.replicateToClientContext&&!0!==this.preventSelfUpdating&&(t=t.replace(/^\//,""),t.length)){var d=this.config.mappingConfig.propertyMapping[t]; !d&&this.config.mappingConfig.mapOtherProperties&&(d=t);d&&ClientContext.set(this.config.mappingConfig.clientContextStoreName+"/"+d,l)}};ContextHub.Store.ClientContextBackedStore.prototype.removeItem=function(t){this.uber("removeItem",t);if(this.config.mappingConfig.replicateToClientContext&&!0!==this.preventSelfUpdating){var l=t.replace(/^\//,"");l.length&&(t=this.config.mappingConfig.propertyMapping[l],!t&&this.config.mappingConfig.mapOtherProperties&&(t=l),t&&(l=CQ_Analytics.StoreRegistry.getStore(this.config.mappingConfig.clientContextStoreName))&& l.removeProperty(t))}}})(ContextHubJQ);ContextHub.console.log(ContextHub.Shared.timestamp(),"[loading] contexthub.store.granite.profile - store.clientcontext-profile.js (clientcontext connector)"); (function(m){var t={mappingConfig:{clientContextStoreName:"profile",propertyMapping:{displayName:"formattedName",path:"path",avatar:"avatar"},mapOtherProperties:!0,replicateToClientContext:!0}},l=function(e,k){"path"===e&&"string"===typeof k&&(k=k.replace(/\/profile$/,""));return k},d=function(e,k){this.config=m.extend({},!0,t,k);this.init(e,this.config);this.queryService(!0,l)};ContextHub.Utils.inheritance.inherit(d,ContextHub.Store.ClientContextBackedStore);d.prototype.loadProfile=function(e){e= (e||"").split("/").pop();e.length&&ClientContext.get(this.config.mappingConfig.clientContextStoreName).loadProfile(e)};d.prototype.reset=function(){var e=ClientContext.get(this.config.mappingConfig.clientContextStoreName);e&&e.reset()};ContextHub.Utils.storeCandidates.registerStoreCandidate(d,"granite.profile",10,function(){return!!window.ClientContext})})(ContextHubJQ); (function(m,t){m.Granite=m.Granite||{};m.Granite.author=m.Granite.author||{};var l=function(d){this.document=d;this._getRules()};l.getNativeDevice=function(){var d=m.innerWidth||document.documentElement.clientWidth,e=m.innerHeight||document.documentElement.clientHeight,k=m.screen.width,q=m.screen.height;var u=document.body;var r=document.createElement("div");u.appendChild(r);r.style.width="1in";var B=document.defaultView.getComputedStyle(r,null).getPropertyValue("width");u.removeChild(r);u=parseFloat(B); d={type:"screen",width:d,height:e,"device-width":k,"device-height":q,"device-pixel-ratio":1,resolution:u,scan:"progressive",grid:!1,color:m.screen.colorDepth,"color-index":m.screen.pixelDepth,monochrome:0};d["aspect-ratio"]=d.width/d.height;d.orientation=d.width>d.height?"landscape":"portrait";d["device-aspect-ratio"]=d["device-width"]/d["device-height"];return d};l.prototype={};Object.defineProperty(l.prototype,"appliedStyleSheet",{get:function(){for(var d=!0,e=this._appliedStyleSheet;e&&(e=e.parentNode);)if(e=== this.document){d=!1;break}if(!this._appliedStyleSheet||d)d=this.document,e=d.createElement("style"),e.appendChild(d.createTextNode("")),d.head.appendChild(e),this._appliedStyleSheet=e;return this._appliedStyleSheet}});l.prototype._getRules=function(){var d=[],e=l.parser.getMediaRules(this.document),k,q;for(k=0;kd.height?"landscape": "portrait");e["device-aspect-ratio"]=d["device-aspect-ratio"]||d["device-width"]/d["device-height"];return e};m.Granite.author.MediaEmulator=l})(this); (function(m,t){function l(x){var D=Number(x);D||(x=x.match(/^(\d+)\s*\/\s*(\d+)$/),D=x[1]/x[2]);return D}function d(x){var D=parseFloat(x);switch(String(x).match(B)[1]){case "dpcm":return D/2.54;case "dppx":return 96*D;default:return D}}function e(x){var D=parseFloat(x);switch(String(x).match(r)[1]){case "em":return 16*D;case "rem":return 16*D;case "cm":return 96*D/2.54;case "mm":return 96*D/2.54/10;case "in":return 96*D;case "pt":return 72*D;case "pc":return 72*D/12;default:return D}}var k=/^(?:(only|not)?\s*([_a-z][_a-z0-9-]*)|\s*(\([^()]+\)))(?:\s*(?:and|or)\s*(.*))?$/i, q=/^\(\s*([_a-z-][_a-z0-9-]*)\s*(?::|[<>]=?|=)?\s*([^\)]+)?\s*\)$/i,u=/^(?:(min|max)-)?(.+)/,r=/(em|rem|px|cm|mm|in|pt|pc)?\s*$/,B=/(dpi|dpcm|dppx)?\s*$/;Granite.author.MediaEmulator.parser={getMediaRules:function(x){x=x.styleSheets;var D=[];for(var F=0;F=O;case "max":return ca<=O;default:return ca===O}}))&&!F.not|| !N&&F.not))return!0}}})(this);ContextHub.console.log(ContextHub.Shared.timestamp(),"[loading] contexthub.store.granite.emulators - store.emulators.js"); (function(m){var t={defaultEmulators:[{id:"ipad",title:"iPad",type:"tablet",platform:"iOS",platformVersion:"5.1.1",width:768,height:1024,canRotate:!0,orientation:"Portrait","device-pixel-ratio":1},{id:"ipad-2",title:"iPad 2",type:"tablet",platform:"iOS",platformVersion:"8.1.3",width:768,height:1024,canRotate:!0,orientation:"Portrait","device-pixel-ratio":1},{id:"ipad-3",title:"iPad 3 / 4 / Air",type:"tablet",platform:"iOS",platformVersion:"8.1.3",width:1536,height:2048,canRotate:!0,orientation:"Portrait", "device-pixel-ratio":2},{id:"iphone-4",title:"iPhone 4",type:"mobile",platform:"iOS",platformVersion:"7.1.2",width:640,height:960,canRotate:!0,orientation:"Portrait","device-pixel-ratio":2},{id:"iphone-5",title:"iPhone 5",type:"mobile",platform:"iOS",platformVersion:"8.1.3",width:640,height:1136,canRotate:!0,orientation:"Portrait","device-pixel-ratio":2},{id:"iphone-6",title:"iPhone 6",type:"mobile",platform:"iOS",platformVersion:"8.1.3",width:750,height:1334,canRotate:!0,orientation:"Portrait","device-pixel-ratio":2}, {id:"iphone-6-plus",title:"iPhone 6 Plus",type:"mobile",platform:"iOS",platformVersion:"8.1.3",width:1080,height:1920,canRotate:!0,orientation:"Portrait","device-pixel-ratio":3},{id:"galaxy-s4",title:"Samsung Galaxy S4",type:"mobile",platform:"Android",platformVersion:"4.4.2 KitKat",width:1080,height:1920,canRotate:!0,orientation:"Portrait","device-pixel-ratio":3}]},l=function(d,e){this.config=m.extend(!0,{},t,e);e=this.getSupportedEmulators();m.extend(!0,this.config,{initialValues:{devices:e,currentDeviceId:e[0].id, orientations:[{id:"landscape",title:"Landscape"},{id:"portrait",title:"Portrait"}]}});this.init(d,this.config);this.mediaEmulator=null;window.Granite&&Granite.author&&Granite.author.MediaEmulator&&(this.mediaEmulator=new Granite.author.MediaEmulator(window.document));this.emulateDevice(this.getItem("currentDeviceId")||"native")};ContextHub.Utils.inheritance.inherit(l,ContextHub.Store.PersistedStore);l.prototype.detectNativeDevice=function(){var d=window.innerWidth||document.documentElement.clientWidth, e=window.innerHeight||document.documentElement.clientHeight,k=d>e?"Landscape":"Portrait",q=ContextHub.get("surferinfo/os/name")||"",u=ContextHub.get("surferinfo/os/version")||"";return{id:"native",title:"Native",type:"screen",width:d,height:e,orientation:k,platform:q,platformVersion:u,canRotate:!/mac os x|windows/i.test(q)}};l.prototype.getSupportedEmulators=function(){return m.merge([this.detectNativeDevice()],this.config.defaultEmulators)};l.prototype.emulateDevice=function(d){var e=d?this.getDeviceById(d): ContextHub.get("emulators/currentDevice");e&&this.mediaEmulator&&(this.setItem("currentDeviceId",e.id),this.setItem("currentDevice",e),"native"===d?this.mediaEmulator.restore():this.mediaEmulator.applyDevice(e),this.eventing.trigger("emulating-device:"+e.id,{device:e}));return e};l.prototype.getDeviceById=function(d){var e=null,k=this.getItem("devices")||[];m.each(k,function(q,u){u.id===d&&(e=u);return null===e});return e};l.prototype.reset=function(){this.uber("reset");var d=this.getItem("currentDeviceId"); this.emulateDevice(d)};ContextHub.Utils.storeCandidates.registerStoreCandidate(l,"granite.emulators",0)})(ContextHubJQ);ContextHub.console.log(ContextHub.Shared.timestamp(),"[loading] contexthub.store.aem.analyticsdata - store.analyticsdata.js");(function(m){var t={},l=function(d,e){this.init(d,this.config);this.config=m.extend(!0,{},t,e)};ContextHub.Utils.inheritance.inherit(l,ContextHub.Store.SessionStore);ContextHub.Utils.storeCandidates.registerStoreCandidate(l,"aem.analyticsdata",0)})(ContextHubJQ); ContextHub.console.log(ContextHub.Shared.timestamp(),"[loading] contexthub.store.aem.pagedata - store.pagedata.js"); (function(m){var t={forceExperienceCookie:"cq-forceexperience",service:{jsonp:!1,timeout:1E3,path:"${variable:ContextHub.Paths.RESOURCE_PATH}.pagedata.json"}},l=function(d,e){this.config=m.extend(!0,{},t,e);this.init(d,this.config);this.queryService(!0)};ContextHub.Utils.inheritance.inherit(l,ContextHub.Store.PersistedJSONPStore);l.prototype.successHandler=function(d){this.setItem("/",d||{})};l.prototype.setExperience=function(d){ContextHub.Utils.Cookie.setItem(this.config.forceExperienceCookie,d, {path:"/"})};l.prototype.getExperience=function(){return ContextHub.Utils.Cookie.getItem(this.config.forceExperienceCookie)};l.prototype.clearExperience=function(){ContextHub.Utils.Cookie.removeItem(this.config.forceExperienceCookie)};ContextHub.Utils.storeCandidates.registerStoreCandidate(l,"aem.pagedata",0)})(ContextHubJQ);ContextHub.console.log(ContextHub.Shared.timestamp(),"[loading] contexthub.store.aem.segmentation - store.segmentation.js"); (function(m){var t={service:{script:!0,timeout:3E3,path:window.ContextHub.Paths.SEGMENTATION_PATH+".seg.js"}},l=function(e,k){this.config=m.extend(!0,{},t,k);this.init(e,this.config);this.refreshData();ContextHub.eventing.on(ContextHub.Constants.EVENT_SEGMENT_UPDATED,function(){requestAnimationFrame(this.refreshData.bind(this))}.bind(this));ContextHub.isOptedOut()?this.announceReadiness():this.reloadSegments()};ContextHub.Utils.inheritance.inherit(l,ContextHub.Store.PersistedJSONPStore);l.prototype.reset= function(e){ContextHub.SegmentEngine.SegmentManager.unregisterAllSegments();this.uber("reset",e)};l.prototype.queryService=function(e){ContextHub.isOptedOut()||this.uber("queryService",e)};l.prototype.reloadSegments=function(){this.reset()};var d=function(e){e=parseInt(e,10)||0;if(0>=e)e="No segment";else if(5>=e)e=e+" segment"+(1