(function (){ function h(a){throw a;} var i=true,j=null,k=false,m,n=this,aa=function(){},ba=function(a){var b=typeof a;if(b=="object")if(a){if(a instanceof Array)return"array";else if(a instanceof Object)return b;var c=Object.prototype.toString.call(a);if(c=="[object Window]")return"object";if(c=="[object Array]"||typeof a.length=="number"&&typeof a.splice!="undefined"&&typeof a.propertyIsEnumerable!="undefined"&&!a.propertyIsEnumerable("splice"))return"array";if(c=="[object Function]"||typeof a.call!="undefined"&&typeof a.propertyIsEnumerable!= "undefined"&&!a.propertyIsEnumerable("call"))return"function"}else return"null";else if(b=="function"&&typeof a.call=="undefined")return"object";return b},p=function(a){return ba(a)=="array"},ca=function(a){var b=ba(a);return b=="array"||b=="object"&&typeof a.length=="number"},s=function(a){return typeof a=="string"},da=function(a){return ba(a)=="function"},ea=function(a){a=ba(a);return a=="object"||a=="array"||a=="function"},ha=function(a){return a[fa]||(a[fa]=++ga)},fa="closure_uid_"+Math.floor(Math.random()* 2147483648).toString(36),ga=0,ia=function(a){return a.call.apply(a.bind,arguments)},ja=function(a,b){var c=b||n;if(arguments.length>2){var d=Array.prototype.slice.call(arguments,2);return function(){var e=Array.prototype.slice.call(arguments);Array.prototype.unshift.apply(e,d);return a.apply(c,e)}}else return function(){return a.apply(c,arguments)}},ka=function(){ka=Function.prototype.bind&&Function.prototype.bind.toString().indexOf("native code")!=-1?ia:ja;return ka.apply(j,arguments)},ma=function(a){var b= Array.prototype.slice.call(arguments,1);return function(){var c=Array.prototype.slice.call(arguments);c.unshift.apply(c,b);return a.apply(this,c)}},na=Date.now||function(){return+new Date},t=function(a,b){var c=a.split("."),d=n;!(c[0]in d)&&d.execScript&&d.execScript("var "+c[0]);for(var e;c.length&&(e=c.shift());)if(!c.length&&b!==undefined)d[e]=b;else d=d[e]?d[e]:d[e]={}},v=function(a,b){function c(){}c.prototype=b.prototype;a.k=b.prototype;a.prototype=new c}; Function.prototype.bind=Function.prototype.bind||function(a){if(arguments.length>1){var b=Array.prototype.slice.call(arguments,1);b.unshift(this,a);return ka.apply(j,b)}else return ka(this,a)};var oa=function(a){this.stack=Error().stack||"";if(a)this.message=String(a)};v(oa,Error);oa.prototype.name="CustomError";var pa=function(a){for(var b=1;b")!=-1)a=a.replace(ta,">");if(a.indexOf('"')!=-1)a=a.replace(ua,""");return a},ra=/&/g,sa=//g,ua=/\"/g,qa=/[&<>\"]/,xa=function(a,b){for(var c=0,d=String(a).replace(/^[\s\xa0]+|[\s\xa0]+$/g,"").split("."), e=String(b).replace(/^[\s\xa0]+|[\s\xa0]+$/g,"").split("."),f=Math.max(d.length,e.length),g=0;c==0&&gb)return 1;return 0}, ya={},za=function(a){return ya[a]||(ya[a]=String(a).replace(/\-([a-z])/g,function(b,c){return c.toUpperCase()}))};var Aa=function(a,b){b.unshift(a);oa.call(this,pa.apply(j,b));b.shift();this.Pc=a};v(Aa,oa);Aa.prototype.name="AssertionError";var Ba=function(a,b){if(!a){var c=Array.prototype.slice.call(arguments,2),d="Assertion failed";if(b){d+=": "+b;var e=c}h(new Aa(""+d,e||[]))}};var w=function(a){return a[a.length-1]},x=Array.prototype,Ca=x.indexOf?function(a,b,c){Ba(a.length!=j);return x.indexOf.call(a,b,c)}:function(a,b,c){c=c==j?0:c<0?Math.max(0,a.length+c):c;if(s(a)){if(!s(b)||b.length!=1)return-1;return a.indexOf(b,c)}for(;c=0;--d)d in c&&b.call(void 0,c[d],d,a)},Fa=x.map?function(a,b,c){Ba(a.length!=j);return x.map.call(a,b,c)}:function(a,b,c){for(var d=a.length,e=Array(d),f=s(a)?a.split(""):a,g=0;g>1,l;l=b(c,a[g]);if(l>0)d=g+1;else{e=g;f=!l}}return f?d:~d},La=function(a,b){return a>b?1:a=a.length&&h(y);if(b in a)return a[b++];else b++}};return c}h(Error("Not implemented"))},Oa=function(a,b){if(ca(a))try{Da(a,b,void 0)}catch(c){c!==y&&h(c)}else{a=Na(a);try{for(;;)b.call(void 0,a.next(),undefined,a)}catch(d){d!==y&&h(d)}}};var Pa=function(a,b){this.x=a!==undefined?a:0;this.y=b!==undefined?b:0};Pa.prototype.toString=function(){return"("+this.x+", "+this.y+")"};var z=function(a,b){this.width=a;this.height=b};z.prototype.toString=function(){return"("+this.width+" x "+this.height+")"};z.prototype.Ea=function(){return!(this.width*this.height)};z.prototype.floor=function(){this.width=Math.floor(this.width);this.height=Math.floor(this.height);return this};z.prototype.round=function(){this.width=Math.round(this.width);this.height=Math.round(this.height);return this};var Qa=function(a,b){for(var c in a)b.call(void 0,a[c],c,a)},Ra=function(a){var b=[],c=0,d;for(d in a)b[c++]=a[d];return b},Sa=function(a){var b=[],c=0,d;for(d in a)b[c++]=d;return b},Ta=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Ua=function(a){for(var b,c,d=1;dparseFloat(lb)){kb=String(pb);break a}}kb=lb}var rb=kb,sb={},C=function(a){return sb[a]||(sb[a]=xa(rb,a)>=0)};var tb,ub=!A||C("9");A&&C("9");var vb=function(a){var b;b=(b=a.className)&&typeof b.split=="function"?b.split(/\s+/):[];var c;c=Ja(arguments,1);for(var d=0,e=0;e=0)){b.push(c[e]);d++}c=d==c.length;a.className=b.join(" ");return c};var G=function(a){return a?new E(F(a)):tb||(tb=new E)},xb=function(a,b,c,d){a=d||a;b=b&&b!="*"?b.toUpperCase():"";if(a.querySelectorAll&&a.querySelector&&(!B||wb(document)||C("528"))&&(b||c))return a.querySelectorAll(b+(c?"."+c:""));if(c&&a.getElementsByClassName){a=a.getElementsByClassName(c);if(b){d={};for(var e=0,f=0,g;g=a[f];f++)if(b==g.nodeName)d[e++]=g;d.length=e;return d}else return a}a=a.getElementsByTagName(b||"*");if(c){d={};for(f=e=0;g=a[f];f++){b=g.className;if(typeof b.split=="function"&& Ca(b.split(/\s+/),c)>=0)d[e++]=g}d.length=e;return d}else return a},zb=function(a,b){Qa(b,function(c,d){if(d=="style")a.style.cssText=c;else if(d=="class")a.className=c;else if(d=="for")a.htmlFor=c;else if(d in yb)a.setAttribute(yb[d],c);else a[d]=c})},yb={cellpadding:"cellPadding",cellspacing:"cellSpacing",colspan:"colSpan",rowspan:"rowSpan",valign:"vAlign",height:"height",width:"width",usemap:"useMap",frameborder:"frameBorder",maxlength:"maxLength",type:"type"},Ab=function(a){var b=a.document;if(B&& !C("500")&&!hb){if(typeof a.innerHeight=="undefined")a=window;b=a.innerHeight;var c=a.document.documentElement.scrollHeight;if(a==a.top)if(c");c=c.join("")}c=a.createElement(c);if(d)if(s(d))c.className=d;else p(d)?vb.apply(j,[c].concat(d)):zb(c,d);b.length>2&&Eb(a,c,b,2);return c},Eb=function(a,b,c,d){function e(g){if(g)b.appendChild(s(g)?a.createTextNode(g):g)}for(;d0)?Da(Fb(f)?Ia(f):f,e):e(f)}},wb=function(a){return a.compatMode=="CSS1Compat"},Gb=function(a){a&&a.parentNode&&a.parentNode.removeChild(a)}, Hb=function(a,b){var c=b.parentNode;c&&c.replaceChild(a,b)},F=function(a){return a.nodeType==9?a:a.ownerDocument||a.document},Ib=function(a,b){if("textContent"in a)a.textContent=b;else if(a.firstChild&&a.firstChild.nodeType==3){for(;a.lastChild!=a.firstChild;)a.removeChild(a.lastChild);a.firstChild.data=b}else{for(var c;c=a.firstChild;)a.removeChild(c);a.appendChild(F(a).createTextNode(b))}},Fb=function(a){if(a&&typeof a.length=="number")if(ea(a))return typeof a.item=="function"||typeof a.item=="string"; else if(da(a))return typeof a.item=="function";return k},E=function(a){this.h=a||n.document||document};E.prototype.m=G;var Jb=function(a){return a.h};E.prototype.c=function(a){return s(a)?this.h.getElementById(a):a};E.prototype.j=function(){return Cb(this.h,arguments)};E.prototype.createElement=function(a){return this.h.createElement(a)};E.prototype.createTextNode=function(a){return this.h.createTextNode(a)}; var Kb=function(a){a=!B&&wb(a.h)?a.h.documentElement:a.h.body;return new Pa(a.scrollLeft,a.scrollTop)};E.prototype.appendChild=function(a,b){a.appendChild(b)};E.prototype.append=function(a){Eb(F(a),a,arguments,1)};var H=function(a,b,c,d,e){this.n=!!b;a&&Lb(this,a,d);this.la=e!=undefined?e:this.o||0;if(this.n)this.la*=-1;this.Xb=!c};v(H,Ma);H.prototype.q=j;H.prototype.o=0;H.prototype.Kb=k;var Lb=function(a,b,c){if(a.q=b)a.o=typeof c=="number"?c:a.q.nodeType!=1?0:a.n?-1:1}; H.prototype.next=function(){var a;if(this.Kb){if(!this.q||this.Xb&&this.la==0)h(y);a=this.q;var b=this.n?-1:1;if(this.o==b){var c=this.n?a.lastChild:a.firstChild;c?Lb(this,c):Lb(this,a,b*-1)}else(c=this.n?a.previousSibling:a.nextSibling)?Lb(this,c):Lb(this,a.parentNode,b*-1);this.la+=this.o*(this.n?-1:1)}else this.Kb=i;(a=this.q)||h(y);return a}; H.prototype.splice=function(){var a=this.q,b=this.n?1:-1;if(this.o==b){this.o=b*-1;this.la+=this.o*(this.n?-1:1)}this.n=!this.n;H.prototype.next.call(this);this.n=!this.n;b=ca(arguments[0])?arguments[0]:arguments;for(var c=b.length-1;c>=0;c--)a.parentNode&&a.parentNode.insertBefore(b[c],a.nextSibling);Gb(a)};var Mb=new Function("a","return a");var Nb,Ob=!A||C("9"),Pb=A&&!C("8");var Qb=function(){};Qb.prototype.mb=k;Qb.prototype.t=function(){if(!this.mb){this.mb=i;this.g()}};Qb.prototype.g=function(){};var I=function(a,b){this.type=a;this.currentTarget=this.target=b};v(I,Qb);m=I.prototype;m.g=function(){delete this.type;delete this.target;delete this.currentTarget};m.U=k;m.ra=i;m.stopPropagation=function(){this.U=i};m.preventDefault=function(){this.ra=k};var Rb=function(a){a.preventDefault()};var J=function(a,b){a&&this.aa(a,b)};v(J,I);var Sb=[1,4,2];m=J.prototype;m.target=j;m.relatedTarget=j;m.offsetX=0;m.offsetY=0;m.clientX=0;m.clientY=0;m.screenX=0;m.screenY=0;m.button=0;m.keyCode=0;m.charCode=0;m.ctrlKey=k;m.altKey=k;m.shiftKey=k;m.metaKey=k;m.Ac=k;m.u=j; m.aa=function(a,b){var c=this.type=a.type;I.call(this,c);this.target=a.target||a.srcElement;this.currentTarget=b;var d=a.relatedTarget;if(d){if(gb)try{Mb(d.nodeName)}catch(e){d=j}}else if(c=="mouseover")d=a.fromElement;else if(c=="mouseout")d=a.toElement;this.relatedTarget=d;this.offsetX=a.offsetX!==undefined?a.offsetX:a.layerX;this.offsetY=a.offsetY!==undefined?a.offsetY:a.layerY;this.clientX=a.clientX!==undefined?a.clientX:a.pageX;this.clientY=a.clientY!==undefined?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||(c=="keypress"?a.keyCode:0);this.ctrlKey=a.ctrlKey;this.altKey=a.altKey;this.shiftKey=a.shiftKey;this.metaKey=a.metaKey;this.Ac=ab?a.metaKey:a.ctrlKey;this.state=a.state;this.u=a;delete this.ra;delete this.U};m.stopPropagation=function(){J.k.stopPropagation.call(this);if(this.u.stopPropagation)this.u.stopPropagation();else this.u.cancelBubble=i}; m.preventDefault=function(){J.k.preventDefault.call(this);var a=this.u;if(a.preventDefault)a.preventDefault();else{a.returnValue=k;if(Pb)try{if(a.ctrlKey||a.keyCode>=112&&a.keyCode<=123)a.keyCode=-1}catch(b){}}};m.g=function(){J.k.g.call(this);this.relatedTarget=this.currentTarget=this.target=this.u=j};var K=function(a,b){this.Ab=b;this.R=[];a>this.Ab&&h(Error("[goog.structs.SimplePool] Initial cannot be greater than max"));for(var c=0;c=0),g;dc=function(r){g=r};if(f){Zb=function(){return l.getObject()};$b=function(r){Ub(l,r)};ac=function(){return o.getObject()};bc=function(r){Ub(o,r)};cc=function(){return q.getObject()};ec=function(){Ub(q,c())};fc=function(){return la.getObject()};gc=function(r){Ub(la,r)};hc=function(){return u.getObject()}; ic=function(r){Ub(u,r)};var l=new K(0,600);l.C=a;var o=new K(0,600);o.C=b;var q=new K(0,600);q.C=c;var la=new K(0,600);la.C=d;var u=new K(0,600);u.C=e}else{Zb=a;$b=aa;ac=b;bc=aa;cc=c;ec=aa;fc=d;gc=aa;hc=e;ic=aa}})();var jc={},L={},M={},kc={},N=function(a,b,c,d,e){if(b)if(p(b)){for(var f=0;f=0){Ba(g.length!=j);x.splice.call(g,l,1)}g.length==0&&delete M[c]}b.ha=i;e.Bb=i;pc(d,f,c,e);delete jc[a]}}},pc=function(a,b,c,d){if(!d.Fa)if(d.Bb){for(var e=0,f=0;e=0;l--){var o=g[l];if(d||b==o.capture){O(o.key);c++}}});else{a=ha(a);if(M[a]){a=M[a];for(var e=a.length-1;e>=0;e--){var f=a[e];if(d||b==f.capture){O(f.key);c++}}}}},oc=function(a,b,c){var d=L;if(b in d){d=d[b];if(c in d){d=d[c];a=ha(a);if(d[a])return d[a]}}return j},lc=function(a){if(a in kc)return kc[a];return kc[a]="on"+a},sc=function(a,b,c,d,e){var f=1;b=ha(b);if(a[b]){a.v--;a=a[b]; if(a.Fa)a.Fa++;else a.Fa=1;try{for(var g=a.length,l=0;l=0&&g.v;D--){q.currentTarget=u[D];f&=sc(g,u[D],d,i,q)}if(o){g=e[k];g.v=g.i;for(D=0;!q.U&&D=0&&f.v;g--){a.currentTarget=e[g];d&=sc(f,e[g],a.type,i,a)&&a.ra!=k}}if(k in c){f=c[k];f.v=f.i;if(b)for(g=0;!a.U&&ga.clientWidth||a.scrollHeight>a.clientHeight||c=="fixed"||c=="absolute"))return a}return j},Mc=function(a){var b,c=F(a),d=S(a,"position"),e=gb&&c.getBoxObjectFor&&!a.getBoundingClientRect&&d=="absolute"&&(b=c.getBoxObjectFor(a))&&(b.screenX<0||b.screenY< 0),f=new Pa(0,0),g;b=c?c.nodeType==9?c:F(c):document;if(g=A){g=G(b);g=!wb(g.h)}g=g?b.body:b.documentElement;if(a==g)return f;if(a.getBoundingClientRect){d=a.getBoundingClientRect();if(A){a=a.ownerDocument;d.left-=a.documentElement.clientLeft+a.body.clientLeft;d.top-=a.documentElement.clientTop+a.body.clientTop}b=d;c=Kb(G(c));f.x=b.left+c.x;f.y=b.top+c.y}else if(c.getBoxObjectFor&&!e){b=c.getBoxObjectFor(a);c=c.getBoxObjectFor(g);f.x=b.screenX-c.screenX;f.y=b.screenY-c.screenY}else{e=a;do{f.x+=e.offsetLeft; f.y+=e.offsetTop;if(e!=a){f.x+=e.clientLeft||0;f.y+=e.clientTop||0}if(B&&S(e,"position")=="fixed"){f.x+=c.body.scrollLeft;f.y+=c.body.scrollTop;break}e=e.offsetParent}while(e&&e!=a);if(fb||B&&d=="absolute")f.y-=c.body.offsetTop;for(e=a;(e=Lc(e))&&e!=c.body&&e!=g;){f.x-=e.scrollLeft;if(!fb||e.tagName!="TR")f.y-=e.scrollTop}}return f},Nc=function(a,b,c){if(b instanceof z){c=b.height;b=b.width}else c==undefined&&h(Error("missing height argument"));a.style.width=Jc(b,i);a.style.height=Jc(c,i)},Jc=function(a, b){if(typeof a=="number")a=(b?Math.round(a):a)+"px";return a},Oc=function(a){var b=fb&&!C("10");if(S(a,"display")!="none")return b?new z(a.offsetWidth||a.clientWidth,a.offsetHeight||a.clientHeight):new z(a.offsetWidth,a.offsetHeight);var c=a.style,d=c.display,e=c.visibility,f=c.position;c.visibility="hidden";c.position="absolute";c.display="inline";if(b){b=a.offsetWidth||a.clientWidth;a=a.offsetHeight||a.clientHeight}else{b=a.offsetWidth;a=a.offsetHeight}c.display=d;c.position=f;c.visibility=e;return new z(b, a)},Pc=function(a,b){var c=a.style;if("opacity"in c)c.opacity=b;else if("MozOpacity"in c)c.MozOpacity=b;else if("filter"in c)c.filter=b===""?"":"alpha(opacity="+b*100+")"},T=function(a,b){a.style.display=b?"":"none"},Qc=function(a,b){if(A)a.cssText=b;else a[B?"innerText":"innerHTML"]=b};var Rc=function(a){a.setAttribute("role","dialog");a.Qc="dialog"};var Sc=function(a){this.b=a;a=A?"focusout":"blur";this.qc=N(this.b,A?"focusin":"focus",this,!A);this.rc=N(this.b,a,this,!A)};v(Sc,R);Sc.prototype.handleEvent=function(a){var b=new J(a.u);b.type=a.type=="focusin"||a.type=="focus"?"focusin":"focusout";try{this.dispatchEvent(b)}finally{b.t()}};Sc.prototype.g=function(){Sc.k.g.call(this);O(this.qc);O(this.rc);delete this.b};var Tc=function(a,b,c){this.target=a;this.handle=b||a;this.bb=c||new Fc(NaN,NaN,NaN,NaN);this.h=F(a);this.l=new P(this);N(this.handle,["touchstart","mousedown"],this.Hb,k,this)};v(Tc,R);var Uc=A||gb&&C("1.9.3");m=Tc.prototype;m.clientX=0;m.clientY=0;m.screenX=0;m.screenY=0;m.Ib=0;m.Jb=0;m.ja=0;m.ka=0;m.ob=i;m.K=k;m.ub=0;m.tc=0;m.oc=k;m.X=function(){return this.l}; m.g=function(){Tc.k.g.call(this);nc(this.handle,["touchstart","mousedown"],this.Hb,k,this);this.l.t();delete this.target;delete this.handle;delete this.l}; m.Hb=function(a){var b=a.type=="mousedown";if(this.ob&&!this.K&&(!b||(Ob?a.u.button==0:a.type=="click"||a.u.button&Sb[0])&&!(B&&ab&&a.ctrlKey))){Vc(this,a);if(this.ub==0){Wc(this,a);if(this.K)a.preventDefault();else return}else a.preventDefault();b=this.h;var c=b.documentElement,d=!Uc;Q(this.l,b,["touchmove","mousemove"],this.lc,d);Q(this.l,b,["touchend","mouseup"],this.za,d);if(Uc){c.setCapture(k);Q(this.l,c,"losecapture",this.za)}else Q(this.l,Bb(b),"blur",this.za);A&&this.oc&&Q(this.l,b,"dragstart", Rb);this.Fc&&Q(this.l,this.Fc,"scroll",this.xc,d);this.clientX=this.Ib=a.clientX;this.clientY=this.Jb=a.clientY;this.screenX=a.screenX;this.screenY=a.screenY;this.ja=this.target.offsetLeft;this.ka=this.target.offsetTop;this.qa=Kb(G(this.h));this.tc=na()}};var Wc=function(a,b){if(a.dispatchEvent(new Xc("start",a,b.clientX,b.clientY,b))!==k)a.K=i}; Tc.prototype.za=function(a,b){this.l.ga();Uc&&this.h.releaseCapture();if(this.K){Vc(this,a);this.K=k;this.dispatchEvent(new Xc("end",this,a.clientX,a.clientY,a,Yc(this,this.ja),Zc(this,this.ka),b||a.type=="touchcancel"))}if(a.type=="touchend"||a.type=="touchcancel")a.preventDefault()};var Vc=function(a,b){var c=b.type;if(c=="touchstart"||c=="touchmove")b.aa(b.u.targetTouches[0],b.currentTarget);else if(c=="touchend"||c=="touchcancel")b.aa(b.u.changedTouches[0],b.currentTarget)}; Tc.prototype.lc=function(a){if(this.ob){Vc(this,a);var b=a.clientX-this.clientX,c=a.clientY-this.clientY;this.clientX=a.clientX;this.clientY=a.clientY;this.screenX=a.screenX;this.screenY=a.screenY;if(!this.K){var d=this.Ib-this.clientX,e=this.Jb-this.clientY;if(d*d+e*e>this.ub){Wc(this,a);if(!this.K){this.za(a);return}}}c=$c(this,b,c);b=c.x;c=c.y;if(this.K)if(this.dispatchEvent(new Xc("beforedrag",this,a.clientX,a.clientY,a,b,c))!==k){ad(this,a,b,c,k);a.preventDefault()}}}; var $c=function(a,b,c){var d=Kb(G(a.h));b+=d.x-a.qa.x;c+=d.y-a.qa.y;a.qa=d;a.ja+=b;a.ka+=c;return new Pa(Yc(a,a.ja),Zc(a,a.ka))};Tc.prototype.xc=function(a){var b=$c(this,0,0);a.clientX=this.qa.x-this.clientX;a.clientY=this.qa.y-this.clientY;ad(this,a,b.x,b.y,i)}; var ad=function(a,b,c,d){a.target.style.left=c+"px";a.target.style.top=d+"px";a.dispatchEvent(new Xc("drag",a,b.clientX,b.clientY,b,c,d))},Yc=function(a,b){var c=a.bb,d=!isNaN(c.left)?c.left:j;c=!isNaN(c.width)?c.width:0;return Math.min(d!=j?d+c:Infinity,Math.max(d!=j?d:-Infinity,b))},Zc=function(a,b){var c=a.bb,d=!isNaN(c.top)?c.top:j;c=!isNaN(c.height)?c.height:0;return Math.min(d!=j?d+c:Infinity,Math.max(d!=j?d:-Infinity,b))},Xc=function(a,b,c,d,e,f,g,l){I.call(this,a);this.clientX=c;this.clientY= d;this.Mc=e;this.left=f!==undefined?f:b.ja;this.top=g!==undefined?g:b.ka;this.Oc=b;this.Nc=!!l};v(Xc,I);var bd=function(a){if(typeof a.Ca=="function")return a.Ca();if(s(a))return a.split("");if(ca(a)){for(var b=[],c=a.length,d=0;d1){b%2&&h(Error("Uneven number of arguments"));for(var c=0;c=c.length&&h(y);var l=c[b++];return a?l:d[l]}};return g};var ed=n.window;var fd=function(){};(function(a){a.rb=function(){return a.pc||(a.pc=new a)}})(fd);fd.prototype.Cb=0;fd.rb();var V=function(a){this.ya=a||G();this.Dc=gd};v(V,R);V.prototype.vb=fd.rb();var gd=j;m=V.prototype;m.$=j;m.G=k;m.b=j;m.Dc=j;m.sc=j;m.fa=j;m.va=j;m.ua=j;m.Kc=k;m.c=function(){return this.b};m.X=function(){return this.Z||(this.Z=new P(this))};m.fb=function(a){this.fa&&this.fa!=a&&h(Error("Method not supported"));V.k.fb.call(this,a)};m.m=function(){return this.ya};m.j=function(){this.b=this.ya.createElement("div")}; m.ia=function(a){this.G&&h(Error("Component already rendered"));this.b||this.j();a?a.insertBefore(this.b,j):this.ya.h.body.appendChild(this.b);if(!this.fa||this.fa.G)this.Aa()};m.Aa=function(){this.G=i;hd(this,function(a){!a.G&&a.c()&&a.Aa()})};m.na=function(){hd(this,function(a){a.G&&a.na()});this.Z&&this.Z.ga();this.G=k}; m.g=function(){V.k.g.call(this);this.G&&this.na();if(this.Z){this.Z.t();delete this.Z}hd(this,function(a){a.t()});!this.Kc&&this.b&&Gb(this.b);this.fa=this.sc=this.b=this.ua=this.va=j};var hd=function(a,b){a.va&&Da(a.va,b,void 0)}; V.prototype.removeChild=function(a,b){if(a){var c=s(a)?a:a.$||(a.$=":"+(a.vb.Cb++).toString(36)),d;if(this.ua&&c){d=this.ua;d=c in d?d[c]:void 0;d=d||j}else d=j;a=d;if(c&&a){d=this.ua;c in d&&delete d[c];c=this.va;d=Ca(c,a);if(d>=0){Ba(c.length!=j);x.splice.call(c,d,1)}if(b){a.na();a.b&&Gb(a.b)}c=a;c==j&&h(Error("Unable to set parent component"));c.fa=j;V.k.fb.call(c,j)}}a||h(Error("Child is not in parent component"));return a};var W=function(a,b,c){V.call(this,c);this.s=a||"modal-dialog";this.ib=!!b;this.r=id()};v(W,V);m=W.prototype;m.Ba=j;m.$b=i;m.sb=i;m.ib=k;m.pa=i;m.nb=i;m.Tb=0.5;m.Ob="";m.Sa="";m.r=j;m.V=j;m.jb=k;m.Yb=k;m.f=j;m.e=j;m.Ka=j;m.ta=j;m.Nb=j;m.Ja=j;m.wa=j;m.z=j; m.j=function(){jd(this);var a=this.m();this.b=a.j("div",{className:this.s,tabIndex:0},this.Ka=a.j("div",{className:this.s+"-title",id:this.$||(this.$=":"+(this.vb.Cb++).toString(36))},this.ta=a.j("span",this.s+"-title-text",this.Ob),this.Ja=a.j("span",this.s+"-title-close")),this.wa=a.j("div",this.s+"-content"),this.z=a.j("div",this.s+"-buttons"),this.Lb=a.j("span",{tabIndex:0}));this.Nb=this.Ka.id;Rc(this.c());this.c().setAttribute("aria-labelledby",this.Nb||"");if(this.Sa)this.wa.innerHTML=this.Sa; T(this.Ja,this.sb);T(this.c(),k);if(this.r){a=this.r;a.b=this.z;a.ia()}};var jd=function(a){if(a.ib&&a.pa&&!a.e){var b;b=a.m().j("iframe",{frameborder:0,style:"border:0;vertical-align:bottom;",src:'javascript:""'});a.e=b;a.e.className=a.s+"-bg";T(a.e,k);Pc(a.e,0)}else if((!a.ib||!a.pa)&&a.e){Gb(a.e);a.e=j}if(a.pa&&!a.f){a.f=a.m().j("div",a.s+"-bg");Pc(a.f,a.Tb);T(a.f,k)}else if(!a.pa&&a.f){Gb(a.f);a.f=j}}; W.prototype.ia=function(a){this.G&&h(Error("Component already rendered"));this.c()||this.j();a=a||Jb(this.m()).body;this.e&&a.appendChild(this.e);this.f&&a.appendChild(this.f);W.k.ia.call(this,a)}; W.prototype.Aa=function(){W.k.Aa.call(this);this.Ba=new Sc(Jb(this.m()));if(this.nb&&!this.V){var a=new Tc(this.c(),this.Ka);vb(this.Ka,this.s+"-title-draggable");this.V=a}Q(Q(this.X(),this.Ja,"click",this.yc),this.Ba,"focusin",this.wc);Rc(this.c());this.ta.id!==""&&this.c().setAttribute("aria-labelledby",this.ta.id)};W.prototype.na=function(){this.jb&&kd(this,k);this.Ba.t();this.Ba=j;if(this.V){this.V.t();this.V=j}W.k.na.call(this)}; var kd=function(a,b){if(b!=a.jb){var c=Jb(a.m()),d=Bb(c)||window;a.G||a.ia(c.body);if(b){ld(a);md(a);Q(Q(Q(a.X(),a.c(),"keydown",a.Ga),a.c(),"keypress",a.Ga),d,"resize",a.Eb)}else xc(xc(xc(a.X(),a.c(),"keydown",a.Ga),a.c(),"keypress",a.Ga),d,"resize",a.Eb);a.e&&T(a.e,b);a.f&&T(a.f,b);T(a.c(),b);b&&a.focus();if(a.jb=b)Q(a.X(),a.z,"click",a.Db);else{xc(a.X(),a.z,"click",a.Db);a.dispatchEvent("afterhide");a.Yb&&a.t()}}}; W.prototype.focus=function(){try{this.c().focus()}catch(a){}if(this.r){var b=this.r.xa;if(b)for(var c=Jb(this.m()),d=this.z.getElementsByTagName("button"),e=0,f;f=d[e];e++)if(f.name==b){try{if(B||fb){var g=c.createElement("input");g.style.cssText="position:fixed;width:0;height:0;left:0;top:0;";this.c().appendChild(g);g.focus();this.c().removeChild(g)}f.focus()}catch(l){}break}}}; var ld=function(a){a.e&&T(a.e,k);a.f&&T(a.f,k);var b=Jb(a.m()),c=Ab(Bb(b)||window||window),d=Math.max(b.body.scrollWidth,c.width);b=Math.max(b.body.scrollHeight,c.height);if(a.e){T(a.e,i);Nc(a.e,d,b)}if(a.f){T(a.f,i);Nc(a.f,d,b)}if(a.nb){c=Oc(a.c());a.V.bb=new Fc(0,0,d-c.width,b-c.height)}},md=function(a){var b=Jb(a.m()),c=Bb(b)||window;if(S(a.c(),"position")=="fixed")var d=b=0;else{d=Kb(a.m());b=d.x;d=d.y}var e=Oc(a.c());c=Ab(c||window);Kc(a.c(),Math.max(b+c.width/2-e.width/2,0),Math.max(d+c.height/ 2-e.height/2,0))};m=W.prototype;m.yc=function(){if(this.sb){var a=this.r,b=a&&a.Qa;if(b){a=a.get(b);this.dispatchEvent(new nd(b,a))&&kd(this,k)}else kd(this,k)}};m.g=function(){W.k.g.call(this);if(this.f){Gb(this.f);this.f=j}if(this.e){Gb(this.e);this.e=j}this.Lb=this.z=this.Ja=j};m.Db=function(a){a:{for(a=a.target;a!=j&&a!=this.z;){if(a.tagName=="BUTTON")break a;a=a.parentNode}a=j}if(a&&!a.disabled){a=a.name;var b=this.r.get(a);this.dispatchEvent(new nd(a,b))&&kd(this,k)}}; m.Ga=function(a){var b=k,c=k,d=this.r,e=a.target;if(a.type=="keydown")if(this.$b&&a.keyCode==27){var f=d&&d.Qa;e=e.tagName=="SELECT"&&!e.disabled;if(f&&!e){c=i;b=d.get(f);b=this.dispatchEvent(new nd(f,b))}else e||(b=i)}else{if(a.keyCode==9&&a.shiftKey&&e==this.c())c=i}else if(a.keyCode==13){if(e.tagName=="BUTTON")f=e.name;else if(d){var g=d.xa,l;if(l=g)a:{l=d.b.getElementsByTagName("BUTTON");for(var o=0,q;q=l[o];o++)if(q.name==g||q.id==g){l=q;break a}l=j}e=(e.tagName=="TEXTAREA"||e.tagName=="SELECT")&& !e.disabled;if(l&&!l.disabled&&!e)f=g}if(f){c=i;b=this.dispatchEvent(new nd(f,String(d.get(f))))}}if(b||c){a.stopPropagation();a.preventDefault()}b&&kd(this,k)};m.Eb=function(){ld(this)};m.wc=function(a){if(this.Lb==a.target){a=this.cc;if(da(a)){if(this)a=ka(a,this)}else if(a&&typeof a.handleEvent=="function")a=ka(a.handleEvent,a);else h(Error("Invalid listener argument"));ed.setTimeout(a,0)}};m.cc=function(){A&&Jb(this.m()).body.focus();this.c().focus()}; var nd=function(a,b){this.type="dialogselect";this.key=a;this.caption=b};v(nd,I);var X=function(a){this.ya=a||G();U.call(this)};v(X,U);m=X.prototype;m.s="goog-buttonset";m.xa=j;m.b=j;m.Qa=j;m.N=function(a,b,c,d){U.prototype.N.call(this,a,b);if(c)this.xa=a;if(d)this.Qa=a;return this};var Y=function(a,b,c,d){return a.N(b.key,b.caption,c,d)}; X.prototype.ia=function(){if(this.b){this.b.innerHTML="";var a=G(this.b);cd(this,function(b,c){var d=a.j("button",{name:c},b);if(c==this.xa)d.className=this.s+"-default";this.b.appendChild(d)},this)}};var od={key:"ok",caption:"OK"},pd={key:"cancel",caption:"Cancel"},qd={key:"yes",caption:"Yes"},rd={key:"no",caption:"No"},id=function(){return Y(Y(new X,od,i),pd,k,i)};Y(new X,od,i,i);id();Y(Y(new X,qd,i),rd,k,i);Y(Y(Y(new X,qd),rd,i),pd,k,i); Y(Y(Y(new X,{key:"continue",caption:"Continue"}),{key:"save",caption:"Save"}),pd,i,i);var sd=RegExp("[\u0591-\u07ff\u200f\ufb1d-\ufdff\ufe70-\ufefc](?:[^A-Za-z\u00c0-\u00d6\u00d8-\u00f6\u00f8-\u02b8\u0300-\u0590\u0800-\u1fff\u200e\u2c00-\ufb1c\ufe00-\ufe6f\ufefd-\uffff\u202a-\u202e]*[\u0591-\u07ff\u200f\ufb1d-\ufdff\ufe70-\ufefc])?","g"),td=RegExp("[A-Za-z\u00c0-\u00d6\u00d8-\u00f6\u00f8-\u02b8\u0300-\u0590\u0800-\u1fff\u200e\u2c00-\ufb1c\ufe00-\ufe6f\ufefd-\uffff](?:[^\u0591-\u07ff\u200f\ufb1d-\ufdff\ufe70-\ufefc\u202a-\u202e]*[A-Za-z\u00c0-\u00d6\u00d8-\u00f6\u00f8-\u02b8\u0300-\u0590\u0800-\u1fff\u200e\u2c00-\ufb1c\ufe00-\ufe6f\ufefd-\uffff])?", "g"),ud=RegExp("^[\u0000-\u0008\u000e-\u001f!-@[-`{-\u0084\u0086-\u009f\u00a1-\u00bf\u00d7\u00f7\u02b9-\u02ff\u200b-\u200d\u2010-\u2027\u2030-\u205e\u2060-\u2bff\t-\r \u0085\u00a0\u1680\u180e\u2000-\u200a\u2028\u2029\u202f\u205f\u3000]*[\u0000-\u0008\u000e-\u001f!-@[-`{-\u0084\u0086-\u009f\u00a1-\u00bf\u00d7\u00f7\u02b9-\u02ff\u200b-\u200d\u2010-\u2027\u2030-\u205e\u2060-\u2bff]"),vd=RegExp("[\u0000-\u0008\u000e-\u001f!-@[-`{-\u0084\u0086-\u009f\u00a1-\u00bf\u00d7\u00f7\u02b9-\u02ff\u200b-\u200d\u2010-\u2027\u2030-\u205e\u2060-\u2bff][\u0000-\u0008\u000e-\u001f!-@[-`{-\u0084\u0086-\u009f\u00a1-\u00bf\u00d7\u00f7\u02b9-\u02ff\u200b-\u200d\u2010-\u2027\u2030-\u205e\u2060-\u2bff\t-\r \u0085\u00a0\u1680\u180e\u2000-\u200a\u2028\u2029\u202f\u205f\u3000]*$"), wd=RegExp("[\u0000-\u001f\u0085\u00a0\u1680\u180e\u2000-\u200f\u2028\u2029\u202f\u205f\u3000]"),xd=RegExp("^[\u0000-\u0008\u000e-\u001f!-@[-`{-\u0084\u0086-\u009f\u00a1-\u00bf\u00d7\u00f7\u02b9-\u02ff\u200b-\u200d\u2010-\u2027\u2030-\u205e\u2060-\u2bff\t-\r \u0085\u00a0\u1680\u180e\u2000-\u200a\u2028\u2029\u202f\u205f\u3000\u200e]+$"),yd=RegExp("^[\u0000-\u0008\u000e-\u001f!-@[-`{-\u0084\u0086-\u009f\u00a1-\u00bf\u00d7\u00f7\u02b9-\u02ff\u200b-\u200d\u2010-\u2027\u2030-\u205e\u2060-\u2bff\t-\r \u0085\u00a0\u1680\u180e\u2000-\u200a\u2028\u2029\u202f\u205f\u3000\u200f]+$"), zd=RegExp("^[\u0000-\u0008\u000e-\u001f!-@[-`{-\u0084\u0086-\u009f\u00a1-\u00bf\u00d7\u00f7\u02b9-\u02ff\u200b-\u200d\u2010-\u2027\u2030-\u205e\u2060-\u2bff\t-\r \u0085\u00a0\u1680\u180e\u2000-\u200a\u2028\u2029\u202f\u205f\u3000]*\\d"),Ad=RegExp("[A-Za-z\u00c0-\u00d6\u00d8-\u00f6\u00f8-\u02b8\u0300-\u0590\u0800-\u1fff\u200e\u2c00-\ufb1c\ufe00-\ufe6f\ufefd-\uffff\u0591-\u07ff\u200f\ufb1d-\ufdff\ufe70-\ufefc]"),Bd=function(a,b){this.text=a;this.index=b},Cd=function(a){for(var b=[],c;c=sd.exec(a);)b.push(new Bd(c[0], c.index));return b},Dd=function(a){for(var b=[],c;c=td.exec(a);)a.charAt(c.index-1)=="\u202e"&&a.charAt(c.index+c[0].length)=="\u202c"||b.push(new Bd(c[0],c.index));return b},Ed=function(a){if(a=zd.exec(a))return new Bd(a[0],0);return j},Fd={"\u0008":"\\b","\u000c":"\\f","\n":"\\n","\r":"\\r","\t":"\\t",'"':'\\"',"'":"\\'","\\":"\\\\"},Gd=function(a){for(var b=[],c=0;c"},Jd=function(a){for(var b=[];a;a=a.parentNode){b.push(Id(a));if(a.id||a.nodeName=="BODY")break}b.reverse(); return b.join("")},Kd=function(a){var b=[],c=new H(a);Oa(c,function(){c.q.nodeType==3&&b.push(c.q.data)});return b.join("")},Ld=Va("ADDRESS","BLOCKQUOTE","BODY","CAPTION","CENTER","COL","COLGROUP","DIR","DIV","DL","DD","DT","FIELDSET","FORM","H1","H2","H3","H4","H5","H6","HR","ISINDEX","OL","LI","MAP","MENU","OPTGROUP","OPTION","P","PRE","TABLE","TBODY","TD","TFOOT","TH","THEAD","TR","TL","UL"),Md=Va("inline","inline-block","inline-table"),Nd={element:j,style:j},Od=function(a){if(Nd.element==a)return Nd.style; var b=(a.currentStyle?a.currentStyle.display:j)||Ic(a,"display");Nd={element:a,style:b};return b},Pd=function(a){var b=Od(a);return b?!Md[b]:!!Ld[a.tagName]},Qd=function(a){if(a.nodeType==1){if(a.nodeName=="SCRIPT"||a.nodeName=="STYLE"||a.nodeName=="NOSCRIPT")return k;return Od(a)!="none"}return i};var Rd=function(a,b,c){this.T=a;this.Hc=b;this.Zb=c;this.S=[]};Rd.prototype.tb=function(){if(this.S.length==0)for(var a=0;a0&&d.push(a.data.substring(0,b));d.push(Db("span",{style:"color:red; background-color:yellow"},a.data.substring(b,c)));c=0&&h("Required field '"+e+"' not found in bidichecker.Error.")}}else{b==undefined&&h("Required parameter 'opt_severity' not found in bidichecker.Error.");this.id=Ud++;this.type=a;this.severity=b;Vd[this.id]=c||j;this.atText=d||j}}; Z.prototype.precededByText=j;Z.prototype.followedByText=j;Z.prototype.locationDescription=j;Z.prototype.asString=j;var Ud=0,Vd=[];Z.prototype.Y=function(){return Vd[this.id]||j};Z.prototype.toString=function(){var a=new Ec("[",this.severity.toString(),"] ",this.type),b;if(b=this.atText)a.append(": ","'"+Gd(b)+"'");if(b=this.precededByText)a.append(" preceded by ","'"+Gd(b)+"'");if(b=this.followedByText)a.append(" followed by ","'"+Gd(b)+"'");if(b=this.locationDescription)a.append(" in ",b);return a.toString()};var Wd=function(a){this.A=a;this.p=0;this.qb=this.Q=this.P=j};Wd.prototype.kc=function(){var a;if(/[^0-9]/.test(this.Q.value))a=-1;else{a=this.Q.value;var b=Number(a);a=b==0&&/^[\s\xa0]*$/.test(a)?NaN:b;a-=1}if(a>=0&&a=0?c:-c-2};$d.prototype.Wa=function(a){return this.ea[ae(this,a)].q};$d.prototype.Y=function(a,b){for(var c=ae(this,a),d=ae(this,a+b-1),e=[],f=c;f<=d;++f)e.push(this.ea[f].q);return new Rd(e,a-this.ea[c].Ra,a+b-this.ea[d].Ra)}; var be=function(a,b,c,d,e){this.yb=b;this.wb=e;this.Ub=d;this.hb=[a];this.Mb=a.length;this.cb=new $d(c)};be.prototype.Ia=j;be.prototype.Ea=function(){return Ga(this.hb,function(a){return a.length==0})};be.prototype.append=function(a,b){this.cb.append(this.Mb,b);this.Mb+=a.length;this.hb.push(a);this.Ia=j};var ce=function(a){if(a.Ia===j)a.Ia=a.hb.join("");return a.Ia};be.prototype.Wa=function(a){return this.cb.Wa(a)};be.prototype.Y=function(a,b){return this.cb.Y(a,b)};var de=new be("",k,j,j,k);var ee=function(a){this.da=new H(a);this.Ec=a;this.B=["rtl"==S(a,"direction")];this.ba=[];this.O=[a];this.W=[]};v(ee,R);ee.prototype.H=j;ee.prototype.go=function(){try{for(;;fe(this));}catch(a){a!==y?h(a):this.dispatchEvent("EndOfDom")}}; var fe=function(a){for(var b=a.da.next();a.da.o==1&&!Qd(b);){b=a.da;var c=b.n?-1:1;if(b.o==c){b.o=c*-1;b.la+=b.o*(b.n?-1:1)}b=a.da.next()}a.H=b;if(a.da.o==1){b=a.H;c="rtl"==S(b,"direction");a.ba.push(w(a.ba)||c!=w(a.B)||ge(a,b));a.B.push(c);if(b.nodeName=="IFRAME"||b.nodeName=="FRAME")a.W.push(b);else Pd(b)&&a.O.push(b);a.dispatchEvent("StartTag")}else if(a.da.o==-1){a.dispatchEvent("EndTag");a.B.pop();a.ba.pop();a.H==w(a.O)&&a.O.pop()}else a.H.nodeType==3&&a.dispatchEvent("TextNode")}; ee.prototype.Ya=function(){return this.W};var ge=function(a,b){if(!b.dir||b==a.Ec)return k;for(var c=b.firstChild;c;c=c.nextSibling)if(c.nodeType==1&&Pd(c))return k;return i};var he=function(a){this.J=de;this.l=new P(this);Q(this.l,a,"TextNode",this.$a);wc(this.l,a,"EndOfDom",this.ic)};v(he,R);he.prototype.$a=function(a){a=a.target;var b=a.H;if(w(a.B)==this.J.yb&&w(a.O)==this.J.Ub&&w(a.ba)==this.J.wb)this.J.append(b.data,b);else{this.J.Ea()||this.dispatchEvent("DirChunk");this.J=new be(b.data,w(a.B),b,w(a.O),w(a.ba))}};he.prototype.ic=function(){this.J.Ea()||this.dispatchEvent("DirChunk");this.dispatchEvent("EndOfChunks");this.l.ga()};var ie=function(a){this.Ma=a};var $=function(){};t("bidichecker.FilterFactory.ComposableFilter",$);$.prototype.Qb=function(a){return je(this,a)};$.prototype.and=$.prototype.Qb;$.prototype.vc=function(){return ke(this)};$.prototype.not=$.prototype.vc;$.prototype.zc=function(a){return le(this,a)};$.prototype.or=$.prototype.zc; var Ce=function(a){var b=a.opcode;switch(b){case "AND":return new me(a);case "AT_TEXT":return new ne(a);case "AT_TEXT_REGEXP":return new oe(a);case "FOLLOWED_BY_TEXT":return new pe(a);case "FOLLOWED_BY_TEXT_REGEXP":return new qe(a);case "LOCATION_CLASS":return new re(a);case "LOCATION_CLASS_REGEXP":return new se(a);case "LOCATION_ID":return new te(a);case "LOCATION_ID_REGEXP":return new ue(a);case "LOCATION_XPATH":return new ve(a);case "NOT":return new we(a);case "OR":return new xe(a);case "PRECEDED_BY_TEXT":return new ye(a); case "PRECEDED_BY_TEXT_REGEXP":return new ze(a);case "SEVERITY":return new Ae(a);case "TYPE":return new Be(a);default:h("Unknown filter opcode: '"+b+"'")}},De=function(a){if(!a)return j;a=yc(a);return Fa(a,function(b){return Ce(b)})},je=function(a,b){return new me({filter1:a,filter2:b})};t("bidichecker.FilterFactory.and",je);t("bidichecker.FilterFactory.atText",function(a){return new ne({atText:a||""})});t("bidichecker.FilterFactory.atTextRegexp",function(a){return new oe({atTextRegexp:a||""})}); t("bidichecker.FilterFactory.followedByText",function(a){return new pe({followedByText:a||""})});t("bidichecker.FilterFactory.followedByTextRegexp",function(a){return new qe({followedByTextRegexp:a||""})});t("bidichecker.FilterFactory.locationClass",function(a){a||h("Empty or null argument to bidichecker.FilterFactory.locationClass");return new re({className:a})}); t("bidichecker.FilterFactory.locationClassRegexp",function(a){a||h("Empty or null argument to bidichecker.FilterFactory.locationClassRegexp");return new se({classRegexp:a})});t("bidichecker.FilterFactory.locationId",function(a){a||h("Empty or null argument to bidichecker.FilterFactory.locationId");return new te({id:a})});t("bidichecker.FilterFactory.locationIdRegexp",function(a){a||h("Empty or null argument to bidichecker.FilterFactory.locationIdRegexp");return new ue({idRegexp:a})}); t("bidichecker.FilterFactory.locationXpath",function(a){a||h("Empty or null argument to bidichecker.FilterFactory.locationXpath");return new ve({xpath:a})});var ke=function(a){return new we({filter:a})};t("bidichecker.FilterFactory.not",ke);var le=function(a,b){return new xe({filter1:a,filter2:b})};t("bidichecker.FilterFactory.or",le);t("bidichecker.FilterFactory.precededByText",function(a){return new ye({precededByText:a||""})}); t("bidichecker.FilterFactory.precededByTextRegexp",function(a){return new ze({precededByTextRegexp:a||""})});t("bidichecker.FilterFactory.severityFrom",function(a){return new Ae({severityThreshold:a})});t("bidichecker.FilterFactory.type",function(a){return new Be({type:a})}); var Ee=function(a,b){b in a||h("No '"+b+"' parameter found for '"+a.opcode+"' filter")},Fe=function(a,b,c){Ee(a,b);typeof a[b]!=c&&h("Wrong type for '"+b+"' parameter of '"+a.opcode+"' filter; expected "+c)},Ge=function(a,b){Fe(a,b,"string");return a[b]},He=function(a,b){Ee(a,b);var c=a[b],d;if(typeof c=="string")d=c;else if(c instanceof RegExp)d=c.source;else h("Wrong type for '"+b+"' parameter of '"+a.opcode+"' filter; expected string or RegExp");return RegExp("^("+d+")$")},Ie=function(a,b){Fe(a, b,"object");var c=a[b];if(c instanceof $)return c;else if(typeof c.opcode=="string")return Ce(c);else h("Can't make a filter out of the '"+b+"' parameter of '"+a.opcode+"' filter")},me=function(a){this.Ua=Ie(a,"filter1");this.Va=Ie(a,"filter2")};v(me,$);me.prototype.d=function(a,b){return this.Ua.d(a,b)&&this.Va.d(a,b)};var ne=function(a){this.Sb=Ge(a,"atText")};v(ne,$);ne.prototype.d=function(a){return this.Sb==(a.atText||"")};var oe=function(a){this.Rb=He(a,"atTextRegexp")};v(oe,$); oe.prototype.d=function(a){return this.Rb.test(a.atText||"")};var pe=function(a){this.ec=Ge(a,"followedByText")};v(pe,$);pe.prototype.d=function(a){return this.ec==(a.followedByText||"")};var qe=function(a){this.dc=He(a,"followedByTextRegexp")};v(qe,$);qe.prototype.d=function(a){return this.dc.test(a.followedByText||"")};var re=function(a){this.Vb=Ge(a,"className")};v(re,$); re.prototype.d=function(a,b){for(var c=0;c");b=a.D;b.r=c;if(b.z)if(b.r){c=b.r;c.b=b.z;c.ia()}else b.z.innerHTML="";b=a.D;b.Sa='

Error of

Drag this box if it conceals a part of the page you need.

'; if(b.wa)b.wa.innerHTML='

Error of

Drag this box if it conceals a part of the page you need.

';kd(a.D,i);a.P=a.D.c();b=G(a.P);var d=j;if(A){d=b.h.createStyleSheet();Qc(d,".bidichecker-dialog-bg { position: absolute; top: 0; left: 0; }.bidichecker-dialog { position: absolute; padding: 5px; background-color: #fcb; border: 1px solid #000; font-family: arial, sans-serif; width: 475px; color: #000; outline: none; direction: ltr }.bidichecker-dialog a, .bidichecker-dialog a:link,.bidichecker-dialog a:visited { color: #0066cc; cursor: pointer; }.bidichecker-dialog-title { position: relative; background-color: #f9efeb; color: #000000; padding: 10px 15px; font-size: 16px; font-weight: bold; vertical-align: middle; cursor: pointer; cursor: hand }.bidichecker-dialog-content { padding: 15px; font-size: 90%; background-color: #fff }.bidichecker-dialog-buttons { padding: 0 15px 15px; background-color: #fff }.bidichecker-dialog-error-text { font-weight: bold; font-size: 125%; color: #f00; height: 80px; overflow: auto; border: 1px dotted #f00 }")}else{c= xb(b.h,"head",void 0,void 0)[0];if(!c){d=xb(b.h,"body",void 0,void 0)[0];c=b.j("head");d.parentNode.insertBefore(c,d)}d=b.j("style");Qc(d,".bidichecker-dialog-bg { position: absolute; top: 0; left: 0; }.bidichecker-dialog { position: absolute; padding: 5px; background-color: #fcb; border: 1px solid #000; font-family: arial, sans-serif; width: 475px; color: #000; outline: none; direction: ltr }.bidichecker-dialog a, .bidichecker-dialog a:link,.bidichecker-dialog a:visited { color: #0066cc; cursor: pointer; }.bidichecker-dialog-title { position: relative; background-color: #f9efeb; color: #000000; padding: 10px 15px; font-size: 16px; font-weight: bold; vertical-align: middle; cursor: pointer; cursor: hand }.bidichecker-dialog-content { padding: 15px; font-size: 90%; background-color: #fff }.bidichecker-dialog-buttons { padding: 0 15px 15px; background-color: #fff }.bidichecker-dialog-error-text { font-weight: bold; font-size: 125%; color: #f00; height: 80px; overflow: auto; border: 1px dotted #f00 }"); b.appendChild(c,d)}a.P.style.zIndex=1E4;b=a.D.m();Ib(b.c("bidichecker-dialog-error-count"),a.A.length+"");a.Q=b.c("bidichecker-dialog-error-num");a.qb=b.c("bidichecker-dialog-error-text");md(a.D);Yd(a);N(a.D,"dialogselect",a.gc,k,a);a.Q.onchange=ka(a.kc,a)}};t("bidichecker.runGui",We);t("bidichecker.runGuiFromJson",function(a){a=yc(a);a=Fa(a,function(b){return new Z(b)});We(a)}); })()