/* Copyright 2008-10 Google Inc. All Rights Reserved. */ (function(){function e(a){throw a;}
var h=true,j=null,k=false,q,r=this,aa=function(a,b,c){a=a.split(".");c=c||r;!(a[0]in c)&&c.execScript&&c.execScript("var "+a[0]);for(var d;a.length&&(d=a.shift());)if(!a.length&&b!==undefined)c[d]=b;else c=c[d]?c[d]:c[d]={}},ba=function(){},ca=function(a){a.Q=function(){return a.bc||(a.bc=new a)}},da=function(a){var b=typeof a;if(b=="object")if(a){if(a instanceof Array||!(a instanceof Object)&&Object.prototype.toString.call(a)=="[object Array]"||typeof a.length=="number"&&typeof a.splice!="undefined"&&
typeof a.propertyIsEnumerable!="undefined"&&!a.propertyIsEnumerable("splice"))return"array";if(!(a instanceof Object)&&(Object.prototype.toString.call(a)=="[object Function]"||typeof a.call!="undefined"&&typeof a.propertyIsEnumerable!="undefined"&&!a.propertyIsEnumerable("call")))return"function"}else return"null";else if(b=="function"&&typeof a.call=="undefined")return"object";return b},s=function(a){return da(a)=="array"},ea=function(a){var b=da(a);return b=="array"||b=="object"&&typeof a.length==
"number"},t=function(a){return typeof a=="string"},u=function(a){return da(a)=="function"},fa=function(a){a=da(a);return a=="object"||a=="array"||a=="function"},v=function(a){return a[ga]||(a[ga]=++ha)},ga="closure_uid_"+Math.floor(Math.random()*2147483648).toString(36),ha=0,ia=function(a){var b=Array.prototype.slice.call(arguments,1);return function(){var c=Array.prototype.slice.call(arguments);c.unshift.apply(c,b);return a.apply(this,c)}},w=function(a,b){function c(){}c.prototype=b.prototype;a.c=
b.prototype;a.prototype=new c;a.prototype.constructor=a};var ja=function(a){this.stack=Error().stack||"";if(a)this.message=String(a)};w(ja,Error);ja.prototype.name="CustomError";var ka=function(a){for(var b=1;b<arguments.length;b++){var c=String(arguments[b]).replace(/\$/g,"$$$$");a=a.replace(/\%s/,c)}return a},la=function(a){return a.replace(/^[\s\xa0]+|[\s\xa0]+$/g,"")},ra=function(a,b){if(b)return a.replace(ma,"&amp;").replace(na,"&lt;").replace(oa,"&gt;").replace(pa,"&quot;");else{if(!qa.test(a))return a;if(a.indexOf("&")!=-1)a=a.replace(ma,"&amp;");if(a.indexOf("<")!=-1)a=a.replace(na,"&lt;");if(a.indexOf(">")!=-1)a=a.replace(oa,"&gt;");if(a.indexOf('"')!=-1)a=a.replace(pa,
"&quot;");return a}},ma=/&/g,na=/</g,oa=/>/g,pa=/\"/g,qa=/[&<>\"]/,ta=function(a,b){for(var c=0,d=la(String(a)).split("."),f=la(String(b)).split("."),g=Math.max(d.length,f.length),i=0;c==0&&i<g;i++){var l=d[i]||"",m=f[i]||"",n=RegExp("(\\d*)(\\D*)","g"),z=RegExp("(\\d*)(\\D*)","g");do{var o=n.exec(l)||["","",""],p=z.exec(m)||["","",""];if(o[0].length==0&&p[0].length==0)break;c=sa(o[1].length==0?0:parseInt(o[1],10),p[1].length==0?0:parseInt(p[1],10))||sa(o[2].length==0,p[2].length==0)||sa(o[2],p[2])}while(c==
0)}return c},sa=function(a,b){if(a<b)return-1;else if(a>b)return 1;return 0};var ua=function(a,b){b.unshift(a);ja.call(this,ka.apply(j,b));b.shift();this.lc=a};w(ua,ja);ua.prototype.name="AssertionError";var va=function(a,b){if(!a){var c=Array.prototype.slice.call(arguments,2),d="Assertion failed";if(b){d+=": "+b;var f=c}e(new ua(""+d,f||[]))}return a};var x=Array.prototype,wa=x.indexOf?function(a,b,c){va(a.length!=j);return x.indexOf.call(a,b,c)}:function(a,b,c){c=c==j?0:c<0?Math.max(0,a.length+c):c;if(t(a)){if(!t(b)||b.length!=1)return-1;return a.indexOf(b,c)}for(c=c;c<a.length;c++)if(c in a&&a[c]===b)return c;return-1},xa=x.forEach?function(a,b,c){va(a.length!=j);x.forEach.call(a,b,c)}:function(a,b,c){for(var d=a.length,f=t(a)?a.split(""):a,g=0;g<d;g++)g in f&&b.call(c,f[g],g,a)},ya=x.every?function(a,b,c){va(a.length!=j);return x.every.call(a,
b,c)}:function(a,b,c){for(var d=a.length,f=t(a)?a.split(""):a,g=0;g<d;g++)if(g in f&&!b.call(c,f[g],g,a))return k;return h},za=function(a,b){return wa(a,b)>=0},Aa=function(a,b){var c=wa(a,b),d;if(d=c>=0){va(a.length!=j);x.splice.call(a,c,1)}return d},Ba=function(){return x.concat.apply(x,arguments)},Ca=function(a){if(s(a))return Ba(a);else{for(var b=[],c=0,d=a.length;c<d;c++)b[c]=a[c];return b}},Ea=function(a){va(a.length!=j);return x.splice.apply(a,Da(arguments,1))},Da=function(a,b,c){va(a.length!=
j);return arguments.length<=2?x.slice.call(a,b):x.slice.call(a,b,c)};var Fa=function(a,b,c){for(var d in a)b.call(c,a[d],d,a)},Ga=function(a,b){var c;if(c=b in a)delete a[b];return c},Ha=function(a,b,c){if(b in a)e(Error('The object already contains the key "'+b+'"'));a[b]=c},Ia=function(a){var b={},c;for(c in a)b[a[c]]=c;return b},Ja=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Ka=function(a){for(var b,c,d=1;d<arguments.length;d++){c=arguments[d];for(b in c)a[b]=c[b];for(var f=0;f<Ja.length;f++){b=Ja[f];
if(Object.prototype.hasOwnProperty.call(c,b))a[b]=c[b]}}},La=function(){var a=arguments.length;if(a==1&&s(arguments[0]))return La.apply(j,arguments[0]);if(a%2)e(Error("Uneven number of arguments"));for(var b={},c=0;c<a;c+=2)b[arguments[c]]=arguments[c+1];return b};var Ma,Na,Oa,Pa,Qa=function(){return r.navigator?r.navigator.userAgent:j};Pa=Oa=Na=Ma=k;var Ra;if(Ra=Qa()){var Sa=r.navigator;Ma=Ra.indexOf("Opera")==0;Na=!Ma&&Ra.indexOf("MSIE")!=-1;Oa=!Ma&&Ra.indexOf("WebKit")!=-1;Pa=!Ma&&!Oa&&Sa.product=="Gecko"}var Ta=Ma,y=Na,A=Pa,B=Oa,Ua=r.navigator,Va=(Ua&&Ua.platform||"").indexOf("Mac")!=-1,Wa;
a:{var Xa="",Ya;if(Ta&&r.opera){var Za=r.opera.version;Xa=typeof Za=="function"?Za():Za}else{if(A)Ya=/rv\:([^\);]+)(\)|;)/;else if(y)Ya=/MSIE\s+([^\);]+)(\)|;)/;else if(B)Ya=/WebKit\/(\S+)/;if(Ya){var $a=Ya.exec(Qa());Xa=$a?$a[1]:""}}if(y){var ab,bb=r.document;ab=bb?bb.documentMode:undefined;if(ab>parseFloat(Xa)){Wa=String(ab);break a}}Wa=Xa}var cb=Wa,db={},C=function(a){return db[a]||(db[a]=ta(cb,a)>=0)};var eb,fb=!y||C("9"),gb=y&&!C("9");var hb=function(a){return(a=a.className)&&typeof a.split=="function"?a.split(/\s+/):[]},D=function(a){var b=hb(a),c;c=Da(arguments,1);for(var d=0,f=0;f<c.length;f++)if(!za(b,c[f])){b.push(c[f]);d++}c=d==c.length;a.className=b.join(" ");return c},ib=function(a){var b=hb(a),c;c=Da(arguments,1);for(var d=0,f=0;f<b.length;f++)if(za(c,b[f])){Ea(b,f--,1);d++}c=d==c.length;a.className=b.join(" ");return c};var lb=function(a){return a?new jb(kb(a)):eb||(eb=new jb)},mb=function(a){return t(a)?document.getElementById(a):a},nb=function(a,b,c,d){a=d||a;b=b&&b!="*"?b.toUpperCase():"";if(a.querySelectorAll&&a.querySelector&&(!B||document.compatMode=="CSS1Compat"||C("528"))&&(b||c))return a.querySelectorAll(b+(c?"."+c:""));if(c&&a.getElementsByClassName){a=a.getElementsByClassName(c);if(b){d={};for(var f=0,g=0,i;i=a[g];g++)if(b==i.nodeName)d[f++]=i;d.length=f;return d}else return a}a=a.getElementsByTagName(b||
"*");if(c){d={};for(g=f=0;i=a[g];g++){b=i.className;if(typeof b.split=="function"&&za(b.split(/\s+/),c))d[f++]=i}d.length=f;return d}else return a},pb=function(a,b){Fa(b,function(c,d){if(d=="style")a.style.cssText=c;else if(d=="class")a.className=c;else if(d=="for")a.htmlFor=c;else if(d in ob)a.setAttribute(ob[d],c);else a[d]=c})},ob={cellpadding:"cellPadding",cellspacing:"cellSpacing",colspan:"colSpan",rowspan:"rowSpan",valign:"vAlign",height:"height",width:"width",usemap:"useMap",frameborder:"frameBorder",
type:"type"},rb=function(){return qb(document,arguments)},qb=function(a,b){var c=b[0],d=b[1];if(!fb&&d&&(d.name||d.type)){c=["<",c];d.name&&c.push(' name="',ra(d.name),'"');if(d.type){c.push(' type="',ra(d.type),'"');var f={};Ka(f,d);d=f;delete d.type}c.push(">");c=c.join("")}c=a.createElement(c);if(d)if(t(d))c.className=d;else s(d)?D.apply(j,[c].concat(d)):pb(c,d);b.length>2&&sb(a,c,b,2);return c},sb=function(a,b,c,d){function f(l){if(l)b.appendChild(t(l)?a.createTextNode(l):l)}for(d=d;d<c.length;d++){var g=
c[d];if(ea(g)&&!(fa(g)&&g.nodeType>0)){var i;a:{if(g&&typeof g.length=="number")if(fa(g)){i=typeof g.item=="function"||typeof g.item=="string";break a}else if(u(g)){i=typeof g.item=="function";break a}i=k}xa(i?Ca(g):g,f)}else f(g)}},tb=function(a){return a&&a.parentNode?a.parentNode.removeChild(a):j},ub=function(a,b){if(a.contains&&b.nodeType==1)return a==b||a.contains(b);if(typeof a.compareDocumentPosition!="undefined")return a==b||Boolean(a.compareDocumentPosition(b)&16);for(;b&&a!=b;)b=b.parentNode;
return b==a},kb=function(a){return a.nodeType==9?a:a.ownerDocument||a.document},vb=function(a,b){if("textContent"in a)a.textContent=b;else if(a.firstChild&&a.firstChild.nodeType==3){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(kb(a).createTextNode(b))}},wb={SCRIPT:1,STYLE:1,HEAD:1,IFRAME:1,OBJECT:1},xb={IMG:" ",BR:"\n"},yb=function(a){var b=a.getAttributeNode("tabindex");if(b&&b.specified){a=a.tabIndex;
return typeof a=="number"&&a>=0}return k},zb=function(a,b,c){if(!(a.nodeName in wb))if(a.nodeType==3)c?b.push(String(a.nodeValue).replace(/(\r\n|\r|\n)/g,"")):b.push(a.nodeValue);else if(a.nodeName in xb)b.push(xb[a.nodeName]);else for(a=a.firstChild;a;){zb(a,b,c);a=a.nextSibling}},jb=function(a){this.H=a||r.document||document};q=jb.prototype;q.Fa=lb;q.b=function(a){return t(a)?this.H.getElementById(a):a};q.m=function(){return qb(this.H,arguments)};q.createElement=function(a){return this.H.createElement(a)};
q.createTextNode=function(a){return this.H.createTextNode(a)};q.appendChild=function(a,b){a.appendChild(b)};q.contains=ub;var Ab,Bb=!y||C("9"),Cb=y&&!C("8");var E=function(){};E.prototype.Sa=k;E.prototype.M=function(){if(!this.Sa){this.Sa=h;this.f()}};E.prototype.f=function(){};var F=function(a,b){this.type=a;this.currentTarget=this.target=b};w(F,E);q=F.prototype;q.f=function(){delete this.type;delete this.target;delete this.currentTarget};q.ca=k;q.ua=h;q.stopPropagation=function(){this.ca=h};q.preventDefault=function(){this.ua=k};var G=function(a,b){a&&this.ta(a,b)};w(G,F);var Db=[1,4,2];q=G.prototype;q.target=j;q.relatedTarget=j;q.offsetX=0;q.offsetY=0;q.clientX=0;q.clientY=0;q.screenX=0;q.screenY=0;q.button=0;q.keyCode=0;q.charCode=0;q.ctrlKey=k;q.altKey=k;q.shiftKey=k;q.metaKey=k;q.hc=k;q.N=j;
q.ta=function(a,b){var c=this.type=a.type;this.target=a.target||a.srcElement;this.currentTarget=b;var d=a.relatedTarget;if(d){if(A)try{d=d.nodeName&&d}catch(f){d=j}}else if(c=="mouseover")d=a.fromElement;else if(c=="mouseout")d=a.toElement;this.relatedTarget=d;this.offsetX=a.offsetX!==undefined?a.offsetX:a.layerX;this.offsetY=a.offsetY!==undefined?a.offsetY:a.layerY;this.clientX=a.clientX!==undefined?a.clientX:a.pageX;this.clientY=a.clientY!==undefined?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||(c=="keypress"?a.keyCode:0);this.ctrlKey=a.ctrlKey;this.altKey=a.altKey;this.shiftKey=a.shiftKey;this.metaKey=a.metaKey;this.hc=Va?a.metaKey:a.ctrlKey;this.state=a.state;this.N=a;delete this.ua;delete this.ca};var Eb=function(a,b){return Bb?a.N.button==b:a.type=="click"?b==0:!!(a.N.button&Db[b])};
G.prototype.stopPropagation=function(){G.c.stopPropagation.call(this);if(this.N.stopPropagation)this.N.stopPropagation();else this.N.cancelBubble=h};G.prototype.preventDefault=function(){G.c.preventDefault.call(this);var a=this.N;if(a.preventDefault)a.preventDefault();else{a.returnValue=k;if(Cb)try{if(a.ctrlKey||a.keyCode>=112&&a.keyCode<=123)a.keyCode=-1}catch(b){}}};G.prototype.f=function(){G.c.f.call(this);this.relatedTarget=this.currentTarget=this.target=this.N=j};var H=function(a,b){this.xb=b;this.aa=[];if(a>this.xb)e(Error("[goog.structs.SimplePool] Initial cannot be greater than max"));for(var c=0;c<a;c++)this.aa.push(this.K?this.K():{})};w(H,E);H.prototype.K=j;H.prototype.ob=j;var Fb=function(a){if(a.aa.length)return a.aa.pop();return a.K?a.K():{}},Hb=function(a,b){a.aa.length<a.xb?a.aa.push(b):Gb(a,b)},Gb=function(a,b){if(a.ob)a.ob(b);else if(fa(b))if(u(b.M))b.M();else for(var c in b)delete b[c]};
H.prototype.f=function(){H.c.f.call(this);for(var a=this.aa;a.length;)Gb(this,a.pop());delete this.aa};var Ib;var Jb=(Ib="ScriptEngine"in r&&r.ScriptEngine()=="JScript")?r.ScriptEngineMajorVersion()+"."+r.ScriptEngineMinorVersion()+"."+r.ScriptEngineBuildVersion():"0";var Kb=function(){},Lb=0;q=Kb.prototype;q.key=0;q.ka=k;q.lb=k;q.ta=function(a,b,c,d,f,g){if(u(a))this.tb=h;else if(a&&a.handleEvent&&u(a.handleEvent))this.tb=k;else e(Error("Invalid listener argument"));this.ia=a;this.zb=b;this.src=c;this.type=d;this.capture=!!f;this.Ha=g;this.lb=k;this.key=++Lb;this.ka=k};q.handleEvent=function(a){if(this.tb)return this.ia.call(this.Ha||this.src,a);return this.ia.handleEvent.call(this.ia,a)};var Mb,Nb,Ob,Pb,Qb,Rb,Sb,Tb,Ub,Vb,Wb;
(function(){function a(){return{G:0,C:0}}function b(){return[]}function c(){var p=function(I){return i.call(p.src,p.key,I)};return p}function d(){return new Kb}function f(){return new G}var g=Ib&&!(ta(Jb,"5.7")>=0),i;Rb=function(p){i=p};if(g){Mb=function(){return Fb(l)};Nb=function(p){Hb(l,p)};Ob=function(){return Fb(m)};Pb=function(p){Hb(m,p)};Qb=function(){return Fb(n)};Sb=function(){Hb(n,c())};Tb=function(){return Fb(z)};Ub=function(p){Hb(z,p)};Vb=function(){return Fb(o)};Wb=function(p){Hb(o,p)};
var l=new H(0,600);l.K=a;var m=new H(0,600);m.K=b;var n=new H(0,600);n.K=c;var z=new H(0,600);z.K=d;var o=new H(0,600);o.K=f}else{Mb=a;Nb=ba;Ob=b;Pb=ba;Qb=c;Sb=ba;Tb=d;Ub=ba;Vb=f;Wb=ba}})();var Xb={},J={},K={},Yb={},L=function(a,b,c,d,f){if(b)if(s(b)){for(var g=0;g<b.length;g++)L(a,b[g],c,d,f);return j}else{d=!!d;var i=J;b in i||(i[b]=Mb());i=i[b];if(!(d in i)){i[d]=Mb();i.G++}i=i[d];var l=v(a),m;i.C++;if(i[l]){m=i[l];for(g=0;g<m.length;g++){i=m[g];if(i.ia==c&&i.Ha==f){if(i.ka)break;return m[g].key}}}else{m=i[l]=Ob();i.G++}g=Qb();g.src=a;i=Tb();i.ta(c,g,a,b,d,f);c=i.key;g.key=c;m.push(i);Xb[c]=i;K[l]||(K[l]=Ob());K[l].push(i);if(a.addEventListener){if(a==r||!a.nb)a.addEventListener(b,
g,d)}else a.attachEvent(Zb(b),g);return c}else e(Error("Invalid event type"))},$b=function(a,b,c,d,f){if(s(b)){for(var g=0;g<b.length;g++)$b(a,b[g],c,d,f);return j}d=!!d;a=ac(a,b,d);if(!a)return k;for(g=0;g<a.length;g++)if(a[g].ia==c&&a[g].capture==d&&a[g].Ha==f)return M(a[g].key);return k},M=function(a){if(!Xb[a])return k;var b=Xb[a];if(b.ka)return k;var c=b.src,d=b.type,f=b.zb,g=b.capture;if(c.removeEventListener){if(c==r||!c.nb)c.removeEventListener(d,f,g)}else c.detachEvent&&c.detachEvent(Zb(d),
f);c=v(c);f=J[d][g][c];if(K[c]){var i=K[c];Aa(i,b);i.length==0&&delete K[c]}b.ka=h;f.yb=h;bc(d,g,c,f);delete Xb[a];return h},bc=function(a,b,c,d){if(!d.Ka)if(d.yb){for(var f=0,g=0;f<d.length;f++)if(d[f].ka){var i=d[f].zb;i.src=j;Sb(i);Ub(d[f])}else{if(f!=g)d[g]=d[f];g++}d.length=g;d.yb=k;if(g==0){Pb(d);delete J[a][b][c];J[a][b].G--;if(J[a][b].G==0){Nb(J[a][b]);delete J[a][b];J[a].G--}if(J[a].G==0){Nb(J[a]);delete J[a]}}}},cc=function(a,b,c){var d=0,f=a==j,g=b==j,i=c==j;c=!!c;if(f)Fa(K,function(m){for(var n=
m.length-1;n>=0;n--){var z=m[n];if((g||b==z.type)&&(i||c==z.capture)){M(z.key);d++}}});else{a=v(a);if(K[a]){a=K[a];for(f=a.length-1;f>=0;f--){var l=a[f];if((g||b==l.type)&&(i||c==l.capture)){M(l.key);d++}}}}return d},ac=function(a,b,c){var d=J;if(b in d){d=d[b];if(c in d){d=d[c];a=v(a);if(d[a])return d[a]}}return j},Zb=function(a){if(a in Yb)return Yb[a];return Yb[a]="on"+a},ec=function(a,b,c,d,f){var g=1;b=v(b);if(a[b]){a.C--;a=a[b];if(a.Ka)a.Ka++;else a.Ka=1;try{for(var i=a.length,l=0;l<i;l++){var m=
a[l];if(m&&!m.ka)g&=dc(m,f)!==k}}finally{a.Ka--;bc(c,d,b,a)}}return Boolean(g)},dc=function(a,b){var c=a.handleEvent(b);a.lb&&M(a.key);return c};
Rb(function(a,b){if(!Xb[a])return h;var c=Xb[a],d=c.type,f=J;if(!(d in f))return h;f=f[d];var g,i;if(Ab===undefined)Ab=y&&!r.addEventListener;if(Ab){var l;if(!(l=b))a:{l="window.event".split(".");for(var m=r;g=l.shift();)if(m[g])m=m[g];else{l=j;break a}l=m}g=l;l=h in f;m=k in f;if(l){if(g.keyCode<0||g.returnValue!=undefined)return h;a:{var n=k;if(g.keyCode==0)try{g.keyCode=-1;break a}catch(z){n=h}if(n||g.returnValue==undefined)g.returnValue=h}}n=Vb();n.ta(g,this);g=h;try{if(l){for(var o=Ob(),p=n.currentTarget;p;p=
p.parentNode)o.push(p);i=f[h];i.C=i.G;for(var I=o.length-1;!n.ca&&I>=0&&i.C;I--){n.currentTarget=o[I];g&=ec(i,o[I],d,h,n)}if(m){i=f[k];i.C=i.G;for(I=0;!n.ca&&I<o.length&&i.C;I++){n.currentTarget=o[I];g&=ec(i,o[I],d,k,n)}}}else g=dc(c,n)}finally{if(o){o.length=0;Pb(o)}n.M();Wb(n)}return g}d=new G(b,this);try{g=dc(c,d)}finally{d.M()}return g});var fc=function(a){this.rb=a};w(fc,E);
var gc=new H(0,100),N=function(a,b,c,d,f,g){if(s(c))for(var i=0;i<c.length;i++)N(a,b,c[i],d,f,g);else{b=L(b,c,d||a,f||k,g||a.rb||a);if(a.v)a.v[b]=h;else if(a.T){a.v=Fb(gc);a.v[a.T]=h;a.T=j;a.v[b]=h}else a.T=b}return a},O=function(a,b,c,d,f,g){if(a.T||a.v)if(s(c))for(var i=0;i<c.length;i++)O(a,b,c[i],d,f,g);else{a:{d=d||a;g=g||a.rb||a;f=!!(f||k);if(b=ac(b,c,f))for(c=0;c<b.length;c++)if(b[c].ia==d&&b[c].capture==f&&b[c].Ha==g){b=b[c];break a}b=j}if(b){b=b.key;M(b);if(a.v)Ga(a.v,b);else if(a.T==b)a.T=
j}}return a},hc=function(a){if(a.v){for(var b in a.v){M(b);delete a.v[b]}Hb(gc,a.v);a.v=j}else a.T&&M(a.T)};fc.prototype.f=function(){fc.c.f.call(this);hc(this)};fc.prototype.handleEvent=function(){e(Error("EventHandler.handleEvent not implemented"))};var ic=function(){};w(ic,E);q=ic.prototype;q.nb=h;q.La=j;q.hb=function(a){this.La=a};q.addEventListener=function(a,b,c,d){L(this,a,b,c,d)};q.removeEventListener=function(a,b,c,d){$b(this,a,b,c,d)};
q.dispatchEvent=function(a){a=a;if(t(a))a=new F(a,this);else if(a instanceof F)a.target=a.target||this;else{var b=a;a=new F(a.type,this);Ka(a,b)}b=1;var c,d=a.type,f=J;if(d in f){f=f[d];d=h in f;var g;if(d){c=[];for(g=this;g;g=g.La)c.push(g);g=f[h];g.C=g.G;for(var i=c.length-1;!a.ca&&i>=0&&g.C;i--){a.currentTarget=c[i];b&=ec(g,c[i],a.type,h,a)&&a.ua!=k}}if(k in f){g=f[k];g.C=g.G;if(d)for(i=0;!a.ca&&i<c.length&&g.C;i++){a.currentTarget=c[i];b&=ec(g,c[i],a.type,k,a)&&a.ua!=k}else for(c=this;!a.ca&&
c&&g.C;c=c.La){a.currentTarget=c;b&=ec(g,c,a.type,k,a)&&a.ua!=k}}a=Boolean(b)}else a=h;return a};q.f=function(){ic.c.f.call(this);cc(this);this.La=j};var jc=function(a,b){a.style.display=b?"":"none"},kc=A?"MozUserSelect":B?"WebkitUserSelect":j,lc=function(a,b,c){c=!c?a.getElementsByTagName("*"):j;if(kc){b=b?"none":"";a.style[kc]=b;if(c){a=0;for(var d;d=c[a];a++)d.style[kc]=b}}else if(y||Ta){b=b?"on":"";a.setAttribute("unselectable",b);if(c)for(a=0;d=c[a];a++)d.setAttribute("unselectable",b)}};var mc=function(){};ca(mc);mc.prototype.dc=0;mc.Q();var P=function(a){this.q=a||lb();this.va=nc};w(P,ic);P.prototype.ac=mc.Q();var nc=j,oc=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"}e(Error("Invalid component state"))};q=P.prototype;q.ga=j;q.e=k;q.d=j;q.va=j;q.cc=j;q.j=j;q.p=j;q.A=j;q.Db=k;
var pc=function(a){return a.ga||(a.ga=":"+(a.ac.dc++).toString(36))},qc=function(a,b){if(a.j&&a.j.A){Ga(a.j.A,a.ga);Ha(a.j.A,b,a)}a.ga=b};P.prototype.b=function(){return this.d};var rc=function(a){return a.fa||(a.fa=new fc(a))},tc=function(a,b){if(a==b)e(Error("Unable to set parent component"));if(b&&a.j&&a.ga&&sc(a.j,a.ga)&&a.j!=b)e(Error("Unable to set parent component"));a.j=b;P.c.hb.call(a,b)};q=P.prototype;
q.hb=function(a){if(this.j&&this.j!=a)e(Error("Method not supported"));P.c.hb.call(this,a)};q.Fa=function(){return this.q};q.m=function(){this.d=this.q.createElement("div")};q.L=function(a){if(this.e)e(Error("Component already rendered"));else if(a&&this.X(a)){this.Db=h;if(!this.q||this.q.H!=kb(a))this.q=lb(a);this.Ra(a);this.t()}else e(Error("Invalid element to decorate"))};q.X=function(){return h};q.Ra=function(a){this.d=a};q.t=function(){this.e=h;uc(this,function(a){!a.e&&a.b()&&a.t()})};
q.$=function(){uc(this,function(a){a.e&&a.$()});this.fa&&hc(this.fa);this.e=k};q.f=function(){P.c.f.call(this);this.e&&this.$();if(this.fa){this.fa.M();delete this.fa}uc(this,function(a){a.M()});!this.Db&&this.d&&tb(this.d);this.j=this.cc=this.d=this.A=this.p=j};q.Ba=function(a,b){this.Pa(a,vc(this),b)};
q.Pa=function(a,b,c){if(a.e&&(c||!this.e))e(Error("Component already rendered"));if(b<0||b>vc(this))e(Error("Child component index out of bounds"));if(!this.A||!this.p){this.A={};this.p=[]}if(a.j==this){this.A[pc(a)]=a;Aa(this.p,a)}else Ha(this.A,pc(a),a);tc(a,this);Ea(this.p,b,0,a);if(a.e&&this.e&&a.j==this){c=this.I();c.insertBefore(a.b(),c.childNodes[b]||j)}else if(c){this.d||this.m();c=Q(this,b+1);b=this.I();c=c?c.d:j;if(a.e)e(Error("Component already rendered"));a.d||a.m();b?b.insertBefore(a.d,
c||j):a.q.H.body.appendChild(a.d);if(!a.j||a.j.e)a.t()}else this.e&&!a.e&&a.d&&a.t()};q.I=function(){return this.d};var wc=function(a){if(a.va==j){var b;a:{b=a.e?a.d:a.q.H.body;var c=kb(b);if(c.defaultView&&c.defaultView.getComputedStyle)if(b=c.defaultView.getComputedStyle(b,"")){b=b.direction;break a}b=j}a.va="rtl"==(b||((a.e?a.d:a.q.H.body).currentStyle?(a.e?a.d:a.q.H.body).currentStyle.direction:j)||(a.e?a.d:a.q.H.body).style.direction)}return a.va};
P.prototype.ya=function(a){if(this.e)e(Error("Component already rendered"));this.va=a};var vc=function(a){return a.p?a.p.length:0},sc=function(a,b){var c;if(a.A&&b){c=a.A;c=b in c?c[b]:void 0;c=c||j}else c=j;return c},Q=function(a,b){return a.p?a.p[b]||j:j},uc=function(a,b,c){a.p&&xa(a.p,b,c)},xc=function(a,b){return a.p&&b?wa(a.p,b):-1};
P.prototype.removeChild=function(a,b){if(a){var c=t(a)?a:pc(a);a=sc(this,c);if(c&&a){Ga(this.A,c);Aa(this.p,a);if(b){a.$();a.d&&tb(a.d)}tc(a,j)}}if(!a)e(Error("Child is not in parent component"));return a};var yc=function(a,b){if(A){a.setAttribute("role",b);a.mc=b}};var Ac=function(a,b,c,d,f){if(!y&&!(B&&C("525")))return h;if(Va&&f)return zc(a);if(f&&!d)return k;if(!c&&(b==17||b==18))return k;if(y&&d&&b==a)return k;switch(a){case 13:return h;case 27:return!B}return zc(a)},zc=function(a){if(a>=48&&a<=57)return h;if(a>=96&&a<=106)return h;if(a>=65&&a<=90)return h;if(B&&a==0)return h;switch(a){case 32:case 63:case 107:case 109:case 110:case 111:case 186:case 189:case 187:case 188:case 190:case 191:case 192:case 222:case 219:case 220:case 221:return h;default:return k}};var R=function(a,b){a&&Bc(this,a,b)};w(R,ic);q=R.prototype;q.d=j;q.Ia=j;q.cb=j;q.Ja=j;q.U=-1;q.S=-1;
var Cc={"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},Dc={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},Ec={61:187,
59:186},Fc=y||B&&C("525");R.prototype.Tb=function(a){if(B&&(this.U==17&&!a.ctrlKey||this.U==18&&!a.altKey))this.S=this.U=-1;if(Fc&&!Ac(a.keyCode,this.U,a.shiftKey,a.ctrlKey,a.altKey))this.handleEvent(a);else this.S=A&&a.keyCode in Ec?Ec[a.keyCode]:a.keyCode};R.prototype.Ub=function(){this.S=this.U=-1};
R.prototype.handleEvent=function(a){var b=a.N,c,d;if(y&&a.type=="keypress"){c=this.S;d=c!=13&&c!=27?b.keyCode:0}else if(B&&a.type=="keypress"){c=this.S;d=b.charCode>=0&&b.charCode<63232&&zc(c)?b.charCode:0}else if(Ta){c=this.S;d=zc(c)?b.keyCode:0}else{c=b.keyCode||this.S;d=b.charCode||0;if(Va&&d==63&&!c)c=191}var f=c,g=b.keyIdentifier;if(c)if(c>=63232&&c in Cc)f=Cc[c];else{if(c==25&&a.shiftKey)f=9}else if(g&&g in Dc)f=Dc[g];a=f==this.U;this.U=f;b=new Gc(f,d,a,b);try{this.dispatchEvent(b)}finally{b.M()}};
R.prototype.b=function(){return this.d};var Bc=function(a,b,c){a.Ja&&a.detach();a.d=b;a.Ia=L(a.d,"keypress",a,c);a.cb=L(a.d,"keydown",a.Tb,c,a);a.Ja=L(a.d,"keyup",a.Ub,c,a)};R.prototype.detach=function(){if(this.Ia){M(this.Ia);M(this.cb);M(this.Ja);this.Ja=this.cb=this.Ia=j}this.d=j;this.S=this.U=-1};R.prototype.f=function(){R.c.f.call(this);this.detach()};var Gc=function(a,b,c,d){d&&this.ta(d,void 0);this.type="key";this.keyCode=a;this.charCode=b;this.repeat=c};w(Gc,G);var Ic=function(a,b){if(!a)e(Error("Invalid class name "+a));if(!u(b))e(Error("Invalid decorator function "+b));Hc[a]=b},Jc={},Hc={};var Kc=function(){},Lc;ca(Kc);q=Kc.prototype;q.ea=function(){};q.m=function(a){return a.Fa().m("div",this.oa(a).join(" "),a.la)};q.I=function(a){return a};q.na=function(a,b,c){if(a=a.b?a.b():a)if(y&&!C("7")){var d=Mc(this,hb(a),b);d.push(b);ia(c?D:ib,a).apply(j,d)}else c?D(a,b):ib(a,b)};q.X=function(){return h};
q.L=function(a,b){b.id&&qc(a,b.id);var c=this.I(b);if(c&&c.firstChild)Nc(a,c.firstChild.nextSibling?Ca(c.childNodes):c.firstChild);else a.la=j;var d=0,f=this.o(),g=this.o(),i=k,l=k;c=k;var m=hb(b);xa(m,function(o){if(!i&&o==f){i=h;if(g==f)l=h}else if(!l&&o==g)l=h;else{var p=d;if(!this.Ab){this.Ea||Oc(this);this.Ab=Ia(this.Ea)}o=parseInt(this.Ab[o],10);d=p|(isNaN(o)?0:o)}},this);a.l=d;if(!i){m.push(f);if(g==f)l=h}l||m.push(g);var n=a.B;n&&m.push.apply(m,n);if(y&&!C("7")){var z=Mc(this,m);if(z.length>
0){m.push.apply(m,z);c=h}}if(!i||!l||n||c)b.className=m.join(" ");return b};q.bb=function(a){wc(a)&&this.ya(a.b(),h);a.i()&&this.xa(a,a.J())};q.Ma=function(a,b){lc(a,!b,!y&&!Ta)};q.ya=function(a,b){this.na(a,this.o()+"-rtl",b)};q.ba=function(a){var b;if(a.z&32&&(b=a.n()))return yb(b);return k};q.xa=function(a,b){var c;if(a.z&32&&(c=a.n())){if(!b&&a.l&32){try{c.blur()}catch(d){}a.l&32&&a.pa(j)}if(yb(c)!=b){c=c;if(b)c.tabIndex=0;else c.removeAttribute("tabIndex")}}};q.za=function(a,b){jc(a,b)};
q.w=function(a,b,c){var d=a.b();if(d){var f=Pc(this,b);f&&this.na(a,f,c);if(A){Lc||(Lc=La(1,"disabled",4,"pressed",8,"selected",16,"checked",64,"expanded"));(a=Lc[b])&&A&&d.setAttribute("aria-"+a,c)}}};q.n=function(a){return a.b()};q.o=function(){return"goog-control"};q.oa=function(a){var b=this.o(),c=[b],d=this.o();d!=b&&c.push(d);b=a.l;for(d=[];b;){var f=b&-b;d.push(Pc(this,f));b&=~f}c.push.apply(c,d);(a=a.B)&&c.push.apply(c,a);y&&!C("7")&&c.push.apply(c,Mc(this,c));return c};
var Mc=function(a,b,c){var d=[];if(c)b=b.concat([c]);xa([],function(f){if(ya(f,ia(za,b))&&(!c||za(f,c)))d.push(f.join("_"))});return d},Pc=function(a,b){a.Ea||Oc(a);return a.Ea[b]},Oc=function(a){var b=a.o();a.Ea=La(1,b+"-disabled",2,b+"-hover",4,b+"-active",8,b+"-selected",16,b+"-checked",32,b+"-focused",64,b+"-open")};var S=function(a,b,c){P.call(this,c);if(!(b=b)){b=this.constructor;for(var d;b;){d=v(b);if(d=Jc[d])break;b=b.c?b.c.constructor:j}b=d?u(d.Q)?d.Q():new d:j}this.a=b;this.la=a};w(S,P);q=S.prototype;q.la=j;q.l=0;q.z=39;q.Ib=255;q.Na=0;q.r=h;q.B=j;q.sa=h;q.Ca=k;q.n=function(){return this.a.n(this)};q.Ga=function(){return this.u||(this.u=new R)};q.pb=function(){return this.a};
q.na=function(a,b){if(b){if(a){if(this.B)za(this.B,a)||this.B.push(a);else this.B=[a];this.a.na(this,a,h)}}else if(a&&this.B){Aa(this.B,a);if(this.B.length==0)this.B=j;this.a.na(this,a,k)}};q.m=function(){var a=this.a.m(this);this.d=a;if(A){var b=this.a.ea();b&&yc(a,b)}this.Ca||this.a.Ma(a,k);this.J()||this.a.za(a,k)};q.I=function(){return this.a.I(this.b())};q.X=function(a){return this.a.X(a)};
q.Ra=function(a){this.d=a=this.a.L(this,a);if(A){var b=this.a.ea();b&&yc(a,b)}this.Ca||this.a.Ma(a,k);this.r=a.style.display!="none"};q.t=function(){S.c.t.call(this);this.a.bb(this);if(this.z&-2){this.sa&&Qc(this,h);if(this.z&32){var a=this.n();if(a){var b=this.Ga();Bc(b,a);N(N(N(rc(this),b,"key",this.R),a,"focus",this.qa),a,"blur",this.pa)}}}};
var Qc=function(a,b){var c=rc(a),d=a.b();if(b){N(N(N(N(c,d,"mouseover",a.Za),d,"mousedown",a.ra),d,"mouseup",a.$a),d,"mouseout",a.Ya);y&&N(c,d,"dblclick",a.qb)}else{O(O(O(O(c,d,"mouseover",a.Za),d,"mousedown",a.ra),d,"mouseup",a.$a),d,"mouseout",a.Ya);y&&O(c,d,"dblclick",a.qb)}};S.prototype.$=function(){S.c.$.call(this);this.u&&this.u.detach();this.J()&&this.i()&&this.a.xa(this,k)};S.prototype.f=function(){S.c.f.call(this);if(this.u){this.u.M();delete this.u}delete this.a;this.B=this.la=j};
var Nc=function(a,b){a.la=b};q=S.prototype;q.ya=function(a){S.c.ya.call(this,a);var b=this.b();b&&this.a.ya(b,a)};q.Ma=function(a){this.Ca=a;var b=this.b();b&&this.a.Ma(b,a)};q.J=function(){return this.r};q.za=function(a,b){if(b||this.r!=a&&this.dispatchEvent(a?"show":"hide")){var c=this.b();c&&this.a.za(c,a);this.i()&&this.a.xa(this,a);this.r=a;return h}return k};q.i=function(){return!!!(this.l&1)};
q.wa=function(a){var b=this.j;if(!(b&&typeof b.i=="function"&&!b.i())&&T(this,1,!a)){if(!a){this.setActive(k);this.F(k)}this.J()&&this.a.xa(this,a);this.w(1,!a)}};q.F=function(a){T(this,2,a)&&this.w(2,a)};q.setActive=function(a){T(this,4,a)&&this.w(4,a)};var Rc=function(a,b){T(a,8,b)&&a.w(8,b)},Sc=function(a,b){T(a,64,b)&&a.w(64,b)};S.prototype.w=function(a,b){if(this.z&a&&b!=!!(this.l&a)){this.a.w(this,a,b);this.l=b?this.l|a:this.l&~a}};
var Tc=function(a,b,c){if(a.e&&a.l&b&&!c)e(Error("Component already rendered"));!c&&a.l&b&&a.w(b,k);a.z=c?a.z|b:a.z&~b},U=function(a,b){return!!(a.Ib&b)&&!!(a.z&b)},T=function(a,b,c){return!!(a.z&b)&&!!(a.l&b)!=c&&(!(a.Na&b)||a.dispatchEvent(oc(b,c)))&&!a.Sa};q=S.prototype;q.Za=function(a){!(a.relatedTarget&&ub(this.b(),a.relatedTarget))&&this.dispatchEvent("enter")&&this.i()&&U(this,2)&&this.F(h)};
q.Ya=function(a){if(!(a.relatedTarget&&ub(this.b(),a.relatedTarget))&&this.dispatchEvent("leave")){U(this,4)&&this.setActive(k);U(this,2)&&this.F(k)}};q.ra=function(a){if(this.i()){U(this,2)&&this.F(h);if(Eb(a,0)){U(this,4)&&this.setActive(h);this.a.ba(this)&&this.n().focus()}}!this.Ca&&Eb(a,0)&&a.preventDefault()};q.$a=function(a){if(this.i()){U(this,2)&&this.F(h);this.l&4&&Uc(this,a)&&U(this,4)&&this.setActive(k)}};q.qb=function(a){this.i()&&Uc(this,a)};
var Uc=function(a,b){if(U(a,16)){var c=!!!(a.l&16);T(a,16,c)&&a.w(16,c)}U(a,8)&&Rc(a,h);U(a,64)&&Sc(a,!!!(a.l&64));c=new F("action",a);if(b)for(var d=["altKey","ctrlKey","metaKey","shiftKey","platformModifierKey"],f,g=0;f=d[g];g++)c[f]=b[f];return a.dispatchEvent(c)};S.prototype.qa=function(){U(this,32)&&T(this,32,h)&&this.w(32,h)};S.prototype.pa=function(){U(this,4)&&this.setActive(k);U(this,32)&&T(this,32,k)&&this.w(32,k)};
S.prototype.R=function(a){if(this.J()&&this.i()&&this.Xa(a)){a.preventDefault();a.stopPropagation();return h}return k};S.prototype.Xa=function(a){return a.keyCode==13&&Uc(this,a)};if(!u(S))e(Error("Invalid component class "+S));if(!u(Kc))e(Error("Invalid renderer class "+Kc));var Vc=v(S);Jc[Vc]=Kc;Ic("goog-control",function(){return new S(j)});var Wc=function(){};w(Wc,Kc);ca(Wc);Wc.prototype.m=function(a){return a.Fa().m("div",this.o())};Wc.prototype.L=function(a,b){if(b.tagName=="HR"){var c=b;b=this.m(a);c.parentNode&&c.parentNode.insertBefore(b,c);tb(c)}else D(b,this.o());return b};Wc.prototype.o=function(){return"goog-menuseparator"};var Xc=function(a,b){S.call(this,j,a||Wc.Q(),b);Tc(this,1,k);Tc(this,2,k);Tc(this,4,k);Tc(this,32,k);this.l=1};w(Xc,S);Xc.prototype.t=function(){Xc.c.t.call(this);yc(this.b(),"separator")};Ic("goog-menuseparator",function(){return new Xc});var V=function(){};ca(V);V.prototype.ea=function(){};var Yc=function(a,b,c){if(b)b.tabIndex=c?0:-1};q=V.prototype;q.m=function(a){return a.Fa().m("div",this.oa(a).join(" "))};q.I=function(a){return a};q.X=function(a){return a.tagName=="DIV"};q.L=function(a,b){b.id&&qc(a,b.id);var c=this.o(),d=k,f=hb(b);f&&xa(f,function(g){if(g==c)d=h;else g&&this.ib(a,g,c)},this);d||D(b,c);Zc(this,a,this.I(b));return b};
q.ib=function(a,b,c){if(b==c+"-disabled")a.wa(k);else if(b==c+"-horizontal")$c(a,"horizontal");else b==c+"-vertical"&&$c(a,"vertical")};var Zc=function(a,b,c,d){if(c)for(a=d||c.firstChild;a&&a.parentNode==c;){d=a.nextSibling;if(a.nodeType==1){var f;a:{f=void 0;for(var g=hb(a),i=0,l=g.length;i<l;i++)if(f=g[i]in Hc?Hc[g[i]]():j){f=f;break a}f=j}if(f){f.d=a;b.i()||f.wa(k);b.Ba(f);f.L(a)}}else if(!a.nodeValue||la(a.nodeValue)=="")c.removeChild(a);a=d}};
V.prototype.bb=function(a){a=a.b();lc(a,h,A);if(y)a.hideFocus=h;var b=this.ea();b&&yc(a,b)};V.prototype.n=function(a){return a.b()};V.prototype.o=function(){return"goog-container"};V.prototype.oa=function(a){var b=this.o(),c=[b,a.V=="horizontal"?b+"-horizontal":b+"-vertical"];a.i()||c.push(b+"-disabled");return c};var W=function(a,b,c){P.call(this,c);this.a=b||V.Q();this.V=a||"vertical"};w(W,P);q=W.prototype;q.ub=j;q.u=j;q.a=j;q.V=j;q.r=h;q.Z=h;q.Va=h;q.k=-1;q.g=j;q.ja=k;q.Gb=k;q.gc=h;q.O=j;q.n=function(){return this.ub||this.a.n(this)};q.Ga=function(){return this.u||(this.u=new R(this.n()))};q.pb=function(){return this.a};q.m=function(){this.d=this.a.m(this)};q.I=function(){return this.a.I(this.b())};q.X=function(a){return this.a.X(a)};
q.Ra=function(a){this.d=this.a.L(this,a);if(a.style.display=="none")this.r=k};q.t=function(){W.c.t.call(this);uc(this,function(b){b.e&&ad(this,b)},this);var a=this.b();this.a.bb(this);this.za(this.r,h);N(N(N(N(N(N(N(N(rc(this),this,"enter",this.Rb),this,"highlight",this.Sb),this,"unhighlight",this.$b),this,"open",this.Vb),this,"close",this.Pb),a,"mousedown",this.ra),kb(a),"mouseup",this.Qb),a,["mousedown","mouseup","mouseover","mouseout"],this.Ob);this.ba()&&bd(this,h)};
var bd=function(a,b){var c=rc(a),d=a.n();b?N(N(N(c,d,"focus",a.qa),d,"blur",a.pa),a.Ga(),"key",a.R):O(O(O(c,d,"focus",a.qa),d,"blur",a.pa),a.Ga(),"key",a.R)};q=W.prototype;q.$=function(){cd(this,-1);this.g&&Sc(this.g,k);this.ja=k;W.c.$.call(this)};q.f=function(){W.c.f.call(this);if(this.u){this.u.M();this.u=j}this.a=this.g=this.O=j};q.Rb=function(){return h};
q.Sb=function(a){var b=xc(this,a.target);if(b>-1&&b!=this.k){var c=Q(this,this.k);c&&c.F(k);this.k=b;c=Q(this,this.k);this.ja&&c.setActive(h);if(this.gc&&this.g&&c!=this.g)c.z&64?Sc(c,h):Sc(this.g,k)}A&&this.b().setAttribute("aria-activedescendant",a.target.b().id)};q.$b=function(a){if(a.target==Q(this,this.k))this.k=-1;A&&this.b().setAttribute("aria-activedescendant","")};q.Vb=function(a){if((a=a.target)&&a!=this.g&&a.j==this){this.g&&Sc(this.g,k);this.g=a}};
q.Pb=function(a){if(a.target==this.g)this.g=j};q.ra=function(a){if(this.Z)this.ja=h;var b=this.n();b&&yb(b)?b.focus():a.preventDefault()};q.Qb=function(){this.ja=k};q.Ob=function(a){var b;a:{b=a.target;if(this.O)for(var c=this.b();b&&b!==c;){var d=b.id;if(d in this.O){b=this.O[d];break a}b=b.parentNode}b=j}if(b)switch(a.type){case "mousedown":b.ra(a);break;case "mouseup":b.$a(a);break;case "mouseover":b.Za(a);break;case "mouseout":b.Ya(a)}};q.qa=function(){};
q.pa=function(){cd(this,-1);this.ja=k;this.g&&Sc(this.g,k)};q.R=function(a){if(this.i()&&this.J()&&(vc(this)!=0||this.ub)&&this.Xa(a)){a.preventDefault();a.stopPropagation();return h}return k};
q.Xa=function(a){var b=Q(this,this.k);if(b&&typeof b.R=="function"&&b.R(a))return h;if(this.g&&this.g!=b&&typeof this.g.R=="function"&&this.g.R(a))return h;if(a.shiftKey||a.ctrlKey||a.metaKey||a.altKey)return k;switch(a.keyCode){case 27:if(this.ba())this.n().blur();else return k;break;case 36:dd(this);break;case 35:ed(this);break;case 38:if(this.V=="vertical")fd(this);else return k;break;case 37:if(this.V=="horizontal")wc(this)?gd(this):fd(this);else return k;break;case 40:if(this.V=="vertical")gd(this);
else return k;break;case 39:if(this.V=="horizontal")wc(this)?fd(this):gd(this);else return k;break;default:return k}return h};var ad=function(a,b){var c=b.b();c=c.id||(c.id=pc(b));if(!a.O)a.O={};a.O[c]=b};W.prototype.Ba=function(a,b){W.c.Ba.call(this,a,b)};W.prototype.Pa=function(a,b,c){a.Na|=2;a.Na|=64;if(this.ba()||!this.Gb)Tc(a,32,k);a.e&&k!=a.sa&&Qc(a,k);a.sa=k;W.c.Pa.call(this,a,b,c);c&&this.e&&ad(this,a);b<=this.k&&this.k++};
W.prototype.removeChild=function(a,b){if(a=t(a)?sc(this,a):a){var c=xc(this,a);if(c!=-1)if(c==this.k)a.F(k);else c<this.k&&this.k--;(c=a.b())&&c.id&&Ga(this.O,c.id)}c=a=W.c.removeChild.call(this,a,b);c.e&&h!=c.sa&&Qc(c,h);c.sa=h;return a};var $c=function(a,b){if(a.b())e(Error("Component already rendered"));a.V=b};q=W.prototype;q.J=function(){return this.r};
q.za=function(a,b){if(b||this.r!=a&&this.dispatchEvent(a?"show":"hide")){this.r=a;var c=this.b();if(c){jc(c,a);this.ba()&&Yc(this.a,this.n(),this.Z&&this.r);b||this.dispatchEvent(this.r?"aftershow":"afterhide")}return h}return k};q.i=function(){return this.Z};
q.wa=function(a){if(this.Z!=a&&this.dispatchEvent(a?"enable":"disable")){if(a){this.Z=h;uc(this,function(b){if(b.Eb)delete b.Eb;else b.wa(h)})}else{uc(this,function(b){if(b.i())b.wa(k);else b.Eb=h});this.ja=this.Z=k}this.ba()&&Yc(this.a,this.n(),a&&this.r)}};q.ba=function(){return this.Va};q.xa=function(a){a!=this.Va&&this.e&&bd(this,a);this.Va=a;this.Z&&this.r&&Yc(this.a,this.n(),a)};var cd=function(a,b){var c=Q(a,b);if(c)c.F(h);else a.k>-1&&Q(a,a.k).F(k)};
W.prototype.F=function(a){cd(this,xc(this,a))};var dd=function(a){hd(a,function(b,c){return(b+1)%c},vc(a)-1)},ed=function(a){hd(a,function(b,c){b--;return b<0?c-1:b},0)},gd=function(a){hd(a,function(b,c){return(b+1)%c},a.k)},fd=function(a){hd(a,function(b,c){b--;return b<0?c-1:b},a.k)},hd=function(a,b,c){c=c<0?xc(a,a.g):c;var d=vc(a);c=b.call(a,c,d);for(var f=0;f<=d;){var g=Q(a,c);if(g&&g.J()&&g.i()&&g.z&2){a.gb(c);return h}f++;c=b.call(a,c,d)}return k};W.prototype.gb=function(a){cd(this,a)};var id=function(){};w(id,Kc);ca(id);q=id.prototype;q.o=function(){return"goog-tab"};q.ea=function(){return"tab"};q.m=function(a){var b=id.c.m.call(this,a);(a=a.Wa())&&this.jb(b,a);return b};q.L=function(a,b){b=id.c.L.call(this,a,b);var c=this.Wa(b);if(c)a.Cb=c;if(a.l&8)if((c=a.j)&&u(c.da)){a.w(8,k);c.da(a)}return b};q.Wa=function(a){return a.title||""};q.jb=function(a,b){if(a)a.title=b||""};var jd=function(a,b,c){S.call(this,a,b||id.Q(),c);Tc(this,8,h);this.Na|=9};w(jd,S);jd.prototype.Wa=function(){return this.Cb};jd.prototype.jb=function(a){this.pb().jb(this.b(),a);this.Cb=a};Ic("goog-tab",function(){return new jd(j)});var X=function(){};w(X,V);ca(X);X.prototype.o=function(){return"goog-tab-bar"};X.prototype.ea=function(){return"tablist"};X.prototype.ib=function(a,b,c){if(!this.vb){this.Da||kd(this);this.vb=Ia(this.Da)}var d=this.vb[b];if(d){$c(a,ld(d));a.wb=d}else X.c.ib.call(this,a,b,c)};X.prototype.oa=function(a){var b=X.c.oa.call(this,a);this.Da||kd(this);b.push(this.Da[a.wb]);return b};var kd=function(a){var b=a.o();a.Da=La("top",b+"-top","bottom",b+"-bottom","start",b+"-start","end",b+"-end")};var Y=function(a,b,c){a=a||"top";$c(this,ld(a));this.wb=a;W.call(this,this.V,b||X.Q(),c);md(this)};w(Y,W);q=Y.prototype;q.Hb=h;q.D=j;q.t=function(){Y.c.t.call(this);md(this)};q.f=function(){Y.c.f.call(this);this.D=j};q.removeChild=function(a,b){nd(this,a);return Y.c.removeChild.call(this,a,b)};q.gb=function(a){Y.c.gb.call(this,a);this.Hb&&this.da(Q(this,a))};q.da=function(a){if(a)Rc(a,h);else this.D&&Rc(this.D,k)};
var nd=function(a,b){if(b&&b==a.D){for(var c=xc(a,b),d=c-1;b=Q(a,d);d--)if(b.J()&&b.i()){a.da(b);return}for(c=c+1;b=Q(a,c);c++)if(b.J()&&b.i()){a.da(b);return}a.da(j)}};q=Y.prototype;q.Yb=function(a){this.D&&this.D!=a.target&&Rc(this.D,k);this.D=a.target};q.Zb=function(a){if(a.target==this.D)this.D=j};q.Wb=function(a){nd(this,a.target)};q.Xb=function(a){nd(this,a.target)};q.qa=function(){Q(this,this.k)||this.F(this.D||Q(this,0))};
var md=function(a){N(N(N(N(rc(a),a,"select",a.Yb),a,"unselect",a.Zb),a,"disable",a.Wb),a,"hide",a.Xb)},ld=function(a){return a=="start"||a=="end"?"vertical":"horizontal"};Ic("goog-tab-bar",function(){return new Y});var Z=function(a,b,c,d,f){function g(l){if(l){l.tabIndex=0;L(l,"click",i.ec,k,i);L(l,"keydown",i.fc,k,i)}}this.q=f||lb();this.Y=this.q.b(a)||j;this.ma=this.q.b(d||j);this.Ta=(this.db=u(b)?b:j)||!b?j:this.q.b(b);this.h=c==h;var i=this;g(this.Y);g(this.ma);this.W(this.h)};w(Z,ic);Z.prototype.f=function(){this.Y&&cc(this.Y);this.ma&&cc(this.ma);Z.c.f.call(this)};
Z.prototype.W=function(a){if(this.Ta)jc(this.Ta,a);else if(a&&this.db)this.Ta=this.db();if(this.ma){jc(this.Y,!a);jc(this.ma,a)}else if(this.Y){var b=this.Y;a?D(b,"goog-zippy-expanded"):ib(b,"goog-zippy-expanded");b=this.Y;!a?D(b,"goog-zippy-collapsed"):ib(b,"goog-zippy-collapsed")}this.h=a;this.dispatchEvent(new od("toggle",this,this.h))};Z.prototype.fc=function(a){if(a.keyCode==13||a.keyCode==32){this.W(!this.h);a.preventDefault();a.stopPropagation()}};Z.prototype.ec=function(){this.W(!this.h)};
var od=function(a,b,c){F.call(this,a,b);this.kc=c};w(od,F);var qd=function(a,b){this.kb=[];var c=mb(a);c=nb(document,"span","ae-zippy",c);for(var d=0,f;f=c[d];d++){for(var g=f.parentNode.parentNode.parentNode.nextSibling;g&&g.nodeType!=1;)g=g.nextSibling;this.kb.push(new Z(f,g,k))}this.Lb=new pd(this.kb,mb(b))};qd.prototype.Mb=function(){return this.Lb};qd.prototype.Nb=function(){return this.kb};
var pd=function(a,b){this.Aa=a;if(this.Aa.length)for(var c=0,d;d=this.Aa[c];c++)L(d,"toggle",this.jc,k,this);this.eb=0;this.h=k;c="ae-toggle ae-plus ae-action";this.Aa.length||(c+=" ae-disabled");this.P=rb("span",{className:c},"Expand All");L(this.P,"click",this.Jb,k,this);b.appendChild(this.P)};pd.prototype.Jb=function(){this.Aa.length&&this.W(!this.h)};
pd.prototype.jc=function(a){a=a.currentTarget;if(a.h)this.eb+=1;else this.eb-=1;if(a.h!=this.h)if(a.h){this.h=h;rd(this,h)}else if(this.eb==0){this.h=k;rd(this,k)}};pd.prototype.W=function(a){this.h=a;a=0;for(var b;b=this.Aa[a];a++)b.h!=this.h&&b.W(this.h);rd(this)};
var rd=function(a,b){if(b!==undefined?b:a.h){ib(a.P,"ae-plus");D(a.P,"ae-minus");vb(a.P,"Collapse All")}else{ib(a.P,"ae-minus");D(a.P,"ae-plus");vb(a.P,"Expand All")}},sd=function(a){this.ic=a;this.Bb={};var b,c=rb("div",{},b=rb("div",{id:"ae-stats-details-tabs",className:"goog-tab-bar goog-tab-bar-top"}),rb("div",{className:"goog-tab-bar-clear"}),a=rb("div",{id:"ae-stats-details-tabs-content",className:"goog-tab-content"})),d=new Y;d.L(b);L(d,"select",this.mb,k,this);L(d,"unselect",this.mb,k,this);
b=0;for(var f;f=this.ic[b];b++)if(f=mb("ae-stats-details-"+f)){var g=nb(document,"h2",j,f)[0],i;i=g;var l=void 0;if(gb&&"innerText"in i)l=i.innerText.replace(/(\r\n|\r|\n)/g,"\n");else{l=[];zb(i,l,h);l=l.join("")}l=l.replace(/ \xAD /g," ").replace(/\xAD/g,"");y||(l=l.replace(/ +/g," "));if(l!=" ")l=l.replace(/^\s*/,"");i=l;tb(g);g=new jd(i);this.Bb[v(g)]=f;d.Ba(g,h);a.appendChild(f);b==0?d.da(g):jc(f,k)}mb("bd").appendChild(c)};sd.prototype.mb=function(a){var b=this.Bb[v(a.target)];jc(b,a.type=="select")};
aa("ae.Stats.Details.Tabs",sd,void 0);aa("goog.ui.Zippy",Z,void 0);Z.prototype.setExpanded=Z.prototype.W;aa("ae.Stats.MakeZippys",qd,void 0);qd.prototype.getExpandCollapse=qd.prototype.Mb;qd.prototype.getZippys=qd.prototype.Nb;pd.prototype.setExpanded=pd.prototype.W;var $=function(){this.Qa=[];this.fb=[]},td=[[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]],ud=function(a){if(a<=0)return[2,0.5,1];for(var b=1;a<1;){a*=10;b/=10}for(;a>=10;){a/=10;b*=10}for(var c=0;c<td.length;c++)if(a<=td[c][2])return[td[c][0],td[c][1]*b,td[c][2]*b];return[5,2*b,10*b]};$.prototype.Oa="stats/static/pix.gif";$.prototype.s="ae-stats-gantt-";$.prototype.ab=0;$.prototype.write=function(a){this.fb.push(a)};
var vd=function(a,b,c,d){a.write('<tr class="'+a.s+'axisrow"><td width="20%"></td><td>');a.write('<div class="'+a.s+'axis">');for(var f=0;f<=b;f++){a.write('<img class="'+a.s+'tick" src="'+a.Oa+'" alt="" ');a.write('style="left:'+f*c*d+'%"\n>');a.write('<span class="'+a.s+'scale" style="left:'+f*c*d+'%">');a.write("&nbsp;"+f*c+"</span>")}a.write("</div></td></tr>\n")};
$.prototype.Kb=function(){this.fb=[];var a=ud(this.ab),b=a[0],c=a[1];a=100/a[2];this.write('<table class="'+this.s+'table">\n');vd(this,b,c,a);for(var d=0;d<this.Qa.length;d++){var f=this.Qa[d];this.write('<tr class="'+this.s+'datarow"><td width="20%">');if(f.label.length>0){f.ha.length>0&&this.write('<a class="'+this.s+'link" href="'+f.ha+'">');this.write(f.label);f.ha.length>0&&this.write("</a>")}this.write("</td>\n<td>");this.write('<div class="'+this.s+'container">');f.ha.length>0&&this.write('<a class="'+
this.s+'link" href="'+f.ha+'"\n>');this.write('<img class="'+this.s+'bar" src="'+this.Oa+'" alt="" ');this.write('style="left:'+f.start*a+"%;width:"+f.duration*a+'%;min-width:1px"\n>');if(f.Ua>0){this.write('<img class="'+this.s+'extra" src="'+this.Oa+'" alt="" ');this.write('style="left:'+f.start*a+"%;width:"+f.Ua*a+'%"\n>')}if(f.sb.length>0){this.write('<span class="'+this.s+'inline" style="left:'+(f.start+Math.max(f.duration,f.Ua))*a+'%">&nbsp;');this.write(f.sb);this.write("</span>")}f.ha.length>
0&&this.write("</a>");this.write("</div></td></tr>\n")}vd(this,b,c,a);this.write("</table>\n");return this.fb.join("")};$.prototype.Fb=function(a,b,c,d,f,g){this.ab=Math.max(this.ab,Math.max(b+c,b+d));this.Qa.push({label:a,start:b,duration:c,Ua:d,sb:f,ha:g})};aa("Gantt",$,void 0);$.prototype.add_bar=$.prototype.Fb;$.prototype.draw=$.prototype.Kb;})();
