"use strict";this.default_vw=this.default_vw||{};(function(_){var window=this;
try{
_.mD=function(a,c){if(!Number.isFinite(a))return String(a);a=String(a);var e=a.indexOf(".");e===-1&&(e=a.length);var f=a[0]==="-"?"-":"";f&&(a=a.substring(1));return f+(0,_.$l)("0",Math.max(0,c-e))+a};
_.nD={cQ:["BC","AD"],bQ:["Before Christ","Anno Domini"],UR:"JFMAMJJASOND".split(""),sS:"JFMAMJJASOND".split(""),PR:"January February March April May June July August September October November December".split(" "),rS:"January February March April May June July August September October November December".split(" "),oS:"Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" "),uS:"Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" "),JS:"Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),
wS:"Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),qS:"Sun Mon Tue Wed Thu Fri Sat".split(" "),vS:"Sun Mon Tue Wed Thu Fri Sat".split(" "),VR:"SMTWTFS".split(""),tS:"SMTWTFS".split(""),pS:["Q1","Q2","Q3","Q4"],jS:["1st quarter","2nd quarter","3rd quarter","4th quarter"],GP:["AM","PM"],Nw:["EEEE, MMMM d, y","MMMM d, y","MMM d, y","M/d/yy"],XI:["h:mm:ss\u202fa zzzz","h:mm:ss\u202fa z","h:mm:ss\u202fa","h:mm\u202fa"],VP:["{1} 'at' {0}","{1} 'at' {0}","{1}, {0}","{1}, {0}"],Pw:6,
X$:[5,6],cB:5};
_.nD={cQ:["v. Chr.","n. Chr."],bQ:["v. Chr.","n. Chr."],UR:"JFMAMJJASOND".split(""),sS:"JFMAMJJASOND".split(""),PR:"Januar Februar M\u00e4rz April Mai Juni Juli August September Oktober November Dezember".split(" "),rS:"Januar Februar M\u00e4rz April Mai Juni Juli August September Oktober November Dezember".split(" "),oS:"Jan. Feb. M\u00e4rz Apr. Mai Juni Juli Aug. Sept. Okt. Nov. Dez.".split(" "),uS:"Jan Feb M\u00e4r Apr Mai Jun Jul Aug Sep Okt Nov Dez".split(" "),JS:"Sonntag Montag Dienstag Mittwoch Donnerstag Freitag Samstag".split(" "),wS:"Sonntag Montag Dienstag Mittwoch Donnerstag Freitag Samstag".split(" "),
qS:"So. Mo. Di. Mi. Do. Fr. Sa.".split(" "),vS:"So Mo Di Mi Do Fr Sa".split(" "),VR:"SMDMDFS".split(""),tS:"SMDMDFS".split(""),pS:["Q1","Q2","Q3","Q4"],jS:["1. Quartal","2. Quartal","3. Quartal","4. Quartal"],GP:["AM","PM"],Nw:["EEEE, d. MMMM y","d. MMMM y","dd.MM.y","dd.MM.yy"],XI:["HH:mm:ss zzzz","HH:mm:ss z","HH:mm:ss","HH:mm"],VP:["{1} 'um' {0}","{1} 'um' {0}","{1}, {0}","{1}, {0}"],Pw:0,X$:[5,6],cB:3};var UQa;_.TQa=function(a,c){switch(c){case 1:return a%4!=0||a%100==0&&a%400!=0?28:29;case 5:case 8:case 10:case 3:return 30}return 31};_.pD=function(a,c,e){typeof a==="number"?(this.date=UQa(a,c||0,e||1),oD(this,e||1)):_.db(a)?(this.date=UQa(a.getFullYear(),a.getMonth(),a.getDate()),oD(this,a.getDate())):(this.date=new Date(_.oe()),a=this.date.getDate(),this.date.setHours(0),this.date.setMinutes(0),this.date.setSeconds(0),this.date.setMilliseconds(0),oD(this,a))};
UQa=function(a,c,e){c=new Date(a,c,e);a>=0&&a<100&&c.setFullYear(c.getFullYear()-1900);return c};_.k=_.pD.prototype;_.k.Jy=_.nD.Pw;_.k.AD=_.nD.cB;_.k.clone=function(){var a=new _.pD(this.date);a.Jy=this.Jy;a.AD=this.AD;return a};_.k.getFullYear=function(){return this.date.getFullYear()};_.k.getYear=function(){return this.getFullYear()};_.k.getMonth=function(){return this.date.getMonth()};_.k.getDate=function(){return this.date.getDate()};_.k.getTime=function(){return this.date.getTime()};
_.k.getDay=function(){return this.date.getDay()};_.k.getUTCFullYear=function(){return this.date.getUTCFullYear()};_.k.getUTCMonth=function(){return this.date.getUTCMonth()};_.k.getUTCDate=function(){return this.date.getUTCDate()};_.k.getUTCDay=function(){return this.date.getDay()};_.k.getUTCHours=function(){return this.date.getUTCHours()};_.k.getUTCMinutes=function(){return this.date.getUTCMinutes()};_.k.getTimezoneOffset=function(){return this.date.getTimezoneOffset()};
_.k.set=function(a){this.date=new Date(a.getFullYear(),a.getMonth(),a.getDate())};_.k.setFullYear=function(a){this.date.setFullYear(a)};_.k.setYear=function(a){this.setFullYear(a)};_.k.setMonth=function(a){this.date.setMonth(a)};_.k.setDate=function(a){this.date.setDate(a)};_.k.setTime=function(a){this.date.setTime(a)};_.k.setUTCFullYear=function(a){this.date.setUTCFullYear(a)};_.k.setUTCMonth=function(a){this.date.setUTCMonth(a)};_.k.setUTCDate=function(a){this.date.setUTCDate(a)};
_.k.add=function(a){if(a.H||a.F){var c=this.getMonth()+a.F+a.H*12,e=this.getYear()+Math.floor(c/12);c%=12;c<0&&(c+=12);var f=Math.min(_.TQa(e,c),this.getDate());this.setDate(1);this.setFullYear(e);this.setMonth(c);this.setDate(f)}a.Xg&&(e=this.getYear(),c=e>=0&&e<=99?-1900:0,a=new Date((new Date(e,this.getMonth(),this.getDate(),12)).getTime()+a.Xg*864E5),this.setDate(1),this.setFullYear(a.getFullYear()+c),this.setMonth(a.getMonth()),this.setDate(a.getDate()),oD(this,a.getDate()))};
_.k.Cw=function(a){var c=this.getFullYear(),e=c<0?"-":c>=1E4?"+":"";return[e+_.mD(Math.abs(c),e?6:4),_.mD(this.getMonth()+1,2),_.mD(this.getDate(),2)].join(a?"-":"")};_.k.equals=function(a){return!(!a||this.getYear()!=a.getYear()||this.getMonth()!=a.getMonth()||this.getDate()!=a.getDate())};_.k.toString=function(){return this.Cw()};var oD=function(a,c){a.getDate()!=c&&a.date.setUTCHours(a.date.getUTCHours()+(a.getDate()<c?1:-1))};_.pD.prototype.valueOf=function(){return this.date.valueOf()};
}catch(e){_._DumpException(e)}
try{
var VQa,qD,rD,WQa,XQa,sD,uD,aRa,bRa,vD,cRa,dRa,xD,jRa,kRa,mRa,ED,nRa;VQa=function(){_.ke.call(this)};qD=function(a,c){this.F=a;this.H=c;this.B=!0};rD=function(a){var c={};a=a.replace(/\r/g,"").split("\n");for(var e=0;e<a.length;e++){var f=a[e],g=f.indexOf(":");g<0||(c[f.substring(0,g)]=f.substring(g+2,f.length))}return c};WQa=function(a){var c="";_.Zd(a,function(e,f){c+=f+": "+e+"\r\n"});return c};XQa=function(){};
sD=function(a,c){_.ke.call(this);this.H=a;this.GL=this.C=null;this.D=0;this.I=Infinity;this.R=c||5E6;this.tb=this.B=null};_.tD=function(){this.blockSize=-1};uD=function(){this.blockSize=-1;this.blockSize=64;this.B=Array(4);this.F=Array(this.blockSize);this.D=this.C=0;this.reset()};_.YQa=function(a){return String.fromCodePoint(a)};_.ZQa=function(a,c){return a.indexOf(c)};_.$Qa=function(){var a=new _.jp;_.$o(a);_.bp(a,Error(a));return a};aRa=function(a,c){a.F=c};
bRa=function(a){return typeof a.B==="string"||Array.isArray(a.B)||_.Bxa&&a.B instanceof Blob};vD=function(a){return{ReqUri:a.C,ReqContent:a.W,ReqMethod:a.L}};cRa=function(a){try{return decodeURIComponent(a)}catch(e){var c=_.cp(e);if(_.gp(c))return null;throw c.B;}};dRa=function(a,c){_.ah.call(this,a,c);_.bp(this,Error(this))};_.F(dRa,_.ah);
var eRa=function(a){a=new dRa("Deferred errback'ed: "+_.Vo(a.C),a,null);_.bp(a,Error(a));return a},fRa=function(a,c){_.bf(a,function(e){c.callback(e)},function(e){_.dp(e)?e=eRa(e):e instanceof Error?(e=_.cp(e),e=eRa(e)):(e=new dRa("Deferred errback'ed",null,e),_.bp(e,Error(e)));_.tq(c,e)})},gRa=function(a,c){c=c?c:(_.Wq(),_.Uq);return a==401?(_.Wq(),_.Gqa):a==403?(_.Wq(),_.Fqa):a==421?(_.Wq(),_.Kqa):a==423?(_.Wq(),_.Lqa):a==512||a==432?(_.Wq(),_.Qqa):a==433?(_.Wq(),_.Eqa):a==434?(_.Wq(),_.Rqa):a==
202||a==405||a==409||a==429||a>=500&&a<=599&&a!=550?(_.Wq(),_.Jqa):a==413?(_.Wq(),_.Pqa):a>=400&&a<=499||a==550?c:(_.Wq(),_.Tq)},hRa=function(a,c){this.C=a;this.B=c};hRa.prototype.notify=function(a,c){this.B!=null&&this.B.zh()&&this.B.B()||this.C.notify(a,c)};_.iRa=function(a){this.B=a?_.ee(a):{};this.C=null};_.iRa.prototype.Vd=function(){return this.B.token||null};var wD=function(a,c,e,f,g){_.Xd.call(this,a);this.C=this.cause=null;this.errorCode=c;this.B=e;this.F=g};_.F(wD,_.Xd);
wD.prototype.en=function(){return this.type=="p"||this.type=="q"};wD.prototype.getType=function(){return this.type};xD=function(a){return a.C.includes("/save")};jRa=function(a){return a.replace(/[0-9a-zA-Z]/g,"a").replace(/[^\u0000-\u007F]/g,"b")};kRa=function(a){return a.length<=100?jRa(a):jRa(a.substring(0,50))+" (truncated) "+jRa(a.substring(a.length-50))};_.yD=function(){};_.yD.prototype.stringify=function(a){return _.na.JSON.stringify(a,void 0)};
_.yD.prototype.parse=function(a){return _.na.JSON.parse(a,void 0)};
var AD=function(a,c,e){_.ke.call(this);var f=this;this.D=a;this.H=function(g){_.zD(f.D,"tfe",g)};this.tb=this.B=null;this.F=new _.Sg(this);this.F.listen(this.D,"m",this.I);if(this.C=e)_.ch(this.C,"browserChannel_lastStatusCode",function(){return f.B?String(f.B.MH()):"null"}),_.ch(this.C,"browserChannel_currentError",function(){return f.B?String(f.B.H):"null"}),_.ch(this.C,"browserChannel_channel_id",function(){return f.B?String(f.B.Xa):"null"});e==null||_.ti(c,"icso")};_.F(AD,_.ke);
AD.prototype.I=function(){this.B&&this.B.A_(this.D.B.B)};AD.prototype.oa=function(){this.B&&!this.B.isDisposed()&&(this.B.unsubscribe("tfe_changed",this.H),this.B.lb(),this.B.Oqa());this.B=null;_.Td(this.F);_.ke.prototype.oa.call(this)};var BD=function(a,c){_.Vd.call(this);this.C=[];this.H=a;(this.B=c||null)&&this.ka(this.B);this.D=this.F=null;this.B&&(this.D=new _.pe(500),this.F=new _.Sg(this),this.F.listen(this.D,"tick",this.mra))};_.F(BD,_.Vd);_.k=BD.prototype;
_.k.enqueue=function(a){if(this.B){if(!_.Mq(this.B)||this.C.length!=0){this.C.push(a);this.D.start();return}_.Nq(this.B)}this.H(a)};_.k.reset=function(){this.C=[];this.D&&this.D.stop()};_.k.contains=function(a){return _.Ta(this.C,a)};_.k.remove=function(a){_.Xa(this.C,a);lRa(this)};_.k.mra=function(){for(;this.C.length>0&&_.Mq(this.B);)_.Nq(this.B),this.H(this.C.shift());lRa(this)};var lRa=function(a){a.C.length==0&&a.D&&a.D.stop()};BD.prototype.oa=function(){_.Td(this.F);_.Td(this.D);_.Vd.prototype.oa.call(this)};
mRa=_.pd(_.Qu);ED=function(a){if(CD(a)&&a.D!=null&&_.pa(a.D||"",")]}'\n")){try{var c=DD(a)}catch(e){return null}if(Array.isArray(c)&&(a=c[0],Array.isArray(a)&&a[0]==_.Qu.messageId))return mRa(JSON.stringify(a))}return null};nRa=function(a){a=ED(a);if(!a)return null;var c;return(a=(c=_.Ru(a))==null?void 0:_.Fka(c,_.Hka))?a:null};_.FD=function(a){this.X=_.z(a)};_.F(_.FD,_.D);
var oRa=function(a,c,e,f){_.ke.call(this);this.C=f?_.ee(f):_.Sxa;this.D="";this.tb=null;if(!e){e=a.get("info_params");var g;typeof e==="string"?g=JSON.parse(e):g=_.Rpa(a,"info_params");a=_.$d(g,String);if(e=_.na._docs_coldstart_url){a:{try{_.zq();var h=_.ZQa(e,_.YQa(35));var l=h<0?null:e.substr(h+1|0);var p=l==null?null:decodeURIComponent(l)}catch(r){p=_.cp(r);if(_.gp(p)){p={};break a}throw p.B;}l={};if(p)for(p=p.split("&"),h=0;h<p.length;h++)f=p[h].split("="),f.length==2&&(e=cRa(f[0]),f=cRa(f[1]),
e&&f&&_.bq(l,e,f));p=l}p=p.resourcekey}else p=null;p?a.resourcekey=p:g.resourcekey&&(g=_.kd(_.FD,(0,_.Wj)(g.resourcekey)),g=_.si(g,2),g!=null&&(a.resourcekey=g));e=new _.iRa(a)}this.B=e;(c=_.Cg((c||_.na).location.href,"authkey"))&&_.zD(this,"authkey",c)};_.F(oRa,_.ke);_.zD=function(a,c,e){var f=a.B;if(e){if(f.B[c]=e,f.C&&(c=f.Vd()))f.C.callback(c),f.C=null}else delete f.B[c];a.dispatchEvent("m")};oRa.prototype.Vd=function(){return this.B.Vd()};
_.GD=function(a,c,e,f,g,h,l,p,r,w,x,A){_.ke.call(this);var B=this;this.Aa=a;this.ha=c;this.W=w||null;this.F=new oRa(c,e,h,p);this.ka(this.F);this.L=new _.Sg(this);this.ka(this.L);this.C=f||null;f&&(a=this.C,aRa(a,new hRa(a.F,this.W)),this.L.listen(a,"a",this.kga));this.I=x||new AD(this.F,this.ha,this.C);this.ka(this.I);this.B=g||new _.Nu;this.fa=r||null;this.ia=A||null;this.ca=new _.Su;this.ka(this.ca);this.H=[];this.aa=[];this.V=new BD(function(C){B.B.getState().B>=5||(B.B.getState()==(_.Wq(),_.Sq)&&
B.B.hb((_.Wq(),_.Hqa)),B.L.rb(C,"j",B.LW),xD(C)&&Date.now(),C.send(B.F))},l);this.ka(this.V);this.tb=null;this.D=(_.Wq(),_.Uq);this.Ba=new _.Yq;this.ka(this.Ba);this.ma=new _.Yq;this.ka(this.ma);this.za=new _.$q;this.ka(this.za);this.L.listen(this.I,"l",this.wa)};_.F(_.GD,_.ke);_.k=_.GD.prototype;_.k.Kt=function(a){a=this.vy(a);_.Gu(a,this.F.D);return a};_.k.vy=function(a){return new HD(this,a,this,this.ha,this.fa,this.Aa.B)};
_.k.send=function(a){a.isDisposed()?this.C&&this.C.log(Error("md")):(xD(a)&&Date.now(),_.Va(this.H,a),this.V.enqueue(a),this.L.rb(a,"k",this.Gha))};
_.k.LW=function(a){var c=a.target;xD(c)&&Date.now();var e=a.response;e.Vo("X-Restart")=="SOON"&&this.B.D.dispatchEvent(null);pRa(this,e);this.C&&qRa(e)&&c.D!=1&&(c.C.startsWith("/logImpressions")||c.C.startsWith("/naLogImpressions")||this.C.log(Error("pd"),rRa(e)));if(a=sRa(e)){var f=!0,g=!1;if(a.type=="o"){try{c.ha(e),ID(this,c)}catch(r){try{var h={XhrNetEvent_requestUri:c.C,XhrNetEvent_contentType:e.F,XhrNetEvent_responseType:e.Ij(),XhrNetEvent_errorCode:e.B,XhrNetEvent_statusCode:e.C,XhrNetEvent_isStringResponseType:CD(e),
XhrNetEvent_responseServerHeader:e.Vo("server")||e.Vo("Server"),XhrNetEvent_mobileNativeResponseUrl:e.Vo("mobileNativeRedirectResponseUrl")||"(not set)",XhrNetEvent_certificateChains:e.Vo("certificateChains")||"(not set)",XhrNetEvent_responseObjectLength:(e.D||"").length,XhrNetEvent_responseObject:CD(e)?kRa(e.D||""):"responseObject"}}catch(w){h={XhrNetEvent_contextObjectError:w.toString()}}if(_.ti(this.ha,"docs-cbcwro")&&a.type=="o"&&e.F.includes("text/html")&&e.C==200){a=new wD("n",5,a.B,function(){return null},
h);_.yr(this.C,r,h,null);c.handleError(a)==0&&(f=!1);ID(this,c);c.dispose();f&&this.dispatchEvent(a);return}a=new wD("r",a.errorCode,a.B,function(){return DD(e)},h);a.cause=r;a.C="o";ID(this,c,this.D)}c.dispose()}else if(a.en())switch(tRa(this,a,c,e)){case 4:g=!0;a.C=a.type;a.type="n";break;case 1:a.C=a.type;a.type="n";break;case 3:f=!1;break;case 2:a.F instanceof _.Qu&&_.si(a.F,2,_.Ib)}else a.type=="s"&&(this.C&&this.C.info(Error("nd")),ID(this,c,(_.Wq(),_.Mqa)),f=!1);if(a.type=="n"){a.F instanceof
_.Qu&&_.si(a.F,2,_.Ib);try{if(c.handleError(a)==0&&(f=!1),c.ia)ID(this,c);else{var l=c.fa(a);if(l||g)ID(this,c,l||(_.Wq(),_.Uq));else{var p=gRa(a.B,this.D);(this.D&&p==this.D||p==(_.Wq(),_.Uq))&&this.C&&this.C.log(Error("od"),{XhrNetEvent_type:"ERROR",XhrNetEvent_httpStatus:a.B.toString(),shouldDispatch:f});ID(this,c,p)}}}catch(r){a=new wD("r",a.errorCode,a.B,function(){return DD(e)}),a.cause=r,a.C="n",ID(this,c,this.D)}c.dispose()}f&&this.dispatchEvent(a)}};
_.k.Gha=function(a){a=a.target;xD(a)&&Date.now();this.V.contains(a)?this.V.remove(a):_.Ta(this.H,a)&&(this.L.Eb(a,"j",this.LW),ID(this,a));_.Xa(this.H,a);_.Xa(this.aa,a)};
var ID=function(a,c,e){var f=a.B.getState(),g=f,h=e||(_.Wq(),_.Tq);e=!e;_.Xa(a.H,c);_.Xa(a.aa,c);if(!(f.B>=5))if(h.B>=5)a.B.hb(h,c.C);else{var l=a.I.B!=null||_.Oj(a.H,function(p){return p.D==3});if(f==(_.Wq(),_.Hqa))e||!l?a.H.length==0&&(g=(_.Wq(),_.Sq)):(uRa(a),g=h);else if(e)if(a.H.length>0)g=(_.Wq(),_.Iqa),vRa(a);else{if(a.I.B==null||a.I.B.rQ())g=(_.Wq(),_.Sq)}else g=h;a.B.hb(g,c.C)}},tRa=function(a,c,e,f){var g=!1;if(c.B==200){var h=ED(f);if(h){var l;if(h=(l=_.Fka(_.gk(h,_.Nk,10,_.Ib),_.Hka))==
null?void 0:l.Vd())_.JD(a,h),g=!0}}c.B==400&&(f=nRa(f))&&f.Vd()&&(_.JD(a,f.Vd()),g=!0);c.B==409&&_.zD(a.F,"tfe",null);f=a.B.getState().B>=5;l=c.type=="q";if(!f&&g&&e.H.C<=1)return wRa(a,e,2),3;h=c.B===0?1:3;if(!f&&e.D!=1&&e.H.C<4)return wRa(a,e,h),3;if(e.D==3){if(f)return 2;a.I.B==null||l?wRa(a,e,h):a.aa.push(e)}else return g?4:1;uRa(a);g=gRa(c.B,a.D);(a.D&&g==a.D||g==(_.Wq(),_.Uq))&&a.C&&(c={XhrNetEvent_type:function(p){switch(p){case "o":return"SUCCESS";case "n":return"ERROR";case "p":return"NETWORK_WARNING";
case "q":return"SERVER_WARNING";case "r":return"CLIENT_ERROR";case "s":return"RESTART_NOW";default:return"UNKNOWN"}}(c.getType()),XhrNetEvent_httpStatus:c.B.toString()},a.C.log(Error("qd"),c));a.B.hb(g,e.C,null,!(e.D!=1&&e.H.C<4));return 2},uRa=function(a){a.I.B!=null&&a.B.getState().B==1&&(a=a.I,a.B.lb(),a.B.NT())};_.GD.prototype.getStatus=function(){return this.B};var wRa=function(a,c,e){e=_.Dxa(c.H,e);a.ca.Wq(function(){return a.send(c)},e)};
_.GD.prototype.wa=function(a){var c=this.B.getState();c.B>=5||(a.C?c.isError()&&(this.H.length>0?(this.B.hb((_.Wq(),_.Iqa)),vRa(this)):this.B.hb((_.Wq(),_.Sq))):(c=gRa(a.B,this.D),(this.D&&c==this.D||c==(_.Wq(),_.Uq))&&this.C&&this.C.log(Error("rd"),{XhrNetEvent_httpStatus:a.B.toString()}),this.B.hb(c,null,a.B)))};var pRa=function(a,c){if(a.ia){var e;((e=c.Vo("X-Reload"))==null?void 0:e.toLowerCase())==="true"&&a.ia.ca(!0)}},vRa=function(a){var c=a.aa.shift();c&&a.send(c)};
_.GD.prototype.R=function(a){var c=this.F;_.sxa(a);c.D=a};_.JD=function(a,c){var e=a.F;e.B.B.at&&_.zD(e,"at",c);_.zD(e,"token",c);a.ma.dispatchEvent(null)};_.k=_.GD.prototype;_.k.Vd=function(){return this.F.Vd()};_.k.Bx=function(){var a=this.F.B;var c=a.Vd();c?a=_.oo(c):(a.C||(a.C=new _.$e),a=a.C);c=new _.sq;fRa(a,c);return c};_.k.kga=function(){var a=this.W!=null&&this.W.zh()&&this.W.B()?(_.Wq(),_.Oqa):(_.Wq(),_.Nqa);this.B.hb(a)};_.k.Jia=function(){return!!this.fa};
_.k.oa=function(){_.Ud(this.H);_.ke.prototype.oa.call(this)};var xRa,yRa=function(){yRa=function(){};xRa=RegExp("^[^\\[\\{]+")};var KD=function(a,c,e,f,g,h,l){this.D=a;this.Jf=c||"text";this.F=_.ra(_.am(e))?null:e;this.C=f!==void 0?f:200;this.L={};if(h)for(var p in h)this.L[p.toLowerCase()]=h[p];this.B=g!==void 0?g:0;this.R=l||{};this.I=void 0},zRa=function(a){switch(a){case "arraybuffer":return"arraybuffer";case "blob":return"blob";case "document":return"document";case "text":return"text";case "":return"text";default:throw Error("Ge`"+a);}};KD.prototype.Ij=function(){return this.Jf};
KD.prototype.gn=function(){return this.B==0};KD.prototype.Vo=function(a){return this.L[a.toLowerCase()]};var CD=function(a){return a.Jf=="text"},DD=function(a){if(a.I===void 0){var c=a.D||"";yRa();c=c.replace(xRa,"");if(c)if(c==="null")var e=null;else{c=_.Rp(c);try{e=JSON.parse(c)}catch(f){a=_.cp(f);if(_.gp(a))throw e=new _.hp,c="Error parsing JSON: "+_.Vo(a.C),e.D=a,e.C=c,_.$o(e),_.bp(e,Error(e)),e.B;throw a.B;}if(!(e instanceof Object))throw _.$Qa().B;}else e=null;a.I=e}return a.I};
KD.prototype.H=function(){return DD(this)["0"]};
var rRa=function(a){var c=a.C,e=a.B,f=a.Jf,g=a.F;if(CD(a)){var h=a.D||"";h=_.Yl(h);h.length>50&&(h=h.substring(0,47)+"...");h=_.hma(h);h+="   (truncated)"}else h="responseObject";c={RespStatus:c,RespErr:e,RespType:f,RespContentType:g,RespString:h};Object.assign(c,a.R);return c},sRa=function(a){if(a.Vo("X-Restart")=="NOW")return new wD("s",a.B,a.C,function(){return DD(a)});if(a.B==7)return null;var c=ARa(a)?"p":BRa(a)?"q":a.gn()?"o":"n";return new wD(c,a.B,a.C,function(){return DD(a)},a.B==6&&a.C==
500?ED(a):null)},ARa=function(a){var c=a.B,e=a.C;return a.gn()?c!=0||e!=0||CD(a)&&a.D!=null?!1:!0:c==8||c==5||c==6&&(e<=0||e==503||e==405)?!0:!1},BRa=function(a){var c=a.C;return a.B==6&&(c==202||c==401||c==403||c==409||c==429||c==433||c>=500&&c<=599&&c!=503&&c!=512&&c!=550)||c==400&&nRa(a)!=null?!0:c==200?a.F==null||ED(a)?!0:qRa(a):!1},qRa=function(a){if(a.C==200&&a.F!=null&&!ED(a)&&CD(a)){if(_.ra(_.am(a.D)))return!0;if(_.pa(a.D||"",")]}'\n"))try{return DD(a)==null}catch(c){}}return!1};var CRa=function(){_.ke.call(this)};_.Ij(CRa,_.ke);var LD=function(a){_.Xd.call(this,a)};_.Ij(LD,_.Xd);_.k=CRa.prototype;_.k.JR=function(){return null};_.k.Gk=function(){return null};_.k.qe=function(){return null};_.k.start=function(){};_.k.cancel=function(){};_.Ij(VQa,CRa);VQa.prototype.C_=function(){};_.k=qD.prototype;_.k.getName=function(){return this.F};_.k.getSize=function(){return this.H};_.k.getBlob=function(){return null};_.k.Xr=function(){return!1};_.k.kM=function(){return!1};_.k.XE=function(){return!1};var MD=function(a){_.ke.call(this);this.gb=a};_.Ij(MD,_.ke);var ND=function(a){_.Xd.call(this,a)};_.Ij(ND,_.Xd);var OD={RI:"x",lC:"y",ERROR:"z",CANCEL:"A"},DRa=function(a,c){_.Xd.call(this,a);this.en=!!c};_.Ij(DRa,ND);_.k=MD.prototype;_.k.getItem=function(){return this.gb};_.k.GI=function(){return null};_.k.qe=function(){return null};_.k.Gk=function(){return null};_.k.start=function(){};_.k.cancel=function(){};_.k.pause=function(){};_.k.resume=function(){};var PD=function(a,c,e){_.ke.call(this);ERa++;this.D="select";this.W=a;this.V=c;this.B=e;this.ka(this.B);this.L="";this.I="POST";this.F={};this.H="";this.R=!1;this.C=new _.Sg(this);this.ka(this.C)};_.F(PD,_.ke);_.k=PD.prototype;_.k.getState=function(){return this.D};_.k.getName=function(){return this.W};_.k.getSize=function(){return this.V};_.k.getBlob=function(){return this.B.getItem().getBlob()};_.k.qe=function(){return this.B.qe()};_.k.Gk=function(){return this.B.Gk()};
_.k.start=function(){var a=this;this.C.listen(this.B,OD.RI,function(){a.dispatchEvent(new QD("C",a))});this.C.listen(this.B,OD.lC,function(){a.D="complete";a.dispatchEvent(new QD("D",a))});this.C.listen(this.B,OD.ERROR,function(c){a.D="error";a.dispatchEvent(new FRa("E",a,c.en))});this.B.start(this.L,this.I,this.F,this.H,this.R);this.D="start";this.dispatchEvent(new QD("B",this))};_.k.cancel=function(){this.B.cancel();this.D="cancel";_.fr(this.C);this.dispatchEvent(new QD("F",this))};_.k.pause=function(){this.B.pause()};
_.k.resume=function(){this.B.pause()};var QD=function(a,c){_.Xd.call(this,a);this.item=c};_.F(QD,_.Xd);var FRa=function(a,c,e){QD.call(this,a,c);this.en=!!e};_.F(FRa,QD);var ERa=0;var RD=function(a,c,e,f,g,h,l,p,r,w,x,A,B,C,G,M,V,aa){if(x<=0)throw Error("He`"+x);_.Ku.call(this,a,"",c,e,f,g,h,l,p,r,w,x,"POST",G,M,aa);var la=this;this.Ba=A;this.ca=B;this.wa=V;this.Aa=C;this.B=null;this.F=new _.Sg(this);this.I=new _.Rg(function(){if(GRa(la)){var ua=new KD("","text",null,0,8,{},vD(la));la.Kr(ua)}},x);this.tb=null};_.F(RD,_.Ku);
RD.prototype.R=function(a){var c=this.Tb();if(typeof c==="string"){var e=this.ca;var f=c.length;c=new HRa(c,"raw","",void 0);c.B=!0;c=IRa(e.B.B,c);f=new PD("",f,c);e.dispatchEvent(new JRa([f],null));e=f}else e=this.ca,f=new KRa(c,"docs_blob"),f.B=!0,c=IRa(e.B.B,f),f=new PD("docs_blob",f.getSize(),c),e.dispatchEvent(new JRa([f],null)),e=f;this.B=e;e={};f=_.Aq(this.wa);_.ra(_.am(f))||Object.assign(e,{authuser:f});Object.assign(e,a.B.B);f=this.B;e=_.xg(this.Ba,e);f.L=e;this.B.I=this.L;e={};Object.assign(e,
this.aa,_.ee(a.C));this.B.F=_.ee(e);e={};f=_.mg(this.C);e.httpaction=f;if(f=_.lg(6,this.C)){f=new _.Qg(f);c=f.bd();for(var g=0;g<c.length;g++){var h=c[g];e[h]=f.get(h)}}Object.assign(e,a.B.B);a=this.B;e=this.Aa.stringify(e);a.H=e;this.B.R=!0;this.F.rb(this.B,"D",this.Ga);this.F.rb(this.B,"E",this.Ma);this.F.listen(this.B,"C",this.Wa);this.B.start();this.I.start()};
RD.prototype.Ga=function(){if(this.B){var a=this.B.B.GI(),c=this.B.Gk()||{},e={},f;for(f in c)e[f.toLowerCase()]=c[f];a=new KD(this.B.qe(),"text",e["content-type"]||null,a,_.Ura(a)?0:6,e,vD(this));this.Kr(a)}};RD.prototype.Ma=function(){if(this.B){var a=new KD("","text",null,0,5,{},vD(this));this.Kr(a)}};RD.prototype.Wa=function(){GRa(this)&&this.I.start()};var GRa=function(a){return a.B!=null&&a.B.getState()=="start"};
RD.prototype.reset=function(){this.I.stop();this.B&&(GRa(this)&&this.B.cancel(),_.Td(this.B),this.B=null);_.fr(this.F)};RD.prototype.oa=function(){_.Ud(this.I,this.F);_.Ku.prototype.oa.call(this)};var LRa=function(a,c,e){e===void 0&&(e=a.size);return a.slice?a.slice(c,e):null};var MRa=_.Pi(function(){if(!_.na.Blob)return!1;var a=new Uint8Array(100);try{var c=new Blob([a])}catch(e){return!1}return c.size!=100?!1:!0}),NRa=_.Pi(function(){if(!_.na.Blob)return!1;var a=new Uint8Array(100);try{var c=new Blob([a])}catch(e){return!1}return LRa(c,0,1)===null?!1:!0});var KRa=function(a,c){qD.call(this,c,a.size);this.C=a};_.F(KRa,qD);_.k=KRa.prototype;_.k.getBlob=function(){return this.C};_.k.Xr=function(){return NRa()};_.k.kM=function(){return!0};_.k.XE=function(){return!1};_.k.WT=function(){return null};var ORa=function(a,c,e,f,g,h,l,p){_.ke.call(this);this.ca=a;this.I=c;this.ha=e;this.W=f;this.R=g||null;this.F=h||null;this.aa=l?_.ee(l):{};this.Ne=!!p;this.H="";a=new _.pD;this.C="scotty-"+_.bm()+"-"+a.Cw();this.B=null;this.D=0;this.L=null;this.V=new _.Sg(this);this.ka(this.V)};_.F(ORa,VQa);_.k=ORa.prototype;_.k.C_=function(a){this.H=a};_.k.JR=function(){return this.B&&this.B.status||null};_.k.Gk=function(){return this.L};_.k.qe=function(){return this.B&&this.B.responseText||null};
_.k.start=function(){var a=this;this.B=new XMLHttpRequest;this.B.upload&&(this.B.upload.onprogress=function(c){a.D=c.loaded;a.dispatchEvent(new LD("t"))});this.B.onload=function(c){a.D=a.ha;a.L=rD(c.target.getAllResponseHeaders());a.dispatchEvent(new LD("u"))};this.B.onerror=function(){a.dispatchEvent(new LD("v"))};this.B.open("POST",this.ca);_.Zd(this.aa,function(c,e){a.B.setRequestHeader(e,c)});this.B.setRequestHeader("Content-Type","multipart/form-data; boundary="+this.C);this.B.withCredentials=
this.Ne;this.B.send(PRa(this))};_.k.cancel=function(){this.B&&this.B.abort()};var PRa=function(a){var c=["--",a.C,"\r\n",'Content-Disposition: form-data; name="metadata"\r\n\r\n'+a.H+"\r\n","--",a.C,"\r\n",'Content-Disposition: form-data; name="Filedata"'+(a.R?'; filename="'+a.R+'"':"")+"\r\n"+(a.F?"Content-Type: "+a.F+"\r\n":"")+"Content-Transfer-Encoding: "+a.W+"\r\n","\r\n",a.I,"\r\n","--",a.C,"--\r\n"];return typeof a.I==="string"?c.join(""):new Blob(c)};var HRa=function(a,c,e,f){var g=null;MRa()&&(g=f?new Blob([a],{type:f}):new Blob([a]));if(g)var h=g.size;else{h=[];for(var l=0,p=0;p<a.length;p++){var r=a.charCodeAt(p);r<128?h[l++]=r:(r<2048?h[l++]=r>>6|192:((r&64512)==55296&&p+1<a.length&&(a.charCodeAt(p+1)&64512)==56320?(r=65536+((r&1023)<<10)+(a.charCodeAt(++p)&1023),h[l++]=r>>18|240,h[l++]=r>>12&63|128):h[l++]=r>>12|224,h[l++]=r>>6&63|128),h[l++]=r&63|128)}h=h.length}qD.call(this,e,h);this.R=h;this.D=g;this.L=a;this.C=c;this.I=f||void 0};
_.Ij(HRa,qD);_.k=HRa.prototype;_.k.getBlob=function(){return this.D};_.k.Xr=function(){return this.C!="base64"&&NRa()};_.k.kM=function(){return this.C!="base64"&&MRa()};_.k.XE=function(){return!0};_.k.WT=function(a,c,e){return new ORa(a,this.D||this.L,this.R,this.C=="base64"?"base64":"binary",this.getName(),this.I,c,e)};var SD=function(a){MD.call(this,a);this.B=null;this.C=new _.Sg(this);this.ka(this.C)};_.F(SD,MD);_.k=SD.prototype;_.k.GI=function(){return this.B&&this.B.JR()||null};_.k.qe=function(){return this.B&&this.B.qe()||null};_.k.Gk=function(){return this.B&&this.B.Gk()||null};
_.k.start=function(a,c,e,f,g){a=new _.Hg(a);_.Eq(a,"upload_protocol","multipart");a=a.toString();this.B=this.getItem().WT(a,e,g);this.B.C_(f);this.C.listen(this.B,"t",this.m9);this.C.listen(this.B,"u",this.Xma);this.C.listen(this.B,["v","w"],this.Wma);this.B.start()};_.k.cancel=function(){this.B&&this.B.cancel();this.dispatchEvent(new ND(OD.CANCEL))};_.k.m9=function(){this.dispatchEvent(new ND(OD.RI))};_.k.Xma=function(){this.dispatchEvent(new ND(OD.lC))};_.k.Wma=function(){this.dispatchEvent(new ND(OD.ERROR))};var TD=function(){_.or.call(this)};_.F(TD,_.or);TD.prototype.YJ=function(){var a=_.or.prototype.YJ.call(this);a.upload&&(a.upload.onprogress=(0,_.me)(this.B,this));return a};TD.prototype.B=function(a){this.dispatchEvent(a)};_.Ij(sD,_.ke);sD.prototype.hash=function(a){this.abort();this.H.reset();this.C=a;this.GL=null;this.D=0;this.dispatchEvent("started");QRa(this)};var RRa=function(a,c){a.I=c;a.C&&!a.B&&QRa(a)};sD.prototype.abort=function(){this.B&&(this.B.abort(),this.B=null);this.C&&(this.C=null,this.dispatchEvent("abort"))};
var QRa=function(a){if(a.D<a.C.size)if(a.I<=a.D)a.dispatchEvent("throttled");else{a.B=new FileReader;a.B.onload=(0,_.me)(a.L,a);a.B.onerror=(0,_.me)(a.F,a);var c=Math.min(Math.min(a.I,a.C.size)-a.D,a.R),e=LRa(a.C,a.D,a.D+c);e&&e.size==c?a.B.readAsArrayBuffer?a.B.readAsArrayBuffer(e):a.B.readAsBinaryString?a.B.readAsBinaryString(e):a.F():a.F()}else a.GL=a.H.digest(),a.C=null,a.dispatchEvent("complete")};
sD.prototype.L=function(){var a=null;this.B.result instanceof Array||typeof this.B.result==="string"?a=this.B.result:_.na.ArrayBuffer&&_.na.Uint8Array&&this.B.result instanceof ArrayBuffer&&(a=new Uint8Array(this.B.result));a?(this.H.update(a),this.D+=a.length,this.B=null,this.dispatchEvent("progress"),QRa(this)):this.F()};sD.prototype.F=function(){this.C=this.B=null;this.dispatchEvent("error")};_.Ij(uD,_.tD);uD.prototype.reset=function(){this.B[0]=1732584193;this.B[1]=4023233417;this.B[2]=2562383102;this.B[3]=271733878;this.D=this.C=0};
var SRa=function(a,c,e){e||(e=0);var f=Array(16);if(typeof c==="string")for(var g=0;g<16;++g)f[g]=c.charCodeAt(e++)|c.charCodeAt(e++)<<8|c.charCodeAt(e++)<<16|c.charCodeAt(e++)<<24;else for(g=0;g<16;++g)f[g]=c[e++]|c[e++]<<8|c[e++]<<16|c[e++]<<24;c=a.B[0];e=a.B[1];g=a.B[2];var h=a.B[3];var l=c+(h^e&(g^h))+f[0]+3614090360&4294967295;c=e+(l<<7&4294967295|l>>>25);l=h+(g^c&(e^g))+f[1]+3905402710&4294967295;h=c+(l<<12&4294967295|l>>>20);l=g+(e^h&(c^e))+f[2]+606105819&4294967295;g=h+(l<<17&4294967295|l>>>
15);l=e+(c^g&(h^c))+f[3]+3250441966&4294967295;e=g+(l<<22&4294967295|l>>>10);l=c+(h^e&(g^h))+f[4]+4118548399&4294967295;c=e+(l<<7&4294967295|l>>>25);l=h+(g^c&(e^g))+f[5]+1200080426&4294967295;h=c+(l<<12&4294967295|l>>>20);l=g+(e^h&(c^e))+f[6]+2821735955&4294967295;g=h+(l<<17&4294967295|l>>>15);l=e+(c^g&(h^c))+f[7]+4249261313&4294967295;e=g+(l<<22&4294967295|l>>>10);l=c+(h^e&(g^h))+f[8]+1770035416&4294967295;c=e+(l<<7&4294967295|l>>>25);l=h+(g^c&(e^g))+f[9]+2336552879&4294967295;h=c+(l<<12&4294967295|
l>>>20);l=g+(e^h&(c^e))+f[10]+4294925233&4294967295;g=h+(l<<17&4294967295|l>>>15);l=e+(c^g&(h^c))+f[11]+2304563134&4294967295;e=g+(l<<22&4294967295|l>>>10);l=c+(h^e&(g^h))+f[12]+1804603682&4294967295;c=e+(l<<7&4294967295|l>>>25);l=h+(g^c&(e^g))+f[13]+4254626195&4294967295;h=c+(l<<12&4294967295|l>>>20);l=g+(e^h&(c^e))+f[14]+2792965006&4294967295;g=h+(l<<17&4294967295|l>>>15);l=e+(c^g&(h^c))+f[15]+1236535329&4294967295;e=g+(l<<22&4294967295|l>>>10);l=c+(g^h&(e^g))+f[1]+4129170786&4294967295;c=e+(l<<
5&4294967295|l>>>27);l=h+(e^g&(c^e))+f[6]+3225465664&4294967295;h=c+(l<<9&4294967295|l>>>23);l=g+(c^e&(h^c))+f[11]+643717713&4294967295;g=h+(l<<14&4294967295|l>>>18);l=e+(h^c&(g^h))+f[0]+3921069994&4294967295;e=g+(l<<20&4294967295|l>>>12);l=c+(g^h&(e^g))+f[5]+3593408605&4294967295;c=e+(l<<5&4294967295|l>>>27);l=h+(e^g&(c^e))+f[10]+38016083&4294967295;h=c+(l<<9&4294967295|l>>>23);l=g+(c^e&(h^c))+f[15]+3634488961&4294967295;g=h+(l<<14&4294967295|l>>>18);l=e+(h^c&(g^h))+f[4]+3889429448&4294967295;e=
g+(l<<20&4294967295|l>>>12);l=c+(g^h&(e^g))+f[9]+568446438&4294967295;c=e+(l<<5&4294967295|l>>>27);l=h+(e^g&(c^e))+f[14]+3275163606&4294967295;h=c+(l<<9&4294967295|l>>>23);l=g+(c^e&(h^c))+f[3]+4107603335&4294967295;g=h+(l<<14&4294967295|l>>>18);l=e+(h^c&(g^h))+f[8]+1163531501&4294967295;e=g+(l<<20&4294967295|l>>>12);l=c+(g^h&(e^g))+f[13]+2850285829&4294967295;c=e+(l<<5&4294967295|l>>>27);l=h+(e^g&(c^e))+f[2]+4243563512&4294967295;h=c+(l<<9&4294967295|l>>>23);l=g+(c^e&(h^c))+f[7]+1735328473&4294967295;
g=h+(l<<14&4294967295|l>>>18);l=e+(h^c&(g^h))+f[12]+2368359562&4294967295;e=g+(l<<20&4294967295|l>>>12);l=c+(e^g^h)+f[5]+4294588738&4294967295;c=e+(l<<4&4294967295|l>>>28);l=h+(c^e^g)+f[8]+2272392833&4294967295;h=c+(l<<11&4294967295|l>>>21);l=g+(h^c^e)+f[11]+1839030562&4294967295;g=h+(l<<16&4294967295|l>>>16);l=e+(g^h^c)+f[14]+4259657740&4294967295;e=g+(l<<23&4294967295|l>>>9);l=c+(e^g^h)+f[1]+2763975236&4294967295;c=e+(l<<4&4294967295|l>>>28);l=h+(c^e^g)+f[4]+1272893353&4294967295;h=c+(l<<11&4294967295|
l>>>21);l=g+(h^c^e)+f[7]+4139469664&4294967295;g=h+(l<<16&4294967295|l>>>16);l=e+(g^h^c)+f[10]+3200236656&4294967295;e=g+(l<<23&4294967295|l>>>9);l=c+(e^g^h)+f[13]+681279174&4294967295;c=e+(l<<4&4294967295|l>>>28);l=h+(c^e^g)+f[0]+3936430074&4294967295;h=c+(l<<11&4294967295|l>>>21);l=g+(h^c^e)+f[3]+3572445317&4294967295;g=h+(l<<16&4294967295|l>>>16);l=e+(g^h^c)+f[6]+76029189&4294967295;e=g+(l<<23&4294967295|l>>>9);l=c+(e^g^h)+f[9]+3654602809&4294967295;c=e+(l<<4&4294967295|l>>>28);l=h+(c^e^g)+f[12]+
3873151461&4294967295;h=c+(l<<11&4294967295|l>>>21);l=g+(h^c^e)+f[15]+530742520&4294967295;g=h+(l<<16&4294967295|l>>>16);l=e+(g^h^c)+f[2]+3299628645&4294967295;e=g+(l<<23&4294967295|l>>>9);l=c+(g^(e|~h))+f[0]+4096336452&4294967295;c=e+(l<<6&4294967295|l>>>26);l=h+(e^(c|~g))+f[7]+1126891415&4294967295;h=c+(l<<10&4294967295|l>>>22);l=g+(c^(h|~e))+f[14]+2878612391&4294967295;g=h+(l<<15&4294967295|l>>>17);l=e+(h^(g|~c))+f[5]+4237533241&4294967295;e=g+(l<<21&4294967295|l>>>11);l=c+(g^(e|~h))+f[12]+1700485571&
4294967295;c=e+(l<<6&4294967295|l>>>26);l=h+(e^(c|~g))+f[3]+2399980690&4294967295;h=c+(l<<10&4294967295|l>>>22);l=g+(c^(h|~e))+f[10]+4293915773&4294967295;g=h+(l<<15&4294967295|l>>>17);l=e+(h^(g|~c))+f[1]+2240044497&4294967295;e=g+(l<<21&4294967295|l>>>11);l=c+(g^(e|~h))+f[8]+1873313359&4294967295;c=e+(l<<6&4294967295|l>>>26);l=h+(e^(c|~g))+f[15]+4264355552&4294967295;h=c+(l<<10&4294967295|l>>>22);l=g+(c^(h|~e))+f[6]+2734768916&4294967295;g=h+(l<<15&4294967295|l>>>17);l=e+(h^(g|~c))+f[13]+1309151649&
4294967295;e=g+(l<<21&4294967295|l>>>11);l=c+(g^(e|~h))+f[4]+4149444226&4294967295;c=e+(l<<6&4294967295|l>>>26);l=h+(e^(c|~g))+f[11]+3174756917&4294967295;h=c+(l<<10&4294967295|l>>>22);l=g+(c^(h|~e))+f[2]+718787259&4294967295;g=h+(l<<15&4294967295|l>>>17);l=e+(h^(g|~c))+f[9]+3951481745&4294967295;a.B[0]=a.B[0]+c&4294967295;a.B[1]=a.B[1]+(g+(l<<21&4294967295|l>>>11))&4294967295;a.B[2]=a.B[2]+g&4294967295;a.B[3]=a.B[3]+h&4294967295};
uD.prototype.update=function(a,c){c===void 0&&(c=a.length);for(var e=c-this.blockSize,f=this.F,g=this.C,h=0;h<c;){if(g==0)for(;h<=e;)SRa(this,a,h),h+=this.blockSize;if(typeof a==="string")for(;h<c;){if(f[g++]=a.charCodeAt(h++),g==this.blockSize){SRa(this,f);g=0;break}}else for(;h<c;)if(f[g++]=a[h++],g==this.blockSize){SRa(this,f);g=0;break}}this.C=g;this.D+=c};
uD.prototype.digest=function(){var a=Array((this.C<56?this.blockSize:this.blockSize*2)-this.C);a[0]=128;for(var c=1;c<a.length-8;++c)a[c]=0;c=this.D*8;for(var e=a.length-8;e<a.length;++e)a[e]=c&255,c/=256;this.update(a);a=Array(16);for(e=c=0;e<4;++e)for(var f=0;f<32;f+=8)a[c++]=this.B[e]>>>f&255;return a};var UD=function(a,c){MD.call(this,a);this.Wa=this.L=this.Xa=this.lb=null;this.Ne=!1;this.za=this.ha=null;this.W=a.getSize();this.I=0;this.ma=null;this.Aa=this.Ba=0;this.F="Ready";this.V=this.D=this.R=this.ia=this.Ma=this.Ga=null;this.C=new _.Sg(this);this.ka(this.C);this.wa=new _.Sg(this);this.ka(this.wa);this.H=0;this.B=this.ca=this.aa=null;this.fa=c||Number.MAX_VALUE;this.tb=null};_.Ij(UD,MD);_.k=UD.prototype;_.k.GI=function(){return this.Ga};_.k.qe=function(){return this.Ma};_.k.Gk=function(){return this.ia};
_.k.start=function(a,c,e,f,g){this.lb=a;this.Xa=c;this.L=_.ee(e);this.Wa=f;this.Ne=!!g;this.F="Creating session";this.L["X-Goog-Upload-Protocol"]="resumable";this.L["X-Goog-Upload-Command"]="start";this.getItem().getSize()!=null&&(this.L["X-Goog-Upload-Content-Length"]=this.getItem().getSize());this.getItem().getName()!=null&&/^[\040-\176]*$/.test(this.getItem().getName())&&(this.L["X-Goog-Upload-File-Name"]=this.getItem().getName());this.getItem().B&&TRa(this);this.n_()};
_.k.cancel=function(){_.fr(this.C);_.fr(this.wa);this.F=="Creating session"&&this.R&&this.R.abort();this.F=="Transferring"&&(this.D&&this.D.abort(),this.V&&this.V.abort(),this.aa&&_.Rl(this.aa));this.B&&this.B.abort();(new _.or).send(this.za,"PUT","",{"X-Goog-Upload-Command":"cancel"});this.F="Cancelled";this.H=this.I=0;this.dispatchEvent(new ND(OD.CANCEL))};
var TRa=function(a){var c=a.getItem().getBlob();c&&(a.B=new sD(new uD),a.wa.listen(a.B,"complete",function(e){this.ca=_.haa(e.target.GL);this.B=null}),RRa(a.B,1048576),a.B.hash(c))};_.k=UD.prototype;_.k.n_=function(){this.R=new TD;_.fr(this.C);this.C.listen(this.R,"complete",this.Nma);this.R.Ne=this.Ne;this.R.send(this.lb,this.Xa,this.Wa,this.L)};
_.k.Nma=function(a){var c=a.target.getStatus(),e=a.target.qe();a=rD(a.target.getAllResponseHeaders());var f=VD(a,"X-Goog-Upload-Status"),g=VD(a,"X-Goog-Upload-URL");if(f=="final")this.Ga=c,this.ia=a,this.Ma=e,this.F="Complete",this.dispatchEvent(new ND(OD.lC));else if(c==200&&f=="active"&&g){this.ha=g;this.za=VD(a,"X-Goog-Upload-Control-URL")||null;g=VD(a,"X-Goog-Upload-Chunk-Granularity")||null;f=1;if(g&&(f=parseInt(g,10),isNaN(f)||f<=0)){WD(this,"Create session failed","Invalid chunk granularity: "+
g+". "+URa(c,a,e));return}c=this.getItem().getSize();this.W=Math.floor(c/f)*f;this.ma=Math.floor(1073741824/f)*f;this.getItem().Xr()||(this.ma=c,this.W!=c&&(this.W=0));this.F="Transferring";this.H=0;this.o_(0)}else c>=400&&c<500?WD(this,"Create session failed","Client failure. "+URa(c,a,e)):(XD(this,this.n_),VRa(this))};
_.k.o_=function(a){var c=this.getItem(),e=c.getSize();c.Xr()||a==e||(a=0);var f=a>=this.W,g=f?e:Math.min(this.W,this.ma+a);this.Ba=a;this.Aa=g;var h={"X-Goog-Upload-Command":"upload"+(f?", finalize":""),"X-Goog-Upload-Offset":a};f&&(this.ca?h["X-Goog-Upload-Entity-MD5"]=this.ca:this.B&&(this.B.abort(),this.B=null));this.D=new TD;this.D.Ne=this.Ne;_.fr(this.C);this.C.listen(this.D,"progress",this.n9);this.C.listen(this.D,"complete",this.Vma);a==e?this.D.send(this.ha,"PUT","",h):(e=this.getItem().getBlob(),
c.Xr()?this.D.send(this.ha,"PUT",LRa(e,a,g),h):this.D.send(this.ha,"PUT",e,h))};_.k.n9=function(a){this.I=this.Ba+a.loaded;this.dispatchEvent(new ND(OD.RI));this.B&&RRa(this.B,this.I+1048576)};_.k.Vma=function(a){var c=a.target.getStatus();if(c===void 0||c==-1)XD(this,this.m_),VRa(this);else{var e=rD(a.target.getAllResponseHeaders());a=a.target.qe();this.I=this.Aa;WRa(this,c,e,a,!0)}};
_.k.m_=function(){this.V=new TD;_.fr(this.C);this.C.listen(this.V,"complete",this.Fma);this.V.send(this.za,"PUT","",{"X-Goog-Upload-Command":"query"})};_.k.Fma=function(a){a=a.target;var c=a.getStatus(),e=rD(a.getAllResponseHeaders());WRa(this,c,e,a.qe(),!1)};
var WRa=function(a,c,e,f,g){var h=VD(e,"X-Goog-Upload-Status");if(h=="final")a.F="Complete",a.H=0,a.Ga=c,a.ia=e,a.Ma=f,a.dispatchEvent(new ND(OD.lC));else{var l=parseInt(VD(e,"X-Goog-Upload-Size-Received"),10);g&&isNaN(l)&&(l=a.Aa);c!=200||h!="active"||isNaN(l)?(c>=400&&c<500&&WD(a,"Transfer failed","Client failure. "+URa(c,e,f)),XD(a,a.m_),VRa(a)):(a.I=l,l>a.Ba&&(a.H=0),XD(a,(0,_.me)(a.o_,a,l)))}},VRa=function(a){a.H==0&&Date.now();a.H++},WD=function(a,c){a.F="Error";a.I=0;a.dispatchEvent(new DRa(OD.ERROR,
c=="Transient error"))},XD=function(a,c){var e=[0,5E3,1E4,15E3,3E4,6E4],f=0;f=a.H<e.length?e[a.H]:e[e.length-1];if(f>a.fa)WD(a,"Transient error");else{a.fa!==void 0&&(f=_.Be(f,0,a.fa));Date.now();var g=(0,_.me)(c,a);f>0?a.aa=_.Ql(function(){this.aa=null;g()},f,a):g()}},URa=function(a,c,e){return"Response code: "+a+"\nHeaders:\n"+WQa(c)+"\nBody:\n"+e},VD=function(a,c){return a[c]||a[c.toLowerCase()]};var XRa=function(a){this.B=a};_.F(XRa,XQa);var IRa=function(a,c){if(c.Xr()&&c.XE())return c.getSize()>2097152?new UD(c,a.B):new SD(c);if(c.Xr())return new UD(c,a.B);if(c.XE())return new SD(c);if(c.kM())return new UD(c,a.B);throw Error("Ie");};var YRa=function(){_.ke.call(this)};_.F(YRa,_.ke);var JRa=function(a){_.Xd.call(this,"G");this.items=a};_.F(JRa,_.Xd);var ZRa=function(a){_.ke.call(this);this.B=a};_.F(ZRa,YRa);var $Ra=function(){this.B=new XRa(void 0)};var YD=function(a,c,e,f,g,h){_.Eu.call(this,c,e,f,g);this.Ba=a;this.Ga=h||_.nq(f,"docs-net-udur");this.Ma=new ZRa(new $Ra);this.ca=new _.yD;this.Wa=_.mq(f,"docs-net-udpt")};_.F(YD,_.Eu);
YD.prototype.gy=function(){if(!this.wa)throw Error("Je");var a=this.Le;a<=0&&(a=this.Wa);if(this.ma)throw Error("Ke");var c=_.Hu(this);if(!bRa(this))throw Error("hd");if(typeof this.B==="string")var e=this.B;else if(_.Bxa&&this.B instanceof Blob)e=this.B;else{e=this.ca;for(var f=this.B,g=new _.Fi("{"),h=0;h<f.length;h+=2)h>0&&g.append(","),g.append(e.stringify(f[h])).append(":").append(e.stringify(f[h+1]));g.append("}");e=g.toString()}return new RD(c,e,this.F,this.I,this.H,this.L,this.R,this.D,this.Ij(),
this.ha,a,this.Ga,this.Ma,this.ca,this.V,this.Ne,this.W)};YD.prototype.XB=function(a){if(!this.Ba)throw Error("Le`"+_.Iu(this));this.Ba.send(a)};var ZD=function(a,c,e,f,g,h){this.F=a;this.Jf=c;this.B=e;this.D=f;this.C=g;this.H=h};ZD.prototype.response=function(){return this.F};ZD.prototype.responseType=function(){return this.Jf};ZD.prototype.contentType=function(){return this.B};ZD.prototype.errorCode=function(){return this.C};var $D=function(a,c,e,f,g,h,l,p,r,w,x,A,B,C,G,M,V,aa){_.Ku.call(this,a,c,e,f,g,h,l,p,r,w,x,A,B,C,G,aa);this.ca=M;this.B=null;this.F=new _.Sg(this);this.I=V};_.F($D,_.Ku);
$D.prototype.R=function(a){var c=this;this.B=this.ca();this.F.rb(this.B,"complete",function(){c.C.includes("/save")&&Date.now();var g=c.Kr;var h=c.B;try{var l=h.Ij()==""?h.qe():h.getResponse()}catch(M){l=""}var p=h.Ij();try{var r=h.getResponseHeader("Content-Type")}catch(M){r=null}var w=new ZD(l,p,r,h.getStatus(),h.Ul,h.getAllResponseHeaders());h=vD(c);r=w.response();l=zRa(w.responseType());p=w.contentType();var x=w.D,A=w.errorCode(),B={};w=_.y(w.H.split("\r\n"));for(var C=w.next();!C.done;C=w.next())if(C=
C.value,!_.ra(_.am(C))){var G=C.indexOf(": ");G!=-1&&(B[C.substr(0,G)]=C.substr(G+2))}h=new KD(r,l,p,x,A,B,h);g.call(c,h)});this.B.Bw=Math.max(0,this.Le);if(this.Ij()!="text"){var e=aSa(this.Ij());this.B.vG(e)}this.B.Ne=this.Ne;e=_.xg(this.za+this.C,a.B.B);var f={};Object.assign(f,this.aa,_.ee(a.C));this.I&&this.Le>0&&(f["X-Client-Deadline-Ms"]=this.Le+(e.includes("/delta")?5E3:0));this.C.includes("/save")&&Date.now();this.B.send(e,this.L,this.Tb(),f)};
$D.prototype.reset=function(){this.B&&(this.B.dispose(),this.B=null)};$D.prototype.oa=function(){_.Td(this.F);_.Ku.prototype.oa.call(this)};var aSa=function(a){switch(a){case "arraybuffer":return"arraybuffer";case "blob":return"blob";case "document":return"document";default:return""}};var aE=function(a,c,e,f,g,h){_.Eu.call(this,c,e,f,g);this.ca=a;this.Ga=!!h;this.Ba=_.ti(f,"docs-ecdh")};_.F(aE,_.Eu);aE.prototype.gy=function(){var a=this.Le;a<0&&(a=this.Ga?4E4:2E4);return new $D(_.Hu(this),_.zxa(this),this.Tb(),this.F,this.I,this.H,this.L,this.R,this.D,this.Ij(),this.ha,a,this.fa,this.V,this.Ne,function(){return new _.or},this.Ba,void 0)};aE.prototype.XB=function(a){if(!this.ca)throw Error("Le`"+_.Iu(this));this.ca.send(a)};var HD=function(a,c,e,f,g,h){_.Eu.call(this,c,e,f,g);this.ca=a;this.Ma=_.ti(f,"docs-net-usud");this.Ga=_.mq(f,"docs-net-udmi");this.Ba=h};_.F(HD,_.Eu);
HD.prototype.gy=function(){var a=null,c;if(c=this.Ma&&this.wa){if(!bRa(this))throw Error("gd");if(Array.isArray(this.B)){c=0;for(var e=this.B,f=0;f<e.length;f++){var g=e[f];typeof g==="string"&&(c+=g.length)}}else c=_.Bxa&&this.B instanceof Blob?this.B.size:this.B.length;c=c>this.Ga}c&&(a=new YD(this.ca,_.Hu(this),this.Aa,this.W,this.ia,this.Ba));a==null&&(a=new aE(this.ca,_.Hu(this),this.Aa,this.W,this.ia));this.WB(a);return a.gy()};
HD.prototype.XB=function(a){if(!this.ca)throw Error("Le`"+_.Iu(this));this.ca.send(a)};_.fSa=function(){this.B=void 0};
}catch(e){_._DumpException(e)}
try{
_.q("FoQBg");
_.ui(_.Bu);var bE=function(a){_.to.call(this);var c=a.appContext.configuration;a=a.appContext.Cd;var e=new _.Qxa;delete e.B["X-Same-Domain"];e=_.Rxa(e);this.B=new _.GD(new _.fSa,_.hq(),void 0,a,void 0,void 0,void 0,e);_.JD(this.B,c.Vd());a=this.B;c=c.af().cj();_.zD(a.F,"authuser",c)};_.F(bE,_.vo);bE.la=function(){return{appContext:{Cd:_.Io,configuration:_.eo},service:{flags:_.vu}}};bE.prototype.get=function(){return _.ki(this.B)};_.ag(_.Wxa,bE);
_.u();
}catch(e){_._DumpException(e)}
}).call(this,this.default_vw);
// Google Inc.
