/* * Copyright 2011-2014 Software Freedom Conservancy * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ /* AUTO GENERATED - DO NOT EDIT BY HAND */ #include // For NULL. #include "atoms.h" namespace webdriver { namespace atoms { const char* const CLEAR[] = { "function(){return function(){var g,aa=this;function k(a){return void 0!", "==a}function l(a){return\"string\"==typeof a}function n(a){return\"numb", "er\"==typeof a}function ba(a,b){a=a.split(\".\");var c=aa;a[0]in c||!c.", "execScript||c.execScript(\"var \"+a[0]);for(var d;a.length&&(d=a.shift(", "));)!a.length&&k(b)?c[d]=b:c=c[d]&&c[d]!==Object.prototype[d]?c[d]:c[d]", "={}}\nfunction ca(a){var b=typeof a;if(\"object\"==b)if(a){if(a instanc", "eof Array)return\"array\";if(a instanceof Object)return b;var c=Object.", "prototype.toString.call(a);if(\"[object Window]\"==c)return\"object\";i", "f(\"[object Array]\"==c||\"number\"==typeof a.length&&\"undefined\"!=ty", "peof a.splice&&\"undefined\"!=typeof a.propertyIsEnumerable&&!a.propert", "yIsEnumerable(\"splice\"))return\"array\";if(\"[object Function]\"==c||", "\"undefined\"!=typeof a.call&&\"undefined\"!=typeof a.propertyIsEnumera", "ble&&!a.propertyIsEnumerable(\"call\"))return\"function\"}else return\"", "null\";\nelse if(\"function\"==b&&\"undefined\"==typeof a.call)return\"", "object\";return b}function da(a){var b=ca(a);return\"array\"==b||\"obje", "ct\"==b&&\"number\"==typeof a.length}function ea(a){return\"function\"=", "=ca(a)}function fa(a){var b=typeof a;return\"object\"==b&&null!=a||\"fu", "nction\"==b}function ga(a,b,c){return a.call.apply(a.bind,arguments)}\n", "function ha(a,b,c){if(!a)throw Error();if(2b?1:0}function na(a){return String(a).replace(/\\-([a-z])/g,function(a", ",c){return c.toUpperCase()})};function oa(a,b){if(l(a))return l(b)&&1==", "b.length?a.indexOf(b,0):-1;for(var c=0;c=arguments.length?Array.prototype.slice.call(a,b):Array.prototype.s", "lice.call(a,b,c)};var ta={aliceblue:\"#f0f8ff\",antiquewhite:\"#faebd7", "\",aqua:\"#00ffff\",aquamarine:\"#7fffd4\",azure:\"#f0ffff\",beige:\"#f", "5f5dc\",bisque:\"#ffe4c4\",black:\"#000000\",blanchedalmond:\"#ffebcd\"", ",blue:\"#0000ff\",blueviolet:\"#8a2be2\",brown:\"#a52a2a\",burlywood:\"", "#deb887\",cadetblue:\"#5f9ea0\",chartreuse:\"#7fff00\",chocolate:\"#d26", "91e\",coral:\"#ff7f50\",cornflowerblue:\"#6495ed\",cornsilk:\"#fff8dc\"", ",crimson:\"#dc143c\",cyan:\"#00ffff\",darkblue:\"#00008b\",darkcyan:\"#", "008b8b\",darkgoldenrod:\"#b8860b\",darkgray:\"#a9a9a9\",darkgreen:\"#00", "6400\",\ndarkgrey:\"#a9a9a9\",darkkhaki:\"#bdb76b\",darkmagenta:\"#8b00", "8b\",darkolivegreen:\"#556b2f\",darkorange:\"#ff8c00\",darkorchid:\"#99", "32cc\",darkred:\"#8b0000\",darksalmon:\"#e9967a\",darkseagreen:\"#8fbc8", "f\",darkslateblue:\"#483d8b\",darkslategray:\"#2f4f4f\",darkslategrey:", "\"#2f4f4f\",darkturquoise:\"#00ced1\",darkviolet:\"#9400d3\",deeppink:", "\"#ff1493\",deepskyblue:\"#00bfff\",dimgray:\"#696969\",dimgrey:\"#6969", "69\",dodgerblue:\"#1e90ff\",firebrick:\"#b22222\",floralwhite:\"#fffaf0", "\",forestgreen:\"#228b22\",fuchsia:\"#ff00ff\",gainsboro:\"#dcdcdc\",\n", "ghostwhite:\"#f8f8ff\",gold:\"#ffd700\",goldenrod:\"#daa520\",gray:\"#8", "08080\",green:\"#008000\",greenyellow:\"#adff2f\",grey:\"#808080\",hone", "ydew:\"#f0fff0\",hotpink:\"#ff69b4\",indianred:\"#cd5c5c\",indigo:\"#4b", "0082\",ivory:\"#fffff0\",khaki:\"#f0e68c\",lavender:\"#e6e6fa\",lavende", "rblush:\"#fff0f5\",lawngreen:\"#7cfc00\",lemonchiffon:\"#fffacd\",light", "blue:\"#add8e6\",lightcoral:\"#f08080\",lightcyan:\"#e0ffff\",lightgold", "enrodyellow:\"#fafad2\",lightgray:\"#d3d3d3\",lightgreen:\"#90ee90\",li", "ghtgrey:\"#d3d3d3\",lightpink:\"#ffb6c1\",lightsalmon:\"#ffa07a\",\nlig", "htseagreen:\"#20b2aa\",lightskyblue:\"#87cefa\",lightslategray:\"#77889", "9\",lightslategrey:\"#778899\",lightsteelblue:\"#b0c4de\",lightyellow:", "\"#ffffe0\",lime:\"#00ff00\",limegreen:\"#32cd32\",linen:\"#faf0e6\",ma", "genta:\"#ff00ff\",maroon:\"#800000\",mediumaquamarine:\"#66cdaa\",mediu", "mblue:\"#0000cd\",mediumorchid:\"#ba55d3\",mediumpurple:\"#9370db\",med", "iumseagreen:\"#3cb371\",mediumslateblue:\"#7b68ee\",mediumspringgreen:", "\"#00fa9a\",mediumturquoise:\"#48d1cc\",mediumvioletred:\"#c71585\",mid", "nightblue:\"#191970\",mintcream:\"#f5fffa\",mistyrose:\"#ffe4e1\",\nmoc", "casin:\"#ffe4b5\",navajowhite:\"#ffdead\",navy:\"#000080\",oldlace:\"#f", "df5e6\",olive:\"#808000\",olivedrab:\"#6b8e23\",orange:\"#ffa500\",oran", "gered:\"#ff4500\",orchid:\"#da70d6\",palegoldenrod:\"#eee8aa\",palegree", "n:\"#98fb98\",paleturquoise:\"#afeeee\",palevioletred:\"#db7093\",papay", "awhip:\"#ffefd5\",peachpuff:\"#ffdab9\",peru:\"#cd853f\",pink:\"#ffc0cb", "\",plum:\"#dda0dd\",powderblue:\"#b0e0e6\",purple:\"#800080\",red:\"#ff", "0000\",rosybrown:\"#bc8f8f\",royalblue:\"#4169e1\",saddlebrown:\"#8b451", "3\",salmon:\"#fa8072\",sandybrown:\"#f4a460\",seagreen:\"#2e8b57\",\nse", "ashell:\"#fff5ee\",sienna:\"#a0522d\",silver:\"#c0c0c0\",skyblue:\"#87c", "eeb\",slateblue:\"#6a5acd\",slategray:\"#708090\",slategrey:\"#708090\"", ",snow:\"#fffafa\",springgreen:\"#00ff7f\",steelblue:\"#4682b4\",tan:\"#", "d2b48c\",teal:\"#008080\",thistle:\"#d8bfd8\",tomato:\"#ff6347\",turquo", "ise:\"#40e0d0\",violet:\"#ee82ee\",wheat:\"#f5deb3\",white:\"#ffffff\",", "whitesmoke:\"#f5f5f5\",yellow:\"#ffff00\",yellowgreen:\"#9acd32\"};var ", "ua=\"backgroundColor borderTopColor borderRightColor borderBottomColor ", "borderLeftColor color outlineColor\".split(\" \"),va=/#([0-9a-fA-F])([0", "-9a-fA-F])([0-9a-fA-F])/,wa=/^#(?:[0-9a-f]{3}){1,2}$/i,xa=/^(?:rgba)?", "\\((\\d{1,3}),\\s?(\\d{1,3}),\\s?(\\d{1,3}),\\s?(0|1|0\\.\\d*)\\)$/i,ya", "=/^(?:rgb)?\\((0|[1-9]\\d{0,2}),\\s?(0|[1-9]\\d{0,2}),\\s?(0|[1-9]\\d{0", ",2})\\)$/i;function v(a,b){this.code=a;this.state=w[a]||za;this.message", "=b||\"\";a=this.state.replace(/((?:^|\\s+)[a-z])/g,function(a){return a", ".toUpperCase().replace(/^[\\s\\xa0]+/g,\"\")});b=a.length-5;if(0>b||a.i", "ndexOf(\"Error\",b)!=b)a+=\"Error\";this.name=a;a=Error(this.message);a", ".name=this.name;this.stack=a.stack||\"\"}p(v,Error);var za=\"unknown er", "ror\",w={15:\"element not selectable\",11:\"element not visible\"};w[31", "]=za;w[30]=za;w[24]=\"invalid cookie domain\";w[29]=\"invalid element c", "oordinates\";w[12]=\"invalid element state\";\nw[32]=\"invalid selector", "\";w[51]=\"invalid selector\";w[52]=\"invalid selector\";w[17]=\"javasc", "ript error\";w[405]=\"unsupported operation\";w[34]=\"move target out o", "f bounds\";w[27]=\"no such alert\";w[7]=\"no such element\";w[8]=\"no s", "uch frame\";w[23]=\"no such window\";w[28]=\"script timeout\";w[33]=\"s", "ession not created\";w[10]=\"stale element reference\";w[21]=\"timeout", "\";w[25]=\"unable to set cookie\";w[26]=\"unexpected alert open\";w[13]", "=za;w[9]=\"unknown command\";v.prototype.toString=function(){return thi", "s.name+\": \"+this.message};var Aa;a:{var Ba=aa.navigator;if(Ba){var Ca", "=Ba.userAgent;if(Ca){Aa=Ca;break a}}Aa=\"\"};function Ea(a){var b=Fa;Ob", "ject.prototype.hasOwnProperty.call(b,\"528\")||(b[\"528\"]=a(\"528\"))}", ";var Ga=-1!=Aa.indexOf(\"Macintosh\"),Ha=-1!=Aa.indexOf(\"Windows\"),Ia", ",Ja=\"\",Ka=/WebKit\\/(\\S+)/.exec(Aa);Ka&&(Ja=Ka?Ka[1]:\"\");Ia=Ja;var", " Fa={};\nfunction La(){Ea(function(){for(var a=0,b=la(String(Ia)).split", "(\".\"),c=la(\"528\").split(\".\"),d=Math.max(b.length,c.length),e=0;0=", "=a&&e]=|\\s+|./g,db=/^\\s/;function C(a,b){return a", ".$[a.P+(b||0)]}ab.prototype.next=function(){return this.$[this.P++]};ab", ".prototype.back=function(){this.P--};ab.prototype.empty=function(){retu", "rn this.$.length<=this.P};function D(a){var b=null,c=a.nodeType;1==c&&(", "b=a.textContent,b=void 0==b||null==b?a.innerText:b,b=void 0==b||null==b", "?\"\":b);if(\"string\"!=typeof b)if(9==c||1==c){a=9==c?a.documentElemen", "t:a.firstChild;for(var c=0,d=[],b=\"\";a;){do 1!=a.nodeType&&(b+=a.node", "Value),d[c++]=a;while(a=a.firstChild);for(;c&&!(a=d[--c].nextSibling);)", ";}}else b=a.nodeValue;return\"\"+b}\nfunction eb(a,b,c){if(null===b)ret", "urn!0;try{if(!a.getAttribute)return!1}catch(d){return!1}return null==c?", "!!a.getAttribute(b):a.getAttribute(b,2)==c}function fb(a,b,c,d,e){retur", "n gb.call(null,a,b,l(c)?c:null,l(d)?d:null,e||new E)}\nfunction gb(a,b,", "c,d,e){b.getElementsByName&&d&&\"name\"==c?(b=b.getElementsByName(d),q(", "b,function(b){a.matches(b)&&e.add(b)})):b.getElementsByClassName&&d&&\"", "class\"==c?(b=b.getElementsByClassName(d),q(b,function(b){b.className==", "d&&a.matches(b)&&e.add(b)})):a instanceof F?hb(a,b,c,d,e):b.getElements", "ByTagName&&(b=b.getElementsByTagName(a.getName()),q(b,function(a){eb(a,", "c,d)&&e.add(a)}));return e}\nfunction hb(a,b,c,d,e){for(b=b.firstChild;", "b;b=b.nextSibling)eb(b,c,d)&&a.matches(b)&&e.add(b),hb(a,b,c,d,e)};func", "tion E(){this.o=this.j=null;this.J=0}function ib(a){this.node=a;this.ne", "xt=this.F=null}function jb(a,b){if(!a.j)return b;if(!b.j)return a;var c", "=a.j;b=b.j;for(var d=null,e,f=0;c&&b;)c.node==b.node?(e=c,c=c.next,b=b.", "next):0\",4,2,fu", "nction(a,b,c){return sb(function(a,b){return a>b},a,b,c)});L(\"<=\",4,2", ",function(a,b,c){return sb(function(a,b){return a<=b},a,b,c)});L(\">=\"", ",4,2,function(a,b,c){return sb(function(a,b){return a>=b},a,b,c)});var ", "rb=L(\"=\",3,2,function(a,b,c){return sb(function(a,b){return a==b},a,b", ",c,!0)});L(\"!=\",3,2,function(a,b,c){return sb(function(a,b){return a!", "=b},a,b,c,!0)});L(\"and\",2,2,function(a,b,c){return pb(a,c)&&pb(b,c)})", ";L(\"or\",1,2,function(a,b,c){return pb(a,c)||pb(b,c)});function vb(a,b", "){if(b.v()&&4!=a.i)throw Error(\"Primary expression must evaluate to no", "deset if filter has predicate(s).\");G.call(this,a.i);this.ka=a;this.f=", "b;this.A=a.h();this.l=a.l}p(vb,G);vb.prototype.evaluate=function(a){a=t", "his.ka.evaluate(a);return wb(this.f,a)};vb.prototype.toString=function(", "){var a=\"Filter:\"+I(this.ka);return a+=I(this.f)};function xb(a,b){if", "(b.lengtha.Y)thro", "w Error(\"Function \"+a.m+\" expects at most \"+a.Y+\" arguments, \"+b.", "length+\" given\");a.va&&q(b,function(b,d){if(4!=b.i)throw Error(\"Argu", "ment \"+d+\" to function \"+a.m+\" is not of type Nodeset: \"+b);});G.c", "all(this,a.i);this.O=a;this.U=b;nb(this,a.A||u(b,function(a){return a.h", "()}));ob(this,a.ta&&!b.length||a.sa&&!!b.length||u(b,function(a){return", " a.l}))}\np(xb,G);xb.prototype.evaluate=function(a){return this.O.u.app", "ly(null,qa(a,this.U))};xb.prototype.toString=function(){var a=\"Functio", "n: \"+this.O;if(this.U.length)var b=r(this.U,function(a,b){return a+I(b", ")},\"Arguments:\"),a=a+I(b);return a};function yb(a,b,c,d,e,f,h,m,y){th", "is.m=a;this.i=b;this.A=c;this.ta=d;this.sa=e;this.u=f;this.ia=h;this.Y=", "k(m)?m:h;this.va=!!y}yb.prototype.toString=function(){return this.m};va", "r zb={};\nfunction N(a,b,c,d,e,f,h,m){if(zb.hasOwnProperty(a))throw Err", "or(\"Function already created: \"+a+\".\");zb[a]=new yb(a,b,c,d,!1,e,f,", "h,m)}N(\"boolean\",2,!1,!1,function(a,b){return pb(b,a)},1);N(\"ceiling", "\",1,!1,!1,function(a,b){return Math.ceil(J(b,a))},1);N(\"concat\",3,!1", ",!1,function(a,b){return r(sa(arguments,1),function(b,d){return b+K(d,a", ")},\"\")},2,null);N(\"contains\",2,!1,!1,function(a,b,c){b=K(b,a);a=K(c", ",a);return-1!=b.indexOf(a)},2);N(\"count\",1,!1,!1,function(a,b){return", " b.evaluate(a).v()},1,1,!0);\nN(\"false\",2,!1,!1,function(){return!1},", "0);N(\"floor\",1,!1,!1,function(a,b){return Math.floor(J(b,a))},1);N(\"", "id\",4,!1,!1,function(a,b){var c=a.s,d=9==c.nodeType?c:c.ownerDocument;", "a=K(b,a).split(/\\s+/);var e=[];q(a,function(a){a=d.getElementById(a);!", "a||0<=oa(e,a)||e.push(a)});e.sort(Ra);var f=new E;q(e,function(a){f.add", "(a)});return f},1);N(\"lang\",2,!1,!1,function(){return!1},1);N(\"last", "\",1,!0,!1,function(a){if(1!=arguments.length)throw Error(\"Function la", "st expects ()\");return a.o},0);\nN(\"local-name\",3,!1,!0,function(a,b", "){return(a=b?kb(b.evaluate(a)):a.s)?a.localName||a.nodeName.toLowerCase", "():\"\"},0,1,!0);N(\"name\",3,!1,!0,function(a,b){return(a=b?kb(b.evalu", "ate(a)):a.s)?a.nodeName.toLowerCase():\"\"},0,1,!0);N(\"namespace-uri\"", ",3,!0,!1,function(){return\"\"},0,1,!0);N(\"normalize-space\",3,!1,!0,f", "unction(a,b){return(b?K(b,a):D(a.s)).replace(/[\\s\\xa0]+/g,\" \").repl", "ace(/^\\s+|\\s+$/g,\"\")},0,1);N(\"not\",2,!1,!1,function(a,b){return!p", "b(b,a)},1);\nN(\"number\",1,!1,!0,function(a,b){return b?J(b,a):+D(a.s)", "},0,1);N(\"position\",1,!0,!1,function(a){return a.ya},0);N(\"round\",1", ",!1,!1,function(a,b){return Math.round(J(b,a))},1);N(\"starts-with\",2,", "!1,!1,function(a,b,c){b=K(b,a);a=K(c,a);return 0==b.lastIndexOf(a,0)},2", ");N(\"string\",3,!1,!0,function(a,b){return b?K(b,a):D(a.s)},0,1);N(\"s", "tring-length\",1,!1,!0,function(a,b){return(b?K(b,a):D(a.s)).length},0,", "1);\nN(\"substring\",3,!1,!1,function(a,b,c,d){c=J(c,a);if(isNaN(c)||In", "finity==c||-Infinity==c)return\"\";d=d?J(d,a):Infinity;if(isNaN(d)||-In", "finity===d)return\"\";c=Math.round(c)-1;var e=Math.max(c,0);a=K(b,a);re", "turn Infinity==d?a.substring(e):a.substring(e,c+Math.round(d))},2,3);N(", "\"substring-after\",3,!1,!1,function(a,b,c){b=K(b,a);a=K(c,a);c=b.index", "Of(a);return-1==c?\"\":b.substring(c+a.length)},2);\nN(\"substring-befo", "re\",3,!1,!1,function(a,b,c){b=K(b,a);a=K(c,a);a=b.indexOf(a);return-1=", "=a?\"\":b.substring(0,a)},2);N(\"sum\",1,!1,!1,function(a,b){a=b.evalua", "te(a).iterator();b=0;for(var c=a.next();c;c=a.next())b+=+D(c);return b}", ",1,1,!0);N(\"translate\",3,!1,!1,function(a,b,c,d){b=K(b,a);c=K(c,a);va", "r e=K(d,a);d={};for(var f=0;fa.len", "gth)throw Error(\"Unclosed literal string\");return new Bb(a)}\nfunctio", "n Zb(a){var b=[];if(Ib(C(a.a))){var c=a.a.next();var d=C(a.a);if(\"/\"=", "=c&&(a.a.empty()||\".\"!=d&&\"..\"!=d&&\"@\"!=d&&\"*\"!=d&&!/(?![0-9])[", "\\w]/.test(d)))return new Gb;d=new Gb;R(a,\"Missing next location step.", "\");c=$b(a,c);b.push(c)}else{a:{c=C(a.a);d=c.charAt(0);switch(d){case ", "\"$\":throw Error(\"Variable reference not allowed in HTML XPath\");cas", "e \"(\":a.a.next();c=Ub(a);R(a,'unclosed \"(\"');Wb(a,\")\");break;case", " '\"':case \"'\":c=Yb(a);break;default:if(isNaN(+c))if(!Ab(c)&&/(?![0-9", "])[\\w]/.test(d)&&\"(\"==C(a.a,\n1)){c=a.a.next();c=zb[c]||null;a.a.nex", "t();for(d=[];\")\"!=C(a.a);){R(a,\"Missing function argument list.\");d", ".push(Ub(a));if(\",\"!=C(a.a))break;a.a.next()}R(a,\"Unclosed function ", "argument list.\");Xb(a);c=new xb(c,d)}else{c=null;break a}else c=new Db", "(+a.a.next())}\"[\"==C(a.a)&&(d=new O(ac(a)),c=new vb(c,d))}if(c)if(Ib(", "C(a.a)))d=c;else return c;else c=$b(a,\"/\"),d=new Hb,b.push(c)}for(;Ib", "(C(a.a));)c=a.a.next(),R(a,\"Missing next location step.\"),c=$b(a,c),b", ".push(c);return new Eb(d,b)}\nfunction $b(a,b){if(\"/\"!=b&&\"//\"!=b)t", "hrow Error('Step op should be \"/\" or \"//\"');if(\".\"==C(a.a)){var c", "=new P(Qb,new F(\"node\"));a.a.next();return c}if(\"..\"==C(a.a))return", " c=new P(Pb,new F(\"node\")),a.a.next(),c;if(\"@\"==C(a.a)){var d=Fb;a.", "a.next();R(a,\"Missing attribute name\")}else if(\"::\"==C(a.a,1)){if(!", "/(?![0-9])[\\w]/.test(C(a.a).charAt(0)))throw Error(\"Bad token: \"+a.a", ".next());var e=a.a.next();d=Ob[e]||null;if(!d)throw Error(\"No axis wit", "h name: \"+e);a.a.next();R(a,\"Missing node name\")}else d=Lb;e=\nC(a.a", ");if(/(?![0-9])[\\w\\*]/.test(e.charAt(0)))if(\"(\"==C(a.a,1)){if(!Ab(e", "))throw Error(\"Invalid node type: \"+e);e=a.a.next();if(!Ab(e))throw E", "rror(\"Invalid type name: \"+e);Wb(a,\"(\");R(a,\"Bad nodetype\");var f", "=C(a.a).charAt(0),h=null;if('\"'==f||\"'\"==f)h=Yb(a);R(a,\"Bad nodetyp", "e\");Xb(a);e=new F(e,h)}else if(e=a.a.next(),f=e.indexOf(\":\"),-1==f)e", "=new Cb(e);else{var h=e.substring(0,f);if(\"*\"==h)var m=\"*\";else if(", "m=a.wa(h),!m)throw Error(\"Namespace prefix not declared: \"+h);e=e.sub", "str(f+1);e=new Cb(e,m)}else throw Error(\"Bad token: \"+\na.a.next());a", "=new O(ac(a),d.H);return c||new P(d,e,a,\"//\"==b)}function ac(a){for(v", "ar b=[];\"[\"==C(a.a);){a.a.next();R(a,\"Missing predicate expression.", "\");var c=Ub(a);b.push(c);R(a,\"Unclosed predicate expression.\");Wb(a,", "\"]\")}return b}function Vb(a){if(\"-\"==C(a.a))return a.a.next(),new R", "b(Vb(a));var b=Zb(a);if(\"|\"!=C(a.a))a=b;else{for(b=[b];\"|\"==a.a.nex", "t();)R(a,\"Missing next union location path.\"),b.push(Zb(a));a.a.back(", ");a=new Sb(b)}return a};function bc(a){switch(a.nodeType){case 1:return", " ja(cc,a);case 9:return bc(a.documentElement);case 11:case 10:case 6:ca", "se 12:return dc;default:return a.parentNode?bc(a.parentNode):dc}}functi", "on dc(){return null}function cc(a,b){if(a.prefix==b)return a.namespaceU", "RI||\"http://www.w3.org/1999/xhtml\";var c=a.getAttributeNode(\"xmlns:", "\"+b);return c&&c.specified?c.value||null:a.parentNode&&9!=a.parentNode", ".nodeType?cc(a.parentNode,b):null};function ec(a,b){if(!a.length)throw ", "Error(\"Empty XPath expression.\");a=bb(a);if(a.empty())throw Error(\"I", "nvalid XPath expression.\");b?ea(b)||(b=ia(b.lookupNamespaceURI,b)):b=f", "unction(){return null};var c=Ub(new Tb(a,b));if(!a.empty())throw Error(", "\"Bad token: \"+a.next());this.evaluate=function(a,b){a=c.evaluate(new ", "$a(a));return new S(a,b)}}\nfunction S(a,b){if(0==b)if(a instanceof E)b", "=4;else if(\"string\"==typeof a)b=2;else if(\"number\"==typeof a)b=1;el", "se if(\"boolean\"==typeof a)b=3;else throw Error(\"Unexpected evaluatio", "n result.\");if(2!=b&&1!=b&&3!=b&&!(a instanceof E))throw Error(\"value", " could not be converted to the specified type\");this.resultType=b;swit", "ch(b){case 2:this.stringValue=a instanceof E?lb(a):\"\"+a;break;case 1:", "this.numberValue=a instanceof E?+lb(a):+a;break;case 3:this.booleanValu", "e=a instanceof E?0=d.length?nul", "l:d[f++]};this.snapshotItem=function(a){if(6!=b&&7!=b)throw Error(\"sna", "pshotItem called with wrong result type\");return a>=d.length||0>a?null", ":d[a]}}\nS.ANY_TYPE=0;S.NUMBER_TYPE=1;S.STRING_TYPE=2;S.BOOLEAN_TYPE=3;", "S.UNORDERED_NODE_ITERATOR_TYPE=4;S.ORDERED_NODE_ITERATOR_TYPE=5;S.UNORD", "ERED_NODE_SNAPSHOT_TYPE=6;S.ORDERED_NODE_SNAPSHOT_TYPE=7;S.ANY_UNORDERE", "D_NODE_TYPE=8;S.FIRST_ORDERED_NODE_TYPE=9;function fc(a){this.lookupNam", "espaceURI=bc(a)}\nba(\"wgxpath.install\",function(a,b){a=a||aa;var c=a.", "Document&&a.Document.prototype||a.document;if(!c.evaluate||b)a.XPathRes", "ult=S,c.evaluate=function(a,b,c,h){return(new ec(a,c)).evaluate(b,h)},c", ".createExpression=function(a,b){return new ec(a,b)},c.createNSResolver=", "function(a){return new fc(a)}});var U={};U.aa=function(){var a={Ea:\"ht", "tp://www.w3.org/2000/svg\"};return function(b){return a[b]||null}}();\n", "U.u=function(a,b,c){var d=A(a);if(!d.documentElement)return null;try{fo", "r(var e=d.createNSResolver?d.createNSResolver(d.documentElement):U.aa,f", "={},h=d.getElementsByTagName(\"*\"),m=0;m=this.left&&a.right<=this.right&&a.top>=this.top&&a.bottom", "<=this.bottom:a.x>=this.left&&a.x<=this.right&&a.y>=this.top&&a.y<=this", ".bottom:!1};\ng.expand=function(a,b,c,d){fa(a)?(this.top-=a.top,this.ri", "ght+=a.right,this.bottom+=a.bottom,this.left-=a.left):(this.top-=a,this", ".right+=Number(b),this.bottom+=Number(c),this.left-=Number(d));return t", "his};g.ceil=function(){this.top=Math.ceil(this.top);this.right=Math.cei", "l(this.right);this.bottom=Math.ceil(this.bottom);this.left=Math.ceil(th", "is.left);return this};\ng.floor=function(){this.top=Math.floor(this.top", ");this.right=Math.floor(this.right);this.bottom=Math.floor(this.bottom)", ";this.left=Math.floor(this.left);return this};g.round=function(){this.t", "op=Math.round(this.top);this.right=Math.round(this.right);this.bottom=M", "ath.round(this.bottom);this.left=Math.round(this.left);return this};g.t", "ranslate=function(a,b){a instanceof x?(this.left+=a.x,this.right+=a.x,t", "his.top+=a.y,this.bottom+=a.y):(this.left+=a,this.right+=a,n(b)&&(this.", "top+=b,this.bottom+=b));return this};\ng.scale=function(a,b){b=n(b)?b:a", ";this.left*=a;this.right*=a;this.top*=b;this.bottom*=b;return this};fun", "ction V(a,b,c,d){this.left=a;this.top=b;this.width=c;this.height=d}g=V.", "prototype;g.clone=function(){return new V(this.left,this.top,this.width", ",this.height)};g.toString=function(){return\"(\"+this.left+\", \"+this.", "top+\" - \"+this.width+\"w x \"+this.height+\"h)\"};g.contains=function", "(a){return a instanceof x?a.x>=this.left&&a.x<=this.left+this.width&&a.", "y>=this.top&&a.y<=this.top+this.height:this.left<=a.left&&this.left+thi", "s.width>=a.left+a.width&&this.top<=a.top&&this.top+this.height>=a.top+a", ".height};\ng.ceil=function(){this.left=Math.ceil(this.left);this.top=Ma", "th.ceil(this.top);this.width=Math.ceil(this.width);this.height=Math.cei", "l(this.height);return this};g.floor=function(){this.left=Math.floor(thi", "s.left);this.top=Math.floor(this.top);this.width=Math.floor(this.width)", ";this.height=Math.floor(this.height);return this};g.round=function(){th", "is.left=Math.round(this.left);this.top=Math.round(this.top);this.width=", "Math.round(this.width);this.height=Math.round(this.height);return this}", ";\ng.translate=function(a,b){a instanceof x?(this.left+=a.x,this.top+=a", ".y):(this.left+=a,n(b)&&(this.top+=b));return this};g.scale=function(a,", "b){b=n(b)?b:a;this.left*=a;this.width*=a;this.top*=b;this.height*=b;ret", "urn this};var hc=\"function\"===typeof ShadowRoot,ic=\"A AREA BUTTON IN", "PUT LABEL SELECT TEXTAREA\".split(\" \");function jc(a){return u(ic,fun", "ction(b){return B(a,b)})||null!=Xa(a)&&0<=Number(a.tabIndex)||(kc(a)||(", "B(a,\"INPUT\")?\"file\"==a.type.toLowerCase():!1))&&!a.readOnly}var lc=", "\"BUTTON INPUT OPTGROUP OPTION SELECT TEXTAREA\".split(\" \");\nfunctio", "n mc(a){return u(lc,function(b){return B(a,b)})?a.disabled?!1:a.parentN", "ode&&1==a.parentNode.nodeType&&B(a,\"OPTGROUP\")||B(a,\"OPTION\")?mc(a.", "parentNode):!Ua(a,function(a){var b=a.parentNode;if(b&&B(b,\"FIELDSET\"", ")&&b.disabled){if(!B(a,\"LEGEND\"))return!0;for(;a=k(a.previousElementS", "ibling)?a.previousElementSibling:Pa(a.previousSibling);)if(B(a,\"LEGEND", "\"))return!0}return!1},!0):!0}var nc=\"text search tel url email passwo", "rd number\".split(\" \");\nfunction kc(a){return B(a,\"TEXTAREA\")?!0:B", "(a,\"INPUT\")?0<=oa(nc,a.type.toLowerCase()):oc(a)?!0:!1}function oc(a)", "{function b(a){return\"inherit\"==a.contentEditable?(a=pc(a))?b(a):!1:", "\"true\"==a.contentEditable}return k(a.contentEditable)?k(a.isContentEd", "itable)?a.isContentEditable:b(a):!1}function pc(a){for(a=a.parentNode;a", "&&1!=a.nodeType&&9!=a.nodeType&&11!=a.nodeType;)a=a.parentNode;return B", "(a)?a:null}\nfunction W(a,b){b=na(b);if(\"float\"==b||\"cssFloat\"==b||", "\"styleFloat\"==b)b=\"cssFloat\";a:{var c=b;var d=A(a);if(d.defaultView", "&&d.defaultView.getComputedStyle&&(d=d.defaultView.getComputedStyle(a,n", "ull))){c=d[c]||d.getPropertyValue(c)||\"\";break a}c=\"\"}a=c||qc(a,b);", "if(null===a)a=null;else if(0<=oa(ua,b)){b:{var e=a.match(xa);if(e&&(b=N", "umber(e[1]),c=Number(e[2]),d=Number(e[3]),e=Number(e[4]),0<=b&&255>=b&&", "0<=c&&255>=c&&0<=d&&255>=d&&0<=e&&1>=e)){b=[b,c,d,e];break b}b=null}if(", "!b)b:{if(d=a.match(ya))if(b=Number(d[1]),\nc=Number(d[2]),d=Number(d[3]", "),0<=b&&255>=b&&0<=c&&255>=c&&0<=d&&255>=d){b=[b,c,d,1];break b}b=null}", "if(!b)b:{b=a.toLowerCase();c=ta[b.toLowerCase()];if(!c&&(c=\"#\"==b.cha", "rAt(0)?b:\"#\"+b,4==c.length&&(c=c.replace(va,\"#$1$1$2$2$3$3\")),!wa.t", "est(c))){b=null;break b}b=[parseInt(c.substr(1,2),16),parseInt(c.substr", "(3,2),16),parseInt(c.substr(5,2),16),1]}a=b?\"rgba(\"+b.join(\", \")+\"", ")\":a}return a}\nfunction qc(a,b){var c=a.currentStyle||a.style,d=c[b];", "!k(d)&&ea(c.getPropertyValue)&&(d=c.getPropertyValue(b));return\"inheri", "t\"!=d?k(d)?d:null:(a=pc(a))?qc(a,b):null}\nfunction rc(a,b,c){function", " d(a){var b=sc(a);return 0=z.left+z.width;z=e.top>=z.top+z.height;if(M&&\"hid", "den\"==t.x||z&&\"hidden\"==t.y)return X;if(M&&\"visible\"!=t.x||z&&\"vi", "sible\"!=t.y){if(H&&(t=d(a),e.left>=h.scrollWidth-t.x||e.right>=h.scrol", "lHeight-t.y))return X;e=tc(a);return e==X?X:\"scroll\"}}}return\"none\"", "}\nfunction sc(a){var b=uc(a);if(b)return b.rect;if(B(a,\"HTML\"))retur", "n a=A(a),a=((a?a.parentWindow||a.defaultView:window)||window).document,", "a=\"CSS1Compat\"==a.compatMode?a.documentElement:a.body,a=new Ma(a.clie", "ntWidth,a.clientHeight),new V(0,0,a.width,a.height);try{var c=a.getBoun", "dingClientRect()}catch(d){return new V(0,0,0,0)}return new V(c.left,c.t", "op,c.right-c.left,c.bottom-c.top)}\nfunction uc(a){var b=B(a,\"MAP\");i", "f(!b&&!B(a,\"AREA\"))return null;var c=b?a:B(a.parentNode,\"MAP\")?a.pa", "rentNode:null,d=null,e=null;c&&c.name&&(d=U.za('/descendant::*[@usemap ", "= \"#'+c.name+'\"]',A(c)))&&(e=sc(d),b||\"default\"==a.shape.toLowerCas", "e()||(a=yc(a),b=Math.min(Math.max(a.left,0),e.width),c=Math.min(Math.ma", "x(a.top,0),e.height),e=new V(b+e.left,c+e.top,Math.min(a.width,e.width-", "b),Math.min(a.height,e.height-c))));return{fa:d,rect:e||new V(0,0,0,0)}", "}\nfunction yc(a){var b=a.shape.toLowerCase();a=a.coords.split(\",\");i", "f(\"rect\"==b&&4==a.length){var b=a[0],c=a[1];return new V(b,c,a[2]-b,a", "[3]-c)}if(\"circle\"==b&&3==a.length)return b=a[2],new V(a[0]-b,a[1]-b,", "2*b,2*b);if(\"poly\"==b&&22*this.G&&Gc(this),!0):!1};\nfunction Gc(a){var b,c;if(a.G!=a.", "g.length){for(b=c=0;c", "\");Y(191,\"/\",\"?\");Y(192,\"`\",\"~\");Y(219,\"[\",\"{\");\nY(220,\"", "\\\\\",\"|\");Y(221,\"]\",\"}\");Y({c:59,b:186},\";\",\":\");Y(222,\"'", "\",'\"');var Nc=new Ec;Nc.set(1,Jc);Nc.set(2,Kc);Nc.set(4,Lc);Nc.set(8,", "Mc);(function(a){var b=new Ec;q(Fc(a),function(c){b.set(a.get(c).code,c", ")});return b})(Nc);function Z(){zc.call(this)}p(Z,zc);Z.W=void 0;Z.ra=f", "unction(){return Z.W?Z.W:Z.W=new Z};ba(\"_\",function(a){if(!wc(a)||!mc", "(a)||\"none\"==W(a,\"pointer-events\"))throw new v(12,\"Element is not ", "currently interactable and may not be manipulated\");if(!(kc(a)||B(a,\"", "INPUT\")&&\"file\"==a.type.toLowerCase())||a.readOnly)throw new v(12,\"", "Element must be user-editable in order to clear it.\");var b=Z.ra();Ac(", "b,a);Bc(b);a.value?(a.value=\"\",b=Dc.create(a,void 0),\"isTrusted\"in ", "b||(b.isTrusted=!1),a.dispatchEvent(b)):B(a,\"INPUT\")&&a.getAttribute(", "\"type\")&&\"number\"==a.getAttribute(\"type\").toLowerCase()&&(a.value", "=\n\"\");oc(a)&&(a.innerHTML=\" \")});; return this._.apply(null,argume", "nts);}.apply({navigator:typeof window!='undefined'?window.navigator:nul", "l,document:typeof window!='undefined'?window.document:null}, arguments)", ";}", NULL }; const char* const CLICK[] = { "function(){return function(){var g,aa=this;function k(a){return void 0!", "==a}function m(a){return\"string\"==typeof a}function n(a){return\"numb", "er\"==typeof a}function ba(a,b){a=a.split(\".\");var c=aa;a[0]in c||!c.", "execScript||c.execScript(\"var \"+a[0]);for(var d;a.length&&(d=a.shift(", "));)!a.length&&k(b)?c[d]=b:c=c[d]&&c[d]!==Object.prototype[d]?c[d]:c[d]", "={}}\nfunction ca(a){var b=typeof a;if(\"object\"==b)if(a){if(a instanc", "eof Array)return\"array\";if(a instanceof Object)return b;var c=Object.", "prototype.toString.call(a);if(\"[object Window]\"==c)return\"object\";i", "f(\"[object Array]\"==c||\"number\"==typeof a.length&&\"undefined\"!=ty", "peof a.splice&&\"undefined\"!=typeof a.propertyIsEnumerable&&!a.propert", "yIsEnumerable(\"splice\"))return\"array\";if(\"[object Function]\"==c||", "\"undefined\"!=typeof a.call&&\"undefined\"!=typeof a.propertyIsEnumera", "ble&&!a.propertyIsEnumerable(\"call\"))return\"function\"}else return\"", "null\";\nelse if(\"function\"==b&&\"undefined\"==typeof a.call)return\"", "object\";return b}function da(a){var b=ca(a);return\"array\"==b||\"obje", "ct\"==b&&\"number\"==typeof a.length}function ea(a){return\"function\"=", "=ca(a)}function fa(a){var b=typeof a;return\"object\"==b&&null!=a||\"fu", "nction\"==b}function ga(a,b,c){return a.call.apply(a.bind,arguments)}\n", "function ha(a,b,c){if(!a)throw Error();if(2b?1:0}\nfunction", " pa(a){return String(a).replace(/\\-([a-z])/g,function(a,c){return c.to", "UpperCase()})};function qa(a,b){if(m(a))return m(b)&&1==b.length?a.inde", "xOf(b,0):-1;for(var c=0;c=argument", "s.length?Array.prototype.slice.call(a,b):Array.prototype.slice.call(a,b", ",c)};var xa={aliceblue:\"#f0f8ff\",antiquewhite:\"#faebd7\",aqua:\"#00f", "fff\",aquamarine:\"#7fffd4\",azure:\"#f0ffff\",beige:\"#f5f5dc\",bisque", ":\"#ffe4c4\",black:\"#000000\",blanchedalmond:\"#ffebcd\",blue:\"#0000f", "f\",blueviolet:\"#8a2be2\",brown:\"#a52a2a\",burlywood:\"#deb887\",cade", "tblue:\"#5f9ea0\",chartreuse:\"#7fff00\",chocolate:\"#d2691e\",coral:\"", "#ff7f50\",cornflowerblue:\"#6495ed\",cornsilk:\"#fff8dc\",crimson:\"#dc", "143c\",cyan:\"#00ffff\",darkblue:\"#00008b\",darkcyan:\"#008b8b\",darkg", "oldenrod:\"#b8860b\",darkgray:\"#a9a9a9\",darkgreen:\"#006400\",\ndarkg", "rey:\"#a9a9a9\",darkkhaki:\"#bdb76b\",darkmagenta:\"#8b008b\",darkolive", "green:\"#556b2f\",darkorange:\"#ff8c00\",darkorchid:\"#9932cc\",darkred", ":\"#8b0000\",darksalmon:\"#e9967a\",darkseagreen:\"#8fbc8f\",darkslateb", "lue:\"#483d8b\",darkslategray:\"#2f4f4f\",darkslategrey:\"#2f4f4f\",dar", "kturquoise:\"#00ced1\",darkviolet:\"#9400d3\",deeppink:\"#ff1493\",deep", "skyblue:\"#00bfff\",dimgray:\"#696969\",dimgrey:\"#696969\",dodgerblue:", "\"#1e90ff\",firebrick:\"#b22222\",floralwhite:\"#fffaf0\",forestgreen:", "\"#228b22\",fuchsia:\"#ff00ff\",gainsboro:\"#dcdcdc\",\nghostwhite:\"#f", "8f8ff\",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:\"#fff", "0f5\",lawngreen:\"#7cfc00\",lemonchiffon:\"#fffacd\",lightblue:\"#add8e", "6\",lightcoral:\"#f08080\",lightcyan:\"#e0ffff\",lightgoldenrodyellow:", "\"#fafad2\",lightgray:\"#d3d3d3\",lightgreen:\"#90ee90\",lightgrey:\"#d", "3d3d3\",lightpink:\"#ffb6c1\",lightsalmon:\"#ffa07a\",\nlightseagreen:", "\"#20b2aa\",lightskyblue:\"#87cefa\",lightslategray:\"#778899\",lightsl", "ategrey:\"#778899\",lightsteelblue:\"#b0c4de\",lightyellow:\"#ffffe0\",", "lime:\"#00ff00\",limegreen:\"#32cd32\",linen:\"#faf0e6\",magenta:\"#ff0", "0ff\",maroon:\"#800000\",mediumaquamarine:\"#66cdaa\",mediumblue:\"#000", "0cd\",mediumorchid:\"#ba55d3\",mediumpurple:\"#9370db\",mediumseagreen:", "\"#3cb371\",mediumslateblue:\"#7b68ee\",mediumspringgreen:\"#00fa9a\",m", "ediumturquoise:\"#48d1cc\",mediumvioletred:\"#c71585\",midnightblue:\"#", "191970\",mintcream:\"#f5fffa\",mistyrose:\"#ffe4e1\",\nmoccasin:\"#ffe4", "b5\",navajowhite:\"#ffdead\",navy:\"#000080\",oldlace:\"#fdf5e6\",olive", ":\"#808000\",olivedrab:\"#6b8e23\",orange:\"#ffa500\",orangered:\"#ff45", "00\",orchid:\"#da70d6\",palegoldenrod:\"#eee8aa\",palegreen:\"#98fb98\"", ",paleturquoise:\"#afeeee\",palevioletred:\"#db7093\",papayawhip:\"#ffef", "d5\",peachpuff:\"#ffdab9\",peru:\"#cd853f\",pink:\"#ffc0cb\",plum:\"#dd", "a0dd\",powderblue:\"#b0e0e6\",purple:\"#800080\",red:\"#ff0000\",rosybr", "own:\"#bc8f8f\",royalblue:\"#4169e1\",saddlebrown:\"#8b4513\",salmon:\"", "#fa8072\",sandybrown:\"#f4a460\",seagreen:\"#2e8b57\",\nseashell:\"#fff", "5ee\",sienna:\"#a0522d\",silver:\"#c0c0c0\",skyblue:\"#87ceeb\",slatebl", "ue:\"#6a5acd\",slategray:\"#708090\",slategrey:\"#708090\",snow:\"#fffa", "fa\",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 ya=\"backgrou", "ndColor borderTopColor borderRightColor borderBottomColor borderLeftCol", "or color outlineColor\".split(\" \"),za=/#([0-9a-fA-F])([0-9a-fA-F])([0", "-9a-fA-F])/,Aa=/^#(?:[0-9a-f]{3}){1,2}$/i,Ba=/^(?:rgba)?\\((\\d{1,3}),", "\\s?(\\d{1,3}),\\s?(\\d{1,3}),\\s?(0|1|0\\.\\d*)\\)$/i,Ca=/^(?:rgb)?\\(", "(0|[1-9]\\d{0,2}),\\s?(0|[1-9]\\d{0,2}),\\s?(0|[1-9]\\d{0,2})\\)$/i;fun", "ction u(a,b){this.code=a;this.state=w[a]||Da;this.message=b||\"\";a=thi", "s.state.replace(/((?:^|\\s+)[a-z])/g,function(a){return a.toUpperCase()", ".replace(/^[\\s\\xa0]+/g,\"\")});b=a.length-5;if(0>b||a.indexOf(\"Error", "\",b)!=b)a+=\"Error\";this.name=a;a=Error(this.message);a.name=this.nam", "e;this.stack=a.stack||\"\"}p(u,Error);var Da=\"unknown error\",w={15:\"", "element not selectable\",11:\"element not visible\"};w[31]=Da;w[30]=Da;", "w[24]=\"invalid cookie domain\";w[29]=\"invalid element coordinates\";w", "[12]=\"invalid element state\";\nw[32]=\"invalid selector\";w[51]=\"inv", "alid selector\";w[52]=\"invalid selector\";w[17]=\"javascript error\";w", "[405]=\"unsupported operation\";w[34]=\"move target out of bounds\";w[2", "7]=\"no such alert\";w[7]=\"no such element\";w[8]=\"no such frame\";w[", "23]=\"no such window\";w[28]=\"script timeout\";w[33]=\"session not cre", "ated\";w[10]=\"stale element reference\";w[21]=\"timeout\";w[25]=\"unab", "le to set cookie\";w[26]=\"unexpected alert open\";w[13]=Da;w[9]=\"unkn", "own command\";u.prototype.toString=function(){return this.name+\": \"+t", "his.message};var x;a:{var Ea=aa.navigator;if(Ea){var Fa=Ea.userAgent;if", "(Fa){x=Fa;break a}}x=\"\"};function Ga(a){var b=Ha;Object.prototype.has", "OwnProperty.call(b,\"528\")||(b[\"528\"]=a(\"528\"))};var Ia=-1!=x.inde", "xOf(\"Macintosh\"),Ja=-1!=x.indexOf(\"Windows\"),Ka,La=\"\",Ma=/WebKit", "\\/(\\S+)/.exec(x);Ma&&(La=Ma?Ma[1]:\"\");Ka=La;var Ha={};function Na()", "{Ga(function(){return 0<=na(Ka,\"528\")})};function Oa(a){return(a=a.ex", "ec(x))?a[1]:\"\"}var Pa=-1!=x.indexOf(\"iPhone\")&&-1==x.indexOf(\"iPod", "\")&&-1==x.indexOf(\"iPad\")||-1!=x.indexOf(\"iPad\")||-1!=x.indexOf(\"", "iPod\")?Oa(/CriOS\\/([0-9.]+)/):Oa(/Chrome\\/([0-9.]+)/);var Qa=10<=Num", "ber(void 0);function z(a,b){this.x=k(a)?a:0;this.y=k(b)?b:0}g=z.prototy", "pe;g.clone=function(){return new z(this.x,this.y)};g.toString=function(", "){return\"(\"+this.x+\", \"+this.y+\")\"};g.ceil=function(){this.x=Math", ".ceil(this.x);this.y=Math.ceil(this.y);return this};g.floor=function(){", "this.x=Math.floor(this.x);this.y=Math.floor(this.y);return this};g.roun", "d=function(){this.x=Math.round(this.x);this.y=Math.round(this.y);return", " this};\ng.translate=function(a,b){a instanceof z?(this.x+=a.x,this.y+=", "a.y):(this.x+=Number(a),n(b)&&(this.y+=b));return this};g.scale=functio", "n(a,b){b=n(b)?b:a;this.x*=a;this.y*=b;return this};function Ra(a,b){thi", "s.width=a;this.height=b}g=Ra.prototype;g.clone=function(){return new Ra", "(this.width,this.height)};g.toString=function(){return\"(\"+this.width+", "\" x \"+this.height+\")\"};g.ceil=function(){this.width=Math.ceil(this.", "width);this.height=Math.ceil(this.height);return this};g.floor=function", "(){this.width=Math.floor(this.width);this.height=Math.floor(this.height", ");return this};g.round=function(){this.width=Math.round(this.width);thi", "s.height=Math.round(this.height);return this};\ng.scale=function(a,b){b", "=n(b)?b:a;this.width*=a;this.height*=b;return this};function Sa(a){retu", "rn a?a.parentWindow||a.defaultView:window}function Ta(a,b,c){function d", "(c){c&&b.appendChild(m(c)?a.createTextNode(c):c)}for(var e=1;e]=|\\s+|./g,lb=/^\\s/;function C(a,b){return a.ja[a.", "Z+(b||0)]}ib.prototype.next=function(){return this.ja[this.Z++]};ib.pro", "totype.back=function(){this.Z--};ib.prototype.empty=function(){return t", "his.ja.length<=this.Z};function D(a){var b=null,c=a.nodeType;1==c&&(b=a", ".textContent,b=void 0==b||null==b?a.innerText:b,b=void 0==b||null==b?\"", "\":b);if(\"string\"!=typeof b)if(9==c||1==c){a=9==c?a.documentElement:a", ".firstChild;for(var c=0,d=[],b=\"\";a;){do 1!=a.nodeType&&(b+=a.nodeVal", "ue),d[c++]=a;while(a=a.firstChild);for(;c&&!(a=d[--c].nextSibling););}}", "else b=a.nodeValue;return\"\"+b}\nfunction mb(a,b,c){if(null===b)return", "!0;try{if(!a.getAttribute)return!1}catch(d){return!1}return null==c?!!a", ".getAttribute(b):a.getAttribute(b,2)==c}function nb(a,b,c,d,e){return o", "b.call(null,a,b,m(c)?c:null,m(d)?d:null,e||new E)}\nfunction ob(a,b,c,d", ",e){b.getElementsByName&&d&&\"name\"==c?(b=b.getElementsByName(d),t(b,f", "unction(b){a.matches(b)&&e.add(b)})):b.getElementsByClassName&&d&&\"cla", "ss\"==c?(b=b.getElementsByClassName(d),t(b,function(b){b.className==d&&", "a.matches(b)&&e.add(b)})):a instanceof F?pb(a,b,c,d,e):b.getElementsByT", "agName&&(b=b.getElementsByTagName(a.getName()),t(b,function(a){mb(a,c,d", ")&&e.add(a)}));return e}\nfunction pb(a,b,c,d,e){for(b=b.firstChild;b;b", "=b.nextSibling)mb(b,c,d)&&a.matches(b)&&e.add(b),pb(a,b,c,d,e)};functio", "n E(){this.u=this.m=null;this.T=0}function qb(a){this.node=a;this.next=", "this.L=null}function rb(a,b){if(!a.m)return b;if(!b.m)return a;var c=a.", "m;b=b.m;for(var d=null,e,f=0;c&&b;)c.node==b.node?(e=c,c=c.next,b=b.nex", "t):0\",4", ",2,function(a,b,c){return Ab(function(a,b){return a>b},a,b,c)});L(\"<=", "\",4,2,function(a,b,c){return Ab(function(a,b){return a<=b},a,b,c)});L(", "\">=\",4,2,function(a,b,c){return Ab(function(a,b){return a>=b},a,b,c)}", ");var zb=L(\"=\",3,2,function(a,b,c){return Ab(function(a,b){return a==", "b},a,b,c,!0)});L(\"!=\",3,2,function(a,b,c){return Ab(function(a,b){ret", "urn a!=b},a,b,c,!0)});L(\"and\",2,2,function(a,b,c){return xb(a,c)&&xb(", "b,c)});L(\"or\",1,2,function(a,b,c){return xb(a,c)||xb(b,c)});function ", "Db(a,b){if(b.A()&&4!=a.l)throw Error(\"Primary expression must evaluate", " to nodeset if filter has predicate(s).\");G.call(this,a.l);this.xa=a;t", "his.f=b;this.F=a.i();this.o=a.o}p(Db,G);Db.prototype.evaluate=function(", "a){a=this.xa.evaluate(a);return Eb(this.f,a)};Db.prototype.toString=fun", "ction(){var a=\"Filter:\"+H(this.xa);return a+=H(this.f)};function Fb(a", ",b){if(b.length", "a.ha)throw Error(\"Function \"+a.s+\" expects at most \"+a.ha+\" argume", "nts, \"+b.length+\" given\");a.Fa&&t(b,function(b,d){if(4!=b.l)throw Er", "ror(\"Argument \"+d+\" to function \"+a.s+\" is not of type Nodeset: \"", "+b);});G.call(this,a.l);this.X=a;this.ea=b;vb(this,a.F||sa(b,function(a", "){return a.i()}));wb(this,a.Da&&!b.length||a.Ca&&!!b.length||sa(b,funct", "ion(a){return a.o}))}\np(Fb,G);Fb.prototype.evaluate=function(a){return", " this.X.w.apply(null,ua(a,this.ea))};Fb.prototype.toString=function(){v", "ar a=\"Function: \"+this.X;if(this.ea.length)var b=ra(this.ea,function(", "a,b){return a+H(b)},\"Arguments:\"),a=a+H(b);return a};function Gb(a,b,", "c,d,e,f,h,l,q){this.s=a;this.l=b;this.F=c;this.Da=d;this.Ca=e;this.w=f;", "this.va=h;this.ha=k(l)?l:h;this.Fa=!!q}Gb.prototype.toString=function()", "{return this.s};var Hb={};\nfunction M(a,b,c,d,e,f,h,l){if(Hb.hasOwnPro", "perty(a))throw Error(\"Function already created: \"+a+\".\");Hb[a]=new ", "Gb(a,b,c,d,!1,e,f,h,l)}M(\"boolean\",2,!1,!1,function(a,b){return xb(b,", "a)},1);M(\"ceiling\",1,!1,!1,function(a,b){return Math.ceil(I(b,a))},1)", ";M(\"concat\",3,!1,!1,function(a,b){return ra(wa(arguments,1),function(", "b,d){return b+K(d,a)},\"\")},2,null);M(\"contains\",2,!1,!1,function(a,", "b,c){b=K(b,a);a=K(c,a);return-1!=b.indexOf(a)},2);M(\"count\",1,!1,!1,f", "unction(a,b){return b.evaluate(a).A()},1,1,!0);\nM(\"false\",2,!1,!1,fu", "nction(){return!1},0);M(\"floor\",1,!1,!1,function(a,b){return Math.flo", "or(I(b,a))},1);M(\"id\",4,!1,!1,function(a,b){var c=a.v,d=9==c.nodeType", "?c:c.ownerDocument;a=K(b,a).split(/\\s+/);var e=[];t(a,function(a){a=d.", "getElementById(a);!a||0<=qa(e,a)||e.push(a)});e.sort(Xa);var f=new E;t(", "e,function(a){f.add(a)});return f},1);M(\"lang\",2,!1,!1,function(){ret", "urn!1},1);M(\"last\",1,!0,!1,function(a){if(1!=arguments.length)throw E", "rror(\"Function last expects ()\");return a.u},0);\nM(\"local-name\",3,", "!1,!0,function(a,b){return(a=b?sb(b.evaluate(a)):a.v)?a.localName||a.no", "deName.toLowerCase():\"\"},0,1,!0);M(\"name\",3,!1,!0,function(a,b){ret", "urn(a=b?sb(b.evaluate(a)):a.v)?a.nodeName.toLowerCase():\"\"},0,1,!0);M", "(\"namespace-uri\",3,!0,!1,function(){return\"\"},0,1,!0);M(\"normalize", "-space\",3,!1,!0,function(a,b){return(b?K(b,a):D(a.v)).replace(/[\\s\\x", "a0]+/g,\" \").replace(/^\\s+|\\s+$/g,\"\")},0,1);M(\"not\",2,!1,!1,func", "tion(a,b){return!xb(b,a)},1);\nM(\"number\",1,!1,!0,function(a,b){retur", "n b?I(b,a):+D(a.v)},0,1);M(\"position\",1,!0,!1,function(a){return a.Ia", "},0);M(\"round\",1,!1,!1,function(a,b){return Math.round(I(b,a))},1);M(", "\"starts-with\",2,!1,!1,function(a,b,c){b=K(b,a);a=K(c,a);return 0==b.l", "astIndexOf(a,0)},2);M(\"string\",3,!1,!0,function(a,b){return b?K(b,a):", "D(a.v)},0,1);M(\"string-length\",1,!1,!0,function(a,b){return(b?K(b,a):", "D(a.v)).length},0,1);\nM(\"substring\",3,!1,!1,function(a,b,c,d){c=I(c,", "a);if(isNaN(c)||Infinity==c||-Infinity==c)return\"\";d=d?I(d,a):Infinit", "y;if(isNaN(d)||-Infinity===d)return\"\";c=Math.round(c)-1;var e=Math.ma", "x(c,0);a=K(b,a);return Infinity==d?a.substring(e):a.substring(e,c+Math.", "round(d))},2,3);M(\"substring-after\",3,!1,!1,function(a,b,c){b=K(b,a);", "a=K(c,a);c=b.indexOf(a);return-1==c?\"\":b.substring(c+a.length)},2);\n", "M(\"substring-before\",3,!1,!1,function(a,b,c){b=K(b,a);a=K(c,a);a=b.in", "dexOf(a);return-1==a?\"\":b.substring(0,a)},2);M(\"sum\",1,!1,!1,functi", "on(a,b){a=b.evaluate(a).iterator();b=0;for(var c=a.next();c;c=a.next())", "b+=+D(c);return b},1,1,!0);M(\"translate\",3,!1,!1,function(a,b,c,d){b=", "K(b,a);c=K(c,a);var e=K(d,a);d={};for(var f=0;fa.length)throw Error(\"Uncl", "osed literal string\");return new Jb(a)}\nfunction hc(a){var b=[];if(Qb", "(C(a.a))){var c=a.a.next();var d=C(a.a);if(\"/\"==c&&(a.a.empty()||\".", "\"!=d&&\"..\"!=d&&\"@\"!=d&&\"*\"!=d&&!/(?![0-9])[\\w]/.test(d)))return", " new Ob;d=new Ob;P(a,\"Missing next location step.\");c=ic(a,c);b.push(", "c)}else{a:{c=C(a.a);d=c.charAt(0);switch(d){case \"$\":throw Error(\"Va", "riable reference not allowed in HTML XPath\");case \"(\":a.a.next();c=c", "c(a);P(a,'unclosed \"(\"');ec(a,\")\");break;case '\"':case \"'\":c=gc(", "a);break;default:if(isNaN(+c))if(!Ib(c)&&/(?![0-9])[\\w]/.test(d)&&\"(", "\"==C(a.a,\n1)){c=a.a.next();c=Hb[c]||null;a.a.next();for(d=[];\")\"!=C", "(a.a);){P(a,\"Missing function argument list.\");d.push(cc(a));if(\",\"", "!=C(a.a))break;a.a.next()}P(a,\"Unclosed function argument list.\");fc(", "a);c=new Fb(c,d)}else{c=null;break a}else c=new Lb(+a.a.next())}\"[\"==", "C(a.a)&&(d=new Tb(jc(a)),c=new Db(c,d))}if(c)if(Qb(C(a.a)))d=c;else ret", "urn c;else c=ic(a,\"/\"),d=new Pb,b.push(c)}for(;Qb(C(a.a));)c=a.a.next", "(),P(a,\"Missing next location step.\"),c=ic(a,c),b.push(c);return new ", "Mb(d,b)}\nfunction ic(a,b){if(\"/\"!=b&&\"//\"!=b)throw Error('Step op ", "should be \"/\" or \"//\"');if(\".\"==C(a.a)){var c=new N(Zb,new F(\"no", "de\"));a.a.next();return c}if(\"..\"==C(a.a))return c=new N(Yb,new F(\"", "node\")),a.a.next(),c;if(\"@\"==C(a.a)){var d=Nb;a.a.next();P(a,\"Missi", "ng attribute name\")}else if(\"::\"==C(a.a,1)){if(!/(?![0-9])[\\w]/.tes", "t(C(a.a).charAt(0)))throw Error(\"Bad token: \"+a.a.next());var e=a.a.n", "ext();d=Xb[e]||null;if(!d)throw Error(\"No axis with name: \"+e);a.a.ne", "xt();P(a,\"Missing node name\")}else d=Ub;e=\nC(a.a);if(/(?![0-9])[\\w", "\\*]/.test(e.charAt(0)))if(\"(\"==C(a.a,1)){if(!Ib(e))throw Error(\"Inv", "alid node type: \"+e);e=a.a.next();if(!Ib(e))throw Error(\"Invalid type", " name: \"+e);ec(a,\"(\");P(a,\"Bad nodetype\");var f=C(a.a).charAt(0),h", "=null;if('\"'==f||\"'\"==f)h=gc(a);P(a,\"Bad nodetype\");fc(a);e=new F(", "e,h)}else if(e=a.a.next(),f=e.indexOf(\":\"),-1==f)e=new Kb(e);else{var", " h=e.substring(0,f);if(\"*\"==h)var l=\"*\";else if(l=a.Ga(h),!l)throw ", "Error(\"Namespace prefix not declared: \"+h);e=e.substr(f+1);e=new Kb(e", ",l)}else throw Error(\"Bad token: \"+\na.a.next());a=new Tb(jc(a),d.O);", "return c||new N(d,e,a,\"//\"==b)}function jc(a){for(var b=[];\"[\"==C(a", ".a);){a.a.next();P(a,\"Missing predicate expression.\");var c=cc(a);b.p", "ush(c);P(a,\"Unclosed predicate expression.\");ec(a,\"]\")}return b}fun", "ction dc(a){if(\"-\"==C(a.a))return a.a.next(),new $b(dc(a));var b=hc(a", ");if(\"|\"!=C(a.a))a=b;else{for(b=[b];\"|\"==a.a.next();)P(a,\"Missing ", "next union location path.\"),b.push(hc(a));a.a.back();a=new ac(b)}retur", "n a};function kc(a){switch(a.nodeType){case 1:return ja(lc,a);case 9:re", "turn kc(a.documentElement);case 11:case 10:case 6:case 12:return mc;def", "ault:return a.parentNode?kc(a.parentNode):mc}}function mc(){return null", "}function lc(a,b){if(a.prefix==b)return a.namespaceURI||\"http://www.w3", ".org/1999/xhtml\";var c=a.getAttributeNode(\"xmlns:\"+b);return c&&c.sp", "ecified?c.value||null:a.parentNode&&9!=a.parentNode.nodeType?lc(a.paren", "tNode,b):null};function nc(a,b){if(!a.length)throw Error(\"Empty XPath ", "expression.\");a=jb(a);if(a.empty())throw Error(\"Invalid XPath express", "ion.\");b?ea(b)||(b=ia(b.lookupNamespaceURI,b)):b=function(){return nul", "l};var c=cc(new bc(a,b));if(!a.empty())throw Error(\"Bad token: \"+a.ne", "xt());this.evaluate=function(a,b){a=c.evaluate(new hb(a));return new Q(", "a,b)}}\nfunction Q(a,b){if(0==b)if(a instanceof E)b=4;else if(\"string", "\"==typeof a)b=2;else if(\"number\"==typeof a)b=1;else if(\"boolean\"==", "typeof a)b=3;else throw Error(\"Unexpected evaluation result.\");if(2!=", "b&&1!=b&&3!=b&&!(a instanceof E))throw Error(\"value could not be conve", "rted to the specified type\");this.resultType=b;switch(b){case 2:this.s", "tringValue=a instanceof E?tb(a):\"\"+a;break;case 1:this.numberValue=a ", "instanceof E?+tb(a):+a;break;case 3:this.booleanValue=a instanceof E?0<", "a.A():!!a;break;case 4:case 5:case 6:case 7:var c=\na.iterator();var d=", "[];for(var e=c.next();e;e=c.next())d.push(e);this.snapshotLength=a.A();", "this.invalidIteratorState=!1;break;case 8:case 9:this.singleNodeValue=s", "b(a);break;default:throw Error(\"Unknown XPathResult type.\");}var f=0;", "this.iterateNext=function(){if(4!=b&&5!=b)throw Error(\"iterateNext cal", "led with wrong result type\");return f>=d.length?null:d[f++]};this.snap", "shotItem=function(a){if(6!=b&&7!=b)throw Error(\"snapshotItem called wi", "th wrong result type\");return a>=d.length||0>a?null:d[a]}}\nQ.ANY_TYPE", "=0;Q.NUMBER_TYPE=1;Q.STRING_TYPE=2;Q.BOOLEAN_TYPE=3;Q.UNORDERED_NODE_IT", "ERATOR_TYPE=4;Q.ORDERED_NODE_ITERATOR_TYPE=5;Q.UNORDERED_NODE_SNAPSHOT_", "TYPE=6;Q.ORDERED_NODE_SNAPSHOT_TYPE=7;Q.ANY_UNORDERED_NODE_TYPE=8;Q.FIR", "ST_ORDERED_NODE_TYPE=9;function oc(a){this.lookupNamespaceURI=kc(a)}\nb", "a(\"wgxpath.install\",function(a,b){a=a||aa;var c=a.Document&&a.Documen", "t.prototype||a.document;if(!c.evaluate||b)a.XPathResult=Q,c.evaluate=fu", "nction(a,b,c,h){return(new nc(a,c)).evaluate(b,h)},c.createExpression=f", "unction(a,b){return new nc(a,b)},c.createNSResolver=function(a){return ", "new oc(a)}});var R={};R.ka=function(){var a={Oa:\"http://www.w3.org/200", "0/svg\"};return function(b){return a[b]||null}}();\nR.w=function(a,b,c)", "{var d=A(a);if(!d.documentElement)return null;try{for(var e=d.createNSR", "esolver?d.createNSResolver(d.documentElement):R.ka,f={},h=d.getElements", "ByTagName(\"*\"),l=0;l=this.", "left&&a.right<=this.right&&a.top>=this.top&&a.bottom<=this.bottom:a.x>=", "this.left&&a.x<=this.right&&a.y>=this.top&&a.y<=this.bottom:!1};\ng.exp", "and=function(a,b,c,d){fa(a)?(this.top-=a.top,this.right+=a.right,this.b", "ottom+=a.bottom,this.left-=a.left):(this.top-=a,this.right+=Number(b),t", "his.bottom+=Number(c),this.left-=Number(d));return this};g.ceil=functio", "n(){this.top=Math.ceil(this.top);this.right=Math.ceil(this.right);this.", "bottom=Math.ceil(this.bottom);this.left=Math.ceil(this.left);return thi", "s};\ng.floor=function(){this.top=Math.floor(this.top);this.right=Math.f", "loor(this.right);this.bottom=Math.floor(this.bottom);this.left=Math.flo", "or(this.left);return this};g.round=function(){this.top=Math.round(this.", "top);this.right=Math.round(this.right);this.bottom=Math.round(this.bott", "om);this.left=Math.round(this.left);return this};g.translate=function(a", ",b){a instanceof z?(this.left+=a.x,this.right+=a.x,this.top+=a.y,this.b", "ottom+=a.y):(this.left+=a,this.right+=a,n(b)&&(this.top+=b,this.bottom+", "=b));return this};\ng.scale=function(a,b){b=n(b)?b:a;this.left*=a;this.", "right*=a;this.top*=b;this.bottom*=b;return this};function S(a,b,c,d){th", "is.left=a;this.top=b;this.width=c;this.height=d}g=S.prototype;g.clone=f", "unction(){return new S(this.left,this.top,this.width,this.height)};g.to", "String=function(){return\"(\"+this.left+\", \"+this.top+\" - \"+this.wi", "dth+\"w x \"+this.height+\"h)\"};g.contains=function(a){return a instan", "ceof z?a.x>=this.left&&a.x<=this.left+this.width&&a.y>=this.top&&a.y<=t", "his.top+this.height:this.left<=a.left&&this.left+this.width>=a.left+a.w", "idth&&this.top<=a.top&&this.top+this.height>=a.top+a.height};\ng.ceil=f", "unction(){this.left=Math.ceil(this.left);this.top=Math.ceil(this.top);t", "his.width=Math.ceil(this.width);this.height=Math.ceil(this.height);retu", "rn this};g.floor=function(){this.left=Math.floor(this.left);this.top=Ma", "th.floor(this.top);this.width=Math.floor(this.width);this.height=Math.f", "loor(this.height);return this};g.round=function(){this.left=Math.round(", "this.left);this.top=Math.round(this.top);this.width=Math.round(this.wid", "th);this.height=Math.round(this.height);return this};\ng.translate=func", "tion(a,b){a instanceof z?(this.left+=a.x,this.top+=a.y):(this.left+=a,n", "(b)&&(this.top+=b));return this};g.scale=function(a,b){b=n(b)?b:a;this.", "left*=a;this.width*=a;this.top*=b;this.height*=b;return this};function ", "qc(a,b){var c=A(a);return c.defaultView&&c.defaultView.getComputedStyle", "&&(a=c.defaultView.getComputedStyle(a,null))?a[b]||a.getPropertyValue(b", ")||\"\":\"\"}function rc(a){var b=a.offsetWidth,c=a.offsetHeight;if((!k", "(b)||!b&&!c)&&a.getBoundingClientRect){a:{try{var d=a.getBoundingClient", "Rect()}catch(e){a={left:0,top:0,right:0,bottom:0};break a}a=d}return ne", "w Ra(a.right-a.left,a.bottom-a.top)}return new Ra(b,c)};var sc=\"functi", "on\"===typeof ShadowRoot;function tc(a){return uc(a)&&vc(a)&&\"none\"!=", "T(a,\"pointer-events\")}var wc=\"A AREA BUTTON INPUT LABEL SELECT TEXTA", "REA\".split(\" \");function xc(a){return sa(wc,function(b){return B(a,b", ")})||null!=cb(a)&&0<=Number(a.tabIndex)||((B(a,\"TEXTAREA\")?!0:B(a,\"I", "NPUT\")?0<=qa(yc,a.type.toLowerCase()):zc(a)?!0:!1)||(B(a,\"INPUT\")?\"", "file\"==a.type.toLowerCase():!1))&&!a.readOnly}var Ac=\"BUTTON INPUT OP", "TGROUP OPTION SELECT TEXTAREA\".split(\" \");\nfunction vc(a){return sa", "(Ac,function(b){return B(a,b)})?a.disabled?!1:a.parentNode&&1==a.parent", "Node.nodeType&&B(a,\"OPTGROUP\")||B(a,\"OPTION\")?vc(a.parentNode):!$a(", "a,function(a){var b=a.parentNode;if(b&&B(b,\"FIELDSET\")&&b.disabled){i", "f(!B(a,\"LEGEND\"))return!0;for(;a=k(a.previousElementSibling)?a.previo", "usElementSibling:Va(a.previousSibling);)if(B(a,\"LEGEND\"))return!0}ret", "urn!1},!0):!0}var yc=\"text search tel url email password number\".spli", "t(\" \");\nfunction zc(a){function b(a){return\"inherit\"==a.contentEdi", "table?(a=Bc(a))?b(a):!1:\"true\"==a.contentEditable}return k(a.contentE", "ditable)?k(a.isContentEditable)?a.isContentEditable:b(a):!1}function Bc", "(a){for(a=a.parentNode;a&&1!=a.nodeType&&9!=a.nodeType&&11!=a.nodeType;", ")a=a.parentNode;return B(a)?a:null}\nfunction T(a,b){b=pa(b);if(\"float", "\"==b||\"cssFloat\"==b||\"styleFloat\"==b)b=\"cssFloat\";a=qc(a,b)||Cc(", "a,b);if(null===a)a=null;else if(0<=qa(ya,b)){b:{var c=a.match(Ba);if(c)", "{b=Number(c[1]);var d=Number(c[2]),e=Number(c[3]),c=Number(c[4]);if(0<=", "b&&255>=b&&0<=d&&255>=d&&0<=e&&255>=e&&0<=c&&1>=c){b=[b,d,e,c];break b}", "}b=null}if(!b)b:{if(e=a.match(Ca))if(b=Number(e[1]),d=Number(e[2]),e=Nu", "mber(e[3]),0<=b&&255>=b&&0<=d&&255>=d&&0<=e&&255>=e){b=[b,d,e,1];break ", "b}b=null}if(!b)b:{b=a.toLowerCase();d=xa[b.toLowerCase()];\nif(!d&&(d=", "\"#\"==b.charAt(0)?b:\"#\"+b,4==d.length&&(d=d.replace(za,\"#$1$1$2$2$3", "$3\")),!Aa.test(d))){b=null;break b}b=[parseInt(d.substr(1,2),16),parse", "Int(d.substr(3,2),16),parseInt(d.substr(5,2),16),1]}a=b?\"rgba(\"+b.joi", "n(\", \")+\")\":a}return a}function Cc(a,b){var c=a.currentStyle||a.sty", "le,d=c[b];!k(d)&&ea(c.getPropertyValue)&&(d=c.getPropertyValue(b));retu", "rn\"inherit\"!=d?k(d)?d:null:(a=Bc(a))?Cc(a,b):null}\nfunction Dc(a,b,c", "){function d(a){var b=Ec(a);return 0=v.left+v.width;v=b.top>=v.top+v.height;i", "f(J&&\"hidden\"==r.x||v&&\"hidden\"==r.y)return V;if(J&&\"visible\"!=r.", "x||v&&\"visible\"!=r.y){if(y&&(r=e(a),b.left>=h.scrollWidth-r.x||b.righ", "t>=h.scrollHeight-r.y))return V;b=Fc(a);return b==V?V:\"scroll\"}}}retu", "rn\"none\"}\nfunction Ec(a){var b=Gc(a);if(b)return b.rect;if(B(a,\"HTM", "L\"))return a=A(a),a=(Sa(a)||window).document,a=\"CSS1Compat\"==a.compa", "tMode?a.documentElement:a.body,a=new Ra(a.clientWidth,a.clientHeight),n", "ew S(0,0,a.width,a.height);try{var c=a.getBoundingClientRect()}catch(d)", "{return new S(0,0,0,0)}return new S(c.left,c.top,c.right-c.left,c.botto", "m-c.top)}\nfunction Gc(a){var b=B(a,\"MAP\");if(!b&&!B(a,\"AREA\"))retu", "rn null;var c=b?a:B(a.parentNode,\"MAP\")?a.parentNode:null,d=null,e=nu", "ll;c&&c.name&&(d=R.Ja('/descendant::*[@usemap = \"#'+c.name+'\"]',A(c))", ")&&(e=Ec(d),b||\"default\"==a.shape.toLowerCase()||(a=Jc(a),b=Math.min(", "Math.max(a.left,0),e.width),c=Math.min(Math.max(a.top,0),e.height),e=ne", "w S(b+e.left,c+e.top,Math.min(a.width,e.width-b),Math.min(a.height,e.he", "ight-c))));return{sa:d,rect:e||new S(0,0,0,0)}}\nfunction Jc(a){var b=a", ".shape.toLowerCase();a=a.coords.split(\",\");if(\"rect\"==b&&4==a.lengt", "h){var b=a[0],c=a[1];return new S(b,c,a[2]-b,a[3]-c)}if(\"circle\"==b&&", "3==a.length)return b=a[2],new S(a[0]-b,a[1]-b,2*b,2*b);if(\"poly\"==b&&", "22*this.M&&md(this),!0):!1};\n", "function md(a){var b,c;if(a.M!=a.h.length){for(b=c=0;c\");Y(191,\"/\",\"?\");Y(192,\"`\",\"~", "\");Y(219,\"[\",\"{\");\nY(220,\"\\\\\",\"|\");Y(221,\"]\",\"}\");Y({c:", "59,b:186},\";\",\":\");Y(222,\"'\",'\"');var td=new kd;td.set(1,pd);td.", "set(2,qd);td.set(4,rd);td.set(8,sd);(function(a){var b=new kd;t(ld(a),f", "unction(c){b.set(a.get(c).code,c)});return b})(td);function ud(a,b,c){K", "c.call(this,b,c);this.K=this.j=null;this.C=new z(0,0);this.Y=this.N=!1;", "if(a){n(a.buttonPressed)&&(this.j=a.buttonPressed);try{B(a.elementPress", "ed)&&(this.K=a.elementPressed)}catch(d){this.j=null}this.C=new z(a.clie", "ntXY.x,a.clientXY.y);this.N=!!a.nextClickIsDoubleClick;this.Y=!!a.hasEv", "erInteracted;try{a.element&&B(a.element)&&Lc(this,a.element)}catch(d){t", "his.j=null}}}p(ud,Kc);var Z={};Z[Qc]=[0,1,2,null];Z[dd]=[null,null,2,nu", "ll];Z[Xc]=[0,1,2,null];Z[Pc]=[0,1,2,4];Z[fd]=[0,1,2,4];\nQa&&(Z[Wc]=Z[X", "c],Z[jd]=Z[Xc],Z[id]=[-1,-1,-1,-1],Z[Vc]=Z[id],Z[Uc]=Z[id]);Z[ed]=Z[Qc]", ";Z[Rc]=Z[Xc];Z[Oc]=Z[Pc];var vd={};vd[Rc]=Wc;vd[fd]=id;vd[Pc]=Vc;vd[Oc]", "=Uc;vd[Xc]=jd;ud.prototype.move=function(a,b){var c=tc(a),d=Ec(a);this.", "C.x=b.x+d.left;this.C.y=b.y+d.top;b=this.I();if(a!=b){try{Sa(A(b)).clos", "ed&&(b=null)}catch(e){b=null}b&&(d=b===ka.document.documentElement||b==", "=ka.document.body,b=!this.Y&&d?null:b,wd(this,Pc,a));Lc(this,a);wd(this", ",Oc,b,null,c)}wd(this,fd,null,null,c);this.N=!1};\nud.prototype.scroll=", "function(a){if(0==a)throw new u(13,\"Must scroll a non-zero number of t", "icks.\");for(var b=0b||a.indexOf(\"Error\",b)!=b)a+=\"Error\";this.name", "=a;a=Error(this.message);a.name=this.name;this.stack=a.stack||\"\"}\n(f", "unction(){var a=Error;function b(){}b.prototype=a.prototype;q.f=a.proto", "type;q.prototype=new b;q.prototype.constructor=q;q.c=function(b,d,f){fo", "r(var c=Array(arguments.length-2),l=2;lb||a.indexOf(\"Error\",b)!=b)a+=\"Error\";", "this.name=a;a=Error(this.message);a.name=this.name;this.stack=a.stack||", "\"\"}\n(function(){var a=Error;function b(){}b.prototype=a.prototype;q.", "f=a.prototype;q.prototype=new b;q.prototype.constructor=q;q.c=function(", "b,d,f){for(var c=Array(arguments.length-2),k=2;kc||a.indexOf(\"Error\",c)!=c)a+=\"Error\";this.", "name=a;a=Error(this.message);a.name=this.name;this.stack=a.stack||\"\"}", "\n(function(){var a=Error;function c(){}c.prototype=a.prototype;d.b=a.p", "rototype;d.prototype=new c;d.prototype.constructor=d;d.a=function(c,m,p", "){for(var l=Array(arguments.length-2),g=2;gb||a.indexOf(\"Error\",b)!=b)a+", "=\"Error\";this.name=a;a=Error(this.message);a.name=this.name;this.stac", "k=a.stack||\"\"}r(t,Error);var ka=\"unknown error\",v={15:\"element not", " selectable\",11:\"element not visible\"};v[31]=ka;v[30]=ka;v[24]=\"inv", "alid cookie domain\";v[29]=\"invalid element coordinates\";v[12]=\"inva", "lid element state\";\nv[32]=\"invalid selector\";v[51]=\"invalid select", "or\";v[52]=\"invalid selector\";v[17]=\"javascript error\";v[405]=\"uns", "upported operation\";v[34]=\"move target out of bounds\";v[27]=\"no suc", "h alert\";v[7]=\"no such element\";v[8]=\"no such frame\";v[23]=\"no su", "ch window\";v[28]=\"script timeout\";v[33]=\"session not created\";v[10", "]=\"stale element reference\";v[21]=\"timeout\";v[25]=\"unable to set c", "ookie\";v[26]=\"unexpected alert open\";v[13]=ka;v[9]=\"unknown command", "\";t.prototype.toString=function(){return this.name+\": \"+this.message", "};var la;function ma(a){var b=a.length-1;return 0<=b&&a.indexOf(\" \",b", ")==b}var na=String.prototype.trim?function(a){return a.trim()}:function", "(a){return a.replace(/^[\\s\\xa0]+|[\\s\\xa0]+$/g,\"\")};function oa(a)", "{return String(a).replace(/\\-([a-z])/g,function(a,c){return c.toUpperC", "ase()})};function pa(a,b){if(m(a))return m(b)&&1==b.length?a.indexOf(b,", "0):-1;for(var c=0;cb?null:m(a)?a.charAt(b):a[b]}function va(a){return Array.prototype.", "concat.apply([],arguments)}\nfunction wa(a){var b=a.length;if(0=arguments.length?Array.prototype.slice.call(a,b):Array.pro", "totype.slice.call(a,b,c)};function x(a,b){this.x=l(a)?a:0;this.y=l(b)?b", ":0}h=x.prototype;h.clone=function(){return new x(this.x,this.y)};h.toSt", "ring=function(){return\"(\"+this.x+\", \"+this.y+\")\"};h.ceil=function", "(){this.x=Math.ceil(this.x);this.y=Math.ceil(this.y);return this};h.flo", "or=function(){this.x=Math.floor(this.x);this.y=Math.floor(this.y);retur", "n this};h.round=function(){this.x=Math.round(this.x);this.y=Math.round(", "this.y);return this};\nh.translate=function(a,b){a instanceof x?(this.x", "+=a.x,this.y+=a.y):(this.x+=Number(a),n(b)&&(this.y+=b));return this};h", ".scale=function(a,b){b=n(b)?b:a;this.x*=a;this.y*=b;return this};functi", "on ya(a,b){this.width=a;this.height=b}h=ya.prototype;h.clone=function()", "{return new ya(this.width,this.height)};h.toString=function(){return\"(", "\"+this.width+\" x \"+this.height+\")\"};h.ceil=function(){this.width=M", "ath.ceil(this.width);this.height=Math.ceil(this.height);return this};h.", "floor=function(){this.width=Math.floor(this.width);this.height=Math.flo", "or(this.height);return this};h.round=function(){this.width=Math.round(t", "his.width);this.height=Math.round(this.height);return this};\nh.scale=f", "unction(a,b){b=n(b)?b:a;this.width*=a;this.height*=b;return this};funct", "ion y(a){return a?new za(z(a)):la||(la=new za)}function Aa(a,b,c){funct", "ion d(c){c&&b.appendChild(m(c)?a.createTextNode(c):c)}for(var e=1;e]=|\\s+|./g,Ya=/^\\s/;funct", "ion E(a,b){return a.W[a.M+(b||0)]}Va.prototype.next=function(){return t", "his.W[this.M++]};Va.prototype.back=function(){this.M--};Va.prototype.em", "pty=function(){return this.W.length<=this.M};function F(a){var b=null,c", "=a.nodeType;1==c&&(b=a.textContent,b=void 0==b||null==b?a.innerText:b,b", "=void 0==b||null==b?\"\":b);if(\"string\"!=typeof b)if(9==c||1==c){a=9=", "=c?a.documentElement:a.firstChild;for(var c=0,d=[],b=\"\";a;){do 1!=a.n", "odeType&&(b+=a.nodeValue),d[c++]=a;while(a=a.firstChild);for(;c&&!(a=d[", "--c].nextSibling););}}else b=a.nodeValue;return\"\"+b}\nfunction Za(a,b", ",c){if(null===b)return!0;try{if(!a.getAttribute)return!1}catch(d){retur", "n!1}return null==c?!!a.getAttribute(b):a.getAttribute(b,2)==c}function ", "$a(a,b,c,d,e){return ab.call(null,a,b,m(c)?c:null,m(d)?d:null,e||new G)", "}\nfunction ab(a,b,c,d,e){b.getElementsByName&&d&&\"name\"==c?(b=b.getE", "lementsByName(d),w(b,function(b){a.matches(b)&&e.add(b)})):b.getElement", "sByClassName&&d&&\"class\"==c?(b=b.getElementsByClassName(d),w(b,functi", "on(b){b.className==d&&a.matches(b)&&e.add(b)})):a instanceof H?bb(a,b,c", ",d,e):b.getElementsByTagName&&(b=b.getElementsByTagName(a.getName()),w(", "b,function(a){Za(a,c,d)&&e.add(a)}));return e}\nfunction bb(a,b,c,d,e){", "for(b=b.firstChild;b;b=b.nextSibling)Za(b,c,d)&&a.matches(b)&&e.add(b),", "bb(a,b,c,d,e)};function G(){this.j=this.g=null;this.H=0}function cb(a){", "this.node=a;this.next=this.B=null}function db(a,b){if(!a.g)return b;if(", "!b.g)return a;var c=a.g;b=b.g;for(var d=null,e,f=0;c&&b;)c.node==b.node", "?(e=c,c=c.next,b=b.next):0\",4,2,function(a,b,c){return mb(function(a,b){return a>b},a,b,", "c)});N(\"<=\",4,2,function(a,b,c){return mb(function(a,b){return a<=b},", "a,b,c)});N(\">=\",4,2,function(a,b,c){return mb(function(a,b){return a>", "=b},a,b,c)});var lb=N(\"=\",3,2,function(a,b,c){return mb(function(a,b)", "{return a==b},a,b,c,!0)});N(\"!=\",3,2,function(a,b,c){return mb(functi", "on(a,b){return a!=b},a,b,c,!0)});N(\"and\",2,2,function(a,b,c){return j", "b(a,c)&&jb(b,c)});N(\"or\",1,2,function(a,b,c){return jb(a,c)||jb(b,c)}", ");function pb(a,b){if(b.s()&&4!=a.f)throw Error(\"Primary expression mu", "st evaluate to nodeset if filter has predicate(s).\");I.call(this,a.f);", "this.ha=a;this.b=b;this.u=a.c();this.h=a.h}r(pb,I);pb.prototype.evaluat", "e=function(a){a=this.ha.evaluate(a);return qb(this.b,a)};pb.prototype.t", "oString=function(){var a=\"Filter:\"+J(this.ha);return a+=J(this.b)};fu", "nction rb(a,b){if(b.lengtha.U)throw Error(\"Function \"+a.i+\" expects at most \"+a.U+\"", " arguments, \"+b.length+\" given\");a.ra&&w(b,function(b,d){if(4!=b.f)t", "hrow Error(\"Argument \"+d+\" to function \"+a.i+\" is not of type Node", "set: \"+b);});I.call(this,a.f);this.L=a;this.R=b;hb(this,a.u||sa(b,func", "tion(a){return a.c()}));ib(this,a.pa&&!b.length||a.oa&&!!b.length||sa(b", ",function(a){return a.h}))}\nr(rb,I);rb.prototype.evaluate=function(a){", "return this.L.o.apply(null,va(a,this.R))};rb.prototype.toString=functio", "n(){var a=\"Function: \"+this.L;if(this.R.length)var b=ra(this.R,functi", "on(a,b){return a+J(b)},\"Arguments:\"),a=a+J(b);return a};function sb(a", ",b,c,d,e,f,g,k,u){this.i=a;this.f=b;this.u=c;this.pa=d;this.oa=e;this.o", "=f;this.fa=g;this.U=l(k)?k:g;this.ra=!!u}sb.prototype.toString=function", "(){return this.i};var tb={};\nfunction O(a,b,c,d,e,f,g,k){if(tb.hasOwnP", "roperty(a))throw Error(\"Function already created: \"+a+\".\");tb[a]=ne", "w sb(a,b,c,d,!1,e,f,g,k)}O(\"boolean\",2,!1,!1,function(a,b){return jb(", "b,a)},1);O(\"ceiling\",1,!1,!1,function(a,b){return Math.ceil(K(b,a))},", "1);O(\"concat\",3,!1,!1,function(a,b){return ra(xa(arguments,1),functio", "n(b,d){return b+M(d,a)},\"\")},2,null);O(\"contains\",2,!1,!1,function(", "a,b,c){b=M(b,a);a=M(c,a);return-1!=b.indexOf(a)},2);O(\"count\",1,!1,!1", ",function(a,b){return b.evaluate(a).s()},1,1,!0);\nO(\"false\",2,!1,!1,", "function(){return!1},0);O(\"floor\",1,!1,!1,function(a,b){return Math.f", "loor(K(b,a))},1);O(\"id\",4,!1,!1,function(a,b){var c=a.m,d=9==c.nodeTy", "pe?c:c.ownerDocument;a=M(b,a).split(/\\s+/);var e=[];w(a,function(a){a=", "d.getElementById(a);!a||0<=pa(e,a)||e.push(a)});e.sort(Ea);var f=new G;", "w(e,function(a){f.add(a)});return f},1);O(\"lang\",2,!1,!1,function(){r", "eturn!1},1);O(\"last\",1,!0,!1,function(a){if(1!=arguments.length)throw", " Error(\"Function last expects ()\");return a.j},0);\nO(\"local-name\",", "3,!1,!0,function(a,b){return(a=b?eb(b.evaluate(a)):a.m)?a.localName||a.", "nodeName.toLowerCase():\"\"},0,1,!0);O(\"name\",3,!1,!0,function(a,b){r", "eturn(a=b?eb(b.evaluate(a)):a.m)?a.nodeName.toLowerCase():\"\"},0,1,!0)", ";O(\"namespace-uri\",3,!0,!1,function(){return\"\"},0,1,!0);O(\"normali", "ze-space\",3,!1,!0,function(a,b){return(b?M(b,a):F(a.m)).replace(/[\\s", "\\xa0]+/g,\" \").replace(/^\\s+|\\s+$/g,\"\")},0,1);O(\"not\",2,!1,!1,f", "unction(a,b){return!jb(b,a)},1);\nO(\"number\",1,!1,!0,function(a,b){re", "turn b?K(b,a):+F(a.m)},0,1);O(\"position\",1,!0,!1,function(a){return a", ".ua},0);O(\"round\",1,!1,!1,function(a,b){return Math.round(K(b,a))},1)", ";O(\"starts-with\",2,!1,!1,function(a,b,c){b=M(b,a);a=M(c,a);return 0==", "b.lastIndexOf(a,0)},2);O(\"string\",3,!1,!0,function(a,b){return b?M(b,", "a):F(a.m)},0,1);O(\"string-length\",1,!1,!0,function(a,b){return(b?M(b,", "a):F(a.m)).length},0,1);\nO(\"substring\",3,!1,!1,function(a,b,c,d){c=K", "(c,a);if(isNaN(c)||Infinity==c||-Infinity==c)return\"\";d=d?K(d,a):Infi", "nity;if(isNaN(d)||-Infinity===d)return\"\";c=Math.round(c)-1;var e=Math", ".max(c,0);a=M(b,a);return Infinity==d?a.substring(e):a.substring(e,c+Ma", "th.round(d))},2,3);O(\"substring-after\",3,!1,!1,function(a,b,c){b=M(b,", "a);a=M(c,a);c=b.indexOf(a);return-1==c?\"\":b.substring(c+a.length)},2)", ";\nO(\"substring-before\",3,!1,!1,function(a,b,c){b=M(b,a);a=M(c,a);a=b", ".indexOf(a);return-1==a?\"\":b.substring(0,a)},2);O(\"sum\",1,!1,!1,fun", "ction(a,b){a=b.evaluate(a).iterator();b=0;for(var c=a.next();c;c=a.next", "())b+=+F(c);return b},1,1,!0);O(\"translate\",3,!1,!1,function(a,b,c,d)", "{b=M(b,a);c=M(c,a);var e=M(d,a);d={};for(var f=0;fa.length)throw Error(\"Unclosed literal string\");ret", "urn new vb(a)}\nfunction Tb(a){var b=[];if(Cb(E(a.a))){var c=a.a.next()", ";var d=E(a.a);if(\"/\"==c&&(a.a.empty()||\".\"!=d&&\"..\"!=d&&\"@\"!=d&", "&\"*\"!=d&&!/(?![0-9])[\\w]/.test(d)))return new Ab;d=new Ab;S(a,\"Miss", "ing next location step.\");c=Ub(a,c);b.push(c)}else{a:{c=E(a.a);d=c.cha", "rAt(0);switch(d){case \"$\":throw Error(\"Variable reference not allowe", "d in HTML XPath\");case \"(\":a.a.next();c=Ob(a);S(a,'unclosed \"(\"');", "Qb(a,\")\");break;case '\"':case \"'\":c=Sb(a);break;default:if(isNaN(+", "c))if(!ub(c)&&/(?![0-9])[\\w]/.test(d)&&\"(\"==E(a.a,\n1)){c=a.a.next()", ";c=tb[c]||null;a.a.next();for(d=[];\")\"!=E(a.a);){S(a,\"Missing functi", "on argument list.\");d.push(Ob(a));if(\",\"!=E(a.a))break;a.a.next()}S(", "a,\"Unclosed function argument list.\");Rb(a);c=new rb(c,d)}else{c=null", ";break a}else c=new xb(+a.a.next())}\"[\"==E(a.a)&&(d=new P(Vb(a)),c=ne", "w pb(c,d))}if(c)if(Cb(E(a.a)))d=c;else return c;else c=Ub(a,\"/\"),d=ne", "w Bb,b.push(c)}for(;Cb(E(a.a));)c=a.a.next(),S(a,\"Missing next locatio", "n step.\"),c=Ub(a,c),b.push(c);return new yb(d,b)}\nfunction Ub(a,b){if", "(\"/\"!=b&&\"//\"!=b)throw Error('Step op should be \"/\" or \"//\"');i", "f(\".\"==E(a.a)){var c=new Q(Kb,new H(\"node\"));a.a.next();return c}if", "(\"..\"==E(a.a))return c=new Q(Jb,new H(\"node\")),a.a.next(),c;if(\"@", "\"==E(a.a)){var d=zb;a.a.next();S(a,\"Missing attribute name\")}else if", "(\"::\"==E(a.a,1)){if(!/(?![0-9])[\\w]/.test(E(a.a).charAt(0)))throw Er", "ror(\"Bad token: \"+a.a.next());var e=a.a.next();d=Ib[e]||null;if(!d)th", "row Error(\"No axis with name: \"+e);a.a.next();S(a,\"Missing node name", "\")}else d=Fb;e=\nE(a.a);if(/(?![0-9])[\\w\\*]/.test(e.charAt(0)))if(\"", "(\"==E(a.a,1)){if(!ub(e))throw Error(\"Invalid node type: \"+e);e=a.a.n", "ext();if(!ub(e))throw Error(\"Invalid type name: \"+e);Qb(a,\"(\");S(a,", "\"Bad nodetype\");var f=E(a.a).charAt(0),g=null;if('\"'==f||\"'\"==f)g=", "Sb(a);S(a,\"Bad nodetype\");Rb(a);e=new H(e,g)}else if(e=a.a.next(),f=e", ".indexOf(\":\"),-1==f)e=new wb(e);else{var g=e.substring(0,f);if(\"*\"=", "=g)var k=\"*\";else if(k=a.sa(g),!k)throw Error(\"Namespace prefix not ", "declared: \"+g);e=e.substr(f+1);e=new wb(e,k)}else throw Error(\"Bad to", "ken: \"+\na.a.next());a=new P(Vb(a),d.D);return c||new Q(d,e,a,\"//\"==", "b)}function Vb(a){for(var b=[];\"[\"==E(a.a);){a.a.next();S(a,\"Missing", " predicate expression.\");var c=Ob(a);b.push(c);S(a,\"Unclosed predicat", "e expression.\");Qb(a,\"]\")}return b}function Pb(a){if(\"-\"==E(a.a))r", "eturn a.a.next(),new Lb(Pb(a));var b=Tb(a);if(\"|\"!=E(a.a))a=b;else{fo", "r(b=[b];\"|\"==a.a.next();)S(a,\"Missing next union location path.\"),b", ".push(Tb(a));a.a.back();a=new Mb(b)}return a};function Wb(a){switch(a.n", "odeType){case 1:return ia(Xb,a);case 9:return Wb(a.documentElement);cas", "e 11:case 10:case 6:case 12:return Yb;default:return a.parentNode?Wb(a.", "parentNode):Yb}}function Yb(){return null}function Xb(a,b){if(a.prefix=", "=b)return a.namespaceURI||\"http://www.w3.org/1999/xhtml\";var c=a.getA", "ttributeNode(\"xmlns:\"+b);return c&&c.specified?c.value||null:a.parent", "Node&&9!=a.parentNode.nodeType?Xb(a.parentNode,b):null};function Zb(a,b", "){if(!a.length)throw Error(\"Empty XPath expression.\");a=Wa(a);if(a.em", "pty())throw Error(\"Invalid XPath expression.\");b?p(b)||(b=ha(b.lookup", "NamespaceURI,b)):b=function(){return null};var c=Ob(new Nb(a,b));if(!a.", "empty())throw Error(\"Bad token: \"+a.next());this.evaluate=function(a,", "b){a=c.evaluate(new Ua(a));return new T(a,b)}}\nfunction T(a,b){if(0==b", ")if(a instanceof G)b=4;else if(\"string\"==typeof a)b=2;else if(\"numbe", "r\"==typeof a)b=1;else if(\"boolean\"==typeof a)b=3;else throw Error(\"", "Unexpected evaluation result.\");if(2!=b&&1!=b&&3!=b&&!(a instanceof G)", ")throw Error(\"value could not be converted to the specified type\");th", "is.resultType=b;switch(b){case 2:this.stringValue=a instanceof G?fb(a):", "\"\"+a;break;case 1:this.numberValue=a instanceof G?+fb(a):+a;break;cas", "e 3:this.booleanValue=a instanceof G?0=d.length?null:d[f++]};this.snapshotItem=function(a){if(6!=b&&7", "!=b)throw Error(\"snapshotItem called with wrong result type\");return ", "a>=d.length||0>a?null:d[a]}}\nT.ANY_TYPE=0;T.NUMBER_TYPE=1;T.STRING_TYP", "E=2;T.BOOLEAN_TYPE=3;T.UNORDERED_NODE_ITERATOR_TYPE=4;T.ORDERED_NODE_IT", "ERATOR_TYPE=5;T.UNORDERED_NODE_SNAPSHOT_TYPE=6;T.ORDERED_NODE_SNAPSHOT_", "TYPE=7;T.ANY_UNORDERED_NODE_TYPE=8;T.FIRST_ORDERED_NODE_TYPE=9;function", " $b(a){this.lookupNamespaceURI=Wb(a)}\nba(\"wgxpath.install\",function(", "a,b){a=a||aa;var c=a.Document&&a.Document.prototype||a.document;if(!c.e", "valuate||b)a.XPathResult=T,c.evaluate=function(a,b,c,g){return(new Zb(a", ",c)).evaluate(b,g)},c.createExpression=function(a,b){return new Zb(a,b)", "},c.createNSResolver=function(a){return new $b(a)}});var U={};U.X=funct", "ion(){var a={ya:\"http://www.w3.org/2000/svg\"};return function(b){retu", "rn a[b]||null}}();\nU.o=function(a,b,c){var d=z(a);if(!d.documentElemen", "t)return null;try{for(var e=d.createNSResolver?d.createNSResolver(d.doc", "umentElement):U.X,f={},g=d.getElementsByTagName(\"*\"),k=0;k=this.left&&a.right<=this.right&&a.top>=this.t", "op&&a.bottom<=this.bottom:a.x>=this.left&&a.x<=this.right&&a.y>=this.to", "p&&a.y<=this.bottom:!1};\nh.expand=function(a,b,c,d){ea(a)?(this.top-=a", ".top,this.right+=a.right,this.bottom+=a.bottom,this.left-=a.left):(this", ".top-=a,this.right+=Number(b),this.bottom+=Number(c),this.left-=Number(", "d));return this};h.ceil=function(){this.top=Math.ceil(this.top);this.ri", "ght=Math.ceil(this.right);this.bottom=Math.ceil(this.bottom);this.left=", "Math.ceil(this.left);return this};\nh.floor=function(){this.top=Math.fl", "oor(this.top);this.right=Math.floor(this.right);this.bottom=Math.floor(", "this.bottom);this.left=Math.floor(this.left);return this};h.round=funct", "ion(){this.top=Math.round(this.top);this.right=Math.round(this.right);t", "his.bottom=Math.round(this.bottom);this.left=Math.round(this.left);retu", "rn this};h.translate=function(a,b){a instanceof x?(this.left+=a.x,this.", "right+=a.x,this.top+=a.y,this.bottom+=a.y):(this.left+=a,this.right+=a,", "n(b)&&(this.top+=b,this.bottom+=b));return this};\nh.scale=function(a,b", "){b=n(b)?b:a;this.left*=a;this.right*=a;this.top*=b;this.bottom*=b;retu", "rn this};function V(a,b,c,d){this.left=a;this.top=b;this.width=c;this.h", "eight=d}h=V.prototype;h.clone=function(){return new V(this.left,this.to", "p,this.width,this.height)};h.toString=function(){return\"(\"+this.left+", "\", \"+this.top+\" - \"+this.width+\"w x \"+this.height+\"h)\"};h.conta", "ins=function(a){return a instanceof x?a.x>=this.left&&a.x<=this.left+th", "is.width&&a.y>=this.top&&a.y<=this.top+this.height:this.left<=a.left&&t", "his.left+this.width>=a.left+a.width&&this.top<=a.top&&this.top+this.hei", "ght>=a.top+a.height};\nh.ceil=function(){this.left=Math.ceil(this.left)", ";this.top=Math.ceil(this.top);this.width=Math.ceil(this.width);this.hei", "ght=Math.ceil(this.height);return this};h.floor=function(){this.left=Ma", "th.floor(this.left);this.top=Math.floor(this.top);this.width=Math.floor", "(this.width);this.height=Math.floor(this.height);return this};h.round=f", "unction(){this.left=Math.round(this.left);this.top=Math.round(this.top)", ";this.width=Math.round(this.width);this.height=Math.round(this.height);", "return this};\nh.translate=function(a,b){a instanceof x?(this.left+=a.x", ",this.top+=a.y):(this.left+=a,n(b)&&(this.top+=b));return this};h.scale", "=function(a,b){b=n(b)?b:a;this.left*=a;this.width*=a;this.top*=b;this.h", "eight*=b;return this};var bc=\"function\"===typeof ShadowRoot;function ", "cc(a){for(a=a.parentNode;a&&1!=a.nodeType&&9!=a.nodeType&&11!=a.nodeTyp", "e;)a=a.parentNode;return C(a)?a:null}\nfunction X(a,b){b=oa(b);if(\"flo", "at\"==b||\"cssFloat\"==b||\"styleFloat\"==b)b=\"cssFloat\";a:{var c=b;v", "ar d=z(a);if(d.defaultView&&d.defaultView.getComputedStyle&&(d=d.defaul", "tView.getComputedStyle(a,null))){c=d[c]||d.getPropertyValue(c)||\"\";br", "eak a}c=\"\"}a=c||dc(a,b);if(null===a)a=null;else if(0<=pa(Ma,b)){b:{va", "r e=a.match(Pa);if(e&&(b=Number(e[1]),c=Number(e[2]),d=Number(e[3]),e=N", "umber(e[4]),0<=b&&255>=b&&0<=c&&255>=c&&0<=d&&255>=d&&0<=e&&1>=e)){b=[b", ",c,d,e];break b}b=null}if(!b)b:{if(d=a.match(Qa))if(b=Number(d[1]),\nc=", "Number(d[2]),d=Number(d[3]),0<=b&&255>=b&&0<=c&&255>=c&&0<=d&&255>=d){b", "=[b,c,d,1];break b}b=null}if(!b)b:{b=a.toLowerCase();c=La[b.toLowerCase", "()];if(!c&&(c=\"#\"==b.charAt(0)?b:\"#\"+b,4==c.length&&(c=c.replace(Na", ",\"#$1$1$2$2$3$3\")),!Oa.test(c))){b=null;break b}b=[parseInt(c.substr(", "1,2),16),parseInt(c.substr(3,2),16),parseInt(c.substr(5,2),16),1]}a=b?", "\"rgba(\"+b.join(\", \")+\")\":a}return a}\nfunction dc(a,b){var c=a.cu", "rrentStyle||a.style,d=c[b];!l(d)&&p(c.getPropertyValue)&&(d=c.getProper", "tyValue(b));return\"inherit\"!=d?l(d)?d:null:(a=cc(a))?dc(a,b):null}\nf", "unction ec(a,b,c){function d(a){var b=fc(a);return 0=A.left+A.width;A=e.top>=", "A.top+A.height;if(L&&\"hidden\"==q.x||A&&\"hidden\"==q.y)return Y;if(L&", "&\"visible\"!=q.x||A&&\"visible\"!=q.y){if(D&&(q=d(a),e.left>=g.scrollW", "idth-q.x||e.right>=g.scrollHeight-q.y))return Y;e=gc(a);return e==Y?Y:", "\"scroll\"}}}return\"none\"}\nfunction fc(a){var b=hc(a);if(b)return b.", "rect;if(C(a,\"HTML\"))return a=z(a),a=((a?a.parentWindow||a.defaultView", ":window)||window).document,a=\"CSS1Compat\"==a.compatMode?a.documentEle", "ment:a.body,a=new ya(a.clientWidth,a.clientHeight),new V(0,0,a.width,a.", "height);try{var c=a.getBoundingClientRect()}catch(d){return new V(0,0,0", ",0)}return new V(c.left,c.top,c.right-c.left,c.bottom-c.top)}\nfunction", " hc(a){var b=C(a,\"MAP\");if(!b&&!C(a,\"AREA\"))return null;var c=b?a:C", "(a.parentNode,\"MAP\")?a.parentNode:null,d=null,e=null;c&&c.name&&(d=U.", "A('/descendant::*[@usemap = \"#'+c.name+'\"]',z(c)))&&(e=fc(d),b||\"def", "ault\"==a.shape.toLowerCase()||(a=lc(a),b=Math.min(Math.max(a.left,0),e", ".width),c=Math.min(Math.max(a.top,0),e.height),e=new V(b+e.left,c+e.top", ",Math.min(a.width,e.width-b),Math.min(a.height,e.height-c))));return{ba", ":d,rect:e||new V(0,0,0,0)}}\nfunction lc(a){var b=a.shape.toLowerCase()", ";a=a.coords.split(\",\");if(\"rect\"==b&&4==a.length){var b=a[0],c=a[1]", ";return new V(b,c,a[2]-b,a[3]-c)}if(\"circle\"==b&&3==a.length)return b", "=a[2],new V(a[0]-b,a[1]-b,2*b,2*b);if(\"poly\"==b&&2=~*^$|%&@`{}\\-\\/\\[\\]\\(", "\\)])/g,\"\\\\$1\")}};var Z={},vc={};Z.ja=function(a,b,c){try{var d=Ka.", "l(\"a\",b)}catch(e){d=B(y(b),\"A\",null,b)}return ua(d,function(b){b=nc", "(b);return c&&-1!=b.indexOf(a)||b==a})};Z.ea=function(a,b,c){try{var d=", "Ka.l(\"a\",b)}catch(e){d=B(y(b),\"A\",null,b)}return qa(d,function(b){b", "=nc(b);return c&&-1!=b.indexOf(a)||b==a})};Z.A=function(a,b){return Z.j", "a(a,b,!1)};Z.l=function(a,b){return Z.ea(a,b,!1)};vc.A=function(a,b){re", "turn Z.ja(a,b,!0)};vc.l=function(a,b){return Z.ea(a,b,!0)};var wc={A:fu", "nction(a,b){if(\"\"===a)throw new t(32,'Unable to locate an element wit", "h the tagName \"\"');return b.getElementsByTagName(a)[0]||null},l:funct", "ion(a,b){if(\"\"===a)throw new t(32,'Unable to locate an element with t", "he tagName \"\"');return b.getElementsByTagName(a)}};var xc={className:", "Ja,\"class name\":Ja,css:Ka,\"css selector\":Ka,id:uc,linkText:Z,\"link", " text\":Z,name:{A:function(a,b){b=B(y(b),\"*\",null,b);return ua(b,func", "tion(b){return Ra(b,\"name\")==a})},l:function(a,b){b=B(y(b),\"*\",null", ",b);return qa(b,function(b){return Ra(b,\"name\")==a})}},partialLinkTex", "t:vc,\"partial link text\":vc,tagName:wc,\"tag name\":wc,xpath:U};ba(\"", "_\",function(a,b){a:{for(c in a)if(a.hasOwnProperty(c))break a;var c=nu", "ll}if(c){var d=xc[c];if(d&&p(d.l))return d.l(a[c],b||ja.document)}throw", " Error(\"Unsupported locator strategy: \"+c);});; return this._.apply(n", "ull,arguments);}.apply({navigator:typeof window!='undefined'?window.nav", "igator:null,document:typeof window!='undefined'?window.document:null}, ", "arguments);}", NULL }; const char* const GET_EFFECTIVE_STYLE[] = { "function(){return function(){var aa=this;function h(a){return\"string\"", "==typeof a}function ba(a,b){a=a.split(\".\");var c=aa;a[0]in c||!c.exec", "Script||c.execScript(\"var \"+a[0]);for(var d;a.length&&(d=a.shift());)", "a.length||void 0===b?c=c[d]&&c[d]!==Object.prototype[d]?c[d]:c[d]={}:c[", "d]=b}\nfunction ca(a){var b=typeof a;if(\"object\"==b)if(a){if(a instan", "ceof 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\"!=t", "ypeof a.splice&&\"undefined\"!=typeof a.propertyIsEnumerable&&!a.proper", "tyIsEnumerable(\"splice\"))return\"array\";if(\"[object Function]\"==c|", "|\"undefined\"!=typeof a.call&&\"undefined\"!=typeof a.propertyIsEnumer", "able&&!a.propertyIsEnumerable(\"call\"))return\"function\"}else return", "\"null\";\nelse if(\"function\"==b&&\"undefined\"==typeof a.call)return", "\"object\";return b}function da(a,b,c){return a.call.apply(a.bind,argum", "ents)}function ea(a,b,c){if(!a)throw Error();if(2=arguments.length?Array.p", "rototype.slice.call(a,b):Array.prototype.slice.call(a,b,c)};var ma={ali", "ceblue:\"#f0f8ff\",antiquewhite:\"#faebd7\",aqua:\"#00ffff\",aquamarine", ":\"#7fffd4\",azure:\"#f0ffff\",beige:\"#f5f5dc\",bisque:\"#ffe4c4\",bla", "ck:\"#000000\",blanchedalmond:\"#ffebcd\",blue:\"#0000ff\",blueviolet:", "\"#8a2be2\",brown:\"#a52a2a\",burlywood:\"#deb887\",cadetblue:\"#5f9ea0", "\",chartreuse:\"#7fff00\",chocolate:\"#d2691e\",coral:\"#ff7f50\",cornf", "lowerblue:\"#6495ed\",cornsilk:\"#fff8dc\",crimson:\"#dc143c\",cyan:\"#", "00ffff\",darkblue:\"#00008b\",darkcyan:\"#008b8b\",darkgoldenrod:\"#b88", "60b\",darkgray:\"#a9a9a9\",darkgreen:\"#006400\",\ndarkgrey:\"#a9a9a9\"", ",darkkhaki:\"#bdb76b\",darkmagenta:\"#8b008b\",darkolivegreen:\"#556b2f", "\",darkorange:\"#ff8c00\",darkorchid:\"#9932cc\",darkred:\"#8b0000\",da", "rksalmon:\"#e9967a\",darkseagreen:\"#8fbc8f\",darkslateblue:\"#483d8b\"", ",darkslategray:\"#2f4f4f\",darkslategrey:\"#2f4f4f\",darkturquoise:\"#0", "0ced1\",darkviolet:\"#9400d3\",deeppink:\"#ff1493\",deepskyblue:\"#00bf", "ff\",dimgray:\"#696969\",dimgrey:\"#696969\",dodgerblue:\"#1e90ff\",fir", "ebrick:\"#b22222\",floralwhite:\"#fffaf0\",forestgreen:\"#228b22\",fuch", "sia:\"#ff00ff\",gainsboro:\"#dcdcdc\",\nghostwhite:\"#f8f8ff\",gold:\"#", "ffd700\",goldenrod:\"#daa520\",gray:\"#808080\",green:\"#008000\",green", "yellow:\"#adff2f\",grey:\"#808080\",honeydew:\"#f0fff0\",hotpink:\"#ff6", "9b4\",indianred:\"#cd5c5c\",indigo:\"#4b0082\",ivory:\"#fffff0\",khaki:", "\"#f0e68c\",lavender:\"#e6e6fa\",lavenderblush:\"#fff0f5\",lawngreen:\"", "#7cfc00\",lemonchiffon:\"#fffacd\",lightblue:\"#add8e6\",lightcoral:\"#", "f08080\",lightcyan:\"#e0ffff\",lightgoldenrodyellow:\"#fafad2\",lightgr", "ay:\"#d3d3d3\",lightgreen:\"#90ee90\",lightgrey:\"#d3d3d3\",lightpink:", "\"#ffb6c1\",lightsalmon:\"#ffa07a\",\nlightseagreen:\"#20b2aa\",lightsk", "yblue:\"#87cefa\",lightslategray:\"#778899\",lightslategrey:\"#778899\"", ",lightsteelblue:\"#b0c4de\",lightyellow:\"#ffffe0\",lime:\"#00ff00\",li", "megreen:\"#32cd32\",linen:\"#faf0e6\",magenta:\"#ff00ff\",maroon:\"#800", "000\",mediumaquamarine:\"#66cdaa\",mediumblue:\"#0000cd\",mediumorchid:", "\"#ba55d3\",mediumpurple:\"#9370db\",mediumseagreen:\"#3cb371\",mediums", "lateblue:\"#7b68ee\",mediumspringgreen:\"#00fa9a\",mediumturquoise:\"#4", "8d1cc\",mediumvioletred:\"#c71585\",midnightblue:\"#191970\",mintcream:", "\"#f5fffa\",mistyrose:\"#ffe4e1\",\nmoccasin:\"#ffe4b5\",navajowhite:\"", "#ffdead\",navy:\"#000080\",oldlace:\"#fdf5e6\",olive:\"#808000\",olived", "rab:\"#6b8e23\",orange:\"#ffa500\",orangered:\"#ff4500\",orchid:\"#da70", "d6\",palegoldenrod:\"#eee8aa\",palegreen:\"#98fb98\",paleturquoise:\"#a", "feeee\",palevioletred:\"#db7093\",papayawhip:\"#ffefd5\",peachpuff:\"#f", "fdab9\",peru:\"#cd853f\",pink:\"#ffc0cb\",plum:\"#dda0dd\",powderblue:", "\"#b0e0e6\",purple:\"#800080\",red:\"#ff0000\",rosybrown:\"#bc8f8f\",ro", "yalblue:\"#4169e1\",saddlebrown:\"#8b4513\",salmon:\"#fa8072\",sandybro", "wn:\"#f4a460\",seagreen:\"#2e8b57\",\nseashell:\"#fff5ee\",sienna:\"#a0", "522d\",silver:\"#c0c0c0\",skyblue:\"#87ceeb\",slateblue:\"#6a5acd\",sla", "tegray:\"#708090\",slategrey:\"#708090\",snow:\"#fffafa\",springgreen:", "\"#00ff7f\",steelblue:\"#4682b4\",tan:\"#d2b48c\",teal:\"#008080\",this", "tle:\"#d8bfd8\",tomato:\"#ff6347\",turquoise:\"#40e0d0\",violet:\"#ee82", "ee\",wheat:\"#f5deb3\",white:\"#ffffff\",whitesmoke:\"#f5f5f5\",yellow:", "\"#ffff00\",yellowgreen:\"#9acd32\"};var na=\"backgroundColor borderTop", "Color borderRightColor borderBottomColor borderLeftColor color outlineC", "olor\".split(\" \"),oa=/#([0-9a-fA-F])([0-9a-fA-F])([0-9a-fA-F])/,pa=/^", "#(?:[0-9a-f]{3}){1,2}$/i,qa=/^(?:rgba)?\\((\\d{1,3}),\\s?(\\d{1,3}),\\s", "?(\\d{1,3}),\\s?(0|1|0\\.\\d*)\\)$/i,ra=/^(?:rgb)?\\((0|[1-9]\\d{0,2}),", "\\s?(0|[1-9]\\d{0,2}),\\s?(0|[1-9]\\d{0,2})\\)$/i;function sa(a,b){if(!", "a||!b)return!1;if(a.contains&&1==b.nodeType)return a==b||a.contains(b);", "if(\"undefined\"!=typeof a.compareDocumentPosition)return a==b||!!(a.co", "mpareDocumentPosition(b)&16);for(;b&&a!=b;)b=b.parentNode;return b==a}", "\nfunction ta(a,b){if(a==b)return 0;if(a.compareDocumentPosition)return", " a.compareDocumentPosition(b)&2?1:-1;if(\"sourceIndex\"in a||a.parentNo", "de&&\"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.pare", "ntNode;return e==f?ua(a,b):!c&&sa(e,b)?-1*va(a,b):!d&&sa(f,a)?va(b,a):(", "c?a.sourceIndex:e.sourceIndex)-(d?b.sourceIndex:f.sourceIndex)}d=9==a.n", "odeType?a:a.ownerDocument||a.document;c=d.createRange();c.selectNode(a)", ";c.collapse(!0);\na=d.createRange();a.selectNode(b);a.collapse(!0);retu", "rn c.compareBoundaryPoints(aa.Range.START_TO_END,a)}function va(a,b){va", "r c=a.parentNode;if(c==b)return-1;for(;b.parentNode!=c;)b=b.parentNode;", "return ua(b,a)}function ua(a,b){for(;b=b.previousSibling;)if(b==a)retur", "n-1;return 1};/*\n\n The MIT License\n\n Copyright (c) 2007 Cybozu Labs", ", Inc.\n Copyright (c) 2012 Google Inc.\n\n Permission is hereby grante", "d, free of charge, to any person obtaining a copy\n of this software an", "d associated documentation files (the \"Software\"), to\n deal in the S", "oftware without restriction, including without limitation the\n rights ", "to use, copy, modify, merge, publish, distribute, sublicense, and/or\n ", "sell copies of the Software, and to permit persons to whom the Software", " is\n furnished to do so, subject to the following conditions:\n\n The ", "above copyright notice and this permission notice shall be included in", "\n all copies or substantial portions of the Software.\n\n THE SOFTWARE", " IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n IMPL", "IED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n ", "FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL", " THE\n AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR", " OTHER\n LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE", ", ARISING\n FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE ", "OR OTHER DEALINGS\n IN THE SOFTWARE.\n*/\nfunction r(a,b,c){this.l=a;th", "is.ka=b||1;this.j=c||1};function t(a){this.S=a;this.I=0}function wa(a){", "a=a.match(xa);for(var b=0;b]=|\\s+|./g,ya=/^\\s/;function u(a,b){return a.S[a.I", "+(b||0)]}t.prototype.next=function(){return this.S[this.I++]};t.prototy", "pe.back=function(){this.I--};t.prototype.empty=function(){return this.S", ".length<=this.I};function v(a){var b=null,c=a.nodeType;1==c&&(b=a.textC", "ontent,b=void 0==b||null==b?a.innerText:b,b=void 0==b||null==b?\"\":b);", "if(\"string\"!=typeof b)if(9==c||1==c){a=9==c?a.documentElement:a.first", "Child;for(var c=0,d=[],b=\"\";a;){do 1!=a.nodeType&&(b+=a.nodeValue),d[", "c++]=a;while(a=a.firstChild);for(;c&&!(a=d[--c].nextSibling););}}else b", "=a.nodeValue;return\"\"+b}\nfunction x(a,b,c){if(null===b)return!0;try{", "if(!a.getAttribute)return!1}catch(d){return!1}return null==c?!!a.getAtt", "ribute(b):a.getAttribute(b,2)==c}function y(a,b,c,d,e){return za.call(n", "ull,a,b,h(c)?c:null,h(d)?d:null,e||new z)}\nfunction za(a,b,c,d,e){b.ge", "tElementsByName&&d&&\"name\"==c?(b=b.getElementsByName(d),n(b,function(", "b){a.matches(b)&&e.add(b)})):b.getElementsByClassName&&d&&\"class\"==c?", "(b=b.getElementsByClassName(d),n(b,function(b){b.className==d&&a.matche", "s(b)&&e.add(b)})):a instanceof A?Aa(a,b,c,d,e):b.getElementsByTagName&&", "(b=b.getElementsByTagName(a.getName()),n(b,function(a){x(a,c,d)&&e.add(", "a)}));return e}function Aa(a,b,c,d,e){for(b=b.firstChild;b;b=b.nextSibl", "ing)x(b,c,d)&&a.matches(b)&&e.add(b),Aa(a,b,c,d,e)};function z(){this.j", "=this.g=null;this.D=0}function Ba(a){this.node=a;this.next=this.w=null}", "function Ca(a,b){if(!a.g)return b;if(!b.g)return a;var c=a.g;b=b.g;for(", "var d=null,e,f=0;c&&b;)c.node==b.node?(e=c,c=c.next,b=b.next):0\",4,2,function(a,b,c){return I(function(a,b)", "{return a>b},a,b,c)});J(\"<=\",4,2,function(a,b,c){return I(function(a,", "b){return a<=b},a,b,c)});J(\">=\",4,2,function(a,b,c){return I(function", "(a,b){return a>=b},a,b,c)});var Ga=J(\"=\",3,2,function(a,b,c){return I", "(function(a,b){return a==b},a,b,c,!0)});J(\"!=\",3,2,function(a,b,c){re", "turn I(function(a,b){return a!=b},a,b,c,!0)});J(\"and\",2,2,function(a,", "b,c){return G(a,c)&&G(b,c)});J(\"or\",1,2,function(a,b,c){return G(a,c)", "||G(b,c)});function K(a,b){if(b.m()&&4!=a.f)throw Error(\"Primary expre", "ssion must evaluate to nodeset if filter has predicate(s).\");m.call(th", "is,a.f);this.$=a;this.b=b;this.o=a.c();this.h=a.h}k(K);K.prototype.eval", "uate=function(a){a=this.$.evaluate(a);return Ja(this.b,a)};K.prototype.", "toString=function(){var a=\"Filter:\"+D(this.$);return a+=D(this.b)};fu", "nction L(a,b){if(b.lengtha.P)throw Error(\"Function \"+a.i+\" expects at most \"+a.P+\" ar", "guments, \"+b.length+\" given\");a.ha&&n(b,function(b,d){if(4!=b.f)thro", "w Error(\"Argument \"+d+\" to function \"+a.i+\" is not of type Nodeset", ": \"+b);});m.call(this,a.f);this.H=a;this.M=b;Ea(this,a.o||q(b,function", "(a){return a.c()}));Fa(this,a.fa&&!b.length||a.ea&&!!b.length||q(b,func", "tion(a){return a.h}))}k(L);\nL.prototype.evaluate=function(a){return th", "is.H.v.apply(null,ja(a,this.M))};L.prototype.toString=function(){var a=", "\"Function: \"+this.H;if(this.M.length)var b=p(this.M,function(a,b){ret", "urn a+D(b)},\"Arguments:\"),a=a+D(b);return a};function Ka(a,b,c,d,e,f,", "g,l,w){this.i=a;this.f=b;this.o=c;this.fa=d;this.ea=e;this.v=f;this.Y=g", ";this.P=void 0!==l?l:g;this.ha=!!w}Ka.prototype.toString=function(){ret", "urn this.i};var La={};\nfunction M(a,b,c,d,e,f,g,l){if(La.hasOwnPropert", "y(a))throw Error(\"Function already created: \"+a+\".\");La[a]=new Ka(a", ",b,c,d,!1,e,f,g,l)}M(\"boolean\",2,!1,!1,function(a,b){return G(b,a)},1", ");M(\"ceiling\",1,!1,!1,function(a,b){return Math.ceil(E(b,a))},1);M(\"", "concat\",3,!1,!1,function(a,b){return p(ka(arguments,1),function(b,d){r", "eturn b+F(d,a)},\"\")},2,null);M(\"contains\",2,!1,!1,function(a,b,c){b", "=F(b,a);a=F(c,a);return-1!=b.indexOf(a)},2);M(\"count\",1,!1,!1,functio", "n(a,b){return b.evaluate(a).m()},1,1,!0);\nM(\"false\",2,!1,!1,function", "(){return!1},0);M(\"floor\",1,!1,!1,function(a,b){return Math.floor(E(b", ",a))},1);M(\"id\",4,!1,!1,function(a,b){var c=a.l,d=9==c.nodeType?c:c.o", "wnerDocument;a=F(b,a).split(/\\s+/);var e=[];n(a,function(a){a=d.getEle", "mentById(a);!a||0<=ia(e,a)||e.push(a)});e.sort(ta);var f=new z;n(e,func", "tion(a){f.add(a)});return f},1);M(\"lang\",2,!1,!1,function(){return!1}", ",1);M(\"last\",1,!0,!1,function(a){if(1!=arguments.length)throw Error(", "\"Function last expects ()\");return a.j},0);\nM(\"local-name\",3,!1,!0", ",function(a,b){return(a=b?B(b.evaluate(a)):a.l)?a.localName||a.nodeName", ".toLowerCase():\"\"},0,1,!0);M(\"name\",3,!1,!0,function(a,b){return(a=", "b?B(b.evaluate(a)):a.l)?a.nodeName.toLowerCase():\"\"},0,1,!0);M(\"name", "space-uri\",3,!0,!1,function(){return\"\"},0,1,!0);M(\"normalize-space", "\",3,!1,!0,function(a,b){return(b?F(b,a):v(a.l)).replace(/[\\s\\xa0]+/g", ",\" \").replace(/^\\s+|\\s+$/g,\"\")},0,1);M(\"not\",2,!1,!1,function(a", ",b){return!G(b,a)},1);\nM(\"number\",1,!1,!0,function(a,b){return b?E(b", ",a):+v(a.l)},0,1);M(\"position\",1,!0,!1,function(a){return a.ka},0);M(", "\"round\",1,!1,!1,function(a,b){return Math.round(E(b,a))},1);M(\"start", "s-with\",2,!1,!1,function(a,b,c){b=F(b,a);a=F(c,a);return 0==b.lastInde", "xOf(a,0)},2);M(\"string\",3,!1,!0,function(a,b){return b?F(b,a):v(a.l)}", ",0,1);M(\"string-length\",1,!1,!0,function(a,b){return(b?F(b,a):v(a.l))", ".length},0,1);\nM(\"substring\",3,!1,!1,function(a,b,c,d){c=E(c,a);if(i", "sNaN(c)||Infinity==c||-Infinity==c)return\"\";d=d?E(d,a):Infinity;if(is", "NaN(d)||-Infinity===d)return\"\";c=Math.round(c)-1;var e=Math.max(c,0);", "a=F(b,a);return Infinity==d?a.substring(e):a.substring(e,c+Math.round(d", "))},2,3);M(\"substring-after\",3,!1,!1,function(a,b,c){b=F(b,a);a=F(c,a", ");c=b.indexOf(a);return-1==c?\"\":b.substring(c+a.length)},2);\nM(\"sub", "string-before\",3,!1,!1,function(a,b,c){b=F(b,a);a=F(c,a);a=b.indexOf(a", ");return-1==a?\"\":b.substring(0,a)},2);M(\"sum\",1,!1,!1,function(a,b)", "{a=b.evaluate(a).iterator();b=0;for(var c=a.next();c;c=a.next())b+=+v(c", ");return b},1,1,!0);M(\"translate\",3,!1,!1,function(a,b,c,d){b=F(b,a);", "c=F(c,a);var e=F(d,a);d={};for(var f=0;fa.length)throw Error(\"Unclosed literal string\");ret", "urn new N(a)}\nfunction cb(a){var b=[];if(Oa(u(a.a))){var c=a.a.next();", "var d=u(a.a);if(\"/\"==c&&(a.a.empty()||\".\"!=d&&\"..\"!=d&&\"@\"!=d&&", "\"*\"!=d&&!/(?![0-9])[\\w]/.test(d)))return new R;d=new R;Y(a,\"Missing", " next location step.\");c=db(a,c);b.push(c)}else{a:{c=u(a.a);d=c.charAt", "(0);switch(d){case \"$\":throw Error(\"Variable reference not allowed i", "n HTML XPath\");case \"(\":a.a.next();c=Ya(a);Y(a,'unclosed \"(\"');$a(", "a,\")\");break;case '\"':case \"'\":c=bb(a);break;default:if(isNaN(+c))", "if(!Ma(c)&&/(?![0-9])[\\w]/.test(d)&&\"(\"==u(a.a,\n1)){c=a.a.next();c=", "La[c]||null;a.a.next();for(d=[];\")\"!=u(a.a);){Y(a,\"Missing function ", "argument list.\");d.push(Ya(a));if(\",\"!=u(a.a))break;a.a.next()}Y(a,", "\"Unclosed function argument list.\");ab(a);c=new L(c,d)}else{c=null;br", "eak a}else c=new P(+a.a.next())}\"[\"==u(a.a)&&(d=new T(eb(a)),c=new K(", "c,d))}if(c)if(Oa(u(a.a)))d=c;else return c;else c=db(a,\"/\"),d=new S,b", ".push(c)}for(;Oa(u(a.a));)c=a.a.next(),Y(a,\"Missing next location step", ".\"),c=db(a,c),b.push(c);return new Q(d,b)}\nfunction db(a,b){if(\"/\"!", "=b&&\"//\"!=b)throw Error('Step op should be \"/\" or \"//\"');if(\".\"", "==u(a.a)){var c=new U(Wa,new A(\"node\"));a.a.next();return c}if(\"..\"", "==u(a.a))return c=new U(Va,new A(\"node\")),a.a.next(),c;if(\"@\"==u(a.", "a)){var d=Na;a.a.next();Y(a,\"Missing attribute name\")}else if(\"::\"=", "=u(a.a,1)){if(!/(?![0-9])[\\w]/.test(u(a.a).charAt(0)))throw Error(\"Ba", "d token: \"+a.a.next());var e=a.a.next();d=Ua[e]||null;if(!d)throw Erro", "r(\"No axis with name: \"+e);a.a.next();Y(a,\"Missing node name\")}else", " d=Ra;e=\nu(a.a);if(/(?![0-9])[\\w\\*]/.test(e.charAt(0)))if(\"(\"==u(a", ".a,1)){if(!Ma(e))throw Error(\"Invalid node type: \"+e);e=a.a.next();if", "(!Ma(e))throw Error(\"Invalid type name: \"+e);$a(a,\"(\");Y(a,\"Bad no", "detype\");var f=u(a.a).charAt(0),g=null;if('\"'==f||\"'\"==f)g=bb(a);Y(", "a,\"Bad nodetype\");ab(a);e=new A(e,g)}else if(e=a.a.next(),f=e.indexOf", "(\":\"),-1==f)e=new O(e);else{var g=e.substring(0,f);if(\"*\"==g)var l=", "\"*\";else if(l=a.ia(g),!l)throw Error(\"Namespace prefix not declared:", " \"+g);e=e.substr(f+1);e=new O(e,l)}else throw Error(\"Bad token: \"+\n", "a.a.next());a=new T(eb(a),d.A);return c||new U(d,e,a,\"//\"==b)}functio", "n eb(a){for(var b=[];\"[\"==u(a.a);){a.a.next();Y(a,\"Missing predicate", " expression.\");var c=Ya(a);b.push(c);Y(a,\"Unclosed predicate expressi", "on.\");$a(a,\"]\")}return b}function Za(a){if(\"-\"==u(a.a))return a.a.", "next(),new W(Za(a));var b=cb(a);if(\"|\"!=u(a.a))a=b;else{for(b=[b];\"|", "\"==a.a.next();)Y(a,\"Missing next union location path.\"),b.push(cb(a)", ");a.a.back();a=new X(b)}return a};function fb(a){switch(a.nodeType){cas", "e 1:return ga(gb,a);case 9:return fb(a.documentElement);case 11:case 10", ":case 6:case 12:return hb;default:return a.parentNode?fb(a.parentNode):", "hb}}function hb(){return null}function gb(a,b){if(a.prefix==b)return a.", "namespaceURI||\"http://www.w3.org/1999/xhtml\";var c=a.getAttributeNode", "(\"xmlns:\"+b);return c&&c.specified?c.value||null:a.parentNode&&9!=a.p", "arentNode.nodeType?gb(a.parentNode,b):null};function jb(a,b){if(!a.leng", "th)throw Error(\"Empty XPath expression.\");a=wa(a);if(a.empty())throw ", "Error(\"Invalid XPath expression.\");b?\"function\"==ca(b)||(b=fa(b.loo", "kupNamespaceURI,b)):b=function(){return null};var c=Ya(new Xa(a,b));if(", "!a.empty())throw Error(\"Bad token: \"+a.next());this.evaluate=function", "(a,b){a=c.evaluate(new r(a));return new Z(a,b)}}\nfunction Z(a,b){if(0=", "=b)if(a instanceof z)b=4;else if(\"string\"==typeof a)b=2;else if(\"num", "ber\"==typeof a)b=1;else if(\"boolean\"==typeof a)b=3;else throw Error(", "\"Unexpected evaluation result.\");if(2!=b&&1!=b&&3!=b&&!(a instanceof ", "z))throw Error(\"value could not be converted to the specified type\");", "this.resultType=b;switch(b){case 2:this.stringValue=a instanceof z?C(a)", ":\"\"+a;break;case 1:this.numberValue=a instanceof z?+C(a):+a;break;cas", "e 3:this.booleanValue=a instanceof z?0=d.length?null:d[f++]};this.snapshotItem=function(a){if(6!=b&&7!=", "b)throw Error(\"snapshotItem called with wrong result type\");return a>", "=d.length||0>a?null:d[a]}}\nZ.ANY_TYPE=0;Z.NUMBER_TYPE=1;Z.STRING_TYPE=", "2;Z.BOOLEAN_TYPE=3;Z.UNORDERED_NODE_ITERATOR_TYPE=4;Z.ORDERED_NODE_ITER", "ATOR_TYPE=5;Z.UNORDERED_NODE_SNAPSHOT_TYPE=6;Z.ORDERED_NODE_SNAPSHOT_TY", "PE=7;Z.ANY_UNORDERED_NODE_TYPE=8;Z.FIRST_ORDERED_NODE_TYPE=9;function k", "b(a){this.lookupNamespaceURI=fb(a)}\nba(\"wgxpath.install\",function(a,", "b){a=a||aa;var c=a.Document&&a.Document.prototype||a.document;if(!c.eva", "luate||b)a.XPathResult=Z,c.evaluate=function(a,b,c,g){return(new jb(a,c", ")).evaluate(b,g)},c.createExpression=function(a,b){return new jb(a,b)},", "c.createNSResolver=function(a){return new kb(a)}});function lb(a,b){var", " c=a.currentStyle||a.style,d=c[b];void 0===d&&\"function\"==ca(c.getPro", "pertyValue)&&(d=c.getPropertyValue(b));if(\"inherit\"!=d)return void 0!", "==d?d:null;var e;for(a=a.parentNode;a&&1!=a.nodeType&&9!=a.nodeType&&11", "!=a.nodeType;)a=a.parentNode;e&&\"string\"!==typeof e&&(e=e.toString())", ";return(e=!a||1!=a.nodeType||e&&a.tagName.toUpperCase()!=e?null:a)?lb(e", ",b):null};ba(\"_\",function(a,b){b=ha(b);if(\"float\"==b||\"cssFloat\"=", "=b||\"styleFloat\"==b)b=\"cssFloat\";a:{var c=b;var d=9==a.nodeType?a:a", ".ownerDocument||a.document;if(d.defaultView&&d.defaultView.getComputedS", "tyle&&(d=d.defaultView.getComputedStyle(a,null))){c=d[c]||d.getProperty", "Value(c)||\"\";break a}c=\"\"}a=c||lb(a,b);if(null===a)a=null;else if(0", "<=ia(na,b)){b:{var e=a.match(qa);if(e&&(b=Number(e[1]),c=Number(e[2]),d", "=Number(e[3]),e=Number(e[4]),0<=b&&255>=b&&0<=c&&255>=c&&0<=d&&255>=d&&", "0<=e&&1>=e)){b=[b,c,d,e];break b}b=\nnull}if(!b)b:{if(d=a.match(ra))if(", "b=Number(d[1]),c=Number(d[2]),d=Number(d[3]),0<=b&&255>=b&&0<=c&&255>=c", "&&0<=d&&255>=d){b=[b,c,d,1];break b}b=null}if(!b)b:{b=a.toLowerCase();c", "=ma[b.toLowerCase()];if(!c&&(c=\"#\"==b.charAt(0)?b:\"#\"+b,4==c.length", "&&(c=c.replace(oa,\"#$1$1$2$2$3$3\")),!pa.test(c))){b=null;break b}b=[p", "arseInt(c.substr(1,2),16),parseInt(c.substr(3,2),16),parseInt(c.substr(", "5,2),16),1]}a=b?\"rgba(\"+b.join(\", \")+\")\":a}return a});; return th", "is._.apply(null,arguments);}.apply({navigator:typeof window!='undefined", "'?window.navigator:null,document:typeof window!='undefined'?window.docu", "ment:null}, arguments);}", NULL }; const char* const GET_LOCATION[] = { "function(){return function(){var d,h=this;\nfunction k(a){var b=typeof ", "a;if(\"object\"==b)if(a){if(a instanceof Array)return\"array\";if(a ins", "tanceof Object)return b;var e=Object.prototype.toString.call(a);if(\"[o", "bject Window]\"==e)return\"object\";if(\"[object Array]\"==e||\"number", "\"==typeof a.length&&\"undefined\"!=typeof a.splice&&\"undefined\"!=typ", "eof a.propertyIsEnumerable&&!a.propertyIsEnumerable(\"splice\"))return", "\"array\";if(\"[object Function]\"==e||\"undefined\"!=typeof a.call&&\"", "undefined\"!=typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable(\"c", "all\"))return\"function\"}else return\"null\";else if(\"function\"==\nb", "&&\"undefined\"==typeof a.call)return\"object\";return b}function l(a){", "var b=k(a);return\"array\"==b||\"object\"==b&&\"number\"==typeof a.leng", "th}function m(a){var b=typeof a;return\"object\"==b&&null!=a||\"functio", "n\"==b};var n;function q(a,b){for(var e=a.length,c=\"string\"==typeof a", "?a.split(\"\"):a,g=0;g", "=arguments.length?Array.prototype.slice.call(a,b):Array.prototype.slice", ".call(a,b,c)};var pa={aliceblue:\"#f0f8ff\",antiquewhite:\"#faebd7\",aq", "ua:\"#00ffff\",aquamarine:\"#7fffd4\",azure:\"#f0ffff\",beige:\"#f5f5dc", "\",bisque:\"#ffe4c4\",black:\"#000000\",blanchedalmond:\"#ffebcd\",blue", ":\"#0000ff\",blueviolet:\"#8a2be2\",brown:\"#a52a2a\",burlywood:\"#deb8", "87\",cadetblue:\"#5f9ea0\",chartreuse:\"#7fff00\",chocolate:\"#d2691e\"", ",coral:\"#ff7f50\",cornflowerblue:\"#6495ed\",cornsilk:\"#fff8dc\",crim", "son:\"#dc143c\",cyan:\"#00ffff\",darkblue:\"#00008b\",darkcyan:\"#008b8", "b\",darkgoldenrod:\"#b8860b\",darkgray:\"#a9a9a9\",darkgreen:\"#006400", "\",\ndarkgrey:\"#a9a9a9\",darkkhaki:\"#bdb76b\",darkmagenta:\"#8b008b\"", ",darkolivegreen:\"#556b2f\",darkorange:\"#ff8c00\",darkorchid:\"#9932cc", "\",darkred:\"#8b0000\",darksalmon:\"#e9967a\",darkseagreen:\"#8fbc8f\",", "darkslateblue:\"#483d8b\",darkslategray:\"#2f4f4f\",darkslategrey:\"#2f", "4f4f\",darkturquoise:\"#00ced1\",darkviolet:\"#9400d3\",deeppink:\"#ff1", "493\",deepskyblue:\"#00bfff\",dimgray:\"#696969\",dimgrey:\"#696969\",d", "odgerblue:\"#1e90ff\",firebrick:\"#b22222\",floralwhite:\"#fffaf0\",for", "estgreen:\"#228b22\",fuchsia:\"#ff00ff\",gainsboro:\"#dcdcdc\",\nghostw", "hite:\"#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\",lavenderblu", "sh:\"#fff0f5\",lawngreen:\"#7cfc00\",lemonchiffon:\"#fffacd\",lightblue", ":\"#add8e6\",lightcoral:\"#f08080\",lightcyan:\"#e0ffff\",lightgoldenro", "dyellow:\"#fafad2\",lightgray:\"#d3d3d3\",lightgreen:\"#90ee90\",lightg", "rey:\"#d3d3d3\",lightpink:\"#ffb6c1\",lightsalmon:\"#ffa07a\",\nlightse", "agreen:\"#20b2aa\",lightskyblue:\"#87cefa\",lightslategray:\"#778899\",", "lightslategrey:\"#778899\",lightsteelblue:\"#b0c4de\",lightyellow:\"#ff", "ffe0\",lime:\"#00ff00\",limegreen:\"#32cd32\",linen:\"#faf0e6\",magenta", ":\"#ff00ff\",maroon:\"#800000\",mediumaquamarine:\"#66cdaa\",mediumblue", ":\"#0000cd\",mediumorchid:\"#ba55d3\",mediumpurple:\"#9370db\",mediumse", "agreen:\"#3cb371\",mediumslateblue:\"#7b68ee\",mediumspringgreen:\"#00f", "a9a\",mediumturquoise:\"#48d1cc\",mediumvioletred:\"#c71585\",midnightb", "lue:\"#191970\",mintcream:\"#f5fffa\",mistyrose:\"#ffe4e1\",\nmoccasin:", "\"#ffe4b5\",navajowhite:\"#ffdead\",navy:\"#000080\",oldlace:\"#fdf5e6", "\",olive:\"#808000\",olivedrab:\"#6b8e23\",orange:\"#ffa500\",orangered", ":\"#ff4500\",orchid:\"#da70d6\",palegoldenrod:\"#eee8aa\",palegreen:\"#", "98fb98\",paleturquoise:\"#afeeee\",palevioletred:\"#db7093\",papayawhip", ":\"#ffefd5\",peachpuff:\"#ffdab9\",peru:\"#cd853f\",pink:\"#ffc0cb\",pl", "um:\"#dda0dd\",powderblue:\"#b0e0e6\",purple:\"#800080\",red:\"#ff0000", "\",rosybrown:\"#bc8f8f\",royalblue:\"#4169e1\",saddlebrown:\"#8b4513\",", "salmon:\"#fa8072\",sandybrown:\"#f4a460\",seagreen:\"#2e8b57\",\nseashe", "ll:\"#fff5ee\",sienna:\"#a0522d\",silver:\"#c0c0c0\",skyblue:\"#87ceeb", "\",slateblue:\"#6a5acd\",slategray:\"#708090\",slategrey:\"#708090\",sn", "ow:\"#fffafa\",springgreen:\"#00ff7f\",steelblue:\"#4682b4\",tan:\"#d2b", "48c\",teal:\"#008080\",thistle:\"#d8bfd8\",tomato:\"#ff6347\",turquoise", ":\"#40e0d0\",violet:\"#ee82ee\",wheat:\"#f5deb3\",white:\"#ffffff\",whi", "tesmoke:\"#f5f5f5\",yellow:\"#ffff00\",yellowgreen:\"#9acd32\"};var qa=", "\"backgroundColor borderTopColor borderRightColor borderBottomColor bor", "derLeftColor color outlineColor\".split(\" \"),ra=/#([0-9a-fA-F])([0-9a", "-fA-F])([0-9a-fA-F])/,sa=/^#(?:[0-9a-f]{3}){1,2}$/i,ta=/^(?:rgba)?\\((", "\\d{1,3}),\\s?(\\d{1,3}),\\s?(\\d{1,3}),\\s?(0|1|0\\.\\d*)\\)$/i,ua=/^(", "?:rgb)?\\((0|[1-9]\\d{0,2}),\\s?(0|[1-9]\\d{0,2}),\\s?(0|[1-9]\\d{0,2})", "\\)$/i;function va(a,b){this.code=a;this.state=w[a]||wa;this.message=b|", "|\"\";a=this.state.replace(/((?:^|\\s+)[a-z])/g,function(a){return a.to", "UpperCase().replace(/^[\\s\\xa0]+/g,\"\")});b=a.length-5;if(0>b||a.inde", "xOf(\"Error\",b)!=b)a+=\"Error\";this.name=a;a=Error(this.message);a.na", "me=this.name;this.stack=a.stack||\"\"}p(va,Error);var wa=\"unknown erro", "r\",w={15:\"element not selectable\",11:\"element not visible\"};w[31]=", "wa;w[30]=wa;w[24]=\"invalid cookie domain\";w[29]=\"invalid element coo", "rdinates\";w[12]=\"invalid element state\";\nw[32]=\"invalid selector\"", ";w[51]=\"invalid selector\";w[52]=\"invalid selector\";w[17]=\"javascri", "pt error\";w[405]=\"unsupported operation\";w[34]=\"move target out of ", "bounds\";w[27]=\"no such alert\";w[7]=\"no such element\";w[8]=\"no suc", "h frame\";w[23]=\"no such window\";w[28]=\"script timeout\";w[33]=\"ses", "sion not created\";w[10]=\"stale element reference\";w[21]=\"timeout\";", "w[25]=\"unable to set cookie\";w[26]=\"unexpected alert open\";w[13]=wa", ";w[9]=\"unknown command\";va.prototype.toString=function(){return this.", "name+\": \"+this.message};function y(a,b){this.x=k(a)?a:0;this.y=k(b)?b", ":0}h=y.prototype;h.clone=function(){return new y(this.x,this.y)};h.toSt", "ring=function(){return\"(\"+this.x+\", \"+this.y+\")\"};h.ceil=function", "(){this.x=Math.ceil(this.x);this.y=Math.ceil(this.y);return this};h.flo", "or=function(){this.x=Math.floor(this.x);this.y=Math.floor(this.y);retur", "n this};h.round=function(){this.x=Math.round(this.x);this.y=Math.round(", "this.y);return this};\nh.translate=function(a,b){a instanceof y?(this.x", "+=a.x,this.y+=a.y):(this.x+=Number(a),n(b)&&(this.y+=b));return this};h", ".scale=function(a,b){b=n(b)?b:a;this.x*=a;this.y*=b;return this};functi", "on xa(a,b){this.width=a;this.height=b}h=xa.prototype;h.clone=function()", "{return new xa(this.width,this.height)};h.toString=function(){return\"(", "\"+this.width+\" x \"+this.height+\")\"};h.ceil=function(){this.width=M", "ath.ceil(this.width);this.height=Math.ceil(this.height);return this};h.", "floor=function(){this.width=Math.floor(this.width);this.height=Math.flo", "or(this.height);return this};h.round=function(){this.width=Math.round(t", "his.width);this.height=Math.round(this.height);return this};\nh.scale=f", "unction(a,b){b=n(b)?b:a;this.width*=a;this.height*=b;return this};funct", "ion ya(a,b,c){function d(c){c&&b.appendChild(m(c)?a.createTextNode(c):c", ")}for(var e=1;e]=|\\s+|./g,Ja=/^\\s/;function C(a,b){return a.", "T[a.J+(b||0)]}Ga.prototype.next=function(){return this.T[this.J++]};Ga.", "prototype.back=function(){this.J--};Ga.prototype.empty=function(){retur", "n this.T.length<=this.J};function D(a){var b=null,c=a.nodeType;1==c&&(b", "=a.textContent,b=void 0==b||null==b?a.innerText:b,b=void 0==b||null==b?", "\"\":b);if(\"string\"!=typeof b)if(9==c||1==c){a=9==c?a.documentElement", ":a.firstChild;for(var c=0,d=[],b=\"\";a;){do 1!=a.nodeType&&(b+=a.nodeV", "alue),d[c++]=a;while(a=a.firstChild);for(;c&&!(a=d[--c].nextSibling););", "}}else b=a.nodeValue;return\"\"+b}\nfunction F(a,b,c){if(null===b)retur", "n!0;try{if(!a.getAttribute)return!1}catch(d){return!1}return null==c?!!", "a.getAttribute(b):a.getAttribute(b,2)==c}function Ka(a,b,c,d,e){return ", "La.call(null,a,b,m(c)?c:null,m(d)?d:null,e||new G)}\nfunction La(a,b,c,", "d,e){b.getElementsByName&&d&&\"name\"==c?(b=b.getElementsByName(d),q(b,", "function(b){a.matches(b)&&e.add(b)})):b.getElementsByClassName&&d&&\"cl", "ass\"==c?(b=b.getElementsByClassName(d),q(b,function(b){b.className==d&", "&a.matches(b)&&e.add(b)})):a instanceof H?Ma(a,b,c,d,e):b.getElementsBy", "TagName&&(b=b.getElementsByTagName(a.getName()),q(b,function(a){F(a,c,d", ")&&e.add(a)}));return e}function Ma(a,b,c,d,e){for(b=b.firstChild;b;b=b", ".nextSibling)F(b,c,d)&&a.matches(b)&&e.add(b),Ma(a,b,c,d,e)};function G", "(){this.j=this.g=null;this.D=0}function Na(a){this.node=a;this.next=thi", "s.w=null}function Oa(a,b){if(!a.g)return b;if(!b.g)return a;var c=a.g;b", "=b.g;for(var d=null,e,f=0;c&&b;)c.node==b.node?(e=c,c=c.next,b=b.next):", "0\",4,2,function(a,b,c){r", "eturn P(function(a,b){return a>b},a,b,c)});Q(\"<=\",4,2,function(a,b,c)", "{return P(function(a,b){return a<=b},a,b,c)});Q(\">=\",4,2,function(a,b", ",c){return P(function(a,b){return a>=b},a,b,c)});var Va=Q(\"=\",3,2,fun", "ction(a,b,c){return P(function(a,b){return a==b},a,b,c,!0)});Q(\"!=\",3", ",2,function(a,b,c){return P(function(a,b){return a!=b},a,b,c,!0)});Q(\"", "and\",2,2,function(a,b,c){return O(a,c)&&O(b,c)});Q(\"or\",1,2,function", "(a,b,c){return O(a,c)||O(b,c)});function Ya(a,b){if(b.m()&&4!=a.f)throw", " Error(\"Primary expression must evaluate to nodeset if filter has pred", "icate(s).\");I.call(this,a.f);this.ba=a;this.b=b;this.o=a.c();this.h=a.", "h}p(Ya,I);Ya.prototype.evaluate=function(a){a=this.ba.evaluate(a);retur", "n Za(this.b,a)};Ya.prototype.toString=function(){var a=\"Filter:\"+K(th", "is.ba);return a+=K(this.b)};function $a(a,b){if(b.lengtha.R)throw Error(\"Function \"+a.i+", "\" expects at most \"+a.R+\" arguments, \"+b.length+\" given\");a.ja&&q", "(b,function(b,d){if(4!=b.f)throw Error(\"Argument \"+d+\" to function ", "\"+a.i+\" is not of type Nodeset: \"+b);});I.call(this,a.f);this.I=a;th", "is.N=b;Sa(this,a.o||v(b,function(a){return a.c()}));Ta(this,a.ha&&!b.le", "ngth||a.ga&&!!b.length||v(b,function(a){return a.h}))}\np($a,I);$a.prot", "otype.evaluate=function(a){return this.I.v.apply(null,ma(a,this.N))};$a", ".prototype.toString=function(){var a=\"Function: \"+this.I;if(this.N.le", "ngth)var b=u(this.N,function(a,b){return a+K(b)},\"Arguments:\"),a=a+K(", "b);return a};function ab(a,b,c,d,e,f,g,l,r){this.i=a;this.f=b;this.o=c;", "this.ha=d;this.ga=e;this.v=f;this.$=g;this.R=k(l)?l:g;this.ja=!!r}ab.pr", "ototype.toString=function(){return this.i};var bb={};\nfunction R(a,b,c", ",d,e,f,g,l){if(bb.hasOwnProperty(a))throw Error(\"Function already crea", "ted: \"+a+\".\");bb[a]=new ab(a,b,c,d,!1,e,f,g,l)}R(\"boolean\",2,!1,!1", ",function(a,b){return O(b,a)},1);R(\"ceiling\",1,!1,!1,function(a,b){re", "turn Math.ceil(L(b,a))},1);R(\"concat\",3,!1,!1,function(a,b){return u(", "oa(arguments,1),function(b,d){return b+M(d,a)},\"\")},2,null);R(\"conta", "ins\",2,!1,!1,function(a,b,c){b=M(b,a);a=M(c,a);return-1!=b.indexOf(a)}", ",2);R(\"count\",1,!1,!1,function(a,b){return b.evaluate(a).m()},1,1,!0)", ";\nR(\"false\",2,!1,!1,function(){return!1},0);R(\"floor\",1,!1,!1,func", "tion(a,b){return Math.floor(L(b,a))},1);R(\"id\",4,!1,!1,function(a,b){", "var c=a.l,d=9==c.nodeType?c:c.ownerDocument;a=M(b,a).split(/\\s+/);var ", "e=[];q(a,function(a){a=d.getElementById(a);!a||0<=ka(e,a)||e.push(a)});", "e.sort(Ba);var f=new G;q(e,function(a){f.add(a)});return f},1);R(\"lang", "\",2,!1,!1,function(){return!1},1);R(\"last\",1,!0,!1,function(a){if(1!", "=arguments.length)throw Error(\"Function last expects ()\");return a.j}", ",0);\nR(\"local-name\",3,!1,!0,function(a,b){return(a=b?Pa(b.evaluate(a", ")):a.l)?a.localName||a.nodeName.toLowerCase():\"\"},0,1,!0);R(\"name\",", "3,!1,!0,function(a,b){return(a=b?Pa(b.evaluate(a)):a.l)?a.nodeName.toLo", "werCase():\"\"},0,1,!0);R(\"namespace-uri\",3,!0,!1,function(){return\"", "\"},0,1,!0);R(\"normalize-space\",3,!1,!0,function(a,b){return(b?M(b,a)", ":D(a.l)).replace(/[\\s\\xa0]+/g,\" \").replace(/^\\s+|\\s+$/g,\"\")},0,", "1);R(\"not\",2,!1,!1,function(a,b){return!O(b,a)},1);\nR(\"number\",1,!", "1,!0,function(a,b){return b?L(b,a):+D(a.l)},0,1);R(\"position\",1,!0,!1", ",function(a){return a.ma},0);R(\"round\",1,!1,!1,function(a,b){return M", "ath.round(L(b,a))},1);R(\"starts-with\",2,!1,!1,function(a,b,c){b=M(b,a", ");a=M(c,a);return 0==b.lastIndexOf(a,0)},2);R(\"string\",3,!1,!0,functi", "on(a,b){return b?M(b,a):D(a.l)},0,1);R(\"string-length\",1,!1,!0,functi", "on(a,b){return(b?M(b,a):D(a.l)).length},0,1);\nR(\"substring\",3,!1,!1,", "function(a,b,c,d){c=L(c,a);if(isNaN(c)||Infinity==c||-Infinity==c)retur", "n\"\";d=d?L(d,a):Infinity;if(isNaN(d)||-Infinity===d)return\"\";c=Math.", "round(c)-1;var e=Math.max(c,0);a=M(b,a);return Infinity==d?a.substring(", "e):a.substring(e,c+Math.round(d))},2,3);R(\"substring-after\",3,!1,!1,f", "unction(a,b,c){b=M(b,a);a=M(c,a);c=b.indexOf(a);return-1==c?\"\":b.subs", "tring(c+a.length)},2);\nR(\"substring-before\",3,!1,!1,function(a,b,c){", "b=M(b,a);a=M(c,a);a=b.indexOf(a);return-1==a?\"\":b.substring(0,a)},2);", "R(\"sum\",1,!1,!1,function(a,b){a=b.evaluate(a).iterator();b=0;for(var ", "c=a.next();c;c=a.next())b+=+D(c);return b},1,1,!0);R(\"translate\",3,!1", ",!1,function(a,b,c,d){b=M(b,a);c=M(c,a);var e=M(d,a);d={};for(var f=0;f", "a.length)throw Error(\"Unclosed literal string\");retur", "n new db(a)}\nfunction Bb(a){var b=[];if(kb(C(a.a))){var c=a.a.next();v", "ar d=C(a.a);if(\"/\"==c&&(a.a.empty()||\".\"!=d&&\"..\"!=d&&\"@\"!=d&&", "\"*\"!=d&&!/(?![0-9])[\\w]/.test(d)))return new ib;d=new ib;V(a,\"Missi", "ng next location step.\");c=Cb(a,c);b.push(c)}else{a:{c=C(a.a);d=c.char", "At(0);switch(d){case \"$\":throw Error(\"Variable reference not allowed", " in HTML XPath\");case \"(\":a.a.next();c=wb(a);V(a,'unclosed \"(\"');y", "b(a,\")\");break;case '\"':case \"'\":c=Ab(a);break;default:if(isNaN(+c", "))if(!cb(c)&&/(?![0-9])[\\w]/.test(d)&&\"(\"==C(a.a,\n1)){c=a.a.next();", "c=bb[c]||null;a.a.next();for(d=[];\")\"!=C(a.a);){V(a,\"Missing functio", "n argument list.\");d.push(wb(a));if(\",\"!=C(a.a))break;a.a.next()}V(a", ",\"Unclosed function argument list.\");zb(a);c=new $a(c,d)}else{c=null;", "break a}else c=new fb(+a.a.next())}\"[\"==C(a.a)&&(d=new S(Db(a)),c=new", " Ya(c,d))}if(c)if(kb(C(a.a)))d=c;else return c;else c=Cb(a,\"/\"),d=new", " jb,b.push(c)}for(;kb(C(a.a));)c=a.a.next(),V(a,\"Missing next location", " step.\"),c=Cb(a,c),b.push(c);return new gb(d,b)}\nfunction Cb(a,b){if(", "\"/\"!=b&&\"//\"!=b)throw Error('Step op should be \"/\" or \"//\"');if", "(\".\"==C(a.a)){var c=new T(sb,new H(\"node\"));a.a.next();return c}if(", "\"..\"==C(a.a))return c=new T(rb,new H(\"node\")),a.a.next(),c;if(\"@\"", "==C(a.a)){var d=hb;a.a.next();V(a,\"Missing attribute name\")}else if(", "\"::\"==C(a.a,1)){if(!/(?![0-9])[\\w]/.test(C(a.a).charAt(0)))throw Err", "or(\"Bad token: \"+a.a.next());var e=a.a.next();d=qb[e]||null;if(!d)thr", "ow Error(\"No axis with name: \"+e);a.a.next();V(a,\"Missing node name", "\")}else d=nb;e=\nC(a.a);if(/(?![0-9])[\\w\\*]/.test(e.charAt(0)))if(\"", "(\"==C(a.a,1)){if(!cb(e))throw Error(\"Invalid node type: \"+e);e=a.a.n", "ext();if(!cb(e))throw Error(\"Invalid type name: \"+e);yb(a,\"(\");V(a,", "\"Bad nodetype\");var f=C(a.a).charAt(0),g=null;if('\"'==f||\"'\"==f)g=", "Ab(a);V(a,\"Bad nodetype\");zb(a);e=new H(e,g)}else if(e=a.a.next(),f=e", ".indexOf(\":\"),-1==f)e=new eb(e);else{var g=e.substring(0,f);if(\"*\"=", "=g)var l=\"*\";else if(l=a.ka(g),!l)throw Error(\"Namespace prefix not ", "declared: \"+g);e=e.substr(f+1);e=new eb(e,l)}else throw Error(\"Bad to", "ken: \"+\na.a.next());a=new S(Db(a),d.A);return c||new T(d,e,a,\"//\"==", "b)}function Db(a){for(var b=[];\"[\"==C(a.a);){a.a.next();V(a,\"Missing", " predicate expression.\");var c=wb(a);b.push(c);V(a,\"Unclosed predicat", "e expression.\");yb(a,\"]\")}return b}function xb(a){if(\"-\"==C(a.a))r", "eturn a.a.next(),new tb(xb(a));var b=Bb(a);if(\"|\"!=C(a.a))a=b;else{fo", "r(b=[b];\"|\"==a.a.next();)V(a,\"Missing next union location path.\"),b", ".push(Bb(a));a.a.back();a=new ub(b)}return a};function Eb(a){switch(a.n", "odeType){case 1:return ia(Fb,a);case 9:return Eb(a.documentElement);cas", "e 11:case 10:case 6:case 12:return Gb;default:return a.parentNode?Eb(a.", "parentNode):Gb}}function Gb(){return null}function Fb(a,b){if(a.prefix=", "=b)return a.namespaceURI||\"http://www.w3.org/1999/xhtml\";var c=a.getA", "ttributeNode(\"xmlns:\"+b);return c&&c.specified?c.value||null:a.parent", "Node&&9!=a.parentNode.nodeType?Fb(a.parentNode,b):null};function Hb(a,b", "){if(!a.length)throw Error(\"Empty XPath expression.\");a=Ha(a);if(a.em", "pty())throw Error(\"Invalid XPath expression.\");b?\"function\"==ca(b)|", "|(b=ha(b.lookupNamespaceURI,b)):b=function(){return null};var c=wb(new ", "vb(a,b));if(!a.empty())throw Error(\"Bad token: \"+a.next());this.evalu", "ate=function(a,b){a=c.evaluate(new B(a));return new W(a,b)}}\nfunction ", "W(a,b){if(0==b)if(a instanceof G)b=4;else if(\"string\"==typeof a)b=2;e", "lse if(\"number\"==typeof a)b=1;else if(\"boolean\"==typeof a)b=3;else ", "throw Error(\"Unexpected evaluation result.\");if(2!=b&&1!=b&&3!=b&&!(a", " instanceof G))throw Error(\"value could not be converted to the specif", "ied type\");this.resultType=b;switch(b){case 2:this.stringValue=a insta", "nceof G?Qa(a):\"\"+a;break;case 1:this.numberValue=a instanceof G?+Qa(a", "):+a;break;case 3:this.booleanValue=a instanceof G?0=d.length?null:d[f++]};this.snapshotItem=function(", "a){if(6!=b&&7!=b)throw Error(\"snapshotItem called with wrong result ty", "pe\");return a>=d.length||0>a?null:d[a]}}\nW.ANY_TYPE=0;W.NUMBER_TYPE=1", ";W.STRING_TYPE=2;W.BOOLEAN_TYPE=3;W.UNORDERED_NODE_ITERATOR_TYPE=4;W.OR", "DERED_NODE_ITERATOR_TYPE=5;W.UNORDERED_NODE_SNAPSHOT_TYPE=6;W.ORDERED_N", "ODE_SNAPSHOT_TYPE=7;W.ANY_UNORDERED_NODE_TYPE=8;W.FIRST_ORDERED_NODE_TY", "PE=9;function Ib(a){this.lookupNamespaceURI=Eb(a)}\nba(\"wgxpath.instal", "l\",function(a,b){a=a||aa;var c=a.Document&&a.Document.prototype||a.doc", "ument;if(!c.evaluate||b)a.XPathResult=W,c.evaluate=function(a,b,c,g){re", "turn(new Hb(a,c)).evaluate(b,g)},c.createExpression=function(a,b){retur", "n new Hb(a,b)},c.createNSResolver=function(a){return new Ib(a)}});var J", "b=function(){var a={qa:\"http://www.w3.org/2000/svg\"};return function(", "b){return a[b]||null}}();\nfunction Kb(a,b){var c=z(a);if(!c.documentEl", "ement)return null;try{for(var d=c.createNSResolver?c.createNSResolver(c", ".documentElement):Jb,e={},f=c.getElementsByTagName(\"*\"),g=0;g=this.left&&a.r", "ight<=this.right&&a.top>=this.top&&a.bottom<=this.bottom:a.x>=this.left", "&&a.x<=this.right&&a.y>=this.top&&a.y<=this.bottom:!1};\nh.expand=funct", "ion(a,b,c,d){ea(a)?(this.top-=a.top,this.right+=a.right,this.bottom+=a.", "bottom,this.left-=a.left):(this.top-=a,this.right+=Number(b),this.botto", "m+=Number(c),this.left-=Number(d));return this};h.ceil=function(){this.", "top=Math.ceil(this.top);this.right=Math.ceil(this.right);this.bottom=Ma", "th.ceil(this.bottom);this.left=Math.ceil(this.left);return this};\nh.fl", "oor=function(){this.top=Math.floor(this.top);this.right=Math.floor(this", ".right);this.bottom=Math.floor(this.bottom);this.left=Math.floor(this.l", "eft);return this};h.round=function(){this.top=Math.round(this.top);this", ".right=Math.round(this.right);this.bottom=Math.round(this.bottom);this.", "left=Math.round(this.left);return this};h.translate=function(a,b){a ins", "tanceof y?(this.left+=a.x,this.right+=a.x,this.top+=a.y,this.bottom+=a.", "y):(this.left+=a,this.right+=a,n(b)&&(this.top+=b,this.bottom+=b));retu", "rn this};\nh.scale=function(a,b){b=n(b)?b:a;this.left*=a;this.right*=a;", "this.top*=b;this.bottom*=b;return this};function X(a,b,c,d){this.left=a", ";this.top=b;this.width=c;this.height=d}h=X.prototype;h.clone=function()", "{return new X(this.left,this.top,this.width,this.height)};h.toString=fu", "nction(){return\"(\"+this.left+\", \"+this.top+\" - \"+this.width+\"w x", " \"+this.height+\"h)\"};h.contains=function(a){return a instanceof y?a.", "x>=this.left&&a.x<=this.left+this.width&&a.y>=this.top&&a.y<=this.top+t", "his.height:this.left<=a.left&&this.left+this.width>=a.left+a.width&&thi", "s.top<=a.top&&this.top+this.height>=a.top+a.height};\nh.ceil=function()", "{this.left=Math.ceil(this.left);this.top=Math.ceil(this.top);this.width", "=Math.ceil(this.width);this.height=Math.ceil(this.height);return this};", "h.floor=function(){this.left=Math.floor(this.left);this.top=Math.floor(", "this.top);this.width=Math.floor(this.width);this.height=Math.floor(this", ".height);return this};h.round=function(){this.left=Math.round(this.left", ");this.top=Math.round(this.top);this.width=Math.round(this.width);this.", "height=Math.round(this.height);return this};\nh.translate=function(a,b)", "{a instanceof y?(this.left+=a.x,this.top+=a.y):(this.left+=a,n(b)&&(thi", "s.top+=b));return this};h.scale=function(a,b){b=n(b)?b:a;this.left*=a;t", "his.width*=a;this.top*=b;this.height*=b;return this};var Nb=\"function", "\"===typeof ShadowRoot;function Ob(a){for(a=a.parentNode;a&&1!=a.nodeTy", "pe&&9!=a.nodeType&&11!=a.nodeType;)a=a.parentNode;return A(a)?a:null}\n", "function Y(a,b){b=ja(b);if(\"float\"==b||\"cssFloat\"==b||\"styleFloat", "\"==b)b=\"cssFloat\";a:{var c=b;var d=z(a);if(d.defaultView&&d.defaultV", "iew.getComputedStyle&&(d=d.defaultView.getComputedStyle(a,null))){c=d[c", "]||d.getPropertyValue(c)||\"\";break a}c=\"\"}a=c||Pb(a,b);if(null===a)", "a=null;else if(0<=ka(qa,b)){b:{var e=a.match(ta);if(e&&(b=Number(e[1]),", "c=Number(e[2]),d=Number(e[3]),e=Number(e[4]),0<=b&&255>=b&&0<=c&&255>=c", "&&0<=d&&255>=d&&0<=e&&1>=e)){b=[b,c,d,e];break b}b=null}if(!b)b:{if(d=a", ".match(ua))if(b=Number(d[1]),\nc=Number(d[2]),d=Number(d[3]),0<=b&&255>", "=b&&0<=c&&255>=c&&0<=d&&255>=d){b=[b,c,d,1];break b}b=null}if(!b)b:{b=a", ".toLowerCase();c=pa[b.toLowerCase()];if(!c&&(c=\"#\"==b.charAt(0)?b:\"#", "\"+b,4==c.length&&(c=c.replace(ra,\"#$1$1$2$2$3$3\")),!sa.test(c))){b=n", "ull;break b}b=[parseInt(c.substr(1,2),16),parseInt(c.substr(3,2),16),pa", "rseInt(c.substr(5,2),16),1]}a=b?\"rgba(\"+b.join(\", \")+\")\":a}return", " a}\nfunction Pb(a,b){var c=a.currentStyle||a.style,d=c[b];!k(d)&&\"fun", "ction\"==ca(c.getPropertyValue)&&(d=c.getPropertyValue(b));return\"inhe", "rit\"!=d?k(d)?d:null:(a=Ob(a))?Pb(a,b):null}\nfunction Qb(a,b,c){functi", "on d(a){var b=Rb(a);return 0=x.left+x.width;x=e.top>=x.top+x.height;if(E&&", "\"hidden\"==t.x||x&&\"hidden\"==t.y)return Z;if(E&&\"visible\"!=t.x||x&", "&\"visible\"!=t.y){if(J&&(t=d(a),e.left>=g.scrollWidth-t.x||e.right>=g.", "scrollHeight-t.y))return Z;e=Sb(a);return e==Z?Z:\"scroll\"}}}return\"n", "one\"}\nfunction Rb(a){var b=Tb(a);if(b)return b.rect;if(A(a,\"HTML\"))", "return a=z(a),a=((a?a.parentWindow||a.defaultView:window)||window).docu", "ment,a=\"CSS1Compat\"==a.compatMode?a.documentElement:a.body,a=new xa(a", ".clientWidth,a.clientHeight),new X(0,0,a.width,a.height);try{var c=a.ge", "tBoundingClientRect()}catch(d){return new X(0,0,0,0)}return new X(c.lef", "t,c.top,c.right-c.left,c.bottom-c.top)}\nfunction Tb(a){var b=A(a,\"MAP", "\");if(!b&&!A(a,\"AREA\"))return null;var c=b?a:A(a.parentNode,\"MAP\")", "?a.parentNode:null,d=null,e=null;c&&c.name&&(d=Lb('/descendant::*[@usem", "ap = \"#'+c.name+'\"]',z(c)))&&(e=Rb(d),b||\"default\"==a.shape.toLower", "Case()||(a=Wb(a),b=Math.min(Math.max(a.left,0),e.width),c=Math.min(Math", ".max(a.top,0),e.height),e=new X(b+e.left,c+e.top,Math.min(a.width,e.wid", "th-b),Math.min(a.height,e.height-c))));return{X:d,rect:e||new X(0,0,0,0", ")}}\nfunction Wb(a){var b=a.shape.toLowerCase();a=a.coords.split(\",\")", ";if(\"rect\"==b&&4==a.length){var b=a[0],c=a[1];return new X(b,c,a[2]-b", ",a[3]-c)}if(\"circle\"==b&&3==a.length)return b=a[2],new X(a[0]-b,a[1]-", "b,2*b,2*b);if(\"poly\"==b&&2=arguments.length?Array.prototype.slice.c", "all(a,b):Array.prototype.slice.call(a,b,c)};function ja(a){for(;a&&1!=a", ".nodeType;)a=a.previousSibling;return a}function ka(a,b){if(!a||!b)retu", "rn!1;if(a.contains&&1==b.nodeType)return a==b||a.contains(b);if(\"undef", "ined\"!=typeof a.compareDocumentPosition)return a==b||!!(a.compareDocum", "entPosition(b)&16);for(;b&&a!=b;)b=b.parentNode;return b==a}\nfunction ", "la(a,b){if(a==b)return 0;if(a.compareDocumentPosition)return a.compareD", "ocumentPosition(b)&2?1:-1;if(\"sourceIndex\"in a||a.parentNode&&\"sourc", "eIndex\"in a.parentNode){var c=1==a.nodeType,d=1==b.nodeType;if(c&&d)re", "turn a.sourceIndex-b.sourceIndex;var e=a.parentNode,f=b.parentNode;retu", "rn e==f?na(a,b):!c&&ka(e,b)?-1*oa(a,b):!d&&ka(f,a)?oa(b,a):(c?a.sourceI", "ndex:e.sourceIndex)-(d?b.sourceIndex:f.sourceIndex)}d=9==a.nodeType?a:a", ".ownerDocument||a.document;c=d.createRange();c.selectNode(a);c.collapse", "(!0);\na=d.createRange();a.selectNode(b);a.collapse(!0);return c.compar", "eBoundaryPoints(aa.Range.START_TO_END,a)}function oa(a,b){var c=a.paren", "tNode;if(c==b)return-1;for(;b.parentNode!=c;)b=b.parentNode;return na(b", ",a)}function na(a,b){for(;b=b.previousSibling;)if(b==a)return-1;return ", "1}function pa(a,b){for(var c=0;a;){if(b(a))return a;a=a.parentNode;c++}", "return null};function r(a,b){b&&\"string\"!==typeof b&&(b=b.toString())", ";return!!a&&1==a.nodeType&&(!b||a.tagName.toUpperCase()==b)};/*\n\n The", " MIT License\n\n Copyright (c) 2007 Cybozu Labs, Inc.\n Copyright (c) 2", "012 Google Inc.\n\n Permission is hereby granted, free of charge, to an", "y person obtaining a copy\n of this software and associated documentati", "on files (the \"Software\"), to\n deal in the Software without restrict", "ion, including without limitation the\n rights to use, copy, modify, me", "rge, publish, distribute, sublicense, and/or\n sell copies of the Softw", "are, and to permit persons to whom the Software is\n furnished to do so", ", subject to the following conditions:\n\n The above copyright notice a", "nd this permission notice shall be included in\n all copies or substant", "ial portions of the Software.\n\n THE SOFTWARE IS PROVIDED \"AS IS\", W", "ITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n IMPLIED, INCLUDING BUT NOT LI", "MITED TO THE WARRANTIES OF MERCHANTABILITY,\n FITNESS FOR A PARTICULAR ", "PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n AUTHORS OR COPYRIG", "HT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n LIABILITY, WHETH", "ER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING\n FROM, OUT OF ", "OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS\n IN TH", "E SOFTWARE.\n*/\nfunction t(a,b,c){this.l=a;this.ka=b||1;this.j=c||1};f", "unction u(a){this.S=a;this.I=0}function qa(a){a=a.match(ra);for(var b=0", ";b]=|", "\\s+|./g,sa=/^\\s/;function v(a,b){return a.S[a.I+(b||0)]}u.prototype.n", "ext=function(){return this.S[this.I++]};u.prototype.back=function(){thi", "s.I--};u.prototype.empty=function(){return this.S.length<=this.I};funct", "ion x(a){var b=null,c=a.nodeType;1==c&&(b=a.textContent,b=void 0==b||nu", "ll==b?a.innerText:b,b=void 0==b||null==b?\"\":b);if(\"string\"!=typeof ", "b)if(9==c||1==c){a=9==c?a.documentElement:a.firstChild;for(var c=0,d=[]", ",b=\"\";a;){do 1!=a.nodeType&&(b+=a.nodeValue),d[c++]=a;while(a=a.first", "Child);for(;c&&!(a=d[--c].nextSibling););}}else b=a.nodeValue;return\"", "\"+b}\nfunction y(a,b,c){if(null===b)return!0;try{if(!a.getAttribute)re", "turn!1}catch(d){return!1}return null==c?!!a.getAttribute(b):a.getAttrib", "ute(b,2)==c}function z(a,b,c,d,e){return ta.call(null,a,b,h(c)?c:null,h", "(d)?d:null,e||new A)}\nfunction ta(a,b,c,d,e){b.getElementsByName&&d&&", "\"name\"==c?(b=b.getElementsByName(d),n(b,function(b){a.matches(b)&&e.a", "dd(b)})):b.getElementsByClassName&&d&&\"class\"==c?(b=b.getElementsByCl", "assName(d),n(b,function(b){b.className==d&&a.matches(b)&&e.add(b)})):a ", "instanceof B?ua(a,b,c,d,e):b.getElementsByTagName&&(b=b.getElementsByTa", "gName(a.getName()),n(b,function(a){y(a,c,d)&&e.add(a)}));return e}funct", "ion ua(a,b,c,d,e){for(b=b.firstChild;b;b=b.nextSibling)y(b,c,d)&&a.matc", "hes(b)&&e.add(b),ua(a,b,c,d,e)};function A(){this.j=this.g=null;this.D=", "0}function va(a){this.node=a;this.next=this.w=null}function wa(a,b){if(", "!a.g)return b;if(!b.g)return a;var c=a.g;b=b.g;for(var d=null,e,f=0;c&&", "b;)c.node==b.node?(e=c,c=c.next,b=b.next):0\",4,2,function(a,b,c){return J(function(a,b){return a>b},a,b,c)", "});K(\"<=\",4,2,function(a,b,c){return J(function(a,b){return a<=b},a,b", ",c)});K(\">=\",4,2,function(a,b,c){return J(function(a,b){return a>=b},", "a,b,c)});var Aa=K(\"=\",3,2,function(a,b,c){return J(function(a,b){retu", "rn a==b},a,b,c,!0)});K(\"!=\",3,2,function(a,b,c){return J(function(a,b", "){return a!=b},a,b,c,!0)});K(\"and\",2,2,function(a,b,c){return H(a,c)&", "&H(b,c)});K(\"or\",1,2,function(a,b,c){return H(a,c)||H(b,c)});function", " L(a,b){if(b.m()&&4!=a.f)throw Error(\"Primary expression must evaluate", " to nodeset if filter has predicate(s).\");m.call(this,a.f);this.$=a;th", "is.b=b;this.o=a.c();this.h=a.h}k(L);L.prototype.evaluate=function(a){a=", "this.$.evaluate(a);return Da(this.b,a)};L.prototype.toString=function()", "{var a=\"Filter:\"+E(this.$);return a+=E(this.b)};function M(a,b){if(b.", "lengtha.P)throw Err", "or(\"Function \"+a.i+\" expects at most \"+a.P+\" arguments, \"+b.lengt", "h+\" given\");a.ha&&n(b,function(b,d){if(4!=b.f)throw Error(\"Argument ", "\"+d+\" to function \"+a.i+\" is not of type Nodeset: \"+b);});m.call(t", "his,a.f);this.H=a;this.M=b;ya(this,a.o||q(b,function(a){return a.c()}))", ";za(this,a.fa&&!b.length||a.ea&&!!b.length||q(b,function(a){return a.h}", "))}k(M);\nM.prototype.evaluate=function(a){return this.H.v.apply(null,h", "a(a,this.M))};M.prototype.toString=function(){var a=\"Function: \"+this", ".H;if(this.M.length)var b=p(this.M,function(a,b){return a+E(b)},\"Argum", "ents:\"),a=a+E(b);return a};function Ea(a,b,c,d,e,f,g,l,w){this.i=a;thi", "s.f=b;this.o=c;this.fa=d;this.ea=e;this.v=f;this.Y=g;this.P=void 0!==l?", "l:g;this.ha=!!w}Ea.prototype.toString=function(){return this.i};var Fa=", "{};\nfunction N(a,b,c,d,e,f,g,l){if(Fa.hasOwnProperty(a))throw Error(\"", "Function already created: \"+a+\".\");Fa[a]=new Ea(a,b,c,d,!1,e,f,g,l)}", "N(\"boolean\",2,!1,!1,function(a,b){return H(b,a)},1);N(\"ceiling\",1,!", "1,!1,function(a,b){return Math.ceil(F(b,a))},1);N(\"concat\",3,!1,!1,fu", "nction(a,b){return p(ia(arguments,1),function(b,d){return b+G(d,a)},\"", "\")},2,null);N(\"contains\",2,!1,!1,function(a,b,c){b=G(b,a);a=G(c,a);r", "eturn-1!=b.indexOf(a)},2);N(\"count\",1,!1,!1,function(a,b){return b.ev", "aluate(a).m()},1,1,!0);\nN(\"false\",2,!1,!1,function(){return!1},0);N(", "\"floor\",1,!1,!1,function(a,b){return Math.floor(F(b,a))},1);N(\"id\",", "4,!1,!1,function(a,b){var c=a.l,d=9==c.nodeType?c:c.ownerDocument;a=G(b", ",a).split(/\\s+/);var e=[];n(a,function(a){a=d.getElementById(a);var b;", "if(!(b=!a)){a:if(h(e))b=h(a)&&1==a.length?e.indexOf(a,0):-1;else{for(b=", "0;ba.length)throw Er", "ror(\"Unclosed literal string\");return new O(a)}\nfunction Ya(a){var b", "=[];if(Ia(v(a.a))){var c=a.a.next();var d=v(a.a);if(\"/\"==c&&(a.a.empt", "y()||\".\"!=d&&\"..\"!=d&&\"@\"!=d&&\"*\"!=d&&!/(?![0-9])[\\w]/.test(d)", "))return new S;d=new S;Y(a,\"Missing next location step.\");c=Za(a,c);b", ".push(c)}else{a:{c=v(a.a);d=c.charAt(0);switch(d){case \"$\":throw Erro", "r(\"Variable reference not allowed in HTML XPath\");case \"(\":a.a.next", "();c=Ta(a);Y(a,'unclosed \"(\"');Va(a,\")\");break;case '\"':case \"'\"", ":c=Xa(a);break;default:if(isNaN(+c))if(!Ga(c)&&/(?![0-9])[\\w]/.test(d)", "&&\"(\"==v(a.a,\n1)){c=a.a.next();c=Fa[c]||null;a.a.next();for(d=[];\")", "\"!=v(a.a);){Y(a,\"Missing function argument list.\");d.push(Ta(a));if(", "\",\"!=v(a.a))break;a.a.next()}Y(a,\"Unclosed function argument list.\"", ");Wa(a);c=new M(c,d)}else{c=null;break a}else c=new Q(+a.a.next())}\"[", "\"==v(a.a)&&(d=new U($a(a)),c=new L(c,d))}if(c)if(Ia(v(a.a)))d=c;else r", "eturn c;else c=Za(a,\"/\"),d=new T,b.push(c)}for(;Ia(v(a.a));)c=a.a.nex", "t(),Y(a,\"Missing next location step.\"),c=Za(a,c),b.push(c);return new", " R(d,b)}\nfunction Za(a,b){if(\"/\"!=b&&\"//\"!=b)throw Error('Step op ", "should be \"/\" or \"//\"');if(\".\"==v(a.a)){var c=new V(Qa,new B(\"no", "de\"));a.a.next();return c}if(\"..\"==v(a.a))return c=new V(Pa,new B(\"", "node\")),a.a.next(),c;if(\"@\"==v(a.a)){var d=Ha;a.a.next();Y(a,\"Missi", "ng attribute name\")}else if(\"::\"==v(a.a,1)){if(!/(?![0-9])[\\w]/.tes", "t(v(a.a).charAt(0)))throw Error(\"Bad token: \"+a.a.next());var e=a.a.n", "ext();d=Oa[e]||null;if(!d)throw Error(\"No axis with name: \"+e);a.a.ne", "xt();Y(a,\"Missing node name\")}else d=La;e=\nv(a.a);if(/(?![0-9])[\\w", "\\*]/.test(e.charAt(0)))if(\"(\"==v(a.a,1)){if(!Ga(e))throw Error(\"Inv", "alid node type: \"+e);e=a.a.next();if(!Ga(e))throw Error(\"Invalid type", " name: \"+e);Va(a,\"(\");Y(a,\"Bad nodetype\");var f=v(a.a).charAt(0),g", "=null;if('\"'==f||\"'\"==f)g=Xa(a);Y(a,\"Bad nodetype\");Wa(a);e=new B(", "e,g)}else if(e=a.a.next(),f=e.indexOf(\":\"),-1==f)e=new P(e);else{var ", "g=e.substring(0,f);if(\"*\"==g)var l=\"*\";else if(l=a.ia(g),!l)throw E", "rror(\"Namespace prefix not declared: \"+g);e=e.substr(f+1);e=new P(e,l", ")}else throw Error(\"Bad token: \"+\na.a.next());a=new U($a(a),d.A);ret", "urn c||new V(d,e,a,\"//\"==b)}function $a(a){for(var b=[];\"[\"==v(a.a)", ";){a.a.next();Y(a,\"Missing predicate expression.\");var c=Ta(a);b.push", "(c);Y(a,\"Unclosed predicate expression.\");Va(a,\"]\")}return b}functi", "on Ua(a){if(\"-\"==v(a.a))return a.a.next(),new X(Ua(a));var b=Ya(a);if", "(\"|\"!=v(a.a))a=b;else{for(b=[b];\"|\"==a.a.next();)Y(a,\"Missing next", " union location path.\"),b.push(Ya(a));a.a.back();a=new Ra(b)}return a}", ";function ab(a){switch(a.nodeType){case 1:return ga(bb,a);case 9:return", " ab(a.documentElement);case 11:case 10:case 6:case 12:return cb;default", ":return a.parentNode?ab(a.parentNode):cb}}function cb(){return null}fun", "ction bb(a,b){if(a.prefix==b)return a.namespaceURI||\"http://www.w3.org", "/1999/xhtml\";var c=a.getAttributeNode(\"xmlns:\"+b);return c&&c.specif", "ied?c.value||null:a.parentNode&&9!=a.parentNode.nodeType?bb(a.parentNod", "e,b):null};function eb(a,b){if(!a.length)throw Error(\"Empty XPath expr", "ession.\");a=qa(a);if(a.empty())throw Error(\"Invalid XPath expression.", "\");b?\"function\"==ca(b)||(b=fa(b.lookupNamespaceURI,b)):b=function(){", "return null};var c=Ta(new Sa(a,b));if(!a.empty())throw Error(\"Bad toke", "n: \"+a.next());this.evaluate=function(a,b){a=c.evaluate(new t(a));retu", "rn new Z(a,b)}}\nfunction Z(a,b){if(0==b)if(a instanceof A)b=4;else if(", "\"string\"==typeof a)b=2;else if(\"number\"==typeof a)b=1;else if(\"boo", "lean\"==typeof a)b=3;else throw Error(\"Unexpected evaluation result.\"", ");if(2!=b&&1!=b&&3!=b&&!(a instanceof A))throw Error(\"value could not ", "be converted to the specified type\");this.resultType=b;switch(b){case ", "2:this.stringValue=a instanceof A?D(a):\"\"+a;break;case 1:this.numberV", "alue=a instanceof A?+D(a):+a;break;case 3:this.booleanValue=a instanceo", "f A?0=d.length?null:d[f++]};this", ".snapshotItem=function(a){if(6!=b&&7!=b)throw Error(\"snapshotItem call", "ed with wrong result type\");return a>=d.length||0>a?null:d[a]}}\nZ.ANY", "_TYPE=0;Z.NUMBER_TYPE=1;Z.STRING_TYPE=2;Z.BOOLEAN_TYPE=3;Z.UNORDERED_NO", "DE_ITERATOR_TYPE=4;Z.ORDERED_NODE_ITERATOR_TYPE=5;Z.UNORDERED_NODE_SNAP", "SHOT_TYPE=6;Z.ORDERED_NODE_SNAPSHOT_TYPE=7;Z.ANY_UNORDERED_NODE_TYPE=8;", "Z.FIRST_ORDERED_NODE_TYPE=9;function fb(a){this.lookupNamespaceURI=ab(a", ")}\nba(\"wgxpath.install\",function(a,b){a=a||aa;var c=a.Document&&a.Do", "cument.prototype||a.document;if(!c.evaluate||b)a.XPathResult=Z,c.evalua", "te=function(a,b,c,g){return(new eb(a,c)).evaluate(b,g)},c.createExpress", "ion=function(a,b){return new eb(a,b)},c.createNSResolver=function(a){re", "turn new fb(a)}});var gb=\"BUTTON INPUT OPTGROUP OPTION SELECT TEXTAREA", "\".split(\" \");function hb(a){return q(gb,function(b){return r(a,b)})?", "a.disabled?!1:a.parentNode&&1==a.parentNode.nodeType&&r(a,\"OPTGROUP\")", "||r(a,\"OPTION\")?hb(a.parentNode):!pa(a,function(a){var b=a.parentNode", ";if(b&&r(b,\"FIELDSET\")&&b.disabled){if(!r(a,\"LEGEND\"))return!0;for(", ";a=void 0!==a.previousElementSibling?a.previousElementSibling:ja(a.prev", "iousSibling);)if(r(a,\"LEGEND\"))return!0}return!1}):!0};ba(\"_\",hb);;", " return this._.apply(null,arguments);}.apply({navigator:typeof window!=", "'undefined'?window.navigator:null,document:typeof window!='undefined'?w", "indow.document:null}, arguments);}", NULL }; const char* const SUBMIT[] = { "function(){return function(){var f,k=this;function l(a){return\"string", "\"==typeof a}function aa(a,b){a=a.split(\".\");var c=k;a[0]in c||!c.exe", "cScript||c.execScript(\"var \"+a[0]);for(var d;a.length&&(d=a.shift());", ")a.length||void 0===b?c=c[d]&&c[d]!==Object.prototype[d]?c[d]:c[d]={}:c", "[d]=b}\nfunction ba(a){var b=typeof a;if(\"object\"==b)if(a){if(a insta", "nceof Array)return\"array\";if(a instanceof Object)return b;var c=Objec", "t.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.prope", "rtyIsEnumerable(\"splice\"))return\"array\";if(\"[object Function]\"==c", "||\"undefined\"!=typeof a.call&&\"undefined\"!=typeof a.propertyIsEnume", "rable&&!a.propertyIsEnumerable(\"call\"))return\"function\"}else return", "\"null\";\nelse if(\"function\"==b&&\"undefined\"==typeof a.call)return", "\"object\";return b}function ca(a,b,c){return a.call.apply(a.bind,argum", "ents)}function da(a,b,c){if(!a)throw Error();if(2b?1:0};function p(a,b){for(var c=a.length,d=l(a)?a.split(\"\")", ":a,e=0;e=arguments.l", "ength?Array.prototype.slice.call(a,b):Array.prototype.slice.call(a,b,c)", "};function t(a,b){this.code=a;this.state=u[a]||v;this.message=b||\"\";a", "=this.state.replace(/((?:^|\\s+)[a-z])/g,function(a){return a.toUpperCa", "se().replace(/^[\\s\\xa0]+/g,\"\")});b=a.length-5;if(0>b||a.indexOf(\"E", "rror\",b)!=b)a+=\"Error\";this.name=a;a=Error(this.message);a.name=this", ".name;this.stack=a.stack||\"\"}n(t,Error);var v=\"unknown error\",u={15", ":\"element not selectable\",11:\"element not visible\"};u[31]=v;u[30]=v", ";u[24]=\"invalid cookie domain\";u[29]=\"invalid element coordinates\";", "u[12]=\"invalid element state\";\nu[32]=\"invalid selector\";u[51]=\"in", "valid selector\";u[52]=\"invalid selector\";u[17]=\"javascript error\";", "u[405]=\"unsupported operation\";u[34]=\"move target out of bounds\";u[", "27]=\"no such alert\";u[7]=\"no such element\";u[8]=\"no such frame\";u", "[23]=\"no such window\";u[28]=\"script timeout\";u[33]=\"session not cr", "eated\";u[10]=\"stale element reference\";u[21]=\"timeout\";u[25]=\"una", "ble to set cookie\";u[26]=\"unexpected alert open\";u[13]=v;u[9]=\"unkn", "own command\";t.prototype.toString=function(){return this.name+\": \"+t", "his.message};var w;a:{var la=k.navigator;if(la){var ma=la.userAgent;if(", "ma){w=ma;break a}}w=\"\"};function na(a){var b=oa;Object.prototype.hasO", "wnProperty.call(b,\"528\")||(b[\"528\"]=a(\"528\"))};var pa=-1!=w.index", "Of(\"Macintosh\"),qa=-1!=w.indexOf(\"Windows\"),ra,sa=\"\",ta=/WebKit", "\\/(\\S+)/.exec(w);ta&&(sa=ta?ta[1]:\"\");ra=sa;var oa={};\nfunction ua", "(){na(function(){for(var a=0,b=ha(String(ra)).split(\".\"),c=ha(\"528\"", ").split(\".\"),d=Math.max(b.length,c.length),e=0;0==a&&e]=|\\s+|./g,F", "a=/^\\s/;function A(a,b){return a.Y[a.N+(b||0)]}Ca.prototype.next=funct", "ion(){return this.Y[this.N++]};Ca.prototype.back=function(){this.N--};C", "a.prototype.empty=function(){return this.Y.length<=this.N};function B(a", "){var b=null,c=a.nodeType;1==c&&(b=a.textContent,b=void 0==b||null==b?a", ".innerText:b,b=void 0==b||null==b?\"\":b);if(\"string\"!=typeof b)if(9=", "=c||1==c){a=9==c?a.documentElement:a.firstChild;for(var c=0,d=[],b=\"\"", ";a;){do 1!=a.nodeType&&(b+=a.nodeValue),d[c++]=a;while(a=a.firstChild);", "for(;c&&!(a=d[--c].nextSibling););}}else b=a.nodeValue;return\"\"+b}\nf", "unction C(a,b,c){if(null===b)return!0;try{if(!a.getAttribute)return!1}c", "atch(d){return!1}return null==c?!!a.getAttribute(b):a.getAttribute(b,2)", "==c}function D(a,b,c,d,e){return Ga.call(null,a,b,l(c)?c:null,l(d)?d:nu", "ll,e||new E)}\nfunction Ga(a,b,c,d,e){b.getElementsByName&&d&&\"name\"=", "=c?(b=b.getElementsByName(d),p(b,function(b){a.matches(b)&&e.add(b)})):", "b.getElementsByClassName&&d&&\"class\"==c?(b=b.getElementsByClassName(d", "),p(b,function(b){b.className==d&&a.matches(b)&&e.add(b)})):a instanceo", "f F?Ha(a,b,c,d,e):b.getElementsByTagName&&(b=b.getElementsByTagName(a.g", "etName()),p(b,function(a){C(a,c,d)&&e.add(a)}));return e}function Ha(a,", "b,c,d,e){for(b=b.firstChild;b;b=b.nextSibling)C(b,c,d)&&a.matches(b)&&e", ".add(b),Ha(a,b,c,d,e)};function E(){this.o=this.j=null;this.J=0}functio", "n Ia(a){this.node=a;this.next=this.F=null}function Ja(a,b){if(!a.j)retu", "rn b;if(!b.j)return a;var c=a.j;b=b.j;for(var d=null,e,g=0;c&&b;)c.node", "==b.node?(e=c,c=c.next,b=b.next):0\",4,2,function(a,b,c){return M(function(a,b){return a>b},a,b,", "c)});N(\"<=\",4,2,function(a,b,c){return M(function(a,b){return a<=b},a", ",b,c)});N(\">=\",4,2,function(a,b,c){return M(function(a,b){return a>=b", "},a,b,c)});var Pa=N(\"=\",3,2,function(a,b,c){return M(function(a,b){re", "turn a==b},a,b,c,!0)});N(\"!=\",3,2,function(a,b,c){return M(function(a", ",b){return a!=b},a,b,c,!0)});N(\"and\",2,2,function(a,b,c){return K(a,c", ")&&K(b,c)});N(\"or\",1,2,function(a,b,c){return K(a,c)||K(b,c)});functi", "on Sa(a,b){if(b.u()&&4!=a.i)throw Error(\"Primary expression must evalu", "ate to nodeset if filter has predicate(s).\");G.call(this,a.i);this.ga=", "a;this.f=b;this.w=a.h();this.l=a.l}n(Sa,G);Sa.prototype.evaluate=functi", "on(a){a=this.ga.evaluate(a);return Ta(this.f,a)};Sa.prototype.toString=", "function(){var a=\"Filter:\"+H(this.ga);return a+=H(this.f)};function U", "a(a,b){if(b.lengtha.W)throw Error(\"Function \"+a.m+\" expects at most \"+a.W+\" argumen", "ts, \"+b.length+\" given\");a.ra&&p(b,function(b,d){if(4!=b.i)throw Err", "or(\"Argument \"+d+\" to function \"+a.m+\" is not of type Nodeset: \"+", "b);});G.call(this,a.i);this.M=a;this.S=b;Na(this,a.w||r(b,function(a){r", "eturn a.h()}));Oa(this,a.pa&&!b.length||a.oa&&!!b.length||r(b,function(", "a){return a.l}))}\nn(Ua,G);Ua.prototype.evaluate=function(a){return thi", "s.M.D.apply(null,ja(a,this.S))};Ua.prototype.toString=function(){var a=", "\"Function: \"+this.M;if(this.S.length)var b=q(this.S,function(a,b){ret", "urn a+H(b)},\"Arguments:\"),a=a+H(b);return a};function Va(a,b,c,d,e,g,", "h,m,z){this.m=a;this.i=b;this.w=c;this.pa=d;this.oa=e;this.D=g;this.ea=", "h;this.W=void 0!==m?m:h;this.ra=!!z}Va.prototype.toString=function(){re", "turn this.m};var Wa={};\nfunction O(a,b,c,d,e,g,h,m){if(Wa.hasOwnProper", "ty(a))throw Error(\"Function already created: \"+a+\".\");Wa[a]=new Va(", "a,b,c,d,!1,e,g,h,m)}O(\"boolean\",2,!1,!1,function(a,b){return K(b,a)},", "1);O(\"ceiling\",1,!1,!1,function(a,b){return Math.ceil(I(b,a))},1);O(", "\"concat\",3,!1,!1,function(a,b){return q(ka(arguments,1),function(b,d)", "{return b+J(d,a)},\"\")},2,null);O(\"contains\",2,!1,!1,function(a,b,c)", "{b=J(b,a);a=J(c,a);return-1!=b.indexOf(a)},2);O(\"count\",1,!1,!1,funct", "ion(a,b){return b.evaluate(a).u()},1,1,!0);\nO(\"false\",2,!1,!1,functi", "on(){return!1},0);O(\"floor\",1,!1,!1,function(a,b){return Math.floor(I", "(b,a))},1);O(\"id\",4,!1,!1,function(a,b){var c=a.s,d=9==c.nodeType?c:c", ".ownerDocument;a=J(b,a).split(/\\s+/);var e=[];p(a,function(a){a=d.getE", "lementById(a);var b;if(!(b=!a)){a:if(l(e))b=l(a)&&1==a.length?e.indexOf", "(a,0):-1;else{for(b=0;ba.length)throw Error", "(\"Unclosed literal string\");return new Ya(a)}\nfunction tb(a){var b=[", "];if(cb(A(a.a))){var c=a.a.next();var d=A(a.a);if(\"/\"==c&&(a.a.empty(", ")||\".\"!=d&&\"..\"!=d&&\"@\"!=d&&\"*\"!=d&&!/(?![0-9])[\\w]/.test(d)))", "return new Q;d=new Q;U(a,\"Missing next location step.\");c=ub(a,c);b.p", "ush(c)}else{a:{c=A(a.a);d=c.charAt(0);switch(d){case \"$\":throw Error(", "\"Variable reference not allowed in HTML XPath\");case \"(\":a.a.next()", ";c=ob(a);U(a,'unclosed \"(\"');qb(a,\")\");break;case '\"':case \"'\":c", "=sb(a);break;default:if(isNaN(+c))if(!Xa(c)&&/(?![0-9])[\\w]/.test(d)&&", "\"(\"==A(a.a,\n1)){c=a.a.next();c=Wa[c]||null;a.a.next();for(d=[];\")\"", "!=A(a.a);){U(a,\"Missing function argument list.\");d.push(ob(a));if(\"", ",\"!=A(a.a))break;a.a.next()}U(a,\"Unclosed function argument list.\");", "rb(a);c=new Ua(c,d)}else{c=null;break a}else c=new Za(+a.a.next())}\"[", "\"==A(a.a)&&(d=new R(vb(a)),c=new Sa(c,d))}if(c)if(cb(A(a.a)))d=c;else ", "return c;else c=ub(a,\"/\"),d=new bb,b.push(c)}for(;cb(A(a.a));)c=a.a.n", "ext(),U(a,\"Missing next location step.\"),c=ub(a,c),b.push(c);return n", "ew $a(d,b)}\nfunction ub(a,b){if(\"/\"!=b&&\"//\"!=b)throw Error('Step ", "op should be \"/\" or \"//\"');if(\".\"==A(a.a)){var c=new S(kb,new F(", "\"node\"));a.a.next();return c}if(\"..\"==A(a.a))return c=new S(jb,new ", "F(\"node\")),a.a.next(),c;if(\"@\"==A(a.a)){var d=ab;a.a.next();U(a,\"M", "issing attribute name\")}else if(\"::\"==A(a.a,1)){if(!/(?![0-9])[\\w]/", ".test(A(a.a).charAt(0)))throw Error(\"Bad token: \"+a.a.next());var e=a", ".a.next();d=ib[e]||null;if(!d)throw Error(\"No axis with name: \"+e);a.", "a.next();U(a,\"Missing node name\")}else d=fb;e=\nA(a.a);if(/(?![0-9])[", "\\w\\*]/.test(e.charAt(0)))if(\"(\"==A(a.a,1)){if(!Xa(e))throw Error(\"", "Invalid node type: \"+e);e=a.a.next();if(!Xa(e))throw Error(\"Invalid t", "ype name: \"+e);qb(a,\"(\");U(a,\"Bad nodetype\");var g=A(a.a).charAt(0", "),h=null;if('\"'==g||\"'\"==g)h=sb(a);U(a,\"Bad nodetype\");rb(a);e=new", " F(e,h)}else if(e=a.a.next(),g=e.indexOf(\":\"),-1==g)e=new P(e);else{v", "ar h=e.substring(0,g);if(\"*\"==h)var m=\"*\";else if(m=a.sa(h),!m)thro", "w Error(\"Namespace prefix not declared: \"+h);e=e.substr(g+1);e=new P(", "e,m)}else throw Error(\"Bad token: \"+\na.a.next());a=new R(vb(a),d.H);", "return c||new S(d,e,a,\"//\"==b)}function vb(a){for(var b=[];\"[\"==A(a", ".a);){a.a.next();U(a,\"Missing predicate expression.\");var c=ob(a);b.p", "ush(c);U(a,\"Unclosed predicate expression.\");qb(a,\"]\")}return b}fun", "ction pb(a){if(\"-\"==A(a.a))return a.a.next(),new lb(pb(a));var b=tb(a", ");if(\"|\"!=A(a.a))a=b;else{for(b=[b];\"|\"==a.a.next();)U(a,\"Missing ", "next union location path.\"),b.push(tb(a));a.a.back();a=new mb(b)}retur", "n a};function wb(a){switch(a.nodeType){case 1:return fa(xb,a);case 9:re", "turn wb(a.documentElement);case 11:case 10:case 6:case 12:return yb;def", "ault:return a.parentNode?wb(a.parentNode):yb}}function yb(){return null", "}function xb(a,b){if(a.prefix==b)return a.namespaceURI||\"http://www.w3", ".org/1999/xhtml\";var c=a.getAttributeNode(\"xmlns:\"+b);return c&&c.sp", "ecified?c.value||null:a.parentNode&&9!=a.parentNode.nodeType?xb(a.paren", "tNode,b):null};function zb(a,b){if(!a.length)throw Error(\"Empty XPath ", "expression.\");a=Da(a);if(a.empty())throw Error(\"Invalid XPath express", "ion.\");b?\"function\"==ba(b)||(b=ea(b.lookupNamespaceURI,b)):b=functio", "n(){return null};var c=ob(new nb(a,b));if(!a.empty())throw Error(\"Bad ", "token: \"+a.next());this.evaluate=function(a,b){a=c.evaluate(new y(a));", "return new V(a,b)}}\nfunction V(a,b){if(0==b)if(a instanceof E)b=4;else", " if(\"string\"==typeof a)b=2;else if(\"number\"==typeof a)b=1;else if(", "\"boolean\"==typeof a)b=3;else throw Error(\"Unexpected evaluation resu", "lt.\");if(2!=b&&1!=b&&3!=b&&!(a instanceof E))throw Error(\"value could", " not be converted to the specified type\");this.resultType=b;switch(b){", "case 2:this.stringValue=a instanceof E?La(a):\"\"+a;break;case 1:this.n", "umberValue=a instanceof E?+La(a):+a;break;case 3:this.booleanValue=a in", "stanceof E?0=d.length?null:d[g+", "+]};this.snapshotItem=function(a){if(6!=b&&7!=b)throw Error(\"snapshotI", "tem called with wrong result type\");return a>=d.length||0>a?null:d[a]}", "}\nV.ANY_TYPE=0;V.NUMBER_TYPE=1;V.STRING_TYPE=2;V.BOOLEAN_TYPE=3;V.UNOR", "DERED_NODE_ITERATOR_TYPE=4;V.ORDERED_NODE_ITERATOR_TYPE=5;V.UNORDERED_N", "ODE_SNAPSHOT_TYPE=6;V.ORDERED_NODE_SNAPSHOT_TYPE=7;V.ANY_UNORDERED_NODE", "_TYPE=8;V.FIRST_ORDERED_NODE_TYPE=9;function Ab(a){this.lookupNamespace", "URI=wb(a)}\naa(\"wgxpath.install\",function(a,b){a=a||k;var c=a.Documen", "t&&a.Document.prototype||a.document;if(!c.evaluate||b)a.XPathResult=V,c", ".evaluate=function(a,b,c,h){return(new zb(a,c)).evaluate(b,h)},c.create", "Expression=function(a,b){return new zb(a,b)},c.createNSResolver=functio", "n(a){return new Ab(a)}});function Bb(){this.$=ga.document.documentEleme", "nt;a:{var a=za(this.$);try{var b=a&&a.activeElement;break a}catch(c){}b", "=null}b&&Cb(this,b)}function Cb(a,b){a.$=b;x(b,\"OPTION\")&&Ba(b,functi", "on(a){return x(a,\"SELECT\")})}function Db(a){return x(a,\"FORM\")};ua(", ");ua();function Eb(a,b,c){this.A=a;this.la=b;this.ma=c}Eb.prototype.cre", "ate=function(a){a=za(a).createEvent(\"HTMLEvents\");a.initEvent(this.A,", "this.la,this.ma);return a};Eb.prototype.toString=function(){return this", ".A};var Gb=new Eb(\"submit\",!0,!0);function W(a,b){this.v={};this.g=[]", ";this.G=0;var c=arguments.length;if(12*this.G&&Ib(this),!0):!1};", "\nfunction Ib(a){var b,c;if(a.G!=a.g.length){for(b=c=0;c\");X(191,\"/\",\"?\");\nX(192,\"`\",\"~\");X(219,\"[\",\"{", "\");X(220,\"\\\\\",\"|\");X(221,\"]\",\"}\");X({c:59,b:186},\";\",\":\"", ");X(222,\"'\",'\"');var Y=new W;Y.set(1,Lb);Y.set(2,Mb);Y.set(4,Nb);Y.s", "et(8,Ob);(function(a){var b=new W;p(Hb(a),function(c){b.set(a.get(c).co", "de,c)});return b})(Y);function Z(){Bb.call(this)}n(Z,Bb);Z.U=void 0;Z.n", "a=function(){return Z.U?Z.U:Z.U=new Z};aa(\"_\",function(a){var b=Ba(a,", "Db,!0);if(!b)throw new t(7,\"Element was not in a form, so could not su", "bmit.\");var c=Z.na();Cb(c,a);if(!Db(b))throw new t(12,\"Element is not", " a form, so could not submit.\");a=Gb.create(b,void 0);\"isTrusted\"in ", "a||(a.isTrusted=!1);b.dispatchEvent(a)&&(x(b.submit)?b.constructor.prot", "otype.submit.call(b):b.submit())});; return this._.apply(null,arguments", ");}.apply({navigator:typeof window!='undefined'?window.navigator:null,d", "ocument:typeof window!='undefined'?window.document:null}, arguments);}", NULL }; const char* const FIND_ELEMENT[] = { "function(){return function(){var h,aa=this;function l(a){return void 0!", "==a}function m(a){return\"string\"==typeof a}function n(a){return\"numb", "er\"==typeof a}function ba(a,b){a=a.split(\".\");var c=aa;a[0]in c||!c.", "execScript||c.execScript(\"var \"+a[0]);for(var d;a.length&&(d=a.shift(", "));)!a.length&&l(b)?c[d]=b:c=c[d]&&c[d]!==Object.prototype[d]?c[d]:c[d]", "={}}\nfunction ca(a){var b=typeof a;if(\"object\"==b)if(a){if(a instanc", "eof Array)return\"array\";if(a instanceof Object)return b;var c=Object.", "prototype.toString.call(a);if(\"[object Window]\"==c)return\"object\";i", "f(\"[object Array]\"==c||\"number\"==typeof a.length&&\"undefined\"!=ty", "peof a.splice&&\"undefined\"!=typeof a.propertyIsEnumerable&&!a.propert", "yIsEnumerable(\"splice\"))return\"array\";if(\"[object Function]\"==c||", "\"undefined\"!=typeof a.call&&\"undefined\"!=typeof a.propertyIsEnumera", "ble&&!a.propertyIsEnumerable(\"call\"))return\"function\"}else return\"", "null\";\nelse if(\"function\"==b&&\"undefined\"==typeof a.call)return\"", "object\";return b}function da(a){var b=ca(a);return\"array\"==b||\"obje", "ct\"==b&&\"number\"==typeof a.length}function p(a){return\"function\"==", "ca(a)}function ea(a){var b=typeof a;return\"object\"==b&&null!=a||\"fun", "ction\"==b}function fa(a,b,c){return a.call.apply(a.bind,arguments)}\nf", "unction ga(a,b,c){if(!a)throw Error();if(2b?null:m(a)?", "a.charAt(b):a[b]}function ua(a){return Array.prototype.concat.apply([],", "arguments)}\nfunction va(a){var b=a.length;if(0=arg", "uments.length?Array.prototype.slice.call(a,b):Array.prototype.slice.cal", "l(a,b,c)};var xa={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\",c", "oral:\"#ff7f50\",cornflowerblue:\"#6495ed\",cornsilk:\"#fff8dc\",crimso", "n:\"#dc143c\",cyan:\"#00ffff\",darkblue:\"#00008b\",darkcyan:\"#008b8b", "\",darkgoldenrod:\"#b8860b\",darkgray:\"#a9a9a9\",darkgreen:\"#006400\"", ",\ndarkgrey:\"#a9a9a9\",darkkhaki:\"#bdb76b\",darkmagenta:\"#8b008b\",d", "arkolivegreen:\"#556b2f\",darkorange:\"#ff8c00\",darkorchid:\"#9932cc\"", ",darkred:\"#8b0000\",darksalmon:\"#e9967a\",darkseagreen:\"#8fbc8f\",da", "rkslateblue:\"#483d8b\",darkslategray:\"#2f4f4f\",darkslategrey:\"#2f4f", "4f\",darkturquoise:\"#00ced1\",darkviolet:\"#9400d3\",deeppink:\"#ff149", "3\",deepskyblue:\"#00bfff\",dimgray:\"#696969\",dimgrey:\"#696969\",dod", "gerblue:\"#1e90ff\",firebrick:\"#b22222\",floralwhite:\"#fffaf0\",fores", "tgreen:\"#228b22\",fuchsia:\"#ff00ff\",gainsboro:\"#dcdcdc\",\nghostwhi", "te:\"#f8f8ff\",gold:\"#ffd700\",goldenrod:\"#daa520\",gray:\"#808080\",", "green:\"#008000\",greenyellow:\"#adff2f\",grey:\"#808080\",honeydew:\"#", "f0fff0\",hotpink:\"#ff69b4\",indianred:\"#cd5c5c\",indigo:\"#4b0082\",i", "vory:\"#fffff0\",khaki:\"#f0e68c\",lavender:\"#e6e6fa\",lavenderblush:", "\"#fff0f5\",lawngreen:\"#7cfc00\",lemonchiffon:\"#fffacd\",lightblue:\"", "#add8e6\",lightcoral:\"#f08080\",lightcyan:\"#e0ffff\",lightgoldenrodye", "llow:\"#fafad2\",lightgray:\"#d3d3d3\",lightgreen:\"#90ee90\",lightgrey", ":\"#d3d3d3\",lightpink:\"#ffb6c1\",lightsalmon:\"#ffa07a\",\nlightseagr", "een:\"#20b2aa\",lightskyblue:\"#87cefa\",lightslategray:\"#778899\",lig", "htslategrey:\"#778899\",lightsteelblue:\"#b0c4de\",lightyellow:\"#ffffe", "0\",lime:\"#00ff00\",limegreen:\"#32cd32\",linen:\"#faf0e6\",magenta:\"", "#ff00ff\",maroon:\"#800000\",mediumaquamarine:\"#66cdaa\",mediumblue:\"", "#0000cd\",mediumorchid:\"#ba55d3\",mediumpurple:\"#9370db\",mediumseagr", "een:\"#3cb371\",mediumslateblue:\"#7b68ee\",mediumspringgreen:\"#00fa9a", "\",mediumturquoise:\"#48d1cc\",mediumvioletred:\"#c71585\",midnightblue", ":\"#191970\",mintcream:\"#f5fffa\",mistyrose:\"#ffe4e1\",\nmoccasin:\"#", "ffe4b5\",navajowhite:\"#ffdead\",navy:\"#000080\",oldlace:\"#fdf5e6\",o", "live:\"#808000\",olivedrab:\"#6b8e23\",orange:\"#ffa500\",orangered:\"#", "ff4500\",orchid:\"#da70d6\",palegoldenrod:\"#eee8aa\",palegreen:\"#98fb", "98\",paleturquoise:\"#afeeee\",palevioletred:\"#db7093\",papayawhip:\"#", "ffefd5\",peachpuff:\"#ffdab9\",peru:\"#cd853f\",pink:\"#ffc0cb\",plum:", "\"#dda0dd\",powderblue:\"#b0e0e6\",purple:\"#800080\",red:\"#ff0000\",r", "osybrown:\"#bc8f8f\",royalblue:\"#4169e1\",saddlebrown:\"#8b4513\",salm", "on:\"#fa8072\",sandybrown:\"#f4a460\",seagreen:\"#2e8b57\",\nseashell:", "\"#fff5ee\",sienna:\"#a0522d\",silver:\"#c0c0c0\",skyblue:\"#87ceeb\",s", "lateblue:\"#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\",whites", "moke:\"#f5f5f5\",yellow:\"#ffff00\",yellowgreen:\"#9acd32\"};var ya=\"b", "ackgroundColor borderTopColor borderRightColor borderBottomColor border", "LeftColor color outlineColor\".split(\" \"),za=/#([0-9a-fA-F])([0-9a-fA", "-F])([0-9a-fA-F])/,Aa=/^#(?:[0-9a-f]{3}){1,2}$/i,Ba=/^(?:rgba)?\\((\\d{", "1,3}),\\s?(\\d{1,3}),\\s?(\\d{1,3}),\\s?(0|1|0\\.\\d*)\\)$/i,Ca=/^(?:rg", "b)?\\((0|[1-9]\\d{0,2}),\\s?(0|[1-9]\\d{0,2}),\\s?(0|[1-9]\\d{0,2})\\)$", "/i;function v(a,b){this.code=a;this.state=w[a]||Da;this.message=b||\"\"", ";a=this.state.replace(/((?:^|\\s+)[a-z])/g,function(a){return a.toUpper", "Case().replace(/^[\\s\\xa0]+/g,\"\")});b=a.length-5;if(0>b||a.indexOf(", "\"Error\",b)!=b)a+=\"Error\";this.name=a;a=Error(this.message);a.name=t", "his.name;this.stack=a.stack||\"\"}r(v,Error);var Da=\"unknown error\",w", "={15:\"element not selectable\",11:\"element not visible\"};w[31]=Da;w[", "30]=Da;w[24]=\"invalid cookie domain\";w[29]=\"invalid element coordina", "tes\";w[12]=\"invalid element state\";\nw[32]=\"invalid selector\";w[51", "]=\"invalid selector\";w[52]=\"invalid selector\";w[17]=\"javascript er", "ror\";w[405]=\"unsupported operation\";w[34]=\"move target out of bound", "s\";w[27]=\"no such alert\";w[7]=\"no such element\";w[8]=\"no such fra", "me\";w[23]=\"no such window\";w[28]=\"script timeout\";w[33]=\"session ", "not created\";w[10]=\"stale element reference\";w[21]=\"timeout\";w[25]", "=\"unable to set cookie\";w[26]=\"unexpected alert open\";w[13]=Da;w[9]", "=\"unknown command\";v.prototype.toString=function(){return this.name+", "\": \"+this.message};function x(a,b){this.x=l(a)?a:0;this.y=l(b)?b:0}h=", "x.prototype;h.clone=function(){return new x(this.x,this.y)};h.toString=", "function(){return\"(\"+this.x+\", \"+this.y+\")\"};h.ceil=function(){th", "is.x=Math.ceil(this.x);this.y=Math.ceil(this.y);return this};h.floor=fu", "nction(){this.x=Math.floor(this.x);this.y=Math.floor(this.y);return thi", "s};h.round=function(){this.x=Math.round(this.x);this.y=Math.round(this.", "y);return this};\nh.translate=function(a,b){a instanceof x?(this.x+=a.x", ",this.y+=a.y):(this.x+=Number(a),n(b)&&(this.y+=b));return this};h.scal", "e=function(a,b){b=n(b)?b:a;this.x*=a;this.y*=b;return this};function Fa", "(a,b){this.width=a;this.height=b}h=Fa.prototype;h.clone=function(){retu", "rn new Fa(this.width,this.height)};h.toString=function(){return\"(\"+th", "is.width+\" x \"+this.height+\")\"};h.ceil=function(){this.width=Math.c", "eil(this.width);this.height=Math.ceil(this.height);return this};h.floor", "=function(){this.width=Math.floor(this.width);this.height=Math.floor(th", "is.height);return this};h.round=function(){this.width=Math.round(this.w", "idth);this.height=Math.round(this.height);return this};\nh.scale=functi", "on(a,b){b=n(b)?b:a;this.width*=a;this.height*=b;return this};function y", "(a){return a?new Ga(z(a)):ka||(ka=new Ga)}function Ha(a,b,c){function d", "(c){c&&b.appendChild(m(c)?a.createTextNode(c):c)}for(var e=1;e]=|\\s+|./g,Wa=/^\\s/;", "function E(a,b){return a.W[a.M+(b||0)]}Ta.prototype.next=function(){ret", "urn this.W[this.M++]};Ta.prototype.back=function(){this.M--};Ta.prototy", "pe.empty=function(){return this.W.length<=this.M};function F(a){var b=n", "ull,c=a.nodeType;1==c&&(b=a.textContent,b=void 0==b||null==b?a.innerTex", "t:b,b=void 0==b||null==b?\"\":b);if(\"string\"!=typeof b)if(9==c||1==c)", "{a=9==c?a.documentElement:a.firstChild;for(var c=0,d=[],b=\"\";a;){do 1", "!=a.nodeType&&(b+=a.nodeValue),d[c++]=a;while(a=a.firstChild);for(;c&&!", "(a=d[--c].nextSibling););}}else b=a.nodeValue;return\"\"+b}\nfunction X", "a(a,b,c){if(null===b)return!0;try{if(!a.getAttribute)return!1}catch(d){", "return!1}return null==c?!!a.getAttribute(b):a.getAttribute(b,2)==c}func", "tion Ya(a,b,c,d,e){return Za.call(null,a,b,m(c)?c:null,m(d)?d:null,e||n", "ew G)}\nfunction Za(a,b,c,d,e){b.getElementsByName&&d&&\"name\"==c?(b=b", ".getElementsByName(d),t(b,function(b){a.matches(b)&&e.add(b)})):b.getEl", "ementsByClassName&&d&&\"class\"==c?(b=b.getElementsByClassName(d),t(b,f", "unction(b){b.className==d&&a.matches(b)&&e.add(b)})):a instanceof H?$a(", "a,b,c,d,e):b.getElementsByTagName&&(b=b.getElementsByTagName(a.getName(", ")),t(b,function(a){Xa(a,c,d)&&e.add(a)}));return e}\nfunction $a(a,b,c,", "d,e){for(b=b.firstChild;b;b=b.nextSibling)Xa(b,c,d)&&a.matches(b)&&e.ad", "d(b),$a(a,b,c,d,e)};function G(){this.j=this.g=null;this.H=0}function a", "b(a){this.node=a;this.next=this.B=null}function bb(a,b){if(!a.g)return ", "b;if(!b.g)return a;var c=a.g;b=b.g;for(var d=null,e,f=0;c&&b;)c.node==b", ".node?(e=c,c=c.next,b=b.next):0\",4,2,function(a,b,c){return kb(function(a,b){return a>b}", ",a,b,c)});N(\"<=\",4,2,function(a,b,c){return kb(function(a,b){return a", "<=b},a,b,c)});N(\">=\",4,2,function(a,b,c){return kb(function(a,b){retu", "rn a>=b},a,b,c)});var jb=N(\"=\",3,2,function(a,b,c){return kb(function", "(a,b){return a==b},a,b,c,!0)});N(\"!=\",3,2,function(a,b,c){return kb(f", "unction(a,b){return a!=b},a,b,c,!0)});N(\"and\",2,2,function(a,b,c){ret", "urn hb(a,c)&&hb(b,c)});N(\"or\",1,2,function(a,b,c){return hb(a,c)||hb(", "b,c)});function nb(a,b){if(b.s()&&4!=a.f)throw Error(\"Primary expressi", "on must evaluate to nodeset if filter has predicate(s).\");I.call(this,", "a.f);this.ha=a;this.b=b;this.v=a.c();this.h=a.h}r(nb,I);nb.prototype.ev", "aluate=function(a){a=this.ha.evaluate(a);return ob(this.b,a)};nb.protot", "ype.toString=function(){var a=\"Filter:\"+J(this.ha);return a+=J(this.b", ")};function pb(a,b){if(b.lengtha.U)throw Error(\"Function \"+a.i+\" expects at most \"+a", ".U+\" arguments, \"+b.length+\" given\");a.ra&&t(b,function(b,d){if(4!=", "b.f)throw Error(\"Argument \"+d+\" to function \"+a.i+\" is not of type", " Nodeset: \"+b);});I.call(this,a.f);this.L=a;this.R=b;fb(this,a.v||ra(b", ",function(a){return a.c()}));gb(this,a.pa&&!b.length||a.oa&&!!b.length|", "|ra(b,function(a){return a.h}))}\nr(pb,I);pb.prototype.evaluate=functio", "n(a){return this.L.o.apply(null,ua(a,this.R))};pb.prototype.toString=fu", "nction(){var a=\"Function: \"+this.L;if(this.R.length)var b=qa(this.R,f", "unction(a,b){return a+J(b)},\"Arguments:\"),a=a+J(b);return a};function", " qb(a,b,c,d,e,f,g,k,u){this.i=a;this.f=b;this.v=c;this.pa=d;this.oa=e;t", "his.o=f;this.fa=g;this.U=l(k)?k:g;this.ra=!!u}qb.prototype.toString=fun", "ction(){return this.i};var rb={};\nfunction O(a,b,c,d,e,f,g,k){if(rb.ha", "sOwnProperty(a))throw Error(\"Function already created: \"+a+\".\");rb[", "a]=new qb(a,b,c,d,!1,e,f,g,k)}O(\"boolean\",2,!1,!1,function(a,b){retur", "n hb(b,a)},1);O(\"ceiling\",1,!1,!1,function(a,b){return Math.ceil(K(b,", "a))},1);O(\"concat\",3,!1,!1,function(a,b){return qa(wa(arguments,1),fu", "nction(b,d){return b+M(d,a)},\"\")},2,null);O(\"contains\",2,!1,!1,func", "tion(a,b,c){b=M(b,a);a=M(c,a);return-1!=b.indexOf(a)},2);O(\"count\",1,", "!1,!1,function(a,b){return b.evaluate(a).s()},1,1,!0);\nO(\"false\",2,!", "1,!1,function(){return!1},0);O(\"floor\",1,!1,!1,function(a,b){return M", "ath.floor(K(b,a))},1);O(\"id\",4,!1,!1,function(a,b){var c=a.m,d=9==c.n", "odeType?c:c.ownerDocument;a=M(b,a).split(/\\s+/);var e=[];t(a,function(", "a){a=d.getElementById(a);!a||0<=oa(e,a)||e.push(a)});e.sort(La);var f=n", "ew G;t(e,function(a){f.add(a)});return f},1);O(\"lang\",2,!1,!1,functio", "n(){return!1},1);O(\"last\",1,!0,!1,function(a){if(1!=arguments.length)", "throw Error(\"Function last expects ()\");return a.j},0);\nO(\"local-na", "me\",3,!1,!0,function(a,b){return(a=b?cb(b.evaluate(a)):a.m)?a.localNam", "e||a.nodeName.toLowerCase():\"\"},0,1,!0);O(\"name\",3,!1,!0,function(a", ",b){return(a=b?cb(b.evaluate(a)):a.m)?a.nodeName.toLowerCase():\"\"},0,", "1,!0);O(\"namespace-uri\",3,!0,!1,function(){return\"\"},0,1,!0);O(\"no", "rmalize-space\",3,!1,!0,function(a,b){return(b?M(b,a):F(a.m)).replace(/", "[\\s\\xa0]+/g,\" \").replace(/^\\s+|\\s+$/g,\"\")},0,1);O(\"not\",2,!1,", "!1,function(a,b){return!hb(b,a)},1);\nO(\"number\",1,!1,!0,function(a,b", "){return b?K(b,a):+F(a.m)},0,1);O(\"position\",1,!0,!1,function(a){retu", "rn a.ua},0);O(\"round\",1,!1,!1,function(a,b){return Math.round(K(b,a))", "},1);O(\"starts-with\",2,!1,!1,function(a,b,c){b=M(b,a);a=M(c,a);return", " 0==b.lastIndexOf(a,0)},2);O(\"string\",3,!1,!0,function(a,b){return b?", "M(b,a):F(a.m)},0,1);O(\"string-length\",1,!1,!0,function(a,b){return(b?", "M(b,a):F(a.m)).length},0,1);\nO(\"substring\",3,!1,!1,function(a,b,c,d)", "{c=K(c,a);if(isNaN(c)||Infinity==c||-Infinity==c)return\"\";d=d?K(d,a):", "Infinity;if(isNaN(d)||-Infinity===d)return\"\";c=Math.round(c)-1;var e=", "Math.max(c,0);a=M(b,a);return Infinity==d?a.substring(e):a.substring(e,", "c+Math.round(d))},2,3);O(\"substring-after\",3,!1,!1,function(a,b,c){b=", "M(b,a);a=M(c,a);c=b.indexOf(a);return-1==c?\"\":b.substring(c+a.length)", "},2);\nO(\"substring-before\",3,!1,!1,function(a,b,c){b=M(b,a);a=M(c,a)", ";a=b.indexOf(a);return-1==a?\"\":b.substring(0,a)},2);O(\"sum\",1,!1,!1", ",function(a,b){a=b.evaluate(a).iterator();b=0;for(var c=a.next();c;c=a.", "next())b+=+F(c);return b},1,1,!0);O(\"translate\",3,!1,!1,function(a,b,", "c,d){b=M(b,a);c=M(c,a);var e=M(d,a);d={};for(var f=0;fa.length)throw Error(\"Unclosed literal string\"", ");return new tb(a)}\nfunction Rb(a){var b=[];if(Ab(E(a.a))){var c=a.a.n", "ext();var d=E(a.a);if(\"/\"==c&&(a.a.empty()||\".\"!=d&&\"..\"!=d&&\"@", "\"!=d&&\"*\"!=d&&!/(?![0-9])[\\w]/.test(d)))return new yb;d=new yb;S(a,", "\"Missing next location step.\");c=Sb(a,c);b.push(c)}else{a:{c=E(a.a);d", "=c.charAt(0);switch(d){case \"$\":throw Error(\"Variable reference not ", "allowed in HTML XPath\");case \"(\":a.a.next();c=Mb(a);S(a,'unclosed \"", "(\"');Ob(a,\")\");break;case '\"':case \"'\":c=Qb(a);break;default:if(i", "sNaN(+c))if(!sb(c)&&/(?![0-9])[\\w]/.test(d)&&\"(\"==E(a.a,\n1)){c=a.a.", "next();c=rb[c]||null;a.a.next();for(d=[];\")\"!=E(a.a);){S(a,\"Missing ", "function argument list.\");d.push(Mb(a));if(\",\"!=E(a.a))break;a.a.nex", "t()}S(a,\"Unclosed function argument list.\");Pb(a);c=new pb(c,d)}else{", "c=null;break a}else c=new vb(+a.a.next())}\"[\"==E(a.a)&&(d=new P(Tb(a)", "),c=new nb(c,d))}if(c)if(Ab(E(a.a)))d=c;else return c;else c=Sb(a,\"/\"", "),d=new zb,b.push(c)}for(;Ab(E(a.a));)c=a.a.next(),S(a,\"Missing next l", "ocation step.\"),c=Sb(a,c),b.push(c);return new wb(d,b)}\nfunction Sb(a", ",b){if(\"/\"!=b&&\"//\"!=b)throw Error('Step op should be \"/\" or \"//", "\"');if(\".\"==E(a.a)){var c=new Q(Ib,new H(\"node\"));a.a.next();retur", "n c}if(\"..\"==E(a.a))return c=new Q(Hb,new H(\"node\")),a.a.next(),c;i", "f(\"@\"==E(a.a)){var d=xb;a.a.next();S(a,\"Missing attribute name\")}el", "se if(\"::\"==E(a.a,1)){if(!/(?![0-9])[\\w]/.test(E(a.a).charAt(0)))thr", "ow Error(\"Bad token: \"+a.a.next());var e=a.a.next();d=Gb[e]||null;if(", "!d)throw Error(\"No axis with name: \"+e);a.a.next();S(a,\"Missing node", " name\")}else d=Db;e=\nE(a.a);if(/(?![0-9])[\\w\\*]/.test(e.charAt(0)))", "if(\"(\"==E(a.a,1)){if(!sb(e))throw Error(\"Invalid node type: \"+e);e=", "a.a.next();if(!sb(e))throw Error(\"Invalid type name: \"+e);Ob(a,\"(\")", ";S(a,\"Bad nodetype\");var f=E(a.a).charAt(0),g=null;if('\"'==f||\"'\"=", "=f)g=Qb(a);S(a,\"Bad nodetype\");Pb(a);e=new H(e,g)}else if(e=a.a.next(", "),f=e.indexOf(\":\"),-1==f)e=new ub(e);else{var g=e.substring(0,f);if(", "\"*\"==g)var k=\"*\";else if(k=a.sa(g),!k)throw Error(\"Namespace prefi", "x not declared: \"+g);e=e.substr(f+1);e=new ub(e,k)}else throw Error(\"", "Bad token: \"+\na.a.next());a=new P(Tb(a),d.D);return c||new Q(d,e,a,\"", "//\"==b)}function Tb(a){for(var b=[];\"[\"==E(a.a);){a.a.next();S(a,\"M", "issing predicate expression.\");var c=Mb(a);b.push(c);S(a,\"Unclosed pr", "edicate expression.\");Ob(a,\"]\")}return b}function Nb(a){if(\"-\"==E(", "a.a))return a.a.next(),new Jb(Nb(a));var b=Rb(a);if(\"|\"!=E(a.a))a=b;e", "lse{for(b=[b];\"|\"==a.a.next();)S(a,\"Missing next union location path", ".\"),b.push(Rb(a));a.a.back();a=new Kb(b)}return a};function Ub(a){swit", "ch(a.nodeType){case 1:return ia(Vb,a);case 9:return Ub(a.documentElemen", "t);case 11:case 10:case 6:case 12:return Wb;default:return a.parentNode", "?Ub(a.parentNode):Wb}}function Wb(){return null}function Vb(a,b){if(a.p", "refix==b)return a.namespaceURI||\"http://www.w3.org/1999/xhtml\";var c=", "a.getAttributeNode(\"xmlns:\"+b);return c&&c.specified?c.value||null:a.", "parentNode&&9!=a.parentNode.nodeType?Vb(a.parentNode,b):null};function ", "Xb(a,b){if(!a.length)throw Error(\"Empty XPath expression.\");a=Ua(a);i", "f(a.empty())throw Error(\"Invalid XPath expression.\");b?p(b)||(b=ha(b.", "lookupNamespaceURI,b)):b=function(){return null};var c=Mb(new Lb(a,b));", "if(!a.empty())throw Error(\"Bad token: \"+a.next());this.evaluate=funct", "ion(a,b){a=c.evaluate(new Sa(a));return new T(a,b)}}\nfunction T(a,b){i", "f(0==b)if(a instanceof G)b=4;else if(\"string\"==typeof a)b=2;else if(", "\"number\"==typeof a)b=1;else if(\"boolean\"==typeof a)b=3;else throw E", "rror(\"Unexpected evaluation result.\");if(2!=b&&1!=b&&3!=b&&!(a instan", "ceof G))throw Error(\"value could not be converted to the specified typ", "e\");this.resultType=b;switch(b){case 2:this.stringValue=a instanceof G", "?db(a):\"\"+a;break;case 1:this.numberValue=a instanceof G?+db(a):+a;br", "eak;case 3:this.booleanValue=a instanceof G?0=d.length?null:d[f++]};this.snapshotItem=function(a){if(6", "!=b&&7!=b)throw Error(\"snapshotItem called with wrong result type\");r", "eturn a>=d.length||0>a?null:d[a]}}\nT.ANY_TYPE=0;T.NUMBER_TYPE=1;T.STRI", "NG_TYPE=2;T.BOOLEAN_TYPE=3;T.UNORDERED_NODE_ITERATOR_TYPE=4;T.ORDERED_N", "ODE_ITERATOR_TYPE=5;T.UNORDERED_NODE_SNAPSHOT_TYPE=6;T.ORDERED_NODE_SNA", "PSHOT_TYPE=7;T.ANY_UNORDERED_NODE_TYPE=8;T.FIRST_ORDERED_NODE_TYPE=9;fu", "nction Yb(a){this.lookupNamespaceURI=Ub(a)}\nba(\"wgxpath.install\",fun", "ction(a,b){a=a||aa;var c=a.Document&&a.Document.prototype||a.document;i", "f(!c.evaluate||b)a.XPathResult=T,c.evaluate=function(a,b,c,g){return(ne", "w Xb(a,c)).evaluate(b,g)},c.createExpression=function(a,b){return new X", "b(a,b)},c.createNSResolver=function(a){return new Yb(a)}});var U={};U.X", "=function(){var a={ya:\"http://www.w3.org/2000/svg\"};return function(b", "){return a[b]||null}}();\nU.o=function(a,b,c){var d=z(a);if(!d.document", "Element)return null;try{for(var e=d.createNSResolver?d.createNSResolver", "(d.documentElement):U.X,f={},g=d.getElementsByTagName(\"*\"),k=0;k=this.left&&a.right<=this.right&&a.top>=", "this.top&&a.bottom<=this.bottom:a.x>=this.left&&a.x<=this.right&&a.y>=t", "his.top&&a.y<=this.bottom:!1};\nh.expand=function(a,b,c,d){ea(a)?(this.", "top-=a.top,this.right+=a.right,this.bottom+=a.bottom,this.left-=a.left)", ":(this.top-=a,this.right+=Number(b),this.bottom+=Number(c),this.left-=N", "umber(d));return this};h.ceil=function(){this.top=Math.ceil(this.top);t", "his.right=Math.ceil(this.right);this.bottom=Math.ceil(this.bottom);this", ".left=Math.ceil(this.left);return this};\nh.floor=function(){this.top=M", "ath.floor(this.top);this.right=Math.floor(this.right);this.bottom=Math.", "floor(this.bottom);this.left=Math.floor(this.left);return this};h.round", "=function(){this.top=Math.round(this.top);this.right=Math.round(this.ri", "ght);this.bottom=Math.round(this.bottom);this.left=Math.round(this.left", ");return this};h.translate=function(a,b){a instanceof x?(this.left+=a.x", ",this.right+=a.x,this.top+=a.y,this.bottom+=a.y):(this.left+=a,this.rig", "ht+=a,n(b)&&(this.top+=b,this.bottom+=b));return this};\nh.scale=functi", "on(a,b){b=n(b)?b:a;this.left*=a;this.right*=a;this.top*=b;this.bottom*=", "b;return this};function V(a,b,c,d){this.left=a;this.top=b;this.width=c;", "this.height=d}h=V.prototype;h.clone=function(){return new V(this.left,t", "his.top,this.width,this.height)};h.toString=function(){return\"(\"+this", ".left+\", \"+this.top+\" - \"+this.width+\"w x \"+this.height+\"h)\"};h", ".contains=function(a){return a instanceof x?a.x>=this.left&&a.x<=this.l", "eft+this.width&&a.y>=this.top&&a.y<=this.top+this.height:this.left<=a.l", "eft&&this.left+this.width>=a.left+a.width&&this.top<=a.top&&this.top+th", "is.height>=a.top+a.height};\nh.ceil=function(){this.left=Math.ceil(this", ".left);this.top=Math.ceil(this.top);this.width=Math.ceil(this.width);th", "is.height=Math.ceil(this.height);return this};h.floor=function(){this.l", "eft=Math.floor(this.left);this.top=Math.floor(this.top);this.width=Math", ".floor(this.width);this.height=Math.floor(this.height);return this};h.r", "ound=function(){this.left=Math.round(this.left);this.top=Math.round(thi", "s.top);this.width=Math.round(this.width);this.height=Math.round(this.he", "ight);return this};\nh.translate=function(a,b){a instanceof x?(this.lef", "t+=a.x,this.top+=a.y):(this.left+=a,n(b)&&(this.top+=b));return this};h", ".scale=function(a,b){b=n(b)?b:a;this.left*=a;this.width*=a;this.top*=b;", "this.height*=b;return this};var $b=\"function\"===typeof ShadowRoot;fun", "ction ac(a){for(a=a.parentNode;a&&1!=a.nodeType&&9!=a.nodeType&&11!=a.n", "odeType;)a=a.parentNode;return C(a)?a:null}\nfunction X(a,b){b=na(b);if", "(\"float\"==b||\"cssFloat\"==b||\"styleFloat\"==b)b=\"cssFloat\";a:{var", " c=b;var d=z(a);if(d.defaultView&&d.defaultView.getComputedStyle&&(d=d.", "defaultView.getComputedStyle(a,null))){c=d[c]||d.getPropertyValue(c)||", "\"\";break a}c=\"\"}a=c||bc(a,b);if(null===a)a=null;else if(0<=oa(ya,b)", "){b:{var e=a.match(Ba);if(e&&(b=Number(e[1]),c=Number(e[2]),d=Number(e[", "3]),e=Number(e[4]),0<=b&&255>=b&&0<=c&&255>=c&&0<=d&&255>=d&&0<=e&&1>=e", ")){b=[b,c,d,e];break b}b=null}if(!b)b:{if(d=a.match(Ca))if(b=Number(d[1", "]),\nc=Number(d[2]),d=Number(d[3]),0<=b&&255>=b&&0<=c&&255>=c&&0<=d&&25", "5>=d){b=[b,c,d,1];break b}b=null}if(!b)b:{b=a.toLowerCase();c=xa[b.toLo", "werCase()];if(!c&&(c=\"#\"==b.charAt(0)?b:\"#\"+b,4==c.length&&(c=c.rep", "lace(za,\"#$1$1$2$2$3$3\")),!Aa.test(c))){b=null;break b}b=[parseInt(c.", "substr(1,2),16),parseInt(c.substr(3,2),16),parseInt(c.substr(5,2),16),1", "]}a=b?\"rgba(\"+b.join(\", \")+\")\":a}return a}\nfunction bc(a,b){var ", "c=a.currentStyle||a.style,d=c[b];!l(d)&&p(c.getPropertyValue)&&(d=c.get", "PropertyValue(b));return\"inherit\"!=d?l(d)?d:null:(a=ac(a))?bc(a,b):nu", "ll}\nfunction cc(a,b,c){function d(a){var b=dc(a);return 0=A.left+A.width;A=e.t", "op>=A.top+A.height;if(L&&\"hidden\"==q.x||A&&\"hidden\"==q.y)return Y;i", "f(L&&\"visible\"!=q.x||A&&\"visible\"!=q.y){if(D&&(q=d(a),e.left>=g.scr", "ollWidth-q.x||e.right>=g.scrollHeight-q.y))return Y;e=ec(a);return e==Y", "?Y:\"scroll\"}}}return\"none\"}\nfunction dc(a){var b=fc(a);if(b)return", " b.rect;if(C(a,\"HTML\"))return a=z(a),a=((a?a.parentWindow||a.defaultV", "iew:window)||window).document,a=\"CSS1Compat\"==a.compatMode?a.document", "Element:a.body,a=new Fa(a.clientWidth,a.clientHeight),new V(0,0,a.width", ",a.height);try{var c=a.getBoundingClientRect()}catch(d){return new V(0,", "0,0,0)}return new V(c.left,c.top,c.right-c.left,c.bottom-c.top)}\nfunct", "ion fc(a){var b=C(a,\"MAP\");if(!b&&!C(a,\"AREA\"))return null;var c=b?", "a:C(a.parentNode,\"MAP\")?a.parentNode:null,d=null,e=null;c&&c.name&&(d", "=U.u('/descendant::*[@usemap = \"#'+c.name+'\"]',z(c)))&&(e=dc(d),b||\"", "default\"==a.shape.toLowerCase()||(a=jc(a),b=Math.min(Math.max(a.left,0", "),e.width),c=Math.min(Math.max(a.top,0),e.height),e=new V(b+e.left,c+e.", "top,Math.min(a.width,e.width-b),Math.min(a.height,e.height-c))));return", "{ba:d,rect:e||new V(0,0,0,0)}}\nfunction jc(a){var b=a.shape.toLowerCas", "e();a=a.coords.split(\",\");if(\"rect\"==b&&4==a.length){var b=a[0],c=a", "[1];return new V(b,c,a[2]-b,a[3]-c)}if(\"circle\"==b&&3==a.length)retur", "n b=a[2],new V(a[0]-b,a[1]-b,2*b,2*b);if(\"poly\"==b&&2=~*^$|%&@`{}\\-\\/\\[\\]\\(\\)]", ")/g,\"\\\\$1\")}};var Z={},vc={};Z.ja=function(a,b,c){try{var d=tc.l(\"", "a\",b)}catch(e){d=B(y(b),\"A\",null,b)}return ta(d,function(b){b=lc(b);", "return c&&-1!=b.indexOf(a)||b==a})};Z.ea=function(a,b,c){try{var d=tc.l", "(\"a\",b)}catch(e){d=B(y(b),\"A\",null,b)}return pa(d,function(b){b=lc(", "b);return c&&-1!=b.indexOf(a)||b==a})};Z.u=function(a,b){return Z.ja(a,", "b,!1)};Z.l=function(a,b){return Z.ea(a,b,!1)};vc.u=function(a,b){return", " Z.ja(a,b,!0)};vc.l=function(a,b){return Z.ea(a,b,!0)};var wc={u:functi", "on(a,b){if(\"\"===a)throw new v(32,'Unable to locate an element with th", "e tagName \"\"');return b.getElementsByTagName(a)[0]||null},l:function(", "a,b){if(\"\"===a)throw new v(32,'Unable to locate an element with the t", "agName \"\"');return b.getElementsByTagName(a)}};var xc={className:sc,", "\"class name\":sc,css:tc,\"css selector\":tc,id:uc,linkText:Z,\"link te", "xt\":Z,name:{u:function(a,b){b=B(y(b),\"*\",null,b);return ta(b,functio", "n(b){return Pa(b,\"name\")==a})},l:function(a,b){b=B(y(b),\"*\",null,b)", ";return pa(b,function(b){return Pa(b,\"name\")==a})}},partialLinkText:v", "c,\"partial link text\":vc,tagName:wc,\"tag name\":wc,xpath:U};function", " yc(a){for(var b in a)if(a.hasOwnProperty(b))return b;return null};var ", "zc=\"function\"===typeof ShadowRoot;ba(\"_\",function(a,b){var c;a:{if(", "c=yc(a)){var d=xc[c];if(d&&p(d.u)){c=d.u(a[c],b||ja.document);break a}}", "throw Error(\"Unsupported locator strategy: \"+c);}if(c)return c;if(zc&", "&b){for(c=b;c.parentNode;)c=c.parentNode;if(c instanceof ShadowRoot){a:", "{if((c=yc(a))&&(d=xc[c])&&p(d.l)){a=d.l(a[c],b||ja.document);break a}th", "row Error(\"Unsupported locator strategy: \"+c);}if(c=a[0])return c}}re", "turn null});; return this._.apply(null,arguments);}.apply({navigator:ty", "peof window!='undefined'?window.navigator:null,document:typeof window!=", "'undefined'?window.document:null}, arguments);}", NULL }; const char* const GET_FIRST_CLIENT_RECT[] = { "function(){return function(){var h,aa=this;function k(a){return\"string", "\"==typeof a}function m(a){return\"number\"==typeof a}function ba(a,b){", "a=a.split(\".\");var c=aa;a[0]in c||!c.execScript||c.execScript(\"var ", "\"+a[0]);for(var d;a.length&&(d=a.shift());)a.length||void 0===b?c=c[d]", "&&c[d]!==Object.prototype[d]?c[d]:c[d]={}:c[d]=b}\nfunction ca(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&&\"undefine", "d\"!=typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable(\"splice\")", ")return\"array\";if(\"[object Function]\"==c||\"undefined\"!=typeof a.c", "all&&\"undefined\"!=typeof a.propertyIsEnumerable&&!a.propertyIsEnumera", "ble(\"call\"))return\"function\"}else return\"null\";\nelse if(\"functi", "on\"==b&&\"undefined\"==typeof a.call)return\"object\";return b}functio", "n da(a,b,c){return a.call.apply(a.bind,arguments)}function ea(a,b,c){if", "(!a)throw Error();if(2=arguments.length?Array.prototype.slice.call(a,b):Array.prototype.sl", "ice.call(a,b,c)};function u(a,b){this.x=void 0!==a?a:0;this.y=void 0!==", "b?b:0}h=u.prototype;h.clone=function(){return new u(this.x,this.y)};h.t", "oString=function(){return\"(\"+this.x+\", \"+this.y+\")\"};h.ceil=funct", "ion(){this.x=Math.ceil(this.x);this.y=Math.ceil(this.y);return this};h.", "floor=function(){this.x=Math.floor(this.x);this.y=Math.floor(this.y);re", "turn this};h.round=function(){this.x=Math.round(this.x);this.y=Math.rou", "nd(this.y);return this};\nh.translate=function(a,b){a instanceof u?(thi", "s.x+=a.x,this.y+=a.y):(this.x+=Number(a),m(b)&&(this.y+=b));return this", "};h.scale=function(a,b){b=m(b)?b:a;this.x*=a;this.y*=b;return this};fun", "ction ja(a,b){if(!a||!b)return!1;if(a.contains&&1==b.nodeType)return a=", "=b||a.contains(b);if(\"undefined\"!=typeof a.compareDocumentPosition)re", "turn a==b||!!(a.compareDocumentPosition(b)&16);for(;b&&a!=b;)b=b.parent", "Node;return b==a}\nfunction ka(a,b){if(a==b)return 0;if(a.compareDocume", "ntPosition)return a.compareDocumentPosition(b)&2?1:-1;if(\"sourceIndex", "\"in a||a.parentNode&&\"sourceIndex\"in a.parentNode){var c=1==a.nodeTy", "pe,d=1==b.nodeType;if(c&&d)return a.sourceIndex-b.sourceIndex;var e=a.p", "arentNode,f=b.parentNode;return e==f?la(a,b):!c&&ja(e,b)?-1*ma(a,b):!d&", "&ja(f,a)?ma(b,a):(c?a.sourceIndex:e.sourceIndex)-(d?b.sourceIndex:f.sou", "rceIndex)}d=9==a.nodeType?a:a.ownerDocument||a.document;c=d.createRange", "();c.selectNode(a);c.collapse(!0);\na=d.createRange();a.selectNode(b);a", ".collapse(!0);return c.compareBoundaryPoints(aa.Range.START_TO_END,a)}f", "unction ma(a,b){var c=a.parentNode;if(c==b)return-1;for(;b.parentNode!=", "c;)b=b.parentNode;return la(b,a)}function la(a,b){for(;b=b.previousSibl", "ing;)if(b==a)return-1;return 1};/*\n\n The MIT License\n\n Copyright (c", ") 2007 Cybozu Labs, Inc.\n Copyright (c) 2012 Google Inc.\n\n Permissio", "n is hereby granted, free of charge, to any person obtaining a copy\n o", "f this software and associated documentation files (the \"Software\"), ", "to\n deal in the Software without restriction, including without limita", "tion the\n rights to use, copy, modify, merge, publish, distribute, sub", "license, and/or\n sell copies of the Software, and to permit persons to", " whom the Software is\n furnished to do so, subject to the following co", "nditions:\n\n The above copyright notice and this permission notice sha", "ll be included in\n all copies or substantial portions of the Software.", "\n\n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, ", "EXPRESS OR\n IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF ME", "RCHANTABILITY,\n FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. ", "IN NO EVENT SHALL THE\n AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY ", "CLAIM, DAMAGES OR OTHER\n LIABILITY, WHETHER IN AN ACTION OF CONTRACT, ", "TORT OR OTHERWISE, ARISING\n FROM, OUT OF OR IN CONNECTION WITH THE SOF", "TWARE OR THE USE OR OTHER DEALINGS\n IN THE SOFTWARE.\n*/\nfunction v(a", ",b,c){this.l=a;this.ka=b||1;this.j=c||1};function w(a){this.S=a;this.I=", "0}function na(a){a=a.match(pa);for(var b=0;b]=|\\s+|./g,qa=/^\\s/;function y(", "a,b){return a.S[a.I+(b||0)]}w.prototype.next=function(){return this.S[t", "his.I++]};w.prototype.back=function(){this.I--};w.prototype.empty=funct", "ion(){return this.S.length<=this.I};function z(a){var b=null,c=a.nodeTy", "pe;1==c&&(b=a.textContent,b=void 0==b||null==b?a.innerText:b,b=void 0==", "b||null==b?\"\":b);if(\"string\"!=typeof b)if(9==c||1==c){a=9==c?a.docu", "mentElement:a.firstChild;for(var c=0,d=[],b=\"\";a;){do 1!=a.nodeType&&", "(b+=a.nodeValue),d[c++]=a;while(a=a.firstChild);for(;c&&!(a=d[--c].next", "Sibling););}}else b=a.nodeValue;return\"\"+b}\nfunction A(a,b,c){if(nul", "l===b)return!0;try{if(!a.getAttribute)return!1}catch(d){return!1}return", " null==c?!!a.getAttribute(b):a.getAttribute(b,2)==c}function B(a,b,c,d,", "e){return ra.call(null,a,b,k(c)?c:null,k(d)?d:null,e||new C)}\nfunction", " ra(a,b,c,d,e){b.getElementsByName&&d&&\"name\"==c?(b=b.getElementsByNa", "me(d),q(b,function(b){a.matches(b)&&e.add(b)})):b.getElementsByClassNam", "e&&d&&\"class\"==c?(b=b.getElementsByClassName(d),q(b,function(b){b.cla", "ssName==d&&a.matches(b)&&e.add(b)})):a instanceof D?sa(a,b,c,d,e):b.get", "ElementsByTagName&&(b=b.getElementsByTagName(a.getName()),q(b,function(", "a){A(a,c,d)&&e.add(a)}));return e}function sa(a,b,c,d,e){for(b=b.firstC", "hild;b;b=b.nextSibling)A(b,c,d)&&a.matches(b)&&e.add(b),sa(a,b,c,d,e)};", "function C(){this.j=this.g=null;this.D=0}function ta(a){this.node=a;thi", "s.next=this.w=null}function ua(a,b){if(!a.g)return b;if(!b.g)return a;v", "ar c=a.g;b=b.g;for(var d=null,e,f=0;c&&b;)c.node==b.node?(e=c,c=c.next,", "b=b.next):0\",4,2,function(a,b,c){r", "eturn L(function(a,b){return a>b},a,b,c)});M(\"<=\",4,2,function(a,b,c)", "{return L(function(a,b){return a<=b},a,b,c)});M(\">=\",4,2,function(a,b", ",c){return L(function(a,b){return a>=b},a,b,c)});var ya=M(\"=\",3,2,fun", "ction(a,b,c){return L(function(a,b){return a==b},a,b,c,!0)});M(\"!=\",3", ",2,function(a,b,c){return L(function(a,b){return a!=b},a,b,c,!0)});M(\"", "and\",2,2,function(a,b,c){return J(a,c)&&J(b,c)});M(\"or\",1,2,function", "(a,b,c){return J(a,c)||J(b,c)});function N(a,b){if(b.m()&&4!=a.f)throw ", "Error(\"Primary expression must evaluate to nodeset if filter has predi", "cate(s).\");p.call(this,a.f);this.$=a;this.b=b;this.o=a.c();this.h=a.h}", "n(N);N.prototype.evaluate=function(a){a=this.$.evaluate(a);return Ba(th", "is.b,a)};N.prototype.toString=function(){var a=\"Filter:\"+G(this.$);re", "turn a+=G(this.b)};function O(a,b){if(b.lengtha.P)throw Error(\"Function \"+a.i+\" expect", "s at most \"+a.P+\" arguments, \"+b.length+\" given\");a.ha&&q(b,functi", "on(b,d){if(4!=b.f)throw Error(\"Argument \"+d+\" to function \"+a.i+\" ", "is not of type Nodeset: \"+b);});p.call(this,a.f);this.H=a;this.M=b;wa(", "this,a.o||t(b,function(a){return a.c()}));xa(this,a.fa&&!b.length||a.ea", "&&!!b.length||t(b,function(a){return a.h}))}n(O);\nO.prototype.evaluate", "=function(a){return this.H.v.apply(null,ha(a,this.M))};O.prototype.toSt", "ring=function(){var a=\"Function: \"+this.H;if(this.M.length)var b=r(th", "is.M,function(a,b){return a+G(b)},\"Arguments:\"),a=a+G(b);return a};fu", "nction Ca(a,b,c,d,e,f,g,l,x){this.i=a;this.f=b;this.o=c;this.fa=d;this.", "ea=e;this.v=f;this.Y=g;this.P=void 0!==l?l:g;this.ha=!!x}Ca.prototype.t", "oString=function(){return this.i};var Da={};\nfunction P(a,b,c,d,e,f,g,", "l){if(Da.hasOwnProperty(a))throw Error(\"Function already created: \"+a", "+\".\");Da[a]=new Ca(a,b,c,d,!1,e,f,g,l)}P(\"boolean\",2,!1,!1,function", "(a,b){return J(b,a)},1);P(\"ceiling\",1,!1,!1,function(a,b){return Math", ".ceil(H(b,a))},1);P(\"concat\",3,!1,!1,function(a,b){return r(ia(argume", "nts,1),function(b,d){return b+I(d,a)},\"\")},2,null);P(\"contains\",2,!", "1,!1,function(a,b,c){b=I(b,a);a=I(c,a);return-1!=b.indexOf(a)},2);P(\"c", "ount\",1,!1,!1,function(a,b){return b.evaluate(a).m()},1,1,!0);\nP(\"fa", "lse\",2,!1,!1,function(){return!1},0);P(\"floor\",1,!1,!1,function(a,b)", "{return Math.floor(H(b,a))},1);P(\"id\",4,!1,!1,function(a,b){var c=a.l", ",d=9==c.nodeType?c:c.ownerDocument;a=I(b,a).split(/\\s+/);var e=[];q(a,", "function(a){a=d.getElementById(a);var b;if(!(b=!a)){a:if(k(e))b=k(a)&&1", "==a.length?e.indexOf(a,0):-1;else{for(b=0;ba.length)throw Error(\"Unclosed literal st", "ring\");return new Q(a)}\nfunction Ya(a){var b=[];if(Ha(y(a.a))){var c=", "a.a.next();var d=y(a.a);if(\"/\"==c&&(a.a.empty()||\".\"!=d&&\"..\"!=d&", "&\"@\"!=d&&\"*\"!=d&&!/(?![0-9])[\\w]/.test(d)))return new U;d=new U;Y(", "a,\"Missing next location step.\");c=Za(a,c);b.push(c)}else{a:{c=y(a.a)", ";d=c.charAt(0);switch(d){case \"$\":throw Error(\"Variable reference no", "t allowed in HTML XPath\");case \"(\":a.a.next();c=Ta(a);Y(a,'unclosed ", "\"(\"');Va(a,\")\");break;case '\"':case \"'\":c=Xa(a);break;default:if", "(isNaN(+c))if(!Ea(c)&&/(?![0-9])[\\w]/.test(d)&&\"(\"==y(a.a,\n1)){c=a.", "a.next();c=Da[c]||null;a.a.next();for(d=[];\")\"!=y(a.a);){Y(a,\"Missin", "g function argument list.\");d.push(Ta(a));if(\",\"!=y(a.a))break;a.a.n", "ext()}Y(a,\"Unclosed function argument list.\");Wa(a);c=new O(c,d)}else", "{c=null;break a}else c=new S(+a.a.next())}\"[\"==y(a.a)&&(d=new V($a(a)", "),c=new N(c,d))}if(c)if(Ha(y(a.a)))d=c;else return c;else c=Za(a,\"/\")", ",d=new Ga,b.push(c)}for(;Ha(y(a.a));)c=a.a.next(),Y(a,\"Missing next lo", "cation step.\"),c=Za(a,c),b.push(c);return new T(d,b)}\nfunction Za(a,b", "){if(\"/\"!=b&&\"//\"!=b)throw Error('Step op should be \"/\" or \"//\"", "');if(\".\"==y(a.a)){var c=new W(Pa,new D(\"node\"));a.a.next();return ", "c}if(\"..\"==y(a.a))return c=new W(Oa,new D(\"node\")),a.a.next(),c;if(", "\"@\"==y(a.a)){var d=Fa;a.a.next();Y(a,\"Missing attribute name\")}else", " if(\"::\"==y(a.a,1)){if(!/(?![0-9])[\\w]/.test(y(a.a).charAt(0)))throw", " Error(\"Bad token: \"+a.a.next());var e=a.a.next();d=Na[e]||null;if(!d", ")throw Error(\"No axis with name: \"+e);a.a.next();Y(a,\"Missing node n", "ame\")}else d=Ka;e=\ny(a.a);if(/(?![0-9])[\\w\\*]/.test(e.charAt(0)))if", "(\"(\"==y(a.a,1)){if(!Ea(e))throw Error(\"Invalid node type: \"+e);e=a.", "a.next();if(!Ea(e))throw Error(\"Invalid type name: \"+e);Va(a,\"(\");Y", "(a,\"Bad nodetype\");var f=y(a.a).charAt(0),g=null;if('\"'==f||\"'\"==f", ")g=Xa(a);Y(a,\"Bad nodetype\");Wa(a);e=new D(e,g)}else if(e=a.a.next(),", "f=e.indexOf(\":\"),-1==f)e=new R(e);else{var g=e.substring(0,f);if(\"*", "\"==g)var l=\"*\";else if(l=a.ia(g),!l)throw Error(\"Namespace prefix n", "ot declared: \"+g);e=e.substr(f+1);e=new R(e,l)}else throw Error(\"Bad ", "token: \"+\na.a.next());a=new V($a(a),d.A);return c||new W(d,e,a,\"//\"", "==b)}function $a(a){for(var b=[];\"[\"==y(a.a);){a.a.next();Y(a,\"Missi", "ng predicate expression.\");var c=Ta(a);b.push(c);Y(a,\"Unclosed predic", "ate expression.\");Va(a,\"]\")}return b}function Ua(a){if(\"-\"==y(a.a)", ")return a.a.next(),new Qa(Ua(a));var b=Ya(a);if(\"|\"!=y(a.a))a=b;else{", "for(b=[b];\"|\"==a.a.next();)Y(a,\"Missing next union location path.\")", ",b.push(Ya(a));a.a.back();a=new Ra(b)}return a};function ab(a){switch(a", ".nodeType){case 1:return ga(bb,a);case 9:return ab(a.documentElement);c", "ase 11:case 10:case 6:case 12:return cb;default:return a.parentNode?ab(", "a.parentNode):cb}}function cb(){return null}function bb(a,b){if(a.prefi", "x==b)return a.namespaceURI||\"http://www.w3.org/1999/xhtml\";var c=a.ge", "tAttributeNode(\"xmlns:\"+b);return c&&c.specified?c.value||null:a.pare", "ntNode&&9!=a.parentNode.nodeType?bb(a.parentNode,b):null};function eb(a", ",b){if(!a.length)throw Error(\"Empty XPath expression.\");a=na(a);if(a.", "empty())throw Error(\"Invalid XPath expression.\");b?\"function\"==ca(b", ")||(b=fa(b.lookupNamespaceURI,b)):b=function(){return null};var c=Ta(ne", "w Sa(a,b));if(!a.empty())throw Error(\"Bad token: \"+a.next());this.eva", "luate=function(a,b){a=c.evaluate(new v(a));return new Z(a,b)}}\nfunctio", "n Z(a,b){if(0==b)if(a instanceof C)b=4;else if(\"string\"==typeof a)b=2", ";else if(\"number\"==typeof a)b=1;else if(\"boolean\"==typeof a)b=3;els", "e throw Error(\"Unexpected evaluation result.\");if(2!=b&&1!=b&&3!=b&&!", "(a instanceof C))throw Error(\"value could not be converted to the spec", "ified type\");this.resultType=b;switch(b){case 2:this.stringValue=a ins", "tanceof C?F(a):\"\"+a;break;case 1:this.numberValue=a instanceof C?+F(a", "):+a;break;case 3:this.booleanValue=a instanceof C?0=d.length?null:d[f++]};this.snapshotItem=function(a", "){if(6!=b&&7!=b)throw Error(\"snapshotItem called with wrong result typ", "e\");return a>=d.length||0>a?null:d[a]}}\nZ.ANY_TYPE=0;Z.NUMBER_TYPE=1;", "Z.STRING_TYPE=2;Z.BOOLEAN_TYPE=3;Z.UNORDERED_NODE_ITERATOR_TYPE=4;Z.ORD", "ERED_NODE_ITERATOR_TYPE=5;Z.UNORDERED_NODE_SNAPSHOT_TYPE=6;Z.ORDERED_NO", "DE_SNAPSHOT_TYPE=7;Z.ANY_UNORDERED_NODE_TYPE=8;Z.FIRST_ORDERED_NODE_TYP", "E=9;function fb(a){this.lookupNamespaceURI=ab(a)}\nba(\"wgxpath.install", "\",function(a,b){a=a||aa;var c=a.Document&&a.Document.prototype||a.docu", "ment;if(!c.evaluate||b)a.XPathResult=Z,c.evaluate=function(a,b,c,g){ret", "urn(new eb(a,c)).evaluate(b,g)},c.createExpression=function(a,b){return", " new eb(a,b)},c.createNSResolver=function(a){return new fb(a)}});functi", "on gb(a,b,c,d){this.left=a;this.top=b;this.width=c;this.height=d}h=gb.p", "rototype;h.clone=function(){return new gb(this.left,this.top,this.width", ",this.height)};h.toString=function(){return\"(\"+this.left+\", \"+this.", "top+\" - \"+this.width+\"w x \"+this.height+\"h)\"};h.contains=function", "(a){return a instanceof u?a.x>=this.left&&a.x<=this.left+this.width&&a.", "y>=this.top&&a.y<=this.top+this.height:this.left<=a.left&&this.left+thi", "s.width>=a.left+a.width&&this.top<=a.top&&this.top+this.height>=a.top+a", ".height};\nh.ceil=function(){this.left=Math.ceil(this.left);this.top=Ma", "th.ceil(this.top);this.width=Math.ceil(this.width);this.height=Math.cei", "l(this.height);return this};h.floor=function(){this.left=Math.floor(thi", "s.left);this.top=Math.floor(this.top);this.width=Math.floor(this.width)", ";this.height=Math.floor(this.height);return this};h.round=function(){th", "is.left=Math.round(this.left);this.top=Math.round(this.top);this.width=", "Math.round(this.width);this.height=Math.round(this.height);return this}", ";\nh.translate=function(a,b){a instanceof u?(this.left+=a.x,this.top+=a", ".y):(this.left+=a,m(b)&&(this.top+=b));return this};h.scale=function(a,", "b){b=m(b)?b:a;this.left*=a;this.width*=a;this.top*=b;this.height*=b;ret", "urn this};ba(\"_\",function(a){var b=a.getClientRects();if(0==b.length)", "throw Error(\"Element does not have any client rects\");b=b[0];if(1==a.", "nodeType){b:{try{var c=a.getBoundingClientRect()}catch(d){a={left:0,top", ":0,right:0,bottom:0};break b}a=c}a=new u(a.left,a.top)}else a=a.changed", "Touches?a.changedTouches[0]:a,a=new u(a.clientX,a.clientY);return new g", "b(b.left-a.x,b.top-a.y,b.right-b.left,b.bottom-b.top)});; return this._", ".apply(null,arguments);}.apply({navigator:typeof window!='undefined'?wi", "ndow.navigator:null,document:typeof window!='undefined'?window.document", ":null}, arguments);}", NULL }; const char* const GET_LOCATION_IN_VIEW[] = { "function(){return function(){var h,k=this;function m(a){return\"string", "\"==typeof a}function n(a){return\"number\"==typeof a}function aa(a,b){", "a=a.split(\".\");var c=k;a[0]in c||!c.execScript||c.execScript(\"var \"", "+a[0]);for(var d;a.length&&(d=a.shift());)a.length||void 0===b?c=c[d]&&", "c[d]!==Object.prototype[d]?c[d]:c[d]={}:c[d]=b}\nfunction ba(a){var b=t", "ypeof 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);i", "f(\"[object Window]\"==c)return\"object\";if(\"[object Array]\"==c||\"n", "umber\"==typeof a.length&&\"undefined\"!=typeof a.splice&&\"undefined\"", "!=typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable(\"splice\"))re", "turn\"array\";if(\"[object Function]\"==c||\"undefined\"!=typeof a.call", "&&\"undefined\"!=typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable", "(\"call\"))return\"function\"}else return\"null\";\nelse if(\"function", "\"==b&&\"undefined\"==typeof a.call)return\"object\";return b}function ", "ca(a){var b=ba(a);return\"array\"==b||\"object\"==b&&\"number\"==typeof", " a.length}function da(a){var b=typeof a;return\"object\"==b&&null!=a||", "\"function\"==b}function ea(a,b,c){return a.call.apply(a.bind,arguments", ")}\nfunction fa(a,b,c){if(!a)throw Error();if(2=arguments.", "length?Array.prototype.slice.call(a,b):Array.prototype.slice.call(a,b,c", ")};function w(a,b){this.x=void 0!==a?a:0;this.y=void 0!==b?b:0}h=w.prot", "otype;h.clone=function(){return new w(this.x,this.y)};h.toString=functi", "on(){return\"(\"+this.x+\", \"+this.y+\")\"};h.ceil=function(){this.x=M", "ath.ceil(this.x);this.y=Math.ceil(this.y);return this};h.floor=function", "(){this.x=Math.floor(this.x);this.y=Math.floor(this.y);return this};h.r", "ound=function(){this.x=Math.round(this.x);this.y=Math.round(this.y);ret", "urn this};\nh.translate=function(a,b){a instanceof w?(this.x+=a.x,this.", "y+=a.y):(this.x+=Number(a),n(b)&&(this.y+=b));return this};h.scale=func", "tion(a,b){b=n(b)?b:a;this.x*=a;this.y*=b;return this};function x(a,b){t", "his.width=a;this.height=b}h=x.prototype;h.clone=function(){return new x", "(this.width,this.height)};h.toString=function(){return\"(\"+this.width+", "\" x \"+this.height+\")\"};h.ceil=function(){this.width=Math.ceil(this.", "width);this.height=Math.ceil(this.height);return this};h.floor=function", "(){this.width=Math.floor(this.width);this.height=Math.floor(this.height", ");return this};h.round=function(){this.width=Math.round(this.width);thi", "s.height=Math.round(this.height);return this};\nh.scale=function(a,b){b", "=n(b)?b:a;this.width*=a;this.height*=b;return this};function la(a,b,c){", "function d(c){c&&b.appendChild(m(c)?a.createTextNode(c):c)}for(var e=1;", "e]=|\\s+|./g,ua=/^\\s/;function D(a,b){retur", "n a.T[a.J+(b||0)]}C.prototype.next=function(){return this.T[this.J++]};", "C.prototype.back=function(){this.J--};C.prototype.empty=function(){retu", "rn this.T.length<=this.J};function E(a){var b=null,c=a.nodeType;1==c&&(", "b=a.textContent,b=void 0==b||null==b?a.innerText:b,b=void 0==b||null==b", "?\"\":b);if(\"string\"!=typeof b)if(9==c||1==c){a=9==c?a.documentElemen", "t:a.firstChild;for(var c=0,d=[],b=\"\";a;){do 1!=a.nodeType&&(b+=a.node", "Value),d[c++]=a;while(a=a.firstChild);for(;c&&!(a=d[--c].nextSibling);)", ";}}else b=a.nodeValue;return\"\"+b}\nfunction F(a,b,c){if(null===b)retu", "rn!0;try{if(!a.getAttribute)return!1}catch(d){return!1}return null==c?!", "!a.getAttribute(b):a.getAttribute(b,2)==c}function G(a,b,c,d,e){return ", "va.call(null,a,b,m(c)?c:null,m(d)?d:null,e||new H)}\nfunction va(a,b,c,", "d,e){b.getElementsByName&&d&&\"name\"==c?(b=b.getElementsByName(d),t(b,", "function(b){a.matches(b)&&e.add(b)})):b.getElementsByClassName&&d&&\"cl", "ass\"==c?(b=b.getElementsByClassName(d),t(b,function(b){b.className==d&", "&a.matches(b)&&e.add(b)})):a instanceof I?wa(a,b,c,d,e):b.getElementsBy", "TagName&&(b=b.getElementsByTagName(a.getName()),t(b,function(a){F(a,c,d", ")&&e.add(a)}));return e}function wa(a,b,c,d,e){for(b=b.firstChild;b;b=b", ".nextSibling)F(b,c,d)&&a.matches(b)&&e.add(b),wa(a,b,c,d,e)};function H", "(){this.j=this.g=null;this.F=0}function xa(a){this.node=a;this.next=thi", "s.w=null}function za(a,b){if(!a.g)return b;if(!b.g)return a;var c=a.g;b", "=b.g;for(var d=null,e,f=0;c&&b;)c.node==b.node?(e=c,c=c.next,b=b.next):", "0\",4,2,function(a,b,c){return Q(fu", "nction(a,b){return a>b},a,b,c)});R(\"<=\",4,2,function(a,b,c){return Q(", "function(a,b){return a<=b},a,b,c)});R(\">=\",4,2,function(a,b,c){return", " Q(function(a,b){return a>=b},a,b,c)});var Da=R(\"=\",3,2,function(a,b,", "c){return Q(function(a,b){return a==b},a,b,c,!0)});R(\"!=\",3,2,functio", "n(a,b,c){return Q(function(a,b){return a!=b},a,b,c,!0)});R(\"and\",2,2,", "function(a,b,c){return O(a,c)&&O(b,c)});R(\"or\",1,2,function(a,b,c){re", "turn O(a,c)||O(b,c)});function Ga(a,b){if(b.m()&&4!=a.f)throw Error(\"P", "rimary expression must evaluate to nodeset if filter has predicate(s).", "\");q.call(this,a.f);this.aa=a;this.b=b;this.o=a.c();this.h=a.h}p(Ga);G", "a.prototype.evaluate=function(a){a=this.aa.evaluate(a);return Ha(this.b", ",a)};Ga.prototype.toString=function(){var a=\"Filter:\"+L(this.aa);retu", "rn a+=L(this.b)};function Ia(a,b){if(b.lengtha.R)throw Error(\"Function \"+a.i+\" expects ", "at most \"+a.R+\" arguments, \"+b.length+\" given\");a.ia&&t(b,function", "(b,d){if(4!=b.f)throw Error(\"Argument \"+d+\" to function \"+a.i+\" is", " not of type Nodeset: \"+b);});q.call(this,a.f);this.I=a;this.N=b;Ba(th", "is,a.o||v(b,function(a){return a.c()}));Ca(this,a.ga&&!b.length||a.fa&&", "!!b.length||v(b,function(a){return a.h}))}p(Ia);\nIa.prototype.evaluate", "=function(a){return this.I.v.apply(null,ia(a,this.N))};Ia.prototype.toS", "tring=function(){var a=\"Function: \"+this.I;if(this.N.length)var b=u(t", "his.N,function(a,b){return a+L(b)},\"Arguments:\"),a=a+L(b);return a};f", "unction Ja(a,b,c,d,e,f,g,l,y){this.i=a;this.f=b;this.o=c;this.ga=d;this", ".fa=e;this.v=f;this.Z=g;this.R=void 0!==l?l:g;this.ia=!!y}Ja.prototype.", "toString=function(){return this.i};var Ka={};\nfunction S(a,b,c,d,e,f,g", ",l){if(Ka.hasOwnProperty(a))throw Error(\"Function already created: \"+", "a+\".\");Ka[a]=new Ja(a,b,c,d,!1,e,f,g,l)}S(\"boolean\",2,!1,!1,functio", "n(a,b){return O(b,a)},1);S(\"ceiling\",1,!1,!1,function(a,b){return Mat", "h.ceil(M(b,a))},1);S(\"concat\",3,!1,!1,function(a,b){return u(ka(argum", "ents,1),function(b,d){return b+N(d,a)},\"\")},2,null);S(\"contains\",2,", "!1,!1,function(a,b,c){b=N(b,a);a=N(c,a);return-1!=b.indexOf(a)},2);S(\"", "count\",1,!1,!1,function(a,b){return b.evaluate(a).m()},1,1,!0);\nS(\"f", "alse\",2,!1,!1,function(){return!1},0);S(\"floor\",1,!1,!1,function(a,b", "){return Math.floor(M(b,a))},1);S(\"id\",4,!1,!1,function(a,b){var c=a.", "l,d=9==c.nodeType?c:c.ownerDocument;a=N(b,a).split(/\\s+/);var e=[];t(a", ",function(a){a=d.getElementById(a);var b;if(!(b=!a)){a:if(m(e))b=m(a)&&", "1==a.length?e.indexOf(a,0):-1;else{for(b=0;ba.length)throw Error(\"Unclose", "d literal string\");return new Ma(a)}\nfunction hb(a){var b=[];if(Ra(D(", "a.a))){var c=a.a.next();var d=D(a.a);if(\"/\"==c&&(a.a.empty()||\".\"!=", "d&&\"..\"!=d&&\"@\"!=d&&\"*\"!=d&&!/(?![0-9])[\\w]/.test(d)))return new", " U;d=new U;Y(a,\"Missing next location step.\");c=ib(a,c);b.push(c)}els", "e{a:{c=D(a.a);d=c.charAt(0);switch(d){case \"$\":throw Error(\"Variable", " reference not allowed in HTML XPath\");case \"(\":a.a.next();c=cb(a);Y", "(a,'unclosed \"(\"');eb(a,\")\");break;case '\"':case \"'\":c=gb(a);bre", "ak;default:if(isNaN(+c))if(!La(c)&&/(?![0-9])[\\w]/.test(d)&&\"(\"==D(a", ".a,\n1)){c=a.a.next();c=Ka[c]||null;a.a.next();for(d=[];\")\"!=D(a.a);)", "{Y(a,\"Missing function argument list.\");d.push(cb(a));if(\",\"!=D(a.a", "))break;a.a.next()}Y(a,\"Unclosed function argument list.\");fb(a);c=ne", "w Ia(c,d)}else{c=null;break a}else c=new Na(+a.a.next())}\"[\"==D(a.a)&", "&(d=new V(jb(a)),c=new Ga(c,d))}if(c)if(Ra(D(a.a)))d=c;else return c;el", "se c=ib(a,\"/\"),d=new Qa,b.push(c)}for(;Ra(D(a.a));)c=a.a.next(),Y(a,", "\"Missing next location step.\"),c=ib(a,c),b.push(c);return new Oa(d,b)", "}\nfunction ib(a,b){if(\"/\"!=b&&\"//\"!=b)throw Error('Step op should ", "be \"/\" or \"//\"');if(\".\"==D(a.a)){var c=new W(Za,new I(\"node\"));", "a.a.next();return c}if(\"..\"==D(a.a))return c=new W(Ya,new I(\"node\")", "),a.a.next(),c;if(\"@\"==D(a.a)){var d=Pa;a.a.next();Y(a,\"Missing attr", "ibute name\")}else if(\"::\"==D(a.a,1)){if(!/(?![0-9])[\\w]/.test(D(a.a", ").charAt(0)))throw Error(\"Bad token: \"+a.a.next());var e=a.a.next();d", "=Xa[e]||null;if(!d)throw Error(\"No axis with name: \"+e);a.a.next();Y(", "a,\"Missing node name\")}else d=Ua;e=\nD(a.a);if(/(?![0-9])[\\w\\*]/.te", "st(e.charAt(0)))if(\"(\"==D(a.a,1)){if(!La(e))throw Error(\"Invalid nod", "e type: \"+e);e=a.a.next();if(!La(e))throw Error(\"Invalid type name: ", "\"+e);eb(a,\"(\");Y(a,\"Bad nodetype\");var f=D(a.a).charAt(0),g=null;i", "f('\"'==f||\"'\"==f)g=gb(a);Y(a,\"Bad nodetype\");fb(a);e=new I(e,g)}el", "se if(e=a.a.next(),f=e.indexOf(\":\"),-1==f)e=new T(e);else{var g=e.sub", "string(0,f);if(\"*\"==g)var l=\"*\";else if(l=a.ja(g),!l)throw Error(\"", "Namespace prefix not declared: \"+g);e=e.substr(f+1);e=new T(e,l)}else ", "throw Error(\"Bad token: \"+\na.a.next());a=new V(jb(a),d.A);return c||", "new W(d,e,a,\"//\"==b)}function jb(a){for(var b=[];\"[\"==D(a.a);){a.a.", "next();Y(a,\"Missing predicate expression.\");var c=cb(a);b.push(c);Y(a", ",\"Unclosed predicate expression.\");eb(a,\"]\")}return b}function db(a", "){if(\"-\"==D(a.a))return a.a.next(),new $a(db(a));var b=hb(a);if(\"|\"", "!=D(a.a))a=b;else{for(b=[b];\"|\"==a.a.next();)Y(a,\"Missing next union", " location path.\"),b.push(hb(a));a.a.back();a=new ab(b)}return a};funct", "ion kb(a){switch(a.nodeType){case 1:return ha(lb,a);case 9:return kb(a.", "documentElement);case 11:case 10:case 6:case 12:return mb;default:retur", "n a.parentNode?kb(a.parentNode):mb}}function mb(){return null}function ", "lb(a,b){if(a.prefix==b)return a.namespaceURI||\"http://www.w3.org/1999/", "xhtml\";var c=a.getAttributeNode(\"xmlns:\"+b);return c&&c.specified?c.", "value||null:a.parentNode&&9!=a.parentNode.nodeType?lb(a.parentNode,b):n", "ull};function nb(a,b){if(!a.length)throw Error(\"Empty XPath expression", ".\");a=sa(a);if(a.empty())throw Error(\"Invalid XPath expression.\");b?", "\"function\"==ba(b)||(b=ga(b.lookupNamespaceURI,b)):b=function(){return", " null};var c=cb(new bb(a,b));if(!a.empty())throw Error(\"Bad token: \"+", "a.next());this.evaluate=function(a,b){a=c.evaluate(new B(a));return new", " Z(a,b)}}\nfunction Z(a,b){if(0==b)if(a instanceof H)b=4;else if(\"stri", "ng\"==typeof a)b=2;else if(\"number\"==typeof a)b=1;else if(\"boolean\"", "==typeof a)b=3;else throw Error(\"Unexpected evaluation result.\");if(2", "!=b&&1!=b&&3!=b&&!(a instanceof H))throw Error(\"value could not be con", "verted to the specified type\");this.resultType=b;switch(b){case 2:this", ".stringValue=a instanceof H?K(a):\"\"+a;break;case 1:this.numberValue=a", " instanceof H?+K(a):+a;break;case 3:this.booleanValue=a instanceof H?0<", "a.m():!!a;break;case 4:case 5:case 6:case 7:var c=\na.iterator();var d=", "[];for(var e=c.next();e;e=c.next())d.push(e);this.snapshotLength=a.m();", "this.invalidIteratorState=!1;break;case 8:case 9:this.singleNodeValue=J", "(a);break;default:throw Error(\"Unknown XPathResult type.\");}var f=0;t", "his.iterateNext=function(){if(4!=b&&5!=b)throw Error(\"iterateNext call", "ed with wrong result type\");return f>=d.length?null:d[f++]};this.snaps", "hotItem=function(a){if(6!=b&&7!=b)throw Error(\"snapshotItem called wit", "h wrong result type\");return a>=d.length||0>a?null:d[a]}}\nZ.ANY_TYPE=", "0;Z.NUMBER_TYPE=1;Z.STRING_TYPE=2;Z.BOOLEAN_TYPE=3;Z.UNORDERED_NODE_ITE", "RATOR_TYPE=4;Z.ORDERED_NODE_ITERATOR_TYPE=5;Z.UNORDERED_NODE_SNAPSHOT_T", "YPE=6;Z.ORDERED_NODE_SNAPSHOT_TYPE=7;Z.ANY_UNORDERED_NODE_TYPE=8;Z.FIRS", "T_ORDERED_NODE_TYPE=9;function ob(a){this.lookupNamespaceURI=kb(a)}\naa", "(\"wgxpath.install\",function(a,b){a=a||k;var c=a.Document&&a.Document.", "prototype||a.document;if(!c.evaluate||b)a.XPathResult=Z,c.evaluate=func", "tion(a,b,c,g){return(new nb(a,c)).evaluate(b,g)},c.createExpression=fun", "ction(a,b){return new nb(a,b)},c.createNSResolver=function(a){return ne", "w ob(a)}});function pb(a,b,c,d){this.top=a;this.right=b;this.bottom=c;t", "his.left=d}h=pb.prototype;h.clone=function(){return new pb(this.top,thi", "s.right,this.bottom,this.left)};h.toString=function(){return\"(\"+this.", "top+\"t, \"+this.right+\"r, \"+this.bottom+\"b, \"+this.left+\"l)\"};h.", "contains=function(a){return this&&a?a instanceof pb?a.left>=this.left&&", "a.right<=this.right&&a.top>=this.top&&a.bottom<=this.bottom:a.x>=this.l", "eft&&a.x<=this.right&&a.y>=this.top&&a.y<=this.bottom:!1};\nh.expand=fu", "nction(a,b,c,d){da(a)?(this.top-=a.top,this.right+=a.right,this.bottom+", "=a.bottom,this.left-=a.left):(this.top-=a,this.right+=Number(b),this.bo", "ttom+=Number(c),this.left-=Number(d));return this};h.ceil=function(){th", "is.top=Math.ceil(this.top);this.right=Math.ceil(this.right);this.bottom", "=Math.ceil(this.bottom);this.left=Math.ceil(this.left);return this};\nh", ".floor=function(){this.top=Math.floor(this.top);this.right=Math.floor(t", "his.right);this.bottom=Math.floor(this.bottom);this.left=Math.floor(thi", "s.left);return this};h.round=function(){this.top=Math.round(this.top);t", "his.right=Math.round(this.right);this.bottom=Math.round(this.bottom);th", "is.left=Math.round(this.left);return this};h.translate=function(a,b){a ", "instanceof w?(this.left+=a.x,this.right+=a.x,this.top+=a.y,this.bottom+", "=a.y):(this.left+=a,this.right+=a,n(b)&&(this.top+=b,this.bottom+=b));r", "eturn this};\nh.scale=function(a,b){b=n(b)?b:a;this.left*=a;this.right*", "=a;this.top*=b;this.bottom*=b;return this};function qb(a,b,c,d){this.le", "ft=a;this.top=b;this.width=c;this.height=d}h=qb.prototype;h.clone=funct", "ion(){return new qb(this.left,this.top,this.width,this.height)};h.toStr", "ing=function(){return\"(\"+this.left+\", \"+this.top+\" - \"+this.width", "+\"w x \"+this.height+\"h)\"};h.contains=function(a){return a instanceo", "f w?a.x>=this.left&&a.x<=this.left+this.width&&a.y>=this.top&&a.y<=this", ".top+this.height:this.left<=a.left&&this.left+this.width>=a.left+a.widt", "h&&this.top<=a.top&&this.top+this.height>=a.top+a.height};\nh.ceil=func", "tion(){this.left=Math.ceil(this.left);this.top=Math.ceil(this.top);this", ".width=Math.ceil(this.width);this.height=Math.ceil(this.height);return ", "this};h.floor=function(){this.left=Math.floor(this.left);this.top=Math.", "floor(this.top);this.width=Math.floor(this.width);this.height=Math.floo", "r(this.height);return this};h.round=function(){this.left=Math.round(thi", "s.left);this.top=Math.round(this.top);this.width=Math.round(this.width)", ";this.height=Math.round(this.height);return this};\nh.translate=functio", "n(a,b){a instanceof w?(this.left+=a.x,this.top+=a.y):(this.left+=a,n(b)", "&&(this.top+=b));return this};h.scale=function(a,b){b=n(b)?b:a;this.lef", "t*=a;this.width*=a;this.top*=b;this.height*=b;return this};function rb(", "a,b){var c=z(a);return c.defaultView&&c.defaultView.getComputedStyle&&(", "a=c.defaultView.getComputedStyle(a,null))?a[b]||a.getPropertyValue(b)||", "\"\":\"\"}function tb(a){try{var b=a.getBoundingClientRect()}catch(c){r", "eturn{left:0,top:0,right:0,bottom:0}}return b}\nfunction ub(a){var b=z(", "a),c=new w(0,0);if(a==(b?z(b):document).documentElement)return c;a=tb(a", ");var d=(b?new A(z(b)):r||(r=new A)).D,b=d.scrollingElement?d.scrolling", "Element:d.body||d.documentElement,d=d.parentWindow||d.defaultView,b=new", " w(d.pageXOffset||b.scrollLeft,d.pageYOffset||b.scrollTop);c.x=a.left+b", ".x;c.y=a.top+b.y;return c}function vb(a){if(1==a.nodeType)return a=tb(a", "),new w(a.left,a.top);a=a.changedTouches?a.changedTouches[0]:a;return n", "ew w(a.clientX,a.clientY)};var wb=\"function\"===typeof ShadowRoot;func", "tion xb(a,b){b=ub(b);var c=ub(a);b=new w(b.x-c.x,b.y-c.y);var d=rb(a,\"", "borderLeftWidth\");var e=rb(a,\"borderRightWidth\");c=rb(a,\"borderTopW", "idth\");a=rb(a,\"borderBottomWidth\");a=new pb(parseFloat(c),parseFloat", "(e),parseFloat(a),parseFloat(d));b.x-=a.left;b.y-=a.top;return b}\nfunc", "tion yb(a,b,c){function d(a,b,c,d,e){d=new qb(c.x+d.left,c.y+d.top,d.wi", "dth,d.height);c=[0,0];b=[b.width,b.height];var f=[d.left,d.top];d=[d.wi", "dth,d.height];for(var g=0;2>g;g++)if(d[g]>b[g])c[g]=e?f[g]+d[g]/2-b[g]/", "2:f[g];else{var l=f[g]-b[g]+d[g];0f[g]&&(c[g]=f[g])}e=new w", "(c[0],c[1]);a.scrollLeft+=e.x;a.scrollTop+=e.y}function e(a){var b=a.pa", "rentNode;wb&&b instanceof ShadowRoot&&(b=a.host);return b}for(var f=z(a", "),g=e(a),l;g&&g!=f.documentElement&&g!=f.body;)l=xb(g,a),d(g,new x(g.cl", "ientWidth,\ng.clientHeight),l,b,c),g=e(g);l=vb(a);a=ra(a?new A(z(a)):r|", "|(r=new A));d(f.documentElement,a,l,b,c);d(f.body,a,l,b,c)};aa(\"_\",fu", "nction(a,b,c){c||(c=new qb(0,0,a.offsetWidth,a.offsetHeight));yb(a,c,b)", ";a=vb(a);return new w(a.x+c.left,a.y+c.top)});; return this._.apply(nul", "l,arguments);}.apply({navigator:typeof window!='undefined'?window.navig", "ator:null,document:typeof window!='undefined'?window.document:null}, ar", "guments);}", NULL }; const char* const GET_PAGE_ZOOM[] = { "function(){return function(){var aa=this;function h(a){return\"string\"", "==typeof a}function ba(a,b){a=a.split(\".\");var c=aa;a[0]in c||!c.exec", "Script||c.execScript(\"var \"+a[0]);for(var d;a.length&&(d=a.shift());)", "a.length||void 0===b?c=c[d]&&c[d]!==Object.prototype[d]?c[d]:c[d]={}:c[", "d]=b}\nfunction ca(a){var b=typeof a;if(\"object\"==b)if(a){if(a instan", "ceof 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\"!=t", "ypeof a.splice&&\"undefined\"!=typeof a.propertyIsEnumerable&&!a.proper", "tyIsEnumerable(\"splice\"))return\"array\";if(\"[object Function]\"==c|", "|\"undefined\"!=typeof a.call&&\"undefined\"!=typeof a.propertyIsEnumer", "able&&!a.propertyIsEnumerable(\"call\"))return\"function\"}else return", "\"null\";\nelse if(\"function\"==b&&\"undefined\"==typeof a.call)return", "\"object\";return b}function da(a,b,c){return a.call.apply(a.bind,argum", "ents)}function ea(a,b,c){if(!a)throw Error();if(2=arguments.length?Array.prototype.slice.c", "all(a,b):Array.prototype.slice.call(a,b,c)};function ja(a,b){if(!a||!b)", "return!1;if(a.contains&&1==b.nodeType)return a==b||a.contains(b);if(\"u", "ndefined\"!=typeof a.compareDocumentPosition)return a==b||!!(a.compareD", "ocumentPosition(b)&16);for(;b&&a!=b;)b=b.parentNode;return b==a}\nfunct", "ion ka(a,b){if(a==b)return 0;if(a.compareDocumentPosition)return a.comp", "areDocumentPosition(b)&2?1:-1;if(\"sourceIndex\"in a||a.parentNode&&\"s", "ourceIndex\"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?ma(a,b):!c&&ja(e,b)?-1*na(a,b):!d&&ja(f,a)?na(b,a):(c?a.sou", "rceIndex:e.sourceIndex)-(d?b.sourceIndex:f.sourceIndex)}d=9==a.nodeType", "?a:a.ownerDocument||a.document;c=d.createRange();c.selectNode(a);c.coll", "apse(!0);\na=d.createRange();a.selectNode(b);a.collapse(!0);return c.co", "mpareBoundaryPoints(aa.Range.START_TO_END,a)}function na(a,b){var c=a.p", "arentNode;if(c==b)return-1;for(;b.parentNode!=c;)b=b.parentNode;return ", "ma(b,a)}function ma(a,b){for(;b=b.previousSibling;)if(b==a)return-1;ret", "urn 1};/*\n\n The MIT License\n\n Copyright (c) 2007 Cybozu Labs, Inc.", "\n Copyright (c) 2012 Google Inc.\n\n Permission is hereby granted, fre", "e of charge, to any person obtaining a copy\n of this software and asso", "ciated documentation files (the \"Software\"), to\n deal in the Softwar", "e without restriction, including without limitation the\n rights to use", ", copy, modify, merge, publish, distribute, sublicense, and/or\n sell c", "opies of the Software, and to permit persons to whom the Software is\n ", "furnished to do so, subject to the following conditions:\n\n The above ", "copyright notice and this permission notice shall be included in\n all ", "copies or substantial portions of the Software.\n\n THE SOFTWARE IS PRO", "VIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n IMPLIED, IN", "CLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n FITNESS", " FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n ", "AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER", "\n LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARIS", "ING\n FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTH", "ER DEALINGS\n IN THE SOFTWARE.\n*/\nfunction r(a,b,c){this.l=a;this.ka=", "b||1;this.j=c||1};function t(a){this.S=a;this.I=0}function oa(a){a=a.ma", "tch(pa);for(var b=0;b]=|\\s+|./g,qa=/^\\s/;function u(a,b){return a.S[a.I+(b||0", ")]}t.prototype.next=function(){return this.S[this.I++]};t.prototype.bac", "k=function(){this.I--};t.prototype.empty=function(){return this.S.lengt", "h<=this.I};function v(a){var b=null,c=a.nodeType;1==c&&(b=a.textContent", ",b=void 0==b||null==b?a.innerText:b,b=void 0==b||null==b?\"\":b);if(\"s", "tring\"!=typeof b)if(9==c||1==c){a=9==c?a.documentElement:a.firstChild;", "for(var c=0,d=[],b=\"\";a;){do 1!=a.nodeType&&(b+=a.nodeValue),d[c++]=a", ";while(a=a.firstChild);for(;c&&!(a=d[--c].nextSibling););}}else b=a.nod", "eValue;return\"\"+b}\nfunction x(a,b,c){if(null===b)return!0;try{if(!a.", "getAttribute)return!1}catch(d){return!1}return null==c?!!a.getAttribute", "(b):a.getAttribute(b,2)==c}function y(a,b,c,d,e){return ra.call(null,a,", "b,h(c)?c:null,h(d)?d:null,e||new z)}\nfunction ra(a,b,c,d,e){b.getEleme", "ntsByName&&d&&\"name\"==c?(b=b.getElementsByName(d),n(b,function(b){a.m", "atches(b)&&e.add(b)})):b.getElementsByClassName&&d&&\"class\"==c?(b=b.g", "etElementsByClassName(d),n(b,function(b){b.className==d&&a.matches(b)&&", "e.add(b)})):a instanceof A?sa(a,b,c,d,e):b.getElementsByTagName&&(b=b.g", "etElementsByTagName(a.getName()),n(b,function(a){x(a,c,d)&&e.add(a)}));", "return e}function sa(a,b,c,d,e){for(b=b.firstChild;b;b=b.nextSibling)x(", "b,c,d)&&a.matches(b)&&e.add(b),sa(a,b,c,d,e)};function z(){this.j=this.", "g=null;this.D=0}function ta(a){this.node=a;this.next=this.w=null}functi", "on ua(a,b){if(!a.g)return b;if(!b.g)return a;var c=a.g;b=b.g;for(var d=", "null,e,f=0;c&&b;)c.node==b.node?(e=c,c=c.next,b=b.next):0\",4,2,function(a,b,c){return I(function(a,b){retur", "n a>b},a,b,c)});J(\"<=\",4,2,function(a,b,c){return I(function(a,b){ret", "urn a<=b},a,b,c)});J(\">=\",4,2,function(a,b,c){return I(function(a,b){", "return a>=b},a,b,c)});var ya=J(\"=\",3,2,function(a,b,c){return I(funct", "ion(a,b){return a==b},a,b,c,!0)});J(\"!=\",3,2,function(a,b,c){return I", "(function(a,b){return a!=b},a,b,c,!0)});J(\"and\",2,2,function(a,b,c){r", "eturn G(a,c)&&G(b,c)});J(\"or\",1,2,function(a,b,c){return G(a,c)||G(b,", "c)});function K(a,b){if(b.m()&&4!=a.f)throw Error(\"Primary expression ", "must evaluate to nodeset if filter has predicate(s).\");m.call(this,a.f", ");this.$=a;this.b=b;this.o=a.c();this.h=a.h}k(K);K.prototype.evaluate=f", "unction(a){a=this.$.evaluate(a);return Ba(this.b,a)};K.prototype.toStri", "ng=function(){var a=\"Filter:\"+D(this.$);return a+=D(this.b)};function", " L(a,b){if(b.length", "a.P)throw Error(\"Function \"+a.i+\" expects at most \"+a.P+\" argument", "s, \"+b.length+\" given\");a.ha&&n(b,function(b,d){if(4!=b.f)throw Erro", "r(\"Argument \"+d+\" to function \"+a.i+\" is not of type Nodeset: \"+b", ");});m.call(this,a.f);this.H=a;this.M=b;wa(this,a.o||q(b,function(a){re", "turn a.c()}));xa(this,a.fa&&!b.length||a.ea&&!!b.length||q(b,function(a", "){return a.h}))}k(L);\nL.prototype.evaluate=function(a){return this.H.v", ".apply(null,ha(a,this.M))};L.prototype.toString=function(){var a=\"Func", "tion: \"+this.H;if(this.M.length)var b=p(this.M,function(a,b){return a+", "D(b)},\"Arguments:\"),a=a+D(b);return a};function Ca(a,b,c,d,e,f,g,l,w)", "{this.i=a;this.f=b;this.o=c;this.fa=d;this.ea=e;this.v=f;this.Y=g;this.", "P=void 0!==l?l:g;this.ha=!!w}Ca.prototype.toString=function(){return th", "is.i};var Da={};\nfunction M(a,b,c,d,e,f,g,l){if(Da.hasOwnProperty(a))t", "hrow Error(\"Function already created: \"+a+\".\");Da[a]=new Ca(a,b,c,d", ",!1,e,f,g,l)}M(\"boolean\",2,!1,!1,function(a,b){return G(b,a)},1);M(\"", "ceiling\",1,!1,!1,function(a,b){return Math.ceil(E(b,a))},1);M(\"concat", "\",3,!1,!1,function(a,b){return p(ia(arguments,1),function(b,d){return ", "b+F(d,a)},\"\")},2,null);M(\"contains\",2,!1,!1,function(a,b,c){b=F(b,a", ");a=F(c,a);return-1!=b.indexOf(a)},2);M(\"count\",1,!1,!1,function(a,b)", "{return b.evaluate(a).m()},1,1,!0);\nM(\"false\",2,!1,!1,function(){ret", "urn!1},0);M(\"floor\",1,!1,!1,function(a,b){return Math.floor(E(b,a))},", "1);M(\"id\",4,!1,!1,function(a,b){var c=a.l,d=9==c.nodeType?c:c.ownerDo", "cument;a=F(b,a).split(/\\s+/);var e=[];n(a,function(a){a=d.getElementBy", "Id(a);var b;if(!(b=!a)){a:if(h(e))b=h(a)&&1==a.length?e.indexOf(a,0):-1", ";else{for(b=0;ba.length)th", "row Error(\"Unclosed literal string\");return new N(a)}\nfunction Va(a)", "{var b=[];if(Ga(u(a.a))){var c=a.a.next();var d=u(a.a);if(\"/\"==c&&(a.", "a.empty()||\".\"!=d&&\"..\"!=d&&\"@\"!=d&&\"*\"!=d&&!/(?![0-9])[\\w]/.t", "est(d)))return new R;d=new R;Y(a,\"Missing next location step.\");c=Wa(", "a,c);b.push(c)}else{a:{c=u(a.a);d=c.charAt(0);switch(d){case \"$\":thro", "w Error(\"Variable reference not allowed in HTML XPath\");case \"(\":a.", "a.next();c=Qa(a);Y(a,'unclosed \"(\"');Sa(a,\")\");break;case '\"':case", " \"'\":c=Ua(a);break;default:if(isNaN(+c))if(!Ea(c)&&/(?![0-9])[\\w]/.t", "est(d)&&\"(\"==u(a.a,\n1)){c=a.a.next();c=Da[c]||null;a.a.next();for(d=", "[];\")\"!=u(a.a);){Y(a,\"Missing function argument list.\");d.push(Qa(a", "));if(\",\"!=u(a.a))break;a.a.next()}Y(a,\"Unclosed function argument l", "ist.\");Ta(a);c=new L(c,d)}else{c=null;break a}else c=new P(+a.a.next()", ")}\"[\"==u(a.a)&&(d=new T(Xa(a)),c=new K(c,d))}if(c)if(Ga(u(a.a)))d=c;e", "lse return c;else c=Wa(a,\"/\"),d=new S,b.push(c)}for(;Ga(u(a.a));)c=a.", "a.next(),Y(a,\"Missing next location step.\"),c=Wa(a,c),b.push(c);retur", "n new Q(d,b)}\nfunction Wa(a,b){if(\"/\"!=b&&\"//\"!=b)throw Error('Ste", "p op should be \"/\" or \"//\"');if(\".\"==u(a.a)){var c=new U(Oa,new A", "(\"node\"));a.a.next();return c}if(\"..\"==u(a.a))return c=new U(Na,new", " A(\"node\")),a.a.next(),c;if(\"@\"==u(a.a)){var d=Fa;a.a.next();Y(a,\"", "Missing attribute name\")}else if(\"::\"==u(a.a,1)){if(!/(?![0-9])[\\w]", "/.test(u(a.a).charAt(0)))throw Error(\"Bad token: \"+a.a.next());var e=", "a.a.next();d=Ma[e]||null;if(!d)throw Error(\"No axis with name: \"+e);a", ".a.next();Y(a,\"Missing node name\")}else d=Ja;e=\nu(a.a);if(/(?![0-9])", "[\\w\\*]/.test(e.charAt(0)))if(\"(\"==u(a.a,1)){if(!Ea(e))throw Error(", "\"Invalid node type: \"+e);e=a.a.next();if(!Ea(e))throw Error(\"Invalid", " type name: \"+e);Sa(a,\"(\");Y(a,\"Bad nodetype\");var f=u(a.a).charAt", "(0),g=null;if('\"'==f||\"'\"==f)g=Ua(a);Y(a,\"Bad nodetype\");Ta(a);e=n", "ew A(e,g)}else if(e=a.a.next(),f=e.indexOf(\":\"),-1==f)e=new O(e);else", "{var g=e.substring(0,f);if(\"*\"==g)var l=\"*\";else if(l=a.ia(g),!l)th", "row Error(\"Namespace prefix not declared: \"+g);e=e.substr(f+1);e=new ", "O(e,l)}else throw Error(\"Bad token: \"+\na.a.next());a=new T(Xa(a),d.A", ");return c||new U(d,e,a,\"//\"==b)}function Xa(a){for(var b=[];\"[\"==u", "(a.a);){a.a.next();Y(a,\"Missing predicate expression.\");var c=Qa(a);b", ".push(c);Y(a,\"Unclosed predicate expression.\");Sa(a,\"]\")}return b}f", "unction Ra(a){if(\"-\"==u(a.a))return a.a.next(),new W(Ra(a));var b=Va(", "a);if(\"|\"!=u(a.a))a=b;else{for(b=[b];\"|\"==a.a.next();)Y(a,\"Missing", " next union location path.\"),b.push(Va(a));a.a.back();a=new X(b)}retur", "n a};function Ya(a){switch(a.nodeType){case 1:return ga(Za,a);case 9:re", "turn Ya(a.documentElement);case 11:case 10:case 6:case 12:return ab;def", "ault:return a.parentNode?Ya(a.parentNode):ab}}function ab(){return null", "}function Za(a,b){if(a.prefix==b)return a.namespaceURI||\"http://www.w3", ".org/1999/xhtml\";var c=a.getAttributeNode(\"xmlns:\"+b);return c&&c.sp", "ecified?c.value||null:a.parentNode&&9!=a.parentNode.nodeType?Za(a.paren", "tNode,b):null};function bb(a,b){if(!a.length)throw Error(\"Empty XPath ", "expression.\");a=oa(a);if(a.empty())throw Error(\"Invalid XPath express", "ion.\");b?\"function\"==ca(b)||(b=fa(b.lookupNamespaceURI,b)):b=functio", "n(){return null};var c=Qa(new Pa(a,b));if(!a.empty())throw Error(\"Bad ", "token: \"+a.next());this.evaluate=function(a,b){a=c.evaluate(new r(a));", "return new Z(a,b)}}\nfunction Z(a,b){if(0==b)if(a instanceof z)b=4;else", " if(\"string\"==typeof a)b=2;else if(\"number\"==typeof a)b=1;else if(", "\"boolean\"==typeof a)b=3;else throw Error(\"Unexpected evaluation resu", "lt.\");if(2!=b&&1!=b&&3!=b&&!(a instanceof z))throw Error(\"value could", " not be converted to the specified type\");this.resultType=b;switch(b){", "case 2:this.stringValue=a instanceof z?C(a):\"\"+a;break;case 1:this.nu", "mberValue=a instanceof z?+C(a):+a;break;case 3:this.booleanValue=a inst", "anceof z?0=d.length?null:d[f++]}", ";this.snapshotItem=function(a){if(6!=b&&7!=b)throw Error(\"snapshotItem", " called with wrong result type\");return a>=d.length||0>a?null:d[a]}}\n", "Z.ANY_TYPE=0;Z.NUMBER_TYPE=1;Z.STRING_TYPE=2;Z.BOOLEAN_TYPE=3;Z.UNORDER", "ED_NODE_ITERATOR_TYPE=4;Z.ORDERED_NODE_ITERATOR_TYPE=5;Z.UNORDERED_NODE", "_SNAPSHOT_TYPE=6;Z.ORDERED_NODE_SNAPSHOT_TYPE=7;Z.ANY_UNORDERED_NODE_TY", "PE=8;Z.FIRST_ORDERED_NODE_TYPE=9;function cb(a){this.lookupNamespaceURI", "=Ya(a)}\nba(\"wgxpath.install\",function(a,b){a=a||aa;var c=a.Document&", "&a.Document.prototype||a.document;if(!c.evaluate||b)a.XPathResult=Z,c.e", "valuate=function(a,b,c,g){return(new bb(a,c)).evaluate(b,g)},c.createEx", "pression=function(a,b){return new bb(a,b)},c.createNSResolver=function(", "a){return new cb(a)}});ba(\"_\",function(a){a=9==a.nodeType?a:a.ownerDo", "cument||a.document;var b=a.documentElement;return a.width/Math.max(b.cl", "ientWidth,b.offsetWidth,b.scrollWidth)});; return this._.apply(null,arg", "uments);}.apply({navigator:typeof window!='undefined'?window.navigator:", "null,document:typeof window!='undefined'?window.document:null}, argumen", "ts);}", NULL }; const char* const IS_ELEMENT_CLICKABLE[] = { "function(){return function(){var aa=this;function h(a){return\"string\"", "==typeof a}function ba(a,b){a=a.split(\".\");var c=aa;a[0]in c||!c.exec", "Script||c.execScript(\"var \"+a[0]);for(var d;a.length&&(d=a.shift());)", "a.length||void 0===b?c=c[d]&&c[d]!==Object.prototype[d]?c[d]:c[d]={}:c[", "d]=b}\nfunction ca(a){var b=typeof a;if(\"object\"==b)if(a){if(a instan", "ceof 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\"!=t", "ypeof a.splice&&\"undefined\"!=typeof a.propertyIsEnumerable&&!a.proper", "tyIsEnumerable(\"splice\"))return\"array\";if(\"[object Function]\"==c|", "|\"undefined\"!=typeof a.call&&\"undefined\"!=typeof a.propertyIsEnumer", "able&&!a.propertyIsEnumerable(\"call\"))return\"function\"}else return", "\"null\";\nelse if(\"function\"==b&&\"undefined\"==typeof a.call)return", "\"object\";return b}function da(a,b,c){return a.call.apply(a.bind,argum", "ents)}function ea(a,b,c){if(!a)throw Error();if(2=arguments.length?Array.prototype.slice.c", "all(a,b):Array.prototype.slice.call(a,b,c)};function ja(a,b){if(!a||!b)", "return!1;if(a.contains&&1==b.nodeType)return a==b||a.contains(b);if(\"u", "ndefined\"!=typeof a.compareDocumentPosition)return a==b||!!(a.compareD", "ocumentPosition(b)&16);for(;b&&a!=b;)b=b.parentNode;return b==a}\nfunct", "ion ka(a,b){if(a==b)return 0;if(a.compareDocumentPosition)return a.comp", "areDocumentPosition(b)&2?1:-1;if(\"sourceIndex\"in a||a.parentNode&&\"s", "ourceIndex\"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?ma(a,b):!c&&ja(e,b)?-1*na(a,b):!d&&ja(f,a)?na(b,a):(c?a.sou", "rceIndex:e.sourceIndex)-(d?b.sourceIndex:f.sourceIndex)}d=9==a.nodeType", "?a:a.ownerDocument||a.document;c=d.createRange();c.selectNode(a);c.coll", "apse(!0);\na=d.createRange();a.selectNode(b);a.collapse(!0);return c.co", "mpareBoundaryPoints(aa.Range.START_TO_END,a)}function na(a,b){var c=a.p", "arentNode;if(c==b)return-1;for(;b.parentNode!=c;)b=b.parentNode;return ", "ma(b,a)}function ma(a,b){for(;b=b.previousSibling;)if(b==a)return-1;ret", "urn 1};/*\n\n The MIT License\n\n Copyright (c) 2007 Cybozu Labs, Inc.", "\n Copyright (c) 2012 Google Inc.\n\n Permission is hereby granted, fre", "e of charge, to any person obtaining a copy\n of this software and asso", "ciated documentation files (the \"Software\"), to\n deal in the Softwar", "e without restriction, including without limitation the\n rights to use", ", copy, modify, merge, publish, distribute, sublicense, and/or\n sell c", "opies of the Software, and to permit persons to whom the Software is\n ", "furnished to do so, subject to the following conditions:\n\n The above ", "copyright notice and this permission notice shall be included in\n all ", "copies or substantial portions of the Software.\n\n THE SOFTWARE IS PRO", "VIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n IMPLIED, IN", "CLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n FITNESS", " FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n ", "AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER", "\n LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARIS", "ING\n FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTH", "ER DEALINGS\n IN THE SOFTWARE.\n*/\nfunction r(a,b,c){this.l=a;this.ka=", "b||1;this.j=c||1};function t(a){this.S=a;this.I=0}function oa(a){a=a.ma", "tch(pa);for(var b=0;b]=|\\s+|./g,qa=/^\\s/;function u(a,b){return a.S[a.I+(b||0", ")]}t.prototype.next=function(){return this.S[this.I++]};t.prototype.bac", "k=function(){this.I--};t.prototype.empty=function(){return this.S.lengt", "h<=this.I};function v(a){var b=null,c=a.nodeType;1==c&&(b=a.textContent", ",b=void 0==b||null==b?a.innerText:b,b=void 0==b||null==b?\"\":b);if(\"s", "tring\"!=typeof b)if(9==c||1==c){a=9==c?a.documentElement:a.firstChild;", "for(var c=0,d=[],b=\"\";a;){do 1!=a.nodeType&&(b+=a.nodeValue),d[c++]=a", ";while(a=a.firstChild);for(;c&&!(a=d[--c].nextSibling););}}else b=a.nod", "eValue;return\"\"+b}\nfunction x(a,b,c){if(null===b)return!0;try{if(!a.", "getAttribute)return!1}catch(d){return!1}return null==c?!!a.getAttribute", "(b):a.getAttribute(b,2)==c}function y(a,b,c,d,e){return ra.call(null,a,", "b,h(c)?c:null,h(d)?d:null,e||new z)}\nfunction ra(a,b,c,d,e){b.getEleme", "ntsByName&&d&&\"name\"==c?(b=b.getElementsByName(d),n(b,function(b){a.m", "atches(b)&&e.add(b)})):b.getElementsByClassName&&d&&\"class\"==c?(b=b.g", "etElementsByClassName(d),n(b,function(b){b.className==d&&a.matches(b)&&", "e.add(b)})):a instanceof A?sa(a,b,c,d,e):b.getElementsByTagName&&(b=b.g", "etElementsByTagName(a.getName()),n(b,function(a){x(a,c,d)&&e.add(a)}));", "return e}function sa(a,b,c,d,e){for(b=b.firstChild;b;b=b.nextSibling)x(", "b,c,d)&&a.matches(b)&&e.add(b),sa(a,b,c,d,e)};function z(){this.j=this.", "g=null;this.D=0}function ta(a){this.node=a;this.next=this.w=null}functi", "on ua(a,b){if(!a.g)return b;if(!b.g)return a;var c=a.g;b=b.g;for(var d=", "null,e,f=0;c&&b;)c.node==b.node?(e=c,c=c.next,b=b.next):0\",4,2,function(a,b,c){return I(function(a,b){retur", "n a>b},a,b,c)});J(\"<=\",4,2,function(a,b,c){return I(function(a,b){ret", "urn a<=b},a,b,c)});J(\">=\",4,2,function(a,b,c){return I(function(a,b){", "return a>=b},a,b,c)});var ya=J(\"=\",3,2,function(a,b,c){return I(funct", "ion(a,b){return a==b},a,b,c,!0)});J(\"!=\",3,2,function(a,b,c){return I", "(function(a,b){return a!=b},a,b,c,!0)});J(\"and\",2,2,function(a,b,c){r", "eturn G(a,c)&&G(b,c)});J(\"or\",1,2,function(a,b,c){return G(a,c)||G(b,", "c)});function K(a,b){if(b.m()&&4!=a.f)throw Error(\"Primary expression ", "must evaluate to nodeset if filter has predicate(s).\");m.call(this,a.f", ");this.$=a;this.b=b;this.o=a.c();this.h=a.h}k(K);K.prototype.evaluate=f", "unction(a){a=this.$.evaluate(a);return Ba(this.b,a)};K.prototype.toStri", "ng=function(){var a=\"Filter:\"+D(this.$);return a+=D(this.b)};function", " L(a,b){if(b.length", "a.P)throw Error(\"Function \"+a.i+\" expects at most \"+a.P+\" argument", "s, \"+b.length+\" given\");a.ha&&n(b,function(b,d){if(4!=b.f)throw Erro", "r(\"Argument \"+d+\" to function \"+a.i+\" is not of type Nodeset: \"+b", ");});m.call(this,a.f);this.H=a;this.M=b;wa(this,a.o||q(b,function(a){re", "turn a.c()}));xa(this,a.fa&&!b.length||a.ea&&!!b.length||q(b,function(a", "){return a.h}))}k(L);\nL.prototype.evaluate=function(a){return this.H.v", ".apply(null,ha(a,this.M))};L.prototype.toString=function(){var a=\"Func", "tion: \"+this.H;if(this.M.length)var b=p(this.M,function(a,b){return a+", "D(b)},\"Arguments:\"),a=a+D(b);return a};function Ca(a,b,c,d,e,f,g,l,w)", "{this.i=a;this.f=b;this.o=c;this.fa=d;this.ea=e;this.v=f;this.Y=g;this.", "P=void 0!==l?l:g;this.ha=!!w}Ca.prototype.toString=function(){return th", "is.i};var Da={};\nfunction M(a,b,c,d,e,f,g,l){if(Da.hasOwnProperty(a))t", "hrow Error(\"Function already created: \"+a+\".\");Da[a]=new Ca(a,b,c,d", ",!1,e,f,g,l)}M(\"boolean\",2,!1,!1,function(a,b){return G(b,a)},1);M(\"", "ceiling\",1,!1,!1,function(a,b){return Math.ceil(E(b,a))},1);M(\"concat", "\",3,!1,!1,function(a,b){return p(ia(arguments,1),function(b,d){return ", "b+F(d,a)},\"\")},2,null);M(\"contains\",2,!1,!1,function(a,b,c){b=F(b,a", ");a=F(c,a);return-1!=b.indexOf(a)},2);M(\"count\",1,!1,!1,function(a,b)", "{return b.evaluate(a).m()},1,1,!0);\nM(\"false\",2,!1,!1,function(){ret", "urn!1},0);M(\"floor\",1,!1,!1,function(a,b){return Math.floor(E(b,a))},", "1);M(\"id\",4,!1,!1,function(a,b){var c=a.l,d=9==c.nodeType?c:c.ownerDo", "cument;a=F(b,a).split(/\\s+/);var e=[];n(a,function(a){a=d.getElementBy", "Id(a);var b;if(!(b=!a)){a:if(h(e))b=h(a)&&1==a.length?e.indexOf(a,0):-1", ";else{for(b=0;ba.length)th", "row Error(\"Unclosed literal string\");return new N(a)}\nfunction Va(a)", "{var b=[];if(Ga(u(a.a))){var c=a.a.next();var d=u(a.a);if(\"/\"==c&&(a.", "a.empty()||\".\"!=d&&\"..\"!=d&&\"@\"!=d&&\"*\"!=d&&!/(?![0-9])[\\w]/.t", "est(d)))return new R;d=new R;Y(a,\"Missing next location step.\");c=Wa(", "a,c);b.push(c)}else{a:{c=u(a.a);d=c.charAt(0);switch(d){case \"$\":thro", "w Error(\"Variable reference not allowed in HTML XPath\");case \"(\":a.", "a.next();c=Qa(a);Y(a,'unclosed \"(\"');Sa(a,\")\");break;case '\"':case", " \"'\":c=Ua(a);break;default:if(isNaN(+c))if(!Ea(c)&&/(?![0-9])[\\w]/.t", "est(d)&&\"(\"==u(a.a,\n1)){c=a.a.next();c=Da[c]||null;a.a.next();for(d=", "[];\")\"!=u(a.a);){Y(a,\"Missing function argument list.\");d.push(Qa(a", "));if(\",\"!=u(a.a))break;a.a.next()}Y(a,\"Unclosed function argument l", "ist.\");Ta(a);c=new L(c,d)}else{c=null;break a}else c=new P(+a.a.next()", ")}\"[\"==u(a.a)&&(d=new T(Xa(a)),c=new K(c,d))}if(c)if(Ga(u(a.a)))d=c;e", "lse return c;else c=Wa(a,\"/\"),d=new S,b.push(c)}for(;Ga(u(a.a));)c=a.", "a.next(),Y(a,\"Missing next location step.\"),c=Wa(a,c),b.push(c);retur", "n new Q(d,b)}\nfunction Wa(a,b){if(\"/\"!=b&&\"//\"!=b)throw Error('Ste", "p op should be \"/\" or \"//\"');if(\".\"==u(a.a)){var c=new U(Oa,new A", "(\"node\"));a.a.next();return c}if(\"..\"==u(a.a))return c=new U(Na,new", " A(\"node\")),a.a.next(),c;if(\"@\"==u(a.a)){var d=Fa;a.a.next();Y(a,\"", "Missing attribute name\")}else if(\"::\"==u(a.a,1)){if(!/(?![0-9])[\\w]", "/.test(u(a.a).charAt(0)))throw Error(\"Bad token: \"+a.a.next());var e=", "a.a.next();d=Ma[e]||null;if(!d)throw Error(\"No axis with name: \"+e);a", ".a.next();Y(a,\"Missing node name\")}else d=Ja;e=\nu(a.a);if(/(?![0-9])", "[\\w\\*]/.test(e.charAt(0)))if(\"(\"==u(a.a,1)){if(!Ea(e))throw Error(", "\"Invalid node type: \"+e);e=a.a.next();if(!Ea(e))throw Error(\"Invalid", " type name: \"+e);Sa(a,\"(\");Y(a,\"Bad nodetype\");var f=u(a.a).charAt", "(0),g=null;if('\"'==f||\"'\"==f)g=Ua(a);Y(a,\"Bad nodetype\");Ta(a);e=n", "ew A(e,g)}else if(e=a.a.next(),f=e.indexOf(\":\"),-1==f)e=new O(e);else", "{var g=e.substring(0,f);if(\"*\"==g)var l=\"*\";else if(l=a.ia(g),!l)th", "row Error(\"Namespace prefix not declared: \"+g);e=e.substr(f+1);e=new ", "O(e,l)}else throw Error(\"Bad token: \"+\na.a.next());a=new T(Xa(a),d.A", ");return c||new U(d,e,a,\"//\"==b)}function Xa(a){for(var b=[];\"[\"==u", "(a.a);){a.a.next();Y(a,\"Missing predicate expression.\");var c=Qa(a);b", ".push(c);Y(a,\"Unclosed predicate expression.\");Sa(a,\"]\")}return b}f", "unction Ra(a){if(\"-\"==u(a.a))return a.a.next(),new W(Ra(a));var b=Va(", "a);if(\"|\"!=u(a.a))a=b;else{for(b=[b];\"|\"==a.a.next();)Y(a,\"Missing", " next union location path.\"),b.push(Va(a));a.a.back();a=new X(b)}retur", "n a};function Ya(a){switch(a.nodeType){case 1:return ga(Za,a);case 9:re", "turn Ya(a.documentElement);case 11:case 10:case 6:case 12:return ab;def", "ault:return a.parentNode?Ya(a.parentNode):ab}}function ab(){return null", "}function Za(a,b){if(a.prefix==b)return a.namespaceURI||\"http://www.w3", ".org/1999/xhtml\";var c=a.getAttributeNode(\"xmlns:\"+b);return c&&c.sp", "ecified?c.value||null:a.parentNode&&9!=a.parentNode.nodeType?Za(a.paren", "tNode,b):null};function bb(a,b){if(!a.length)throw Error(\"Empty XPath ", "expression.\");a=oa(a);if(a.empty())throw Error(\"Invalid XPath express", "ion.\");b?\"function\"==ca(b)||(b=fa(b.lookupNamespaceURI,b)):b=functio", "n(){return null};var c=Qa(new Pa(a,b));if(!a.empty())throw Error(\"Bad ", "token: \"+a.next());this.evaluate=function(a,b){a=c.evaluate(new r(a));", "return new Z(a,b)}}\nfunction Z(a,b){if(0==b)if(a instanceof z)b=4;else", " if(\"string\"==typeof a)b=2;else if(\"number\"==typeof a)b=1;else if(", "\"boolean\"==typeof a)b=3;else throw Error(\"Unexpected evaluation resu", "lt.\");if(2!=b&&1!=b&&3!=b&&!(a instanceof z))throw Error(\"value could", " not be converted to the specified type\");this.resultType=b;switch(b){", "case 2:this.stringValue=a instanceof z?C(a):\"\"+a;break;case 1:this.nu", "mberValue=a instanceof z?+C(a):+a;break;case 3:this.booleanValue=a inst", "anceof z?0=d.length?null:d[f++]}", ";this.snapshotItem=function(a){if(6!=b&&7!=b)throw Error(\"snapshotItem", " called with wrong result type\");return a>=d.length||0>a?null:d[a]}}\n", "Z.ANY_TYPE=0;Z.NUMBER_TYPE=1;Z.STRING_TYPE=2;Z.BOOLEAN_TYPE=3;Z.UNORDER", "ED_NODE_ITERATOR_TYPE=4;Z.ORDERED_NODE_ITERATOR_TYPE=5;Z.UNORDERED_NODE", "_SNAPSHOT_TYPE=6;Z.ORDERED_NODE_SNAPSHOT_TYPE=7;Z.ANY_UNORDERED_NODE_TY", "PE=8;Z.FIRST_ORDERED_NODE_TYPE=9;function cb(a){this.lookupNamespaceURI", "=Ya(a)}\nba(\"wgxpath.install\",function(a,b){a=a||aa;var c=a.Document&", "&a.Document.prototype||a.document;if(!c.evaluate||b)a.XPathResult=Z,c.e", "valuate=function(a,b,c,g){return(new bb(a,c)).evaluate(b,g)},c.createEx", "pression=function(a,b){return new bb(a,b)},c.createNSResolver=function(", "a){return new cb(a)}});ba(\"_\",function(a,b){function c(a,b){a={clicka", "ble:a};b&&(a.message=b);return a}for(var d=a;d.parentNode;)d=d.parentNo", "de;var e=d.elementFromPoint(b.x,b.y);if(e==a)return c(!0);b=\"(\"+b.x+", "\", \"+b.y+\")\";if(null==e)return c(!1,\"Element is not clickable at p", "oint \"+b);d=e.outerHTML.replace(e.innerHTML,e.hasChildNodes()?\"...\":", "\"\");for(e=e.parentNode;e;){if(e==a)return c(!0,\"Element's descendant", " would receive the click. Consider clicking the descendant instead. Des", "cendant: \"+d);e=e.parentNode}a=a.outerHTML.replace(a.innerHTML,\na.has", "ChildNodes()?\"...\":\"\");return c(!1,\"Element \"+a+\" is not clickab", "le at point \"+b+\". Other element would receive the click: \"+d)});; r", "eturn this._.apply(null,arguments);}.apply({navigator:typeof window!='u", "ndefined'?window.navigator:null,document:typeof window!='undefined'?win", "dow.document:null}, arguments);}", NULL }; const char* const IS_ELEMENT_DISPLAYED[] = { "function(){return function(){var h,aa=this;function k(a){return void 0!", "==a}function m(a){return\"string\"==typeof a}function n(a){return\"numb", "er\"==typeof a}function ba(a,b){a=a.split(\".\");var c=aa;a[0]in c||!c.", "execScript||c.execScript(\"var \"+a[0]);for(var d;a.length&&(d=a.shift(", "));)!a.length&&k(b)?c[d]=b:c=c[d]&&c[d]!==Object.prototype[d]?c[d]:c[d]", "={}}\nfunction ca(a){var b=typeof a;if(\"object\"==b)if(a){if(a instanc", "eof Array)return\"array\";if(a instanceof Object)return b;var c=Object.", "prototype.toString.call(a);if(\"[object Window]\"==c)return\"object\";i", "f(\"[object Array]\"==c||\"number\"==typeof a.length&&\"undefined\"!=ty", "peof a.splice&&\"undefined\"!=typeof a.propertyIsEnumerable&&!a.propert", "yIsEnumerable(\"splice\"))return\"array\";if(\"[object Function]\"==c||", "\"undefined\"!=typeof a.call&&\"undefined\"!=typeof a.propertyIsEnumera", "ble&&!a.propertyIsEnumerable(\"call\"))return\"function\"}else return\"", "null\";\nelse if(\"function\"==b&&\"undefined\"==typeof a.call)return\"", "object\";return b}function da(a){var b=ca(a);return\"array\"==b||\"obje", "ct\"==b&&\"number\"==typeof a.length}function ea(a){var b=typeof a;retu", "rn\"object\"==b&&null!=a||\"function\"==b}function fa(a,b,c){return a.c", "all.apply(a.bind,arguments)}\nfunction ga(a,b,c){if(!a)throw Error();if", "(2=arguments.length?Array.prototype.slice.call(a,b):Array.prototype.slic", "e.call(a,b,c)};var qa={aliceblue:\"#f0f8ff\",antiquewhite:\"#faebd7\",a", "qua:\"#00ffff\",aquamarine:\"#7fffd4\",azure:\"#f0ffff\",beige:\"#f5f5d", "c\",bisque:\"#ffe4c4\",black:\"#000000\",blanchedalmond:\"#ffebcd\",blu", "e:\"#0000ff\",blueviolet:\"#8a2be2\",brown:\"#a52a2a\",burlywood:\"#deb", "887\",cadetblue:\"#5f9ea0\",chartreuse:\"#7fff00\",chocolate:\"#d2691e", "\",coral:\"#ff7f50\",cornflowerblue:\"#6495ed\",cornsilk:\"#fff8dc\",cr", "imson:\"#dc143c\",cyan:\"#00ffff\",darkblue:\"#00008b\",darkcyan:\"#008", "b8b\",darkgoldenrod:\"#b8860b\",darkgray:\"#a9a9a9\",darkgreen:\"#00640", "0\",\ndarkgrey:\"#a9a9a9\",darkkhaki:\"#bdb76b\",darkmagenta:\"#8b008b", "\",darkolivegreen:\"#556b2f\",darkorange:\"#ff8c00\",darkorchid:\"#9932", "cc\",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\",\ngh", "ostwhite:\"#f8f8ff\",gold:\"#ffd700\",goldenrod:\"#daa520\",gray:\"#808", "080\",green:\"#008000\",greenyellow:\"#adff2f\",grey:\"#808080\",honeyd", "ew:\"#f0fff0\",hotpink:\"#ff69b4\",indianred:\"#cd5c5c\",indigo:\"#4b00", "82\",ivory:\"#fffff0\",khaki:\"#f0e68c\",lavender:\"#e6e6fa\",lavenderb", "lush:\"#fff0f5\",lawngreen:\"#7cfc00\",lemonchiffon:\"#fffacd\",lightbl", "ue:\"#add8e6\",lightcoral:\"#f08080\",lightcyan:\"#e0ffff\",lightgolden", "rodyellow:\"#fafad2\",lightgray:\"#d3d3d3\",lightgreen:\"#90ee90\",ligh", "tgrey:\"#d3d3d3\",lightpink:\"#ffb6c1\",lightsalmon:\"#ffa07a\",\nlight", "seagreen:\"#20b2aa\",lightskyblue:\"#87cefa\",lightslategray:\"#778899", "\",lightslategrey:\"#778899\",lightsteelblue:\"#b0c4de\",lightyellow:\"", "#ffffe0\",lime:\"#00ff00\",limegreen:\"#32cd32\",linen:\"#faf0e6\",mage", "nta:\"#ff00ff\",maroon:\"#800000\",mediumaquamarine:\"#66cdaa\",mediumb", "lue:\"#0000cd\",mediumorchid:\"#ba55d3\",mediumpurple:\"#9370db\",mediu", "mseagreen:\"#3cb371\",mediumslateblue:\"#7b68ee\",mediumspringgreen:\"#", "00fa9a\",mediumturquoise:\"#48d1cc\",mediumvioletred:\"#c71585\",midnig", "htblue:\"#191970\",mintcream:\"#f5fffa\",mistyrose:\"#ffe4e1\",\nmoccas", "in:\"#ffe4b5\",navajowhite:\"#ffdead\",navy:\"#000080\",oldlace:\"#fdf5", "e6\",olive:\"#808000\",olivedrab:\"#6b8e23\",orange:\"#ffa500\",oranger", "ed:\"#ff4500\",orchid:\"#da70d6\",palegoldenrod:\"#eee8aa\",palegreen:", "\"#98fb98\",paleturquoise:\"#afeeee\",palevioletred:\"#db7093\",papayaw", "hip:\"#ffefd5\",peachpuff:\"#ffdab9\",peru:\"#cd853f\",pink:\"#ffc0cb\"", ",plum:\"#dda0dd\",powderblue:\"#b0e0e6\",purple:\"#800080\",red:\"#ff00", "00\",rosybrown:\"#bc8f8f\",royalblue:\"#4169e1\",saddlebrown:\"#8b4513", "\",salmon:\"#fa8072\",sandybrown:\"#f4a460\",seagreen:\"#2e8b57\",\nsea", "shell:\"#fff5ee\",sienna:\"#a0522d\",silver:\"#c0c0c0\",skyblue:\"#87ce", "eb\",slateblue:\"#6a5acd\",slategray:\"#708090\",slategrey:\"#708090\",", "snow:\"#fffafa\",springgreen:\"#00ff7f\",steelblue:\"#4682b4\",tan:\"#d", "2b48c\",teal:\"#008080\",thistle:\"#d8bfd8\",tomato:\"#ff6347\",turquoi", "se:\"#40e0d0\",violet:\"#ee82ee\",wheat:\"#f5deb3\",white:\"#ffffff\",w", "hitesmoke:\"#f5f5f5\",yellow:\"#ffff00\",yellowgreen:\"#9acd32\"};var r", "a=\"backgroundColor borderTopColor borderRightColor borderBottomColor b", "orderLeftColor color outlineColor\".split(\" \"),sa=/#([0-9a-fA-F])([0-", "9a-fA-F])([0-9a-fA-F])/,ta=/^#(?:[0-9a-f]{3}){1,2}$/i,ua=/^(?:rgba)?\\(", "(\\d{1,3}),\\s?(\\d{1,3}),\\s?(\\d{1,3}),\\s?(0|1|0\\.\\d*)\\)$/i,va=/^", "(?:rgb)?\\((0|[1-9]\\d{0,2}),\\s?(0|[1-9]\\d{0,2}),\\s?(0|[1-9]\\d{0,2}", ")\\)$/i;function xa(a,b){this.code=a;this.state=u[a]||ya;this.message=b", "||\"\";a=this.state.replace(/((?:^|\\s+)[a-z])/g,function(a){return a.t", "oUpperCase().replace(/^[\\s\\xa0]+/g,\"\")});b=a.length-5;if(0>b||a.ind", "exOf(\"Error\",b)!=b)a+=\"Error\";this.name=a;a=Error(this.message);a.n", "ame=this.name;this.stack=a.stack||\"\"}p(xa,Error);var ya=\"unknown err", "or\",u={15:\"element not selectable\",11:\"element not visible\"};u[31]", "=ya;u[30]=ya;u[24]=\"invalid cookie domain\";u[29]=\"invalid element co", "ordinates\";u[12]=\"invalid element state\";\nu[32]=\"invalid selector", "\";u[51]=\"invalid selector\";u[52]=\"invalid selector\";u[17]=\"javasc", "ript error\";u[405]=\"unsupported operation\";u[34]=\"move target out o", "f bounds\";u[27]=\"no such alert\";u[7]=\"no such element\";u[8]=\"no s", "uch frame\";u[23]=\"no such window\";u[28]=\"script timeout\";u[33]=\"s", "ession not created\";u[10]=\"stale element reference\";u[21]=\"timeout", "\";u[25]=\"unable to set cookie\";u[26]=\"unexpected alert open\";u[13]", "=ya;u[9]=\"unknown command\";xa.prototype.toString=function(){return th", "is.name+\": \"+this.message};function v(a,b){this.x=k(a)?a:0;this.y=k(b", ")?b:0}h=v.prototype;h.clone=function(){return new v(this.x,this.y)};h.t", "oString=function(){return\"(\"+this.x+\", \"+this.y+\")\"};h.ceil=funct", "ion(){this.x=Math.ceil(this.x);this.y=Math.ceil(this.y);return this};h.", "floor=function(){this.x=Math.floor(this.x);this.y=Math.floor(this.y);re", "turn this};h.round=function(){this.x=Math.round(this.x);this.y=Math.rou", "nd(this.y);return this};\nh.translate=function(a,b){a instanceof v?(thi", "s.x+=a.x,this.y+=a.y):(this.x+=Number(a),n(b)&&(this.y+=b));return this", "};h.scale=function(a,b){b=n(b)?b:a;this.x*=a;this.y*=b;return this};fun", "ction za(a,b){this.width=a;this.height=b}h=za.prototype;h.clone=functio", "n(){return new za(this.width,this.height)};h.toString=function(){return", "\"(\"+this.width+\" x \"+this.height+\")\"};h.ceil=function(){this.widt", "h=Math.ceil(this.width);this.height=Math.ceil(this.height);return this}", ";h.floor=function(){this.width=Math.floor(this.width);this.height=Math.", "floor(this.height);return this};h.round=function(){this.width=Math.roun", "d(this.width);this.height=Math.round(this.height);return this};\nh.scal", "e=function(a,b){b=n(b)?b:a;this.width*=a;this.height*=b;return this};fu", "nction Aa(a,b,c){function d(c){c&&b.appendChild(m(c)?a.createTextNode(c", "):c)}for(var e=1;e]=|\\s+|./g,La=/^\\s/;function B(a,b){retur", "n a.T[a.J+(b||0)]}Ia.prototype.next=function(){return this.T[this.J++]}", ";Ia.prototype.back=function(){this.J--};Ia.prototype.empty=function(){r", "eturn this.T.length<=this.J};function C(a){var b=null,c=a.nodeType;1==c", "&&(b=a.textContent,b=void 0==b||null==b?a.innerText:b,b=void 0==b||null", "==b?\"\":b);if(\"string\"!=typeof b)if(9==c||1==c){a=9==c?a.documentEle", "ment:a.firstChild;for(var c=0,d=[],b=\"\";a;){do 1!=a.nodeType&&(b+=a.n", "odeValue),d[c++]=a;while(a=a.firstChild);for(;c&&!(a=d[--c].nextSibling", "););}}else b=a.nodeValue;return\"\"+b}\nfunction E(a,b,c){if(null===b)r", "eturn!0;try{if(!a.getAttribute)return!1}catch(d){return!1}return null==", "c?!!a.getAttribute(b):a.getAttribute(b,2)==c}function Ma(a,b,c,d,e){ret", "urn Na.call(null,a,b,m(c)?c:null,m(d)?d:null,e||new F)}\nfunction Na(a,", "b,c,d,e){b.getElementsByName&&d&&\"name\"==c?(b=b.getElementsByName(d),", "r(b,function(b){a.matches(b)&&e.add(b)})):b.getElementsByClassName&&d&&", "\"class\"==c?(b=b.getElementsByClassName(d),r(b,function(b){b.className", "==d&&a.matches(b)&&e.add(b)})):a instanceof G?Oa(a,b,c,d,e):b.getElemen", "tsByTagName&&(b=b.getElementsByTagName(a.getName()),r(b,function(a){E(a", ",c,d)&&e.add(a)}));return e}function Oa(a,b,c,d,e){for(b=b.firstChild;b", ";b=b.nextSibling)E(b,c,d)&&a.matches(b)&&e.add(b),Oa(a,b,c,d,e)};functi", "on F(){this.j=this.g=null;this.D=0}function Pa(a){this.node=a;this.next", "=this.w=null}function Qa(a,b){if(!a.g)return b;if(!b.g)return a;var c=a", ".g;b=b.g;for(var d=null,e,f=0;c&&b;)c.node==b.node?(e=c,c=c.next,b=b.ne", "xt):0\",4,2,function(a", ",b,c){return N(function(a,b){return a>b},a,b,c)});O(\"<=\",4,2,function", "(a,b,c){return N(function(a,b){return a<=b},a,b,c)});O(\">=\",4,2,funct", "ion(a,b,c){return N(function(a,b){return a>=b},a,b,c)});var Xa=O(\"=\",", "3,2,function(a,b,c){return N(function(a,b){return a==b},a,b,c,!0)});O(", "\"!=\",3,2,function(a,b,c){return N(function(a,b){return a!=b},a,b,c,!0", ")});O(\"and\",2,2,function(a,b,c){return M(a,c)&&M(b,c)});O(\"or\",1,2,", "function(a,b,c){return M(a,c)||M(b,c)});function $a(a,b){if(b.o()&&4!=a", ".f)throw Error(\"Primary expression must evaluate to nodeset if filter ", "has predicate(s).\");H.call(this,a.f);this.da=a;this.b=b;this.s=a.c();t", "his.h=a.h}p($a,H);$a.prototype.evaluate=function(a){a=this.da.evaluate(", "a);return ab(this.b,a)};$a.prototype.toString=function(){var a=\"Filter", ":\"+J(this.da);return a+=J(this.b)};function bb(a,b){if(b.lengtha.R)throw Error(\"Funct", "ion \"+a.i+\" expects at most \"+a.R+\" arguments, \"+b.length+\" given", "\");a.la&&r(b,function(b,d){if(4!=b.f)throw Error(\"Argument \"+d+\" to", " function \"+a.i+\" is not of type Nodeset: \"+b);});H.call(this,a.f);t", "his.I=a;this.N=b;Ua(this,a.s||la(b,function(a){return a.c()}));Va(this,", "a.ja&&!b.length||a.ia&&!!b.length||la(b,function(a){return a.h}))}\np(b", "b,H);bb.prototype.evaluate=function(a){return this.I.m.apply(null,na(a,", "this.N))};bb.prototype.toString=function(){var a=\"Function: \"+this.I;", "if(this.N.length)var b=t(this.N,function(a,b){return a+J(b)},\"Argument", "s:\"),a=a+J(b);return a};function cb(a,b,c,d,e,f,g,l,w){this.i=a;this.f", "=b;this.s=c;this.ja=d;this.ia=e;this.m=f;this.ba=g;this.R=k(l)?l:g;this", ".la=!!w}cb.prototype.toString=function(){return this.i};var db={};\nfun", "ction P(a,b,c,d,e,f,g,l){if(db.hasOwnProperty(a))throw Error(\"Function", " already created: \"+a+\".\");db[a]=new cb(a,b,c,d,!1,e,f,g,l)}P(\"bool", "ean\",2,!1,!1,function(a,b){return M(b,a)},1);P(\"ceiling\",1,!1,!1,fun", "ction(a,b){return Math.ceil(K(b,a))},1);P(\"concat\",3,!1,!1,function(a", ",b){return t(pa(arguments,1),function(b,d){return b+L(d,a)},\"\")},2,nu", "ll);P(\"contains\",2,!1,!1,function(a,b,c){b=L(b,a);a=L(c,a);return-1!=", "b.indexOf(a)},2);P(\"count\",1,!1,!1,function(a,b){return b.evaluate(a)", ".o()},1,1,!0);\nP(\"false\",2,!1,!1,function(){return!1},0);P(\"floor\"", ",1,!1,!1,function(a,b){return Math.floor(K(b,a))},1);P(\"id\",4,!1,!1,f", "unction(a,b){var c=a.l,d=9==c.nodeType?c:c.ownerDocument;a=L(b,a).split", "(/\\s+/);var e=[];r(a,function(a){a=d.getElementById(a);!a||0<=ka(e,a)|", "|e.push(a)});e.sort(Da);var f=new F;r(e,function(a){f.add(a)});return f", "},1);P(\"lang\",2,!1,!1,function(){return!1},1);P(\"last\",1,!0,!1,func", "tion(a){if(1!=arguments.length)throw Error(\"Function last expects ()\"", ");return a.j},0);\nP(\"local-name\",3,!1,!0,function(a,b){return(a=b?Ra", "(b.evaluate(a)):a.l)?a.localName||a.nodeName.toLowerCase():\"\"},0,1,!0", ");P(\"name\",3,!1,!0,function(a,b){return(a=b?Ra(b.evaluate(a)):a.l)?a.", "nodeName.toLowerCase():\"\"},0,1,!0);P(\"namespace-uri\",3,!0,!1,functi", "on(){return\"\"},0,1,!0);P(\"normalize-space\",3,!1,!0,function(a,b){re", "turn(b?L(b,a):C(a.l)).replace(/[\\s\\xa0]+/g,\" \").replace(/^\\s+|\\s+", "$/g,\"\")},0,1);P(\"not\",2,!1,!1,function(a,b){return!M(b,a)},1);\nP(", "\"number\",1,!1,!0,function(a,b){return b?K(b,a):+C(a.l)},0,1);P(\"posi", "tion\",1,!0,!1,function(a){return a.oa},0);P(\"round\",1,!1,!1,function", "(a,b){return Math.round(K(b,a))},1);P(\"starts-with\",2,!1,!1,function(", "a,b,c){b=L(b,a);a=L(c,a);return 0==b.lastIndexOf(a,0)},2);P(\"string\",", "3,!1,!0,function(a,b){return b?L(b,a):C(a.l)},0,1);P(\"string-length\",", "1,!1,!0,function(a,b){return(b?L(b,a):C(a.l)).length},0,1);\nP(\"substr", "ing\",3,!1,!1,function(a,b,c,d){c=K(c,a);if(isNaN(c)||Infinity==c||-Inf", "inity==c)return\"\";d=d?K(d,a):Infinity;if(isNaN(d)||-Infinity===d)retu", "rn\"\";c=Math.round(c)-1;var e=Math.max(c,0);a=L(b,a);return Infinity==", "d?a.substring(e):a.substring(e,c+Math.round(d))},2,3);P(\"substring-aft", "er\",3,!1,!1,function(a,b,c){b=L(b,a);a=L(c,a);c=b.indexOf(a);return-1=", "=c?\"\":b.substring(c+a.length)},2);\nP(\"substring-before\",3,!1,!1,fu", "nction(a,b,c){b=L(b,a);a=L(c,a);a=b.indexOf(a);return-1==a?\"\":b.subst", "ring(0,a)},2);P(\"sum\",1,!1,!1,function(a,b){a=b.evaluate(a).iterator(", ");b=0;for(var c=a.next();c;c=a.next())b+=+C(c);return b},1,1,!0);P(\"tr", "anslate\",3,!1,!1,function(a,b,c,d){b=L(b,a);c=L(c,a);var e=L(d,a);d={}", ";for(var f=0;fa.length)throw Error(\"Unclosed lit", "eral string\");return new fb(a)}\nfunction Db(a){var b=[];if(mb(B(a.a))", "){var c=a.a.next();var d=B(a.a);if(\"/\"==c&&(a.a.empty()||\".\"!=d&&\"", "..\"!=d&&\"@\"!=d&&\"*\"!=d&&!/(?![0-9])[\\w]/.test(d)))return new kb;d", "=new kb;U(a,\"Missing next location step.\");c=Eb(a,c);b.push(c)}else{a", ":{c=B(a.a);d=c.charAt(0);switch(d){case \"$\":throw Error(\"Variable re", "ference not allowed in HTML XPath\");case \"(\":a.a.next();c=yb(a);U(a,", "'unclosed \"(\"');Ab(a,\")\");break;case '\"':case \"'\":c=Cb(a);break;", "default:if(isNaN(+c))if(!eb(c)&&/(?![0-9])[\\w]/.test(d)&&\"(\"==B(a.a,", "\n1)){c=a.a.next();c=db[c]||null;a.a.next();for(d=[];\")\"!=B(a.a);){U(", "a,\"Missing function argument list.\");d.push(yb(a));if(\",\"!=B(a.a))b", "reak;a.a.next()}U(a,\"Unclosed function argument list.\");Bb(a);c=new b", "b(c,d)}else{c=null;break a}else c=new hb(+a.a.next())}\"[\"==B(a.a)&&(d", "=new Q(Fb(a)),c=new $a(c,d))}if(c)if(mb(B(a.a)))d=c;else return c;else ", "c=Eb(a,\"/\"),d=new lb,b.push(c)}for(;mb(B(a.a));)c=a.a.next(),U(a,\"Mi", "ssing next location step.\"),c=Eb(a,c),b.push(c);return new ib(d,b)}\nf", "unction Eb(a,b){if(\"/\"!=b&&\"//\"!=b)throw Error('Step op should be ", "\"/\" or \"//\"');if(\".\"==B(a.a)){var c=new R(ub,new G(\"node\"));a.a", ".next();return c}if(\"..\"==B(a.a))return c=new R(tb,new G(\"node\")),a", ".a.next(),c;if(\"@\"==B(a.a)){var d=jb;a.a.next();U(a,\"Missing attribu", "te name\")}else if(\"::\"==B(a.a,1)){if(!/(?![0-9])[\\w]/.test(B(a.a).c", "harAt(0)))throw Error(\"Bad token: \"+a.a.next());var e=a.a.next();d=sb", "[e]||null;if(!d)throw Error(\"No axis with name: \"+e);a.a.next();U(a,", "\"Missing node name\")}else d=pb;e=\nB(a.a);if(/(?![0-9])[\\w\\*]/.test", "(e.charAt(0)))if(\"(\"==B(a.a,1)){if(!eb(e))throw Error(\"Invalid node ", "type: \"+e);e=a.a.next();if(!eb(e))throw Error(\"Invalid type name: \"+", "e);Ab(a,\"(\");U(a,\"Bad nodetype\");var f=B(a.a).charAt(0),g=null;if('", "\"'==f||\"'\"==f)g=Cb(a);U(a,\"Bad nodetype\");Bb(a);e=new G(e,g)}else ", "if(e=a.a.next(),f=e.indexOf(\":\"),-1==f)e=new gb(e);else{var g=e.subst", "ring(0,f);if(\"*\"==g)var l=\"*\";else if(l=a.ma(g),!l)throw Error(\"Na", "mespace prefix not declared: \"+g);e=e.substr(f+1);e=new gb(e,l)}else t", "hrow Error(\"Bad token: \"+\na.a.next());a=new Q(Fb(a),d.A);return c||n", "ew R(d,e,a,\"//\"==b)}function Fb(a){for(var b=[];\"[\"==B(a.a);){a.a.n", "ext();U(a,\"Missing predicate expression.\");var c=yb(a);b.push(c);U(a,", "\"Unclosed predicate expression.\");Ab(a,\"]\")}return b}function zb(a)", "{if(\"-\"==B(a.a))return a.a.next(),new vb(zb(a));var b=Db(a);if(\"|\"!", "=B(a.a))a=b;else{for(b=[b];\"|\"==a.a.next();)U(a,\"Missing next union ", "location path.\"),b.push(Db(a));a.a.back();a=new wb(b)}return a};functi", "on Gb(a){switch(a.nodeType){case 1:return ia(Hb,a);case 9:return Gb(a.d", "ocumentElement);case 11:case 10:case 6:case 12:return Ib;default:return", " a.parentNode?Gb(a.parentNode):Ib}}function Ib(){return null}function H", "b(a,b){if(a.prefix==b)return a.namespaceURI||\"http://www.w3.org/1999/x", "html\";var c=a.getAttributeNode(\"xmlns:\"+b);return c&&c.specified?c.v", "alue||null:a.parentNode&&9!=a.parentNode.nodeType?Hb(a.parentNode,b):nu", "ll};function Jb(a,b){if(!a.length)throw Error(\"Empty XPath expression.", "\");a=Ja(a);if(a.empty())throw Error(\"Invalid XPath expression.\");b?", "\"function\"==ca(b)||(b=ha(b.lookupNamespaceURI,b)):b=function(){return", " null};var c=yb(new xb(a,b));if(!a.empty())throw Error(\"Bad token: \"+", "a.next());this.evaluate=function(a,b){a=c.evaluate(new A(a));return new", " V(a,b)}}\nfunction V(a,b){if(0==b)if(a instanceof F)b=4;else if(\"stri", "ng\"==typeof a)b=2;else if(\"number\"==typeof a)b=1;else if(\"boolean\"", "==typeof a)b=3;else throw Error(\"Unexpected evaluation result.\");if(2", "!=b&&1!=b&&3!=b&&!(a instanceof F))throw Error(\"value could not be con", "verted to the specified type\");this.resultType=b;switch(b){case 2:this", ".stringValue=a instanceof F?Sa(a):\"\"+a;break;case 1:this.numberValue=", "a instanceof F?+Sa(a):+a;break;case 3:this.booleanValue=a instanceof F?", "0=d.length?null:d[f++]};this.sn", "apshotItem=function(a){if(6!=b&&7!=b)throw Error(\"snapshotItem called ", "with wrong result type\");return a>=d.length||0>a?null:d[a]}}\nV.ANY_TY", "PE=0;V.NUMBER_TYPE=1;V.STRING_TYPE=2;V.BOOLEAN_TYPE=3;V.UNORDERED_NODE_", "ITERATOR_TYPE=4;V.ORDERED_NODE_ITERATOR_TYPE=5;V.UNORDERED_NODE_SNAPSHO", "T_TYPE=6;V.ORDERED_NODE_SNAPSHOT_TYPE=7;V.ANY_UNORDERED_NODE_TYPE=8;V.F", "IRST_ORDERED_NODE_TYPE=9;function Kb(a){this.lookupNamespaceURI=Gb(a)}", "\nba(\"wgxpath.install\",function(a,b){a=a||aa;var c=a.Document&&a.Docu", "ment.prototype||a.document;if(!c.evaluate||b)a.XPathResult=V,c.evaluate", "=function(a,b,c,g){return(new Jb(a,c)).evaluate(b,g)},c.createExpressio", "n=function(a,b){return new Jb(a,b)},c.createNSResolver=function(a){retu", "rn new Kb(a)}});var W={};W.U=function(){var a={ua:\"http://www.w3.org/2", "000/svg\"};return function(b){return a[b]||null}}();\nW.m=function(a,b,", "c){var d=y(a);if(!d.documentElement)return null;try{for(var e=d.createN", "SResolver?d.createNSResolver(d.documentElement):W.U,f={},g=d.getElement", "sByTagName(\"*\"),l=0;l=this.le", "ft&&a.right<=this.right&&a.top>=this.top&&a.bottom<=this.bottom:a.x>=th", "is.left&&a.x<=this.right&&a.y>=this.top&&a.y<=this.bottom:!1};\nh.expan", "d=function(a,b,c,d){ea(a)?(this.top-=a.top,this.right+=a.right,this.bot", "tom+=a.bottom,this.left-=a.left):(this.top-=a,this.right+=Number(b),thi", "s.bottom+=Number(c),this.left-=Number(d));return this};h.ceil=function(", "){this.top=Math.ceil(this.top);this.right=Math.ceil(this.right);this.bo", "ttom=Math.ceil(this.bottom);this.left=Math.ceil(this.left);return this}", ";\nh.floor=function(){this.top=Math.floor(this.top);this.right=Math.flo", "or(this.right);this.bottom=Math.floor(this.bottom);this.left=Math.floor", "(this.left);return this};h.round=function(){this.top=Math.round(this.to", "p);this.right=Math.round(this.right);this.bottom=Math.round(this.bottom", ");this.left=Math.round(this.left);return this};h.translate=function(a,b", "){a instanceof v?(this.left+=a.x,this.right+=a.x,this.top+=a.y,this.bot", "tom+=a.y):(this.left+=a,this.right+=a,n(b)&&(this.top+=b,this.bottom+=b", "));return this};\nh.scale=function(a,b){b=n(b)?b:a;this.left*=a;this.ri", "ght*=a;this.top*=b;this.bottom*=b;return this};function X(a,b,c,d){this", ".left=a;this.top=b;this.width=c;this.height=d}h=X.prototype;h.clone=fun", "ction(){return new X(this.left,this.top,this.width,this.height)};h.toSt", "ring=function(){return\"(\"+this.left+\", \"+this.top+\" - \"+this.widt", "h+\"w x \"+this.height+\"h)\"};h.contains=function(a){return a instance", "of v?a.x>=this.left&&a.x<=this.left+this.width&&a.y>=this.top&&a.y<=thi", "s.top+this.height:this.left<=a.left&&this.left+this.width>=a.left+a.wid", "th&&this.top<=a.top&&this.top+this.height>=a.top+a.height};\nh.ceil=fun", "ction(){this.left=Math.ceil(this.left);this.top=Math.ceil(this.top);thi", "s.width=Math.ceil(this.width);this.height=Math.ceil(this.height);return", " this};h.floor=function(){this.left=Math.floor(this.left);this.top=Math", ".floor(this.top);this.width=Math.floor(this.width);this.height=Math.flo", "or(this.height);return this};h.round=function(){this.left=Math.round(th", "is.left);this.top=Math.round(this.top);this.width=Math.round(this.width", ");this.height=Math.round(this.height);return this};\nh.translate=functi", "on(a,b){a instanceof v?(this.left+=a.x,this.top+=a.y):(this.left+=a,n(b", ")&&(this.top+=b));return this};h.scale=function(a,b){b=n(b)?b:a;this.le", "ft*=a;this.width*=a;this.top*=b;this.height*=b;return this};var Mb=\"fu", "nction\"===typeof ShadowRoot;function Nb(a){for(a=a.parentNode;a&&1!=a.", "nodeType&&9!=a.nodeType&&11!=a.nodeType;)a=a.parentNode;return z(a)?a:n", "ull}\nfunction Y(a,b){b=ja(b);if(\"float\"==b||\"cssFloat\"==b||\"style", "Float\"==b)b=\"cssFloat\";a:{var c=b;var d=y(a);if(d.defaultView&&d.def", "aultView.getComputedStyle&&(d=d.defaultView.getComputedStyle(a,null))){", "c=d[c]||d.getPropertyValue(c)||\"\";break a}c=\"\"}a=c||Ob(a,b);if(null", "===a)a=null;else if(0<=ka(ra,b)){b:{var e=a.match(ua);if(e&&(b=Number(e", "[1]),c=Number(e[2]),d=Number(e[3]),e=Number(e[4]),0<=b&&255>=b&&0<=c&&2", "55>=c&&0<=d&&255>=d&&0<=e&&1>=e)){b=[b,c,d,e];break b}b=null}if(!b)b:{i", "f(d=a.match(va))if(b=Number(d[1]),\nc=Number(d[2]),d=Number(d[3]),0<=b&", "&255>=b&&0<=c&&255>=c&&0<=d&&255>=d){b=[b,c,d,1];break b}b=null}if(!b)b", ":{b=a.toLowerCase();c=qa[b.toLowerCase()];if(!c&&(c=\"#\"==b.charAt(0)?", "b:\"#\"+b,4==c.length&&(c=c.replace(sa,\"#$1$1$2$2$3$3\")),!ta.test(c))", "){b=null;break b}b=[parseInt(c.substr(1,2),16),parseInt(c.substr(3,2),1", "6),parseInt(c.substr(5,2),16),1]}a=b?\"rgba(\"+b.join(\", \")+\")\":a}r", "eturn a}\nfunction Ob(a,b){var c=a.currentStyle||a.style,d=c[b];!k(d)&&", "\"function\"==ca(c.getPropertyValue)&&(d=c.getPropertyValue(b));return", "\"inherit\"!=d?k(d)?d:null:(a=Nb(a))?Ob(a,b):null}\nfunction Pb(a,b,c){", "function d(a){var b=Qb(a);return 0=x.left+x.width;x=e.top>=x.top+x.height;if(", "I&&\"hidden\"==q.x||x&&\"hidden\"==q.y)return Z;if(I&&\"visible\"!=q.x|", "|x&&\"visible\"!=q.y){if(D&&(q=d(a),e.left>=g.scrollWidth-q.x||e.right>", "=g.scrollHeight-q.y))return Z;e=Rb(a);return e==Z?Z:\"scroll\"}}}return", "\"none\"}\nfunction Qb(a){var b=Sb(a);if(b)return b.rect;if(z(a,\"HTML", "\"))return a=y(a),a=((a?a.parentWindow||a.defaultView:window)||window).", "document,a=\"CSS1Compat\"==a.compatMode?a.documentElement:a.body,a=new ", "za(a.clientWidth,a.clientHeight),new X(0,0,a.width,a.height);try{var c=", "a.getBoundingClientRect()}catch(d){return new X(0,0,0,0)}return new X(c", ".left,c.top,c.right-c.left,c.bottom-c.top)}\nfunction Sb(a){var b=z(a,", "\"MAP\");if(!b&&!z(a,\"AREA\"))return null;var c=b?a:z(a.parentNode,\"M", "AP\")?a.parentNode:null,d=null,e=null;c&&c.name&&(d=W.pa('/descendant::", "*[@usemap = \"#'+c.name+'\"]',y(c)))&&(e=Qb(d),b||\"default\"==a.shape.", "toLowerCase()||(a=Wb(a),b=Math.min(Math.max(a.left,0),e.width),c=Math.m", "in(Math.max(a.top,0),e.height),e=new X(b+e.left,c+e.top,Math.min(a.widt", "h,e.width-b),Math.min(a.height,e.height-c))));return{Z:d,rect:e||new X(", "0,0,0,0)}}\nfunction Wb(a){var b=a.shape.toLowerCase();a=a.coords.split", "(\",\");if(\"rect\"==b&&4==a.length){var b=a[0],c=a[1];return new X(b,c", ",a[2]-b,a[3]-c)}if(\"circle\"==b&&3==a.length)return b=a[2],new X(a[0]-", "b,a[1]-b,2*b,2*b);if(\"poly\"==b&&2c||a.indexOf(\"Error\",c)!=c)a+=\"Error\";this.", "name=a;a=Error(this.message);a.name=this.name;this.stack=a.stack||\"\"}", "\n(function(){var a=Error;function c(){}c.prototype=a.prototype;d.c=a.p", "rototype;d.prototype=new c;d.prototype.constructor=d;d.b=function(c,t,u", "){for(var p=Array(arguments.length-2),l=2;lc||a.indexOf(\"Error\",c)!=c)a+=\"Error\";this.", "name=a;a=Error(this.message);a.name=this.name;this.stack=a.stack||\"\"}", "\n(function(){var a=Error;function c(){}c.prototype=a.prototype;d.c=a.p", "rototype;d.prototype=new c;d.prototype.constructor=d;d.b=function(c,t,u", "){for(var p=Array(arguments.length-2),l=2;lc||b.indexOf(\"Error\",c)!=c)b+=\"Error\";this.", "name=b;b=Error(this.message);b.name=this.name;this.stack=b.stack||\"\"}", "\n(function(){var b=Error;function c(){}c.prototype=b.prototype;d.b=b.p", "rototype;d.prototype=new c;d.prototype.constructor=d;d.a=function(c,q,r", "){for(var n=Array(arguments.length-2),k=2;kb||a.indexOf(\"Err", "or\",b)!=b)a+=\"Error\";this.name=a;a=Error(this.message);a.name=this.n", "ame;this.stack=a.stack||\"\"}\n(function(){var a=Error;function b(){}b.", "prototype=a.prototype;g.b=a.prototype;g.prototype=new b;g.prototype.con", "structor=g;g.a=function(b,e,f){for(var c=Array(arguments.length-2),m=2;", "m