1 || {*}.modelindex.max > 0){ delete molecule > 1 or modelindex > 0;x = getProperty('extractModel',{*});load inline @x};"),
!f&&this._noscript?this._applet.viewer.loadInline(e,"\x00"):this._loadMolData(e,f,!1),null!=this._viewSet&&b.View.updateView(this,{chemID:h,data:e}))};h._loadMolData=function(b,f,h){f||(f="");h=h?"append":"model";this._applet.scriptWait('load DATA "'+h+'"'+b+'\nEND "'+h+'" ;'+f)};h._loadModelFromView=function(e){this._currentView=e;var f=e.Jmol;null!=f.data?this.__loadModel(f.data,null,e.info.chemID):null!=e.info.chemID?b._searchMol(this,e.info.chemID,null,!1):(f=e.JME)&&f.applet._show2d(!1,this)};
h._updateView=function(){null!=this._viewSet&&this._applet&&(chemID=""+this._getPropertyAsJavaObject("variableInfo","script('show chemical inchiKey')"),chemID=36>chemID.length()?null:chemID.substring(36).split("\n")[0],b.View.updateView(this,{chemID:chemID,data:""+this._getPropertyAsJavaObject("evaluate","extractModel","{visible}")}))};h._atomPickedCallback=function(e,f){if(!(0>f)){var h=[f+1];b.View.updateAtomPick(this,h);this._updateAtomPick(h)}};h._updateAtomPick=function(b){this._script(0==b.length?
"select none":"select on visible and (@"+b.join(",@")+")")};h._isDeferred=function(){return this._cover&&this._isCovered&&this._deferApplet};h._checkDeferred=function(b){return this._isDeferred()?(this._coverScript=b,this._cover(!1),!0):!1};h._getSmiles=function(){return this._evaluate("{visible}.find('SMILES')")};h._getMol=function(){return this._evaluate("getProperty('ExtractModel',{visible})")};h._getMol2D=function(){return jmol._evaluate("script('select visible;show chemical sdf')")};b.jmolSmiles=
function(b){return b._getSmiles()}})(Jmol,document);
(function(b){var l=b.controls={_hasResetForms:!1,_scripts:[""],_checkboxMasters:{},_checkboxItems:{},_actions:{},_buttonCount:0,_checkboxCount:0,_radioGroupCount:0,_radioCount:0,_linkCount:0,_cmdCount:0,_menuCount:0,_previousOnloadHandler:null,_control:null,_element:null,_appletCssClass:null,_appletCssText:"",_buttonCssClass:null,_buttonCssText:"",_checkboxCssClass:null,_checkboxCssText:"",_radioCssClass:null,_radioCssText:"",_linkCssClass:null,_linkCssText:"",_menuCssClass:null,_menuCssText:""};
l._addScript=function(b,h){var e=l._scripts.length;l._scripts[e]=[b,h];return e};l._getIdForControl=function(b,h){return"string"==typeof b?b:!h||!b._canScript||b._canScript(h)?b._id:null};l._radio=function(b,h,e,m,r,d,a,c){var k=l._getIdForControl(b,h);if(null==k)return null;++l._radioCount;void 0!=d&&null!=d||(d="jmolRadioGroup"+(l._radioGroupCount-1));if(!h)return"";void 0!=a&&null!=a||(a="jmolRadio"+(l._radioCount-1));void 0!=e&&null!=e||(e=h.substring(0,32));r||(r="");b="";l._actions[a]=
l._addScript(k,h);h='";0<=e.toLowerCase().indexOf("")&&(h+=b,b="");return h+('"+b+r)};l._scriptExecute=function(f,h){var e=b._applets[h[0]],l=h[1];if("object"==typeof l)l[0](f,l,
e);else"function"==typeof l?l(e):b.script(e,l)};l.__checkScript=function(b,h){var e=0<=h.value.indexOf("JSCONSOLE ")||""===b._scriptCheck(h.value);h.style.color=e?"black":"red";return e};l.__getCmd=function(b,h){if(h._cmds&&h._cmds.length){var e=h._cmds[h._cmdpt=(h._cmdpt+h._cmds.length+b)%h._cmds.length];setTimeout(function(){h.value=e},10);h._cmdadd=1;h._cmddir=b}};l._commandKeyPress=function(f,h,e){f=13==f?13:window.event?window.event.keyCode:f?f.keyCode||f.which:0;var m=document.getElementById(h),
r=b._applets[e];switch(f){case 13:h=m.value;if(l.__checkScript(r,m)&&(l._scriptExecute(m,[e,h])||1))m._cmds||(m._cmds=[],m._cmddir=0,m._cmdpt=-1,m._cmdadd=0),h&&0==m._cmdadd?(++m._cmdpt,m._cmds.splice(m._cmdpt,0,h),m._cmdadd=0,m._cmddir=0):m._cmdadd=0,m.value="";return!1;case 27:return setTimeout(function(){m.value=""},20),!1;case 38:l.__getCmd(-1,m);break;case 40:l.__getCmd(1,m);break;default:m._cmdadd=0}setTimeout(function(){l.__checkScript(r,m)},20);return!0};l._click=function(b,h){l._element=
b;1==arguments.length&&(h=l._actions[b.id]);l._scriptExecute(b,l._scripts[h])};l._menuSelected=function(b){var h=b.value;if(void 0!=h)l._scriptExecute(b,l._scripts[h]);else{h=b.length;if("number"==typeof h)for(var e=0;e";b._debugAlert&&alert(h);return b._documentWrite(h)};l._getCheckbox=function(f,h,e,m,r,d,a){var c=l._getIdForControl(f,h);null!=c&&(c=l._getIdForControl(f,e));if(null==c)return"";void 0!=d&&null!=d||(d="jmolCheckbox"+l._checkboxCount);++l._checkboxCount;if(void 0==h||null==h||void 0==e||null==e)alert("jmolCheckbox requires two scripts");else if(void 0==m||null==m)alert("jmolCheckbox requires a label");else return l._actions[d]=[l._addScript(c,h),l._addScript(c,e)],f="",
r='",0<=m.toLowerCase().indexOf("")&&(r+=f,f=""),r+='"+f,b._debugAlert&&alert(r),b._documentWrite(r)};l._getCommandInput=function(f,h,e,m,r){f=l._getIdForControl(f,"x");if(null==f)return"";
void 0!=m&&null!=m||(m="jmolCmd"+l._cmdCount);void 0!=h&&null!=h||(h="Execute");void 0!=e&&!isNaN(e)||(e=60);++l._cmdCount;h='";b._debugAlert&&alert(h);return b._documentWrite(h)};l._getLink=
function(f,h,e,m,r){f=l._getIdForControl(f,h);if(null==f)return"";void 0!=m&&null!=m||(m="jmolLink"+l._linkCount);void 0!=e&&null!=e||(e=h.substring(0,32));++l._linkCount;h=l._addScript(f,h);e='"+e+"";b._debugAlert&&alert(e);return b._documentWrite(e)};
l._getMenu=function(f,h,e,m,r){var d=l._getIdForControl(f,null);void 0!=m&&null!=m||(m="jmolMenu"+l._menuCount);++l._menuCount;d=typeof h;if(null!=d&&"object"==d&&h.length){var a=h.length;"number"!=typeof e||1==e?e=null:0>e&&(e=a);e='";b._debugAlert&&alert(e);return b._documentWrite(e)}};l._getRadio=function(f,h,e,m,r,d,a,c){0==l._radioGroupCount&&++l._radioGroupCount;d||(d="jmolRadioGroup"+(l._radioGroupCount-1));f=l._radio(f,h,e,m,r,d,a?a:d+"_"+l._radioCount,c?c:0);if(null==
f)return"";b._debugAlert&&alert(f);return b._documentWrite(f)};l._getRadioGroup=function(f,h,e,m,r,d){var a=typeof h;if("object"!=a||null==a||!h.length)alert("invalid arrayOfRadioButtons");else{void 0!=e&&null!=e||(e=" ");var c=h.length;++l._radioGroupCount;m||(m="jmolRadioGroup"+(l._radioGroupCount-1));for(var k="",q=0;q";b._debugAlert&&alert(k);return b._documentWrite(k)}}})(Jmol);
(function(b){var l=function(b){b="&"+b+"=";return decodeURI(("&"+document.location.search.substring(1)+b).split(b)[1].split("&")[0])};b._j2sPath=l("_J2S");b._jarFile=l("_JAR");b._use=l("_USE");b.getVersion=function(){return b._jmolInfo.version};b.getApplet=function(f,h,e){return b._Applet._get(f,h,e)};b.getJMEApplet=function(f,h,e,l){return b._JMEApplet._get(f,h,e,l)};b.getJSVApplet=function(f,h,e){return b._JSVApplet._get(f,h,e)};b.loadFile=function(b,h,e){b._loadFile(h,e)};b.script=function(b,h){b._checkDeferred(h)||
b._script(h)};b.scriptCheck=function(b,h){return b&&b._scriptCheck&&b._ready&&b._scriptCheck(h)};b.scriptWait=function(b,h){return b._scriptWait(h)};b.scriptEcho=function(b,h){return b._scriptEcho(h)};b.scriptMessage=function(b,h){return b._scriptMessage(h)};b.scriptWaitOutput=function(b,h){return b._scriptWait(h)};b.scriptWaitAsArray=function(b,h){return b._scriptWaitAsArray(h)};b.search=function(b,h,e){b._search(h,e)};b.evaluateVar=function(b,h){return b._evaluate(h)};b.evaluate=function(b,h){return b._evaluateDEPRECATED(h)};
b.getAppletHtml=function(f,h){if(h){var e=b._document;b._document=null;f=b.getApplet(f,h);b._document=e}return f._code};b.getPropertyAsArray=function(b,h,e){return b._getPropertyAsArray(h,e)};b.getPropertyAsJavaObject=function(b,h,e){return b._getPropertyAsJavaObject(h,e)};b.getPropertyAsJSON=function(b,h,e){return b._getPropertyAsJSON(h,e)};b.getPropertyAsString=function(b,h,e){return b._getPropertyAsString(h,e)};b.getStatus=function(b,h){return b._getStatus(h)};b.resizeApplet=function(b,h){return b._resizeApplet(h)};
b.restoreOrientation=function(b,h){return b._restoreOrientation(h)};b.restoreOrientationDelayed=function(b,h,e){return b._restoreOrientationDelayed(h,e)};b.saveOrientation=function(b,h){return b._saveOrientation(h)};b.say=function(b){alert(b)};b.clearConsole=function(b){b._clearConsole()};b.getInfo=function(b){return b._info};b.setInfo=function(b,h,e){b._info=h;2")};
b.jmolButton=function(f,h,e,l,r){return b.controls._getButton(f,h,e,l,r)};b.jmolCheckbox=function(f,h,e,l,r,d,a){return b.controls._getCheckbox(f,h,e,l,r,d,a)};b.jmolCommandInput=function(f,h,e,l,r){return b.controls._getCommandInput(f,h,e,l,r)};b.jmolHtml=function(f){return b._documentWrite(f)};b.jmolLink=function(f,h,e,l,r){return b.controls._getLink(f,h,e,l,r)};b.jmolMenu=function(f,h,e,l,r){return b.controls._getMenu(f,h,e,l,r)};b.jmolRadio=function(f,h,e,l,r,d,a,c){return b.controls._getRadio(f,
h,e,l,r,d,a,c)};b.jmolRadioGroup=function(f,h,e,l,r,d){return b.controls._getRadioGroup(f,h,e,l,r,d)};b.setCheckboxGroup=function(f,h){b.controls._cbSetCheckboxGroup(f,h,arguments)};b.setDocument=function(f){b._document=f};b.setXHTML=function(f){b._isXHTML=!0;b._XhtmlElement=null;b._XhtmlAppendChild=!1;f&&(b._XhtmlElement=document.getElementById(f),b._XhtmlAppendChild=!0)};b.setAppletCss=function(f,h){null!=f&&(b.controls._appletCssClass=f);b.controls._appletCssText=h?h+" ":f?'class="'+f+'" ':""};
b.setButtonCss=function(f,h){null!=f&&(b.controls._buttonCssClass=f);b.controls._buttonCssText=h?h+" ":f?'class="'+f+'" ':""};b.setCheckboxCss=function(f,h){null!=f&&(b.controls._checkboxCssClass=f);b.controls._checkboxCssText=h?h+" ":f?'class="'+f+'" ':""};b.setRadioCss=function(f,h){null!=f&&(b.controls._radioCssClass=f);b.controls._radioCssText=h?h+" ":f?'class="'+f+'" ':""};b.setLinkCss=function(f,h){null!=f&&(b.controls._linkCssClass=f);b.controls._linkCssText=h?h+" ":f?'class="'+f+'" ':""};
b.setMenuCss=function(f,h){null!=f&&(b.controls._menuCssClass=f);b.controls._menuCssText=h?h+" ":f?'class="'+f+'" ':""};b.setAppletSync=function(f,h,e){b._syncedApplets=f;b._syncedCommands=h;b._syncedReady={};b._isJmolJSVSync=e};b.setGrabberOptions=function(f){b._grabberOptions=f};b.setAppletHtml=function(f,h){f._code&&(b.$html(h,f._code),f._init&&!f._deferApplet&&f._init())};b.coverApplet=function(b,h){b._cover&&b._cover(h)};b.setFileCaching=function(f,h){f?f._cacheFiles=h:b.fileCache=h?{}:null};
b.updateView=function(b,h,e){b._updateView(h,e)}})(Jmol);
LoadClazz=function(){window["j2s.clazzloaded"]||(window["j2s.clazzloaded"]=!1);window["j2s.clazzloaded"]||(window["j2s.clazzloaded"]=!0,window["j2s.object.native"]=!0,Class=Clazz=function(){},function(b){b.__debuggingBH=!1;b._profile=window["j2s.doProfile"]&&self.JSON?{}:null;b.getProfile=function(){var d="";if(b._profile){var d=[],a;for(a in b._profile){var c=""+b._profile[a];d.push(" ".substring(c.length)+c+"\t"+a)}d=d.sort().reverse().join("\r\n");b._profile={}}return d};b.addProfile=function(d,
a,c){d=d.__CLASS_NAME__+" "+a+" "+JSON.stringify(c);b._profile[d]||(b._profile[d]=0);b._profile[d]++};NullObject=function(){};JavaObject=Object;b._supportsNativeObject=window["j2s.object.native"];JavaObject=b._supportsNativeObject?function(){}:Object;ClazzLoaderProgressMonitor=ClassLoaderProgressMonitor={};b.Console={};b.dateToString=Date.prototype.toString;b.getSignature=function(b,a,c,k){return k?b[a]=c:b[a]};b.addProto=function(d,a,c){b.getSignature(d,a,c,!0)};var l=JavaObject.prototype;b.addProto(l,
"equals",function(b){return this==b});b.addProto(l,"hashCode",function(){try{return this.toString().hashCode()}catch(b){var a=":",c;for(c in this)a+=c+":";return a.hashCode()}});b.addProto(l,"getClass",function(){return b.getClass(this)});b.addProto(l,"clone",function(){return b.clone(this)});b.clone=function(b){var a=new b.constructor,c;for(c in b)a[c]=b[c];return a};b.addProto(l,"finalize",function(){});b.addProto(l,"notify",function(){});b.addProto(l,"notifyAll",function(){});b.addProto(l,"wait",
function(){});b.addProto(l,"to$tring",Object.prototype.toString);b.addProto(l,"toString",function(){return null!=this.__CLASS_NAME__?"["+this.__CLASS_NAME__+" object]":this.to$tring.apply(this,arguments)});if(b._supportsNativeObject){b._extendedObjectMethods="equals hashCode getClass clone finalize notify notifyAll wait to$tring toString".split(" ");for(var f=0;fk)return"["==c.charAt(0)?b.extractClassName(c):c.replace(/[^a-zA-Z0-9]/g,"");var k=k+8,e=c.indexOf("(",k);if(0>e)return"Object";c=c.substring(k,e);if(0<=c.indexOf("Array"))return"Array";c=c.replace(/^\s+/,"").replace(/\s+$/,"");return"anonymous"==c||""==c?"Function":c;case "object":if(null!=
d.__CLASS_NAME__)return d.__CLASS_NAME__;if(null==d.constructor)return"Object";if(null==d.constructor.__CLASS_NAME__){if(d instanceof Number)return"Number";if(d instanceof Boolean)return"Boolean";if(d instanceof Array)return"Array";c=d.toString();if("["==c.charAt(0))return b.extractClassName(c)}}return b.getClassName(d.constructor,!0)};b.getClass=function(d){if(null==d)return JavaObject;if("function"==typeof d)return d;var a=null;if(d instanceof b.CastedNull)a=d.clazzName;else{if("string"==typeof d)return String;
if("object"==typeof d)if(null!=d.__CLASS_NAME__)a=d.__CLASS_NAME__;else return null==d.constructor?JavaObject:d.constructor}return null!=a?b.evalType(a,!0):d.constructor};b.extendsProperties=function(d,a){for(var c in a)"b$"!=c&&("prototype"!=c&&"superClazz"!=c&&"__CLASS_NAME__"!=c&&"implementz"!=c&&!b.checkInnerFunction(a,c))&&(d[c]=a[c])};b.checkInnerFunction=function(d,a){for(var c=0;cc;){if(null!=k.implementz)for(var e=k.implementz,f=
0;ff[j]){h=!1;break}h&&(f[a.length]=e,c[c.length]=f)}if(0==c.length)return null;f=c[0];for(e=1;ec.length)break;if(c.indexOf(j)==c.length-j.length){c=c.substring(0,
c.length-j.length+1);break}}else c=ClazzLoader.getClasspathFor(e,!0);else f=b.binaryFolders,null!=f&&0!=f.length&&(c=f[0]);if(null==c||0==c.length)c="j2s/";c=c.replace(/\\/g,"/");f=c.length;f=c.charAt(f-1);"/"!=f&&(c+="/");null!=this.base?a.url=c+d:(f=e.lastIndexOf("."),a.url=-1==f||null!=this.base?c+d:c+e.substring(0,f).replace(/\./g,"/")+"/"+d)}return a},defineMethod:function(d,a,c){b.defineMethod(this,d,a,c)},defineStaticMethod:function(d,a,c){b.defineMethod(this,d,a,c);this[d]=this.prototype[d]},
makeConstructor:function(d,a){b.makeConstructor(this,d,a)}};b.decorateFunction=function(d,a,c){null!=window.ClazzLoader&&ClazzLoader.checkInteractive();var e=null;null==a?(e=c,window[c]=d):null!=a.__PKG_NAME__?(e=a.__PKG_NAME__+"."+c,a[c]=d,a===java.lang&&(window[c]=d)):(e=a.__CLASS_NAME__+"."+c,a[c]=d);b.extendJO(d,e);a=b.innerFunctionNames;for(c=0;c")+"\n",c=c.caller;return a};Number.prototype._numberToString=Number.prototype.toString;b.declarePackage("java.io");b.declarePackage("java.lang.annotation");b.declarePackage("java.lang.instrument");b.declarePackage("java.lang.management");
b.declarePackage("java.lang.reflect");b.declarePackage("java.lang.ref");java.lang.ref.reflect=java.lang.reflect;b.declarePackage("java.util");b.declareInterface(java.io,"Closeable");b.declareInterface(java.io,"DataInput");b.declareInterface(java.io,"DataOutput");b.declareInterface(java.io,"Externalizable");b.declareInterface(java.io,"Flushable");b.declareInterface(java.io,"Serializable");b.declareInterface(java.lang,"Iterable");b.declareInterface(java.lang,"CharSequence");b.declareInterface(java.lang,
"Cloneable");b.declareInterface(java.lang,"Appendable");b.declareInterface(java.lang,"Comparable");b.declareInterface(java.lang,"Runnable");b.declareInterface(java.util,"Comparator");java.lang.ClassLoader={__CLASS_NAME__:"ClassLoader"};if(null!=window.Clazz&&null==window.Clazz.unloadClass){b.MethodNotFoundException=function(d,a,c,e){d="";null!=e&&(d=e.substring(1).replace(/\\/g,","));this.message=(null!=c&&"construct"!=c?"Method":"Constructor")+" "+b.getClassName(a,!0)+"."+c+"("+d+") is not found!";
this.toString=function(){return"MethodNotFoundException:"+this.message}};b.prepareCallback=function(d,a){var c=a[0];if(null!=d&&null!=c&&c!==window){var e=[];if(null!=d.b$)for(var f in d.b$)"length"!=f&&(e[f]=d.b$[f]);d.b$=e;var h=b.getClassName(c,!0);e[h.replace(/org\.eclipse\.swt\./,"$wt.")]=c;for(h=b.getClass(c);null!=h.superClazz;)h=h.superClazz,e[b.getClassName(h,!0).replace(/org\.eclipse\.swt\./,"$wt.")]=c;c=c.b$;if(null!=c&&c instanceof Array)for(f in c)"length"!=f&&(e[f]=c[f])}for(e=0;e
b?Math.ceil(b):Math.floor(b)};b.floatToByte=b.floatToShort=b.floatToLong=b.floatToInt;b.doubleToByte=b.doubleToShort=b.doubleToLong=b.doubleToInt=b.floatToInt;b.floatToChar=function(b){return String.fromCharCode(0>b?Math.ceil(b):Math.floor(b))};b.doubleToChar=b.floatToChar;self.Int32Array&&self.Int32Array!=Array?(b.haveInt32=!0,Int32Array.prototype.sort||(Int32Array.prototype.sort=Array.prototype.sort)):(Int32Array=function(b){b||(b=0);var a=Array(b);a.toString=function(){return"[object Int32Array]"};
for(var c=0;c=d.length)return[];var c=d[0];"string"==typeof c&&(c=c.charCodeAt(0));var e=d.length-1,f=d[e];if(2==d.length){if(null==f)return Array(c);if(!0===a&&b.haveInt32)return new Int32Array(c);if(!1===a&&b.haveFloat64)return new Float64Array(c);if(a==Array&&null==f)return Array(c);for(var d=!0===a?new Int32Array:!1===a?new Float64Array:Array(c),h=
c;0<=--h;)d[h]=f;return d}for(var j=Array(e),h=0;hf)return Array(c);try{return a?new Int32Array(c):new Float64Array(c)}catch(h){alert(c+" "+arguments.callee.caller.arguments.callee.caller+h)}}for(f=Array(e);0<=
--e;)f[e]=d[e+1];for(var j=Array(c),e=0;e>24,c=(b&16711680)>>16,e=(b&65280)>>8;b&=255;return 0!=(a&128)?-(((a&127)<<24)+(c<<16)+(e<<8)+b+1):(a<<24)+(c<<16)+(e<<8)+b};b.shortCast=function(){var b=(n&65280)>>8,a=n&255;return 0!=(b&128)?-(((b&127)<<8)+a+1):(b<<8)+b4};b.byteCast=function(b){return 0!=(b&128)?-((b&127)+1):b&255};b.charCast=function(b){return String.fromCharCode(b&255).charAt(0)};b.floatCast=function(b){return b};b.longMasks=[];b.longReverseMasks=[];b.longBits=[];l=[1];for(f=1;53>f;f++)l[f]=l[f-1]+l[f-1];b.longBits=
l;b.longMasks[52]=l[52];for(f=51;0<=f;f--)b.longMasks[f]=b.longMasks[f+1]+l[f];b.longReverseMasks[0]=l[0];for(f=1;52>f;f++)b.longReverseMasks[f]=b.longReverseMasks[f-1]+l[f];b.longLeftShift=function(d,a){if(0==a)return d;if(64<=a)return 0;if(52>a:d>>a};b.intRightShift=function(b,a){return b>>a};b.long0RightShift=function(b,a){return b>>>a};b.int0RightShift=function(b,a){return b>>>a};$_L=b.load;$_W=b.declareAnonymous;$_T=b.declareType;$_J=b.declarePackage;$_C=b.decorateAsClass;$_Z=b.instantialize;$_I=b.declareInterface;
$_D=b.isClassDefined;$_H=b.pu$h;$_P=b.p0p;$_B=b.prepareCallback;$_N=b.innerTypeInstance;$_K=b.makeConstructor;$_U=b.superCall;$_R=b.superConstructor;$_M=b.defineMethod;$_V=b.overrideMethod;$_S=b.defineStatics;$_E=b.defineEnumConstant;$_F=b.cloneFinals;$_Y=b.prepareFields;$_A=b.newArray;$_O=b.instanceOf;$_G=b.inheritArgs;$_X=b.checkPrivateMethod;$_Q=b.makeFunction;$_s=b.registerSerializableFields;$_k=b.overrideConstructor;b.declarePackage("java.lang.reflect");b.declarePackage("java.security");b.innerFunctionNames=
b.innerFunctionNames.concat("getSuperclass isAssignableFrom getMethods getMethod getDeclaredMethods getDeclaredMethod getConstructor getModifiers isArray newInstance".split(" "));b._innerFunctions.getSuperclass=function(){return this.superClazz};b._innerFunctions.isAssignableFrom=function(d){return 0<=b.getInheritedLevel(d,this)};b._innerFunctions.getConstructor=function(){return new java.lang.reflect.Constructor(this,[],[],java.lang.reflect.Modifier.PUBLIC)};b._innerFunctions.getDeclaredMethods=
b._innerFunctions.getMethods=function(){var b=[],a=this.prototype,c;for(c in a)"function"==typeof a[c]&&null==a[c].__CLASS_NAME__&&(b[b.length]=new java.lang.reflect.Method(this,c,[],java.lang.Void,[],java.lang.reflect.Modifier.PUBLIC));a=this;for(c in a)"function"==typeof a[c]&&null==a[c].__CLASS_NAME__&&(b[b.length]=new java.lang.reflect.Method(this,c,[],java.lang.Void,[],java.lang.reflect.Modifier.PUBLIC|java.lang.reflect.Modifier.STATIC));return b};b._innerFunctions.getDeclaredMethod=b._innerFunctions.getMethod=
function(b){var a=this.prototype,c;for(c in a)if(b==c&&"function"==typeof a[c]&&null==a[c].__CLASS_NAME__)return new java.lang.reflect.Method(this,c,[],java.lang.Void,[],java.lang.reflect.Modifier.PUBLIC);a=this;for(c in a)if(b==c&&"function"==typeof a[c]&&null==a[c].__CLASS_NAME__)return new java.lang.reflect.Method(this,c,[],java.lang.Void,[],java.lang.reflect.Modifier.PUBLIC|java.lang.reflect.Modifier.STATIC);return null};b._innerFunctions.getModifiers=function(){return java.lang.reflect.Modifier.PUBLIC};
b._innerFunctions.isArray=function(){return!1};b._innerFunctions.newInstance=function(){return new this};l=b.innerFunctionNames;for(f=0;fa.loadingTimeLag?0:a.loadingTimeLag)):(b.onreadystatechange=null,0<=a.loadingTimeLag?window.setTimeout(d,a.loadingTimeLag):a.xhrOnload(b,c));c=b=null}}};
a.loadingNextByPath=function(b){0<=a.loadingTimeLag?window.setTimeout(function(){a.tryToLoadNext(b)},a.loadingTimeLag):a.tryToLoadNext(b)};a.ieToLoadScriptAgain=function(b,c){return window.setTimeout(function(){a.takeAnotherTry&&(a.failedScripts[b]=0,a.loadedScripts[b]=!1,0=c.STATUS_DECLARED){f=h;break}d[d.length]=b;if(-1!=f){for(h=f;h=c.STATUS_OPTIONALS_LOADED)a.destroyClassNode(b);else{var d=!1;if(null==b.musts||0==b.musts.length||null==b.declaration)d=!0;else for(var d=!0,e=b.musts.length,f=e-1;0<=f;f--){var h=b.musts[f];h.requiredBy=b;if(h.statusc.STATUS_KNOWN&&null==b.declaration)l=!0;else{l=!0;for(f=0;f=d||a.updateNode(f)}d==c.STATUS_OPTIONALS_LOADED&&(b.parents=[])}};a.findNextMustClass=function(b,d){if(null!=b){if(null!=b.musts&&0!=b.musts.length)for(var e=0;e=c.STATUS_OPTIONALS_LOADED))k?window.setTimeout(f,25):f()};a.loadJ2SApp=function(c,e,f){if(null!=c){var h=c;"$"==c.charAt(0)&&(h="org.eclipse.s"+c.substring(1));var k=-1;if(-1!=(k=h.indexOf("@")))c=h.substring(k+1),a.setPrimaryFolder(c),h=h.substring(0,k),k=h.lastIndexOf("."),
-1!=k&&(k=h.substring(0,k),a.packageClasspath(k,c));if(null==e||!(e instanceof Array))e=[];if(null==f){var l=h,m=e;f=function(){b.evalType(l).main(m)}}else f=f(h,e);a.loadClass(h,f)}};a.loadJUnit=function(c,e){a.loadJ2SApp(c,e,function(c){return function(){a.loadClass("junit.textui.TestRunner",function(){junit.textui.TestRunner.run(b.evalType(c))})}})};a.runtimeLoaded=function(){if(0==a.pkgRefCount&&a.isClassDefined(a.runtimeKeyClass)){for(var b=a.queueBe4KeyClazz,c=0;c=b?999999:b};r.maxLatency=40;r.setMaxLatency=function(b){r.maxLatency=0>=b?40:b};r.pinning=!1;r.enablePinning=function(b){r.pinning=b};r.linesCount=0;r.metLineBreak=!1;r.splitNeedFixed=2!="\n".split(/\n/).length;r.splitIntoLineByR=function(b){for(var a=[],c=0,e=-1;;)if(c=b.indexOf("\r",e+1),-1!=c){if(a[a.length]=b.substring(e+1,c),e=c,e+1==b.length){a[a.length]="";break}}else{a[a.length]=b.substring(e+1);break}return a};
r.splitIntoLines=function(b){var a=[];if(null==b)return a;for(var c=0,e=-1;;){var c=b.indexOf("\n",e+1),f=null;-1!=c?(f=0r.maxTotalLines){for(var e=0;ec.childNodes.length)l=document.createElement("DIV"),c.appendChild(l),l.style.whiteSpace="nowrap",r.linesCount++;else try{l=c.childNodes[c.childNodes.length-1]}catch(m){l=document.createElement("DIV"),c.appendChild(l),
l.style.whiteSpace="nowrap",r.linesCount++}var G=document.createElement("SPAN");l.appendChild(G);G.style.whiteSpace="nowrap";null!=a&&(G.style.color=a);0==h[e].length&&(h[e]=String.fromCharCode(160));G.appendChild(document.createTextNode(h[e]));r.pinning||(c.scrollTop+=100);r.metLineBreak=e!=h.length-1?!0:f}f=c.parentNode.className;!r.pinning&&(null!=f&&-1!=f.indexOf("composite"))&&(c.parentNode.scrollTop=c.parentNode.scrollHeight);r.lastOutputTime=(new Date).getTime()};r.clear=function(){try{r.metLineBreak=
!0;var b=window["j2s.lib"],a=b&&b.console;if(a&&(a=document.getElementById(a))){for(var c=a.childNodes,e=c.length-1;0<=e;e--)a.removeChild(c[e]);r.linesCount=0}}catch(f){}};b.alert=function(b){r.consoleOutput(b+"\r\n")};r.c160=String.fromCharCode(160);r.c160+=r.c160+r.c160+r.c160;System.out.print=function(b){r.consoleOutput(b)};System.out.println=function(b){r.consoleOutput("undefined"==typeof b?"\r\n":null==b?"null\r\n":b+"\r\n")};System.err.__CLASS_NAME__="java.io.PrintStream";System.err.print=
function(b){r.consoleOutput(b,"red")};System.err.println=function(b){r.consoleOutput("undefined"==typeof b?"\r\n":null==b?"null\r\n":b+"\r\n","red")};b.setConsoleDiv=function(b){window["j2s.lib"]&&(window["j2s.lib"].console=b)}}(Clazz),Clazz.binaryFolders=ClazzLoader.binaryFolders=[ClazzLoader.getJ2SLibBase()],ClazzLoader.registerPackages("java","io lang lang.reflect util util.regex util.zip net text".split(" ")),window.reflect=java.lang.reflect,ClazzLoader.ignore("net.sf.j2s.ajax.HttpRequest java.util.MapEntry.Type java.net.UnknownServiceException java.lang.Runtime java.security.AccessController java.security.PrivilegedExceptionAction java.io.File java.io.FileInputStream java.io.FileWriter java.io.OutputStreamWriter java.util.Calendar java.text.SimpleDateFormat java.text.DateFormat java.util.concurrent.Executors".split(" ")))};
___JmolDate="$Date: 2014-03-04 20:35:28 -0600 (Tue, 04 Mar 2014) $";___fullJmolProperties="src/org/jmol/viewer/Jmol.properties";___JmolVersion="14.1.11_2014.03.04";
| |