SlideShare a Scribd company logo
1 of 12
/* Copyright 2007 Google Inc. */ (function() { function g(a){throw a;}var
i=true,j=null,l=false,aa=encodeURIComponent,ba=window,ca=Object,m=Error,n=undefined
,da=parseFloat,ea=String,fa=document,ga=decodeURIComponent,p=Math,ha=Array;function
ia(a,b){return a.width=b}function ja(a,b){return a.currentTarget=b}function ka(a,b)
{return a.left=b}function ma(a,b){return a.keyCode=b}function na(a,b){return
a.visibility=b}function oa(a,b){return a.toString=b}function pa(a,b){return
a.length=b}function qa(a,b){return a.className=b}
function ra(a,b){return a.target=b}function sa(a,b){return a.anchor=b}function
ta(a,b){return a.contains=b}function ua(a,b){return a.height=b}
var
va="appendChild",r="push",wa="getBoundingClientRect",xa="relatedTarget",s="width",y
a="round",u="replace",za="nodeType",Aa="getElementById",Ba="offsetWidth",w="indexOf
",Ca="dispatchEvent",Da="capture",x="left",Ea="screenX",Fa="screenY",Ga="getBoxObje
ctFor",Ha="remove",Ia="keyCode",Ja="firstChild",Ka="forEach",La="clientLeft",Ma="cl
ientTop",Na="handleEvent",y="type",Oa="defaultView",Pa="clientX",Qa="clientY",Ra="d
ocumentElement",Sa="scrollTop",Ta="toString",z="length",Ua="propertyIsEnumerable",
A="prototype",Va="clientWidth",Wa="document",Xa="split",Ya="hasOwnProperty",B="styl
e",C="body",D="target",F="call",G="anchor",Za="clientHeight",
$a="scrollLeft",ab="compatMode",H="bottom",bb="contains",db="apply",eb="parentNode"
,I="height",fb="offsetHeight",J="right",K,L=this,gb=function(a,b,c){a=a[Xa]
(".");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]={})},hb=function(a,b){a=a[Xa](".");b=b||L;for(var c;c=a.shift();)if(b[c])b=
b[c];else return j;return b},ib=function(){},jb=function(a){var b=typeof
a;if(b=="object")if(a){if(a instanceof ha||!(a instanceof ca)&&ca[A][Ta][F]
(a)=="[object Array]"||typeof a[z]=="number"&&typeof a.splice!="undefined"&&typeof
a[Ua]!="undefined"&&!a[Ua]("splice"))return"array";if(!(a instanceof ca)&&(ca[A]
[Ta][F](a)=="[object Function]"||typeof a[F]!="undefined"&&typeof a[Ua]!
="undefined"&&!a[Ua]("call")))return"function"}else return"null";else
if(b=="function"&&typeof a[F]=="undefined")return"object";
return b},M=function(a){return jb(a)=="array"},kb=function(a){var b=jb(a);return
b=="array"||b=="object"&&typeof a[z]=="number"},N=function(a){return typeof
a=="string"},lb=function(a){return jb(a)=="function"},mb=function(a){a=jb(a);return
a=="object"||a=="array"||a=="function"},pb=function(a){if(a[Ya]&&a[Ya](nb))return
a[nb];a[nb]||(a[nb]=++ob);return
a[nb]},nb="closure_hashCode_"+p.floor(p.random()*2147483648)[Ta]
(36),ob=0,qb=function(a){var b=jb(a);if(b=="object"||b=="array"){if(a.clone)return
a.clone[F](a);
b=b=="array"?[]:{};for(var c in a)b[c]=qb(a[c]);return b}return a},rb=function(a,b)
{var c=b||L;if(arguments[z]>2){var d=ha[A].slice[F](arguments,2);return function()
{var f=ha[A].slice[F](arguments);ha[A].unshift[db](f,d);return a[db](c,f)}}else
return function(){return a[db](c,arguments)}},sb=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 tb=ha[A],ub=tb[w]?
function(a,b,c){return tb[w][F](a,b,c)}:function(a,b,c){c=c==j?0:c<0?p.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<a[z];c++)if(c
in a&&a[c]===b)return c;return-1},vb=tb[Ka]?function(a,b,c){tb[Ka][F]
(a,b,c)}:function(a,b,c){for(var d=a[z],f=N(a)?a[Xa](""):a,e=0;e<d;e++)e in f&&b[F]
(c,f[e],e,a)},wb=function(a,b){b=ub(a,b);var c;if(c=b>=0)tb.splice[F](a,b,1)
[z]==1;return c},xb=function(){return tb.concat[db](tb,arguments)},yb=function(a)
{if(M(a))return xb(a);
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<arguments[z];b++){var c=arguments[b],d;if(M(c)||(d=kb(c))&&c[Ya]
("callee"))a[r][db](a,c);else if(d)for(var f=a[z],e=c[z],h=0;h<e;h+
+)a[f+h]=c[h];else a[r](c)}};var P=function(a,b){this.x=a!==n?a:0;this.y=b!==n?
b:0};P[A].clone=function(){return new P(this.x,this.y)};oa(P[A],function()
{return"("+this.x+", "+this.y+")"});var Ab=function(a,b){return new P(a.x-b.x,a.y-
b.y)};var Q=function(a,b){ia(this,a);ua(this,b)};Q[A].clone=function(){return new
Q(this[s],this[I])};oa(Q[A],function(){return"("+this[s]+" x "+this[I]
+")"});Q[A].floor=function()
{ia(this,p.floor(this[s]));ua(this,p.floor(this[I]));return
this};Q[A].round=function(){ia(this,p[ya](this[s]));ua(this,p[ya](this[I]));return
this};var Bb=function(a,b,c){for(var d in a)b[F](c,a[d],d,a)},Cb=function(a){var
b=[],c=0;for(var d in a)b[c++]=a[d];return b},Eb=function(a){var b=[],c=0;for(var d
in a)b[c++]=d;return
b},Fb=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLoc
aleString","toString","valueOf"],Gb=function(a){for(var b,c,d=1;d<arguments[z];d++)
{c=arguments[d];for(b in c)a[b]=c[b];for(var f=0;f<Fb[z];f++){b=Fb[f];if(ca[A][Ya]
[F](c,b))a[b]=c[b]}}};var Hb=/^[a-zA-Z0-9-_.!~*'()]*$/,Ib=function(a){a=ea(a);if(!
Hb.test(a))return aa(a);return a},Ob=function(a,b){if(b)return a[u](Jb,"&amp;")[u]
(Kb,"&lt;")[u](Lb,"&gt;")[u](Mb,"&quot;");else{if(!Nb.test(a))return a;if(a[w]
("&")!=-1)a=a[u](Jb,"&amp;");if(a[w]("<")!=-1)a=a[u](Kb,"&lt;");if(a[w](">")!
=-1)a=a[u](Lb,"&gt;");if(a[w]('"')!=-1)a=a[u](Mb,"&quot;");return
a}},Jb=/&/g,Kb=/</g,Lb=/>/g,Mb=/"/g,Nb=/[&<>"]/,Qb=function(a,b){var c=0;a=ea(a)
[u](/^[sxa0]+|[sxa0]+$/g,"")[Xa](".");b=ea(b)[u](/^[sxa0]+|[sxa0]+$/g,
"")[Xa](".");for(var d=p.max(a[z],b[z]),f=0;c==0&&f<d;f++){var
e=a[f]||"",h=b[f]||"",k=new RegExp("(d*)(D*)","g"),q=new RegExp("(d*)
(D*)","g");do{var o=k.exec(e)||["","",""],t=q.exec(h)||["","",""];if(o[0]
[z]==0&&t[0][z]==0)break;c=Pb(o[1][z]==0?0:parseInt(o[1],10),t[1][z]==0?
0:parseInt(t[1],10))||Pb(o[2][z]==0,t[2][z]==0)||Pb(o[2],t[2])}while(c==0)}return
c},Pb=function(a,b){if(a<b)return-1;else if(a>b)return 1;return 0};sb();var
Rb,Sb,Tb,Ub,Vb,Wb,Xb=function(){return L.navigator?
L.navigator.userAgent:j},Yb=function(){return L.navigator};Vb=Ub=Tb=Sb=Rb=l;var
Zb;if(Zb=Xb()){var $b=Yb();Rb=Zb[w]("Opera")==0;Sb=!Rb&&Zb[w]("MSIE")!=-1;Ub=(Tb=!
Rb&&Zb[w]("WebKit")!=-1)&&Zb[w]("Mobile")!=-1;Vb=!Rb&&!Tb&&$b.product=="Gecko"}var
ac=Rb,R=Sb,bc=Vb,S=Tb,cc=Ub,dc=Yb();Wb=(dc&&dc.platform||"")[w]("Mac")!=-1;var
ec=!!Yb()&&(Yb().appVersion||"")[w]("X11")!=-1,fc="",gc;
if(ac&&L.opera){var hc=L.opera.version;fc=typeof hc=="function"?
hc():hc}else{if(bc)gc=/rv:([^);]+)()|;)/;else if(R)gc=/MSIEs+([^);]+)
()|;)/;else if(S)gc=/WebKit/(S+)/;if(gc){var ic=gc.exec(Xb());fc=ic?
ic[1]:""}}var jc=fc,kc={},lc=function(a){return kc[a]||(kc[a]=Qb(jc,a)>=0)};var
mc;var oc=function(a){return a?new nc(T(a)):mc||(mc=new nc)},qc=function(a,b)
{Bb(b,function(c,d){if(d=="style")a[B].cssText=c;else if(d=="class")qa(a,c);else
if(d=="for")a.htmlFor=c;else if(d in pc)a.setAttribute(pc[d],c);else
a[d]=c})},pc={cellpadding:"cellPadding",cellspacing:"cellSpacing",colspan:"colSpan"
,rowspan:"rowSpan",valign:"vAlign",height:"height",width:"width",usemap:"useMap",fr
ameborder:"frameBorder",type:"type"},sc=function(a,b){var
c=b[0],d=b[1];if(R&&d&&(d.name||d[y])){c=["<",c];d.name&&
c[r](' name="',Ob(d.name),'"');if(d[y]){c[r](' type="',Ob(d[y]),'"');d=qb(d);delete
d[y]}c[r](">");c=c.join("")}var f=a.createElement(c);if(d)if(N(d))qa(f,d);else
qc(f,d);if(b[z]>2){d=function(h){if(h)f[va](N(h)?
a.createTextNode(h):h)};for(c=2;c<b[z];c++){var e=b[c];kb(e)&&!(mb(e)&&e[za]>0)?
vb(rc(e)?yb(e):e,d):d(e)}}return f},tc=function(a){return a&&a[eb]?
a[eb].removeChild(a):j},uc=function(a,b){if(a[bb]&&b[za]==1)return a==b||a[bb]
(b);if(typeof a.compareDocumentPosition!="undefined")return a==b||
Boolean(a.compareDocumentPosition(b)&16);for(;b&&a!=b;)b=b[eb];return
b==a},T=function(a){return a[za]==9?a:a.ownerDocument||a[Wa]},rc=function(a)
{if(a&&typeof a[z]=="number")if(mb(a))return typeof a.item=="function"||typeof
a.item=="string";else if(lb(a))return typeof a.item=="function";return
l},nc=function(a){this.document_=a||L[Wa]||fa};nc[A].getDomHelper=oc;var
vc=function(a){return a.document_};nc[A].getElement=function(a){return N(a)?
this.document_[Aa](a):a};
nc[A].createDom=function(){return
sc(this.document_,arguments)};nc[A].createElement=function(a){return
this.document_.createElement(a)};nc[A].createTextNode=function(a){return
this.document_.createTextNode(a)};var wc=function(a){return
a.document_[ab]=="CSS1Compat"},xc=function(a){a=!S&&a.document_[ab]=="CSS1Compat"?
a.document_[Ra]:a.document_[C];return new
P(a[$a],a[Sa])};nc[A].appendChild=function(a,b){a[va](b)};ta(nc[A],uc);var
yc=function(){};yc[A].disposed_=l;yc[A].dispose=function(){if(!this.disposed_)
{this.disposed_=i;this.disposeInternal()}};yc[A].disposeInternal=function(){};var
zc=function(a,b)
{this.type=a;ra(this,b);ja(this,this[D])};O(zc,yc);K=zc[A];K.disposeInternal=functi
on(){delete this[y];delete this[D];delete
this.currentTarget};K.propagationStopped_=l;K.returnValue_=i;K.stopPropagation=func
tion(){this.propagationStopped_=i};K.preventDefault=function()
{this.returnValue_=l};var Ac=function(a,b)
{a&&this.init(a,b)};O(Ac,zc);K=Ac[A];ra(K,j);K.relatedTarget=j;K.offsetX=0;K.offset
Y=0;K.clientX=0;K.clientY=0;K.screenX=0;K.screenY=0;K.button=0;ma(K,0);K.charCode=0
;K.ctrlKey=l;K.altKey=l;K.shiftKey=l;K.metaKey=l;K.platformModifierKey=l;K.event_=j
;
K.init=function(a,b){var c=this.type=a[y];ra(this,a[D]||
a.srcElement);ja(this,b);if(b=a[xa]){if(bc)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[Pa]!==n?a[Pa]:a.pageX;this.clientY=a[Qa]!==n?
a[Qa]:a.pageY;this.screenX=a[Ea]||0;this.screenY=a[Fa]||
0;this.button=a.button;ma(this,a[Ia]||0);this.charCode=a.charCode||
(c=="keypress"?
a[Ia]:0);this.ctrlKey=a.ctrlKey;this.altKey=a.altKey;this.shiftKey=a.shiftKey;this.
metaKey=a.metaKey;this.platformModifierKey=Wb?
a.metaKey:a.ctrlKey;this.event_=a;delete this.returnValue_;delete
this.propagationStopped_};K.stopPropagation=function()
{this.propagationStopped_=i;if(this.event_.stopPropagation)this.event_.stopPropagat
ion();else this.event_.cancelBubble=i};var Bc=R&&!lc("8");
Ac[A].preventDefault=function(){this.returnValue_=l;var
a=this.event_;if(a.preventDefault)a.preventDefault();else{a.returnValue=l;if(Bc)try
{if(a.ctrlKey||a[Ia]>=112&&a[Ia]<=123)ma(a,-1)}catch(b)
{}}};Ac[A].disposeInternal=function(){Ac.superClass_.disposeInternal[F]
(this);this.event_=j;ra(this,j);ja(this,j);this.relatedTarget=j};var
U=function(a,b)
{this.maxCount_=b;this.freeQueue_=[];if(a>this.maxCount_)g(m("[goog.structs.SimpleP
ool] Initial cannot be greater than max"));for(b=0;b<a;b++)this.freeQueue_[r]
(this.createObjectFn_?this.createObjectFn_():
{})};O(U,yc);U[A].createObjectFn_=j;U[A].disposeObjectFn_=j;
var Cc=function(a){if(a.freeQueue_[z])return a.freeQueue_.pop();return
a.createObjectFn_?a.createObjectFn_():{}},Ec=function(a,b)
{a.freeQueue_[z]<a.maxCount_?a.freeQueue_[r](b):Dc(a,b)},Dc=function(a,b)
{if(a.disposeObjectFn_)a.disposeObjectFn_(b);else if(lb(b.dispose))b.dispose();else
for(var c in b)delete b[c]};U[A].disposeInternal=function()
{U.superClass_.disposeInternal[F](this);for(var
a=this.freeQueue_;a[z];)Dc(this,a.pop());delete this.freeQueue_};var Fc;var
Gc=(Fc="ScriptEngine"in L&&L.ScriptEngine()=="JScript")?
L.ScriptEngineMajorVersion()+"."+L.ScriptEngineMinorVersion()
+"."+L.ScriptEngineBuildVersion():"0";var Hc=function()
{},Ic=0;K=Hc[A];K.key=0;K.removed=l;K.callOnce=l;K.init=function(a,b,c,d,f,e)
{if(lb(a))this.isFunctionListener_=i;else
if(a&&a[Na]&&lb(a[Na]))this.isFunctionListener_=l;else g(m("Invalid listener
argument"));this.listener=a;this.proxy=b;this.src=c;this.type=d;this.capture=!!
f;this.handler=e;this.callOnce=l;this.key=++Ic;this.removed=l};
K.handleEvent=function(a){if(this.isFunctionListener_)return this.listener[F]
(this.handler||this.src,a);return this.listener[Na][F](this.listener,a)};var
Jc,Kc,Lc,Mc,Nc,Oc,Qc,Rc,Sc,Tc,Uc;
(function(){function a(){return{count_:0,remaining_:0}}function b()
{return[]}function c(){var E=function(Db){return h[F](E.src,E.key,Db)};return
E}function d(){return new Hc}function f(){return new Ac}var e=Fc&&!
(Qb(Gc,"5.7")>=0),h;Oc=function(E){h=E};if(e){Jc=function(){return
Cc(k)};Kc=function(E){Ec(k,E)};Lc=function(){return Cc(q)};Mc=function(E)
{Ec(q,E)};Nc=function(){return Cc(o)};Qc=function(){Ec(o,c())};Rc=function(){return
Cc(t)};Sc=function(E){Ec(t,E)};Tc=function(){return Cc(v)};Uc=function(E){Ec(v,
E)};var k=new U(0,600);k.createObjectFn_=a;var q=new
U(0,600);q.createObjectFn_=b;var o=new U(0,600);o.createObjectFn_=c;var t=new
U(0,600);t.createObjectFn_=d;var v=new
U(0,600);v.createObjectFn_=f}else{Jc=a;Kc=ib;Lc=b;Mc=ib;Nc=c;Qc=ib;Rc=d;Sc=ib;Tc=f;
Uc=ib}})();var Vc={},V={},Wc={},Xc={},W=function(a,b,c,d,f){if(b)if(M(b)){for(var
e=0;e<b[z];e++)W(a,b[e],c,d,f);return j}else{d=!!d;var h=V;b in h||
(h[b]=Jc());h=h[b];if(!(d in h)){h[d]=Jc();h.count_++}h=h[d];var
k=pb(a),q;h.remaining_++;if(h[k]){q=h[k];for(e=0;e<q[z];e++)
{h=q[e];if(h.listener==c&&h.handler==f){if(h.removed)break;return
q[e].key}}}else{q=h[k]=Lc();h.count_+
+}e=Nc();e.src=a;h=Rc();h.init(c,e,a,b,d,f);c=h.key;e.key=c;q[r](h);Vc[c]=h;Wc[k]||
(Wc[k]=Lc());Wc[k][r](h);if(a.addEventListener){if(a==
L||!a.customEvent_)a.addEventListener(b,e,d)}else a.attachEvent(Yc(b),e);return
c}else g(m("Invalid event type"))},Zc=function(a,b,c,d,f){if(M(b)){for(var
e=0;e<b[z];e++)Zc(a,b[e],c,d,f);return j}d=!!d;a:{e=V;if(b in e){e=e[b];if(d in e)
{e=e[d];a=pb(a);if(e[a]){a=e[a];break a}}}a=j}if(!a)return l;for(e=0;e<a[z];e+
+)if(a[e].listener==c&&a[e][Da]==d&&a[e].handler==f)return $c(a[e].key);return l},
$c=function(a){if(!Vc[a])return l;var b=Vc[a];if(b.removed)return l;var
c=b.src,d=b[y],f=b.proxy,e=b[Da];
if(c.removeEventListener){if(c==L||!
c.customEvent_)c.removeEventListener(d,f,e)}else
c.detachEvent&&c.detachEvent(Yc(d),f);c=pb(c);f=V[d][e][c];if(Wc[c]){var
h=Wc[c];wb(h,b);h[z]==0&&delete
Wc[c]}b.removed=i;f.needsCleanup_=i;ad(d,e,c,f);delete Vc[a];return
i},ad=function(a,b,c,d){if(!d.locked_)if(d.needsCleanup_){for(var f=0,e=0;f<d[z];f+
+)if(d[f].removed){var h=d[f].proxy;h.src=j;Qc(h);Sc(d[f])}else{if(f!
=e)d[e]=d[f];e++}pa(d,e);d.needsCleanup_=l;if(e==0){Mc(d);delete V[a][b][c];V[a]
[b].count_--;
if(V[a][b].count_==0){Kc(V[a][b]);delete V[a][b];V[a].count_--}if(V[a].count_==0)
{Kc(V[a]);delete V[a]}}}},bd=function(a,b,c){var d=0,f=a==j,e=b==j,h=c==j;c=!!
c;if(f)Bb(Wc,function(q){for(var o=q[z]-1;o>=0;o--){var t=q[o];if((e||
b==t[y])&&(h||c==t[Da])){$c(t.key);d++}}});else{a=pb(a);if(Wc[a])
{a=Wc[a];for(f=a[z]-1;f>=0;f--){var k=a[f];if((e||b==k[y])&&(h||c==k[Da]))
{$c(k.key);d++}}}}return d},Yc=function(a){if(a in Xc)return Xc[a];return
Xc[a]="on"+a},dd=function(a,b,c,d,f){var e=1;b=pb(b);if(a[b]){a.remaining_--;
a=a[b];if(a.locked_)a.locked_++;else a.locked_=1;try{for(var h=a[z],k=0;k<h;k++)
{var q=a[k];if(q&&!q.removed)e&=cd(q,f)!
==l}}finally{a.locked_--;ad(c,d,b,a)}}return Boolean(e)},cd=function(a,b){b=a[Na]
(b);a.callOnce&&$c(a.key);return b};
Oc(function(a,b){if(!Vc[a])return i;a=Vc[a];var c=a[y],d=V;if(!(c in d))return
i;d=d[c];var f,e;if(R){f=b||hb("window.event");b=i in d;var h=l in d;if(b)
{if(f[Ia]<0||f.returnValue!=n)return i;a:{var k=l;if(f[Ia]==0)try{ma(f,-1);break
a}catch(q){k=i}if(k||
f.returnValue==n)f.returnValue=i}}k=Tc();k.init(f,this);f=i;try{if(b){for(var
o=Lc(),t=k.currentTarget;t;t=t[eb])o[r](t);e=d[i];e.remaining_=e.count_;for(var
v=o[z]-1;!k.propagationStopped_&&v>=0&&e.remaining_;v--)
{ja(k,o[v]);f&=dd(e,o[v],c,i,k)}if(h){e=
d[l];e.remaining_=e.count_;for(v=0;!k.propagationStopped_&&v<o[z]&&e.remaining_;v+
+){ja(k,o[v]);f&=dd(e,o[v],c,l,k)}}}else f=cd(a,k)}finally{if(o)
{pa(o,0);Mc(o)}k.dispose();Uc(k)}return f}e=new
Ac(b,this);try{f=cd(a,e)}finally{e.dispose()}return f});var X=function(a,b,c,d)
{this.top=a;this.right=b;this.bottom=c;ka(this,d)};X[A].clone=function(){return new
X(this.top,this[J],this[H],this[x])};oa(X[A],function(){return"("+this.top+"t,
"+this[J]+"r, "+this[H]+"b, "+this[x]+"l)"});ta(X[A],function(a){return!this||!a?
l:a instanceof X?
a[x]>=this[x]&&a[J]<=this[J]&&a.top>=this.top&&a[H]<=this[H]:a.x>=this[x]&&a.x<=thi
s[J]&&a.y>=this.top&&a.y<=this[H]});
X[A].expand=function(a,b,c,d){if(mb(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 ed=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?a.top-
b.y:b.y-a[H]}if(b.y>=a.top&&b.y<=a[H])return b.x<a[x]?a[x]-b.x:b.x-a[J];var c=new
P(b.x<a[x]?a[x]:a[J],b.y<a.top?a.top:a[H]);a=b.x-c.x;b=b.y-c.y;return
p.sqrt(a*a+b*b)};var fd=function(a,b,c,d)
{ka(this,a);this.top=b;ia(this,c);ua(this,d)};fd[A].clone=function(){return new
fd(this[x],this.top,this[s],this[I])};var gd=function(a){return new X(a.top,a[x]
+a[s],a.top+a[I],a[x])};oa(fd[A],function(){return"("+this[x]+", "+this.top+" -
"+this[s]+"w x "+this[I]+"h)"});
fd[A].intersection=function(a){var b=p.max(this[x],a[x]),c=p.min(this[x]
+this[s],a[x]+a[s]);if(b<=c){var
d=p.max(this.top,a.top);a=p.min(this.top+this[I],a.top+a[I]);if(d<=a)
{ka(this,b);this.top=d;ia(this,c-b);ua(this,a-d);return i}}return
l};ta(fd[A],function(a){return a instanceof fd?this[x]<=a[x]&&this[x]+this[s]>=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 hd=function(a,b){var
c=T(a);if(c[Oa]&&c[Oa].getComputedStyle)if(a=c[Oa].getComputedStyle(a,""))return
a[b];return j},id=function(a,b){return hd(a,b)||(a.currentStyle?
a.currentStyle[b]:j)||a[B][b]},jd=function(a){a=a?a[za]==9?a:T(a):fa;if(R&&!
wc(oc(a)))return a[C];return a[Ra]},kd=function(a){var b=a[wa]();if(R)
{a=a.ownerDocument;b.left-=a[Ra][La]+a[C][La];b.top-=a[Ra][Ma]+a[C][Ma]}return
b},ld=function(a){if(R)return a.offsetParent;var
b=T(a),c=id(a,"position"),d=c=="fixed"||c=="absolute";for(a=
a[eb];a&&a!=b;a=a[eb]){c=id(a,"position");d=d&&c=="static"&&a!=b[Ra]&&a!=b[C];if(!
d&&(a.scrollWidth>a[Va]||a.scrollHeight>a[Za]||c=="fixed"||c=="absolute"))return
a}return j},od=function(a){var b=new
X(0,Infinity,Infinity,0),c=oc(a),d=c.document_[C],f=!
S&&c.document_[ab]=="CSS1Compat"?
c.document_[Ra]:c.document_[C],e;for(a=a;a=ld(a);)if((!R||a[Va]!=0)&&(!S||a[Za]!
=0||a!=d)&&(a.scrollWidth!=a[Va]||a.scrollHeight!=a[Za])&&id(a,"overflow")!
="visible"){var h=md(a),k;k=a;if(bc&&!lc("1.9")){var q=da(hd(k,
"borderLeftWidth"));if(nd(k)){var o=k[Ba]-k[Va]-q-
da(hd(k,"borderRightWidth"));q+=o}k=new P(q,da(hd(k,"borderTopWidth")))}else k=new
P(k[La],k[Ma]);h.x+=k.x;h.y+=k.y;b.top=p.max(b.top,h.y);b.right=p.min(b[J],h.x+a[Va
]);b.bottom=p.min(b[H],h.y+a[Za]);ka(b,p.max(b[x],h.x));e=e||a!
=f}d=f[$a];f=f[Sa];if(S)
{b.left+=d;b.top+=f}else{ka(b,p.max(b[x],d));b.top=p.max(b.top,f)}if(!e||S)
{b.right+=d;b.bottom+=f}c=c.document_.parentWindow||c.document_[Oa]||
ba;e=c[Wa];if(S&&!lc("500")&&!cc){if(typeof c.innerHeight==
"undefined")c=ba;e=c.innerHeight;a=c[Wa][Ra].scrollHeight;if(c==c.top)if(a<e)e-
=15;c=new Q(c.innerWidth,e)}else{c=e[ab]=="CSS1Compat"&&(!ac||ac&&lc("9.50"))?
e[Ra]:e[C];c=new
Q(c[Va],c[Za])}b.right=p.min(b[J],d+c[s]);b.bottom=p.min(b[H],f+c[I]);return
b.top>=0&&b[x]>=0&&b[H]>b.top&&b[J]>b[x]?b:j},md=function(a){var
b,c=T(a),d=id(a,"position"),f=bc&&c[Ga]&&!a[wa]&&d=="absolute"&&(b=c[Ga]
(a))&&(b[Ea]<0||b[Fa]<0),e=new P(0,0),h=jd(c);if(a==h)return e;if(a[wa])
{b=kd(a);a=xc(oc(c));e.x=b[x]+a.x;e.y=b.top+
a.y}else if(c[Ga]&&!f){b=c[Ga](a);a=c[Ga](h);e.x=b[Ea]-a[Ea];e.y=b[Fa]-
a[Fa]}else{b=a;do{e.x+=b.offsetLeft;e.y+=b.offsetTop;if(b!=a){e.x+=b[La]||
0;e.y+=b[Ma]||0}if(S&&id(b,"position")=="fixed"){e.x+=c[C][$a];e.y+=c[C]
[Sa];break}b=b.offsetParent}while(b&&b!=a);if(ac||S&&d=="absolute")e.y-
=c[C].offsetTop;for(b=a;(b=ld(b))&&b!=c[C]&&b!=h;){e.x-=b[$a];if(!ac||b.tagName!
="TR")e.y-=b[Sa]}}return e},pd=function(a){var b=new P;if(a[za]==1)if(a[wa]){var
c=kd(a);b.x=c[x];b.y=c.top}else{c=xc(oc(a));a=md(a);
b.x=a.x-c.x;b.y=a.y-c.y}else{b.x=a[Pa];b.y=a[Qa]}return b},qd=function(a,b,c){if(b
instanceof Q){c=b[I];b=b[s]}else{if(c==n)g(m("missing height
argument"));c=c}ia(a[B],typeof b=="number"?p[ya](b)+"px":b);ua(a[B],typeof
c=="number"?p[ya](c)+"px":c)},rd=function(a){var b=ac&&!
lc("10");if(id(a,"display")!="none")return b?new Q(a[Ba]||a[Va],a[fb]||a[Za]):new
Q(a[Ba],a[fb]);var
c=a[B],d=c.display,f=c.visibility,e=c.position;na(c,"hidden");c.position="absolute"
;c.display="inline";if(b){b=a[Ba]||a[Va];a=
a[fb]||a[Za]}else{b=a[Ba];a=a[fb]}c.display=d;c.position=e;na(c,f);return new
Q(b,a)},sd=function(a){var b=md(a);a=rd(a);return new
fd(b.x,b.y,a[s],a[I])},td=function(a,b){a[B].display=b?"":"none"},nd=function(a)
{return"rtl"==id(a,"direction")};var vd=function(a,b,c,d,f,e,h,k){var
q,o=c.offsetParent;if(o){var t=o.tagName=="HTML"||o.tagName=="BODY";if(!t||
id(o,"position")!="static"){q=md(o);t||(q=Ab(q,new P(o[$a],o[Sa])))}}o=sd(a);
(t=od(a))&&o.intersection(new fd(t[x],t.top,t[J]-t[x],t[H]-t.top));t=oc(a);var
v=oc(c);if(t.document_!=v.document_){var
E=t.document_[C];v=v.document_.parentWindow||v.document_[Oa];var Db=new
P(0,0),cb=T(E)?T(E).parentWindow||T(E)[Oa]:ba,Pc=E;do{var Pd=cb==v?
md(Pc):pd(Pc);Db.x+=Pd.x;Db.y+=Pd.y}while(cb&&cb!=v&&
(Pc=cb.frameElement)&&(cb=cb.parent));v=Db;v=Ab(v,md(E));if(R&&!
wc(t))v=Ab(v,xc(t));o.left+=v.x;o.top+=v.y}a=(b&4&&nd(a)?b^2:b)&-5;b=new P(a&2?o[x]
+o[s]:o[x],a&1?o.top+o[I]:o.top);if(q)b=Ab(b,q);if(f)
{b.x+=(a&2?-1:1)*f.x;b.y+=(a&1?-1:1)*f.y}var la;if(h)if((la=od(c))&&q)
{la.top=p.max(0,la.top-q.y);la.right-=q.x;la.bottom-=q.y;ka(la,p.max(0,la[x]-
q.x))}return ud(b,c,d,e,la,h,k)},ud=function(a,b,c,d,f,e,h){a=a.clone();var
k=0,q=(c&4&&nd(b)?c^2:c)&-5;c=rd(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(e){k=f?wd(a,h,f,e):256;if(k&496)return k}f=a;d=bc&&(Wb||
ec)&&lc("1.9");if(f instanceof P){a=f.x;f=f.y}else{a=f;f=void 0}ka(b[B],typeof
a=="number"?(d?p[ya](a):a)+"px":a);b[B].top=typeof f=="number"?(d?p[ya](f):f)
+"px":f;(c==h?i:!c||!h?l:c[s]==h[s]&&c[I]==h[I])||qd(b,h);return
k},wd=function(a,b,c,d){var f=0;if(a.x<c[x]&&d&1){a.x=c[x];f|
=1}if(a.x<c[x]&&a.x+b[s]>c[J]&&d&16){b.width-=a.x+b[s]-c[J];f|=4}if(a.x+b[s]>c[J]&&
d&1){a.x=p.max(c[J]-b[s],c[x]);f|=1}if(d&2)f|=(a.x<c[x]?16:0)|(a.x+b[s]>c[J]?
32:0);if(a.y<c.top&&d&4){a.y=c.top;f|=2}if(a.y>=c.top&&a.y+b[I]>c[H]&&d&32)
{b.height-=a.y+b[I]-c[H];f|=8}if(a.y+b[I]>c[H]&&d&4){a.y=p.max(c[H]-b[I],c.top);f|
=2}if(d&8)f|=(a.y<c.top?64:0)|(a.y+b[I]>c[H]?128:0);return f};var xd=function()
{};xd[A].reposition=function(){};var yd=function(a,b)
{this.element=a;this.corner=b};O(yd,xd);yd[A].reposition=function(a,b,c)
{vd(this.element,this.corner,a,b,n,c)};var zd=function(a,b){this.coordinate=a
instanceof P?a:new P(a,b)};O(zd,xd);zd[A].reposition=function(a,b,c,d)
{vd(jd(a),0,a,b,this.coordinate,c,j,d)};var Ad="StopIteration"in L?
L.StopIteration:m("StopIteration"),Bd=function(){};Bd[A].next=function()
{g(Ad)};Bd[A].__iterator__=function(){return this};var Cd=function(a){if(typeof
a.getValues=="function")return a.getValues();if(N(a))return a[Xa]("");if(kb(a))
{for(var b=[],c=a[z],d=0;d<c;d++)b[r](a[d]);return b}return
Cb(a)},Dd=function(a,b,c){if(typeof a[Ka]=="function")a[Ka](b,c);else if(kb(a)||
N(a))vb(a,b,c);else{var d;if(typeof a.getKeys=="function")d=a.getKeys();else
if(typeof a.getValues!="function")if(kb(a)||N(a)){d=[];for(var f=a[z],e=0;e<f;e+
+)d[r](e);d=d}else d=Eb(a);else d=void 0;f=Cd(a);e=f[z];for(var h=0;h<e;h++)b[F]
(c,f[h],d&&d[h],
a)}};var Ed=function(a){this.map_={};this.keys_=[];var b=arguments[z];if(b>1){if(b
%2)g(m("Uneven number of arguments"));for(var
c=0;c<b;c+=2)this.set(arguments[c],arguments[c+1])}else
a&&this.addAll(a)};K=Ed[A];K.count_=0;K.version_=0;K.getValues=function()
{Fd(this);for(var a=[],b=0;b<this.keys_[z];b++)a[r]
(this.map_[this.keys_[b]]);return a};K.getKeys=function(){Fd(this);return
this.keys_.concat()};K.containsKey=function(a){return Gd(this.map_,a)};
K.clear=function()
{this.map_={};pa(this.keys_,0);this.version_=this.count_=0};K.remove=function(a)
{if(Gd(this.map_,a)){delete this.map_[a];this.count_--;this.version_+
+;this.keys_[z]>2*this.count_&&Fd(this);return i}return l};var Fd=function(a)
{if(a.count_!=a.keys_[z]){for(var b=0,c=0;b<a.keys_[z];){var
d=a.keys_[b];if(Gd(a.map_,d))a.keys_[c++]=d;b++}pa(a.keys_,c)}if(a.count_!
=a.keys_[z]){var f={};for(c=b=0;b<a.keys_[z];){d=a.keys_[b];if(!Gd(f,d)){a.keys_[c+
+]=d;f[d]=1}b++}pa(a.keys_,c)}};K=Ed[A];
K.get=function(a,b){if(Gd(this.map_,a))return this.map_[a];return
b};K.set=function(a,b){if(!Gd(this.map_,a)){this.count_++;this.keys_[r]
(a);this.version_++}this.map_[a]=b};K.addAll=function(a){var b;if(a instanceof Ed)
{b=a.getKeys();a=a.getValues()}else{b=Eb(a);a=Cb(a)}for(var c=0;c<b[z];c+
+)this.set(b[c],a[c])};K.clone=function(){return new Ed(this)};
K.__iterator__=function(a){Fd(this);var
b=0,c=this.keys_,d=this.map_,f=this.version_,e=this,h=new Bd;h.next=function()
{for(;;){if(f!=e.version_)g(m("The map has changed since the iterator was
created"));if(b>=c[z])g(Ad);var k=c[b++];return a?k:d[k]}};return h};var
Gd=function(a,b){return ca[A][Ya][F](a,b)};var Hd=function(a){this.map_=new
Ed;a&&this.addAll(a)},Id=function(a){var b=typeof a;return b=="object"&&a||
b=="function"?"o"+pb(a):b.substr(0,1)+a};K=Hd[A];K.add=function(a)
{this.map_.set(Id(a),a)};K.addAll=function(a){a=Cd(a);for(var b=a[z],c=0;c<b;c+
+)this.add(a[c])};K.removeAll=function(a){a=Cd(a);for(var b=a[z],c=0;c<b;c+
+)this[Ha](a[c])};K.remove=function(a){return this.map_[Ha]
(Id(a))};K.clear=function(){this.map_.clear()};ta(K,function(a){return
this.map_.containsKey(Id(a))});
K.intersection=function(a){var b=new Hd;a=Cd(a);for(var c=0;c<a[z];c++){var
d=a[c];this[bb](d)&&b.add(d)}return b};K.getValues=function(){return
this.map_.getValues()};K.clone=function(){return new
Hd(this)};K.__iterator__=function(){return this.map_.__iterator__(l)};var
Jd=function()
{};O(Jd,yc);K=Jd[A];K.customEvent_=i;K.parentEventTarget_=j;K.addEventListener=func
tion(a,b,c,d){W(this,a,b,c,d)};K.removeEventListener=function(a,b,c,d)
{Zc(this,a,b,c,d)};
K.dispatchEvent=function(a){a=a;if(N(a))a=new zc(a,this);else if(a instanceof
zc)ra(a,a[D]||this);else{var b=a;a=new zc(a[y],this);Gb(a,b)}b=1;var
c,d=a[y],f=V;if(d in f){f=f[d];d=i in f;var e;if(d)
{c=[];for(e=this;e;e=e.parentEventTarget_)c[r]
(e);e=f[i];e.remaining_=e.count_;for(var h=c[z]-1;!
a.propagationStopped_&&h>=0&&e.remaining_;h--)
{ja(a,c[h]);b&=dd(e,c[h],a[y],i,a)&&a.returnValue_!=l}}if(l in f)
{e=f[l];e.remaining_=e.count_;if(d)for(h=0;!
a.propagationStopped_&&h<c[z]&&e.remaining_;h++){ja(a,
c[h]);b&=dd(e,c[h],a[y],l,a)&&a.returnValue_!=l}else for(c=this;!
a.propagationStopped_&&c&&e.remaining_;c=c.parentEventTarget_)
{ja(a,c);b&=dd(e,c,a[y],l,a)&&a.returnValue_!=l}}a=Boolean(b)}else a=i;return
a};K.disposeInternal=function(){Jd.superClass_.disposeInternal[F]
(this);bd(this);this.parentEventTarget_=j};var Kd=L.window,Ld=function(a,b,c)
{if(lb(a)){if(c)a=rb(a,c)}else if(a&&typeof a[Na]=="function")a=rb(a[Na],a);else
g(m("Invalid listener argument"));return b>2147483647?-1:Kd.setTimeout(a,b||0)};var
Md=function(a){this.handler_=a};O(Md,yc);var Nd=new
U(0,100);Md[A].listen=function(a,b,c,d,f){if(M(b))for(var e=0;e<b[z];e+
+)this.listen(a,b[e],c,d,f);else{a=W(a,b,c||this,d||l,f||this.handler_||
this);if(this.keys_)this.keys_[a]=i;else if(this.key_)
{this.keys_=Cc(Nd);this.keys_[this.key_]=i;this.key_=j;this.keys_[a]=i}else
this.key_=a}return this};Md[A].removeAll=function(){if(this.keys_){for(var a in
this.keys_){$c(a);delete this.keys_[a]}Ec(Nd,this.keys_);this.keys_=j}else
this.key_&&$c(this.key_)};
Md[A].disposeInternal=function(){Md.superClass_.disposeInternal[F]
(this);this.removeAll()};Md[A].handleEvent=function(){g(m("EventHandler.handleEvent
not implemented"))};var Y=function(a,b){this.handler_=new
Md(this);this.setElement(a||
j);b&&Od(this,b)};O(Y,Jd);K=Y[A];K.element_=j;K.autoHide_=i;K.autoHideRegion_=j;K.i
sVisible_=l;K.shouldHideAsync_=l;K.lastShowTime_=-1;K.lastHideTime_=-1;K.hideOnEsca
pe_=l;K.enableCrossIframeDismissal_=i;K.type_="toggle_display";var Od=function(a,b)
{a.type_=b};Y[A].getElement=function(){return
this.element_};Y[A].setElement=function(a){if(this.isVisible_)g(m("Can not change
this state of the popup while showing."));this.element_=a};
var Sd=function(a,b){b?Qd(a):Rd(a)};Y[A].reposition=ib;
var Qd=function(a){if(!a.isVisible_)if(a.onBeforeShow()){if(!a.element_)g(m("Caller
must call setElement before trying to show the popup"));a.reposition();var
b=T(a.element_);a.hideOnEscape_&&a.handler_.listen(b,"keydown",a.onDocumentKeyDown_
,i);if(a.autoHide_){a.handler_.listen(b,"mousedown",a.onDocumentMouseDown_,i);if(R)
{for(var c=b.activeElement;c&&c.nodeName=="IFRAME";){try{var d=S?c[Wa]||
c.contentWindow[Wa]:c.contentDocument||c.contentWindow[Wa]}catch(f)
{break}b=d;c=b.activeElement}a.handler_.listen(b,
"mousedown",a.onDocumentMouseDown_,i);a.handler_.listen(b,"deactivate",a.onDocument
Blur_)}else
a.handler_.listen(b,"blur",a.onDocumentBlur_)}if(a.type_=="toggle_display")
{na(a.element_[B],"visible");td(a.element_,i)}else
a.type_=="move_offscreen"&&a.reposition();a.isVisible_=i;a.onShow_()}},Rd=function(
a,b){if(!a.isVisible_||!a[Ca]({type:"beforehide",target:b}))return
l;a.handler_&&a.handler_.removeAll();if(a.type_=="toggle_display")a.shouldHideAsync
_?Ld(a.hidePopupElement_,0,a):a.hidePopupElement_();
else a.type_=="move_offscreen"&&Td(a);a.isVisible_=l;a.onHide_(b);return
i};Y[A].hidePopupElement_=function()
{na(this.element_[B],"hidden");td(this.element_,l)};var Td=function(a)
{ka(a.element_[B],"-200px");a.element_[B].top="-200px"};K=Y[A];K.onBeforeShow=funct
ion(){return this[Ca]("beforeshow")};K.onShow_=function()
{this.lastShowTime_=sb();this.lastHideTime_=-1;this[Ca]
("show")};K.onHide_=function(a){this.lastHideTime_=sb();this[Ca]
({type:"hide",target:a})};
K.onDocumentMouseDown_=function(a){a=a[D];if(!uc(this.element_,a)&&(!
this.autoHideRegion_||uc(this.autoHideRegion_,a))&&!(sb()-
this.lastShowTime_<150))Rd(this,a)};K.onDocumentKeyDown_=function(a)
{if(a[Ia]==27)if(Rd(this,a[D]))
{a.preventDefault();a.stopPropagation()}};K.onDocumentBlur_=function(a)
{if(this.enableCrossIframeDismissal_){var b=T(this.element_);if(R||ac)
{if((a=b.activeElement)&&uc(this.element_,a))return}else if(a[D]!=b)return;sb()-
this.lastShowTime_<150||Rd(this)}};
K.disposeInternal=function(){Y.superClass_.disposeInternal[F]
(this);this.handler_.dispose();delete this.element_;delete this.handler_};var
Ud=function(a,b){this.popupCorner_=4;this.position_=b||n;Y[F](this,a)};O(Ud,Y);var
Vd=function(a,b,c,d,f){a.margin_=b==j||b instanceof X?b:new
X(b,c,d,f);a.isVisible_&&a.reposition()};Ud[A].reposition=function()
{if(this.position_){var a=!this.isVisible_&&this.type_!
="move_offscreen",b=this.getElement();if(a)
{na(b[B],"hidden");td(b,i)}this.position_.reposition(b,this.popupCorner_,this.margi
n_);a&&td(b,l)}};var Z=function(a,b,c){this.dom_=c||(a?oc(N(a)?fa[Aa]
(a):a):oc());Ud[F](this,this.dom_.createDom("div",
{style:"position:absolute;display:none;"}));this.cursorPosition=new
P(1,1);this.activeEl_=j;this.elements_=new Hd;a&&Wd(this,a);b!
=j&&Xd(this,b)};O(Z,Ud);var Yd=[];qa(Z[A],"goog-
tooltip");Z[A].showDelayMs_=500;Z[A].hideDelayMs_=0;Z[A].getDomHelper=function()
{return this.dom_};
var Wd=function(a,b){b=N(b)?fa[Aa]
(b):b;a.elements_.add(b);W(b,"mouseover",a.handleMouseOver,l,a);W(b,"mouseout",a.ha
ndleMouseOutAndBlur,l,a);W(b,"mousemove",a.handleMouseMove,l,a);W(b,"focus",a.handl
eFocus,l,a);W(b,"blur",a.handleMouseOutAndBlur,l,a)};Z[A].detach=function(a){if(a)
{a=N(a)?fa[Aa](a):a;Zd(this,a);this.elements_[Ha](a)}else{for(var
b=this.elements_.getValues(),c=0;a=b[c];c++)Zd(this,a);this.elements_.clear()}};
var Zd=function(a,b)
{Zc(b,"mouseover",a.handleMouseOver,l,a);Zc(b,"mouseout",a.handleMouseOutAndBlur,l,
a);Zc(b,"mousemove",a.handleMouseMove,l,a);Zc(b,"focus",a.handleFocus,l,a);Zc(b,"bl
ur",a.handleMouseOutAndBlur,l,a)};Z[A].getHideDelayMs=function(){return
this.hideDelayMs_};var Xd=function(a,b){a=a.getElement();if("textContent"in
a)a.textContent=b;else if(a[Ja]&&a[Ja][za]==3){for(;a.lastChild!
=a[Ja];)a.removeChild(a.lastChild);a[Ja].data=b}else{for(var
c;c=a[Ja];)a.removeChild(c);a[va](T(a).createTextNode(b))}};
Z[A].setElement=function(a){var
b=this.getElement();b&&tc(b);Z.superClass_.setElement[F](this,a);if(a)
{b=this.dom_.document_[C];b.insertBefore(a,b.lastChild)}};var $d=function(a){return
a.showTimer?a.isVisible_?4:1:a.hideTimer?3:a.isVisible_?
2:0};Z[A].isCoordinateInTooltip=function(a){if(!this.isVisible_)return l;var
b=md(this.getElement()),c=rd(this.getElement());return
b.x<=a.x&&a.x<=b.x+c[s]&&b.y<=a.y&&a.y<=b.y+c[I]};
Z[A].onBeforeShow=function(){if(!Y[A].onBeforeShow[F](this))return
l;if(this[G])for(var a,b=0;a=Yd[b];b++)uc(a.getElement(),this[G])||
Sd(a,l);ub(Yd,this)>=0||Yd[r]
(this);a=this.getElement();qa(a,this.className);ae(this);W(a,"mouseover",this.handl
eTooltipMouseOver,l,this);W(a,"mouseout",this.handleTooltipMouseOut,l,this);be(this
);return i};
Z[A].onHide_=function(){wb(Yd,this);for(var a=this.getElement(),b,c=0;b=Yd[c];c+
+)b[G]&&uc(a,b[G])&&Sd(b,l);this.parentTooltip_&&ce(this.parentTooltip_);Zc(a,"mous
eover",this.handleTooltipMouseOver,l,this);Zc(a,"mouseout",this.handleTooltipMouseO
ut,l,this);sa(this,n);if($d(this)==0)this.seenInteraction_=l;Y[A].onHide_[F]
(this)};Z[A].maybeShow=function(a,b){if(this[G]==a)if(this.seenInteraction_||!
this.requireInteraction_){Sd(this,l);this.isVisible_||de(this,a,b)}else
sa(this,n);this.showTimer=n};
var de=function(a,b,c){if(c)c=c;else{c=a.cursorPosition.clone();c=new
ee(c)}sa(a,b);a.position_=c||
n;a.isVisible_&&a.reposition();Sd(a,i)};Z[A].maybeHide=function(a)
{this.hideTimer=n;if(a==this[G])if((this.activeEl_==j||this.activeEl_!
=this.getElement()&&!this.elements_[bb](this.activeEl_))&&!
(this.childTooltip_&&this.childTooltip_.activeEl_))Sd(this,l)};
Z[A].handleMouseOver=function(a){this.activeEl_=a=fe(this,a[D]);ae(this);if(a!
=this[G]){sa(this,a);if(!
this.showTimer)this.showTimer=Ld(rb(this.maybeShow,this,a,void
0),this.showDelayMs_);ge(this)}};var fe=function(a,b){try{for(;b&&!a.elements_[bb]
(b);)b=b[eb];return b}catch(c){return j}};Z[A].handleMouseMove=function(a){var
b=xc(this.dom_);this.cursorPosition.x=a[Pa]+b.x;this.cursorPosition.y=a[Qa]
+b.y;this.seenInteraction_=i};
Z[A].handleFocus=function(a)
{this.activeEl_=a=fe(this,a[D]);this.seenInteraction_=i;if(this[G]!=a)
{sa(this,a);var b=new he(this.activeEl_);ae(this);if(!
this.showTimer)this.showTimer=Ld(rb(this.maybeShow,this,a,b),this.showDelayMs_);ge(
this)}};var ge=function(a){if(a[G])for(var b,c=0;b=Yd[c];c+
+)if(uc(b.getElement(),a[G])){b.childTooltip_=a;a.parentTooltip_=b}};
Z[A].handleMouseOutAndBlur=function(a){var b=fe(this,a[D]),c=fe(this,a[xa]);if(b!
=c)
{if(b==this.activeEl_)this.activeEl_=j;be(this);this.seenInteraction_=l;if(this.isV
isible_&&(!a[xa]||!uc(this.getElement(),a[xa])))ce(this);else
sa(this,n)}};Z[A].handleTooltipMouseOver=function(){var
a=this.getElement();if(this.activeEl_!=a)
{ae(this);this.activeEl_=a}};Z[A].handleTooltipMouseOut=function(a){var
b=this.getElement();if(this.activeEl_==b&&(!a[xa]||!uc(b,a[xa])))
{this.activeEl_=j;ce(this)}};
var be=function(a){if(a.showTimer)
{Kd.clearTimeout(a.showTimer);a.showTimer=n}},ce=function(a)
{if($d(a)==2)a.hideTimer=Ld(rb(a.maybeHide,a,a[G]),a.getHideDelayMs())},ae=function
(a){if(a.hideTimer)
{Kd.clearTimeout(a.hideTimer);a.hideTimer=n}};Z[A].disposeInternal=function()
{Sd(this,l);be(this);this.detach();this.getElement()&&tc(this.getElement());this.ac
tiveEl_=j;delete this.dom_;Z.superClass_.disposeInternal[F](this)};var
ee=function(a,b){zd[F](this,a,b)};O(ee,zd);
ee[A].reposition=function(a,b,c){b=jd(a);b=od(b);c=c?new X(c.top+10,c[J],c[H],c[x]
+10):new
X(10,0,0,10);ud(this.coordinate,a,4,c,b,9)&496&&ud(this.coordinate,a,4,c,b,5)};var
he=function(a){yd[F](this,a,3)};O(he,yd);he[A].reposition=function(a,b,c){var d=new
P(10,0);vd(this.element,this.corner,a,b,d,c,9)&496&&vd(this.element,2,a,1,d,c,5)};v
ar $=function(a,b,c){Z[F](this,a,b,c)};O($,Z);$[A].cursorTracking_=l;$
[A].cursorTrackingHideDelayMs_=100;$[A].tracking_=l;var ie=function(a,b)
{a.hotSpotPadding_=b||j};$[A].onShow_=function(){$.superClass_.onShow_[F]
(this);this.boundingBox_=gd(sd(this.getElement()));if(this[G])this.anchorBox_=gd(sd
(this[G]));this.tracking_=this.cursorTracking_;W(vc(this.getDomHelper()),"mousemove
",this.handleMouseMove,l,this)};
$[A].onHide_=function()
{Zc(vc(this.getDomHelper()),"mousemove",this.handleMouseMove,l,this);this.anchorBox
_=this.boundingBox_=this.paddingBox_=j;this.tracking_=l;$.superClass_.onHide_[F]
(this)};$[A].isCoordinateInTooltip=function(a){if(this.paddingBox_)return
this.paddingBox_[bb](a);return $.superClass_.isCoordinateInTooltip[F](this,a)};var
je=function(a,b){if(a.anchorBox_&&a.anchorBox_[bb](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(!
je(this,this.cursorPosition)&&!this.activeEl_&&!
(this.childTooltip_&&this.childTooltip_.activeEl_))bc&&this.cursorPosition.x==0&&th
is.cursorPosition.y==0||Sd(this,l)};
$[A].handleMouseMove=function(a){var b=i;if(this.boundingBox_){var
c=xc(this.getDomHelper());c=new P(a[Pa]+c.x,a[Qa]+c.y);if(je(this,c))b=l;else
if(this.tracking_)
{b=ed(this.boundingBox_,this.cursorPosition);b=ed(this.boundingBox_,c)>=b}}if(b)
{ce(this);this.activeEl_=j;if(this.childTooltip_)this.childTooltip_.activeEl_=j}els
e $d(this)==3&&ae(this);$.superClass_.handleMouseMove[F](this,a)};
$[A].handleTooltipMouseOver=function(){if(this.activeEl_!=this.getElement())
{this.tracking_=l;this.activeEl_=this.getElement();if(!
this.paddingBox_&&this.hotSpotPadding_)this.paddingBox_=this.boundingBox_.clone().e
xpand(this.hotSpotPadding_)}};$[A].getHideDelayMs=function(){return this.tracking_?
this.cursorTrackingHideDelayMs_:this.hideDelayMs_};var ke=/^(?:([^:/?#]+):)?
(?://(?:([^/?#]*)@)?([^/?#:@]*)(?::([0-9]+))?)?([^?#]+)?(?:?([^#]*))?
(?:#(.*))?$/;var le=function(a,b){var c;if(a instanceof le)
{this.setIgnoreCase(b==j?
a.ignoreCase_:b);me(this,a.scheme_);ne(this,a.userInfo_);oe(this,a.domain_);pe(this
,a.port_);qe(this,a.path_);re(this,a.queryData_.clone());se(this,a.fragment_)}else
if(a&&(c=ea(a).match(ke))){this.setIgnoreCase(!!
b);me(this,c[1]||"",i);ne(this,c[2]||"",i);oe(this,c[3]||"",i);pe(this,c[4]);qe(thi
s,c[5]||"",i);re(this,c[6]||"",i);se(this,c[7]||"",i)}else{this.setIgnoreCase(!!
b);this.queryData_=new te(j,this,this.ignoreCase_)}};
K=le[A];K.scheme_="";K.userInfo_="";K.domain_="";K.port_=j;K.path_="";K.fragment_="
";K.isReadOnly_=l;K.ignoreCase_=l;
oa(K,function(){if(this.cachedToString_)return this.cachedToString_;var
a=[];this.scheme_&&a[r](ue(this.scheme_,ve),":");if(this.domain_){a[r]
("//");this.userInfo_&&a[r](ue(this.userInfo_,ve),"@");var b;b=this.domain_;b=N(b)?
aa(b):j;a[r](b);this.port_!=j&&a[r](":",ea(this.port_))}this.path_&&a[r]
(ue(this.path_,we));(b=ea(this.queryData_))&&a[r]("?",b);this.fragment_&&a[r]
("#",ue(this.fragment_,xe));return this.cachedToString_=a.join("")});
K.clone=function(){var
a=this.scheme_,b=this.userInfo_,c=this.domain_,d=this.port_,f=this.path_,e=this.que
ryData_.clone(),h=this.fragment_,k=new
le(j,this.ignoreCase_);a&&me(k,a);b&&ne(k,b);c&&oe(k,c);d&&pe(k,d);f&&qe(k,f);e&&re
(k,e);h&&se(k,h);return k};
var me=function(a,b,c){ye(a);delete a.cachedToString_;a.scheme_=c?b?
ga(b):"":b;if(a.scheme_)a.scheme_=a.scheme_[u](/:$/,"");return
a},ne=function(a,b,c){ye(a);delete a.cachedToString_;a.userInfo_=c?b?
ga(b):"":b;return a},oe=function(a,b,c){ye(a);delete a.cachedToString_;a.domain_=c?
b?ga(b):"":b;return a},pe=function(a,b){ye(a);delete a.cachedToString_;if(b)
{b=Number(b);if(isNaN(b)||b<0)g(m("Bad port number "+b));a.port_=b}else
a.port_=j;return a},qe=function(a,b,c){ye(a);delete a.cachedToString_;
a.path_=c?b?ga(b):"":b;return a},re=function(a,b,c){ye(a);delete
a.cachedToString_;if(b instanceof te)
{a.queryData_=b;a.queryData_.uri_=a;a.queryData_.setIgnoreCase(a.ignoreCase_)}else{
c||(b=ue(b,ze));a.queryData_=new te(b,a,a.ignoreCase_)}return a},Ae=function(a,b,c)
{ye(a);delete a.cachedToString_;a.queryData_.set(b,c);return a},se=function(a,b,c)
{ye(a);delete a.cachedToString_;a.fragment_=c?b?ga(b):"":b;return a},ye=function(a)
{if(a.isReadOnly_)g(m("Tried to modify a read-only Uri"))};
le[A].setIgnoreCase=function(a)
{this.ignoreCase_=a;this.queryData_&&this.queryData_.setIgnoreCase(a)};
var Be=/^[a-zA-Z0-9-_.!~*'():/;?]*$/,ue=function(a,b){var c=j;if(N(a))
{c=a;Be.test(c)||(c=encodeURI(a));if(c.search(b)>=0)c=c[u](b,Ce)}return
c},Ce=function(a){a=a.charCodeAt(0);return"%"+(a>>4&15)[Ta](16)+(a&15)[Ta]
(16)},ve=/[#/?@]/g,we=/[#?]/g,ze=/[#?@]/g,xe=/#/g,te=function(a,b,c)
{this.encodedQuery_=a||j;this.uri_=b||j;this.ignoreCase_=!!c},Ee=function(a){if(!
a.keyMap_){a.keyMap_=new Ed;if(a.encodedQuery_)for(var b=a.encodedQuery_[Xa]
("&"),c=0;c<b[z];c++){var d=b[c][w]("="),f=j,e=j;if(d>=
0){f=b[c].substring(0,d);e=b[c].substring(d+1)}else f=b[c];f=ga(f[u](/+/g,"
"));f=De(a,f);a.add(f,e?ga(e[u](/+/g,"
")):"")}}};K=te[A];K.keyMap_=j;K.count_=j;K.add=function(a,b)
{Ee(this);Fe(this);a=De(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){Ee(this);a=De(this,a);if(this.keyMap_.containsKey(a))
{Fe(this);var b=this.keyMap_.get(a);if(M(b))this.count_-=b[z];else
this.count_--;return this.keyMap_[Ha](a)}return l};K.clear=function()
{Fe(this);this.keyMap_&&this.keyMap_.clear();this.count_=0};K.containsKey=function(
a){Ee(this);a=De(this,a);return this.keyMap_.containsKey(a)};
K.getKeys=function(){Ee(this);for(var
a=this.keyMap_.getValues(),b=this.keyMap_.getKeys(),c=[],d=0;d<b[z];d++){var
f=a[d];if(M(f))for(var e=0;e<f[z];e++)c[r](b[d]);else c[r](b[d])}return
c};K.getValues=function(a){Ee(this);if(a){a=De(this,a);if(this.containsKey(a)){var
b=this.keyMap_.get(a);if(M(b))return b;else{a=[];a[r](b)}}else
a=[]}else{b=this.keyMap_.getValues();a=[];for(var c=0;c<b[z];c++){var d=b[c];M(d)?
zb(a,d):a[r](d)}}return a};
K.set=function(a,b){Ee(this);Fe(this);a=De(this,a);if(this.containsKey(a)){var
c=this.keyMap_.get(a);if(M(c))this.count_-=c[z];else
this.count_--}this.keyMap_.set(a,b);this.count_++;return this};K.get=function(a,b)
{Ee(this);a=De(this,a);if(this.containsKey(a)){a=this.keyMap_.get(a);return M(a)?
a[0]:a}else return b};
oa(K,function(){if(this.encodedQuery_)return this.encodedQuery_;if(!
this.keyMap_)return"";for(var a=[],b=0,c=this.keyMap_.getKeys(),d=0;d<c[z];d++){var
f=c[d],e=Ib(f);f=this.keyMap_.get(f);if(M(f))for(var h=0;h<f[z];h++){b>0&&a[r]
("&");a[r](e,"=",Ib(f[h]));b++}else{b>0&&a[r]("&");a[r](e,"=",Ib(f));b++}}return
this.encodedQuery_=a.join("")});var Fe=function(a){delete a.decodedQuery_;delete
a.encodedQuery_;a.uri_&&delete a.uri_.cachedToString_};
te[A].clone=function(){var a=new
te;if(this.decodedQuery_)a.decodedQuery_=this.decodedQuery_;if(this.encodedQuery_)a
.encodedQuery_=this.encodedQuery_;if(this.keyMap_)a.keyMap_=this.keyMap_.clone();re
turn a};var De=function(a,b){b=ea(b);if(a.ignoreCase_)b=b.toLowerCase();return
b};te[A].setIgnoreCase=function(a){if(a&&!this.ignoreCase_)
{Ee(this);Fe(this);Dd(this.keyMap_,function(b,c){var d=c.toLowerCase();if(c!=d)
{this[Ha](c);this.add(d,b)}},this)}this.ignoreCase_=a};var Ge,He=function(a,b,c)
{var d="";if(Ge)d=Ge.serverBase;else if(ba.manifest)d=ba.manifest.serverBase;var
f=d+"/widgets/Hovercard";if(c.client)f=d+"/ui/Hovercard";d=new
le(f);Ae(d,"uid",b);for(var e in c)Ae(d,e,c[e]);b=108+(c.embedHeight?
c.embedHeight-16:0);if(!a.f_preload)
{c=fa.createElement("iframe");ia(c,"320px");ua(c,b+"px");c.frameBorder="none";c.scr
olling="no";c[B].border="none";a.getElement()[va](c);c.src=d[Ta]();a.getElement()
[B].zIndex="50000"}a.f_preload=i};
gb("addHovercard",function(a,b,c){var d=new $(a);ie(d,new
X(5,5,5,5));d.cursorTracking_=i;Vd(d,new
X(10,0,0,10));d.hideDelayMs_=250;d.onDocumentBlur_=function()
{};W(a,"mouseover",rb(He,j,d,b,c));return d},void
0);gb("_HovercardLauncherComponentInit",function(a){Ge=a},void
0);ba._HovercardLauncherManifestInit&&ba._HovercardLauncherManifestInit(); })()

More Related Content

What's hot

Development by the numbers
Development by the numbersDevelopment by the numbers
Development by the numbersAnthony Ferrara
 
20181020 advanced higher-order function
20181020 advanced higher-order function20181020 advanced higher-order function
20181020 advanced higher-order functionChiwon Song
 
20180721 code defragment
20180721 code defragment20180721 code defragment
20180721 code defragmentChiwon Song
 
bullismo e scuola primaria
bullismo e scuola primariabullismo e scuola primaria
bullismo e scuola primariaimartini
 
Programmation fonctionnelle en JavaScript
Programmation fonctionnelle en JavaScriptProgrammation fonctionnelle en JavaScript
Programmation fonctionnelle en JavaScriptLoïc Knuchel
 
The Ring programming language version 1.3 book - Part 25 of 88
The Ring programming language version 1.3 book - Part 25 of 88The Ring programming language version 1.3 book - Part 25 of 88
The Ring programming language version 1.3 book - Part 25 of 88Mahmoud Samir Fayed
 
Firefox content
Firefox contentFirefox content
Firefox contentUbald Agi
 
Combined presentation init
Combined presentation initCombined presentation init
Combined presentation initkhalid mansoor
 
Data Structures Practical File
Data Structures Practical File Data Structures Practical File
Data Structures Practical File Harjinder Singh
 
Nonlinear analysis of fixed support beam with hinge by hinge method in c prog...
Nonlinear analysis of fixed support beam with hinge by hinge method in c prog...Nonlinear analysis of fixed support beam with hinge by hinge method in c prog...
Nonlinear analysis of fixed support beam with hinge by hinge method in c prog...Salar Delavar Qashqai
 

What's hot (12)

Development by the numbers
Development by the numbersDevelopment by the numbers
Development by the numbers
 
F(3)
F(3)F(3)
F(3)
 
20181020 advanced higher-order function
20181020 advanced higher-order function20181020 advanced higher-order function
20181020 advanced higher-order function
 
20180721 code defragment
20180721 code defragment20180721 code defragment
20180721 code defragment
 
bullismo e scuola primaria
bullismo e scuola primariabullismo e scuola primaria
bullismo e scuola primaria
 
Programmation fonctionnelle en JavaScript
Programmation fonctionnelle en JavaScriptProgrammation fonctionnelle en JavaScript
Programmation fonctionnelle en JavaScript
 
The Ring programming language version 1.3 book - Part 25 of 88
The Ring programming language version 1.3 book - Part 25 of 88The Ring programming language version 1.3 book - Part 25 of 88
The Ring programming language version 1.3 book - Part 25 of 88
 
Firefox content
Firefox contentFirefox content
Firefox content
 
Combined presentation init
Combined presentation initCombined presentation init
Combined presentation init
 
Data Structures Practical File
Data Structures Practical File Data Structures Practical File
Data Structures Practical File
 
VTU Data Structures Lab Manual
VTU Data Structures Lab ManualVTU Data Structures Lab Manual
VTU Data Structures Lab Manual
 
Nonlinear analysis of fixed support beam with hinge by hinge method in c prog...
Nonlinear analysis of fixed support beam with hinge by hinge method in c prog...Nonlinear analysis of fixed support beam with hinge by hinge method in c prog...
Nonlinear analysis of fixed support beam with hinge by hinge method in c prog...
 

Similar to 767899620 Hovercard Launcher

Similar to 767899620 Hovercard Launcher (20)

3 u-mpb2u2na
 3 u-mpb2u2na 3 u-mpb2u2na
3 u-mpb2u2na
 
FunctionalJS - George Shevtsov
FunctionalJS - George ShevtsovFunctionalJS - George Shevtsov
FunctionalJS - George Shevtsov
 
1. George Shevtsov - Functional JavaScript
1. George Shevtsov - Functional JavaScript1. George Shevtsov - Functional JavaScript
1. George Shevtsov - Functional JavaScript
 
F(1)
F(1)F(1)
F(1)
 
F(2)
F(2)F(2)
F(2)
 
Transport in india
Transport in indiaTransport in india
Transport in india
 
Functional programming using underscorejs
Functional programming using underscorejsFunctional programming using underscorejs
Functional programming using underscorejs
 
manager
managermanager
manager
 
D1
D1D1
D1
 
Functional Programming in PHP
Functional Programming in PHPFunctional Programming in PHP
Functional Programming in PHP
 
JavaScript Functions
JavaScript FunctionsJavaScript Functions
JavaScript Functions
 
lets play with "c"..!!! :):)
lets play with "c"..!!! :):)lets play with "c"..!!! :):)
lets play with "c"..!!! :):)
 
Fat Arrow (ES6)
Fat Arrow (ES6)Fat Arrow (ES6)
Fat Arrow (ES6)
 
Advanced JavaScript
Advanced JavaScriptAdvanced JavaScript
Advanced JavaScript
 
Functional programming in javascript
Functional programming in javascriptFunctional programming in javascript
Functional programming in javascript
 
Falcom Việt Nam
Falcom Việt NamFalcom Việt Nam
Falcom Việt Nam
 
Function recap
Function recapFunction recap
Function recap
 
Function recap
Function recapFunction recap
Function recap
 
F
FF
F
 
F
FF
F
 

767899620 Hovercard Launcher

  • 1. /* Copyright 2007 Google Inc. */ (function() { function g(a){throw a;}var i=true,j=null,l=false,aa=encodeURIComponent,ba=window,ca=Object,m=Error,n=undefined ,da=parseFloat,ea=String,fa=document,ga=decodeURIComponent,p=Math,ha=Array;function ia(a,b){return a.width=b}function ja(a,b){return a.currentTarget=b}function ka(a,b) {return a.left=b}function ma(a,b){return a.keyCode=b}function na(a,b){return a.visibility=b}function oa(a,b){return a.toString=b}function pa(a,b){return a.length=b}function qa(a,b){return a.className=b} function ra(a,b){return a.target=b}function sa(a,b){return a.anchor=b}function ta(a,b){return a.contains=b}function ua(a,b){return a.height=b} var va="appendChild",r="push",wa="getBoundingClientRect",xa="relatedTarget",s="width",y a="round",u="replace",za="nodeType",Aa="getElementById",Ba="offsetWidth",w="indexOf ",Ca="dispatchEvent",Da="capture",x="left",Ea="screenX",Fa="screenY",Ga="getBoxObje ctFor",Ha="remove",Ia="keyCode",Ja="firstChild",Ka="forEach",La="clientLeft",Ma="cl ientTop",Na="handleEvent",y="type",Oa="defaultView",Pa="clientX",Qa="clientY",Ra="d ocumentElement",Sa="scrollTop",Ta="toString",z="length",Ua="propertyIsEnumerable", A="prototype",Va="clientWidth",Wa="document",Xa="split",Ya="hasOwnProperty",B="styl e",C="body",D="target",F="call",G="anchor",Za="clientHeight", $a="scrollLeft",ab="compatMode",H="bottom",bb="contains",db="apply",eb="parentNode" ,I="height",fb="offsetHeight",J="right",K,L=this,gb=function(a,b,c){a=a[Xa] (".");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]={})},hb=function(a,b){a=a[Xa](".");b=b||L;for(var c;c=a.shift();)if(b[c])b= b[c];else return j;return b},ib=function(){},jb=function(a){var b=typeof a;if(b=="object")if(a){if(a instanceof ha||!(a instanceof ca)&&ca[A][Ta][F] (a)=="[object Array]"||typeof a[z]=="number"&&typeof a.splice!="undefined"&&typeof a[Ua]!="undefined"&&!a[Ua]("splice"))return"array";if(!(a instanceof ca)&&(ca[A] [Ta][F](a)=="[object Function]"||typeof a[F]!="undefined"&&typeof a[Ua]! ="undefined"&&!a[Ua]("call")))return"function"}else return"null";else if(b=="function"&&typeof a[F]=="undefined")return"object"; return b},M=function(a){return jb(a)=="array"},kb=function(a){var b=jb(a);return b=="array"||b=="object"&&typeof a[z]=="number"},N=function(a){return typeof a=="string"},lb=function(a){return jb(a)=="function"},mb=function(a){a=jb(a);return a=="object"||a=="array"||a=="function"},pb=function(a){if(a[Ya]&&a[Ya](nb))return a[nb];a[nb]||(a[nb]=++ob);return a[nb]},nb="closure_hashCode_"+p.floor(p.random()*2147483648)[Ta] (36),ob=0,qb=function(a){var b=jb(a);if(b=="object"||b=="array"){if(a.clone)return a.clone[F](a); b=b=="array"?[]:{};for(var c in a)b[c]=qb(a[c]);return b}return a},rb=function(a,b) {var c=b||L;if(arguments[z]>2){var d=ha[A].slice[F](arguments,2);return function() {var f=ha[A].slice[F](arguments);ha[A].unshift[db](f,d);return a[db](c,f)}}else return function(){return a[db](c,arguments)}},sb=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 tb=ha[A],ub=tb[w]? function(a,b,c){return tb[w][F](a,b,c)}:function(a,b,c){c=c==j?0:c<0?p.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<a[z];c++)if(c in a&&a[c]===b)return c;return-1},vb=tb[Ka]?function(a,b,c){tb[Ka][F] (a,b,c)}:function(a,b,c){for(var d=a[z],f=N(a)?a[Xa](""):a,e=0;e<d;e++)e in f&&b[F] (c,f[e],e,a)},wb=function(a,b){b=ub(a,b);var c;if(c=b>=0)tb.splice[F](a,b,1) [z]==1;return c},xb=function(){return tb.concat[db](tb,arguments)},yb=function(a) {if(M(a))return xb(a); 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<arguments[z];b++){var c=arguments[b],d;if(M(c)||(d=kb(c))&&c[Ya] ("callee"))a[r][db](a,c);else if(d)for(var f=a[z],e=c[z],h=0;h<e;h+ +)a[f+h]=c[h];else a[r](c)}};var P=function(a,b){this.x=a!==n?a:0;this.y=b!==n? b:0};P[A].clone=function(){return new P(this.x,this.y)};oa(P[A],function() {return"("+this.x+", "+this.y+")"});var Ab=function(a,b){return new P(a.x-b.x,a.y- b.y)};var Q=function(a,b){ia(this,a);ua(this,b)};Q[A].clone=function(){return new Q(this[s],this[I])};oa(Q[A],function(){return"("+this[s]+" x "+this[I]
  • 2. +")"});Q[A].floor=function() {ia(this,p.floor(this[s]));ua(this,p.floor(this[I]));return this};Q[A].round=function(){ia(this,p[ya](this[s]));ua(this,p[ya](this[I]));return this};var Bb=function(a,b,c){for(var d in a)b[F](c,a[d],d,a)},Cb=function(a){var b=[],c=0;for(var d in a)b[c++]=a[d];return b},Eb=function(a){var b=[],c=0;for(var d in a)b[c++]=d;return b},Fb=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLoc aleString","toString","valueOf"],Gb=function(a){for(var b,c,d=1;d<arguments[z];d++) {c=arguments[d];for(b in c)a[b]=c[b];for(var f=0;f<Fb[z];f++){b=Fb[f];if(ca[A][Ya] [F](c,b))a[b]=c[b]}}};var Hb=/^[a-zA-Z0-9-_.!~*'()]*$/,Ib=function(a){a=ea(a);if(! Hb.test(a))return aa(a);return a},Ob=function(a,b){if(b)return a[u](Jb,"&amp;")[u] (Kb,"&lt;")[u](Lb,"&gt;")[u](Mb,"&quot;");else{if(!Nb.test(a))return a;if(a[w] ("&")!=-1)a=a[u](Jb,"&amp;");if(a[w]("<")!=-1)a=a[u](Kb,"&lt;");if(a[w](">")! =-1)a=a[u](Lb,"&gt;");if(a[w]('"')!=-1)a=a[u](Mb,"&quot;");return a}},Jb=/&/g,Kb=/</g,Lb=/>/g,Mb=/"/g,Nb=/[&<>"]/,Qb=function(a,b){var c=0;a=ea(a) [u](/^[sxa0]+|[sxa0]+$/g,"")[Xa](".");b=ea(b)[u](/^[sxa0]+|[sxa0]+$/g, "")[Xa](".");for(var d=p.max(a[z],b[z]),f=0;c==0&&f<d;f++){var e=a[f]||"",h=b[f]||"",k=new RegExp("(d*)(D*)","g"),q=new RegExp("(d*) (D*)","g");do{var o=k.exec(e)||["","",""],t=q.exec(h)||["","",""];if(o[0] [z]==0&&t[0][z]==0)break;c=Pb(o[1][z]==0?0:parseInt(o[1],10),t[1][z]==0? 0:parseInt(t[1],10))||Pb(o[2][z]==0,t[2][z]==0)||Pb(o[2],t[2])}while(c==0)}return c},Pb=function(a,b){if(a<b)return-1;else if(a>b)return 1;return 0};sb();var Rb,Sb,Tb,Ub,Vb,Wb,Xb=function(){return L.navigator? L.navigator.userAgent:j},Yb=function(){return L.navigator};Vb=Ub=Tb=Sb=Rb=l;var Zb;if(Zb=Xb()){var $b=Yb();Rb=Zb[w]("Opera")==0;Sb=!Rb&&Zb[w]("MSIE")!=-1;Ub=(Tb=! Rb&&Zb[w]("WebKit")!=-1)&&Zb[w]("Mobile")!=-1;Vb=!Rb&&!Tb&&$b.product=="Gecko"}var ac=Rb,R=Sb,bc=Vb,S=Tb,cc=Ub,dc=Yb();Wb=(dc&&dc.platform||"")[w]("Mac")!=-1;var ec=!!Yb()&&(Yb().appVersion||"")[w]("X11")!=-1,fc="",gc; if(ac&&L.opera){var hc=L.opera.version;fc=typeof hc=="function"? hc():hc}else{if(bc)gc=/rv:([^);]+)()|;)/;else if(R)gc=/MSIEs+([^);]+) ()|;)/;else if(S)gc=/WebKit/(S+)/;if(gc){var ic=gc.exec(Xb());fc=ic? ic[1]:""}}var jc=fc,kc={},lc=function(a){return kc[a]||(kc[a]=Qb(jc,a)>=0)};var mc;var oc=function(a){return a?new nc(T(a)):mc||(mc=new nc)},qc=function(a,b) {Bb(b,function(c,d){if(d=="style")a[B].cssText=c;else if(d=="class")qa(a,c);else if(d=="for")a.htmlFor=c;else if(d in pc)a.setAttribute(pc[d],c);else a[d]=c})},pc={cellpadding:"cellPadding",cellspacing:"cellSpacing",colspan:"colSpan" ,rowspan:"rowSpan",valign:"vAlign",height:"height",width:"width",usemap:"useMap",fr ameborder:"frameBorder",type:"type"},sc=function(a,b){var c=b[0],d=b[1];if(R&&d&&(d.name||d[y])){c=["<",c];d.name&& c[r](' name="',Ob(d.name),'"');if(d[y]){c[r](' type="',Ob(d[y]),'"');d=qb(d);delete d[y]}c[r](">");c=c.join("")}var f=a.createElement(c);if(d)if(N(d))qa(f,d);else qc(f,d);if(b[z]>2){d=function(h){if(h)f[va](N(h)? a.createTextNode(h):h)};for(c=2;c<b[z];c++){var e=b[c];kb(e)&&!(mb(e)&&e[za]>0)? vb(rc(e)?yb(e):e,d):d(e)}}return f},tc=function(a){return a&&a[eb]? a[eb].removeChild(a):j},uc=function(a,b){if(a[bb]&&b[za]==1)return a==b||a[bb] (b);if(typeof a.compareDocumentPosition!="undefined")return a==b|| Boolean(a.compareDocumentPosition(b)&16);for(;b&&a!=b;)b=b[eb];return b==a},T=function(a){return a[za]==9?a:a.ownerDocument||a[Wa]},rc=function(a) {if(a&&typeof a[z]=="number")if(mb(a))return typeof a.item=="function"||typeof a.item=="string";else if(lb(a))return typeof a.item=="function";return l},nc=function(a){this.document_=a||L[Wa]||fa};nc[A].getDomHelper=oc;var vc=function(a){return a.document_};nc[A].getElement=function(a){return N(a)? this.document_[Aa](a):a}; nc[A].createDom=function(){return sc(this.document_,arguments)};nc[A].createElement=function(a){return this.document_.createElement(a)};nc[A].createTextNode=function(a){return this.document_.createTextNode(a)};var wc=function(a){return a.document_[ab]=="CSS1Compat"},xc=function(a){a=!S&&a.document_[ab]=="CSS1Compat"? a.document_[Ra]:a.document_[C];return new
  • 3. P(a[$a],a[Sa])};nc[A].appendChild=function(a,b){a[va](b)};ta(nc[A],uc);var yc=function(){};yc[A].disposed_=l;yc[A].dispose=function(){if(!this.disposed_) {this.disposed_=i;this.disposeInternal()}};yc[A].disposeInternal=function(){};var zc=function(a,b) {this.type=a;ra(this,b);ja(this,this[D])};O(zc,yc);K=zc[A];K.disposeInternal=functi on(){delete this[y];delete this[D];delete this.currentTarget};K.propagationStopped_=l;K.returnValue_=i;K.stopPropagation=func tion(){this.propagationStopped_=i};K.preventDefault=function() {this.returnValue_=l};var Ac=function(a,b) {a&&this.init(a,b)};O(Ac,zc);K=Ac[A];ra(K,j);K.relatedTarget=j;K.offsetX=0;K.offset Y=0;K.clientX=0;K.clientY=0;K.screenX=0;K.screenY=0;K.button=0;ma(K,0);K.charCode=0 ;K.ctrlKey=l;K.altKey=l;K.shiftKey=l;K.metaKey=l;K.platformModifierKey=l;K.event_=j ; K.init=function(a,b){var c=this.type=a[y];ra(this,a[D]|| a.srcElement);ja(this,b);if(b=a[xa]){if(bc)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[Pa]!==n?a[Pa]:a.pageX;this.clientY=a[Qa]!==n? a[Qa]:a.pageY;this.screenX=a[Ea]||0;this.screenY=a[Fa]|| 0;this.button=a.button;ma(this,a[Ia]||0);this.charCode=a.charCode|| (c=="keypress"? a[Ia]:0);this.ctrlKey=a.ctrlKey;this.altKey=a.altKey;this.shiftKey=a.shiftKey;this. metaKey=a.metaKey;this.platformModifierKey=Wb? a.metaKey:a.ctrlKey;this.event_=a;delete this.returnValue_;delete this.propagationStopped_};K.stopPropagation=function() {this.propagationStopped_=i;if(this.event_.stopPropagation)this.event_.stopPropagat ion();else this.event_.cancelBubble=i};var Bc=R&&!lc("8"); Ac[A].preventDefault=function(){this.returnValue_=l;var a=this.event_;if(a.preventDefault)a.preventDefault();else{a.returnValue=l;if(Bc)try {if(a.ctrlKey||a[Ia]>=112&&a[Ia]<=123)ma(a,-1)}catch(b) {}}};Ac[A].disposeInternal=function(){Ac.superClass_.disposeInternal[F] (this);this.event_=j;ra(this,j);ja(this,j);this.relatedTarget=j};var U=function(a,b) {this.maxCount_=b;this.freeQueue_=[];if(a>this.maxCount_)g(m("[goog.structs.SimpleP ool] Initial cannot be greater than max"));for(b=0;b<a;b++)this.freeQueue_[r] (this.createObjectFn_?this.createObjectFn_(): {})};O(U,yc);U[A].createObjectFn_=j;U[A].disposeObjectFn_=j; var Cc=function(a){if(a.freeQueue_[z])return a.freeQueue_.pop();return a.createObjectFn_?a.createObjectFn_():{}},Ec=function(a,b) {a.freeQueue_[z]<a.maxCount_?a.freeQueue_[r](b):Dc(a,b)},Dc=function(a,b) {if(a.disposeObjectFn_)a.disposeObjectFn_(b);else if(lb(b.dispose))b.dispose();else for(var c in b)delete b[c]};U[A].disposeInternal=function() {U.superClass_.disposeInternal[F](this);for(var a=this.freeQueue_;a[z];)Dc(this,a.pop());delete this.freeQueue_};var Fc;var Gc=(Fc="ScriptEngine"in L&&L.ScriptEngine()=="JScript")? L.ScriptEngineMajorVersion()+"."+L.ScriptEngineMinorVersion() +"."+L.ScriptEngineBuildVersion():"0";var Hc=function() {},Ic=0;K=Hc[A];K.key=0;K.removed=l;K.callOnce=l;K.init=function(a,b,c,d,f,e) {if(lb(a))this.isFunctionListener_=i;else if(a&&a[Na]&&lb(a[Na]))this.isFunctionListener_=l;else g(m("Invalid listener argument"));this.listener=a;this.proxy=b;this.src=c;this.type=d;this.capture=!! f;this.handler=e;this.callOnce=l;this.key=++Ic;this.removed=l}; K.handleEvent=function(a){if(this.isFunctionListener_)return this.listener[F] (this.handler||this.src,a);return this.listener[Na][F](this.listener,a)};var Jc,Kc,Lc,Mc,Nc,Oc,Qc,Rc,Sc,Tc,Uc; (function(){function a(){return{count_:0,remaining_:0}}function b() {return[]}function c(){var E=function(Db){return h[F](E.src,E.key,Db)};return E}function d(){return new Hc}function f(){return new Ac}var e=Fc&&!
  • 4. (Qb(Gc,"5.7")>=0),h;Oc=function(E){h=E};if(e){Jc=function(){return Cc(k)};Kc=function(E){Ec(k,E)};Lc=function(){return Cc(q)};Mc=function(E) {Ec(q,E)};Nc=function(){return Cc(o)};Qc=function(){Ec(o,c())};Rc=function(){return Cc(t)};Sc=function(E){Ec(t,E)};Tc=function(){return Cc(v)};Uc=function(E){Ec(v, E)};var k=new U(0,600);k.createObjectFn_=a;var q=new U(0,600);q.createObjectFn_=b;var o=new U(0,600);o.createObjectFn_=c;var t=new U(0,600);t.createObjectFn_=d;var v=new U(0,600);v.createObjectFn_=f}else{Jc=a;Kc=ib;Lc=b;Mc=ib;Nc=c;Qc=ib;Rc=d;Sc=ib;Tc=f; Uc=ib}})();var Vc={},V={},Wc={},Xc={},W=function(a,b,c,d,f){if(b)if(M(b)){for(var e=0;e<b[z];e++)W(a,b[e],c,d,f);return j}else{d=!!d;var h=V;b in h|| (h[b]=Jc());h=h[b];if(!(d in h)){h[d]=Jc();h.count_++}h=h[d];var k=pb(a),q;h.remaining_++;if(h[k]){q=h[k];for(e=0;e<q[z];e++) {h=q[e];if(h.listener==c&&h.handler==f){if(h.removed)break;return q[e].key}}}else{q=h[k]=Lc();h.count_+ +}e=Nc();e.src=a;h=Rc();h.init(c,e,a,b,d,f);c=h.key;e.key=c;q[r](h);Vc[c]=h;Wc[k]|| (Wc[k]=Lc());Wc[k][r](h);if(a.addEventListener){if(a== L||!a.customEvent_)a.addEventListener(b,e,d)}else a.attachEvent(Yc(b),e);return c}else g(m("Invalid event type"))},Zc=function(a,b,c,d,f){if(M(b)){for(var e=0;e<b[z];e++)Zc(a,b[e],c,d,f);return j}d=!!d;a:{e=V;if(b in e){e=e[b];if(d in e) {e=e[d];a=pb(a);if(e[a]){a=e[a];break a}}}a=j}if(!a)return l;for(e=0;e<a[z];e+ +)if(a[e].listener==c&&a[e][Da]==d&&a[e].handler==f)return $c(a[e].key);return l}, $c=function(a){if(!Vc[a])return l;var b=Vc[a];if(b.removed)return l;var c=b.src,d=b[y],f=b.proxy,e=b[Da]; if(c.removeEventListener){if(c==L||! c.customEvent_)c.removeEventListener(d,f,e)}else c.detachEvent&&c.detachEvent(Yc(d),f);c=pb(c);f=V[d][e][c];if(Wc[c]){var h=Wc[c];wb(h,b);h[z]==0&&delete Wc[c]}b.removed=i;f.needsCleanup_=i;ad(d,e,c,f);delete Vc[a];return i},ad=function(a,b,c,d){if(!d.locked_)if(d.needsCleanup_){for(var f=0,e=0;f<d[z];f+ +)if(d[f].removed){var h=d[f].proxy;h.src=j;Qc(h);Sc(d[f])}else{if(f! =e)d[e]=d[f];e++}pa(d,e);d.needsCleanup_=l;if(e==0){Mc(d);delete V[a][b][c];V[a] [b].count_--; if(V[a][b].count_==0){Kc(V[a][b]);delete V[a][b];V[a].count_--}if(V[a].count_==0) {Kc(V[a]);delete V[a]}}}},bd=function(a,b,c){var d=0,f=a==j,e=b==j,h=c==j;c=!! c;if(f)Bb(Wc,function(q){for(var o=q[z]-1;o>=0;o--){var t=q[o];if((e|| b==t[y])&&(h||c==t[Da])){$c(t.key);d++}}});else{a=pb(a);if(Wc[a]) {a=Wc[a];for(f=a[z]-1;f>=0;f--){var k=a[f];if((e||b==k[y])&&(h||c==k[Da])) {$c(k.key);d++}}}}return d},Yc=function(a){if(a in Xc)return Xc[a];return Xc[a]="on"+a},dd=function(a,b,c,d,f){var e=1;b=pb(b);if(a[b]){a.remaining_--; a=a[b];if(a.locked_)a.locked_++;else a.locked_=1;try{for(var h=a[z],k=0;k<h;k++) {var q=a[k];if(q&&!q.removed)e&=cd(q,f)! ==l}}finally{a.locked_--;ad(c,d,b,a)}}return Boolean(e)},cd=function(a,b){b=a[Na] (b);a.callOnce&&$c(a.key);return b}; Oc(function(a,b){if(!Vc[a])return i;a=Vc[a];var c=a[y],d=V;if(!(c in d))return i;d=d[c];var f,e;if(R){f=b||hb("window.event");b=i in d;var h=l in d;if(b) {if(f[Ia]<0||f.returnValue!=n)return i;a:{var k=l;if(f[Ia]==0)try{ma(f,-1);break a}catch(q){k=i}if(k|| f.returnValue==n)f.returnValue=i}}k=Tc();k.init(f,this);f=i;try{if(b){for(var o=Lc(),t=k.currentTarget;t;t=t[eb])o[r](t);e=d[i];e.remaining_=e.count_;for(var v=o[z]-1;!k.propagationStopped_&&v>=0&&e.remaining_;v--) {ja(k,o[v]);f&=dd(e,o[v],c,i,k)}if(h){e= d[l];e.remaining_=e.count_;for(v=0;!k.propagationStopped_&&v<o[z]&&e.remaining_;v+ +){ja(k,o[v]);f&=dd(e,o[v],c,l,k)}}}else f=cd(a,k)}finally{if(o) {pa(o,0);Mc(o)}k.dispose();Uc(k)}return f}e=new Ac(b,this);try{f=cd(a,e)}finally{e.dispose()}return f});var X=function(a,b,c,d) {this.top=a;this.right=b;this.bottom=c;ka(this,d)};X[A].clone=function(){return new X(this.top,this[J],this[H],this[x])};oa(X[A],function(){return"("+this.top+"t, "+this[J]+"r, "+this[H]+"b, "+this[x]+"l)"});ta(X[A],function(a){return!this||!a? l:a instanceof X?
  • 5. a[x]>=this[x]&&a[J]<=this[J]&&a.top>=this.top&&a[H]<=this[H]:a.x>=this[x]&&a.x<=thi s[J]&&a.y>=this.top&&a.y<=this[H]}); X[A].expand=function(a,b,c,d){if(mb(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 ed=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?a.top- b.y:b.y-a[H]}if(b.y>=a.top&&b.y<=a[H])return b.x<a[x]?a[x]-b.x:b.x-a[J];var c=new P(b.x<a[x]?a[x]:a[J],b.y<a.top?a.top:a[H]);a=b.x-c.x;b=b.y-c.y;return p.sqrt(a*a+b*b)};var fd=function(a,b,c,d) {ka(this,a);this.top=b;ia(this,c);ua(this,d)};fd[A].clone=function(){return new fd(this[x],this.top,this[s],this[I])};var gd=function(a){return new X(a.top,a[x] +a[s],a.top+a[I],a[x])};oa(fd[A],function(){return"("+this[x]+", "+this.top+" - "+this[s]+"w x "+this[I]+"h)"}); fd[A].intersection=function(a){var b=p.max(this[x],a[x]),c=p.min(this[x] +this[s],a[x]+a[s]);if(b<=c){var d=p.max(this.top,a.top);a=p.min(this.top+this[I],a.top+a[I]);if(d<=a) {ka(this,b);this.top=d;ia(this,c-b);ua(this,a-d);return i}}return l};ta(fd[A],function(a){return a instanceof fd?this[x]<=a[x]&&this[x]+this[s]>=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 hd=function(a,b){var c=T(a);if(c[Oa]&&c[Oa].getComputedStyle)if(a=c[Oa].getComputedStyle(a,""))return a[b];return j},id=function(a,b){return hd(a,b)||(a.currentStyle? a.currentStyle[b]:j)||a[B][b]},jd=function(a){a=a?a[za]==9?a:T(a):fa;if(R&&! wc(oc(a)))return a[C];return a[Ra]},kd=function(a){var b=a[wa]();if(R) {a=a.ownerDocument;b.left-=a[Ra][La]+a[C][La];b.top-=a[Ra][Ma]+a[C][Ma]}return b},ld=function(a){if(R)return a.offsetParent;var b=T(a),c=id(a,"position"),d=c=="fixed"||c=="absolute";for(a= a[eb];a&&a!=b;a=a[eb]){c=id(a,"position");d=d&&c=="static"&&a!=b[Ra]&&a!=b[C];if(! d&&(a.scrollWidth>a[Va]||a.scrollHeight>a[Za]||c=="fixed"||c=="absolute"))return a}return j},od=function(a){var b=new X(0,Infinity,Infinity,0),c=oc(a),d=c.document_[C],f=! S&&c.document_[ab]=="CSS1Compat"? c.document_[Ra]:c.document_[C],e;for(a=a;a=ld(a);)if((!R||a[Va]!=0)&&(!S||a[Za]! =0||a!=d)&&(a.scrollWidth!=a[Va]||a.scrollHeight!=a[Za])&&id(a,"overflow")! ="visible"){var h=md(a),k;k=a;if(bc&&!lc("1.9")){var q=da(hd(k, "borderLeftWidth"));if(nd(k)){var o=k[Ba]-k[Va]-q- da(hd(k,"borderRightWidth"));q+=o}k=new P(q,da(hd(k,"borderTopWidth")))}else k=new P(k[La],k[Ma]);h.x+=k.x;h.y+=k.y;b.top=p.max(b.top,h.y);b.right=p.min(b[J],h.x+a[Va ]);b.bottom=p.min(b[H],h.y+a[Za]);ka(b,p.max(b[x],h.x));e=e||a! =f}d=f[$a];f=f[Sa];if(S) {b.left+=d;b.top+=f}else{ka(b,p.max(b[x],d));b.top=p.max(b.top,f)}if(!e||S) {b.right+=d;b.bottom+=f}c=c.document_.parentWindow||c.document_[Oa]|| ba;e=c[Wa];if(S&&!lc("500")&&!cc){if(typeof c.innerHeight== "undefined")c=ba;e=c.innerHeight;a=c[Wa][Ra].scrollHeight;if(c==c.top)if(a<e)e- =15;c=new Q(c.innerWidth,e)}else{c=e[ab]=="CSS1Compat"&&(!ac||ac&&lc("9.50"))? e[Ra]:e[C];c=new Q(c[Va],c[Za])}b.right=p.min(b[J],d+c[s]);b.bottom=p.min(b[H],f+c[I]);return b.top>=0&&b[x]>=0&&b[H]>b.top&&b[J]>b[x]?b:j},md=function(a){var b,c=T(a),d=id(a,"position"),f=bc&&c[Ga]&&!a[wa]&&d=="absolute"&&(b=c[Ga] (a))&&(b[Ea]<0||b[Fa]<0),e=new P(0,0),h=jd(c);if(a==h)return e;if(a[wa]) {b=kd(a);a=xc(oc(c));e.x=b[x]+a.x;e.y=b.top+ a.y}else if(c[Ga]&&!f){b=c[Ga](a);a=c[Ga](h);e.x=b[Ea]-a[Ea];e.y=b[Fa]- a[Fa]}else{b=a;do{e.x+=b.offsetLeft;e.y+=b.offsetTop;if(b!=a){e.x+=b[La]|| 0;e.y+=b[Ma]||0}if(S&&id(b,"position")=="fixed"){e.x+=c[C][$a];e.y+=c[C] [Sa];break}b=b.offsetParent}while(b&&b!=a);if(ac||S&&d=="absolute")e.y- =c[C].offsetTop;for(b=a;(b=ld(b))&&b!=c[C]&&b!=h;){e.x-=b[$a];if(!ac||b.tagName! ="TR")e.y-=b[Sa]}}return e},pd=function(a){var b=new P;if(a[za]==1)if(a[wa]){var c=kd(a);b.x=c[x];b.y=c.top}else{c=xc(oc(a));a=md(a); b.x=a.x-c.x;b.y=a.y-c.y}else{b.x=a[Pa];b.y=a[Qa]}return b},qd=function(a,b,c){if(b
  • 6. instanceof Q){c=b[I];b=b[s]}else{if(c==n)g(m("missing height argument"));c=c}ia(a[B],typeof b=="number"?p[ya](b)+"px":b);ua(a[B],typeof c=="number"?p[ya](c)+"px":c)},rd=function(a){var b=ac&&! lc("10");if(id(a,"display")!="none")return b?new Q(a[Ba]||a[Va],a[fb]||a[Za]):new Q(a[Ba],a[fb]);var c=a[B],d=c.display,f=c.visibility,e=c.position;na(c,"hidden");c.position="absolute" ;c.display="inline";if(b){b=a[Ba]||a[Va];a= a[fb]||a[Za]}else{b=a[Ba];a=a[fb]}c.display=d;c.position=e;na(c,f);return new Q(b,a)},sd=function(a){var b=md(a);a=rd(a);return new fd(b.x,b.y,a[s],a[I])},td=function(a,b){a[B].display=b?"":"none"},nd=function(a) {return"rtl"==id(a,"direction")};var vd=function(a,b,c,d,f,e,h,k){var q,o=c.offsetParent;if(o){var t=o.tagName=="HTML"||o.tagName=="BODY";if(!t|| id(o,"position")!="static"){q=md(o);t||(q=Ab(q,new P(o[$a],o[Sa])))}}o=sd(a); (t=od(a))&&o.intersection(new fd(t[x],t.top,t[J]-t[x],t[H]-t.top));t=oc(a);var v=oc(c);if(t.document_!=v.document_){var E=t.document_[C];v=v.document_.parentWindow||v.document_[Oa];var Db=new P(0,0),cb=T(E)?T(E).parentWindow||T(E)[Oa]:ba,Pc=E;do{var Pd=cb==v? md(Pc):pd(Pc);Db.x+=Pd.x;Db.y+=Pd.y}while(cb&&cb!=v&& (Pc=cb.frameElement)&&(cb=cb.parent));v=Db;v=Ab(v,md(E));if(R&&! wc(t))v=Ab(v,xc(t));o.left+=v.x;o.top+=v.y}a=(b&4&&nd(a)?b^2:b)&-5;b=new P(a&2?o[x] +o[s]:o[x],a&1?o.top+o[I]:o.top);if(q)b=Ab(b,q);if(f) {b.x+=(a&2?-1:1)*f.x;b.y+=(a&1?-1:1)*f.y}var la;if(h)if((la=od(c))&&q) {la.top=p.max(0,la.top-q.y);la.right-=q.x;la.bottom-=q.y;ka(la,p.max(0,la[x]- q.x))}return ud(b,c,d,e,la,h,k)},ud=function(a,b,c,d,f,e,h){a=a.clone();var k=0,q=(c&4&&nd(b)?c^2:c)&-5;c=rd(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(e){k=f?wd(a,h,f,e):256;if(k&496)return k}f=a;d=bc&&(Wb|| ec)&&lc("1.9");if(f instanceof P){a=f.x;f=f.y}else{a=f;f=void 0}ka(b[B],typeof a=="number"?(d?p[ya](a):a)+"px":a);b[B].top=typeof f=="number"?(d?p[ya](f):f) +"px":f;(c==h?i:!c||!h?l:c[s]==h[s]&&c[I]==h[I])||qd(b,h);return k},wd=function(a,b,c,d){var f=0;if(a.x<c[x]&&d&1){a.x=c[x];f| =1}if(a.x<c[x]&&a.x+b[s]>c[J]&&d&16){b.width-=a.x+b[s]-c[J];f|=4}if(a.x+b[s]>c[J]&& d&1){a.x=p.max(c[J]-b[s],c[x]);f|=1}if(d&2)f|=(a.x<c[x]?16:0)|(a.x+b[s]>c[J]? 32:0);if(a.y<c.top&&d&4){a.y=c.top;f|=2}if(a.y>=c.top&&a.y+b[I]>c[H]&&d&32) {b.height-=a.y+b[I]-c[H];f|=8}if(a.y+b[I]>c[H]&&d&4){a.y=p.max(c[H]-b[I],c.top);f| =2}if(d&8)f|=(a.y<c.top?64:0)|(a.y+b[I]>c[H]?128:0);return f};var xd=function() {};xd[A].reposition=function(){};var yd=function(a,b) {this.element=a;this.corner=b};O(yd,xd);yd[A].reposition=function(a,b,c) {vd(this.element,this.corner,a,b,n,c)};var zd=function(a,b){this.coordinate=a instanceof P?a:new P(a,b)};O(zd,xd);zd[A].reposition=function(a,b,c,d) {vd(jd(a),0,a,b,this.coordinate,c,j,d)};var Ad="StopIteration"in L? L.StopIteration:m("StopIteration"),Bd=function(){};Bd[A].next=function() {g(Ad)};Bd[A].__iterator__=function(){return this};var Cd=function(a){if(typeof a.getValues=="function")return a.getValues();if(N(a))return a[Xa]("");if(kb(a)) {for(var b=[],c=a[z],d=0;d<c;d++)b[r](a[d]);return b}return Cb(a)},Dd=function(a,b,c){if(typeof a[Ka]=="function")a[Ka](b,c);else if(kb(a)|| N(a))vb(a,b,c);else{var d;if(typeof a.getKeys=="function")d=a.getKeys();else if(typeof a.getValues!="function")if(kb(a)||N(a)){d=[];for(var f=a[z],e=0;e<f;e+ +)d[r](e);d=d}else d=Eb(a);else d=void 0;f=Cd(a);e=f[z];for(var h=0;h<e;h++)b[F] (c,f[h],d&&d[h], a)}};var Ed=function(a){this.map_={};this.keys_=[];var b=arguments[z];if(b>1){if(b %2)g(m("Uneven number of arguments"));for(var c=0;c<b;c+=2)this.set(arguments[c],arguments[c+1])}else a&&this.addAll(a)};K=Ed[A];K.count_=0;K.version_=0;K.getValues=function() {Fd(this);for(var a=[],b=0;b<this.keys_[z];b++)a[r] (this.map_[this.keys_[b]]);return a};K.getKeys=function(){Fd(this);return this.keys_.concat()};K.containsKey=function(a){return Gd(this.map_,a)}; K.clear=function() {this.map_={};pa(this.keys_,0);this.version_=this.count_=0};K.remove=function(a)
  • 7. {if(Gd(this.map_,a)){delete this.map_[a];this.count_--;this.version_+ +;this.keys_[z]>2*this.count_&&Fd(this);return i}return l};var Fd=function(a) {if(a.count_!=a.keys_[z]){for(var b=0,c=0;b<a.keys_[z];){var d=a.keys_[b];if(Gd(a.map_,d))a.keys_[c++]=d;b++}pa(a.keys_,c)}if(a.count_! =a.keys_[z]){var f={};for(c=b=0;b<a.keys_[z];){d=a.keys_[b];if(!Gd(f,d)){a.keys_[c+ +]=d;f[d]=1}b++}pa(a.keys_,c)}};K=Ed[A]; K.get=function(a,b){if(Gd(this.map_,a))return this.map_[a];return b};K.set=function(a,b){if(!Gd(this.map_,a)){this.count_++;this.keys_[r] (a);this.version_++}this.map_[a]=b};K.addAll=function(a){var b;if(a instanceof Ed) {b=a.getKeys();a=a.getValues()}else{b=Eb(a);a=Cb(a)}for(var c=0;c<b[z];c+ +)this.set(b[c],a[c])};K.clone=function(){return new Ed(this)}; K.__iterator__=function(a){Fd(this);var b=0,c=this.keys_,d=this.map_,f=this.version_,e=this,h=new Bd;h.next=function() {for(;;){if(f!=e.version_)g(m("The map has changed since the iterator was created"));if(b>=c[z])g(Ad);var k=c[b++];return a?k:d[k]}};return h};var Gd=function(a,b){return ca[A][Ya][F](a,b)};var Hd=function(a){this.map_=new Ed;a&&this.addAll(a)},Id=function(a){var b=typeof a;return b=="object"&&a|| b=="function"?"o"+pb(a):b.substr(0,1)+a};K=Hd[A];K.add=function(a) {this.map_.set(Id(a),a)};K.addAll=function(a){a=Cd(a);for(var b=a[z],c=0;c<b;c+ +)this.add(a[c])};K.removeAll=function(a){a=Cd(a);for(var b=a[z],c=0;c<b;c+ +)this[Ha](a[c])};K.remove=function(a){return this.map_[Ha] (Id(a))};K.clear=function(){this.map_.clear()};ta(K,function(a){return this.map_.containsKey(Id(a))}); K.intersection=function(a){var b=new Hd;a=Cd(a);for(var c=0;c<a[z];c++){var d=a[c];this[bb](d)&&b.add(d)}return b};K.getValues=function(){return this.map_.getValues()};K.clone=function(){return new Hd(this)};K.__iterator__=function(){return this.map_.__iterator__(l)};var Jd=function() {};O(Jd,yc);K=Jd[A];K.customEvent_=i;K.parentEventTarget_=j;K.addEventListener=func tion(a,b,c,d){W(this,a,b,c,d)};K.removeEventListener=function(a,b,c,d) {Zc(this,a,b,c,d)}; K.dispatchEvent=function(a){a=a;if(N(a))a=new zc(a,this);else if(a instanceof zc)ra(a,a[D]||this);else{var b=a;a=new zc(a[y],this);Gb(a,b)}b=1;var c,d=a[y],f=V;if(d in f){f=f[d];d=i in f;var e;if(d) {c=[];for(e=this;e;e=e.parentEventTarget_)c[r] (e);e=f[i];e.remaining_=e.count_;for(var h=c[z]-1;! a.propagationStopped_&&h>=0&&e.remaining_;h--) {ja(a,c[h]);b&=dd(e,c[h],a[y],i,a)&&a.returnValue_!=l}}if(l in f) {e=f[l];e.remaining_=e.count_;if(d)for(h=0;! a.propagationStopped_&&h<c[z]&&e.remaining_;h++){ja(a, c[h]);b&=dd(e,c[h],a[y],l,a)&&a.returnValue_!=l}else for(c=this;! a.propagationStopped_&&c&&e.remaining_;c=c.parentEventTarget_) {ja(a,c);b&=dd(e,c,a[y],l,a)&&a.returnValue_!=l}}a=Boolean(b)}else a=i;return a};K.disposeInternal=function(){Jd.superClass_.disposeInternal[F] (this);bd(this);this.parentEventTarget_=j};var Kd=L.window,Ld=function(a,b,c) {if(lb(a)){if(c)a=rb(a,c)}else if(a&&typeof a[Na]=="function")a=rb(a[Na],a);else g(m("Invalid listener argument"));return b>2147483647?-1:Kd.setTimeout(a,b||0)};var Md=function(a){this.handler_=a};O(Md,yc);var Nd=new U(0,100);Md[A].listen=function(a,b,c,d,f){if(M(b))for(var e=0;e<b[z];e+ +)this.listen(a,b[e],c,d,f);else{a=W(a,b,c||this,d||l,f||this.handler_|| this);if(this.keys_)this.keys_[a]=i;else if(this.key_) {this.keys_=Cc(Nd);this.keys_[this.key_]=i;this.key_=j;this.keys_[a]=i}else this.key_=a}return this};Md[A].removeAll=function(){if(this.keys_){for(var a in this.keys_){$c(a);delete this.keys_[a]}Ec(Nd,this.keys_);this.keys_=j}else this.key_&&$c(this.key_)}; Md[A].disposeInternal=function(){Md.superClass_.disposeInternal[F] (this);this.removeAll()};Md[A].handleEvent=function(){g(m("EventHandler.handleEvent not implemented"))};var Y=function(a,b){this.handler_=new Md(this);this.setElement(a||
  • 8. j);b&&Od(this,b)};O(Y,Jd);K=Y[A];K.element_=j;K.autoHide_=i;K.autoHideRegion_=j;K.i sVisible_=l;K.shouldHideAsync_=l;K.lastShowTime_=-1;K.lastHideTime_=-1;K.hideOnEsca pe_=l;K.enableCrossIframeDismissal_=i;K.type_="toggle_display";var Od=function(a,b) {a.type_=b};Y[A].getElement=function(){return this.element_};Y[A].setElement=function(a){if(this.isVisible_)g(m("Can not change this state of the popup while showing."));this.element_=a}; var Sd=function(a,b){b?Qd(a):Rd(a)};Y[A].reposition=ib; var Qd=function(a){if(!a.isVisible_)if(a.onBeforeShow()){if(!a.element_)g(m("Caller must call setElement before trying to show the popup"));a.reposition();var b=T(a.element_);a.hideOnEscape_&&a.handler_.listen(b,"keydown",a.onDocumentKeyDown_ ,i);if(a.autoHide_){a.handler_.listen(b,"mousedown",a.onDocumentMouseDown_,i);if(R) {for(var c=b.activeElement;c&&c.nodeName=="IFRAME";){try{var d=S?c[Wa]|| c.contentWindow[Wa]:c.contentDocument||c.contentWindow[Wa]}catch(f) {break}b=d;c=b.activeElement}a.handler_.listen(b, "mousedown",a.onDocumentMouseDown_,i);a.handler_.listen(b,"deactivate",a.onDocument Blur_)}else a.handler_.listen(b,"blur",a.onDocumentBlur_)}if(a.type_=="toggle_display") {na(a.element_[B],"visible");td(a.element_,i)}else a.type_=="move_offscreen"&&a.reposition();a.isVisible_=i;a.onShow_()}},Rd=function( a,b){if(!a.isVisible_||!a[Ca]({type:"beforehide",target:b}))return l;a.handler_&&a.handler_.removeAll();if(a.type_=="toggle_display")a.shouldHideAsync _?Ld(a.hidePopupElement_,0,a):a.hidePopupElement_(); else a.type_=="move_offscreen"&&Td(a);a.isVisible_=l;a.onHide_(b);return i};Y[A].hidePopupElement_=function() {na(this.element_[B],"hidden");td(this.element_,l)};var Td=function(a) {ka(a.element_[B],"-200px");a.element_[B].top="-200px"};K=Y[A];K.onBeforeShow=funct ion(){return this[Ca]("beforeshow")};K.onShow_=function() {this.lastShowTime_=sb();this.lastHideTime_=-1;this[Ca] ("show")};K.onHide_=function(a){this.lastHideTime_=sb();this[Ca] ({type:"hide",target:a})}; K.onDocumentMouseDown_=function(a){a=a[D];if(!uc(this.element_,a)&&(! this.autoHideRegion_||uc(this.autoHideRegion_,a))&&!(sb()- this.lastShowTime_<150))Rd(this,a)};K.onDocumentKeyDown_=function(a) {if(a[Ia]==27)if(Rd(this,a[D])) {a.preventDefault();a.stopPropagation()}};K.onDocumentBlur_=function(a) {if(this.enableCrossIframeDismissal_){var b=T(this.element_);if(R||ac) {if((a=b.activeElement)&&uc(this.element_,a))return}else if(a[D]!=b)return;sb()- this.lastShowTime_<150||Rd(this)}}; K.disposeInternal=function(){Y.superClass_.disposeInternal[F] (this);this.handler_.dispose();delete this.element_;delete this.handler_};var Ud=function(a,b){this.popupCorner_=4;this.position_=b||n;Y[F](this,a)};O(Ud,Y);var Vd=function(a,b,c,d,f){a.margin_=b==j||b instanceof X?b:new X(b,c,d,f);a.isVisible_&&a.reposition()};Ud[A].reposition=function() {if(this.position_){var a=!this.isVisible_&&this.type_! ="move_offscreen",b=this.getElement();if(a) {na(b[B],"hidden");td(b,i)}this.position_.reposition(b,this.popupCorner_,this.margi n_);a&&td(b,l)}};var Z=function(a,b,c){this.dom_=c||(a?oc(N(a)?fa[Aa] (a):a):oc());Ud[F](this,this.dom_.createDom("div", {style:"position:absolute;display:none;"}));this.cursorPosition=new P(1,1);this.activeEl_=j;this.elements_=new Hd;a&&Wd(this,a);b! =j&&Xd(this,b)};O(Z,Ud);var Yd=[];qa(Z[A],"goog- tooltip");Z[A].showDelayMs_=500;Z[A].hideDelayMs_=0;Z[A].getDomHelper=function() {return this.dom_}; var Wd=function(a,b){b=N(b)?fa[Aa] (b):b;a.elements_.add(b);W(b,"mouseover",a.handleMouseOver,l,a);W(b,"mouseout",a.ha ndleMouseOutAndBlur,l,a);W(b,"mousemove",a.handleMouseMove,l,a);W(b,"focus",a.handl eFocus,l,a);W(b,"blur",a.handleMouseOutAndBlur,l,a)};Z[A].detach=function(a){if(a) {a=N(a)?fa[Aa](a):a;Zd(this,a);this.elements_[Ha](a)}else{for(var b=this.elements_.getValues(),c=0;a=b[c];c++)Zd(this,a);this.elements_.clear()}};
  • 9. var Zd=function(a,b) {Zc(b,"mouseover",a.handleMouseOver,l,a);Zc(b,"mouseout",a.handleMouseOutAndBlur,l, a);Zc(b,"mousemove",a.handleMouseMove,l,a);Zc(b,"focus",a.handleFocus,l,a);Zc(b,"bl ur",a.handleMouseOutAndBlur,l,a)};Z[A].getHideDelayMs=function(){return this.hideDelayMs_};var Xd=function(a,b){a=a.getElement();if("textContent"in a)a.textContent=b;else if(a[Ja]&&a[Ja][za]==3){for(;a.lastChild! =a[Ja];)a.removeChild(a.lastChild);a[Ja].data=b}else{for(var c;c=a[Ja];)a.removeChild(c);a[va](T(a).createTextNode(b))}}; Z[A].setElement=function(a){var b=this.getElement();b&&tc(b);Z.superClass_.setElement[F](this,a);if(a) {b=this.dom_.document_[C];b.insertBefore(a,b.lastChild)}};var $d=function(a){return a.showTimer?a.isVisible_?4:1:a.hideTimer?3:a.isVisible_? 2:0};Z[A].isCoordinateInTooltip=function(a){if(!this.isVisible_)return l;var b=md(this.getElement()),c=rd(this.getElement());return b.x<=a.x&&a.x<=b.x+c[s]&&b.y<=a.y&&a.y<=b.y+c[I]}; Z[A].onBeforeShow=function(){if(!Y[A].onBeforeShow[F](this))return l;if(this[G])for(var a,b=0;a=Yd[b];b++)uc(a.getElement(),this[G])|| Sd(a,l);ub(Yd,this)>=0||Yd[r] (this);a=this.getElement();qa(a,this.className);ae(this);W(a,"mouseover",this.handl eTooltipMouseOver,l,this);W(a,"mouseout",this.handleTooltipMouseOut,l,this);be(this );return i}; Z[A].onHide_=function(){wb(Yd,this);for(var a=this.getElement(),b,c=0;b=Yd[c];c+ +)b[G]&&uc(a,b[G])&&Sd(b,l);this.parentTooltip_&&ce(this.parentTooltip_);Zc(a,"mous eover",this.handleTooltipMouseOver,l,this);Zc(a,"mouseout",this.handleTooltipMouseO ut,l,this);sa(this,n);if($d(this)==0)this.seenInteraction_=l;Y[A].onHide_[F] (this)};Z[A].maybeShow=function(a,b){if(this[G]==a)if(this.seenInteraction_||! this.requireInteraction_){Sd(this,l);this.isVisible_||de(this,a,b)}else sa(this,n);this.showTimer=n}; var de=function(a,b,c){if(c)c=c;else{c=a.cursorPosition.clone();c=new ee(c)}sa(a,b);a.position_=c|| n;a.isVisible_&&a.reposition();Sd(a,i)};Z[A].maybeHide=function(a) {this.hideTimer=n;if(a==this[G])if((this.activeEl_==j||this.activeEl_! =this.getElement()&&!this.elements_[bb](this.activeEl_))&&! (this.childTooltip_&&this.childTooltip_.activeEl_))Sd(this,l)}; Z[A].handleMouseOver=function(a){this.activeEl_=a=fe(this,a[D]);ae(this);if(a! =this[G]){sa(this,a);if(! this.showTimer)this.showTimer=Ld(rb(this.maybeShow,this,a,void 0),this.showDelayMs_);ge(this)}};var fe=function(a,b){try{for(;b&&!a.elements_[bb] (b);)b=b[eb];return b}catch(c){return j}};Z[A].handleMouseMove=function(a){var b=xc(this.dom_);this.cursorPosition.x=a[Pa]+b.x;this.cursorPosition.y=a[Qa] +b.y;this.seenInteraction_=i}; Z[A].handleFocus=function(a) {this.activeEl_=a=fe(this,a[D]);this.seenInteraction_=i;if(this[G]!=a) {sa(this,a);var b=new he(this.activeEl_);ae(this);if(! this.showTimer)this.showTimer=Ld(rb(this.maybeShow,this,a,b),this.showDelayMs_);ge( this)}};var ge=function(a){if(a[G])for(var b,c=0;b=Yd[c];c+ +)if(uc(b.getElement(),a[G])){b.childTooltip_=a;a.parentTooltip_=b}}; Z[A].handleMouseOutAndBlur=function(a){var b=fe(this,a[D]),c=fe(this,a[xa]);if(b! =c) {if(b==this.activeEl_)this.activeEl_=j;be(this);this.seenInteraction_=l;if(this.isV isible_&&(!a[xa]||!uc(this.getElement(),a[xa])))ce(this);else sa(this,n)}};Z[A].handleTooltipMouseOver=function(){var a=this.getElement();if(this.activeEl_!=a) {ae(this);this.activeEl_=a}};Z[A].handleTooltipMouseOut=function(a){var b=this.getElement();if(this.activeEl_==b&&(!a[xa]||!uc(b,a[xa]))) {this.activeEl_=j;ce(this)}}; var be=function(a){if(a.showTimer) {Kd.clearTimeout(a.showTimer);a.showTimer=n}},ce=function(a) {if($d(a)==2)a.hideTimer=Ld(rb(a.maybeHide,a,a[G]),a.getHideDelayMs())},ae=function
  • 10. (a){if(a.hideTimer) {Kd.clearTimeout(a.hideTimer);a.hideTimer=n}};Z[A].disposeInternal=function() {Sd(this,l);be(this);this.detach();this.getElement()&&tc(this.getElement());this.ac tiveEl_=j;delete this.dom_;Z.superClass_.disposeInternal[F](this)};var ee=function(a,b){zd[F](this,a,b)};O(ee,zd); ee[A].reposition=function(a,b,c){b=jd(a);b=od(b);c=c?new X(c.top+10,c[J],c[H],c[x] +10):new X(10,0,0,10);ud(this.coordinate,a,4,c,b,9)&496&&ud(this.coordinate,a,4,c,b,5)};var he=function(a){yd[F](this,a,3)};O(he,yd);he[A].reposition=function(a,b,c){var d=new P(10,0);vd(this.element,this.corner,a,b,d,c,9)&496&&vd(this.element,2,a,1,d,c,5)};v ar $=function(a,b,c){Z[F](this,a,b,c)};O($,Z);$[A].cursorTracking_=l;$ [A].cursorTrackingHideDelayMs_=100;$[A].tracking_=l;var ie=function(a,b) {a.hotSpotPadding_=b||j};$[A].onShow_=function(){$.superClass_.onShow_[F] (this);this.boundingBox_=gd(sd(this.getElement()));if(this[G])this.anchorBox_=gd(sd (this[G]));this.tracking_=this.cursorTracking_;W(vc(this.getDomHelper()),"mousemove ",this.handleMouseMove,l,this)}; $[A].onHide_=function() {Zc(vc(this.getDomHelper()),"mousemove",this.handleMouseMove,l,this);this.anchorBox _=this.boundingBox_=this.paddingBox_=j;this.tracking_=l;$.superClass_.onHide_[F] (this)};$[A].isCoordinateInTooltip=function(a){if(this.paddingBox_)return this.paddingBox_[bb](a);return $.superClass_.isCoordinateInTooltip[F](this,a)};var je=function(a,b){if(a.anchorBox_&&a.anchorBox_[bb](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(! je(this,this.cursorPosition)&&!this.activeEl_&&! (this.childTooltip_&&this.childTooltip_.activeEl_))bc&&this.cursorPosition.x==0&&th is.cursorPosition.y==0||Sd(this,l)}; $[A].handleMouseMove=function(a){var b=i;if(this.boundingBox_){var c=xc(this.getDomHelper());c=new P(a[Pa]+c.x,a[Qa]+c.y);if(je(this,c))b=l;else if(this.tracking_) {b=ed(this.boundingBox_,this.cursorPosition);b=ed(this.boundingBox_,c)>=b}}if(b) {ce(this);this.activeEl_=j;if(this.childTooltip_)this.childTooltip_.activeEl_=j}els e $d(this)==3&&ae(this);$.superClass_.handleMouseMove[F](this,a)}; $[A].handleTooltipMouseOver=function(){if(this.activeEl_!=this.getElement()) {this.tracking_=l;this.activeEl_=this.getElement();if(! this.paddingBox_&&this.hotSpotPadding_)this.paddingBox_=this.boundingBox_.clone().e xpand(this.hotSpotPadding_)}};$[A].getHideDelayMs=function(){return this.tracking_? this.cursorTrackingHideDelayMs_:this.hideDelayMs_};var ke=/^(?:([^:/?#]+):)? (?://(?:([^/?#]*)@)?([^/?#:@]*)(?::([0-9]+))?)?([^?#]+)?(?:?([^#]*))? (?:#(.*))?$/;var le=function(a,b){var c;if(a instanceof le) {this.setIgnoreCase(b==j? a.ignoreCase_:b);me(this,a.scheme_);ne(this,a.userInfo_);oe(this,a.domain_);pe(this ,a.port_);qe(this,a.path_);re(this,a.queryData_.clone());se(this,a.fragment_)}else if(a&&(c=ea(a).match(ke))){this.setIgnoreCase(!! b);me(this,c[1]||"",i);ne(this,c[2]||"",i);oe(this,c[3]||"",i);pe(this,c[4]);qe(thi s,c[5]||"",i);re(this,c[6]||"",i);se(this,c[7]||"",i)}else{this.setIgnoreCase(!! b);this.queryData_=new te(j,this,this.ignoreCase_)}}; K=le[A];K.scheme_="";K.userInfo_="";K.domain_="";K.port_=j;K.path_="";K.fragment_=" ";K.isReadOnly_=l;K.ignoreCase_=l; oa(K,function(){if(this.cachedToString_)return this.cachedToString_;var a=[];this.scheme_&&a[r](ue(this.scheme_,ve),":");if(this.domain_){a[r] ("//");this.userInfo_&&a[r](ue(this.userInfo_,ve),"@");var b;b=this.domain_;b=N(b)? aa(b):j;a[r](b);this.port_!=j&&a[r](":",ea(this.port_))}this.path_&&a[r] (ue(this.path_,we));(b=ea(this.queryData_))&&a[r]("?",b);this.fragment_&&a[r] ("#",ue(this.fragment_,xe));return this.cachedToString_=a.join("")}); K.clone=function(){var a=this.scheme_,b=this.userInfo_,c=this.domain_,d=this.port_,f=this.path_,e=this.que ryData_.clone(),h=this.fragment_,k=new
  • 11. le(j,this.ignoreCase_);a&&me(k,a);b&&ne(k,b);c&&oe(k,c);d&&pe(k,d);f&&qe(k,f);e&&re (k,e);h&&se(k,h);return k}; var me=function(a,b,c){ye(a);delete a.cachedToString_;a.scheme_=c?b? ga(b):"":b;if(a.scheme_)a.scheme_=a.scheme_[u](/:$/,"");return a},ne=function(a,b,c){ye(a);delete a.cachedToString_;a.userInfo_=c?b? ga(b):"":b;return a},oe=function(a,b,c){ye(a);delete a.cachedToString_;a.domain_=c? b?ga(b):"":b;return a},pe=function(a,b){ye(a);delete a.cachedToString_;if(b) {b=Number(b);if(isNaN(b)||b<0)g(m("Bad port number "+b));a.port_=b}else a.port_=j;return a},qe=function(a,b,c){ye(a);delete a.cachedToString_; a.path_=c?b?ga(b):"":b;return a},re=function(a,b,c){ye(a);delete a.cachedToString_;if(b instanceof te) {a.queryData_=b;a.queryData_.uri_=a;a.queryData_.setIgnoreCase(a.ignoreCase_)}else{ c||(b=ue(b,ze));a.queryData_=new te(b,a,a.ignoreCase_)}return a},Ae=function(a,b,c) {ye(a);delete a.cachedToString_;a.queryData_.set(b,c);return a},se=function(a,b,c) {ye(a);delete a.cachedToString_;a.fragment_=c?b?ga(b):"":b;return a},ye=function(a) {if(a.isReadOnly_)g(m("Tried to modify a read-only Uri"))}; le[A].setIgnoreCase=function(a) {this.ignoreCase_=a;this.queryData_&&this.queryData_.setIgnoreCase(a)}; var Be=/^[a-zA-Z0-9-_.!~*'():/;?]*$/,ue=function(a,b){var c=j;if(N(a)) {c=a;Be.test(c)||(c=encodeURI(a));if(c.search(b)>=0)c=c[u](b,Ce)}return c},Ce=function(a){a=a.charCodeAt(0);return"%"+(a>>4&15)[Ta](16)+(a&15)[Ta] (16)},ve=/[#/?@]/g,we=/[#?]/g,ze=/[#?@]/g,xe=/#/g,te=function(a,b,c) {this.encodedQuery_=a||j;this.uri_=b||j;this.ignoreCase_=!!c},Ee=function(a){if(! a.keyMap_){a.keyMap_=new Ed;if(a.encodedQuery_)for(var b=a.encodedQuery_[Xa] ("&"),c=0;c<b[z];c++){var d=b[c][w]("="),f=j,e=j;if(d>= 0){f=b[c].substring(0,d);e=b[c].substring(d+1)}else f=b[c];f=ga(f[u](/+/g," "));f=De(a,f);a.add(f,e?ga(e[u](/+/g," ")):"")}}};K=te[A];K.keyMap_=j;K.count_=j;K.add=function(a,b) {Ee(this);Fe(this);a=De(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){Ee(this);a=De(this,a);if(this.keyMap_.containsKey(a)) {Fe(this);var b=this.keyMap_.get(a);if(M(b))this.count_-=b[z];else this.count_--;return this.keyMap_[Ha](a)}return l};K.clear=function() {Fe(this);this.keyMap_&&this.keyMap_.clear();this.count_=0};K.containsKey=function( a){Ee(this);a=De(this,a);return this.keyMap_.containsKey(a)}; K.getKeys=function(){Ee(this);for(var a=this.keyMap_.getValues(),b=this.keyMap_.getKeys(),c=[],d=0;d<b[z];d++){var f=a[d];if(M(f))for(var e=0;e<f[z];e++)c[r](b[d]);else c[r](b[d])}return c};K.getValues=function(a){Ee(this);if(a){a=De(this,a);if(this.containsKey(a)){var b=this.keyMap_.get(a);if(M(b))return b;else{a=[];a[r](b)}}else a=[]}else{b=this.keyMap_.getValues();a=[];for(var c=0;c<b[z];c++){var d=b[c];M(d)? zb(a,d):a[r](d)}}return a}; K.set=function(a,b){Ee(this);Fe(this);a=De(this,a);if(this.containsKey(a)){var c=this.keyMap_.get(a);if(M(c))this.count_-=c[z];else this.count_--}this.keyMap_.set(a,b);this.count_++;return this};K.get=function(a,b) {Ee(this);a=De(this,a);if(this.containsKey(a)){a=this.keyMap_.get(a);return M(a)? a[0]:a}else return b}; oa(K,function(){if(this.encodedQuery_)return this.encodedQuery_;if(! this.keyMap_)return"";for(var a=[],b=0,c=this.keyMap_.getKeys(),d=0;d<c[z];d++){var f=c[d],e=Ib(f);f=this.keyMap_.get(f);if(M(f))for(var h=0;h<f[z];h++){b>0&&a[r] ("&");a[r](e,"=",Ib(f[h]));b++}else{b>0&&a[r]("&");a[r](e,"=",Ib(f));b++}}return this.encodedQuery_=a.join("")});var Fe=function(a){delete a.decodedQuery_;delete a.encodedQuery_;a.uri_&&delete a.uri_.cachedToString_}; te[A].clone=function(){var a=new te;if(this.decodedQuery_)a.decodedQuery_=this.decodedQuery_;if(this.encodedQuery_)a .encodedQuery_=this.encodedQuery_;if(this.keyMap_)a.keyMap_=this.keyMap_.clone();re turn a};var De=function(a,b){b=ea(b);if(a.ignoreCase_)b=b.toLowerCase();return b};te[A].setIgnoreCase=function(a){if(a&&!this.ignoreCase_)
  • 12. {Ee(this);Fe(this);Dd(this.keyMap_,function(b,c){var d=c.toLowerCase();if(c!=d) {this[Ha](c);this.add(d,b)}},this)}this.ignoreCase_=a};var Ge,He=function(a,b,c) {var d="";if(Ge)d=Ge.serverBase;else if(ba.manifest)d=ba.manifest.serverBase;var f=d+"/widgets/Hovercard";if(c.client)f=d+"/ui/Hovercard";d=new le(f);Ae(d,"uid",b);for(var e in c)Ae(d,e,c[e]);b=108+(c.embedHeight? c.embedHeight-16:0);if(!a.f_preload) {c=fa.createElement("iframe");ia(c,"320px");ua(c,b+"px");c.frameBorder="none";c.scr olling="no";c[B].border="none";a.getElement()[va](c);c.src=d[Ta]();a.getElement() [B].zIndex="50000"}a.f_preload=i}; gb("addHovercard",function(a,b,c){var d=new $(a);ie(d,new X(5,5,5,5));d.cursorTracking_=i;Vd(d,new X(10,0,0,10));d.hideDelayMs_=250;d.onDocumentBlur_=function() {};W(a,"mouseover",rb(He,j,d,b,c));return d},void 0);gb("_HovercardLauncherComponentInit",function(a){Ge=a},void 0);ba._HovercardLauncherManifestInit&&ba._HovercardLauncherManifestInit(); })()