/* JS */ gapi.loaded_0(function(_){var window=this;
var ca,da,ha,ia,Fa,Ha;
for(_.g,_.n=function(a){return function(){return _.ba[a].apply(this,arguments)}},_._DumpException=function(a){throw a;},_.ba=[],ca="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)},da="undefined"!=typeof window&&window===this?this:"undefined"!=typeof window.global&&null!=window.global?window.global:this,ha=["String","prototype","startsWith"],
ia=0;ia<ha.length-1;ia++){var ka=ha[ia];ka in da||(da[ka]={});da=da[ka]}
var la=ha[ha.length-1],pa=da[la],wa=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};wa!=pa&&null!=wa&&ca(da,la,{configurable:!0,writable:!0,value:wa});
_.ya=_.ya||{};_.r=this;_.za=function(a){return void 0!==a};
_.Aa=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};_.Ba=function(a){return"array"==_.Aa(a)};_.Ca=function(a){var b=_.Aa(a);return"array"==b||"object"==b&&"number"==typeof a.length};_.t=function(a){return"string"==typeof a};_.Ea="closure_uid_"+(1E9*Math.random()>>>0);Fa=function(a,b,c){return a.call.apply(a.bind,arguments)};
Ha=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")?Fa:Ha;return _.u.apply(null,arguments)};_.Ia=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.Fs=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)}};
_.Na=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",headers:{request:"Accept Accept-Language Authorization Cache-Control Content-Disposition Content-Encoding Content-Language Content-Length Content-MD5 Content-Range Content-Type Date GData-Version Host If-Match If-Modified-Since If-None-Match If-Unmodified-Since Origin OriginToken Pragma Range Slug Transfer-Encoding Want-Digest X-ClientDetails X-GData-Client X-GData-Key X-Goog-AuthUser X-Goog-PageId X-Goog-Encode-Response-If-Executable X-Goog-Correlation-Id X-Goog-Request-Info X-Goog-Experiments x-goog-iam-authority-selector x-goog-iam-authorization-token X-Goog-Spatula X-Goog-Upload-Command X-Goog-Upload-Content-Disposition X-Goog-Upload-Content-Length X-Goog-Upload-Content-Type X-Goog-Upload-File-Name X-Goog-Upload-Offset X-Goog-Upload-Protocol X-Goog-Visitor-Id X-HTTP-Method-Override X-JavaScript-User-Agent X-Pan-Versionid X-Proxied-User-IP X-Origin X-Referer X-Requested-With X-Upload-Content-Length X-Upload-Content-Type X-Use-HTTP-Status-Code-Override X-Ios-Bundle-Identifier X-Android-Package X-YouTube-VVT X-YouTube-Page-CL X-YouTube-Page-Timestamp".split(" "),response:"Digest Cache-Control Content-Disposition Content-Encoding Content-Language Content-Length Content-MD5 Content-Range Content-Type Date ETag Expires Last-Modified Location Pragma Range Server Transfer-Encoding WWW-Authenticate Vary Unzipped-Content-MD5 X-Goog-Generation X-Goog-Metageneration X-Goog-Safety-Content-Type X-Goog-Safety-Encoding X-Google-Trace X-Goog-Upload-Chunk-Granularity X-Goog-Upload-Control-URL X-Goog-Upload-Size-Received X-Goog-Upload-Status X-Goog-Upload-URL X-Goog-Diff-Download-Range X-Goog-Hash X-Goog-Updated-Authorization X-Server-Object-Version X-Guploader-Customer X-Guploader-Upload-Result X-Guploader-Uploadid X-Google-Gfe-Backend-Request-Cost".split(" ")}},
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 &&*/
_.B=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&&_.za(b)?c[d]=b:c=c[d]&&Object.prototype.hasOwnProperty.call(c,d)?c[d]:c[d]={}};_.Oa=window;_.Pa=window.document;_.Qa=_.Oa.location;_.Ra=/\[native code\]/;_.Sa=function(a,b,c){return a[b]=a[b]||c};_.Ta=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}; _.Ua=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)};_.Va=function(a,b){a=a||{};for(var c in a)_.Ua(a,c)&&(b[c]=a[c])};_.Wa=_.Sa(_.Oa,"gapi",{});
_.Xa=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};_.Ya=new RegExp(/^/.source+/([a-zA-Z][-+.a-zA-Z0-9]*:)?/.source+/(\/\/[^\/?#]*)?/.source+/([^?#]*)?/.source+/(\?([^#]*))?/.source+/(#((#|[^#])*))?/.source+/$/.source);
_.$a=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");_.ab=function(){return _.Oa.location.origin||_.Oa.location.protocol+"//"+_.Oa.location.host};_.db=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");
_.fb=function(a,b,c){_.eb(a,b,c,"add","at")};_.eb=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)};_.gb=_.Sa(_.Oa,"___jsl",_.Ta());_.Sa(_.gb,"I",0);_.Sa(_.gb,"hel",10);var jb,kb,mb,ob,pb,qb;jb=function(a){var b=window.___jsl=window.___jsl||{};b[a]=b[a]||[];return b[a]};kb=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){kb(!0);var b=window.___gcfg,c=jb("cu");if(b&&b!==window.___gu){var d={};ob(d,b);c.push(d);window.___gu=b}var b=jb("cu"),e=window.document.scripts||window.document.getElementsByTagName("script")||[],d=[],f=[];f.push.apply(f,jb("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=jb("cd");a=0;for(b=d.length;a<b;++a)ob(kb(),d[a]);d=jb("ci");a=0;for(b=d.length;a<b;++a)ob(kb(),d[a]);a=0;for(b=c.length;a<b;++a)ob(kb(),c[a])};_.D=function(a,b){if(!a)return kb();a=a.split("/");for(var c=kb(),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}; _.sb=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 vb=function(){var a=window.__GOOGLEAPIS;a&&(a.googleapis&&!a["googleapis.config"]&&(a["googleapis.config"]=a.googleapis),_.Sa(_.gb,"ci",[]).push(a),window.__GOOGLEAPIS=void 0)};vb&&vb();qb();_.B("gapi.config.get",_.D);_.B("gapi.config.update",_.sb);
(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)};_.Ja=function(b){a(2,b)};_.Ka=function(b){a(3,b)};_.wb=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.Qja=function(b){a.push(b)};_.E.dka=function(){for(var b=0,c=a.length;b<c;++b)a[b]()}})();
_.xb=function(a){return!!a&&"object"===typeof a&&_.Ra.test(a.push)};_.yb=function(a,b){var c=_.Sa(_.gb,"watt",_.Ta());_.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()})();
_.B("gadgets.util.getUrlParameters",_.E.Wc);
_.Ab=window.console;_.Bb=function(a){_.Ab&&_.Ab.log&&_.Ab.log(a)};_.Cb=function(){};
_.Db=function(){var a=window.gadgets&&window.gadgets.config&&window.gadgets.config.get;a&&_.sb(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";_.sb(a)},xc:function(){}}}();
_.B("gadgets.config.register",_.Db.register);_.B("gadgets.config.get",_.Db.get);_.B("gadgets.config.init",_.Db.xc);_.B("gadgets.config.update",_.Db.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)&&_.Ua(a,c)&&"string"===typeof c&&(d=Gb(a[c]))&&b.push(Gb(c)+":"+d);return"{"+b.join(",")+"}"}return""}},Hb=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}};_.Mb=Jb?window.JSON.stringify:Gb;_.Nb=Jb?Kb:Hb;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("")});

_.B("gadgets.json.stringify",_.Mb);_.B("gadgets.json.parse",_.Nb);_.Xa(_.Oa.location.href,"rpctoken")&&_.fb(_.Pa,"unload",function(){});
var Qb;_.Ob=function(){var a=_.Pa.readyState;return"complete"===a||"interactive"===a&&-1==window.navigator.userAgent.indexOf("MSIE")};_.Pb=function(a){if(_.Ob())a();else{var b=!1,c=function(){if(!b)return b=!0,a.apply(this,arguments)};_.Oa.addEventListener?(_.Oa.addEventListener("load",c,!1),_.Oa.addEventListener("DOMContentLoaded",c,!1)):_.Oa.attachEvent&&(_.Oa.attachEvent("onreadystatechange",function(){_.Ob()&&c.apply(this,arguments)}),_.Oa.attachEvent("onload",c))}};Qb=Qb||{};Qb.GR=null; Qb.ZP=null;Qb.Ry=null;Qb.frameElement=null;
Qb=Qb||{};
Qb.tJ||(Qb.tJ=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,_.Nb)(a.data);if(b&&b.f){(0,_.wb)("gadgets.rpc.receive("+window.name+"): "+a.data);var d=_.F.Dl(b.f);e&&("undefined"!==typeof a.origin?a.origin!==d:a.domain!==/^.+:\/\/([^:]+).*/.exec(d)[1])?_.Ka("Invalid rpc message origin. "+
d+" vs "+(a.origin||"")):c(b,a.origin)}}var c,d,e=!0;return{Fp:function(){return"wpm"},Y3:function(){return!0},xc:function(f,h){_.Db.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=_.F.Dl(a),e=_.F.SK(a);d?window.setTimeout(function(){var a=(0,_.Mb)(c);(0,_.wb)("gadgets.rpc.send("+window.name+"): "+a);e.postMessage(a,d)},0):".."!=a&&_.Ka("No relay set (used as window.postMessage targetOrigin), cannot send cross-domain message"); return!0}}}());
Qb=Qb||{};
Qb.$x||(Qb.$x=function(){function a(a,b){J[b]=J[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(){L[".."]||(k(".."),C++,50<=C&&null!==H?(window.clearTimeout(H),H=null):H=window.setTimeout(c,100))}function d(){if(null!==w&&w.setup)for(;0<x.length;){var a=x.shift(),b=a.j9;w.setup(a.Fr,".."===b?_.F.LB:b,".."===b?"INNER":"OUTER")}null!==v&&window.clearTimeout(v);v=null}function e(){L[".."]||null!==
H||(H=window.setTimeout(c,100))}function f(a,b,c){b=_.F.Dl(a);var d=_.F.ul(a);w["sendMessage_"+(".."===a?_.F.LB:a)+"_"+d+"_"+(".."===a?"INNER":"OUTER")].call(w,(0,_.Mb)(c),b);return!0}function h(a,b){var c=(0,_.Nb)(a);(a=c._scr)?(q(a,!0),L[a]=!0,".."!==a&&k(a,!0)):window.setTimeout(function(){p(c,b)},0)}function k(a,b){var c=_.F.LB,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,C=0,H=null,L={},A=window.location.protocol+"//"+window.location.host,J;window.___jsl=
window.___jsl||{};J=window.___jsl._fm={};_.Db.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{Fp:function(){return"flash"},Y3:function(){return!0},xc:function(a,b){p=a;q=b;return m=!0},xd:function(a,c){x.push({Fr:c,j9:a});null===w&&null===v&&(v=window.setTimeout(b,100));return!0},call:f,FX:h,$ha:d,aia:e}}());
if(window.gadgets&&window.gadgets.rpc)"undefined"!=typeof _.F&&_.F||(_.F=window.gadgets.rpc,_.F.config=_.F.config,_.F.register=_.F.register,_.F.unregister=_.F.unregister,_.F.jR=_.F.registerDefault,_.F.ET=_.F.unregisterDefault,_.F.YM=_.F.forceParentVerifiable,_.F.call=_.F.call,_.F.Vt=_.F.getRelayUrl,_.F.tj=_.F.setRelayUrl,_.F.AA=_.F.setAuthToken,_.F.Lv=_.F.setupReceiver,_.F.ul=_.F.getAuthToken,_.F.kH=_.F.removeReceiver,_.F.DN=_.F.getRelayChannel,_.F.fR=_.F.receive,_.F.gR=_.F.receiveSameDomain,_.F.mb=
_.F.getOrigin,_.F.Dl=_.F.getTargetOrigin,_.F.SK=_.F._getTargetWin,_.F.EX=_.F._parseSiblingId);else{_.F=function(){function a(a,b){if(!ja[a]){var c=N;b||(c=ta);ja[a]=c;b=ra[a]||[];for(var d=0;d<b.length;++d){var e=b[d];e.t=L[a];c.call(a,e.f,e)}ra[a]=[]}}function b(){function a(){rb=!0}V||("undefined"!=typeof window.addEventListener?window.addEventListener("unload",a,!1):"undefined"!=typeof window.attachEvent&&window.attachEvent("onunload",a),V=!0)}function c(a,c,d,e,f){L[c]&&L[c]===d||(_.Ka("Invalid gadgets.rpc token. "+
L[c]+" vs "+d),na(c,2));f.onunload=function(){M[c]&&!rb&&(na(c,1),_.F.kH(c))};b();e=(0,_.Nb)((0,window.decodeURIComponent)(e))}function d(b,c){if(b&&"string"===typeof b.s&&"string"===typeof b.f&&b.a instanceof Array)if(L[b.f]&&L[b.f]!==b.t&&(_.Ka("Invalid gadgets.rpc token. "+L[b.f]+" vs "+b.t),na(b.f,2)),"__ack"===b.s)window.setTimeout(function(){a(b.f,!0)},0);else{b.c&&(b.callback=function(a){_.F.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(oa){}f&&
h==d||(f=c);b.referer=f}c=(y[b.s]||y[""]).apply(b,b.a);b.c&&"undefined"!==typeof c&&_.F.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!==M[a]){"undefined"===typeof M[a]&&(M[a]=0);var c=h(a);".."!==a&&null==c||!0!==N.xd(a,b)?!0!==M[a]&&10>M[a]++?window.setTimeout(function(){k(a,b)},500):(ja[a]=ta,M[a]=!0):M[a]=!0}}function l(a){(a=C[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));C[a]=b;"undefined"!==typeof c&&(H[a]=!!c)}function p(a,b){b=b||"";L[a]=String(b);k(a,b)}function q(a){a=(a.passReferrer||"").split(":",2);Ma=a[0]||"none";aa=a[1]||"origin"}function w(b){"true"===String(b.useLegacyProtocol)&&(N=Qb.Ry||ta,N.xc(d,a))}function x(a,b){function c(c){c=c&&c.rpc||{};q(c);var d=c.parentRelayUrl||"",d=e(Y.parent||b)+d;m("..",d,"true"===String(c.useLegacyProtocol));
w(c);p("..",a)}!Y.parent&&b?c({}):_.Db.register("rpc",null,c)}function v(a,b,c){if(".."===a)x(c||Y.rpctoken||Y.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||_.F.mb(d);m(a,b);b=_.E.Wc(d);p(a,c||b.rpctoken)}}var y={},C={},H={},L={},A=0,J={},M={},Y={},ja={},ra={},Ma=null,aa=null,fa=window.top!==window.self,ua=window.name,na=function(){},nb=window.console,va=nb&&nb.log&&function(a){nb.log(a)}||function(){},
ta=function(){function a(a){return function(){va(a+": call ignored")}}return{getCode:function(){return"noop"},isParentVerifiable:function(){return!0},init:a("init"),setup:a("setup"),call:a("call")}}();_.E&&(Y=_.E.Wc());var rb=!1,V=!1,N=function(){if("flash"==Y.rpctx)return Qb.$x;if("rmr"==Y.rpctx)return Qb.GR;var a="function"===typeof window.postMessage?Qb.tJ:"object"===typeof window.postMessage?Qb.tJ:window.ActiveXObject?Qb.$x?Qb.$x:Qb.ZP?Qb.ZP:Qb.Ry:0<window.navigator.userAgent.indexOf("WebKit")?
Qb.GR:"Gecko"===window.navigator.product?Qb.frameElement:Qb.Ry;a||(a=ta);return a}();y[""]=function(){va("Unknown RPC service: "+this.s)};y.__cb=function(a,b){var c=J[a];c&&(delete J[a],c.call(this,b))};return{config:function(a){"function"===typeof a.OR&&(na=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},ET:function(){delete y[""]},
YM:function(){},call:function(a,b,c,d){a=a||"..";var e="..";".."===a?e=ua:"/"==a.charAt(0)&&(e=_.F.mb(window.location.href),e="/"+ua+(e?"|"+e:""));++A;c&&(J[A]=c);var h={s:b,f:e,c:c?A:0,a:Array.prototype.slice.call(arguments,3),t:L[a],l:!!H[a]},k;a:if("bidir"===Ma||"c2p"===Ma&&".."===a||"p2c"===Ma&&".."!==a){k=window.location.href;var l="?";if("query"===aa)l="#";else if("hash"===aa)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=
ja[a])||null===f(a)||(k=N),0===b.indexOf("legacy__")&&(k=N,h.s=b.substring(8),h.c=h.c?h.c:A),h.g=!0,h.r=e,k?(H[a]&&(k=Qb.Ry),!1===k.call(a,e,h)&&(ja[a]=ta,N.call(a,e,h))):ra[a]?ra[a].push(h):ra[a]=[h]},Vt:l,tj:m,AA:p,Lv:v,ul:function(a){return L[a]},kH:function(a){delete C[a];delete H[a];delete L[a];delete M[a];delete ja[a]},DN:function(){return N.Fp()},fR:function(a,b){4<a.length?N.FX(a,d):c.apply(null,a.concat(b))},gR:function(a){a.a=Array.prototype.slice.call(a.a);window.setTimeout(function(){d(a)},
0)},mb:e,Dl:function(a){var b=null,c=l(a);c?b=c:(c=f(a))?b=c.origin:".."==a?b=Y.parent:(a=window.document.getElementById(a))&&"iframe"===a.tagName.toLowerCase()&&(b=a.src);return e(b)},xc:function(){!1===N.xc(d,a)&&(N=ta);fa?v(".."):_.Db.register("rpc",null,function(a){a=a.rpc||{};q(a);w(a)})},SK:h,EX:f,b$:"__ack",LB:ua||"..",Rfa:0,Qfa:1,Pfa:2}}();_.F.xc()};
_.F.config({OR:function(a){throw Error("h`"+a);}});_.wb=_.Cb;_.B("gadgets.rpc.config",_.F.config);_.B("gadgets.rpc.register",_.F.register);_.B("gadgets.rpc.unregister",_.F.unregister);_.B("gadgets.rpc.registerDefault",_.F.jR);_.B("gadgets.rpc.unregisterDefault",_.F.ET);_.B("gadgets.rpc.forceParentVerifiable",_.F.YM);_.B("gadgets.rpc.call",_.F.call);_.B("gadgets.rpc.getRelayUrl",_.F.Vt);_.B("gadgets.rpc.setRelayUrl",_.F.tj);_.B("gadgets.rpc.setAuthToken",_.F.AA);_.B("gadgets.rpc.setupReceiver",_.F.Lv);_.B("gadgets.rpc.getAuthToken",_.F.ul); _.B("gadgets.rpc.removeReceiver",_.F.kH);_.B("gadgets.rpc.getRelayChannel",_.F.DN);_.B("gadgets.rpc.receive",_.F.fR);_.B("gadgets.rpc.receiveSameDomain",_.F.gR);_.B("gadgets.rpc.getOrigin",_.F.mb);_.B("gadgets.rpc.getTargetOrigin",_.F.Dl);

_.E=_.E||{};_.E.Ww=function(a,b,c,d){"undefined"!=typeof a.addEventListener?a.addEventListener(b,c,d):"undefined"!=typeof a.attachEvent?a.attachEvent("on"+b,c):_.Ja("cannot attachBrowserEvent: "+b)};_.E.K6=function(a){var b=window;b.removeEventListener?b.removeEventListener("mousemove",a,!1):b.detachEvent?b.detachEvent("onmousemove",a):_.Ja("cannot removeBrowserEvent: mousemove")};

_.Aj=function(){function a(){e[0]=1732584193;e[1]=4023233417;e[2]=2562383102;e[3]=271733878;e[4]=3285377520;p=m=0}function b(a){for(var b=h,c=0;64>c;c+=4)b[c/4]=a[c]<<24|a[c+1]<<16|a[c+2]<<8|a[c+3];for(c=16;80>c;c++)a=b[c-3]^b[c-8]^b[c-14]^b[c-16],b[c]=(a<<1|a>>>31)&4294967295;a=e[0];for(var d=e[1],f=e[2],k=e[3],l=e[4],m,p,c=0;80>c;c++)40>c?20>c?(m=k^d&(f^k),p=1518500249):(m=d^f^k,p=1859775393):60>c?(m=d&f|k&(d|f),p=2400959708):(m=d^f^k,p=3395469782),m=((a<<5|a>>>27)&4294967295)+m+l+p+b[c]&4294967295,
l=k,k=f,f=(d<<30|d>>>2)&4294967295,d=a,a=m;e[0]=e[0]+a&4294967295;e[1]=e[1]+d&4294967295;e[2]=e[2]+f&4294967295;e[3]=e[3]+k&4294967295;e[4]=e[4]+l&4294967295}function c(a,c){if("string"===typeof a){a=(0,window.unescape)((0,window.encodeURIComponent)(a));for(var d=[],e=0,h=a.length;e<h;++e)d.push(a.charCodeAt(e));a=d}c||(c=a.length);d=0;if(0==m)for(;d+64<c;)b(a.slice(d,d+64)),d+=64,p+=64;for(;d<c;)if(f[m++]=a[d++],p++,64==m)for(m=0,b(f);d+64<c;)b(a.slice(d,d+64)),d+=64,p+=64}function d(){var a=[],
d=8*p;56>m?c(k,56-m):c(k,64-(m-56));for(var h=63;56<=h;h--)f[h]=d&255,d>>>=8;b(f);for(h=d=0;5>h;h++)for(var l=24;0<=l;l-=8)a[d++]=e[h]>>l&255;return a}for(var e=[],f=[],h=[],k=[128],l=1;64>l;++l)k[l]=0;var m,p;a();return{reset:a,update:c,digest:d,Sh:function(){for(var a=d(),b="",c=0;c<a.length;c++)b+="0123456789ABCDEF".charAt(Math.floor(a[c]/16))+"0123456789ABCDEF".charAt(a[c]%16);return b}}};
_.Bj=function(){function a(a){var b=_.Aj();b.update(a);return b.Sh()}var b=window.crypto;if(b&&"function"==typeof b.getRandomValues)return function(){var a=new window.Uint32Array(1);b.getRandomValues(a);return Number("0."+a[0])};var c=_.D("random/maxObserveMousemove");null==c&&(c=-1);var d=0,e=Math.random(),f=1,h=1E6*(window.screen.width*window.screen.width+window.screen.height),k=function(a){a=a||window.event;var b=a.screenX+a.clientX<<16,b=b+(a.screenY+a.clientY),b=(new Date).getTime()%1E6*b;f=
f*b%h;0<c&&++d==c&&_.E.K6(k)};0!=c&&_.E.Ww(window,"mousemove",k,!1);var l=a(window.document.cookie+"|"+window.document.location+"|"+(new Date).getTime()+"|"+e);return function(){var b=f,b=b+(0,window.parseInt)(l.substr(0,20),16);l=a(l);return b/(h+Math.pow(16,20))}}();
_.B("shindig.random",_.Bj);
});
// Google Inc.
