fx(rw("Lo"));break b; default:throw vn("Io`"+M(c.getStatus())).Ea;}else b:{e=c.R5b();f=c.S5b();if(e==null)throw Lx("Expected `previewPlaybackUrl` to be set.").Ea;switch(c.getStatus()){case Hoa:case Nj:case I9a:a=W$c(a.getId(),e,f);break b;case gh:a=fx(rw("Jo"));break b;default:throw vn("Io`"+M(c.getStatus())).Ea;}}}else a=V$c(this,a,c);return a}; function V$c(a,c,e){switch(e.getStatus()){case Hoa:case Nj:case I9a:e=e.P4b();var f=Pn(c.getId());return e.Ei()?ww(e)?zw(X$c(a,c,e.getValue()),function(g){return new lw(f,g)}):fx(new lw(f,e.getError())):zw(Aw(e,function(g){return X$c(a,c,g)}),function(g){return new lw(f,g)});case gh:return fx(rw("Mo"));default:throw vn("Io`"+M(e.getStatus())).Ea;}}function X$c(a,c,e){return a.D&&a.F?Aw(Y$c(a.D,e),function(f){return f!=null&&L(f,e)?W$c(c.getId(),e,null):a.F.fetch(c)}):W$c(c.getId(),e,null)} function W$c(a,c,e){if(a==null||!a.VWa)if(a instanceof U$c){var f=new Z$c;Fo(c);f.F=c;f.D=e;c=f}else throw Lx(Hga).Ea;return dx(new hD(a,c,cbb))};function $$c(){};function aad(a){this.D=a}H(aad,K);function Y$c(a,c){var e=bx();c=X9b(c);if(c==null)return e.callback(null),e;var f=ly(c,"/");c=f.pop();var g=f.pop();f=f.pop();if(f==null||g==null||c==null)return e.callback(null),e;O$c(a.D,f,c,g,function(h){e.callback(h)});return e};function U$c(a,c){this.F=a;this.D=c}H(U$c,K);U$c.prototype.getId=x("F");U$c.prototype.Kx=function(){return"Media|"+M(this.F)};U$c.prototype.toString=function(){return this.Kx()};function Z$c(){}H(Z$c,gw);Z$c.prototype.getUrl=x("F");function bad(a,c,e,f,g){cad();this.O=a;this.R=c;this.W=e;this.J=f;this.V=g;this.H={};this.F={}}var dad;H(bad,K);function ead(a,c,e,f,g){cad();return new bad(a,c,e,f,new Cx(g))}bad.prototype.D=G(592);function cad(){cad=r();dad=[po(Gea,qD),po(Hea,qD),po(Iea,qD),po(Jea,qD),po(Kea,qD),po(Lea,qD)]};function fad(){}H(fad,K);function gad(a,c,e,f){this.D=a;this.H=c;this.F=new T$c(e,f?new aad(f):null)}H(gad,K); gad.prototype.fetch=function(a){for(var c=[],e=[],f=[],g=ro(null),h=[],k=0;k=c.length)return!1;c=UF(c);return Iu(a,c)?!0:Ead(a,c)}function UF(a){Fad();return a.slice(0,a.length-1|0)}function Gad(a){Fad();return a.length==1}function Had(a){Fad();var c=a.length-1|0,e=+a[c]|0;return qv(NDb(pv(nv(),a),c,e+1|0))}function Iad(a){Fad();var c=a.length-1|0,e=+a[c]|0;return qv(NDb(pv(nv(),a),c,e-1|0))}function Jad(a){Fad();return qv(ov(pv(nv(),a),0))}function Kad(a,c){Fad();return Iu(UF(a),UF(c))} function Lad(a){Fad();return a.length-1|0}function Mad(a,c,e){Fad();e=(+a[c]|0)+e|0;return a.slice(0,c).concat(Nad(e)).concat(a.slice(c+1|0,a.length))}function Oad(a){Fad();return+a[a.length-1|0]|0}function Pad(a,c){Fad();return Qad(a,c)?Mad(c,Lad(a),1):c}function Qad(a,c){if(a.length>c.length)return!1;var e=Lad(a);return e>0&&!Kad(a,c.slice(0,e+1|0))?!1:(+a[e]|0)>(+c[e]|0)?!1:!0}function Nad(a){Fad();return[a]}function Fad(){Fad=r();Dad=new bPc(Yjb(function(a,c){return ao(a.yb(),c.yb())}))};function Rad(){Whc();rC.call(this);this.D={}}H(Rad,rC);D=Rad.prototype;D.P1=function(a){var c=a.D;if(c in this.D)throw Vm("pp`"+M(c)).Ea;Ru(this.D,c,a)};D.Z5=function(a,c,e,f){if(!(a in this.D))throw Vm("qp`"+M(a)).Ea;ut(L(f.D,a),"rp");var g=this.D[a];Uzb(Lo(g.Qo(),c),"Task ID doesn't match the existing Task. Existing:%s Supplied:%s",g.Qo(),c);ut(g.assignee().Va(e),"sp");ut(!Lo(f.Qo(),c),"tp");ut(!f.assignee().Va(e),Reb);Ru(this.D,a,f)}; D.pN=function(a){var c=a.D;if(!(c in this.D))throw Vm("qp`"+M(c)).Ea;var e=this.D[c];if(!e.assignee().Va(a.assignee()))throw Vm("vp").Ea;if(!Lo(e.Qo(),a.Qo()))throw Vm("wp`"+M(e.Qo())+"`"+M(a.Qo())).Ea;Ru(this.D,c,a)};D.P3=function(a){if(!(a in this.D))throw Vm("qp`"+M(a)).Ea;Uu(this.D,a)};D.hM=function(){return Tu(this.D)};D.Ir=function(a){return a in this.D?this.D[a]:null};D.G1=function(){this.D={}};D.Va=function(a){return L(this,a)?!0:a instanceof Rad?jw(this.D,a.D):!1}; D.clone=function(){var a=new Rad;a.D=Xu(this.D);return a};D.Yb=function(){return kw(this.D)};function Sad(a){this.F=!1;this.D=a;this.H=J2c(a.WZ()?Tad:Uad);this.xa(this.H)}H(Sad,tw);Sad.prototype.J=x("H");function Vad(){this.D=0}H(Vad,Rm);function Wad(a,c){var e=new Vad;e.H=a;e.D=c;return e}var Uad=Wad("NOT_UNDER_LIMIT",0),Tad=Wad("UNDER_LIMIT",1);function Xad(a,c,e,f){this.F=this.O=0;this.V=!0;this.R=a;this.ea=c;this.F=a.AE();this.J=a.y4();this.W=f?f:new aD;this.D=e;this.H=this.D.Zc()?this.D.za:null}H(Xad,K);Xad.prototype.resume=function(){this.V=!0};function Yad(a){return Mv(a,"docs-ct")?Mv(a,"docs-ct"):"s"};function Zad(a){this.F=!1;$ad(this,a)}H(Zad,tw);function $ad(a,c){a.D=c;a.V=new hx;a.xa(a.V);a.O=new gx;a.xa(a.O);for(var e=0;e=0};D.J$=function(a){if(!this.t3(a))throw(new bbd(Nia+M(this.J)+" to exceed "+this.H+" concurrent queries.")).Ea;this.D=this.D+a|0};D.yga=function(){this.J$(1)};D.uea=function(a){if(!this.oJa(a))throw(new bbd(Nia+M(this.J)+" to have a negative number of concurrent queries.")).Ea;this.D=this.D-a|0}; D.L3a=function(){this.uea(1)};function dbd(a,c,e){this.R=this.F=!1;ebd(this,a,c,e)}H(dbd,tw);function ebd(a,c,e,f){a.R=e==null||e;a.J=new gx;a.xa(a.J);a.D=new gx;a.xa(a.D);a.O=new hx;a.xa(a.O);f?(c=fbd(a.O,c.H,f),a.xa(c)):c=c.H;a.H=c.getValue();a.O.Pa(c,function(g){g=g.newValue;if(!Nn(a.H,g)){var h=a.H;a.H=g;a.J.dispatchEvent(null);(Nn(h,(pE(),wOc))||Nn(g,(pE(),wOc)))&&a.D.dispatchEvent(null)}})}dbd.prototype.Dh=function(){return!Nn(this.H,(pE(),wOc))}; function gbd(a){return Nn(a.H,(pE(),BOc))||Nn(a.H,(pE(),yOc))||Nn(a.H,(pE(),zOc))||Nn(a.H,(pE(),AOc))}function CF(a,c){var e=!a.Dh();switch(c){case 1:return e;case 0:return e&&a.R}throw Vm("Dp").Ea;}dbd.prototype.Hf=x("J");function fbd(a,c,e){var f=J2c(hbd(c.getValue(),e.getValue()));a.Pa(c,function(){f.setValue(hbd(c.getValue(),e.getValue()))});a.Pa(e,function(){f.setValue(hbd(c.getValue(),e.getValue()))});return f}function hbd(a,c){return a.D>c.D?a:c};function ibd(){this.F=!1;this.D=new gx;this.J=new gx;this.H=J2c((pE(),wOc));this.O=(rE(),IOc);this.xa(this.D);this.xa(this.J);this.xa(this.H)}H(ibd,tw);ibd.prototype.Ld=function(a,c,e){var f=this.O;if(!L(a,f)){this.O=a;this.R=c;this.V=e;var g=this.H,h=g.setValue;var k=a.Va(GOc)?(pE(),zOc):a.Va(HOc)?(pE(),yOc):a.D>=5?(pE(),BOc):a.isError()?(pE(),xOc):(pE(),wOc);h.call(g,k);this.D.dispatchEvent(new jbd(f,a,c,e))}};ibd.prototype.getState=x("O");function jbd(a,c,e){this.oldState=a;this.newState=c;this.D=e}H(jbd,K);function kbd(){this.F=!1}H(kbd,tw);D=kbd.prototype;D.t3=B(!0);D.WZ=function(){return this.t3(1)};D.oJa=B(!0);D.J$=r();D.yga=function(){this.J$(1)};D.uea=r();D.L3a=function(){this.uea(1)};function lbd(){this.F=!1;this.D=J2c(Tad);this.xa(this.D)}H(lbd,kbd);lbd.prototype.J=x("D");function mbd(a){Sad.call(this,a)}H(mbd,Sad);D=mbd.prototype;D.t3=function(a){return this.D.t3(a)};D.WZ=function(){return this.t3(1)};D.oJa=function(a){return this.D.oJa(a)};D.J$=function(a){this.D.J$(a);this.H.setValue(this.D.WZ()?Tad:Uad)};D.yga=function(){this.J$(1)};D.uea=function(a){this.D.uea(a);this.H.setValue(this.D.WZ()?Tad:Uad)};D.L3a=function(){this.uea(1)};function nbd(a){this.D=a}H(nbd,K);nbd.prototype.H=function(){return XFc(this.D)};nbd.prototype.R=function(){return this.D.W};nbd.prototype.J=G(596);function obd(a,c,e,f){this.F=!1;this.J=a;this.H=c;this.D=new pbd(Math.imul(e,1E3),f)}H(obd,tw);D=obd.prototype;D.t3=function(a){return(this.D.get(null)+a|0)/(this.D.H/1E3)<=this.H};D.WZ=function(){return this.t3(1)};D.oJa=B(!0); D.J$=function(a){if(!this.t3(a))throw(new bbd(Nia+M(this.J)+" to exceed "+this.H+" qps.")).Ea;var c=this.D,e=Hn(c.J.D());qbd(c,e);var f=rbd(c.F);if(!f||e>=f.F)f=new sbd,f.F=c.D*Math.floor(e/c.D+1),f.D=0,f.J=2147483647,f.H=-2147483648,c.F.add(f);f.D=f.D+a|0;f.J=Math.min(a,f.J);f.H=Math.max(a,f.H)};D.yga=function(){this.J$(1)};D.uea=r();D.L3a=function(){this.uea(1)};function sbd(){this.H=this.J=this.D=0}H(sbd,K);function pbd(a,c){this.D=this.H=0;this.J=c?c:new aD;this.H=a;this.D=a/50|0;this.F=new tbd(O(50))}H(pbd,K);pbd.prototype.get=function(a){return ubd(this,a,function(c,e){return O(c.yb()+e.D|0)})};function ubd(a,c,e){c=c!=null?c:Hn(a.J.D());qbd(a,c);var f=0;c=a.D*Math.floor(c/a.D+1)-a.H;for(var g=a.F.yg()-1|0;g>=0;g=g-1|0){var h=a.F.get(g);if(h.F<=c)break;f=e(O(f),h).yb()}return f}function qbd(a,c){var e=rbd(a.F);e&&c=a.D.length)throw ihb().Ea;return a.D.length-1&&(h.srn=f.H);f.D>-1&&(h.ern=f.D);f.J&&av(h,"lvrat",f.J.D);f.F>-1&&(h.hrn=f.F);f.O&&av(h,"hrat",f.O.D);g&&(h.ais=!0);DDb(h,c.R.getId());a=this.D.O(NSa,c.D(),h);var k=bx();xw(a,function(l){l==null?k.Ad(null):k.callback(new hD(c,[l],bbb))},function(l){k.Ad(l)});return k};function wcd(a){this.D={};this.F=a?a:{}}H(wcd,K);wcd.prototype.get=function(a,c){return this.D[a]?this.D[a].get(c):(xcd(this,a),null)};wcd.prototype.set=function(a,c,e){this.D[a]||xcd(this,a);this.D[a].Eh(c,e)};wcd.prototype.clone=function(a){var c=new wcd(a);a=Qu(this.D);for(var e={},f=0;f0))throw Vm("non-positive max size").Ea;a.R=e;a.O=f;a.H=0;a.F=null;a.D=null}function Ccd(a,c){SAb(c,"node");if(!L(c,a.F)){Dcd(a,c);var e=a.F;if(c.D=e)e.F=c;c.F=null;a.F=c}}function Dcd(a,c){SAb(c,"node");var e=c.F,f=c.D;e?e.D=f:a.F=c.D;f?f.F=e:a.D=c.F}D=Acd.prototype;D.get=function(a){return(a=this.J.get(a))?(Ccd(this,a),a.H):null}; D.Eh=function(a,c){var e=this.J.get(a);if(e)e.H=c,Ccd(this,e);else{var f=this.H==this.R,g=null,h=null;f?(SAb(this.D,"back"),g=this.D.J,h=this.D.H,e=this.D,this.CA(this.D.J),e.J=a,e.H=c,e.D=null,e.F=null):(e=new zcd,e.J=SAb(a,pi),e.H=SAb(c,Vl));c=e;var k=this.F;if(c.D=k)k.F=c;this.F=e;this.D=this.D?this.D:e;this.J.Eh(a,e);this.H=this.H+1|0;f&&this.O&&(a=this.O,g=TAb(g),h=TAb(h),a=a.D,a(g,h))}};D.CA=function(a){var c=this.J.get(a);c&&(this.J.CA(a),Dcd(this,c),this.H=this.H-1|0)}; D.contains=function(a){var c=this.J.get(a);c&&Ccd(this,c);return this.J.contains(a)};D.forEach=function(a){for(var c=this.F;c;)a(c.J,c.H),c=c.D};D.Tea=function(a){for(var c=this.F;c&&a(c.J,c.H)!==1;)c=c.D};D.jb=function(){return this.H==0};D.GG=x("H");D.np=function(){return this.J.np()};D.RL=function(){var a=[];this.forEach(function(c,e){a.push(e)});return a};D.jD=function(){this.J.jD();this.H=0;for(var a=this.F;a;)a.F=null,a=a.D;this.D=this.F=null};D.every=function(a){return uBb(this,a)};D.xR=function(a){return this.get(a)}; D.some=function(a){return tBb(this,a)};D.K1=G(164);D.fca=!0;function Ecd(){Acd.call(this)}H(Ecd,Acd);function ycd(a,c,e){var f=new Ecd;Bcd(f,VCb(a),c,e);f.V=a;return f}Ecd.prototype.qP=G(169);function Fcd(){Acd.call(this)}H(Fcd,Acd);function Gcd(a,c){var e=new Fcd;Bcd(e,PCb(gu),a,c);return e}Fcd.prototype.qP=G(168);function Hcd(a,c){return Gcd(a,c)};function Icd(){}H(Icd,K);Icd.prototype.D=function(){try{this.Ugb.flush()}catch(e){var a=Zm(e);if(a instanceof sib){for(var c=a;c.Qx();)c=c.Qx();Zgb(c,this.Ftb)}throw a.Ea;}};function Jcd(a,c){c.Ugb=a.Ugb;c.Ftb=a.Ftb;c.KPd=!0};function Kcd(){}H(Kcd,K);function Lcd(){}H(Lcd,K);function Mcd(){var a=new Lcd;a.D={};return a};function scd(a,c,e,f,g,h,k){this.R=this.F=!1;Ncd(this,a,c,e,f,g,h,k)}H(scd,tw);function Ncd(a,c,e,f,g,h,k,l){a.V=c;a.ma=e;a.W=f;a.va=g;a.ea=h;a.D=Mcd();a.R=!0===k;a.wa=l?l:function(){return new dD}} scd.prototype.O=function(a,c,e){var f=this.W.get(a,c),g=bx();if(f!=null){if(Tn(f)&&Co(f)&&this.ea.Ha("docs-erdiiv"))return fx(null);g.callback(f)}else if(this.R&&!CF(this.va,0))g.Ad(null);else if(c in this.D.D)this.D.D[c].D.push(g);else if(this.H&&c in this.H.D)this.H.D[c].D.push(g);else{f="r"+Pu(this.D.D);var h=this.D.D,k=new Kcd,l=[g];k.F=f;k.H=a;k.D=l;k.J=e;Ru(h,c,k);if(!this.J){var p;a=this.J=(p=this.wa,p());c=new Icd;c.Ugb=this;c.Ftb=en("Jp");c=Om(Icd.prototype.D,c,Jcd);Xuc(a,c,0)}}return g}; scd.prototype.flush=function(){this.H||this.isDisposed()||Ocd(this);this.J&&(this.J.dispose(),this.J=null)}; function Ocd(a){var c=a.D;a.D=Mcd();if(!Wu(c.D)&&a.V&&!a.V.isDisposed()){var e={},f={},g={};for(k in c.D){var h=c.D[k];bv(e,h.F,[h.H,h.J]);Ru(f,h.F,k);Ru(g,h.F,h.H)}a.H=c;e={renderOps:e};var k=a.R?1:3;zF(yF(wF(xF(XF(a.V.qh("/renderdata"),e),function(l){l=l.Nd();for(var p in l){var q=l[p],u=f[p],w=c.D[u].D;if(q==null)for(q=0;q0&&Du(A,A.length-1|0,0,["d",h]),A=A.join("/"));h={w:""+Ln(Math.ceil(p.width)), h:""+Ln(Math.ceil(p.height))};k&&Ru(h,$8a,M(k));q!=null&&Ru(h,NSa,q);w!=null&&w&&Ru(h,"ais",!0);Ru(h,lc,"1");!0===u&&Ru(h,"fmt",dl);h=$9b(y[1],y[2],y[3],y[4],A,q$b(h),null);h=l?r$b(h,l):h;this.V.set(Jg,g.Kx(),h);c.push(new hD(g,h,bbb))}else e.push(g)}return dx(new Wwc(c,Vwc(e)))};var add;function $cd(){$cd=r();add=RegExp("\\/a\\/drawings\\/([^\\/]+)\\/")};function bdd(a){this.D=a}H(bdd,K);function cdd(a,c,e,f){var g=bx();O$c(a.D,c,e,f,function(h){g.callback(h)});return g};function ddd(a,c,e,f,g,h){this.J=a;this.O=c;this.V=e;this.F=f;this.H=g;this.R=h;this.D={}}H(ddd,K); ddd.prototype.fetch=function(a){var c=this;if(a.D)return fx(null);var e=a.getId(),f=e.Kx();a=this.D[f];var g=bx();a=a?dx(a):cdd(this.J,this.F,e.g0a(),this.H);for(var h=e.rUb(),k={},l=0;l0);f.put(D5a,a.H);f.put(B5a,!a.V);f.put(z5a,!a.R);f.put(bab,a.ma);f.put(v4a,!(Wi in a.Da.J.J)||e||c);return f};function vdd(){}H(vdd,K);D=vdd.prototype;D.xZ=G(607);D.wia=G(609);D.mT=G(611);D.xQ=G(613);D.RF=G(615);function wdd(){}H(wdd,K);function xdd(){tF.call(this);this.D=XCb();this.O=new gx;this.J(new pRc(kRc,{},{wordList:[]}))}H(xdd,tF);D=xdd.prototype;D.Wta=G(616);function ydd(a,c,e){var f=a.YS(c),g=Oo(c,(So(),Ro));ou(a.D,g);f||(g={value:g},uF(a).get(Lfb).push(g),e&&zdd(a,[c],[]));return!f}D.DTa=G(617);D.YS=function(a){return lu(this.D,Oo(a,(So(),Ro)))};D.zY=function(a){a=a.get(Lfb);for(var c=0;ca){for(var c=0,e=this.F.length-1|0;e>=0&&!(this.F[e].hc()>a);e=e-1|0)c+=this.F[e].oo();return this.D[a]+c}Edd(this,a);if(this.D.length<=a)for(c=this.D.length;c<=a;c=c+1|0){e=void 0;var f=this.D,g=c,h=(e=this.H,e(c-1|0,c>0?this.D[c-1|0]:0));f[g]=h}return this.D[a]}; Ddd.prototype.indexOf=function(a,c){Edd(this,this.D.length);c=c?c.yb():2147483647;if(this.D.length>0&&a<=this.D[this.D.length-1|0])return a=ZTb(this.D,a,!0,Gu),Math.min(a<0?-a-2|0:a,c-1|0);for(var e=this.D.length;e0?this.D[e-1|0]:0));this.D.push(g);if(g==a)return e;if(g>a)return e-1|0}return c-1|0};function Fdd(a,c){Edd(a,c);zu(a.F);a.D.length=Math.min(a.D.length,c)} function Edd(a,c){if(a.F.length!=0){var e=0,f=a.F.length-1|0,g=a.F[f].hc();c=Math.min(c,a.D.length-1|0);if(!(g>c)){for(;g<=c;g=g+1|0){if(f>=0&&a.F[f].hc()==g){var h=void 0,k=a.F,l=(h=f,f=f-1|0,h);e+=k[l].oo()}a.D[g]=e+a.D[g]}a.F.length=f+1|0;(g+1|0)=a&&f<(a+c|0)?Uu(this.D,e):f>a&&(this.D[e]=f-c|0)}}; D.shift=function(a,c){this.F.shift(a,c);for(var e in this.D){var f=this.D[e]|0;f>=a&&(this.D[e]=f+c|0)}};D.hc=function(a){return a in this.D?this.D[a]|0:-1};D.jg=function(a){var c=new Gdd(this.H);c.F=this.F.clone(Idd(a));c.D=Xu(this.D);return c};function Kdd(a,c,e){if(L(a,c))return!0;if(!a||!c)return!1;e||(e=Hdd);return B$b(a.F,c.F,Jdd(e))&&mEb(a.D,c.D)}D.Va=function(a){return a instanceof Gdd&&Kdd(this,a,null)};function Ldd(){return new Gdd(km())};function Mdd(a){this.H=a}H(Mdd,K);Mdd.prototype.getData=x("H");function Ndd(){}H(Ndd,K);Ndd.prototype.jb=function(){return!this.D};Ndd.prototype.clear=function(){if(this.D)for(var a=this.D;a.D;)a=a.D,a.F=null;this.F=this.D=null};Ndd.prototype.append=function(a){this.F?(a.F=this.F,this.F.D=a):this.D=a;this.F=a};Ndd.prototype.remove=function(a){L(this.F,a)&&(this.F=a.F);L(this.D,a)&&(this.D=a.D);a.F&&(a.F.D=a.D);a.D&&(a.D.F=a.F)};function Odd(){this.D={}}H(Odd,K);D=Odd.prototype;D.get=function(a){return a in this.D?ru(this.D[a]):Rt};D.put=function(a,c){a in this.D?this.D[a].push(c):Ru(this.D,a,[c])};function Pdd(a,c,e){Mt(e)?Uu(a.D,c):(a=a.D,e=e.slice(),Ru(a,c,e))}D.remove=function(a,c){return a in this.D&&eDb(this.D[a],c)?(Mt(this.D[a])&&Uu(this.D,a),!0):!1};D.Yc=function(){return ru(Qu(this.D))};D.jb=function(){return Wu(this.D)};D.jg=function(){var a=new Odd;Iv(this.D,function(c,e){Pdd(a,c,VAb(e))});return a};function Qdd(a,c){this.F=a;this.J=c}H(Qdd,K);Qdd.prototype.getKey=x("F");Qdd.prototype.getValue=x("J");Qdd.prototype.clone=function(){return new Qdd(this.F,this.J)};function Rdd(a,c,e,f,g){this.F=this.J=this.O=0;this.H=new Kr(a,c);this.O=e;this.J=f;this.F=g;a=this.R=GIc(a,c,e,f);this.D=eFb(g,0,1E-6)?a:FIc(a,g)}H(Rdd,K);Rdd.prototype.Jb=x("O");Rdd.prototype.getHeight=x("J");Rdd.prototype.contains=function(a){if(eFb(this.F,0,1E-6))return this.D.contains(a);a=a.clone();mwb(a,-this.F,this.H);return this.R.contains(a)};function Sdd(a,c){return L(a,c)?!0:a&&c?jwb(a.H,c.H)&&a.O==c.O&&a.J==c.J&&a.F==c.F:!1} function Tdd(a,c,e){return new Rdd(a.H.x+c,a.H.y+e,a.O,a.J,a.F)}function Udd(a,c,e,f,g){a=GIc(a,c,e,f);a=eFb(g,0,1E-6)?a:FIc(a,g);return new Rdd(RD(a),SD(a),e,f,g)};function Vdd(){this.D=qu()}H(Vdd,K);Vdd.prototype.get=function(a){a=this.D.get(a);return a==null||isNaN(a)?null:a};Vdd.prototype.put=function(a,c){this.D.Eh(a,c)};function Wdd(){this.D=0}H(Wdd,K);function Xdd(a){var c=new Wdd;c.D=-1;c.F=a;return c}function Ydd(a){return!!a.F.Hc(a.D+1|0)}D=Wdd.prototype;D.next=function(){zt(Ydd(this));return this.F.Hc(this.D=this.D+1|0)};D.Co=G(55);D.Mc=function(){return Ydd(this)};D.Rc=function(){return this.next()};D.Qq=function(){Mib()};function Zdd(a,c){$dd();this.F=a;this.J=c}var aed,bed=[];H(Zdd,Qdd);D=Zdd.prototype;D.getParent=x("H");D.Po=function(){return this.D?ru(this.D):aed};function ced(a){return a.D?a.D:bed}D.Hc=function(a){return ced(this)[a]};D.Qc=function(){return ced(this).length};function ded(a){for(var c=0;a.getParent()!=null;)c=c+1|0,a=a.getParent();return c}D.gb=function(){for(var a=this;a.getParent()!=null;)a=a.getParent();return a}; D.contains=function(a){do a=a.getParent();while(a!=null&&!L(a,this));return a!=null};D.eb=function(a){this.Uk(a,this.D?this.D.length:0)};D.Uk=function(a,c){a.getParent();a.H=this;this.D=this.D?this.D:[];this.D.splice(c,0,a)};function eed(a,c,e){c.getParent();var f=ced(a),g=f[e];g.H=null;f[e]=c;c.H=a;return g}D.replaceChild=function(a,c){return eed(this,a,Nt(ced(this),c))};D.iy=function(a){var c=this.D?this.D[a]:null;return c!=null?(c.H=null,Bu(this.D,a),Mt(this.D)&&(this.D=null),c):null}; D.removeChild=function(a){return a==null?null:this.iy(Nt(ced(this),a))};D.dh=function(){if(this.D){for(var a=this.D,c=0;c0&&this.D.push(Xdd(a));!Mt(this.D)&&!Ydd(this.D[this.D.length-1|0]);)this.D.pop();return a.getValue()};D.Co=G(54);D.Mc=function(){return!Mt(this.D)};D.Rc=function(){return this.next()};D.Qq=function(){Mib()};function jed(){}H(jed,K);function ked(a,c){var e=new jed;e.J=a;e.H=c;e.F=new fed("rootNodeId",null);e.D=qu();return e}D=jed.prototype;D.insert=function(a,c,e){this.contains(c);led(this.size()+1|0,this.J);var f=med(this,a.slice(0,-1));led(ded(f)+1|0,this.H);e=new fed(c,e);var g=+a[a.length-1|0]|0;f.Qc();vDb(a);f.Uk(e,g);this.D.Eh(c,e)};D.get=function(a){return med(this,a).getValue()}; D.getPath=function(a){a=this.D.get(a);for(var c=[],e=a.getParent();e!=null;)c.push(e),e=e.getParent();c=c.slice(0,-1);e=nv();for(var f=c.length-1|0;f>=0;f=f-1|0)ov(e,ged(c[f]));ov(e,ged(a));return qv(e)};D.Mz=function(a){return this.Qc(a)>0};D.Qc=function(a){return med(this,a).Qc()};D.contains=function(a){return this.D.contains(a)}; D.move=function(a,c){Ead(a,c);var e=med(this,a.slice(0,-1)),f=med(this,c.slice(0,-1));led(hed(e)+ded(f)|0,this.H);var g=+a[a.length-1|0]|0,h=+c[c.length-1|0]|0;e.Qc();vDb(a);f.Qc();vDb(c);a=new fed("removedNodePlaceholderId",null);g=eed(e,a,g);f.Uk(g,h);e.removeChild(a)};function led(a,c){if(a>c.D)throw a=new UAb,Um(a,"Maximum collection size ("+c.D+") exceeded: "+M(c.F)),Tm(a,Error(a)),a.Ea;} D.remove=function(a){var c=med(this,a),e=c.getParent();a=+a[a.length-1|0]|0;for(var f=c.Qc()-1|0;f>=0;f=f-1|0){var g=c.Hc(f);c.removeChild(g);e.Uk(g,a+1|0)}e.removeChild(c);this.D.CA(c.getKey());return c.getValue()};function med(a,c){return c.reduce(function(e,f){e=e.Hc(f);vDb(c);return e},a.F)}D.clear=function(){this.D.jD();this.F=new fed("rootNodeId",null)};D.size=function(){return this.D.GG()}; function ned(a){return kkb(function(){var c=new ied,e=a.F;c.D=[];e.Qc()>0&&c.D.push(Xdd(e));return c})};function oed(a,c,e,f){this.D=a;this.J=c;this.F=e;this.H=f}H(oed,K);oed.prototype.write=function(a,c,e){if(this.D.H){for(var f=[],g=0;g=a.Id()||e>=a.ae()?!1:a.Bc(c,e)!=null}function $F(a,c){return a.Bc(c.D,c.F)}D.XP=G(624);D.jg=function(){return this.clone(null)};D.clone=function(){for(var a=[],c=this.H,e=0;ee)return null;for(;Ied(a,g,c);)if(c=c+1|0,c>f&&(c=0,g=g+1|0),g>e)return null;return new EB(g,c)} function Jed(a,c){var e=a.ae()-1|0;if(c.F==0){var f=c.D-1|0;c=e}else f=c.D,c=c.F-1|0;if(f<0)return null;for(;Ied(a,f,c);)if(c=c-1|0,c<0&&(c=e,f=f-1|0),f<0)return null;return new EB(f,c)}function Ied(a,c,e){return a.Bc(c,e)==null||a.Bc(c,e).Zf()==1}function aG(a,c,e){c=new EB(c,e);return Ked(a,c)}function Ked(a,c){return(a=Ged(a)[c.toString()])?a:c};function Led(a,c,e){for(var f=c.D,g=c.F,h=a.Id()-1|0,k=a.ae()-1|0,l=Ked(a,c),p=null;f<=h&&!p;)g=g+1|0,g>k&&(g=0,f=f+1|0),p=Med(a,f,g,l);if(f<=h)for(;f<=h&&aG(a,f,g).Dk&&(g=0,f=f+1|0);f>h&&(h=(new RC).Mb(2).oa(),e.Ff(null,h),h=a.Id()-1|0);return(f!=c.D||g!=c.F)&&f<=h&&g<=k?new EB(f,g):null} function Ned(a,c){for(var e=c.D,f=c.F,g=a.ae()-1|0,h=Ked(a,c),k=null;e>=0&&!k;){f=f-1|0;if(f<0&&(f=g,e=e-1|0,e<0))break;k=Med(a,e,f,h)}if(e>=0)for(;e>=0&&aG(a,e,f).D=0&&f>=0?aG(a,e,f):null}function Med(a,c,e,f){if(!ZF(a,c,e))return null;a=aG(a,c,e);return a.Va(f)?null:a};function Oed(){};function Ped(a,c){this.D=a;this.F=c}H(Ped,K);Ped.prototype.Va=function(a){return L(this,a)?!0:a instanceof Ped?cu(this.D,a.D)&&cu(this.F,a.F):!1};function Qed(a,c,e,f,g,h,k,l){this.V=a;this.R=c;this.D=e;this.J=f;this.H=g;this.F=h;this.O=k;this.W=l}H(Qed,K);Qed.prototype.Va=function(a){return L(this,a)?!0:a instanceof Qed?this.V.Va(a.V)&&this.R.Va(a.R)&&L(this.D,a.D)&&L(this.J,a.J)&&go(this.H,a.H)&&this.F==a.F&&this.O==a.O&&this.W.Va(a.W):!1};function Red(a,c,e,f){this.F=a;this.J=c;this.D=e;this.H=f}H(Red,K);Red.prototype.Va=function(a){return L(this,a)?!0:a instanceof Red?this.F==a.F&&this.J==a.J&&L(this.D,a.D)&&go(this.H,a.H):!1};function Sed(){this.F=!1;this.D=new gx;this.xa(this.D)}H(Sed,tw);Sed.prototype.keb=G(626);Sed.prototype.wja=G(628);Sed.prototype.P8a=G(630);Sed.prototype.Hya=G(632);function Ted(){this.D={};this.V=XCb();this.O=XCb();this.J=XCb();this.R=this.H=null;this.F=new gx}H(Ted,K);Ted.prototype.Ir=function(a){return this.D[a]};function Ued(a){this.W4a=a}H(Ued,K);function Ved(){this.F=!1}H(Ved,K);Ved.prototype.Qi=function(){this.F=!0};Ved.prototype.zj=G(634);function Wed(a,c,e){this.F=!1;this.H=new gx;this.O=a;this.J=c;this.R=e;this.xa(this.H)}H(Wed,tw);D=Wed.prototype;D.keb=G(625);D.wja=G(627);D.P8a=G(629); D.sync=function(a,c){var e=this,f=!a,g=!c,h=[Wh,this.J];f||yu(h,["lastupdatetimestamp",M(a)]);g||yu(h,["documentrevision",M(c)]);bG(xF(yF(cG(dG(this.O.qh("/tasks"),jb),h),1),function(k){f&&Yu(e.D.D);g&&ICb(e.D.V);var l={},p=k.Nd(),q=p.gdtr_tie;k=[];for(var u=0;uz.R.yb())z.R=O(A);ou(u.V,y);HCb(u.O,y);l[q.D]=!0}e.H.dispatchEvent(new Ued(l));e.R.Qi()}),!0).Kh()};D.Hya=G(631);function Xed(a,c,e){this.D=a;this.J=c;this.H=e}H(Xed,K);Xed.prototype.F=G(635);function Yed(a,c){this.D=a;this.F=c}H(Yed,K);function Zed(a,c){this.D=a;this.F=c}H(Zed,K);function $ed(a,c){this.F=a;this.D=c}H($ed,K);var afd,bfd,cfd={};function dfd(a,c){eG();var e=c.Jd();c=c.getSelection().zc;c.getType()==0&&c.F&&(e=e-1|0);return fG(a,e)}function efd(a,c){eG();return ffd(a,c,-1,2147483647,2147483647)}function gfd(a,c,e){eG();return ffd(a,c,e,2147483647,2147483647)}function hfd(a,c,e,f){eG();return ffd(a,c,e,f,2147483647)}function ffd(a,c,e,f,g){return ifd(a,c,e==-1?cfd:My(e),f,g)} function ifd(a,c,e,f,g){for(var h=[],k=a.eg(Mi),l=0;l=g)break;var q=a.Pm(Mi,p),u=!!q&&L(MC(q),c)&&fG(a,p);NC(q)in e||(u=!1);if(u&&(h.push(p),h.length==f))break}return h}function fG(a,c){eG();a.Lm(Mi)?(c=a.lh(Mi,c))?(c=MC(c),a=!!c&&!!a.Dd(c)):a=!1:a=!1;return a}function jfd(a,c){eG();return fG(a,c)?(c=a.lh(Mi,c),a=a.Dd(MC(c)),c=NC(c),!!a&&bB(gG(a,c))):!1}function hG(a,c){eG();return kfd(a,c)!=-1} function kfd(a,c){eG();if(!fG(a,c))return-1;c=a.lh(Mi,c);var e=Ct(MC(c));At(!!e,"Xp");a=a.Dd(e);if(!a)return-1;a=gG(a,NC(c));return $0b(a)?a.D:-1}function lfd(a,c){a=Hu(a,c);return a<0?-a-1|0:a}function mfd(a,c,e,f,g,h){eG();a=nfd(a,c,e,f,g,h);c=a.D;return new Yed(a.F,c.D.length+(c.F?1:0)|0)} function nfd(a,c,e,f,g,h){for(var k=!1,l=[];g>=0;g=g-1|0){var p=f(+e[g]|0),q=NC(p);if(L(MC(p),a)&&(!h||!ofd(+e[g]|0,h())))if(q==c)l.unshift((e[g-1|0]!=null?+e[g-1|0]|0:0)+1|0),k=!1;else if(q>c)k=!0;else if(q0&&kDb(l);return new $ed(g,new Zed(l,k))}function pfd(a){eG();var c=(jB(),kB);tA();if(c=c()){c=c.F;var e={};for(h in a)if(h in a&&!nVb(c,h)){var f=a[h],g=nz(c,h);g==null?dv(e,h,f):!1===a[g]&&(dv(e,h,f),e[g]=a[g])}a=e}else a={};var h=FYb((jB(),kB));iv(h,a);a1b(h,!0);return h} function qfd(a,c){eG();if(c.getType()==2)return[c.H];if(c.getType()==3)return gfd(a,c.J,c.F);throw Vm("$p`"+c.getType()).Ea;}function rfd(a,c,e){eG();a=gfd(a,c.J,c.F);return a.length>0?+a[e?0:a.length-1|0]|0:c.O} function sfd(a,c,e,f){eG();if(!fG(a,c))throw Vm("aq").Ea;f=f!=null&&f||!1;var g=a.getStyle(Mi,c),h=MC(g),k=a.Dd(h);g=NC(g);var l=gG(k,g);l=e?e:tfd(l,g);e=[];l=ufd(l);for(var p=0;p8||q>g||q<0||bB(gG(k,q))&&fz(e,q))}a=vfd(a,h,c,e);f&&a[g]!=null&&(a[g]=(+a[g]|0)+1|0);return a} function vfd(a,c,e,f){function g(){return a.ld()}function h(u){return a.getStyle(Mi,u)}var k=a.eg(Mi),l=lfd(k,e);e=[];for(var p=f.length-1|0;p>=0;p=p-1|0){var q=+f[p]|0;l=mfd(c,q,k,h,l,g);e[q]=l.F;l=l.D}return e}function wfd(a,c){eG();if(!fG(a,c))throw Vm("cq").Ea;return jfd(a,c)?1:hG(a,c)?2:0}function eG(){eG=r();afd=RegExp("[\\s]+");for(var a=0;a<=8;a=a+1|0)cfd[a]=!0;bfd=RegExp("^[\\d]+$")};function xfd(a,c,e){var f=a.length,g=0,h=null,k=a.charCodeAt(c);if(k==16){h=c;if(!e(k,c,h))return c;c=c+1|0}for(;ce.F||g0&&Lo(BA(c,h-1|0),"\u001c")&&Lo(BA(c,h),"\n")&&(h=h-1|0);var k=iG(a,h);if(!k||k.ce!=h)return!1;g=fw(g);h=iG(a,g);if(!h||h.Dk!=g)return!1}return!0};function jG(a,c){this.D=a;this.F=c}var Dfd={cell_bl:1,cell_bt:2,cell_br:3,cell_bb:4};H(jG,K);jG.prototype.toString=function(){return"CellBorderTuple("+this.D+M(this.F)+")"};jG.prototype.Hb=function(){return{csi:this.D,o:this.F}};function Efd(a,c){var e=a.D-c.D|0;return e!=0?e:(Dfd[a.F]|0)-(Dfd[c.F]|0)|0};function Ffd(a){this.J=a}H(Ffd,K);Ffd.prototype.H=B(!0);Ffd.prototype.F=B("");Ffd.prototype.D=x("J");function Gfd(a){this.J=a}H(Gfd,K);Gfd.prototype.H=B(!1);Gfd.prototype.F=x("J");Gfd.prototype.D=B(-1);function Hfd(a){Ifd();this.D=a}var Jfd,Kfd;H(Hfd,K);function ufd(a){if(!a.F){a.F=[];for(var c=0,e=0;;){c=a.D.indexOf("%",c);if(c==-1||c==(a.D.length-1|0)){e!=a.D.length&&a.F.push(new Gfd(a.D.substr(e)));break}var f=c+1|0;yjb(a.D.charCodeAt(f))?(c!=e&&a.F.push(new Gfd(Cn(a.D,e,c))),a.F.push(new Ffd(Cib(a.D.charCodeAt(f),10))),c=f+1|0,e=f+1|0):c=c+1|0}}return a.F}Hfd.prototype.toString=function(){return"GlyphFormat("+M(this.D)+")"}; function Lfd(a){var c=[];a=a?".":"";for(var e=0;e<=8;e=e+1|0){var f=c,g=new Hfd("%"+e+M(a));f.push(g)}return c}function tfd(a,c){Ifd();Y0b(a.D)?(0<=c&&c<=8||(c=0),a=bB(a)?Jfd[c]:Kfd[c]):a=new Hfd(a.W);return a}function Ifd(){Ifd=r();Jfd=Lfd(!0);Kfd=Lfd(!1)};var Mfd,Nfd=[1E3,900,500,400,100,90,50,40,10,9,5,4,1],Ofd={1E3:"M",900:"CM",500:"D",400:"CD",100:"C",90:"XC",50:"L",40:"XL",10:"X",9:"IX",5:"V",4:"IV",1:"I"},Pfd;function Qfd(a,c){Rfd();for(var e="",f=0;f=g;)a=a-g|0,e=M(e)+M(Ofd[g]);return c?e:Oo(e,(So(),Ro))}function Sfd(a,c){Rfd();a=Math.min(Math.max(a,1),2600)-1|0;return KKb(lnb(Bjb((c?65:97)+(a%26|0)|0)),(a/26|0)+1|0)} function Rfd(){Rfd=r();Mfd=RegExp("^M{0,4}(CM|CD|D?C{0,3})(XC|XL|L?X{0,3})(IX|IV|V?I{0,3})$");Pfd=RegExp("^[a-zA-Z]+$")};function Tfd(a,c){Ufd();$z.call(this,Mi,Vfd,a);this.D=c?c:(Wfd(),Xfd).Gb.clone()}var Vfd,Yfd=[Gi];H(Tfd,$z);D=Tfd.prototype;D.clone=function(){var a=new Tfd(this.getId(),new Zfd([]));sz(this,a);return a};D.gf=function(a){$z.prototype.gf.call(this,a);a.D=this.D.clone()};function gG(a,c){return $fd(a.D,c)}D.Y8=function(a){LVb(this.D,a.D)};D.bf=function(a,c){Gi in a&&this.D.update(a.le_nb,c)};D.kf=function(a){switch(a){case Gi:return this.D}throw en(qj+M(a)).Ea;};D.Md=function(a){switch(a){case Gi:return!0}return!1}; D.jl=function(){return Yfd};D.Re=function(a){var c={},e=this.D.Hb(a);Rz(a,e)&&cv(c,Gi,e);return c};D.Me=function(a,c){return a instanceof Tfd?$z.prototype.Me.call(this,a,c)&&zz(this.D,a.D,c):!1};function Ufd(){Ufd=r();Vfd=(Wfd(),agd)};var Xfd,agd;function Wfd(){Wfd=r();Xfd=qA(nA(mA(gYb(iA(hA((bgd(),cgd),function(a){var c=new Zfd(null);c.Oc(a);return c}),Gi)),new Zfd(null))));agd=oz([Xfd])};function dgd(a){this.D=a}H(dgd,K);function egd(a,c,e){return(+a.D[e]|0)+c.ea|0} dgd.prototype.resolve=function(a,c){switch(a.D){case 1:a="\u25cb";break;case 2:a="\u25a0";break;case 10:case 3:a=""+egd(this,a,c);break;case 11:a=egd(this,a,c);a=String(a<10?"0":"")+a;break;case 12:case 4:a=Sfd(egd(this,a,c),!0);break;case 13:case 5:a=Sfd(egd(this,a,c),!1);break;case 14:case 6:a=Qfd(egd(this,a,c),!0);break;case 15:case 7:a=Qfd(egd(this,a,c),!1);break;case 16:case 8:a="";break;case 17:case 18:a=" ";break;case 9:a=a.O==null?"":a.O;break;default:a="\u25cf"}return a};function Zfd(a){fgd();qz.call(this,(bgd(),cgd));a||(a=[ggd.Gb.clone(),hgd.Gb.clone(),igd.Gb.clone(),jgd.Gb.clone(),kgd.Gb.clone(),lgd.Gb.clone(),mgd.Gb.clone(),ngd.Gb.clone(),ogd.Gb.clone()]);this.D=a}var pgd,qgd="nl_0 nl_1 nl_2 nl_3 nl_4 nl_5 nl_6 nl_7 nl_8".split(" ");H(Zfd,qz);function kG(a){fgd();return eA(pgd).get(""+a)}D=Zfd.prototype;D.clone=function(){var a=new Zfd([]);sz(this,a);return a}; D.gf=function(a){a.D=[];for(var c=0;c(xA(g)-1|0))return yA(g,xA(g)-1|0)+1|0;if(c<=1)return 1;var h=g.lastIndexOf("\n",c-1|0),k=-1;e&&(k=unb(g.slice(h==f?0:h,c-1|0),"\v"));for(e=e?Math.max(h,k,0):Math.max(h,0);e<(c-1|0)&&Agd(a,e+1|0);)e=e+1|0;return e+1|0}function oG(a,c){qG();var e=xA(a)-1|0;a=wA(a,"\n",c);return a==-1||a>e?e:a}function sG(a,c){qG();if(c<1)return!1;for(c=c-1|0;c>=0;c=c-1|0)if(DA(a.Xa(),c)&&!Gkc(a,c))return AA(a.Xa(),c);return!0} function Bgd(a,c,e){qG();c<1&&(c=1);var f=[],g=!1;!Agd(a,c)&&sG(a,c)&&(g=!0,f.push(c));e=a.Xa().slice(c,e);var h=ky(wgd.join(""));for(h=TKb(new RegExp("["+M(h)+"]+","g"),e);iy(h);){var k=jy(h,0),l=MKb(h);g||(sG(a,c+l|0)&&f.push(c+l|0),g=!0);for(var p=1;pf&&(!e||ge);k=k+1|0){var l=g[k],p=ew(l);if(p>e)break;l=fw(l);lc&&Bo(h,f.ig(a,agc(eC(dC(fC(),c),p-1|0),!1).oa())),c=l+1|0)}c<=e&&Bo(h,f.ig(a,agc(eC(dC(fC(),c),e),!1).oa()));return Qo(h.toString())}function Ggd(a,c,e){qG();var f=rG(a,c);return Egd(a,f,c-1|0,e)} function qG(){qG=r();wgd=Yt(Vt(Wt(Ut(),(vA(),VYb)),"\n"))};function Hgd(a,c,e){this.D=a;this.H=c;this.F=e}H(Hgd,K);Hgd.prototype.Va=function(a){return a instanceof Hgd?L(a.D,this.D)&&L(a.H,this.H)&&L(a.F,this.F):!1};Hgd.prototype.Yb=function(){return Do([this.D,this.H,this.F])};function Igd(a,c,e){var f=[],g=a.pe();c=new Yv(c,e);Jgd(g,f,c);Kgd(g,f,c);Lgd(a,g,f,c);bC(f);return f}function Mgd(a,c){var e=[];Ngd(e,a.hw(Cd),function(f){return a.vv(Cd,f)},c);return e}function Jgd(a,c,e){Ngd(c,a.Lz(),function(f){return a.Aq(f)},e)}function Kgd(a,c,e){Ngd(c,a.ZG(),function(f){return a.av(f)},e)} function Lgd(a,c,e,f){a=a.ho();for(var g={},h=0;h0&&c.add(+f[g]|0,g<(f.length-1|0)?(+f[g+1|0]|0)-1|0:e);return c.D}function Pgd(a,c,e){Tgd(a,c,B(!0),e)}function Tgd(a,c,e,f){for(var g=0;g