"X-Cloudaicompanion-Trace-Id",qoa:"X-Compass-Routing-Destination",toa:"X-Goog-AuthUser",xoa:"X-Goog-Encode-Response-If-Executable",roa:"X-Google-Consent",soa:"X-Google-EOM",zoa:"X-Goog-Meeting-ABR",
Aoa:"X-Goog-Meeting-Botguardid",Boa:"X-Goog-Meeting-Bot-Info",Coa:"X-Goog-Meeting-ClientInfo",Doa:"X-Goog-Meeting-ClientVersion",Eoa:"X-Goog-Meeting-Debugid",Foa:"X-Goog-Meeting-Identifier",Goa:"X-Goog-Meeting-Interop-Cohorts",Hoa:"X-Goog-Meeting-Interop-Type",Ioa:"X-Goog-Meeting-OidcIdToken",Joa:"X-Goog-Meeting-RtcClient",Koa:"X-Goog-Meeting-StartSource",Loa:"X-Goog-Meeting-Token",Moa:"X-Goog-Meeting-Viewer-Token",Noa:"X-Goog-PageId",Poa:"X-Goog-Safety-Content-Type",Qoa:"X-Goog-Safety-Encoding",
voa:"X-Goog-Drive-Client-Version",woa:"X-Goog-Drive-Resource-Keys",Roa:"X-HTTP-Method-Override",Soa:"X-JavaScript-User-Agent",Toa:"X-Origin",Uoa:"X-Referer",Voa:"X-Requested-With",Yoa:"X-Use-HTTP-Status-Code-Override",Woa:"X-Server-Timeout",yoa:"X-Goog-First-Party-Reauth",Xoa:"X-Server-Token",uoa:"x-goog-chat-space-id",Ooa:"x-goog-pan-request-context",noa:"X-AppInt-Credentials"},Mg="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-Client-Pctx X-ClientDetails X-Client-Version x-debug-settings-metadata 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-Google-EOM X-Goog-Visibilities X-Goog-Correlation-Id X-Goog-Request-Info X-Goog-Request-Reason X-Goog-Request-Time X-Goog-Experiments x-goog-ext-124712974-jspb x-goog-ext-251363160-jspb x-goog-ext-525002765-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-ext-353267353-jspb x-goog-ext-496773601-bin x-goog-ext-328800237-bin x-goog-ext-359275022-bin x-goog-ext-202735639-bin x-goog-ext-223435598-bin x-goog-ext-174067345-bin x-goog-ext-525001598-jspb x-goog-ext-519733851-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-goog-maps-api-salt x-goog-maps-api-signature x-goog-maps-client-id x-goog-maps-channel-id x-goog-maps-solution-id x-goog-maps-session-id x-goog-gmp-client-signals x-goog-spanner-database-role 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-Places-Ios-Sdk X-Android-Package X-Android-Cert X-Places-Android-Sdk X-Goog-Maps-Ios-Uuid X-Goog-Maps-Android-Uuid 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-Bootstrap-Logged-In X-Youtube-Client-Version X-Youtube-Lava-Device-Context X-YouTube-VVT X-YouTube-Page-CL X-YouTube-Page-Label X-YouTube-Page-Timestamp X-Compass-Routing-Destination X-Goog-Meeting-ABR X-Goog-Meeting-Botguardid X-Goog-Meeting-Bot-Info 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-OidcIdToken X-Goog-Meeting-RtcClient X-Goog-Meeting-StartSource X-Goog-Meeting-Token X-Goog-Meeting-Viewer-Token x-sdm-id-token X-Sfdc-Authorization X-Server-Timeout x-foyer-client-environment X-Goog-First-Party-Reauth X-Server-Token x-rfui-request-context x-goog-chat-space-id x-goog-nest-jwt X-Cloud-Trace-Context traceparent x-goog-pan-request-context X-AppInt-Credentials".split(" "),
Ng="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-Google-Consent X-Google-EOM 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-Cloudaicompanion-Trace-Id X-Goog-Meeting-ABR X-Goog-Meeting-Botguardid X-Goog-Meeting-Bot-Info X-Goog-Meeting-ClientInfo X-Goog-Meeting-ClientVersion X-Goog-Meeting-Debugid X-Goog-Meeting-Identifier X-Goog-Meeting-RtcClient X-Goog-Meeting-Token X-Goog-Meeting-Viewer-Token X-Compass-Routing-Destination".split(" ");var Og,Pg,Qg,Rg,Tg,Ug,Vg,Wg,Xg,Yg,Zg,$g;Og=null;Pg=null;Qg=null;Rg=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);e>=65&&e<=90&&(e+=32);f>=65&&f<=90&&(f+=32);if(e!=f)return!1}return!0};
_.Sg=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(h>=55296&&h<=56319&&e+1<d){var k=a.charAt(e+1),l=a.charCodeAt(e+1);l>=56320&&l<=57343&&(f+=k,h=65536+(h-55296<<10)+(l-56320),++e)}if(!(h>=0&&h<=1114109)||h>=55296&&h<=57343||h>=64976&&h<=65007||(h&65534)==65534)h=65533,f=String.fromCharCode(h);k=!(h>=32&&h<=126)||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),l>=0&&l<=255?(h=l,f=h==0?"":"%"+(256+l).toString(16).toUpperCase().substr(1),e+=2):k=!0));k&&(f=encodeURIComponent(f),f.length<=1&&(h>=0&&h<=127?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==".."?(c.length>0&&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};Tg={"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};
Ug={"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};
Vg=function(a){if(!_.Ab(a))return null;for(var b={},c=0;c<a.length;c++){var d=a[c];if(typeof d==="string"&&d){var e=d.toLowerCase();Rg(d,e)&&(b[e]=d)}}for(var f in Lg)Object.prototype.hasOwnProperty.call(Lg,f)&&(a=Lg[f],c=a.toLowerCase(),Rg(a,c)&&Object.prototype.hasOwnProperty.call(b,c)&&(b[c]=a));return b};Wg=new RegExp("("+/[\t -~\u00A0-\u2027\u202A-\uD7FF\uE000-\uFFFF]/.source+"|"+/[\uD800-\uDBFF][\uDC00-\uDFFF]/.source+"){1,100}","g");Xg=/[ \t]*(\r?\n[ \t]+)+/g;Yg=/^[ \t]+|[ \t]+$/g;
Zg=function(a,b){if(!b&&typeof a==="object"&&a&&typeof a.length==="number"){b=a;a="";for(var c=b.length,d=0;d<c;++d){var e=Zg(b[d],!0);e&&(a&&(e=a+", "+e),a=e)}}if(typeof a==="string"&&(a=a.replace(Xg," "),a=a.replace(Yg,""),a.replace(Wg,"")==""&&a))return a};$g=/^[-0-9A-Za-z!#\$%&'\*\+\.\^_`\|~]+$/g;
_.ah=function(a){if(typeof a!=="string"||!a||!a.match($g))return null;a=a.toLowerCase();if(Qg==null){var b=[],c=_.Qe("googleapis/headers/response");c&&typeof c==="object"&&typeof c.length==="number"||(c=null);c!=null&&(b=b.concat(c));(c=_.Qe("client/headers/response"))&&typeof c==="object"&&typeof c.length==="number"||(c=null);c!=null&&(b=b.concat(c));b=b.concat(Ng);(c=_.Qe("googleapis/headers/request"))&&typeof c==="object"&&typeof c.length==="number"||(c=null);c!=null&&(b=b.concat(c));(c=_.Qe("client/headers/request"))&&
typeof c==="object"&&typeof c.length==="number"||(c=null);c!=null&&(b=b.concat(c));b=b.concat(Mg);for(var d in Lg)Object.prototype.hasOwnProperty.call(Lg,d)&&b.push(Lg[d]);Qg=Vg(b)}return Qg!=null&&Qg.hasOwnProperty(a)?Qg[a]:a};
_.bh=function(a,b){if(!_.ah(a)||!Zg(b))return null;a=a.toLowerCase();if(a.match(/^x-google|^x-gfe|^proxy-|^sec-/i)||Ug[a])return null;if(Og==null){b=[];var c=_.Qe("googleapis/headers/request");c&&typeof c==="object"&&typeof c.length==="number"||(c=null);c!=null&&(b=b.concat(c));(c=_.Qe("client/headers/request"))&&typeof c==="object"&&typeof c.length==="number"||(c=null);c!=null&&(b=b.concat(c));b=b.concat(Mg);Og=Vg(b)}return Og!=null&&Og.hasOwnProperty(a)?Og[a]:null};
_.ch=function(a,b){if(!_.ah(a)||!Zg(b))return null;a=a.toLowerCase();if(Tg[a])return null;if(Pg==null){b=[];var c=_.Qe("googleapis/headers/response");c&&typeof c==="object"&&typeof c.length==="number"||(c=null);c!=null&&(b=b.concat(c));(c=_.Qe("client/headers/response"))&&typeof c==="object"&&typeof c.length==="number"||(c=null);c!=null&&(b=b.concat(c));b=b.concat(Ng);Pg=Vg(b)}return Pg!=null&&Pg.hasOwnProperty(a)?a:null};
_.dh=function(a,b){if(_.ah(b)&&a!=null&&typeof a==="object"){var c=void 0,d;for(d in a)if(Object.prototype.hasOwnProperty.call(a,d)&&Rg(d,b)){var e=Zg(a[d]);e&&(c!==void 0&&(e=c+", "+e),c=e)}return c}};_.eh=function(a,b,c,d){var e=_.ah(b);if(e){c&&(c=Zg(c));b=b.toLowerCase();for(var f in a)Object.prototype.hasOwnProperty.call(a,f)&&Rg(f,b)&&delete a[f];c&&(d||(b=e),a[b]=c)}};
_.fh=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(!(h<=0)){var k=f.substring(0,h);if(k=_.ah(k)){for(f=f.substring(h+1);e+1<d&&a[e+1].match(/^[ \t]/);)f+="\r\n"+a[e+1],++e;if(f=Zg(f))if(k=_.ch(k,f)||(b?void 0:k))k=k.toLowerCase(),h=_.dh(c,k),h!==void 0&&(f=h+", "+f),_.eh(c,k,f,!0)}}}return c};
/\uffff/.test("\uffff");
var Fx;_.Ex=function(a){var b=0,c;for(c in a)b++;return b};Fx=function(a,b){var c=[];for(b=b||0;b<a.length;b+=2)_.Hh(a[b],a[b+1],c);return c.join("&")};_.Gx=function(a,b){var c=arguments.length==2?Fx(arguments[1],0):Fx(arguments,1);return _.Gh(a,c)};_.Hx=function(a,b){_.wj(a,"/")&&(a=a.slice(0,-1));_.uc(b,"/")&&(b=b.slice(1));return a+"/"+b};_.Ix=function(a){switch(a){case 200:case 201:case 202:case 204:case 206:case 304:case 1223:return!0;default:return!1}};var Kx,Lx,Mx;_.Jx=function(a){_.yj.call(this);this.headers=new Map;this.C1=a||null;this.hg=!1;this.Wa=null;this.cB="";this.jr=0;this.Co=this.OH=this.CA=this.QF=!1;this.Es=0;this.Rc=null;this.Tm="";this.Bh=!1;this.GE=this.vN=null};_.gb(_.Jx,_.yj);_.Jx.prototype.Bb=null;Kx=/^https?$/i;Lx=["POST","PUT"];Mx=[];_.Nx=function(a,b,c,d,e,f,h){var k=new _.Jx;Mx.push(k);b&&k.qa("complete",b);k.Jo("ready",k.d7);f&&k.gD(f);h&&(k.Bh=h);k.send(a,c,d,e)};_.g=_.Jx.prototype;
_.g.d7=function(){this.dispose();_.Ri(Mx,this)};_.g.gD=function(a){this.Es=Math.max(0,a)};_.g.setTrustToken=function(a){this.vN=a};_.g.setAttributionReporting=function(a){this.GE=a};
_.g.send=function(a,b,c,d){if(this.Wa)throw Error("ua`"+this.cB+"`"+a);b=b?b.toUpperCase():"GET";this.cB=a;this.jr=0;this.QF=!1;this.hg=!0;this.Wa=this.C1?this.C1.Ct():_.Cx.Ct();this.Wa.onreadystatechange=(0,_.Xj)((0,_.B)(this.uX,this));try{this.OH=!0,this.Wa.open(b,String(a),!0),this.OH=!1}catch(h){this.fz(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(typeof d.keys==="function"&&typeof d.get==="function"){e=_.Aa(d.keys());
for(var f=e.next();!f.done;f=e.next())f=f.value,c.set(f,d.get(f))}else throw Error("va`"+String(d));d=Array.from(c.keys()).find(function(h){return"content-type"==h.toLowerCase()});e=_.$a.FormData&&a instanceof _.$a.FormData;!_.ub(Lx,b)||d||e||c.set("Content-Type","application/x-www-form-urlencoded;charset=utf-8");b=_.Aa(c);for(d=b.next();!d.done;d=b.next())c=_.Aa(d.value),d=c.next().value,c=c.next().value,this.Wa.setRequestHeader(d,c);this.Tm&&(this.Wa.responseType=this.Tm);"withCredentials"in this.Wa&&
this.Wa.withCredentials!==this.Bh&&(this.Wa.withCredentials=this.Bh);if("setTrustToken"in this.Wa&&this.vN)try{this.Wa.setTrustToken(this.vN)}catch(h){}if("setAttributionReporting"in this.Wa&&this.GE)try{this.Wa.setAttributionReporting(this.GE)}catch(h){}try{this.Rc&&(clearTimeout(this.Rc),this.Rc=null),this.Es>0&&(this.Rc=setTimeout(this.Ki.bind(this),this.Es)),this.CA=!0,this.Wa.send(a),this.CA=!1}catch(h){this.fz(5,h)}};
_.g.Ki=function(){typeof _.Za!="undefined"&&this.Wa&&(this.jr=8,this.dispatchEvent("timeout"),this.abort(8))};_.g.fz=function(a){this.hg=!1;this.Wa&&(this.Co=!0,this.Wa.abort(),this.Co=!1);this.jr=a;Ox(this);Px(this)};var Ox=function(a){a.QF||(a.QF=!0,a.dispatchEvent("complete"),a.dispatchEvent("error"))};_.Jx.prototype.abort=function(a){this.Wa&&this.hg&&(this.hg=!1,this.Co=!0,this.Wa.abort(),this.Co=!1,this.jr=a||7,this.dispatchEvent("complete"),this.dispatchEvent("abort"),Px(this))};
_.Jx.prototype.va=function(){this.Wa&&(this.hg&&(this.hg=!1,this.Co=!0,this.Wa.abort(),this.Co=!1),Px(this,!0));_.Jx.N.va.call(this)};_.Jx.prototype.uX=function(){this.isDisposed()||(this.OH||this.CA||this.Co?Qx(this):this.sJ())};_.Jx.prototype.sJ=function(){Qx(this)};
var Qx=function(a){if(a.hg&&typeof _.Za!="undefined")if(a.CA&&_.Rx(a)==4)setTimeout(a.uX.bind(a),0);else if(a.dispatchEvent("readystatechange"),_.Rx(a)==4){a.hg=!1;try{a.ir()?(a.dispatchEvent("complete"),a.dispatchEvent("success")):(a.jr=6,a.getStatus(),Ox(a))}finally{Px(a)}}},Px=function(a,b){if(a.Wa){a.Rc&&(clearTimeout(a.Rc),a.Rc=null);var c=a.Wa;a.Wa=null;b||a.dispatchEvent("ready");try{c.onreadystatechange=null}catch(d){}}};_.Jx.prototype.isActive=function(){return!!this.Wa};
_.Jx.prototype.ir=function(){var a=this.getStatus(),b;if(!(b=_.Ix(a))){if(a=a===0)a=String(this.cB).match(_.Fh)[1]||null,!a&&_.$a.self&&_.$a.self.location&&(a=_.$a.self.location.protocol.slice(0,-1)),a=!Kx.test(a?a.toLowerCase():"");b=a}return b};_.Rx=function(a){return a.Wa?a.Wa.readyState:0};_.Jx.prototype.getStatus=function(){try{return _.Rx(this)>2?this.Wa.status:-1}catch(a){return-1}};_.Sx=function(a){try{return a.Wa?a.Wa.responseText:""}catch(b){return""}};
_.Tx=function(a){try{if(!a.Wa)return null;if("response"in a.Wa)return a.Wa.response;switch(a.Tm){case "":case "text":return a.Wa.responseText;case "arraybuffer":if("mozResponseArrayBuffer"in a.Wa)return a.Wa.mozResponseArrayBuffer}return null}catch(b){return null}};_.Jx.prototype.getResponseHeader=function(a){if(this.Wa&&_.Rx(this)==4)return a=this.Wa.getResponseHeader(a),a===null?void 0:a};
_.Jx.prototype.getAllResponseHeaders=function(){return this.Wa&&_.Rx(this)>=2?this.Wa.getAllResponseHeaders()||"":""};_.Xi(function(a){_.Jx.prototype.sJ=a(_.Jx.prototype.sJ)});
var Jt,Ot;_.Ft=function(a,b){var c=_.Ab(b),d=c?b:arguments;for(c=c?0:1;c<d.length;c++){if(a==null)return;a=a[d[c]]}return a};
_.Gt=function(a){if(!a||typeof a!=="object")return a;if(typeof a.clone==="function")return a.clone();if(typeof Map!=="undefined"&&a instanceof Map)return new Map(a);if(typeof Set!=="undefined"&&a instanceof Set)return new Set(a);if(a instanceof Date)return new Date(a.getTime());var b=Array.isArray(a)?[]:typeof ArrayBuffer!=="function"||typeof ArrayBuffer.isView!=="function"||!ArrayBuffer.isView(a)||a instanceof DataView?{}:new a.constructor(a.length),c;for(c in a)b[c]=_.Gt(a[c]);return b};
_.Ht=function(){return Math.floor(Math.random()*2147483648).toString(36)+Math.abs(Math.floor(Math.random()*2147483648)^_.gd()).toString(36)};_.It=function(a,b,c){return _.de(document,arguments)};Jt=function(a,b){if(a){a=a.split("&");for(var c=0;c<a.length;c++){var d=a[c].indexOf("="),e=null;if(d>=0){var f=a[c].substring(0,d);e=a[c].substring(d+1)}else f=a[c];b(f,e?decodeURIComponent(e.replace(/\+/g," ")):"")}}};
_.Kt=function(a,b,c){for(var d=0,e=b.length;(d=a.indexOf(b,d))>=0&&d<c;){var f=a.charCodeAt(d-1);if(f==38||f==63)if(f=a.charCodeAt(d+e),!f||f==61||f==38||f==35)return d;d+=e+1}return-1};_.Lt=/#|$/;_.Mt=function(a){if(a.hf&&typeof a.hf=="function")return a.hf();if(typeof Map!=="undefined"&&a instanceof Map||typeof Set!=="undefined"&&a instanceof Set)return Array.from(a.values());if(typeof a==="string")return a.split("");if(_.Ab(a)){for(var b=[],c=a.length,d=0;d<c;d++)b.push(a[d]);return b}return _.vb(a)};
_.Nt=function(a){if(a.ug&&typeof a.ug=="function")return a.ug();if(!a.hf||typeof a.hf!="function"){if(typeof Map!=="undefined"&&a instanceof Map)return Array.from(a.keys());if(!(typeof Set!=="undefined"&&a instanceof Set)){if(_.Ab(a)||typeof a==="string"){var b=[];a=a.length;for(var c=0;c<a;c++)b.push(c);return b}return _.Dh(a)}}};
Ot=function(a,b,c){if(a.forEach&&typeof a.forEach=="function")a.forEach(b,c);else if(_.Ab(a)||typeof a==="string")Array.prototype.forEach.call(a,b,c);else for(var d=_.Nt(a),e=_.Mt(a),f=e.length,h=0;h<f;h++)b.call(c,e[h],d&&d[h],a)};var au,Wt,eu,Xt,Zt,Yt,bu,$t,fu;
_.Pt=function(a,b){this.de=this.Ah=this.Ei="";this.Hg=null;this.mG=this.Nm="";this.Zg=!1;var c;a instanceof _.Pt?(this.Zg=b!==void 0?b:a.Zg,_.Qt(this,a.Ei),_.Rt(this,a.Ah),_.St(this,a.Tg()),_.Tt(this,a.Hg),this.setPath(a.getPath()),_.Ut(this,a.Td.clone()),this.Wk(a.Fz())):a&&(c=String(a).match(_.Fh))?(this.Zg=!!b,_.Qt(this,c[1]||"",!0),_.Rt(this,c[2]||"",!0),_.St(this,c[3]||"",!0),_.Tt(this,c[4]),this.setPath(c[5]||"",!0),_.Ut(this,c[6]||"",!0),this.Wk(c[7]||"",!0)):(this.Zg=!!b,this.Td=new _.Vt(null,
this.Zg))};_.Pt.prototype.toString=function(){var a=[],b=this.Ei;b&&a.push(Wt(b,Xt,!0),":");var c=this.Tg();if(c||b=="file")a.push("//"),(b=this.Ah)&&a.push(Wt(b,Xt,!0),"@"),a.push(encodeURIComponent(String(c)).replace(/%25([0-9a-fA-F]{2})/g,"%$1")),c=this.Hg,c!=null&&a.push(":",String(c));if(c=this.getPath())this.de&&c.charAt(0)!="/"&&a.push("/"),a.push(Wt(c,c.charAt(0)=="/"?Yt:Zt,!0));(c=this.Td.toString())&&a.push("?",c);(c=this.Fz())&&a.push("#",Wt(c,$t));return a.join("")};
_.Pt.prototype.resolve=function(a){var b=this.clone(),c=!!a.Ei;c?_.Qt(b,a.Ei):c=!!a.Ah;c?_.Rt(b,a.Ah):c=!!a.de;c?_.St(b,a.Tg()):c=a.Hg!=null;var d=a.getPath();if(c)_.Tt(b,a.Hg);else if(c=!!a.Nm){if(d.charAt(0)!="/")if(this.de&&!this.Nm)d="/"+d;else{var e=b.getPath().lastIndexOf("/");e!=-1&&(d=b.getPath().slice(0,e+1)+d)}e=d;if(e==".."||e==".")d="";else if(_.wc(e,"./")||_.wc(e,"/.")){d=_.uc(e,"/");e=e.split("/");for(var f=[],h=0;h<e.length;){var k=e[h++];k=="."?d&&h==e.length&&f.push(""):k==".."?((f.length>
1||f.length==1&&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.Tq();c?_.Ut(b,a.Td.clone()):c=!!a.mG;c&&b.Wk(a.Fz());return b};_.Pt.prototype.clone=function(){return new _.Pt(this)};_.Qt=function(a,b,c){a.Ei=c?au(b,!0):b;a.Ei&&(a.Ei=a.Ei.replace(/:$/,""));return a};_.Rt=function(a,b,c){a.Ah=c?au(b):b;return a};_.Pt.prototype.Tg=function(){return this.de};_.St=function(a,b,c){a.de=c?au(b,!0):b;return a};
_.Tt=function(a,b){if(b){b=Number(b);if(isNaN(b)||b<0)throw Error("M`"+b);a.Hg=b}else a.Hg=null;return a};_.Pt.prototype.getPath=function(){return this.Nm};_.Pt.prototype.setPath=function(a,b){this.Nm=b?au(a,!0):a;return this};_.Pt.prototype.Tq=function(){return this.Td.toString()!==""};_.Ut=function(a,b,c){b instanceof _.Vt?(a.Td=b,a.Td.DL(a.Zg)):(c||(b=Wt(b,bu)),a.Td=new _.Vt(b,a.Zg));return a};_.Pt.prototype.hb=function(a,b){return _.Ut(this,a,b)};_.Pt.prototype.getQuery=function(){return this.Td.toString()};
_.cu=function(a,b,c){a.Td.set(b,c);return a};_.g=_.Pt.prototype;_.g.Vg=function(a){return this.Td.get(a)};_.g.Fz=function(){return this.mG};_.g.Wk=function(a,b){this.mG=b?au(a):a;return this};_.g.removeParameter=function(a){this.Td.remove(a);return this};_.g.DL=function(a){this.Zg=a;this.Td&&this.Td.DL(a)};_.du=function(a,b){return a instanceof _.Pt?a.clone():new _.Pt(a,b)};au=function(a,b){return a?b?decodeURI(a.replace(/%25/g,"%2525")):decodeURIComponent(a):""};
Wt=function(a,b,c){return typeof a==="string"?(a=encodeURI(a).replace(b,eu),c&&(a=a.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),a):null};eu=function(a){a=a.charCodeAt(0);return"%"+(a>>4&15).toString(16)+(a&15).toString(16)};Xt=/[#\/\?@]/g;Zt=/[#\?:]/g;Yt=/[#\?]/g;bu=/[#\?@]/g;$t=/#/g;_.Vt=function(a,b){this.Be=this.Kc=null;this.qg=a||null;this.Zg=!!b};fu=function(a){a.Kc||(a.Kc=new Map,a.Be=0,a.qg&&Jt(a.qg,function(b,c){a.add(decodeURIComponent(b.replace(/\+/g," ")),c)}))};_.g=_.Vt.prototype;
_.g.Yb=function(){fu(this);return this.Be};_.g.add=function(a,b){fu(this);this.qg=null;a=gu(this,a);var c=this.Kc.get(a);c||this.Kc.set(a,c=[]);c.push(b);this.Be+=1;return this};_.g.remove=function(a){fu(this);a=gu(this,a);return this.Kc.has(a)?(this.qg=null,this.Be-=this.Kc.get(a).length,this.Kc.delete(a)):!1};_.g.clear=function(){this.Kc=this.qg=null;this.Be=0};_.g.isEmpty=function(){fu(this);return this.Be==0};_.g.Gl=function(a){fu(this);a=gu(this,a);return this.Kc.has(a)};
_.g.forEach=function(a,b){fu(this);this.Kc.forEach(function(c,d){c.forEach(function(e){a.call(b,e,d,this)},this)},this)};_.g.ug=function(){fu(this);for(var a=Array.from(this.Kc.values()),b=Array.from(this.Kc.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.hf=function(a){fu(this);var b=[];if(typeof a==="string")this.Gl(a)&&(b=b.concat(this.Kc.get(gu(this,a))));else{a=Array.from(this.Kc.values());for(var c=0;c<a.length;c++)b=b.concat(a[c])}return b};
_.g.set=function(a,b){fu(this);this.qg=null;a=gu(this,a);this.Gl(a)&&(this.Be-=this.Kc.get(a).length);this.Kc.set(a,[b]);this.Be+=1;return this};_.g.get=function(a,b){if(!a)return b;a=this.hf(a);return a.length>0?String(a[0]):b};_.g.setValues=function(a,b){this.remove(a);b.length>0&&(this.qg=null,this.Kc.set(gu(this,a),_.Tb(b)),this.Be+=b.length)};
_.g.toString=function(){if(this.qg)return this.qg;if(!this.Kc)return"";for(var a=[],b=Array.from(this.Kc.keys()),c=0;c<b.length;c++){var d=b[c],e=encodeURIComponent(String(d));d=this.hf(d);for(var f=0;f<d.length;f++){var h=e;d[f]!==""&&(h+="="+encodeURIComponent(String(d[f])));a.push(h)}}return this.qg=a.join("&")};_.g.clone=function(){var a=new _.Vt;a.qg=this.qg;this.Kc&&(a.Kc=new Map(this.Kc),a.Be=this.Be);return a};var gu=function(a,b){b=String(b);a.Zg&&(b=b.toLowerCase());return b};
_.Vt.prototype.DL=function(a){a&&!this.Zg&&(fu(this),this.qg=null,this.Kc.forEach(function(b,c){var d=c.toLowerCase();c!=d&&(this.remove(c),this.setValues(d,b))},this));this.Zg=a};_.Vt.prototype.extend=function(a){for(var b=0;b<arguments.length;b++)Ot(arguments[b],function(c,d){this.add(d,c)},this)};
var jA=function(a){if(!a||typeof a!=="function")throw new iA("Must provide a function.");this.Ig=null;this.m8=a},kA=!1,wA,xA,yA,zA,AA,BA,CA,DA,EA,FA,GA,HA,IA,JA,KA;kA=!1;
var lA=function(a){return new _.gk(function(b){var c=a.length,d=[];if(c)for(var e=function(k,l,m){c--;d[k]=l?{qz:!0,value:m}:{qz:!1,reason:m};c==0&&b(d)},f,h=0;h<a.length;h++)f=a[h],_.nk(f,_.db(e,h,!0),_.db(e,h,!1));else b(d)})},mA,nA,oA,pA={zP:function(a){mA=a;try{delete pA.zP}catch(b){}},AP:function(a){nA=a;try{delete pA.AP}catch(b){}},BP:function(a){oA=a;try{delete pA.BP}catch(b){}}},qA=function(a){return _.Ix(a.status)},rA=function(){var a=!0,b=_.Cx.Ct();b&&b.withCredentials!==void 0||(a=!1);
return a},sA=function(a,b){if(b==null)return b;b=String(b);b.match(/^\/\/.*/)&&(b=(window.location.protocol=="http:"?"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=_.Qe("client/rewrite");_.wb(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=_.Qe("client/firstPartyRewrite"),_.wb(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},iA=function(a){_.mb.call(this,a)};_.r(iA,_.mb);iA.prototype.name="gapix.client.GapiClientError";jA.prototype.then=function(a,b,c){this.Ig||(this.Ig=this.m8());return this.Ig.then(a,b,c)};jA.prototype.XC=function(a){this.Ig||(this.Ig=a)};
var tA=function(a){var b={},c;for(c in a)if(Object.prototype.hasOwnProperty.call(a,c)){var d=_.dh(a,c);d&&(c=_.ch(c,d))&&_.eh(b,c,d,!0)}return b},uA={error:{code:-1,message:"A network error occurred and the request could not be completed."}},vA=function(a,b,c,d){_.Jx.call(this);this.Id=a;this.RI=b;this.Nd=c;a={};if(d)for(var e in d)Object.prototype.hasOwnProperty.call(d,e)&&(b=_.dh(d,e),b!==void 0&&(e=_.bh(e,b))&&_.eh(a,e,b));d={};for(var f in a)Object.prototype.hasOwnProperty.call(a,f)&&(d[unescape(encodeURIComponent(f))]=
unescape(encodeURIComponent(a[f])));this.Su=d;this.Ig=null};_.r(vA,_.Jx);
vA.prototype.then=function(a){this.Ig||(this.Ig=(new _.gk(function(b,c){this.qa("error",(0,_.B)(function(){c(wA(this))},this));this.qa("success",(0,_.B)(function(){b(wA(this))},this));this.send(this.Id,this.RI,this.Nd,this.Su)},this)).then(function(b){b.headers=tA(b.headers);return b},function(b){return b.status?(b.headers=tA(b.headers),_.lk(b)):_.lk({result:uA,body:'{"error":{"code":-1,"message":"A network error occurred and the request could not be completed."}}',headers:null,status:null,statusText:null})}));
return this.Ig.then.apply(this.Ig,arguments)};wA=function(a){var b=a.getStatus(),c=_.Sx(a);var d=b==204?!1:a.Tm==""?_.Gf(c):_.Tx(a);var e=a.getAllResponseHeaders();e=_.fh(e,!1);try{var f=_.Rx(a)>2?a.Wa.statusText:""}catch(h){f=""}return{result:d,body:c,headers:e,status:b,statusText:f}};xA=/;\s*charset\s*=\s*("utf-?8"|utf-?8)\s*(;|$)/i;yA=/^(text\/[^\s;\/""]+|application\/(json(\+[^\s;\/""]*)?|([^\s;\/""]*\+)?xml))\s*(;|$)/i;zA=/;\s*charset\s*=/i;AA=/(([\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;
BA=function(a){var b=[];a=a.replace(AA,function(c){b.push(_.Ry(c));return""});if(a.length)throw Error("wa");return b.join("")};CA=function(a){var b=a.headers;if(b&&_.dh(b,"X-Goog-Safety-Encoding")==="base64"){var c=BA(a.body),d=_.dh(b,"X-Goog-Safety-Content-Type");b["Content-Type"]=d;if(d.match(xA)||d.match(yA)&&!d.match(zA))c=_.Vv(_.wh(c));_.eh(b,"X-Goog-Safety-Encoding");_.eh(b,"X-Goog-Safety-Content-Type");a.body=c}};
DA=function(a,b,c){c||((c=_.Qe("googleapis.config/proxy"))&&(c=String(c).replace(/\/static\/proxy\.html$/,"")||"/"),c=String(c||""));c||(c=_.Qe("googleapis.config/root"),b&&(c=_.Qe("googleapis.config/root-1p")||c),c=String(c||""));c=String(sA(b,c)||c);return a=_.Hx(c,a)};
EA=function(a,b){var c=a.params||_.we();c.url=c.path;var d=c.root;d=DA("/",_.gi(c.headers),d);d.match(/^(.*[^\/])?\/$/)&&(d=d.substr(0,d.length-1));c.root=d;a.params=c;_.Ii.Ym("makeHttpRequests",[a],function(e,f){e&&e.gapiRequest?(e.gapiRequest.data?CA(e.gapiRequest.data):CA(e),b(e,_.Hf(e))):b(e,f)})};
FA=function(a){var b=_.Ft(a,"params","headers");b&&typeof b==="object"||(b={});a={};for(var c in b)if(Object.prototype.hasOwnProperty.call(b,c)){var d=_.dh(b,c);d&&(_.bh(c,d),_.eh(a,c,d))}c=(window.location.href.match(_.Fh)[1]||null)=="chrome-extension";a=_.gi(a);return!(c&&a)&&rA()};
GA=function(a){return new _.gk(function(b,c){var d=function(e){e&&e.gapiRequest?e=e.gapiRequest.data||e:c(e);e={result:e.status!=204&&_.Gf(e.body),body:e.body,headers:e.headers||null,status:e.status||null,statusText:e.statusText||null};qA(e)?b(e):c(e)};try{EA(a,d)}catch(e){c(e)}})};HA=function(a){var b=!_.Qe("client/cors")||!!_.Qe("client/xd4"),c={};_.wm(a,function(d,e){(d=_.bh(e,d))||b||(d=_.ah(e));d&&(e=_.dh(a,d))&&_.eh(c,d,e)});return c};
IA=function(a){var b=a.params||_.we();a=_.Oj(b.headers||{});var c=b.httpMethod||"GET",d=String(b.url||""),e=encodeURIComponent("$unique");if(!(c==="POST"||_.Kt(d,"$unique",d.search(_.Lt))>=0||_.Kt(d,e,d.search(_.Lt))>=0)){var f=[];for(h in a)Object.prototype.hasOwnProperty.call(a,h)&&f.push(h.toLowerCase());f.sort();f.push(_.xg(location.href));var h=f.join(":");f=_.$h();f.update(h);h=f.Ti().toLowerCase().substr(0,7);h=String(parseInt(h,16)%1E3+1E3).substr(1);d=_.Gx(d,e,"gc"+h)}e=b.body||null;h=b.responseType||
null;b=_.gi(a)||b.authType=="1p";f=!!_.Qe("googleapis.config/auth/useUberProxyAuth")||!!_.Qe("client/withCredentials");_.eh(a,"X-Referer");a=HA(a);var k=new vA(d,c,e,a);k.Bh=b||f;h&&(k.Tm=h);return new _.gk(function(l,m){k.then(function(n){CA(n);l(n)},function(n){m(n)})})};JA=function(a,b){var c=function(d){d=_.Oj(d);delete d.result;d={gapiRequest:{data:d}};b&&b(d,_.Hf(d))};IA(a).then(c,c)};
KA=function(a,b){(_.Qe("client/cors")||_.Qe("client/xd4"))&&FA(a)?(_.ri(_.qi(),12).yb(),JA(a,b)):(_.ri(_.qi(),11).yb(),EA(a,b))};_.LA={};var MA=function(a){this.ew=a;this.hg=!1;this.promise={then:(0,_.B)(function(b,c,d){this.hg||(this.hg=!0);this.dw&&!this.bw?this.ew.resolve(this.dw):this.bw&&!this.dw&&this.ew.reject(this.bw);return this.ew.promise.then(b,c,d)},this)}};MA.prototype.resolve=function(a){this.hg?this.ew.resolve(a):this.dw||this.bw||(this.dw=a)};MA.prototype.reject=function(a){this.hg?this.ew.reject(a):this.dw||this.bw||(this.bw=a)};var NA=function(a){a=_.Gt(a.error);return{code:a.code,data:a.errors,message:a.message}},OA=function(a){throw Error("Ba`"+a);};var PA=function(a){jA.call(this,PA.prototype.Yo);if(!a||typeof a!="object"&&typeof a!="string")throw new iA("Missing required parameters");if(typeof a==="string"){var b={};b.path=a}else b=a;if(!b.path)throw new iA('Missing required parameter: "path"');this.nh={};this.nh.path=b.path;this.nh.method=b.method||"GET";this.nh.params=b.params||{};this.nh.headers=b.headers||{};this.nh.body=b.body;this.nh.root=b.root;this.nh.responseType=b.responseType;this.nh.apiId=b.apiId;this.un=b.authType||"auto";this.Nba=
!!b.isXd4;this.AV=!1;this.Hj(this.un);this.WY=!1};_.r(PA,jA);PA.prototype.Kf=function(){return this.nh};PA.prototype.Hj=function(a){this.un=a;this.AV=this.un==="1p"};PA.prototype.Gq=function(){return this.AV};
PA.prototype.Cj=function(){if(!this.WY){this.WY=!0;var a=this.nh,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=_.dh(b,e);f&&(e=_.bh(e,f)||_.ah(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)_.eh(b,d[c][0],d[c][1]);if(this.Nba)d=this.un=="1p";else{d=b;c=String(_.Qe("client/version","1.1.0"));h=String(_.Qe("client/name","google-api-javascript-client"));h=QA[h]===!0?h:"google-api-javascript-client";
e=String(_.Qe("client/appName",""));f=[];e&&(f.push(e),f.push(" "));f.push(h);c&&(f.push("/"),f.push(c));_.eh(d,"X-JavaScript-User-Agent",f.join(""));_.eh(b,"X-Requested-With","XMLHttpRequest");d=_.dh(b,"Content-Type");a.body&&!d&&_.eh(b,"Content-Type","application/json");_.Qe("client/allowExecutableResponse")||_.eh(b,"X-Goog-Encode-Response-If-Executable","base64");(d=_.dh(b,"Content-Type"))&&d.toLowerCase()=="application/json"&&!a.params.alt&&(a.params.alt="json");(d=a.body||null)&&_.wb(d)&&(a.body=
_.Hf(d));a.key=a.id;b=_.Hi(b,void 0,this.un);d=_.gi(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));_.eh(c,"X-ClientDetails",h.join("&"))}(c=_.Qe("client/apiKey"))&&a.params.key===void 0&&(a.params.key=c);(c=_.Qe("client/trace"))&&!a.params.trace&&(a.params.trace=c)}this.un=="auto"&&(d?this.Hj("1p"):(b=_.dh(b,"Authorization"))&&String(b).match(/^(Bearer|MAC)[ \t]/i)?this.Hj("oauth2"):this.Hj("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=_.Qe("googleapis.config/root");d&&(b=_.Qe("googleapis.config/root-1p")||b);b=String(b||"");c=a.root+a.path;if(h=b&&c.substr(0,b.length)===b)h=_.du(b),e=_.du(c),h=(!h.de&&!e.de||h.Tg()==e.Tg())&&(h.Hg==null&&e.Hg==null||h.Hg==e.Hg);h&&(a.path=c.substr(b.length),a.root=b)}b=a.params;c=_.Sg(a.path);
h=String(_.Qe("googleapis.config/xd3")||"");h.length>=18&&h.substring(h.length-18)=="/static/proxy.html"&&(h=h.substring(0,h.length-18));h||(h="/");e=_.Sg(h);if(h!=e)throw Error("x");h.charAt(h.length-1)!="/"&&(h+="/");c=_.Hx(h,c);_.wj(c,"/")&&(c=c.substring(0,c.length-1));h=_.we();for(var k in b)Object.prototype.hasOwnProperty.call(b,k)&&(e=encodeURIComponent(k),h[e]=b[k]);c=_.Jh(c,h);a.path=c;a.root=sA(!!d,a.root);a.url=DA(a.path,!!d,a.root)}};
var SA=function(a){a.Cj();var b=a.nh;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.un}}};_.g=PA.prototype;_.g.execute=function(a){var b=SA(this);KA(b,function(c,d){var e=c;c.gapiRequest&&(e=c.gapiRequest);e&&e.data&&(e=e.data);c=e;c=c instanceof Array?c[0]:c;if(c.status!=204&&c.body)try{var f=_.Gf(c.body)}catch(h){}a&&a(f,d)})};
_.g.Yo=function(){var a=SA(this);(_.Qe("client/cors")||_.Qe("client/xd4"))&&FA(a)?(_.ri(_.qi(),15).yb(),a=IA(a)):(_.ri(_.qi(),14).yb(),a=GA(a));return a};_.g.fj=function(){return this.Yo()};_.g.Pd=function(){return this.nh.root};_.g.Cv=function(){console.log("makeJsonRpc is not supported for this request.");return{}};_.g.getFormat=function(){return 0};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.fj;var TA=function(a){if(!a||typeof a!="object")throw new iA("Missing rpc parameters");if(!a.method)throw new iA("Missing rpc method");this.oC=a};_.g=TA.prototype;_.g.Pd=function(){var a=this.oC.transport;return a?a.root||null:null};_.g.execute=function(a){var b=nA();b.add(this,{id:"gapiRpc",callback:this.Av(a)});b.execute()};
_.g.Cv=function(a){var b=this.oC.method,c=String,d;(d=this.oC.apiVersion)||(d=String(b).split(".")[0],d=_.Qe("googleapis.config/versions/"+b)||_.Qe("googleapis.config/versions/"+d)||"v1",d=String(d));a={jsonrpc:"2.0",id:a,method:b,apiVersion:c(d)};(b=this.oC.rpcParams)&&(a.params=b);return a};
_.g.Av=function(a){return function(b,c){if(b)if(b.error){var d=b.error;d.error==null&&(d.error=_.Oj(b.error))}else d=b.result||b.data,_.wb(d)&&d.result==null&&(d.result=_.Oj(b.result||b.data));else d=!1;a(d,c)}};_.g.then=function(){throw OA('The "then" method is not available on this object.');};_.g.XC=function(){};_.g.Kf=function(){};_.g.Cj=function(){};_.g.Hj=function(){};_.g.Gq=function(){};_.g.fj=function(){};TA.prototype.execute=TA.prototype.execute;var VA=function(a,b){this.ff=b||0;this.ff==2?(b=null,a!=null&&_.wb(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.Rb=new TA(b)):(this.ff==0&&(b=a&&a.callback)&&(a.callback=UA(b)),b=null,a!=null&&(_.wb(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):typeof a==="string"&&(b=a)),
this.Rb=new PA(b))},UA=function(a){return function(b){if(b!=null&&_.wb(b)&&b.error){var c=NA(b);b=_.Hf([{id:"gapiRpc",error:c}]);c.error=_.Gt(c)}else b==null&&(b={}),c=_.Gt(b),c.result=_.Gt(b),b=_.Hf([{id:"gapiRpc",result:b}]);a(c,b)}};_.g=VA.prototype;_.g.getFormat=function(){return this.ff};_.g.execute=function(a){this.Rb.execute(a&&this.ff==1?UA(a):a)};_.g.then=function(a,b,c){return this.Rb.then(a,b,c)};_.g.XC=function(a){this.Rb.XC(a)};_.g.Kf=function(){return this.Rb.Kf()};_.g.Cj=function(){this.Rb.Cj()};
_.g.Pd=function(){return this.Rb.Pd()};_.g.Cv=function(a){if(this.Rb.Cv)return this.Rb.Cv(a)};_.g.Hj=function(a){this.Rb.Hj(a)};_.g.Gq=function(){return!!this.Rb.Gq()};_.g.fj=function(){return this.Rb.fj()};VA.prototype.execute=VA.prototype.execute;VA.prototype.then=VA.prototype.then;VA.prototype.getPromise=VA.prototype.fj;var WA=/<response-(.*)>/,XA=/^application\/http(;.+$|$)/,YA=["clients6.google.com","content.googleapis.com","www.googleapis.com"],ZA=function(a,b){a=_.dh(a,b);if(!a)throw new iA("Unable to retrieve header.");return a},$A=function(a){var b=void 0;a=_.Aa(a);for(var c=a.next();!c.done;c=a.next()){c=c.value.Kf().apiId;if(typeof c!=="string")return"batch";if(b===void 0)b=c;else if(b!=c)return"batch"}b=_.Qe("client/batchPath/"+b)||"batch/"+b.split(":").join("/");return String(b)},aB=function(a){a=a.map(function(b){return b.request});
return $A(a)},bB=function(a,b){var c=[];a=a.Kf();var d=function(f,h){_.wm(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")},eB=function(a,b){a=cB(a,b);var c={};_.Wb(a,function(d,e){c[e]=dB(d,e)});return c},dB=function(a,b){return{result:a.result||a.body,rawResult:_.Hf({id:b,result:a.result||a.body}),
id:b}},cB=function(a,b){a=_.xc(a);_.wj(a,"--")&&(a=a.substring(0,a.length-2));a=a.split(b);b=_.we();for(var c=0;c<a.length;c++)if(a[c]){var d;if(d=a[c]){_.wj(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=fB(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=fB(d,e);e<d.length&&d[e]!="";)e++;e++;f.body=d.slice(e).join("\r\n");
CA(f);d=f}else d=null;e=_.we();f=ZA(d.outerHeaders,"Content-Type");if(XA.exec(f)==null)throw new iA("Unexpected Content-Type <"+f+">");f=ZA(d.outerHeaders,"Content-ID");f=WA.exec(f);if(!f)throw new iA("Unable to recognize Content-Id.");e.id=decodeURIComponent(f[1].split("@")[0].replace(/^.*[+]/,""));e.response={status:d.status,statusText:d.statusText,headers:d.headers};d.status!=204&&(e.response.body=d.body,e.response.result=_.Gf(d.body));d=e}else d=null;d&&d.id&&(b[d.id]=d.response)}return b},fB=
function(a,b){for(var c=[];b<a.length&&a[b];b++)c.push(a[b]);return _.fh(c.join("\r\n"),!1)},gB=function(a,b,c){a=a||b;if(!a||_.du(a).Ei!=="https")if(a=c?_.Qe("googleapis.config/root-1p"):_.Qe("googleapis.config/root"),!a)return!1;a=sA(c,String(a))||a;return YA.includes(_.du(a).Tg())};var hB=function(a){jA.call(this,hB.prototype.Yo);this.nk={};this.hy={};this.Rm=[];this.Vd=a;this.nca=!!a;this.tU=this.rA=!1};_.r(hB,jA);var iB=function(a,b){a=_.Aa(Object.values(a.nk));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};hB.prototype.bq=function(a){(function(b){setTimeout(function(){throw b;})})(a)};
hB.prototype.add=function(a,b){var c=b||_.we();b=_.we();if(!a)throw new iA("Batch entry "+(_.xe(c,"id")?'"'+c.id+'" ':"")+"is missing a request method");a.Cj();b.request=a;var d=_.qk();d=new MA(d);b.iC=d;a.XC(b.iC.promise);d=a.Kf().headers;_.gi(d)&&(this.rA=!0);(d=String((d||{}).Authorization||"")||null)&&d.match(/^Bearer|MAC[ \t]/i)&&(this.tU=!0);d=a.Kf().root;if(!this.nca){if(d&&this.Vd&&d!=this.Vd)throw new iA('The "root" provided in this request is not consistent with that of existing requests in the batch.');
this.Vd=d||this.Vd}if(_.xe(c,"id")){d=c.id;if(iB(this,d))throw new iA('Batch ID "'+d+'" already in use, please use another.');b.id=d}else{do b.id=String(Math.round(2147483647*_.Ai()));while(iB(this,b.id))}b.callback=c.callback;c="batch";gB(this.Vd,a.Kf().path,this.rA)&&(c=aB([b]));this.nk[c]=this.nk[c]||[];this.nk[c].push(b);this.hy[b.id]=b;return b.id};
var jB=function(a){var b=[],c=gB(a.Vd,void 0,a.rA);Object.entries(a.nk).length>1&&_.Lf.warn("Heterogeneous batch requests are deprecated. See https://developers.googleblog.com/2018/03/discontinuing-support-for-json-rpc-and.html");for(var d=_.Aa(Object.entries(a.nk)),e=d.next();!e.done;e=d.next()){e=_.Aa(e.value);var f=e.next().value;e=e.next().value;for(var h=!0,k=_.Aa(e),l=k.next();!l.done;l=k.next())l=l.value,l.request.Cj(),f==="batch"&&c&&(h=!1,l.Fba=!0,l.request.Kf.root=a.Vd,b.push(l.request),
a.Rm.push([l]));if(h){var m=e;f=a.Vd;h=a.rA;k=a.tU;l="batch"+String(Math.round(2147483647*_.Ai()))+String(Math.round(2147483647*_.Ai()));var n="--"+l;l="multipart/mixed; boundary="+l;for(var p={path:aB(m),method:"POST"},q=[],t=0;t<m.length;t++)q.push(bB(m[t].request,[n.substr(n.indexOf("--")+2),"+",encodeURIComponent(m[t].id).split("(").join("%28").split(")").join("%29").split(".").join("%2E"),"@googleapis.com"].join("")));p.body=[n,q.join("\r\n"+n+"\r\n"),n+"--"].join("\r\n")+"\r\n";p.root=f||null;
_.Qe("client/xd4")&&rA()?(p.isXd4=!0,p.params={$ct:l},p.headers={},_.eh(p.headers,"Content-Type","text/plain; charset=UTF-8"),h?p.authType="1p":k&&(p.authType="oauth2"),f=new PA(p)):(p.headers={},_.eh(p.headers,"Content-Type",l),f=oA(p));b.push(f);a.Rm.push(e)}}return b};
hB.prototype.execute=function(a){if(!(Object.keys(this.nk).length<1)){var b=this.Av(a);a=jB(this);var c=[],d=a.map(function(e){return new _.gk(function(f){try{e.execute(function(h,k){return f({vP:h,Tda:k})})}catch(h){c.push(h),f({vP:{qz:!1,reason:h}})}})});if(c.length>0&&c.length===a.length)throw c[0];_.ok(d).then(function(e){var f=e.map(function(h){return h.Tda});e=e.map(function(h){return h.vP});b(e,f)})}};
hB.prototype.Yo=function(){var a=this;if(Object.keys(this.nk).length<1)return _.kk({});var b=jB(this).map(function(c){return new _.gk(function(d,e){return c.fj().then(d,e)})});return lA(b).then(function(c){c=c.map(function(d){return d.qz?d.value:d});return kB(a,c,!0)})};
hB.prototype.TX=function(a,b,c,d){var e={};if(c){e=b?cB:eB;b=ZA(a.headers,"Content-Type").split("boundary=")[1];if(!b)throw new iA("Boundary not indicated in response.");e=e(a.body,"--"+b)}else b?(a.result=_.Gf(a.body),e[d]=a):e[d]=dB(a,d);a={};e=_.Aa(Object.entries(e));for(b=e.next();!b.done;b=e.next())if(c=_.Aa(b.value),b=c.next().value,c=c.next().value,a[b]=c,!this.hy[b])throw new iA("Could not find batch entry for id "+b+".");return a};
var kB=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(n&&Object.keys(n).includes("fulfilled")&&n.qz===!1){l++;b[m]=n.reason;n=lB([b[m]]);for(var p=_.Aa(a.Rm[m]),q=p.next();!q.done;q=p.next())h[q.value.id]=n}else{if(a.Rm[m].length<1)throw new iA("Error processing batch responses.");try{var t=!(a.Rm[m].length===1&&a.Rm[m][0].Fba),v=a.Rm[m][0].id;if(!c){p=n;q=t;var u=d[m],y=p;if(u&&(!y||!q)){var z=_.Gf(u);z&&(y=z.gapiRequest?z.gapiRequest.data:z,!q&&p&&(y.body=p))}if(!y)throw new iA("The batch response is missing.");
n=y}p=void 0;if(q=n){var C=q.headers;if(C){var F=_.we();for(p in C)if(Object.prototype.hasOwnProperty.call(C,p)){var H=_.dh(C,p);_.eh(F,p,H,!0)}q.headers=F}}if(t&&ZA(n.headers,"Content-Type").indexOf("multipart/mixed")!=0)throw new iA("The response's Content-Type is not multipart/mixed.");k=k||_.Gt(n);var L=qA(n);L&&!qA(k)&&(k.status=n.status,k.statusText=n.statusText);if(L||c||!t)f=!0,h=Object.assign(h,a.TX(n,c,t,v))}catch(O){for(l++,b[m]=O,n=lB([O]),p=_.Aa(a.Rm[m]),q=p.next();!q.done;q=p.next())h[q.value.id]=
n}}}if(l===b.length){d=lB(b);h=_.Hf(d);k=0;a=Array.from(Object.values(a.nk)).flat();f=_.Aa(a);for(l=f.next();!l.done;l=f.next())if(l=l.value,c)l.iC.reject(d);else if(l.callback)try{k++,l.callback(d,h)}catch(O){hB.prototype.bq(O)}if(e)try{e(d,h)}catch(O){hB.prototype.bq(O)}else if(k!==a.length)throw b.length===1?b[0]:d;}else{if(f)for(f=_.Aa(Object.entries(h)),l=f.next();!l.done;l=f.next())if(l=_.Aa(l.value),m=l.next().value,l=l.next().value,c)m=a.hy[m],l&&qA(l)?m.iC.resolve(l):m.iC.reject(l);else if(m=
a.hy[m],m.callback){if(l&&l.rawResult)try{delete l.rawResult}catch(O){}try{m.callback(l||!1,_.Hf(l))}catch(O){hB.prototype.bq(O)}}k.result=h||{};k.body=b.length===1?k.body:"";if(e)try{e(h||null,d.length===1?d[0]:null)}catch(O){hB.prototype.bq(O)}return k}},lB=function(a){var b={error:{code:0,message:"The batch request could not be fulfilled.  "}};a=_.Aa(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:_.Hf(b),headers:null,status:null,statusText:null}};hB.prototype.Av=function(a){var b=this;return function(c,d){b.LE(c,d,a)}};hB.prototype.LE=function(a,b,c){kB(this,a,!1,b,c)};hB.prototype.add=hB.prototype.add;hB.prototype.execute=hB.prototype.execute;hB.prototype.then=hB.prototype.then;var mB=function(){this.Ol=[];this.Vd=this.wf=null};
mB.prototype.add=function(a,b){b=b||{};var c={},d=Object.prototype.hasOwnProperty;if(a)c.kp=a;else throw new iA("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.Ol.length;d++)if(this.Ol[d].id==a)throw new iA('Batch ID "'+a+'" already in use, please use another.');c.id=a}else{do c.id=String(2147483647*_.Ai()|0);while(d.call(this.Ol,c.id))}c.callback=b.callback;this.Ol.push(c);return c.id};
var nB=function(a){return function(b){var c=b.body;if(b=b.result){for(var d={},e=b.length,f=0;f<e;++f)d[b[f].id]=b[f];a(d,c)}else a(b,c)}};
mB.prototype.execute=function(a){this.wf=[];for(var b,c,d=0;d<this.Ol.length;d++)b=this.Ol[d],c=b.kp,this.wf.push(c.Cv(b.id)),this.Vd=c.Pd()||this.Vd;c=this.Av(a);a={requests:this.wf,root:this.Vd};b={};d=a.headers||{};for(var e in d){var f=e;if(Object.prototype.hasOwnProperty.call(d,f)){var h=_.dh(d,f);h&&(f=_.bh(f,h)||_.ah(f))&&_.eh(b,f,h)}}_.eh(b,"Content-Type","application/json");e=nB(c);oA({method:"POST",root:a.root||void 0,path:"/rpc",params:a.urlParams,headers:b,body:a.requests||[]}).then(e,
e)};mB.prototype.Av=function(a){var b=this;return function(c,d){b.LE(c,d,a)}};mB.prototype.LE=function(a,b,c){a||(a={});for(var d=0;d<this.Ol.length;d++){var e=this.Ol[d];e.callback&&e.callback(a[e.id]||!1,b)}c&&c(a,b)};pA.AP(function(){return new mB});mB.prototype.add=mB.prototype.add;mB.prototype.execute=mB.prototype.execute;var oB=function(a,b){this.oda=a;this.ff=b||null;this.Df=null};oB.prototype.VH=function(a){this.ff=a;this.Df=this.ff==2?new mB:new hB(this.oda)};oB.prototype.add=function(a,b){if(!a)throw a=b||_.we(),new iA("Batch entry "+(_.xe(a,"id")?'"'+a.id+'" ':"")+"is missing a request method");this.ff===null&&this.VH(a.getFormat());this.ff!==a.getFormat()&&OA("Unable to add item to batch.");var c=b&&b.callback;this.ff==1&&c&&(b.callback=function(d){d=pB(d);var e=_.Hf([d]);c(d,e)});return this.Df.add(a,b)};
oB.prototype.execute=function(a){var b=a&&this.ff==1?function(c){var d=[];_.wm(c,function(f,h){f=pB(f);c[h]=f;d.push(f)});var e=_.Hf(d);a(c,e)}:a;this.Df&&this.Df.execute(b)};var pB=function(a){var b=a?_.Ft(a,"result"):null;_.wb(b)&&b.error!=null&&(b=NA(b),a={id:a.id,error:b});return a};oB.prototype.then=function(a,b,c){this.ff==2&&OA('The "then" method is not available on this object.');return this.Df.then(a,b,c)};oB.prototype.add=oB.prototype.add;oB.prototype.execute=oB.prototype.execute;
oB.prototype.then=oB.prototype.then;var qB=function(a){jA.call(this,qB.prototype.Yo);this.Rb=a;this.QP=!1};_.r(qB,jA);var rB=function(a){a.Rb.Cj();var b=a.Rb,c=b.Kf();return!(gB(c.root,c.path,a.Rb.Gq())?$A([b])!=="batch":1)};_.g=qB.prototype;
_.g.execute=function(a){var b=this;this.QP=!0;if(rB(this))this.Rb.execute(a);else{_.ri(_.qi(),13).yb();var c=function(d){if(typeof a==="function"){var e={gapiRequest:{data:{status:d&&d.status,statusText:d&&d.statusText,headers:d&&d.headers,body:d&&d.body}}};if(b.getFormat()===1){a=UA(a);var f={}}var h=d?d.result:!1;d&&d.status==204&&(h=f,delete e.gapiRequest.data.body);a(h,_.Hf(e))}};this.fj().then(c,c)}};
_.g.Yo=function(){if(rB(this))return this.Rb.fj();this.QP||_.ri(_.qi(),16).yb();return new _.gk(function(a,b){var c=mA(),d=c.add(this.Rb,{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="");qA(f)?a(f):b(f);return}b(e)},b)},this)};_.g.Kf=function(){if(this.Rb.Kf)return this.Rb.Kf()};_.g.Cj=function(){this.Rb.Cj&&this.Rb.Cj()};_.g.Pd=function(){if(this.Rb.Pd)return this.Rb.Pd()};
_.g.Hj=function(a){this.Rb.Hj&&this.Rb.Hj(a)};_.g.Gq=function(){return this.Rb.Gq()};_.g.getFormat=function(){return this.Rb.getFormat?this.Rb.getFormat():0};_.g.fj=function(){return this.Yo()};qB.prototype.execute=qB.prototype.execute;qB.prototype.then=qB.prototype.then;qB.prototype.getPromise=qB.prototype.fj;var sB="/rest?fields="+encodeURIComponent("kind,name,version,rootUrl,servicePath,resources,parameters,methods,batchPath,id")+"&pp=0",tB=function(a,b){return"/discovery/v1/apis/"+(encodeURIComponent(a)+"/"+encodeURIComponent(b)+sB)},vB=function(a,b,c,d){if(_.wb(a)){var e=a;var f=a.name;a=a.version||"v1"}else f=a,a=b;if(!f||!a)throw new iA("Missing required parameters.");var h=c||function(){},k=_.wb(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 iA("API discovery response missing required fields."));else{l=k.root;l=m.rootUrl!=null?String(m.rootUrl):l;l=typeof l==="string"?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&&!_.Qe(l)&&_.Re(l,m.batchPath));var n=m.servicePath,p=m.parameters,q=function(v){_.wm(v,function(u){if(!(u&&u.id&&u.path&&u.httpMethod))throw new iA("Missing required parameters");
var y=u.id.split("."),z=window.gapi.client,C;for(C=0;C<y.length-1;C++){var F=y[C];z[F]=z[F]||{};z=z[F]}var H,L;k&&(k.hasOwnProperty("root")&&(H=k.root),k.hasOwnProperty("apiId")&&(L=k.apiId));F=window.gapi.client[y[0]];F.RN||(F.RN={servicePath:n||"",parameters:p,apiId:L});y=y[C];z[y]||(z[y]=_.db(uB,{path:typeof u.path==="string"?u.path:null,httpMethod:typeof u.httpMethod==="string"?u.httpMethod:null,parameters:u.parameters,parameterName:(u.request||{}).parameterName||"",request:u.request,root:H},
F.RN))})},t=function(v){_.wm(v,function(u){q(u.methods);t(u.resources)})};t(m.resources);q(m.methods);h.call()}};e?c({result:e}):f.indexOf("://")>0?oA({path:f,params:{pp:0,fields:("/"+f).indexOf("/discovery/v1/apis/")>=0?"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):oA({path:tB(f,
a),root:d&&d.root}).then(c,c)},uB=function(a,b,c,d,e){e=e===void 0?{}:e;var f=b.servicePath||"";_.uc(f,"/")||(f="/"+f);var h=wB(a.path,[a.parameters,b.parameters],c||{});c=h.Fd;var k=h.Qga;f=_.Hx(f,h.path);h=k.root;delete k.root;var l=a.parameterName;!l&&_.Ex(k)==1&&k.hasOwnProperty("resource")&&(l="resource");if(l){var m=k[l];delete k[l]}m==null&&(m=d);m==null&&a.request&&(_.vh(k)&&(k=void 0),m=k);e=e||{};l=a.httpMethod;l=="GET"&&m!==void 0&&String(m)!=""&&(_.eh(e,"X-HTTP-Method-Override",l),l="POST");
if((m==null||d!=null)&&k)for(var n in k)typeof k[n]==="string"&&(c[n]=k[n]);return oA({path:f,method:l,params:c,headers:e,body:m,root:h||a.root,apiId:b.apiId},1)},wB=function(a,b,c){c=_.Oj(c);var d={};_.vm(b,function(e){_.wm(e,function(f,h){var k=f.required;if(f.location=="path")if(Object.prototype.hasOwnProperty.call(c,h))_.wc(a,"{"+h+"}")?(f=encodeURIComponent(String(c[h])),a=a.replace("{"+h+"}",f)):_.wc(a,"{+"+h+"}")&&(f=encodeURI(String(c[h])),a=a.replace("{+"+h+"}",f)),delete c[h];else{if(k)throw new iA("Required path parameter "+
h+" is missing.");}else f.location=="query"&&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,Fd:d,Qga:c}};var xB=function(a,b,c,d){var e=b||"v1",f=_.wb(d)?d:{root:d};if(c)vB(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 _.gk(function(h,k){var l=function(m){m?k(m):h()};try{vB(a,e,l,f)}catch(m){k(m)}})},yB=new RegExp(/^((([Hh][Tt][Tt][Pp][Ss]?:)?\/\/[^\/?#]*)?\/)?/.source+/(_ah\/api\/)?(batch|rpc)(\/|\?|#|$)/.source),zB=function(a,b){if(!a)throw new iA("Missing required parameters");
var c=typeof a==="object"?a:{path:a};a=c.callback;delete c.callback;b=new VA(c,b);if(c=!!_.Qe("client/xd4")&&rA()){var d=b.Kf();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(yB)}c&&(b=new qB(b));return a?(b.execute(a),null):b};pA.BP(function(a){return zB.apply(null,arguments)});
var AB=function(a,b){if(!a)throw new iA("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=typeof h=="string"?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)}}},BB=function(a){return new oB(a)};pA.zP(function(a){return BB.apply(null,arguments)});
var CB=function(a){if(_.LA.JSONRPC_ERROR_MOD)throw new iA(a+" is discontinued. See https://developers.googleblog.com/2018/03/discontinuing-support-for-json-rpc-and.html");_.Lf.log(a+" is deprecated. See https://developers.google.com/api-client-library/javascript/reference/referencedocs")};_.A("gapi.client.init",function(a){a.apiKey&&_.Re("client/apiKey",a.apiKey);var b=_.Kb(a.discoveryDocs||[],function(d){return xB(d)});if((a.clientId||a.client_id)&&a.scope){var c=new _.gk(function(d,e){var f=function(){_.$a.gapi.auth2.init.call(_.$a.gapi.auth2,a).then(function(){d()},e)};kA?f():_.$a.gapi.load("auth2",{callback:function(){f()},onerror:function(h){e(h||Error("Ca"))}})});b.push(c)}else(a.clientId||a.client_id||a.scope)&&_.Lf.log("client_id and scope must both be provided to initialize OAuth.");
return _.ok(b).then(function(){})});_.A("gapi.client.load",xB);_.A("gapi.client.newBatch",BB);_.A("gapi.client.newRpcBatch",function(){CB("gapi.client.newRpcBatch");return BB()});_.A("gapi.client.newHttpBatch",function(a){CB("gapi.client.newHttpBatch");return new oB(a,0)});_.A("gapi.client.register",function(a,b){CB("gapi.client.register");var c;b&&(c={apiVersion:b.apiVersion,root:b.root});AB(a,c)});_.A("gapi.client.request",zB);
_.A("gapi.client.rpcRequest",function(a,b,c){CB("gapi.client.rpcRequest");if(!a)throw new iA('Missing required parameter "method".');return new VA({method:a,apiVersion:b,rpcParams:c,transport:{name:"googleapis",root:c&&c.root||""}},2)});_.A("gapi.client.setApiKey",function(a){_.Re("client/apiKey",a);_.Re("googleapis.config/developerKey",a)});_.A("gapi.client.setApiVersions",function(a){CB("gapi.client.setApiVersions");_.Re("googleapis.config/versions",a)});_.A("gapi.client.getToken",function(a){return _.ji(a)});
_.A("gapi.client.setToken",function(a,b){a?_.Xv(a,b):_.Yv(b)});_.A("gapi.client.AuthType",{Cha:"auto",NONE:"none",sla:"oauth2",zja:"1p"});_.A("gapi.client.AuthType.AUTO","auto");_.A("gapi.client.AuthType.NONE","none");_.A("gapi.client.AuthType.OAUTH2","oauth2");_.A("gapi.client.AuthType.FIRST_PARTY","1p");
});
// Google Inc.
Ә