$wnd.jsme.runAsyncCallback9('function U9(a){a=a.md.b.c++;return Gi+a}y(497,498,q0);_.vf=function(){return U9(this)};_.Gf=function(){this.wd=new V9((XI(),m),this)};_.Mf=function(){return(null==this.td&&(this.td=U9(this)),this.td)+Wb+this.wd.Ef()+Wb+this.wd.Ff()+Wb+this.Bd+qm+this.qd+(this.Ad?m:",hidden")+",title="+this.r+(this.q?",resizable":m)+(this.wd.c.B?",modal":m)};function W9(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.tg(c);dL(a.b.wd,m+YT(b.e,b.a));B3(a.d);c=a.d;!HI(c)&&i3(c);c3(c)}}\nfunction X9(){var a,b,c;b=new w3(C0);a=new w3("Cancel");this.b=new cL(kd,4);this.a=Rj;new E3;this.d=new Y9(this,b);this.d.wd.c.cb=!0;kJ(this.d,new qJ);e3(this.d,new M3("New atom "+this.a),null);e3(this.d,b,null);e3(this.d,a,null);kJ(this.d,new s3(2));c=new pJ;e3(c,new N3("atom "+this.a,1),null);e3(c,this.b,null);e3(this.d,c,h0);c=new pJ;e3(c,b,null);e3(c,a,null);e3(this.d,c,g0);DJ(this.d.s,new Z9(this))}y(708,1,{},X9);_.a=null;_.b=null;_.c=null;_.d=null;\nfunction Y9(a,b){this.a=a;this.b=b;D3.call(this);this.r=m;this.wd&&this.wd.tg(m);this.wd.c.cb=!1;C3(this,!0)}y(709,497,q0,Y9);_.uf=function(a){var b;A3(this);if(nD(a.f)===nD(this.b))try{b=ps(Ux(this.a.b.wd.a.ob,km),10);var c=this.a.c,d=c.d,e=c.a,f;f=c.e.b[e];0>=b?NM(f):!d.$b.e?f.j=b:f.B=b;DO(d,"changeAtomMap",st(d._b,d.r),e,0,!0);RR(d)}catch(g){if(g=ap(g),E(g,109))Q3(this.a.c.d,"invalid atom "+this.a.a);else throw g;}return!0};_.a=null;_.b=null;function Z9(a){this.a=a}y(710,543,t0,Z9);_.kg=function(){A3(this.a.d)};\n_.a=null;y(729,632,Fn);_.ge=function(){if(this.b.a==(zN(),Re)||this.b.a==Se)!this.a.b&&(this.a.b=new X9),this.a.b.a=Rj,W9(this.a.b,this.a);"Change atom charge"==this.b.a&&(!this.a.b&&(this.a.b=new X9),W9(this.a.b,this.a))};function V9(a,b){LZ();G3.call(this,a,b)}y(855,856,{},V9);Y(708);Y(497);Y(709);Y(710);Y(855);N(o0)(9);\n//@ sourceURL=9.js\n')
