/* Copyright 2007 Google Inc. */ (function() { function g(a){throw a;}var i=true,j=null,k=false,ba=encodeURIComponent,ca=window,da=Object,l=Error,n=undefined,ea=parseFloat,fa=String,ga=document,ha=decodeURIComponent,o=Math,ia=Array;function ja(a,b){return a.width=b}function ka(a,b){return a.currentTarget=b}function la(a,b){return a.left=b}function ma(a,b){return a.keyCode=b}function oa(a,b){return a.visibility=b}function pa(a,b){return a.toString=b}function qa(a,b){return a.length=b}function ra(a,b){return a.className=b} function sa(a,b){return a.target=b}function ta(a,b){return a.anchor=b}function ua(a,b){return a.contains=b}function va(a,b){return a.height=b} var wa="appendChild",r="push",xa="getBoundingClientRect",ya="relatedTarget",s="width",za="round",u="replace",Aa="nodeType",Ba="getElementById",Ca="offsetWidth",w="indexOf",Da="dispatchEvent",Ea="capture",x="left",Fa="screenX",Ga="screenY",Ha="getBoxObjectFor",Ia="remove",Ja="keyCode",Ka="firstChild",La="forEach",Ma="clientLeft",Na="clientTop",Oa="handleEvent",y="type",Pa="defaultView",Qa="name",Ra="clientX",Sa="clientY",Ta="documentElement",Ua="scrollTop",Va="toString",z="length",Wa="propertyIsEnumerable", A="prototype",Xa="clientWidth",Ya="document",Za="split",$a="hasOwnProperty",B="style",C="body",D="target",F="call",G="anchor",ab="clientHeight",bb="scrollLeft",cb="compatMode",H="bottom",db="contains",eb="apply",fb="parentNode",I="height",gb="offsetHeight",J="right",K,L=this,hb=function(a,b,c){a=a[Za](".");c=c||L;!(a[0]in c)&&c.execScript&&c.execScript("var "+a[0]);for(var d;a[z]&&(d=a.shift());)if(!a[z]&&b!==n)c[d]=b;else c=c[d]?c[d]:(c[d]={})},ib=function(a,b){a=a[Za](".");b=b||L;for(var c;c=a.shift();)if(b[c])b= b[c];else return j;return b},jb=function(){},kb=function(a){var b=typeof a;if(b=="object")if(a){if(a instanceof ia||!(a instanceof da)&&da[A][Va][F](a)=="[object Array]"||typeof a[z]=="number"&&typeof a.splice!="undefined"&&typeof a[Wa]!="undefined"&&!a[Wa]("splice"))return"array";if(!(a instanceof da)&&(da[A][Va][F](a)=="[object Function]"||typeof a[F]!="undefined"&&typeof a[Wa]!="undefined"&&!a[Wa]("call")))return"function"}else return"null";else if(b=="function"&&typeof a[F]=="undefined")return"object"; return b},M=function(a){return kb(a)=="array"},lb=function(a){var b=kb(a);return b=="array"||b=="object"&&typeof a[z]=="number"},N=function(a){return typeof a=="string"},mb=function(a){return kb(a)=="function"},nb=function(a){a=kb(a);return a=="object"||a=="array"||a=="function"},qb=function(a){if(a[$a]&&a[$a](ob))return a[ob];a[ob]||(a[ob]=++pb);return a[ob]},ob="closure_hashCode_"+o.floor(o.random()*2147483648)[Va](36),pb=0,rb=function(a){var b=kb(a);if(b=="object"||b=="array"){if(a.clone)return a.clone[F](a); b=b=="array"?[]:{};for(var c in a)b[c]=rb(a[c]);return b}return a},sb=function(a,b){var c=b||L;if(arguments[z]>2){var d=ia[A].slice[F](arguments,2);return function(){var e=ia[A].slice[F](arguments);ia[A].unshift[eb](e,d);return a[eb](c,e)}}else return function(){return a[eb](c,arguments)}},tb=Date.now||function(){return+new Date},O=function(a,b){function c(){}c.prototype=b[A];a.superClass_=b[A];a.prototype=new c};var ub=ia[A],vb=ub[w]?function(a,b,c){return ub[w][F](a,b,c)}:function(a,b,c){c=c==j?0:c<0?o.max(0,a[z]+c):c;if(N(a)){if(!N(b)||b[z]!=1)return-1;return a[w](b,c)}for(c=c;c=0)ub.splice[F](a,b,1)[z]==1;return c},yb=function(a){if(M(a))return a.concat();else{for(var b=[],c=0,d=a[z];c< d;c++)b[c]=a[c];return b}},zb=function(a){for(var b=1;b")!=-1)a=a[u](Mb,">");if(a[w]('"')!=-1)a=a[u](Nb,""");return a}},Kb=/&/g,Lb=//g,Nb=/\"/g,Ob=/[&<>\"]/,Qb=function(a,b){return a[w](b)!= -1},Sb=function(a,b){var c=0;a=Hb(fa(a))[Za](".");b=Hb(fa(b))[Za](".");for(var d=o.max(a[z],b[z]),e=0;c==0&&eb)return 1;return 0}; tb();var Tb,Ub,Vb,Wb,Xb,Yb,Zb=function(){return L.navigator?L.navigator.userAgent:j},$b=function(){return L.navigator};Xb=Wb=Vb=Ub=Tb=k;var ac;if(ac=Zb()){var bc=$b();Tb=ac[w]("Opera")==0;Ub=!Tb&&ac[w]("MSIE")!=-1;Wb=(Vb=!Tb&&ac[w]("WebKit")!=-1)&&ac[w]("Mobile")!=-1;Xb=!Tb&&!Vb&&bc.product=="Gecko"}var cc=Tb,R=Ub,dc=Xb,ec=Vb,fc=Wb,gc=$b(),hc=gc&&gc.platform||"";Yb=Qb(hc,"Mac");Qb(hc,"Win");Qb(hc,"Linux");var ic=!!$b()&&Qb($b().appVersion||"","X11"),jc="",kc; if(cc&&L.opera){var lc=L.opera.version;jc=typeof lc=="function"?lc():lc}else{if(dc)kc=/rv\:([^\);]+)(\)|;)/;else if(R)kc=/MSIE\s+([^\);]+)(\)|;)/;else if(ec)kc=/WebKit\/(\S+)/;if(kc){var mc=kc.exec(Zb());jc=mc?mc[1]:""}}var nc=jc,oc={},pc=function(a){return oc[a]||(oc[a]=Sb(nc,a)>=0)};var qc;var tc=function(a){return a?new rc(sc(a)):qc||(qc=new rc)},vc=function(a,b){Cb(b,function(c,d){if(d=="style")a[B].cssText=c;else if(d=="class")ra(a,c);else if(d=="for")a.htmlFor=c;else if(d in uc)a.setAttribute(uc[d],c);else a[d]=c})},uc={cellpadding:"cellPadding",cellspacing:"cellSpacing",colspan:"colSpan",rowspan:"rowSpan",valign:"vAlign",height:"height",width:"width",usemap:"useMap",frameborder:"frameBorder",type:"type"},xc=function(a,b){var c=b[0],d=b[1];if(R&&d&&(d[Qa]||d[y])){c=["<",c];d[Qa]&& c[r](' name="',Pb(d[Qa]),'"');if(d[y]){c[r](' type="',Pb(d[y]),'"');d=rb(d);delete d[y]}c[r](">");c=c.join("")}var e=a.createElement(c);if(d)if(N(d))ra(e,d);else vc(e,d);if(b[z]>2){d=function(h){if(h)e[wa](N(h)?a.createTextNode(h):h)};for(c=2;c0)?wb(wc(f)?yb(f):f,d):d(f)}}return e},yc=function(a){return a&&a[fb]?a[fb].removeChild(a):j},zc=function(a,b){if(a[db]&&b[Aa]==1)return a==b||a[db](b);if(typeof a.compareDocumentPosition!="undefined")return a==b|| Boolean(a.compareDocumentPosition(b)&16);for(;b&&a!=b;)b=b[fb];return b==a},sc=function(a){return a[Aa]==9?a:a.ownerDocument||a[Ya]},wc=function(a){if(a&&typeof a[z]=="number")if(nb(a))return typeof a.item=="function"||typeof a.item=="string";else if(mb(a))return typeof a.item=="function";return k},rc=function(a){this.document_=a||L[Ya]||ga};rc[A].getDomHelper=tc;var Ac=function(a){return a.document_};rc[A].getElement=function(a){return N(a)?this.document_[Ba](a):a}; rc[A].createDom=function(){return xc(this.document_,arguments)};rc[A].createElement=function(a){return this.document_.createElement(a)};rc[A].createTextNode=function(a){return this.document_.createTextNode(a)};var Bc=function(a){return a.document_[cb]=="CSS1Compat"},Cc=function(a){a=!ec&&a.document_[cb]=="CSS1Compat"?a.document_[Ta]:a.document_[C];return new P(a[bb],a[Ua])};rc[A].appendChild=function(a,b){a[wa](b)};ua(rc[A],zc);var Dc=function(){};Dc[A].disposed_=k;Dc[A].dispose=function(){if(!this.disposed_){this.disposed_=i;this.disposeInternal()}};Dc[A].disposeInternal=function(){};var Ec=function(a,b){this.type=a;sa(this,b);ka(this,this[D])};O(Ec,Dc);K=Ec[A];K.disposeInternal=function(){delete this[y];delete this[D];delete this.currentTarget};K.propagationStopped_=k;K.returnValue_=i;K.stopPropagation=function(){this.propagationStopped_=i};K.preventDefault=function(){this.returnValue_=k};var Fc=function(a,b){a&&this.init(a,b)};O(Fc,Ec);K=Fc[A];sa(K,j);K.relatedTarget=j;K.offsetX=0;K.offsetY=0;K.clientX=0;K.clientY=0;K.screenX=0;K.screenY=0;K.button=0;ma(K,0);K.charCode=0;K.ctrlKey=k;K.altKey=k;K.shiftKey=k;K.metaKey=k;K.event_=j; K.init=function(a,b){var c=this.type=a[y];sa(this,a[D]||a.srcElement);ka(this,b);if(b=a[ya]){if(dc)try{b=b.nodeName&&b}catch(d){b=j}}else if(c=="mouseover")b=a.fromElement;else if(c=="mouseout")b=a.toElement;this.relatedTarget=b;this.offsetX=a.offsetX!==n?a.offsetX:a.layerX;this.offsetY=a.offsetY!==n?a.offsetY:a.layerY;this.clientX=a[Ra]!==n?a[Ra]:a.pageX;this.clientY=a[Sa]!==n?a[Sa]:a.pageY;this.screenX=a[Fa]||0;this.screenY=a[Ga]||0;this.button=a.button;ma(this,a[Ja]||0);this.charCode=a.charCode|| (c=="keypress"?a[Ja]:0);this.ctrlKey=a.ctrlKey;this.altKey=a.altKey;this.shiftKey=a.shiftKey;this.metaKey=a.metaKey;this.event_=a;delete this.returnValue_;delete this.propagationStopped_};K.stopPropagation=function(){this.propagationStopped_=i;if(this.event_.stopPropagation)this.event_.stopPropagation();else this.event_.cancelBubble=i};var Gc=R&&!pc("8"); Fc[A].preventDefault=function(){this.returnValue_=k;var a=this.event_;if(a.preventDefault)a.preventDefault();else{a.returnValue=k;if(Gc)try{if(a.ctrlKey||a[Ja]>=112&&a[Ja]<=123)ma(a,-1)}catch(b){}}};Fc[A].disposeInternal=function(){Fc.superClass_.disposeInternal[F](this);this.event_=j;sa(this,j);ka(this,j);this.relatedTarget=j};var S=function(a,b){this.maxCount_=b;this.freeQueue_=[];if(a>this.maxCount_)g(l("[goog.structs.SimplePool] Initial cannot be greater than max"));for(b=0;b=0),h;Tc=function(E){h=E};if(f){Oc=function(){return Hc(m)};Pc=function(E){Jc(m,E)};Qc=function(){return Hc(q)};Rc=function(E){Jc(q,E)};Sc=function(){return Hc(p)};Vc=function(){Jc(p,c())};Wc=function(){return Hc(t)};Xc=function(E){Jc(t,E)};Yc=function(){return Hc(v)};Zc=function(E){Jc(v, E)};var m=new S(0,600);m.createObjectFn_=a;var q=new S(0,600);q.createObjectFn_=b;var p=new S(0,600);p.createObjectFn_=c;var t=new S(0,600);t.createObjectFn_=d;var v=new S(0,600);v.createObjectFn_=e}else{Oc=a;Pc=jb;Qc=b;Rc=jb;Sc=c;Vc=jb;Wc=d;Xc=jb;Yc=e;Zc=jb}})();var $c={},T={},ad={},bd={},U=function(a,b,c,d,e){if(b)if(M(b)){for(var f=0;f=0;p--){var t=q[p];if((f||b==t[y])&&(h||c==t[Ea])){dd(t.key);d++}}});else{a=qb(a);if(ad[a]){a=ad[a];for(e=a[z]-1;e>=0;e--){var m=a[e];if((f||b==m[y])&&(h||c==m[Ea])){dd(m.key);d++}}}}return d},cd=function(a){if(a in bd)return bd[a];return bd[a]="on"+a},hd=function(a,b,c,d,e){var f=1;b=qb(b);if(a[b]){a.remaining_--;a=a[b];if(a.locked_)a.locked_++; else a.locked_=1;try{for(var h=a[z],m=0;m=0&&f.remaining_;v--){ka(m,p[v]);e&=hd(f,p[v],c,i,m)}if(h){f= d[k];f.remaining_=f.count_;for(v=0;!m.propagationStopped_&&v=this[x]&&a[J]<=this[J]&&a.top>=this.top&&a[H]<=this[H]:a.x>=this[x]&&a.x<=this[J]&&a.y>=this.top&&a.y<=this[H]}); W[A].expand=function(a,b,c,d){if(nb(a)){this.top-=a.top;this.right+=a[J];this.bottom+=a[H];this.left-=a[x]}else{this.top-=a;this.right+=b;this.bottom+=c;this.left-=d}return this};var id=function(a,b){if(b.x>=a[x]&&b.x<=a[J]){if(b.y>=a.top&&b.y<=a[H])return 0;return b.y=a.top&&b.y<=a[H])return b.x1){if(b%2)g(l("Uneven number of arguments"));for(var c=0;c2*this.count_&&od(this);return i}return k};var od=function(a){if(a.count_!=a.keys_[z]){for(var b=0,c=0;b=c[z])g(jd);var m=c[b++];return a?m:d[m]}};return h};var pd=function(a,b){return da[A][$a][F](a,b)};var qd=function(a){this.map_=new nd;a&&this.addAll(a)},rd=function(a){var b=typeof a;return b=="object"&&a||b=="function"?"o"+qb(a):b.substr(0,1)+a};K=qd[A];K.add=function(a){this.map_.set(rd(a),a)};K.addAll=function(a){a=ld(a);for(var b=a[z],c=0;c=0&&f.remaining_;h--){ka(a,c[h]);b&=hd(f,c[h],a[y],i,a)&&a.returnValue_!=k}}if(k in e){f=e[k];f.remaining_=f.count_;if(d)for(h=0;!a.propagationStopped_&&h=a[x]+a[s]&&this.top<=a.top&&this.top+this[I]>=a.top+a[I]:a.x>=this[x]&&a.x<=this[x]+this[s]&&a.y>=this.top&&a.y<=this.top+this[I]});var vd=function(a,b){var c=sc(a);if(c[Pa]&&c[Pa].getComputedStyle)if(a=c[Pa].getComputedStyle(a,""))return a[b];return j},wd=function(a,b){return vd(a,b)||(a.currentStyle?a.currentStyle[b]:j)||a[B][b]},xd=function(a){a=a?a[Aa]==9?a:sc(a):ga;if(R&&!Bc(tc(a)))return a[C];return a[Ta]},yd=function(a){var b=a[xa]();if(R){a=a.ownerDocument;b.left-=a[Ta][Ma]+a[C][Ma];b.top-=a[Ta][Na]+a[C][Na]}return b},zd=function(a){if(R)return a.offsetParent;var b=sc(a),c=wd(a,"position"),d=c=="fixed"||c=="absolute"; for(a=a[fb];a&&a!=b;a=a[fb]){c=wd(a,"position");d=d&&c=="static"&&a!=b[Ta]&&a!=b[C];if(!d&&(a.scrollWidth>a[Xa]||a.scrollHeight>a[ab]||c=="fixed"||c=="absolute"))return a}return j},Cd=function(a){var b=new W(0,Infinity,Infinity,0),c=tc(a),d=!ec&&c.document_[cb]=="CSS1Compat"?c.document_[Ta]:c.document_[C],e;for(a=a;a=zd(a);)if((!R||a[Xa]!=0)&&(a.scrollWidth!=a[Xa]||a.scrollHeight!=a[ab])&&wd(a,"overflow")!="visible"){var f=Ad(a),h;h=a;if(dc&&!pc("1.9")){var m=ea(vd(h,"borderLeftWidth"));if(Bd(h)){var q= h[Ca]-h[Xa]-m-ea(vd(h,"borderRightWidth"));m+=q}h=new P(m,ea(vd(h,"borderTopWidth")))}else h=new P(h[Ma],h[Na]);f.x+=h.x;f.y+=h.y;b.top=o.max(b.top,f.y);b.right=o.min(b[J],f.x+a[Xa]);b.bottom=o.min(b[H],f.y+a[ab]);la(b,o.max(b[x],f.x));e=e||a!=d}a=d[bb];d=d[Ua];if(ec){b.left+=a;b.top+=d}else{la(b,o.max(b[x],a));b.top=o.max(b.top,d)}if(!e||ec){b.right+=a;b.bottom+=d}c=c.document_.parentWindow||c.document_[Pa]||ca;e=c[Ya];if(ec&&!pc("500")&&!fc){if(typeof c.innerHeight=="undefined")c=ca;e=c.innerHeight; f=c[Ya][Ta].scrollHeight;if(c==c.top)if(f=0&&b[x]>=0&&b[H]>b.top&&b[J]>b[x]?b:j},Ad=function(a){var b,c=sc(a),d=wd(a,"position"),e=dc&&c[Ha]&&!a[xa]&&d=="absolute"&&(b=c[Ha](a))&&(b[Fa]<0||b[Ga]<0),f=new P(0,0),h=xd(c);if(a==h)return f;if(a[xa]){b=yd(a);a=Cc(tc(c));f.x=b[x]+a.x;f.y=b.top+a.y}else if(c[Ha]&&!e){b=c[Ha](a); a=c[Ha](h);f.x=b[Fa]-a[Fa];f.y=b[Ga]-a[Ga]}else{b=a;do{f.x+=b.offsetLeft;f.y+=b.offsetTop;if(b!=a){f.x+=b[Ma]||0;f.y+=b[Na]||0}if(ec&&wd(b,"position")=="fixed"){f.x+=c[C][bb];f.y+=c[C][Ua];break}b=b.offsetParent}while(b&&b!=a);if(cc||ec&&d=="absolute")f.y-=c[C].offsetTop;for(b=a;(b=zd(b))&&b!=c[C]&&b!=h;){f.x-=b[bb];if(!cc||b.tagName!="TR")f.y-=b[Ua]}}return f},Dd=function(a){var b=new P;if(a[Aa]==1)if(a[xa]){var c=yd(a);b.x=c[x];b.y=c.top}else{c=Cc(tc(a));a=Ad(a);b.x=a.x-c.x;b.y=a.y-c.y}else{b.x= a[Ra];b.y=a[Sa]}return b},Ed=function(a,b,c){if(b instanceof Q){c=b[I];b=b[s]}else{if(c==n)g(l("missing height argument"));c=c}ja(a[B],typeof b=="number"?o[za](b)+"px":b);va(a[B],typeof c=="number"?o[za](c)+"px":c)},Fd=function(a){var b=cc&&!pc("10");if(wd(a,"display")!="none")return b?new Q(a[Ca]||a[Xa],a[gb]||a[ab]):new Q(a[Ca],a[gb]);var c=a[B],d=c.display,e=c.visibility,f=c.position;oa(c,"hidden");c.position="absolute";c.display="inline";if(b){b=a[Ca]||a[Xa];a=a[gb]||a[ab]}else{b=a[Ca];a=a[gb]}c.display= d;c.position=f;oa(c,e);return new Q(b,a)},Gd=function(a){var b=Ad(a);a=Fd(a);return new td(b.x,b.y,a[s],a[I])},Hd=function(a,b){a[B].display=b?"":"none"},Bd=function(a){return"rtl"==wd(a,"direction")};var Jd=function(a,b,c,d,e,f,h,m){var q,p=c.offsetParent;if(p){var t=p.tagName=="HTML"||p.tagName=="BODY";if(!t||wd(p,"position")!="static"){q=Ad(p);t||(q=Ab(q,new P(p[bb],p[Ua])))}}p=Gd(a);(t=Cd(a))&&p.intersection(new td(t[x],t.top,t[J]-t[x],t[H]-t.top));t=tc(a);var v=tc(c);if(t.document_!=v.document_){var E=t.document_[C];v=v.document_.parentWindow||v.document_[Pa];var Bb=new P(0,0),aa;aa=(aa=sc(E))?aa.parentWindow||aa[Pa]:ca;var Uc=E;do{var Wd=aa==v?Ad(Uc):Dd(Uc);Bb.x+=Wd.x;Bb.y+=Wd.y}while(aa&& aa!=v&&(Uc=aa.frameElement)&&(aa=aa.parent));v=Bb;v=Ab(v,Ad(E));if(R&&!Bc(t))v=Ab(v,Cc(t));p.left+=v.x;p.top+=v.y}a=(b&4&&Bd(a)?b^2:b)&-5;b=new P(a&2?p[x]+p[s]:p[x],a&1?p.top+p[I]:p.top);if(q)b=Ab(b,q);if(e){b.x+=(a&2?-1:1)*e.x;b.y+=(a&1?-1:1)*e.y}var na;if(h)if((na=Cd(c))&&q){na.top=o.max(0,na.top-q.y);na.right-=q.x;na.bottom-=q.y;la(na,o.max(0,na[x]-q.x))}return Id(b,c,d,f,na,h,m)},Id=function(a,b,c,d,e,f,h){a=a.clone();var m=0,q=(c&4&&Bd(b)?c^2:c)&-5;c=Fd(b);h=h?h.clone():c;if(d||q!=0){if(q&2)a.x-= h[s]+(d?d[J]:0);else if(d)a.x+=d[x];if(q&1)a.y-=h[I]+(d?d[H]:0);else if(d)a.y+=d.top}if(f){m=e?Kd(a,h,e,f):256;if(m&496)return m}e=a;d=dc&&(Yb||ic)&&pc("1.9");if(e instanceof P){a=e.x;e=e.y}else{a=e;e=n}la(b[B],typeof a=="number"?(d?o[za](a):a)+"px":a);b[B].top=typeof e=="number"?(d?o[za](e):e)+"px":e;(c==h?i:!c||!h?k:c[s]==h[s]&&c[I]==h[I])||Ed(b,h);return m},Kd=function(a,b,c,d){var e=0;if(a.xc[J]&&d&16){b.width-=a.x+b[s]-c[J];e|=4}if(a.x+b[s]>c[J]&& d&1){a.x=o.max(c[J]-b[s],c[x]);e|=1}if(d&2)e|=(a.xc[J]?32:0);if(a.y=c.top&&a.y+b[I]>c[H]&&d&32){b.height-=a.y+b[I]-c[H];e|=8}if(a.y+b[I]>c[H]&&d&4){a.y=o.max(c[H]-b[I],c.top);e|=2}if(d&8)e|=(a.yc[H]?128:0);return e};var Ld=function(){};Ld[A].reposition=function(){};var Md=function(a,b){this.element=a;this.corner=b};O(Md,Ld);Md[A].reposition=function(a,b,c){Jd(this.element,this.corner,a,b,n,c)};var Nd=function(a,b){this.coordinate=a instanceof P?a:new P(a,b)};O(Nd,Ld);Nd[A].reposition=function(a,b,c,d){Jd(xd(a),0,a,b,this.coordinate,c,j,d)};var Od=L.window,Pd=function(a,b,c){if(mb(a)){if(c)a=sb(a,c)}else if(a&&typeof a[Oa]=="function")a=sb(a[Oa],a);else g(l("Invalid listener argument"));return b>2147483647?-1:Od.setTimeout(a,b||0)};var Qd=function(a){this.handler_=a};O(Qd,Dc);var Rd=new S(0,100);Qd[A].listen=function(a,b,c,d,e){if(M(b))for(var f=0;f=0||be[r](this);a=this.getElement();ra(a,this.className);ee(this);U(a,"mouseover",this.handleTooltipMouseOver,k,this);U(a,"mouseout",this.handleTooltipMouseOut,k,this);fe(this);return i}; Z[A].onHide_=function(){xb(be,this);for(var a=this.getElement(),b,c=0;b=be[c];c++)b[G]&&zc(a,b[G])&&Vd(b,k);this.parentTooltip_&&ge(this.parentTooltip_);V(a,"mouseover",this.handleTooltipMouseOver,k,this);V(a,"mouseout",this.handleTooltipMouseOut,k,this);ta(this,n);if(de(this)==0)this.seenInteraction_=k;Y[A].onHide_[F](this)};Z[A].maybeShow=function(a,b){if(this[G]==a)if(this.seenInteraction_||!this.requireInteraction_){Vd(this,k);this.isVisible_||he(this,a,b)}else ta(this,n);this.showTimer=n}; var he=function(a,b,c){if(c)c=c;else{c=new P(a.cursorPosition.x,a.cursorPosition.y);c=new ie(c)}ta(a,b);a.position_=c||n;a.isVisible_&&a.reposition();Vd(a,i)};Z[A].maybeHide=function(a){this.hideTimer=n;if(a==this[G])if((this.activeEl_==j||this.activeEl_!=this.getElement()&&!this.elements_[db](this.activeEl_))&&!(this.childTooltip_&&this.childTooltip_.activeEl_))Vd(this,k)}; Z[A].handleMouseOver=function(a){this.activeEl_=a=je(this,a[D]);ee(this);if(a!=this[G]){ta(this,a);if(!this.showTimer)this.showTimer=Pd(sb(this.maybeShow,this,a,n),this.showDelayMs_);ke(this)}};var je=function(a,b){try{for(;b&&!a.elements_[db](b);)b=b[fb];return b}catch(c){return j}};Z[A].handleMouseMove=function(a){var b=Cc(this.dom_);this.cursorPosition.x=a[Ra]+b.x;this.cursorPosition.y=a[Sa]+b.y;this.seenInteraction_=i}; Z[A].handleFocus=function(a){this.activeEl_=a=je(this,a[D]);this.seenInteraction_=i;if(this[G]!=a){ta(this,a);var b=new le(this.activeEl_);ee(this);if(!this.showTimer)this.showTimer=Pd(sb(this.maybeShow,this,a,b),this.showDelayMs_);ke(this)}};var ke=function(a){if(a[G])for(var b,c=0;b=be[c];c++)if(zc(b.getElement(),a[G])){b.childTooltip_=a;a.parentTooltip_=b}}; Z[A].handleMouseOutAndBlur=function(a){var b=je(this,a[D]),c=je(this,a[ya]);if(b!=c){if(b==this.activeEl_)this.activeEl_=j;fe(this);this.seenInteraction_=k;if(this.isVisible_&&(!a[ya]||!zc(this.getElement(),a[ya])))ge(this);else ta(this,n)}};Z[A].handleTooltipMouseOver=function(){var a=this.getElement();if(this.activeEl_!=a){ee(this);this.activeEl_=a}};Z[A].handleTooltipMouseOut=function(a){var b=this.getElement();if(this.activeEl_==b&&(!a[ya]||!zc(b,a[ya]))){this.activeEl_=j;ge(this)}}; var fe=function(a){if(a.showTimer){Od.clearTimeout(a.showTimer);a.showTimer=n}},ge=function(a){if(de(a)==2)a.hideTimer=Pd(sb(a.maybeHide,a,a[G]),a.getHideDelayMs())},ee=function(a){if(a.hideTimer){Od.clearTimeout(a.hideTimer);a.hideTimer=n}};Z[A].disposeInternal=function(){Vd(this,k);fe(this);this.detach();this.getElement()&&yc(this.getElement());this.activeEl_=j;delete this.dom_;Z.superClass_.disposeInternal[F](this)};var ie=function(a,b){Nd[F](this,a,b)};O(ie,Nd); ie[A].reposition=function(a,b,c){b=xd(a);b=Cd(b);c=c?new W(c.top+10,c[J],c[H],c[x]+10):new W(10,0,0,10);Id(this.coordinate,a,4,c,b,9)&496&&Id(this.coordinate,a,4,c,b,5)};var le=function(a){Md[F](this,a,3)};O(le,Md);le[A].reposition=function(a,b,c){var d=new P(10,0);Jd(this.element,this.corner,a,b,d,c,9)&496&&Jd(this.element,2,a,1,d,c,5)};var $=function(a,b,c){Z[F](this,a,b,c)};O($,Z);$[A].cursorTracking_=k;$[A].cursorTrackingHideDelayMs_=100;$[A].tracking_=k;var me=function(a,b){a.hotSpotPadding_=b||j};$[A].onShow_=function(){$.superClass_.onShow_[F](this);this.boundingBox_=ud(Gd(this.getElement()));if(this[G])this.anchorBox_=ud(Gd(this[G]));this.tracking_=this.cursorTracking_;U(Ac(this.getDomHelper()),"mousemove",this.handleMouseMove,k,this)}; $[A].onHide_=function(){V(Ac(this.getDomHelper()),"mousemove",this.handleMouseMove,k,this);this.anchorBox_=this.boundingBox_=this.paddingBox_=j;this.tracking_=k;$.superClass_.onHide_[F](this)};$[A].isCoordinateInTooltip=function(a){if(this.paddingBox_)return this.paddingBox_[db](a);return $.superClass_.isCoordinateInTooltip[F](this,a)};var ne=function(a,b){if(a.anchorBox_&&a.anchorBox_[db](b)||a.isCoordinateInTooltip(b))return i;return!!a.childTooltip_&&a.childTooltip_.isCoordinateInTooltip(b)}; $[A].maybeHide=function(a){this.hideTimer=n;if(a==this[G])if(!ne(this,this.cursorPosition)&&!this.activeEl_&&!(this.childTooltip_&&this.childTooltip_.activeEl_))dc&&this.cursorPosition.x==0&&this.cursorPosition.y==0||Vd(this,k)}; $[A].handleMouseMove=function(a){var b=i;if(this.boundingBox_){var c=new P(a[Ra],a[Sa]);if(ne(this,c))b=k;else if(this.tracking_){b=id(this.boundingBox_,this.cursorPosition);b=id(this.boundingBox_,c)>=b}}if(b){ge(this);this.activeEl_=j;if(this.childTooltip_)this.childTooltip_.activeEl_=j}else de(this)==3&&ee(this);$.superClass_.handleMouseMove[F](this,a)}; $[A].handleTooltipMouseOver=function(){if(this.activeEl_!=this.getElement()){this.tracking_=k;this.activeEl_=this.getElement();if(!this.paddingBox_&&this.hotSpotPadding_)this.paddingBox_=this.boundingBox_.clone().expand(this.hotSpotPadding_)}};$[A].getHideDelayMs=function(){return this.tracking_?this.cursorTrackingHideDelayMs_:this.hideDelayMs_};var oe=/^(?:([^:\/?#]+):)?(?:\/\/(?:([^\/?#]*)@)?([^\/?#:@]*)(?::([0-9]+))?)?([^?#]+)?(?:\?([^#]*))?(?:#(.*))?$/,pe=function(a){return a.match(oe)};var qe=function(a,b){var c;if(a instanceof qe){this.setIgnoreCase(b==j?a.ignoreCase_:b);re(this,a.scheme_);se(this,a.userInfo_);te(this,a.domain_);ue(this,a.port_);ve(this,a.path_);we(this,a.queryData_.clone());xe(this,a.fragment_)}else if(a&&(c=pe(fa(a)))){this.setIgnoreCase(!!b);re(this,c[1]||"",i);se(this,c[2]||"",i);te(this,c[3]||"",i);ue(this,c[4]);ve(this,c[5]||"",i);we(this,c[6]||"",i);xe(this,c[7]||"",i)}else{this.setIgnoreCase(!!b);this.queryData_=new ye(j,this,this.ignoreCase_)}};K=qe[A]; K.scheme_="";K.userInfo_="";K.domain_="";K.port_=j;K.path_="";K.fragment_="";K.isReadOnly_=k;K.ignoreCase_=k; pa(K,function(){if(this.cachedToString_)return this.cachedToString_;var a=[];this.scheme_&&a[r](ze(this.scheme_,Ae),":");if(this.domain_){a[r]("//");this.userInfo_&&a[r](ze(this.userInfo_,Ae),"@");a[r](Be(this.domain_));this.port_!=j&&a[r](":",fa(this.port_))}this.path_&&a[r](ze(this.path_,Ce));var b=fa(this.queryData_);b&&a[r]("?",b);this.fragment_&&a[r]("#",ze(this.fragment_,De));return this.cachedToString_=a.join("")}); K.clone=function(){var a=this.scheme_,b=this.userInfo_,c=this.domain_,d=this.port_,e=this.path_,f=this.queryData_.clone(),h=this.fragment_,m=new qe(j,this.ignoreCase_);a&&re(m,a);b&&se(m,b);c&&te(m,c);d&&ue(m,d);e&&ve(m,e);f&&we(m,f);h&&xe(m,h);return m}; var re=function(a,b,c){Ee(a);delete a.cachedToString_;a.scheme_=c?b?ha(b):"":b;if(a.scheme_)a.scheme_=a.scheme_[u](/:$/,"");return a},se=function(a,b,c){Ee(a);delete a.cachedToString_;a.userInfo_=c?b?ha(b):"":b;return a},te=function(a,b,c){Ee(a);delete a.cachedToString_;a.domain_=c?b?ha(b):"":b;return a},ue=function(a,b){Ee(a);delete a.cachedToString_;if(b){b=Number(b);if(isNaN(b)||b<0)g(l("Bad port number "+b));a.port_=b}else a.port_=j;return a},ve=function(a,b,c){Ee(a);delete a.cachedToString_; a.path_=c?b?ha(b):"":b;return a},we=function(a,b,c){Ee(a);delete a.cachedToString_;if(b instanceof ye){a.queryData_=b;a.queryData_.uri_=a;a.queryData_.setIgnoreCase(a.ignoreCase_)}else{c||(b=ze(b,Fe));a.queryData_=new ye(b,a,a.ignoreCase_)}return a},Ge=function(a,b,c){Ee(a);delete a.cachedToString_;a.queryData_.set(b,c);return a},xe=function(a,b,c){Ee(a);delete a.cachedToString_;a.fragment_=c?b?ha(b):"":b;return a},Ee=function(a){if(a.isReadOnly_)g(l("Tried to modify a read-only Uri"))}; qe[A].setIgnoreCase=function(a){this.ignoreCase_=a;this.queryData_&&this.queryData_.setIgnoreCase(a)}; var Be=function(a){if(N(a))return ba(a);return j},He=/^[a-zA-Z0-9\-_.!~*'():\/;?]*$/,ze=function(a,b){var c=j;if(N(a)){c=a;He.test(c)||(c=encodeURI(a));if(c.search(b)>=0)c=c[u](b,Ie)}return c},Ie=function(a){a=a.charCodeAt(0);return"%"+(a>>4&15)[Va](16)+(a&15)[Va](16)},Ae=/[#\/\?@]/g,Ce=/[\#\?]/g,Fe=/[\#\?@]/g,De=/#/g,ye=function(a,b,c){this.encodedQuery_=a||j;this.uri_=b||j;this.ignoreCase_=!!c},Ke=function(a){if(!a.keyMap_){a.keyMap_=new nd;if(a.encodedQuery_)for(var b=a.encodedQuery_[Za]("&"), c=0;c=0){e=b[c].substring(0,d);f=b[c].substring(d+1)}else e=b[c];e=ha(e[u](/\+/g," "));e=Je(a,e);a.add(e,f?ha(f[u](/\+/g," ")):"")}}};K=ye[A];K.keyMap_=j;K.count_=j;K.add=function(a,b){Ke(this);Le(this);a=Je(this,a);if(this.containsKey(a)){var c=this.keyMap_.get(a);M(c)?c[r](b):this.keyMap_.set(a,[c,b])}else this.keyMap_.set(a,b);this.count_++;return this}; K.remove=function(a){Ke(this);a=Je(this,a);if(this.keyMap_.containsKey(a)){Le(this);var b=this.keyMap_.get(a);if(M(b))this.count_-=b[z];else this.count_--;return this.keyMap_[Ia](a)}return k};K.clear=function(){Le(this);this.keyMap_&&this.keyMap_.clear();this.count_=0};K.containsKey=function(a){Ke(this);a=Je(this,a);return this.keyMap_.containsKey(a)}; K.getKeys=function(){Ke(this);for(var a=this.keyMap_.getValues(),b=this.keyMap_.getKeys(),c=[],d=0;d0&&a[r]("&");a[r](f,"=",Jb(e[h]));b++}else{b>0&&a[r]("&");a[r](f,"=",Jb(e));b++}}return this.encodedQuery_=a.join("")});var Le=function(a){delete a.decodedQuery_;delete a.encodedQuery_;a.uri_&&delete a.uri_.cachedToString_}; ye[A].clone=function(){var a=new ye;if(this.decodedQuery_)a.decodedQuery_=this.decodedQuery_;if(this.encodedQuery_)a.encodedQuery_=this.encodedQuery_;if(this.keyMap_)a.keyMap_=this.keyMap_.clone();return a};var Je=function(a,b){b=fa(b);if(a.ignoreCase_)b=b.toLowerCase();return b};ye[A].setIgnoreCase=function(a){if(a&&!this.ignoreCase_){Ke(this);Le(this);md(this.keyMap_,function(b,c){var d=c.toLowerCase();if(c!=d){this[Ia](c);this.add(d,b)}},this)}this.ignoreCase_=a};var Me,Ne=function(a,b,c){var d="";if(Me)d=Me.serverBase;else if(ca.manifest)d=ca.manifest.serverBase;var e=d+"/widgets/Hovercard";if(c.client)e=d+"/ui/Hovercard";d=new qe(e);Ge(d,"uid",b);for(var f in c)Ge(d,f,c[f]);b=108+(c.embedHeight?c.embedHeight-16:0);if(!a.f_preload){c=ga.createElement("iframe");ja(c,"320px");va(c,b+"px");c.frameBorder="none";c.scrolling="no";c[B].border="none";a.getElement()[wa](c);c.src=d[Va]();a.getElement()[B].zIndex="50000"}a.f_preload=i}; hb("addHovercard",function(a,b,c){var d=new $(a);me(d,new W(5,5,5,5));d.cursorTracking_=i;Zd(d,new W(10,0,0,10));d.hideDelayMs_=250;d.onDocumentBlur_=function(){};U(a,"mouseover",sb(Ne,j,d,b,c));return d},n);hb("_HovercardLauncherComponentInit",function(a){Me=a},n);ca._HovercardLauncherManifestInit&&ca._HovercardLauncherManifestInit(); })()