text: function(){return function(){function h(a){throw a;}var i=void 0,k=!0,l=null,m=!1;function n(a){return function(){return this[a]}}function aa(a){return function(){return a}}var p=this;
  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 q(a){return a!==i}function r(a){return"string"==typeof a}function ca(a){return"function"==ba(a)}function da(a){var b=typeof a;return"object"==b&&a!=l||"function"==b}Math.floor(2147483648*Math.random()).toString(36);var ea=Date.now||function(){return+new Date};function u(a,b){function c(){}c.prototype=b.prototype;a.pa=b.prototype;a.prototype=new c};var fa=window;function ga(a){Error.captureStackTrace?Error.captureStackTrace(this,ga):this.stack=Error().stack||"";a&&(this.message=String(a))}u(ga,Error);ga.prototype.name="CustomError";function ha(a){var b=a.length-1;return 0<=b&&a.indexOf(" ",b)==b}function ia(a,b){for(var c=1;c<arguments.length;c++)var d=String(arguments[c]).replace(/\$/g,"$$$$"),a=a.replace(/\%s/,d);return a}function ja(a){return a.replace(/^[\s\xa0]+|[\s\xa0]+$/g,"")}
  function ka(a,b){for(var c=0,d=ja(String(a)).split("."),e=ja(String(b)).split("."),f=Math.max(d.length,e.length),g=0;0==c&&g<f;g++){var j=d[g]||"",s=e[g]||"",t=RegExp("(\\d*)(\\D*)","g"),B=RegExp("(\\d*)(\\D*)","g");do{var S=t.exec(j)||["","",""],T=B.exec(s)||["","",""];if(0==S[0].length&&0==T[0].length)break;c=((0==S[1].length?0:parseInt(S[1],10))<(0==T[1].length?0:parseInt(T[1],10))?-1:(0==S[1].length?0:parseInt(S[1],10))>(0==T[1].length?0:parseInt(T[1],10))?1:0)||((0==S[2].length)<(0==T[2].length)?
  -1:(0==S[2].length)>(0==T[2].length)?1:0)||(S[2]<T[2]?-1:S[2]>T[2]?1:0)}while(0==c)}return c};function la(a,b){b.unshift(a);ga.call(this,ia.apply(l,b));b.shift();this.na=a}u(la,ga);la.prototype.name="AssertionError";function ma(a,b,c,d){var e="Assertion failed";if(c)var e=e+(": "+c),f=d;else a&&(e+=": "+a,f=b);h(new la(""+e,f||[]))}function na(a,b,c){a||ma("",l,b,Array.prototype.slice.call(arguments,2))}function oa(a,b,c){da(a)||ma("Expected object but got %s: %s.",[ba(a),a],b,Array.prototype.slice.call(arguments,2))};var pa=Array.prototype;function v(a,b){for(var c=a.length,d=r(a)?a.split(""):a,e=0;e<c;e++)e in d&&b.call(i,d[e],e,a)}function qa(a,b){for(var c=a.length,d=[],e=0,f=r(a)?a.split(""):a,g=0;g<c;g++)if(g in f){var j=f[g];b.call(i,j,g,a)&&(d[e++]=j)}return d}function ra(a,b){for(var c=a.length,d=Array(c),e=r(a)?a.split(""):a,f=0;f<c;f++)f in e&&(d[f]=b.call(i,e[f],f,a));return d}function sa(a,b,c){if(a.reduce)return a.reduce(b,c);var d=c;v(a,function(c,f){d=b.call(i,d,c,f,a)});return d}
  function ta(a,b){for(var c=a.length,d=r(a)?a.split(""):a,e=0;e<c;e++)if(e in d&&b.call(i,d[e],e,a))return k;return m}function ua(a,b){var c;a:{c=a.length;for(var d=r(a)?a.split(""):a,e=0;e<c;e++)if(e in d&&b.call(i,d[e],e,a)){c=e;break a}c=-1}return 0>c?l:r(a)?a.charAt(c):a[c]}function va(a,b){var c;a:if(r(a))c=!r(b)||1!=b.length?-1:a.indexOf(b,0);else{for(c=0;c<a.length;c++)if(c in a&&a[c]===b)break a;c=-1}return 0<=c}function wa(a){return pa.concat.apply(pa,arguments)}
  function xa(a,b,c){na(a.length!=l);return 2>=arguments.length?pa.slice.call(a,b):pa.slice.call(a,b,c)};var ya,za,Aa,Ba;function Ca(){return p.navigator?p.navigator.userAgent:l}Ba=Aa=za=ya=m;var Da;if(Da=Ca()){var Ea=p.navigator;ya=0==Da.indexOf("Opera");za=!ya&&-1!=Da.indexOf("MSIE");Aa=!ya&&-1!=Da.indexOf("WebKit");Ba=!ya&&!Aa&&"Gecko"==Ea.product}var w=ya,x=za,y=Ba,z=Aa;function Fa(){var a=p.document;return a?a.documentMode:i}var Ga;
  a:{var Ha="",Ia;if(w&&p.opera)var Ja=p.opera.version,Ha="function"==typeof Ja?Ja():Ja;else if(y?Ia=/rv\:([^\);]+)(\)|;)/:x?Ia=/MSIE\s+([^\);]+)(\)|;)/:z&&(Ia=/WebKit\/(\S+)/),Ia)var Ka=Ia.exec(Ca()),Ha=Ka?Ka[1]:"";if(x){var La=Fa();if(La>parseFloat(Ha)){Ga=String(La);break a}}Ga=Ha}var Ma={};function Na(a){return Ma[a]||(Ma[a]=0<=ka(Ga,a))}function A(a){return x&&Oa>=a}var Pa=p.document,Oa=!Pa||!x?i:Fa()||("CSS1Compat"==Pa.compatMode?parseInt(Ga,10):5);var Qa;!y&&!x||x&&A(9)||y&&Na("1.9.1");x&&Na("9");var Ra="BODY";function C(a,b){this.x=q(a)?a:0;this.y=q(b)?b:0}C.prototype.toString=function(){return"("+this.x+", "+this.y+")"};function D(a,b){this.width=a;this.height=b}D.prototype.toString=function(){return"("+this.width+" x "+this.height+")"};D.prototype.ceil=function(){this.width=Math.ceil(this.width);this.height=Math.ceil(this.height);return this};D.prototype.floor=function(){this.width=Math.floor(this.width);this.height=Math.floor(this.height);return this};D.prototype.round=function(){this.width=Math.round(this.width);this.height=Math.round(this.height);return this};function Sa(a,b){var c={},d;for(d in a)c[d]=b.call(i,a[d],d,a);return c};var Ta=3;function E(a){return a?new Ua(F(a)):Qa||(Qa=new Ua)}function Va(a,b){if(a.contains&&1==b.nodeType)return a==b||a.contains(b);if("undefined"!=typeof a.compareDocumentPosition)return a==b||Boolean(a.compareDocumentPosition(b)&16);for(;b&&a!=b;)b=b.parentNode;return b==a}
  function Wa(a,b){if(a==b)return 0;if(a.compareDocumentPosition)return a.compareDocumentPosition(b)&2?1:-1;if(x&&!A(9)){if(9==a.nodeType)return-1;if(9==b.nodeType)return 1}if("sourceIndex"in a||a.parentNode&&"sourceIndex"in a.parentNode){var c=1==a.nodeType,d=1==b.nodeType;if(c&&d)return a.sourceIndex-b.sourceIndex;var e=a.parentNode,f=b.parentNode;return e==f?Xa(a,b):!c&&Va(e,b)?-1*Ya(a,b):!d&&Va(f,a)?Ya(b,a):(c?a.sourceIndex:e.sourceIndex)-(d?b.sourceIndex:f.sourceIndex)}d=F(a);c=d.createRange();
  c.selectNode(a);c.collapse(k);d=d.createRange();d.selectNode(b);d.collapse(k);return c.compareBoundaryPoints(p.Range.START_TO_END,d)}function Ya(a,b){var c=a.parentNode;if(c==b)return-1;for(var d=b;d.parentNode!=c;)d=d.parentNode;return Xa(d,a)}function Xa(a,b){for(var c=b;c=c.previousSibling;)if(c==a)return-1;return 1}function F(a){return 9==a.nodeType?a:a.ownerDocument||a.document}
  function Za(a,b,c,d){if(a!=l)for(a=a.firstChild;a;){if(b(a)&&(c.push(a),d)||Za(a,b,c,d))return k;a=a.nextSibling}return m}function $a(a,b){for(var a=a.parentNode,c=0;a;){if(b(a))return a;a=a.parentNode;c++}return l}function Ua(a){this.A=a||p.document||document}
  function G(a,b,c,d){a=d||a.A;b=b&&"*"!=b?b.toUpperCase():"";if(a.querySelectorAll&&a.querySelector&&(b||c))c=a.querySelectorAll(b+(c?"."+c:""));else if(c&&a.getElementsByClassName)if(a=a.getElementsByClassName(c),b){for(var d={},e=0,f=0,g;g=a[f];f++)b==g.nodeName&&(d[e++]=g);d.length=e;c=d}else c=a;else if(a=a.getElementsByTagName(b||"*"),c){d={};for(f=e=0;g=a[f];f++)b=g.className,"function"==typeof b.split&&va(b.split(/\s+/),c)&&(d[e++]=g);d.length=e;c=d}else c=a;return c}
  function ab(a){var b=a.A,a=!z&&"CSS1Compat"==b.compatMode?b.documentElement:b.body,b=b.parentWindow||b.defaultView;return new C(b.pageXOffset||a.scrollLeft,b.pageYOffset||a.scrollTop)}Ua.prototype.contains=Va;var bb={P:function(a){return!(!a.querySelectorAll||!a.querySelector)},n:function(a,b){a||h(Error("No class name specified"));a=ja(a);1<a.split(/\s+/).length&&h(Error("Compound class names not permitted"));if(bb.P(b))return b.querySelector("."+a.replace(/\./g,"\\."))||l;var c=G(E(b),"*",a,b);return c.length?c[0]:l},p:function(a,b){a||h(Error("No class name specified"));a=ja(a);1<a.split(/\s+/).length&&h(Error("Compound class names not permitted"));return bb.P(b)?b.querySelectorAll("."+a.replace(/\./g,
  "\\.")):G(E(b),"*",a,b)}};var cb,db,eb,fb,gb,hb,ib;ib=hb=gb=fb=eb=db=cb=m;var H=Ca();H&&(-1!=H.indexOf("Firefox")?cb=k:-1!=H.indexOf("Camino")?db=k:-1!=H.indexOf("iPhone")||-1!=H.indexOf("iPod")?eb=k:-1!=H.indexOf("iPad")?fb=k:-1!=H.indexOf("Android")?gb=k:-1!=H.indexOf("Chrome")?hb=k:-1!=H.indexOf("Safari")&&(ib=k));var jb=w,kb=x,lb=cb,mb=db,nb=eb,ob=fb,pb=gb,qb=hb,rb=ib;function sb(a){return(a=a.exec(Ca()))?a[1]:""}var tb=function(){if(lb)return sb(/Firefox\/([0-9.]+)/);if(kb||jb)return Ga;if(qb)return sb(/Chrome\/([0-9.]+)/);if(rb)return sb(/Version\/([0-9.]+)/);if(nb||ob){var a=/Version\/(\S+).*Mobile\/(\S+)/.exec(Ca());if(a)return a[1]+"."+a[2]}else{if(pb)return(a=sb(/Android\s+([0-9.]+)/))?a:sb(/Version\/([0-9.]+)/);if(mb)return sb(/Camino\/([0-9.]+)/)}return""}();var ub,vb;function wb(a){return xb?ub(a):x?0<=ka(Oa,a):Na(a)}var xb=function(){if(!y)return m;var a=p.Components;if(!a)return m;try{if(!a.classes)return m}catch(b){return m}var c=a.classes,a=a.interfaces,d=c["@mozilla.org/xpcom/version-comparator;1"].getService(a.nsIVersionComparator),c=c["@mozilla.org/xre/app-info;1"].getService(a.nsIXULAppInfo),e=c.platformVersion,f=c.version;ub=function(a){return 0<=d.fa(e,""+a)};vb=function(a){d.fa(f,""+a)};return k}(),yb;
  if(pb){var zb=/Android\s+([0-9\.]+)/.exec(Ca());yb=zb?zb[1]:"0"}else yb="0";var Ab=yb,Bb=x&&!A(8),Cb=x&&!A(9),Db=x&&!A(10);pb&&(xb?vb(2.3):pb?ka(Ab,2.3):ka(tb,2.3));var Eb={n:function(a,b){!ca(b.querySelector)&&(x&&wb(8)&&!da(b.querySelector))&&h(Error("CSS selection is not supported"));a||h(Error("No selector specified"));var a=ja(a),c=b.querySelector(a);return c&&1==c.nodeType?c:l},p:function(a,b){!ca(b.querySelectorAll)&&(x&&wb(8)&&!da(b.querySelector))&&h(Error("CSS selection is not supported"));a||h(Error("No selector specified"));a=ja(a);return b.querySelectorAll(a)}};var Fb={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",
  darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",
  ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",
  lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370d8",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",
  moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#d87093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",
  seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};var Gb="background-color border-top-color border-right-color border-bottom-color border-left-color color outline-color".split(" "),Hb=/#([0-9a-fA-F])([0-9a-fA-F])([0-9a-fA-F])/;function Ib(a){Jb.test(a)||h(Error("'"+a+"' is not a valid hex color"));4==a.length&&(a=a.replace(Hb,"#$1$1$2$2$3$3"));return a.toLowerCase()}var Jb=/^#(?:[0-9a-f]{3}){1,2}$/i,Kb=/^(?:rgba)?\((\d{1,3}),\s?(\d{1,3}),\s?(\d{1,3}),\s?(0|1|0\.\d*)\)$/i;
  function Lb(a){var b=a.match(Kb);if(b){var a=Number(b[1]),c=Number(b[2]),d=Number(b[3]),b=Number(b[4]);if(0<=a&&255>=a&&0<=c&&255>=c&&0<=d&&255>=d&&0<=b&&1>=b)return[a,c,d,b]}return[]}var Mb=/^(?:rgb)?\((0|[1-9]\d{0,2}),\s?(0|[1-9]\d{0,2}),\s?(0|[1-9]\d{0,2})\)$/i;function Nb(a){var b=a.match(Mb);if(b){var a=Number(b[1]),c=Number(b[2]),b=Number(b[3]);if(0<=a&&255>=a&&0<=c&&255>=c&&0<=b&&255>=b)return[a,c,b]}return[]};function Ob(a,b){this.code=a;this.message=b||"";this.name=Pb[a]||Pb[13];var c=Error(this.message);c.name=this.name;this.stack=c.stack||""}u(Ob,Error);
  var Pb={7:"NoSuchElementError",8:"NoSuchFrameError",9:"UnknownCommandError",10:"StaleElementReferenceError",11:"ElementNotVisibleError",12:"InvalidElementStateError",13:"UnknownError",15:"ElementNotSelectableError",19:"XPathLookupError",23:"NoSuchWindowError",24:"InvalidCookieDomainError",25:"UnableToSetCookieError",26:"ModalDialogOpenedError",27:"NoModalDialogOpenError",28:"ScriptTimeoutError",32:"InvalidSelectorError",35:"SqlDatabaseError",34:"MoveTargetOutOfBoundsError"};
  Ob.prototype.toString=function(){return this.name+": "+this.message};function Qb(a,b,c){this.c=a;this.la=b||1;this.j=c||1};var I=x&&!A(9),Rb=x&&!A(8);function Sb(a,b,c,d,e){this.c=a;this.nodeName=c;this.nodeValue=d;this.nodeType=2;this.ownerElement=b;this.oa=e;this.parentNode=b}function Tb(a,b,c){var d=Rb&&"href"==b.nodeName?a.getAttribute(b.nodeName,2):b.nodeValue;return new Sb(b,a,b.nodeName,d,c)};function Ub(a){this.O=a;this.C=0}var Vb=RegExp("\\$?(?:(?![0-9-])[\\w-]+:)?(?![0-9-])[\\w-]+|\\/\\/|\\.\\.|::|\\d+(?:\\.\\d*)?|\\.\\d+|\"[^\"]*\"|'[^']*'|[!<>]=|\\s+|.","g"),Wb=/^\s/;function J(a,b){return a.O[a.C+(b||0)]}Ub.prototype.next=function(){return this.O[this.C++]};Ub.prototype.back=function(){this.C--};Ub.prototype.empty=function(){return this.O.length<=this.C};function K(a){var b=l,c=a.nodeType;1==c&&(b=a.textContent,b=b==i||b==l?a.innerText:b,b=b==i||b==l?"":b);if("string"!=typeof b)if(I&&"title"==a.nodeName.toLowerCase()&&1==c)b=a.text;else if(9==c||1==c)for(var a=9==c?a.documentElement:a.firstChild,c=0,d=[],b="";a;){do 1!=a.nodeType&&(b+=a.nodeValue),I&&"title"==a.nodeName.toLowerCase()&&(b+=a.text),d[c++]=a;while(a=a.firstChild);for(;c&&!(a=d[--c].nextSibling););}else b=a.nodeValue;return""+b}
  function Xb(a,b,c){if(b===l)return k;try{if(!a.getAttribute)return m}catch(d){return m}Rb&&"class"==b&&(b="className");return c==l?!!a.getAttribute(b):a.getAttribute(b,2)==c}function Yb(a,b,c,d,e){return(I?Zb:$b).call(l,a,b,r(c)?c:l,r(d)?d:l,e||new L)}
  function Zb(a,b,c,d,e){if(a instanceof ac||8==a.i||c&&a.i===l){var f=b.all;if(!f)return e;a=bc(a);if("*"!=a&&(f=b.getElementsByTagName(a),!f))return e;if(c){for(var g=[],j=0;b=f[j++];)Xb(b,c,d)&&g.push(b);f=g}for(j=0;b=f[j++];)("*"!=a||"!"!=b.tagName)&&e.add(b);return e}cc(a,b,c,d,e);return e}
  function $b(a,b,c,d,e){b.getElementsByName&&d&&"name"==c&&!x?(b=b.getElementsByName(d),v(b,function(b){a.matches(b)&&e.add(b)})):b.getElementsByClassName&&d&&"class"==c?(b=b.getElementsByClassName(d),v(b,function(b){b.className==d&&a.matches(b)&&e.add(b)})):a instanceof M?cc(a,b,c,d,e):b.getElementsByTagName&&(b=b.getElementsByTagName(a.getName()),v(b,function(a){Xb(a,c,d)&&e.add(a)}));return e}
  function dc(a,b,c,d,e){var f;if((a instanceof ac||8==a.i||c&&a.i===l)&&(f=b.childNodes)){var g=bc(a);if("*"!=g&&(f=qa(f,function(a){return a.tagName&&a.tagName.toLowerCase()==g}),!f))return e;c&&(f=qa(f,function(a){return Xb(a,c,d)}));v(f,function(a){("*"!=g||"!"!=a.tagName&&!("*"==g&&1!=a.nodeType))&&e.add(a)});return e}return ec(a,b,c,d,e)}function ec(a,b,c,d,e){for(b=b.firstChild;b;b=b.nextSibling)Xb(b,c,d)&&a.matches(b)&&e.add(b);return e}
  function cc(a,b,c,d,e){for(b=b.firstChild;b;b=b.nextSibling)Xb(b,c,d)&&a.matches(b)&&e.add(b),cc(a,b,c,d,e)}function bc(a){if(a instanceof M){if(8==a.i)return"!";if(a.i===l)return"*"}return a.getName()};function L(){this.j=this.g=l;this.v=0}function fc(a){this.m=a;this.next=this.s=l}function gc(a,b){if(a.g){if(!b.g)return a}else return b;for(var c=a.g,d=b.g,e=l,f=l,g=0;c&&d;)c.m==d.m||c.m instanceof Sb&&d.m instanceof Sb&&c.m.c==d.m.c?(f=c,c=c.next,d=d.next):0<Wa(c.m,d.m)?(f=d,d=d.next):(f=c,c=c.next),(f.s=e)?e.next=f:a.g=f,e=f,g++;for(f=c||d;f;)f.s=e,e=e.next=f,g++,f=f.next;a.j=e;a.v=g;return a}
  L.prototype.unshift=function(a){a=new fc(a);a.next=this.g;this.j?this.g.s=a:this.g=this.j=a;this.g=a;this.v++};L.prototype.add=function(a){a=new fc(a);a.s=this.j;this.g?this.j.next=a:this.g=this.j=a;this.j=a;this.v++};function hc(a){return(a=a.g)?a.m:l}L.prototype.o=n("v");function ic(a){return(a=hc(a))?K(a):""}function jc(a,b){return new kc(a,!!b)}function kc(a,b){this.ia=a;this.Q=(this.t=b)?a.j:a.g;this.K=l}
  kc.prototype.next=function(){var a=this.Q;if(a==l)return l;var b=this.K=a;this.Q=this.t?a.s:a.next;return b.m};kc.prototype.remove=function(){var a=this.ia,b=this.K;b||h(Error("Next must be called at least once before remove."));var c=b.s,b=b.next;c?c.next=b:a.g=b;b?b.s=c:a.j=c;a.v--;this.K=l};function N(a){this.f=a;this.e=this.l=m;this.w=l}N.prototype.d=n("l");N.prototype.r=n("w");function O(a,b){var c=a.evaluate(b);return c instanceof L?+ic(c):+c}function P(a,b){var c=a.evaluate(b);return c instanceof L?ic(c):""+c}function lc(a,b){var c=a.evaluate(b);return c instanceof L?!!c.o():!!c};function mc(a,b,c){N.call(this,a.f);this.N=a;this.U=b;this.$=c;this.l=b.d()||c.d();this.e=b.e||c.e;this.N==nc&&(!c.e&&!c.d()&&4!=c.f&&0!=c.f&&b.r()?this.w={name:b.r().name,u:c}:!b.e&&(!b.d()&&4!=b.f&&0!=b.f&&c.r())&&(this.w={name:c.r().name,u:b}))}u(mc,N);
  function oc(a,b,c,d,e){var b=b.evaluate(d),c=c.evaluate(d),f;if(b instanceof L&&c instanceof L){f=jc(b);for(b=f.next();b;b=f.next()){e=jc(c);for(d=e.next();d;d=e.next())if(a(K(b),K(d)))return k}return m}if(b instanceof L||c instanceof L){b instanceof L?e=b:(e=c,c=b);e=jc(e);b=typeof c;for(d=e.next();d;d=e.next()){switch(b){case "number":f=+K(d);break;case "boolean":f=!!K(d);break;case "string":f=K(d);break;default:h(Error("Illegal primitive type for comparison."))}if(a(f,c))return k}return m}return e?
  "boolean"==typeof b||"boolean"==typeof c?a(!!b,!!c):"number"==typeof b||"number"==typeof c?a(+b,+c):a(b,c):a(+b,+c)}mc.prototype.evaluate=function(a){return this.N.k(this.U,this.$,a)};mc.prototype.toString=function(a){var a=a||"",b=a+"binary expression: "+this.N+"\n",a=a+"  ",b=b+(this.U.toString(a)+"\n");return b+=this.$.toString(a)};function pc(a,b,c,d){this.ka=a;this.Y=b;this.f=c;this.k=d}pc.prototype.toString=n("ka");var qc={};
  function Q(a,b,c,d){a in qc&&h(Error("Binary operator already created: "+a));a=new pc(a,b,c,d);return qc[a.toString()]=a}Q("div",6,1,function(a,b,c){return O(a,c)/O(b,c)});Q("mod",6,1,function(a,b,c){return O(a,c)%O(b,c)});Q("*",6,1,function(a,b,c){return O(a,c)*O(b,c)});Q("+",5,1,function(a,b,c){return O(a,c)+O(b,c)});Q("-",5,1,function(a,b,c){return O(a,c)-O(b,c)});Q("<",4,2,function(a,b,c){return oc(function(a,b){return a<b},a,b,c)});
  Q(">",4,2,function(a,b,c){return oc(function(a,b){return a>b},a,b,c)});Q("<=",4,2,function(a,b,c){return oc(function(a,b){return a<=b},a,b,c)});Q(">=",4,2,function(a,b,c){return oc(function(a,b){return a>=b},a,b,c)});var nc=Q("=",3,2,function(a,b,c){return oc(function(a,b){return a==b},a,b,c,k)});Q("!=",3,2,function(a,b,c){return oc(function(a,b){return a!=b},a,b,c,k)});Q("and",2,2,function(a,b,c){return lc(a,c)&&lc(b,c)});Q("or",1,2,function(a,b,c){return lc(a,c)||lc(b,c)});function rc(a,b){b.o()&&4!=a.f&&h(Error("Primary expression must evaluate to nodeset if filter has predicate(s)."));N.call(this,a.f);this.Z=a;this.b=b;this.l=a.d();this.e=a.e}u(rc,N);rc.prototype.evaluate=function(a){a=this.Z.evaluate(a);return sc(this.b,a)};rc.prototype.toString=function(a){var a=a||"",b=a+"Filter: \n",a=a+"  ",b=b+this.Z.toString(a);return b+=this.b.toString(a)};function tc(a,b){b.length<a.X&&h(Error("Function "+a.h+" expects at least"+a.X+" arguments, "+b.length+" given"));a.L!==l&&b.length>a.L&&h(Error("Function "+a.h+" expects at most "+a.L+" arguments, "+b.length+" given"));a.ja&&v(b,function(b,d){4!=b.f&&h(Error("Argument "+d+" to function "+a.h+" is not of type Nodeset: "+b))});N.call(this,a.f);this.B=a;this.H=b;this.l=a.l||ta(b,function(a){return a.d()});this.e=a.ha&&!b.length||a.ga&&!!b.length||ta(b,function(a){return a.e})}u(tc,N);
  tc.prototype.evaluate=function(a){return this.B.k.apply(l,wa(a,this.H))};tc.prototype.toString=function(a){var b=a||"",a=b+"Function: "+this.B+"\n",b=b+"  ";this.H.length&&(a+=b+"Arguments:",b+="  ",a=sa(this.H,function(a,d){return a+"\n"+d.toString(b)},a));return a};function uc(a,b,c,d,e,f,g,j,s){this.h=a;this.f=b;this.l=c;this.ha=d;this.ga=e;this.k=f;this.X=g;this.L=q(j)?j:g;this.ja=!!s}uc.prototype.toString=n("h");var vc={};
  function R(a,b,c,d,e,f,g,j){a in vc&&h(Error("Function already created: "+a+"."));vc[a]=new uc(a,b,c,d,m,e,f,g,j)}R("boolean",2,m,m,function(a,b){return lc(b,a)},1);R("ceiling",1,m,m,function(a,b){return Math.ceil(O(b,a))},1);R("concat",3,m,m,function(a,b){var c=xa(arguments,1);return sa(c,function(b,c){return b+P(c,a)},"")},2,l);R("contains",2,m,m,function(a,b,c){b=P(b,a);a=P(c,a);return-1!=b.indexOf(a)},2);R("count",1,m,m,function(a,b){return b.evaluate(a).o()},1,1,k);R("false",2,m,m,aa(m),0);
  R("floor",1,m,m,function(a,b){return Math.floor(O(b,a))},1);R("id",4,m,m,function(a,b){function c(a){if(I){var b=e.all[a];if(b){if(b.nodeType&&a==b.id)return b;if(b.length)return ua(b,function(b){return a==b.id})}return l}return e.getElementById(a)}var d=a.c,e=9==d.nodeType?d:d.ownerDocument,d=P(b,a).split(/\s+/),f=[];v(d,function(a){(a=c(a))&&!va(f,a)&&f.push(a)});f.sort(Wa);var g=new L;v(f,function(a){g.add(a)});return g},1);R("lang",2,m,m,aa(m),1);
  R("last",1,k,m,function(a){1!=arguments.length&&h(Error("Function last expects ()"));return a.j},0);R("local-name",3,m,k,function(a,b){var c=b?hc(b.evaluate(a)):a.c;return c?c.nodeName.toLowerCase():""},0,1,k);R("name",3,m,k,function(a,b){var c=b?hc(b.evaluate(a)):a.c;return c?c.nodeName.toLowerCase():""},0,1,k);R("namespace-uri",3,k,m,aa(""),0,1,k);R("normalize-space",3,m,k,function(a,b){return(b?P(b,a):K(a.c)).replace(/[\s\xa0]+/g," ").replace(/^\s+|\s+$/g,"")},0,1);
  R("not",2,m,m,function(a,b){return!lc(b,a)},1);R("number",1,m,k,function(a,b){return b?O(b,a):+K(a.c)},0,1);R("position",1,k,m,function(a){return a.la},0);R("round",1,m,m,function(a,b){return Math.round(O(b,a))},1);R("starts-with",2,m,m,function(a,b,c){b=P(b,a);a=P(c,a);return 0==b.lastIndexOf(a,0)},2);R("string",3,m,k,function(a,b){return b?P(b,a):K(a.c)},0,1);R("string-length",1,m,k,function(a,b){return(b?P(b,a):K(a.c)).length},0,1);
  R("substring",3,m,m,function(a,b,c,d){c=O(c,a);if(isNaN(c)||Infinity==c||-Infinity==c)return"";d=d?O(d,a):Infinity;if(isNaN(d)||-Infinity===d)return"";var c=Math.round(c)-1,e=Math.max(c,0),a=P(b,a);if(Infinity==d)return a.substring(e);b=Math.round(d);return a.substring(e,c+b)},2,3);R("substring-after",3,m,m,function(a,b,c){b=P(b,a);a=P(c,a);c=b.indexOf(a);return-1==c?"":b.substring(c+a.length)},2);
  R("substring-before",3,m,m,function(a,b,c){b=P(b,a);a=P(c,a);a=b.indexOf(a);return-1==a?"":b.substring(0,a)},2);R("sum",1,m,m,function(a,b){for(var c=jc(b.evaluate(a)),d=0,e=c.next();e;e=c.next())d+=+K(e);return d},1,1,k);R("translate",3,m,m,function(a,b,c,d){for(var b=P(b,a),c=P(c,a),e=P(d,a),a=[],d=0;d<c.length;d++){var f=c.charAt(d);f in a||(a[f]=e.charAt(d))}c="";for(d=0;d<b.length;d++)f=b.charAt(d),c+=f in a?a[f]:f;return c},3);R("true",2,m,m,aa(k),0);function M(a,b){this.ca=a;this.V=q(b)?b:l;this.i=l;switch(a){case "comment":this.i=8;break;case "text":this.i=Ta;break;case "processing-instruction":this.i=7;break;case "node":break;default:h(Error("Unexpected argument"))}}function wc(a){return"comment"==a||"text"==a||"processing-instruction"==a||"node"==a}M.prototype.matches=function(a){return this.i===l||this.i==a.nodeType};M.prototype.getName=n("ca");
  M.prototype.toString=function(a){var a=a||"",b=a+"kindtest: "+this.ca;this.V===l||(b+="\n"+this.V.toString(a+"  "));return b};function xc(a){N.call(this,3);this.ba=a.substring(1,a.length-1)}u(xc,N);xc.prototype.evaluate=n("ba");xc.prototype.toString=function(a){return(a||"")+"literal: "+this.ba};function ac(a){this.h=a.toLowerCase()}ac.prototype.matches=function(a){var b=a.nodeType;if(1==b||2==b)return"*"==this.h||this.h==a.nodeName.toLowerCase()?k:this.h==(a.namespaceURI||"http://www.w3.org/1999/xhtml")+":*"};ac.prototype.getName=n("h");ac.prototype.toString=function(a){return(a||"")+"nametest: "+this.h};function yc(a){N.call(this,1);this.da=a}u(yc,N);yc.prototype.evaluate=n("da");yc.prototype.toString=function(a){return(a||"")+"number: "+this.da};function zc(a,b){N.call(this,a.f);this.S=a;this.z=b;this.l=a.d();this.e=a.e;if(1==this.z.length){var c=this.z[0];!c.J&&c.q==Ac&&(c=c.G,"*"!=c.getName()&&(this.w={name:c.getName(),u:l}))}}u(zc,N);function Bc(){N.call(this,4)}u(Bc,N);Bc.prototype.evaluate=function(a){var b=new L,a=a.c;9==a.nodeType?b.add(a):b.add(a.ownerDocument);return b};Bc.prototype.toString=function(a){return a+"RootHelperExpr"};function Cc(){N.call(this,4)}u(Cc,N);Cc.prototype.evaluate=function(a){var b=new L;b.add(a.c);return b};
  Cc.prototype.toString=function(a){return a+"ContextHelperExpr"};
  zc.prototype.evaluate=function(a){var b=this.S.evaluate(a);b instanceof L||h(Error("FilterExpr must evaluate to nodeset."));for(var a=this.z,c=0,d=a.length;c<d&&b.o();c++){var e=a[c],f=jc(b,e.q.t),g;if(!e.d()&&e.q==Dc){for(g=f.next();(b=f.next())&&(!g.contains||g.contains(b))&&b.compareDocumentPosition(g)&8;g=b);b=e.evaluate(new Qb(g))}else if(!e.d()&&e.q==Ec)g=f.next(),b=e.evaluate(new Qb(g));else{g=f.next();for(b=e.evaluate(new Qb(g));(g=f.next())!=l;)g=e.evaluate(new Qb(g)),b=gc(b,g)}}return b};
  zc.prototype.toString=function(a){var b=a||"",c=b+"PathExpr:\n",b=b+"  ",c=c+this.S.toString(b);this.z.length&&(c+=b+"Steps:\n",b+="  ",v(this.z,function(a){c+=a.toString(b)}));return c};function Fc(a,b){this.b=a;this.t=!!b}function sc(a,b,c){for(c=c||0;c<a.b.length;c++)for(var d=a.b[c],e=jc(b),f=b.o(),g,j=0;g=e.next();j++){var s=a.t?f-j:j+1;g=d.evaluate(new Qb(g,s,f));var t;"number"==typeof g?t=s==g:"string"==typeof g||"boolean"==typeof g?t=!!g:g instanceof L?t=0<g.o():h(Error("Predicate.evaluate returned an unexpected type."));t||e.remove()}return b}Fc.prototype.r=function(){return 0<this.b.length?this.b[0].r():l};
  Fc.prototype.d=function(){for(var a=0;a<this.b.length;a++){var b=this.b[a];if(b.d()||1==b.f||0==b.f)return k}return m};Fc.prototype.o=function(){return this.b.length};Fc.prototype.toString=function(a){var b=a||"",a=b+"Predicates:",b=b+"  ";return sa(this.b,function(a,d){return a+"\n"+b+d.toString(b)},a)};function Gc(a,b,c,d){N.call(this,4);this.q=a;this.G=b;this.b=c||new Fc([]);this.J=!!d;b=this.b.r();a.ma&&b&&(a=b.name,a=I?a.toLowerCase():a,this.w={name:a,u:b.u});this.l=this.b.d()}u(Gc,N);
  Gc.prototype.evaluate=function(a){var b=a.c,c=l,c=this.r(),d=l,e=l,f=0;c&&(d=c.name,e=c.u?P(c.u,a):l,f=1);if(this.J)if(!this.d()&&this.q==Hc)c=Yb(this.G,b,d,e),c=sc(this.b,c,f);else if(a=jc((new Gc(Ic,new M("node"))).evaluate(a)),b=a.next())for(c=this.k(b,d,e,f);(b=a.next())!=l;)c=gc(c,this.k(b,d,e,f));else c=new L;else c=this.k(a.c,d,e,f);return c};Gc.prototype.k=function(a,b,c,d){a=this.q.B(this.G,a,b,c);return a=sc(this.b,a,d)};
  Gc.prototype.toString=function(a){var a=a||"",b=a+"Step: \n",a=a+"  ",b=b+(a+"Operator: "+(this.J?"//":"/")+"\n");this.q.h&&(b+=a+"Axis: "+this.q+"\n");b+=this.G.toString(a);if(this.b.length)for(var b=b+(a+"Predicates: \n"),c=0;c<this.b.length;c++)var d=c<this.b.length-1?", ":"",b=b+(this.b[c].toString(a)+d);return b};function Jc(a,b,c,d){this.h=a;this.B=b;this.t=c;this.ma=d}Jc.prototype.toString=n("h");var Kc={};
  function U(a,b,c,d){a in Kc&&h(Error("Axis already created: "+a));b=new Jc(a,b,c,!!d);return Kc[a]=b}U("ancestor",function(a,b){for(var c=new L,d=b;d=d.parentNode;)a.matches(d)&&c.unshift(d);return c},k);U("ancestor-or-self",function(a,b){var c=new L,d=b;do a.matches(d)&&c.unshift(d);while(d=d.parentNode);return c},k);
  var Ac=U("attribute",function(a,b){var c=new L,d=a.getName();if("style"==d&&b.style&&I)return c.add(new Sb(b.style,b,"style",b.style.cssText,b.sourceIndex)),c;var e=b.attributes;if(e)if(a instanceof M&&a.i===l||"*"==d)for(var d=b.sourceIndex,f=0,g;g=e[f];f++)I?g.nodeValue&&c.add(Tb(b,g,d)):c.add(g);else(g=e.getNamedItem(d))&&(I?g.nodeValue&&c.add(Tb(b,g,b.sourceIndex)):c.add(g));return c},m),Hc=U("child",function(a,b,c,d,e){return(I?dc:ec).call(l,a,b,r(c)?c:l,r(d)?d:l,e||new L)},m,k);
  U("descendant",Yb,m,k);var Ic=U("descendant-or-self",function(a,b,c,d){var e=new L;Xb(b,c,d)&&a.matches(b)&&e.add(b);return Yb(a,b,c,d,e)},m,k),Dc=U("following",function(a,b,c,d){var e=new L;do for(var f=b;f=f.nextSibling;)Xb(f,c,d)&&a.matches(f)&&e.add(f),e=Yb(a,f,c,d,e);while(b=b.parentNode);return e},m,k);U("following-sibling",function(a,b){for(var c=new L,d=b;d=d.nextSibling;)a.matches(d)&&c.add(d);return c},m);U("namespace",function(){return new L},m);
  var Lc=U("parent",function(a,b){var c=new L;if(9==b.nodeType)return c;if(2==b.nodeType)return c.add(b.ownerElement),c;var d=b.parentNode;a.matches(d)&&c.add(d);return c},m),Ec=U("preceding",function(a,b,c,d){var e=new L,f=[];do f.unshift(b);while(b=b.parentNode);for(var g=1,j=f.length;g<j;g++){for(var s=[],b=f[g];b=b.previousSibling;)s.unshift(b);for(var t=0,B=s.length;t<B;t++)b=s[t],Xb(b,c,d)&&a.matches(b)&&e.add(b),e=Yb(a,b,c,d,e)}return e},k,k);
  U("preceding-sibling",function(a,b){for(var c=new L,d=b;d=d.previousSibling;)a.matches(d)&&c.unshift(d);return c},k);var Mc=U("self",function(a,b){var c=new L;a.matches(b)&&c.add(b);return c},m);function Nc(a){N.call(this,1);this.R=a;this.l=a.d();this.e=a.e}u(Nc,N);Nc.prototype.evaluate=function(a){return-O(this.R,a)};Nc.prototype.toString=function(a){var a=a||"",b=a+"UnaryExpr: -\n";return b+=this.R.toString(a+"  ")};function Oc(a){N.call(this,4);this.D=a;this.l=ta(this.D,function(a){return a.d()});this.e=ta(this.D,function(a){return a.e})}u(Oc,N);Oc.prototype.evaluate=function(a){var b=new L;v(this.D,function(c){c=c.evaluate(a);c instanceof L||h(Error("PathExpr must evaluate to NodeSet."));b=gc(b,c)});return b};Oc.prototype.toString=function(a){var b=a||"",c=b+"UnionExpr:\n",b=b+"  ";v(this.D,function(a){c+=a.toString(b)+"\n"});return c.substring(0,c.length)};function Pc(a){this.a=a}function Qc(a){for(var b,c=[];;){V(a,"Missing right hand side of binary expression.");b=Rc(a);var d=a.a.next();if(!d)break;var e=(d=qc[d]||l)&&d.Y;if(!e){a.a.back();break}for(;c.length&&e<=c[c.length-1].Y;)b=new mc(c.pop(),c.pop(),b);c.push(b,d)}for(;c.length;)b=new mc(c.pop(),c.pop(),b);return b}function V(a,b){a.a.empty()&&h(Error(b))}function Sc(a,b){var c=a.a.next();c!=b&&h(Error("Bad token, expected: "+b+" got: "+c))}
  function Tc(a){a=a.a.next();")"!=a&&h(Error("Bad token: "+a))}function Uc(a){a=a.a.next();2>a.length&&h(Error("Unclosed literal string"));return new xc(a)}function Vc(a){return"*"!=J(a.a)&&":"==J(a.a,1)&&"*"==J(a.a,2)?new ac(a.a.next()+a.a.next()+a.a.next()):new ac(a.a.next())}
  function Wc(a){var b,c=[],d;if("/"==J(a.a)||"//"==J(a.a)){b=a.a.next();d=J(a.a);if("/"==b&&(a.a.empty()||"."!=d&&".."!=d&&"@"!=d&&"*"!=d&&!/(?![0-9])[\w]/.test(d)))return new Bc;d=new Bc;V(a,"Missing next location step.");b=Xc(a,b);c.push(b)}else{a:{b=J(a.a);d=b.charAt(0);switch(d){case "$":h(Error("Variable reference not allowed in HTML XPath"));case "(":a.a.next();b=Qc(a);V(a,'unclosed "("');Sc(a,")");break;case '"':case "'":b=Uc(a);break;default:if(isNaN(+b))if(!wc(b)&&/(?![0-9])[\w]/.test(d)&&
  "("==J(a.a,1)){b=a.a.next();b=vc[b]||l;a.a.next();for(d=[];")"!=J(a.a);){V(a,"Missing function argument list.");d.push(Qc(a));if(","!=J(a.a))break;a.a.next()}V(a,"Unclosed function argument list.");Tc(a);b=new tc(b,d)}else{b=l;break a}else b=new yc(+a.a.next())}"["==J(a.a)&&(d=new Fc(Yc(a)),b=new rc(b,d))}if(b)if("/"==J(a.a)||"//"==J(a.a))d=b;else return b;else b=Xc(a,"/"),d=new Cc,c.push(b)}for(;"/"==J(a.a)||"//"==J(a.a);)b=a.a.next(),V(a,"Missing next location step."),b=Xc(a,b),c.push(b);return new zc(d,
  c)}
  function Xc(a,b){var c,d,e;"/"!=b&&"//"!=b&&h(Error('Step op should be "/" or "//"'));if("."==J(a.a))return d=new Gc(Mc,new M("node")),a.a.next(),d;if(".."==J(a.a))return d=new Gc(Lc,new M("node")),a.a.next(),d;var f;"@"==J(a.a)?(f=Ac,a.a.next(),V(a,"Missing attribute name")):"::"==J(a.a,1)?(/(?![0-9])[\w]/.test(J(a.a).charAt(0))||h(Error("Bad token: "+a.a.next())),e=a.a.next(),(f=Kc[e]||l)||h(Error("No axis with name: "+e)),a.a.next(),V(a,"Missing node name")):f=Hc;e=J(a.a);if(/(?![0-9])[\w]/.test(e.charAt(0)))if("("==J(a.a,
  1)){wc(e)||h(Error("Invalid node type: "+e));c=a.a.next();wc(c)||h(Error("Invalid type name: "+c));Sc(a,"(");V(a,"Bad nodetype");e=J(a.a).charAt(0);var g=l;if('"'==e||"'"==e)g=Uc(a);V(a,"Bad nodetype");Tc(a);c=new M(c,g)}else c=Vc(a);else"*"==e?c=Vc(a):h(Error("Bad token: "+a.a.next()));e=new Fc(Yc(a),f.t);return d||new Gc(f,c,e,"//"==b)}
  function Yc(a){for(var b=[];"["==J(a.a);){a.a.next();V(a,"Missing predicate expression.");var c=Qc(a);b.push(c);V(a,"Unclosed predicate expression.");Sc(a,"]")}return b}function Rc(a){if("-"==J(a.a))return a.a.next(),new Nc(Rc(a));var b=Wc(a);if("|"!=J(a.a))a=b;else{for(b=[b];"|"==a.a.next();)V(a,"Missing next union location path."),b.push(Wc(a));a.a.back();a=new Oc(b)}return a};function Zc(a){a.length||h(Error("Empty XPath expression."));for(var a=a.match(Vb),b=0;b<a.length;b++)Wb.test(a[b])&&a.splice(b,1);a=new Ub(a);a.empty()&&h(Error("Invalid XPath expression."));var c=Qc(new Pc(a));a.empty()||h(Error("Bad token: "+a.next()));this.evaluate=function(a,b){var f=c.evaluate(new Qb(a));return new W(f,b)}}
  function W(a,b){0==b&&(a instanceof L?b=4:"string"==typeof a?b=2:"number"==typeof a?b=1:"boolean"==typeof a?b=3:h(Error("Unexpected evaluation result.")));2!=b&&(1!=b&&3!=b&&!(a instanceof L))&&h(Error("document.evaluate called with wrong result type."));this.resultType=b;var c;switch(b){case 2:this.stringValue=a instanceof L?ic(a):""+a;break;case 1:this.numberValue=a instanceof L?+ic(a):+a;break;case 3:this.booleanValue=a instanceof L?0<a.o():!!a;break;case 4:case 5:case 6:case 7:var d=jc(a);c=[];
  for(var e=d.next();e;e=d.next())c.push(e instanceof Sb?e.c:e);this.snapshotLength=a.o();this.invalidIteratorState=m;break;case 8:case 9:d=hc(a);this.singleNodeValue=d instanceof Sb?d.c:d;break;default:h(Error("Unknown XPathResult type."))}var f=0;this.iterateNext=function(){4!=b&&5!=b&&h(Error("iterateNext called with wrong result type."));return f>=c.length?l:c[f++]};this.snapshotItem=function(a){6!=b&&7!=b&&h(Error("snapshotItem called with wrong result type."));return a>=c.length||0>a?l:c[a]}}
  W.ANY_TYPE=0;W.NUMBER_TYPE=1;W.STRING_TYPE=2;W.BOOLEAN_TYPE=3;W.UNORDERED_NODE_ITERATOR_TYPE=4;W.ORDERED_NODE_ITERATOR_TYPE=5;W.UNORDERED_NODE_SNAPSHOT_TYPE=6;W.ORDERED_NODE_SNAPSHOT_TYPE=7;W.ANY_UNORDERED_NODE_TYPE=8;W.FIRST_ORDERED_NODE_TYPE=9;var X={},$c={qa:"http://www.w3.org/2000/svg"};X.ea=function(a){return $c[a]||l};
  X.k=function(a,b,c){var d=F(a);if(x||pb){var e=(d?d.parentWindow||d.defaultView:window)||p,f=e.document;f.evaluate||(e.XPathResult=W,f.evaluate=function(a,b,c,d){return(new Zc(a)).evaluate(b,d)},f.createExpression=function(a){return new Zc(a)})}try{var g=d.createNSResolver?d.createNSResolver(d.documentElement):X.ea;return x&&!Na(7)?d.evaluate.call(d,b,a,g,c,l):d.evaluate(b,a,g,c,l)}catch(j){y&&"NS_ERROR_ILLEGAL_VALUE"==j.name||h(new Ob(32,"Unable to locate an element with the xpath expression "+b+
  " because of the following error:\n"+j))}};X.I=function(a,b){(!a||1!=a.nodeType)&&h(new Ob(32,'The result of the xpath expression "'+b+'" is: '+a+". It should be an element."))};X.n=function(a,b){var c=function(){var c=X.k(b,a,9);return c?(c=c.singleNodeValue,w?c:c||l):b.selectSingleNode?(c=F(b),c.setProperty&&c.setProperty("SelectionLanguage","XPath"),b.selectSingleNode(a)):l}();c===l||X.I(c,a);return c};
  X.p=function(a,b){var c=function(){var c=X.k(b,a,7);if(c){var e=c.snapshotLength;w&&!q(e)&&X.I(l,a);for(var f=[],g=0;g<e;++g)f.push(c.snapshotItem(g));return f}return b.selectNodes?(c=F(b),c.setProperty&&c.setProperty("SelectionLanguage","XPath"),b.selectNodes(a)):[]}();v(c,function(b){X.I(b,a)});return c};!w&&(!z||wb("533"));function ad(a,b){var c=F(a);return c.defaultView&&c.defaultView.getComputedStyle&&(c=c.defaultView.getComputedStyle(a,l))?c[b]||c.getPropertyValue(b)||"":""}function bd(a,b){return ad(a,b)||(a.currentStyle?a.currentStyle[b]:l)||a.style&&a.style[b]}function cd(a){var b=a.getBoundingClientRect();x&&(a=a.ownerDocument,b.left-=a.documentElement.clientLeft+a.body.clientLeft,b.top-=a.documentElement.clientTop+a.body.clientTop);return b}
  function dd(a){if(x&&!A(8))return a.offsetParent;for(var b=F(a),c=bd(a,"position"),d="fixed"==c||"absolute"==c,a=a.parentNode;a&&a!=b;a=a.parentNode)if(c=bd(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 ed(a){var b=new C;if(1==a.nodeType){if(a.getBoundingClientRect){var c=cd(a);b.x=c.left;b.y=c.top}else{c=ab(E(a));var d,e=F(a),f=bd(a,"position");oa(a,"Parameter is required");var g=y&&e.getBoxObjectFor&&!a.getBoundingClientRect&&"absolute"==f&&(d=e.getBoxObjectFor(a))&&(0>d.screenX||0>d.screenY),j=new C(0,0),s;d=e?F(e):document;if(s=x)if(s=!A(9))s="CSS1Compat"!=E(d).A.compatMode;s=s?d.body:d.documentElement;if(a!=s)if(a.getBoundingClientRect)d=cd(a),e=ab(E(e)),j.x=d.left+e.x,j.y=d.top+e.y;
  else if(e.getBoxObjectFor&&!g)d=e.getBoxObjectFor(a),e=e.getBoxObjectFor(s),j.x=d.screenX-e.screenX,j.y=d.screenY-e.screenY;else{g=a;do{j.x+=g.offsetLeft;j.y+=g.offsetTop;g!=a&&(j.x+=g.clientLeft||0,j.y+=g.clientTop||0);if(z&&"fixed"==bd(g,"position")){j.x+=e.body.scrollLeft;j.y+=e.body.scrollTop;break}g=g.offsetParent}while(g&&g!=a);if(w||z&&"absolute"==f)j.y-=e.body.offsetTop;for(g=a;(g=dd(g))&&g!=e.body&&g!=s;)if(j.x-=g.scrollLeft,!w||"TR"!=g.tagName)j.y-=g.scrollTop}b.x=j.x-c.x;b.y=j.y-c.y}if(y&&
  !Na(12)){var t;x?t="-ms-transform":z?t="-webkit-transform":w?t="-o-transform":y&&(t="-moz-transform");var B;t&&(B=bd(a,t));B||(B=bd(a,"transform"));B?(a=B.match(fd),a=!a?new C(0,0):new C(parseFloat(a[1]),parseFloat(a[2]))):a=new C(0,0);b=new C(b.x+a.x,b.y+a.y)}}else t=ca(a.T),B=a,a.targetTouches?B=a.targetTouches[0]:t&&a.T().targetTouches&&(B=a.T().targetTouches[0]),b.x=B.clientX,b.y=B.clientY;return b}
  function gd(a){var b=a.offsetWidth,c=a.offsetHeight,d=z&&!b&&!c;return(!q(b)||d)&&a.getBoundingClientRect?(a=cd(a),new D(a.right-a.left,a.bottom-a.top)):new D(b,c)}var fd=/matrix\([0-9\.\-]+, [0-9\.\-]+, [0-9\.\-]+, [0-9\.\-]+, ([0-9\.\-]+)p?x?, ([0-9\.\-]+)p?x?\)/;function Y(a,b){return!!a&&1==a.nodeType&&(!b||a.tagName.toUpperCase()==b)}var hd=/[;]+(?=(?:(?:[^"]*"){2})*[^"]*$)(?=(?:(?:[^']*'){2})*[^']*$)(?=(?:[^()]*\([^()]*\))*[^()]*$)/;
  function id(a,b){b=b.toLowerCase();if("style"==b){var c=[];v(a.style.cssText.split(hd),function(a){var b=a.indexOf(":");0<b&&(a=[a.slice(0,b),a.slice(b+1)],2==a.length&&c.push(a[0].toLowerCase(),":",a[1],";"))});c=c.join("");c=";"==c.charAt(c.length-1)?c:c+";";return w?c.replace(/\w+:;/g,""):c}if(Bb&&"value"==b&&Y(a,"INPUT"))return a.value;if(Cb&&a[b]===k)return String(a.getAttribute(b));var d=a.getAttributeNode(b);return d&&d.specified?d.value:l}
  function jd(a){for(a=a.parentNode;a&&1!=a.nodeType&&9!=a.nodeType&&11!=a.nodeType;)a=a.parentNode;return Y(a)?a:l}
  function Z(a,b){var c=String(b).replace(/\-([a-z])/g,function(a,b){return b.toUpperCase()});if("float"==c||"cssFloat"==c||"styleFloat"==c)c=Cb?"styleFloat":"cssFloat";c=ad(a,c)||kd(a,c);if(c===l)c=l;else if(va(Gb,b)&&(Jb.test("#"==c.charAt(0)?c:"#"+c)||Nb(c).length||Fb&&Fb[c.toLowerCase()]||Lb(c).length)){var d=Lb(c);if(!d.length){a:if(d=Nb(c),!d.length){d=Fb[c.toLowerCase()];d=!d?"#"==c.charAt(0)?c:"#"+c:d;if(Jb.test(d)&&(d=Ib(d),d=Ib(d),d=[parseInt(d.substr(1,2),16),parseInt(d.substr(3,2),16),parseInt(d.substr(5,
  2),16)],d.length))break a;d=[]}3==d.length&&d.push(1)}c=4!=d.length?c:"rgba("+d.join(", ")+")"}return c}function kd(a,b){var c=a.currentStyle||a.style,d=c[b];!q(d)&&ca(c.getPropertyValue)&&(d=c.getPropertyValue(b));return"inherit"!=d?q(d)?d:l:(c=jd(a))?kd(c,b):l}
  function ld(a){if(ca(a.getBBox))try{var b=a.getBBox();if(b)return b}catch(c){}if(Y(a,Ra)){b=(F(a)?F(a).parentWindow||F(a).defaultView:window)||i;"hidden"!=Z(a,"overflow")?a=k:(a=jd(a),!a||!Y(a,"HTML")?a=k:(a=Z(a,"overflow"),a="auto"==a||"scroll"==a));if(a){var b=(b||fa).document,a=b.documentElement,d=b.body;d||h(new Ob(13,"No BODY element present"));b=[a.clientHeight,a.scrollHeight,a.offsetHeight,d.scrollHeight,d.offsetHeight];a=Math.max.apply(l,[a.clientWidth,a.scrollWidth,a.offsetWidth,d.scrollWidth,
  d.offsetWidth]);b=Math.max.apply(l,b);a=new D(a,b)}else a=(b||window).document,a="CSS1Compat"==a.compatMode?a.documentElement:a.body,a=new D(a.clientWidth,a.clientHeight);return a}if("none"!=bd(a,"display"))a=gd(a);else{var b=a.style,d=b.display,e=b.visibility,f=b.position;b.visibility="hidden";b.position="absolute";b.display="inline";a=gd(a);b.display=d;b.position=f;b.visibility=e}return a}
  function md(a,b){function c(a){if("none"==Z(a,"display"))return m;a=jd(a);return!a||c(a)}function d(a){var b=ld(a);return 0<b.height&&0<b.width?k:Y(a,"PATH")&&(0<b.height||0<b.width)?(b=Z(a,"stroke-width"),!!b&&0<parseInt(b,10)):ta(a.childNodes,function(b){return b.nodeType==Ta&&"hidden"!=Z(a,"overflow")||Y(b)&&d(b)})}function e(a){var b=dd(a),c=y||x||w?jd(a):b;if((y||x||w)&&Y(c,Ra))b=c;if(b&&"hidden"==Z(b,"overflow")){var c=ld(b),d=ed(b),a=ed(a);return d.x+c.width<a.x||d.y+c.height<a.y?m:e(b)}return k}
  function f(a){var b=Z(a,"-o-transform")||Z(a,"-webkit-transform")||Z(a,"-ms-transform")||Z(a,"-moz-transform")||Z(a,"transform");if(b&&"none"!==b)return b=ed(a),a=ld(a),0<=b.x+a.width/2&&0<=b.y+a.height/2?k:m;a=jd(a);return!a||f(a)}Y(a)||h(Error("Argument to isShown must be of type Element"));if(Y(a,"OPTION")||Y(a,"OPTGROUP")){var g=$a(a,function(a){return Y(a,"SELECT")});return!!g&&md(g,k)}if(Y(a,"MAP")){if(!a.name)return m;g=F(a);if(g.evaluate)g=X.n('/descendant::*[@usemap = "#'+a.name+'"]',g);
  else var j=[],g=Za(g,function(b){return Y(b)&&id(b,"usemap")=="#"+a.name},j,k)?j[0]:i;return!!g&&md(g,b)}if(Y(a,"AREA"))return g=$a(a,function(a){return Y(a,"MAP")}),!!g&&md(g,b);if(!(g=Y(a,"INPUT")&&"hidden"==a.type.toLowerCase()||Y(a,"NOSCRIPT")||"hidden"==Z(a,"visibility")||!c(a)))if(g=!b)Db?"relative"==Z(a,"position")?g=1:(g=Z(a,"filter"),g=(g=g.match(/^alpha\(opacity=(\d*)\)/)||g.match(/^progid:DXImageTransform.Microsoft.Alpha\(Opacity=(\d*)\)/))?Number(g[1])/100:1):g=nd(a),g=0==g;return g||
  !d(a)||!e(a)?m:f(a)}function od(a){return a.replace(/^[^\S\xa0]+|[^\S\xa0]+$/g,"")}function pd(a){var b=[];qd(a,b);b=ra(b,od);return od(b.join("\n")).replace(/\xa0/g," ")}
  function qd(a,b){if(Y(a,"BR"))b.push("");else{var c=Y(a,"TD"),d=Z(a,"display"),e=!c&&!va(rd,d),f;if(a.previousElementSibling!=i)f=a.previousElementSibling;else for(f=a.previousSibling;f&&1!=f.nodeType;)f=f.previousSibling;f=f?Z(f,"display"):"";var g=Z(a,"float")||Z(a,"cssFloat")||Z(a,"styleFloat");e&&(!("run-in"==f&&"none"==g)&&!/^[\s\xa0]*$/.test(b[b.length-1]||""))&&b.push("");var j=md(a),s=l,t=l;j&&(s=Z(a,"white-space"),t=Z(a,"text-transform"));v(a.childNodes,function(a){if(a.nodeType==Ta&&j){var c=
  s,d=t,a=a.nodeValue.replace(/\u200b/g,""),a=a.replace(/(\r\n|\r|\n)/g,"\n");if("normal"==c||"nowrap"==c)a=a.replace(/\n/g," ");a="pre"==c||"pre-wrap"==c?a.replace(/[ \f\t\v\u2028\u2029]/g,"\u00a0"):a.replace(/[\ \f\t\v\u2028\u2029]+/g," ");"capitalize"==d?a=a.replace(/(^|\s)(\S)/g,function(a,b,c){return b+c.toUpperCase()}):"uppercase"==d?a=a.toUpperCase():"lowercase"==d&&(a=a.toLowerCase());c=b.pop()||"";ha(c)&&0==a.lastIndexOf(" ",0)&&(a=a.substr(1));b.push(c+a)}else Y(a)&&qd(a,b)});f=b[b.length-
  1]||"";if((c||"table-cell"==d)&&f&&!ha(f))b[b.length-1]+=" ";e&&("run-in"!=d&&!/^[\s\xa0]*$/.test(f))&&b.push("")}}var rd="inline inline-block inline-table none table-cell table-column table-column-group".split(" ");function nd(a){var b=1,c=Z(a,"opacity");c&&(b=Number(c));(a=jd(a))&&(b*=nd(a));return b};var $={},sd={};$.aa=function(a,b,c){var d;try{d=Eb.p("a",b)}catch(e){d=G(E(b),"A",l,b)}return ua(d,function(b){b=pd(b);return c&&-1!=b.indexOf(a)||b==a})};$.W=function(a,b,c){var d;try{d=Eb.p("a",b)}catch(e){d=G(E(b),"A",l,b)}return qa(d,function(b){b=pd(b);return c&&-1!=b.indexOf(a)||b==a})};$.n=function(a,b){return $.aa(a,b,m)};$.p=function(a,b){return $.W(a,b,m)};sd.n=function(a,b){return $.aa(a,b,k)};sd.p=function(a,b){return $.W(a,b,k)};var td={n:function(a,b){return b.getElementsByTagName(a)[0]||l},p:function(a,b){return b.getElementsByTagName(a)}};var ud={className:bb,"class name":bb,css:Eb,"css selector":Eb,id:{n:function(a,b){var c=E(b),d=r(a)?c.A.getElementById(a):a;if(!d)return l;if(id(d,"id")==a&&Va(b,d))return d;c=G(c,"*");return ua(c,function(c){return id(c,"id")==a&&Va(b,c)})},p:function(a,b){var c=G(E(b),"*",l,b);return qa(c,function(b){return id(b,"id")==a})}},linkText:$,"link text":$,name:{n:function(a,b){var c=G(E(b),"*",l,b);return ua(c,function(b){return id(b,"name")==a})},p:function(a,b){var c=G(E(b),"*",l,b);return qa(c,function(b){return id(b,
  "name")==a})}},partialLinkText:sd,"partial link text":sd,tagName:td,"tag name":td,xpath:X};function vd(a,b){var c;a:{for(c in a)if(a.hasOwnProperty(c))break a;c=l}if(c){var d=ud[c];if(d&&ca(d.n))return d.n(a[c],b||fa.document)}h(Error("Unsupported locator strategy: "+c))};function wd(){this.F=i}
  function xd(a,b,c){switch(typeof b){case "string":yd(b,c);break;case "number":c.push(isFinite(b)&&!isNaN(b)?b:"null");break;case "boolean":c.push(b);break;case "undefined":c.push("null");break;case "object":if(b==l){c.push("null");break}if("array"==ba(b)){var d=b.length;c.push("[");for(var e="",f=0;f<d;f++)c.push(e),e=b[f],xd(a,a.F?a.F.call(b,String(f),e):e,c),e=",";c.push("]");break}c.push("{");d="";for(f in b)Object.prototype.hasOwnProperty.call(b,f)&&(e=b[f],"function"!=typeof e&&(c.push(d),yd(f,
  c),c.push(":"),xd(a,a.F?a.F.call(b,f,e):e,c),d=","));c.push("}");break;case "function":break;default:h(Error("Unknown type: "+typeof b))}}var zd={'"':'\\"',"\\":"\\\\","/":"\\/","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\x0B":"\\u000b"},Ad=/\uffff/.test("\uffff")?/[\\\"\x00-\x1f\x7f-\uffff]/g:/[\\\"\x00-\x1f\x7f-\xff]/g;
  function yd(a,b){b.push('"',a.replace(Ad,function(a){if(a in zd)return zd[a];var b=a.charCodeAt(0),e="\\u";16>b?e+="000":256>b?e+="00":4096>b&&(e+="0");return zd[a]=e+b.toString(16)}),'"')};z||w||y&&wb(3.5)||x&&wb(8);function Bd(a){switch(ba(a)){case "string":case "number":case "boolean":return a;case "function":return a.toString();case "array":return ra(a,Bd);case "object":if("nodeType"in a&&(1==a.nodeType||9==a.nodeType)){var b={};b.ELEMENT=Cd(a);return b}if("document"in a)return b={},b.WINDOW=Cd(a),b;var c=ba(a);if("array"==c||"object"==c&&"number"==typeof a.length)return ra(a,Bd);var c=function(a,b){return"number"==typeof b||r(b)},d={};for(b in a)c.call(i,0,b)&&(d[b]=a[b]);return Sa(d,Bd);default:return l}}
  function Dd(a,b){return"array"==ba(a)?ra(a,function(a){return Dd(a,b)}):da(a)?"function"==typeof a?a:"ELEMENT"in a?Ed(a.ELEMENT,b):"WINDOW"in a?Ed(a.WINDOW,b):Sa(a,function(a){return Dd(a,b)}):a}function Fd(a){var a=a||document,b=a.$wdc_;b||(b=a.$wdc_={},b.M=ea());b.M||(b.M=ea());return b}function Cd(a){var b=Fd(a.ownerDocument),c;a:{c=function(b){return b==a};for(var d in b)if(c.call(i,b[d])){c=d;break a}c=i}c||(c=":wdc:"+b.M++,b[c]=a);return c}
  function Ed(a,b){var a=decodeURIComponent(a),c=b||document,d=Fd(c);a in d||h(new Ob(10,"Element does not exist in cache"));var e=d[a];if("setInterval"in e)return e.closed&&(delete d[a],h(new Ob(23,"Window has been closed."))),e;for(var f=e;f;){if(f==c.documentElement)return e;f=f.parentNode}delete d[a];h(new Ob(10,"Element is no longer attached to the DOM"))};function Gd(a,b,c){var d={};d[a]=b;var a=vd,c=[d,c],d=window||fa,e;try{var a=r(a)?new d.Function(a):d==window?a:new d.Function("return ("+a+").apply(null,arguments);"),f=Dd(c,d.document),g=a.apply(l,f);e={status:0,value:Bd(g)}}catch(j){e={status:"code"in j?j.code:13,value:{message:j.message}}}f=[];xd(new wd,e,f);return f.join("")}var Hd=["_"],Id=p;!(Hd[0]in Id)&&Id.execScript&&Id.execScript("var "+Hd[0]);for(var Jd;Hd.length&&(Jd=Hd.shift());)!Hd.length&&q(Gd)?Id[Jd]=Gd:Id=Id[Jd]?Id[Jd]:Id[Jd]={};; return this._.apply(null,arguments);}.apply({navigator:typeof window!=undefined?window.navigator:null,document:typeof window!=undefined?window.document:null}, arguments);}
  