forked from seehuhn/jvjsdoc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathjsdoc.js
72 lines (72 loc) · 36.7 KB
/
jsdoc.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
function h(a){throw a;}var i=void 0,j=!0,l=null,n=!1,q,r=this;function aa(){}
function ba(a){var b=typeof a;if("object"==b)if(a){if(a instanceof Array)return"array";if(a instanceof Object)return b;var c=Object.prototype.toString.call(a);if("[object Window]"==c)return"object";if("[object Array]"==c||"number"==typeof a.length&&"undefined"!=typeof a.splice&&"undefined"!=typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable("splice"))return"array";if("[object Function]"==c||"undefined"!=typeof a.call&&"undefined"!=typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable("call"))return"function"}else return"null";
else if("function"==b&&"undefined"==typeof a.call)return"object";return b}function s(a){return"array"==ba(a)}function ca(a){var b=ba(a);return"array"==b||"object"==b&&"number"==typeof a.length}function t(a){return"string"==typeof a}function da(a){return"function"==ba(a)}function ea(a){a=ba(a);return"object"==a||"array"==a||"function"==a}function u(a){return a[fa]||(a[fa]=++ha)}var fa="closure_uid_"+Math.floor(2147483648*Math.random()).toString(36),ha=0;
function ia(a,b,c){return a.call.apply(a.bind,arguments)}function ja(a,b,c){a||h(Error());if(2<arguments.length){var d=Array.prototype.slice.call(arguments,2);return function(){var c=Array.prototype.slice.call(arguments);Array.prototype.unshift.apply(c,d);return a.apply(b,c)}}return function(){return a.apply(b,arguments)}}function v(a,b,c){v=Function.prototype.bind&&-1!=Function.prototype.bind.toString().indexOf("native code")?ia:ja;return v.apply(l,arguments)}var w=Date.now||function(){return+new Date};
function x(a,b){function c(){}c.prototype=b.prototype;a.h=b.prototype;a.prototype=new c};function ka(a){if(!la.test(a))return a;-1!=a.indexOf("&")&&(a=a.replace(ma,"&"));-1!=a.indexOf("<")&&(a=a.replace(na,"<"));-1!=a.indexOf(">")&&(a=a.replace(oa,">"));-1!=a.indexOf('"')&&(a=a.replace(pa,"""));return a}var ma=/&/g,na=/</g,oa=/>/g,pa=/\"/g,la=/[&<>\"]/;function qa(a){return(""+a).replace(/([-()\[\]{}+?*.$\^|,:#<!\\])/g,"\\$1").replace(/\x08/g,"\\x08")};var y,ra,sa,ta,ua;function va(){return r.navigator?r.navigator.userAgent:l}function wa(){return r.navigator}ta=sa=ra=y=n;var xa;if(xa=va()){var ya=wa();y=0==xa.indexOf("Opera");ra=!y&&-1!=xa.indexOf("MSIE");sa=!y&&-1!=xa.indexOf("WebKit");ta=!y&&!sa&&"Gecko"==ya.product}var A=y,C=ra,D=ta,E=sa,za=wa();ua=-1!=(za&&za.platform||"").indexOf("Mac");var Aa=!!wa()&&-1!=(wa().appVersion||"").indexOf("X11"),Ba;
a:{var Ca="",Da;if(A&&r.opera)var Ea=r.opera.version,Ca="function"==typeof Ea?Ea():Ea;else if(D?Da=/rv\:([^\);]+)(\)|;)/:C?Da=/MSIE\s+([^\);]+)(\)|;)/:E&&(Da=/WebKit\/(\S+)/),Da)var Fa=Da.exec(va()),Ca=Fa?Fa[1]:"";if(C){var Ga,Ha=r.document;Ga=Ha?Ha.documentMode:i;if(Ga>parseFloat(Ca)){Ba=""+Ga;break a}}Ba=Ca}var Ia={};
function G(a){var b;if(!(b=Ia[a])){b=0;for(var c=(""+Ba).replace(/^[\s\xa0]+|[\s\xa0]+$/g,"").split("."),d=(""+a).replace(/^[\s\xa0]+|[\s\xa0]+$/g,"").split("."),f=Math.max(c.length,d.length),e=0;0==b&&e<f;e++){var g=c[e]||"",k=d[e]||"",m=RegExp("(\\d*)(\\D*)","g"),o=RegExp("(\\d*)(\\D*)","g");do{var z=m.exec(g)||["","",""],p=o.exec(k)||["","",""];if(0==z[0].length&&0==p[0].length)break;b=((0==z[1].length?0:parseInt(z[1],10))<(0==p[1].length?0:parseInt(p[1],10))?-1:(0==z[1].length?0:parseInt(z[1],
10))>(0==p[1].length?0:parseInt(p[1],10))?1:0)||((0==z[2].length)<(0==p[2].length)?-1:(0==z[2].length)>(0==p[2].length)?1:0)||(z[2]<p[2]?-1:z[2]>p[2]?1:0)}while(0==b)}b=Ia[a]=0<=b}return b}var Ja={};function H(a){return Ja[a]||(Ja[a]=C&&document.documentMode&&document.documentMode>=a)};function Ka(){}var La=0;q=Ka.prototype;q.key=0;q.H=n;q.Ba=n;q.P=function(a,b,c,d,f,e){da(a)?this.Oa=j:a&&a.handleEvent&&da(a.handleEvent)?this.Oa=n:h(Error("Invalid listener argument"));this.L=a;this.cb=b;this.src=c;this.type=d;this.capture=!!f;this.X=e;this.Ba=n;this.key=++La;this.H=n};q.handleEvent=function(a){return this.Oa?this.L.call(this.X||this.src,a):this.L.handleEvent.call(this.L,a)};function Ma(a,b){for(var c in a)b.call(i,a[c],c,a)}function Na(){var a=Oa,b;for(b in a)return n;return j}var Pa="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",");function Qa(a,b){for(var c,d,f=1;f<arguments.length;f++){d=arguments[f];for(c in d)a[c]=d[c];for(var e=0;e<Pa.length;e++)c=Pa[e],Object.prototype.hasOwnProperty.call(d,c)&&(a[c]=d[c])}};!C||H(9);var Ra=!C||H(9),Sa=C&&!G("8");!E||G("528");D&&G("1.9b")||C&&G("8")||A&&G("9.5")||E&&G("528");!D||G("8");var I=Array.prototype,J=I.indexOf?function(a,b,c){return I.indexOf.call(a,b,c)}:function(a,b,c){c=c==l?0:0>c?Math.max(0,a.length+c):c;if(t(a))return!t(b)||1!=b.length?-1:a.indexOf(b,c);for(;c<a.length;c++)if(c in a&&a[c]===b)return c;return-1},Ta=I.forEach?function(a,b,c){I.forEach.call(a,b,c)}:function(a,b,c){for(var d=a.length,f=t(a)?a.split(""):a,e=0;e<d;e++)e in f&&b.call(c,f[e],e,a)},Ua=I.filter?function(a,b,c){return I.filter.call(a,b,c)}:function(a,b,c){for(var d=a.length,f=[],e=0,g=t(a)?a.split(""):
a,k=0;k<d;k++)if(k in g){var m=g[k];b.call(c,m,k,a)&&(f[e++]=m)}return f},Va=I.map?function(a,b,c){return I.map.call(a,b,c)}:function(a,b,c){for(var d=a.length,f=Array(d),e=t(a)?a.split(""):a,g=0;g<d;g++)g in e&&(f[g]=b.call(c,e[g],g,a));return f};function Wa(a){return I.concat.apply(I,arguments)}function Xa(a){if(s(a))return Wa(a);for(var b=[],c=0,d=a.length;c<d;c++)b[c]=a[c];return b}function Ya(a,b,c,d){I.splice.apply(a,Za(arguments,1))}
function Za(a,b,c){return 2>=arguments.length?I.slice.call(a,b):I.slice.call(a,b,c)};function K(){}K.prototype.Ea=n;K.prototype.r=function(){if(!this.Ea)this.Ea=j,this.d()};K.prototype.d=function(){this.nb&&$a.apply(l,this.nb)};function ab(a){a&&"function"==typeof a.r&&a.r()}function $a(a){for(var b=0,c=arguments.length;b<c;++b){var d=arguments[b];ca(d)?$a.apply(l,d):ab(d)}};function L(a,b){this.type=a;this.currentTarget=this.target=b}x(L,K);q=L.prototype;q.d=function(){delete this.type;delete this.target;delete this.currentTarget};q.G=n;q.R=j;q.stopPropagation=function(){this.G=j};q.preventDefault=function(){this.R=n};function bb(a){bb[" "](a);return a}bb[" "]=aa;function M(a,b){a&&this.P(a,b)}x(M,L);q=M.prototype;q.target=l;q.relatedTarget=l;q.offsetX=0;q.offsetY=0;q.clientX=0;q.clientY=0;q.screenX=0;q.screenY=0;q.button=0;q.keyCode=0;q.charCode=0;q.ctrlKey=n;q.altKey=n;q.shiftKey=n;q.metaKey=n;q.yb=n;q.D=l;
q.P=function(a,b){var c=this.type=a.type;L.call(this,c);this.target=a.target||a.srcElement;this.currentTarget=b;var d=a.relatedTarget;if(d){if(D){var f;a:{try{bb(d.nodeName);f=j;break a}catch(e){}f=n}f||(d=l)}}else if("mouseover"==c)d=a.fromElement;else if("mouseout"==c)d=a.toElement;this.relatedTarget=d;this.offsetX=E||a.offsetX!==i?a.offsetX:a.layerX;this.offsetY=E||a.offsetY!==i?a.offsetY:a.layerY;this.clientX=a.clientX!==i?a.clientX:a.pageX;this.clientY=a.clientY!==i?a.clientY:a.pageY;this.screenX=
a.screenX||0;this.screenY=a.screenY||0;this.button=a.button;this.keyCode=a.keyCode||0;this.charCode=a.charCode||("keypress"==c?a.keyCode:0);this.ctrlKey=a.ctrlKey;this.altKey=a.altKey;this.shiftKey=a.shiftKey;this.metaKey=a.metaKey;this.yb=ua?a.metaKey:a.ctrlKey;this.state=a.state;this.D=a;delete this.R;delete this.G};q.stopPropagation=function(){M.h.stopPropagation.call(this);this.D.stopPropagation?this.D.stopPropagation():this.D.cancelBubble=j};
q.preventDefault=function(){M.h.preventDefault.call(this);var a=this.D;if(a.preventDefault)a.preventDefault();else if(a.returnValue=n,Sa)try{if(a.ctrlKey||112<=a.keyCode&&123>=a.keyCode)a.keyCode=-1}catch(b){}};q.d=function(){M.h.d.call(this);this.relatedTarget=this.currentTarget=this.target=this.D=l};var N={},O={},P={},Q={};
function R(a,b,c,d,f){if(b){if(s(b)){for(var e=0;e<b.length;e++)R(a,b[e],c,d,f);return l}var d=!!d,g=O;b in g||(g[b]={n:0,m:0});g=g[b];d in g||(g[d]={n:0,m:0},g.n++);var g=g[d],k=u(a),m;g.m++;if(g[k]){m=g[k];for(e=0;e<m.length;e++)if(g=m[e],g.L==c&&g.X==f){if(g.H)break;return m[e].key}}else m=g[k]=[],g.n++;e=cb();e.src=a;g=new Ka;g.P(c,e,a,b,d,f);c=g.key;e.key=c;m.push(g);N[c]=g;P[k]||(P[k]=[]);P[k].push(g);a.addEventListener?(a==r||!a.Da)&&a.addEventListener(b,e,d):a.attachEvent(b in Q?Q[b]:Q[b]=
"on"+b,e);return c}h(Error("Invalid event type"))}function cb(){var a=db,b=Ra?function(c){return a.call(b.src,b.key,c)}:function(c){c=a.call(b.src,b.key,c);if(!c)return c};return b}function eb(a,b,c,d,f){if(s(b))for(var e=0;e<b.length;e++)eb(a,b[e],c,d,f);else if(d=!!d,a=fb(a,b,d))for(e=0;e<a.length;e++)if(a[e].L==c&&a[e].capture==d&&a[e].X==f){S(a[e].key);break}}
function S(a){if(!N[a])return n;var b=N[a];if(b.H)return n;var c=b.src,d=b.type,f=b.cb,e=b.capture;c.removeEventListener?(c==r||!c.Da)&&c.removeEventListener(d,f,e):c.detachEvent&&c.detachEvent(d in Q?Q[d]:Q[d]="on"+d,f);c=u(c);f=O[d][e][c];if(P[c]){var g=P[c],k=J(g,b);0<=k&&I.splice.call(g,k,1);0==g.length&&delete P[c]}b.H=j;f.Ua=j;gb(d,e,c,f);delete N[a];return j}
function gb(a,b,c,d){if(!d.ba&&d.Ua){for(var f=0,e=0;f<d.length;f++)d[f].H?d[f].cb.src=l:(f!=e&&(d[e]=d[f]),e++);d.length=e;d.Ua=n;0==e&&(delete O[a][b][c],O[a][b].n--,0==O[a][b].n&&(delete O[a][b],O[a].n--),0==O[a].n&&delete O[a])}}function hb(a){var b,c=0,d=b==l;b=!!b;if(a==l)Ma(P,function(a){for(var e=a.length-1;0<=e;e--){var f=a[e];if(d||b==f.capture)S(f.key),c++}});else if(a=u(a),P[a])for(var a=P[a],f=a.length-1;0<=f;f--){var e=a[f];if(d||b==e.capture)S(e.key),c++}}
function fb(a,b,c){var d=O;return b in d&&(d=d[b],c in d&&(d=d[c],a=u(a),d[a]))?d[a]:l}function ib(a,b,c,d,f){var e=1,b=u(b);if(a[b]){a.m--;a=a[b];a.ba?a.ba++:a.ba=1;try{for(var g=a.length,k=0;k<g;k++){var m=a[k];m&&!m.H&&(e&=jb(m,f)!==n)}}finally{a.ba--,gb(c,d,b,a)}}return Boolean(e)}function jb(a,b){var c=a.handleEvent(b);a.Ba&&S(a.key);return c}
function db(a,b){if(!N[a])return j;var c=N[a],d=c.type,f=O;if(!(d in f))return j;var f=f[d],e,g;if(!Ra){var k;if(!(k=b))a:{k="window.event".split(".");for(var m=r;e=k.shift();)if(m[e]!=l)m=m[e];else{k=l;break a}k=m}e=k;k=j in f;m=n in f;if(k){if(0>e.keyCode||e.returnValue!=i)return j;a:{var o=n;if(0==e.keyCode)try{e.keyCode=-1;break a}catch(z){o=j}if(o||e.returnValue==i)e.returnValue=j}}o=new M;o.P(e,this);e=j;try{if(k){for(var p=[],F=o.currentTarget;F;F=F.parentNode)p.push(F);g=f[j];g.m=g.n;for(var B=
p.length-1;!o.G&&0<=B&&g.m;B--)o.currentTarget=p[B],e&=ib(g,p[B],d,j,o);if(m){g=f[n];g.m=g.n;for(B=0;!o.G&&B<p.length&&g.m;B++)o.currentTarget=p[B],e&=ib(g,p[B],d,n,o)}}else e=jb(c,o)}finally{if(p)p.length=0;o.r()}return e}d=new M(b,this);try{e=jb(c,d)}finally{d.r()}return e};function T(){}x(T,K);q=T.prototype;q.Da=j;q.sa=l;q.addEventListener=function(a,b,c,d){R(this,a,b,c,d)};q.removeEventListener=function(a,b,c,d){eb(this,a,b,c,d)};
q.dispatchEvent=function(a){var b=a.type||a,c=O;if(b in c){if(t(a))a=new L(a,this);else if(a instanceof L)a.target=a.target||this;else{var d=a,a=new L(b,this);Qa(a,d)}var d=1,f,c=c[b],b=j in c,e;if(b){f=[];for(e=this;e;e=e.sa)f.push(e);e=c[j];e.m=e.n;for(var g=f.length-1;!a.G&&0<=g&&e.m;g--)a.currentTarget=f[g],d&=ib(e,f[g],a.type,j,a)&&a.R!=n}if(n in c)if(e=c[n],e.m=e.n,b)for(g=0;!a.G&&g<f.length&&e.m;g++)a.currentTarget=f[g],d&=ib(e,f[g],a.type,n,a)&&a.R!=n;else for(f=this;!a.G&&f&&e.m;f=f.sa)a.currentTarget=
f,d&=ib(e,f,a.type,n,a)&&a.R!=n;a=Boolean(d)}else a=j;return a};q.d=function(){T.h.d.call(this);hb(this);this.sa=l};function U(a,b,c){this.Sa=a;this.S=c;this.p=b;R(b,[kb,lb,mb,nb],this);this.q=l;this.e=[];this.k=-1;this.j=0;this.C=this.f=l;this.Na={}}x(U,T);q=U.prototype;q.Ta=10;q.lb=j;q.Aa=n;q.jb=n;q.gb=n;var kb="hilite",lb="select",nb="dismiss",mb="canceldismiss";q=U.prototype;q.handleEvent=function(a){if(a.target==this.p)switch(a.type){case kb:this.o(a.da);break;case lb:ob(this);break;case mb:pb(this);break;case nb:qb(this)}};
function rb(a){var b=a.j+a.e.length-1;a.k>=a.j&&a.k<b?a.o(a.k+1):-1==a.k?a.o(a.j):a.k==b&&(a.Aa?a.o(-1):a.jb&&a.o(a.j))}function sb(a){a.k>a.j?a.o(a.k-1):a.Aa&&a.k==a.j?a.o(-1):a.jb&&(-1==a.k||a.k==a.j)&&a.o(a.j+a.e.length-1)}q.o=function(a){this.k=a;this.p.o(a);return-1!=tb(this,a)};
function ob(a){var b=tb(a,a.k);if(-1!=b){var b=a.e[b],c=a.S,d=b.toString();if(c.M){var f=ub(c,c.a.value,vb(c.a)),e=wb(c,c.a.value);c.Cb.test(d)||(d=d.replace(/[\s\xa0]+$/,"")+c.mb);c.Kb&&(0!=f&&!/^[\s\xa0]*$/.test(e[f-1])&&(d=" "+d),f==e.length-1&&(d+=" "));if(d!=e[f]){e[f]=d;d=c.a;(D||C&&G("9"))&&d.blur();d.value=e.join("");for(var g=0,k=0;k<=f;k++)g+=e[k].length;d.focus();f=g;e=c.a;d=f;xb(e)?e.selectionStart=d:C&&(g=yb(e),k=g[0],k.inRange(g[1])&&(d=zb(e,d),k.collapse(j),k.move("character",d),k.select()));
e=c.a;xb(e)?e.selectionEnd=f:C&&(g=yb(e),d=g[1],g[0].inRange(d)&&(f=zb(e,f),e=zb(e,vb(e)),d.collapse(j),d.moveEnd("character",f-e),d.select()))}}else c.a.value=d;c.wa=j;a.gb?(a.q=l,qb(a)):a.u();a.dispatchEvent({type:"update",da:b});a.gb&&a.S.update(j);return j}a.u();a.dispatchEvent({type:"update",da:l});return n}q.u=function(){this.k=-1;this.q=l;this.j+=this.e.length;this.e=[];window.clearTimeout(this.C);this.C=l;this.p.u();this.dispatchEvent("suggestionsupdate")};
function qb(a){if(!a.C)a.C=window.setTimeout(v(a.u,a),100)}q.Ma=function(){return this.C?(window.clearTimeout(this.C),this.C=l,j):n};function pb(a){a.Ma()||window.setTimeout(v(a.Ma,a),10)}q.d=function(){U.h.d.call(this);delete this.Na;this.p.r();this.S.r();this.Sa=l};q.wb=function(a,b,c){this.q==a&&this.ua(b,c)};
q.ua=function(a,b){var c=b?tb(this,this.k):-1;this.j+=this.e.length;this.e=a;for(var d=[],f=0;f<a.length;++f)d.push({id:this.j+f,data:a[f]});f=l;this.f&&(f=this.Na[u(this.f)]||this.f);this.p.kb=f;this.p.ua(d,this.q,this.f);(this.lb||0<=c)&&0!=d.length&&this.q?this.o(0<=c?this.j+c:this.j):this.k=-1;this.dispatchEvent("suggestionsupdate")};function tb(a,b){var c=b-a.j;return 0>c||c>=a.e.length?-1:c}q.ia=function(a){var b=this.S;b.ia.apply(b,arguments)};q.update=function(a){this.S.update(a)};var Ab;function Bb(a){return(a=a.className)&&"function"==typeof a.split?a.split(/\s+/):[]}function Cb(a,b){var c=Bb(a),d=Za(arguments,1),f;f=c;for(var e=0,g=0;g<d.length;g++)0<=J(f,d[g])||(f.push(d[g]),e++);f=e==d.length;a.className=c.join(" ");return f}function Db(a,b){for(var c=Bb(a),d=Za(arguments,1),f=c,e=0,g=0;g<f.length;g++)0<=J(d,f[g])&&(Ya(f,g--,1),e++);a.className=c.join(" ")};function Eb(a,b){this.x=a!==i?a:0;this.y=b!==i?b:0};function Fb(a,b,c,d){this.top=a;this.right=b;this.bottom=c;this.left=d};function Gb(a,b){this.width=a;this.height=b}Gb.prototype.floor=function(){this.width=Math.floor(this.width);this.height=Math.floor(this.height);return this};Gb.prototype.round=function(){this.width=Math.round(this.width);this.height=Math.round(this.height);return this};var Hb=!C||H(9);!D&&!C||C&&H(9)||D&&G("1.9.1");C&&G("9");function Ib(a){return a?new Jb(V(a)):Ab||(Ab=new Jb)}function Kb(){var a=document;return Lb(a)?a.querySelectorAll(".hidden"):a.getElementsByClassName?a.getElementsByClassName("hidden"):Mb()}function Lb(a){return a.querySelectorAll&&a.querySelector&&(!E||"CSS1Compat"==document.compatMode||G("528"))}
function Mb(){var a,b,c,d;a=document;if(Lb(a))return a.querySelectorAll(".hidden");if(a.getElementsByClassName){var f=a.getElementsByClassName("hidden");return f}f=a.getElementsByTagName("*");d={};for(b=c=0;a=f[b];b++){var e=a.className;"function"==typeof e.split&&0<=J(e.split(/\s+/),"hidden")&&(d[c++]=a)}d.length=c;return d}
function Nb(a,b){Ma(b,function(b,d){"style"==d?a.style.cssText=b:"class"==d?a.className=b:"for"==d?a.htmlFor=b:d in Ob?a.setAttribute(Ob[d],b):0==d.lastIndexOf("aria-",0)?a.setAttribute(d,b):a[d]=b})}var Ob={cellpadding:"cellPadding",cellspacing:"cellSpacing",colspan:"colSpan",rowspan:"rowSpan",valign:"vAlign",height:"height",width:"width",usemap:"useMap",frameborder:"frameBorder",maxlength:"maxLength",type:"type"};
function Pb(a,b,c){function d(c){c&&b.appendChild(t(c)?a.createTextNode(c):c)}for(var f=2;f<c.length;f++){var e=c[f];if(ca(e)&&!(ea(e)&&0<e.nodeType)){var g;a:{if(e&&"number"==typeof e.length){if(ea(e)){g="function"==typeof e.item||"string"==typeof e.item;break a}if(da(e)){g="function"==typeof e.item;break a}}g=n}Ta(g?Xa(e):e,d)}else d(e)}}function V(a){return 9==a.nodeType?a:a.ownerDocument||a.document}function Jb(a){this.O=a||r.document||document}q=Jb.prototype;
q.Ca=function(a,b,c){var d=this.O,f=arguments,e=f[0],g=f[1];if(!Hb&&g&&(g.name||g.type)){e=["<",e];g.name&&e.push(' name="',ka(g.name),'"');if(g.type){e.push(' type="',ka(g.type),'"');var k={};Qa(k,g);g=k;delete g.type}e.push(">");e=e.join("")}e=d.createElement(e);if(g)t(g)?e.className=g:s(g)?Cb.apply(l,[e].concat(g)):Nb(e,g);2<f.length&&Pb(d,e,f);return e};q.createElement=function(a){return this.O.createElement(a)};q.createTextNode=function(a){return this.O.createTextNode(a)};
q.appendChild=function(a,b){a.appendChild(b)};function Qb(a){for(var b;b=a.firstChild;)a.removeChild(b)}q.removeNode=function(a){return a&&a.parentNode?a.parentNode.removeChild(a):l};function Rb(a,b){var c=V(a);return c.defaultView&&c.defaultView.getComputedStyle&&(c=c.defaultView.getComputedStyle(a,l))?c[b]||c.getPropertyValue(b):""}function Sb(a,b){return Rb(a,b)||(a.currentStyle?a.currentStyle[b]:l)||a.style&&a.style[b]}function Tb(a){var a=a?9==a.nodeType?a:V(a):document,b;if(b=C)if(b=!H(9))b="CSS1Compat"!=Ib(a).O.compatMode;return b?a.body:a.documentElement}
function Ub(a){var b=a.getBoundingClientRect();if(C)a=a.ownerDocument,b.left-=a.documentElement.clientLeft+a.body.clientLeft,b.top-=a.documentElement.clientTop+a.body.clientTop;return b}
function Vb(a){if(C&&!H(8))return a.offsetParent;for(var b=V(a),c=Sb(a,"position"),d="fixed"==c||"absolute"==c,a=a.parentNode;a&&a!=b;a=a.parentNode)if(c=Sb(a,"position"),d=d&&"static"==c&&a!=b.documentElement&&a!=b.body,!d&&(a.scrollWidth>a.clientWidth||a.scrollHeight>a.clientHeight||"fixed"==c||"absolute"==c||"relative"==c))return a;return l}
function Wb(a){var b,c=V(a),d=Sb(a,"position"),f=D&&c.getBoxObjectFor&&!a.getBoundingClientRect&&"absolute"==d&&(b=c.getBoxObjectFor(a))&&(0>b.screenX||0>b.screenY),e=new Eb(0,0),g=Tb(c);if(a==g)return e;if(a.getBoundingClientRect)b=Ub(a),c=Ib(c).O,a=!E&&"CSS1Compat"==c.compatMode?c.documentElement:c.body,c=c.parentWindow||c.defaultView,a=new Eb(c.pageXOffset||a.scrollLeft,c.pageYOffset||a.scrollTop),e.x=b.left+a.x,e.y=b.top+a.y;else if(c.getBoxObjectFor&&!f)b=c.getBoxObjectFor(a),a=c.getBoxObjectFor(g),
e.x=b.screenX-a.screenX,e.y=b.screenY-a.screenY;else{b=a;do{e.x+=b.offsetLeft;e.y+=b.offsetTop;b!=a&&(e.x+=b.clientLeft||0,e.y+=b.clientTop||0);if(E&&"fixed"==Sb(b,"position")){e.x+=c.body.scrollLeft;e.y+=c.body.scrollTop;break}b=b.offsetParent}while(b&&b!=a);if(A||E&&"absolute"==d)e.y-=c.body.offsetTop;for(b=a;(b=Vb(b))&&b!=c.body&&b!=g;)if(e.x-=b.scrollLeft,!A||"TR"!=b.tagName)e.y-=b.scrollTop}return e}function Xb(a,b){"number"==typeof a&&(a=(b?Math.round(a):a)+"px");return a}
function Yb(a){if("none"!=Sb(a,"display"))return Zb(a);var b=a.style,c=b.display,d=b.visibility,f=b.position;b.visibility="hidden";b.position="absolute";b.display="inline";a=Zb(a);b.display=c;b.position=f;b.visibility=d;return a}function Zb(a){var b=a.offsetWidth,c=a.offsetHeight,d=E&&!b&&!c;return(b===i||d)&&a.getBoundingClientRect?(a=Ub(a),new Gb(a.right-a.left,a.bottom-a.top)):new Gb(b,c)}var $b=D?"MozUserSelect":E?"WebkitUserSelect":l;
function ac(a){var b=a.getElementsByTagName("*");if($b){var c="none";a.style[$b]=c;if(b)for(var a=0,d;d=b[a];a++)d.style[$b]=c}else if(C||A)if(c="on",a.setAttribute("unselectable",c),b)for(a=0;d=b[a];a++)d.setAttribute("unselectable",c)}var bc={thin:2,medium:4,thick:6};
function cc(a,b){if("none"==(a.currentStyle?a.currentStyle[b+"Style"]:l))return 0;var c=a.currentStyle?a.currentStyle[b+"Width"]:l,d;if(c in bc)d=bc[c];else if(/^\d+px?$/.test(c))d=parseInt(c,10);else{d=a.style.left;var f=a.runtimeStyle.left;a.runtimeStyle.left=a.currentStyle.left;a.style.left=c;c=a.style.pixelLeft;a.style.left=d;a.runtimeStyle.left=f;d=c}return d};function dc(a,b){this.Z=a||1;this.V=b||ec;this.ja=v(this.Gb,this);this.qa=w()}x(dc,T);dc.prototype.enabled=n;var ec=r.window;q=dc.prototype;q.i=l;q.Gb=function(){if(this.enabled){var a=w()-this.qa;if(0<a&&a<0.8*this.Z)this.i=this.V.setTimeout(this.ja,this.Z-a);else if(this.dispatchEvent(fc),this.enabled)this.i=this.V.setTimeout(this.ja,this.Z),this.qa=w()}};q.start=function(){this.enabled=j;if(!this.i)this.i=this.V.setTimeout(this.ja,this.Z),this.qa=w()};
q.stop=function(){this.enabled=n;if(this.i)this.V.clearTimeout(this.i),this.i=l};q.d=function(){dc.h.d.call(this);this.stop();delete this.V};var fc="tick";function gc(a){da(a)||(a&&"function"==typeof a.handleEvent?a=v(a.handleEvent,a):h(Error("Invalid listener argument")));return ec.setTimeout(a,20)};var Oa={},hc=l;function ic(a){a=u(a);delete Oa[a];Na()&&hc&&(ec.clearTimeout(hc),hc=l)}function jc(){hc||(hc=gc(function(){hc=l;kc()}))}function kc(){var a=w();Ma(Oa,function(b){lc(b,a)});Na()||jc()};function mc(){this.s=nc;this.Fa=this.startTime=l}x(mc,T);var nc=0;mc.prototype.F=function(){this.v("begin")};mc.prototype.N=function(){this.v("end")};mc.prototype.v=function(a){this.dispatchEvent(a)};function oc(a,b,c,d){mc.call(this);(!s(a)||!s(b))&&h(Error("Start and end parameters must be arrays"));a.length!=b.length&&h(Error("Start and end points must be the same length"));this.U=a;this.ob=b;this.duration=c;this.ya=d;this.coords=[]}x(oc,mc);q=oc.prototype;q.Ga=0;q.l=0;q.oa=l;
q.play=function(a){if(a||this.s==nc)this.l=0,this.coords=this.U;else if(1==this.s)return n;ic(this);this.startTime=a=w();-1==this.s&&(this.startTime-=this.duration*this.l);this.Fa=this.startTime+this.duration;this.oa=this.startTime;this.l||this.F();this.v("play");-1==this.s&&this.v("resume");this.s=1;var b=u(this);b in Oa||(Oa[b]=this);jc();lc(this,a);return j};q.stop=function(a){ic(this);this.s=nc;if(a)this.l=1;pc(this,this.l);this.v("stop");this.N()};
q.d=function(){this.s==nc||this.stop(n);this.v("destroy");oc.h.d.call(this)};function lc(a,b){a.l=(b-a.startTime)/(a.Fa-a.startTime);if(1<=a.l)a.l=1;a.Ga=1E3/(b-a.oa);a.oa=b;pc(a,a.l);1==a.l?(a.s=nc,ic(a),a.v("finish"),a.N()):1==a.s&&a.ra()}function pc(a,b){da(a.ya)&&(b=a.ya(b));a.coords=Array(a.U.length);for(var c=0;c<a.U.length;c++)a.coords[c]=(a.ob[c]-a.U[c])*b+a.U[c]}q.ra=function(){this.v("animate")};q.v=function(a){this.dispatchEvent(new qc(a,this))};
function qc(a,b){L.call(this,a);this.coords=b.coords;this.x=b.coords[0];this.y=b.coords[1];this.Sb=b.coords[2];this.duration=b.duration;this.l=b.l;this.Nb=b.Ga;this.state=b.s;this.Mb=b}x(qc,L);function W(a,b,c,d,f){oc.call(this,b,c,d,f);this.element=a}x(W,oc);W.prototype.fa=aa;W.prototype.ra=function(){this.fa();W.h.ra.call(this)};W.prototype.N=function(){this.fa();W.h.N.call(this)};W.prototype.F=function(){this.fa();W.h.F.call(this)};function X(a,b,c,d,f){"number"==typeof b&&(b=[b]);"number"==typeof c&&(c=[c]);W.call(this,a,b,c,d,f);(1!=b.length||1!=c.length)&&h(Error("Start and end points must be 1D"))}x(X,W);
X.prototype.fa=function(){var a=this.coords[0],b=this.element.style;if("opacity"in b)b.opacity=a;else if("MozOpacity"in b)b.MozOpacity=a;else if("filter"in b)b.filter=""===a?"":"alpha(opacity="+100*a+")"};X.prototype.show=function(){this.element.style.display=""};function rc(a,b,c){X.call(this,a,1,0,b,c)}x(rc,X);rc.prototype.F=function(){this.show();rc.h.F.call(this)};rc.prototype.N=function(){this.element.style.display="none";rc.h.N.call(this)};function sc(a,b,c){X.call(this,a,0,1,b,c)}x(sc,X);
sc.prototype.F=function(){this.show();sc.h.F.call(this)};function tc(){}(function(a){a.ka=function(){return a.vb||(a.vb=new a)}})(tc);tc.prototype.Va=0;tc.ka();var uc="StopIteration"in r?r.StopIteration:Error("StopIteration");function vc(){}vc.prototype.next=function(){h(uc)};vc.prototype.xa=function(){return this};function wc(a){if(a instanceof vc)return a;if("function"==typeof a.xa)return a.xa();if(ca(a)){var b=0,c=new vc;c.next=function(){for(;;){b>=a.length&&h(uc);if(b in a)return a[b++];b++}};return c}h(Error("Not implemented"))}
function xc(a,b,c){if(ca(a))try{Ta(a,b,c)}catch(d){d!==uc&&h(d)}else{a=wc(a);try{for(;;)b.call(c,a.next(),i,a)}catch(f){f!==uc&&h(f)}}}function yc(a,b){a=wc(a);try{for(;!b.call(i,a.next(),i,a););}catch(c){c!==uc&&h(c)}};function zc(a,b){a.setAttribute("role",b);a.Qb=b}function Ac(a,b,c){a.setAttribute("aria-"+b,c)};function Bc(a,b,c,d){this.ta=a||document.body;this.w=Ib(this.ta);this.Ab=!a;this.b=l;this.q="";this.e=[];this.I=[];this.fb=this.Y=-1;this.t=n;this.className="ac-renderer";this.va="ac-row";this.Qa="active";this.za="ac-active";this.ub="ac-highlighted";this.W=b||l;this.Jb=d!=l?d:j;this.la=n;this.Bb=c!=l?c:n;this.ma=l;this.ea=n;this.ca=0}x(Bc,T);q=Bc.prototype;q.ua=function(a,b,c){this.q=b;this.e=a;this.Y=-1;this.fb=w();this.f=c;this.I=[];Cc(this)};
q.u=function(){this.f&&Ac(this.f,"activedescendant","");if(this.t)this.t=n,this.f&&Ac(this.f,"haspopup",n),0<this.ca?(ab(this.J),this.J=new rc(this.b,this.ca),this.J.play()):this.b.style.display="none"};q.show=function(){if(!this.t)this.t=j,this.f&&(zc(this.f,"combobox"),Ac(this.f,"autocomplete","list"),Ac(this.f,"haspopup",j)),0<this.ca?(ab(this.J),this.J=new sc(this.b,this.ca),this.J.play()):this.b.style.display=""};
function Dc(a,b){var c=0<=b&&b<a.I.length?a.I[b]:i;if(a.dispatchEvent({type:"rowhilite",Rb:c})&&(0<=a.Y&&Db(a.I[a.Y],a.za,a.Qa),a.Y=b,c)){Cb(c,a.za,a.Qa);a.f&&Ac(a.f,"activedescendant",c?c.id:"");var d=a.b,f=Wb(c),e=Wb(d),g;if(C){var k=cc(d,"borderLeft");g=cc(d,"borderRight");var m=cc(d,"borderTop"),o=cc(d,"borderBottom");g=new Fb(m,g,o,k)}else k=Rb(d,"borderLeftWidth"),g=Rb(d,"borderRightWidth"),m=Rb(d,"borderTopWidth"),o=Rb(d,"borderBottomWidth"),g=new Fb(parseFloat(m),parseFloat(g),parseFloat(o),
parseFloat(k));k=f.x-e.x-g.left;f=f.y-e.y-g.top;e=d.clientHeight-c.offsetHeight;d.scrollLeft+=Math.min(k,Math.max(k-(d.clientWidth-c.offsetWidth),0));d.scrollTop+=Math.min(f,Math.max(f-e,0))}}q.o=function(a){if(-1==a)Dc(this,-1);else for(var b=0;b<this.e.length;b++)if(this.e[b].id==a){Dc(this,b);break}};
function Ec(a){if(!a.b){var b=a.w.Ca("div",{style:"display:none"});a.b=b;Cb(b,a.className);zc(b,"listbox");b.id=":"+(tc.ka().Va++).toString(36);a.w.appendChild(a.ta,b);R(b,"click",a.Ha,n,a);R(b,"mousedown",a.Ja,n,a);R(b,"mouseover",a.Ka,n,a)}}
function Cc(a){Ec(a);if(a.ea)a.b.style.visibility="hidden";if(a.Lb)a.b.style.minWidth=a.Lb.clientWidth+"px";a.I.length=0;Qb(a.b);if(!a.W||!a.W.Ob){var b=l;xc(a.e,function(a){var d=this.q,f=this.w.Ca("div",{className:this.va,id:":"+(tc.ka().Va++).toString(36)});zc(f,"option");if(!this.W||!this.W.Pb)f.innerHTML=ka(a.data.toString());d&&this.Jb&&Fc(this,f,d);Cb(f,this.va);this.I.push(f);a=f;this.ea?this.b.insertBefore(a,b):this.w.appendChild(this.b,a);b=a},a)}0==a.e.length?a.u():(a.show(),Gc(a),ac(a.b))}
function Gc(a){if(a.f&&a.Ab){var b=a.kb||a.f,c=Wb(b),d=Yb(b),b=Yb(Tb(b)),f=Yb(a.b);c.y=a.ea?c.y-f.height:c.y+d.height;(a.Bb||c.x+f.width>b.width)&&"LEFT"!=a.ma?(c.x=c.x+d.width-f.width,a.ma="RIGHT"):a.ma="LEFT";var d=a.b,e,b=Wb(d);if(c instanceof Eb)e=c.y,c=c.x;c=d.offsetLeft+(c-b.x);f=d.offsetTop+(e-b.y);b=D&&(ua||Aa)&&G("1.9");c instanceof Eb?(e=c.x,c=c.y):(e=c,c=f);d.style.left=Xb(e,b);d.style.top=Xb(c,b);if(a.ea)a.b.style.visibility="visible"}}
q.d=function(){if(this.b)eb(this.b,"click",this.Ha,n,this),eb(this.b,"mousedown",this.Ja,n,this),eb(this.b,"mouseover",this.Ka,n,this),this.w.removeNode(this.b),this.b=l,this.t=n;ab(this.J);delete this.ta;Bc.h.d.call(this)};
function Fc(a,b,c){if(3==b.nodeType){var d=l;s(c)&&1<c.length&&!a.la&&(d=Za(c,1));c=Hc(a,c);if(0!=c.length){for(var f=b.nodeValue,e=RegExp("([\\s\\S]*?)\\b("+c+")","gi"),c=[],g=0,k=e.exec(f),m=0;k;)m++,c.push(k[1]),c.push(k[2]),g=e.lastIndex,k=e.exec(f);c.push(f.substring(g));if(1<c.length){d=!a.la?1:m;for(f=0;f<d;f++)e=2*f,b.nodeValue=c[e],g=a.w.createElement("b"),g.className=a.ub,a.w.appendChild(g,a.w.createTextNode(c[e+1])),g=b.parentNode.insertBefore(g,b.nextSibling),b.parentNode.insertBefore(a.w.createTextNode(""),
g.nextSibling),b=g.nextSibling;a=Za(c,2*d);b.nodeValue=a.join("")}else d&&Fc(a,b,d)}}else for(b=b.firstChild;b;)d=b.nextSibling,Fc(a,b,c),b=d}function Hc(a,b){var c="";if(!b)return c;s(b)&&(b=Ua(b,function(a){return!/^[\s\xa0]*$/.test(a==l?"":""+a)}));a.la?s(b)?c=Va(b,qa).join("|"):(c=b.replace(/[\s\xa0]+/g," ").replace(/^\s+|\s+$/g,""),c=qa(c),c=c.replace(/ /g,"|")):s(b)?c=0<b.length?qa(b[0]):"":/^\W/.test(b)||(c=qa(b));return c}
function Ic(a,b){for(;b&&b!=a.b&&!(0<=J(Bb(b),a.va));)b=b.parentNode;return b?J(a.I,b):-1}q.Ha=function(a){var b=Ic(this,a.target);0<=b&&this.dispatchEvent({type:lb,da:this.e[b].id});a.stopPropagation()};q.Ja=function(a){a.stopPropagation();a.preventDefault()};q.Ka=function(a){a=Ic(this,a.target);0<=a&&!(300>w()-this.fb)&&this.dispatchEvent({type:kb,da:this.e[a].id})};function Jc(a){this.La=a;this.K=[]}x(Jc,K);var Kc=[];function Y(a,b,c,d){s(c)||(Kc[0]=c,c=Kc);for(var f=0;f<c.length;f++)a.K.push(R(b,c[f],d||a,n,a.La||a))}function Z(a,b,c,d,f,e){if(s(c))for(var g=0;g<c.length;g++)Z(a,b,c[g],d,f,e);else{a:{d=d||a;e=e||a.La||a;f=!!f;if(b=fb(b,c,f))for(c=0;c<b.length;c++)if(!b[c].H&&b[c].L==d&&b[c].capture==f&&b[c].X==e){b=b[c];break a}b=l}if(b)b=b.key,S(b),a=a.K,b=J(a,b),0<=b&&I.splice.call(a,b,1)}}
Jc.prototype.d=function(){Jc.h.d.call(this);Ta(this.K,S);this.K.length=0};Jc.prototype.handleEvent=function(){h(Error("EventHandler.handleEvent not implemented"))};function vb(a){var b;a:{var c=0,d=0;if(xb(a))c=a.selectionStart,d=-1;else if(C){var f=yb(a);b=f[0];f=f[1];if(b.inRange(f)){b.setEndPoint("EndToStart",f);if("textarea"==a.type){f.duplicate();c=a=b.text;for(d=n;!d;)0==b.compareEndPoints("StartToEnd",b)?d=j:(b.moveEnd("character",-1),b.text==a?c+="\r\n":d=j);b=[c.length,-1];break a}c=b.text.length;d=-1}}b=[c,d]}return b[0]}
function yb(a){var b=a.ownerDocument||a.document,c=b.selection.createRange();"textarea"==a.type?(b=b.body.createTextRange(),b.moveToElementText(a)):b=a.createTextRange();return[b,c]}function zb(a,b){if("textarea"==a.type)b=a.value.substring(0,b).replace(/(\r\n|\r|\n)/g,"\n").length;return b}function xb(a){try{return"number"==typeof a.selectionStart}catch(b){return n}};var Lc,Mc;Mc=Lc=n;var Nc=va();Nc&&(-1!=Nc.indexOf("Firefox")||-1!=Nc.indexOf("Camino")||(-1!=Nc.indexOf("iPhone")||-1!=Nc.indexOf("iPod")?Lc=j:-1!=Nc.indexOf("iPad")&&(Mc=j)));var Oc=Lc,Pc=Mc;function Qc(a,b,c,d,f){if(!C&&(!E||!G("525")))return j;if(ua&&f)return Rc(a);if(f&&!d||!c&&(17==b||18==b)||C&&d&&b==a)return n;switch(a){case 13:return!(C&&H(9));case 27:return!E}return Rc(a)}function Rc(a){if(48<=a&&57>=a||96<=a&&106>=a||65<=a&&90>=a||E&&0==a)return j;switch(a){case 32:case 63:case 107:case 109:case 110:case 111:case 186:case 59:case 189:case 187:case 188:case 190:case 191:case 192:case 222:case 219:case 220:case 221:return j;default:return n}};function Sc(a,b){a&&Tc(this,a,b)}x(Sc,T);q=Sc.prototype;q.b=l;q.$=l;q.na=l;q.aa=l;q.A=-1;q.z=-1;
var Uc={3:13,12:144,63232:38,63233:40,63234:37,63235:39,63236:112,63237:113,63238:114,63239:115,63240:116,63241:117,63242:118,63243:119,63244:120,63245:121,63246:122,63247:123,63248:44,63272:46,63273:36,63275:35,63276:33,63277:34,63289:144,63302:45},Vc={Up:38,Down:40,Left:37,Right:39,Enter:13,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,"U+007F":46,Home:36,End:35,PageUp:33,PageDown:34,Insert:45},Wc={61:187,59:186},Xc=C||E&&G("525");q=Sc.prototype;
q.rb=function(a){if(E&&(17==this.A&&!a.ctrlKey||18==this.A&&!a.altKey))this.z=this.A=-1;Xc&&!Qc(a.keyCode,this.A,a.shiftKey,a.ctrlKey,a.altKey)?this.handleEvent(a):this.z=D&&a.keyCode in Wc?Wc[a.keyCode]:a.keyCode};q.tb=function(){this.z=this.A=-1};
q.handleEvent=function(a){var b=a.D,c,d;C&&"keypress"==a.type?(c=this.z,d=13!=c&&27!=c?b.keyCode:0):E&&"keypress"==a.type?(c=this.z,d=0<=b.charCode&&63232>b.charCode&&Rc(c)?b.charCode:0):A?(c=this.z,d=Rc(c)?b.keyCode:0):(c=b.keyCode||this.z,d=b.charCode||0,ua&&63==d&&!c&&(c=191));var f=c,e=b.keyIdentifier;c?63232<=c&&c in Uc?f=Uc[c]:25==c&&a.shiftKey&&(f=9):e&&e in Vc&&(f=Vc[e]);a=f==this.A;this.A=f;b=new Yc(f,d,a,b);try{this.dispatchEvent(b)}finally{b.r()}};
function Tc(a,b,c){a.aa&&a.detach();a.b=b;a.$=R(a.b,"keypress",a,c);a.na=R(a.b,"keydown",a.rb,c,a);a.aa=R(a.b,"keyup",a.tb,c,a)}q.detach=function(){if(this.$)S(this.$),S(this.na),S(this.aa),this.aa=this.na=this.$=l;this.b=l;this.z=this.A=-1};q.d=function(){Sc.h.d.call(this);this.detach()};function Yc(a,b,c,d){d&&this.P(d,i);this.type="key";this.keyCode=a;this.charCode=b;this.repeat=c}x(Yc,M);function Zc(a,b,c,d){d=d||150;this.M=c!=l?c:j;this.T=a!=l?a:$c;this.mb=this.T.substring(0,1);a=this.M?"[\\s"+this.T+"]+":"[\\s]+";this.hb=RegExp("^"+a+"|"+a+"$","g");this.Cb=RegExp("\\s*["+this.T+"]$");this.Ra=b||"";this.zb=this.M;this.i=0<d?new dc(d):l;this.g=new Jc(this);this.ga=new Jc(this);this.Q=new Sc;this.Pa=-1}x(Zc,K);var ad=(Oc||Pc)&&!G("533.17.9"),$c=",;";q=Zc.prototype;q.Kb=j;q.pb=j;q.ib=n;q.Eb=j;q.Db=j;q.ha=l;q.a=l;q.pa="";q.B=n;q.wa=n;q.Hb=j;
q.ia=function(a){for(var b=0;b<arguments.length;b++){var c=arguments[b];ea(c)&&1==c.nodeType&&Ac(c,"haspopup",j);Y(this.g,c,"focus",this.Ia);Y(this.g,c,"blur",this.qb);if(!this.a&&(Y(this.ga,c,"keydown",this.xb),ea(c)&&1==c.nodeType)){var d;a:{var f=V(c);try{d=f&&f.activeElement;break a}catch(e){}d=l}d==c&&bd(this,c)}}};q.d=function(){Zc.h.d.call(this);this.ha!=l&&window.clearTimeout(this.ha);this.g.r();delete this.g;this.ga.r();this.Q.r()};
function cd(a,b){switch(b.keyCode){case 40:if(a.c.p.t){a.ib?sb(a.c):rb(a.c);b.preventDefault();return}if(!a.M){a.update(j);b.preventDefault();return}break;case 38:if(a.c.p.t){a.ib?rb(a.c):sb(a.c);b.preventDefault();return}break;case 9:if(a.c.p.t&&!b.shiftKey){if(a.update(),ob(a.c)&&a.zb){b.preventDefault();return}}else a.c.u();break;case 13:if(a.c.p.t){if(a.update(),ob(a.c)){b.preventDefault();b.stopPropagation();return}}else a.c.u();break;case 27:if(a.c.p.t){a.c.u();b.preventDefault();b.stopPropagation();
return}break;case 229:if(!a.B){if(!a.B)Y(a.g,a.a,"keyup",a.Ya),Y(a.g,a.a,"keypress",a.Xa),a.B=j;return}break;default:a.i&&!a.Hb&&(a.i.stop(),a.i.start())}dd(a,b)}function dd(a,b){var c=a.M&&b.charCode&&-1!=a.T.indexOf(String.fromCharCode(b.charCode));a.Eb&&c&&a.update();a.Db&&c&&ob(a.c)&&b.preventDefault()}q.sb=function(){return n};q.Ia=function(a){bd(this,a.target||l)};
function bd(a,b){var c=a.ga;Ta(c.K,S);c.K.length=0;a.c&&pb(a.c);if(b!=a.a)a.a=b,a.i&&(a.i.start(),Y(a.g,a.i,fc,a.ab)),a.pa=a.a.value,Tc(a.Q,a.a),Y(a.g,a.Q,"key",a.Za),Y(a.g,a.a,"mousedown",a.$a),C&&Y(a.g,a.a,"keypress",a.Wa)}q.qb=function(){ad?this.ha=window.setTimeout(v(this.bb,this),0):this.bb()};
q.bb=function(){if(this.a)Z(this.g,this.Q,"key",this.Za),this.Q.detach(),Z(this.g,this.a,"keyup",this.sb),Z(this.g,this.a,"mousedown",this.$a),C&&Z(this.g,this.a,"keypress",this.Wa),this.B&&ed(this),this.a=l,this.i&&(this.i.stop(),Z(this.g,this.i,fc,this.ab)),this.c&&qb(this.c)};q.ab=function(){this.update()};q.xb=function(a){this.Ia(a)};q.Za=function(a){this.Pa=a.keyCode;this.c&&cd(this,a)};q.Xa=function(){this.B&&229!=this.Pa&&ed(this)};
q.Ya=function(a){this.B&&(13==a.keyCode||77==a.keyCode&&a.ctrlKey)&&ed(this)};q.$a=function(){};function ed(a){if(a.B)a.B=n,Z(a.g,a.a,"keypress",a.Xa),Z(a.g,a.a,"keyup",a.Ya)}q.Wa=function(a){dd(this,a)};
q.update=function(a){if(this.a&&(a||this.a.value!=this.pa)){if(a||!this.wa){var b,a=vb(this.a);b=this.a.value;a=wb(this,b)[ub(this,b,a)];b=this.hb?(""+a).replace(this.hb,""):a;if(this.c&&(this.c.f=this.a,a=this.c,a.q!=b)){a.q=b;b=a.Sa;var c=a.q,d=a.Ta,f=v(a.wb,a),e=fd(b,c,d);0==e.length&&b.Ib&&(e=gd(b,c,d));f(c,e);pb(a)}}this.pa=this.a.value}this.wa=n};function ub(a,b,c){a=wb(a,b);if(c==b.length)return a.length-1;for(var d=b=0,f=0;d<a.length&&f<=c;d++)f+=a[d].length,b=d;return b}
function wb(a,b){if(!a.M)return[b];for(var c=(""+b).split(""),d=[],f=[],e=0,g=n;e<c.length;e++)if(a.Ra&&-1!=a.Ra.indexOf(c[e])){if(a.pb&&!g)d.push(f.join("")),f.length=0;f.push(c[e]);g=!g}else!g&&-1!=a.T.indexOf(c[e])?(f.push(c[e]),d.push(f.join("")),f.length=0):f.push(c[e]);d.push(f.join(""));return d};function hd(a,b){this.e=a;this.Ib=!b}function fd(a,b,c){var d=[];if(""!=b){var b=qa(b),f=RegExp("(^|\\W+)"+b,"i");yc(a.e,function(a){(""+a).match(f)&&d.push(a);return d.length>=c})}return d}
function gd(a,b,c){var d=[];xc(a.e,function(a,c){var f=b.toLowerCase(),m=(""+a).toLowerCase(),o=0;if(-1!=m.indexOf(f))o=parseInt((m.indexOf(f)/4).toString(),10);else for(var z=f.split(""),p=-1,F=10,B=0,ga;ga=z[B];B++)ga=m.indexOf(ga),ga>p?(p=ga-p-1,p>F-5&&(p=F-5),o+=p,p=ga):(o+=F,F+=5);o<6*f.length&&d.push({Fb:a,eb:o,index:c})});d.sort(function(a,b){var c=a.eb-b.eb;return 0!=c?c:a.index-b.index});for(var a=[],f=0;f<c&&f<d.length;f++)a.push(d[f].Fb);return a};function id(a,b,c,d){a=new hd(a,!d);d=new Bc;c=new Zc(l,l,!!c);U.call(this,a,d,c);c.c=this;c.ia(b)}x(id,U);function jd(){var a=t("search")?document.getElementById("search"):"search",b=t("go")?document.getElementById("go"):"go",c=window.jvXRef,d=window.jvBaseDir,f=[],e;for(e in c)f.push(e);f=new id(f,a,n);f.Ta=20;R(f,"update",function(){b.click()});R(a,"keydown",function(a){13==a.keyCode&&setTimeout(function(){b.click()},1)});R(b,"click",function(){var b=a.value,e=c[b];e?window.location.href=d+"/"+e:alert("unknown symbol "+b);return j});R(document.body,"keypress",function(b){b.target!=a&&102==b.keyCode&&
(a.focus(),a.select(),b.preventDefault())});Db(a.parentElement,"off")}function kd(){function a(a){!(0<=J(Bb(a),"hidden"))?Cb(a,"hidden"):Db(a,"hidden")}for(var b=Kb(),c=0;c<b.length;++c){var d=b[c];R(d.firstChild,"click",v(a,i,d))}}function ld(){jd();kd()}var md="init".split("."),$=r;!(md[0]in $)&&$.execScript&&$.execScript("var "+md[0]);for(var nd;md.length&&(nd=md.shift());)!md.length&&ld!==i?$[nd]=ld:$=$[nd]?$[nd]:$[nd]={};