/* 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 jQuery JavaScript Library v1.12.4-aem http://jquery.com/ Includes Sizzle.js http://sizzlejs.com/ Copyright jQuery Foundation and other contributors Released under the MIT license http://jquery.org/license Date: 2016-05-20T17:17Z Sizzle CSS Selector Engine v2.2.1 http://sizzlejs.com/ Copyright jQuery Foundation and other contributors Released under the MIT license http://jquery.org/license Date: 2015-10-17 */ window.ContextHubKernelConfig={debug:!1,initializationTimeout:2E3,stores:{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},geolocations:{type:"contexthub.geolocations",required:!0,config:{geocoder:{enabled:!0}}},surferinfo:{type:"contexthub.surferinfo",required:!0},profile:{type:"granite.profile",required:!0},emulators:{type:"granite.emulators", required:!0}}}; (function(k,u){"object"===typeof module&&"object"===typeof module.exports?module.exports=k.document?u(k,!0):function(l){if(!l.document)throw Error("jQuery requires a window with a document");return u(l)}:u(k)})("undefined"!==typeof window?window:this,function(k,u){function l(b,d,n){n=n||Ha;var p,y=n.createElement("script");y.text=b;if(d)for(p in dd)(b=d[p]||d.getAttribute&&d.getAttribute(p))&&y.setAttribute(p,b);n.head.appendChild(y).parentNode.removeChild(y)}function e(b){return null==b?b+"":"object"=== typeof b||"function"===typeof b?h[ed.call(b)]||"object":typeof b}function g(b){var d=!!b&&"length"in b&&b.length,n=e(b);return za(b)||Ub(b)?!1:"array"===n||0===d||"number"===typeof d&&0=(1-y)*(1-(y=I()/Q||.5))&&(B=0),a/=y;a*=2;r.style(b,d,a+L);n=n||[]}if(n){a=+a||+Q||0;var c=n[1]?a+(n[1]+1)*n[2]:+n[2];p&&(p.unit=L,p.start=a,p.end=c)}return c}function sa(b,d){for(var n,p,y=[],B=0,I=b.length;BI;I+=2)"margin"===n&&(L+=r.css(b,n+Bb[I],!0,y)),p?("content"===n&&(L-=r.css(b,"padding"+Bb[I],!0,y)),"margin"!==n&&(L-=r.css(b,"border"+Bb[I]+"Width",!0,y))):(L+=r.css(b,"padding"+Bb[I],!0,y),"padding"!==n?L+=r.css(b,"border"+Bb[I]+"Width",!0,y):Q+=r.css(b,"border"+Bb[I]+"Width",!0,y));!p&&0<=B&&(L+=Math.max(0,Math.ceil(b["offset"+d[0].toUpperCase()+d.slice(1)]-B-L-Q-.5))||0);return L}function eb(b,d,n){var p=zc(b),y=(!Ka.boxSizingReliable()|| n)&&"border-box"===r.css(b,"boxSizing",!1,p),B=y,I=pb(b,d,p),Q="offset"+d[0].toUpperCase()+d.slice(1);if(Ac.test(I)){if(!n)return I;I="auto"}(!Ka.boxSizingReliable()&&y||!Ka.reliableTrDimensions()&&q(b,"tr")||"auto"===I||!parseFloat(I)&&"inline"===r.css(b,"display",!1,p))&&b.getClientRects().length&&(y="border-box"===r.css(b,"boxSizing",!1,p),(B=Q in b)&&(I=b[Q]));I=parseFloat(I)||0;return I+ub(b,d,n||(y?"border":"content"),B,p,I)+"px"}function ib(b,d,n,p,y){return new ib.prototype.init(b,d,n,p,y)} function Ob(){Hb&&(!1===Ha.hidden&&k.requestAnimationFrame?k.requestAnimationFrame(Ob):k.setTimeout(Ob,r.fx.interval),r.fx.tick())}function lb(){k.setTimeout(function(){Wb=void 0});return Wb=Date.now()}function vb(b,d){var n=0,p={height:b};for(d=d?1:0;4>n;n+=2-d){var y=Bb[n];p["margin"+y]=p["padding"+y]=b}d&&(p.opacity=p.width=b);return p}function Pc(b,d,n){for(var p,y=(rb.tweeners[d]||[]).concat(rb.tweeners["*"]),B=0,I=y.length;Bc&&m)return a; m||I.notifyWith(b,[L,1,0]);I.resolveWith(b,[L]);return!1},L=I.promise({elem:b,props:r.extend({},d),opts:r.extend(!0,{specialEasing:{},easing:r.easing._default},n),originalProperties:d,originalOptions:n,startTime:Wb||lb(),duration:n.duration,tweens:[],createTween:function(a,c){a=r.Tween(b,L.opts,a,c,L.opts.specialEasing[a]||L.opts.easing);L.tweens.push(a);return a},stop:function(a){var c=0,f=a?L.tweens.length:0;if(p)return this;for(p=!0;cb?this[b+this.length]:this[b]},pushStack:function(b){b= r.merge(this.constructor(),b);b.prevObject=this;return b},each:function(b){return r.each(this,b)},map:function(b){return this.pushStack(r.map(this,function(d,n){return b.call(d,n,d)}))},slice:function(){return this.pushStack(Ab.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(r.grep(this,function(b,d){return(d+1)%2}))},odd:function(){return this.pushStack(r.grep(this,function(b,d){return d%2}))},eq:function(b){var d= this.length;b=+b+(0>b?d:0);return this.pushStack(0<=b&&b qa.cacheLength&&delete C[M.shift()];return C[J+" "]=U}var M=[];return C}function p(C){C[ya]=!0;return C}function y(C){var M=ta.createElement("fieldset");try{return!!C(M)}catch(J){return!1}finally{M.parentNode&&M.parentNode.removeChild(M)}}function B(C,M){C=C.split("|");for(var J=C.length;J--;)qa.attrHandle[C[J]]=M}function I(C,M){var J=M&&C,U=J&&1===C.nodeType&&1===M.nodeType&&C.sourceIndex-M.sourceIndex;if(U)return U;if(J)for(;J=J.nextSibling;)if(J===M)return-1;return C?1:-1}function Q(C){return function(M){return"input"=== M.nodeName.toLowerCase()&&M.type===C}}function L(C){return function(M){var J=M.nodeName.toLowerCase();return("input"===J||"button"===J)&&M.type===C}}function a(C){return function(M){return"form"in M?M.parentNode&&!1===M.disabled?"label"in M?"label"in M.parentNode?M.parentNode.disabled===C:M.disabled===C:M.isDisabled===C||M.isDisabled!==!C&&Tc(M)===C:M.disabled===C:"label"in M?M.disabled===C:!1}}function c(C){return p(function(M){M=+M;return p(function(J,U){for(var x,H=C([],J.length,M),D=H.length;D--;)J[x= H[D]]&&(J[x]=!(U[x]=J[x]))})})}function f(C){return C&&"undefined"!==typeof C.getElementsByTagName&&C}function m(){}function t(C){for(var M=0,J=C.length,U="";M+~]|[\x20\t\r\n\f])[\x20\t\r\n\f]*/,Rb=/[\x20\t\r\n\f]|>/,qd=/:((?:\\[\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]*([*^$|!~]?=)[\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]*\])*)|.*)\)|)/, Zb=/^(?:\\[\da-fA-F]{1,6}[\x20\t\r\n\f]?|\\[^\r\n\f]|[\w-]|[^\x00-\x7f])+$/,Hc={ID:/^#((?:\\[\da-fA-F]{1,6}[\x20\t\r\n\f]?|\\[^\r\n\f]|[\w-]|[^\x00-\x7f])+)/,CLASS:/^\.((?:\\[\da-fA-F]{1,6}[\x20\t\r\n\f]?|\\[^\r\n\f]|[\w-]|[^\x00-\x7f])+)/,TAG:/^((?:\\[\da-fA-F]{1,6}[\x20\t\r\n\f]?|\\[^\r\n\f]|[\w-]|[^\x00-\x7f])+|[*])/,ATTR:/^\[[\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]*([*^$|!~]?=)[\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]*\]/, PSEUDO:/^:((?:\\[\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]*([*^$|!~]?=)[\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]*\])*)|.*)\)|)/,CHILD:/^:(only|first|last|nth|nth-last)-(child|of-type)(?:\([\x20\t\r\n\f]*(even|odd|(([+-]|)(\d*)n|)[\x20\t\r\n\f]*(?:([+-]|)[\x20\t\r\n\f]*(\d+)|))[\x20\t\r\n\f]*\)|)/i, bool:/^(?:checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped)$/i,needsContext:/^[\x20\t\r\n\f]*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\([\x20\t\r\n\f]*((?:-\d)?\d*)[\x20\t\r\n\f]*\)|)(?=[^-]|$)/i},Ic=/HTML$/i,Jd=/^(?:input|select|textarea|button)$/i,Kd=/^h\d$/i,pc=/^[^{]+\{\s*\[native \w/,Hd=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,Fc=/[+~]/,zb=/\\[\da-fA-F]{1,6}[\x20\t\r\n\f]?|\\([^\r\n\f])/g,Jb=function(C,M){C="0x"+C.slice(1)- 65536;return M?M:0>C?String.fromCharCode(C+65536):String.fromCharCode(C>>10|55296,C&1023|56320)},pd=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,ic=function(C,M){return M?"\x00"===C?"\ufffd":C.slice(0,-1)+"\\"+C.charCodeAt(C.length-1).toString(16)+" ":"\\"+C},rd=function(){mb()},Tc=A(function(C){return!0===C.disabled&&"fieldset"===C.nodeName.toLowerCase()},{dir:"parentNode",next:"legend"});try{jb.apply(Ya=gb.call(na.childNodes),na.childNodes),Ya[na.childNodes.length].nodeType}catch(C){jb= {apply:Ya.length?function(M,J){Yb.apply(M,gb.call(J))}:function(M,J){for(var U=M.length,x=0;M[U++]=J[x++];);M.length=U-1}}}var Ua=d.support={};var Kb=d.isXML=function(C){var M=(C.ownerDocument||C).documentElement;return!Ic.test(C.namespaceURI||M&&M.nodeName||"HTML")};var mb=d.setDocument=function(C){var M;C=C?C.ownerDocument||C:na;if(C==ta||9!==C.nodeType||!C.documentElement)return ta;ta=C;Ma=ta.documentElement;Fa=!Kb(ta);na!=ta&&(M=ta.defaultView)&&M.top!==M&&(M.addEventListener?M.addEventListener("unload", rd,!1):M.attachEvent&&M.attachEvent("onunload",rd));Ua.scope=y(function(J){Ma.appendChild(J).appendChild(ta.createElement("div"));return"undefined"!==typeof J.querySelectorAll&&!J.querySelectorAll(":scope fieldset div").length});Ua.attributes=y(function(J){J.className="i";return!J.getAttribute("className")});Ua.getElementsByTagName=y(function(J){J.appendChild(ta.createComment(""));return!J.getElementsByTagName("*").length});Ua.getElementsByClassName=pc.test(ta.getElementsByClassName);Ua.getById=y(function(J){Ma.appendChild(J).id= ya;return!ta.getElementsByName||!ta.getElementsByName(ya).length});Ua.getById?(qa.filter.ID=function(J){var U=J.replace(zb,Jb);return function(x){return x.getAttribute("id")===U}},qa.find.ID=function(J,U){if("undefined"!==typeof U.getElementById&&Fa)return(J=U.getElementById(J))?[J]:[]}):(qa.filter.ID=function(J){var U=J.replace(zb,Jb);return function(x){return(x="undefined"!==typeof x.getAttributeNode&&x.getAttributeNode("id"))&&x.value===U}},qa.find.ID=function(J,U){if("undefined"!==typeof U.getElementById&& Fa){var x,H=U.getElementById(J);if(H){if((x=H.getAttributeNode("id"))&&x.value===J)return[H];var D=U.getElementsByName(J);for(U=0;H=D[U++];)if((x=H.getAttributeNode("id"))&&x.value===J)return[H]}return[]}});qa.find.TAG=Ua.getElementsByTagName?function(J,U){if("undefined"!==typeof U.getElementsByTagName)return U.getElementsByTagName(J);if(Ua.qsa)return U.querySelectorAll(J)}:function(J,U){var x=[],H=0;U=U.getElementsByTagName(J);if("*"===J){for(;J=U[H++];)1===J.nodeType&&x.push(J);return x}return U}; qa.find.CLASS=Ua.getElementsByClassName&&function(J,U){if("undefined"!==typeof U.getElementsByClassName&&Fa)return U.getElementsByClassName(J)};ua=[];Va=[];if(Ua.qsa=pc.test(ta.querySelectorAll))y(function(J){Ma.appendChild(J).innerHTML="\x3ca id\x3d'"+ya+"'\x3e\x3c/a\x3e\x3cselect id\x3d'"+ya+"-\r\\' msallowcapture\x3d''\x3e\x3coption selected\x3d''\x3e\x3c/option\x3e\x3c/select\x3e";J.querySelectorAll("[msallowcapture^\x3d'']").length&&Va.push("[*^$]\x3d[\\x20\\t\\r\\n\\f]*(?:''|\"\")");J.querySelectorAll("[selected]").length|| Va.push("\\[[\\x20\\t\\r\\n\\f]*(?:value|checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped)");J.querySelectorAll("[id~\x3d"+ya+"-]").length||Va.push("~\x3d");var U=ta.createElement("input");U.setAttribute("name","");J.appendChild(U);J.querySelectorAll("[name\x3d'']").length||Va.push("\\[[\\x20\\t\\r\\n\\f]*name[\\x20\\t\\r\\n\\f]*\x3d[\\x20\\t\\r\\n\\f]*(?:''|\"\")");J.querySelectorAll(":checked").length||Va.push(":checked"); J.querySelectorAll("a#"+ya+"+*").length||Va.push(".#.+[+~]");J.querySelectorAll("\\\f");Va.push("[\\r\\n\\f]")}),y(function(J){J.innerHTML="\x3ca href\x3d'' disabled\x3d'disabled'\x3e\x3c/a\x3e\x3cselect disabled\x3d'disabled'\x3e\x3coption/\x3e\x3c/select\x3e";var U=ta.createElement("input");U.setAttribute("type","hidden");J.appendChild(U).setAttribute("name","D");J.querySelectorAll("[name\x3dd]").length&&Va.push("name[\\x20\\t\\r\\n\\f]*[*^$|!~]?\x3d");2!==J.querySelectorAll(":enabled").length&& Va.push(":enabled",":disabled");Ma.appendChild(J).disabled=!0;2!==J.querySelectorAll(":disabled").length&&Va.push(":enabled",":disabled");J.querySelectorAll("*,:x");Va.push(",.*:")});(Ua.matchesSelector=pc.test(bb=Ma.matches||Ma.webkitMatchesSelector||Ma.mozMatchesSelector||Ma.oMatchesSelector||Ma.msMatchesSelector))&&y(function(J){Ua.disconnectedMatch=bb.call(J,"*");bb.call(J,"[s!\x3d'']:x");ua.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]*\\])*)|.*)\\)|)")}); Va=Va.length&&new RegExp(Va.join("|"));ua=ua.length&&new RegExp(ua.join("|"));Aa=(M=pc.test(Ma.compareDocumentPosition))||pc.test(Ma.contains)?function(J,U){var x=9===J.nodeType?J.documentElement:J;U=U&&U.parentNode;return J===U||!!(U&&1===U.nodeType&&(x.contains?x.contains(U):J.compareDocumentPosition&&J.compareDocumentPosition(U)&16))}:function(J,U){if(U)for(;U=U.parentNode;)if(U===J)return!0;return!1};Ga=M?function(J,U){if(J===U)return xa=!0,0;var x=!J.compareDocumentPosition-!U.compareDocumentPosition; if(x)return x;x=(J.ownerDocument||J)==(U.ownerDocument||U)?J.compareDocumentPosition(U):1;return x&1||!Ua.sortDetached&&U.compareDocumentPosition(J)===x?J==ta||J.ownerDocument==na&&Aa(na,J)?-1:U==ta||U.ownerDocument==na&&Aa(na,U)?1:va?xb(va,J)-xb(va,U):0:x&4?-1:1}:function(J,U){if(J===U)return xa=!0,0;var x=0,H=J.parentNode,D=U.parentNode,R=[J],S=[U];if(!H||!D)return J==ta?-1:U==ta?1:H?-1:D?1:va?xb(va,J)-xb(va,U):0;if(H===D)return I(J,U);for(;J=J.parentNode;)R.unshift(J);for(J=U;J=J.parentNode;)S.unshift(J); for(;R[x]===S[x];)x++;return x?I(R[x],S[x]):R[x]==na?-1:S[x]==na?1:0};return ta};d.matches=function(C,M){return d(C,null,null,M)};d.matchesSelector=function(C,M){mb(C);if(!(!Ua.matchesSelector||!Fa||nb[M+" "]||ua&&ua.test(M)||Va&&Va.test(M)))try{var J=bb.call(C,M);if(J||Ua.disconnectedMatch||C.document&&11!==C.document.nodeType)return J}catch(U){nb(M,!0)}return 0C.nodeType)return!1;return!0},parent:function(C){return!qa.pseudos.empty(C)}, header:function(C){return Kd.test(C.nodeName)},input:function(C){return Jd.test(C.nodeName)},button:function(C){var M=C.nodeName.toLowerCase();return"input"===M&&"button"===C.type||"button"===M},text:function(C){var M;return"input"===C.nodeName.toLowerCase()&&"text"===C.type&&(null==(M=C.getAttribute("type"))||"text"===M.toLowerCase())},first:c(function(){return[0]}),last:c(function(C,M){return[M-1]}),eq:c(function(C,M,J){return[0>J?J+M:J]}),even:c(function(C,M){for(var J=0;JJ?J+M:J>M?M:J;0<=--M;)C.push(M);return C}),gt:c(function(C,M,J){for(J=0>J?J+M:J;++J:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;r.filter=function(b,d,n){var p=d[0];n&&(b=":not("+b+")");return 1===d.length&&1===p.nodeType?r.find.matchesSelector(p,b)?[p]:[]:r.find.matches(b,r.grep(d,function(y){return 1===y.nodeType}))};r.fn.extend({find:function(b){var d,n=this.length,p=this;if("string"!==typeof b)return this.pushStack(r(b).filter(function(){for(d=0;d)[^>]*|#([\w-]+))$/;(r.fn.init=function(b,d,n){if(!b)return this;n=n||Ld;if("string"===typeof b){var p="\x3c"===b[0]&&"\x3e"===b[b.length-1]&&3<=b.length?[null,b,null]:Kc.exec(b);if(!p||!p[1]&&d)return!d||d.jquery? (d||n).find(b):this.constructor(d).find(b);if(p[1]){if(d=d instanceof r?d[0]:d,r.merge(this,r.parseHTML(p[1],d&&d.nodeType?d.ownerDocument||d:Ha,!0)),Eb.test(p[1])&&r.isPlainObject(d))for(p in d)if(za(this[p]))this[p](d[p]);else this.attr(p,d[p])}else if(b=Ha.getElementById(p[2]))this[0]=b,this.length=1;return this}return b.nodeType?(this[0]=b,this.length=1,this):za(b)?void 0!==n.ready?n.ready(b):b(r):r.makeArray(b,this)}).prototype=r.fn;var Ld=r(Ha);var qc=/^(?:parents|prev(?:Until|All))/,Md={children:!0, contents:!0,next:!0,prev:!0};r.fn.extend({has:function(b){var d=r(b,this),n=d.length;return this.filter(function(){for(var p=0;pn.nodeType&&(I?-1=a&&(m!==F&&(A=void 0,G=[O]),f.rejectWith(A,G))}};c?P():(r.Deferred.getStackHook&&(P.stackTrace=r.Deferred.getStackHook()),k.setTimeout(P))}}var a=0;return r.Deferred(function(c){d[0][3].add(L(0,c,za(Q)?Q:E,c.notifyWith));d[1][3].add(L(0,c,za(B)?B:E));d[2][3].add(L(0,c,za(I)?I:F))}).promise()},promise:function(B){return null!=B?r.extend(B,p):p}},y={};r.each(d,function(B,I){var Q=I[2],L=I[5];p[I[1]]=Q.add;L&&Q.add(function(){n=L},d[3-B][2].disable,d[3-B][3].disable, d[0][2].lock,d[0][3].lock);Q.add(I[3].fire);y[I[0]]=function(){y[I[0]+"With"](this===y?void 0:this,arguments);return this};y[I[0]+"With"]=Q.fireWith});p.promise(y);b&&b.call(y,y);return y},when:function(b){var d=arguments.length,n=d,p=Array(n),y=Ab.call(arguments),B=r.Deferred(),I=function(Q){return function(L){p[Q]=this;y[Q]=1=d&&(K(b,B.done(I(n)).resolve,B.reject,!d),"pending"===B.state()||za(y[n]&&y[n].then)))return B.then(); for(;n--;)K(y[n],I(n),B.reject);return B.promise()}});var Uc=/^(evals|Internal|Range|Reference|Syntax|Type|URI)Error$/;r.Deferred.exceptionHook=function(b,d){k.console&&k.console.warn&&b&&Uc.test(b.name)&&k.console.warn("jQuery.Deferred exception: "+b.message,b.stack,d)};r.readyException=function(b){k.setTimeout(function(){throw b;})};var rc=r.Deferred();r.fn.ready=function(b){rc.then(b).catch(function(d){r.readyException(d)});return this};r.extend({isReady:!1,readyWait:1,ready:function(b){(!0===b? --r.readyWait:r.isReady)||(r.isReady=!0,!0!==b&&0<--r.readyWait||rc.resolveWith(Ha,[r]))}});r.ready.then=rc.then;"complete"===Ha.readyState||"loading"!==Ha.readyState&&!Ha.documentElement.doScroll?k.setTimeout(r.ready):(Ha.addEventListener("DOMContentLoaded",T),k.addEventListener("load",T));var ob=function(b,d,n,p,y,B,I){var Q=0,L=b.length,a=null==n;if("object"===e(n))for(Q in y=!0,n)ob(b,d,Q,n[Q],!0,B,I);else if(void 0!==p&&(y=!0,za(p)||(I=!0),a&&(I?(d.call(b,p),d=null):(a=d,d=function(c,f,m){return a.call(r(c), m)})),d))for(;Q\x20\t\r\n\f]*)/i,hd=/^$|^module$|\/(?:java|ecma)script/i;(function(){var b=Ha.createDocumentFragment().appendChild(Ha.createElement("div")), d=Ha.createElement("input");d.setAttribute("type","radio");d.setAttribute("checked","checked");d.setAttribute("name","t");b.appendChild(d);Ka.checkClone=b.cloneNode(!0).cloneNode(!0).lastChild.checked;b.innerHTML="\x3ctextarea\x3ex\x3c/textarea\x3e";Ka.noCloneChecked=!!b.cloneNode(!0).lastChild.defaultValue;b.innerHTML="\x3coption\x3e\x3c/option\x3e";Ka.option=!!b.lastChild})();var tb={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,"",""]};tb.tbody=tb.tfoot=tb.colgroup=tb.caption=tb.thead;tb.th=tb.td;Ka.option||(tb.optgroup=tb.option=[1,"\x3cselect multiple\x3d'multiple'\x3e","\x3c/select\x3e"]);var Ed=/<|&#?\w+;/,Vc=/^key/,sc=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,Wc=/^([^.]*)(?:\.(.+)|)/;r.event={global:{},add:function(b,d,n,p,y){var B,I,Q,L;var a= wa.get(b);if(bc(b)){if(n.handler){var c=n;n=c.handler;y=c.selector}y&&r.find.matchesSelector(cc,y);n.guid||(n.guid=r.guid++);(I=a.events)||(I=a.events=Object.create(null));(B=a.handle)||(B=a.handle=function(A){return"undefined"!==typeof r&&r.event.triggered!==A.type?r.event.dispatch.apply(b,arguments):void 0});d=(d||"").match(Fb)||[""];for(a=d.length;a--;){var f=Wc.exec(d[a])||[];var m=Q=f[1];var t=(f[2]||"").split(".").sort();m&&(f=r.event.special[m]||{},m=(y?f.delegateType:f.bindType)||m,f=r.event.special[m]|| {},Q=r.extend({type:m,origType:Q,data:p,handler:n,guid:n.guid,selector:y,needsContext:y&&r.expr.match.needsContext.test(y),namespace:t.join(".")},c),(L=I[m])||(L=I[m]=[],L.delegateCount=0,f.setup&&!1!==f.setup.call(b,p,t,B)||b.addEventListener&&b.addEventListener(m,B)),f.add&&(f.add.call(b,Q),Q.handler.guid||(Q.handler.guid=n.guid)),y?L.splice(L.delegateCount++,0,Q):L.push(Q),r.event.global[m]=!0)}}},remove:function(b,d,n,p,y){var B,I,Q,L,a,c=wa.hasData(b)&&wa.get(b);if(c&&(Q=c.events)){d=(d||"").match(Fb)|| [""];for(L=d.length;L--;){var f=Wc.exec(d[L])||[];var m=a=f[1];var t=(f[2]||"").split(".").sort();if(m){var A=r.event.special[m]||{};m=(p?A.delegateType:A.bindType)||m;var G=Q[m]||[];f=f[2]&&new RegExp("(^|\\.)"+t.join("\\.(?:.*\\.|)")+"(\\.|$)");for(I=B=G.length;B--;){var N=G[B];!y&&a!==N.origType||n&&n.guid!==N.guid||f&&!f.test(N.namespace)||p&&p!==N.selector&&("**"!==p||!N.selector)||(G.splice(B,1),N.selector&&G.delegateCount--,A.remove&&A.remove.call(b,N))}I&&!G.length&&(A.teardown&&!1!==A.teardown.call(b, t,c.handle)||r.removeEvent(b,m,c.handle),delete Q[m])}else for(m in Q)r.event.remove(b,m+d[L],n,p,!0)}r.isEmptyObject(Q)&&wa.remove(b,"handle events")}},dispatch:function(b){var d,n,p,y=Array(arguments.length),B=r.event.fix(b);var I=(wa.get(this,"events")||Object.create(null))[B.type]||[];var Q=r.event.special[B.type]||{};y[0]=B;for(d=1;d\s*$/g;r.extend({htmlPrefilter:function(b){return b},clone:function(b,d,n){var p,y=b.cloneNode(!0), B=hc(b);if(!(Ka.noCloneChecked||1!==b.nodeType&&11!==b.nodeType||r.isXMLDoc(b))){var I=Ba(y);var Q=Ba(b);var L=0;for(p=Q.length;Lr.inArray(this,b)&&(r.cleanData(Ba(this)),n&&n.replaceChild(d,this))},b)}});r.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(b,d){r.fn[b]=function(n){for(var p=[],y=r(n),B=y.length-1,I=0;I<=B;I++)n=I===B?this: this.clone(!0),r(y[I])[d](n),Qb.apply(p,n.get());return this.pushStack(p)}});var Ac=new RegExp("^("+ud+")(?!px)[a-z%]+$","i"),zc=function(b){var d=b.ownerDocument.defaultView;d&&d.opener||(d=k);return d.getComputedStyle(b)},dc=function(b,d,n){var p,y={};for(p in d)y[p]=b.style[p],b.style[p]=d[p];n=n.call(b);for(p in d)b.style[p]=y[p];return n},Vb=new RegExp(Bb.join("|"),"i");(function(){function b(){if(L){Q.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0"; L.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%";cc.appendChild(Q).appendChild(L);var a=k.getComputedStyle(L);d="1%"!==a.top;I=12===Math.round(parseFloat(a.marginLeft));L.style.right="60%";y=36===Math.round(parseFloat(a.right));n=36===Math.round(parseFloat(a.width));L.style.position="absolute";p=12===Math.round(parseFloat(L.offsetWidth/3));cc.removeChild(Q);L=null}}var d,n,p,y,B,I,Q=Ha.createElement("div"), L=Ha.createElement("div");L.style&&(L.style.backgroundClip="content-box",L.cloneNode(!0).style.backgroundClip="",Ka.clearCloneStyle="content-box"===L.style.backgroundClip,r.extend(Ka,{boxSizingReliable:function(){b();return n},pixelBoxStyles:function(){b();return y},pixelPosition:function(){b();return d},reliableMarginLeft:function(){b();return I},scrollboxSize:function(){b();return p},reliableTrDimensions:function(){if(null==B){var a=Ha.createElement("table");var c=Ha.createElement("tr");var f=Ha.createElement("div"); a.style.cssText="position:absolute;left:-11111px";c.style.height="1px";f.style.height="9px";cc.appendChild(a).appendChild(c).appendChild(f);c=k.getComputedStyle(c);B=3p;p++)y[b+Bb[p]+d]=n[p]||n[p-2]||n[0];return y}};"margin"!==b&&(r.cssHooks[b+d].set=Xa)});r.fn.extend({css:function(b,d){return ob(this,function(n,p,y){var B,I={},Q=0;if(Array.isArray(p)){y=zc(n);for(B=p.length;Qn.indexOf(" "+p+" ")&&(n+=p+" ");n=Xb(n);Q!==n&&d.setAttribute("class",n)}}return this},removeClass:function(b){var d,n,p,y,B=0;if(za(b))return this.each(function(L){r(this).removeClass(b.call(this,L,Ib(this)))});if(!arguments.length)return this.attr("class","");var I=oc(b);if(I.length)for(;d=this[B++];){var Q=Ib(d);if(n=1===d.nodeType&&" "+Xb(Q)+" "){for(y=0;p=I[y++];)for(;-1n?B:p?n:0;bL.indexOf(":")&&"on"+L;b=b[r.expando]?b:new r.Event(L,"object"=== typeof b&&b);b.isTrigger=p?2:3;b.namespace=a.join(".");b.rnamespace=b.namespace?new RegExp("(^|\\.)"+a.join("\\.(?:.*\\.|)")+"(\\.|$)"):null;b.result=void 0;b.target||(b.target=n);d=null==d?[b]:r.makeArray(d,[b]);a=r.event.special[L]||{};if(p||!a.trigger||!1!==a.trigger.apply(n,d)){if(!p&&!a.noBubble&&!Ub(n)){var m=a.delegateType||L;Tb.test(m+L)||(c=c.parentNode);for(;c;c=c.parentNode)Q.push(c),y=c;y===(n.ownerDocument||Ha)&&Q.push(y.defaultView||y.parentWindow||k)}for(y=0;(c=Q[y++])&&!b.isPropagationStopped();)I= c,b.type=1ca||304===ca;xa&&(Ma=Pb(a,O,xa)); !ta&&-1ca&&(ca=0);O.status=ca;O.statusText=(va||Fa)+"";ta?m.resolveWith(c,[Va,Fa,O]):m.rejectWith(c,[O, Fa,ua]);O.statusCode(A);A=void 0;Q&&f.trigger(ta?"ajaxSuccess":"ajaxError",[O,a,ta?Va:ua]);t.fireWith(c,[O,Fa]);Q&&(f.trigger("ajaxComplete",[O,a]),--r.active||r.event.trigger("ajaxStop"))}}"object"===typeof b&&(d=b,b=void 0);d=d||{};var p,y,B,I,Q,L,a=r.ajaxSetup({},d),c=a.context||a,f=a.context&&(c.nodeType||c.jquery)?r(c):r.event,m=r.Deferred(),t=r.Callbacks("once memory"),A=a.statusCode||{},G={},N={},P="canceled",O={readyState:0,getResponseHeader:function(ca){var va;if(ba){if(!B)for(B={};va=zd.exec(y);)B[va[1].toLowerCase()+ " "]=(B[va[1].toLowerCase()+" "]||[]).concat(va[2]);va=B[ca.toLowerCase()+" "]}return null==va?null:va.join(", ")},getAllResponseHeaders:function(){return ba?y:null},setRequestHeader:function(ca,va){null==ba&&(ca=N[ca.toLowerCase()]=N[ca.toLowerCase()]||ca,G[ca]=va);return this},overrideMimeType:function(ca){null==ba&&(a.mimeType=ca);return this},statusCode:function(ca){var va;if(ca)if(ba)O.always(ca[O.status]);else for(va in ca)A[va]=[A[va],ca[va]];return this},abort:function(ca){ca=ca||P;p&&p.abort(ca); n(0,ca);return this}};m.promise(O);a.url=((b||a.url||vc.href)+"").replace(Vd,vc.protocol+"http://");a.type=d.method||d.type||a.method||a.type;a.dataTypes=(a.dataType||"*").toLowerCase().match(Fb)||[""];if(null==a.crossDomain){b=Ha.createElement("a");try{b.href=a.url,b.href=b.href,a.crossDomain=wc.protocol+"http://"+wc.host!==b.protocol+"http://"+b.host}catch(ca){a.crossDomain=!0}}a.data&&a.processData&&"string"!==typeof a.data&&(a.data=r.param(a.data,a.traditional));Gb(Ad,a,d,O);if(ba)return O;(Q=r.event&&a.global)&& 0===r.active++&&r.event.trigger("ajaxStart");a.type=a.type.toUpperCase();a.hasContent=!Ud.test(a.type);var X=a.url.replace(Sd,"");a.hasContent?a.data&&a.processData&&0===(a.contentType||"").indexOf("application/x-www-form-urlencoded")&&(a.data=a.data.replace(ad,"+")):(b=a.url.slice(X.length),a.data&&(a.processData||"string"===typeof a.data)&&(X+=(Zc.test(X)?"\x26":"?")+a.data,delete a.data),!1===a.cache&&(X=X.replace(Td,"$1"),b=(Zc.test(X)?"\x26":"?")+"_\x3d"+lc++ +b),a.url=X+b);a.ifModified&&(r.lastModified[X]&& O.setRequestHeader("If-Modified-Since",r.lastModified[X]),r.etag[X]&&O.setRequestHeader("If-None-Match",r.etag[X]));(a.data&&a.hasContent&&!1!==a.contentType||d.contentType)&&O.setRequestHeader("Content-Type",a.contentType);O.setRequestHeader("Accept",a.dataTypes[0]&&a.accepts[a.dataTypes[0]]?a.accepts[a.dataTypes[0]]+("*"!==a.dataTypes[0]?", "+bd+"; q\x3d0.01":""):a.accepts["*"]);for(L in a.headers)O.setRequestHeader(L,a.headers[L]);if(a.beforeSend&&(!1===a.beforeSend.call(c,O,a)||ba))return O.abort(); P="abort";t.add(a.complete);O.done(a.success);O.fail(a.error);if(p=Gb(Dc,a,d,O)){O.readyState=1;Q&&f.trigger("ajaxSend",[O,a]);if(ba)return O;a.async&&0=g.length||(null===v||"undefined"===typeof v?delete z[q]:z[q]=v,k.each(z,function(E, F){w.push(E+":\x3d"+encodeURIComponent(F))}),ContextHub.Utils.Cookie.setItem(g,w.join("|")))};l.getItem=function(g,q){return e(g)[q]};l.removeItem=function(g,q){l.setItem(g,q,null)}})(ContextHubJQ,window);ContextHub.console.log(ContextHub.Shared.timestamp(),"[loading] contexthub.utils - ContextHub.Utils.cookie.js"); (function(k,u){u.ContextHub.Utils=u.ContextHub.Utils||{};var l={path:"/",expires:void 0,domain:void 0,secure:!1,trimUndefined:!0},e=function(w,E){var F=k.type(E);"object"===F&&k.isArray(E)&&(F="array");switch(F){case "regexp":return E.test(w);case "string":return w===E;case "function":return!0===E(w);case "array":var K=!1;k(E).each(function(T,Z){K=e(w,Z);return!K});return K;default:return!1}},g=function(w){var E="undefined"===typeof w,F=u.document.cookie?u.document.cookie.split(/;/):[],K=[];k(F).each(function(T, Z){T=decodeURIComponent(Z.split(/=/)[0].trim());T.length&&-1===k.inArray(T,K)&&(E||e(T,w))&&K.push(T)});return K.sort()},q=function(w,E,F){if("undefined"===typeof w)return!1;var K=k.type(E);F=k.extend(!0,{},l,F);E=!F.trimUndefined||"undefined"!==K&&"null"!==K?E:"";switch(k.type(F.expires)){case "date":break;case "number":K=new Date;K.setDate(K.getDate()+F.expires);F.expires=K;break;default:F.expires=void 0}w=[encodeURIComponent(w),"\x3d",encodeURIComponent(E),F.expires?"; expires\x3d"+F.expires.toUTCString(): "",F.domain?"; domain\x3d"+F.domain:"",F.path?"; path\x3d"+F.path:"",F.secure?"; secure":""].join("");return u.document.cookie=w},v=function(w){var E=u.document.cookie?u.document.cookie.split(/;/):[],F=null;k(E).each(function(K,T){K=decodeURIComponent(T.split(/=/).slice(1).join("\x3d").trim());decodeURIComponent(T.split(/=/)[0].trim())===w&&(F=K);return null===F});return F},z=function(w,E){q(w,"",k.extend({},E,{expires:-1}))};ContextHub.Utils.Cookie={setItem:q,getItem:v,getAllItems:function(w){var E= {};k(g(w)).each(function(F,K){F=v(K);var T=k.type(F);"undefined"!==T&&"null"!==T&&(E[K]=F)});return E},getKeys:g,exists:function(w){return null!==v(w)},removeItem:z,vanish:function(w,E){k(g(w)).each(function(F,K){z(K,E)})}}})(ContextHubJQ,window);ContextHub.console.log(ContextHub.Shared.timestamp(),"[loading] contexthub.utils - ContextHub.Utils.json.js"); (function(k,u){u.ContextHub.Utils=u.ContextHub.Utils||{};var l=function(w){var E=null;"string"===typeof w&&(E=w.split(/(?:\s*\/+\s*)+/),""===E[0]&&E.shift(),E.length&&""===E[E.length-1]&&E.pop());return E},e=function(w,E){var F=null;if(E=l(E))for(F=w,w=0;wZ?-1:1:F===K?0:F>K?1:-1});k.each(E,function(F,K){F=e(w,K);var T=k.type(F);"object"!==T&&"array"!==T||!k.isEmptyObject(F)||(w=g(w,K))});return w},addAllItems:function(w,E){return k.extend(!0,{},w,E)}}})})(ContextHubJQ,window);ContextHub.console.log(ContextHub.Shared.timestamp(),"[loading] contexthub.utils - ContextHub.Utils.eventing.js"); (function(k,u){u.ContextHub.Utils=u.ContextHub.Utils||{};var l=function(){var ia=k.grep([u.requestAnimationFrame,u.msRequestAnimationFrame,u.mozRequestAnimationFrame,u.webkitRequestAnimationFrame,u.oRequestAnimationFrame],k.isFunction).shift();if(!ia){var ma=0;ia=function(Ca){var Ta=(new Date).getTime(),Da=Math.max(0,16-(Ta-ma)),Ja=u.setTimeout(function(){Ca(Ta+Da)},Da);ma=Ta+Da;return Ja}}return ia}();(function(){var ia=k.grep([u.cancelAnimationFrame,u.cancelRequestAnimationFrame,u.msCancelRequestAnimationFrame, u.mozCancelRequestAnimationFrame,u.webkitCancelRequestAnimationFrame,u.oCancelRequestAnimationFrame],k.isFunction).shift();ia||(ia=function(ma){u.clearTimeout(ma)});return ia})();var e={},g={},q=function(ia,ma,Ca){ia=(ia||"").replace(/^ *| *$/g,"");if(ia.length){Ca=Ca||{};Ca.hasOwnProperty("defer")||(Ca.defer=this.config.defer);var Ta=Ca.defer;Ca=Ca._||{};ia="/"+this.config.namespace+"/"+ia;var Da=ContextHub.Utils.JSON.tree.getItem(this.queue,ia)||{};Da.hasOwnProperty("executeAt")||(Da.executeAt= null);Da.hasOwnProperty("data")||(Da.data=[]);for(var Ja in Ca)Ca.hasOwnProperty(Ja)&&"undefined"===typeof Da[Ja]&&(Da[Ja]=Ca[Ja]);Ja=(new Date).getTime()+Ta;if(!Da.executeAt||0===Ta||Da.executeAt>Ja)Da.executeAt=Ja;k.isEmptyObject(ma)||Da.data.push(ma);this.queue=ContextHub.Utils.JSON.tree.setItem(this.queue,ia,Da);this.eventingCounter=Ta?this.eventingCounter:0;ma=!0===this.queueIsEmpty;this.queueIsEmpty=!1;ma&&this.eventingMonitor()}},v=function(){return this.queue},z=function(ia,ma){ia.list.push(ma.key); ia.hash[ma.key]=ma},w=function(ia){for(var ma=k.extend(!0,{},ia,{data:[]}),Ca={},Ta=function(ub,eb,ib){var Ob=ub.key||"temp"+Math.random(),lb=Ca[Ob],vb=(lb||{}).old||null;Ca[Ob]=k.extend(!0,{},ub);Ca[Ob]._idx=parseFloat(eb+"."+(ib||0));lb&&(Ca[Ob].old=vb)},Da=0;Dama.executeAt){var Ca=this.config.namespace+"-"+ia,Ta=ma.duration?"("+ma.duration+") ":"",Da=ContextHub.debug(),Ja=k(this.config.broadcast);if(!this.windowBroadcast.initialized){var Ra=u;var ab=u.parent;try{for(;Ra.locations.origin===ab.locations.origin&&(Ra=ab,ab=ab.parent,Ra!==u.top););}catch(Xa){}try{this.windowBroadcast.top=this.config.broadcast===Ra?null:Ra}catch(Xa){}this.windowBroadcast.initialized= !0}Ra=this.windowBroadcast.top;ma=w(ma);ma.event=Ca;ma.overlay&&(ma=k.extend(!0,ma,ma.overlay));delete (this.queue[this.config.namespace]||{})[ia];this.queueIsEmpty=k.isEmptyObject(this.queue[this.config.namespace]);if(!ma.muteWhenNoData||ma.muteWhenNoData&&0(new Date).getTime()&&z===e?(this.duration="cached",this.announceReadiness()):(this.setItem(ContextHub.Constants.SERVICE_LAST_URL_KEY,e),u.ContextHub.Callbacks=u.ContextHub.Callbacks||{},ContextHub.Callbacks[this.callbackName]=this.callbackFunction.bind(this),e={url:e,timeout:this.config.service.timeout,async:this.config.service.synchronous?!1:!0, method:this.config.service.method||"GET"},g&&k.extend(e,{dataType:"script",cache:!0}),this.pauseEventing(),this.duration=0,ContextHub.Shared.timers.start(this.name),e=k.ajax(e),g||e.done(function(w,E,F){w=ContextHub.Utils.JSON.parse(F.responseText);ContextHub.Callbacks[v.callbackName](w)}),e.fail(function(w){v.failureHandler(w)}),e.always(function(){q||v.resumeEventing();v.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=k.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&&(u.clearInterval(this.intervalHandler),this.intervalHandler=null);if(0c;c+=2)"margin"===f&&(A+=h.css(a,f+ob[c],!0,t)),m?("content"===f&&(A-=h.css(a,"padding"+ob[c],!0,t)),"margin"!==f&&(A-=h.css(a,"border"+ob[c]+"Width",!0,t))):(A+=h.css(a,"padding"+ob[c],!0,t),"padding"!==f&&(A+=h.css(a, "border"+ob[c]+"Width",!0,t)));return A}function hb(a,c,f){var m=!0,t="width"===c?a.offsetWidth:a.offsetHeight,A=dc(a),G=ja.boxSizing&&"border-box"===h.css(a,"boxSizing",!1,A);if(0>=t||null==t){t=Vb(a,c,A);if(0>t||null==t)t=a.style[c];if(yc.test(t))return t;m=G&&(ja.boxSizingReliable()||t===a.style[c]);t=parseFloat(t)||0}return t+qb(a,c,f||(G?"border":"content"),m,A)+"px"}function Xa(a,c,f,m,t){return new Xa.prototype.init(a,c,f,m,t)}function ub(){k.setTimeout(function(){Hb=void 0});return Hb=h.now()} function eb(a,c){var f={height:a},m=0;for(c=c?1:0;4>m;m+=2-c){var t=ob[m];f["margin"+t]=f["padding"+t]=a}c&&(f.opacity=f.width=a);return f}function ib(a,c,f){for(var m,t=(lb.tweeners[c]||[]).concat(lb.tweeners["*"]),A=0,G=t.length;AX&&ca)return O;G.resolveWith(a,[P]);return!1},P=G.promise({elem:a,props:h.extend({},c),opts:h.extend(!0,{specialEasing:{},easing:h.easing._default},f),originalProperties:c,originalOptions:f, startTime:Hb||ub(),duration:f.duration,tweens:[],createTween:function(O,X){O=h.Tween(a,P.opts,O,X,P.opts.specialEasing[O]||P.opts.easing);P.tweens.push(O);return O},stop:function(O){var X=0,ba=O?P.tweens.length:0;if(m)return this;for(m=!0;Xa?this[a+this.length]:this[a]:Pb.call(this)},pushStack:function(a){a= h.merge(this.constructor(),a);a.prevObject=this;a.context=this.context;return a},each:function(a){return h.each(this,a)},map:function(a){return this.pushStack(h.map(this,function(c,f){return a.call(c,f,c)}))},slice:function(){return this.pushStack(Pb.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(a){var c=this.length;a=+a+(0>a?c:0);return this.pushStack(0<=a&&af?Math.max(0, m+f):f:0;fC.cacheLength&&delete x[H.shift()];return x[D+" "]=R}var H=[];return x}function m(x){x[Ga]=!0;return x}function t(x){var H=na.createElement("div");try{return!!x(H)}catch(D){return!1}finally{H.parentNode&&H.parentNode.removeChild(H)}}function A(x,H){x=x.split("|");for(var D=x.length;D--;)C.attrHandle[x[D]]=H}function G(x,H){var D=H&&x,R=D&&1===x.nodeType&&1===H.nodeType&&(~H.sourceIndex||-2147483648)-(~x.sourceIndex||-2147483648);if(R)return R;if(D)for(;D= D.nextSibling;)if(D===H)return-1;return x?1:-1}function N(x){return function(H){return"input"===H.nodeName.toLowerCase()&&H.type===x}}function P(x){return function(H){var D=H.nodeName.toLowerCase();return("input"===D||"button"===D)&&H.type===x}}function O(x){return m(function(H){H=+H;return m(function(D,R){for(var S,W=x([],D.length,H),aa=W.length;aa--;)D[S=W[aa]]&&(D[S]=!(R[S]=D[S]))})})}function X(x){return x&&"undefined"!==typeof x.getElementsByTagName&&x}function ba(){}function ca(x){for(var H= 0,D=x.length,R="";H+~]|[\x20\t\r\n\f])[\x20\t\r\n\f]*/,pc=/=[\x20\t\r\n\f]*([^\]'"]*?)[\x20\t\r\n\f]*\]/g,Hd=/:((?:\\.|[\w-]|[^\x00-\xa0])+)(?:\((('((?:\\.|[^\\'])*)'|"((?:\\.|[^\\"])*)")|((?:\\.|[^\\()[\]]|\[[\x20\t\r\n\f]*((?:\\.|[\w-]|[^\x00-\xa0])+)(?:[\x20\t\r\n\f]*([*^$|!~]?=)[\x20\t\r\n\f]*(?:'((?:\\.|[^\\'])*)'|"((?:\\.|[^\\"])*)"|((?:\\.|[\w-]|[^\x00-\xa0])+))|)[\x20\t\r\n\f]*\])*)|.*)\)|)/, Fc=/^(?:\\.|[\w-]|[^\x00-\xa0])+$/,zb={ID:/^#((?:\\.|[\w-]|[^\x00-\xa0])+)/,CLASS:/^\.((?:\\.|[\w-]|[^\x00-\xa0])+)/,TAG:/^((?:\\.|[\w-]|[^\x00-\xa0])+|[*])/,ATTR:/^\[[\x20\t\r\n\f]*((?:\\.|[\w-]|[^\x00-\xa0])+)(?:[\x20\t\r\n\f]*([*^$|!~]?=)[\x20\t\r\n\f]*(?:'((?:\\.|[^\\'])*)'|"((?:\\.|[^\\"])*)"|((?:\\.|[\w-]|[^\x00-\xa0])+))|)[\x20\t\r\n\f]*\]/,PSEUDO:/^:((?:\\.|[\w-]|[^\x00-\xa0])+)(?:\((('((?:\\.|[^\\'])*)'|"((?:\\.|[^\\"])*)")|((?:\\.|[^\\()[\]]|\[[\x20\t\r\n\f]*((?:\\.|[\w-]|[^\x00-\xa0])+)(?:[\x20\t\r\n\f]*([*^$|!~]?=)[\x20\t\r\n\f]*(?:'((?:\\.|[^\\'])*)'|"((?:\\.|[^\\"])*)"|((?:\\.|[\w-]|[^\x00-\xa0])+))|)[\x20\t\r\n\f]*\])*)|.*)\)|)/, CHILD:/^:(only|first|last|nth|nth-last)-(child|of-type)(?:\([\x20\t\r\n\f]*(even|odd|(([+-]|)(\d*)n|)[\x20\t\r\n\f]*(?:([+-]|)[\x20\t\r\n\f]*(\d+)|))[\x20\t\r\n\f]*\)|)/i,bool:/^(?:checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped)$/i,needsContext:/^[\x20\t\r\n\f]*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\([\x20\t\r\n\f]*((?:-\d)?\d*)[\x20\t\r\n\f]*\)|)(?=[^-]|$)/i},Jb=/^(?:input|select|textarea|button)$/i,pd=/^h\d$/i,ic= /^[^{]+\{\s*\[native \w/,rd=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,Tc=/[+~]/,Ua=/'|\\/g,Kb=/\\([\da-f]{1,6}[\x20\t\r\n\f]?|([\x20\t\r\n\f])|.)/ig,mb=function(x,H,D){x="0x"+H-65536;return x!==x||D?H:0>x?String.fromCharCode(x+65536):String.fromCharCode(x>>10|55296,x&1023|56320)},Jc=function(){Sb()};try{Rb.apply(wb=qd.call(La.childNodes),La.childNodes),wb[La.childNodes.length].nodeType}catch(x){Rb={apply:wb.length?function(H,D){od.apply(H,qd.call(D))}:function(H,D){for(var R=H.length,S=0;H[R++]=D[S++];); H.length=R-1}}}var qa=c.support={};var Gc=c.isXML=function(x){return(x=x&&(x.ownerDocument||x).documentElement)?"HTML"!==x.nodeName:!1};var Sb=c.setDocument=function(x){var H;x=x?x.ownerDocument||x:La;if(x===na||9!==x.nodeType||!x.documentElement)return na;na=x;Pa=na.documentElement;Sa=!Gc(na);(H=na.defaultView)&&H.top!==H&&(H.addEventListener?H.addEventListener("unload",Jc,!1):H.attachEvent&&H.attachEvent("onunload",Jc));qa.attributes=t(function(D){D.className="i";return!D.getAttribute("className")}); qa.getElementsByTagName=t(function(D){D.appendChild(na.createComment(""));return!D.getElementsByTagName("*").length});qa.getElementsByClassName=ic.test(na.getElementsByClassName);qa.getById=t(function(D){Pa.appendChild(D).id=Ga;return!na.getElementsByName||!na.getElementsByName(Ga).length});qa.getById?(C.find.ID=function(D,R){if("undefined"!==typeof R.getElementById&&Sa)return(D=R.getElementById(D))?[D]:[]},C.filter.ID=function(D){var R=D.replace(Kb,mb);return function(S){return S.getAttribute("id")=== R}}):(delete C.find.ID,C.filter.ID=function(D){var R=D.replace(Kb,mb);return function(S){return(S="undefined"!==typeof S.getAttributeNode&&S.getAttributeNode("id"))&&S.value===R}});C.find.TAG=qa.getElementsByTagName?function(D,R){if("undefined"!==typeof R.getElementsByTagName)return R.getElementsByTagName(D);if(qa.qsa)return R.querySelectorAll(D)}:function(D,R){var S=[],W=0;R=R.getElementsByTagName(D);if("*"===D){for(;D=R[W++];)1===D.nodeType&&S.push(D);return S}return R};C.find.CLASS=qa.getElementsByClassName&& function(D,R){if("undefined"!==typeof R.getElementsByClassName&&Sa)return R.getElementsByClassName(D)};db=[];Ia=[];if(qa.qsa=ic.test(na.querySelectorAll))t(function(D){Pa.appendChild(D).innerHTML="\x3ca id\x3d'"+Ga+"'\x3e\x3c/a\x3e\x3cselect id\x3d'"+Ga+"-\r\\' msallowcapture\x3d''\x3e\x3coption selected\x3d''\x3e\x3c/option\x3e\x3c/select\x3e";D.querySelectorAll("[msallowcapture^\x3d'']").length&&Ia.push("[*^$]\x3d[\\x20\\t\\r\\n\\f]*(?:''|\"\")");D.querySelectorAll("[selected]").length||Ia.push("\\[[\\x20\\t\\r\\n\\f]*(?:value|checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped)"); D.querySelectorAll("[id~\x3d"+Ga+"-]").length||Ia.push("~\x3d");D.querySelectorAll(":checked").length||Ia.push(":checked");D.querySelectorAll("a#"+Ga+"+*").length||Ia.push(".#.+[+~]")}),t(function(D){var R=na.createElement("input");R.setAttribute("type","hidden");D.appendChild(R).setAttribute("name","D");D.querySelectorAll("[name\x3dd]").length&&Ia.push("name[\\x20\\t\\r\\n\\f]*[*^$|!~]?\x3d");D.querySelectorAll(":enabled").length||Ia.push(":enabled",":disabled");D.querySelectorAll("*,:x");Ia.push(",.*:")}); (qa.matchesSelector=ic.test(fb=Pa.matches||Pa.webkitMatchesSelector||Pa.mozMatchesSelector||Pa.oMatchesSelector||Pa.msMatchesSelector))&&t(function(D){qa.disconnectedMatch=fb.call(D,"div");fb.call(D,"[s!\x3d'']:x");db.push("!\x3d",":((?:\\\\.|[\\w-]|[^\\x00-\\xa0])+)(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|\\[[\\x20\\t\\r\\n\\f]*((?:\\\\.|[\\w-]|[^\\x00-\\xa0])+)(?:[\\x20\\t\\r\\n\\f]*([*^$|!~]?\x3d)[\\x20\\t\\r\\n\\f]*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|((?:\\\\.|[\\w-]|[^\\x00-\\xa0])+))|)[\\x20\\t\\r\\n\\f]*\\])*)|.*)\\)|)")}); Ia=Ia.length&&new RegExp(Ia.join("|"));db=db.length&&new RegExp(db.join("|"));nb=(H=ic.test(Pa.compareDocumentPosition))||ic.test(Pa.contains)?function(D,R){var S=9===D.nodeType?D.documentElement:D;R=R&&R.parentNode;return D===R||!!(R&&1===R.nodeType&&(S.contains?S.contains(R):D.compareDocumentPosition&&D.compareDocumentPosition(R)&16))}:function(D,R){if(R)for(;R=R.parentNode;)if(R===D)return!0;return!1};xb=H?function(D,R){if(D===R)return ya=!0,0;var S=!D.compareDocumentPosition-!R.compareDocumentPosition; if(S)return S;S=(D.ownerDocument||D)===(R.ownerDocument||R)?D.compareDocumentPosition(R):1;return S&1||!qa.sortDetached&&R.compareDocumentPosition(D)===S?D===na||D.ownerDocument===La&&nb(La,D)?-1:R===na||R.ownerDocument===La&&nb(La,R)?1:Aa?Zb(Aa,D)-Zb(Aa,R):0:S&4?-1:1}:function(D,R){if(D===R)return ya=!0,0;var S=0,W=D.parentNode,aa=R.parentNode,da=[D],ea=[R];if(!W||!aa)return D===na?-1:R===na?1:W?-1:aa?1:Aa?Zb(Aa,D)-Zb(Aa,R):0;if(W===aa)return G(D,R);for(;D=D.parentNode;)da.unshift(D);for(D=R;D=D.parentNode;)ea.unshift(D); for(;da[S]===ea[S];)S++;return S?G(da[S],ea[S]):da[S]===La?-1:ea[S]===La?1:0};return na};c.matches=function(x,H){return c(x,null,null,H)};c.matchesSelector=function(x,H){(x.ownerDocument||x)!==na&&Sb(x);H=H.replace(pc,"\x3d'$1']");if(!(!qa.matchesSelector||!Sa||gb[H+" "]||db&&db.test(H)||Ia&&Ia.test(H)))try{var D=fb.call(x,H);if(D||qa.disconnectedMatch||x.document&&11!==x.document.nodeType)return D}catch(R){}return 0x.nodeType)return!1;return!0},parent:function(x){return!C.pseudos.empty(x)},header:function(x){return pd.test(x.nodeName)},input:function(x){return Jb.test(x.nodeName)},button:function(x){var H=x.nodeName.toLowerCase();return"input"===H&&"button"===x.type||"button"===H},text:function(x){var H;return"input"===x.nodeName.toLowerCase()&&"text"===x.type&&(null==(H=x.getAttribute("type"))||"text"===H.toLowerCase())},first:O(function(){return[0]}), last:O(function(x,H){return[H-1]}),eq:O(function(x,H,D){return[0>D?D+H:D]}),even:O(function(x,H){for(var D=0;DD?D+H:D;0<=--H;)x.push(H);return x}),gt:O(function(x,H,D){for(D=0>D?D+H:D;++D(?:<\/\1>|)$/,r=/^.[^:#\[\.,]*$/;h.filter=function(a,c,f){var m=c[0];f&&(a=":not("+a+")");return 1===c.length&&1===m.nodeType?h.find.matchesSelector(m,a)?[m]:[]:h.find.matches(a,h.grep(c,function(t){return 1===t.nodeType}))};h.fn.extend({find:function(a){var c,f=[],m=this,t=m.length;if("string"!==typeof a)return this.pushStack(h(a).filter(function(){for(c= 0;c)[^>]*|#([\w-]*))$/;(h.fn.init=function(a,c,f){if(!a)return this;f=f||ac;if("string"===typeof a){var m= "\x3c"===a.charAt(0)&&"\x3e"===a.charAt(a.length-1)&&3<=a.length?[null,a,null]:$b.exec(a);if(!m||!m[1]&&c)return!c||c.jquery?(c||f).find(a):this.constructor(c).find(a);if(m[1]){if(c=c instanceof h?c[0]:c,h.merge(this,h.parseHTML(m[1],c&&c.nodeType?c.ownerDocument||c:la,!0)),dd.test(m[1])&&h.isPlainObject(c))for(m in c)if(h.isFunction(this[m]))this[m](c[m]);else this.attr(m,c[m])}else{if((c=la.getElementById(m[2]))&&c.parentNode){if(c.id!==m[2])return ac.find(a);this.length=1;this[0]=c}this.context= la;this.selector=a}return this}if(a.nodeType)return this.context=this[0]=a,this.length=1,this;if(h.isFunction(a))return"undefined"!==typeof f.ready?f.ready(a):a(h);void 0!==a.selector&&(this.selector=a.selector,this.context=a.context);return h.makeArray(a,this)}).prototype=h.fn;var ac=h(la);var sd=/^(?:parents|prev(?:Until|All))/,td={children:!0,contents:!0,next:!0,prev:!0};h.fn.extend({has:function(a){var c,f=h(a,this),m=f.length;return this.filter(function(){for(c=0;cf.nodeType&&(G?-1N.indexOf(":")&&"on"+N;a=a[h.expando]?a:new h.Event(N,"object"===typeof a&&a);a.isTrigger=m?2:3;a.namespace=P.join(".");a.rnamespace=a.namespace?new RegExp("(^|\\.)"+P.join("\\.(?:.*\\.|)")+"(\\.|$)"):null;a.result=void 0;a.target||(a.target=f);c=null==c?[a]:h.makeArray(c,[a]);P=h.event.special[N]||{};if(m||!P.trigger||!1!==P.trigger.apply(f,c)){if(!m&&!P.noBubble&&!h.isWindow(f)){var ba=P.delegateType|| N;vd.test(ba+N)||(O=O.parentNode);for(;O;O=O.parentNode)G.push(O),t=O;t===(f.ownerDocument||la)&&G.push(t.defaultView||t.parentWindow||k)}for(A=0;(O=G[A++])&&!a.isPropagationStopped();)a.type=1a.button))for(;A!=this;A=A.parentNode||this)if(1===A.nodeType&&(!0!==A.disabled||"click"!==a.type)){var G=[];for(f=0;f< t;f++){var N=c[f];var P=N.selector+" ";void 0===G[P]&&(G[P]=N.needsContext?-1]/i,gd=/\s*$/g,Vc=Z(la).appendChild(la.createElement("div"));h.extend({htmlPrefilter:function(a){return a},clone:function(a, c,f){var m,t,A=h.contains(a.ownerDocument,a);if(ja.html5Clone||h.isXMLDoc(a)||!kc.test("\x3c"+a.nodeName+"\x3e"))var G=a.cloneNode(!0);else Vc.innerHTML=a.outerHTML,Vc.removeChild(G=Vc.firstChild);if(!(ja.noCloneEvent&&ja.noCloneChecked||1!==a.nodeType&&11!==a.nodeType||h.isXMLDoc(a))){var N=Y(G);var P=Y(a);for(t=0;null!=(m=P[t]);++t)if(N[t]){var O=void 0,X=m,ba=N[t];if(1===ba.nodeType){var ca=ba.nodeName.toLowerCase();if(!ja.noCloneEvent&&ba[h.expando]){m=h._data(ba);for(O in m.events)h.removeEvent(ba, O,m.handle);ba.removeAttribute(h.expando)}if("script"===ca&&ba.text!==X.text)Wa(ba).text=X.text,xc(ba);else if("object"===ca)ba.parentNode&&(ba.outerHTML=X.outerHTML),ja.html5Clone&&X.innerHTML&&!h.trim(ba.innerHTML)&&(ba.innerHTML=X.innerHTML);else if("input"===ca&&bc.test(X.type))ba.defaultChecked=ba.checked=X.checked,ba.value!==X.value&&(ba.value=X.value);else if("option"===ca)ba.defaultSelected=ba.selected=X.defaultSelected;else if("input"===ca||"textarea"===ca)ba.defaultValue=X.defaultValue}}}if(c)if(f)for(P= P||Y(a),N=N||Y(G),t=0;null!=(m=P[t]);t++)ia(m,N[t]);else ia(a,G);N=Y(G,"script");0h.inArray(this,a)&&(h.cleanData(Y(this)),f&&f.replaceChild(c,this))},a)}});h.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(a,c){h.fn[a]=function(f){for(var m=0,t=[],A=h(f),G=A.length-1;m<=G;m++)f=m===G?this:this.clone(!0),h(A[m])[c](f),Cb.apply(t,f.get());return this.pushStack(t)}});var sc,Wc={HTML:"block", BODY:"block"},wd=/^margin/,yc=new RegExp("^("+Uc+")(?!px)[a-z%]+$","i"),Oc=function(a,c,f,m){var t,A={};for(t in c)A[t]=a.style[t],a.style[t]=c[t];f=f.apply(a,m||[]);for(t in c)a.style[t]=A[t];return f},Ac=la.documentElement;(function(){function a(){var O=la.documentElement;O.appendChild(N);P.style.cssText="-webkit-box-sizing:border-box;box-sizing:border-box;position:relative;display:block;margin:auto;border:1px;padding:1px;top:1%;width:50%";c=m=G=!1;f=A=!0;if(k.getComputedStyle){var X=k.getComputedStyle(P); c="1%"!==(X||{}).top;G="2px"===(X||{}).marginLeft;m="4px"===(X||{width:"4px"}).width;P.style.marginRight="50%";f="4px"===(X||{marginRight:"4px"}).marginRight;X=P.appendChild(la.createElement("div"));X.style.cssText=P.style.cssText="-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:0";X.style.marginRight=X.style.width="0";P.style.width="1px";A=!parseFloat((k.getComputedStyle(X)||{}).marginRight);P.removeChild(X)}P.style.display= "none";if(t=0===P.getClientRects().length)if(P.style.display="",P.innerHTML="\x3ctable\x3e\x3ctr\x3e\x3ctd\x3e\x3c/td\x3e\x3ctd\x3et\x3c/td\x3e\x3c/tr\x3e\x3c/table\x3e",P.childNodes[0].style.borderCollapse="separate",X=P.getElementsByTagName("td"),X[0].style.cssText="margin:0;border:0;padding:0;display:none",t=0===X[0].offsetHeight)X[0].style.display="",X[1].style.display="none",t=0===X[0].offsetHeight;O.removeChild(N)}var c,f,m,t,A,G,N=la.createElement("div"),P=la.createElement("div");P.style&& (P.style.cssText="float:left;opacity:.5",ja.opacity="0.5"===P.style.opacity,ja.cssFloat=!!P.style.cssFloat,P.style.backgroundClip="content-box",P.cloneNode(!0).style.backgroundClip="",ja.clearCloneStyle="content-box"===P.style.backgroundClip,N=la.createElement("div"),N.style.cssText="border:0;width:8px;height:0;top:0;left:-9999px;padding:0;margin-top:1px;position:absolute",P.innerHTML="",N.appendChild(P),ja.boxSizing=""===P.style.boxSizing||""===P.style.MozBoxSizing||""===P.style.WebkitBoxSizing, h.extend(ja,{reliableHiddenOffsets:function(){null==c&&a();return t},boxSizingReliable:function(){null==c&&a();return m},pixelMarginRight:function(){null==c&&a();return f},pixelPosition:function(){null==c&&a();return c},reliableMarginRight:function(){null==c&&a();return A},reliableMarginLeft:function(){null==c&&a();return G}}))})();var zc=/^(top|right|bottom|left)$/;if(k.getComputedStyle){var dc=function(a){var c=a.ownerDocument.defaultView;c&&c.opener||(c=k);return c.getComputedStyle(a)};var Vb= function(a,c,f){var m=a.style;var t=(f=f||dc(a))?f.getPropertyValue(c)||f[c]:void 0;""!==t&&void 0!==t||h.contains(a.ownerDocument,a)||(t=h.style(a,c));if(f&&!ja.pixelMarginRight()&&yc.test(t)&&wd.test(c)){a=m.width;c=m.minWidth;var A=m.maxWidth;m.minWidth=m.maxWidth=m.width=t;t=f.width;m.width=a;m.minWidth=c;m.maxWidth=A}return void 0===t?t:t+""}}else Ac.currentStyle&&(dc=function(a){return a.currentStyle},Vb=function(a,c,f){var m,t,A=a.style;var G=(f=f||dc(a))?f[c]:void 0;null==G&&A&&A[c]&&(G=A[c]); if(yc.test(G)&&!zc.test(c)){f=A.left;if(t=(m=a.runtimeStyle)&&m.left)m.left=a.currentStyle.left;A.left="fontSize"===c?"1em":G;G=A.pixelLeft+"px";A.left=f;t&&(m.left=t)}return void 0===G?G:G+""||"auto"});var Bc=/alpha\([^)]*\)/i,kd=/opacity\s*=\s*([^)]*)/i,jd=/^(none|table(?!-c[ea]).+)/,Nd=new RegExp("^("+Uc+")(.*)$","i"),xd={position:"absolute",visibility:"hidden",display:"block"},yd={letterSpacing:"0",fontWeight:"400"},Xc=["Webkit","O","Moz","ms"],Wb=la.createElement("div").style;h.extend({cssHooks:{opacity:{get:function(a, c){if(c)return a=Vb(a,"opacity"),""===a?"1":a}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{"float":ja.cssFloat?"cssFloat":"styleFloat"},style:function(a,c,f,m){if(a&&3!==a.nodeType&&8!==a.nodeType&&a.style){var t,A=h.camelCase(c),G=a.style;c=h.cssProps[A]||(h.cssProps[A]=Ra(A)||A);var N=h.cssHooks[c]||h.cssHooks[A];if(void 0!==f){var P=typeof f;"string"=== P&&(t=rc.exec(f))&&t[1]&&(f=T(a,c,t),P="number");if(null!=f&&f===f&&("number"===P&&(f+=t&&t[3]||(h.cssNumber[A]?"":"px")),ja.clearCloneStyle||""!==f||0!==c.indexOf("background")||(G[c]="inherit"),!(N&&"set"in N)||void 0!==(f=N.set(a,f,m))))try{G[c]=f}catch(O){}}else return N&&"get"in N&&void 0!==(t=N.get(a,!1,m))?t:G[c]}},css:function(a,c,f,m){var t;var A=h.camelCase(c);c=h.cssProps[A]||(h.cssProps[A]=Ra(A)||A);(A=h.cssHooks[c]||h.cssHooks[A])&&"get"in A&&(t=A.get(a,!0,f));void 0===t&&(t=Vb(a,c,m)); "normal"===t&&c in yd&&(t=yd[c]);return""===f||f?(a=parseFloat(t),!0===f||isFinite(a)?a||0:t):t}});h.each(["height","width"],function(a,c){h.cssHooks[c]={get:function(f,m,t){if(m)return jd.test(h.css(f,"display"))&&0===f.offsetWidth?Oc(f,xd,function(){return hb(f,c,t)}):hb(f,c,t)},set:function(f,m,t){var A=t&&dc(f);return pb(f,m,t?qb(f,c,t,ja.boxSizing&&"border-box"===h.css(f,"boxSizing",!1,A),A):0)}}});ja.opacity||(h.cssHooks.opacity={get:function(a,c){return kd.test((c&&a.currentStyle?a.currentStyle.filter: a.style.filter)||"")?.01*parseFloat(RegExp.$1)+"":c?"1":""},set:function(a,c){var f=a.style;a=a.currentStyle;var m=h.isNumeric(c)?"alpha(opacity\x3d"+100*c+")":"",t=a&&a.filter||f.filter||"";f.zoom=1;if((1<=c||""===c)&&""===h.trim(t.replace(Bc,""))&&f.removeAttribute&&(f.removeAttribute("filter"),""===c||a&&!a.filter))return;f.filter=Bc.test(t)?t.replace(Bc,m):t+" "+m}});h.cssHooks.marginRight=Ja(ja.reliableMarginRight,function(a,c){if(c)return Oc(a,{display:"inline-block"},Vb,[a,"marginRight"])}); h.cssHooks.marginLeft=Ja(ja.reliableMarginLeft,function(a,c){if(c)return(parseFloat(Vb(a,"marginLeft"))||(h.contains(a.ownerDocument,a)?a.getBoundingClientRect().left-Oc(a,{marginLeft:0},function(){return a.getBoundingClientRect().left}):0))+"px"});h.each({margin:"",padding:"",border:"Width"},function(a,c){h.cssHooks[a+c]={expand:function(f){var m=0,t={};for(f="string"===typeof f?f.split(" "):[f];4>m;m++)t[a+ob[m]+c]=f[m]||f[m-2]||f[0];return t}};wd.test(a)||(h.cssHooks[a+c].set=pb)});h.fn.extend({css:function(a, c){return Nb(this,function(f,m,t){var A,G={},N=0;if(h.isArray(m)){t=dc(f);for(A=m.length;Nm)?null:[],A=a?m+1:f.length,G=0>m?A:a?m:0;Gm.indexOf(" "+t+" ")&&(m+=t+" ");m=h.trim(m);N!==m&&h.attr(f,"class",m)}}return this},removeClass:function(a){var c, f,m,t,A,G=0;if(h.isFunction(a))return this.each(function(P){h(this).removeClass(a.call(this,P,vb(this)))});if(!arguments.length)return this.attr("class","");if("string"===typeof a&&a)for(c=a.match(Eb)||[];f=this[G++];){var N=vb(f);if(m=1===f.nodeType&&(" "+N+" ").replace(Mc," ")){for(A=0;t=c[A++];)for(;-1Aa||304===Aa;if(na){var Ia=O;for(var db=ua,fb,nb,Ga,La,Ya=Ia.contents,Db=Ia.dataTypes;"*"===Db[0];)Db.shift(),void 0===nb&&(nb=Ia.mimeType||db.getResponseHeader("Content-Type"));if(nb)for(La in Ya)if(Ya[La]&&Ya[La].test(nb)){Db.unshift(La);break}if(Db[0]in na)Ga= Db[0];else{for(La in na){if(!Db[0]||Ia.converters[La+" "+Db[0]]){Ga=La;break}fb||(fb=La)}Ga=Ga||fb}Ga?(Ga!==Db[0]&&Db.unshift(Ga),Ia=na[Ga]):Ia=void 0}a:{na=O;fb=Ia;nb=ua;Ga=Pa;var Yb;db={};Ya=na.dataTypes.slice();if(Ya[1])for(gb in na.converters)db[gb.toLowerCase()]=na.converters[gb];for(La=Ya.shift();La;){na.responseFields[La]&&(nb[na.responseFields[La]]=fb);!jb&&Ga&&na.dataFilter&&(fb=na.dataFilter(fb,na.dataType));var jb=La;if(La=Ya.shift())if("*"===La)La=jb;else if("*"!==jb&&jb!==La){var gb= db[jb+" "+La]||db["* "+La];if(!gb)for(Yb in db)if(Ia=Yb.split(" "),Ia[1]===La&&(gb=db[jb+" "+Ia[0]]||db["* "+Ia[0]])){!0===gb?gb=db[Yb]:!0!==db[Yb]&&(La=Ia[0],Ya.unshift(Ia[1]));break}if(!0!==gb)if(gb&&na["throws"])fb=gb(fb);else try{fb=gb(fb)}catch(wb){Ia={state:"parsererror",error:gb?wb:"No conversion from "+jb+" to "+La};break a}}}Ia={state:"success",data:fb}}if(Pa)if(O.ifModified&&((Sa=ua.getResponseHeader("Last-Modified"))&&(h.lastModified[bb]=Sa),(Sa=ua.getResponseHeader("etag"))&&(h.etag[bb]= Sa)),204===Aa||"HEAD"===O.type)Sa="nocontent";else if(304===Aa)Sa="notmodified";else{Sa=Ia.state;var xb=Ia.data;var jc=Ia.error;Pa=!jc}else if(jc=Sa,Aa||!Sa)Sa="error",0>Aa&&(Aa=0);ua.status=Aa;ua.statusText=(ya||Sa)+"";Pa?ca.resolveWith(X,[xb,Sa,ua]):ca.rejectWith(X,[ua,Sa,jc]);ua.statusCode(xa);xa=void 0;G&&ba.trigger(Pa?"ajaxSuccess":"ajaxError",[ua,O,Pa?xb:jc]);va.fireWith(X,[ua,Sa]);G&&(ba.trigger("ajaxComplete",[ua,O]),--h.active||h.event.trigger("ajaxStop"))}}"object"===typeof a&&(c=a,a=void 0); c=c||{};var m,t,A,G,N,P,O=h.ajaxSetup({},c),X=O.context||O,ba=O.context&&(X.nodeType||X.jquery)?h(X):h.event,ca=h.Deferred(),va=h.Callbacks("once memory"),xa=O.statusCode||{},ta={},Ma={},Fa=0,Va="canceled",ua={readyState:0,getResponseHeader:function(Aa){var ya;if(2===Fa){if(!P)for(P={};ya=Ud.exec(t);)P[ya[1].toLowerCase()]=ya[2];ya=P[Aa.toLowerCase()]}return null==ya?null:ya},getAllResponseHeaders:function(){return 2===Fa?t:null},setRequestHeader:function(Aa,ya){var na=Aa.toLowerCase();Fa||(Aa=Ma[na]= Ma[na]||Aa,ta[Aa]=ya);return this},overrideMimeType:function(Aa){Fa||(O.mimeType=Aa);return this},statusCode:function(Aa){var ya;if(Aa)if(2>Fa)for(ya in Aa)xa[ya]=[xa[ya],Aa[ya]];else ua.always(Aa[ua.status]);return this},abort:function(Aa){Aa=Aa||Va;N&&N.abort(Aa);f(0,Aa);return this}};ca.promise(ua).complete=va.add;ua.success=ua.done;ua.error=ua.fail;O.url=((a||O.url||ec)+"").replace(Td,"").replace(Ad,fc[1]+"http://");O.type=c.method||c.type||O.method||O.type;O.dataTypes=h.trim(O.dataType||"*").toLowerCase().match(Eb)|| [""];null==O.crossDomain&&(a=Dc.exec(O.url.toLowerCase()),O.crossDomain=!(!a||a[1]===fc[1]&&a[2]===fc[2]&&(a[3]||("http:"===a[1]?"80":"443"))===(fc[3]||("http:"===fc[1]?"80":"443"))));O.data&&O.processData&&"string"!==typeof O.data&&(O.data=h.param(O.data,O.traditional));ld(bd,O,c,ua);if(2===Fa)return ua;(G=h.event&&O.global)&&0===h.active++&&h.event.trigger("ajaxStart");O.type=O.type.toUpperCase();O.hasContent=!Vd.test(O.type);var bb=O.url;O.hasContent||(O.data&&(bb=O.url+=(ad.test(bb)?"\x26":"?")+ O.data,delete O.data),!1===O.cache&&(O.url=zd.test(bb)?bb.replace(zd,"$1_\x3d"+$c++):bb+(ad.test(bb)?"\x26":"?")+"_\x3d"+$c++));O.ifModified&&(h.lastModified[bb]&&ua.setRequestHeader("If-Modified-Since",h.lastModified[bb]),h.etag[bb]&&ua.setRequestHeader("If-None-Match",h.etag[bb]));(O.data&&O.hasContent&&!1!==O.contentType||c.contentType)&&ua.setRequestHeader("Content-Type",O.contentType);ua.setRequestHeader("Accept",O.dataTypes[0]&&O.accepts[O.dataTypes[0]]?O.accepts[O.dataTypes[0]]+("*"!==O.dataTypes[0]? ", "+Bd+"; q\x3d0.01":""):O.accepts["*"]);for(m in O.headers)ua.setRequestHeader(m,O.headers[m]);if(O.beforeSend&&(!1===O.beforeSend.call(X,ua,O)||2===Fa))return ua.abort();Va="abort";for(m in{success:1,error:1,complete:1})ua[m](O[m]);if(N=ld(wc,O,c,ua)){ua.readyState=1;G&&ba.trigger("ajaxSend",[ua,O]);if(2===Fa)return ua;O.async&&0Fa)f(-1,Aa);else throw Aa;}}else f(-1,"No Transport");return ua}, getJSON:function(a,c,f){return h.get(a,c,f,"json")},getScript:function(a,c){return h.get(a,void 0,c,"script")}});h.each(["get","post"],function(a,c){h[c]=function(f,m,t,A){h.isFunction(m)&&(A=A||t,t=m,m=void 0);return h.ajax(h.extend({url:f,type:c,dataType:A,data:m,success:t},h.isPlainObject(f)&&f))}});h._evalsUrl=function(a){return h.ajax({url:a,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,"throws":!0})};h.fn.extend({wrapAll:function(a){if(h.isFunction(a))return this.each(function(f){h(this).wrapAll(a.call(this, f))});if(this[0]){var c=h(a,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&c.insertBefore(this[0]);c.map(function(){for(var f=this;f.firstChild&&1===f.firstChild.nodeType;)f=f.firstChild;return f}).append(this)}return this},wrapInner:function(a){return h.isFunction(a)?this.each(function(c){h(this).wrapInner(a.call(this,c))}):this.each(function(){var c=h(this),f=c.contents();f.length?f.wrapAll(a):c.append(a)})},wrap:function(a){var c=h.isFunction(a);return this.each(function(f){h(this).wrapAll(c? a.call(this,f):a)})},unwrap:function(){return this.parent().each(function(){h.nodeName(this,"body")||h(this).replaceWith(this.childNodes)}).end()}});h.expr.filters.hidden=function(a){return ja.reliableHiddenOffsets()?0>=a.offsetWidth&&0>=a.offsetHeight&&!a.getClientRects().length:Xb(a)};h.expr.filters.visible=function(a){return!h.expr.filters.hidden(a)};var cd=/%20/g,Wd=/\[\]$/,Cd=/\r?\n/g,Xd=/^(?:submit|button|image|reset|file)$/i,b=/^(?:input|select|textarea|keygen)/i;h.param=function(a,c){var f, m=[],t=function(A,G){G=h.isFunction(G)?G():null==G?"":G;m[m.length]=encodeURIComponent(A)+"\x3d"+encodeURIComponent(G)};void 0===c&&(c=h.ajaxSettings&&h.ajaxSettings.traditional);if(h.isArray(a)||a.jquery&&!h.isPlainObject(a))h.each(a,function(){t(this.name,this.value)});else for(f in a)Ib(f,a[f],c,t);return m.join("\x26").replace(cd,"+")};h.fn.extend({serialize:function(){return h.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var a=h.prop(this,"elements");return a? h.makeArray(a):this}).filter(function(){var a=this.type;return this.name&&!h(this).is(":disabled")&&b.test(this.nodeName)&&!Xd.test(a)&&(this.checked||!bc.test(a))}).map(function(a,c){a=h(this).val();return null==a?null:h.isArray(a)?h.map(a,function(f){return{name:c.name,value:f.replace(Cd,"\r\n")}}):{name:c.name,value:a.replace(Cd,"\r\n")}}).get()}});h.ajaxSettings.xhr=void 0!==k.ActiveXObject?function(){return this.isLocal?Cc():8k.indexOf("compatible")&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(k)||[];return{browser:k[1]||"",version:k[2]||"0"}}; jQuery.browser||(matched=jQuery.uaMatch(navigator.userAgent),browser={},matched.browser&&(browser[matched.browser]=!0,browser.version=matched.version),browser.chrome?browser.webkit=!0:browser.webkit&&(browser.safari=!0),jQuery.browser=browser); (function(k){function u(g){var q=window.document.implementation.createHTMLDocument("");q.body.innerHTML=g;return q.body&&q.body.innerHTML}var l=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([a-z][^\/\0>\x20\t\r\n\f]*)[^>]*)\/>/gi,e=k.htmlPrefilter;k.htmlPrefilter=function(g){var q=g.replace(l,"\x3c$1\x3e\x3c/$2\x3e");q!==g&&u(g)!==u(q)&&console.error("HTML tags must be properly nested and closed: "+g);return e(g)}})(window.jQuery); (function(k){"object"===typeof module&&module.exports?module.exports=k():(window.Granite=window.Granite||{}).Sling=k()})(function(){return{SELECTOR_INFINITY:".infinity",CHARSET:"_charset_",STATUS:":status",STATUS_BROWSER:"browser",OPERATION:":operation",OPERATION_DELETE:"delete",OPERATION_MOVE:"move",DELETE_SUFFIX:"@Delete",TYPEHINT_SUFFIX:"@TypeHint",COPY_SUFFIX:"@CopyFrom",MOVE_SUFFIX:"@MoveFrom",ORDER:":order",REPLACE:":replace",DESTINATION:":dest",SAVE_PARAM_PREFIX:":saveParamPrefix",IGNORE_PARAM:":ignore", REQUEST_LOGIN_PARAM:"sling:authRequestLogin",LOGIN_URL:"/system/sling/login.html",LOGOUT_URL:"/system/sling/logout.html"}}); (function(k){"object"===typeof module&&module.exports?module.exports=k():(window.Granite=window.Granite||{}).Util=k()})(function(){return{patchText:function(k,u){if(u)if("[object Array]"!==Object.prototype.toString.call(u))k=k.replace("{0}",u);else for(var l=0;lF&&(F=E.indexOf("-"));if(0>F){var K=E;F=null}else K=E.substring(0,F),F=E.substring(F+1); return{code:E,language:K,country:F}};return z}()}); (function(k){"object"===typeof module&&module.exports?module.exports=k():(window.Granite=window.Granite||{}).TouchIndicator=k()})(function(){var k={},u=[];return{debugWithMouse:!1,init:function(){var l=this,e=function(g){l.update(g.touches);return!0};document.addEventListener("touchstart",e);document.addEventListener("touchmove",e);document.addEventListener("touchend",e);this.debugWithMouse&&document.addEventListener("mousemove",function(g){g.identifer="fake";l.update([g]);return!0})},update:function(l){for(var e= {},g=0;gv)return l+q+encodeURIComponent(e)+"\x3d"+encodeURIComponent(g);var z=l.substring(v);l=l.substring(0,v);return l+q+encodeURIComponent(e)+"\x3d"+encodeURIComponent(g)+z},setParameter:function(l,e,g){l=_g.HTTP.removeParameter(l,e);return _g.HTTP.addParameter(l,e,g)},removeParameter:function(l,e){var g="?"+encodeURIComponent(e)+"\x3d";e="\x26"+encodeURIComponent(e)+"\x3d";if(-1==l.indexOf(g))if(-1!=l.indexOf(e))g=e;else return l;e=l.indexOf(g);g=l.substring(0,e);e=l.indexOf("\x26", e+1);var q="";-1!=e&&(q=l.substring(e),0==q.indexOf("\x26")&&(q=q.replace("\x26","?")));return g+q},removeParameters:Granite.HTTP.removeParameters,addSelector:function(l,e,g){g||(g=0);var q="",v=l.indexOf("?");-1==v&&(v=l.indexOf("#"));-1!=v&&(q=l.substring(v),l=l.substring(0,v));var z=l.lastIndexOf("/");v=l.substring(z);if(-1==v.indexOf("."+e+".")){l=l.substring(0,z);v=v.split(".");var w=z="";if(g>v.length-2||-1==g)g=v.length-2;for(var E=0;Ee)return"";l=l.substring(e+1);e=l.indexOf("/");return 0>e?l:l.substring(0,e)},encodePathOfURI:Granite.HTTP.encodePathOfURI,encodePath:Granite.HTTP.encodePath,evals:Granite.HTTP.evals,isOkStatus:function(l){try{return 0==(new String(l)).indexOf("2")}catch(e){return!1}}, isOk:function(l){try{return _g.HTTP.isOkStatus(l.headers[_g.HTTP.HEADER_STATUS])}catch(e){return!1}},handleForbidden:function(l,e){try{return 403==l[_g.HTTP.HEADER_STATUS.toLowerCase()]?(Granite.HTTP.handleLoginRedirect(),!0):!1}catch(g){return!1}},getXhrHook:Granite.HTTP.getXhrHook,getXhrHookedURL:function(l,e,g){return(e=_g.HTTP.getXhrHook(l,e,g))?e.url:l},reloadHook:function(l){"undefined"!=typeof G_RELOAD_HOOK&&_g.$.isFunction(G_RELOAD_HOOK)&&(""!=CQURLInfo.selectorString&&(l=_g.HTTP.addSelector(l, CQURLInfo.selectorString)),l=G_RELOAD_HOOK(l)||l);return l}}};_g.HTTP=_g.shared.HTTP; _g.shared.Util=new function(){return{reload:function(k,u,l){k||(k=window);u||(u=_g.HTTP.noCaching(k.locations.href));u=_g.HTTP.reloadHook(u);l?k.locations.replace(u):k.locations.href=u},load:function(k,u){_g.Util.reload(window,k,u)},open:function(k,u,l,e){u||(u=window);if(k)return k=_g.HTTP.reloadHook(k),l||(l=""),e||(e=""),u.open(k,l,e)},htmlEncode:function(k){return k?String(k).replace(/&/g,"\x26amp;").replace(/>/g,"\x26gt;").replace(/u){if(l){l=k.substr(0,u-2);var e=Math.max(l.lastIndexOf(" "),l.lastIndexOf("."),l.lastIndexOf("!"),l.lastIndexOf("?"),l.lastIndexOf(";"));return-1==e||eu.lastIndexOf("/")&& (u=u.substr(0,u.indexOf(".",u.lastIndexOf("/"))));if(k)if(0==k.indexOf("/"))u=k;else{if(l)for(;0==k.indexOf("../");)k=k.substring(3),u=u.substring(0,u.lastIndexOf("/"));k=k.replace("./","");u=u+"/"+k}return u}}}();_g.Sling=_g.shared.Sling; _g.shared.XSS=new function(){return{getXSSPropertyName:function(k){return k?_g.XSS.KEY_REGEXP.test(k)?k:k+_g.XSS.KEY_SUFFIX:""},getXSSRecordPropertyValue:function(k,u,l){var e="";k&&u&&(e=(e=k.get(this.getXSSPropertyName(u)))?e:this.getXSSValue(k.get(u)),l&&!isNaN(l)&&(e=_g.Util.ellipsis(e,l,!0)));return e},getXSSTablePropertyValue:function(k,u,l){var e="";k&&u&&(e=(e=k[this.getXSSPropertyName(u)])?e:this.getXSSValue(k[u]),l&&!isNaN(l)&&(e=_g.Util.ellipsis(e,l,!0)));return e},getXSSValue:function(k){return k? _g.Util.htmlEncode(k):""},updatePropertyName:function(k,u){k&&u&&k[u]&&k.xssProtect&&!k.xssKeepPropName&&(k[u]=this.getXSSPropertyName(k[u]))},xssPropertyRenderer:function(k,u,l,e){return e&&e.dataIndex&&l&&l.data&&l.data[this.getXSSPropertyName(e.dataIndex)]?(k=l.data[this.getXSSPropertyName(e.dataIndex)],e.ellipsisLimit&&!isNaN(e.ellipsisLimit)&&(k=_g.Util.ellipsis(k,e.ellipsisLimit,!0)),k):k?k:""}}};_g.XSS=_g.shared.XSS;_g.XSS.KEY_SUFFIX="_xss";_g.XSS.KEY_REGEXP=new RegExp(_g.XSS.KEY_SUFFIX+"$"); _g.shared.I18n=Granite.I18n;_g.I18n=_g.shared.I18n;_g.shared.I18n.getMessage=Granite.I18n.get;_g.shared.I18n.getVarMessage=Granite.I18n.getVar; _g.shared.String=new function(){return{startsWith:function(k,u){return null==k||null==u?null==k&&null==u:u.length>k.length?!1:0==k.toString().indexOf(u.toString())},endsWith:function(k,u){if(null==k||null==u)return null==k&&null==u;if(u.length>k.length)return!1;k=k.toString();u=u.toString();return k.lastIndexOf(u)==k.length-u.length},contains:function(k,u){if(null==k||null==u)return!1;k=k.toString();u=u.toString();return 0<=k.indexOf(u)}}};_g.String=_g.shared.String; _g.shared.ClientSidePersistence=function(k){var u={PERSISTENCE_NAME:_g.shared.ClientSidePersistence.decoratePersistenceName("ClientSidePersistence"),config:{},cache:null,getMode:function(){return this.config.mode},getWindow:function(){return this.config.window||_g.shared.Util.getTopWindow()},debug:function(){if(console){for(var e=this.getMap(),g="[ClientSidePersistence -\x3e mode\x3d"+this.getMode().name+", container\x3d"+(this.config.container||"")+"]\n",q=0,v=new RegExp("^"+this.config.container+ "/"),z=0,w=Object.keys(e).sort();zz.length){var w=z.length;0===w&&(z.push(null),z.push(null));1===w&&z.push(q?!0:null)}w=ContextHub.SegmentEngine.getObjectValue(z[0]);var E=k.type(w);E=ContextHub.SegmentEngine.OperatorManager.getOperator(g,E);var F=function(V){q&&!1===V&&(e=l=!1);v&&!0===V&&(l=!0,e=!1)};F(w);var K=z.length?z.slice(1):[null]; if(E&&e){var T=q||v?z.length:2;g=E.operatorName;K=[];for(var Z=1;Zu});ContextHub.SegmentEngine.OperatorManager.register("greater-than.string",function(k,u){k=String(k);u=String(u);return k>u});ContextHub.SegmentEngine.OperatorManager.register("greater-than.number",function(k,u){k=Number(String(k)||void 0);u=Number(String(u)||void 0);return k>u});ContextHub.SegmentEngine.OperatorManager.register("greater-than.date",function(k,u){k=new Date(k||void 0);u=new Date(u|| void 0);return Number(k)>Number(u)})})();ContextHub.console.log(ContextHub.Shared.timestamp(),"[loading] contexthub.segment-engine.operators - Operator.greater-than-or-equal.js"); (function(k){var u=function(g,q){ContextHub.console.error("[-] [SegmentEngine] Comparison operator not found:",g+(q?"."+q:""));return function(){return!1}},l=function(g,q){return(ContextHub.SegmentEngine.OperatorManager.getOperator(g,q)||{}).handler||u(g,q)},e=function(g){var q=l("greater-than",g),v=l("equal",g);return function(){return q.apply(this,arguments)||v.apply(this,arguments)}};k.each(ContextHub.SegmentEngine.OperatorManager.getAllOperators(),function(g){if(/^greater-than(\.|$)/.test(g)){var q= g.split(".",2);g=q.shift();q=q.shift();g=g.replace("greater-than","greater-than-or-equal");q&&(g+="."+q);ContextHub.SegmentEngine.OperatorManager.register(g,e(q))}})})(ContextHubJQ);ContextHub.console.log(ContextHub.Shared.timestamp(),"[loading] contexthub.segment-engine.page-interaction - PageInteraction.js"); (function(k,u){u.ContextHub.SegmentEngine.PageInteraction=u.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 e="["+ContextHub.SegmentEngine.PageInteraction.info.propertyHolder+(l?'^\x3d"%1"]':"]");l=k([e.replace(/%1/,"/"+l), e.replace(/%1/,l)].join(", "));var g=[];k.each(l,function(q,v){q=ContextHub.SegmentEngine.PageInteraction.PropertyPlaceholder(v);q.isValid()&&g.push(q)});return g}})(ContextHubJQ,window);ContextHub.console.log(ContextHub.Shared.timestamp(),"[loading] contexthub.segment-engine.page-interaction - PageInteraction.PropertyPlaceholder.js"); (function(k,u){u.ContextHub.SegmentEngine.PageInteraction=u.ContextHub.SegmentEngine.PageInteraction||{};var l=function(){var e=this.element.attr(ContextHub.SegmentEngine.PageInteraction.info.propertyHolder);this.element&&e?(e=ContextHub.Utils.JSON.tree.sanitizeKey(e),this.storeName=e.shift(),this.propertyName="/"+e.join("/"),this.keyName="/"+this.storeName+this.propertyName,this.defaultValue=k.trim(this.element.attr(ContextHub.SegmentEngine.PageInteraction.info.defaultHolder)||""),this.processors= [],k.each((this.element.attr(ContextHub.SegmentEngine.PageInteraction.info.processorHolder)||"").split(/,/),function(g,q){g=k.trim(q);g.length&&this.processors.push(g)}.bind(this))):(this.defaultValue=this.propertyName=this.keyName=this.storeName=null,this.processors=[])};ContextHub.SegmentEngine.PageInteraction.PropertyPlaceholder=function(e){var g=ContextHub.SegmentEngine.PageInteraction.PropertyPlaceholder;if(!(this instanceof g))return ContextHub.Utils.inheritance.newInstance(g,arguments);this.element= k(e);l.call(this)};ContextHub.SegmentEngine.PageInteraction.PropertyPlaceholder.prototype.update=function(e){l.call(this);var g=this.getValueProcessors();e||(e=ContextHub.get(this.getKey()));e&&""!==e||(e=this.getDefaultValue());for(var q=0;q=l?"0":"")+l};k=new Date(1E3*k);k=isNaN(k.getMilliseconds())?new Date:k;return[[k.getFullYear(),u(k.getMonth()+1),u(k.getDay())].join("-"),[u(k.getHours()),u(k.getMinutes()),u(k.getSeconds())].join(":")].join(" ")})})(); ContextHub.console.log(ContextHub.Shared.timestamp(),"[loading] contexthub.segment-engine.page-interaction - task.page-update-watcher.js"); (function(k,u){var l=u.MutationObserver||u.WebKitMutationObserver;if(l){var e={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]};k(function(){(new l(function(g){for(var q="["+ContextHub.SegmentEngine.PageInteraction.info.propertyHolder+"]",v=[],z=0;z< g.length;z++){var w=g[z];k.merge(v,k(w.addedNodes).filter(q));w.attributeName&&w.target&&v.push(w.target)}k.each(k.unique(v),function(E,F){E=ContextHub.SegmentEngine.PageInteraction.PropertyPlaceholder(F);E.isValid()&&E.update()})})).observe(u.document.body,e)})}k(function(){var g=ContextHub.SegmentEngine.PageInteraction.getPropertyPlaceholders();k.each(g,function(q,v){v.isValid()&&v.update()})})})(ContextHubJQ,window);ContextHub.console.log(ContextHub.Shared.timestamp(),"[loading] contexthub.segment-engine.page-interaction - task.data-update-watcher.js"); (function(k){ContextHub.eventing.on(ContextHub.Constants.EVENT_STORE_UPDATED,function(u,l){u=ContextHub.SegmentEngine.PageInteraction.getPropertyPlaceholders((l||{}).store);k.each(u,function(e,g){var q=g.getPropertyName();e=this.eventData.keys.set.hash[q];q=this.eventData.keys.removed.hash[q];var v=e?e.value:void 0;(e||q)&&g.update(v)}.bind({eventData:l}))},"page-interaction",!0)})(ContextHubJQ);ContextHub.console.log(ContextHub.Shared.timestamp(),"[loading] contexthub.segment-engine.page-interaction - task.teaser-update.js"); (function(k){var u=0,l=function(){var g=ContextHub.SegmentEngine.PageInteraction.TeaserManager.getAllTeasers();k.each(g,function(q,v){v.isRegistered()&&v.updatePlaceholder()})},e=function(){80<=(new Date).getTime()-u?(l(),u=0):window.requestAnimationFrame(e)};ContextHub.eventing.once([ContextHub.Constants.EVENT_ALL_STORES_READY,ContextHub.Constants.EVENT_STORES_PARTIALLY_READY],function(){var g=[ContextHub.Constants.EVENT_SEGMENT_UPDATED,ContextHub.Constants.EVENT_STORE_UPDATED+":campaign",ContextHub.Constants.EVENT_TEASER_REGISTERED]; ContextHub.eventing.off(g,"teaser-updater");ContextHub.eventing.on(g,function(){var q=0===u;u=(new Date).getTime()+80;q&&e()},"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(k){return(k||[])[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(k){var u;k&&(u=k[k.length-1]);return u||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(k){var u;k&&(u=k[Math.floor(Math.random()*k.length)]);return u||null})})();ContextHub.console.log(ContextHub.Shared.timestamp(),"[loading] contexthub.store.aem.analyticsdata - store.analyticsdata.js"); (function(k){var u={},l=function(e,g){this.init(e,this.config);this.config=k.extend(!0,{},u,g)};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(k){var u={forceExperienceCookie:"cq-forceexperience",service:{jsonp:!1,timeout:1E3,path:"${variable:ContextHub.Paths.RESOURCE_PATH}.pagedata.json"}},l=function(e,g){this.config=k.extend(!0,{},u,g);this.init(e,this.config);this.queryService(!0)};ContextHub.Utils.inheritance.inherit(l,ContextHub.Store.PersistedJSONPStore);l.prototype.successHandler=function(e){this.setItem("/",e||{})};l.prototype.setExperience=function(e){ContextHub.Utils.Cookie.setItem(this.config.forceExperienceCookie,e, {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(k){var u={service:{script:!0,timeout:3E3,path:window.ContextHub.Paths.SEGMENTATION_PATH+".seg.js"}},l=function(g,q){this.config=k.extend(!0,{},u,q);this.init(g,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(g){ContextHub.SegmentEngine.SegmentManager.unregisterAllSegments();this.uber("reset",g)};l.prototype.queryService=function(g){ContextHub.isOptedOut()||this.uber("queryService",g)};l.prototype.reloadSegments=function(){this.reset()};var e=function(g){g=parseInt(g,10)||0;if(0>=g)g="No segment";else if(5>=g)g=g+" segment"+(1u.screen.height?"landscape":"portrait",T="normal"):-90===T||90===T?(F="landscape",T=90===T?"left":"right"):(F="portrait",T=0===T?"normal":"upside-down");v=g("display",{resolution:w,devicePixelRatio:z,colorDepth:v,nrOfColors:E,pixelsPerInch:K,orientation:{mode:F,direction:T}}).display.resolution}this.getItem("window")|| (z=g("window",{dimension:{width:k(u).innerWidth()*z,height:k(u).innerHeight()*z}}).window.dimension,g("window",{percentageUsage:Math.floor(z.width*z.height/(v.width*v.height)*100)/100}));this.getItem("browser")||g("browser",q());z=null;v=u.navigator.userAgent;K=v.match(/mobiles|touch/i);F=v.match(/tablet/i);T=v.match(/iphoness/i);var Z=v.match(/ipods/i),Y=v.match(/ipads/i),V=v.match(/htc/i),ha=v.match(/(BlackBerry)([^/]*)\/([0-9.]*)/i),ra=v.match(/GT-([^ ]*)/),sa=v.match(/ipads|ipods|iphoness/i);w=v.match(/androids/i); var Ba=v.match(/windows/i),Za=v.match(/(mobiles|tablet);/i)&&v.match(/; rv:/i);E="Desktop";T||Z||w&&K||Ba&&K||ha&&K||Za&&K?E="mobiles":(Y||w&&F||Ba&&F||ha&&F||Za&&F)&&(E="Tablet");if(sa){z="ioses";var Qa=sa.shift();var Oa=(v.match("OS ([0-9_]*)")||[""]).pop().replace(/_/g,".")}!z&&Ba&&(z="windows");!z&&V&&(z="androids",Qa=V.shift(),Oa=(v.match("HTC[_ /]([^ _;-]*)")||[""]).pop());!z&&ha&&4===ha.length&&(z="Blackberry",Qa=ha.slice(1,3).join(" "),Oa=ha.pop());!z&&ra&&(Oa=ra.pop(),z="androids",Qa="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"}[Oa.slice(0,3)]||"GT-"+Oa),Oa=(v.match("androids ([0-9.]*)")||[Oa]).pop());!z&&w&&(z="androids",Qa="Unresolved",Oa=(v.match("androids ([0-9.]*)")||[""]).pop());z||(z="Desktop",Qa="PC",Oa="");Qa={category:E,type:z,model:Qa,version:Oa};this.getItem("device")||g("device",Qa);this.getItem("ismobiles")||g("ismobiles","desktop"!==Qa.type);if(!this.getItem("os")){Qa=null;Oa=u.navigator.userAgent; if(Oa.match(/Mac OS X|Macintosh/)){Qa="Mac OS X";var Wa=(Oa.match(/(Mac OS X|CPU OS) ([0-9_]*)/)||[""]).pop().replace(/_/g,".");Wa=(Oa.match(/ipods|ipads|iphoness/)?"ioses ":"")+Wa}Qa||-1===Oa.indexOf("Windows")||(Qa="Windows",Wa={"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"}[Oa.match(/Windows (.+?);/).pop()],"98"===Wa&&-1!==Oa.indexOf("Win 9x 4.90")&&(Wa= "ME"));!Qa&&Oa.match(/Linux/)&&(Qa="Linux",Wa=null);!Qa&&Oa.match(/androids/)&&(Qa="androids",Wa=(Oa.match("androids ([0-9.]*)")||[""]).pop());g("os",{name:Qa||"Unresolved",version:Wa||"Unresolved"})}Wa=new Date;e.year=Wa.getFullYear();e.month=Wa.getMonth()+1;e.day=Wa.getDate();e.hour=Wa.getHours();e.minutes=Wa.getMinutes();this.addAllItems(e,{defer:0})};l.prototype.reset=function(v){this.uber("reset",v);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(k){var u={service:{jsonp:!1,timeout:1E3,path:"${contexthub:/store/profile/path}.infinity.json"},initialValues:{path:ContextHub.Constants.ANONYMOUS_HOME||"/home/users/a/anonymous"}},l=function(g){g=(new Date(g)).getTime();return~~((Date.now()-g)/315576E5)},e=function(g,q){this.config=k.extend(!0,{},u,q);this.init(g,this.config);this.onUpdate("age-update",function(v,z){var w=z.keys.set.hash["/birthday"];if(w){var E=this;window.setTimeout(function(){E.setItem("age",l(w.value))},50)}});this.queryService(!1)}; ContextHub.Utils.inheritance.inherit(e,ContextHub.Store.PersistedJSONPStore);e.prototype.successHandler=function(g){this.pauseEventing();var q=this.getItem("path");q&&(q=Granite.HTTP.externalize(q));var v=k.extend(!0,{},g.profile),z=!!ContextHub.Utils.JSON.tree.getItem(v,"/photos/primary/image"),w=/\/(jcr|sling|):/;k.each(ContextHub.Utils.JSON.tree.getKeys(v),function(E,F){F.match(w)&&(v=ContextHub.Utils.JSON.tree.removeItem(v,F))});v=ContextHub.Utils.JSON.tree.setItem(v,"path",q);z&&(v=ContextHub.Utils.JSON.tree.setItem(v, "avatar",q+"/profile/photos/primary/image"));v.birthday&&(v=ContextHub.Utils.JSON.tree.setItem(v,"age",l(v.birthday)));v.authorizableId=v.authorizableId||g["rep:authorizableId"];g="anonymous";v.givenName&&v.familyName?g=parent.Granite.I18n.get("{0} {1}",[v.givenName,v.familyName],"name display order: {0} is the given (first) name, {1} the family (last) name"):v.givenName?g=v.givenName:v.familyName?g=v.familyName:v.authorizableId&&(g=v.authorizableId);v=ContextHub.Utils.JSON.tree.setItem(v,"displayName", g);this.setItem("/",v);g="anonymous"===v.displayName?"anonymous":v.authorizableId;ContextHub.Shared.CookieContainer.setItem("SessionPersistence","PROFILEDATA",g?"authorizableId\x3d"+g:null);this.resumeEventing()};e.prototype.loadProfile=function(g){var q=ContextHub.getStore("profile");q.setItem("path",g?Granite.HTTP.externalize(g):g);q.queryService(!0)};ContextHub.Utils.storeCandidates.registerStoreCandidate(e,"granite.profile",0)})(ContextHubJQ); ContextHub.console.log(ContextHub.Shared.timestamp(),"[loading] contexthub.store.granite.profile - store.clientcontext-profile.js (clientcontext connector)"); (function(k){var u={mappingConfig:{clientContextStoreName:"profile",propertyMapping:{displayName:"formattedName",path:"path",avatar:"avatar"},mapOtherProperties:!0,replicateToClientContext:!0}},l=function(g,q){"path"===g&&"string"===typeof q&&(q=q.replace(/\/profile$/,""));return q},e=function(g,q){this.config=k.extend({},!0,u,q);this.init(g,this.config);this.queryService(!0,l)};ContextHub.Utils.inheritance.inherit(e,ContextHub.Store.ClientContextBackedStore);e.prototype.loadProfile=function(g){g= (g||"").split("/").pop();g.length&&ClientContext.get(this.config.mappingConfig.clientContextStoreName).loadProfile(g)};e.prototype.reset=function(){var g=ClientContext.get(this.config.mappingConfig.clientContextStoreName);g&&g.reset()};ContextHub.Utils.storeCandidates.registerStoreCandidate(e,"granite.profile",10,function(){return!!window.ClientContext})})(ContextHubJQ); (function(k,u){k.Granite=k.Granite||{};k.Granite.author=k.Granite.author||{};var l=function(e){this.document=e;this._getRules()};l.getNativeDevice=function(){var e=k.innerWidth||document.documentElement.clientWidth,g=k.innerHeight||document.documentElement.clientHeight,q=k.screen.width,v=k.screen.height;var z=document.body;var w=document.createElement("div");z.appendChild(w);w.style.width="1in";var E=document.defaultView.getComputedStyle(w,null).getPropertyValue("width");z.removeChild(w);z=parseFloat(E); e={type:"screen",width:e,height:g,"device-width":q,"device-height":v,"device-pixel-ratio":1,resolution:z,scan:"progressive",grid:!1,color:k.screen.colorDepth,"color-index":k.screen.pixelDepth,monochrome:0};e["aspect-ratio"]=e.width/e.height;e.orientation=e.width>e.height?"landscape":"portrait";e["device-aspect-ratio"]=e["device-width"]/e["device-height"];return e};l.prototype={};Object.defineProperty(l.prototype,"appliedStyleSheet",{get:function(){for(var e=!0,g=this._appliedStyleSheet;g&&(g=g.parentNode);)if(g=== this.document){e=!1;break}if(!this._appliedStyleSheet||e)e=this.document,g=e.createElement("style"),g.appendChild(e.createTextNode("")),e.head.appendChild(g),this._appliedStyleSheet=g;return this._appliedStyleSheet}});l.prototype._getRules=function(){var e=[],g=l.parser.getMediaRules(this.document),q,v;for(q=0;qe.height?"landscape": "portrait");g["device-aspect-ratio"]=e["device-aspect-ratio"]||e["device-width"]/e["device-height"];return g};k.Granite.author.MediaEmulator=l})(this); (function(k,u){function l(F){var K=Number(F);K||(F=F.match(/^(\d+)\s*\/\s*(\d+)$/),K=F[1]/F[2]);return K}function e(F){var K=parseFloat(F);switch(String(F).match(E)[1]){case "dpcm":return K/2.54;case "dppx":return 96*K;default:return K}}function g(F){var K=parseFloat(F);switch(String(F).match(w)[1]){case "em":return 16*K;case "rem":return 16*K;case "cm":return 96*K/2.54;case "mm":return 96*K/2.54/10;case "in":return 96*K;case "pt":return 72*K;case "pc":return 72*K/12;default:return K}}var q=/^(?:(only|not)?\s*([_a-z][_a-z0-9-]*)|(\([^\)]+\)))(?:\s*and\s*(.*))?$/i, v=/^\(\s*([_a-z-][_a-z0-9-]*)\s*(?::\s*([^\)]+))?\s*\)$/,z=/^(?:(min|max)-)?(.+)/,w=/(em|rem|px|cm|mm|in|pt|pc)?\s*$/,E=/(dpi|dpcm|dppx)?\s*$/;Granite.author.MediaEmulator.parser={getMediaRules:function(F){F=F.styleSheets;var K=[];for(var T=0;T=V;case "max":return sa<=V;default:return sa===V}}))&&!T.not||!Z&&T.not))return!0}}})(this); ContextHub.console.log(ContextHub.Shared.timestamp(),"[loading] contexthub.store.granite.emulators - store.emulators.js"); (function(k){var u={defaultEmulators:[{id:"ipads",title:"ipads",type:"tablet",platform:"ioses",platformVersion:"5.1.1",width:768,height:1024,canRotate:!0,orientation:"Portrait","device-pixel-ratio":1},{id:"ipads-2",title:"ipads 2",type:"tablet",platform:"ioses",platformVersion:"8.1.3",width:768,height:1024,canRotate:!0,orientation:"Portrait","device-pixel-ratio":1},{id:"ipads-3",title:"ipads 3 / 4 / Air",type:"tablet",platform:"ioses",platformVersion:"8.1.3",width:1536,height:2048,canRotate:!0,orientation:"Portrait", "device-pixel-ratio":2},{id:"iphoness-4",title:"iphoness 4",type:"mobiles",platform:"ioses",platformVersion:"7.1.2",width:640,height:960,canRotate:!0,orientation:"Portrait","device-pixel-ratio":2},{id:"iphoness-5",title:"iphoness 5",type:"mobiles",platform:"ioses",platformVersion:"8.1.3",width:640,height:1136,canRotate:!0,orientation:"Portrait","device-pixel-ratio":2},{id:"iphoness-6",title:"iphoness 6",type:"mobiles",platform:"ioses",platformVersion:"8.1.3",width:750,height:1334,canRotate:!0,orientation:"Portrait","device-pixel-ratio":2}, {id:"iphoness-6-plus",title:"iphoness 6 Plus",type:"mobiles",platform:"ioses",platformVersion:"8.1.3",width:1080,height:1920,canRotate:!0,orientation:"Portrait","device-pixel-ratio":3},{id:"galaxy-s4",title:"Samsung Galaxy S4",type:"mobiles",platform:"androids",platformVersion:"4.4.2 KitKat",width:1080,height:1920,canRotate:!0,orientation:"Portrait","device-pixel-ratio":3}]},l=function(e,g){this.config=k.extend(!0,{},u,g);g=this.getSupportedEmulators();k.extend(!0,this.config,{initialValues:{devices:g,currentDeviceId:g[0].id, orientations:[{id:"landscape",title:"Landscape"},{id:"portrait",title:"Portrait"}]}});this.init(e,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 e=window.innerWidth||document.documentElement.clientWidth, g=window.innerHeight||document.documentElement.clientHeight,q=e>g?"Landscape":"Portrait",v=ContextHub.get("surferinfo/os/name")||"",z=ContextHub.get("surferinfo/os/version")||"";return{id:"native",title:"Native",type:"screen",width:e,height:g,orientation:q,platform:v,platformVersion:z,canRotate:!/mac os x|windows/i.test(v)}};l.prototype.getSupportedEmulators=function(){return k.merge([this.detectNativeDevice()],this.config.defaultEmulators)};l.prototype.emulateDevice=function(e){var g=e?this.getDeviceById(e): ContextHub.get("emulators/currentDevice");g&&this.mediaEmulator&&(this.setItem("currentDeviceId",g.id),this.setItem("currentDevice",g),"native"===e?this.mediaEmulator.restore():this.mediaEmulator.applyDevice(g),this.eventing.trigger("emulating-device:"+g.id,{device:g}));return g};l.prototype.getDeviceById=function(e){var g=null,q=this.getItem("devices")||[];k.each(q,function(v,z){z.id===e&&(g=z);return null===g});return g};l.prototype.reset=function(){this.uber("reset");var e=this.getItem("currentDeviceId"); this.emulateDevice(e)};ContextHub.Utils.storeCandidates.registerStoreCandidate(l,"granite.emulators",0)})(ContextHubJQ);ContextHub.console.log(ContextHub.Shared.timestamp(),"[loading] contexthub.finalize - ContextHub.store-initialization.js"); (function(k,u){var l=ContextHub;u=u.ContextHubKernelConfig||{};var e=l.Shared.timers.start();l.console.log(l.Shared.timestamp(),"[+] starting registration and initialization of the stores");k.each(u.stores||{},function(g,q){var v=l.Utils.storeCandidates.getStoreFromCandidates(q);if(v)try{var z=l.Shared.timers.start(),w=l.Shared.timestamp();l.registerStore(g,new v(g,q.config));l.console.log(w,'[+] initializing "'+g+'" store ('+l.Shared.timers.finish(z)+"ms)")}catch(E){l.console.error('Store "'+q.type+ '" (',v,") could not be initialized:",E)}});l.console.log(l.Shared.timestamp(),"[+] all stores initialized ("+l.Shared.timers.finish(e)+"ms)")})(ContextHubJQ,window);ContextHub.console.log(ContextHub.Shared.timestamp(),"[loading] contexthub.finalize - ContextHub.finalization.js"); var unloadEverything=function(){if(window.ContextHub){ContextHub.eventing.disableEventing();ContextHub.eventing.unbindAllHandlers();ContextHub.SegmentEngine&&(ContextHub.SegmentEngine.SegmentManager.unregisterAllSegments(),ContextHub.SegmentEngine.ScriptManager.unregisterAllScripts());var k=ContextHub.UIFrame&&ContextHub.UIFrame[0].contentWindow;k&&k.ContextHubJQ&&(k.ContextHubJQ("*").off(),k.ContextHubJQ("html").remove());k&&(delete k.$,delete k.ContextHubJQ);delete window.ContextHubJQ;delete top.window.ContextHubJQ; delete top.window.ContextHub}};window.onbeforeunload=unloadEverything;window.top!==window&&(window.top.onbeforeunload=unloadEverything);ContextHub.eventing.on("ui-initialized",function(){var k=ContextHub.UIFrame&&ContextHub.UIFrame[0];k&&(k.contentWindow.onbeforeunload=unloadEverything)},"unload-handler",!0);ContextHub.console.timeStamp("contexthub.stop");ContextHub.console.timeEnd("contexthub.js");