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

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
var ls;ls=function(a){return(a=a.exec(_.qb))?a[1]:""};_.ms=function(){if(_.Zg)return ls(/Firefox\/([0-9.]+)/);if(_.hd||_.id||_.gd)return _.Bd;if(_.ch){if(_.zb()||_.rb("Macintosh")){var a=ls(/CriOS\/([0-9.]+)/);if(a)return a}return ls(/Chrome\/([0-9.]+)/)}if(_.dh&&!_.zb())return ls(/Version\/([0-9.]+)/);if(_.$g||_.ah){if(a=/Version\/(\S+).*Mobile\/(\S+)/.exec(_.qb))return a[1]+"."+a[2]}else if(_.bh)return(a=ls(/Android\s+([0-9.]+)/))?a:ls(/Version\/([0-9.]+)/);return""}();

/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
var qs;_.ns=function(a,b,c,d){this.left=a;this.top=b;this.width=c;this.height=d};_.g=_.ns.prototype;_.g.clone=function(){return new _.ns(this.left,this.top,this.width,this.height)};_.g.rD=_.ea(7);_.g.intersects=function(a){return this.left<=a.left+a.width&&a.left<=this.left+this.width&&this.top<=a.top+a.height&&a.top<=this.top+this.height};
_.g.contains=function(a){return a instanceof _.pr?a.x>=this.left&&a.x<=this.left+this.width&&a.y>=this.top&&a.y<=this.top+this.height:this.left<=a.left&&this.left+this.width>=a.left+a.width&&this.top<=a.top&&this.top+this.height>=a.top+a.height};_.g.distance=function(a){var b=a.x<this.left?this.left-a.x:Math.max(a.x-(this.left+this.width),0);a=a.y<this.top?this.top-a.y:Math.max(a.y-(this.top+this.height),0);return Math.sqrt(b*b+a*a)};_.g.getSize=function(){return new _.qr(this.width,this.height)};
_.g.getCenter=function(){return new _.pr(this.left+this.width/2,this.top+this.height/2)};_.g.ceil=function(){this.left=Math.ceil(this.left);this.top=Math.ceil(this.top);this.width=Math.ceil(this.width);this.height=Math.ceil(this.height);return this};_.g.floor=function(){this.left=Math.floor(this.left);this.top=Math.floor(this.top);this.width=Math.floor(this.width);this.height=Math.floor(this.height);return this};
_.g.round=function(){this.left=Math.round(this.left);this.top=Math.round(this.top);this.width=Math.round(this.width);this.height=Math.round(this.height);return this};_.g.translate=function(a,b){a instanceof _.pr?(this.left+=a.x,this.top+=a.y):(this.left+=a,"number"===typeof b&&(this.top+=b));return this};_.g.scale=function(a,b){b="number"===typeof b?b:a;this.left*=a;this.width*=a;this.top*=b;this.height*=b;return this};_.os=function(a){return _.Sr(a,"position")};
_.ps=function(a,b){a=a.style;"opacity"in a?a.opacity=b:"MozOpacity"in a?a.MozOpacity=b:"filter"in a&&(a.filter=""===b?"":"alpha(opacity="+100*Number(b)+")")};qs=function(a,b){return(b=_.Rr(a,b))?_.is(a,b):0};_.rs=function(a,b){if(_.hd){var c=qs(a,b+"Left"),d=qs(a,b+"Right"),e=qs(a,b+"Top");a=qs(a,b+"Bottom");return new _.Mr(e,d,a,c)}c=_.Qr(a,b+"Left");d=_.Qr(a,b+"Right");e=_.Qr(a,b+"Top");a=_.Qr(a,b+"Bottom");return new _.Mr(parseFloat(e),parseFloat(d),parseFloat(a),parseFloat(c))};
_.ss=function(){if(_.od){var a=/Windows NT ([0-9.]+)/;return(a=a.exec(_.qb))?a[1]:"0"}return _.nd?(a=/1[0|1][_.][0-9_.]+/,(a=a.exec(_.qb))?a[0].replace(/_/g,"."):"10"):_.rd?(a=/Android\s+([^\);]+)(\)|;)/,(a=a.exec(_.qb))?a[1]:""):_.sd||_.td||_.ud?(a=/(?:iPhone|CPU)\s+OS\s+(\S+)/,(a=a.exec(_.qb))?a[1].replace(/_/g,"."):""):""}();

/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
var ts,us,xs;_.ns.prototype.rD=_.cb(7,function(a){var b=Math.max(this.left,a.left),c=Math.min(this.left+this.width,a.left+a.width);if(b<=c){var d=Math.max(this.top,a.top);a=Math.min(this.top+this.height,a.top+a.height);d<=a&&(this.left=b,this.top=d,this.width=c-b,this.height=a-d)}});ts=function(a,b){return new _.pr(a.x-b.x,a.y-b.y)};
us=function(a){if(_.hd&&!_.Hr(8))return a.offsetParent;var b=_.Sd(a),c=_.Sr(a,"position"),d="fixed"==c||"absolute"==c;for(a=a.parentNode;a&&a!=b;a=a.parentNode)if(11==a.nodeType&&a.host&&(a=a.host),c=_.Sr(a,"position"),d=d&&"static"==c&&a!=b.documentElement&&a!=b.body,!d&&(a.scrollWidth>a.clientWidth||a.scrollHeight>a.clientHeight||"fixed"==c||"absolute"==c||"relative"==c))return a;return null};
_.vs=function(a){for(var b=new _.Mr(0,Infinity,Infinity,0),c=_.Td(a),d=c.Za().body,e=c.Za().documentElement,f=_.ur(c.nb);a=us(a);)if(!(_.hd&&0==a.clientWidth||_.ld&&0==a.clientHeight&&a==d)&&a!=d&&a!=e&&"visible"!=_.Sr(a,"overflow")){var h=_.Wr(a),k=new _.pr(a.clientLeft,a.clientTop);h.x+=k.x;h.y+=k.y;b.top=Math.max(b.top,h.y);b.right=Math.min(b.right,h.x+a.clientWidth);b.bottom=Math.min(b.bottom,h.y+a.clientHeight);b.left=Math.max(b.left,h.x)}d=f.scrollLeft;f=f.scrollTop;b.left=Math.max(b.left,d);
b.top=Math.max(b.top,f);c=_.tr(c.getWindow());b.right=Math.min(b.right,d+c.width);b.bottom=Math.min(b.bottom,f+c.height);return 0<=b.top&&0<=b.left&&b.bottom>b.top&&b.right>b.left?b:null};_.ws=function(a){var b=_.Wr(a);a=_.cs(a);return new _.ns(b.x,b.y,a.width,a.height)};xs=function(a,b){return(b&8&&_.gs(a)?b^4:b)&-9};
_.ys=function(a,b,c,d,e,f,h,k,l){var m;if(m=c.offsetParent){var n="HTML"==m.tagName||"BODY"==m.tagName;if(!n||"static"!=_.os(m)){var q=_.Wr(m);if(!n){n=_.gs(m);var p;if(p=n){p=_.dh&&0<=_.Ac(_.ms,10);var t=_.vd&&0<=_.Ac(_.ss,10),v=_.ch&&0<=_.Ac(_.ms,85);p=_.kd||p||t||v}n=p?-m.scrollLeft:n&&!_.jd&&"visible"!=_.Sr(m,"overflowX")?m.scrollWidth-m.clientWidth-m.scrollLeft:m.scrollLeft;q=ts(q,new _.pr(n,m.scrollTop))}}}m=q||new _.pr;q=_.ws(a);(n=_.vs(a))&&q.rD(new _.ns(n.left,n.top,n.right-n.left,n.bottom-
n.top));n=_.Td(a);t=_.Td(c);n.Za()!=t.Za()&&(p=n.Za().body,t=_.as(p,t.getWindow()),t=ts(t,_.Wr(p)),!_.hd||_.Hr(9)||_.rr(n.nb)||(t=ts(t,_.vr(n.nb))),q.left+=t.x,q.top+=t.y);a=xs(a,b);b=q.left;a&4?b+=q.width:a&2&&(b+=q.width/2);b=new _.pr(b,q.top+(a&1?q.height:0));b=ts(b,m);e&&(b.x+=(a&4?-1:1)*e.x,b.y+=(a&1?-1:1)*e.y);if(h)if(l)var u=l;else if(u=_.vs(c))u.top-=m.y,u.right-=m.x,u.bottom-=m.y,u.left-=m.x;e=u;l=b.clone();u=xs(c,d);d=_.cs(c);a=k?k.clone():d.clone();k=l;l=a;k=k.clone();l=l.clone();a=0;if(f||
0!=u)u&4?k.x-=l.width+(f?f.right:0):u&2?k.x-=l.width/2:f&&(k.x+=f.left),u&1?k.y-=l.height+(f?f.bottom:0):f&&(k.y+=f.top);h&&(e?(f=k,u=l,a=0,65==(h&65)&&(f.x<e.left||f.x>=e.right)&&(h&=-2),132==(h&132)&&(f.y<e.top||f.y>=e.bottom)&&(h&=-5),f.x<e.left&&h&1&&(f.x=e.left,a|=1),h&16&&(b=f.x,f.x<e.left&&(f.x=e.left,a|=4),f.x+u.width>e.right&&(u.width=Math.min(e.right-f.x,b+u.width-e.left),u.width=Math.max(u.width,0),a|=4)),f.x+u.width>e.right&&h&1&&(f.x=Math.max(e.right-u.width,e.left),a|=1),h&2&&(a|=(f.x<
e.left?16:0)|(f.x+u.width>e.right?32:0)),f.y<e.top&&h&4&&(f.y=e.top,a|=2),h&32&&(b=f.y,f.y<e.top&&(f.y=e.top,a|=8),f.y+u.height>e.bottom&&(u.height=Math.min(e.bottom-f.y,b+u.height-e.top),u.height=Math.max(u.height,0),a|=8)),f.y+u.height>e.bottom&&h&4&&(f.y=Math.max(e.bottom-u.height,e.top),a|=2),h&8&&(a|=(f.y<e.top?64:0)|(f.y+u.height>e.bottom?128:0)),h=a):h=256,a=h);f=new _.ns(0,0,0,0);f.left=k.x;f.top=k.y;f.width=l.width;f.height=l.height;h=a;h&496||(_.Ur(c,new _.pr(f.left,f.top)),a=f.getSize(),
d==a||d&&a&&d.width==a.width&&d.height==a.height||(f=a,d=_.rr(_.Td(_.Sd(c)).nb),!_.hd||_.Dd("10")||d?(c=c.style,_.kd?c.MozBoxSizing="border-box":_.ld?c.WebkitBoxSizing="border-box":c.boxSizing="border-box",c.width=Math.max(f.width,0)+"px",c.height=Math.max(f.height,0)+"px"):(k=c.style,d?(d=_.rs(c,"padding"),c=_.Xr(c),k.pixelWidth=f.width-c.left-d.left-d.right-c.right,k.pixelHeight=f.height-c.top-d.top-d.bottom-c.bottom):(k.pixelWidth=f.width,k.pixelHeight=f.height))));return h};

/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
var Hs;Hs=function(a,b){a&&(a=a.parentNode);for(var c=0;a;){if(b(a))return a;a=a.parentNode;c++}return null};_.Is=function(a){if(1==a.nodeType)return _.$r(a);a=a.changedTouches?a.changedTouches[0]:a;return new _.pr(a.clientX,a.clientY)};
_.Js=function(a){this.$=a;this.ta=a.$b()};_.Js.prototype.zs=function(){Ks(this)};
var Ks=function(a){var b=a.$.Lc();if(a.ta.anchorBox&&b&&b.getIframeEl())b=_.Wr(b.getIframeEl()),a.ta.anchorBox.left+=b.x,a.ta.anchorBox.top+=b.y;else{b=a.ta.anchor;if("_default"!=b&&"_iframe"!=b){var c=_.oi(document,b);if(c)a.ta.anchorBox=_.ws(c);else{_.Df.error("Anchor not found in DOM: "+b+'. Falling back to "_default".');a.ta.anchor="_default";return}}"_iframe"==b&&(b=_.tr(),a.ta.anchorBox=new _.ns(0,0,b.width,b.height))}a.ta.anchor=""};_.Js.prototype.onBeforeParentOpen=_.Js.prototype.zs;
_.Ls=function(a){_.Js.call(this,a)};_.O(_.Ls,_.Js);_.g=_.Ls.prototype;_.g.open=function(){var a=this.ta,b=document.createElement("ins");document.getElementById(a.container).appendChild(b);b.style.display="block";_.Or(b,a.containerCss);this.$.setSiteEl(b);this.$.ug(b)};_.g.yd=function(){document.getElementById(this.$.id).style.height=this.$.height+"px"};_.g.close=function(){_.ge(this.$.getSiteEl());_.ge(this.Hg);this.Hg=null};_.g.Ry=_.ea(5);
_.g.Rh=function(){if(this.Hg)return this.Hg;var a=this.ta;!a.anchorBox&&a.anchor&&Ks(this);var b=this.$.Lc();if("_default"==a.anchor&&b){var c=b.getSiteEl();c=_.ws(_.oi(document,c));a.anchorBox=c}if(!a.anchorBox)return _.Df.error("No anchor box defined."),null;a=new _.pr(a.anchorBox.left,a.anchorBox.top);b&&(b=_.as(b.getIframeEl(),window),this.Mm=new _.pr,this.Mm.x=b.x,this.Mm.y=b.y,a.x+=b.x,a.y+=b.y,_.Ms(a));this.sA=a;b=_.Ns(this,!0);this.Hg=document.createElement("ins");this.Hg.style.cssText=b;
document.body.appendChild(this.Hg);return this.Hg};_.Ns=function(a,b){var c=a.ta;return"position: absolute !important;background-color: transparent !important;left: "+a.sA.x+"px !important;top: "+a.sA.y+"px !important;width: "+c.anchorBox.width+"px !important;height: "+c.anchorBox.height+"px !important;z-index: -10000 !important;display: "+(b?"block":"none")+" !important;"};
_.Os=function(a,b){var c=0,d=0;if(b.pageX||b.pageY)c=b.pageX,d=b.pageY;else if(b.clientX||b.clientY)c=b.target?b.target:b.srcElement,d=c.ownerDocument&&c.ownerDocument.parentWindow?c.ownerDocument.parentWindow:window,_.hd?(c=d.document.documentElement.scrollLeft,d=d.document.documentElement.scrollTop):(c=d.pageXOffset,d=d.pageYOffset),c=b.clientX+c,d=b.clientY+d;b=new _.pr(c,d);a=_.ws(a);return a=new _.Mr(a.top,a.left+a.width,a.top+a.height,a.left),a.contains(b)};
_.Ms=function(a){var b=window,c=document.body,d=_.Wr(c);b=c.currentStyle||b.getComputedStyle(c,"");b.position&&"static"!=b.position&&(a.x-=d.x,a.y-=d.y)};_.Ps=function(a){var b=a.$.Lc()&&a.$.Lc().getSiteEl();b=b&&b.style.zIndex?parseInt(b.style.zIndex,10)+1:0;return Math.min(2147483647,Math.max(2E9,a.ta.zIndex||b))};
var Qs,Rs,Ss;Qs={"bottom-center":1,"bottom-end":13,"bottom-left":1,"bottom-right":5,"bottom-start":9,"left-bottom":1,"left-center":0,"left-top":0,"right-bottom":5,"right-center":4,"right-top":4,"top-center":0,"top-end":12,"top-left":0,"top-right":4,"top-start":8};Rs={"bottom-center":!0,"top-center":!0};Ss={"left-center":!0,"right-center":!0};
_.Ts=function(a,b,c,d,e){e=e||{x:0,y:0};if(Rs[b]){var f=_.cs(a).width/2;e.x="top-right"==d||"bottom-right"==d?e.x+f:e.x-f}Rs[d]&&(f=_.cs(c).width/2,e.x+=f);Ss[b]&&(f=_.cs(a).height/2,e.y="right-bottom"==d||"left-bottom"==d?e.y+f:e.y-f);Ss[d]&&(e.y+=_.cs(c).height/2);_.ys(c,Qs[d],a,Qs[b],new _.pr(e.x,e.y));d=Hs(a,function(h){if(h==document)return!1;h=_.os(h);return!!h&&"static"!=h});c=b=0;d&&(c=_.Wr(d),b=-c.x,c=-c.y);a=a.style;parseInt(a.left,10)<b&&(a.left=b+"px");parseInt(a.top,10)<c&&(a.top=c+"px")};
_.Us=function(a){_.Js.call(this,a.$);this.yg=a;this.PA=[]};_.O(_.Us,_.Ls);_.g=_.Us.prototype;_.g.zs=function(){this.yg.zs()};_.g.open=function(){this.yg.open();(this.ta.closeClickDetection||this.ta.hideClickDetection)&&Vs(this)};_.g.yd=function(a){this.yg.yd(a)};_.g.AO=function(a){this.yg.onRenderStart&&this.yg.onRenderStart(a)};_.g.close=function(){if(this.ta.closeClickDetection||this.ta.hideClickDetection)_.Sb(this.PA,function(a){_.bj(a)}),this.PA=[];this.yg.close()};
var Vs=function(a){_.Sb(["click","touchstart"],(0,_.R)(function(b){this.PA.push(_.Ui(document,b,(0,_.R)(this.SU,this),!0))},a))};_.Us.prototype.SU=function(a){_.Os(this.$.getSiteEl(),a)||(this.ta.hideClickDetection&&this.yg.show?this.yg.show(!1):this.close())};_.Us.prototype.onBeforeParentOpen=_.Us.prototype.zs;_.Us.prototype.open=_.Us.prototype.open;_.Us.prototype.onready=_.Us.prototype.yd;_.Us.prototype.onRenderStart=_.Us.prototype.AO;_.Us.prototype.close=_.Us.prototype.close;

var AZ,BZ,CZ;for(_.zZ=function(a){return{$b:function(){return a},Lc:function(){return a.openerIframe}}},AZ=function(a){(new _.Js(_.zZ(a))).zs()},BZ="bubble circlepicker float hover hover-menu slide-menu".split(" "),CZ=0;CZ<BZ.length;CZ++)_.$m[BZ[CZ]]=AZ;

_.Mq=function(a){var b=void 0===b?_.Pb:b;a:{b=void 0===b?_.Pb:b;for(var c=0;c<b.length;++c){var d=b[c];if(d instanceof _.hb&&d.ji(a)){a=new _.eb(a,_.Kb);break a}}a=void 0}return a||_.Nb};_.Nq=function(a){return a instanceof _.Mb?_.gb(a):_.Dc(a)};_.Oq=function(a){this.O=a};_.g=_.Oq.prototype;_.g.oF=function(a){this.O.anchor=a;return this};_.g.Rh=function(){return this.O.anchor};_.g.Ry=_.ea(6);_.g.Ad=function(a){this.O.height=a;return this};_.g.Ac=function(){return this.O.height};
_.g.ke=function(a){this.O.width=a;return this};_.g.Ob=function(){return this.O.width};_.Pq=function(a,b){a.O.where=b;return a};_.Qq=function(a){a.O.connectWithQueryParams=!0;return a};_.Rq=function(){_.gj.apply(this,arguments)};_.O(_.Rq,_.gj);

_.Oq.prototype.Ry=_.cb(6,function(a){this.O.anchorPosition=a});_.Ls.prototype.Ry=_.cb(5,function(a){this.sA=a;this.Hg.style.cssText=_.Ns(this,!0)});
var nt=function(a){var b=a.$.Lc();if(!b||!a.Mm)return!1;var c=a.ta;c=new _.pr(c.anchorBox.left,c.anchorBox.top);b=_.as(b.getIframeEl(),window);if(b.x==a.Mm.x&&b.y==a.Mm.y)return!1;a.Mm.x=b.x;a.Mm.y=b.y;c.x+=b.x;c.y+=b.y;_.Ms(c);a.Ry(c);return!0},ot=function(a,b,c,d){if(null!=a)for(a=a.firstChild;a;){if(b(a)&&(c.push(a),d)||ot(a,b,c,d))return!0;a=a.nextSibling}return!1},pt=function(a,b){var c=[];return ot(a,b,c,!0)?c[0]:void 0};
var Et,Dt;
try{_.fs(_.Uc(_.fc(".gc-bubbleDefault{table-layout:auto!important}.gc-bubbleDefault,.gc-reset{background-color:transparent!important;text-align:left;padding:0!important;margin:0!important;border:0!important}.pls-bubbleTop{border-bottom:1px solid #ccc!important}.pls-contentLeft,.pls-topTail,.pls-vertShimLeft{background-image:url(//ssl.gstatic.com/s2/oz/images/stars/po/bubblev1/border_3.gif)!important}.pls-topTail{background-repeat:repeat-x!important;background-position:bottom!important}.pls-vertShim{background-color:#fff!important;text-align:right}.tbl-grey .pls-vertShim{background-color:#f5f5f5!important}.pls-vertShimLeft{background-repeat:repeat-y!important;background-position:100%!important;height:4px}.pls-vertShimRight{height:4px}.pls-confirm-container .pls-vertShim{background-color:#fff3c2!important}.pls-contentWrap{background-color:#fff!important;position:relative!important;vertical-align:top}.pls-contentLeft{background-repeat:repeat-y;background-position:100%;vertical-align:top}.pls-dropRight{background-image:url(//ssl.gstatic.com/s2/oz/images/stars/po/bubblev1/bubbleDropR_3.png)!important;background-repeat:repeat-y!important}.pls-dropBL,.pls-dropBottom,.pls-dropRight,.pls-dropTR .pls-dropBR,.pls-tailleft,.pls-vert,.pls-vert img{vertical-align:top}.pls-dropBottom{background-image:url(//ssl.gstatic.com/s2/oz/images/stars/po/bubblev1/bubbleDropB_3.png)!important;background-repeat:repeat-x!important;width:100%}.pls-topLeft{text-align:right}.pls-topLeft,.pls-topRight{background:inherit!important;vertical-align:bottom}.pls-topRight{text-align:left}.pls-bottomLeft{background:inherit!important;text-align:right}.pls-bottomRight{background:inherit!important;text-align:left;vertical-align:top}.pls-tailbottom,.pls-tailleft,.pls-tailright,.pls-tailtop{display:none;position:relative}.pls-dropBL,.pls-dropBR,.pls-dropTR,.pls-tailbottom,.pls-tailleft,.pls-tailright,.pls-tailtop{background-image:url(//ssl.gstatic.com/s2/oz/images/stars/po/bubblev1/bubbleSprite_3.png)!important;background-repeat:no-repeat}.tbl-grey .pls-dropBL,.tbl-grey .pls-dropBR,.tbl-grey .pls-dropTR,.tbl-grey .pls-tailbottom,.tbl-grey .pls-tailleft,.tbl-grey .pls-tailright,.tbl-grey .pls-tailtop{background-image:url(//ssl.gstatic.com/s2/oz/images/stars/po/bubblev1/bubbleSprite-grey.png)!important}.pls-tailbottom{background-position:-23px 0}.pls-confirm-container .pls-tailbottom{background-position:-23px -10px}.pls-tailtop{background-position:-19px -20px}.pls-tailright{background-position:0 0}.pls-tailleft{background-position:-10px 0}.pls-tailtop{vertical-align:top}.gc-bubbleDefault td{line-height:0;font-size:0}.pls-tailbottom,.pls-topLeft img,.pls-topRight img{vertical-align:bottom}.bubbleDropTR,.pls-bottomLeft,.pls-bottomLeft img,.pls-dropBottom img,.pls-dropBottomL img,.pls-dropBottomR img{vertical-align:top}.pls-dropTR{background-position:0 -22px}.pls-dropBR{background-position:0 -27px}.pls-dropBL{background-position:0 -16px}.pls-spacerbottom,.pls-spacerleft,.pls-spacerright,.pls-spacertop{position:static!important}.pls-spinner{bottom:0;position:absolute;left:0;margin:auto;right:0;top:0}")))}catch(a){_.Df.error("Failed to install bubble styles: "+a),
_.D.setTimeout(function(){_.r.ON(a)},0)}_.qt=function(a){_.Js.call(this,a);this.wa=new _.Es(this)};_.O(_.qt,_.Ls);var rt=function(a,b){return pt(a,function(c){c=c.className;c="string"===typeof c&&c.match(/\S+/g)||[];return _.lb(c,b)})};
_.qt.prototype.resize=function(a){+a.width&&(this.$.width=a.width);+a.height&&(this.$.height=a.height);+a.contentWidth?this.$.contentWidth=a.contentWidth:+a.width&&(this.$.contentWidth=a.width);+a.contentHeight?this.$.contentHeight=a.contentHeight:+a.height&&(this.$.contentHeight=a.height);this.position(!1,a.noreposition);return!0};
var st=function(a,b,c,d,e,f){return['<img class="',d?d+" ":"",f?'"':'gc-reset"',' style="width:',a,"px !important; height:",b,"px !important; max-width: ",a,"px !important; max-height: ",b,'px !important;" src="',e?"":"https://ssl.gstatic.com/s2/oz/images/stars/po/bubblev1/",c,'"/>'].join("")};_.qt.prototype.close=function(){Dt(this);_.Ls.prototype.close.call(this)};Et=function(a){a.Bq||(a.Bq=window.setInterval((0,_.R)(a.RV,a),1E3))};Dt=function(a){a.Bq&&(window.clearInterval(a.Bq),a.Bq=null)};
_.Ft=function(a){var b=document.createElement("div"),c=Number(a.ta.width)||100,d=c+6,e={display:"block",visibility:"hidden",position:"absolute",width:d+"px",left:"-1000px",top:"-1000px"};a.ta.height&&(e.height=+a.ta.height+2+"px");_.Or(b,e);a.rt=!!a.ta.showSpinner;a.eE=!!a.ta.noPadding;a.dJ=!!a.ta.anchorToOpener;a.fH=0!=a.ta.show;d=(d=String(d))?d+"px":"100%";var f=a.rt;e=a.eE;var h="";f&&(h=st(_.Ke("iframes/bubble/spinnerwidth")||16,_.Ke("iframes/bubble/spinnerheight")||16,_.Ke("iframes/bubble/spinnerurl")||
"https://ssl.gstatic.com/docs/documents/share/images/spinner-1.gif","pls-spinner",!0,!0));h+='<div class="goog-bubble-content gc-reset"'+(f?' style="visibility:hidden;"':"")+"></div>";f="gc-bubbleDefault pls-container";a.ta.bubbleClass&&(f+=" tbl-"+a.ta.bubbleClass);d=_.$c(['<table cellpadding="0" cellspacing="0" dir="ltr" style="width:',d,';" frame="void" rules="none" class=" '+f+'">','<tr class="gc-reset"><td class="pls-topLeft gc-reset">',st(1,1,"border_3.gif"),'</td><td class="pls-topTail gc-reset">',
st(15,9,"spacer.gif","pls-tailbottom"),st(1,1,"spacer.gif","pls-spacerbottom"),'</td><td class="pls-topRight gc-reset">',st(1,1,"border_3.gif"),'</td></tr><tr class="gc-reset"><td class="pls-vertShimLeft gc-reset">',st(1,4,"spacer.gif"),"</td>",e?'<td rowspan="2" class="pls-contentWrap gc-reset">'+h+"</td>":'<td class="pls-vertShim gc-reset">'+st(1,4,"spacer.gif")+"</td>",'<td class="pls-vertShimRight gc-reset">',st(5,4,"spacer.gif","pls-dropTR"),'</td></tr><tr class="gc-reset"><td class="pls-contentLeft gc-reset">',
st(9,15,"spacer.gif","pls-tailright"),st(1,1,"spacer.gif","pls-spacerright"),"</td>",e?"":'<td class="pls-contentWrap gc-reset">'+h+"</td>",'<td class="pls-dropRight gc-reset">',st(12,19,"spacer.gif","pls-tailleft"),st(1,1,"spacer.gif","pls-spacerleft"),'</td></tr><tr class="gc-reset"><td class="pls-bottomLeft gc-reset">',st(1,1,"border_3.gif"),'</td><td class="gc-reset"><table cellpadding="0" cellspacing="0" style="width:100%" class="gc-reset"><tr class="gc-reset"><td class="pls-vert gc-reset">',
st(4,5,"spacer.gif","pls-dropBL"),'</td><td class="pls-dropBottom gc-reset">',st(19,13,"spacer.gif","pls-tailtop"),st(1,1,"spacer.gif","pls-spacertop"),'</td></tr></table></td><td class="pls-vert gc-reset">',st(5,5,"spacer.gif","pls-dropBR"),"</td></tr></table>"].join(""),null);_.xb(b);b.innerHTML=_.Zc(d);a.dJ?(d=a.$.Lc().getSiteEl(),d.style.position="relative"):d=document.body;d.appendChild(b);a.Ag=b.firstChild;a.ta.bubbleType&&a.Bd(a.ta.bubbleType);a.Ur=rt(a.Ag,"goog-bubble-content");a.ta.where=
a.Ur;a.ta.div=b;a.ta.attributes=a.ta.attributes||{};_.te({style:"margin:0px;position:absolute;z-index:1;border-style:none;outline:none;width:"+c+"px;"},a.ta.attributes)};_.qt.prototype.Hx=function(){Gt(this);Ht(this,this.ta.maxExpectedSize);this.$.setSiteEl(this.ta.div);this.rt&&(this.position(!1),this.yM=!0);this.fH&&this.ta.startVisible&&(this.$.getSiteEl().style.visibility="visible",Et(this),It(this));this.wa.V(this.Ag,"mouseout",this.jE);this.wa.V(this.Ag,"mouseover",this.kE)};
_.qt.prototype.open=function(){_.Ft(this);var a=this.$;a.kd("resize",(0,_.R)(this.resize,this));a.Vg("setHideOnLeave",(0,_.R)(this.dt,this));a.Vg("setBubbleType",(0,_.R)(this.Bd,this));a.Vg("show",(0,_.R)(this.show,this));a.Vg("showSpinner",(0,_.R)(this.MQ,this));a.Vg("clearHideOnLeaveTimeout",(0,_.R)(this.Ku,this));a.methods.closeOrHideThisBubble=(0,_.R)(this.SA,this);var b=a.getSiteEl();b?this.Ur.appendChild(b):a.ug(this.Ur||null,this.ta.attributes);this.Hx()};
_.qt.prototype.RV=function(){var a=this.$.Lc();if(a&&this.Hg){a=a.getSiteEl();var b=a.currentStyle||window.getComputedStyle(a,"");0===a.offsetWidth&&0===a.offsetHeight||"none"==b.display||"hidden"==b.visibility?this.$.close():nt(this)&&this.position(!0)}else Dt(this)};var Ht=function(a,b){if(b=(b||{}).height)a.$.maxExpectedSize||(a.$.maxExpectedSize={}),a.$.maxExpectedSize.height=b};
_.qt.prototype.TC=function(a){this.le=!0;a=a||{};var b=a.height;b&&(this.$.height=b);var c=a.width;c&&(this.$.width=c);c=a.contentWidth||c;+c&&(this.$.contentWidth=c);b=a.contentHeight||b;+b&&(this.$.contentHeight=b);Ht(this,a.maxExpectedSize);this.yM&&Jt(this,!1);this.fH&&!this.ER&&this.show(!0)};_.qt.prototype.yd=function(a){this.TC(a)};_.qt.prototype.AO=function(a){this.yZ||this.TC(a)};_.qt.prototype.MQ=function(a){a&&(this.yM=!1,this.yZ=!0);Jt(this,a)};
var Jt=function(a,b){a.rt=b;var c=_.Cs("pls-spinner",a.$.getSiteEl());c&&(c.style.visibility=b?"":"hidden");if(a=_.Cs("goog-bubble-content",a.$.getSiteEl()))a.style.visibility=b?"hidden":""};
_.qt.prototype.position=function(a,b){var c=this.$.getId(),d=_.oi(document,c);if(d){d.style.height=(this.$.contentHeight||+this.ta.contentHeight||this.$.height||+this.ta.height)+"px";c=this.$.contentWidth||+this.ta.contentWidth||+this.ta.width;d.style.width=c?c+"px":"100%";c=this.$.width||+this.ta.width;d=this.$.height||+this.ta.height;_.Or(this.Ur,{width:c+"px",height:d+"px"});var e=c+2+4,f=(this.eE?Math.max(d,4):d+4)+2+4;this.Ag.style.width=e+"px";d=this.$.getSiteEl();d.style.width=e+"px";c=this.Rh();
this.Hg.style.cssText=_.Ns(this,!0);var h=_.Is(c),k=_.ws(d),l=_.ws(c);var m=_.tr(window);if(!this.Nk||a){this.Nk=!0;var n=this.$.maxExpectedSize;a=k.clone();n&&n.height&&(a.height=n.height);a:{n=this.ta.expandTo;k=[Kt.Fg,Kt.Zf,Kt.Rj,Kt.Qj];if(n){n=k=n.concat(k);for(var q={},p=0,t=0;t<n.length;){var v=n[t++];q[v]||(q[v]=!0,n[p++]=v)}n.length=p}for(n=0;n<k.length;++n)switch(k[n]){case Kt.Fg:if(h.y+l.height+a.height<=m.height){a=Kt.Fg;break a}break;case Kt.Zf:if(0<=h.y-a.height){a=Kt.Zf;break a}break;
case Kt.Qj:if(0<=h.x-a.width){a=Kt.Qj;break a}break;case Kt.Rj:if(h.x+a.width+l.width<=m.width){a=Kt.Rj;break a}}a=k[0]}this.Dd=a;this.qe=this.ta.anchorPosition;this.uf=this.ta.targetPosition;this.Dd==Kt.Zf||this.Dd==Kt.Fg?_.ni(Lt,this.qe)&&_.ni(Lt,this.uf)||(this.uf=this.qe="left"):_.ni(Mt,this.qe)&&_.ni(Mt,this.uf)||(this.uf=this.qe="center");this.Wj=this.ta.arrowPosition;this.Wj?this.Dd==Kt.Zf||this.Dd==Kt.Fg?_.ni(Lt,this.Wj)||(this.Wj="center"):_.ni(Mt,this.Wj)||(this.Wj="center"):this.Wj="center";
a=this.Dd;k=this.uf;n={};n.anchor=a+"-"+this.qe;n.target=Nt[a]+"-"+k;this.UJ=n;rt(this.Ag,"pls-spacer"+this.Dd).style.display="none";for(var u in Kt)Kt.hasOwnProperty(u)&&(a=Kt[u],a!=this.Dd&&(rt(this.Ag,"pls-spacer"+a).style.display="block",rt(this.Ag,"pls-tail"+a).style.display="none"));this.wA=rt(this.Ag,"pls-tail"+this.Dd);this.wA.style.display="inline"}switch(this.Dd){case Kt.Zf:f+=8;break;case Kt.Rj:e+=8;break;case Kt.Fg:f+=8;break;case Kt.Qj:e+=7}_.Or(this.Ag,{width:e+"px",height:f+"px"});
_.Or(d,{width:e+"px",height:f+"px"});e=k=_.ws(d);u={x:0,y:0};k=e.width;n=e.height;this.Dd==Kt.Zf||this.Dd==Kt.Fg?(f="right"==this.qe?l.width:"center"==this.qe?l.width/2:0,a="right"==this.uf?k:"center"==this.uf?k/2:0,h=Math.max(0,Math.min(h.x,m.width-f)),h+=f-a,"right"==this.uf&&(u.x+=4),h+k>m.width&&(m=h+k-m.width,u.x-=m,h-=m),0>h&&(u.x-=h)):(f="bottom"==this.qe?l.height:"center"==this.qe?l.height/2:0,a="bottom"==this.uf?n:"center"==this.uf?n/2:0,h=Math.max(0,Math.min(h.y,m.height-f)),h+=f-a,h+n>
m.height&&(m=h+n-m.height,u.y-=m,h-=m),0>h&&(u.y-=h));f=-u.x;m=-u.y;"right"==this.qe?u.x*=-1:"bottom"==this.qe&&(u.y*=-1);k=e.width-4;n=e.height-4;h=a=0;if("top"==this.Dd||"bottom"==this.Dd){switch(this.Wj){case "left":a-=7;break;case "right":a=l.width-7;break;default:a=l.width/2-7}"center"==this.uf?a+=k/2:"right"==this.uf&&(a+=k);"center"==this.qe?a-=l.width/2:"right"==this.qe&&(a-=l.width);"top"==this.Dd&&(a-=4)}else{switch(this.Wj){case "top":h-=7;break;case "bottom":h+=l.height-7;break;default:h+=
l.height/2-7}"center"==this.uf?h+=n/2:"bottom"==this.uf&&(h+=n);"center"==this.qe?h-=l.height/2:"bottom"==this.qe&&(h-=l.height);h-=4}l=this.Dd;l=l==Kt.Rj||l==Kt.Qj?0:Math.min(Math.max(6,f+a),e.width-6-15-8);f=this.Dd;m=f==Kt.Zf||f==Kt.Fg?0:Math.min(Math.max(6,m+h),e.height-6-15-8);h=_.ws(this.wA);e=_.ws(this.Ur);h=h.top+h.height>e.top+e.height;if(!b||this.Dd===Kt.Zf||h)_.Or(this.wA,{left:l+"px",top:m+"px"}),c&&_.Ts(d,this.UJ.target,c,this.UJ.anchor,u);this.Hg.style.cssText=_.Ns(this,!1)}else _.Df.warn("Cannot resize already-closed iframe "+
c+".")};_.qt.prototype.Bd=function(a){this.Ag&&a in Ot&&(this.Ag.className="gc-bubbleDefault "+Ot[a])};_.qt.prototype.show=function(a){if(!a||this.le||this.rt){var b=this.$.getSiteEl().style;a?(Gt(this),nt(this),this.position(!0),It(this)):(b.left="-10000px",b.top="-10000px");this.ER=!a;b.visibility=a?"visible":"hidden";a?Et(this):Dt(this);this.$.Sv?(b=this.$.methods.onVisibilityChanged)&&b(a):!this.$.isDisposed()&&this.$.wp(a);this.Ku()}else this.ER=!1};
var Gt=function(a){var b=a.ta.bubbleGroup||"",c=Pt[b];c!==a&&(c&&(c.$.$b().hideClickDetection&&c.show?c.show(!1):c.close()),Pt[b]=a)},It=function(a){var b=Math.max(_.Ps(a),Qt+1);_.Or(a.$.getSiteEl(),{zIndex:b});Qt=b};_.g=_.qt.prototype;_.g.SA=function(){this.ta.hideClickDetection?this.show(!1):this.$.close()};_.g.dt=function(a){this.Pr=a};_.g.kE=function(){this.Ku()};
_.g.jE=function(a){this.Aw||!this.Pr||a.relatedTarget&&_.je(this.Ag,a.relatedTarget)||(this.Aw=_.D.setTimeout((0,_.R)(this.SA,this),250))};_.g.Ku=function(){this.Aw&&(_.D.clearTimeout(this.Aw),this.Aw=null)};_.g.Nk=!1;_.g.le=!1;_.g.rt=!1;_.g.eE=!1;_.g.Bq=null;_.g.dJ=!1;_.g.fH=!0;_.g.Pr=!0;var Pt={},Qt=0,Kt={Fg:"bottom",Qj:"left",Rj:"right",Zf:"top"},Nt={};Nt[Kt.Zf]=Kt.Fg;Nt[Kt.Fg]=Kt.Zf;Nt[Kt.Qj]=Kt.Rj;Nt[Kt.Rj]=Kt.Qj;
var Lt={CENTER:"center",Qj:"left",Rj:"right"},Mt={Fg:"bottom",CENTER:"center",Zf:"top"},Ot={"pls-default":"pls-container","pls-confirm":"pls-confirm-container"};

_.Zm.bubble=function(a){var b=new _.qt(_.zZ(a)),c=new _.Us(b);b.open=function(){};_.Ft(b);a.onClose=function(){b.close()};a.onRestyle=function(d){if(d){var e=!1;d.hasOwnProperty("setBubbleType")&&(b.Bd(d.setBubbleType),e=!0);d.hasOwnProperty("show")&&(b.show(d.show),e=!0);d.hasOwnProperty("showSpinner")&&(b.MQ(d.showSpinner),e=!0);d.hasOwnProperty("clearHideOnLeaveTimeout")&&(b.Ku(),e=!0);d.hasOwnProperty("setHideOnLeave")&&(b.dt(d.setHideOnLeave),e=!0);d.hasOwnProperty("setBubbleType")&&(b.Bd(d.setBubbleType),
e=!0);e||b.resize(d)}};a.onCreate=function(d){d.Lc=function(){return this.getParam("openerIframe")};d=c.$=b.$=d;d.register("_ready",(0,_.R)(b.TC,b),_.ik);d.register("closeOrHideThisBubble",(0,_.R)(b.SA,b),_.ik);b.Hx();c.open()}};

});
// Google Inc.
