/* Copyright 2008-10 Google Inc. All Rights Reserved. */ (function(){var f,l=this,aa=function(){},ba=function(a){a.aa=function(){return a.Eb?a.Eb:a.Eb=new a}},ca=function(a){var b=typeof a;if("object"==b)if(a){if(a instanceof Array)return"array";if(a instanceof Object)return b;var c=Object.prototype.toString.call(a);if("[object Window]"==c)return"object";if("[object Array]"==c||"number"==typeof a.length&&"undefined"!=typeof a.splice&&"undefined"!=typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable("splice"))return"array";if("[object Function]"==c||"undefined"!=
typeof a.call&&"undefined"!=typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable("call"))return"function"}else return"null";else if("function"==b&&"undefined"==typeof a.call)return"object";return b},da=function(a){return"array"==ca(a)},ea=function(a){var b=ca(a);return"array"==b||"object"==b&&"number"==typeof a.length},m=function(a){return"string"==typeof a},n=function(a){return"function"==ca(a)},fa=function(a){var b=typeof a;return"object"==b&&null!=a||"function"==b},ja=function(a){return a[ga]||
(a[ga]=++ha)},ga="closure_uid_"+(1E9*Math.random()>>>0),ha=0,ka=function(a,b){var c=Array.prototype.slice.call(arguments,1);return function(){var b=c.slice();b.push.apply(b,arguments);return a.apply(this,b)}},la=function(a,b){var c=a.split("."),d=l;c[0]in d||!d.execScript||d.execScript("var "+c[0]);for(var e;c.length&&(e=c.shift());)c.length||void 0===b?d=d[e]?d[e]:d[e]={}:d[e]=b},p=function(a,b){function c(){}c.prototype=b.prototype;a.f=b.prototype;a.prototype=new c;a.prototype.constructor=a};var ma=function(a){Error.captureStackTrace?Error.captureStackTrace(this,ma):this.stack=Error().stack||"";a&&(this.message=String(a))};p(ma,Error);ma.prototype.name="CustomError";var na;var oa=function(a,b){for(var c=a.split("%s"),d="",e=Array.prototype.slice.call(arguments,1);e.length&&1<c.length;)d+=c.shift()+e.shift();return d+c.join("%s")},pa=function(a){return a.replace(/^[\s\xa0]+|[\s\xa0]+$/g,"")},va=function(a){if(!qa.test(a))return a;-1!=a.indexOf("&")&&(a=a.replace(ra,"&amp;"));-1!=a.indexOf("<")&&(a=a.replace(sa,"&lt;"));-1!=a.indexOf(">")&&(a=a.replace(ta,"&gt;"));-1!=a.indexOf('"')&&(a=a.replace(ua,"&quot;"));return a},ra=/&/g,sa=/</g,ta=/>/g,ua=/\"/g,qa=/[&<>\"]/;var wa=function(a,b){b.unshift(a);ma.call(this,oa.apply(null,b));b.shift()};p(wa,ma);wa.prototype.name="AssertionError";var xa=function(a,b,c){var d="Assertion failed";if(b)var d=d+(": "+b),e=c;else a&&(d+=": "+a,e=null);throw new wa(""+d,e||[]);},r=function(a,b,c){a||xa("",b,Array.prototype.slice.call(arguments,2))},ya=function(a,b,c,d){a instanceof b||xa("instanceof check failed.",c,Array.prototype.slice.call(arguments,3))};var s=Array.prototype,za=s.indexOf?function(a,b,c){r(null!=a.length);return s.indexOf.call(a,b,c)}:function(a,b,c){c=null==c?0:0>c?Math.max(0,a.length+c):c;if(m(a))return m(b)&&1==b.length?a.indexOf(b,c):-1;for(;c<a.length;c++)if(c in a&&a[c]===b)return c;return-1},Aa=s.forEach?function(a,b,c){r(null!=a.length);s.forEach.call(a,b,c)}:function(a,b,c){for(var d=a.length,e=m(a)?a.split(""):a,g=0;g<d;g++)g in e&&b.call(c,e[g],g,a)},Ba=s.filter?function(a,b,c){r(null!=a.length);return s.filter.call(a,
b,c)}:function(a,b,c){for(var d=a.length,e=[],g=0,h=m(a)?a.split(""):a,k=0;k<d;k++)if(k in h){var q=h[k];b.call(c,q,k,a)&&(e[g++]=q)}return e},Ca=s.every?function(a,b,c){r(null!=a.length);return s.every.call(a,b,c)}:function(a,b,c){for(var d=a.length,e=m(a)?a.split(""):a,g=0;g<d;g++)if(g in e&&!b.call(c,e[g],g,a))return!1;return!0},t=function(a,b){return 0<=za(a,b)},Da=function(a,b){var c=za(a,b),d;if(d=0<=c)r(null!=a.length),s.splice.call(a,c,1);return d},Ea=function(a){var b=a.length;if(0<b){for(var c=
Array(b),d=0;d<b;d++)c[d]=a[d];return c}return[]},Ga=function(a,b,c,d){r(null!=a.length);s.splice.apply(a,Fa(arguments,1))},Fa=function(a,b,c){r(null!=a.length);return 2>=arguments.length?s.slice.call(a,b):s.slice.call(a,b,c)};var Ha=function(a,b){for(var c in a)b.call(void 0,a[c],c,a)},Ia=function(a,b){for(var c in a)if(a[c]==b)return!0;return!1},Ja=function(a,b,c){if(b in a)throw Error('The object already contains the key "'+b+'"');a[b]=c},Ka=function(a){var b={},c;for(c in a)b[a[c]]=c;return b},La="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" "),Ma=function(a,b){for(var c,d,e=1;e<arguments.length;e++){d=arguments[e];for(c in d)a[c]=d[c];for(var g=0;g<La.length;g++)c=
La[g],Object.prototype.hasOwnProperty.call(d,c)&&(a[c]=d[c])}};var u,Na,Oa,Pa,Qa=function(){return l.navigator?l.navigator.userAgent:null};Pa=Oa=Na=u=!1;var Ra;if(Ra=Qa()){var Sa=l.navigator;u=0==Ra.lastIndexOf("Opera",0);Na=!u&&(-1!=Ra.indexOf("MSIE")||-1!=Ra.indexOf("Trident"));Oa=!u&&-1!=Ra.indexOf("WebKit");Pa=!u&&!Oa&&!Na&&"Gecko"==Sa.product}var Ta=u,v=Na,w=Pa,x=Oa,Ua=l.navigator,y=-1!=(Ua&&Ua.platform||"").indexOf("Mac"),Va=function(){var a=l.document;return a?a.documentMode:void 0},Wa;
t:{var Xa="",Ya;if(Ta&&l.opera)var Za=l.opera.version,Xa="function"==typeof Za?Za():Za;else if(w?Ya=/rv\:([^\);]+)(\)|;)/:v?Ya=/\b(?:MSIE|rv)[: ]([^\);]+)(\)|;)/:x&&(Ya=/WebKit\/(\S+)/),Ya)var $a=Ya.exec(Qa()),Xa=$a?$a[1]:"";if(v){var ab=Va();if(ab>parseFloat(Xa)){Wa=String(ab);break t}}Wa=Xa}
var bb=Wa,cb={},z=function(a){var b;if(!(b=cb[a])){b=0;for(var c=pa(String(bb)).split("."),d=pa(String(a)).split("."),e=Math.max(c.length,d.length),g=0;0==b&&g<e;g++){var h=c[g]||"",k=d[g]||"",q=RegExp("(\\d*)(\\D*)","g"),ia=RegExp("(\\d*)(\\D*)","g");do{var A=q.exec(h)||["","",""],J=ia.exec(k)||["","",""];if(0==A[0].length&&0==J[0].length)break;b=((0==A[1].length?0:parseInt(A[1],10))<(0==J[1].length?0:parseInt(J[1],10))?-1:(0==A[1].length?0:parseInt(A[1],10))>(0==J[1].length?0:parseInt(J[1],10))?
1:0)||((0==A[2].length)<(0==J[2].length)?-1:(0==A[2].length)>(0==J[2].length)?1:0)||(A[2]<J[2]?-1:A[2]>J[2]?1:0)}while(0==b)}b=cb[a]=0<=b}return b},db=l.document,eb=db&&v?Va()||("CSS1Compat"==db.compatMode?parseInt(bb,10):5):void 0;var fb=!v||v&&9<=eb;!w&&!v||v&&v&&9<=eb||w&&z("1.9.1");var gb=v&&!z("9");var hb=function(a){a=a.className;return m(a)&&a.match(/\S+/g)||[]},ib=function(a,b){for(var c=hb(a),d=Fa(arguments,1),e=c.length+d.length,g=c,h=0;h<d.length;h++)t(g,d[h])||g.push(d[h]);a.className=c.join(" ");return c.length==e},kb=function(a,b){var c=hb(a),d=Fa(arguments,1),e=jb(c,d);a.className=e.join(" ");return e.length==c.length-d.length},jb=function(a,b){return Ba(a,function(a){return!t(b,a)})};var nb=function(a){return a?new lb(mb(a)):na||(na=new lb)},ob=function(a,b){return m(b)?a.getElementById(b):b},pb=function(a,b,c){var d=document;c=c||d;a=a&&"*"!=a?a.toUpperCase():"";if(c.querySelectorAll&&c.querySelector&&(a||b))return c.querySelectorAll(a+(b?"."+b:""));if(b&&c.getElementsByClassName){c=c.getElementsByClassName(b);if(a){for(var d={},e=0,g=0,h;h=c[g];g++)a==h.nodeName&&(d[e++]=h);d.length=e;return d}return c}c=c.getElementsByTagName(a||"*");if(b){d={};for(g=e=0;h=c[g];g++)a=h.className,
"function"==typeof a.split&&t(a.split(/\s+/),b)&&(d[e++]=h);d.length=e;return d}return c},rb=function(a,b){Ha(b,function(b,d){"style"==d?a.style.cssText=b:"class"==d?a.className=b:"for"==d?a.htmlFor=b:d in qb?a.setAttribute(qb[d],b):0==d.lastIndexOf("aria-",0)||0==d.lastIndexOf("data-",0)?a.setAttribute(d,b):a[d]=b})},qb={cellpadding:"cellPadding",cellspacing:"cellSpacing",colspan:"colSpan",frameborder:"frameBorder",height:"height",maxlength:"maxLength",role:"role",rowspan:"rowSpan",type:"type",usemap:"useMap",
valign:"vAlign",width:"width"},tb=function(a,b,c){return sb(document,arguments)},sb=function(a,b){var c=b[0],d=b[1];if(!fb&&d&&(d.name||d.type)){c=["<",c];d.name&&c.push(' name="',va(d.name),'"');if(d.type){c.push(' type="',va(d.type),'"');var e={};Ma(e,d);delete e.type;d=e}c.push(">");c=c.join("")}c=a.createElement(c);d&&(m(d)?c.className=d:da(d)?ib.apply(null,[c].concat(d)):rb(c,d));2<b.length&&ub(a,c,b);return c},ub=function(a,b,c){function d(c){c&&b.appendChild(m(c)?a.createTextNode(c):c)}for(var e=
2;e<c.length;e++){var g=c[e];if(!ea(g)||fa(g)&&0<g.nodeType)d(g);else{var h;t:{if(g&&"number"==typeof g.length){if(fa(g)){h="function"==typeof g.item||"string"==typeof g.item;break t}if(n(g)){h="function"==typeof g.item;break t}}h=!1}Aa(h?Ea(g):g,d)}}},vb=function(a,b){if(a.contains&&1==b.nodeType)return a==b||a.contains(b);if("undefined"!=typeof a.compareDocumentPosition)return a==b||Boolean(a.compareDocumentPosition(b)&16);for(;b&&a!=b;)b=b.parentNode;return b==a},mb=function(a){return 9==a.nodeType?
a:a.ownerDocument||a.document},wb=function(a,b){r(null!=a,"goog.dom.setTextContent expects a non-null value for node");if("textContent"in a)a.textContent=b;else if(3==a.nodeType)a.data=b;else if(a.firstChild&&3==a.firstChild.nodeType){for(;a.lastChild!=a.firstChild;)a.removeChild(a.lastChild);a.firstChild.data=b}else{for(var c;c=a.firstChild;)a.removeChild(c);a.appendChild(mb(a).createTextNode(String(b)))}},xb={SCRIPT:1,STYLE:1,HEAD:1,IFRAME:1,OBJECT:1},yb={IMG:" ",BR:"\n"},zb=function(a){a=a.getAttributeNode("tabindex");
return null!=a&&a.specified},Ab=function(a){a=a.tabIndex;return"number"==typeof a&&0<=a&&32768>a},Bb=function(a,b,c){if(!(a.nodeName in xb))if(3==a.nodeType)c?b.push(String(a.nodeValue).replace(/(\r\n|\r|\n)/g,"")):b.push(a.nodeValue);else if(a.nodeName in yb)b.push(yb[a.nodeName]);else for(a=a.firstChild;a;)Bb(a,b,c),a=a.nextSibling},lb=function(a){this.F=a||l.document||document};f=lb.prototype;f.kb=nb;f.a=function(a){return ob(this.F,a)};f.r=function(a,b,c){return sb(this.F,arguments)};
f.createElement=function(a){return this.F.createElement(a)};f.createTextNode=function(a){return this.F.createTextNode(String(a))};f.appendChild=function(a,b){a.appendChild(b)};f.contains=vb;f.J=function(a){var b;(b="A"==a.tagName||"INPUT"==a.tagName||"TEXTAREA"==a.tagName||"SELECT"==a.tagName||"BUTTON"==a.tagName?!a.disabled&&(!zb(a)||Ab(a)):zb(a)&&Ab(a))&&v?(a=n(a.getBoundingClientRect)?a.getBoundingClientRect():{height:a.offsetHeight,width:a.offsetWidth},a=null!=a&&0<a.height&&0<a.width):a=b;return a};var Cb=function(a){Cb[" "](a);return a};Cb[" "]=aa;var Db=!v||v&&9<=eb,Eb=!v||v&&9<=eb,Fb=v&&!z("9");!x||z("528");w&&z("1.9b")||v&&z("8")||Ta&&z("9.5")||x&&z("528");w&&!z("8")||v&&z("9");var Gb=function(){};Gb.prototype.Sb=!1;var B=function(a,b){this.type=a;this.currentTarget=this.target=b};f=B.prototype;f.S=!1;f.defaultPrevented=!1;f.xb=!0;f.stopPropagation=function(){this.S=!0};f.preventDefault=function(){this.defaultPrevented=!0;this.xb=!1};var C=function(a,b){a&&Hb(this,a,b)};p(C,B);var Ib=[1,4,2];f=C.prototype;f.target=null;f.relatedTarget=null;f.offsetX=0;f.offsetY=0;f.clientX=0;f.clientY=0;f.screenX=0;f.screenY=0;f.button=0;f.keyCode=0;f.charCode=0;f.ctrlKey=!1;f.altKey=!1;f.shiftKey=!1;f.metaKey=!1;f.bb=!1;f.Q=null;
var Hb=function(a,b,c){var d=a.type=b.type;B.call(a,d);a.target=b.target||b.srcElement;a.currentTarget=c;if(c=b.relatedTarget){if(w){var e;t:{try{Cb(c.nodeName);e=!0;break t}catch(g){}e=!1}e||(c=null)}}else"mouseover"==d?c=b.fromElement:"mouseout"==d&&(c=b.toElement);a.relatedTarget=c;a.offsetX=x||void 0!==b.offsetX?b.offsetX:b.layerX;a.offsetY=x||void 0!==b.offsetY?b.offsetY:b.layerY;a.clientX=void 0!==b.clientX?b.clientX:b.pageX;a.clientY=void 0!==b.clientY?b.clientY:b.pageY;a.screenX=b.screenX||
0;a.screenY=b.screenY||0;a.button=b.button;a.keyCode=b.keyCode||0;a.charCode=b.charCode||("keypress"==d?b.keyCode:0);a.ctrlKey=b.ctrlKey;a.altKey=b.altKey;a.shiftKey=b.shiftKey;a.metaKey=b.metaKey;a.bb=y?b.metaKey:b.ctrlKey;a.state=b.state;a.Q=b;b.defaultPrevented&&a.preventDefault();delete a.S},Jb=function(a){return Db?0==a.Q.button:"click"==a.type?!0:!!(a.Q.button&Ib[0])};
C.prototype.stopPropagation=function(){C.f.stopPropagation.call(this);this.Q.stopPropagation?this.Q.stopPropagation():this.Q.cancelBubble=!0};C.prototype.preventDefault=function(){C.f.preventDefault.call(this);var a=this.Q;if(a.preventDefault)a.preventDefault();else if(a.returnValue=!1,Fb)try{if(a.ctrlKey||112<=a.keyCode&&123>=a.keyCode)a.keyCode=-1}catch(b){}};var Kb="closure_listenable_"+(1E6*Math.random()|0),Lb=function(a){try{return!(!a||!a[Kb])}catch(b){return!1}},Mb=0;var Nb=function(a,b,c,d,e){this.$=a;this.Da=null;this.src=b;this.type=c;this.capture=!!d;this.Ia=e;this.key=++Mb;this.ha=this.Ga=!1},Ob=function(a){a.ha=!0;a.$=null;a.Da=null;a.src=null;a.Ia=null};var D=function(a){this.src=a;this.p={};this.va=0};D.prototype.add=function(a,b,c,d,e){var g=this.p[a];g||(g=this.p[a]=[],this.va++);var h=Pb(g,b,d,e);-1<h?(a=g[h],c||(a.Ga=!1)):(a=new Nb(b,this.src,a,!!d,e),a.Ga=c,g.push(a));return a};D.prototype.remove=function(a,b,c,d){if(!(a in this.p))return!1;var e=this.p[a];b=Pb(e,b,c,d);return-1<b?(Ob(e[b]),r(null!=e.length),s.splice.call(e,b,1),0==e.length&&(delete this.p[a],this.va--),!0):!1};
var Qb=function(a,b){var c=b.type;if(!(c in a.p))return!1;var d=Da(a.p[c],b);d&&(Ob(b),0==a.p[c].length&&(delete a.p[c],a.va--));return d};D.prototype.$a=function(a){var b=0,c;for(c in this.p)if(!a||c==a){for(var d=this.p[c],e=0;e<d.length;e++)++b,Ob(d[e]);delete this.p[c];this.va--}return b};D.prototype.wa=function(a,b,c,d){a=this.p[a];var e=-1;a&&(e=Pb(a,b,c,d));return-1<e?a[e]:null};var Pb=function(a,b,c,d){for(var e=0;e<a.length;++e){var g=a[e];if(!g.ha&&g.$==b&&g.capture==!!c&&g.Ia==d)return e}return-1};var Rb="closure_lm_"+(1E6*Math.random()|0),E={},Sb=0,F=function(a,b,c,d,e){if(da(b)){for(var g=0;g<b.length;g++)F(a,b[g],c,d,e);return null}c=Tb(c);if(Lb(a))a=a.d(b,c,d,e);else{if(!b)throw Error("Invalid event type");var g=!!d,h=Ub(a);h||(a[Rb]=h=new D(a));c=h.add(b,c,!1,d,e);c.Da||(d=Vb(),c.Da=d,d.src=a,d.$=c,a.addEventListener?a.addEventListener(b,d,g):a.attachEvent(b in E?E[b]:E[b]="on"+b,d),Sb++);a=c}return a},Vb=function(){var a=Wb,b=Eb?function(c){return a.call(b.src,b.$,c)}:function(c){c=a.call(b.src,
b.$,c);if(!c)return c};return b},Xb=function(a,b,c,d,e){if(da(b))for(var g=0;g<b.length;g++)Xb(a,b[g],c,d,e);else c=Tb(c),Lb(a)?a.w(b,c,d,e):a&&(a=Ub(a))&&(b=a.wa(b,c,!!d,e))&&G(b)},G=function(a){if("number"==typeof a||!a||a.ha)return!1;var b=a.src;if(Lb(b))return Qb(b.ba,a);var c=a.type,d=a.Da;b.removeEventListener?b.removeEventListener(c,d,a.capture):b.detachEvent&&b.detachEvent(c in E?E[c]:E[c]="on"+c,d);Sb--;(c=Ub(b))?(Qb(c,a),0==c.va&&(c.src=null,b[Rb]=null)):Ob(a);return!0},Zb=function(a,b,
c,d){var e=1;if(a=Ub(a))if(b=a.p[b])for(b=Ea(b),a=0;a<b.length;a++){var g=b[a];g&&g.capture==c&&!g.ha&&(e&=!1!==Yb(g,d))}return Boolean(e)},Yb=function(a,b){var c=a.$,d=a.Ia||a.src;a.Ga&&G(a);return c.call(d,b)},Wb=function(a,b){if(a.ha)return!0;if(!Eb){var c;if(!(c=b))t:{c=["window","event"];for(var d=l,e;e=c.shift();)if(null!=d[e])d=d[e];else{c=null;break t}c=d}e=c;c=new C(e,this);d=!0;if(!(0>e.keyCode||void 0!=e.returnValue)){t:{var g=!1;if(0==e.keyCode)try{e.keyCode=-1;break t}catch(h){g=!0}if(g||
void 0==e.returnValue)e.returnValue=!0}e=[];for(g=c.currentTarget;g;g=g.parentNode)e.push(g);for(var g=a.type,k=e.length-1;!c.S&&0<=k;k--)c.currentTarget=e[k],d&=Zb(e[k],g,!0,c);for(k=0;!c.S&&k<e.length;k++)c.currentTarget=e[k],d&=Zb(e[k],g,!1,c)}return d}return Yb(a,new C(b,this))},Ub=function(a){a=a[Rb];return a instanceof D?a:null},$b="__closure_events_fn_"+(1E9*Math.random()>>>0),Tb=function(a){r(a,"Listener can not be null.");if(n(a))return a;r(a.handleEvent,"An object listener must have handleEvent method.");
return a[$b]||(a[$b]=function(b){return a.handleEvent(b)})};var H=function(a){this.Db=a;this.La={}};p(H,Gb);var ac=[];H.prototype.d=function(a,b,c,d,e){da(b)||(ac[0]=b,b=ac);for(var g=0;g<b.length;g++){var h=F(a,b[g],c||this.handleEvent,d||!1,e||this.Db||this);if(!h)break;this.La[h.key]=h}return this};H.prototype.w=function(a,b,c,d,e){if(da(b))for(var g=0;g<b.length;g++)this.w(a,b[g],c,d,e);else c=c||this.handleEvent,e=e||this.Db||this,c=Tb(c),d=!!d,b=Lb(a)?a.wa(b,c,d,e):a?(a=Ub(a))?a.wa(b,c,d,e):null:null,b&&(G(b),delete this.La[b.key]);return this};
H.prototype.$a=function(){Ha(this.La,G);this.La={}};H.prototype.handleEvent=function(){throw Error("EventHandler.handleEvent not implemented");};var I=function(){this.ba=new D(this);this.bc=this};p(I,Gb);I.prototype[Kb]=!0;f=I.prototype;f.mb=null;f.Ya=function(a){this.mb=a};f.addEventListener=function(a,b,c,d){F(this,a,b,c,d)};f.removeEventListener=function(a,b,c,d){Xb(this,a,b,c,d)};
f.dispatchEvent=function(a){bc(this);var b,c=this.mb;if(c){b=[];for(var d=1;c;c=c.mb)b.push(c),r(1E3>++d,"infinite loop")}c=this.bc;d=a.type||a;if(m(a))a=new B(a,c);else if(a instanceof B)a.target=a.target||c;else{var e=a;a=new B(d,c);Ma(a,e)}var e=!0,g;if(b)for(var h=b.length-1;!a.S&&0<=h;h--)g=a.currentTarget=b[h],e=cc(g,d,!0,a)&&e;a.S||(g=a.currentTarget=c,e=cc(g,d,!0,a)&&e,a.S||(e=cc(g,d,!1,a)&&e));if(b)for(h=0;!a.S&&h<b.length;h++)g=a.currentTarget=b[h],e=cc(g,d,!1,a)&&e;return e};
f.d=function(a,b,c,d){bc(this);return this.ba.add(String(a),b,!1,c,d)};f.w=function(a,b,c,d){return this.ba.remove(String(a),b,c,d)};var cc=function(a,b,c,d){b=a.ba.p[String(b)];if(!b)return!0;b=Ea(b);for(var e=!0,g=0;g<b.length;++g){var h=b[g];if(h&&!h.ha&&h.capture==c){var k=h.$,q=h.Ia||h.src;h.Ga&&Qb(a.ba,h);e=!1!==k.call(q,d)&&e}}return e&&!1!=d.xb};I.prototype.wa=function(a,b,c,d){return this.ba.wa(String(a),b,c,d)};var bc=function(a){r(a.ba,"Event target is not initialized. Did you call the superclass (goog.events.EventTarget) constructor?")};var K=function(a,b){a.style.display=b?"":"none"},dc=w?"MozUserSelect":x?"WebkitUserSelect":null,ec=function(a,b,c){c=c?null:a.getElementsByTagName("*");if(dc){if(b=b?"none":"",a.style[dc]=b,c){a=0;for(var d;d=c[a];a++)d.style[dc]=b}}else if(v||Ta)if(b=b?"on":"",a.setAttribute("unselectable",b),c)for(a=0;d=c[a];a++)d.setAttribute("unselectable",b)};var fc=function(){};ba(fc);fc.prototype.ec=0;fc.aa();var L=function(a){I.call(this);this.n=a||nb();this.sa=gc};p(L,I);L.prototype.dc=fc.aa();var gc=null,hc=function(a,b){switch(a){case 1:return b?"disable":"enable";case 2:return b?"highlight":"unhighlight";case 4:return b?"activate":"deactivate";case 8:return b?"select":"unselect";case 16:return b?"check":"uncheck";case 32:return b?"focus":"blur";case 64:return b?"open":"close"}throw Error("Invalid component state");};f=L.prototype;f.P=null;f.e=!1;f.c=null;f.sa=null;f.o=null;f.s=null;f.j=null;
var ic=function(a){return a.P||(a.P=":"+(a.dc.ec++).toString(36))},jc=function(a,b){if(a.o&&a.o.j){var c=a.o.j,d=a.P;d in c&&delete c[d];Ja(a.o.j,b,a)}a.P=b};L.prototype.a=function(){return this.c};var kc=function(a){return a.ib||(a.ib=new H(a))},lc=function(a,b){if(a==b)throw Error("Unable to set parent component");if(b&&a.o&&a.P&&a.o.j&&a.P&&a.P in a.o.j&&a.o.j[a.P]&&a.o!=b)throw Error("Unable to set parent component");a.o=b;L.f.Ya.call(a,b)};f=L.prototype;f.getParent=function(){return this.o};
f.Ya=function(a){if(this.o&&this.o!=a)throw Error("Method not supported");L.f.Ya.call(this,a)};f.kb=function(){return this.n};f.r=function(){this.c=this.n.createElement("div")};f.L=function(a){if(this.e)throw Error("Component already rendered");if(a&&this.Z(a)){var b=mb(a);this.n&&this.n.F==b||(this.n=nb(a));this.Xa(a);this.G()}else throw Error("Invalid element to decorate");};f.Z=function(){return!0};f.Xa=function(a){this.c=a};f.G=function(){this.e=!0;mc(this,function(a){!a.e&&a.a()&&a.G()})};
f.da=function(){mc(this,function(a){a.e&&a.da()});this.ib&&this.ib.$a();this.e=!1};f.Ca=function(a,b){this.Ta(a,nc(this),b)};
f.Ta=function(a,b,c){if(a.e&&(c||!this.e))throw Error("Component already rendered");if(0>b||b>nc(this))throw Error("Child component index out of bounds");this.j&&this.s||(this.j={},this.s=[]);if(a.getParent()==this){var d=ic(a);this.j[d]=a;Da(this.s,a)}else Ja(this.j,ic(a),a);lc(a,this);Ga(this.s,b,0,a);if(a.e&&this.e&&a.getParent()==this)c=this.C(),c.insertBefore(a.a(),c.childNodes[b]||null);else if(c){this.c||this.r();c=M(this,b+1);b=this.C();c=c?c.c:null;if(a.e)throw Error("Component already rendered");
a.c||a.r();b?b.insertBefore(a.c,c||null):a.n.F.body.appendChild(a.c);a.o&&!a.o.e||a.G()}else this.e&&!a.e&&a.c&&a.c.parentNode&&1==a.c.parentNode.nodeType&&a.G()};f.C=function(){return this.c};
var oc=function(a){if(null==a.sa){var b;t:{b=a.e?a.c:a.n.F.body;var c=mb(b);if(c.defaultView&&c.defaultView.getComputedStyle&&(b=c.defaultView.getComputedStyle(b,null))){b=b.direction||b.getPropertyValue("direction")||"";break t}b=""}a.sa="rtl"==(b||((a.e?a.c:a.n.F.body).currentStyle?(a.e?a.c:a.n.F.body).currentStyle.direction:null)||(a.e?a.c:a.n.F.body).style&&(a.e?a.c:a.n.F.body).style.direction)}return a.sa};
L.prototype.qa=function(a){if(this.e)throw Error("Component already rendered");this.sa=a};var nc=function(a){return a.s?a.s.length:0},M=function(a,b){return a.s?a.s[b]||null:null},mc=function(a,b,c){a.s&&Aa(a.s,b,c)},pc=function(a,b){return a.s&&b?za(a.s,b):-1};
L.prototype.removeChild=function(a,b){if(a){var c=m(a)?a:ic(a);a=this.j&&c?(c in this.j?this.j[c]:void 0)||null:null;if(c&&a){var d=this.j;c in d&&delete d[c];Da(this.s,a);b&&(a.da(),a.c&&(c=a.c)&&c.parentNode&&c.parentNode.removeChild(c));lc(a,null)}}if(!a)throw Error("Child is not in parent component");return a};var qc,rc={kc:"activedescendant",pc:"atomic",qc:"autocomplete",sc:"busy",vc:"checked",Ac:"controls",Cc:"describedby",Fc:"disabled",Hc:"dropeffect",Ic:"expanded",Jc:"flowto",Lc:"grabbed",Pc:"haspopup",Rc:"hidden",Tc:"invalid",Uc:"label",Vc:"labelledby",Wc:"level",ad:"live",ld:"multiline",md:"multiselectable",qd:"orientation",rd:"owns",sd:"posinset",ud:"pressed",yd:"readonly",Ad:"relevant",Bd:"required",Hd:"selected",Jd:"setsize",Ld:"sort",Yd:"valuemax",Zd:"valuemin",$d:"valuenow",ae:"valuetext"};var sc={lc:"alert",mc:"alertdialog",nc:"application",oc:"article",rc:"banner",tc:"button",uc:"checkbox",wc:"columnheader",xc:"combobox",yc:"complementary",zc:"contentinfo",Bc:"definition",Dc:"dialog",Ec:"directory",Gc:"document",Kc:"form",Mc:"grid",Nc:"gridcell",Oc:"group",Qc:"heading",Sc:"img",Xc:"link",Yc:"list",Zc:"listbox",$c:"listitem",bd:"log",cd:"main",dd:"marquee",ed:"math",fd:"menu",gd:"menubar",hd:"menuitem",jd:"menuitemcheckbox",kd:"menuitemradio",nd:"navigation",od:"note",pd:"option",
td:"presentation",vd:"progressbar",wd:"radio",xd:"radiogroup",zd:"region",Cd:"row",Dd:"rowgroup",Ed:"rowheader",Fd:"scrollbar",Gd:"search",Id:"separator",Kd:"slider",Md:"spinbutton",Nd:"status",Od:"tab",Pd:"tablist",Qd:"tabpanel",Rd:"textbox",Sd:"timer",Td:"toolbar",Ud:"tooltip",Vd:"tree",Wd:"treegrid",Xd:"treeitem"};var tc=function(a,b){b?(r(Ia(sc,b),"No such ARIA role "+b),a.setAttribute("role",b)):a.removeAttribute("role")},vc=function(a,b,c){ea(c)&&(c=c.join(" "));var d=uc(b);""===c||void 0==c?(qc||(qc={atomic:!1,autocomplete:"none",dropeffect:"none",haspopup:!1,live:"off",multiline:!1,multiselectable:!1,orientation:"vertical",readonly:!1,relevant:"additions text",required:!1,sort:"none",busy:!1,disabled:!1,hidden:!1,invalid:"false"}),c=qc,b in c?a.setAttribute(d,c[b]):a.removeAttribute(d)):a.setAttribute(d,
c)},uc=function(a){r(a,"ARIA attribute cannot be empty.");r(Ia(rc,a),"No such ARIA attribute "+a);return"aria-"+a};var yc=function(a,b,c,d,e){if(!(v||x&&z("525")))return!0;if(y&&e)return wc(a);if(e&&!d)return!1;"number"==typeof b&&(b=xc(b));if(!c&&(17==b||18==b||y&&91==b))return!1;if(x&&d&&c)switch(a){case 220:case 219:case 221:case 192:case 186:case 189:case 187:case 188:case 190:case 191:case 192:case 222:return!1}if(v&&d&&b==a)return!1;switch(a){case 13:return!(v&&v&&9<=eb);case 27:return!x}return wc(a)},wc=function(a){if(48<=a&&57>=a||96<=a&&106>=a||65<=a&&90>=a||x&&0==a)return!0;switch(a){case 32:case 63:case 107:case 109:case 110:case 111:case 186:case 59:case 189:case 187:case 61:case 188:case 190:case 191:case 192:case 222:case 219:case 220:case 221:return!0;
default:return!1}},xc=function(a){if(w)a=zc(a);else if(y&&x)t:switch(a){case 93:a=91;break t}return a},zc=function(a){switch(a){case 61:return 187;case 59:return 186;case 173:return 189;case 224:return 91;case 0:return 224;default:return a}};var N=function(a,b){I.call(this);a&&Ac(this,a,b)};p(N,I);f=N.prototype;f.c=null;f.Ea=null;f.Wa=null;f.Fa=null;f.t=-1;f.O=-1;f.jb=!1;
var Bc={3:13,12:144,63232:38,63233:40,63234:37,63235:39,63236:112,63237:113,63238:114,63239:115,63240:116,63241:117,63242:118,63243:119,63244:120,63245:121,63246:122,63247:123,63248:44,63272:46,63273:36,63275:35,63276:33,63277:34,63289:144,63302:45},Cc={Up:38,Down:40,Left:37,Right:39,Enter:13,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,"U+007F":46,Home:36,End:35,PageUp:33,PageDown:34,Insert:45},Dc=v||x&&z("525"),Ec=y&&w;
N.prototype.Qb=function(a){x&&(17==this.t&&!a.ctrlKey||18==this.t&&!a.altKey||y&&91==this.t&&!a.metaKey)&&(this.O=this.t=-1);-1==this.t&&(a.ctrlKey&&17!=a.keyCode?this.t=17:a.altKey&&18!=a.keyCode?this.t=18:a.metaKey&&91!=a.keyCode&&(this.t=91));Dc&&!yc(a.keyCode,this.t,a.shiftKey,a.ctrlKey,a.altKey)?this.handleEvent(a):(this.O=xc(a.keyCode),Ec&&(this.jb=a.altKey))};N.prototype.Rb=function(a){this.O=this.t=-1;this.jb=a.altKey};
N.prototype.handleEvent=function(a){var b=a.Q,c,d,e=b.altKey;v&&"keypress"==a.type?(c=this.O,d=13!=c&&27!=c?b.keyCode:0):x&&"keypress"==a.type?(c=this.O,d=0<=b.charCode&&63232>b.charCode&&wc(c)?b.charCode:0):Ta?(c=this.O,d=wc(c)?b.keyCode:0):(c=b.keyCode||this.O,d=b.charCode||0,Ec&&(e=this.jb),y&&63==d&&224==c&&(c=191));var g=c=xc(c),h=b.keyIdentifier;c?63232<=c&&c in Bc?g=Bc[c]:25==c&&a.shiftKey&&(g=9):h&&h in Cc&&(g=Cc[h]);a=g==this.t;this.t=g;b=new Fc(g,d,a,b);b.altKey=e;this.dispatchEvent(b)};
N.prototype.a=function(){return this.c};var Ac=function(a,b,c){a.Fa&&a.detach();a.c=b;a.Ea=F(a.c,"keypress",a,c);a.Wa=F(a.c,"keydown",a.Qb,c,a);a.Fa=F(a.c,"keyup",a.Rb,c,a)};N.prototype.detach=function(){this.Ea&&(G(this.Ea),G(this.Wa),G(this.Fa),this.Fa=this.Wa=this.Ea=null);this.c=null;this.O=this.t=-1};var Fc=function(a,b,c,d){d&&Hb(this,d,void 0);this.type="key";this.keyCode=a;this.charCode=b;this.repeat=c};p(Fc,C);var Gc=!!l.DOMTokenList,Hc=Gc?function(a){return a.classList}:function(a){a=a.className;return m(a)&&a.match(/\S+/g)||[]},Ic=Gc?function(a,b){r(!!a.classList);return a.classList.contains(b)}:function(a,b){return t(Hc(a),b)},Jc=Gc?function(a,b){a.classList.add(b)}:function(a,b){Ic(a,b)||(a.className+=0<a.className.length?" "+b:b)},Kc=Gc?function(a,b){a.classList.remove(b)}:function(a,b){Ic(a,b)&&(a.className=Ba(Hc(a),function(a){return a!=b}).join(" "))};var Mc=function(a,b){if(!a)throw Error("Invalid class name "+a);if(!n(b))throw Error("Invalid decorator function "+b);Lc[a]=b},Nc={},Lc={};var O=function(){};ba(O);O.prototype.V=function(){};var Oc=function(a,b){a&&(a.tabIndex=b?0:-1)};f=O.prototype;f.r=function(a){return a.kb().r("div",this.ta(a).join(" "))};f.C=function(a){return a};f.Z=function(a){return"DIV"==a.tagName};f.L=function(a,b){b.id&&jc(a,b.id);var c=this.A(),d=!1,e=Hc(b);e&&Aa(e,function(b){b==c?d=!0:b&&this.ab(a,b,c)},this);d||Jc(b,c);Pc(a,this.C(b));return b};
f.ab=function(a,b,c){b==c+"-disabled"?a.pa(!1):b==c+"-horizontal"?Qc(a,"horizontal"):b==c+"-vertical"&&Qc(a,"vertical")};var Pc=function(a,b){if(b)for(var c=b.firstChild,d;c&&c.parentNode==b;){d=c.nextSibling;if(1==c.nodeType){var e;t:{e=void 0;for(var g=Hc(c),h=0,k=g.length;h<k;h++)if(e=g[h]in Lc?Lc[g[h]]():null)break t;e=null}e&&(e.c=c,a.isEnabled()||e.pa(!1),a.Ca(e),e.L(c))}else c.nodeValue&&""!=pa(c.nodeValue)||b.removeChild(c);c=d}};
O.prototype.Ma=function(a){a=a.a();r(a,"The container DOM element cannot be null.");ec(a,!0,w);v&&(a.hideFocus=!0);var b=this.V();b&&tc(a,b)};O.prototype.k=function(a){return a.a()};O.prototype.A=function(){return"goog-container"};O.prototype.ta=function(a){var b=this.A(),c=[b,"horizontal"==a.M?b+"-horizontal":b+"-vertical"];a.isEnabled()||c.push(b+"-disabled");return c};var P=function(){},Rc;ba(P);f=P.prototype;f.V=function(){};f.r=function(a){var b=a.kb().r("div",this.ta(a).join(" "),a.Ba);Sc(a,b);return b};f.C=function(a){return a};f.ra=function(a,b,c){if(a=a.a?a.a():a)if(v&&!z("7")){var d=Tc(hb(a),b);d.push(b);ka(c?ib:kb,a).apply(null,d)}else c?ib(a,b):kb(a,b)};f.Z=function(){return!0};
f.L=function(a,b){b.id&&jc(a,b.id);var c=this.C(b);c&&c.firstChild?Uc(a,c.firstChild.nextSibling?Ea(c.childNodes):c.firstChild):a.Ba=null;var d=0,e=this.A(),g=this.A(),h=!1,k=!1,c=!1,q=hb(b);Aa(q,function(a){if(h||a!=e)if(k||a!=g){var b=d;this.tb||(this.Ha||Vc(this),this.tb=Ka(this.Ha));a=parseInt(this.tb[a],10);d=b|(isNaN(a)?0:a)}else k=!0;else h=!0,g==e&&(k=!0)},this);a.g=d;h||(q.push(e),g==e&&(k=!0));k||q.push(g);var ia=a.H;ia&&q.push.apply(q,ia);if(v&&!z("7")){var A=Tc(q);0<A.length&&(q.push.apply(q,
A),c=!0)}if(!h||!k||ia||c)b.className=q.join(" ");Sc(a,b);return b};f.Ma=function(a){oc(a)&&this.qa(a.a(),!0);a.isEnabled()&&this.na(a,a.u())};var Wc=function(a,b,c){if(a=c||a.V())r(b,"The element passed as a first parameter cannot be null."),tc(b,a)},Sc=function(a,b){r(a);r(b);a.u()||vc(b,"hidden",!a.u());a.isEnabled()||Xc(b,1,!a.isEnabled());a.m&8&&Xc(b,8,!!(a.g&8));a.m&16&&Xc(b,16,!!(a.g&16));a.m&64&&Xc(b,64,!!(a.g&64))};f=P.prototype;f.za=function(a,b){ec(a,!b,!v&&!Ta)};
f.qa=function(a,b){this.ra(a,this.A()+"-rtl",b)};f.J=function(a){var b;return a.m&32&&(b=a.k())?zb(b)&&Ab(b):!1};f.na=function(a,b){var c;if(a.m&32&&(c=a.k())){if(!b&&a.g&32){try{c.blur()}catch(d){}a.g&32&&a.la(null)}(zb(c)&&Ab(c))!=b&&(b?c.tabIndex=0:(c.tabIndex=-1,c.removeAttribute("tabIndex")))}};f.ja=function(a,b){K(a,b);a&&vc(a,"hidden",!b)};f.v=function(a,b,c){var d=a.a();if(d){var e=Yc(this,b);e&&this.ra(a,e,c);Xc(d,b,c)}};
var Xc=function(a,b,c){Rc||(Rc={1:"disabled",8:"selected",16:"checked",64:"expanded"});if(b=Rc[b])r(a,"The element passed as a first parameter cannot be null."),vc(a,b,c)};P.prototype.k=function(a){return a.a()};P.prototype.A=function(){return"goog-control"};P.prototype.ta=function(a){var b=this.A(),c=[b],d=this.A();d!=b&&c.push(d);b=a.g;for(d=[];b;){var e=b&-b;d.push(Yc(this,e));b&=~e}c.push.apply(c,d);(a=a.H)&&c.push.apply(c,a);v&&!z("7")&&c.push.apply(c,Tc(c));return c};
var Tc=function(a,b){var c=[];b&&(a=a.concat([b]));Aa([],function(d){!Ca(d,ka(t,a))||b&&!t(d,b)||c.push(d.join("_"))});return c},Yc=function(a,b){a.Ha||Vc(a);return a.Ha[b]},Vc=function(a){var b=a.A();a.Ha={1:b+"-disabled",2:b+"-hover",4:b+"-active",8:b+"-selected",16:b+"-checked",32:b+"-focused",64:b+"-open"}};var Q=function(a,b,c){L.call(this,c);if(!b){b=this.constructor;for(var d;b;){d=ja(b);if(d=Nc[d])break;b=b.f?b.f.constructor:null}b=d?n(d.aa)?d.aa():new d:null}this.b=b;this.Ba=void 0!==a?a:null};p(Q,L);f=Q.prototype;f.Ba=null;f.g=0;f.m=39;f.cc=255;f.W=0;f.q=!0;f.H=null;f.ca=!0;f.xa=!1;f.qb=null;f.pb=function(){return this.ca};f.Na=function(a){this.e&&a!=this.ca&&Zc(this,a);this.ca=a};f.k=function(){return this.b.k(this)};f.ya=function(){return this.ga||(this.ga=new N)};f.zb=function(){return this.b};
f.ra=function(a,b){b?a&&(this.H?t(this.H,a)||this.H.push(a):this.H=[a],this.b.ra(this,a,!0)):a&&this.H&&Da(this.H,a)&&(0==this.H.length&&(this.H=null),this.b.ra(this,a,!1))};f.r=function(){var a=this.b.r(this);this.c=a;Wc(this.b,a,this.qb);this.xa||this.b.za(a,!1);this.u()||this.b.ja(a,!1)};f.C=function(){return this.b.C(this.a())};f.Z=function(a){return this.b.Z(a)};f.Xa=function(a){this.c=a=this.b.L(this,a);Wc(this.b,a,this.qb);this.xa||this.b.za(a,!1);this.q="none"!=a.style.display};
f.G=function(){Q.f.G.call(this);this.b.Ma(this);if(this.m&-2&&(this.pb()&&Zc(this,!0),this.m&32)){var a=this.k();if(a){var b=this.ya();Ac(b,a);kc(this).d(b,"key",this.K).d(a,"focus",this.ma).d(a,"blur",this.la)}}};
var Zc=function(a,b){var c=kc(a),d=a.a();b?(c.d(d,"mouseover",a.Qa).d(d,"mousedown",a.ka).d(d,"mouseup",a.Ra).d(d,"mouseout",a.Pa),a.oa!=aa&&c.d(d,"contextmenu",a.oa),v&&c.d(d,"dblclick",a.sb)):(c.w(d,"mouseover",a.Qa).w(d,"mousedown",a.ka).w(d,"mouseup",a.Ra).w(d,"mouseout",a.Pa),a.oa!=aa&&c.w(d,"contextmenu",a.oa),v&&c.w(d,"dblclick",a.sb))};Q.prototype.da=function(){Q.f.da.call(this);this.ga&&this.ga.detach();this.u()&&this.isEnabled()&&this.b.na(this,!1)};var Uc=function(a,b){a.Ba=b};f=Q.prototype;
f.qa=function(a){Q.f.qa.call(this,a);var b=this.a();b&&this.b.qa(b,a)};f.za=function(a){this.xa=a;var b=this.a();b&&this.b.za(b,a)};f.u=function(){return this.q};f.ja=function(a,b){if(b||this.q!=a&&this.dispatchEvent(a?"show":"hide")){var c=this.a();c&&this.b.ja(c,a);this.isEnabled()&&this.b.na(this,a);this.q=a;return!0}return!1};f.isEnabled=function(){return!(this.g&1)};
f.pa=function(a){var b=this.getParent();b&&"function"==typeof b.isEnabled&&!b.isEnabled()||!R(this,1,!a)||(a||(this.setActive(!1),this.D(!1)),this.u()&&this.b.na(this,a),this.v(1,!a))};f.D=function(a){R(this,2,a)&&this.v(2,a)};f.setActive=function(a){R(this,4,a)&&this.v(4,a)};var $c=function(a,b){R(a,8,b)&&a.v(8,b)},S=function(a,b){R(a,64,b)&&a.v(64,b)};Q.prototype.v=function(a,b){this.m&a&&b!=!!(this.g&a)&&(this.b.v(this,a,b),this.g=b?this.g|a:this.g&~a)};
var ad=function(a,b,c){if(a.e&&a.g&b&&!c)throw Error("Component already rendered");!c&&a.g&b&&a.v(b,!1);a.m=c?a.m|b:a.m&~b},T=function(a,b){return!!(a.cc&b)&&!!(a.m&b)},R=function(a,b,c){return!!(a.m&b)&&!!(a.g&b)!=c&&(!(a.W&b)||a.dispatchEvent(hc(b,c)))&&!a.Sb};f=Q.prototype;f.Qa=function(a){(!a.relatedTarget||!vb(this.a(),a.relatedTarget))&&this.dispatchEvent("enter")&&this.isEnabled()&&T(this,2)&&this.D(!0)};
f.Pa=function(a){a.relatedTarget&&vb(this.a(),a.relatedTarget)||!this.dispatchEvent("leave")||(T(this,4)&&this.setActive(!1),T(this,2)&&this.D(!1))};f.oa=aa;f.ka=function(a){this.isEnabled()&&(T(this,2)&&this.D(!0),!Jb(a)||x&&y&&a.ctrlKey||(T(this,4)&&this.setActive(!0),this.b.J(this)&&this.k().focus()));this.xa||!Jb(a)||x&&y&&a.ctrlKey||a.preventDefault()};f.Ra=function(a){this.isEnabled()&&(T(this,2)&&this.D(!0),this.g&4&&bd(this,a)&&T(this,4)&&this.setActive(!1))};
f.sb=function(a){this.isEnabled()&&bd(this,a)};var bd=function(a,b){if(T(a,16)){var c=!(a.g&16);R(a,16,c)&&a.v(16,c)}T(a,8)&&$c(a,!0);T(a,64)&&S(a,!(a.g&64));c=new B("action",a);b&&(c.altKey=b.altKey,c.ctrlKey=b.ctrlKey,c.metaKey=b.metaKey,c.shiftKey=b.shiftKey,c.bb=b.bb);return a.dispatchEvent(c)};Q.prototype.ma=function(){T(this,32)&&R(this,32,!0)&&this.v(32,!0)};Q.prototype.la=function(){T(this,4)&&this.setActive(!1);T(this,32)&&R(this,32,!1)&&this.v(32,!1)};
Q.prototype.K=function(a){return this.u()&&this.isEnabled()&&this.lb(a)?(a.preventDefault(),a.stopPropagation(),!0):!1};Q.prototype.lb=function(a){return 13==a.keyCode&&bd(this,a)};if(!n(Q))throw Error("Invalid component class "+Q);if(!n(P))throw Error("Invalid renderer class "+P);var cd=ja(Q);Nc[cd]=P;Mc("goog-control",function(){return new Q(null)});var U=function(a,b,c){L.call(this,c);this.b=b||O.aa();this.M=a||"vertical"};p(U,L);f=U.prototype;f.ub=null;f.ga=null;f.b=null;f.M=null;f.q=!0;f.X=!0;f.Za=!0;f.h=-1;f.i=null;f.ea=!1;f.Pb=!1;f.Ob=!0;f.N=null;f.k=function(){return this.ub||this.b.k(this)};f.ya=function(){return this.ga||(this.ga=new N(this.k()))};f.zb=function(){return this.b};f.r=function(){this.c=this.b.r(this)};f.C=function(){return this.b.C(this.a())};f.Z=function(a){return this.b.Z(a)};
f.Xa=function(a){this.c=this.b.L(this,a);"none"==a.style.display&&(this.q=!1)};f.G=function(){U.f.G.call(this);mc(this,function(a){a.e&&dd(this,a)},this);var a=this.a();this.b.Ma(this);this.ja(this.q,!0);kc(this).d(this,"enter",this.Ib).d(this,"highlight",this.Jb).d(this,"unhighlight",this.Lb).d(this,"open",this.Kb).d(this,"close",this.Gb).d(a,"mousedown",this.ka).d(mb(a),"mouseup",this.Hb).d(a,["mousedown","mouseup","mouseover","mouseout","contextmenu"],this.Fb);this.J()&&ed(this,!0)};
var ed=function(a,b){var c=kc(a),d=a.k();b?c.d(d,"focus",a.ma).d(d,"blur",a.la).d(a.ya(),"key",a.K):c.w(d,"focus",a.ma).w(d,"blur",a.la).w(a.ya(),"key",a.K)};f=U.prototype;f.da=function(){fd(this,-1);this.i&&S(this.i,!1);this.ea=!1;U.f.da.call(this)};f.Ib=function(){return!0};
f.Jb=function(a){var b=pc(this,a.target);if(-1<b&&b!=this.h){var c=M(this,this.h);c&&c.D(!1);this.h=b;c=M(this,this.h);this.ea&&c.setActive(!0);this.Ob&&this.i&&c!=this.i&&(c.m&64?S(c,!0):S(this.i,!1))}b=this.a();r(b,"The DOM element for the container cannot be null.");null!=a.target.a()&&vc(b,"activedescendant",a.target.a().id)};f.Lb=function(a){a.target==M(this,this.h)&&(this.h=-1);a=this.a();r(a,"The DOM element for the container cannot be null.");a.removeAttribute(uc("activedescendant"))};
f.Kb=function(a){(a=a.target)&&a!=this.i&&a.getParent()==this&&(this.i&&S(this.i,!1),this.i=a)};f.Gb=function(a){a.target==this.i&&(this.i=null)};f.ka=function(a){this.X&&(this.ea=!0);var b=this.k();b&&zb(b)&&Ab(b)?b.focus():a.preventDefault()};f.Hb=function(){this.ea=!1};
f.Fb=function(a){var b;t:{b=a.target;if(this.N)for(var c=this.a();b&&b!==c;){var d=b.id;if(d in this.N){b=this.N[d];break t}b=b.parentNode}b=null}if(b)switch(a.type){case "mousedown":b.ka(a);break;case "mouseup":b.Ra(a);break;case "mouseover":b.Qa(a);break;case "mouseout":b.Pa(a);break;case "contextmenu":b.oa(a)}};f.ma=function(){};f.la=function(){fd(this,-1);this.ea=!1;this.i&&S(this.i,!1)};
f.K=function(a){return this.isEnabled()&&this.u()&&(0!=nc(this)||this.ub)&&this.lb(a)?(a.preventDefault(),a.stopPropagation(),!0):!1};
f.lb=function(a){var b=M(this,this.h);if(b&&"function"==typeof b.K&&b.K(a)||this.i&&this.i!=b&&"function"==typeof this.i.K&&this.i.K(a))return!0;if(a.shiftKey||a.ctrlKey||a.metaKey||a.altKey)return!1;switch(a.keyCode){case 27:if(this.J())this.k().blur();else return!1;break;case 36:gd(this);break;case 35:hd(this);break;case 38:if("vertical"==this.M)id(this);else return!1;break;case 37:if("horizontal"==this.M)oc(this)?jd(this):id(this);else return!1;break;case 40:if("vertical"==this.M)jd(this);else return!1;
break;case 39:if("horizontal"==this.M)oc(this)?id(this):jd(this);else return!1;break;default:return!1}return!0};var dd=function(a,b){var c=b.a(),c=c.id||(c.id=ic(b));a.N||(a.N={});a.N[c]=b};U.prototype.Ca=function(a,b){ya(a,Q,"The child of a container must be a control");U.f.Ca.call(this,a,b)};U.prototype.Ta=function(a,b,c){a.W|=2;a.W|=64;!this.J()&&this.Pb||ad(a,32,!1);a.Na(!1);U.f.Ta.call(this,a,b,c);a.e&&this.e&&dd(this,a);b<=this.h&&this.h++};
U.prototype.removeChild=function(a,b){if(a=m(a)?this.j&&a?(a in this.j?this.j[a]:void 0)||null:null:a){var c=pc(this,a);-1!=c&&(c==this.h?(a.D(!1),this.h=-1):c<this.h&&this.h--);var d=a.a();d&&d.id&&this.N&&(c=this.N,d=d.id,d in c&&delete c[d])}a=U.f.removeChild.call(this,a,b);a.Na(!0);return a};var Qc=function(a,b){if(a.a())throw Error("Component already rendered");a.M=b};f=U.prototype;f.u=function(){return this.q};
f.ja=function(a,b){if(b||this.q!=a&&this.dispatchEvent(a?"show":"hide")){this.q=a;var c=this.a();c&&(K(c,a),this.J()&&Oc(this.k(),this.X&&this.q),b||this.dispatchEvent(this.q?"aftershow":"afterhide"));return!0}return!1};f.isEnabled=function(){return this.X};f.pa=function(a){this.X!=a&&this.dispatchEvent(a?"enable":"disable")&&(a?(this.X=!0,mc(this,function(a){a.vb?delete a.vb:a.pa(!0)})):(mc(this,function(a){a.isEnabled()?a.pa(!1):a.vb=!0}),this.ea=this.X=!1),this.J()&&Oc(this.k(),a&&this.q))};
f.J=function(){return this.Za};f.na=function(a){a!=this.Za&&this.e&&ed(this,a);this.Za=a;this.X&&this.q&&Oc(this.k(),a)};var fd=function(a,b){var c=M(a,b);c?c.D(!0):-1<a.h&&M(a,a.h).D(!1)};U.prototype.D=function(a){fd(this,pc(this,a))};
var gd=function(a){kd(a,function(a,c){return(a+1)%c},nc(a)-1)},hd=function(a){kd(a,function(a,c){a--;return 0>a?c-1:a},0)},jd=function(a){kd(a,function(a,c){return(a+1)%c},a.h)},id=function(a){kd(a,function(a,c){a--;return 0>a?c-1:a},a.h)},kd=function(a,b,c){c=0>c?pc(a,a.i):c;var d=nc(a);c=b.call(a,c,d);for(var e=0;e<=d;){var g=M(a,c);if(g&&g.u()&&g.isEnabled()&&g.m&2){a.Ua(c);break}e++;c=b.call(a,c,d)}};U.prototype.Ua=function(a){fd(this,a)};var V=function(){};p(V,P);ba(V);f=V.prototype;f.A=function(){return"goog-tab"};f.V=function(){return"tab"};f.r=function(a){var b=V.f.r.call(this,a);(a=a.Sa())&&this.Va(b,a);return b};f.L=function(a,b){b=V.f.L.call(this,a,b);var c=this.Sa(b);c&&(a.rb=c);a.g&8&&(c=a.getParent())&&n(c.Y)&&(a.v(8,!1),c.Y(a));return b};f.Sa=function(a){return a.title||""};f.Va=function(a,b){a&&(a.title=b||"")};var ld=function(a,b,c){Q.call(this,a,b||V.aa(),c);ad(this,8,!0);this.W|=9};p(ld,Q);ld.prototype.Sa=function(){return this.rb};ld.prototype.Va=function(a){this.zb().Va(this.a(),a);this.rb=a};Mc("goog-tab",function(){return new ld(null)});var W=function(){};p(W,O);ba(W);W.prototype.A=function(){return"goog-tab-bar"};W.prototype.V=function(){return"tablist"};W.prototype.ab=function(a,b,c){this.Ab||(this.Ja||md(this),this.Ab=Ka(this.Ja));var d=this.Ab[b];d?(Qc(a,nd(d)),a.wb=d):W.f.ab.call(this,a,b,c)};W.prototype.ta=function(a){var b=W.f.ta.call(this,a);this.Ja||md(this);b.push(this.Ja[a.wb]);return b};var md=function(a){var b=a.A();a.Ja={top:b+"-top",bottom:b+"-bottom",start:b+"-start",end:b+"-end"}};var X=function(a,b,c){a=a||"top";Qc(this,nd(a));this.wb=a;U.call(this,this.M,b||W.aa(),c);od(this)};p(X,U);f=X.prototype;f.Zb=!0;f.I=null;f.G=function(){X.f.G.call(this);od(this)};f.removeChild=function(a,b){pd(this,a);return X.f.removeChild.call(this,a,b)};f.Ua=function(a){X.f.Ua.call(this,a);this.Zb&&this.Y(M(this,a))};f.Y=function(a){a?$c(a,!0):this.I&&$c(this.I,!1)};
var pd=function(a,b){if(b&&b==a.I){for(var c=pc(a,b),d=c-1;b=M(a,d);d--)if(b.u()&&b.isEnabled()){a.Y(b);return}for(c+=1;b=M(a,c);c++)if(b.u()&&b.isEnabled()){a.Y(b);return}a.Y(null)}};f=X.prototype;f.Xb=function(a){this.I&&this.I!=a.target&&$c(this.I,!1);this.I=a.target};f.Yb=function(a){a.target==this.I&&(this.I=null)};f.Vb=function(a){pd(this,a.target)};f.Wb=function(a){pd(this,a.target)};f.ma=function(){M(this,this.h)||this.D(this.I||M(this,0))};
var od=function(a){kc(a).d(a,"select",a.Xb).d(a,"unselect",a.Yb).d(a,"disable",a.Vb).d(a,"hide",a.Wb)},nd=function(a){return"start"==a||"end"==a?"vertical":"horizontal"};Mc("goog-tab-bar",function(){return new X});var Y=function(a,b,c,d,e){function g(a){a&&(a.tabIndex=0,tc(a,h.V()),Jc(a,"goog-zippy-header"),qd(h,a),a&&h.Mb.d(a,"keydown",h.Nb))}I.call(this);this.n=e||nb();this.T=this.n.a(a)||null;this.Aa=this.n.a(d||null);this.fa=(this.Oa=n(b)?b:null)||!b?null:this.n.a(b);this.l=!0==c;this.Mb=new H(this);this.ob=new H(this);var h=this;g(this.T);g(this.Aa);this.U(this.l)};p(Y,I);f=Y.prototype;f.ca=!0;f.V=function(){return"tab"};f.C=function(){return this.fa};f.toggle=function(){this.U(!this.l)};
f.U=function(a){this.fa?K(this.fa,a):a&&this.Oa&&(this.fa=this.Oa());this.fa&&Jc(this.fa,"goog-zippy-content");if(this.Aa)K(this.T,!a),K(this.Aa,a);else if(this.T){var b=this.T;a?Jc(b,"goog-zippy-expanded"):Kc(b,"goog-zippy-expanded");b=this.T;a?Kc(b,"goog-zippy-collapsed"):Jc(b,"goog-zippy-collapsed");vc(this.T,"expanded",a)}this.l=a;this.dispatchEvent(new rd("toggle",this))};f.pb=function(){return this.ca};f.Na=function(a){this.ca!=a&&((this.ca=a)?(qd(this,this.T),qd(this,this.Aa)):this.ob.$a())};
var qd=function(a,b){b&&a.ob.d(b,"click",a.$b)};Y.prototype.Nb=function(a){if(13==a.keyCode||32==a.keyCode)this.toggle(),this.dispatchEvent(new B("action",this)),a.preventDefault(),a.stopPropagation()};Y.prototype.$b=function(){this.toggle();this.dispatchEvent(new B("action",this))};var rd=function(a,b){B.call(this,a,b)};p(rd,B);var Z=function(a,b){this.nb=[];for(var c=pb("span","ae-zippy",ob(document,a)),d=0,e;e=c[d];d++){var g;if(void 0!=e.parentNode.parentNode.parentNode.nextElementSibling)g=e.parentNode.parentNode.parentNode.nextElementSibling;else for(g=e.parentNode.parentNode.parentNode.nextSibling;g&&1!=g.nodeType;)g=g.nextSibling;e=new Y(e,g,!1);this.nb.push(e)}this.fc=new sd(this.nb,ob(document,b))};Z.prototype.ic=function(){return this.fc};Z.prototype.jc=function(){return this.nb};
var sd=function(a,b){this.ua=a;if(this.ua.length)for(var c=0,d;d=this.ua[c];c++)F(d,"toggle",this.Ub,!1,this);this.Ka=0;this.l=!1;c="ae-toggle ae-plus ae-action";this.ua.length||(c+=" ae-disabled");this.R=tb("span",{className:c},"Expand All");F(this.R,"click",this.Tb,!1,this);b&&b.appendChild(this.R)};sd.prototype.Tb=function(){this.ua.length&&this.U(!this.l)};
sd.prototype.Ub=function(a){a=a.currentTarget;this.Ka=a.l?this.Ka+1:this.Ka-1;a.l!=this.l&&(a.l?(this.l=!0,td(this,!0)):0==this.Ka&&(this.l=!1,td(this,!1)))};sd.prototype.U=function(a){this.l=a;a=0;for(var b;b=this.ua[a];a++)b.l!=this.l&&b.U(this.l);td(this)};
var td=function(a,b){(void 0!==b?b:a.l)?(kb(a.R,"ae-plus"),ib(a.R,"ae-minus"),wb(a.R,"Collapse All")):(kb(a.R,"ae-minus"),ib(a.R,"ae-plus"),wb(a.R,"Expand All"))},ud=function(a){this.ac=a;this.Cb={};var b,c=tb("div",{},b=tb("div",{id:"ae-stats-details-tabs",className:"goog-tab-bar goog-tab-bar-top"}),tb("div",{className:"goog-tab-bar-clear"}),a=tb("div",{id:"ae-stats-details-tabs-content",className:"goog-tab-content"})),d=new X;d.L(b);F(d,"select",this.Bb,!1,this);F(d,"unselect",this.Bb,!1,this);
b=0;for(var e;e=this.ac[b];b++)if(e=ob(document,"ae-stats-details-"+e)){var g=pb("h2",null,e)[0],h;h=g;var k=void 0;gb&&"innerText"in h?k=h.innerText.replace(/(\r\n|\r|\n)/g,"\n"):(k=[],Bb(h,k,!0),k=k.join(""));k=k.replace(/ \xAD /g," ").replace(/\xAD/g,"");k=k.replace(/\u200B/g,"");gb||(k=k.replace(/ +/g," "));" "!=k&&(k=k.replace(/^\s*/,""));h=k;g&&g.parentNode&&g.parentNode.removeChild(g);g=new ld(h);this.Cb[ja(g)]=e;d.Ca(g,!0);a.appendChild(e);0==b?d.Y(g):K(e,!1)}ob(document,"bd").appendChild(c)};
ud.prototype.Bb=function(a){var b=this.Cb[ja(a.target)];K(b,"select"==a.type)};la("ae.Stats.Details.Tabs",ud);la("goog.ui.Zippy",Y);Y.prototype.setExpanded=Y.prototype.U;la("ae.Stats.MakeZippys",Z);Z.prototype.getExpandCollapse=Z.prototype.ic;Z.prototype.getZippys=Z.prototype.jc;sd.prototype.setExpanded=sd.prototype.U;var $=function(){this.cb=[];this.hb=[]},vd=[[5,0.2,1],[6,0.2,1.2],[5,0.25,1.25],[6,0.25,1.5],[4,0.5,2],[5,0.5,2.5],[6,0.5,3],[4,1,4],[5,1,5],[6,1,6],[4,2,8],[5,2,10]],wd=function(a){if(0>=a)return[2,0.5,1];for(var b=1;1>a;)a*=10,b/=10;for(;10<=a;)a/=10,b*=10;for(var c=0;c<vd.length;c++)if(a<=vd[c][2])return[vd[c][0],vd[c][1]*b,vd[c][2]*b];return[5,2*b,10*b]};$.prototype.gb="stats/static/pix.gif";$.prototype.B="ae-stats-gantt-";$.prototype.fb=0;$.prototype.write=function(a){this.hb.push(a)};
var xd=function(a,b,c,d){a.write('<tr class="'+a.B+'axisrow"><td width="20%"></td><td>');a.write('<div class="'+a.B+'axis">');for(var e=0;e<=b;e++)a.write('<img class="'+a.B+'tick" src="'+a.gb+'" alt="" '),a.write('style="left:'+e*c*d+'%"\n>'),a.write('<span class="'+a.B+'scale" style="left:'+e*c*d+'%">'),a.write("&nbsp;"+e*c+"</span>");a.write("</div></td></tr>\n")};
$.prototype.hc=function(){this.hb=[];var a=wd(this.fb),b=a[0],c=a[1],a=100/a[2];this.write('<table class="'+this.B+'table">\n');xd(this,b,c,a);for(var d=0;d<this.cb.length;d++){var e=this.cb[d];this.write('<tr class="'+this.B+'datarow"><td width="20%">');0<e.label.length&&(0<e.ia.length&&this.write('<a class="'+this.B+'link" href="'+e.ia+'">'),this.write(e.label),0<e.ia.length&&this.write("</a>"));this.write("</td>\n<td>");this.write('<div class="'+this.B+'container">');0<e.ia.length&&this.write('<a class="'+
this.B+'link" href="'+e.ia+'"\n>');this.write('<img class="'+this.B+'bar" src="'+this.gb+'" alt="" ');this.write('style="left:'+e.start*a+"%;width:"+e.duration*a+'%;min-width:1px"\n>');0<e.eb&&(this.write('<img class="'+this.B+'extra" src="'+this.gb+'" alt="" '),this.write('style="left:'+e.start*a+"%;width:"+e.eb*a+'%"\n>'));0<e.yb.length&&(this.write('<span class="'+this.B+'inline" style="left:'+(e.start+Math.max(e.duration,e.eb))*a+'%">&nbsp;'),this.write(e.yb),this.write("</span>"));0<e.ia.length&&
this.write("</a>");this.write("</div></td></tr>\n")}xd(this,b,c,a);this.write("</table>\n");return this.hb.join("")};$.prototype.gc=function(a,b,c,d,e,g){this.fb=Math.max(this.fb,Math.max(b+c,b+d));this.cb.push({label:a,start:b,duration:c,eb:d,yb:e,ia:g})};la("Gantt",$);$.prototype.add_bar=$.prototype.gc;$.prototype.draw=$.prototype.hc;})();
