/* JS */ gapi.loaded_0(function(_){var window=this;
var da,ia,ja,ka,Ca,Ea;
for(_.g,_.n=function(a){return function(){return _.ca[a].apply(this,arguments)}},_._DumpException=function(a){throw a;},_.ca=[],da="function"==typeof Object.defineProperties?Object.defineProperty:function(a,b,c){if(c.get||c.set)throw new TypeError("ES3 does not support getters and setters.");a!=Array.prototype&&a!=Object.prototype&&(a[b]=c.value)},ia="undefined"!=typeof window&&window===this?this:"undefined"!=typeof window.global&&null!=window.global?window.global:this,ja=["String","prototype","startsWith"],
ka=0;ka<ja.length-1;ka++){var ma=ja[ka];ma in ia||(ia[ma]={});ia=ia[ma]}
var na=ja[ja.length-1],pa=ia[na],qa=pa?pa:function(a,b){var c;if(null==this)throw new TypeError("The 'this' value for String.prototype.startsWith must not be null or undefined");if(a instanceof RegExp)throw new TypeError("First argument to String.prototype.startsWith must not be a regular expression");c=this+"";a+="";var d=c.length,e=a.length;b=Math.max(0,Math.min(b|0,c.length));for(var f=0;f<e&&b<d;)if(c[b++]!=a[f++])return!1;return f>=e};qa!=pa&&null!=qa&&da(ia,na,{configurable:!0,writable:!0,value:qa});
_.xa=_.xa||{};_.r=this;_.ya=function(a){return void 0!==a};
_.za=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};_.Aa=function(a){return"array"==_.za(a)};_.t=function(a){return"string"==typeof a};_.Ba="closure_uid_"+(1E9*Math.random()>>>0);Ca=function(a,b,c){return a.call.apply(a.bind,arguments)};
Ea=function(a,b,c){if(!a)throw Error();if(2<arguments.length){var d=Array.prototype.slice.call(arguments,2);return function(){var c=Array.prototype.slice.call(arguments);Array.prototype.unshift.apply(c,d);return a.apply(b,c)}}return function(){return a.apply(b,arguments)}};_.u=function(a,b,c){_.u=Function.prototype.bind&&-1!=Function.prototype.bind.toString().indexOf("native code")?Ca:Ea;return _.u.apply(null,arguments)};_.Fa=Date.now||function(){return+new Date};
_.z=function(a,b){function c(){}c.prototype=b.prototype;a.R=b.prototype;a.prototype=new c;a.prototype.constructor=a;a.Cs=function(a,c,f){for(var d=Array(arguments.length-2),e=2;e<arguments.length;e++)d[e-2]=arguments[e];return b.prototype[c].apply(a,d)}};
_.La=window.osapi=window.osapi||{};_.google=window.google||{};
window.___jsl=window.___jsl||{};
(window.___jsl.cd=window.___jsl.cd||[]).push({gwidget:{parsetags:"explicit"},appsapi:{plus_one_service:"/plus/v1"},client:{rms:"migrated"},csi:{rate:.01},poshare:{hangoutContactPickerServer:"https://plus.google.com"},gappsutil:{required_scopes:["https://www.googleapis.com/auth/plus.me","https://www.googleapis.com/auth/plus.people.recommended"],display_on_page_ready:!1},appsutil:{required_scopes:["https://www.googleapis.com/auth/plus.me","https://www.googleapis.com/auth/plus.people.recommended"],display_on_page_ready:!1},
"oauth-flow":{authUrl:"https://accounts.google.com/o/oauth2/auth",proxyUrl:"https://accounts.google.com/o/oauth2/postmessageRelay",redirectUri:"postmessage"},iframes:{sharebox:{params:{json:"&"},url:":socialhost:/:session_prefix:_/sharebox/dialog"},plus:{url:":socialhost:/:session_prefix:_/widget/render/badge?usegapi=1"},":socialhost:":"https://apis.google.com",":im_socialhost:":"https://plus.googleapis.com",domains_suggest:{url:"https://domains.google.com/suggest/flow"},card:{params:{s:"#",userid:"&"},
url:":socialhost:/:session_prefix:_/hovercard/internalcard"},":signuphost:":"https://plus.google.com",":gplus_url:":"https://plus.google.com",plusone:{url:":socialhost:/:session_prefix:_/+1/fastbutton?usegapi=1"},plus_share:{url:":socialhost:/:session_prefix:_/+1/sharebutton?plusShare=true&usegapi=1"},plus_circle:{url:":socialhost:/:session_prefix:_/widget/plus/circle?usegapi=1"},plus_followers:{url:":socialhost:/_/im/_/widget/render/plus/followers?usegapi=1"},configurator:{url:":socialhost:/:session_prefix:_/plusbuttonconfigurator?usegapi=1"},
appcirclepicker:{url:":socialhost:/:session_prefix:_/widget/render/appcirclepicker"},page:{url:":socialhost:/:session_prefix:_/widget/render/page?usegapi=1"},person:{url:":socialhost:/:session_prefix:_/widget/render/person?usegapi=1"},community:{url:":ctx_socialhost:/:session_prefix::im_prefix:_/widget/render/community?usegapi=1"},follow:{url:":socialhost:/:session_prefix:_/widget/render/follow?usegapi=1"},commentcount:{url:":socialhost:/:session_prefix:_/widget/render/commentcount?usegapi=1"},comments:{url:":socialhost:/:session_prefix:_/widget/render/comments?usegapi=1"},
youtube:{url:":socialhost:/:session_prefix:_/widget/render/youtube?usegapi=1"},reportabuse:{url:":socialhost:/:session_prefix:_/widget/render/reportabuse?usegapi=1"},additnow:{url:":socialhost:/additnow/additnow.html"},udc_webconsentflow:{url:"https://myaccount.google.com/webconsent?usegapi=1"},":source:":"1p"},poclient:{update_session:"google.updateSessionCallback"},"googleapis.config":{methods:{"pos.plusones.list":!0,"pos.plusones.get":!0,"pos.plusones.insert":!0,"pos.plusones.delete":!0,"pos.plusones.getSignupState":!0},
requestCache:{enabled:!0},versions:{pos:"v1"},rpc:"/rpc",root:"https://content.googleapis.com","root-1p":"https://clients6.google.com",sessionCache:{enabled:!0},transport:{isProxyShared:!0},xd3:"/static/proxy.html",developerKey:"AIzaSyCKSbrvQasunBoV16zDH9R33D88CeLr9gQ",auth:{useInterimAuth:!1}},report:{apis:["iframes\\..*","gadgets\\..*","gapi\\.appcirclepicker\\..*","gapi\\.client\\..*"],rate:1E-4}});

/*
 gapi.loader.OBJECT_CREATE_TEST_OVERRIDE &&*/
_.C=function(a,b){a=a.split(".");var c=_.r;a[0]in c||!c.execScript||c.execScript("var "+a[0]);for(var d;a.length&&(d=a.shift());)!a.length&&_.ya(b)?c[d]=b:c=c[d]?c[d]:c[d]={}};_.Ma=window;_.Pa=window.document;_.Qa=_.Ma.location;_.Ra=/\[native code\]/;_.Sa=function(a,b,c){return a[b]=a[b]||c};_.Va=function(){var a;if((a=Object.create)&&_.Ra.test(a))a=a(null);else{a={};for(var b in a)a[b]=void 0}return a};_.Wa=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)}; _.Xa=function(a,b){a=a||{};for(var c in a)_.Wa(a,c)&&(b[c]=a[c])};_.Ya=_.Sa(_.Ma,"gapi",{});
_.Za=function(a,b,c){var d=new RegExp("([#].*&|[#])"+b+"=([^&#]*)","g");b=new RegExp("([?#].*&|[?#])"+b+"=([^&#]*)","g");if(a=a&&(d.exec(a)||b.exec(a)))try{c=(0,window.decodeURIComponent)(a[2])}catch(e){}return c};_.ab=new RegExp(/^/.source+/([a-zA-Z][-+.a-zA-Z0-9]*:)?/.source+/(\/\/[^\/?#]*)?/.source+/([^?#]*)?/.source+/(\?([^#]*))?/.source+/(#((#|[^#])*))?/.source+/$/.source);
_.bb=new RegExp(/(%([^0-9a-fA-F%]|[0-9a-fA-F]([^0-9a-fA-F%])?)?)*/.source+/%($|[^0-9a-fA-F]|[0-9a-fA-F]($|[^0-9a-fA-F]))/.source,"g");_.cb=function(){return _.Ma.location.origin||_.Ma.location.protocol+"//"+_.Ma.location.host};_.eb=new RegExp(/\/?\??#?/.source+"("+/[\/?#]/i.source+"|"+/[\uD800-\uDBFF]/i.source+"|"+/%[c-f][0-9a-f](%[89ab][0-9a-f]){0,2}(%[89ab]?)?/i.source+"|"+/%[0-9a-f]?/i.source+")$","i");
_.gb=function(a,b,c){_.fb(a,b,c,"add","at")};_.fb=function(a,b,c,d,e){if(a[d+"EventListener"])a[d+"EventListener"](b,c,!1);else if(a[e+"tachEvent"])a[e+"tachEvent"]("on"+b,c)};_.hb=_.Sa(_.Ma,"___jsl",_.Va());_.Sa(_.hb,"I",0);_.Sa(_.hb,"hel",10);var ib,jb,mb,ob,pb,qb;ib=function(a){var b=window.___jsl=window.___jsl||{};b[a]=b[a]||[];return b[a]};jb=function(a){var b=window.___jsl=window.___jsl||{};b.cfg=!a&&b.cfg||{};return b.cfg};mb=function(a){return"object"===typeof a&&/\[native code\]/.test(a.push)};ob=function(a,b){if(b)for(var c in b)b.hasOwnProperty(c)&&(a[c]&&b[c]&&"object"===typeof a[c]&&"object"===typeof b[c]&&!mb(a[c])&&!mb(b[c])?ob(a[c],b[c]):b[c]&&"object"===typeof b[c]?(a[c]=mb(b[c])?[]:{},ob(a[c],b[c])):a[c]=b[c])};
pb=function(a){if(a&&!/^\s+$/.test(a)){for(;0==a.charCodeAt(a.length-1);)a=a.substring(0,a.length-1);var b;try{b=window.JSON.parse(a)}catch(c){}if("object"===typeof b)return b;try{b=(new Function("return ("+a+"\n)"))()}catch(c){}if("object"===typeof b)return b;try{b=(new Function("return ({"+a+"\n})"))()}catch(c){}return"object"===typeof b?b:{}}};
qb=function(a){jb(!0);var b=window.___gcfg,c=ib("cu");if(b&&b!==window.___gu){var d={};ob(d,b);c.push(d);window.___gu=b}var b=ib("cu"),e=window.document.scripts||window.document.getElementsByTagName("script")||[],d=[],f=[];f.push.apply(f,ib("us"));for(var h=0;h<e.length;++h)for(var k=e[h],l=0;l<f.length;++l)k.src&&0==k.src.indexOf(f[l])&&d.push(k);0==d.length&&0<e.length&&e[e.length-1].src&&d.push(e[e.length-1]);for(e=0;e<d.length;++e)d[e].getAttribute("gapi_processed")||(d[e].setAttribute("gapi_processed",
!0),(f=d[e])?(h=f.nodeType,f=3==h||4==h?f.nodeValue:f.textContent||f.innerText||f.innerHTML||""):f=void 0,(f=pb(f))&&b.push(f));a&&(d={},ob(d,a),c.push(d));d=ib("cd");a=0;for(b=d.length;a<b;++a)ob(jb(),d[a]);d=ib("ci");a=0;for(b=d.length;a<b;++a)ob(jb(),d[a]);a=0;for(b=c.length;a<b;++a)ob(jb(),c[a])};_.D=function(a,b){if(!a)return jb();a=a.split("/");for(var c=jb(),d=0,e=a.length;c&&"object"===typeof c&&d<e;++d)c=c[a[d]];return d===a.length&&void 0!==c?c:b}; _.tb=function(a,b){var c=a;if("string"===typeof a){var d=c={};a=a.split("/");for(var e=0,f=a.length;e<f-1;++e)var h={},d=d[a[e]]=h;d[a[e]]=b}qb(c)};
var ub=function(){var a=window.__GOOGLEAPIS;a&&(a.googleapis&&!a["googleapis.config"]&&(a["googleapis.config"]=a.googleapis),_.Sa(_.hb,"ci",[]).push(a),window.__GOOGLEAPIS=void 0)};ub&&ub();qb();_.C("gapi.config.get",_.D);_.C("gapi.config.update",_.tb);
_.Cj=window.googleapis&&window.googleapis.server||{};
_.Lj=function(){var a=/\s*;\s*/;return{get:function(b,c){b+="=";for(var d=(window.document.cookie||"").split(a),e=0,f;f=d[e];++e)if(0==f.indexOf(b))return f.substr(b.length);return c}}}();
(function(){function a(a,b){if(!(a<c)&&d)if(2===a&&d.warn)d.warn(b);else if(3===a&&d.error)try{d.error(b)}catch(h){}else d.log&&d.log(b)}var b=function(b){a(1,b)};_.Ha=function(b){a(2,b)};_.Ia=function(b){a(3,b)};_.vb=function(){};b.INFO=1;b.WARNING=2;b.NONE=4;var c=1,d=window.console?window.console:window.opera?window.opera.postError:void 0;return b})();

_.E=_.E||{};
_.E=_.E||{};(function(){var a=[];_.E.ija=function(b){a.push(b)};_.E.xja=function(){for(var b=0,c=a.length;b<c;++b)a[b]()}})();
_.wb=function(a){return!!a&&"object"===typeof a&&_.Ra.test(a.push)};_.yb=function(a,b){var c=_.Sa(_.hb,"watt",_.Va());_.Sa(c,a,b)};_.E=_.E||{};
(function(){var a=null;_.E.Wc=function(b){var c="undefined"===typeof b;if(null!==a&&c)return a;var d={};b=b||window.location.href;var e=b.indexOf("?"),f=b.indexOf("#");b=(-1===f?b.substr(e+1):[b.substr(e+1,f-e-1),"&",b.substr(f+1)].join("")).split("&");for(var e=window.decodeURIComponent?window.decodeURIComponent:window.unescape,f=0,h=b.length;f<h;++f){var k=b[f].indexOf("=");if(-1!==k){var l=b[f].substring(0,k),k=b[f].substring(k+1),k=k.replace(/\+/g," ");try{d[l]=e(k)}catch(m){}}}c&&(a=d);return d}; _.E.Wc()})();
_.C("gadgets.util.getUrlParameters",_.E.Wc);
_.zb=window.console;_.Ab=function(a){_.zb&&_.zb.log&&_.zb.log(a)};_.Bb=function(){};
_.Cb=function(){var a=window.gadgets&&window.gadgets.config&&window.gadgets.config.get;a&&_.tb(a());return{register:function(a,c,d){d&&d(_.D())},get:function(a){return _.D(a)},update:function(a,c){if(c)throw"Config replacement is not supported";_.tb(a)},Nc:function(){}}}();
_.C("gadgets.config.register",_.Cb.register);_.C("gadgets.config.get",_.Cb.get);_.C("gadgets.config.init",_.Cb.Nc);_.C("gadgets.config.update",_.Cb.update);
var Eb=function(a){return 10>a?"0"+a:a},Fb={"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},Gb=function(a){var b,c,d;b=/[\"\\\x00-\x1f\x7f-\x9f]/g;if(void 0!==a){switch(typeof a){case "string":return b.test(a)?'"'+a.replace(b,function(a){var b=Fb[a];if(b)return b;b=a.charCodeAt();return"\\u00"+Math.floor(b/16).toString(16)+(b%16).toString(16)})+'"':'"'+a+'"';case "number":return(0,window.isFinite)(a)?String(a):"null";case "boolean":case "null":return String(a);case "object":if(!a)return"null";
b=[];if("number"===typeof a.length&&!a.propertyIsEnumerable("length")){d=a.length;for(c=0;c<d;c+=1)b.push(Gb(a[c])||"null");return"["+b.join(",")+"]"}for(c in a)!/___$/.test(c)&&_.Wa(a,c)&&"string"===typeof c&&(d=Gb(a[c]))&&b.push(Gb(c)+":"+d);return"{"+b.join(",")+"}"}return""}},Ib=function(a){if(!a)return!1;if(/^[\],:{}\s]*$/.test(a.replace(/\\["\\\/b-u]/g,"@").replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,"]").replace(/(?:^|:|,)(?:\s*\[)+/g,"")))try{return eval("("+
a+")")}catch(b){}return!1},Jb=!1,Kb;try{Jb=!!window.JSON&&'["a"]'===window.JSON.stringify(["a"])&&"a"===window.JSON.parse('["a"]')[0]}catch(a){}Kb=function(a){try{return window.JSON.parse(a)}catch(b){return!1}};_.Lb=Jb?window.JSON.stringify:Gb;_.Mb=Jb?Kb:Ib;Kb||(Date.prototype.toJSON=function(){return[this.getUTCFullYear(),"-",Eb(this.getUTCMonth()+1),"-",Eb(this.getUTCDate()),"T",Eb(this.getUTCHours()),":",Eb(this.getUTCMinutes()),":",Eb(this.getUTCSeconds()),"Z"].join("")});

_.C("gadgets.json.stringify",_.Lb);_.C("gadgets.json.parse",_.Mb);_.Za(_.Ma.location.href,"rpctoken")&&_.gb(_.Pa,"unload",function(){});
var Pb;_.Nb=function(){var a=_.Pa.readyState;return"complete"===a||"interactive"===a&&-1==window.navigator.userAgent.indexOf("MSIE")};_.Ob=function(a){if(_.Nb())a();else{var b=!1,c=function(){if(!b)return b=!0,a.apply(this,arguments)};_.Ma.addEventListener?(_.Ma.addEventListener("load",c,!1),_.Ma.addEventListener("DOMContentLoaded",c,!1)):_.Ma.attachEvent&&(_.Ma.attachEvent("onreadystatechange",function(){_.Nb()&&c.apply(this,arguments)}),_.Ma.attachEvent("onload",c))}};Pb=Pb||{};Pb.GR=null; Pb.aQ=null;Pb.Ry=null;Pb.frameElement=null;
Pb=Pb||{};
Pb.yJ||(Pb.yJ=function(){function a(a){"undefined"!=typeof window.addEventListener?window.addEventListener("message",a,!1):"undefined"!=typeof window.attachEvent&&window.attachEvent("onmessage",a);window.___jsl=window.___jsl||{};var b=window.___jsl;b.RPMQ=b.RPMQ||[];b.RPMQ.push(a)}function b(a){var b=(0,_.Mb)(a.data);if(b&&b.f){(0,_.vb)("gadgets.rpc.receive("+window.name+"): "+a.data);var d=_.G.Dl(b.f);e&&("undefined"!==typeof a.origin?a.origin!==d:a.domain!==/^.+:\/\/([^:]+).*/.exec(d)[1])?_.Ia("Invalid rpc message origin. "+
d+" vs "+(a.origin||"")):c(b,a.origin)}}var c,d,e=!0;return{Gp:function(){return"wpm"},K3:function(){return!0},Nc:function(f,h){_.Cb.register("rpc",null,function(a){"true"===String((a&&a.rpc||{}).disableForceSecure)&&(e=!1)});c=f;d=h;a(b);d("..",!0);return!0},xd:function(a){d(a,!0);return!0},call:function(a,b,c){var d=_.G.Dl(a),e=_.G.SK(a);d?window.setTimeout(function(){var a=(0,_.Lb)(c);(0,_.vb)("gadgets.rpc.send("+window.name+"): "+a);e.postMessage(a,d)},0):".."!=a&&_.Ia("No relay set (used as window.postMessage targetOrigin), cannot send cross-domain message"); return!0}}}());
Pb=Pb||{};
Pb.Zx||(Pb.Zx=function(){function a(a,b){K[b]=K[b]||function(){a.apply({},arguments)}}function b(){if(null===w&&window.document.body&&l){var a=l+"?cb="+Math.random()+"&origin="+A+"&jsl=1",c=window.document.createElement("div");c.style.height="1px";c.style.width="1px";a='<object height="1" width="1" id="___xpcswf" type="application/x-shockwave-flash"><param name="allowScriptAccess" value="always"></param><param name="movie" value="'+a+'"></param><embed type="application/x-shockwave-flash" allowScriptAccess="always" src="'+a+
'" height="1" width="1"></embed></object>';window.document.body.appendChild(c);c.innerHTML=a;w=c.firstChild}++y;null!==v&&(null!==w||50<=y)?window.clearTimeout(v):v=window.setTimeout(b,100)}function c(){M[".."]||(k(".."),B++,50<=B&&null!==I?(window.clearTimeout(I),I=null):I=window.setTimeout(c,100))}function d(){if(null!==w&&w.setup)for(;0<x.length;){var a=x.shift(),b=a.R8;w.setup(a.Cr,".."===b?_.G.JB:b,".."===b?"INNER":"OUTER")}null!==v&&window.clearTimeout(v);v=null}function e(){M[".."]||null!==
I||(I=window.setTimeout(c,100))}function f(a,b,c){b=_.G.Dl(a);var d=_.G.vl(a);w["sendMessage_"+(".."===a?_.G.JB:a)+"_"+d+"_"+(".."===a?"INNER":"OUTER")].call(w,(0,_.Lb)(c),b);return!0}function h(a,b){var c=(0,_.Mb)(a);(a=c._scr)?(q(a,!0),M[a]=!0,".."!==a&&k(a,!0)):window.setTimeout(function(){p(c,b)},0)}function k(a,b){var c=_.G.JB,d={};d._scr=b?"..":c;d._pnt=c;f(a,0,d)}var l=null,m=!1,p=null,q=null,w=null,x=[],v=null,y=0,B=0,I=null,M={},A=window.location.protocol+"//"+window.location.host,K;window.___jsl=
window.___jsl||{};K=window.___jsl._fm={};_.Cb.register("rpc",null,function(a){m&&(l=a&&a.rpc&&a.rpc.commSwf||"//xpc.googleusercontent.com/gadgets/xpc.swf")});a(d,"ready");a(e,"setupDone");a(h,"receiveMessage");return{Gp:function(){return"flash"},K3:function(){return!0},Nc:function(a,b){p=a;q=b;return m=!0},xd:function(a,c){x.push({Cr:c,R8:a});null===w&&null===v&&(v=window.setTimeout(b,100));return!0},call:f,wX:h,tha:d,uha:e}}());
if(window.gadgets&&window.gadgets.rpc)"undefined"!=typeof _.G&&_.G||(_.G=window.gadgets.rpc,_.G.config=_.G.config,_.G.register=_.G.register,_.G.unregister=_.G.unregister,_.G.jR=_.G.registerDefault,_.G.GT=_.G.unregisterDefault,_.G.YM=_.G.forceParentVerifiable,_.G.call=_.G.call,_.G.Tt=_.G.getRelayUrl,_.G.uj=_.G.setRelayUrl,_.G.CA=_.G.setAuthToken,_.G.Jv=_.G.setupReceiver,_.G.vl=_.G.getAuthToken,_.G.mH=_.G.removeReceiver,_.G.CN=_.G.getRelayChannel,_.G.jA=_.G.receive,_.G.fR=_.G.receiveSameDomain,_.G.nb=
_.G.getOrigin,_.G.Dl=_.G.getTargetOrigin,_.G.SK=_.G._getTargetWin,_.G.vX=_.G._parseSiblingId);else{_.G=function(){function a(a,b){if(!oa[a]){var c=aa;b||(c=Na);oa[a]=c;b=sa[a]||[];for(var d=0;d<b.length;++d){var e=b[d];e.t=M[a];c.call(a,e.f,e)}sa[a]=[]}}function b(){function a(){ba=!0}X||("undefined"!=typeof window.addEventListener?window.addEventListener("unload",a,!1):"undefined"!=typeof window.attachEvent&&window.attachEvent("onunload",a),X=!0)}function c(a,c,d,e,f){M[c]&&M[c]===d||(_.Ia("Invalid gadgets.rpc token. "+
M[c]+" vs "+d),Ga(c,2));f.onunload=function(){F[c]&&!ba&&(Ga(c,1),_.G.mH(c))};b();e=(0,_.Mb)((0,window.decodeURIComponent)(e))}function d(b,c){if(b&&"string"===typeof b.s&&"string"===typeof b.f&&b.a instanceof Array)if(M[b.f]&&M[b.f]!==b.t&&(_.Ia("Invalid gadgets.rpc token. "+M[b.f]+" vs "+b.t),Ga(b.f,2)),"__ack"===b.s)window.setTimeout(function(){a(b.f,!0)},0);else{b.c&&(b.callback=function(a){_.G.call(b.f,(b.g?"legacy__":"")+"__cb",null,b.c,a)});if(c){var d=e(c);b.origin=c;var f=b.r,h;try{h=e(f)}catch(ha){}f&&
h==d||(f=c);b.referer=f}c=(y[b.s]||y[""]).apply(b,b.a);b.c&&"undefined"!==typeof c&&_.G.call(b.f,"__cb",null,b.c,c)}}function e(a){if(!a)return"";a=a.split("#")[0].split("?")[0];a=a.toLowerCase();0==a.indexOf("//")&&(a=window.location.protocol+a);-1==a.indexOf("://")&&(a=window.location.protocol+"//"+a);var b=a.substring(a.indexOf("://")+3),c=b.indexOf("/");-1!=c&&(b=b.substring(0,c));a=a.substring(0,a.indexOf("://"));if("http"!==a&&"https"!==a&&"chrome-extension"!==a&&"file"!==a)throw Error("b");
var c="",d=b.indexOf(":");if(-1!=d){var e=b.substring(d+1),b=b.substring(0,d);if("http"===a&&"80"!==e||"https"===a&&"443"!==e)c=":"+e}return a+"://"+b+c}function f(a){if("/"==a.charAt(0)){var b=a.indexOf("|");return{id:0<b?a.substring(1,b):a.substring(1),origin:0<b?a.substring(b+1):null}}return null}function h(a){if("undefined"===typeof a||".."===a)return window.parent;var b=f(a);if(b)return window.top.frames[b.id];a=String(a);return(b=window.frames[a])?b:(b=window.document.getElementById(a))&&b.contentWindow?
b.contentWindow:null}function k(a,b){if(!0!==F[a]){"undefined"===typeof F[a]&&(F[a]=0);var c=h(a);".."!==a&&null==c||!0!==aa.xd(a,b)?!0!==F[a]&&10>F[a]++?window.setTimeout(function(){k(a,b)},500):(oa[a]=Na,F[a]=!0):F[a]=!0}}function l(a){(a=B[a])&&"/"===a.substring(0,1)&&(a="/"===a.substring(1,2)?window.document.location.protocol+a:window.document.location.protocol+"//"+window.document.location.host+a);return a}function m(a,b,c){b&&!/http(s)?:\/\/.+/.test(b)&&(0==b.indexOf("//")?b=window.location.protocol+
b:"/"==b.charAt(0)?b=window.location.protocol+"//"+window.location.host+b:-1==b.indexOf("://")&&(b=window.location.protocol+"//"+b));B[a]=b;"undefined"!==typeof c&&(I[a]=!!c)}function p(a,b){b=b||"";M[a]=String(b);k(a,b)}function q(a){a=(a.passReferrer||"").split(":",2);Ka=a[0]||"none";fa=a[1]||"origin"}function w(b){"true"===String(b.useLegacyProtocol)&&(aa=Pb.Ry||Na,aa.Nc(d,a))}function x(a,b){function c(c){c=c&&c.rpc||{};q(c);var d=c.parentRelayUrl||"",d=e(W.parent||b)+d;m("..",d,"true"===String(c.useLegacyProtocol));
w(c);p("..",a)}!W.parent&&b?c({}):_.Cb.register("rpc",null,c)}function v(a,b,c){if(".."===a)x(c||W.rpctoken||W.ifpctok||"",b);else a:{var d=null;if("/"!=a.charAt(0)){if(!_.E)break a;d=window.document.getElementById(a);if(!d)throw Error("c`"+a);}d=d&&d.src;b=b||_.G.nb(d);m(a,b);b=_.E.Wc(d);p(a,c||b.rpctoken)}}var y={},B={},I={},M={},A=0,K={},F={},W={},oa={},sa={},Ka=null,fa=null,Y=window.top!==window.self,wa=window.name,Ga=function(){},ta=window.console,Da=ta&&ta.log&&function(a){ta.log(a)}||function(){},
Na=function(){function a(a){return function(){Da(a+": call ignored")}}return{getCode:function(){return"noop"},isParentVerifiable:function(){return!0},init:a("init"),setup:a("setup"),call:a("call")}}();_.E&&(W=_.E.Wc());var ba=!1,X=!1,aa=function(){if("flash"==W.rpctx)return Pb.Zx;if("rmr"==W.rpctx)return Pb.GR;var a="function"===typeof window.postMessage?Pb.yJ:"object"===typeof window.postMessage?Pb.yJ:window.ActiveXObject?Pb.Zx?Pb.Zx:Pb.aQ?Pb.aQ:Pb.Ry:0<window.navigator.userAgent.indexOf("WebKit")?
Pb.GR:"Gecko"===window.navigator.product?Pb.frameElement:Pb.Ry;a||(a=Na);return a}();y[""]=function(){Da("Unknown RPC service: "+this.s)};y.__cb=function(a,b){var c=K[a];c&&(delete K[a],c.call(this,b))};return{config:function(a){"function"===typeof a.OR&&(Ga=a.OR)},register:function(a,b){if("__cb"===a||"__ack"===a)throw Error("d");if(""===a)throw Error("e");y[a]=b},unregister:function(a){if("__cb"===a||"__ack"===a)throw Error("f");if(""===a)throw Error("g");delete y[a]},jR:function(a){y[""]=a},GT:function(){delete y[""]},
YM:function(){},call:function(a,b,c,d){a=a||"..";var e="..";".."===a?e=wa:"/"==a.charAt(0)&&(e=_.G.nb(window.location.href),e="/"+wa+(e?"|"+e:""));++A;c&&(K[A]=c);var h={s:b,f:e,c:c?A:0,a:Array.prototype.slice.call(arguments,3),t:M[a],l:!!I[a]},k;a:if("bidir"===Ka||"c2p"===Ka&&".."===a||"p2c"===Ka&&".."!==a){k=window.location.href;var l="?";if("query"===fa)l="#";else if("hash"===fa)break a;l=k.lastIndexOf(l);l=-1===l?k.length:l;k=k.substring(0,l)}else k=null;k&&(h.r=k);if(".."===a||null!=f(a)||window.document.getElementById(a))(k=
oa[a])||null===f(a)||(k=aa),0===b.indexOf("legacy__")&&(k=aa,h.s=b.substring(8),h.c=h.c?h.c:A),h.g=!0,h.r=e,k?(I[a]&&(k=Pb.Ry),!1===k.call(a,e,h)&&(oa[a]=Na,aa.call(a,e,h))):sa[a]?sa[a].push(h):sa[a]=[h]},Tt:l,uj:m,CA:p,Jv:v,vl:function(a){return M[a]},mH:function(a){delete B[a];delete I[a];delete M[a];delete F[a];delete oa[a]},CN:function(){return aa.Gp()},jA:function(a,b){4<a.length?aa.wX(a,d):c.apply(null,a.concat(b))},fR:function(a){a.a=Array.prototype.slice.call(a.a);window.setTimeout(function(){d(a)},
0)},nb:e,Dl:function(a){var b=l(a);a=b?b:(b=f(a))?b.origin:".."==a?W.parent:window.document.getElementById(a).src;return e(a)},Nc:function(){!1===aa.Nc(d,a)&&(aa=Na);Y?v(".."):_.Cb.register("rpc",null,function(a){a=a.rpc||{};q(a);w(a)})},SK:h,vX:f,J9:"__ack",JB:wa||"..",rfa:0,qfa:1,pfa:2}}();_.G.Nc()};
_.G.config({OR:function(a){throw Error("h`"+a);}});_.vb=_.Bb;_.C("gadgets.rpc.config",_.G.config);_.C("gadgets.rpc.register",_.G.register);_.C("gadgets.rpc.unregister",_.G.unregister);_.C("gadgets.rpc.registerDefault",_.G.jR);_.C("gadgets.rpc.unregisterDefault",_.G.GT);_.C("gadgets.rpc.forceParentVerifiable",_.G.YM);_.C("gadgets.rpc.call",_.G.call);_.C("gadgets.rpc.getRelayUrl",_.G.Tt);_.C("gadgets.rpc.setRelayUrl",_.G.uj);_.C("gadgets.rpc.setAuthToken",_.G.CA);_.C("gadgets.rpc.setupReceiver",_.G.Jv);_.C("gadgets.rpc.getAuthToken",_.G.vl); _.C("gadgets.rpc.removeReceiver",_.G.mH);_.C("gadgets.rpc.getRelayChannel",_.G.CN);_.C("gadgets.rpc.receive",_.G.jA);_.C("gadgets.rpc.receiveSameDomain",_.G.fR);_.C("gadgets.rpc.getOrigin",_.G.nb);_.C("gadgets.rpc.getTargetOrigin",_.G.Dl);

_.H={};_.Bc={};window.iframer=_.Bc;
_.Cc=function(a){var b=typeof a;return"object"==b&&null!=a||"function"==b};_.Dc=function(a){return"number"==typeof a};_.Ec=String.prototype.trim?function(a){return a.trim()}:function(a){return a.replace(/^[\s\xa0]+|[\s\xa0]+$/g,"")};_.Fc=String.prototype.repeat?function(a,b){return a.repeat(b)}:function(a,b){return Array(b+1).join(a)};_.Gc=2147483648*Math.random()|0;
var Jc;_.Hc=function(a,b){return 0==a.lastIndexOf(b,0)};_.Ic=function(a){var b=_.za(a);return"array"==b||"object"==b&&"number"==typeof a.length};Jc=0;_.Kc=function(a){return null==a?"":String(a)};_.Lc=function(a){return/^[\s\xa0]*$/.test(a)};_.Mc=function(a){return a[_.Ba]||(a[_.Ba]=++Jc)};_.Nc=function(a){return String(a).replace(/\-([a-z])/g,function(a,c){return c.toUpperCase()})};_.Oc=function(a){return"function"==_.za(a)};
_.Pc=Array.prototype.indexOf?function(a,b,c){return Array.prototype.indexOf.call(a,b,c)}:function(a,b,c){c=null==c?0:0>c?Math.max(0,a.length+c):c;if(_.t(a))return _.t(b)&&1==b.length?a.indexOf(b,c):-1;for(;c<a.length;c++)if(c in a&&a[c]===b)return c;return-1};
_.Qc=Array.prototype.lastIndexOf?function(a,b,c){return Array.prototype.lastIndexOf.call(a,b,null==c?a.length-1:c)}:function(a,b,c){c=null==c?a.length-1:c;0>c&&(c=Math.max(0,a.length+c));if(_.t(a))return _.t(b)&&1==b.length?a.lastIndexOf(b,c):-1;for(;0<=c;c--)if(c in a&&a[c]===b)return c;return-1};_.Rc=Array.prototype.forEach?function(a,b,c){Array.prototype.forEach.call(a,b,c)}:function(a,b,c){for(var d=a.length,e=_.t(a)?a.split(""):a,f=0;f<d;f++)f in e&&b.call(c,e[f],f,a)};
_.Sc=Array.prototype.filter?function(a,b,c){return Array.prototype.filter.call(a,b,c)}:function(a,b,c){for(var d=a.length,e=[],f=0,h=_.t(a)?a.split(""):a,k=0;k<d;k++)if(k in h){var l=h[k];b.call(c,l,k,a)&&(e[f++]=l)}return e};_.Tc=Array.prototype.map?function(a,b,c){return Array.prototype.map.call(a,b,c)}:function(a,b,c){for(var d=a.length,e=Array(d),f=_.t(a)?a.split(""):a,h=0;h<d;h++)h in f&&(e[h]=b.call(c,f[h],h,a));return e};
_.Uc=Array.prototype.some?function(a,b,c){return Array.prototype.some.call(a,b,c)}:function(a,b,c){for(var d=a.length,e=_.t(a)?a.split(""):a,f=0;f<d;f++)if(f in e&&b.call(c,e[f],f,a))return!0;return!1};_.Vc=Array.prototype.every?function(a,b,c){return Array.prototype.every.call(a,b,c)}:function(a,b,c){for(var d=a.length,e=_.t(a)?a.split(""):a,f=0;f<d;f++)if(f in e&&!b.call(c,e[f],f,a))return!1;return!0};_.Wc=function(a,b){return 0<=(0,_.Pc)(a,b)};
_.Yc=function(a,b){b=(0,_.Pc)(a,b);var c;(c=0<=b)&&_.Xc(a,b);return c};_.Xc=function(a,b){return 1==Array.prototype.splice.call(a,b,1).length};_.Zc=function(a,b){for(var c=1;c<arguments.length;c++){var d=arguments[c];if(_.Ic(d)){var e=a.length||0,f=d.length||0;a.length=e+f;for(var h=0;h<f;h++)a[e+h]=d[h]}else a.push(d)}};

_.J=function(a,b){return _.ca[a]=b};_.$c=function(a,b){var c=Array.prototype.slice.call(arguments,1);return function(){var b=c.slice();b.push.apply(b,arguments);return a.apply(this,b)}};_.ad=function(a){a.nF=void 0;a.ya=function(){return a.nF?a.nF:a.nF=new a}};_.bd=function(){};_.cd=function(a){var b=[],c=0,d;for(d in a)b[c++]=a[d];return b};_.dd=function(a){var b=[],c=0,d;for(d in a)b[c++]=d;return b};_.ed=function(a,b){for(var c in a)if(a[c]==b)return!0;return!1};
a:{var gd=_.r.navigator;if(gd){var hd=gd.userAgent;if(hd){_.fd=hd;break a}}_.fd=""}_.id=function(a){return-1!=_.fd.indexOf(a)};_.jd=function(){return _.id("Trident")||_.id("MSIE")};
var ld,nd;_.kd=function(){return _.id("Opera")};ld=function(a,b){return a<b?-1:a>b?1:0};nd="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" ");
_.od=function(a,b){var c=0;a=(0,_.Ec)(String(a)).split(".");b=(0,_.Ec)(String(b)).split(".");for(var d=Math.max(a.length,b.length),e=0;0==c&&e<d;e++){var f=a[e]||"",h=b[e]||"";do{f=/(\d*)(\D*)(.*)/.exec(f)||["","","",""];h=/(\d*)(\D*)(.*)/.exec(h)||["","","",""];if(0==f[0].length&&0==h[0].length)break;c=ld(0==f[1].length?0:(0,window.parseInt)(f[1],10),0==h[1].length?0:(0,window.parseInt)(h[1],10))||ld(0==f[2].length,0==h[2].length)||ld(f[2],h[2]);f=f[3];h=h[3]}while(0==c)}return c};
_.pd=function(a,b){for(var c,d,e=1;e<arguments.length;e++){d=arguments[e];for(c in d)a[c]=d[c];for(var f=0;f<nd.length;f++)c=nd[f],Object.prototype.hasOwnProperty.call(d,c)&&(a[c]=d[c])}};_.qd=function(a,b,c){for(var d in a)b.call(c,a[d],d,a)};_.rd=function(){return _.id("iPhone")&&!_.id("iPod")&&!_.id("iPad")};_.sd=function(){return _.rd()||_.id("iPad")||_.id("iPod")};
var td=function(a){td[" "](a);return a},xd;td[" "]=_.bd;_.ud=function(a,b){try{return td(a[b]),!0}catch(c){}return!1};xd=function(a,b){var c=vd;return Object.prototype.hasOwnProperty.call(c,a)?c[a]:c[a]=b(a)};var Ld,Md,vd,Vd;_.yd=_.kd();_.L=_.jd();_.zd=_.id("Edge");_.Ad=_.zd||_.L;_.Bd=_.id("Gecko")&&!(-1!=_.fd.toLowerCase().indexOf("webkit")&&!_.id("Edge"))&&!(_.id("Trident")||_.id("MSIE"))&&!_.id("Edge");_.Cd=-1!=_.fd.toLowerCase().indexOf("webkit")&&!_.id("Edge");_.Dd=_.Cd&&_.id("Mobile");_.Ed=_.id("Macintosh");_.Fd=_.id("Windows");_.Gd=_.id("Linux")||_.id("CrOS");_.Hd=_.id("Android");_.Id=_.rd();_.Jd=_.id("iPad");_.Kd=_.id("iPod");Ld=function(){var a=_.r.document;return a?a.documentMode:void 0};
a:{var Od="",Pd=function(){var a=_.fd;if(_.Bd)return/rv\:([^\);]+)(\)|;)/.exec(a);if(_.zd)return/Edge\/([\d\.]+)/.exec(a);if(_.L)return/\b(?:MSIE|rv)[: ]([^\);]+)(\)|;)/.exec(a);if(_.Cd)return/WebKit\/(\S+)/.exec(a);if(_.yd)return/(?:Version)[ \/]?(\S+)/.exec(a)}();Pd&&(Od=Pd?Pd[1]:"");if(_.L){var Qd=Ld();if(null!=Qd&&Qd>(0,window.parseFloat)(Od)){Md=String(Qd);break a}}Md=Od}_.Rd=Md;vd={};_.Sd=function(a){return xd(a,function(){return 0<=_.od(_.Rd,a)})};_.Ud=function(a){return Number(_.Td)>=a}; var Wd=_.r.document;Vd=Wd&&_.L?Ld()||("CSS1Compat"==Wd.compatMode?(0,window.parseInt)(_.Rd,10):5):void 0;_.Td=Vd;

_.wh=function(a){return(0,window.encodeURIComponent)(String(a))};_.xh=/^(?:([^:/?#.]+):)?(?:\/\/(?:([^/?#]*)@)?([^/#?]*?)(?::([0-9]+))?(?=[/#?]|$))?([^?#]+)?(?:\?([^#]*))?(?:#([\s\S]*))?$/;_.yh=function(a){if(a[1]){var b=a[0],c=b.indexOf("#");0<=c&&(a.push(b.substr(c)),a[0]=b=b.substr(0,c));c=b.indexOf("?");0>c?a[1]="?":c==b.length-1&&(a[1]=void 0)}return a.join("")};_.zh=function(a,b,c){if(_.Aa(b))for(var d=0;d<b.length;d++)_.zh(a,String(b[d]),c);else null!=b&&c.push("&",a,""===b?"":"=",_.wh(b))}; _.Ah=function(a,b){for(var c in b)_.zh(c,b[c],a);return a};

_.Mj=function(){return(_.id("Chrome")||_.id("CriOS"))&&!_.id("Edge")};_.Nj=function(){return _.id("Safari")&&!(_.Mj()||_.id("Coast")||_.kd()||_.id("Edge")||_.id("Silk")||_.id("Android"))};_.Oj=function(){return _.id("Firefox")};_.Pj=function(a){for(var b={},c=0,d=0;d<a.length;){var e=a[d++],f;f=e;f=_.Cc(f)?"o"+_.Mc(f):(typeof f).charAt(0)+f;Object.prototype.hasOwnProperty.call(b,f)||(b[f]=!0,a[c++]=e)}a.length=c};_.Qj=_.Oj();_.Rj=_.rd()||_.id("iPod");_.Sj=_.id("iPad"); _.Tj=_.id("Android")&&!(_.Mj()||_.Oj()||_.kd()||_.id("Silk"));_.Uj=_.Mj();_.Vj=_.Nj()&&!_.sd();

_.Wj=function(a){for(var b=[],c=0,d=0;d<a.length;d++){for(var e=a.charCodeAt(d);255<e;)b[c++]=e&255,e>>=8;b[c++]=e}return b};
_.Xj=function(a){for(var b=[],c=0,d=0;c<a.length;){var e=a[c++];if(128>e)b[d++]=String.fromCharCode(e);else if(191<e&&224>e){var f=a[c++];b[d++]=String.fromCharCode((e&31)<<6|f&63)}else if(239<e&&365>e){var f=a[c++],h=a[c++],k=a[c++],e=((e&7)<<18|(f&63)<<12|(h&63)<<6|k&63)-65536;b[d++]=String.fromCharCode(55296+(e>>10));b[d++]=String.fromCharCode(56320+(e&1023))}else f=a[c++],h=a[c++],b[d++]=String.fromCharCode((e&15)<<12|(f&63)<<6|h&63)}return b.join("")};
var Yj,Zj,ak,bk,dk,gk,ek;Yj=null;Zj=null;ak=null;bk=_.Bd||_.Cd&&!_.Vj||_.yd;_.ck=bk||"function"==typeof _.r.btoa;dk=bk||!_.Vj&&!_.L&&"function"==typeof _.r.atob;_.fk=function(a,b){ek();b=b?ak:Yj;for(var c=[],d=0;d<a.length;d+=3){var e=a[d],f=d+1<a.length,h=f?a[d+1]:0,k=d+2<a.length,l=k?a[d+2]:0,m=e>>2,e=(e&3)<<4|h>>4,h=(h&15)<<2|l>>6,l=l&63;k||(l=64,f||(h=64));c.push(b[m],b[e],b[h],b[l])}return c.join("")};
_.hk=function(a,b){if(dk&&!b)return _.r.atob(a);var c="";gk(a,function(a){c+=String.fromCharCode(a)});return c};_.ik=function(a){var b=[];gk(a,function(a){b.push(a)});return b};gk=function(a,b){function c(b){for(;d<a.length;){var c=a.charAt(d++),e=Zj[c];if(null!=e)return e;if(!_.Lc(c))throw Error("G`"+c);}return b}ek();for(var d=0;;){var e=c(-1),f=c(0),h=c(64),k=c(64);if(64===k&&-1===e)break;b(e<<2|f>>4);64!=h&&(b(f<<4&240|h>>2),64!=k&&b(h<<6&192|k))}};
ek=function(){if(!Yj){Yj={};Zj={};ak={};for(var a=0;65>a;a++)Yj[a]="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".charAt(a),Zj[Yj[a]]=a,ak[a]="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_.".charAt(a),62<=a&&(Zj["ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_.".charAt(a)]=a)}};

var lk;_.jk=function(a){if(!_.Ic(a))return null;for(var b={},c=0;c<a.length;c++)b[a[c]]=a[c];return b};_.kk=function(a,b){var c=a.length;if(c!=b.length)return!1;for(var d=0;d<c;++d){var e=a.charCodeAt(d),f=b.charCodeAt(d);65<=e&&90>=e&&(e+=32);65<=f&&90>=f&&(f+=32);if(e!=f)return!1}return!0};lk=null;
_.mk=function(a){if(null===lk){var b=_.D("client/headers/response");b||(b=_.D("googleapis/headers/response"));lk=_.jk(b)}if(null!=lk){if(lk.hasOwnProperty(a))return!0;for(var c in lk)if(lk.hasOwnProperty(c)&&_.kk(c,a))return!0}return!1};
_.nk=function(a){a=String(a||"").split("\x00").join("");for(var b=[],c=!0,d=0,e=a.length;d<e;++d){var f=a.charAt(d),h=a.charCodeAt(d);if(55296<=h&&56319>=h&&d+1<e){var k=a.charAt(d+1),l=a.charCodeAt(d+1);56320<=l&&57343>=l&&(f+=k,h=65536+(h-55296<<10)+(l-56320),++d)}if(!(0<=h&&1114109>=h)||55296<=h&&57343>=h||64976<=h&&65007>=h||65534==(h&65534))h=65533,f=String.fromCharCode(h);k=!(32<=h&&126>=h)||" "==f||c&&":"==f||"\\"==f;!c||"/"!=f&&"?"!=f||(c=!1);"%"==f&&(d+2>=e?k=!0:(l=16*(0,window.parseInt)(a.charAt(d+
1),16)+(0,window.parseInt)(a.charAt(d+2),16),0<=l&&255>=l?(h=l,f=0==h?"":"%"+(256+l).toString(16).toUpperCase().substr(1),d+=2):k=!0));k&&(f=(0,window.encodeURIComponent)(f),1>=f.length&&(0<=h&&127>=h?f="%"+(256+h).toString(16).toUpperCase().substr(1):(h=65533,f=(0,window.encodeURIComponent)(String.fromCharCode(h)))));b.push(f)}a=b.join("");a=a.split("#")[0];a=a.split("?");b=a[0].split("/");c=[];d=0;for(e=b.length;d<e;++d)f=b[d],h=f.split("%2E").join("."),h=h.split((0,window.encodeURIComponent)("\uff0e")).join("."),
"."==h?d+1==e&&c.push(""):".."==h?(0<c.length&&c.pop(),d+1==e&&c.push("")):c.push(f);a[0]=c.join("/");for(a=a.join("?");a&&"/"==a.charAt(0);)a=a.substr(1);return"/"+a};_.pk=function(a){var b=_.nk(a);if(String(a)!=b)throw Error("H");(a=b)&&"/"==a.charAt(a.length-1)||(a=(a||"")+"/");_.G.register("init",function(){_.pk(a)});_.ok=a;_.E.Wc(window.location.href)};
_.qk="function"==typeof window.atob;
var rk,sk,tk,uk,vk,wk,xk,yk,zk;rk=null;sk=function(a,b){if(null!=a)for(var c in a)if(a.hasOwnProperty(c)&&_.kk(c,b))return{name:c,value:a[c]}};tk=null;
uk=function(a,b,c,d){var e=sk(b,"X-Goog-Safety-Encoding");if(null!=e&&"base64"===e.value){if(_.qk)a=window.atob(a);else{if(!rk){var f="ABCDEFGHIJKLMNOPQRSTUVWXYZ",f=f+(f.toLowerCase()+"0123456789+/=");rk={};for(var h=0;h<f.length;h++)rk[f.charAt(h)]=h}for(var f=rk,h=[],k=0;k<a.length;){var l=f[a.charAt(k++)],m=k<a.length?f[a.charAt(k)]:0;++k;var p=k<a.length?f[a.charAt(k)]:0;++k;var q=k<a.length?f[a.charAt(k)]:0;++k;if(null==l||null==m||null==p||null==q)throw Error();h.push(l<<2|m>>4);64!=p&&(h.push(m<<
4&240|p>>2),64!=q&&h.push(p<<6&192|q))}a=String.fromCharCode.apply(null,h)}f=sk(b,"X-Goog-Safety-Content-Type");h=f.value;k=/^(text\/[^\s;\/""]+|application\/(json(\+[^\s;\/""]*)?|([^\s;\/""]*\+)?xml))\s*(;|$)/i;b["Content-Type"]=h;if(h.match(/;\s*charset\s*=\s*("utf-?8"|utf-?8)\s*(;|$)/i)||h.match(k)&&!h.match(/;\s*charset\s*=/i))a=_.Xj(_.Wj(a));delete b[e.name];delete b[f.name]}return{body:a,headers:b,status:c,statusText:d}};vk=function(){try{return new window.XMLHttpRequest}catch(a){}try{return new window.ActiveXObject("Msxml2.XMLHTTP")}catch(a){}return null};
wk=function(a,b){b=b||"0.1";var c=[];c.push(a||"google-api-javascript-client");b&&(c.push("/"),c.push(b));return c.join("")};xk=function(a,b){if(!a||!b)return!1;for(var c=0,d=b.length;c<d;++c){var e=b.charCodeAt(c);if(!(32<=e&&126>=e))return!1}null===tk&&((b=_.D("client/headers/request"))||(b=_.D("googleapis/headers/request")),tk=_.jk(b));return null!=tk?tk.hasOwnProperty(a):!1};
yk=function(a,b,c,d){a=a||{};var e=a.headers||{},f=a.httpMethod||"GET",h=String(a.url||""),k=a.urlParams||null,l=a.body||null,m=a.clientName||null,p=a.clientVersion||null;c=c||null;d=d||null;h=_.nk(h);h=_.ok+String(h||"/").substr(1);h=_.yh(_.Ah([h],k));e["X-JavaScript-User-Agent"]=wk(m,p);delete e["X-Origin"];c&&(e["X-Origin"]=c);delete e["X-Referer"];d&&(e["X-Referer"]=d);e["X-Goog-Encode-Response-If-Executable"]="base64";l&&"object"===typeof l&&(l=(0,_.Lb)(l));var q=vk();if(!q)throw Error("I");
q.open(f,h);q.onreadystatechange=function(){if(4==q.readyState&&0!==q.status){var a=q.responseText;var c=q.getAllResponseHeaders(),d={};if(c)for(var c=c.split("\r\n"),e=0;e<c.length;e++){var f=c[e],h=f.indexOf(": ");if(0<h){var k=f.substring(0,h),f=f.substring(h+2);_.mk(k)&&(d[k]=f)}}a=uk(a,d,q.status,q.statusText);b(a)}};q.onerror=function(){var c;c={error:{code:-1,message:"A network error occurred, and the request could not be completed."}};if("/rpc"==a.url){for(var d=a.body,e=[],f=0;f<d.length;f++){var h=
(0,_.Lb)(c),h=(0,_.Mb)(h);h.id=d[f].id;e.push(h)}c=e}c=(0,_.Lb)(c);c=uk(c);b(c)};for(var w in e)e.hasOwnProperty(w)&&(f=e[w],xk(w,f)&&q.setRequestHeader(w,f));q.send(l?l:null)};zk=function(a,b,c,d){var e={},f=0;if(0==a.length)b(e);else{var h=function(k){var l=k.key;yk(k.params,function(c){e[l]={data:c};f++;a.length==f?b((0,_.Lb)(e)):h(a[f])},c,d)};h(a[f])}};_.Cj=_.Cj||{};
_.Cj.q6=function(){_.G.register("makeHttpRequests",function(a){".."==this.f&&this.t==_.G.vl("..")&&this.origin==_.G.Dl("..")&&zk.call(this,a,this.callback,this.origin,this.referer)})};_.Cj.Nc=function(){var a=String(window.location.pathname);18<=a.length&&"/static/proxy.html"==a.substr(a.length-18)&&(a=a.substr(0,a.length-18));a||(a="/");_.Cj.RO(a)};_.Cj.RO=function(a){var b=_.nk(a);if(String(a)!=b)throw Error("H");_.Cj.q6();_.pk(a);_.G.call("..","ready:"+_.G.vl(".."))};
_.C("googleapis.ApiServer.makeHttpRequests",zk);_.C("googleapis.ApiServer.initWithPath",_.pk);_.C("googleapis.server.init",_.Cj.Nc);_.C("googleapis.server.initWithPath",_.Cj.RO);
});
// Google Inc.
