/* JS */ gapi.loaded_0(function(_){var window=this;
var da,ia,ja,ka,ya,za;_.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=function(a,b){if(b){var c=ia;a=a.split(".");for(var d=0;d<a.length-1;d++){var e=a[d];e in c||(c[e]={});c=c[e]}a=a[a.length-1];d=c[a];b=b(d);b!=d&&null!=b&&da(c,a,{configurable:!0,writable:!0,value:b})}};ka=function(a,b,c){if(null==a)throw new TypeError("The 'this' value for String.prototype."+c+" must not be null or undefined");if(b instanceof RegExp)throw new TypeError("First argument to String.prototype."+c+" must not be a regular expression");return a+""};
ja("String.prototype.repeat",function(a){return a?a:function(a){var b=ka(this,null,"repeat");if(0>a||1342177279<a)throw new window.RangeError("Invalid count value");a|=0;for(var d="";a;)if(a&1&&(d+=b),a>>>=1)b+=b;return d}});ja("String.prototype.startsWith",function(a){return a?a:function(a,c){var b=ka(this,a,"startsWith");a+="";var e=b.length,f=a.length;c=Math.max(0,Math.min(c|0,b.length));for(var h=0;h<f&&c<e;)if(b[c++]!=a[h++])return!1;return h>=f}});_.ma=_.ma||{};_.r=this;
_.na=function(a){return void 0!==a};
_.pa=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};_.qa=function(a){return"array"==_.pa(a)};_.t=function(a){return"string"==typeof a};_.xa="closure_uid_"+(1E9*Math.random()>>>0);ya=function(a,b,c){return a.call.apply(a.bind,arguments)};
za=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")?ya:za;return _.u.apply(null,arguments)};_.Aa=Date.now||function(){return+new Date};
_.B=function(a,b){function c(){}c.prototype=b.prototype;a.R=b.prototype;a.prototype=new c;a.prototype.constructor=a;a.$w=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)}};
_.Ea=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&&_.na(b)?c[d]=b:c=c[d]?c[d]:c[d]={}};_.Fa=window;_.Ha=window.document;_.Ia=_.Fa.location;_.La=/\[native code\]/;_.Oa=function(a,b,c){return a[b]=a[b]||c};_.Pa=function(){var a;if((a=Object.create)&&_.La.test(a))a=a(null);else{a={};for(var b in a)a[b]=void 0}return a};_.Qa=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)}; _.Ra=function(a,b){a=a||{};for(var c in a)_.Qa(a,c)&&(b[c]=a[c])};_.Ua=_.Oa(_.Fa,"gapi",{});
_.Va=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};_.Wa=new RegExp(/^/.source+/([a-zA-Z][-+.a-zA-Z0-9]*:)?/.source+/(\/\/[^\/?#]*)?/.source+/([^?#]*)?/.source+/(\?([^#]*))?/.source+/(#((#|[^#])*))?/.source+/$/.source); _.Xa=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");_.Ya=function(){return _.Fa.location.origin||_.Fa.location.protocol+"//"+_.Fa.location.host};
_.ab=function(a,b,c){_.Za(a,b,c,"add","at")};_.Za=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)};_.bb=_.Oa(_.Fa,"___jsl",_.Pa());_.Oa(_.bb,"I",0);_.Oa(_.bb,"hel",10);var cb,eb,fb,gb,hb,ib;cb=function(a){var b=window.___jsl=window.___jsl||{};b[a]=b[a]||[];return b[a]};eb=function(a){var b=window.___jsl=window.___jsl||{};b.cfg=!a&&b.cfg||{};return b.cfg};fb=function(a){return"object"===typeof a&&/\[native code\]/.test(a.push)};gb=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]&&!fb(a[c])&&!fb(b[c])?gb(a[c],b[c]):b[c]&&"object"===typeof b[c]?(a[c]=fb(b[c])?[]:{},gb(a[c],b[c])):a[c]=b[c])};
hb=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:{}}};
ib=function(a){eb(!0);var b=window.___gcfg,c=cb("cu");if(b&&b!==window.___gu){var d={};gb(d,b);c.push(d);window.___gu=b}var b=cb("cu"),e=window.document.scripts||window.document.getElementsByTagName("script")||[],d=[],f=[];f.push.apply(f,cb("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=hb(f))&&b.push(f));a&&(d={},gb(d,a),c.push(d));d=cb("cd");a=0;for(b=d.length;a<b;++a)gb(eb(),d[a]);d=cb("ci");a=0;for(b=d.length;a<b;++a)gb(eb(),d[a]);a=0;for(b=c.length;a<b;++a)gb(eb(),c[a])};_.D=function(a,b){if(!a)return eb();a=a.split("/");for(var c=eb(),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}; _.lb=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}ib(c)};
var mb=function(){var a=window.__GOOGLEAPIS;a&&(a.googleapis&&!a["googleapis.config"]&&(a["googleapis.config"]=a.googleapis),_.Oa(_.bb,"ci",[]).push(a),window.__GOOGLEAPIS=void 0)};mb&&mb();ib();_.C("gapi.config.get",_.D);_.C("gapi.config.update",_.lb);
(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)};_.Ba=function(b){a(2,b)};_.Ca=function(b){a(3,b)};_.ob=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.dja=function(b){a.push(b)};_.E.sja=function(){for(var b=0,c=a.length;b<c;++b)a[b]()}})();
_.pb=function(a){return!!a&&"object"===typeof a&&_.La.test(a.push)};_.qb=function(a,b){var c=_.Oa(_.bb,"watt",_.Pa());_.Oa(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);
_.tb=window.console;_.ub=function(a){_.tb&&_.tb.log&&_.tb.log(a)};_.vb=function(){};
_.wb=function(){var a=window.gadgets&&window.gadgets.config&&window.gadgets.config.get;a&&_.lb(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";_.lb(a)},Nc:function(){}}}();
_.C("gadgets.config.register",_.wb.register);_.C("gadgets.config.get",_.wb.get);_.C("gadgets.config.init",_.wb.Nc);_.C("gadgets.config.update",_.wb.update);
var yb=function(a){return 10>a?"0"+a:a},zb={"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},Ab=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=zb[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(Ab(a[c])||"null");return"["+b.join(",")+"]"}for(c in a)!/___$/.test(c)&&_.Qa(a,c)&&"string"===typeof c&&(d=Ab(a[c]))&&b.push(Ab(c)+":"+d);return"{"+b.join(",")+"}"}return""}},Bb=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},Cb=!1,Eb;try{Cb=!!window.JSON&&'["a"]'===window.JSON.stringify(["a"])&&"a"===window.JSON.parse('["a"]')[0]}catch(a){}Eb=function(a){try{return window.JSON.parse(a)}catch(b){return!1}};_.Fb=Cb?window.JSON.stringify:Ab;_.Gb=Cb?Eb:Bb;Eb||(Date.prototype.toJSON=function(){return[this.getUTCFullYear(),"-",yb(this.getUTCMonth()+1),"-",yb(this.getUTCDate()),"T",yb(this.getUTCHours()),":",yb(this.getUTCMinutes()),":",yb(this.getUTCSeconds()),"Z"].join("")});

_.C("gadgets.json.stringify",_.Fb);_.C("gadgets.json.parse",_.Gb);_.Va(_.Fa.location.href,"rpctoken")&&_.ab(_.Ha,"unload",function(){});
var Kb;_.Ib=function(){var a=_.Ha.readyState;return"complete"===a||"interactive"===a&&-1==window.navigator.userAgent.indexOf("MSIE")};_.Jb=function(a){if(_.Ib())a();else{var b=!1,c=function(){if(!b)return b=!0,a.apply(this,arguments)};_.Fa.addEventListener?(_.Fa.addEventListener("load",c,!1),_.Fa.addEventListener("DOMContentLoaded",c,!1)):_.Fa.attachEvent&&(_.Fa.attachEvent("onreadystatechange",function(){_.Ib()&&c.apply(this,arguments)}),_.Fa.attachEvent("onload",c))}};Kb=Kb||{};Kb.FR=null; Kb.$P=null;Kb.Ry=null;Kb.frameElement=null;
Kb=Kb||{};
Kb.wJ||(Kb.wJ=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,_.Gb)(a.data);if(b&&b.f){(0,_.ob)("gadgets.rpc.receive("+window.name+"): "+a.data);var d=_.G.El(b.f);e&&("undefined"!==typeof a.origin?a.origin!==d:a.domain!==/^.+:\/\/([^:]+).*/.exec(d)[1])?_.Ca("Invalid rpc message origin. "+
d+" vs "+(a.origin||"")):c(b,a.origin)}}var c,d,e=!0;return{Ip:function(){return"wpm"},G3:function(){return!0},Nc:function(f,h){_.wb.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.El(a),e=_.G.RK(a);d?window.setTimeout(function(){var a=(0,_.Fb)(c);(0,_.ob)("gadgets.rpc.send("+window.name+"): "+a);e.postMessage(a,d)},0):".."!=a&&_.Ca("No relay set (used as window.postMessage targetOrigin), cannot send cross-domain message"); return!0}}}());
Kb=Kb||{};
Kb.Zx||(Kb.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="+z+"&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(".."),A++,50<=A&&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.L8;w.setup(a.Er,".."===b?_.G.IB: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.El(a);var d=_.G.wl(a);w["sendMessage_"+(".."===a?_.G.IB:a)+"_"+d+"_"+(".."===a?"INNER":"OUTER")].call(w,(0,_.Fb)(c),b);return!0}function h(a,b){var c=(0,_.Gb)(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.IB,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,A=0,I=null,M={},z=window.location.protocol+"//"+window.location.host,K;window.___jsl=
window.___jsl||{};K=window.___jsl._fm={};_.wb.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{Ip:function(){return"flash"},G3:function(){return!0},Nc:function(a,b){p=a;q=b;return m=!0},xd:function(a,c){x.push({Er:c,L8:a});null===w&&null===v&&(v=window.setTimeout(b,100));return!0},call:f,vX:h,lha:d,mha: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.iR=_.G.registerDefault,_.G.FT=_.G.unregisterDefault,_.G.XM=_.G.forceParentVerifiable,_.G.call=_.G.call,_.G.Tt=_.G.getRelayUrl,_.G.uj=_.G.setRelayUrl,_.G.CA=_.G.setAuthToken,_.G.Iv=_.G.setupReceiver,_.G.wl=_.G.getAuthToken,_.G.kH=_.G.removeReceiver,_.G.BN=_.G.getRelayChannel,_.G.jA=_.G.receive,_.G.eR=_.G.receiveSameDomain,_.G.nb=
_.G.getOrigin,_.G.El=_.G.getTargetOrigin,_.G.RK=_.G._getTargetWin,_.G.uX=_.G._parseSiblingId);else{_.G=function(){function a(a,b){if(!oa[a]){var c=aa;b||(c=Ma);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||(_.Ca("Invalid gadgets.rpc token. "+
M[c]+" vs "+d),Ga(c,2));f.onunload=function(){F[c]&&!ba&&(Ga(c,1),_.G.kH(c))};b();e=(0,_.Gb)((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&&(_.Ca("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]=Ma,F[a]=!0):F[a]=!0}}function l(a){(a=A[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));A[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=Kb.Ry||Ma,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({}):_.wb.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={},A={},I={},M={},z=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(){},
Ma=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 Kb.Zx;if("rmr"==W.rpctx)return Kb.FR;var a="function"===typeof window.postMessage?Kb.wJ:"object"===typeof window.postMessage?Kb.wJ:window.ActiveXObject?Kb.Zx?Kb.Zx:Kb.$P?Kb.$P:Kb.Ry:0<window.navigator.userAgent.indexOf("WebKit")?
Kb.FR:"Gecko"===window.navigator.product?Kb.frameElement:Kb.Ry;a||(a=Ma);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.NR&&(Ga=a.NR)},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]},iR:function(a){y[""]=a},FT:function(){delete y[""]},
XM: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:""));++z;c&&(K[z]=c);var h={s:b,f:e,c:c?z: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:z),h.g=!0,h.r=e,k?(I[a]&&(k=Kb.Ry),!1===k.call(a,e,h)&&(oa[a]=Ma,aa.call(a,e,h))):sa[a]?sa[a].push(h):sa[a]=[h]},Tt:l,uj:m,CA:p,Iv:v,wl:function(a){return M[a]},kH:function(a){delete A[a];delete I[a];delete M[a];delete F[a];delete oa[a]},BN:function(){return aa.Ip()},jA:function(a,b){4<a.length?aa.vX(a,d):c.apply(null,a.concat(b))},eR:function(a){a.a=Array.prototype.slice.call(a.a);window.setTimeout(function(){d(a)},
0)},nb:e,El: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=Ma);Y?v(".."):_.wb.register("rpc",null,function(a){a=a.rpc||{};q(a);w(a)})},RK:h,uX:f,C9:"__ack",IB:wa||"..",jfa:0,ifa:1,hfa:2}}();_.G.Nc()};
_.G.config({NR:function(a){throw Error("h`"+a);}});_.ob=_.vb;_.C("gadgets.rpc.config",_.G.config);_.C("gadgets.rpc.register",_.G.register);_.C("gadgets.rpc.unregister",_.G.unregister);_.C("gadgets.rpc.registerDefault",_.G.iR);_.C("gadgets.rpc.unregisterDefault",_.G.FT);_.C("gadgets.rpc.forceParentVerifiable",_.G.XM);_.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.Iv);_.C("gadgets.rpc.getAuthToken",_.G.wl); _.C("gadgets.rpc.removeReceiver",_.G.kH);_.C("gadgets.rpc.getRelayChannel",_.G.BN);_.C("gadgets.rpc.receive",_.G.jA);_.C("gadgets.rpc.receiveSameDomain",_.G.eR);_.C("gadgets.rpc.getOrigin",_.G.nb);_.C("gadgets.rpc.getTargetOrigin",_.G.El);

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

_.yj=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,Xh: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}}};
_.zj=function(){function a(a){var b=_.yj();b.update(a);return b.Xh()}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.n6(k)};0!=c&&_.E.Tw(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",_.zj);
});
// Google Inc.
