text: (function(a,p){"object"===typeof module&&"object"===typeof module.exports?module.exports=a.document?p(a,!0):function(a){if(!a.document)throw Error("jQuery requires a window with a document");return p(a)}:p(a)})("undefined"!==typeof window?window:this,function(a,p){function l(f){var v=f.length,a=g.type(f);return"function"===a||g.isWindow(f)?!1:1===f.nodeType&&v?!0:"array"===a||0===v||"number"===typeof v&&0<v&&v-1 in f}function k(f,v,a){if(g.isFunction(v))return g.grep(f,function(f,g){return!!v.call(f,
  g,f)!==a});if(v.nodeType)return g.grep(f,function(f){return f===v!==a});if("string"===typeof v){if(Wc.test(v))return g.filter(v,f,a);v=g.filter(v,f)}return g.grep(f,function(f){return 0<=g.inArray(f,v)!==a})}function e(f,v){do f=f[v];while(f&&1!==f.nodeType);return f}function h(){y.addEventListener?(y.removeEventListener("DOMContentLoaded",t,!1),a.removeEventListener("load",t,!1)):(y.detachEvent("onreadystatechange",t),a.detachEvent("onload",t))}function t(){if(y.addEventListener||"load"===event.type||
  "complete"===y.readyState)h(),g.ready()}function s(f,v,a){if(void 0===a&&1===f.nodeType)if(a="data-"+v.replace(Xc,"-$1").toLowerCase(),a=f.getAttribute(a),"string"===typeof a){try{a="true"===a?!0:"false"===a?!1:"null"===a?null:+a+""===a?+a:Yc.test(a)?g.parseJSON(a):a}catch(x){}g.data(f,v,a)}else a=void 0;return a}function b(f){for(var a in f)if(!("data"===a&&g.isEmptyObject(f[a]))&&"toJSON"!==a)return!1;return!0}function d(f,a,q,x){if(g.acceptData(f)){var b=g.expando,j=f.nodeType,c=j?g.cache:f,d=
  j?f[b]:f[b]&&b;if(d&&c[d]&&(x||c[d].data)||!(void 0===q&&"string"===typeof a)){d||(d=j?f[b]=n.pop()||g.guid++:b);c[d]||(c[d]=j?{}:{toJSON:g.noop});if("object"===typeof a||"function"===typeof a)x?c[d]=g.extend(c[d],a):c[d].data=g.extend(c[d].data,a);f=c[d];x||(f.data||(f.data={}),f=f.data);void 0!==q&&(f[g.camelCase(a)]=q);"string"===typeof a?(q=f[a],null==q&&(q=f[g.camelCase(a)])):q=f;return q}}}function c(f,a,q){if(g.acceptData(f)){var x,j,c=f.nodeType,d=c?g.cache:f,n=c?f[g.expando]:g.expando;if(d[n]){if(a&&
  (x=q?d[n]:d[n].data)){g.isArray(a)?a=a.concat(g.map(a,g.camelCase)):a in x?a=[a]:(a=g.camelCase(a),a=a in x?[a]:a.split(" "));for(j=a.length;j--;)delete x[a[j]];if(q?!b(x):!g.isEmptyObject(x))return}if(!q&&(delete d[n].data,!b(d[n])))return;c?g.cleanData([f],!0):u.deleteExpando||d!=d.window?delete d[n]:d[n]=null}}}function r(){return!0}function E(){return!1}function B(){try{return y.activeElement}catch(f){}}function S(f){var a=mc.split("|");f=f.createDocumentFragment();if(f.createElement)for(;a.length;)f.createElement(a.pop());
  return f}function K(f,a){var q,x,b=0,j=typeof f.getElementsByTagName!==ka?f.getElementsByTagName(a||"*"):typeof f.querySelectorAll!==ka?f.querySelectorAll(a||"*"):void 0;if(!j){j=[];for(q=f.childNodes||f;null!=(x=q[b]);b++)!a||g.nodeName(x,a)?j.push(x):g.merge(j,K(x,a))}return void 0===a||a&&g.nodeName(f,a)?g.merge([f],j):j}function sb(f){Pb.test(f.type)&&(f.defaultChecked=f.checked)}function Ma(f,a){return g.nodeName(f,"table")&&g.nodeName(11!==a.nodeType?a:a.firstChild,"tr")?f.getElementsByTagName("tbody")[0]||
  f.appendChild(f.ownerDocument.createElement("tbody")):f}function V(f){f.type=(null!==g.find.attr(f,"type"))+"/"+f.type;return f}function D(f){var a=Zc.exec(f.type);a?f.type=a[1]:f.removeAttribute("type");return f}function Wa(f,a){for(var q,x=0;null!=(q=f[x]);x++)g._data(q,"globalEval",!a||g._data(a[x],"globalEval"))}function Ba(f,a){if(1===a.nodeType&&g.hasData(f)){var q,x,b;x=g._data(f);var j=g._data(a,x),c=x.events;if(c)for(q in delete j.handle,j.events={},c){x=0;for(b=c[q].length;x<b;x++)g.event.add(a,
  q,c[q][x])}j.data&&(j.data=g.extend({},j.data))}}function Ca(f,v){var q=g(v.createElement(f)).appendTo(v.body),x=a.getDefaultComputedStyle?a.getDefaultComputedStyle(q[0]).display:g.css(q[0],"display");q.detach();return x}function Da(f){var a=y,q=nc[f];if(!q){q=Ca(f,a);if("none"===q||!q)fb=(fb||g("<iframe frameborder='0' width='0' height='0'/>")).appendTo(a.documentElement),a=(fb[0].contentWindow||fb[0].contentDocument).document,a.write(),a.close(),q=Ca(f,a),fb.detach();nc[f]=q}return q}function Na(f,
  a){return{get:function(){var q=f();if(null!=q)if(q)delete this.get;else return(this.get=a).apply(this,arguments)}}}function sa(f,a){if(a in f)return a;for(var q=a.charAt(0).toUpperCase()+a.slice(1),x=a,g=oc.length;g--;)if(a=oc[g]+q,a in f)return a;return x}function gb(f,a){for(var q,x,b,j=[],c=0,d=f.length;c<d;c++)if(x=f[c],x.style)if(j[c]=g._data(x,"olddisplay"),q=x.style.display,a)!j[c]&&"none"===q&&(x.style.display=""),""===x.style.display&&hb(x)&&(j[c]=g._data(x,"olddisplay",Da(x.nodeName)));
  else if(!j[c]&&(b=hb(x),q&&"none"!==q||!b))g._data(x,"olddisplay",b?q:g.css(x,"display"));for(c=0;c<d;c++)if(x=f[c],x.style&&(!a||"none"===x.style.display||""===x.style.display))x.style.display=a?j[c]||"":"none";return f}function w(f,a,q){return(f=$c.exec(a))?Math.max(0,f[1]-(q||0))+(f[2]||"px"):a}function $(f,a,q,x,b){a=q===(x?"border":"content")?4:"width"===a?1:0;for(var j=0;4>a;a+=2)"margin"===q&&(j+=g.css(f,q+Oa[a],!0,b)),x?("content"===q&&(j-=g.css(f,"padding"+Oa[a],!0,b)),"margin"!==q&&(j-=
  g.css(f,"border"+Oa[a]+"Width",!0,b))):(j+=g.css(f,"padding"+Oa[a],!0,b),"padding"!==q&&(j+=g.css(f,"border"+Oa[a]+"Width",!0,b)));return j}function la(f,a,q){var x=!0,b="width"===a?f.offsetWidth:f.offsetHeight,j=Pa(f),c=u.boxSizing()&&"border-box"===g.css(f,"boxSizing",!1,j);if(0>=b||null==b){b=Qa(f,a,j);if(0>b||null==b)b=f.style[a];if(tb.test(b))return b;x=c&&(u.boxSizingReliable()||b===f.style[a]);b=parseFloat(b)||0}return b+$(f,a,q||(c?"border":"content"),x,j)+"px"}function L(f,a,q,b,g){return new L.prototype.init(f,
  a,q,b,g)}function T(){setTimeout(function(){Xa=void 0});return Xa=g.now()}function ma(f,a){var q,b={height:f},g=0;for(a=a?1:0;4>g;g+=2-a)q=Oa[g],b["margin"+q]=b["padding"+q]=f;a&&(b.opacity=b.width=f);return b}function ib(f,a,q){for(var b,g=(jb[a]||[]).concat(jb["*"]),j=0,c=g.length;j<c;j++)if(b=g[j].call(q,a,f))return b}function kb(f,a,q){var b,j,c=0,d=ub.length,n=g.Deferred().always(function(){delete e.elem}),e=function(){if(j)return!1;for(var a=Xa||T(),a=Math.max(0,m.startTime+m.duration-a),v=
  1-(a/m.duration||0),q=0,b=m.tweens.length;q<b;q++)m.tweens[q].run(v);n.notifyWith(f,[m,v,a]);if(1>v&&b)return a;n.resolveWith(f,[m]);return!1},m=n.promise({elem:f,props:g.extend({},a),opts:g.extend(!0,{specialEasing:{}},q),originalProperties:a,originalOptions:q,startTime:Xa||T(),duration:q.duration,tweens:[],createTween:function(a,v){var q=g.Tween(f,m.opts,a,v,m.opts.specialEasing[a]||m.opts.easing);m.tweens.push(q);return q},stop:function(a){var v=0,q=a?m.tweens.length:0;if(j)return this;for(j=!0;v<
  q;v++)m.tweens[v].run(1);a?n.resolveWith(f,[m,a]):n.rejectWith(f,[m,a]);return this}});a=m.props;q=m.opts.specialEasing;var r,h,k,l;for(b in a)if(r=g.camelCase(b),h=q[r],k=a[b],g.isArray(k)&&(h=k[1],k=a[b]=k[0]),b!==r&&(a[r]=k,delete a[b]),(l=g.cssHooks[r])&&"expand"in l)for(b in k=l.expand(k),delete a[r],k)b in a||(a[b]=k[b],q[b]=h);else q[r]=h;for(;c<d;c++)if(b=ub[c].call(m,f,a,m.opts))return b;g.map(a,ib,m);g.isFunction(m.opts.start)&&m.opts.start.call(f,m);g.fx.timer(g.extend(e,{elem:f,anim:m,
  queue:m.opts.queue}));return m.progress(m.opts.progress).done(m.opts.done,m.opts.complete).fail(m.opts.fail).always(m.opts.always)}function vb(f){return function(a,q){"string"!==typeof a&&(q=a,a="*");var b,j=0,c=a.toLowerCase().match(wa)||[];if(g.isFunction(q))for(;b=c[j++];)"+"===b.charAt(0)?(b=b.slice(1)||"*",(f[b]=f[b]||[]).unshift(q)):(f[b]=f[b]||[]).push(q)}}function lb(f,a,q,b){function j(n){var m;c[n]=!0;g.each(f[n]||[],function(f,g){var n=g(a,q,b);if("string"===typeof n&&!d&&!c[n])return a.dataTypes.unshift(n),
  j(n),!1;if(d)return!(m=n)});return m}var c={},d=f===Qb;return j(a.dataTypes[0])||!c["*"]&&j("*")}function na(f,a){var q,b,j=g.ajaxSettings.flatOptions||{};for(b in a)void 0!==a[b]&&((j[b]?f:q||(q={}))[b]=a[b]);q&&g.extend(!0,f,q);return f}function C(f,a,q,b){var j;if(g.isArray(a))g.each(a,function(a,v){q||bd.test(f)?b(f,v):C(f+"["+("object"===typeof v?a:"")+"]",v,q,b)});else if(!q&&"object"===g.type(a))for(j in a)C(f+"["+j+"]",a[j],q,b);else b(f,a)}function U(f){try{return f?new a.ActiveXObject("Microsoft.XMLHTTP"):
  new a.XMLHttpRequest}catch(v){}}function aa(){try{return new a.XMLHttpRequest}catch(f){}}function j(f){return g.isWindow(f)?f:9===f.nodeType?f.defaultView||f.parentWindow:!1}var n=[],m=n.slice,z=n.concat,P=n.push,F=n.indexOf,ga={},wb=ga.toString,Ya=ga.hasOwnProperty,Rb="".trim,u={},g=function(f,a){return new g.fn.init(f,a)},cd=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,dd=/^-ms-/,ed=/-([\da-z])/gi,fd=function(f,a){return a.toUpperCase()};g.fn=g.prototype={jquery:"1.11.0",constructor:g,selector:"",length:0,
  toArray:function(){return m.call(this)},get:function(f){return null!=f?0>f?this[f+this.length]:this[f]:m.call(this)},pushStack:function(f){f=g.merge(this.constructor(),f);f.prevObject=this;f.context=this.context;return f},each:function(f,a){return g.each(this,f,a)},map:function(f){return this.pushStack(g.map(this,function(a,q){return f.call(a,q,a)}))},slice:function(){return this.pushStack(m.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(f){var a=
  this.length;f=+f+(0>f?a:0);return this.pushStack(0<=f&&f<a?[this[f]]:[])},end:function(){return this.prevObject||this.constructor(null)},push:P,sort:n.sort,splice:n.splice};g.extend=g.fn.extend=function(){var f,a,q,b,j,c=arguments[0]||{},d=1,n=arguments.length,m=!1;"boolean"===typeof c&&(m=c,c=arguments[d]||{},d++);"object"!==typeof c&&!g.isFunction(c)&&(c={});d===n&&(c=this,d--);for(;d<n;d++)if(null!=(j=arguments[d]))for(b in j)f=c[b],q=j[b],c!==q&&(m&&q&&(g.isPlainObject(q)||(a=g.isArray(q)))?(a?
  (a=!1,f=f&&g.isArray(f)?f:[]):f=f&&g.isPlainObject(f)?f:{},c[b]=g.extend(m,f,q)):void 0!==q&&(c[b]=q));return c};g.extend({expando:"jQuery"+("1.11.0"+Math.random()).replace(/\D/g,""),isReady:!0,error:function(f){throw Error(f);},noop:function(){},isFunction:function(f){return"function"===g.type(f)},isArray:Array.isArray||function(f){return"array"===g.type(f)},isWindow:function(f){return null!=f&&f==f.window},isNumeric:function(f){return 0<=f-parseFloat(f)},isEmptyObject:function(f){for(var a in f)return!1;
  return!0},isPlainObject:function(f){var a;if(!f||"object"!==g.type(f)||f.nodeType||g.isWindow(f))return!1;try{if(f.constructor&&!Ya.call(f,"constructor")&&!Ya.call(f.constructor.prototype,"isPrototypeOf"))return!1}catch(q){return!1}if(u.ownLast)for(a in f)return Ya.call(f,a);for(a in f);return void 0===a||Ya.call(f,a)},type:function(f){return null==f?f+"":"object"===typeof f||"function"===typeof f?ga[wb.call(f)]||"object":typeof f},globalEval:function(f){f&&g.trim(f)&&(a.execScript||function(f){a.eval.call(a,
  f)})(f)},camelCase:function(f){return f.replace(dd,"ms-").replace(ed,fd)},nodeName:function(f,a){return f.nodeName&&f.nodeName.toLowerCase()===a.toLowerCase()},each:function(f,a,q){var b,g=0,j=f.length;b=l(f);if(q)if(b)for(;g<j&&!(b=a.apply(f[g],q),!1===b);g++);else for(g in f){if(b=a.apply(f[g],q),!1===b)break}else if(b)for(;g<j&&!(b=a.call(f[g],g,f[g]),!1===b);g++);else for(g in f)if(b=a.call(f[g],g,f[g]),!1===b)break;return f},trim:Rb&&!Rb.call("\ufeff\u00a0")?function(f){return null==f?"":Rb.call(f)}:
  function(f){return null==f?"":(f+"").replace(cd,"")},makeArray:function(f,a){var q=a||[];null!=f&&(l(Object(f))?g.merge(q,"string"===typeof f?[f]:f):P.call(q,f));return q},inArray:function(f,a,q){var b;if(a){if(F)return F.call(a,f,q);b=a.length;for(q=q?0>q?Math.max(0,b+q):q:0;q<b;q++)if(q in a&&a[q]===f)return q}return-1},merge:function(f,a){for(var q=+a.length,b=0,g=f.length;b<q;)f[g++]=a[b++];if(q!==q)for(;void 0!==a[b];)f[g++]=a[b++];f.length=g;return f},grep:function(f,a,q){for(var b=[],g=0,j=
  f.length,c=!q;g<j;g++)q=!a(f[g],g),q!==c&&b.push(f[g]);return b},map:function(f,a,q){var b,g=0,j=f.length,c=[];if(l(f))for(;g<j;g++)b=a(f[g],g,q),null!=b&&c.push(b);else for(g in f)b=a(f[g],g,q),null!=b&&c.push(b);return z.apply([],c)},guid:1,proxy:function(f,a){var q,b;"string"===typeof a&&(b=f[a],a=f,f=b);if(g.isFunction(f))return q=m.call(arguments,2),b=function(){return f.apply(a||this,q.concat(m.call(arguments)))},b.guid=f.guid=f.guid||g.guid++,b},now:function(){return+new Date},support:u});
  g.each("Boolean Number String Function Array Date RegExp Object Error".split(" "),function(f,a){ga["[object "+a+"]"]=a.toLowerCase()});var N=a,I=function(f,a,q,b){var g,j,c,d,n;(a?a.ownerDocument||a:W)!==R&&oa(a);a=a||R;q=q||[];if(!f||"string"!==typeof f)return q;if(1!==(d=a.nodeType)&&9!==d)return[];if(ca&&!b){if(g=gd.exec(f))if(c=g[1])if(9===d)if((j=a.getElementById(c))&&j.parentNode){if(j.id===c)return q.push(j),q}else return q;else{if(a.ownerDocument&&(j=a.ownerDocument.getElementById(c))&&xa(a,
  j)&&j.id===c)return q.push(j),q}else{if(g[2])return Ea.apply(q,a.getElementsByTagName(f)),q;if((c=g[3])&&G.getElementsByClassName&&a.getElementsByClassName)return Ea.apply(q,a.getElementsByClassName(c)),q}if(G.qsa&&(!Q||!Q.test(f))){j=g=M;c=a;n=9===d&&f;if(1===d&&"object"!==a.nodeName.toLowerCase()){d=ta(f);(g=a.getAttribute("id"))?j=g.replace(hd,"\\$&"):a.setAttribute("id",j);j="[id='"+j+"'] ";for(c=d.length;c--;)d[c]=j+xb(d[c]);c=Sb.test(f)&&ha(a.parentNode)||a;n=d.join(",")}if(n)try{return Ea.apply(q,
  c.querySelectorAll(n)),q}catch(m){}finally{g||a.removeAttribute("id")}}}var e;a:{f=f.replace(yb,"$1");j=ta(f);if(!b&&1===j.length){g=j[0]=j[0].slice(0);if(2<g.length&&"ID"===(e=g[0]).type&&G.getById&&9===a.nodeType&&ca&&H.relative[g[1].type]){a=(H.find.ID(e.matches[0].replace(Fa,Ga),a)||[])[0];if(!a){e=q;break a}f=f.slice(g.shift().value.length)}for(d=zb.needsContext.test(f)?0:g.length;d--;){e=g[d];if(H.relative[c=e.type])break;if(c=H.find[c])if(b=c(e.matches[0].replace(Fa,Ga),Sb.test(g[0].type)&&
  ha(a.parentNode)||a)){g.splice(d,1);f=b.length&&xb(g);if(!f){Ea.apply(q,b);e=q;break a}break}}}Za(f,j)(b,a,!ca,q,Sb.test(f)&&ha(a.parentNode)||a);e=q}return e},Tb=function(){function f(q,b){a.push(q+" ")>H.cacheLength&&delete f[a.shift()];return f[q+" "]=b}var a=[];return f},pa=function(f){f[M]=!0;return f},X=function(f){var a=R.createElement("div");try{return!!f(a)}catch(q){return!1}finally{a.parentNode&&a.parentNode.removeChild(a)}},Ub=function(f,a){for(var q=f.split("|"),b=f.length;b--;)H.attrHandle[q[b]]=
  a},pc=function(f,a){var q=a&&f,b=q&&1===f.nodeType&&1===a.nodeType&&(~a.sourceIndex||ba)-(~f.sourceIndex||ba);if(b)return b;if(q)for(;q=q.nextSibling;)if(q===a)return-1;return f?1:-1},id=function(f){return function(a){return"input"===a.nodeName.toLowerCase()&&a.type===f}},jd=function(f){return function(a){var q=a.nodeName.toLowerCase();return("input"===q||"button"===q)&&a.type===f}},Ra=function(f){return pa(function(a){a=+a;return pa(function(q,b){for(var g,j=f([],q.length,a),c=j.length;c--;)if(q[g=
  j[c]])q[g]=!(b[g]=q[g])})})},ha=function(f){return f&&typeof f.getElementsByTagName!==A&&f},qc=function(){},ta=function(f,a){var q,b,g,j,c,d,n;if(c=rc[f+" "])return a?0:c.slice(0);c=f;d=[];for(n=H.preFilter;c;){if(!q||(b=kd.exec(c)))b&&(c=c.slice(b[0].length)||c),d.push(g=[]);q=!1;if(b=ld.exec(c))q=b.shift(),g.push({value:q,type:b[0].replace(yb," ")}),c=c.slice(q.length);for(j in H.filter)if((b=zb[j].exec(c))&&(!n[j]||(b=n[j](b))))q=b.shift(),g.push({value:q,type:j,matches:b}),c=c.slice(q.length);
  if(!q)break}return a?c.length:c?I.error(f):rc(f,d).slice(0)},xb=function(f){for(var a=0,q=f.length,b="";a<q;a++)b+=f[a].value;return b},Vb=function(f,a,q){var b=a.dir,g=q&&"parentNode"===b,j=md++;return a.first?function(a,q,v){for(;a=a[b];)if(1===a.nodeType||g)return f(a,q,v)}:function(a,q,v){var c,d,n=[Y,j];if(v)for(;a=a[b];){if((1===a.nodeType||g)&&f(a,q,v))return!0}else for(;a=a[b];)if(1===a.nodeType||g){d=a[M]||(a[M]={});if((c=d[b])&&c[0]===Y&&c[1]===j)return n[2]=c[2];d[b]=n;if(n[2]=f(a,q,v))return!0}}},
  Wb=function(f){return 1<f.length?function(a,q,b){for(var g=f.length;g--;)if(!f[g](a,q,b))return!1;return!0}:f[0]},Ab=function(f,a,q,b,g){for(var j,c=[],d=0,n=f.length,m=null!=a;d<n;d++)if(j=f[d])if(!q||q(j,b,g))c.push(j),m&&a.push(d);return c},$a=function(f,a,q,b,g,j){b&&!b[M]&&(b=$a(b));g&&!g[M]&&(g=$a(g,j));return pa(function(j,c,d,n){var m,e,fa=[],r=[],k=c.length,h;if(!(h=j)){h=a||"*";for(var l=d.nodeType?[d]:d,A=[],z=0,ba=l.length;z<ba;z++)I(h,l[z],A);h=A}h=f&&(j||!a)?Ab(h,fa,f,d,n):h;l=q?g||
  (j?f:k||b)?[]:c:h;q&&q(h,l,d,n);if(b){m=Ab(l,r);b(m,[],d,n);for(d=m.length;d--;)if(e=m[d])l[r[d]]=!(h[r[d]]=e)}if(j){if(g||f){if(g){m=[];for(d=l.length;d--;)if(e=l[d])m.push(h[d]=e);g(null,l=[],m,n)}for(d=l.length;d--;)if((e=l[d])&&-1<(m=g?Sa.call(j,e):fa[d]))j[m]=!(c[m]=e)}}else l=Ab(l===c?l.splice(k,l.length):l),g?g(null,c,l,n):Ea.apply(c,l)})},ab=function(f){var a,q,b,g=f.length,j=H.relative[f[0].type];q=j||H.relative[" "];for(var c=j?1:0,d=Vb(function(f){return f===a},q,!0),n=Vb(function(f){return-1<
  Sa.call(a,f)},q,!0),m=[function(f,q,b){return!j&&(b||q!==ya)||((a=q).nodeType?d(f,q,b):n(f,q,b))}];c<g;c++)if(q=H.relative[f[c].type])m=[Vb(Wb(m),q)];else{q=H.filter[f[c].type].apply(null,f[c].matches);if(q[M]){for(b=++c;b<g&&!H.relative[f[b].type];b++);return $a(1<c&&Wb(m),1<c&&xb(f.slice(0,c-1).concat({value:" "===f[c-2].type?"*":""})).replace(yb,"$1"),q,c<b&&ab(f.slice(c,b)),b<g&&ab(f=f.slice(b)),b<g&&xb(f))}m.push(q)}return Wb(m)},za,G,H,Ha,sc,Za,ya,qa,Aa,oa,R,da,ca,Q,ia,ua,xa,M="sizzle"+-new Date,
  W=N.document,Y=0,md=0,tc=Tb(),rc=Tb(),Ia=Tb(),va=function(f,a){f===a&&(Aa=!0);return 0},A="undefined",ba=-2147483648,ea={}.hasOwnProperty,O=[],ra=O.pop,bb=O.push,Ea=O.push,uc=O.slice,Sa=O.indexOf||function(f){for(var a=0,q=this.length;a<q;a++)if(this[a]===f)return a;return-1},vc="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+".replace("w","w#"),wc="\\[[\\x20\\t\\r\\n\\f]*((?:\\\\.|[\\w-]|[^\\x00-\\xa0])+)[\\x20\\t\\r\\n\\f]*(?:([*^$|!~]?=)[\\x20\\t\\r\\n\\f]*(?:(['\"])((?:\\\\.|[^\\\\])*?)\\3|("+vc+")|)|)[\\x20\\t\\r\\n\\f]*\\]",
  Xb=":((?:\\\\.|[\\w-]|[^\\x00-\\xa0])+)(?:\\(((['\"])((?:\\\\.|[^\\\\])*?)\\3|((?:\\\\.|[^\\\\()[\\]]|"+wc.replace(3,8)+")*)|.*)\\)|)",yb=RegExp("^[\\x20\\t\\r\\n\\f]+|((?:^|[^\\\\])(?:\\\\.)*)[\\x20\\t\\r\\n\\f]+$","g"),kd=/^[\x20\t\r\n\f]*,[\x20\t\r\n\f]*/,ld=/^[\x20\t\r\n\f]*([>+~]|[\x20\t\r\n\f])[\x20\t\r\n\f]*/,nd=RegExp("=[\\x20\\t\\r\\n\\f]*([^\\]'\"]*?)[\\x20\\t\\r\\n\\f]*\\]","g"),od=RegExp(Xb),pd=RegExp("^"+vc+"$"),zb={ID:/^#((?:\\.|[\w-]|[^\x00-\xa0])+)/,CLASS:/^\.((?:\\.|[\w-]|[^\x00-\xa0])+)/,
  TAG:RegExp("^("+"(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+".replace("w","w*")+")"),ATTR:RegExp("^"+wc),PSEUDO:RegExp("^"+Xb),CHILD:RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\([\\x20\\t\\r\\n\\f]*(even|odd|(([+-]|)(\\d*)n|)[\\x20\\t\\r\\n\\f]*(?:([+-]|)[\\x20\\t\\r\\n\\f]*(\\d+)|))[\\x20\\t\\r\\n\\f]*\\)|)","i"),bool:RegExp("^(?:checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped)$","i"),needsContext:RegExp("^[\\x20\\t\\r\\n\\f]*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\([\\x20\\t\\r\\n\\f]*((?:-\\d)?\\d*)[\\x20\\t\\r\\n\\f]*\\)|)(?=[^-]|$)",
  "i")},qd=/^(?:input|select|textarea|button)$/i,rd=/^h\d$/i,mb=/^[^{]+\{\s*\[native \w/,gd=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,Sb=/[+~]/,hd=/'|\\/g,Fa=RegExp("\\\\([\\da-f]{1,6}[\\x20\\t\\r\\n\\f]?|([\\x20\\t\\r\\n\\f])|.)","ig"),Ga=function(f,a,q){f="0x"+a-65536;return f!==f||q?a:0>f?String.fromCharCode(f+65536):String.fromCharCode(f>>10|55296,f&1023|56320)};try{Ea.apply(O=uc.call(W.childNodes),W.childNodes),O[W.childNodes.length].nodeType}catch(Yd){Ea={apply:O.length?function(f,a){bb.apply(f,uc.call(a))}:
  function(f,a){for(var q=f.length,b=0;f[q++]=a[b++];);f.length=q-1}}}G=I.support={};sc=I.isXML=function(f){return(f=f&&(f.ownerDocument||f).documentElement)?"HTML"!==f.nodeName:!1};oa=I.setDocument=function(f){var a=f?f.ownerDocument||f:W;f=a.defaultView;if(a===R||9!==a.nodeType||!a.documentElement)return R;R=a;da=a.documentElement;ca=!sc(a);f&&f!==f.top&&(f.addEventListener?f.addEventListener("unload",function(){oa()},!1):f.attachEvent&&f.attachEvent("onunload",function(){oa()}));G.attributes=X(function(f){f.className=
  "i";return!f.getAttribute("className")});G.getElementsByTagName=X(function(f){f.appendChild(a.createComment(""));return!f.getElementsByTagName("*").length});G.getElementsByClassName=mb.test(a.getElementsByClassName)&&X(function(f){f.innerHTML="<div class='a'></div><div class='a i'></div>";f.firstChild.className="i";return 2===f.getElementsByClassName("i").length});G.getById=X(function(f){da.appendChild(f).id=M;return!a.getElementsByName||!a.getElementsByName(M).length});G.getById?(H.find.ID=function(f,
  a){if(typeof a.getElementById!==A&&ca){var b=a.getElementById(f);return b&&b.parentNode?[b]:[]}},H.filter.ID=function(f){var a=f.replace(Fa,Ga);return function(f){return f.getAttribute("id")===a}}):(delete H.find.ID,H.filter.ID=function(f){var a=f.replace(Fa,Ga);return function(f){return(f=typeof f.getAttributeNode!==A&&f.getAttributeNode("id"))&&f.value===a}});H.find.TAG=G.getElementsByTagName?function(f,a){if(typeof a.getElementsByTagName!==A)return a.getElementsByTagName(f)}:function(f,a){var b,
  v=[],g=0,j=a.getElementsByTagName(f);if("*"===f){for(;b=j[g++];)1===b.nodeType&&v.push(b);return v}return j};H.find.CLASS=G.getElementsByClassName&&function(f,a){if(typeof a.getElementsByClassName!==A&&ca)return a.getElementsByClassName(f)};ia=[];Q=[];if(G.qsa=mb.test(a.querySelectorAll))X(function(f){f.innerHTML="<select t=''><option selected=''></option></select>";f.querySelectorAll("[t^='']").length&&Q.push("[*^$]=[\\x20\\t\\r\\n\\f]*(?:''|\"\")");f.querySelectorAll("[selected]").length||Q.push("\\[[\\x20\\t\\r\\n\\f]*(?:value|checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped)");
  f.querySelectorAll(":checked").length||Q.push(":checked")}),X(function(f){var b=a.createElement("input");b.setAttribute("type","hidden");f.appendChild(b).setAttribute("name","D");f.querySelectorAll("[name=d]").length&&Q.push("name[\\x20\\t\\r\\n\\f]*[*^$|!~]?=");f.querySelectorAll(":enabled").length||Q.push(":enabled",":disabled");f.querySelectorAll("*,:x");Q.push(",.*:")});(G.matchesSelector=mb.test(ua=da.webkitMatchesSelector||da.mozMatchesSelector||da.oMatchesSelector||da.msMatchesSelector))&&
  X(function(f){G.disconnectedMatch=ua.call(f,"div");ua.call(f,"[s!='']:x");ia.push("!=",Xb)});Q=Q.length&&RegExp(Q.join("|"));ia=ia.length&&RegExp(ia.join("|"));xa=(f=mb.test(da.compareDocumentPosition))||mb.test(da.contains)?function(f,a){var b=9===f.nodeType?f.documentElement:f,v=a&&a.parentNode;return f===v||!(!v||!(1===v.nodeType&&(b.contains?b.contains(v):f.compareDocumentPosition&&f.compareDocumentPosition(v)&16)))}:function(f,a){if(a)for(;a=a.parentNode;)if(a===f)return!0;return!1};va=f?function(f,
  b){if(f===b)return Aa=!0,0;var g=!f.compareDocumentPosition-!b.compareDocumentPosition;if(g)return g;g=(f.ownerDocument||f)===(b.ownerDocument||b)?f.compareDocumentPosition(b):1;return g&1||!G.sortDetached&&b.compareDocumentPosition(f)===g?f===a||f.ownerDocument===W&&xa(W,f)?-1:b===a||b.ownerDocument===W&&xa(W,b)?1:qa?Sa.call(qa,f)-Sa.call(qa,b):0:g&4?-1:1}:function(f,b){if(f===b)return Aa=!0,0;var g,j=0;g=f.parentNode;var c=b.parentNode,d=[f],n=[b];if(!g||!c)return f===a?-1:b===a?1:g?-1:c?1:qa?Sa.call(qa,
  f)-Sa.call(qa,b):0;if(g===c)return pc(f,b);for(g=f;g=g.parentNode;)d.unshift(g);for(g=b;g=g.parentNode;)n.unshift(g);for(;d[j]===n[j];)j++;return j?pc(d[j],n[j]):d[j]===W?-1:n[j]===W?1:0};return a};I.matches=function(f,a){return I(f,null,null,a)};I.matchesSelector=function(f,a){(f.ownerDocument||f)!==R&&oa(f);a=a.replace(nd,"='$1']");if(G.matchesSelector&&ca&&(!ia||!ia.test(a))&&(!Q||!Q.test(a)))try{var b=ua.call(f,a);if(b||G.disconnectedMatch||f.document&&11!==f.document.nodeType)return b}catch(g){}return 0<
  I(a,R,null,[f]).length};I.contains=function(f,a){(f.ownerDocument||f)!==R&&oa(f);return xa(f,a)};I.attr=function(f,a){(f.ownerDocument||f)!==R&&oa(f);var b=H.attrHandle[a.toLowerCase()],b=b&&ea.call(H.attrHandle,a.toLowerCase())?b(f,a,!ca):void 0;return void 0!==b?b:G.attributes||!ca?f.getAttribute(a):(b=f.getAttributeNode(a))&&b.specified?b.value:null};I.error=function(f){throw Error("Syntax error, unrecognized expression: "+f);};I.uniqueSort=function(f){var a,b=[],g=0,j=0;Aa=!G.detectDuplicates;
  qa=!G.sortStable&&f.slice(0);f.sort(va);if(Aa){for(;a=f[j++];)a===f[j]&&(g=b.push(j));for(;g--;)f.splice(b[g],1)}qa=null;return f};Ha=I.getText=function(f){var a,b="",g=0;if(a=f.nodeType)if(1===a||9===a||11===a){if("string"===typeof f.textContent)return f.textContent;for(f=f.firstChild;f;f=f.nextSibling)b+=Ha(f)}else{if(3===a||4===a)return f.nodeValue}else for(;a=f[g++];)b+=Ha(a);return b};H=I.selectors={cacheLength:50,createPseudo:pa,match:zb,attrHandle:{},find:{},relative:{">":{dir:"parentNode",
  first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(f){f[1]=f[1].replace(Fa,Ga);f[3]=(f[4]||f[5]||"").replace(Fa,Ga);"~="===f[2]&&(f[3]=" "+f[3]+" ");return f.slice(0,4)},CHILD:function(f){f[1]=f[1].toLowerCase();"nth"===f[1].slice(0,3)?(f[3]||I.error(f[0]),f[4]=+(f[4]?f[5]+(f[6]||1):2*("even"===f[3]||"odd"===f[3])),f[5]=+(f[7]+f[8]||"odd"===f[3])):f[3]&&I.error(f[0]);return f},PSEUDO:function(f){var a,b=!f[5]&&f[2];if(zb.CHILD.test(f[0]))return null;
  if(f[3]&&void 0!==f[4])f[2]=f[4];else if(b&&od.test(b)&&(a=ta(b,!0))&&(a=b.indexOf(")",b.length-a)-b.length))f[0]=f[0].slice(0,a),f[2]=b.slice(0,a);return f.slice(0,3)}},filter:{TAG:function(f){var a=f.replace(Fa,Ga).toLowerCase();return"*"===f?function(){return!0}:function(f){return f.nodeName&&f.nodeName.toLowerCase()===a}},CLASS:function(f){var a=tc[f+" "];return a||(a=RegExp("(^|[\\x20\\t\\r\\n\\f])"+f+"([\\x20\\t\\r\\n\\f]|$)"))&&tc(f,function(f){return a.test("string"===typeof f.className&&
  f.className||typeof f.getAttribute!==A&&f.getAttribute("class")||"")})},ATTR:function(f,a,b){return function(g){g=I.attr(g,f);if(null==g)return"!="===a;if(!a)return!0;g+="";return"="===a?g===b:"!="===a?g!==b:"^="===a?b&&0===g.indexOf(b):"*="===a?b&&-1<g.indexOf(b):"$="===a?b&&g.slice(-b.length)===b:"~="===a?-1<(" "+g+" ").indexOf(b):"|="===a?g===b||g.slice(0,b.length+1)===b+"-":!1}},CHILD:function(f,a,b,g,j){var c="nth"!==f.slice(0,3),d="last"!==f.slice(-4),n="of-type"===a;return 1===g&&0===j?function(f){return!!f.parentNode}:
  function(a,b,q){var v,m,e,r,h;b=c!==d?"nextSibling":"previousSibling";var l=a.parentNode,k=n&&a.nodeName.toLowerCase();q=!q&&!n;if(l){if(c){for(;b;){for(m=a;m=m[b];)if(n?m.nodeName.toLowerCase()===k:1===m.nodeType)return!1;h=b="only"===f&&!h&&"nextSibling"}return!0}h=[d?l.firstChild:l.lastChild];if(d&&q){q=l[M]||(l[M]={});v=q[f]||[];r=v[0]===Y&&v[1];e=v[0]===Y&&v[2];for(m=r&&l.childNodes[r];m=++r&&m&&m[b]||(e=r=0)||h.pop();)if(1===m.nodeType&&++e&&m===a){q[f]=[Y,r,e];break}}else if(q&&(v=(a[M]||(a[M]=
  {}))[f])&&v[0]===Y)e=v[1];else for(;m=++r&&m&&m[b]||(e=r=0)||h.pop();)if((n?m.nodeName.toLowerCase()===k:1===m.nodeType)&&++e)if(q&&((m[M]||(m[M]={}))[f]=[Y,e]),m===a)break;e-=j;return e===g||0===e%g&&0<=e/g}}},PSEUDO:function(f,a){var b,g=H.pseudos[f]||H.setFilters[f.toLowerCase()]||I.error("unsupported pseudo: "+f);return g[M]?g(a):1<g.length?(b=[f,f,"",a],H.setFilters.hasOwnProperty(f.toLowerCase())?pa(function(f,b){for(var q,j=g(f,a),c=j.length;c--;)q=Sa.call(f,j[c]),f[q]=!(b[q]=j[c])}):function(f){return g(f,
  0,b)}):g}},pseudos:{not:pa(function(f){var a=[],b=[],g=Za(f.replace(yb,"$1"));return g[M]?pa(function(f,a,b,q){q=g(f,null,q,[]);for(var v=f.length;v--;)if(b=q[v])f[v]=!(a[v]=b)}):function(f,j,c){a[0]=f;g(a,null,c,b);return!b.pop()}}),has:pa(function(f){return function(a){return 0<I(f,a).length}}),contains:pa(function(f){return function(a){return-1<(a.textContent||a.innerText||Ha(a)).indexOf(f)}}),lang:pa(function(f){pd.test(f||"")||I.error("unsupported lang: "+f);f=f.replace(Fa,Ga).toLowerCase();
  return function(a){var b;do if(b=ca?a.lang:a.getAttribute("xml:lang")||a.getAttribute("lang"))return b=b.toLowerCase(),b===f||0===b.indexOf(f+"-");while((a=a.parentNode)&&1===a.nodeType);return!1}}),target:function(f){var a=N.location&&N.location.hash;return a&&a.slice(1)===f.id},root:function(f){return f===da},focus:function(f){return f===R.activeElement&&(!R.hasFocus||R.hasFocus())&&!(!f.type&&!f.href&&!~f.tabIndex)},enabled:function(f){return!1===f.disabled},disabled:function(f){return!0===f.disabled},
  checked:function(f){var a=f.nodeName.toLowerCase();return"input"===a&&!!f.checked||"option"===a&&!!f.selected},selected:function(f){f.parentNode&&f.parentNode.selectedIndex;return!0===f.selected},empty:function(f){for(f=f.firstChild;f;f=f.nextSibling)if(6>f.nodeType)return!1;return!0},parent:function(f){return!H.pseudos.empty(f)},header:function(f){return rd.test(f.nodeName)},input:function(f){return qd.test(f.nodeName)},button:function(f){var a=f.nodeName.toLowerCase();return"input"===a&&"button"===
  f.type||"button"===a},text:function(f){var a;return"input"===f.nodeName.toLowerCase()&&"text"===f.type&&(null==(a=f.getAttribute("type"))||"text"===a.toLowerCase())},first:Ra(function(){return[0]}),last:Ra(function(f,a){return[a-1]}),eq:Ra(function(f,a,b){return[0>b?b+a:b]}),even:Ra(function(f,a){for(var b=0;b<a;b+=2)f.push(b);return f}),odd:Ra(function(f,a){for(var b=1;b<a;b+=2)f.push(b);return f}),lt:Ra(function(f,a,b){for(a=0>b?b+a:b;0<=--a;)f.push(a);return f}),gt:Ra(function(f,a,b){for(b=0>b?
  b+a:b;++b<a;)f.push(b);return f})}};H.pseudos.nth=H.pseudos.eq;for(za in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})H.pseudos[za]=id(za);for(za in{submit:!0,reset:!0})H.pseudos[za]=jd(za);qc.prototype=H.filters=H.pseudos;H.setFilters=new qc;Za=I.compile=function(f,a){var b,g=[],j=[],c=Ia[f+" "];if(!c){a||(a=ta(f));for(b=a.length;b--;)c=ab(a[b]),c[M]?g.push(c):j.push(c);var d=0<g.length,n=0<j.length;b=function(f,a,b,q,v){var c,m,e,r=0,fa="0",h=f&&[],l=[],k=ya,A=f||n&&H.find.TAG("*",v),z=Y+=
  null==k?1:Math.random()||0.1,ba=A.length;for(v&&(ya=a!==R&&a);fa!==ba&&null!=(c=A[fa]);fa++){if(n&&c){for(m=0;e=j[m++];)if(e(c,a,b)){q.push(c);break}v&&(Y=z)}d&&((c=!e&&c)&&r--,f&&h.push(c))}r+=fa;if(d&&fa!==r){for(m=0;e=g[m++];)e(h,l,a,b);if(f){if(0<r)for(;fa--;)!h[fa]&&!l[fa]&&(l[fa]=ra.call(q));l=Ab(l)}Ea.apply(q,l);v&&(!f&&0<l.length&&1<r+g.length)&&I.uniqueSort(q)}v&&(Y=z,ya=k);return h};b=d?pa(b):b;c=Ia(f,b)}return c};G.sortStable=M.split("").sort(va).join("")===M;G.detectDuplicates=!!Aa;oa();
  G.sortDetached=X(function(f){return f.compareDocumentPosition(R.createElement("div"))&1});X(function(f){f.innerHTML="<a href='#'></a>";return"#"===f.firstChild.getAttribute("href")})||Ub("type|href|height|width",function(f,a,b){if(!b)return f.getAttribute(a,"type"===a.toLowerCase()?1:2)});(!G.attributes||!X(function(f){f.innerHTML="<input/>";f.firstChild.setAttribute("value","");return""===f.firstChild.getAttribute("value")}))&&Ub("value",function(f,a,b){if(!b&&"input"===f.nodeName.toLowerCase())return f.defaultValue});
  X(function(f){return null==f.getAttribute("disabled")})||Ub("checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",function(f,a,b){var g;if(!b)return!0===f[a]?a.toLowerCase():(g=f.getAttributeNode(a))&&g.specified?g.value:null});g.find=I;g.expr=I.selectors;g.expr[":"]=g.expr.pseudos;g.unique=I.uniqueSort;g.text=I.getText;g.isXMLDoc=I.isXML;g.contains=I.contains;var xc=g.expr.match.needsContext,yc=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,Wc=
  /^.[^:#\[\.,]*$/;g.filter=function(f,a,b){var j=a[0];b&&(f=":not("+f+")");return 1===a.length&&1===j.nodeType?g.find.matchesSelector(j,f)?[j]:[]:g.find.matches(f,g.grep(a,function(f){return 1===f.nodeType}))};g.fn.extend({find:function(f){var a,b=[],j=this,c=j.length;if("string"!==typeof f)return this.pushStack(g(f).filter(function(){for(a=0;a<c;a++)if(g.contains(j[a],this))return!0}));for(a=0;a<c;a++)g.find(f,j[a],b);b=this.pushStack(1<c?g.unique(b):b);b.selector=this.selector?this.selector+" "+
  f:f;return b},filter:function(f){return this.pushStack(k(this,f||[],!1))},not:function(f){return this.pushStack(k(this,f||[],!0))},is:function(f){return!!k(this,"string"===typeof f&&xc.test(f)?g(f):f||[],!1).length}});var nb,y=a.document,sd=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/;(g.fn.init=function(f,a){var b,j;if(!f)return this;if("string"===typeof f){if((b="<"===f.charAt(0)&&">"===f.charAt(f.length-1)&&3<=f.length?[null,f,null]:sd.exec(f))&&(b[1]||!a)){if(b[1]){if(a=a instanceof g?a[0]:a,g.merge(this,
  g.parseHTML(b[1],a&&a.nodeType?a.ownerDocument||a:y,!0)),yc.test(b[1])&&g.isPlainObject(a))for(b in a)if(g.isFunction(this[b]))this[b](a[b]);else this.attr(b,a[b])}else{if((j=y.getElementById(b[2]))&&j.parentNode){if(j.id!==b[2])return nb.find(f);this.length=1;this[0]=j}this.context=y;this.selector=f}return this}return!a||a.jquery?(a||nb).find(f):this.constructor(a).find(f)}if(f.nodeType)return this.context=this[0]=f,this.length=1,this;if(g.isFunction(f))return"undefined"!==typeof nb.ready?nb.ready(f):
  f(g);void 0!==f.selector&&(this.selector=f.selector,this.context=f.context);return g.makeArray(f,this)}).prototype=g.fn;nb=g(y);var td=/^(?:parents|prev(?:Until|All))/,ud={children:!0,contents:!0,next:!0,prev:!0};g.extend({dir:function(f,a,b){var j=[];for(f=f[a];f&&9!==f.nodeType&&(void 0===b||1!==f.nodeType||!g(f).is(b));)1===f.nodeType&&j.push(f),f=f[a];return j},sibling:function(f,a){for(var b=[];f;f=f.nextSibling)1===f.nodeType&&f!==a&&b.push(f);return b}});g.fn.extend({has:function(f){var a,
  b=g(f,this),j=b.length;return this.filter(function(){for(a=0;a<j;a++)if(g.contains(this,b[a]))return!0})},closest:function(f,a){for(var b,j=0,c=this.length,d=[],n=xc.test(f)||"string"!==typeof f?g(f,a||this.context):0;j<c;j++)for(b=this[j];b&&b!==a;b=b.parentNode)if(11>b.nodeType&&(n?-1<n.index(b):1===b.nodeType&&g.find.matchesSelector(b,f))){d.push(b);break}return this.pushStack(1<d.length?g.unique(d):d)},index:function(f){return!f?this[0]&&this[0].parentNode?this.first().prevAll().length:-1:"string"===
  typeof f?g.inArray(this[0],g(f)):g.inArray(f.jquery?f[0]:f,this)},add:function(f,a){return this.pushStack(g.unique(g.merge(this.get(),g(f,a))))},addBack:function(f){return this.add(null==f?this.prevObject:this.prevObject.filter(f))}});g.each({parent:function(f){return(f=f.parentNode)&&11!==f.nodeType?f:null},parents:function(f){return g.dir(f,"parentNode")},parentsUntil:function(f,a,b){return g.dir(f,"parentNode",b)},next:function(f){return e(f,"nextSibling")},prev:function(f){return e(f,"previousSibling")},
  nextAll:function(f){return g.dir(f,"nextSibling")},prevAll:function(f){return g.dir(f,"previousSibling")},nextUntil:function(f,a,b){return g.dir(f,"nextSibling",b)},prevUntil:function(f,a,b){return g.dir(f,"previousSibling",b)},siblings:function(f){return g.sibling((f.parentNode||{}).firstChild,f)},children:function(f){return g.sibling(f.firstChild)},contents:function(f){return g.nodeName(f,"iframe")?f.contentDocument||f.contentWindow.document:g.merge([],f.childNodes)}},function(f,a){g.fn[f]=function(b,
  j){var c=g.map(this,a,b);"Until"!==f.slice(-5)&&(j=b);j&&"string"===typeof j&&(c=g.filter(j,c));1<this.length&&(ud[f]||(c=g.unique(c)),td.test(f)&&(c=c.reverse()));return this.pushStack(c)}});var wa=/\S+/g,zc={};g.Callbacks=function(f){var a;if("string"===typeof f){if(!(a=zc[f])){a=f;var b=zc[a]={};g.each(a.match(wa)||[],function(f,a){b[a]=!0});a=b}}else a=g.extend({},f);f=a;var j,c,d,n,m,e,r=[],l=!f.once&&[],h=function(a){c=f.memory&&a;d=!0;m=e||0;e=0;n=r.length;for(j=!0;r&&m<n;m++)if(!1===r[m].apply(a[0],
  a[1])&&f.stopOnFalse){c=!1;break}j=!1;r&&(l?l.length&&h(l.shift()):c?r=[]:k.disable())},k={add:function(){if(r){var a=r.length;(function ad(a){g.each(a,function(a,b){var q=g.type(b);"function"===q?(!f.unique||!k.has(b))&&r.push(b):b&&(b.length&&"string"!==q)&&ad(b)})})(arguments);j?n=r.length:c&&(e=a,h(c))}return this},remove:function(){r&&g.each(arguments,function(f,a){for(var b;-1<(b=g.inArray(a,r,b));)r.splice(b,1),j&&(b<=n&&n--,b<=m&&m--)});return this},has:function(f){return f?-1<g.inArray(f,
  r):!(!r||!r.length)},empty:function(){r=[];n=0;return this},disable:function(){r=l=c=void 0;return this},disabled:function(){return!r},lock:function(){l=void 0;c||k.disable();return this},locked:function(){return!l},fireWith:function(f,a){if(r&&(!d||l))a=a||[],a=[f,a.slice?a.slice():a],j?l.push(a):h(a);return this},fire:function(){k.fireWith(this,arguments);return this},fired:function(){return!!d}};return k};g.extend({Deferred:function(f){var a=[["resolve","done",g.Callbacks("once memory"),"resolved"],
  ["reject","fail",g.Callbacks("once memory"),"rejected"],["notify","progress",g.Callbacks("memory")]],b="pending",j={state:function(){return b},always:function(){c.done(arguments).fail(arguments);return this},then:function(){var f=arguments;return g.Deferred(function(b){g.each(a,function(a,q){var v=g.isFunction(f[a])&&f[a];c[q[1]](function(){var f=v&&v.apply(this,arguments);if(f&&g.isFunction(f.promise))f.promise().done(b.resolve).fail(b.reject).progress(b.notify);else b[q[0]+"With"](this===j?b.promise():
  this,v?[f]:arguments)})});f=null}).promise()},promise:function(f){return null!=f?g.extend(f,j):j}},c={};j.pipe=j.then;g.each(a,function(f,g){var d=g[2],n=g[3];j[g[1]]=d.add;n&&d.add(function(){b=n},a[f^1][2].disable,a[2][2].lock);c[g[0]]=function(){c[g[0]+"With"](this===c?j:this,arguments);return this};c[g[0]+"With"]=d.fireWith});j.promise(c);f&&f.call(c,c);return c},when:function(f){var a=0,b=m.call(arguments),j=b.length,c=1!==j||f&&g.isFunction(f.promise)?j:0,d=1===c?f:g.Deferred(),n=function(f,
  a,b){return function(g){a[f]=this;b[f]=1<arguments.length?m.call(arguments):g;b===e?d.notifyWith(a,b):--c||d.resolveWith(a,b)}},e,r,l;if(1<j){e=Array(j);r=Array(j);for(l=Array(j);a<j;a++)b[a]&&g.isFunction(b[a].promise)?b[a].promise().done(n(a,l,b)).fail(d.reject).progress(n(a,r,e)):--c}c||d.resolveWith(l,b);return d.promise()}});var Bb;g.fn.ready=function(f){g.ready.promise().done(f);return this};g.extend({isReady:!1,readyWait:1,holdReady:function(f){f?g.readyWait++:g.ready(!0)},ready:function(f){if(!(!0===
  f?--g.readyWait:g.isReady)){if(!y.body)return setTimeout(g.ready);g.isReady=!0;!0!==f&&0<--g.readyWait||(Bb.resolveWith(y,[g]),g.fn.trigger&&g(y).trigger("ready").off("ready"))}}});g.ready.promise=function(f){if(!Bb)if(Bb=g.Deferred(),"complete"===y.readyState)setTimeout(g.ready);else if(y.addEventListener)y.addEventListener("DOMContentLoaded",t,!1),a.addEventListener("load",t,!1);else{y.attachEvent("onreadystatechange",t);a.attachEvent("onload",t);var b=!1;try{b=null==a.frameElement&&y.documentElement}catch(j){}b&&
  b.doScroll&&function Vc(){if(!g.isReady){try{b.doScroll("left")}catch(f){return setTimeout(Vc,50)}h();g.ready()}}()}return Bb.promise(f)};var ka="undefined",Ac;for(Ac in g(u))break;u.ownLast="0"!==Ac;u.inlineBlockNeedsLayout=!1;g(function(){var f,a,b=y.getElementsByTagName("body")[0];if(b){f=y.createElement("div");f.style.cssText="border:0;width:0;height:0;position:absolute;top:0;left:-9999px;margin-top:1px";a=y.createElement("div");b.appendChild(f).appendChild(a);if(typeof a.style.zoom!==ka&&(a.style.cssText=
  "border:0;margin:0;width:1px;padding:1px;display:inline;zoom:1",u.inlineBlockNeedsLayout=3===a.offsetWidth))b.style.zoom=1;b.removeChild(f)}});var vd=y.createElement("div");if(null==u.deleteExpando){u.deleteExpando=!0;try{delete vd.test}catch(Zd){u.deleteExpando=!1}}g.acceptData=function(f){var a=g.noData[(f.nodeName+" ").toLowerCase()],b=+f.nodeType||1;return 1!==b&&9!==b?!1:!a||!0!==a&&f.getAttribute("classid")===a};var Yc=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,Xc=/([A-Z])/g;g.extend({cache:{},noData:{"applet ":!0,
  "embed ":!0,"object ":"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"},hasData:function(f){f=f.nodeType?g.cache[f[g.expando]]:f[g.expando];return!!f&&!b(f)},data:function(f,a,b){return d(f,a,b)},removeData:function(f,a){return c(f,a)},_data:function(f,a,b){return d(f,a,b,!0)},_removeData:function(f,a){return c(f,a,!0)}});g.fn.extend({data:function(f,a){var b,j,c,d=this[0],n=d&&d.attributes;if(void 0===f){if(this.length&&(c=g.data(d),1===d.nodeType&&!g._data(d,"parsedAttrs"))){for(b=n.length;b--;)j=n[b].name,
  0===j.indexOf("data-")&&(j=g.camelCase(j.slice(5)),s(d,j,c[j]));g._data(d,"parsedAttrs",!0)}return c}return"object"===typeof f?this.each(function(){g.data(this,f)}):1<arguments.length?this.each(function(){g.data(this,f,a)}):d?s(d,f,g.data(d,f)):void 0},removeData:function(f){return this.each(function(){g.removeData(this,f)})}});g.extend({queue:function(f,a,b){var j;if(f)return a=(a||"fx")+"queue",j=g._data(f,a),b&&(!j||g.isArray(b)?j=g._data(f,a,g.makeArray(b)):j.push(b)),j||[]},dequeue:function(f,
  a){a=a||"fx";var b=g.queue(f,a),j=b.length,c=b.shift(),d=g._queueHooks(f,a),n=function(){g.dequeue(f,a)};"inprogress"===c&&(c=b.shift(),j--);c&&("fx"===a&&b.unshift("inprogress"),delete d.stop,c.call(f,n,d));!j&&d&&d.empty.fire()},_queueHooks:function(f,a){var b=a+"queueHooks";return g._data(f,b)||g._data(f,b,{empty:g.Callbacks("once memory").add(function(){g._removeData(f,a+"queue");g._removeData(f,b)})})}});g.fn.extend({queue:function(f,a){var b=2;"string"!==typeof f&&(a=f,f="fx",b--);return arguments.length<
  b?g.queue(this[0],f):void 0===a?this:this.each(function(){var b=g.queue(this,f,a);g._queueHooks(this,f);"fx"===f&&"inprogress"!==b[0]&&g.dequeue(this,f)})},dequeue:function(f){return this.each(function(){g.dequeue(this,f)})},clearQueue:function(f){return this.queue(f||"fx",[])},promise:function(f,a){var b,j=1,c=g.Deferred(),d=this,n=this.length,m=function(){--j||c.resolveWith(d,[d])};"string"!==typeof f&&(a=f,f=void 0);for(f=f||"fx";n--;)if((b=g._data(d[n],f+"queueHooks"))&&b.empty)j++,b.empty.add(m);
  m();return c.promise(a)}});var Cb=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,Oa=["Top","Right","Bottom","Left"],hb=function(a,b){a=b||a;return"none"===g.css(a,"display")||!g.contains(a.ownerDocument,a)},Ta=g.access=function(a,b,j,c,d,n,m){var e=0,r=a.length,l=null==j;if("object"===g.type(j))for(e in d=!0,j)g.access(a,b,e,j[e],!0,n,m);else if(void 0!==c&&(d=!0,g.isFunction(c)||(m=!0),l&&(m?(b.call(a,c),b=null):(l=b,b=function(a,f,b){return l.call(g(a),b)})),b))for(;e<r;e++)b(a[e],j,m?c:c.call(a[e],
  e,b(a[e],j)));return d?a:l?b.call(a):r?b(a[0],j):n},Pb=/^(?:checkbox|radio)$/i,Yb=y.createDocumentFragment(),Z=y.createElement("div"),ob=y.createElement("input");Z.setAttribute("className","t");Z.innerHTML="  <link/><table></table><a href='/a'>a</a>";u.leadingWhitespace=3===Z.firstChild.nodeType;u.tbody=!Z.getElementsByTagName("tbody").length;u.htmlSerialize=!!Z.getElementsByTagName("link").length;u.html5Clone="<:nav></:nav>"!==y.createElement("nav").cloneNode(!0).outerHTML;ob.type="checkbox";ob.checked=
  !0;Yb.appendChild(ob);u.appendChecked=ob.checked;Z.innerHTML="<textarea>x</textarea>";u.noCloneChecked=!!Z.cloneNode(!0).lastChild.defaultValue;Yb.appendChild(Z);Z.innerHTML="<input type='radio' checked='checked' name='t'/>";u.checkClone=Z.cloneNode(!0).cloneNode(!0).lastChild.checked;u.noCloneEvent=!0;Z.attachEvent&&(Z.attachEvent("onclick",function(){u.noCloneEvent=!1}),Z.cloneNode(!0).click());if(null==u.deleteExpando){u.deleteExpando=!0;try{delete Z.test}catch($d){u.deleteExpando=!1}}var Yb=Z=
  ob=null,Db,Eb,Bc=y.createElement("div");for(Db in{submit:!0,change:!0,focusin:!0})if(Eb="on"+Db,!(u[Db+"Bubbles"]=Eb in a))Bc.setAttribute(Eb,"t"),u[Db+"Bubbles"]=!1===Bc.attributes[Eb].expando;var Zb=/^(?:input|select|textarea)$/i,wd=/^key/,xd=/^(?:mouse|contextmenu)|click/,Cc=/^(?:focusinfocus|focusoutblur)$/,Dc=/^([^.]*)(?:\.(.+)|)$/;g.event={global:{},add:function(a,b,j,c,d){var n,m,e,r,l,h,k,A,z;if(e=g._data(a)){j.handler&&(r=j,j=r.handler,d=r.selector);j.guid||(j.guid=g.guid++);if(!(m=e.events))m=
  e.events={};if(!(l=e.handle))l=e.handle=function(a){return typeof g!==ka&&(!a||g.event.triggered!==a.type)?g.event.dispatch.apply(l.elem,arguments):void 0},l.elem=a;b=(b||"").match(wa)||[""];for(e=b.length;e--;)if(n=Dc.exec(b[e])||[],A=h=n[1],z=(n[2]||"").split(".").sort(),A){n=g.event.special[A]||{};A=(d?n.delegateType:n.bindType)||A;n=g.event.special[A]||{};h=g.extend({type:A,origType:h,data:c,handler:j,guid:j.guid,selector:d,needsContext:d&&g.expr.match.needsContext.test(d),namespace:z.join(".")},
  r);if(!(k=m[A]))if(k=m[A]=[],k.delegateCount=0,!n.setup||!1===n.setup.call(a,c,z,l))a.addEventListener?a.addEventListener(A,l,!1):a.attachEvent&&a.attachEvent("on"+A,l);n.add&&(n.add.call(a,h),h.handler.guid||(h.handler.guid=j.guid));d?k.splice(k.delegateCount++,0,h):k.push(h);g.event.global[A]=!0}a=null}},remove:function(a,b,j,c,d){var n,m,e,r,l,h,k,A,z,ba,E,t=g.hasData(a)&&g._data(a);if(t&&(h=t.events)){b=(b||"").match(wa)||[""];for(l=b.length;l--;)if(e=Dc.exec(b[l])||[],z=E=e[1],ba=(e[2]||"").split(".").sort(),
  z){k=g.event.special[z]||{};z=(c?k.delegateType:k.bindType)||z;A=h[z]||[];e=e[2]&&RegExp("(^|\\.)"+ba.join("\\.(?:.*\\.|)")+"(\\.|$)");for(r=n=A.length;n--;)if(m=A[n],(d||E===m.origType)&&(!j||j.guid===m.guid)&&(!e||e.test(m.namespace))&&(!c||c===m.selector||"**"===c&&m.selector))A.splice(n,1),m.selector&&A.delegateCount--,k.remove&&k.remove.call(a,m);r&&!A.length&&((!k.teardown||!1===k.teardown.call(a,ba,t.handle))&&g.removeEvent(a,z,t.handle),delete h[z])}else for(z in h)g.event.remove(a,z+b[l],
  j,c,!0);g.isEmptyObject(h)&&(delete t.handle,g._removeData(a,"events"))}},trigger:function(f,b,j,c){var d,n,m,e,r,l,h=[j||y],k=Ya.call(f,"type")?f.type:f;r=Ya.call(f,"namespace")?f.namespace.split("."):[];m=d=j=j||y;if(!(3===j.nodeType||8===j.nodeType)&&!Cc.test(k+g.event.triggered))if(0<=k.indexOf(".")&&(r=k.split("."),k=r.shift(),r.sort()),n=0>k.indexOf(":")&&"on"+k,f=f[g.expando]?f:new g.Event(k,"object"===typeof f&&f),f.isTrigger=c?2:3,f.namespace=r.join("."),f.namespace_re=f.namespace?RegExp("(^|\\.)"+
  r.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,f.result=void 0,f.target||(f.target=j),b=null==b?[f]:g.makeArray(b,[f]),r=g.event.special[k]||{},c||!(r.trigger&&!1===r.trigger.apply(j,b))){if(!c&&!r.noBubble&&!g.isWindow(j)){e=r.delegateType||k;Cc.test(e+k)||(m=m.parentNode);for(;m;m=m.parentNode)h.push(m),d=m;if(d===(j.ownerDocument||y))h.push(d.defaultView||d.parentWindow||a)}for(l=0;(m=h[l++])&&!f.isPropagationStopped();)if(f.type=1<l?e:r.bindType||k,(d=(g._data(m,"events")||{})[f.type]&&g._data(m,"handle"))&&
  d.apply(m,b),(d=n&&m[n])&&d.apply&&g.acceptData(m))f.result=d.apply(m,b),!1===f.result&&f.preventDefault();f.type=k;if(!c&&!f.isDefaultPrevented()&&(!r._default||!1===r._default.apply(h.pop(),b))&&g.acceptData(j)&&n&&j[k]&&!g.isWindow(j)){(d=j[n])&&(j[n]=null);g.event.triggered=k;try{j[k]()}catch(A){}g.event.triggered=void 0;d&&(j[n]=d)}return f.result}},dispatch:function(a){a=g.event.fix(a);var b,j,c,d,n=[],e=m.call(arguments);b=(g._data(this,"events")||{})[a.type]||[];var r=g.event.special[a.type]||
  {};e[0]=a;a.delegateTarget=this;if(!(r.preDispatch&&!1===r.preDispatch.call(this,a))){n=g.event.handlers.call(this,a,b);for(b=0;(c=n[b++])&&!a.isPropagationStopped();){a.currentTarget=c.elem;for(d=0;(j=c.handlers[d++])&&!a.isImmediatePropagationStopped();)if(!a.namespace_re||a.namespace_re.test(j.namespace))if(a.handleObj=j,a.data=j.data,j=((g.event.special[j.origType]||{}).handle||j.handler).apply(c.elem,e),void 0!==j&&!1===(a.result=j))a.preventDefault(),a.stopPropagation()}r.postDispatch&&r.postDispatch.call(this,
  a);return a.result}},handlers:function(a,b){var j,c,d,n,m=[],e=b.delegateCount,r=a.target;if(e&&r.nodeType&&(!a.button||"click"!==a.type))for(;r!=this;r=r.parentNode||this)if(1===r.nodeType&&(!0!==r.disabled||"click"!==a.type)){d=[];for(n=0;n<e;n++)c=b[n],j=c.selector+" ",void 0===d[j]&&(d[j]=c.needsContext?0<=g(j,this).index(r):g.find(j,this,null,[r]).length),d[j]&&d.push(c);d.length&&m.push({elem:r,handlers:d})}e<b.length&&m.push({elem:this,handlers:b.slice(e)});return m},fix:function(a){if(a[g.expando])return a;
  var b,j,c;b=a.type;var d=a,n=this.fixHooks[b];n||(this.fixHooks[b]=n=xd.test(b)?this.mouseHooks:wd.test(b)?this.keyHooks:{});c=n.props?this.props.concat(n.props):this.props;a=new g.Event(d);for(b=c.length;b--;)j=c[b],a[j]=d[j];a.target||(a.target=d.srcElement||y);3===a.target.nodeType&&(a.target=a.target.parentNode);a.metaKey=!!a.metaKey;return n.filter?n.filter(a,d):a},props:"altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),
  fixHooks:{},keyHooks:{props:["char","charCode","key","keyCode"],filter:function(a,b){null==a.which&&(a.which=null!=b.charCode?b.charCode:b.keyCode);return a}},mouseHooks:{props:"button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(a,b){var g,j,c=b.button,d=b.fromElement;null==a.pageX&&null!=b.clientX&&(g=a.target.ownerDocument||y,j=g.documentElement,g=g.body,a.pageX=b.clientX+(j&&j.scrollLeft||g&&g.scrollLeft||0)-(j&&j.clientLeft||
  g&&g.clientLeft||0),a.pageY=b.clientY+(j&&j.scrollTop||g&&g.scrollTop||0)-(j&&j.clientTop||g&&g.clientTop||0));!a.relatedTarget&&d&&(a.relatedTarget=d===a.target?b.toElement:d);!a.which&&void 0!==c&&(a.which=c&1?1:c&2?3:c&4?2:0);return a}},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==B()&&this.focus)try{return this.focus(),!1}catch(a){}},delegateType:"focusin"},blur:{trigger:function(){if(this===B()&&this.blur)return this.blur(),!1},delegateType:"focusout"},click:{trigger:function(){if(g.nodeName(this,
  "input")&&"checkbox"===this.type&&this.click)return this.click(),!1},_default:function(a){return g.nodeName(a.target,"a")}},beforeunload:{postDispatch:function(a){void 0!==a.result&&(a.originalEvent.returnValue=a.result)}}},simulate:function(a,b,j,c){a=g.extend(new g.Event,j,{type:a,isSimulated:!0,originalEvent:{}});c?g.event.trigger(a,null,b):g.event.dispatch.call(b,a);a.isDefaultPrevented()&&j.preventDefault()}};g.removeEvent=y.removeEventListener?function(a,b,g){a.removeEventListener&&a.removeEventListener(b,
  g,!1)}:function(a,b,g){b="on"+b;a.detachEvent&&(typeof a[b]===ka&&(a[b]=null),a.detachEvent(b,g))};g.Event=function(a,b){if(!(this instanceof g.Event))return new g.Event(a,b);a&&a.type?(this.originalEvent=a,this.type=a.type,this.isDefaultPrevented=a.defaultPrevented||void 0===a.defaultPrevented&&(!1===a.returnValue||a.getPreventDefault&&a.getPreventDefault())?r:E):this.type=a;b&&g.extend(this,b);this.timeStamp=a&&a.timeStamp||g.now();this[g.expando]=!0};g.Event.prototype={isDefaultPrevented:E,isPropagationStopped:E,
  isImmediatePropagationStopped:E,preventDefault:function(){var a=this.originalEvent;this.isDefaultPrevented=r;a&&(a.preventDefault?a.preventDefault():a.returnValue=!1)},stopPropagation:function(){var a=this.originalEvent;this.isPropagationStopped=r;a&&(a.stopPropagation&&a.stopPropagation(),a.cancelBubble=!0)},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=r;this.stopPropagation()}};g.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(a,b){g.event.special[a]={delegateType:b,
  bindType:b,handle:function(a){var f,j=a.relatedTarget,c=a.handleObj;if(!j||j!==this&&!g.contains(this,j))a.type=c.origType,f=c.handler.apply(this,arguments),a.type=b;return f}}});u.submitBubbles||(g.event.special.submit={setup:function(){if(g.nodeName(this,"form"))return!1;g.event.add(this,"click._submit keypress._submit",function(a){a=a.target;if((a=g.nodeName(a,"input")||g.nodeName(a,"button")?a.form:void 0)&&!g._data(a,"submitBubbles"))g.event.add(a,"submit._submit",function(a){a._submit_bubble=
  !0}),g._data(a,"submitBubbles",!0)})},postDispatch:function(a){a._submit_bubble&&(delete a._submit_bubble,this.parentNode&&!a.isTrigger&&g.event.simulate("submit",this.parentNode,a,!0))},teardown:function(){if(g.nodeName(this,"form"))return!1;g.event.remove(this,"._submit")}});u.changeBubbles||(g.event.special.change={setup:function(){if(Zb.test(this.nodeName)){if("checkbox"===this.type||"radio"===this.type)g.event.add(this,"propertychange._change",function(a){"checked"===a.originalEvent.propertyName&&
  (this._just_changed=!0)}),g.event.add(this,"click._change",function(a){this._just_changed&&!a.isTrigger&&(this._just_changed=!1);g.event.simulate("change",this,a,!0)});return!1}g.event.add(this,"beforeactivate._change",function(a){a=a.target;Zb.test(a.nodeName)&&!g._data(a,"changeBubbles")&&(g.event.add(a,"change._change",function(a){this.parentNode&&(!a.isSimulated&&!a.isTrigger)&&g.event.simulate("change",this.parentNode,a,!0)}),g._data(a,"changeBubbles",!0))})},handle:function(a){var b=a.target;
  if(this!==b||a.isSimulated||a.isTrigger||"radio"!==b.type&&"checkbox"!==b.type)return a.handleObj.handler.apply(this,arguments)},teardown:function(){g.event.remove(this,"._change");return!Zb.test(this.nodeName)}});u.focusinBubbles||g.each({focus:"focusin",blur:"focusout"},function(a,b){var j=function(a){g.event.simulate(b,a.target,g.event.fix(a),!0)};g.event.special[b]={setup:function(){var c=this.ownerDocument||this,d=g._data(c,b);d||c.addEventListener(a,j,!0);g._data(c,b,(d||0)+1)},teardown:function(){var c=
  this.ownerDocument||this,d=g._data(c,b)-1;d?g._data(c,b,d):(c.removeEventListener(a,j,!0),g._removeData(c,b))}}});g.fn.extend({on:function(a,b,j,c,d){var n,m;if("object"===typeof a){"string"!==typeof b&&(j=j||b,b=void 0);for(n in a)this.on(n,b,j,a[n],d);return this}null==j&&null==c?(c=b,j=b=void 0):null==c&&("string"===typeof b?(c=j,j=void 0):(c=j,j=b,b=void 0));if(!1===c)c=E;else if(!c)return this;1===d&&(m=c,c=function(a){g().off(a);return m.apply(this,arguments)},c.guid=m.guid||(m.guid=g.guid++));
  return this.each(function(){g.event.add(this,a,c,j,b)})},one:function(a,b,g,j){return this.on(a,b,g,j,1)},off:function(a,b,j){var c;if(a&&a.preventDefault&&a.handleObj)return c=a.handleObj,g(a.delegateTarget).off(c.namespace?c.origType+"."+c.namespace:c.origType,c.selector,c.handler),this;if("object"===typeof a){for(c in a)this.off(c,b,a[c]);return this}if(!1===b||"function"===typeof b)j=b,b=void 0;!1===j&&(j=E);return this.each(function(){g.event.remove(this,a,j,b)})},trigger:function(a,b){return this.each(function(){g.event.trigger(a,
  b,this)})},triggerHandler:function(a,b){var j=this[0];if(j)return g.event.trigger(a,b,j,!0)}});var mc="abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",yd=/ jQuery\d+="(?:null|\d+)"/g,Ec=RegExp("<(?:"+mc+")[\\s/>]","i"),$b=/^\s+/,Fc=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,Gc=/<([\w:]+)/,Hc=/<tbody/i,zd=/<|&#?\w+;/,Ad=/<(?:script|style|link)/i,Bd=/checked\s*(?:[^=]|=\s*.checked.)/i,
  Ic=/^$|\/(?:java|ecma)script/i,Zc=/^true\/(.*)/,Cd=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g,ja={option:[1,"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],area:[1,"<map>","</map>"],param:[1,"<object>","</object>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:u.htmlSerialize?[0,"",""]:[1,"X<div>","</div>"]},ac=
  S(y).appendChild(y.createElement("div"));ja.optgroup=ja.option;ja.tbody=ja.tfoot=ja.colgroup=ja.caption=ja.thead;ja.th=ja.td;g.extend({clone:function(a,b,j){var c,d,n,m,e,r=g.contains(a.ownerDocument,a);u.html5Clone||g.isXMLDoc(a)||!Ec.test("<"+a.nodeName+">")?n=a.cloneNode(!0):(ac.innerHTML=a.outerHTML,ac.removeChild(n=ac.firstChild));if((!u.noCloneEvent||!u.noCloneChecked)&&(1===a.nodeType||11===a.nodeType)&&!g.isXMLDoc(a)){c=K(n);e=K(a);for(m=0;null!=(d=e[m]);++m)if(c[m]){var l=c[m],h=void 0,k=
  void 0,A=void 0;if(1===l.nodeType){h=l.nodeName.toLowerCase();if(!u.noCloneEvent&&l[g.expando]){A=g._data(l);for(k in A.events)g.removeEvent(l,k,A.handle);l.removeAttribute(g.expando)}if("script"===h&&l.text!==d.text)V(l).text=d.text,D(l);else if("object"===h)l.parentNode&&(l.outerHTML=d.outerHTML),u.html5Clone&&(d.innerHTML&&!g.trim(l.innerHTML))&&(l.innerHTML=d.innerHTML);else if("input"===h&&Pb.test(d.type))l.defaultChecked=l.checked=d.checked,l.value!==d.value&&(l.value=d.value);else if("option"===
  h)l.defaultSelected=l.selected=d.defaultSelected;else if("input"===h||"textarea"===h)l.defaultValue=d.defaultValue}}}if(b)if(j){e=e||K(a);c=c||K(n);for(m=0;null!=(d=e[m]);m++)Ba(d,c[m])}else Ba(a,n);c=K(n,"script");0<c.length&&Wa(c,!r&&K(a,"script"));return n},buildFragment:function(a,b,j,c){for(var d,n,m,e,r,l,h=a.length,k=S(b),A=[],z=0;z<h;z++)if((n=a[z])||0===n)if("object"===g.type(n))g.merge(A,n.nodeType?[n]:n);else if(zd.test(n)){m=m||k.appendChild(b.createElement("div"));e=(Gc.exec(n)||["",
  ""])[1].toLowerCase();l=ja[e]||ja._default;m.innerHTML=l[1]+n.replace(Fc,"<$1></$2>")+l[2];for(d=l[0];d--;)m=m.lastChild;!u.leadingWhitespace&&$b.test(n)&&A.push(b.createTextNode($b.exec(n)[0]));if(!u.tbody)for(d=(n="table"===e&&!Hc.test(n)?m.firstChild:"<table>"===l[1]&&!Hc.test(n)?m:0)&&n.childNodes.length;d--;)g.nodeName(r=n.childNodes[d],"tbody")&&!r.childNodes.length&&n.removeChild(r);g.merge(A,m.childNodes);for(m.textContent="";m.firstChild;)m.removeChild(m.firstChild);m=k.lastChild}else A.push(b.createTextNode(n));
  m&&k.removeChild(m);u.appendChecked||g.grep(K(A,"input"),sb);for(z=0;n=A[z++];)if(!(c&&-1!==g.inArray(n,c))&&(a=g.contains(n.ownerDocument,n),m=K(k.appendChild(n),"script"),a&&Wa(m),j))for(d=0;n=m[d++];)Ic.test(n.type||"")&&j.push(n);return k},cleanData:function(a,b){for(var j,c,d,m,e=0,r=g.expando,l=g.cache,h=u.deleteExpando,k=g.event.special;null!=(j=a[e]);e++)if(b||g.acceptData(j))if(m=(d=j[r])&&l[d]){if(m.events)for(c in m.events)k[c]?g.event.remove(j,c):g.removeEvent(j,c,m.handle);l[d]&&(delete l[d],
  h?delete j[r]:typeof j.removeAttribute!==ka?j.removeAttribute(r):j[r]=null,n.push(d))}}});g.fn.extend({text:function(a){return Ta(this,function(a){return void 0===a?g.text(this):this.empty().append((this[0]&&this[0].ownerDocument||y).createTextNode(a))},null,a,arguments.length)},append:function(){return this.domManip(arguments,function(a){(1===this.nodeType||11===this.nodeType||9===this.nodeType)&&Ma(this,a).appendChild(a)})},prepend:function(){return this.domManip(arguments,function(a){if(1===this.nodeType||
  11===this.nodeType||9===this.nodeType){var b=Ma(this,a);b.insertBefore(a,b.firstChild)}})},before:function(){return this.domManip(arguments,function(a){this.parentNode&&this.parentNode.insertBefore(a,this)})},after:function(){return this.domManip(arguments,function(a){this.parentNode&&this.parentNode.insertBefore(a,this.nextSibling)})},remove:function(a,b){for(var j,c=a?g.filter(a,this):this,d=0;null!=(j=c[d]);d++)!b&&1===j.nodeType&&g.cleanData(K(j)),j.parentNode&&(b&&g.contains(j.ownerDocument,
  j)&&Wa(K(j,"script")),j.parentNode.removeChild(j));return this},empty:function(){for(var a,b=0;null!=(a=this[b]);b++){for(1===a.nodeType&&g.cleanData(K(a,!1));a.firstChild;)a.removeChild(a.firstChild);a.options&&g.nodeName(a,"select")&&(a.options.length=0)}return this},clone:function(a,b){a=null==a?!1:a;b=null==b?a:b;return this.map(function(){return g.clone(this,a,b)})},html:function(a){return Ta(this,function(a){var f=this[0]||{},b=0,j=this.length;if(void 0===a)return 1===f.nodeType?f.innerHTML.replace(yd,
  ""):void 0;if("string"===typeof a&&!Ad.test(a)&&(u.htmlSerialize||!Ec.test(a))&&(u.leadingWhitespace||!$b.test(a))&&!ja[(Gc.exec(a)||["",""])[1].toLowerCase()]){a=a.replace(Fc,"<$1></$2>");try{for(;b<j;b++)f=this[b]||{},1===f.nodeType&&(g.cleanData(K(f,!1)),f.innerHTML=a);f=0}catch(c){}}f&&this.empty().append(a)},null,a,arguments.length)},replaceWith:function(){var a=arguments[0];this.domManip(arguments,function(b){a=this.parentNode;g.cleanData(K(this));a&&a.replaceChild(b,this)});return a&&(a.length||
  a.nodeType)?this:this.remove()},detach:function(a){return this.remove(a,!0)},domManip:function(a,b){a=z.apply([],a);var j,c,d,n,m=0,e=this.length,r=this,l=e-1,h=a[0],k=g.isFunction(h);if(k||1<e&&"string"===typeof h&&!u.checkClone&&Bd.test(h))return this.each(function(j){var g=r.eq(j);k&&(a[0]=h.call(this,j,g.html()));g.domManip(a,b)});if(e&&(n=g.buildFragment(a,this[0].ownerDocument,!1,this),j=n.firstChild,1===n.childNodes.length&&(n=j),j)){d=g.map(K(n,"script"),V);for(c=d.length;m<e;m++)j=n,m!==
  l&&(j=g.clone(j,!0,!0),c&&g.merge(d,K(j,"script"))),b.call(this[m],j,m);if(c){n=d[d.length-1].ownerDocument;g.map(d,D);for(m=0;m<c;m++)if(j=d[m],Ic.test(j.type||"")&&!g._data(j,"globalEval")&&g.contains(n,j))j.src?g._evalUrl&&g._evalUrl(j.src):g.globalEval((j.text||j.textContent||j.innerHTML||"").replace(Cd,""))}n=j=null}return this}});g.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(a,b){g.fn[a]=function(a){for(var f=0,j=[],
  c=g(a),d=c.length-1;f<=d;f++)a=f===d?this:this.clone(!0),g(c[f])[b](a),P.apply(j,a.get());return this.pushStack(j)}});var fb,nc={},pb,Fb,cb=y.createElement("div");cb.innerHTML="  <link/><table></table><a href='/a'>a</a><input type='checkbox'/>";pb=cb.getElementsByTagName("a")[0];pb.style.cssText="float:left;opacity:.5";u.opacity=/^0.5/.test(pb.style.opacity);u.cssFloat=!!pb.style.cssFloat;cb.style.backgroundClip="content-box";cb.cloneNode(!0).style.backgroundClip="";u.clearCloneStyle="content-box"===
  cb.style.backgroundClip;pb=cb=null;u.shrinkWrapBlocks=function(){var a,b,j;if(null==Fb){a=y.getElementsByTagName("body")[0];if(!a)return;b=y.createElement("div");j=y.createElement("div");a.appendChild(b).appendChild(j);Fb=!1;typeof j.style.zoom!==ka&&(j.style.cssText="-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;padding:0;margin:0;border:0;width:1px;padding:1px;zoom:1",j.innerHTML="<div></div>",j.firstChild.style.width="5px",Fb=3!==j.offsetWidth);
  a.removeChild(b)}return Fb};var Jc=/^margin/,tb=RegExp("^("+Cb+")(?!px)[a-z%]+$","i"),Pa,Qa,Dd=/^(top|right|bottom|left)$/;a.getComputedStyle?(Pa=function(a){return a.ownerDocument.defaultView.getComputedStyle(a,null)},Qa=function(a,b,j){var c,d,n=a.style;d=(j=j||Pa(a))?j.getPropertyValue(b)||j[b]:void 0;j&&(""===d&&!g.contains(a.ownerDocument,a)&&(d=g.style(a,b)),tb.test(d)&&Jc.test(b)&&(a=n.width,b=n.minWidth,c=n.maxWidth,n.minWidth=n.maxWidth=n.width=d,d=j.width,n.width=a,n.minWidth=b,n.maxWidth=
  c));return void 0===d?d:d+""}):y.documentElement.currentStyle&&(Pa=function(a){return a.currentStyle},Qa=function(a,b,j){var g,c,d,n=a.style;d=(j=j||Pa(a))?j[b]:void 0;null==d&&(n&&n[b])&&(d=n[b]);if(tb.test(d)&&!Dd.test(b)){j=n.left;if(c=(g=a.runtimeStyle)&&g.left)g.left=a.currentStyle.left;n.left="fontSize"===b?"1em":d;d=n.pixelLeft+"px";n.left=j;c&&(g.left=c)}return void 0===d?d:d+""||"auto"});var dc=function(){var f,b,j=y.getElementsByTagName("body")[0];j&&(f=y.createElement("div"),b=y.createElement("div"),
  f.style.cssText=bc,j.appendChild(f).appendChild(b),b.style.cssText="-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;position:absolute;display:block;padding:1px;border:1px;width:4px;margin-top:1%;top:1%",g.swap(j,null!=j.style.zoom?{zoom:1}:{},function(){cc=4===b.offsetWidth}),Gb=!0,Hb=!1,Ib=!0,a.getComputedStyle&&(Hb="1%"!==(a.getComputedStyle(b,null)||{}).top,Gb="4px"===(a.getComputedStyle(b,null)||{width:"4px"}).width),j.removeChild(f),b=j=null)},qb,Jb,cc,Gb,Hb,Ib,
  db=y.createElement("div"),bc="border:0;width:0;height:0;position:absolute;top:0;left:-9999px";db.innerHTML="  <link/><table></table><a href='/a'>a</a><input type='checkbox'/>";qb=db.getElementsByTagName("a")[0];qb.style.cssText="float:left;opacity:.5";u.opacity=/^0.5/.test(qb.style.opacity);u.cssFloat=!!qb.style.cssFloat;db.style.backgroundClip="content-box";db.cloneNode(!0).style.backgroundClip="";u.clearCloneStyle="content-box"===db.style.backgroundClip;qb=db=null;g.extend(u,{reliableHiddenOffsets:function(){if(null!=
  Jb)return Jb;var a,b,j;b=y.createElement("div");var g=y.getElementsByTagName("body")[0];if(g)return b.setAttribute("className","t"),b.innerHTML="  <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",a=y.createElement("div"),a.style.cssText=bc,g.appendChild(a).appendChild(b),b.innerHTML="<table><tr><td></td><td>t</td></tr></table>",b=b.getElementsByTagName("td"),b[0].style.cssText="padding:0;margin:0;border:0;display:none",j=0===b[0].offsetHeight,b[0].style.display="",b[1].style.display=
  "none",Jb=j&&0===b[0].offsetHeight,g.removeChild(a),Jb},boxSizing:function(){null==cc&&dc();return cc},boxSizingReliable:function(){null==Gb&&dc();return Gb},pixelPosition:function(){null==Hb&&dc();return Hb},reliableMarginRight:function(){var f,b,j,g;if(null==Ib&&a.getComputedStyle){f=y.getElementsByTagName("body")[0];if(!f)return;b=y.createElement("div");j=y.createElement("div");b.style.cssText=bc;f.appendChild(b).appendChild(j);g=j.appendChild(y.createElement("div"));g.style.cssText=j.style.cssText=
  "-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;padding:0;margin:0;border:0";g.style.marginRight=g.style.width="0";j.style.width="1px";Ib=!parseFloat((a.getComputedStyle(g,null)||{}).marginRight);f.removeChild(b)}return Ib}});g.swap=function(a,b,j,g){var c,d={};for(c in b)d[c]=a.style[c],a.style[c]=b[c];j=j.apply(a,g||[]);for(c in b)a.style[c]=d[c];return j};var ec=/alpha\([^)]*\)/i,Ed=/opacity\s*=\s*([^)]*)/,Fd=/^(none|table(?!-c[ea]).+)/,$c=RegExp("^("+
  Cb+")(.*)$","i"),Gd=RegExp("^([+-])=("+Cb+")","i"),Hd={position:"absolute",visibility:"hidden",display:"block"},Kc={letterSpacing:0,fontWeight:400},oc=["Webkit","O","Moz","ms"];g.extend({cssHooks:{opacity:{get:function(a,b){if(b){var j=Qa(a,"opacity");return""===j?"1":j}}}},cssNumber:{columnCount:!0,fillOpacity:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{"float":u.cssFloat?"cssFloat":"styleFloat"},style:function(a,b,j,c){if(a&&!(3===a.nodeType||
  8===a.nodeType||!a.style)){var d,n,m,e=g.camelCase(b),r=a.style;b=g.cssProps[e]||(g.cssProps[e]=sa(r,e));m=g.cssHooks[b]||g.cssHooks[e];if(void 0!==j){n=typeof j;if("string"===n&&(d=Gd.exec(j)))j=(d[1]+1)*d[2]+parseFloat(g.css(a,b)),n="number";if(!(null==j||j!==j))if("number"===n&&!g.cssNumber[e]&&(j+="px"),!u.clearCloneStyle&&(""===j&&0===b.indexOf("background"))&&(r[b]="inherit"),!m||!("set"in m)||void 0!==(j=m.set(a,j,c)))try{r[b]="",r[b]=j}catch(l){}}else return m&&"get"in m&&void 0!==(d=m.get(a,
  !1,c))?d:r[b]}},css:function(a,b,j,c){var d,n;n=g.camelCase(b);b=g.cssProps[n]||(g.cssProps[n]=sa(a.style,n));(n=g.cssHooks[b]||g.cssHooks[n])&&"get"in n&&(d=n.get(a,!0,j));void 0===d&&(d=Qa(a,b,c));"normal"===d&&b in Kc&&(d=Kc[b]);return""===j||j?(a=parseFloat(d),!0===j||g.isNumeric(a)?a||0:d):d}});g.each(["height","width"],function(a,b){g.cssHooks[b]={get:function(a,f,j){if(f)return 0===a.offsetWidth&&Fd.test(g.css(a,"display"))?g.swap(a,Hd,function(){return la(a,b,j)}):la(a,b,j)},set:function(a,
  f,j){var c=j&&Pa(a);return w(a,f,j?$(a,b,j,u.boxSizing()&&"border-box"===g.css(a,"boxSizing",!1,c),c):0)}}});u.opacity||(g.cssHooks.opacity={get:function(a,b){return Ed.test((b&&a.currentStyle?a.currentStyle.filter:a.style.filter)||"")?0.01*parseFloat(RegExp.$1)+"":b?"1":""},set:function(a,b){var j=a.style,c=a.currentStyle,d=g.isNumeric(b)?"alpha(opacity="+100*b+")":"",n=c&&c.filter||j.filter||"";j.zoom=1;if((1<=b||""===b)&&""===g.trim(n.replace(ec,""))&&j.removeAttribute)if(j.removeAttribute("filter"),
  ""===b||c&&!c.filter)return;j.filter=ec.test(n)?n.replace(ec,d):n+" "+d}});g.cssHooks.marginRight=Na(u.reliableMarginRight,function(a,b){if(b)return g.swap(a,{display:"inline-block"},Qa,[a,"marginRight"])});g.each({margin:"",padding:"",border:"Width"},function(a,b){g.cssHooks[a+b]={expand:function(j){var g=0,c={};for(j="string"===typeof j?j.split(" "):[j];4>g;g++)c[a+Oa[g]+b]=j[g]||j[g-2]||j[0];return c}};Jc.test(a)||(g.cssHooks[a+b].set=w)});g.fn.extend({css:function(a,b){return Ta(this,function(a,
  f,b){var j,c={},d=0;if(g.isArray(f)){b=Pa(a);for(j=f.length;d<j;d++)c[f[d]]=g.css(a,f[d],!1,b);return c}return void 0!==b?g.style(a,f,b):g.css(a,f)},a,b,1<arguments.length)},show:function(){return gb(this,!0)},hide:function(){return gb(this)},toggle:function(a){return"boolean"===typeof a?a?this.show():this.hide():this.each(function(){hb(this)?g(this).show():g(this).hide()})}});g.Tween=L;L.prototype={constructor:L,init:function(a,b,j,c,d,n){this.elem=a;this.prop=j;this.easing=d||"swing";this.options=
  b;this.start=this.now=this.cur();this.end=c;this.unit=n||(g.cssNumber[j]?"":"px")},cur:function(){var a=L.propHooks[this.prop];return a&&a.get?a.get(this):L.propHooks._default.get(this)},run:function(a){var b,j=L.propHooks[this.prop];this.pos=this.options.duration?b=g.easing[this.easing](a,this.options.duration*a,0,1,this.options.duration):b=a;this.now=(this.end-this.start)*b+this.start;this.options.step&&this.options.step.call(this.elem,this.now,this);j&&j.set?j.set(this):L.propHooks._default.set(this);
  return this}};L.prototype.init.prototype=L.prototype;L.propHooks={_default:{get:function(a){if(null!=a.elem[a.prop]&&(!a.elem.style||null==a.elem.style[a.prop]))return a.elem[a.prop];a=g.css(a.elem,a.prop,"");return!a||"auto"===a?0:a},set:function(a){if(g.fx.step[a.prop])g.fx.step[a.prop](a);else a.elem.style&&(null!=a.elem.style[g.cssProps[a.prop]]||g.cssHooks[a.prop])?g.style(a.elem,a.prop,a.now+a.unit):a.elem[a.prop]=a.now}}};L.propHooks.scrollTop=L.propHooks.scrollLeft={set:function(a){a.elem.nodeType&&
  a.elem.parentNode&&(a.elem[a.prop]=a.now)}};g.easing={linear:function(a){return a},swing:function(a){return 0.5-Math.cos(a*Math.PI)/2}};g.fx=L.prototype.init;g.fx.step={};var Xa,Kb,Id=/^(?:toggle|show|hide)$/,Lc=RegExp("^(?:([+-])=|)("+Cb+")([a-z%]*)$","i"),Jd=/queueHooks$/,ub=[function(a,b,j){var c,d,n,m,e,r,l=this,h={},k=a.style,A=a.nodeType&&hb(a),z=g._data(a,"fxshow");j.queue||(m=g._queueHooks(a,"fx"),null==m.unqueued&&(m.unqueued=0,e=m.empty.fire,m.empty.fire=function(){m.unqueued||e()}),m.unqueued++,
  l.always(function(){l.always(function(){m.unqueued--;g.queue(a,"fx").length||m.empty.fire()})}));if(1===a.nodeType&&("height"in b||"width"in b))j.overflow=[k.overflow,k.overflowX,k.overflowY],d=g.css(a,"display"),r=Da(a.nodeName),"none"===d&&(d=r),"inline"===d&&"none"===g.css(a,"float")&&(!u.inlineBlockNeedsLayout||"inline"===r?k.display="inline-block":k.zoom=1);j.overflow&&(k.overflow="hidden",u.shrinkWrapBlocks()||l.always(function(){k.overflow=j.overflow[0];k.overflowX=j.overflow[1];k.overflowY=
  j.overflow[2]}));for(c in b)if(d=b[c],Id.exec(d)){delete b[c];n=n||"toggle"===d;if(d===(A?"hide":"show"))if("show"===d&&z&&void 0!==z[c])A=!0;else continue;h[c]=z&&z[c]||g.style(a,c)}if(!g.isEmptyObject(h))for(c in z?"hidden"in z&&(A=z.hidden):z=g._data(a,"fxshow",{}),n&&(z.hidden=!A),A?g(a).show():l.done(function(){g(a).hide()}),l.done(function(){var b;g._removeData(a,"fxshow");for(b in h)g.style(a,b,h[b])}),h)b=ib(A?z[c]:0,c,l),c in z||(z[c]=b.start,A&&(b.end=b.start,b.start="width"===c||"height"===
  c?1:0))}],jb={"*":[function(a,b){var j=this.createTween(a,b),c=j.cur(),d=Lc.exec(b),n=d&&d[3]||(g.cssNumber[a]?"":"px"),m=(g.cssNumber[a]||"px"!==n&&+c)&&Lc.exec(g.css(j.elem,a)),e=1,r=20;if(m&&m[3]!==n){n=n||m[3];d=d||[];m=+c||1;do e=e||".5",m/=e,g.style(j.elem,a,m+n);while(e!==(e=j.cur()/c)&&1!==e&&--r)}d&&(m=j.start=+m||+c||0,j.unit=n,j.end=d[1]?m+(d[1]+1)*d[2]:+d[2]);return j}]};g.Animation=g.extend(kb,{tweener:function(a,b){g.isFunction(a)?(b=a,a=["*"]):a=a.split(" ");for(var j,c=0,d=a.length;c<
  d;c++)j=a[c],jb[j]=jb[j]||[],jb[j].unshift(b)},prefilter:function(a,b){b?ub.unshift(a):ub.push(a)}});g.speed=function(a,b,j){var c=a&&"object"===typeof a?g.extend({},a):{complete:j||!j&&b||g.isFunction(a)&&a,duration:a,easing:j&&b||b&&!g.isFunction(b)&&b};c.duration=g.fx.off?0:"number"===typeof c.duration?c.duration:c.duration in g.fx.speeds?g.fx.speeds[c.duration]:g.fx.speeds._default;if(null==c.queue||!0===c.queue)c.queue="fx";c.old=c.complete;c.complete=function(){g.isFunction(c.old)&&c.old.call(this);
  c.queue&&g.dequeue(this,c.queue)};return c};g.fn.extend({fadeTo:function(a,b,j,g){return this.filter(hb).css("opacity",0).show().end().animate({opacity:b},a,j,g)},animate:function(a,b,j,c){var d=g.isEmptyObject(a),n=g.speed(b,j,c);b=function(){var b=kb(this,g.extend({},a),n);(d||g._data(this,"finish"))&&b.stop(!0)};b.finish=b;return d||!1===n.queue?this.each(b):this.queue(n.queue,b)},stop:function(a,b,j){var c=function(a){var b=a.stop;delete a.stop;b(j)};"string"!==typeof a&&(j=b,b=a,a=void 0);b&&
  !1!==a&&this.queue(a||"fx",[]);return this.each(function(){var b=!0,d=null!=a&&a+"queueHooks",n=g.timers,m=g._data(this);if(d)m[d]&&m[d].stop&&c(m[d]);else for(d in m)m[d]&&(m[d].stop&&Jd.test(d))&&c(m[d]);for(d=n.length;d--;)if(n[d].elem===this&&(null==a||n[d].queue===a))n[d].anim.stop(j),b=!1,n.splice(d,1);(b||!j)&&g.dequeue(this,a)})},finish:function(a){!1!==a&&(a=a||"fx");return this.each(function(){var b,j=g._data(this),c=j[a+"queue"];b=j[a+"queueHooks"];var d=g.timers,n=c?c.length:0;j.finish=
  !0;g.queue(this,a,[]);b&&b.stop&&b.stop.call(this,!0);for(b=d.length;b--;)d[b].elem===this&&d[b].queue===a&&(d[b].anim.stop(!0),d.splice(b,1));for(b=0;b<n;b++)c[b]&&c[b].finish&&c[b].finish.call(this);delete j.finish})}});g.each(["toggle","show","hide"],function(a,b){var j=g.fn[b];g.fn[b]=function(a,f,g){return null==a||"boolean"===typeof a?j.apply(this,arguments):this.animate(ma(b,!0),a,f,g)}});g.each({slideDown:ma("show"),slideUp:ma("hide"),slideToggle:ma("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},
  fadeToggle:{opacity:"toggle"}},function(a,b){g.fn[a]=function(a,f,j){return this.animate(b,a,f,j)}});g.timers=[];g.fx.tick=function(){var a,b=g.timers,j=0;for(Xa=g.now();j<b.length;j++)a=b[j],!a()&&b[j]===a&&b.splice(j--,1);b.length||g.fx.stop();Xa=void 0};g.fx.timer=function(a){g.timers.push(a);a()?g.fx.start():g.timers.pop()};g.fx.interval=13;g.fx.start=function(){Kb||(Kb=setInterval(g.fx.tick,g.fx.interval))};g.fx.stop=function(){clearInterval(Kb);Kb=null};g.fx.speeds={slow:600,fast:200,_default:400};
  g.fn.delay=function(a,b){a=g.fx?g.fx.speeds[a]||a:a;return this.queue(b||"fx",function(b,j){var g=setTimeout(b,a);j.stop=function(){clearTimeout(g)}})};var Lb,Ja,fc,gc,rb=y.createElement("div");rb.setAttribute("className","t");rb.innerHTML="  <link/><table></table><a href='/a'>a</a><input type='checkbox'/>";Lb=rb.getElementsByTagName("a")[0];fc=y.createElement("select");gc=fc.appendChild(y.createElement("option"));Ja=rb.getElementsByTagName("input")[0];Lb.style.cssText="top:1px";u.getSetAttribute=
  "t"!==rb.className;u.style=/top/.test(Lb.getAttribute("style"));u.hrefNormalized="/a"===Lb.getAttribute("href");u.checkOn=!!Ja.value;u.optSelected=gc.selected;u.enctype=!!y.createElement("form").enctype;fc.disabled=!0;u.optDisabled=!gc.disabled;Ja=y.createElement("input");Ja.setAttribute("value","");u.input=""===Ja.getAttribute("value");Ja.value="t";Ja.setAttribute("type","radio");u.radioValue="t"===Ja.value;var Kd=/\r/g;g.fn.extend({val:function(a){var b,j,c,d=this[0];if(arguments.length)return c=
  g.isFunction(a),this.each(function(j){if(1===this.nodeType&&(j=c?a.call(this,j,g(this).val()):a,null==j?j="":"number"===typeof j?j+="":g.isArray(j)&&(j=g.map(j,function(a){return null==a?"":a+""})),b=g.valHooks[this.type]||g.valHooks[this.nodeName.toLowerCase()],!b||!("set"in b)||void 0===b.set(this,j,"value")))this.value=j});if(d){if((b=g.valHooks[d.type]||g.valHooks[d.nodeName.toLowerCase()])&&"get"in b&&void 0!==(j=b.get(d,"value")))return j;j=d.value;return"string"===typeof j?j.replace(Kd,""):
  null==j?"":j}}});g.extend({valHooks:{option:{get:function(a){var b=g.find.attr(a,"value");return null!=b?b:g.text(a)}},select:{get:function(a){for(var b,j=a.options,c=a.selectedIndex,d=(a="select-one"===a.type||0>c)?null:[],n=a?c+1:j.length,m=0>c?n:a?c:0;m<n;m++)if(b=j[m],(b.selected||m===c)&&(u.optDisabled?!b.disabled:null===b.getAttribute("disabled"))&&(!b.parentNode.disabled||!g.nodeName(b.parentNode,"optgroup"))){b=g(b).val();if(a)return b;d.push(b)}return d},set:function(a,b){for(var j,c,d=a.options,
  n=g.makeArray(b),m=d.length;m--;)if(c=d[m],0<=g.inArray(g.valHooks.option.get(c),n))try{c.selected=j=!0}catch(e){c.scrollHeight}else c.selected=!1;j||(a.selectedIndex=-1);return d}}}});g.each(["radio","checkbox"],function(){g.valHooks[this]={set:function(a,b){if(g.isArray(b))return a.checked=0<=g.inArray(g(a).val(),b)}};u.checkOn||(g.valHooks[this].get=function(a){return null===a.getAttribute("value")?"on":a.value})});var eb,Mc,Ka=g.expr.attrHandle,hc=/^(?:checked|selected)$/i,Ua=u.getSetAttribute,
  Mb=u.input;g.fn.extend({attr:function(a,b){return Ta(this,g.attr,a,b,1<arguments.length)},removeAttr:function(a){return this.each(function(){g.removeAttr(this,a)})}});g.extend({attr:function(a,b,j){var c,d,n=a.nodeType;if(a&&!(3===n||8===n||2===n)){if(typeof a.getAttribute===ka)return g.prop(a,b,j);if(1!==n||!g.isXMLDoc(a))b=b.toLowerCase(),c=g.attrHooks[b]||(g.expr.match.bool.test(b)?Mc:eb);if(void 0!==j)if(null===j)g.removeAttr(a,b);else{if(c&&"set"in c&&void 0!==(d=c.set(a,j,b)))return d;a.setAttribute(b,
  j+"");return j}else{if(c&&"get"in c&&null!==(d=c.get(a,b)))return d;d=g.find.attr(a,b);return null==d?void 0:d}}},removeAttr:function(a,b){var j,c,d=0,n=b&&b.match(wa);if(n&&1===a.nodeType)for(;j=n[d++];)c=g.propFix[j]||j,g.expr.match.bool.test(j)?Mb&&Ua||!hc.test(j)?a[c]=!1:a[g.camelCase("default-"+j)]=a[c]=!1:g.attr(a,j,""),a.removeAttribute(Ua?j:c)},attrHooks:{type:{set:function(a,b){if(!u.radioValue&&"radio"===b&&g.nodeName(a,"input")){var j=a.value;a.setAttribute("type",b);j&&(a.value=j);return b}}}}});
  Mc={set:function(a,b,j){!1===b?g.removeAttr(a,j):Mb&&Ua||!hc.test(j)?a.setAttribute(!Ua&&g.propFix[j]||j,j):a[g.camelCase("default-"+j)]=a[j]=!0;return j}};g.each(g.expr.match.bool.source.match(/\w+/g),function(a,b){var j=Ka[b]||g.find.attr;Ka[b]=Mb&&Ua||!hc.test(b)?function(a,b,f){var c,g;f||(g=Ka[b],Ka[b]=c,c=null!=j(a,b,f)?b.toLowerCase():null,Ka[b]=g);return c}:function(a,b,f){if(!f)return a[g.camelCase("default-"+b)]?b.toLowerCase():null}});if(!Mb||!Ua)g.attrHooks.value={set:function(a,b,j){if(g.nodeName(a,
  "input"))a.defaultValue=b;else return eb&&eb.set(a,b,j)}};Ua||(eb={set:function(a,b,j){var c=a.getAttributeNode(j);c||a.setAttributeNode(c=a.ownerDocument.createAttribute(j));c.value=b+="";if("value"===j||b===a.getAttribute(j))return b}},Ka.id=Ka.name=Ka.coords=function(a,b,j){var c;if(!j)return(c=a.getAttributeNode(b))&&""!==c.value?c.value:null},g.valHooks.button={get:function(a,b){var j=a.getAttributeNode(b);if(j&&j.specified)return j.value},set:eb.set},g.attrHooks.contenteditable={set:function(a,
  b,j){eb.set(a,""===b?!1:b,j)}},g.each(["width","height"],function(a,b){g.attrHooks[b]={set:function(a,f){if(""===f)return a.setAttribute(b,"auto"),f}}}));u.style||(g.attrHooks.style={get:function(a){return a.style.cssText||void 0},set:function(a,b){return a.style.cssText=b+""}});var Ld=/^(?:input|select|textarea|button|object)$/i,Md=/^(?:a|area)$/i;g.fn.extend({prop:function(a,b){return Ta(this,g.prop,a,b,1<arguments.length)},removeProp:function(a){a=g.propFix[a]||a;return this.each(function(){try{this[a]=
  void 0,delete this[a]}catch(b){}})}});g.extend({propFix:{"for":"htmlFor","class":"className"},prop:function(a,b,j){var c,d,n;n=a.nodeType;if(a&&!(3===n||8===n||2===n)){if(n=1!==n||!g.isXMLDoc(a))b=g.propFix[b]||b,d=g.propHooks[b];return void 0!==j?d&&"set"in d&&void 0!==(c=d.set(a,j,b))?c:a[b]=j:d&&"get"in d&&null!==(c=d.get(a,b))?c:a[b]}},propHooks:{tabIndex:{get:function(a){var b=g.find.attr(a,"tabindex");return b?parseInt(b,10):Ld.test(a.nodeName)||Md.test(a.nodeName)&&a.href?0:-1}}}});u.hrefNormalized||
  g.each(["href","src"],function(a,b){g.propHooks[b]={get:function(a){return a.getAttribute(b,4)}}});u.optSelected||(g.propHooks.selected={get:function(a){if(a=a.parentNode)a.selectedIndex,a.parentNode&&a.parentNode.selectedIndex;return null}});g.each("tabIndex readOnly maxLength cellSpacing cellPadding rowSpan colSpan useMap frameBorder contentEditable".split(" "),function(){g.propFix[this.toLowerCase()]=this});u.enctype||(g.propFix.enctype="encoding");var ic=/[\t\r\n\f]/g;g.fn.extend({addClass:function(a){var b,
  j,c,d,n,m=0,e=this.length;b="string"===typeof a&&a;if(g.isFunction(a))return this.each(function(b){g(this).addClass(a.call(this,b,this.className))});if(b)for(b=(a||"").match(wa)||[];m<e;m++)if(j=this[m],c=1===j.nodeType&&(j.className?(" "+j.className+" ").replace(ic," "):" ")){for(n=0;d=b[n++];)0>c.indexOf(" "+d+" ")&&(c+=d+" ");c=g.trim(c);j.className!==c&&(j.className=c)}return this},removeClass:function(a){var b,j,c,d,n,m=0,e=this.length;b=0===arguments.length||"string"===typeof a&&a;if(g.isFunction(a))return this.each(function(b){g(this).removeClass(a.call(this,
  b,this.className))});if(b)for(b=(a||"").match(wa)||[];m<e;m++)if(j=this[m],c=1===j.nodeType&&(j.className?(" "+j.className+" ").replace(ic," "):"")){for(n=0;d=b[n++];)for(;0<=c.indexOf(" "+d+" ");)c=c.replace(" "+d+" "," ");c=a?g.trim(c):"";j.className!==c&&(j.className=c)}return this},toggleClass:function(a,b){var j=typeof a;return"boolean"===typeof b&&"string"===j?b?this.addClass(a):this.removeClass(a):g.isFunction(a)?this.each(function(j){g(this).toggleClass(a.call(this,j,this.className,b),b)}):
  this.each(function(){if("string"===j)for(var b,c=0,d=g(this),n=a.match(wa)||[];b=n[c++];)d.hasClass(b)?d.removeClass(b):d.addClass(b);else if(j===ka||"boolean"===j)this.className&&g._data(this,"__className__",this.className),this.className=this.className||!1===a?"":g._data(this,"__className__")||""})},hasClass:function(a){a=" "+a+" ";for(var b=0,j=this.length;b<j;b++)if(1===this[b].nodeType&&0<=(" "+this[b].className+" ").replace(ic," ").indexOf(a))return!0;return!1}});g.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "),
  function(a,b){g.fn[b]=function(a,f){return 0<arguments.length?this.on(b,null,a,f):this.trigger(b)}});g.fn.extend({hover:function(a,b){return this.mouseenter(a).mouseleave(b||a)},bind:function(a,b,j){return this.on(a,null,b,j)},unbind:function(a,b){return this.off(a,null,b)},delegate:function(a,b,j,c){return this.on(b,a,j,c)},undelegate:function(a,b,j){return 1===arguments.length?this.off(a,"**"):this.off(b,a||"**",j)}});var jc=g.now(),kc=/\?/,Nd=/(,)|(\[|{)|(}|])|"(?:[^"\\\r\n]|\\["\\\/bfnrt]|\\u[\da-fA-F]{4})*"\s*:?|true|false|null|-?(?!0\d)\d+(?:\.\d+|)(?:[eE][+-]?\d+|)/g;
  g.parseJSON=function(b){if(a.JSON&&a.JSON.parse)return a.JSON.parse(b+"");var j,c=null,d=g.trim(b+"");return d&&!g.trim(d.replace(Nd,function(a,b,f,g){j&&b&&(c=0);if(0===c)return a;j=f||b;c+=!g-!f;return""}))?Function("return "+d)():g.error("Invalid JSON: "+b)};g.parseXML=function(b){var j,c;if(!b||"string"!==typeof b)return null;try{a.DOMParser?(c=new DOMParser,j=c.parseFromString(b,"text/xml")):(j=new ActiveXObject("Microsoft.XMLDOM"),j.async="false",j.loadXML(b))}catch(d){j=void 0}(!j||!j.documentElement||
  j.getElementsByTagName("parsererror").length)&&g.error("Invalid XML: "+b);return j};var Va,La,Od=/#.*$/,Nc=/([?&])_=[^&]*/,Pd=/^(.*?):[ \t]*([^\r\n]*)\r?$/mg,Qd=/^(?:GET|HEAD)$/,Rd=/^\/\//,Oc=/^([\w.+-]+:)(?:\/\/(?:[^\/?#]*@|)([^\/?#:]*)(?::(\d+)|)|)/,Pc={},Qb={},Qc="*/".concat("*");try{La=location.href}catch(ae){La=y.createElement("a"),La.href="",La=La.href}Va=Oc.exec(La.toLowerCase())||[];g.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:La,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(Va[1]),
  global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Qc,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":g.parseJSON,"text xml":g.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(a,b){return b?na(na(a,
  g.ajaxSettings),b):na(g.ajaxSettings,a)},ajaxPrefilter:vb(Pc),ajaxTransport:vb(Qb),ajax:function(a,b){function j(a,b,f,c){var d,k,q,p;p=b;if(2!==ea){ea=2;e&&clearTimeout(e);l=void 0;m=c||"";s.readyState=0<a?4:0;c=200<=a&&300>a||304===a;if(f){q=h;for(var v=s,O,ra,F,B,P=q.contents,x=q.dataTypes;"*"===x[0];)x.shift(),void 0===ra&&(ra=q.mimeType||v.getResponseHeader("Content-Type"));if(ra)for(B in P)if(P[B]&&P[B].test(ra)){x.unshift(B);break}if(x[0]in f)F=x[0];else{for(B in f){if(!x[0]||q.converters[B+
  " "+x[0]]){F=B;break}O||(O=B)}F=F||O}F?(F!==x[0]&&x.unshift(F),q=f[F]):q=void 0}a:{f=h;O=q;ra=s;F=c;var bb,u,S,v={},P=f.dataTypes.slice();if(P[1])for(u in f.converters)v[u.toLowerCase()]=f.converters[u];for(B=P.shift();B;)if(f.responseFields[B]&&(ra[f.responseFields[B]]=O),!S&&(F&&f.dataFilter)&&(O=f.dataFilter(O,f.dataType)),S=B,B=P.shift())if("*"===B)B=S;else if("*"!==S&&S!==B){u=v[S+" "+B]||v["* "+B];if(!u)for(bb in v)if(q=bb.split(" "),q[1]===B&&(u=v[S+" "+q[0]]||v["* "+q[0]])){!0===u?u=v[bb]:
  !0!==v[bb]&&(B=q[0],P.unshift(q[1]));break}if(!0!==u)if(u&&f["throws"])O=u(O);else try{O=u(O)}catch(ga){q={state:"parsererror",error:u?ga:"No conversion from "+S+" to "+B};break a}}q={state:"success",data:O}}if(c)h.ifModified&&((p=s.getResponseHeader("Last-Modified"))&&(g.lastModified[n]=p),(p=s.getResponseHeader("etag"))&&(g.etag[n]=p)),204===a||"HEAD"===h.type?p="nocontent":304===a?p="notmodified":(p=q.state,d=q.data,k=q.error,c=!k);else if(k=p,a||!p)p="error",0>a&&(a=0);s.status=a;s.statusText=
  (b||p)+"";c?ba.resolveWith(A,[d,p,s]):ba.rejectWith(A,[s,p,k]);s.statusCode(t);t=void 0;r&&z.trigger(c?"ajaxSuccess":"ajaxError",[s,h,c?d:k]);E.fireWith(A,[s,p]);r&&(z.trigger("ajaxComplete",[s,h]),--g.active||g.event.trigger("ajaxStop"))}}"object"===typeof a&&(b=a,a=void 0);b=b||{};var c,d,n,m,e,r,l,k,h=g.ajaxSetup({},b),A=h.context||h,z=h.context&&(A.nodeType||A.jquery)?g(A):g.event,ba=g.Deferred(),E=g.Callbacks("once memory"),t=h.statusCode||{},p={},O={},ea=0,ra="canceled",s={readyState:0,getResponseHeader:function(a){var b;
  if(2===ea){if(!k)for(k={};b=Pd.exec(m);)k[b[1].toLowerCase()]=b[2];b=k[a.toLowerCase()]}return null==b?null:b},getAllResponseHeaders:function(){return 2===ea?m:null},setRequestHeader:function(a,b){var j=a.toLowerCase();ea||(a=O[j]=O[j]||a,p[a]=b);return this},overrideMimeType:function(a){ea||(h.mimeType=a);return this},statusCode:function(a){var b;if(a)if(2>ea)for(b in a)t[b]=[t[b],a[b]];else s.always(a[s.status]);return this},abort:function(a){a=a||ra;l&&l.abort(a);j(0,a);return this}};ba.promise(s).complete=
  E.add;s.success=s.done;s.error=s.fail;h.url=((a||h.url||La)+"").replace(Od,"").replace(Rd,Va[1]+"//");h.type=b.method||b.type||h.method||h.type;h.dataTypes=g.trim(h.dataType||"*").toLowerCase().match(wa)||[""];null==h.crossDomain&&(c=Oc.exec(h.url.toLowerCase()),h.crossDomain=!(!c||!(c[1]!==Va[1]||c[2]!==Va[2]||(c[3]||("http:"===c[1]?"80":"443"))!==(Va[3]||("http:"===Va[1]?"80":"443")))));h.data&&(h.processData&&"string"!==typeof h.data)&&(h.data=g.param(h.data,h.traditional));lb(Pc,h,b,s);if(2===
  ea)return s;(r=h.global)&&0===g.active++&&g.event.trigger("ajaxStart");h.type=h.type.toUpperCase();h.hasContent=!Qd.test(h.type);n=h.url;h.hasContent||(h.data&&(n=h.url+=(kc.test(n)?"&":"?")+h.data,delete h.data),!1===h.cache&&(h.url=Nc.test(n)?n.replace(Nc,"$1_="+jc++):n+(kc.test(n)?"&":"?")+"_="+jc++));h.ifModified&&(g.lastModified[n]&&s.setRequestHeader("If-Modified-Since",g.lastModified[n]),g.etag[n]&&s.setRequestHeader("If-None-Match",g.etag[n]));(h.data&&h.hasContent&&!1!==h.contentType||b.contentType)&&
  s.setRequestHeader("Content-Type",h.contentType);s.setRequestHeader("Accept",h.dataTypes[0]&&h.accepts[h.dataTypes[0]]?h.accepts[h.dataTypes[0]]+("*"!==h.dataTypes[0]?", "+Qc+"; q=0.01":""):h.accepts["*"]);for(d in h.headers)s.setRequestHeader(d,h.headers[d]);if(h.beforeSend&&(!1===h.beforeSend.call(A,s,h)||2===ea))return s.abort();ra="abort";for(d in{success:1,error:1,complete:1})s[d](h[d]);if(l=lb(Qb,h,b,s)){s.readyState=1;r&&z.trigger("ajaxSend",[s,h]);h.async&&0<h.timeout&&(e=setTimeout(function(){s.abort("timeout")},
  h.timeout));try{ea=1,l.send(p,j)}catch(F){if(2>ea)j(-1,F);else throw F;}}else j(-1,"No Transport");return s},getJSON:function(a,b,j){return g.get(a,b,j,"json")},getScript:function(a,b){return g.get(a,void 0,b,"script")}});g.each(["get","post"],function(a,b){g[b]=function(a,j,f,c){g.isFunction(j)&&(c=c||f,f=j,j=void 0);return g.ajax({url:a,type:b,dataType:c,data:j,success:f})}});g.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(a,b){g.fn[b]=function(a){return this.on(b,
  a)}});g._evalUrl=function(a){return g.ajax({url:a,type:"GET",dataType:"script",async:!1,global:!1,"throws":!0})};g.fn.extend({wrapAll:function(a){if(g.isFunction(a))return this.each(function(b){g(this).wrapAll(a.call(this,b))});if(this[0]){var b=g(a,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&b.insertBefore(this[0]);b.map(function(){for(var a=this;a.firstChild&&1===a.firstChild.nodeType;)a=a.firstChild;return a}).append(this)}return this},wrapInner:function(a){return g.isFunction(a)?
  this.each(function(b){g(this).wrapInner(a.call(this,b))}):this.each(function(){var b=g(this),j=b.contents();j.length?j.wrapAll(a):b.append(a)})},wrap:function(a){var b=g.isFunction(a);return this.each(function(j){g(this).wrapAll(b?a.call(this,j):a)})},unwrap:function(){return this.parent().each(function(){g.nodeName(this,"body")||g(this).replaceWith(this.childNodes)}).end()}});g.expr.filters.hidden=function(a){return 0>=a.offsetWidth&&0>=a.offsetHeight||!u.reliableHiddenOffsets()&&"none"===(a.style&&
  a.style.display||g.css(a,"display"))};g.expr.filters.visible=function(a){return!g.expr.filters.hidden(a)};var Sd=/%20/g,bd=/\[\]$/,Rc=/\r?\n/g,Td=/^(?:submit|button|image|reset|file)$/i,Ud=/^(?:input|select|textarea|keygen)/i;g.param=function(a,b){var j,c=[],d=function(a,b){b=g.isFunction(b)?b():null==b?"":b;c[c.length]=encodeURIComponent(a)+"="+encodeURIComponent(b)};void 0===b&&(b=g.ajaxSettings&&g.ajaxSettings.traditional);if(g.isArray(a)||a.jquery&&!g.isPlainObject(a))g.each(a,function(){d(this.name,
  this.value)});else for(j in a)C(j,a[j],b,d);return c.join("&").replace(Sd,"+")};g.fn.extend({serialize:function(){return g.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var a=g.prop(this,"elements");return a?g.makeArray(a):this}).filter(function(){var a=this.type;return this.name&&!g(this).is(":disabled")&&Ud.test(this.nodeName)&&!Td.test(a)&&(this.checked||!Pb.test(a))}).map(function(a,b){var j=g(this).val();return null==j?null:g.isArray(j)?g.map(j,function(a){return{name:b.name,
  value:a.replace(Rc,"\r\n")}}):{name:b.name,value:j.replace(Rc,"\r\n")}}).get()}});g.ajaxSettings.xhr=void 0!==a.ActiveXObject?function(){var b;if(!(b=!this.isLocal&&/^(get|post|head|put|delete|options)$/i.test(this.type)&&aa()))a:{try{b=new a.ActiveXObject("Microsoft.XMLHTTP");break a}catch(j){}b=void 0}return b}:aa;g.ajaxSettings.xhr=void 0===a.ActiveXObject?U:function(){return(this.url==y.location||0==this.url.indexOf("http")||!this.isLocal)&&/^(get|post|head|put|delete|options)$/i.test(this.type)&&
  U()||U(1)};var Vd=0,Nb={},Ob=g.ajaxSettings.xhr();if(a.ActiveXObject)g(a).on("unload",function(){for(var a in Nb)Nb[a](void 0,!0)});u.cors=!!Ob&&"withCredentials"in Ob;(Ob=u.ajax=!!Ob)&&g.ajaxTransport(function(a){if(!a.crossDomain||u.cors){var b;return{send:function(j,c){var d,n=a.xhr(),m=++Vd;console.log("xhr.open async="+a.async+" url="+a.url);n.open(a.type,a.url,a.async,a.username,a.password);if(a.xhrFields)for(d in a.xhrFields)n[d]=a.xhrFields[d];a.mimeType&&n.overrideMimeType&&n.overrideMimeType(a.mimeType);
  !a.crossDomain&&!j["X-Requested-With"]&&(j["X-Requested-With"]="XMLHttpRequest");for(d in j)void 0!==j[d]&&n.setRequestHeader(d,j[d]+"");n.send(a.hasContent&&a.data||null);b=function(j,d){var e,r,h;if(b&&(d||4===n.readyState))if(delete Nb[m],b=void 0,n.onreadystatechange=g.noop,d)4!==n.readyState&&n.abort();else{h={};e=n.status;"string"===typeof n.responseText&&(h.text=n.responseText);try{r=n.statusText}catch(l){r=""}!e&&a.isLocal&&!a.crossDomain?e=h.text?200:404:1223===e&&(e=204)}h&&c(e,r,h,n.getAllResponseHeaders())};
  a.async?4===n.readyState?setTimeout(b):n.onreadystatechange=Nb[m]=b:b()},abort:function(){b&&b(void 0,!0)}}}});g.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/(?:java|ecma)script/},converters:{"text script":function(a){g.globalEval(a);return a}}});g.ajaxPrefilter("script",function(a){void 0===a.cache&&(a.cache=!1);a.crossDomain&&(a.type="GET",a.global=!1)});g.ajaxTransport("script",function(a){if(a.crossDomain){var b,
  j=y.head||g("head")[0]||y.documentElement;return{send:function(c,g){b=y.createElement("script");b.async=!0;a.scriptCharset&&(b.charset=a.scriptCharset);b.src=a.url;b.onload=b.onreadystatechange=function(a,j){if(j||!b.readyState||/loaded|complete/.test(b.readyState))b.onload=b.onreadystatechange=null,b.parentNode&&b.parentNode.removeChild(b),b=null,j||g(200,"success")};j.insertBefore(b,j.firstChild)},abort:function(){if(b)b.onload(void 0,!0)}}}});var Sc=[],lc=/(=)\?(?=&|$)|\?\?/;g.ajaxSetup({jsonp:"callback",
  jsonpCallback:function(){var a=Sc.pop()||g.expando+"_"+jc++;this[a]=!0;return a}});g.ajaxPrefilter("json jsonp",function(b,j,c){var d,n,m,e=!1!==b.jsonp&&(lc.test(b.url)?"url":"string"===typeof b.data&&!(b.contentType||"").indexOf("application/x-www-form-urlencoded")&&lc.test(b.data)&&"data");if(e||"jsonp"===b.dataTypes[0])return d=b.jsonpCallback=g.isFunction(b.jsonpCallback)?b.jsonpCallback():b.jsonpCallback,e?b[e]=b[e].replace(lc,"$1"+d):!1!==b.jsonp&&(b.url+=(kc.test(b.url)?"&":"?")+b.jsonp+"="+
  d),b.converters["script json"]=function(){m||g.error(d+" was not called");return m[0]},b.dataTypes[0]="json",n=a[d],a[d]=function(){m=arguments},c.always(function(){a[d]=n;b[d]&&(b.jsonpCallback=j.jsonpCallback,Sc.push(d));m&&g.isFunction(n)&&n(m[0]);m=n=void 0}),"script"});g.parseHTML=function(a,b,j){if(!a||"string"!==typeof a)return null;"boolean"===typeof b&&(j=b,b=!1);b=b||y;var c=yc.exec(a);j=!j&&[];if(c)return[b.createElement(c[1])];c=g.buildFragment([a],b,j);j&&j.length&&g(j).remove();return g.merge([],
  c.childNodes)};var Tc=g.fn.load;g.fn.load=function(a,b,j){if("string"!==typeof a&&Tc)return Tc.apply(this,arguments);var c,d,n,m=this,e=a.indexOf(" ");0<=e&&(c=a.slice(e,a.length),a=a.slice(0,e));g.isFunction(b)?(j=b,b=void 0):b&&"object"===typeof b&&(n="POST");0<m.length&&g.ajax({url:a,type:n,dataType:"html",data:b}).done(function(a){d=arguments;m.html(c?g("<div>").append(g.parseHTML(a)).find(c):a)}).complete(j&&function(a,b){m.each(j,d||[a.responseText,b,a])});return this};g.expr.filters.animated=
  function(a){return g.grep(g.timers,function(b){return a===b.elem}).length};var Uc=a.document.documentElement;g.offset={setOffset:function(a,b,j){var c,d,n,m=g.css(a,"position"),e=g(a),h={};"static"===m&&(a.style.position="relative");n=e.offset();d=g.css(a,"top");c=g.css(a,"left");("absolute"===m||"fixed"===m)&&-1<g.inArray("auto",[d,c])?(c=e.position(),d=c.top,c=c.left):(d=parseFloat(d)||0,c=parseFloat(c)||0);g.isFunction(b)&&(b=b.call(a,j,n));null!=b.top&&(h.top=b.top-n.top+d);null!=b.left&&(h.left=
  b.left-n.left+c);"using"in b?b.using.call(a,h):e.css(h)}};g.fn.extend({offset:function(a){if(arguments.length)return void 0===a?this:this.each(function(b){g.offset.setOffset(this,a,b)});var b,c,d={top:0,left:0},n=(c=this[0])&&c.ownerDocument;if(n){b=n.documentElement;if(!g.contains(b,c))return d;typeof c.getBoundingClientRect!==ka&&(d=c.getBoundingClientRect());c=j(n);return{top:d.top+(c.pageYOffset||b.scrollTop)-(b.clientTop||0),left:d.left+(c.pageXOffset||b.scrollLeft)-(b.clientLeft||0)}}},position:function(){if(this[0]){var a,
  b,j={top:0,left:0},c=this[0];"fixed"===g.css(c,"position")?b=c.getBoundingClientRect():(a=this.offsetParent(),b=this.offset(),g.nodeName(a[0],"html")||(j=a.offset()),j.top+=g.css(a[0],"borderTopWidth",!0),j.left+=g.css(a[0],"borderLeftWidth",!0));return{top:b.top-j.top-g.css(c,"marginTop",!0),left:b.left-j.left-g.css(c,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var a=this.offsetParent||Uc;a&&!g.nodeName(a,"html")&&"static"===g.css(a,"position");)a=a.offsetParent;return a||
  Uc})}});g.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(a,b){var c=/Y/.test(b);g.fn[a]=function(d){return Ta(this,function(a,f,d){var n=j(a);if(void 0===d)return n?b in n?n[b]:n.document.documentElement[f]:a[f];n?n.scrollTo(!c?d:g(n).scrollLeft(),c?d:g(n).scrollTop()):a[f]=d},a,d,arguments.length,null)}});g.each(["top","left"],function(a,b){g.cssHooks[b]=Na(u.pixelPosition,function(a,j){if(j)return j=Qa(a,b),tb.test(j)?g(a).position()[b]+"px":j})});g.each({Height:"height",Width:"width"},
  function(a,b){g.each({padding:"inner"+a,content:b,"":"outer"+a},function(j,c){g.fn[c]=function(c,d){var n=arguments.length&&(j||"boolean"!==typeof c),m=j||(!0===c||!0===d?"margin":"border");return Ta(this,function(b,j,c){return g.isWindow(b)?b.document.documentElement["client"+a]:9===b.nodeType?(j=b.documentElement,Math.max(b.body["scroll"+a],j["scroll"+a],b.body["offset"+a],j["offset"+a],j["client"+a])):void 0===c?g.css(b,j,m):g.style(b,j,c,m)},b,n?c:void 0,n,null)}})});g.fn.size=function(){return this.length};
  g.fn.andSelf=g.fn.addBack;"function"===typeof define&&define.amd&&define("jquery",[],function(){return g});var Wd=a.jQuery,Xd=a.$;g.noConflict=function(b){a.$===g&&(a.$=Xd);b&&a.jQuery===g&&(a.jQuery=Wd);return g};typeof p===ka&&(a.jQuery=a.$=g);return g});
  (function(a){function p(a){try{return a?new window.ActiveXObject("Microsoft.XMLHTTP"):new window.XMLHttpRequest}catch(k){}}a.ajaxSettings.xhr=void 0===window.ActiveXObject?p:function(){return(this.url==document.location||0==this.url.indexOf("http")||!this.isLocal)&&/^(get|post|head|put|delete|options)$/i.test(this.type)&&p()||p(1)};a.ajaxTransport("+script",function(a){var k,e=document.head||jQuery("head")[0]||document.documentElement;return{send:function(h,t){k=document.createElement("script");a.scriptCharset&&
  (k.charset=a.scriptCharset);k.src=a.url;k.onload=k.onreadystatechange=function(a,b){if(b||!k.readyState||/loaded|complete/.test(k.readyState))k.onload=k.onreadystatechange=null,k.parentNode&&k.parentNode.removeChild(k),k=null,b||t(200,"success")};e.insertBefore(k,e.firstChild)},abort:function(){if(k)k.onload(void 0,!0)}}});a.extend(a.support,{iecors:!!window.XDomainRequest});a.support.iecors?a.ajaxTransport(function(a){return{send:function(k,e){var h=new window.XDomainRequest;h.onload=function(){e(200,
  "OK",{text:h.responseText},{"Content-Type":h.contentType})};a.xhrFields&&(h.onerror=a.xhrFields.error,h.ontimeout=a.xhrFields.timeout);h.open(a.type,a.url);h.send(a.hasContent&&a.data||null)},abort:function(){xdr.abort()}}}):(a.ajaxSetup({accepts:{binary:"text/plain; charset=x-user-defined"},responseFields:{binary:"response"}}),a.ajaxTransport("binary",function(a){var k;return{send:function(e,h){var t=a.xhr();console.log("xhr.open binary async="+a.async+" url="+a.url);t.open(a.type,a.url,a.async);
  var p=!1;try{t.hasOwnProperty("responseType")&&(t.responseType="arraybuffer",p=!0)}catch(b){}try{!p&&t.overrideMimeType&&t.overrideMimeType("text/plain; charset=x-user-defined")}catch(d){}!a.crossDomain&&!e["X-Requested-With"]&&(e["X-Requested-With"]="XMLHttpRequest");try{for(var c in e)t.setRequestHeader(c,e[c])}catch(r){}t.send(a.hasContent&&a.data||null);k=function(){var b=t.status,c="",d=t.getAllResponseHeaders(),e={};try{if(k&&4===t.readyState){k=void 0;try{e.text="string"===typeof t.responseText?
  t.responseText:null}catch(r){}try{e.binary=t.response}catch(p){}try{c=t.statusText}catch(s){c=""}!b&&a.isLocal&&!a.crossDomain?b=e.text?200:404:1223===b&&(b=204);h(b,c,e,d)}}catch(D){alert(D),h(-1,D)}};a.async?4===t.readyState?setTimeout(k):t.onreadystatechange=k:k()},abort:function(){}}}))})(jQuery);
  (function(a,p,l,k){function e(e,l){function s(c){a(b).each(function(){self.Jmol&&(0<=l.indexOf("mouseup")||0<=l.indexOf("touchend"))&&Jmol._setMouseOwner(null);var b=a(this);this!==c.target&&!b.has(c.target).length&&b.triggerHandler(l,[c.target,c])})}l=l||e+k;var b=a(),d=e+"."+l+"-special-event";a.event.special[l]={setup:function(){b=b.add(this);1===b.length&&a(p).bind(d,s)},teardown:function(){self.Jmol&&Jmol._setMouseOwner(null);b=b.not(this);0===b.length&&a(p).unbind(d)},add:function(a){var b=
  a.handler;a.handler=function(a,c){a.target=c;b.apply(this,arguments)}}}}a.map(l.split(" "),function(a){e(a)});e("focusin","focus"+k);e("focusout","blur"+k)})(jQuery,document,"click mousemove mouseup touchmove touchend","outjsmol");"undefined"==typeof jQuery&&alert("Note -- JSmoljQuery is required for JSmol, but it's not defined.");self.Jmol||(Jmol={});
  Jmol._version||(Jmol=function(a){var p=function(a){return{rear:a++,header:a++,main:a++,image:a++,front:a++,fileOpener:a++,coverImage:a++,dialog:a++,menu:a+9E4,console:a+91E3,consoleImage:a+91001,monitorZIndex:a+99999}},p={_version:"$Date: 2015-12-01 12:38:36 -0600 (Tue, 01 Dec 2015) $",_alertNoBinary:!0,_allowedJmolSize:[25,2048,300],_appletCssClass:"",_appletCssText:"",_fileCache:null,_jarFile:null,_j2sPath:null,_use:null,_j2sLoadMonitorOpacity:90,_applets:{},_asynchronous:!0,_ajaxQueue:[],_persistentMenu:!1,
  _getZOrders:p,_z:p(Jmol.z||9E3),_debugCode:!0,db:{_databasePrefixes:"$=:",_fileLoadScript:";if (_loadScript = '' && defaultLoadScript == '' && _filetype == 'Pdb') { select protein or nucleic;cartoons Only;color structure; select * };",_nciLoadScript:";n = ({molecule=1}.length < {molecule=2}.length ? 2 : 1); select molecule=n;display selected;center selected;",_pubChemLoadScript:"",_DirectDatabaseCalls:{"cactus.nci.nih.gov":"%URL","www.rcsb.org":"%URL","cdn.rcsb.org":"%URL","ftp.wwpdb.org":"%URL",
  "pdbe.org":"%URL","www.ebi.ac.uk":"%URL","wwwdev.ebi.ac.uk":"%URL","pubchem.ncbi.nlm.nih.gov":"%URL","http://www.nmrdb.org/tools/jmol/predict.php":"%URL",$:"http://cactus.nci.nih.gov/chemical/structure/%FILENCI/file?format=sdf&get3d=True",$$:"http://cactus.nci.nih.gov/chemical/structure/%FILENCI/file?format=sdf","=":"http://www.rcsb.org/pdb/files/%FILE.pdb","*":"http://www.ebi.ac.uk/pdbe/entry-files/download/%FILE.cif","==":"http://www.rcsb.org/pdb/files/ligand/%FILE.cif",":":"http://pubchem.ncbi.nlm.nih.gov/rest/pug/compound/%FILE/SDF?record_type=3d"},
  _restQueryUrl:"http://www.rcsb.org/pdb/rest/search",_restQueryXml:"<orgPdbQuery><queryType>org.pdb.query.simple.AdvancedKeywordQuery</queryType><description>Text Search</description><keywords>QUERY</keywords></orgPdbQuery>",_restReportUrl:"http://www.pdb.org/pdb/rest/customReport?pdbids=IDLIST&customReportColumns=structureId,structureTitle"},_debugAlert:!1,_document:a,_isXHTML:!1,_lastAppletID:null,_mousePageX:null,_mouseOwner:null,_serverUrl:"http://your.server.here/jsmol.php",_syncId:(""+Math.random()).substring(3),
  _touching:!1,_XhtmlElement:null,_XhtmlAppendChild:!1};a=a.location.href.toLowerCase();p._httpProto=0==a.indexOf("https")?"https://":"http://";p._isFile=0==a.indexOf("file:");p._ajaxTestSite=p._httpProto+"google.com";a=p._isFile||0==a.indexOf("http://localhost")||0==a.indexOf("http://127.");p._tracker="http://"==p._httpProto&&!a&&"http://chemapps.stolaf.edu/jmol/JmolTracker.htm?id=UA-45940799-1";p._isChrome=0<=navigator.userAgent.toLowerCase().indexOf("chrome");p._isSafari=!p._isChrome&&0<=navigator.userAgent.toLowerCase().indexOf("safari");
  p._isMsie=void 0!==window.ActiveXObject;p._useDataURI=!p._isSafari&&!p._isMsie;for(var l in Jmol)p[l]=Jmol[l];return p}(document,Jmol));
  (function(a,p){a.__$=p;p(document).ready(function(){a._document=null});a.$=function(a,d){null==a&&alert(d+arguments.callee.caller.toString());return p(d?"#"+a._id+"_"+d:a)};a._$=function(a){return"string"==typeof a?p("#"+a):a};a.$ajax=function(b){a._ajaxCall=b.url;b.cache="NO"!=b.cache;0==b.url.indexOf("http://pubchem.ncbi.nlm.nih")&&(b.url="https://"+b.url.substring(7));return p.ajax(b)};a._getNCIInfo=function(b,d){return a._getFileData("http://cactus.nci.nih.gov/chemical/structure/"+b+"/"+("name"==
  d?"names":d))};a.$appEvent=function(b,d,c,e){b=a.$(b,d);b.off(c)&&e&&b.on(c,e)};a.$resize=function(a){return p(window).resize(a)};a.$after=function(a,d){return p(a).after(d)};a.$append=function(a,d){return p(a).append(d)};a.$bind=function(a,d,c){return c?p(a).bind(d,c):p(a).unbind(d)};a.$closest=function(a,d){return p(a).closest(d)};a.$get=function(a,d){return p(a).get(d)};a.$documentOff=function(a,d){return p(document).off(a,"#"+d)};a.$documentOn=function(a,d,c){return p(document).on(a,"#"+d,c)};
  a.$getAncestorDiv=function(a,d){return p("div."+d+":has(#"+a+")")[0]};a.$supportsIECrossDomainScripting=function(){return p.support.iecors};a.$attr=function(b,d,c){return a._$(b).attr(d,c)};a.$css=function(b,d){return a._$(b).css(d)};a.$find=function(b,d){return a._$(b).find(d)};a.$focus=function(b){return a._$(b).focus()};a.$html=function(b,d){return a._$(b).html(d)};a.$offset=function(b){return a._$(b).offset()};a.$windowOn=function(a,d){return p(window).on(a,d)};a.$prop=function(b,d,c){var e=a._$(b);
  return 3==arguments.length?e.prop(d,c):e.prop(d)};a.$remove=function(b){return a._$(b).remove()};a.$scrollTo=function(b,d){var c=a._$(b);return c.scrollTop(0>d?c[0].scrollHeight:d)};a.$setEnabled=function(b,d){return a._$(b).attr("disabled",d?null:"disabled")};a.$getSize=function(b){b=a._$(b);return[b.width(),b.height()]};a.$setSize=function(b,d,c){return a._$(b).width(d).height(c)};a.$setVisible=function(b,d){var c=a._$(b);return d?c.show():c.hide()};a.$submit=function(b){return a._$(b).submit()};
  a.$val=function(b,d){var c=a._$(b);return 1==arguments.length?c.val():c.val(d)};a._clearVars=function(){delete jQuery;delete p;delete a;delete SwingController;delete J;delete JM;delete JS;delete JSV;delete JU;delete JV;delete java;delete javajs;delete Clazz;delete c$};var l=document,k=window,e={};e.ua=navigator.userAgent.toLowerCase();var h;a:{h=["linux","unix","mac","win"];for(var t=h.length;t--;)if(-1!=e.ua.indexOf(h[t])){h=h[t];break a}h="unknown"}e.os=h;e.browser=function(){for(var a=e.ua,d="konqueror webkit omniweb opera webtv icab msie mozilla".split(" "),
  c=0;c<d.length;c++)if(0<=a.indexOf(d[c]))return d[c];return"unknown"};e.browserName=e.browser();e.browserVersion=parseFloat(e.ua.substring(e.ua.indexOf(e.browserName)+e.browserName.length+1));e.supportsXhr2=function(){return p.support.cors||p.support.iecors};e.allowDestroy="msie"!=e.browserName;e.allowHTML5="msie"!=e.browserName||0>navigator.appVersion.indexOf("MSIE 8");e.getDefaultLanguage=function(){return navigator.language||navigator.userLanguage||"en-US"};e._webGLtest=0;e.supportsWebGL=function(){if(!a.featureDetection._webGLtest){var b;
  a.featureDetection._webGLtest=k.WebGLRenderingContext&&((b=l.createElement("canvas")).getContext("webgl")||b.getContext("experimental-webgl"))?1:-1}return 0<a.featureDetection._webGLtest};e.supportsLocalization=function(){for(var a=l.getElementsByTagName("meta"),d=a.length;0<=--d;)if(0<=a[d].outerHTML.toLowerCase().indexOf("utf-8"))return!0;return!1};e.supportsJava=function(){a.featureDetection._javaEnabled||(a.featureDetection._javaEnabled=a._isMsie?navigator.javaEnabled()?1:-1:navigator.javaEnabled()&&
  (!navigator.mimeTypes||navigator.mimeTypes["application/x-java-applet"])?1:-1);return 0<a.featureDetection._javaEnabled};e.compliantBrowser=function(){var a=!!l.getElementById,d=e.os;if("opera"==e.browserName&&7.54>=e.browserVersion&&"mac"==d||"webkit"==e.browserName&&125.12>e.browserVersion||"msie"==e.browserName&&"mac"==d||"konqueror"==e.browserName&&3.3>=e.browserVersion)a=!1;return a};e.isFullyCompliant=function(){return e.compliantBrowser()&&e.supportsJava()};e.useIEObject="win"==e.os&&"msie"==
  e.browserName&&5.5<=e.browserVersion;e.useHtml4Object="mozilla"==e.browserName&&5<=e.browserVersion||"opera"==e.browserName&&8<=e.browserVersion||"webkit"==e.browserName;e.hasFileReader=k.File&&k.FileReader;a.featureDetection=e;a._ajax=function(b){if(!b.async)return a.$ajax(b).responseText;a._ajaxQueue.push(b);1==a._ajaxQueue.length&&a._ajaxDone()};a._ajaxDone=function(){var b=a._ajaxQueue.shift();b&&a.$ajax(b)};a._grabberOptions=[["$","NCI(small molecules)"],[":","PubChem(small molecules)"],["=",
  "RCSB(macromolecules)"],["*","PDBe(macromolecules)"]];a._getGrabberOptions=function(b){if(0==a._grabberOptions.length)return"";var d='<input type="text" id="ID_query" onfocus="jQuery(this).select()" onkeypress="if(13==event.which){Jmol._applets[\'ID\']._search();return false}" size="32" value="" />',c='<button id="ID_submit" onclick="Jmol._applets[\'ID\']._search()">Search</button></nobr>';1==a._grabberOptions.length?(d="<nobr>"+d+'<span style="display:none">',c="</span>"+c):d+="<br /><nobr>";for(var d=
  d+'<select id="ID_select">',e=0;e<a._grabberOptions.length;e++)var h=a._grabberOptions[e],d=d+('<option value="'+h[0]+'" '+(0==e?"selected":"")+">"+h[1]+"</option>");d=(d+"</select>"+c).replace(/ID/g,b._id);return"<br />"+d};a._getScriptForDatabase=function(b){return"$"==b?a.db._nciLoadScript:":"==b?a.db._pubChemLoadScript:a.db._fileLoadScript};a._setInfo=function(a,d,c){var e=[],h="";if(0==c.indexOf("ERROR"))h=c;else switch(d){case "=":d=c.split("<dimStructure.structureId>");e=["<table>"];for(c=
  1;c<d.length;c++)e.push('<tr><td valign=top><a href="javascript:Jmol.search('+a._id+",'="+d[c].substring(0,4)+"')\">"+d[c].substring(0,4)+"</a></td>"),e.push("<td>"+d[c].split("Title>")[1].split("</")[0]+"</td></tr>");e.push("</table>");h=d.length-1+" matches";break;case "$":case ":":break;default:return}a._infoHeader=h;a._info=e.join("");a._showInfo(!0)};a._loadSuccess=function(b,d){d&&(a._ajaxDone(),d(b))};a._loadError=function(b){a._ajaxDone();a.say("Error connecting to server: "+a._ajaxCall);
  null!=b&&b()};a._isDatabaseCall=function(b){return 0<=a.db._databasePrefixes.indexOf(b.substring(0,1))};a._getDirectDatabaseCall=function(b,d){if(d&&!a.featureDetection.supportsXhr2())return b;var c=2,e,h=a.db._DirectDatabaseCalls[b.substring(0,c)]||a.db._DirectDatabaseCalls[e=b.substring(0,--c)];h&&(":"==e?(e=b.toLowerCase(),isNaN(parseInt(b.substring(1)))?0==e.indexOf(":smiles:")?(h+="?POST?smiles="+b.substring(8),b="smiles"):0==e.indexOf(":cid:")?b="cid/"+b.substring(5):(0==e.indexOf(":name:")?
  b=b.substring(5):0==e.indexOf(":cas:")&&(b=b.substring(4)),b="name/"+encodeURIComponent(b.substring(c))):b="cid/"+b.substring(1)):b=encodeURIComponent(b.substring(c)),0<=h.indexOf("FILENCI")?(b=b.replace(/\%2F/g,"/"),b=h.replace(/\%FILENCI/,b)):b=h.replace(/\%FILE/,b));return b};a._getRawDataFromServer=function(b,d,c,e,h,l){b="?call=getRawDataFromDatabase&database="+b+(0<=d.indexOf("?POST?")?"?POST?":"")+"&query="+encodeURIComponent(d)+(h?"&encoding=base64":"")+(l?"":"&script="+encodeURIComponent(a._getScriptForDatabase(b)));
  return a._contactServer(b,c,e)};a._checkFileName=function(b,d,c){a._isDatabaseCall(d)&&(c&&a._setQueryTerm(b,d),d=a._getDirectDatabaseCall(d,!0),a._isDatabaseCall(d)&&(d=a._getDirectDatabaseCall(d,!1),c&&(c[0]=!0)));return d};a._checkCache=function(b,d,c){if(b._cacheFiles&&a._fileCache&&!d.endsWith(".js")){if(b=a._fileCache[d])return System.out.println("using "+b.length+" bytes of cached data for "+d),c(b),null;c=function(b,d){c(a._fileCache[b]=d)}}return c};a._loadFileData=function(b,d,c,e){var h=
  [];d=a._checkFileName(b,d,h);c=a._checkCache(b,d,c);h[0]?a._getRawDataFromServer("_",d,c,e):(b={type:"GET",dataType:"text",url:d,async:a._asynchronous,success:function(b){a._loadSuccess(b,c)},error:function(){a._loadError(e)}},a._checkAjaxPost(b),a._ajax(b))};a._getInfoFromDatabase=function(b,d,c){if("===="==d){var e=a.db._restQueryXml.replace(/QUERY/,c),e={dataType:"text",type:"POST",contentType:"application/x-www-form-urlencoded",url:a.db._restQueryUrl,data:encodeURIComponent(e)+"&req=browser",
  success:function(e){a._ajaxDone();a._extractInfoFromRCSB(b,d,c,e)},error:function(){a._loadError(null)},async:a._asynchronous};return a._ajax(e)}c="?call=getInfoFromDatabase&database="+d+"&query="+encodeURIComponent(c);return a._contactServer(c,function(c){a._setInfo(b,d,c)})};a._extractInfoFromRCSB=function(b,d,c,e){var h=e.length/5;if(0!=h&&4==c.length&&1!=h){c=c.toUpperCase();var l=e.indexOf(c);0<l&&0<="123456789".indexOf(c.substring(0,1))&&(e=c+","+e.substring(0,l)+e.substring(l+5));50<h&&(e=
  e.substring(0,250));e=e.replace(/\n/g,",");e=a._restReportUrl.replace(/IDLIST/,e);a._loadFileData(b,e,function(c){a._setInfo(b,d,c)})}};a._checkAjaxPost=function(a){var d=a.url.indexOf("?POST?");0<d&&(a.data=a.url.substring(d+6),a.url=a.url.substring(0,d),a.type="POST",a.contentType="application/x-www-form-urlencoded")};a._contactServer=function(b,d,c){b={dataType:"text",type:"GET",url:a._serverUrl+b,success:function(b){a._loadSuccess(b,d)},error:function(){a._loadError(c)},async:d?a._asynchronous:
  !1};a._checkAjaxPost(b);return a._ajax(b)};a._setQueryTerm=function(b,d){if(d&&b._hasOptions&&"http://"!=d.substring(0,7)){if(a._isDatabaseCall(d)){var c=d.substring(0,1);d=d.substring(1);d.substring(0,1)==c&&0<="=$".indexOf(c)&&(d=d.substring(1));var e=a._getElement(b,"select");if(e&&e.options)for(var h=0;h<e.options.length;h++)e[h].value==c&&(e[h].selected=!0)}a.$val(a.$(b,"query"),d)}};a._search=function(b,d,c){1<arguments.length||(d=null);a._setQueryTerm(b,d);d||(d=a.$val(a.$(b,"query")));0==
  d.indexOf("!")?b._script(d.substring(1)):(d&&(d=d.replace(/\"/g,"")),b._showInfo(!1),a._searchMol(b,d,c,!0))};a._searchMol=function(b,d,c,e){var h;a._isDatabaseCall(d)?(h=d.substring(0,1),d=d.substring(1)):h=b._hasOptions?a.$val(a.$(b,"select")):"$";"="==h&&3==d.length&&(d="="+d);var l=h+d;if(d&&!(0>l.indexOf("?")&&l==b._thisJmolModel)){b._thisJmolModel=l;var k;e&&null!=b._viewSet&&null!=(k=a.View.__findView(b._viewSet,{chemID:l}))?a.View.__setView(k,b,!1):("$"==h||":"==h?b._jmolFileType="MOL":"="==
  h&&(b._jmolFileType="PDB"),b._searchDatabase(d,h,c))}};a._searchDatabase=function(b,d,c,e){b._showInfo(!1);return 0<=d.indexOf("?")?(a._getInfoFromDatabase(b,c,d.split("?")[0]),!0):a.db._DirectDatabaseCalls[c]?(b._loadFile(c+d,e),!0):!1};a._syncBinaryOK="?";a._canSyncBinary=function(b){if(a._isAsync)return!0;if(self.VBArray)return a._syncBinaryOK=!1;if("?"!=a._syncBinaryOK)return a._syncBinaryOK;a._syncBinaryOK=!0;try{var d=new window.XMLHttpRequest;d.open("text",a._ajaxTestSite,!1);d.hasOwnProperty("responseType")?
  d.responseType="arraybuffer":d.overrideMimeType&&d.overrideMimeType("text/plain; charset=x-user-defined")}catch(c){return System.out.println("JSmolCore.js: synchronous binary file transfer is requested but not available"),a._alertNoBinary&&!b&&alert("JSmolCore.js: synchronous binary file transfer is requested but not available"),a._syncBinaryOK=!1}return!0};a._binaryTypes=".gz .jpg .gif .png .zip .jmol .bin .smol .spartan .mrc .pse .map .omap".split(" ");a._isBinaryUrl=function(b){for(var d=a._binaryTypes.length;0<=
  --d;)if(0<=b.indexOf(a._binaryTypes[d]))return!0;return!1};a._getFileData=function(b,d,c){var e=a._isBinaryUrl(b),h=0<=b.indexOf("pdb.gz")&&0==b.indexOf("http://www.rcsb.org/pdb/files/"),l=e&&!a._canSyncBinary(h);l&&h&&(b=b.replace(/pdb\.gz/,"pdb"),l=e=!1);h=0<=b.indexOf("?POST?");0==b.indexOf("file:/")&&0!=b.indexOf("file:///")&&(b="file://"+b.substring(5));var k=0>b.indexOf("://")||0==b.indexOf(document.location.protocol)&&0<=b.indexOf(document.location.host),t="https://"==a._httpProto&&0==b.indexOf("http://"),
  p=a._isDirectCall(b),s=!k&&a.$supportsIECrossDomainScripting(),V=null;if(t||l||!k&&!p||!d&&s)V=a._getRawDataFromServer("_",b,d,d,l,!0);else{b=b.replace(/file:\/\/\/\//,"file://");var D={dataType:e?"binary":"text",async:!!d};h?(D.type="POST",D.url=b.split("?POST?")[0],D.data=b.split("?POST?")[1]):(D.type="GET",D.url=b);d&&(D.success=function(){d(a._xhrReturn(D.xhr))},D.error=function(){d(D.xhr.statusText)});D.xhr=a.$ajax(D);d||(V=a._xhrReturn(D.xhr))}if(!c)return V;null==V&&(V="",e=!1);e&&(e=a._canSyncBinary(!0));
  return e?a._strToBytes(V):JU.SB.newS(V)};a._xhrReturn=function(a){return!a.responseText||self.Clazz&&Clazz.instanceOf(a.response,self.ArrayBuffer)?a.response||a.statusText:a.responseText};a._isDirectCall=function(b){for(var d in a.db._DirectDatabaseCalls)if(0<=d.indexOf(".")&&0<=b.indexOf(d))return!0;return!1};a._cleanFileData=function(a){return 0<=a.indexOf("\r")&&0<=a.indexOf("\n")?a.replace(/\r\n/g,"\n"):0<=a.indexOf("\r")?a.replace(/\r/g,"\n"):a};a._getFileType=function(a){var d=a.substring(0,
  1);if("$"==d||":"==d)return"MOL";if("="==d)return"="==a.substring(1,2)?"LCIF":"PDB";a=a.split(".").pop().toUpperCase();return a.substring(0,Math.min(a.length,3))};a._getZ=function(b,d){return b&&b._z&&b._z[d]||a._z[d]};a._incrZ=function(b,d){return b&&b._z&&++b._z[d]||++a._z[d]};a._loadFileAsynchronously=function(b,d,c,e){if(0!=c.indexOf("?")){var h=c;c=a._checkFileName(d,c);var l=function(d){a._setData(b,c,h,d,e)},l=a._checkCache(d,c,l);0<=c.indexOf("|")&&(c=c.split("|")[0]);return null==l?null:
  a._getFileData(c,l)}if(!a.featureDetection.hasFileReader)return b.setData("Local file reading is not enabled in your browser",null,null,e);d._localReader||(l='<div id="ID" style="z-index:'+a._getZ(d,"fileOpener")+';position:absolute;background:#E0E0E0;left:10px;top:10px"><div style="margin:5px 5px 5px 5px;"><input type="file" id="ID_files" /><button id="ID_loadfile">load</button><button id="ID_cancel">cancel</button></div><div>',a.$after("#"+d._id+"_appletdiv",l.replace(/ID/g,d._id+"_localReader")),
  d._localReader=a.$(d,"localReader"));a.$appEvent(d,"localReader_loadfile","click");a.$appEvent(d,"localReader_loadfile","click",function(){var c=a.$(d,"localReader_files")[0].files[0],h=new FileReader;h.onloadend=function(h){h.target.readyState==FileReader.DONE&&(a.$css(a.$(d,"localReader"),{display:"none"}),a._setData(b,c.name,c.name,h.target.result,e))};h.readAsArrayBuffer(c)});a.$appEvent(d,"localReader_cancel","click");a.$appEvent(d,"localReader_cancel","click",function(){a.$css(a.$(d,"localReader"),
  {display:"none"});b.setData(null,null,null,e)});a.$css(a.$(d,"localReader"),{display:"block"})};a._setData=function(b,d,c,e,h){e=a._strToBytes(e);0<=d.indexOf(".jdx")&&a.Cache.put("cache://"+d,e);b.setData(d,c,e,h)};a._toBytes=function(a){if("string"==typeof a)return a.getBytes();a=new Uint8Array(a);for(var d=Clazz.newByteArray(a.length,0),c=a.length;0<=--c;)d[c]=a[c];return d};a._doAjax=function(b,d,c){b=b.toString();if(null!=c)return a._saveFile(b,c);d&&(b+="?POST?"+d);return a._getFileData(b,null,
  !0)};a._saveFile=function(b,d,c,e){if(a._localFileSaveFunction&&a._localFileSaveFunction(b,d))return"OK";b=b.substring(b.lastIndexOf("/")+1);c||(c=0<=b.indexOf(".pdf")?"application/pdf":0<=b.indexOf(".png")?"image/png":0<=b.indexOf(".gif")?"image/gif":0<=b.indexOf(".jpg")?"image/jpg":"");var h="string"==typeof d;h||(d=(JU?JU:J.util).Base64.getBase64(d).toString());e||(e=h?"":"base64");(h=a._serverUrl)&&0<=h.indexOf("your.server")&&(h="");a._useDataURI||!h?(e||(d=btoa(d)),e=document.createElement("a"),
  e.href="data:"+c+";base64,"+d,e.type=c||"text/plain",e.download=b,e.target="_blank",p("body").append(e),e.click(),e.remove()):(a._formdiv||(a.$after("body",'<div id="__jsmolformdiv__" style="display:none">\t\t\t\t\t\t<form id="__jsmolform__" method="post" target="_blank" action="">\t\t\t\t\t\t<input name="call" value="saveFile"/>\t\t\t\t\t\t<input id="__jsmolmimetype__" name="mimetype" value=""/>\t\t\t\t\t\t<input id="__jsmolencoding__" name="encoding" value=""/>\t\t\t\t\t\t<input id="__jsmolfilename__" name="filename" value=""/>\t\t\t\t\t\t<textarea id="__jsmoldata__" name="data"></textarea>\t\t\t\t\t\t</form>\t\t\t\t\t\t</div>'),
  a._formdiv="__jsmolform__"),a.$attr(a._formdiv,"action",h+"?"+(new Date).getMilliseconds()),a.$val("__jsmoldata__",d),a.$val("__jsmolfilename__",b),a.$val("__jsmolmimetype__",c),a.$val("__jsmolencoding__",e),a.$submit("__jsmolform__"),a.$val("__jsmoldata__",""),a.$val("__jsmolfilename__",""));return"OK"};a._strToBytes=function(b){if(Clazz.instanceOf(b,self.ArrayBuffer))return a._toBytes(b);for(var d=Clazz.newByteArray(b.length,0),c=b.length;0<=--c;)d[c]=b.charCodeAt(c)&255;return d};a._setConsoleDiv=
  function(a){self.Clazz&&Clazz.setConsoleDiv(a)};a._registerApplet=function(b,d){return window[b]=a._applets[b]=a._applets[d]=a._applets[b+"__"+a._syncId+"__"]=d};a._readyCallback=function(b,d,c,e,h){b=b.split("_object")[0];var l=a._applets[b];if(c=c.booleanValue?c.booleanValue():c)l._appletPanel=h||e,l._applet=e;a._track(l._readyCallback(b,d,c))};a._getWrapper=function(b,d){var c;if(d){var e="";b._coverImage&&(e=' onclick="Jmol.coverApplet(ID, false)" title="'+b._coverTitle+'"',c='<image id="ID_coverclickgo" src="'+
  b._j2sPath+'/img/play_make_live.jpg" style="width:25px;height:25px;position:absolute;bottom:10px;left:10px;z-index:'+a._getZ(b,"coverImage")+';opacity:0.5;"'+e+" />",e='<div id="ID_coverdiv" style="background-color:red;z-index:'+a._getZ(b,"coverImage")+';width:100%;height:100%;display:inline;position:absolute;top:0px;left:0px"><image id="ID_coverimage" src="'+b._coverImage+'" style="width:100%;height:100%"'+e+"/>"+c+"</div>");c=a._appletCssText.replace(/\'/g,'"');c=0<=c.indexOf('style="')?c.split('style="')[1]:
  '" '+c;c='...<div id="ID_appletinfotablediv" style="width:Wpx;height:Hpx;position:relative;font-size:14px;text-align:left">IMG......<div id="ID_appletdiv" style="z-index:'+a._getZ(b,"header")+";width:100%;height:100%;position:absolute;top:0px;left:0px;"+c+">";var h=b._height,l=b._width;if("string"!==typeof h||0>h.indexOf("%"))h+="px";if("string"!==typeof l||0>l.indexOf("%"))l+="px";c=c.replace(/IMG/,e).replace(/Hpx/g,h).replace(/Wpx/g,l)}else c='......</div>......<div id="ID_2dappletdiv" style="position:absolute;width:100%;height:100%;overflow:hidden;display:none"></div>......<div id="ID_infotablediv" style="width:100%;height:100%;position:absolute;top:0px;left:0px">.........<div id="ID_infoheaderdiv" style="height:20px;width:100%;background:yellow;display:none"><span id="ID_infoheaderspan"></span><span id="ID_infocheckboxspan" style="position:absolute;text-align:right;right:1px;"><a href="javascript:Jmol.showInfo(ID,false)">[x]</a></span></div>.........<div id="ID_infodiv" style="position:absolute;top:20px;bottom:0px;width:100%;height:100%;overflow:auto"></div>......</div>...</div>';
  return c.replace(/\.\.\./g,"").replace(/[\n\r]/g,"").replace(/ID/g,b._id)};a._documentWrite=function(b){if(a._document){if(a._isXHTML&&!a._XhtmlElement){var d=document.getElementsByTagName("script");a._XhtmlElement=d.item(d.length-1);a._XhtmlAppendChild=!1}a._XhtmlElement?a._domWrite(b):a._document.write(b)}return b};a._domWrite=function(b){for(var d=[0];d[0]<b.length;){var c=a._getDomElement(b,d);if(!c)break;a._XhtmlAppendChild?a._XhtmlElement.appendChild(c):a._XhtmlElement.parentNode.insertBefore(c,
  _jmol.XhtmlElement)}};a._getDomElement=function(a,d){var c=document.createElement("span");c.innerHTML=a;d[0]=a.length;return c};a._setObject=function(b,d,c){b._id=d;b.__Info={};c.z&&c.zIndexBase&&(a._z=a._getZOrders(c.zIndexBase));for(var e in c)b.__Info[e]=c[e];(b._z=c.z)||c.zIndexBase&&(b._z=b.__Info.z=a._getZOrders(c.zIndexBase));b._width=c.width;b._height=c.height;b._noscript=!b._isJava&&c.noscript;b._console=c.console;b._cacheFiles=!!c.cacheFiles;b._viewSet=null==c.viewSet||b._isJava?null:"Set"+
  c.viewSet;null!=b._viewSet&&(a.View.__init(b),b._currentView=null);!a._fileCache&&b._cacheFiles&&(a._fileCache={});b._console||(b._console=b._id+"_infodiv");"none"==b._console&&(b._console=null);b._color=c.color?c.color.replace(/0x/,"#"):"#FFFFFF";b._disableInitialConsole=c.disableInitialConsole;b._noMonitor=c.disableJ2SLoadMonitor;a._j2sPath&&(c.j2sPath=a._j2sPath);b._j2sPath=c.j2sPath;b._coverImage=c.coverImage;b._isCovered=!!b._coverImage;b._deferApplet=c.deferApplet||b._isCovered&&b._isJava;b._deferUncover=
  c.deferUncover&&!b._isJava;b._coverScript=c.coverScript;b._coverTitle=c.coverTitle;b._coverTitle||(b._coverTitle=b._deferApplet?"activate 3D model":"3D model is loading...");b._containerWidth=b._width+(b._width==parseFloat(b._width)?"px":"");b._containerHeight=b._height+(b._height==parseFloat(b._height)?"px":"");b._info="";b._infoHeader=b._jmolType+' "'+b._id+'"';b._hasOptions=c.addSelectionOptions;b._defaultModel=c.defaultModel;b._readyScript=c.script?c.script:"";b._readyFunction=c.readyFunction;
  b._coverImage&&!b._deferApplet&&(b._readyScript+=";javascript "+d+"._displayCoverImage(false)");b._src=c.src};a._addDefaultInfo=function(b,d){for(var c in d)"undefined"==typeof b[c]&&(b[c]=d[c]);a._use&&(b.use=a._use);0<=b.use.indexOf("SIGNED")&&(0>b.jarFile.indexOf("Signed")&&(b.jarFile=b.jarFile.replace(/Applet/,"AppletSigned")),b.use=b.use.replace(/SIGNED/,"JAVA"),b.isSigned=!0)};a._syncedApplets=[];a._syncedCommands=[];a._syncedReady=[];a._syncReady=!1;a._isJmolJSVSync=!1;a._setReady=function(b){a._syncedReady[b]=
  1;for(var d=0,c=0;c<a._syncedApplets.length;c++){if(a._syncedApplets[c]==b._id)a._syncedApplets[c]=b,a._syncedReady[c]=1;else if(!a._syncedReady[c])continue;d++}d==a._syncedApplets.length&&a._setSyncReady()};a._setDestroy=function(b){a.featureDetection.allowDestroy&&a.$windowOn("beforeunload",function(){a._destroy(b)})};a._destroy=function(b){try{b._appletPanel&&b._appletPanel.destroy();b._applet=null;a._unsetMouse(b._canvas);b._canvas=null;for(var d=0,c=0;c<a._syncedApplets.length;c++)a._syncedApplets[c]==
  b&&(a._syncedApplets[c]=null),a._syncedApplets[c]&&d++;0<d||a._clearVars()}catch(e){}};a._setSyncReady=function(){a._syncReady=!0;for(var b="",d=0;d<a._syncedApplets.length;d++)a._syncedCommands[d]&&(b+="Jmol.script(Jmol._syncedApplets["+d+"], Jmol._syncedCommands["+d+"]);");setTimeout(b,50)};a._mySyncCallback=function(b,d){app=a._applets[b];if(app._viewSet)a.View.updateFromSync(app,d);else{if(!a._syncReady||!a._isJmolJSVSync)return 1;for(var c=0;c<a._syncedApplets.length;c++)0<=d.indexOf(a._syncedApplets[c]._syncKeyword)&&
  a._syncedApplets[c]._syncScript(d);return 0}};a._getElement=function(a,d){return document.getElementById(a._id+"_"+d)||{}};a._evalJSON=function(a,d){a+="";if(!a)return[];if("{"!=a.charAt(0))return 0<=a.indexOf(" | ")&&(a=a.replace(/\ \|\ /g,"\n")),a;var c=(new Function("return "+a))();return!c?null:d&&void 0!=c[d]?c[d]:c};a._sortMessages=function(a){function d(a,b){return a[0]<b[0]?1:a[0]>b[0]?-1:0}if(!a||"object"!=typeof a)return[];for(var c=[],e=a.length-1;0<=e;e--)for(var h=0,l=a[e].length;h<l;h++)c[c.length]=
  a[e][h];if(0!=c.length)return c=c.sort(d)};a._setMouseOwner=function(b,d){null==b||d?a._mouseOwner=b:a._mouseOwner==b&&(a._mouseOwner=null)};a._jsGetMouseModifiers=function(a){var d=0;switch(a.button){case 0:d=16;break;case 1:d=8;break;case 2:d=4}a.shiftKey&&(d+=1);a.altKey&&(d+=8);a.ctrlKey&&(d+=2);return d};a._jsGetXY=function(b,d){if(!b.applet._ready||a._touching&&0>d.type.indexOf("touch"))return!1;var c=a.$offset(b.id),e,h=d.originalEvent;d.pageX||(d.pageX=h.pageX);d.pageY||(d.pageY=h.pageY);
  a._mousePageX=d.pageX;a._mousePageY=d.pageY;h.targetTouches&&h.targetTouches[0]?(e=h.targetTouches[0].pageX-c.left,c=h.targetTouches[0].pageY-c.top):h.changedTouches?(e=h.changedTouches[0].pageX-c.left,c=h.changedTouches[0].pageY-c.top):(e=d.pageX-c.left,c=d.pageY-c.top);return void 0==e?null:[Math.round(e),Math.round(c),a._jsGetMouseModifiers(d)]};a._gestureUpdate=function(b,d){d.stopPropagation();d.preventDefault();var c=d.originalEvent;switch(d.type){case "touchstart":a._touching=!0;break;case "touchend":a._touching=
  !1}if(!c.touches||2!=c.touches.length)return!1;switch(d.type){case "touchstart":b._touches=[[],[]];break;case "touchmove":var e=a.$offset(b.id),h=b._touches[0],l=b._touches[1];h.push([c.touches[0].pageX-e.left,c.touches[0].pageY-e.top]);l.push([c.touches[1].pageX-e.left,c.touches[1].pageY-e.top]);c=h.length;3<c&&(h.shift(),l.shift());2<=c&&b.applet._processGesture(b._touches)}return!0};a._jsSetMouse=function(b){var d=function(a){return!a.target||0<=(""+a.target.className).indexOf("swingjs-ui")};a.$bind(b,
  "mousedown touchstart",function(c){if(d(c))return!0;a._setMouseOwner(b,!0);c.stopPropagation();var e=c.target["data-UI"];(!e||!e.handleJSEvent(b,501,c))&&c.preventDefault();b.isDragging=!0;if("touchstart"==c.type&&a._gestureUpdate(b,c))return!!e;a._setConsoleDiv(b.applet._console);var h=a._jsGetXY(b,c);h&&(2!=c.button&&a.Swing.hideMenus(b.applet),b.applet._processEvent(501,h));return!!e});a.$bind(b,"mouseup touchend",function(c){if(d(c))return!0;a._setMouseOwner(null);c.stopPropagation();var e=c.target["data-UI"];
  (!e||!e.handleJSEvent(b,502,c))&&c.preventDefault();b.isDragging=!1;if("touchend"==c.type&&a._gestureUpdate(b,c))return!!e;(c=a._jsGetXY(b,c))&&b.applet._processEvent(502,c);return!!e});a.$bind(b,"mousemove touchmove",function(c){if(d(c))return!0;if(a._mouseOwner&&a._mouseOwner!=b&&a._mouseOwner.isDragging){if(!a._mouseOwner.mouseMove)return!0;a._mouseOwner.mouseMove(c);return!1}return a._drag(b,c)});a._drag=function(b,d){d.stopPropagation();d.preventDefault();if("touchmove"==d.type&&a._gestureUpdate(b,
  d))return!1;var e=a._jsGetXY(b,d);if(!e)return!1;b.isDragging||(e[2]=0);var h=d.target["data-UI"];b.isdragging&&(!h||h.handleJSEvent(b,506,d));b.applet._processEvent(b.isDragging?506:503,e);return!!h};a.$bind(b,"DOMMouseScroll mousewheel",function(c){if(d(c))return!0;c.stopPropagation();c.preventDefault();b.isDragging=!1;var e=c.originalEvent,e=e.detail?e.detail:("mac"==a.featureDetection.os?1:-1)*e.wheelDelta;c=a._jsGetMouseModifiers(c);b.applet._processEvent(-1,[0>e?-1:1,0,c]);return!1});a.$bind(b,
  "contextmenu",function(){return!1});a.$bind(b,"mouseout",function(c){if(d(c))return!0;a._mouseOwner&&!a._mouseOwner.mouseMove&&a._setMouseOwner(null);b.applet._appletPanel&&b.applet._appletPanel.startHoverWatcher(!1);a._jsGetXY(b,c);return!1});a.$bind(b,"mouseenter",function(c){if(d(c))return!0;b.applet._appletPanel&&b.applet._appletPanel.startHoverWatcher(!0);if(0===c.buttons||0===c.which){b.isDragging=!1;c=a._jsGetXY(b,c);if(!c)return!1;b.applet._processEvent(504,c);b.applet._processEvent(502,c);
  return!1}});a.$bind(b,"mousemoveoutjsmol",function(c,e,h){if(d(h))return!0;if(b==a._mouseOwner&&b.isDragging)return a._drag(b,h)});b.applet._is2D&&a.$resize(function(){b.applet&&b.applet._resize()});a.$bind("body","mouseup touchend",function(c){if(d(c))return!0;b.applet&&(b.isDragging=!1);a._setMouseOwner(null)})};a._jsUnsetMouse=function(b){b.applet=null;a.$bind(b,"mousedown touchstart mousemove touchmove mouseup touchend DOMMouseScroll mousewheel contextmenu mouseout mouseenter",null);a._setMouseOwner(null)};
  a.Swing={count:0,menuInitialized:0,menuCounter:0,htDialogs:{}};var s=a.Swing;SwingController=s;s.setDraggable=function(b){b=b.prototype;b.setContainer||(b.setContainer=function(b){this.container=b;b.obj=this;this.ignoreMouse=this.isDragging=!1;var c=this;b.bind("mousedown touchstart",function(b){if(c.ignoreMouse)return c.ignoreMouse=!1,!0;a._setMouseOwner(c,!0);c.isDragging=!0;c.pageX=b.pageX;c.pageY=b.pageY;return!1});b.bind("mousemove touchmove",function(b){if(c.isDragging&&a._mouseOwner==c)return c.mouseMove(b),
  !1});b.bind("mouseup touchend",function(b){c.mouseUp(b);a._setMouseOwner(null)})},b.mouseUp=function(b){if(this.isDragging&&a._mouseOwner==this)return this.pageX0+=b.pageX-this.pageX,this.pageY0+=b.pageY-this.pageY,this.isDragging=!1;a._setMouseOwner(null)},b.setPosition=function(){if(null===a._mousePageX){var b=a.$offset(this.applet._id+"_"+(this.applet._is2D?"canvas2d":"canvas"));a._mousePageX=b.left;a._mousePageY=b.top}this.pageX0=a._mousePageX;this.pageY0=a._mousePageY;this.container.css({top:a._mousePageY+
  "px",left:a._mousePageX+"px"})},b.mouseMove=function(b){if(this.isDragging&&a._mouseOwner==this){this.timestamp=System.currentTimeMillis();var c=this.pageX0+(b.pageX-this.pageX);b=this.pageY0+(b.pageY-this.pageY);a._mousePageX=c;a._mousePageY=b;this.container.css({top:b+"px",left:c+"px"})}},b.dragBind=function(b){this.applet._ignoreMouse=!b;this.container.unbind("mousemoveoutjsmol");this.container.unbind("touchmoveoutjsmol");this.container.unbind("mouseupoutjsmol");this.container.unbind("touchendoutjsmol");
  a._setMouseOwner(null);if(b){var c=this;this.container.bind("mousemoveoutjsmol touchmoveoutjsmol",function(a,b,d){c.mouseMove(d)});this.container.bind("mouseupoutjsmol touchendoutjsmol",function(a,b,d){c.mouseUp(d)})}})};s.JSDialog=function(){};s.setDraggable(s.JSDialog);s.getScreenDimensions=function(a){a.width=p(window).width();a.height=p(window).height()};s.dispose=function(b){a.$remove(b.id+"_mover");delete s.htDialogs[b.id];b.container.obj.dragBind(!1)};s.register=function(a,d){a.id=d+ ++s.count;
  s.htDialogs[a.id]=a};s.setDialog=function(b){a._setMouseOwner(null);a.$remove(b.id);var d=b.id+"_mover",c=a._$(d),e;c[0]?(c.html(b.html),e=c[0].jd):(a.$after("body","<div id='"+d+"' style='position:absolute;left:0px;top:0px;'>"+b.html+"</div>"),e=new s.JSDialog,c=a._$(d),b.container=c,e.applet=b.manager.vwr.html5Applet,e.setContainer(c),e.dialog=b,e.setPosition(),e.dragBind(!0),c[0].jd=e);a.$bind("#"+b.id+" .JButton","mousedown touchstart",function(){e.ignoreMouse=!0});a.$bind("#"+b.id+" .JComboBox",
  "mousedown touchstart",function(){e.ignoreMouse=!0});a.$bind("#"+b.id+" .JCheckBox","mousedown touchstart",function(){e.ignoreMouse=!0});a.$bind("#"+b.id+" .JTextField","mousedown touchstart",function(){e.ignoreMouse=!0});a.$bind("#"+b.id+" .JTable","mousedown touchstart",function(){e.ignoreMouse=!0});a.$bind("#"+b.id+" .JScrollPane","mousedown touchstart",function(){e.ignoreMouse=!0});a.$bind("#"+b.id+" .JEditorPane","mousedown touchstart",function(){e.ignoreMouse=!0})};s.setSelected=function(b){a.$prop(b.id,
  "checked",!!b.selected)};s.setSelectedIndex=function(b){a.$prop(b.id,"selectedIndex",b.selectedIndex)};s.setText=function(b){a.$prop(b.id,"value",b.text)};s.setVisible=function(b){a.$setVisible(b.id,b.visible)};s.setEnabled=function(b){a.$setEnabled(b.id,b.enabled)};s.click=function(b,d){var c=s.htDialogs[b.id];if(c){var e=c.toString();if(0<=e.indexOf("JCheck"))c.selected=b.checked;else if(0<=e.indexOf("JCombo"))c.selectedIndex=b.selectedIndex;else if(null!=c.text&&(c.text=b.value,d&&13!=(d.charCode||
  d.keyCode)))return}e=s.htDialogs[a.$getAncestorDiv(b.id,"JDialog").id];e.manager.actionPerformed(c?c.name:e.registryKey+"/"+b.id)};s.setFront=function(b){var d=b.manager.vwr.html5Applet;b.zIndex!=a._getZ(d,"dialog")&&(b.zIndex=a._incrZ(d,"dialog"));b.container&&((b.container[0]||b.container).style.zIndex=b.zIndex)};s.hideMenus=function(a){if(a=a._menus)for(var d in a)a[d].visible&&s.hideMenu(a[d])};s.windowClosing=function(b){b=s.htDialogs[a.$getAncestorDiv(b.id,"JDialog").id];b.registryKey?b.manager.processWindowClosing(b.registryKey):
  b.dispose()};a._track=function(b){if(a._tracker){try{var d='<iframe style="display:none" width="0" height="0" frameborder="0" tabindex="-1" src="'+(a._tracker+"&applet="+b._jmolType+"&version="+a._version+"&appver="+a.___JmolVersion+"&url="+encodeURIComponent(document.location.href))+'"></iframe>';a.$after("body",d)}catch(c){}delete a._tracker}return b};a.getProfile=function(){window["j2s.doProfile"]=!0;if(self.Clazz&&self.JSON)return Clazz._profile||(Clazz._profile={}),Clazz.getProfile()};a._getInChIKey=
  function(a,d){0<=d.indexOf("MOL=")&&d.split("MOL=")[1].split('"')};a._getAttr=function(a,d){var c=a.indexOf(d+"=");return 0<=c&&0<=(c=a.indexOf('"',c))?a.substring(c+1,a.indexOf('"',c+1)):null};a.User={viewUpdatedCallback:null};a.View={count:0,applets:{},sets:{}};(function(b){b.updateView=function(d,c){if(null!=d._viewSet){c.chemID||(d._searchQuery=null);c.data||(c.data="N/A");c.type=d._viewType;if(null==(d._currentView=b.__findView(d._viewSet,c)))d._currentView=b.__createViewSet(d._viewSet,c.chemID,
  c.viewID||c.chemID);d._currentView[c.type].data=c.data;d._currentView[c.type].smiles=d._getSmiles();a.User.viewUpdatedCallback&&a.User.viewUpdatedCallback(d,"updateView");b.__setView(d._currentView,d,!1)}};b.updateFromSync=function(d,c){d._updateMsg=c;var e=a._getAttr(c,"sourceID")||a._getAttr(c,"file");if(e){var h=b.__findView(d._viewSet,{viewID:e});if(null==h)return a.updateView(d,c);h!=d._currentView&&b.__setView(h,d,!0);var l=(e=a._getAttr(c,"atoms"))&&0<=c.indexOf("selectionhalos ON")?eval("["+
  e+"]"):[];setTimeout(function(){d._currentView==h&&b.updateAtomPick(d,l)},10);a.User.viewUpdatedCallback&&a.User.viewUpdatedCallback(d,"updateFromSync")}};b.updateAtomPick=function(b,c){var e=b._currentView;if(null!=e){for(var h in e)"info"!=h&&e[h].applet!=b&&e[h].applet._updateAtomPick(c);a.User.viewUpdatedCallback&&a.User.viewUpdatedCallback(b,"updateAtomPick")}};b.dumpViews=function(a){var c=b.sets[a];if(c){var e="View set "+a+":\n";a=b.applets[a];for(var h in a)e+="\napplet "+a[h]._id+" currentView="+
  (a[h]._currentView?a[h]._currentView.info.viewID:null);for(h=c.length;0<=--h;){a=c[h];var e=e+("\n\n<b>view="+h+" viewID="+a.info.viewID+" chemID="+a.info.chemID+"</b>\n"),l,k;for(k in a)"info"!=k&&(e+="\nview="+h+" type="+k+" applet="+((l=a[k]).applet?l.applet._id:null)+" SMILES="+l.smiles+"\n atomMap="+JSON.stringify(l.atomMap)+"\n data=\n"+l.data+"\n")}return e}};b.__init=function(a){var c=a._viewSet,e=b.applets;e[c]||(e[c]={});e[c][a._viewType]=a};b.__findView=function(a,c){var e=b.sets[a];null==
  e&&(e=b.sets[a]=[]);for(var h=e.length;0<=--h;){var l=e[h];if(c.viewID){if(l.info.viewID==c.viewID)return l}else{if(null!=c.chemID&&c.chemID==l.info.chemID)return l;for(var k in l)if("info"!=k&&(null!=c.data&&null!=l[k].data?c.data==l[k].data:c.type==k))return l}}return null};b.__createViewSet=function(d,c,e){b.count++;c={info:{chemID:c,viewID:e||"model_"+b.count}};for(var h in a._applets)e=a._applets[h],e._viewSet==d&&(c[e._viewType]={applet:e,data:null});b.sets[d].push(c);return c};b.__setView=
  function(a,b,e){for(var h in a)if("info"!=h){var l=a[h],k=l.applet,t=e||null!=k&&"<modified>"==k._molData;if(!(null==k||k==b&&!t)){var p=null==l.data,s=null!=k._currentView;k._currentView=a;if(!s||!(a[h].data==l.data&&!p&!t))if(k._loadModelFromView(a),p)break}}}})(a.View);a.Cache={fileCache:{}};a.Cache.get=function(b){return a.Cache.fileCache[b]};a.Cache.put=function(b,d){a.Cache.fileCache[b]=d};a.Cache.setDragDrop=function(b){a.$appEvent(b,"appletdiv","dragover",function(a){a=a.originalEvent;a.stopPropagation();
  a.preventDefault();a.dataTransfer.dropEffect="copy"});a.$appEvent(b,"appletdiv","drop",function(d){var c=d.originalEvent;c.stopPropagation();c.preventDefault();var e=c.dataTransfer.files[0];if(null==e)try{e=""+c.dataTransfer.getData("text"),(0==e.indexOf("file:/")||0==e.indexOf("http:/"))&&b._scriptLoad(e)}catch(h){}else c=new FileReader,c.onloadend=function(c){if(c.target.readyState==FileReader.DONE){var h="cache://DROP_"+e.name;c=a._toBytes(c.target.result);h.endsWith(".spt")||b._appletPanel.cacheFileByName("cache://DROP_*",
  !1);"JSV"==b._viewType||h.endsWith(".jdx")?a.Cache.put(h,c):b._appletPanel.cachePut(h,c);(c=a._jsGetXY(b._canvas,d))&&(!b._appletPanel.setStatusDragDropped||b._appletPanel.setStatusDragDropped(0,c[0],c[1],h))&&b._appletPanel.openFileAsyncSpecial(h,1)}},c.readAsArrayBuffer(e)})}})(Jmol,jQuery);Jmol._debugCode=!1;
  (function(a){a._isAsync=!1;a._asyncCallbacks={};a._coreFiles=[];var p=!1,l=[],k=[],e=0,h=[],t=[],s=function(b){arguments.length||(b=!0);delete e;for(var d;0<k.length&&"done"==(d=k[0])[4];)k.shift();if(0!=k.length)if(!a._isAsync&&!b)setTimeout(s,10);else{d.push("done");var h="JSmol exec "+d[0]._id+" "+d[3]+" "+d[2];self.System&&System.out.println(h);self.console&&console.log(h+" -- OK");l.push(h);d[1](d[0],d[2])}},b=function(b){p?s():(p=!0,LoadClazz(),b._noMonitor&&(Clazz._LoaderProgressMonitor.showStatus=
  function(){}),LoadClazz=null,b.__Info.uncompressed&&Clazz.loadClass(),Clazz._Loader.onGlobalLoaded=function(){Clazz._LoaderProgressMonitor.showStatus("Application loaded.",!0);if(!a._debugCode||!a.haveCore)a.haveCore=!0,s()},Clazz._Loader.loadPackageClasspath("java",null,!0,s))},d=function(a,b){Clazz._Loader.loadClass(b,function(){s()})};a.showExecLog=function(){return l.join("\n")};a._addExec=function(a){a[1]||(a[1]=d);var b="JSmol load "+a[0]._id+" "+a[3];self.console&&console.log(b+"...");l.push(b);
  k.push(a)};a._addCoreFile=function(b,d,e){b=b.toLowerCase().split(".")[0];if(!(0<=h.join("").indexOf(b))){h.push(b);h.sort();a._coreFiles=[d+"/core/core"+h.join("")+".z.js"];if(e&&(e=e.split(" ")))for(b=0;b<e.length;b++)0>t.join("").indexOf(e[b])&&t.push(d+"/core/core"+e[b]+".z.js");for(b=0;b<t.length;b++)a._coreFiles.push(t[b])}};a._Canvas2D=function(b,d,e,h){this._uniqueId=(""+Math.random()).substring(3);this._id=b;this._is2D=!0;this._isJava=!1;this._jmolType="Jmol._Canvas2D ("+e+")";this._isLayered=
  d._isLayered||!1;this._isSwing=d._isSwing||!1;this._isJSV=d._isJSV||!1;this._isAstex=d._isAstex||!1;this._platform=d._platform||"";if(h)return this;window[b]=this;this._createCanvas(b,d);if(!a._document||this._deferApplet)return this;this._init();return this};a._setAppletParams=function(b,d,e,h){for(var l in e)if(!b||0<=b.indexOf(";"+l.toLowerCase()+";"))null==e[l]||"language"==l&&!a.featureDetection.supportsLocalization()||(h?d.put(l,!0===e[l]?Boolean.TRUE:!1===e[l]?Boolean.FALSE:e[l]):d[l]=e[l])};
  a._jsSetPrototype=function(c){c._init=function(){this._setupJS();this._showInfo(!0);this._disableInitialConsole&&this._showInfo(!1)};c._createCanvas=function(b,c,d){a._setObject(this,b,c);d&&(this._GLmol=d,this._GLmol.applet=this,this._GLmol.id=this._id);d=a._getWrapper(this,!0);this._deferApplet||(a._document?(a._documentWrite(d),this._newCanvas(!1),d=""):(this._deferApplet=!0,d+='<script type="text/javascript">'+b+"._cover(false)\x3c/script>"));d+=a._getWrapper(this,!1);c.addSelectionOptions&&(d+=
  a._getGrabberOptions(this));a._debugAlert&&!a._document&&alert(d);this._code=a._documentWrite(d)};c._newCanvas=function(a){this._is2D?this._createCanvas2d(a):this._GLmol.create()};c._getHtml5Canvas=function(){return this._canvas};c._getWidth=function(){return this._canvas.width};c._getHeight=function(){return this._canvas.height};c._getContentLayer=function(){return a.$(this,"contentLayer")[0]};c._repaintNow=function(){a._repaint(this,!1)};c._createCanvas2d=function(){var b=a.$(this,"appletdiv");
  try{b[0].removeChild(this._canvas),this._canvas.frontLayer&&b[0].removeChild(this._canvas.frontLayer),this._canvas.rearLayer&&b[0].removeChild(this._canvas.rearLayer),this._canvas.contentLayer&&b[0].removeChild(this._canvas.contentLayer),a._jsUnsetMouse(this._mouseInterface)}catch(c){}var d=Math.round(b.width()),e=Math.round(b.height()),h=document.createElement("canvas");h.applet=this;this._canvas=h;h.style.width="100%";h.style.height="100%";h.width=d;h.height=e;h.id=this._id+"_canvas2d";b.append(h);
  a._$(h.id).css({"z-index":a._getZ(this,"main")});if(this._isLayered){var l=document.createElement("div");h.contentLayer=l;l.id=this._id+"_contentLayer";b.append(l);a._$(l.id).css({zIndex:a._getZ(this,"image"),position:"absolute",left:"0px",top:"0px",width:(this._isSwing?d:0)+"px",height:(this._isSwing?e:0)+"px",overflow:"hidden"});this._isSwing?(b=document.createElement("div"),b.id=this._id+"_swingdiv",a._$(this._id+"_appletinfotablediv").append(b),a._$(b.id).css({zIndex:a._getZ(this,"rear"),position:"absolute",
  left:"0px",top:"0px",width:d+"px",height:e+"px",overflow:"hidden"}),this._mouseInterface=h.contentLayer,h.contentLayer.applet=this):this._mouseInterface=this._getLayer("front",b,d,e,!1)}else this._mouseInterface=h;a._jsSetMouse(this._mouseInterface)};c._getLayer=function(b,c,d,e,h){var l=document.createElement("canvas");this._canvas[b+"Layer"]=l;l.style.width="100%";l.style.height="100%";l.id=this._id+"_"+b+"Layer";l.width=d;l.height=e;c.append(l);l.applet=this;a._$(l.id).css({background:h?"rgb(0,0,0,1)":
  "rgb(0,0,0,0.001)","z-index":a._getZ(this,b),position:"absolute",left:"0px",top:"0px",overflow:"hidden"});return l};c._setupJS=function(){window["j2s.lib"]={base:this._j2sPath+"/",alias:".",console:this._console,monitorZIndex:a._getZ(this,"monitorZIndex")};0==k.length&&a._addExec([this,b,null,"loadClazz"]);this._addCoreFiles();a._addExec([this,this.__startAppletJS,null,"start applet"]);this._isSigned=!0;this._ready=!1;this._applet=null;this._canScript=function(){return!0};this._savedOrientations=
  [];e&&clearTimeout(e);e=setTimeout(s,100)};c.__startAppletJS=function(b){0==a._version.indexOf("$Date: ")&&(a._version=(a._version.substring(7)+" -").split(" -")[0]+" (JSmol/j2s)");var c=Clazz._4Name("java.util.Hashtable").newInstance();a._setAppletParams(b._availableParams,c,b.__Info,!0);c.put("appletReadyCallback","Jmol._readyCallback");c.put("applet",!0);c.put("name",b._id);c.put("syncId",a._syncId);a._isAsync&&c.put("async",!0);b._color&&c.put("bgcolor",b._color);b._startupScript&&c.put("script",
  b._startupScript);a._syncedApplets.length&&c.put("synccallback","Jmol._mySyncCallback");c.put("signedApplet","true");c.put("platform",b._platform);b._is2D&&c.put("display",b._id+"_canvas2d");c.put("documentBase",document.location.href);var d=b._j2sPath+"/";if(0>d.indexOf("://")){var e=document.location.href.split("#")[0].split("?")[0].split("/");0==d.indexOf("/")?e=[e[0],d.substring(1)]:e[e.length-1]=d;d=e.join("/")}c.put("codePath",d);a._registerApplet(b._id,b);try{b._newApplet(c)}catch(h){System.out.println((a._isAsync?
  "normal async abort from ":"")+h);return}b._jsSetScreenDimensions();s()};c._restoreState||(c._restoreState=function(){});c._jsSetScreenDimensions=function(){if(this._appletPanel){var b=a._getElement(this,this._is2D?"canvas2d":"canvas");this._appletPanel.setScreenDimension(b.width,b.height)}};c._show=function(b){a.$setVisible(a.$(this,"appletdiv"),b);b&&a._repaint(this,!0)};c._canScript=function(){return!0};c.equals=function(a){return this==a};c.clone=function(){return this};c.hashCode=function(){return parseInt(this._uniqueId)};
  c._processGesture=function(a){return this._appletPanel.processTwoPointGesture(a)};c._processEvent=function(a,b){this._appletPanel.processMouseEvent(a,b[0],b[1],b[2],System.currentTimeMillis())};c._resize=function(){var b="__resizeTimeout_"+this._id;a[b]&&clearTimeout(a[b]);var c=this;a[b]=setTimeout(function(){a._repaint(c,!0);a[b]=null},100)};return c};a._repaint=function(b,d){if(b&&b._appletPanel){var e=a.$(b,"appletdiv"),h=Math.round(e.width()),e=Math.round(e.height());if(b._is2D&&(b._canvas.width!=
  h||b._canvas.height!=e))b._newCanvas(!0),b._appletPanel.setDisplay(b._canvas);b._appletPanel.setScreenDimension(h,e);h=function(){b._appletPanel.paint?b._appletPanel.paint(null):b._appletPanel.update(null)};d?setTimeout(h):h()}};a._loadImage=function(b,d,e,h,l,k){var t="echo_"+d+e+(h?"_"+h.length:""),p=a._getHiddenCanvas(b.vwr.html5Applet,t,0,0,!1,!0);if(null==p){if(null==k){k=new Image;if(null==h)return k.onload=function(){a._loadImage(b,d,e,null,l,k)},k.src=e,null;System.out.println("Jsmol.js Jmol._loadImage using data URI for "+
  t);k.src="string"==typeof h?h:"data:"+JU.Rdr.guessMimeTypeForBytes(h)+";base64,"+JU.Base64.getBase64(h)}var s=k.width,D=k.height;"webgl"==d&&(s/=2,D/=2);p=a._getHiddenCanvas(b.vwr.html5Applet,t,s,D,!0,!1);p.imageWidth=s;p.imageHeight=D;p.id=t;p.image=k;a._setCanvasImage(p,s,D)}else System.out.println("Jsmol.js Jmol._loadImage reading cached image for "+t);return null==h?l(p,e):p};a._canvasCache={};a._getHiddenCanvas=function(b,d,e,h,l,k){d=b._id+"_"+d;b=a._canvasCache[d];if(k)return b;if(l||!b||b.width!=
  e||b.height!=h)b=document.createElement("canvas"),b.width=b.style.width=e,b.height=b.style.height=h,b.id=d,a._canvasCache[d]=b;return b};a._setCanvasImage=function(a,b,d){a.buf32=null;a.width=b;a.height=d;a.getContext("2d").drawImage(a.image,0,0,a.image.width,a.image.height,0,0,b,d)};a._apply=function(a,b){return a(b)}})(Jmol);
  (function(a,p){a._Applet=function(e,h,l){window[e]=this;this._jmolType="Jmol._Applet"+(h.isSigned?" (signed)":"");this._viewType="Jmol";this._isJava=!0;this._syncKeyword="Select:";this._availableParams=";progressbar;progresscolor;boxbgcolor;boxfgcolor;allowjavascript;boxmessage;\t\t\t\t\t\t\t\t\t;messagecallback;pickcallback;animframecallback;appletreadycallback;atommovedcallback;\t\t\t\t\t\t\t\t\t;echocallback;evalcallback;hovercallback;language;loadstructcallback;measurecallback;\t\t\t\t\t\t\t\t\t;minimizationcallback;resizecallback;scriptcallback;statusform;statustext;statustextarea;\t\t\t\t\t\t\t\t\t;synccallback;usecommandthread;syncid;appletid;startupscript;menufile;";
  if(l)return this;this._isSigned=h.isSigned;this._readyFunction=h.readyFunction;this._ready=!1;this._isJava=!0;this._isInfoVisible=!1;this._applet=null;this._memoryLimit=h.memoryLimit||512;this._canScript=function(){return!0};this._savedOrientations=[];this._initialize=function(e,b){var d=!1;a._jarFile&&(b=a._jarFile);if(this._jarFile){var c=this._jarFile;0<=c.indexOf("/")?(alert("This web page URL is requesting that the applet used be "+c+". This is a possible security risk, particularly if the applet is signed, because signed applets can read and write files on your local machine or network."),
  "yes"==prompt("Do you want to use applet "+c+"? ","yes or no")?(e=c.substring(0,c.lastIndexOf("/")),b=c.substring(c.lastIndexOf("/")+1)):d=!0):b=c;this_isSigned=h.isSigned=0<=b.indexOf("Signed")}this._jarPath=h.jarPath=e||".";this._jarFile=h.jarFile="string"==typeof b?b:(b?"JmolAppletSigned":"JmolApplet")+"0.jar";d&&alert("The web page URL was ignored. Continuing using "+this._jarFile+' in directory "'+this._jarPath+'"');void 0==a.controls||a.controls._onloadResetForms()};this._create(e,h);return this};
  var l=a._Applet,k=a._Applet.prototype;l._get=function(e,h,k){k||(k=!1);h||(h={});a._addDefaultInfo(h,{color:"#FFFFFF",width:300,height:300,addSelectionOptions:!1,serverURL:"http://your.server.here/jsmol.php",defaultModel:"",script:null,src:null,readyFunction:null,use:"HTML5",jarPath:"java",jarFile:"JmolApplet0.jar",isSigned:!1,j2sPath:"j2s",coverImage:null,coverTitle:"",coverCommand:"",deferApplet:!1,deferUncover:!1,disableJ2SLoadMonitor:!1,disableInitialConsole:!1,debug:!1});a._debugAlert=h.debug;
  h.serverURL&&(a._serverUrl=h.serverURL);for(var p=!1,b=null,d=h.use.toUpperCase().split("#")[0].split(" "),c=0;c<d.length;c++){switch(d[c]){case "JAVA":p=!0;a.featureDetection.supportsJava()&&(b=new l(e,h,k));break;case "WEBGL":b=l._getCanvas(e,h,k,!0);break;case "HTML5":a.featureDetection.allowHTML5?b=l._getCanvas(e,h,k,!1):d.push("JAVA");break;case "IMAGE":b=new a._Image(e,h,k)}if(null!=b)break}null==b&&(k||!p?b={_jmolType:"none"}:p&&(b=new l(e,h)));return k?b:a._registerApplet(e,b)};l._getCanvas=
  function(e,h,k,p){h._isLayered=!1;h._platform="J.awtjs2d.Platform";return p&&a.featureDetection.supportsWebGL()?(a._Canvas3D.prototype=a.GLmol.extendApplet(a._jsSetPrototype(new l(e,h,!0))),new a._Canvas3D(e,h,"Jmol",k)):!p?(a._Canvas2D.prototype=a._jsSetPrototype(new l(e,h,!0)),new a._Canvas2D(e,h,"Jmol",k)):null};l._noJavaMsg="Either you do not have Java applets enabled in your web<br />browser or your browser is blocking this applet.<br />\t\t\tCheck the warning message from your browser and/or enable Java applets in<br />\t\t\tyour web browser preferences, or install the Java Runtime Environment from <a href='http://www.java.com'>www.java.com</a>";
  l._setCommonMethods=function(a){a._showInfo=k._showInfo;a._search=k._search;a._getName=k._getName;a._readyCallback=k._readyCallback};l._createApplet=function(e,h,k){e._initialize(h.jarPath,h.jarFile);var s=e._jarFile;a._isFile&&(s=s.replace(/0\.jar/,".jar"));var b=0<=e._containerWidth.indexOf("px")?e._containerWidth:"100%",d=0<=e._containerHeight.indexOf("px")?e._containerHeight:"100%",b=' style="width:'+b+";height:"+d+'" ',d="name='"+e._id+"_object' id='"+e._id+"_object' \n"+b+"\n";k.codebase=e._jarPath;
  k.codePath=k.codebase+"/";if(0>k.codePath.indexOf("://")){var c=p.location.href.split("#")[0].split("?")[0].split("/");c[c.length-1]=k.codePath;k.codePath=c.join("/")}k.archive=s;k.mayscript="true";k.java_arguments="-Xmx"+Math.round(h.memoryLimit||e._memoryLimit)+"m";k.permissions=e._isSigned?"all-permissions":"sandbox";k.documentLocation=p.location.href;k.documentBase=p.location.href.split("#")[0].split("?")[0];k.jarPath=h.jarPath;a._syncedApplets.length&&(k.synccallback="Jmol._mySyncCallback");
  e._startupScript&&(k.script=e._startupScript);var c="\n",r;for(r in k)k[r]&&(c+="  <param name='"+r+"' value='"+k[r]+"' />\n");c=a.featureDetection.useIEObject||a.featureDetection.useHtml4Object?"<object "+d+(a.featureDetection.useIEObject?" classid='clsid:8AD9C840-044E-11D1-B3E9-00805F499D93' codebase='http://java.sun.com/update/1.6.0/jinstall-6u22-windows-i586.cab'>":" type='application/x-java-applet'>")+c+"<p style='background-color:yellow;"+b.split('"')[1]+";text-align:center;vertical-align:middle;'>\n"+
  l._noJavaMsg+"</p></object>\n":"<applet "+d+" code='"+k.code+"' codebase='"+e._jarPath+"' archive='"+s+"' mayscript='true'>\n"+c+"<table bgcolor='yellow'><tr><td align='center' valign='middle' "+b+">\n"+l._noJavaMsg+"</td></tr></table></applet>\n";e._deferApplet&&(e._javaCode=c,c="");c=a._getWrapper(e,!0)+c+a._getWrapper(e,!1)+(h.addSelectionOptions?a._getGrabberOptions(e):"");a._debugAlert&&alert(c);e._code=a._documentWrite(c)};k._newApplet=function(a){this._is2D||a.put("script",(a.get("script")||
  "")+";set multipleBondSpacing 0.35;");this._viewerOptions=a;return new J.appletjs.Jmol(a)};k._addCoreFiles=function(){a._addCoreFile("jmol",this._j2sPath,this.__Info.preloadCore);this._is2D||a._addExec([this,null,"J.export.JSExporter","load JSExporter"]);a._debugCode&&a._addExec([this,null,"J.appletjs.Jmol","load Jmol"])};k._create=function(e,h){a._setObject(this,e,h);var k={syncId:a._syncId,progressbar:"true",progresscolor:"blue",boxbgcolor:this._color||"black",boxfgcolor:"white",boxmessage:"Downloading JmolApplet ...",
  script:this._color?'background "'+this._color+'"':"",code:"JmolApplet.class"};a._setAppletParams(this._availableParams,k,h);var p;h.inlineModel?(p=h.inlineModel,p=p.replace(/\r|\n|\r\n/g,0<=p.indexOf("|")?"\\/n":"|").replace(/'/g,"&#39;"),a._debugAlert&&alert("inline model:\n"+p)):p="";k.loadInline=p;k.appletReadyCallback="Jmol._readyCallback";a._syncedApplets.length&&(k.synccallback="Jmol._mySyncCallback");k.java_arguments="-Xmx"+Math.round(h.memoryLimit||this._memoryLimit)+"m";this._initialize(h.jarPath,
  h.jarFile);l._createApplet(this,h,k)};k._restoreState=function(e,h){System.out.println("\n\nasynchronous restore state for "+e+" "+h);var l=this,k=l._applet&&l._applet.viewer;switch(h){case "setOptions":return function(){l.__startAppletJS(l)};case "render":return function(){setTimeout(function(){k.refresh(2)},10)};default:switch(e){case "J.shape.Balls":case "J.shape.Sticks":case "J.shape.Frank":return null}if(k&&k.isScriptExecuting&&k.isScriptExecuting()){if(a._asyncCallbacks[e])return System.out.println("...ignored"),
  1;var b=k.getEvalContextAndHoldQueue(k.eval),d=b.pc-1;b.asyncID=e;a._asyncCallbacks[e]=function(a){b.pc=a;System.out.println("sc.asyncID="+b.asyncID+" sc.pc = "+b.pc);k.eval.resumeEval(b)};k.eval.pc=k.eval.pcEnd;System.out.println("setting resume for pc="+b.pc+" "+e+" to "+a._asyncCallbacks[e]+"//");return function(){System.out.println("resuming "+e+" "+a._asyncCallbacks[e]);a._asyncCallbacks[e](d)}}System.out.println(e+"?????????????????????"+h);return function(){setTimeout(function(){k.refresh(2)},
  10)}}};k._readyCallback=function(e,h,l){l&&(a._setDestroy(this),this._ready=!0,e=this._readyScript,this._defaultModel?a._search(this,this._defaultModel,e?";"+e:""):e?this._script(e):this._src&&this._script('load "'+this._src+'"'),this._showInfo(!0),this._showInfo(!1),a.Cache.setDragDrop(this),this._readyFunction&&this._readyFunction(this),a._setReady(this),(e=this._2dapplet)&&(e._isEmbedded&&e._ready&&e.__Info.visible)&&this._show2d(!0))};k._showInfo=function(e){e&&this._2dapplet&&this._2dapplet._show(!1);
  a.$html(a.$(this,"infoheaderspan"),this._infoHeader);this._info&&a.$html(a.$(this,"infodiv"),this._info);if(!this._isInfoVisible!=!e){this._isInfoVisible=e;if(this._isJava){var h=e?2:"100%";a.$setSize(a.$(this,"appletdiv"),h,h)}a.$setVisible(a.$(this,"infotablediv"),e);a.$setVisible(a.$(this,"infoheaderdiv"),e);this._show(!e)}};k._show2d=function(a){this._2dapplet._show2d(a);this._2dapplet._isEmbedded&&(this._showInfo(!1),this._show(!a),this._2dapplet.__showContainer(!0,!0))};k._getAtomCorrelation=
  function(a){this._loadMolData(a,"atommap = compare({1.1} {2.1} 'MAP' 'H'); zap 2.1",!0);a=this._evaluate("atommap");for(var h=this._evaluate("{*}.count"),l=[],k=[],b=0;b<a.length;b++){var d=a[b];l[d[0]+1]=d[1]-h+1;k[d[1]-h+1]=d[0]+1}return{fromJmol:l,toJmol:k}};k._show=function(e){var h=!e?2:"100%";a.$setSize(a.$(this,"object"),h,h);this._isJava||a.$setVisible(a.$(this,"appletdiv"),e)};k._clearConsole=function(){this._console==this._id+"_infodiv"&&(this.info="");self.Clazz&&(a._setConsoleDiv(this._console),
  Clazz.Console.clear())};k._addScript=function(a){this._readyScript||(this.readyScript="");this._readyScript&&(this._readyScript+=";");this._readyScript+=a;return!0};k._script=function(e){if(!this._ready)return this._addScript(e);a._setConsoleDiv(this._console);this._applet.script(e)};k._syncScript=function(a){this._applet.syncScript(a)};k._scriptCheck=function(a){return this._ready&&this._applet.scriptCheck(a)};k._scriptWait=function(a,h){var l=this._scriptWaitAsArray(a),k="";if(!h)for(var b=l.length;0<=
  --b;)for(var d=0,c=l[b].length;d<c;d++)k+=l[b][d]+"\n";return k};k._scriptEcho=function(a){a=this._scriptWaitAsArray(a);for(var h="",l=a.length;0<=--l;)for(var k=a[l].length;0<=--k;)"scriptEcho"==a[l][k][1]&&(h+=a[l][k][3]+"\n");return h.replace(/ \| /g,"\n")};k._scriptMessage=function(a){a=this._scriptWaitAsArray(a);for(var h="",l=a.length;0<=--l;)for(var k=a[l].length;0<=--k;)"scriptStatus"==a[l][k][1]&&(h+=a[l][k][3]+"\n");return h.replace(/ \| /g,"\n")};k._scriptWaitOutput=function(a){var h="";
  try{a&&(h+=this._applet.scriptWaitOutput(a))}catch(l){}return h};k._scriptWaitAsArray=function(e){var h="";try{if(this._getStatus("scriptEcho,scriptMessage,scriptStatus,scriptError"),e&&(h+=this._applet.scriptWait(e),h=a._evalJSON(h,"jmolStatus"),"object"==typeof h))return h}catch(l){}return[[h]]};k._getStatus=function(e){return a._sortMessages(this._getPropertyAsArray("jmolStatus",e))};k._getPropertyAsArray=function(e,h){return a._evalJSON(this._getPropertyAsJSON(e,h),e)};k._getPropertyAsString=
  function(a,h){void 0==h&&(h="");return this._applet.getPropertyAsString(a,h)+""};k._getPropertyAsJSON=function(a,h){void 0==h&&(h="");try{return this._applet.getPropertyAsJSON(a,h)+""}catch(l){return""}};k._getPropertyAsJavaObject=function(a,h){void 0==h&&(h="");return this._applet.getProperty(a,h)};k._evaluate=function(a){null!=a||(a="");return this._getPropertyAsArray("variableInfo",a)};k._evaluateDEPRECATED=function(a){a=""+this._getPropertyAsJavaObject("evaluate",a);var h=a.replace(/\-*\d+/,"");
  if(""==h&&!isNaN(parseInt(a)))return parseInt(a);h=a.replace(/\-*\d*\.\d*/,"");return""==h&&!isNaN(parseFloat(a))?parseFloat(a):a};k._saveOrientation=function(a){return this._savedOrientations[a]=this._getPropertyAsArray("orientationInfo","info").moveTo};k._restoreOrientation=function(a){a=this._savedOrientations[a];return!a||""==a?a.replace(/1\.0/,"0"):this._scriptWait(a)};k._restoreOrientationDelayed=function(a,h){1>arguments.length&&(h=1);var l=this._savedOrientations[a];return!l||""==l?l.replace(/1\.0/,
  h):this._scriptWait(l)};k._resizeApplet=function(e){function h(e,b){var d=""+e;return 0==d.length?b?"":a._allowedJmolSize[2]:d.indexOf("%")==d.length-1?d:1>=(e=parseFloat(e))&&0<e?100*e+"%":(isNaN(e=Math.floor(e))?a._allowedJmolSize[2]:e<a._allowedJmolSize[0]?a._allowedJmolSize[0]:e>a._allowedJmolSize[1]?a._allowedJmolSize[1]:e)+(b?b:"")}var l;"object"==typeof e&&null!=e?(l=e[0]||e.width,e=e[1]||e.height):l=e;l=[h(l,"px"),h(e,"px")];e=a._getElement(this,"appletinfotablediv");e.style.width=l[0];e.style.height=
  l[1];this._containerWidth=l[0];this._containerHeight=l[1];this._is2D&&a._repaint(this,!0)};k._search=function(e,h){a._search(this,e,h)};k._searchDatabase=function(e,h,l){if(this._2dapplet&&this._2dapplet._isEmbedded&&!a.$(this,"appletdiv:visible")[0])return this._2dapplet._searchDatabase(e,h,l);this._showInfo(!1);0<=e.indexOf("?")?a._getInfoFromDatabase(this,h,e.split("?")[0]):(l||(l=a._getScriptForDatabase(h)),e=h+e,this._currentView=null,this._searchQuery=e,this._loadFile(e,l,e))};k._loadFile=function(e,
  h,l){this._showInfo(!1);h||(h="");this._thisJmolModel=""+Math.random();this._fileName=e;if(!this._scriptLoad(e,h)){var k=this;a._loadFileData(this,e,function(a){k.__loadModel(a,h,l)},function(){k.__loadModel(null)})}};k._scriptLoad=function(a,h){h||(h="");var l=this._isJava||!this._noscript;l&&this._script("zap;set echo middle center;echo Retrieving data...");if(!this._isSigned||null!=this._viewSet)return!1;l?this._script('load async "'+a+'";'+h):this._applet.openFile(a);this._checkDeferred("");return!0};
  k.__loadModel=function(e,h,l){null!=e&&(null!=this._viewSet&&(h||(h=""),h+=";if ({*}.molecule.max > 1 || {*}.modelindex.max > 0){ delete molecule > 1 or modelindex > 0;x = getProperty('extractModel',{*});load inline @x};"),!h&&this._noscript?this._applet.loadInlineString(e,"",!1):this._loadMolData(e,h,!1),null!=this._viewSet&&a.View.updateView(this,{chemID:l,data:e}))};k._loadMolData=function(a,h,l){h||(h="");l=l?"append":"model";this._applet.scriptWait('load DATA "'+l+'"'+a+'\nEND "'+l+'" ;'+h)};
  k._loadModelFromView=function(e){this._currentView=e;var h=e.Jmol;null!=h.data?this.__loadModel(h.data,null,e.info.chemID):null!=e.info.chemID?a._searchMol(this,e.info.chemID,null,!1):(h=e.JME)&&h.applet._show2d(!1,this)};k._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}")}))};k._atomPickedCallback=function(e,h){if(!(0>h)){var l=[h+1];a.View.updateAtomPick(this,l);this._updateAtomPick(l)}};k._updateAtomPick=function(a){this._script(0==a.length?"select none":"select on visible and (@"+a.join(",@")+")")};k._isDeferred=function(){return!this._canvas&&this._cover&&this._isCovered&&this._deferApplet};k._checkDeferred=function(a){return this._isDeferred()?(this._coverScript=a,this._cover(!1),!0):!1};k._cover=function(e){e||!this._deferApplet?this._displayCoverImage(e):
  (e=this._coverScript?this._coverScript:"",this._coverScript="",this._deferUncover&&(e+=";refresh;javascript "+this._id+"._displayCoverImage(false)"),this._script(e,!0),this._deferUncover&&"activate 3D model"==this._coverTitle&&(a._getElement(this,"coverimage").title="3D model is loading..."),this._isJava||this._newCanvas(!1),this._defaultModel&&a._search(this,this._defaultModel),this._showInfo(!1),this._deferUncover||this._displayCoverImage(!1),this._isJava&&a.$html(a.$(this,"appletdiv"),this._javaCode),
  this._init&&this._init())};k._displayCoverImage=function(e){this._coverImage&&this._isCovered!=e&&(this._isCovered=e,a._getElement(this,"coverdiv").style.display=e?"block":"none")};k._getSmiles=function(){return this._evaluate("{visible}.find('SMILES')")};k._getMol=function(){return this._evaluate("getProperty('ExtractModel',{visible})")};k._getMol2D=function(){return jmol._evaluate("script('select visible;show chemical sdf')")};a.jmolSmiles=function(a){return a._getSmiles()}})(Jmol,document);
  (function(a){var p=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:""};
  p._addScript=function(a,k){var e=p._scripts.length;p._scripts[e]=[a,k];return e};p._getIdForControl=function(a,k){return"string"==typeof a?a:!k||!a._canScript||a._canScript(k)?a._id:null};p._radio=function(a,k,e,h,t,s,b,d){var c=p._getIdForControl(a,k);if(null==c)return null;++p._radioCount;void 0!=s&&null!=s||(s="jmolRadioGroup"+(p._radioGroupCount-1));if(!k)return"";void 0!=b&&null!=b||(b="jmolRadio"+(p._radioCount-1));void 0!=e&&null!=e||(e=k.substring(0,32));t||(t="");a="</span>";p._actions[b]=
  p._addScript(c,k);k='<span id="span_'+b+'"'+(d?' title="'+d+'"':"")+"><input name='"+s+"' id='"+b+"' type='radio' onclick='Jmol.controls._click(this);return true;' onmouseover='Jmol.controls._mouseOver(this);return true;' onmouseout='Jmol.controls._mouseOut()' "+(h?"checked='true' ":"")+p._radioCssText+" />";0<=e.toLowerCase().indexOf("<td>")&&(k+=a,a="");return k+('<label for="'+b+'">'+e+"</label>"+a+t)};p._scriptExecute=function(l,k){var e=a._applets[k[0]],h=k[1];if("object"==typeof h)h[0](l,h,
  e);else"function"==typeof h?h(e):a.script(e,h)};p.__checkScript=function(a,k){var e=0<=k.value.indexOf("JSCONSOLE ")||""===a._scriptCheck(k.value);k.style.color=e?"black":"red";return e};p.__getCmd=function(a,k){if(k._cmds&&k._cmds.length){var e=k._cmds[k._cmdpt=(k._cmdpt+k._cmds.length+a)%k._cmds.length];setTimeout(function(){k.value=e},10);k._cmdadd=1;k._cmddir=a}};p._commandKeyPress=function(l,k,e){l=13==l?13:window.event?window.event.keyCode:l?l.keyCode||l.which:0;var h=document.getElementById(k),
  t=a._applets[e];switch(l){case 13:return k=h.value,p._scriptExecute(h,[e,k]),h._cmds||(h._cmds=[],h._cmddir=0,h._cmdpt=-1,h._cmdadd=0),k&&0==h._cmdadd?(++h._cmdpt,h._cmds.splice(h._cmdpt,0,k),h._cmdadd=0,h._cmddir=0):h._cmdadd=0,h.value="",!1;case 27:return setTimeout(function(){h.value=""},20),!1;case 38:p.__getCmd(-1,h);break;case 40:p.__getCmd(1,h);break;default:h._cmdadd=0}setTimeout(function(){p.__checkScript(t,h)},20);return!0};p._click=function(a,k){p._element=a;1==arguments.length&&(k=p._actions[a.id]);
  p._scriptExecute(a,p._scripts[k])};p._menuSelected=function(a){var k=a.value;if(void 0!=k)p._scriptExecute(a,p._scripts[k]);else{k=a.length;if("number"==typeof k)for(var e=0;e<k;++e)if(a[e].selected){p._click(a[e],a[e].value);return}alert("?Que? menu selected bug #8734")}};p._cbNotifyMaster=function(a){var k=!0,e=!0,h=!1,t,s;for(s in a.chkGroup)t=a.chkGroup[s],t.checked?e=!1:k=!1,t.indeterminate&&(h=!0);t=a.chkMaster;k?t.checked=!0:e?t.checked=!1:h=!0;t.indeterminate=h;(a=p._checkboxItems[t.id])&&
  (t=a.chkMaster)&&p._cbNotifyMaster(p._checkboxMasters[t.id])};p._cbNotifyGroup=function(a,k){for(var e in a.chkGroup){var h=a.chkGroup[e];h.checked!=k&&(h.checked=k,p._cbClick(h));p._checkboxMasters[h.id]&&p._cbNotifyGroup(p._checkboxMasters[h.id],k)}};p._cbSetCheckboxGroup=function(a,k,e){var h=a;"number"==typeof h&&(h="jmolCheckbox"+h);(a=document.getElementById(h))||alert("jmolSetCheckboxGroup: master checkbox not found: "+h);var t=p._checkboxMasters[h]={};t.chkMaster=a;t.chkGroup={};"string"==
  typeof k?(k=e,h=1):h=0;for(a=h;a<k.length;a++)h=k[a],"number"==typeof h&&(h="jmolCheckbox"+h),(e=document.getElementById(h))||alert("jmolSetCheckboxGroup: group checkbox not found: "+h),t.chkGroup[h]=e,p._checkboxItems[h]=t};p._cbClick=function(a){p._control=a;var k=p._actions[a.id][0],e=p._actions[a.id][1];p._click(a,a.checked?k:e);p._checkboxMasters[a.id]&&p._cbNotifyGroup(p._checkboxMasters[a.id],a.checked);p._checkboxItems[a.id]&&p._cbNotifyMaster(p._checkboxItems[a.id])};p._cbOver=function(a){var k=
  p._actions[a.id][0],e=p._actions[a.id][1];window.status=p._scripts[a.checked?e:k]};p._mouseOver=function(a,k){1==arguments.length&&(k=p._actions[a.id]);window.status=p._scripts[k]};p._mouseOut=function(){window.status=" ";return!0};p._onloadResetForms=function(){p._hasResetForms||(p._hasResetForms=!0,p._previousOnloadHandler=window.onload,window.onload=function(){if(0<p._buttonCount+p._checkboxCount+p._menuCount+p._radioCount+p._radioGroupCount)for(var a=document.forms,k=a.length;0<=--k;)a[k].reset();
  p._previousOnloadHandler&&p._previousOnloadHandler()})};p._getButton=function(l,k,e,h,t){l=p._getIdForControl(l,k);if(null==l)return"";void 0!=h&&null!=h||(h="jmolButton"+p._buttonCount);void 0!=e&&null!=e||(e=k.substring(0,32));++p._buttonCount;p._actions[h]=p._addScript(l,k);k='<span id="span_'+h+'"'+(t?' title="'+t+'"':"")+"><input type='button' name='"+h+"' id='"+h+"' value='"+e+"' onclick='Jmol.controls._click(this)' onmouseover='Jmol.controls._mouseOver(this);return true' onmouseout='Jmol.controls._mouseOut()' "+
  p._buttonCssText+" /></span>";a._debugAlert&&alert(k);return a._documentWrite(k)};p._getCheckbox=function(l,k,e,h,t,s,b){var d=p._getIdForControl(l,k);null!=d&&(d=p._getIdForControl(l,e));if(null==d)return"";void 0!=s&&null!=s||(s="jmolCheckbox"+p._checkboxCount);++p._checkboxCount;if(void 0==k||null==k||void 0==e||null==e)alert("jmolCheckbox requires two scripts");else if(void 0==h||null==h)alert("jmolCheckbox requires a label");else return p._actions[s]=[p._addScript(d,k),p._addScript(d,e)],l="</span>",
  t='<span id="span_'+s+'"'+(b?' title="'+b+'"':"")+"><input type='checkbox' name='"+s+"' id='"+s+"' onclick='Jmol.controls._cbClick(this)' onmouseover='Jmol.controls._cbOver(this);return true' onmouseout='Jmol.controls._mouseOut()' "+(t?"checked='true' ":"")+p._checkboxCssText+" />",0<=h.toLowerCase().indexOf("<td>")&&(t+=l,l=""),t+='<label for="'+s+'">'+h+"</label>"+l,a._debugAlert&&alert(t),a._documentWrite(t)};p._getCommandInput=function(l,k,e,h,t,s){l=p._getIdForControl(l,"x");if(null==l)return"";
  void 0!=h&&null!=h||(h="jmolCmd"+p._cmdCount);void 0!=k&&null!=k||(k="Execute");void 0!=e&&!isNaN(e)||(e=60);void 0!=s||(s="help");++p._cmdCount;k='<span id="span_'+h+'"'+(t?' title="'+t+'"':"")+"><input name='"+h+"' id='"+h+"' size='"+e+"' onkeydown='return Jmol.controls._commandKeyPress(event,\""+h+'","'+l+"\")' value='"+s+"'/><input  type='button' name='"+h+"Btn' id='"+h+"Btn' value = '"+k+"' onclick='Jmol.controls._commandKeyPress(13,\""+h+'","'+l+"\")' /></span>";a._debugAlert&&alert(k);return a._documentWrite(k)};
  p._getLink=function(l,k,e,h,t){l=p._getIdForControl(l,k);if(null==l)return"";void 0!=h&&null!=h||(h="jmolLink"+p._linkCount);void 0!=e&&null!=e||(e=k.substring(0,32));++p._linkCount;k=p._addScript(l,k);e='<span id="span_'+h+'"'+(t?' title="'+t+'"':"")+"><a name='"+h+"' id='"+h+"' href='javascript:Jmol.controls._click(null,"+k+");' onmouseover='Jmol.controls._mouseOver(null,"+k+");return true;' onmouseout='Jmol.controls._mouseOut()' "+p._linkCssText+">"+e+"</a></span>";a._debugAlert&&alert(e);return a._documentWrite(e)};
  p._getMenu=function(l,k,e,h,t){var s=p._getIdForControl(l,null);void 0!=h&&null!=h||(h="jmolMenu"+p._menuCount);++p._menuCount;s=typeof k;if(null!=s&&"object"==s&&k.length){var b=k.length;"number"!=typeof e||1==e?e=null:0>e&&(e=b);e='<span id="span_'+h+'"'+(t?' title="'+t+'"':"")+"><select name='"+h+"' id='"+h+"' onChange='Jmol.controls._menuSelected(this)'"+(e?" size='"+e+"' ":"")+p._menuCssText+">";for(h=0;h<b;++h){var d=k[h],s=typeof d,c=null,r=t=null;"object"==s&&null!=d?(c=d[0],t=d[1],r=d[2]):
  c=t=d;s=p._getIdForControl(l,c);if(null==s)return"";null==t&&(t=c);"#optgroup"==c?e+="<optgroup label='"+t+"'>":"#optgroupEnd"==c?e+="</optgroup>":(s=p._addScript(s,c),e+="<option value='"+s+(r?"' selected='true'>":"'>")+t+"</option>")}e+="</select></span>";a._debugAlert&&alert(e);return a._documentWrite(e)}};p._getRadio=function(l,k,e,h,t,s,b,d){0==p._radioGroupCount&&++p._radioGroupCount;s||(s="jmolRadioGroup"+(p._radioGroupCount-1));l=p._radio(l,k,e,h,t,s,b?b:s+"_"+p._radioCount,d?d:0);if(null==
  l)return"";a._debugAlert&&alert(l);return a._documentWrite(l)};p._getRadioGroup=function(l,k,e,h,t,s){var b=typeof k;if("object"!=b||null==b||!k.length)alert("invalid arrayOfRadioButtons");else{void 0!=e&&null!=e||(e="&#xa0; ");var d=k.length;++p._radioGroupCount;h||(h="jmolRadioGroup"+(p._radioGroupCount-1));for(var c="<span id='"+(t?t:h)+"'>",r=0;r<d;++r){r==d-1&&(e="");var E=k[r],b=typeof E,B=null,c="object"==b?c+(B=p._radio(l,E[0],E[1],E[2],e,h,3<E.length?E[3]:(t?t:h)+"_"+r,4<E.length?E[4]:0,
  s)):c+(B=p._radio(l,E,null,null,e,h,(t?t:h)+"_"+r,s));if(null==B)return""}c+="</span>";a._debugAlert&&alert(c);return a._documentWrite(c)}}})(Jmol);
  (function(a){var p=function(a){a="&"+a+"=";return decodeURI(("&"+document.location.search.substring(1)+a).split(a)[1].split("&")[0])};a._j2sPath=p("_J2S");a._jarFile=p("_JAR");a._use=p("_USE");a.getVersion=function(){return a._jmolInfo.version};a.getApplet=function(l,k,e){return a._Applet._get(l,k,e)};a.getJMEApplet=function(l,k,e,h){return a._JMEApplet._get(l,k,e,h)};a.getJSVApplet=function(l,k,e){return a._JSVApplet._get(l,k,e)};a.loadFile=function(a,k,e){a._loadFile(k,e)};a.script=function(a,k){a._checkDeferred(k)||
  a._script(k)};a.scriptCheck=function(a,k){return a&&a._scriptCheck&&a._ready&&a._scriptCheck(k)};a.scriptWait=function(a,k){return a._scriptWait(k)};a.scriptEcho=function(a,k){return a._scriptEcho(k)};a.scriptMessage=function(a,k){return a._scriptMessage(k)};a.scriptWaitOutput=function(a,k){return a._scriptWait(k)};a.scriptWaitAsArray=function(a,k){return a._scriptWaitAsArray(k)};a.search=function(a,k,e){a._search(k,e)};a.evaluateVar=function(a,k){return a._evaluate(k)};a.evaluate=function(a,k){return a._evaluateDEPRECATED(k)};
  a.getAppletHtml=function(l,k){if(k){var e=a._document;a._document=null;l=a.getApplet(l,k);a._document=e}return l._code};a.getPropertyAsArray=function(a,k,e){return a._getPropertyAsArray(k,e)};a.getPropertyAsJavaObject=function(a,k,e){return a._getPropertyAsJavaObject(k,e)};a.getPropertyAsJSON=function(a,k,e){return a._getPropertyAsJSON(k,e)};a.getPropertyAsString=function(a,k,e){return a._getPropertyAsString(k,e)};a.getStatus=function(a,k){return a._getStatus(k)};a.resizeApplet=function(a,k){return a._resizeApplet(k)};
  a.restoreOrientation=function(a,k){return a._restoreOrientation(k)};a.restoreOrientationDelayed=function(a,k,e){return a._restoreOrientationDelayed(k,e)};a.saveOrientation=function(a,k){return a._saveOrientation(k)};a.say=function(a){alert(a)};a.clearConsole=function(a){a._clearConsole()};a.getInfo=function(a){return a._info};a.setInfo=function(a,k,e){a._info=k;2<arguments.length&&a._showInfo(e)};a.showInfo=function(a,k){a._showInfo(k)};a.show2d=function(a,k){a._show2d(k)};a.jmolBr=function(){return a._documentWrite("<br />")};
  a.jmolButton=function(l,k,e,h,p){return a.controls._getButton(l,k,e,h,p)};a.jmolCheckbox=function(l,k,e,h,p,s,b){return a.controls._getCheckbox(l,k,e,h,p,s,b)};a.jmolCommandInput=function(l,k,e,h,p,s){return a.controls._getCommandInput(l,k,e,h,p,s)};a.jmolHtml=function(l){return a._documentWrite(l)};a.jmolLink=function(l,k,e,h,p){return a.controls._getLink(l,k,e,h,p)};a.jmolMenu=function(l,k,e,h,p){return a.controls._getMenu(l,k,e,h,p)};a.jmolRadio=function(l,k,e,h,p,s,b,d){return a.controls._getRadio(l,
  k,e,h,p,s,b,d)};a.jmolRadioGroup=function(l,k,e,h,p,s){return a.controls._getRadioGroup(l,k,e,h,p,s)};a.setCheckboxGroup=function(l,k){a.controls._cbSetCheckboxGroup(l,k,arguments)};a.setDocument=function(l){a._document=l};a.setXHTML=function(l){a._isXHTML=!0;a._XhtmlElement=null;a._XhtmlAppendChild=!1;l&&(a._XhtmlElement=document.getElementById(l),a._XhtmlAppendChild=!0)};a.setAppletCss=function(l,k){null!=l&&(a._appletCssClass=l);a._appletCssText=k?k+" ":l?'class="'+l+'" ':""};a.setButtonCss=function(l,
  k){null!=l&&(a.controls._buttonCssClass=l);a.controls._buttonCssText=k?k+" ":l?'class="'+l+'" ':""};a.setCheckboxCss=function(l,k){null!=l&&(a.controls._checkboxCssClass=l);a.controls._checkboxCssText=k?k+" ":l?'class="'+l+'" ':""};a.setRadioCss=function(l,k){null!=l&&(a.controls._radioCssClass=l);a.controls._radioCssText=k?k+" ":l?'class="'+l+'" ':""};a.setLinkCss=function(l,k){null!=l&&(a.controls._linkCssClass=l);a.controls._linkCssText=k?k+" ":l?'class="'+l+'" ':""};a.setMenuCss=function(l,k){null!=
  l&&(a.controls._menuCssClass=l);a.controls._menuCssText=k?k+" ":l?'class="'+l+'" ':""};a.setAppletSync=function(l,k,e){a._syncedApplets=l;a._syncedCommands=k;a._syncedReady={};a._isJmolJSVSync=e};a.setGrabberOptions=function(l){a._grabberOptions=l};a.setAppletHtml=function(l,k){l._code&&(a.$html(k,l._code),l._init&&!l._deferApplet&&l._init())};a.coverApplet=function(a,k){a._cover&&a._cover(k)};a.setFileCaching=function(l,k){l?l._cacheFiles=k:a.fileCache=k?{}:null};a.updateView=function(a,k,e){a._updateView(k,
  e)};a.getChemicalInfo=function(l,k,e){k||(k="name");"string"!=typeof applet_or_Identifier&&(l=l._getSmiles());return a._getNCIInfo(l,k,e)};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(){c$=null;window["j2s.clazzloaded"]||(window["j2s.clazzloaded"]=!1);window["j2s.clazzloaded"]||(window["j2s.clazzloaded"]=!0,window["j2s.object.native"]=!0,Clazz={_isQuiet:!1,_debugging:!1},function(a,p){try{a._debugging=0<=document.location.href.indexOf("j2sdebug")}catch(l){}var k=["j2s.clazzloaded","j2s.object.native"];a.setGlobal=function(a,b){k.push(a);window[a]=b};a.getGlobals=function(){return k.sort().join("\n")};a.setConsoleDiv=function(a){window["j2s.lib"]&&(window["j2s.lib"].console=
  a)};var e=window["j2s.doProfile"]&&self.JSON?{}:null;NullObject=function(){};a._supportsNativeObject=window["j2s.object.native"];a._supportsNativeObject?(a._O=function(){},a._O.__CLASS_NAME__="Object",a._O.getClass=function(){return a._O}):a._O=Object;a.Console={};a.dateToString=Date.prototype.toString;a._hashCode=0;var h=a._O.prototype;h.equals=function(a){return this==a};h.hashCode=function(){return this._$hashcode||(this._$hashcode=++a._hashCode)};h.getClass=function(){return a.getClass(this)};
  h.clone=function(){return a.clone(this)};a.clone=function(a){var b=new a.constructor,c;for(c in a)b[c]=a[c];return b};h.finalize=function(){};h.notify=function(){};h.notifyAll=function(){};h.wait=function(){};h.to$tring=Object.prototype.toString;h.toString=function(){return 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(b,
  c){c&&(b.__CLASS_NAME__=b.prototype.__CLASS_NAME__=c);if(a._supportsNativeObject)for(var d=0;d<a._extendedObjectMethods.length;d++){var e=a._extendedObjectMethods[d];b.prototype[e]=a._O.prototype[e]}};a.extractClassName=function(a){a=a.substring(1,a.length-1);return 0<=a.indexOf("Array")?"Array":0<=a.indexOf("object ")?a.substring(7):a};a.getClassName=function(b,c){if(null==b)return"NullObject";if(b instanceof a.CastedNull)return b.clazzName;switch(typeof b){case "number":return"n";case "boolean":return"b";
  case "string":return"String";case "function":if(b.__CLASS_NAME__)return c?b.__CLASS_NAME__:"Class";var d=b.toString(),e=d.indexOf("function");if(0>e)return"["==d.charAt(0)?a.extractClassName(d):d.replace(/[^a-zA-Z0-9]/g,"");var e=e+8,h=d.indexOf("(",e);if(0>h)break;d=d.substring(e,h);if(0<=d.indexOf("Array"))return"Array";d=d.replace(/^\s+/,"").replace(/\s+$/,"");return"anonymous"==d||""==d?"Function":d;case "object":if(b.__CLASS_NAME__)return b.__CLASS_NAME__;if(!b.constructor)break;if(!b.constructor.__CLASS_NAME__){if(b instanceof
  Number)return"Number";if(b instanceof Boolean)return"Boolean";if(b instanceof Array)return"Array";d=b.toString();if("["==d.charAt(0))return a.extractClassName(d)}return a.getClassName(b.constructor,!0)}return"Object"};a.getClass=function(b){if(!b)return a._O;if("function"==typeof b)return b;if(b instanceof a.CastedNull)b=b.clazzName;else switch(typeof b){case "string":return String;case "object":if(!b.__CLASS_NAME__)return b.constructor||a._O;b=b.__CLASS_NAME__;break;default:return b.constructor}return a.evalType(b,
  !0)};var t=function(b,c){for(var d=0;d<a.innerFunctionNames.length;d++)if(c==a.innerFunctionNames[d]&&a._innerFunctions[c]===b[c])return!0;return!1},s=function(){};a.inheritArgs=new s;a.inheritClass=function(b,c,d){for(var e in c)"b$"!=e&&("prototype"!=e&&"superClazz"!=e&&"__CLASS_NAME__"!=e&&"implementz"!=e&&!t(c,e))&&(b[e]=c[e]);a.unloadedClasses[a.getClassName(b,!0)]||(b.prototype=d?d:c!==Number?new c(a.inheritArgs):new Number);b.superClazz=c;b.prototype.__CLASS_NAME__=b.__CLASS_NAME__};a.implementOf=
  function(a,c){if(2<=arguments.length){a.implementz||(a.implementz=[]);var d=a.implementz;if(2==arguments.length)if("function"==typeof c)d.push(c),b(a,c);else{if(c instanceof Array)for(var e=0;e<c.length;e++)d.push(c[e]),b(a,c[e])}else for(e=1;e<arguments.length;e++)d.push(arguments[e]),b(a,arguments[e])}};var b=function(a,b){for(var c in b)if("b$"!=c&&"prototype"!=c&&"superClazz"!=c&&"__CLASS_NAME__"!=c&&"implementz"!=c&&("function"!=typeof b[c]||!t(b,c)))a[c]=a.prototype[c]=b[c]};a.extendInterface=
  a.implementOf;a.equalsOrExtendsLevel=function(b,c){if(b===c)return 0;if(b.implementz)for(var d=b.implementz,e=0;e<d.length;e++){var h=a.equalsOrExtendsLevel(d[e],c);if(0<=h)return h+1}return-1};a.getInheritedLevel=function(b,c){if(b===c)return 0;var d="string"==typeof b;if(d&&("void"==b||"unknown"==b))return-1;var e="string"==typeof c;if(e&&("void"==c||"unknown"==c))return-1;if(b===(d?"NullObject":NullObject))switch(c){case "n":case "b":return-1;case Number:case Boolean:case NullObject:break;default:return 0}d&&
  (b=a.evalType(b));e&&(c=a.evalType(c));if(!c||!b)return-1;d=0;for(e=b;e!==c&&10>d;){if(e.implementz)for(var h=e.implementz,k=0;k<h.length;k++){var l=a.equalsOrExtendsLevel(h[k],c);if(0<=l)return d+l+1}e=e.superClazz;if(!e)return c===Object||c===a._O?d+1.5:-1;d++}return d};a.instanceOf=function(b,c){return null!=b&&c&&(b==c||b instanceof c||0<=a.getInheritedLevel(a.getClassName(b),c))};a.superCall=function(b,c,d,e){var h=null,k=-1,l=b[d];if(l)if(l.claxxOwner)l.claxxOwner!==c&&(h=l);else if(!l.stacks&&
  (!l.lastClaxxRef||!l.lastClaxxRef.prototype[d]||!l.lastClaxxRef.prototype[d].stacks))h=l;else{var p=l.stacks;p||(p=l.lastClaxxRef.prototype[d].stacks);for(k=p.length;0<=--k;)if(c===p[k]){h=0<k?p[--k].prototype[d]:p[0].prototype[d]["\\unknown"];break}else if(0<a.getInheritedLevel(c,p[k])){h=p[k].prototype[d];break}}if(h)return 0==k&&"construct"==d&&(c=l.stacks)&&(!c[0].superClazz&&c[0].con$truct)&&c[0].con$truct.apply(b,[]),h.apply(b,e||[]);"construct"!=d&&(a.alert(["j2slib","no class found",e.typeString]),
  Na(b,c,d,a.getParamsType(e).typeString))};a.superConstructor=function(b,c,d){a.superCall(b,c,"construct",d);c.con$truct&&c.con$truct.apply(b,[])};a.CastedNull=function(b){this.clazzName=b?b instanceof String?b:b instanceof Function?a.getClassName(b,!0):""+b:"Object";this.toString=function(){return null};this.valueOf=function(){return null}};a.castNullAs=function(b){return new a.CastedNull(b)};a._initializingException=!1;a._callingStackTraces=[];var d=function(){this.toString=function(){return"J2S MethodException"}},
  c;try{null.hello()}catch(r){if(h=function(a,b,c){c||(c="[^\\s]+");var d=a.indexOf(b);a=a.substring(0,d)+c+a.substring(d+b.length);return RegExp("^"+a+"$")},/Opera[\/\s](\d+\.\d+)/.test(navigator.userAgent)){var h=r.message.indexOf(":"),E=r.message.indexOf(":",h+2),B=r.message.substr(h+1,E-h-20);c=function(a){return-1!=a.message.indexOf(B)}}else if(-1!=navigator.userAgent.toLowerCase().indexOf("webkit")){var S=h(r.message,"hello");c=function(a){return S.test(a.message)}}else S=h(r.message,"$$o$$"),
  c=function(a){return S.test(a.message)}}a.exceptionOf=function(b,d){if(b.__CLASS_NAME__)return a.instanceOf(b,d);b.getMessage||(b.getMessage=function(){return""+this});b.printStackTrace||(b.printStackTrace=function(){},alert(b+" try/catch path:"+a.getStackTrace(-10)));if(d==Error){if(0>(""+b).indexOf("Error"))return!1;System.out.println(a.getStackTrace());return!0}return d==Exception||d==Throwable||d==NullPointerException&&c(b)};a.getStackTrace=function(a){a||(a=25);var b="\n",c=arguments.callee,
  d=0>a;d&&(a=-a);for(var e=0;e<a&&(c=c.caller);e++){var h=c.toString?c.toString().substring(0,c.toString().indexOf("{")):"<native method>",b=b+(e+" "+(c.exName?(c.claxxOwner?c.claxxOwner.__CLASS_NAME__+".":"")+c.exName+h.replace(/function /,""):h)+"\n");if(c==c.caller){b+="<recursing>\n";break}if(d)for(var h=c.arguments,k=0;k<h.length;k++){var l=""+h[k];60<l.length&&(l=l.substring(0,60)+"...");b+=" args["+k+"]="+l.replace(/\s+/g," ")+"\n"}}return b};a.makeConstructor=function(b,c,d){a.defineMethod(b,
  "construct",c,d);b.con$truct&&(b.con$truct.index=b.con$truct.stacks.length)};a.overrideConstructor=function(b,c,d){a.overrideMethod(b,"construct",c,d);b.con$truct&&(b.con$truct.index=b.con$truct.stacks.length)};a.defineMethod=function(b,c,h,k){a.assureInnerClass&&a.assureInnerClass(b,h);h.exName=c;k=V(k);var l=b.prototype,p=l[c];a._Loader._checkLoad&&K(b,c,k);if(!p||p.claxxOwner===b&&p.funParams==k)return h.funParams=k,h.claxxOwner=b,h.exClazz=b,l[c]=h;var r=null,s=p.stacks;s||(s=[],r=p,p.claxxOwner&&
  (s[0]=r.claxxOwner));if(!p.stacks||p.claxxReference!==b){var t=++Wa,p=function(){var b;a:{var c=arguments.callee.claxxReference,j=arguments.callee.methodName;b=arguments;fx=this[j];var n=a.getParamsType(b);if(!fx)try{System.out.println(a.getStackTrace(5))}catch(h){}if(e){var m=t+" "+c.__CLASS_NAME__+" "+j+" ";0>D.indexOf(m)&&(D+=m+"\n");e[m]||(e[m]=0);e[m]++}if(fx.lastParams==n.typeString&&fx.lastClaxxRef===c){if(n.hasCastedNull){c=[];for(j=0;j<b.length;j++)c[j]=b[j]instanceof a.CastedNull?null:b[j]}else c=
  b;b=fx.lastMethod?fx.lastMethod.apply(this,c):null}else{fx.lastParams=n.typeString;fx.lastClaxxRef=c;m=fx.stacks;m||(m=c.prototype[j].stacks);for(var k=!1,l=m.length;0<=--l;)if(k||m[l]===c){var p=m[l].prototype[j],z=n,k=b,r=fx,s=[],P=!0,F=void 0;for(F in p)if(92==F.charCodeAt(0)){var w=F.substring(1).split("\\");w.length==z.length&&s.push(w);P=!1}else if(P&&"funParams"==F&&p.funParams){F=p.funParams;w=F.substring(1).split("\\");w.length==z.length&&(s[0]=w);break}F=void 0;if(!(F=0==s.length)){F=void 0;
  for(var F=[],ga=s.length,w=0;w<ga;w++){for(var C=[],wb=!0,E=s[w].length,B=0;B<E;B++)if(C[B]=a.getInheritedLevel(z[B],s[w][B]),0>C[B]){wb=!1;break}wb&&(C[z.length]=w,F.push(C))}if(0==F.length)F=null;else{ga=F[0];for(w=1;w<F.length;w++){C=!0;for(B=0;B<z.length;B++)if(ga[B]<F[w][B]){C=!1;break}C&&(ga=F[w])}F=s[ga[z.length]].join("\\")}F=!(s=F)}if(F)k=new d;else{p=P?p:p["\\"+s];P=null;if(z.hasCastedNull){P=[];for(z=0;z<k.length;z++)P[z]=k[z]instanceof a.CastedNull?null:k[z]}else P=k;r.lastMethod=p;k=
  p.apply(this,P)}if(!(k instanceof d)){b=k;break a}k=!0}"construct"!=j&&Na(this,c,j,n.typeString);b=void 0}}return b};p.methodName=c;p.claxxReference=b;p=l[c]=p;c=[];for(l=0;l<s.length;l++)c[l]=s[l];p.stacks=c}s=p.stacks;0>sb(s,b)&&s.push(b);r&&(r.claxxOwner===b?(p[r.funParams]=r,r.claxxOwner=null,r.funParams=null):r.claxxOwner||(p["\\unknown"]=r));h.exClazz=b;p[k]=h;return p};duplicatedMethods={};var K=function(b,c,d){var e=b.prototype[c];if(e&&(e.claxxOwner||e.claxxReference)===b)key=b.__CLASS_NAME__+
  "."+c+d,(b=duplicatedMethods[key])?(c="Warning! Duplicate method found for "+key,System.out.println(c),a.alert(c),duplicatedMethods[key]=b+1):duplicatedMethods[key]=1};a.showDuplicates=function(a){var b="",c=duplicatedMethods,d=0,e;for(e in c)1<c[e]&&(b+=c[e]+"\t"+e+"\n",d++);b="Duplicates: "+d+"\n\n"+b;System.out.println(b);a||alert(b)};var sb=function(a,b){if(a&&b)for(var c=a.length;0<=--c;)if(a[c]===b)return c;return-1},Ma=function(a,b){var c=sb(a,b);if(0<=c){for(var d=a.length-1;c<d;c++)a[c]=
  a[c+1];a.length--;return!0}},V=function(a){return a?a.replace(/~([NABSO])/g,function(a,b){switch(b){case "N":return"n";case "B":return"b";case "S":return"String";case "O":return"Object";case "A":return"Array"}return"Unknown"}).replace(/\s+/g,"").replace(/^|,/g,"\\").replace(/\$/g,"org.eclipse.s"):"\\void"};a.overrideMethod=function(b,c,d,e){a.assureInnerClass&&a.assureInnerClass(b,d);d.exName=c;e=V(e);a._Loader._checkLoad&&K(b,c,e);d.funParams=e;d.claxxOwner=b;return b.prototype[c]=d};var D="";a.getProfile=
  function(){var a="";if(e){var a=[],b;for(b in e){var c=""+e[b];a.push("        ".substring(c.length)+c+"\t"+b)}a=a.sort().reverse().join("\r\n");e={}}return a+D};a.getParamsType=function(b){var c=b.length;switch(c){case 0:var d=["void"];d.typeString="\\void";return d;case 1:switch(typeof obj){case "number":return d=["n"],d.typeString="\\n",d;case "boolean":return d=["b"],d.typeString="\\b",d}}d=[];d.hasCastedNull=!1;if(b)for(var e=0;e<c;e++)d[e]=a.getClassName(b[e]),b[e]instanceof a.CastedNull&&(d.hasCastedNull=
  !0);d.typeString="\\"+d.join("\\");return d};var Wa=0;a.allPackage={};a.allClasses={};a.lastPackageName=null;a.lastPackage=null;a.unloadedClasses=[];a.declarePackage=function(b){if(a.lastPackageName==b)return a.lastPackage;if(b&&b.length){for(var c=b.split(/\./),d=a.allPackage,e=0;e<c.length;e++)d[c[e]]||(d[c[e]]={__PKG_NAME__:d.__PKG_NAME__?d.__PKG_NAME__+"."+c[e]:c[e]},0==e&&a.setGlobal(c[e],d[c[e]])),d=d[c[e]];a.lastPackageName=b;return a.lastPackage=d}};a.evalType=function(b,c){var d=b.lastIndexOf(".");
  if(-1!=d){var e=b.substring(0,d),e=a.declarePackage(e),d=b.substring(d+1);return e[d]}if(c)return window[b];switch(b){case "string":return String;case "number":return Number;case "object":return a._O;case "boolean":return Boolean;case "function":return Function;case "void":case "undefined":case "unknown":return b;case "NullObject":return NullObject;default:return window[b]}};a.defineType=function(b,c,d,e){var h=a.unloadedClasses[b];h&&(c=h);h=b.lastIndexOf(".");if(-1!=h){var k=b.substring(0,h),k=
  a.declarePackage(k),h=b.substring(h+1);if(k[h])return k[h];k[h]=c}else{if(window[b])return window[b];a.setGlobal(b,c)}a.decorateAsType(c,b,d,e);b=a._innerFunctions;c.defineMethod=b.defineMethod;c.defineStaticMethod=b.defineStaticMethod;c.makeConstructor=b.makeConstructor;return c};var Ba=!1;-1!=navigator.userAgent.indexOf("Safari")&&(h=navigator.userAgent,E=h.indexOf("Version/"),-1!=E&&(h=h.substring(E+8),Ba=4<=parseFloat(h)));a.instantialize=function(a,b){if(!b||!(1==b.length&&b[0]&&b[0]instanceof
  s)){a instanceof Number&&(a.valueOf=function(){return this});if(Ba){for(var c=[],d=0;d<b.length;d++)c[d]=b[d];b=c}(c=a.construct)?a.con$truct?a.getClass().superClazz?c.claxxOwner&&c.claxxOwner===a.getClass()||c.stacks&&c.stacks[c.stacks.length-1]==a.getClass()?c.apply(a,b):(c.claxxOwner&&!c.claxxOwner.superClazz&&c.claxxOwner.con$truct?c.claxxOwner.con$truct.apply(a,[]):c.stacks&&(1==c.stacks.length&&!c.stacks[0].superClazz)&&c.stacks[0].con$truct.apply(a,[]),c.apply(a,b),a.con$truct.apply(a,[])):
  (a.con$truct.apply(a,[]),c.apply(a,b)):c.apply(a,b):a.con$truct&&a.con$truct.apply(a,[])}};a.innerFunctionNames="isInstance equals hashCode getName getCanonicalName getClassLoader getResource getResourceAsStream defineMethod defineStaticMethod makeConstructor".split(" ");a._innerFunctions={isInstance:function(b){return a.instanceOf(b,this)},equals:function(a){return this===a},hashCode:function(){return this.getName().hashCode()},toString:function(){return"class "+this.getName()},getName:function(){return a.getClassName(this,
  !0)},getCanonicalName:function(){return this.__CLASS_NAME__},getClassLoader:function(){var b=this.__CLASS_NAME__,c=a._Loader.getClasspathFor(b),d=c.lastIndexOf(b.replace(/\./g,"/")),c=-1!=d?c.substring(0,d):a._Loader.getClasspathFor(b,!0),b=a._Loader.requireLoaderByBase(c);b.getResourceAsStream=a._innerFunctions.getResourceAsStream;b.getResource=a._innerFunctions.getResource;return b},getResource:function(a){return(a=this.getResourceAsStream(a))?a.url:null},getResourceAsStream:function(b){if(!b)return null;
  b=b.replace(/\\/g,"/");var c=null,d=b,d=this.__CLASS_NAME__;2==arguments.length&&0!=b.indexOf("/")&&(b="/"+b);if(0==b.indexOf("/"))if(2==arguments.length?(c=arguments[1])||(c=a.binaryFolders[0]):a._Loader&&(c=a._Loader.getClasspathFor(d,!0)),c){var c=c.replace(/\\/g,"/"),e=c.length,e=c.charAt(e-1);"/"!=e&&(c+="/");d=c+b.substring(1)}else d=b.substring(1);else{if(this.base)c=this.base;else if(a._Loader)if(c=a._Loader.getClasspathFor(d),e=c.lastIndexOf(d.replace(/\./g,"/")),-1!=e)c=c.substring(0,e);
  else if(e=-1,c.indexOf(".z.js")==c.length-5&&-1!=(e=c.lastIndexOf("/")))for(var c=c.substring(0,e+1),e=d.split(/\./),h=1;h<e.length;h++){for(var k="/",l=0;l<h;l++)k+=e[l]+"/";if(k.length>c.length)break;if(c.indexOf(k)==c.length-k.length){c=c.substring(0,c.length-k.length+1);break}}else c=a._Loader.getClasspathFor(d,!0);else(e=a.binaryFolders)&&e.length&&(c=e[0]);c||(c="j2s/");c=c.replace(/\\/g,"/");e=c.length;e=c.charAt(e-1);"/"!=e&&(c+="/");this.base?d=c+b:(e=d.lastIndexOf("."),d=-1==e||this.base?
  c+b:c+d.substring(0,e).replace(/\./g,"/")+"/"+b)}c=null;try{if(0>d.indexOf(":/")){var r=document.location.href.split("?")[0].split("/");r[r.length-1]=d;d=r.join("/")}c=new java.net.URL(d)}catch(s){}r=null==c?null:p._getFileData(d.toString());if(!r||"error"==r||0==r.indexOf("[Exception"))return null;r=(new java.lang.String(r)).getBytes();r=new java.io.BufferedInputStream(new java.io.ByteArrayInputStream(r));r.url=c;return r},defineMethod:function(b,c,d){a.defineMethod(this,b,c,d)},defineStaticMethod:function(b,
  c,d){a.defineMethod(this,b,c,d);this[b]=this.prototype[b]},makeConstructor:function(b,c){a.makeConstructor(this,b,c)}};var Ca=[];a.pu$h=function(a){a||(a=self.c$);a&&Ca.push(a)};a.p0p=function(){return Ca.pop()};a.decorateAsClass=function(b,c,d,e,h,k){var l=null;c&&(l=c.__PKG_NAME__,l||(l=c.__CLASS_NAME__));var p=(l?l+".":"")+d;a._Loader._classPending[p]&&(delete a._Loader._classPending[p],a._Loader._classCountOK++,a._Loader._classCountPending--);a._Loader&&a._Loader._checkLoad&&System.out.println("decorating class "+
  l+"."+d);(l=a.unloadedClasses[p])&&(b=l);Da(b,c,d);k?a.inheritClass(b,e,k):e&&a.inheritClass(b,e);h&&a.implementOf(b,h);return b};var Da=function(b,c,d){var e;c?c.__PKG_NAME__?(e=c.__PKG_NAME__+"."+d,c[d]=b,c===java.lang&&a.setGlobal(d,b)):(e=c.__CLASS_NAME__+"."+d,c[d]=b):(e=d,a.setGlobal(d,b));a.extendJO(b,e);c=a.innerFunctionNames;for(d=0;d<c.length;d++)b[c[d]]=a._innerFunctions[c[d]];a._Loader&&a._Loader.updateNodeForFunctionDecoration(e)};a.declareInterface=function(b,c,d){var e=function(){};
  Da(e,b,c);d&&a.implementOf(e,d);return e};a.declareType=function(b,c,d,e,h){return a.decorateAsClass(function(){a.instantialize(this,arguments)},b,c,d,e,h)};a.declareAnonymous=function(b,c,d,e,h){return a.decorateAsClass(function(){a.prepareCallback(this,arguments);a.instantialize(this,arguments)},b,c,d,e,h)};a.decorateAsType=function(b,c,d,e,h,k){a.extendJO(b,c);b.equals=a._innerFunctions.equals;b.getName=a._innerFunctions.getName;if(k)for(c=0;c<a.innerFunctionNames.length;c++)k=a.innerFunctionNames[c],
  b[k]=a._innerFunctions[k];h?a.inheritClass(b,d,h):d&&a.inheritClass(b,d);e&&a.implementOf(b,e);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.declarePackage("java.security");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"};var Na=function(b,c,d,e){b="";e&&(b=e.substring(1).replace(/\\/g,","));c=(d&&"construct"!=d?"Method":"Constructor")+" "+a.getClassName(c,!0)+"."+d+"("+b+") is not found!";throw new java.lang.NoSuchMethodException(c);};a.prepareCallback=function(b,c){var d=c[0];if(b&&d&&d!==window){var e=a.getClassName(d,!0),h={};if(b.b$)for(var k in b.b$)h[k]=b.b$[k];b.b$=h;h[e]=d;for(e=a.getClass(d);e.superClazz;)e=e.superClazz,h[a.getClassName(e,
  !0)]=d;if(d=d.b$)for(k in d)h[k]=d[k]}for(h=0;h<c.length-1;h++)c[h]=c[h+1];c.length--};a.innerTypeInstance=function(b,c,d){b||(b=arguments.callee.caller);var e;if(d||c.$finals)if(e=new b(c,a.inheritArgs),d)if(c.f$){var h={},k;for(k in c.f$)h[k]=c.f$[k];for(k in d)h[k]=d[k];e.f$=h}else e.f$=d;else c.f$&&(e.f$=c.f$);else switch(arguments.length){case 3:return new b(c);case 4:return c.__CLASS_NAME__==b.__CLASS_NAME__&&arguments[3]===a.inheritArgs?c:new b(c,arguments[3]);case 5:return new b(c,arguments[3],
  arguments[4]);case 6:return new b(c,arguments[3],arguments[4],arguments[5]);case 7:return new b(c,arguments[3],arguments[4],arguments[5],arguments[6]);case 8:return new b(c,arguments[3],arguments[4],arguments[5],arguments[6],arguments[7]);case 9:return new b(c,arguments[3],arguments[4],arguments[5],arguments[6],arguments[7],arguments[8]);case 10:return new b(c,arguments[3],arguments[4],arguments[5],arguments[6],arguments[7],arguments[8],arguments[9]);default:e=new b(c,a.inheritArgs)}k=arguments.length-
  3;for(h=Array(k);0<=--k;)h[k]=arguments[k+3];a.instantialize(e,h);return e};a.cloneFinals=function(){for(var a={},b=arguments.length/2;0<=--b;)a[arguments[b+b]]=arguments[b+b+1];return a};a.isClassDefined=a.isDefinedClass=function(b){if(!b)return!1;if(a.allClasses[b])return!0;for(var c=b.split(/\./),d=null,e=0;e<c.length;e++)if(!(d=d?d[c[e]]:a.allPackage[c[0]]))return!1;return d&&(a.allClasses[b]=!0)};a.defineEnumConstant=function(a,b,c,d,e){e=e?new e:new a;e.$name=b;e.$ordinal=c;d&&d.length&&e.construct.apply(e,
  d);a[b]=e;a.prototype[b]=e;a["$ values"]||(a["$ values"]=[],a.values=function(){return this["$ values"]});a["$ values"].push(e);return e};a.floatToInt=function(a){return 0>a?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;h=function(a){return function(){for(var b=this.length,c=
  32==a?new Int32Array(b):new Float64Array(b);0<=--b;)c[b]=this[b];return c}};self.Int32Array&&self.Int32Array!=Array?(a.haveInt32=!0,Int32Array.prototype.sort||(Int32Array.prototype.sort=Array.prototype.sort),Int32Array.prototype.clone||(Int32Array.prototype.clone=h(32))):(Int32Array=function(a){a||(a=0);var b=Array(a);b.toString=function(){return"[object Int32Array]"};for(var c=0;c<a;c++)b[c]=0;return b},a.haveInt32=!1,Int32Array.prototype.sort=Array.prototype.sort,Int32Array.prototype.clone=h(32),
  Int32Array.prototype.int32Fake=function(){});self.Float64Array&&self.Float64Array!=Array?(a.haveFloat64=!0,Float64Array.prototype.sort||(Float64Array.prototype.sort=Array.prototype.sort),Float64Array.prototype.clone||(Float64Array.prototype.clone=h(64))):(a.haveFloat64=!1,Float64Array=function(a){a||(a=0);for(var b=Array(a),c=0;c<a;c++)b[c]=0;return b},Float64Array.prototype.sort=Array.prototype.sort,Float64Array.prototype.clone=h(64),Float64Array.prototype.float64Fake=function(){},Float64Array.prototype.toString=
  function(){return"[object Float64Array]"});a.newArray=function(){if(arguments[0]instanceof Array)var b=arguments[0],c=arguments[1];else b=arguments,c=Array;var d=b[0];"string"==typeof d&&(d=d.charCodeAt(0));var e=b.length-1,h=b[e];switch(b.length){case 0:case 1:return[];case 2:if(null==h)return Array(d);if(!0===c&&a.haveInt32)return new Int32Array(d);if(!1===c&&a.haveFloat64)return new Float64Array(d);for(var b=!0===c?new Int32Array:!1===c?new Float64Array:0>d?h:Array(d),k=d;0<=--k;)b[k]=h;return b;
  default:for(var l=Array(e),k=0;k<e;k++)l[k]=b[k+1];b=Array(d);if(null==h||0<=h||2<e)for(k=0;k<d;k++)b[k]=a.newArray(l,c);return b}};a.newArray32=function(b,c){var d=b[0];"string"==typeof d&&(d=d.charCodeAt(0));var e=b.length-1,h=b[e];switch(b.length){case 0:case 1:return alert("ERROR IN newArray32 -- args.length < 2"),[];case 2:if(e=0>d)d=h.length;var k=0>h?Array(d):c?new Int32Array(d):new Float64Array(d);if(e)for(e=d;0<=--e;)k[e]=h[e];return k}for(h=Array(e);0<=--e;)h[e]=b[e+1];k=Array(d);for(e=
  0;e<d;e++)k[e]=a.newArray(h,c);return k};a.newInt32Array=function(){return a.newArray32(arguments,!0)};a.newFloat64Array=function(){return a.newArray32(arguments,!1)};a.newFloatArray=a.newDoubleArray=a.newFloat64Array;a.newIntArray=a.newLongArray=a.newShortArray=a.newByteArray=a.newInt32Array;a.newCharArray=a.newBooleanArray=a.newArray;var sa=function(a,b){return a.constructor&&a.constructor!=Number&&0<=a.constructor.toString().indexOf(b)};a.isAS=function(a){return a&&"object"==typeof a&&sa(a," Array")&&
  ("string"==typeof a[0]||"undefined"==typeof a[0])};a.isASS=function(b){return b&&"object"==typeof b&&a.isAS(b[0])};a.isAP=function(b){return b&&"JU.P3"==a.getClassName(b[0])};a.isAI=function(b){return b&&"object"==typeof b&&(a.haveInt32?sa(b,"Int32Array"):b.int32Fake?!0:!1)};a.isAII=function(b){return b&&"object"==typeof b&&a.isAI(b[0])};a.isAF=function(b){return b&&"object"==typeof b&&(a.haveFloat64?sa(b,"Float64Array"):b.float64Fake?!0:!1)};a.isAFF=function(b){return b&&"object"==typeof b&&a.isAF(b[0])};
  a.isAFFF=function(b){return b&&"object"==typeof b&&a.isAFF(b[0])};a.isAFloat=function(b){return b&&"object"==typeof b&&sa(b," Array")&&a.instanceOf(b[0],Float)};a.defineStatics=function(a){for(var b=arguments.length,c=(b-1)/2;0<=--c;){var d=arguments[--b],e=arguments[--b];a[e]=a.prototype[e]=d}};a.prepareFields=function(a,b){var c=[];if(a.con$truct)for(var d=a.con$truct.stacks,e=0;e<d.length;e++)c[e]=d[e];d=a.con$truct=function(){var a=arguments.callee.stacks;if(a)for(var b=0;b<a.length;b++)a[b].apply(this,
  [])};a.prototype.con$truct=d;c.push(b);a.con$truct.stacks=c;a.con$truct.index=0};a.checkPrivateMethod=function(){me=arguments.callee.caller;caller=arguments.callee.caller.caller;var b="\\"+a.getParamsType(arguments[0]).join("\\");me.privateNote||(me.privateNote="You are seeing this note because the method "+me.exName+b+" in class "+me.exClazz.__CLASS_NAME__+" has a superclass method by the same name (possibly with the same parameters) that is private and  therefore might be called improperly from this class. If your  code does not run properly, or you want to make it run faster, change the name of this method to something else.",
  System.out.println(me.privateNote),alert(me.privateNote));return null};java.lang.Object=a._O;a._O.getName=a._innerFunctions.getName;java.lang.System=System={props:null,$props:{},arraycopy:function(a,b,c,d,e){if(a!==c)for(var h=0;h<e;h++)c[d+h]=a[b+h];else{for(var k=[],h=0;h<e;h++)k[h]=a[b+h];for(h=0;h<e;h++)c[d+h]=k[h]}},currentTimeMillis:function(){return(new Date).getTime()},gc:function(){},getProperties:function(){return System.props},getProperty:function(a,b){if(System.props)return System.props.getProperty(a,
  b);var c=System.$props[a];if("undefined"!=typeof c)return c;if(0<a.indexOf(".")){c=null;switch(a){case "java.version":case "file.separator":case "path.separator":c="/";break;case "line.separator":c=0<=navigator.userAgent.indexOf("Windows")?"\r\n":"\n";break;case "os.name":case "os.version":c=navigator.userAgent}if(c)return System.$props[a]=c}return 1==arguments.length?null:null==b?a:b},getSecurityManager:function(){return null},setProperties:function(a){System.props=a},lineSeparator:function(){return"\n"},
  setProperty:function(a,b){if(!System.props)return System.$props[a]=b;System.props.setProperty(a,b)}};System.identityHashCode=function(b){return null==b?0:b._$hashcode||(b._$hashcode=++a._hashCode)};System.out=new a._O;System.out.__CLASS_NAME__="java.io.PrintStream";System.out.print=function(){};System.out.printf=function(){};System.out.println=function(){};System.out.write=function(){};System.err=new a._O;System.err.__CLASS_NAME__="java.io.PrintStream";System.err.print=function(){};System.err.printf=
  function(){};System.err.println=function(){};System.err.write=function(){};a.popup=a.assert=a.log=a.error=window.alert;Thread=function(){};Thread.J2S_THREAD=Thread.prototype.J2S_THREAD=new Thread;Thread.currentThread=Thread.prototype.currentThread=function(){return this.J2S_THREAD};a.innerFunctionNames=a.innerFunctionNames.concat("getSuperclass isAssignableFrom getConstructor getDeclaredMethod getDeclaredMethods getMethod getMethods getModifiers newInstance".split(" "));a._innerFunctions.getSuperclass=
  function(){return this.superClazz};a._innerFunctions.isAssignableFrom=function(b){return 0<=a.getInheritedLevel(b,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,c;for(c in b)"function"==typeof b[c]&&!b[c].__CLASS_NAME__&&a.push(new java.lang.reflect.Method(this,c,[],java.lang.Void,[],java.lang.reflect.Modifier.PUBLIC));
  b=this;for(c in b)"function"==typeof b[c]&&!b[c].__CLASS_NAME__&&a.push(new java.lang.reflect.Method(this,c,[],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,c;for(c in b)if(a==c&&"function"==typeof b[c]&&!b[c].__CLASS_NAME__)return new java.lang.reflect.Method(this,c,[],java.lang.Void,[],java.lang.reflect.Modifier.PUBLIC);b=this;for(c in b)if(a==c&&"function"==
  typeof b[c]&&!b[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};a._innerFunctions.getModifiers=function(){return java.lang.reflect.Modifier.PUBLIC};a._innerFunctions.newInstance=function(a){switch(null==a?0:a.length){case 0:return new this;case 1:return new this(a[0]);case 2:return new this(a[0],a[1]);case 3:return new this(a[0],a[1],a[2]);case 4:return new this(a[0],a[1],a[2],a[3]);
  default:for(var b="new "+this.__CLASS_NAME__+"(",c=0;c<a.length;c++)b+=(0==c?"":",")+"a["+c+"]";return eval(b+")")}};h=a.innerFunctionNames;for(E=0;E<h.length;E++)a._O[h[E]]=a._innerFunctions[h[E]],Array[h[E]]=a._innerFunctions[h[E]];if(window.Clazz&&!window.Clazz.unloadClass){a.unloadClass=function(b){var c=a.evalType(b);if(c){a.unloadedClasses[b]=c;for(var d=b.split(/\./),e=null,h=0;h<d.length-1;h++)e=e?e[d[h]]:a.allPackage[d[0]];if(e)for(k in e[d[d.length-1]]=null,e)0==k.indexOf(d[d.length-1]+
  "$")&&(a.unloadClass(e.__PKG_NAME__+"."+k),e[k]=null);else{a.allPackage[d[0]]=null;window[d[0]]=null;for(var k in window)0==k.indexOf(b+"$")&&(a.unloadClass(k),window[k]=null)}if(a.allClasses[b])for(k in a.allClasses[b]=!1,a.allClasses)0==k.indexOf(b+"$")&&(a.allClasses[k]=!1);for(var l in c)gb(c[l]);for(l in c.prototype)gb(c.prototype[l]);a._Loader&&a._Loader.unloadClassExt(b);return!0}return!1};var gb=function(a){a&&("function"==typeof a&&a.lastMethod&&a.lastParams&&a.lastClaxxRef)&&(a.lastMethod=
  null,a.lastParams=null,a.lastClaxxRef=null)}}a._Loader=a.ClazzLoader=function(){};var w=function(){this.parents=[];this.musts=[];this.optionals=[];this.onLoaded=this.path=this.name=this.declaration=null;this.status=0;this.random=0.13412};(function(a,b){b._checkLoad=p._checkLoad;b.updateNodeForFunctionDecoration=function(a){(a=G(a))&&a.status==w.STATUS_KNOWN&&window.setTimeout(function(a){return function(){updateNode(a)}}(a),1)};w.prototype.toString=function(){return this.name||this.path||"ClazzNode"};
  w.STATUS_UNKNOWN=0;w.STATUS_KNOWN=1;w.STATUS_CONTENT_LOADED=2;w.STATUS_MUSTS_LOADED=3;w.STATUS_DECLARED=4;w.STATUS_LOAD_COMPLETE=5;var c=[];b.requireLoaderByBase=function(a){for(var d=0;d<c.length;d++)if(c[d].base==a)return c[d];d=new b;d.base=a;c.push(d);return d};var d=new w,e={},h=0,k=6,l=navigator.userAgent.toLowerCase(),r=-1!=l.indexOf("opera"),s=-1!=l.indexOf("msie")&&!r,t=-1!=l.indexOf("gecko");if(r&&(k=1,r=l.indexOf("opera/"),-1!=r)){var g=9;try{g=parseFloat(l.subString(r+6))}catch(C){}9.6<=
  g&&(k=6)}var B;self.Clazz&&a.isClassDefined?isClassDefined=a.isClassDefined:(B={},isClassDefined=function(a){return!0==B[a]});var E=function(a){if(!a||0==a.length)return[];for(var b=null,c=0;c<a.length;c++)if(a[c]){if("$"==a[c].charAt(0))if("."==a[c].charAt(1)){if(!b)continue;var d=b.lastIndexOf(".");-1!=d&&(b=b.substring(0,d),a[c]=b+a[c].substring(1))}else a[c]="org.eclipse.s"+a[c].substring(1);b=a[c]}return a},D=[],N={},I=0;b.loadPackageClasspath=function(a,c,d,e,g,j){g||(g=0);e||(e=null);j||(j=
  0);var h=d&&N["@"+a];if(0==g&&(d&&!N["@java"]&&0!=a.indexOf("java")&&L("java"))&&(b.loadPackage("java",e?function(){b.loadPackageClasspath(a,c,d,e,1)}:null),e))return;if(a instanceof Array)if(E(a),e)j<a.length?b.loadPackageClasspath(a[j],c,d,function(){b.loadPackageClasspath(a,c,d,e,1,j+1)},1):e();else for(h=0;h<a.length;h++)b.loadPackageClasspath(a[h],c,d,null);else{switch(a){case "java.*":a="java";case "java":c&&(g="@net.sf.j2s.ajax",N[g]||(N[g]=c),g="@net.sf.j2s",N[g]||(N[g]=c));break;case "swt":a=
  "org.eclipse.swt";break;case "ajax":a="net.sf.j2s.ajax";break;case "j2s":a="net.sf.j2s";break;default:a.lastIndexOf(".*")==a.length-2&&(a=a.substring(0,a.length-2))}c&&(N["@"+a]=c);d&&!h&&!window[a+".registered"]?(I++,"java"==a&&(a="core"),b.loadClass(a+".package",function(){0==--I&&Ca()},!0,!0,1)):e&&e()}};a.loadClass=function(c,d,e){self.Class||(Class=a,Class.forName=a._4Name,JavaObject=a._O);return c&&b.loadClass(c,d,!0,e,1)};b.loadClass=function(c,g,h,k,l){l||(l=0);null==k&&(k=!1);if("boolean"==
  typeof g)return a.evalType(c);System.out.println("loadClass "+c);L("java")&&b.loadPackage("java");L("core")&&b.loadPackage("core");b.keepOnLoading=!0;if(!h&&(I&&c.lastIndexOf(".package")!=c.length-8||0!=c.indexOf("java.")&&!isClassDefined(ua)))xa.push([c,g]),System.out.println("loadclass-queuing"+c+ua+" "+isClassDefined(ua));else if((l=isClassDefined(c))||X["@"+c]){if(l&&g&&(h=G(c),!h||h.status>=w.STATUS_LOAD_COMPLETE))k?window.setTimeout(g,25):g()}else{var m=b.getClasspathFor(c);l=e[m];if(!l)for(k=
  D.length;0<=--k;)if(D[k].path==m||D[k].name==c){l=!0;break}if(l){if(g&&(l=G(c)))if(l.onLoaded){if(g!=l.onLoaded){var p=l.onLoaded,r=g;l.onLoaded=function(){p();r()}}}else l.onLoaded=g}else{l=a.unloadedClasses[c]&&G(c)||new w;l.name=c;l.path=m;l.isPackage=m.lastIndexOf("package.js")==m.length-10;Q(m,c,l);l.onLoaded=g;l.status=w.STATUS_KNOWN;c=!1;for(k=D.length;0<=--k;)if(D[k].status!=w.STATUS_LOAD_COMPLETE){c=!0;break}if(l.isPackage){for(k=D.length;0<=--k&&!D[k].isPackage;)D[k+1]=D[k];D[++k]=l}else c&&
  D.push(l);if(!c){var s=!1;g&&(s=ha,ha=!0);h&&(g=null);Ia(d,l,!0);U(l,l.path,l.requiredBy,!1,g?function(){ha=s;g()}:null)}}}};var L=function(a){return null!=window[a+".registered"]&&!N["@"+a]};b.loadPackage=function(a,c){c||(c=null);window[a+".registered"]=!1;b.loadPackageClasspath(a,b.J2SLibBase||(b.J2SLibBase=b.getJ2SLibBase()||"j2s/"),!0,c)};b.jarClasspath=function(a,b){b instanceof Array||(b=[classes]);E(b);for(var c=b.length;0<=--c;)N["#"+b[c]]=a;N["$"+a]=b};b.registerPackages=function(c,d){for(var e=
  b.getClasspathFor(c+".*",!0),g=0;g<d.length;g++)window.Clazz&&a.declarePackage(c+"."+d[g]),b.loadPackageClasspath(c+"."+d[g],e)};b.getClasspathFor=function(c,d,g){var e=N["#"+c];if(!e||d||g){var h,k;if(e){if(c=c.replace(/\./g,"/"),0<=(k=e.lastIndexOf(c))||0<=(k=c.lastIndexOf("/"))&&0<=(k=e.lastIndexOf(c.substring(0,k))))h=e.substring(0,k)}else{for(k=c.length+2;0<=(k=c.lastIndexOf(".",k-2))&&!(h=N["@"+c.substring(0,k)]););d||(c=c.replace(/\./g,"/"))}null==h&&(h=window.Clazz&&a.binaryFolders&&a.binaryFolders.length?
  a.binaryFolders[0]:b.binaryFolders&&b.binaryFolders.length?b.binaryFolders[0]:"j2s");e=(h.lastIndexOf("/")==h.length-1?h:h+"/")+(d?"":c.lastIndexOf("/*")==c.length-2?c.substring(0,k+1):c+(!g?".js":"."!=g.charAt(0)?"."+g:g))}return e};b.ignore=function(){var a=1==arguments.length&&arguments[0]instanceof Array?a=arguments[0]:null,b=a?a.length:arguments.length;if(!a)for(var a=Array(b),c=0;c<b;c++)a[c]=arguments[c];E(a);for(c=0;c<b;c++)X["@"+a[c]]=1};b.onScriptLoading=function(){};b.onScriptLoaded=function(){};
  b.onScriptInitialized=function(){};b.onScriptCompleted=function(){};b.onClassUnloaded=function(){};b.onGlobalLoaded=function(){};b.keepOnLoading=!0;var K={},X={},S=function(c,d,e){try{eval(e+";//# sourceURL="+c)}catch(g){if(a._isQuiet)return;c="[Java2Script] The required class file \n\n"+c+(0==e.indexOf("[Exception")&&e.indexOf("data: no")?"\nwas not found.\n":"\ncould not be loaded. Script error: "+g.message+" \n\ndata:\n\n"+e)+"\n\n"+a.getStackTrace();alert(c);a.alert(c);throw g;}b.onScriptLoaded(c,
  !1);ta(d)},T=function(a){return function(){if("interactive"!=a.readyState){try{a.parentNode&&a.parentNode.removeChild(a)}catch(b){}a=null}}},V=function(a){window["j2s.script.debugging"]||window.setTimeout(T(a),1)};a._4Name=function(c,d,e){if(a.isClassDefined(c))return a.evalType(c);d=p._isAsync&&d?d._restoreState(c,e):null;if(1==d)return null;if(b.setLoadingMode(d?b.MODE_SCRIPT:"xhr.sync"))return b.loadClass(c,d,!1,!0,1),null;b.loadClass(c);return a.evalType(c)};a.currentPath="";var U=function(c,
  d,g,k,l){a.currentPath=d;k&&alert("WHY>>");e[d]=!0;Ma(D,d);W=!0;M=!1;b._checkLoad&&System.out.println("\t"+d+(g?"\n -- required by "+g:"")+"  ajax="+W+" async="+M);g=d;a._debugging&&(d=d.replace(/\.z\.js/,".js"));b.onScriptLoading(d);if(W&&!M){k=p._getFileData(d);try{S(d,g,k)}catch(m){alert(m+" loading file "+d+" "+c.name+" "+a.getStackTrace())}l&&l()}else System.out.println("for file "+d+" fSuccess = "+(l?l.toString():"")),c={dataType:"script",async:!0,type:"GET",url:d,success:$(d,!1,l),error:$(d,
  !0,l)},h++,p.$ajax(c)},$=function(c,d,e){a.getStackTrace();return function(){t&&this.timeoutHandle&&(window.clearTimeout(this.timeoutHandle),this.timeoutHandle=null);0<h&&h--;this.onerror=this.onload=null;d&&alert("There was a problem loading "+c);b.onScriptLoaded(c,!0);var a=this,g;g=e?function(){V(a);ta(c,e)}:function(){V(a);ta(c)};0<=Y?window.setTimeout(function(){ta(c,g)},Y):ta(c,g)}},ha=!0,aa=!1,ta=function(c,g){var l=K["@"+c];if(l){var m,p=N["$"+c];if(p)for(var r=0;r<p.length;r++){var t=p[r];
  if(t!=l.name&&(m=G(t)))m.status<w.STATUS_CONTENT_LOADED&&(m.status=w.STATUS_CONTENT_LOADED,updateNode(m));else{m=new w;m.name=t;var u=N["#"+t];u||(alert(t+" J2S error in tryToLoadNext"),error("Java2Script implementation error! Please report this bug!"));m.path=u;Q(m.path,t,m);m.status=w.STATUS_CONTENT_LOADED;Ia(d,m,!1);updateNode(m)}}if(l instanceof Array)for(r=0;r<l.length;r++)l[r].status<w.STATUS_CONTENT_LOADED&&(l[r].status=w.STATUS_CONTENT_LOADED,updateNode(l[r]));else if(l.status<w.STATUS_CONTENT_LOADED){m=
  !1;p=document.getElementsByTagName("SCRIPT");for(r=0;r<p.length;r++)if(s){if(p[r].onreadystatechange&&p[r].onreadystatechange.path==l.path&&"interactive"==p[r].readyState){m=!0;break}}else if(p[r].onload&&p[r].onload.path==l.path){m=!0;break}m||(l.status=w.STATUS_CONTENT_LOADED,updateNode(l))}if(b.keepOnLoading){r=!0;if(m=Ha(w.STATUS_KNOWN))for(ia(m);h<k&&(m=Ha(w.STATUS_KNOWN));)ia(m);else if(0!=D.length)m=D.shift(),!e[m.path]||0!=D.length||!ha||m.musts.length||m.optionals.length?(Ia(d,m,!0),U(m,
  m.path,m.requiredBy,!1)):ha&&(ha=!1);else if(m=H(w.STATUS_KNOWN))for(ia(m);h<k&&(m=H(w.STATUS_KNOWN));)ia(m);else r=!1;if(!(r||0<h)){l=[Ha,H];p=null;for(r=0;2>r;r++)for(;m=l[r](w.STATUS_CONTENT_LOADED);)1==r&&p===m&&(m.status=w.STATUS_LOAD_COMPLETE),updateNode(m),p=m;for(;!(la=[],!ma(d,c)););for(r=0;2>r;r++)for(p=null;(m=l[r](w.STATUS_DECLARED))&&p!==m;)updateNode(p=m);p=[];for(r=0;2>r;r++)for(;m=l[r](w.STATUS_DECLARED);)p.push(m),m.status=w.STATUS_LOAD_COMPLETE;if(p.length){for(r=0;r<p.length;r++)va(p[r]);
  for(r=0;r<p.length;r++)if(l=p[r].onLoaded)p[r].onLoaded=null,l()}if(g)g();else if(b._classCountPending)for(t in b._classPending){if(m=G(t),System.out.println("class left pending "+t+" "+m),m){updateNode(m);break}}else b._checkLoad&&(System.out.println("I think I'm done: SAEM call count: "+Wa),a.showDuplicates(!0));b.onGlobalLoaded()}}}},la=[],ma=function(a,c){var d=la,g=d.length;d.push(a);for(var e=g;0<=--e&&!(d[e]===a&&d[e].status>=w.STATUS_DECLARED););if(0<=e){if(b._checkLoad){var j;System.out.println("cycle found loading "+
  c+" for "+a)}for(;e<g;e++){var h=d[e];h.status=w.STATUS_LOAD_COMPLETE;va(h);for(j=0;j<h.parents.length;j++)updateNode(h.parents[j]);h.parents=[];var k=h.onLoaded;b._checkLoad&&(j="cycle setting status to LOAD_COMPLETE for "+h.name+(k?" firing "+k.toString():""),System.out.println(j));k&&(h.onLoaded=null,k())}d.length=0;return!0}h=[a.musts,a.optionals];for(j=0;2>j;j++){k=h[j];for(e=k.length;0<=--e;)if(k[e].status==w.STATUS_DECLARED&&ma(k[e],c))return!0}d.length=g;return!1};b._classCountPending=0;b._classCountOK=
  0;b._classPending={};b.showPending=function(){var a=[],c;for(c in b._classPending){var d=G(c);d?(a.push(d),System.out.println(na("","",d,"",0))):alert("No node for "+c)}return a};var na=function(a,b,c,d,e){b+="--"+c.name;a+=b+"\n";if(5<e)return a+(d+" ...\n");d+="\t";a+=d+"status: "+c.status+"\n";if(c.parents&&c.parents.length&&c.parents[0]&&c.parents[0].name){a+=d+"parents: "+c.parents.length+"\n";for(var g=0;g<c.parents.length;g++)a=na(a,b,c.parents[g],d+"\t",e+1);a+="\n"}return a};updateNode=function(a){if(!a.name||
  a.status>=w.STATUS_LOAD_COMPLETE)va(a);else{var c=!0;if(a.musts.length&&a.declaration)for(var d=a.musts.length,e=d;0<=--e;){var g=a.musts[e];g.requiredBy=a;if(g.status<w.STATUS_DECLARED&&isClassDefined(g.name)){var j=[];g.status=w.STATUS_LOAD_COMPLETE;va(g);if(g.declaration&&g.declaration.clazzList){for(var h=0,k=g.declaration.clazzList,l=k.length;h<l;h++){var m=G(k[h]);m&&(m.status!=w.STATUS_LOAD_COMPLETE&&m!==g)&&(m.status=g.status,m.declaration=null,va(m),m.onLoaded&&j.push(m))}g.declaration=null}g.onLoaded&&
  j.push(g);for(h=0;h<j.length;h++)if(k=j[h].onLoaded)j[h].onLoaded=null,k()}else g.status==w.STATUS_CONTENT_LOADED&&updateNode(g),g.status<w.STATUS_DECLARED&&(c=!1);a.musts.length!=d&&(e=d=a.musts.length,c=!0)}if(c){if(a.status<w.STATUS_DECLARED){if(e=a.declaration)e(),e.executed=!0;b._checkLoad&&b._classPending[a.name]&&(delete b._classPending[a.name],b._classCountOK,b._classCountPending--);a.status=w.STATUS_DECLARED;B&&(B[a.name]=!0);b.onScriptInitialized(a.path);if(a.declaration&&a.declaration.clazzList){h=
  0;k=a.declaration.clazzList;for(l=k.length;h<l;h++)if((m=G(k[h]))&&m.status!=w.STATUS_DECLARED&&m!==a)m.status=w.STATUS_DECLARED,B&&(B[m.name]=!0),b.onScriptInitialized(m.path)}}c=w.STATUS_DECLARED;if(0==a.optionals.length&&0==a.musts.length||a.status>w.STATUS_KNOWN&&!a.declaration||sa(a.musts,w.STATUS_LOAD_COMPLETE)&&sa(a.optionals,w.STATUS_LOAD_COMPLETE)){c=w.STATUS_LOAD_COMPLETE;if(!$a(a,c))return!1;if(a.declaration&&a.declaration.clazzList){h=0;k=a.declaration.clazzList;for(l=k.length;h<l;h++)if((m=
  G(k[h]))&&m.status!=c&&m!==a)if(m.declaration=null,!$a(m,c))return!1}}if(a.parents&&a.parents.length){for(e=0;e<a.parents.length;e++)h=a.parents[e],h.status<c&&updateNode(h,h.name);c==w.STATUS_LOAD_COMPLETE&&(a.parents=[])}}}};var sa=function(a,b){for(var c=a.length;0<=--c;)if(a[c].status<b)return!1;return!0},$a=function(a,c){a.status=c;b.onScriptCompleted(a.path);var d=a.onLoaded;if(d&&(a.onLoaded=null,d(),!b.keepOnLoading))return!1;va(a);return!0},ab={"r0.13412":1},za=function(){for(;;){var a=Math.random(),
  b="r"+a;if(!ab[b])return ab[b]=1,d.random=a}},G=function(a){za();return Ba(a,d)},H=function(a){za();return Aa(d,a)},Ha=function(a){return qa(d,a)},Ba=function(a,b){var c;return b.name==a?b:(c=Za(a,b.musts))||(c=Za(a,b.optionals))?c:null},Za=function(a,b){for(var c=d.random,g=b.length;0<=--g;){var e=b[g];if(e.name==a||e.random!=c&&(e.random=c,e=Ba(a,e)))return e}return null},ya=function(a,b){return a.status==b&&(b!=w.STATUS_KNOWN||!e[a.path])&&(b==w.STATUS_DECLARED||!isClassDefined(a.name))},qa=function(a,
  b){for(var c=a.musts.length;0<=--c;){var d=a.musts[c];if(ya(d,b)||(d=qa(d,b)))return d}return ya(a,b)?a:null},Aa=function(a,b){var c;return(c=oa(a.musts,b))||(c=oa(a.optionals,b))||ya(c=a,b)?c:null},oa=function(a,b){if(a)for(var c=d.random,e=0;e<a.length;e++){var g=a[e];if(ya(g,b)||g.random!=c&&(g.random=c,g=Aa(g,b)))return g}return null},R={},da=function(a,c,g,e){if(c instanceof Array){E(c);for(var h=0;h<c.length;h++)da(a,c[h],g,e,c)}else{b._checkLoad&&!b._classPending[c]&&(b._classPending[c]=1,
  0==b._classCountPending++&&(b._classCountOK=0),System.out.println("Loading class "+c));h=K["#"+c];h||(h=(h=G(c))?h:new w,h.name=c,h.path=N["#"+c]||"unknown",Q(h.path,c,h),h.status=w.STATUS_KNOWN,Ia(d,h,!1));ca(h,a,!0);5==arguments.length&&e&&(e.status=h.status,e.clazzList=arguments[4]);if(h.declaration=e)h.status=w.STATUS_CONTENT_LOADED;ca(h,g,!1)}},ca=function(a,b,c){if(b&&b.length){E(b);for(var d=0;d<b.length;d++){var e=b[d];if(e&&!isClassDefined(e)&&!X["@"+e]){var g=G(e);g||(g=new w,g.name=e,g.status=
  w.STATUS_KNOWN);g.requiredBy=a;Ia(a,g,c)}}}};window.Clazz?a.load=da:b.load=da;var Q=function(a,b,c){var d="@"+a;if(a=K[d])if(a instanceof Array){for(var d=!1,e=0;e<a.length;e++)if(a[e].name==b){d=!0;break}d||a.push(c)}else K[d]=[a,c];else K[d]=c;K["#"+b]=c},ia=function(a){var c=a.name;if(!isClassDefined(c)&&!X["@"+c]){var d=b.getClasspathFor(c);a.path=d;Q(d,c,a);if(!e[d])return U(a,d,a.requiredBy,!1),!0}return!1},ua=b.runtimeKeyClass="java.lang.String",xa=[];b.getJ2SLibBase=function(){var a=window["j2s.lib"];
  return a?a.base+("."==a.alias?"":(a.alias?a.alias:a.version?a.version:"1.0.0")+"/"):null};var M=!0,W=!1,Y=-1;b.MODE_SCRIPT=4;b.MODE_XHR=2;b.MODE_SYNC=1;b.setLoadingMode=function(a,c){var d=!0,e=!0;"string"==typeof a?(a=a.toLowerCase(),0<=a.indexOf("script")?e=!1:a.indexOf("async"),d=!1):a&b.MODE_SCRIPT?e=!1:d=!(a&b.MODE_SYNC);W=e;Y=(M=d)&&0<=c?c:-1;return d};var Ca=function(){if(!I&&isClassDefined(ua)){for(var a=xa,c=0;c<a.length;c++)b.loadClass(a[c][0],a[c][1]);xa=[]}};b.loadZJar=function(a,c){var d=
  null,e=c instanceof Array;e?c=c[c.length-1]:d=c==ua?Ca:null;b.jarClasspath(a,e?c:[c]);b.loadClass(c,d,!0)};var Da={},Na=[],Ia=function(a,b,c){var e=!1;c?(c=a.musts,b.requiredBy||(b.requiredBy=a)):c=a.optionals;Da[b.name]||(Na.push(b),Da[b.name]=b);for(var g=0;g<c.length;g++)if(c[g].name==b.name){e=!0;break}e||(c.push(b),ha&&(0!=b.name.indexOf("java")&&0!=b.name.indexOf("net.sf.j2s.ajax"))&&(aa&&(ha=!1),aa=!0));a:{if(a.name&&a!=d&&a!=b)for(e=0;e<b.parents.length;e++)if(b.parents[e].name==a.name)break a;
  b.parents.push(a)}},va=function(a){var b=a.parents;if(b)for(var c=b.length;0<=--c;)Ma(b[c].musts,a)||Ma(b[c].optionals,a)};b.unloadClassExt=function(a){B&&(B[a]=!1);if(N["#"+a]){var c=N["#"+a];N["#"+a]=null;var d=N["$"+c];Ma(d,a)&&(N["$"+c]=d)}if(c=G(a))c.status=w.STATUS_KNOWN,e[c.path]=!1;c=b.getClasspathFor(a);e[c]=!1;R[c]&&(R[c]=!1);b.onClassUnloaded(a)};a.binaryFolders=b.binaryFolders=[b.getJ2SLibBase()]})(a,a._Loader);a._LoaderProgressMonitor={};var $=a._LoaderProgressMonitor,la=null,L=0,T=null,
  ma=0;$.DEFAULT_OPACITY=p&&p._j2sLoadMonitorOpacity?p._j2sLoadMonitorOpacity:55;$.hideMonitor=function(){T.style.display="none"};$.showStatus=function(a,b){if(!T){var c=document.createElement("DIV");c.id="_Loader-status";c.style.cssText="position:absolute;bottom:4px;left:4px;padding:2px 8px;z-index:"+(window["j2s.lib"].monitorZIndex||1E4)+";background-color:#8e0000;color:yellow;font-family:Arial, sans-serif;font-size:10pt;white-space:nowrap;";c.onmouseover=vb;T=c;document.body.appendChild(c);lb||(lb=
  !0)}ib(T);if(null==a)b?na():$.hideMonitor();else{T.appendChild(document.createTextNode(""+a));"none"==T.style.display&&(T.style.display="");kb($.DEFAULT_OPACITY);var d,c=navigator.userAgent;d=document.body;var e=d.parentNode,h=e.clientHeight;d=d.scrollTop+d.offsetTop;var k=e.scrollTop+e.offsetTop,c=0>c.indexOf("Opera")&&document.all?0==h?d:k:0>c.indexOf("Gecko")?h==e.offsetHeight&&h==e.scrollHeight?d:k:d;ma!=c&&(ma=c,T.style.bottom=ma+4+"px");b&&na()}};var ib=function(a){if(a)for(var b=a.childNodes.length;0<=
  --b;){var c=a.childNodes[b];if(c){c.childNodes&&c.childNodes.length&&ib(c);try{a.removeChild(c)}catch(d){}}}},kb=function(a){la&&a==$.DEFAULT_OPACITY&&(window.clearTimeout(la),la=null);L=a;navigator.userAgent.toLowerCase();T.style.filter="Alpha(Opacity="+a+")";T.style.opacity=a/100},vb=function(){$.hideMonitor()},lb=!1,na=function(){"none"!=T.style.display&&(L==$.DEFAULT_OPACITY?(la=window.setTimeout(function(){na()},750),L-=5):0<=L-10?(kb(L-10),la=window.setTimeout(function(){na()},40)):T.style.display=
  "none")},C=a.Console,U=System;C.maxTotalLines=1E4;C.setMaxTotalLines=function(a){C.maxTotalLines=0<a?a:999999};C.maxLatency=40;C.setMaxLatency=function(a){C.maxLatency=0<a?a:40};C.pinning=!1;C.enablePinning=function(a){C.pinning=a};C.linesCount=0;C.metLineBreak=!1;C.createConsoleWindow=function(){var a=document.createElement("DIV");a.style.cssText="font-family:monospace, Arial, sans-serif;";document.body.appendChild(a);return a};var aa=String.fromCharCode(160),aa=aa+(aa+aa+aa);C.consoleOutput=function(a,
  b){var c=window["j2s.lib"];(c=c&&c.console)&&"string"==typeof c&&(c=document.getElementById(c));if(!c)return!1;if(C.linesCount>C.maxTotalLines){for(var d=0;d<C.linesCount-C.maxTotalLines;d++)c&&0<c.childNodes.length&&c.removeChild(c.childNodes[0]);C.linesCount=C.maxTotalLines}var e=!1;a=("undefined"==typeof a?"":null==a?"null":""+a).replace(/\t/g,aa);if(0<a.length)switch(a.charAt(a.length-1)){case "\n":case "\r":a=1<a.length?a.substring(0,a.length-("\r"==a.charAt(a.length-2)?2:1)):"",e=!0}var h=null;
  a=a.replace(/\t/g,aa);for(var h=a.split(/\r\n|\r|\n/g),d=0,k=h.length-1;d<=k;d++){var l=null;if(C.metLineBreak||0==C.linesCount||1>c.childNodes.length)l=document.createElement("DIV"),c.appendChild(l),l.style.whiteSpace="nowrap",C.linesCount++;else try{l=c.childNodes[c.childNodes.length-1]}catch(p){l=document.createElement("DIV"),c.appendChild(l),l.style.whiteSpace="nowrap",C.linesCount++}var r=document.createElement("SPAN");l.appendChild(r);r.style.whiteSpace="nowrap";b&&(r.style.color=b);l=h[d];
  0==l.length&&(l=aa);r.appendChild(document.createTextNode(l));C.pinning||(c.scrollTop+=100);C.metLineBreak=d!=k||e}d=c.parentNode.className;!C.pinning&&(d&&-1!=d.indexOf("composite"))&&(c.parentNode.scrollTop=c.parentNode.scrollHeight);C.lastOutputTime=(new Date).getTime()};C.clear=function(){try{C.metLineBreak=!0;var a=window["j2s.lib"],b=a&&a.console;if(b&&(b=document.getElementById(b))){for(var c=b.childNodes,d=c.length;0<=--d;)b.removeChild(c[d]);C.linesCount=0}}catch(e){}};a.alert=function(a){C.consoleOutput(a+
  "\r\n")};U.out.print=function(a){C.consoleOutput(a)};U.out.println=function(a){C.consoleOutput("undefined"==typeof a?"\r\n":null==a?"null\r\n":a+"\r\n")};U.out.write=function(a,b,c){U.out.print(String.instantialize(a).substring(b,b+c))};U.err.__CLASS_NAME__="java.io.PrintStream";U.err.print=function(a){C.consoleOutput(a,"red")};U.err.println=function(a){C.consoleOutput("undefined"==typeof a?"\r\n":null==a?"null\r\n":a+"\r\n","red")};U.err.write=function(a,b,c){U.err.print(String.instantialize(a).substring(b,
  b+c))}}(Clazz,Jmol))};Jmol.___JmolDate="$Date: 2015-12-01 21:40:42 -0600 (Tue, 01 Dec 2015) $";Jmol.___fullJmolProperties="src/org/jmol/viewer/Jmol.properties";Jmol.___JmolVersion="14.4.0_2015.12.02";
  