/*
 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},abandonedproducts:{type:"commerce.abandonedproducts",required:!0},recentlyviewed:{type:"commerce.recentlyviewed",required:!0},cart:{type:"commerce.cart",required:!0},orderhistory:{type:"commerce.orderhistory",required:!0},relatedproducts:{type:"commerce.relatedproducts",required:!0},
smartlists:{type:"commerce.smartlists",required:!0},seeddata:{type:"campaign.seeddata",required:!1},metadata:{type:"campaign.metadata",required:!1},geolocation:{type:"contexthub.geolocation",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(l,w){"object"===typeof module&&"object"===typeof module.exports?module.exports=l.document?w(l,!0):function(k){if(!k.document)throw Error("jQuery requires a window with a document");return w(k)}:w(l)})("undefined"!==typeof window?window:this,function(l,w){function k(b,e,n){n=n||Ha;var q,z=n.createElement("script");z.text=b;if(e)for(q in dd)(b=e[q]||e.getAttribute&&e.getAttribute(q))&&z.setAttribute(q,b);n.head.appendChild(z).parentNode.removeChild(z)}function f(b){return null==b?b+"":"object"===
typeof b||"function"===typeof b?h[ed.call(b)]||"object":typeof b}function d(b){var e=!!b&&"length"in b&&b.length,n=f(b);return za(b)||Ub(b)?!1:"array"===n||0===e||"number"===typeof e&&0<e&&e-1 in b}function p(b,e){return b.nodeName&&b.nodeName.toLowerCase()===e.toLowerCase()}function r(b,e,n){return za(e)?u.grep(b,function(q,z){return!!e.call(q,z,q)!==n}):e.nodeType?u.grep(b,function(q){return q===e!==n}):"string"!==typeof e?u.grep(b,function(q){return-1<ja.call(e,q)!==n}):u.filter(e,b,n)}function v(b,
e){for(;(b=b[e])&&1!==b.nodeType;);return b}function t(b){var e={};u.each(b.match(Fb)||[],function(n,q){e[q]=!0});return e}function D(b){return b}function E(b){throw b;}function K(b,e,n,q){var z;try{b&&za(z=b.promise)?z.call(b).done(e).fail(n):b&&za(z=b.then)?z.call(b,e,n):e.apply(void 0,[b].slice(q))}catch(B){n.apply(void 0,[B])}}function T(){Ha.removeEventListener("DOMContentLoaded",T);l.removeEventListener("load",T);u.ready()}function Z(b,e){return e.toUpperCase()}function Y(b){return b.replace(mc,
"ms-").replace(Nb,Z)}function V(){this.expando=u.expando+V.uid++}function ha(b,e,n){if(void 0===n&&1===b.nodeType)if(n="data-"+e.replace(sb,"-$\x26").toLowerCase(),n=b.getAttribute(n),"string"===typeof n){try{var q=n;n="true"===q?!0:"false"===q?!1:"null"===q?null:q===+q+""?+q:Nc.test(q)?JSON.parse(q):q}catch(z){}kb.set(b,e,n)}else n=void 0;return n}function ra(b,e,n,q){var z,B=20,I=q?function(){return q.cur()}:function(){return u.css(b,e,"")},Q=I(),L=n&&n[3]||(u.cssNumber[e]?"":"px"),a=b.nodeType&&
(u.cssNumber[e]||"px"!==L&&+Q)&&gc.exec(u.css(b,e));if(a&&a[3]!==L){Q/=2;L=L||a[3];for(a=+Q||1;B--;)u.style(b,e,a+L),0>=(1-z)*(1-(z=I()/Q||.5))&&(B=0),a/=z;a*=2;u.style(b,e,a+L);n=n||[]}if(n){a=+a||+Q||0;var c=n[1]?a+(n[1]+1)*n[2]:+n[2];q&&(q.unit=L,q.start=a,q.end=c)}return c}function sa(b,e){for(var n,q,z=[],B=0,I=b.length;B<I;B++)if(q=b[B],q.style)if(n=q.style.display,e){if("none"===n&&(z[B]=wa.get(q,"display")||null,z[B]||(q.style.display="")),""===q.style.display&&nc(q)){n=B;var Q=q.ownerDocument;
q=q.nodeName;var L=fd[q];L||(Q=Q.body.appendChild(Q.createElement(q)),L=u.css(Q,"display"),Q.parentNode.removeChild(Q),"none"===L&&(L="block"),fd[q]=L);Q=L;z[n]=Q}}else"none"!==n&&(z[B]="none",wa.set(q,"display",n));for(B=0;B<I;B++)null!=z[B]&&(b[B].style.display=z[B]);return b}function Ba(b,e){var n="undefined"!==typeof b.getElementsByTagName?b.getElementsByTagName(e||"*"):"undefined"!==typeof b.querySelectorAll?b.querySelectorAll(e||"*"):[];return void 0===e||e&&p(b,e)?u.merge([b],n):n}function Za(b,
e){for(var n=0,q=b.length;n<q;n++)wa.set(b[n],"globalEval",!e||wa.get(e[n],"globalEval"))}function Qa(b,e,n,q,z){for(var B,I,Q,L=e.createDocumentFragment(),a=[],c=0,g=b.length;c<g;c++)if((B=b[c])||0===B)if("object"===f(B))u.merge(a,B.nodeType?[B]:B);else if(Ed.test(B)){I=I||L.appendChild(e.createElement("div"));Q=(gd.exec(B)||["",""])[1].toLowerCase();Q=tb[Q]||tb._default;I.innerHTML=Q[1]+u.htmlPrefilter(B)+Q[2];for(Q=Q[0];Q--;)I=I.lastChild;u.merge(a,I.childNodes);I=L.firstChild;I.textContent=""}else a.push(e.createTextNode(B));
L.textContent="";for(c=0;B=a[c++];)if(q&&-1<u.inArray(B,q))z&&z.push(B);else if(b=hc(B),I=Ba(L.appendChild(B),"script"),b&&Za(I),n)for(Q=0;B=I[Q++];)hd.test(B.type||"")&&n.push(B);return L}function Oa(){return!0}function Wa(){return!1}function xc(b,e){a:{try{var n=Ha.activeElement;break a}catch(q){}n=void 0}return b===n===("focus"===e)}function ia(b,e,n,q,z,B){var I;if("object"===typeof e){"string"!==typeof n&&(q=q||n,n=void 0);for(I in e)ia(b,I,n,q,e[I],B);return b}null==q&&null==z?(z=n,q=n=void 0):
null==z&&("string"===typeof n?(z=q,q=void 0):(z=q,q=n,n=void 0));if(!1===z)z=Wa;else if(!z)return b;if(1===B){var Q=z;z=function(L){u().off(L);return Q.apply(this,arguments)};z.guid=Q.guid||(Q.guid=u.guid++)}return b.each(function(){u.event.add(this,e,z,q,n)})}function ma(b,e,n){n?(wa.set(b,e,!1),u.event.add(b,e,{namespace:!1,handler:function(q){var z=wa.get(this,e);if(q.isTrigger&1&&this[e])if(z.length)(u.event.special[e]||{}).delegateType&&q.stopPropagation();else{z=Ab.call(arguments);wa.set(this,
e,z);var B=n(this,e);this[e]();var I=wa.get(this,e);z!==I||B?wa.set(this,e,!1):I={};if(z!==I)return q.stopImmediatePropagation(),q.preventDefault(),I.value}else z.length&&(wa.set(this,e,{value:u.event.trigger(u.extend(z[0],u.Event.prototype),z.slice(1),this)}),q.stopImmediatePropagation())}})):void 0===wa.get(b,e)&&u.event.add(b,e,Oa)}function Ca(b,e){return p(b,"table")&&p(11!==e.nodeType?e:e.firstChild,"tr")?u(b).children("tbody")[0]||b:b}function Ta(b){b.type=(null!==b.getAttribute("type"))+"/"+
b.type;return b}function Da(b){"true/"===(b.type||"").slice(0,5)?b.type=b.type.slice(5):b.removeAttribute("type");return b}function Ja(b,e){var n,q,z;if(1===e.nodeType){if(wa.hasData(b)){var B=wa.get(b);if(z=B.events)for(q in wa.remove(e,"handle events"),z)for(B=0,n=z[q].length;B<n;B++)u.event.add(e,q,z[q][B])}kb.hasData(b)&&(b=kb.access(b),b=u.extend({},b),kb.set(e,b))}}function Ra(b,e,n,q){e=id(e);var z,B=0,I=b.length,Q=I-1,L=e[0],a=za(L);if(a||1<I&&"string"===typeof L&&!Ka.checkClone&&yc.test(L))return b.each(function(x){var A=
b.eq(x);a&&(e[0]=L.call(this,x,A.html()));Ra(A,e,n,q)});if(I){var c=Qa(e,b[0].ownerDocument,!1,b,q);var g=c.firstChild;1===c.childNodes.length&&(c=g);if(g||q){g=u.map(Ba(c,"script"),Ta);for(z=g.length;B<I;B++){var m=c;B!==Q&&(m=u.clone(m,!0,!0),z&&u.merge(g,Ba(m,"script")));n.call(b[B],m,B)}if(z)for(c=g[g.length-1].ownerDocument,u.map(g,Da),B=0;B<z;B++)m=g[B],hd.test(m.type||"")&&!wa.access(m,"globalEval")&&u.contains(c,m)&&(m.src&&"module"!==(m.type||"").toLowerCase()?u._evalUrl&&!m.noModule&&u._evalUrl(m.src,
{nonce:m.nonce||m.getAttribute("nonce")},c):k(m.textContent.replace(Oc,""),m,c))}}return b}function ab(b,e,n){for(var q=e?u.filter(e,b):b,z=0;null!=(e=q[z]);z++)n||1!==e.nodeType||u.cleanData(Ba(e)),e.parentNode&&(n&&hc(e)&&Za(Ba(e,"script")),e.parentNode.removeChild(e));return b}function pb(b,e,n){var q=b.style;if(n=n||zc(b)){var z=n.getPropertyValue(e)||n[e];""!==z||hc(b)||(z=u.style(b,e));if(!Ka.pixelBoxStyles()&&Ac.test(z)&&Vb.test(e)){b=q.width;e=q.minWidth;var B=q.maxWidth;q.minWidth=q.maxWidth=
q.width=z;z=n.width;q.width=b;q.minWidth=e;q.maxWidth=B}}return void 0!==z?z+"":z}function qb(b,e){return{get:function(){if(b())delete this.get;else return(this.get=e).apply(this,arguments)}}}function hb(b){var e=u.cssProps[b]||jd[b];if(e)return e;if(b in kd)return b;a:{e=b;for(var n=e[0].toUpperCase()+e.slice(1),q=Bc.length;q--;)if(e=Bc[q]+n,e in kd)break a;e=void 0}return jd[b]=e||b}function Xa(b,e,n){return(b=gc.exec(e))?Math.max(0,b[2]-(n||0))+(b[3]||"px"):e}function ub(b,e,n,q,z,B){var I="width"===
e?1:0,Q=0,L=0;if(n===(q?"border":"content"))return 0;for(;4>I;I+=2)"margin"===n&&(L+=u.css(b,n+Bb[I],!0,z)),q?("content"===n&&(L-=u.css(b,"padding"+Bb[I],!0,z)),"margin"!==n&&(L-=u.css(b,"border"+Bb[I]+"Width",!0,z))):(L+=u.css(b,"padding"+Bb[I],!0,z),"padding"!==n?L+=u.css(b,"border"+Bb[I]+"Width",!0,z):Q+=u.css(b,"border"+Bb[I]+"Width",!0,z));!q&&0<=B&&(L+=Math.max(0,Math.ceil(b["offset"+e[0].toUpperCase()+e.slice(1)]-B-L-Q-.5))||0);return L}function eb(b,e,n){var q=zc(b),z=(!Ka.boxSizingReliable()||
n)&&"border-box"===u.css(b,"boxSizing",!1,q),B=z,I=pb(b,e,q),Q="offset"+e[0].toUpperCase()+e.slice(1);if(Ac.test(I)){if(!n)return I;I="auto"}(!Ka.boxSizingReliable()&&z||!Ka.reliableTrDimensions()&&p(b,"tr")||"auto"===I||!parseFloat(I)&&"inline"===u.css(b,"display",!1,q))&&b.getClientRects().length&&(z="border-box"===u.css(b,"boxSizing",!1,q),(B=Q in b)&&(I=b[Q]));I=parseFloat(I)||0;return I+ub(b,e,n||(z?"border":"content"),B,q,I)+"px"}function ib(b,e,n,q,z){return new ib.prototype.init(b,e,n,q,z)}
function Ob(){Hb&&(!1===Ha.hidden&&l.requestAnimationFrame?l.requestAnimationFrame(Ob):l.setTimeout(Ob,u.fx.interval),u.fx.tick())}function lb(){l.setTimeout(function(){Wb=void 0});return Wb=Date.now()}function vb(b,e){var n=0,q={height:b};for(e=e?1:0;4>n;n+=2-e){var z=Bb[n];q["margin"+z]=q["padding"+z]=b}e&&(q.opacity=q.width=b);return q}function Pc(b,e,n){for(var q,z=(rb.tweeners[e]||[]).concat(rb.tweeners["*"]),B=0,I=z.length;B<I;B++)if(q=z[B].call(n,e,b))return q}function ld(b,e){var n,q;for(n in b){var z=
Y(n);var B=e[z];var I=b[n];Array.isArray(I)&&(B=I[1],I=b[n]=I[0]);n!==z&&(b[z]=I,delete b[n]);if((q=u.cssHooks[z])&&"expand"in q)for(n in I=q.expand(I),delete b[z],I)n in b||(b[n]=I[n],e[n]=B);else e[z]=B}}function rb(b,e,n){var q,z=0,B=rb.prefilters.length,I=u.Deferred().always(function(){delete Q.elem}),Q=function(){if(q)return!1;var a=Wb||lb();a=Math.max(0,L.startTime+L.duration-a);for(var c=1-(a/L.duration||0),g=0,m=L.tweens.length;g<m;g++)L.tweens[g].run(c);I.notifyWith(b,[L,c,a]);if(1>c&&m)return a;
m||I.notifyWith(b,[L,1,0]);I.resolveWith(b,[L]);return!1},L=I.promise({elem:b,props:u.extend({},e),opts:u.extend(!0,{specialEasing:{},easing:u.easing._default},n),originalProperties:e,originalOptions:n,startTime:Wb||lb(),duration:n.duration,tweens:[],createTween:function(a,c){a=u.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,g=a?L.tweens.length:0;if(q)return this;for(q=!0;c<g;c++)L.tweens[c].run(1);a?(I.notifyWith(b,[L,1,0]),I.resolveWith(b,
[L,a])):I.rejectWith(b,[L,a]);return this}});n=L.props;for(ld(n,L.opts.specialEasing);z<B;z++)if(e=rb.prefilters[z].call(L,b,n,L.opts))return za(e.stop)&&(u._queueHooks(L.elem,L.opts.queue).stop=e.stop.bind(e)),e;u.map(n,Pc,L);za(L.opts.start)&&L.opts.start.call(b,L);L.progress(L.opts.progress).done(L.opts.done,L.opts.complete).fail(L.opts.fail).always(L.opts.always);u.fx.timer(u.extend(Q,{elem:b,anim:L,queue:L.opts.queue}));return L}function Xb(b){return(b.match(Fb)||[]).join(" ")}function Ib(b){return b.getAttribute&&
b.getAttribute("class")||""}function oc(b){return Array.isArray(b)?b:"string"===typeof b?b.match(Fb)||[]:[]}function Cc(b,e,n,q){var z;if(Array.isArray(e))u.each(e,function(B,I){n||Fd.test(b)?q(b,I):Cc(b+"["+("object"===typeof I&&null!=I?B:"")+"]",I,n,q)});else if(n||"object"!==f(e))q(b,e);else for(z in e)Cc(b+"["+z+"]",e[z],n,q)}function Qc(b){return function(e,n){"string"!==typeof e&&(n=e,e="*");var q=0,z=e.toLowerCase().match(Fb)||[];if(za(n))for(;e=z[q++];)"+"===e[0]?(e=e.slice(1)||"*",(b[e]=
b[e]||[]).unshift(n)):(b[e]=b[e]||[]).push(n)}}function Gb(b,e,n,q){function z(Q){var L;B[Q]=!0;u.each(b[Q]||[],function(a,c){a=c(e,n,q);if("string"===typeof a&&!I&&!B[a])return e.dataTypes.unshift(a),z(a),!1;if(I)return!(L=a)});return L}var B={},I=b===Dc;return z(e.dataTypes[0])||!B["*"]&&z("*")}function la(b,e){var n,q,z=u.ajaxSettings.flatOptions||{};for(n in e)void 0!==e[n]&&((z[n]?b:q||(q={}))[n]=e[n]);q&&u.extend(!0,b,q);return b}function Pb(b,e,n){for(var q,z,B,I,Q=b.contents,L=b.dataTypes;"*"===
L[0];)L.shift(),void 0===q&&(q=b.mimeType||e.getResponseHeader("Content-Type"));if(q)for(z in Q)if(Q[z]&&Q[z].test(q)){L.unshift(z);break}if(L[0]in n)B=L[0];else{for(z in n){if(!L[0]||b.converters[z+" "+L[0]]){B=z;break}I||(I=z)}B=B||I}if(B)return B!==L[0]&&L.unshift(B),n[B]}function md(b,e,n,q){var z,B,I={},Q=b.dataTypes.slice();if(Q[1])for(a in b.converters)I[a.toLowerCase()]=b.converters[a];for(B=Q.shift();B;){b.responseFields[B]&&(n[b.responseFields[B]]=e);!L&&q&&b.dataFilter&&(e=b.dataFilter(e,
b.dataType));var L=B;if(B=Q.shift())if("*"===B)B=L;else if("*"!==L&&L!==B){var a=I[L+" "+B]||I["* "+B];if(!a)for(z in I){var c=z.split(" ");if(c[1]===B&&(a=I[L+" "+c[0]]||I["* "+c[0]])){!0===a?a=I[z]:!0!==I[z]&&(B=c[0],Q.unshift(c[1]));break}}if(!0!==a)if(a&&b.throws)e=a(e);else try{e=a(e)}catch(g){return{state:"parsererror",error:a?g:"No conversion from "+L+" to "+B}}}}return{state:"success",data:e}}var Cb=[],Rc=Object.getPrototypeOf,Ab=Cb.slice,id=Cb.flat?function(b){return Cb.flat.call(b)}:function(b){return Cb.concat.apply([],
b)},Qb=Cb.push,ja=Cb.indexOf,h={},ed=h.toString,Ec=h.hasOwnProperty,nd=Ec.toString,Gd=nd.call(Object),Ka={},za=function(b){return"function"===typeof b&&"number"!==typeof b.nodeType},Ub=function(b){return null!=b&&b===b.window},Ha=l.document,dd={type:!0,src:!0,nonce:!0,noModule:!0},u=function(b,e){return new u.fn.init(b,e)};u.fn=u.prototype={jquery:"3.5.1",constructor:u,length:0,toArray:function(){return Ab.call(this)},get:function(b){return null==b?Ab.call(this):0>b?this[b+this.length]:this[b]},pushStack:function(b){b=
u.merge(this.constructor(),b);b.prevObject=this;return b},each:function(b){return u.each(this,b)},map:function(b){return this.pushStack(u.map(this,function(e,n){return b.call(e,n,e)}))},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(u.grep(this,function(b,e){return(e+1)%2}))},odd:function(){return this.pushStack(u.grep(this,function(b,e){return e%2}))},eq:function(b){var e=
this.length;b=+b+(0>b?e:0);return this.pushStack(0<=b&&b<e?[this[b]]:[])},end:function(){return this.prevObject||this.constructor()},push:Qb,sort:Cb.sort,splice:Cb.splice};u.extend=u.fn.extend=function(){var b,e,n,q=arguments[0]||{},z=1,B=arguments.length,I=!1;"boolean"===typeof q&&(I=q,q=arguments[z]||{},z++);"object"===typeof q||za(q)||(q={});z===B&&(q=this,z--);for(;z<B;z++)if(null!=(b=arguments[z]))for(e in b){var Q=b[e];if("__proto__"!==e&&q!==Q)if(I&&Q&&(u.isPlainObject(Q)||(n=Array.isArray(Q)))){var L=
q[e];L=n&&!Array.isArray(L)?[]:n||u.isPlainObject(L)?L:{};n=!1;q[e]=u.extend(I,L,Q)}else void 0!==Q&&(q[e]=Q)}return q};u.extend({expando:"jQuery"+("3.5.1"+Math.random()).replace(/\D/g,""),isReady:!0,error:function(b){throw Error(b);},noop:function(){},isPlainObject:function(b){if(!b||"[object Object]"!==ed.call(b))return!1;b=Rc(b);if(!b)return!0;b=Ec.call(b,"constructor")&&b.constructor;return"function"===typeof b&&nd.call(b)===Gd},isEmptyObject:function(b){for(var e in b)return!1;return!0},globalEval:function(b,
e,n){k(b,{nonce:e&&e.nonce},n)},each:function(b,e){var n,q=0;if(d(b))for(n=b.length;q<n&&!1!==e.call(b[q],q,b[q]);q++);else for(q in b)if(!1===e.call(b[q],q,b[q]))break;return b},makeArray:function(b,e){e=e||[];null!=b&&(d(Object(b))?u.merge(e,"string"===typeof b?[b]:b):Qb.call(e,b));return e},inArray:function(b,e,n){return null==e?-1:ja.call(e,b,n)},merge:function(b,e){for(var n=+e.length,q=0,z=b.length;q<n;q++)b[z++]=e[q];b.length=z;return b},grep:function(b,e,n){for(var q=[],z=0,B=b.length,I=!n;z<
B;z++)n=!e(b[z],z),n!==I&&q.push(b[z]);return q},map:function(b,e,n){var q,z=0,B=[];if(d(b))for(q=b.length;z<q;z++){var I=e(b[z],z,n);null!=I&&B.push(I)}else for(z in b)I=e(b[z],z,n),null!=I&&B.push(I);return id(B)},guid:1,support:Ka});"function"===typeof Symbol&&(u.fn[Symbol.iterator]=Cb[Symbol.iterator]);u.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(b,e){h["[object "+e+"]"]=e.toLowerCase()});var $b=function(b){function e(C,M,J,U){var y,H,F,R,S=
M&&M.ownerDocument;var W=M?M.nodeType:9;J=J||[];if("string"!==typeof C||!C||1!==W&&9!==W&&11!==W)return J;if(!U&&(mb(M),M=M||ta,Fa)){if(11!==W&&(R=Hd.exec(C)))if(y=R[1])if(9===W)if(H=M.getElementById(y)){if(H.id===y)return J.push(H),J}else return J;else{if(S&&(H=S.getElementById(y))&&Aa(M,H)&&H.id===y)return J.push(H),J}else{if(R[2])return jb.apply(J,M.getElementsByTagName(C)),J;if((y=R[3])&&Ua.getElementsByClassName&&M.getElementsByClassName)return jb.apply(J,M.getElementsByClassName(y)),J}if(!(!Ua.qsa||
nb[C+" "]||Va&&Va.test(C)||1===W&&"object"===M.nodeName.toLowerCase())){y=C;S=M;if(1===W&&(Rb.test(C)||od.test(C))){S=Fc.test(C)&&g(M.parentNode)||M;S===M&&Ua.scope||((F=M.getAttribute("id"))?F=F.replace(pd,ic):M.setAttribute("id",F=ya));y=Gc(C);for(W=y.length;W--;)y[W]=(F?"#"+F:":scope")+" "+x(y[W]);y=y.join(",")}try{return jb.apply(J,S.querySelectorAll(y)),J}catch(aa){nb(C,!0)}finally{F===ya&&M.removeAttribute("id")}}}return Sc(C.replace(wb,"$1"),M,J,U)}function n(){function C(J,U){M.push(J+" ")>
qa.cacheLength&&delete C[M.shift()];return C[J+" "]=U}var M=[];return C}function q(C){C[ya]=!0;return C}function z(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 q(function(M){M=+M;return q(function(J,U){for(var y,H=C([],J.length,M),F=H.length;F--;)J[y=
H[F]]&&(J[y]=!(U[y]=J[y]))})})}function g(C){return C&&"undefined"!==typeof C.getElementsByTagName&&C}function m(){}function x(C){for(var M=0,J=C.length,U="";M<J;M++)U+=C[M].value;return U}function A(C,M,J){var U=M.dir,y=M.next,H=y||U,F=J&&"parentNode"===H,R=Sa++;return M.first?function(S,W,aa){for(;S=S[U];)if(1===S.nodeType||F)return C(S,W,aa);return!1}:function(S,W,aa){var da,ea=[Pa,R];if(aa)for(;S=S[U];){if((1===S.nodeType||F)&&C(S,W,aa))return!0}else for(;S=S[U];)if(1===S.nodeType||F){var ka=
S[ya]||(S[ya]={});ka=ka[S.uniqueID]||(ka[S.uniqueID]={});if(y&&y===S.nodeName.toLowerCase())S=S[U]||S;else{if((da=ka[H])&&da[0]===Pa&&da[1]===R)return ea[2]=da[2];ka[H]=ea;if(ea[2]=C(S,W,aa))return!0}}return!1}}function G(C){return 1<C.length?function(M,J,U){for(var y=C.length;y--;)if(!C[y](M,J,U))return!1;return!0}:C[0]}function N(C,M,J,U,y){for(var H,F=[],R=0,S=C.length,W=null!=M;R<S;R++)if(H=C[R])if(!J||J(H,U,y))F.push(H),W&&M.push(R);return F}function P(C,M,J,U,y,H){U&&!U[ya]&&(U=P(U));y&&!y[ya]&&
(y=P(y,H));return q(function(F,R,S,W){var aa,da=[],ea=[],ka=R.length,oa;if(!(oa=F)){oa=M||"*";for(var fa=S.nodeType?[S]:S,Na=[],Ea=0,$a=fa.length;Ea<$a;Ea++)e(oa,fa[Ea],Na);oa=Na}oa=!C||!F&&M?oa:N(oa,da,C,S,W);fa=J?y||(F?C:ka||U)?[]:R:oa;J&&J(oa,fa,S,W);if(U){var pa=N(fa,ea);U(pa,[],S,W);for(S=pa.length;S--;)if(aa=pa[S])fa[ea[S]]=!(oa[ea[S]]=aa)}if(F){if(y||C){if(y){pa=[];for(S=fa.length;S--;)(aa=fa[S])&&pa.push(oa[S]=aa);y(null,fa=[],pa,W)}for(S=fa.length;S--;)(aa=fa[S])&&-1<(pa=y?xb(F,aa):da[S])&&
(F[pa]=!(R[pa]=aa))}}else fa=N(fa===R?fa.splice(ka,fa.length):fa),y?y(null,R,fa,W):jb.apply(R,fa)})}function O(C){var M,J,U=C.length,y=qa.relative[C[0].type];var H=y||qa.relative[" "];for(var F=y?1:0,R=A(function(aa){return aa===M},H,!0),S=A(function(aa){return-1<xb(M,aa)},H,!0),W=[function(aa,da,ea){aa=!y&&(ea||da!==ca)||((M=da).nodeType?R(aa,da,ea):S(aa,da,ea));M=null;return aa}];F<U;F++)if(H=qa.relative[C[F].type])W=[A(G(W),H)];else{H=qa.filter[C[F].type].apply(null,C[F].matches);if(H[ya]){for(J=
++F;J<U&&!qa.relative[C[J].type];J++);return P(1<F&&G(W),1<F&&x(C.slice(0,F-1).concat({value:" "===C[F-2].type?"*":""})).replace(wb,"$1"),H,F<J&&O(C.slice(F,J)),J<U&&O(C=C.slice(J)),J<U&&x(C))}W.push(H)}return G(W)}function X(C,M){var J=0<M.length,U=0<C.length,y=function(H,F,R,S,W){var aa,da,ea=0,ka="0",oa=H&&[],fa=[],Na=ca,Ea=H||U&&qa.find.TAG("*",W),$a=Pa+=null==Na?1:Math.random()||.1,pa=Ea.length;for(W&&(ca=F==ta||F||W);ka!==pa&&null!=(aa=Ea[ka]);ka++){if(U&&aa){var yb=0;F||aa.ownerDocument==ta||
(mb(aa),R=!Fa);for(;da=C[yb++];)if(da(aa,F||ta,R)){S.push(aa);break}W&&(Pa=$a)}J&&((aa=!da&&aa)&&ea--,H&&oa.push(aa))}ea+=ka;if(J&&ka!==ea){for(yb=0;da=M[yb++];)da(oa,fa,F,R);if(H){if(0<ea)for(;ka--;)oa[ka]||fa[ka]||(fa[ka]=Db.call(S));fa=N(fa)}jb.apply(S,fa);W&&!H&&0<fa.length&&1<ea+M.length&&e.uniqueSort(S)}W&&(Pa=$a,ca=Na);return oa};return J?q(y):y}var ba,ca,va,xa,ta,Ma,Fa,Va,ua,bb,Aa,ya="sizzle"+1*new Date,na=b.document,Pa=0,Sa=0,Ia=n(),db=n(),fb=n(),nb=n(),Ga=function(C,M){C===M&&(xa=!0);return 0},
La={}.hasOwnProperty,Ya=[],Db=Ya.pop,Yb=Ya.push,jb=Ya.push,gb=Ya.slice,xb=function(C,M){for(var J=0,U=C.length;J<U;J++)if(C[J]===M)return J;return-1},jc=RegExp("[\\x20\\t\\r\\n\\f]+","g"),wb=RegExp("^[\\x20\\t\\r\\n\\f]+|((?:^|[^\\\\])(?:\\\\.)*)[\\x20\\t\\r\\n\\f]+$","g"),Id=RegExp("^[\\x20\\t\\r\\n\\f]*,[\\x20\\t\\r\\n\\f]*"),od=RegExp("^[\\x20\\t\\r\\n\\f]*([\x3e+~]|[\\x20\\t\\r\\n\\f])[\\x20\\t\\r\\n\\f]*"),Rb=RegExp("[\\x20\\t\\r\\n\\f]|\x3e"),qd=RegExp(":((?:\\\\[\\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]*\\])*)|.*)\\)|)"),
Zb=RegExp("^(?:\\\\[\\da-fA-F]{1,6}[\\x20\\t\\r\\n\\f]?|\\\\[^\\r\\n\\f]|[\\w-]|[^\x00-\\x7f])+$"),Hc={ID:RegExp("^#((?:\\\\[\\da-fA-F]{1,6}[\\x20\\t\\r\\n\\f]?|\\\\[^\\r\\n\\f]|[\\w-]|[^\x00-\\x7f])+)"),CLASS:RegExp("^\\.((?:\\\\[\\da-fA-F]{1,6}[\\x20\\t\\r\\n\\f]?|\\\\[^\\r\\n\\f]|[\\w-]|[^\x00-\\x7f])+)"),TAG:RegExp("^((?:\\\\[\\da-fA-F]{1,6}[\\x20\\t\\r\\n\\f]?|\\\\[^\\r\\n\\f]|[\\w-]|[^\x00-\\x7f])+|[*])"),ATTR:RegExp("^\\[[\\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]*\\]"),
PSEUDO:RegExp("^:((?:\\\\[\\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]*\\])*)|.*)\\)|)"),
CHILD:RegExp("^:(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:RegExp("^(?:checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped)$","i"),needsContext:RegExp("^[\\x20\\t\\r\\n\\f]*[\x3e+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\([\\x20\\t\\r\\n\\f]*((?:-\\d)?\\d*)[\\x20\\t\\r\\n\\f]*\\)|)(?\x3d[^-]|$)",
"i")},Ic=/HTML$/i,Jd=/^(?:input|select|textarea|button)$/i,Kd=/^h\d$/i,pc=/^[^{]+\{\s*\[native \w/,Hd=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,Fc=/[+~]/,zb=RegExp("\\\\[\\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,y=0;M[U++]=J[y++];);M.length=U-1}}}var Ua=e.support={};var Kb=e.isXML=function(C){var M=(C.ownerDocument||C).documentElement;return!Ic.test(C.namespaceURI||M&&M.nodeName||
"HTML")};var mb=e.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=z(function(J){Ma.appendChild(J).appendChild(ta.createElement("div"));return"undefined"!==typeof J.querySelectorAll&&!J.querySelectorAll(":scope fieldset div").length});Ua.attributes=z(function(J){J.className=
"i";return!J.getAttribute("className")});Ua.getElementsByTagName=z(function(J){J.appendChild(ta.createComment(""));return!J.getElementsByTagName("*").length});Ua.getElementsByClassName=pc.test(ta.getElementsByClassName);Ua.getById=z(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(y){return y.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(y){return(y="undefined"!==typeof y.getAttributeNode&&y.getAttributeNode("id"))&&y.value===U}},qa.find.ID=function(J,U){if("undefined"!==typeof U.getElementById&&Fa){var y,H=U.getElementById(J);if(H){if((y=H.getAttributeNode("id"))&&y.value===J)return[H];var F=U.getElementsByName(J);for(U=0;H=F[U++];)if((y=H.getAttributeNode("id"))&&y.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 y=[],H=0;U=U.getElementsByTagName(J);if("*"===J){for(;J=U[H++];)1===J.nodeType&&y.push(J);return y}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))z(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]")}),z(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))&&z(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 y=9===J.nodeType?J.documentElement:J;U=U&&U.parentNode;return J===U||!!(U&&1===U.nodeType&&(y.contains?y.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 y=!J.compareDocumentPosition-!U.compareDocumentPosition;
if(y)return y;y=(J.ownerDocument||J)==(U.ownerDocument||U)?J.compareDocumentPosition(U):1;return y&1||!Ua.sortDetached&&U.compareDocumentPosition(J)===y?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:y&4?-1:1}:function(J,U){if(J===U)return xa=!0,0;var y=0,H=J.parentNode,F=U.parentNode,R=[J],S=[U];if(!H||!F)return J==ta?-1:U==ta?1:H?-1:F?1:va?xb(va,J)-xb(va,U):0;if(H===F)return I(J,U);for(;J=J.parentNode;)R.unshift(J);for(J=U;J=J.parentNode;)S.unshift(J);
for(;R[y]===S[y];)y++;return y?I(R[y],S[y]):R[y]==na?-1:S[y]==na?1:0};return ta};e.matches=function(C,M){return e(C,null,null,M)};e.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 0<e(M,ta,null,[C]).length};e.contains=function(C,M){(C.ownerDocument||C)!=ta&&mb(C);return Aa(C,M)};e.attr=function(C,M){(C.ownerDocument||
C)!=ta&&mb(C);var J=qa.attrHandle[M.toLowerCase()];J=J&&La.call(qa.attrHandle,M.toLowerCase())?J(C,M,!Fa):void 0;return void 0!==J?J:Ua.attributes||!Fa?C.getAttribute(M):(J=C.getAttributeNode(M))&&J.specified?J.value:null};e.escape=function(C){return(C+"").replace(pd,ic)};e.error=function(C){throw Error("Syntax error, unrecognized expression: "+C);};e.uniqueSort=function(C){var M,J=[],U=0,y=0;xa=!Ua.detectDuplicates;va=!Ua.sortStable&&C.slice(0);C.sort(Ga);if(xa){for(;M=C[y++];)M===C[y]&&(U=J.push(y));
for(;U--;)C.splice(J[U],1)}va=null;return C};var Jc=e.getText=function(C){var M="",J=0;var U=C.nodeType;if(!U)for(;U=C[J++];)M+=Jc(U);else if(1===U||9===U||11===U){if("string"===typeof C.textContent)return C.textContent;for(C=C.firstChild;C;C=C.nextSibling)M+=Jc(C)}else if(3===U||4===U)return C.nodeValue;return M};var qa=e.selectors={cacheLength:50,createPseudo:q,match:Hc,attrHandle:{},find:{},relative:{"\x3e":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},
"~":{dir:"previousSibling"}},preFilter:{ATTR:function(C){C[1]=C[1].replace(zb,Jb);C[3]=(C[3]||C[4]||C[5]||"").replace(zb,Jb);"~\x3d"===C[2]&&(C[3]=" "+C[3]+" ");return C.slice(0,4)},CHILD:function(C){C[1]=C[1].toLowerCase();"nth"===C[1].slice(0,3)?(C[3]||e.error(C[0]),C[4]=+(C[4]?C[5]+(C[6]||1):2*("even"===C[3]||"odd"===C[3])),C[5]=+(C[7]+C[8]||"odd"===C[3])):C[3]&&e.error(C[0]);return C},PSEUDO:function(C){var M,J=!C[6]&&C[2];if(Hc.CHILD.test(C[0]))return null;C[3]?C[2]=C[4]||C[5]||"":J&&qd.test(J)&&
(M=Gc(J,!0))&&(M=J.indexOf(")",J.length-M)-J.length)&&(C[0]=C[0].slice(0,M),C[2]=J.slice(0,M));return C.slice(0,3)}},filter:{TAG:function(C){var M=C.replace(zb,Jb).toLowerCase();return"*"===C?function(){return!0}:function(J){return J.nodeName&&J.nodeName.toLowerCase()===M}},CLASS:function(C){var M=Ia[C+" "];return M||(M=new RegExp("(^|[\\x20\\t\\r\\n\\f])"+C+"([\\x20\\t\\r\\n\\f]|$)"),Ia(C,function(J){return M.test("string"===typeof J.className&&J.className||"undefined"!==typeof J.getAttribute&&J.getAttribute("class")||
"")}))},ATTR:function(C,M,J){return function(U){U=e.attr(U,C);if(null==U)return"!\x3d"===M;if(!M)return!0;U+="";return"\x3d"===M?U===J:"!\x3d"===M?U!==J:"^\x3d"===M?J&&0===U.indexOf(J):"*\x3d"===M?J&&-1<U.indexOf(J):"$\x3d"===M?J&&U.slice(-J.length)===J:"~\x3d"===M?-1<(" "+U.replace(jc," ")+" ").indexOf(J):"|\x3d"===M?U===J||U.slice(0,J.length+1)===J+"-":!1}},CHILD:function(C,M,J,U,y){var H="nth"!==C.slice(0,3),F="last"!==C.slice(-4),R="of-type"===M;return 1===U&&0===y?function(S){return!!S.parentNode}:
function(S,W,aa){var da,ea;W=H!==F?"nextSibling":"previousSibling";var ka=S.parentNode,oa=R&&S.nodeName.toLowerCase();aa=!aa&&!R;var fa=!1;if(ka){if(H){for(;W;){for(da=S;da=da[W];)if(R?da.nodeName.toLowerCase()===oa:1===da.nodeType)return!1;var Na=W="only"===C&&!Na&&"nextSibling"}return!0}Na=[F?ka.firstChild:ka.lastChild];if(F&&aa){da=ka;var Ea=da[ya]||(da[ya]={});Ea=Ea[da.uniqueID]||(Ea[da.uniqueID]={});fa=Ea[C]||[];fa=(ea=fa[0]===Pa&&fa[1])&&fa[2];for(da=ea&&ka.childNodes[ea];da=++ea&&da&&da[W]||
(fa=ea=0)||Na.pop();)if(1===da.nodeType&&++fa&&da===S){Ea[C]=[Pa,ea,fa];break}}else if(aa&&(da=S,Ea=da[ya]||(da[ya]={}),Ea=Ea[da.uniqueID]||(Ea[da.uniqueID]={}),fa=Ea[C]||[],fa=ea=fa[0]===Pa&&fa[1]),!1===fa)for(;(da=++ea&&da&&da[W]||(fa=ea=0)||Na.pop())&&((R?da.nodeName.toLowerCase()!==oa:1!==da.nodeType)||!++fa||(aa&&(Ea=da[ya]||(da[ya]={}),Ea=Ea[da.uniqueID]||(Ea[da.uniqueID]={}),Ea[C]=[Pa,fa]),da!==S)););fa-=y;return fa===U||0===fa%U&&0<=fa/U}}},PSEUDO:function(C,M){var J=qa.pseudos[C]||qa.setFilters[C.toLowerCase()]||
e.error("unsupported pseudo: "+C);if(J[ya])return J(M);if(1<J.length){var U=[C,C,"",M];return qa.setFilters.hasOwnProperty(C.toLowerCase())?q(function(y,H){for(var F,R=J(y,M),S=R.length;S--;)F=xb(y,R[S]),y[F]=!(H[F]=R[S])}):function(y){return J(y,0,U)}}return J}},pseudos:{not:q(function(C){var M=[],J=[],U=Sb(C.replace(wb,"$1"));return U[ya]?q(function(y,H,F,R){R=U(y,null,R,[]);for(var S=y.length;S--;)if(F=R[S])y[S]=!(H[S]=F)}):function(y,H,F){M[0]=y;U(M,null,F,J);M[0]=null;return!J.pop()}}),has:q(function(C){return function(M){return 0<
e(C,M).length}}),contains:q(function(C){C=C.replace(zb,Jb);return function(M){return-1<(M.textContent||Jc(M)).indexOf(C)}}),lang:q(function(C){Zb.test(C||"")||e.error("unsupported lang: "+C);C=C.replace(zb,Jb).toLowerCase();return function(M){var J;do if(J=Fa?M.lang:M.getAttribute("xml:lang")||M.getAttribute("lang"))return J=J.toLowerCase(),J===C||0===J.indexOf(C+"-");while((M=M.parentNode)&&1===M.nodeType);return!1}}),target:function(C){var M=b.location&&b.location.hash;return M&&M.slice(1)===C.id},
root:function(C){return C===Ma},focus:function(C){return C===ta.activeElement&&(!ta.hasFocus||ta.hasFocus())&&!!(C.type||C.href||~C.tabIndex)},enabled:a(!1),disabled:a(!0),checked:function(C){var M=C.nodeName.toLowerCase();return"input"===M&&!!C.checked||"option"===M&&!!C.selected},selected:function(C){C.parentNode&&C.parentNode.selectedIndex;return!0===C.selected},empty:function(C){for(C=C.firstChild;C;C=C.nextSibling)if(6>C.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;J<M;J+=2)C.push(J);return C}),
odd:c(function(C,M){for(var J=1;J<M;J+=2)C.push(J);return C}),lt:c(function(C,M,J){for(M=0>J?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<M;)C.push(J);return C})}};qa.pseudos.nth=qa.pseudos.eq;for(ba in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})qa.pseudos[ba]=Q(ba);for(ba in{submit:!0,reset:!0})qa.pseudos[ba]=L(ba);m.prototype=qa.filters=qa.pseudos;qa.setFilters=new m;var Gc=e.tokenize=function(C,M){var J,U,y,H,F;if(H=db[C+" "])return M?0:H.slice(0);H=
C;var R=[];for(F=qa.preFilter;H;){if(!S||(J=Id.exec(H)))J&&(H=H.slice(J[0].length)||H),R.push(U=[]);var S=!1;if(J=od.exec(H))S=J.shift(),U.push({value:S,type:J[0].replace(wb," ")}),H=H.slice(S.length);for(y in qa.filter)!(J=Hc[y].exec(H))||F[y]&&!(J=F[y](J))||(S=J.shift(),U.push({value:S,type:y,matches:J}),H=H.slice(S.length));if(!S)break}return M?H.length:H?e.error(C):db(C,R).slice(0)};var Sb=e.compile=function(C,M){var J,U=[],y=[],H=fb[C+" "];if(!H){M||(M=Gc(C));for(J=M.length;J--;)H=O(M[J]),H[ya]?
U.push(H):y.push(H);H=fb(C,X(y,U));H.selector=C}return H};var Sc=e.select=function(C,M,J,U){var y,H,F,R="function"===typeof C&&C,S=!U&&Gc(C=R.selector||C);J=J||[];if(1===S.length){var W=S[0]=S[0].slice(0);if(2<W.length&&"ID"===(H=W[0]).type&&9===M.nodeType&&Fa&&qa.relative[W[1].type]){M=(qa.find.ID(H.matches[0].replace(zb,Jb),M)||[])[0];if(!M)return J;R&&(M=M.parentNode);C=C.slice(W.shift().value.length)}for(y=Hc.needsContext.test(C)?0:W.length;y--;){H=W[y];if(qa.relative[F=H.type])break;if(F=qa.find[F])if(U=
F(H.matches[0].replace(zb,Jb),Fc.test(W[0].type)&&g(M.parentNode)||M)){W.splice(y,1);C=U.length&&x(W);if(!C)return jb.apply(J,U),J;break}}}(R||Sb(C,S))(U,M,!Fa,J,!M||Fc.test(C)&&g(M.parentNode)||M);return J};Ua.sortStable=ya.split("").sort(Ga).join("")===ya;Ua.detectDuplicates=!!xa;mb();Ua.sortDetached=z(function(C){return C.compareDocumentPosition(ta.createElement("fieldset"))&1});z(function(C){C.innerHTML="\x3ca href\x3d'#'\x3e\x3c/a\x3e";return"#"===C.firstChild.getAttribute("href")})||B("type|href|height|width",
function(C,M,J){if(!J)return C.getAttribute(M,"type"===M.toLowerCase()?1:2)});Ua.attributes&&z(function(C){C.innerHTML="\x3cinput/\x3e";C.firstChild.setAttribute("value","");return""===C.firstChild.getAttribute("value")})||B("value",function(C,M,J){if(!J&&"input"===C.nodeName.toLowerCase())return C.defaultValue});z(function(C){return null==C.getAttribute("disabled")})||B("checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",function(C,
M,J){var U;if(!J)return!0===C[M]?M.toLowerCase():(U=C.getAttributeNode(M))&&U.specified?U.value:null});return e}(l);u.find=$b;u.expr=$b.selectors;u.expr[":"]=u.expr.pseudos;u.uniqueSort=u.unique=$b.uniqueSort;u.text=$b.getText;u.isXMLDoc=$b.isXML;u.contains=$b.contains;u.escapeSelector=$b.escape;var ac=function(b,e,n){for(var q=[],z=void 0!==n;(b=b[e])&&9!==b.nodeType;)if(1===b.nodeType){if(z&&u(b).is(n))break;q.push(b)}return q},sd=function(b,e){for(var n=[];b;b=b.nextSibling)1===b.nodeType&&b!==
e&&n.push(b);return n},td=u.expr.match.needsContext,Eb=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;u.filter=function(b,e,n){var q=e[0];n&&(b=":not("+b+")");return 1===e.length&&1===q.nodeType?u.find.matchesSelector(q,b)?[q]:[]:u.find.matches(b,u.grep(e,function(z){return 1===z.nodeType}))};u.fn.extend({find:function(b){var e,n=this.length,q=this;if("string"!==typeof b)return this.pushStack(u(b).filter(function(){for(e=0;e<n;e++)if(u.contains(q[e],this))return!0}));var z=this.pushStack([]);
for(e=0;e<n;e++)u.find(b,q[e],z);return 1<n?u.uniqueSort(z):z},filter:function(b){return this.pushStack(r(this,b||[],!1))},not:function(b){return this.pushStack(r(this,b||[],!0))},is:function(b){return!!r(this,"string"===typeof b&&td.test(b)?u(b):b||[],!1).length}});var Kc=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(u.fn.init=function(b,e,n){if(!b)return this;n=n||Ld;if("string"===typeof b){var q="\x3c"===b[0]&&"\x3e"===b[b.length-1]&&3<=b.length?[null,b,null]:Kc.exec(b);if(!q||!q[1]&&e)return!e||e.jquery?
(e||n).find(b):this.constructor(e).find(b);if(q[1]){if(e=e instanceof u?e[0]:e,u.merge(this,u.parseHTML(q[1],e&&e.nodeType?e.ownerDocument||e:Ha,!0)),Eb.test(q[1])&&u.isPlainObject(e))for(q in e)if(za(this[q]))this[q](e[q]);else this.attr(q,e[q])}else if(b=Ha.getElementById(q[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(u):u.makeArray(b,this)}).prototype=u.fn;var Ld=u(Ha);var qc=/^(?:parents|prev(?:Until|All))/,Md={children:!0,
contents:!0,next:!0,prev:!0};u.fn.extend({has:function(b){var e=u(b,this),n=e.length;return this.filter(function(){for(var q=0;q<n;q++)if(u.contains(this,e[q]))return!0})},closest:function(b,e){var n,q=0,z=this.length,B=[],I="string"!==typeof b&&u(b);if(!td.test(b))for(;q<z;q++)for(n=this[q];n&&n!==e;n=n.parentNode)if(11>n.nodeType&&(I?-1<I.index(n):1===n.nodeType&&u.find.matchesSelector(n,b))){B.push(n);break}return this.pushStack(1<B.length?u.uniqueSort(B):B)},index:function(b){return b?"string"===
typeof b?ja.call(u(b),this[0]):ja.call(this,b.jquery?b[0]:b):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(b,e){return this.pushStack(u.uniqueSort(u.merge(this.get(),u(b,e))))},addBack:function(b){return this.add(null==b?this.prevObject:this.prevObject.filter(b))}});u.each({parent:function(b){return(b=b.parentNode)&&11!==b.nodeType?b:null},parents:function(b){return ac(b,"parentNode")},parentsUntil:function(b,e,n){return ac(b,"parentNode",n)},next:function(b){return v(b,
"nextSibling")},prev:function(b){return v(b,"previousSibling")},nextAll:function(b){return ac(b,"nextSibling")},prevAll:function(b){return ac(b,"previousSibling")},nextUntil:function(b,e,n){return ac(b,"nextSibling",n)},prevUntil:function(b,e,n){return ac(b,"previousSibling",n)},siblings:function(b){return sd((b.parentNode||{}).firstChild,b)},children:function(b){return sd(b.firstChild)},contents:function(b){if(null!=b.contentDocument&&Rc(b.contentDocument))return b.contentDocument;p(b,"template")&&
(b=b.content||b);return u.merge([],b.childNodes)}},function(b,e){u.fn[b]=function(n,q){var z=u.map(this,e,n);"Until"!==b.slice(-5)&&(q=n);q&&"string"===typeof q&&(z=u.filter(q,z));1<this.length&&(Md[b]||u.uniqueSort(z),qc.test(b)&&z.reverse());return this.pushStack(z)}});var Fb=/[^\x20\t\r\n\f]+/g;u.Callbacks=function(b){b="string"===typeof b?t(b):u.extend({},b);var e,n,q,z,B=[],I=[],Q=-1,L=function(){z=z||b.once;for(q=e=!0;I.length;Q=-1)for(n=I.shift();++Q<B.length;)!1===B[Q].apply(n[0],n[1])&&b.stopOnFalse&&
(Q=B.length,n=!1);b.memory||(n=!1);e=!1;z&&(B=n?[]:"")},a={add:function(){B&&(n&&!e&&(Q=B.length-1,I.push(n)),function m(g){u.each(g,function(x,A){za(A)?b.unique&&a.has(A)||B.push(A):A&&A.length&&"string"!==f(A)&&m(A)})}(arguments),n&&!e&&L());return this},remove:function(){u.each(arguments,function(c,g){for(var m;-1<(m=u.inArray(g,B,m));)B.splice(m,1),m<=Q&&Q--});return this},has:function(c){return c?-1<u.inArray(c,B):0<B.length},empty:function(){B&&(B=[]);return this},disable:function(){z=I=[];
B=n="";return this},disabled:function(){return!B},lock:function(){z=I=[];n||e||(B=n="");return this},locked:function(){return!!z},fireWith:function(c,g){z||(g=g||[],g=[c,g.slice?g.slice():g],I.push(g),e||L());return this},fire:function(){a.fireWith(this,arguments);return this},fired:function(){return!!q}};return a};u.extend({Deferred:function(b){var e=[["notify","progress",u.Callbacks("memory"),u.Callbacks("memory"),2],["resolve","done",u.Callbacks("once memory"),u.Callbacks("once memory"),0,"resolved"],
["reject","fail",u.Callbacks("once memory"),u.Callbacks("once memory"),1,"rejected"]],n="pending",q={state:function(){return n},always:function(){z.done(arguments).fail(arguments);return this},"catch":function(B){return q.then(null,B)},pipe:function(){var B=arguments;return u.Deferred(function(I){u.each(e,function(Q,L){var a=za(B[L[4]])&&B[L[4]];z[L[1]](function(){var c=a&&a.apply(this,arguments);if(c&&za(c.promise))c.promise().progress(I.notify).done(I.resolve).fail(I.reject);else I[L[0]+"With"](this,
a?[c]:arguments)})});B=null}).promise()},then:function(B,I,Q){function L(c,g,m,x){return function(){var A=this,G=arguments,N=function(){if(!(c<a)){var O=m.apply(A,G);if(O===g.promise())throw new TypeError("Thenable self-resolution");var X=O&&("object"===typeof O||"function"===typeof O)&&O.then;za(X)?x?X.call(O,L(a,g,D,x),L(a,g,E,x)):(a++,X.call(O,L(a,g,D,x),L(a,g,E,x),L(a,g,D,g.notifyWith))):(m!==D&&(A=void 0,G=[O]),(x||g.resolveWith)(A,G))}},P=x?N:function(){try{N()}catch(O){u.Deferred.exceptionHook&&
u.Deferred.exceptionHook(O,P.stackTrace),c+1>=a&&(m!==E&&(A=void 0,G=[O]),g.rejectWith(A,G))}};c?P():(u.Deferred.getStackHook&&(P.stackTrace=u.Deferred.getStackHook()),l.setTimeout(P))}}var a=0;return u.Deferred(function(c){e[0][3].add(L(0,c,za(Q)?Q:D,c.notifyWith));e[1][3].add(L(0,c,za(B)?B:D));e[2][3].add(L(0,c,za(I)?I:E))}).promise()},promise:function(B){return null!=B?u.extend(B,q):q}},z={};u.each(e,function(B,I){var Q=I[2],L=I[5];q[I[1]]=Q.add;L&&Q.add(function(){n=L},e[3-B][2].disable,e[3-B][3].disable,
e[0][2].lock,e[0][3].lock);Q.add(I[3].fire);z[I[0]]=function(){z[I[0]+"With"](this===z?void 0:this,arguments);return this};z[I[0]+"With"]=Q.fireWith});q.promise(z);b&&b.call(z,z);return z},when:function(b){var e=arguments.length,n=e,q=Array(n),z=Ab.call(arguments),B=u.Deferred(),I=function(Q){return function(L){q[Q]=this;z[Q]=1<arguments.length?Ab.call(arguments):L;--e||B.resolveWith(q,z)}};if(1>=e&&(K(b,B.done(I(n)).resolve,B.reject,!e),"pending"===B.state()||za(z[n]&&z[n].then)))return B.then();
for(;n--;)K(z[n],I(n),B.reject);return B.promise()}});var Uc=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;u.Deferred.exceptionHook=function(b,e){l.console&&l.console.warn&&b&&Uc.test(b.name)&&l.console.warn("jQuery.Deferred exception: "+b.message,b.stack,e)};u.readyException=function(b){l.setTimeout(function(){throw b;})};var rc=u.Deferred();u.fn.ready=function(b){rc.then(b).catch(function(e){u.readyException(e)});return this};u.extend({isReady:!1,readyWait:1,ready:function(b){(!0===b?
--u.readyWait:u.isReady)||(u.isReady=!0,!0!==b&&0<--u.readyWait||rc.resolveWith(Ha,[u]))}});u.ready.then=rc.then;"complete"===Ha.readyState||"loading"!==Ha.readyState&&!Ha.documentElement.doScroll?l.setTimeout(u.ready):(Ha.addEventListener("DOMContentLoaded",T),l.addEventListener("load",T));var ob=function(b,e,n,q,z,B,I){var Q=0,L=b.length,a=null==n;if("object"===f(n))for(Q in z=!0,n)ob(b,e,Q,n[Q],!0,B,I);else if(void 0!==q&&(z=!0,za(q)||(I=!0),a&&(I?(e.call(b,q),e=null):(a=e,e=function(c,g,m){return a.call(u(c),
m)})),e))for(;Q<L;Q++)e(b[Q],n,I?q:q.call(b[Q],Q,e(b[Q],n)));return z?b:a?e.call(b):L?e(b[0],n):B},mc=/^-ms-/,Nb=/-([a-z])/g,bc=function(b){return 1===b.nodeType||9===b.nodeType||!+b.nodeType};V.uid=1;V.prototype={cache:function(b){var e=b[this.expando];e||(e={},bc(b)&&(b.nodeType?b[this.expando]=e:Object.defineProperty(b,this.expando,{value:e,configurable:!0})));return e},set:function(b,e,n){var q;b=this.cache(b);if("string"===typeof e)b[Y(e)]=n;else for(q in e)b[Y(q)]=e[q];return b},get:function(b,
e){return void 0===e?this.cache(b):b[this.expando]&&b[this.expando][Y(e)]},access:function(b,e,n){if(void 0===e||e&&"string"===typeof e&&void 0===n)return this.get(b,e);this.set(b,e,n);return void 0!==n?n:e},remove:function(b,e){var n,q=b[this.expando];if(void 0!==q){if(void 0!==e)for(Array.isArray(e)?e=e.map(Y):(e=Y(e),e=e in q?[e]:e.match(Fb)||[]),n=e.length;n--;)delete q[e[n]];if(void 0===e||u.isEmptyObject(q))b.nodeType?b[this.expando]=void 0:delete b[this.expando]}},hasData:function(b){b=b[this.expando];
return void 0!==b&&!u.isEmptyObject(b)}};var wa=new V,kb=new V,Nc=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,sb=/[A-Z]/g;u.extend({hasData:function(b){return kb.hasData(b)||wa.hasData(b)},data:function(b,e,n){return kb.access(b,e,n)},removeData:function(b,e){kb.remove(b,e)},_data:function(b,e,n){return wa.access(b,e,n)},_removeData:function(b,e){wa.remove(b,e)}});u.fn.extend({data:function(b,e){var n,q=this[0],z=q&&q.attributes;if(void 0===b){if(this.length){var B=kb.get(q);if(1===q.nodeType&&!wa.get(q,"hasDataAttrs")){for(n=
z.length;n--;)if(z[n]){var I=z[n].name;0===I.indexOf("data-")&&(I=Y(I.slice(5)),ha(q,I,B[I]))}wa.set(q,"hasDataAttrs",!0)}}return B}return"object"===typeof b?this.each(function(){kb.set(this,b)}):ob(this,function(Q){if(q&&void 0===Q){var L=kb.get(q,b);if(void 0!==L)return L;L=ha(q,b);if(void 0!==L)return L}else this.each(function(){kb.set(this,b,Q)})},null,e,1<arguments.length,null,!0)},removeData:function(b){return this.each(function(){kb.remove(this,b)})}});u.extend({queue:function(b,e,n){if(b){e=
(e||"fx")+"queue";var q=wa.get(b,e);n&&(!q||Array.isArray(n)?q=wa.access(b,e,u.makeArray(n)):q.push(n));return q||[]}},dequeue:function(b,e){e=e||"fx";var n=u.queue(b,e),q=n.length,z=n.shift(),B=u._queueHooks(b,e),I=function(){u.dequeue(b,e)};"inprogress"===z&&(z=n.shift(),q--);z&&("fx"===e&&n.unshift("inprogress"),delete B.stop,z.call(b,I,B));!q&&B&&B.empty.fire()},_queueHooks:function(b,e){var n=e+"queueHooks";return wa.get(b,n)||wa.access(b,n,{empty:u.Callbacks("once memory").add(function(){wa.remove(b,
[e+"queue",n])})})}});u.fn.extend({queue:function(b,e){var n=2;"string"!==typeof b&&(e=b,b="fx",n--);return arguments.length<n?u.queue(this[0],b):void 0===e?this:this.each(function(){var q=u.queue(this,b,e);u._queueHooks(this,b);"fx"===b&&"inprogress"!==q[0]&&u.dequeue(this,b)})},dequeue:function(b){return this.each(function(){u.dequeue(this,b)})},clearQueue:function(b){return this.queue(b||"fx",[])},promise:function(b,e){var n,q=1,z=u.Deferred(),B=this,I=this.length,Q=function(){--q||z.resolveWith(B,
[B])};"string"!==typeof b&&(e=b,b=void 0);for(b=b||"fx";I--;)(n=wa.get(B[I],b+"queueHooks"))&&n.empty&&(q++,n.empty.add(Q));Q();return z.promise(e)}});var ud=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,gc=new RegExp("^(?:([+-])\x3d|)("+ud+")([a-z%]*)$","i"),Bb=["Top","Right","Bottom","Left"],cc=Ha.documentElement,hc=function(b){return u.contains(b.ownerDocument,b)},vd={composed:!0};cc.getRootNode&&(hc=function(b){return u.contains(b.ownerDocument,b)||b.getRootNode(vd)===b.ownerDocument});var nc=
function(b,e){b=e||b;return"none"===b.style.display||""===b.style.display&&hc(b)&&"none"===u.css(b,"display")},fd={};u.fn.extend({show:function(){return sa(this,!0)},hide:function(){return sa(this)},toggle:function(b){return"boolean"===typeof b?b?this.show():this.hide():this.each(function(){nc(this)?u(this).show():u(this).hide()})}});var kc=/^(?:checkbox|radio)$/i,gd=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,hd=/^$|^module$|\/(?:java|ecma)script/i;(function(){var b=Ha.createDocumentFragment().appendChild(Ha.createElement("div")),
e=Ha.createElement("input");e.setAttribute("type","radio");e.setAttribute("checked","checked");e.setAttribute("name","t");b.appendChild(e);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=/^([^.]*)(?:\.(.+)|)/;u.event={global:{},add:function(b,e,n,q,z){var B,I,Q,L;var a=
wa.get(b);if(bc(b)){if(n.handler){var c=n;n=c.handler;z=c.selector}z&&u.find.matchesSelector(cc,z);n.guid||(n.guid=u.guid++);(I=a.events)||(I=a.events=Object.create(null));(B=a.handle)||(B=a.handle=function(A){return"undefined"!==typeof u&&u.event.triggered!==A.type?u.event.dispatch.apply(b,arguments):void 0});e=(e||"").match(Fb)||[""];for(a=e.length;a--;){var g=Wc.exec(e[a])||[];var m=Q=g[1];var x=(g[2]||"").split(".").sort();m&&(g=u.event.special[m]||{},m=(z?g.delegateType:g.bindType)||m,g=u.event.special[m]||
{},Q=u.extend({type:m,origType:Q,data:q,handler:n,guid:n.guid,selector:z,needsContext:z&&u.expr.match.needsContext.test(z),namespace:x.join(".")},c),(L=I[m])||(L=I[m]=[],L.delegateCount=0,g.setup&&!1!==g.setup.call(b,q,x,B)||b.addEventListener&&b.addEventListener(m,B)),g.add&&(g.add.call(b,Q),Q.handler.guid||(Q.handler.guid=n.guid)),z?L.splice(L.delegateCount++,0,Q):L.push(Q),u.event.global[m]=!0)}}},remove:function(b,e,n,q,z){var B,I,Q,L,a,c=wa.hasData(b)&&wa.get(b);if(c&&(Q=c.events)){e=(e||"").match(Fb)||
[""];for(L=e.length;L--;){var g=Wc.exec(e[L])||[];var m=a=g[1];var x=(g[2]||"").split(".").sort();if(m){var A=u.event.special[m]||{};m=(q?A.delegateType:A.bindType)||m;var G=Q[m]||[];g=g[2]&&new RegExp("(^|\\.)"+x.join("\\.(?:.*\\.|)")+"(\\.|$)");for(I=B=G.length;B--;){var N=G[B];!z&&a!==N.origType||n&&n.guid!==N.guid||g&&!g.test(N.namespace)||q&&q!==N.selector&&("**"!==q||!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,
x,c.handle)||u.removeEvent(b,m,c.handle),delete Q[m])}else for(m in Q)u.event.remove(b,m+e[L],n,q,!0)}u.isEmptyObject(Q)&&wa.remove(b,"handle events")}},dispatch:function(b){var e,n,q,z=Array(arguments.length),B=u.event.fix(b);var I=(wa.get(this,"events")||Object.create(null))[B.type]||[];var Q=u.event.special[B.type]||{};z[0]=B;for(e=1;e<arguments.length;e++)z[e]=arguments[e];B.delegateTarget=this;if(!Q.preDispatch||!1!==Q.preDispatch.call(this,B)){var L=u.event.handlers.call(this,B,I);for(e=0;(q=
L[e++])&&!B.isPropagationStopped();)for(B.currentTarget=q.elem,I=0;(n=q.handlers[I++])&&!B.isImmediatePropagationStopped();)if(!B.rnamespace||!1===n.namespace||B.rnamespace.test(n.namespace))B.handleObj=n,B.data=n.data,n=((u.event.special[n.origType]||{}).handle||n.handler).apply(q.elem,z),void 0!==n&&!1===(B.result=n)&&(B.preventDefault(),B.stopPropagation());Q.postDispatch&&Q.postDispatch.call(this,B);return B.result}},handlers:function(b,e){var n,q=[],z=e.delegateCount,B=b.target;if(z&&B.nodeType&&
!("click"===b.type&&1<=b.button))for(;B!==this;B=B.parentNode||this)if(1===B.nodeType&&("click"!==b.type||!0!==B.disabled)){var I=[];var Q={};for(n=0;n<z;n++){var L=e[n];var a=L.selector+" ";void 0===Q[a]&&(Q[a]=L.needsContext?-1<u(a,this).index(B):u.find(a,this,null,[B]).length);Q[a]&&I.push(L)}I.length&&q.push({elem:B,handlers:I})}z<e.length&&q.push({elem:this,handlers:e.slice(z)});return q},addProp:function(b,e){Object.defineProperty(u.Event.prototype,b,{enumerable:!0,configurable:!0,get:za(e)?
function(){if(this.originalEvent)return e(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[b]},set:function(n){Object.defineProperty(this,b,{enumerable:!0,configurable:!0,writable:!0,value:n})}})},fix:function(b){return b[u.expando]?b:new u.Event(b)},special:{load:{noBubble:!0},click:{setup:function(b){b=this||b;kc.test(b.type)&&b.click&&p(b,"input")&&ma(b,"click",Oa);return!1},trigger:function(b){b=this||b;kc.test(b.type)&&b.click&&p(b,"input")&&ma(b,"click");return!0},
_default:function(b){b=b.target;return kc.test(b.type)&&b.click&&p(b,"input")&&wa.get(b,"click")||p(b,"a")}},beforeunload:{postDispatch:function(b){void 0!==b.result&&b.originalEvent&&(b.originalEvent.returnValue=b.result)}}}};u.removeEvent=function(b,e,n){b.removeEventListener&&b.removeEventListener(e,n)};u.Event=function(b,e){if(!(this instanceof u.Event))return new u.Event(b,e);b&&b.type?(this.originalEvent=b,this.type=b.type,this.isDefaultPrevented=b.defaultPrevented||void 0===b.defaultPrevented&&
!1===b.returnValue?Oa:Wa,this.target=b.target&&3===b.target.nodeType?b.target.parentNode:b.target,this.currentTarget=b.currentTarget,this.relatedTarget=b.relatedTarget):this.type=b;e&&u.extend(this,e);this.timeStamp=b&&b.timeStamp||Date.now();this[u.expando]=!0};u.Event.prototype={constructor:u.Event,isDefaultPrevented:Wa,isPropagationStopped:Wa,isImmediatePropagationStopped:Wa,isSimulated:!1,preventDefault:function(){var b=this.originalEvent;this.isDefaultPrevented=Oa;b&&!this.isSimulated&&b.preventDefault()},
stopPropagation:function(){var b=this.originalEvent;this.isPropagationStopped=Oa;b&&!this.isSimulated&&b.stopPropagation()},stopImmediatePropagation:function(){var b=this.originalEvent;this.isImmediatePropagationStopped=Oa;b&&!this.isSimulated&&b.stopImmediatePropagation();this.stopPropagation()}};u.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,"char":!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,
buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:function(b){var e=b.button;return null==b.which&&Vc.test(b.type)?null!=b.charCode?b.charCode:b.keyCode:!b.which&&void 0!==e&&sc.test(b.type)?e&1?1:e&2?3:e&4?2:0:b.which}},u.event.addProp);u.each({focus:"focusin",blur:"focusout"},function(b,e){u.event.special[b]={setup:function(){ma(this,b,xc);return!1},trigger:function(){ma(this,b);return!0},delegateType:e}});
u.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(b,e){u.event.special[b]={delegateType:e,bindType:e,handle:function(n){var q=n.relatedTarget,z=n.handleObj;if(!q||q!==this&&!u.contains(this,q)){n.type=z.origType;var B=z.handler.apply(this,arguments);n.type=e}return B}}});u.fn.extend({on:function(b,e,n,q){return ia(this,b,e,n,q)},one:function(b,e,n,q){return ia(this,b,e,n,q,1)},off:function(b,e,n){if(b&&b.preventDefault&&b.handleObj){var q=
b.handleObj;u(b.delegateTarget).off(q.namespace?q.origType+"."+q.namespace:q.origType,q.selector,q.handler);return this}if("object"===typeof b){for(q in b)this.off(q,e,b[q]);return this}if(!1===e||"function"===typeof e)n=e,e=void 0;!1===n&&(n=Wa);return this.each(function(){u.event.remove(this,b,n,e)})}});var wd=/<script|<style|<link/i,yc=/checked\s*(?:[^=]|=\s*.checked.)/i,Oc=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;u.extend({htmlPrefilter:function(b){return b},clone:function(b,e,n){var q,z=b.cloneNode(!0),
B=hc(b);if(!(Ka.noCloneChecked||1!==b.nodeType&&11!==b.nodeType||u.isXMLDoc(b))){var I=Ba(z);var Q=Ba(b);var L=0;for(q=Q.length;L<q;L++){var a=Q[L],c=I[L],g=c.nodeName.toLowerCase();if("input"===g&&kc.test(a.type))c.checked=a.checked;else if("input"===g||"textarea"===g)c.defaultValue=a.defaultValue}}if(e)if(n)for(Q=Q||Ba(b),I=I||Ba(z),L=0,q=Q.length;L<q;L++)Ja(Q[L],I[L]);else Ja(b,z);I=Ba(z,"script");0<I.length&&Za(I,!B&&Ba(b,"script"));return z},cleanData:function(b){for(var e,n,q,z=u.event.special,
B=0;void 0!==(n=b[B]);B++)if(bc(n)){if(e=n[wa.expando]){if(e.events)for(q in e.events)z[q]?u.event.remove(n,q):u.removeEvent(n,q,e.handle);n[wa.expando]=void 0}n[kb.expando]&&(n[kb.expando]=void 0)}}});u.fn.extend({detach:function(b){return ab(this,b,!0)},remove:function(b){return ab(this,b)},text:function(b){return ob(this,function(e){return void 0===e?u.text(this):this.empty().each(function(){if(1===this.nodeType||11===this.nodeType||9===this.nodeType)this.textContent=e})},null,b,arguments.length)},
append:function(){return Ra(this,arguments,function(b){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||Ca(this,b).appendChild(b)})},prepend:function(){return Ra(this,arguments,function(b){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var e=Ca(this,b);e.insertBefore(b,e.firstChild)}})},before:function(){return Ra(this,arguments,function(b){this.parentNode&&this.parentNode.insertBefore(b,this)})},after:function(){return Ra(this,arguments,function(b){this.parentNode&&this.parentNode.insertBefore(b,
this.nextSibling)})},empty:function(){for(var b,e=0;null!=(b=this[e]);e++)1===b.nodeType&&(u.cleanData(Ba(b,!1)),b.textContent="");return this},clone:function(b,e){b=null==b?!1:b;e=null==e?b:e;return this.map(function(){return u.clone(this,b,e)})},html:function(b){return ob(this,function(e){var n=this[0]||{},q=0,z=this.length;if(void 0===e&&1===n.nodeType)return n.innerHTML;if("string"===typeof e&&!wd.test(e)&&!tb[(gd.exec(e)||["",""])[1].toLowerCase()]){e=u.htmlPrefilter(e);try{for(;q<z;q++)n=this[q]||
{},1===n.nodeType&&(u.cleanData(Ba(n,!1)),n.innerHTML=e);n=0}catch(B){}}n&&this.empty().append(e)},null,b,arguments.length)},replaceWith:function(){var b=[];return Ra(this,arguments,function(e){var n=this.parentNode;0>u.inArray(this,b)&&(u.cleanData(Ba(this)),n&&n.replaceChild(e,this))},b)}});u.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(b,e){u.fn[b]=function(n){for(var q=[],z=u(n),B=z.length-1,I=0;I<=B;I++)n=I===B?this:
this.clone(!0),u(z[I])[e](n),Qb.apply(q,n.get());return this.pushStack(q)}});var Ac=new RegExp("^("+ud+")(?!px)[a-z%]+$","i"),zc=function(b){var e=b.ownerDocument.defaultView;e&&e.opener||(e=l);return e.getComputedStyle(b)},dc=function(b,e,n){var q,z={};for(q in e)z[q]=b.style[q],b.style[q]=e[q];n=n.call(b);for(q in e)b.style[q]=z[q];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=l.getComputedStyle(L);e="1%"!==a.top;I=12===Math.round(parseFloat(a.marginLeft));L.style.right="60%";z=36===Math.round(parseFloat(a.right));n=36===Math.round(parseFloat(a.width));L.style.position="absolute";q=12===Math.round(parseFloat(L.offsetWidth/3));cc.removeChild(Q);L=null}}var e,n,q,z,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,u.extend(Ka,{boxSizingReliable:function(){b();return n},pixelBoxStyles:function(){b();return z},pixelPosition:function(){b();return e},reliableMarginLeft:function(){b();return I},scrollboxSize:function(){b();return q},reliableTrDimensions:function(){if(null==B){var a=Ha.createElement("table");var c=Ha.createElement("tr");var g=Ha.createElement("div");
a.style.cssText="position:absolute;left:-11111px";c.style.height="1px";g.style.height="9px";cc.appendChild(a).appendChild(c).appendChild(g);c=l.getComputedStyle(c);B=3<parseInt(c.height);cc.removeChild(a)}return B}}))})();var Bc=["Webkit","Moz","ms"],kd=Ha.createElement("div").style,jd={},Nd=/^(none|table(?!-c[ea]).+)/,xd=/^--/,yd={position:"absolute",visibility:"hidden",display:"block"},Xc={letterSpacing:"0",fontWeight:"400"};u.extend({cssHooks:{opacity:{get:function(b,e){if(e)return b=pb(b,"opacity"),
""===b?"1":b}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{},style:function(b,e,n,q){if(b&&3!==b.nodeType&&8!==b.nodeType&&b.style){var z,B=Y(e),I=xd.test(e),Q=b.style;I||(e=hb(B));var L=u.cssHooks[e]||u.cssHooks[B];if(void 0!==n){var a=typeof n;"string"===
a&&(z=gc.exec(n))&&z[1]&&(n=ra(b,e,z),a="number");null!=n&&n===n&&("number"!==a||I||(n+=z&&z[3]||(u.cssNumber[B]?"":"px")),Ka.clearCloneStyle||""!==n||0!==e.indexOf("background")||(Q[e]="inherit"),L&&"set"in L&&void 0===(n=L.set(b,n,q))||(I?Q.setProperty(e,n):Q[e]=n))}else return L&&"get"in L&&void 0!==(z=L.get(b,!1,q))?z:Q[e]}},css:function(b,e,n,q){var z;var B=Y(e);xd.test(e)||(e=hb(B));(B=u.cssHooks[e]||u.cssHooks[B])&&"get"in B&&(z=B.get(b,!0,n));void 0===z&&(z=pb(b,e,q));"normal"===z&&e in Xc&&
(z=Xc[e]);return""===n||n?(b=parseFloat(z),!0===n||isFinite(b)?b||0:z):z}});u.each(["height","width"],function(b,e){u.cssHooks[e]={get:function(n,q,z){if(q)return!Nd.test(u.css(n,"display"))||n.getClientRects().length&&n.getBoundingClientRect().width?eb(n,e,z):dc(n,yd,function(){return eb(n,e,z)})},set:function(n,q,z){var B,I=zc(n),Q=!Ka.scrollboxSize()&&"absolute"===I.position,L=(Q||z)&&"border-box"===u.css(n,"boxSizing",!1,I);z=z?ub(n,e,z,L,I):0;L&&Q&&(z-=Math.ceil(n["offset"+e[0].toUpperCase()+
e.slice(1)]-parseFloat(I[e])-ub(n,e,"border",!1,I)-.5));z&&(B=gc.exec(q))&&"px"!==(B[3]||"px")&&(n.style[e]=q,q=u.css(n,e));return Xa(n,q,z)}}});u.cssHooks.marginLeft=qb(Ka.reliableMarginLeft,function(b,e){if(e)return(parseFloat(pb(b,"marginLeft"))||b.getBoundingClientRect().left-dc(b,{marginLeft:0},function(){return b.getBoundingClientRect().left}))+"px"});u.each({margin:"",padding:"",border:"Width"},function(b,e){u.cssHooks[b+e]={expand:function(n){var q=0,z={};for(n="string"===typeof n?n.split(" "):
[n];4>q;q++)z[b+Bb[q]+e]=n[q]||n[q-2]||n[0];return z}};"margin"!==b&&(u.cssHooks[b+e].set=Xa)});u.fn.extend({css:function(b,e){return ob(this,function(n,q,z){var B,I={},Q=0;if(Array.isArray(q)){z=zc(n);for(B=q.length;Q<B;Q++)I[q[Q]]=u.css(n,q[Q],!1,z);return I}return void 0!==z?u.style(n,q,z):u.css(n,q)},b,e,1<arguments.length)}});u.Tween=ib;ib.prototype={constructor:ib,init:function(b,e,n,q,z,B){this.elem=b;this.prop=n;this.easing=z||u.easing._default;this.options=e;this.start=this.now=this.cur();
this.end=q;this.unit=B||(u.cssNumber[n]?"":"px")},cur:function(){var b=ib.propHooks[this.prop];return b&&b.get?b.get(this):ib.propHooks._default.get(this)},run:function(b){var e,n=ib.propHooks[this.prop];this.pos=this.options.duration?e=u.easing[this.easing](b,this.options.duration*b,0,1,this.options.duration):e=b;this.now=(this.end-this.start)*e+this.start;this.options.step&&this.options.step.call(this.elem,this.now,this);n&&n.set?n.set(this):ib.propHooks._default.set(this);return this}};ib.prototype.init.prototype=
ib.prototype;ib.propHooks={_default:{get:function(b){return 1!==b.elem.nodeType||null!=b.elem[b.prop]&&null==b.elem.style[b.prop]?b.elem[b.prop]:(b=u.css(b.elem,b.prop,""))&&"auto"!==b?b:0},set:function(b){if(u.fx.step[b.prop])u.fx.step[b.prop](b);else 1!==b.elem.nodeType||!u.cssHooks[b.prop]&&null==b.elem.style[hb(b.prop)]?b.elem[b.prop]=b.now:u.style(b.elem,b.prop,b.now+b.unit)}}};ib.propHooks.scrollTop=ib.propHooks.scrollLeft={set:function(b){b.elem.nodeType&&b.elem.parentNode&&(b.elem[b.prop]=
b.now)}};u.easing={linear:function(b){return b},swing:function(b){return.5-Math.cos(b*Math.PI)/2},_default:"swing"};u.fx=ib.prototype.init;u.fx.step={};var Wb,Hb,Lc=/^(?:toggle|show|hide)$/,Od=/queueHooks$/;u.Animation=u.extend(rb,{tweeners:{"*":[function(b,e){var n=this.createTween(b,e);ra(n.elem,b,gc.exec(e),n);return n}]},tweener:function(b,e){za(b)?(e=b,b=["*"]):b=b.match(Fb);for(var n,q=0,z=b.length;q<z;q++)n=b[q],rb.tweeners[n]=rb.tweeners[n]||[],rb.tweeners[n].unshift(e)},prefilters:[function(b,
e,n){var q;var z="width"in e||"height"in e;var B=this,I={},Q=b.style,L=b.nodeType&&nc(b),a=wa.get(b,"fxshow");if(!n.queue){var c=u._queueHooks(b,"fx");if(null==c.unqueued){c.unqueued=0;var g=c.empty.fire;c.empty.fire=function(){c.unqueued||g()}}c.unqueued++;B.always(function(){B.always(function(){c.unqueued--;u.queue(b,"fx").length||c.empty.fire()})})}for(q in e){var m=e[q];if(Lc.test(m)){delete e[q];var x=x||"toggle"===m;if(m===(L?"hide":"show"))if("show"===m&&a&&void 0!==a[q])L=!0;else continue;
I[q]=a&&a[q]||u.style(b,q)}}if((e=!u.isEmptyObject(e))||!u.isEmptyObject(I)){if(z&&1===b.nodeType){n.overflow=[Q.overflow,Q.overflowX,Q.overflowY];var A=a&&a.display;null==A&&(A=wa.get(b,"display"));z=u.css(b,"display");"none"===z&&(A?z=A:(sa([b],!0),A=b.style.display||A,z=u.css(b,"display"),sa([b])));("inline"===z||"inline-block"===z&&null!=A)&&"none"===u.css(b,"float")&&(e||(B.done(function(){Q.display=A}),null==A&&(z=Q.display,A="none"===z?"":z)),Q.display="inline-block")}n.overflow&&(Q.overflow=
"hidden",B.always(function(){Q.overflow=n.overflow[0];Q.overflowX=n.overflow[1];Q.overflowY=n.overflow[2]}));e=!1;for(q in I)e||(a?"hidden"in a&&(L=a.hidden):a=wa.access(b,"fxshow",{display:A}),x&&(a.hidden=!L),L&&sa([b],!0),B.done(function(){L||sa([b]);wa.remove(b,"fxshow");for(q in I)u.style(b,q,I[q])})),e=Pc(L?a[q]:0,q,B),q in a||(a[q]=e.start,L&&(e.end=e.start,e.start=0))}}],prefilter:function(b,e){e?rb.prefilters.unshift(b):rb.prefilters.push(b)}});u.speed=function(b,e,n){var q=b&&"object"===
typeof b?u.extend({},b):{complete:n||!n&&e||za(b)&&b,duration:b,easing:n&&e||e&&!za(e)&&e};u.fx.off?q.duration=0:"number"!==typeof q.duration&&(q.duration=q.duration in u.fx.speeds?u.fx.speeds[q.duration]:u.fx.speeds._default);if(null==q.queue||!0===q.queue)q.queue="fx";q.old=q.complete;q.complete=function(){za(q.old)&&q.old.call(this);q.queue&&u.dequeue(this,q.queue)};return q};u.fn.extend({fadeTo:function(b,e,n,q){return this.filter(nc).css("opacity",0).show().end().animate({opacity:e},b,n,q)},
animate:function(b,e,n,q){var z=u.isEmptyObject(b),B=u.speed(e,n,q);e=function(){var I=rb(this,u.extend({},b),B);(z||wa.get(this,"finish"))&&I.stop(!0)};e.finish=e;return z||!1===B.queue?this.each(e):this.queue(B.queue,e)},stop:function(b,e,n){var q=function(z){var B=z.stop;delete z.stop;B(n)};"string"!==typeof b&&(n=e,e=b,b=void 0);e&&this.queue(b||"fx",[]);return this.each(function(){var z=!0,B=null!=b&&b+"queueHooks",I=u.timers,Q=wa.get(this);if(B)Q[B]&&Q[B].stop&&q(Q[B]);else for(B in Q)Q[B]&&
Q[B].stop&&Od.test(B)&&q(Q[B]);for(B=I.length;B--;)I[B].elem!==this||null!=b&&I[B].queue!==b||(I[B].anim.stop(n),z=!1,I.splice(B,1));!z&&n||u.dequeue(this,b)})},finish:function(b){!1!==b&&(b=b||"fx");return this.each(function(){var e=wa.get(this),n=e[b+"queue"];var q=e[b+"queueHooks"];var z=u.timers,B=n?n.length:0;e.finish=!0;u.queue(this,b,[]);q&&q.stop&&q.stop.call(this,!0);for(q=z.length;q--;)z[q].elem===this&&z[q].queue===b&&(z[q].anim.stop(!0),z.splice(q,1));for(q=0;q<B;q++)n[q]&&n[q].finish&&
n[q].finish.call(this);delete e.finish})}});u.each(["toggle","show","hide"],function(b,e){var n=u.fn[e];u.fn[e]=function(q,z,B){return null==q||"boolean"===typeof q?n.apply(this,arguments):this.animate(vb(e,!0),q,z,B)}});u.each({slideDown:vb("show"),slideUp:vb("hide"),slideToggle:vb("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(b,e){u.fn[b]=function(n,q,z){return this.animate(e,n,q,z)}});u.timers=[];u.fx.tick=function(){var b=0,e=u.timers;for(Wb=
Date.now();b<e.length;b++){var n=e[b];n()||e[b]!==n||e.splice(b--,1)}e.length||u.fx.stop();Wb=void 0};u.fx.timer=function(b){u.timers.push(b);u.fx.start()};u.fx.interval=13;u.fx.start=function(){Hb||(Hb=!0,Ob())};u.fx.stop=function(){Hb=null};u.fx.speeds={slow:600,fast:200,_default:400};u.fn.delay=function(b,e){b=u.fx?u.fx.speeds[b]||b:b;return this.queue(e||"fx",function(n,q){var z=l.setTimeout(n,b);q.stop=function(){l.clearTimeout(z)}})};(function(){var b=Ha.createElement("input"),e=Ha.createElement("select").appendChild(Ha.createElement("option"));
b.type="checkbox";Ka.checkOn=""!==b.value;Ka.optSelected=e.selected;b=Ha.createElement("input");b.value="t";b.type="radio";Ka.radioValue="t"===b.value})();var tc=u.expr.attrHandle;u.fn.extend({attr:function(b,e){return ob(this,u.attr,b,e,1<arguments.length)},removeAttr:function(b){return this.each(function(){u.removeAttr(this,b)})}});u.extend({attr:function(b,e,n){var q,z,B=b.nodeType;if(3!==B&&8!==B&&2!==B){if("undefined"===typeof b.getAttribute)return u.prop(b,e,n);1===B&&u.isXMLDoc(b)||(z=u.attrHooks[e.toLowerCase()]||
(u.expr.match.bool.test(e)?Pd:void 0));if(void 0!==n){if(null===n){u.removeAttr(b,e);return}if(z&&"set"in z&&void 0!==(q=z.set(b,n,e)))return q;b.setAttribute(e,n+"");return n}if(z&&"get"in z&&null!==(q=z.get(b,e)))return q;q=u.find.attr(b,e);return null==q?void 0:q}},attrHooks:{type:{set:function(b,e){if(!Ka.radioValue&&"radio"===e&&p(b,"input")){var n=b.value;b.setAttribute("type",e);n&&(b.value=n);return e}}}},removeAttr:function(b,e){var n=0,q=e&&e.match(Fb);if(q&&1===b.nodeType)for(;e=q[n++];)b.removeAttribute(e)}});
var Pd={set:function(b,e,n){!1===e?u.removeAttr(b,n):b.setAttribute(n,n);return n}};u.each(u.expr.match.bool.source.match(/\w+/g),function(b,e){var n=tc[e]||u.find.attr;tc[e]=function(q,z,B){var I=z.toLowerCase();if(!B){var Q=tc[I];tc[I]=L;var L=null!=n(q,z,B)?I:null;tc[I]=Q}return L}});var Qd=/^(?:input|select|textarea|button)$/i,Lb=/^(?:a|area)$/i;u.fn.extend({prop:function(b,e){return ob(this,u.prop,b,e,1<arguments.length)},removeProp:function(b){return this.each(function(){delete this[u.propFix[b]||
b]})}});u.extend({prop:function(b,e,n){var q,z=b.nodeType;if(3!==z&&8!==z&&2!==z){if(1!==z||!u.isXMLDoc(b)){e=u.propFix[e]||e;var B=u.propHooks[e]}return void 0!==n?B&&"set"in B&&void 0!==(q=B.set(b,n,e))?q:b[e]=n:B&&"get"in B&&null!==(q=B.get(b,e))?q:b[e]}},propHooks:{tabIndex:{get:function(b){var e=u.find.attr(b,"tabindex");return e?parseInt(e,10):Qd.test(b.nodeName)||Lb.test(b.nodeName)&&b.href?0:-1}}},propFix:{"for":"htmlFor","class":"className"}});Ka.optSelected||(u.propHooks.selected={get:function(b){(b=
b.parentNode)&&b.parentNode&&b.parentNode.selectedIndex;return null},set:function(b){if(b=b.parentNode)b.selectedIndex,b.parentNode&&b.parentNode.selectedIndex}});u.each("tabIndex readOnly maxLength cellSpacing cellPadding rowSpan colSpan useMap frameBorder contentEditable".split(" "),function(){u.propFix[this.toLowerCase()]=this});u.fn.extend({addClass:function(b){var e,n,q,z,B=0;if(za(b))return this.each(function(L){u(this).addClass(b.call(this,L,Ib(this)))});var I=oc(b);if(I.length)for(;e=this[B++];){var Q=
Ib(e);if(n=1===e.nodeType&&" "+Xb(Q)+" "){for(z=0;q=I[z++];)0>n.indexOf(" "+q+" ")&&(n+=q+" ");n=Xb(n);Q!==n&&e.setAttribute("class",n)}}return this},removeClass:function(b){var e,n,q,z,B=0;if(za(b))return this.each(function(L){u(this).removeClass(b.call(this,L,Ib(this)))});if(!arguments.length)return this.attr("class","");var I=oc(b);if(I.length)for(;e=this[B++];){var Q=Ib(e);if(n=1===e.nodeType&&" "+Xb(Q)+" "){for(z=0;q=I[z++];)for(;-1<n.indexOf(" "+q+" ");)n=n.replace(" "+q+" "," ");n=Xb(n);Q!==
n&&e.setAttribute("class",n)}}return this},toggleClass:function(b,e){var n=typeof b,q="string"===n||Array.isArray(b);return"boolean"===typeof e&&q?e?this.addClass(b):this.removeClass(b):za(b)?this.each(function(z){u(this).toggleClass(b.call(this,z,Ib(this),e),e)}):this.each(function(){var z,B;if(q){var I=0;var Q=u(this);for(B=oc(b);z=B[I++];)Q.hasClass(z)?Q.removeClass(z):Q.addClass(z)}else if(void 0===b||"boolean"===n)(z=Ib(this))&&wa.set(this,"__className__",z),this.setAttribute&&this.setAttribute("class",
z||!1===b?"":wa.get(this,"__className__")||"")})},hasClass:function(b){var e,n=0;for(b=" "+b+" ";e=this[n++];)if(1===e.nodeType&&-1<(" "+Xb(Ib(e))+" ").indexOf(b))return!0;return!1}});var Yc=/\r/g;u.fn.extend({val:function(b){var e,n,q=this[0];if(arguments.length){var z=za(b);return this.each(function(B){1===this.nodeType&&(B=z?b.call(this,B,u(this).val()):b,null==B?B="":"number"===typeof B?B+="":Array.isArray(B)&&(B=u.map(B,function(I){return null==I?"":I+""})),e=u.valHooks[this.type]||u.valHooks[this.nodeName.toLowerCase()],
e&&"set"in e&&void 0!==e.set(this,B,"value")||(this.value=B))})}if(q){if((e=u.valHooks[q.type]||u.valHooks[q.nodeName.toLowerCase()])&&"get"in e&&void 0!==(n=e.get(q,"value")))return n;n=q.value;return"string"===typeof n?n.replace(Yc,""):null==n?"":n}}});u.extend({valHooks:{option:{get:function(b){var e=u.find.attr(b,"value");return null!=e?e:Xb(u.text(b))}},select:{get:function(b){var e=b.options,n=b.selectedIndex,q="select-one"===b.type,z=q?null:[],B=q?n+1:e.length;for(b=0>n?B:q?n:0;b<B;b++){var I=
e[b];if(!(!I.selected&&b!==n||I.disabled||I.parentNode.disabled&&p(I.parentNode,"optgroup"))){I=u(I).val();if(q)return I;z.push(I)}}return z},set:function(b,e){for(var n,q=b.options,z=u.makeArray(e),B=q.length;B--;)if(e=q[B],e.selected=-1<u.inArray(u.valHooks.option.get(e),z))n=!0;n||(b.selectedIndex=-1);return z}}}});u.each(["radio","checkbox"],function(){u.valHooks[this]={set:function(b,e){if(Array.isArray(e))return b.checked=-1<u.inArray(u(b).val(),e)}};Ka.checkOn||(u.valHooks[this].get=function(b){return null===
b.getAttribute("value")?"on":b.value})});Ka.focusin="onfocusin"in l;var Tb=/^(?:focusinfocus|focusoutblur)$/,uc=function(b){b.stopPropagation()};u.extend(u.event,{trigger:function(b,e,n,q){var z,B,I,Q=[n||Ha],L=Ec.call(b,"type")?b.type:b;var a=Ec.call(b,"namespace")?b.namespace.split("."):[];var c=I=z=n=n||Ha;if(3!==n.nodeType&&8!==n.nodeType&&!Tb.test(L+u.event.triggered)){-1<L.indexOf(".")&&(a=L.split("."),L=a.shift(),a.sort());var g=0>L.indexOf(":")&&"on"+L;b=b[u.expando]?b:new u.Event(L,"object"===
typeof b&&b);b.isTrigger=q?2:3;b.namespace=a.join(".");b.rnamespace=b.namespace?new RegExp("(^|\\.)"+a.join("\\.(?:.*\\.|)")+"(\\.|$)"):null;b.result=void 0;b.target||(b.target=n);e=null==e?[b]:u.makeArray(e,[b]);a=u.event.special[L]||{};if(q||!a.trigger||!1!==a.trigger.apply(n,e)){if(!q&&!a.noBubble&&!Ub(n)){var m=a.delegateType||L;Tb.test(m+L)||(c=c.parentNode);for(;c;c=c.parentNode)Q.push(c),z=c;z===(n.ownerDocument||Ha)&&Q.push(z.defaultView||z.parentWindow||l)}for(z=0;(c=Q[z++])&&!b.isPropagationStopped();)I=
c,b.type=1<z?m:a.bindType||L,(B=(wa.get(c,"events")||Object.create(null))[b.type]&&wa.get(c,"handle"))&&B.apply(c,e),(B=g&&c[g])&&B.apply&&bc(c)&&(b.result=B.apply(c,e),!1===b.result&&b.preventDefault());b.type=L;q||b.isDefaultPrevented()||a._default&&!1!==a._default.apply(Q.pop(),e)||!bc(n)||!g||!za(n[L])||Ub(n)||((z=n[g])&&(n[g]=null),u.event.triggered=L,b.isPropagationStopped()&&I.addEventListener(L,uc),n[L](),b.isPropagationStopped()&&I.removeEventListener(L,uc),u.event.triggered=void 0,z&&(n[g]=
z));return b.result}}},simulate:function(b,e,n){b=u.extend(new u.Event,n,{type:b,isSimulated:!0});u.event.trigger(b,null,e)}});u.fn.extend({trigger:function(b,e){return this.each(function(){u.event.trigger(b,e,this)})},triggerHandler:function(b,e){var n=this[0];if(n)return u.event.trigger(b,e,n,!0)}});Ka.focusin||u.each({focus:"focusin",blur:"focusout"},function(b,e){var n=function(q){u.event.simulate(e,q.target,u.event.fix(q))};u.event.special[e]={setup:function(){var q=this.ownerDocument||this.document||
this,z=wa.access(q,e);z||q.addEventListener(b,n,!0);wa.access(q,e,(z||0)+1)},teardown:function(){var q=this.ownerDocument||this.document||this,z=wa.access(q,e)-1;z?wa.access(q,e,z):(q.removeEventListener(b,n,!0),wa.remove(q,e))}}});var vc=l.location,lc=Date.now(),Zc=/\?/;u.parseXML=function(b){if(!b||"string"!==typeof b)return null;try{var e=(new l.DOMParser).parseFromString(b,"text/xml")}catch(n){e=void 0}e&&!e.getElementsByTagName("parsererror").length||u.error("Invalid XML: "+b);return e};var Fd=
/\[\]$/,Mc=/\r?\n/g,Rd=/^(?:submit|button|image|reset|file)$/i,$c=/^(?:input|select|textarea|keygen)/i;u.param=function(b,e){var n,q=[],z=function(B,I){I=za(I)?I():I;q[q.length]=encodeURIComponent(B)+"\x3d"+encodeURIComponent(null==I?"":I)};if(null==b)return"";if(Array.isArray(b)||b.jquery&&!u.isPlainObject(b))u.each(b,function(){z(this.name,this.value)});else for(n in b)Cc(n,b[n],e,z);return q.join("\x26")};u.fn.extend({serialize:function(){return u.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var b=
u.prop(this,"elements");return b?u.makeArray(b):this}).filter(function(){var b=this.type;return this.name&&!u(this).is(":disabled")&&$c.test(this.nodeName)&&!Rd.test(b)&&(this.checked||!kc.test(b))}).map(function(b,e){b=u(this).val();return null==b?null:Array.isArray(b)?u.map(b,function(n){return{name:e.name,value:n.replace(Mc,"\r\n")}}):{name:e.name,value:b.replace(Mc,"\r\n")}}).get()}});var ad=/%20/g,Sd=/#.*$/,Td=/([?&])_=[^&]*/,zd=/^(.*?):[ \t]*([^\r\n]*)$/mg,Ud=/^(?:GET|HEAD)$/,Vd=/^\/\//,Ad=
{},Dc={},bd="*/".concat("*"),wc=Ha.createElement("a");wc.href=vc.href;u.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:vc.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(vc.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset\x3dUTF-8",accepts:{"*":bd,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},
responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":u.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(b,e){return e?la(la(b,u.ajaxSettings),e):la(u.ajaxSettings,b)},ajaxPrefilter:Qc(Ad),ajaxTransport:Qc(Dc),ajax:function(b,e){function n(ca,va,xa,ta){var Ma,Fa=va;if(!ba){ba=!0;I&&l.clearTimeout(I);q=void 0;z=ta||"";O.readyState=0<ca?4:0;ta=200<=ca&&300>ca||304===ca;xa&&(Ma=Pb(a,O,xa));
!ta&&-1<u.inArray("script",a.dataTypes)&&(a.converters["text script"]=function(){});Ma=md(a,Ma,O,ta);if(ta)if(a.ifModified&&((xa=O.getResponseHeader("Last-Modified"))&&(u.lastModified[X]=xa),(xa=O.getResponseHeader("etag"))&&(u.etag[X]=xa)),204===ca||"HEAD"===a.type)Fa="nocontent";else if(304===ca)Fa="notmodified";else{Fa=Ma.state;var Va=Ma.data;var ua=Ma.error;ta=!ua}else if(ua=Fa,ca||!Fa)Fa="error",0>ca&&(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&&g.trigger(ta?"ajaxSuccess":"ajaxError",[O,a,ta?Va:ua]);x.fireWith(c,[O,Fa]);Q&&(g.trigger("ajaxComplete",[O,a]),--u.active||u.event.trigger("ajaxStop"))}}"object"===typeof b&&(e=b,b=void 0);e=e||{};var q,z,B,I,Q,L,a=u.ajaxSetup({},e),c=a.context||a,g=a.context&&(c.nodeType||c.jquery)?u(c):u.event,m=u.Deferred(),x=u.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(z);)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?z: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;q&&q.abort(ca);
n(0,ca);return this}};m.promise(O);a.url=((b||a.url||vc.href)+"").replace(Vd,vc.protocol+"//");a.type=e.method||e.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+"//"+wc.host!==b.protocol+"//"+b.host}catch(ca){a.crossDomain=!0}}a.data&&a.processData&&"string"!==typeof a.data&&(a.data=u.param(a.data,a.traditional));Gb(Ad,a,e,O);if(ba)return O;(Q=u.event&&a.global)&&
0===u.active++&&u.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&&(u.lastModified[X]&&
O.setRequestHeader("If-Modified-Since",u.lastModified[X]),u.etag[X]&&O.setRequestHeader("If-None-Match",u.etag[X]));(a.data&&a.hasContent&&!1!==a.contentType||e.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";x.add(a.complete);O.done(a.success);O.fail(a.error);if(q=Gb(Dc,a,e,O)){O.readyState=1;Q&&g.trigger("ajaxSend",[O,a]);if(ba)return O;a.async&&0<a.timeout&&(I=l.setTimeout(function(){O.abort("timeout")},a.timeout));try{var ba=!1;q.send(G,n)}catch(ca){if(ba)throw ca;n(-1,ca)}}else n(-1,"No Transport");return O},getJSON:function(b,e,n){return u.get(b,e,n,"json")},getScript:function(b,e){return u.get(b,void 0,e,"script")}});u.each(["get","post"],function(b,e){u[e]=function(n,q,z,B){za(q)&&(B=
B||z,z=q,q=void 0);return u.ajax(u.extend({url:n,type:e,dataType:B,data:q,success:z},u.isPlainObject(n)&&n))}});u.ajaxPrefilter(function(b){for(var e in b.headers)"content-type"===e.toLowerCase()&&(b.contentType=b.headers[e]||"")});u._evalUrl=function(b,e,n){return u.ajax({url:b,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(q){u.globalEval(q,e,n)}})};u.fn.extend({wrapAll:function(b){this[0]&&(za(b)&&(b=b.call(this[0])),b=u(b,this[0].ownerDocument).eq(0).clone(!0),
this[0].parentNode&&b.insertBefore(this[0]),b.map(function(){for(var e=this;e.firstElementChild;)e=e.firstElementChild;return e}).append(this));return this},wrapInner:function(b){return za(b)?this.each(function(e){u(this).wrapInner(b.call(this,e))}):this.each(function(){var e=u(this),n=e.contents();n.length?n.wrapAll(b):e.append(b)})},wrap:function(b){var e=za(b);return this.each(function(n){u(this).wrapAll(e?b.call(this,n):b)})},unwrap:function(b){this.parent(b).not("body").each(function(){u(this).replaceWith(this.childNodes)});
return this}});u.expr.pseudos.hidden=function(b){return!u.expr.pseudos.visible(b)};u.expr.pseudos.visible=function(b){return!!(b.offsetWidth||b.offsetHeight||b.getClientRects().length)};u.ajaxSettings.xhr=function(){try{return new l.XMLHttpRequest}catch(b){}};var Bd={0:200,1223:204},ec=u.ajaxSettings.xhr();Ka.cors=!!ec&&"withCredentials"in ec;Ka.ajax=ec=!!ec;u.ajaxTransport(function(b){var e,n;if(Ka.cors||ec&&!b.crossDomain)return{send:function(q,z){var B,I=b.xhr();I.open(b.type,b.url,b.async,b.username,
b.password);if(b.xhrFields)for(B in b.xhrFields)I[B]=b.xhrFields[B];b.mimeType&&I.overrideMimeType&&I.overrideMimeType(b.mimeType);b.crossDomain||q["X-Requested-With"]||(q["X-Requested-With"]="XMLHttpRequest");for(B in q)I.setRequestHeader(B,q[B]);e=function(Q){return function(){e&&(e=n=I.onload=I.onerror=I.onabort=I.ontimeout=I.onreadystatechange=null,"abort"===Q?I.abort():"error"===Q?"number"!==typeof I.status?z(0,"error"):z(I.status,I.statusText):z(Bd[I.status]||I.status,I.statusText,"text"!==
(I.responseType||"text")||"string"!==typeof I.responseText?{binary:I.response}:{text:I.responseText},I.getAllResponseHeaders()))}};I.onload=e();n=I.onerror=I.ontimeout=e("error");void 0!==I.onabort?I.onabort=n:I.onreadystatechange=function(){4===I.readyState&&l.setTimeout(function(){e&&n()})};e=e("abort");try{I.send(b.hasContent&&b.data||null)}catch(Q){if(e)throw Q;}},abort:function(){e&&e()}}});u.ajaxPrefilter(function(b){b.crossDomain&&(b.contents.script=!1)});u.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},
contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(b){u.globalEval(b);return b}}});u.ajaxPrefilter("script",function(b){void 0===b.cache&&(b.cache=!1);b.crossDomain&&(b.type="GET")});u.ajaxTransport("script",function(b){if(b.crossDomain||b.scriptAttrs){var e,n;return{send:function(q,z){e=u("\x3cscript\x3e").attr(b.scriptAttrs||{}).prop({charset:b.scriptCharset,src:b.url}).on("load error",n=function(B){e.remove();n=null;B&&z("error"===B.type?404:200,B.type)});Ha.head.appendChild(e[0])},
abort:function(){n&&n()}}}});var fc=[],cd=/(=)\?(?=&|$)|\?\?/;u.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var b=fc.pop()||u.expando+"_"+lc++;this[b]=!0;return b}});u.ajaxPrefilter("json jsonp",function(b,e,n){var q,z=!1!==b.jsonp&&(cd.test(b.url)?"url":"string"===typeof b.data&&0===(b.contentType||"").indexOf("application/x-www-form-urlencoded")&&cd.test(b.data)&&"data");if(z||"jsonp"===b.dataTypes[0]){var B=b.jsonpCallback=za(b.jsonpCallback)?b.jsonpCallback():b.jsonpCallback;z?b[z]=b[z].replace(cd,
"$1"+B):!1!==b.jsonp&&(b.url+=(Zc.test(b.url)?"\x26":"?")+b.jsonp+"\x3d"+B);b.converters["script json"]=function(){q||u.error(B+" was not called");return q[0]};b.dataTypes[0]="json";var I=l[B];l[B]=function(){q=arguments};n.always(function(){void 0===I?u(l).removeProp(B):l[B]=I;b[B]&&(b.jsonpCallback=e.jsonpCallback,fc.push(B));q&&za(I)&&I(q[0]);q=I=void 0});return"script"}});Ka.createHTMLDocument=function(){var b=Ha.implementation.createHTMLDocument("").body;b.innerHTML="\x3cform\x3e\x3c/form\x3e\x3cform\x3e\x3c/form\x3e";
return 2===b.childNodes.length}();u.parseHTML=function(b,e,n){if("string"!==typeof b)return[];"boolean"===typeof e&&(n=e,e=!1);if(!e)if(Ka.createHTMLDocument){e=Ha.implementation.createHTMLDocument("");var q=e.createElement("base");q.href=Ha.location.href;e.head.appendChild(q)}else e=Ha;q=Eb.exec(b);n=!n&&[];if(q)return[e.createElement(q[1])];q=Qa([b],e,n);n&&n.length&&u(n).remove();return u.merge([],q.childNodes)};u.fn.load=function(b,e,n){var q,z,B=this,I=b.indexOf(" ");if(-1<I){var Q=Xb(b.slice(I));
b=b.slice(0,I)}za(e)?(n=e,e=void 0):e&&"object"===typeof e&&(q="POST");0<B.length&&u.ajax({url:b,type:q||"GET",dataType:"html",data:e}).done(function(L){z=arguments;B.html(Q?u("\x3cdiv\x3e").append(u.parseHTML(L)).find(Q):L)}).always(n&&function(L,a){B.each(function(){n.apply(this,z||[L.responseText,a,L])})});return this};u.expr.pseudos.animated=function(b){return u.grep(u.timers,function(e){return b===e.elem}).length};u.offset={setOffset:function(b,e,n){var q=u.css(b,"position"),z=u(b),B={};"static"===
q&&(b.style.position="relative");var I=z.offset();var Q=u.css(b,"top");var L=u.css(b,"left");("absolute"===q||"fixed"===q)&&-1<(Q+L).indexOf("auto")?(L=z.position(),Q=L.top,L=L.left):(Q=parseFloat(Q)||0,L=parseFloat(L)||0);za(e)&&(e=e.call(b,n,u.extend({},I)));null!=e.top&&(B.top=e.top-I.top+Q);null!=e.left&&(B.left=e.left-I.left+L);"using"in e?e.using.call(b,B):("number"===typeof B.top&&(B.top+="px"),"number"===typeof B.left&&(B.left+="px"),z.css(B))}};u.fn.extend({offset:function(b){if(arguments.length)return void 0===
b?this:this.each(function(q){u.offset.setOffset(this,b,q)});var e;if(e=this[0]){if(!e.getClientRects().length)return{top:0,left:0};var n=e.getBoundingClientRect();e=e.ownerDocument.defaultView;return{top:n.top+e.pageYOffset,left:n.left+e.pageXOffset}}},position:function(){if(this[0]){var b,e=this[0],n={top:0,left:0};if("fixed"===u.css(e,"position"))var q=e.getBoundingClientRect();else{q=this.offset();var z=e.ownerDocument;for(b=e.offsetParent||z.documentElement;b&&(b===z.body||b===z.documentElement)&&
"static"===u.css(b,"position");)b=b.parentNode;b&&b!==e&&1===b.nodeType&&(n=u(b).offset(),n.top+=u.css(b,"borderTopWidth",!0),n.left+=u.css(b,"borderLeftWidth",!0))}return{top:q.top-n.top-u.css(e,"marginTop",!0),left:q.left-n.left-u.css(e,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var b=this.offsetParent;b&&"static"===u.css(b,"position");)b=b.offsetParent;return b||cc})}});u.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(b,e){var n="pageYOffset"===
e;u.fn[b]=function(q){return ob(this,function(z,B,I){if(Ub(z))var Q=z;else 9===z.nodeType&&(Q=z.defaultView);if(void 0===I)return Q?Q[e]:z[B];Q?Q.scrollTo(n?Q.pageXOffset:I,n?I:Q.pageYOffset):z[B]=I},b,q,arguments.length)}});u.each(["top","left"],function(b,e){u.cssHooks[e]=qb(Ka.pixelPosition,function(n,q){if(q)return q=pb(n,e),Ac.test(q)?u(n).position()[e]+"px":q})});u.each({Height:"height",Width:"width"},function(b,e){u.each({padding:"inner"+b,content:e,"":"outer"+b},function(n,q){u.fn[q]=function(z,
B){var I=arguments.length&&(n||"boolean"!==typeof z),Q=n||(!0===z||!0===B?"margin":"border");return ob(this,function(L,a,c){return Ub(L)?0===q.indexOf("outer")?L["inner"+b]:L.document.documentElement["client"+b]:9===L.nodeType?(a=L.documentElement,Math.max(L.body["scroll"+b],a["scroll"+b],L.body["offset"+b],a["offset"+b],a["client"+b])):void 0===c?u.css(L,a,Q):u.style(L,a,c,Q)},e,I?z:void 0,I)}})});u.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(b,e){u.fn[e]=
function(n){return this.on(e,n)}});u.fn.extend({bind:function(b,e,n){return this.on(b,null,e,n)},unbind:function(b,e){return this.off(b,null,e)},delegate:function(b,e,n,q){return this.on(e,b,n,q)},undelegate:function(b,e,n){return 1===arguments.length?this.off(b,"**"):this.off(e,b||"**",n)},hover:function(b,e){return this.mouseenter(b).mouseleave(e||b)}});u.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),
function(b,e){u.fn[e]=function(n,q){return 0<arguments.length?this.on(e,null,n,q):this.trigger(e)}});var Wd=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;u.proxy=function(b,e){if("string"===typeof e){var n=b[e];e=b;b=n}if(za(b)){var q=Ab.call(arguments,2);n=function(){return b.apply(e||this,q.concat(Ab.call(arguments)))};n.guid=b.guid=b.guid||u.guid++;return n}};u.holdReady=function(b){b?u.readyWait++:u.ready(!0)};u.isArray=Array.isArray;u.parseJSON=JSON.parse;u.nodeName=p;u.isFunction=za;u.isWindow=Ub;u.camelCase=
Y;u.type=f;u.now=Date.now;u.isNumeric=function(b){var e=u.type(b);return("number"===e||"string"===e)&&!isNaN(b-parseFloat(b))};u.trim=function(b){return null==b?"":(b+"").replace(Wd,"")};"function"===typeof define&&define.amd&&define("jquery",[],function(){return u});var Cd=l.jQuery,Xd=l.$;u.noConflict=function(b){l.$===u&&(l.$=Xd);b&&l.jQuery===u&&(l.jQuery=Cd);return u};"undefined"===typeof w&&(l.jQuery=l.$=u);return u});window.ContextHubJQ=window.jQuery.noConflict(!0);
(function(){Function.prototype.bind||(Function.prototype.bind=function(l){var w=this,k=[].slice.call(arguments,1),f=function(){if(this instanceof f){var d=function(){};d.prototype=w.prototype;d=new d;var p=w.apply(d,k.concat([].slice.call(arguments)));d=Object(p)===p?p:d}else d=w.apply(l,k.concat([].slice.call(arguments)));return d};return f})})();
(function(l){l.ContextHub=l.ContextHub||{};var w=function(f,d){return(l.ContextHubKernelConfig.debug||d)&&f?Function.prototype.bind.call(f,l.console):function(){}},k=function(f){var d=l.console||{},p=function(){};ContextHub.console={log:w(d.log),warn:w(d.warn),info:w(d.info),error:w(d.error,!0),debug:w(d.debug),time:w(d.time),timeEnd:w(d.timeEnd),timeStamp:w(d.timeStamp)};f=f||"info";"info"===f&&(ContextHub.console.info=p,ContextHub.console.debug=p);"debug"===f&&(ContextHub.console.log=p,ContextHub.console.warn=
p)};k();ContextHub.debug=function(f,d){"undefined"!==typeof f&&(l.ContextHubKernelConfig.debug=!0===f,k(d));return!!l.ContextHubKernelConfig.debug}})(window);
(function(l,w){w.ContextHub=w.ContextHub||{};w.ContextHub.Utils=w.ContextHub.Utils||{};w.ContextHub.Utils.JSON=w.ContextHub.Utils.JSON||{};var k=function(v){return"\\u"+("0000"+v.charCodeAt(0).toString(16)).slice(-4)},f=function(v){var t={"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"};return'"'+v.replace(/["\\\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,function(D){var E=t[D];return E?E:k(D)})+'"'},
d=function(v){var t=l.type(v);"object"===t&&l.isArray(v)&&(t="array");switch(t){case "null":case "boolean":return String(v);case "undefined":break;case "array":var D=[];for(t=0;t<v.length;t++)D.push(d(v[t])||"null");return"["+D.join(",")+"]";case "number":return String(isFinite(v)?v:"null");case "string":return f(v);case "date":D=v.getUTCFullYear();t=ContextHub.Shared.pad(v.getUTCMonth()+1);var E=ContextHub.Shared.pad(v.getUTCDate()),K=ContextHub.Shared.pad(v.getUTCHours()),T=ContextHub.Shared.pad(v.getUTCMinutes()),
Z=ContextHub.Shared.pad(v.getUTCSeconds());v=ContextHub.Shared.pad(v.getUTCMilliseconds(),3);return'"'+D+"-"+t+"-"+E+"T"+K+":"+T+":"+Z+"."+v+'Z"';case "regexp":return"{}";case "function":break;default:t=[];for(D in v)Object.prototype.hasOwnProperty.call(v,D)&&(E=typeof D,"number"===E||"string"===E)&&(K=v[D],E=typeof K,"function"!==E&&"undefined"!==E&&t.push(f(D)+":"+d(K)));return"{"+t.join(",")+"}"}},p=function(v){v=String(v).replace(/[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,
k);var t=v.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,"@").replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,"]").replace(/(?:^|:|,)(?:\s*\[)+/g,"");return/^[\],:{}\s]*$/.test(t)?eval("("+v+")"):{}},r=w.JSON&&JSON.stringify&&JSON.parse;ContextHub.Utils.JSON.stringify=r?JSON.stringify:d;ContextHub.Utils.JSON.parse=function(v){try{var t=(r?JSON.parse:p)(v)}catch(D){t={}}return t}})(ContextHubJQ,window);ContextHub.console.log("[loading] contexthub.constants - ContextHub.constants.js");
(function(l){ContextHub.Constants=l.extend(!0,ContextHub.Constants,{EVENT_NAMESPACE:"ch",EVENT_ALL_STORES_READY:"all-stores-ready",EVENT_STORES_PARTIALLY_READY:"stores-partially-ready",EVENT_STORE_REGISTERED:"store-registered",EVENT_STORE_READY:"store-ready",EVENT_STORE_UPDATED:"store-updated",PERSISTENCE_CONTAINER_NAME:"ContextHubPersistence",SERVICE_RAW_RESPONSE_KEY:"/_/raw-response",SERVICE_RESPONSE_TIME_KEY:"/_/response-time",SERVICE_LAST_URL_KEY:"/_/url",IS_CONTAINER_EXPANDED:"/_/container-expanded"});
ContextHub.console.time("contexthub.js");ContextHub.console.timeStamp("contexthub.start")})(ContextHubJQ);ContextHub.console.log("[loading] contexthub.constants - ContextHub.constants.deprecated.js");
(function(l){window.ContextHub=window.ContextHub||{};ContextHub.Constants=l.extend(!0,ContextHub.Constants,{EVENT_INITIALIZED:ContextHub.Constants.EVENT_ALL_STORES_READY,EVENT_REGISTER:ContextHub.Constants.EVENT_STORE_REGISTERED,EVENT_DATA_UPDATE:ContextHub.Constants.EVENT_STORE_UPDATED,CONTAINER_VISIBLE:ContextHub.Constants.IS_CONTAINER_EXPANDED,EVENT_CONFIG_LOADED:""})})(ContextHubJQ);
(function(l,w){w.ContextHub.Shared=w.ContextHub.Shared||{};ContextHub.Shared.pad=function(f,d){f=String(f);d=(d||2)-f.length;0<d&&(f=String(Math.pow(10,Math.min(d,20))).slice(1)+f);return f};var k={};ContextHub.Shared.timers={start:function(f){f=f||"id"+Math.random();k[f]=(new Date).getTime();return f},finish:function(f){return(f=k[f])?(new Date).getTime()-f:0}};ContextHub.Shared.timestamp=function(){var f=new Date,d=f.getYear()+1900,p=ContextHub.Shared.pad(f.getMonth()+1),r=ContextHub.Shared.pad(f.getDate()),
v=ContextHub.Shared.pad(f.getHours()),t=ContextHub.Shared.pad(f.getMinutes()),D=ContextHub.Shared.pad(f.getSeconds());f=ContextHub.Shared.pad(f.getMilliseconds(),3);return d+"-"+p+"-"+r+" "+v+":"+t+":"+D+"."+f};ContextHub.Shared.uuid=function(){function f(){return Math.floor(65536*(1+Math.random())).toString(16).substring(1)}return f()+f()+"-"+f()+"-"+f()+"-"+f()+"-"+f()+f()+f()};ContextHub.console.log(ContextHub.Shared.timestamp(),"[loading] contexthub.shared - ContextHub.Shared.js")})(ContextHubJQ,
window);ContextHubJQ(function(){ContextHub.console.log(ContextHub.Shared.timestamp(),"[event] DOM ready")});ContextHub.console.log(ContextHub.Shared.timestamp(),"[loading] contexthub.shared - ContextHub.Shared.CookieContainer.js");
(function(l,w){w.ContextHub.Shared=w.ContextHub.Shared||{};w.ContextHub.Shared.CookieContainer={};var k=w.ContextHub.Shared.CookieContainer,f=function(d){d=(ContextHub.Utils.Cookie.getItem(d.trim())||"").split(/\|/);var p={};l.each(d,function(r,v){(v=v.match(/(^.*?):=(.*)/))&&3===v.length&&(v.shift(),r=v.shift(),v=v.shift(),p[r]=decodeURIComponent(v))});return p};k.setItem=function(d,p,r){d=d.trim();var v=f(d),t=[];0>=d.length||(null===r||"undefined"===typeof r?delete v[p]:v[p]=r,l.each(v,function(D,
E){t.push(D+":\x3d"+encodeURIComponent(E))}),ContextHub.Utils.Cookie.setItem(d,t.join("|")))};k.getItem=function(d,p){return f(d)[p]};k.removeItem=function(d,p){k.setItem(d,p,null)}})(ContextHubJQ,window);ContextHub.console.log(ContextHub.Shared.timestamp(),"[loading] contexthub.utils - ContextHub.Utils.cookie.js");
(function(l,w){w.ContextHub.Utils=w.ContextHub.Utils||{};var k={path:"/",expires:void 0,domain:void 0,secure:!1,trimUndefined:!0},f=function(t,D){var E=l.type(D);"object"===E&&l.isArray(D)&&(E="array");switch(E){case "regexp":return D.test(t);case "string":return t===D;case "function":return!0===D(t);case "array":var K=!1;l(D).each(function(T,Z){K=f(t,Z);return!K});return K;default:return!1}},d=function(t){var D="undefined"===typeof t,E=w.document.cookie?w.document.cookie.split(/;/):[],K=[];l(E).each(function(T,
Z){T=decodeURIComponent(Z.split(/=/)[0].trim());T.length&&-1===l.inArray(T,K)&&(D||f(T,t))&&K.push(T)});return K.sort()},p=function(t,D,E){if("undefined"===typeof t)return!1;var K=l.type(D);E=l.extend(!0,{},k,E);D=!E.trimUndefined||"undefined"!==K&&"null"!==K?D:"";switch(l.type(E.expires)){case "date":break;case "number":K=new Date;K.setDate(K.getDate()+E.expires);E.expires=K;break;default:E.expires=void 0}t=[encodeURIComponent(t),"\x3d",encodeURIComponent(D),E.expires?"; expires\x3d"+E.expires.toUTCString():
"",E.domain?"; domain\x3d"+E.domain:"",E.path?"; path\x3d"+E.path:"",E.secure?"; secure":""].join("");return w.document.cookie=t},r=function(t){var D=w.document.cookie?w.document.cookie.split(/;/):[],E=null;l(D).each(function(K,T){K=decodeURIComponent(T.split(/=/).slice(1).join("\x3d").trim());decodeURIComponent(T.split(/=/)[0].trim())===t&&(E=K);return null===E});return E},v=function(t,D){p(t,"",l.extend({},D,{expires:-1}))};ContextHub.Utils.Cookie={setItem:p,getItem:r,getAllItems:function(t){var D=
{};l(d(t)).each(function(E,K){E=r(K);var T=l.type(E);"undefined"!==T&&"null"!==T&&(D[K]=E)});return D},getKeys:d,exists:function(t){return null!==r(t)},removeItem:v,vanish:function(t,D){l(d(t)).each(function(E,K){v(K,D)})}}})(ContextHubJQ,window);ContextHub.console.log(ContextHub.Shared.timestamp(),"[loading] contexthub.utils - ContextHub.Utils.json.js");
(function(l,w){w.ContextHub.Utils=w.ContextHub.Utils||{};var k=function(t){var D=null;"string"===typeof t&&(D=t.split(/(?:\s*\/+\s*)+/),""===D[0]&&D.shift(),D.length&&""===D[D.length-1]&&D.pop());return D},f=function(t,D){var E=null;if(D=k(D))for(E=t,t=0;t<D.length;t++)if(E=E[D[t]],null===E||"undefined"===typeof E){E=null;break}return E},d=function(t,D,E){D=k(D);E&&(t=l.extend(!0,{},t));if(D){var K={object:!0,array:!0},T=t,Z=[t];l.each(D.slice(0,-1),function(ha,ra){T=T[ra];Z.push(T);return!0===K[l.type(T)]});
if(T)for(delete T[D.slice(-1)],D.pop(),Z.pop();Z&&D&&0<Z.length&&0<D.length;){E=D.pop();T=Z.pop();var Y=T[E],V=l.type(Y);if("object"!==V&&"array"!==V||!l.isEmptyObject(Y))break;else delete T[E]}}return t},p=/^\[object (DIV|DOM|CSS|HTML|NamedNode|Node|Window)/,r=function(t){return t&&(t instanceof w.Node||t instanceof l||"function"===typeof t.css||"function"===typeof t.toString&&p.test(t.toString()))?!0:!1},v=function(t,D,E,K,T){D=D||"/";T=T||0;var Z=[],Y=l.type(t);"object"===Y&&r(t)&&(Y="invalid");
if("object"===Y||"array"===Y){K&&(t=ContextHub.Utils.JSON.tree.cleanup(t));for(var V in t)if(t.hasOwnProperty(V)){Y=t[V];var ha=D+V,ra=l.type(Y);Z.push(ha);"object"===ra&&r(Y)&&(ra="invalid");"object"!==ra&&"array"!==ra||l.merge(Z,v(Y,ha+"/",null,K,T+1))}}return 0===T?"function"===typeof E?Z.sort(E):Z.sort():Z};l.extend(ContextHub.Utils.JSON,{tree:{sanitizeKey:k,setItem:function(t,D,E,K){D=k(D);K&&(t=l.extend(!0,{},t));if(D){var T=t,Z={};l.each(D,function(Y,V){Z=T;Y=l.type(T[V]);"object"!==Y&&"array"!==
Y&&(T[V]={});T=T[V]});Z[D.slice(-1)]=E}return t},getItem:f,removeItem:d,getKeys:v,cleanup:function(t,D){D&&(t=l.extend(!0,{},t));D=v(t,null,function(E,K){var T=E.split(/\//).length,Z=K.split(/\//).length;return T!==Z?T>Z?-1:1:E===K?0:E>K?1:-1});l.each(D,function(E,K){E=f(t,K);var T=l.type(E);"object"!==T&&"array"!==T||!l.isEmptyObject(E)||(t=d(t,K))});return t},addAllItems:function(t,D){return l.extend(!0,{},t,D)}}})})(ContextHubJQ,window);ContextHub.console.log(ContextHub.Shared.timestamp(),"[loading] contexthub.utils - ContextHub.Utils.eventing.js");
(function(l,w){w.ContextHub.Utils=w.ContextHub.Utils||{};var k=function(){var ia=l.grep([w.requestAnimationFrame,w.msRequestAnimationFrame,w.mozRequestAnimationFrame,w.webkitRequestAnimationFrame,w.oRequestAnimationFrame],l.isFunction).shift();if(!ia){var ma=0;ia=function(Ca){var Ta=(new Date).getTime(),Da=Math.max(0,16-(Ta-ma)),Ja=w.setTimeout(function(){Ca(Ta+Da)},Da);ma=Ta+Da;return Ja}}return ia}();(function(){var ia=l.grep([w.cancelAnimationFrame,w.cancelRequestAnimationFrame,w.msCancelRequestAnimationFrame,
w.mozCancelRequestAnimationFrame,w.webkitCancelRequestAnimationFrame,w.oCancelRequestAnimationFrame],l.isFunction).shift();ia||(ia=function(ma){w.clearTimeout(ma)});return ia})();var f={},d={},p=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;l.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()}},r=function(){return this.queue},v=function(ia,ma){ia.list.push(ma.key);
ia.hash[ma.key]=ma},t=function(ia){for(var ma=l.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]=l.extend(!0,{},ub);Ca[Ob]._idx=parseFloat(eb+"."+(ib||0));lb&&(Ca[Ob].old=vb)},Da=0;Da<ia.data.length;Da++){var Ja=ia.data[Da],Ra=ContextHub.Utils.JSON.tree.getKeys(Ja.old),ab=ContextHub.Utils.JSON.tree.getKeys(Ja.value);if(Ra.length||ab.length){var pb="/"===Ja.key?"":Ja.key,qb=1,hb;for(hb=0;hb<Ra.length;hb++,qb++){var Xa=
Ra[hb];Ta({key:pb+Xa,value:null,old:ContextHub.Utils.JSON.tree.getItem(Ja.old,Xa),action:"remove"},Da,qb)}for(hb=0;hb<ab.length;hb++,qb++)Xa=ab[hb],Ta({key:pb+Xa,value:ContextHub.Utils.JSON.tree.getItem(Ja.value,Xa),old:ContextHub.Utils.JSON.tree.getItem(Ja.old||{},Xa),action:"set"},Da,qb)}else Ra=!(!Ja.key||!Ja.action)&&!/^\/_\//.test(Ja.key),ab=Ca[Ja.key]||{},Ra&&ab.old===Ja.value?delete Ca[Ja.key]:Ta(Ja,Da)}Ca=l.map(Ca,function(ub){return ub}).sort(function(ub,eb){return ub._idx-eb._idx});ia={set:{list:[],
hash:{}},removed:{list:[],hash:{}},all:{list:[],hash:{}}};l.each(Ca,function(ub,eb){delete eb._idx;eb.key&&eb.action&&(v(this.keys.all,eb),"set"===eb.action&&v(this.keys.set,eb),"remove"===eb.action&&v(this.keys.removed,eb))}.bind({keys:ia}));ma.data=Ca;ma.keys=ia;return ma},D=function(ia){0!==ia.indexOf(this.config.namespace+"-")&&(ia=this.config.namespace+"-"+ia);-1!==ia.indexOf(".")&&(ia=ia.split(/\./).shift());return!0===f[ia]},E=function(){this.running&&!this.queueIsEmpty&&(0===this.eventingCounter++%
this.periodicity&&l.each(this.queue[this.config.namespace]||{},function(ia,ma){if(!ma.paused&&(new Date).getTime()>ma.executeAt){var Ca=this.config.namespace+"-"+ia,Ta=ma.duration?"("+ma.duration+") ":"",Da=ContextHub.debug(),Ja=l(this.config.broadcast);if(!this.windowBroadcast.initialized){var Ra=w;var ab=w.parent;try{for(;Ra.location.origin===ab.location.origin&&(Ra=ab,ab=ab.parent,Ra!==w.top););}catch(Xa){}try{this.windowBroadcast.top=this.config.broadcast===Ra?null:Ra}catch(Xa){}this.windowBroadcast.initialized=
!0}Ra=this.windowBroadcast.top;ma=t(ma);ma.event=Ca;ma.overlay&&(ma=l.extend(!0,ma,ma.overlay));delete (this.queue[this.config.namespace]||{})[ia];this.queueIsEmpty=l.isEmptyObject(this.queue[this.config.namespace]);if(!ma.muteWhenNoData||ma.muteWhenNoData&&0<ma.data.length){ab=Ca.split(/:/);ia=ia.split(/:/);for(var pb=ab.length;0<pb;pb--){ma.channel=ia.slice(0,pb).join(":");var qb=ab.slice(0,pb).join(":");Ja.trigger(qb,ma);if(Ra&&Ra.document){var hb=Ra.document.createEvent("Event");hb.initEvent(qb,
!0,!0);hb.data=ma;Ra.dispatchEvent(hb)}Da&&ContextHub.console.debug(ContextHub.Shared.timestamp(),qb,"-",ma);f[qb]=!0}ContextHub.console.log(ContextHub.Shared.timestamp(),"[event]",Ca,Ta+"-",ma)}}}.bind(this)),k(this.eventingMonitor))},K=function(){this.running=!0;this.eventingMonitor()},T=function(){this.running=!1},Z=function(){return this.running},Y=function(){this.queue={}},V=function(ia,ma,Ca){this.queue=ContextHub.Utils.JSON.tree.setItem(this.queue,"/"+this.config.namespace+"/"+ia+"/"+ma,Ca)},
ha=function(ia){V.call(this,ia,"executeAt",0)},ra=function(ia){V.call(this,ia,"paused",!0)},sa=function(ia){V.call(this,ia,"paused",void 0)},Ba=function(ia){return!0===ContextHub.Utils.JSON.tree.getItem(this.queue,"/"+this.config.namespace+"/"+ia+"/paused")},Za=function(ia,ma,Ca){Ca=Ca?"."+Ca:"";ia="string"===typeof ia?ia.split(/ /):ia;for(var Ta=0;Ta<ia.length;Ta++){var Da=ia[Ta];0!==Da.indexOf(ma+"-")&&(ia[Ta]=ma+"-"+Da+Ca)}return ia.join(" ")},Qa=function(ia,ma,Ca,Ta){ia=Za(ia,this.config.namespace,
Ca);l(this.config.broadcast).on(ia,ma);d[ia]=!0;if(Ta){var Da=!1,Ja=this;l.each(ia.split(/ /),function(Ra,ab){Da=D.call(Ja,ab);return!0!==Da});Da&&ma()}},Oa=function(ia,ma,Ca,Ta){var Da=!1;ia=Za(ia,this.config.namespace,Ca);if(Ta){var Ja=this;l.each(ia.split(/ /),function(Ra,ab){Da=D.call(Ja,ab);return!0!==Da})}Da?ma():(l(this.config.broadcast).one(ia,ma),d[ia]=!0)},Wa=function(ia,ma){ia=Za(ia,this.config.namespace,ma);l(this.config.broadcast).off(ia);delete d[ia]},xc=function(){for(var ia in d)d.hasOwnProperty(ia)&&
ContextHub.eventing.off(ia);d={}};ContextHub.Utils.Eventing=function(ia){this.config=l.extend(!0,{},ContextHub.Utils.Eventing.defaultConfig,ia);this.eventingCounter=0;this.periodicity=Math.floor(Math.max(16,this.config.periodicity)/16);this.eventingMonitor=E.bind(this);this.windowBroadcast={top:null,initialized:!1};this.queue={};this.config.autoStart?K.call(this):this.running=!1;return{log:this.log,trigger:p.bind(this),getQueue:r.bind(this),isRunning:Z.bind(this),enableEventing:K.bind(this),disableEventing:T.bind(this),
alreadyTriggered:D.bind(this),clearQueue:Y.bind(this),flush:ha.bind(this),pause:ra.bind(this),resume:sa.bind(this),isPaused:Ba.bind(this),once:Oa.bind(this),on:Qa.bind(this),off:Wa.bind(this),unbindAllHandlers:xc.bind(this),namespace:this.config.namespace,broadcast:this.config.broadcast,handledEvents:d}};ContextHub.Utils.Eventing.defaultConfig={autoStart:!0,defer:100,periodicity:192,namespace:ContextHub.Constants.EVENT_NAMESPACE,broadcast:w}})(ContextHubJQ,window);
ContextHub.console.log(ContextHub.Shared.timestamp(),"[loading] contexthub.utils - ContextHub.Utils.persistence.js");
(function(l,w){function k(t,D,E){this.cachedTree=null;return l.extend(!0,{},{name:t,isSupported:E||function(){return!0},getInterface:function(K){K=D.call(this,K);return{name:t,getItem:K.getItem,setItem:K.setItem,removeItem:K.removeItem,getKeys:K.getKeys,getTree:K.getTree}},_self:this})}w.ContextHub.Utils=w.ContextHub.Utils||{};var f=RegExp("^/*store($|/)"),d=RegExp("^/*store/(emulators|surferinfo|segmentation)($|/)");k.prototype.setItem=function(t,D,E,K){if((E||"").match(f)&&!(E||"").match(d)&&ContextHub.isOptedOut())return!1;
D=this.cachedTree||D();D=ContextHub.Utils.JSON.tree.setItem(D,E,K);t(D);this.cachedTree=D;return!0};k.prototype.getItem=function(t,D){this.cachedTree=t=this.cachedTree||t();return ContextHub.Utils.JSON.tree.getItem(t,D)};k.prototype.removeItem=function(t,D,E){if((E||"").match(f)&&!(E||"").match(d)&&ContextHub.isOptedOut())return!1;D=this.cachedTree||D();D=ContextHub.Utils.JSON.tree.removeItem(D,E);t(D);this.cachedTree=null;return!0};var p=new k("null",function(){return{setItem:function(){return!1},
getItem:function(){return{}},removeItem:function(){},getKeys:function(){return[]},getTree:function(){return{}}}}),r=function(){var t=!1;l(l.merge([this.config.mode],this.config.fallback||[])).each(function(D,E){E&&E.isSupported()&&(t=!0,this.config.mode=E);return!t}.bind(this));t||(this.config.mode=p);return t};ContextHub.Utils.Persistence=function(t){this.config=l.extend(!0,{},ContextHub.Utils.Persistence.defaultConfig,t);t=this.config.mode;t={initialized:r.call(this),usingFallback:this.config.mode!==
t,window:this.config.window,container:this.config.container};l.extend(t,this.config.mode.getInterface.call(this.config.mode._self,this.config));return t};ContextHub.Utils.Persistence.prototype.PersistenceMode=k;ContextHub.Utils.Persistence.Modes={};var v=function(t,D){var E=k.prototype.setItem.bind(this,t,D),K=k.prototype.getItem.bind(this,D);t=k.prototype.removeItem.bind(this,t,D);return{setItem:E,getItem:K,removeItem:t,getKeys:function(){var T=D();return ContextHub.Utils.JSON.tree.getKeys(T)},getTree:D}};
ContextHub.Utils.Persistence.Modes.LOCAL=new k("local",function(t){var D=t.container,E=t.window.localStorage;return v.call(this,function(K){K=ContextHub.Utils.JSON.stringify(K);E.setItem(D,K)},function(){var K=null;try{K=E.getItem(D)}catch(T){K=null}K=ContextHub.Utils.JSON.parse(K);return"object"===l.type(K)?K:{}})},function(){var t="contexthub.test."+this.name;try{var D=w.localStorage;D.setItem(t,t);var E=D.getItem(t)===t;D.removeItem(t)}catch(K){E=!1}return E});ContextHub.Utils.Persistence.Modes.SESSION=
new k("session",function(t){var D=t.container,E=t.window.sessionStorage;return v.call(this,function(K){K=ContextHub.Utils.JSON.stringify(K);E.setItem(D,K)},function(){var K=E.getItem(D);K=ContextHub.Utils.JSON.parse(K);return"object"===l.type(K)?K:{}})},function(){var t="contexthub.test."+this.name;try{var D=w.sessionStorage;D.setItem(t,t);var E=D.getItem(t)===t;D.removeItem(t)}catch(K){E=!1}return E});ContextHub.Utils.Persistence.Modes.COOKIE=new k("cookie",function(t){var D=t.container,E=ContextHub.Utils.Cookie;
return v.call(this,function(K){K=ContextHub.Utils.JSON.stringify(K);E.setItem(D,K)},function(){var K=E.getItem(D);K=ContextHub.Utils.JSON.parse(K);return"object"===l.type(K)?K:{}})},function(){var t="contexthub.test."+this.name;w.document.cookie=t+"\x3d1";var D=-1!==w.document.cookie.indexOf(t);w.document.cookie=t+"\x3d; expires\x3dThu, 01-Jan-1970 00:00:01 GMT";return D});ContextHub.Utils.Persistence.Modes.WINDOW=new k("window",function(t){var D=t.container,E=t.window;return v.call(this,function(K){var T=
ContextHub.Utils.JSON.parse(E.name);T[D]=K;E.name=ContextHub.Utils.JSON.stringify(T)},function(){var K=ContextHub.Utils.JSON.parse(E.name)[D];return"object"===l.type(K)?K:{}})});ContextHub.Utils.Persistence.defaultConfig={container:ContextHub.Constants.PERSISTENCE_CONTAINER_NAME,window:w,mode:ContextHub.Utils.Persistence.Modes.LOCAL,fallback:[ContextHub.Utils.Persistence.Modes.SESSION,ContextHub.Utils.Persistence.Modes.WINDOW]}})(ContextHubJQ,window);
ContextHub.console.log(ContextHub.Shared.timestamp(),"[loading] contexthub.utils - ContextHub.Utils.storeCandidates.js");
(function(l,w){w.ContextHub.Utils=w.ContextHub.Utils||{};var k={},f=function(){return!0};ContextHub.Utils.storeCandidates={registerStoreCandidate:function(d,p,r,v){d={store:d,priority:r,applies:v||f};k[p]=k[p]||[];p=k[p];p.push(d);p.sort(function(t,D){return D.priority-t.priority})},getStoreFromCandidates:function(d){var p=k[d.type]||[],r;for(r=0;r<p.length;r++){var v=p[r];if(v.applies(v.store,v.priority))return v.store}!0===d.required&&ContextHub.console.error('No suitable store implementation found for type: "'+
d.type+'".')},getRegisteredCandidates:function(d){var p=k;d&&(p=p[d]||[]);return p},getSupportedStoreTypes:function(){var d=[];l.each(k,function(p){d.push(p)});return d.sort()}}})(ContextHubJQ,window);ContextHub.console.log(ContextHub.Shared.timestamp(),"[loading] contexthub.utils - ContextHub.Utils.inheritance.js");
(function(l){l.ContextHub.Utils=l.ContextHub.Utils||{};ContextHub.Utils.inheritance={inherit:function(w,k){w.prototype=new k;w.prototype.constructor=k;var f={},d;w.prototype.uber=function(p){f[p]=f[p]||0;var r,v,t;if(r=f[p]){for(t=k.prototype;r;)t=t.constructor.prototype,r--;t&&t[p]===d&&(t=t.constructor.prototype||{});r=t[p]}else{for(t=this;t&&!t.hasOwnProperty(p);)t=t.__proto__||t.constructor.prototype;r=t[p];r===this[p]&&(r=(t.__proto__||t.constructor.prototype)[p])}f[p]++;d=r;"function"===typeof r&&
(v=r.apply(this,Array.prototype.slice.apply(arguments,[1])));d=null;f[p]--;return v};return w},newInstance:function(w,k){return new (w.bind.apply(w,[null].concat([].slice.call(k))))}}})(window);ContextHub.console.log(ContextHub.Shared.timestamp(),"[loading] contexthub.kernel - ContextHub.js");
(function(l,w){"undefined"===typeof w.ContextHubKernelConfig&&ContextHub.console.error("[-] ContextHub configuration is not set!");w.ContextHub=l.extend({version:"0.4.46-20250905-0406"},w.ContextHub);var k={},f=[],d=[],p=new ContextHub.Utils.Persistence,r=new ContextHub.Utils.Eventing(w.ContextHubKernelConfig.eventing),v=null,t=function(E){var K=ContextHub.persistence,T=ContextHub.Utils.JSON.tree.sanitizeKey(E);if(T){var Z=T.shift();"store"===Z&&(Z=T.shift());if(Z=ContextHub.getStore(Z))K=Z,E="/"+
T.join("/")}return{storage:K,storeProperty:E}},D=function(E){var K={},T=0,Z=[];l.each(E,function(Y,V){V&&(Y=ContextHub.Utils.JSON.tree.sanitizeKey(V),"store"===Y[0]?V="/"+Y.slice(1).join("/"):Y.unshift("store"),Y="/"+Y.join("/"),Y=ContextHub.getItem(Y),null!==Y&&(T++,K=ContextHub.Utils.JSON.tree.setItem(K,V,Y),Z.push(V)))});K._length=T;K._keys=Z;return K};l.extend(ContextHub,{persistence:p,eventing:r,registerStore:function(E,K){if("object"===l.type(K)&&(k=k||{},!k[E])){k[E]=K;ContextHub.console.timeStamp('registering "'+
E+'"');var T=K.getKeys(),Z={keys:{all:{hash:{},list:T}}};l.each(T,function(Y,V){Z.keys.all.hash[V]=!0});this.eventing.trigger(ContextHub.Constants.EVENT_STORE_REGISTERED+":"+E,{},{defer:0,_:{action:"store-registered",store:E,registeredAt:(new Date).getTime(),overlay:Z}});K.queryService||K.announceReadiness()}},getAllStores:function(){return k},getStore:function(E){return"string"===l.type(E)&&E.length?ContextHub.Utils.JSON.tree.getItem(k,E):null},set:function(E,K){this.setItem("/store/"+E,K)},get:function(E){return this.getItem("/store/"+
E)},getItem:function(E){E=t(E);return E.storage.getItem(E.storeProperty)},setItem:function(E,K){E=t(E);E.storage.setItem(E.storeProperty,K)},removeItem:function(E){E=t(E);E.storage.removeItem(E.storeProperty)},cleanAllStores:function(){var E=r.isPaused();this.eventing.pause();l.each(k,function(K,T){T.clean()});E||this.eventing.resume()},resetAllStores:function(E){var K=r.isPaused();ContextHub.isOptedOut(!0);ContextHub.eventing.pause();l.each(k,function(T,Z){Z.reset(E)});K||ContextHub.eventing.resume()},
sync:function(E,K,T,Z){"string"===l.type(E)&&(E=[E]);var Y=[];l.each(E,function(sa,Ba){sa="/"+ContextHub.Utils.JSON.tree.sanitizeKey(Ba).join("/");Y.push(sa)});E=Y;K=K||function(){};T=T||function(){};var V=D(E);if(V._length===E.length)K(V);else{var ha=0,ra=!1;V=function(sa){if(ra)return!0;var Ba=D(E),Za=null;"undefined"===l.type(sa)&&(Za=T);Ba._length===E.length&&(Za=K,w.clearTimeout(ha));Za&&(ra=!0,Za(Ba));return ra};ha=w.setTimeout(V,Z);f.push(V)}},bind:function(E,K,T,Z){"string"===l.type(E)&&(E=
[E]);var Y=[];l.each(E,function(sa,Ba){sa="/"+ContextHub.Utils.JSON.tree.sanitizeKey(Ba).join("/");Y.push(sa)});E=Y;K=K||function(){};T=T||function(){};var V=D(E),ha=!0;V._length===E.length&&(ha=!1,K(V));var ra=0;V=function(sa,Ba){if(Ba){var Za={};sa=!0;l.each(Ba,function(Qa){Za=ContextHub.Utils.JSON.tree.setItem(Za,Qa,!0)});for(Ba=0;Ba<E.length;Ba++)if(ContextHub.Utils.JSON.tree.getItem(Za,E[Ba])){sa=!1;break}if(sa)return}Ba=D(E);sa=T;Ba._length===E.length&&(sa=K,w.clearTimeout(ra));sa(Ba)};ha&&
(ra=w.setTimeout(V,Z));d.push(V)},isOptedOut:function(E){E&&(v=null);null===v&&(v=null!==ContextHub.Utils.Cookie.getItem("cq-opt-out"));return v}});ContextHub.eventing.on(ContextHub.Constants.EVENT_STORE_UPDATED,function(E,K){l.each(f||[],function(Z,Y){Y&&Y(Z)&&(delete f[Z],f=l.grep(f,l.isFunction))});if((d||[]).length){var T={};K.keys&&l.each(K.keys.all.list,function(Z,Y){T["/"+K.store+Y]=!0});l.each(d||[],function(Z,Y){Y&&Y(Z,T)})}},"sync-bind")})(ContextHubJQ,window);
ContextHub.console.log(ContextHub.Shared.timestamp(),"[loading] contexthub.kernel - task.stores-initialization-watcher.js");
(function(l,w){var k={},f=w.setTimeout(function(){var d={};l.each(w.ContextHubKernelConfig.stores,function(p){k[p]||(d[p]=!0)});ContextHub.eventing.trigger(ContextHub.Constants.EVENT_STORES_PARTIALLY_READY,{},{defer:0,_:{wasReadyAt:(new Date).getTime(),storesReady:k,storesNotReady:d}});ContextHub.eventing.off(ContextHub.Constants.EVENT_STORE_READY,"initialization-watcher")},w.ContextHubKernelConfig.initializationTimeout);ContextHub.eventing.on(ContextHub.Constants.EVENT_STORE_READY,function(d,p){var r=
k[p.store]=!0;l.each(w.ContextHubKernelConfig.stores,function(v,t){!k[v]&&t.required&&(r=!1)});r&&(w.clearTimeout(f),ContextHub.console.timeStamp("contexthub initialized"),ContextHub.eventing.off(d.type,"initialization-watcher"),ContextHub.eventing.trigger(ContextHub.Constants.EVENT_ALL_STORES_READY,{},{defer:0,_:{wasReadyAt:(new Date).getTime(),stores:k}}))},"initialization-watcher")})(ContextHubJQ,window);ContextHub.console.log(ContextHub.Shared.timestamp(),"[loading] contexthub.generic-stores - ContextHub.Store.Core.js");
(function(l,w){w.ContextHub.Store=w.ContextHub.Store||{};var k=new ContextHub.Utils.Persistence.prototype.PersistenceMode("memory",function(f){var d=f.container,p=f.storage,r=function(){var t=("object"===l.type(p)?p:{})[d];return"object"===l.type(t)?t:{}};f=function(t){p="object"===l.type(p)?p:{};p[d]=t};var v=ContextHub.Utils.Persistence.prototype.PersistenceMode.prototype;return{setItem:v.setItem.bind(this,f,r),getItem:v.getItem.bind(this,r),removeItem:v.removeItem.bind(this,f,r),getKeys:function(){return ContextHub.Utils.JSON.tree.getKeys(r())},
getTree:r}});ContextHub.Store.Core=function(){};ContextHub.Store.Core.prototype.init=function(f,d){this.config=l.extend(!0,{},ContextHub.Store.Core.defaultConfig,d);this.name=f;this.eventChannel=ContextHub.Constants.EVENT_STORE_UPDATED+":"+this.name;this.storeDataKey="/store/"+this.name;this.data={};this.references={};this.config.persistence||(this.config.persistence=new ContextHub.Utils.Persistence({container:"data",mode:k,storage:this.data}));this.config.eventing||(f=function(){},this.config.eventing=
{trigger:f,isPaused:f,pause:f,resume:f});this.persistence=this.config.persistence;this.eventing=this.config.eventing;f=this.isEventingPaused();this.pauseEventing();l.each(this.config.initialValues||{},function(p,r){this.getItem(p)||this.setItem(p,r)}.bind(this));f||this.resumeEventing()};ContextHub.Store.Core.defaultConfig={eventDeferring:32,eventing:ContextHub.eventing,persistence:ContextHub.persistence};ContextHub.Store.Core.prototype.clean=function(){this.removeItem("/")};ContextHub.Store.Core.prototype.reset=
function(f){var d=this.isEventingPaused();this.pauseEventing();f||this.clean();this.addAllItems(this.config.initialValues||{});d||this.resumeEventing()};ContextHub.Store.Core.prototype.setItem=function(f,d,p){f=this.resolveReference(f);var r=this.getItem(f),v=!0,t=typeof d;typeof r===t&&("string"===t||"number"===t||"boolean"===t?v=r!==d:(v=ContextHub.Utils.JSON.stringify(r),t=ContextHub.Utils.JSON.stringify(d),v=v.length!==t.length||v!==t));v&&this.persistence.setItem(this.storeDataKey+"/"+f,d)&&
!(p||{}).silent&&this.eventing.trigger(this.eventChannel,{key:f,value:d,old:r,action:"set"},l.extend(!0,{defer:this.config.eventDeferring,_:{store:this.name,muteWhenNoData:!0}},p));return v};ContextHub.Store.Core.prototype.getItem=function(f){f=this.resolveReference(f);return this.persistence.getItem(this.storeDataKey+"/"+f)};ContextHub.Store.Core.prototype.removeItem=function(f,d){f=this.resolveReference(f);var p=!1,r=this.getItem(f);null!==r&&(p=!0,this.persistence.removeItem(this.storeDataKey+
"/"+f)&&!(d||{}).silent&&this.eventing.trigger(this.eventChannel,{key:f,value:null,old:r,store:this.name,action:"remove"},l.extend(!0,{defer:this.config.eventDeferring,_:{store:this.name,muteWhenNoData:!0}},d)));return p};ContextHub.Store.Core.prototype.getKeys=function(f){var d=this.persistence.getTree();d=ContextHub.Utils.JSON.tree.getItem(d,this.storeDataKey)||{};f||delete d._;return ContextHub.Utils.JSON.tree.getKeys(d)};ContextHub.Store.Core.prototype.getTree=function(f){var d=this.persistence.getItem(this.storeDataKey)||
{};f||delete d._;return d};ContextHub.Store.Core.prototype.addAllItems=function(f,d){var p=l.type(f),r=this,v=!1;"object"!==p&&"array"!==p||l.each(f,function(t,D){t=r.setItem(t,D,d);v=v||t});return v};ContextHub.Store.Core.prototype.addReference=function(f,d){f=ContextHub.Utils.JSON.tree.sanitizeKey(f);var p=ContextHub.Utils.JSON.tree.sanitizeKey(d);d=!1;f&&p&&(f="/"+f.join("/"),p="/"+p.join("/"),f!==p&&(d=!0,this.references[f]=p));return d};ContextHub.Store.Core.prototype.removeReference=function(f){var d=
ContextHub.Utils.JSON.tree.sanitizeKey(f);f=!1;d&&(f=!0,d="/"+d.join("/"),delete this.references[d]);return f};ContextHub.Store.Core.prototype.getReferences=function(){return this.references};ContextHub.Store.Core.prototype.resolveReference=function(f,d){var p="/"+ContextHub.Utils.JSON.tree.sanitizeKey(f).join("/");if(!l.isEmptyObject(this.references)&&f){f=d||5;for(var r=p;0<f&&r;){f--;r=ContextHub.Utils.JSON.tree.sanitizeKey(p);var v="";d=r.slice(0);for(var t=0;t<r.length&&!this.references[v];t++)v+=
"/"+r[t],d.shift();if(r=this.references[v])r=r+"/"+d.join("/"),r="/"+ContextHub.Utils.JSON.tree.sanitizeKey(r).join("/");p=r||p}}return p};ContextHub.Store.Core.prototype.pauseEventing=function(){this.eventing&&this.eventing.pause(this.eventChannel)};ContextHub.Store.Core.prototype.resumeEventing=function(){this.eventing&&this.eventing.resume(this.eventChannel)};ContextHub.Store.Core.prototype.isEventingPaused=function(){return this.eventing&&this.eventing.isPaused(this.eventChannel)};ContextHub.Store.Core.prototype.announceReadiness=
function(){var f=this.name,d=null;ContextHub.console.timeStamp('"'+f+'" ready');if(this instanceof ContextHub.Store.JSONPStore){var p=this.getKeys();d={keys:{all:{hash:{},list:p}}};l.each(p,function(r,v){d.keys.all.hash[v]=!0})}this.eventing.trigger(ContextHub.Constants.EVENT_STORE_READY+":"+f,{},{defer:0,_:{action:"ready",store:f,wasReadyAt:(new Date).getTime(),duration:this.duration||0,overlay:d}})};ContextHub.Store.Core.prototype.onUpdate=function(f,d){var p=this.eventChannel;if("function"===typeof d)ContextHub.eventing.on(p,
d.bind(this),f);else ContextHub.eventing.off(p,f)}})(ContextHubJQ,window);ContextHub.console.log(ContextHub.Shared.timestamp(),"[loading] contexthub.generic-stores - ContextHub.Store.SessionStore.js");
(function(l,w){w.ContextHub.Store=w.ContextHub.Store||{};ContextHub.Store.SessionStore=function(){};ContextHub.Store.SessionStore.defaultConfig={eventDeferring:32,persistence:null,eventing:ContextHub.eventing};ContextHub.Utils.inheritance.inherit(ContextHub.Store.SessionStore,ContextHub.Store.Core);ContextHub.Store.SessionStore.prototype.init=function(k,f){this.config=l.extend(!0,{},this.config,ContextHub.Store.SessionStore.defaultConfig,f);this.uber("init",k,this.config)}})(ContextHubJQ,window);
ContextHub.console.log(ContextHub.Shared.timestamp(),"[loading] contexthub.generic-stores - ContextHub.Store.PersistedStore.js");
(function(l,w){w.ContextHub.Store=w.ContextHub.Store||{};ContextHub.Store.PersistedStore=function(){};ContextHub.Store.PersistedStore.defaultConfig={eventDeferring:32,persistence:ContextHub.persistence};ContextHub.Utils.inheritance.inherit(ContextHub.Store.PersistedStore,ContextHub.Store.Core);ContextHub.Store.PersistedStore.prototype.init=function(k,f){this.config=l.extend(!0,{},this.config,ContextHub.Store.PersistedStore.defaultConfig,f);this.uber("init",k,this.config)}})(ContextHubJQ,window);
ContextHub.console.log(ContextHub.Shared.timestamp(),"[loading] contexthub.generic-stores - ContextHub.Store.JSONPStore.js");
(function(l,w){w.ContextHub.Store=w.ContextHub.Store||{};ContextHub.Store.JSONPStore=function(){};ContextHub.Utils.inheritance.inherit(ContextHub.Store.JSONPStore,ContextHub.Store.Core);ContextHub.Store.JSONPStore.prototype.init=function(k,f){this.config=l.extend(!0,{},this.config,ContextHub.Store.JSONPStore.defaultConfig,f);f=(k||"").replace(/[^a-zA-Z0-9]/g,"");if(0===f.length||f!==k){f="x"+f;for(var d=0,p=0;p<k.length;p++)d=~~((d<<5)-d+k.charCodeAt(p));d=1E4*Math.sin(d);f+=(d-Math.floor(d)).toString(36).substr(2,
5)}this.callbackName=f;this.uber("init",k,this.config);this.setUpdateInterval()};ContextHub.Store.JSONPStore.defaultConfig={eventDeferring:32,persistence:null,eventing:ContextHub.eventing,service:null};ContextHub.Store.JSONPStore.prototype.getServiceDetails=function(){return this.config.service};ContextHub.Store.JSONPStore.prototype.configureService=function(k,f){this.config.service=f?k:l.extend(!0,{},this.config.service,k)};ContextHub.Store.JSONPStore.prototype.resolveParameter=function(k){var f=
"boolean"===l.type(k)?String(k):k,d=f||"";k=["ContextHub.Paths."];"string"===l.type(f)&&(f=d.match(/\$\{(contexthub|variable):[^}]+}/g))&&l.each(f,function(p,r){p=r.slice(2,-1).split(/:/);var v=p.shift(),t=p.shift(),D=null;"contexthub"===v&&(D=ContextHub.persistence.getItem(t));"variable"===v&&t&&l.each(this.allowedPrefix,function(E,K){(E=0===t.indexOf(K))&&(D=ContextHub.Utils.JSON.tree.getItem(w,t.replace(/\./g,"/")));return!E});d=d.replace(r,D||"")}.bind({allowedPrefix:k}));return d};ContextHub.Store.JSONPStore.prototype.getServiceURL=
function(k){var f=this.getServiceDetails(),d=[],p=[];if("object"!==l.type(f))return null;if(f.jsonp){var r=!0===f.jsonp?"callback":(""+f.jsonp).replace(/[^a-zA-Z0-9_$]/g,"");f.params=f.params||{};f.params[r]="ContextHub.Callbacks."+this.callbackName}f.port=f.port&&80===f.port?"":f.port;f.host?("undefined"===typeof f.secure||"auto"===f.secure?d.push("//"):d.push(f.secure?"https://":"http://"),d.push(f.host),d.push(f.port?":"+f.port:"")):d.push(w.location.protocol+"//"+w.location.host);f.path=f.path||
"/";r=""+(k?this.resolveParameter(f.path):f.path);d.push(r);l.each(f.params||{},function(v,t){p.push(encodeURIComponent(v)+"\x3d"+encodeURIComponent(k?this.resolveParameter(t):t))}.bind(this));p.length&&(d.push(-1===r.indexOf("?")?"?":"\x26"),d.push(p.join("\x26")));return d.join("")};ContextHub.Store.JSONPStore.prototype.queryService=function(k){var f=this.getServiceURL(!0);if(f){var d=this.config.service.jsonp||this.config.service.script,p=this.isEventingPaused(),r=this;k&&this.removeItem("_",{silent:!0});
k=this.getItem(ContextHub.Constants.SERVICE_RESPONSE_TIME_KEY)||0;var v=this.getItem(ContextHub.Constants.SERVICE_LAST_URL_KEY);k+this.config.service.ttl>(new Date).getTime()&&v===f?(this.duration="cached",this.announceReadiness()):(this.setItem(ContextHub.Constants.SERVICE_LAST_URL_KEY,f),w.ContextHub.Callbacks=w.ContextHub.Callbacks||{},ContextHub.Callbacks[this.callbackName]=this.callbackFunction.bind(this),f={url:f,timeout:this.config.service.timeout,async:this.config.service.synchronous?!1:!0,
method:this.config.service.method||"GET"},d&&l.extend(f,{dataType:"script",cache:!0}),this.pauseEventing(),this.duration=0,ContextHub.Shared.timers.start(this.name),f=l.ajax(f),d||f.done(function(t,D,E){t=ContextHub.Utils.JSON.parse(E.responseText);ContextHub.Callbacks[r.callbackName](t)}),f.fail(function(t){r.failureHandler(t)}),f.always(function(){p||r.resumeEventing();r.announceReadiness()}))}};ContextHub.Store.JSONPStore.prototype.successHandler=function(k){return k};ContextHub.Store.JSONPStore.prototype.failureHandler=
function(k){ContextHub.console.log('There was an error while accessing JSONP service in the store "'+this.name+'", configuration: ',(this.config||{}).service,", error: ",k)};ContextHub.Store.JSONPStore.prototype.callbackFunction=function(k){this.duration=ContextHub.Shared.timers.finish(this.name)+"ms";this.setItem(ContextHub.Constants.SERVICE_RESPONSE_TIME_KEY,(new Date).getTime());k=this.successHandler(k);k=l.extend(!0,k instanceof Array?[]:{},k);this.setItem(ContextHub.Constants.SERVICE_RAW_RESPONSE_KEY,
k)};ContextHub.Store.JSONPStore.prototype.getRawResponse=function(){return this.getItem(ContextHub.Constants.SERVICE_RAW_RESPONSE_KEY)||{}};ContextHub.Store.JSONPStore.prototype.reset=function(k){this.uber("reset",k);this.queryService(!1)};ContextHub.Store.JSONPStore.prototype.setUpdateInterval=function(k){k=isNaN(k)?this.config.pollInterval:k;this.intervalHandler&&(w.clearInterval(this.intervalHandler),this.intervalHandler=null);if(0<k){var f=this;this.intervalHandler=w.setInterval(function(){f.queryService(!0)},
k)}}})(ContextHubJQ,window);ContextHub.console.log(ContextHub.Shared.timestamp(),"[loading] contexthub.generic-stores - ContextHub.Store.PersistedJSONPStore.js");
(function(l,w){w.ContextHub.Store=w.ContextHub.Store||{};ContextHub.Store.PersistedJSONPStore=function(){};ContextHub.Store.PersistedJSONPStore.defaultConfig={eventDeferring:32,persistence:ContextHub.persistence};ContextHub.Utils.inheritance.inherit(ContextHub.Store.PersistedJSONPStore,ContextHub.Store.JSONPStore);ContextHub.Store.PersistedJSONPStore.prototype.init=function(k,f){this.config=l.extend(!0,{},this.config,ContextHub.Store.PersistedJSONPStore.defaultConfig,f);this.uber("init",k,this.config)}})(ContextHubJQ,
window);
(function(l,w){"object"===typeof module&&"object"===typeof module.exports?module.exports=l.document?w(l,!0):function(k){if(!k.document)throw Error("jQuery requires a window with a document");return w(k)}:w(l)})("undefined"!==typeof window?window:this,function(l,w){function k(a){var c=!!a&&"length"in a&&a.length,g=h.type(a);return"function"===g||h.isWindow(a)?!1:"array"===g||0===c||"number"===typeof c&&0<c&&c-1 in a}function f(a,c,g){if(h.isFunction(c))return h.grep(a,function(m,x){return!!c.call(m,x,
m)!==g});if(c.nodeType)return h.grep(a,function(m){return m===c!==g});if("string"===typeof c){if(u.test(c))return h.filter(c,a,g);c=h.filter(c,a)}return h.grep(a,function(m){return-1<h.inArray(m,c)!==g})}function d(a,c){do a=a[c];while(a&&1!==a.nodeType);return a}function p(a){var c={};h.each(a.match(Eb)||[],function(g,m){c[m]=!0});return c}function r(){la.addEventListener?(la.removeEventListener("DOMContentLoaded",v),l.removeEventListener("load",v)):(la.detachEvent("onreadystatechange",v),l.detachEvent("onload",
v))}function v(){if(la.addEventListener||"load"===l.event.type||"complete"===la.readyState)r(),h.ready()}function t(a,c,g){if(void 0===g&&1===a.nodeType)if(g="data-"+c.replace(Fb,"-$1").toLowerCase(),g=a.getAttribute(g),"string"===typeof g){try{g="true"===g?!0:"false"===g?!1:"null"===g?null:+g+""===g?+g:Md.test(g)?h.parseJSON(g):g}catch(m){}h.data(a,c,g)}else g=void 0;return g}function D(a){for(var c in a)if(("data"!==c||!h.isEmptyObject(a[c]))&&"toJSON"!==c)return!1;return!0}function E(a,c,g,m){if(qc(a)){var x=
h.expando,A=a.nodeType,G=A?h.cache:a,N=A?a[x]:a[x]&&x;if(N&&G[N]&&(m||G[N].data)||void 0!==g||"string"!==typeof c){N||(N=A?a[x]=Gb.pop()||h.guid++:x);G[N]||(G[N]=A?{}:{toJSON:h.noop});if("object"===typeof c||"function"===typeof c)m?G[N]=h.extend(G[N],c):G[N].data=h.extend(G[N].data,c);a=G[N];m||(a.data||(a.data={}),a=a.data);void 0!==g&&(a[h.camelCase(c)]=g);"string"===typeof c?(g=a[c],null==g&&(g=a[h.camelCase(c)])):g=a;return g}}}function K(a,c,g){if(qc(a)){var m,x,A=a.nodeType,G=A?h.cache:a,N=
A?a[h.expando]:h.expando;if(G[N]){if(c&&(m=g?G[N]:G[N].data)){h.isArray(c)?c=c.concat(h.map(c,h.camelCase)):c in m?c=[c]:(c=h.camelCase(c),c=c in m?[c]:c.split(" "));for(x=c.length;x--;)delete m[c[x]];if(g?!D(m):!h.isEmptyObject(m))return}if(!g&&(delete G[N].data,!D(G[N])))return;A?h.cleanData([a],!0):ja.deleteExpando||G!=G.window?delete G[N]:G[N]=void 0}}}function T(a,c,g,m){var x=1,A=20,G=m?function(){return m.cur()}:function(){return h.css(a,c,"")},N=G(),P=g&&g[3]||(h.cssNumber[c]?"":"px"),O=(h.cssNumber[c]||
"px"!==P&&+N)&&rc.exec(h.css(a,c));if(O&&O[3]!==P){P=P||O[3];g=g||[];O=+N||1;do x=x||".5",O/=x,h.style(a,c,O+P);while(x!==(x=G()/N)&&1!==x&&--A)}if(g){O=+O||+N||0;var X=g[1]?O+(g[1]+1)*g[2]:+g[2];m&&(m.unit=P,m.start=O,m.end=X)}return X}function Z(a){var c="abbr article aside audio bdi canvas data datalist details dialog figcaption figure footer header hgroup main mark meter nav output picture progress section summary template time video".split(" ");a=a.createDocumentFragment();if(a.createElement)for(;c.length;)a.createElement(c.pop());
return a}function Y(a,c){var g,m,x=0,A="undefined"!==typeof a.getElementsByTagName?a.getElementsByTagName(c||"*"):"undefined"!==typeof a.querySelectorAll?a.querySelectorAll(c||"*"):void 0;if(!A)for(A=[],g=a.childNodes||a;null!=(m=g[x]);x++)!c||h.nodeName(m,c)?A.push(m):h.merge(A,Y(m,c));return void 0===c||c&&h.nodeName(a,c)?h.merge([a],A):A}function V(a,c){for(var g,m=0;null!=(g=a[m]);m++)h._data(g,"globalEval",!c||h._data(c[m],"globalEval"))}function ha(a){bc.test(a.type)&&(a.defaultChecked=a.checked)}
function ra(a,c,g,m,x){for(var A,G,N,P,O,X,ba=a.length,ca=Z(c),va=[],xa=0;xa<ba;xa++)if((G=a[xa])||0===G)if("object"===h.type(G))h.merge(va,G.nodeType?[G]:G);else if(ud.test(G)){N=N||ca.appendChild(c.createElement("div"));P=(wa.exec(G)||["",""])[1].toLowerCase();X=sb[P]||sb._default;N.innerHTML=X[1]+h.htmlPrefilter(G)+X[2];for(A=X[0];A--;)N=N.lastChild;!ja.leadingWhitespace&&Nc.test(G)&&va.push(c.createTextNode(Nc.exec(G)[0]));if(!ja.tbody)for(A=(G="table"!==P||gc.test(G)?"\x3ctable\x3e"!==X[1]||
gc.test(G)?0:N:N.firstChild)&&G.childNodes.length;A--;)h.nodeName(O=G.childNodes[A],"tbody")&&!O.childNodes.length&&G.removeChild(O);h.merge(va,N.childNodes);for(N.textContent="";N.firstChild;)N.removeChild(N.firstChild);N=ca.lastChild}else va.push(c.createTextNode(G));N&&ca.removeChild(N);ja.appendChecked||h.grep(Y(va,"input"),ha);for(xa=0;G=va[xa++];)if(m&&-1<h.inArray(G,m))x&&x.push(G);else if(a=h.contains(G.ownerDocument,G),N=Y(ca.appendChild(G),"script"),a&&V(N),g)for(A=0;G=N[A++];)kb.test(G.type||
"")&&g.push(G);return ca}function sa(){return!0}function Ba(){return!1}function Za(){try{return la.activeElement}catch(a){}}function Qa(a,c,g,m,x,A){var G;if("object"===typeof c){"string"!==typeof g&&(m=m||g,g=void 0);for(G in c)Qa(a,G,g,m,c[G],A);return a}null==m&&null==x?(x=g,m=g=void 0):null==x&&("string"===typeof g?(x=m,m=void 0):(x=m,m=g,g=void 0));if(!1===x)x=Ba;else if(!x)return a;if(1===A){var N=x;x=function(P){h().off(P);return N.apply(this,arguments)};x.guid=N.guid||(N.guid=h.guid++)}return a.each(function(){h.event.add(this,
c,x,m,g)})}function Oa(a,c){return h.nodeName(a,"table")&&h.nodeName(11!==c.nodeType?c:c.firstChild,"tr")?a.getElementsByTagName("tbody")[0]||a.appendChild(a.ownerDocument.createElement("tbody")):a}function Wa(a){a.type=(null!==h.find.attr(a,"type"))+"/"+a.type;return a}function xc(a){var c=tb.exec(a.type);c?a.type=c[1]:a.removeAttribute("type");return a}function ia(a,c){if(1===c.nodeType&&h.hasData(a)){var g,m;var x=h._data(a);a=h._data(c,x);var A=x.events;if(A)for(g in delete a.handle,a.events=
{},A)for(x=0,m=A[g].length;x<m;x++)h.event.add(c,g,A[g][x]);a.data&&(a.data=h.extend({},a.data))}}function ma(a,c,g,m){c=md.apply([],c);var x,A=0,G=a.length,N=G-1,P=c[0],O=h.isFunction(P);if(O||1<G&&"string"===typeof P&&!ja.checkClone&&hd.test(P))return a.each(function(va){var xa=a.eq(va);O&&(c[0]=P.call(this,va,xa.html()));ma(xa,c,g,m)});if(G){var X=ra(c,a[0].ownerDocument,!1,a,m);var ba=X.firstChild;1===X.childNodes.length&&(X=ba);if(ba||m){var ca=h.map(Y(X,"script"),Wa);for(x=ca.length;A<G;A++)ba=
X,A!==N&&(ba=h.clone(ba,!0,!0),x&&h.merge(ca,Y(ba,"script"))),g.call(a[A],ba,A);if(x)for(X=ca[ca.length-1].ownerDocument,h.map(ca,xc),A=0;A<x;A++)ba=ca[A],kb.test(ba.type||"")&&!h._data(ba,"globalEval")&&h.contains(X,ba)&&(ba.src?h._evalUrl&&h._evalUrl(ba.src):h.globalEval((ba.text||ba.textContent||ba.innerHTML||"").replace(Ed,"")));X=ba=null}}return a}function Ca(a,c,g){for(var m=c?h.filter(c,a):a,x=0;null!=(c=m[x]);x++)g||1!==c.nodeType||h.cleanData(Y(c)),c.parentNode&&(g&&h.contains(c.ownerDocument,
c)&&V(Y(c,"script")),c.parentNode.removeChild(c));return a}function Ta(a,c){a=h(c.createElement(a)).appendTo(c.body);c=h.css(a[0],"display");a.detach();return c}function Da(a){var c=la,g=Wc[a];g||(g=Ta(a,c),"none"!==g&&g||(sc=(sc||h("\x3ciframe frameborder\x3d'0' width\x3d'0' height\x3d'0'/\x3e")).appendTo(c.documentElement),c=(sc[0].contentWindow||sc[0].contentDocument).document,c.write(),c.close(),g=Ta(a,c),sc.detach()),Wc[a]=g);return g}function Ja(a,c){return{get:function(){if(a())delete this.get;
else return(this.get=c).apply(this,arguments)}}}function Ra(a){if(a in Wb)return a;for(var c=a.charAt(0).toUpperCase()+a.slice(1),g=Xc.length;g--;)if(a=Xc[g]+c,a in Wb)return a}function ab(a,c){for(var g,m,x,A=[],G=0,N=a.length;G<N;G++)m=a[G],m.style&&(A[G]=h._data(m,"olddisplay"),g=m.style.display,c?(A[G]||"none"!==g||(m.style.display=""),""===m.style.display&&mc(m)&&(A[G]=h._data(m,"olddisplay",Da(m.nodeName)))):(x=mc(m),(g&&"none"!==g||!x)&&h._data(m,"olddisplay",x?g:h.css(m,"display"))));for(G=
0;G<N;G++)m=a[G],!m.style||c&&"none"!==m.style.display&&""!==m.style.display||(m.style.display=c?A[G]||"":"none");return a}function pb(a,c,g){return(a=Nd.exec(c))?Math.max(0,a[1]-(g||0))+(a[2]||"px"):c}function qb(a,c,g,m,x){c=g===(m?"border":"content")?4:"width"===c?1:0;for(var A=0;4>c;c+=2)"margin"===g&&(A+=h.css(a,g+ob[c],!0,x)),m?("content"===g&&(A-=h.css(a,"padding"+ob[c],!0,x)),"margin"!==g&&(A-=h.css(a,"border"+ob[c]+"Width",!0,x))):(A+=h.css(a,"padding"+ob[c],!0,x),"padding"!==g&&(A+=h.css(a,
"border"+ob[c]+"Width",!0,x)));return A}function hb(a,c,g){var m=!0,x="width"===c?a.offsetWidth:a.offsetHeight,A=dc(a),G=ja.boxSizing&&"border-box"===h.css(a,"boxSizing",!1,A);if(0>=x||null==x){x=Vb(a,c,A);if(0>x||null==x)x=a.style[c];if(yc.test(x))return x;m=G&&(ja.boxSizingReliable()||x===a.style[c]);x=parseFloat(x)||0}return x+qb(a,c,g||(G?"border":"content"),m,A)+"px"}function Xa(a,c,g,m,x){return new Xa.prototype.init(a,c,g,m,x)}function ub(){l.setTimeout(function(){Hb=void 0});return Hb=h.now()}
function eb(a,c){var g={height:a},m=0;for(c=c?1:0;4>m;m+=2-c){var x=ob[m];g["margin"+x]=g["padding"+x]=a}c&&(g.opacity=g.width=a);return g}function ib(a,c,g){for(var m,x=(lb.tweeners[c]||[]).concat(lb.tweeners["*"]),A=0,G=x.length;A<G;A++)if(m=x[A].call(g,c,a))return m}function Ob(a,c){var g,m;for(g in a){var x=h.camelCase(g);var A=c[x];var G=a[g];h.isArray(G)&&(A=G[1],G=a[g]=G[0]);g!==x&&(a[x]=G,delete a[g]);if((m=h.cssHooks[x])&&"expand"in m)for(g in G=m.expand(G),delete a[x],G)g in a||(a[g]=G[g],
c[g]=A);else c[x]=A}}function lb(a,c,g){var m,x=0,A=lb.prefilters.length,G=h.Deferred().always(function(){delete N.elem}),N=function(){if(m)return!1;var O=Hb||ub();O=Math.max(0,P.startTime+P.duration-O);for(var X=1-(O/P.duration||0),ba=0,ca=P.tweens.length;ba<ca;ba++)P.tweens[ba].run(X);G.notifyWith(a,[P,X,O]);if(1>X&&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},g),originalProperties:c,originalOptions:g,
startTime:Hb||ub(),duration:g.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;X<ba;X++)P.tweens[X].run(1);O?(G.notifyWith(a,[P,1,0]),G.resolveWith(a,[P,O])):G.rejectWith(a,[P,O]);return this}});g=P.props;for(Ob(g,P.opts.specialEasing);x<A;x++)if(c=lb.prefilters[x].call(P,a,g,P.opts))return h.isFunction(c.stop)&&(h._queueHooks(P.elem,P.opts.queue).stop=
h.proxy(c.stop,c)),c;h.map(g,ib,P);h.isFunction(P.opts.start)&&P.opts.start.call(a,P);h.fx.timer(h.extend(N,{elem:a,anim:P,queue:P.opts.queue}));return P.progress(P.opts.progress).done(P.opts.done,P.opts.complete).fail(P.opts.fail).always(P.opts.always)}function vb(a){return h.attr(a,"class")||""}function Pc(a){return function(c,g){"string"!==typeof c&&(g=c,c="*");var m=0,x=c.toLowerCase().match(Eb)||[];if(h.isFunction(g))for(;c=x[m++];)"+"===c.charAt(0)?(c=c.slice(1)||"*",(a[c]=a[c]||[]).unshift(g)):
(a[c]=a[c]||[]).push(g)}}function ld(a,c,g,m){function x(N){var P;A[N]=!0;h.each(a[N]||[],function(O,X){O=X(c,g,m);if("string"===typeof O&&!G&&!A[O])return c.dataTypes.unshift(O),x(O),!1;if(G)return!(P=O)});return P}var A={},G=a===wc;return x(c.dataTypes[0])||!A["*"]&&x("*")}function rb(a,c){var g,m,x=h.ajaxSettings.flatOptions||{};for(m in c)void 0!==c[m]&&((x[m]?a:g||(g={}))[m]=c[m]);g&&h.extend(!0,a,g);return a}function Xb(a){if(!h.contains(a.ownerDocument||la,a))return!0;for(;a&&1===a.nodeType;){if("none"===
(a.style&&a.style.display||h.css(a,"display"))||"hidden"===a.type)return!0;a=a.parentNode}return!1}function Ib(a,c,g,m){var x;if(h.isArray(c))h.each(c,function(A,G){g||Wd.test(a)?m(a,G):Ib(a+"["+("object"===typeof G&&null!=G?A:"")+"]",G,g,m)});else if(g||"object"!==h.type(c))m(a,c);else for(x in c)Ib(a+"["+x+"]",c[x],g,m)}function oc(){try{return new l.XMLHttpRequest}catch(a){}}function Cc(){try{return new l.ActiveXObject("Microsoft.XMLHTTP")}catch(a){}}function Qc(a){return h.isWindow(a)?a:9===a.nodeType?
a.defaultView||a.parentWindow:!1}var Gb=[],la=l.document,Pb=Gb.slice,md=Gb.concat,Cb=Gb.push,Rc=Gb.indexOf,Ab={},id=Ab.toString,Qb=Ab.hasOwnProperty,ja={},h=function(a,c){return new h.fn.init(a,c)},ed=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,Ec=/^-ms-/,nd=/-([\da-z])/gi,Gd=function(a,c){return c.toUpperCase()};h.fn=h.prototype={jquery:"1.12.4-aem",constructor:h,selector:"",length:0,toArray:function(){return Pb.call(this)},get:function(a){return null!=a?0>a?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,g){return a.call(c,g,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&&a<c?[this[a]]:[])},end:function(){return this.prevObject||this.constructor()},
push:Cb,sort:Gb.sort,splice:Gb.splice};h.extend=h.fn.extend=function(){var a,c,g,m=arguments[0]||{},x=1,A=arguments.length,G=!1;"boolean"===typeof m&&(G=m,m=arguments[x]||{},x++);"object"===typeof m||h.isFunction(m)||(m={});x===A&&(m=this,x--);for(;x<A;x++)if(null!=(g=arguments[x]))for(c in g){var N=m[c];var P=g[c];"__proto__"!==c&&m!==P&&(G&&P&&(h.isPlainObject(P)||(a=h.isArray(P)))?(a?(a=!1,N=N&&h.isArray(N)?N:[]):N=N&&h.isPlainObject(N)?N:{},m[c]=h.extend(G,N,P)):void 0!==P&&(m[c]=P))}return m};
h.extend({expando:"jQuery"+("1.12.4-aem"+Math.random()).replace(/\D/g,""),isReady:!0,error:function(a){throw Error(a);},noop:function(){},isFunction:function(a){return"function"===h.type(a)},isArray:Array.isArray||function(a){return"array"===h.type(a)},isWindow:function(a){return null!=a&&a==a.window},isNumeric:function(a){var c=a&&a.toString();return!h.isArray(a)&&0<=c-parseFloat(c)+1},isEmptyObject:function(a){for(var c in a)return!1;return!0},isPlainObject:function(a){var c;if(!a||"object"!==h.type(a)||
a.nodeType||h.isWindow(a))return!1;try{if(a.constructor&&!Qb.call(a,"constructor")&&!Qb.call(a.constructor.prototype,"isPrototypeOf"))return!1}catch(g){return!1}if(!ja.ownFirst)for(c in a)return Qb.call(a,c);for(c in a);return void 0===c||Qb.call(a,c)},type:function(a){return null==a?a+"":"object"===typeof a||"function"===typeof a?Ab[id.call(a)]||"object":typeof a},globalEval:function(a){a&&h.trim(a)&&(l.execScript||function(c){l.eval.call(l,c)})(a)},camelCase:function(a){return a.replace(Ec,"ms-").replace(nd,
Gd)},nodeName:function(a,c){return a.nodeName&&a.nodeName.toLowerCase()===c.toLowerCase()},each:function(a,c){var g,m=0;if(k(a))for(g=a.length;m<g&&!1!==c.call(a[m],m,a[m]);m++);else for(m in a)if(!1===c.call(a[m],m,a[m]))break;return a},trim:function(a){return null==a?"":(a+"").replace(ed,"")},makeArray:function(a,c){c=c||[];null!=a&&(k(Object(a))?h.merge(c,"string"===typeof a?[a]:a):Cb.call(c,a));return c},inArray:function(a,c,g){if(c){if(Rc)return Rc.call(c,a,g);var m=c.length;for(g=g?0>g?Math.max(0,
m+g):g:0;g<m;g++)if(g in c&&c[g]===a)return g}return-1},merge:function(a,c){for(var g=+c.length,m=0,x=a.length;m<g;)a[x++]=c[m++];if(g!==g)for(;void 0!==c[m];)a[x++]=c[m++];a.length=x;return a},grep:function(a,c,g){for(var m=[],x=0,A=a.length,G=!g;x<A;x++)g=!c(a[x],x),g!==G&&m.push(a[x]);return m},map:function(a,c,g){var m,x=0,A=[];if(k(a))for(m=a.length;x<m;x++){var G=c(a[x],x,g);null!=G&&A.push(G)}else for(x in a)G=c(a[x],x,g),null!=G&&A.push(G);return md.apply([],A)},guid:1,proxy:function(a,c){if("string"===
typeof c){var g=a[c];c=a;a=g}if(h.isFunction(a)){var m=Pb.call(arguments,2);g=function(){return a.apply(c||this,m.concat(Pb.call(arguments)))};g.guid=a.guid=a.guid||h.guid++;return g}},now:function(){return+new Date},support:ja});"function"===typeof Symbol&&(h.fn[Symbol.iterator]=Gb[Symbol.iterator]);h.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(a,c){Ab["[object "+c+"]"]=c.toLowerCase()});var Ka=function(a){function c(y,H,F,R){var S,W,aa,da,ea=H&&
H.ownerDocument,ka=H?H.nodeType:9;F=F||[];if("string"!==typeof y||!y||1!==ka&&9!==ka&&11!==ka)return F;if(!R&&((H?H.ownerDocument||H:La)!==na&&Sb(H),H=H||na,Sa)){if(11!==ka&&(da=rd.exec(y)))if(S=da[1])if(9===ka)if(W=H.getElementById(S)){if(W.id===S)return F.push(W),F}else return F;else{if(ea&&(W=ea.getElementById(S))&&nb(H,W)&&W.id===S)return F.push(W),F}else{if(da[2])return Rb.apply(F,H.getElementsByTagName(y)),F;if((S=da[3])&&qa.getElementsByClassName&&H.getElementsByClassName)return Rb.apply(F,
H.getElementsByClassName(S)),F}if(!(!qa.qsa||gb[y+" "]||Ia&&Ia.test(y))){if(1!==ka){ea=H;var oa=y}else if("object"!==H.nodeName.toLowerCase()){(aa=H.getAttribute("id"))?aa=aa.replace(Ua,"\\$\x26"):H.setAttribute("id",aa=Ga);da=M(y);S=da.length;for(W=Fc.test(aa)?"#"+aa:"[id\x3d'"+aa+"']";S--;)da[S]=W+" "+ca(da[S]);oa=da.join(",");ea=Tc.test(y)&&X(H.parentNode)||H}if(oa)try{return Rb.apply(F,ea.querySelectorAll(oa)),F}catch(fa){}finally{aa===Ga&&H.removeAttribute("id")}}}return U(y.replace(Ic,"$1"),
H,F,R)}function g(){function y(F,R){H.push(F+" ")>C.cacheLength&&delete y[H.shift()];return y[F+" "]=R}var H=[];return y}function m(y){y[Ga]=!0;return y}function x(y){var H=na.createElement("div");try{return!!y(H)}catch(F){return!1}finally{H.parentNode&&H.parentNode.removeChild(H)}}function A(y,H){y=y.split("|");for(var F=y.length;F--;)C.attrHandle[y[F]]=H}function G(y,H){var F=H&&y,R=F&&1===y.nodeType&&1===H.nodeType&&(~H.sourceIndex||-2147483648)-(~y.sourceIndex||-2147483648);if(R)return R;if(F)for(;F=
F.nextSibling;)if(F===H)return-1;return y?1:-1}function N(y){return function(H){return"input"===H.nodeName.toLowerCase()&&H.type===y}}function P(y){return function(H){var F=H.nodeName.toLowerCase();return("input"===F||"button"===F)&&H.type===y}}function O(y){return m(function(H){H=+H;return m(function(F,R){for(var S,W=y([],F.length,H),aa=W.length;aa--;)F[S=W[aa]]&&(F[S]=!(R[S]=F[S]))})})}function X(y){return y&&"undefined"!==typeof y.getElementsByTagName&&y}function ba(){}function ca(y){for(var H=
0,F=y.length,R="";H<F;H++)R+=y[H].value;return R}function va(y,H,F){var R=H.dir,S=F&&"parentNode"===R,W=Db++;return H.first?function(aa,da,ea){for(;aa=aa[R];)if(1===aa.nodeType||S)return y(aa,da,ea)}:function(aa,da,ea){var ka,oa=[Ya,W];if(ea)for(;aa=aa[R];){if((1===aa.nodeType||S)&&y(aa,da,ea))return!0}else for(;aa=aa[R];)if(1===aa.nodeType||S){var fa=aa[Ga]||(aa[Ga]={});fa=fa[aa.uniqueID]||(fa[aa.uniqueID]={});if((ka=fa[R])&&ka[0]===Ya&&ka[1]===W)return oa[2]=ka[2];fa[R]=oa;if(oa[2]=y(aa,da,ea))return!0}}}
function xa(y){return 1<y.length?function(H,F,R){for(var S=y.length;S--;)if(!y[S](H,F,R))return!1;return!0}:y[0]}function ta(y,H,F,R,S){for(var W,aa=[],da=0,ea=y.length,ka=null!=H;da<ea;da++)if(W=y[da])if(!F||F(W,R,S))aa.push(W),ka&&H.push(da);return aa}function Ma(y,H,F,R,S,W){R&&!R[Ga]&&(R=Ma(R));S&&!S[Ga]&&(S=Ma(S,W));return m(function(aa,da,ea,ka){var oa,fa=[],Na=[],Ea=da.length,$a;if(!($a=aa)){$a=H||"*";for(var pa=ea.nodeType?[ea]:ea,yb=[],cb=0,Dd=pa.length;cb<Dd;cb++)c($a,pa[cb],yb);$a=yb}$a=
!y||!aa&&H?$a:ta($a,fa,y,ea,ka);pa=F?S||(aa?y:Ea||R)?[]:da:$a;F&&F($a,pa,ea,ka);if(R){var Mb=ta(pa,Na);R(Mb,[],ea,ka);for(ea=Mb.length;ea--;)if(oa=Mb[ea])pa[Na[ea]]=!($a[Na[ea]]=oa)}if(aa){if(S||y){if(S){Mb=[];for(ea=pa.length;ea--;)(oa=pa[ea])&&Mb.push($a[ea]=oa);S(null,pa=[],Mb,ka)}for(ea=pa.length;ea--;)(oa=pa[ea])&&-1<(Mb=S?Zb(aa,oa):fa[ea])&&(aa[Mb]=!(da[Mb]=oa))}}else pa=ta(pa===da?pa.splice(Ea,pa.length):pa),S?S(null,da,pa,ka):Rb.apply(da,pa)})}function Fa(y){var H,F,R=y.length,S=C.relative[y[0].type];
var W=S||C.relative[" "];for(var aa=S?1:0,da=va(function(oa){return oa===H},W,!0),ea=va(function(oa){return-1<Zb(H,oa)},W,!0),ka=[function(oa,fa,Na){oa=!S&&(Na||fa!==bb)||((H=fa).nodeType?da(oa,fa,Na):ea(oa,fa,Na));H=null;return oa}];aa<R;aa++)if(W=C.relative[y[aa].type])ka=[va(xa(ka),W)];else{W=C.filter[y[aa].type].apply(null,y[aa].matches);if(W[Ga]){for(F=++aa;F<R&&!C.relative[y[F].type];F++);return Ma(1<aa&&xa(ka),1<aa&&ca(y.slice(0,aa-1).concat({value:" "===y[aa-2].type?"*":""})).replace(Ic,"$1"),
W,aa<F&&Fa(y.slice(aa,F)),F<R&&Fa(y=y.slice(F)),F<R&&ca(y))}ka.push(W)}return xa(ka)}function Va(y,H){var F=0<H.length,R=0<y.length,S=function(W,aa,da,ea,ka){var oa,fa,Na=0,Ea="0",$a=W&&[],pa=[],yb=bb,cb=W||R&&C.find.TAG("*",ka),Dd=Ya+=null==yb?1:Math.random()||.1,Mb=cb.length;for(ka&&(bb=aa===na||aa||ka);Ea!==Mb&&null!=(oa=cb[Ea]);Ea++){if(R&&oa){var Yd=0;aa||oa.ownerDocument===na||(Sb(oa),da=!Sa);for(;fa=y[Yd++];)if(fa(oa,aa||na,da)){ea.push(oa);break}ka&&(Ya=Dd)}F&&((oa=!fa&&oa)&&Na--,W&&$a.push(oa))}Na+=
Ea;if(F&&Ea!==Na){for(Yd=0;fa=H[Yd++];)fa($a,pa,aa,da);if(W){if(0<Na)for(;Ea--;)$a[Ea]||pa[Ea]||(pa[Ea]=Id.call(ea));pa=ta(pa)}Rb.apply(ea,pa);ka&&!W&&0<pa.length&&1<Na+H.length&&c.uniqueSort(ea)}ka&&(Ya=Dd,bb=yb);return $a};return F?m(S):S}var ua,bb,Aa,ya,na,Pa,Sa,Ia,db,fb,nb,Ga="sizzle"+1*new Date,La=a.document,Ya=0,Db=0,Yb=g(),jb=g(),gb=g(),xb=function(y,H){y===H&&(ya=!0);return 0},jc={}.hasOwnProperty,wb=[],Id=wb.pop,od=wb.push,Rb=wb.push,qd=wb.slice,Zb=function(y,H){for(var F=0,R=y.length;F<
R;F++)if(y[F]===H)return F;return-1},Hc=RegExp("[\\x20\\t\\r\\n\\f]+","g"),Ic=RegExp("^[\\x20\\t\\r\\n\\f]+|((?:^|[^\\\\])(?:\\\\.)*)[\\x20\\t\\r\\n\\f]+$","g"),Jd=RegExp("^[\\x20\\t\\r\\n\\f]*,[\\x20\\t\\r\\n\\f]*"),Kd=RegExp("^[\\x20\\t\\r\\n\\f]*([\x3e+~]|[\\x20\\t\\r\\n\\f])[\\x20\\t\\r\\n\\f]*"),pc=RegExp("\x3d[\\x20\\t\\r\\n\\f]*([^\\]'\"]*?)[\\x20\\t\\r\\n\\f]*\\]","g"),Hd=RegExp(":((?:\\\\.|[\\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]*\\])*)|.*)\\)|)"),
Fc=RegExp("^(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+$"),zb={ID:RegExp("^#((?:\\\\.|[\\w-]|[^\\x00-\\xa0])+)"),CLASS:RegExp("^\\.((?:\\\\.|[\\w-]|[^\\x00-\\xa0])+)"),TAG:RegExp("^((?:\\\\.|[\\w-]|[^\\x00-\\xa0])+|[*])"),ATTR:RegExp("^\\[[\\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]*\\]"),PSEUDO:RegExp("^:((?:\\\\.|[\\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]*\\])*)|.*)\\)|)"),
CHILD:RegExp("^:(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:RegExp("^(?:checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped)$","i"),needsContext:RegExp("^[\\x20\\t\\r\\n\\f]*[\x3e+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\([\\x20\\t\\r\\n\\f]*((?:-\\d)?\\d*)[\\x20\\t\\r\\n\\f]*\\)|)(?\x3d[^-]|$)",
"i")},Jb=/^(?:input|select|textarea|button)$/i,pd=/^h\d$/i,ic=/^[^{]+\{\s*\[native \w/,rd=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,Tc=/[+~]/,Ua=/'|\\/g,Kb=RegExp("\\\\([\\da-f]{1,6}[\\x20\\t\\r\\n\\f]?|([\\x20\\t\\r\\n\\f])|.)","ig"),mb=function(y,H,F){y="0x"+H-65536;return y!==y||F?H:0>y?String.fromCharCode(y+65536):String.fromCharCode(y>>10|55296,y&1023|56320)},Jc=function(){Sb()};try{Rb.apply(wb=qd.call(La.childNodes),La.childNodes),wb[La.childNodes.length].nodeType}catch(y){Rb={apply:wb.length?function(H,
F){od.apply(H,qd.call(F))}:function(H,F){for(var R=H.length,S=0;H[R++]=F[S++];);H.length=R-1}}}var qa=c.support={};var Gc=c.isXML=function(y){return(y=y&&(y.ownerDocument||y).documentElement)?"HTML"!==y.nodeName:!1};var Sb=c.setDocument=function(y){var H;y=y?y.ownerDocument||y:La;if(y===na||9!==y.nodeType||!y.documentElement)return na;na=y;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=x(function(F){F.className="i";return!F.getAttribute("className")});qa.getElementsByTagName=x(function(F){F.appendChild(na.createComment(""));return!F.getElementsByTagName("*").length});qa.getElementsByClassName=ic.test(na.getElementsByClassName);qa.getById=x(function(F){Pa.appendChild(F).id=Ga;return!na.getElementsByName||!na.getElementsByName(Ga).length});qa.getById?(C.find.ID=function(F,R){if("undefined"!==typeof R.getElementById&&Sa)return(F=R.getElementById(F))?[F]:[]},C.filter.ID=
function(F){var R=F.replace(Kb,mb);return function(S){return S.getAttribute("id")===R}}):(delete C.find.ID,C.filter.ID=function(F){var R=F.replace(Kb,mb);return function(S){return(S="undefined"!==typeof S.getAttributeNode&&S.getAttributeNode("id"))&&S.value===R}});C.find.TAG=qa.getElementsByTagName?function(F,R){if("undefined"!==typeof R.getElementsByTagName)return R.getElementsByTagName(F);if(qa.qsa)return R.querySelectorAll(F)}:function(F,R){var S=[],W=0;R=R.getElementsByTagName(F);if("*"===F){for(;F=
R[W++];)1===F.nodeType&&S.push(F);return S}return R};C.find.CLASS=qa.getElementsByClassName&&function(F,R){if("undefined"!==typeof R.getElementsByClassName&&Sa)return R.getElementsByClassName(F)};db=[];Ia=[];if(qa.qsa=ic.test(na.querySelectorAll))x(function(F){Pa.appendChild(F).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";F.querySelectorAll("[msallowcapture^\x3d'']").length&&Ia.push("[*^$]\x3d[\\x20\\t\\r\\n\\f]*(?:''|\"\")");
F.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)");F.querySelectorAll("[id~\x3d"+Ga+"-]").length||Ia.push("~\x3d");F.querySelectorAll(":checked").length||Ia.push(":checked");F.querySelectorAll("a#"+Ga+"+*").length||Ia.push(".#.+[+~]")}),x(function(F){var R=na.createElement("input");R.setAttribute("type","hidden");F.appendChild(R).setAttribute("name",
"D");F.querySelectorAll("[name\x3dd]").length&&Ia.push("name[\\x20\\t\\r\\n\\f]*[*^$|!~]?\x3d");F.querySelectorAll(":enabled").length||Ia.push(":enabled",":disabled");F.querySelectorAll("*,:x");Ia.push(",.*:")});(qa.matchesSelector=ic.test(fb=Pa.matches||Pa.webkitMatchesSelector||Pa.mozMatchesSelector||Pa.oMatchesSelector||Pa.msMatchesSelector))&&x(function(F){qa.disconnectedMatch=fb.call(F,"div");fb.call(F,"[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(F,R){var S=9===F.nodeType?F.documentElement:F;R=R&&R.parentNode;return F===R||!!(R&&1===R.nodeType&&(S.contains?S.contains(R):F.compareDocumentPosition&&F.compareDocumentPosition(R)&16))}:function(F,R){if(R)for(;R=R.parentNode;)if(R===F)return!0;return!1};xb=H?function(F,R){if(F===R)return ya=!0,0;var S=!F.compareDocumentPosition-!R.compareDocumentPosition;
if(S)return S;S=(F.ownerDocument||F)===(R.ownerDocument||R)?F.compareDocumentPosition(R):1;return S&1||!qa.sortDetached&&R.compareDocumentPosition(F)===S?F===na||F.ownerDocument===La&&nb(La,F)?-1:R===na||R.ownerDocument===La&&nb(La,R)?1:Aa?Zb(Aa,F)-Zb(Aa,R):0:S&4?-1:1}:function(F,R){if(F===R)return ya=!0,0;var S=0,W=F.parentNode,aa=R.parentNode,da=[F],ea=[R];if(!W||!aa)return F===na?-1:R===na?1:W?-1:aa?1:Aa?Zb(Aa,F)-Zb(Aa,R):0;if(W===aa)return G(F,R);for(;F=F.parentNode;)da.unshift(F);for(F=R;F=F.parentNode;)ea.unshift(F);
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(y,H){return c(y,null,null,H)};c.matchesSelector=function(y,H){(y.ownerDocument||y)!==na&&Sb(y);H=H.replace(pc,"\x3d'$1']");if(!(!qa.matchesSelector||!Sa||gb[H+" "]||db&&db.test(H)||Ia&&Ia.test(H)))try{var F=fb.call(y,H);if(F||qa.disconnectedMatch||y.document&&11!==y.document.nodeType)return F}catch(R){}return 0<c(H,na,null,[y]).length};c.contains=function(y,H){(y.ownerDocument||y)!==na&&Sb(y);
return nb(y,H)};c.attr=function(y,H){(y.ownerDocument||y)!==na&&Sb(y);var F=C.attrHandle[H.toLowerCase()];F=F&&jc.call(C.attrHandle,H.toLowerCase())?F(y,H,!Sa):void 0;return void 0!==F?F:qa.attributes||!Sa?y.getAttribute(H):(F=y.getAttributeNode(H))&&F.specified?F.value:null};c.error=function(y){throw Error("Syntax error, unrecognized expression: "+y);};c.uniqueSort=function(y){var H,F=[],R=0,S=0;ya=!qa.detectDuplicates;Aa=!qa.sortStable&&y.slice(0);y.sort(xb);if(ya){for(;H=y[S++];)H===y[S]&&(R=F.push(S));
for(;R--;)y.splice(F[R],1)}Aa=null;return y};var Sc=c.getText=function(y){var H="",F=0;var R=y.nodeType;if(!R)for(;R=y[F++];)H+=Sc(R);else if(1===R||9===R||11===R){if("string"===typeof y.textContent)return y.textContent;for(y=y.firstChild;y;y=y.nextSibling)H+=Sc(y)}else if(3===R||4===R)return y.nodeValue;return H};var C=c.selectors={cacheLength:50,createPseudo:m,match:zb,attrHandle:{},find:{},relative:{"\x3e":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},
"~":{dir:"previousSibling"}},preFilter:{ATTR:function(y){y[1]=y[1].replace(Kb,mb);y[3]=(y[3]||y[4]||y[5]||"").replace(Kb,mb);"~\x3d"===y[2]&&(y[3]=" "+y[3]+" ");return y.slice(0,4)},CHILD:function(y){y[1]=y[1].toLowerCase();"nth"===y[1].slice(0,3)?(y[3]||c.error(y[0]),y[4]=+(y[4]?y[5]+(y[6]||1):2*("even"===y[3]||"odd"===y[3])),y[5]=+(y[7]+y[8]||"odd"===y[3])):y[3]&&c.error(y[0]);return y},PSEUDO:function(y){var H,F=!y[6]&&y[2];if(zb.CHILD.test(y[0]))return null;y[3]?y[2]=y[4]||y[5]||"":F&&Hd.test(F)&&
(H=M(F,!0))&&(H=F.indexOf(")",F.length-H)-F.length)&&(y[0]=y[0].slice(0,H),y[2]=F.slice(0,H));return y.slice(0,3)}},filter:{TAG:function(y){var H=y.replace(Kb,mb).toLowerCase();return"*"===y?function(){return!0}:function(F){return F.nodeName&&F.nodeName.toLowerCase()===H}},CLASS:function(y){var H=Yb[y+" "];return H||(H=new RegExp("(^|[\\x20\\t\\r\\n\\f])"+y+"([\\x20\\t\\r\\n\\f]|$)"),Yb(y,function(F){return H.test("string"===typeof F.className&&F.className||"undefined"!==typeof F.getAttribute&&F.getAttribute("class")||
"")}))},ATTR:function(y,H,F){return function(R){R=c.attr(R,y);if(null==R)return"!\x3d"===H;if(!H)return!0;R+="";return"\x3d"===H?R===F:"!\x3d"===H?R!==F:"^\x3d"===H?F&&0===R.indexOf(F):"*\x3d"===H?F&&-1<R.indexOf(F):"$\x3d"===H?F&&R.slice(-F.length)===F:"~\x3d"===H?-1<(" "+R.replace(Hc," ")+" ").indexOf(F):"|\x3d"===H?R===F||R.slice(0,F.length+1)===F+"-":!1}},CHILD:function(y,H,F,R,S){var W="nth"!==y.slice(0,3),aa="last"!==y.slice(-4),da="of-type"===H;return 1===R&&0===S?function(ea){return!!ea.parentNode}:
function(ea,ka,oa){var fa,Na;ka=W!==aa?"nextSibling":"previousSibling";var Ea=ea.parentNode,$a=da&&ea.nodeName.toLowerCase();oa=!oa&&!da;var pa=!1;if(Ea){if(W){for(;ka;){for(fa=ea;fa=fa[ka];)if(da?fa.nodeName.toLowerCase()===$a:1===fa.nodeType)return!1;var yb=ka="only"===y&&!yb&&"nextSibling"}return!0}yb=[aa?Ea.firstChild:Ea.lastChild];if(aa&&oa){fa=Ea;var cb=fa[Ga]||(fa[Ga]={});cb=cb[fa.uniqueID]||(cb[fa.uniqueID]={});pa=cb[y]||[];pa=(Na=pa[0]===Ya&&pa[1])&&pa[2];for(fa=Na&&Ea.childNodes[Na];fa=
++Na&&fa&&fa[ka]||(pa=Na=0)||yb.pop();)if(1===fa.nodeType&&++pa&&fa===ea){cb[y]=[Ya,Na,pa];break}}else if(oa&&(fa=ea,cb=fa[Ga]||(fa[Ga]={}),cb=cb[fa.uniqueID]||(cb[fa.uniqueID]={}),pa=cb[y]||[],pa=Na=pa[0]===Ya&&pa[1]),!1===pa)for(;(fa=++Na&&fa&&fa[ka]||(pa=Na=0)||yb.pop())&&((da?fa.nodeName.toLowerCase()!==$a:1!==fa.nodeType)||!++pa||(oa&&(cb=fa[Ga]||(fa[Ga]={}),cb=cb[fa.uniqueID]||(cb[fa.uniqueID]={}),cb[y]=[Ya,pa]),fa!==ea)););pa-=S;return pa===R||0===pa%R&&0<=pa/R}}},PSEUDO:function(y,H){var F=
C.pseudos[y]||C.setFilters[y.toLowerCase()]||c.error("unsupported pseudo: "+y);if(F[Ga])return F(H);if(1<F.length){var R=[y,y,"",H];return C.setFilters.hasOwnProperty(y.toLowerCase())?m(function(S,W){for(var aa,da=F(S,H),ea=da.length;ea--;)aa=Zb(S,da[ea]),S[aa]=!(W[aa]=da[ea])}):function(S){return F(S,0,R)}}return F}},pseudos:{not:m(function(y){var H=[],F=[],R=J(y.replace(Ic,"$1"));return R[Ga]?m(function(S,W,aa,da){da=R(S,null,da,[]);for(var ea=S.length;ea--;)if(aa=da[ea])S[ea]=!(W[ea]=aa)}):function(S,
W,aa){H[0]=S;R(H,null,aa,F);H[0]=null;return!F.pop()}}),has:m(function(y){return function(H){return 0<c(y,H).length}}),contains:m(function(y){y=y.replace(Kb,mb);return function(H){return-1<(H.textContent||H.innerText||Sc(H)).indexOf(y)}}),lang:m(function(y){Fc.test(y||"")||c.error("unsupported lang: "+y);y=y.replace(Kb,mb).toLowerCase();return function(H){var F;do if(F=Sa?H.lang:H.getAttribute("xml:lang")||H.getAttribute("lang"))return F=F.toLowerCase(),F===y||0===F.indexOf(y+"-");while((H=H.parentNode)&&
1===H.nodeType);return!1}}),target:function(y){var H=a.location&&a.location.hash;return H&&H.slice(1)===y.id},root:function(y){return y===Pa},focus:function(y){return y===na.activeElement&&(!na.hasFocus||na.hasFocus())&&!!(y.type||y.href||~y.tabIndex)},enabled:function(y){return!1===y.disabled},disabled:function(y){return!0===y.disabled},checked:function(y){var H=y.nodeName.toLowerCase();return"input"===H&&!!y.checked||"option"===H&&!!y.selected},selected:function(y){y.parentNode&&y.parentNode.selectedIndex;
return!0===y.selected},empty:function(y){for(y=y.firstChild;y;y=y.nextSibling)if(6>y.nodeType)return!1;return!0},parent:function(y){return!C.pseudos.empty(y)},header:function(y){return pd.test(y.nodeName)},input:function(y){return Jb.test(y.nodeName)},button:function(y){var H=y.nodeName.toLowerCase();return"input"===H&&"button"===y.type||"button"===H},text:function(y){var H;return"input"===y.nodeName.toLowerCase()&&"text"===y.type&&(null==(H=y.getAttribute("type"))||"text"===H.toLowerCase())},first:O(function(){return[0]}),
last:O(function(y,H){return[H-1]}),eq:O(function(y,H,F){return[0>F?F+H:F]}),even:O(function(y,H){for(var F=0;F<H;F+=2)y.push(F);return y}),odd:O(function(y,H){for(var F=1;F<H;F+=2)y.push(F);return y}),lt:O(function(y,H,F){for(H=0>F?F+H:F;0<=--H;)y.push(H);return y}),gt:O(function(y,H,F){for(F=0>F?F+H:F;++F<H;)y.push(F);return y})}};C.pseudos.nth=C.pseudos.eq;for(ua in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})C.pseudos[ua]=N(ua);for(ua in{submit:!0,reset:!0})C.pseudos[ua]=P(ua);ba.prototype=
C.filters=C.pseudos;C.setFilters=new ba;var M=c.tokenize=function(y,H){var F,R,S,W,aa;if(W=jb[y+" "])return H?0:W.slice(0);W=y;var da=[];for(aa=C.preFilter;W;){if(!ea||(F=Jd.exec(W)))F&&(W=W.slice(F[0].length)||W),da.push(R=[]);var ea=!1;if(F=Kd.exec(W))ea=F.shift(),R.push({value:ea,type:F[0].replace(Ic," ")}),W=W.slice(ea.length);for(S in C.filter)!(F=zb[S].exec(W))||aa[S]&&!(F=aa[S](F))||(ea=F.shift(),R.push({value:ea,type:S,matches:F}),W=W.slice(ea.length));if(!ea)break}return H?W.length:W?c.error(y):
jb(y,da).slice(0)};var J=c.compile=function(y,H){var F,R=[],S=[],W=gb[y+" "];if(!W){H||(H=M(y));for(F=H.length;F--;)W=Fa(H[F]),W[Ga]?R.push(W):S.push(W);W=gb(y,Va(S,R));W.selector=y}return W};var U=c.select=function(y,H,F,R){var S,W,aa,da="function"===typeof y&&y,ea=!R&&M(y=da.selector||y);F=F||[];if(1===ea.length){var ka=ea[0]=ea[0].slice(0);if(2<ka.length&&"ID"===(W=ka[0]).type&&qa.getById&&9===H.nodeType&&Sa&&C.relative[ka[1].type]){H=(C.find.ID(W.matches[0].replace(Kb,mb),H)||[])[0];if(!H)return F;
da&&(H=H.parentNode);y=y.slice(ka.shift().value.length)}for(S=zb.needsContext.test(y)?0:ka.length;S--;){W=ka[S];if(C.relative[aa=W.type])break;if(aa=C.find[aa])if(R=aa(W.matches[0].replace(Kb,mb),Tc.test(ka[0].type)&&X(H.parentNode)||H)){ka.splice(S,1);y=R.length&&ca(ka);if(!y)return Rb.apply(F,R),F;break}}}(da||J(y,ea))(R,H,!Sa,F,!H||Tc.test(y)&&X(H.parentNode)||H);return F};qa.sortStable=Ga.split("").sort(xb).join("")===Ga;qa.detectDuplicates=!!ya;Sb();qa.sortDetached=x(function(y){return y.compareDocumentPosition(na.createElement("div"))&
1});x(function(y){y.innerHTML="\x3ca href\x3d'#'\x3e\x3c/a\x3e";return"#"===y.firstChild.getAttribute("href")})||A("type|href|height|width",function(y,H,F){if(!F)return y.getAttribute(H,"type"===H.toLowerCase()?1:2)});qa.attributes&&x(function(y){y.innerHTML="\x3cinput/\x3e";y.firstChild.setAttribute("value","");return""===y.firstChild.getAttribute("value")})||A("value",function(y,H,F){if(!F&&"input"===y.nodeName.toLowerCase())return y.defaultValue});x(function(y){return null==y.getAttribute("disabled")})||
A("checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",function(y,H,F){var R;if(!F)return!0===y[H]?H.toLowerCase():(R=y.getAttributeNode(H))&&R.specified?R.value:null});return c}(l);h.find=Ka;h.expr=Ka.selectors;h.expr[":"]=h.expr.pseudos;h.uniqueSort=h.unique=Ka.uniqueSort;h.text=Ka.getText;h.isXMLDoc=Ka.isXML;h.contains=Ka.contains;var za=function(a,c,g){for(var m=[],x=void 0!==g;(a=a[c])&&9!==a.nodeType;)if(1===a.nodeType){if(x&&
h(a).is(g))break;m.push(a)}return m},Ub=function(a,c){for(var g=[];a;a=a.nextSibling)1===a.nodeType&&a!==c&&g.push(a);return g},Ha=h.expr.match.needsContext,dd=/^<([\w-]+)\s*\/?>(?:<\/\1>|)$/,u=/^.[^:#\[\.,]*$/;h.filter=function(a,c,g){var m=c[0];g&&(a=":not("+a+")");return 1===c.length&&1===m.nodeType?h.find.matchesSelector(m,a)?[m]:[]:h.find.matches(a,h.grep(c,function(x){return 1===x.nodeType}))};h.fn.extend({find:function(a){var c,g=[],m=this,x=m.length;if("string"!==typeof a)return this.pushStack(h(a).filter(function(){for(c=
0;c<x;c++)if(h.contains(m[c],this))return!0}));for(c=0;c<x;c++)h.find(a,m[c],g);g=this.pushStack(1<x?h.unique(g):g);g.selector=this.selector?this.selector+" "+a:a;return g},filter:function(a){return this.pushStack(f(this,a||[],!1))},not:function(a){return this.pushStack(f(this,a||[],!0))},is:function(a){return!!f(this,"string"===typeof a&&Ha.test(a)?h(a):a||[],!1).length}});var $b=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/;(h.fn.init=function(a,c,g){if(!a)return this;g=g||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||g).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 g.ready?g.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,g=h(a,this),m=g.length;return this.filter(function(){for(c=0;c<m;c++)if(h.contains(this,g[c]))return!0})},
closest:function(a,c){for(var g,m=0,x=this.length,A=[],G=Ha.test(a)||"string"!==typeof a?h(a,c||this.context):0;m<x;m++)for(g=this[m];g&&g!==c;g=g.parentNode)if(11>g.nodeType&&(G?-1<G.index(g):1===g.nodeType&&h.find.matchesSelector(g,a))){A.push(g);break}return this.pushStack(1<A.length?h.uniqueSort(A):A)},index:function(a){return a?"string"===typeof a?h.inArray(this[0],h(a)):h.inArray(a.jquery?a[0]:a,this):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(a,c){return this.pushStack(h.uniqueSort(h.merge(this.get(),
h(a,c))))},addBack:function(a){return this.add(null==a?this.prevObject:this.prevObject.filter(a))}});h.each({parent:function(a){return(a=a.parentNode)&&11!==a.nodeType?a:null},parents:function(a){return za(a,"parentNode")},parentsUntil:function(a,c,g){return za(a,"parentNode",g)},next:function(a){return d(a,"nextSibling")},prev:function(a){return d(a,"previousSibling")},nextAll:function(a){return za(a,"nextSibling")},prevAll:function(a){return za(a,"previousSibling")},nextUntil:function(a,c,g){return za(a,
"nextSibling",g)},prevUntil:function(a,c,g){return za(a,"previousSibling",g)},siblings:function(a){return Ub((a.parentNode||{}).firstChild,a)},children:function(a){return Ub(a.firstChild)},contents:function(a){return h.nodeName(a,"iframe")?a.contentDocument||a.contentWindow.document:h.merge([],a.childNodes)}},function(a,c){h.fn[a]=function(g,m){var x=h.map(this,c,g);"Until"!==a.slice(-5)&&(m=g);m&&"string"===typeof m&&(x=h.filter(m,x));1<this.length&&(td[a]||(x=h.uniqueSort(x)),sd.test(a)&&(x=x.reverse()));
return this.pushStack(x)}});var Eb=/\S+/g;h.Callbacks=function(a){a="string"===typeof a?p(a):h.extend({},a);var c,g,m,x,A=[],G=[],N=-1,P=function(){x=a.once;for(m=c=!0;G.length;N=-1)for(g=G.shift();++N<A.length;)!1===A[N].apply(g[0],g[1])&&a.stopOnFalse&&(N=A.length,g=!1);a.memory||(g=!1);c=!1;x&&(A=g?[]:"")},O={add:function(){A&&(g&&!c&&(N=A.length-1,G.push(g)),function ca(ba){h.each(ba,function(va,xa){h.isFunction(xa)?a.unique&&O.has(xa)||A.push(xa):xa&&xa.length&&"string"!==h.type(xa)&&ca(xa)})}(arguments),
g&&!c&&P());return this},remove:function(){h.each(arguments,function(X,ba){for(var ca;-1<(ca=h.inArray(ba,A,ca));)A.splice(ca,1),ca<=N&&N--});return this},has:function(X){return X?-1<h.inArray(X,A):0<A.length},empty:function(){A&&(A=[]);return this},disable:function(){x=G=[];A=g="";return this},disabled:function(){return!A},lock:function(){x=!0;g||O.disable();return this},locked:function(){return!!x},fireWith:function(X,ba){x||(ba=ba||[],ba=[X,ba.slice?ba.slice():ba],G.push(ba),c||P());return this},
fire:function(){O.fireWith(this,arguments);return this},fired:function(){return!!m}};return O};h.extend({Deferred:function(a){var c=[["resolve","done",h.Callbacks("once memory"),"resolved"],["reject","fail",h.Callbacks("once memory"),"rejected"],["notify","progress",h.Callbacks("memory")]],g="pending",m={state:function(){return g},always:function(){x.done(arguments).fail(arguments);return this},then:function(){var A=arguments;return h.Deferred(function(G){h.each(c,function(N,P){var O=h.isFunction(A[N])&&
A[N];x[P[1]](function(){var X=O&&O.apply(this,arguments);if(X&&h.isFunction(X.promise))X.promise().progress(G.notify).done(G.resolve).fail(G.reject);else G[P[0]+"With"](this===m?G.promise():this,O?[X]:arguments)})});A=null}).promise()},promise:function(A){return null!=A?h.extend(A,m):m}},x={};m.pipe=m.then;h.each(c,function(A,G){var N=G[2],P=G[3];m[G[1]]=N.add;P&&N.add(function(){g=P},c[A^1][2].disable,c[2][2].lock);x[G[0]]=function(){x[G[0]+"With"](this===x?m:this,arguments);return this};x[G[0]+
"With"]=N.fireWith});m.promise(x);a&&a.call(x,x);return x},when:function(a){var c=0,g=Pb.call(arguments),m=g.length,x=1!==m||a&&h.isFunction(a.promise)?m:0,A=1===x?a:h.Deferred(),G=function(X,ba,ca){return function(va){ba[X]=this;ca[X]=1<arguments.length?Pb.call(arguments):va;ca===P?A.notifyWith(ba,ca):--x||A.resolveWith(ba,ca)}},N;if(1<m){var P=Array(m);var O=Array(m);for(N=Array(m);c<m;c++)g[c]&&h.isFunction(g[c].promise)?g[c].promise().progress(G(c,O,P)).done(G(c,N,g)).fail(A.reject):--x}x||A.resolveWith(N,
g);return A.promise()}});var Kc;h.fn.ready=function(a){h.ready.promise().done(a);return this};h.extend({isReady:!1,readyWait:1,holdReady:function(a){a?h.readyWait++:h.ready(!0)},ready:function(a){(!0===a?--h.readyWait:h.isReady)||(h.isReady=!0,!0!==a&&0<--h.readyWait||(Kc.resolveWith(la,[h]),h.fn.triggerHandler&&(h(la).triggerHandler("ready"),h(la).off("ready"))))}});h.ready.promise=function(a){if(!Kc)if(Kc=h.Deferred(),"complete"===la.readyState||"loading"!==la.readyState&&!la.documentElement.doScroll)l.setTimeout(h.ready);
else if(la.addEventListener)la.addEventListener("DOMContentLoaded",v),l.addEventListener("load",v);else{la.attachEvent("onreadystatechange",v);l.attachEvent("onload",v);var c=!1;try{c=null==l.frameElement&&la.documentElement}catch(g){}c&&c.doScroll&&function m(){if(!h.isReady){try{c.doScroll("left")}catch(x){return l.setTimeout(m,50)}r();h.ready()}}()}return Kc.promise(a)};h.ready.promise();for(var Ld in h(ja))break;ja.ownFirst="0"===Ld;ja.inlineBlockNeedsLayout=!1;h(function(){var a;if((a=la.getElementsByTagName("body")[0])&&
a.style){var c=la.createElement("div");var g=la.createElement("div");g.style.cssText="position:absolute;border:0;width:0;height:0;top:0;left:-9999px";a.appendChild(g).appendChild(c);"undefined"!==typeof c.style.zoom&&(c.style.cssText="display:inline;margin:0;border:0;padding:1px;width:1px;zoom:1",ja.inlineBlockNeedsLayout=c=3===c.offsetWidth)&&(a.style.zoom=1);a.removeChild(g)}});(function(){var a=la.createElement("div");ja.deleteExpando=!0;try{delete a.test}catch(c){ja.deleteExpando=!1}})();var qc=
function(a){var c=h.noData[(a.nodeName+" ").toLowerCase()],g=+a.nodeType||1;return 1!==g&&9!==g?!1:!c||!0!==c&&a.getAttribute("classid")===c},Md=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,Fb=/([A-Z])/g;h.extend({cache:{},noData:{"applet ":!0,"embed ":!0,"object ":"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"},hasData:function(a){a=a.nodeType?h.cache[a[h.expando]]:a[h.expando];return!!a&&!D(a)},data:function(a,c,g){return E(a,c,g)},removeData:function(a,c){return K(a,c)},_data:function(a,c,g){return E(a,c,g,!0)},
_removeData:function(a,c){return K(a,c,!0)}});h.fn.extend({data:function(a,c){var g,m=this[0],x=m&&m.attributes;if(void 0===a){if(this.length){var A=h.data(m);if(1===m.nodeType&&!h._data(m,"parsedAttrs")){for(g=x.length;g--;)if(x[g]){var G=x[g].name;0===G.indexOf("data-")&&(G=h.camelCase(G.slice(5)),t(m,G,A[G]))}h._data(m,"parsedAttrs",!0)}}return A}return"object"===typeof a?this.each(function(){h.data(this,a)}):1<arguments.length?this.each(function(){h.data(this,a,c)}):m?t(m,a,h.data(m,a)):void 0},
removeData:function(a){return this.each(function(){h.removeData(this,a)})}});h.extend({queue:function(a,c,g){if(a){c=(c||"fx")+"queue";var m=h._data(a,c);g&&(!m||h.isArray(g)?m=h._data(a,c,h.makeArray(g)):m.push(g));return m||[]}},dequeue:function(a,c){c=c||"fx";var g=h.queue(a,c),m=g.length,x=g.shift(),A=h._queueHooks(a,c),G=function(){h.dequeue(a,c)};"inprogress"===x&&(x=g.shift(),m--);x&&("fx"===c&&g.unshift("inprogress"),delete A.stop,x.call(a,G,A));!m&&A&&A.empty.fire()},_queueHooks:function(a,
c){var g=c+"queueHooks";return h._data(a,g)||h._data(a,g,{empty:h.Callbacks("once memory").add(function(){h._removeData(a,c+"queue");h._removeData(a,g)})})}});h.fn.extend({queue:function(a,c){var g=2;"string"!==typeof a&&(c=a,a="fx",g--);return arguments.length<g?h.queue(this[0],a):void 0===c?this:this.each(function(){var m=h.queue(this,a,c);h._queueHooks(this,a);"fx"===a&&"inprogress"!==m[0]&&h.dequeue(this,a)})},dequeue:function(a){return this.each(function(){h.dequeue(this,a)})},clearQueue:function(a){return this.queue(a||
"fx",[])},promise:function(a,c){var g,m=1,x=h.Deferred(),A=this,G=this.length,N=function(){--m||x.resolveWith(A,[A])};"string"!==typeof a&&(c=a,a=void 0);for(a=a||"fx";G--;)(g=h._data(A[G],a+"queueHooks"))&&g.empty&&(m++,g.empty.add(N));N();return x.promise(c)}});(function(){var a;ja.shrinkWrapBlocks=function(){if(null!=a)return a;a=!1;var c;if((c=la.getElementsByTagName("body")[0])&&c.style){var g=la.createElement("div");var m=la.createElement("div");m.style.cssText="position:absolute;border:0;width:0;height:0;top:0;left:-9999px";
c.appendChild(m).appendChild(g);"undefined"!==typeof g.style.zoom&&(g.style.cssText="-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:1px;width:1px;zoom:1",g.appendChild(la.createElement("div")).style.width="5px",a=3!==g.offsetWidth);c.removeChild(m);return a}}})();var Uc=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,rc=new RegExp("^(?:([+-])\x3d|)("+Uc+")([a-z%]*)$","i"),ob=["Top","Right","Bottom","Left"],mc=function(a,c){a=
c||a;return"none"===h.css(a,"display")||!h.contains(a.ownerDocument,a)},Nb=function(a,c,g,m,x,A,G){var N=0,P=a.length,O=null==g;if("object"===h.type(g))for(N in x=!0,g)Nb(a,c,N,g[N],!0,A,G);else if(void 0!==m&&(x=!0,h.isFunction(m)||(G=!0),O&&(G?(c.call(a,m),c=null):(O=c,c=function(X,ba,ca){return O.call(h(X),ca)})),c))for(;N<P;N++)c(a[N],g,G?m:m.call(a[N],N,c(a[N],g)));return x?a:O?c.call(a):P?c(a[0],g):A},bc=/^(?:checkbox|radio)$/i,wa=/<([\w:-]+)/,kb=/^$|\/(?:java|ecma)script/i,Nc=/^\s+/;(function(){var a=
la.createElement("div"),c=la.createDocumentFragment(),g=la.createElement("input");a.innerHTML="  \x3clink/\x3e\x3ctable\x3e\x3c/table\x3e\x3ca href\x3d'/a'\x3ea\x3c/a\x3e\x3cinput type\x3d'checkbox'/\x3e";ja.leadingWhitespace=3===a.firstChild.nodeType;ja.tbody=!a.getElementsByTagName("tbody").length;ja.htmlSerialize=!!a.getElementsByTagName("link").length;ja.html5Clone="\x3c:nav\x3e\x3c/:nav\x3e"!==la.createElement("nav").cloneNode(!0).outerHTML;g.type="checkbox";g.checked=!0;c.appendChild(g);ja.appendChecked=
g.checked;a.innerHTML="\x3ctextarea\x3ex\x3c/textarea\x3e";ja.noCloneChecked=!!a.cloneNode(!0).lastChild.defaultValue;a.innerHTML="\x3coption\x3e\x3c/option\x3e";ja.option=!!a.lastChild;c.appendChild(a);g=la.createElement("input");g.setAttribute("type","radio");g.setAttribute("checked","checked");g.setAttribute("name","t");a.appendChild(g);ja.checkClone=a.cloneNode(!0).cloneNode(!0).lastChild.checked;ja.noCloneEvent=!!a.addEventListener;a[h.expando]=1;ja.attributes=!a.getAttribute(h.expando)})();
var sb={legend:[1,"\x3cfieldset\x3e","\x3c/fieldset\x3e"],area:[1,"\x3cmap\x3e","\x3c/map\x3e"],param:[1,"\x3cobject\x3e","\x3c/object\x3e"],thead:[1,"\x3ctable\x3e","\x3c/table\x3e"],tr:[2,"\x3ctable\x3e\x3ctbody\x3e","\x3c/tbody\x3e\x3c/table\x3e"],col:[2,"\x3ctable\x3e\x3ctbody\x3e\x3c/tbody\x3e\x3ccolgroup\x3e","\x3c/colgroup\x3e\x3c/table\x3e"],td:[3,"\x3ctable\x3e\x3ctbody\x3e\x3ctr\x3e","\x3c/tr\x3e\x3c/tbody\x3e\x3c/table\x3e"],_default:ja.htmlSerialize?[0,"",""]:[1,"X\x3cdiv\x3e","\x3c/div\x3e"]};
sb.tbody=sb.tfoot=sb.colgroup=sb.caption=sb.thead;sb.th=sb.td;ja.option||(sb.optgroup=sb.option=[1,"\x3cselect multiple\x3d'multiple'\x3e","\x3c/select\x3e"]);var ud=/<|&#?\w+;/,gc=/<tbody/i;(function(){var a,c=la.createElement("div");for(a in{submit:!0,change:!0,focusin:!0}){var g="on"+a;(ja[a]=g in l)||(c.setAttribute(g,"t"),ja[a]=!1===c.attributes[g].expando)}})();var Bb=/^(?:input|select|textarea)$/i,cc=/^key/,hc=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,vd=/^(?:focusinfocus|focusoutblur)$/,
nc=/^([^.]*)(?:\.(.+)|)/;h.event={global:{},add:function(a,c,g,m,x){var A,G,N,P,O;if(G=h._data(a)){if(g.handler){var X=g;g=X.handler;x=X.selector}g.guid||(g.guid=h.guid++);(A=G.events)||(A=G.events={});(N=G.handle)||(N=G.handle=function(xa){return"undefined"===typeof h||xa&&h.event.triggered===xa.type?void 0:h.event.dispatch.apply(N.elem,arguments)},N.elem=a);c=(c||"").match(Eb)||[""];for(G=c.length;G--;){var ba=nc.exec(c[G])||[];var ca=P=ba[1];var va=(ba[2]||"").split(".").sort();ca&&(ba=h.event.special[ca]||
{},ca=(x?ba.delegateType:ba.bindType)||ca,ba=h.event.special[ca]||{},P=h.extend({type:ca,origType:P,data:m,handler:g,guid:g.guid,selector:x,needsContext:x&&h.expr.match.needsContext.test(x),namespace:va.join(".")},X),(O=A[ca])||(O=A[ca]=[],O.delegateCount=0,ba.setup&&!1!==ba.setup.call(a,m,va,N)||(a.addEventListener?a.addEventListener(ca,N,!1):a.attachEvent&&a.attachEvent("on"+ca,N))),ba.add&&(ba.add.call(a,P),P.handler.guid||(P.handler.guid=g.guid)),x?O.splice(O.delegateCount++,0,P):O.push(P),h.event.global[ca]=
!0)}a=null}},remove:function(a,c,g,m,x){var A,G,N,P,O,X=h.hasData(a)&&h._data(a);if(X&&(P=X.events)){c=(c||"").match(Eb)||[""];for(N=c.length;N--;){var ba=nc.exec(c[N])||[];var ca=O=ba[1];var va=(ba[2]||"").split(".").sort();if(ca){var xa=h.event.special[ca]||{};ca=(m?xa.delegateType:xa.bindType)||ca;var ta=P[ca]||[];ba=ba[2]&&new RegExp("(^|\\.)"+va.join("\\.(?:.*\\.|)")+"(\\.|$)");for(G=A=ta.length;A--;){var Ma=ta[A];!x&&O!==Ma.origType||g&&g.guid!==Ma.guid||ba&&!ba.test(Ma.namespace)||m&&m!==Ma.selector&&
("**"!==m||!Ma.selector)||(ta.splice(A,1),Ma.selector&&ta.delegateCount--,xa.remove&&xa.remove.call(a,Ma))}G&&!ta.length&&(xa.teardown&&!1!==xa.teardown.call(a,va,X.handle)||h.removeEvent(a,ca,X.handle),delete P[ca])}else for(ca in P)h.event.remove(a,ca+c[N],g,m,!0)}h.isEmptyObject(P)&&(delete X.handle,h._removeData(a,"events"))}},trigger:function(a,c,g,m){var x,A,G=[g||la],N=Qb.call(a,"type")?a.type:a;var P=Qb.call(a,"namespace")?a.namespace.split("."):[];var O=x=g=g||la;if(3!==g.nodeType&&8!==g.nodeType&&
!vd.test(N+h.event.triggered)){-1<N.indexOf(".")&&(P=N.split("."),N=P.shift(),P.sort());var X=0>N.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=g);c=null==c?[a]:h.makeArray(c,[a]);P=h.event.special[N]||{};if(m||!P.trigger||!1!==P.trigger.apply(g,c)){if(!m&&!P.noBubble&&!h.isWindow(g)){var ba=P.delegateType||
N;vd.test(ba+N)||(O=O.parentNode);for(;O;O=O.parentNode)G.push(O),x=O;x===(g.ownerDocument||la)&&G.push(x.defaultView||x.parentWindow||l)}for(A=0;(O=G[A++])&&!a.isPropagationStopped();)a.type=1<A?ba:P.bindType||N,(x=(h._data(O,"events")||{})[a.type]&&h._data(O,"handle"))&&x.apply(O,c),(x=X&&O[X])&&x.apply&&qc(O)&&(a.result=x.apply(O,c),!1===a.result&&a.preventDefault());a.type=N;if(!(m||a.isDefaultPrevented()||P._default&&!1!==P._default.apply(G.pop(),c))&&qc(g)&&X&&g[N]&&!h.isWindow(g)){(x=g[X])&&
(g[X]=null);h.event.triggered=N;try{g[N]()}catch(ca){}h.event.triggered=void 0;x&&(g[X]=x)}return a.result}}},dispatch:function(a){a=h.event.fix(a);var c,g,m,x=Pb.call(arguments);var A=(h._data(this,"events")||{})[a.type]||[];var G=h.event.special[a.type]||{};x[0]=a;a.delegateTarget=this;if(!G.preDispatch||!1!==G.preDispatch.call(this,a)){var N=h.event.handlers.call(this,a,A);for(A=0;(m=N[A++])&&!a.isPropagationStopped();)for(a.currentTarget=m.elem,c=0;(g=m.handlers[c++])&&!a.isImmediatePropagationStopped();)if(!a.rnamespace||
a.rnamespace.test(g.namespace))a.handleObj=g,a.data=g.data,g=((h.event.special[g.origType]||{}).handle||g.handler).apply(m.elem,x),void 0!==g&&!1===(a.result=g)&&(a.preventDefault(),a.stopPropagation());G.postDispatch&&G.postDispatch.call(this,a);return a.result}},handlers:function(a,c){var g,m=[],x=c.delegateCount,A=a.target;if(x&&A.nodeType&&("click"!==a.type||isNaN(a.button)||1>a.button))for(;A!=this;A=A.parentNode||this)if(1===A.nodeType&&(!0!==A.disabled||"click"!==a.type)){var G=[];for(g=0;g<
x;g++){var N=c[g];var P=N.selector+" ";void 0===G[P]&&(G[P]=N.needsContext?-1<h(P,this).index(A):h.find(P,this,null,[A]).length);G[P]&&G.push(N)}G.length&&m.push({elem:A,handlers:G})}x<c.length&&m.push({elem:this,handlers:c.slice(x)});return m},fix:function(a){if(a[h.expando])return a;var c=a.type;var g=a,m=this.fixHooks[c];m||(this.fixHooks[c]=m=hc.test(c)?this.mouseHooks:cc.test(c)?this.keyHooks:{});var x=m.props?this.props.concat(m.props):this.props;a=new h.Event(g);for(c=x.length;c--;){var A=
x[c];a[A]=g[A]}a.target||(a.target=g.srcElement||la);3===a.target.nodeType&&(a.target=a.target.parentNode);a.metaKey=!!a.metaKey;return m.filter?m.filter(a,g):a},props:"altKey bubbles cancelable ctrlKey currentTarget detail eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:["char","charCode","key","keyCode"],filter:function(a,c){null==a.which&&(a.which=null!=c.charCode?c.charCode:c.keyCode);return a}},mouseHooks:{props:"button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "),
filter:function(a,c){var g=c.button,m=c.fromElement;if(null==a.pageX&&null!=c.clientX){var x=a.target.ownerDocument||la;var A=x.documentElement;x=x.body;a.pageX=c.clientX+(A&&A.scrollLeft||x&&x.scrollLeft||0)-(A&&A.clientLeft||x&&x.clientLeft||0);a.pageY=c.clientY+(A&&A.scrollTop||x&&x.scrollTop||0)-(A&&A.clientTop||x&&x.clientTop||0)}!a.relatedTarget&&m&&(a.relatedTarget=m===a.target?c.toElement:m);a.which||void 0===g||(a.which=g&1?1:g&2?3:g&4?2:0);return a}},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==
Za()&&this.focus)try{return this.focus(),!1}catch(a){}},delegateType:"focusin"},blur:{trigger:function(){if(this===Za()&&this.blur)return this.blur(),!1},delegateType:"focusout"},click:{trigger:function(){if(h.nodeName(this,"input")&&"checkbox"===this.type&&this.click)return this.click(),!1},_default:function(a){return h.nodeName(a.target,"a")}},beforeunload:{postDispatch:function(a){void 0!==a.result&&a.originalEvent&&(a.originalEvent.returnValue=a.result)}}},simulate:function(a,c,g){a=h.extend(new h.Event,
g,{type:a,isSimulated:!0});h.event.trigger(a,null,c);a.isDefaultPrevented()&&g.preventDefault()}};h.removeEvent=la.removeEventListener?function(a,c,g){a.removeEventListener&&a.removeEventListener(c,g)}:function(a,c,g){c="on"+c;a.detachEvent&&("undefined"===typeof a[c]&&(a[c]=null),a.detachEvent(c,g))};h.Event=function(a,c){if(!(this instanceof h.Event))return new h.Event(a,c);a&&a.type?(this.originalEvent=a,this.type=a.type,this.isDefaultPrevented=a.defaultPrevented||void 0===a.defaultPrevented&&
!1===a.returnValue?sa:Ba):this.type=a;c&&h.extend(this,c);this.timeStamp=a&&a.timeStamp||h.now();this[h.expando]=!0};h.Event.prototype={constructor:h.Event,isDefaultPrevented:Ba,isPropagationStopped:Ba,isImmediatePropagationStopped:Ba,preventDefault:function(){var a=this.originalEvent;this.isDefaultPrevented=sa;a&&(a.preventDefault?a.preventDefault():a.returnValue=!1)},stopPropagation:function(){var a=this.originalEvent;this.isPropagationStopped=sa;a&&!this.isSimulated&&(a.stopPropagation&&a.stopPropagation(),
a.cancelBubble=!0)},stopImmediatePropagation:function(){var a=this.originalEvent;this.isImmediatePropagationStopped=sa;a&&a.stopImmediatePropagation&&a.stopImmediatePropagation();this.stopPropagation()}};h.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(a,c){h.event.special[a]={delegateType:c,bindType:c,handle:function(g){var m=g.relatedTarget,x=g.handleObj;if(!m||m!==this&&!h.contains(this,m)){g.type=x.origType;var A=x.handler.apply(this,
arguments);g.type=c}return A}}});ja.submit||(h.event.special.submit={setup:function(){if(h.nodeName(this,"form"))return!1;h.event.add(this,"click._submit keypress._submit",function(a){a=a.target;(a=h.nodeName(a,"input")||h.nodeName(a,"button")?h.prop(a,"form"):void 0)&&!h._data(a,"submit")&&(h.event.add(a,"submit._submit",function(c){c._submitBubble=!0}),h._data(a,"submit",!0))})},postDispatch:function(a){a._submitBubble&&(delete a._submitBubble,this.parentNode&&!a.isTrigger&&h.event.simulate("submit",
this.parentNode,a))},teardown:function(){if(h.nodeName(this,"form"))return!1;h.event.remove(this,"._submit")}});ja.change||(h.event.special.change={setup:function(){if(Bb.test(this.nodeName)){if("checkbox"===this.type||"radio"===this.type)h.event.add(this,"propertychange._change",function(a){"checked"===a.originalEvent.propertyName&&(this._justChanged=!0)}),h.event.add(this,"click._change",function(a){this._justChanged&&!a.isTrigger&&(this._justChanged=!1);h.event.simulate("change",this,a)});return!1}h.event.add(this,
"beforeactivate._change",function(a){a=a.target;Bb.test(a.nodeName)&&!h._data(a,"change")&&(h.event.add(a,"change._change",function(c){!this.parentNode||c.isSimulated||c.isTrigger||h.event.simulate("change",this.parentNode,c)}),h._data(a,"change",!0))})},handle:function(a){var c=a.target;if(this!==c||a.isSimulated||a.isTrigger||"radio"!==c.type&&"checkbox"!==c.type)return a.handleObj.handler.apply(this,arguments)},teardown:function(){h.event.remove(this,"._change");return!Bb.test(this.nodeName)}});
ja.focusin||h.each({focus:"focusin",blur:"focusout"},function(a,c){var g=function(m){h.event.simulate(c,m.target,h.event.fix(m))};h.event.special[c]={setup:function(){var m=this.ownerDocument||this,x=h._data(m,c);x||m.addEventListener(a,g,!0);h._data(m,c,(x||0)+1)},teardown:function(){var m=this.ownerDocument||this,x=h._data(m,c)-1;x?h._data(m,c,x):(m.removeEventListener(a,g,!0),h._removeData(m,c))}}});h.fn.extend({on:function(a,c,g,m){return Qa(this,a,c,g,m)},one:function(a,c,g,m){return Qa(this,
a,c,g,m,1)},off:function(a,c,g){if(a&&a.preventDefault&&a.handleObj){var m=a.handleObj;h(a.delegateTarget).off(m.namespace?m.origType+"."+m.namespace:m.origType,m.selector,m.handler);return this}if("object"===typeof a){for(m in a)this.off(m,c,a[m]);return this}if(!1===c||"function"===typeof c)g=c,c=void 0;!1===g&&(g=Ba);return this.each(function(){h.event.remove(this,a,g,c)})},trigger:function(a,c){return this.each(function(){h.event.trigger(a,c,this)})},triggerHandler:function(a,c){var g=this[0];
if(g)return h.event.trigger(a,c,g,!0)}});var fd=/ jQuery\d+="(?:null|\d+)"/g,kc=RegExp("\x3c(?:abbr|article|aside|audio|bdi|canvas|data|datalist|details|dialog|figcaption|figure|footer|header|hgroup|main|mark|meter|nav|output|picture|progress|section|summary|template|time|video)[\\s/\x3e]","i"),gd=/<script|<style|<link/i,hd=/checked\s*(?:[^=]|=\s*.checked.)/i,tb=/^true\/(.*)/,Ed=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g,Vc=Z(la).appendChild(la.createElement("div"));h.extend({htmlPrefilter:function(a){return a},
clone:function(a,c,g){var m,x,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(x=0;null!=(m=P[x]);++x)if(N[x]){var O=void 0,X=m,ba=N[x];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(g)for(P=
P||Y(a),N=N||Y(G),x=0;null!=(m=P[x]);x++)ia(m,N[x]);else ia(a,G);N=Y(G,"script");0<N.length&&V(N,!A&&Y(a,"script"));return G},cleanData:function(a,c){for(var g,m,x,A,G=0,N=h.expando,P=h.cache,O=ja.attributes,X=h.event.special;null!=(g=a[G]);G++)if(c||qc(g))if(A=(x=g[N])&&P[x]){if(A.events)for(m in A.events)X[m]?h.event.remove(g,m):h.removeEvent(g,m,A.handle);P[x]&&(delete P[x],O||"undefined"===typeof g.removeAttribute?g[N]=void 0:g.removeAttribute(N),Gb.push(x))}}});h.fn.extend({domManip:ma,detach:function(a){return Ca(this,
a,!0)},remove:function(a){return Ca(this,a)},text:function(a){return Nb(this,function(c){return void 0===c?h.text(this):this.empty().append((this[0]&&this[0].ownerDocument||la).createTextNode(c))},null,a,arguments.length)},append:function(){return ma(this,arguments,function(a){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||Oa(this,a).appendChild(a)})},prepend:function(){return ma(this,arguments,function(a){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var c=Oa(this,a);c.insertBefore(a,
c.firstChild)}})},before:function(){return ma(this,arguments,function(a){this.parentNode&&this.parentNode.insertBefore(a,this)})},after:function(){return ma(this,arguments,function(a){this.parentNode&&this.parentNode.insertBefore(a,this.nextSibling)})},empty:function(){for(var a,c=0;null!=(a=this[c]);c++){for(1===a.nodeType&&h.cleanData(Y(a,!1));a.firstChild;)a.removeChild(a.firstChild);a.options&&h.nodeName(a,"select")&&(a.options.length=0)}return this},clone:function(a,c){a=null==a?!1:a;c=null==
c?a:c;return this.map(function(){return h.clone(this,a,c)})},html:function(a){return Nb(this,function(c){var g=this[0]||{},m=0,x=this.length;if(void 0===c)return 1===g.nodeType?g.innerHTML.replace(fd,""):void 0;if(!("string"!==typeof c||gd.test(c)||!ja.htmlSerialize&&kc.test(c)||!ja.leadingWhitespace&&Nc.test(c)||sb[(wa.exec(c)||["",""])[1].toLowerCase()])){c=h.htmlPrefilter(c);try{for(;m<x;m++)g=this[m]||{},1===g.nodeType&&(h.cleanData(Y(g,!1)),g.innerHTML=c);g=0}catch(A){}}g&&this.empty().append(c)},
null,a,arguments.length)},replaceWith:function(){var a=[];return ma(this,arguments,function(c){var g=this.parentNode;0>h.inArray(this,a)&&(h.cleanData(Y(this)),g&&g.replaceChild(c,this))},a)}});h.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(a,c){h.fn[a]=function(g){for(var m=0,x=[],A=h(g),G=A.length-1;m<=G;m++)g=m===G?this:this.clone(!0),h(A[m])[c](g),Cb.apply(x,g.get());return this.pushStack(x)}});var sc,Wc={HTML:"block",
BODY:"block"},wd=/^margin/,yc=new RegExp("^("+Uc+")(?!px)[a-z%]+$","i"),Oc=function(a,c,g,m){var x,A={};for(x in c)A[x]=a.style[x],a.style[x]=c[x];g=g.apply(a,m||[]);for(x in c)a.style[x]=A[x];return g},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;g=A=!0;if(l.getComputedStyle){var X=l.getComputedStyle(P);
c="1%"!==(X||{}).top;G="2px"===(X||{}).marginLeft;m="4px"===(X||{width:"4px"}).width;P.style.marginRight="50%";g="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((l.getComputedStyle(X)||{}).marginRight);P.removeChild(X)}P.style.display=
"none";if(x=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",x=0===X[0].offsetHeight)X[0].style.display="",X[1].style.display="none",x=0===X[0].offsetHeight;O.removeChild(N)}var c,g,m,x,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 x},boxSizingReliable:function(){null==c&&a();return m},pixelMarginRight:function(){null==c&&a();return g},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(l.getComputedStyle){var dc=function(a){var c=a.ownerDocument.defaultView;c&&c.opener||(c=l);return c.getComputedStyle(a)};var Vb=
function(a,c,g){var m=a.style;var x=(g=g||dc(a))?g.getPropertyValue(c)||g[c]:void 0;""!==x&&void 0!==x||h.contains(a.ownerDocument,a)||(x=h.style(a,c));if(g&&!ja.pixelMarginRight()&&yc.test(x)&&wd.test(c)){a=m.width;c=m.minWidth;var A=m.maxWidth;m.minWidth=m.maxWidth=m.width=x;x=g.width;m.width=a;m.minWidth=c;m.maxWidth=A}return void 0===x?x:x+""}}else Ac.currentStyle&&(dc=function(a){return a.currentStyle},Vb=function(a,c,g){var m,x,A=a.style;var G=(g=g||dc(a))?g[c]:void 0;null==G&&A&&A[c]&&(G=A[c]);
if(yc.test(G)&&!zc.test(c)){g=A.left;if(x=(m=a.runtimeStyle)&&m.left)m.left=a.currentStyle.left;A.left="fontSize"===c?"1em":G;G=A.pixelLeft+"px";A.left=g;x&&(m.left=x)}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,g,m){if(a&&3!==a.nodeType&&8!==a.nodeType&&a.style){var x,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!==g){var P=typeof g;"string"===
P&&(x=rc.exec(g))&&x[1]&&(g=T(a,c,x),P="number");if(null!=g&&g===g&&("number"===P&&(g+=x&&x[3]||(h.cssNumber[A]?"":"px")),ja.clearCloneStyle||""!==g||0!==c.indexOf("background")||(G[c]="inherit"),!(N&&"set"in N)||void 0!==(g=N.set(a,g,m))))try{G[c]=g}catch(O){}}else return N&&"get"in N&&void 0!==(x=N.get(a,!1,m))?x:G[c]}},css:function(a,c,g,m){var x;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&&(x=A.get(a,!0,g));void 0===x&&(x=Vb(a,c,m));
"normal"===x&&c in yd&&(x=yd[c]);return""===g||g?(a=parseFloat(x),!0===g||isFinite(a)?a||0:x):x}});h.each(["height","width"],function(a,c){h.cssHooks[c]={get:function(g,m,x){if(m)return jd.test(h.css(g,"display"))&&0===g.offsetWidth?Oc(g,xd,function(){return hb(g,c,x)}):hb(g,c,x)},set:function(g,m,x){var A=x&&dc(g);return pb(g,m,x?qb(g,c,x,ja.boxSizing&&"border-box"===h.css(g,"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 g=a.style;a=a.currentStyle;var m=h.isNumeric(c)?"alpha(opacity\x3d"+100*c+")":"",x=a&&a.filter||g.filter||"";g.zoom=1;if((1<=c||""===c)&&""===h.trim(x.replace(Bc,""))&&g.removeAttribute&&(g.removeAttribute("filter"),""===c||a&&!a.filter))return;g.filter=Bc.test(x)?x.replace(Bc,m):x+" "+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(g){var m=0,x={};for(g="string"===typeof g?g.split(" "):[g];4>m;m++)x[a+ob[m]+c]=g[m]||g[m-2]||g[0];return x}};wd.test(a)||(h.cssHooks[a+c].set=pb)});h.fn.extend({css:function(a,
c){return Nb(this,function(g,m,x){var A,G={},N=0;if(h.isArray(m)){x=dc(g);for(A=m.length;N<A;N++)G[m[N]]=h.css(g,m[N],!1,x);return G}return void 0!==x?h.style(g,m,x):h.css(g,m)},a,c,1<arguments.length)},show:function(){return ab(this,!0)},hide:function(){return ab(this)},toggle:function(a){return"boolean"===typeof a?a?this.show():this.hide():this.each(function(){mc(this)?h(this).show():h(this).hide()})}});h.Tween=Xa;Xa.prototype={constructor:Xa,init:function(a,c,g,m,x,A){this.elem=a;this.prop=g;this.easing=
x||h.easing._default;this.options=c;this.start=this.now=this.cur();this.end=m;this.unit=A||(h.cssNumber[g]?"":"px")},cur:function(){var a=Xa.propHooks[this.prop];return a&&a.get?a.get(this):Xa.propHooks._default.get(this)},run:function(a){var c,g=Xa.propHooks[this.prop];this.pos=this.options.duration?c=h.easing[this.easing](a,this.options.duration*a,0,1,this.options.duration):c=a;this.now=(this.end-this.start)*c+this.start;this.options.step&&this.options.step.call(this.elem,this.now,this);g&&g.set?
g.set(this):Xa.propHooks._default.set(this);return this}};Xa.prototype.init.prototype=Xa.prototype;Xa.propHooks={_default:{get:function(a){return 1!==a.elem.nodeType||null!=a.elem[a.prop]&&null==a.elem.style[a.prop]?a.elem[a.prop]:(a=h.css(a.elem,a.prop,""))&&"auto"!==a?a:0},set:function(a){if(h.fx.step[a.prop])h.fx.step[a.prop](a);else 1!==a.elem.nodeType||null==a.elem.style[h.cssProps[a.prop]]&&!h.cssHooks[a.prop]?a.elem[a.prop]=a.now:h.style(a.elem,a.prop,a.now+a.unit)}}};Xa.propHooks.scrollTop=
Xa.propHooks.scrollLeft={set:function(a){a.elem.nodeType&&a.elem.parentNode&&(a.elem[a.prop]=a.now)}};h.easing={linear:function(a){return a},swing:function(a){return.5-Math.cos(a*Math.PI)/2},_default:"swing"};h.fx=Xa.prototype.init;h.fx.step={};var Hb,Lc,Od=/^(?:toggle|show|hide)$/,tc=/queueHooks$/;h.Animation=h.extend(lb,{tweeners:{"*":[function(a,c){var g=this.createTween(a,c);T(g.elem,a,rc.exec(c),g);return g}]},tweener:function(a,c){h.isFunction(a)?(c=a,a=["*"]):a=a.match(Eb);for(var g,m=0,x=
a.length;m<x;m++)g=a[m],lb.tweeners[g]=lb.tweeners[g]||[],lb.tweeners[g].unshift(c)},prefilters:[function(a,c,g){var m,x=this,A={},G=a.style,N=a.nodeType&&mc(a),P=h._data(a,"fxshow");if(!g.queue){var O=h._queueHooks(a,"fx");if(null==O.unqueued){O.unqueued=0;var X=O.empty.fire;O.empty.fire=function(){O.unqueued||X()}}O.unqueued++;x.always(function(){x.always(function(){O.unqueued--;h.queue(a,"fx").length||O.empty.fire()})})}if(1===a.nodeType&&("height"in c||"width"in c)){g.overflow=[G.overflow,G.overflowX,
G.overflowY];var ba=h.css(a,"display");var ca="none"===ba?h._data(a,"olddisplay")||Da(a.nodeName):ba;"inline"===ca&&"none"===h.css(a,"float")&&(ja.inlineBlockNeedsLayout&&"inline"!==Da(a.nodeName)?G.zoom=1:G.display="inline-block")}g.overflow&&(G.overflow="hidden",ja.shrinkWrapBlocks()||x.always(function(){G.overflow=g.overflow[0];G.overflowX=g.overflow[1];G.overflowY=g.overflow[2]}));for(m in c)if(ca=c[m],Od.exec(ca)){delete c[m];var va=va||"toggle"===ca;if(ca===(N?"hide":"show"))if("show"===ca&&
P&&void 0!==P[m])N=!0;else continue;A[m]=P&&P[m]||h.style(a,m)}else ba=void 0;if(h.isEmptyObject(A))"inline"===("none"===ba?Da(a.nodeName):ba)&&(G.display=ba);else for(m in P?"hidden"in P&&(N=P.hidden):P=h._data(a,"fxshow",{}),va&&(P.hidden=!N),N?h(a).show():x.done(function(){h(a).hide()}),x.done(function(){var xa;h._removeData(a,"fxshow");for(xa in A)h.style(a,xa,A[xa])}),A)c=ib(N?P[m]:0,m,x),m in P||(P[m]=c.start,N&&(c.end=c.start,c.start="width"===m||"height"===m?1:0))}],prefilter:function(a,c){c?
lb.prefilters.unshift(a):lb.prefilters.push(a)}});h.speed=function(a,c,g){var m=a&&"object"===typeof a?h.extend({},a):{complete:g||!g&&c||h.isFunction(a)&&a,duration:a,easing:g&&c||c&&!h.isFunction(c)&&c};m.duration=h.fx.off?0:"number"===typeof m.duration?m.duration:m.duration in h.fx.speeds?h.fx.speeds[m.duration]:h.fx.speeds._default;if(null==m.queue||!0===m.queue)m.queue="fx";m.old=m.complete;m.complete=function(){h.isFunction(m.old)&&m.old.call(this);m.queue&&h.dequeue(this,m.queue)};return m};
h.fn.extend({fadeTo:function(a,c,g,m){return this.filter(mc).css("opacity",0).show().end().animate({opacity:c},a,g,m)},animate:function(a,c,g,m){var x=h.isEmptyObject(a),A=h.speed(c,g,m);c=function(){var G=lb(this,h.extend({},a),A);(x||h._data(this,"finish"))&&G.stop(!0)};c.finish=c;return x||!1===A.queue?this.each(c):this.queue(A.queue,c)},stop:function(a,c,g){var m=function(x){var A=x.stop;delete x.stop;A(g)};"string"!==typeof a&&(g=c,c=a,a=void 0);c&&!1!==a&&this.queue(a||"fx",[]);return this.each(function(){var x=
!0,A=null!=a&&a+"queueHooks",G=h.timers,N=h._data(this);if(A)N[A]&&N[A].stop&&m(N[A]);else for(A in N)N[A]&&N[A].stop&&tc.test(A)&&m(N[A]);for(A=G.length;A--;)G[A].elem!==this||null!=a&&G[A].queue!==a||(G[A].anim.stop(g),x=!1,G.splice(A,1));!x&&g||h.dequeue(this,a)})},finish:function(a){!1!==a&&(a=a||"fx");return this.each(function(){var c=h._data(this),g=c[a+"queue"];var m=c[a+"queueHooks"];var x=h.timers,A=g?g.length:0;c.finish=!0;h.queue(this,a,[]);m&&m.stop&&m.stop.call(this,!0);for(m=x.length;m--;)x[m].elem===
this&&x[m].queue===a&&(x[m].anim.stop(!0),x.splice(m,1));for(m=0;m<A;m++)g[m]&&g[m].finish&&g[m].finish.call(this);delete c.finish})}});h.each(["toggle","show","hide"],function(a,c){var g=h.fn[c];h.fn[c]=function(m,x,A){return null==m||"boolean"===typeof m?g.apply(this,arguments):this.animate(eb(c,!0),m,x,A)}});h.each({slideDown:eb("show"),slideUp:eb("hide"),slideToggle:eb("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(a,c){h.fn[a]=function(g,m,
x){return this.animate(c,g,m,x)}});h.timers=[];h.fx.tick=function(){var a=h.timers,c=0;for(Hb=h.now();c<a.length;c++){var g=a[c];g()||a[c]!==g||a.splice(c--,1)}a.length||h.fx.stop();Hb=void 0};h.fx.timer=function(a){h.timers.push(a);a()?h.fx.start():h.timers.pop()};h.fx.interval=13;h.fx.start=function(){Lc||(Lc=l.setInterval(h.fx.tick,h.fx.interval))};h.fx.stop=function(){l.clearInterval(Lc);Lc=null};h.fx.speeds={slow:600,fast:200,_default:400};h.fn.delay=function(a,c){a=h.fx?h.fx.speeds[a]||a:a;
return this.queue(c||"fx",function(g,m){var x=l.setTimeout(g,a);m.stop=function(){l.clearTimeout(x)}})};(function(){var a=la.createElement("input");la.createElement("div");var c=la.createElement("select"),g=c.appendChild(la.createElement("option"));var m=la.createElement("div");m.setAttribute("className","t");m.innerHTML="  \x3clink/\x3e\x3ctable\x3e\x3c/table\x3e\x3ca href\x3d'/a'\x3ea\x3c/a\x3e\x3cinput type\x3d'checkbox'/\x3e";m.getElementsByTagName("a");a.setAttribute("type","checkbox");m.appendChild(a);
var x=m.getElementsByTagName("a")[0];x.style.cssText="top:1px";ja.getSetAttribute="t"!==m.className;ja.style=/top/.test(x.getAttribute("style"));ja.hrefNormalized="/a"===x.getAttribute("href");ja.checkOn=!!a.value;ja.optSelected=g.selected;ja.enctype=!!la.createElement("form").enctype;c.disabled=!0;ja.optDisabled=!g.disabled;a=la.createElement("input");a.setAttribute("value","");ja.input=""===a.getAttribute("value");a.value="t";a.setAttribute("type","radio");ja.radioValue="t"===a.value})();var Pd=
/\r/g,Qd=/[\x20\t\r\n\f]+/g;h.fn.extend({val:function(a){var c,g,m=this[0];if(arguments.length){var x=h.isFunction(a);return this.each(function(A){1===this.nodeType&&(A=x?a.call(this,A,h(this).val()):a,null==A?A="":"number"===typeof A?A+="":h.isArray(A)&&(A=h.map(A,function(G){return null==G?"":G+""})),c=h.valHooks[this.type]||h.valHooks[this.nodeName.toLowerCase()],c&&"set"in c&&void 0!==c.set(this,A,"value")||(this.value=A))})}if(m){if((c=h.valHooks[m.type]||h.valHooks[m.nodeName.toLowerCase()])&&
"get"in c&&void 0!==(g=c.get(m,"value")))return g;g=m.value;return"string"===typeof g?g.replace(Pd,""):null==g?"":g}}});h.extend({valHooks:{option:{get:function(a){var c=h.find.attr(a,"value");return null!=c?c:h.trim(h.text(a)).replace(Qd," ")}},select:{get:function(a){for(var c,g=a.options,m=a.selectedIndex,x=(a="select-one"===a.type||0>m)?null:[],A=a?m+1:g.length,G=0>m?A:a?m:0;G<A;G++)if(c=g[G],!(!c.selected&&G!==m||(ja.optDisabled?c.disabled:null!==c.getAttribute("disabled"))||c.parentNode.disabled&&
h.nodeName(c.parentNode,"optgroup"))){c=h(c).val();if(a)return c;x.push(c)}return x},set:function(a,c){for(var g,m=a.options,x=h.makeArray(c),A=m.length;A--;)if(c=m[A],-1<h.inArray(h.valHooks.option.get(c),x))try{c.selected=g=!0}catch(G){c.scrollHeight}else c.selected=!1;g||(a.selectedIndex=-1);return m}}}});h.each(["radio","checkbox"],function(){h.valHooks[this]={set:function(a,c){if(h.isArray(c))return a.checked=-1<h.inArray(h(a).val(),c)}};ja.checkOn||(h.valHooks[this].get=function(a){return null===
a.getAttribute("value")?"on":a.value})});var Lb=h.expr.attrHandle,Yc=/^(?:checked|selected)$/i,Tb=ja.getSetAttribute,uc=ja.input;h.fn.extend({attr:function(a,c){return Nb(this,h.attr,a,c,1<arguments.length)},removeAttr:function(a){return this.each(function(){h.removeAttr(this,a)})}});h.extend({attr:function(a,c,g){var m,x=a.nodeType;if(3!==x&&8!==x&&2!==x){if("undefined"===typeof a.getAttribute)return h.prop(a,c,g);if(1!==x||!h.isXMLDoc(a)){c=c.toLowerCase();var A=h.attrHooks[c]||(h.expr.match.bool.test(c)?
vc:lc)}if(void 0!==g){if(null===g){h.removeAttr(a,c);return}if(A&&"set"in A&&void 0!==(m=A.set(a,g,c)))return m;a.setAttribute(c,g+"");return g}if(A&&"get"in A&&null!==(m=A.get(a,c)))return m;m=h.find.attr(a,c);return null==m?void 0:m}},attrHooks:{type:{set:function(a,c){if(!ja.radioValue&&"radio"===c&&h.nodeName(a,"input")){var g=a.value;a.setAttribute("type",c);g&&(a.value=g);return c}}}},removeAttr:function(a,c){var g=0,m=c&&c.match(Eb);if(m&&1===a.nodeType)for(;c=m[g++];){var x=h.propFix[c]||
c;h.expr.match.bool.test(c)?uc&&Tb||!Yc.test(c)?a[x]=!1:a[h.camelCase("default-"+c)]=a[x]=!1:h.attr(a,c,"");a.removeAttribute(Tb?c:x)}}});var vc={set:function(a,c,g){!1===c?h.removeAttr(a,g):uc&&Tb||!Yc.test(g)?a.setAttribute(!Tb&&h.propFix[g]||g,g):a[h.camelCase("default-"+g)]=a[g]=!0;return g}};h.each(h.expr.match.bool.source.match(/\w+/g),function(a,c){var g=Lb[c]||h.find.attr;uc&&Tb||!Yc.test(c)?Lb[c]=function(m,x,A){if(!A){var G=Lb[x];Lb[x]=N;var N=null!=g(m,x,A)?x.toLowerCase():null;Lb[x]=G}return N}:
Lb[c]=function(m,x,A){if(!A)return m[h.camelCase("default-"+x)]?x.toLowerCase():null}});uc&&Tb||(h.attrHooks.value={set:function(a,c,g){if(h.nodeName(a,"input"))a.defaultValue=c;else return lc&&lc.set(a,c,g)}});if(!Tb){var lc={set:function(a,c,g){var m=a.getAttributeNode(g);m||a.setAttributeNode(m=a.ownerDocument.createAttribute(g));m.value=c+="";if("value"===g||c===a.getAttribute(g))return c}};Lb.id=Lb.name=Lb.coords=function(a,c,g){var m;if(!g)return(m=a.getAttributeNode(c))&&""!==m.value?m.value:
null};h.valHooks.button={get:function(a,c){if((a=a.getAttributeNode(c))&&a.specified)return a.value},set:lc.set};h.attrHooks.contenteditable={set:function(a,c,g){lc.set(a,""===c?!1:c,g)}};h.each(["width","height"],function(a,c){h.attrHooks[c]={set:function(g,m){if(""===m)return g.setAttribute(c,"auto"),m}}})}ja.style||(h.attrHooks.style={get:function(a){return a.style.cssText||void 0},set:function(a,c){return a.style.cssText=c+""}});var Zc=/^(?:input|select|textarea|button|object)$/i,Fd=/^(?:a|area)$/i;
h.fn.extend({prop:function(a,c){return Nb(this,h.prop,a,c,1<arguments.length)},removeProp:function(a){a=h.propFix[a]||a;return this.each(function(){try{this[a]=void 0,delete this[a]}catch(c){}})}});h.extend({prop:function(a,c,g){var m,x=a.nodeType;if(3!==x&&8!==x&&2!==x){if(1!==x||!h.isXMLDoc(a)){c=h.propFix[c]||c;var A=h.propHooks[c]}return void 0!==g?A&&"set"in A&&void 0!==(m=A.set(a,g,c))?m:a[c]=g:A&&"get"in A&&null!==(m=A.get(a,c))?m:a[c]}},propHooks:{tabIndex:{get:function(a){var c=h.find.attr(a,
"tabindex");return c?parseInt(c,10):Zc.test(a.nodeName)||Fd.test(a.nodeName)&&a.href?0:-1}}},propFix:{"for":"htmlFor","class":"className"}});ja.hrefNormalized||h.each(["href","src"],function(a,c){h.propHooks[c]={get:function(g){return g.getAttribute(c,4)}}});ja.optSelected||(h.propHooks.selected={get:function(a){if(a=a.parentNode)a.selectedIndex,a.parentNode&&a.parentNode.selectedIndex;return null},set:function(a){if(a=a.parentNode)a.selectedIndex,a.parentNode&&a.parentNode.selectedIndex}});h.each("tabIndex readOnly maxLength cellSpacing cellPadding rowSpan colSpan useMap frameBorder contentEditable".split(" "),
function(){h.propFix[this.toLowerCase()]=this});ja.enctype||(h.propFix.enctype="encoding");var Mc=/[\t\r\n\f]/g;h.fn.extend({addClass:function(a){var c,g,m,x,A,G=0;if(h.isFunction(a))return this.each(function(P){h(this).addClass(a.call(this,P,vb(this)))});if("string"===typeof a&&a)for(c=a.match(Eb)||[];g=this[G++];){var N=vb(g);if(m=1===g.nodeType&&(" "+N+" ").replace(Mc," ")){for(A=0;x=c[A++];)0>m.indexOf(" "+x+" ")&&(m+=x+" ");m=h.trim(m);N!==m&&h.attr(g,"class",m)}}return this},removeClass:function(a){var c,
g,m,x,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)||[];g=this[G++];){var N=vb(g);if(m=1===g.nodeType&&(" "+N+" ").replace(Mc," ")){for(A=0;x=c[A++];)for(;-1<m.indexOf(" "+x+" ");)m=m.replace(" "+x+" "," ");m=h.trim(m);N!==m&&h.attr(g,"class",m)}}return this},toggleClass:function(a,c){var g=typeof a;return"boolean"===typeof c&&"string"===g?c?this.addClass(a):
this.removeClass(a):h.isFunction(a)?this.each(function(m){h(this).toggleClass(a.call(this,m,vb(this),c),c)}):this.each(function(){var m,x;if("string"===g){var A=0;var G=h(this);for(x=a.match(Eb)||[];m=x[A++];)G.hasClass(m)?G.removeClass(m):G.addClass(m)}else if(void 0===a||"boolean"===g)(m=vb(this))&&h._data(this,"__className__",m),h.attr(this,"class",m||!1===a?"":h._data(this,"__className__")||"")})},hasClass:function(a){var c,g=0;for(a=" "+a+" ";c=this[g++];)if(1===c.nodeType&&-1<(" "+vb(c)+" ").replace(Mc,
" ").indexOf(a))return!0;return!1}});h.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "),function(a,c){h.fn[c]=function(g,m){return 0<arguments.length?this.on(c,null,g,m):this.trigger(c)}});h.fn.extend({hover:function(a,c){return this.mouseenter(a).mouseleave(c||a)}});var Rd=l.location,$c=h.now(),ad=/\?/,Sd=/(,)|(\[|{)|(}|])|"(?:[^"\\\r\n]|\\["\\\/bfnrt]|\\u[\da-fA-F]{4})*"\s*:?|true|false|null|-?(?!0\d)\d+(?:\.\d+|)(?:[eE][+-]?\d+|)/g;
h.parseJSON=function(a){if(l.JSON&&l.JSON.parse)return l.JSON.parse(a+"");var c,g=null,m=h.trim(a+"");return m&&!h.trim(m.replace(Sd,function(x,A,G,N){c&&A&&(g=0);if(0===g)return x;c=G||A;g+=!N-!G;return""}))?Function("return "+m)():h.error("Invalid JSON: "+a)};h.parseXML=function(a){if(!a||"string"!==typeof a)return null;try{if(l.DOMParser){var c=new l.DOMParser;var g=c.parseFromString(a,"text/xml")}else g=new l.ActiveXObject("Microsoft.XMLDOM"),g.async="false",g.loadXML(a)}catch(m){g=void 0}g&&
g.documentElement&&!g.getElementsByTagName("parsererror").length||h.error("Invalid XML: "+a);return g};var Td=/#.*$/,zd=/([?&])_=[^&]*/,Ud=/^(.*?):[ \t]*([^\r\n]*)\r?$/mg,Vd=/^(?:GET|HEAD)$/,Ad=/^\/\//,Dc=/^([\w.+-]+:)(?:\/\/(?:[^\/?#]*@|)([^\/?#:]*)(?::(\d+)|)|)/,bd={},wc={},Bd="*/".concat("*"),ec=Rd.href,fc=Dc.exec(ec.toLowerCase())||[];h.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:ec,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(fc[1]),global:!0,
processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset\x3dUTF-8",accepts:{"*":Bd,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":h.parseJSON,"text xml":h.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(a,c){return c?
rb(rb(a,h.ajaxSettings),c):rb(h.ajaxSettings,a)},ajaxPrefilter:Pc(bd),ajaxTransport:Pc(wc),ajax:function(a,c){function g(Aa,ya,na,Pa){var Sa=ya;if(2!==Fa){Fa=2;A&&l.clearTimeout(A);N=void 0;x=Pa||"";ua.readyState=0<Aa?4:0;Pa=200<=Aa&&300>Aa||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,x,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(x);)P[ya[1].toLowerCase()]=ya[2];ya=P[Aa.toLowerCase()]}return null==ya?null:ya},getAllResponseHeaders:function(){return 2===Fa?x: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);g(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]+"//");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&&0<O.timeout&&(A=l.setTimeout(function(){ua.abort("timeout")},O.timeout));try{Fa=1,N.send(ta,g)}catch(Aa){if(2>Fa)g(-1,Aa);else throw Aa;}}else g(-1,"No Transport");return ua},
getJSON:function(a,c,g){return h.get(a,c,g,"json")},getScript:function(a,c){return h.get(a,void 0,c,"script")}});h.each(["get","post"],function(a,c){h[c]=function(g,m,x,A){h.isFunction(m)&&(A=A||x,x=m,m=void 0);return h.ajax(h.extend({url:g,type:c,dataType:A,data:m,success:x},h.isPlainObject(g)&&g))}});h._evalUrl=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(g){h(this).wrapAll(a.call(this,
g))});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 g=this;g.firstChild&&1===g.firstChild.nodeType;)g=g.firstChild;return g}).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),g=c.contents();g.length?g.wrapAll(a):c.append(a)})},wrap:function(a){var c=h.isFunction(a);return this.each(function(g){h(this).wrapAll(c?
a.call(this,g):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 g,
m=[],x=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(){x(this.name,this.value)});else for(g in a)Ib(g,a[g],c,x);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(g){return{name:c.name,value:g.replace(Cd,"\r\n")}}):{name:c.name,value:a.replace(Cd,"\r\n")}}).get()}});h.ajaxSettings.xhr=void 0!==l.ActiveXObject?function(){return this.isLocal?Cc():8<la.documentMode?oc():/^(get|post|head|put|delete|options)$/i.test(this.type)&&
oc()||Cc()}:oc;var e=0,n={},q=h.ajaxSettings.xhr();l.attachEvent&&l.attachEvent("onunload",function(){for(var a in n)n[a](void 0,!0)});ja.cors=!!q&&"withCredentials"in q;(q=ja.ajax=!!q)&&h.ajaxTransport(function(a){if(!a.crossDomain||ja.cors){var c;return{send:function(g,m){var x,A=a.xhr(),G=++e;A.open(a.type,a.url,a.async,a.username,a.password);if(a.xhrFields)for(x in a.xhrFields)A[x]=a.xhrFields[x];a.mimeType&&A.overrideMimeType&&A.overrideMimeType(a.mimeType);a.crossDomain||g["X-Requested-With"]||
(g["X-Requested-With"]="XMLHttpRequest");for(x in g)void 0!==g[x]&&A.setRequestHeader(x,g[x]+"");A.send(a.hasContent&&a.data||null);c=function(N,P){if(c&&(P||4===A.readyState))if(delete n[G],c=void 0,A.onreadystatechange=h.noop,P)4!==A.readyState&&A.abort();else{var O={};var X=A.status;"string"===typeof A.responseText&&(O.text=A.responseText);try{var ba=A.statusText}catch(ca){ba=""}X||!a.isLocal||a.crossDomain?1223===X&&(X=204):X=O.text?200:404}O&&m(X,ba,O,A.getAllResponseHeaders())};a.async?4===
A.readyState?l.setTimeout(c):A.onreadystatechange=n[G]=c:c()},abort:function(){c&&c(void 0,!0)}}}});h.ajaxPrefilter(function(a){a.crossDomain&&(a.contents.script=!1)});h.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(a){h.globalEval(a);return a}}});h.ajaxPrefilter("script",function(a){void 0===a.cache&&(a.cache=!1);a.crossDomain&&(a.type="GET",a.global=
!1)});h.ajaxTransport("script",function(a){if(a.crossDomain){var c,g=la.head||h("head")[0]||la.documentElement;return{send:function(m,x){c=la.createElement("script");c.async=!0;a.scriptCharset&&(c.charset=a.scriptCharset);c.src=a.url;c.onload=c.onreadystatechange=function(A,G){if(G||!c.readyState||/loaded|complete/.test(c.readyState))c.onload=c.onreadystatechange=null,c.parentNode&&c.parentNode.removeChild(c),c=null,G||x(200,"success")};g.insertBefore(c,g.firstChild)},abort:function(){if(c)c.onload(void 0,
!0)}}}});var z=[],B=/(=)\?(?=&|$)|\?\?/;h.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var a=z.pop()||h.expando+"_"+$c++;this[a]=!0;return a}});h.ajaxPrefilter("json jsonp",function(a,c,g){var m,x=!1!==a.jsonp&&(B.test(a.url)?"url":"string"===typeof a.data&&0===(a.contentType||"").indexOf("application/x-www-form-urlencoded")&&B.test(a.data)&&"data");if(x||"jsonp"===a.dataTypes[0]){var A=a.jsonpCallback=h.isFunction(a.jsonpCallback)?a.jsonpCallback():a.jsonpCallback;x?a[x]=a[x].replace(B,"$1"+
A):!1!==a.jsonp&&(a.url+=(ad.test(a.url)?"\x26":"?")+a.jsonp+"\x3d"+A);a.converters["script json"]=function(){m||h.error(A+" was not called");return m[0]};a.dataTypes[0]="json";var G=l[A];l[A]=function(){m=arguments};g.always(function(){void 0===G?h(l).removeProp(A):l[A]=G;a[A]&&(a.jsonpCallback=c.jsonpCallback,z.push(A));m&&h.isFunction(G)&&G(m[0]);m=G=void 0});return"script"}});h.parseHTML=function(a,c,g){if(!a||"string"!==typeof a)return null;"boolean"===typeof c&&(g=c,c=!1);c=c||la;var m=dd.exec(a);
g=!g&&[];if(m)return[c.createElement(m[1])];m=ra([a],c,g);g&&g.length&&h(g).remove();return h.merge([],m.childNodes)};var I=h.fn.load;h.fn.load=function(a,c,g){if("string"!==typeof a&&I)return I.apply(this,arguments);var m,x,A=this,G=a.indexOf(" ");if(-1<G){var N=h.trim(a.slice(G,a.length));a=a.slice(0,G)}h.isFunction(c)?(g=c,c=void 0):c&&"object"===typeof c&&(m="POST");0<A.length&&h.ajax({url:a,type:m||"GET",dataType:"html",data:c}).done(function(P){x=arguments;A.html(N?h("\x3cdiv\x3e").append(h.parseHTML(P)).find(N):
P)}).always(g&&function(P,O){A.each(function(){g.apply(this,x||[P.responseText,O,P])})});return this};h.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(a,c){h.fn[c]=function(g){return this.on(c,g)}});h.expr.filters.animated=function(a){return h.grep(h.timers,function(c){return a===c.elem}).length};h.offset={setOffset:function(a,c,g){var m=h.css(a,"position"),x=h(a),A={};"static"===m&&(a.style.position="relative");var G=x.offset();var N=h.css(a,"top");var P=
h.css(a,"left");("absolute"===m||"fixed"===m)&&-1<h.inArray("auto",[N,P])?(P=x.position(),N=P.top,P=P.left):(N=parseFloat(N)||0,P=parseFloat(P)||0);h.isFunction(c)&&(c=c.call(a,g,h.extend({},G)));null!=c.top&&(A.top=c.top-G.top+N);null!=c.left&&(A.left=c.left-G.left+P);"using"in c?c.using.call(a,A):x.css(A)}};h.fn.extend({offset:function(a){if(arguments.length)return void 0===a?this:this.each(function(A){h.offset.setOffset(this,a,A)});var c,g={top:0,left:0},m=(c=this[0])&&c.ownerDocument;if(m){var x=
m.documentElement;if(!h.contains(x,c))return g;"undefined"!==typeof c.getBoundingClientRect&&(g=c.getBoundingClientRect());c=Qc(m);return{top:g.top+(c.pageYOffset||x.scrollTop)-(x.clientTop||0),left:g.left+(c.pageXOffset||x.scrollLeft)-(x.clientLeft||0)}}},position:function(){if(this[0]){var a={top:0,left:0},c=this[0];if("fixed"===h.css(c,"position"))var g=c.getBoundingClientRect();else{var m=this.offsetParent();g=this.offset();h.nodeName(m[0],"html")||(a=m.offset());a.top+=h.css(m[0],"borderTopWidth",
!0);a.left+=h.css(m[0],"borderLeftWidth",!0)}return{top:g.top-a.top-h.css(c,"marginTop",!0),left:g.left-a.left-h.css(c,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var a=this.offsetParent;a&&!h.nodeName(a,"html")&&"static"===h.css(a,"position");)a=a.offsetParent;return a||Ac})}});h.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(a,c){var g=/Y/.test(c);h.fn[a]=function(m){return Nb(this,function(x,A,G){var N=Qc(x);if(void 0===G)return N?c in N?N[c]:N.document.documentElement[A]:
x[A];N?N.scrollTo(g?h(N).scrollLeft():G,g?G:h(N).scrollTop()):x[A]=G},a,m,arguments.length,null)}});h.each(["top","left"],function(a,c){h.cssHooks[c]=Ja(ja.pixelPosition,function(g,m){if(m)return m=Vb(g,c),yc.test(m)?h(g).position()[c]+"px":m})});h.each({Height:"height",Width:"width"},function(a,c){h.each({padding:"inner"+a,content:c,"":"outer"+a},function(g,m){h.fn[m]=function(x,A){var G=arguments.length&&(g||"boolean"!==typeof x),N=g||(!0===x||!0===A?"margin":"border");return Nb(this,function(P,
O,X){return h.isWindow(P)?P.document.documentElement["client"+a]:9===P.nodeType?(O=P.documentElement,Math.max(P.body["scroll"+a],O["scroll"+a],P.body["offset"+a],O["offset"+a],O["client"+a])):void 0===X?h.css(P,O,N):h.style(P,O,X,N)},c,G?x:void 0,G,null)}})});h.fn.extend({bind:function(a,c,g){return this.on(a,null,c,g)},unbind:function(a,c){return this.off(a,null,c)},delegate:function(a,c,g,m){return this.on(c,a,g,m)},undelegate:function(a,c,g){return 1===arguments.length?this.off(a,"**"):this.off(c,
a||"**",g)}});h.fn.size=function(){return this.length};h.fn.andSelf=h.fn.addBack;"function"===typeof define&&define.amd&&define("jquery",[],function(){return h});var Q=l.jQuery,L=l.$;h.noConflict=function(a){l.$===h&&(l.$=L);a&&l.jQuery===h&&(l.jQuery=Q);return h};w||(l.jQuery=l.$=h);return h});
jQuery.uaMatch=function(l){l=l.toLowerCase();l=/(chrome)[ \/]([\w.]+)/.exec(l)||/(webkit)[ \/]([\w.]+)/.exec(l)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(l)||/(msie) ([\w.]+)/.exec(l)||0>l.indexOf("compatible")&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(l)||[];return{browser:l[1]||"",version:l[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(l){function w(d){var p=window.document.implementation.createHTMLDocument("");p.body.innerHTML=d;return p.body&&p.body.innerHTML}var k=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([a-z][^\/\0>\x20\t\r\n\f]*)[^>]*)\/>/gi,f=l.htmlPrefilter;l.htmlPrefilter=function(d){var p=d.replace(k,"\x3c$1\x3e\x3c/$2\x3e");p!==d&&w(d)!==w(p)&&console.error("HTML tags must be properly nested and closed: "+d);return f(d)}})(window.jQuery);
(function(l){"object"===typeof module&&module.exports?module.exports=l():(window.Granite=window.Granite||{}).Sling=l()})(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(l){"object"===typeof module&&module.exports?module.exports=l():(window.Granite=window.Granite||{}).Util=l()})(function(){return{patchText:function(l,w){if(w)if("[object Array]"!==Object.prototype.toString.call(w))l=l.replace("{0}",w);else for(var k=0;k<w.length;k++)l=l.replace("{"+k+"}",w[k]);return l},getTopWindow:function(){var l=window;if(this.iFrameTopWindow)return this.iFrameTopWindow;try{for(;l.parent&&l!==l.parent&&l.parent.location.href;)l=l.parent}catch(w){}return l},setIFrameMode:function(l){this.iFrameTopWindow=
l||window},applyDefaults:function(){for(var l,w=arguments[0]||{},k=1;k<arguments.length;k++){l=arguments[k];for(var f in l){var d=l[f];l.hasOwnProperty(f)&&void 0!==d&&(w[f]=null===d||"object"!==typeof d||d instanceof Array?d instanceof Array?d.slice(0):d:this.applyDefaults(w[f],d))}}return w},getKeyCode:function(l){return l.keyCode?l.keyCode:l.which}}});
(function(l){"object"===typeof module&&module.exports?module.exports=l(require("@granite/util"),require("jquery")):window.Granite.HTTP=l(Granite.Util,jQuery)})(function(l,w){return function(){var k=null,f=/^(?:http|https):\/\/[^/]+(\/.*)\/(?:etc\.clientlibs|etc(\/.*)*\/clientlibs|libs(\/.*)*\/clientlibs|apps(\/.*)*\/clientlibs|etc\/designs).*\.js(\?.*)?$/,d=/[^\w-.~%:/?[\]@!$&'()*+,;=]/,p=/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/,r=!1,v={getSchemeAndAuthority:function(t){if(!t)return"";
t=p.exec(t);return null===t?"":[t[1],t[3]].join("")},getContextPath:function(){null===k&&(k=v.detectContextPath());return k},detectContextPath:function(){try{if(window.CQURLInfo)k=CQURLInfo.contextPath||"";else{for(var t=document.getElementsByTagName("script"),D=0;D<t.length;D++){var E=f.exec(t[D].src);if(E)return k=E[1]}k=""}}catch(K){}return k},externalize:function(t){try{0===t.indexOf("/")&&v.getContextPath()&&0!==t.indexOf(v.getContextPath()+"/")&&(t=v.getContextPath()+t)}catch(D){}return t},
internalize:function(t,D){if("/"===t.charAt(0))return k===t?"":k&&0===t.indexOf(k+"/")?t.substring(k.length):t;D||(D=document);D=v.getSchemeAndAuthority(D.location.href);var E=v.getSchemeAndAuthority(t);return D===E?t.substring(E.length+(k?k.length:0)):t},getPath:function(t){if(t)t=v.removeParameters(t),t=v.removeAnchor(t);else{if(window.CQURLInfo&&CQURLInfo.requestPath)return CQURLInfo.requestPath;t=window.location.pathname}t=v.internalize(t);var D=t.indexOf(".",t.lastIndexOf("/"));-1!==D&&(t=t.substring(0,
D));return t},removeAnchor:function(t){var D=t.indexOf("#");return 0<=D?t.substring(0,D):t},removeParameters:function(t){var D=t.indexOf("?");return 0<=D?t.substring(0,D):t},encodePathOfURI:function(t){for(var D=["?","#"],E=[t],K,T=0,Z=D.length;T<Z;T++)if(K=D[T],0<=t.indexOf(K)){E=t.split(K);break}d.test(E[0])&&(E[0]=v.encodePath(E[0]));return E.join(K)},encodePath:function(t){t=encodeURI(t);t=t.replace(/%5B/g,"[").replace(/%5D/g,"]");t=t.replace(/\?/g,"%3F");return t=t.replace(/#/g,"%23")},handleLoginRedirect:function(){if(!r){r=
!0;alert(Granite.I18n.get("Your request could not be completed because you have been signed out."));var t=l.getTopWindow().document.location;t.href=v.externalize("/")+"?resource\x3d"+encodeURIComponent(t.pathname+t.search+t.hash)}},getXhrHook:function(t,D,E){return window.G_XHR_HOOK&&"function"===typeof G_XHR_HOOK?(t={url:t,method:D||"GET"},E&&(t.params=E),G_XHR_HOOK(t)):null},eval:function(t){"object"!==typeof t&&(t=w.ajax({url:t,type:"get",async:!1}));try{return JSON.parse(t.body?t.body:t.responseText)}catch(D){}return null}};
return v}()});
(function(l){"object"===typeof module&&module.exports?module.exports=l(require("@granite/http")):window.Granite.I18n=l(window.Granite.HTTP)})(function(l){return function(){var w={},k="/libs/cq/i18n/dict.",f=".json",d=void 0,p=!1,r=null,v={},t=!1;v.LOCALE_DEFAULT="en";v.PSEUDO_LANGUAGE="zz";v.PSEUDO_PATTERN_KEY="_pseudoPattern_";v.init=function(D){D=D||{};this.setLocale(D.locale);this.setUrlPrefix(D.urlPrefix);this.setUrlSuffix(D.urlSuffix)};v.setLocale=function(D){D&&(d=D)};v.getLocale=function(){"function"===
typeof d&&(d=d());return d||document.documentElement.lang||v.LOCALE_DEFAULT};v.setUrlPrefix=function(D){D&&(k=D,t=!0)};v.setUrlSuffix=function(D){D&&(f=D,t=!0)};v.getDictionary=function(D){D=D||v.getLocale();if(!w[D]){p=0===D.indexOf(v.PSEUDO_LANGUAGE);try{var E=new XMLHttpRequest,K=E.open,T=l.externalize;var Z=D;if(t)var Y=k+Z+f;else{var V,ha=document.querySelector("html");ha&&(V=ha.getAttribute("data-i18n-dictionary-src"));Y=V?V.replace("{locale}",encodeURIComponent(Z)).replace("{+locale}",Z):k+
Z+f}K.call(E,"GET",T.call(l,Y),!1);E.send();w[D]=JSON.parse(E.responseText)}catch(ra){}w[D]||(w[D]={})}return w[D]};v.get=function(D,E,K){var T;var Z=v.getDictionary();var Y=p?v.PSEUDO_PATTERN_KEY:K?D+" (("+K+"))":D;Z&&(T=Z[Y]);T||(T=D);p&&(T=T.replace("{string}",D).replace("{comment}",K?K:""));D=T;if(E)if(Array.isArray(E))for(K=0;K<E.length;K++)D=D.replace("{"+K+"}",E[K]);else D=D.replace("{0}",E);return D};v.getVar=function(D,E){return D?v.get(D,null,E):null};v.getLanguages=function(){if(!r)try{var D=
l.externalize("/libs/wcm/core/resources/languages.overlay.infinity.json"),E=new XMLHttpRequest;E.open("GET",D,!1);E.send();var K=JSON.parse(E.responseText);Object.keys(K).forEach(function(T){T=K[T];T.language&&(T.title=v.getVar(T.language));T.title&&T.country&&"*"!==T.country&&(T.title+=" ("+v.getVar(T.country)+")")});r=K}catch(T){r={}}return r};v.parseLocale=function(D){if(!D)return null;var E=D.indexOf("_");0>E&&(E=D.indexOf("-"));if(0>E){var K=D;E=null}else K=D.substring(0,E),E=D.substring(E+1);
return{code:D,language:K,country:E}};return v}()});
(function(l){"object"===typeof module&&module.exports?module.exports=l():(window.Granite=window.Granite||{}).TouchIndicator=l()})(function(){var l={},w=[];return{debugWithMouse:!1,init:function(){var k=this,f=function(d){k.update(d.touches);return!0};document.addEventListener("touchstart",f);document.addEventListener("touchmove",f);document.addEventListener("touchend",f);this.debugWithMouse&&document.addEventListener("mousemove",function(d){d.identifer="fake";k.update([d]);return!0})},update:function(k){for(var f=
{},d=0;d<k.length;d++){var p=k[d],r=p.identifier,v=l[r];v||(v=w.pop(),v||(v=document.createElement("div"),v.style.visibility="hidden",v.style.position="absolute",v.style.width="30px",v.style.height="30px",v.style.borderRadius="20px",v.style.border="5px solid orange",v.style.userSelect="none",v.style.opacity="0.5",v.style.zIndex="2000",v.style.pointerEvents="none",document.body.appendChild(v)));f[r]=v;v.style.left=p.pageX-20+"px";v.style.top=p.pageY-20+"px";v.style.visibility="visible"}for(r in l)l.hasOwnProperty(r)&&
!f[r]&&(v=l[r],v.style.visibility="hidden",w.push(v));l=f}}});
(function(l){"object"===typeof module&&module.exports?module.exports=l():(window.Granite=window.Granite||{}).OptOutUtil=l()})(function(l){return function(){var w={},k=[],f=[];w.init=function(d){d?(k=d.cookieNames||[],f=d.whitelistCookieNames||[]):(k=[],f=[])};w.getCookieNames=function(){return k};w.getWhitelistCookieNames=function(){return f};w.isOptedOut=function(){for(var d=document.cookie.split(";"),p=0;p<d.length;p++){var r=d[p].split("\x3d")[0];r=String.prototype.trim?r.trim():r.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,
"");if(0<=w.getCookieNames().indexOf(r))return!0}return!1};w.maySetCookie=function(d){return!(w.isOptedOut()&&-1===w.getWhitelistCookieNames().indexOf(d))};return w}()});
(function(l){"object"===typeof module&&module.exports?module.exports=l():(window.Granite=window.Granite||{}).Toggles=l()})(function(){var l=null;return{isEnabled:function(w){var k;(k=l)||(k=new XMLHttpRequest,k.open("GET",Granite.HTTP.externalize("/etc.clientlibs/toggles.json"),!1),k.send(null),k=200===k.status?JSON.parse(k.responseText):null);l=k;return(l||{enabled:[]}).enabled.includes(w)}}});Granite.OptOutUtil.init(window.GraniteOptOutConfig);Granite.HTTP.detectContextPath();
(function(l,w){w.Granite=w.Granite||{};w.Granite.$=w.Granite.$||l;w._g=w._g||{};w._g.$=w._g.$||l;var k=Granite.HTTP;l.ajaxSetup({externalize:!0,encodePath:!0,hook:!0,beforeSend:function(f,d){"undefined"!==typeof G_IS_HOOKED&&G_IS_HOOKED(d.url)||(d.externalize&&(d.url=k.externalize(d.url)),d.encodePath&&(d.url=k.encodePathOfURI(d.url)));d.hook&&(f=k.getXhrHook(d.url,d.type,d.data))&&(d.url=f.url,f.params&&("GET"===d.type.toUpperCase()?d.url+="?"+l.param(f.params):d.data=l.param(f.params)))},statusCode:{403:function(f){"Authentication Failed"===
f.getResponseHeader("X-Reason")&&k.handleLoginRedirect()}}});l.ajaxSettings.traditional=!0})(jQuery,this);
(function(l){window.Granite.csrf||(window.Granite.csrf=l(window.Granite.HTTP))})(function(l){function w(){this._handler=[]}function k(V){var ha="//"+document.location.host,ra=document.location.protocol+ha;return V===ra||V.slice(0,ra.length+1)===ra+"/"||V===ha||V.slice(0,ha.length+1)===ha+"/"||!/^(\/\/|http:|https:).*/.test(V)}function f(V){window.console&&console.warn("CSRF data not available;The data may be unavailable by design, such as during non-authenticated requests: "+V)}function d(){var V=
new w;D=V;var ha=new XMLHttpRequest;ha.onreadystatechange=function(){if(4===ha.readyState)try{E=JSON.parse(ha.responseText).token,V.resolve(E)}catch(ra){f(ra),V.reject(ha.responseText)}};ha.open("GET",t,!0);ha.send();return V}function p(){var V=new XMLHttpRequest;V.open("GET",t,!1);V.send();try{return E=JSON.parse(V.responseText).token}catch(ha){f(ha)}}function r(V){var ha=V.getAttribute("action");"GET"===V.method.toUpperCase()||ha&&!k(ha)||(E||p(),E&&(ha=V.querySelector('input[name\x3d":cq_csrf_token"]'),
ha||(ha=document.createElement("input"),ha.setAttribute("type","hidden"),ha.setAttribute("name",":cq_csrf_token"),V.appendChild(ha)),ha.setAttribute("value",E)))}function v(V){var ha=function(ra){ra=ra.target;"FORM"===ra.nodeName&&r(ra)};V.addEventListener?V.addEventListener("submit",ha,!0):V.attachEvent&&V.attachEvent("submit",ha)}w.prototype={then:function(V,ha){this._handler.push({resolve:V,reject:ha})},resolve:function(){this._execute("resolve",arguments)},reject:function(){this._execute("reject",
arguments)},_execute:function(V,ha){if(null===this._handler)throw Error("Promise already completed.");for(var ra=0,sa=this._handler.length;ra<sa;ra++)this._handler[ra][V].apply(window,ha);this.then=function(Ba,Za){("resolve"===V?Ba:Za).apply(window,ha)};this._handler=null}};var t=l.externalize("/libs/granite/csrf/token.json"),D,E;v(document);var K=XMLHttpRequest.prototype.open;XMLHttpRequest.prototype.open=function(V,ha,ra){"get"!==V.toLowerCase()&&k(ha)&&(this._csrf=!0,this._async=ra);return K.apply(this,
arguments)};var T=XMLHttpRequest.prototype.send;XMLHttpRequest.prototype.send=function(){if(this._csrf)if(E)this.setRequestHeader("CSRF-Token",E),T.apply(this,arguments);else if(!1===this._async)p(),E&&this.setRequestHeader("CSRF-Token",E),T.apply(this,arguments);else{var V=this,ha=Array.prototype.slice.call(arguments);D.then(function(ra){V.setRequestHeader("CSRF-Token",ra);T.apply(V,ha)},function(){T.apply(V,ha)})}else T.apply(this,arguments)};var Z=HTMLFormElement.prototype.submit;HTMLFormElement.prototype.submit=
function(){r(this);return Z.apply(this,arguments)};if(window.Node){var Y=Node.prototype.appendChild;Node.prototype.appendChild=function(){var V=Y.apply(this,arguments);if("IFRAME"===V.nodeName)try{V.contentWindow&&!V._csrf&&(V._csrf=!0,v(V.contentWindow.document))}catch(ha){V.src&&V.src.length&&k(V.src)&&window.console&&console.error("Unable to attach CSRF token to an iframe element on the same origin")}return V}}d();setInterval(function(){d()},3E5);return{initialised:!1,refreshToken:d,_clearToken:function(){E=
void 0;d()}}});window.$CQ=_g.$;window._g=window._g||{};_g.shared={};void 0===window.console&&(window.console={log:function(l){}});
_g.shared.HTTP=new function(){var l=function(){return{headers:{},body:{}}},w=function(k){if(!k)return null;var f=l();f.body=k.responseText;f.headers[_g.HTTP.HEADER_STATUS]=k.status;f.responseText=k.responseText;f.status=k.status;return f};return{EXTENSION_HTML:".html",EXTENSION_JSON:".json",EXTENSION_RES:".res",HEADER_STATUS:"Status",HEADER_MESSAGE:"Message",HEADER_LOCATION:"Location",HEADER_PATH:"Path",PARAM_NO_CACHE:"cq_ck",get:function(k,f,d,p){k=_g.HTTP.getXhrHookedURL(_g.HTTP.externalize(k,!0));
if(void 0!=f)return _g.$.ajax({type:"GET",url:k,externalize:!1,encodePath:!1,hook:!1,complete:function(t,D){t=w(t);p||_g.HTTP.handleForbidden(t);f.call(d||this,this,"success"==D,t)}});try{var r=_g.$.ajax({type:"GET",url:k,async:!1,externalize:!1,encodePath:!1,hook:!1}),v=w(r);p||_g.HTTP.handleForbidden(v);return v}catch(t){return null}},post:function(k,f,d,p,r,v){k=_g.HTTP.externalize(k,!0);if(r=_g.HTTP.getXhrHook(k,"POST",d))k=r.url,d=r.params;if(void 0!=f)return _g.$.ajax({type:"POST",url:k,data:d,
externalize:!1,encodePath:!1,hook:!1,complete:function(E,K){var T=_g.HTTP.buildPostResponseFromHTML(E.responseText);v||_g.HTTP.handleForbidden(E);f.call(p||this,this,"success"==K,T)}});try{var t=_g.$.ajax({type:"POST",url:k,data:d,async:!1,externalize:!1,encodePath:!1,hook:!1}),D=_g.HTTP.buildPostResponseFromHTML(t.responseText);v||_g.HTTP.handleForbidden(t);return D}catch(E){return null}},getParameter:function(k,f){k=_g.HTTP.getParameters(k,f);return null!=k?k[0]:null},getParameters:function(k,f){var d=
[];if(!f)return null;f=encodeURIComponent(f);if(-1==k.indexOf("?"))return null;-1!=k.indexOf("#")&&(k=k.substring(0,k.indexOf("#")));k=k.substring(k.indexOf("?")+1);if(-1==k.indexOf(f))return null;k=k.split("\x26");for(var p=0;p<k.length;p++){var r=k[p].split("\x3d");r[0]==f&&d.push(1<r.length?decodeURIComponent(r[1]):"")}return 0<d.length?d:null},addParameter:function(k,f,d){if(d&&d instanceof Array){for(var p=0;p<d.length;p++)k=_g.HTTP.addParameter(k,f,d[p]);return k}p=-1==k.indexOf("?")?"?":"\x26";
var r=k.indexOf("#");if(0>r)return k+p+encodeURIComponent(f)+"\x3d"+encodeURIComponent(d);var v=k.substring(r);k=k.substring(0,r);return k+p+encodeURIComponent(f)+"\x3d"+encodeURIComponent(d)+v},setParameter:function(k,f,d){k=_g.HTTP.removeParameter(k,f);return _g.HTTP.addParameter(k,f,d)},removeParameter:function(k,f){var d="?"+encodeURIComponent(f)+"\x3d";f="\x26"+encodeURIComponent(f)+"\x3d";if(-1==k.indexOf(d))if(-1!=k.indexOf(f))d=f;else return k;f=k.indexOf(d);d=k.substring(0,f);f=k.indexOf("\x26",
f+1);var p="";-1!=f&&(p=k.substring(f),0==p.indexOf("\x26")&&(p=p.replace("\x26","?")));return d+p},removeParameters:Granite.HTTP.removeParameters,addSelector:function(k,f,d){d||(d=0);var p="",r=k.indexOf("?");-1==r&&(r=k.indexOf("#"));-1!=r&&(p=k.substring(r),k=k.substring(0,r));var v=k.lastIndexOf("/");r=k.substring(v);if(-1==r.indexOf("."+f+".")){k=k.substring(0,v);r=r.split(".");var t=v="";if(d>r.length-2||-1==d)d=r.length-2;for(var D=0;D<r.length;D++)v+=t+r[D],t=".",d==D&&(v+=t+f);return k+v+
p}return k},setSelector:function(k,f,d){var p="",r=k.indexOf("?");-1==r&&(r=k.indexOf("#"));-1!=r&&(p=k.substring(r),k=k.substring(0,r));r=_g.HTTP.getSelectors(k);var v=k.substring(k.lastIndexOf("."));k=k.substring(0,k.lastIndexOf("."));k=0<r.length?k.replace("."+r.join("."),""):k;if(0<r.length)for(var t=0;t<r.length;t++)k=d==t?k+("."+f):k+("."+r[t]);else k+="."+f;return k+v+p},addSelectors:function(k,f){var d=k;if(k&&f&&f.length)for(k=0;k<f.length;k++)d=_g.HTTP.addSelector(d,f[k],k);return d},getAnchor:function(k){return-1!=
k.indexOf("#")?k.substring(k.indexOf("#")+1):""},setAnchor:function(k,f){return _g.HTTP.removeAnchor(k)+"#"+f},removeAnchor:Granite.HTTP.removeAnchor,noCaching:function(k){return _g.HTTP.setParameter(k,_g.HTTP.PARAM_NO_CACHE,(new Date).valueOf())},buildPostResponseFromNode:function(k,f){if(!k)return null;void 0==f&&(f=l());for(var d=0;d<k.childNodes.length;d++){var p=k.childNodes[d];p.tagName&&(p.id&&(f.headers[p.id]=p.href?p.href:p.innerHTML),f=_g.HTTP.buildPostResponseFromNode(p,f))}return f},buildPostResponseFromHTML:function(k){var f=
l();try{void 0!=k.responseText?k=k.responseText:"string"!=typeof k&&(k=k.toString());var d=document.createElement("div");d.innerHTML=k;f=_g.HTTP.buildPostResponseFromNode(d,f)}catch(p){}return f},getCookie:function(k){var f=encodeURIComponent(k)+"\x3d";k=document.cookie;if(0<k.length){var d=k.indexOf(f);if(-1!=d)return d+=f.length,f=k.indexOf(";",d),-1==f&&(f=k.length),decodeURIComponent(k.substring(d,f))}return null},setCookie:function(k,f,d,p,r,v){"number"!=typeof p&&(p=7);if(0<p){var t=new Date;
t.setTime(t.getTime()+864E5*p)}else t=new Date(0);document.cookie=encodeURIComponent(k)+"\x3d"+encodeURIComponent(f)+"; "+(0!=p?"expires\x3d"+t.toGMTString()+"; ":"")+(r?"domain\x3d"+r+"; ":"")+(d?"path\x3d"+d:"")+(v?"; secure":"");return f},clearCookie:function(k,f,d,p){_g.HTTP.setCookie(k,"null",f||"",-1,d||"",p||"")},getSchemeAndAuthority:Granite.HTTP.getSchemeAndAuthority,getContextPath:Granite.HTTP.getContextPath,externalize:function(k,f){if("undefined"!=typeof G_IS_HOOKED&&G_IS_HOOKED(k))return k;
f&&(k=_g.HTTP.encodePathOfURI(k));return k=Granite.HTTP.externalize(k)},internalize:Granite.HTTP.internalize,getPath:Granite.HTTP.getPath,getSuffix:function(){return window.CQURLInfo&&CQURLInfo.suffix?CQURLInfo.suffix:null},getSelectors:function(k){if(!k&&window.CQURLInfo&&CQURLInfo.selectors)return CQURLInfo.selectors;var f=[];k=k||window.location.href;k=_g.HTTP.removeParameters(k);k=_g.HTTP.removeAnchor(k);if(k=k.substring(k.lastIndexOf("/")))if(k=k.split("."),2<k.length)for(var d=0;d<k.length;d++)0<
d&&d<k.length-1&&f.push(k[d]);return f},getExtension:function(k){if(!k&&window.CQURLInfo&&CQURLInfo.extension)return CQURLInfo.extension;k=k||window.location.href;k=_g.HTTP.removeParameters(k);k=_g.HTTP.removeAnchor(k);var f=k.lastIndexOf(".");if(0>f)return"";k=k.substring(f+1);f=k.indexOf("/");return 0>f?k:k.substring(0,f)},encodePathOfURI:Granite.HTTP.encodePathOfURI,encodePath:Granite.HTTP.encodePath,eval:Granite.HTTP.eval,isOkStatus:function(k){try{return 0==(new String(k)).indexOf("2")}catch(f){return!1}},
isOk:function(k){try{return _g.HTTP.isOkStatus(k.headers[_g.HTTP.HEADER_STATUS])}catch(f){return!1}},handleForbidden:function(k,f){try{return 403==k[_g.HTTP.HEADER_STATUS.toLowerCase()]?(Granite.HTTP.handleLoginRedirect(),!0):!1}catch(d){return!1}},getXhrHook:Granite.HTTP.getXhrHook,getXhrHookedURL:function(k,f,d){return(f=_g.HTTP.getXhrHook(k,f,d))?f.url:k},reloadHook:function(k){"undefined"!=typeof G_RELOAD_HOOK&&_g.$.isFunction(G_RELOAD_HOOK)&&(""!=CQURLInfo.selectorString&&(k=_g.HTTP.addSelector(k,
CQURLInfo.selectorString)),k=G_RELOAD_HOOK(k)||k);return k}}};_g.HTTP=_g.shared.HTTP;
_g.shared.Util=new function(){return{reload:function(l,w,k){l||(l=window);w||(w=_g.HTTP.noCaching(l.location.href));w=_g.HTTP.reloadHook(w);k?l.location.replace(w):l.location.href=w},load:function(l,w){_g.Util.reload(window,l,w)},open:function(l,w,k,f){w||(w=window);if(l)return l=_g.HTTP.reloadHook(l),k||(k=""),f||(f=""),w.open(l,k,f)},htmlEncode:function(l){return l?String(l).replace(/&/g,"\x26amp;").replace(/>/g,"\x26gt;").replace(/</g,"\x26lt;").replace(/"/g,"\x26quot;"):l},htmlDecode:function(l){return l?
String(l).replace(/&gt;/g,"\x3e").replace(/&lt;/g,"\x3c").replace(/&quot;/g,'"').replace(/&amp;/g,"\x26"):l},ellipsis:function(l,w,k){if(l&&l.length>w){if(k){k=l.substr(0,w-2);var f=Math.max(k.lastIndexOf(" "),k.lastIndexOf("."),k.lastIndexOf("!"),k.lastIndexOf("?"),k.lastIndexOf(";"));return-1==f||f<w-15?l.substr(0,w-3)+"...":k.substr(0,f)+"..."}return l.substr(0,w-3)+"..."}return l},patchText:Granite.Util.patchText,eval:function(l){return _g.HTTP.eval(l)},getTopWindow:Granite.Util.getTopWindow,
setIFrameMode:Granite.Util.setIFrameMode}};_g.Util=_g.shared.Util;
_g.shared.Sling=function(){return{SELECTOR_INFINITY:Granite.Sling.SELECTOR_INFINITY,CHARSET:Granite.Sling.CHARSET,STATUS:Granite.Sling.STATUS,STATUS_BROWSER:Granite.Sling.STATUS_BROWSER,OPERATION:Granite.Sling.OPERATION,OPERATION_DELETE:Granite.Sling.OPERATION_DELETE,OPERATION_MOVE:Granite.Sling.OPERATION_MOVE,DELETE_SUFFIX:Granite.Sling.DELETE_SUFFIX,TYPEHINT_SUFFIX:Granite.Sling.TYPEHINT_SUFFIX,COPY_SUFFIX:Granite.Sling.COPY_SUFFIX,MOVE_SUFFIX:Granite.Sling.MOVE_SUFFIX,ORDER:Granite.Sling.ORDER,
REPLACE:Granite.Sling.REPLACE,DESTINATION:Granite.Sling.DESTINATION,SAVE_PARAM_PREFIX:Granite.Sling.SAVE_PARAM_PREFIX,IGNORE_PARAM:Granite.Sling.IGNORE_PARAM,REQUEST_LOGIN_PARAM:Granite.Sling.REQUEST_LOGIN_PARAM,LOGIN_URL:Granite.Sling.LOGIN_URL,LOGOUT_URL:Granite.Sling.LOGOUT_URL,processBinaryData:function(l){if(l&&void 0!=l[":jcr:data"]){var w={};w.size=l[":jcr:data"];w.type=l["jcr:mimeType"];w.date=l["jcr:lastModified"];l=w}return l},getContentPath:function(l,w,k){w.lastIndexOf(".")>w.lastIndexOf("/")&&
(w=w.substr(0,w.indexOf(".",w.lastIndexOf("/"))));if(l)if(0==l.indexOf("/"))w=l;else{if(k)for(;0==l.indexOf("../");)l=l.substring(3),w=w.substring(0,w.lastIndexOf("/"));l=l.replace("./","");w=w+"/"+l}return w}}}();_g.Sling=_g.shared.Sling;
_g.shared.XSS=new function(){return{getXSSPropertyName:function(l){return l?_g.XSS.KEY_REGEXP.test(l)?l:l+_g.XSS.KEY_SUFFIX:""},getXSSRecordPropertyValue:function(l,w,k){var f="";l&&w&&(f=(f=l.get(this.getXSSPropertyName(w)))?f:this.getXSSValue(l.get(w)),k&&!isNaN(k)&&(f=_g.Util.ellipsis(f,k,!0)));return f},getXSSTablePropertyValue:function(l,w,k){var f="";l&&w&&(f=(f=l[this.getXSSPropertyName(w)])?f:this.getXSSValue(l[w]),k&&!isNaN(k)&&(f=_g.Util.ellipsis(f,k,!0)));return f},getXSSValue:function(l){return l?
_g.Util.htmlEncode(l):""},updatePropertyName:function(l,w){l&&w&&l[w]&&l.xssProtect&&!l.xssKeepPropName&&(l[w]=this.getXSSPropertyName(l[w]))},xssPropertyRenderer:function(l,w,k,f){return f&&f.dataIndex&&k&&k.data&&k.data[this.getXSSPropertyName(f.dataIndex)]?(l=k.data[this.getXSSPropertyName(f.dataIndex)],f.ellipsisLimit&&!isNaN(f.ellipsisLimit)&&(l=_g.Util.ellipsis(l,f.ellipsisLimit,!0)),l):l?l:""}}};_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(l,w){return null==l||null==w?null==l&&null==w:w.length>l.length?!1:0==l.toString().indexOf(w.toString())},endsWith:function(l,w){if(null==l||null==w)return null==l&&null==w;if(w.length>l.length)return!1;l=l.toString();w=w.toString();return l.lastIndexOf(w)==l.length-w.length},contains:function(l,w){if(null==l||null==w)return!1;l=l.toString();w=w.toString();return 0<=l.indexOf(w)}}};_g.String=_g.shared.String;
_g.shared.ClientSidePersistence=function(l){var w={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 f=this.getMap(),d="[ClientSidePersistence -\x3e mode\x3d"+this.getMode().name+", container\x3d"+(this.config.container||"")+"]\n",p=0,r=new RegExp("^"+this.config.container+
"/"),v=0,t=Object.keys(f).sort();v<t.length;v++){var D=t[v];if(!this.config.container||"string"!=typeof D||D.match(r)){var E=f[D];d+="-["+ ++p+"]-\x3e '"+D.replace(r,"")+"' \x3d '"+decodeURIComponent(E)+"'\n"}}p||(d+="(container is empty)");console.log(d)}},keyName:function(f){return(this.config.container?this.config.container+"/":"")+f},getKeys:function(){var f=this.getMap(),d=[];if(f)for(var p in f)this.config.container?0==p.indexOf(this.config.container+"/")&&(f=p.substring(this.config.container.length+
1),d.push(f)):d.push(p);return d},get:function(f){return(f=this.getMap()[this.keyName(f)])?decodeURIComponent(f):f},set:function(f,d){f="string"===typeof f?f.replace(/:=/g,""):"";var p={key:f};f=this.keyName(f);if(f.length){var r=[],v=this.getMap();p.action=v[f]?"update":"set";d?v[f]=encodeURIComponent(d):(p.action="remove",delete v[f]);for(var t in v)r.push(t+":\x3d"+v[t]);this.cache=v;this.write(r.join("|"));_g.$.extend(p,{value:d,mode:this.getMode().name,container:this.config.container});_g.$(_g.shared.ClientSidePersistence).trigger(_g.shared.ClientSidePersistence.EVENT_NAME,
p)}},getMap:function(){if(!this.cache||!this.config.useCache){for(var f=this.read().split("|"),d={},p=0;p<f.length;p++){var r=f[p].split(":\x3d"),v=r[0];v&&v.length&&(d[v]=r[1]||"")}this.cache=d}return this.cache},remove:function(f){this.set(f)},clearMap:function(){this.write()},read:function(){return this.config.mode.read(this)||""},write:function(f){this.config.mode.write(this,f||"")}};_g.$.extend(w.config,_g.shared.ClientSidePersistence.getDefaultConfig(),l);!1===w.config.useContainer&&(w.config.container=
null);var k="test-"+Math.random();if(w.config.mode===_g.shared.ClientSidePersistence.MODE_SESSION){l=!1;try{window.sessionStorage.setItem(k,k),window.sessionStorage.removeItem(k)}catch(f){l=!0}l&&(w.config.mode=_g.shared.ClientSidePersistence.MODE_LOCAL)}if(w.config.mode===_g.shared.ClientSidePersistence.MODE_LOCAL){l=!1;try{window.localStorage.setItem(k,k),window.localStorage.removeItem(k)}catch(f){l=!0}l&&(w.config.mode=_g.shared.ClientSidePersistence.MODE_WINDOW)}return w};
_g.shared.ClientSidePersistence.EVENT_NAME="ClientSidePersistence";_g.shared.ClientSidePersistence.MODE_SESSION={name:"session",read:function(l){return l.getWindow().sessionStorage.getItem(l.PERSISTENCE_NAME)},write:function(l,w){if(!Granite.OptOutUtil.isOptedOut())try{l.getWindow().sessionStorage.setItem(l.PERSISTENCE_NAME,w)}catch(k){}}};
_g.shared.ClientSidePersistence.MODE_LOCAL={name:"local",read:function(l){return l.getWindow().localStorage.getItem(l.PERSISTENCE_NAME)},write:function(l,w){if(!Granite.OptOutUtil.isOptedOut())try{l.getWindow().localStorage.setItem(l.PERSISTENCE_NAME,w)}catch(k){}}};_g.shared.ClientSidePersistence.decoratePersistenceName=function(l){return l};
_g.shared.ClientSidePersistence.MODE_WINDOW={name:"window",read:function(l){return l.getWindow().name},write:function(l,w){Granite.OptOutUtil.isOptedOut()||(l.getWindow().name=w)}};
_g.shared.ClientSidePersistence.MODE_COOKIE={COOKIE_NAME:_g.shared.ClientSidePersistence.decoratePersistenceName("SessionPersistence"),name:"cookie",read:function(l){return _g.shared.ClientSidePersistence.CookieHelper.read(this.COOKIE_NAME)},write:function(l,w){if(!Granite.OptOutUtil.isOptedOut()||Granite.OptOutUtil.maySetCookie(this.COOKIE_NAME))w?_g.shared.ClientSidePersistence.CookieHelper.set(this.COOKIE_NAME,w,365):_g.shared.ClientSidePersistence.CookieHelper.erase(this.COOKIE_NAME)}};
_g.shared.ClientSidePersistence.getDefaultConfig=function(){return{window:_g.shared.Util.getTopWindow(),useCache:!1,container:null,mode:_g.shared.ClientSidePersistence.MODE_LOCAL}};
_g.shared.ClientSidePersistence.CookieHelper={set:function(l,w,k){var f="";k&&(f=new Date,f.setTime(f.getTime()+864E5*k),f="; expires\x3d"+f.toGMTString());w&&(w=encodeURIComponent(w));document.cookie=l+"\x3d"+w+f+"; path\x3d/"},read:function(l){l+="\x3d";for(var w=document.cookie.split(";"),k=0;k<w.length;k++){for(var f=w[k];" "==f.charAt(0);)f=f.substring(1,f.length);if(0==f.indexOf(l))return(l=f.substring(l.length,f.length))?decodeURIComponent(l):null}return null},erase:function(l){_g.shared.ClientSidePersistence.CookieHelper.set(l,
"",-1)}};_g.shared.ClientSidePersistence.clearAllMaps=function(){_g.$.each([_g.shared.ClientSidePersistence.MODE_COOKIE,_g.shared.ClientSidePersistence.MODE_LOCAL,_g.shared.ClientSidePersistence.MODE_SESSION,_g.shared.ClientSidePersistence.MODE_WINDOW],function(l,w){(new _g.shared.ClientSidePersistence({mode:w})).clearMap()})};_g.I18n.init();window.CQ=window.CQ||{};CQ.shared=_g.shared;CQ.Sling=CQ.shared.Sling;CQ.I18n=CQ.shared.I18n;G_XHR_HOOK="undefined"!=typeof CQ_XHR_HOOK?CQ_XHR_HOOK:void 0;
G_RELOAD_HOOK="undefined"!=typeof CQ_RELOAD_HOOK?CQ_RELOAD_HOOK:void 0;G_IS_HOOKED="undefined"!=typeof CQ_IS_HOOKED?CQ_IS_HOOKED:void 0;G_CONTENT_PATH="undefined"!=typeof CQ_CONTENT_PATH?CQ_CONTENT_PATH:void 0;
CQ.shared.Form=function(){var l=function(){var d=parent.frames.ContentFrame,p={};d=(void 0!==d?d.contentDocument:document).getElementsByTagName("label");for(var r=0;r<d.length;r++){var v=d[r].htmlFor;v&&(p[v]=d[r])}return p},w=function(d){var p="",r=function(v){3==v.nodeType&&(p+=v.nodeValue);if("select"!=v.nodeName.toLowerCase()&&"input"!=v.nodeName.toLowerCase()&&"textarea"!=v.nodeName.toLowerCase()&&"button"!=v.nodeName.toLowerCase())for(var t=0;v.childNodes&&t<v.childNodes.length;t++)r(v.childNodes[t])};
r(d);return p},k=function(d){var p,r=d.nodeName.toLowerCase(),v=f(d,"type")?d.getAttribute("type"):void 0;"input"==r?"radio"==v||"checkbox"==v?f(d,"checked")&&(p=d.getAttribute("value")):p="text"==d.type?d.defaultValue:d.value:"textarea"==r?p=d.value:"option"==r&&f(d,"selected")&&(p=d.getAttribute("value"));return p},f=function(d,p){return null==d?!1:void 0!=$CQ(d).attr(p)};return{searchArray:function(d,p,r){for(var v=0;v<d.length;v++)if(d[v][p]&&d[v][p]==r)return d[v];return null},getLabelForField:function(d,
p){p||(p=l());var r=d.getAttribute("id");if(r&&p[r])return w(p[r]);for(p=d.parentNode;p;){if("label"==p.nodeName.toLowerCase())return w(p);p=p.parentNode}return d.getAttribute("name")},getFields:function(){var d=parent.frames.ContentFrame;d=void 0!==d?d.contentDocument:document;var p=l(),r=[],v=function(t,D,E){"div"==t.nodeName.toLowerCase()&&0<$CQ(t).children(".form_row").length&&(D=!0,E=$CQ(t).attr("class").replace(/\s/g,"."));if(t.getAttribute&&t.getAttribute("name")){var K=D,T=E,Z=t.getAttribute("name"),
Y=t.nodeName.toLowerCase();if("input"==Y||"textarea"==Y){var V=f(t,"type")?t.getAttribute("type").toLowerCase():"text";if("button"!=V&&"submit"!=V&&"reset"!=V){var ha=CQ.shared.Form.searchArray(r,"value",Z);ha||(r.push({text:CQ.shared.Form.getLabelForField(t,p),value:Z,name:Z,enumeration:void 0,local:K,selector:T,type:Y,defaultValue:k(t),node:t}),ha=r[r.length-1]);if("radio"==V||ha.local&&"checkbox"==V)ha.enumeration||((K=t.getAttribute("id"))?(K=K.replace(/-\d+$/,""),(T=p)||(T=l()),K=T[K]?w(T[K]):
null,ha.text=K?K:Z):ha.text=Z,ha.enumeration=[]),ha.enumeration.push({text:CQ.shared.Form.getLabelForField(t,p),value:t.getAttribute("value"),defaultValue:k(t),node:t})}}else if("select"==Y)for(r.push({text:CQ.shared.Form.getLabelForField(t,p),value:Z,name:Z,enumeration:[],local:K,type:Y,selector:T,defaultValue:void 0,node:t}),ha=r[r.length-1],Z=t.getElementsByTagName("option"),K=0;K<Z.length;K++)ha.enumeration.push({text:Z[K].innerHTML,value:Z[K].getAttribute("value"),defaultValue:k(Z[K]),node:Z[K]})}for(ha=
0;t.childNodes&&ha<t.childNodes.length;ha++)Z=t.childNodes[ha],1==Z.nodeType&&v(Z,D,E)};v(d,!1,void 0);return r}}}();
CQ.shared.User=function(l){return{data:null,language:null,userPropsPath:null,getUserPropsUrl:function(){this.userPropsPath||(this.userPropsPath=CQ.shared.User.PROXY_URI);return this.userPropsPath},load:function(){var w=this.getUserPropsUrl();w=CQ.shared.HTTP.noCaching(w);w=CQ.shared.HTTP.get(w);CQ.shared.HTTP.isOk(w)&&(this.data=CQ.shared.Util.eval(w))},init:function(w,k){if(!this.initialized||k)w?this.data=w:this.load(),this.initialized=!0;return this.data},lazyInit:function(){this.lazyLoad=function(){this.load();
this.initialized=!0}},isInitialized:function(){return this.initialized},getLanguage:function(){!this.isInitialized()&&this.lazyLoad&&this.lazyLoad.call(this);return this.language=this.data&&this.data.preferences&&this.data.preferences.language?this.data.preferences.language:"en"}}}();CQ.shared.User.PROXY_URI=CQ.shared.HTTP.externalize("/libs/cq/security/userinfo"+CQ.shared.HTTP.EXTENSION_JSON);CQ.shared.User.lazyInit();
CQ.shared.I18n.init({locale:function(){return document.documentElement.lang||CQ.shared.User.getLanguage()},urlPrefix:"/libs/cq/i18n/dict."});ContextHub.console.log(ContextHub.Shared.timestamp(),"[loading] contexthub.segment-engine - ContextHub.SegmentEngine.Constants.js");
(function(l){l.extend(!0,ContextHub.Constants,{EVENT_SEGMENT_REGISTERED:"segment-engine:segment-registered",EVENT_SEGMENT_UNREGISTERED:"segment-engine:segment-unregistered",EVENT_SEGMENT_UPDATED:"segment-engine:segment-updated",EVENT_SCRIPT_REGISTERED:"segment-engine:script-registered",EVENT_SCRIPT_UNREGISTERED:"segment-engine:script-unregistered",EVENT_SCRIPT_UPDATED:"segment-engine:script-updated",EVENT_TEASER_REGISTERED:"segment-engine:teaser-registered",EVENT_TEASER_UNREGISTERED:"segment-engine:teaser-unregistered",
EVENT_TEASER_LOADED:"segment-engine:teaser-loaded"})})(ContextHubJQ);ContextHub.console.log(ContextHub.Shared.timestamp(),"[loading] contexthub.segment-engine - ContextHub.SegmentEngine.js");
(function(l,w){w.ContextHub.SegmentEngine={version:"1.1.30-20240802-2302"};ContextHub.SegmentEngine.getResolvedSegments=function(k){return ContextHub.SegmentEngine.SegmentManager.getResolvedSegments(k)};ContextHub.SegmentEngine.getSegment=function(k){return ContextHub.SegmentEngine.SegmentManager.getSegment(k)};ContextHub.SegmentEngine.getComparisonOperators=function(){return ContextHub.SegmentEngine.OperatorManager.getAllOperators()};ContextHub.SegmentEngine.getObjectValue=function(k){return null===
k||void 0===k?null:k instanceof ContextHub.SegmentEngine.Operator?k.isResolved():k instanceof ContextHub.SegmentEngine.Property?k.getValue():k instanceof ContextHub.SegmentEngine.ScriptReference?k.execute():k instanceof ContextHub.SegmentEngine.SegmentReference?k.isResolved():k}})(ContextHubJQ,window);ContextHub.console.log(ContextHub.Shared.timestamp(),"[loading] contexthub.segment-engine - ContextHub.SegmentEngine.Property.js");
(function(l,w){w.ContextHub.SegmentEngine=w.ContextHub.SegmentEngine||{};ContextHub.SegmentEngine.Property=function(k){var f=ContextHub.SegmentEngine.Property;if(!(this instanceof f))return ContextHub.Utils.inheritance.newInstance(f,arguments);k=ContextHub.Utils.JSON.tree.sanitizeKey(k);this.key="/"+k.join("/");this.storeName=k.shift();this.itemName=k.join("/")};ContextHub.SegmentEngine.Property.prototype.info={className:"Property",updateEvent:ContextHub.Constants.EVENT_STORE_UPDATED};ContextHub.SegmentEngine.Property.prototype.getKey=
function(){return this.key};ContextHub.SegmentEngine.Property.prototype.getStoreName=function(){return this.storeName};ContextHub.SegmentEngine.Property.prototype.getItemName=function(){return this.itemName};ContextHub.SegmentEngine.Property.prototype.getValue=function(){return ContextHub.get(this.key)};ContextHub.SegmentEngine.Property.prototype.toString=function(){return this.info.className+'("'+this.getKey()+'") -\x3e '+this.getValue()}})(ContextHubJQ,window);
ContextHub.console.log(ContextHub.Shared.timestamp(),"[loading] contexthub.segment-engine - ContextHub.SegmentEngine.Operator.js");
(function(l,w){w.ContextHub.SegmentEngine=w.ContextHub.SegmentEngine||{};ContextHub.SegmentEngine.Operator=function(k,f){var d=ContextHub.SegmentEngine.Operator;if(!(this instanceof d))return ContextHub.Utils.inheritance.newInstance(d,arguments);f=[].slice.call(arguments,1);this.operatorName=k;this.operatorArguments=f};ContextHub.SegmentEngine.Operator.prototype.getOperatorName=function(){return this.operatorName};ContextHub.SegmentEngine.Operator.prototype.getOperatorArguments=function(){return this.operatorArguments};
ContextHub.SegmentEngine.Operator.prototype.isResolved=function(){var k=!1,f=!0,d=this.getOperatorName(),p=/^and(\.|$)/.test(d),r=/^or(\.|$)/.test(d),v=this.getOperatorArguments();if((p||r)&&2>v.length){var t=v.length;0===t&&(v.push(null),v.push(null));1===t&&v.push(p?!0:null)}t=ContextHub.SegmentEngine.getObjectValue(v[0]);var D=l.type(t);D=ContextHub.SegmentEngine.OperatorManager.getOperator(d,D);var E=function(V){p&&!1===V&&(f=k=!1);r&&!0===V&&(k=!0,f=!1)};E(t);var K=v.length?v.slice(1):[null];
if(D&&f){var T=p||r?v.length:2;d=D.operatorName;K=[];for(var Z=1;Z<T&&f;Z++){var Y=ContextHub.SegmentEngine.getObjectValue(v[Z]);K.push(Y);E(Y)}f&&(v=[t].concat([].slice.call(K)),k=D.handler.apply(this,v))}ContextHub.console.debug("    comparing:",t,d,K.length?K.join(" "+d+" "):K+"","\x3d",k);this._resolution=[d,k,[].concat.call([t],K)];return k};ContextHub.SegmentEngine.Operator.prototype.traverse=function(k,f){var d=[],p=function(r){if(!r||"function"===typeof r.isResolved)if("undefined"===typeof f||
"function"===typeof f&&f(r))d.push(r),"function"===typeof k&&k(r)};p(this);ContextHub.SegmentEngine.OperatorManager.getOperator(this.operatorName)&&l.each(this.getOperatorArguments(),function(r,v){v instanceof ContextHub.SegmentEngine.Operator?l.merge(d,v.traverse(k,f)):p(v)});return d};ContextHub.SegmentEngine.Operator.prototype.toString=function(){var k='Operator("'+this.getOperatorName()+'"';l.each(this.getOperatorArguments(),function(f,d){k+=", "+d});return k+=") -\x3e "+this.isResolved()}})(ContextHubJQ,
window);ContextHub.console.log(ContextHub.Shared.timestamp(),"[loading] contexthub.segment-engine - ContextHub.SegmentEngine.OperatorManager.js");
(function(l,w){w.ContextHub.SegmentEngine=w.ContextHub.SegmentEngine||{};var k={};ContextHub.SegmentEngine.OperatorManager={};ContextHub.SegmentEngine.OperatorManager.register=function(f,d){"string"===typeof f&&f.length&&!/\.$/.test(f)&&(k[f]={operatorName:f,handler:d})};ContextHub.SegmentEngine.OperatorManager.unregister=function(f){delete k[f]};ContextHub.SegmentEngine.OperatorManager.unregisterAllOperators=function(){k={}};ContextHub.SegmentEngine.OperatorManager.getAllOperators=function(){return k};
ContextHub.SegmentEngine.OperatorManager.getOperator=function(f,d){var p=(f||"").split(".",2);f=p.shift();p=p.shift()||"";return k[f+"."+p]||k[f+"."+d]||k[f]||null}})(ContextHubJQ,window);ContextHub.console.log(ContextHub.Shared.timestamp(),"[loading] contexthub.segment-engine - ContextHub.SegmentEngine.Segment.js");
(function(l,w){w.ContextHub.SegmentEngine=w.ContextHub.SegmentEngine||{};ContextHub.SegmentEngine.Segment=function(f,d){var p=ContextHub.SegmentEngine.Segment;if(!(this instanceof p))return ContextHub.Utils.inheritance.newInstance(p,arguments);p=f||{};"string"===typeof p?p={path:f}:p.length&&(p={name:p.shift(),path:p.shift(),boost:p.shift()});var r=l.trim(p.name),v=l.trim(p.path),t=parseInt(l.trim(p.boost),10)||0;0===r.length&&(r=v.split("/").pop());r=r.replace(/ /g,"-").replace(/[^a-z0-9\-]/ig,"").toLowerCase();
this.title=p.name;this.name=r;this.path=v;this.boost=t;this.register(d)};ContextHub.SegmentEngine.Segment.prototype.info={className:"Segment",updateEvent:ContextHub.Constants.EVENT_SEGMENT_UPDATED};ContextHub.SegmentEngine.Segment.prototype.register=function(f){0!==this.getPath().length&&!this.isRegistered()&&f instanceof ContextHub.SegmentEngine.Operator&&(this.cachedResult=null,this.condition=f,this.registered=this.enabled=!1,ContextHub.SegmentEngine.Dependency.findAllDependencies.call(this,this.getCondition()),
ContextHub.SegmentEngine.SegmentManager.register(this))};ContextHub.SegmentEngine.Segment.prototype.unregister=function(){this.enabled=this.registered=!1;this.condition=null;this.isResolved();ContextHub.SegmentEngine.SegmentManager.unregister(this.getPath())};ContextHub.SegmentEngine.Segment.prototype.isResolved=function(){var f=!1;if(null!==this.cachedResult)return ContextHub.console.debug('[+] Segment "'+this.getPath()+'" resolution (cached):',this.cachedResult),this.cachedResult;ContextHub.console.debug('[+] Segment "'+
this.getPath()+'" resolution:');this.isEnabled()&&this.isRegistered()&&(f=this.condition.isResolved());f!==this.cachedResult&&(this.cachedResult=f,ContextHub.eventing.trigger(this.info.updateEvent,{resolved:f,key:this.getPath(),action:"set",value:f},{defer:0,_:{resolved:f,path:this.getPath()}}));return f};var k=function(f,d){var p=f._resolution;d=d||[];if(p){var r=p.shift(),v=p.shift();p=p.shift();var t=r+" ("+v+")";r={};r[t]=p;if(d instanceof Array)d.push(r);else return r}l.each(f.operatorArguments,
function(D,E){if(E instanceof ContextHub.SegmentEngine.Operator){var K=(d instanceof Array?d[d.length-1]:d)[t];K[D]=k(E,"boolean"===typeof K[D]?{}:[])}});return d};ContextHub.SegmentEngine.Segment.prototype.debug=function(){var f=this.getCondition();if(f){var d=this.isResolved();f=k(f);ContextHub.console.debug("[todo] debug: ",d,f)}else ContextHub.console.debug('[-] [SegmentEngine] Segment "'+this.getPath()+'" is invalid.')};ContextHub.SegmentEngine.Segment.prototype.isRegistered=function(){return!0===
this.registered};ContextHub.SegmentEngine.Segment.prototype.isEnabled=function(){return!0===this.enabled};ContextHub.SegmentEngine.Segment.prototype.enable=function(){this.condition instanceof ContextHub.SegmentEngine.Operator&&(this.enabled=!0)};ContextHub.SegmentEngine.Segment.prototype.disable=function(){this.enabled=!1};ContextHub.SegmentEngine.Segment.prototype.getName=function(){return this.name};ContextHub.SegmentEngine.Segment.prototype.getTitle=function(){return this.title};ContextHub.SegmentEngine.Segment.prototype.getPath=
function(){return this.path};ContextHub.SegmentEngine.Segment.prototype.getBoost=function(){return this.boost};ContextHub.SegmentEngine.Segment.prototype.getCondition=function(){return this.condition};ContextHub.SegmentEngine.Segment.prototype.getDependencies=function(){return this.dependencyList||ContextHub.SegmentEngine.Dependency.getEmptyDependencyList()};ContextHub.SegmentEngine.Segment.prototype.onUpdate=function(f,d){var p=this.info.updateEvent;if("function"===typeof d)ContextHub.eventing.on(p,
function(r,v){v&&v.keys.all.hash[this.segment]&&this.handler()}.bind({segment:this.getPath(),handler:d}),f);else ContextHub.eventing.off(p,f)};ContextHub.SegmentEngine.Segment.prototype.toString=function(){var f='("'+this.getPath()+'", '+this.getBoost()+", "+this.getCondition()+")";return this.info.className+f+" -\x3e "+this.isResolved()}})(ContextHubJQ,window);ContextHub.console.log(ContextHub.Shared.timestamp(),"[loading] contexthub.segment-engine - ContextHub.SegmentEngine.SegmentReference.js");
(function(l,w){w.ContextHub.SegmentEngine=w.ContextHub.SegmentEngine||{};ContextHub.SegmentEngine.SegmentReference=function(k){var f=ContextHub.SegmentEngine.SegmentReference;if(!(this instanceof f))return ContextHub.Utils.inheritance.newInstance(f,arguments);this.segmentPath=l.trim(k)};ContextHub.SegmentEngine.SegmentReference.prototype.info={className:"SegmentReference",updateEvent:ContextHub.Constants.EVENT_SEGMENT_UPDATED};ContextHub.SegmentEngine.SegmentReference.prototype.getSegmentPath=function(){return this.segmentPath};
ContextHub.SegmentEngine.SegmentReference.prototype.isResolved=function(){var k=!1,f=ContextHub.SegmentEngine.SegmentManager.getSegment(this.getSegmentPath());f&&(k=f.isResolved());return k};ContextHub.SegmentEngine.SegmentReference.prototype.toString=function(){return this.info.className+'("'+this.getSegmentPath()+'") -\x3e '+this.isResolved()}})(ContextHubJQ,window);ContextHub.console.log(ContextHub.Shared.timestamp(),"[loading] contexthub.segment-engine - ContextHub.SegmentEngine.SegmentManager.js");
(function(l,w){w.ContextHub.SegmentEngine=w.ContextHub.SegmentEngine||{};var k={};ContextHub.SegmentEngine.SegmentManager={};ContextHub.SegmentEngine.SegmentManager.info={registerEvent:ContextHub.Constants.EVENT_SEGMENT_REGISTERED,unregisterEvent:ContextHub.Constants.EVENT_SEGMENT_UNREGISTERED};ContextHub.SegmentEngine.SegmentManager.register=function(f){if(!(f instanceof ContextHub.SegmentEngine.Segment&&f.getCondition()))return!1;k[f.getPath()]=f;f.enabled=!0;f.registered=!0;ContextHub.eventing.trigger(ContextHub.SegmentEngine.SegmentManager.info.registerEvent,
{key:f.getPath(),action:"set",value:"registered"},{defer:0});ContextHub.SegmentEngine.Dependency.dependencyMonitor(f,!0);f.isResolved();return!0};ContextHub.SegmentEngine.SegmentManager.unregister=function(f){if(f=f instanceof ContextHub.SegmentEngine.Segment?f:this.getSegment(f))f.registered=!1,f.disable(),delete k[f.getPath()],ContextHub.SegmentEngine.Dependency.dependencyMonitor(f,!1),f.cachedResult=null,f.dependencyList=ContextHub.SegmentEngine.Dependency.getEmptyDependencyList(),f.isResolved(),
ContextHub.eventing.trigger(ContextHub.SegmentEngine.SegmentManager.info.unregisterEvent,{segment:f,key:f.getPath(),action:"remove",value:"unregistered"},{defer:0})};ContextHub.SegmentEngine.SegmentManager.unregisterAllSegments=function(){l.each(k,function(f,d){d.unregister()})};ContextHub.SegmentEngine.SegmentManager.getAllSegments=function(){return k};ContextHub.SegmentEngine.SegmentManager.getSegment=function(f){return k[f]||null};ContextHub.SegmentEngine.SegmentManager.getResolvedSegments=function(f){var d=
!0===(f||{}).returnLookup,p=d?{}:[];f=ContextHub.Shared.timers.start();l.each(k,function(r,v){v.isResolved()&&(d?p[v.getPath()]=v:p.push(v))});ContextHub.console.log(ContextHub.Shared.timestamp(),"[+] checking resolved segments ("+ContextHub.Shared.timers.finish(f)+"ms)");return p};ContextHub.SegmentEngine.SegmentManager.getUnresolvedSegments=function(f){var d=!0===(f||{}).returnLookup,p=d?{}:[];f=ContextHub.Shared.timers.start();l.each(k,function(r,v){v.isResolved()||(d?p[v.getPath()]=v:p.push(v))});
ContextHub.console.log(ContextHub.Shared.timestamp(),"[+] checking unresolved segments ("+ContextHub.Shared.timers.finish(f)+"ms)");return p};ContextHub.SegmentEngine.SegmentManager.invalidateCache=function(){for(var f in k)k.hasOwnProperty(f)&&(k[f].cachedResult=null);return ContextHub.SegmentEngine.SegmentManager.getResolvedSegments()}})(ContextHubJQ,window);ContextHub.console.log(ContextHub.Shared.timestamp(),"[loading] contexthub.segment-engine - ContextHub.SegmentEngine.ScriptReference.js");
(function(l,w){w.ContextHub.SegmentEngine=w.ContextHub.SegmentEngine||{};ContextHub.SegmentEngine.ScriptReference=function(k,f){var d=ContextHub.SegmentEngine.ScriptReference;if(!(this instanceof d))return ContextHub.Utils.inheritance.newInstance(d,arguments);f=[].slice.call(arguments,1);this.scriptName=l.trim(k);this.scriptArguments=f;this.cachedResult=null;this.dependencyList=ContextHub.SegmentEngine.Dependency.getEmptyDependencyList();for(d=0;d<this.scriptArguments.length;d++)this.dependOn(this.scriptArguments[d]);
ContextHub.SegmentEngine.Dependency.dependencyMonitor(this,!0)};ContextHub.SegmentEngine.ScriptReference.prototype.info={className:"ScriptReference",updateEvent:ContextHub.Constants.EVENT_SCRIPT_UPDATED};ContextHub.SegmentEngine.ScriptReference.prototype.dependOn=function(k){ContextHub.SegmentEngine.Dependency.addDependency.call(this,k)};ContextHub.SegmentEngine.ScriptReference.prototype.getScriptName=function(){return this.scriptName};ContextHub.SegmentEngine.ScriptReference.prototype.getScriptHandler=
function(){return ContextHub.SegmentEngine.ScriptManager.getScript(this.getScriptName())};ContextHub.SegmentEngine.ScriptReference.prototype.getScriptArguments=function(){return this.scriptArguments};ContextHub.SegmentEngine.ScriptReference.prototype.getDependencies=function(){return this.dependencyList||ContextHub.SegmentEngine.Dependency.getEmptyDependencyList()};ContextHub.SegmentEngine.ScriptReference.prototype.execute=function(){var k=null,f=this.getScriptHandler();if(null!==this.cachedResult)return this.cachedResult;
if("function"===typeof f){var d=this.getScriptArguments(),p=[];l.each(d,function(r,v){r=ContextHub.SegmentEngine.getObjectValue(v);p.push(r)});try{k=f.apply(this,p)}catch(r){ContextHub.console.error('[-] [SegmentEngine] User script "'+this.getScriptName()+'" failed:',r),k=null}}this.cachedResult!==k&&(this.cachedResult=k,ContextHub.eventing.trigger(this.info.updateEvent+":"+this.getScriptName(),{script:this,key:this.getScriptName(),action:"set",resolved:k,value:k},{defer:0,_:{result:k,scriptName:this.getScriptName()}}));
return k};ContextHub.SegmentEngine.ScriptReference.prototype.isResolved=function(){return this.execute()};ContextHub.SegmentEngine.ScriptReference.prototype.toString=function(){var k=this.info.className+'("'+this.getScriptName()+'"';l.each(this.getScriptArguments(),function(f,d){"string"===typeof d&&(d='"'+d+'"');k+=", "+d});return k+=") -\x3e "+this.execute()}})(ContextHubJQ,window);ContextHub.console.log(ContextHub.Shared.timestamp(),"[loading] contexthub.segment-engine - ContextHub.SegmentEngine.ScriptManager.js");
(function(l,w){w.ContextHub.SegmentEngine=w.ContextHub.SegmentEngine||{};var k={};ContextHub.SegmentEngine.ScriptManager={};ContextHub.SegmentEngine.ScriptManager.register=function(d,p){"string"===typeof d&&d.length&&"function"===typeof p&&(k[d]=p,ContextHub.eventing.trigger(ContextHub.Constants.EVENT_SCRIPT_REGISTERED,{key:d,action:"set",value:"registered"},{defer:0}))};ContextHub.SegmentEngine.ScriptManager.unregister=function(d){this.isRegistered(d)&&ContextHub.eventing.trigger(ContextHub.Constants.EVENT_SCRIPT_UNREGISTERED,
{key:d,action:"remove",value:"unregistered"},{defer:0});delete k[d]};ContextHub.SegmentEngine.ScriptManager.unregisterAllScripts=function(){l.each(this.getAllScripts(),function(d){this.unregister(d)}.bind(this))};ContextHub.SegmentEngine.ScriptManager.getAllScripts=function(){return k};var f=function(d){ContextHub.console.error('[-] [SegmentEngine] User script "'+d+'" not found.');return function(){return null}};ContextHub.SegmentEngine.ScriptManager.getScript=function(d){return k[d]||f(d)};ContextHub.SegmentEngine.ScriptManager.isRegistered=
function(d){return!!k[d]}})(ContextHubJQ,window);ContextHub.console.log(ContextHub.Shared.timestamp(),"[loading] contexthub.segment-engine - ContextHub.SegmentEngine.Dependency.js");
(function(l,w){w.ContextHub.SegmentEngine=w.ContextHub.SegmentEngine||{};ContextHub.SegmentEngine.Dependency={};ContextHub.SegmentEngine.Dependency.allowedDependencies=[ContextHub.SegmentEngine.SegmentReference,ContextHub.SegmentEngine.ScriptReference,ContextHub.SegmentEngine.Property];ContextHub.SegmentEngine.Dependency.getEmptyDependencyList=function(){var f={};l.each(ContextHub.SegmentEngine.Dependency.allowedDependencies,function(d,p){f[p.prototype.info.className]={keys:[],updateEvent:null}});
return f};ContextHub.SegmentEngine.Dependency.addDependency=function(f){if(f){this.dependencyList=this.dependencyList||ContextHub.SegmentEngine.Dependency.getEmptyDependencyList();var d=null;if(f instanceof ContextHub.SegmentEngine.Property){var p=f.getKey();d=p.replace(/(^\/|\/$)/g,"").split(/\//).shift()||null}else p=f instanceof ContextHub.SegmentEngine.ScriptReference?f.getScriptName():f instanceof ContextHub.SegmentEngine.SegmentReference?f.getSegmentPath():null;if(p){var r=this.dependencyList[f.info.className];
r[p]||(r[p]=!0,r.keys.push(p));r.variant=f.info.className;r.updateEvent=f.info.updateEvent;d&&(r.stores=r.stores||{},r.stores[d]=!0)}}};ContextHub.SegmentEngine.Dependency.findAllDependencies=function(f){var d=(f||{}).operatorArguments;if(d){f=Math.min(d.length,/^(and|or)(\.|$)/.test(f.operatorName)?Number.MAX_VALUE:2);var p;for(p=0;p<f;p++){var r=d[p];r instanceof ContextHub.SegmentEngine.Operator?ContextHub.SegmentEngine.Dependency.findAllDependencies.call(this,r):ContextHub.SegmentEngine.Dependency.addDependency.call(this,
r)}}};var k=function(f,d){f=this.getDependencies();var p=null;d.channel===ContextHub.SegmentEngine.SegmentReference.prototype.info.updateEvent?p=f.SegmentReference:d.channel===ContextHub.SegmentEngine.ScriptReference.prototype.info.updateEvent?p=f.ScriptReference:d.channel===ContextHub.SegmentEngine.Property.prototype.info.updateEvent?p=f.Property:ContextHub.console.error("[-] [SegmentEngine] Unsupported event type:",d.channel);p&&ContextHub.SegmentEngine.Dependency.isMatching(d,p)&&(this.cachedResult=
null,this.isResolved())};ContextHub.SegmentEngine.Dependency.dependencyMonitor=function(f,d){if(f instanceof ContextHub.SegmentEngine.Segment||f instanceof ContextHub.SegmentEngine.ScriptReference){var p=(f.getPath||f.getScriptName).call(f).replace(/[^a-z]/ig,""),r=f.getDependencies(),v=[],t;for(t in r)if(r.hasOwnProperty(t)){var D=r[t];D.keys.length&&v.push(D.updateEvent)}if(v.length)if(v=v.join(" "),d)ContextHub.eventing.on(v,k.bind(f),p);else ContextHub.eventing.off(v,p)}};ContextHub.SegmentEngine.Dependency.isMatching=
function(f,d){var p=ContextHub.SegmentEngine.Dependency[(d||{}).variant+"Handler"];return"function"===typeof p?p.call(this,f,d):!1};ContextHub.SegmentEngine.Dependency.SegmentReferenceHandler=function(f,d){for(var p=0;p<d.keys.length;p++)if(f.keys.all.hash[d.keys[p]])return!0;return!1};ContextHub.SegmentEngine.Dependency.ScriptReferenceHandler=function(f,d){for(var p=0;p<d.keys.length;p++)if(f.keys.all.hash[d.keys[p]])return!0;return!1};ContextHub.SegmentEngine.Dependency.PropertyHandler=function(f,
d){if(d.stores[f.store])for(var p=0;p<d.keys.length;p++){var r=d.keys[p];r=r.substr(r.indexOf("/",1));if(f.keys.all.hash[r])return!0}return!1}})(ContextHubJQ,window);ContextHub.console.log(ContextHub.Shared.timestamp(),"[loading] contexthub.segment-engine.operators - Operator.and.js");(function(){ContextHub.SegmentEngine.OperatorManager.register("and",function(l,w){return!(!l||!w)})})();ContextHub.console.log(ContextHub.Shared.timestamp(),"[loading] contexthub.segment-engine.operators - Operator.or.js");
(function(){ContextHub.SegmentEngine.OperatorManager.register("or",function(l,w){return!(!l&&!w)})})();ContextHub.console.log(ContextHub.Shared.timestamp(),"[loading] contexthub.segment-engine.operators - Operator.equal.js");
(function(l){var w=function(k){"boolean"!==typeof k&&(k=/^true$/i.test(l.trim(String(k))));return k};ContextHub.SegmentEngine.OperatorManager.register("equal",function(k,f){return k===f});ContextHub.SegmentEngine.OperatorManager.register("equal.string",function(k,f){k=String(k);f=String(f);return k===f});ContextHub.SegmentEngine.OperatorManager.register("equal.number",function(k,f){k=Number(String(k)||void 0);f=Number(String(f)||void 0);return k===f});ContextHub.SegmentEngine.OperatorManager.register("equal.boolean",
function(k,f){k=w(k);f=w(f);return k===f});ContextHub.SegmentEngine.OperatorManager.register("equal.date",function(k,f){k=new Date(k||void 0);f=new Date(f||void 0);return Number(k)===Number(f)});ContextHub.SegmentEngine.OperatorManager.register("equal.regexp",function(k,f){var d=!1;"string"===typeof k&&f&&(f instanceof RegExp||(f=new RegExp(f)),d=f.test(k));return d})})(ContextHubJQ);ContextHub.console.log(ContextHub.Shared.timestamp(),"[loading] contexthub.segment-engine.operators - Operator.not-equal.js");
(function(l){var w=function(k){return function(){return!k.apply(this,arguments)}};l.each(ContextHub.SegmentEngine.OperatorManager.getAllOperators(),function(k,f){/^equal(\.|$)/.test(k)&&ContextHub.SegmentEngine.OperatorManager.register("not-"+k,w(f.handler))})})(ContextHubJQ);ContextHub.console.log(ContextHub.Shared.timestamp(),"[loading] contexthub.segment-engine.operators - Operator.less-than.js");
(function(){ContextHub.SegmentEngine.OperatorManager.register("less-than",function(l,w){return l<w});ContextHub.SegmentEngine.OperatorManager.register("less-than.string",function(l,w){l=String(l);w=String(w);return l<w});ContextHub.SegmentEngine.OperatorManager.register("less-than.number",function(l,w){l=Number(String(l)||void 0);w=Number(String(w)||void 0);return l<w});ContextHub.SegmentEngine.OperatorManager.register("less-than.date",function(l,w){l=new Date(l||void 0);w=new Date(w||void 0);return Number(l)<
Number(w)})})();ContextHub.console.log(ContextHub.Shared.timestamp(),"[loading] contexthub.segment-engine.operators - Operator.less-than-or-equal.js");
(function(l){var w=function(d,p){ContextHub.console.error("[-] [SegmentEngine] Comparison operator not found:",d+(p?"."+p:""));return function(){return!1}},k=function(d,p){return(ContextHub.SegmentEngine.OperatorManager.getOperator(d,p)||{}).handler||w(d,p)},f=function(d){var p=k("less-than",d),r=k("equal",d);return function(){return p.apply(this,arguments)||r.apply(this,arguments)}};l.each(ContextHub.SegmentEngine.OperatorManager.getAllOperators(),function(d){if(/^less-than(\.|$)/.test(d)){var p=
d.split(".",2);d=p.shift();p=p.shift();d=d.replace("less-than","less-than-or-equal");p&&(d+="."+p);ContextHub.SegmentEngine.OperatorManager.register(d,f(p))}})})(ContextHubJQ);ContextHub.console.log(ContextHub.Shared.timestamp(),"[loading] contexthub.segment-engine.operators - Operator.greater-than.js");
(function(){ContextHub.SegmentEngine.OperatorManager.register("greater-than",function(l,w){return l>w});ContextHub.SegmentEngine.OperatorManager.register("greater-than.string",function(l,w){l=String(l);w=String(w);return l>w});ContextHub.SegmentEngine.OperatorManager.register("greater-than.number",function(l,w){l=Number(String(l)||void 0);w=Number(String(w)||void 0);return l>w});ContextHub.SegmentEngine.OperatorManager.register("greater-than.date",function(l,w){l=new Date(l||void 0);w=new Date(w||
void 0);return Number(l)>Number(w)})})();ContextHub.console.log(ContextHub.Shared.timestamp(),"[loading] contexthub.segment-engine.operators - Operator.greater-than-or-equal.js");
(function(l){var w=function(d,p){ContextHub.console.error("[-] [SegmentEngine] Comparison operator not found:",d+(p?"."+p:""));return function(){return!1}},k=function(d,p){return(ContextHub.SegmentEngine.OperatorManager.getOperator(d,p)||{}).handler||w(d,p)},f=function(d){var p=k("greater-than",d),r=k("equal",d);return function(){return p.apply(this,arguments)||r.apply(this,arguments)}};l.each(ContextHub.SegmentEngine.OperatorManager.getAllOperators(),function(d){if(/^greater-than(\.|$)/.test(d)){var p=
d.split(".",2);d=p.shift();p=p.shift();d=d.replace("greater-than","greater-than-or-equal");p&&(d+="."+p);ContextHub.SegmentEngine.OperatorManager.register(d,f(p))}})})(ContextHubJQ);ContextHub.console.log(ContextHub.Shared.timestamp(),"[loading] contexthub.segment-engine.page-interaction - PageInteraction.js");
(function(l,w){w.ContextHub.SegmentEngine.PageInteraction=w.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(k){var f="["+ContextHub.SegmentEngine.PageInteraction.info.propertyHolder+(k?'^\x3d"%1"]':"]");k=l([f.replace(/%1/,"/"+k),
f.replace(/%1/,k)].join(", "));var d=[];l.each(k,function(p,r){p=ContextHub.SegmentEngine.PageInteraction.PropertyPlaceholder(r);p.isValid()&&d.push(p)});return d}})(ContextHubJQ,window);ContextHub.console.log(ContextHub.Shared.timestamp(),"[loading] contexthub.segment-engine.page-interaction - PageInteraction.PropertyPlaceholder.js");
(function(l,w){w.ContextHub.SegmentEngine.PageInteraction=w.ContextHub.SegmentEngine.PageInteraction||{};var k=function(){var f=this.element.attr(ContextHub.SegmentEngine.PageInteraction.info.propertyHolder);this.element&&f?(f=ContextHub.Utils.JSON.tree.sanitizeKey(f),this.storeName=f.shift(),this.propertyName="/"+f.join("/"),this.keyName="/"+this.storeName+this.propertyName,this.defaultValue=l.trim(this.element.attr(ContextHub.SegmentEngine.PageInteraction.info.defaultHolder)||""),this.processors=
[],l.each((this.element.attr(ContextHub.SegmentEngine.PageInteraction.info.processorHolder)||"").split(/,/),function(d,p){d=l.trim(p);d.length&&this.processors.push(d)}.bind(this))):(this.defaultValue=this.propertyName=this.keyName=this.storeName=null,this.processors=[])};ContextHub.SegmentEngine.PageInteraction.PropertyPlaceholder=function(f){var d=ContextHub.SegmentEngine.PageInteraction.PropertyPlaceholder;if(!(this instanceof d))return ContextHub.Utils.inheritance.newInstance(d,arguments);this.element=
l(f);k.call(this)};ContextHub.SegmentEngine.PageInteraction.PropertyPlaceholder.prototype.update=function(f){k.call(this);var d=this.getValueProcessors();f||(f=ContextHub.get(this.getKey()));f&&""!==f||(f=this.getDefaultValue());for(var p=0;p<d.length;p++){var r=ContextHub.SegmentEngine.PageInteraction.PropertyProcessor.getProcessor(d[p]);f=l.trim(r.handler.call(this,f))}this.element.val()!==f&&this.element.text(f)};ContextHub.SegmentEngine.PageInteraction.PropertyPlaceholder.prototype.getPropertyName=
function(){k.call(this);return this.propertyName||""};ContextHub.SegmentEngine.PageInteraction.PropertyPlaceholder.prototype.getKey=function(){k.call(this);return this.keyName||""};ContextHub.SegmentEngine.PageInteraction.PropertyPlaceholder.prototype.getDefaultValue=function(){k.call(this);return this.defaultValue||""};ContextHub.SegmentEngine.PageInteraction.PropertyPlaceholder.prototype.getValueProcessors=function(){return this.processors||[]};ContextHub.SegmentEngine.PageInteraction.PropertyPlaceholder.prototype.isValid=
function(){return!!this.propertyName}})(ContextHubJQ,window);ContextHub.console.log(ContextHub.Shared.timestamp(),"[loading] contexthub.segment-engine.page-interaction - PageInteraction.PropertyProcessor.js");
(function(l,w){w.ContextHub.SegmentEngine.PageInteraction=w.ContextHub.SegmentEngine.PageInteraction||{};var k={};ContextHub.SegmentEngine.PageInteraction.PropertyProcessor={};ContextHub.SegmentEngine.PageInteraction.PropertyProcessor.register=function(d,p){"string"===typeof d&&d.length&&(k[d]={processorName:d,handler:p})};ContextHub.SegmentEngine.PageInteraction.PropertyProcessor.unregister=function(d){delete k[d]};ContextHub.SegmentEngine.PageInteraction.PropertyProcessor.unregisterAllProcessors=
function(){k={}};ContextHub.SegmentEngine.PageInteraction.PropertyProcessor.getAllProcessors=function(){return k};var f={processorName:"default",handler:function(d){return d}};ContextHub.SegmentEngine.PageInteraction.PropertyProcessor.getProcessor=function(d){return k[d]||f}})(ContextHubJQ,window);ContextHub.console.log(ContextHub.Shared.timestamp(),"[loading] contexthub.segment-engine.page-interaction - PageInteraction.Teaser.js");
(function(l,w){w.ContextHub.SegmentEngine.PageInteraction=w.ContextHub.SegmentEngine.PageInteraction||{};var k={analytics:1,design:1,disabled:1,preview:1,read_only:1},f=function(d){var p=CQ.shared.HTTP.getContextPath();p=(p=1<p.length?p:"")&&d.substring(0,p.length)!==p?p+"/"+d:d;if("ui"===ContextHub.Constants.MODE){var r=RegExp("[?\x26]wcmmode\x3d([^\x26#]*)").exec(w.location.href);r=r&&1<r.length?(r[1]||"").toLowerCase():ContextHub.Utils.Cookie.getItem("wcmmode");k[r]&&(p+=(-1===d.indexOf("?")?"?":
"\x26")+"wcmmode\x3d"+r)}return p};ContextHub.SegmentEngine.PageInteraction.Teaser=function(d){var p=ContextHub.SegmentEngine.PageInteraction.Teaser;if(!(this instanceof p))return ContextHub.Utils.inheritance.newInstance(p,arguments);d=d||{};this.details={locationId:l.trim(d.locationId),variants:d.variants||[],strategy:l.trim(d.strategy),trackingURL:l.trim(d.trackingURL)};this.register()};ContextHub.SegmentEngine.PageInteraction.Teaser.prototype.info={className:"Teaser",loadEvent:ContextHub.Constants.EVENT_TEASER_LOADED};
ContextHub.SegmentEngine.PageInteraction.Teaser.prototype.register=function(){this.details.locationId.length&&this.details.variants.length&&!this.isRegistered()&&(this.registered=ContextHub.SegmentEngine.PageInteraction.TeaserManager.register(this))};ContextHub.SegmentEngine.PageInteraction.Teaser.prototype.unregister=function(){this.registered=!1;ContextHub.SegmentEngine.PageInteraction.TeaserManager.unregister(this)};ContextHub.SegmentEngine.PageInteraction.Teaser.prototype.updatePlaceholder=function(){var d=
this.getBestCandidate(),p=null;if(d){var r=this.currentlyLoaded||{};p=f(d.url);if(r.path===d.path&&r.url===p)return}d?(this.currentlyLoaded=l.extend(!0,{},d,{url:p}),this.getVariantContent(p,function(v){l("#"+this.details.locationId).html(v);ContextHub.eventing.trigger(ContextHub.SegmentEngine.PageInteraction.Teaser.prototype.info.loadEvent,{teaser:this,variant:d,key:this.details.locationId,action:"set",value:"loaded"},{defer:0})}.bind(this))):delete this.currentlyLoaded};ContextHub.SegmentEngine.PageInteraction.Teaser.prototype.getVariantContent=
function(d,p,r){var v=ContextHub.SegmentEngine.PageInteraction.Cache.get(d);v?p.call(this,v.content,v.status,v.xhr):(v=l.ajax({url:d,async:!0}),v.done(function(t,D,E){ContextHub.SegmentEngine.PageInteraction.Cache.set(d,{content:t,status:D,xhr:E,url:d});p.call(this,t,D,E)}),"function"===typeof r&&v.fail(function(t){r.call(this,t)}))};ContextHub.SegmentEngine.PageInteraction.Teaser.prototype.getBestCandidate=function(){for(var d=null,p=[],r=[],v=ContextHub.SegmentEngine.SegmentManager.getResolvedSegments({returnLookup:!0}),
t=this.details.variants,D=0;D<t.length;D++){var E=t[D],K=E.segments||[],T=!1,Z=!1;E.boost=0;if(0===K.length)Z=T=!0;else for(var Y=0;Y<K.length;Y++){var V=v[K[Y]];"undefined"!==typeof V&&(T=!0,E.boost=Math.max(E.boost,V.boost||0))}T&&(Z?r:p).push(E)}if(0===p.length||"random"===this.details.strategy)p=[].concat.call(p,r);p.length&&(p.sort(function(ha,ra){return ra.boost-ha.boost}),d=ContextHub.SegmentEngine.PageInteraction.StrategyManager.chooseCandidate(p,this.details.strategy));return d};ContextHub.SegmentEngine.PageInteraction.Teaser.prototype.getCurrentlyLoaded=
function(){return this.currentlyLoaded||null};ContextHub.SegmentEngine.PageInteraction.Teaser.prototype.isRegistered=function(){return!0===this.registered};ContextHub.SegmentEngine.PageInteraction.Teaser.prototype.getTeaserId=function(){return this.details.locationId};ContextHub.SegmentEngine.PageInteraction.Teaser.prototype.toString=function(){var d=[];l.each(d,function(p,r){d.push(p+': "'+r+'"')});return this.info.className+"("+d.join(", ")+")"}})(ContextHubJQ,window);
ContextHub.console.log(ContextHub.Shared.timestamp(),"[loading] contexthub.segment-engine.page-interaction - PageInteraction.TeaserManager.js");
(function(l,w){w.ContextHub.SegmentEngine.PageInteraction=w.ContextHub.SegmentEngine.PageInteraction||{};var k={};ContextHub.SegmentEngine.PageInteraction.TeaserManager={};ContextHub.SegmentEngine.PageInteraction.TeaserManager.info={registerEvent:ContextHub.Constants.EVENT_TEASER_REGISTERED,unregisterEvent:ContextHub.Constants.EVENT_TEASER_UNREGISTERED};ContextHub.SegmentEngine.PageInteraction.TeaserManager.register=function(f){if(!(f instanceof ContextHub.SegmentEngine.PageInteraction.Teaser))return!1;
k[f.getTeaserId()]=f;ContextHub.eventing.trigger(ContextHub.SegmentEngine.PageInteraction.TeaserManager.info.registerEvent,{teaser:f,key:f.getTeaserId(),action:"set",value:"registered"},{defer:0});return!0};ContextHub.SegmentEngine.PageInteraction.TeaserManager.unregister=function(f){if(f=f instanceof ContextHub.SegmentEngine.PageInteraction.Teaser?f:this.getTeaser(f))f.registered=!1,delete k[f.getTeaserId()],ContextHub.eventing.trigger(ContextHub.SegmentEngine.PageInteraction.TeaserManager.info.unregisterEvent,
{teaser:f,key:f.getTeaserId(),action:"remove",value:"unregistered"},{defer:0})};ContextHub.SegmentEngine.PageInteraction.TeaserManager.unregisterAllTeasers=function(){l.each(k,function(f,d){d.unregister()})};ContextHub.SegmentEngine.PageInteraction.TeaserManager.getAllTeasers=function(){return k};ContextHub.SegmentEngine.PageInteraction.TeaserManager.getTeaser=function(f){return k[f]||null};ContextHub.SegmentEngine.PageInteraction.TeaserManager.refreshAllTeasers=function(f){f&&ContextHub.SegmentEngine.SegmentManager.invalidateCache();
for(var d in k)k.hasOwnProperty(d)&&k[d].updatePlaceholder()}})(ContextHubJQ,window);ContextHub.console.log(ContextHub.Shared.timestamp(),"[loading] contexthub.segment-engine.page-interaction - PageInteraction.StrategyManager.js");
(function(l,w){w.ContextHub.SegmentEngine.PageInteraction=w.ContextHub.SegmentEngine.PageInteraction||{};var k={};ContextHub.SegmentEngine.PageInteraction.StrategyManager={};ContextHub.SegmentEngine.PageInteraction.StrategyManager.register=function(d,p,r){"string"===typeof d&&d.length&&(k[d]={strategyName:d,displayName:p,handler:r})};ContextHub.SegmentEngine.PageInteraction.StrategyManager.unregister=function(d){delete k[d]};ContextHub.SegmentEngine.PageInteraction.StrategyManager.unregisterAllStrategies=
function(){k={}};ContextHub.SegmentEngine.PageInteraction.StrategyManager.getAllStrategies=function(){return k};var f={strategyName:"default",displayName:"Default (first teaser candidate)",handler:function(d){return(d||[])[0]||null}};ContextHub.SegmentEngine.PageInteraction.StrategyManager.getStrategy=function(d){return k[d]||f};ContextHub.SegmentEngine.PageInteraction.StrategyManager.chooseCandidate=function(d,p){return ContextHub.SegmentEngine.PageInteraction.StrategyManager.getStrategy(p).handler.call(this,
d)}})(ContextHubJQ,window);ContextHub.console.log(ContextHub.Shared.timestamp(),"[loading] contexthub.segment-engine.page-interaction - PageInteraction.Cache.js");
(function(l,w){w.ContextHub.SegmentEngine.PageInteraction=w.ContextHub.SegmentEngine.PageInteraction||{};var k={};ContextHub.SegmentEngine.PageInteraction.Cache={};ContextHub.SegmentEngine.PageInteraction.Cache.set=function(f,d){k[f]=d};ContextHub.SegmentEngine.PageInteraction.Cache.get=function(f){return k[f]||null};ContextHub.SegmentEngine.PageInteraction.Cache.getAllItems=function(){return k||{}};ContextHub.SegmentEngine.PageInteraction.Cache.clear=function(f){delete k[f]};ContextHub.SegmentEngine.PageInteraction.Cache.clearAllItems=
function(){k={}}})(ContextHubJQ,window);ContextHub.console.log(ContextHub.Shared.timestamp(),"[loading] contexthub.segment-engine.page-interaction - util.case-manipulation.js");
(function(){ContextHub.SegmentEngine.PageInteraction.PropertyProcessor.register("lower-case",function(l){return String(l).toLowerCase()});ContextHub.SegmentEngine.PageInteraction.PropertyProcessor.register("upper-case",function(l){return String(l).toUpperCase()});ContextHub.SegmentEngine.PageInteraction.PropertyProcessor.register("title-case",function(l){return String(l).toLowerCase().replace(/(^| )+(.)/g,function(w){return w.toUpperCase()})})})();
ContextHub.console.log(ContextHub.Shared.timestamp(),"[loading] contexthub.segment-engine.page-interaction - util.number-formatting.js");(function(){ContextHub.SegmentEngine.PageInteraction.PropertyProcessor.register("timestamp-to-date",function(l){var w=function(k){return(9>=k?"0":"")+k};l=new Date(1E3*l);l=isNaN(l.getMilliseconds())?new Date:l;return[[l.getFullYear(),w(l.getMonth()+1),w(l.getDay())].join("-"),[w(l.getHours()),w(l.getMinutes()),w(l.getSeconds())].join(":")].join(" ")})})();
ContextHub.console.log(ContextHub.Shared.timestamp(),"[loading] contexthub.segment-engine.page-interaction - task.page-update-watcher.js");
(function(l,w){var k=w.MutationObserver||w.WebKitMutationObserver;if(k){var f={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]};l(function(){(new k(function(d){for(var p="["+ContextHub.SegmentEngine.PageInteraction.info.propertyHolder+"]",r=[],v=0;v<
d.length;v++){var t=d[v];l.merge(r,l(t.addedNodes).filter(p));t.attributeName&&t.target&&r.push(t.target)}l.each(l.unique(r),function(D,E){D=ContextHub.SegmentEngine.PageInteraction.PropertyPlaceholder(E);D.isValid()&&D.update()})})).observe(w.document.body,f)})}l(function(){var d=ContextHub.SegmentEngine.PageInteraction.getPropertyPlaceholders();l.each(d,function(p,r){r.isValid()&&r.update()})})})(ContextHubJQ,window);ContextHub.console.log(ContextHub.Shared.timestamp(),"[loading] contexthub.segment-engine.page-interaction - task.data-update-watcher.js");
(function(l){ContextHub.eventing.on(ContextHub.Constants.EVENT_STORE_UPDATED,function(w,k){w=ContextHub.SegmentEngine.PageInteraction.getPropertyPlaceholders((k||{}).store);l.each(w,function(f,d){var p=d.getPropertyName();f=this.eventData.keys.set.hash[p];p=this.eventData.keys.removed.hash[p];var r=f?f.value:void 0;(f||p)&&d.update(r)}.bind({eventData:k}))},"page-interaction",!0)})(ContextHubJQ);ContextHub.console.log(ContextHub.Shared.timestamp(),"[loading] contexthub.segment-engine.page-interaction - task.teaser-update.js");
(function(l){var w=0,k=function(){var d=ContextHub.SegmentEngine.PageInteraction.TeaserManager.getAllTeasers();l.each(d,function(p,r){r.isRegistered()&&r.updatePlaceholder()})},f=function(){80<=(new Date).getTime()-w?(k(),w=0):window.requestAnimationFrame(f)};ContextHub.eventing.once([ContextHub.Constants.EVENT_ALL_STORES_READY,ContextHub.Constants.EVENT_STORES_PARTIALLY_READY],function(){var d=[ContextHub.Constants.EVENT_SEGMENT_UPDATED,ContextHub.Constants.EVENT_STORE_UPDATED+":campaign",ContextHub.Constants.EVENT_TEASER_REGISTERED];
ContextHub.eventing.off(d,"teaser-updater");ContextHub.eventing.on(d,function(){var p=0===w;w=(new Date).getTime()+80;p&&f()},"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(l){return(l||[])[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(l){var w;l&&(w=l[l.length-1]);return w||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(l){var w;l&&(w=l[Math.floor(Math.random()*l.length)]);return w||null})})();ContextHub.console.log(ContextHub.Shared.timestamp(),"[loading] contexthub.store.aem.analyticsdata - store.analyticsdata.js");
(function(l){var w={},k=function(f,d){this.init(f,this.config);this.config=l.extend(!0,{},w,d)};ContextHub.Utils.inheritance.inherit(k,ContextHub.Store.SessionStore);ContextHub.Utils.storeCandidates.registerStoreCandidate(k,"aem.analyticsdata",0)})(ContextHubJQ);ContextHub.console.log(ContextHub.Shared.timestamp(),"[loading] contexthub.store.aem.pagedata - store.pagedata.js");
(function(l){var w={forceExperienceCookie:"cq-forceexperience",service:{jsonp:!1,timeout:1E3,path:"${variable:ContextHub.Paths.RESOURCE_PATH}.pagedata.json"}},k=function(f,d){this.config=l.extend(!0,{},w,d);this.init(f,this.config);this.queryService(!0)};ContextHub.Utils.inheritance.inherit(k,ContextHub.Store.PersistedJSONPStore);k.prototype.successHandler=function(f){this.setItem("/",f||{})};k.prototype.setExperience=function(f){ContextHub.Utils.Cookie.setItem(this.config.forceExperienceCookie,f,
{path:"/"})};k.prototype.getExperience=function(){return ContextHub.Utils.Cookie.getItem(this.config.forceExperienceCookie)};k.prototype.clearExperience=function(){ContextHub.Utils.Cookie.removeItem(this.config.forceExperienceCookie)};ContextHub.Utils.storeCandidates.registerStoreCandidate(k,"aem.pagedata",0)})(ContextHubJQ);ContextHub.console.log(ContextHub.Shared.timestamp(),"[loading] contexthub.store.aem.segmentation - store.segmentation.js");
(function(l){var w={service:{script:!0,timeout:3E3,path:window.ContextHub.Paths.SEGMENTATION_PATH+".seg.js"}},k=function(d,p){this.config=l.extend(!0,{},w,p);this.init(d,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(k,ContextHub.Store.PersistedJSONPStore);k.prototype.reset=
function(d){ContextHub.SegmentEngine.SegmentManager.unregisterAllSegments();this.uber("reset",d)};k.prototype.queryService=function(d){ContextHub.isOptedOut()||this.uber("queryService",d)};k.prototype.reloadSegments=function(){this.reset()};var f=function(d){d=parseInt(d,10)||0;if(0>=d)d="No segment";else if(5>=d)d=d+" segment"+(1<d?"s":"");else{var p=5*Math.floor(d/5);d=(d===p?"":"More than ")+p+" segments"}return d};k.prototype.refreshData=function(){var d=[];l.each(ContextHub.SegmentEngine.getResolvedSegments(),
function(r,v){if(r=v.getPath()){var t=r+".html";v={label:v.getTitle()||v.getName()||r,link:t,path:r};d.push(v)}});var p=d.length;this.setItem("segments",d);this.setItem("summary",f(p));return d};k.prototype.getResolvedSegments=function(){return ContextHub.SegmentEngine.SegmentManager.getResolvedSegments()};k.prototype.getUnresolvedSegments=function(){return ContextHub.SegmentEngine.SegmentManager.getUnresolvedSegments()};ContextHub.Utils.storeCandidates.registerStoreCandidate(k,"aem.segmentation",
0,function(){return!!ContextHub.SegmentEngine})})(ContextHubJQ);
(function(l,w){function k(d,p){this.config=l.extend({},f,p);this.init(d,this.config);var r=this,v=1;ContextHub.eventing.on(ContextHub.Constants.EVENT_STORE_UPDATED+":profile",function(t,D){r.setItem("tickle",v++)});ContextHub.eventing.on(ContextHub.Constants.EVENT_STORE_UPDATED+":cart",function(t,D){r.setItem("tickle",v++)})}var f={maxCount:20};ContextHub.Utils.inheritance.inherit(k,ContextHub.Store.PersistedStore);k.prototype.recent=function(d,p){var r=this.getItem("products")||[],v=[],t=ContextHub.getStore("cart");
t||(p=!1);for(var D=r.length-1;0<=D&&0<d;D--){var E=r[D];p&&t.containsProduct(E.path)||(v.push(E),d--)}return v};k.prototype.record=function(d,p,r,v){for(var t=JSON.parse(JSON.stringify(this.getItem("products")||[])),D=0;D<t.length;D++)if(t[D].path==d){t.splice(D,1);break}t.length==this.config.maxCount&&t.shift();t.push({path:d,title:p,image:r,price:v});this.setItem("products",t)};k.prototype.remove=function(d){for(var p=JSON.parse(JSON.stringify(this.getItem("products")||[])),r=0;r<p.length;r++)if(p[r].path==
d){p.splice(r,1);break}this.setItem("products",p)};k.prototype.reset=function(d){this.uber("reset",d);this.setItem("products",[])};ContextHub.Utils.storeCandidates.registerStoreCandidate(k,"commerce.abandonedproducts",0)})(ContextHubJQ,this);
(function(l){function w(f,d){this.config=l.extend(!0,{},k,d);this.init(f,this.config);var p=this,r=1;ContextHub.eventing.on(ContextHub.Constants.EVENT_STORE_UPDATED+":cart",function(v,t){p.setItem("tickle",r++)})}var k={maxCount:20};ContextHub.Utils.inheritance.inherit(w,ContextHub.Store.PersistedStore);w.prototype.recent=function(f,d){var p=this.getItem("products")||[],r=[],v=ContextHub.getStore("cart");v||(d=!1);for(var t=p.length-1;0<=t&&0<f;t--){var D=p[t];d&&v.containsProduct(D.path)||(r.push(D),
f--)}return r};w.prototype.record=function(f,d,p,r){for(var v=JSON.parse(JSON.stringify(this.getItem("products")||[])),t=0;t<v.length;t++)if(v[t].path==f){v.splice(t,1);break}v.length==this.config.maxCount&&v.shift();v.push({path:f,title:d,image:p,price:r});this.setItem("products",v)};w.prototype.reset=function(f){this.uber("reset",f);this.setItem("products",[])};ContextHub.Utils.storeCandidates.registerStoreCandidate(w,"commerce.recentlyviewed",0)})(ContextHubJQ);
ContextHub.console.log(ContextHub.Shared.timestamp(),"[loading] contexthub.store.commerce.cart - store.cart.js");
(function(l){function w(d){if(d){var p=d.lastIndexOf("#");-1<p&&(d=d.substring(0,p));p=d.lastIndexOf(".html");-1<p&&(d=d.substring(0,p))}return d}l.extend(!0,{HTTP:{externalize:function(d){return d}}},window.top.window.Granite);var k={service:{jsonp:!1,timeout:1E3,ttl:0,path:"${resourcePath}.commerce.cart.json"}},f=function(d,p){this.config=l.extend({},k,p);this.init(d,this.config);this.queryService(!1);var r=this;ContextHub.eventing.on(ContextHub.Constants.EVENT_STORE_UPDATED+":segmentation",function(v,
t){r.resolvePromotions()})};ContextHub.Utils.inheritance.inherit(f,ContextHub.Store.PersistedJSONPStore);f.prototype.getServiceDetails=function(){this.config.service.path&&(this.config.service.path=this.config.service.path.replace(/\${resourcePath}/g,ContextHub.Paths.RESOURCE_PATH));return this.config.service};f.prototype.queryService=function(d,p){var r=this.getServiceURL(!0);if(r){d&&this.removeItem("_",{silent:!0});d={ignorePost:!0};p&&(d=this.getTree());window.ContextHub=l.extend({Callbacks:{}},
window.ContextHub);ContextHub.Callbacks[this.name]=this.callbackFunction.bind(this);p=this.config.service.timeout;var v=this,t=v.isEventingPaused();v.pauseEventing();this.duration=0;ContextHub.Shared.timers.start(this.name);l.ajax({url:r,type:"POST",data:{cart:ContextHub.Utils.JSON.stringify(d)},timeout:p}).done(function(D,E,K){ContextHub.Callbacks[v.name](ContextHub.Utils.JSON.parse(K.responseText));v.eventing.trigger("push-success:"+v.name)}).fail(function(D){v.failureHandler(D)}).always(function(){t||
v.resumeEventing();v.announceReadiness()})}};f.prototype.successHandler=function(d){var p=this.getItem("_");this.setItem("/",d);this.setItem("_",p);this.updateSimulatedPrice()};f.prototype.setSimulatedPrice=function(d){this.getItem("/_/simulatedTotalPrice")||this.setItem("/_/referenceTotalPrice",this.getItem("totalPriceFloat"),{silent:!0});this.setItem("/_/simulatedTotalPrice",d,{silent:!0});this.uber("setItem","totalPriceFloat",d);this.setItem("totalPrice",this.getItem("totalPrice").replace(/[0-9]+\.[0-9]+/,
parseFloat(d).toFixed(2)))};f.prototype.updateSimulatedPrice=function(){var d=this.getItem("/_/simulatedTotalPrice");d&&this.getItem("/_/referenceTotalPrice")==this.getItem("totalPriceFloat")?this.setSimulatedPrice(d):this.setItem("/_/simulatedTotalPrice",null,{silent:!0})};f.prototype.addProductToCart=function(d,p,r,v,t){var D=JSON.parse(JSON.stringify(this.getItem("entries")||[]));D.push({title:r,quantity:1,path:d,pagePath:p,thumbnail:v,priceFormatted:t});this.setItem("entries",D);ContextHub.getStore("abandonedproducts")&&
ContextHub.getStore("abandonedproducts").record(p,r,v,t)};f.prototype.updateQuantity=function(d,p){var r=JSON.parse(JSON.stringify(this.getItem("entries")||[]));r.length>=d&&r[d].quantity!=p&&(r[d].quantity=p,this.setItem("entries",r))};f.prototype.addSimulatedPromotion=function(d,p){for(var r=this.getItem("/_/simulatedPromotions")||[],v=!1,t=0;t<r.length;t++)if(r[t].path==d){v=!0;break}v||(r.push({path:d,title:p}),this.setItem("/_/simulatedPromotions",r,{silent:!0}),this.resolvePromotions())};f.prototype.removeSimulatedPromotion=
function(d){for(var p=this.getItem("/_/simulatedPromotions")||[],r=-1,v=0;v<p.length;v++)if(p[v].path==d){r=v;break}0<=r&&(p.splice(r,1),this.setItem("/_/simulatedPromotions",p,{silent:!0}),this.resolvePromotions())};f.prototype.getSimulatedPromotions=function(){return this.getItem("/_/simulatedPromotions")};f.prototype.addVoucher=function(d){for(var p=this.getItem("vouchers")||[],r=!1,v=0;v<p.length;v++)if(p[v].code==d){r=!0;break}r||(p.push({code:d}),this.setItem("vouchers",p))};f.prototype.removeVoucher=
function(d){for(var p=this.getItem("vouchers")||[],r=-1,v=0;v<p.length;v++)if(p[v].path==d){r=v;break}0<=r&&(p.splice(r,1),this.setItem("vouchers",p))};f.prototype.setItem=function(d,p,r){if(0==d.indexOf("entries")||0==d.indexOf("promotions")||0==d.indexOf("vouchers")){var v="/"+(ContextHub.Utils.JSON.tree.sanitizeKey(d)||[]).join("/");v=this.getItem(v);var t=v===p;t||(v=ContextHub.Utils.JSON.stringify(v),t=ContextHub.Utils.JSON.stringify(p),t=v===t);!1===t&&(v=function(){this.queryService(!1,!0)}.bind(this),
ContextHub.eventing.once(ContextHub.Constants.EVENT_STORE_UPDATED+":cart",v,"commerceRemoteSync"))}this.uber("setItem",d,p,r)};f.prototype.containsProduct=function(d,p){var r=d?w(d):null,v=this.getItem("entries")||[];p||(p=1);for(var t=0;t<v.length;t++){var D=v[t],E=D.page||D.pagePath||"";E=w(E);if((!d||E==r)&&(!p||D.quantity>=p))return!0}return!1};f.prototype.containsPromotion=function(d,p){d=d?w(d):null;var r=this.getItem("promotions")||[];p||(p="FIRED");for(var v=0;r&&v<r.length;v++){var t=r[v];
if((t.path?w(t.path):null)==d&&p==t.status)return!0}return!1};f.prototype.resolvePromotions=function(){var d=this.getItem("promotionsMap");if(d){var p=ContextHub.SegmentEngine.SegmentManager.getResolvedSegments({returnLookup:!0}),r={},v,t;for(v=0;v<d.length;v++){var D=d[v].segments.split(",");for(t=0;t<D.length;t++)if(p[D[t]]){r[d[v].path]=!0;break}}d=this.getItem("/_/simulatedPromotions")||[];for(v=0;v<d.length;v++)r[d[v].path]=!0;d=JSON.parse(JSON.stringify(this.getItem("promotions")||[]));for(v=
0;v<d.length;v++)d[v].resolve||r[d[v].path]?r[d[v].path]=void 0:d.splice(v--,1);for(var E in r)r.hasOwnProperty(E)&&d.push({path:E});this.setItem("promotions",d)}};f.prototype.reset=function(d){this.uber("reset",d);this.uber("setItem","entries",[],{silent:!0});this.setItem("/_/simulatedPromotions",[],{silent:!0});this.uber("setItem","promotions",[],{silent:!0});this.uber("setItem","vouchers",[],{silent:!0});this.queryService(!1,!0)};ContextHub.Utils.storeCandidates.registerStoreCandidate(f,"commerce.cart",
0)})(ContextHubJQ);ContextHub.console.log(ContextHub.Shared.timestamp(),"[loading] contexthub.store.commerce.orderhistory - store.orderhistory.js");
(function(l){var w={service:{jsonp:!1,timeout:1E3,ttl:0,path:"${resourcePath}.commerce.orderhistory.json"}},k=function(f,d){this.config=l.extend({},w,d);this.init(f,this.config);this.queryService(!1);var p=this;ContextHub.eventing.on(ContextHub.Constants.EVENT_STORE_UPDATED+":profile",function(r,v){p.queryService(!0)})};ContextHub.Utils.inheritance.inherit(k,ContextHub.Store.JSONPStore);k.prototype.getServiceDetails=function(){this.config.service.path&&(this.config.service.path=this.config.service.path.replace(/\${resourcePath}/g,
ContextHub.Paths.RESOURCE_PATH));return this.config.service};k.prototype.successHandler=function(f){var d=this.getItem("_");this.setItem("/",f);this.setItem("_",d)};ContextHub.Utils.storeCandidates.registerStoreCandidate(k,"commerce.orderhistory",0)})(ContextHubJQ);ContextHub.console.log(ContextHub.Shared.timestamp(),"[loading] contexthub.store.commerce.relatedproducts - store.relatedproducts.js");
(function(l){var w={service:{jsonp:!1,timeout:1E3,ttl:18E5,path:"${variable:ContextHub.Paths.RESOURCE_PATH}.commerce.relatedproducts.json"}},k=function(f,d){this.config=l.extend(!0,{},w,d);this.init(f,this.config);this.cartLoaded=this.profileLoaded=!1;var p=this;this.queryService(!1);ContextHub.eventing.on(ContextHub.Constants.EVENT_STORE_UPDATED+":profile",function(r,v){r=ContextHub.getStore("profile").getItem("authorizableId");p.profileLoaded?r!=p.lastAuthorizableId&&(p.lastAuthorizableId=r,p.queryService(!0)):
(p.profileLoaded=!0,p.lastAuthorizableId=r)});ContextHub.eventing.on(ContextHub.Constants.EVENT_STORE_UPDATED+":cart",function(r,v){r=(ContextHub.getStore("cart").getItem("entries")||[]).length;p.cartLoaded?r!==p.lastCartEntryCount&&(p.lastCartEntryCount=r,p.queryService(!0)):(p.cartLoaded=!0,p.lastCartEntryCount=r)})};ContextHub.Utils.inheritance.inherit(k,ContextHub.Store.JSONPStore);k.prototype.successHandler=function(f){this.setItem("/",f||{})};k.prototype.products=function(f,d){for(var p=this.getTree(),
r=null,v=[],t=0;t<p.length;t++)if(p[t].type===d){r=p[t].list;break}for(t=0;r&&t<r.length&&t<f;t++)v.push(r[t]);return v};ContextHub.Utils.storeCandidates.registerStoreCandidate(k,"commerce.relatedproducts",0)})(ContextHubJQ);ContextHub.console.log(ContextHub.Shared.timestamp(),"[loading] contexthub.store.commerce.smartlists - store.smartlists.js");
(function(l){var w={service:{jsonp:!1,timeout:1E3,ttl:18E5,path:"${variable:ContextHub.Paths.RESOURCE_PATH}.commerce.smartlists.json"}},k=function(f,d){this.config=l.extend(!0,{},w,d);this.init(f,this.config);this.profileLoaded=!1;var p=this;this.queryService(!1);ContextHub.eventing.on(ContextHub.Constants.EVENT_STORE_UPDATED+":profile",function(r,v){r=ContextHub.getStore("profile").getItem("authorizableId");p.profileLoaded?r!=p.lastAuthorizableId&&(p.lastAuthorizableId=r,p.queryService(!0)):(p.profileLoaded=
!0,p.lastAuthorizableId=r)})};ContextHub.Utils.inheritance.inherit(k,ContextHub.Store.JSONPStore);k.prototype.successHandler=function(f){this.setItem("/",f||{})};k.prototype.products=function(f){var d=this.getTree(),p=null,r=[];if(d)if(f)for(var v=0;v<d.length;v++){if(d[v].path===f){p=d[v].entries;break}}else d[0]&&(p=d[0].entries);for(v=0;p&&v<p.length;v++)r.push(p[v]);return r};ContextHub.Utils.storeCandidates.registerStoreCandidate(k,"commerce.smartlists",0)})(ContextHubJQ);
ContextHub.console.log(ContextHub.Shared.timestamp(),"[loading] contexthub.store.campaign.seeddata - store.campaign.seeddata.js");
(function(l,w){var k=!1;w=(new RegExp(/(^[a-zA-Z0-9\/_-]+)*(\.[a-zA-Z]+)?/)).exec(document.location.pathname);var f="";w&&(f=w[1]+"/_jcr_content.campaign.seeddata.json");var d={service:{jsonp:!1,ttl:0,secure:"auto",host:document.location.host,port:80,path:f+"/${contexthub:/store/profile/campaign/seedId}"},persistence:ContextHub.Utils.Persistence({mode:ContextHub.Utils.Persistence.Modes.WINDOW})};w=function(p,r){this.config=l.extend(!0,{},d,r);this.init(p,this.config)};ContextHub.Utils.inheritance.inherit(w,
ContextHub.Store.JSONPStore);l.extend(w.prototype,{successHandler:function(p){p&&this.setItem("/",p);return p},failureHandler:function(p){ContextHub.console.log("Error while getting mcm campaign seeddata information:",p)},queryService:function(p){k&&this.uber("queryService",p)}});ContextHub.Utils.storeCandidates.registerStoreCandidate(w,"campaign.seeddata",0,function(){var p=l("#campaignContextHub").eq(0);if(p=0<p.length&&!!p.attr("data-register"))ContextHub.eventing.on(ContextHub.Constants.EVENT_STORE_UPDATED+
":profile",function(r,v){if(r=ContextHub.getStore("seeddata")){r.setItem("/",{});if(v=ContextHub.getStore("profile"))v=v.getItem("/"),k=!!(v&&v.campaign&&v.campaign.seedId);k&&r.queryService(!1)}});return p})})(ContextHubJQ,window);ContextHub.console.log(ContextHub.Shared.timestamp(),"[loading] contexthub.store.campaign.metadata - store.campaign.metadata.js");
(function(l,w){var k={service:{jsonp:!1,ttl:0,secure:"auto",host:document.location.host,port:80,path:Granite.HTTP.externalize(Granite.HTTP.getPath()+"/_jcr_content.campaign.metadata.json")},persistence:ContextHub.Utils.Persistence({mode:ContextHub.Utils.Persistence.Modes.WINDOW})},f=l("#campaignContextHub");f.length&&(k.service.method=f.data("metadata-method")||"GET",w=f.data("path"))&&(k.service.path=Granite.HTTP.externalize(w+"/_jcr_content.campaign.metadata.json"));w=function(d,p){this.config=
l.extend(!0,{},k,p);this.dataAvailable=!1;this.init(d,this.config);this.setItem("/",{},{silent:!0});this.queryService(!0)};ContextHub.Utils.inheritance.inherit(w,ContextHub.Store.JSONPStore);l.extend(w.prototype,{isOldMetaDataFormat:function(){var d=this.getItem("/_/version");return!!d&&1===d},isDataAvailable:function(){return this.dataAvailable},getMetadataVariable:function(d){function p(r,v){var t=v.indexOf(".");-1==t&&(t=v.length);var D=v.substring(0,t);return r.hasOwnProperty(D)?t==v.length?r[D]:
p(r[D].content,v.substring(t+1)):null}return p(this.getTree(),d)},getFilteredTree:function(d){function p(v){for(var t in v)if(v.hasOwnProperty(t))if(v[t].type&&!d(v[t]))delete v[t];else if(v[t].content){v[t].content=p(v[t].content);var D=!0,E;for(E in v[t].content)if(v[t].content.hasOwnProperty(E)){D=!1;break}D&&delete v[t]}return v}var r=l.extend(!0,{},this.getTree());return p(r)},convertToColumnViewFormat:function(d){function p(r,v){var t=[],D;for(D in r)r.hasOwnProperty(D)&&(t.push(r[D]),r[D].key=
D);t.sort(function(Z,Y){return Z.hasOwnProperty("order")&&Y.hasOwnProperty("order")?Z.order<Y.order?-1:1:Z.hasOwnProperty("order")?1:Z.label.localeCompare(Y.label)});r=[];for(D=0;D<t.length;D++){var E=t[D],K=v+(v?".":"")+E.key,T={_links:{self:{href:K,title:E.label}},properties:{}};E.tag&&(T.value=E.tag);E.type&&(T.type=E.type);if(E.content){T.icon="tags";T.hasChildren=!0;E=p(E.content,K);if(!E.length)continue;T._embedded={items:E}}else T.icon="tag";r.push(T)}return r}return{_links:{self:{href:"foo"}},
_embedded:{items:p(d,"")}}},successHandler:function(d){if(d){this.dataAvailable=!0;var p=d.hasOwnProperty("schema")?1:2;this.setItem("/_/version",p);this.setItem("/",d)}return d},failureHandler:function(d){ContextHub.console.log("Error while getting mcm campaign metadata information:",d)}});ContextHub.Utils.storeCandidates.registerStoreCandidate(w,"campaign.metadata",0,function(){return 0<f.length&&!!f.attr("data-register")})})(ContextHubJQ,window);
ContextHub.console.log(ContextHub.Shared.timestamp(),"[loading] contexthub.store.contexthub.geolocation - store.geolocation-basic.js");
(function(l,w){var k={html5coordinatesDiscoveryAPI:{timeout:3E4,ttl:9E5,highAccuracy:!1},initialValues:{latitude:37.331375,longitude:-121.893992}},f=function(d,p){this.config=l.extend(!0,{},k,p);this.init(d,this.config);l.extend(this.config.html5coordinatesDiscoveryAPI,{location:this.config.initialValues});this.updateLocationModule()};ContextHub.Utils.inheritance.inherit(f,ContextHub.Store.PersistedStore);f.prototype.getCoordinates=function(){var d=l.Deferred();if(!w.navigator.geolocation)return d.reject();
var p=this.config.html5coordinatesDiscoveryAPI;w.navigator.geolocation.getCurrentPosition(d.resolve,d.reject,{maximumAge:p.ttl,timeout:p.timeout,enableHighAccuracy:p.highAccuracy});return d.promise()};f.prototype.loadCurrentLocation=function(){var d=this;l.when(this.getCoordinates()).then(function(p){d.loadLocation(p.coords||{})})};f.prototype.loadLocation=function(d){d=d||{};l.isNumeric(d.latitude)&&l.isNumeric(d.longitude)&&(this.storeLocation(d,{}),this.updateLocationModule())};f.prototype.storeLocation=
function(d,p){d=l.extend(p,d);this.setItem("latitude",parseInt(1E6*d.latitude,10)/1E6);this.setItem("longitude",parseInt(1E6*d.longitude,10)/1E6)};f.prototype.areCoordinatesSet=function(){return l.isNumeric(this.getItem("latitude"))&&l.isNumeric(this.getItem("longitude"))};f.prototype.updateLocationModule=function(){var d=this,p=!0;p&&!this.areCoordinatesSet()&&(p=!1);p||l.when(this.getCoordinates()).then(function(r){d.storeLocation(r.coords||{},d.config.html5coordinatesDiscoveryAPI.location)},function(){d.storeLocation({},
d.config.html5coordinatesDiscoveryAPI.location)})};ContextHub.Utils.storeCandidates.registerStoreCandidate(f,"contexthub.geolocation",10,function(){var d=ContextHub.Utils.JSON.tree.getItem(w.ContextHubKernelConfig||{},"stores/geolocation/config/geocoder")||{enabled:!1};return"geolocation"in w.navigator&&!d.enabled})})(ContextHubJQ,window);ContextHub.console.log(ContextHub.Shared.timestamp(),"[loading] contexthub.store.contexthub.geolocation - store.geolocation.js");
(function(l,w){var k={service:{jsonp:!1,timeout:1E3,ttl:18E5,secure:"https:"===w.location.protocol,host:"maps.googleapis.com",port:80,path:"/maps/api/geocode/json"},geocoder:{enabled:!1},eventDeferring:16,html5coordinatesDiscoveryAPI:{timeout:3E4,ttl:9E5,highAccuracy:!1},signatureGenerator:ContextHub.Paths.CONTEXTHUB_PATH+"/geolocation.signature.json",initialValues:{defaultLocation:{latitude:37.331375,longitude:-121.893992,address:{country:"United States",countryCode:"US",city:"San Jose",street:"Almaden Blvd",
streetNumber:"151",region:"CA",name:"151 Almaden Blvd, San Jose, CA 95113, USA",postalCode:"95113"},addressDetailsOf:{latitude:37.331375,longitude:-121.893992}}}},f=function(r,v){this.config=l.extend(!0,{},k,v);l.extend(this.config.service,{params:{sensor:!1,latlng:"${contexthub:/store/"+r+"/latitude},${contexthub:/store/"+r+"/longitude}"}});this.init(r,this.config);this.useGeocoder=!0===this.config.geocoder.enabled&&"ui"===ContextHub.Constants.MODE;p(this);this.useGeocoder||(this.announceReadiness(),
this.removeItem("/address"));ContextHub.eventing.on("ui-container-opened",function(){this.queryService(!1,!0)}.bind(this),"geocoder-trigger",!0);this.queryService(!1,!0)},d=function(r){r&&r.loadLocation({latitude:r.getItem("latitude"),longitude:r.getItem("longitude")})},p=function(r){var v={latitude:!0,longitude:!0};r.onUpdate("data-synchronization",function(K,T){if(w.ClientContext){var Z=!1;r.synchronizationLock=!0;l.each(T.keys.all.hash,function(Y,V){Y=Y.replace(/^\//,"");-1===Y.indexOf("_/")&&
(ClientContext.set("geolocation/"+Y,V.value),Z=Z||v[Y])});delete r.synchronizationLock;Z&&d(r)}});var t=function(K){K&&K.addListener("update",function(T,Z){r.synchronizationLock||"string"!==typeof Z||(T=this.getProperty(Z),r.setItem(Z,T))})};if(w.CQ_Analytics&&CQ_Analytics.ClientContextMgr){var D=function(){var K=CQ_Analytics.ClientContextMgr.getRegisteredStore("geolocation");if(K){var T={generatedThumbnail:!0};r.synchronizationLock=!0;l.each(r.getKeys(),function(Z,Y){Z=Y.replace(/^\//,"");Y=r.getItem(Y);
"object"!==typeof Y&&(T[Z]=!0,K.setProperty(Z,Y))});l.each(K.getData(),function(Z){T[Z]||K.removeProperty(Z)});delete r.synchronizationLock}return K};if(CQ_Analytics.ClientContextMgr.getRegisteredStore("geolocation")){var E=D();t(E)}else CQ_Analytics.ClientContextMgr.addListener("storeregister",function(K,T){"geolocation"===T.STORENAME&&(K=D(),t(K))})}};ContextHub.Utils.inheritance.inherit(f,ContextHub.Store.PersistedJSONPStore);f.prototype.getCoordinates=function(){var r=l.Deferred();if(!w.navigator.geolocation)return r.reject();
w.navigator.geolocation.getCurrentPosition(r.resolve,r.reject,{maximumAge:this.config.html5coordinatesDiscoveryAPI.ttl,timeout:this.config.html5coordinatesDiscoveryAPI.timeout,enableHighAccuracy:this.config.html5coordinatesDiscoveryAPI.highAccuracy});return r.promise()};f.prototype.generateSignature=function(r,v){if(this.useGeocoder&&ContextHub.UI&&ContextHub.UI.Container.isExpanded()){var t=this.getItem("addressDetailsOf")||{},D=this.getItem("latitude"),E=this.getItem("longitude");if(t.latitude!==
D||t.longitude!==E)if((t=this.config.initialValues.defaultLocation)&&D===t.latitude&&E===t.longitude)this.setItem("address",t.address),this.setItem("addressDetailsOf",t.addressDetailsOf);else{delete this.config.service.params.client;delete this.config.service.params.signature;delete this.config.service.params.channel;D=this.getServiceURL(!0);D=D.replace(/^https?:\/\/[^/]*/,"");var K=this;l.ajax({url:this.config.signatureGenerator,method:"get",dataType:"json",cache:!1,data:{url:D}}).done(function(T,
Z,Y){Y&&Y.responseJSON?(T=K.config.service.params,T.client=Y.responseJSON.client||"",T.channel=Y.responseJSON.channel||"",T.signature=Y.responseJSON.signature||"",r()):"function"===typeof v&&v()}).fail(v)}}};f.prototype.loadCurrentLocation=function(){var r=this;l.when(this.getCoordinates()).then(function(v){r.loadLocation(v.coords||{})})};f.prototype.loadLocation=function(r){r=r||{};(k.initialValues.latitude!==r.latitude||k.initialValues.longitude!==r.longitude)&&l.isNumeric(r.latitude)&&l.isNumeric(r.longitude)&&
(this.storeLocation(r,{}),this.queryService(!1,!0))};f.prototype.successHandler=function(r){if(r&&"OK"===r.status){var v=null,t=null,D=null,E=null,K=null,T=null,Z=null,Y=null;l.each((r.results||[]).reverse(),function(V,ha){ha=ha||{};Y=ha.formatted_address||Y;l.each(ha.address_components||[],function(ra,sa){ra=sa.types||[];-1!==l.inArray("administrative_area_level_1",ra)&&(T=sa.short_name||T);-1!==l.inArray("country",ra)&&(v=sa.long_name||v,t=sa.short_name||t);-1!==l.inArray("locality",ra)&&(D=sa.short_name||
D);-1!==l.inArray("route",ra)&&(E=sa.short_name||E);-1!==l.inArray("street_number",ra)&&(K=sa.short_name||K);-1!==l.inArray("postal_code",ra)&&(Z=sa.short_name||Z)})});this.setItem("address",{country:v||"",countryCode:t||"",city:D||"",street:E||"",streetNumber:K||"",region:T||"",name:Y||"",postalCode:Z||""});this.setItem("addressDetailsOf",{latitude:this.getItem("latitude"),longitude:this.getItem("longitude")})}return r};f.prototype.failureHandler=function(r){ContextHub.console.log("Error while getting geolocation information:",
r)};f.prototype.storeLocation=function(r,v){r=l.extend(v,r);this.setItem("latitude",parseInt(1E6*r.latitude,10)/1E6);this.setItem("longitude",parseInt(1E6*r.longitude,10)/1E6)};f.prototype.areCoordinatesSet=function(){return l.isNumeric(this.getItem("latitude"))&&l.isNumeric(this.getItem("longitude"))};f.prototype.queryService=function(r,v){var t=this;v&&!this.areCoordinatesSet()&&(v=!1);v?this.generateSignature(function(){t.uber("queryService",r)}):l.when(this.getCoordinates()).then(function(D){t.storeLocation(D.coords||
{},t.config.initialValues.defaultLocation);t.generateSignature(function(){t.uber("queryService",r)})},function(D){t.failureHandler(D);t.storeLocation({},t.config.initialValues.defaultLocation);t.generateSignature(function(){t.uber("queryService",r)})})};ContextHub.Utils.storeCandidates.registerStoreCandidate(f,"contexthub.geolocation",30,function(r){var v=null;this.store!==r&&(v=ContextHub.Utils.storeCandidates.getStoreFromCandidates({type:"contexthub.geolocation",required:!0}));return"geolocation"in
w.navigator&&!v})})(ContextHubJQ,window);ContextHub.console.log(ContextHub.Shared.timestamp(),"[loading] cq.contexthub - store.clientcontext-backedstore.js (clientcontext connector)");
(function(l){window.ContextHub.Store=window.ContextHub.Store||{};ContextHub.Store.ClientContextBackedStore=function(){};ContextHub.Utils.inheritance.inherit(ContextHub.Store.ClientContextBackedStore,ContextHub.Store.PersistedJSONPStore);ContextHub.Store.ClientContextBackedStore.defaultConfig={mappingConfig:{propertyMapping:{},mapOtherProperties:!0,replicateToClientContext:!0}};ContextHub.Store.ClientContextBackedStore.prototype.init=function(w,k){this.uber("init",w,k);this.config=l.extend(!0,{},this.config,
ContextHub.Store.ClientContextBackedStore.defaultConfig,k)};ContextHub.Store.ClientContextBackedStore.prototype.successHandler=function(w){var k=this.isEventingPaused(),f=this.config.mappingConfig.clientContextStoreName,d={},p;if(!this.preventSelfUpdating){this.preventSelfUpdating=!0;w=w||function(v,t){return t};this.pauseEventing();this.setItem("/",{});l.each(this.config.mappingConfig.propertyMapping,function(v,t){d[t]=!0;p=ClientContext.get(f+"/"+t);p=w(t,p);this.setItem("/"+v,p)}.bind(this));if(this.config.mappingConfig.mapOtherProperties){var r=
ClientContext.get(f).data||{};l.each(r,function(v,t){d[v]||(t=w(v,t),this.setItem("/"+v,t))}.bind(this))}k||this.resumeEventing();this.preventSelfUpdating=!1}};ContextHub.Store.ClientContextBackedStore.prototype.failureHandler=function(w){};ContextHub.Store.ClientContextBackedStore.prototype.queryService=function(w,k){var f=this.config.mappingConfig.clientContextStoreName,d=this,p=function(){var r=ClientContext.get(f),v=d.isEventingPaused();d.pauseEventing();r?(r.addListener("update",function(){!0!==
d.preventSelfUpdating&&d.successHandler(k)}),d.successHandler(k)):d.failureHandler();v||d.resumeEventing();d.announceReadiness()};ClientContext.get(f)?p():CQ_Analytics.ClientContextMgr.addListener("storeregister",function(r,v){v.STORENAME===f&&p()})};ContextHub.Store.ClientContextBackedStore.prototype.setItem=function(w,k){this.uber("setItem",w,k);if(this.config.mappingConfig.replicateToClientContext&&!0!==this.preventSelfUpdating&&(w=w.replace(/^\//,""),w.length)){var f=this.config.mappingConfig.propertyMapping[w];
!f&&this.config.mappingConfig.mapOtherProperties&&(f=w);f&&ClientContext.set(this.config.mappingConfig.clientContextStoreName+"/"+f,k)}};ContextHub.Store.ClientContextBackedStore.prototype.removeItem=function(w){this.uber("removeItem",w);if(this.config.mappingConfig.replicateToClientContext&&!0!==this.preventSelfUpdating){var k=w.replace(/^\//,"");k.length&&(w=this.config.mappingConfig.propertyMapping[k],!w&&this.config.mappingConfig.mapOtherProperties&&(w=k),w&&(k=CQ_Analytics.StoreRegistry.getStore(this.config.mappingConfig.clientContextStoreName))&&
k.removeProperty(w))}}})(ContextHubJQ);ContextHub.console.log(ContextHub.Shared.timestamp(),"[loading] contexthub.store.contexthub.geolocation - store.clientcontext-geolocation.js (clientcontext connector)");
(function(l){var w={mappingConfig:{clientContextStoreName:"geolocation",propertyMapping:{},mapOtherProperties:!0,replicateToClientContext:!0}},k=function(f,d){this.config=l.extend(!0,{},w,d);this.init(f,this.config);this.queryService(!0)};ContextHub.Utils.inheritance.inherit(k,ContextHub.Store.ClientContextBackedStore);k.prototype.loadLocation=function(f){var d=ClientContext.get(this.config.mappingConfig.clientContextStoreName);d&&(d.setProperties(f),d.fireEvent("update"))};k.prototype.reset=function(){var f=
ClientContext.get(this.config.mappingConfig.clientContextStoreName);f&&f.reset()};ContextHub.Utils.storeCandidates.registerStoreCandidate(k,"contexthub.geolocation",20,function(){return!!window.ClientContext})})(ContextHubJQ);ContextHub.console.log(ContextHub.Shared.timestamp(),"[loading] contexthub.store.contexthub.surferinfo - store.surferinfo.js");
(function(l,w){function k(r,v){this.init(r,v);this.config=l.extend({},this.config,v);this.readData()}var f,d=function(r,v){var t={};t[r]=v;f=l.extend(!0,f,t);return t},p=function(){var r,v="Opera Chromium Chrome Safari Edge Trident MSIE Firefox AppleWebKit".split(" "),t=w.navigator.userAgent;(r=t.match(new RegExp("( |^)("+v.join("|")+")(/| )[0-9.]*","ig")))?(r=l.map(r,function(D){D=l.trim(D).split(/[\/ ]/);return{version:D.pop(),family:D.pop()}}),r=r.sort(function(D,E){return D.family===E.family?
D.version<E.version?-1:1:l.inArray(D.family,v)<l.inArray(E.family,v)?-1:1}),r=r.shift(),"Trident"===r.family&&(r.family="MSIE",r.version={"7.0":"11","6.0":"10","5.0":"9","4.0":"8"}[r.version])):r={version:"Unresolved",family:"Unresolved"};return l.extend(r,{userAgent:t})};ContextHub.Utils.inheritance.inherit(k,ContextHub.Store.PersistedStore);k.prototype.readData=function(){f={};var r=this.getItem("display"),v=w.devicePixelRatio||1;if(!r){r=w.screen.colorDepth;var t={width:w.screen.width*v,height:w.screen.height*
v},D=Math.pow(2,r),E=l("\x3cdiv\x3e").css({width:"1in",visibility:"hidden",position:"absolute",top:0,left:0});E.appendTo(l("body"));var K=E.innerWidth();E.detach();var T=w.orientation;"undefined"===typeof T?(E=w.screen.width>w.screen.height?"landscape":"portrait",T="normal"):-90===T||90===T?(E="landscape",T=90===T?"left":"right"):(E="portrait",T=0===T?"normal":"upside-down");r=d("display",{resolution:t,devicePixelRatio:v,colorDepth:r,nrOfColors:D,pixelsPerInch:K,orientation:{mode:E,direction:T}}).display.resolution}this.getItem("window")||
(v=d("window",{dimension:{width:l(w).innerWidth()*v,height:l(w).innerHeight()*v}}).window.dimension,d("window",{percentageUsage:Math.floor(v.width*v.height/(r.width*r.height)*100)/100}));this.getItem("browser")||d("browser",p());v=null;r=w.navigator.userAgent;K=r.match(/mobile|touch/i);E=r.match(/tablet/i);T=r.match(/iphone/i);var Z=r.match(/ipod/i),Y=r.match(/ipad/i),V=r.match(/htc/i),ha=r.match(RegExp("(BlackBerry)([^/]*)/([0-9.]*)","i")),ra=r.match(/GT-([^ ]*)/),sa=r.match(/ipad|ipod|iphone/i);
t=r.match(/android/i);var Ba=r.match(/windows/i),Za=r.match(/(mobile|tablet);/i)&&r.match(/; rv:/i);D="Desktop";T||Z||t&&K||Ba&&K||ha&&K||Za&&K?D="Mobile":(Y||t&&E||Ba&&E||ha&&E||Za&&E)&&(D="Tablet");if(sa){v="iOS";var Qa=sa.shift();var Oa=(r.match("OS ([0-9_]*)")||[""]).pop().replace(/_/g,".")}!v&&Ba&&(v="windows");!v&&V&&(v="Android",Qa=V.shift(),Oa=(r.match("HTC[_ /]([^ _;-]*)")||[""]).pop());!v&&ha&&4===ha.length&&(v="Blackberry",Qa=ha.slice(1,3).join(" "),Oa=ha.pop());!v&&ra&&(Oa=ra.pop(),v=
"Android",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=(r.match("Android ([0-9.]*)")||[Oa]).pop());!v&&t&&(v="Android",Qa="Unresolved",Oa=(r.match("Android ([0-9.]*)")||[""]).pop());v||(v="Desktop",Qa="PC",Oa="");Qa={category:D,type:v,model:Qa,version:Oa};this.getItem("device")||d("device",Qa);this.getItem("isMobile")||d("isMobile","desktop"!==Qa.type);if(!this.getItem("os")){Qa=
null;Oa=w.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(/iPod|iPad|iPhone/)?"iOS ":"")+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(/Android/)&&(Qa="Android",Wa=(Oa.match("Android ([0-9.]*)")||[""]).pop());d("os",{name:Qa||"Unresolved",version:Wa||"Unresolved"})}Wa=new Date;f.year=Wa.getFullYear();f.month=Wa.getMonth()+1;f.day=Wa.getDate();f.hour=Wa.getHours();f.minutes=Wa.getMinutes();this.addAllItems(f,{defer:0})};k.prototype.reset=function(r){this.uber("reset",r);this.readData()};ContextHub.Utils.storeCandidates.registerStoreCandidate(k,"contexthub.surferinfo",
0)})(ContextHubJQ,this);ContextHub.console.log(ContextHub.Shared.timestamp(),"[loading] contexthub.store.granite.profile - store.profile.js");
(function(l){var w={service:{jsonp:!1,timeout:1E3,path:"${contexthub:/store/profile/path}.infinity.json"},initialValues:{path:ContextHub.Constants.ANONYMOUS_HOME||"/home/users/a/anonymous"}},k=function(d){d=(new Date(d)).getTime();return~~((Date.now()-d)/315576E5)},f=function(d,p){this.config=l.extend(!0,{},w,p);this.init(d,this.config);this.onUpdate("age-update",function(r,v){var t=v.keys.set.hash["/birthday"];if(t){var D=this;window.setTimeout(function(){D.setItem("age",k(t.value))},50)}});this.queryService(!1)};
ContextHub.Utils.inheritance.inherit(f,ContextHub.Store.PersistedJSONPStore);f.prototype.successHandler=function(d){this.pauseEventing();var p=this.getItem("path");p&&(p=Granite.HTTP.externalize(p));var r=l.extend(!0,{},d.profile),v=!!ContextHub.Utils.JSON.tree.getItem(r,"/photos/primary/image"),t=/\/(jcr|sling|):/;l.each(ContextHub.Utils.JSON.tree.getKeys(r),function(D,E){E.match(t)&&(r=ContextHub.Utils.JSON.tree.removeItem(r,E))});r=ContextHub.Utils.JSON.tree.setItem(r,"path",p);v&&(r=ContextHub.Utils.JSON.tree.setItem(r,
"avatar",p+"/profile/photos/primary/image"));r.birthday&&(r=ContextHub.Utils.JSON.tree.setItem(r,"age",k(r.birthday)));r.authorizableId=r.authorizableId||d["rep:authorizableId"];d="anonymous";r.givenName&&r.familyName?d=parent.Granite.I18n.get("{0} {1}",[r.givenName,r.familyName],"name display order: {0} is the given (first) name, {1} the family (last) name"):r.givenName?d=r.givenName:r.familyName?d=r.familyName:r.authorizableId&&(d=r.authorizableId);r=ContextHub.Utils.JSON.tree.setItem(r,"displayName",
d);this.setItem("/",r);d="anonymous"===r.displayName?"anonymous":r.authorizableId;ContextHub.Shared.CookieContainer.setItem("SessionPersistence","PROFILEDATA",d?"authorizableId\x3d"+d:null);this.resumeEventing()};f.prototype.loadProfile=function(d){var p=ContextHub.getStore("profile");p.setItem("path",d?Granite.HTTP.externalize(d):d);p.queryService(!0)};ContextHub.Utils.storeCandidates.registerStoreCandidate(f,"granite.profile",0)})(ContextHubJQ);
ContextHub.console.log(ContextHub.Shared.timestamp(),"[loading] contexthub.store.granite.profile - store.clientcontext-profile.js (clientcontext connector)");
(function(l){var w={mappingConfig:{clientContextStoreName:"profile",propertyMapping:{displayName:"formattedName",path:"path",avatar:"avatar"},mapOtherProperties:!0,replicateToClientContext:!0}},k=function(d,p){"path"===d&&"string"===typeof p&&(p=p.replace(/\/profile$/,""));return p},f=function(d,p){this.config=l.extend({},!0,w,p);this.init(d,this.config);this.queryService(!0,k)};ContextHub.Utils.inheritance.inherit(f,ContextHub.Store.ClientContextBackedStore);f.prototype.loadProfile=function(d){d=
(d||"").split("/").pop();d.length&&ClientContext.get(this.config.mappingConfig.clientContextStoreName).loadProfile(d)};f.prototype.reset=function(){var d=ClientContext.get(this.config.mappingConfig.clientContextStoreName);d&&d.reset()};ContextHub.Utils.storeCandidates.registerStoreCandidate(f,"granite.profile",10,function(){return!!window.ClientContext})})(ContextHubJQ);
(function(l,w){l.Granite=l.Granite||{};l.Granite.author=l.Granite.author||{};var k=function(f){this.document=f;this._getRules()};k.getNativeDevice=function(){var f=l.innerWidth||document.documentElement.clientWidth,d=l.innerHeight||document.documentElement.clientHeight,p=l.screen.width,r=l.screen.height;var v=document.body;var t=document.createElement("div");v.appendChild(t);t.style.width="1in";var D=document.defaultView.getComputedStyle(t,null).getPropertyValue("width");v.removeChild(t);v=parseFloat(D);
f={type:"screen",width:f,height:d,"device-width":p,"device-height":r,"device-pixel-ratio":1,resolution:v,scan:"progressive",grid:!1,color:l.screen.colorDepth,"color-index":l.screen.pixelDepth,monochrome:0};f["aspect-ratio"]=f.width/f.height;f.orientation=f.width>f.height?"landscape":"portrait";f["device-aspect-ratio"]=f["device-width"]/f["device-height"];return f};k.prototype={};Object.defineProperty(k.prototype,"appliedStyleSheet",{get:function(){for(var f=!0,d=this._appliedStyleSheet;d&&(d=d.parentNode);)if(d===
this.document){f=!1;break}if(!this._appliedStyleSheet||f)f=this.document,d=f.createElement("style"),d.appendChild(f.createTextNode("")),f.head.appendChild(d),this._appliedStyleSheet=d;return this._appliedStyleSheet}});k.prototype._getRules=function(){var f=[],d=k.parser.getMediaRules(this.document),p,r;for(p=0;p<d.length;p++){var v=[];var t=k.parser.parseMediaRule(d[p].media.mediaText);for(r=0;r<d[p].cssRules.length;r++)v.push(d[p].cssRules[r].cssText);f.push({mediaText:d[p].media.mediaText,cssRules:v,
parsed:t,mediaRule:d[p]})}this.rules=f};k.prototype.removeMediaRules=function(){for(var f=0;f<this.rules.length;f++)for(;this.rules[f].mediaRule.cssRules[0];)this.rules[f].mediaRule.deleteRule(0)};k.prototype.clear=function(){document.head.removeChild(this.appliedStyleSheet);this.appliedStyleSheet=null};k.prototype.restore=function(){var f,d;document.head.removeChild(this.appliedStyleSheet);this.appliedStyleSheet=null;for(f=0;f<this.rules.length;f++)try{var p=this.rules[f];for(d=0;d<p.cssRules.length;d++)p.mediaRule.insertRule(p.cssRules[d],
p.mediaRule.cssRules.length)}catch(r){}};k.prototype.applyDevice=function(f){var d,p;this.clear();this.removeMediaRules();this.appliedStyleSheet.sheet.insertRule("html, body { width: "+f.width+"px; }",0);for(d=0;d<this.rules.length;d++)try{var r=this.rules[d];if(k.parser.matchDevice(r.parsed,f))for(p=0;p<r.cssRules.length;p++)this.appliedStyleSheet.sheet.insertRule(r.cssRules[p],this.appliedStyleSheet.sheet.cssRules.length)}catch(v){}};k.prototype.prepareDevice=function(f){var d={type:f.type||"screen",
"device-pixel-ratio":f["device-pixel-ratio"]||1,resolution:f.resolution||96,scan:f.scan||"progressive",grid:!!f.grid,color:f.color||8,"color-index":f["color-index"]||0,monochrome:f.monochrome||0};d.width=Math.floor(f.width/d["device-pixel-ratio"]);d.height=Math.floor(f.height/d["device-pixel-ratio"]);d["device-width"]=f["device-width"]||d.width;d["device-height"]=f["device-height"]||d.height;d["aspect-ratio"]=f["aspect-ratio"]||f.width/f.height;d.orientation=f.orientation||(f.width>f.height?"landscape":
"portrait");d["device-aspect-ratio"]=f["device-aspect-ratio"]||f["device-width"]/f["device-height"];return d};l.Granite.author.MediaEmulator=k})(this);
(function(l,w){function k(E){var K=Number(E);K||(E=E.match(/^(\d+)\s*\/\s*(\d+)$/),K=E[1]/E[2]);return K}function f(E){var K=parseFloat(E);switch(String(E).match(D)[1]){case "dpcm":return K/2.54;case "dppx":return 96*K;default:return K}}function d(E){var K=parseFloat(E);switch(String(E).match(t)[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 p=/^(?:(only|not)?\s*([_a-z][_a-z0-9-]*)|(\([^\)]+\)))(?:\s*and\s*(.*))?$/i,
r=/^\(\s*([_a-z-][_a-z0-9-]*)\s*(?::\s*([^\)]+))?\s*\)$/,v=/^(?:(min|max)-)?(.+)/,t=/(em|rem|px|cm|mm|in|pt|pc)?\s*$/,D=/(dpi|dpcm|dppx)?\s*$/;Granite.author.MediaEmulator.parser={getMediaRules:function(E){E=E.styleSheets;var K=[];for(var T=0;T<E.length;T++)try{var Z=E[T];var Y=Z.cssRules;for(var V=0;V<(Y?Y.length:0);V++){var ha=Y[V];ha.type===CSSRule.MEDIA_RULE&&K.push(ha)}}catch(ra){}return K},parseMediaRule:function(E){return E.split(",").map(function(K){K=K.trim().match(p);var T=((K[3]||"")+(K[4]||
"")).trim().match(/\([^\)]+\)/g),Z={};Z.not=!!K[1]&&"not"===K[1].toLowerCase();Z.type=K[2]?K[2].toLowerCase():"all";Z.expressions=T?T.map(function(Y){Y=Y.match(r);var V=Y[1].toLowerCase().match(v);return{modifier:V[1],feature:V[2],value:Y[2]}}):[];return Z})},matchDevice:function(E,K){for(var T,Z,Y=0;Y<E.length;Y++)if(T=E[Y],Z="all"===T.type||K.type===T.type,!(Z&&T.not||!Z&&!T.not)&&((Z=T.expressions.every(function(V){var ha=V.feature,ra=V.modifier;V=V.value;var sa=K[ha];if(!sa)return!1;switch(ha){case "orientation":case "scan":return sa.toLowerCase()===
V.toLowerCase();case "width":case "height":case "device-width":case "device-height":V=d(V);sa=d(sa);break;case "resolution":V=f(V);sa=f(sa);break;case "aspect-ratio":case "device-aspect-ratio":case "device-pixel-ratio":V=k(V);sa=k(sa);break;case "grid":case "color":case "color-index":case "monochrome":V=parseInt(V,10)||1,sa=parseInt(sa,10)||0}switch(ra){case "min":return sa>=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(l){var w={defaultEmulators:[{id:"ipad",title:"iPad",type:"tablet",platform:"iOS",platformVersion:"5.1.1",width:768,height:1024,canRotate:!0,orientation:"Portrait","device-pixel-ratio":1},{id:"ipad-2",title:"iPad 2",type:"tablet",platform:"iOS",platformVersion:"8.1.3",width:768,height:1024,canRotate:!0,orientation:"Portrait","device-pixel-ratio":1},{id:"ipad-3",title:"iPad 3 / 4 / Air",type:"tablet",platform:"iOS",platformVersion:"8.1.3",width:1536,height:2048,canRotate:!0,orientation:"Portrait",
"device-pixel-ratio":2},{id:"iphone-4",title:"iPhone 4",type:"mobile",platform:"iOS",platformVersion:"7.1.2",width:640,height:960,canRotate:!0,orientation:"Portrait","device-pixel-ratio":2},{id:"iphone-5",title:"iPhone 5",type:"mobile",platform:"iOS",platformVersion:"8.1.3",width:640,height:1136,canRotate:!0,orientation:"Portrait","device-pixel-ratio":2},{id:"iphone-6",title:"iPhone 6",type:"mobile",platform:"iOS",platformVersion:"8.1.3",width:750,height:1334,canRotate:!0,orientation:"Portrait","device-pixel-ratio":2},
{id:"iphone-6-plus",title:"iPhone 6 Plus",type:"mobile",platform:"iOS",platformVersion:"8.1.3",width:1080,height:1920,canRotate:!0,orientation:"Portrait","device-pixel-ratio":3},{id:"galaxy-s4",title:"Samsung Galaxy S4",type:"mobile",platform:"Android",platformVersion:"4.4.2 KitKat",width:1080,height:1920,canRotate:!0,orientation:"Portrait","device-pixel-ratio":3}]},k=function(f,d){this.config=l.extend(!0,{},w,d);d=this.getSupportedEmulators();l.extend(!0,this.config,{initialValues:{devices:d,currentDeviceId:d[0].id,
orientations:[{id:"landscape",title:"Landscape"},{id:"portrait",title:"Portrait"}]}});this.init(f,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(k,ContextHub.Store.PersistedStore);k.prototype.detectNativeDevice=function(){var f=window.innerWidth||document.documentElement.clientWidth,
d=window.innerHeight||document.documentElement.clientHeight,p=f>d?"Landscape":"Portrait",r=ContextHub.get("surferinfo/os/name")||"",v=ContextHub.get("surferinfo/os/version")||"";return{id:"native",title:"Native",type:"screen",width:f,height:d,orientation:p,platform:r,platformVersion:v,canRotate:!/mac os x|windows/i.test(r)}};k.prototype.getSupportedEmulators=function(){return l.merge([this.detectNativeDevice()],this.config.defaultEmulators)};k.prototype.emulateDevice=function(f){var d=f?this.getDeviceById(f):
ContextHub.get("emulators/currentDevice");d&&this.mediaEmulator&&(this.setItem("currentDeviceId",d.id),this.setItem("currentDevice",d),"native"===f?this.mediaEmulator.restore():this.mediaEmulator.applyDevice(d),this.eventing.trigger("emulating-device:"+d.id,{device:d}));return d};k.prototype.getDeviceById=function(f){var d=null,p=this.getItem("devices")||[];l.each(p,function(r,v){v.id===f&&(d=v);return null===d});return d};k.prototype.reset=function(){this.uber("reset");var f=this.getItem("currentDeviceId");
this.emulateDevice(f)};ContextHub.Utils.storeCandidates.registerStoreCandidate(k,"granite.emulators",0)})(ContextHubJQ);ContextHub.console.log(ContextHub.Shared.timestamp(),"[loading] contexthub.finalize - ContextHub.store-initialization.js");
(function(l,w){var k=ContextHub;w=w.ContextHubKernelConfig||{};var f=k.Shared.timers.start();k.console.log(k.Shared.timestamp(),"[+] starting registration and initialization of the stores");l.each(w.stores||{},function(d,p){var r=k.Utils.storeCandidates.getStoreFromCandidates(p);if(r)try{var v=k.Shared.timers.start(),t=k.Shared.timestamp();k.registerStore(d,new r(d,p.config));k.console.log(t,'[+] initializing "'+d+'" store ('+k.Shared.timers.finish(v)+"ms)")}catch(D){k.console.error('Store "'+p.type+
'" (',r,") could not be initialized:",D)}});k.console.log(k.Shared.timestamp(),"[+] all stores initialized ("+k.Shared.timers.finish(f)+"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 l=ContextHub.UIFrame&&ContextHub.UIFrame[0].contentWindow;l&&l.ContextHubJQ&&(l.ContextHubJQ("*").off(),l.ContextHubJQ("html").remove());l&&(delete l.$,delete l.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 l=ContextHub.UIFrame&&ContextHub.UIFrame[0];l&&(l.contentWindow.onbeforeunload=unloadEverything)},"unload-handler",!0);ContextHub.console.timeStamp("contexthub.stop");ContextHub.console.timeEnd("contexthub.js");