/* JS */ gapi.loaded_3(function(_){var window=this;
/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
_.Ry=function(a,b){Array.isArray(b)||(b=[b]);b=(0,_.sb)(b,function(c){return"string"===typeof c?c:c.tw+" "+c.duration+"s "+c.timing+" "+c.delay+"s"});_.rr(a,"transition",b.join(","))};
_.Sy=_.Nb(function(){if(_.vc)return _.Sc("10.0");var a=_.Zd("DIV"),b=_.Ac?"-webkit":_.zc?"-moz":_.vc?"-ms":_.uc?"-o":null,c={transition:"opacity 1s linear"};b&&(c[b+"-transition"]="opacity 1s linear");b=_.er("div",{style:c});_.Cd(a,b);a=a.firstChild;b=a.style[_.fr("transition")];return""!=("undefined"!==typeof b?b:a.style[_.qr(a,"transition")]||"")});

/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
var EG=function(a,b,c,d,e){this.width=a;this.height=b;this.Qm=c;this.Rm=d;this.opacity=e},FG=function(a,b,c,d){return new EG(void 0==b?a.width:b,void 0==c?a.height:c,a.Qm,a.Rm,void 0==d?a.opacity:d)};EG.prototype.equals=function(a){return this.width==a.width&&this.height==a.height&&this.Qm==a.Qm&&this.Rm==a.Rm&&this.opacity==a.opacity};
EG.prototype.interpolate=function(a,b){var c=1-b;return new EG(Math.round(this.width*c+a.width*b),Math.round(this.height*c+a.height*b),Math.round(this.Qm*c+a.Qm*b),Math.round(this.Rm*c+a.Rm*b),this.opacity*c+a.opacity*b)};
_.GG=function(a){_.ks.call(this,a);this.ya=new _.es(this)};_.hj(_.GG,_.rs);_.h=_.GG.prototype;
_.h.create=function(){var a=Number(this.lk(200,"widgetWidth","width")),b=Number(this.lk(100,"widgetHeight","height")),c=this.lk("auto","corner"),d=this.lk({},"menuCss"),e=this.lk(!0,"hideOnClick");this.Rq=!!this.lk(!0,"hideOnLeave");this.OE=!!this.lk((0,_.Sy)(),"useCss3Transition");this.RR=!!this.lk(!0,"allowOffset");var f=document.createElement("div");this.Aa=f;var g=this.Fh();g.parentNode.appendChild(f);var k=document.createElement("div");this.Om=k;f.appendChild(k);d.position="absolute";d.width=
a+"px";d.height="0";d.border=d.border||"1px solid #aaa";d.background=d.background||"#fff";d.zIndex=_.vs(this);d.overflow="hidden";d.boxShadow=d.MozBoxShadow=d.webkitBoxShadow=d.boxShadow||"0 2px 2px rgba(0,0,0,0.3)";_.rr(f,d);_.rr(k,{left:"-1000px",top:"-1000px",position:"absolute",width:a+"px",height:b+"px"});this.z2=f.offsetWidth-a;this.B2=f.offsetHeight;d="auto"==c?["top","start"]:c.split("-");g=_.Kr(g);this.vt="bottom"==d[0];this.Gw="right"==d[1]||"left"!=d[1]&&g;this.fh=HG(this,a,b,"auto"==c);
this.oE=_.q.setTimeout((0,_.J)(this.h1,this),500);this.ya.V(f,"mouseover",this.EC);this.ya.lr(f,"mouseout",this.DC,!1,this);e&&_.q.setTimeout((0,_.J)(function(){this.Mp||this.ya.V(document,"click",this.NY)},this),0)};
_.h.open=function(){this.create();this.ka.Qf(this.Aa);this.ka.Td("resize",(0,_.J)(this.resize,this));this.ka.Tg("showMenu",(0,_.J)(this.xN,this));var a=this.ka.methods;a.setHideOnLeave=(0,_.J)(this.Vr,this);a.displayStateCallback&&(this.AH=a.displayStateCallback,delete a.displayStateCallback);this.ka.ug(this.Om,{height:"100%"});_.IG(this,this.fh)};
_.h.Bd=function(a){this.Mp||(a=a||{},this.Om.style.left="0",this.Om.style.top="0",this.yj&&(_.de(this.yj),this.yj=null),this.oE&&(_.q.clearTimeout(this.oE),this.oE=null),JG(this,parseInt(a.width,10)||parseInt(this.ka.width,10)||this.fh.width,parseInt(a.height,10)||parseInt(this.ka.height,10)||this.fh.height))};_.h.resize=function(a){this.Mp||JG(this,isNaN(+a.width)?this.fh.width:+a.width,isNaN(+a.height)?this.fh.height:+a.height)};_.h.close=function(){this.tB?KG(this):(this.Sy=!0,LG(this))};
_.h.lk=function(a,b){for(var c,d=1,e=arguments.length;d<e&&(c=this.ua[arguments[d]],void 0===c);++d);if(void 0!==c){if(c&&"object"==typeof c){d={};for(var f in c)d[f]=c[f];return d}return c}return a};
var HG=function(a,b,c,d){var e=a.Fh(),f=_.$r(e.offsetParent);f.right-=a.z2;f.bottom-=a.B2;if(d){var g=e.offsetLeft;d=g+b<f.right;g=g+e.offsetWidth-b>=f.left;a.Gw=a.Gw?!d||g:!d&&g;g=e.offsetTop;d=g+c<f.bottom;g=g+e.offsetHeight-c>=f.top;a.vt=a.vt?!d||g:!d&&g}d=a.Fq(a.Gw,e.offsetLeft,e.offsetWidth,b,f.left,f.right);a=a.Fq(a.vt,e.offsetTop,e.offsetHeight,c,f.top,f.bottom);return new EG(b,c,d,a,1)};
_.GG.prototype.Fq=function(a,b,c,d,e,f){return a?(a=b+c,Math.min(f-a,Math.max(e+d-a,0))):Math.max(e-b,Math.min(f-b-d,0))};var JG=function(a,b,c){a.ka.Ma().style.width=b+"px";a.ka.Ma().style.height=c+"px";a.Om.style.width=b+"px";a.Om.style.height=c+"px";b=a.RR?HG(a,b,c,!1):FG(a.lA,b,c);a.fh=b;a.yk||MG(a,b)};_.h=_.GG.prototype;_.h.Vr=function(a){this.Rq=!!a};_.h.EC=function(){!this.yk&&this.Xl&&(_.q.clearTimeout(this.Xl),this.Xl=null)};
_.h.DC=function(a){if(!(this.yk||this.Xl||!this.Rq||a.relatedTarget&&_.he(this.Aa,a.relatedTarget))){var b=_.as(this.Aa);a=a.clientY>b.top&&a.clientY<b.top+b.height?0:300;this.Xl=_.q.setTimeout((0,_.J)(this.Sq,this),a)}};_.h.NY=function(a){_.us(this.Aa,a)||this.Sq()};_.h.xN=function(a){this.show(!!a||void 0===a)};_.h.show=function(a){a?this.rE():this.Sq()};_.h.rE=function(){!this.Mp&&this.tB&&(this.yk=this.tB=!1,_.IG(this,this.fh))};
_.IG=function(a,b){NG(a,FG(b,void 0,0,0));_.q.setTimeout((0,_.J)(function(){this.yk||(this.fh=b,this.OE&&_.Ry(this.Aa,"width 350ms cubic-bezier(.23, .50, .32, 1),height 350ms cubic-bezier(.23, .50, .32, 1),left 350ms cubic-bezier(.23, .50, .32, 1),top 350ms cubic-bezier(.23, .50, .32, 1),opacity 350ms cubic-bezier(.23, .50, .32, 1)"),MG(this,b),this.zt(!0,!1),this.js&&(_.q.clearTimeout(this.js),this.Sy=!1),this.js=_.q.setTimeout((0,_.J)(this.zt,this,!0,!0),350))},a),0)};
_.GG.prototype.Sq=function(){this.yk||LG(this)};
var LG=function(a){a.yk||(a.zt(!1,!1),MG(a,FG(a.lA,void 0,0,0)),a.yk=!0,a.js&&_.q.clearTimeout(a.js),a.js=_.q.setTimeout((0,_.J)(function(){this.tB=!0;this.Sy?(KG(this),this.Sy=!1):(this.OE&&_.Ry(this.Aa,""),this.Aa.visibility="hidden",this.Aa.left="-1000px",this.Aa.top="-1000px");this.zt(!1,!0)},a),350))},KG=function(a){a.Mp=!0;_.Gp(a.ya);a.ya=null;a.Xl&&(_.q.clearTimeout(a.Xl),a.Xl=null);a.cn&&(_.q.clearTimeout(a.cn),a.cn=null);_.de(a.Aa);a.Aa=null;_.de(a.Fh());a.Om=null;a.yj=null};
_.GG.prototype.zt=function(a,b){var c=this.AH;c&&_.q.setTimeout(function(){c(a,b)},0)};_.GG.prototype.h1=function(){this.yj=document.createElement("div");this.yj.style.width=this.yj.style.height="100%";this.yj.style.position="absolute";this.yj.style.background="url(//ssl.gstatic.com/ui/v1/activityindicator/loading_gs.gif) no-repeat "+(this.fh.width-19)/2+"px "+(this.fh.height-19)/2+"px";this.Aa.appendChild(this.yj)};
var MG=function(a,b){if(!a.yk)if(a.OE)NG(a,b);else{var c=(0,_.Xa)()-20+350;a.cn&&_.q.clearTimeout(a.cn);a.aL(a.lA,b,c)}},NG=function(a,b){var c=a.Aa,d=a.Fh();c.style.left=a.Gw?d.offsetLeft+d.offsetWidth+b.Qm-b.width+"px":d.offsetLeft+b.Qm+"px";c.style.width=b.width+"px";c.style.top=a.vt?d.offsetTop+d.offsetHeight+b.Rm-b.height+"px":d.offsetTop+b.Rm+"px";c.style.height=b.height+"px";_.Ur(c,b.opacity);a.lA=b};
_.GG.prototype.aL=function(a,b,c){this.cn=null;if(!this.Mp&&!a.equals(b)){var d=(0,_.Xa)();d>=c?NG(this,b):(NG(this,a.interpolate(b,1-Math.pow(1-Math.min(1-(c-d)/350,1),3))),this.cn=_.q.setTimeout((0,_.J)(this.aL,this,a,b,c),20))}};_.GG.prototype.open=_.GG.prototype.open;_.GG.prototype.onready=_.GG.prototype.Bd;_.GG.prototype.close=_.GG.prototype.close;

_.rl["slide-menu"]=function(a){var b=new _.GG(_.oV(a)),c=new _.As(b);b.open=function(){};b.create();a.attributes={height:"100%"};a.where=b.Om;a.onClose=function(){b.close()};a.onRestyle=function(d){if(d){var e=!1;d.hasOwnProperty("showMenu")&&(b.xN(d.showMenu),e=!0);d.hasOwnProperty("setHideOnLeave")&&(b.Vr(d.setHideOnLeave),e=!0);e||b.resize(d)}};a.onCreate=function(d){d.Pc=function(){return this.Gu("openerIframe")};c.ka=b.ka=d;d.Qf(b.Aa);d.register("_ready",(0,_.J)(b.Bd,b),_.Kl);b.AH=function(e,
f){!d.Ob&&d.zo([e,f])};_.IG(b,b.fh);c.open()}};

});
// Google Inc.
