$wnd.jsme.runAsyncCallback9('function L7(a){a=a.md.b.c++;return oi+a}x(470,471,$Y);_.nf=function(){return L7(this)};_.yf=function(){this.wd=new M7((NG(),n),this)};_.Ef=function(){return(null==this.td&&(this.td=L7(this)),this.td)+xb+this.wd.wf()+xb+this.wd.xf()+xb+this.Bd+Wl+this.qd+(this.Ad?n:",hidden")+",title="+this.r+(this.q?",resizable":n)+(this.wd.c.B?",modal":n)};function N7(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.lg(c);WI(a.b.wd,n+GR(b.e,b.a));l1(a.d);c=a.d;!xG(c)&&T0(c);N0(c)}}\nfunction O7(){var a,b,c;b=new g1(jZ);a=new g1("Cancel");this.b=new VI(Ec,4);this.a=qj;new o1;this.d=new P7(this,b);this.d.wd.c.cb=!0;aH(this.d,new gH);P0(this.d,new w1("New atom "+this.a),null);P0(this.d,b,null);P0(this.d,a,null);aH(this.d,new c1(2));c=new fH;P0(c,new x1("atom "+this.a,1),null);P0(c,this.b,null);P0(this.d,c,QY);c=new fH;P0(c,b,null);P0(c,a,null);P0(this.d,c,PY);tH(this.d.s,new Q7(this))}x(674,1,{},O7);_.a=null;_.b=null;_.c=null;_.d=null;\nfunction P7(a,b){this.a=a;this.b=b;n1.call(this);this.r=n;this.wd&&this.wd.lg(n);this.wd.c.cb=!1;m1(this,!0)}x(675,470,$Y,P7);_.mf=function(a){var b;k1(this);if(tB(a.f)===tB(this.b))try{b=Rr(ox(this.a.b.wd.a.ob,Pl),10);var c=this.a.c,d=c.d,e=c.a,f;f=c.e.b[e];0>=b?FK(f):!d.$b.e?f.j=b:f.B=b;iM(d,"changeAtomMap",Us(d._b,d.r),e,0,!0);yP(d)}catch(g){if(g=Eo(g),E(g,107))A1(this.a.c.d,"invalid atom "+this.a.a);else throw g;}return!0};_.a=null;_.b=null;function Q7(a){this.a=a}x(676,516,YY,Q7);_.cg=function(){k1(this.a.d)};\n_.a=null;x(695,598,mn);_.ce=function(){if(this.b.a==(eL(),qe)||this.b.a==re)!this.a.b&&(this.a.b=new O7),this.a.b.a=qj,N7(this.a.b,this.a);"Change atom charge"==this.b.a&&(!this.a.b&&(this.a.b=new O7),N7(this.a.b,this.a))};function M7(a,b){vX();q1.call(this,a,b)}x(822,823,{},M7);Z(674);Z(470);Z(675);Z(676);Z(822);U(XY)(9);\n//@ sourceURL=9.js\n')
