|
|
|
@ -0,0 +1,917 @@
|
|
|
|
|
gapi.loaded_0(function(_){var window=this;
|
|
|
|
|
var ca,fa,ha,ia,ka,la,ya;_.ba=function(a){return function(){return _.aa[a].apply(this,arguments)}};_.aa=[];ca=function(a){var b=0;return function(){return b<a.length?{done:!1,value:a[b++]}:{done:!0}}};fa="function"==typeof Object.defineProperties?Object.defineProperty:function(a,b,c){if(a==Array.prototype||a==Object.prototype)return a;a[b]=c.value;return a};
|
|
|
|
|
ha=function(a){a=["object"==typeof globalThis&&globalThis,a,"object"==typeof window&&window,"object"==typeof self&&self,"object"==typeof global&&global];for(var b=0;b<a.length;++b){var c=a[b];if(c&&c.Math==Math)return c}throw Error("a");};ia=ha(this);ka=function(a,b){if(b)a:{var c=ia;a=a.split(".");for(var d=0;d<a.length-1;d++){var e=a[d];if(!(e in c))break a;c=c[e]}a=a[a.length-1];d=c[a];b=b(d);b!=d&&null!=b&&fa(c,a,{configurable:!0,writable:!0,value:b})}};
|
|
|
|
|
ka("Symbol",function(a){if(a)return a;var b=function(f,h){this.pT=f;fa(this,"description",{configurable:!0,writable:!0,value:h})};b.prototype.toString=function(){return this.pT};var c="jscomp_symbol_"+(1E9*Math.random()>>>0)+"_",d=0,e=function(f){if(this instanceof e)throw new TypeError("Symbol is not a constructor");return new b(c+(f||"")+"_"+d++,f)};return e});
|
|
|
|
|
ka("Symbol.iterator",function(a){if(a)return a;a=Symbol("Symbol.iterator");for(var b="Array Int8Array Uint8Array Uint8ClampedArray Int16Array Uint16Array Int32Array Uint32Array Float32Array Float64Array".split(" "),c=0;c<b.length;c++){var d=ia[b[c]];"function"===typeof d&&"function"!=typeof d.prototype[a]&&fa(d.prototype,a,{configurable:!0,writable:!0,value:function(){return la(ca(this))}})}return a});la=function(a){a={next:a};a[Symbol.iterator]=function(){return this};return a};
|
|
|
|
|
_.pa=function(a){var b="undefined"!=typeof Symbol&&Symbol.iterator&&a[Symbol.iterator];return b?b.call(a):{next:ca(a)}};_.sa="function"==typeof Object.create?Object.create:function(a){var b=function(){};b.prototype=a;return new b};if("function"==typeof Object.setPrototypeOf)ya=Object.setPrototypeOf;else{var za;a:{var Ba={a:!0},Ea={};try{Ea.__proto__=Ba;za=Ea.a;break a}catch(a){}za=!1}ya=za?function(a,b){a.__proto__=b;if(a.__proto__!==b)throw new TypeError(a+" is not extensible");return a}:null}
|
|
|
|
|
_.Ha=ya;
|
|
|
|
|
ka("Promise",function(a){function b(){this.ef=null}function c(h){return h instanceof e?h:new e(function(k){k(h)})}if(a)return a;b.prototype.FK=function(h){if(null==this.ef){this.ef=[];var k=this;this.GK(function(){k.HX()})}this.ef.push(h)};var d=ia.setTimeout;b.prototype.GK=function(h){d(h,0)};b.prototype.HX=function(){for(;this.ef&&this.ef.length;){var h=this.ef;this.ef=[];for(var k=0;k<h.length;++k){var l=h[k];h[k]=null;try{l()}catch(m){this.ko(m)}}}this.ef=null};b.prototype.ko=function(h){this.GK(function(){throw h;})};
|
|
|
|
|
var e=function(h){this.Da=0;this.Re=void 0;this.Lp=[];this.bP=!1;var k=this.dC();try{h(k.resolve,k.reject)}catch(l){k.reject(l)}};e.prototype.dC=function(){function h(m){return function(n){l||(l=!0,m.call(k,n))}}var k=this,l=!1;return{resolve:h(this.K3),reject:h(this.dG)}};e.prototype.K3=function(h){if(h===this)this.dG(new TypeError("A Promise cannot resolve to itself"));else if(h instanceof e)this.m5(h);else{a:switch(typeof h){case "object":var k=null!=h;break a;case "function":k=!0;break a;default:k=
|
|
|
|
|
!1}k?this.J3(h):this.JM(h)}};e.prototype.J3=function(h){var k=void 0;try{k=h.then}catch(l){this.dG(l);return}"function"==typeof k?this.n5(k,h):this.JM(h)};e.prototype.dG=function(h){this.iS(2,h)};e.prototype.JM=function(h){this.iS(1,h)};e.prototype.iS=function(h,k){if(0!=this.Da)throw Error("b`"+h+"`"+k+"`"+this.Da);this.Da=h;this.Re=k;2===this.Da&&this.Z3();this.IX()};e.prototype.Z3=function(){var h=this;d(function(){if(h.S1()){var k=ia.console;"undefined"!==typeof k&&k.error(h.Re)}},1)};e.prototype.S1=
|
|
|
|
|
function(){if(this.bP)return!1;var h=ia.CustomEvent,k=ia.Event,l=ia.dispatchEvent;if("undefined"===typeof l)return!0;"function"===typeof h?h=new h("unhandledrejection",{cancelable:!0}):"function"===typeof k?h=new k("unhandledrejection",{cancelable:!0}):(h=ia.document.createEvent("CustomEvent"),h.initCustomEvent("unhandledrejection",!1,!0,h));h.promise=this;h.reason=this.Re;return l(h)};e.prototype.IX=function(){if(null!=this.Lp){for(var h=0;h<this.Lp.length;++h)f.FK(this.Lp[h]);this.Lp=null}};var f=
|
|
|
|
|
new b;e.prototype.m5=function(h){var k=this.dC();h.yv(k.resolve,k.reject)};e.prototype.n5=function(h,k){var l=this.dC();try{h.call(k,l.resolve,l.reject)}catch(m){l.reject(m)}};e.prototype.then=function(h,k){function l(p,t){return"function"==typeof p?function(v){try{m(p(v))}catch(r){n(r)}}:t}var m,n,q=new e(function(p,t){m=p;n=t});this.yv(l(h,m),l(k,n));return q};e.prototype.catch=function(h){return this.then(void 0,h)};e.prototype.yv=function(h,k){function l(){switch(m.Da){case 1:h(m.Re);break;case 2:k(m.Re);
|
|
|
|
|
break;default:throw Error("c`"+m.Da);}}var m=this;null==this.Lp?f.FK(l):this.Lp.push(l);this.bP=!0};e.resolve=c;e.reject=function(h){return new e(function(k,l){l(h)})};e.race=function(h){return new e(function(k,l){for(var m=_.pa(h),n=m.next();!n.done;n=m.next())c(n.value).yv(k,l)})};e.all=function(h){var k=_.pa(h),l=k.next();return l.done?c([]):new e(function(m,n){function q(v){return function(r){p[v]=r;t--;0==t&&m(p)}}var p=[],t=0;do p.push(void 0),t++,c(l.value).yv(q(p.length-1),n),l=k.next();while(!l.done)})};
|
|
|
|
|
return e});var Ia=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+""};ka("String.prototype.startsWith",function(a){return a?a:function(b,c){var d=Ia(this,b,"startsWith"),e=d.length,f=b.length;c=Math.max(0,Math.min(c|0,d.length));for(var h=0;h<f&&c<e;)if(d[c++]!=b[h++])return!1;return h>=f}});
|
|
|
|
|
var La=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)};
|
|
|
|
|
ka("WeakMap",function(a){function b(){}function c(l){var m=typeof l;return"object"===m&&null!==l||"function"===m}function d(l){if(!La(l,f)){var m=new b;fa(l,f,{value:m})}}function e(l){var m=Object[l];m&&(Object[l]=function(n){if(n instanceof b)return n;Object.isExtensible(n)&&d(n);return m(n)})}if(function(){if(!a||!Object.seal)return!1;try{var l=Object.seal({}),m=Object.seal({}),n=new a([[l,2],[m,3]]);if(2!=n.get(l)||3!=n.get(m))return!1;n.delete(l);n.set(m,4);return!n.has(l)&&4==n.get(m)}catch(q){return!1}}())return a;
|
|
|
|
|
var f="$jscomp_hidden_"+Math.random();e("freeze");e("preventExtensions");e("seal");var h=0,k=function(l){this.Ca=(h+=Math.random()+1).toString();if(l){l=_.pa(l);for(var m;!(m=l.next()).done;)m=m.value,this.set(m[0],m[1])}};k.prototype.set=function(l,m){if(!c(l))throw Error("d");d(l);if(!La(l,f))throw Error("e`"+l);l[f][this.Ca]=m;return this};k.prototype.get=function(l){return c(l)&&La(l,f)?l[f][this.Ca]:void 0};k.prototype.has=function(l){return c(l)&&La(l,f)&&La(l[f],this.Ca)};k.prototype.delete=
|
|
|
|
|
function(l){return c(l)&&La(l,f)&&La(l[f],this.Ca)?delete l[f][this.Ca]:!1};return k});
|
|
|
|
|
ka("Map",function(a){if(function(){if(!a||"function"!=typeof a||!a.prototype.entries||"function"!=typeof Object.seal)return!1;try{var k=Object.seal({x:4}),l=new a(_.pa([[k,"s"]]));if("s"!=l.get(k)||1!=l.size||l.get({x:4})||l.set({x:4},"t")!=l||2!=l.size)return!1;var m=l.entries(),n=m.next();if(n.done||n.value[0]!=k||"s"!=n.value[1])return!1;n=m.next();return n.done||4!=n.value[0].x||"t"!=n.value[1]||!m.next().done?!1:!0}catch(q){return!1}}())return a;var b=new WeakMap,c=function(k){this.Pf={};this.tf=
|
|
|
|
|
f();this.size=0;if(k){k=_.pa(k);for(var l;!(l=k.next()).done;)l=l.value,this.set(l[0],l[1])}};c.prototype.set=function(k,l){k=0===k?0:k;var m=d(this,k);m.list||(m.list=this.Pf[m.id]=[]);m.Ee?m.Ee.value=l:(m.Ee={next:this.tf,Mj:this.tf.Mj,head:this.tf,key:k,value:l},m.list.push(m.Ee),this.tf.Mj.next=m.Ee,this.tf.Mj=m.Ee,this.size++);return this};c.prototype.delete=function(k){k=d(this,k);return k.Ee&&k.list?(k.list.splice(k.index,1),k.list.length||delete this.Pf[k.id],k.Ee.Mj.next=k.Ee.next,k.Ee.next.Mj=
|
|
|
|
|
k.Ee.Mj,k.Ee.head=null,this.size--,!0):!1};c.prototype.clear=function(){this.Pf={};this.tf=this.tf.Mj=f();this.size=0};c.prototype.has=function(k){return!!d(this,k).Ee};c.prototype.get=function(k){return(k=d(this,k).Ee)&&k.value};c.prototype.entries=function(){return e(this,function(k){return[k.key,k.value]})};c.prototype.keys=function(){return e(this,function(k){return k.key})};c.prototype.values=function(){return e(this,function(k){return k.value})};c.prototype.forEach=function(k,l){for(var m=this.entries(),
|
|
|
|
|
n;!(n=m.next()).done;)n=n.value,k.call(l,n[1],n[0],this)};c.prototype[Symbol.iterator]=c.prototype.entries;var d=function(k,l){var m=l&&typeof l;"object"==m||"function"==m?b.has(l)?m=b.get(l):(m=""+ ++h,b.set(l,m)):m="p_"+l;var n=k.Pf[m];if(n&&La(k.Pf,m))for(k=0;k<n.length;k++){var q=n[k];if(l!==l&&q.key!==q.key||l===q.key)return{id:m,list:n,index:k,Ee:q}}return{id:m,list:n,index:-1,Ee:void 0}},e=function(k,l){var m=k.tf;return la(function(){if(m){for(;m.head!=k.tf;)m=m.Mj;for(;m.next!=m.head;)return m=
|
|
|
|
|
m.next,{done:!1,value:l(m)};m=null}return{done:!0,value:void 0}})},f=function(){var k={};return k.Mj=k.next=k.head=k},h=0;return c});ka("Array.prototype.find",function(a){return a?a:function(b,c){a:{var d=this;d instanceof String&&(d=String(d));for(var e=d.length,f=0;f<e;f++){var h=d[f];if(b.call(c,h,f,d)){b=h;break a}}b=void 0}return b}});
|
|
|
|
|
var Pa=function(a,b){a instanceof String&&(a+="");var c=0,d=!1,e={next:function(){if(!d&&c<a.length){var f=c++;return{value:b(f,a[f]),done:!1}}d=!0;return{done:!0,value:void 0}}};e[Symbol.iterator]=function(){return e};return e};ka("Array.prototype.entries",function(a){return a?a:function(){return Pa(this,function(b,c){return[b,c]})}});ka("Array.prototype.keys",function(a){return a?a:function(){return Pa(this,function(b){return b})}});
|
|
|
|
|
var Qa="function"==typeof Object.assign?Object.assign:function(a,b){for(var c=1;c<arguments.length;c++){var d=arguments[c];if(d)for(var e in d)La(d,e)&&(a[e]=d[e])}return a};ka("Object.assign",function(a){return a||Qa});
|
|
|
|
|
ka("Set",function(a){if(function(){if(!a||"function"!=typeof a||!a.prototype.entries||"function"!=typeof Object.seal)return!1;try{var c=Object.seal({x:4}),d=new a(_.pa([c]));if(!d.has(c)||1!=d.size||d.add(c)!=d||1!=d.size||d.add({x:4})!=d||2!=d.size)return!1;var e=d.entries(),f=e.next();if(f.done||f.value[0]!=c||f.value[1]!=c)return!1;f=e.next();return f.done||f.value[0]==c||4!=f.value[0].x||f.value[1]!=f.value[0]?!1:e.next().done}catch(h){return!1}}())return a;var b=function(c){this.wa=new Map;if(c){c=
|
|
|
|
|
_.pa(c);for(var d;!(d=c.next()).done;)this.add(d.value)}this.size=this.wa.size};b.prototype.add=function(c){c=0===c?0:c;this.wa.set(c,c);this.size=this.wa.size;return this};b.prototype.delete=function(c){c=this.wa.delete(c);this.size=this.wa.size;return c};b.prototype.clear=function(){this.wa.clear();this.size=0};b.prototype.has=function(c){return this.wa.has(c)};b.prototype.entries=function(){return this.wa.entries()};b.prototype.values=function(){return this.wa.values()};b.prototype.keys=b.prototype.values;
|
|
|
|
|
b.prototype[Symbol.iterator]=b.prototype.values;b.prototype.forEach=function(c,d){var e=this;this.wa.forEach(function(f){return c.call(d,f,f,e)})};return b});ka("Number.isFinite",function(a){return a?a:function(b){return"number"!==typeof b?!1:!isNaN(b)&&Infinity!==b&&-Infinity!==b}});ka("Array.prototype.values",function(a){return a?a:function(){return Pa(this,function(b,c){return c})}});
|
|
|
|
|
ka("Array.from",function(a){return a?a:function(b,c,d){c=null!=c?c:function(k){return k};var e=[],f="undefined"!=typeof Symbol&&Symbol.iterator&&b[Symbol.iterator];if("function"==typeof f){b=f.call(b);for(var h=0;!(f=b.next()).done;)e.push(c.call(d,f.value,h++))}else for(f=b.length,h=0;h<f;h++)e.push(c.call(d,b[h],h));return e}});ka("Object.entries",function(a){return a?a:function(b){var c=[],d;for(d in b)La(b,d)&&c.push([d,b[d]]);return c}});
|
|
|
|
|
ka("Object.values",function(a){return a?a:function(b){var c=[],d;for(d in b)La(b,d)&&c.push(b[d]);return c}});ka("Object.is",function(a){return a?a:function(b,c){return b===c?0!==b||1/b===1/c:b!==b&&c!==c}});ka("Array.prototype.includes",function(a){return a?a:function(b,c){var d=this;d instanceof String&&(d=String(d));var e=d.length;c=c||0;for(0>c&&(c=Math.max(c+e,0));c<e;c++){var f=d[c];if(f===b||Object.is(f,b))return!0}return!1}});
|
|
|
|
|
ka("String.prototype.includes",function(a){return a?a:function(b,c){return-1!==Ia(this,b,"includes").indexOf(b,c||0)}});ka("Array.prototype.flat",function(a){return a?a:function(b){b=void 0===b?1:b;for(var c=[],d=0;d<this.length;d++){var e=this[d];Array.isArray(e)&&0<b?(e=Array.prototype.flat.call(e,b-1),c.push.apply(c,e)):c.push(e)}return c}});ka("Number.isNaN",function(a){return a?a:function(b){return"number"===typeof b&&isNaN(b)}});
|
|
|
|
|
ka("Array.prototype.fill",function(a){return a?a:function(b,c,d){var e=this.length||0;0>c&&(c=Math.max(0,e+c));if(null==d||d>e)d=e;d=Number(d);0>d&&(d=Math.max(0,e+d));for(c=Number(c||0);c<d;c++)this[c]=b;return this}});var Ra=function(a){return a?a:Array.prototype.fill};ka("Int8Array.prototype.fill",Ra);ka("Uint8Array.prototype.fill",Ra);ka("Uint8ClampedArray.prototype.fill",Ra);ka("Int16Array.prototype.fill",Ra);ka("Uint16Array.prototype.fill",Ra);ka("Int32Array.prototype.fill",Ra);
|
|
|
|
|
ka("Uint32Array.prototype.fill",Ra);ka("Float32Array.prototype.fill",Ra);ka("Float64Array.prototype.fill",Ra);ka("String.prototype.replaceAll",function(a){return a?a:function(b,c){if(b instanceof RegExp&&!b.global)throw new TypeError("String.prototype.replaceAll called with a non-global RegExp argument.");return b instanceof RegExp?this.replace(b,c):this.replace(new RegExp(String(b).replace(/([-()\[\]{}+?*.$\^|,:#<!\\])/g,"\\$1").replace(/\x08/g,"\\x08"),"g"),c)}});
|
|
|
|
|
ka("globalThis",function(a){return a||ia});ka("Math.imul",function(a){return a?a:function(b,c){b=Number(b);c=Number(c);var d=b&65535,e=c&65535;return d*e+((b>>>16&65535)*e+d*(c>>>16&65535)<<16>>>0)|0}});
|
|
|
|
|
ka("String.fromCodePoint",function(a){return a?a:function(b){for(var c="",d=0;d<arguments.length;d++){var e=Number(arguments[d]);if(0>e||1114111<e||e!==Math.floor(e))throw new RangeError("invalid_code_point "+e);65535>=e?c+=String.fromCharCode(e):(e-=65536,c+=String.fromCharCode(e>>>10&1023|55296),c+=String.fromCharCode(e&1023|56320))}return c}});_.Wa={};
|
|
|
|
|
/*
|
|
|
|
|
|
|
|
|
|
Copyright The Closure Library Authors.
|
|
|
|
|
SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
*/
|
|
|
|
|
_.Xa=_.Xa||{};_.Ya=this||self;_.$a="closure_uid_"+(1E9*Math.random()>>>0);_.u=function(a,b){a=a.split(".");var c=_.Ya;a[0]in c||"undefined"==typeof c.execScript||c.execScript("var "+a[0]);for(var d;a.length&&(d=a.shift());)a.length||void 0===b?c=c[d]&&c[d]!==Object.prototype[d]?c[d]:c[d]={}:c[d]=b};
|
|
|
|
|
_.ab=function(a,b){function c(){}c.prototype=b.prototype;a.H=b.prototype;a.prototype=new c;a.prototype.constructor=a;a.Yq=function(d,e,f){for(var h=Array(arguments.length-2),k=2;k<arguments.length;k++)h[k-2]=arguments[k];return b.prototype[e].apply(d,h)}};
|
|
|
|
|
_.bb=window.osapi=window.osapi||{};
|
|
|
|
|
|
|
|
|
|
window.___jsl=window.___jsl||{};
|
|
|
|
|
(window.___jsl.cd=window.___jsl.cd||[]).push({gwidget:{parsetags:"explicit"},appsapi:{plus_one_service:"/plus/v1"},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"},
|
|
|
|
|
blogger:{url:":socialhost:/:session_prefix:_/widget/render/blogger?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"},appfinder:{url:"https://workspace.google.com/:session_prefix:marketplace/appfinder?usegapi=1"},":source:":"1p"},poclient:{update_session:"google.updateSessionCallback"},"googleapis.config":{rpc:"/rpc",root:"https://content.googleapis.com",
|
|
|
|
|
"root-1p":"https://clients6.google.com",useGapiForXd3:!0,xd3:"/static/proxy.html",auth:{useInterimAuth:!1}},report:{apis:["iframes\\..*","gadgets\\..*","gapi\\.appcirclepicker\\..*","gapi\\.client\\..*"],rate:1E-4},client:{perApiBatch:!0}});
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
|
|
|
|
|
SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
*/
|
|
|
|
|
var Bb,Hb,Jb,Kb,Mb;_.fb=function(a,b){return _.aa[a]=b};_.gb=function(a,b){if(Error.captureStackTrace)Error.captureStackTrace(this,_.gb);else{var c=Error().stack;c&&(this.stack=c)}a&&(this.message=String(a));void 0!==b&&(this.cause=b);this.WQ=!0};_.ib=function(a,b){return 0<=(0,_.hb)(a,b)};_.lb=function(a){var b=a.length;if(0<b){for(var c=Array(b),d=0;d<b;d++)c[d]=a[d];return c}return[]};_.mb=function(a,b,c){for(var d in a)b.call(c,a[d],d,a)};
|
|
|
|
|
_.nb=function(a,b){for(var c in a)if(a[c]==b)return!0;return!1};_.ob=function(){var a=_.Ya.navigator;return a&&(a=a.userAgent)?a:""};_.qb=function(a){return _.pb(_.ob(),a)};_.rb=function(){return _.qb("Opera")};_.sb=function(){return _.qb("Trident")||_.qb("MSIE")};_.tb=function(){return _.qb("Firefox")||_.qb("FxiOS")};_.vb=function(){return _.qb("Safari")&&!(_.ub()||_.qb("Coast")||_.rb()||_.qb("Edge")||_.qb("Edg/")||_.qb("OPR")||_.tb()||_.qb("Silk")||_.qb("Android"))};
|
|
|
|
|
_.ub=function(){return(_.qb("Chrome")||_.qb("CriOS"))&&!_.qb("Edge")||_.qb("Silk")};_.wb=function(){return _.qb("Android")&&!(_.ub()||_.tb()||_.rb()||_.qb("Silk"))};_.zb=function(a,b){if(void 0!==a.tagName){if("script"===a.tagName.toLowerCase())throw Error("q");if("style"===a.tagName.toLowerCase())throw Error("r");}a.innerHTML=_.yb(b)};Bb=function(a){return new _.Ab(function(b){return b.substr(0,a.length+1).toLowerCase()===a+":"})};_.Cb=function(){return _.qb("iPhone")&&!_.qb("iPod")&&!_.qb("iPad")};
|
|
|
|
|
_.Db=function(){return _.Cb()||_.qb("iPad")||_.qb("iPod")};_.Eb=function(a){var b=typeof a;return"object"==b&&null!=a||"function"==b};_.D=function(a,b){a.prototype=(0,_.sa)(b.prototype);a.prototype.constructor=a;if(_.Ha)(0,_.Ha)(a,b);else for(var c in b)if("prototype"!=c)if(Object.defineProperties){var d=Object.getOwnPropertyDescriptor(b,c);d&&Object.defineProperty(a,c,d)}else a[c]=b[c];a.H=b.prototype};_.Fb=function(a){var b=typeof a;return"object"!=b?b:a?Array.isArray(a)?"array":b:"null"};
|
|
|
|
|
_.Gb=function(a){var b=_.Fb(a);return"array"==b||"object"==b&&"number"==typeof a.length};Hb=0;_.Ib=function(a){return Object.prototype.hasOwnProperty.call(a,_.$a)&&a[_.$a]||(a[_.$a]=++Hb)};Jb=function(a,b,c){return a.call.apply(a.bind,arguments)};
|
|
|
|
|
Kb=function(a,b,c){if(!a)throw Error();if(2<arguments.length){var d=Array.prototype.slice.call(arguments,2);return function(){var e=Array.prototype.slice.call(arguments);Array.prototype.unshift.apply(e,d);return a.apply(b,e)}}return function(){return a.apply(b,arguments)}};_.J=function(a,b,c){_.J=Function.prototype.bind&&-1!=Function.prototype.bind.toString().indexOf("native code")?Jb:Kb;return _.J.apply(null,arguments)};Mb=function(a){return a};_.ab(_.gb,Error);_.gb.prototype.name="CustomError";
|
|
|
|
|
var Nb;
|
|
|
|
|
_.hb=Array.prototype.indexOf?function(a,b){return Array.prototype.indexOf.call(a,b,void 0)}:function(a,b){if("string"===typeof a)return"string"!==typeof b||1!=b.length?-1:a.indexOf(b,0);for(var c=0;c<a.length;c++)if(c in a&&a[c]===b)return c;return-1};
|
|
|
|
|
_.Ob=Array.prototype.lastIndexOf?function(a,b){return Array.prototype.lastIndexOf.call(a,b,a.length-1)}:function(a,b){var c=a.length-1;0>c&&(c=Math.max(0,a.length+c));if("string"===typeof a)return"string"!==typeof b||1!=b.length?-1:a.lastIndexOf(b,c);for(;0<=c;c--)if(c in a&&a[c]===b)return c;return-1};_.Pb=Array.prototype.forEach?function(a,b,c){Array.prototype.forEach.call(a,b,c)}:function(a,b,c){for(var d=a.length,e="string"===typeof a?a.split(""):a,f=0;f<d;f++)f in e&&b.call(c,e[f],f,a)};
|
|
|
|
|
_.Qb=Array.prototype.map?function(a,b){return Array.prototype.map.call(a,b,void 0)}:function(a,b){for(var c=a.length,d=Array(c),e="string"===typeof a?a.split(""):a,f=0;f<c;f++)f in e&&(d[f]=b.call(void 0,e[f],f,a));return d};_.Rb=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="string"===typeof a?a.split(""):a,f=0;f<d;f++)if(f in e&&b.call(c,e[f],f,a))return!0;return!1};
|
|
|
|
|
_.Sb=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="string"===typeof a?a.split(""):a,f=0;f<d;f++)if(f in e&&!b.call(c,e[f],f,a))return!1;return!0};
|
|
|
|
|
var Tb,Ub=function(){if(void 0===Tb){var a=null,b=_.Ya.trustedTypes;if(b&&b.createPolicy)try{a=b.createPolicy("goog#html",{createHTML:Mb,createScript:Mb,createScriptURL:Mb})}catch(c){_.Ya.console&&_.Ya.console.error(c.message)}Tb=a}return Tb};
|
|
|
|
|
var Xb,Wb;_.Yb=function(a,b){this.BS=a===Wb&&b||"";this.GV=Xb};_.Yb.prototype.yi=!0;_.Yb.prototype.Cg=function(){return this.BS};_.Zb=function(a){return a instanceof _.Yb&&a.constructor===_.Yb&&a.GV===Xb?a.BS:"type_error:Const"};_.$b=function(a){return new _.Yb(Wb,a)};Xb={};Wb={};
|
|
|
|
|
var ac;_.bc=function(a,b){this.ZF=b===ac?a:""};_.bc.prototype.toString=function(){return this.ZF+""};_.bc.prototype.yi=!0;_.bc.prototype.Cg=function(){return this.ZF.toString()};_.dc=function(a){return _.cc(a).toString()};_.cc=function(a){if(a instanceof _.bc&&a.constructor===_.bc)return a.ZF;_.Fb(a);return"type_error:TrustedResourceUrl"};_.hc=function(a){return _.ec(_.Zb(a))};ac={};_.ec=function(a){var b=Ub();a=b?b.createScriptURL(a):a;return new _.bc(a,ac)};
|
|
|
|
|
var nc,oc,pc,qc,rc,sc,mc,uc;_.ic=function(a,b){return 0==a.lastIndexOf(b,0)};_.jc=function(a){return/^[\s\xa0]*$/.test(a)};_.lc=String.prototype.trim?function(a){return a.trim()}:function(a){return/^[\s\xa0]*([\s\S]*?)[\s\xa0]*$/.exec(a)[1]};
|
|
|
|
|
_.tc=function(a){if(!mc.test(a))return a;-1!=a.indexOf("&")&&(a=a.replace(nc,"&"));-1!=a.indexOf("<")&&(a=a.replace(oc,"<"));-1!=a.indexOf(">")&&(a=a.replace(pc,">"));-1!=a.indexOf('"')&&(a=a.replace(qc,"""));-1!=a.indexOf("'")&&(a=a.replace(rc,"'"));-1!=a.indexOf("\x00")&&(a=a.replace(sc,"�"));return a};nc=/&/g;oc=/</g;pc=/>/g;qc=/"/g;rc=/'/g;sc=/\x00/g;mc=/[\x00&<>"']/;_.pb=function(a,b){return-1!=a.indexOf(b)};
|
|
|
|
|
_.vc=function(a,b){var c=0;a=(0,_.lc)(String(a)).split(".");b=(0,_.lc)(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=uc(0==f[1].length?0:parseInt(f[1],10),0==h[1].length?0:parseInt(h[1],10))||uc(0==f[2].length,0==h[2].length)||uc(f[2],h[2]);f=f[3];h=h[3]}while(0==c)}return c};
|
|
|
|
|
uc=function(a,b){return a<b?-1:a>b?1:0};
|
|
|
|
|
var zc,Bc,wc;_.xc=function(a,b){this.YF=b===wc?a:""};_.xc.prototype.toString=function(){return this.YF.toString()};_.xc.prototype.yi=!0;_.xc.prototype.Cg=function(){return this.YF.toString()};_.yc=function(a){if(a instanceof _.xc&&a.constructor===_.xc)return a.YF;_.Fb(a);return"type_error:SafeUrl"};zc=/^data:(.*);base64,[a-z0-9+\/]+=*$/i;Bc=/^(?:(?:https?|mailto|ftp):|[^:/?#]*(?:[/?#]|$))/i;
|
|
|
|
|
_.Dc=function(a){if(a instanceof _.xc)return a;a="object"==typeof a&&a.yi?a.Cg():String(a);Bc.test(a)?a=_.Cc(a):(a=String(a).replace(/(%0A|%0D)/g,""),a=a.match(zc)?_.Cc(a):null);return a};_.Ec=function(a){if(a instanceof _.xc)return a;a="object"==typeof a&&a.yi?a.Cg():String(a);Bc.test(a)||(a="about:invalid#zClosurez");return _.Cc(a)};wc={};_.Cc=function(a){return new _.xc(a,wc)};_.Fc=_.Cc("about:invalid#zClosurez");
|
|
|
|
|
_.Gc={};_.Hc=function(a,b){this.XF=b===_.Gc?a:"";this.yi=!0};_.Hc.prototype.Cg=function(){return this.XF};_.Hc.prototype.toString=function(){return this.XF.toString()};_.Ic=new _.Hc("",_.Gc);_.Jc=RegExp("^[-,.\"'%_!#/ a-zA-Z0-9\\[\\]]+$");_.Kc=RegExp("\\b(url\\([ \t\n]*)('[ -&(-\\[\\]-~]*'|\"[ !#-\\[\\]-~]*\"|[!#-&*-\\[\\]-~]*)([ \t\n]*\\))","g");
|
|
|
|
|
_.Lc=RegExp("\\b(calc|cubic-bezier|fit-content|hsl|hsla|linear-gradient|matrix|minmax|radial-gradient|repeat|rgb|rgba|(rotate|scale|translate)(X|Y|Z|3d)?|steps|var)\\([-+*/0-9a-zA-Z.%#\\[\\], ]+\\)","g");
|
|
|
|
|
_.Nc={};_.Oc=function(a,b){this.WF=b===_.Nc?a:"";this.yi=!0};_.Oc.prototype.toString=function(){return this.WF.toString()};_.Qc=function(a){a=_.Zb(a);return 0===a.length?Pc:new _.Oc(a,_.Nc)};_.Oc.prototype.Cg=function(){return this.WF};var Pc=new _.Oc("",_.Nc);
|
|
|
|
|
var Rc;Rc={};_.Sc=function(a,b){this.VF=b===Rc?a:"";this.yi=!0};_.Sc.prototype.Cg=function(){return this.VF.toString()};_.Sc.prototype.toString=function(){return this.VF.toString()};_.yb=function(a){if(a instanceof _.Sc&&a.constructor===_.Sc)return a.VF;_.Fb(a);return"type_error:SafeHtml"};_.Uc=function(a){return a instanceof _.Sc?a:_.Tc(_.tc("object"==typeof a&&a.yi?a.Cg():String(a)))};_.Tc=function(a){var b=Ub();a=b?b.createHTML(a):a;return new _.Sc(a,Rc)};
|
|
|
|
|
_.Vc=new _.Sc(_.Ya.trustedTypes&&_.Ya.trustedTypes.emptyHTML||"",Rc);_.Wc=_.Tc("<br>");
|
|
|
|
|
var Xc;try{new URL("s://g"),Xc=!0}catch(a){Xc=!1}_.Yc=Xc;
|
|
|
|
|
_.Ab=function(a){this.Gi=a};_.Zc=[Bb("data"),Bb("http"),Bb("https"),Bb("mailto"),Bb("ftp"),new _.Ab(function(a){return/^[^:]*([/?#]|$)/.test(a)})];
|
|
|
|
|
var $c=function(a){$c[" "](a);return a};$c[" "]=function(){};_.ad=function(a,b){try{return $c(a[b]),!0}catch(c){}return!1};
|
|
|
|
|
var qd,rd,wd;_.bd=_.rb();_.cd=_.sb();_.dd=_.qb("Edge");_.ed=_.dd||_.cd;_.fd=_.qb("Gecko")&&!(_.pb(_.ob().toLowerCase(),"webkit")&&!_.qb("Edge"))&&!(_.qb("Trident")||_.qb("MSIE"))&&!_.qb("Edge");_.gd=_.pb(_.ob().toLowerCase(),"webkit")&&!_.qb("Edge");_.hd=_.gd&&_.qb("Mobile");_.id=_.qb("Macintosh");_.jd=_.qb("Windows");_.kd=_.qb("Linux")||_.qb("CrOS");_.ld=_.qb("Android");_.md=_.Cb();_.nd=_.qb("iPad");_.od=_.qb("iPod");_.pd=_.Db();qd=function(){var a=_.Ya.document;return a?a.documentMode:void 0};
|
|
|
|
|
a:{var sd="",td=function(){var a=_.ob();if(_.fd)return/rv:([^\);]+)(\)|;)/.exec(a);if(_.dd)return/Edge\/([\d\.]+)/.exec(a);if(_.cd)return/\b(?:MSIE|rv)[: ]([^\);]+)(\)|;)/.exec(a);if(_.gd)return/WebKit\/(\S+)/.exec(a);if(_.bd)return/(?:Version)[ \/]?(\S+)/.exec(a)}();td&&(sd=td?td[1]:"");if(_.cd){var ud=qd();if(null!=ud&&ud>parseFloat(sd)){rd=String(ud);break a}}rd=sd}_.vd=rd;if(_.Ya.document&&_.cd){var xd=qd();wd=xd?xd:parseInt(_.vd,10)||void 0}else wd=void 0;_.yd=wd;
|
|
|
|
|
try{(new self.OffscreenCanvas(0,0)).getContext("2d")}catch(a){}_.zd=_.cd||_.gd;
|
|
|
|
|
_.Ad=function(a){var b=!1,c;return function(){b||(c=a(),b=!0);return c}};
|
|
|
|
|
var Bd,Fd;Bd=_.Ad(function(){var a=document.createElement("div"),b=document.createElement("div");b.appendChild(document.createElement("div"));a.appendChild(b);b=a.firstChild.firstChild;a.innerHTML=_.yb(_.Vc);return!b.parentElement});_.Cd=function(a,b){if(Bd())for(;a.lastChild;)a.removeChild(a.lastChild);a.innerHTML=_.yb(b)};_.Dd=function(a,b){b=b instanceof _.xc?b:_.Ec(b);a.href=_.yc(b)};
|
|
|
|
|
_.Ed=function(a,b,c,d){a=a instanceof _.xc?a:_.Ec(a);b=b||_.Ya;c=c instanceof _.Yb?_.Zb(c):c||"";return void 0!==d?b.open(_.yc(a),c,d):b.open(_.yc(a),c)};Fd=/^[\w+/_-]+[=]{0,2}$/;_.Gd=function(a,b){b=(b||_.Ya).document;return b.querySelector?(a=b.querySelector(a))&&(a=a.nonce||a.getAttribute("nonce"))&&Fd.test(a)?a:"":""};
|
|
|
|
|
_.Hd=String.prototype.repeat?function(a,b){return a.repeat(b)}:function(a,b){return Array(b+1).join(a)};_.Id=2147483648*Math.random()|0;
|
|
|
|
|
var Nd,Rd;_.Ld=function(a){return a?new _.Jd(_.Kd(a)):Nb||(Nb=new _.Jd)};
|
|
|
|
|
_.Md=function(a,b,c,d){a=d||a;b=b&&"*"!=b?String(b).toUpperCase():"";if(a.querySelectorAll&&a.querySelector&&(b||c))return a.querySelectorAll(b+(c?"."+c:""));if(c&&a.getElementsByClassName){a=a.getElementsByClassName(c);if(b){d={};for(var e=0,f=0,h;h=a[f];f++)b==h.nodeName&&(d[e++]=h);d.length=e;return d}return a}a=a.getElementsByTagName(b||"*");if(c){d={};for(f=e=0;h=a[f];f++)b=h.className,"function"==typeof b.split&&_.ib(b.split(/\s+/),c)&&(d[e++]=h);d.length=e;return d}return a};
|
|
|
|
|
_.Od=function(a,b){_.mb(b,function(c,d){c&&"object"==typeof c&&c.yi&&(c=c.Cg());"style"==d?a.style.cssText=c:"class"==d?a.className=c:"for"==d?a.htmlFor=c:Nd.hasOwnProperty(d)?a.setAttribute(Nd[d],c):_.ic(d,"aria-")||_.ic(d,"data-")?a.setAttribute(d,c):a[d]=c})};Nd={cellpadding:"cellPadding",cellspacing:"cellSpacing",colspan:"colSpan",frameborder:"frameBorder",height:"height",maxlength:"maxLength",nonce:"nonce",role:"role",rowspan:"rowSpan",type:"type",usemap:"useMap",valign:"vAlign",width:"width"};
|
|
|
|
|
_.Pd=function(a){return a?a.parentWindow||a.defaultView:window};_.Sd=function(a,b){var c=b[1],d=_.Qd(a,String(b[0]));c&&("string"===typeof c?d.className=c:Array.isArray(c)?d.className=c.join(" "):_.Od(d,c));2<b.length&&Rd(a,d,b,2);return d};
|
|
|
|
|
Rd=function(a,b,c,d){function e(k){k&&b.appendChild("string"===typeof k?a.createTextNode(k):k)}for(;d<c.length;d++){var f=c[d];if(!_.Gb(f)||_.Eb(f)&&0<f.nodeType)e(f);else{a:{if(f&&"number"==typeof f.length){if(_.Eb(f)){var h="function"==typeof f.item||"string"==typeof f.item;break a}if("function"===typeof f){h="function"==typeof f.item;break a}}h=!1}_.Pb(h?_.lb(f):f,e)}}};_.Ud=function(a){return _.Qd(document,a)};
|
|
|
|
|
_.Qd=function(a,b){b=String(b);"application/xhtml+xml"===a.contentType&&(b=b.toLowerCase());return a.createElement(b)};_.Vd=function(a){if(1!=a.nodeType)return!1;switch(a.tagName){case "APPLET":case "AREA":case "BASE":case "BR":case "COL":case "COMMAND":case "EMBED":case "FRAME":case "HR":case "IMG":case "INPUT":case "IFRAME":case "ISINDEX":case "KEYGEN":case "LINK":case "NOFRAMES":case "NOSCRIPT":case "META":case "OBJECT":case "PARAM":case "SCRIPT":case "SOURCE":case "STYLE":case "TRACK":case "WBR":return!1}return!0};
|
|
|
|
|
_.Wd=function(a,b){Rd(_.Kd(a),a,arguments,1)};_.Xd=function(a){for(var b;b=a.firstChild;)a.removeChild(b)};_.Yd=function(a,b){b.parentNode&&b.parentNode.insertBefore(a,b)};_.Zd=function(a){return a&&a.parentNode?a.parentNode.removeChild(a):null};_.$d=function(a){return void 0!=a.children?a.children:Array.prototype.filter.call(a.childNodes,function(b){return 1==b.nodeType})};_.ae=function(a){return _.Eb(a)&&1==a.nodeType};
|
|
|
|
|
_.be=function(a,b){if(!a||!b)return!1;if(a.contains&&1==b.nodeType)return a==b||a.contains(b);if("undefined"!=typeof a.compareDocumentPosition)return a==b||!!(a.compareDocumentPosition(b)&16);for(;b&&a!=b;)b=b.parentNode;return b==a};_.Kd=function(a){return 9==a.nodeType?a:a.ownerDocument||a.document};
|
|
|
|
|
_.ce=function(a,b){if("textContent"in a)a.textContent=b;else if(3==a.nodeType)a.data=String(b);else if(a.firstChild&&3==a.firstChild.nodeType){for(;a.lastChild!=a.firstChild;)a.removeChild(a.lastChild);a.firstChild.data=String(b)}else _.Xd(a),a.appendChild(_.Kd(a).createTextNode(String(b)))};_.Jd=function(a){this.ub=a||_.Ya.document||document};_.g=_.Jd.prototype;_.g.Fa=_.Ld;_.g.aH=_.ba(0);_.g.lb=function(){return this.ub};_.g.N=_.ba(1);_.g.getElementsByTagName=function(a,b){return(b||this.ub).getElementsByTagName(String(a))};
|
|
|
|
|
_.g.na=function(a,b,c){return _.Sd(this.ub,arguments)};_.g.createElement=function(a){return _.Qd(this.ub,a)};_.g.createTextNode=function(a){return this.ub.createTextNode(String(a))};_.g.getWindow=function(){var a=this.ub;return a.parentWindow||a.defaultView};_.g.appendChild=function(a,b){a.appendChild(b)};_.g.append=_.Wd;_.g.canHaveChildren=_.Vd;_.g.Ud=_.Xd;_.g.KO=_.Yd;_.g.removeNode=_.Zd;_.g.YC=_.$d;_.g.isElement=_.ae;_.g.contains=_.be;_.g.Ei=_.ba(2);
|
|
|
|
|
/*
|
|
|
|
|
gapi.loader.OBJECT_CREATE_TEST_OVERRIDE &&*/
|
|
|
|
|
_.de=window;_.ee=document;_.fe=_.de.location;_.ge=/\[native code\]/;_.he=function(a,b,c){return a[b]=a[b]||c};_.ie=function(){var a;if((a=Object.create)&&_.ge.test(a))a=a(null);else{a={};for(var b in a)a[b]=void 0}return a};_.je=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)};_.ke=function(a,b){a=a||{};for(var c in a)_.je(a,c)&&(b[c]=a[c])};_.le=_.he(_.de,"gapi",{});
|
|
|
|
|
_.me=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=decodeURIComponent(a[2])}catch(e){}return c};_.ne=new RegExp(/^/.source+/([a-zA-Z][-+.a-zA-Z0-9]*:)?/.source+/(\/\/[^\/?#]*)?/.source+/([^?#]*)?/.source+/(\?([^#]*))?/.source+/(#((#|[^#])*))?/.source+/$/.source);_.oe=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");
|
|
|
|
|
_.pe=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");
|
|
|
|
|
_.re=function(a,b,c){_.qe(a,b,c,"add","at")};_.qe=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)};
|
|
|
|
|
_.te={};_.te=_.he(_.de,"___jsl",_.ie());_.he(_.te,"I",0);_.he(_.te,"hel",10);
|
|
|
|
|
var ue,ve,we,xe,ye,ze,Ae;ue=function(a){var b=window.___jsl=window.___jsl||{};b[a]=b[a]||[];return b[a]};ve=function(a){var b=window.___jsl=window.___jsl||{};b.cfg=!a&&b.cfg||{};return b.cfg};we=function(a){return"object"===typeof a&&/\[native code\]/.test(a.push)};
|
|
|
|
|
xe=function(a,b,c){if(b&&"object"===typeof b)for(var d in b)!Object.prototype.hasOwnProperty.call(b,d)||c&&"___goc"===d&&"undefined"===typeof b[d]||(a[d]&&b[d]&&"object"===typeof a[d]&&"object"===typeof b[d]&&!we(a[d])&&!we(b[d])?xe(a[d],b[d]):b[d]&&"object"===typeof b[d]?(a[d]=we(b[d])?[]:{},xe(a[d],b[d])):a[d]=b[d])};
|
|
|
|
|
ye=function(a){if(a&&!/^\s+$/.test(a)){for(;0==a.charCodeAt(a.length-1);)a=a.substring(0,a.length-1);try{var 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:{}}};
|
|
|
|
|
ze=function(a,b){var c={___goc:void 0};a.length&&a[a.length-1]&&Object.hasOwnProperty.call(a[a.length-1],"___goc")&&"undefined"===typeof a[a.length-1].___goc&&(c=a.pop());xe(c,b);a.push(c)};
|
|
|
|
|
Ae=function(a){ve(!0);var b=window.___gcfg,c=ue("cu"),d=window.___gu;b&&b!==d&&(ze(c,b),window.___gu=b);b=ue("cu");var e=document.scripts||document.getElementsByTagName("script")||[];d=[];var f=[];f.push.apply(f,ue("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=void 0,(f=ye(f))&&b.push(f));a&&ze(c,a);d=ue("cd");a=0;for(b=d.length;a<b;++a)xe(ve(),d[a],!0);d=ue("ci");a=0;for(b=d.length;a<b;++a)xe(ve(),d[a],!0);a=0;for(b=c.length;a<b;++a)xe(ve(),c[a],!0)};_.Be=function(a,b){var c=ve();if(!a)return c;a=a.split("/");for(var 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};
|
|
|
|
|
_.Ce=function(a,b){var c;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}else c=a;Ae(c)};
|
|
|
|
|
var De=function(){var a=window.__GOOGLEAPIS;a&&(a.googleapis&&!a["googleapis.config"]&&(a["googleapis.config"]=a.googleapis),_.he(_.te,"ci",[]).push(a),window.__GOOGLEAPIS=void 0)};
|
|
|
|
|
De&&De();Ae();
|
|
|
|
|
_.u("gapi.config.get",_.Be);_.u("gapi.config.update",_.Ce);
|
|
|
|
|
|
|
|
|
|
var Ke,Le,Me,Ne,Oe,Pe,Qe,Re,Se,Te,Ue,Ve,We,Xe,Ye,Ze,$e,af,bf,cf,df,ef,ff,gf,hf,jf,kf,lf,mf,nf,of,rf,sf;Me=void 0;Ne=function(a){try{return _.Ya.JSON.parse.call(_.Ya.JSON,a)}catch(b){return!1}};Oe=function(a){return Object.prototype.toString.call(a)};Pe=Oe(0);Qe=Oe(new Date(0));Re=Oe(!0);Se=Oe("");Te=Oe({});Ue=Oe([]);
|
|
|
|
|
Ve=function(a,b){if(b)for(var c=0,d=b.length;c<d;++c)if(a===b[c])throw new TypeError("Converting circular structure to JSON");d=typeof a;if("undefined"!==d){c=Array.prototype.slice.call(b||[],0);c[c.length]=a;b=[];var e=Oe(a);if(null!=a&&"function"===typeof a.toJSON&&(Object.prototype.hasOwnProperty.call(a,"toJSON")||(e!==Ue||a.constructor!==Array&&a.constructor!==Object)&&(e!==Te||a.constructor!==Array&&a.constructor!==Object)&&e!==Se&&e!==Pe&&e!==Re&&e!==Qe))return Ve(a.toJSON.call(a),c);if(null==
|
|
|
|
|
a)b[b.length]="null";else if(e===Pe)a=Number(a),isNaN(a)||isNaN(a-a)?a="null":-0===a&&0>1/a&&(a="-0"),b[b.length]=String(a);else if(e===Re)b[b.length]=String(!!Number(a));else{if(e===Qe)return Ve(a.toISOString.call(a),c);if(e===Ue&&Oe(a.length)===Pe){b[b.length]="[";var f=0;for(d=Number(a.length)>>0;f<d;++f)f&&(b[b.length]=","),b[b.length]=Ve(a[f],c)||"null";b[b.length]="]"}else if(e==Se&&Oe(a.length)===Pe){b[b.length]='"';f=0;for(c=Number(a.length)>>0;f<c;++f)d=String.prototype.charAt.call(a,f),
|
|
|
|
|
e=String.prototype.charCodeAt.call(a,f),b[b.length]="\b"===d?"\\b":"\f"===d?"\\f":"\n"===d?"\\n":"\r"===d?"\\r":"\t"===d?"\\t":"\\"===d||'"'===d?"\\"+d:31>=e?"\\u"+(e+65536).toString(16).substr(1):32<=e&&65535>=e?d:"\ufffd";b[b.length]='"'}else if("object"===d){b[b.length]="{";d=0;for(f in a)Object.prototype.hasOwnProperty.call(a,f)&&(e=Ve(a[f],c),void 0!==e&&(d++&&(b[b.length]=","),b[b.length]=Ve(f),b[b.length]=":",b[b.length]=e));b[b.length]="}"}else return}return b.join("")}};We=/[\0-\x07\x0b\x0e-\x1f]/;
|
|
|
|
|
Xe=/^([^"]*"([^\\"]|\\.)*")*[^"]*"([^"\\]|\\.)*[\0-\x1f]/;Ye=/^([^"]*"([^\\"]|\\.)*")*[^"]*"([^"\\]|\\.)*\\[^\\\/"bfnrtu]/;Ze=/^([^"]*"([^\\"]|\\.)*")*[^"]*"([^"\\]|\\.)*\\u([0-9a-fA-F]{0,3}[^0-9a-fA-F])/;$e=/"([^\0-\x1f\\"]|\\[\\\/"bfnrt]|\\u[0-9a-fA-F]{4})*"/g;af=/-?(0|[1-9][0-9]*)(\.[0-9]+)?([eE][-+]?[0-9]+)?/g;bf=/[ \t\n\r]+/g;cf=/[^"]:/;df=/""/g;ef=/true|false|null/g;ff=/00/;gf=/[\{]([^0\}]|0[^:])/;hf=/(^|\[)[,:]|[,:](\]|\}|[,:]|$)/;jf=/[^\[,:][\[\{]/;kf=/^(\{|\}|\[|\]|,|:|0)+/;lf=/\u2028/g;
|
|
|
|
|
mf=/\u2029/g;
|
|
|
|
|
nf=function(a){a=String(a);if(We.test(a)||Xe.test(a)||Ye.test(a)||Ze.test(a))return!1;var b=a.replace($e,'""');b=b.replace(af,"0");b=b.replace(bf,"");if(cf.test(b))return!1;b=b.replace(df,"0");b=b.replace(ef,"0");if(ff.test(b)||gf.test(b)||hf.test(b)||jf.test(b)||!b||(b=b.replace(kf,"")))return!1;a=a.replace(lf,"\\u2028").replace(mf,"\\u2029");b=void 0;try{b=Me?[Ne(a)]:eval("(function (var_args) {\n return Array.prototype.slice.call(arguments, 0);\n})(\n"+a+"\n)")}catch(c){return!1}return b&&1===
|
|
|
|
|
b.length?b[0]:!1};of=function(){var a=((_.Ya.document||{}).scripts||[]).length;if((void 0===Ke||void 0===Me||Le!==a)&&-1!==Le){Ke=Me=!1;Le=-1;try{try{Me=!!_.Ya.JSON&&'{"a":[3,true,"1970-01-01T00:00:00.000Z"]}'===_.Ya.JSON.stringify.call(_.Ya.JSON,{a:[3,!0,new Date(0)],c:function(){}})&&!0===Ne("true")&&3===Ne('[{"a":3}]')[0].a}catch(b){}Ke=Me&&!Ne("[00]")&&!Ne('"\u0007"')&&!Ne('"\\0"')&&!Ne('"\\v"')}finally{Le=a}}};_.pf=function(a){if(-1===Le)return!1;of();return(Ke?Ne:nf)(a)};
|
|
|
|
|
_.qf=function(a){if(-1!==Le)return of(),Me?_.Ya.JSON.stringify.call(_.Ya.JSON,a):Ve(a)};rf=!Date.prototype.toISOString||"function"!==typeof Date.prototype.toISOString||"1970-01-01T00:00:00.000Z"!==(new Date(0)).toISOString();
|
|
|
|
|
sf=function(){var a=Date.prototype.getUTCFullYear.call(this);return[0>a?"-"+String(1E6-a).substr(1):9999>=a?String(1E4+a).substr(1):"+"+String(1E6+a).substr(1),"-",String(101+Date.prototype.getUTCMonth.call(this)).substr(1),"-",String(100+Date.prototype.getUTCDate.call(this)).substr(1),"T",String(100+Date.prototype.getUTCHours.call(this)).substr(1),":",String(100+Date.prototype.getUTCMinutes.call(this)).substr(1),":",String(100+Date.prototype.getUTCSeconds.call(this)).substr(1),".",String(1E3+Date.prototype.getUTCMilliseconds.call(this)).substr(1),
|
|
|
|
|
"Z"].join("")};Date.prototype.toISOString=rf?sf:Date.prototype.toISOString;
|
|
|
|
|
|
|
|
|
|
var tf=function(){this.ig=window.console};tf.prototype.log=function(a){this.ig&&this.ig.log&&this.ig.log(a)};tf.prototype.error=function(a){this.ig&&(this.ig.error?this.ig.error(a):this.ig.log&&this.ig.log(a))};tf.prototype.warn=function(a){this.ig&&(this.ig.warn?this.ig.warn(a):this.ig.log&&this.ig.log(a))};tf.prototype.debug=function(){};_.uf=new tf;
|
|
|
|
|
|
|
|
|
|
_.Rg=_.tb();_.Sg=_.Cb()||_.qb("iPod");_.Tg=_.qb("iPad");_.Ug=_.wb();_.Vg=_.ub();_.Wg=_.vb()&&!_.Db();
|
|
|
|
|
|
|
|
|
|
_.Xg=function(a,b){for(var c=1;c<arguments.length;c++){var d=arguments[c];if(_.Gb(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)}};_.Yg=function(a,b){b=b||a;for(var c=0,d=0,e={};d<a.length;){var f=a[d++],h=_.Eb(f)?"o"+_.Ib(f):(typeof f).charAt(0)+f;Object.prototype.hasOwnProperty.call(e,h)||(e[h]=!0,b[c++]=f)}b.length=c};
|
|
|
|
|
_.Zg=function(a,b){a.src=_.cc(b);var c,d;(c=(b=null==(d=(c=(a.ownerDocument&&a.ownerDocument.defaultView||window).document).querySelector)?void 0:d.call(c,"script[nonce]"))?b.nonce||b.getAttribute("nonce")||"":"")&&a.setAttribute("nonce",c)};_.$g=function(a){for(var b=[],c=0,d=0;d<a.length;d++){var e=a.charCodeAt(d);255<e&&(b[c++]=e&255,e>>=8);b[c++]=e}return b};
|
|
|
|
|
var ah,bh,dh;ah={};bh=null;_.ch=_.fd||_.gd||!_.Wg&&!_.cd&&"function"==typeof _.Ya.atob;_.eh=function(a,b){void 0===b&&(b=0);dh();b=ah[b];for(var c=Array(Math.floor(a.length/3)),d=b[64]||"",e=0,f=0;e<a.length-2;e+=3){var h=a[e],k=a[e+1],l=a[e+2],m=b[h>>2];h=b[(h&3)<<4|k>>4];k=b[(k&15)<<2|l>>6];l=b[l&63];c[f++]=m+h+k+l}m=0;l=d;switch(a.length-e){case 2:m=a[e+1],l=b[(m&15)<<2]||d;case 1:a=a[e],c[f]=b[a>>2]+b[(a&3)<<4|m>>4]+l+d}return c.join("")};
|
|
|
|
|
_.fh=function(a,b){function c(l){for(;d<a.length;){var m=a.charAt(d++),n=bh[m];if(null!=n)return n;if(!_.jc(m))throw Error("D`"+m);}return l}dh();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))}};
|
|
|
|
|
dh=function(){if(!bh){bh={};for(var a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".split(""),b=["+/=","+/","-_=","-_.","-_"],c=0;5>c;c++){var d=a.concat(b[c].split(""));ah[c]=d;for(var e=0;e<d.length;e++){var f=d[e];void 0===bh[f]&&(bh[f]=e)}}}};
|
|
|
|
|
|
|
|
|
|
_.Ch={};
|
|
|
|
|
var Eh;_.Dh=function(a){this.ub=a||{cookie:""}};_.g=_.Dh.prototype;_.g.isEnabled=function(){if(!_.Ya.navigator.cookieEnabled)return!1;if(!this.isEmpty())return!0;this.set("TESTCOOKIESENABLED","1",{aF:60});if("1"!==this.get("TESTCOOKIESENABLED"))return!1;this.remove("TESTCOOKIESENABLED");return!0};
|
|
|
|
|
_.g.set=function(a,b,c){var d=!1;if("object"===typeof c){var e=c.Ofa;d=c.secure||!1;var f=c.domain||void 0;var h=c.path||void 0;var k=c.aF}if(/[;=\s]/.test(a))throw Error("G`"+a);if(/[;\r\n]/.test(b))throw Error("H`"+b);void 0===k&&(k=-1);this.ub.cookie=a+"="+b+(f?";domain="+f:"")+(h?";path="+h:"")+(0>k?"":0==k?";expires="+(new Date(1970,1,1)).toUTCString():";expires="+(new Date(Date.now()+1E3*k)).toUTCString())+(d?";secure":"")+(null!=e?";samesite="+e:"")};
|
|
|
|
|
_.g.get=function(a,b){for(var c=a+"=",d=(this.ub.cookie||"").split(";"),e=0,f;e<d.length;e++){f=(0,_.lc)(d[e]);if(0==f.lastIndexOf(c,0))return f.slice(c.length);if(f==a)return""}return b};_.g.remove=function(a,b,c){var d=this.Wh(a);this.set(a,"",{aF:0,path:b,domain:c});return d};_.g.Uf=function(){return Eh(this).keys};_.g.Wc=function(){return Eh(this).values};_.g.isEmpty=function(){return!this.ub.cookie};_.g.Ib=function(){return this.ub.cookie?(this.ub.cookie||"").split(";").length:0};
|
|
|
|
|
_.g.Wh=function(a){return void 0!==this.get(a)};_.g.nj=function(a){for(var b=Eh(this).values,c=0;c<b.length;c++)if(b[c]==a)return!0;return!1};_.g.clear=function(){for(var a=Eh(this).keys,b=a.length-1;0<=b;b--)this.remove(a[b])};Eh=function(a){a=(a.ub.cookie||"").split(";");for(var b=[],c=[],d,e,f=0;f<a.length;f++)e=(0,_.lc)(a[f]),d=e.indexOf("="),-1==d?(b.push(""),c.push(e)):(b.push(e.substring(0,d)),c.push(e.substring(d+1)));return{keys:b,values:c}};
|
|
|
|
|
_.Fh=new _.Dh("undefined"==typeof document?null:document);
|
|
|
|
|
|
|
|
|
|
_.Qh={};_.Rh=function(a){return _.Qh[a||"token"]||null};
|
|
|
|
|
|
|
|
|
|
_.ji=function(a,b){return"string"===typeof b?a.getElementById(b):b};_.ki=function(a,b){var c=Array.prototype.slice.call(arguments,1);return function(){var d=c.slice();d.push.apply(d,arguments);return a.apply(this,d)}};_.li=function(){};_.mi=[];_.ni=[];_.oi=!1;_.pi=function(a){_.mi[_.mi.length]=a;if(_.oi)for(var b=0;b<_.ni.length;b++)a((0,_.J)(_.ni[b].wrap,_.ni[b]))};
|
|
|
|
|
|
|
|
|
|
var ri,ti;_.qi=function(a,b){b=(0,_.hb)(a,b);var c;(c=0<=b)&&Array.prototype.splice.call(a,b,1);return c};ri=function(a,b){for(var c in a)if(b.call(void 0,a[c],c,a))return!0;return!1};_.si=function(a){for(var b in a)return!1;return!0};_.ui=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<ti.length;f++)c=ti[f],Object.prototype.hasOwnProperty.call(d,c)&&(a[c]=d[c])}};_.vi=function(a){a&&"function"==typeof a.Ha&&a.Ha()};
|
|
|
|
|
_.xi=function(a,b){a=a.split(".");b=b||_.Ya;for(var c=0;c<a.length;c++)if(b=b[a[c]],null==b)return null;return b};ti="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" ");_.yi=function(a,b){var c=a.length-b.length;return 0<=c&&a.indexOf(b,c)==c};_.zi=function(a,b,c){return Object.prototype.hasOwnProperty.call(a,b)?a[b]:a[b]=c(b)};
|
|
|
|
|
_.Ai=function(){this.vg=this.vg;this.jn=this.jn};_.Ai.prototype.vg=!1;_.Ai.prototype.isDisposed=function(){return this.vg};_.Ai.prototype.Ha=function(){this.vg||(this.vg=!0,this.ta())};_.Ci=function(a,b){_.Bi(a,_.ki(_.vi,b))};_.Bi=function(a,b){a.vg?b():(a.jn||(a.jn=[]),a.jn.push(b))};_.Ai.prototype.ta=function(){if(this.jn)for(;this.jn.length;)this.jn.shift()()};
|
|
|
|
|
_.Di=function(a,b){this.type=a;this.currentTarget=this.target=b;this.defaultPrevented=this.yt=!1};_.Di.prototype.stopPropagation=function(){this.yt=!0};_.Di.prototype.preventDefault=function(){this.defaultPrevented=!0};
|
|
|
|
|
var Ei=function(){if(!_.Ya.addEventListener||!Object.defineProperty)return!1;var a=!1,b=Object.defineProperty({},"passive",{get:function(){a=!0}});try{_.Ya.addEventListener("test",function(){},b),_.Ya.removeEventListener("test",function(){},b)}catch(c){}return a}();
|
|
|
|
|
_.Fi=function(a,b){_.Di.call(this,a?a.type:"");this.relatedTarget=this.currentTarget=this.target=null;this.button=this.screenY=this.screenX=this.clientY=this.clientX=this.offsetY=this.offsetX=0;this.key="";this.charCode=this.keyCode=0;this.metaKey=this.shiftKey=this.altKey=this.ctrlKey=!1;this.state=null;this.QF=!1;this.pointerId=0;this.pointerType="";this.Fe=null;a&&this.yd(a,b)};_.ab(_.Fi,_.Di);var Gi={2:"touch",3:"pen",4:"mouse"};
|
|
|
|
|
_.Fi.prototype.yd=function(a,b){var c=this.type=a.type,d=a.changedTouches&&a.changedTouches.length?a.changedTouches[0]:null;this.target=a.target||a.srcElement;this.currentTarget=b;(b=a.relatedTarget)?_.fd&&(_.ad(b,"nodeName")||(b=null)):"mouseover"==c?b=a.fromElement:"mouseout"==c&&(b=a.toElement);this.relatedTarget=b;d?(this.clientX=void 0!==d.clientX?d.clientX:d.pageX,this.clientY=void 0!==d.clientY?d.clientY:d.pageY,this.screenX=d.screenX||0,this.screenY=d.screenY||0):(this.offsetX=_.gd||void 0!==
|
|
|
|
|
a.offsetX?a.offsetX:a.layerX,this.offsetY=_.gd||void 0!==a.offsetY?a.offsetY:a.layerY,this.clientX=void 0!==a.clientX?a.clientX:a.pageX,this.clientY=void 0!==a.clientY?a.clientY:a.pageY,this.screenX=a.screenX||0,this.screenY=a.screenY||0);this.button=a.button;this.keyCode=a.keyCode||0;this.key=a.key||"";this.charCode=a.charCode||("keypress"==c?a.keyCode:0);this.ctrlKey=a.ctrlKey;this.altKey=a.altKey;this.shiftKey=a.shiftKey;this.metaKey=a.metaKey;this.QF=_.id?a.metaKey:a.ctrlKey;this.pointerId=a.pointerId||
|
|
|
|
|
0;this.pointerType="string"===typeof a.pointerType?a.pointerType:Gi[a.pointerType]||"";this.state=a.state;this.Fe=a;a.defaultPrevented&&_.Fi.H.preventDefault.call(this)};_.Fi.prototype.stopPropagation=function(){_.Fi.H.stopPropagation.call(this);this.Fe.stopPropagation?this.Fe.stopPropagation():this.Fe.cancelBubble=!0};_.Fi.prototype.preventDefault=function(){_.Fi.H.preventDefault.call(this);var a=this.Fe;a.preventDefault?a.preventDefault():a.returnValue=!1};
|
|
|
|
|
_.Hi="closure_listenable_"+(1E6*Math.random()|0);_.Ii=function(a){return!(!a||!a[_.Hi])};
|
|
|
|
|
var Ji=0;
|
|
|
|
|
var Ki=function(a,b,c,d,e){this.listener=a;this.proxy=null;this.src=b;this.type=c;this.capture=!!d;this.sf=e;this.key=++Ji;this.Bt=this.xv=!1},Li=function(a){a.Bt=!0;a.listener=null;a.proxy=null;a.src=null;a.sf=null};
|
|
|
|
|
var Mi=function(a){this.src=a;this.Rd={};this.zu=0};Mi.prototype.add=function(a,b,c,d,e){var f=a.toString();a=this.Rd[f];a||(a=this.Rd[f]=[],this.zu++);var h=Ni(a,b,d,e);-1<h?(b=a[h],c||(b.xv=!1)):(b=new Ki(b,this.src,f,!!d,e),b.xv=c,a.push(b));return b};Mi.prototype.remove=function(a,b,c,d){a=a.toString();if(!(a in this.Rd))return!1;var e=this.Rd[a];b=Ni(e,b,c,d);return-1<b?(Li(e[b]),Array.prototype.splice.call(e,b,1),0==e.length&&(delete this.Rd[a],this.zu--),!0):!1};
|
|
|
|
|
var Oi=function(a,b){var c=b.type;if(!(c in a.Rd))return!1;var d=_.qi(a.Rd[c],b);d&&(Li(b),0==a.Rd[c].length&&(delete a.Rd[c],a.zu--));return d};Mi.prototype.removeAll=function(a){a=a&&a.toString();var b=0,c;for(c in this.Rd)if(!a||c==a){for(var d=this.Rd[c],e=0;e<d.length;e++)++b,Li(d[e]);delete this.Rd[c];this.zu--}return b};Mi.prototype.Qo=function(a,b,c,d){a=this.Rd[a.toString()];var e=-1;a&&(e=Ni(a,b,c,d));return-1<e?a[e]:null};
|
|
|
|
|
Mi.prototype.hasListener=function(a,b){var c=void 0!==a,d=c?a.toString():"",e=void 0!==b;return ri(this.Rd,function(f){for(var h=0;h<f.length;++h)if(!(c&&f[h].type!=d||e&&f[h].capture!=b))return!0;return!1})};var Ni=function(a,b,c,d){for(var e=0;e<a.length;++e){var f=a[e];if(!f.Bt&&f.listener==b&&f.capture==!!c&&f.sf==d)return e}return-1};
|
|
|
|
|
var Pi,Qi,Ri,Vi,Xi,Yi,Zi,bj;Pi="closure_lm_"+(1E6*Math.random()|0);Qi={};Ri=0;_.Ti=function(a,b,c,d,e){if(d&&d.once)return _.Si(a,b,c,d,e);if(Array.isArray(b)){for(var f=0;f<b.length;f++)_.Ti(a,b[f],c,d,e);return null}c=_.Ui(c);return _.Ii(a)?a.V(b,c,_.Eb(d)?!!d.capture:!!d,e):Vi(a,b,c,!1,d,e)};
|
|
|
|
|
Vi=function(a,b,c,d,e,f){if(!b)throw Error("I");var h=_.Eb(e)?!!e.capture:!!e,k=_.Wi(a);k||(a[Pi]=k=new Mi(a));c=k.add(b,c,d,h,f);if(c.proxy)return c;d=Xi();c.proxy=d;d.src=a;d.listener=c;if(a.addEventListener)Ei||(e=h),void 0===e&&(e=!1),a.addEventListener(b.toString(),d,e);else if(a.attachEvent)a.attachEvent(Yi(b.toString()),d);else if(a.addListener&&a.removeListener)a.addListener(d);else throw Error("J");Ri++;return c};Xi=function(){var a=Zi,b=function(c){return a.call(b.src,b.listener,c)};return b};
|
|
|
|
|
_.Si=function(a,b,c,d,e){if(Array.isArray(b)){for(var f=0;f<b.length;f++)_.Si(a,b[f],c,d,e);return null}c=_.Ui(c);return _.Ii(a)?a.Ap(b,c,_.Eb(d)?!!d.capture:!!d,e):Vi(a,b,c,!0,d,e)};_.$i=function(a,b,c,d,e){if(Array.isArray(b))for(var f=0;f<b.length;f++)_.$i(a,b[f],c,d,e);else d=_.Eb(d)?!!d.capture:!!d,c=_.Ui(c),_.Ii(a)?a.qc(b,c,d,e):a&&(a=_.Wi(a))&&(b=a.Qo(b,c,d,e))&&_.aj(b)};
|
|
|
|
|
_.aj=function(a){if("number"===typeof a||!a||a.Bt)return!1;var b=a.src;if(_.Ii(b))return b.ZI(a);var c=a.type,d=a.proxy;b.removeEventListener?b.removeEventListener(c,d,a.capture):b.detachEvent?b.detachEvent(Yi(c),d):b.addListener&&b.removeListener&&b.removeListener(d);Ri--;(c=_.Wi(b))?(Oi(c,a),0==c.zu&&(c.src=null,b[Pi]=null)):Li(a);return!0};Yi=function(a){return a in Qi?Qi[a]:Qi[a]="on"+a};
|
|
|
|
|
Zi=function(a,b){if(a.Bt)a=!0;else{b=new _.Fi(b,this);var c=a.listener,d=a.sf||a.src;a.xv&&_.aj(a);a=c.call(d,b)}return a};_.Wi=function(a){a=a[Pi];return a instanceof Mi?a:null};bj="__closure_events_fn_"+(1E9*Math.random()>>>0);_.Ui=function(a){if("function"===typeof a)return a;a[bj]||(a[bj]=function(b){return a.handleEvent(b)});return a[bj]};_.pi(function(a){Zi=a(Zi)});
|
|
|
|
|
_.cj=function(){_.Ai.call(this);this.xj=new Mi(this);this.ZV=this;this.LF=null};_.ab(_.cj,_.Ai);_.cj.prototype[_.Hi]=!0;_.g=_.cj.prototype;_.g.Dm=function(){return this.LF};_.g.Zz=_.ba(3);_.g.addEventListener=function(a,b,c,d){_.Ti(this,a,b,c,d)};_.g.removeEventListener=function(a,b,c,d){_.$i(this,a,b,c,d)};
|
|
|
|
|
_.g.dispatchEvent=function(a){var b,c=this.Dm();if(c)for(b=[];c;c=c.Dm())b.push(c);c=this.ZV;var d=a.type||a;if("string"===typeof a)a=new _.Di(a,c);else if(a instanceof _.Di)a.target=a.target||c;else{var e=a;a=new _.Di(d,c);_.ui(a,e)}e=!0;if(b)for(var f=b.length-1;!a.yt&&0<=f;f--){var h=a.currentTarget=b[f];e=h.Jr(d,!0,a)&&e}a.yt||(h=a.currentTarget=c,e=h.Jr(d,!0,a)&&e,a.yt||(e=h.Jr(d,!1,a)&&e));if(b)for(f=0;!a.yt&&f<b.length;f++)h=a.currentTarget=b[f],e=h.Jr(d,!1,a)&&e;return e};
|
|
|
|
|
_.g.ta=function(){_.cj.H.ta.call(this);this.fG();this.LF=null};_.g.V=function(a,b,c,d){return this.xj.add(String(a),b,!1,c,d)};_.g.Ap=function(a,b,c,d){return this.xj.add(String(a),b,!0,c,d)};_.g.qc=function(a,b,c,d){return this.xj.remove(String(a),b,c,d)};_.g.ZI=function(a){return Oi(this.xj,a)};_.g.fG=function(){this.xj&&this.xj.removeAll(void 0)};
|
|
|
|
|
_.g.Jr=function(a,b,c){a=this.xj.Rd[String(a)];if(!a)return!0;a=a.concat();for(var d=!0,e=0;e<a.length;++e){var f=a[e];if(f&&!f.Bt&&f.capture==b){var h=f.listener,k=f.sf||f.src;f.xv&&this.ZI(f);d=!1!==h.call(k,c)&&d}}return d&&!c.defaultPrevented};_.g.Qo=function(a,b,c,d){return this.xj.Qo(String(a),b,c,d)};_.g.hasListener=function(a,b){return this.xj.hasListener(void 0!==a?String(a):void 0,b)};
|
|
|
|
|
|
|
|
|
|
var qj;_.kj=function(a,b){for(var c in a)if(!(c in b)||a[c]!==b[c])return!1;for(var d in b)if(!(d in a))return!1;return!0};_.lj=function(a){var b={},c;for(c in a)b[c]=a[c];return b};_.mj=function(a){_.Ya.setTimeout(function(){throw a;},0)};_.nj=function(a){return a};_.oj=function(a){a.prototype.$goog_Thenable=!0};_.pj=function(a){if(!a)return!1;try{return!!a.$goog_Thenable}catch(b){return!1}};qj=function(a,b){this.fX=a;this.H3=b;this.Cy=0;this.tf=null};
|
|
|
|
|
qj.prototype.get=function(){if(0<this.Cy){this.Cy--;var a=this.tf;this.tf=a.next;a.next=null}else a=this.fX();return a};qj.prototype.put=function(a){this.H3(a);100>this.Cy&&(this.Cy++,a.next=this.tf,this.tf=a)};
|
|
|
|
|
var sj,tj,rj;_.uj=function(a){a=rj(a);"function"!==typeof _.Ya.setImmediate||_.Ya.Window&&_.Ya.Window.prototype&&!_.qb("Edge")&&_.Ya.Window.prototype.setImmediate==_.Ya.setImmediate?(sj||(sj=tj()),sj(a)):_.Ya.setImmediate(a)};
|
|
|
|
|
tj=function(){var a=_.Ya.MessageChannel;"undefined"===typeof a&&"undefined"!==typeof window&&window.postMessage&&window.addEventListener&&!_.qb("Presto")&&(a=function(){var e=_.Ud("IFRAME");e.style.display="none";document.documentElement.appendChild(e);var f=e.contentWindow;e=f.document;e.open();e.close();var h="callImmediate"+Math.random(),k="file:"==f.location.protocol?"*":f.location.protocol+"//"+f.location.host;e=(0,_.J)(function(l){if(("*"==k||l.origin==k)&&l.data==h)this.port1.onmessage()},
|
|
|
|
|
this);f.addEventListener("message",e,!1);this.port1={};this.port2={postMessage:function(){f.postMessage(h,k)}}});if("undefined"!==typeof a&&!_.sb()){var b=new a,c={},d=c;b.port1.onmessage=function(){if(void 0!==c.next){c=c.next;var e=c.cb;c.cb=null;e()}};return function(e){d.next={cb:e};d=d.next;b.port2.postMessage(0)}}return function(e){_.Ya.setTimeout(e,0)}};rj=_.nj;_.pi(function(a){rj=a});
|
|
|
|
|
var vj=function(){this.OA=this.Jq=null};vj.prototype.add=function(a,b){var c=wj.get();c.set(a,b);this.OA?this.OA.next=c:this.Jq=c;this.OA=c};vj.prototype.remove=function(){var a=null;this.Jq&&(a=this.Jq,this.Jq=this.Jq.next,this.Jq||(this.OA=null),a.next=null);return a};var wj=new qj(function(){return new xj},function(a){return a.reset()}),xj=function(){this.next=this.scope=this.lh=null};xj.prototype.set=function(a,b){this.lh=a;this.scope=b;this.next=null};
|
|
|
|
|
xj.prototype.reset=function(){this.next=this.scope=this.lh=null};
|
|
|
|
|
var yj,zj,Aj,Bj,Dj;zj=!1;Aj=new vj;_.Cj=function(a,b){yj||Bj();zj||(yj(),zj=!0);Aj.add(a,b)};Bj=function(){if(_.Ya.Promise&&_.Ya.Promise.resolve){var a=_.Ya.Promise.resolve(void 0);yj=function(){a.then(Dj)}}else yj=function(){_.uj(Dj)}};Dj=function(){for(var a;a=Aj.remove();){try{a.lh.call(a.scope)}catch(b){_.mj(b)}wj.put(a)}zj=!1};
|
|
|
|
|
var Gj,Hj,Ij;_.Fj=function(a,b){this.Da=0;this.Re=void 0;this.to=this.rk=this.Db=null;this.lx=this.DC=!1;if(a!=_.li)try{var c=this;a.call(b,function(d){Ej(c,2,d)},function(d){Ej(c,3,d)})}catch(d){Ej(this,3,d)}};Gj=function(){this.next=this.context=this.Kp=this.it=this.Wl=null;this.Vq=!1};Gj.prototype.reset=function(){this.context=this.Kp=this.it=this.Wl=null;this.Vq=!1};Hj=new qj(function(){return new Gj},function(a){a.reset()});Ij=function(a,b,c){var d=Hj.get();d.it=a;d.Kp=b;d.context=c;return d};
|
|
|
|
|
_.Jj=function(a){if(a instanceof _.Fj)return a;var b=new _.Fj(_.li);Ej(b,2,a);return b};_.Kj=function(a){return new _.Fj(function(b,c){c(a)})};_.Mj=function(a,b,c){Lj(a,b,c,null)||_.Cj(_.ki(b,a))};_.Nj=function(a){return new _.Fj(function(b,c){var d=a.length,e=[];if(d)for(var f=function(m,n){d--;e[m]=n;0==d&&b(e)},h=function(m){c(m)},k=0,l;k<a.length;k++)l=a[k],_.Mj(l,_.ki(f,k),h);else b(e)})};_.Pj=function(){var a,b,c=new _.Fj(function(d,e){a=d;b=e});return new Oj(c,a,b)};
|
|
|
|
|
_.Fj.prototype.then=function(a,b,c){return Vj(this,"function"===typeof a?a:null,"function"===typeof b?b:null,c)};_.oj(_.Fj);_.Xj=function(a,b){b=Ij(b,b);b.Vq=!0;Wj(a,b);return a};_.Fj.prototype.mu=function(a,b){return Vj(this,null,a,b)};_.Fj.prototype.catch=_.Fj.prototype.mu;_.Fj.prototype.cancel=function(a){if(0==this.Da){var b=new Yj(a);_.Cj(function(){Zj(this,b)},this)}};
|
|
|
|
|
var Zj=function(a,b){if(0==a.Da)if(a.Db){var c=a.Db;if(c.rk){for(var d=0,e=null,f=null,h=c.rk;h&&(h.Vq||(d++,h.Wl==a&&(e=h),!(e&&1<d)));h=h.next)e||(f=h);e&&(0==c.Da&&1==d?Zj(c,b):(f?(d=f,d.next==c.to&&(c.to=d),d.next=d.next.next):ak(c),bk(c,e,3,b)))}a.Db=null}else Ej(a,3,b)},Wj=function(a,b){a.rk||2!=a.Da&&3!=a.Da||ck(a);a.to?a.to.next=b:a.rk=b;a.to=b},Vj=function(a,b,c,d){var e=Ij(null,null,null);e.Wl=new _.Fj(function(f,h){e.it=b?function(k){try{var l=b.call(d,k);f(l)}catch(m){h(m)}}:f;e.Kp=c?
|
|
|
|
|
function(k){try{var l=c.call(d,k);void 0===l&&k instanceof Yj?h(k):f(l)}catch(m){h(m)}}:h});e.Wl.Db=a;Wj(a,e);return e.Wl};_.Fj.prototype.Y5=function(a){this.Da=0;Ej(this,2,a)};_.Fj.prototype.Z5=function(a){this.Da=0;Ej(this,3,a)};
|
|
|
|
|
var Ej=function(a,b,c){0==a.Da&&(a===c&&(b=3,c=new TypeError("Promise cannot resolve to itself")),a.Da=1,Lj(c,a.Y5,a.Z5,a)||(a.Re=c,a.Da=b,a.Db=null,ck(a),3!=b||c instanceof Yj||dk(a,c)))},Lj=function(a,b,c,d){if(a instanceof _.Fj)return Wj(a,Ij(b||_.li,c||null,d)),!0;if(_.pj(a))return a.then(b,c,d),!0;if(_.Eb(a))try{var e=a.then;if("function"===typeof e)return ek(a,e,b,c,d),!0}catch(f){return c.call(d,f),!0}return!1},ek=function(a,b,c,d,e){var f=!1,h=function(l){f||(f=!0,c.call(e,l))},k=function(l){f||
|
|
|
|
|
(f=!0,d.call(e,l))};try{b.call(a,h,k)}catch(l){k(l)}},ck=function(a){a.DC||(a.DC=!0,_.Cj(a.gw,a))},ak=function(a){var b=null;a.rk&&(b=a.rk,a.rk=b.next,b.next=null);a.rk||(a.to=null);return b};_.Fj.prototype.gw=function(){for(var a;a=ak(this);)bk(this,a,this.Da,this.Re);this.DC=!1};
|
|
|
|
|
var bk=function(a,b,c,d){if(3==c&&b.Kp&&!b.Vq)for(;a&&a.lx;a=a.Db)a.lx=!1;if(b.Wl)b.Wl.Db=null,fk(b,c,d);else try{b.Vq?b.it.call(b.context):fk(b,c,d)}catch(e){gk.call(null,e)}Hj.put(b)},fk=function(a,b,c){2==b?a.it.call(a.context,c):a.Kp&&a.Kp.call(a.context,c)},dk=function(a,b){a.lx=!0;_.Cj(function(){a.lx&&gk.call(null,b)})},gk=_.mj,Yj=function(a){_.gb.call(this,a);this.WQ=!1};_.ab(Yj,_.gb);Yj.prototype.name="cancel";var Oj=function(a,b,c){this.promise=a;this.resolve=b;this.reject=c};
|
|
|
|
|
|
|
|
|
|
var gs;gs=function(a,b,c){return 2>=arguments.length?Array.prototype.slice.call(a,b):Array.prototype.slice.call(a,b,c)};_.hs=function(a,b,c,d){return Array.prototype.splice.apply(a,gs(arguments,1))};_.is=function(a,b,c){if(null!==a&&b in a)throw Error("j`"+b);a[b]=c};_.Jd.prototype.N=_.fb(1,function(a){return _.ji(this.ub,a)});
|
|
|
|
|
_.js=function(a,b){var c=b||document;if(c.getElementsByClassName)a=c.getElementsByClassName(a)[0];else{c=document;var d=b||c;a=d.querySelectorAll&&d.querySelector&&a?d.querySelector(a?"."+a:""):_.Md(c,"*",a,b)[0]||null}return a||null};_.ks=function(a){var b;if(_.zd&&(b=a.parentElement))return b;b=a.parentNode;return _.ae(b)?b:null};_.ls=function(a){_.Ai.call(this);this.ie=a;this.Rb={}};_.ab(_.ls,_.Ai);var ms=[];_.ls.prototype.V=function(a,b,c,d){return this.Ss(a,b,c,d)};
|
|
|
|
|
_.ls.prototype.Ss=function(a,b,c,d,e){Array.isArray(b)||(b&&(ms[0]=b.toString()),b=ms);for(var f=0;f<b.length;f++){var h=_.Ti(a,b[f],c||this.handleEvent,d||!1,e||this.ie||this);if(!h)break;this.Rb[h.key]=h}return this};_.ls.prototype.Ap=function(a,b,c,d){return ns(this,a,b,c,d)};var ns=function(a,b,c,d,e,f){if(Array.isArray(c))for(var h=0;h<c.length;h++)ns(a,b,c[h],d,e,f);else{b=_.Si(b,c,d||a.handleEvent,e,f||a.ie||a);if(!b)return a;a.Rb[b.key]=b}return a};
|
|
|
|
|
_.ls.prototype.qc=function(a,b,c,d,e){if(Array.isArray(b))for(var f=0;f<b.length;f++)this.qc(a,b[f],c,d,e);else c=c||this.handleEvent,d=_.Eb(d)?!!d.capture:!!d,e=e||this.ie||this,c=_.Ui(c),d=!!d,b=_.Ii(a)?a.Qo(b,c,d,e):a?(a=_.Wi(a))?a.Qo(b,c,d,e):null:null,b&&(_.aj(b),delete this.Rb[b.key]);return this};_.ls.prototype.removeAll=function(){_.mb(this.Rb,function(a,b){this.Rb.hasOwnProperty(b)&&_.aj(a)},this);this.Rb={}};_.ls.prototype.ta=function(){_.ls.H.ta.call(this);this.removeAll()};
|
|
|
|
|
_.ls.prototype.handleEvent=function(){throw Error("R");};
|
|
|
|
|
|
|
|
|
|
var cu,du,eu,fu,gu,iu,ju,ku,lu,nu;_.bu=!1;cu=function(a){try{_.bu&&window.console&&window.console.log&&window.console.log(a)}catch(b){}};du=function(a){try{window.console&&window.console.warn&&window.console.warn(a)}catch(b){}};eu=function(a,b){if(!a)return-1;if(a.indexOf)return a.indexOf(b,void 0);for(var c=0,d=a.length;c<d;c++)if(a[c]===b)return c;return-1};
|
|
|
|
|
fu=function(a,b){function c(){}if(!a)throw Error("U");if(!b)throw Error("V");c.prototype=b.prototype;a.prototype=new c;a.prototype.constructor=a};gu=function(a){return"[object Function]"===Object.prototype.toString.call(a)};_.hu=function(a){var b={};if(a)for(var c in a)a.hasOwnProperty(c)&&(b[c]=a[c]);return b};iu=function(a){var b=location.hash;a=new RegExp("[&#]"+a+"=([^&]*)");b=decodeURIComponent(b);b=a.exec(b);return null==b?"":b[1].replace(/\+/g," ")};
|
|
|
|
|
ju=function(a,b,c){if(a.addEventListener)a.addEventListener(b,c,!1);else if(a.attachEvent)a.attachEvent("on"+b,c);else throw Error("W`"+b);};ku={token:1,id_token:1};lu=function(){var a=navigator.userAgent.toLowerCase();return-1!=a.indexOf("msie")&&8==parseInt(a.split("msie")[1],10)};_.mu=window.JSON;nu=function(a){this.qJ=a||[];this.Wb={}};
|
|
|
|
|
nu.prototype.addEventListener=function(a,b){if(!(0<=eu(this.qJ,a)))throw Error("Y`"+a);if(!gu(b))throw Error("Z`"+a);this.Wb[a]||(this.Wb[a]=[]);0>eu(this.Wb[a],b)&&this.Wb[a].push(b)};nu.prototype.removeEventListener=function(a,b){if(!(0<=eu(this.qJ,a)))throw Error("Y`"+a);gu(b)&&this.Wb[a]&&this.Wb[a].length&&(b=eu(this.Wb[a],b),0<=b&&this.Wb[a].splice(b,1))};
|
|
|
|
|
nu.prototype.dispatchEvent=function(a){var b=a.type;if(!(b&&0<=eu(this.qJ,b)))throw Error("$`"+b);if(this.Wb[b]&&this.Wb[b].length)for(var c=this.Wb[b].length,d=0;d<c;d++)this.Wb[b][d](a)};
|
|
|
|
|
var ou,pu,qu,uu,vu,Mu,Nu,Pu,Qu,Su,bv;ou={};pu={};qu={google:{authServerUrl:"https://accounts.google.com/o/oauth2/auth",idpIFrameUrl:"https://accounts.google.com/o/oauth2/iframe"}};_.ru=function(a,b){if(a=qu[a])return a[b]};_.su=function(a,b){if(!a)throw Error("aa");if(!b.authServerUrl)throw Error("ba");if(!b.idpIFrameUrl)throw Error("ca");qu[a]={authServerUrl:b.authServerUrl,idpIFrameUrl:b.idpIFrameUrl}};_.tu=void 0;
|
|
|
|
|
uu=function(a){a.style.position="absolute";a.style.width="1px";a.style.height="1px";a.style.left="-9999px";a.style.top="-9999px";a.style.right="-9999px";a.style.bottom="-9999px";a.style.display="none";a.setAttribute("aria-hidden","true")};vu=function(){this.v6=window;this.Sv=this.bm=this.vt=this.Hh=null};
|
|
|
|
|
vu.prototype.open=function(a,b,c,d){wu(this);this.vt?(this.bm&&(this.bm(),this.bm=null),xu(this)):this.vt="authPopup"+Math.floor(1E6*Math.random()+1);a:{this.Hh=this.v6.open(a,this.vt,b);try{this.Hh.focus();if(this.Hh.closed||"undefined"==typeof this.Hh.closed)throw Error("ea");_.tu=this.Hh}catch(e){d&&setTimeout(d,0);this.Hh=null;break a}c&&(this.bm=c,yu(this))}};
|
|
|
|
|
var wu=function(a){try{if(null==a.Hh||a.Hh.closed)a.Hh=null,a.vt=null,xu(a),a.bm&&(a.bm(),a.bm=null)}catch(b){a.Hh=null,a.vt=null,xu(a)}},yu=function(a){a.Sv=window.setInterval(function(){wu(a)},300)},xu=function(a){a.Sv&&(window.clearInterval(a.Sv),a.Sv=null)};pu=pu||{};var zu=function(a,b){this.Sb=a;this.AE=b;this.kd=null;this.Nm=!1};zu.prototype.start=function(){if(!this.Nm&&!this.kd){var a=this;this.kd=window.setTimeout(function(){a.clear();a.Nm||(a.Sb(),a.Nm=!0)},pu.AN(this.AE))}};
|
|
|
|
|
zu.prototype.clear=function(){this.kd&&(window.clearTimeout(this.kd),this.kd=null)};var Au=function(a,b){var c=pu.Sq;this.W_=pu.Mq;this.fT=c;this.Sb=a;this.AE=b;this.kd=null;this.Nm=!1;var d=this;this.gT=function(){document[d.W_]||(d.clear(),d.start())}};Au.prototype.start=function(){if(!this.Nm&&!this.kd){ju(document,this.fT,this.gT);var a=this;this.kd=window.setTimeout(function(){a.clear();a.Nm||(a.Sb(),a.Nm=!0)},pu.AN(this.AE))}};
|
|
|
|
|
Au.prototype.clear=function(){var a=this.fT,b=this.gT,c=document;if(c.removeEventListener)c.removeEventListener(a,b,!1);else if(c.detachEvent)c.detachEvent("on"+a,b);else throw Error("X`"+a);this.kd&&(window.clearTimeout(this.kd),this.kd=null)};pu.Mq=null;pu.Sq=null;
|
|
|
|
|
pu.s0=function(){var a=document;"undefined"!==typeof a.hidden?(pu.Mq="hidden",pu.Sq="visibilitychange"):"undefined"!==typeof a.msHidden?(pu.Mq="msHidden",pu.Sq="msvisibilitychange"):"undefined"!==typeof a.webkitHidden&&(pu.Mq="webkitHidden",pu.Sq="webkitvisibilitychange")};pu.s0();pu.eX=function(a,b){return pu.Mq&&pu.Sq?new Au(a,b):new zu(a,b)};pu.AN=function(a){return Math.max(1,a-(new Date).getTime())};
|
|
|
|
|
var Bu=function(a,b){document.cookie="G_ENABLED_IDPS="+a+";domain=."+b+";expires=Fri, 31 Dec 9999 12:00:00 GMT;path=/"},Cu=function(){function a(){e[0]=1732584193;e[1]=4023233417;e[2]=2562383102;e[3]=271733878;e[4]=3285377520;n=m=0}function b(q){for(var p=h,t=0;64>t;t+=4)p[t/4]=q[t]<<24|q[t+1]<<16|q[t+2]<<8|q[t+3];for(t=16;80>t;t++)q=p[t-3]^p[t-8]^p[t-14]^p[t-16],p[t]=(q<<1|q>>>31)&4294967295;q=e[0];var v=e[1],r=e[2],w=e[3],A=e[4];for(t=0;80>t;t++){if(40>t)if(20>t){var B=w^v&(r^w);var F=1518500249}else B=
|
|
|
|
|
v^r^w,F=1859775393;else 60>t?(B=v&r|w&(v|r),F=2400959708):(B=v^r^w,F=3395469782);B=((q<<5|q>>>27)&4294967295)+B+A+F+p[t]&4294967295;A=w;w=r;r=(v<<30|v>>>2)&4294967295;v=q;q=B}e[0]=e[0]+q&4294967295;e[1]=e[1]+v&4294967295;e[2]=e[2]+r&4294967295;e[3]=e[3]+w&4294967295;e[4]=e[4]+A&4294967295}function c(q,p){if("string"===typeof q){q=unescape(encodeURIComponent(q));for(var t=[],v=0,r=q.length;v<r;++v)t.push(q.charCodeAt(v));q=t}p||(p=q.length);t=0;if(0==m)for(;t+64<p;)b(q.slice(t,t+64)),t+=64,n+=64;for(;t<
|
|
|
|
|
p;)if(f[m++]=q[t++],n++,64==m)for(m=0,b(f);t+64<p;)b(q.slice(t,t+64)),t+=64,n+=64}function d(){var q=[],p=8*n;56>m?c(k,56-m):c(k,64-(m-56));for(var t=63;56<=t;t--)f[t]=p&255,p>>>=8;b(f);for(t=p=0;5>t;t++)for(var v=24;0<=v;v-=8)q[p++]=e[t]>>v&255;return q}for(var e=[],f=[],h=[],k=[128],l=1;64>l;++l)k[l]=0;var m,n;a();return{reset:a,update:c,digest:d,Xh:function(){for(var q=d(),p="",t=0;t<q.length;t++)p+="0123456789ABCDEF".charAt(Math.floor(q[t]/16))+"0123456789ABCDEF".charAt(q[t]%16);return p}}},Du=
|
|
|
|
|
window.crypto,Eu=!1,Fu=0,Gu=1,Hu=0,Iu="",Ju=function(a){a=a||window.event;var b=a.screenX+a.clientX<<16;b+=a.screenY+a.clientY;b*=(new Date).getTime()%1E6;Gu=Gu*b%Hu;if(3==++Fu)if(a=window,b=Ju,a.removeEventListener)a.removeEventListener("mousemove",b,!1);else if(a.detachEvent)a.detachEvent("onmousemove",b);else throw Error("X`mousemove");},Ku=function(a){var b=Cu();b.update(a);return b.Xh()};Eu=!!Du&&"function"==typeof Du.getRandomValues;
|
|
|
|
|
Eu||(Hu=1E6*(screen.width*screen.width+screen.height),Iu=Ku(document.cookie+"|"+document.location+"|"+(new Date).getTime()+"|"+Math.random()),ju(window,"mousemove",Ju));ou=ou||{};ou.XT="ssIFrame_";
|
|
|
|
|
_.Lu=function(a,b,c){c=void 0===c?!1:c;this.Ab=a;if(!this.Ab)throw Error("fa");a=_.ru(a,"idpIFrameUrl");if(!a)throw Error("ga");this.rO=a;if(!b)throw Error("ha");this.Dl=b;a=this.rO;b=document.createElement("a");b.setAttribute("href",a);a=[b.protocol,"//",b.hostname];"http:"==b.protocol&&""!=b.port&&"0"!=b.port&&"80"!=b.port?(a.push(":"),a.push(b.port)):"https:"==b.protocol&&""!=b.port&&"0"!=b.port&&"443"!=b.port&&(a.push(":"),a.push(b.port));this.iE=a.join("");this.X3=[location.protocol,"//",location.host].join("");
|
|
|
|
|
this.ou=this.hE=this.Rm=!1;this.nO=null;this.Hy=[];this.Rp=[];this.jj={};this.Sm=void 0;this.Cq=c};_.g=_.Lu.prototype;_.g.show=function(){var a=this.Sm;a.style.position="fixed";a.style.width="100%";a.style.height="100%";a.style.left="0px";a.style.top="0px";a.style.right="0px";a.style.bottom="0px";a.style.display="block";a.style.zIndex="9999999";a.style.overflow="hidden";a.setAttribute("aria-hidden","false")};_.g.Ub=function(){uu(this.Sm)};
|
|
|
|
|
_.g.ky=function(a){if(this.Rm)a&&a(this);else{if(!this.Sm){var b=ou.XT+this.Ab;var c=this.Ab;var d=location.hostname;var e,f=document.cookie.match("(^|;) ?G_ENABLED_IDPS=([^;]*)(;|$)");f&&2<f.length&&(e=f[2]);(f=e&&0<=eu(e.split("|"),c))?Bu(e,d):Bu(e?e+"|"+c:c,d);c=!f;var h=this.rO,k=this.X3;d=this.Dl;e=this.Cq;e=void 0===e?!1:e;f=document.createElement("iframe");f.setAttribute("id",b);b=f.setAttribute;var l="allow-scripts allow-same-origin";document.requestStorageAccess&&gu(document.requestStorageAccess)&&
|
|
|
|
|
(l+=" allow-storage-access-by-user-activation");b.call(f,"sandbox",l);uu(f);f.setAttribute("frame-border","0");b=[h,"#origin=",encodeURIComponent(k)];b.push("&rpcToken=");b.push(encodeURIComponent(d));c&&b.push("&clearCache=1");_.bu&&b.push("&debug=1");e&&b.push("&supportBlocked3PCookies=1");document.body.appendChild(f);f.setAttribute("src",b.join(""));this.Sm=f}a&&this.Hy.push(a)}};_.g.Ux=function(){return this.Rm&&this.ou};_.g.Bm=function(){return this.nO};
|
|
|
|
|
Mu=function(a){for(var b=0;b<a.Hy.length;b++)a.Hy[b](a);a.Hy=[]};_.Ou=function(a,b,c,d){if(a.Rm){if(a.Rm&&a.hE)throw a="Failed to communicate with IDP IFrame due to unitialization error: "+a.Bm(),cu(a),Error(a);Nu(a,{method:b,params:c},d)}else a.Rp.push({An:{method:b,params:c},callback:d}),a.ky()};Nu=function(a,b,c){if(c){for(var d=b.id;!d||a.jj[d];)d=(new Date).getMilliseconds()+"-"+(1E6*Math.random()+1);b.id=d;a.jj[d]=c}b.rpcToken=a.Dl;a.Sm.contentWindow.postMessage(_.mu.stringify(b),a.iE)};
|
|
|
|
|
Pu=function(a){if(a&&0<=a.indexOf("::"))throw Error("ia");};_.Lu.prototype.Ii=function(a,b,c,d,e,f,h,k,l){l=void 0===l?!1:l;Pu(f);b=_.hu(b);_.Ou(this,"getTokenResponse",{clientId:a,loginHint:c,request:b,sessionSelector:d,forceRefresh:h,skipCache:k,id:f,userInteracted:l},e)};_.Lu.prototype.jy=function(a,b,c,d,e){b=_.hu(b);_.Ou(this,"listIdpSessions",{clientId:a,request:b,sessionSelector:c,forceRefresh:e},d)};Qu=function(a,b,c){Pu(b.identifier);_.Ou(a,"getSessionSelector",b,c)};
|
|
|
|
|
_.Ru=function(a,b,c,d,e){Pu(b.identifier);_.Ou(a,"setSessionSelector",{domain:b.domain,crossSubDomains:b.crossSubDomains,policy:b.policy,id:b.id,hint:d,disabled:!!c},e)};Su=function(a,b,c,d,e){b={clientId:b};c&&(b.pluginName=c);d&&(b.ackExtensionDate=d);_.Ou(a,"monitorClient",b,e)};_.Lu.prototype.revoke=_.ba(9);_.Lu.prototype.kr=_.ba(11);ou.zx={};ou.hD=function(a){return ou.zx[a]};
|
|
|
|
|
ou.ky=function(a,b,c){c=void 0===c?!1:c;var d=ou.hD(a);if(!d){d=String;if(Eu){var e=new window.Uint32Array(1);Du.getRandomValues(e);e=Number("0."+e[0])}else e=Gu,e+=parseInt(Iu.substr(0,20),16),Iu=Ku(Iu),e/=Hu+Math.pow(16,20);d=new _.Lu(a,d(2147483647*e),c);ou.zx[a]=d}d.ky(b)};ou.CY=function(a){for(var b in ou.zx){var c=ou.hD(b);if(c&&c.Sm&&c.Sm.contentWindow==a.source&&c.iE==a.origin)return c}};ou.hZ=function(a){for(var b in ou.zx){var c=ou.hD(b);if(c&&c.iE==a)return c}};ou=ou||{};
|
|
|
|
|
var Uu=function(){var a=[],b;for(b in Tu)a.push(Tu[b]);nu.call(this,a);this.Xk={};cu("EventBus is ready.")};fu(Uu,nu);var Tu={qV:"sessionSelectorChanged",jB:"sessionStateChanged",UA:"authResult",JT:"displayIFrame"},Wu=function(a,b){var c=Vu;a&&b&&(c.Xk[a]||(c.Xk[a]=[]),0>eu(c.Xk[a],b)&&c.Xk[a].push(b))},Xu=function(a){var b=Vu;a&&(b.Xk[a]||(b.Xk[a]=[]))},Yu=function(a,b,c){return b&&a.Xk[b]&&0<=eu(a.Xk[b],c)};_.g=Uu.prototype;
|
|
|
|
|
_.g.b3=function(a){var b,c=!!a.source&&(a.source===_.tu||a.source.opener===window);if(b=c?ou.hZ(a.origin):ou.CY(a)){try{var d=_.mu.parse(a.data)}catch(e){cu("Bad event, an error happened when parsing data.");return}if(!c){if(!d||!d.rpcToken||d.rpcToken!=b.Dl){cu("Bad event, no RPC token.");return}if(d.id&&!d.method){c=d;if(a=b.jj[c.id])delete b.jj[c.id],a(c.result,c.error);return}}"fireIdpEvent"!=d.method?cu("Bad IDP event, method unknown."):(a=d.params)&&a.type&&this.qO[a.type]?(d=this.qO[a.type],
|
|
|
|
|
c&&!d.cW?cu("Bad IDP event. Source window cannot be a popup."):d.Hq&&!d.Hq.call(this,b,a)?cu("Bad IDP event."):d.sf.call(this,b,a)):cu("Bad IDP event.")}else cu("Bad event, no corresponding Idp Stub.")};_.g.x4=function(a,b){return Yu(this,a.Ab,b.clientId)};_.g.w4=function(a,b){b=b.clientId;return!b||Yu(this,a.Ab,b)};_.g.nW=function(a,b){return Yu(this,a.Ab,b.clientId)};_.g.h2=function(a,b){a.Rm=!0;a.ou=!!b.cookieDisabled;Mu(a);for(b=0;b<a.Rp.length;b++)Nu(a,a.Rp[b].An,a.Rp[b].callback);a.Rp=[]};
|
|
|
|
|
_.g.g2=function(a,b){b={error:b.error};a.Rm=!0;a.hE=!0;a.nO=b;a.Rp=[];Mu(a)};_.g.kz=function(a,b){b.originIdp=a.Ab;this.dispatchEvent(b)};var Vu=new Uu,Zu=Vu,$u={};$u.idpReady={sf:Zu.h2};$u.idpError={sf:Zu.g2};$u.sessionStateChanged={sf:Zu.kz,Hq:Zu.x4};$u.sessionSelectorChanged={sf:Zu.kz,Hq:Zu.w4};$u.authResult={sf:Zu.kz,Hq:Zu.nW,cW:!0};$u.displayIFrame={sf:Zu.kz};Vu.qO=$u||{};ju(window,"message",function(a){Vu.b3.call(Vu,a)});
|
|
|
|
|
_.av=function(a,b){this.xe=!1;if(!a)throw Error("ja");var c=[],d;for(d in a)c.push(a[d]);nu.call(this,c);this.Ad=[location.protocol,"//",location.host].join("");this.Zd=b.crossSubDomains?b.domain||this.Ad:this.Ad;if(!b)throw Error("ka");if(!b.idpId)throw Error("la");if(!_.ru(b.idpId,"authServerUrl")||!_.ru(b.idpId,"idpIFrameUrl"))throw Error("ma`"+b.idpId);this.Ab=b.idpId;this.Tb=void 0;this.lX=!!b.disableTokenRefresh;this.bY=!!b.forceTokenRefresh;this.w5=!!b.skipTokenCache;this.Cq=!!b.supportBlocked3PCookies;
|
|
|
|
|
b.pluginName&&(this.S2=b.pluginName);b.ackExtensionDate&&(this.VV=b.ackExtensionDate);this.setOptions(b);this.wr=[];this.ou=this.Cj=this.WO=!1;this.Ai=void 0;this.QQ();this.xd=void 0;var e=this,f=function(){cu("Token Manager is ready.");if(e.wr.length)for(var h=0;h<e.wr.length;h++)e.wr[h].call(e);e.WO=!0;e.wr=[]};ou.ky(this.Ab,function(h){e.xd=h;h.Rm&&h.hE?(e.Cj=!0,e.Ai=h.Bm(),e.Jp(e.Ai)):(e.ou=h.Ux(),e.Tb?Su(e.xd,e.Tb,e.S2,e.VV,function(k){var l=!!k.validOrigin,m=!!k.blocked,n=!!k.suppressed;k.invalidExtension?
|
|
|
|
|
(e.Ai={error:"Invalid value for ack_extension_date. Please refer to [Migration Guide](https://developers.google.com/identity/gsi/web/guides/gis-migration) for more information."},e.Cj=!0,e.Jp(e.Ai)):l?m?n?(du("You have created a new client application that uses libraries for user authentication or authorization that will soon be deprecated. New clients must use the new libraries instead; existing clients must also migrate before these libraries are deprecated. See the [Migration Guide](https://developers.google.com/identity/gsi/web/guides/gis-migration) for more information."),
|
|
|
|
|
Wu(e.Ab,e.Tb),f()):(e.Ai={error:"You have created a new client application that uses libraries for user authentication or authorization that will soon be deprecated. New clients must use the new libraries instead; existing clients must also migrate before these libraries are deprecated. See the [Migration Guide](https://developers.google.com/identity/gsi/web/guides/gis-migration) for more information."},e.Cj=!0,e.Jp(e.Ai)):(du("Your client application uses libraries for user authentication or authorization that will soon be deprecated. See the [Migration Guide](https://developers.google.com/identity/gsi/web/guides/gis-migration) for more information."),
|
|
|
|
|
Wu(e.Ab,e.Tb),f()):(e.Ai={error:"Not a valid origin for the client: "+e.Ad+" has not been registered for client ID "+e.Tb+". Please go to https://console.developers.google.com/ and register this origin for your project's client ID."},e.Cj=!0,e.Jp(e.Ai))}):(Xu(e.Ab),f()))},this.Cq)};fu(_.av,nu);_.g=_.av.prototype;_.g.setOptions=function(){};_.g.QQ=function(){};_.g.Jp=function(){};_.g.Ux=function(){return this.ou};_.g.Bm=function(){return this.Ai};bv=function(a,b,c){return function(){b.apply(a,c)}};
|
|
|
|
|
_.cv=function(a,b,c){if(a.WO)b.apply(a,c);else{if(a.Cj)throw a.Ai;a.wr.push(bv(a,b,c))}};_.av.prototype.aL=_.ba(12);_.av.prototype.kr=_.ba(10);
|
|
|
|
|
_.ev=function(a,b){_.av.call(this,a,b);this.AQ=new vu;this.Nj=this.qn=null;dv(this)};fu(_.ev,_.av);_.ev.prototype.setOptions=function(){};
|
|
|
|
|
var fv=function(a,b){a.ue={crossSubDomains:!!b.crossSubDomains,id:b.sessionSelectorId,domain:a.Zd};b.crossSubDomains&&(a.ue.policy=b.policy)},gv=function(a,b){if(!b.authParameters)throw Error("na");if(!b.authParameters.scope)throw Error("oa");if(!b.authParameters.response_type)throw Error("pa");a.Xq=b.authParameters;a.Xq.redirect_uri||(a.Xq.redirect_uri=[location.protocol,"//",location.host,location.pathname].join(""));a.Ni=_.hu(b.rpcAuthParameters||a.Xq);if(!a.Ni.scope)throw Error("qa");if(!a.Ni.response_type)throw Error("ra");
|
|
|
|
|
a:{var c=a.Ni.response_type.split(" ");for(var d=0,e=c.length;d<e;d++)if(c[d]&&!ku[c[d]]){c=!0;break a}c=!1}if(c)throw Error("sa");b.enableSerialConsent&&(a.Ni.enable_serial_consent=!0);b.authResultIdentifier&&(a.oW=b.authResultIdentifier);b.spec_compliant&&(a.Ni.spec_compliant=b.spec_compliant)};
|
|
|
|
|
_.ev.prototype.QQ=function(){var a=this;Vu.addEventListener(Tu.qV,function(b){a.xe&&a.ue&&b.originIdp==a.Ab&&!b.crossSubDomains==!a.ue.crossSubDomains&&b.domain==a.ue.domain&&b.id==a.ue.id&&a.jQ(b)});Vu.addEventListener(Tu.jB,function(b){a.xe&&b.originIdp==a.Ab&&b.clientId==a.Tb&&a.kQ(b)});Vu.addEventListener(Tu.UA,function(b){_.tu=void 0;a.xe&&b.originIdp==a.Ab&&b.clientId==a.Tb&&b.id==a.Jj&&(a.qn&&(window.clearTimeout(a.qn),a.qn=null),a.Jj=void 0,a.gt(b))});Vu.addEventListener(Tu.JT,function(b){a.xe&&
|
|
|
|
|
b.originIdp==a.Ab&&(b.Ub?a.xd.Ub():a.xd.show())})};_.ev.prototype.jQ=function(){};_.ev.prototype.kQ=function(){};_.ev.prototype.gt=function(){};var iv=function(a,b){hv(a);a.lX||(a.Nj=pu.eX(function(){a.Ii(!0)},b-3E5),navigator.onLine&&a.Nj.start())},hv=function(a){a.Nj&&(a.Nj.clear(),a.Nj=null)},dv=function(a){var b=window;lu()&&(b=document.body);ju(b,"online",function(){a.Nj&&a.Nj.start()});ju(b,"offline",function(){a.Nj&&a.Nj.clear()})};_.ev.prototype.Ii=function(){};_.ev.prototype.QP=_.ba(13);
|
|
|
|
|
_.ev.prototype.b1=function(a,b){if(!this.Tb)throw Error("wa");this.xd.jy(this.Tb,this.Ni,this.ue,a,b)};_.ev.prototype.jy=function(a,b){_.cv(this,this.b1,[a,b])};_.kv=function(a){this.le=void 0;this.ih=!1;this.gq=void 0;_.ev.call(this,_.jv,a)};fu(_.kv,_.ev);_.jv={TJ:"noSessionBound",Rq:"userLoggedOut",qT:"activeSessionChanged",jB:"sessionStateChanged",gK:"tokenReady",KV:"tokenFailed",UA:"authResult",ERROR:"error"};
|
|
|
|
|
_.kv.prototype.setOptions=function(a){if(!a.clientId)throw Error("xa");this.Tb=a.clientId;this.Ca=a.id;fv(this,a);gv(this,a)};_.kv.prototype.Jp=function(a){this.dispatchEvent({type:_.jv.ERROR,error:"idpiframe_initialization_failed",details:a.error,idpId:this.Ab})};var lv=function(a){hv(a);a.gq=void 0;a.ey=void 0};_.g=_.kv.prototype;
|
|
|
|
|
_.g.jQ=function(a){var b=a.newValue||{};if(this.le!=b.hint||this.ih!=!!b.disabled){a=this.le;var c=!this.le||this.ih;lv(this);this.le=b.hint;this.ih=!!b.disabled;(b=!this.le||this.ih)&&!c?this.dispatchEvent({type:_.jv.Rq,idpId:this.Ab}):b||(a!=this.le&&this.dispatchEvent({type:_.jv.qT,idpId:this.Ab}),this.le&&this.Ii())}};
|
|
|
|
|
_.g.kQ=function(a){this.ih||(this.le?a.user||this.gq?a.user==this.le&&(this.gq?a.sessionState?this.gq=a.sessionState:(lv(this),this.dispatchEvent({type:_.jv.Rq,idpId:this.Ab})):a.sessionState&&(this.gq=a.sessionState,this.Ii())):this.Ii():this.dispatchEvent({type:_.jv.jB,idpId:this.Ab}))};_.g.gt=function(a){this.dispatchEvent({type:_.jv.UA,authResult:a.authResult})};_.g.Ur=_.ba(15);_.g.Or=function(a){_.cv(this,this.XC,[a])};_.g.XC=function(a){Qu(this.xd,this.ue,a)};
|
|
|
|
|
_.g.qA=function(a,b,c,d){d=void 0===d?!1:d;if(!a)throw Error("ya");lv(this);this.le=a;this.ih=!1;b&&_.Ru(this.xd,this.ue,!1,this.le);this.xe=!0;this.Ii(c,!0,d)};_.g.start=function(){_.cv(this,this.gu,[])};
|
|
|
|
|
_.g.gu=function(){var a=this.Tb==iu("client_id")?iu("login_hint"):void 0;var b=this.Tb==iu("client_id")?iu("state"):void 0;this.tF=b;if(a)window.history.replaceState?window.history.replaceState(null,document.title,window.location.href.split("#")[0]):window.location.href.hash="",this.qA(a,!0,!0,!0);else{var c=this;this.Or(function(d){c.xe=!0;d&&d.hint?(lv(c),c.le=d.hint,c.ih=!!d.disabled,c.ih?c.dispatchEvent({type:_.jv.Rq,idpId:c.Ab}):c.qA(d.hint)):(lv(c),c.le=void 0,c.ih=!(!d||!d.disabled),c.dispatchEvent({type:_.jv.TJ,
|
|
|
|
|
autoOpenAuthUrl:!c.ih,idpId:c.Ab}))})}};_.g.YX=function(){var a=this;this.Or(function(b){b&&b.hint?b.disabled?a.dispatchEvent({type:_.jv.Rq,idpId:a.Ab}):a.Ii(!0):a.dispatchEvent({type:_.jv.TJ,idpId:a.Ab})})};_.g.HM=function(){_.cv(this,this.YX,[])};
|
|
|
|
|
_.g.Ii=function(a,b,c){var d=this;this.xd.Ii(this.Tb,this.Ni,this.le,this.ue,function(e,f){(f=f||e.error)?"user_logged_out"==f?(lv(d),d.dispatchEvent({type:_.jv.Rq,idpId:d.Ab})):(d.ey=null,d.dispatchEvent({type:_.jv.KV,idpId:d.Ab,error:f})):(d.ey=e,d.gq=e.session_state,iv(d,e.expires_at),e.idpId=d.Ab,b&&d.tF&&(e.state=d.tF,d.tF=void 0),d.dispatchEvent({type:_.jv.gK,idpId:d.Ab,response:e}))},this.Ca,a,!1,void 0===c?!1:c)};_.g.revoke=_.ba(8);_.g.gR=_.ba(16);
|
|
|
|
|
_.mv=function(a){this.Sl=null;_.ev.call(this,{},a);this.xe=!0};fu(_.mv,_.ev);_.g=_.mv.prototype;_.g.setOptions=function(a){if(!a.clientId)throw Error("xa");this.Tb=a.clientId;this.Ca=a.id;fv(this,a);gv(this,a)};_.g.Jp=function(a){this.Sl&&(this.Sl({authResult:{error:"idpiframe_initialization_failed",details:a.error}}),this.Sl=null)};_.g.gt=function(a){if(this.Sl){var b=this.Sl;this.Sl=null;b(a)}};_.g.Ur=_.ba(14);_.g.Or=function(a){this.Cj?a(this.Bm()):_.cv(this,this.XC,[a])};
|
|
|
|
|
_.g.XC=function(a){Qu(this.xd,this.ue,a)};_.nv=function(a,b,c){a.Cj?c(a.Bm()):_.cv(a,a.A2,[b,c])};_.mv.prototype.A2=function(a,b){this.xd.Ii(this.Tb,this.Ni,a,this.ue,function(c,d){d?b({error:d}):b(c)},this.Ca,this.bY,this.w5)};_.mv.prototype.tP=_.ba(17);
|
|
|
|
|
|
|
|
|
|
var ov=function(a){return Array.prototype.concat.apply([],arguments)},pv=function(){try{var a=Array.from((window.crypto||window.msCrypto).getRandomValues(new Uint8Array(64)))}catch(c){a=[];for(var b=0;64>b;b++)a[b]=Math.floor(256*Math.random())}return _.eh(a,3).substring(0,64)},qv=function(){var a=navigator.userAgent.toLowerCase();return 0>a.indexOf("edge/")&&(-1<a.indexOf("chrome/")||-1<a.indexOf("crios/"))},rv=function(){var a=navigator.userAgent.toLowerCase();return-1<a.indexOf("firefox/")&&0>
|
|
|
|
|
a.indexOf("chrome/")&&0>a.indexOf("crios/")&&0>a.indexOf("safari/")},sv=function(a,b,c){if(!a.xe)throw Error("ta");b?_.Ru(a.xd,a.ue,!0,void 0,c):_.Ru(a.xd,a.ue,!0,a.le,c)},tv=function(a){if(!a.xe)throw Error("ta");return a.ey},uv,vv,wv,xv,yv,zv,Av,Bv,Cv,Ev;_.mv.prototype.tP=_.fb(17,function(a,b){var c=this.xd,d=this.Tb,e=this.ue,f=_.hu(this.Ni);delete f.response_type;_.Ou(c,"getOnlineCode",{clientId:d,loginHint:a,request:f,sessionSelector:e},b)});
|
|
|
|
|
_.kv.prototype.gR=_.fb(16,function(a){tv(this)&&tv(this).access_token&&(this.xd.revoke(this.Tb,tv(this).access_token,a),sv(this,!0))});
|
|
|
|
|
_.kv.prototype.Ur=_.fb(15,function(){var a=this;return function(b){if(b&&b.authResult&&b.authResult.login_hint)if(a.Ux()&&a.Cq&&(qv()||rv())){b=b.authResult;var c=Date.now(),d=b.expires_in;b={access_token:b.access_token,token_type:b.token_type,login_hint:b.login_hint,expires_in:d,id_token:b.id_token,scope:b.scope,first_issued_at:c,expires_at:c+1E3*d,idpId:a.Ab};a.ey=b;a.dispatchEvent({type:_.jv.gK,idpId:a.Ab,response:b})}else a.qA(b.authResult.login_hint,a.ih||b.authResult.login_hint!=a.le,!0,!0)}});
|
|
|
|
|
_.mv.prototype.Ur=_.fb(14,function(a){var b=this;return function(c){c&&c.authResult&&c.authResult.login_hint?b.Or(function(d){_.Ru(b.xd,b.ue,d&&d.disabled,c.authResult.login_hint,function(){_.nv(b,c.authResult.login_hint,a)})}):a(c&&c.authResult&&c.authResult.error?c.authResult:c&&c.authResult&&!c.authResult.login_hint?{error:"wrong_response_type"}:{error:"unknown_error"})}});_.ev.prototype.QP=_.fb(13,function(){this.Tb&&_.Ou(this.xd,"startPolling",{clientId:this.Tb,origin:this.Ad,id:this.Jj})});
|
|
|
|
|
_.Lu.prototype.revoke=_.fb(9,function(a,b,c){_.Ou(this,"revoke",{clientId:a,token:b},c)});_.kv.prototype.revoke=_.fb(8,function(a){_.cv(this,this.gR,[a])});uv=function(){var a=navigator.userAgent,b;if(b=!!a&&-1!=a.indexOf("CriOS"))b=-1,(a=a.match(/CriOS\/(\d+)/))&&a[1]&&(b=parseInt(a[1],10)||-1),b=48>b;return b};
|
|
|
|
|
vv=function(){var a=navigator.userAgent.toLowerCase();if(!(-1<a.indexOf("safari/")&&0>a.indexOf("chrome/")&&0>a.indexOf("crios/")&&0>a.indexOf("android")))return!1;var b=RegExp("version/(\\d+)\\.(\\d+)[\\.0-9]*").exec(navigator.userAgent.toLowerCase());if(!b||3>b.length)return!1;a=parseInt(b[1],10);b=parseInt(b[2],10);return 12<a||12==a&&1<=b};
|
|
|
|
|
wv=function(a,b,c,d,e,f,h){var k=_.ru(a,"authServerUrl");if(!k)throw Error("da`"+a);a=_.hu(d);a.response_type=h||"permission";a.client_id=c;a.ss_domain=b;if(f&&f.extraQueryParams)for(var l in f.extraQueryParams)a[l]=f.extraQueryParams[l];(b=e)&&!(b=vv())&&(b=navigator.userAgent.toLowerCase(),-1<b.indexOf("ipad;")||-1<b.indexOf("iphone;")?(b=RegExp("os (\\d+)_\\d+(_\\d+)? like mac os x").exec(navigator.userAgent.toLowerCase()),b=!b||2>b.length?!1:14<=parseInt(b[1],10)):b=!1);b&&!a.prompt&&(a.prompt=
|
|
|
|
|
"select_account");k+=0>k.indexOf("?")?"?":"&";b=[];for(var m in a)if(a.hasOwnProperty(m)){c=a[m];if(null===c||void 0===c)c="";b.push(encodeURIComponent(m)+"="+encodeURIComponent(c))}return k+b.join("&")};
|
|
|
|
|
xv=function(a,b,c,d){if(!a.Tb)throw Error("ua");a.Jj=c||a.oW||"auth"+Math.floor(1E6*Math.random()+1);b=b||{};b.extraQueryParams=b.extraQueryParams||{};if(!b.extraQueryParams.redirect_uri){var e=a.Ad.split("//");c=b.extraQueryParams;var f=e[0],h=f.indexOf(":");0<h&&(f=f.substring(0,h));e=["storagerelay://",f,"/",e[1],"?"];e.push("id="+a.Jj);c.redirect_uri=e.join("")}return wv(a.Ab,a.Zd,a.Tb,a.Xq,!0,b,d)};yv=function(a,b,c){if(!a.Tb)throw Error("ua");return wv(a.Ab,a.Zd,a.Tb,a.Xq,!1,b,c)};
|
|
|
|
|
zv=function(a){if(!a)return"permission token";var b=a.split(" ");if(-1<b.indexOf("token")||-1<b.indexOf("code")||-1<b.indexOf("gsession"))return a;b.push("token");return b.join(" ")};Av=function(a,b){a.qn&&window.clearTimeout(a.qn);a.qn=window.setTimeout(function(){a.Jj==b&&(_.tu=void 0,a.qn=null,a.Jj=void 0,a.gt({authResult:{error:"popup_closed_by_user"}}))},1E3)};
|
|
|
|
|
Bv=function(a,b,c){if(!a.Tb)throw Error("va");c=c||{};a.Ux()&&a.Cq&&(qv()||rv())&&(c.responseType=zv(c.responseType));c=xv(a,c.sessionMeta,c.oneTimeId,c.responseType);(Object.hasOwnProperty.call(window,"ActiveXObject")&&!window.ActiveXObject||uv())&&_.cv(a,a.QP,[]);var d=a.Jj;a.AQ.open(c,b,function(){a.Jj==d&&Av(a,d)},function(){a.Jj=void 0;a.gt({authResult:{error:"popup_blocked_by_browser"}})})};Cv=function(a,b,c){a.Cj?c(a.Bm()):_.cv(a,a.tP,[b,c])};
|
|
|
|
|
_.Dv=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){f=a[c++];var 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("")};
|
|
|
|
|
Ev=function(a){var b=[];_.fh(a,function(c){b.push(c)});return b};_.Fv=function(a,b){_.Qh[b||"token"]=a};_.Gv=function(a){delete _.Qh[a||"token"]};
|
|
|
|
|
_.mu={parse:function(a){a=_.pf("["+String(a)+"]");if(!1===a||1!==a.length)throw new SyntaxError("JSON parsing failed.");return a[0]},stringify:function(a){return _.qf(a)}};
|
|
|
|
|
_.mv.prototype.NC=function(a,b){_.cv(this,this.PX,[a,b])};_.mv.prototype.PX=function(a,b){this.xd.NC(this.Tb,a,this.Ni,this.ue,b)};
|
|
|
|
|
_.Lu.prototype.NC=function(a,b,c,d,e){c=_.hu(c);_.Ou(this,"gsi:fetchLoginHint",{clientId:a,loginHint:b,request:c,sessionSelector:d},e)};
|
|
|
|
|
var Hv,Iv=["client_id","cookie_policy","scope"],Jv="client_id cookie_policy fetch_basic_profile hosted_domain scope openid_realm disable_token_refresh login_hint ux_mode redirect_uri state prompt oidc_spec_compliant nonce enable_serial_consent include_granted_scopes response_type session_selection plugin_name ack_extension_date gsiwebsdk".split(" "),Kv=["authuser","after_redirect","access_type","hl"],Lv=["login_hint","prompt"],Mv={clientid:"client_id",cookiepolicy:"cookie_policy"},Nv=["approval_prompt",
|
|
|
|
|
"authuser","login_hint","prompt","hd"],Ov=["login_hint","g-oauth-window","status"],Pv=Math.min(_.Be("oauth-flow/authWindowWidth",599),screen.width-20),Qv=Math.min(_.Be("oauth-flow/authWindowHeight",600),screen.height-30);
|
|
|
|
|
var Rv=function(a){_.gb.call(this,a)};_.D(Rv,_.gb);Rv.prototype.name="gapi.auth2.ExternallyVisibleError";
|
|
|
|
|
var Sv=function(){};Sv.prototype.select=function(a,b){if(a.sessions&&1==a.sessions.length&&(a=a.sessions[0],a.login_hint)){b(a);return}b()};var Tv=function(){};Tv.prototype.select=function(a,b){if(a.sessions&&a.sessions.length)for(var c=0;c<a.sessions.length;c++){var d=a.sessions[c];if(d.login_hint){b(d);return}}b()};var Uv=function(a){this.pW=a};
|
|
|
|
|
Uv.prototype.select=function(a,b){if(a.sessions)for(var c=0;c<a.sessions.length;c++){var d=a.sessions[c];if(d.session_state&&d.session_state.extraQueryParams&&d.session_state.extraQueryParams.authuser==this.pW){d.login_hint?b(d):b();return}}b()};
|
|
|
|
|
var Vv=function(a){this.Wd=a;this.Jz=[]};Vv.prototype.select=function(a){var b=0,c=this,d=function(e){if(e)a(e);else{var f=c.Jz[b];f?(b++,c.Wd.jy(function(h){h?f.select(h,d):d()})):a()}};d()};var Wv=function(a){a=new Vv(a);a.Jz.push(new Sv);return a},Xv=function(a){a=new Vv(a);a.Jz.push(new Tv);return a},Yv=function(a,b){void 0===b||null===b?b=Wv(a):(a=new Vv(a),a.Jz.push(new Uv(b)),b=a);return b};
|
|
|
|
|
var Zv=function(a){this.sf=a;this.isActive=!0};Zv.prototype.remove=function(){this.isActive=!1};Zv.prototype.trigger=function(){};var $v=function(a){this.remove=function(){a.remove()};this.trigger=function(){a.trigger()}},aw=function(){this.Wb=[]};aw.prototype.add=function(a){this.Wb.push(a)};aw.prototype.notify=function(a){for(var b=this.Wb,c=[],d=0;d<b.length;d++){var e=b[d];e.isActive&&(c.push(e),_.uj(bw(e.sf,a)))}this.Wb=c};var bw=function(a,b){return function(){a(b)}};
|
|
|
|
|
var dw=function(a){this.Oa=null;this.p6=new cw(this);this.Wb=new aw;void 0!=a&&this.set(a)};dw.prototype.set=function(a){a!=this.Oa&&(this.Oa=a,this.p6.value=a,this.Wb.notify(this.Oa))};dw.prototype.get=function(){return this.Oa};dw.prototype.V=function(a){a=new ew(this,a);this.Wb.add(a);return a};dw.prototype.get=dw.prototype.get;var ew=function(a,b){Zv.call(this,b);this.e1=a};_.D(ew,Zv);ew.prototype.trigger=function(){var a=this.sf;a(this.e1.get())};var cw=function(a){this.value=null;this.V=function(b){return new $v(a.V(b))}};
|
|
|
|
|
var fw={G8:"fetch_basic_profile",I9:"login_hint",faa:"prompt",maa:"redirect_uri",Eaa:"scope",Tba:"ux_mode",pba:"state"},gw=function(a){this.Ia={};if(a&&!_.si(a))if("function"==typeof a.get)this.Ia=a.get();else for(var b in fw){var c=fw[b];c in a&&(this.Ia[c]=a[c])}};gw.prototype.get=function(){return this.Ia};gw.prototype.WR=function(a){this.Ia.scope=a;return this};gw.prototype.ls=function(){return this.Ia.scope};
|
|
|
|
|
var hw=function(a,b){var c=a.Ia.scope;b=ov(b.split(" "),c?c.split(" "):[]);_.Yg(b);a.Ia.scope=b.join(" ")};_.g=gw.prototype;_.g.a5=function(a){this.Ia.prompt=a;return this};_.g.jZ=function(){return this.Ia.prompt};_.g.A4=function(){_.uf.warn("Property app_package_name no longer supported and was not set");return this};_.g.jY=function(){_.uf.warn("Property app_package_name no longer supported")};_.g.We=function(a){this.Ia.state=a};_.g.getState=function(){return this.Ia.state};
|
|
|
|
|
var iw=function(){return["toolbar=no","location="+(window.opera?"no":"yes"),"directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,copyhistory=no","width="+Pv,"height="+Qv,"top="+(screen.height-Qv)/2,"left="+(screen.width-Pv)/2].join()},jw=function(a){a=a&&a.id_token;if(!a||!a.split(".")[1])return null;a=(a.split(".")[1]+"...").replace(/^((....)+).?.?.?$/,"$1");return JSON.parse(_.Dv(Ev(a)))},kw=function(){Hv=_.Be("auth2/idpValue","google");var a=_.Be("oauth-flow/authUrl","https://accounts.google.com/o/oauth2/auth"),
|
|
|
|
|
b=_.Be("oauth-flow/idpIframeUrl","https://accounts.google.com/o/oauth2/iframe");_.su(Hv,{authServerUrl:a,idpIFrameUrl:b})},lw=function(a,b,c){for(var d=0;d<b.length;d++){var e=b[d];if(d===b.length-1){a[e]=c;break}_.Eb(a[e])||(a[e]={});a=a[e]}},mw=function(){var a=window.location.origin;a||(a=window.location.protocol+"//"+window.location.host);return a},ow=function(){var a=nw();a.storage_path&&window.sessionStorage.setItem(a.storage_path,mw()+window.location.pathname);if("enforced"==a.status.toLowerCase())throw new Rv("gapi.auth2 is disabled on this website, but it is still used on page "+
|
|
|
|
|
window.location.href);"informational"==a.status.toLowerCase()&&_.uf.warn("gapi.auth2 is disabled on this website, but it is still used on page "+window.location.href)};
|
|
|
|
|
var pw=function(a){var b=a?(b=jw(a))?b.sub:null:null;this.Ca=b;this.Bc=a?_.lj(a):null};_.g=pw.prototype;_.g.getId=function(){return this.Ca};_.g.eD=function(){var a=jw(this.Bc);return a?a.hd:null};_.g.Xf=function(){return!!this.Bc};_.g.Ek=function(a){if(a)return this.Bc;a=qw;var b=_.lj(this.Bc);!a.Jx||a.cE||a.L_||(delete b.access_token,delete b.scope);return b};_.g.eG=function(){return qw.eG()};_.g.Xj=function(){this.Bc=null};_.g.MY=function(){return this.Bc?this.Bc.scope:null};
|
|
|
|
|
_.g.update=function(a){this.Ca=a.Ca;this.Bc=a.Bc;this.Bc.id_token?this.pv=new rw(this.Bc):this.pv&&(this.pv=null)};var sw=function(a){return a.Bc&&"object"==typeof a.Bc.session_state?_.lj(a.Bc.session_state.extraQueryParams||{}):{}};_.g=pw.prototype;_.g.Lr=function(){var a=sw(this);return a&&void 0!==a.authuser&&null!==a.authuser?a.authuser:null};
|
|
|
|
|
_.g.Wj=function(a){var b=qw,c=new gw(a);b.cE=c.ls()?!0:!1;qw.Jx&&hw(c,"openid profile email");return new _.Fj(function(d,e){var f=sw(this);f.login_hint=this.getId();f.scope=c.ls();tw(b,d,e,f)},this)};_.g.rs=function(a){return new _.Fj(function(b,c){var d=a||{},e=qw;d.login_hint=this.getId();e.rs(d).then(b,c)},this)};_.g.AZ=function(a){return this.Wj(a)};_.g.disconnect=function(){return qw.disconnect()};_.g.mY=function(){return this.pv};
|
|
|
|
|
_.g.vx=function(a){if(!this.Xf())return!1;var b=this.Bc&&this.Bc.scope?this.Bc.scope.split(" "):"";return _.Sb(a?a.split(" "):[],function(c){return _.ib(b,c)})};var rw=function(a){a=jw(a);this.gY=a.sub;this.zf=a.name;this.xZ=a.given_name;this.NX=a.family_name;this.wO=a.picture;this.bw=a.email};_.g=rw.prototype;_.g.getId=function(){return this.gY};_.g.zg=function(){return this.zf};_.g.KY=function(){return this.xZ};_.g.FY=function(){return this.NX};_.g.SY=function(){return this.wO};_.g.Vr=function(){return this.bw};
|
|
|
|
|
var nw,uw;nw=function(){var a=_.Fh.get("G_AUTH2_MIGRATION");if(!a)return{status:"none"};a=/(enforced|informational)(?::(.*))?/i.exec(a);return a?{status:a[1].toLowerCase(),storage_path:a[2]}:(_.uf.warn("The G_AUTH2_MIGRATION cookie value is not valid."),{status:"none"})};uw=function(a){var b=location;if(a&&"none"!=a)return"single_host_origin"==a?b.protocol+"//"+b.host:a};
|
|
|
|
|
_.vw=function(a){if(!a)throw new Rv("No cookiePolicy");var b=window.location.hostname;"single_host_origin"==a&&(a=window.location.protocol+"//"+b);if("none"==a)return null;var c=/^(https?:\/\/)([0-9.\-_A-Za-z]+)(?::(\d+))?$/.exec(a);if(!c)throw new Rv("Invalid cookiePolicy");a=c[2];c=c[1];var d={};d.dotValue=a.split(".").length;d.isSecure=-1!=c.indexOf("https");d.domain=a;if(!_.yi(b,"."+a)&&!_.yi(b,a))throw new Rv("Invalid cookiePolicy domain");return d};
|
|
|
|
|
var xw=function(a){var b=a||{},c=ww();_.Pb(Jv,function(d){"undefined"===typeof b[d]&&"undefined"!==typeof c[d]&&(b[d]=c[d])});return b},ww=function(){for(var a={},b=document.getElementsByTagName("meta"),c=0;c<b.length;++c)if(b[c].name){var d=b[c].name;if(0==d.indexOf("google-signin-")){d=d.substring(14);var e=b[c].content;Mv[d]&&(d=Mv[d]);_.ib(Jv,d)&&e&&(a[d]="true"==e?!0:"false"==e?!1:e)}}return a},yw=function(a){return String(a).replace(/_([a-z])/g,function(b,c){return c.toUpperCase()})},zw=function(a){_.Pb(Jv,
|
|
|
|
|
function(b){var c=yw(b);"undefined"!==typeof a[c]&&"undefined"===typeof a[b]&&(a[b]=a[c],delete a[c])})},Aw=function(a){a=xw(a);zw(a);a.cookie_policy||(a.cookie_policy="single_host_origin");var b=Jv+Kv,c;for(c in a)0>b.indexOf(c)&&delete a[c];return a},Bw=function(a,b){if(!a)throw new Rv("Empty initial options.");for(var c=0;c<Iv.length;++c)if(!(b&&"scope"==Iv[c]||a[Iv[c]]))throw new Rv("Missing required parameter '"+Iv[c]+"'");_.vw(a.cookie_policy)},Dw=function(a){var b={authParameters:{redirect_uri:void 0,
|
|
|
|
|
response_type:"token id_token",scope:a.scope,"openid.realm":a.openid_realm,include_granted_scopes:!0},clientId:a.client_id,crossSubDomains:!0,domain:uw(a.cookie_policy),disableTokenRefresh:!!a.disable_token_refresh,idpId:Hv};Cw(b,a);_.Pb(Lv,function(d){a[d]&&(b.authParameters[d]=a[d])});"boolean"==typeof a.enable_serial_consent&&(b.enableSerialConsent=a.enable_serial_consent);if(a.plugin_name)b.pluginName=a.plugin_name;else{var c=_.Be("auth2/pluginName");c&&(b.pluginName=c)}a.ack_extension_date&&
|
|
|
|
|
(b.authParameters.ack_extension_date=a.ack_extension_date,b.ackExtensionDate=a.ack_extension_date);return b},Cw=function(a,b){var c=b.oidc_spec_compliant;b=b.nonce;c&&(a.spec_compliant=c,b=b||pv());b&&(a.authParameters.nonce=b,a.forceTokenRefresh=!0,a.skipTokenCache=!0)},Iw=function(a){var b=a.client_id,c=a.cookie_policy,d=a.scope,e=a.openid_realm,f=a.hosted_domain,h=a.oidc_spec_compliant,k=a.nonce,l=Ew(a),m={authParameters:{response_type:l,scope:d,"openid.realm":e},rpcAuthParameters:{response_type:l,
|
|
|
|
|
scope:d,"openid.realm":e},clientId:b,crossSubDomains:!0,domain:uw(c),idpId:Hv};f&&(m.authParameters.hd=f,m.rpcAuthParameters.hd=f);h&&(m.rpcAuthParameters.spec_compliant=h,k=k||pv());k&&(m.authParameters.nonce=k,m.rpcAuthParameters.nonce=k,m.forceTokenRefresh=!0,m.skipTokenCache=!0);_.Pb(Lv.concat(Kv),function(n){a[n]&&(m.authParameters[n]=a[n])});void 0!==a.authuser&&null!==a.authuser&&(m.authParameters.authuser=a.authuser);"boolean"==typeof a.include_granted_scopes&&(b=new Fw(a.response_type||"token"),
|
|
|
|
|
Gw(b)&&(m.authParameters.include_granted_scopes=a.include_granted_scopes),Hw(b)&&(m.rpcAuthParameters.include_granted_scopes=a.include_granted_scopes,!1===a.include_granted_scopes&&(m.forceTokenRefresh=!0,m.skipTokenCache=!0)));"boolean"==typeof a.enable_serial_consent&&(m.enableSerialConsent=a.enable_serial_consent);a.plugin_name?m.pluginName=a.plugin_name:(b=_.Be("auth2/pluginName"))&&(m.pluginName=b);a.ack_extension_date&&(m.authParameters.ack_extension_date=a.ack_extension_date,m.rpcAuthParameters.ack_extension_date=
|
|
|
|
|
a.ack_extension_date,m.ackExtensionDate=a.ack_extension_date);return m},Ew=function(a){a=new Fw(a.response_type||"token");var b=[];Hw(a)&&b.push("token");Jw(a,"id_token")&&b.push("id_token");0==b.length&&(b=["token","id_token"]);return b.join(" ")},Kw=["permission","id_token"],Lw=/(^|[^_])token/,Fw=function(a){this.Wp=[];this.wE(a)};
|
|
|
|
|
Fw.prototype.wE=function(a){a?((0<=a.indexOf("permission")||a.match(Lw))&&this.Wp.push("permission"),0<=a.indexOf("id_token")&&this.Wp.push("id_token"),0<=a.indexOf("code")&&this.Wp.push("code")):this.Wp=Kw};var Gw=function(a){return Jw(a,"code")},Hw=function(a){return Jw(a,"permission")};Fw.prototype.toString=function(){return this.Wp.join(" ")};var Jw=function(a,b){var c=!1;_.Pb(a.Wp,function(d){d==b&&(c=!0)});return c};
|
|
|
|
|
var Nw=function(a,b,c){this.hn=b;this.U1=a;for(var d in a)a.hasOwnProperty(d)&&Mw(this,d);if(c&&c.length)for(a=0;a<c.length;a++)this[c[a]]=this.hn[c[a]]},Mw=function(a,b){a[b]=function(){return a.U1[b].apply(a.hn,arguments)}};Nw.prototype.then=function(a,b,c){var d=this;return _.Jj().then(function(){return Ow(d.hn,a,b,c)})};_.oj(Nw);
|
|
|
|
|
var qw,Pw,Rw;qw=null;_.Qw=function(){return qw?Pw():null};Pw=function(){return new Nw(Rw.prototype,qw,["currentUser","isSignedIn"])};Rw=function(a){delete a.include_granted_scopes;this.Ia=Dw(a);this.cX=a.cookie_policy;this.L_=!!a.scope;(this.Jx=!1!==a.fetch_basic_profile)&&(this.Ia.authParameters.scope=Sw(this,"openid profile email"));_.Ch.GSI_SUPPORT_BLOCKED_3P_COOKIES&&(this.Cq=this.Ia.supportBlocked3PCookies=!0);this.Cs=a.hosted_domain;this.m6=a.ux_mode||"popup";this.i3=a.redirect_uri||null;this.tE()};
|
|
|
|
|
Rw.prototype.tE=function(){this.currentUser=new dw(new pw(null));this.isSignedIn=new dw(!1);this.Wd=new _.kv(this.Ia);this.Px=this.np=null;this.Q0=new _.Fj(function(a,b){this.np=a;this.Px=b},this);this.Gy={};this.Ms=!0;Tw(this);this.Wd.start()};
|
|
|
|
|
var Tw=function(a){a.Wd.addEventListener("error",function(b){a.Ms&&a.np&&(a.Ms=!1,a.Px({error:b.error,details:b.details}),a.np=null,a.Px=null)});a.Wd.addEventListener("authResult",function(b){b&&b.authResult&&a.ff(b);a.Wd.Ur()(b)});a.Wd.addEventListener("tokenReady",function(b){var c=new pw(b.response);if(a.Cs&&a.Cs!=c.eD())a.ff({type:"tokenFailed",reason:"Account domain does not match hosted_domain specified by gapi.auth2.init.",accountDomain:c.eD(),expectedDomain:a.Cs});else{a.currentUser.get().update(c);
|
|
|
|
|
var d=a.currentUser;d.Wb.notify(d.Oa);a.isSignedIn.set(!0);c=c.Lr();(d=_.vw(a.cX))&&c&&_.Fh.set(["G_AUTHUSER_","https:"===window.location.protocol&&d.Ke?"S":"H",d.Yh].join(""),c,{domain:d.domain,secure:d.isSecure});_.Fv(b.response);a.ff(b)}});a.Wd.addEventListener("noSessionBound",function(b){a.Ms&&b.autoOpenAuthUrl?(a.Ms=!1,Wv(a.Wd).select(function(c){if(c&&c.login_hint){var d=a.Wd;_.cv(d,d.qA,[c.login_hint,!0])}else a.currentUser.set(new pw(null)),a.isSignedIn.set(!1),_.Gv(),a.ff(b)})):(a.currentUser.set(new pw(null)),
|
|
|
|
|
a.isSignedIn.set(!1),_.Gv(),a.ff(b))});a.Wd.addEventListener("tokenFailed",function(b){a.ff(b)});a.Wd.addEventListener("userLoggedOut",function(b){a.currentUser.get().Xj();var c=a.currentUser;c.Wb.notify(c.Oa);a.isSignedIn.set(!1);_.Gv();a.ff(b)})},Ow=function(a,b,c,d){return a.Q0.then(function(e){if(b)return b(e.yZ)},c,d)};Rw.prototype.ff=function(a){if(a){this.Ms=!1;var b=a.type||"";if(this.Gy[b])this.Gy[b](a);this.np&&(this.np({yZ:this}),this.Px=this.np=null)}};
|
|
|
|
|
var Uw=function(a,b){_.mb(b,function(c,d){a.Gy[d]=function(e){a.Gy={};c(e)}})},tw=function(a,b,c,d){d=_.lj(d);a.Cs&&(d.hd=a.Cs);var e=d.ux_mode||a.m6;delete d.ux_mode;delete d.app_package_name;var f={sessionMeta:{extraQueryParams:d},responseType:"permission id_token"};"redirect"==e?(d.redirect_uri||(d.redirect_uri=a.i3||mw()+window.location.pathname),Vw(a,f)):(delete d.redirect_uri,Ww(a,f),Uw(a,{authResult:function(h){h.authResult&&h.authResult.error?c(h.authResult):Uw(a,{tokenReady:function(){b(a.currentUser.get())},
|
|
|
|
|
tokenFailed:c})}}))};Rw.prototype.Wj=function(a){return new _.Fj(function(b,c){var d=new gw(a);this.cE=d.ls()?!0:!1;this.Jx?(d.Ia.fetch_basic_profile=!0,hw(d,"email profile openid")):d.Ia.fetch_basic_profile=!1;var e=Sw(this,d.ls());d.WR(e);tw(this,b,c,d.get())},this)};
|
|
|
|
|
Rw.prototype.rs=function(a){var b=a||{};this.cE=!!b.scope;a=Sw(this,b.scope);if(""==a)return _.Kj({error:"Missing required parameter: scope"});var c={scope:a,access_type:"offline",include_granted_scopes:!0};_.Pb(Nv,function(d){null!=b[d]&&(c[d]=b[d])});c.hasOwnProperty("prompt")||c.hasOwnProperty("approval_prompt")||(c.prompt="consent");"postmessage"==b.redirect_uri||void 0==b.redirect_uri?a=Xw(this,c):(c.redirect_uri=b.redirect_uri,Vw(this,{sessionMeta:{extraQueryParams:c},responseType:"code id_token"}),
|
|
|
|
|
a=_.Jj({message:"Redirecting to IDP."}));return a};
|
|
|
|
|
var Xw=function(a,b){b.origin=mw();delete b.redirect_uri;Ww(a,{sessionMeta:{extraQueryParams:b},responseType:"code permission id_token"});return new _.Fj(function(c,d){Uw(this,{authResult:function(e){(e=e&&e.authResult)&&e.code?c({code:e.code}):d(e&&e.error?e:{error:"unknown_error"})}})},a)},Ww=function(a,b){lw(b,["sessionMeta","extraQueryParams","gsiwebsdk"],"2");Bv(a.Wd,iw(),b)},Vw=function(a,b){lw(b,["sessionMeta","extraQueryParams","gsiwebsdk"],"2");b=b||{};window.location.assign(yv(a.Wd,b.sessionMeta,
|
|
|
|
|
b.responseType))};Rw.prototype.Xj=function(a){var b=a||!1;return new _.Fj(function(c){sv(this.Wd,b,function(){c()})},this)};Rw.prototype.gN=function(){return this.Ia.authParameters.scope};var Sw=function(a,b){a=a.gN();b=ov(b?b.split(" "):[],a?a.split(" "):[]);_.Yg(b);return b.join(" ")};Rw.prototype.eG=function(){var a=this;return new _.Fj(function(b,c){Uw(a,{noSessionBound:c,tokenFailed:c,userLoggedOut:c,tokenReady:function(d){b(d.response)}});a.Wd.HM()})};
|
|
|
|
|
Rw.prototype.HK=function(a,b,c,d){if(a="string"===typeof a?document.getElementById(a):a){var e=this;_.Ti(a,"click",function(){var f=b;"function"==typeof b&&(f=b());e.Wj(f).then(function(h){c&&c(h)},function(h){d&&d(h)})})}else d&&d({error:"Could not attach click handler to the element. Reason: element not found."})};Rw.prototype.disconnect=function(){return new _.Fj(function(a){this.Wd.revoke(function(){a()})},this)};Rw.prototype.attachClickHandler=Rw.prototype.HK;
|
|
|
|
|
var Yw;_.Fj.prototype["catch"]=_.Fj.prototype.mu;Yw=null;_.Zw=function(a){ow();a=Aw(a);if(qw){if(_.kj(a,Yw||{}))return Pw();throw new Rv("gapi.auth2 has been initialized with different options. Consider calling gapi.auth2.getAuthInstance() instead of gapi.auth2.init().");}Bw(a,!1!==a.fetch_basic_profile);kw();Yw=a;qw=new Rw(a);_.te.ga=1;return Pw()};
|
|
|
|
|
var ax,cx,$w,ex,dx,fx;_.bx=function(a,b){kw();a=Aw(a);Bw(a);var c=Iw(a),d=new _.mv(c);"none"==a.prompt?$w(d,a,function(e){e.status=e.error?{signed_in:!1,method:null,google_logged_in:!1}:{signed_in:!0,method:"AUTO",google_logged_in:!0};b(e)}):ax(d,a,function(e){if(e.error)e.status={signed_in:!1,method:null,google_logged_in:!1};else{var f=e.access_token||e.id_token;e.status={signed_in:!!f,method:"PROMPT",google_logged_in:!!f}}e["g-oauth-window"]=d.AQ.Hh;b(e)})};
|
|
|
|
|
ax=function(a,b,c){var d=new Fw(b.response_type);c=cx(a,d,c);var e={responseType:d.toString()};lw(e,["sessionMeta","extraQueryParams","gsiwebsdk"],b.gsiwebsdk||"2");Gw(d)&&lw(e,["sessionMeta","extraQueryParams","access_type"],b.access_type||"offline");b.redirect_uri&&lw(e,["sessionMeta","extraQueryParams","redirect_uri"],b.redirect_uri);b.state&&lw(e,["sessionMeta","extraQueryParams","state"],b.state);b=iw();a.Cj?c({authResult:{error:"idpiframe_initialization_failed",details:a.Bm().error}}):(a.Sl=
|
|
|
|
|
c,Bv(a,b,e))};cx=function(a,b,c){if(Hw(b)){var d=dx(c);return function(e){e&&e.authResult&&!e.authResult.error?a.Ur(function(f){f&&!f.error?(f=_.lj(f),Gw(b)&&(f.code=e.authResult.code),d(f)):d(f?f:{error:"unknown_error"})})(e):d(e&&e.authResult?e.authResult:{error:"unknown_error"})}}return function(e){e&&e.authResult&&!e.authResult.error?c(_.lj(e.authResult)):c(e&&e.authResult?e.authResult:{error:"unknown_error"})}};
|
|
|
|
|
$w=function(a,b,c){if(Gw(new Fw(b.response_type))&&"offline"==b.access_type)c({error:"immediate_failed",error_subtype:"access_denied"});else{var d=dx(c);b.login_hint?a.NC(b.login_hint,function(e){e?ex(a,b,e,d):c({error:"immediate_failed",error_subtype:"access_denied"})}):void 0!==b.authuser&&null!==b.authuser?Yv(a,b.authuser).select(function(e){e&&e.login_hint?ex(a,b,e.login_hint,d):d({error:"immediate_failed",error_subtype:"access_denied"})}):a.Or(function(e){e&&e.hint?ex(a,b,e.hint,d):e&&e.disabled?
|
|
|
|
|
d({error:"immediate_failed",error_subtype:"no_user_bound"}):("first_valid"==b.session_selection?Xv(a):Wv(a)).select(function(f){f&&f.login_hint?ex(a,b,f.login_hint,d):d({error:"immediate_failed",error_subtype:"no_user_bound"})})})}};ex=function(a,b,c,d){b=new Fw(b.response_type);var e=0,f={},h=function(k){!k||k.error?d(k):(e--,_.ui(f,k),0==e&&d(f))};(Hw(b)||Jw(b,"id_token"))&&e++;Gw(b)&&e++;(Hw(b)||Jw(b,"id_token"))&&_.nv(a,c,h);Gw(b)&&Cv(a,c,h)};
|
|
|
|
|
dx=function(a){return function(b){if(!b||b.error)_.Gv(),b?a(b):a({error:"unknown_error"});else{if(b.access_token){var c=_.lj(b);fx(c);delete c.id_token;delete c.code;_.Fv(c)}a(b)}}};fx=function(a){_.Pb(Ov,function(b){delete a[b]})};
|
|
|
|
|
_.u("gapi.auth2.init",_.Zw);_.u("gapi.auth2.authorize",function(a,b){ow();if(null!=qw)throw new Rv("gapi.auth2.authorize cannot be called after GoogleAuth has been initialized (i.e. with a call to gapi.auth2.init, or gapi.client.init when given a 'clientId' and a 'scope' parameters).");_.bx(a,function(c){fx(c);b(c)})});_.u("gapi.auth2._gt",function(){return _.Rh()});_.u("gapi.auth2.enableDebugLogs",function(a){a=!1!==a;_.bu="0"!=a&&!!a});_.u("gapi.auth2.getAuthInstance",_.Qw);
|
|
|
|
|
_.u("gapi.auth2.BasicProfile",rw);_.u("gapi.auth2.BasicProfile.prototype.getId",rw.prototype.getId);_.u("gapi.auth2.BasicProfile.prototype.getName",rw.prototype.zg);_.u("gapi.auth2.BasicProfile.prototype.getGivenName",rw.prototype.KY);_.u("gapi.auth2.BasicProfile.prototype.getFamilyName",rw.prototype.FY);_.u("gapi.auth2.BasicProfile.prototype.getImageUrl",rw.prototype.SY);_.u("gapi.auth2.BasicProfile.prototype.getEmail",rw.prototype.Vr);_.u("gapi.auth2.GoogleAuth",Rw);
|
|
|
|
|
_.u("gapi.auth2.GoogleAuth.prototype.attachClickHandler",Rw.prototype.HK);_.u("gapi.auth2.GoogleAuth.prototype.disconnect",Rw.prototype.disconnect);_.u("gapi.auth2.GoogleAuth.prototype.grantOfflineAccess",Rw.prototype.rs);_.u("gapi.auth2.GoogleAuth.prototype.signIn",Rw.prototype.Wj);_.u("gapi.auth2.GoogleAuth.prototype.signOut",Rw.prototype.Xj);_.u("gapi.auth2.GoogleAuth.prototype.getInitialScopes",Rw.prototype.gN);_.u("gapi.auth2.GoogleUser",pw);_.u("gapi.auth2.GoogleUser.prototype.grant",pw.prototype.AZ);
|
|
|
|
|
_.u("gapi.auth2.GoogleUser.prototype.getId",pw.prototype.getId);_.u("gapi.auth2.GoogleUser.prototype.isSignedIn",pw.prototype.Xf);_.u("gapi.auth2.GoogleUser.prototype.getAuthResponse",pw.prototype.Ek);_.u("gapi.auth2.GoogleUser.prototype.getBasicProfile",pw.prototype.mY);_.u("gapi.auth2.GoogleUser.prototype.getGrantedScopes",pw.prototype.MY);_.u("gapi.auth2.GoogleUser.prototype.getHostedDomain",pw.prototype.eD);_.u("gapi.auth2.GoogleUser.prototype.grantOfflineAccess",pw.prototype.rs);
|
|
|
|
|
_.u("gapi.auth2.GoogleUser.prototype.hasGrantedScopes",pw.prototype.vx);_.u("gapi.auth2.GoogleUser.prototype.reloadAuthResponse",pw.prototype.eG);_.u("gapi.auth2.LiveValue",dw);_.u("gapi.auth2.LiveValue.prototype.listen",dw.prototype.V);_.u("gapi.auth2.LiveValue.prototype.get",dw.prototype.get);_.u("gapi.auth2.SigninOptionsBuilder",gw);_.u("gapi.auth2.SigninOptionsBuilder.prototype.getAppPackageName",gw.prototype.jY);_.u("gapi.auth2.SigninOptionsBuilder.prototype.setAppPackageName",gw.prototype.A4);
|
|
|
|
|
_.u("gapi.auth2.SigninOptionsBuilder.prototype.getScope",gw.prototype.ls);_.u("gapi.auth2.SigninOptionsBuilder.prototype.setScope",gw.prototype.WR);_.u("gapi.auth2.SigninOptionsBuilder.prototype.getPrompt",gw.prototype.jZ);_.u("gapi.auth2.SigninOptionsBuilder.prototype.setPrompt",gw.prototype.a5);_.u("gapi.auth2.SigninOptionsBuilder.prototype.get",gw.prototype.get);
|
|
|
|
|
|
|
|
|
|
_.eg=(window.gapi||{}).load;
|
|
|
|
|
|
|
|
|
|
_.qn=_.he(_.te,"rw",_.ie());
|
|
|
|
|
|
|
|
|
|
var rn=function(a,b){(a=_.qn[a])&&a.state<b&&(a.state=b)};
|
|
|
|
|
var sn=function(a){a=(a=_.qn[a])?a.oid:void 0;if(a){var b=_.ee.getElementById(a);b&&b.parentNode.removeChild(b);delete _.qn[a];sn(a)}};
|
|
|
|
|
_.tn=function(a){a=a.container;"string"===typeof a&&(a=document.getElementById(a));return a};_.un=function(a){var b=a.clientWidth;return"position:absolute;top:-10000px;width:"+(b?b+"px":a.style.width||"300px")+";margin:0px;border-style:none;"};
|
|
|
|
|
_.vn=function(a,b){var c={},d=a.lc(),e=b&&b.width,f=b&&b.height,h=b&&b.verticalAlign;h&&(c.verticalAlign=h);e||(e=d.width||a.width);f||(f=d.height||a.height);d.width=c.width=e;d.height=c.height=f;d=a.getIframeEl();e=a.getId();rn(e,2);a:{e=a.getSiteEl();c=c||{};if(_.te.oa){var k=d.id;if(k){f=(f=_.qn[k])?f.state:void 0;if(1===f||4===f)break a;sn(k)}}(f=e.nextSibling)&&f.getAttribute&&f.getAttribute("data-gapistub")&&(e.parentNode.removeChild(f),e.style.cssText="");f=c.width;h=c.height;var l=e.style;
|
|
|
|
|
l.textIndent="0";l.margin="0";l.padding="0";l.background="transparent";l.borderStyle="none";l.cssFloat="none";l.styleFloat="none";l.lineHeight="normal";l.fontSize="1px";l.verticalAlign="baseline";e=e.style;e.display="inline-block";d=d.style;d.position="static";d.left="0";d.top="0";d.visibility="visible";f&&(e.width=d.width=f+"px");h&&(e.height=d.height=h+"px");c.verticalAlign&&(e.verticalAlign=c.verticalAlign);k&&rn(k,3)}(k=b?b.title:null)&&a.getIframeEl().setAttribute("title",k);(b=b?b.ariaLabel:
|
|
|
|
|
null)&&a.getIframeEl().setAttribute("aria-label",b)};_.wn=function(a){var b=a.getSiteEl();b&&b.removeChild(a.getIframeEl())};_.xn=function(a){a.where=_.tn(a);var b=a.messageHandlers=a.messageHandlers||{},c=function(e){_.vn(this,e)};b._ready=c;b._renderstart=c;var d=a.onClose;a.onClose=function(e){d&&d.call(this,e);_.wn(this)};a.onCreate=function(e){e=e.getIframeEl();e.style.cssText=_.un(e)}};
|
|
|
|
|
|
|
|
|
|
_.Je=function(){var a=window.gadgets&&window.gadgets.config&&window.gadgets.config.get;a&&_.Ce(a());return{register:function(b,c,d){d&&d(_.Be())},get:function(b){return _.Be(b)},update:function(b,c){if(c)throw"Config replacement is not supported";_.Ce(b)},yd:function(){}}}();
|
|
|
|
|
_.u("gadgets.config.register",_.Je.register);_.u("gadgets.config.get",_.Je.get);_.u("gadgets.config.init",_.Je.yd);_.u("gadgets.config.update",_.Je.update);
|
|
|
|
|
|
|
|
|
|
_.u("gadgets.json.stringify",_.qf);_.u("gadgets.json.parse",_.pf);
|
|
|
|
|
|
|
|
|
|
(function(){function a(e,f){if(!(e<c)&&d)if(2===e&&d.warn)d.warn(f);else if(3===e&&d.error)try{d.error(f)}catch(h){}else d.log&&d.log(f)}var b=function(e){a(1,e)};_.Ge=function(e){a(2,e)};_.He=function(e){a(3,e)};_.Ie=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})();
|
|
|
|
|
|
|
|
|
|
_.Ee=_.Ee||{};
|
|
|
|
|
|
|
|
|
|
_.Ee=_.Ee||{};(function(){var a=[];_.Ee.Cfa=function(b){a.push(b)};_.Ee.Nfa=function(){for(var b=0,c=a.length;b<c;++b)a[b]()}})();
|
|
|
|
|
|
|
|
|
|
_.Ee=_.Ee||{};
|
|
|
|
|
(function(){function a(c){var d="undefined"===typeof c;if(null!==b&&d)return b;var e={};c=c||window.location.href;var f=c.indexOf("?"),h=c.indexOf("#");c=(-1===h?c.substr(f+1):[c.substr(f+1,h-f-1),"&",c.substr(h+1)].join("")).split("&");f=window.decodeURIComponent?decodeURIComponent:unescape;h=0;for(var k=c.length;h<k;++h){var l=c[h].indexOf("=");if(-1!==l){var m=c[h].substring(0,l);l=c[h].substring(l+1);l=l.replace(/\+/g," ");try{e[m]=f(l)}catch(n){}}}d&&(b=e);return e}var b=null;_.Ee.Dg=a;a()})();
|
|
|
|
|
_.u("gadgets.util.getUrlParameters",_.Ee.Dg);
|
|
|
|
|
|
|
|
|
|
_.vf=function(){var a=_.ee.readyState;return"complete"===a||"interactive"===a&&-1==navigator.userAgent.indexOf("MSIE")};_.wf=function(a){if(_.vf())a();else{var b=!1,c=function(){if(!b)return b=!0,a.apply(this,arguments)};_.de.addEventListener?(_.de.addEventListener("load",c,!1),_.de.addEventListener("DOMContentLoaded",c,!1)):_.de.attachEvent&&(_.de.attachEvent("onreadystatechange",function(){_.vf()&&c.apply(this,arguments)}),_.de.attachEvent("onload",c))}};
|
|
|
|
|
_.xf=function(a,b){var c=_.he(_.te,"watt",_.ie());_.he(c,a,b)};_.me(_.de.location.href,"rpctoken")&&_.re(_.ee,"unload",function(){});
|
|
|
|
|
var yf=yf||{};yf.hR=null;yf.OP=null;yf.Ax=null;yf.frameElement=null;
|
|
|
|
|
yf=yf||{};
|
|
|
|
|
yf.vJ||(yf.vJ=function(){function a(f,h,k){"undefined"!=typeof window.addEventListener?window.addEventListener(f,h,k):"undefined"!=typeof window.attachEvent&&window.attachEvent("on"+f,h);"message"===f&&(window.___jsl=window.___jsl||{},f=window.___jsl,f.RPMQ=f.RPMQ||[],f.RPMQ.push(h))}function b(f){var h=_.pf(f.data);if(h&&h.f){_.Ie();var k=_.zf.Im(h.f);e&&("undefined"!==typeof f.origin?f.origin!==k:f.domain!==/^.+:\/\/([^:]+).*/.exec(k)[1])?_.He("Invalid rpc message origin. "+k+" vs "+(f.origin||"")):
|
|
|
|
|
c(h,f.origin)}}var c,d,e=!0;return{UM:function(){return"wpm"},P0:function(){return!0},yd:function(f,h){_.Je.register("rpc",null,function(k){"true"===String((k&&k.rpc||{}).disableForceSecure)&&(e=!1)});c=f;d=h;a("message",b,!1);d("..",!0);return!0},Gb:function(f){d(f,!0);return!0},call:function(f,h,k){var l=_.zf.Im(f),m=_.zf.jK(f);l?window.setTimeout(function(){var n=_.qf(k);_.Ie();m.postMessage(n,l)},0):".."!=f&&_.He("No relay set (used as window.postMessage targetOrigin), cannot send cross-domain message");
|
|
|
|
|
return!0}}}());
|
|
|
|
|
if(window.gadgets&&window.gadgets.rpc)"undefined"!=typeof _.zf&&_.zf||(_.zf=window.gadgets.rpc,_.zf.config=_.zf.config,_.zf.register=_.zf.register,_.zf.unregister=_.zf.unregister,_.zf.PQ=_.zf.registerDefault,_.zf.US=_.zf.unregisterDefault,_.zf.GM=_.zf.forceParentVerifiable,_.zf.call=_.zf.call,_.zf.js=_.zf.getRelayUrl,_.zf.Ti=_.zf.setRelayUrl,_.zf.Nz=_.zf.setAuthToken,_.zf.Wt=_.zf.setupReceiver,_.zf.wm=_.zf.getAuthToken,_.zf.gG=_.zf.removeReceiver,_.zf.sN=_.zf.getRelayChannel,_.zf.NQ=_.zf.receive,
|
|
|
|
|
_.zf.OQ=_.zf.receiveSameDomain,_.zf.getOrigin=_.zf.getOrigin,_.zf.Im=_.zf.getTargetOrigin,_.zf.jK=_.zf._getTargetWin,_.zf.UV=_.zf._parseSiblingId);else{_.zf=function(){function a(C,Y){if(!W[C]){var S=Z;Y||(S=Sa);W[C]=S;Y=K[C]||[];for(var ma=0;ma<Y.length;++ma){var Ca=Y[ma];Ca.t=B[C];S.call(C,Ca.f,Ca)}K[C]=[]}}function b(){function C(){cb=!0}qa||("undefined"!=typeof window.addEventListener?window.addEventListener("unload",C,!1):"undefined"!=typeof window.attachEvent&&window.attachEvent("onunload",
|
|
|
|
|
C),qa=!0)}function c(C,Y,S,ma,Ca){B[Y]&&B[Y]===S||(_.He("Invalid gadgets.rpc token. "+B[Y]+" vs "+S),ra(Y,2));Ca.onunload=function(){G[Y]&&!cb&&(ra(Y,1),_.zf.gG(Y))};b();ma=_.pf(decodeURIComponent(ma))}function d(C,Y){if(C&&"string"===typeof C.s&&"string"===typeof C.f&&C.a instanceof Array)if(B[C.f]&&B[C.f]!==C.t&&(_.He("Invalid gadgets.rpc token. "+B[C.f]+" vs "+C.t),ra(C.f,2)),"__ack"===C.s)window.setTimeout(function(){a(C.f,!0)},0);else{C.c&&(C.callback=function(ja){_.zf.call(C.f,(C.g?"legacy__":
|
|
|
|
|
"")+"__cb",null,C.c,ja)});if(Y){var S=e(Y);C.origin=Y;var ma=C.r;try{var Ca=e(ma)}catch(ja){}ma&&Ca==S||(ma=Y);C.referer=ma}Y=(r[C.s]||r[""]).apply(C,C.a);C.c&&"undefined"!==typeof Y&&_.zf.call(C.f,"__cb",null,C.c,Y)}}function e(C){if(!C)return"";C=C.split("#")[0].split("?")[0];C=C.toLowerCase();0==C.indexOf("//")&&(C=window.location.protocol+C);-1==C.indexOf("://")&&(C=window.location.protocol+"//"+C);var Y=C.substring(C.indexOf("://")+3),S=Y.indexOf("/");-1!=S&&(Y=Y.substring(0,S));C=C.substring(0,
|
|
|
|
|
C.indexOf("://"));if("http"!==C&&"https"!==C&&"chrome-extension"!==C&&"file"!==C&&"android-app"!==C&&"chrome-search"!==C&&"chrome-untrusted"!==C&&"chrome"!==C&&"devtools"!==C)throw Error("s");S="";var ma=Y.indexOf(":");if(-1!=ma){var Ca=Y.substring(ma+1);Y=Y.substring(0,ma);if("http"===C&&"80"!==Ca||"https"===C&&"443"!==Ca)S=":"+Ca}return C+"://"+Y+S}function f(C){if("/"==C.charAt(0)){var Y=C.indexOf("|");return{id:0<Y?C.substring(1,Y):C.substring(1),origin:0<Y?C.substring(Y+1):null}}return null}
|
|
|
|
|
function h(C){if("undefined"===typeof C||".."===C)return window.parent;var Y=f(C);if(Y)return window.top.frames[Y.id];C=String(C);return(Y=window.frames[C])?Y:(Y=document.getElementById(C))&&Y.contentWindow?Y.contentWindow:null}function k(C,Y){if(!0!==G[C]){"undefined"===typeof G[C]&&(G[C]=0);var S=h(C);".."!==C&&null==S||!0!==Z.Gb(C,Y)?!0!==G[C]&&10>G[C]++?window.setTimeout(function(){k(C,Y)},500):(W[C]=Sa,G[C]=!0):G[C]=!0}}function l(C){(C=w[C])&&"/"===C.substring(0,1)&&(C="/"===C.substring(1,2)?
|
|
|
|
|
document.location.protocol+C:document.location.protocol+"//"+document.location.host+C);return C}function m(C,Y,S){Y&&!/http(s)?:\/\/.+/.test(Y)&&(0==Y.indexOf("//")?Y=window.location.protocol+Y:"/"==Y.charAt(0)?Y=window.location.protocol+"//"+window.location.host+Y:-1==Y.indexOf("://")&&(Y=window.location.protocol+"//"+Y));w[C]=Y;"undefined"!==typeof S&&(A[C]=!!S)}function n(C,Y){Y=Y||"";B[C]=String(Y);k(C,Y)}function q(C){C=(C.passReferrer||"").split(":",2);I=C[0]||"none";U=C[1]||"origin"}function p(C){"true"===
|
|
|
|
|
String(C.useLegacyProtocol)&&(Z=yf.Ax||Sa,Z.yd(d,a))}function t(C,Y){function S(ma){ma=ma&&ma.rpc||{};q(ma);var Ca=ma.parentRelayUrl||"";Ca=e(N.parent||Y)+Ca;m("..",Ca,"true"===String(ma.useLegacyProtocol));p(ma);n("..",C)}!N.parent&&Y?S({}):_.Je.register("rpc",null,S)}function v(C,Y,S){if(".."===C)t(S||N.rpctoken||N.ifpctok||"",Y);else a:{var ma=null;if("/"!=C.charAt(0)){if(!_.Ee)break a;ma=document.getElementById(C);if(!ma)throw Error("t`"+C);}ma=ma&&ma.src;Y=Y||e(ma);m(C,Y);Y=_.Ee.Dg(ma);n(C,S||
|
|
|
|
|
Y.rpctoken)}}var r={},w={},A={},B={},F=0,x={},G={},N={},W={},K={},I=null,U=null,ea=window.top!==window.self,ua=window.name,ra=function(){},Fa=window.console,Da=Fa&&Fa.log&&function(C){Fa.log(C)}||function(){},Sa=function(){function C(Y){return function(){Da(Y+": call ignored")}}return{UM:function(){return"noop"},P0:function(){return!0},yd:C("init"),Gb:C("setup"),call:C("call")}}();_.Ee&&(N=_.Ee.Dg());var cb=!1,qa=!1,Z=function(){if("rmr"==N.rpctx)return yf.hR;var C="function"===typeof window.postMessage?
|
|
|
|
|
yf.vJ:"object"===typeof window.postMessage?yf.vJ:window.ActiveXObject?yf.OP?yf.OP:yf.Ax:0<navigator.userAgent.indexOf("WebKit")?yf.hR:"Gecko"===navigator.product?yf.frameElement:yf.Ax;C||(C=Sa);return C}();r[""]=function(){Da("Unknown RPC service: "+this.s)};r.__cb=function(C,Y){var S=x[C];S&&(delete x[C],S.call(this,Y))};return{config:function(C){"function"===typeof C.nR&&(ra=C.nR)},register:function(C,Y){if("__cb"===C||"__ack"===C)throw Error("u");if(""===C)throw Error("v");r[C]=Y},unregister:function(C){if("__cb"===
|
|
|
|
|
C||"__ack"===C)throw Error("w");if(""===C)throw Error("x");delete r[C]},PQ:function(C){r[""]=C},US:function(){delete r[""]},GM:function(){},call:function(C,Y,S,ma){C=C||"..";var Ca="..";".."===C?Ca=ua:"/"==C.charAt(0)&&(Ca=e(window.location.href),Ca="/"+ua+(Ca?"|"+Ca:""));++F;S&&(x[F]=S);var ja={s:Y,f:Ca,c:S?F:0,a:Array.prototype.slice.call(arguments,3),t:B[C],l:!!A[C]};a:if("bidir"===I||"c2p"===I&&".."===C||"p2c"===I&&".."!==C){var ta=window.location.href;var Ja="?";if("query"===U)Ja="#";else if("hash"===
|
|
|
|
|
U)break a;Ja=ta.lastIndexOf(Ja);Ja=-1===Ja?ta.length:Ja;ta=ta.substring(0,Ja)}else ta=null;ta&&(ja.r=ta);if(".."===C||null!=f(C)||document.getElementById(C))(ta=W[C])||null===f(C)||(ta=Z),0===Y.indexOf("legacy__")&&(ta=Z,ja.s=Y.substring(8),ja.c=ja.c?ja.c:F),ja.g=!0,ja.r=Ca,ta?(A[C]&&(ta=yf.Ax),!1===ta.call(C,Ca,ja)&&(W[C]=Sa,Z.call(C,Ca,ja))):K[C]?K[C].push(ja):K[C]=[ja]},js:l,Ti:m,Nz:n,Wt:v,wm:function(C){return B[C]},gG:function(C){delete w[C];delete A[C];delete B[C];delete G[C];delete W[C]},sN:function(){return Z.UM()},
|
|
|
|
|
NQ:function(C,Y){4<C.length?Z.dda(C,d):c.apply(null,C.concat(Y))},OQ:function(C){C.a=Array.prototype.slice.call(C.a);window.setTimeout(function(){d(C)},0)},getOrigin:e,Im:function(C){var Y=null,S=l(C);S?Y=S:(S=f(C))?Y=S.origin:".."==C?Y=N.parent:(C=document.getElementById(C))&&"iframe"===C.tagName.toLowerCase()&&(Y=C.src);return e(Y)},yd:function(){!1===Z.yd(d,a)&&(Z=Sa);ea?v(".."):_.Je.register("rpc",null,function(C){C=C.rpc||{};q(C);p(C)})},jK:h,UV:f,B6:"__ack",Aaa:ua||"..",Kaa:0,Jaa:1,Iaa:2}}();
|
|
|
|
|
_.zf.yd()}
|
|
|
|
|
;_.zf.config({nR:function(a){throw Error("y`"+a);}});
|
|
|
|
|
_.u("gadgets.rpc.config",_.zf.config);_.u("gadgets.rpc.register",_.zf.register);_.u("gadgets.rpc.unregister",_.zf.unregister);_.u("gadgets.rpc.registerDefault",_.zf.PQ);_.u("gadgets.rpc.unregisterDefault",_.zf.US);_.u("gadgets.rpc.forceParentVerifiable",_.zf.GM);_.u("gadgets.rpc.call",_.zf.call);_.u("gadgets.rpc.getRelayUrl",_.zf.js);_.u("gadgets.rpc.setRelayUrl",_.zf.Ti);_.u("gadgets.rpc.setAuthToken",_.zf.Nz);_.u("gadgets.rpc.setupReceiver",_.zf.Wt);_.u("gadgets.rpc.getAuthToken",_.zf.wm);
|
|
|
|
|
_.u("gadgets.rpc.removeReceiver",_.zf.gG);_.u("gadgets.rpc.getRelayChannel",_.zf.sN);_.u("gadgets.rpc.receive",_.zf.NQ);_.u("gadgets.rpc.receiveSameDomain",_.zf.OQ);_.u("gadgets.rpc.getOrigin",_.zf.getOrigin);_.u("gadgets.rpc.getTargetOrigin",_.zf.Im);
|
|
|
|
|
|
|
|
|
|
_.hg=function(a){if(!a)return"";if(/^about:(?:blank|srcdoc)$/.test(a))return window.origin||"";a=a.split("#")[0].split("?")[0];a=a.toLowerCase();0==a.indexOf("//")&&(a=window.location.protocol+a);/^[\w\-]*:\/\//.test(a)||(a=window.location.href);var b=a.substring(a.indexOf("://")+3),c=b.indexOf("/");-1!=c&&(b=b.substring(0,c));c=a.substring(0,a.indexOf("://"));if(!c)throw Error("z`"+a);if("http"!==c&&"https"!==c&&"chrome-extension"!==c&&"moz-extension"!==c&&"file"!==c&&"android-app"!==c&&"chrome-search"!==
|
|
|
|
|
c&&"chrome-untrusted"!==c&&"chrome"!==c&&"app"!==c&&"devtools"!==c)throw Error("A`"+c);a="";var d=b.indexOf(":");if(-1!=d){var e=b.substring(d+1);b=b.substring(0,d);if("http"===c&&"80"!==e||"https"===c&&"443"!==e)a=":"+e}return c+"://"+b+a};
|
|
|
|
|
|
|
|
|
|
var jg=function(){this.blockSize=-1};
|
|
|
|
|
var kg=function(){this.blockSize=-1;this.blockSize=64;this.Gc=[];this.HB=[];this.QV=[];this.Ry=[];this.Ry[0]=128;for(var a=1;a<this.blockSize;++a)this.Ry[a]=0;this.yA=this.kp=0;this.reset()};_.ab(kg,jg);kg.prototype.reset=function(){this.Gc[0]=1732584193;this.Gc[1]=4023233417;this.Gc[2]=2562383102;this.Gc[3]=271733878;this.Gc[4]=3285377520;this.yA=this.kp=0};
|
|
|
|
|
var lg=function(a,b,c){c||(c=0);var d=a.QV;if("string"===typeof b)for(var e=0;16>e;e++)d[e]=b.charCodeAt(c)<<24|b.charCodeAt(c+1)<<16|b.charCodeAt(c+2)<<8|b.charCodeAt(c+3),c+=4;else for(e=0;16>e;e++)d[e]=b[c]<<24|b[c+1]<<16|b[c+2]<<8|b[c+3],c+=4;for(e=16;80>e;e++){var f=d[e-3]^d[e-8]^d[e-14]^d[e-16];d[e]=(f<<1|f>>>31)&4294967295}b=a.Gc[0];c=a.Gc[1];var h=a.Gc[2],k=a.Gc[3],l=a.Gc[4];for(e=0;80>e;e++){if(40>e)if(20>e){f=k^c&(h^k);var m=1518500249}else f=c^h^k,m=1859775393;else 60>e?(f=c&h|k&(c|h),
|
|
|
|
|
m=2400959708):(f=c^h^k,m=3395469782);f=(b<<5|b>>>27)+f+l+m+d[e]&4294967295;l=k;k=h;h=(c<<30|c>>>2)&4294967295;c=b;b=f}a.Gc[0]=a.Gc[0]+b&4294967295;a.Gc[1]=a.Gc[1]+c&4294967295;a.Gc[2]=a.Gc[2]+h&4294967295;a.Gc[3]=a.Gc[3]+k&4294967295;a.Gc[4]=a.Gc[4]+l&4294967295};
|
|
|
|
|
kg.prototype.update=function(a,b){if(null!=a){void 0===b&&(b=a.length);for(var c=b-this.blockSize,d=0,e=this.HB,f=this.kp;d<b;){if(0==f)for(;d<=c;)lg(this,a,d),d+=this.blockSize;if("string"===typeof a)for(;d<b;){if(e[f]=a.charCodeAt(d),++f,++d,f==this.blockSize){lg(this,e);f=0;break}}else for(;d<b;)if(e[f]=a[d],++f,++d,f==this.blockSize){lg(this,e);f=0;break}}this.kp=f;this.yA+=b}};
|
|
|
|
|
kg.prototype.digest=function(){var a=[],b=8*this.yA;56>this.kp?this.update(this.Ry,56-this.kp):this.update(this.Ry,this.blockSize-(this.kp-56));for(var c=this.blockSize-1;56<=c;c--)this.HB[c]=b&255,b/=256;lg(this,this.HB);for(c=b=0;5>c;c++)for(var d=24;0<=d;d-=8)a[b]=this.Gc[c]>>d&255,++b;return a};
|
|
|
|
|
_.mg=function(){this.yI=new kg};_.g=_.mg.prototype;_.g.reset=function(){this.yI.reset()};_.g.WS=function(a){this.yI.update(a)};_.g.GL=function(){return this.yI.digest()};_.g.Du=function(a){a=unescape(encodeURIComponent(a));for(var b=[],c=0,d=a.length;c<d;++c)b.push(a.charCodeAt(c));this.WS(b)};_.g.Xh=function(){for(var a=this.GL(),b="",c=0;c<a.length;c++)b+="0123456789ABCDEF".charAt(Math.floor(a[c]/16))+"0123456789ABCDEF".charAt(a[c]%16);return b};
|
|
|
|
|
|
|
|
|
|
_.yh=function(a){var b=window.___jsl=window.___jsl||{};b.cfg=!a&&b.cfg||{};return b.cfg};_.zh=function(a){var b=_.yh();if(!a)return b;a=a.split("/");for(var c=0,d=a.length;b&&"object"===typeof b&&c<d;++c)b=b[a[c]];return c===a.length&&void 0!==b?b:void 0};
|
|
|
|
|
|
|
|
|
|
var Ah;Ah=/^https?:\/\/(?:\w|[\-\.])+\.google\.(?:\w|[\-:\.])+(?:\/[^\?#]*)?\/u\/(\d)\//;
|
|
|
|
|
_.Bh=function(a){var b=_.zh("googleapis.config/sessionIndex");"string"===typeof b&&254<b.length&&(b=null);null==b&&(b=window.__X_GOOG_AUTHUSER);"string"===typeof b&&254<b.length&&(b=null);if(null==b){var c=window.google;c&&(b=c.authuser)}"string"===typeof b&&254<b.length&&(b=null);null==b&&(a=a||window.location.href,b=_.me(a,"authuser")||null,null==b&&(b=(b=a.match(Ah))?b[1]:null));if(null==b)return null;b=String(b);254<b.length&&(b=null);return b};
|
|
|
|
|
|
|
|
|
|
var Th,Sh,Zh,$h,Uh,Xh,Vh,ai,Wh;_.Yh=function(){if(Sh){var a=new _.de.Uint32Array(1);Th.getRandomValues(a);a=Number("0."+a[0])}else a=Uh,a+=parseInt(Vh.substr(0,20),16),Vh=Wh(Vh),a/=Xh+Math.pow(16,20);return a};Th=_.de.crypto;Sh=!1;Zh=0;$h=0;Uh=1;Xh=0;Vh="";ai=function(a){a=a||_.de.event;var b=a.screenX+a.clientX<<16;b+=a.screenY+a.clientY;b*=(new Date).getTime()%1E6;Uh=Uh*b%Xh;0<Zh&&++$h==Zh&&_.qe(_.de,"mousemove",ai,"remove","de")};Wh=function(a){var b=new _.mg;b.Du(a);return b.Xh()};
|
|
|
|
|
Sh=!!Th&&"function"==typeof Th.getRandomValues;Sh||(Xh=1E6*(screen.width*screen.width+screen.height),Vh=Wh(_.ee.cookie+"|"+_.ee.location+"|"+(new Date).getTime()+"|"+Math.random()),Zh=_.zh("random/maxObserveMousemove")||0,0!=Zh&&_.re(_.de,"mousemove",ai));
|
|
|
|
|
|
|
|
|
|
_.ii=function(a){var b=window;a=(a||b.location.href).match(RegExp(".*(\\?|#|&)usegapi=([^&#]+)"))||[];return"1"===decodeURIComponent(a[a.length-1]||"")};
|
|
|
|
|
|
|
|
|
|
_.ej=function(a,b,c,d){for(var e=0,f=a.length,h;e<f;){var k=e+(f-e>>>1);var l=c?b.call(void 0,a[k],k,a):b(d,a[k]);0<l?e=k+1:(f=k,h=!l)}return h?e:-e-1};_.fj=function(a,b){var c={},d;for(d in a)b.call(void 0,a[d],d,a)&&(c[d]=a[d]);return c};
|
|
|
|
|
|
|
|
|
|
var gj=function(a){this.O=a};_.g=gj.prototype;_.g.value=function(){return this.O};_.g.we=function(a){this.O.width=a;return this};_.g.Pb=function(){return this.O.width};_.g.Bd=function(a){this.O.height=a;return this};_.g.Dc=function(){return this.O.height};_.g.Nh=function(a){this.O.style=a;return this};_.g.getStyle=function(){return this.O.style};
|
|
|
|
|
_.hj=function(a){this.O=a||{}};_.g=_.hj.prototype;_.g.value=function(){return this.O};_.g.setUrl=function(a){this.O.url=a;return this};_.g.getUrl=function(){return this.O.url};_.g.Nh=function(a){this.O.style=a;return this};_.g.getStyle=function(){return this.O.style};_.g.ve=function(a){this.O.id=a;return this};_.g.getId=function(){return this.O.id};_.g.Hl=function(a){this.O.rpctoken=a;return this};_.ij=function(a,b){a.O.messageHandlers=b;return a};_.jj=function(a,b){a.O.messageHandlersFilter=b;return a};
|
|
|
|
|
_.hj.prototype.iq=_.ba(4);_.hj.prototype.getContext=function(){return this.O.context};_.hj.prototype.Oc=function(){return this.O.openerIframe};_.hj.prototype.Am=function(){this.O.attributes=this.O.attributes||{};return new gj(this.O.attributes)};
|
|
|
|
|
|
|
|
|
|
_.hk=function(a){return new _.Fj(a)};
|
|
|
|
|
|
|
|
|
|
var pk=function(){this.yu={RQ:ik?"../"+ik:null,nC:jk,DN:kk,lfa:lk,Jm:mk,dga:nk};this.Jf=_.de;this.CQ=this.jX;this.WX=/MSIE\s*[0-8](\D|$)/.test(window.navigator.userAgent);if(this.yu.RQ){this.Jf=this.yu.DN(this.Jf,this.yu.RQ);var a=this.Jf.document,b=a.createElement("script");b.setAttribute("type","text/javascript");b.text="window.doPostMsg=function(w,s,o) {window.setTimeout(function(){w.postMessage(s,o);},0);};";a.body.appendChild(b);this.CQ=this.Jf.doPostMsg}this.zI={};this.bJ={};a=(0,_.J)(this.TD,
|
|
|
|
|
this);_.re(this.Jf,"message",a);_.he(_.te,"RPMQ",[]).push(a);this.Jf!=this.Jf.parent&&ok(this,this.Jf.parent,this.YE(this.Jf.name),"*")};pk.prototype.YE=function(a){return'{"h":"'+escape(a)+'"}'};var qk=function(a){var b=null;0===a.indexOf('{"h":"')&&a.indexOf('"}')===a.length-2&&(b=unescape(a.substring(6,a.length-2)));return b},rk=function(a){if(!/^\s*{/.test(a))return!1;a=_.pf(a);return null!==a&&"object"===typeof a&&!!a.g};
|
|
|
|
|
pk.prototype.TD=function(a){var b=String(a.data);_.uf.debug("gapix.rpc.receive("+lk+"): "+(!b||512>=b.length?b:b.substr(0,512)+"... ("+b.length+" bytes)"));var c=0!==b.indexOf("!_");c||(b=b.substring(2));var d=rk(b);if(!c&&!d){if(!d&&(c=qk(b))){if(this.zI[c])this.zI[c]();else this.bJ[c]=1;return}var e=a.origin,f=this.yu.nC;this.WX?_.de.setTimeout(function(){f(b,e)},0):f(b,e)}};pk.prototype.Gb=function(a,b){".."===a||this.bJ[a]?(b(),delete this.bJ[a]):this.zI[a]=b};
|
|
|
|
|
var ok=function(a,b,c,d){var e=rk(c)?"":"!_";_.uf.debug("gapix.rpc.send("+lk+"): "+(!c||512>=c.length?c:c.substr(0,512)+"... ("+c.length+" bytes)"));a.CQ(b,e+c,d)};pk.prototype.jX=function(a,b,c){a.postMessage(b,c)};pk.prototype.send=function(a,b,c){(a=this.yu.DN(this.Jf,a))&&!a.closed&&ok(this,a,b,c)};
|
|
|
|
|
var sk,tk,uk,vk,wk,xk,yk,ik,lk,zk,Ak,Bk,kk,mk,Dk,Ek,Jk,Kk,Mk,nk,Ok,Nk,Fk,Gk,Pk,jk,Qk,Rk;sk=0;tk=[];uk={};vk={};wk=_.de.location.href;xk=_.me(wk,"rpctoken");yk=_.me(wk,"parent")||_.ee.referrer;ik=_.me(wk,"rly");lk=ik||(_.de!==_.de.top||_.de.opener)&&_.de.name||"..";zk=null;Ak={};Bk=function(){};_.Ck={send:Bk,Gb:Bk,YE:Bk};
|
|
|
|
|
kk=function(a,b){"/"==b.charAt(0)&&(b=b.substring(1),a=_.de.top);if(0===b.length)return a;for(b=b.split("/");b.length;){var c=b.shift();"{"==c.charAt(0)&&"}"==c.charAt(c.length-1)&&(c=c.substring(1,c.length-1));if(".."===c)a=a==a.parent?a.opener:a.parent;else if(".."!==c&&a.frames[c]){if(a=a.frames[c],!("postMessage"in a))throw Error("M");}else return null}return a};mk=function(a){return(a=uk[a])&&a.xA};
|
|
|
|
|
Dk=function(a){if(a.f in{})return!1;var b=a.t,c=uk[a.r];a=a.origin;return c&&(c.xA===b||!c.xA&&!b)&&(a===c.origin||"*"===c.origin)};Ek=function(a){var b=a.id.split("/"),c=b[b.length-1],d=a.origin;return function(e){var f=e.origin;return e.f==c&&(d==f||"*"==d)}};_.Hk=function(a,b,c){a=Fk(a);vk[a.name]={lh:b,Rs:a.Rs,Hq:c||Dk};Gk()};_.Ik=function(a){delete vk[Fk(a).name]};Jk={};Kk=function(a,b){(a=Jk["_"+a])&&a[1](this)&&a[0].call(this,b)};
|
|
|
|
|
Mk=function(a){var b=a.c;if(!b)return Bk;var c=a.r,d=a.g?"legacy__":"";return function(){var e=[].slice.call(arguments,0);e.unshift(c,d+"__cb",null,b);_.Lk.apply(null,e)}};nk=function(a){zk=a};Ok=function(a){Ak[a]||(Ak[a]=_.de.setTimeout(function(){Ak[a]=!1;Nk(a)},0))};Nk=function(a){var b=uk[a];if(b&&b.ready){var c=b.bG;for(b.bG=[];c.length;)_.Ck.send(a,_.qf(c.shift()),b.origin)}};Fk=function(a){return 0===a.indexOf("legacy__")?{name:a.substring(8),Rs:!0}:{name:a,Rs:!1}};
|
|
|
|
|
Gk=function(){for(var a=_.zh("rpc/residenceSec")||60,b=(new Date).getTime()/1E3,c,d=0;c=tk[d];++d){var e=c.An;if(!e||0<a&&b-c.timestamp>a)tk.splice(d,1),--d;else{var f=e.s,h=vk[f]||vk["*"];if(h)if(tk.splice(d,1),--d,e.origin=c.origin,c=Mk(e),e.callback=c,h.Hq(e)){if("__cb"!==f&&!!h.Rs!=!!e.g)break;e=h.lh.apply(e,e.a);void 0!==e&&c(e)}else _.uf.debug("gapix.rpc.rejected("+lk+"): "+f)}}};Pk=function(a,b,c){tk.push({An:a,origin:b,timestamp:(new Date).getTime()/1E3});c||Gk()};
|
|
|
|
|
jk=function(a,b){a=_.pf(a);Pk(a,b,!1)};Qk=function(a){for(;a.length;)Pk(a.shift(),this.origin,!0);Gk()};Rk=function(a){var b=!1;a=a.split("|");var c=a[0];0<=c.indexOf("/")&&(b=!0);return{id:c,origin:a[1]||"*",FE:b}};
|
|
|
|
|
_.Sk=function(a,b,c,d){var e=Rk(a);d&&(_.de.frames[e.id]=_.de.frames[e.id]||d);a=e.id;if(!uk.hasOwnProperty(a)){c=c||null;d=e.origin;if(".."===a)d=_.hg(yk),c=c||xk;else if(!e.FE){var f=_.ee.getElementById(a);f&&(f=f.src,d=_.hg(f),c=c||_.me(f,"rpctoken"))}"*"===e.origin&&d||(d=e.origin);uk[a]={xA:c,bG:[],origin:d,U3:b,MQ:function(){var h=a;uk[h].ready=1;Nk(h)}};_.Ck.Gb(a,uk[a].MQ)}return uk[a].MQ};
|
|
|
|
|
_.Lk=function(a,b,c,d){a=a||"..";_.Sk(a);a=a.split("|",1)[0];var e=b,f=[].slice.call(arguments,3),h=c,k=lk,l=xk,m=uk[a],n=k,q=Rk(a);if(m&&".."!==a){if(q.FE){if(!(l=uk[a].U3)){l=zk?zk.substring(1).split("/"):[lk];n=l.length-1;for(var p=_.de.parent;p!==_.de.top;){var t=p.parent;if(!n--){for(var v=null,r=t.frames.length,w=0;w<r;++w)t.frames[w]==p&&(v=w);l.unshift("{"+v+"}")}p=t}l="/"+l.join("/")}n=l}else n=k="..";l=m.xA}h&&q?(m=Dk,q.FE&&(m=Ek(q)),Jk["_"+ ++sk]=[h,m],h=sk):h=null;f={s:e,f:k,r:n,t:l,c:h,
|
|
|
|
|
a:f};e=Fk(e);f.s=e.name;f.g=e.Rs;uk[a].bG.push(f);Ok(a)};if("function"===typeof _.de.postMessage||"object"===typeof _.de.postMessage)_.Ck=new pk,_.Hk("__cb",Kk,function(){return!0}),_.Hk("_processBatch",Qk,function(){return!0}),_.Sk("..");
|
|
|
|
|
|
|
|
|
|
var Tk;
|
|
|
|
|
Tk=function(){function a(k,l){k=window.getComputedStyle(k,"").getPropertyValue(l).match(/^([0-9]+)/);return parseInt(k[0],10)}for(var b=0,c=[document.body];0<c.length;){var d=c.shift(),e=d.childNodes;if("undefined"!==typeof d.style){var f=d.style.overflowY;f||(f=(f=document.defaultView.getComputedStyle(d,null))?f.overflowY:null);if("visible"!=f&&"inherit"!=f&&(f=d.style.height,f||(f=(f=document.defaultView.getComputedStyle(d,null))?f.height:""),0<f.length&&"auto"!=f))continue}for(d=0;d<e.length;d++){f=e[d];
|
|
|
|
|
if("undefined"!==typeof f.offsetTop&&"undefined"!==typeof f.offsetHeight){var h=f.offsetTop+f.offsetHeight+a(f,"margin-bottom");b=Math.max(b,h)}c.push(f)}}return b+a(document.body,"border-bottom")+a(document.body,"margin-bottom")+a(document.body,"padding-bottom")};
|
|
|
|
|
_.Uk=function(){var a=0;self.innerHeight?a=self.innerHeight:document.documentElement&&document.documentElement.clientHeight?a=document.documentElement.clientHeight:document.body&&(a=document.body.clientHeight);var b=document.body,c=document.documentElement;if("CSS1Compat"===document.compatMode&&c.scrollHeight)return c.scrollHeight!==a?c.scrollHeight:c.offsetHeight;if(0<=navigator.userAgent.indexOf("AppleWebKit"))return Tk();if(b&&c){var d=c.scrollHeight,e=c.offsetHeight;c.clientHeight!==e&&(d=b.scrollHeight,
|
|
|
|
|
e=b.offsetHeight);return d>a?d>e?d:e:d<e?d:e}};
|
|
|
|
|
|
|
|
|
|
var Wk,Xk,Yk,Zk,$k,al,bl,cl,dl,el,fl,gl,kl,ll,ml,nl,ol,pl,ql,rl;_.Vk=function(a,b){if(!a)throw Error(b||"");};Wk=/&/g;Xk=/</g;Yk=/>/g;Zk=/"/g;$k=/'/g;al=function(a){return String(a).replace(Wk,"&").replace(Xk,"<").replace(Yk,">").replace(Zk,""").replace($k,"'")};bl=/[\ud800-\udbff][\udc00-\udfff]|[^!-~]/g;cl=/%([a-f]|[0-9a-fA-F][a-f])/g;dl=/^(https?|ftp|file|chrome-extension):$/i;
|
|
|
|
|
el=function(a){a=String(a);a=a.replace(bl,function(e){try{return encodeURIComponent(e)}catch(f){return encodeURIComponent(e.replace(/^[^%]+$/g,"\ufffd"))}}).replace(_.oe,function(e){return e.replace(/%/g,"%25")}).replace(cl,function(e){return e.toUpperCase()});a=a.match(_.ne)||[];var b=_.ie(),c=function(e){return e.replace(/\\/g,"%5C").replace(/\^/g,"%5E").replace(/`/g,"%60").replace(/\{/g,"%7B").replace(/\|/g,"%7C").replace(/\}/g,"%7D")},d=!!(a[1]||"").match(dl);b.Yq=c((a[1]||"")+(a[2]||"")+(a[3]||
|
|
|
|
|
(a[2]&&d?"/":"")));d=function(e){return c(e.replace(/\?/g,"%3F").replace(/#/g,"%23"))};b.query=a[5]?[d(a[5])]:[];b.ji=a[7]?[d(a[7])]:[];return b};fl=function(a){return a.Yq+(0<a.query.length?"?"+a.query.join("&"):"")+(0<a.ji.length?"#"+a.ji.join("&"):"")};gl=function(a,b){var c=[];if(a)for(var d in a)if(_.je(a,d)&&null!=a[d]){var e=b?b(a[d]):a[d];c.push(encodeURIComponent(d)+"="+encodeURIComponent(e))}return c};
|
|
|
|
|
_.hl=function(a,b,c,d){a=el(a);a.query.push.apply(a.query,gl(b,d));a.ji.push.apply(a.ji,gl(c,d));return fl(a)};
|
|
|
|
|
_.il=function(a,b){var c=el(b);b=c.Yq;c.query.length&&(b+="?"+c.query.join(""));c.ji.length&&(b+="#"+c.ji.join(""));var d="";2E3<b.length&&(c=b,b=b.substr(0,2E3),b=b.replace(_.pe,""),d=c.substr(b.length));var e=a.createElement("div");a=a.createElement("a");c=el(b);b=c.Yq;c.query.length&&(b+="?"+c.query.join(""));c.ji.length&&(b+="#"+c.ji.join(""));_.Dd(a,_.Cc(b));e.appendChild(a);_.zb(e,_.Tc(e.innerHTML));b=String(e.firstChild.href);e.parentNode&&e.parentNode.removeChild(e);c=el(b+d);b=c.Yq;c.query.length&&
|
|
|
|
|
(b+="?"+c.query.join(""));c.ji.length&&(b+="#"+c.ji.join(""));return b};_.jl=/^https?:\/\/[^\/%\\?#\s]+\/[^\s]*$/i;ll=function(a){for(;a.firstChild;)a.removeChild(a.firstChild)};ml=/^https?:\/\/(?:\w|[\-\.])+\.google\.(?:\w|[\-:\.])+(?:\/[^\?#]*)?\/b\/(\d{10,21})\//;nl=function(){var a=_.zh("googleapis.config/sessionDelegate");"string"===typeof a&&21<a.length&&(a=null);null==a&&(a=(a=window.location.href.match(ml))?a[1]:null);if(null==a)return null;a=String(a);21<a.length&&(a=null);return a};
|
|
|
|
|
ol=function(){var a=_.te.onl;if(!a){a=_.ie();_.te.onl=a;var b=_.ie();a.e=function(c){var d=b[c];d&&(delete b[c],d())};a.a=function(c,d){b[c]=d};a.r=function(c){delete b[c]}}return a};pl=function(a,b){b=b.onload;return"function"===typeof b?(ol().a(a,b),b):null};ql=function(a){_.Vk(/^\w+$/.test(a),"Unsupported id - "+a);return'onload="window.___jsl.onl.e("'+a+'")"'};rl=function(a){ol().r(a)};
|
|
|
|
|
var tl,ul,yl;_.sl={allowtransparency:"true",frameborder:"0",hspace:"0",marginheight:"0",marginwidth:"0",scrolling:"no",style:"",tabindex:"0",vspace:"0",width:"100%"};tl={allowtransparency:!0,onload:!0};ul=0;_.vl=function(a,b){var c=0;do var d=b.id||["I",ul++,"_",(new Date).getTime()].join("");while(a.getElementById(d)&&5>++c);_.Vk(5>c,"Error creating iframe id");return d};_.wl=function(a,b){return a?b+"/"+a:""};
|
|
|
|
|
_.xl=function(a,b,c,d){var e={},f={};a.documentMode&&9>a.documentMode&&(e.hostiemode=a.documentMode);_.ke(d.queryParams||{},e);_.ke(d.fragmentParams||{},f);var h=d.pfname;var k=_.ie();_.zh("iframes/dropLegacyIdParam")||(k.id=c);k._gfid=c;k.parent=a.location.protocol+"//"+a.location.host;c=_.me(a.location.href,"parent");h=h||"";!h&&c&&(h=_.me(a.location.href,"_gfid","")||_.me(a.location.href,"id",""),h=_.wl(h,_.me(a.location.href,"pfname","")));h||(c=_.pf(_.me(a.location.href,"jcp","")))&&"object"==
|
|
|
|
|
typeof c&&(h=_.wl(c.id,c.pfname));k.pfname=h;d.connectWithJsonParam&&(h={},h.jcp=_.qf(k),k=h);h=_.me(b,"rpctoken")||e.rpctoken||f.rpctoken;h||(h=d.rpctoken||String(Math.round(1E8*_.Yh())),k.rpctoken=h);d.rpctoken=h;_.ke(k,d.connectWithQueryParams?e:f);k=a.location.href;a=_.ie();(h=_.me(k,"_bsh",_.te.bsh))&&(a._bsh=h);(k=_.te.dpo?_.te.h:_.me(k,"jsh",_.te.h))&&(a.jsh=k);d.hintInFragment?_.ke(a,f):_.ke(a,e);return _.hl(b,e,f,d.paramsSerializer)};
|
|
|
|
|
yl=function(a){_.Vk(!a||_.jl.test(a),"Illegal url for new iframe - "+a)};
|
|
|
|
|
_.zl=function(a,b,c,d,e){yl(c.src);var f,h=pl(d,c),k=h?ql(d):"";try{document.all&&(f=a.createElement('<iframe frameborder="'+al(String(c.frameborder))+'" scrolling="'+al(String(c.scrolling))+'" '+k+' name="'+al(String(c.name))+'"/>'))}catch(m){}finally{f||(f=_.Ld(a).na("IFRAME"),h&&(f.onload=function(){f.onload=null;h.call(this)},rl(d)))}f.setAttribute("ng-non-bindable","");for(var l in c)a=c[l],"style"===l&&"object"===typeof a?_.ke(a,f.style):tl[l]||f.setAttribute(l,String(a));(l=e&&e.beforeNode||
|
|
|
|
|
null)||e&&e.dontclear||ll(b);b.insertBefore(f,l);f=l?l.previousSibling:b.lastChild;c.allowtransparency&&(f.allowTransparency=!0);return f};
|
|
|
|
|
var Al,Dl;Al=/^:[\w]+$/;_.Bl=/:([a-zA-Z_]+):/g;_.Cl=function(){var a=_.Bh()||"0",b=nl();var c=_.Bh()||a;var d=nl(),e="";c&&(e+="u/"+encodeURIComponent(String(c))+"/");d&&(e+="b/"+encodeURIComponent(String(d))+"/");c=e||null;(e=(d=!1===_.zh("isLoggedIn"))?"_/im/":"")&&(c="");var f=_.zh("iframes/:socialhost:"),h=_.zh("iframes/:im_socialhost:");return kl={socialhost:f,ctx_socialhost:d?h:f,session_index:a,session_delegate:b,session_prefix:c,im_prefix:e}};Dl=function(a,b){return _.Cl()[b]||""};
|
|
|
|
|
_.El=function(a){return _.il(_.ee,a.replace(_.Bl,Dl))};_.Fl=function(a){var b=a;Al.test(a)&&(b=_.zh("iframes/"+b.substring(1)+"/url"),_.Vk(!!b,"Unknown iframe url config for - "+a));return _.El(b)};
|
|
|
|
|
_.Gl=function(a,b,c){c=c||{};var d=c.attributes||{};_.Vk(!(c.allowPost||c.forcePost)||!d.onload,"onload is not supported by post iframe (allowPost or forcePost)");a=_.Fl(a);d=b.ownerDocument||_.ee;var e=_.vl(d,c);a=_.xl(d,a,e,c);var f=c,h=_.ie();_.ke(_.sl,h);_.ke(f.attributes,h);h.name=h.id=e;h.src=a;c.eurl=a;c=(f=c)||{};var k=!!c.allowPost;if(c.forcePost||k&&2E3<a.length){c=el(a);h.src="";f.dropDataPostorigin||(h["data-postorigin"]=a);a=_.zl(d,b,h,e);if(-1!=navigator.userAgent.indexOf("WebKit")){var l=
|
|
|
|
|
a.contentWindow.document;l.open();h=l.createElement("div");k={};var m=e+"_inner";k.name=m;k.src="";k.style="display:none";_.zl(d,h,k,m,f)}h=(f=c.query[0])?f.split("&"):[];f=[];for(k=0;k<h.length;k++)m=h[k].split("=",2),f.push([decodeURIComponent(m[0]),decodeURIComponent(m[1])]);c.query=[];h=fl(c);_.Vk(_.jl.test(h),"Invalid URL: "+h);c=d.createElement("form");c.method="POST";c.target=e;c.style.display="none";e=h instanceof _.xc?h:_.Ec(h);c.action=_.yc(e);for(e=0;e<f.length;e++)h=d.createElement("input"),
|
|
|
|
|
h.type="hidden",h.name=f[e][0],h.value=f[e][1],c.appendChild(h);b.appendChild(c);c.submit();c.parentNode.removeChild(c);l&&l.close();b=a}else b=_.zl(d,b,h,e,f);return b};
|
|
|
|
|
|
|
|
|
|
var Hl=function(a,b){return _.ej(a,b,!0)},Il=function(a){var b=function(c){return new (a().Context)(c)};b.prototype.addOnConnectHandler=function(c,d,e,f){return a().Context.prototype.addOnConnectHandler.apply(this,[c,d,e,f])};b.prototype.addOnOpenerHandler=function(c,d,e){return a().Context.prototype.addOnOpenerHandler.apply(this,[c,d,e])};b.prototype.closeSelf=function(c,d,e){return a().Context.prototype.closeSelf.apply(this,[c,d,e])};b.prototype.connectIframes=function(c,d){a().Context.prototype.connectIframes.apply(this,
|
|
|
|
|
[c,d])};b.prototype.getFrameName=function(){return a().Context.prototype.getFrameName.apply(this)};b.prototype.getGlobalParam=function(c){a().Context.prototype.getGlobalParam.apply(this,[c])};b.prototype.getParentIframe=function(){return a().Context.prototype.getParentIframe.apply(this)};b.prototype.getWindow=function(){return a().Context.prototype.getWindow.apply(this)};b.prototype.isDisposed=function(){return a().Context.prototype.isDisposed.apply(this)};b.prototype.open=function(c,d){return a().Context.prototype.open.apply(this,
|
|
|
|
|
[c,d])};b.prototype.openChild=function(c){return a().Context.prototype.openChild.apply(this,[c])};b.prototype.ready=function(c,d,e,f){a().Context.prototype.ready.apply(this,[c,d,e,f])};b.prototype.removeOnConnectHandler=function(c){a().Context.prototype.removeOnConnectHandler.apply(this,[c])};b.prototype.restyleSelf=function(c,d,e){return a().Context.prototype.restyleSelf.apply(this,[c,d,e])};b.prototype.setCloseSelfFilter=function(c){a().Context.prototype.setCloseSelfFilter.apply(this,[c])};b.prototype.setGlobalParam=
|
|
|
|
|
function(c,d){a().Context.prototype.setGlobalParam.apply(this,[c,d])};b.prototype.setRestyleSelfFilter=function(c){a().Context.prototype.setRestyleSelfFilter.apply(this,[c])};return b},Jl=function(a){var b=function(c,d,e,f){return new (a().Iframe)(c,d,e,f)};b.prototype.applyIframesApi=function(c){a().Iframe.prototype.applyIframesApi(c)};b.prototype.close=function(c,d){return a().Iframe.prototype.close.apply(this,[c,d])};b.prototype.getContext=function(){return a().Iframe.prototype.getContext.apply(this,
|
|
|
|
|
[])};b.prototype.getFrameName=function(){return a().Iframe.prototype.getFrameName.apply(this,[])};b.prototype.getId=function(){return a().Iframe.prototype.getId.apply(this,[])};b.prototype.getIframeEl=function(){return a().Iframe.prototype.getIframeEl.apply(this,[])};b.prototype.getOrigin=function(){return a().Iframe.prototype.getOrigin.apply(this,[])};b.prototype.getParam=function(c){a().Iframe.prototype.getParam.apply(this,[c])};b.prototype.getSiteEl=function(){return a().Iframe.prototype.getSiteEl.apply(this,
|
|
|
|
|
[])};b.prototype.getWindow=function(){return a().Iframe.prototype.getWindow.apply(this,[])};b.prototype.isDisposed=function(){return a().Iframe.prototype.isDisposed.apply(this,[])};b.prototype.ping=function(c,d){return a().Iframe.prototype.ping.apply(this,[c,d])};b.prototype.register=function(c,d,e){a().Iframe.prototype.register.apply(this,[c,d,e])};b.prototype.registerWasClosed=function(c,d){a().Iframe.prototype.registerWasClosed.apply(this,[c,d])};b.prototype.registerWasRestyled=function(c,d){a().Iframe.prototype.registerWasRestyled.apply(this,
|
|
|
|
|
[c,d])};b.prototype.restyle=function(c,d){return a().Iframe.prototype.restyle.apply(this,[c,d])};b.prototype.send=function(c,d,e,f){return a().Iframe.prototype.send.apply(this,[c,d,e,f])};b.prototype.setParam=function(c,d){a().Iframe.prototype.setParam.apply(this,[c,d])};b.prototype.setSiteEl=function(c){a().Iframe.prototype.setSiteEl.apply(this,[c])};b.prototype.unregister=function(c,d){a().Iframe.prototype.unregister.apply(this,[c,d])};return b},Kl,Ll,Pl,Rl,Wl,em,fm,hm,lm,mm,sm,um,vm,xm,wm,ym;
|
|
|
|
|
_.hj.prototype.iq=_.fb(4,function(a){this.O.apis=a;return this});Kl=function(a,b){a.O.onload=b};Ll=function(a){return a.O.rpctoken};_.Ml=function(a,b){a.O.queryParams=b;return a};_.Nl=function(a,b){a.O.relayOpen=b;return a};_.Ol=function(a,b){a.O.onClose=b;return a};Pl=function(a,b){a.O.controllerData=b};_.Ql=function(a){a.O.waitForOnload=!0;return a};Rl=function(a){return(a=a.O.timeout)?a:null};_.Sl=function(a){return!!a&&"object"===typeof a&&_.ge.test(a.push)};
|
|
|
|
|
_.Tl=function(a){for(var b=0;b<this.length;b++)if(this[b]===a)return b;return-1};_.Ul=function(a,b,c){if(a){_.Vk(_.Sl(a),"arrayForEach was called with a non array value");for(var d=0;d<a.length;d++)b.call(c,a[d],d)}};_.Vl=function(a,b,c){if(a)if(_.Sl(a))_.Ul(a,b,c);else{_.Vk("object"===typeof a,"objectForEach was called with a non object value");c=c||a;for(var d in a)_.je(a,d)&&void 0!==a[d]&&b.call(c,a[d],d)}};Wl=function(a){this.O=a||{}};Wl.prototype.value=function(){return this.O};
|
|
|
|
|
Wl.prototype.getIframe=function(){return this.O.iframe};var Xl=function(a,b){a.O.role=b;return a},Yl=function(a,b){a.O.data=b;return a};Wl.prototype.Tj=function(a){this.O.setRpcReady=a;return this};var Zl=function(a){return a.O.setRpcReady};Wl.prototype.Hl=function(a){this.O.rpctoken=a;return this};var $l=function(a){a.O.selfConnect=!0;return a},am=function(a){this.O=a||{}};am.prototype.value=function(){return this.O};var cm=function(a){var b=new bm;b.O.role=a;return b};am.prototype.vN=function(){return this.O.role};
|
|
|
|
|
am.prototype.xc=function(a){this.O.handler=a;return this};am.prototype.nb=function(){return this.O.handler};var dm=function(a,b){a.O.filter=b;return a};am.prototype.iq=function(a){this.O.apis=a;return this};hm=/^[\w\.\-]*$/;_.im=function(a){return a.getOrigin()===a.getContext().getOrigin()};_.jm=function(){return!0};_.km=function(a){for(var b=_.ie(),c=0;c<a.length;c++)b[a[c]]=!0;return function(d){return!!b[d.Ad]}};
|
|
|
|
|
lm=function(a,b,c){a=em[a];if(!a)return[];for(var d=[],e=0;e<a.length;e++)d.push(_.Jj(a[e].call(c,b,c)));return d};mm=function(a,b,c){return function(d){if(!b.isDisposed()){var e=this.origin,f=b.getOrigin();_.Vk(e===f,"Wrong origin "+e+" != "+f);e=this.callback;d=lm(a,d,b);!c&&0<d.length&&_.Nj(d).then(e)}}};_.qm=function(a,b,c){_.Vk("_default"!=a,"Cannot update default api");fm[a]={map:b,filter:c}};
|
|
|
|
|
_.rm=function(a,b,c){_.Vk("_default"!=a,"Cannot update default api");_.he(fm,a,{map:{},filter:_.im}).map[b]=c};sm=function(a,b){_.he(fm,"_default",{map:{},filter:_.jm}).map[a]=b;_.Vl(_.gm.Of,function(c){c.register(a,b,_.jm)})};_.tm=function(){return _.gm};um=/^https?:\/\/[^\/%\\?#\s]+$/i;vm={longdesc:!0,name:!0,src:!0,frameborder:!0,marginwidth:!0,marginheight:!0,scrolling:!0,align:!0,height:!0,width:!0,id:!0,"class":!0,title:!0,tabindex:!0,hspace:!0,vspace:!0,allowtransparency:!0};
|
|
|
|
|
xm=function(a){this.resolve=this.reject=null;this.promise=_.hk((0,_.J)(function(b,c){this.resolve=b;this.reject=c},this));a&&(this.promise=wm(this.promise,a))};wm=function(a,b){return a.then(function(c){try{b(c)}catch(d){}return c})};ym=function(a){this.Rf=a;this.Context=Il(a);this.Iframe=Jl(a)};_.g=ym.prototype;_.g.CROSS_ORIGIN_IFRAMES_FILTER=function(a){return this.Rf().CROSS_ORIGIN_IFRAMES_FILTER(a)};_.g.SAME_ORIGIN_IFRAMES_FILTER=function(a){return this.Rf().SAME_ORIGIN_IFRAMES_FILTER(a)};
|
|
|
|
|
_.g.create=function(a,b,c){return this.Rf().create(a,b,c)};_.g.getBeforeOpenStyle=function(a){return this.Rf().getBeforeOpenStyle(a)};_.g.getContext=function(){return this.Rf().getContext()};_.g.getStyle=function(a){return this.Rf().getStyle(a)};_.g.makeWhiteListIframesFilter=function(a){return this.Rf().makeWhiteListIframesFilter(a)};_.g.registerBeforeOpenStyle=function(a,b){return this.Rf().registerBeforeOpenStyle(a,b)};
|
|
|
|
|
_.g.registerIframesApi=function(a,b,c){return this.Rf().registerIframesApi(a,b,c)};_.g.registerIframesApiHandler=function(a,b,c){return this.Rf().registerIframesApiHandler(a,b,c)};_.g.registerStyle=function(a,b){return this.Rf().registerStyle(a,b)};
|
|
|
|
|
var zm=function(){this.Ih=[]};zm.prototype.Rf=function(a){return this.Ih.length?Am(this.Ih[0],a):void 0};var Am=function(a,b){b=void 0===b?function(c){return new c}:b;return a.eC?b(a.eC):a.instance},Bm=function(){zm.apply(this,arguments)};_.D(Bm,zm);var Dm=function(a){var b=Cm.BL,c=a.priority,d=~Hl(b.Ih,function(e){return e.priority<c?-1:1});b.Ih.splice(d,0,a)};
|
|
|
|
|
var Cm=new function(){var a=this;this.BL=new Bm;this.instance=new ym(function(){return a.BL.Rf()()})};Dm({instance:function(){return window.gapi.iframes},priority:1});_.Em=Cm.instance;
|
|
|
|
|
var Fm,Gm;Fm={height:!0,width:!0};Gm=/^(?!-*(?:expression|(?:moz-)?binding))(?:[.#]?-?(?:[_a-z0-9-]+)(?:-[_a-z0-9-]+)*-?|-?(?:[0-9]+(?:\.[0-9]*)?|\.[0-9]+)(?:[a-z]{1,2}|%)?|!important|)$/i;_.Hm=function(a){"number"===typeof a&&(a=String(a)+"px");return a};
|
|
|
|
|
var Im=function(){Wl.apply(this,arguments)};_.D(Im,Wl);var bm=function(){am.apply(this,arguments)};_.D(bm,am);var Jm=function(){_.hj.apply(this,arguments)};_.D(Jm,_.hj);
|
|
|
|
|
var Km=function(a){Jm.call(this,a)};_.D(Km,Jm);var Lm=function(a,b){a.O.frameName=b;return a};Km.prototype.getFrameName=function(){return this.O.frameName};var Mm=function(a,b){a.O.rpcAddr=b;return a};Km.prototype.Vf=function(){return this.O.rpcAddr};var Nm=function(a,b){a.O.retAddr=b;return a};_.g=Km.prototype;_.g.th=function(){return this.O.retAddr};_.g.Ri=function(a){this.O.origin=a;return this};_.g.getOrigin=function(){return this.O.origin};_.g.Tj=function(a){this.O.setRpcReady=a;return this};
|
|
|
|
|
_.g.mq=function(a){this.O.context=a};var Om=function(a,b){a.O._rpcReadyFn=b};Km.prototype.getIframeEl=function(){return this.O.iframeEl};
|
|
|
|
|
var Pm=function(a,b,c){var d=a.Vf(),e=b.th();Nm(Mm(c,a.th()+"/"+b.Vf()),e+"/"+d);Lm(c,b.getFrameName()).Ri(b.getOrigin())};
|
|
|
|
|
var Rm=function(a,b,c){a.setTimeout(function(){b.closed||5==c?Qm(b):(b.close(),c++,Rm(a,b,c))},1E3)},Qm=function(a){a.closed||a.document&&a.document.body&&_.ce(a.document.body,"Please close this window.")};
|
|
|
|
|
_.Sm=function(a,b,c,d){this.vg=!1;this.kb=a;this.pG=b;this.Eo=c;this.Ia=d;this.fR=this.Ia.th();this.Ad=this.Ia.getOrigin();this.i0=this.Ia.getIframeEl();this.uS=this.Ia.O.where;this.Ih=[];this.applyIframesApi("_default");a=this.Ia.O.apis||[];for(b=0;b<a.length;b++)this.applyIframesApi(a[b]);this.kb.Of[c]=this};_.g=_.Sm.prototype;_.g.isDisposed=function(){return this.vg};
|
|
|
|
|
_.g.Ha=function(){if(!this.isDisposed()){for(var a=0;a<this.Ih.length;a++)this.unregister(this.Ih[a]);delete _.gm.Of[this.getFrameName()];this.vg=!0}};_.g.getContext=function(){return this.kb};_.g.getOptions=function(){return this.Ia};_.g.Vf=function(){return this.pG};_.g.th=function(){return this.fR};_.g.getFrameName=function(){return this.Eo};_.g.getIframeEl=function(){return this.i0};_.g.getSiteEl=function(){return this.uS};_.g.setSiteEl=function(a){this.uS=a};_.g.Tj=function(){(0,this.Ia.O._rpcReadyFn)()};
|
|
|
|
|
_.g.setParam=function(a,b){this.Ia.value()[a]=b};_.g.getParam=function(a){return this.Ia.value()[a]};_.g.lc=function(){return this.Ia.value()};_.g.getId=function(){return this.Ia.getId()};_.g.getOrigin=function(){return this.Ad};var Tm=function(a,b){var c=a.kb.getFrameName();return a.Eo+":"+c+":"+b};_.g=_.Sm.prototype;
|
|
|
|
|
_.g.register=function(a,b,c){_.Vk(!this.isDisposed(),"Cannot register handler on disposed iframe "+a);_.Vk((c||_.im)(this),"Rejecting untrusted message "+a);c=Tm(this,a);1==_.he(em,c,[]).push(b)&&(this.Ih.push(a),_.Hk(c,mm(c,this,"_g_wasClosed"===a)))};_.g.unregister=function(a,b){var c=Tm(this,a),d=em[c];d&&(b?(b=_.Tl.call(d,b),0<=b&&d.splice(b,1)):d.splice(0,d.length),0==d.length&&(b=_.Tl.call(this.Ih,a),0<=b&&this.Ih.splice(b,1),_.Ik(c)))};_.g.kZ=function(){return this.Ih};
|
|
|
|
|
_.g.applyIframesApi=function(a){this.tB=this.tB||[];if(!(0<=_.Tl.call(this.tB,a))){this.tB.push(a);a=fm[a]||{map:{}};for(var b in a.map)_.je(a.map,b)&&this.register(b,a.map[b],a.filter)}};_.g.getWindow=function(){if(!_.im(this))return null;var a=this.Ia.O._popupWindow;if(a)return a;var b=this.pG.split("/");a=this.getContext().getWindow();for(var c=0;c<b.length&&a;c++){var d=b[c];a=".."===d?a==a.parent?a.opener:a.parent:a.frames[d]}return a};
|
|
|
|
|
var Um=function(a){var b={};if(a)for(var c in a)_.je(a,c)&&_.je(Fm,c)&&Gm.test(a[c])&&(b[c]=a[c]);return b};_.g=_.Sm.prototype;_.g.close=function(a,b){return Vm(this,"_g_close",a,b)};_.g.restyle=function(a,b){return Vm(this,"_g_restyle",a,b)};_.g.Xp=function(a,b){return Vm(this,"_g_restyleDone",a,b)};_.g.WW=function(a){return this.getContext().closeSelf(a,void 0,this)};_.g.Q3=function(a){if(a&&"object"===typeof a)return this.getContext().restyleSelf(a,void 0,this)};
|
|
|
|
|
_.g.R3=function(a){var b=this.Ia.O.onRestyle;b&&b.call(this,a,this);a=a&&"object"===typeof a?Um(a):{};(b=this.getIframeEl())&&a&&"object"===typeof a&&(_.je(a,"height")&&(a.height=_.Hm(a.height)),_.je(a,"width")&&(a.width=_.Hm(a.width)),_.ke(a,b.style))};
|
|
|
|
|
_.g.XW=function(a){var b=this.Ia.O.onClose;b&&b.call(this,a,this);if(b=this.getOptions().O._popupWindow){var c=this.getContext().getWindow().document.getElementById(this.getId());c&&c.parentNode&&c.parentNode.removeChild(c);c=this.getContext().getWindow();_.hd&&_.Wg&&c?(c.focus(),Rm(c,b,0)):(b.close(),Qm(b))}b||(b=this.getIframeEl())&&b.parentNode&&b.parentNode.removeChild(b);if(b=this.Ia.O.controller)c={},c.frameName=this.getFrameName(),Vm(b,"_g_disposeControl",c);b=Tm(this,"_g_wasClosed");lm(b,
|
|
|
|
|
a,this)};_.g.registerWasRestyled=function(a,b){this.register("_g_wasRestyled",a,b)};_.g.registerWasClosed=function(a,b){this.register("_g_wasClosed",a,b)};_.g.r6=function(){delete this.getContext().Of[this.getFrameName()];this.getContext().getWindow().setTimeout((0,_.J)(function(){this.Ha()},this),0)};
|
|
|
|
|
_.g.send=function(a,b,c,d){_.Vk(!this.isDisposed(),"Cannot send message to disposed iframe - "+a);_.Vk((d||_.im)(this),"Wrong target for message "+a);c=new xm(c);a=this.kb.getFrameName()+":"+this.Eo+":"+a;_.Lk(this.pG,a,c.resolve,b);return c.promise};var Vm=function(a,b,c,d){return a.send(b,c,d,_.jm)};_.g=_.Sm.prototype;_.g.Q2=function(a){return a};_.g.ping=function(a,b){return Vm(this,"_g_ping",b,a)};
|
|
|
|
|
_.g.bX=function(a){a=a&&"object"===typeof a?a:{};for(var b=a.rpcAddr,c=(this.Vf()+"/"+b).split("/"),d=this.getContext().getWindow(),e;(e=c.shift())&&d;)d=".."==e?d.parent:d.frames[e];_.Vk(!!d,"Bad rpc address "+b);a._window=d;a._parentRpcAddr=this.Vf();a._parentRetAddr=this.th();this.getContext();b=new _.Wm(a);this.Y1&&this.Y1(b,a.controllerData);this.XB=this.XB||[];this.XB.push(b,a.controllerData)};
|
|
|
|
|
_.g.oX=function(a){a=(a||{}).frameName;for(var b=this.XB||[],c=0;c<b.length;c++)if(b[c].getFrameName()===a){a=b.splice(c,1)[0];a.Ha();this.c2&&this.c2(a);return}_.Vk(!1,"Unknown contolled iframe to dispose - "+a)};
|
|
|
|
|
_.g.ZW=function(a){var b=new Km(a);a=new Im(b.value());if(a.O.selfConnect)var c=this;else(_.Vk(um.test(b.getOrigin()),"Illegal origin for connected iframe - "+b.getOrigin()),c=this.getContext().Of[b.getFrameName()],c)?Zl(b)&&(c.Tj(),Vm(c,"_g_rpcReady")):(b=Lm(Nm(Mm(new Km,b.Vf()),b.th()).Ri(b.getOrigin()),b.getFrameName()).Tj(Zl(b)).Hl(Ll(b)),c=this.getContext().attach(b.value()));b=this.getContext();var d=a.O.role;a=a.O.data;Xm(b);d=d||"";_.he(b.VB,d,[]).push({xi:c,data:a});Ym(c,a,b.wF[d])};
|
|
|
|
|
_.g.JH=function(a,b){(new Km(b)).O._relayedDepth||(b={},$l(Xl(new Im(b),"_opener")),Vm(a,"_g_connect",b))};
|
|
|
|
|
_.g.oQ=function(a){var b=this,c=a.O.messageHandlers,d=a.O.messageHandlersFilter,e=a.O.onClose;_.Ol(_.jj(_.ij(a,null),null),null);return Vm(this,"_g_open",a.value()).then(function(f){var h=new Km(f[0]),k=h.getFrameName();f=new Km;var l=b.th(),m=h.th();Nm(Mm(f,b.Vf()+"/"+h.Vf()),m+"/"+l);Lm(f,k);f.Ri(h.getOrigin());f.iq(h.O.apis);f.Hl(Ll(a));_.ij(f,c);_.jj(f,d);_.Ol(f,e);(h=b.getContext().Of[k])||(h=b.getContext().attach(f.value()));return h})};
|
|
|
|
|
_.g.qG=function(a){var b=a.getUrl();_.Vk(!b||_.jl.test(b),"Illegal url for new iframe - "+b);var c=a.Am().value();b={};for(var d in c)_.je(c,d)&&_.je(vm,d)&&(b[d]=c[d]);_.je(c,"style")&&(d=c.style,"object"===typeof d&&(b.style=Um(d)));a.value().attributes=b};
|
|
|
|
|
_.g.C2=function(a){a=new Km(a);this.qG(a);var b=a.O._relayedDepth||0;a.O._relayedDepth=b+1;a.O.openerIframe=this;var c=Ll(a);a.Hl(null);var d=this;return this.getContext().open(a.value()).then(function(e){var f=(new Km(e.lc())).O.apis,h=new Km;Pm(e,d,h);0==b&&Xl(new Im(h.value()),"_opener");h.Tj(!0);h.Hl(c);Vm(e,"_g_connect",h.value());h=new Km;Lm(Nm(Mm(h,e.Vf()),e.fR),e.getFrameName()).Ri(e.getOrigin()).iq(f);return h.value()})};
|
|
|
|
|
_.g.P3=function(a){this.getContext().addOnOpenerHandler(function(b){b.send("_g_wasRestyled",a,void 0,_.jm)},null,_.jm)};
|
|
|
|
|
var cn;_.Zm=_.ie();_.$m=_.ie();_.an=function(a,b){_.Zm[a]=b};_.bn=function(a){return _.Zm[a]};cn=function(a,b){_.le.load("gapi.iframes.style."+a,b)};_.dn=function(a,b){_.$m[a]=b};_.en=function(a){return _.$m[a]};
|
|
|
|
|
_.Wm=function(a){a=a||{};this.vg=!1;this.uQ=_.ie();this.Of=_.ie();this.Jf=a._window||_.de;this.ld=this.Jf.location.href;this.vQ=(this.MF=fn(this.ld,"parent"))?fn(this.ld,"pfname"):"";this.Ca=this.MF?fn(this.ld,"_gfid")||fn(this.ld,"id"):"";this.Eo=_.wl(this.Ca,this.vQ);this.Ad=_.hg(this.ld);if(this.Ca){var b=new Km;Mm(b,a._parentRpcAddr||"..");Nm(b,a._parentRetAddr||this.Ca);b.Ri(_.hg(this.MF||this.ld));Lm(b,this.vQ);this.Db=this.attach(b.value())}else this.Db=null};_.g=_.Wm.prototype;
|
|
|
|
|
_.g.isDisposed=function(){return this.vg};_.g.Ha=function(){if(!this.isDisposed()){for(var a=_.pa(Object.values(this.Of)),b=a.next();!b.done;b=a.next())b.value.Ha();this.vg=!0}};_.g.getFrameName=function(){return this.Eo};_.g.getOrigin=function(){return this.Ad};_.g.getWindow=function(){return this.Jf};_.g.lb=function(){return this.Jf.document};_.g.setGlobalParam=function(a,b){this.uQ[a]=b};_.g.getGlobalParam=function(a){return this.uQ[a]};
|
|
|
|
|
_.g.attach=function(a){_.Vk(!this.isDisposed(),"Cannot attach iframe in disposed context");a=new Km(a);a.Vf()||Mm(a,a.getId());a.th()||Nm(a,"..");a.getOrigin()||a.Ri(_.hg(a.getUrl()));a.getFrameName()||Lm(a,_.wl(a.getId(),this.Eo));var b=a.getFrameName();if(this.Of[b])return this.Of[b];var c=a.Vf(),d=c;a.getOrigin()&&(d=c+"|"+a.getOrigin());var e=a.th(),f=Ll(a);f||(f=(f=a.getIframeEl())&&(f.getAttribute("data-postorigin")||f.src)||a.getUrl(),f=_.me(f,"rpctoken"));Om(a,_.Sk(d,e,f,a.O._popupWindow));
|
|
|
|
|
d=((window.gadgets||{}).rpc||{}).setAuthToken;f&&d&&d(c,f);var h=new _.Sm(this,c,b,a),k=a.O.messageHandlersFilter;_.Vl(a.O.messageHandlers,function(l,m){h.register(m,l,k)});Zl(a)&&h.Tj();Vm(h,"_g_rpcReady");return h};_.g.qG=function(a){Lm(a,null);var b=a.getId();!b||hm.test(b)&&!this.getWindow().document.getElementById(b)||(_.uf.log("Ignoring requested iframe ID - "+b),a.ve(null))};var fn=function(a,b){var c=_.me(a,b);c||(c=_.pf(_.me(a,"jcp",""))[b]);return c||""};
|
|
|
|
|
_.Wm.prototype.openChild=function(a){_.Vk(!this.isDisposed(),"Cannot open iframe in disposed context");var b=new Km(a);gn(this,b);var c=b.getFrameName();if(c&&this.Of[c])return this.Of[c];this.qG(b);c=b.getUrl();_.Vk(c,"No url for new iframe");var d=b.O.queryParams||{};d.usegapi="1";_.Ml(b,d);d=this.WN&&this.WN(c,b);d||(d=b.O.where,_.Vk(!!d,"No location for new iframe"),c=_.Gl(c,d,a),b.O.iframeEl=c,d=c.getAttribute("id"));Mm(b,d).ve(d);b.Ri(_.hg(b.O.eurl||""));this.xP&&this.xP(b,b.getIframeEl());
|
|
|
|
|
c=this.attach(a);c.JH&&c.JH(c,a);(a=b.O.onCreate)&&a(c);b.O.disableRelayOpen||c.applyIframesApi("_open");return c};
|
|
|
|
|
var hn=function(a,b,c){var d=b.O.canvasUrl;if(!d)return c;_.Vk(!b.O.allowPost&&!b.O.forcePost,"Post is not supported when using canvas url");var e=b.getUrl();_.Vk(e&&_.hg(e)===a.Ad&&_.hg(d)===a.Ad,"Wrong origin for canvas or hidden url "+d);b.setUrl(d);_.Ql(b);b.O.canvasUrl=null;return function(f){var h=f.getWindow(),k=h.location.hash;k=_.Fl(e)+(/#/.test(e)?k.replace(/^#/,"&"):k);h.location.replace(k);c&&c(f)}},jn=function(a,b,c){var d=b.O.relayOpen;if(d){var e=a.getParentIframe();d instanceof _.Sm?
|
|
|
|
|
(e=d,_.Nl(b,0)):0<Number(d)&&_.Nl(b,Number(d)-1);if(e){_.Vk(!!e.oQ,"Relaying iframe open is disabled");if(d=b.getStyle())if(d=_.$m[d])b.mq(a),d(b.value()),b.mq(null);b.O.openerIframe=null;c.resolve(e.oQ(b));return!0}}return!1},kn=function(a,b,c){var d=b.getStyle();if(d)if(_.Vk(!!_.bn,"Defer style is disabled, when requesting style "+d),_.Zm[d])gn(a,b);else return cn(d,function(){_.Vk(!!_.Zm[d],"Fail to load style - "+d);c.resolve(a.open(b.value()))}),!0;return!1};
|
|
|
|
|
_.Wm.prototype.open=function(a,b){_.Vk(!this.isDisposed(),"Cannot open iframe in disposed context");var c=new Km(a);b=hn(this,c,b);var d=new xm(b);(b=c.getUrl())&&c.setUrl(_.Fl(b));if(jn(this,c,d)||kn(this,c,d)||jn(this,c,d))return d.promise;if(null!=Rl(c)){var e=setTimeout(function(){h.getIframeEl().src="about:blank";d.reject({timeout:"Exceeded time limit of :"+Rl(c)+"milliseconds"})},Rl(c)),f=d.resolve;d.resolve=function(k){clearTimeout(e);f(k)}}c.O.waitForOnload&&Kl(c.Am(),function(){d.resolve(h)});
|
|
|
|
|
var h=this.openChild(a);c.O.waitForOnload||d.resolve(h);return d.promise};_.Wm.prototype.getParentIframe=function(){return this.Db};var ln=function(a,b){var c=a.getParentIframe(),d=!0;b.filter&&(d=b.filter.call(b.xi,b.params));return _.Jj(d).then(function(e){return e&&c?(b.tQ&&b.tQ.call(a,b.params),e=b.sender?b.sender(b.params):Vm(c,b.message,b.params),b.q6?e.then(function(){return!0}):!0):!1})};_.g=_.Wm.prototype;
|
|
|
|
|
_.g.closeSelf=function(a,b,c){a=ln(this,{sender:function(d){var e=_.gm.getParentIframe();_.Vl(_.gm.Of,function(f){f!==e&&Vm(f,"_g_wasClosed",d)});return Vm(e,"_g_closeMe",d)},message:"_g_closeMe",params:a,xi:c,filter:this.getGlobalParam("onCloseSelfFilter")});b=new xm(b);b.resolve(a);return b.promise};_.g.restyleSelf=function(a,b,c){a=a||{};b=new xm(b);b.resolve(ln(this,{message:"_g_restyleMe",params:a,xi:c,filter:this.getGlobalParam("onRestyleSelfFilter"),q6:!0,tQ:this.VS}));return b.promise};
|
|
|
|
|
_.g.VS=function(a){"auto"===a.height&&(a.height=_.Uk())};_.g.setCloseSelfFilter=function(a){this.setGlobalParam("onCloseSelfFilter",a)};_.g.setRestyleSelfFilter=function(a){this.setGlobalParam("onRestyleSelfFilter",a)};var gn=function(a,b){var c=b.getStyle();if(c){b.Nh(null);var d=_.Zm[c];_.Vk(d,"No such style: "+c);b.mq(a);d(b.value());b.mq(null)}};
|
|
|
|
|
_.Wm.prototype.ready=function(a,b,c,d){var e=b||{},f=this.getParentIframe();this.addOnOpenerHandler(function(k){_.Vl(e,function(l,m){k.register(m,l,d)},this);k!==f&&k.send("_ready",h,void 0,d)},void 0,d);var h=a||{};h.height=h.height||"auto";this.VS(h);f&&f.send("_ready",h,c,_.jm)};
|
|
|
|
|
_.Wm.prototype.connectIframes=function(a,b){a=new Im(a);var c=new Im(b),d=Zl(a);b=a.getIframe();var e=c.getIframe();if(e){var f=Ll(a),h=new Km;Pm(b,e,h);Yl(Xl((new Im(h.value())).Hl(f),a.O.role),a.O.data).Tj(d);var k=new Km;Pm(e,b,k);Yl(Xl((new Im(k.value())).Hl(f),c.O.role),c.O.data).Tj(!0);Vm(b,"_g_connect",h.value(),function(){d||Vm(e,"_g_connect",k.value())});d&&Vm(e,"_g_connect",k.value())}else c={},Yl(Xl($l(new Im(c)),a.O.role),a.O.data),Vm(b,"_g_connect",c)};
|
|
|
|
|
var Xm=function(a){a.VB||(a.VB=_.ie(),a.wF=_.ie())};_.Wm.prototype.addOnConnectHandler=function(a,b,c,d){Xm(this);"object"===typeof a?(b=new bm(a),c=b.vN()||""):(b=dm(cm(a).xc(b).iq(c),d),c=a);d=this.VB[c]||[];a=!1;for(var e=0;e<d.length&&!a;e++)Ym(this.Of[d[e].xi.getFrameName()],d[e].data,[b]),a=b.O.runOnce;c=_.he(this.wF,c,[]);a||b.O.dontWait||c.push(b)};
|
|
|
|
|
_.Wm.prototype.removeOnConnectHandler=function(a,b){a=_.he(this.wF,a,[]);if(b)for(var c=!1,d=0;!c&&d<a.length;d++)a[d].nb()===b&&(c=!0,a.splice(d,1));else a.splice(0,a.length)};var Ym=function(a,b,c){c=c||[];for(var d=0;d<c.length;d++){var e=c[d];if(e&&a){var f=e.O.filter||_.im;if(a&&f(a)){f=e.O.apis||[];for(var h=0;h<f.length;h++)a.applyIframesApi(f[h]);e.nb()&&e.nb()(a,b);e.O.runOnce&&(c.splice(d,1),--d)}}}};
|
|
|
|
|
_.Wm.prototype.addOnOpenerHandler=function(a,b,c){var d=this.addOnConnectHandler;a=dm(cm("_opener").xc(a).iq(b),c);a.O.runOnce=!0;d.call(this,a.value())};_.Wm.prototype.xP=function(a,b){var c=a.O.controller;if(c){_.Vk(c.Ad===a.getOrigin(),"Wrong controller origin "+this.Ad+" !== "+a.getOrigin());var d=a.Vf();Mm(a,c.Vf());Nm(a,c.th());var e=new Km;Pl(Mm(e,d),a.O.controllerData);_.re(b,"load",function(){c.send("_g_control",e.value())})}};
|
|
|
|
|
var mn=function(a,b,c){a=a.getWindow();var d=a.document,e=c.O.reuseWindow;if(e){var f=c.getId();if(!f)throw Error("N");}else f=_.vl(d,c);var h=f,k=c.O.rpcRelayUrl;if(k){k=_.El(k);h=c.O.fragmentParams||{};h.rly=f;c.O.fragmentParams=h;h=c.O.where||d.body;_.Vk(!!h,"Cannot open window in a page with no body");var l={};l.src=k;l.style="display:none;";l.id=f;l.name=f;_.zl(d,h,l,f);h=f+"_relay"}b=_.Fl(b);var m=_.xl(d,b,f,c.value());c.O.eurl=m;b=c.O.openAsWindow;"string"!==typeof b&&(b=void 0);c=window.navigator.userAgent||
|
|
|
|
|
"";/Trident|MSIE/i.test(c)&&/#/.test(c)&&(m="javascript:window.location.replace("+_.de.JSON.stringify(m).replace(/#/g,"\\x23")+")");if(e){var n=e;setTimeout(function(){n.location.replace(m)})}else n=_.Ed(m,a,h,b);return{id:f,lT:n}};_.Wm.prototype.WN=function(a,b){if(b.O.openAsWindow){a=mn(this,a,b);var c=a.id;_.Vk(!!a.lT,"Open popup window failed");b.O._popupWindow=a.lT}return c};
|
|
|
|
|
em=_.ie();fm=_.ie();_.gm=new _.Wm;sm("_g_rpcReady",_.Sm.prototype.Tj);sm("_g_discover",_.Sm.prototype.kZ);sm("_g_ping",_.Sm.prototype.Q2);sm("_g_close",_.Sm.prototype.WW);sm("_g_closeMe",_.Sm.prototype.XW);sm("_g_restyle",_.Sm.prototype.Q3);sm("_g_restyleMe",_.Sm.prototype.R3);sm("_g_wasClosed",_.Sm.prototype.r6);_.rm("control","_g_control",_.Sm.prototype.bX);_.rm("control","_g_disposeControl",_.Sm.prototype.oX);var nn=_.gm.getParentIframe();nn&&nn.register("_g_restyleDone",_.Sm.prototype.P3,_.jm);
|
|
|
|
|
sm("_g_connect",_.Sm.prototype.ZW);var on={};on._g_open=_.Sm.prototype.C2;_.qm("_open",on,_.jm);
|
|
|
|
|
var pn={Context:_.Wm,Iframe:_.Sm,SAME_ORIGIN_IFRAMES_FILTER:_.im,CROSS_ORIGIN_IFRAMES_FILTER:_.jm,makeWhiteListIframesFilter:_.km,getContext:_.tm,registerIframesApi:_.qm,registerIframesApiHandler:_.rm,registerStyle:_.an,registerBeforeOpenStyle:_.dn,getStyle:_.bn,getBeforeOpenStyle:_.en,create:_.Gl};
|
|
|
|
|
Dm({instance:function(){return pn},priority:2});
|
|
|
|
|
_.rm("gapi.load","_g_gapi.load",function(a){return new _.Fj(function(b){_.le.load(a&&"object"===typeof a&&a.features||"",b)})});
|
|
|
|
|
|
|
|
|
|
_.yn=_.ie();
|
|
|
|
|
|
|
|
|
|
_.zn={};window.iframer=_.zn;
|
|
|
|
|
|
|
|
|
|
var An,Bn,Cn,Dn,En,In,Jn;An=function(a){if(_.ge.test(Object.keys))return Object.keys(a);var b=[],c;for(c in a)_.je(a,c)&&b.push(c);return b};Bn={button:!0,div:!0,span:!0};Cn=function(a){var b=_.he(_.te,"sws",[]);return 0<=_.Tl.call(b,a)};Dn=function(a){return _.he(_.te,"watt",_.ie())[a]};En=function(a){return function(b,c){return a?_.Cl()[c]||a[c]||"":_.Cl()[c]||""}};_.Fn={callback:1,clientid:1,cookiepolicy:1,openidrealm:-1,includegrantedscopes:-1,requestvisibleactions:1,scope:1};_.Gn=!1;
|
|
|
|
|
_.Hn=function(){if(!_.Gn){for(var a=document.getElementsByTagName("meta"),b=0;b<a.length;++b){var c=a[b].name.toLowerCase();if(_.ic(c,"google-signin-")){c=c.substring(14);var d=a[b].content;_.Fn[c]&&d&&(_.yn[c]=d)}}if(window.self!==window.top){a=document.location.toString();for(var e in _.Fn)0<_.Fn[e]&&(b=_.me(a,e,""))&&(_.yn[e]=b)}_.Gn=!0}e=_.ie();_.ke(_.yn,e);return e};In=function(a){var b;a.match(/^https?%3A/i)&&(b=decodeURIComponent(a));a=b?b:a;return _.il(document,a)};
|
|
|
|
|
Jn=function(a){a=a||"canonical";for(var b=document.getElementsByTagName("link"),c=0,d=b.length;c<d;c++){var e=b[c],f=e.getAttribute("rel");if(f&&f.toLowerCase()==a&&(e=e.getAttribute("href"))&&(e=In(e))&&null!=e.match(/^https?:\/\/[\w\-_\.]+/i))return e}return window.location.href};_.Kn=function(){return window.location.origin||window.location.protocol+"//"+window.location.host};_.Ln=function(a,b,c,d){return(a="string"==typeof a?a:void 0)?In(a):Jn(d)};
|
|
|
|
|
_.Mn=function(a,b,c){null==a&&c&&(a=c.db,null==a&&(a=c.gwidget&&c.gwidget.db));return a||void 0};_.Nn=function(a,b,c){null==a&&c&&(a=c.ecp,null==a&&(a=c.gwidget&&c.gwidget.ecp));return a||void 0};
|
|
|
|
|
_.On=function(a,b,c){return _.Ln(a,b,c,b.action?void 0:"publisher")};
|
|
|
|
|
var Pn,Qn,Rn,Sn,Tn,Un,Wn,Vn;Pn={se:"0"};Qn={post:!0};Rn={style:"position:absolute;top:-10000px;width:450px;margin:0px;border-style:none"};Sn="onPlusOne _ready _close _open _resizeMe _renderstart oncircled drefresh erefresh".split(" ");Tn=_.he(_.te,"WI",_.ie());Un=["style","data-gapiscan"];
|
|
|
|
|
Wn=function(a){for(var b=_.ie(),c=0!=a.nodeName.toLowerCase().indexOf("g:"),d=a.attributes.length,e=0;e<d;e++){var f=a.attributes[e],h=f.name,k=f.value;0<=_.Tl.call(Un,h)||c&&0!=h.indexOf("data-")||"null"===k||"specified"in f&&!f.specified||(c&&(h=h.substr(5)),b[h.toLowerCase()]=k)}a=a.style;(c=Vn(a&&a.height))&&(b.height=String(c));(a=Vn(a&&a.width))&&(b.width=String(a));return b};
|
|
|
|
|
_.Yn=function(a,b,c,d,e,f){if(c.rd)var h=b;else h=document.createElement("div"),b.setAttribute("data-gapistub",!0),h.style.cssText="position:absolute;width:450px;left:-10000px;",b.parentNode.insertBefore(h,b);f.siteElement=h;h.id||(h.id=_.Xn(a));b=_.ie();b[">type"]=a;_.ke(c,b);a=_.Gl(d,h,e);f.iframeNode=a;f.id=a.getAttribute("id")};_.Xn=function(a){_.he(Tn,a,0);return"___"+a+"_"+Tn[a]++};Vn=function(a){var b=void 0;"number"===typeof a?b=a:"string"===typeof a&&(b=parseInt(a,10));return b};
|
|
|
|
|
var Zn,$n,ao,bo,co=/(?:^|\s)g-((\S)*)(?:$|\s)/,eo={plusone:!0,autocomplete:!0,profile:!0,signin:!0,signin2:!0};Zn=_.he(_.te,"SW",_.ie());$n=_.he(_.te,"SA",_.ie());ao=_.he(_.te,"SM",_.ie());bo=_.he(_.te,"FW",[]);
|
|
|
|
|
var fo=function(a,b){return("string"===typeof a?document.getElementById(a):a)||b},jo=function(a,b){var c;go.ps0=(new Date).getTime();ho("ps0");a=fo(a,_.ee);var d=_.ee.documentMode;if(a.querySelectorAll&&(!d||8<d)){d=b?[b]:An(Zn).concat(An($n)).concat(An(ao));for(var e=[],f=0;f<d.length;f++){var h=d[f];e.push(".g-"+h,"g\\:"+h)}d=a.querySelectorAll(e.join(","))}else d=a.getElementsByTagName("*");a=_.ie();for(e=0;e<d.length;e++){f=d[e];h=b;var k=f.nodeName.toLowerCase(),l=void 0;if(f.getAttribute("data-gapiscan"))h=
|
|
|
|
|
null;else{var m=k.indexOf("g:");0==m?l=k.substr(2):(m=(m=String(f.className||f.getAttribute("class")))&&co.exec(m))&&(l=m[1]);h=!l||!(Zn[l]||$n[l]||ao[l])||h&&l!==h?null:l}h&&(eo[h]||0==f.nodeName.toLowerCase().indexOf("g:")||0!=An(Wn(f)).length)&&(f.setAttribute("data-gapiscan",!0),_.he(a,h,[]).push(f))}for(n in a)bo.push(n);go.ps1=(new Date).getTime();ho("ps1");if(b=bo.join(":"))try{_.le.load(b,void 0)}catch(q){_.uf.log(q);return}e=[];for(c in a){d=a[c];var n=0;for(b=d.length;n<b;n++)f=d[n],io(c,
|
|
|
|
|
f,Wn(f),e,b)}};
|
|
|
|
|
var ko=function(a,b){var c=Dn(a);b&&c?(c(b),(c=b.iframeNode)&&c.setAttribute("data-gapiattached",!0)):_.le.load(a,function(){var d=Dn(a),e=b&&b.iframeNode,f=b&&b.userParams;e&&d?(d(b),e.setAttribute("data-gapiattached",!0)):(d=_.le[a].go,"signin2"==a?d(e,f):d(e&&e.parentNode,f))})},io=function(a,b,c,d,e,f,h){switch(lo(b,a,f)){case 0:a=ao[a]?a+"_annotation":a;d={};d.iframeNode=b;d.userParams=c;ko(a,d);break;case 1:if(b.parentNode){for(var k in c){if(f=_.je(c,k))f=c[k],f=!!f&&"object"===typeof f&&(!f.toString||
|
|
|
|
|
f.toString===Object.prototype.toString||f.toString===Array.prototype.toString);if(f)try{c[k]=_.qf(c[k])}catch(w){delete c[k]}}k=!0;c.dontclear&&(k=!1);delete c.dontclear;var l;f={};var m=l=a;"plus"==a&&c.action&&(l=a+"_"+c.action,m=a+"/"+c.action);(l=_.Be("iframes/"+l+"/url"))||(l=":im_socialhost:/:session_prefix::im_prefix:_/widget/render/"+m+"?usegapi=1");for(n in Pn)f[n]=n+"/"+(c[n]||Pn[n])+"/";var n=_.il(_.ee,l.replace(_.Bl,En(f)));m="iframes/"+a+"/params/";f={};_.ke(c,f);(l=_.Be("lang")||_.Be("gwidget/lang"))&&
|
|
|
|
|
(f.hl=l);Qn[a]||(f.origin=_.Kn());f.exp=_.Be(m+"exp");if(m=_.Be(m+"location"))for(l=0;l<m.length;l++){var q=m[l];f[q]=_.de.location[q]}switch(a){case "plus":case "follow":f.url=_.On(f.href,c,null);delete f.href;break;case "plusone":m=(m=c.href)?In(m):Jn();f.url=m;f.db=_.Mn(c.db,void 0,_.Be());f.ecp=_.Nn(c.ecp,void 0,_.Be());delete f.href;break;case "signin":f.url=Jn()}_.te.ILI&&(f.iloader="1");delete f["data-onload"];delete f.rd;for(var p in Pn)f[p]&&delete f[p];f.gsrc=_.Be("iframes/:source:");p=
|
|
|
|
|
_.Be("inline/css");"undefined"!==typeof p&&0<e&&p>=e&&(f.ic="1");p=/^#|^fr-/;e={};for(var t in f)_.je(f,t)&&p.test(t)&&(e[t.replace(p,"")]=f[t],delete f[t]);t="q"==_.Be("iframes/"+a+"/params/si")?f:e;p=_.Hn();for(var v in p)!_.je(p,v)||_.je(f,v)||_.je(e,v)||(t[v]=p[v]);v=[].concat(Sn);t=_.Be("iframes/"+a+"/methods");_.Sl(t)&&(v=v.concat(t));for(r in c)_.je(c,r)&&/^on/.test(r)&&("plus"!=a||"onconnect"!=r)&&(v.push(r),delete f[r]);delete f.callback;e._methods=v.join(",");var r=_.hl(n,f,e);v=h||{};v.allowPost=
|
|
|
|
|
1;v.attributes=Rn;v.dontclear=!k;h={};h.userParams=c;h.url=r;h.type=a;_.Yn(a,b,c,r,v,h);b=h.id;c=_.ie();c.id=b;c.userParams=h.userParams;c.url=h.url;c.type=h.type;c.state=1;_.qn[b]=c;b=h}else b=null;b&&((c=b.id)&&d.push(c),ko(a,b))}},lo=function(a,b,c){if(a&&1===a.nodeType&&b){if(c)return 1;if(ao[b]){if(Bn[a.nodeName.toLowerCase()])return(a=a.innerHTML)&&a.replace(/^[\s\xa0]+|[\s\xa0]+$/g,"")?0:1}else{if($n[b])return 0;if(Zn[b])return 1}}return null};
|
|
|
|
|
_.he(_.le,"platform",{}).go=function(a,b){jo(a,b)};
|
|
|
|
|
var mo=_.he(_.te,"perf",_.ie()),go=_.he(mo,"g",_.ie()),no=_.he(mo,"i",_.ie()),oo,po,qo,ho,so,to,uo;_.he(mo,"r",[]);oo=_.ie();po=_.ie();qo=function(a,b,c,d){oo[c]=oo[c]||!!d;_.he(po,c,[]);po[c].push([a,b])};ho=function(a,b,c){var d=mo.r;"function"===typeof d?d(a,b,c):d.push([a,b,c])};so=function(a,b,c,d){if("_p"==b)throw Error("O");_.ro(a,b,c,d)};_.ro=function(a,b,c,d){to(b,c)[a]=d||(new Date).getTime();ho(a,b,c)};to=function(a,b){a=_.he(no,a,_.ie());return _.he(a,b,_.ie())};
|
|
|
|
|
uo=function(a,b,c){var d=null;b&&c&&(d=to(b,c)[a]);return d||go[a]};
|
|
|
|
|
(function(){function a(h){this.t={};this.tick=function(k,l,m){this.t[k]=[void 0!=m?m:(new Date).getTime(),l];if(void 0==m)try{window.console.timeStamp("CSI/"+k)}catch(n){}};this.getStartTickTime=function(){return this.t.start[0]};this.tick("start",null,h)}var b;if(window.performance)var c=(b=window.performance.timing)&&b.responseStart;var d=0<c?new a(c):new a;window.__gapi_jstiming__={Timer:a,load:d};if(b){var e=b.navigationStart;0<e&&c>=e&&(window.__gapi_jstiming__.srt=c-e)}if(b){var f=window.__gapi_jstiming__.load;
|
|
|
|
|
0<e&&c>=e&&(f.tick("_wtsrt",void 0,e),f.tick("wtsrt_","_wtsrt",c),f.tick("tbsd_","wtsrt_"))}try{b=null,window.chrome&&window.chrome.csi&&(b=Math.floor(window.chrome.csi().pageT),f&&0<e&&(f.tick("_tbnd",void 0,window.chrome.csi().startE),f.tick("tbnd_","_tbnd",e))),null==b&&window.gtbExternal&&(b=window.gtbExternal.pageT()),null==b&&window.external&&(b=window.external.pageT,f&&0<e&&(f.tick("_tbnd",void 0,window.external.startE),f.tick("tbnd_","_tbnd",e))),b&&(window.__gapi_jstiming__.pt=b)}catch(h){}})();
|
|
|
|
|
if(window.__gapi_jstiming__){window.__gapi_jstiming__.KK={};window.__gapi_jstiming__.x3=1;var vo=function(a,b,c){var d=a.t[b],e=a.t.start;if(d&&(e||c))return d=a.t[b][0],e=void 0!=c?c:e[0],Math.round(d-e)},wo=function(a,b,c){var d="";window.__gapi_jstiming__.srt&&(d+="&srt="+window.__gapi_jstiming__.srt,delete window.__gapi_jstiming__.srt);window.__gapi_jstiming__.pt&&(d+="&tbsrt="+window.__gapi_jstiming__.pt,delete window.__gapi_jstiming__.pt);try{window.external&&window.external.tran?d+="&tran="+
|
|
|
|
|
window.external.tran:window.gtbExternal&&window.gtbExternal.tran?d+="&tran="+window.gtbExternal.tran():window.chrome&&window.chrome.csi&&(d+="&tran="+window.chrome.csi().tran)}catch(q){}var e=window.chrome;if(e&&(e=e.loadTimes)){e().wasFetchedViaSpdy&&(d+="&p=s");if(e().wasNpnNegotiated){d+="&npn=1";var f=e().npnNegotiatedProtocol;f&&(d+="&npnv="+(encodeURIComponent||escape)(f))}e().wasAlternateProtocolAvailable&&(d+="&apa=1")}var h=a.t,k=h.start;e=[];f=[];for(var l in h)if("start"!=l&&0!=l.indexOf("_")){var m=
|
|
|
|
|
h[l][1];m?h[m]&&f.push(l+"."+vo(a,l,h[m][0])):k&&e.push(l+"."+vo(a,l))}delete h.start;if(b)for(var n in b)d+="&"+n+"="+b[n];(b=c)||(b="https:"==document.location.protocol?"https://csi.gstatic.com/csi":"http://csi.gstatic.com/csi");return[b,"?v=3","&s="+(window.__gapi_jstiming__.sn||"gwidget")+"&action=",a.name,f.length?"&it="+f.join(","):"",d,"&rt=",e.join(",")].join("")},xo=function(a,b,c){a=wo(a,b,c);if(!a)return"";b=new Image;var d=window.__gapi_jstiming__.x3++;window.__gapi_jstiming__.KK[d]=b;
|
|
|
|
|
b.onload=b.onerror=function(){window.__gapi_jstiming__&&delete window.__gapi_jstiming__.KK[d]};b.src=a;b=null;return a};window.__gapi_jstiming__.report=function(a,b,c){var d=document.visibilityState,e="visibilitychange";d||(d=document.webkitVisibilityState,e="webkitvisibilitychange");if("prerender"==d){var f=!1,h=function(){if(!f){b?b.prerender="1":b={prerender:"1"};if("prerender"==(document.visibilityState||document.webkitVisibilityState))var k=!1;else xo(a,b,c),k=!0;k&&(f=!0,document.removeEventListener(e,
|
|
|
|
|
h,!1))}};document.addEventListener(e,h,!1);return""}return xo(a,b,c)}}
|
|
|
|
|
;var yo={g:"gapi_global",m:"gapi_module",w:"gwidget"},zo=function(a,b){this.type=a?"_p"==a?"m":"w":"g";this.name=a;this.Bq=b};zo.prototype.key=function(){switch(this.type){case "g":return this.type;case "m":return this.type+"."+this.Bq;case "w":return this.type+"."+this.name+this.Bq}};
|
|
|
|
|
var Ao=new zo,Bo=navigator.userAgent.match(/iPhone|iPad|Android|PalmWebOS|Maemo|Bada/),Co=_.he(mo,"_c",_.ie()),Do=Math.random()<(_.Be("csi/rate")||0),Fo=function(a,b,c){for(var d=new zo(b,c),e=_.he(Co,d.key(),_.ie()),f=po[a]||[],h=0;h<f.length;++h){var k=f[h],l=k[0],m=a,n=b,q=c;k=uo(k[1],n,q);m=uo(m,n,q);e[l]=k&&m?m-k:null}oo[a]&&Do&&(Eo(Ao),Eo(d))},Go=function(a,b){b=b||[];for(var c=[],d=0;d<b.length;d++)c.push(a+b[d]);return c},Eo=function(a){var b=_.de.__gapi_jstiming__;b.sn=yo[a.type];var c=new b.Timer(0);
|
|
|
|
|
a:{switch(a.type){case "g":var d="global";break a;case "m":d=a.Bq;break a;case "w":d=a.name;break a}d=void 0}c.name=d;d=!1;var e=a.key(),f=Co[e];c.tick("_start",null,0);for(var h in f)c.tick(h,"_start",f[h]),d=!0;Co[e]=_.ie();d&&(h=[],h.push("l"+(_.Be("isPlusUser")?"1":"0")),d="m"+(Bo?"1":"0"),h.push(d),"m"==a.type?h.push("p"+a.Bq):"w"==a.type&&(e="n"+a.Bq,h.push(e),"0"==a.Bq&&h.push(d+e)),h.push("u"+(_.Be("isLoggedIn")?"1":"0")),a=Go("",h),a=Go("abc_",a).join(","),b.report(c,{e:a}))};
|
|
|
|
|
qo("blt","bs0","bs1");qo("psi","ps0","ps1");qo("rpcqi","rqe","rqd");qo("bsprt","bsrt0","bsrt1");qo("bsrqt","bsrt1","bsrt2");qo("bsrst","bsrt2","bsrt3");qo("mli","ml0","ml1");qo("mei","me0","me1",!0);qo("wcdi","wrs","wcdi");qo("wci","wrs","wdc");qo("wdi","wrs","wrdi");qo("wdt","bs0","wrdt");qo("wri","wrs","wrri",!0);qo("wrt","bs0","wrrt");qo("wji","wje0","wje1",!0);qo("wjli","wjl0","wjl1");qo("whi","wh0","wh1",!0);qo("wai","waaf0","waaf1",!0);qo("wadi","wrs","waaf1",!0);qo("wadt","bs0","waaf1",!0);
|
|
|
|
|
qo("wprt","wrt0","wrt1");qo("wrqt","wrt1","wrt2");qo("wrst","wrt2","wrt3",!0);qo("fbprt","fsrt0","fsrt1");qo("fbrqt","fsrt1","fsrt2");qo("fbrst","fsrt2","fsrt3",!0);qo("fdns","fdns0","fdns1");qo("fcon","fcon0","fcon1");qo("freq","freq0","freq1");qo("frsp","frsp0","frsp1");qo("fttfb","fttfb0","fttfb1");qo("ftot","ftot0","ftot1",!0);var Ho=mo.r;if("function"!==typeof Ho){for(var Io;Io=Ho.shift();)Fo.apply(null,Io);mo.r=Fo}
|
|
|
|
|
;var Jo=["div"],Ko="onload",Lo=!0,Mo=!0,No=function(a){return a},Oo=null,Po=function(a){var b=_.Be(a);return"undefined"!==typeof b?b:_.Be("gwidget/"+a)},To,Uo,Vo,Wo,Xo,Yo,Zo,ep,$o,fp,gp,hp,ip,jp,ap,cp,kp,bp,lp,mp,np,op,pp,qp;Oo=_.Be();_.Be("gwidget");var Qo=Po("parsetags");Ko="explicit"===Qo||"onload"===Qo?Qo:Ko;var Ro=Po("google_analytics");"undefined"!==typeof Ro&&(Lo=!!Ro);var So=Po("data_layer");"undefined"!==typeof So&&(Mo=!!So);To=function(){var a=this&&this.getId();a&&(_.te.drw=a)};
|
|
|
|
|
Uo=function(){_.te.drw=null};Vo=function(a){return function(b){var c=a;"number"===typeof b?c=b:"string"===typeof b&&(c=b.indexOf("px"),-1!=c&&(b=b.substring(0,c)),c=parseInt(b,10));return c}};Wo=function(a){"string"===typeof a&&(a=window[a]);return"function"===typeof a?a:null};Xo=function(){return Po("lang")||"en-US"};
|
|
|
|
|
Yo=function(a){if(!_.Wa.nb("attach")){var b={},c=_.Wa.nb("inline"),d;for(d in c)c.hasOwnProperty(d)&&(b[d]=c[d]);b.open=function(e){var f=e.lc().renderData.id;f=document.getElementById(f);if(!f)throw Error("P");return c.attach(e,f)};_.Wa.xc("attach",b)}a.style="attach"};Zo=function(){var a={};a.width=[Vo(450)];a.height=[Vo(24)];a.onready=[Wo];a.lang=[Xo,"hl"];a.iloader=[function(){return _.te.ILI},"iloader"];return a}();
|
|
|
|
|
ep=function(a){var b={};b.ze=a[0];b.Vn=-1;b.Iga="___"+b.ze+"_";b.s6="g:"+b.ze;b.Rea="g-"+b.ze;b.VQ=[];b.config={};b.zv=[];b.bT={};b.zA={};var c=function(e){for(var f in e)if(_.je(e,f)){b.config[f]=[Wo];b.zv.push(f);var h=e[f],k=null,l=null,m=null;"function"===typeof h?k=h:h&&"object"===typeof h&&(k=h.Gea,l=h.AA,m=h.oJ);m&&(b.zv.push(m),b.config[m]=[Wo],b.bT[f]=m);k&&(b.config[f]=[k]);l&&(b.zA[f]=l)}},d=function(e){for(var f={},h=0;h<e.length;++h)f[e[h].toLowerCase()]=1;f[b.s6]=1;b.v1=f};a[1]&&(b.parameters=
|
|
|
|
|
a[1]);(function(e){b.config=e;for(var f in Zo)Zo.hasOwnProperty(f)&&!b.config.hasOwnProperty(f)&&(b.config[f]=Zo[f])})(a[2]||{});a[3]&&c(a[3]);a[4]&&d(a[4]);a[5]&&(b.zl=a[5]);b.Bga=!0===a[6];b.Y2=a[7];b.g6=a[8];b.v1||d(Jo);b.BF=function(e){b.Vn++;so("wrs",b.ze,String(b.Vn));var f=[],h=e.element,k=e.config,l=":"+b.ze;":plus"==l&&e.wl&&e.wl.action&&(l+="_"+e.wl.action);var m=$o(b,k),n={};_.ke(_.Hn(),n);for(var q in e.wl)null!=e.wl[q]&&(n[q]=e.wl[q]);q={container:h.id,renderData:e.s3,style:"inline",
|
|
|
|
|
height:k.height,width:k.width};Yo(q);b.zl&&(f[2]=q,f[3]=n,f[4]=m,b.zl("i",f));l=_.Wa.open(l,q,n,m);e=e.gX;ap(l,k);bp(l,h);cp(b,l,e);dp(b.ze,b.Vn.toString(),l);f[5]=l;b.zl&&b.zl("e",f)};return b};
|
|
|
|
|
$o=function(a,b){for(var c={},d=a.zv.length-1;0<=d;--d){var e=a.zv[d],f=b[a.bT[e]||e]||b[e],h=b[e];h&&f!==h&&(f=function(l,m){return function(n){m.apply(this,arguments);l.apply(this,arguments)}}(f,h));f&&(c[e]=f)}for(var k in a.zA)a.zA.hasOwnProperty(k)&&(c[k]=fp(c[k]||function(){},a.zA[k]));c.drefresh=To;c.erefresh=Uo;return c};
|
|
|
|
|
fp=function(a,b){return function(c){var d=b(c);if(d){var e=c.href||null;if(Lo){if(window._gat)try{var f=window._gat._getTrackerByName("~0");f&&"UA-XXXXX-X"!=f._getAccount()?f._trackSocial("Google",d,e):window._gaq&&window._gaq.push(["_trackSocial","Google",d,e])}catch(k){}if(window.ga&&window.ga.getAll)try{var h=window.ga.getAll();for(f=0;f<h.length;f++)h[f].send("social","Google",d,e)}catch(k){}}if(Mo&&window.dataLayer)try{window.dataLayer.push({event:"social",socialNetwork:"Google",socialAction:d,
|
|
|
|
|
socialTarget:e})}catch(k){}}a.call(this,c)}};gp=function(a){return _.Sm&&a instanceof _.Sm};hp=function(a){return gp(a)?"_renderstart":"renderstart"};ip=function(a){return gp(a)?"_ready":"ready"};jp=function(){return!0};ap=function(a,b){if(b.onready){var c=!1,d=function(){c||(c=!0,b.onready.call(null))};a.register(ip(a),d,jp);a.register(hp(a),d,jp)}};
|
|
|
|
|
cp=function(a,b,c){var d=a.ze,e=String(a.Vn),f=!1,h=function(){f||(f=!0,b.getIframeEl(),c&&so("wrdt",d,e),so("wrdi",d,e))};b.register(hp(b),h,jp);var k=!1;a=function(){k||(k=!0,h(),c&&so("wrrt",d,e),so("wrri",d,e))};b.register(ip(b),a,jp);gp(b)?b.register("widget-interactive-"+b.id,a,jp):_.zf.register("widget-interactive-"+b.id,a);_.zf.register("widget-csi-tick-"+b.id,function(l,m,n){"wdc"===l?so("wdc",d,e,n):"wje0"===l?so("wje0",d,e,n):"wje1"===l?so("wje1",d,e,n):"wh0"==l?_.ro("wh0",d,e,n):"wh1"==
|
|
|
|
|
l?_.ro("wh1",d,e,n):"wcdi"==l&&_.ro("wcdi",d,e,n)})};kp=function(a){return"number"==typeof a?a+"px":"100%"==a?a:null};bp=function(a,b){var c=function(d){d=d||a;var e=kp(d.width);e&&b.style.width!=e&&(b.style.width=e);(d=kp(d.height))&&b.style.height!=d&&(b.style.height=d)};gp(a)?a.setParam("onRestyle",c):(a.register("ready",c,jp),a.register("renderstart",c,jp),a.register("resize",c,jp))};lp=function(a,b){for(var c in Zo)if(Zo.hasOwnProperty(c)){var d=Zo[c][1];d&&!b.hasOwnProperty(d)&&(b[d]=a[d])}return b};
|
|
|
|
|
mp=function(a,b){var c={},d;for(d in a)a.hasOwnProperty(d)&&(c[a[d][1]||d]=(a[d]&&a[d][0]||No)(b[d.toLowerCase()],b,Oo));return c};np=function(a){if(a=a.Y2)for(var b=0;b<a.length;b++)(new Image).src=a[b]};op=function(a,b){var c=b.userParams,d=b.siteElement;d||(d=(d=b.iframeNode)&&d.parentNode);if(d&&1===d.nodeType){var e=mp(a.config,c);a.VQ.push({element:d,config:e,wl:lp(e,mp(a.parameters,c)),Ifa:3,gX:!!c["data-onload"],s3:b})}b=a.VQ;for(a=a.BF;0<b.length;)a(b.shift())};
|
|
|
|
|
pp=function(a,b){a.Vn++;so("wrs",a.ze,String(a.Vn));var c=b.userParams,d=mp(a.config,c),e=[],f=b.iframeNode,h=b.siteElement,k=$o(a,d),l=mp(a.parameters,c);_.ke(_.Hn(),l);l=lp(d,l);c=!!c["data-onload"];var m=_.gm,n=_.ie();n.renderData=b;n.height=d.height;n.width=d.width;n.id=b.id;n.url=b.url;n.iframeEl=f;n.where=n.container=h;n.apis=["_open"];n.messageHandlers=k;n.messageHandlersFilter=_.jm;_.xn(n);f=l;a.zl&&(e[2]=n,e[3]=f,e[4]=k,a.zl("i",e));k=m.attach(n);k.id=b.id;k.JH(k,n);ap(k,d);bp(k,h);cp(a,
|
|
|
|
|
k,c);dp(a.ze,a.Vn.toString(),k);e[5]=k;a.zl&&a.zl("e",e)};qp=function(a,b){var c=b.url;a.g6||_.ii(c)?pp(a,b):_.Wa.open?op(a,b):(0,_.eg)("iframes",function(){op(a,b)})};
|
|
|
|
|
_.rp=function(a){var b=ep(a);np(b);_.xf(b.ze,function(d){qp(b,d)});Zn[b.ze]=!0;var c={va:function(d,e,f){var h=e||{};h.type=b.ze;e=h.type;delete h.type;var k=fo(d);if(k){d={};for(var l in h)_.je(h,l)&&(d[l.toLowerCase()]=h[l]);d.rd=1;(l=!!d.ri)&&delete d.ri;io(e,k,d,[],0,l,f)}else _.uf.log("string"==="gapi."+e+".render: missing element "+typeof d?d:"")},go:function(d){jo(d,b.ze)},Jfa:function(){var d=_.he(_.te,"WI",_.ie()),e;for(e in d)delete d[e]}};a=function(){"onload"===Ko&&c.go()};if(!Cn(b.ze)){if(!_.vf())try{a()}catch(d){}_.wf(a)}_.u("gapi."+
|
|
|
|
|
b.ze+".go",c.go);_.u("gapi."+b.ze+".render",c.va);return c};
|
|
|
|
|
var sp=function(){var a=window;return!!a.performance&&!!a.performance.getEntries},dp=function(a,b,c){if(sp()){var d=function(){var f=!1;return function(){if(f)return!0;f=!0;return!1}}(),e=function(){d()||window.setTimeout(function(){var f=c.getIframeEl().src;var h=f.indexOf("#");-1!=h&&(f=f.substring(0,h));f=window.performance.getEntriesByName(f);1>f.length?f=null:(f=f[0],f=0==f.responseStart?null:f);if(f){h=Math.round(f.requestStart);var k=Math.round(f.responseStart),l=Math.round(f.responseEnd);
|
|
|
|
|
so("wrt0",a,b,Math.round(f.startTime));so("wrt1",a,b,h);so("wrt2",a,b,k);so("wrt3",a,b,l)}},1E3)};c.register(hp(c),e,jp);c.register(ip(c),e,jp)}};
|
|
|
|
|
_.u("gapi.widget.make",_.rp);
|
|
|
|
|
|
|
|
|
|
_.Ee=_.Ee||{};_.Ee.Xs=function(a,b,c){for(var d=[],e=2,f=arguments.length;e<f;++e)d.push(arguments[e]);return function(){for(var h=d.slice(),k=0,l=arguments.length;k<l;++k)h.push(arguments[k]);return b.apply(a,h)}};_.Ee.oy=function(a){var b,c,d={};for(b=0;c=a[b];++b)d[c]=c;return d};
|
|
|
|
|
|
|
|
|
|
_.Ee=_.Ee||{};_.Ee.kW=function(a){var b=window;"undefined"!=typeof b.addEventListener?b.addEventListener("mousemove",a,!1):"undefined"!=typeof b.attachEvent?b.attachEvent("onmousemove",a):_.Ge("cannot attachBrowserEvent: mousemove")};_.Ee.p3=function(a){var b=window;b.removeEventListener?b.removeEventListener("mousemove",a,!1):b.detachEvent?b.detachEvent("onmousemove",a):_.Ge("cannot removeBrowserEvent: mousemove")};
|
|
|
|
|
|
|
|
|
|
_.Ee=_.Ee||{};
|
|
|
|
|
(function(){function a(c,d){return String.fromCharCode(d)}var b={0:!1,10:!0,13:!0,34:!0,39:!0,60:!0,62:!0,92:!0,8232:!0,8233:!0,65282:!0,65287:!0,65308:!0,65310:!0,65340:!0};_.Ee.escape=function(c,d){if(c){if("string"===typeof c)return _.Ee.yC(c);if("Array"===typeof c){var e=0;for(d=c.length;e<d;++e)c[e]=_.Ee.escape(c[e])}else if("object"===typeof c&&d){d={};for(e in c)c.hasOwnProperty(e)&&(d[_.Ee.yC(e)]=_.Ee.escape(c[e],!0));return d}}return c};_.Ee.yC=function(c){if(!c)return c;for(var d=[],e,f,
|
|
|
|
|
h=0,k=c.length;h<k;++h)e=c.charCodeAt(h),f=b[e],!0===f?d.push("&#",e,";"):!1!==f&&d.push(c.charAt(h));return d.join("")};_.Ee.Cga=function(c){return c?c.replace(/&#([0-9]+);/g,a):c}})();
|
|
|
|
|
|
|
|
|
|
_.ng=function(){function a(m){var n=new _.mg;n.Du(m);return n.Xh()}var b=window.crypto;if(b&&"function"==typeof b.getRandomValues)return function(){var m=new window.Uint32Array(1);b.getRandomValues(m);return Number("0."+m[0])};var c=_.Be("random/maxObserveMousemove");null==c&&(c=-1);var d=0,e=Math.random(),f=1,h=1E6*(screen.width*screen.width+screen.height),k=function(m){m=m||window.event;var n=m.screenX+m.clientX<<16;n+=m.screenY+m.clientY;n*=(new Date).getTime()%1E6;f=f*n%h;0<c&&++d==c&&_.Ee.p3(k)};
|
|
|
|
|
0!=c&&_.Ee.kW(k);var l=a(document.cookie+"|"+document.location+"|"+(new Date).getTime()+"|"+e);return function(){var m=f;m+=parseInt(l.substr(0,20),16);l=a(l);return m/(h+Math.pow(16,20))}}();
|
|
|
|
|
_.u("shindig.random",_.ng);
|
|
|
|
|
|
|
|
|
|
_.Wa.Ka={};_.Wa.Ka.Th={};_.Wa.Ka.Th.BW=function(a){try{return!!a.document}catch(b){}return!1};_.Wa.Ka.Th.CN=function(a){var b=a.parent;return a!=b&&_.Wa.Ka.Th.BW(b)?_.Wa.Ka.Th.CN(b):a};_.Wa.Ka.Th.Hea=function(a){var b=a.userAgent||"";a=a.product||"";return 0!=b.indexOf("Opera")&&-1==b.indexOf("WebKit")&&"Gecko"==a&&0<b.indexOf("rv:1.")};
|
|
|
|
|
_.Wa.Ka.Th.Xs=function(a,b,c){for(var d=[],e=2,f=arguments.length;e<f;++e)d.push(arguments[e]);return function(){for(var h=d.slice(),k=0,l=arguments.length;k<l;++k)h.push(arguments[k]);return b.apply(a,h)}};
|
|
|
|
|
|
|
|
|
|
var Bp,Cp,Dp,Ep,Hp,Ip,Jp,Kp,Lp,Mp,Np;Bp=function(){_.zf.register("_noop_echo",function(){this.callback(_.Wa.gZ(_.Wa.Wk[this.f]))})};Cp=function(){window.setTimeout(function(){_.zf.call("..","_noop_echo",_.Wa.L2)},0)};Dp=function(a,b,c){var d=function(e){var f=Array.prototype.slice.call(arguments,0),h=f[f.length-1];if("function"===typeof h){var k=h;f.pop()}f.unshift(b,a,k,c);_.zf.call.apply(_.zf,f)};d._iframe_wrapped_rpc_=!0;return d};
|
|
|
|
|
Ep=function(a){_.Wa.Li[a]||(_.Wa.Li[a]={},_.zf.register(a,function(b,c){var d=this.f;if(!("string"!=typeof b||b in{}||d in{})){var e=this.callback,f=_.Wa.Li[a][d],h;f&&Object.hasOwnProperty.call(f,b)?h=f[b]:Object.hasOwnProperty.call(_.Wa.Zo,a)&&(h=_.Wa.Zo[a]);if(h)return d=Array.prototype.slice.call(arguments,1),h._iframe_wrapped_rpc_&&e&&d.push(e),h.apply({},d)}_.uf.error(['Unregistered call in window "',window.name,'" for method "',a,'", via proxyId "',b,'" from frame "',d,'".'].join(""));return null}));
|
|
|
|
|
return _.Wa.Li[a]};_.Fp=function(){var a={};var b=window.location.href;var c=b.indexOf("?"),d=b.indexOf("#");b=(-1===d?b.substr(c+1):[b.substr(c+1,d-c-1),"&",b.substr(d+1)].join("")).split("&");c=window.decodeURIComponent?decodeURIComponent:unescape;d=0;for(var e=b.length;d<e;++d){var f=b[d].indexOf("=");if(-1!==f){var h=b[d].substring(0,f);f=b[d].substring(f+1);f=f.replace(/\+/g," ");try{a[h]=c(f)}catch(k){}}}return a};_.Gp=function(){return _.de.location.origin||_.de.location.protocol+"//"+_.de.location.host};
|
|
|
|
|
Hp=function(a){_.te.h=a};Ip=function(a){_.te.bsh=a};Jp=function(a){var b=window.___jsl=window.___jsl||{};b[a]=b[a]||[];return b[a]};Kp=function(a){return"object"===typeof a&&/\[native code\]/.test(a.push)};
|
|
|
|
|
Lp=function(a,b,c){if(b&&"object"===typeof b)for(var d in b)!Object.prototype.hasOwnProperty.call(b,d)||c&&"___goc"===d&&"undefined"===typeof b[d]||(a[d]&&b[d]&&"object"===typeof a[d]&&"object"===typeof b[d]&&!Kp(a[d])&&!Kp(b[d])?Lp(a[d],b[d]):b[d]&&"object"===typeof b[d]?(a[d]=Kp(b[d])?[]:{},Lp(a[d],b[d])):a[d]=b[d])};
|
|
|
|
|
Mp=function(a){if(a&&!/^\s+$/.test(a)){for(;0==a.charCodeAt(a.length-1);)a=a.substring(0,a.length-1);try{var 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:{}}};
|
|
|
|
|
Np=function(a,b){var c={___goc:void 0};a.length&&a[a.length-1]&&Object.hasOwnProperty.call(a[a.length-1],"___goc")&&"undefined"===typeof a[a.length-1].___goc&&(c=a.pop());Lp(c,b);a.push(c)};
|
|
|
|
|
_.Op=function(a,b){var c;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}else c=a;_.yh(!0);d=window.___gcfg;b=Jp("cu");a=window.___gu;d&&d!==a&&(Np(b,d),window.___gu=d);d=Jp("cu");e=document.scripts||document.getElementsByTagName("script")||[];a=[];f=[];f.push.apply(f,Jp("us"));for(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])&&a.push(k);0==a.length&&0<e.length&&e[e.length-1].src&&a.push(e[e.length-
|
|
|
|
|
1]);for(e=0;e<a.length;++e)a[e].getAttribute("gapi_processed")||(a[e].setAttribute("gapi_processed",!0),(f=a[e])?(h=f.nodeType,f=3==h||4==h?f.nodeValue:f.textContent||""):f=void 0,(f=Mp(f))&&d.push(f));c&&Np(b,c);a=Jp("cd");c=0;for(d=a.length;c<d;++c)Lp(_.yh(),a[c],!0);a=Jp("ci");c=0;for(d=a.length;c<d;++c)Lp(_.yh(),a[c],!0);c=0;for(d=b.length;c<d;++c)Lp(_.yh(),b[c],!0)};var Pp,Qp=window.location.href,Rp=Qp.indexOf("?"),Sp=Qp.indexOf("#");
|
|
|
|
|
Pp=(-1===Sp?Qp.substr(Rp+1):[Qp.substr(Rp+1,Sp-Rp-1),"&",Qp.substr(Sp+1)].join("")).split("&");for(var Tp=window.decodeURIComponent?decodeURIComponent:unescape,Up=0,Vp=Pp.length;Up<Vp;++Up){var Wp=Pp[Up].indexOf("=");if(-1!==Wp){var Xp=Pp[Up].substring(Wp+1);Xp=Xp.replace(/\+/g," ");try{Tp(Xp)}catch(a){}}}
|
|
|
|
|
;if(window.ToolbarApi)Yp=window.ToolbarApi,Yp.Ra=window.ToolbarApi.getInstance,Yp.prototype=window.ToolbarApi.prototype,_.g=Yp.prototype,_.g.openWindow=Yp.prototype.openWindow,_.g.jL=Yp.prototype.closeWindow,_.g.RR=Yp.prototype.setOnCloseHandler,_.g.VK=Yp.prototype.canClosePopup,_.g.cR=Yp.prototype.resizeWindow;else{var Yp=function(){};Yp.Ra=function(){!Zp&&window.external&&window.external.GTB_IsToolbar&&(Zp=new Yp);return Zp};_.g=Yp.prototype;_.g.openWindow=function(a){return window.external.GTB_OpenPopup&&
|
|
|
|
|
window.external.GTB_OpenPopup(a)};_.g.jL=function(a){window.external.GTB_ClosePopupWindow&&window.external.GTB_ClosePopupWindow(a)};_.g.RR=function(a,b){window.external.GTB_SetOnCloseHandler&&window.external.GTB_SetOnCloseHandler(a,b)};_.g.VK=function(a){return window.external.GTB_CanClosePopup&&window.external.GTB_CanClosePopup(a)};_.g.cR=function(a,b){return window.external.GTB_ResizeWindow&&window.external.GTB_ResizeWindow(a,b)};var Zp=null;window.ToolbarApi=Yp;window.ToolbarApi.getInstance=Yp.Ra}
|
|
|
|
|
;var $p=/^[-_.0-9A-Za-z]+$/,aq={open:"open",onready:"ready",close:"close",onresize:"resize",onOpen:"open",onReady:"ready",onClose:"close",onResize:"resize",onRenderStart:"renderstart"},bq={onBeforeParentOpen:"beforeparentopen"},cq={onOpen:function(a){var b=a.lc();a.Jg(b.container||b.element);return a},onClose:function(a){a.remove()}},dq=function(){_.Wa.uO++;return["I",_.Wa.uO,"_",(new Date).getTime()].join("")},eq,fq,gq,jq,kq,lq,mq,oq,nq;_.Wa.Am=function(a){var b=_.ie();_.ke(_.sl,b);_.ke(a,b);return b};
|
|
|
|
|
eq=function(a){return a instanceof Array?a.join(","):a instanceof Object?_.qf(a):a};fq=function(a){var b=_.zh("googleapis.config/elog");if(b)try{b(a)}catch(c){}};gq=function(a){a&&a.match($p)&&_.Op("googleapis.config/gcv",a)};_.hq=function(a,b){b=b||{};for(var c in a)a.hasOwnProperty(c)&&(b[c]=a[c]);return b};
|
|
|
|
|
_.iq=function(a,b,c,d,e){var f=[],h;for(h in a)if(a.hasOwnProperty(h)){var k=b,l=c,m=a[h],n=d,q=Ep(h);q[k]=q[k]||{};n=_.Wa.Ka.Th.Xs(n,m);m._iframe_wrapped_rpc_&&(n._iframe_wrapped_rpc_=!0);q[k][l]=n;f.push(h)}if(e)for(var p in _.Wa.Zo)_.Wa.Zo.hasOwnProperty(p)&&f.push(p);return f.join(",")};jq=function(a,b,c){var d={};if(a&&a._methods){a=a._methods.split(",");for(var e=0;e<a.length;e++){var f=a[e];d[f]=Dp(f,b,c)}}return d};
|
|
|
|
|
kq=function(a){if(a&&a.disableMultiLevelParentRelay)a=!1;else{var b;if(b=_.zn&&_.zn._open&&"inline"!=a.style&&!0!==a.inline)a=a.container,b=!(a&&("string"==typeof a&&document.getElementById(a)||document==(a.ownerDocument||a.document)));a=b}return a};lq=function(a,b){var c={};b=b.params||{};for(var d in a)"#"==d.charAt(0)&&(c[d.substring(1)]=a[d]),0==d.indexOf("fr-")&&(c[d.substring(3)]=a[d]),"#"==b[d]&&(c[d]=a[d]);for(var e in c)delete a["fr-"+e],delete a["#"+e],delete a[e];return c};
|
|
|
|
|
mq=function(a){if(":"==a.charAt(0)){var b=_.zh("iframes/"+a.substring(1));a={};_.ke(b,a);(b=a.url)&&(a.url=_.El(b));a.params||(a.params={});return a}return{url:_.El(a)}};oq=function(a){function b(){}b.prototype=nq.prototype;a.prototype=new b};
|
|
|
|
|
nq=function(a,b,c,d,e,f,h,k){this.config=mq(a);this.openParams=this.Jy=b||{};this.params=c||{};this.methods=d;this.rA=!1;pq(this,b.style);this.callbacks={};qq(this,function(){var l;(l=this.Jy.style)&&_.Wa.iu[l]?l=_.Wa.iu[l]:l?(_.uf.warn(['Missing handler for style "',l,'". Continuing with default handler.'].join("")),l=null):l=cq;if(l){if("function"===typeof l)var m=l(this);else{var n={};for(m in l){var q=l[m];n[m]="function"===typeof q?_.Wa.Ka.Th.Xs(l,q,this):q}m=n}for(var p in e)l=m[p],"function"===
|
|
|
|
|
typeof l&&rq(this,e[p],_.Wa.Ka.Th.Xs(m,l))}f&&rq(this,"close",f)});this.Ij=this.ac=h;this.GF=(k||[]).slice();h&&this.GF.unshift(h.getId())};nq.prototype.lc=function(){return this.Jy};nq.prototype.pD=function(){return this.params};nq.prototype.Qw=function(){return this.methods};nq.prototype.Oc=function(){return this.Ij};
|
|
|
|
|
var pq=function(a,b){a.rA||((b=b&&!_.Wa.iu[b]&&_.Wa.kC[b])?(a.jC=[],b(function(){a.rA=!0;for(var c=a.jC.length,d=0;d<c;++d)a.jC[d].call(a)})):a.rA=!0)},qq=function(a,b){a.rA?b.call(a):a.jC.push(b)};nq.prototype.Ed=function(a,b){qq(this,function(){rq(this,a,b)})};var rq=function(a,b,c){a.callbacks[b]=a.callbacks[b]||[];a.callbacks[b].push(c)};nq.prototype.xn=function(a,b){qq(this,function(){var c=this.callbacks[a];if(c)for(var d=c.length,e=0;e<d;++e)if(c[e]===b){c.splice(e,1);break}})};
|
|
|
|
|
nq.prototype.xh=function(a,b){var c=this.callbacks[a];if(c)for(var d=Array.prototype.slice.call(arguments,1),e=c.length,f=0;f<e;++f)try{var h=c[f].apply({},d)}catch(k){_.uf.error(['Exception when calling callback "',a,'" with exception "',k.name,": ",k.message,'".'].join("")),fq(k)}return h};var sq=function(a){return"number"==typeof a?{value:a,RC:a+"px"}:"100%"==a?{value:100,RC:"100%",ZO:!0}:null};nq.prototype.send=function(a,b,c){_.Wa.pR(this,a,b,c)};
|
|
|
|
|
nq.prototype.register=function(a,b){var c=this;c.Ed(a,function(d){b.call(c,d)})};var tq=function(a,b,c,d,e,f,h){var k=this;nq.call(this,a,b,c,d,aq,e,f,h);this.id=b.id||dq();this.Et=b.rpctoken&&String(b.rpctoken)||Math.round(1E9*_.Yh());this.V_=lq(this.params,this.config);this.FC={};qq(this,function(){k.xh("open");_.hq(k.FC,k)})};oq(tq);_.g=tq.prototype;
|
|
|
|
|
_.g.Jg=function(a,b){if(!this.config.url)return _.uf.error("Cannot open iframe, empty URL."),this;var c=this.id;_.Wa.Wk[c]=this;var d=_.hq(this.methods);d._ready=this.Iy;d._close=this.close;d._open=this.pQ;d._resizeMe=this.dR;d._renderstart=this.hQ;var e=this.V_;this.Et&&(e.rpctoken=this.Et);e._methods=_.iq(d,c,"",this,!0);this.el=a="string"===typeof a?document.getElementById(a):a;d={id:c};if(b){d.attributes=b;var f=b.style;if("string"===typeof f){if(f){var h=[];f=f.split(";");for(var k=f.length,
|
|
|
|
|
l=0;l<k;++l){var m=f[l];if(0!=m.length||l+1!=k)m=m.split(":"),2==m.length&&m[0].match(/^[ a-zA-Z_-]+$/)&&m[1].match(/^[ +.%0-9a-zA-Z_-]+$/)?h.push(m.join(":")):_.uf.error(['Iframe style "',f[l],'" not allowed.'].join(""))}h=h.join(";")}else h="";b.style=h}}this.lc().allowPost&&(d.allowPost=!0);this.lc().forcePost&&(d.forcePost=!0);d.queryParams=this.params;d.fragmentParams=e;d.paramsSerializer=eq;this.zh=_.Gl(this.config.url,a,d);a=this.zh.getAttribute("data-postorigin")||this.zh.src;_.Wa.Wk[c]=this;
|
|
|
|
|
_.zf.Nz(this.id,this.Et);_.zf.Ti(this.id,a);return this};_.g.kh=function(a,b){this.FC[a]=b};_.g.getId=function(){return this.id};_.g.getIframeEl=function(){return this.zh};_.g.getSiteEl=function(){return this.el};_.g.setSiteEl=function(a){this.el=a};_.g.Iy=function(a){var b=jq(a,this.id,"");this.Ij&&"function"==typeof this.methods._ready&&(a._methods=_.iq(b,this.Ij.getId(),this.id,this,!1),this.methods._ready(a));_.hq(a,this);_.hq(b,this);this.xh("ready",a)};
|
|
|
|
|
_.g.hQ=function(a){this.xh("renderstart",a)};_.g.close=function(a){a=this.xh("close",a);delete _.Wa.Wk[this.id];return a};_.g.remove=function(){var a=document.getElementById(this.id);a&&a.parentNode&&a.parentNode.removeChild(a)};
|
|
|
|
|
_.g.pQ=function(a){var b=jq(a.params,this.id,a.proxyId);delete a.params._methods;"_parent"==a.openParams.anchor&&(a.openParams.anchor=this.el);if(kq(a.openParams))new uq(a.url,a.openParams,a.params,b,b._onclose,this,a.openedByProxyChain);else{var c=new tq(a.url,a.openParams,a.params,b,b._onclose,this,a.openedByProxyChain),d=this;qq(c,function(){var e={childId:c.getId()},f=c.FC;f._toclose=c.close;e._methods=_.iq(f,d.id,c.id,c,!1);b._onopen(e)})}};
|
|
|
|
|
_.g.dR=function(a){if(void 0===this.xh("resize",a)&&this.zh){var b=sq(a.width);null!=b&&(this.zh.style.width=b.RC);a=sq(a.height);null!=a&&(this.zh.style.height=a.RC);this.zh.parentElement&&(null!=b&&b.ZO||null!=a&&a.ZO)&&(this.zh.parentElement.style.display="block")}};
|
|
|
|
|
var uq=function(a,b,c,d,e,f,h){var k=this;nq.call(this,a,b,c,d,bq,e,f,h);this.url=a;this.Pn=null;this.aG=dq();qq(this,function(){k.xh("beforeparentopen");var l=_.hq(k.methods);l._onopen=k.B2;l._ready=k.Iy;l._onclose=k.z2;k.params._methods=_.iq(l,"..",k.aG,k,!0);l={};for(var m in k.params)l[m]=eq(k.params[m]);_.zn._open({url:k.config.url,openParams:k.Jy,params:l,proxyId:k.aG,openedByProxyChain:k.GF})})};oq(uq);uq.prototype.rZ=function(){return this.Pn};
|
|
|
|
|
uq.prototype.B2=function(a){this.Pn=a.childId;var b=jq(a,"..",this.Pn);_.hq(b,this);this.close=b._toclose;_.Wa.Wk[this.Pn]=this;this.Ij&&this.methods._onopen&&(a._methods=_.iq(b,this.Ij.getId(),this.Pn,this,!1),this.methods._onopen(a))};uq.prototype.Iy=function(a){var b=String(this.Pn),c=jq(a,"..",b);_.hq(a,this);_.hq(c,this);this.xh("ready",a);this.Ij&&this.methods._ready&&(a._methods=_.iq(c,this.Ij.getId(),b,this,!1),this.methods._ready(a))};
|
|
|
|
|
uq.prototype.z2=function(a){if(this.Ij&&this.methods._onclose)this.methods._onclose(a);else return a=this.xh("close",a),delete _.Wa.Wk[this.Pn],a};
|
|
|
|
|
var vq=function(a,b,c,d,e,f,h){nq.call(this,a,b,c,d,bq,f,h);this.id=b.id||dq();this.U5=e;d._close=this.close;this.onClosed=this.aQ;this.mT=0;qq(this,function(){this.xh("beforeparentopen");var k=_.hq(this.methods);this.params._methods=_.iq(k,"..",this.aG,this,!0);k={};k.queryParams=this.params;a=_.xl(_.ee,this.config.url,this.id,k);var l=e.openWindow(a);this.canAutoClose=function(m){m(e.VK(l))};e.RR(l,this);this.mT=l})};oq(vq);
|
|
|
|
|
vq.prototype.close=function(a){a=this.xh("close",a);this.U5.jL(this.mT);return a};vq.prototype.aQ=function(){this.xh("close")};_.zn.send=function(a,b,c){_.Wa.pR(_.zn,a,b,c)};
|
|
|
|
|
(function(){function a(h){return _.Wa.iu[h]}function b(h,k){_.Wa.iu[h]=k}function c(h){h=h||{};"auto"===h.height&&(h.height=_.Uk());var k=window&&Yp&&Yp.Ra();k?k.cR(h.width||0,h.height||0):_.zn&&_.zn._resizeMe&&_.zn._resizeMe(h)}function d(h){gq(h)}_.Wa.Wk={};_.Wa.iu={};_.Wa.kC={};_.Wa.uO=0;_.Wa.Li={};_.Wa.Zo={};_.Wa.Ty=null;_.Wa.Sy=[];_.Wa.L2=function(h){var k=!1;try{if(null!=h){var l=window.parent.frames[h.id];k=l.iframer.id==h.id&&l.iframes.openedId_(_.zn.id)}}catch(m){}try{_.Wa.Ty={origin:this.origin,
|
|
|
|
|
referer:this.referer,claimedOpenerId:h&&h.id,claimedOpenerProxyChain:h&&h.proxyChain||[],sameOrigin:k};for(h=0;h<_.Wa.Sy.length;++h)_.Wa.Sy[h](_.Wa.Ty);_.Wa.Sy=[]}catch(m){fq(m)}};_.Wa.gZ=function(h){var k=h&&h.Ij,l=null;k&&(l={},l.id=k.getId(),l.proxyChain=h.GF);return l};Bp();if(window.parent!=window){var e=_.Fp();e.gcv&&gq(e.gcv);var f=e.jsh;f&&Hp(f);_.hq(jq(e,"..",""),_.zn);_.hq(e,_.zn);Cp()}_.Wa.nb=a;_.Wa.xc=b;_.Wa.Q4=d;_.Wa.resize=c;_.Wa.AY=function(h){return _.Wa.kC[h]};_.Wa.VG=function(h,
|
|
|
|
|
k){_.Wa.kC[h]=k};_.Wa.bR=c;_.Wa.k5=d;_.Wa.sx={};_.Wa.sx.get=a;_.Wa.sx.set=b;_.Wa.allow=function(h,k){Ep(h);_.Wa.Zo[h]=k||window[h]};_.Wa.Hda=function(h){delete _.Wa.Zo[h]};_.Wa.open=function(h,k,l,m,n,q){3==arguments.length?m={}:4==arguments.length&&"function"===typeof m&&(n=m,m={});var p="bubble"===k.style&&Yp?Yp.Ra():null;return p?new vq(h,k,l,m,p,n,q):kq(k)?new uq(h,k,l,m,n,q):new tq(h,k,l,m,n,q)};_.Wa.close=function(h,k){_.zn&&_.zn._close&&_.zn._close(h,k)};_.Wa.ready=function(h,k,l){2==arguments.length&&
|
|
|
|
|
"function"===typeof k&&(l=k,k={});var m=h||{};"height"in m||(m.height=_.Uk());m._methods=_.iq(k||{},"..","",_.zn,!0);_.zn&&_.zn._ready&&_.zn._ready(m,l)};_.Wa.pN=function(h){_.Wa.Ty?h(_.Wa.Ty):_.Wa.Sy.push(h)};_.Wa.D2=function(h){return!!_.Wa.Wk[h]};_.Wa.LY=function(){return["https://ssl.gstatic.com/gb/js/",_.zh("googleapis.config/gcv")].join("")};_.Wa.HQ=function(h){var k={mouseover:1,mouseout:1};if(_.zn._event)for(var l=0;l<h.length;l++){var m=h[l];m in k&&document.addEventListener(m,function(n){_.zn._event({event:n.type,
|
|
|
|
|
timestamp:(new Date).getTime()})},!0)}};_.Wa.pR=function(h,k,l,m){var n=this,q=[];void 0!==l&&q.push(l);m&&q.push(function(p){m.call(n,[p])});h[k]&&h[k].apply(h,q)};_.Wa.CROSS_ORIGIN_IFRAMES_FILTER=function(){return!0};_.Wa.AW=function(h,k,l){var m=Array.prototype.slice.call(arguments);_.Wa.pN(function(n){n.sameOrigin&&(m.unshift("/"+n.claimedOpenerId+"|"+window.location.protocol+"//"+window.location.host),_.zf.call.apply(_.zf,m))})};_.Wa.l3=function(h,k){_.zf.register(h,k)};_.Wa.W4=Hp;_.Wa.tR=Ip;
|
|
|
|
|
_.Wa.vP=fq;_.Wa.vO=_.zn})();
|
|
|
|
|
_.u("iframes.allow",_.Wa.allow);_.u("iframes.callSiblingOpener",_.Wa.AW);_.u("iframes.registerForOpenedSibling",_.Wa.l3);_.u("iframes.close",_.Wa.close);_.u("iframes.getGoogleConnectJsUri",_.Wa.LY);_.u("iframes.getHandler",_.Wa.nb);_.u("iframes.getDeferredHandler",_.Wa.AY);_.u("iframes.getParentInfo",_.Wa.pN);_.u("iframes.iframer",_.Wa.vO);_.u("iframes.open",_.Wa.open);_.u("iframes.openedId_",_.Wa.D2);_.u("iframes.propagate",_.Wa.HQ);_.u("iframes.ready",_.Wa.ready);_.u("iframes.resize",_.Wa.resize);
|
|
|
|
|
_.u("iframes.setGoogleConnectJsVersion",_.Wa.Q4);_.u("iframes.setBootstrapHint",_.Wa.tR);_.u("iframes.setJsHint",_.Wa.W4);_.u("iframes.setHandler",_.Wa.xc);_.u("iframes.setDeferredHandler",_.Wa.VG);_.u("IframeBase",nq);_.u("IframeBase.prototype.addCallback",nq.prototype.Ed);_.u("IframeBase.prototype.getMethods",nq.prototype.Qw);_.u("IframeBase.prototype.getOpenerIframe",nq.prototype.Oc);_.u("IframeBase.prototype.getOpenParams",nq.prototype.lc);_.u("IframeBase.prototype.getParams",nq.prototype.pD);
|
|
|
|
|
_.u("IframeBase.prototype.removeCallback",nq.prototype.xn);_.u("Iframe",tq);_.u("Iframe.prototype.close",tq.prototype.close);_.u("Iframe.prototype.exposeMethod",tq.prototype.kh);_.u("Iframe.prototype.getId",tq.prototype.getId);_.u("Iframe.prototype.getIframeEl",tq.prototype.getIframeEl);_.u("Iframe.prototype.getSiteEl",tq.prototype.getSiteEl);_.u("Iframe.prototype.openInto",tq.prototype.Jg);_.u("Iframe.prototype.remove",tq.prototype.remove);_.u("Iframe.prototype.setSiteEl",tq.prototype.setSiteEl);
|
|
|
|
|
_.u("Iframe.prototype.addCallback",tq.prototype.Ed);_.u("Iframe.prototype.getMethods",tq.prototype.Qw);_.u("Iframe.prototype.getOpenerIframe",tq.prototype.Oc);_.u("Iframe.prototype.getOpenParams",tq.prototype.lc);_.u("Iframe.prototype.getParams",tq.prototype.pD);_.u("Iframe.prototype.removeCallback",tq.prototype.xn);_.u("IframeProxy",uq);_.u("IframeProxy.prototype.getTargetIframeId",uq.prototype.rZ);_.u("IframeProxy.prototype.addCallback",uq.prototype.Ed);_.u("IframeProxy.prototype.getMethods",uq.prototype.Qw);
|
|
|
|
|
_.u("IframeProxy.prototype.getOpenerIframe",uq.prototype.Oc);_.u("IframeProxy.prototype.getOpenParams",uq.prototype.lc);_.u("IframeProxy.prototype.getParams",uq.prototype.pD);_.u("IframeProxy.prototype.removeCallback",uq.prototype.xn);_.u("IframeWindow",vq);_.u("IframeWindow.prototype.close",vq.prototype.close);_.u("IframeWindow.prototype.onClosed",vq.prototype.aQ);_.u("iframes.util.getTopMostAccessibleWindow",_.Wa.Ka.Th.CN);_.u("iframes.handlers.get",_.Wa.sx.get);_.u("iframes.handlers.set",_.Wa.sx.set);
|
|
|
|
|
_.u("iframes.resizeMe",_.Wa.bR);_.u("iframes.setVersionOverride",_.Wa.k5);_.u("iframes.CROSS_ORIGIN_IFRAMES_FILTER",_.Wa.CROSS_ORIGIN_IFRAMES_FILTER);_.u("IframeBase.prototype.send",nq.prototype.send);_.u("IframeBase.prototype.register",nq.prototype.register);_.u("Iframe.prototype.send",tq.prototype.send);_.u("Iframe.prototype.register",tq.prototype.register);_.u("IframeProxy.prototype.send",uq.prototype.send);_.u("IframeProxy.prototype.register",uq.prototype.register);
|
|
|
|
|
_.u("IframeWindow.prototype.send",vq.prototype.send);_.u("IframeWindow.prototype.register",vq.prototype.register);_.u("iframes.iframer.send",_.Wa.vO.send);
|
|
|
|
|
|
|
|
|
|
var Rs=_.Wa.xc,Ss={open:function(a){var b=_.tn(a.lc());return a.Jg(b,{style:_.un(b)})},attach:function(a,b){var c=_.tn(a.lc()),d=b.id,e=b.getAttribute("data-postorigin")||b.src,f=/#(?:.*&)?rpctoken=(\d+)/.exec(e);f=f&&f[1];a.id=d;a.Et=f;a.el=c;a.zh=b;_.Wa.Wk[d]=a;b=_.hq(a.methods);b._ready=a.Iy;b._close=a.close;b._open=a.pQ;b._resizeMe=a.dR;b._renderstart=a.hQ;_.iq(b,d,"",a,!0);_.zf.Nz(a.id,a.Et);_.zf.Ti(a.id,e);c=_.Wa.Am({style:_.un(c)});for(var h in c)Object.prototype.hasOwnProperty.call(c,h)&&
|
|
|
|
|
("style"==h?a.zh.style.cssText=c[h]:a.zh.setAttribute(h,c[h]))}};Ss.onready=_.vn;Ss.onRenderStart=_.vn;Ss.close=_.wn;Rs("inline",Ss);
|
|
|
|
|
|
|
|
|
|
_.Ee=_.Ee||{};
|
|
|
|
|
(function(){function a(b){var c="";if(3==b.nodeType||4==b.nodeType)c=b.nodeValue;else if(b.innerText)c=b.innerText;else if(b.innerHTML)c=b.innerHTML;else if(b.firstChild){c=[];for(b=b.firstChild;b;b=b.nextSibling)c.push(a(b));c=c.join("")}return c}_.Ee.createElement=function(b){if(!document.body||document.body.namespaceURI)try{var c=document.createElementNS("http://www.w3.org/1999/xhtml",b)}catch(d){}return c||document.createElement(b)};_.Ee.sL=function(b){var c=_.Ee.createElement("iframe");try{var d=
|
|
|
|
|
["<","iframe"],e=b||{},f;for(f in e)e.hasOwnProperty(f)&&(d.push(" "),d.push(f),d.push('="'),d.push(_.Ee.yC(e[f])),d.push('"'));d.push("></");d.push("iframe");d.push(">");var h=_.Ee.createElement(d.join(""));h&&(!c||h.tagName==c.tagName&&h.namespaceURI==c.namespaceURI)&&(c=h)}catch(l){}d=c;b=b||{};for(var k in b)b.hasOwnProperty(k)&&(d[k]=b[k]);return c};_.Ee.OM=function(){if(document.body)return document.body;try{var b=document.getElementsByTagNameNS("http://www.w3.org/1999/xhtml","body");if(b&&
|
|
|
|
|
1==b.length)return b[0]}catch(c){}return document.documentElement||document};_.Ee.jea=function(b){return a(b)}})();
|
|
|
|
|
|
|
|
|
|
_.fg=window.gapi&&window.gapi.util||{};
|
|
|
|
|
|
|
|
|
|
_.fg=_.fg={};_.fg.getOrigin=function(a){return _.hg(a)};
|
|
|
|
|
|
|
|
|
|
_.Rx=function(a){if(0!==a.indexOf("GCSC"))return null;var b={Gi:!1};a=a.substr(4);if(!a)return b;var c=a.charAt(0);a=a.substr(1);var d=a.lastIndexOf("_");if(-1==d)return b;var e=_.Px(a.substr(d+1));if(null==e)return b;a=a.substring(0,d);if("_"!==a.charAt(0))return b;d="E"===c&&e.Ke;return!d&&("U"!==c||e.Ke)||d&&!_.Qx?b:{Gi:!0,Ke:d,SW:a.substr(1),domain:e.domain,Yh:e.Yh}};
|
|
|
|
|
_.Sx=function(a,b){this.zf=a;a=b||{};this.z1=Number(a.maxAge)||0;this.Zd=a.domain;this.tl=a.path;this.m4=!!a.secure};_.Sx.prototype.read=function(){for(var a=this.zf+"=",b=document.cookie.split(/;\s*/),c=0;c<b.length;++c){var d=b[c];if(0==d.indexOf(a))return d.substr(a.length)}};
|
|
|
|
|
_.Sx.prototype.write=function(a,b){if(!Tx.test(this.zf))throw"Invalid cookie name";if(!Ux.test(a))throw"Invalid cookie value";a=this.zf+"="+a;this.Zd&&(a+=";domain="+this.Zd);this.tl&&(a+=";path="+this.tl);b="number"===typeof b?b:this.z1;if(0<=b){var c=new Date;c.setSeconds(c.getSeconds()+b);a+=";expires="+c.toUTCString()}this.m4&&(a+=";secure");document.cookie=a;return!0};_.Sx.prototype.clear=function(){this.write("",0)};var Ux=/^[-+/_=.:|%&a-zA-Z0-9@]*$/,Tx=/^[A-Z_][A-Z0-9_]{0,63}$/;
|
|
|
|
|
_.Sx.iterate=function(a){for(var b=document.cookie.split(/;\s*/),c=0;c<b.length;++c){var d=b[c].split("="),e=d.shift();a(e,d.join("="))}};
|
|
|
|
|
_.Vx=function(a){this.Hi=a};_.Vx.prototype.read=function(){if(Wx.hasOwnProperty(this.Hi))return Wx[this.Hi]};_.Vx.prototype.write=function(a){Wx[this.Hi]=a;return!0};_.Vx.prototype.clear=function(){delete Wx[this.Hi]};var Wx={};_.Vx.iterate=function(a){for(var b in Wx)Wx.hasOwnProperty(b)&&a(b,Wx[b])};
|
|
|
|
|
var Xx=function(){this.Oa=null;this.key=function(){return null};this.getItem=function(){return this.Oa};this.setItem=function(a,b){this.Oa=b;this.length=1};this.removeItem=function(){this.clear()};this.clear=function(){this.Oa=null;this.length=0};this.length=0},Yx=function(a){try{var b=a||window.sessionStorage;if(!b)return!1;b.setItem("gapi.sessionStorageTest","gapi.sessionStorageTest"+b.length);b.removeItem("gapi.sessionStorageTest");return!0}catch(c){return!1}},Zx=function(a,b){this.zf=a;this.MI=
|
|
|
|
|
Yx(b)?b||window.sessionStorage:new Xx};Zx.prototype.read=function(){return this.MI.getItem(this.zf)};Zx.prototype.write=function(a){try{this.MI.setItem(this.zf,a)}catch(b){return!1}return!0};Zx.prototype.clear=function(){this.MI.removeItem(this.zf)};Zx.iterate=function(a){if(Yx())for(var b=0,c=window.sessionStorage.length;b<c;++b){var d=window.sessionStorage.key(b);a(d,window.sessionStorage[d])}};
|
|
|
|
|
_.Qx="https:"===window.location.protocol;_.$x=_.Qx||"http:"===window.location.protocol?_.Sx:_.Vx;_.Px=function(a){var b=a.substr(1),c="",d=window.location.hostname;if(""!==b){c=parseInt(b,10);if(isNaN(c))return null;b=d.split(".");if(b.length<c-1)return null;b.length==c-1&&(d="."+d)}else d="";return{Ke:"S"==a.charAt(0),domain:d,Yh:c}};
|
|
|
|
|
var ay,by,ey,fy;ay=_.ie();by=_.ie();_.cy=_.ie();_.dy=_.ie();ey="state code cookie_policy g_user_cookie_policy authuser prompt g-oauth-window status".split(" ");fy=function(a){this.xQ=a;this.cF=null};
|
|
|
|
|
fy.prototype.write=function(a){var b=_.ie(),c=_.ie(),d=window.decodeURIComponent?decodeURIComponent:unescape,e;for(e in a)if(_.je(a,e)){var f=a[e];f=f.replace(/\+/g," ");c[e]=d(f);b[e]=a[e]}d=ey.length;for(e=0;e<d;++e)delete c[ey[e]];a=String(a.authuser||0);d=_.ie();d[a]=c;c=_.qf(d);this.xQ.write(c);this.cF=b};fy.prototype.read=function(){return this.cF};fy.prototype.clear=function(){this.xQ.clear();this.cF=_.ie()};_.gy=function(a){return a?{domain:a.domain,path:"/",secure:a.Ke}:null};
|
|
|
|
|
Zx.iterate(function(a){var b=_.Rx(a);b&&b.Gi&&(ay[a]=new fy(new Zx(a)))});_.$x.iterate(function(a){ay[a]&&(by[a]=new _.$x(a,_.gy(_.Rx(a))))});
|
|
|
|
|
|
|
|
|
|
_.Gh=function(){function a(){e[0]=1732584193;e[1]=4023233417;e[2]=2562383102;e[3]=271733878;e[4]=3285377520;n=m=0}function b(q){for(var p=h,t=0;64>t;t+=4)p[t/4]=q[t]<<24|q[t+1]<<16|q[t+2]<<8|q[t+3];for(t=16;80>t;t++)q=p[t-3]^p[t-8]^p[t-14]^p[t-16],p[t]=(q<<1|q>>>31)&4294967295;q=e[0];var v=e[1],r=e[2],w=e[3],A=e[4];for(t=0;80>t;t++){if(40>t)if(20>t){var B=w^v&(r^w);var F=1518500249}else B=v^r^w,F=1859775393;else 60>t?(B=v&r|w&(v|r),F=2400959708):(B=v^r^w,F=3395469782);B=((q<<5|q>>>27)&4294967295)+
|
|
|
|
|
B+A+F+p[t]&4294967295;A=w;w=r;r=(v<<30|v>>>2)&4294967295;v=q;q=B}e[0]=e[0]+q&4294967295;e[1]=e[1]+v&4294967295;e[2]=e[2]+r&4294967295;e[3]=e[3]+w&4294967295;e[4]=e[4]+A&4294967295}function c(q,p){if("string"===typeof q){q=unescape(encodeURIComponent(q));for(var t=[],v=0,r=q.length;v<r;++v)t.push(q.charCodeAt(v));q=t}p||(p=q.length);t=0;if(0==m)for(;t+64<p;)b(q.slice(t,t+64)),t+=64,n+=64;for(;t<p;)if(f[m++]=q[t++],n++,64==m)for(m=0,b(f);t+64<p;)b(q.slice(t,t+64)),t+=64,n+=64}function d(){var q=[],
|
|
|
|
|
p=8*n;56>m?c(k,56-m):c(k,64-(m-56));for(var t=63;56<=t;t--)f[t]=p&255,p>>>=8;b(f);for(t=p=0;5>t;t++)for(var v=24;0<=v;v-=8)q[p++]=e[t]>>v&255;return q}for(var e=[],f=[],h=[],k=[128],l=1;64>l;++l)k[l]=0;var m,n;a();return{reset:a,update:c,digest:d,Xh:function(){for(var q=d(),p="",t=0;t<q.length;t++)p+="0123456789ABCDEF".charAt(Math.floor(q[t]/16))+"0123456789ABCDEF".charAt(q[t]%16);return p}}};
|
|
|
|
|
var Ih=function(a,b,c){var d=String(_.Ya.location.href);return d&&a&&b?[b,Hh(_.hg(d),a,c||null)].join(" "):null},Hh=function(a,b,c){var d=[],e=[];if(1==(Array.isArray(c)?2:1))return e=[b,a],_.Pb(d,function(k){e.push(k)}),Jh(e.join(" "));var f=[],h=[];_.Pb(c,function(k){h.push(k.key);f.push(k.value)});c=Math.floor((new Date).getTime()/1E3);e=0==f.length?[c,b,a]:[f.join(":"),c,b,a];_.Pb(d,function(k){e.push(k)});a=Jh(e.join(" "));a=[c,a];0==h.length||a.push(h.join(""));return a.join("_")},Jh=function(a){var b=
|
|
|
|
|
_.Gh();b.update(a);return b.Xh().toLowerCase()};
|
|
|
|
|
var Mh;_.Kh=function(a){return!!_.Ch.FPA_SAMESITE_PHASE2_MOD||!(void 0===a||!a)};_.Lh=function(a){a=void 0===a?!1:a;var b=_.Ya.__SAPISID||_.Ya.__APISID||_.Ya.__3PSAPISID||_.Ya.__OVERRIDE_SID;_.Kh(a)&&(b=b||_.Ya.__1PSAPISID);if(b)return!0;var c=new _.Dh(document);b=c.get("SAPISID")||c.get("APISID")||c.get("__Secure-3PAPISID")||c.get("SID");_.Kh(a)&&(b=b||c.get("__Secure-1PAPISID"));return!!b};Mh=function(a,b,c,d){(a=_.Ya[a])||(a=(new _.Dh(document)).get(b));return a?Ih(a,c,d):null};
|
|
|
|
|
_.Nh=function(a,b){b=void 0===b?!1:b;var c=_.hg(String(_.Ya.location.href)),d=[];if(_.Lh(b)){c=0==c.indexOf("https:")||0==c.indexOf("chrome-extension:")||0==c.indexOf("moz-extension:");var e=c?_.Ya.__SAPISID:_.Ya.__APISID;e||(e=new _.Dh(document),e=e.get(c?"SAPISID":"APISID")||e.get("__Secure-3PAPISID"));(e=e?Ih(e,c?"SAPISIDHASH":"APISIDHASH",a):null)&&d.push(e);c&&_.Kh(b)&&((b=Mh("__1PSAPISID","__Secure-1PAPISID","SAPISID1PHASH",a))&&d.push(b),(a=Mh("__3PSAPISID","__Secure-3PAPISID","SAPISID3PHASH",
|
|
|
|
|
a))&&d.push(a))}return 0==d.length?null:d.join(" ")};
|
|
|
|
|
|
|
|
|
|
_.Oh=function(a,b){var c={SAPISIDHASH:!0,SAPISID3PHASH:!0,APISIDHASH:!0};_.Kh(void 0===b?!1:b)&&(c.SAPISID1PHASH=!0);return a&&(a.OriginToken||a.Authorization&&c[String(a.Authorization).split(" ")[0]])?!0:!1};_.Ph={YN:_.Oh,N0:_.Lh,mN:function(){var a=null;_.Lh()&&(a=window.__PVT,null==a&&(a=(new _.Dh(document)).get("BEAT")));return a},MM:_.Nh};
|
|
|
|
|
|
|
|
|
|
_.xq=function(){return!_.wq()&&(_.qb("iPod")||_.qb("iPhone")||_.qb("Android")||_.qb("IEMobile"))};_.wq=function(){return _.qb("iPad")||_.qb("Android")&&!_.qb("Mobile")||_.qb("Silk")};
|
|
|
|
|
|
|
|
|
|
var Uq,Vq,Wq,Yq,hr,Xq,lr,mr,nr,pr,ur;Uq=function(a,b){a=a.split("%s");for(var c="",d=a.length-1,e=0;e<d;e++)c+=a[e]+(e<b.length?b[e]:"%s");_.gb.call(this,c+a[d])};Vq=function(a){for(var b=!0,c=/^[-_a-zA-Z0-9]$/,d=0;d<a.length;d++){var e=a.charAt(d);if("]"==e){if(b)return!1;b=!0}else if("["==e){if(!b)return!1;b=!1}else if(!b&&!c.test(e))return!1}return b};
|
|
|
|
|
Wq=function(a){return a.replace(_.Kc,function(b,c,d,e){var f="";d=d.replace(/^(['"])(.*)\1$/,function(h,k,l){f=k;return l});b=(_.Dc(d)||_.Fc).Cg();return c+f+b+f+e})};
|
|
|
|
|
Yq=function(a){if(a instanceof _.xc)return'url("'+_.yc(a).replace(/</g,"%3c").replace(/[\\"]/g,"\\$&")+'")';if(a instanceof _.Yb)a=_.Zb(a);else{a=String(a);var b=a.replace(_.Lc,"$1").replace(_.Lc,"$1").replace(_.Kc,"url");if(_.Jc.test(b)){if(b=!Xq.test(a)){for(var c=b=!0,d=0;d<a.length;d++){var e=a.charAt(d);"'"==e&&c?b=!b:'"'==e&&b&&(c=!c)}b=b&&c&&Vq(a)}a=b?Wq(a):"zClosurez"}else a="zClosurez"}if(/[{;}]/.test(a))throw new Uq("Value does not allow [{;}], got: %s.",[a]);return a};
|
|
|
|
|
_.Zq=function(a,b){return a==b?!0:a&&b?a.x==b.x&&a.y==b.y:!1};_.$q=function(a,b){this.x=void 0!==a?a:0;this.y=void 0!==b?b:0};_.g=_.$q.prototype;_.g.clone=function(){return new _.$q(this.x,this.y)};_.g.equals=function(a){return a instanceof _.$q&&_.Zq(this,a)};_.g.ceil=function(){this.x=Math.ceil(this.x);this.y=Math.ceil(this.y);return this};_.g.floor=function(){this.x=Math.floor(this.x);this.y=Math.floor(this.y);return this};
|
|
|
|
|
_.g.round=function(){this.x=Math.round(this.x);this.y=Math.round(this.y);return this};_.g.translate=function(a,b){a instanceof _.$q?(this.x+=a.x,this.y+=a.y):(this.x+=Number(a),"number"===typeof b&&(this.y+=b));return this};_.g.scale=function(a,b){this.x*=a;this.y*="number"===typeof b?b:a;return this};_.ar=function(a,b){this.width=a;this.height=b};_.g=_.ar.prototype;_.g.clone=function(){return new _.ar(this.width,this.height)};_.g.aspectRatio=function(){return this.width/this.height};
|
|
|
|
|
_.g.isEmpty=function(){return!(this.width*this.height)};_.g.ceil=function(){this.width=Math.ceil(this.width);this.height=Math.ceil(this.height);return this};_.g.floor=function(){this.width=Math.floor(this.width);this.height=Math.floor(this.height);return this};_.g.round=function(){this.width=Math.round(this.width);this.height=Math.round(this.height);return this};_.g.scale=function(a,b){this.width*=a;this.height*="number"===typeof b?b:a;return this};_.br=function(a){return"CSS1Compat"==a.compatMode};
|
|
|
|
|
_.cr=function(a){a=a.document;a=_.br(a)?a.documentElement:a.body;return new _.ar(a.clientWidth,a.clientHeight)};_.dr=function(a){return _.cr(a||window)};_.er=function(a){return a.scrollingElement?a.scrollingElement:!_.gd&&_.br(a)?a.documentElement:a.body||a.documentElement};_.fr=function(a){var b=_.er(a);a=a.parentWindow||a.defaultView;return _.cd&&a.pageYOffset!=b.scrollTop?new _.$q(b.scrollLeft,b.scrollTop):new _.$q(a.pageXOffset||b.scrollLeft,a.pageYOffset||b.scrollTop)};
|
|
|
|
|
_.gr=function(a,b,c,d){return _.Md(a.ub,b,c,d)};_.ab(Uq,_.gb);Uq.prototype.name="AssertionError";hr={area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0};_.ir=function(a){if(a instanceof _.Hc&&a.constructor===_.Hc)return a.XF;_.Fb(a);return"type_error:SafeStyle"};Xq=/\/\*/;
|
|
|
|
|
_.jr=function(a){var b="",c;for(c in a)if(Object.prototype.hasOwnProperty.call(a,c)){if(!/^[-_a-zA-Z0-9]+$/.test(c))throw Error("l`"+c);var d=a[c];null!=d&&(d=Array.isArray(d)?d.map(Yq).join(" "):Yq(d),b+=c+":"+d+";")}return b?new _.Hc(b,_.Gc):_.Ic};_.kr=function(a){if(a instanceof _.Oc&&a.constructor===_.Oc)return a.WF;_.Fb(a);return"type_error:SafeStyleSheet"};lr=/^[a-zA-Z0-9-]+$/;mr={APPLET:!0,BASE:!0,EMBED:!0,IFRAME:!0,LINK:!0,MATH:!0,META:!0,OBJECT:!0,SCRIPT:!0,STYLE:!0,SVG:!0,TEMPLATE:!0};
|
|
|
|
|
nr=function(a){var b=_.Uc(_.Vc),c=[],d=function(e){Array.isArray(e)?e.forEach(d):(e=_.Uc(e),c.push(_.yb(e).toString()))};a.forEach(d);return _.Tc(c.join(_.yb(b).toString()))};_.or=function(a){return nr(Array.prototype.slice.call(arguments))};pr={action:!0,cite:!0,data:!0,formaction:!0,href:!0,manifest:!0,poster:!0,src:!0};
|
|
|
|
|
_.qr=function(a,b,c){var d=String(a);if(!lr.test(d))throw Error("p");if(d.toUpperCase()in mr)throw Error("p");a=String(a);d="<"+a;var e="";if(b)for(var f in b)if(Object.prototype.hasOwnProperty.call(b,f)){if(!lr.test(f))throw Error("p");var h=b[f];if(null!=h){var k=f;if(h instanceof _.Yb)h=_.Zb(h);else if("style"==k.toLowerCase()){if(!_.Eb(h))throw Error("p");h instanceof _.Hc||(h=_.jr(h));h=_.ir(h)}else{if(/^on/i.test(k))throw Error("p");if(k.toLowerCase()in pr)if(h instanceof _.bc)h=_.dc(h);else if(h instanceof
|
|
|
|
|
_.xc)h=_.yc(h);else if("string"===typeof h)h=(_.Dc(h)||_.Fc).Cg();else throw Error("p");}h.yi&&(h=h.Cg());k=k+'="'+_.tc(String(h))+'"';e+=" "+k}}b=d+e;null==c?c=[]:Array.isArray(c)||(c=[c]);!0===hr[a.toLowerCase()]?b+=">":(f=_.or(c),b+=">"+_.yb(f).toString()+"</"+a+">");return _.Tc(b)};_.rr=function(a){return Number(_.yd)>=a};_.sr=function(a){return _.Gd('style[nonce],link[rel="stylesheet"][nonce]',a)};_.tr=function(a){return String(a).replace(/\-([a-z])/g,function(b,c){return c.toUpperCase()})};
|
|
|
|
|
ur=function(a){return a.replace(RegExp("(^|[\\s]+)([a-z])","g"),function(b,c,d){return c+d.toUpperCase()})};_.vr=function(a,b,c){return _.Sd(document,arguments)};
|
|
|
|
|
_.wr=function(a,b,c,d){this.top=a;this.right=b;this.bottom=c;this.left=d};_.g=_.wr.prototype;_.g.Pb=function(){return this.right-this.left};_.g.Dc=function(){return this.bottom-this.top};_.g.clone=function(){return new _.wr(this.top,this.right,this.bottom,this.left)};_.g.contains=function(a){return this&&a?a instanceof _.wr?a.left>=this.left&&a.right<=this.right&&a.top>=this.top&&a.bottom<=this.bottom:a.x>=this.left&&a.x<=this.right&&a.y>=this.top&&a.y<=this.bottom:!1};
|
|
|
|
|
_.g.expand=function(a,b,c,d){_.Eb(a)?(this.top-=a.top,this.right+=a.right,this.bottom+=a.bottom,this.left-=a.left):(this.top-=a,this.right+=Number(b),this.bottom+=Number(c),this.left-=Number(d));return this};_.g.ceil=function(){this.top=Math.ceil(this.top);this.right=Math.ceil(this.right);this.bottom=Math.ceil(this.bottom);this.left=Math.ceil(this.left);return this};
|
|
|
|
|
_.g.floor=function(){this.top=Math.floor(this.top);this.right=Math.floor(this.right);this.bottom=Math.floor(this.bottom);this.left=Math.floor(this.left);return this};_.g.round=function(){this.top=Math.round(this.top);this.right=Math.round(this.right);this.bottom=Math.round(this.bottom);this.left=Math.round(this.left);return this};
|
|
|
|
|
_.g.translate=function(a,b){a instanceof _.$q?(this.left+=a.x,this.right+=a.x,this.top+=a.y,this.bottom+=a.y):(this.left+=a,this.right+=a,"number"===typeof b&&(this.top+=b,this.bottom+=b));return this};_.g.scale=function(a,b){b="number"===typeof b?b:a;this.left*=a;this.right*=a;this.top*=b;this.bottom*=b;return this};
|
|
|
|
|
var zr,Fr,Dr,Ir,Ur,Hr;_.yr=function(a,b,c){if("string"===typeof b)(b=_.xr(a,b))&&(a.style[b]=c);else for(var d in b){c=a;var e=b[d],f=_.xr(c,d);f&&(c.style[f]=e)}};zr={};_.xr=function(a,b){var c=zr[b];if(!c){var d=_.tr(b);c=d;void 0===a.style[d]&&(d=(_.gd?"Webkit":_.fd?"Moz":_.cd?"ms":null)+ur(d),void 0!==a.style[d]&&(c=d));zr[b]=c}return c};
|
|
|
|
|
_.Ar=function(a,b){var c=_.Kd(a);return c.defaultView&&c.defaultView.getComputedStyle&&(a=c.defaultView.getComputedStyle(a,null))?a[b]||a.getPropertyValue(b)||"":""};_.Br=function(a,b){return a.currentStyle?a.currentStyle[b]:null};_.Cr=function(a,b){return _.Ar(a,b)||_.Br(a,b)||a.style&&a.style[b]};_.Er=function(a,b,c){if(b instanceof _.$q){var d=b.x;b=b.y}else d=b,b=c;a.style.left=Dr(d,!1);a.style.top=Dr(b,!1)};
|
|
|
|
|
Fr=function(a){try{return a.getBoundingClientRect()}catch(b){return{left:0,top:0,right:0,bottom:0}}};
|
|
|
|
|
_.Jr=function(a,b){b=b||_.er(document);var c=b||_.er(document);var d=_.Gr(a),e=_.Gr(c);if(_.cd&&!_.rr(9)){var f=Hr(c,"borderLeft");var h=Hr(c,"borderRight");var k=Hr(c,"borderTop"),l=Hr(c,"borderBottom");h=new _.wr(k,h,l,f)}else f=_.Ar(c,"borderLeftWidth"),h=_.Ar(c,"borderRightWidth"),k=_.Ar(c,"borderTopWidth"),l=_.Ar(c,"borderBottomWidth"),h=new _.wr(parseFloat(k),parseFloat(h),parseFloat(l),parseFloat(f));c==_.er(document)?(f=d.x-c.scrollLeft,d=d.y-c.scrollTop,_.cd&&!_.rr(10)&&(f+=h.left,d+=h.top)):
|
|
|
|
|
(f=d.x-e.x-h.left,d=d.y-e.y-h.top);a=Ir(a);e=c.clientHeight-a.height;h=c.scrollLeft;k=c.scrollTop;h+=Math.min(f,Math.max(f-(c.clientWidth-a.width),0));k+=Math.min(d,Math.max(d-e,0));c=new _.$q(h,k);b.scrollLeft=c.x;b.scrollTop=c.y};_.Gr=function(a){var b=_.Kd(a),c=new _.$q(0,0);var d=b?_.Kd(b):document;d=!_.cd||_.rr(9)||_.br(_.Ld(d).ub)?d.documentElement:d.body;if(a==d)return c;a=Fr(a);b=_.fr(_.Ld(b).ub);c.x=a.left+b.x;c.y=a.top+b.y;return c};
|
|
|
|
|
_.Lr=function(a,b){var c=new _.$q(0,0),d=_.Pd(_.Kd(a));if(!_.ad(d,"parent"))return c;do{var e=d==b?_.Gr(a):_.Kr(a);c.x+=e.x;c.y+=e.y}while(d&&d!=b&&d!=d.parent&&(a=d.frameElement)&&(d=d.parent));return c};_.Kr=function(a){a=Fr(a);return new _.$q(a.left,a.top)};_.Mr=function(a,b,c){if(b instanceof _.ar)c=b.height,b=b.width;else if(void 0==c)throw Error("Q");a.style.width=Dr(b,!0);a.style.height=Dr(c,!0)};Dr=function(a,b){"number"==typeof a&&(a=(b?Math.round(a):a)+"px");return a};
|
|
|
|
|
_.Nr=function(a){var b=Ir;if("none"!=_.Cr(a,"display"))return b(a);var c=a.style,d=c.display,e=c.visibility,f=c.position;c.visibility="hidden";c.position="absolute";c.display="inline";a=b(a);c.display=d;c.position=f;c.visibility=e;return a};Ir=function(a){var b=a.offsetWidth,c=a.offsetHeight,d=_.gd&&!b&&!c;return(void 0===b||d)&&a.getBoundingClientRect?(a=Fr(a),new _.ar(a.right-a.left,a.bottom-a.top)):new _.ar(b,c)};_.Or=function(a,b){a.style.display=b?"":"none"};
|
|
|
|
|
_.Qr=function(a){var b=_.Ld(void 0),c=b.lb();if(_.cd&&c.createStyleSheet)b=c.createStyleSheet(),_.Pr(b,a);else{c=_.gr(b,"HEAD")[0];if(!c){var d=_.gr(b,"BODY")[0];c=b.na("HEAD");d.parentNode.insertBefore(c,d)}d=b.na("STYLE");var e=_.sr();e&&d.setAttribute("nonce",e);_.Pr(d,a);b.appendChild(c,d)}};_.Pr=function(a,b){b=_.kr(b);_.cd&&void 0!==a.cssText?a.cssText=b:_.Ya.trustedTypes?_.ce(a,b):a.innerHTML=b};_.Rr=function(a){return"rtl"==_.Cr(a,"direction")};
|
|
|
|
|
_.Sr=_.fd?"MozUserSelect":_.gd||_.dd?"WebkitUserSelect":null;_.Tr=function(a,b){if(/^\d+px?$/.test(b))return parseInt(b,10);var c=a.style.left,d=a.runtimeStyle.left;a.runtimeStyle.left=a.currentStyle.left;a.style.left=b;b=a.style.pixelLeft;a.style.left=c;a.runtimeStyle.left=d;return+b};Ur={thin:2,medium:4,thick:6};Hr=function(a,b){if("none"==_.Br(a,b+"Style"))return 0;b=_.Br(a,b+"Width");return b in Ur?Ur[b]:_.Tr(a,b)};
|
|
|
|
|
|
|
|
|
|
var nx;_.kx=function(a){for(var b=RegExp("([A-Z][\\w ]+)/([^\\s]+)\\s*(?:\\((.*?)\\))?","g"),c=[],d;d=b.exec(a);)c.push([d[1],d[2],d[3]||void 0]);return c};_.lx=function(a){var b={};a.forEach(function(c){b[c[0]]=c[1]});return function(c){return b[c.find(function(d){return d in b})]||""}};
|
|
|
|
|
_.mx=function(a){var b=/rv: *([\d\.]*)/.exec(a);if(b&&b[1])return b[1];b="";var c=/MSIE +([\d\.]+)/.exec(a);if(c&&c[1])if(a=/Trident\/(\d.\d)/.exec(a),"7.0"==c[1])if(a&&a[1])switch(a[1]){case "4.0":b="8.0";break;case "5.0":b="9.0";break;case "6.0":b="10.0";break;case "7.0":b="11.0"}else b="7.0";else b=c[1];return b};
|
|
|
|
|
nx=function(a){var b=_.ob();if("Internet Explorer"===a)return _.sb()?_.mx(b):"";b=_.kx(b);var c=_.lx(b);switch(a){case "Opera":if(_.rb())return c(["Version","Opera"]);if(_.qb("OPR"))return c(["OPR"]);break;case "Microsoft Edge":if(_.qb("Edge"))return c(["Edge"]);if(_.qb("Edg/"))return c(["Edg"]);break;case "Chromium":if(_.ub())return c(["Chrome","CriOS","HeadlessChrome"])}return"Firefox"===a&&_.tb()||"Safari"===a&&_.vb()||"Android Browser"===a&&_.wb()||"Silk"===a&&_.qb("Silk")?(a=b[2])&&a[1]||"":
|
|
|
|
|
""};_.ox=function(a){a=nx(a);if(""===a)return NaN;a=a.split(".");return 0===a.length?NaN:Number(a[0])};_.px=function(a,b,c){if("function"===typeof a)c&&(a=(0,_.J)(a,c));else if(a&&"function"==typeof a.handleEvent)a=(0,_.J)(a.handleEvent,a);else throw Error("Ba");return 2147483647<Number(b)?-1:_.Ya.setTimeout(a,b||0)};_.qx=function(a){_.Ya.clearTimeout(a)};
|
|
|
|
|
|
|
|
|
|
_.hy=function(a){_.Ai.call(this);this.Hi=1;this.Yy=[];this.gz=0;this.Hf=[];this.Wi={};this.jW=!!a};_.ab(_.hy,_.Ai);_.g=_.hy.prototype;_.g.subscribe=function(a,b,c){var d=this.Wi[a];d||(d=this.Wi[a]=[]);var e=this.Hi;this.Hf[e]=a;this.Hf[e+1]=b;this.Hf[e+2]=c;this.Hi=e+3;d.push(e);return e};_.g.ju=_.ba(19);_.g.unsubscribe=function(a,b,c){if(a=this.Wi[a]){var d=this.Hf;if(a=a.find(function(e){return d[e+1]==b&&d[e+2]==c}))return this.ek(a)}return!1};
|
|
|
|
|
_.g.ek=function(a){var b=this.Hf[a];if(b){var c=this.Wi[b];0!=this.gz?(this.Yy.push(a),this.Hf[a+1]=function(){}):(c&&_.qi(c,a),delete this.Hf[a],delete this.Hf[a+1],delete this.Hf[a+2])}return!!b};
|
|
|
|
|
_.g.wn=function(a,b){var c=this.Wi[a];if(c){for(var d=Array(arguments.length-1),e=1,f=arguments.length;e<f;e++)d[e-1]=arguments[e];if(this.jW)for(e=0;e<c.length;e++){var h=c[e];iy(this.Hf[h+1],this.Hf[h+2],d)}else{this.gz++;try{for(e=0,f=c.length;e<f&&!this.isDisposed();e++)h=c[e],this.Hf[h+1].apply(this.Hf[h+2],d)}finally{if(this.gz--,0<this.Yy.length&&0==this.gz)for(;c=this.Yy.pop();)this.ek(c)}}return 0!=e}return!1};var iy=function(a,b,c){_.Cj(function(){a.apply(b,c)})};
|
|
|
|
|
_.hy.prototype.clear=function(a){if(a){var b=this.Wi[a];b&&(b.forEach(this.ek,this),delete this.Wi[a])}else this.Hf.length=0,this.Wi={}};_.hy.prototype.Ib=function(a){if(a){var b=this.Wi[a];return b?b.length:0}a=0;for(b in this.Wi)a+=this.Ib(b);return a};_.hy.prototype.ta=function(){_.hy.H.ta.call(this);this.clear();this.Yy.length=0};
|
|
|
|
|
|
|
|
|
|
_.jy=function(a){this.V5=a};_.jy.prototype.toString=function(){return this.V5};
|
|
|
|
|
_.ky=function(a){_.Ai.call(this);this.Sd=new _.hy(a);_.Ci(this,this.Sd)};_.ab(_.ky,_.Ai);_.g=_.ky.prototype;_.g.subscribe=function(a,b,c){return this.Sd.subscribe(a.toString(),b,c)};_.g.ju=_.ba(18);_.g.unsubscribe=function(a,b,c){return this.Sd.unsubscribe(a.toString(),b,c)};_.g.ek=function(a){return this.Sd.ek(a)};_.g.wn=function(a,b){return this.Sd.wn(a.toString(),b)};_.g.clear=function(a){this.Sd.clear(void 0!==a?a.toString():void 0)};
|
|
|
|
|
_.g.Ib=function(a){return this.Sd.Ib(void 0!==a?a.toString():void 0)};
|
|
|
|
|
|
|
|
|
|
_.ly=function(a,b){Array.isArray(b)||(b=[b]);b=b.map(function(c){return"string"===typeof c?c:c.fz+" "+c.duration+"s "+c.timing+" "+c.delay+"s"});_.yr(a,"transition",b.join(","))};
|
|
|
|
|
_.my=_.Ad(function(){if(_.cd)return!0;var a=_.Ud("DIV"),b=_.gd?"-webkit":_.fd?"-moz":_.cd?"-ms":null,c={transition:"opacity 1s linear"};b&&(c[b+"-transition"]="opacity 1s linear");b=_.qr("div",{style:c});_.Cd(a,b);a=a.firstChild;b=a.style[_.tr("transition")];return""!=("undefined"!==typeof b?b:a.style[_.xr(a,"transition")]||"")});
|
|
|
|
|
|
|
|
|
|
_.oy=function(){_.ny="oauth2relay"+String(2147483647*(0,_.ng)()|0)};_.py=new _.ky;_.qy=new _.jy("oauth");_.oy();_.Be("oauth-flow/client_id");var ry=String(_.Be("oauth-flow/redirectUri"));if(ry)ry.replace(/[#][\s\S]*/,"");else{var sy=_.fg.getOrigin(window.location.href);_.Be("oauth-flow/callbackUrl");encodeURIComponent(sy)}_.fg.getOrigin(window.location.href);
|
|
|
|
|
|
|
|
|
|
var uy,vy,wy,xy,yy,zy,Ay,By,Cy,Dy,Ey,Gy,Hy,Iy,Jy,Ky,Ly,My,Ny,Oy,Py,Qy,Ry,Sy,Ty,Uy,Vy,Wy,Xy,Yy,Zy,$y,az,bz,cz,dz,ez,fz,gz,hz,kz,jz,lz,mz,nz,oz,pz,qz,rz,sz,tz,vz;_.ty=function(a,b){if(_.ch&&!b)return _.Ya.atob(a);var c="";_.fh(a,function(d){c+=String.fromCharCode(d)});return c};uy=function(a){var b=String(a("immediate")||"");a=String(a("prompt")||"");return"true"===b||"none"===a};vy=function(a){return _.zh("enableMultilogin")&&a("cookie_policy")&&!uy(a)?!0:!1};
|
|
|
|
|
yy=function(){var a,b=null;_.$x.iterate(function(c,d){0===c.indexOf("G_AUTHUSER_")&&(c=_.Px(c.substring(11)),!a||c.Ke&&!a.Ke||c.Ke==a.Ke&&c.Yh>a.Yh)&&(a=c,b=d)});return{vW:a,authuser:b}};zy=[".APPS.GOOGLEUSERCONTENT.COM","@DEVELOPER.GSERVICEACCOUNT.COM"];Ay=function(a){a=a.toUpperCase();for(var b=0,c=zy.length;b<c;++b){var d=a.split(zy[b]);2==d.length&&""===d[1]&&(a=d[0])}a=a.replace(/-/g,"_").toUpperCase();40<a.length&&(b=new _.mg,b.Du(a),a=b.Xh().toUpperCase());return a};
|
|
|
|
|
By=function(a){if(!a)return[];a=a.split("=");return a[1]?a[1].split("|"):[]};Cy=function(a){a=a.split(":");return{clientId:a[0].split("=")[1],y4:By(a[1]),afa:By(a[2]),Sda:By(a[3])}};Dy=function(a){var b=yy(),c=b.vW;b=b.authuser;var d=a&&Ay(a);if(null!==b){var e;_.$x.iterate(function(h,k){(h=_.Rx(h))&&h.Gi&&(d&&h.SW!=d||h.Ke==c.Ke&&h.Yh==c.Yh&&(e=k))});if(e){var f=Cy(e);a=f&&f.y4[Number(b)];f=f&&f.clientId;if(a)return{authuser:b,Vfa:a,clientId:f}}}return null};
|
|
|
|
|
Ey=function(a,b){a=_.Rh(a);if(!a||!b&&a.error)return null;b=Math.floor((new Date).getTime()/1E3);return a.expires_at&&b>a.expires_at?null:a};_.Fy=function(a,b){if(b){var c=b;var d=a}else"string"===typeof a?d=a:c=a;c?_.Fv(c,d):_.Gv(d)};
|
|
|
|
|
Gy=function(a){if(!a)return null;"single_host_origin"!==a&&(a=_.hg(a));var b=window.location.hostname,c=b,d=_.Qx;if("single_host_origin"!==a){c=a.split("://");if(2==c.length)d="https"===c.shift();else return _.uf.log("WARNING invalid cookie_policy: "+a),null;c=c[0]}if(-1!==c.indexOf(":"))c=b="";else{a="."+c;if(b.lastIndexOf(a)!==b.length-a.length)return _.uf.log("Invalid cookie_policy domain: "+c),null;c=a;b=c.split(".").length-1}return{domain:c,Ke:d,Yh:b}};
|
|
|
|
|
Hy=function(a){var b=Gy(a);if(!b)return new _.Vx("G_USERSTATE_");a=["G_USERSTATE_",_.Qx&&b.Ke?"S":"H",b.Yh].join("");var c=_.dy[a];c||(c={aF:63072E3},_.ke(_.gy(b),c),c=new _.Sx(a,c),_.dy[a]=c,b=c.read(),"undefined"!==typeof b&&null!==b&&(document.cookie=a+"=; expires=Thu, 01 Jan 1970 00:00:01 GMT; path=/",c.write(b)));return c};Iy=function(a){var b=Hy(a).read();a=_.ie();if(b){b=b.split(":");for(var c;c=b.shift();)c=c.split("="),a[c[0]]=c[1]}return a};
|
|
|
|
|
Jy=function(a,b,c){var d=Iy(b),e=d[a];d[a]="0";var f=[];_.Vl(d,function(k,l){f.push(l+"="+k)});var h=f.join(":");b=Hy(b);h?b.write(h):b.clear();d[a]!==e&&c&&c()};Ky=function(a){a=Gy(a.g_user_cookie_policy);if(!a||a.Ke&&!_.Qx)a=null;else{var b=["G_AUTHUSER_",_.Qx&&a.Ke?"S":"H",a.Yh].join(""),c=_.cy[b];c||(c=new _.$x(b,_.gy(a)),_.cy[b]=c);a=c}_.Ce("googleapis.config/sessionIndex",null);a.clear()};Ly=function(a){return uy(function(b){return a[b]})};My=0;Ny=!1;Oy=[];Py={};Qy={};Ry=null;
|
|
|
|
|
Sy=function(a){var b=_.ny;return function(c){if(this.f==b&&this.t==_.zf.wm(this.f)&&this.origin==_.zf.Im(this.f))return a.apply(this,arguments)}};Ty=function(a){if(a&&!decodeURIComponent(a).startsWith("m;/_/scs/"))throw Error("Ga");};Uy=function(a){var b=_.Ee.Dg,c=b(a).jsh;if(null!=c)return Ty(c),a;if(b=String(b().jsh||_.te.h||""))Ty(b),c=(a+"#").indexOf("#"),a=a.substr(0,c)+(-1!==a.substr(0,c).indexOf("?")?"&":"?")+"jsh="+encodeURIComponent(b)+a.substr(c);return a};Vy=function(){return!!_.Be("oauth-flow/usegapi")};
|
|
|
|
|
Wy=function(a,b){Vy()?Ry.unregister(a):_.zf.unregister(a+":"+b)};Xy=function(a,b,c){Vy()?Ry.register(a,c,_.jm):_.zf.register(a+":"+b,Sy(c))};Yy=function(){wy.parentNode.removeChild(wy)};Zy=function(a){var b=wy;_.ly(b,[{fz:"-webkit-transform",duration:1,timing:"ease",delay:0}]);_.ly(b,[{fz:"transform",duration:1,timing:"ease",delay:0}]);_.px(function(){b.style.webkitTransform="translate3d(0px,"+a+"px,0px)";b.style.transform="translate3d(0px,"+a+"px,0px)"},0)};$y=function(){var a=xy+88;Zy(a);xy=a};
|
|
|
|
|
az=function(){var a=xy-88;Zy(a);xy=a};bz=function(a){var b=a?$y:az,c=a?az:$y;a=a?"-":"";xy=parseInt(a+88,10);wy.style.webkitTransform="translate3d(0px,"+a+88+"px,0px)";wy.style.transform="translate3d(0px,"+a+88+"px,0px)";wy.style.display="";wy.style.visibility="visible";b();_.px(c,4E3);_.px(Yy,5E3)};
|
|
|
|
|
cz=function(a){var b=_.Be("oauth-flow/toast/position");"top"!==b&&(b="bottom");var c=document.createElement("div");wy=c;c.style.cssText="position:fixed;left:0px;z-index:1000;width:100%;";_.yr(c,"visibility","hidden");_.yr(c,b,"-40px");_.yr(c,"height","128px");var d=c;if(!_.xq()&&!_.wq()){d=document.createElement("div");d.style.cssText="float:left;position:relative;left:50%;";c.appendChild(d);var e=document.createElement("div");e.style.cssText="float:left;position:relative;left:-50%";d.appendChild(e);
|
|
|
|
|
d=e}e="top"==b?"-":"";xy=parseInt(e+88,10);wy.style.webkitTransform="translate3d(0px,"+e+88+"px,0px)";wy.style.transform="translate3d(0px,"+e+88+"px,0px)";e=window;try{for(;e.parent!=e&&e.parent.document;)e=e.parent}catch(f){}e=e.document.body;try{e.insertBefore(c,e.firstChild)}catch(f){}_.gm.openChild({url:":socialhost:/:session_prefix:_/widget/oauthflow/toast",queryParams:{clientId:a.client_id,idToken:a.id_token},where:d,onRestyle:function(){"top"===b?bz(!0):bz(!1)}})};
|
|
|
|
|
dz=function(a){var b=_.Hn(),c=b&&b.scope;b=a&&a.scope;b="string"===typeof b?b.split(" "):b||[];if(c){c=c.split(" ");for(var d=0;d<c.length;++d){var e=c[d];-1==_.Tl.call(b,e)&&b.push(e)}0<b.length&&(a.scope=b.join(" "))}return a};
|
|
|
|
|
ez=function(a,b){var c=null;a&&b&&(c=b.client_id=b.client_id||a.client_id,b.scope=b.scope||a.scope,b.g_user_cookie_policy=a.cookie_policy,b.cookie_policy=b.cookie_policy||a.cookie_policy,b.response_type=b.response_type||a.response_type);if(b){b.issued_at||(b.issued_at=String(Math.floor((new Date).getTime()/1E3)));var d=parseInt(b.expires_in,10)||86400;b.error&&(d=_.Be("oauth-flow/errorMaxAge")||86400);b.expires_in=String(d);b.expires_at||(b.expires_at=String(Math.floor((new Date).getTime()/1E3)+d));
|
|
|
|
|
b._aa||b.error||null!=Dy(c)||!Ly(a)||(b._aa="1");a=b.status={};a.google_logged_in=!!b.session_state;c=a.signed_in=!!b.access_token;a.method=c?b["g-oauth-window"]?"PROMPT":"AUTO":null}return b};fz=function(a){a=a&&a.id_token;if(!a||!a.split(".")[1])return null;a=(a.split(".")[1]+"...").replace(/^((....)+)\.?\.?\.?$/,"$1");a=_.pf(_.ty(a,!0));if(!1===a)throw Error("Ha");return a};gz=function(a){return(a=fz(a))?a.sub:null};
|
|
|
|
|
hz=function(a){a&&Oy.push(a);a=_.ny;var b=document.getElementById(a),c=(new Date).getTime();if(b){if(My&&6E4>c-My)return;var d=_.zf.wm(a);d&&(Wy("oauth2relayReady",d),Wy("oauth2callback",d));b.parentNode.removeChild(b);if(/Firefox/.test(navigator.userAgent))try{window.frames[a]=void 0}catch(f){}_.oy();a=_.ny}My=c;var e=String(2147483647*(0,_.ng)()|0);b=_.Be("oauth-flow/proxyUrl")||_.Be("oauth-flow/relayUrl");Vy()?Ry=_.gm.openChild({where:_.Ee.OM(),url:b,id:a,attributes:{style:{width:"1px",height:"1px",
|
|
|
|
|
position:"absolute",top:"-100px",display:"none"},"aria-hidden":"true"},dontclear:!0}):(b=[b,"?parent=",encodeURIComponent(_.fg.getOrigin(window.location.href)),"#rpctoken=",e,"&forcesecure=1"].join(""),c=_.Ee.OM(),d=_.Ee.sL({name:a,id:a}),d.src=Uy(b),d.style.width="1px",d.style.height="1px",d.style.position="absolute",d.style.top="-100px",d.tabIndex=-1,"function"===typeof d.setAttribute?d.setAttribute("aria-hidden","true"):d["aria-hidden"]="true",c.appendChild(d),_.zf.Wt(a));Xy("oauth2relayReady",
|
|
|
|
|
e,function(){Wy("oauth2relayReady",e);var f=Oy;if(null!==f){Oy=null;for(var h=f.length,k=0;k<h;++k)f[k]()}});Xy("oauth2callback",e,function(f){var h=_.Ee.Dg;h=h(f);var k=h.state;f=k.replace(/\|.*$/,"");f={}.hasOwnProperty.call(Qy,f)?Qy[f]:null;h.state=f;if(null!=h.state){f=Py[k];delete Py[k];k=f&&f.key||"token";var l=h=ez(f&&f.params,h),m=gz(l);if(m){var n=Iy(l.cookie_policy);m="0"==n[m]||"X"==n[m]}else m=!1;!m&&l&&0<=(" "+(l.scope||"")+" ").indexOf(" https://www.googleapis.com/auth/plus.login ")&&
|
|
|
|
|
_.Be("isLoggedIn")&&"1"===(l&&l._aa)&&(l._aa="0",Ny||(Ny=!0,cz(l)));_.Fy(k,h);h=Ey(k);if(f){k=f.popup;l=f.after_redirect;if(k&&"keep_open"!=l)try{k.close()}catch(q){}f.callback&&(f.callback(h),f.callback=null)}}})};_.iz=function(a){null!==Oy?hz(a):a&&a()};
|
|
|
|
|
kz=function(a,b){var c=jz,d=gz(a);d&&(Ky(a),Jy(d,b,function(){if(c){var e={error:"user_signed_out"};e.client_id=a.client_id;e.g_user_cookie_policy=a.g_user_cookie_policy;e.scope=a.scope;e.response_type=a.response_type;e.session_state=a.session_state;e=ez(null,e);c(e)}}))};
|
|
|
|
|
jz=function(a){a||(a=Ey(void 0,!0));a&&"object"===typeof a||(a={error:"invalid_request",error_description:"no callback data"});var b=a.error_description;b&&window.console&&(window.console.error(a.error),window.console.error(b));a.error||(_.te.drw=null);_.Fy(a);if(b=a.authuser)_.Be("googleapis.config/sessionIndex"),_.Ce("googleapis.config/sessionIndex",b);_.py.wn(_.qy,a);return a};lz=["client_id","cookie_policy","response_type"];mz="client_id response_type login_hint authuser prompt include_granted_scopes after_redirect access_type hl state".split(" ");
|
|
|
|
|
nz=function(a){var b=_.lj(a);b.session_state&&b.session_state.extraQueryParams&&(b.authuser=b.session_state.extraQueryParams.authuser);b.session_state=null;a.expires_at&&(b.expires_at=parseInt(a.expires_at/1E3).toString());a.expires_in&&(b.expires_in=a.expires_in.toString());a.first_issued_at&&(b.issued_at=parseInt(a.first_issued_at/1E3).toString(),delete b.first_issued_at);_.Fv(b);return b};
|
|
|
|
|
oz=function(a){if(void 0===a.include_granted_scopes){var b=_.Be("include_granted_scopes");a.include_granted_scopes=!!b}};pz=function(a){window.console&&("function"===typeof window.console.warn?window.console.warn(a):"function"===typeof window.console.log&&window.console.log(a))};
|
|
|
|
|
qz=function(a){var b=a||{},c={};_.Pb(mz,function(d){null!=b[d]&&(c[d]=b[d])});a=_.Be("googleapis/overrideClientId");null!=a&&(c.client_id=a);oz(c);"string"===typeof b.scope?c.scope=b.scope:Array.isArray(b.scope)&&(c.scope=b.scope.join(" "));null!=b["openid.realm"]&&(c.openid_realm=b["openid.realm"]);null!=b.cookie_policy?c.cookie_policy=b.cookie_policy:null!=b.cookiepolicy&&(c.cookie_policy=b.cookiepolicy);null==c.login_hint&&null!=b.user_id&&(c.login_hint=b.user_id);try{_.vw(c.cookie_policy)}catch(d){c.cookie_policy&&
|
|
|
|
|
pz("The cookie_policy configuration: '"+c.cookie_policy+"' is illegal, and thus ignored."),delete c.cookie_policy}null!=b.hd&&(c.hosted_domain=b.hd);null==c.prompt&&(1==b.immediate||"true"==b.immediate?c.prompt="none":"force"==b.approval_prompt&&(c.prompt="consent"));"none"==c.prompt&&(c.session_selection="first_valid");"none"==c.prompt&&"offline"==c.access_type&&delete c.access_type;"undefined"===typeof c.authuser&&(a=_.Bh(),null!=a&&(c.authuser=a));a=b.redirect_uri||_.Be("oauth-flow/redirectUri");
|
|
|
|
|
null!=a&&"postmessage"!=a&&(c.redirect_uri=a);c.gsiwebsdk="shim";return c};
|
|
|
|
|
rz=function(a,b){var c=qz(a),d=new _.Fj(function(e,f){_.bx(c,function(h){var k=h||{};_.Pb(lz,function(l){null==k[l]&&(k[l]=c[l])});!c.include_granted_scopes&&a&&a.scope&&(k.scope=a.scope);a&&null!=a.state&&(k.state=a.state);k.error?("none"==c.prompt&&"user_logged_out"==k.error&&(k.error="immediate_failed_user_logged_out"),f(k)):(h=nz(k),null!=h.authuser&&_.Ce("googleapis.config/sessionIndex",h.authuser),e(h))})});b&&d.then(b,b);return d};sz=_.Ph.MM;tz=null;
|
|
|
|
|
_.wz=function(a,b){if("force"!==a.approvalprompt){a=_.uz(a);a.prompt="none";delete a.redirect_uri;delete a.approval_prompt;delete a.immediate;if(b=!b)tz?(a.client_id!==tz.client_id&&window.console&&window.console.log&&window.console.log("Ignoring mismatched page-level auth param client_id="+a.client_id),b=!0):(tz=a,b=!1);b||vz(a)}};
|
|
|
|
|
_.uz=function(a){var b=a.redirecturi||"postmessage",c=(0,_.lc)((a.scope||"").replace(/[\s\xa0]+/g," "));b={client_id:a.clientid,redirect_uri:b,response_type:"code token id_token gsession",scope:c};a.approvalprompt&&(b.approval_prompt=a.approvalprompt);a.state&&(b.state=a.state);a.openidrealm&&(b["openid.realm"]=a.openidrealm);c="offline"==a.accesstype?!0:(c=a.redirecturi)&&"postmessage"!=c;c&&(b.access_type="offline");a.requestvisibleactions&&(b.request_visible_actions=(0,_.lc)(a.requestvisibleactions.replace(/[\s\xa0]+/g,
|
|
|
|
|
" ")));a.after_redirect&&(b.after_redirect=a.after_redirect);a.cookiepolicy&&"none"!==a.cookiepolicy&&(b.cookie_policy=a.cookiepolicy);"undefined"!=typeof a.includegrantedscopes&&(b.include_granted_scopes=a.includegrantedscopes);a.e&&(b.e=a.e);(a=a.authuser||_.Be("googleapis.config/sessionIndex"))&&(b.authuser=a);(a=_.Be("useoriginassocialhost"))&&(b.use_origin_as_socialhost=a);return b};vz=function(a){_.ro("waaf0","signin","0");rz(a,function(b){_.ro("waaf1","signin","0");jz(b)})};
|
|
|
|
|
_.xz=function(a){a=_.uz(a);_.Ce("oauth-flow/authWindowWidth",445);_.Ce("oauth-flow/authWindowHeight",615);vz(a)};_.yz=function(a){_.py.unsubscribe(_.qy,a);_.py.subscribe(_.qy,a)};
|
|
|
|
|
var Fz,Iz;_.Az=function(a){return a.cookiepolicy?!0:(_.zz("cookiepolicy is a required field. See https://developers.google.com/+/web/signin/#button_attr_cookiepolicy for more information."),!1)};_.zz=function(a){window.console&&(window.console.error?window.console.error(a):window.console.log&&window.console.log(a))};_.Ez=function(a,b){var c=_.Hn();_.ke(a,c);c=dz(c);if(_.Az(c)){var d=_.Bz();_.Cz(c);b?_.re(b,"click",function(){_.Dz(c,d)}):_.Dz(c,d)}};
|
|
|
|
|
_.Bz=function(){var a=new Fz;_.yz(function(b){a.bF&&b&&(b.access_token&&_.Ce("isPlusUser",!0),b["g-oauth-window"]&&(a.bF=!1,_.uf.warn("OTA app install is no longer supported.")))});return a};Fz=function(){this.bF=!1};_.Cz=function(a){a=_.Gz(a);_.Hz(a.callback);_.iz(function(){_.wz(a)})};_.Gz=function(a){Iz(a);a.redirecturi&&delete a.redirecturi;vy(function(b){return a[b]})||(a.authuser=0);return a};Iz=function(a){/^\s*$/.test(a.scope||"")&&(a.scope="https://www.googleapis.com/auth/plus.login")};
|
|
|
|
|
_.Hz=function(a){if("string"===typeof a)if(window[a])a=window[a];else{_.zz('Callback function named "'+a+'" not found');return}a&&_.yz(a)};_.Dz=function(a,b){b.bF=!0;a=_.Gz(a);_.xz(a)};
|
|
|
|
|
_.u("gapi.auth.authorize",rz);_.u("gapi.auth.checkSessionState",function(a,b){var c=_.ie();c.client_id=a.client_id;c.session_state=a.session_state;_.iz(function(){Vy()?Ry.send("check_session_state",c,function(d){b.call(null,d[0])},_.jm):_.zf.call(_.ny,"check_session_state",Sy(function(d){b.call(null,d)}),c.session_state,c.client_id)})});_.u("gapi.auth.getAuthHeaderValueForFirstParty",sz);_.u("gapi.auth.getToken",Ey);
|
|
|
|
|
_.u("gapi.auth.getVersionInfo",function(a,b){_.iz(function(){var c=_.Nh()||"",d=null,e=null;c&&(e=c.split(" "),2==e.length&&(d=e[1]));d?Vy()?Ry.send("get_versioninfo",{xapisidHash:d,sessionIndex:b},function(f){a(f[0])},_.jm):_.zf.call(_.ny,"get_versioninfo",Sy(function(f){a(f)}),d,b):a()})});_.u("gapi.auth.init",_.iz);_.u("gapi.auth.setToken",_.Fy);_.u("gapi.auth.signIn",function(a){_.Ez(a)});_.u("gapi.auth.signOut",function(){var a=Ey();a&&kz(a,a.cookie_policy)});
|
|
|
|
|
_.u("gapi.auth.unsafeUnpackIdToken",fz);_.u("gapi.auth._pimf",_.wz);_.u("gapi.auth._oart",cz);_.u("gapi.auth._guss",function(a){return Hy(a).read()});
|
|
|
|
|
|
|
|
|
|
var Jz=_.Hn();Jz.clientid&&Jz.scope&&Jz.callback&&!_.Be("disableRealtimeCallback")&&_.Cz(Jz);
|
|
|
|
|
|
|
|
|
|
var gx=function(){};gx.prototype.TK=null;gx.prototype.getOptions=function(){var a;(a=this.TK)||(a={},_.hx(this)&&(a[0]=!0,a[1]=!0),a=this.TK=a);return a};
|
|
|
|
|
var jx;jx=function(){};_.ab(jx,gx);_.hx=function(a){if(!a.sO&&"undefined"==typeof XMLHttpRequest&&"undefined"!=typeof ActiveXObject){for(var b=["MSXML2.XMLHTTP.6.0","MSXML2.XMLHTTP.3.0","MSXML2.XMLHTTP","Microsoft.XMLHTTP"],c=0;c<b.length;c++){var d=b[c];try{return new ActiveXObject(d),a.sO=d}catch(e){}}throw Error("za");}return a.sO};_.ix=new jx;
|
|
|
|
|
|
|
|
|
|
_.ig=window.googleapis&&window.googleapis.server||{};
|
|
|
|
|
|
|
|
|
|
var og=function(a){return{execute:function(b){var c={method:a.httpMethod||"GET",root:a.root,path:a.url,params:a.urlParams,headers:a.headers,body:a.body},d=window.gapi,e=function(){var f=d.config.get("client/apiKey"),h=d.config.get("client/version");try{var k=d.config.get("googleapis.config/developerKey"),l=d.config.get("client/apiKey",k);d.config.update("client/apiKey",l);d.config.update("client/version","1.0.0-alpha");var m=d.client;m.request.call(m,c).then(b,b)}finally{d.config.update("client/apiKey",
|
|
|
|
|
f),d.config.update("client/version",h)}};d.client?e():d.load.call(d,"client",e)}}},pg=function(a,b){return function(c){var d={};c=c.body;var e=_.pf(c),f={};if(e&&e.length)for(var h=e.length,k=0;k<h;++k){var l=e[k];f[l.id]=l}h=b.length;for(k=0;k<h;++k)l=b[k].id,d[l]=e&&e.length?f[l]:e;a(d,c)}},qg=function(a){a.transport={name:"googleapis",execute:function(b,c){for(var d=[],e=b.length,f=0;f<e;++f){var h=b[f],k=h.method,l=String(k).split(".")[0];l=_.Be("googleapis.config/versions/"+k)||_.Be("googleapis.config/versions/"+
|
|
|
|
|
l)||"v1";d.push({jsonrpc:"2.0",id:h.id,method:k,apiVersion:String(l),params:h.params})}b=og({httpMethod:"POST",root:a.transport.root,url:"/rpc?pp=0",headers:{"Content-Type":"application/json"},body:d});b.execute.call(b,pg(c,d))},root:void 0}},rg=function(a){var b=this.method,c=this.transport;c.execute.call(c,[{method:b,id:b,params:this.rpc}],function(d){d=d[b];d.error||(d=d.data||d.result);a(d)})},tg=function(){for(var a=sg,b=a.split("."),c=function(k){k=k||{};k.groupId=k.groupId||"@self";k.userId=
|
|
|
|
|
k.userId||"@viewer";k={method:a,rpc:k||{}};qg(k);k.execute=rg;return k},d=_.Ya,e=b.length,f=0;f<e;++f){var h=d[b[f]]||{};f+1==e&&(h=c);d=d[b[f]]=h}if(1<b.length&&"googleapis"!=b[0])for(b[0]="googleapis","delete"==b[b.length-1]&&(b[b.length-1]="remove"),d=_.Ya,e=b.length,f=0;f<e;++f)h=d[b[f]]||{},f+1==e&&(h=c),d=d[b[f]]=h},sg;for(sg in _.Be("googleapis.config/methods"))tg();
|
|
|
|
|
_.u("googleapis.newHttpRequest",function(a){return og(a)});_.u("googleapis.setUrlParameter",function(a,b){if("trace"!==a)throw Error("B");_.Ce("client/trace",b)});
|
|
|
|
|
|
|
|
|
|
_.gh=function(a){return null==a?"":String(a)};_.hh=RegExp("^(?:([^:/?#.]+):)?(?://(?:([^\\\\/?#]*)@)?([^\\\\/?#]*?)(?::([0-9]+))?(?=[\\\\/?#]|$))?([^?#]+)?(?:\\?([^#]*))?(?:#([\\s\\S]*))?$");_.ih=function(a,b){if(!b)return a;var c=a.indexOf("#");0>c&&(c=a.length);var d=a.indexOf("?");if(0>d||d>c){d=c;var e=""}else e=a.substring(d+1,c);a=[a.slice(0,d),e,a.slice(c)];c=a[1];a[1]=b?c?c+"&"+b:b:c;return a[0]+(a[1]?"?"+a[1]:"")+a[2]};
|
|
|
|
|
_.jh=function(a,b,c){if(Array.isArray(b))for(var d=0;d<b.length;d++)_.jh(a,String(b[d]),c);else null!=b&&c.push(a+(""===b?"":"="+encodeURIComponent(String(b))))};_.kh=function(a){var b=[],c;for(c in a)_.jh(c,a[c],b);return b.join("&")};_.lh=function(a,b){b=_.kh(b);return _.ih(a,b)};_.mh=function(a,b,c,d){for(var e=c.length;0<=(b=a.indexOf(c,b))&&b<d;){var f=a.charCodeAt(b-1);if(38==f||63==f)if(f=a.charCodeAt(b+e),!f||61==f||38==f||35==f)return b;b+=e+1}return-1};_.nh=/#|$/;
|
|
|
|
|
|
|
|
|
|
var bi=function(a,b){a=_.Ee.sL({id:a,name:a});a.style.width="1px";a.style.height="1px";a.style.position="absolute";a.style.top="-100px";a.style.display="none";if(window.navigator){var c=window.navigator.userAgent||"";var d=window.navigator.product||"";c=0!=c.indexOf("Opera")&&-1==c.indexOf("WebKit")&&"Gecko"==d&&0<c.indexOf("rv:1.")}else c=!1;a.src=c?"about:blank":b;a.tabIndex=-1;"function"===typeof a.setAttribute?a.setAttribute("aria-hidden","true"):a["aria-hidden"]="true";document.body.appendChild(a);
|
|
|
|
|
c&&(a.src=b);return a};_.Ph={YN:_.Oh,N0:_.Lh,mN:function(){var a=null;_.Lh()&&(a=window.__PVT,null==a&&(a=(new _.Dh(document)).get("BEAT")));return a},MM:_.Nh};
|
|
|
|
|
var di,ci;di=function(){return!!ci("auth/useFirstPartyAuthV2")};ci=function(a){return _.Be("googleapis.config/"+a)};
|
|
|
|
|
_.ei=function(a,b,c){a=void 0===a?{}:a;b=void 0===b?window.location.href:b;c=void 0===c?"auto":c;if("none"==c)return a;var d=a.Authorization,e=a.OriginToken;if(!d&&!e){(e=_.Rh())&&e.access_token&&("oauth2"==c||"auto"==c)&&(d=String(e.token_type||"Bearer")+" "+e.access_token);if(e=!d)e=(!!ci("auth/useFirstPartyAuth")||"1p"==c)&&"oauth2"!=c;if(e&&_.Lh()){if(di()){d=ci("primaryEmail");c=ci("appDomain");e=ci("fogId");var f=[];d&&f.push({key:"e",value:d});c&&f.push({key:"a",value:c});e&&f.push({key:"u",
|
|
|
|
|
value:e});d=_.Nh(f)}else d=_.Nh();d&&(b=_.Bh(b),b=a["X-Goog-AuthUser"]||b,_.jc(_.gh(b))&&(!di()||di()&&_.jc(_.gh(ci("primaryEmail")))&&_.jc(_.gh(ci("appDomain")))&&_.jc(_.gh(ci("fogId"))))&&(b="0"),_.jc(_.gh(b))||(a["X-Goog-AuthUser"]=b))}d?a.Authorization=d:!1!==ci("auth/useOriginToken")&&(e=_.Ph.mN())&&(a.OriginToken=e)}return a};
|
|
|
|
|
_.fi=function(){function a(n,q,p,t,v){var r=f("proxy");if(t||!r){r=f("root");var w=f("root-1p")||r;r=r||"https://content.googleapis.com";w=w||"https://clients6.google.com";var A=f("xd3")||"/static/proxy.html";r=(t||String(q?w:r))+A}r=String(r);p&&(r+=(0<=r.indexOf("?")?"&":"?")+"usegapi=1");(q=_.Ee.Dg().jsh||_.te.h)&&(r+=(0<=r.indexOf("?")?"&":"?")+"jsh="+encodeURIComponent(q));r+="#parent="+encodeURIComponent(null!=v?String(v):_.fg.getOrigin(document.location.href));return r+("&rpctoken="+n)}function b(n,
|
|
|
|
|
q,p,t,v){var r=d(p,t,v);k[r]||(p=bi(r,q),_.zf.register("ready:"+n,function(){_.zf.unregister("ready:"+n);if(!l[r]){l[r]=!0;var w=m[r];m[r]=[];for(var A=0,B=w.length;A<B;++A){var F=w[A];e(F.An,F.C3,F.callback)}}}),_.zf.Wt(r,q),k[r]=p)}function c(n,q,p){var t=String(2147483647*_.Yh()|0),v=a(t,n,q,p);_.wf(function(){b(t,v,n,q,p)})}function d(n,q,p){n=a("",n,q,p,"");p=h[n+q];if(!p){p=new _.mg;p.Du(n);p=p.Xh().toLowerCase();var t=_.Yh();p+=t;h[n+q]=p}return"apiproxy"+p}function e(n,q,p){var t=void 0,v=
|
|
|
|
|
!1;if("makeHttpRequests"!==n)throw'only "makeHttpRequests" RPCs are implemented';var r=function(x){if(x){if("undefined"!=typeof t&&"undefined"!=typeof x.root&&t!=x.root)throw"all requests in a batch must have the same root URL";t=x.root||t;v=_.Ph.YN(x.headers)}};if(q)for(var w=0,A=q.length;w<A;++w){var B=q[w];B&&r(B.params)}r=!!f("useGapiForXd3");var F=d(v,r,t);k[F]||c(v,r,t);l[F]?_.zf.call(F,n,function(x){if(this.f==F&&this.t==_.zf.wm(this.f)&&this.origin==_.zf.Im(this.f)){var G=_.pf(x);p(G,x)}},
|
|
|
|
|
q):(m[F]||(m[F]=[]),m[F].push({An:n,C3:q,callback:p}))}function f(n){return _.Be("googleapis.config/"+n)}var h={},k={},l={},m={};return{gda:function(n,q,p){return _.ei(n,q,p)},fq:e}}();
|
|
|
|
|
|
|
|
|
|
var ug={N6:"Authorization",CT:"Content-ID",l7:"Content-Transfer-Encoding",m7:"Content-Type",S7:"Date",J$:"OriginToken",f9:"hotrod-board-name",g9:"hotrod-chrome-cpu-model",h9:"hotrod-chrome-processors",mca:"WWW-Authenticate",oca:"X-Ad-Manager-Impersonation",nca:"X-Ad-Manager-Debug-Info",qca:"X-ClientDetails",rca:"X-Compass-Routing-Destination",sca:"X-Goog-AuthUser",vca:"X-Goog-Encode-Response-If-Executable",xca:"X-Goog-Meeting-ABR",yca:"X-Goog-Meeting-Botguardid",zca:"X-Goog-Meeting-ClientInfo",Aca:"X-Goog-Meeting-ClientVersion",
|
|
|
|
|
Bca:"X-Goog-Meeting-Debugid",Cca:"X-Goog-Meeting-Identifier",Dca:"X-Goog-Meeting-Interop-Cohorts",Eca:"X-Goog-Meeting-Interop-Type",Fca:"X-Goog-Meeting-RtcClient",Gca:"X-Goog-Meeting-StartSource",Hca:"X-Goog-Meeting-Token",Ica:"X-Goog-Meeting-ViewerInfo",Jca:"X-Goog-Meeting-Viewer-Token",Kca:"X-Goog-PageId",Lca:"X-Goog-Safety-Content-Type",Mca:"X-Goog-Safety-Encoding",tca:"X-Goog-Drive-Client-Version",uca:"X-Goog-Drive-Resource-Keys",Nca:"X-HTTP-Method-Override",Oca:"X-JavaScript-User-Agent",Pca:"X-Origin",
|
|
|
|
|
Qca:"X-Referer",Rca:"X-Requested-With",Tca:"X-Use-HTTP-Status-Code-Override",Sca:"X-Server-Timeout",wca:"X-Goog-First-Party-Reauth"},vg="Accept Accept-Language Authorization Cache-Control cast-device-capabilities Content-Disposition Content-Encoding Content-Language Content-Length Content-MD5 Content-Range Content-Transfer-Encoding Content-Type Date developer-token EES-S7E-MODE financial-institution-id GData-Version google-cloud-resource-prefix hotrod-board-name hotrod-chrome-cpu-model hotrod-chrome-processors Host If-Match If-Modified-Since If-None-Match If-Unmodified-Since linked-customer-id login-customer-id MIME-Version Origin OriginToken Pragma Range request-id Slug Transfer-Encoding Want-Digest X-Ad-Manager-Impersonation X-Ad-Manager-Debug-Info x-alkali-account-key x-alkali-application-key x-alkali-auth-apps-namespace x-alkali-auth-entities-namespace x-alkali-auth-entity x-alkali-client-locale x-chrome-connected x-framework-xsrf-token X-Client-Data X-ClientDetails X-Client-Version X-Firebase-Locale X-GData-Client X-GData-Key X-Goog-AuthUser X-Goog-PageId X-Goog-Encode-Response-If-Executable X-GoogApps-Allowed-Domains X-Goog-AdX-Buyer-Impersonation X-Goog-Api-Client X-Goog-Api-Key X-Goog-Visibilities X-Goog-Correlation-Id X-Goog-Request-Info X-Goog-Request-Reason X-Goog-Experiments x-goog-ext-124712974-jspb x-goog-ext-251363160-jspb x-goog-ext-259736195-jspb x-goog-ext-467253834-jspb x-goog-ext-472780938-jspb x-goog-ext-477772811-jspb x-goog-ext-275505673-bin x-goog-ext-353267353-bin X-Goog-Firebase-Installations-Auth x-goog-greenenergyuserappservice-metadata X-Firebase-Client X-Firebase-Client-Log-Type X-Firebase-GMPID X-Firebase-Auth-Token X-Firebase-AppCheck X-Firebase-Token X-Goog-Drive-Client-Version X-Goog-Drive-Resource-Keys x-goog-iam-authority-selector x-goog-iam-authorization-token x-goog-request-params x-goog-sherlog-context X-Goog-Sn-Metadata X-Goog-Sn-PatientId X-Goog-Spatula X-Goog-Travel-Bgr X-Goog-Travel-Settings 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-Header-Content-Encoding X-Goog-Upload-Header-Content-Length X-Goog-Upload-Header-Content-Type X-Goog-Upload-Header-Transfer-Encoding X-Goog-Upload-Offset X-Goog-Upload-Protocol X-Goog-User-Project X-Goog-Visitor-Id X-Goog-FieldMask X-Google-Project-Override X-HTTP-Method-Override X-JavaScript-User-Agent X-Pan-Versionid X-Proxied-User-IP X-Origin X-Referer X-Requested-With X-Stadia-Client-Context X-Upload-Content-Length X-Upload-Content-Type X-Use-Alt-Service X-Use-HTTP-Status-Code-Override X-Ios-Bundle-Identifier X-Android-Package X-Ariane-Xsrf-Token X-Earth-Engine-App-ID-Token X-Earth-Engine-Computation-Profile X-Earth-Engine-Computation-Profiling X-Play-Console-Experiments-Override X-Play-Console-Session-Id X-YouTube-VVT X-YouTube-Page-CL X-YouTube-Page-Timestamp X-Compass-Routing-Destination X-Goog-Meeting-ABR X-Goog-Meeting-Botguardid X-Goog-Meeting-ClientInfo X-Goog-Meeting-ClientVersion X-Goog-Meeting-Debugid X-Goog-Meeting-Identifier X-Goog-Meeting-Interop-Cohorts X-Goog-Meeting-Interop-Type X-Goog-Meeting-RtcClient X-Goog-Meeting-StartSource X-Goog-Meeting-Token X-Goog-Meeting-ViewerInfo X-Goog-Meeting-Viewer-Token x-sdm-id-token X-Sfdc-Authorization X-Server-Timeout x-foyer-client-environment X-Goog-First-Party-Reauth".split(" "),
|
|
|
|
|
wg="Digest Cache-Control Content-Disposition Content-Encoding Content-Language Content-Length Content-MD5 Content-Range Content-Transfer-Encoding Content-Type Date ETag Expires Last-Modified Location Pragma Range Server Transfer-Encoding WWW-Authenticate Vary Unzipped-Content-MD5 X-Correlation-ID X-Debug-Tracking-Id 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 X-Earth-Engine-Computation-Profile X-Goog-Meeting-ABR X-Goog-Meeting-Botguardid X-Goog-Meeting-ClientInfo X-Goog-Meeting-ClientVersion X-Goog-Meeting-Debugid X-Goog-Meeting-RtcClient X-Goog-Meeting-Token X-Goog-Meeting-Viewer-Token X-Compass-Routing-Destination".split(" ");
|
|
|
|
|
var yg,zg,Ag,Bg,Dg,Eg,Fg,Gg,Hg,Ig,Jg,Kg;yg=null;zg=null;Ag=null;Bg=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};
|
|
|
|
|
_.Cg=function(a){a=String(a||"").split("\x00").join("");for(var b=[],c=!0,d=a.length,e=0;e<d;++e){var f=a.charAt(e),h=a.charCodeAt(e);if(55296<=h&&56319>=h&&e+1<d){var k=a.charAt(e+1),l=a.charCodeAt(e+1);56320<=l&&57343>=l&&(f+=k,h=65536+(h-55296<<10)+(l-56320),++e)}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&&(e+2>=d?k=!0:(l=16*parseInt(a.charAt(e+
|
|
|
|
|
1),16)+parseInt(a.charAt(e+2),16),0<=l&&255>=l?(h=l,f=0==h?"":"%"+(256+l).toString(16).toUpperCase().substr(1),e+=2):k=!0));k&&(f=encodeURIComponent(f),1>=f.length&&(0<=h&&127>=h?f="%"+(256+h).toString(16).toUpperCase().substr(1):(h=65533,f=encodeURIComponent(String.fromCharCode(h)))));b.push(f)}a=b.join("");a=a.split("#")[0];a=a.split("?");b=a[0].split("/");c=[];d=b.length;for(e=0;e<d;++e)f=b[e],h=f.split("%2E").join("."),h=h.split(encodeURIComponent("\uff0e")).join("."),"."==h?e+1==d&&c.push(""):
|
|
|
|
|
".."==h?(0<c.length&&c.pop(),e+1==d&&c.push("")):c.push(f);a[0]=c.join("/");for(a=a.join("?");a&&"/"==a.charAt(0);)a=a.substr(1);return"/"+a};Dg={"access-control-allow-origin":!0,"access-control-allow-credentials":!0,"access-control-expose-headers":!0,"access-control-max-age":!0,"access-control-allow-headers":!0,"access-control-allow-methods":!0,p3p:!0,"proxy-authenticate":!0,"set-cookie":!0,"set-cookie2":!0,status:!0,tsv:!0,"":!0};
|
|
|
|
|
Eg={"accept-charset":!0,"accept-encoding":!0,"access-control-request-headers":!0,"access-control-request-method":!0,"client-ip":!0,clientip:!0,connection:!0,"content-length":!0,cookie:!0,cookie2:!0,date:!0,dnt:!0,expect:!0,forwarded:!0,"forwarded-for":!0,"front-end-https":!0,host:!0,"keep-alive":!0,"max-forwards":!0,method:!0,origin:!0,"raw-post-data":!0,referer:!0,te:!0,trailer:!0,"transfer-encoding":!0,upgrade:!0,url:!0,"user-agent":!0,version:!0,via:!0,"x-att-deviceid":!0,"x-chrome-connected":!0,
|
|
|
|
|
"x-client-data":!0,"x-client-ip":!0,"x-do-not-track":!0,"x-forwarded-by":!0,"x-forwarded-for":!0,"x-forwarded-host":!0,"x-forwarded-proto":!0,"x-geo":!0,"x-googapps-allowed-domains":!0,"x-origin":!0,"x-proxyuser-ip":!0,"x-real-ip":!0,"x-referer":!0,"x-uidh":!0,"x-user-ip":!0,"x-wap-profile":!0,"":!0};
|
|
|
|
|
Fg=function(a){if(!_.Gb(a))return null;for(var b={},c=0;c<a.length;c++){var d=a[c];if("string"===typeof d&&d){var e=d.toLowerCase();Bg(d,e)&&(b[e]=d)}}for(var f in ug)Object.prototype.hasOwnProperty.call(ug,f)&&(a=ug[f],c=a.toLowerCase(),Bg(a,c)&&Object.prototype.hasOwnProperty.call(b,c)&&(b[c]=a));return b};Gg=new RegExp("("+/[\t -~\u00A0-\u2027\u202A-\uD7FF\uE000-\uFFFF]/.source+"|"+/[\uD800-\uDBFF][\uDC00-\uDFFF]/.source+"){1,100}","g");Hg=/[ \t]*(\r?\n[ \t]+)+/g;Ig=/^[ \t]+|[ \t]+$/g;
|
|
|
|
|
Jg=function(a,b){if(!b&&"object"===typeof a&&a&&"number"===typeof a.length){b=a;a="";for(var c=b.length,d=0;d<c;++d){var e=Jg(b[d],!0);e&&(a&&(e=a+", "+e),a=e)}}if("string"===typeof a&&(a=a.replace(Hg," "),a=a.replace(Ig,""),""==a.replace(Gg,"")&&a))return a};Kg=/^[-0-9A-Za-z!#\$%&'\*\+\.\^_`\|~]+$/g;
|
|
|
|
|
_.Lg=function(a){if("string"!==typeof a||!a||!a.match(Kg))return null;a=a.toLowerCase();if(null==Ag){var b=[],c=_.Be("googleapis/headers/response");c&&"object"===typeof c&&"number"===typeof c.length||(c=null);null!=c&&(b=b.concat(c));(c=_.Be("client/headers/response"))&&"object"===typeof c&&"number"===typeof c.length||(c=null);null!=c&&(b=b.concat(c));b=b.concat(wg);(c=_.Be("googleapis/headers/request"))&&"object"===typeof c&&"number"===typeof c.length||(c=null);null!=c&&(b=b.concat(c));(c=_.Be("client/headers/request"))&&
|
|
|
|
|
"object"===typeof c&&"number"===typeof c.length||(c=null);null!=c&&(b=b.concat(c));b=b.concat(vg);for(var d in ug)Object.prototype.hasOwnProperty.call(ug,d)&&b.push(ug[d]);Ag=Fg(b)}return null!=Ag&&Ag.hasOwnProperty(a)?Ag[a]:a};
|
|
|
|
|
_.Mg=function(a,b){if(!_.Lg(a)||!Jg(b))return null;a=a.toLowerCase();if(a.match(/^x-google|^x-gfe|^proxy-|^sec-/i)||Eg[a])return null;if(null==yg){b=[];var c=_.Be("googleapis/headers/request");c&&"object"===typeof c&&"number"===typeof c.length||(c=null);null!=c&&(b=b.concat(c));(c=_.Be("client/headers/request"))&&"object"===typeof c&&"number"===typeof c.length||(c=null);null!=c&&(b=b.concat(c));b=b.concat(vg);yg=Fg(b)}return null!=yg&&yg.hasOwnProperty(a)?yg[a]:null};
|
|
|
|
|
_.Ng=function(a,b){if(!_.Lg(a)||!Jg(b))return null;a=a.toLowerCase();if(Dg[a])return null;if(null==zg){b=[];var c=_.Be("googleapis/headers/response");c&&"object"===typeof c&&"number"===typeof c.length||(c=null);null!=c&&(b=b.concat(c));(c=_.Be("client/headers/response"))&&"object"===typeof c&&"number"===typeof c.length||(c=null);null!=c&&(b=b.concat(c));b=b.concat(wg);zg=Fg(b)}return null!=zg&&zg.hasOwnProperty(a)?a:null};
|
|
|
|
|
_.Og=function(a,b){if(_.Lg(b)&&null!=a&&"object"===typeof a){var c=void 0,d;for(d in a)if(Object.prototype.hasOwnProperty.call(a,d)&&Bg(d,b)){var e=Jg(a[d]);e&&(void 0!==c&&(e=c+", "+e),c=e)}return c}};_.Pg=function(a,b,c,d){var e=_.Lg(b);if(e){c&&(c=Jg(c));b=b.toLowerCase();for(var f in a)Object.prototype.hasOwnProperty.call(a,f)&&Bg(f,b)&&delete a[f];c&&(d||(b=e),a[b]=c)}};
|
|
|
|
|
_.Qg=function(a,b){var c={};if(!a)return c;a=a.split("\r\n");for(var d=a.length,e=0;e<d;++e){var f=a[e];if(!f)break;var h=f.indexOf(":");if(!(0>=h)){var k=f.substring(0,h);if(k=_.Lg(k)){for(f=f.substring(h+1);e+1<d&&a[e+1].match(/^[ \t]/);)f+="\r\n"+a[e+1],++e;if(f=Jg(f))if(k=_.Ng(k,f)||(b?void 0:k))k=k.toLowerCase(),h=_.Og(c,k),void 0!==h&&(f=h+", "+f),_.Pg(c,k,f,!0)}}}return c};
|
|
|
|
|
|
|
|
|
|
_.mt=function(a){if(!(a instanceof Array)){a=_.pa(a);for(var b,c=[];!(b=a.next()).done;)c.push(b.value);a=c}return a};_.nt=function(){return Date.now()};
|
|
|
|
|
|
|
|
|
|
/\uffff/.test("\uffff");
|
|
|
|
|
|
|
|
|
|
var vx;_.rx=function(a,b){var c=_.Gb(b),d=c?b:arguments;for(c=c?0:1;c<d.length;c++){if(null==a)return;a=a[d[c]]}return a};
|
|
|
|
|
_.sx=function(a){if(!a||"object"!==typeof a)return a;if("function"===typeof a.clone)return a.clone();if("undefined"!==typeof Map&&a instanceof Map)return new Map(a);if("undefined"!==typeof Set&&a instanceof Set)return new Set(a);if(a instanceof Date)return new Date(a.getTime());var b=Array.isArray(a)?[]:"function"!==typeof ArrayBuffer||"function"!==typeof ArrayBuffer.isView||!ArrayBuffer.isView(a)||a instanceof DataView?{}:new a.constructor(a.length),c;for(c in a)b[c]=_.sx(a[c]);return b};
|
|
|
|
|
_.tx=function(a){var b=_.ob(),c="";_.qb("Windows")?(c=/Windows (?:NT|Phone) ([0-9.]+)/,c=(b=c.exec(b))?b[1]:"0.0"):_.Db()?(c=/(?:iPhone|iPod|iPad|CPU)\s+OS\s+(\S+)/,c=(b=c.exec(b))&&b[1].replace(/_/g,".")):_.qb("Macintosh")?(c=/Mac OS X ([0-9_.]+)/,c=(b=c.exec(b))?b[1].replace(/_/g,"."):"10"):_.pb(_.ob().toLowerCase(),"kaios")?(c=/(?:KaiOS)\/(\S+)/i,c=(b=c.exec(b))&&b[1]):_.qb("Android")?(c=/Android\s+([^\);]+)(\)|;)/,c=(b=c.exec(b))&&b[1]):_.qb("CrOS")&&(c=/(?:CrOS\s+(?:i686|x86_64)\s+([0-9.]+))/,
|
|
|
|
|
c=(b=c.exec(b))&&b[1]);return 0<=_.vc(c||"",a)};_.ux=function(a){return(a=_.hx(a))?new ActiveXObject(a):new XMLHttpRequest};vx=function(a,b){var c=[];for(b=b||0;b<a.length;b+=2)_.jh(a[b],a[b+1],c);return c.join("&")};_.wx=function(a,b){var c=2==arguments.length?vx(arguments[1],0):vx(arguments,1);return _.ih(a,c)};_.xx=function(a,b,c){c=null!=c?"="+encodeURIComponent(String(c)):"";return _.ih(a,b+c)};_.yx=function(a,b){_.yi(a,"/")&&(a=a.slice(0,-1));_.ic(b,"/")&&(b=b.slice(1));return a+"/"+b};
|
|
|
|
|
_.zx=function(a){switch(a){case 200:case 201:case 202:case 204:case 206:case 304:case 1223:return!0;default:return!1}};_.Ax=function(a,b){_.cj.call(this);this.fl=a||1;this.ru=b||_.Ya;this.PK=(0,_.J)(this.S5,this);this.oP=_.nt()};_.ab(_.Ax,_.cj);_.g=_.Ax.prototype;_.g.enabled=!1;_.g.zc=null;_.g.setInterval=function(a){this.fl=a;this.zc&&this.enabled?(this.stop(),this.start()):this.zc&&this.stop()};
|
|
|
|
|
_.g.S5=function(){if(this.enabled){var a=_.nt()-this.oP;0<a&&a<.8*this.fl?this.zc=this.ru.setTimeout(this.PK,this.fl-a):(this.zc&&(this.ru.clearTimeout(this.zc),this.zc=null),this.dispatchEvent("tick"),this.enabled&&(this.stop(),this.start()))}};_.g.start=function(){this.enabled=!0;this.zc||(this.zc=this.ru.setTimeout(this.PK,this.fl),this.oP=_.nt())};_.g.stop=function(){this.enabled=!1;this.zc&&(this.ru.clearTimeout(this.zc),this.zc=null)};_.g.ta=function(){_.Ax.H.ta.call(this);this.stop();delete this.ru};
|
|
|
|
|
var Cx,Dx,Ex;_.Bx=function(a){_.cj.call(this);this.headers=new Map;this.QA=a||null;this.Kf=!1;this.PA=this.Ma=null;this.gy="";this.vp=0;this.Um=this.pE=this.Cx=this.xC=!1;this.Qn=0;this.kd=null;this.Cl="";this.mJ=this.Rg=!1;this.YI=null};_.ab(_.Bx,_.cj);_.Bx.prototype.tb=null;Cx=/^https?$/i;Dx=["POST","PUT"];Ex=[];_.Fx=function(a,b,c,d,e,f,h){var k=new _.Bx;Ex.push(k);b&&k.V("complete",b);k.Ap("ready",k.LW);f&&k.mI(f);h&&(k.Rg=h);k.send(a,c,d,e)};_.Bx.prototype.LW=function(){this.Ha();_.qi(Ex,this)};
|
|
|
|
|
_.Bx.prototype.mI=function(a){this.Qn=Math.max(0,a)};_.Bx.prototype.setTrustToken=function(a){this.YI=a};
|
|
|
|
|
_.Bx.prototype.send=function(a,b,c,d){if(this.Ma)throw Error("Da`"+this.gy+"`"+a);b=b?b.toUpperCase():"GET";this.gy=a;this.vp=0;this.xC=!1;this.Kf=!0;this.Ma=this.QA?_.ux(this.QA):_.ux(_.ix);this.PA=this.QA?this.QA.getOptions():_.ix.getOptions();this.Ma.onreadystatechange=(0,_.J)(this.fQ,this);try{this.pE=!0,this.Ma.open(b,String(a),!0),this.pE=!1}catch(h){this.fw(5,h);return}a=c||"";c=new Map(this.headers);if(d)if(Object.getPrototypeOf(d)===Object.prototype)for(var e in d)c.set(e,d[e]);else if("function"===
|
|
|
|
|
typeof d.keys&&"function"===typeof d.get){e=_.pa(d.keys());for(var f=e.next();!f.done;f=e.next())f=f.value,c.set(f,d.get(f))}else throw Error("Ea`"+String(d));d=Array.from(c.keys()).find(function(h){return"content-type"==h.toLowerCase()});e=_.Ya.FormData&&a instanceof _.Ya.FormData;!_.ib(Dx,b)||d||e||c.set("Content-Type","application/x-www-form-urlencoded;charset=utf-8");b=_.pa(c);for(d=b.next();!d.done;d=b.next())c=_.pa(d.value),d=c.next().value,c=c.next().value,this.Ma.setRequestHeader(d,c);this.Cl&&
|
|
|
|
|
(this.Ma.responseType=this.Cl);"withCredentials"in this.Ma&&this.Ma.withCredentials!==this.Rg&&(this.Ma.withCredentials=this.Rg);if("setTrustToken"in this.Ma&&this.YI)try{this.Ma.setTrustToken(this.YI)}catch(h){}try{Gx(this),0<this.Qn&&((this.mJ=Hx(this.Ma))?(this.Ma.timeout=this.Qn,this.Ma.ontimeout=(0,_.J)(this.Og,this)):this.kd=_.px(this.Og,this.Qn,this)),this.Cx=!0,this.Ma.send(a),this.Cx=!1}catch(h){this.fw(5,h)}};var Hx=function(a){return _.cd&&"number"===typeof a.timeout&&void 0!==a.ontimeout};
|
|
|
|
|
_.Bx.prototype.Og=function(){"undefined"!=typeof _.Xa&&this.Ma&&(this.vp=8,this.dispatchEvent("timeout"),this.abort(8))};_.Bx.prototype.fw=function(a){this.Kf=!1;this.Ma&&(this.Um=!0,this.Ma.abort(),this.Um=!1);this.vp=a;Ix(this);Jx(this)};var Ix=function(a){a.xC||(a.xC=!0,a.dispatchEvent("complete"),a.dispatchEvent("error"))};
|
|
|
|
|
_.Bx.prototype.abort=function(a){this.Ma&&this.Kf&&(this.Kf=!1,this.Um=!0,this.Ma.abort(),this.Um=!1,this.vp=a||7,this.dispatchEvent("complete"),this.dispatchEvent("abort"),Jx(this))};_.Bx.prototype.ta=function(){this.Ma&&(this.Kf&&(this.Kf=!1,this.Um=!0,this.Ma.abort(),this.Um=!1),Jx(this,!0));_.Bx.H.ta.call(this)};_.Bx.prototype.fQ=function(){this.isDisposed()||(this.pE||this.Cx||this.Um?Kx(this):this.AF())};_.Bx.prototype.AF=function(){Kx(this)};
|
|
|
|
|
var Kx=function(a){if(a.Kf&&"undefined"!=typeof _.Xa&&(!a.PA[1]||4!=_.Lx(a)||2!=a.getStatus()))if(a.Cx&&4==_.Lx(a))_.px(a.fQ,0,a);else if(a.dispatchEvent("readystatechange"),4==_.Lx(a)){a.Kf=!1;try{_.Mx(a)?(a.dispatchEvent("complete"),a.dispatchEvent("success")):(a.vp=6,Ix(a))}finally{Jx(a)}}},Jx=function(a,b){if(a.Ma){Gx(a);var c=a.Ma,d=a.PA[0]?function(){}:null;a.Ma=null;a.PA=null;b||a.dispatchEvent("ready");try{c.onreadystatechange=d}catch(e){}}},Gx=function(a){a.Ma&&a.mJ&&(a.Ma.ontimeout=null);
|
|
|
|
|
a.kd&&(_.qx(a.kd),a.kd=null)};_.Bx.prototype.isActive=function(){return!!this.Ma};_.Mx=function(a){var b=a.getStatus(),c;if(!(c=_.zx(b))){if(b=0===b)a=String(a.gy).match(_.hh)[1]||null,!a&&_.Ya.self&&_.Ya.self.location&&(a=_.Ya.self.location.protocol.slice(0,-1)),b=!Cx.test(a?a.toLowerCase():"");c=b}return c};_.Lx=function(a){return a.Ma?a.Ma.readyState:0};_.Bx.prototype.getStatus=function(){try{return 2<_.Lx(this)?this.Ma.status:-1}catch(a){return-1}};
|
|
|
|
|
_.Nx=function(a){try{return a.Ma?a.Ma.responseText:""}catch(b){return""}};_.Ox=function(a){try{if(!a.Ma)return null;if("response"in a.Ma)return a.Ma.response;switch(a.Cl){case "":case "text":return a.Ma.responseText;case "arraybuffer":if("mozResponseArrayBuffer"in a.Ma)return a.Ma.mozResponseArrayBuffer}return null}catch(b){return null}};_.Bx.prototype.getResponseHeader=function(a){if(this.Ma&&4==_.Lx(this))return a=this.Ma.getResponseHeader(a),null===a?void 0:a};
|
|
|
|
|
_.Bx.prototype.getAllResponseHeaders=function(){return this.Ma&&2<=_.Lx(this)?this.Ma.getAllResponseHeaders()||"":""};_.pi(function(a){_.Bx.prototype.AF=a(_.Bx.prototype.AF)});
|
|
|
|
|
|
|
|
|
|
_.ot=function(a){var b=0,c;for(c in a)b++;return b};_.pt=function(a){var b=[],c=0,d;for(d in a)b[c++]=a[d];return b};_.qt=function(a){var b=[],c=0,d;for(d in a)b[c++]=d;return b};_.rt=function(a){return a.Ib&&"function"==typeof a.Ib?a.Ib():_.Gb(a)||"string"===typeof a?a.length:_.ot(a)};
|
|
|
|
|
_.st=function(a){if(a.Wc&&"function"==typeof a.Wc)return a.Wc();if("undefined"!==typeof Map&&a instanceof Map||"undefined"!==typeof Set&&a instanceof Set)return Array.from(a.values());if("string"===typeof a)return a.split("");if(_.Gb(a)){for(var b=[],c=a.length,d=0;d<c;d++)b.push(a[d]);return b}return _.pt(a)};
|
|
|
|
|
_.tt=function(a){if(a.Uf&&"function"==typeof a.Uf)return a.Uf();if(!a.Wc||"function"!=typeof a.Wc){if("undefined"!==typeof Map&&a instanceof Map)return Array.from(a.keys());if(!("undefined"!==typeof Set&&a instanceof Set)){if(_.Gb(a)||"string"===typeof a){var b=[];a=a.length;for(var c=0;c<a;c++)b.push(c);return b}return _.qt(a)}}};
|
|
|
|
|
|
|
|
|
|
var wt,yt,Lt,Gt,Zt,Ht,Jt,It,Mt,Kt,$t;_.vt=function(){return Math.floor(2147483648*Math.random()).toString(36)+Math.abs(Math.floor(2147483648*Math.random())^_.nt()).toString(36)};wt=function(a,b){if(a){a=a.split("&");for(var c=0;c<a.length;c++){var d=a[c].indexOf("="),e=null;if(0<=d){var f=a[c].substring(0,d);e=a[c].substring(d+1)}else f=a[c];b(f,e?decodeURIComponent(e.replace(/\+/g," ")):"")}}};
|
|
|
|
|
_.xt=function(a,b){var c=a.search(_.nh),d=_.mh(a,0,b,c);if(0>d)return null;var e=a.indexOf("&",d);if(0>e||e>c)e=c;d+=b.length+1;return decodeURIComponent(a.slice(d,-1!==e?e:0).replace(/\+/g," "))};yt=function(a,b,c){if(a.forEach&&"function"==typeof a.forEach)a.forEach(b,c);else if(_.Gb(a)||"string"===typeof a)Array.prototype.forEach.call(a,b,c);else for(var d=_.tt(a),e=_.st(a),f=e.length,h=0;h<f;h++)b.call(c,e[h],d&&d[h],a)};
|
|
|
|
|
_.zt=function(a,b){this.Zd=this.Qg=this.Lh="";this.eg=null;this.SC=this.tl="";this.Eg=!1;var c;a instanceof _.zt?(this.Eg=void 0!==b?b:a.Eg,_.At(this,a.Lh),_.Bt(this,a.Qg),_.Ct(this,a.xg()),_.Dt(this,a.eg),this.setPath(a.getPath()),_.Et(this,a.Td.clone()),this.Sj(a.Hw())):a&&(c=String(a).match(_.hh))?(this.Eg=!!b,_.At(this,c[1]||"",!0),_.Bt(this,c[2]||"",!0),_.Ct(this,c[3]||"",!0),_.Dt(this,c[4]),this.setPath(c[5]||"",!0),_.Et(this,c[6]||"",!0),this.Sj(c[7]||"",!0)):(this.Eg=!!b,this.Td=new _.Ft(null,
|
|
|
|
|
this.Eg))};_.zt.prototype.toString=function(){var a=[],b=this.Lh;b&&a.push(Gt(b,Ht,!0),":");var c=this.xg();if(c||"file"==b)a.push("//"),(b=this.Qg)&&a.push(Gt(b,Ht,!0),"@"),a.push(encodeURIComponent(String(c)).replace(/%25([0-9a-fA-F]{2})/g,"%$1")),c=this.eg,null!=c&&a.push(":",String(c));if(c=this.getPath())this.Zd&&"/"!=c.charAt(0)&&a.push("/"),a.push(Gt(c,"/"==c.charAt(0)?It:Jt,!0));(c=this.Td.toString())&&a.push("?",c);(c=this.Hw())&&a.push("#",Gt(c,Kt));return a.join("")};
|
|
|
|
|
_.zt.prototype.resolve=function(a){var b=this.clone(),c=!!a.Lh;c?_.At(b,a.Lh):c=!!a.Qg;c?_.Bt(b,a.Qg):c=!!a.Zd;c?_.Ct(b,a.xg()):c=null!=a.eg;var d=a.getPath();if(c)_.Dt(b,a.eg);else if(c=!!a.tl){if("/"!=d.charAt(0))if(this.Zd&&!this.tl)d="/"+d;else{var e=b.getPath().lastIndexOf("/");-1!=e&&(d=b.getPath().slice(0,e+1)+d)}e=d;if(".."==e||"."==e)d="";else if(_.pb(e,"./")||_.pb(e,"/.")){d=_.ic(e,"/");e=e.split("/");for(var f=[],h=0;h<e.length;){var k=e[h++];"."==k?d&&h==e.length&&f.push(""):".."==k?((1<
|
|
|
|
|
f.length||1==f.length&&""!=f[0])&&f.pop(),d&&h==e.length&&f.push("")):(f.push(k),d=!0)}d=f.join("/")}else d=e}c?b.setPath(d):c=a.ep();c?_.Et(b,a.Td.clone()):c=!!a.SC;c&&b.Sj(a.Hw());return b};_.zt.prototype.clone=function(){return new _.zt(this)};_.At=function(a,b,c){a.Lh=c?Lt(b,!0):b;a.Lh&&(a.Lh=a.Lh.replace(/:$/,""));return a};_.Bt=function(a,b,c){a.Qg=c?Lt(b):b;return a};_.zt.prototype.xg=function(){return this.Zd};_.Ct=function(a,b,c){a.Zd=c?Lt(b,!0):b;return a};
|
|
|
|
|
_.Dt=function(a,b){if(b){b=Number(b);if(isNaN(b)||0>b)throw Error("S`"+b);a.eg=b}else a.eg=null;return a};_.zt.prototype.getPath=function(){return this.tl};_.zt.prototype.setPath=function(a,b){this.tl=b?Lt(a,!0):a;return this};_.zt.prototype.ep=function(){return""!==this.Td.toString()};_.Et=function(a,b,c){b instanceof _.Ft?(a.Td=b,a.Td.nH(a.Eg)):(c||(b=Gt(b,Mt)),a.Td=new _.Ft(b,a.Eg));return a};_.zt.prototype.Xa=function(a,b){return _.Et(this,a,b)};_.zt.prototype.getQuery=function(){return this.Td.toString()};
|
|
|
|
|
_.Nt=function(a,b,c){a.Td.set(b,c);return a};_.g=_.zt.prototype;_.g.Ag=function(a){return this.Td.get(a)};_.g.Hw=function(){return this.SC};_.g.Sj=function(a,b){this.SC=b?Lt(a):a;return this};_.g.removeParameter=function(a){this.Td.remove(a);return this};_.g.nH=function(a){this.Eg=a;this.Td&&this.Td.nH(a)};_.Yt=function(a,b){return a instanceof _.zt?a.clone():new _.zt(a,b)};Lt=function(a,b){return a?b?decodeURI(a.replace(/%25/g,"%2525")):decodeURIComponent(a):""};
|
|
|
|
|
Gt=function(a,b,c){return"string"===typeof a?(a=encodeURI(a).replace(b,Zt),c&&(a=a.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),a):null};Zt=function(a){a=a.charCodeAt(0);return"%"+(a>>4&15).toString(16)+(a&15).toString(16)};Ht=/[#\/\?@]/g;Jt=/[#\?:]/g;It=/[#\?]/g;Mt=/[#\?@]/g;Kt=/#/g;_.Ft=function(a,b){this.Yd=this.Ec=null;this.Tf=a||null;this.Eg=!!b};$t=function(a){a.Ec||(a.Ec=new Map,a.Yd=0,a.Tf&&wt(a.Tf,function(b,c){a.add(decodeURIComponent(b.replace(/\+/g," ")),c)}))};_.g=_.Ft.prototype;
|
|
|
|
|
_.g.Ib=function(){$t(this);return this.Yd};_.g.add=function(a,b){$t(this);this.Tf=null;a=au(this,a);var c=this.Ec.get(a);c||this.Ec.set(a,c=[]);c.push(b);this.Yd+=1;return this};_.g.remove=function(a){$t(this);a=au(this,a);return this.Ec.has(a)?(this.Tf=null,this.Yd-=this.Ec.get(a).length,this.Ec.delete(a)):!1};_.g.clear=function(){this.Ec=this.Tf=null;this.Yd=0};_.g.isEmpty=function(){$t(this);return 0==this.Yd};_.g.Wh=function(a){$t(this);a=au(this,a);return this.Ec.has(a)};
|
|
|
|
|
_.g.nj=function(a){var b=this.Wc();return _.ib(b,a)};_.g.forEach=function(a,b){$t(this);this.Ec.forEach(function(c,d){c.forEach(function(e){a.call(b,e,d,this)},this)},this)};_.g.Uf=function(){$t(this);for(var a=Array.from(this.Ec.values()),b=Array.from(this.Ec.keys()),c=[],d=0;d<b.length;d++)for(var e=a[d],f=0;f<e.length;f++)c.push(b[d]);return c};
|
|
|
|
|
_.g.Wc=function(a){$t(this);var b=[];if("string"===typeof a)this.Wh(a)&&(b=b.concat(this.Ec.get(au(this,a))));else{a=Array.from(this.Ec.values());for(var c=0;c<a.length;c++)b=b.concat(a[c])}return b};_.g.set=function(a,b){$t(this);this.Tf=null;a=au(this,a);this.Wh(a)&&(this.Yd-=this.Ec.get(a).length);this.Ec.set(a,[b]);this.Yd+=1;return this};_.g.get=function(a,b){if(!a)return b;a=this.Wc(a);return 0<a.length?String(a[0]):b};
|
|
|
|
|
_.g.setValues=function(a,b){this.remove(a);0<b.length&&(this.Tf=null,this.Ec.set(au(this,a),_.lb(b)),this.Yd+=b.length)};_.g.toString=function(){if(this.Tf)return this.Tf;if(!this.Ec)return"";for(var a=[],b=Array.from(this.Ec.keys()),c=0;c<b.length;c++){var d=b[c],e=encodeURIComponent(String(d));d=this.Wc(d);for(var f=0;f<d.length;f++){var h=e;""!==d[f]&&(h+="="+encodeURIComponent(String(d[f])));a.push(h)}}return this.Tf=a.join("&")};
|
|
|
|
|
_.g.clone=function(){var a=new _.Ft;a.Tf=this.Tf;this.Ec&&(a.Ec=new Map(this.Ec),a.Yd=this.Yd);return a};var au=function(a,b){b=String(b);a.Eg&&(b=b.toLowerCase());return b};_.Ft.prototype.nH=function(a){a&&!this.Eg&&($t(this),this.Tf=null,this.Ec.forEach(function(b,c){var d=c.toLowerCase();c!=d&&(this.remove(c),this.setValues(d,b))},this));this.Eg=a};_.Ft.prototype.extend=function(a){for(var b=0;b<arguments.length;b++)yt(arguments[b],function(c,d){this.add(d,c)},this)};
|
|
|
|
|
|
|
|
|
|
var Lz=function(a){if(!a||"function"!==typeof a)throw new Kz("Must provide a function.");this.hg=null;this.JX=a},Mz=!1;Mz=!1;
|
|
|
|
|
var Nz=function(a){return new _.Fj(function(b){var c=a.length,d=[];if(c)for(var e=function(k,l,m){c--;d[k]=l?{tw:!0,value:m}:{tw:!1,reason:m};0==c&&b(d)},f=0,h;f<a.length;f++)h=a[f],_.Mj(h,_.ki(e,f,!0),_.ki(e,f,!1));else b(d)})},Oz,Pz,Qz,Rz={LK:function(a){Oz=a;try{delete Rz.LK}catch(b){}},MK:function(a){Pz=a;try{delete Rz.MK}catch(b){}},NK:function(a){Qz=a;try{delete Rz.NK}catch(b){}}},Sz=function(a){return _.zx(a.status)},Tz=function(){var a=!0,b=_.ux(_.ix);b&&void 0!==b.withCredentials||(a=!1);
|
|
|
|
|
return a},Uz=function(a,b){if(null==b)return b;b=String(b);b.match(/^\/\/.*/)&&(b=("http:"==window.location.protocol?"http:":"https:")+b);b.match(/^\/([^\/].*)?$/)&&window.location.host&&String(window.location.protocol).match(/^https?:$/)&&(b=window.location.protocol+"//"+window.location.host+b);var c=b.match(/^(https?:)(\/\/)?(\/([^\/].*)?)?$/i);c&&window.location.host&&String(window.location.protocol).match(/^https?:$/)&&(b=c[1]+"//"+window.location.host+(c[3]||""));b=b.replace(/^(https?:\/\/[^\/?#@]*)\/$/i,
|
|
|
|
|
"$1");b=b.replace(/^(http:\/\/[-_a-z0-9.]+):0*80([\/?#].*)?$/i,"$1$2");b=b.replace(/^(https:\/\/[-_a-z0-9.]+):0*443([\/?#].*)?$/i,"$1$2");b.match(/^https?:\/\/[-_a-z0-9.]*[-_a-z][-_a-z0-9.]*$/i)&&(b=b.toLowerCase());c=_.Be("client/rewrite");_.Eb(c)&&Object.prototype.hasOwnProperty.call(c,b)?b=String(c[b]||b):(b=b.replace(/^(https?):\/\/www\.googleapis\.com$/,"$1://content.googleapis.com"),b=b.replace(/^(https?):\/\/www-(googleapis-[-_a-z0-9]+\.[-_a-z0-9]+\.google\.com)$/,"$1://content-$2"),b.match(/^https?:\/\/content(-[-_a-z0-9.]+)?\.googleapis\.com$/)||
|
|
|
|
|
(b=b.replace(/^(https?):\/\/([-_a-z0-9]+(\.[-_a-z0-9]+)?\.googleapis\.com)$/,"$1://content-$2")));a&&(a=_.Be("client/firstPartyRewrite"),_.Eb(a)&&Object.prototype.hasOwnProperty.call(a,b)?b=String(a[b]||b):(b=b.replace(/^(https?):\/\/content\.googleapis\.com$/,"$1://clients6.google.com"),b=b.replace(/^(https?):\/\/content-([-a-z0-9]+)\.([-a-z0-9]+)\.googleapis\.com$/,"$1://$2-googleapis.$3.google.com"),b=b.replace(/^(https?):\/\/content-([-a-z0-9]+)\.googleapis\.com$/,"$1://$2.clients6.google.com"),
|
|
|
|
|
b=b.replace(/^(https?):\/\/([-a-z0-9]+)-www-googleapis\.([-a-z0-9]+).google.com$/,"$1://content-googleapis-$2.$3.google.com")));return b},Kz=function(a){_.gb.call(this,a)};_.D(Kz,_.gb);Kz.prototype.name="gapix.client.GapiClientError";Lz.prototype.then=function(a,b,c){this.hg||(this.hg=this.JX());return this.hg.then(a,b,c)};Lz.prototype.bA=function(a){this.hg||(this.hg=a)};
|
|
|
|
|
var Vz=function(a){var b={},c;for(c in a)if(Object.prototype.hasOwnProperty.call(a,c)){var d=_.Og(a,c);d&&(c=_.Ng(c,d))&&_.Pg(b,c,d,!0)}return b},Wz={error:{code:-1,message:"A network error occurred and the request could not be completed."}},Xz=function(a,b,c,d){_.Bx.call(this);this.ld=a;this.fF=b;this.vd=c;a={};if(d)for(var e in d)Object.prototype.hasOwnProperty.call(d,e)&&(b=_.Og(d,e),void 0!==b&&(e=_.Mg(e,b))&&_.Pg(a,e,b));d={};for(e in a)Object.prototype.hasOwnProperty.call(a,e)&&(d[unescape(encodeURIComponent(e))]=
|
|
|
|
|
unescape(encodeURIComponent(a[e])));this.ys=d;this.hg=null};_.D(Xz,_.Bx);
|
|
|
|
|
Xz.prototype.then=function(a){this.hg||(this.hg=(new _.Fj(function(b,c){this.V("error",(0,_.J)(function(){c(Yz(this))},this));this.V("success",(0,_.J)(function(){b(Yz(this))},this));this.send(this.ld,this.fF,this.vd,this.ys)},this)).then(function(b){b.headers=Vz(b.headers);return b},function(b){return b.status?(b.headers=Vz(b.headers),_.Kj(b)):_.Kj({result:Wz,body:'{"error":{"code":-1,"message":"A network error occurred and the request could not be completed."}}',headers:null,status:null,statusText:null})}));
|
|
|
|
|
return this.hg.then.apply(this.hg,arguments)};
|
|
|
|
|
var Yz=function(a){var b=a.getStatus(),c=_.Nx(a);var d=204==b?!1:""==a.Cl?_.pf(c):_.Ox(a);var e=a.getAllResponseHeaders();e=_.Qg(e,!1);try{var f=2<_.Lx(a)?a.Ma.statusText:""}catch(h){f=""}return{result:d,body:c,headers:e,status:b,statusText:f}},Zz=/;\s*charset\s*=\s*("utf-?8"|utf-?8)\s*(;|$)/i,$z=/^(text\/[^\s;\/""]+|application\/(json(\+[^\s;\/""]*)?|([^\s;\/""]*\+)?xml))\s*(;|$)/i,aA=/;\s*charset\s*=/i,bA=/(([\r\n]{0,2}[A-Za-z0-9+\/]){4,4}){0,1024}([\r\n]{0,2}[A-Za-z0-9+\/][\r\n]{0,2}[AQgw]([\r\n]{0,2}=){2,2}|([\r\n]{0,2}[A-Za-z0-9+\/]){2,2}[\r\n]{0,2}[AEIMQUYcgkosw048][\r\n]{0,2}=|([\r\n]{0,2}[A-Za-z0-9+\/]){4,4})[\r\n]{0,2}/g,cA=
|
|
|
|
|
function(a){var b=[];a=a.replace(bA,function(c){b.push(_.ty(c));return""});if(a.length)throw Error("Fa");return b.join("")},dA=function(a){var b=a.headers;if(b&&"base64"===_.Og(b,"X-Goog-Safety-Encoding")){var c=cA(a.body),d=_.Og(b,"X-Goog-Safety-Content-Type");b["Content-Type"]=d;if(d.match(Zz)||d.match($z)&&!d.match(aA))c=_.Dv(_.$g(c));_.Pg(b,"X-Goog-Safety-Encoding");_.Pg(b,"X-Goog-Safety-Content-Type");a.body=c}},eA=function(a,b,c){c||((c=_.Be("googleapis.config/proxy"))&&(c=String(c).replace(/\/static\/proxy\.html$/,
|
|
|
|
|
"")||"/"),c=String(c||""));c||(c=_.Be("googleapis.config/root"),b&&(c=_.Be("googleapis.config/root-1p")||c),c=String(c||""));c=String(Uz(b,c)||c);return a=_.yx(c,a)},fA=function(a,b){var c=a.params||_.ie();c.url=c.path;var d=c.root;d=eA("/",_.Oh(c.headers),d);d.match(/^(.*[^\/])?\/$/)&&(d=d.substr(0,d.length-1));c.root=d;a.params=c;_.fi.fq("makeHttpRequests",[a],function(e,f){e&&e.gapiRequest?(e.gapiRequest.data?dA(e.gapiRequest.data):dA(e),b(e,_.qf(e))):b(e,f)})},gA=function(a){var b=_.rx(a,"params",
|
|
|
|
|
"headers");b&&"object"===typeof b||(b={});a={};for(var c in b)if(Object.prototype.hasOwnProperty.call(b,c)){var d=_.Og(b,c);d&&(_.Mg(c,d),_.Pg(a,c,d))}c="chrome-extension"==(window.location.href.match(_.hh)[1]||null);a=_.Oh(a);return!(c&&a)&&Tz()},hA=function(a){return new _.Fj(function(b,c){var d=function(e){e&&e.gapiRequest?e=e.gapiRequest.data||e:c(e);e={result:204!=e.status&&_.pf(e.body),body:e.body,headers:e.headers||null,status:e.status||null,statusText:e.statusText||null};Sz(e)?b(e):c(e)};
|
|
|
|
|
try{fA(a,d)}catch(e){c(e)}})},iA=function(a){var b=!_.Be("client/cors")||!!_.Be("client/xd4"),c={};_.Vl(a,function(d,e){(d=_.Mg(e,d))||b||(d=_.Lg(e));d&&(e=_.Og(a,d))&&_.Pg(c,d,e)});return c},jA=function(a){var b=a.params||_.ie();a=_.lj(b.headers||{});var c=b.httpMethod||"GET",d=String(b.url||""),e=encodeURIComponent("$unique");if(!("POST"===c||0<=_.mh(d,0,"$unique",d.search(_.nh))||0<=_.mh(d,0,e,d.search(_.nh)))){var f=[];for(h in a)Object.prototype.hasOwnProperty.call(a,h)&&f.push(h.toLowerCase());
|
|
|
|
|
f.sort();f.push(_.hg(location.href));var h=f.join(":");f=_.Gh();f.update(h);h=f.Xh().toLowerCase().substr(0,7);h=String(parseInt(h,16)%1E3+1E3).substr(1);d=_.wx(d,e,"gc"+h)}e=b.body||null;h=b.responseType||null;b=_.Oh(a)||"1p"==b.authType;f=!!_.Be("googleapis.config/auth/useUberProxyAuth");_.Pg(a,"X-Referer");a=iA(a);var k=new Xz(d,c,e,a);k.Rg=b||f;h&&(k.Cl=h);return new _.Fj(function(l,m){k.then(function(n){dA(n);l(n)},function(n){m(n)})})},kA=function(a,b){var c=function(d){d=_.lj(d);delete d.result;
|
|
|
|
|
d={gapiRequest:{data:d}};b&&b(d,_.qf(d))};jA(a).then(c,c)},lA=function(a,b){(_.Be("client/cors")||_.Be("client/xd4"))&&gA(a)?kA(a,b):fA(a,b)},mA=function(a){this.Dt=a;this.Kf=!1;this.promise={then:(0,_.J)(function(b,c,d){this.Kf||(this.Kf=!0);this.Ct&&!this.At?this.Dt.resolve(this.Ct):this.At&&!this.Ct&&this.Dt.reject(this.At);return this.Dt.promise.then(b,c,d)},this)}};mA.prototype.resolve=function(a){this.Kf?this.Dt.resolve(a):this.Ct||this.At||(this.Ct=a)};
|
|
|
|
|
mA.prototype.reject=function(a){this.Kf?this.Dt.reject(a):this.Ct||this.At||(this.At=a)};
|
|
|
|
|
var nA=function(a){a=_.sx(a.error);return{code:a.code,data:a.errors,message:a.message}},oA=function(a){throw Error("Ia`"+a);};
|
|
|
|
|
var pA=function(a){Lz.call(this,pA.prototype.vn);if(!a||"object"!=typeof a&&"string"!=typeof a)throw new Kz("Missing required parameters");if("string"===typeof a){var b={};b.path=a}else b=a;if(!b.path)throw new Kz('Missing required parameter: "path"');this.Kh={};this.Kh.path=b.path;this.Kh.method=b.method||"GET";this.Kh.params=b.params||{};this.Kh.headers=b.headers||{};this.Kh.body=b.body;this.Kh.root=b.root;this.Kh.responseType=b.responseType;this.Kh.apiId=b.apiId;this.Tl=b.authType||"auto";this.W0=
|
|
|
|
|
!!b.isXd4;this.TO=!1;this.Pi(this.Tl);this.YQ=!1};_.D(pA,Lz);pA.prototype.Ge=function(){return this.Kh};pA.prototype.Pi=function(a){this.Tl=a;this.TO="1p"===this.Tl};pA.prototype.bs=function(){return this.TO};
|
|
|
|
|
pA.prototype.Lj=function(){if(!this.YQ){this.YQ=!0;var a=this.Kh,b=a.headers=a.headers||{},c=[],d=[];for(h in b)if(Object.prototype.hasOwnProperty.call(b,h)){c.push(h);var e=h,f=_.Og(b,e);f&&(e=_.Mg(e,f)||_.Lg(e))&&d.push([e,f])}var h=0;for(e=c.length;h<e;++h)delete b[c[h]];c=0;for(h=d.length;c<h;++c)_.Pg(b,d[c][0],d[c][1]);if(this.W0)d="1p"==this.Tl;else{d=b;c=String(_.Be("client/version","1.1.0"));h=String(_.Be("client/name","google-api-javascript-client"));h=!0===qA[h]?h:"google-api-javascript-client";
|
|
|
|
|
e=String(_.Be("client/appName",""));f=[];e&&(f.push(e),f.push(" "));f.push(h);c&&(f.push("/"),f.push(c));_.Pg(d,"X-JavaScript-User-Agent",f.join(""));_.Pg(b,"X-Requested-With","XMLHttpRequest");d=_.Og(b,"Content-Type");a.body&&!d&&_.Pg(b,"Content-Type","application/json");_.Be("client/allowExecutableResponse")||_.Pg(b,"X-Goog-Encode-Response-If-Executable","base64");(d=_.Og(b,"Content-Type"))&&"application/json"==d.toLowerCase()&&!a.params.alt&&(a.params.alt="json");(d=a.body||null)&&_.Eb(d)&&(a.body=
|
|
|
|
|
_.qf(d));a.key=a.id;b=_.ei(b,void 0,this.Tl);d=_.Oh(b);if((c=b)&&window.navigator){h=[];for(e=0;e<rA.length;e++)(f=window.navigator[rA[e]])&&h.push(encodeURIComponent(rA[e])+"="+encodeURIComponent(f));_.Pg(c,"X-ClientDetails",h.join("&"))}(c=_.Be("client/apiKey"))&&void 0===a.params.key&&(a.params.key=c);(c=_.Be("client/trace"))&&!a.params.trace&&(a.params.trace=c)}"auto"==this.Tl&&(d?this.Pi("1p"):(b=_.Og(b,"Authorization"))&&String(b).match(/^(Bearer|MAC)[ \t]/i)?this.Pi("oauth2"):this.Pi("none"));
|
|
|
|
|
if((b=String(a.path||"").match(/^(https?:\/\/[^\/?#]+)([\/?#].*)?$/i))&&!a.root)if(a.root=String(b[1]),a.path=String(b[2]||"/"),a.path.match(/^\/_ah\/api(\/.*)?$/))a.root+="/_ah/api",a.path=a.path.substr(8);else{b=_.Be("googleapis.config/root");d&&(b=_.Be("googleapis.config/root-1p")||b);b=String(b||"");c=a.root+a.path;if(h=b&&c.substr(0,b.length)===b)h=_.Yt(b),e=_.Yt(c),h=(!h.Zd&&!e.Zd||h.xg()==e.xg())&&(null==h.eg&&null==e.eg||h.eg==e.eg);h&&(a.path=c.substr(b.length),a.root=b)}b=a.params;c=_.Cg(a.path);
|
|
|
|
|
h=String(_.Be("googleapis.config/xd3")||"");18<=h.length&&"/static/proxy.html"==h.substring(h.length-18)&&(h=h.substring(0,h.length-18));h||(h="/");e=_.Cg(h);if(h!=e)throw Error("E");"/"!=h.charAt(h.length-1)&&(h+="/");c=_.yx(h,c);_.yi(c,"/")&&(c=c.substring(0,c.length-1));h=_.ie();for(var k in b)Object.prototype.hasOwnProperty.call(b,k)&&(e=encodeURIComponent(k),h[e]=b[k]);c=_.lh(c,h);a.path=c;a.root=Uz(!!d,a.root);a.url=eA(a.path,!!d,a.root)}};
|
|
|
|
|
var sA=function(a){a.Lj();var b=a.Kh;return{key:"gapiRequest",params:{id:b.id,key:b.key,url:b.url,path:b.path,httpMethod:b.method,body:b.body||"",headers:b.headers||{},urlParams:{},root:b.root,authType:a.Tl}}};pA.prototype.execute=function(a){var b=sA(this);lA(b,function(c,d){var e=c;c.gapiRequest&&(e=c.gapiRequest);e&&e.data&&(e=e.data);c=e instanceof Array?e[0]:e;if(204!=c.status&&c.body)try{var f=_.pf(c.body)}catch(h){}a&&a(f,d)})};
|
|
|
|
|
pA.prototype.vn=function(){var a=sA(this);return(_.Be("client/cors")||_.Be("client/xd4"))&&gA(a)?jA(a):hA(a)};pA.prototype.ti=function(){return this.vn()};var rA=["appVersion","platform","userAgent"],qA={"google-api-gwt-client":!0,"google-api-javascript-client":!0};pA.prototype.execute=pA.prototype.execute;pA.prototype.then=pA.prototype.then;pA.prototype.getPromise=pA.prototype.ti;
|
|
|
|
|
var tA=function(a){if(!a||"object"!=typeof a)throw new Kz("Missing rpc parameters");if(!a.method)throw new Kz("Missing rpc method");this.sz=a};tA.prototype.Gm=function(){var a=this.sz.transport;return a?a.root||null:null};tA.prototype.execute=function(a){var b=Pz();b.add(this,{id:"gapiRpc",callback:this.Ws(a)});b.execute()};
|
|
|
|
|
tA.prototype.py=function(a){var b=this.sz.method,c=String,d;(d=this.sz.apiVersion)||(d=String(b).split(".")[0],d=_.Be("googleapis.config/versions/"+b)||_.Be("googleapis.config/versions/"+d)||"v1",d=String(d));a={jsonrpc:"2.0",id:a,method:b,apiVersion:c(d)};(b=this.sz.rpcParams)&&(a.params=b);return a};
|
|
|
|
|
tA.prototype.Ws=function(a){return function(b,c){if(b)if(b.error){var d=b.error;null==d.error&&(d.error=_.lj(b.error))}else d=b.result||b.data,_.Eb(d)&&null==d.result&&(d.result=_.lj(b.result||b.data));else d=!1;a(d,c)}};tA.prototype.execute=tA.prototype.execute;
|
|
|
|
|
var vA=function(a,b){this.de=b||0;2==this.de?(b=null,null!=a&&_.Eb(a)&&(b={},b.method=a.method,b.rpcParams=a.rpcParams,b.transport=a.transport,b.root=a.root,b.apiVersion=a.apiVersion,b.authType=a.authType),this.ob=new tA(b)):(0==this.de&&(b=a&&a.callback)&&(a.callback=uA(b)),b=null,null!=a&&(_.Eb(a)?(b={},b.path=a.path,b.method=a.method,b.params=a.params,b.headers=a.headers,b.body=a.body,b.root=a.root,b.responseType=a.responseType,b.authType=a.authType,b.apiId=a.apiId):"string"===typeof a&&(b=a)),
|
|
|
|
|
this.ob=new pA(b))},uA=function(a){return function(b){if(null!=b&&_.Eb(b)&&b.error){var c=nA(b);b=_.qf([{id:"gapiRpc",error:c}]);c.error=_.sx(c)}else null==b&&(b={}),c=_.sx(b),c.result=_.sx(b),b=_.qf([{id:"gapiRpc",result:b}]);a(c,b)}};_.g=vA.prototype;_.g.getFormat=function(){return this.de};_.g.execute=function(a){this.ob.execute(a&&1==this.de?uA(a):a)};_.g.then=function(a,b,c){2==this.de&&oA('The "then" method is not available on this object.');return this.ob.then(a,b,c)};
|
|
|
|
|
_.g.bA=function(a){this.ob.bA&&this.ob.bA(a)};_.g.Ge=function(){if(this.ob.Ge)return this.ob.Ge()};_.g.Lj=function(){this.ob.Ge&&this.ob.Lj()};_.g.Gm=function(){if(this.ob.Gm)return this.ob.Gm()};_.g.py=function(a){if(this.ob.py)return this.ob.py(a)};_.g.Pi=function(a){this.ob.Pi&&this.ob.Pi(a)};_.g.bs=function(){return this.ob.bs()};_.g.ti=function(){if(this.ob.ti)return this.ob.ti()};vA.prototype.execute=vA.prototype.execute;vA.prototype.then=vA.prototype.then;vA.prototype.getPromise=vA.prototype.ti;
|
|
|
|
|
var wA=/<response-(.*)>/,xA=/^application\/http(;.+$|$)/,yA=["clients6.google.com","content.googleapis.com","www.googleapis.com"],zA=function(a,b){a=_.Og(a,b);if(!a)throw new Kz("Unable to retrieve header.");return a},AA=function(a){var b=void 0;a=_.pa(a);for(var c=a.next();!c.done;c=a.next()){c=c.value.Ge().apiId;if("string"!==typeof c)return"batch";if(void 0===b)b=c;else if(b!=c)return"batch"}b=_.Be("client/batchPath/"+b)||"batch/"+b.split(":").join("/");return String(b)},BA=function(a){a=a.map(function(b){return b.request});
|
|
|
|
|
return AA(a)},CA=function(a,b){var c=[];a=a.Ge();var d=function(f,h){_.Vl(f,function(k,l){h.push(l+": "+k)})},e={"Content-Type":"application/http","Content-Transfer-Encoding":"binary"};e["Content-ID"]="<"+b+">";d(e,c);c.push("");c.push(a.method+" "+a.path);d(a.headers,c);c.push("");a.body&&c.push(a.body);return c.join("\r\n")},FA=function(a,b){a=DA(a,b);var c={};_.mb(a,function(d,e){c[e]=EA(d,e)});return c},EA=function(a,b){return{result:a.result||a.body,rawResult:_.qf({id:b,result:a.result||a.body}),
|
|
|
|
|
id:b}},DA=function(a,b){a=(0,_.lc)(a);_.yi(a,"--")&&(a=a.substring(0,a.length-2));a=a.split(b);b=_.ie();for(var c=0;c<a.length;c++)if(a[c]){var d;if(d=a[c]){_.yi(d,"\r\n")&&(d=d.substring(0,d.length-2));if(d){d=d.split("\r\n");for(var e=0,f={headers:{},body:""};e<d.length&&""==d[e];)e++;for(f.outerHeaders=GA(d,e);e<d.length&&""!=d[e];)e++;e++;var h=d[e++].split(" ");f.status=Number(h[1]);f.statusText=h.slice(2).join(" ");for(f.headers=GA(d,e);e<d.length&&""!=d[e];)e++;e++;f.body=d.slice(e).join("\r\n");
|
|
|
|
|
dA(f);d=f}else d=null;e=_.ie();f=zA(d.outerHeaders,"Content-Type");if(null==xA.exec(f))throw new Kz("Unexpected Content-Type <"+f+">");f=zA(d.outerHeaders,"Content-ID");f=wA.exec(f);if(!f)throw new Kz("Unable to recognize Content-Id.");e.id=decodeURIComponent(f[1].split("@")[0].replace(/^.*[+]/,""));e.response={status:d.status,statusText:d.statusText,headers:d.headers};204!=d.status&&(e.response.body=d.body,e.response.result=_.pf(d.body));d=e}else d=null;d&&d.id&&(b[d.id]=d.response)}return b},GA=
|
|
|
|
|
function(a,b){for(var c=[];b<a.length&&a[b];b++)c.push(a[b]);return _.Qg(c.join("\r\n"),!1)},HA=function(a,b,c){a=a||b;if(!a||"https"!==_.Yt(a).Lh)if(a=c?_.Be("googleapis.config/root-1p"):_.Be("googleapis.config/root"),!a)return!1;a=Uz(c,String(a))||a;return yA.includes(_.Yt(a).xg())};
|
|
|
|
|
var IA=function(a){Lz.call(this,IA.prototype.vn);this.vj={};this.qv={};this.Al=[];this.Te=a;this.w1=!!a;this.aO=this.ux=!1};_.D(IA,Lz);var JA=function(a,b){a=_.pa(Object.values(a.vj));for(var c=a.next();!c.done;c=a.next())if(c.value.map(function(d){return d.id}).includes(b))return!0;return!1};IA.prototype.ko=function(a){(function(b){setTimeout(function(){throw b;})})(a)};
|
|
|
|
|
IA.prototype.add=function(a,b){var c=b||_.ie();b=_.ie();if(!a)throw new Kz("Batch entry "+(_.je(c,"id")?'"'+c.id+'" ':"")+"is missing a request method");a.Lj();b.request=a;var d=_.Pj();d=new mA(d);b.pz=d;a.bA(b.pz.promise);d=a.Ge().headers;_.Oh(d)&&(this.ux=!0);(d=String((d||{}).Authorization||"")||null)&&d.match(/^Bearer|MAC[ \t]/i)&&(this.aO=!0);d=a.Ge().root;if(!this.w1){if(d&&this.Te&&d!=this.Te)throw new Kz('The "root" provided in this request is not consistent with that of existing requests in the batch.');
|
|
|
|
|
this.Te=d||this.Te}if(_.je(c,"id")){d=c.id;if(JA(this,d))throw new Kz('Batch ID "'+d+'" already in use, please use another.');b.id=d}else{do b.id=String(Math.round(2147483647*_.Yh()));while(JA(this,b.id))}b.callback=c.callback;c="batch";HA(this.Te,a.Ge().path,this.ux)&&(c=BA([b]));this.vj[c]=this.vj[c]||[];this.vj[c].push(b);this.qv[b.id]=b;return b.id};
|
|
|
|
|
var KA=function(a){var b=[],c=HA(a.Te,void 0,a.ux);1<Object.entries(a.vj).length&&_.uf.warn("Heterogeneous batch requests are deprecated. See https://developers.googleblog.com/2018/03/discontinuing-support-for-json-rpc-and.html");for(var d=_.pa(Object.entries(a.vj)),e=d.next();!e.done;e=d.next()){e=_.pa(e.value);var f=e.next().value;e=e.next().value;for(var h=!0,k=_.pa(e),l=k.next();!l.done;l=k.next())l=l.value,l.request.Lj(),"batch"===f&&c&&(h=!1,l.O0=!0,l.request.Ge.root=a.Te,b.push(l.request),
|
|
|
|
|
a.Al.push([l]));if(h){f=a.Te;h=a.ux;k=a.aO;l="batch"+String(Math.round(2147483647*_.Yh()))+String(Math.round(2147483647*_.Yh()));var m="--"+l;l="multipart/mixed; boundary="+l;for(var n={path:BA(e),method:"POST"},q=[],p=0;p<e.length;p++)q.push(CA(e[p].request,[m.substr(m.indexOf("--")+2),"+",encodeURIComponent(e[p].id).split("(").join("%28").split(")").join("%29").split(".").join("%2E"),"@googleapis.com"].join("")));n.body=[m,q.join("\r\n"+m+"\r\n"),m+"--"].join("\r\n")+"\r\n";n.root=f||null;_.Be("client/xd4")&&
|
|
|
|
|
Tz()?(n.isXd4=!0,n.params={$ct:l},n.headers={},_.Pg(n.headers,"Content-Type","text/plain; charset=UTF-8"),h?n.authType="1p":k&&(n.authType="oauth2"),f=new pA(n)):(n.headers={},_.Pg(n.headers,"Content-Type",l),f=Qz(n));b.push(f);a.Al.push(e)}}return b};
|
|
|
|
|
IA.prototype.execute=function(a){if(!(1>Object.keys(this.vj).length)){var b=this.Ws(a);a=KA(this);var c=[],d=a.map(function(e){return new _.Fj(function(f){try{e.execute(function(h,k){return f({JK:h,g3:k})})}catch(h){c.push(h),f({JK:{tw:!1,reason:h}})}})});if(0<c.length&&c.length===a.length)throw c[0];_.Nj(d).then(function(e){var f=e.map(function(h){return h.g3});e=e.map(function(h){return h.JK});b(e,f)})}};
|
|
|
|
|
IA.prototype.vn=function(){var a=this;if(1>Object.keys(this.vj).length)return _.Jj({});var b=KA(this).map(function(c){return new _.Fj(function(d,e){return c.ti().then(d,e)})});return Nz(b).then(function(c){c=c.map(function(d){return d.tw?d.value:d});return LA(a,c,!0)})};
|
|
|
|
|
var LA=function(a,b,c,d,e){for(var f=!1,h={},k,l=0,m=0;m<b.length;m++){var n=b[m];if(!1===n.tw){l++;b[m]=n.reason;for(var q=MA([b[m]]),p=_.pa(a.Al[m]),t=p.next();!t.done;t=p.next())h[t.value.id]=q}else{if(1>a.Al[m].length)throw new Kz("Error processing batch responses.");try{var v=!(1===a.Al[m].length&&a.Al[m][0].O0),r=a.Al[m][0].id;if(!c){t=n;var w=d[m];q=t;if(w&&(!q||!v)){var A=_.pf(w);A&&(q=A.gapiRequest?A.gapiRequest.data:A,!v&&t&&(q.body=t))}if(!q)throw new Kz("The batch response is missing.");
|
|
|
|
|
n=q}t=void 0;if(q=n){var B=q.headers;if(B){var F=_.ie();for(t in B)if(Object.prototype.hasOwnProperty.call(B,t)){var x=_.Og(B,t);_.Pg(F,t,x,!0)}q.headers=F}}if(v&&0!=zA(n.headers,"Content-Type").indexOf("multipart/mixed"))throw new Kz("The response's Content-Type is not multipart/mixed.");k=k||_.sx(n);var G=Sz(n);G&&!Sz(k)&&(k.status=n.status,k.statusText=n.statusText);if(G||c||!v){f=!0;t=Object;var N=t.assign;q=h;p=a;var W=n,K=c;n={};if(v){K=K?DA:FA;var I=zA(W.headers,"Content-Type").split("boundary=")[1];
|
|
|
|
|
if(!I)throw new Kz("Boundary not indicated in response.");n=K(W.body,"--"+I)}else K?(W.result=_.pf(W.body),n[r]=W):n[r]=EA(W,r);W={};for(var U=_.pa(Object.entries(n)),ea=U.next();!ea.done;ea=U.next()){var ua=_.pa(ea.value),ra=ua.next().value,Fa=ua.next().value;W[ra]=Fa;if(!p.qv[ra])throw new Kz("Could not find batch entry for id "+ra+".");}h=N.call(t,q,W)}}catch(Da){for(l++,b[m]=Da,q=MA([Da]),p=_.pa(a.Al[m]),t=p.next();!t.done;t=p.next())h[t.value.id]=q}}}if(l===b.length){d=MA(b);h=_.qf(d);k=0;a=
|
|
|
|
|
Array.from(Object.values(a.vj)).flat();f=_.pa(a);for(l=f.next();!l.done;l=f.next())if(l=l.value,c)l.pz.reject(d);else if(l.callback)try{k++,l.callback(d,h)}catch(Da){IA.prototype.ko(Da)}if(e)try{e(d,h)}catch(Da){IA.prototype.ko(Da)}else if(k!==a.length)throw 1===b.length?b[0]:d;}else{if(f)for(f=_.pa(Object.entries(h)),l=f.next();!l.done;l=f.next())if(l=_.pa(l.value),m=l.next().value,l=l.next().value,c)m=a.qv[m],l&&Sz(l)?m.pz.resolve(l):m.pz.reject(l);else if(m=a.qv[m],m.callback){if(l&&l.rawResult)try{delete l.rawResult}catch(Da){}try{m.callback(l||
|
|
|
|
|
!1,_.qf(l))}catch(Da){IA.prototype.ko(Da)}}k.result=h||{};k.body=1===b.length?k.body:"";if(e)try{e(h||null,1===d.length?d[0]:null)}catch(Da){IA.prototype.ko(Da)}return k}},MA=function(a){var b={error:{code:0,message:"The batch request could not be fulfilled. "}};a=_.pa(a);for(var c=a.next();!c.done;c=a.next())(c=c.value)&&c.message||c instanceof Error&&c.message?b.error.message+=(c.message||c instanceof Error&&c.message)+" ":c&&c.error&&c.error.message&&(b.error.message+=c.error.message+" ",b.error.code=
|
|
|
|
|
c.error.code||b.error.code||0);b.error.message=b.error.message.trim();return{result:b,body:_.qf(b),headers:null,status:null,statusText:null}};IA.prototype.Ws=function(a){var b=this;return function(c,d){b.BB(c,d,a)}};IA.prototype.BB=function(a,b,c){LA(this,a,!1,b,c)};IA.prototype.add=IA.prototype.add;IA.prototype.execute=IA.prototype.execute;IA.prototype.then=IA.prototype.then;
|
|
|
|
|
var NA=function(){this.Ak=[];this.Te=this.Qe=null};
|
|
|
|
|
NA.prototype.add=function(a,b){b=b||{};var c={},d=Object.prototype.hasOwnProperty;if(a)c.An=a;else throw new Kz("Batch entry "+(d.call(b,"id")?'"'+b.id+'" ':"")+"is missing a request method");if(d.call(b,"id")){a=b.id;for(d=0;d<this.Ak.length;d++)if(this.Ak[d].id==a)throw new Kz('Batch ID "'+a+'" already in use, please use another.');c.id=a}else{do c.id=String(2147483647*_.Yh()|0);while(d.call(this.Ak,c.id))}c.callback=b.callback;this.Ak.push(c);return c.id};
|
|
|
|
|
var OA=function(a){return function(b){var c=b.body;if(b=b.result){for(var d={},e=0,f=b.length;e<f;++e)d[b[e].id]=b[e];a(d,c)}else a(b,c)}};
|
|
|
|
|
NA.prototype.execute=function(a){this.Qe=[];for(var b,c,d=0;d<this.Ak.length;d++)b=this.Ak[d],c=b.An,this.Qe.push(c.py(b.id)),this.Te=c.Gm()||this.Te;c=this.Ws(a);a={requests:this.Qe,root:this.Te};b={};d=a.headers||{};for(var e in d){var f=e;if(Object.prototype.hasOwnProperty.call(d,f)){var h=_.Og(d,f);h&&(f=_.Mg(f,h)||_.Lg(f))&&_.Pg(b,f,h)}}_.Pg(b,"Content-Type","application/json");e=OA(c);Qz({method:"POST",root:a.root||void 0,path:"/rpc",params:a.urlParams,headers:b,body:a.requests||[]}).then(e,
|
|
|
|
|
e)};NA.prototype.Ws=function(a){var b=this;return function(c,d){b.BB(c,d,a)}};NA.prototype.BB=function(a,b,c){a||(a={});for(var d=0;d<this.Ak.length;d++){var e=this.Ak[d];e.callback&&e.callback(a[e.id]||!1,b)}c&&c(a,b)};Rz.MK(function(){return new NA});NA.prototype.add=NA.prototype.add;NA.prototype.execute=NA.prototype.execute;
|
|
|
|
|
var PA=function(a,b){this.G2=a;this.de=b||null;this.ef=null};PA.prototype.wE=function(a){this.de=a;this.ef=2==this.de?new NA:new IA(this.G2)};PA.prototype.add=function(a,b){if(!a)throw a=b||_.ie(),new Kz("Batch entry "+(_.je(a,"id")?'"'+a.id+'" ':"")+"is missing a request method");null===this.de&&this.wE(a.getFormat());this.de!==a.getFormat()&&oA("Unable to add item to batch.");var c=b&&b.callback;1==this.de&&c&&(b.callback=function(d){d=QA(d);var e=_.qf([d]);c(d,e)});return this.ef.add(a,b)};
|
|
|
|
|
PA.prototype.execute=function(a){var b=a&&1==this.de?function(c){var d=[];_.Vl(c,function(f,h){f=QA(f);c[h]=f;d.push(f)});var e=_.qf(d);a(c,e)}:a;this.ef&&this.ef.execute(b)};var QA=function(a){var b=a?_.rx(a,"result"):null;_.Eb(b)&&null!=b.error&&(b=nA(b),a={id:a.id,error:b});return a};PA.prototype.then=function(a,b,c){2==this.de&&oA('The "then" method is not available on this object.');return this.ef.then(a,b,c)};PA.prototype.add=PA.prototype.add;PA.prototype.execute=PA.prototype.execute;
|
|
|
|
|
PA.prototype.then=PA.prototype.then;
|
|
|
|
|
var RA=function(a){Lz.call(this,RA.prototype.vn);this.ob=a};_.D(RA,Lz);var SA=function(a){a.ob.Lj();var b=a.ob,c=b.Ge();return!(HA(c.root,c.path,a.ob.bs())?"batch"!==AA([b]):1)};_.g=RA.prototype;
|
|
|
|
|
_.g.execute=function(a){var b=this;if(SA(this))this.ob.execute(a);else{var c=function(d){if("function"===typeof a){var e={gapiRequest:{data:{status:d&&d.status,statusText:d&&d.statusText,headers:d&&d.headers,body:d&&d.body}}};if(1===b.getFormat()){a=uA(a);var f={}}var h=d?d.result:!1;d&&204==d.status&&(h=f,delete e.gapiRequest.data.body);a(h,_.qf(e))}};this.ti().then(c,c)}};
|
|
|
|
|
_.g.vn=function(){return SA(this)?this.ob.ti():new _.Fj(function(a,b){var c=Oz(),d=c.add(this.ob,{id:"gapiRequest"});c.then(function(e){var f=e.result;if(f&&(f=f[d])){Object.prototype.hasOwnProperty.call(f,"result")||(f.result=!1);Object.prototype.hasOwnProperty.call(f,"body")||(f.body="");Sz(f)?a(f):b(f);return}b(e)},b)},this)};_.g.Ge=function(){if(this.ob.Ge)return this.ob.Ge()};_.g.Lj=function(){this.ob.Lj&&this.ob.Lj()};_.g.Gm=function(){if(this.ob.Gm)return this.ob.Gm()};
|
|
|
|
|
_.g.Pi=function(a){this.ob.Pi&&this.ob.Pi(a)};_.g.bs=function(){return this.ob.bs()};_.g.getFormat=function(){return this.ob.getFormat?this.ob.getFormat():0};_.g.ti=function(){return this.vn()};RA.prototype.execute=RA.prototype.execute;RA.prototype.then=RA.prototype.then;RA.prototype.getPromise=RA.prototype.ti;
|
|
|
|
|
var TA="/rest?fields="+encodeURIComponent("kind,name,version,rootUrl,servicePath,resources,parameters,methods,batchPath,id")+"&pp=0",UA=function(a,b){return"/discovery/v1/apis/"+(encodeURIComponent(a)+"/"+encodeURIComponent(b)+TA)},WA=function(a,b,c,d){if(_.Eb(a)){var e=a;var f=a.name;a=a.version||"v1"}else f=a,a=b;if(!f||!a)throw new Kz("Missing required parameters.");var h=c||function(){},k=_.Eb(d)?d:{};c=function(l){var m=l&&l.result;if(!m||m.error||!m.name||!l||l.error||l.message||l.message)h(m&&
|
|
|
|
|
m.error?m:l&&(l.error||l.message||l.message)?l:new Kz("API discovery response missing required fields."));else{l=k.root;l=null!=m.rootUrl?String(m.rootUrl):l;l="string"===typeof l?l.replace(/([^\/])\/$/,"$1"):void 0;k.root=l;m.name&&m.version&&!m.id&&(m.id=[m.name,m.version].join(":"));m.id&&(k.apiId=m.id,l="client/batchPath/"+m.id,m.batchPath&&!_.Be(l)&&_.Ce(l,m.batchPath));var n=m.servicePath,q=m.parameters,p=function(v){_.Vl(v,function(r){if(!(r&&r.id&&r.path&&r.httpMethod))throw new Kz("Missing required parameters");
|
|
|
|
|
var w=r.id.split("."),A=window.gapi.client,B;for(B=0;B<w.length-1;B++){var F=w[B];A[F]=A[F]||{};A=A[F]}var x,G;k&&(k.hasOwnProperty("root")&&(x=k.root),k.hasOwnProperty("apiId")&&(G=k.apiId));F=window.gapi.client[w[0]];F.zJ||(F.zJ={servicePath:n||"",parameters:q,apiId:G});w=w[B];A[w]||(A[w]=_.ki(VA,{path:"string"===typeof r.path?r.path:null,httpMethod:"string"===typeof r.httpMethod?r.httpMethod:null,parameters:r.parameters,parameterName:(r.request||{}).parameterName||"",request:r.request,root:x},
|
|
|
|
|
F.zJ))})},t=function(v){_.Vl(v,function(r){p(r.methods);t(r.resources)})};t(m.resources);p(m.methods);h.call()}};e?c({result:e}):0<f.indexOf("://")?Qz({path:f,params:{pp:0,fields:0<=("/"+f).indexOf("/discovery/v1/apis/")?"kind,name,version,rootUrl,servicePath,resources,parameters,methods,batchPath,id":'fields["kind"],fields["name"],fields["version"],fields["rootUrl"],fields["servicePath"],fields["resources"],fields["parameters"],fields["methods"],fields["batchPath"],fields["id"]'}}).then(c,c):Qz({path:UA(f,
|
|
|
|
|
a),root:d&&d.root}).then(c,c)},VA=function(a,b,c,d,e){e=void 0===e?{}:e;var f=b.servicePath||"";_.ic(f,"/")||(f="/"+f);var h=XA(a.path,[a.parameters,b.parameters],c||{});c=h.wl;var k=h.e6;f=_.yx(f,h.path);h=k.root;delete k.root;var l=a.parameterName;!l&&1==_.ot(k)&&k.hasOwnProperty("resource")&&(l="resource");if(l){var m=k[l];delete k[l]}null==m&&(m=d);null==m&&a.request&&(_.si(k)&&(k=void 0),m=k);e=e||{};l=a.httpMethod;"GET"==l&&void 0!==m&&""!=String(m)&&(_.Pg(e,"X-HTTP-Method-Override",l),l="POST");
|
|
|
|
|
if((null==m||null!=d)&&k)for(var n in k)"string"===typeof k[n]&&(c[n]=k[n]);return Qz({path:f,method:l,params:c,headers:e,body:m,root:h||a.root,apiId:b.apiId},1)},XA=function(a,b,c){c=_.lj(c);var d={};_.Ul(b,function(e){_.Vl(e,function(f,h){var k=f.required;if("path"==f.location)if(Object.prototype.hasOwnProperty.call(c,h))_.pb(a,"{"+h+"}")?(f=encodeURIComponent(String(c[h])),a=a.replace("{"+h+"}",f)):_.pb(a,"{+"+h+"}")&&(f=encodeURI(String(c[h])),a=a.replace("{+"+h+"}",f)),delete c[h];else{if(k)throw new Kz("Required path parameter "+
|
|
|
|
|
h+" is missing.");}else"query"==f.location&&Object.prototype.hasOwnProperty.call(c,h)&&(d[h]=c[h],delete c[h])})});if(b=c.trace)d.trace=b,delete c.trace;return{path:a,wl:d,e6:c}};
|
|
|
|
|
var YA=function(a,b,c,d){var e=b||"v1",f=_.Eb(d)?d:{root:d};if(c)WA(a,e,function(h){if(h)if(h.error)c(h);else{var k="API discovery was unsuccessful.";if(h.message||h.message)k=h.message||h.message;c({error:k,code:0})}else c()},f);else return new _.Fj(function(h,k){var l=function(m){m?k(m):h()};try{WA(a,e,l,f)}catch(m){k(m)}})},ZA=new RegExp(/^((([Hh][Tt][Tt][Pp][Ss]?:)?\/\/[^\/?#]*)?\/)?/.source+/(_ah\/api\/)?(batch|rpc)(\/|\?|#|$)/.source),$A=function(a,b){if(!a)throw new Kz("Missing required parameters");
|
|
|
|
|
var c="object"===typeof a?a:{path:a};a=c.callback;delete c.callback;b=new vA(c,b);if(c=!!_.Be("client/xd4")&&Tz()){var d=b.Ge();c=d.path;(d=d.root)&&"/"!==d.charAt(d.length-1)&&(d+="/");d&&c&&c.substr(0,d.length)===d&&(c=c.substr(d.length));c=!c.match(ZA)}c&&(b=new RA(b));return a?(b.execute(a),null):b};Rz.NK(function(a){return $A.apply(null,arguments)});
|
|
|
|
|
var aB=function(a,b){if(!a)throw new Kz("Missing required parameters");for(var c=a.split("."),d=window.gapi.client,e=0;e<c.length-1;e++){var f=c[e];d[f]=d[f]||{};d=d[f]}c=c[c.length-1];if(!d[c]){var h=b||{};d[c]=function(k){var l="string"==typeof h?h:h.root;k&&k.root&&(l=k.root);return new vA({method:a,apiVersion:h.apiVersion,rpcParams:k,transport:{name:"googleapis",root:l}},2)}}},nB=function(a){return new PA(a)};Rz.LK(function(a){return nB.apply(null,arguments)});
|
|
|
|
|
var yB=function(a){if(_.Ch.JSONRPC_ERROR_MOD)throw new Kz(a+" is discontinued. See https://developers.googleblog.com/2018/03/discontinuing-support-for-json-rpc-and.html");_.uf.log(a+" is deprecated. See https://developers.google.com/api-client-library/javascript/reference/referencedocs")};
|
|
|
|
|
_.u("gapi.client.init",function(a){a.apiKey&&_.Ce("client/apiKey",a.apiKey);var b=_.Qb(a.discoveryDocs||[],function(d){return YA(d)});if((a.clientId||a.client_id)&&a.scope){var c=new _.Fj(function(d,e){var f=function(){_.Ya.gapi.auth2.init.call(_.Ya.gapi.auth2,a).then(function(){d()},e)};Mz?f():_.Ya.gapi.load("auth2",{callback:function(){f()},onerror:function(h){e(h||Error("Ja"))}})});b.push(c)}else(a.clientId||a.client_id||a.scope)&&_.uf.log("client_id and scope must both be provided to initialize OAuth.");
|
|
|
|
|
return _.Nj(b).then(function(){})});_.u("gapi.client.load",YA);_.u("gapi.client.newBatch",nB);_.u("gapi.client.newRpcBatch",function(){yB("gapi.client.newRpcBatch");return nB()});_.u("gapi.client.newHttpBatch",function(a){yB("gapi.client.newHttpBatch");return new PA(a,0)});_.u("gapi.client.register",function(a,b){yB("gapi.client.register");var c;b&&(c={apiVersion:b.apiVersion,root:b.root});aB(a,c)});_.u("gapi.client.request",$A);
|
|
|
|
|
_.u("gapi.client.rpcRequest",function(a,b,c){yB("gapi.client.rpcRequest");if(!a)throw new Kz('Missing required parameter "method".');return new vA({method:a,apiVersion:b,rpcParams:c,transport:{name:"googleapis",root:c&&c.root||""}},2)});_.u("gapi.client.setApiKey",function(a){_.Ce("client/apiKey",a);_.Ce("googleapis.config/developerKey",a)});_.u("gapi.client.setApiVersions",function(a){yB("gapi.client.setApiVersions");_.Ce("googleapis.config/versions",a)});_.u("gapi.client.getToken",function(a){return _.Rh(a)});
|
|
|
|
|
_.u("gapi.client.setToken",function(a,b){a?_.Fv(a,b):_.Gv(b)});_.u("gapi.client.AuthType",{O6:"auto",NONE:"none",C$:"oauth2",J8:"1p"});_.u("gapi.client.AuthType.AUTO","auto");_.u("gapi.client.AuthType.NONE","none");_.u("gapi.client.AuthType.OAUTH2","oauth2");_.u("gapi.client.AuthType.FIRST_PARTY","1p");
|
|
|
|
|
|
|
|
|
|
});
|
|
|
|
|
// Google Inc.
|