/* 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);
(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);

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

_.Dj=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,Wh: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}}};
_.Ej=function(){function a(a){var b=_.Dj();b.update(a);return b.Wh()}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.s6(k)};0!=c&&_.E.Uw(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))}}();
_.C("shindig.random",_.Ej);
});
// Google Inc.
