(function(la,ma,na,oa,C,pa,r,qa,s,w,x,ra,sa,D,ta,z,ua,N,va,O,E,da,wa,ea,xa,ya,za,Aa,Ba,Ca,b,Da,Ea,fa,Fa,Ga,Ha,Ia,Ja,Ka,La,Ma,Na,Oa,Pa,Qa,Ra,Sa,Ta,Ua,Va,Wa,Xa,Ya,Za,$a,ab,bb,j,n){var h=Jmol.__$;if(!h.ui)try{var l=h,Q=function(a,c){var e,b,d,g=a.nodeName.toLowerCase();return"area"===g?(e=a.parentNode,b=e.name,!a.href||!b||"map"!==e.nodeName.toLowerCase()?!1:(d=l("img[usemap=#"+b+"]")[0],!!d&&P(d))):(/input|select|textarea|button|object/.test(g)?!a.disabled:"a"===g?a.href||c:c)&&P(a)},P=function(a){return l.expr.filters.visible(a)&&
!l(a).parents().andSelf().filter(function(){return"hidden"===l.css(this,"visibility")}).length},ga=0,ha=/^ui-id-\d+$/;l.ui=l.ui||{};if(!l.ui.version){l.extend(l.ui,{version:"1.9.2",keyCode:{BACKSPACE:8,COMMA:188,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,LEFT:37,NUMPAD_ADD:107,NUMPAD_DECIMAL:110,NUMPAD_DIVIDE:111,NUMPAD_ENTER:108,NUMPAD_MULTIPLY:106,NUMPAD_SUBTRACT:109,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SPACE:32,TAB:9,UP:38}});l.fn.extend({_focus:l.fn.focus,focus:function(a,c){return"number"==
typeof a?this.each(function(){var e=this;setTimeout(function(){l(e).focus();c&&c.call(e)},a)}):this._focus.apply(this,arguments)},scrollParent:function(){var a;return l.ui.ie&&/(static|relative)/.test(this.css("position"))||/absolute/.test(this.css("position"))?a=this.parents().filter(function(){return/(relative|absolute|fixed)/.test(l.css(this,"position"))&&/(auto|scroll)/.test(l.css(this,"overflow")+l.css(this,"overflow-y")+l.css(this,"overflow-x"))}).eq(0):a=this.parents().filter(function(){return/(auto|scroll)/.test(l.css(this,
"overflow")+l.css(this,"overflow-y")+l.css(this,"overflow-x"))}).eq(0),/fixed/.test(this.css("position"))||!a.length?l(document):a},zIndex:function(a){if(void 0!==a)return this.css("zIndex",a);if(this.length){a=l(this[0]);for(var c;a.length&&a[0]!==document;){c=a.css("position");if("absolute"===c||"relative"===c||"fixed"===c)if(c=parseInt(a.css("zIndex"),10),!isNaN(c)&&0!==c)return c;a=a.parent()}}return 0},uniqueId:function(){return this.each(function(){this.id||(this.id="ui-id-"+ ++ga)})},removeUniqueId:function(){return this.each(function(){ha.test(this.id)&&
l(this).removeAttr("id")})}});l.extend(l.expr[":"],{data:l.expr.createPseudo?l.expr.createPseudo(function(a){return function(c){return!!l.data(c,a)}}):function(a,c,e){return!!l.data(a,e[3])},focusable:function(a){return Q(a,!isNaN(l.attr(a,"tabindex")))},tabbable:function(a){var c=l.attr(a,"tabindex"),e=isNaN(c);return(e||0<=c)&&Q(a,!e)}});l(function(){var a=document.body,c=a.appendChild(c=document.createElement("div"));c.offsetHeight;l.extend(c.style,{minHeight:"100px",height:"auto",padding:0,borderWidth:0});
l.support.minHeight=100===c.offsetHeight;l.support.selectstart="onselectstart"in c;a.removeChild(c).style.display="none"});l("").outerWidth(1).jquery||l.each(["Width","Height"],function(a,c){function e(a,c,e,d){return l.each(b,function(){c-=parseFloat(l.css(a,"padding"+this))||0;e&&(c-=parseFloat(l.css(a,"border"+this+"Width"))||0);d&&(c-=parseFloat(l.css(a,"margin"+this))||0)}),c}var b="Width"===c?["Left","Right"]:["Top","Bottom"],d=c.toLowerCase(),g={innerWidth:l.fn.innerWidth,innerHeight:l.fn.innerHeight,
outerWidth:l.fn.outerWidth,outerHeight:l.fn.outerHeight};l.fn["inner"+c]=function(a){return void 0===a?g["inner"+c].call(this):this.each(function(){l(this).css(d,e(this,a)+"px")})};l.fn["outer"+c]=function(a,b){return"number"!=typeof a?g["outer"+c].call(this,a):this.each(function(){l(this).css(d,e(this,a,!0,b)+"px")})}});if(l("").data("a-b","a").removeData("a-b").data("a-b")){var S=l.fn.removeData;l.fn.removeData=function(a){return arguments.length?S.call(this,l.camelCase(a)):S.call(this)}}var T=
/msie ([\w.]+)/.exec(navigator.userAgent.toLowerCase())||[];l.ui.ie=T.length?!0:!1;l.ui.ie6=6===parseFloat(T[1],10);l.fn.extend({disableSelection:function(){return this.bind((l.support.selectstart?"selectstart":"mousedown")+".ui-disableSelection",function(a){a.preventDefault()})},enableSelection:function(){return this.unbind(".ui-disableSelection")}});l.extend(l.ui,{plugin:{add:function(a,c,e){var b;a=l.ui[a].prototype;for(b in e)a.plugins[b]=a.plugins[b]||[],a.plugins[b].push([c,e[b]])},call:function(a,
c,e){var b=a.plugins[c];if(b&&a.element[0].parentNode&&11!==a.element[0].parentNode.nodeType)for(c=0;cc&&a",options:{disabled:!1,create:null},_createWidget:function(a,c){c=k(c||this.defaultElement||this)[0];this.element=k(c);this.uuid=ia++;this.eventNamespace="."+this.widgetName+this.uuid;this.options=k.widget.extend({},this.options,
this._getCreateOptions(),a);this.bindings=k();this.hoverable=k();this.focusable=k();c!==this&&(k.data(c,this.widgetName,this),k.data(c,this.widgetFullName,this),this._on(!0,this.element,{remove:function(a){a.target===c&&this.destroy()}}),this.document=k(c.style?c.ownerDocument:c.document||c),this.window=k(this.document[0].defaultView||this.document[0].parentWindow));this._create();this._trigger("create",null,this._getCreateEventData());this._init()},_getCreateOptions:k.noop,_getCreateEventData:k.noop,
_create:k.noop,_init:k.noop,destroy:function(){this._destroy();this.element.unbind(this.eventNamespace).removeData(this.widgetName).removeData(this.widgetFullName).removeData(k.camelCase(this.widgetFullName));this.widget().unbind(this.eventNamespace).removeAttr("aria-disabled").removeClass(this.widgetFullName+"-disabled ui-state-disabled");this.bindings.unbind(this.eventNamespace);this.hoverable.removeClass("ui-state-hover");this.focusable.removeClass("ui-state-focus")},_destroy:k.noop,widget:function(){return this.element},
option:function(a,c){var e=a,b,d,g;if(0===arguments.length)return k.widget.extend({},this.options);if("string"==typeof a)if(e={},b=a.split("."),a=b.shift(),b.length){d=e[a]=k.widget.extend({},this.options[a]);for(g=0;g=this.options.distance},_mouseDelayMet:function(){return this.mouseDelayMet},_mouseStart:function(){},_mouseDrag:function(){},_mouseStop:function(){},_mouseCapture:function(){return!0}})}catch(eb){System.out.println("coremenu failed to load jQuery.ui.mouse -- jQuery version conflict?")}if(!h.ui.position)try{var W=
function(a,c,e){return[parseInt(a[0],10)*(V.test(a[0])?c/100:1),parseInt(a[1],10)*(V.test(a[1])?e/100:1)]};h.ui=h.ui||{};var G,A=Math.max,t=Math.abs,X=Math.round,Y=/left|center|right/,Z=/top|center|bottom/,$=/[\+\-]\d+%?/,aa=/^\w+/,V=/%$/,ka=h.fn.position;h.position={scrollbarWidth:function(){if(void 0!==G)return G;var a,c,e=h(""),b=e.children()[0];return h("body").append(e),a=b.offsetWidth,
e.css("overflow","scroll"),c=b.offsetWidth,a===c&&(c=e[0].clientWidth),e.remove(),G=a-c},getScrollInfo:function(a){var c=a.isWindow?"":a.element.css("overflow-x"),e=a.isWindow?"":a.element.css("overflow-y"),e="scroll"===e||"auto"===e&&a.heighth?"left":0k?"top":0A(t(j),t(k))?l.important="horizontal":l.important="vertical";a.using.call(this,c,l)});r.offset(h.extend(q,
{using:R}))})};h.ui.position={fit:{left:function(a,c){var e=c.within,b=e.isWindow?e.scrollLeft:e.offset.left,e=e.width,d=a.left-c.collisionPosition.marginLeft,g=b-d,m=d+c.collisionWidth-e-b,h;c.collisionWidth>e?0=m?(h=a.left+g+c.collisionWidth-e-b,a.left+=g-h):0=g?a.left=b:g>m?a.left=b+e-c.collisionWidth:a.left=b:0f?0=m?(h=a.top+g+c.collisionHeight-f-b,a.top+=g-h):0=g?a.top=b:g>m?a.top=b+f-c.collisionHeight:a.top=b:0b){if(f=a.left+m+j+k+c.collisionWidth-d-f,0>f||fm?(n=a.top+h+j+k+c.collisionHeight-d-f,a.top+h+j+k>m&&(0>n||ng&&(0H;u.innerHTML="";v.removeChild(u);if(!1!==h.uiBackCompat){var ba=h.fn.position;
h.fn.position=function(a){if(!a||!a.offset)return ba.call(this,a);var c=a.offset.split(" "),b=a.at.split(" ");return 1===c.length&&(c[1]=c[0]),/^\d/.test(c[0])&&(c[0]="+"+c[0]),/^\d/.test(c[1])&&(c[1]="+"+c[1]),1===b.length&&(/left|center|right/.test(b[0])?b[1]="center":(b[1]=b[0],b[0]="center")),ba.call(this,h.extend(a,{at:b[0]+c[0]+" "+b[1]+c[1],offset:void 0}))}}}catch(fb){System.out.println("coremenu failed to load jQuery.ui.position -- jQuery version conflict?")}if(!h.ui.menu)try{var M=!1;h.widget("ui.menu",
{version:"1.9.2",defaultElement:"",delay:300,options:{icons:{submenu:"ui-icon-carat-1-e"},menus:"ul",position:{my:"left top",at:"right top"},role:"menu",blur:null,focus:null,select:null},_create:function(){this.activeMenu=this.element;this.element.uniqueId().addClass("ui-menu ui-widget ui-widget-content ui-corner-all").toggleClass("ui-menu-icons",!!this.element.find(".ui-icon").length).attr({role:this.options.role,tabIndex:0}).bind("click"+this.eventNamespace,h.proxy(function(a){this.options.disabled&&
a.preventDefault()},this));this.options.disabled&&this.element.addClass("ui-state-disabled").attr("aria-disabled","true");this._on({"mousedown .ui-menu-item > a":function(a){a.preventDefault()},"click .ui-state-disabled > a":function(a){a.preventDefault()},"click .ui-menu-item:has(a)":function(a){var c=h(a.target).closest(".ui-menu-item");!M&&c.not(".ui-state-disabled").length&&(M=!0,this.select(a),c.has(".ui-menu").length?this.expand(a):this.element.is(":focus")||(this.element.trigger("focus",[!0]),
this.active&&1===this.active.parents(".ui-menu").length&&clearTimeout(this.timer)))},"mouseenter .ui-menu-item":function(a){var c=h(a.currentTarget);c.siblings().children(".ui-state-active").removeClass("ui-state-active");this.focus(a,c)},mouseleave:"collapseAll","mouseleave .ui-menu":"collapseAll",focus:function(a,c){var b=this.active||this.element.children(".ui-menu-item").eq(0);c||this.focus(a,b)},blur:function(a){this._delay(function(){h.contains(this.element[0],this.document[0].activeElement)||
this.collapseAll(a)})},keydown:"_keydown"});this.refresh();this._on(this.document,{click:function(a){h(a.target).closest(".ui-menu").length||this.collapseAll(a);M=!1}})},_destroy:function(){this.element.removeAttr("aria-activedescendant").find(".ui-menu").andSelf().removeClass("ui-menu ui-widget ui-widget-content ui-corner-all ui-menu-icons").removeAttr("role").removeAttr("tabIndex").removeAttr("aria-labelledby").removeAttr("aria-expanded").removeAttr("aria-hidden").removeAttr("aria-disabled").removeUniqueId().show();
this.element.find(".ui-menu-item").removeClass("ui-menu-item").removeAttr("role").removeAttr("aria-disabled").children("a").removeUniqueId().removeClass("ui-corner-all ui-state-hover").removeAttr("tabIndex").removeAttr("role").removeAttr("aria-haspopup").children().each(function(){var a=h(this);a.data("ui-menu-submenu-carat")&&a.remove()});this.element.find(".ui-menu-divider").removeClass("ui-menu-divider ui-widget-content")},_keydown:function(a){function c(a){return a.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,
"\\$&")}var b,f,d,g,m=!0;switch(a.keyCode){case h.ui.keyCode.PAGE_UP:this.previousPage(a);break;case h.ui.keyCode.PAGE_DOWN:this.nextPage(a);break;case h.ui.keyCode.HOME:this._move("first","first",a);break;case h.ui.keyCode.END:this._move("last","last",a);break;case h.ui.keyCode.UP:this.previous(a);break;case h.ui.keyCode.DOWN:this.next(a);break;case h.ui.keyCode.LEFT:this.collapse(a);break;case h.ui.keyCode.RIGHT:this.active&&!this.active.is(".ui-state-disabled")&&this.expand(a);break;case h.ui.keyCode.ENTER:case h.ui.keyCode.SPACE:this._activate(a);
break;case h.ui.keyCode.ESCAPE:this.collapse(a);break;default:m=!1,b=this.previousFilter||"",f=String.fromCharCode(a.keyCode),d=!1,clearTimeout(this.filterTimer),f===b?d=!0:f=b+f,g=RegExp("^"+c(f),"i"),b=this.activeMenu.children(".ui-menu-item").filter(function(){return g.test(h(this).children("a").text())}),b=d&&-1!==b.index(this.active.next())?this.active.nextAll(".ui-menu-item"):b,b.length||(f=String.fromCharCode(a.keyCode),g=RegExp("^"+c(f),"i"),b=this.activeMenu.children(".ui-menu-item").filter(function(){return g.test(h(this).children("a").text())})),
b.length?(this.focus(a,b),1").addClass("ui-menu-icon ui-icon "+c).data("ui-menu-submenu-carat",!0);b.attr("aria-haspopup","true").prepend(d);a.attr("aria-labelledby",b.attr("id"))});a=a.add(this.element);a.children(":not(.ui-menu-item):has(a)").addClass("ui-menu-item").attr("role","presentation").children("a").uniqueId().addClass("ui-corner-all").attr({tabIndex:-1,role:this._itemRole()});a.children(":not(.ui-menu-item)").each(function(){var a=
h(this);/[^\-+\ufffdG\ufffd\ufffdG\ufffd\ufffd+\ufffdG\ufffd\ufffdG\ufffd\ufffd\s]/.test(a.text())||a.addClass("ui-widget-content ui-menu-divider")});a.children(".ui-state-disabled").attr("aria-disabled","true");this.active&&!h.contains(this.element[0],this.active[0])&&this.blur()},_itemRole:function(){return{menu:"menuitem",listbox:"option"}[this.options.role]},focus:function(a,c){var b;this.blur(a,a&&"focus"===a.type);this._scrollIntoView(c);this.active=c.first();b=this.active.children("a").addClass("ui-state-focus");
this.options.role&&this.element.attr("aria-activedescendant",b.attr("id"));this.active.parent().closest(".ui-menu-item").children("a:first").addClass("ui-state-active");a&&"keydown"===a.type?this._close():this.timer=this._delay(function(){this._close()},this.delay);b=c.children(".ui-menu");b.length&&/^mouse/.test(a.type)&&this._startOpening(b);this.activeMenu=c.parent();this._trigger("focus",a,{item:c})},_scrollIntoView:function(a){var c,b,f,d,g,m;this._hasScroll()&&(c=parseFloat(h.css(this.activeMenu[0],
"borderTopWidth"))||0,b=parseFloat(h.css(this.activeMenu[0],"paddingTop"))||0,f=a.offset().top-this.activeMenu.offset().top-c-b,d=this.activeMenu.scrollTop(),g=this.activeMenu.height(),m=a.height(),0>f?this.activeMenu.scrollTop(d+f):f+m>g&&this.activeMenu.scrollTop(d+f-g+m))},blur:function(a,c){c||clearTimeout(this.timer);this.active&&(this.active.children("a").removeClass("ui-state-focus"),this.active=null,this._trigger("blur",a,{item:this.active}))},_startOpening:function(a){a.hasClass("ui-state-disabled")||
(clearTimeout(this.timer),"true"===a.attr("aria-hidden")&&(this.timer=this._delay(function(){this._close();this._open(a)},this.delay)))},_open:function(a){var c=h.extend({of:this.active},this.options.position);clearTimeout(this.timer);this.element.find(".ui-menu").not(a.parents(".ui-menu")).hide().attr("aria-hidden","true");a.show().removeAttr("aria-hidden").attr("aria-expanded","true").position(c)},collapseAll:function(a,c){clearTimeout(this.timer);this.timer=this._delay(function(){var b=c?this.element:
h(a&&a.target).closest(this.element.find(".ui-menu"));b.length||(b=this.element);this._close(b);this.blur(a);this.activeMenu=b},this.delay)},_close:function(a){a||(a=this.active?this.active.parent():this.element);a.find(".ui-menu").hide().attr("aria-hidden","true").attr("aria-expanded","false").end().find("a.ui-state-active").removeClass("ui-state-active")},collapse:function(a){var c=this.active&&this.active.parent().closest(".ui-menu-item",this.element);c&&c.length&&(this._close(),this.focus(a,c))},
expand:function(a){var c=this.active&&this.active.children(".ui-menu ").children(".ui-menu-item").first();c&&c.length&&(this._open(c.parent()),this._delay(function(){this.focus(a,c)}))},next:function(a){this._move("next","first",a)},previous:function(a){this._move("prev","last",a)},isFirstItem:function(){return this.active&&!this.active.prevAll(".ui-menu-item").length},isLastItem:function(){return this.active&&!this.active.nextAll(".ui-menu-item").length},_move:function(a,c,b){var f;this.active&&
("first"===a||"last"===a?f=this.active["first"===a?"prevAll":"nextAll"](".ui-menu-item").eq(-1):f=this.active[a+"All"](".ui-menu-item").eq(0));if(!f||!f.length||!this.active)f=this.activeMenu.children(".ui-menu-item")[c]();this.focus(b,f)},nextPage:function(a){var c,b,f;this.active?this.isLastItem()||(this._hasScroll()?(b=this.active.offset().top,f=this.element.height(),this.active.nextAll(".ui-menu-item").each(function(){return c=h(this),0>c.offset().top-b-f}),this.focus(a,c)):this.focus(a,this.activeMenu.children(".ui-menu-item")[this.active?
"last":"first"]())):this.next(a)},previousPage:function(a){var c,b,f;this.active?this.isFirstItem()||(this._hasScroll()?(b=this.active.offset().top,f=this.element.height(),this.active.prevAll(".ui-menu-item").each(function(){return c=h(this),0"+p.__getMenuStyle(a.applet)+"");p.__getStyle=null;a.tainted=!0;a.popupMenu=a;a.id="top";a.id=p.getMenuID(a);a.applet._menus||(a.applet._menus={});a.applet._menus[a.name]=a;Jmol.$after("body",'');a.setContainer(Jmol.$("#"+a.id))};p.showMenu=function(a,c,b){Jmol._showMenuCallback&&Jmol._showMenuCallback(a,c,b);a.tainted&&(a.container.html(a.toHTML()),a.tainted=!1,p.bindMenuActionCommands(a,
!0));a.setPosition();a.container.hide().menu().menu("refresh").show();a._visible=!0;a.timestamp=System.currentTimeMillis();a.dragBind(!0);a.container.unbind("clickoutjsmol");Jmol._persistentMenu||a.container.bind("clickoutjsmol mousemoveoutjsmol",function(){1E3')};p.getMenuID=function(a){var c=a.popupMenu;return c.applet._id+"_"+c.name+"_"+a.id+"_"+ ++p.menuCounter};p.hideMenu=function(a){a._visible&&(a.dragBind(!1),a.container.hide(),a._visible=a.isDragging=!1)};var ca=function(a,c){setTimeout(function(){p.hideMenus(a.applet);c()},500)};p.bindMenuActionCommands=function(a,c){for(var b=a.getComponentCount(),
f=0;fc.indexOf("Persist")||0<=c.indexOf("!Persist");a.itemListener?(a.selected=2==a.btnType?Jmol.$prop(a.id+"-cb","checked"):!0,c&&ca(a,function(){a.itemListener.itemStateChanged({getSource:function(){return a}})})):a.actionListener&&c&&ca(a,function(){a.actionListener.actionPerformed({getSource:function(){return a},
getActionCommand:function(){return a.actionCommand}})})}),Jmol.$documentOn("mouseup mouseover mousedown touchstart touchend mouseenter mouseleave",a.id,function(c){a.mouseListener&&a.mouseListener.handleEvent&&a.mouseListener.handleEvent({jqevent:c,getID:function(){return c.type},getSource:function(){return a}})}))}}r("J.popup");s(["J.api.GenericMenuInterface","java.util.Hashtable","JU.Lst"],"J.popup.GenericPopup",["java.util.StringTokenizer","JU.PT","$.SB","JU.Logger"],function(){c$=x(function(){this.strMenuStructure=
this.helper=null;this.isWebGL=this.isSigned=this.isApplet=this.isJS=this.allowSignedFeatures=!1;this.thisy=this.thisx=0;this.isTainted=!0;this.SignedOnly=this.htMenus=this.currentMenuItemId=this.buttonGroup=this.htCheckbox=this.thisPopup=this.popupMenu=this.menuName=null;this.updatingForShow=!1;w(this,arguments)},J.popup,"GenericPopup",null,J.api.GenericMenuInterface);E(c$,function(){this.htCheckbox=new java.util.Hashtable;this.htMenus=new java.util.Hashtable;this.SignedOnly=new JU.Lst});j(c$,"appCheckItem",
function(){},"~S,J.api.SC");j(c$,"appCheckSpecialMenu",function(){},"~S,J.api.SC,~S");j(c$,"initSwing",function(a,c,b,f,d,g){this.isJS=f;this.isApplet=null!=b;this.isSigned=d;this.isWebGL=g;this.allowSignedFeatures=!this.isApplet||d;this.menuName=a;this.thisPopup=this.popupMenu=this.helper.menuCreatePopup(a,b);this.htMenus.put(a,this.popupMenu);this.addMenuItems("",a,this.popupMenu,c);try{this.jpiUpdateComputedMenus()}catch(m){if(!z(m,NullPointerException))throw m;}},"~S,J.popup.PopupResource,~O,~B,~B,~B");
j(c$,"addMenuItems",function(a,c,b,f){a=a+"."+c;var d=f.getStructure(c);JU.Logger.debugging&&JU.Logger.debug(a+" --- "+d);if(null==d)this.menuCreateItem(b,"#"+c,"","");else{c=new java.util.StringTokenizer(d);for(var g;0<=d.indexOf("@");){for(d="";c.hasMoreTokens();)d+=" "+((g=c.nextToken()).startsWith("@")?f.getStructure(g):g);d=d.substring(1);c=new java.util.StringTokenizer(d)}for(;c.hasMoreTokens();)if(g=c.nextToken(),this.checkKey(g))if("-".equals(g))this.menuAddSeparator(b),this.helper.menuAddButtonGroup(null);
else{var d=f.getWord(g),m=null,m="",h=!1,d=this.appFixLabel(null==d?g:d);if(!d.equals("null")){if(0<=g.indexOf("Menu")){0>g.indexOf("more")&&this.helper.menuAddButtonGroup(null);var j=this.menuNewSubMenu(d,a+"."+g);this.menuAddSubMenu(b,j);0>g.indexOf("Computed")&&this.addMenuItems(a,g,j,f);this.appCheckSpecialMenu(g,j,d);m=j}else if(g.endsWith("Checkbox")||(h=g.endsWith("CB")||g.endsWith("RD"))){m=f.getStructure(g);j=g.substring(0,g.length-(!h?8:2));h=h&&g.endsWith("RD");if(null==m||0==m.length&&
!h)m="set "+j+" T/F";m=this.menuCreateCheckboxItem(b,d,j+":"+m,a+"."+g,!1,h);this.rememberCheckbox(j,m);h&&this.helper.menuAddButtonGroup(m)}else m=f.getStructure(g),null==m&&(m=g),m=this.menuCreateItem(b,d,m,a+"."+g);this.htMenus.put(g,m);g.startsWith("SIGNED")&&(this.SignedOnly.addLast(m),this.allowSignedFeatures||this.menuEnable(m,!1));this.appCheckItem(g,m)}}}},"~S,~S,J.api.SC,J.popup.PopupResource");j(c$,"updateSignedAppletItems",function(){for(var a=this.SignedOnly.size();0<=--a;)this.menuEnable(this.SignedOnly.get(a),
this.allowSignedFeatures)});j(c$,"checkKey",function(a){return 0>a.indexOf(this.isApplet?"JAVA":"APPLET")&&(!this.isWebGL||0>a.indexOf("NOGL"))},"~S");j(c$,"rememberCheckbox",function(a,c){this.htCheckbox.put(a+"::"+this.htCheckbox.size(),c)},"~S,J.api.SC");j(c$,"updateButton",function(a,c,e){c=b(-1,[c]);var f=this.getEntryIcon(c);c=c[0];a.init(c,f,e,this.thisPopup);this.isTainted=!0},"J.api.SC,~S,~S");j(c$,"getEntryIcon",function(a){var c=a[0];if(!c.startsWith("<"))return null;var b=c.indexOf(">");
a[0]=c.substring(b+1);a=c.substring(1,b);return this.getImageIcon(a)},"~A");j(c$,"addMenuItem",function(a,c){return this.menuCreateItem(a,c,"",null)},"J.api.SC,~S");j(c$,"menuSetLabel",function(a,c){a.setText(c);this.isTainted=!0},"J.api.SC,~S");j(c$,"menuClickCallback",function(a,c){this.doMenuClickCallback(a,c)},"J.api.SC,~S");j(c$,"doMenuClickCallback",function(a,c){this.appRestorePopupMenu();if(!(null==c||0==c.length))if(c.equals("MAIN"))this.show(this.thisx,this.thisy,!0);else{var b=this.menuGetId(a);
null!=b&&(c=this.getScriptForCallback(a,b,c),this.currentMenuItemId=b);null!=c&&this.appRunScript(c)}},"J.api.SC,~S");j(c$,"menuCheckBoxCallback",function(a){this.doMenuCheckBoxCallback(a)},"J.api.SC");j(c$,"doMenuCheckBoxCallback",function(a){this.appRestorePopupMenu();var c=a.isSelected(),b=a.getActionCommand();this.runCheckBoxScript(a,b,c);this.appUpdateSpecialCheckBoxValue(a,b,c);this.isTainted=!0;a=this.menuGetId(a);null!=a&&(this.currentMenuItemId=a)},"J.api.SC");j(c$,"runCheckBoxScript",function(a,
c,b){if(a.isEnabled()){if(0>c.indexOf("##")){var f=c.indexOf(":");if(0>f){JU.Logger.error("check box "+a+" IS "+c);return}var d=c.substring(0,f);if(this.appRunSpecialCheckBox(a,d,c,b))return;c=c.substring(f+1);if(0<=(f=c.indexOf("|")))c=(b?c.substring(0,f):c.substring(f+1)).trim();c=JU.PT.rep(c,"T/F",b?" TRUE":" FALSE")}this.appRunScript(c)}},"J.api.SC,~S,~B");j(c$,"menuCreateItem",function(a,c,b,f){var d=this.helper.getMenuItem(c);d.addActionListener(this.helper);return this.newMenuItem(d,a,c,b,
f)},"J.api.SC,~S,~S,~S");j(c$,"menuCreateCheckboxItem",function(a,c,b,f,d,g){g=g?this.helper.getRadio(c):this.helper.getCheckBox(c);g.setSelected(d);g.addItemListener(this.helper);return this.newMenuItem(g,a,c,b,f)},"J.api.SC,~S,~S,~S,~B,~B");j(c$,"menuAddSeparator",function(a){a.add(this.helper.getMenuItem(null));this.isTainted=!0},"J.api.SC");j(c$,"menuNewSubMenu",function(a,c){var b=this.helper.getMenu(a);b.addMouseListener(this.helper);this.updateButton(b,a,null);b.setName(c);b.setAutoscrolls(!0);
return b},"~S,~S");j(c$,"menuRemoveAll",function(a,c){if(0>=c)a.removeAll();else for(var b=a.getComponentCount();--b>=c;)a.remove(b);this.isTainted=!0},"J.api.SC,~N");j(c$,"newMenuItem",function(a,c,b,f,d){this.updateButton(a,b,f);a.addMouseListener(this.helper);a.setName(null==d?c.getName()+".":d);this.menuAddItem(c,a);return a},"J.api.SC,J.api.SC,~S,~S,~S");j(c$,"setText",function(a,c){var b=this.htMenus.get(a);null!=b&&b.setText(c);return b},"~S,~S");j(c$,"menuAddItem",function(a,c){a.add(c);this.isTainted=
!0},"J.api.SC,J.api.SC");j(c$,"menuAddSubMenu",function(a,c){c.addMouseListener(this.helper);this.menuAddItem(a,c)},"J.api.SC,J.api.SC");j(c$,"menuEnable",function(a,c){null==a||a.isEnabled()==c||a.setEnabled(c)},"J.api.SC,~B");j(c$,"menuGetId",function(a){return a.getName()},"J.api.SC");j(c$,"menuSetAutoscrolls",function(a){a.setAutoscrolls(!0);this.isTainted=!0},"J.api.SC");j(c$,"menuGetListPosition",function(a){var c=a.getParent(),b;for(b=c.getComponentCount();0<=--b&&this.helper.getSwingComponent(c.getComponent(b))!==
a;);return b},"J.api.SC");j(c$,"show",function(a,c,b){this.appUpdateForShow();this.updateCheckBoxesForShow();b&&this.menuShowPopup(this.popupMenu,this.thisx,this.thisy)},"~N,~N,~B");j(c$,"updateCheckBoxesForShow",function(){for(var a,c=this.htCheckbox.entrySet().iterator();c.hasNext()&&((a=c.next())||1);){var b=a.getKey(),f=a.getValue(),b=b.substring(0,b.indexOf(":")),b=this.appGetBooleanProperty(b);this.updatingForShow=!0;f.isSelected()!=b&&(f.setSelected(b),this.isTainted=!0);this.updatingForShow=
!1}});n(c$,"jpiGetMenuAsString",function(a){this.appUpdateForShow();var c=a.indexOf("|");if(0<=c){var b=a.substring(c);a=a.substring(0,c);if(0<=b.indexOf("current"))return a=new JU.SB,c=this.htMenus.get(this.menuName),this.menuGetAsText(a,0,c,"PopupMenu"),a.toString()}return this.appGetMenuAsString(a)},"~S");j(c$,"appGetMenuAsString",function(){return null},"~S");j(c$,"menuGetAsText",function(a,c,b,f){b=b.getComponents();for(var d=null,g=null,m=null,h="S",j=0;j=a&&(a+=524288);return C(a/1048576)},"~N")});r("J.popup");s(["J.popup.GenericPopup","java.util.Properties"],"J.popup.JmolGenericPopup",["J.i18n.GT","JV.Viewer"],function(){c$=
x(function(){this.frankPopup=null;this.nFrankList=0;this.menuText=this.vwr=null;w(this,arguments)},J.popup,"JmolGenericPopup",J.popup.GenericPopup);E(c$,function(){this.menuText=new java.util.Properties});n(c$,"jpiInitialize",function(a,c){var b=J.i18n.GT.setDoTranslate(!0),f=this.getBundle(c);this.initialize(a,f,f.getMenuName());J.i18n.GT.setDoTranslate(b)},"J.api.PlatformViewer,~S");j(c$,"initialize",function(a,c,b){this.vwr=a;this.initSwing(b,c,a.html5Applet,JV.Viewer.isJSNoAWT,a.getBooleanProperty("_signedApplet"),
JV.Viewer.isWebGL)},"JV.Viewer,J.popup.PopupResource,~S");n(c$,"jpiShow",function(a,c){this.vwr.haveDisplay&&(this.thisx=a,this.thisy=c,this.show(a,c,!1),0>a&&this.showFrankMenu()||(this.appRestorePopupMenu(),this.menuShowPopup(this.popupMenu,this.thisx,this.thisy)))},"~N,~N");j(c$,"showFrankMenu",function(){return!0});n(c$,"jpiDispose",function(){this.helper.menuClearListeners(this.popupMenu);this.popupMenu=this.thisPopup=null});n(c$,"jpiGetMenuAsObject",function(){return this.popupMenu});n(c$,"appFixLabel",
function(a){return a},"~S");n(c$,"appGetBooleanProperty",function(a){return this.vwr.getBooleanProperty(a)},"~S");n(c$,"appRunSpecialCheckBox",function(a,c,b,f){if(this.appGetBooleanProperty(c)==f)return!0;if(0>c.indexOf("mk")&&!c.endsWith("P!"))return!1;if(0<=c.indexOf("mk")||0<=c.indexOf("??"))b=this.getUnknownCheckBoxScriptToRun(a,c,b,f);else{if(!f)return!0;b="set picking "+c.substring(0,c.length-2)}null!=b&&this.appRunScript(b);return!0},"J.api.SC,~S,~S,~B");n(c$,"appRestorePopupMenu",function(){this.thisPopup=
this.popupMenu});n(c$,"appRunScript",function(a){this.vwr.evalStringQuiet(a)},"~S")});r("J.popup");s(["J.popup.JmolGenericPopup","JU.Lst"],"J.popup.JmolPopup","java.lang.Boolean java.util.Arrays $.Hashtable JU.PT J.i18n.GT JM.Group J.popup.MainPopupResourceBundle JU.Elements JV.Viewer".split(" "),function(){c$=x(function(){this.updateMode=0;this.titleWidthMax=20;this.currentFrankId=this.modelSetRoot=this.modelSetFileName=this.modelSetName=this.nullModelSetName=null;this.configurationSelected="";this.TemperatureOnly=
this.ChargesOnly=this.SymmetryOnly=this.Special=this.VibrationOnly=this.FramesOnly=this.SingleModelOnly=this.UnitcellOnly=this.FileMolOnly=this.FileUnitOnly=this.PDBOnly=this.NotPDB=this.modelInfo=this.modelSetInfo=this.frankList=this.altlocs=null;this.isZapped=this.isVibration=this.isUnitCell=this.hasSymmetry=this.isPDB=this.isMultiFrame=this.isMultiConfiguration=this.isLastFrame=this.haveCharges=this.haveBFactors=this.fileHasUnitCell=!1;this.ac=this.modelCount=this.modelIndex=0;this.noZapped=this.hnmrPeaks=
this.cnmrPeaks=this.group3Counts=this.group3List=null;w(this,arguments)},J.popup,"JmolPopup",J.popup.JmolGenericPopup);E(c$,function(){this.frankList=Array(10);this.NotPDB=new JU.Lst;this.PDBOnly=new JU.Lst;this.FileUnitOnly=new JU.Lst;this.FileMolOnly=new JU.Lst;this.UnitcellOnly=new JU.Lst;this.SingleModelOnly=new JU.Lst;this.FramesOnly=new JU.Lst;this.VibrationOnly=new JU.Lst;this.Special=new JU.Lst;this.SymmetryOnly=new JU.Lst;this.ChargesOnly=new JU.Lst;this.TemperatureOnly=new JU.Lst;this.noZapped=
b(-1,["surfaceMenu","measureMenu","pickingMenu","computationMenu","SIGNEDJAVAcaptureMenuSPECIAL"])});j(c$,"jpiDispose",function(){fa(this,J.popup.JmolPopup,"jpiDispose",[]);this.helper.menuClearListeners(this.frankPopup);this.frankPopup=null});n(c$,"getBundle",function(a){return new J.popup.MainPopupResourceBundle(this.strMenuStructure=a,this.menuText)},"~S");n(c$,"showFrankMenu",function(){this.getViewerData();this.setFrankMenu(this.currentMenuItemId);this.thisx=-this.thisx-50;return 1b.indexOf("[]")&&(b="[] "+b);b=b.$replace("_"," ");return JU.PT.rep(b,"[]",c)}0<=b.indexOf("?FILEROOT?")?b=JU.PT.rep(b,"FILEROOT?",this.modelSetRoot):0<=b.indexOf("?FILE?")?b=JU.PT.rep(b,"FILE?",
this.modelSetFileName):0<=b.indexOf("?PdbId?")&&(b=JU.PT.rep(b,"PdbId?","=xxxx"));return b},"J.api.SC,~S,~S");n(c$,"appRestorePopupMenu",function(){this.thisPopup=this.popupMenu;if(!(JV.Viewer.isJSNoAWT||2>this.nFrankList)){for(var a=this.nFrankList;0<--a;){var c=this.frankList[a];this.helper.menuInsertSubMenu(c[0],c[1],c[2].intValue())}this.nFrankList=1}});n(c$,"appUpdateSpecialCheckBoxValue",function(a,c){!this.updatingForShow&&0<=c.indexOf("#CONFIG")&&(this.configurationSelected=c,this.updateConfigurationComputedMenu(),
this.updateModelSetComputedMenu())},"J.api.SC,~S,~B");j(c$,"setFrankMenu",function(a){if(!(null!=this.currentFrankId&&this.currentFrankId===a&&0e)break;c=this.htMenus.get(a.substring(c,e));this.frankList[this.nFrankList++]=b(-1,[c.getParent(),c,Integer.$valueOf(JV.Viewer.isJSNoAWT?0:this.menuGetListPosition(c))]);this.menuAddSubMenu(this.frankPopup,c);c=e+1}this.thisPopup=this.popupMenu}},"~S");j(c$,"checkBoolean",function(a){return null!=this.modelSetInfo&&this.modelSetInfo.get(a)===Boolean.TRUE},"~S");j(c$,"getViewerData",function(){this.modelSetName=this.vwr.ms.modelSetName;
this.modelSetFileName=this.vwr.getModelSetFileName();var a=this.modelSetFileName.lastIndexOf(".");if((this.isZapped="zapped".equals(this.modelSetName))||"string".equals(this.modelSetFileName)||"String[]".equals(this.modelSetFileName))this.modelSetFileName="";this.modelSetRoot=this.modelSetFileName.substring(0,0>a?this.modelSetFileName.length:a);0==this.modelSetRoot.length&&(this.modelSetRoot="Jmol");this.modelIndex=this.vwr.am.cmi;this.modelCount=this.vwr.ms.mc;this.ac=this.vwr.ms.getAtomCountInModel(this.modelIndex);
this.modelSetInfo=this.vwr.getModelSetAuxiliaryInfo();this.modelInfo=this.vwr.ms.getModelAuxiliaryInfo(this.modelIndex);null==this.modelInfo&&(this.modelInfo=new java.util.Hashtable);this.isPDB=this.checkBoolean("isPDB");this.isMultiFrame=1this.modelIndex?0:this.modelIndex+1,d=this.modelSetInfo.get("group3Lists");this.group3List=null==d?null:d[f];this.group3Counts=null==d?null:this.modelSetInfo.get("group3Counts")[f];if(null!=this.group3List){for(var f=0,d=JM.Group.standardGroupList,g=1;24>g;++g)f+=this.updateGroup3List(a,d.substring(6*g-4,6*g-1).trim());f+=this.augmentGroup3List(a,
"p>",!0);this.menuEnable(a,0",!1);this.menuEnable(b,0",!1);this.menuEnable(e,0f)break;0==d++&&e&&this.menuAddSeparator(a);var g=this.group3Counts[C(f/6)],h=this.group3List.substring(f+2,f+5),g=h+" ("+g+")";this.menuCreateItem(a,g,"SELECT ["+h+"]",this.menuGetId(a)+"."+g);f++}return d},"J.api.SC,~S,~B");j(c$,"updateSYMMETRYComputedMenus",function(){this.updateSYMMETRYSelectComputedMenu();this.updateSYMMETRYShowComputedMenu()});
j(c$,"updateSYMMETRYShowComputedMenu",function(){var a=this.htMenus.get("SYMMETRYShowComputedMenu");if(null!=a&&(this.menuRemoveAll(a,0),this.menuEnable(a,!1),this.hasSymmetry&&!(0>this.modelIndex))){var b=this.vwr.getProperty("DATA_API","spaceGroupInfo",null);if(null!=b){var e=b.get("operations");if(null!=e){b=b.get("spaceGroupName");this.menuSetLabel(a,null==b?J.i18n.GT.$("Space Group"):b);for(var b=a,f=25g.indexOf("x1")&&(g=e[d][0]);this.menuEnable(this.menuCreateItem(b,d+1+" "+e[d][2]+" ("+g+")","draw SYMOP "+(d+1),null),!0)}this.menuEnable(a,!0)}}}});j(c$,"updateSYMMETRYSelectComputedMenu",function(){var a=this.htMenus.get("SYMMETRYSelectComputedMenu");if(null!=a&&(this.menuRemoveAll(a,
0),this.menuEnable(a,!1),this.hasSymmetry&&!(0>this.modelIndex))){var b=this.modelInfo.get("symmetryOperations");if(null!=b){for(var e=null!=this.modelInfo.get("unitCellRange"),f=a,d=25this.modelIndex?this.gti("allModelsText",this.modelCount):this.gto("modelMenuText",this.modelIndex+1+"/"+this.modelCount)),this.menuRemoveAll(a,0),!(1>this.modelCount))){1this.modelIndex,!1);for(var b=a,e=25this.titleWidthMax&&(this.modelSetName=this.modelSetName.substring(0,this.titleWidthMax)+"...")):this.vwr.getBooleanProperty("hideNameInPopup")?this.modelSetName=this.getMenuText("hiddenModelSetText"):this.modelSetName.length>this.titleWidthMax&&
(this.modelSetName=this.modelSetName.substring(0,this.titleWidthMax)+"...");this.menuSetLabel(a,this.modelSetName);this.menuEnable(a,!0);this.menuEnable(this.htMenus.get("computationMenu"),100>=this.ac);this.addMenuItem(a,this.gti("atomsText",this.ac));this.addMenuItem(a,this.gti("bondsText",this.vwr.ms.getBondCountInModel(this.modelIndex)));if(this.isPDB){this.menuAddSeparator(a);this.addMenuItem(a,this.gti("groupsText",this.vwr.ms.getGroupCountInModel(this.modelIndex)));this.addMenuItem(a,this.gti("chainsText",
this.vwr.ms.getChainCountInModelWater(this.modelIndex,!1)));this.addMenuItem(a,this.gti("polymersText",this.vwr.ms.getBioPolymerCountInModel(this.modelIndex)));var e=this.htMenus.get("BiomoleculesMenu");null==e&&(e=this.menuNewSubMenu(J.i18n.GT.$(this.getMenuText("biomoleculesMenuText")),this.menuGetId(a)+".biomolecules"),this.menuAddSubMenu(a,e));this.menuRemoveAll(e,0);this.menuEnable(e,!1);var f;if(0<=this.modelIndex&&null!=(f=this.vwr.ms.getInfo(this.modelIndex,"biomolecules"))){this.menuEnable(e,
!0);for(var d=f.size(),c=0;ce&&(e=b.length);var f=null;0<=a.indexOf("captureLooping")?f=1073742070==this.vwr.am.animationReplayMode?"ONCE":"LOOP":0<=a.indexOf("captureFps")?f=""+this.vwr.getInt(553648132):0<=a.indexOf("captureMenu")&&(f=null==this.vwr.captureParams?J.i18n.GT.$("not capturing"):this.vwr.fm.getFilePath(this.vwr.captureParams.get("captureFileName"),!1,!0)+" "+this.vwr.captureParams.get("captureCount"));return null==f?b:b.substring(0,e)+" ("+f+")"},"~S,~S");N(c$,"UPDATE_NEVER",-1,"UPDATE_ALL",0,"UPDATE_CONFIG",
1,"UPDATE_SHOW",2,"itemMax",25,"MENUITEM_HEIGHT",20)});r("J.popup");s(["J.popup.PopupResource"],"J.popup.MainPopupResourceBundle",["JU.PT","J.i18n.GT","JV.JC","$.Viewer"],function(){c$=O(J.popup,"MainPopupResourceBundle",J.popup.PopupResource);n(c$,"getMenuName",function(){return"popupMenu"});n(c$,"buildStructure",function(a){this.addItems(J.popup.MainPopupResourceBundle.menuContents);this.addItems(J.popup.MainPopupResourceBundle.structureContents);null!=a&&this.setStructure(a,new J.i18n.GT)},"~S");
c$.Box=j(c$,"Box",function(a){return"if (showBoundBox or showUnitcell) {"+a+"} else {boundbox on;"+a+";boundbox off}"},"~S");n(c$,"getWordContents",function(){var a=J.i18n.GT.setDoTranslate(!0),c=J.i18n.GT.$("{0}% van der Waals"),e=J.i18n.GT.$("Export {0} 3D model"),f=J.i18n.GT.$("Export {0} image"),d=J.i18n.GT.$("Reload {0}"),g=J.i18n.GT.$("Scale {0}"),h=J.i18n.GT.$("{0} \u00c5"),j=J.i18n.GT.$("{0} px"),c=b(-1,["cnmrMenu",J.i18n.GT.$("13C-NMR"),"hnmrMenu",J.i18n.GT.$("1H-NMR"),"aboutMenu",J.i18n.GT.$("About..."),
"negativeCharge",J.i18n.GT.$("Acidic Residues (-)"),"allModelsText",J.i18n.GT.$("All {0} models"),"allHetero",J.i18n.GT.$('All PDB "HETATM"'),"Solvent",J.i18n.GT.$("All Solvent"),"Water",J.i18n.GT.$("All Water"),"selectAll",J.i18n.GT.$("All"),"allProtein",null,"allNucleic",null,"allCarbo",null,"altloc#PDB",J.i18n.GT.$("Alternative Location"),"amino#PDB",J.i18n.GT.$("Amino Acid"),"byAngstromMenu",J.i18n.GT.$("Angstrom Width"),"animModeMenu",J.i18n.GT.$("Animation Mode"),"FRAMESanimateMenu",J.i18n.GT.$("Animation"),
"atPairs",J.i18n.GT.$("AT pairs"),"atomMenu",J.i18n.GT.$("Atoms"),"[color_atoms]Menu",null,"atomsText",J.i18n.GT.$("atoms: {0}"),"auPairs",J.i18n.GT.$("AU pairs"),"[color_axes]Menu",J.i18n.GT.$("Axes"),"showAxesCB",null,"[set_axes]Menu",null,"axisA",J.i18n.GT.$("Axis a"),"axisB",J.i18n.GT.$("Axis b"),"axisC",J.i18n.GT.$("Axis c"),"axisX",J.i18n.GT.$("Axis x"),"axisY",J.i18n.GT.$("Axis y"),"axisZ",J.i18n.GT.$("Axis z"),"back",J.i18n.GT.$("Back"),"proteinBackbone",J.i18n.GT.$("Backbone"),"nucleicBackbone",
null,"backbone",null,"[color_backbone]Menu",null,"[color_background]Menu",J.i18n.GT.$("Background"),"renderBallAndStick",J.i18n.GT.$("Ball and Stick"),"nucleicBases",J.i18n.GT.$("Bases"),"positiveCharge",J.i18n.GT.$("Basic Residues (+)"),"best",J.i18n.GT.$("Best"),"biomoleculeText",J.i18n.GT.$("biomolecule {0} ({1} atoms)"),"biomoleculesMenuText",J.i18n.GT.$("Biomolecules"),"black",J.i18n.GT.$("Black"),"blue",J.i18n.GT.$("Blue"),"bondMenu",J.i18n.GT.$("Bonds"),"[color_bonds]Menu",null,"bondsText",
J.i18n.GT.$("bonds: {0}"),"bottom",J.i18n.GT.$("Bottom"),"[color_boundbox]Menu",J.i18n.GT.$("Boundbox"),"[set_boundbox]Menu",null,"showBoundBoxCB",null,"PDBheteroComputedMenu",J.i18n.GT.$("By HETATM"),"PDBaaResiduesComputedMenu",J.i18n.GT.$("By Residue Name"),"PDBnucleicResiduesComputedMenu",null,"PDBcarboResiduesComputedMenu",null,"schemeMenu",J.i18n.GT.$("By Scheme"),"[color_]schemeMenu",null,"hbondCalc",J.i18n.GT.$("Calculate"),"SIGNEDJAVAcaptureRock",J.i18n.GT.$("Capture rock"),"SIGNEDJAVAcaptureSpin",
J.i18n.GT.$("Capture spin"),"SIGNEDJAVAcaptureMenuSPECIAL",J.i18n.GT.$("Capture"),"PDBcarboMenu",J.i18n.GT.$("Carbohydrate"),"cartoonRockets",J.i18n.GT.$("Cartoon Rockets"),"PDBrenderCartoonsOnly",J.i18n.GT.$("Cartoon"),"cartoon",null,"[color_cartoon]sMenu",null,"pickCenter",J.i18n.GT.$("Center"),"labelCentered",J.i18n.GT.$("Centered"),"chain#PDB",J.i18n.GT.$("Chain"),"chainsText",J.i18n.GT.$("chains: {0}"),"colorChargeMenu",J.i18n.GT.$("Charge"),"measureAngle",J.i18n.GT.$("Click for angle measurement"),
"measureDistance",J.i18n.GT.$("Click for distance measurement"),"measureTorsion",J.i18n.GT.$("Click for torsion (dihedral) measurement"),"PDBmeasureSequence",J.i18n.GT.$("Click two atoms to display a sequence in the console"),"modelSetCollectionText",J.i18n.GT.$("Collection of {0} models"),"colorMenu",J.i18n.GT.$("Color"),"computationMenu",J.i18n.GT.$("Computation"),"configurationMenuText",J.i18n.GT.$("Configurations ({0})"),"configurationComputedMenu",J.i18n.GT.$("Configurations"),"showConsole",
J.i18n.GT.$("Console"),"renderCpkSpacefill",J.i18n.GT.$("CPK Spacefill"),"stereoCrossEyed",J.i18n.GT.$("Cross-eyed viewing"),"showState",J.i18n.GT.$("Current state"),"cyan",J.i18n.GT.$("Cyan"),"darkgray",J.i18n.GT.$("Dark Gray"),"measureDelete",J.i18n.GT.$("Delete measurements"),"SIGNEDJAVAcaptureOff",J.i18n.GT.$("Disable capturing"),"hideNotSelectedCB",J.i18n.GT.$("Display Selected Only"),"distanceAngstroms",J.i18n.GT.$("Distance units Angstroms"),"distanceNanometers",J.i18n.GT.$("Distance units nanometers"),
"distancePicometers",J.i18n.GT.$("Distance units picometers"),"ssbondMenu",J.i18n.GT.$("Disulfide Bonds"),"[color_ssbonds]Menu",null,"DNA",J.i18n.GT.$("DNA"),"surfDots",J.i18n.GT.$("Dot Surface"),"dotted",J.i18n.GT.$("Dotted"),"measureOff",J.i18n.GT.$("Double-Click begins and ends all measurements"),"cpk",J.i18n.GT.$("Element (CPK)"),"elementsComputedMenu",J.i18n.GT.$("Element"),"SIGNEDJAVAcaptureEnd",J.i18n.GT.$("End capturing"),"exportMenu",J.i18n.GT.$("Export"),"extractMOL",J.i18n.GT.$("Extract MOL data"),
"showFile",J.i18n.GT.$("File Contents"),"showFileHeader",J.i18n.GT.$("File Header"),"fileMenu",J.i18n.GT.$("File"),"formalcharge",J.i18n.GT.$("Formal Charge"),"front",J.i18n.GT.$("Front"),"gcPairs",J.i18n.GT.$("GC pairs"),"gold",J.i18n.GT.$("Gold"),"gray",J.i18n.GT.$("Gray"),"green",J.i18n.GT.$("Green"),"group#PDB",J.i18n.GT.$("Group"),"groupsText",J.i18n.GT.$("groups: {0}"),"PDBheteroMenu",J.i18n.GT.$("Hetero"),"off#axes",J.i18n.GT.$("Hide"),"showHistory",J.i18n.GT.$("History"),"hbondMenu",J.i18n.GT.$("Hydrogen Bonds"),
"[color_hbonds]Menu",null,"pickIdent",J.i18n.GT.$("Identity"),"indigo",J.i18n.GT.$("Indigo"),"none",J.i18n.GT.$("Inherit"),"invertSelection",J.i18n.GT.$("Invert Selection"),"showIsosurface",J.i18n.GT.$("Isosurface JVXL data"),"help",J.i18n.GT.$("Jmol Script Commands"),"pickLabel",J.i18n.GT.$("Label"),"labelMenu",J.i18n.GT.$("Labels"),"[color_labels]Menu",null,"languageComputedMenu",J.i18n.GT.$("Language"),"left",J.i18n.GT.$("Left"),"Ligand",J.i18n.GT.$("Ligand"),"lightgray",J.i18n.GT.$("Light Gray"),
"measureList",J.i18n.GT.$("List measurements"),"loadBiomoleculeText",J.i18n.GT.$("load biomolecule {0} ({1} atoms)"),"SIGNEDloadFileUnitCell",J.i18n.GT.$("Load full unit cell"),"loadMenu",J.i18n.GT.$("Load"),"loop",J.i18n.GT.$("Loop"),"labelLowerLeft",J.i18n.GT.$("Lower Left"),"labelLowerRight",J.i18n.GT.$("Lower Right"),"mainMenuText",J.i18n.GT.$("Main Menu"),"opaque",J.i18n.GT.$("Make Opaque"),"surfOpaque",null,"translucent",J.i18n.GT.$("Make Translucent"),"surfTranslucent",null,"maroon",J.i18n.GT.$("Maroon"),
"measureMenu",J.i18n.GT.$("Measurements"),"showMeasure",null,"modelMenuText",J.i18n.GT.$("model {0}"),"hiddenModelSetText",J.i18n.GT.$("Model information"),"modelkit",J.i18n.GT.$("Model kit"),"showModel",J.i18n.GT.$("Model"),"FRAMESbyModelComputedMenu",J.i18n.GT.$("Model/Frame"),"modelKitMode",J.i18n.GT.$("modelKitMode"),"surf2MEP",J.i18n.GT.$("Molecular Electrostatic Potential (range -0.1 0.1)"),"surfMEP",J.i18n.GT.$("Molecular Electrostatic Potential (range ALL)"),"showMo",J.i18n.GT.$("Molecular orbital JVXL data"),
"surfMoComputedMenuText",J.i18n.GT.$("Molecular Orbitals ({0})"),"surfMolecular",J.i18n.GT.$("Molecular Surface"),"molecule",J.i18n.GT.$("Molecule"),"monomer#PDB",J.i18n.GT.$("Monomer"),"mouse",J.i18n.GT.$("Mouse Manual"),"nextframe",J.i18n.GT.$("Next Frame"),"modelSetMenu",J.i18n.GT.$("No atoms loaded"),"exceptWater",J.i18n.GT.$("Nonaqueous HETATM")+" (hetero and not water)","nonWaterSolvent",J.i18n.GT.$("Nonaqueous Solvent")+" (solvent and not water)","PDBnoneOfTheAbove",J.i18n.GT.$("None of the above"),
"selectNone",J.i18n.GT.$("None"),"stereoNone",null,"labelNone",null,"nonpolar",J.i18n.GT.$("Nonpolar Residues"),"PDBnucleicMenu",J.i18n.GT.$("Nucleic"),"atomNone",J.i18n.GT.$("Off"),"bondNone",null,"hbondNone",null,"ssbondNone",null,"structureNone",null,"vibrationOff",null,"vectorOff",null,"spinOff",null,"pickOff",null,"surfOff",null,"olive",J.i18n.GT.$("Olive"),"bondWireframe",J.i18n.GT.$("On"),"hbondWireframe",null,"ssbondWireframe",null,"vibrationOn",null,"vectorOn",null,"spinOn",null,"on",null,
"SIGNEDloadPdb",J.i18n.GT.$("Open from PDB"),"SIGNEDloadFile",J.i18n.GT.$("Open local file"),"SIGNEDloadScript",J.i18n.GT.$("Open script"),"SIGNEDloadUrl",J.i18n.GT.$("Open URL"),"minimize",J.i18n.GT.$("Optimize structure"),"orange",J.i18n.GT.$("Orange"),"orchid",J.i18n.GT.$("Orchid"),"showOrient",J.i18n.GT.$("Orientation"),"palindrome",J.i18n.GT.$("Palindrome"),"partialcharge",J.i18n.GT.$("Partial Charge"),"pause",J.i18n.GT.$("Pause"),"perspectiveDepthCB",J.i18n.GT.$("Perspective Depth"),"byPixelMenu",
J.i18n.GT.$("Pixel Width"),"onceThrough",J.i18n.GT.$("Play Once"),"play",J.i18n.GT.$("Play"),"polar",J.i18n.GT.$("Polar Residues"),"polymersText",J.i18n.GT.$("polymers: {0}"),"labelPositionMenu",J.i18n.GT.$("Position Label on Atom"),"prevframe",J.i18n.GT.$("Previous Frame"),"PDBproteinMenu",J.i18n.GT.$("Protein"),"colorrasmolCB",J.i18n.GT.$("RasMol Colors"),"red",J.i18n.GT.$("Red"),"stereoRedBlue",J.i18n.GT.$("Red+Blue glasses"),"stereoRedCyan",J.i18n.GT.$("Red+Cyan glasses"),"stereoRedGreen",J.i18n.GT.$("Red+Green glasses"),
"SIGNEDJAVAcaptureOn",J.i18n.GT.$("Re-enable capturing"),"FILEUNITninePoly",J.i18n.GT.$("Reload + Polyhedra"),"reload",J.i18n.GT.$("Reload"),"restart",J.i18n.GT.$("Restart"),"resume",J.i18n.GT.$("Resume"),"playrev",J.i18n.GT.$("Reverse"),"rewind",J.i18n.GT.$("Rewind"),"ribbons",J.i18n.GT.$("Ribbons"),"[color_ribbon]sMenu",null,"right",J.i18n.GT.$("Right"),"RNA",J.i18n.GT.$("RNA"),"rockets",J.i18n.GT.$("Rockets"),"[color_rockets]Menu",null,"salmon",J.i18n.GT.$("Salmon"),"writeFileTextVARIABLE",J.i18n.GT.$("Save a copy of {0}"),
"SIGNEDwriteJmol",J.i18n.GT.$("Save as PNG/JMOL (image+zip)"),"SIGNEDwriteIsosurface",J.i18n.GT.$("Save JVXL isosurface"),"writeHistory",J.i18n.GT.$("Save script with history"),"writeState",J.i18n.GT.$("Save script with state"),"saveMenu",J.i18n.GT.$("Save"),"sceneComputedMenu",J.i18n.GT.$("Scenes"),"renderSchemeMenu",J.i18n.GT.$("Scheme"),"aaStructureMenu",J.i18n.GT.$("Secondary Structure"),"structure#PDB",null,"selectMenuText",J.i18n.GT.$("Select ({0})"),"pickAtom",J.i18n.GT.$("Select atom"),"PDBpickChain",
J.i18n.GT.$("Select chain"),"pickElement",J.i18n.GT.$("Select element"),"PDBpickGroup",J.i18n.GT.$("Select group"),"pickMolecule",J.i18n.GT.$("Select molecule"),"SYMMETRYpickSite",J.i18n.GT.$("Select site"),"showSelectionsCB",J.i18n.GT.$("Selection Halos"),"SIGNEDJAVAcaptureFpsSPECIAL",J.i18n.GT.$("Set capture replay rate"),"[set_spin_FPS]Menu",J.i18n.GT.$("Set FPS"),"FRAMESanimFpsMenu",null,"PDBhbondBackbone",J.i18n.GT.$("Set H-Bonds Backbone"),"PDBhbondSidechain",J.i18n.GT.$("Set H-Bonds Side Chain"),
"pickingMenu",J.i18n.GT.$("Set picking"),"PDBssbondBackbone",J.i18n.GT.$("Set SS-Bonds Backbone"),"PDBssbondSidechain",J.i18n.GT.$("Set SS-Bonds Side Chain"),"[set_spin_X]Menu",J.i18n.GT.$("Set X Rate"),"[set_spin_Y]Menu",J.i18n.GT.$("Set Y Rate"),"[set_spin_Z]Menu",J.i18n.GT.$("Set Z Rate"),"shapely#PDB",J.i18n.GT.$("Shapely"),"showHydrogensCB",J.i18n.GT.$("Show Hydrogens"),"showMeasurementsCB",J.i18n.GT.$("Show Measurements"),"SYMMETRYpickSymmetry",J.i18n.GT.$("Show symmetry operation"),"showMenu",
J.i18n.GT.$("Show"),"proteinSideChains",J.i18n.GT.$("Side Chains"),"slateblue",J.i18n.GT.$("Slate Blue"),"SYMMETRYShowComputedMenu",J.i18n.GT.$("Space Group"),"showSpacegroup",null,"spectraMenu",J.i18n.GT.$("Spectra"),"spinMenu",J.i18n.GT.$("Spin"),"pickSpin",null,"SIGNEDJAVAcaptureBegin",J.i18n.GT.$("Start capturing"),"stereoMenu",J.i18n.GT.$("Stereographic"),"renderSticks",J.i18n.GT.$("Sticks"),"stop",J.i18n.GT.$("Stop"),"strands",J.i18n.GT.$("Strands"),"[color_strands]Menu",null,"PDBstructureMenu",
J.i18n.GT.$("Structures"),"colorPDBStructuresMenu",null,"renderMenu",J.i18n.GT.$("Style"),"[color_isosurface]Menu",J.i18n.GT.$("Surfaces"),"surfaceMenu",null,"SYMMETRYSelectComputedMenu",J.i18n.GT.$("Symmetry"),"SYMMETRYshowSymmetry",null,"FILEUNITMenu",null,"systemMenu",J.i18n.GT.$("System"),"relativeTemperature#BFACTORS",J.i18n.GT.$("Temperature (Relative)"),"fixedTemperature#BFACTORS",J.i18n.GT.$("Temperature (Fixed)"),"SIGNEDJAVAcaptureLoopingSPECIAL",J.i18n.GT.$("Toggle capture looping"),"top",
JU.PT.split(J.i18n.GT.$('Top[as in "view from the top, from above" - (translators: remove this bracketed part]'),"[")[0],"PDBrenderTraceOnly",J.i18n.GT.$("Trace"),"trace",null,"[color_trace]Menu",null,"translations",J.i18n.GT.$("Translations"),"noCharge",J.i18n.GT.$("Uncharged Residues"),"[color_UNITCELL]Menu",J.i18n.GT.$("Unit cell"),"UNITCELLshow",null,"[set_UNITCELL]Menu",null,"showUNITCELLCB",null,"labelUpperLeft",J.i18n.GT.$("Upper Left"),"labelUpperRight",J.i18n.GT.$("Upper Right"),"surfVDW",
J.i18n.GT.$("van der Waals Surface"),"VIBRATIONvectorMenu",J.i18n.GT.$("Vectors"),"property_vxyz#VIBRATION",null,"[color_vectors]Menu",null,"VIBRATIONMenu",J.i18n.GT.$("Vibration"),"viewMenuText",J.i18n.GT.$("View {0}"),"viewMenu",J.i18n.GT.$("View"),"violet",J.i18n.GT.$("Violet"),"stereoWallEyed",J.i18n.GT.$("Wall-eyed viewing"),"white",J.i18n.GT.$("White"),"renderWireframe",J.i18n.GT.$("Wireframe"),"labelName",J.i18n.GT.$("With Atom Name"),"labelNumber",J.i18n.GT.$("With Atom Number"),"labelSymbol",
J.i18n.GT.$("With Element Symbol"),"yellow",J.i18n.GT.$("Yellow"),"zoomIn",J.i18n.GT.$("Zoom In"),"zoomOut",J.i18n.GT.$("Zoom Out"),"zoomMenu",J.i18n.GT.$("Zoom"),"vector005",J.i18n.GT.o(h,"0.05"),"bond100",J.i18n.GT.o(h,"0.10"),"hbond100",null,"ssbond100",null,"vector01",null,"10a",null,"bond150",J.i18n.GT.o(h,"0.15"),"hbond150",null,"ssbond150",null,"bond200",J.i18n.GT.o(h,"0.20"),"hbond200",null,"ssbond200",null,"20a",null,"bond250",J.i18n.GT.o(h,"0.25"),"hbond250",null,"ssbond250",null,"25a",
null,"bond300",J.i18n.GT.o(h,"0.30"),"hbond300",null,"ssbond300",null,"50a",J.i18n.GT.o(h,"0.50"),"100a",J.i18n.GT.o(h,"1.0"),"1p",J.i18n.GT.i(j,1),"10p",J.i18n.GT.i(j,10),"3p",J.i18n.GT.i(j,3),"vector3",null,"5p",J.i18n.GT.i(j,5),"atom100",J.i18n.GT.i(c,100),"atom15",J.i18n.GT.i(c,15),"atom20",J.i18n.GT.i(c,20),"atom25",J.i18n.GT.i(c,25),"atom50",J.i18n.GT.i(c,50),"atom75",J.i18n.GT.i(c,75),"SIGNEDNOGLwriteIdtf",J.i18n.GT.o(e,"IDTF"),"SIGNEDNOGLwriteMaya",J.i18n.GT.o(e,"Maya"),"SIGNEDNOGLwriteVrml",
J.i18n.GT.o(e,"VRML"),"SIGNEDNOGLwriteX3d",J.i18n.GT.o(e,"X3D"),"SIGNEDNOGLwriteSTL",J.i18n.GT.o(e,"STL"),"SIGNEDNOGLwriteGif",J.i18n.GT.o(f,"GIF"),"SIGNEDNOGLwriteJpg",J.i18n.GT.o(f,"JPG"),"SIGNEDNOGLwritePng",J.i18n.GT.o(f,"PNG"),"SIGNEDNOGLwritePngJmol",J.i18n.GT.o(f,"PNG+JMOL"),"SIGNEDNOGLwritePovray",J.i18n.GT.o(f,"POV-Ray"),"FILEUNITnineRestricted",J.i18n.GT.o(J.i18n.GT.$("Reload {0} + Display {1}"),b(-1,["{444 666 1}","555"])),"FILEMOLload",J.i18n.GT.o(d,"(molecular)"),"FILEUNITone",J.i18n.GT.o(d,
"{1 1 1}"),"FILEUNITnine",J.i18n.GT.o(d,"{444 666 1}"),"vectorScale02",J.i18n.GT.o(g,"0.2"),"vectorScale05",J.i18n.GT.o(g,"0.5"),"vectorScale1",J.i18n.GT.o(g,"1"),"vectorScale2",J.i18n.GT.o(g,"2"),"vectorScale5",J.i18n.GT.o(g,"5"),"surfSolvent14",J.i18n.GT.o(J.i18n.GT.$("Solvent Surface ({0}-Angstrom probe)"),"1.4"),"surfSolventAccessible14",J.i18n.GT.o(J.i18n.GT.$("Solvent-Accessible Surface (VDW + {0} Angstrom)"),"1.4"),"vibration20","*2","vibration05","/2","JAVAmemTotal","?","JAVAmemMax",null,
"JAVAprocessors",null,"s0","0","animfps10","10","s10",null,"zoom100","100%","zoom150","150%","animfps20","20","s20",null,"zoom200","200%","animfps30","30","s30",null,"s40","40","zoom400","400%","animfps5","5","s5",null,"animfps50","50","s50",null,"zoom50","50%","zoom800","800%","JSConsole","JavaScript Console","jmolMenu","Jmol","date",JV.JC.date,"version",JV.JC.version,"javaVender",JV.Viewer.strJavaVendor,"javaVersion",JV.Viewer.strJavaVersion,"os",JV.Viewer.strOSName,"jmolorg","http://www.jmol.org"]);
J.i18n.GT.setDoTranslate(a);a=1;for(e=c.length;ad&&(d=f.length,f+="=");var g=f.substring(0,d).trim(),
h=f.substring(d+1).trim(),j=null;if(0<=(d=g.indexOf("|")))j=g.substring(d+1).trim(),g=g.substring(0,d).trim();0!=g.length&&(0