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