fd(tfd(c,e));g.b_gf=f+cWi(c)[1]+a;return g};function dWi(a,c,e,f,g,h,k){nVi.call(this,a,c,e,f,h);this.za=g;this.Ca=new kJ(this);this.ea=k}H(dWi,nVi);dWi.prototype.Td=function(a){nVi.prototype.Td.call(this,a);var c=a.F;kD(a.getContext().O.J,2,1)&&a.J.Ze(slg,[new VVi(this.W,c,this.kb().Jn(),!0)]);if(a=a.O)WVi(a,c,this.za,Jii(this.kb().Jn())),a.Xj(c.qa(Bog)),a.Xj(c.qa(Dog))};
dWi.prototype.ye=function(a,c,e){var f=this;nVi.prototype.ye.call(this,a,c,e);EE(a,KE(LE(QE(e,function(){return eWi(f)}).D(Cng),[DE(2,0),Lag])));IE(a,LE(SE(e,(q1h(),r1h)).F(xng),[DE(2,0),Kag]));EE(a,KE(LE(QE(e,function(){$Vi(f.W,f.D,f.ea)}).D(yng),[DE(2,0),dtg,GNg])));ER(a,zng,[bog,Amg,Bng]);HE(c,c.qa(Bng),OE(TE(e).concat(btg)))};function eWi(a){var c=a.W.Aa(),e=a.W.hb(),f=Jsh(c,e);e=Ish(c,e.getSelection());c=ysh(c,e[0]);YVi(a.ea,c,f,function(g){a.R.apply((g2h(),h2h),g)})}
dWi.prototype.fb=function(){Iw(this.Ca);nVi.prototype.fb.call(this)};function fWi(a){T.call(this);this.D=a}H(fWi,MV);fWi.prototype.qd=function(){var a=this.D.qa(gya),c=this.D.qa(fLa),e=this.D.qa(ZCa);return[a,c,e]};function gWi(){}H(gWi,fH);gWi.prototype.D=function(a){return new hWi(a)};gWi.prototype.Ul=B(tj);function hWi(a){nF.call(this,NNa,a)}H(hWi,gH);hWi.prototype.Vc=function(a){a.F==null?qF(this,new pzd(this.getContext(),a.D)):Ct(oC(this.getContext().ub().Aa().ox((zyf(),yyf)),a.D).Iu(0)).Qc()==1?qF(this,new pzd(this.getContext(),a.D)):qF(this,new iWi(this.getContext(),a.D,a.F))};function jWi(a,c){this.D=a;this.F=c}H(jWi,K);function iWi(a,c,e){this.D=a;this.J=c;this.O=e}H(iWi,BG);iWi.prototype.H=function(){var a=BKf([this.O]),c=Ct(this.getContext().ub().Aa().pe().jq(this.J)).D!=null;this.F(pQc(a,new T9b(this.J,c)))};function kWi(a,c,e,f){this.F=!1;lWi(this,a,c,e,f)}H(kWi,tw);function lWi(a,c,e,f,g){a.D=null;a.H=c;a.J=e;c=new hx;a.xa(c);c.Pa(f,function(){var h=Gzd(a.H);L(h,a.D)||mWi(a);a.D=h});c.Pa(g,function(h){a:{var k=a.H;var l=h.J,p=k.F.Zu()[l];if(p&&p.isActive()&&k.D.lw(l)&&(p=k.D.Hs(l).getSelection().zc,Ozd(k.D.Hs(l).getSelection().zc))){k=p.getId();break a}k=null}l=null;h.H instanceof yjc&&(h=h.H,Ozd(h.zc)&&(l=h.zc.getId()));L(k,l)||mWi(a)})}
function mWi(a){a.J.um(z4a,-1073741823,-1073741823,2147483647,2147483647)};function nWi(a,c,e,f){fT.call(this,a);this.J=c;this.ea=e;this.wa=f}H(nWi,fT);nWi.prototype.Td=function(){this.W=new kWi(new Fzd(this.J,this.wa),this.ea,this.J.gg(),this.J.BD());this.xa(this.W)};
nWi.prototype.ye=function(a,c,e){var f=this,g=d8g(e).concat([AMg,bl]),h=[zMg,xj];IE(a,ME(LE(UE(e,new gWi),g),gya,function(k){return oWi(f,k)}));IR(c,c.qa(gya),OE(g));IE(a,ME(LE(UE(e,new gWi),g),hya,function(k){return oWi(f,k)}));EE(a,LE(HR(JR(e,r()),NPa),h));this.D.qa(NPa).Ud(!0);Nx(this.ma,this.D.qa(NPa),(Ox(),Px),function(){var k=f.W.D;k!=null&&(k=f.J.Aa().Te(k),f.J.Mh(BC(tC(k)),!0,!1,xRg));f.ea.um(Xi,-1073741823,-1073741823,2147483647,2147483647)});IR(c,c.qa(NPa),OE([zMg]));g=h.concat([BMg]);IR(c,
c.qa(fLa),OE(g));EE(a,LE(HR(JR(e,function(){f.D.qa(NPa).Ud(!0)}),fLa),g));h=h.concat([CMg]);IR(c,c.qa(ZCa),OE(h));EE(a,LE(HR(JR(e,function(){f.D.qa(NPa).Ud(!1)}),ZCa),h));EE(a,LE(HR(JR(e,function(){pWi(f,!1)}),dHg),[zMg]));EE(a,LE(HR(JR(e,function(){pWi(f,!0)}),eHg),[zMg]));EE(a,LE(HR(JR(e,b8g),gCg),[yMg]))};
function pWi(a,c){var e=a.J.Aa(),f=a.J.hb().getSelection().zc;a:{var g=e.og(f);if(Ozd(f))for(var h=e.Qk(Xi,g),k=0;k<(h.length-1|0);k=k+1|0)if(Lo(h[k].getId(),f.getId())){e=new Pzd(h[k+1|0].getId(),null);break a}h=e.Js(Xi);e=(e=e.NF(Xi,Hwh(h,g,c)))?new Pzd(e.getId(),null):null}e&&!e.Va(f)&&(f=BC(e),a.J.Mh(f,!0,!0,c?"text-previousMarkup":"text-nextMarkup"))}function oWi(a,c){if(c==null)return a=a.J.hb().getSelection().zc,Dt(a,"hS"),new jWi(a.getId(),null);Dt(c,"hS");return new jWi(c,null)};function qWi(a,c,e,f,g){nWi.call(this,a,c,e,f);Ex(g,"numMarkups",function(){return c.Aa().Js(Xi).length.toString()})}H(qWi,nWi);qWi.prototype.Td=function(a){nWi.prototype.Td.call(this,a);a.J.Ze(sGg,[new fWi(a.F)])};function rWi(a){Hx.call(this);var c=this;this.H=a;this.D.Pa(this.H.Ph(),function(e){e.ih.getType()==wi&&e.ih.H==Fd&&Jx(c,sWi(c))});this.D.Pa(this.H.gg(),function(){return Jx(c,sWi(c))});Ix(this,sWi(this))}H(rWi,Hx);function sWi(a){var c=new Kx,e=a.H.Aa();if(e.og(a.H.hb().getSelection().zc)>zA(e.Xa(),0))return c.put(ybg,!1),c;a=Cyh(e,a.H.hb().getSelection()).Vh().length;c.put(ybg,a>1);return c};function tWi(a,c){fT.call(this,a);this.J=c}H(tWi,fT);tWi.prototype.Wq=function(a){var c=new rWi(this.J);NE(a,c);this.xa(c)};function uWi(a,c){T.call(this);this.F=a;this.D=c}H(uWi,MV);uWi.prototype.qd=function(){if(this.F.hb().getSelection().zc.getType()!=0)return[];var a=this.D.qa(Cwa);return a.isEnabled()?[a]:[]};function vWi(a,c,e,f,g){e=[e,f];a.Ze(c,e,void 0,void 0,g);Flh(e,[65,85])}function wWi(a,c,e){a.Ux(kJg)||(c=[c.Lb(sIg),c.Lb(oGg),c.Lb(nGg)],a.Ze(kJg,c,void 0,void 0,e),Flh(c,[83,85,82]))};var xWi={0:n2f,1:Tfa,2:Ufa,3:Vfa,4:Wfa,5:Xfa,6:Yfa,100:hP,101:a5f};function yWi(a){return xWi[a]||""};function zWi(a,c,e,f,g,h,k,l,p){T.call(this);var q=this;this.D=a;this.va=c;this.Ca=e;this.F=f;this.J=g;this.Fa=h;this.wa=k;this.Da=l;this.fe=p||new Cs;this.R=new kJ(this);this.H=new hx;this.xa(this.H);this.O=this.Da.Ha(of);this.ma=[];this.O||this.H.Pa(this.F.Ph(),function(u){AWi(q,u)});this.ea=this.W=this.V=null}H(zWi,T);function BWi(a,c){a.O&&(c=c.qa(ing).getValue(),c!==null&&a.D.bd(yWi(c)),a.D.Ab(!1))}
zWi.prototype.initialize=function(a,c){var e=this;CWi(this,a);DWi(this);PR(c,!0);this.H.Pa(this.F.Ph(),function(f){e.O&&AWi(e,f);(new xud).Ay(Bh,f.ih,f.D).length>0&&EWi(e)});this.H.Pa(this.F.H,function(){EWi(e);TR(e.F)&&DWi(e)})};function DWi(a){a.V.Ka(!1);a.W.Ka(!1);a.ea.Ka(!1);for(var c=a.F.Aa().eg(Jj),e=0;e<c.length;e++){var f=c[e];f=a.F.Aa().Eg(Jj,f);if(FWi(a,wB(f)))break}}function FWi(a,c){var e=c==5||c==6,f=e||c==4;(c=e||f||c==3)&&a.V.Ka(c);f&&a.W.Ka(f);e&&a.ea.Ka(e);return e}
function AWi(a,c){c.ih instanceof tnd&&c.ih.H==Jj&&S7a in c.ih.V&&FWi(a,c.ih.V.ps_hd)}zWi.prototype.za=function(a){a.stopPropagation();this.D.uf(!1)};
function CWi(a,c){for(var e=[{r8:bng,Rba:dLg,XU:yWi(0)},{r8:kng,Rba:tLg,XU:yWi(100)},{r8:jng,Rba:hLg,XU:yWi(101)},{r8:cng,Rba:XKg,XU:yWi(1)},{r8:dng,Rba:YKg,XU:yWi(2)},{r8:eng,Rba:ZKg,XU:yWi(3)},{r8:fng,Rba:$Kg,XU:yWi(4)},{r8:gng,Rba:aLg,XU:yWi(5)},{r8:hng,Rba:bLg,XU:yWi(6)}],f=0;f<e.length;f++){var g=e[f],h=c.Lb(g.r8);if(h){var k=c.Lb(g.Rba);if(k){var l=a,p=a.D;g=g.XU;var q=h.zb(Vl);g=new oAi(g,q,l.fe);q=l;var u=g;switch(h.getId()){case fng:q.V=u;break;case gng:q.W=u;break;case hng:q.ea=u}g.dE(!0);
cV(l.va,g,h,GWi,void 0,HWi);q=g.Hd();IWi(q,!0);l.ma.push(g);h=Iri(l.J,q,[h,null,k]);l.wa&&weh(l.wa,h.La());h.Hc(0).dE(!1);h.Hc(0).FH(!1);l.R.listen(h,mc,l.za);p.Gl(g)}}}e=a.D.Hd();IWi(e,!1);e.Ba().style.paddingTop=0;EWi(a);f=a.D;if(l=c.Lb(kJg))wWi(a.J,c),p=new Imi(null,null,a.fe),p.dE(!1),cV(a.va,p,l,nii,void 0,HWi),a.R.listen(p,mc,a.za),p.Lg(a.J.Hd(kJg)),f.Gl(p),p.re(pP),p.re("kix-heading-style-options-menu-item");Fmi(e,!0);e=(e=a.D.Bl())?e.getValue():null;e!=null?a.D.setValue(e):(c=c.Lb(ing).getValue(),
c!=null&&a.D.setValue(c))}function IWi(a,c){c&&eJ(a.La(),UP);eJ(a.La(),TP)}function EWi(a){if(TR(a.F))for(var c=a.F.Aa().IO(),e=0;e<a.ma.length;e++){var f=a.ma[e];if(f){var g=O5g(c,f.Aa()).clone();lB(g)>24&&g.update({ts_fs:24});g=uId((mId(),lId),a.Fa.tU(g),a.Ca);g=a.fe.Oa(Qb,{style:g},f.Lt());f.re(pP);eJ(g,f.Ue().Yd()+xUf);f.bd(g)}}}zWi.prototype.fb=function(){Iw(this.R);T.prototype.fb.call(this)};var GWi={enabled:!0,selected:!0,value:!0,visible:!0},HWi=(new RC).Mb(4).oa();function JWi(a){this.D=a}H(JWi,K);function KWi(){}H(KWi,fH);KWi.prototype.D=function(a){return new LWi(a)};function LWi(a){MWi();nF.call(this,NAg,a)}var NWi;H(LWi,gH);function OWi(a,c){var e={},f=!0,g;for(g in c){var h=nz(a.F,g);if(h){var k={};dv(k,g,c[g]);vz(a,k)&&(e[h]=!0,f=!1)}}return f?null:e}function PWi(a,c){c=c.getStyle(0,a.getType()).xd();(c=OWi(a,c))&&a.Oc(c)}function QWi(a,c){a=Hu(a,c);a<0&&(a=-a-1|0,a>0&&(a=a-1|0));return a}
LWi.prototype.Vc=function(a){var c=this.getContext().ub(),e=c.Aa();a=a.D;var f=RWi(ml,c,null),g=RWi(Jj,c,null);if(f&&g){f=f.clone();g=g.clone();var h=e.IO(),k=h.lh(a,Jj);k={ps_awao:k.D.Na,ps_awao_i:k.getValue(M7a),ps_klt:k.D.Ra,ps_klt_i:k.getValue(a8a),ps_kwn:k.D.Sa,ps_kwn_i:k.getValue(c8a)};g.Oc(k);if(k=c.hb().getSelection().Qd){c=Ish(e,c.hb().getSelection());var l=k.D,p=k.Cg(),q=e.Pw(ml),u=QWi(q,p),w=0;k=[];for(var y=q.length,z=QWi(q,l);z<=u;z=z+1|0)for(var A=z<(y-1|0)?(+q[z+1|0]|0)-1|0:+c[c.length-
1|0]|0,C=Math.max(+q[z]|0,l),E=null;C<A&&w<c.length;){var F=+c[w]|0;if(wB(e.lh(Jj,F))==a){var I=Math.min(F,p);E&&E.end+1==C?E.end=I:(E=new Yv(C,I),k.push(E));if(I==p)break}w=w+1|0;C=F+1|0}for(l=0;l<k.length;l++)p=k[l],(q=OWi(e.lh(ml,ew(p)),f.xd()))&&oF(this,new EG(ml,ew(p),fw(p),q));for(k=0;k<c.length;k++)l=c[k],p=e.lh(Jj,l),wB(p)==a&&(p=OWi(p,g.xd()))&&oF(this,new EG(Jj,l,l,p))}a!=0&&(PWi(f,h),PWi(g,h));e=w_b(a);f={sdef_ts:f.xd(),sdef_ps:g.xd()};g={};cv(g,e,f);this.D=new SWi(a);oF(this,new EG(Bh,
0,0,g));qF(this,Cah(this.getContext(),a,!1))}};function RWi(a,c,e){MWi();var f=c.hb().getSelection();c=c.Aa();var g=f.Qd;if(g)return f=g.D,!0===e?c.lh(a,f):c.getStyle(a,f);f=f.zc;return f.getType()!=0?null:!0===e?c.Lfa(a,f):c.MD(a,f)}function MWi(){MWi=r();NWi=new KWi};function SWi(a){this.Xc=NAg;this.D=a}H(SWi,GD);function TWi(a,c,e,f){T.call(this);this.F=a;this.D=c;this.J=e;this.H=f}H(TWi,MV);TWi.prototype.qd=function(){if(this.F.hb().getSelection().zc.getType()!=0)return[];var a=[],c=this.D.Lb(BIg);h_h(this.J)&&c.isEnabled()&&a.push(c);if(UWi(this,ml)||UWi(this,Jj))c=VWi(this),c.isEnabled()&&a.push(c);this.H&&a.push(new uWi(this.F,this.D));return a};function UWi(a,c){a=RWi(c,a.F,!0);return!!a&&a.fF()}
function VWi(a){var c=a.F.hb().Bh();c=wB(a.F.Aa().getStyle(Jj,c));switch(c){case 0:return a.D.Lb(dLg);case 1:return a.D.Lb(XKg);case 2:return a.D.Lb(YKg);case 3:return a.D.Lb(ZKg);case 4:return a.D.Lb($Kg);case 5:return a.D.Lb(aLg);case 6:return a.D.Lb(bLg);case 100:return a.D.Lb(tLg);case 101:return a.D.Lb(hLg);default:throw Error("iS`"+c);}};function WWi(a){this.Xc=hGg;this.D=a}H(WWi,GD);function XWi(a,c){this.F=a;this.D=c}H(XWi,K);function YWi(){}H(YWi,fH);YWi.prototype.D=function(a){return new ZWi(a)};function ZWi(a){$Wi();nF.call(this,hGg,a)}var aXi;H(ZWi,gH);ZWi.prototype.Vc=function(a){var c=a.F;this.D=new WWi(a.D);oF(this,new EG(Bh,0,0,c))};function $Wi(){$Wi=r();aXi=new YWi};function bXi(a,c,e,f,g){fT.call(this,a);this.Sa=e;this.Na=f;this.Ca=new g_h(c);this.wa=new bF("hmi",g);this.xa(this.wa)}H(bXi,fT);bXi.prototype.Wq=function(a){NE(a,this.wa)};
bXi.prototype.ye=function(a,c,e){var f=this,g=[hQg];IE(a,ME(ME(ME(ME(ME(ME(ME(ME(ME(LE(UE(e,(M0h(),N0h)),g),cng,function(){return cXi(1)}),dng,function(){return cXi(2)}),eng,function(){return cXi(3)}),fng,function(){return cXi(4)}),gng,function(){return cXi(5)}),hng,function(){return cXi(6)}),bng,function(){return cXi(0)}),kng,function(){return cXi(100)}),jng,function(){return cXi(101)}));IE(a,ME(ME(ME(ME(ME(ME(ME(ME(ME(LE(UE(e,(MWi(),NWi)),[qQg,wj,jd]),XKg,function(){return dXi(1)}),YKg,function(){return dXi(2)}),
ZKg,function(){return dXi(3)}),$Kg,function(){return dXi(4)}),aLg,function(){return dXi(5)}),bLg,function(){return dXi(6)}),tLg,function(){return dXi(100)}),dLg,function(){return dXi(0)}),hLg,function(){return dXi(101)}));EE(IE(a,ME(ME(LE(UE(e,($Wi(),aXi)),g),nGg,function(){var h=K2e(f.Sa.D,!0);return new XWi(h.D,h.isDefault())}),oGg,function(){var h=f.Sa.get();return new XWi(h.D,h.isDefault())})),LE(HR(JR(e,function(){var h=f.Ca;if(h_h(h)){var k=h.D.hb().getSelection(),l=k.zc;if(l.getType()==0){var p=
k.Qd?ew(k.D[0]):l.D;l=h.D.Aa();var q=l.getStyle(ml,p),u=l.Xa(),w=yA(u,p);p=zA(u,p);var y=l.eg(ml);a:{var z=k.zc;z.getType();var A=z.D;if(k=k.Qd)for(var C=z.D==k.D?1:-1;!DA(u,A);){if(A=A+C|0,A<k.D||A>k.Cg()){z=z.D;break a}}else DA(u,A);z=A}k=null;u=[];for(A=0;A<y.length;A=A+1|0){C=+y[A]|0;if(C>p)break;var E=(A+1|0)<y.length?Math.min((+y[A+1|0]|0)-1|0,p):p;if(!(E<w)&&l.getStyle(ml,C).Va(q)){var F=new Yv(Math.max(C,w+1|0),E);C=h.D.Aa().Xa();E=[];var I=ew(F);F=fw(F);var J=xA(C)-1|0;if(I>J||F>J)C=[];else{J=
BA(C,I);for(var N=I;N<=F;N=N+1|0){var W=BA(C,N);vZb(J)?vZb(W)||(E.push(new Yv(I,N-1|0)),I=N,J=BA(C,I)):(I=N,J=BA(C,I))}F>=I&&vZb(J)&&E.push(new Yv(I,F));C=E}for(E=0;E<C.length;E++)I=C[E],k||!dw(I,z-1|0)&&!dw(I,z)?u.push(I):k=I}}l=new xC(ew(k),fw(k),uC(fw(k)+1|0,!0));q=new xC(ew(k),fw(k),tC(ew(k)));h.D.Mh(Gjc(l,q,u),!0,!1,"text-selectAllMatching")}}}),BIg),[DE(2,0)]));a=this.D;e=d8g(e).concat(g).concat([nQg,jd]);g=OE(e);HE(HE(HE(HE(HE(HE(HE(HE(HE(HE(c,a.qa(pEg),g),a.qa(oEg),g),a.qa(hEg),g),a.qa(iEg),
g),a.qa(jEg),g),a.qa(kEg),g),a.qa(lEg),g),a.qa(mEg),g),a.qa(nEg),g),a.qa(kJg),g);IR(HE(c,a.qa(ing),OE(e.concat(["hmi"]))),a.qa(ing),g)};bXi.prototype.bz=function(a){aT(a,this.D,[bng,cng,dng,eng,fng,gng,hng,jng,kng,MGg,NGg,OGg,PGg,QGg,RGg,SGg,TGg,UGg,VGg,WGg,XGg,KGg,LGg,BIg])};function cXi(a){return new O0h(a)}function dXi(a){return new JWi(a)};function eXi(a,c,e,f,g,h,k,l){bXi.call(this,a,f,g,h,!l.Ha(of));var p=this;this.W=c;this.J=e;this.Za=g;this.Ua=new kJ(this);this.Ja=new hx;this.xa(this.Ja);this.Fa=l.Ha(of);this.Da=this.ea=this.za=null;k.addCallback(function(q){p.za=q})}H(eXi,bXi);
eXi.prototype.Td=function(a){var c=this;bXi.prototype.Td.call(this,a);if(kD(a.getContext().O.J,2,1)){var e=new TWi(this.J,a.F,this.Ca,!0);a.J.Ze(LDg,[new TWi(this.J,a.F,this.Ca,!1)],void 0,void 0,FQ);a.J.Ze(yHg,[this.D.qa(LDg),new uWi(this.J,a.F)]);a.J.Ze(zHg,[e])}this.W&&(this.Fa?BWi(this.W,this.D):this.W.initialize(this.D,this.wa));(a=a.O)&&a.Xj(this.D.qa(BIg));this.Ja.Pa(this.J.Ji(),function(f){var g=void 0,h=f.D.Gq();if(h==tg)f.D.dK.Xc==hGg&&(g=BL("Previous styles restored.",ci,!1,1E4));else{if(h==
qf)f=f.D;else if(h==Zf)f=f.D.dK;else throw Error("jS`"+h);f.Xc==hGg&&(g=f.D?BL("Styles in this tab have been reset.",ci,!0,1E4,c.D.qa(tg)):BL("This document is now using your default styles.",ci,!0,1E4,c.D.qa(tg)))}fXi(c,g)})};function fXi(a,c){var e=zL.Cb();a.ea&&(AL(e,a.ea),a.ea=null);c&&(a.ea=e.postMessage(c))}
eXi.prototype.ye=function(a,c,e){var f=this;bXi.prototype.ye.call(this,a,c,e);EE(EE(a,LE(QE(e,function(){var g=f.Na,h=fLe(g),k=K2e(f.Za.D,!0).D;f.Da=h?h:k;h=f.J.Aa().IO();a:{k=h.F.D;for(var l=0;l<k.length;l++){var p=y_b(k[l]);p=O5g(h,p);b:{var q=f;p=nB(p);if(p in q.za.D){q=q.za.F;for(var u=0;u<q.length;u++)if(q[u]==p){p=!0;break b}p=!1}else p=!0}if(!p){k=!1;break a}}k=!0}if(k){h=h.Hb();Ydh(g,h);g=f.D.Lb(oKg);if(!g)throw Error("kS");fXi(f,BL("Your default styles have been saved.",ci,!0,1E4,g))}else fXi(f,
BL("The font selection in this document cannot be saved as your default styles.",ci,!0,1E4))}).F(sIg),[DE(2,0),$T(0)])),LE(QE(e,function(){if(!f.Da)throw Error("lS");Ydh(f.Na,f.Da);fXi(f,BL("Your previous default styles have been restored.",ci,!1,1E4))}).F(oKg),[DE(2,0),$T(0)]))};eXi.prototype.fb=function(){Iw(this.Ua);Iw(this.W);bXi.prototype.fb.call(this)};function gXi(a,c,e,f,g,h,k,l,p,q,u,w,y,z){c=z?new zWi(z,c,e,g,l,u,w,f,y):null;return new eXi(a,c,g,h,k,p,q,f)};function hXi(a){fT.call(this,a)}H(hXi,fT);hXi.prototype.pca=function(a){if(this.lb().Ha(of)){var c=new VF(cLa);EF(a,c,cLa)}};hXi.prototype.ye=function(){mpi(DF(this.O,cLa),this.D,sya)};hXi.prototype.O1=function(a){a.Bz(this.D.qa(tya),DF(this.O,cLa))};function iXi(a){T.call(this);var c=this;this.F=null;this.D=a;this.H=new hx;this.xa(this.H);this.H.Pa(this.D.Hf(),function(){var e=c.F.qa(e1a),f=e.Gc();!c.D.Xf()&&!c.D.xg()&&f&&e.xb()})}H(iXi,T);iXi.prototype.initialize=lm("F");function jXi(a,c){fT.call(this,a);this.J=c;this.W=new iXi(c)}H(jXi,fT);jXi.prototype.Td=function(){this.J.Xf()||this.J.xg()||!this.D.qa(zf).isVisible()||(this.D.qa(zf).Ka(!1),this.D.qa(zf).Ab(!1),this.D.qa(wg).Ka(!1),this.D.qa(wg).Ab(!1));this.W.initialize(this.D)};function kXi(a,c){T.call(this);this.D=a;this.F=c}H(kXi,MV);kXi.prototype.qd=function(a){var c=this,e=[];lXi(this)&&e.push(function(f){var g=c.D,h=c.D.hb().Bh();var k=c.D.Aa();h=LI(k,h).ea;k=h!=void 0?!h:!k.Wf().wa;k=Kw(k);h=g.hb().Bh();h=NI(g.Aa(),h);g=g.Aa().Kg().Th(h);g=Q5b(g)>R5b(g)?"Change page to landscape":"Change page to portrait";Pmi(g,c.F.Lb(JDg),a,f,k,AUa)});return e};
function lXi(a){var c=a.D.hb().getSelection(),e=a.D.Aa();if(!Nyh(e,a.D.hb()))return!1;a=c.D;for(c=0;c<a.length;c++){var f=a[c],g=NI(e,f.start);f=NI(e,f.end);if(Vbe(e,g,f))return!1}return!0};function mXi(a){this.D=a}H(mXi,K);
mXi.prototype.get=function(a,c){switch(c){case 1:return nXi(a.ub().Aa(),a.ub().hb().getSelection(),this.D);case 2:c=a.ub().Aa();a=a.ub().hb().getSelection();var e=this.D.qt(zC(a));a=c.Kg().Ow()-1|0;for(var f=[];e<=a;e=e+1|0){var g=f,h=Dyh(c,e);g.push(h)}return f;case 3:c=a.ub().Aa();a=a.ub().hb().getSelection();if(wpd(c,a))a=c.Te(a.zc.getId()),a=a>=zA(c.Xa(),0)?NI(c,a):NI(c,a+1|0),c=[Dyh(c,a)];else{a=a.D;f=[];for(e=0;e<a.length;e++){g=c;var k=a[e];h=f;var l=NI(g,ew(k));for(k=NI(g,fw(k));l<=k;l=l+
1|0){var p=Dyh(g,l);Jt(h,p)||h.push(p)}}c=f}return c;case 0:return oXi(a.ub().Aa());default:throw en("mS`"+c).Ea;}};function nXi(a,c,e){var f=e.qt(zC(c));if(c.Qd){c=e.qt(g6g(c));for(e=[];f<=c;f=f+1|0){var g=e,h=Dyh(a,f);g.push(h)}return e}return[Dyh(a,f)]}function oXi(a){var c=[0];Eu(c,a.Xa().F("\ue905"));return c};function pXi(){this.F=qXi()}H(pXi,fH);pXi.prototype.D=function(a){return new rXi(a)};pXi.prototype.wp=function(){return this.F.F};pXi.prototype.vr=function(){return this.F.D};function qXi(){return WS([],[1,3,5,6,7,8,13,14,19,17,18],Eth(Cth(["\ue906","\ue905"]),[Fd]).oa())};function rXi(a){sXi();nF.call(this,EEg,a)}var tXi;H(rXi,gH);
rXi.prototype.Vc=function(a){var c=this.getContext().ub(),e=c.Aa(),f=c.hb().Bh(),g=c.Aa().Xa();if(!QI(g,f)&&!Zbe(e,f)){g=LI(c.Aa(),f);g=Gyh(g);av(g,bta,a.D);var h=tC(f),k=gR(this.getContext(),"\n\ue905",h);qF(this,k);k=f+1|0;fG(e,f)&&(Lo(BA(e.Xa(),f-1|0),"\n")||Csh(e,h))&&Lo(BA(e.Xa(),f),"\n")&&qF(this,DG(this.getContext(),Mi,{ls_id:null},f,f));qF(this,DG(this.getContext(),Fd,g,k,k));e=c.hb().getSelection();e.zc.getType()==0&&(c=c.Aa().og(g6g(e)),pF(this,CC(f+2|0,c+2|0),!0));this.D=new uXi(a.D,EEg)}};
function sXi(){sXi=r();tXi=new pXi};function vXi(a){this.D=a}H(vXi,K);function uXi(a,c){this.Xc=c;this.D=a}H(uXi,GD);function wXi(a,c,e){fT.call(this,a);this.J=c;this.za=qXi();a=new xXi;a.D=e;this.W=a}H(wXi,fT);
wXi.prototype.ye=function(a,c,e){var f=this,g=[this.H.H(1),this.H.H(3),this.H.H(5),this.H.H(6),this.H.H(7),this.H.H(8),this.H.H(13),this.H.H(14),this.H.H(19),this.H.H(17)],h=[DE(2,0),pQg,wj,jd];h=d8g(e).concat(g).concat(h);IE(a,LE(UE(e,(sXi(),tXi)).F(tFg,new vXi(x5a)).F($Eg,new vXi(asa)),h.concat([Eg])));var k=OE([Eg]);IR(IR(c,this.D.qa(tFg),k),this.D.qa($Eg),k);IE(a,LE(ME(UE(e,(yXi(),zXi)),fLg,function(l){var p=AXi(BXi(CXi(new DXi,1),null),new mXi(f.J)),q=l.getValue();switch(l.D){case Hi:p.J=q;break;
case ul:p.R=q;break;case vP:p.H=q;break;case vk:p.O=q;break;default:throw en("nS").Ea;}return p.oa()}),[DE(2,0)]));IE(a,LE(ME(UE(e,zXi),MHg,function(l){var p=AXi(CXi(new DXi,l.D),new mXi(f.J));p.H=l.H;p.J=l.J;p.O=l.O;p.R=l.R;return BXi(p,l.F).oa()}),[DE(2,0)]));IE(a,LE(UE(e,zXi).D(KHg),[DE(2,0)]));EE(EE(a,LE(c8g(e,function(){EXi(f.W,!0)}).D(gHg),h)),LE(c8g(e,function(){EXi(f.W,!1)}).D(fHg),h));a=OE(iu(e.F).concat(g).concat([yQ]));HE(c,this.D.qa(VIg),a)};wXi.prototype.VC=function(a){$S(a,this.za)};
wXi.prototype.bz=function(a){aT(a,this.D,[tFg,$Eg,fLg])};function xXi(){}H(xXi,K);function EXi(a,c){var e=a.D.Aa().Xa(),f=a.D.hb().Jd();f=e.lastIndexOf("\ue905",f);f==-1&&(f=0);var g=[0];Eu(g,e.F("\ue905"));e=Hwh(g,f,c);e!=f&&(e=BC(tC(e+1|0)),a.D.Mh(e,!0,!0,c?TRg:JRg))};function FXi(a,c,e){this.D=a;this.J=c;this.O=e}H(FXi,BG);
FXi.prototype.H=function(){var a=this.getContext().ub().Aa(),c=NI(a,this.O);a=LI(a,this.O);if(this.J.D!=null)var e=this.J.D;else e=a.D,e=e!=null?e:J8b(this.getContext().ub().Aa().Wf());if(this.J.F!=null)var f=this.J.F;else f=a.O,f=f!=null?f:L8b(this.getContext().ub().Aa().Wf());c=Pbe(this.getContext().ub().Aa(),c)-e-f;a=a.Vh();e=this.getContext().ea;f=!e||!e.xg();e={};var g=this.J.D;g!=null&&(e.css_ml=g);g=this.J.F;g!=null&&(e.css_mr=g);g=this.J.J;g!=null&&(e.css_mt=g);g=this.J.H;g!=null&&(e.css_mb=
g);f&&a.length>0&&(c=Byh(c,a[0].D,a.length),cv(e,Ksa,pB(c)));jF(this,DG(this.getContext(),Fd,e,this.O,this.O))};function GXi(){}H(GXi,K);GXi.prototype.oa=function(){var a=new HXi,c=this.F,e=this.H,f=this.J;a.H=this.D;a.D=c;a.F=e;a.J=f;return a};function HXi(){}H(HXi,gw);function IXi(a,c){this.D=a;this.J=c}H(IXi,BG);IXi.prototype.H=function(){var a={},c=this.J.F;c!=null&&(a.css_fpo=c,jF(this,DG(this.getContext(),Fd,a,this.J.D,this.J.D)))};function JXi(){this.D=this.F=0}H(JXi,K);function KXi(a,c){a.F=c;a.D=Kn(a.D|1);return a}JXi.prototype.oa=function(){if(this.D!=1)throw un().Ea;var a=new LXi,c=this.F;a.F=this.H;a.D=c;return a};function LXi(){this.D=0}H(LXi,gw);function MXi(){}H(MXi,fH);MXi.prototype.D=function(a){return new NXi(a)};function NXi(a){yXi();nF.call(this,xKg,a)}var zXi;H(NXi,gH);
NXi.prototype.Vc=function(a){var c=this.getContext().ub().Aa();if(c.Wf().O.D!=0){var e=new S7b(null);e.Oc({df_dm:0});var f={};cv(f,ZSa,e.xd());oF(this,new EG(Dg,0,0,f))}e=a.D;if(e==3){f=this.getContext().ub().hb().getSelection();if(EVg(c,f).length!=0){var g=f;f=[];var h=OXi(this,c,mC(g.Qd));h=new xC(ew(h),fw(h),tC(fw(h)+1|0));g=g.D;for(var k=0;k<g.length;k++){var l=OXi(this,c,g[k]);if(!(f.length>0&&$v(l,f[f.length-1|0])||$v(l,mC(h)))){var p=ew(l),q=fw(l),u=PXi(l,mC(h)),w=f.length>0&&PXi(l,f[f.length-
1|0]);u?h=new xC(p,Math.max(q,h.Cg()),tC(Math.max(q,h.Cg())+1|0)):w?(l=f[f.length-1|0],Bu(f,f.length-1|0),f.push(new Yv(p,Math.max(q,fw(l))))):f.push(l)}}f=Gjc(h,h,f)}h=[];g=f.Qd;k=0;q=(p=wpd(c,f))?c.Te(f.zc.getId()):g.F.D;l=p?[new Yv(q,q)]:f.D;for(u=0;u<l.length;u++){var y=l[u];w=ew(y);y=fw(y);var z=!p&&g.D==w,A=this.getContext().ub().Aa().Xa(),C=!1;Lo(BA(A,y),"\n")&&(y+1|0)<xA(A)&&AVg(c,y+1|0)&&(C=w==y,y=Math.max(w,y-1|0),z&&q>=g.Cg()&&(q=Math.max(w,q-1|0)));A=w==y&&y==q;w=w+k|0;var E=QXi(this,
w,c,!0,!1);k=k+E|0;w=w+E|0;y=y+k|0;C=QXi(this,y+1|0,c,!1,C);h.push(new Yv(w,y));z&&(q=A?y+1|0:q+k|0,g=new xC(w,y,tC(q)));k=k+C|0}p?pF(this,BC(f.zc),!1):pF(this,Gjc(g,g,h),!1);f=this.getContext().ub().hb().getSelection();if(Mt(f.D)&&!wpd(c,f))return}f=a.V;h=this.getContext();f=f.get(h,e);p=+f[0]|0;h=NI(c,p);g=a.F;k=new JXi;g!=null&&(q=this.getContext(),k.H=g,qF(this,new IXi(q,KXi(k,p).oa())));q=a.J;u=a.O;l=a.R;a=a.H;if(q!=null||u!=null)w=c.Kg().Th(h).H,u=RXi(c,f,q,u,w),q=u.Rb(),u=u.D;w=g0g(this.getContext().ub(),
h);l!=null&&(l=Math.min(w,l));a!=null&&(a=Math.min(w,a));w=new GXi;w.D=a;w.F=q;w.H=u;w.J=l;a=w.oa();qF(this,new FXi(this.getContext(),a,p));for(p=1;p<f.length;p=p+1|0)q=+f[p]|0,g!=null&&qF(this,new IXi(this.getContext(),KXi(k,q).oa())),qF(this,new FXi(this.getContext(),a,q));c=g!=null?z_g(c,h):null;this.D=new SXi(a.H,a.D,a.F,a.J,c,e)};function PXi(a,c){return ew(a)==ew(c)&&fw(a)!=fw(c)}
function OXi(a,c,e){var f=c.Xa(),g=ew(e),h=fw(e);QI(f,g)&&(g=TXi(c,g,h));QI(f,h)&&(h=QI(f,g)&&cce(a.getContext().ub())?RI(f,g):RI(f,h));return g!=ew(e)?new Yv(g-1|0,h):new Yv(g,h)}function TXi(a,c,e){c=TI(a.Xa(),c);e=tce(a,c,e);return e!=-1?TXi(a,e,c):c}
function QXi(a,c,e,f,g){var h=a.getContext().ub().Aa().Xa();if(c==1||c>=zA(h,0)||f&&Lo(BA(h,c-1|0),"\ue905")||!f&&Lo(BA(h,c+1|0),"\ue905")||Lo(BA(h,c),"\ue905"))return 0;f=LI(e,c);f=Gyh(f);av(f,bta,x5a);var k=tC(c);h="\n\ue905";g&&(h=M(h)+"\n");g=gR(a.getContext(),h,k);qF(a,g);fG(e,c)&&(Lo(BA(e.Xa(),c-1|0),"\n")||Csh(e,k))&&Lo(BA(e.Xa(),c),"\n")&&qF(a,DG(a.getContext(),Mi,{ls_id:null},c,c));c=c+1|0;qF(a,DG(a.getContext(),Fd,f,c,c));return h.length}function yXi(){yXi=r();zXi=new MXi};function DXi(){this.D=this.F=0}H(DXi,K);function BXi(a,c){a.W=c;return a}function CXi(a,c){a.F=c;a.D=Kn(a.D|1);return a}function AXi(a,c){Fo(c);a.V=c;return a}DXi.prototype.oa=function(){if(this.D!=1||!this.V)throw un().Ea;var a=new UXi,c=this.J,e=this.O,f=this.R,g=this.W,h=this.F,k=this.V;a.H=this.H;a.J=c;a.O=e;a.R=f;a.F=g;a.D=h;a.V=k;return a};function UXi(){this.D=0}H(UXi,gw);function SXi(a,c,e,f,g,h){this.Xc=xKg;this.F=a;this.H=c;this.O=e;this.R=f;this.W=g;this.D=h}H(SXi,GD);SXi.prototype.kP=G(310);function VXi(a,c){this.F=a;this.D=c}H(VXi,K);VXi.prototype.Rb=x("F");function WXi(a,c){for(var e=1,f=0;f<c.length;f++){var g=LI(a,c[f]);e=Math.max(e,g.Vh().length)}return 36*e}function RXi(a,c,e,f,g){g=g!=null?g:N8b(a.Wf());if(e==null)return e=XXi(a,c,!0),f=Math.min(f,g-e),new VXi(null,f);if(f==null)return f=XXi(a,c,!1),e=Math.min(e,g-f),new VXi(e,null);a=WXi(a,c);g=Math.max(0,g-a);if(e+f<=g)return new VXi(e,f);e=Math.floor(Math.min(e,e/(e+f)*g));return new VXi(e,g-e)}
function XXi(a,c,e){for(var f=0,g=0;g<c.length;g++){var h=LI(a,c[g]),k=36*(Mt(h.Vh())?1:h.Vh().length);h=e?h.D!=null?h.D:J8b(a.Wf()):h.O!=null?h.O:L8b(a.Wf());f=Math.max(f,k+h)}return f};function YXi(a,c){this.F=a;this.D=c}H(YXi,K);YXi.prototype.getValue=x("F");function ZXi(a,c,e){wXi.call(this,a,c,e);this.wa=e;this.ea=c}H(ZXi,wXi);ZXi.prototype.Td=function(a){wXi.prototype.Td.call(this,a);a.J.Ze(IHg,[new kXi(this.wa,a.F)])};ZXi.prototype.ye=function(a,c,e){var f=this;wXi.prototype.ye.call(this,a,c,e);IE(a,LE(ME(SE(e,(yXi(),zXi)),JDg,function(g){return BXi(CXi(AXi(new DXi,new mXi(f.ea)),3),g).oa()}),[DE(2,0),Eg]));IR(c,this.D.qa(JDg),OE([Eg,bl]))};function $Xi(){}H($Xi,gw);function aYi(a){var c=new $Xi;c.D=a;return c};function bYi(a,c,e){return(e?nmc:omc).map(function(f){var g=NBd(f,e);g=new qV(c.Oa(Qb,{},g),null,c);g.lba(Ouh(f));a(g,f);return g})}function cYi(a,c,e){a=a.qa(AQa);return Omi(a.ac(),a,c,e,function(){return aYi(null)},a.Ng())};function dYi(a,c){T.call(this);this.D=a;this.F=c}H(dYi,MV);dYi.prototype.qd=function(a){return[this.D.qa(YIa),cYi(this.D,a,this.F),this.D.qa(zQa)]};function eYi(a,c){this.F=a;this.D=c}H(eYi,K);function fYi(a){uV.call(this,a.getContext().Ma());this.D=a;this.F=new kJ(this);this.xa(this.F);this.H=""}H(fYi,uV);D=fYi.prototype;D.Oa=function(){var a=this;uV.prototype.Oa.call(this);var c=this.D.lb().Ha(EAa);(c?nmc:omc).forEach(function(e){var f=NBd(e,c);e=new qV(f,e,a.Ma());a.eb(e,!0);a.F.listen(e,mc,a.mtc);hK(e.La(),"Select "+f)})};
D.Wa=function(){uV.prototype.Wa.call(this);this.bb().listen(this.Ba(),ej,this.ntc);var a=this.La();var c=this.Ti().length?this.Ti()[0].La().offsetHeight:void 0;$s(a,IMg,c?c*10+jk:void 0)};D.mtc=function(a){if(a.target instanceof qV){a=a.target.Aa();var c=this.D.getContext().za.hc(this.H);c!==-1&&this.D.F.qa(yQa).xb(new eYi(F7c(c),a));this.Ka(!1)}};D.kPb=function(a,c){ct(this.La(),a,c)};D.ntc=function(a){a.stopPropagation()};function gYi(a){T.call(this);this.J=a;this.H=a.H;this.D=this.F=null}H(gYi,T);function hYi(a){a.D||(a.D=new fYi(a.J),a.xa(a.D),a.H.J.eb(a.D,!0));var c=a.J.getContext().za.hc(a.F),e=a.H.lx(new sC(c+1));e!=null&&(c=e.Sg().Rb(),e=e.Sg().Vb(),c=new Kr(c+-12,e+8),a.D.kPb(c.x,c.y),c=a.D,c.H=a.F,c.Ka(!0))}D=gYi.prototype;D.Dj=function(){var a;return((a=this.D)==null?0:a.wc()&&a.isVisible())?(this.D.La().focus(),!0):!1};D.Ch=r();D.Ol=r();
D.Fd=function(){var a;if((a=this.D)==null?0:a.wc()&&a.isVisible()){var c;(c=this.D)==null||c.Ka(!1)}};D.update=function(a){(a==null?0:a.D)&&this.Fd()};D.wd=function(){var a;((a=this.D)==null?0:a.wc()&&a.isVisible())&&hYi(this)};D.scroll=r();D.hm=r();D.bm=function(a){a&&this.Fd()};D.Om=function(){this.Fd()};function iYi(a,c,e,f,g,h){fT.call(this,a);this.W=c;this.Na=e;this.Ua=f;this.Sa=g;this.Ja=jYi();this.Da=h}H(iYi,fT);D=iYi.prototype;D.Td=function(a){fT.prototype.Td.call(this,a);a=new kYi(this.W,this.Ua,this.D,this.Sa,this.lb().Ha(of));this.xa(a);a.listen()};
D.ye=function(a,c,e){var f=new aXg;IE(a,LE(ME(UE(e,new lYi(f,this.Na,this.Da)),fEa,function(g){return g==null?new mYi((NWg(),uVg).LD()):g}),Pii(this.H)));IE(a,LE(HR(UE(e,(nYi(),oYi)),YIa),(wVh(),Nii)));IE(a,LE(UE(e,new pYi(f)).D(AQa),Nii));IE(a,LE(UE(e,new qYi(f,this.Da)).D(yQa),Nii));IR(c,c.qa(YIa),Oii);IR(c,c.qa(AQa),Oii);IR(c,c.qa(zQa),Oii)};D.Wq=function(a){var c=new rYi(this.W);NE(a,c);this.xa(c)};D.eJ=function(a){RR(a,17,new sYi)};D.VC=function(a){$S(a,this.Ja)};function sYi(){}H(sYi,K);sYi.prototype.D=function(a,c){return c.getType()!=0?!1:ZKd(a.Xa(),a.og(c))};sYi.prototype.F=B(29);function tYi(){this.D=0}H(tYi,Rm);function uYi(a,c){var e=new tYi;e.H=a;e.D=c;return e}var vYi=uYi("NOOP",0),wYi=uYi("RESET_DELIMITER_RANGES_TRACKER",1),xYi=uYi("FULL",2),yYi=uYi("PARTIAL",3);function zYi(){}var AYi,BYi={"kix-p":!0,"kix-ph":!0,"kix-inVIFD":!0,"kix-inVIWND":!0,"kix-upVV":!0,"kix-delVD":!0};H(zYi,K);function CYi(a,c){if(!Hmd(a.D.D(),yG([17]),yG([])))return vYi;var e=c.D;if(Qvh(e))return vYi;a=DYi(c.D);if(!a)return vYi;if(!c.Gk())return wYi;c=a.Xc;if(c===Jkg||EYi(e))return xYi;if(!(c in AYi))return vYi;e=c===ENa;!(c=!!(c in BYi))&&(c=e)&&(a.Xc===ENa?(a=a.D,a=a instanceof Azd?a.Xa().length==1:!1):a=!1,c=!a);return c?xYi:yYi}
function FYi(){FYi=r();AYi=tOb(BYi).add(yOa).add(ENa).add(KNa).oa()};function DYi(a){if(EYi(a))a=a.dK;else if(a==null||!a.Fgb)return null;JYc(a)&&(a=a.D);return a}function EYi(a){return a.Gq()===tg||a.Gq()===Zf};function kYi(a,c,e,f,g){this.F=!1;this.D=null;this.H=a;this.ea=c;this.O=e;this.W=f;this.V=g;FYi();a=new zYi;a.D=c;this.R=a;this.J=new hx;this.xa(this.J)}H(kYi,tw);function GYi(a){a=DYi(a);if(!a)return!1;var c=a.Xc;return c===yOa?!0:c===KNa?(a=a.D,c=a.D,c!=null&&c==="\n"&&!a.wN()):!1}
kYi.prototype.listen=function(){var a=this;this.J.Pa(this.H.gg(),function(c){a.V&&c.F||HYi(a)});this.J.Pa(this.H.bj(),function(c){HYi(a);switch(CYi(a.R,c).ordinal()){case 1:a.D=null;break;case 2:IYi(a,!0,c.D);break;case 3:IYi(a,!1,c.D)}})};function HYi(a){Hmd(a.ea.D(),yG([17]),yG([]))||(a.D=null)}
function IYi(a,c,e){var f=a.H.hb().Jd(),g=a.H.Aa().Xa(),h=$Kd(g,f);g=h?g.slice(ew(h)+1|0,fw(h)-1|0):null;if(!a.D){var k=a.H.Aa();h=a.H.hb().Jd();h=Iwh(k.Xa(),h).yb();k=MWg(a.W,k,h);var l=new L2h;l.D=-1;l.F=new H2h(k);l.D=h+1|0;l.initialize(g);a.D=l}h=Iwh(a.H.Aa().Xa(),f).yb();a.D.D=h+1|0;c=c?a.D.initialize(g):a.D.J(g,f,GYi(e));a.O.qa(AQa).Ff(aYi(c),null)};function jYi(){return WS([],[20,5,6,7,3,8,14,18,17],Cth(["\uec03","\uec02"]).oa())};function lYi(a,c,e){this.F=jYi();this.O=a;this.H=c;this.J=e}H(lYi,fH);lYi.prototype.D=function(a){return new JYi(a,this.O,this.H,this.J)};lYi.prototype.wp=function(){return this.F.F};lYi.prototype.vr=function(){return this.F.D};function JYi(a,c,e,f){nF.call(this,xEg,a);this.ma=c;this.H=e;this.ea=f}H(JYi,gH);JYi.prototype.Vc=function(a){var c=this.getContext(),e=a.D;qF(this,new rVh(c,this.H,this.ma,e,LWg(c.W,e)));c=this.ea;a=c.Db;var f=(new RC).Mb(7),g=new ZC;e=Quh(e);e=Sq(g,19,e);a.call(c,30941,xD(f,e).oa())};function mYi(a){this.D=a}H(mYi,K);function rYi(a){Hx.call(this);KYi(this,a)}H(rYi,Hx);function KYi(a,c){a.H=c;a.D.Pa(c.gg(),function(){Jx(a,LYi(a))});Ix(a,LYi(a))}function LYi(a){var c=new Kx,e=a.H.hb().Jd();a=a.H.Aa().Xa();e=ZKd(a,e);c.put(j0f,e);c.put(p2f,!e);return c};function MYi(){}H(MYi,fH);MYi.prototype.D=function(a){return new NYi(a)};function NYi(a){nYi();nF.call(this,Alg,a)}var oYi;H(NYi,gH);NYi.prototype.Vc=function(){var a=this.getContext().ub().hb().Jd(),c=this.getContext().ub().Aa().Xa();if(a=$Kd(c,a))qF(this,Mnd(this.getContext(),[a],!1,null,!0,null)),pF(this,BC(tC(ew(a))),!0)};function nYi(){nYi=r();oYi=new MYi};function qYi(a,c){this.H=a;this.F=c}H(qYi,fH);qYi.prototype.D=function(a){return new OYi(a,this.H,this.F)};function OYi(a,c,e){nF.call(this,Llg,a);this.ea=c;this.H=e}H(OYi,gH);OYi.prototype.Vc=function(a){var c=this.getContext(),e=c.ub(),f=e.Aa().Xa(),g=a.F;g||(g=O(e.hb().Bh()));if(e=$Kd(f,g.yb())){a=a.D;f=LWg(c.W,a);qF(this,new Sii(c,ew(e),f.LD()));qF(this,new eXg(c,ew(e),fw(e),this.ea,f));c=this.H;e=c.Db;f=(new RC).Mb(7);g=new ZC;var h=Quh(a);g=Sq(g,19,h);e.call(c,133040,xD(f,g).oa());this.D=new PYi(a)}};function PYi(a){this.Xc=Llg;this.D=a}H(PYi,GD);function pYi(a){this.F=a}H(pYi,fH);pYi.prototype.D=function(a){return new QYi(a,this.F)};pYi.prototype.Ul=B(Mk);pYi.prototype.wC=B(!0);function QYi(a,c){nF.call(this,Mlg,a);this.H=c}H(QYi,gH);QYi.prototype.Vc=function(a){var c=this.getContext(),e=c.ub().hb().Jd(),f=c.ub().Aa().Xa();if(f=$Kd(f,e))e=MWg(c.W,c.ub().Aa(),c.ub().hb().Jd()),a=(a=a.D)?a:f,qF(this,new eXg(c,ew(a),fw(a),this.H,e))};QYi.prototype.Ar=B(!1);function RYi(a,c,e,f,g,h,k,l,p,q){iYi.call(this,a,e,g,h,k,l);this.Ca=c;this.Fa=f;this.ea=p;this.wa=q;this.J=null;this.za=new hx;this.xa(this.za)}H(RYi,iYi);
RYi.prototype.Td=function(a){function c(q,u){cV(e.Fa,q,h,void 0,function(){return new eYi(null,u)})}var e=this;iYi.prototype.Td.call(this,a);var f=a.F;SYi(this,f);var g=a.J;g.Ze(sBg,[new dYi(f,this.wa)]);var h=f.qa(yQa),k=(new RC).Mb(0).oa(),l=a.lb().Ha(EAa);g.Ze(zQa,[function(q){return Iri(g,q,bYi(c,e.wa,l),k)}],void 0,k,pSg);this.J=new gYi(a);this.xa(this.J);a.D.register("kix-bubble-code-snippet-language-selector",this.J);if(a.lb().Ha(KP)){var p;(p=a.O)==null||p.Xj(this.D.qa(fEa))}};
RYi.prototype.ye=function(a,c,e){var f=this;iYi.prototype.ye.call(this,a,c,e);EE(a,LE(QE(e,function(g){var h=f.J;h.F=g.D;var k;((k=h.D)==null?0:k.wc()&&k.isVisible())?h.Fd():hYi(h)}).D(j6a),(wVh(),Nii)))};function SYi(a,c){a.Ca?ceh(a.ea,a.Ca):deh(a.ea,a.W);a.za.Pa(a.ea.F,function(){return void c.qa(AQa).xb(aYi(null))})};var TYi=["n-resize","ne-resize",zpg,"se-resize","s-resize","sw-resize",RTg,"nw-resize"];function UYi(a,c){this.F=a;this.D=c};function VYi(a,c,e){this.V=a;this.W=c;this.ea=e;this.F=[];this.D=null;this.H=[]}VYi.prototype.Oa=function(a,c){this.F=c.concat();this.D=this.V(a);for(var e=[],f=0;f<c.length;f++){var g=this.W(c[f],a);WYi(this,c[f])&&(g=a.createElement(Wa),lt(g,!1),g=new UYi(GIc(0,0,0,0),g));this.H.push(g);e.push(g.D)}return a.Oa(Wa,rg,this.D,e)};
VYi.prototype.R=function(a,c){this.D.style.left=a.Rb().toFixed(10)+jk;this.D.style.top=a.Vb().toFixed(10)+jk;this.D.style.width=a.Jb().toFixed(10)+jk;this.D.style.height=a.getHeight().toFixed(10)+jk;HCh(this.D,c);for(var e=v7g(a),f=0;f<this.F.length;f++){var g=this.F[f],h=this.H[f],k=EIc(a)+a.Jb()*g.KEa+EIc(h.F),l=TD(a)+a.getHeight()*g.NEa+TD(h.F);k=new Kr(k,l);mwb(k,c,e);k.translate(-h.F.Jb()/2,-h.F.getHeight()/2);h.D.style.left=k.x.toFixed(10)+jk;h.D.style.top=k.y.toFixed(10)+jk;HCh(h.D,c);h=h.D.style;
g=g.direction;k=c;k=Ir(k,2*Math.PI);k=Math.round(k/(2*Math.PI)*TYi.length);g=dp(TYi,g);h.cursor=TYi[(g+k)%TYi.length]}};VYi.prototype.J=G(1639);VYi.prototype.O=function(a){a=this.F.indexOf(a);return this.H[a]};function WYi(a,c){return!a.ea&&c.KEa*c.NEa==0};function XYi(a){return a.Oa(Wa,"docs-roundedcornerselectionbox-border")}function YYi(a,c){a=c.Oa(Wa,"docs-roundedcornerselectionbox-invisiblehandle");return new UYi(new QD(0,0,0,0),a)};function ZYi(a,c,e,f,g){this.KEa=a;this.NEa=c;this.direction=e;this.D=f;this.F=g};function $Yi(){}$Yi.prototype.D=function(){return[new ZYi(-.5,-.5,"nw-resize",VSg,7),new ZYi(.5,-.5,"ne-resize",WSg,1),new ZYi(.5,.5,"se-resize",vag,3),new ZYi(-.5,.5,"sw-resize",uag,5),new ZYi(0,-.5,"n-resize",ul,0),new ZYi(.5,0,zpg,vk,2),new ZYi(0,.5,"s-resize",vP,4),new ZYi(-.5,0,RTg,Hi,6)]};function aZi(a,c,e,f,g,h,k,l){f=f===void 0?new Lr(20,20):f;g=g===void 0?new Lr(Infinity,Infinity):g;h=h===void 0?AGb:h;l=l===void 0?new $Yi:l;oJ.call(this,k);this.Zg=a;this.ma=c;this.W=e;this.R=f;this.O=g;this.va=h;this.J=l.D();this.V=[];this.D=null;this.F=0;this.H=this.ea=null}H(aZi,oJ);D=aZi.prototype;D.Oa=function(){this.Zb(this.Zg.Oa(this.Ma(),this.J.concat()))};
D.Wa=function(){oJ.prototype.Wa.call(this);for(var a=0;a<this.J.length;a++){var c=this.Zg.O(this.J[a]).D,e=new dK(c);this.V.push(e);this.bb().listen(c,ej,this.rtc).listen(e,Tk,this.ptc).listen(e,Hg,this.qtc).listen(e,$g,this.otc)}};D.Ef=function(){Jw(this.V);this.V=[];oJ.prototype.Ef.call(this)};D.rtc=function(a){a.stopPropagation()};D.ptc=function(a){this.D&&(a=dp(this.V,a.D),a=this.J[a],this.H=this.D,this.ea=new cTh(this.D,this.F,a.F,this.ma,this.R,this.O),this.dispatchEvent(new bZi(a)))};
D.qtc=function(a){this.H&&this.D?((a=cZi(this,a))&&dZi(this,a,this.F),this.dispatchEvent(new eZi(this.H,this.D,this.F))):this.W.log(Error("oS"))};D.otc=function(a){this.H&&this.D?((a=cZi(this,a))&&dZi(this,a,this.F),this.dispatchEvent(new fZi(this.H,this.D,this.F))):this.W.log(Error("oS"))};
function cZi(a,c){if(!a.H||!a.ea)return a.W.log(Error("oS")),null;var e=dp(a.V,c.D);e=a.Zg.O(a.J[e]);var f=c.left-e.F.Rb(),g=c.top-e.F.Vb();e=a.ea;var h=[f,g];f=v7g(e.D);g=[f.x,f.y];h=new Kr(h[0],h[1]);mwb(h,-e.V,f);h=[h.x,h.y];for(var k=0;k<2;k=k+1|0)(e.F[k]-g[k])*(e.F[k]-h[k])<0&&(h[k]=e.F[k]);h=gTh(e.W,h,!1);g=h[2]-h[0];h=h[3]-h[1];var l=g,p=h,q=e.J;k=e.D.Jb();var u=e.D.getHeight(),w=e.R.width,y=e.R.height;g=e.O.width;h=e.O.height;q&&k*u!=0?(l==0&&p==0&&(l=w,p=y),l/k<p/u?l=p*k/u:p=l*u/k,k=Math.max(Math.max(w/
l,y/p),1),l*=k,p*=k,g=Math.min(Math.min(g/l,h/p),1),h=new Lr(l*g,p*g)):h=new Lr(Math.min(Math.max(l,w),g),Math.min(Math.max(p,y),h));g=h.width;h=h.height;k=fTh[Ln(e.H)];k=new Kr(e.F[0]+k[0]*g,e.F[1]+k[1]*h);mwb(k,e.V,f);return a.va(GIc(k.x,k.y,g,h),c.Jt)}function dZi(a,c,e){a.D=c;a.F=e;a.Zg.R(c,e)}function bZi(a){oI.call(this,NPg);this.D=a}H(bZi,oI);function eZi(a,c,e){oI.call(this,"resize-change");this.rotation=e}H(eZi,oI);function fZi(a,c,e){oI.call(this,MPg);this.F=a;this.D=c;this.rotation=e}
H(fZi,oI);function gZi(a,c){wJ.call(this,a);this.D=new aZi(new VYi(XYi,YYi,!1),!0,c)}H(gZi,wJ);gZi.prototype.Oa=function(){wJ.prototype.Oa.call(this);this.eb(this.D,!0)};gZi.prototype.display=function(a){this.Ka(!0);lt(this.D.La(),!0);dZi(this.D,a,0)};gZi.prototype.Tc=function(){lt(this.D.La(),!1);this.Ka(!1)};function hZi(a,c,e){T.call(this);this.H=c;this.J=a;this.O=e;this.D=this.F=null}H(hZi,T);D=hZi.prototype;D.Dj=function(){return this.D?(this.D.Ka(!0),!0):!1};D.Ch=function(){return!!this.D&&this.D.isVisible()};D.Ol=function(){return!!this.D&&this.D.isVisible()};D.Fd=function(){this.D&&this.D.Tc()};D.update=function(){var a=this.J.D,c=a.hb().getSelection();(this.F=lC(a.Aa(),c))?iZi(this):this.Fd()};D.wd=function(){this.F&&iZi(this)};D.scroll=r();D.hm=r();D.bm=r();D.Om=r();
function iZi(a){var c=a.H.xs(new wC(a.F.getId()));c?(a.D||(a.D=new gZi(a.J,a.O),a.H.J.eb(a.D,!0)),a.D.display(c)):a.Fd()};function jZi(a,c){this.F=!1;this.J=a;this.H=c;this.D=new hx;this.xa(this.D)}H(jZi,tw);function kZi(a){a.D.Pa(a.J.Ji(),function(c){c=Rvh(c.D);c!=null&&c.Fgb&&(c.Xc===PEg?lZi(a,c.H):c.Xc===JEg&&lZi(a,c.H))})}function lZi(a,c){for(var e=0;e<c.length;e=e+1|0)a.H.Db(30451,null)};function mZi(a,c,e,f,g){this.Xc=PEg;this.R=a;this.O=c;this.D=e;this.F=f;this.H=g}H(mZi,GD);function nZi(a,c,e,f){this.Xc=JEg;this.O=a;this.F=c;this.D=e;this.H=f}H(nZi,GD);function oZi(a){this.H=a.Ha(of)}H(oZi,K);oZi.prototype.D=function(a,c){return!!WXg(a,c,this.H)};oZi.prototype.F=B(27);function pZi(a,c){this.F=!1;KXb(a);this.H=a;this.J=c;this.D=new hx;this.xa(this.D)}H(pZi,tw);function qZi(a,c){a.D.Pa(a.J,function(e){e=e.D;if(!Qvh(e)&&e instanceof Lqi){e=e.H;var f=0,g;for(g in e)Lo(e[g].zd().getType(),a.H)&&(f=f+1|0);f>0&&c()}})};function rZi(a,c,e,f){this.F=!1;this.H=a;this.J=c;this.D=e;this.O=f}H(rZi,tw);function sZi(a){var c=new pZi(a.D,a.J.Ji());qZi(c,function(){a.H.Db(a.O,null)});a.xa(c)};function BW(){return[DE(2,0),bl,rQ,nQ,p2f,m6f,fQ,AQ]}function tZi(){return[DE(2,0),bl,rQ,nQ,m6f]}function uZi(){return BW().concat([ZP,ZT(),p2f])};var vZi=[o6f,n6f];function wZi(a,c,e){fT.call(this,a);this.J=c;this.W=new oZi(e)}H(wZi,fT);wZi.prototype.ye=function(a,c,e){c=BW();var f=c.concat(uZi());IE(a,GR(SE(e,(N3h(),O3h)).D(vxa),GE(f)));IE(a,GR(SE(e,new x3h(new W3h([new K3h,new h4h]))).D(uxa),GE(f)));IE(a,GR(SE(e,(E3h(),G3h)).D(KQa),GE(c)))};wZi.prototype.Td=function(a){var c=this,e=a.getContext();a.D.register(R0a,new hZi(e,a.H,e.J));Nr(xZi,function(f,g){f=new rZi(c.J,e.D,g,f);sZi(f);c.xa(f)});a=new jZi(e.D,this.J);kZi(a);this.xa(a)};
wZi.prototype.eJ=function(a){RR(a,15,this.W)};var yZi={},xZi=(yZi.person=47264,yZi[mh]=47294,yZi.date=30891,yZi.dropdown=30890,yZi.stopwatch=133204,yZi.timer=133224,yZi[ql]=133203,yZi[Ug]=133202,yZi.placeholder=133694,yZi);function zZi(a,c){T.call(this);var e=this;this.D=a;a=new OJ(this);this.xa(a);a.jd(c.qa(cRa),ty,function(){return void AZi(e)}).jd(c.qa(dRa),ty,function(){return void AZi(e)}).jd(c.qa(gRa),ty,function(){return void AZi(e)}).jd(c.qa(mRa),ty,function(){return void AZi(e)});a.jd(c.qa(nRa),ty,function(){ZU(YU.Cb(),"WKN3dsuG20iSFTCbiEB0NtEYhMK7",e.D)})}H(zZi,T);function AZi(a){ZU(YU.Cb(),"S5iPRteXX0iSFTCbiEB0YkMazE6h",a.D)};function BZi(a,c,e,f,g){this.H=a;this.J=c;this.F=e;this.O=f;this.D=g}H(BZi,K);BZi.prototype.Va=function(a){return L(this,a)?!0:a instanceof BZi?L(this.H,a.H)&&L(this.J,a.J)&&L(this.F,a.F)&&this.O==a.O&&this.D.Va(a.D):!1};BZi.prototype.Yb=function(){return Do([this.F,this.D])};function CZi(a,c){T.call(this);var e=this;this.F=a;this.D=new Mx;this.xa(this.D);xy(xy(xy(this.D,c.qa(mRa),function(){DJ();DZi(e,"Variable name updated")}),c.qa(nRa),function(f){var g=f.data;f=g.H;var h=g.D;g=g.O;DJ();g?DZi(e,f7f+f+") value set"):h.jb()?DZi(e,f7f+f+") value cleared"):DZi(e,f7f+f+") value updated")}),c.qa(dRa),function(f){f=f.data.F;DJ();DZi(e,"Variable definition ("+f+") and all instances have been deleted")})}H(CZi,T);
function DZi(a,c){c=WU(a.F,c);c.Tg(!0);c.render();c.Ka(!0);var e=c.Ba();e&&eK(e,rc);a.xa(c);XU(a.F,c)};function EZi(){}H(EZi,fH);EZi.prototype.D=function(a){return new FZi(a)};function GZi(a,c,e){this.D=a;this.O=c;this.J=e}H(GZi,BG);GZi.prototype.H=function(){this.F(dM(Wl,this.J,{vdefe_vd:{vdef_n:this.O}},this.getContext().lb().Ha(mg)));var a=xA(this.getContext().ub().Aa().Xa()),c=this.getContext();jF(this,new Yni(c,a,null));jF(this,new JG(this.getContext(),this.J,a))};function FZi(a){nF.call(this,fCg,a)}H(FZi,gH);FZi.prototype.Vc=function(a){var c=this.getContext();a=a.D;var e=kF(ui);qF(this,new GZi(c,a,e));this.D=new HZi(a,e)};function IZi(a,c,e){this.Xc=a;this.F=c;this.D=e}H(IZi,GD);function HZi(a,c){IZi.call(this,fCg,a,c)}H(HZi,IZi);function JZi(){}H(JZi,fH);JZi.prototype.D=function(a){return new KZi(a)};function KZi(a){nF.call(this,pCg,a)}H(KZi,gH);KZi.prototype.Vc=function(a){var c=a.D;a=this.getContext().ub().Aa();var e=a.Xa();for(var f=0,g=0;(f=wA(e,"\uec01",f))>=0;){var h=c,k=a.getStyle(kh,f).D;k.getType()==4&&L(k.D,h)?(h=DC(e,f),qF(this,HG(this.getContext(),[h],!0,null,!0)),g=g+1|0):f=f+1|0}e=g;g=elc(a,c);f=null;g&&(f=g.D.getName(),c=a.Te(c),a=zA(a.Xa(),c),qF(this,HG(this.getContext(),[new Yv(c,a)],!0,null,!0)));this.D=new LZi(f,e)};function LZi(a,c){this.Xc=pCg;this.D=a;this.F=c}H(LZi,GD);function MZi(a){this.F=a}H(MZi,fH);MZi.prototype.D=function(a){return new NZi(a,this.F)};function NZi(a,c){nF.call(this,LEg,a);this.H=c}H(NZi,gH);NZi.prototype.Vc=function(a){var c=this.getContext(),e=a.D,f=a.J,g=a.F;a=a.H;g!=null&&qF(this,new i4h(this.getContext(),g,a||""));qF(this,new u5h(c,c.R,{fres_frt:4,vf_vdid:e},this.H));this.D=new OZi(f)};function OZi(a){this.Xc=LEg;this.D=a}H(OZi,GD);function PZi(a,c){this.H=a;this.J=c}H(PZi,K);PZi.prototype.F=function(a,c,e){return this.H.F(a,c,e)};
PZi.prototype.D=function(a,c,e,f,g,h,k,l){c=a=this.H.D(a,c,e,f,g,h,k,l);e=c.O;a=[];f=-1;for(g=0;g<e.Yc().length;g=g+1|0)h=Ht(e.Yc(),g),k=!Mt(e.get(h)),!k&&f>-1?(a.push(new Yv(f,h-1|0)),f=-1):k&&(f=h);f>=0&&(e=new Yv(f,c.Xa().length-1|0),a.push(e));for(e=a.length-1|0;e>=0;e=e-1|0)f=a[e],c=Pmh(c,this.J,new RB((RVd(),QVd)),ew(f),O(fw(f)));a=new WB(c.Xa(),c.J,c.V,null,null,c.F,c.D,c.R,null,c.H);c=a.yn(Li);return new WB(a.Xa(),c?[c]:Rt,null,a.O,a.W,a.F,a.D,a.R,a.ea,a.H)};
function QZi(a,c,e,f){a=a.D(c,e,f,null,!1,null,null,null);var g={};Iv(a.F,function(h,k){for(var l in k){var p=Number(l),q=k[p];q.length==1&&Ru(g,q[0],"kix."+M(h)+p)}});return dXg(a,g,oth())};function RZi(a){this.F=a}H(RZi,fH);RZi.prototype.D=function(a){return new SZi(a,this.F)};function SZi(a,c){nF.call(this,MEg,a);this.H=c}H(SZi,gH);SZi.prototype.Vc=function(a){var c=this.getContext(),e=a.l3b,f=a.D;a=a.F;f!=null&&qF(this,new i4h(this.getContext(),f,a||""));f=kF(ui);qF(this,new GZi(c,e,f));qF(this,new u5h(c,c.R,{fres_frt:4,vf_vdid:f},this.H));this.D=new TZi(e,f)};function TZi(a,c){IZi.call(this,MEg,a,c)}H(TZi,IZi);function UZi(){}H(UZi,fH);UZi.prototype.D=function(a){return new VZi(a)};function VZi(a){WZi();nF.call(this,BKg,a)}var XZi;H(VZi,gH);VZi.prototype.Vc=function(a){var c=this.getContext(),e=a.F,f=a.D;qF(this,vah(c,Wl,f,{vdefe_vd:{vdef_n:e}}));c=ilc(c.ub().Aa(),f).length;this.D=new YZi(a.H,e,c)};function WZi(){WZi=r();XZi=new UZi};function YZi(a,c,e){this.Xc=BKg;this.H=a;this.D=c;this.F=e}H(YZi,GD);YZi.prototype.Va=function(a){return L(this,a)?!0:a instanceof YZi?L(this.H,a.H)&&L(this.D,a.D)&&this.F==a.F:!1};function ZZi(a){this.F=a}H(ZZi,fH);ZZi.prototype.D=function(a){return new $Zi(a,this.F)};function $Zi(a,c){nF.call(this,CKg,a);this.H=c}H($Zi,gH);$Zi.prototype.Vc=function(a){var c=this.getContext(),e=c.ub().Aa(),f=a.D,g=a.H,h=a.F,k=a.J;a=rnh(c.ub().Aa(),h);e=zA(e.Xa(),a);(e-1|0)>a&&qF(this,GG(c,[new Yv(a+1|0,e-1|0)]));e=Dah(c,f,tC(a+1|0),this.H,!1);qF(this,e);c=1+qF(this,A5h(c,c.R,this.H,function(l,p){return L(p,k)?!1:L(l.D,h)})).yb()|0;GYc(this,new a_i(g,f.Xa(),c))};function a_i(a,c,e){this.Xc=CKg;this.H=a;this.F=c;this.D=e}H(a_i,GD);a_i.prototype.Va=function(a){return L(this,a)?!0:a instanceof a_i?L(this.H,a.H)&&L(this.F,a.F)&&this.D==a.D:!1};function b_i(){}H(b_i,K);b_i.prototype.D=function(a,c){return c.getType()!=0&&c.getType()!=6?!1:hje(a,a.og(c),Wl)};b_i.prototype.F=B(30);function c_i(a,c){this.F=a;this.D=c}H(c_i,K);c_i.prototype.getValue=function(a,c){a=a.D;var e=this.F.Aa(),f=elc(e,a);if(!f)return(new KS(this.D)).oa();f=Xnh(e,f.getId(),this.D);c=no(c)&&ZKd(e.Xa(),oo(c).yb());var g=Jo(f.Xa(),"\ue909");return c&&g?new WB(snh(e,a),Rt,null,null,null,null,null,null,null,null):f};function d_i(a,c){return c.concat([a.H(19),a.H(5),a.H(14),a.H(18),GTg])};function e_i(a,c,e,f,g,h){fT.call(this,a);this.wa=!1;this.W=c;this.J=new PZi(e,f);this.Fa=g;this.wa=h}H(e_i,fT);D=e_i.prototype;D.hra=function(a){Sbh(a,4,new c_i(this.W,this.lb()))};D.Td=function(){this.ea=new f_i(this.W,this.D,this.J,this.lb());this.xa(this.ea);this.nac(this.ea)};D.nac=r();D.eJ=function(a){RR(a,18,new b_i)};D.Wq=function(a){var c=new g_i(this.W,this.D,this.Fa);NE(a,c);this.xa(c)};
D.ye=function(a,c,e){var f=tZi(),g=[DE(2,0),bl,Zk,rQ,nQ],h=tZi().concat([Zk]),k=this.H;this.wa&&(IE(IE(IE(a,KE(LE(UE(e,new EZi).D(cRa),g))),KE(LE(UE(e,new RZi(this.J)).D(hRa),d_i(k,h)))),LE(UE(e,new MZi(this.J)).D(gRa),d_i(k,f))),IR(c,this.D.qa(jRa),OE([HTg])));IE(IE(IE(a,LE(KE(UE(e,new ZZi(this.J)).D(nRa)),g)),LE(KE(UE(e,(WZi(),XZi)).D(mRa)),g)),KE(LE(UE(e,new JZi).D(dRa),g)))};function h_i(){}H(h_i,K);function f_i(a,c,e,f){this.F=!1;i_i(this,a,c,e,f)}var j_i=[9,13];H(f_i,tw);function i_i(a,c,e,f,g){a.D=c;a.V=e;a.O=g;a.H=f;e=new hx;a.xa(e);e.Pa(c.gg(),function(h){if(h.D&&!h.F){var k=a.D.Aa();if(h=k_i(a,h.H)){var l=a.D.hb().Jd();k=DC(k.Xa(),l);$v(h.D,k)&&l!=ew(h.D)||l_i(a,1,h)}}})}
f_i.prototype.J=function(a){if(!Jt(j_i,a.keyCode)||this.R&&this.R.F())return!1;var c=this.D.hb().getSelection();if(yC(c))return!1;c=k_i(this,c);if(!c)return!1;var e=0;a.keyCode==13?e=3:a.keyCode==9&&(e=2);(c=l_i(this,e,c))&&a.preventDefault();return c};function k_i(a,c){a=a.D.Aa();var e=a.og(c.zc);c=Nkc(a,c);if(!c||e==ew(c))return null;e=glc(a,ew(c));if(!e)return null;a=a.gX().M1(ew(c));var f=new h_i;f.D=c;f.H=e;f.F=a;return f}
function l_i(a,c,e){var f=a.D.Aa(),g=elc(f,e.H.D);if(!g)return!1;var h=g.getId(),k=ew(e.D);var l=a.O;JC();k=DC(f.Xa(),k);l=(ew(k)+1|0)==fw(k)?(new KS(l)).oa():f.Rh(ew(k)+1|0,fw(k)-1|0,!1,null,null,!1,null,!0);f=Xnh(f,h,a.O);var p=ew(e.D);k=a.D.Aa();ZKd(k.Xa(),p)&&Lo(l.Xa(),snh(k,h))?h=!0:(h=rnh(k,h),p=tC(h),h=QZi(a.H,k,l,p),k=QZi(a.H,k,f,p),h=h.Va(k));if(h)return!1;k=a.D.Aa();p=g.getId();h=new n5g;k=ilc(k,p).length;p=l.Xa();var q=f.Xa();p=p.length==0?2:q.length==0?1:3;k=m_i(l,k);kq(h,i5g,1,k);k=new m5g;
k=Sq(k,1,p);c=Sq(k,2,c);kq(h,m5g,2,c);c=vD((new RC).Mb(7),t5g(new by,h)).oa();a.V.Lb(nRa).Ff(new BZi(g.D.getName(),e.F,g.getId(),f.jb(),l),c);return!0};function m_i(a,c){var e={};for(var f=a.Xa(),g=0;g<f.length;g=g+1|0)CA(gy(f,g))?CHb(e,1):Lo(gy(f,g),"\ue909")&&CHb(e,2);f=a.yn(Li).D;g=f.Yc();for(var h=0;h<f.size();h=h+1|0)if(f.get(+g[h]|0).zd().Ni()){CHb(e,3);break}e=Tu(e);return l5g(k5g(j5g(new i5g,a.Xa().length>0),c),e)};function g_i(a,c,e){Hx.call(this);n_i(this,a,c,e)}H(g_i,Hx);function n_i(a,c,e,f){a.O=c;a.H=f;var g=new Mx;a.xa(g);wy(g,e.qa(hRa),function(){Jx(a,o_i(a))});wy(g,e.qa(dRa),function(){Jx(a,o_i(a))});f.Hf().Pa(function(){Jx(a,o_i(a))});e=new hx;a.xa(e);e.Pa(c.H,function(){Jx(a,o_i(a))});Ix(a,o_i(a))}function o_i(a){var c=new Kx,e=TR(a.O)&&!LAb(a.O.Aa().Wp(Wl)),f=a.H.Xf()&&a.H.xg();c.put(GTg,a.H.Xf()&&!a.H.xg()||e&&f);c.put(HTg,e);return c};function p_i(a,c,e,f,g,h,k,l){e_i.call(this,a,c,e,g,h,l);this.Ca=f;this.Da=k;this.za=null}H(p_i,e_i);p_i.prototype.Td=function(a){e_i.prototype.Td.call(this,a);a=this.D;var c=this.lb();c.Ha(Df)||(this.za=new zZi(c,a),this.xa(this.za));a=new CZi(this.Da,a);this.xa(a);EF(this.O,new VF(X_a,!1),X_a)};p_i.prototype.nac=function(a){this.Ca.CH(a)};function q_i(a,c){T.call(this);this.H=a;this.F=c}H(q_i,T);q_i.prototype.D=G(1640);function r_i(a,c){T.call(this);this.O=a;this.J=c;this.D=this.F=null;this.H=new Map}H(r_i,T);r_i.prototype.fb=function(){this.F&&!this.F.isDisposed()&&this.F.dispose();this.D&&!this.D.isDisposed()&&this.D.dispose();T.prototype.fb.call(this)};r_i.prototype.dkb=G(1641);
r_i.prototype.getName=function(a,c){var e=this,f=pBh(a,0).toString(16);this.H.has(f)?(a=this.H.get(f),c(a)):(this.D&&!this.D.isDisposed()&&this.D.dispose(),this.D=s_i(this,"codepoints",f,function(g){t_i(e,g);g=e.H.has(f)?e.H.get(f):null;c(g)}))};function t_i(a,c){for(var e in c)c[e].hasOwnProperty(iQ)&&a.H.set(e,c[e].name)}
function s_i(a,c,e,f){c=[c,e,xvf,iQ];return bG(wF(xF(yF(cG(a.O.qh("/characterproperty"),c),1),function(g){f(g.Nd()||{})}),function(g){a.J.Ec(Error("qS`"+g.kF()+"`"+g.RB()))}),!0).Kh()};function u_i(){uI.apply(this,arguments)}H(u_i,uI);D=u_i.prototype;D.BM=G(1642);D.uO=G(1643);D.Y7=G(1644);D.ava=G(1645);D.d9=G(1646);D.Lga=G(1647);D.u6=G(1648);function v_i(a,c){a=a.La();d4g(CS(a),a,8,void 0,X3g(wzb(c)),4)};function w_i(a,c,e,f,g,h){fT.call(this,a);this.W=c;this.Fa=e;this.ea=f;this.za=new kJ(this);this.J=null;this.Ca=g;this.wa=h}H(w_i,fT);w_i.prototype.ye=function(a,c,e){EE(a,KE(LE(QE(e,Km(this.Da,this,!1)).F(xMa),[DE(2,0),jd,AQ])));EE(a,KE(LE(QE(e,Km(this.Da,this,!0)).F(Ang),[DE(2,0),btg])))};
w_i.prototype.Da=function(a){var c=bL(u2a).Kn;if(c){var e=this.W.hb();a&&!tgd(e.getSelection().zc)&&y1h(new w1h(Kw(this.W)));this.J||(a=new u_i,this.J=c.kEc()(void 0,this.ea,function(f){return cth(f)},!0,new q_i(this.Ca,this.wa),new r_i(this.Ca,this.wa)),this.J.sRb(a),this.Fa.Bo(this.J.D),this.za.listen(a,"aa",this.Ja));this.J.Ka(!0);v_i(this.J.D,this.ea.hd())}};
w_i.prototype.Ja=function(a){var c=this.W.hb().getSelection().zc;tgd(c)?(a=a.D,Xo(a)||(a=new u2h(9,a),this.R.apply((y2h(),z2h),a))):(a=a.D,this.R.apply((hAd(),iAd),new eAd(a)))};w_i.prototype.fb=function(){Iw(this.za);Iw(this.J);fT.prototype.fb.call(this)};function x_i(a,c,e){this.F=a;this.H=c;this.J=e}x_i.prototype.D=function(){return!!y_i(this)};function y_i(a){var c=a.F.Aa(),e=a.F.hb().getSelection();if(e.Qd){var f=mC(e.Qd);if(!c.getStyle(Pk,f.start).J)return null;var g=c.yp(Pk,f.start);if(f.end>g)return null}f=a.H.qd();if(!f||!nwh(a.J,f.Fe.D,f))return null;a=c.og(e.zc);!c.getStyle(Pk,a).J&&kth(a,c)&&a--;return c.gr(Pk,a)===a?null:f};function z_i(a){var c=a.qId;a=a.nLa;return U(Ha+V(aJg)+aTf+(c?A_i(WIg,Sgg):"")+A_i(YIg,Jhg)+(a?A_i(ZIg,Khg)+uHh()+A_i($Ig,Mhg):A_i(XIg,Vgg)+A_i(ZIg,Khg)))}function A_i(a,c){return U('<div class="kix-spell-bubble-option '+V(a)+$Sf+VT(IP+c)+fO)};function B_i(a){var c=a.title,e=a.dKa,f=a.wXc;a=a.ssb;c=Ha+V(mkg)+ia+V(pkg)+ia+V(nkg)+ISf+sT(c)+ZVf+V("docs-promo-body")+n+sT(e)+iO+V(kkg)+BTf+V(f)+FN+V(jkg)+SSf;c+=sT(a!=null?a:lb)+YVf;return U(c)};function CW(a,c,e,f,g,h,k,l){h=h===void 0?0:h;k=k===void 0?!1:k;KT.call(this,e,f);this.Rl=a;this.Ib=c;this.Ja=VR(this,"info-bubble-dismiss");this.Ua=l||null;this.Sa=h;IT(this,1,this.Sa);CEh(this,!0);JT(this,!1);this.ly(k);this.re(lkg);this.re("docs-gm-promo");g&&this.re(g);a||this.re(okg)}H(CW,KT);D=CW.prototype;D.Oa=function(){KT.prototype.Oa.call(this);var a=cK(B_i,{title:this.Rl,dKa:this.Ib,wXc:this.Ja,ssb:this.Ua},void 0,this.Ma());this.bd(a)};D.Bwb=B(null);D.gxb=B(null);D.lfa=function(){return this.Ma().Ba(this.Ja)};
D.Wa=function(){KT.prototype.Wa.call(this);this.bb().listen(Am,rk,Mw(Km(this.wd,this)))};D.render=function(a){KT.prototype.render.call(this,a);hK(this.La(),this.Rl||"Information")};D.L5a=function(){return this};function C_i(a,c,e,f,g,h,k){k=k===void 0?r():k;CW.call(this,a,c,e,void 0,"docs-spellcheck-bubble-popout",2);this.ma=e;this.F=null;h&&h!==""&&(this.F=new QU(h,new RU),this.xa(this.F));this.V=k;this.W=f;this.ea=g;this.O=null;this.J=new kJ(this);this.xa(this.J);this.R=new hx;this.xa(this.R);JT(this,!0)}H(C_i,CW);
C_i.prototype.Wa=function(){var a=this;CW.prototype.Wa.call(this);this.F!==null&&(this.F.Cx(this.lfa()),eJ(this.F.La(),jkg),this.J.listen(this.F,mc,function(){return void a.V()}));var c=this.La();this.J.listen(this.W,"f",function(){return void a.wd()}).we(this.lfa(),yL,function(){return void a.Ka(!1)}).listen(c,qi,function(e){e.keyCode===27&&(a.ma.focus(),a.Ka(!1))});this.R.Pa(this.ea.OJ(),function(){return void a.Ka(!1)});this.O=new lV(Fs(mkg,c));this.xa(this.O);mV(this.O);this.lfa().focus();this.wd()};function D_i(a,c,e,f,g,h,k,l,p){jV.call(this,a,p);this.za=c;this.Da=g;this.wa=h;this.Ca=k;this.Ja=l;this.Fa=e;this.Na=f;this.O=this.W=this.J=this.va=this.F=this.ea=this.H=this.V=null;this.ma=this.Da.Ha(vf)}H(D_i,jV);D=D_i.prototype;D.Oa=function(){jV.prototype.Oa.call(this);var a=this.Ba();bK(a,z_i,{qId:this.wa,nLa:this.ma});eJ(a,"kix-spell-bubble");eK(a,Te);hK(a,"Spellcheck options.");eJ(a,JP)};
D.Wa=function(){jV.prototype.Wa.call(this);var a=this.Ma(),c=this.La();this.H=a.Xb(aJg,c);eK(this.H,dd);this.va=a.Xb(YIg,c);eK(this.va,dd);this.wa&&(this.ea=a.Ya(WIg,c),eK(this.ea,dd));if(this.ma){var e=this.Ya($Ig);this.W=new QU(void 0,bji.Cb(),a);this.W.Sb(e);this.xa(this.W)}else e=a.Xb(XIg,c),this.J=new wV(void 0,null,bji.Cb(),a),this.J.Sb(e),Fji(this.J,new fji(null,8));e=a.Xb(ZIg,c);this.O=new wV(void 0,null,bji.Cb(),a);this.O.Sb(e);Fji(this.O,new fji(null,8));this.bb().we(this.H,yL,this.stc).we(this.va,
yL,this.ttc).listen(c,yd,this.PPb).listen(c,qi,this.utc,!0).listen(c,ti,this.PPb,!1);this.ea!==null&&this.Ca!==null&&this.Ja!==null&&this.bb().we(this.ea,yL,this.B$c);this.ma?cV(this.za,this.W,this.D.qa(OIa)):cV(this.za,this.J,this.D.qa(BMa));vU(this.va,U_f);this.ma?vU(this.W.La(),Iia):vU(this.J.La(),a_f);vU(this.O.La(),aP);this.wa&&vU(this.ea,C2f);a=new lV(this.Ba(),this.Ma());mV(a);this.xa(a)};
D.stc=function(a){var c=this.D.qa(rva),e=this.V.Fe,f=this.V.Fe.H;f.length&&E_i(this,c,a.type,new GSh(f[0],e))};D.B$c=function(){var a=this;this.F!==null&&!this.F.isDisposed()&&tEh(this.F.D)?this.F.Ka(!1):(this.F=new C_i(C2f,jXf,this.ea,this.Ca,this.Ja,xb,function(){return void REh(Psg,a.Da)}),this.xa(this.F),this.F.render())};D.ttc=function(a){var c=TS(this.V.Fe)?this.D.qa(yDa):this.D.qa(wDa);E_i(this,c,a.type,null)};
D.utc=function(a){a.keyCode===27?(this.O.Hd().isVisible()||this.J&&this.J.Hd().isVisible()||!this.Ah()||a.keyCode!=27||this.Ka(!1),a.preventDefault()):this.Ah()&&a.keyCode===32&&a.preventDefault()};D.PPb=function(a){a.stopPropagation();a.preventDefault()};function E_i(a,c,e,f){e=e==ri?94:9;a=a.Na.Ci(c.getId(),9,e,a.V);c.xb(f,a)}D.focus=function(){this.H&&this.H.focus()};D.Ka=function(a){jV.prototype.Ka.call(this,a);!a&&this.F!==null&&!this.F.isDisposed()&&tEh(this.F.D)&&this.F.Ka(!1)};
D.update=function(a){this.wc()&&(this.V=a,a=this.V.Fe.H,a=a.length?a[0]:"",this.Ma().wg(this.H,a),TS(this.V.Fe)?(vU(this.H,B_f),this.H.setAttribute(Ec,a.concat(" - grammar suggestion"))):(vU(this.H,W4f),this.H.setAttribute(Ec,a.concat(" - spelling suggestion"))),this.ma?gK(this.W.La(),WP):(this.J.Lg(this.Fa.Hd(PQg,!0)),gK(this.J.La(),WP)),a=this.Fa.Hd(QQg,!0),eJ(a.La(),"kix-spell-bubble-more-options-menu"),this.O.Lg(a),gK(this.O.La(),WP))};
D.fb=function(){delete this.H;delete this.va;this.ma?delete this.W:delete this.J;delete this.O;this.wa&&delete this.ea;jV.prototype.fb.call(this)};function F_i(a,c,e,f,g,h,k,l,p,q,u){T.call(this);this.J=l;this.Ca=a;this.R=c;this.ma=e;this.ea=f;this.W=h;this.va=k;this.za=p;this.D=null;this.O=!1;this.H=null;this.Ja=g;this.Da=q;this.Fa=u;this.wa=this.J.qa(NIa)}H(F_i,T);D=F_i.prototype;D.Fd=function(){this.D&&(this.D.Ka(!1),this.H=null)};
D.update=function(a){a&&qwh(this.Ja,a);if(kD(this.V.R,2,0))if(this.W.Ha(vf)&&this.wa.isVisible())this.Fd();else if(a&&a.reason==ocb)this.Fd();else if(this.O)this.Fd();else if(a=y_i(this.ma))if(US(a.Fe))this.Fd();else if(a.Fe.rA())this.Fd();else if(ash(a.Fe))this.Fd();else{this.D||(this.D=new D_i(this.J,this.Ca,this.R,this.ea,this.W,this.za,this.Da,this.Fa,this.va));this.D.wc()||this.F.J.eb(this.D,!0);var c=G_i(this);c?this.R.Ux(PQg)&&this.R.Ux(QQg)&&(this.D.update(a),this.D.dj(c.x,c.y),this.D.Ka(!0),
pDh(this.F,this.D),this.H&&this.H.Va(a)||(c=this.ea.Ci(yMa,7,9,a),this.J.qa(yMa).xb(null,c),this.H=a)):(this.Fd(),this.D=null)}else this.Fd()};D.wd=function(){this.update()};D.scroll=r();D.hm=r();D.bm=function(a){this.O!=a&&(this.O=a,this.update())};D.Om=function(){this.Fd()};D.Dj=function(){return this.D&&FT(this.D)?(this.D.focus(),!0):!1};D.Ch=function(){return!!this.D&&FT(this.D)};D.Ol=function(){return!!this.D&&this.D.Ah()};function H_i(a,c,e,f,g,h,k,l,p,q,u){F_i.call(this,e,f,g,h,k,l,a.Ma(),a.F,p,q,u);this.V=a;this.F=c}H(H_i,F_i);function G_i(a){if(!a.D)return null;var c=a.V.W.Aa();var e=a.V.W.hb().getSelection();e.Qd?e=mC(e.Qd).start:(e=e.zc.D,c.getStyle(Pk,e).J||e--);c=c.gr(Pk,e);c=new sC(c);e=a.F.xl(c);if(!e)return null;e=leh(a.F,e);var f=a.D.Ba();f=it(f).height;f=e.y-f;return f>=0?keh(a.F,new Kr(e.x,f)):(a=a.F.xl(c,!0))?new Kr(a.x,a.y):null};function I_i(a){var c=a.maxSuggestions;a=J_i(a.nLa)+Ha+V(dJg)+QN+V("kix-spellcheck-with-explanation-bubble-suggestions")+n;c=Math.max(0,Math.ceil(c));for(var e=0;e<c;e++)a+='<div class="kix-spellcheck-with-explanation-bubble-suggestion-text-'+V(e)+ZSf;a+=iO+V(cJg)+ZSf;return U(a)}
function K_i(a){a=J_i(a.nLa)+Ha+V(dJg)+n;var c="This word is potentially misspelt. If not misspelt, you can turn off correcting this word using the "+VT("docs-icon-img docs-icon-spellbubble-overflow-three-dots-16")+" menu.";a=a+c+(iO+V(cJg)+da);return U(a)}
function L_i(a){var c=a.maxSuggestions;a=J_i(a.nLa)+Ha+V(dJg)+'"></div><div class='+uT("kix-stylistic-suggestion-sentence-rewrite-suggestions")+">";c=Math.max(0,Math.ceil(c));for(var e=0;e<c;e++)a+='<div class="kix-stylistic-suggestion-sentence-rewrite-suggestion-text-'+V(e)+aTf;a+=iO+V(cJg)+da;return U(a)}function M_i(a,c){return U('<div class="kix-spellcheck-with-explanation-bubble-option '+V(a)+TSf+uT("0")+">"+VT(IP+c)+fO)}
function J_i(a){return U(Ha+V(iJg)+da+M_i(fJg,Jhg)+(a?M_i(gJg,Khg)+uHh()+M_i(hJg,Mhg):M_i(eJg,Vgg)+M_i(gJg,Khg)))};var N_i=rm(["https://support.google.com/docs/?p=unrecognized_words"]),O_i=wS(N_i);
function P_i(a,c,e,f,g,h,k,l,p,q,u){jV.call(this,a,u);this.Ja=c;this.za=e;this.Za=f;this.ob=g.BASE;this.Ub=g.TITLE_TEXT;this.wb=g.EXPLANATION_TEXT;this.Na=g.SUGGESTION_TEXT;this.Ib=g.IGNORE;this.Eb=g.FEEDBACK;this.Qb=g.PROOFREAD;this.Kb=g.MORE_OPTIONS;this.ib=g.ACTION;this.Ca=h;this.qD=k;this.Ra=l;this.Sa=p;this.wa=this.Da=this.O=null;this.F=[];this.V=this.ma=this.H=this.ea=this.J=null;this.Fa=!1;this.va=null;this.Ua=q;this.W=this.Sa.Ha(vf)}H(P_i,jV);D=P_i.prototype;
D.Oa=function(){jV.prototype.Oa.call(this);var a=this.Ba();bK(a,this.Ra,{maxSuggestions:this.Ca,nLa:this.W});eJ(a,this.ob);eK(a,Te);hK(a,this.qD);eJ(a,JP)};
D.Wa=function(){var a=this;jV.prototype.Wa.call(this);var c=this.Ma(),e=this.Ba();this.Da=c.Xb(this.Ub,e);this.wa=c.Xb(this.wb,e);c.zo(this.wa,!0);this.ea=c.Xb(this.Ib,e);eK(this.ea,dd);this.J=c.Xb(this.ib,e);eK(this.J,dd);c.zo(this.J,!0);if(this.W){var f=this.Ya(this.Qb);this.ma=new QU(void 0,bji.Cb(),c);this.ma.Sb(f);this.xa(this.ma)}else f=c.Xb(this.Eb,e),this.H=new wV(void 0,null,bji.Cb(),c),this.H.Sb(f),Fji(this.H,new fji(null,8));f=c.Xb(this.Kb,e);this.V=new wV(void 0,null,bji.Cb(),c);this.V.Sb(f);
Fji(this.V,new fji(null,8));for(f=0;f<this.Ca;f++){var g=c.Xb(this.Na+"-"+f.toString(),e);g.classList.add(this.Na);eK(g,dd);this.bb().we(g,yL,this.vtc);this.F.push(g)}this.bb().we(this.ea,yL,this.xtc).listen(e,yd,this.wtc).listen(e,qi,this.ytc,!0).listen(e,ti,this.ztc,!1);var h=this.D.qa(Ena);this.za.Ux(A2a)&&this.za.Hd(A2a).Ek(function(k){k.getValue()==DZf&&(a.va=k)});this.bb().we(this.J,yL,function(){ash(a.O.Fe)?(h.xb(a.va.Yg()?Vg:iqg),a.Ka(!1)):a.O.Fe.rA()&&is(window,O_i,ic)});this.W?cV(this.Ja,
this.ma,this.D.qa(OIa)):cV(this.Ja,this.H,this.D.qa(BMa));vU(this.ea,U_f);this.W?vU(this.ma.La(),Iia):vU(this.H.La(),a_f);vU(this.V.La(),aP);c=new lV(this.Ba(),this.Ma());mV(c);this.xa(c)};D.vtc=function(a){var c=this.D.qa(rva),e=this.O.Fe;a.currentTarget&&Q_i(this,c,new GSh(a.currentTarget.textContent,e))};D.xtc=function(){var a=this.D.qa(yDa);Q_i(this,a,null)};
D.ytc=function(a){a.keyCode===27?(this.Fa=this.W?this.V.Hd().isVisible():this.H.Hd().isVisible()||this.V.Hd().isVisible(),!this.Fa&&this.Ah()&&a.keyCode==27&&this.Ka(!1),a.preventDefault()):this.Ah()&&a.keyCode===32&&a.preventDefault()};D.ztc=function(a){this.Fa&&a.stopPropagation()};D.wtc=function(a){a.stopPropagation();a.preventDefault()};
function Q_i(a,c,e){var f=null;if(e!=null&&bsh(e.wna))for(var g=e.D,h=e.wna.H,k=0;k<h.length;k++)h[k]===g&&(f=k+1);a=a.Za.Ci(c.getId(),9,9,a.O,null,f);c.xb(e,a)}D.focus=function(){this.F[0]&&qt(this.F[0])?this.F[0].focus():this.ea&&this.ea.focus()};
D.update=function(a){if(this.wc()){this.O=a;var c=dsh(this.O.Fe);c&&(this.Ma().wg(this.Da,c),this.Da.setAttribute(Ec,c));c=this.va&&(this.va.Yg()?OXf:pXf);if(c=esh(this.O.Fe,c))this.Ma().wg(this.wa,c),this.wa.setAttribute(Ec,c);c=this.O.Fe.H;for(var e=0,f=0;f<c.length&&e<this.Ca;f++)c[f]&&(this.Ma().wg(this.F[e],c[f]),lt(this.F[e],!0),this.F[e].set