text: $wnd.jsme.runAsyncCallback1('var l5="Assignment of aromatic double bonds failed";function m5(a,b){var c;c=a.A[b];return 3<=c&&4>=c||11<=c&&13>=c||19<=c&&31>=c||37<=c&&51>=c||55<=c&&84>=c||87<=c&&103>=c}function $(a,b){var c,d;c=b;for(d=0;0!=b;)0==a.c&&(a.e=(a.a[++a.d]&63)<<11,a.c=6),d|=(65536&a.e)>>16-c+b,a.e<<=1,--b,--a.c;return d}function n5(a,b,c){a.c=6;a.d=c;a.a=b;a.e=(b[a.d]&63)<<11}function o5(a,b){var c,d;c=~~(b/2);(d=a>=c)&&(a-=c);c=~~(b/32)*a/(c-a);return d?-c:c}function p5(){this.b=!0}x(24,1,{},p5);_.a=null;_.b=!1;\n_.c=0;_.d=0;_.e=0;_.f=null;function q5(a,b){var c,d,e;1==a.b.E[b]&&$n(a.b,b,2);for(d=0;2>d;++d){c=D(a.b,d,b);kr(a.b,c,!1);for(e=0;e<a.b.f[c];++e)a.a[bo(a.b,c,e)]=!1}}function r5(a){var b,c,d,e,f,g,h;do{h=!1;for(c=0;c<a.b.d;++c)if(a.a[c]){f=!1;for(e=0;2>e;++e){b=!1;d=D(a.b,e,c);for(g=0;g<a.b.f[d];++g)if(c!=bo(a.b,d,g)&&a.a[bo(a.b,d,g)]){b=!0;break}if(!b){f=!0;break}}f&&(h=!0,q5(a,c))}}while(h)}function s5(){}x(29,1,{},s5);_.a=null;_.b=null;\nfunction t5(a,b,c,d){a.b||(4==a.i||3==a.i&&-1!=a.c?a.b=!0:(a.j[a.i]=d,a.f[a.i]=b,a.k[a.i]=c,++a.i))}\nfunction u5(a,b){var c,d,e,f;if(a.b)return 3;-1!=a.c&&(a.c=b[a.c]);for(e=0;e<a.i;++e)2147483647!=a.f[e]&&(a.f[e]=b[a.f[e]]);if(-1==a.c&&0==a.d){d=2147483647;f=-1;for(e=0;e<a.i;++e)d>a.k[e]&&(d=a.k[e],f=e);a.c=a.f[f];for(e=f+1;e<a.i;++e)a.f[e-1]=a.f[e],a.k[e-1]=a.k[e],a.j[e-1]=a.j[e];--a.i}f=(-1==a.c?0:1)+a.d+a.i;if(4<f||3>f)return 3;c=-1==a.c&&1==a.d||-1!=a.c&&Er(a.n.b,a.c);d=-1;for(e=0;e<a.i;++e)if(a.j[e]){if(-1!=d||c)return 3;d=e}f=!1;if(-1!=d)for(e=0;e<a.i;++e)!a.j[e]&&a.f[d]<a.f[e]&&(f=!f);d=\n!1;if(-1!=a.c&&!c)for(e=0;e<a.i;++e)a.c<a.f[e]&&(d=!d);e=a.f;c=a.k;var g,h,j;h=!1;for(g=1;g<a.i;++g)for(j=0;j<g;++j)e[j]>e[g]&&(h=!h),c[j]>c[g]&&(h=!h);return a.e^h^d^f?2:1}function v5(a,b,c,d,e,f){this.n=a;0!=d&&1!=d?this.b=!0:(this.a=b,this.c=c,this.d=d,this.e=f,this.i=0,this.j=C(Zn,Tm,-1,4,2),this.f=C(B,w,-1,4,1),this.k=C(B,w,-1,4,1),-1!=c&&1==d&&(t5(this,2147483647,e,!0),this.d=0))}x(30,1,{},v5);_.a=0;_.b=!1;_.c=0;_.d=0;_.e=!1;_.f=null;_.i=0;_.j=null;_.k=null;_.n=null;\nfunction w5(a){Yn(a,15);if(a.b){var a=a.b,b;for(b=0;b<a.K.c;++b)if(0==(a.K.s[b]&67108864)&&3==a.V[b]){var c=a.K;c.s[b]|=67108864;c.N&=3}for(b=0;b<a.K.d;++b)3==a.k[b]&&2==go(a.K,b)&&$n(a.K,b,26)}}function x5(){this.e=1}x(33,1,{},x5);\nfunction y5(a){var b,c;if(null==a||0==a.length||0==cs(a).length)return iW(new ML,n,!0);c=new qs;var d=new s5,e=cT(cs(a)),f,g,h,j,l,m,q,r,t,y,u,s,F,G,H,v,ea,da,T,ja,Ga,yc,Ta,Gb,M,kb,xa,fa,aa,ra,Fa,Ub,S,Ja,dc,gd,Ha;d.b=c;Uq(d.b);Ta=null;j=C(B,w,-1,64,1);j[0]=-1;kb=C(B,w,-1,64,1);xa=C(B,w,-1,64,1);for(F=0;64>F;++F)kb[F]=-1;g=M=0;fa=Gb=ra=!1;m=0;aa=e.length;for(l=1;32>=e[M];)++M;for(;M<aa;)if(Fa=e[M++]&65535,z5(Fa)||42==Fa){h=0;u=-1;G=yc=H=!1;if(ra)82==Fa&&ZK(e[M]&65535)?(da=null!=String.fromCharCode(e[M+\n1]&65535).match(/\\d/)?2:1,h=wr(Vq(e,M-1,1+da)),M+=da):(v=String.fromCharCode(e[M]&65535).toLowerCase().charCodeAt(0)==(e[M]&65535)&&z5(e[M]&65535)?2:1,h=wr(Vq(e,M-1,v)),M+=v-1,u=0),64==e[M]&&(++M,64==e[M]&&(G=!0,++M),yc=!0),72==e[M]&&(++M,u=1,ZK(e[M]&65535)&&(u=e[M]-48,++M));else if(42==Fa)h=6,H=!0;else switch(String.fromCharCode(Fa).toUpperCase().charCodeAt(0)){case 66:M<aa&&114==e[M]?(h=35,++M):h=5;break;case 67:M<aa&&108==e[M]?(h=17,++M):h=6;break;case 70:h=9;break;case 73:h=53;break;case 78:h=\n7;break;case 79:h=8;break;case 80:h=15;break;case 83:h=16}if(0==h)throw new ap("SmilesParser: unknown element label found");f=Pq(d.b,h);H?(fa=!0,nr(d.b,f,1)):kr(d.b,f,String.fromCharCode(Fa).toLowerCase().charCodeAt(0)==Fa&&z5(Fa));if(-1!=u&&1!=h){q=C(Bp,nn,-1,1,1);q[0]=u<<24>>24;var Ma=d.b,eb=f,Jc=q;null!=Jc&&0==Jc.length&&(Jc=null);null==Jc?null!=Ma.r&&(Ma.r[eb]=null):(null==Ma.r&&(Ma.r=C(Nq,o,3,Ma.J,0)),Ma.r[eb]=Jc)}s=j[m];-1!=j[m]&&128!=l&&Tq(d.b,f,j[m],l);l=1;j[m]=f;0!=g&&(lr(d.b,f,g),g=0);(ja=\n!Ta?null:Tr(Ta,uO(s)))&&t5(ja,f,M,1==h);yc&&(!Ta&&(Ta=new ks),ls(Ta,uO(f),new v5(d,f,s,u,M,G)))}else if(46==Fa)l=128;else if(61==Fa)l=2;else if(35==Fa)l=4;else if(ZK(Fa))if(T=Fa-48,ra){for(;M<aa&&ZK(e[M]&65535);)T=10*T+e[M]-48,++M;g=T}else{Gb&&M<aa&&ZK(e[M]&65535)&&(T=10*T+e[M]-48,++M);Gb=!1;if(64<=T)throw new ap("SmilesParser: ringClosureAtom number out of range");if(-1==kb[T])kb[T]=j[m],xa[T]=M-1;else{if(kb[T]==j[m])throw new ap("SmilesParser: ring closure to same atom");Ta&&((ja=Tr(Ta,uO(kb[T])))&&\nt5(ja,j[m],xa[T],!1),(ja=Tr(Ta,uO(j[m])))&&t5(ja,kb[T],M-1,!1));Tq(d.b,j[m],kb[T],l);kb[T]=-1}l=1}else if(43==Fa){if(!ra)throw new ap("SmilesParser: \'+\' found outside brackets");for(r=1;43==e[M];)++r,++M;1==r&&ZK(e[M]&65535)&&(r=e[M]-48,++M);er(d.b,j[m],r)}else if(45==Fa){if(ra){for(r=-1;45==e[M];)--r,++M;-1==r&&ZK(e[M]&65535)&&(r=48-e[M],++M);er(d.b,j[m],r)}}else if(40==Fa){if(-1==j[m])throw new ap("Smiles with leading parenthesis are not supported");j[m+1]=j[m];++m}else if(41==Fa)--m;else if(91==\nFa){if(ra)throw new ap("SmilesParser: nested square brackets found");ra=!0}else if(93==Fa){if(!ra)throw new ap("SmilesParser: closing bracket without opening one");ra=!1}else if(37==Fa)Gb=!0;else if(58==Fa)if(ra){for(ea=0;ZK(e[M]&65535);)ea=10*ea+e[M]-48,++M;d.b.u[j[m]]=ea}else l=64;else if(47==Fa)l=17;else if(92==Fa)l=9;else throw new ap("SmilesParser: unexpected character found: \'"+String.fromCharCode(Fa)+Mb);if(1!=l)throw new ap("SmilesParser: dangling open bond");for(F=0;64>F;++F)if(-1!=kb[F])throw new ap("SmilesParser: dangling ring closure");\nvar ua=d.b,$a,ba,za,W,ub,X;X=C(B,w,-1,ua.o,1);W=C(Zn,Tm,-1,ua.o,2);for(ba=0;ba<ua.p;++ba)for(za=0;2>za;++za)Er(ua,ua.B[za][ba])&&!Er(ua,ua.B[1-za][ba])&&(W[ua.B[za][ba]]=!0);for(ub=ua.o-1;0<=ub&&W[ub];)X[ub]=ub,--ub;for($a=0;$a<=ub;++$a)if(W[$a]){X[$a]=ub;X[ub]=$a;for(--ub;0<=ub&&W[ub];)X[ub]=ub,--ub}else X[$a]=$a;d.b.M=!0;Yn(d.b,1);for(f=0;f<d.b.o;++f)if(null!=(null==c.r?null:null==c.r[f]?null:Vq(c.r[f],0,c.r[f].length))&&!br(d.b,f))if(y=(null==d.b.r?null:d.b.r[f])[0],d.b.A[f]<(Xo(),Mq).length&&\nnull!=Mq[d.b.A[f]]){t=!1;Ub=Ip(d.b,f);Ub-=Kp(d.b,f,Ub);for(Ja=Mq[d.b.A[f]],dc=0,gd=Ja.length;dc<gd;++dc)if(S=Ja[dc],Ub<=S){t=!0;S!=Ub+y&&dr(d.b,f,Ub+y);break}t||dr(d.b,f,Ub+y)}var O,ac,Pb,yd;for(O=0;O<d.b.c;++O)if(7==d.b.A[O]&&0==d.b.q[O]&&3<Ip(d.b,O)&&0<d.b.k[O])for(yd=0;yd<d.b.f[O];++yd)if(ac=co(d.b,O,yd),Pb=bo(d.b,O,yd),1<go(d.b,Pb)&&yr(d.b.A[ac])){4==d.b.E[Pb]?$n(d.b,Pb,2):$n(d.b,Pb,1);er(d.b,O,d.b.q[O]+1);er(d.b,ac,d.b.q[ac]-1);break}var qd,qb,oa,Yb,sa,R,pa,Kc,Fd,zd,hd,ib,Qa,Hb,lb,Vb;Yn(d.b,\n1);d.a=C(Zn,Tm,-1,d.b.d,2);for(oa=0;oa<d.b.d;++oa)64==d.b.E[oa]&&($n(d.b,oa,1),d.a[oa]=!0);Vb=new ao(d.b,3);Kc=C(Zn,Tm,-1,Vb.i.c,2);for(Qa=0;Qa<Vb.i.c;++Qa){Hb=jo(Vb.i,Qa);Kc[Qa]=!0;for(pa=0;pa<Hb.length;++pa)if(!br(d.b,Hb[pa])){Kc[Qa]=!1;break}if(Kc[Qa]){lb=jo(Vb.j,Qa);for(pa=0;pa<lb.length;++pa)d.a[lb[pa]]=!0}}for(oa=0;oa<d.b.d;++oa)if(!d.a[oa]&&0!=Vb.b[oa]&&br(d.b,D(d.b,0,oa))&&br(d.b,D(d.b,1,oa)))a:{var rc=d,sc=oa,zc=void 0,K=void 0,Ka=void 0,Xc=void 0,Jb=void 0,rb=void 0,nb=void 0,ad=void 0,\nGd=void 0,rd=void 0,bd=void 0,ka=void 0,Ac=void 0,ad=C(B,w,-1,rc.b.c,1),rb=C(B,w,-1,rc.b.c,1),nb=C(B,w,-1,rc.b.c,1),Gd=C(B,w,-1,rc.b.c,1),zc=D(rc.b,0,sc),K=D(rc.b,1,sc);rb[0]=zc;rb[1]=K;nb[0]=-1;nb[1]=sc;ad[zc]=1;ad[K]=2;Gd[zc]=-1;Gd[K]=zc;for(rd=Jb=1;Jb<=rd&&15>ad[rb[Jb]];){Ac=rb[Jb];for(bd=0;bd<rc.b.f[Ac];++bd)if(Ka=co(rc.b,Ac,bd),Ka!=Gd[Ac]){Xc=bo(rc.b,Ac,bd);if(Ka==zc){nb[0]=Xc;for(ka=0;ka<=rd;++ka)rc.a[nb[bd]]=!0;break a}br(rc.b,Ka)&&0==ad[Ka]&&(++rd,rb[rd]=Ka,nb[rd]=Xc,ad[Ka]=ad[Ac]+1,Gd[Ka]=\nAc)}++Jb}}Yn(d.b,3);for(Qa=0;Qa<Vb.i.c;++Qa)if(Kc[Qa]){Hb=jo(Vb.i,Qa);for(pa=0;pa<Hb.length;++pa){var Oc;var vb=d,Ca=Hb[pa],Bc=void 0;16==vb.b.A[Ca]&&0>=vb.b.q[Ca]||6==vb.b.A[Ca]&&0!=vb.b.q[Ca]||!br(vb.b,Ca)?Oc=!1:(Bc=null==Qp(vb.b,Ca)?0:(null==vb.b.r?null:vb.b.r[Ca])[0],Oc=1>$q(vb.b,Ca)-Ip(vb.b,Ca)-Bc||5!=vb.b.A[Ca]&&6!=vb.b.A[Ca]&&7!=vb.b.A[Ca]&&8!=vb.b.A[Ca]&&15!=vb.b.A[Ca]&&16!=vb.b.A[Ca]&&33!=vb.b.A[Ca]&&34!=vb.b.A[Ca]?!1:!0);if(!Oc){kr(d.b,Hb[pa],!1);for(zd=0;zd<d.b.f[Hb[pa]];++zd)d.a[bo(d.b,\nHb[pa],zd)]=!1}}}r5(d);for(Qa=0;Qa<Vb.i.c;++Qa)if(Kc[Qa]&&6==jo(Vb.j,Qa).length){lb=jo(Vb.j,Qa);Fd=!0;for(Yb=0,sa=lb.length;Yb<sa;++Yb)if(oa=lb[Yb],!d.a[oa]){Fd=!1;break}Fd&&(q5(d,lb[0]),q5(d,lb[2]),q5(d,lb[4]),r5(d))}for(ib=5;4<=ib;--ib){do{hd=!1;for(oa=0;oa<d.b.d;++oa)if(d.a[oa]){for(pa=qd=0;2>pa;++pa){R=D(d.b,pa,oa);for(zd=0;zd<d.b.f[R];++zd)d.a[bo(d.b,R,zd)]&&++qd}if(qd==ib){q5(d,oa);r5(d);hd=!0;break}}}while(hd)}for(oa=0;oa<d.b.d;++oa)if(d.a[oa])throw new ap(l5);for(qb=0;qb<d.b.c;++qb)if(br(d.b,\nqb))throw new ap(l5);d.b.r=null;d.b.M=!1;var tc,wb,lc,yb,id,sd,cd,Cc,ab,Dc,Pc;Yn(d.b,3);ab=!1;Dc=C(B,w,-1,2,1);Pc=C(B,w,-1,2,1);Cc=C(B,w,-1,2,1);for(wb=0;wb<d.b.d;++wb)if(!Mo(d.b,wb)&&2==d.b.E[wb]){for(yb=0;2>yb;++yb){Dc[yb]=-1;Cc[yb]=-1;tc=D(d.b,yb,wb);for(cd=0;cd<d.b.f[tc];++cd)lc=bo(d.b,tc,cd),lc!=wb&&(17==d.b.E[lc]||9==d.b.E[lc]?(Dc[yb]=co(d.b,tc,cd),Pc[yb]=lc):Cc[yb]=co(d.b,tc,cd));if(-1==Dc[yb])break}if(-1!=Dc[0]&&-1!=Dc[1]){sd=d.b.E[Pc[0]]!=d.b.E[Pc[1]];id=!1;for(yb=0;2>yb;++yb)-1!=Cc[yb]&&\nCc[yb]<Dc[yb]&&(id=!id);sr(d.b,wb,sd^id?2:1,!1);ab=!0}}for(wb=0;wb<d.b.d;++wb)(17==d.b.E[wb]||9==d.b.E[wb])&&$n(d.b,wb,1);ab&&(d.b.N|=4);Ls(new x5,d.b);if(Ta){for(Ga=A5((Ha=new dU(Ta),new B5(Ta,Ha)));xT(Ga.a.a);)ja=(Ga.a.b=iq(Ga.a.a)).Ii(),mr(d.b,ja.a,u5(ja,X),!1);d.b.N|=4}Fr(d.b);w5(d.b);fa&&ur(d.b,!0);b=new Nr(c);return wx(b.a.a)}function z5(a){return null!=String.fromCharCode(a).match(/[A-Z]/i)}function A5(a){a=new gU(a.b.a);return new C5(a)}function B5(a,b){this.a=a;this.b=b}x(641,629,{},B5);\n_.Fi=function(a){a:{var b,c;for(c=new gU((new dU(this.a)).a);xT(c.a);)if(b=c.b=iq(c.a),b=b.Ii(),null==a?null==b:nw(a,b)){a=!0;break a}a=!1}return a};_.Ye=function(){return A5(this)};_.rg=function(){return this.b.a.c};_.a=null;_.b=null;function C5(a){this.a=a}x(642,1,{},C5);_.xe=function(){return xT(this.a.a)};_.ye=function(){return(this.a.b=iq(this.a.a)).Ii()};_.ze=function(){fU(this.a)};_.a=null;function D5(){LT();this.a=6122;this.b=12230397}x(658,1,{},D5);x(708,601,yn);\n_.be=function(){var a,b,c,d,e;a=b=d=null;if(this.b.a==(EO(),FO)&&this.b.i==(GO(),HO))try{var f=this.b.b,g,h,j;j=null;h=new qs;Yr(new ns,h,new QJ(new UJ(f)))&&(g=new Nr(h),j=wx(g.a.a));b=j;if(null==b)throw new ap("V3000 read failed.");a=Tk;this.a.Kc.a="V3000 conversion provided by OpenChemLib"}catch(l){if(l=Oo(l),E(l,101))c=l,d=c._d();else throw l;}else if(this.b.a==ZU)try{var m=this.b.b,q,r,t,y,u,s,F;b=-1!=m.indexOf(ee)?(q=aT(m,ee),r=3<=q.length&&0<q[2].length,t=2<=q.length&&0<q[1].length,y=y5(q[0]),\nu=r?y5(q[2]):y5(n),s=t?y5(q[1]):y5(n),F=n,F+=Db,F+=xP(1,3)+xP(1,3),t&&(F+=xP(1,3)),F+=ga,F+=Ab+y,F+=Ab+u,t&&(F+=Ab+s),F):y5(m);this.b.f==(BO(),KO)?a="readSMIRKS":this.b.f==WU&&(a="readSMILES");this.a.Kc.a="SMILES conversion provided by OpenChemLib"}catch(G){if(G=Oo(G),E(G,101))c=G,d="SMILES parsing error:"+c._d();else throw G;}else if(d="Invalid or unsupported input",this.a.ad&&!this.b.d)try{var H,v=new p5,ea=cs(this.b.b),da;if(null==ea||0==ea.length)da=null;else{var T=cT(ea),ja,Ga,yc,Ta,Gb;if(null==\nT)da=null;else{n5(v,T,0);ja=$(v,4);Ta=$(v,4);8<ja&&(ja=Ta);Ga=$(v,ja);yc=$(v,Ta);Gb=new es(Ga,yc);var M=null,kb,xa,fa,aa,ra,Fa,Ub,S,Ja,dc,gd,Ha,Ma,eb,Jc,ua,$a,ba,za,W,ub,X,O,ac,Pb,yd,qd,qb,oa,Yb,sa,R,pa,Kc,Fd,zd,hd,ib,Qa,Hb,lb,Vb,rc,sc,zc,K,Ka,Xc,Jb,rb,nb,ad,Gd,rd,bd,ka,Ac,Oc,vb,Ca,Bc,tc,wb,lc,yb,id,sd,cd,Cc,ab,Dc,Pc;id=8;v.f=Gb;Uq(v.f);if(!(null==T||0==T.length))if(null!=M&&0==M.length&&(M=null),n5(v,T,0),fa=$(v,4),ua=$(v,4),8<fa&&(id=fa,fa=ua),0==fa)ur(v.f,1==$(v,1));else{aa=$(v,fa);ra=$(v,ua);\nbd=$(v,fa);vb=$(v,fa);Oc=$(v,fa);Pb=$(v,fa);for(S=0;S<aa;++S)Pq(v.f,6);for(K=0;K<bd;++K)Sq(v.f,$(v,fa),7);for(K=0;K<vb;++K)Sq(v.f,$(v,fa),8);for(K=0;K<Oc;++K)Sq(v.f,$(v,fa),$(v,8));for(K=0;K<Pb;++K)er(v.f,$(v,fa),$(v,4)-8);yd=1+ra-aa;pa=$(v,4);Jc=0;or(v.f,0,0);pr(v.f,0,0);qr(v.f,0,0);Kc=null!=M&&39<=M[0];Pc=ab=cd=yb=0;Yb=oa=!1;Kc&&(M.length>2*aa-2&&39==M[2*aa-2]||M.length>3*aa-3&&39==M[3*aa-3]?(Yb=!0,Ka=(oa=M.length==3*aa-3+9)?3*aa-3:2*aa-2,eb=86*(M[Ka+1]-40)+M[Ka+2]-40,yb=Math.pow(10,eb/2E3-1),Ka+=\n2,sd=86*(M[Ka+1]-40)+M[Ka+2]-40,cd=Math.pow(10,sd/1500-1),Ka+=2,Cc=86*(M[Ka+1]-40)+M[Ka+2]-40,ab=Math.pow(10,Cc/1500-1),oa&&(Ka+=2,Dc=86*(M[Ka+1]-40)+M[Ka+2]-40,Pc=Math.pow(10,Dc/1500-1))):oa=M.length==3*aa-3);v.b&&oa&&(M=null,Kc=!1);for(K=1;K<aa;++K)Fd=$(v,pa),0==Fd?(Kc&&(or(v.f,K,v.f.G[0].a+8*(M[2*K-2]-83)),pr(v.f,K,v.f.G[0].b+8*(M[2*K-1]-83)),oa&&qr(v.f,K,v.f.G[0].c+8*(M[2*aa-3+K]-83))),++yd):(Jc+=Fd-1,Kc&&(or(v.f,K,vo(v.f,Jc)+M[2*K-2]-83),pr(v.f,K,wo(v.f,Jc)+M[2*K-1]-83),oa&&qr(v.f,K,xo(v.f,Jc)+\n(M[2*aa-3+K]-83))),Tq(v.f,Jc,K,1));for(K=0;K<yd;++K)Tq(v.f,$(v,fa),$(v,fa),1);Jb=C(Zn,Tm,-1,ra,2);for(ba=0;ba<ra;++ba)switch(ub=$(v,2),ub){case 0:m5(v.f,D(v.f,0,ba))||m5(v.f,D(v.f,1,ba))?$n(v.f,ba,32):Jb[ba]=!0;break;case 2:$n(v.f,ba,2);break;case 3:$n(v.f,ba,4)}xa=$(v,fa);for(K=0;K<xa;++K)if(S=$(v,fa),8==id)Ca=$(v,2),3==Ca?(gr(v.f,S,1,0),mr(v.f,S,1,!1)):mr(v.f,S,Ca,!1);else switch(Ca=$(v,3),Ca){case 4:mr(v.f,S,1,!1);gr(v.f,S,1,$(v,3));break;case 5:mr(v.f,S,2,!1);gr(v.f,S,1,$(v,3));break;case 6:mr(v.f,\nS,1,!1);gr(v.f,S,2,$(v,3));break;case 7:mr(v.f,S,2,!1);gr(v.f,S,2,$(v,3));break;default:mr(v.f,S,Ca,!1)}8==id&&0==$(v,1)&&(v.f.I=!0);kb=$(v,ua);for(K=0;K<kb;++K)if(ba=$(v,ua),1==v.f.E[ba])switch(Ca=$(v,3),Ca){case 4:sr(v.f,ba,1,!1);rr(v.f,ba,1,$(v,3));break;case 5:sr(v.f,ba,2,!1);rr(v.f,ba,1,$(v,3));break;case 6:sr(v.f,ba,1,!1);rr(v.f,ba,2,$(v,3));break;case 7:sr(v.f,ba,2,!1);rr(v.f,ba,2,$(v,3));break;default:sr(v.f,ba,Ca,!1)}else sr(v.f,ba,$(v,2),!1);ur(v.f,1==$(v,1));Ub=null;for(Ac=0;1==$(v,1);)switch(R=\nAc+$(v,4),R){case 0:ka=$(v,fa);for(K=0;K<ka;++K)S=$(v,fa),nr(v.f,S,2048);break;case 1:ka=$(v,fa);for(K=0;K<ka;++K)S=$(v,fa),Gd=$(v,8),lr(v.f,S,Gd);break;case 2:ka=$(v,ua);for(K=0;K<ka;++K)ba=$(v,ua),$n(v.f,ba,64);break;case 3:ka=$(v,fa);for(K=0;K<ka;++K)S=$(v,fa),nr(v.f,S,4096);break;case 4:ka=$(v,fa);for(K=0;K<ka;++K)S=$(v,fa),lc=$(v,4)<<3,nr(v.f,S,lc);break;case 5:ka=$(v,fa);for(K=0;K<ka;++K)S=$(v,fa),Fa=$(v,2)<<1,nr(v.f,S,Fa);break;case 6:ka=$(v,fa);for(K=0;K<ka;++K)S=$(v,fa),nr(v.f,S,1);break;\ncase 7:ka=$(v,fa);for(K=0;K<ka;++K)S=$(v,fa),sc=$(v,4)<<7,nr(v.f,S,sc);break;case 8:ka=$(v,fa);for(K=0;K<ka;++K){S=$(v,fa);gd=$(v,4);Ja=C(B,w,-1,gd,1);for(rb=0;rb<gd;++rb)dc=$(v,8),Ja[rb]=dc;var Ad=v.f,bc=S,uc=Ja;null==Ad.t&&(Ad.t=C(Co,cn,91,Ad.J,0));null!=uc&&kp(uc);Ad.t[bc]=uc;Ad.N=0;Ad.H=!0}break;case 9:ka=$(v,ua);for(K=0;K<ka;++K)ba=$(v,ua),lc=$(v,2)<<4,tr(v.f,ba,lc);break;case 10:ka=$(v,ua);for(K=0;K<ka;++K)ba=$(v,ua),X=$(v,4),tr(v.f,ba,X);break;case 11:ka=$(v,fa);for(K=0;K<ka;++K)S=$(v,fa),\nnr(v.f,S,8192);break;case 12:ka=$(v,ua);for(K=0;K<ka;++K)ba=$(v,ua),O=$(v,8)<<6,tr(v.f,ba,O);break;case 13:ka=$(v,fa);for(K=0;K<ka;++K)S=$(v,fa),Bc=$(v,3)<<14,nr(v.f,S,Bc);break;case 14:ka=$(v,fa);for(K=0;K<ka;++K)S=$(v,fa),rd=$(v,5)<<17,nr(v.f,S,rd);break;case 15:Ac=16;break;case 16:ka=$(v,fa);for(K=0;K<ka;++K)S=$(v,fa),wb=$(v,3)<<22,nr(v.f,S,wb);break;case 17:ka=$(v,fa);for(K=0;K<ka;++K)S=$(v,fa),dr(v.f,S,$(v,4));break;case 18:ka=$(v,fa);ad=$(v,4);for(K=0;K<ka;++K){S=$(v,fa);sa=$(v,ad);nb=C(Bp,\nnn,-1,sa,1);for(rb=0;rb<sa;++rb)nb[rb]=$(v,7)<<24>>24;var td=v.f,Ec=S,jd=Vq(nb,0,nb.length),Lc=void 0;if(null!=jd)if(0==jd.length)jd=null;else if(Lc=wr(jd),0!=Lc&&Q(jd,Jq[Lc])||Q(jd,fe))Sq(td,Ec,Lc),jd=null;null==jd?null!=td.r&&(td.r[Ec]=null):(null==td.r&&(td.r=C(Nq,o,3,td.J,0)),td.r[Ec]=cT(jd))}break;case 19:ka=$(v,fa);for(K=0;K<ka;++K)S=$(v,fa),ac=$(v,3)<<25,nr(v.f,S,ac);break;case 20:ka=$(v,ua);for(K=0;K<ka;++K)ba=$(v,ua),wb=$(v,3)<<14,tr(v.f,ba,wb);break;case 21:ka=$(v,fa);for(K=0;K<ka;++K)S=\n$(v,fa),ir(v.f,S,$(v,2)<<4);break;case 22:ka=$(v,fa);for(K=0;K<ka;++K)S=$(v,fa),nr(v.f,S,268435456);break;case 23:ka=$(v,ua);for(K=0;K<ka;++K)ba=$(v,ua),tr(v.f,ba,131072);break;case 24:ka=$(v,ua);for(K=0;K<ka;++K)ba=$(v,ua),Fa=$(v,2)<<18,tr(v.f,ba,Fa);break;case 25:for(K=0;K<aa;++K)if(1==$(v,1)){var Ef=v.f;Ef.s[K]|=512}break;case 26:ka=$(v,ua);Ub=C(B,w,-1,ka,1);for(K=0;K<ka;++K)Ub[K]=$(v,ua);break;case 27:ka=$(v,fa);for(K=0;K<ka;++K)S=$(v,fa),nr(v.f,S,536870912)}Xn(new ko(v.f),Jb);if(null!=Ub)for(za=\n0,W=Ub.length;za<W;++za)ba=Ub[za],$n(v.f,ba,2==v.f.E[ba]?4:2);qd=0;if(null==M&&T.length>v.d+1&&(32==T[v.d+1]||9==T[v.d+1]))M=T,qd=v.d+2;if(null!=M)try{if(33==M[qd]||35==M[qd]){n5(v,M,qd+1);oa=1==$(v,1);Yb=1==$(v,1);tc=2*$(v,4);$a=1<<tc;ba=0;for(S=1;S<aa;++S)ba<ra&&D(v.f,1,ba)==S?(Vb=D(v.f,0,ba++),lb=1):(Vb=0,lb=8),or(v.f,S,vo(v.f,Vb)+lb*($(v,tc)-~~($a/2))),pr(v.f,S,wo(v.f,Vb)+lb*($(v,tc)-~~($a/2))),oa&&qr(v.f,S,xo(v.f,Vb)+lb*($(v,tc)-~~($a/2)));Ma=oa?1.5:(Xo(),24);Ha=Wq(v.f,aa,ra,Ma);if(35==M[qd]){zc=\n0;rc=C(B,w,-1,aa,1);for(S=0;S<aa;++S)zc+=rc[S]=jp(v.f,S);for(S=0;S<aa;++S)for(K=0;K<rc[S];++K)sc=Pq(v.f,1),Tq(v.f,S,sc,1),or(v.f,sc,vo(v.f,S)+($(v,tc)-~~($a/2))),pr(v.f,sc,wo(v.f,S)+($(v,tc)-~~($a/2))),oa&&qr(v.f,sc,xo(v.f,S)+($(v,tc)-~~($a/2)));aa+=zc}if(Yb){var Mc=$(v,tc),Qc=Math.log(2E3)*Math.LOG10E*Mc/($a-1)-1;yb=Math.pow(10,Qc);cd=yb*o5($(v,tc),$a);ab=yb*o5($(v,tc),$a);oa&&(Pc=yb*o5($(v,tc),$a));lb=yb/Ha;for(S=0;S<aa;++S)or(v.f,S,cd+lb*vo(v.f,S)),pr(v.f,S,ab+lb*wo(v.f,S)),oa&&qr(v.f,S,Pc+lb*\nxo(v.f,S))}else{lb=1.5/Ha;for(S=0;S<aa;++S)or(v.f,S,lb*vo(v.f,S)),pr(v.f,S,lb*wo(v.f,S)),oa&&qr(v.f,S,lb*xo(v.f,S))}}else if(oa&&!Yb&&0==yb&&(yb=1.5),0!=yb&&0!=v.f.p){for(ba=Ha=0;ba<v.f.p;++ba)zd=vo(v.f,D(v.f,0,ba))-vo(v.f,D(v.f,1,ba)),hd=wo(v.f,D(v.f,0,ba))-wo(v.f,D(v.f,1,ba)),ib=oa?xo(v.f,D(v.f,0,ba))-xo(v.f,D(v.f,1,ba)):0,Ha+=Math.sqrt(zd*zd+hd*hd+ib*ib);Ha/=v.f.p;Hb=yb/Ha;for(S=0;S<v.f.o;++S)or(v.f,S,vo(v.f,S)*Hb+cd),pr(v.f,S,wo(v.f,S)*Hb+ab),oa&&qr(v.f,S,xo(v.f,S)*Hb+Pc)}}catch(jb){if(jb=Oo(jb),\nE(jb,101))Qa=jb,Qa._d(),M=null,oa=!1;else throw jb;}if((qb=null!=M&&!oa)||v.b){Yn(v.f,3);for(ba=0;ba<v.f.d;++ba)if(2==go(v.f,ba)&&!Mo(v.f,ba)&&0==(v.f.C[ba]&3)){var Ld=v.f;Ld.C[ba]|=16777216}}!qb&&v.b&&(v.f.N|=4,Xc=new x5,Xc.i=new D5,Ls(Xc,v.f),qb=!0);qb?(Fr(v.f),w5(v.f)):oa||(v.f.N|=4)}da=Gb}}H=new Nr(da);b=wx(H.a.a);a="readOCLCode";d=null}catch(ze){if(ze=Oo(ze),!E(ze,101))throw ze;}e=!1;if(null!=b&&null==d)try{(e=IO(this.a,b,!1))&&this.c&&tM(this.a,a,0,0,0,!0)}catch(ob){if(ob=Oo(ob),E(ob,101))d=\n"Invalid converted molfile";else throw ob;}this.a.hc=e;this.e?e?QO(this.e):RO(this.e,new ap(d)):null!=d&&G1(this.a,d);this.d&&wH(this.a)};Z(641);Z(642);Z(24);Z(29);Z(30);U(gZ)(1);\n//@ sourceURL=1.js\n')
  