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