$wnd.jsme.runAsyncCallback9('function h9(a){a=a.md.b.c++;return Hi+a}y(488,489,A_);_.rf=function(){return h9(this)};_.Cf=function(){this.wd=new i9((gI(),m),this)};_.If=function(){return(null==this.td&&(this.td=h9(this)),this.td)+Yb+this.wd.Af()+Yb+this.wd.Bf()+Yb+this.Bd+jm+this.qd+(this.Ad?m:",hidden")+",title="+this.r+(this.q?",resizable":m)+(this.wd.c.B?",modal":m)};function j9(a,b){var c;if(0<b.a){a.c=b;c="Atom "+b.a;var d=a.d;d.r=c;d.wd&&d.wd.pg(c);mK(a.b,m+jT(b.e,b.a));N2(a.d);c=a.d;!RH(c)&&u2(c);o2(c)}}\nfunction k9(){var a,b,c;b=new I2(M_);a=new I2("Cancel");this.b=new oK(kd,4);this.a=Mj;new Q2;this.d=new l9(this,b);this.d.wd.c.cb=!0;uI(this.d,new AI);q2(this.d,new Y2("New atom "+this.a),null);q2(this.d,b,null);q2(this.d,a,null);uI(this.d,new E2(2));c=new zI;q2(c,new Z2("atom "+this.a,1),null);q2(c,this.b,null);q2(this.d,c,s_);c=new zI;q2(c,b,null);q2(c,a,null);q2(this.d,c,r_);NI(this.d.s,new m9(this))}y(699,1,{},k9);_.a=null;_.b=null;_.c=null;_.d=null;\nfunction l9(a,b){this.a=a;this.b=b;P2.call(this);this.r=m;this.wd&&this.wd.pg(m);this.wd.c.cb=!1;O2(this,!0)}y(700,488,A_,l9);_.qf=function(a){var b;M2(this);if(GC(a.f)===GC(this.b))try{b=gs(Bx(this.a.b.wd.a.ob,dm),10);var c=this.a.c,d=c.d,e=c.a,f;f=c.e.b[e];0>=b?YL(f):!d.$b.e?f.j=b:f.B=b;NN(d,"changeAtomMap",jt(d._b,d.r),e,0,!0);bR(d)}catch(g){if(g=So(g),E(g,108))b3(this.a.c.d,"invalid atom "+this.a.a);else throw g;}return!0};_.a=null;_.b=null;function m9(a){this.a=a}y(701,534,G_,m9);_.gg=function(){M2(this.a.d)};\n_.a=null;y(720,623,xn);_.ce=function(){if(this.b.a==(KM(),Ve)||this.b.a==We)!this.a.b&&(this.a.b=new k9),this.a.b.a=Mj,j9(this.a.b,this.a);"Change atom charge"==this.b.a&&(!this.a.b&&(this.a.b=new k9),j9(this.a.b,this.a))};function i9(a,b){XY();S2.call(this,a,b)}y(846,847,{},i9);Y(699);Y(488);Y(700);Y(701);Y(846);N(z_)(9);\n//@ sourceURL=9.js\n')
