/* JS */ gapi.loaded_2(function(_){var window=this; /* Copyright The Closure Library Authors. SPDX-License-Identifier: Apache-2.0 */ _.$y=function(a,b){Array.isArray(b)||(b=[b]);b=_.qb(b,function(c){return"string"===typeof c?c:c.yw+" "+c.duration+"s "+c.timing+" "+c.delay+"s"});_.Dr(a,"transition",b.join(","))}; _.az=_.Kb(function(){if(_.sc)return _.Pc("10.0");var a=_.Yd("DIV"),b=_.wc?"-webkit":_.vc?"-moz":_.sc?"-ms":_.rc?"-o":null,c={transition:"opacity 1s linear"};b&&(c[b+"-transition"]="opacity 1s linear");b=_.qr("div",{style:c});_.Bd(a,b);a=a.firstChild;b=a.style[_.rr("transition")];return""!=("undefined"!==typeof b?b:a.style[_.Cr(a,"transition")]||"")}); /* Copyright The Closure Library Authors. SPDX-License-Identifier: Apache-2.0 */ var NG=function(a,b,c,d,e){this.width=a;this.height=b;this.Rm=c;this.Sm=d;this.opacity=e},OG=function(a,b,c,d){return new NG(void 0==b?a.width:b,void 0==c?a.height:c,a.Rm,a.Sm,void 0==d?a.opacity:d)};NG.prototype.equals=function(a){return this.width==a.width&&this.height==a.height&&this.Rm==a.Rm&&this.Sm==a.Sm&&this.opacity==a.opacity}; NG.prototype.interpolate=function(a,b){var c=1-b;return new NG(Math.round(this.width*c+a.width*b),Math.round(this.height*c+a.height*b),Math.round(this.Rm*c+a.Rm*b),Math.round(this.Sm*c+a.Sm*b),this.opacity*c+a.opacity*b)}; _.PG=function(a){_.ws.call(this,a);this.ya=new _.qs(this)};_.ii(_.PG,_.Ds);_.h=_.PG.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.Tq=!!this.lk(!0,"hideOnLeave");this.PE=!!this.lk((0,_.az)(),"useCss3Transition");this.TR=!!this.lk(!0,"allowOffset");var f=document.createElement("div");this.Aa=f;var g=this.Hh();g.parentNode.appendChild(f);var k=document.createElement("div");this.Pm=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=_.Hs(this);d.overflow="hidden";d.boxShadow=d.MozBoxShadow=d.webkitBoxShadow=d.boxShadow||"0 2px 2px rgba(0,0,0,0.3)";_.Dr(f,d);_.Dr(k,{left:"-1000px",top:"-1000px",position:"absolute",width:a+"px",height:b+"px"});this.q2=f.offsetWidth-a;this.t2=f.offsetHeight;d="auto"==c?["top","start"]:c.split("-");g=_.Wr(g);this.At="bottom"==d[0];this.Kw="right"==d[1]||"left"!=d[1]&&g;this.hh=QG(this,a,b,"auto"==c); this.pE=_.A.setTimeout((0,_.R)(this.b1,this),500);this.ya.V(f,"mouseover",this.HC);this.ya.nr(f,"mouseout",this.GC,!1,this);e&&_.A.setTimeout((0,_.R)(function(){this.Np||this.ya.V(document,"click",this.MY)},this),0)}; _.h.open=function(){this.create();this.ka.Sf(this.Aa);this.ka.Sd("resize",(0,_.R)(this.resize,this));this.ka.Vg("showMenu",(0,_.R)(this.SN,this));var a=this.ka.methods;a.setHideOnLeave=(0,_.R)(this.Yr,this);a.displayStateCallback&&(this.PH=a.displayStateCallback,delete a.displayStateCallback);this.ka.ug(this.Pm,{height:"100%"});_.RG(this,this.hh)}; _.h.Bd=function(a){this.Np||(a=a||{},this.Pm.style.left="0",this.Pm.style.top="0",this.yj&&(_.de(this.yj),this.yj=null),this.pE&&(_.A.clearTimeout(this.pE),this.pE=null),SG(this,parseInt(a.width,10)||parseInt(this.ka.width,10)||this.hh.width,parseInt(a.height,10)||parseInt(this.ka.height,10)||this.hh.height))};_.h.resize=function(a){this.Np||SG(this,isNaN(+a.width)?this.hh.width:+a.width,isNaN(+a.height)?this.hh.height:+a.height)};_.h.close=function(){this.wB?TG(this):(this.Wy=!0,UG(this))}; _.h.lk=function(a,b){for(var c,d=1,e=arguments.length;d=f.left;a.Kw=a.Kw?!d||g:!d&&g;g=e.offsetTop;d=g+c=f.top;a.At=a.At?!d||g:!d&&g}d=a.Hq(a.Kw,e.offsetLeft,e.offsetWidth,b,f.left,f.right);a=a.Hq(a.At,e.offsetTop,e.offsetHeight,c,f.top,f.bottom);return new NG(b,c,d,a,1)}; _.PG.prototype.Hq=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 SG=function(a,b,c){a.ka.Ma().style.width=b+"px";a.ka.Ma().style.height=c+"px";a.Pm.style.width=b+"px";a.Pm.style.height=c+"px";b=a.TR?QG(a,b,c,!1):OG(a.nA,b,c);a.hh=b;a.yk||VG(a,b)};_.h=_.PG.prototype;_.h.Yr=function(a){this.Tq=!!a};_.h.HC=function(){!this.yk&&this.Xl&&(_.A.clearTimeout(this.Xl),this.Xl=null)}; _.h.GC=function(a){if(!(this.yk||this.Xl||!this.Tq||a.relatedTarget&&_.he(this.Aa,a.relatedTarget))){var b=_.ms(this.Aa);a=a.clientY>b.top&&a.clientY=c?WG(this,b):(WG(this,a.interpolate(b,1-Math.pow(1-Math.min(1-(c-d)/350,1),3))),this.fn=_.A.setTimeout((0,_.R)(this.rL,this,a,b,c),20))}};_.PG.prototype.open=_.PG.prototype.open;_.PG.prototype.onready=_.PG.prototype.Bd;_.PG.prototype.close=_.PG.prototype.close; _.jm["slide-menu"]=function(a){var b=new _.PG(_.zV(a)),c=new _.Ms(b);b.open=function(){};b.create();a.attributes={height:"100%"};a.where=b.Pm;a.onClose=function(){b.close()};a.onRestyle=function(d){if(d){var e=!1;d.hasOwnProperty("showMenu")&&(b.SN(d.showMenu),e=!0);d.hasOwnProperty("setHideOnLeave")&&(b.Yr(d.setHideOnLeave),e=!0);e||b.resize(d)}};a.onCreate=function(d){d.Qc=function(){return this.Lu("openerIframe")};c.ka=b.ka=d;d.Sf(b.Aa);d.register("_ready",(0,_.R)(b.Bd,b),_.Bm);b.PH=function(e, f){!d.Ob&&d.zo([e,f])};_.RG(b,b.hh);c.open()}}; }); // Google Inc.