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