try{ var p;function aa(a){return function(){return ba[a].apply(this,arguments)}}var ba=[];var Xa=Xa||{},w=this,ea=function(a){return void 0!==a},fa=function(a,b){for(var c=a.split("."),d=b||w,e;e=c.shift();)if(null!=d[e])d=d[e];else return null;return d},Sb=function(){},ha=function(a){var b=typeof a;if("object"==b)if(a){if(a instanceof Array)return"array";if(a instanceof Object)return b;var c=Object.prototype.toString.call(a);if("[object Window]"==c)return"object";if("[object Array]"==c||"number"==typeof a.length&&"undefined"!=typeof a.splice&&"undefined"!=typeof a.propertyIsEnumerable&& !a.propertyIsEnumerable("splice"))return"array";if("[object Function]"==c||"undefined"!=typeof a.call&&"undefined"!=typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable("call"))return"function"}else return"null";else if("function"==b&&"undefined"==typeof a.call)return"object";return b},ia=function(a){return"array"==ha(a)},x=function(a){var b=ha(a);return"array"==b||"object"==b&&"number"==typeof a.length},y=function(a){return"string"==typeof a},ca=function(a){return"number"==typeof a},ja=function(a){return"function"== ha(a)},ka=function(a){var b=typeof a;return"object"==b&&null!=a||"function"==b},ma="closure_uid_"+(1E9*Math.random()>>>0),na=0,oa=function(a,b,c){return a.call.apply(a.bind,arguments)},pa=function(a,b,c){if(!a)throw Error();if(2")&&(a=a.replace(Oa,">"));-1!=a.indexOf('"')&&(a=a.replace(Pa,"""));-1!=a.indexOf("'")&&(a=a.replace(Ra,"'"));-1!=a.indexOf("\x00")&&(a=a.replace(Kc,"�"));return a},wa=/&/g,Na=//g,Pa=/"/g,Ra=/'/g,Kc=/\x00/g,va=/[\x00&<>"']/,ga=function(a,b){return ab?1:0},Hg= function(a){for(var b=0,c=0;cc?Math.max(0,a.length+c):c;if(y(a))return y(b)&&1==b.length?a.indexOf(b,c):-1;for(;cb?null:y(a)?a.charAt(b):a[b]},C=function(a,b){return 0<=qa(a,b)},sa=function(a,b){var c=qa(a,b),d;(d=0<= c)&&D.splice.call(a,c,1);return d}; var Ga=[],Ia=[],Ha=!1,Fa=function(a){Ga[Ga.length]=a;if(Ha)for(var b=0;b2*this.h&&Ib(this),!0):!1};var Ib=function(a){if(a.h!=a.i.length){for(var b=0,c=0;b=c.length)throw Za;var g=c[b++];return a?g:d[g]}};return g};var Db=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)}; var Fb=function(a){if("function"==typeof a.H)return a.H();if(y(a))return a.split("");if(x(a)){for(var b=[],c=a.length,d=0;dparseFloat(a))?String(b):a}(),Rb={},P=function(a){var b;if(!(b=Rb[a])){b=0;for(var c=Kb(String(qb)).split("."),d=Kb(String(a)).split("."),e=Math.max(c.length,d.length),f=0;0==b&&fb.length){c.push(Md(a)+"(");for(var d=a.arguments,e=0;d&&eb.i.length&&b.i.push([null,a]))},fh=function(a){a.i&&(M(a.i,function(a){pb(this.g,a[1],a[0])},a),a.i=null)},W=new eh,hh=function(a){v(a)}; !gb&&!N||N&&N&&9<=sb||gb&&P("1.9.1");N&&P("9");var xb=function(){},Yf=function(a,b,c){switch(typeof b){case "string":yb(b,c);break;case "number":c.push(isFinite(b)&&!isNaN(b)?b:"null");break;case "boolean":c.push(b);break;case "undefined":c.push("null");break;case "object":if(null==b){c.push("null");break}if(ia(b)){var d=b.length;c.push("[");for(var e="",f=0;fb?e+="000":256>b?e+="00":4096>b&&(e+="0");return Eb[a]=e+b.toString(16)}),'"')}; var Yb=function(){var a=window;if(!a.location){var b;try{var c=[];Yf(new xb,a,c);b=c.join("")}catch(d){b=Cb(a).toString()}v(Error("za`"+b))}b=a.location&&a.location.ancestorOrigins;if(ea(b))return b&&b.length?b[b.length-1]==a.location.origin:!0;try{return ea(a.top.location.href)}catch(e){return!1}}; var kh={},jh=function(){var a={};a.location=document.location.toString();if(Yb())try{a["top.location"]=top.location.toString()}catch(b){a["top.location"]="[external]"}else a["top.location"]="[external]";for(var c in kh)try{a[c]=kh[c].call()}catch(d){a[c]="[error] "+d.message}return a}; var lh=function(a){this.i=a;this.h={};this.g=[]},pb=function(a,b,c){var d=jh();d["call-stack"]=Wd();c&&(d.message=c);var e;b instanceof Error?e=b:e=b||"";var f;b="";e&&(b=(e.lineNumber||"unknown")+":"+Hg(e.fileName||"unknown")+":"+Hg(e.message||"unknown"));c="";for(f in d){var g;g="call-stack"==f?d[f].replace(/\(.*\)/g,""):d[f];c=c+f+":"+g+":"}f=b+"::"+c;b=a.h[f];b||(b={time:0,count:0},a.h[f]=b);if(1E4>L()-b.time)b.count++,1==b.count&&(d=jh(),d.message="Throttling: "+f,a.i.g(e,d));else{b.count&&(d["dropped-instances"]= b.count);b.time=L();for(f=b.count=0;f=a.keyCode)a.keyCode=-1}catch(b){}}; var fc="closure_listenable_"+(1E6*Math.random()|0),ec=function(a){try{return!(!a||!a[fc])}catch(b){return!1}},lc=0;var Vb=function(a,b,c,d,e){this.$=a;this.i=null;this.src=b;this.type=c;this.X=!!d;this.ca=e;this.ra=++lc;this.m=this.Na=!1},mc=function(a){a.m=!0;a.$=null;a.i=null;a.src=null;a.ca=null};var pc=function(a){this.src=a;this.i={};this.g=0};pc.prototype.add=function(a,b,c,d,e){var f=a.toString();a=this.i[f];a||(a=this.i[f]=[],this.g++);var g=tc(a,b,d,e);-1c.keyCode||void 0!=c.returnValue)){t:{var f=!1;if(0==c.keyCode)try{c.keyCode=-1;break t}catch(g){f= !0}if(f||void 0==c.returnValue)c.returnValue=!0}c=[];for(f=d.i;f;f=f.parentNode)c.push(f);for(var f=a.type,q=c.length-1;0<=q;q--)d.i=c[q],e&=gc(c[q],f,!0,d);for(q=0;q>>0),xf=function(a){return ja(a)?a:a[cj]||(a[cj]=function(b){return a.handleEvent(b)})};Fa(function(a){ac=a(ac)}); var ic=function(){this.j=new pc(this);this.Wb=this};A(ic,E);ic.prototype[fc]=!0;ic.prototype.O=null;ic.prototype.addEventListener=function(a,b,c,d){Wb(this,a,b,c,d)};ic.prototype.removeEventListener=function(a,b,c,d){cc(this,a,b,c,d)}; var G=function(a,b){var c,d=a.O;if(d)for(c=[];d;d=d.O)c.push(d);var d=a.Wb,e=b,f=e.type||e;if(y(e))e=new Q(e,d);else if(e instanceof Q)e.target=e.target||d;else{var g=e,e=new Q(f,d);Pb(e,g)}var g=!0,q;if(c)for(var m=c.length-1;0<=m;m--)q=e.i=c[m],g=dj(q,f,!0,e)&&g;q=e.i=d;g=dj(q,f,!0,e)&&g;g=dj(q,f,!1,e)&&g;if(c)for(m=0;mc?a[1]="?":c==b.length-1&&(a[1]=void 0)}return a.join("")},Lb=function(a,b, c){if(ia(b))for(var d=0;de&&m++;break;case "0":if(0e&&m++;break;case ",":m=0;break;case ".":if(0<=e)throw Error("Q`"+b);e=f+g+q;break;case "E":if(a.u)throw Error("R`"+b);a.u=!0;a.v=0;c[0]+1f+g||1>a.v)throw Error("S`"+ b);s=!1;break;default:c[0]--,s=!1}0==g&&0e&&0f+g)||0==m)throw Error("T`"+b);q=f+g+q;a.h=0<=e?q-e:0;0<=e&&(a.g=f+g-e,0>a.g&&(a.g=0));a.i=(0<=e?e:q)-f;a.u&&(a.k=f+a.i,0==a.h&&0==a.i&&(a.i=1));a.C=Math.max(0,m);a.M=0==e||e==q;d=c[0]-d;a.Ub=bf(a,b,c);c[0]=a.O?Math.round(b*c):Math.floor(gh(b*c,a.O,a.h)),e;isFinite(d)?(e=Math.floor(d/c),c=Math.floor(d-e*c)):(e=b,c=0);return{Ac:e,we:c}},cf=function(a,b,c,d){if(a.g>a.h)throw Error("M");b=rg(a,b);var e=Math.pow(10,a.h),f=b.Ac,g=b.we,q=0b+1;)c--;for(f=1;fb?(b=-b,c.push(T.Rc)):a.W&&c.push(T.Zc);b=""+b;for(var d=T.Xb,e=b.length;eb)return $i;b=Math.min(14,b);c=c[Math.pow(10,b)];if(!c)return $i;c=c.other;return c&&"0"!=c?(c=/([^0]*)(0+)(.*)/.exec(c))? {prefix:c[1],rd:c[3],ac:b-(c[2].length-1)}:$i:$i},aj=function(a){for(var b=0;1<=(a/=10);)b++;return b},gh=function(a,b,c){if(!a)return a;b=b-aj(a)-1;if(b<-c)return c=Math.pow(10,c),Math.round(a/c)*c;c=Math.pow(10,b);return Math.round(a*c)/c}; var Gd=function(a,b){if(a&&!a.error)return"";if(a){var c="Error in RPC: "+a.id;a.error&&(c=a.error.message?c+(" - "+a.error.message):c+(" - "+a.error))}else c="Empty response";b&&b.call(void 0,c);return c};var Hd=function(a,b){this.g=a;this.i=b},Ie=function(a,b){if(iframer){var c=iframer[b];c&&c({type:a.g,id:a.i})}};var Id=function(a,b){var c=/^(\/u\/\d+)\//;if(0==a.lastIndexOf("/",0)&&!a.match(c)){var d=9==b.nodeType?b:b.ownerDocument||b.document;if(c=(d?H(d):window).location.pathname.match(c))return c[1]+a}return a};var Jd=function(a){this.i=a};Jd.prototype.G=function(a){this.i.expandTo=a;return this};var Kd=function(a){this.l=a||{}};Kd.prototype.value=function(){return this.l};Kd.prototype.getId=function(){return this.l.id};var ge=function(a,b){a.l.fragmentParams=b};Kd.prototype.getContext=function(){return this.l.context};var Vf=function(){var a=window.location.href.match(/.*(\?|#|&)usegapi=([^&#]+)/)||[];return"1"===decodeURIComponent(a[a.length-1]||"")};var X=function(a,b,c,d,e,f,g,q,m,r,s){this.k=new Hd(a,g);this.D=Id(b,c);this.v=Vf();a=new Kd;a.l.style="bubble";this.j=a;a=new Jd(this.j.l);a.i.bubbletype="pls-container";a.i.arrowPosition="center";a.i.anchorPosition="center";a.i.anchor=c;a.i.height=50;a.i.width=d;a.i.closeClickDetection=!0;a.i.hideClickDetection=!!r;a.i.maxExpectedSize={height:400};a.i.showSpinner=!0;if(s){c=this.j.value();for(var u in s)c[u]=s[u]}this.g={hl:"it",url:g,t:q};m&&(this.g.source=m);document.documentMode&&(this.g.hostiemode= document.documentMode);this.h={mouseEvent:e,trackingEvent:f,onVisibilityChanged:z(this.Xd,this)};iframer&&iframer.onshare&&(this.h.onshare=iframer.onshare)};p=X.prototype;p.I=!1;p.G=function(a){(new Jd(this.j.l)).G(a);return this}; p.open=function(){if(!this.i&&!this.I){if(this.v){var a=new Kd($d(this.j.value()));a.l.url=this.D;a.l.queryParams=$d(this.g);var b="",c;for(c in this.h)this.h.hasOwnProperty(c)&&(b+=","+c);b=b.substr(1);ge(a,{_methods:b});a.l.messageHandlers=$d(this.h);a.l.messageHandlersFilter=iframes.CROSS_ORIGIN_IFRAMES_FILTER;a.l.relayOpen=-1;var d=this;gapi.iframes.getContext().open(a.value(),function(a){d.i=a;a.registerWasClosed(z(d.Ud,d));a.registerWasRestyled(z(d.Xd,d));a.restyle({setHideOnLeave:!1})})}else this.i= iframes.open(this.D,$d(this.j.value()),$d(this.g),$d(this.h),z(this.Ud,this));this.I=!0;Ie(this.k,"onstartinteraction")}};p.Ud=function(){this.i&&(this.i=null,Ie(this.k,"onendinteraction"));this.I=!1};p.Xd=function(a){this.I!=a&&(a?Ie(this.k,"onstartinteraction"):Ie(this.k,"onendinteraction"));this.I=a};p.close=function(){this.i&&(this.i.close?this.i.close():this.i=null);this.I=!1};var Wf=function(a,b){a.v?a.i&&a.i.restyle({show:b}):a.i&&a.i.send("show",b)}; X.prototype.p=function(a){this.v?this.i&&this.i.restyle({showSpinner:a}):this.i&&this.i.send("showSpinner",a)};var se=function(a){return!a.I&&!!a.i},Ne=function(a,b){if(!a.I)return null;var c=a.i;if(!c)return null;if(a.v)return function(a,d){"function"===typeof a&&(d=a,a=void 0);c.send(b,a,d)};var d=c[b];return ja(d)?d:null}; var te=function(a,b,c,d,e,f,g,q,m){X.call(this,"confirm","/wm/2/_/+1/confirmed",a,g||431,b,c,d,e,f,q,{startVisible:!!q,bubbleClass:m})};A(te,X);var yc=function(a,b){var c;if(a instanceof yc)this.ea=ea(b)?b:a.ea,zc(this,a.ta),this.lb=a.lb,this.Vb=a.Vb,Ac(this,a.gb),this.Ya=a.Ya,Bc(this,a.i.Q()),this.Xa=a.Xa;else if(a&&(c=Bb(String(a)))){this.ea=!!b;zc(this,c[1]||"",!0);var d=c[2]||"";this.lb=d?decodeURIComponent(d):"";this.Vb=(d=c[3]||"")?decodeURIComponent(d):"";Ac(this,c[4]);this.Ya=(d=c[5]||"")?decodeURIComponent(d):"";Bc(this,c[6]||"",!0);this.Xa=(c=c[7]||"")?decodeURIComponent(c):""}else this.ea=!!b,this.i=new qc(null,0,this.ea)};p=yc.prototype; p.ta="";p.lb="";p.Vb="";p.gb=null;p.Ya="";p.Xa="";p.ea=!1;p.toString=function(){var a=[],b=this.ta;b&&a.push(wc(b,nd),":");if(b=this.Vb){a.push("//");var c=this.lb;c&&a.push(wc(c,nd),"@");a.push(encodeURIComponent(String(b)));b=this.gb;null!=b&&a.push(":",String(b))}if(b=this.Ya)this.Vb&&"/"!=b.charAt(0)&&a.push("/"),a.push(wc(b,"/"==b.charAt(0)?ld:md));(b=this.i.toString())&&a.push("?",b);(b=this.Xa)&&a.push("#",wc(b,kd));return a.join("")};p.Q=function(){return new yc(this)}; var zc=function(a,b,c){a.ta=c?b?decodeURIComponent(b):"":b;a.ta&&(a.ta=a.ta.replace(/:$/,""))},Ac=function(a,b){if(b){b=Number(b);if(isNaN(b)||0>b)throw Error("u`"+b);a.gb=b}else a.gb=null},Bc=function(a,b,c){b instanceof qc?(a.i=b,vc(a.i,a.ea)):(c||(b=wc(b,Cc)),a.i=new qc(b,0,a.ea))},we=function(a){return a instanceof yc?a.Q():new yc(a,void 0)},wc=function(a,b){return y(a)?encodeURI(a).replace(b,nc):null},nc=function(a){a=a.charCodeAt(0);return"%"+(a>>4&15).toString(16)+(a&15).toString(16)},nd=/[#\/\?@]/g, md=/[\#\?:]/g,ld=/[\#\?]/g,Cc=/[\#\?@]/g,kd=/#/g,qc=function(a,b,c){this.g=a||null;this.j=!!c},rc=function(a){if(!a.i&&(a.i=new Hb,a.h=0,a.g))for(var b=a.g.split("&"),c=0;c'),c.document.close()}else c= c.open(d,e,f);return c}; var xe=function(a,b,c,d){this.g=Id("/wm/2/_/+1/confirmed",a);this.h={menubar:!1,resizable:!0,toolbar:!1,status:!1,scrollbars:!1,height:400,width:450};this.i={hl:"it",url:b,t:c,popup:!0};d&&(this.i.source=d)};xe.prototype.open=function(){var a=we(this.g);a.i.k(this.i);2E3<[window.location.protocol,"//",window.location.host,String(a)].join("").length&&(this.i.referer="TOO_LARGE",a=we(this.g),a.i.k(this.i));(a=Xc(a,this.h))&&a.focus()}; var ye=function(a,b,c,d,e,f,g,q,m,r){var s={};e&&r&&r.confirmClass&&(s.bubbleClass=r.confirmClass);X.call(this,"hover","/_/+1/hover",a,e?431:350,b,c,d,f,g,m,s);this.g.isSet=e;q&&(this.g.ad=q);if(r)for(var u in r)this.g[u]=r[u]};A(ye,X);var Dc=function(a){this.Ka=a;this.aa={}};A(Dc,E);var Fc=[],Ec=function(a,b,c,d,e){ia(c)||(c&&(Fc[0]=c.toString()),c=Fc);for(var f=0;f>1)-(c>>1));q=Math.max(0,m+(q>>1)-(d>>1));m=q+d;a+c>e&&(a=Math.max(0,e-c));m>f&&(q=Math.max(0, f-d));c={left:a,top:q,menubar:!1,toolbar:!1,location:!1,status:!0,scrollbars:!0,width:c,height:d};b&&(c.target=b);return c}; var Ni=function(a,b){this.h=a;this.g=b;this.constructor.Yb||(this.constructor.Yb={});this.constructor.Yb[this.toString()]=this};Ni.prototype.toString=function(){this.i||(this.i=this.h.i+":"+this.g);return this.i};var Ke=function(a,b){Ni.call(this,a,b)};A(Ke,Ni);var Le=function(a){this.i=a};new Le("lib");var ze=function(a){this.g={};this.D={};this.k={};this.i={};this.p={};this.B={};this.u=a?a.u:new ic;this.Tb=!a;this.j=null;a?(this.j=a,this.k=a.k,this.i=a.i,this.D=a.D,this.p=a.p):L();a=Ae(this);this!=a&&(a.v?a.v.push(this):a.v=[this])};A(ze,E);Math.random();var Ae=function(a){for(;a.j;)a=a.j;return a},Be=function(a,b){for(var c=a;c;){if(c==b)return!0;c=c.j}return!1};ze.prototype.get=function(a){var b=ue(this,a);if(null==b)throw new Fe(a);return b}; var ue=function(a,b){for(var c=a;c;c=c.j){if(c.isDisposed())throw Error("Ea");if(c.g[b])return c.g[b][0];if(c.B[b])break}if(c=a.k[b]){c=c(a);if(null==c)throw Error("Fa`"+b);ve(a,b,c);return c}return null},ve=function(a,b,c){if(a.isDisposed())O(c);else{a.g[b]=[c,!0];c=Ce(a,a,b);for(var d=0;dc?"":0==c?";expires="+(new Date(1970,1,1)).toUTCString():";expires="+(new Date(L()+1E3*c)).toUTCString();this.i.cookie=a+"="+b+e+d+c+f}; p.get=function(a,b){for(var c=a+"=",d=(this.i.cookie||"").split(gf),e=0,f;f=d[e];e++){if(0==f.lastIndexOf(c,0))return f.substr(c.length);if(f==a)return""}return b};p.remove=function(a,b,c){var d=ea(this.get(a));this.set(a,"",0,b,c);return d};p.Z=function(){return ff(this).keys};p.H=function(){return ff(this).values}; var ff=function(a){a=(a.i.cookie||"").split(gf);for(var b=[],c=[],d,e,f=0;e=a[f];f++)d=e.indexOf("="),-1==d?(b.push(""),c.push(e)):(b.push(e.substring(0,d)),c.push(e.substring(d+1)));return{keys:b,values:c}}; var uf=function(a){Dc.call(this);var b=gadgets.util.getUrlParameters()||{};this.O=b;var c=ue(a,od);this.Sc=z(c.i,c);var d=a.get(rd);this.j=d;this.Ub=!(b.db&&"0"!=b.db&&""!=b.db&&"false"!=b.db);this.ve=b.ecp&&!("0"==b.ecp||"false"==b.ecp||""==b.ecp);this.J="string"==typeof b.ad&&"false"!=b.ad.toLowerCase();this.i=Ed(a);var e=a.get(sd);this.v=e;gapi.config.update("googleapis.config/auth/useFirstPartyAuth",!0);var c=e.C,f=c.id;this.k=f;var g=this.i.i(f);if(g){Ec(this,g,"change",this.qa);this.pb=a.get(qd); var q=H(d.i);this.D=a.get(pd);this.Vc=new Ze;d=d||Td||(Td=new Od);this.p=I(d.i,"button");this.Ja=wd(a);this.Tb=e.p;this.D.i=e.u;this.D.v.push(z(this.Hd,this));a=e.J;this.Wb=e.Tb||"";this.Ia=a||"";vf(this,V(this.i,f));this.La=L();Ec(this,q,"unload",this.S);a=z(this.A,this);We(this.p,a,this.Ka||this,this);(a=this.Ub&&!!this.v.i.UH)&&this.p.setAttribute("title","");b=b.expandto?Je(b.expandto):[];f=e.B||{};f.gsrc=gapi.config.get("iframes/:source:");f.confirmClass="grey";this.g=this.mc(this.p,this.k,e.g, z(this.ha,this),b,this.i,e.h,!a,!(this.Ub&&this.v.i.UC),!(!this.Ub&&this.ve&&this.v.i.UCP),this.J,f);e=Ld(O,this.g);this.C||(this.C=[]);this.C.push(ea(void 0)?z(e,void 0):e);Pc(g,c);sg("SB_verify",z(this.o,this))}};A(uf,Dc);uf.prototype.B=!1; var Xe={me:"mEc",ne:"jd",ERROR:"uk",oe:"Nl"},zf=function(){var a=new ze;if(!Af){ie();for(var b=0;b=r?0:aj(r)).ac,rg(f,s/Math.pow(10,m)),r=rg(f,r/Math.pow(10,m)),m=ej(f,m+aj(r.Ac)));g/=Math.pow(10,m.ac);q.push(m.prefix);r=0>g|| 0==g&&0>1/g;q.push(r?f.D:f.Tb);if(isFinite(g))if(g=g*(r?-1:1)*f.j,f.u)if(0==g)cf(f,g,f.i,q),df(f,0,q);else{var s=Math.log(g)/Math.log(10),s=Math.floor(s+2E-15),g=g/Math.pow(10,s),u=f.i;if(1f.i){for(;0!=s%f.k;)g*=10,s--;u=1}else 1>f.i?(s++,g/=10):(s-=f.i-1,g*=Math.pow(10,f.i-1));cf(f,g,u,q);df(f,s,q)}else cf(f,g,f.i,q);else q.push(T.Oc);q.push(r?f.p:f.Ub);q.push(m.rd);f=q.join("")}}else f=Math.floor(10*c),1E7<=f?f/=1E6:1E4<=f&&(f/=1E3),f=Math.floor(f),f=10<=f&&100>f&&0!=f%10?""+(f/10).toPrecision(2): ""+Math.floor(f/10);c=c.toString().length;q="";q="en"==e?9