Index: third_party/webdriver/atoms.cc |
diff --git a/third_party/webdriver/atoms.cc b/third_party/webdriver/atoms.cc |
index 6675b0000b0951d10ba669582f68230dfba97444..af764890b9f1c62e71a4d098e78fc06cf3be861c 100644 |
--- a/third_party/webdriver/atoms.cc |
+++ b/third_party/webdriver/atoms.cc |
@@ -834,8 +834,8 @@ const char* const CLICK[] = { |
"null}this.m=new u(a.clientXY.x,a.clientXY.y);this.o=!!a.nextClickIsDoub", |
"leClick;this.w=!!a.hasEverInteracted;try{a.element&&J(a.element)&&jb(th", |
"is,a.element)}catch(e){this.g=null}}}ba(Gb,ib);var W={};W[Q]=[0,1,2,nul", |
- "l];W[vb]=[null,null,2,null];W[qb]=[0,1,2,null];W[nb]=[0,1,2,4];\nW[xb]=", |
- "[0,1,2,4];W[wb]=W[Q];W[ob]=W[qb];W[mb]=W[nb];Gb.prototype.move=function", |
+ "l];W[vb]=[null,null,2,null];W[qb]=[0,1,2,null];W[nb]=[0,1,2,0];\nW[xb]=", |
+ "[0,1,2,0];W[wb]=W[Q];W[ob]=W[qb];W[mb]=W[nb];Gb.prototype.move=function", |
"(a,c){var b=Ya(a),d=N(a);this.m.x=c.x+d.left;this.m.y=c.y+d.top;d=this.", |
"i();if(a!=d){try{Ca(w(d)).closed&&(d=null)}catch(e){d=null}if(d){var g=", |
"d===ca.document.documentElement||d===ca.document.body,d=!this.w&&g?null", |
@@ -1099,406 +1099,6 @@ const char* const EXECUTE_SQL[] = { |
NULL |
}; |
-const char* const FIND_ELEMENT[] = { |
- "function(){return function(){var aa=this;\nfunction ba(a){var b=typeof ", |
- "a;if(\"object\"==b)if(a){if(a instanceof Array)return\"array\";if(a ins", |
- "tanceof Object)return b;var c=Object.prototype.toString.call(a);if(\"[o", |
- "bject Window]\"==c)return\"object\";if(\"[object Array]\"==c||\"number", |
- "\"==typeof a.length&&\"undefined\"!=typeof a.splice&&\"undefined\"!=typ", |
- "eof a.propertyIsEnumerable&&!a.propertyIsEnumerable(\"splice\"))return", |
- "\"array\";if(\"[object Function]\"==c||\"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 h(a){", |
- "return\"string\"==typeof a}function k(a){return\"function\"==ba(a)};var", |
- " ca=window;function l(a,b){this.code=a;this.state=da[a]||ea;this.messag", |
- "e=b||\"\";var c=this.state.replace(/((?:^|\\s+)[a-z])/g,function(a){ret", |
- "urn a.toUpperCase().replace(/^[\\s\\xa0]+/g,\"\")}),d=c.length-5;if(0>d", |
- "||c.indexOf(\"Error\",d)!=d)c+=\"Error\";this.name=c;c=Error(this.messa", |
- "ge);c.name=this.name;this.stack=c.stack||\"\"}(function(){var a=Error;f", |
- "unction b(){}b.prototype=a.prototype;l.D=a.prototype;l.prototype=new b;", |
- "l.A=function(b,d,e){return a.prototype[d].apply(b,Array.prototype.slice", |
- ".call(arguments,2))}})();\nvar ea=\"unknown error\",da={15:\"element no", |
- "t selectable\",11:\"element not visible\",31:\"ime engine activation fa", |
- "iled\",30:\"ime not available\",24:\"invalid cookie domain\",29:\"inval", |
- "id element coordinates\",12:\"invalid element state\",32:\"invalid sele", |
- "ctor\",51:\"invalid selector\",52:\"invalid selector\",17:\"javascript ", |
- "error\",405:\"unsupported operation\",34:\"move target out of bounds\",", |
- "27:\"no such alert\",7:\"no such element\",8:\"no such frame\",23:\"no ", |
- "such window\",28:\"script timeout\",33:\"session not created\",10:\"sta", |
- "le element reference\",\n0:\"success\",21:\"timeout\",25:\"unable to se", |
- "t cookie\",26:\"unexpected alert open\"};da[13]=ea;da[9]=\"unknown comm", |
- "and\";l.prototype.toString=function(){return this.name+\": \"+this.mess", |
- "age};var fa;function ga(a){var b=a.length-1;return 0<=b&&a.indexOf(\" ", |
- "\",b)==b}function m(a){return a.replace(/^[\\s\\xa0]+|[\\s\\xa0]+$/g,\"", |
- "\")}function ha(a){return String(a).replace(/\\-([a-z])/g,function(a,c)", |
- "{return c.toUpperCase()})};var ia=Array.prototype;function n(a,b){for(v", |
- "ar c=a.length,d=h(a)?a.split(\"\"):a,e=0;e<c;e++)e in d&&b.call(void 0,", |
- "d[e],e,a)}function ja(a,b){for(var c=a.length,d=[],e=0,f=h(a)?a.split(", |
- "\"\"):a,g=0;g<c;g++)if(g in f){var y=f[g];b.call(void 0,y,g,a)&&(d[e++]", |
- "=y)}return d}function ka(a,b){var c=\"\";n(a,function(d,e){c=b.call(voi", |
- "d 0,c,d,e,a)});return c}function la(a,b){for(var c=a.length,d=h(a)?a.sp", |
- "lit(\"\"):a,e=0;e<c;e++)if(e in d&&b.call(void 0,d[e],e,a))return!0;ret", |
- "urn!1}\nfunction ma(a,b){for(var c=a.length,d=h(a)?a.split(\"\"):a,e=0;", |
- "e<c;e++)if(e in d&&!b.call(void 0,d[e],e,a))return!1;return!0}function ", |
- "na(a,b){var c;a:{c=a.length;for(var d=h(a)?a.split(\"\"):a,e=0;e<c;e++)", |
- "if(e in d&&b.call(void 0,d[e],e,a)){c=e;break a}c=-1}return 0>c?null:h(", |
- "a)?a.charAt(c):a[c]}function q(a,b){var c;a:if(h(a))c=h(b)&&1==b.length", |
- "?a.indexOf(b,0):-1;else{for(c=0;c<a.length;c++)if(c in a&&a[c]===b)brea", |
- "k a;c=-1}return 0<=c}\nfunction oa(a,b,c){return 2>=arguments.length?ia", |
- ".slice.call(a,b):ia.slice.call(a,b,c)};function r(a,b){this.x=void 0!==", |
- "a?a:0;this.y=void 0!==b?b:0}r.prototype.toString=function(){return\"(\"", |
- "+this.x+\", \"+this.y+\")\"};r.prototype.ceil=function(){this.x=Math.ce", |
- "il(this.x);this.y=Math.ceil(this.y);return this};r.prototype.floor=func", |
- "tion(){this.x=Math.floor(this.x);this.y=Math.floor(this.y);return this}", |
- ";r.prototype.round=function(){this.x=Math.round(this.x);this.y=Math.rou", |
- "nd(this.y);return this};function t(a,b){this.width=a;this.height=b}t.pr", |
- "ototype.toString=function(){return\"(\"+this.width+\" x \"+this.height+", |
- "\")\"};t.prototype.ceil=function(){this.width=Math.ceil(this.width);thi", |
- "s.height=Math.ceil(this.height);return this};t.prototype.floor=function", |
- "(){this.width=Math.floor(this.width);this.height=Math.floor(this.height", |
- ");return this};t.prototype.round=function(){this.width=Math.round(this.", |
- "width);this.height=Math.round(this.height);return this};function u(a){r", |
- "eturn a?new v(w(a)):fa||(fa=new v)}function pa(a){for(;a&&1!=a.nodeType", |
- ";)a=a.previousSibling;return a}function x(a,b){if(a.contains&&1==b.node", |
- "Type)return a==b||a.contains(b);if(\"undefined\"!=typeof a.compareDocum", |
- "entPosition)return a==b||Boolean(a.compareDocumentPosition(b)&16);for(;", |
- "b&&a!=b;)b=b.parentNode;return b==a}\nfunction qa(a,b){if(a==b)return 0", |
- ";if(a.compareDocumentPosition)return a.compareDocumentPosition(b)&2?1:-", |
- "1;if(\"sourceIndex\"in a||a.parentNode&&\"sourceIndex\"in a.parentNode)", |
- "{var c=1==a.nodeType,d=1==b.nodeType;if(c&&d)return a.sourceIndex-b.sou", |
- "rceIndex;var e=a.parentNode,f=b.parentNode;return e==f?ra(a,b):!c&&x(e,", |
- "b)?-1*sa(a,b):!d&&x(f,a)?sa(b,a):(c?a.sourceIndex:e.sourceIndex)-(d?b.s", |
- "ourceIndex:f.sourceIndex)}d=w(a);c=d.createRange();c.selectNode(a);c.co", |
- "llapse(!0);d=d.createRange();d.selectNode(b);d.collapse(!0);\nreturn c.", |
- "compareBoundaryPoints(aa.Range.START_TO_END,d)}function sa(a,b){var c=a", |
- ".parentNode;if(c==b)return-1;for(var d=b;d.parentNode!=c;)d=d.parentNod", |
- "e;return ra(d,a)}function ra(a,b){for(var c=b;c=c.previousSibling;)if(c", |
- "==a)return-1;return 1}function w(a){return 9==a.nodeType?a:a.ownerDocum", |
- "ent||a.document}function ta(a,b){a=a.parentNode;for(var c=0;a;){if(b(a)", |
- ")return a;a=a.parentNode;c++}return null}function v(a){this.j=a||aa.doc", |
- "ument||document}\nfunction z(a,b,c,d){a=d||a.j;b=b&&\"*\"!=b?b.toUpperC", |
- "ase():\"\";if(a.querySelectorAll&&a.querySelector&&(b||c))c=a.querySele", |
- "ctorAll(b+(c?\".\"+c:\"\"));else if(c&&a.getElementsByClassName)if(a=a.", |
- "getElementsByClassName(c),b){d={};for(var e=0,f=0,g;g=a[f];f++)b==g.nod", |
- "eName&&(d[e++]=g);d.length=e;c=d}else c=a;else if(a=a.getElementsByTagN", |
- "ame(b||\"*\"),c){d={};for(f=e=0;g=a[f];f++)b=g.className,\"function\"==", |
- "typeof b.split&&q(b.split(/\\s+/),c)&&(d[e++]=g);d.length=e;c=d}else c=", |
- "a;return c}v.prototype.contains=x;var A={l:function(a){return!(!a.query", |
- "SelectorAll||!a.querySelector)},c:function(a,b){if(!a)throw new l(32,\"", |
- "No class name specified\");a=m(a);if(-1!==a.indexOf(\" \"))throw new l(", |
- "32,\"Compound class names not permitted\");if(A.l(b))try{return b.query", |
- "Selector(\".\"+a.replace(/\\./g,\"\\\\.\"))||null}catch(c){throw new l(", |
- "32,\"An invalid or illegal class name was specified\");}var d=z(u(b),\"", |
- "*\",a,b);return d.length?d[0]:null},d:function(a,b){if(!a)throw new l(3", |
- "2,\"No class name specified\");a=m(a);if(-1!==a.indexOf(\" \"))throw ne", |
- "w l(32,\n\"Compound class names not permitted\");if(A.l(b))try{return b", |
- ".querySelectorAll(\".\"+a.replace(/\\./g,\"\\\\.\"))}catch(c){throw new", |
- " l(32,\"An invalid or illegal class name was specified\");}return z(u(b", |
- "),\"*\",a,b)}};var B={c:function(a,b){k(b.querySelector);if(!a)throw ne", |
- "w l(32,\"No selector specified\");a=m(a);var c;try{c=b.querySelector(a)", |
- "}catch(d){throw new l(32,\"An invalid or illegal selector was specified", |
- "\");}return c&&1==c.nodeType?c:null},d:function(a,b){k(b.querySelectorA", |
- "ll);if(!a)throw new l(32,\"No selector specified\");a=m(a);try{return b", |
- ".querySelectorAll(a)}catch(c){throw new l(32,\"An invalid or illegal se", |
- "lector was specified\");}}};var ua={aliceblue:\"#f0f8ff\",antiquewhite:", |
- "\"#faebd7\",aqua:\"#00ffff\",aquamarine:\"#7fffd4\",azure:\"#f0ffff\",b", |
- "eige:\"#f5f5dc\",bisque:\"#ffe4c4\",black:\"#000000\",blanchedalmond:\"", |
- "#ffebcd\",blue:\"#0000ff\",blueviolet:\"#8a2be2\",brown:\"#a52a2a\",bur", |
- "lywood:\"#deb887\",cadetblue:\"#5f9ea0\",chartreuse:\"#7fff00\",chocola", |
- "te:\"#d2691e\",coral:\"#ff7f50\",cornflowerblue:\"#6495ed\",cornsilk:\"", |
- "#fff8dc\",crimson:\"#dc143c\",cyan:\"#00ffff\",darkblue:\"#00008b\",dar", |
- "kcyan:\"#008b8b\",darkgoldenrod:\"#b8860b\",darkgray:\"#a9a9a9\",darkgr", |
- "een:\"#006400\",\ndarkgrey:\"#a9a9a9\",darkkhaki:\"#bdb76b\",darkmagent", |
- "a:\"#8b008b\",darkolivegreen:\"#556b2f\",darkorange:\"#ff8c00\",darkorc", |
- "hid:\"#9932cc\",darkred:\"#8b0000\",darksalmon:\"#e9967a\",darkseagreen", |
- ":\"#8fbc8f\",darkslateblue:\"#483d8b\",darkslategray:\"#2f4f4f\",darksl", |
- "ategrey:\"#2f4f4f\",darkturquoise:\"#00ced1\",darkviolet:\"#9400d3\",de", |
- "eppink:\"#ff1493\",deepskyblue:\"#00bfff\",dimgray:\"#696969\",dimgrey:", |
- "\"#696969\",dodgerblue:\"#1e90ff\",firebrick:\"#b22222\",floralwhite:\"", |
- "#fffaf0\",forestgreen:\"#228b22\",fuchsia:\"#ff00ff\",gainsboro:\"#dcdc", |
- "dc\",\nghostwhite:\"#f8f8ff\",gold:\"#ffd700\",goldenrod:\"#daa520\",gr", |
- "ay:\"#808080\",green:\"#008000\",greenyellow:\"#adff2f\",grey:\"#808080", |
- "\",honeydew:\"#f0fff0\",hotpink:\"#ff69b4\",indianred:\"#cd5c5c\",indig", |
- "o:\"#4b0082\",ivory:\"#fffff0\",khaki:\"#f0e68c\",lavender:\"#e6e6fa\",", |
- "lavenderblush:\"#fff0f5\",lawngreen:\"#7cfc00\",lemonchiffon:\"#fffacd", |
- "\",lightblue:\"#add8e6\",lightcoral:\"#f08080\",lightcyan:\"#e0ffff\",l", |
- "ightgoldenrodyellow:\"#fafad2\",lightgray:\"#d3d3d3\",lightgreen:\"#90e", |
- "e90\",lightgrey:\"#d3d3d3\",lightpink:\"#ffb6c1\",lightsalmon:\"#ffa07a", |
- "\",\nlightseagreen:\"#20b2aa\",lightskyblue:\"#87cefa\",lightslategray:", |
- "\"#778899\",lightslategrey:\"#778899\",lightsteelblue:\"#b0c4de\",light", |
- "yellow:\"#ffffe0\",lime:\"#00ff00\",limegreen:\"#32cd32\",linen:\"#faf0", |
- "e6\",magenta:\"#ff00ff\",maroon:\"#800000\",mediumaquamarine:\"#66cdaa", |
- "\",mediumblue:\"#0000cd\",mediumorchid:\"#ba55d3\",mediumpurple:\"#9370", |
- "db\",mediumseagreen:\"#3cb371\",mediumslateblue:\"#7b68ee\",mediumsprin", |
- "ggreen:\"#00fa9a\",mediumturquoise:\"#48d1cc\",mediumvioletred:\"#c7158", |
- "5\",midnightblue:\"#191970\",mintcream:\"#f5fffa\",mistyrose:\"#ffe4e1", |
- "\",\nmoccasin:\"#ffe4b5\",navajowhite:\"#ffdead\",navy:\"#000080\",oldl", |
- "ace:\"#fdf5e6\",olive:\"#808000\",olivedrab:\"#6b8e23\",orange:\"#ffa50", |
- "0\",orangered:\"#ff4500\",orchid:\"#da70d6\",palegoldenrod:\"#eee8aa\",", |
- "palegreen:\"#98fb98\",paleturquoise:\"#afeeee\",palevioletred:\"#db7093", |
- "\",papayawhip:\"#ffefd5\",peachpuff:\"#ffdab9\",peru:\"#cd853f\",pink:", |
- "\"#ffc0cb\",plum:\"#dda0dd\",powderblue:\"#b0e0e6\",purple:\"#800080\",", |
- "red:\"#ff0000\",rosybrown:\"#bc8f8f\",royalblue:\"#4169e1\",saddlebrown", |
- ":\"#8b4513\",salmon:\"#fa8072\",sandybrown:\"#f4a460\",seagreen:\"#2e8b", |
- "57\",\nseashell:\"#fff5ee\",sienna:\"#a0522d\",silver:\"#c0c0c0\",skybl", |
- "ue:\"#87ceeb\",slateblue:\"#6a5acd\",slategray:\"#708090\",slategrey:\"", |
- "#708090\",snow:\"#fffafa\",springgreen:\"#00ff7f\",steelblue:\"#4682b4", |
- "\",tan:\"#d2b48c\",teal:\"#008080\",thistle:\"#d8bfd8\",tomato:\"#ff634", |
- "7\",turquoise:\"#40e0d0\",violet:\"#ee82ee\",wheat:\"#f5deb3\",white:\"", |
- "#ffffff\",whitesmoke:\"#f5f5f5\",yellow:\"#ffff00\",yellowgreen:\"#9acd", |
- "32\"};var va=\"backgroundColor borderTopColor borderRightColor borderBo", |
- "ttomColor borderLeftColor color outlineColor\".split(\" \"),wa=/#([0-9a", |
- "-fA-F])([0-9a-fA-F])([0-9a-fA-F])/,xa=/^#(?:[0-9a-f]{3}){1,2}$/i,ya=/^(", |
- "?:rgba)?\\((\\d{1,3}),\\s?(\\d{1,3}),\\s?(\\d{1,3}),\\s?(0|1|0\\.\\d*)", |
- "\\)$/i,za=/^(?:rgb)?\\((0|[1-9]\\d{0,2}),\\s?(0|[1-9]\\d{0,2}),\\s?(0|[", |
- "1-9]\\d{0,2})\\)$/i;function D(a){var b=null,c=a.nodeType;1==c&&(b=a.te", |
- "xtContent,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.fi", |
- "rstChild;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););}}els", |
- "e b=a.nodeValue;return\"\"+b};function E(){this.g=this.i=null;this.p=0}", |
- "function Aa(a){this.r=a;this.next=this.s=null}E.prototype.add=function(", |
- "a){a=new Aa(a);a.s=this.g;this.i?this.g.next=a:this.i=this.g=a;this.g=a", |
- ";this.p++};function Ba(a){return(a=a.i)?a.r:null}function F(a){return n", |
- "ew Ca(a,!1)}function Ca(a,b){this.n=(this.t=b)?a.g:a.i}Ca.prototype.nex", |
- "t=function(){var a=this.n;if(null==a)return null;this.n=this.t?a.s:a.ne", |
- "xt;return a.r};function G(a,b,c,d,e){b=b.evaluate(d);c=c.evaluate(d);va", |
- "r f;if(b instanceof E&&c instanceof E){e=F(b);for(d=e.next();d;d=e.next", |
- "())for(b=F(c),f=b.next();f;f=b.next())if(a(D(d),D(f)))return!0;return!1", |
- "}if(b instanceof E||c instanceof E){b instanceof E?e=b:(e=c,c=b);e=F(e)", |
- ";b=typeof c;for(d=e.next();d;d=e.next()){switch(b){case \"number\":d=+D", |
- "(d);break;case \"boolean\":d=!!D(d);break;case \"string\":d=D(d);break;", |
- "default:throw Error(\"Illegal primitive type for comparison.\");}if(a(d", |
- ",c))return!0}return!1}return e?\n\"boolean\"==typeof b||\"boolean\"==ty", |
- "peof c?a(!!b,!!c):\"number\"==typeof b||\"number\"==typeof c?a(+b,+c):a", |
- "(b,c):a(+b,+c)}function Da(a,b,c,d){this.w=a;this.h=d}Da.prototype.toSt", |
- "ring=function(){return this.w};var Ea={};function H(a,b){if(Ea.hasOwnPr", |
- "operty(a))throw Error(\"Binary operator already created: \"+a);var c=ne", |
- "w Da(a,0,0,b);Ea[c.toString()]=c}H(\"div\",function(a,b,c){return a.b(c", |
- ")/b.b(c)});H(\"mod\",function(a,b,c){return a.b(c)%b.b(c)});H(\"*\",fun", |
- "ction(a,b,c){return a.b(c)*b.b(c)});\nH(\"+\",function(a,b,c){return a.", |
- "b(c)+b.b(c)});H(\"-\",function(a,b,c){return a.b(c)-b.b(c)});H(\"<\",fu", |
- "nction(a,b,c){return G(function(a,b){return a<b},a,b,c)});H(\">\",funct", |
- "ion(a,b,c){return G(function(a,b){return a>b},a,b,c)});H(\"<=\",functio", |
- "n(a,b,c){return G(function(a,b){return a<=b},a,b,c)});H(\">=\",function", |
- "(a,b,c){return G(function(a,b){return a>=b},a,b,c)});H(\"=\",function(a", |
- ",b,c){return G(function(a,b){return a==b},a,b,c,!0)});H(\"!=\",function", |
- "(a,b,c){return G(function(a,b){return a!=b},a,b,c,!0)});\nH(\"and\",fun", |
- "ction(a,b,c){return a.f(c)&&b.f(c)});H(\"or\",function(a,b,c){return a.", |
- "f(c)||b.f(c)});function Fa(a,b,c,d,e,f){this.k=a;this.h=f}Fa.prototype.", |
- "toString=function(){return this.k};var Ga={};function I(a,b){if(Ga.hasO", |
- "wnProperty(a))throw Error(\"Function already created: \"+a+\".\");Ga[a]", |
- "=new Fa(a,0,0,0,0,b)}I(\"boolean\",function(a,b){return b.f(a)});I(\"ce", |
- "iling\",function(a,b){return Math.ceil(b.b(a))});I(\"concat\",function(", |
- "a,b){return ka(oa(arguments,1),function(b,d){return b+d.a(a)})});I(\"co", |
- "ntains\",function(a,b,c){b=b.a(a);a=c.a(a);return-1!=b.indexOf(a)});I(", |
- "\"count\",function(a,b){return b.evaluate(a).p});\nI(\"false\",function", |
- "(){return!1});I(\"floor\",function(a,b){return Math.floor(b.b(a))});I(", |
- "\"id\",function(a,b){var c=a.e(),d=9==c.nodeType?c:c.ownerDocument,c=b.", |
- "a(a).split(/\\s+/),e=[];n(c,function(a){(a=d.getElementById(a))&&!q(e,a", |
- ")&&e.push(a)});e.sort(qa);var f=new E;n(e,function(a){f.add(a)});return", |
- " f});I(\"lang\",function(){return!1});I(\"last\",function(a){if(1!=argu", |
- "ments.length)throw Error(\"Function last expects ()\");return a.B()});", |
- "\nI(\"local-name\",function(a,b){var c=b?Ba(b.evaluate(a)):a.e();return", |
- " c?c.nodeName.toLowerCase():\"\"});I(\"name\",function(a,b){var c=b?Ba(", |
- "b.evaluate(a)):a.e();return c?c.nodeName.toLowerCase():\"\"});I(\"names", |
- "pace-uri\",function(){return\"\"});I(\"normalize-space\",function(a,b){", |
- "return(b?b.a(a):D(a.e())).replace(/[\\s\\xa0]+/g,\" \").replace(/^\\s+|", |
- "\\s+$/g,\"\")});I(\"not\",function(a,b){return!b.f(a)});I(\"number\",fu", |
- "nction(a,b){return b?b.b(a):+D(a.e())});I(\"position\",function(a){retu", |
- "rn a.C()});I(\"round\",function(a,b){return Math.round(b.b(a))});\nI(\"", |
- "starts-with\",function(a,b,c){b=b.a(a);a=c.a(a);return 0==b.lastIndexOf", |
- "(a,0)});I(\"string\",function(a,b){return b?b.a(a):D(a.e())});I(\"strin", |
- "g-length\",function(a,b){return(b?b.a(a):D(a.e())).length});I(\"substri", |
- "ng\",function(a,b,c,d){c=c.b(a);if(isNaN(c)||Infinity==c||-Infinity==c)", |
- "return\"\";d=d?d.b(a):Infinity;if(isNaN(d)||-Infinity===d)return\"\";c=", |
- "Math.round(c)-1;var e=Math.max(c,0);a=b.a(a);if(Infinity==d)return a.su", |
- "bstring(e);b=Math.round(d);return a.substring(e,c+b)});\nI(\"substring-", |
- "after\",function(a,b,c){b=b.a(a);a=c.a(a);c=b.indexOf(a);return-1==c?\"", |
- "\":b.substring(c+a.length)});I(\"substring-before\",function(a,b,c){b=b", |
- ".a(a);a=c.a(a);a=b.indexOf(a);return-1==a?\"\":b.substring(0,a)});I(\"s", |
- "um\",function(a,b){for(var c=F(b.evaluate(a)),d=0,e=c.next();e;e=c.next", |
- "())d+=+D(e);return d});\nI(\"translate\",function(a,b,c,d){b=b.a(a);c=c", |
- ".a(a);var e=d.a(a);a=[];for(d=0;d<c.length;d++){var f=c.charAt(d);f in ", |
- "a||(a[f]=e.charAt(d))}c=\"\";for(d=0;d<b.length;d++)f=b.charAt(d),c+=f ", |
- "in a?a[f]:f;return c});I(\"true\",function(){return!0});function Ha(a,b", |
- ",c){this.k=a;this.t=c}Ha.prototype.toString=function(){return this.k};v", |
- "ar Ia={};function J(a,b){if(Ia.hasOwnProperty(a))throw Error(\"Axis alr", |
- "eady created: \"+a);Ia[a]=new Ha(a,0,b)}J(\"ancestor\",!0);J(\"ancestor", |
- "-or-self\",!0);J(\"attribute\",!1);J(\"child\",!1);J(\"descendant\",!1)", |
- ";J(\"descendant-or-self\",!1);J(\"following\",!1);J(\"following-sibling", |
- "\",!1);J(\"namespace\",!1);J(\"parent\",!1);J(\"preceding\",!0);J(\"pre", |
- "ceding-sibling\",!0);J(\"self\",!1);var K={};K.v=function(){var a={F:\"", |
- "http://www.w3.org/2000/svg\"};return function(b){return a[b]||null}}();", |
- "K.h=function(a,b,c){var d=w(a);try{var e=d.createNSResolver?d.createNSR", |
- "esolver(d.documentElement):K.v;return d.evaluate(b,a,e,c,null)}catch(f)", |
- "{throw new l(32,\"Unable to locate an element with the xpath expression", |
- " \"+b+\" because of the following error:\\n\"+f);}};K.m=function(a,b){i", |
- "f(!a||1!=a.nodeType)throw new l(32,'The result of the xpath expression ", |
- "\"'+b+'\" is: '+a+\". It should be an element.\");};\nK.c=function(a,b)", |
- "{var c=function(){var c=K.h(b,a,9);return c?c.singleNodeValue||null:b.s", |
- "electSingleNode?(c=w(b),c.setProperty&&c.setProperty(\"SelectionLanguag", |
- "e\",\"XPath\"),b.selectSingleNode(a)):null}();null===c||K.m(c,a);return", |
- " c};\nK.d=function(a,b){var c=function(){var c=K.h(b,a,7);if(c){for(var", |
- " e=c.snapshotLength,f=[],g=0;g<e;++g)f.push(c.snapshotItem(g));return f", |
- "}return b.selectNodes?(c=w(b),c.setProperty&&c.setProperty(\"SelectionL", |
- "anguage\",\"XPath\"),b.selectNodes(a)):[]}();n(c,function(b){K.m(b,a)})", |
- ";return c};function L(a,b,c,d){this.top=a;this.right=b;this.bottom=c;th", |
- "is.left=d}L.prototype.toString=function(){return\"(\"+this.top+\"t, \"+", |
- "this.right+\"r, \"+this.bottom+\"b, \"+this.left+\"l)\"};L.prototype.co", |
- "ntains=function(a){return this&&a?a instanceof L?a.left>=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};\nL.prototype.ce", |
- "il=function(){this.top=Math.ceil(this.top);this.right=Math.ceil(this.ri", |
- "ght);this.bottom=Math.ceil(this.bottom);this.left=Math.ceil(this.left);", |
- "return this};L.prototype.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};\nL.prototype.round=functi", |
- "on(){this.top=Math.round(this.top);this.right=Math.round(this.right);th", |
- "is.bottom=Math.round(this.bottom);this.left=Math.round(this.left);retur", |
- "n this};function M(a,b,c,d){this.left=a;this.top=b;this.width=c;this.he", |
- "ight=d}M.prototype.toString=function(){return\"(\"+this.left+\", \"+thi", |
- "s.top+\" - \"+this.width+\"w x \"+this.height+\"h)\"};M.prototype.conta", |
- "ins=function(a){return a instanceof M?this.left<=a.left&&this.left+this", |
- ".width>=a.left+a.width&&this.top<=a.top&&this.top+this.height>=a.top+a.", |
- "height:a.x>=this.left&&a.x<=this.left+this.width&&a.y>=this.top&&a.y<=t", |
- "his.top+this.height};\nM.prototype.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};M.prototype.floor=fun", |
- "ction(){this.left=Math.floor(this.left);this.top=Math.floor(this.top);t", |
- "his.width=Math.floor(this.width);this.height=Math.floor(this.height);re", |
- "turn this};\nM.prototype.round=function(){this.left=Math.round(this.lef", |
- "t);this.top=Math.round(this.top);this.width=Math.round(this.width);this", |
- ".height=Math.round(this.height);return this};function O(a,b){return!!a&", |
- "&1==a.nodeType&&(!b||a.tagName.toUpperCase()==b)}var Ja=/[;]+(?=(?:(?:[", |
- "^\"]*\"){2})*[^\"]*$)(?=(?:(?:[^']*'){2})*[^']*$)(?=(?:[^()]*\\([^()]*", |
- "\\))*[^()]*$)/;function Ka(a){var b=[];n(a.split(Ja),function(a){var d=", |
- "a.indexOf(\":\");0<d&&(a=[a.slice(0,d),a.slice(d+1)],2==a.length&&b.pus", |
- "h(a[0].toLowerCase(),\":\",a[1],\";\"))});b=b.join(\"\");return b=\";\"", |
- "==b.charAt(b.length-1)?b:b+\";\"}\nfunction P(a,b){b=b.toLowerCase();if", |
- "(\"style\"==b)return Ka(a.style.cssText);var c=a.getAttributeNode(b);re", |
- "turn c&&c.specified?c.value:null}function Q(a){for(a=a.parentNode;a&&1!", |
- "=a.nodeType&&9!=a.nodeType&&11!=a.nodeType;)a=a.parentNode;return O(a)?", |
- "a:null}\nfunction R(a,b){var c=ha(b);if(\"float\"==c||\"cssFloat\"==c||", |
- "\"styleFloat\"==c)c=\"cssFloat\";var d;a:{d=c;var e=w(a);if(e.defaultVi", |
- "ew&&e.defaultView.getComputedStyle&&(e=e.defaultView.getComputedStyle(a", |
- ",null))){d=e[d]||e.getPropertyValue(d)||\"\";break a}d=\"\"}d=d||La(a,c", |
- ");if(null===d)d=null;else if(q(va,c)){b:{var f=d.match(ya);if(f){var c=", |
- "Number(f[1]),e=Number(f[2]),g=Number(f[3]),f=Number(f[4]);if(0<=c&&255>", |
- "=c&&0<=e&&255>=e&&0<=g&&255>=g&&0<=f&&1>=f){c=[c,e,g,f];break b}}c=null", |
- "}if(!c){b:{if(g=d.match(za))if(c=\nNumber(g[1]),e=Number(g[2]),g=Number", |
- "(g[3]),0<=c&&255>=c&&0<=e&&255>=e&&0<=g&&255>=g){c=[c,e,g,1];break b}c=", |
- "null}if(!c)b:{c=d.toLowerCase();e=ua[c.toLowerCase()];if(!e&&(e=\"#\"==", |
- "c.charAt(0)?c:\"#\"+c,4==e.length&&(e=e.replace(wa,\"#$1$1$2$2$3$3\")),", |
- "!xa.test(e))){c=null;break b}c=[parseInt(e.substr(1,2),16),parseInt(e.s", |
- "ubstr(3,2),16),parseInt(e.substr(5,2),16),1]}}d=c?\"rgba(\"+c.join(\", ", |
- "\")+\")\":d}return d}\nfunction La(a,b){var c=a.currentStyle||a.style,d", |
- "=c[b];void 0===d&&k(c.getPropertyValue)&&(d=c.getPropertyValue(b));retu", |
- "rn\"inherit\"!=d?void 0!==d?d:null:(c=Q(a))?La(c,b):null}\nfunction Ma(", |
- "a,b){function c(a){if(\"none\"==R(a,\"display\"))return!1;a=Q(a);return", |
- "!a||c(a)}function d(a){var b=S(a);return 0<b.height&&0<b.width?!0:O(a,", |
- "\"PATH\")&&(0<b.height||0<b.width)?(a=R(a,\"stroke-width\"),!!a&&0<pars", |
- "eInt(a,10)):\"hidden\"!=R(a,\"overflow\")&&la(a.childNodes,function(a){", |
- "return 3==a.nodeType||O(a)&&d(a)})}function e(a){return Na(a)==T&&ma(a.", |
- "childNodes,function(a){return!O(a)||e(a)})}if(!O(a))throw Error(\"Argum", |
- "ent to isShown must be of type Element\");if(O(a,\"BODY\"))return!0;if(", |
- "O(a,\"OPTION\")||\nO(a,\"OPTGROUP\")){var f=ta(a,function(a){return O(a", |
- ",\"SELECT\")});return!!f&&Ma(f,!0)}return(f=Oa(a))?!!f.o&&0<f.rect.widt", |
- "h&&0<f.rect.height&&Ma(f.o,b):O(a,\"INPUT\")&&\"hidden\"==a.type.toLowe", |
- "rCase()||O(a,\"NOSCRIPT\")||\"hidden\"==R(a,\"visibility\")||!c(a)||!b&", |
- "&0==Pa(a)||!d(a)?!1:!e(a)}var T=\"hidden\";\nfunction Na(a){function b(", |
- "a){function b(a){return a==g?!0:0==R(a,\"display\").lastIndexOf(\"inlin", |
- "e\",0)||\"absolute\"==c&&\"static\"==R(a,\"position\")?!1:!0}var c=R(a,", |
- "\"position\");if(\"fixed\"==c)return N=!0,a==g?null:g;for(a=Q(a);a&&!b(", |
- "a);)a=Q(a);return a}function c(a){var b=a;if(\"visible\"==Y)if(a==g&&y)", |
- "b=y;else if(a==y)return{x:\"visible\",y:\"visible\"};b={x:R(b,\"overflo", |
- "w-x\"),y:R(b,\"overflow-y\")};a==g&&(b.x=\"visible\"==b.x?\"auto\":b.x,", |
- "b.y=\"visible\"==b.y?\"auto\":b.y);return b}function d(a){if(a==g){var ", |
- "b=(new v(f)).j;\na=b.body||b.documentElement;b=b.parentWindow||b.defaul", |
- "tView;a=new r(b.pageXOffset||a.scrollLeft,b.pageYOffset||a.scrollTop)}e", |
- "lse a=new r(a.scrollLeft,a.scrollTop);return a}var e=Qa(a),f=w(a),g=f.d", |
- "ocumentElement,y=f.body,Y=R(g,\"overflow\"),N;for(a=b(a);a;a=b(a)){var ", |
- "p=c(a);if(\"visible\"!=p.x||\"visible\"!=p.y){var s=S(a);if(0==s.width|", |
- "|0==s.height)return T;var C=e.right<s.left,Z=e.bottom<s.top;if(C&&\"hid", |
- "den\"==p.x||Z&&\"hidden\"==p.y)return T;if(C&&\"visible\"!=p.x||Z&&\"vi", |
- "sible\"!=p.y){C=d(a);Z=e.bottom<s.top-\nC.y;if(e.right<s.left-C.x&&\"vi", |
- "sible\"!=p.x||Z&&\"visible\"!=p.x)return T;e=Na(a);return e==T?T:\"scro", |
- "ll\"}C=e.left>=s.left+s.width;s=e.top>=s.top+s.height;if(C&&\"hidden\"=", |
- "=p.x||s&&\"hidden\"==p.y)return T;if(C&&\"visible\"!=p.x||s&&\"visible", |
- "\"!=p.y){if(N&&(p=d(a),e.left>=g.scrollWidth-p.x||e.right>=g.scrollHeig", |
- "ht-p.y))return T;e=Na(a);return e==T?T:\"scroll\"}}}return\"none\"}\nfu", |
- "nction S(a){var b=Oa(a);if(b)return b.rect;if(O(a,\"HTML\"))return a=w(", |
- "a),a=((a?a.parentWindow||a.defaultView:window)||window).document,a=\"CS", |
- "S1Compat\"==a.compatMode?a.documentElement:a.body,a=new t(a.clientWidth", |
- ",a.clientHeight),new M(0,0,a.width,a.height);var c;try{c=a.getBoundingC", |
- "lientRect()}catch(d){return new M(0,0,0,0)}return new M(c.left,c.top,c.", |
- "right-c.left,c.bottom-c.top)}\nfunction Oa(a){var b=O(a,\"MAP\");if(!b&", |
- "&!O(a,\"AREA\"))return null;var c=b?a:O(a.parentNode,\"MAP\")?a.parentN", |
- "ode:null,d=null,e=null;if(c&&c.name&&(d=K.c('/descendant::*[@usemap = ", |
- "\"#'+c.name+'\"]',w(c)))&&(e=S(d),!b&&\"default\"!=a.shape.toLowerCase(", |
- "))){var f=Ra(a);a=Math.min(Math.max(f.left,0),e.width);b=Math.min(Math.", |
- "max(f.top,0),e.height);c=Math.min(f.width,e.width-a);f=Math.min(f.heigh", |
- "t,e.height-b);e=new M(a+e.left,b+e.top,c,f)}return{o:d,rect:e||new M(0,", |
- "0,0,0)}}\nfunction Ra(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 M(b,c,", |
- "a[2]-b,a[3]-c)}if(\"circle\"==b&&3==a.length)return b=a[2],new M(a[0]-b", |
- ",a[1]-b,2*b,2*b);if(\"poly\"==b&&2<a.length){for(var b=a[0],c=a[1],d=b,", |
- "e=c,f=2;f+1<a.length;f+=2)b=Math.min(b,a[f]),d=Math.max(d,a[f]),c=Math.", |
- "min(c,a[f+1]),e=Math.max(e,a[f+1]);return new M(b,c,d-b,e-c)}return new", |
- " M(0,0,0,0)}function Qa(a){a=S(a);return new L(a.top,a.left+a.width,a.t", |
- "op+a.height,a.left)}\nfunction Sa(a){return a.replace(/^[^\\S\\xa0]+|[^", |
- "\\S\\xa0]+$/g,\"\")}function Ta(a){var b=[];Ua(a,b);var c=b;a=c.length;", |
- "for(var b=Array(a),c=h(c)?c.split(\"\"):c,d=0;d<a;d++)d in c&&(b[d]=Sa.", |
- "call(void 0,c[d]));return Sa(b.join(\"\\n\")).replace(/\\xa0/g,\" \")}", |
- "\nfunction Ua(a,b){if(O(a,\"BR\"))b.push(\"\");else{var c=O(a,\"TD\"),d", |
- "=R(a,\"display\"),e=!c&&!q(Va,d),f=void 0!=a.previousElementSibling?a.p", |
- "reviousElementSibling:pa(a.previousSibling),f=f?R(f,\"display\"):\"\",g", |
- "=R(a,\"float\")||R(a,\"cssFloat\")||R(a,\"styleFloat\");!e||\"run-in\"=", |
- "=f&&\"none\"==g||/^[\\s\\xa0]*$/.test(b[b.length-1]||\"\")||b.push(\"\"", |
- ");var y=Ma(a),Y=null,N=null;y&&(Y=R(a,\"white-space\"),N=R(a,\"text-tra", |
- "nsform\"));n(a.childNodes,function(a){3==a.nodeType&&y?Wa(a,b,Y,N):O(a)", |
- "&&Ua(a,b)});f=b[b.length-1]||\"\";!c&&\"table-cell\"!=\nd||!f||ga(f)||(", |
- "b[b.length-1]+=\" \");e&&\"run-in\"!=d&&!/^[\\s\\xa0]*$/.test(f)&&b.pus", |
- "h(\"\")}}var Va=\"inline inline-block inline-table none table-cell tabl", |
- "e-column table-column-group\".split(\" \");\nfunction Wa(a,b,c,d){a=a.n", |
- "odeValue.replace(/[\\u200b\\u200e\\u200f]/g,\"\");a=a.replace(/(\\r\\n|", |
- "\\r|\\n)/g,\"\\n\");if(\"normal\"==c||\"nowrap\"==c)a=a.replace(/\\n/g,", |
- "\" \");a=\"pre\"==c||\"pre-wrap\"==c?a.replace(/[ \\f\\t\\v\\u2028\\u20", |
- "29]/g,\"\\u00a0\"):a.replace(/[\\ \\f\\t\\v\\u2028\\u2029]+/g,\" \");\"", |
- "capitalize\"==d?a=a.replace(/(^|\\s)(\\S)/g,function(a,b,c){return b+c.", |
- "toUpperCase()}):\"uppercase\"==d?a=a.toUpperCase():\"lowercase\"==d&&(a", |
- "=a.toLowerCase());c=b.pop()||\"\";ga(c)&&0==a.lastIndexOf(\" \",0)&&(a=", |
- "a.substr(1));b.push(c+a)}\nfunction Pa(a){var b=1,c=R(a,\"opacity\");c&", |
- "&(b=Number(c));(a=Q(a))&&(b*=Pa(a));return b};var U={},V={};U.u=functio", |
- "n(a,b,c){var d;try{d=B.d(\"a\",b)}catch(e){d=z(u(b),\"A\",null,b)}retur", |
- "n na(d,function(b){b=Ta(b);return c&&-1!=b.indexOf(a)||b==a})};U.q=func", |
- "tion(a,b,c){var d;try{d=B.d(\"a\",b)}catch(e){d=z(u(b),\"A\",null,b)}re", |
- "turn ja(d,function(b){b=Ta(b);return c&&-1!=b.indexOf(a)||b==a})};U.c=f", |
- "unction(a,b){return U.u(a,b,!1)};U.d=function(a,b){return U.q(a,b,!1)};", |
- "V.c=function(a,b){return U.u(a,b,!0)};V.d=function(a,b){return U.q(a,b,", |
- "!0)};var Xa={c:function(a,b){return b.getElementsByTagName(a)[0]||null}", |
- ",d:function(a,b){return b.getElementsByTagName(a)}};var Ya={className:A", |
- ",\"class name\":A,css:B,\"css selector\":B,id:{c:function(a,b){var c=u(", |
- "b),d=h(a)?c.j.getElementById(a):a;if(!d)return null;if(P(d,\"id\")==a&&", |
- "x(b,d))return d;c=z(c,\"*\");return na(c,function(c){return P(c,\"id\")", |
- "==a&&x(b,c)})},d:function(a,b){var c=z(u(b),\"*\",null,b);return ja(c,f", |
- "unction(b){return P(b,\"id\")==a})}},linkText:U,\"link text\":U,name:{c", |
- ":function(a,b){var c=z(u(b),\"*\",null,b);return na(c,function(b){retur", |
- "n P(b,\"name\")==a})},d:function(a,b){var c=z(u(b),\"*\",null,b);return", |
- " ja(c,function(b){return P(b,\n\"name\")==a})}},partialLinkText:V,\"par", |
- "tial link text\":V,tagName:Xa,\"tag name\":Xa,xpath:K};function Za(a,b)", |
- "{var c;a:{for(c in a)if(a.hasOwnProperty(c))break a;c=null}if(c){var d=", |
- "Ya[c];if(d&&k(d.c))return d.c(a[c],b||ca.document)}throw Error(\"Unsupp", |
- "orted locator strategy: \"+c);}var W=[\"_\"],X=aa;W[0]in X||!X.execScri", |
- "pt||X.execScript(\"var \"+W[0]);for(var $;W.length&&($=W.shift());)W.le", |
- "ngth||void 0===Za?X=X[$]?X[$]:X[$]={}:X[$]=Za;; return this._.apply(nul", |
- "l,arguments);}.apply({navigator:typeof window!=undefined?window.navigat", |
- "or:null,document:typeof window!=undefined?window.document:null}, argume", |
- "nts);}", |
- NULL |
-}; |
- |
const char* const FIND_ELEMENTS[] = { |
"function(){return function(){var aa=this;\nfunction ba(a){var b=typeof ", |
"a;if(\"object\"==b)if(a){if(a instanceof Array)return\"array\";if(a ins", |
@@ -2423,60 +2023,483 @@ const char* const SUBMIT[] = { |
NULL |
}; |
+const char* const FIND_ELEMENT[] = { |
+ "function(){return function(){var aa=this;\nfunction ba(a){var b=typeof ", |
+ "a;if(\"object\"==b)if(a){if(a instanceof Array)return\"array\";if(a ins", |
+ "tanceof Object)return b;var c=Object.prototype.toString.call(a);if(\"[o", |
+ "bject Window]\"==c)return\"object\";if(\"[object Array]\"==c||\"number", |
+ "\"==typeof a.length&&\"undefined\"!=typeof a.splice&&\"undefined\"!=typ", |
+ "eof a.propertyIsEnumerable&&!a.propertyIsEnumerable(\"splice\"))return", |
+ "\"array\";if(\"[object Function]\"==c||\"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 h(a){", |
+ "return\"string\"==typeof a}function k(a){return\"function\"==ba(a)};var", |
+ " ca=window;var da;function ea(a){var b=a.length-1;return 0<=b&&a.indexO", |
+ "f(\" \",b)==b}function l(a){return a.replace(/^[\\s\\xa0]+|[\\s\\xa0]+$", |
+ "/g,\"\")}function fa(a){return String(a).replace(/\\-([a-z])/g,function", |
+ "(a,c){return c.toUpperCase()})};var ga=Array.prototype;function m(a,b){", |
+ "for(var c=a.length,d=h(a)?a.split(\"\"):a,e=0;e<c;e++)e in d&&b.call(vo", |
+ "id 0,d[e],e,a)}function ha(a,b){for(var c=a.length,d=[],e=0,f=h(a)?a.sp", |
+ "lit(\"\"):a,g=0;g<c;g++)if(g in f){var y=f[g];b.call(void 0,y,g,a)&&(d[", |
+ "e++]=y)}return d}function ia(a,b){var c=\"\";m(a,function(d,e){c=b.call", |
+ "(void 0,c,d,e,a)});return c}function ja(a,b){for(var c=a.length,d=h(a)?", |
+ "a.split(\"\"):a,e=0;e<c;e++)if(e in d&&b.call(void 0,d[e],e,a))return!0", |
+ ";return!1}\nfunction ka(a,b){for(var c=a.length,d=h(a)?a.split(\"\"):a,", |
+ "e=0;e<c;e++)if(e in d&&!b.call(void 0,d[e],e,a))return!1;return!0}funct", |
+ "ion la(a,b){var c;a:{c=a.length;for(var d=h(a)?a.split(\"\"):a,e=0;e<c;", |
+ "e++)if(e in d&&b.call(void 0,d[e],e,a)){c=e;break a}c=-1}return 0>c?nul", |
+ "l:h(a)?a.charAt(c):a[c]}function n(a,b){var c;a:if(h(a))c=h(b)&&1==b.le", |
+ "ngth?a.indexOf(b,0):-1;else{for(c=0;c<a.length;c++)if(c in a&&a[c]===b)", |
+ "break a;c=-1}return 0<=c}\nfunction ma(a,b,c){return 2>=arguments.lengt", |
+ "h?ga.slice.call(a,b):ga.slice.call(a,b,c)};var na={aliceblue:\"#f0f8ff", |
+ "\",antiquewhite:\"#faebd7\",aqua:\"#00ffff\",aquamarine:\"#7fffd4\",azu", |
+ "re:\"#f0ffff\",beige:\"#f5f5dc\",bisque:\"#ffe4c4\",black:\"#000000\",b", |
+ "lanchedalmond:\"#ffebcd\",blue:\"#0000ff\",blueviolet:\"#8a2be2\",brown", |
+ ":\"#a52a2a\",burlywood:\"#deb887\",cadetblue:\"#5f9ea0\",chartreuse:\"#", |
+ "7fff00\",chocolate:\"#d2691e\",coral:\"#ff7f50\",cornflowerblue:\"#6495", |
+ "ed\",cornsilk:\"#fff8dc\",crimson:\"#dc143c\",cyan:\"#00ffff\",darkblue", |
+ ":\"#00008b\",darkcyan:\"#008b8b\",darkgoldenrod:\"#b8860b\",darkgray:\"", |
+ "#a9a9a9\",darkgreen:\"#006400\",\ndarkgrey:\"#a9a9a9\",darkkhaki:\"#bdb", |
+ "76b\",darkmagenta:\"#8b008b\",darkolivegreen:\"#556b2f\",darkorange:\"#", |
+ "ff8c00\",darkorchid:\"#9932cc\",darkred:\"#8b0000\",darksalmon:\"#e9967", |
+ "a\",darkseagreen:\"#8fbc8f\",darkslateblue:\"#483d8b\",darkslategray:\"", |
+ "#2f4f4f\",darkslategrey:\"#2f4f4f\",darkturquoise:\"#00ced1\",darkviole", |
+ "t:\"#9400d3\",deeppink:\"#ff1493\",deepskyblue:\"#00bfff\",dimgray:\"#6", |
+ "96969\",dimgrey:\"#696969\",dodgerblue:\"#1e90ff\",firebrick:\"#b22222", |
+ "\",floralwhite:\"#fffaf0\",forestgreen:\"#228b22\",fuchsia:\"#ff00ff\",", |
+ "gainsboro:\"#dcdcdc\",\nghostwhite:\"#f8f8ff\",gold:\"#ffd700\",goldenr", |
+ "od:\"#daa520\",gray:\"#808080\",green:\"#008000\",greenyellow:\"#adff2f", |
+ "\",grey:\"#808080\",honeydew:\"#f0fff0\",hotpink:\"#ff69b4\",indianred:", |
+ "\"#cd5c5c\",indigo:\"#4b0082\",ivory:\"#fffff0\",khaki:\"#f0e68c\",lave", |
+ "nder:\"#e6e6fa\",lavenderblush:\"#fff0f5\",lawngreen:\"#7cfc00\",lemonc", |
+ "hiffon:\"#fffacd\",lightblue:\"#add8e6\",lightcoral:\"#f08080\",lightcy", |
+ "an:\"#e0ffff\",lightgoldenrodyellow:\"#fafad2\",lightgray:\"#d3d3d3\",l", |
+ "ightgreen:\"#90ee90\",lightgrey:\"#d3d3d3\",lightpink:\"#ffb6c1\",light", |
+ "salmon:\"#ffa07a\",\nlightseagreen:\"#20b2aa\",lightskyblue:\"#87cefa\"", |
+ ",lightslategray:\"#778899\",lightslategrey:\"#778899\",lightsteelblue:", |
+ "\"#b0c4de\",lightyellow:\"#ffffe0\",lime:\"#00ff00\",limegreen:\"#32cd3", |
+ "2\",linen:\"#faf0e6\",magenta:\"#ff00ff\",maroon:\"#800000\",mediumaqua", |
+ "marine:\"#66cdaa\",mediumblue:\"#0000cd\",mediumorchid:\"#ba55d3\",medi", |
+ "umpurple:\"#9370db\",mediumseagreen:\"#3cb371\",mediumslateblue:\"#7b68", |
+ "ee\",mediumspringgreen:\"#00fa9a\",mediumturquoise:\"#48d1cc\",mediumvi", |
+ "oletred:\"#c71585\",midnightblue:\"#191970\",mintcream:\"#f5fffa\",mist", |
+ "yrose:\"#ffe4e1\",\nmoccasin:\"#ffe4b5\",navajowhite:\"#ffdead\",navy:", |
+ "\"#000080\",oldlace:\"#fdf5e6\",olive:\"#808000\",olivedrab:\"#6b8e23\"", |
+ ",orange:\"#ffa500\",orangered:\"#ff4500\",orchid:\"#da70d6\",palegolden", |
+ "rod:\"#eee8aa\",palegreen:\"#98fb98\",paleturquoise:\"#afeeee\",palevio", |
+ "letred:\"#db7093\",papayawhip:\"#ffefd5\",peachpuff:\"#ffdab9\",peru:\"", |
+ "#cd853f\",pink:\"#ffc0cb\",plum:\"#dda0dd\",powderblue:\"#b0e0e6\",purp", |
+ "le:\"#800080\",red:\"#ff0000\",rosybrown:\"#bc8f8f\",royalblue:\"#4169e", |
+ "1\",saddlebrown:\"#8b4513\",salmon:\"#fa8072\",sandybrown:\"#f4a460\",s", |
+ "eagreen:\"#2e8b57\",\nseashell:\"#fff5ee\",sienna:\"#a0522d\",silver:\"", |
+ "#c0c0c0\",skyblue:\"#87ceeb\",slateblue:\"#6a5acd\",slategray:\"#708090", |
+ "\",slategrey:\"#708090\",snow:\"#fffafa\",springgreen:\"#00ff7f\",steel", |
+ "blue:\"#4682b4\",tan:\"#d2b48c\",teal:\"#008080\",thistle:\"#d8bfd8\",t", |
+ "omato:\"#ff6347\",turquoise:\"#40e0d0\",violet:\"#ee82ee\",wheat:\"#f5d", |
+ "eb3\",white:\"#ffffff\",whitesmoke:\"#f5f5f5\",yellow:\"#ffff00\",yello", |
+ "wgreen:\"#9acd32\"};var oa=\"backgroundColor borderTopColor borderRight", |
+ "Color borderBottomColor borderLeftColor color outlineColor\".split(\" ", |
+ "\"),pa=/#([0-9a-fA-F])([0-9a-fA-F])([0-9a-fA-F])/,qa=/^#(?:[0-9a-f]{3})", |
+ "{1,2}$/i,ra=/^(?:rgba)?\\((\\d{1,3}),\\s?(\\d{1,3}),\\s?(\\d{1,3}),\\s?", |
+ "(0|1|0\\.\\d*)\\)$/i,sa=/^(?:rgb)?\\((0|[1-9]\\d{0,2}),\\s?(0|[1-9]\\d{", |
+ "0,2}),\\s?(0|[1-9]\\d{0,2})\\)$/i;function q(a,b){this.code=a;this.stat", |
+ "e=ta[a]||ua;this.message=b||\"\";var c=this.state.replace(/((?:^|\\s+)[", |
+ "a-z])/g,function(a){return a.toUpperCase().replace(/^[\\s\\xa0]+/g,\"\"", |
+ ")}),d=c.length-5;if(0>d||c.indexOf(\"Error\",d)!=d)c+=\"Error\";this.na", |
+ "me=c;c=Error(this.message);c.name=this.name;this.stack=c.stack||\"\"}(f", |
+ "unction(){var a=Error;function b(){}b.prototype=a.prototype;q.D=a.proto", |
+ "type;q.prototype=new b;q.A=function(b,d,e){return a.prototype[d].apply(", |
+ "b,Array.prototype.slice.call(arguments,2))}})();\nvar ua=\"unknown erro", |
+ "r\",ta={15:\"element not selectable\",11:\"element not visible\",31:\"i", |
+ "me engine activation failed\",30:\"ime not available\",24:\"invalid coo", |
+ "kie domain\",29:\"invalid element coordinates\",12:\"invalid element st", |
+ "ate\",32:\"invalid selector\",51:\"invalid selector\",52:\"invalid sele", |
+ "ctor\",17:\"javascript error\",405:\"unsupported operation\",34:\"move ", |
+ "target out of bounds\",27:\"no such alert\",7:\"no such element\",8:\"n", |
+ "o such frame\",23:\"no such window\",28:\"script timeout\",33:\"session", |
+ " not created\",10:\"stale element reference\",\n0:\"success\",21:\"time", |
+ "out\",25:\"unable to set cookie\",26:\"unexpected alert open\"};ta[13]=", |
+ "ua;ta[9]=\"unknown command\";q.prototype.toString=function(){return thi", |
+ "s.name+\": \"+this.message};function r(a,b){this.x=void 0!==a?a:0;this.", |
+ "y=void 0!==b?b:0}r.prototype.toString=function(){return\"(\"+this.x+\",", |
+ " \"+this.y+\")\"};r.prototype.ceil=function(){this.x=Math.ceil(this.x);", |
+ "this.y=Math.ceil(this.y);return this};r.prototype.floor=function(){this", |
+ ".x=Math.floor(this.x);this.y=Math.floor(this.y);return this};r.prototyp", |
+ "e.round=function(){this.x=Math.round(this.x);this.y=Math.round(this.y);", |
+ "return this};function t(a,b){this.width=a;this.height=b}t.prototype.toS", |
+ "tring=function(){return\"(\"+this.width+\" x \"+this.height+\")\"};t.pr", |
+ "ototype.ceil=function(){this.width=Math.ceil(this.width);this.height=Ma", |
+ "th.ceil(this.height);return this};t.prototype.floor=function(){this.wid", |
+ "th=Math.floor(this.width);this.height=Math.floor(this.height);return th", |
+ "is};t.prototype.round=function(){this.width=Math.round(this.width);this", |
+ ".height=Math.round(this.height);return this};function u(a){return a?new", |
+ " v(w(a)):da||(da=new v)}function va(a){for(;a&&1!=a.nodeType;)a=a.previ", |
+ "ousSibling;return a}function x(a,b){if(a.contains&&1==b.nodeType)return", |
+ " a==b||a.contains(b);if(\"undefined\"!=typeof a.compareDocumentPosition", |
+ ")return a==b||Boolean(a.compareDocumentPosition(b)&16);for(;b&&a!=b;)b=", |
+ "b.parentNode;return b==a}\nfunction wa(a,b){if(a==b)return 0;if(a.compa", |
+ "reDocumentPosition)return a.compareDocumentPosition(b)&2?1:-1;if(\"sour", |
+ "ceIndex\"in a||a.parentNode&&\"sourceIndex\"in a.parentNode){var c=1==a", |
+ ".nodeType,d=1==b.nodeType;if(c&&d)return a.sourceIndex-b.sourceIndex;va", |
+ "r e=a.parentNode,f=b.parentNode;return e==f?xa(a,b):!c&&x(e,b)?-1*ya(a,", |
+ "b):!d&&x(f,a)?ya(b,a):(c?a.sourceIndex:e.sourceIndex)-(d?b.sourceIndex:", |
+ "f.sourceIndex)}d=w(a);c=d.createRange();c.selectNode(a);c.collapse(!0);", |
+ "d=d.createRange();d.selectNode(b);d.collapse(!0);\nreturn c.compareBoun", |
+ "daryPoints(aa.Range.START_TO_END,d)}function ya(a,b){var c=a.parentNode", |
+ ";if(c==b)return-1;for(var d=b;d.parentNode!=c;)d=d.parentNode;return xa", |
+ "(d,a)}function xa(a,b){for(var c=b;c=c.previousSibling;)if(c==a)return-", |
+ "1;return 1}function w(a){return 9==a.nodeType?a:a.ownerDocument||a.docu", |
+ "ment}function za(a,b){a=a.parentNode;for(var c=0;a;){if(b(a))return a;a", |
+ "=a.parentNode;c++}return null}function v(a){this.j=a||aa.document||docu", |
+ "ment}\nfunction z(a,b,c,d){a=d||a.j;b=b&&\"*\"!=b?b.toUpperCase():\"\";", |
+ "if(a.querySelectorAll&&a.querySelector&&(b||c))c=a.querySelectorAll(b+(", |
+ "c?\".\"+c:\"\"));else if(c&&a.getElementsByClassName)if(a=a.getElements", |
+ "ByClassName(c),b){d={};for(var e=0,f=0,g;g=a[f];f++)b==g.nodeName&&(d[e", |
+ "++]=g);d.length=e;c=d}else c=a;else if(a=a.getElementsByTagName(b||\"*", |
+ "\"),c){d={};for(f=e=0;g=a[f];f++)b=g.className,\"function\"==typeof b.s", |
+ "plit&&n(b.split(/\\s+/),c)&&(d[e++]=g);d.length=e;c=d}else c=a;return c", |
+ "}v.prototype.contains=x;function A(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};function B(){this.g=this.i=null;this", |
+ ".p=0}function Aa(a){this.r=a;this.next=this.s=null}B.prototype.add=func", |
+ "tion(a){a=new Aa(a);a.s=this.g;this.i?this.g.next=a:this.i=this.g=a;thi", |
+ "s.g=a;this.p++};function Ba(a){return(a=a.i)?a.r:null}function D(a){ret", |
+ "urn new Ca(a,!1)}function Ca(a,b){this.n=(this.t=b)?a.g:a.i}Ca.prototyp", |
+ "e.next=function(){var a=this.n;if(null==a)return null;this.n=this.t?a.s", |
+ ":a.next;return a.r};function E(a,b,c,d,e){b=b.evaluate(d);c=c.evaluate(", |
+ "d);var f;if(b instanceof B&&c instanceof B){e=D(b);for(d=e.next();d;d=e", |
+ ".next())for(b=D(c),f=b.next();f;f=b.next())if(a(A(d),A(f)))return!0;ret", |
+ "urn!1}if(b instanceof B||c instanceof B){b instanceof B?e=b:(e=c,c=b);e", |
+ "=D(e);b=typeof c;for(d=e.next();d;d=e.next()){switch(b){case \"number\"", |
+ ":d=+A(d);break;case \"boolean\":d=!!A(d);break;case \"string\":d=A(d);b", |
+ "reak;default:throw Error(\"Illegal primitive type for comparison.\");}i", |
+ "f(a(d,c))return!0}return!1}return e?\n\"boolean\"==typeof b||\"boolean", |
+ "\"==typeof c?a(!!b,!!c):\"number\"==typeof b||\"number\"==typeof c?a(+b", |
+ ",+c):a(b,c):a(+b,+c)}function Da(a,b,c,d){this.w=a;this.h=d}Da.prototyp", |
+ "e.toString=function(){return this.w};var Ea={};function F(a,b){if(Ea.ha", |
+ "sOwnProperty(a))throw Error(\"Binary operator already created: \"+a);va", |
+ "r c=new Da(a,0,0,b);Ea[c.toString()]=c}F(\"div\",function(a,b,c){return", |
+ " a.b(c)/b.b(c)});F(\"mod\",function(a,b,c){return a.b(c)%b.b(c)});F(\"*", |
+ "\",function(a,b,c){return a.b(c)*b.b(c)});\nF(\"+\",function(a,b,c){ret", |
+ "urn a.b(c)+b.b(c)});F(\"-\",function(a,b,c){return a.b(c)-b.b(c)});F(\"", |
+ "<\",function(a,b,c){return E(function(a,b){return a<b},a,b,c)});F(\">\"", |
+ ",function(a,b,c){return E(function(a,b){return a>b},a,b,c)});F(\"<=\",f", |
+ "unction(a,b,c){return E(function(a,b){return a<=b},a,b,c)});F(\">=\",fu", |
+ "nction(a,b,c){return E(function(a,b){return a>=b},a,b,c)});F(\"=\",func", |
+ "tion(a,b,c){return E(function(a,b){return a==b},a,b,c,!0)});F(\"!=\",fu", |
+ "nction(a,b,c){return E(function(a,b){return a!=b},a,b,c,!0)});\nF(\"and", |
+ "\",function(a,b,c){return a.f(c)&&b.f(c)});F(\"or\",function(a,b,c){ret", |
+ "urn a.f(c)||b.f(c)});function Fa(a,b,c,d,e,f){this.k=a;this.h=f}Fa.prot", |
+ "otype.toString=function(){return this.k};var Ga={};function G(a,b){if(G", |
+ "a.hasOwnProperty(a))throw Error(\"Function already created: \"+a+\".\")", |
+ ";Ga[a]=new Fa(a,0,0,0,0,b)}G(\"boolean\",function(a,b){return b.f(a)});", |
+ "G(\"ceiling\",function(a,b){return Math.ceil(b.b(a))});G(\"concat\",fun", |
+ "ction(a,b){return ia(ma(arguments,1),function(b,d){return b+d.a(a)})});", |
+ "G(\"contains\",function(a,b,c){b=b.a(a);a=c.a(a);return-1!=b.indexOf(a)", |
+ "});G(\"count\",function(a,b){return b.evaluate(a).p});\nG(\"false\",fun", |
+ "ction(){return!1});G(\"floor\",function(a,b){return Math.floor(b.b(a))}", |
+ ");G(\"id\",function(a,b){var c=a.e(),d=9==c.nodeType?c:c.ownerDocument,", |
+ "c=b.a(a).split(/\\s+/),e=[];m(c,function(a){(a=d.getElementById(a))&&!n", |
+ "(e,a)&&e.push(a)});e.sort(wa);var f=new B;m(e,function(a){f.add(a)});re", |
+ "turn f});G(\"lang\",function(){return!1});G(\"last\",function(a){if(1!=", |
+ "arguments.length)throw Error(\"Function last expects ()\");return a.B()", |
+ "});\nG(\"local-name\",function(a,b){var c=b?Ba(b.evaluate(a)):a.e();ret", |
+ "urn c?c.nodeName.toLowerCase():\"\"});G(\"name\",function(a,b){var c=b?", |
+ "Ba(b.evaluate(a)):a.e();return c?c.nodeName.toLowerCase():\"\"});G(\"na", |
+ "mespace-uri\",function(){return\"\"});G(\"normalize-space\",function(a,", |
+ "b){return(b?b.a(a):A(a.e())).replace(/[\\s\\xa0]+/g,\" \").replace(/^", |
+ "\\s+|\\s+$/g,\"\")});G(\"not\",function(a,b){return!b.f(a)});G(\"number", |
+ "\",function(a,b){return b?b.b(a):+A(a.e())});G(\"position\",function(a)", |
+ "{return a.C()});G(\"round\",function(a,b){return Math.round(b.b(a))});", |
+ "\nG(\"starts-with\",function(a,b,c){b=b.a(a);a=c.a(a);return 0==b.lastI", |
+ "ndexOf(a,0)});G(\"string\",function(a,b){return b?b.a(a):A(a.e())});G(", |
+ "\"string-length\",function(a,b){return(b?b.a(a):A(a.e())).length});G(\"", |
+ "substring\",function(a,b,c,d){c=c.b(a);if(isNaN(c)||Infinity==c||-Infin", |
+ "ity==c)return\"\";d=d?d.b(a):Infinity;if(isNaN(d)||-Infinity===d)return", |
+ "\"\";c=Math.round(c)-1;var e=Math.max(c,0);a=b.a(a);if(Infinity==d)retu", |
+ "rn a.substring(e);b=Math.round(d);return a.substring(e,c+b)});\nG(\"sub", |
+ "string-after\",function(a,b,c){b=b.a(a);a=c.a(a);c=b.indexOf(a);return-", |
+ "1==c?\"\":b.substring(c+a.length)});G(\"substring-before\",function(a,b", |
+ ",c){b=b.a(a);a=c.a(a);a=b.indexOf(a);return-1==a?\"\":b.substring(0,a)}", |
+ ");G(\"sum\",function(a,b){for(var c=D(b.evaluate(a)),d=0,e=c.next();e;e", |
+ "=c.next())d+=+A(e);return d});\nG(\"translate\",function(a,b,c,d){b=b.a", |
+ "(a);c=c.a(a);var e=d.a(a);a=[];for(d=0;d<c.length;d++){var f=c.charAt(d", |
+ ");f in a||(a[f]=e.charAt(d))}c=\"\";for(d=0;d<b.length;d++)f=b.charAt(d", |
+ "),c+=f in a?a[f]:f;return c});G(\"true\",function(){return!0});function", |
+ " Ha(a,b,c){this.k=a;this.t=c}Ha.prototype.toString=function(){return th", |
+ "is.k};var Ia={};function H(a,b){if(Ia.hasOwnProperty(a))throw Error(\"A", |
+ "xis already created: \"+a);Ia[a]=new Ha(a,0,b)}H(\"ancestor\",!0);H(\"a", |
+ "ncestor-or-self\",!0);H(\"attribute\",!1);H(\"child\",!1);H(\"descendan", |
+ "t\",!1);H(\"descendant-or-self\",!1);H(\"following\",!1);H(\"following-", |
+ "sibling\",!1);H(\"namespace\",!1);H(\"parent\",!1);H(\"preceding\",!0);", |
+ "H(\"preceding-sibling\",!0);H(\"self\",!1);var I={};I.v=function(){var ", |
+ "a={F:\"http://www.w3.org/2000/svg\"};return function(b){return a[b]||nu", |
+ "ll}}();I.h=function(a,b,c){var d=w(a);try{var e=d.createNSResolver?d.cr", |
+ "eateNSResolver(d.documentElement):I.v;return d.evaluate(b,a,e,c,null)}c", |
+ "atch(f){throw new q(32,\"Unable to locate an element with the xpath exp", |
+ "ression \"+b+\" because of the following error:\\n\"+f);}};I.m=function", |
+ "(a,b){if(!a||1!=a.nodeType)throw new q(32,'The result of the xpath expr", |
+ "ession \"'+b+'\" is: '+a+\". It should be an element.\");};\nI.d=functi", |
+ "on(a,b){var c=function(){var c=I.h(b,a,9);return c?c.singleNodeValue||n", |
+ "ull:b.selectSingleNode?(c=w(b),c.setProperty&&c.setProperty(\"Selection", |
+ "Language\",\"XPath\"),b.selectSingleNode(a)):null}();null===c||I.m(c,a)", |
+ ";return c};\nI.c=function(a,b){var c=function(){var c=I.h(b,a,7);if(c){", |
+ "for(var e=c.snapshotLength,f=[],g=0;g<e;++g)f.push(c.snapshotItem(g));r", |
+ "eturn f}return b.selectNodes?(c=w(b),c.setProperty&&c.setProperty(\"Sel", |
+ "ectionLanguage\",\"XPath\"),b.selectNodes(a)):[]}();m(c,function(b){I.m", |
+ "(b,a)});return c};function J(a,b,c,d){this.top=a;this.right=b;this.bott", |
+ "om=c;this.left=d}J.prototype.toString=function(){return\"(\"+this.top+", |
+ "\"t, \"+this.right+\"r, \"+this.bottom+\"b, \"+this.left+\"l)\"};J.prot", |
+ "otype.contains=function(a){return this&&a?a instanceof J?a.left>=this.l", |
+ "eft&&a.right<=this.right&&a.top>=this.top&&a.bottom<=this.bottom:a.x>=t", |
+ "his.left&&a.x<=this.right&&a.y>=this.top&&a.y<=this.bottom:!1};\nJ.prot", |
+ "otype.ceil=function(){this.top=Math.ceil(this.top);this.right=Math.ceil", |
+ "(this.right);this.bottom=Math.ceil(this.bottom);this.left=Math.ceil(thi", |
+ "s.left);return this};J.prototype.floor=function(){this.top=Math.floor(t", |
+ "his.top);this.right=Math.floor(this.right);this.bottom=Math.floor(this.", |
+ "bottom);this.left=Math.floor(this.left);return this};\nJ.prototype.roun", |
+ "d=function(){this.top=Math.round(this.top);this.right=Math.round(this.r", |
+ "ight);this.bottom=Math.round(this.bottom);this.left=Math.round(this.lef", |
+ "t);return this};function K(a,b,c,d){this.left=a;this.top=b;this.width=c", |
+ ";this.height=d}K.prototype.toString=function(){return\"(\"+this.left+\"", |
+ ", \"+this.top+\" - \"+this.width+\"w x \"+this.height+\"h)\"};K.prototy", |
+ "pe.contains=function(a){return a instanceof K?this.left<=a.left&&this.l", |
+ "eft+this.width>=a.left+a.width&&this.top<=a.top&&this.top+this.height>=", |
+ "a.top+a.height:a.x>=this.left&&a.x<=this.left+this.width&&a.y>=this.top", |
+ "&&a.y<=this.top+this.height};\nK.prototype.ceil=function(){this.left=Ma", |
+ "th.ceil(this.left);this.top=Math.ceil(this.top);this.width=Math.ceil(th", |
+ "is.width);this.height=Math.ceil(this.height);return this};K.prototype.f", |
+ "loor=function(){this.left=Math.floor(this.left);this.top=Math.floor(thi", |
+ "s.top);this.width=Math.floor(this.width);this.height=Math.floor(this.he", |
+ "ight);return this};\nK.prototype.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};function L(a,b){re", |
+ "turn!!a&&1==a.nodeType&&(!b||a.tagName.toUpperCase()==b)}var Ja=/[;]+(?", |
+ "=(?:(?:[^\"]*\"){2})*[^\"]*$)(?=(?:(?:[^']*'){2})*[^']*$)(?=(?:[^()]*", |
+ "\\([^()]*\\))*[^()]*$)/;function Ka(a){var b=[];m(a.split(Ja),function(", |
+ "a){var d=a.indexOf(\":\");0<d&&(a=[a.slice(0,d),a.slice(d+1)],2==a.leng", |
+ "th&&b.push(a[0].toLowerCase(),\":\",a[1],\";\"))});b=b.join(\"\");retur", |
+ "n b=\";\"==b.charAt(b.length-1)?b:b+\";\"}\nfunction M(a,b){b=b.toLower", |
+ "Case();if(\"style\"==b)return Ka(a.style.cssText);var c=a.getAttributeN", |
+ "ode(b);return c&&c.specified?c.value:null}function N(a){for(a=a.parentN", |
+ "ode;a&&1!=a.nodeType&&9!=a.nodeType&&11!=a.nodeType;)a=a.parentNode;ret", |
+ "urn L(a)?a:null}\nfunction P(a,b){var c=fa(b);if(\"float\"==c||\"cssFlo", |
+ "at\"==c||\"styleFloat\"==c)c=\"cssFloat\";var d;a:{d=c;var e=w(a);if(e.", |
+ "defaultView&&e.defaultView.getComputedStyle&&(e=e.defaultView.getComput", |
+ "edStyle(a,null))){d=e[d]||e.getPropertyValue(d)||\"\";break a}d=\"\"}d=", |
+ "d||La(a,c);if(null===d)d=null;else if(n(oa,c)){b:{var f=d.match(ra);if(", |
+ "f){var c=Number(f[1]),e=Number(f[2]),g=Number(f[3]),f=Number(f[4]);if(0", |
+ "<=c&&255>=c&&0<=e&&255>=e&&0<=g&&255>=g&&0<=f&&1>=f){c=[c,e,g,f];break ", |
+ "b}}c=null}if(!c){b:{if(g=d.match(sa))if(c=\nNumber(g[1]),e=Number(g[2])", |
+ ",g=Number(g[3]),0<=c&&255>=c&&0<=e&&255>=e&&0<=g&&255>=g){c=[c,e,g,1];b", |
+ "reak b}c=null}if(!c)b:{c=d.toLowerCase();e=na[c.toLowerCase()];if(!e&&(", |
+ "e=\"#\"==c.charAt(0)?c:\"#\"+c,4==e.length&&(e=e.replace(pa,\"#$1$1$2$2", |
+ "$3$3\")),!qa.test(e))){c=null;break b}c=[parseInt(e.substr(1,2),16),par", |
+ "seInt(e.substr(3,2),16),parseInt(e.substr(5,2),16),1]}}d=c?\"rgba(\"+c.", |
+ "join(\", \")+\")\":d}return d}\nfunction La(a,b){var c=a.currentStyle||", |
+ "a.style,d=c[b];void 0===d&&k(c.getPropertyValue)&&(d=c.getPropertyValue", |
+ "(b));return\"inherit\"!=d?void 0!==d?d:null:(c=N(a))?La(c,b):null}\nfun", |
+ "ction Ma(a,b){function c(a){if(\"none\"==P(a,\"display\"))return!1;a=N(", |
+ "a);return!a||c(a)}function d(a){var b=Q(a);return 0<b.height&&0<b.width", |
+ "?!0:L(a,\"PATH\")&&(0<b.height||0<b.width)?(a=P(a,\"stroke-width\"),!!a", |
+ "&&0<parseInt(a,10)):\"hidden\"!=P(a,\"overflow\")&&ja(a.childNodes,func", |
+ "tion(a){return 3==a.nodeType||L(a)&&d(a)})}function e(a){return Na(a)==", |
+ "R&&ka(a.childNodes,function(a){return!L(a)||e(a)})}if(!L(a))throw Error", |
+ "(\"Argument to isShown must be of type Element\");if(L(a,\"BODY\"))retu", |
+ "rn!0;if(L(a,\"OPTION\")||\nL(a,\"OPTGROUP\")){var f=za(a,function(a){re", |
+ "turn L(a,\"SELECT\")});return!!f&&Ma(f,!0)}return(f=Oa(a))?!!f.o&&0<f.r", |
+ "ect.width&&0<f.rect.height&&Ma(f.o,b):L(a,\"INPUT\")&&\"hidden\"==a.typ", |
+ "e.toLowerCase()||L(a,\"NOSCRIPT\")||\"hidden\"==P(a,\"visibility\")||!c", |
+ "(a)||!b&&0==Pa(a)||!d(a)?!1:!e(a)}var R=\"hidden\";\nfunction Na(a){fun", |
+ "ction b(a){function b(a){return a==g?!0:0==P(a,\"display\").lastIndexOf", |
+ "(\"inline\",0)||\"absolute\"==c&&\"static\"==P(a,\"position\")?!1:!0}va", |
+ "r c=P(a,\"position\");if(\"fixed\"==c)return O=!0,a==g?null:g;for(a=N(a", |
+ ");a&&!b(a);)a=N(a);return a}function c(a){var b=a;if(\"visible\"==W)if(", |
+ "a==g&&y)b=y;else if(a==y)return{x:\"visible\",y:\"visible\"};b={x:P(b,", |
+ "\"overflow-x\"),y:P(b,\"overflow-y\")};a==g&&(b.x=\"visible\"==b.x?\"au", |
+ "to\":b.x,b.y=\"visible\"==b.y?\"auto\":b.y);return b}function d(a){if(a", |
+ "==g){var b=(new v(f)).j;\na=b.body||b.documentElement;b=b.parentWindow|", |
+ "|b.defaultView;a=new r(b.pageXOffset||a.scrollLeft,b.pageYOffset||a.scr", |
+ "ollTop)}else a=new r(a.scrollLeft,a.scrollTop);return a}var e=Qa(a),f=w", |
+ "(a),g=f.documentElement,y=f.body,W=P(g,\"overflow\"),O;for(a=b(a);a;a=b", |
+ "(a)){var p=c(a);if(\"visible\"!=p.x||\"visible\"!=p.y){var s=Q(a);if(0=", |
+ "=s.width||0==s.height)return R;var C=e.right<s.left,X=e.bottom<s.top;if", |
+ "(C&&\"hidden\"==p.x||X&&\"hidden\"==p.y)return R;if(C&&\"visible\"!=p.x", |
+ "||X&&\"visible\"!=p.y){C=d(a);X=e.bottom<s.top-\nC.y;if(e.right<s.left-", |
+ "C.x&&\"visible\"!=p.x||X&&\"visible\"!=p.x)return R;e=Na(a);return e==R", |
+ "?R:\"scroll\"}C=e.left>=s.left+s.width;s=e.top>=s.top+s.height;if(C&&\"", |
+ "hidden\"==p.x||s&&\"hidden\"==p.y)return R;if(C&&\"visible\"!=p.x||s&&", |
+ "\"visible\"!=p.y){if(O&&(p=d(a),e.left>=g.scrollWidth-p.x||e.right>=g.s", |
+ "crollHeight-p.y))return R;e=Na(a);return e==R?R:\"scroll\"}}}return\"no", |
+ "ne\"}\nfunction Q(a){var b=Oa(a);if(b)return b.rect;if(L(a,\"HTML\"))re", |
+ "turn a=w(a),a=((a?a.parentWindow||a.defaultView:window)||window).docume", |
+ "nt,a=\"CSS1Compat\"==a.compatMode?a.documentElement:a.body,a=new t(a.cl", |
+ "ientWidth,a.clientHeight),new K(0,0,a.width,a.height);var c;try{c=a.get", |
+ "BoundingClientRect()}catch(d){return new K(0,0,0,0)}return new K(c.left", |
+ ",c.top,c.right-c.left,c.bottom-c.top)}\nfunction Oa(a){var b=L(a,\"MAP", |
+ "\");if(!b&&!L(a,\"AREA\"))return null;var c=b?a:L(a.parentNode,\"MAP\")", |
+ "?a.parentNode:null,d=null,e=null;if(c&&c.name&&(d=I.d('/descendant::*[@", |
+ "usemap = \"#'+c.name+'\"]',w(c)))&&(e=Q(d),!b&&\"default\"!=a.shape.toL", |
+ "owerCase())){var f=Ra(a);a=Math.min(Math.max(f.left,0),e.width);b=Math.", |
+ "min(Math.max(f.top,0),e.height);c=Math.min(f.width,e.width-a);f=Math.mi", |
+ "n(f.height,e.height-b);e=new K(a+e.left,b+e.top,c,f)}return{o:d,rect:e|", |
+ "|new K(0,0,0,0)}}\nfunction Ra(a){var b=a.shape.toLowerCase();a=a.coord", |
+ "s.split(\",\");if(\"rect\"==b&&4==a.length){var b=a[0],c=a[1];return ne", |
+ "w K(b,c,a[2]-b,a[3]-c)}if(\"circle\"==b&&3==a.length)return b=a[2],new ", |
+ "K(a[0]-b,a[1]-b,2*b,2*b);if(\"poly\"==b&&2<a.length){for(var b=a[0],c=a", |
+ "[1],d=b,e=c,f=2;f+1<a.length;f+=2)b=Math.min(b,a[f]),d=Math.max(d,a[f])", |
+ ",c=Math.min(c,a[f+1]),e=Math.max(e,a[f+1]);return new K(b,c,d-b,e-c)}re", |
+ "turn new K(0,0,0,0)}function Qa(a){a=Q(a);return new J(a.top,a.left+a.w", |
+ "idth,a.top+a.height,a.left)}\nfunction Sa(a){return a.replace(/^[^\\S", |
+ "\\xa0]+|[^\\S\\xa0]+$/g,\"\")}function Ta(a){var b=[];Ua(a,b);var c=b;a", |
+ "=c.length;for(var b=Array(a),c=h(c)?c.split(\"\"):c,d=0;d<a;d++)d in c&", |
+ "&(b[d]=Sa.call(void 0,c[d]));return Sa(b.join(\"\\n\")).replace(/\\xa0/", |
+ "g,\" \")}\nfunction Ua(a,b){if(L(a,\"BR\"))b.push(\"\");else{var c=L(a,", |
+ "\"TD\"),d=P(a,\"display\"),e=!c&&!n(Va,d),f=void 0!=a.previousElementSi", |
+ "bling?a.previousElementSibling:va(a.previousSibling),f=f?P(f,\"display", |
+ "\"):\"\",g=P(a,\"float\")||P(a,\"cssFloat\")||P(a,\"styleFloat\");!e||", |
+ "\"run-in\"==f&&\"none\"==g||/^[\\s\\xa0]*$/.test(b[b.length-1]||\"\")||", |
+ "b.push(\"\");var y=Ma(a),W=null,O=null;y&&(W=P(a,\"white-space\"),O=P(a", |
+ ",\"text-transform\"));m(a.childNodes,function(a){3==a.nodeType&&y?Wa(a,", |
+ "b,W,O):L(a)&&Ua(a,b)});f=b[b.length-1]||\"\";!c&&\"table-cell\"!=\nd||!", |
+ "f||ea(f)||(b[b.length-1]+=\" \");e&&\"run-in\"!=d&&!/^[\\s\\xa0]*$/.tes", |
+ "t(f)&&b.push(\"\")}}var Va=\"inline inline-block inline-table none tabl", |
+ "e-cell table-column table-column-group\".split(\" \");\nfunction Wa(a,b", |
+ ",c,d){a=a.nodeValue.replace(/[\\u200b\\u200e\\u200f]/g,\"\");a=a.replac", |
+ "e(/(\\r\\n|\\r|\\n)/g,\"\\n\");if(\"normal\"==c||\"nowrap\"==c)a=a.repl", |
+ "ace(/\\n/g,\" \");a=\"pre\"==c||\"pre-wrap\"==c?a.replace(/[ \\f\\t\\v", |
+ "\\u2028\\u2029]/g,\"\\u00a0\"):a.replace(/[\\ \\f\\t\\v\\u2028\\u2029]+", |
+ "/g,\" \");\"capitalize\"==d?a=a.replace(/(^|\\s)(\\S)/g,function(a,b,c)", |
+ "{return b+c.toUpperCase()}):\"uppercase\"==d?a=a.toUpperCase():\"lowerc", |
+ "ase\"==d&&(a=a.toLowerCase());c=b.pop()||\"\";ea(c)&&0==a.lastIndexOf(", |
+ "\" \",0)&&(a=a.substr(1));b.push(c+a)}\nfunction Pa(a){var b=1,c=P(a,\"", |
+ "opacity\");c&&(b=Number(c));(a=N(a))&&(b*=Pa(a));return b};var S={l:fun", |
+ "ction(a){return!(!a.querySelectorAll||!a.querySelector)},d:function(a,b", |
+ "){if(!a)throw new q(32,\"No class name specified\");a=l(a);if(-1!==a.in", |
+ "dexOf(\" \"))throw new q(32,\"Compound class names not permitted\");if(", |
+ "S.l(b))try{return b.querySelector(\".\"+a.replace(/\\./g,\"\\\\.\"))||n", |
+ "ull}catch(c){throw new q(32,\"An invalid or illegal class name was spec", |
+ "ified\");}var d=z(u(b),\"*\",a,b);return d.length?d[0]:null},c:function", |
+ "(a,b){if(!a)throw new q(32,\"No class name specified\");a=l(a);if(-1!==", |
+ "a.indexOf(\" \"))throw new q(32,\n\"Compound class names not permitted", |
+ "\");if(S.l(b))try{return b.querySelectorAll(\".\"+a.replace(/\\./g,\"", |
+ "\\\\.\"))}catch(c){throw new q(32,\"An invalid or illegal class name wa", |
+ "s specified\");}return z(u(b),\"*\",a,b)}};var T={d:function(a,b){k(b.q", |
+ "uerySelector);if(!a)throw new q(32,\"No selector specified\");a=l(a);va", |
+ "r c;try{c=b.querySelector(a)}catch(d){throw new q(32,\"An invalid or il", |
+ "legal selector was specified\");}return c&&1==c.nodeType?c:null},c:func", |
+ "tion(a,b){k(b.querySelectorAll);if(!a)throw new q(32,\"No selector spec", |
+ "ified\");a=l(a);try{return b.querySelectorAll(a)}catch(c){throw new q(3", |
+ "2,\"An invalid or illegal selector was specified\");}}};var U={},V={};U", |
+ ".u=function(a,b,c){var d;try{d=T.c(\"a\",b)}catch(e){d=z(u(b),\"A\",nul", |
+ "l,b)}return la(d,function(b){b=Ta(b);return c&&-1!=b.indexOf(a)||b==a})", |
+ "};U.q=function(a,b,c){var d;try{d=T.c(\"a\",b)}catch(e){d=z(u(b),\"A\",", |
+ "null,b)}return ha(d,function(b){b=Ta(b);return c&&-1!=b.indexOf(a)||b==", |
+ "a})};U.d=function(a,b){return U.u(a,b,!1)};U.c=function(a,b){return U.q", |
+ "(a,b,!1)};V.d=function(a,b){return U.u(a,b,!0)};V.c=function(a,b){retur", |
+ "n U.q(a,b,!0)};var Xa={d:function(a,b){return b.getElementsByTagName(a)", |
+ "[0]||null},c:function(a,b){return b.getElementsByTagName(a)}};var Ya={c", |
+ "lassName:S,\"class name\":S,css:T,\"css selector\":T,id:{d:function(a,b", |
+ "){var c=u(b),d=h(a)?c.j.getElementById(a):a;if(!d)return null;if(M(d,\"", |
+ "id\")==a&&x(b,d))return d;c=z(c,\"*\");return la(c,function(c){return M", |
+ "(c,\"id\")==a&&x(b,c)})},c:function(a,b){var c=z(u(b),\"*\",null,b);ret", |
+ "urn ha(c,function(b){return M(b,\"id\")==a})}},linkText:U,\"link text\"", |
+ ":U,name:{d:function(a,b){var c=z(u(b),\"*\",null,b);return la(c,functio", |
+ "n(b){return M(b,\"name\")==a})},c:function(a,b){var c=z(u(b),\"*\",null", |
+ ",b);return ha(c,function(b){return M(b,\n\"name\")==a})}},partialLinkTe", |
+ "xt:V,\"partial link text\":V,tagName:Xa,\"tag name\":Xa,xpath:I};functi", |
+ "on Za(a){for(var b in a)if(a.hasOwnProperty(b))return b;return null};va", |
+ "r $a=\"function\"===typeof ShadowRoot;function ab(a,b){var c;a:{if(c=Za", |
+ "(a)){var d=Ya[c];if(d&&k(d.d)){c=d.d(a[c],b||ca.document);break a}}thro", |
+ "w Error(\"Unsupported locator strategy: \"+c);}if(c)return c;if($a&&b){", |
+ "for(c=b;c.parentNode;)c=c.parentNode;if(c instanceof ShadowRoot){a:{if(", |
+ "(c=Za(a))&&(d=Ya[c])&&k(d.c)){c=d.c(a[c],b||ca.document);break a}throw ", |
+ "Error(\"Unsupported locator strategy: \"+c);}if(c=c[0])return c}}return", |
+ " null}var Y=[\"_\"],Z=aa;Y[0]in Z||!Z.execScript||Z.execScript(\"var \"", |
+ "+Y[0]);\nfor(var $;Y.length&&($=Y.shift());)Y.length||void 0===ab?Z=Z[$", |
+ "]?Z[$]:Z[$]={}:Z[$]=ab;; return this._.apply(null,arguments);}.apply({n", |
+ "avigator:typeof 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 g=this;\nfunction h(a){var b=typeof a;", |
+ "function(){return function(){var d=this;\nfunction h(a){var b=typeof a;", |
"if(\"object\"==b)if(a){if(a instanceof Array)return\"array\";if(a insta", |
- "nceof Object)return b;var e=Object.prototype.toString.call(a);if(\"[obj", |
- "ect Window]\"==e)return\"object\";if(\"[object Array]\"==e||\"number\"=", |
+ "nceof Object)return b;var f=Object.prototype.toString.call(a);if(\"[obj", |
+ "ect Window]\"==f)return\"object\";if(\"[object Array]\"==f||\"number\"=", |
"=typeof a.length&&\"undefined\"!=typeof a.splice&&\"undefined\"!=typeof", |
" a.propertyIsEnumerable&&!a.propertyIsEnumerable(\"splice\"))return\"ar", |
- "ray\";if(\"[object Function]\"==e||\"undefined\"!=typeof a.call&&\"unde", |
+ "ray\";if(\"[object Function]\"==f||\"undefined\"!=typeof a.call&&\"unde", |
"fined\"!=typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable(\"call", |
"\"))return\"function\"}else return\"null\";else if(\"function\"==\nb&&", |
"\"undefined\"==typeof a.call)return\"object\";return b};var k;function ", |
"l(a,b){this.x=void 0!==a?a:0;this.y=void 0!==b?b:0}l.prototype.toString", |
"=function(){return\"(\"+this.x+\", \"+this.y+\")\"};function m(a){retur", |
- "n 9==a.nodeType?a:a.ownerDocument||a.document}function n(a){this.b=a||g", |
- ".document||document}function p(a){var b=a.b;a=b.body||b.documentElement", |
+ "n 9==a.nodeType?a:a.ownerDocument||a.document}function n(a){this.c=a||d", |
+ ".document||document}function p(a){var b=a.c;a=b.body||b.documentElement", |
";b=b.parentWindow||b.defaultView;return new l(b.pageXOffset||a.scrollLe", |
- "ft,b.pageYOffset||a.scrollTop)};function q(a,b,e,d){this.left=a;this.to", |
- "p=b;this.width=e;this.height=d}q.prototype.toString=function(){return\"", |
- "(\"+this.left+\", \"+this.top+\" - \"+this.width+\"w x \"+this.height+", |
- "\"h)\"};function s(a){var b;a:{b=m(a);if(b.defaultView&&b.defaultView.g", |
- "etComputedStyle&&(b=b.defaultView.getComputedStyle(a,null))){b=b.positi", |
- "on||b.getPropertyValue(\"position\")||\"\";break a}b=\"\"}return b||(a.", |
- "currentStyle?a.currentStyle.position:null)||a.style&&a.style.position}f", |
- "unction t(a){var b;try{b=a.getBoundingClientRect()}catch(e){return{left", |
- ":0,top:0,right:0,bottom:0}}return b}\nfunction u(a){var b=m(a),e=s(a),d", |
- "=\"fixed\"==e||\"absolute\"==e;for(a=a.parentNode;a&&a!=b;a=a.parentNod", |
- "e)if(e=s(a),d=d&&\"static\"==e&&a!=b.documentElement&&a!=b.body,!d&&(a.", |
- "scrollWidth>a.clientWidth||a.scrollHeight>a.clientHeight||\"fixed\"==e|", |
- "|\"absolute\"==e||\"relative\"==e))return a;return null};function v(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)if(a.getBoundingClient", |
- "Rect)a=t(a),a=new l(a.left,a.top);else{var e=p(a?new n(m(a)):k||(k=new ", |
- "n));var d=m(a),z=s(a),c=new l(0,0),r=(d?m(d):document).documentElement;", |
- "if(a!=r)if(a.getBoundingClientRect)a=t(a),d=p(d?new n(m(d)):k||(k=new n", |
- ")),c.x=a.left+d.x,c.y=a.top+d.y;else if(d.getBoxObjectFor)a=d.getBoxObj", |
- "ectFor(a),d=d.getBoxObjectFor(r),c.x=a.screenX-d.screenX,c.y=a.screenY-", |
- "\nd.screenY;else{var f=a;do{c.x+=f.offsetLeft;c.y+=f.offsetTop;f!=a&&(c", |
- ".x+=f.clientLeft||0,c.y+=f.clientTop||0);if(\"fixed\"==s(f)){c.x+=d.bod", |
- "y.scrollLeft;c.y+=d.body.scrollTop;break}f=f.offsetParent}while(f&&f!=a", |
- ");\"absolute\"==z&&(c.y-=d.body.offsetTop);for(f=a;(f=u(f))&&f!=d.body&", |
- "&f!=r;)c.x-=f.scrollLeft,c.y-=f.scrollTop}a=new l(c.x-e.x,c.y-e.y)}else", |
- " e=\"function\"==h(a.a),c=a,a.targetTouches?c=a.targetTouches[0]:e&&a.a", |
- "().targetTouches&&(c=a.a().targetTouches[0]),a=new l(c.clientX,c.client", |
- "Y);return new q(b.left-\na.x,b.top-a.y,b.right-b.left,b.bottom-b.top)}v", |
- "ar w=[\"_\"],x=g;w[0]in x||!x.execScript||x.execScript(\"var \"+w[0]);f", |
- "or(var y;w.length&&(y=w.shift());)w.length||void 0===v?x=x[y]?x[y]:x[y]", |
- "={}:x[y]=v;; return this._.apply(null,arguments);}.apply({navigator:typ", |
- "eof window!=undefined?window.navigator:null,document:typeof window!=und", |
- "efined?window.document:null}, arguments);}", |
+ "ft,b.pageYOffset||a.scrollTop)};function q(a){this.d=a}q.prototype.toSt", |
+ "ring=function(){return this.d};var r={};function s(a){if(r.hasOwnProper", |
+ "ty(a))throw Error(\"Binary operator already created: \"+a);a=new q(a);r", |
+ "[a.toString()]=a}s(\"div\");s(\"mod\");s(\"*\");s(\"+\");s(\"-\");s(\"<", |
+ "\");s(\">\");s(\"<=\");s(\">=\");s(\"=\");s(\"!=\");s(\"and\");s(\"or\"", |
+ ");function t(a){this.a=a}t.prototype.toString=function(){return this.a}", |
+ ";var v={};function w(a){if(v.hasOwnProperty(a))throw Error(\"Function a", |
+ "lready created: \"+a+\".\");v[a]=new t(a)}w(\"boolean\");w(\"ceiling\")", |
+ ";w(\"concat\");w(\"contains\");w(\"count\");w(\"false\");w(\"floor\");w", |
+ "(\"id\");w(\"lang\");w(\"last\");w(\"local-name\");w(\"name\");w(\"name", |
+ "space-uri\");w(\"normalize-space\");w(\"not\");w(\"number\");w(\"positi", |
+ "on\");w(\"round\");w(\"starts-with\");w(\"string\");w(\"string-length\"", |
+ ");w(\"substring\");w(\"substring-after\");w(\"substring-before\");\nw(", |
+ "\"sum\");w(\"translate\");w(\"true\");function x(a){this.a=a}x.prototyp", |
+ "e.toString=function(){return this.a};var y={};function z(a){if(y.hasOwn", |
+ "Property(a))throw Error(\"Axis already created: \"+a);y[a]=new x(a)}z(", |
+ "\"ancestor\");z(\"ancestor-or-self\");z(\"attribute\");z(\"child\");z(", |
+ "\"descendant\");z(\"descendant-or-self\");z(\"following\");z(\"followin", |
+ "g-sibling\");z(\"namespace\");z(\"parent\");z(\"preceding\");z(\"preced", |
+ "ing-sibling\");z(\"self\");function A(a,b,f,e){this.left=a;this.top=b;t", |
+ "his.width=f;this.height=e}A.prototype.toString=function(){return\"(\"+t", |
+ "his.left+\", \"+this.top+\" - \"+this.width+\"w x \"+this.height+\"h)\"", |
+ "};function B(a){var b;a:{b=m(a);if(b.defaultView&&b.defaultView.getComp", |
+ "utedStyle&&(b=b.defaultView.getComputedStyle(a,null))){b=b.position||b.", |
+ "getPropertyValue(\"position\")||\"\";break a}b=\"\"}return b||(a.curren", |
+ "tStyle?a.currentStyle.position:null)||a.style&&a.style.position}functio", |
+ "n C(a){var b;try{b=a.getBoundingClientRect()}catch(f){return{left:0,top", |
+ ":0,right:0,bottom:0}}return b}\nfunction D(a){var b=m(a),f=B(a),e=\"fix", |
+ "ed\"==f||\"absolute\"==f;for(a=a.parentNode;a&&a!=b;a=a.parentNode)if(f", |
+ "=B(a),e=e&&\"static\"==f&&a!=b.documentElement&&a!=b.body,!e&&(a.scroll", |
+ "Width>a.clientWidth||a.scrollHeight>a.clientHeight||\"fixed\"==f||\"abs", |
+ "olute\"==f||\"relative\"==f))return a;return null};function E(a){var b=", |
+ "a.getClientRects();if(0==b.length)throw Error(\"Element does not have a", |
+ "ny client rects\");b=b[0];if(1==a.nodeType)if(a.getBoundingClientRect)a", |
+ "=C(a),a=new l(a.left,a.top);else{var f=p(a?new n(m(a)):k||(k=new n));va", |
+ "r e=m(a),I=B(a),c=new l(0,0),u=(e?m(e):document).documentElement;if(a!=", |
+ "u)if(a.getBoundingClientRect)a=C(a),e=p(e?new n(m(e)):k||(k=new n)),c.x", |
+ "=a.left+e.x,c.y=a.top+e.y;else if(e.getBoxObjectFor)a=e.getBoxObjectFor", |
+ "(a),e=e.getBoxObjectFor(u),c.x=a.screenX-e.screenX,c.y=a.screenY-\ne.sc", |
+ "reenY;else{var g=a;do{c.x+=g.offsetLeft;c.y+=g.offsetTop;g!=a&&(c.x+=g.", |
+ "clientLeft||0,c.y+=g.clientTop||0);if(\"fixed\"==B(g)){c.x+=e.body.scro", |
+ "llLeft;c.y+=e.body.scrollTop;break}g=g.offsetParent}while(g&&g!=a);\"ab", |
+ "solute\"==I&&(c.y-=e.body.offsetTop);for(g=a;(g=D(g))&&g!=e.body&&g!=u;", |
+ ")c.x-=g.scrollLeft,c.y-=g.scrollTop}a=new l(c.x-f.x,c.y-f.y)}else f=\"f", |
+ "unction\"==h(a.b),c=a,a.targetTouches?c=a.targetTouches[0]:f&&a.b().tar", |
+ "getTouches&&(c=a.b().targetTouches[0]),a=new l(c.clientX,c.clientY);ret", |
+ "urn new A(b.left-\na.x,b.top-a.y,b.right-b.left,b.bottom-b.top)}var F=[", |
+ "\"_\"],G=d;F[0]in G||!G.execScript||G.execScript(\"var \"+F[0]);for(var", |
+ " H;F.length&&(H=F.shift());)F.length||void 0===E?G=G[H]?G[H]:G[H]={}:G[", |
+ "H]=E;; return this._.apply(null,arguments);}.apply({navigator:typeof wi", |
+ "ndow!=undefined?window.navigator:null,document:typeof window!=undefined", |
+ "?window.document:null}, arguments);}", |
NULL |
}; |
const char* const GET_LOCATION_IN_VIEW[] = { |
- "function(){return function(){var k=this;\nfunction l(a){var b=typeof a;", |
+ "function(){return function(){var f=this;\nfunction k(a){var b=typeof a;", |
"if(\"object\"==b)if(a){if(a instanceof Array)return\"array\";if(a insta", |
"nceof Object)return b;var c=Object.prototype.toString.call(a);if(\"[obj", |
"ect Window]\"==c)return\"object\";if(\"[object Array]\"==c||\"number\"=", |
@@ -2485,94 +2508,473 @@ const char* const GET_LOCATION_IN_VIEW[] = { |
"ray\";if(\"[object Function]\"==c||\"undefined\"!=typeof a.call&&\"unde", |
"fined\"!=typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable(\"call", |
"\"))return\"function\"}else return\"null\";else if(\"function\"==\nb&&", |
- "\"undefined\"==typeof a.call)return\"object\";return b};var m;function ", |
+ "\"undefined\"==typeof a.call)return\"object\";return b};var l;function ", |
"n(a,b){this.x=void 0!==a?a:0;this.y=void 0!==b?b:0}n.prototype.toString", |
"=function(){return\"(\"+this.x+\", \"+this.y+\")\"};function p(a,b){thi", |
"s.width=a;this.height=b}p.prototype.toString=function(){return\"(\"+thi", |
- "s.width+\" x \"+this.height+\")\"};function q(a){return a?new r(s(a)):m", |
- "||(m=new r)}function s(a){return 9==a.nodeType?a:a.ownerDocument||a.doc", |
- "ument}function r(a){this.a=a||k.document||document}function t(a){a=a.a;", |
+ "s.width+\" x \"+this.height+\")\"};function q(a){return a?new r(s(a)):l", |
+ "||(l=new r)}function s(a){return 9==a.nodeType?a:a.ownerDocument||a.doc", |
+ "ument}function r(a){this.b=a||f.document||document}function t(a){a=a.b;", |
"a=(a.parentWindow||a.defaultView||window).document;a=\"CSS1Compat\"==a.", |
"compatMode?a.documentElement:a.body;return new p(a.clientWidth,a.client", |
- "Height)}function u(a){var b=a.a;a=b.body||b.documentElement;b=b.parentW", |
+ "Height)}function u(a){var b=a.b;a=b.body||b.documentElement;b=b.parentW", |
"indow||b.defaultView;return new n(b.pageXOffset||a.scrollLeft,b.pageYOf", |
- "fset||a.scrollTop)};function v(a,b,c,d){this.top=a;this.right=b;this.bo", |
- "ttom=c;this.left=d}v.prototype.toString=function(){return\"(\"+this.top", |
- "+\"t, \"+this.right+\"r, \"+this.bottom+\"b, \"+this.left+\"l)\"};funct", |
- "ion w(a,b,c,d){this.left=a;this.top=b;this.width=c;this.height=d}w.prot", |
- "otype.toString=function(){return\"(\"+this.left+\", \"+this.top+\" - \"", |
- "+this.width+\"w x \"+this.height+\"h)\"};function x(a,b){var c=s(a);ret", |
- "urn c.defaultView&&c.defaultView.getComputedStyle&&(c=c.defaultView.get", |
- "ComputedStyle(a,null))?c[b]||c.getPropertyValue(b)||\"\":\"\"}function ", |
- "y(a){return x(a,\"position\")||(a.currentStyle?a.currentStyle.position:", |
- "null)||a.style&&a.style.position}function z(a){var b;try{b=a.getBoundin", |
- "gClientRect()}catch(c){return{left:0,top:0,right:0,bottom:0}}return b}", |
- "\nfunction A(a){var b=s(a),c=y(a),d=\"fixed\"==c||\"absolute\"==c;for(a", |
- "=a.parentNode;a&&a!=b;a=a.parentNode)if(c=y(a),d=d&&\"static\"==c&&a!=b", |
- ".documentElement&&a!=b.body,!d&&(a.scrollWidth>a.clientWidth||a.scrollH", |
- "eight>a.clientHeight||\"fixed\"==c||\"absolute\"==c||\"relative\"==c))r", |
- "eturn a;return null}\nfunction B(a){var b=s(a),c=y(a),d=new n(0,0),f=(b", |
- "?s(b):document).documentElement;if(a==f)return d;if(a.getBoundingClient", |
- "Rect)a=z(a),b=u(q(b)),d.x=a.left+b.x,d.y=a.top+b.y;else if(b.getBoxObje", |
- "ctFor)a=b.getBoxObjectFor(a),b=b.getBoxObjectFor(f),d.x=a.screenX-b.scr", |
- "eenX,d.y=a.screenY-b.screenY;else{var e=a;do{d.x+=e.offsetLeft;d.y+=e.o", |
- "ffsetTop;e!=a&&(d.x+=e.clientLeft||0,d.y+=e.clientTop||0);if(\"fixed\"=", |
- "=y(e)){d.x+=b.body.scrollLeft;d.y+=b.body.scrollTop;break}e=e.offsetPar", |
- "ent}while(e&&e!=a);\"absolute\"==\nc&&(d.y-=b.body.offsetTop);for(e=a;(", |
- "e=A(e))&&e!=b.body&&e!=f;)d.x-=e.scrollLeft,d.y-=e.scrollTop}return d}f", |
- "unction C(a){if(1==a.nodeType){if(a.getBoundingClientRect)a=z(a),a=new ", |
- "n(a.left,a.top);else{var b=u(q(a));a=B(a);a=new n(a.x-b.x,a.y-b.y)}retu", |
- "rn a}var b=\"function\"==l(a.b),c=a;a.targetTouches?c=a.targetTouches[0", |
- "]:b&&a.b().targetTouches&&(c=a.b().targetTouches[0]);return new n(c.cli", |
- "entX,c.clientY)};function D(a,b){var c;c=B(b);var d=B(a);c=new n(c.x-d.", |
- "x,c.y-d.y);var f,e,h;h=x(a,\"borderLeftWidth\");e=x(a,\"borderRightWidt", |
- "h\");f=x(a,\"borderTopWidth\");d=x(a,\"borderBottomWidth\");d=new v(par", |
- "seFloat(f),parseFloat(e),parseFloat(d),parseFloat(h));c.x-=d.left;c.y-=", |
- "d.top;return c}\nfunction E(a,b,c){function d(a,b,c,d,e){d=new w(c.x+d.", |
- "left,c.y+d.top,d.width,d.height);c=[0,0];b=[b.width,b.height];var f=[d.", |
- "left,d.top];d=[d.width,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 h=f[g]-b[g]+d[g];0<h?c[g]=h:0>f[g]&&", |
- "(c[g]=f[g])}e=new n(c[0],c[1]);a.scrollLeft+=e.x;a.scrollTop+=e.y}for(v", |
- "ar f=s(a),e=a.parentNode,h;e&&e!=f.documentElement&&e!=f.body;)h=D(e,a)", |
- ",d(e,new p(e.clientWidth,e.clientHeight),h,b,c),e=e.parentNode;h=C(a);a", |
- "=t(q(a));d(f.body,a,h,\nb,c)};function F(a,b,c){c||(c=new w(0,0,a.offse", |
- "tWidth,a.offsetHeight));E(a,c,b);a=C(a);return new n(a.x+c.left,a.y+c.t", |
- "op)}var G=[\"_\"],H=k;G[0]in H||!H.execScript||H.execScript(\"var \"+G[", |
- "0]);for(var I;G.length&&(I=G.shift());)G.length||void 0===F?H=H[I]?H[I]", |
- ":H[I]={}:H[I]=F;; return this._.apply(null,arguments);}.apply({navigato", |
- "r:typeof window!=undefined?window.navigator:null,document:typeof window", |
- "!=undefined?window.document:null}, arguments);}", |
+ "fset||a.scrollTop)};function v(a){this.d=a}v.prototype.toString=functio", |
+ "n(){return this.d};var w={};function x(a){if(w.hasOwnProperty(a))throw ", |
+ "Error(\"Binary operator already created: \"+a);a=new v(a);w[a.toString(", |
+ ")]=a}x(\"div\");x(\"mod\");x(\"*\");x(\"+\");x(\"-\");x(\"<\");x(\">\")", |
+ ";x(\"<=\");x(\">=\");x(\"=\");x(\"!=\");x(\"and\");x(\"or\");function y", |
+ "(a){this.a=a}y.prototype.toString=function(){return this.a};var z={};fu", |
+ "nction A(a){if(z.hasOwnProperty(a))throw Error(\"Function already creat", |
+ "ed: \"+a+\".\");z[a]=new y(a)}A(\"boolean\");A(\"ceiling\");A(\"concat", |
+ "\");A(\"contains\");A(\"count\");A(\"false\");A(\"floor\");A(\"id\");A(", |
+ "\"lang\");A(\"last\");A(\"local-name\");A(\"name\");A(\"namespace-uri\"", |
+ ");A(\"normalize-space\");A(\"not\");A(\"number\");A(\"position\");A(\"r", |
+ "ound\");A(\"starts-with\");A(\"string\");A(\"string-length\");A(\"subst", |
+ "ring\");A(\"substring-after\");A(\"substring-before\");\nA(\"sum\");A(", |
+ "\"translate\");A(\"true\");function B(a){this.a=a}B.prototype.toString=", |
+ "function(){return this.a};var C={};function D(a){if(C.hasOwnProperty(a)", |
+ ")throw Error(\"Axis already created: \"+a);C[a]=new B(a)}D(\"ancestor\"", |
+ ");D(\"ancestor-or-self\");D(\"attribute\");D(\"child\");D(\"descendant", |
+ "\");D(\"descendant-or-self\");D(\"following\");D(\"following-sibling\")", |
+ ";D(\"namespace\");D(\"parent\");D(\"preceding\");D(\"preceding-sibling", |
+ "\");D(\"self\");function E(a,b,c,d){this.top=a;this.right=b;this.bottom", |
+ "=c;this.left=d}E.prototype.toString=function(){return\"(\"+this.top+\"t", |
+ ", \"+this.right+\"r, \"+this.bottom+\"b, \"+this.left+\"l)\"};function ", |
+ "F(a,b,c,d){this.left=a;this.top=b;this.width=c;this.height=d}F.prototyp", |
+ "e.toString=function(){return\"(\"+this.left+\", \"+this.top+\" - \"+thi", |
+ "s.width+\"w x \"+this.height+\"h)\"};function G(a,b){var c=s(a);return ", |
+ "c.defaultView&&c.defaultView.getComputedStyle&&(c=c.defaultView.getComp", |
+ "utedStyle(a,null))?c[b]||c.getPropertyValue(b)||\"\":\"\"}function H(a)", |
+ "{return G(a,\"position\")||(a.currentStyle?a.currentStyle.position:null", |
+ ")||a.style&&a.style.position}function I(a){var b;try{b=a.getBoundingCli", |
+ "entRect()}catch(c){return{left:0,top:0,right:0,bottom:0}}return b}\nfun", |
+ "ction J(a){var b=s(a),c=H(a),d=\"fixed\"==c||\"absolute\"==c;for(a=a.pa", |
+ "rentNode;a&&a!=b;a=a.parentNode)if(c=H(a),d=d&&\"static\"==c&&a!=b.docu", |
+ "mentElement&&a!=b.body,!d&&(a.scrollWidth>a.clientWidth||a.scrollHeight", |
+ ">a.clientHeight||\"fixed\"==c||\"absolute\"==c||\"relative\"==c))return", |
+ " a;return null}\nfunction K(a){var b=s(a),c=H(a),d=new n(0,0),g=(b?s(b)", |
+ ":document).documentElement;if(a==g)return d;if(a.getBoundingClientRect)", |
+ "a=I(a),b=u(q(b)),d.x=a.left+b.x,d.y=a.top+b.y;else if(b.getBoxObjectFor", |
+ ")a=b.getBoxObjectFor(a),b=b.getBoxObjectFor(g),d.x=a.screenX-b.screenX,", |
+ "d.y=a.screenY-b.screenY;else{var e=a;do{d.x+=e.offsetLeft;d.y+=e.offset", |
+ "Top;e!=a&&(d.x+=e.clientLeft||0,d.y+=e.clientTop||0);if(\"fixed\"==H(e)", |
+ "){d.x+=b.body.scrollLeft;d.y+=b.body.scrollTop;break}e=e.offsetParent}w", |
+ "hile(e&&e!=a);\"absolute\"==\nc&&(d.y-=b.body.offsetTop);for(e=a;(e=J(e", |
+ "))&&e!=b.body&&e!=g;)d.x-=e.scrollLeft,d.y-=e.scrollTop}return d}functi", |
+ "on L(a){if(1==a.nodeType){if(a.getBoundingClientRect)a=I(a),a=new n(a.l", |
+ "eft,a.top);else{var b=u(q(a));a=K(a);a=new n(a.x-b.x,a.y-b.y)}return a}", |
+ "var b=\"function\"==k(a.c),c=a;a.targetTouches?c=a.targetTouches[0]:b&&", |
+ "a.c().targetTouches&&(c=a.c().targetTouches[0]);return new n(c.clientX,", |
+ "c.clientY)};function M(a,b){var c;c=K(b);var d=K(a);c=new n(c.x-d.x,c.y", |
+ "-d.y);var g,e,m;m=G(a,\"borderLeftWidth\");e=G(a,\"borderRightWidth\");", |
+ "g=G(a,\"borderTopWidth\");d=G(a,\"borderBottomWidth\");d=new E(parseFlo", |
+ "at(g),parseFloat(e),parseFloat(d),parseFloat(m));c.x-=d.left;c.y-=d.top", |
+ ";return c}\nfunction N(a,b,c){function d(a,b,c,d,e){d=new F(c.x+d.left,", |
+ "c.y+d.top,d.width,d.height);c=[0,0];b=[b.width,b.height];var g=[d.left,", |
+ "d.top];d=[d.width,d.height];for(var h=0;2>h;h++)if(d[h]>b[h])c[h]=e?g[h", |
+ "]+d[h]/2-b[h]/2:g[h];else{var m=g[h]-b[h]+d[h];0<m?c[h]=m:0>g[h]&&(c[h]", |
+ "=g[h])}e=new n(c[0],c[1]);a.scrollLeft+=e.x;a.scrollTop+=e.y}for(var g=", |
+ "s(a),e=a.parentNode,m;e&&e!=g.documentElement&&e!=g.body;)m=M(e,a),d(e,", |
+ "new p(e.clientWidth,e.clientHeight),m,b,c),e=e.parentNode;m=L(a);a=t(q(", |
+ "a));d(g.body,a,m,\nb,c)};function O(a,b,c){c||(c=new F(0,0,a.offsetWidt", |
+ "h,a.offsetHeight));N(a,c,b);a=L(a);return new n(a.x+c.left,a.y+c.top)}v", |
+ "ar P=[\"_\"],Q=f;P[0]in Q||!Q.execScript||Q.execScript(\"var \"+P[0]);f", |
+ "or(var R;P.length&&(R=P.shift());)P.length||void 0===O?Q=Q[R]?Q[R]:Q[R]", |
+ "={}:Q[R]=O;; return this._.apply(null,arguments);}.apply({navigator:typ", |
+ "eof window!=undefined?window.navigator:null,document:typeof window!=und", |
+ "efined?window.document:null}, arguments);}", |
NULL |
}; |
const char* const GET_PAGE_ZOOM[] = { |
- "function(){return function(){function a(b){b=9==b.nodeType?b:b.ownerDoc", |
- "ument||b.document;var c=b.documentElement,c=Math.max(c.clientWidth,c.of", |
- "fsetWidth,c.scrollWidth);return b.width/c}var d=[\"_\"],e=this;d[0]in e", |
- "||!e.execScript||e.execScript(\"var \"+d[0]);for(var f;d.length&&(f=d.s", |
- "hift());)d.length||void 0===a?e=e[f]?e[f]:e[f]={}:e[f]=a;; return this.", |
- "_.apply(null,arguments);}.apply({navigator:typeof window!=undefined?win", |
- "dow.navigator:null,document:typeof window!=undefined?window.document:nu", |
- "ll}, arguments);}", |
+ "function(){return function(){function b(a){this.b=a}b.prototype.toStrin", |
+ "g=function(){return this.b};var c={};function d(a){if(c.hasOwnProperty(", |
+ "a))throw Error(\"Binary operator already created: \"+a);a=new b(a);c[a.", |
+ "toString()]=a}d(\"div\");d(\"mod\");d(\"*\");d(\"+\");d(\"-\");d(\"<\")", |
+ ";d(\">\");d(\"<=\");d(\">=\");d(\"=\");d(\"!=\");d(\"and\");d(\"or\");f", |
+ "unction e(a){this.a=a}e.prototype.toString=function(){return this.a};va", |
+ "r g={};function h(a){if(g.hasOwnProperty(a))throw Error(\"Function alre", |
+ "ady created: \"+a+\".\");g[a]=new e(a)}h(\"boolean\");h(\"ceiling\");h(", |
+ "\"concat\");h(\"contains\");h(\"count\");h(\"false\");h(\"floor\");h(\"", |
+ "id\");h(\"lang\");h(\"last\");h(\"local-name\");h(\"name\");h(\"namespa", |
+ "ce-uri\");h(\"normalize-space\");h(\"not\");h(\"number\");h(\"position", |
+ "\");h(\"round\");h(\"starts-with\");h(\"string\");h(\"string-length\");", |
+ "h(\"substring\");h(\"substring-after\");h(\"substring-before\");\nh(\"s", |
+ "um\");h(\"translate\");h(\"true\");function k(a){this.a=a}k.prototype.t", |
+ "oString=function(){return this.a};var l={};function m(a){if(l.hasOwnPro", |
+ "perty(a))throw Error(\"Axis already created: \"+a);l[a]=new k(a)}m(\"an", |
+ "cestor\");m(\"ancestor-or-self\");m(\"attribute\");m(\"child\");m(\"des", |
+ "cendant\");m(\"descendant-or-self\");m(\"following\");m(\"following-sib", |
+ "ling\");m(\"namespace\");m(\"parent\");m(\"preceding\");m(\"preceding-s", |
+ "ibling\");m(\"self\");function n(a){a=9==a.nodeType?a:a.ownerDocument||", |
+ "a.document;var f=a.documentElement,f=Math.max(f.clientWidth,f.offsetWid", |
+ "th,f.scrollWidth);return a.width/f}var p=[\"_\"],q=this;p[0]in q||!q.ex", |
+ "ecScript||q.execScript(\"var \"+p[0]);for(var r;p.length&&(r=p.shift())", |
+ ";){var s;if(s=!p.length)s=void 0!==n;s?q[r]=n:q=q[r]?q[r]:q[r]={}};; re", |
+ "turn this._.apply(null,arguments);}.apply({navigator:typeof window!=und", |
+ "efined?window.navigator:null,document:typeof window!=undefined?window.d", |
+ "ocument:null}, arguments);}", |
NULL |
}; |
const char* const IS_ELEMENT_CLICKABLE[] = { |
- "function(){return function(){function c(h,d){function g(a,b){var d={cli", |
- "ckable:a};b&&(d.message=b);return d}var a=h.ownerDocument.elementFromPo", |
- "int(d.x,d.y);if(a==h)return g(!0);var l=\"(\"+d.x+\", \"+d.y+\")\";if(n", |
- "ull==a)return g(!1,\"Element is not clickable at point \"+l);var b=a.ou", |
- "terHTML;if(a.hasChildNodes())var m=a.innerHTML,n=b.length-m.length-(\"<", |
- "/\"+a.tagName+\">\").length,b=b.substring(0,n)+\"...\"+b.substring(n+m.", |
- "length);for(a=a.parentNode;a;){if(a==h)return g(!0,\"Element's descenda", |
- "nt would receive the click. Consider clicking the descendant instead. D", |
- "escendant: \"+\nb);a=a.parentNode}return g(!1,\"Element is not clickabl", |
- "e at point \"+l+\". Other element would receive the click: \"+b)}var e=", |
- "[\"_\"],f=this;e[0]in f||!f.execScript||f.execScript(\"var \"+e[0]);for", |
- "(var k;e.length&&(k=e.shift());)e.length||void 0===c?f=f[k]?f[k]:f[k]={", |
- "}:f[k]=c;; return this._.apply(null,arguments);}.apply({navigator:typeo", |
- "f window!=undefined?window.navigator:null,document:typeof window!=undef", |
- "ined?window.document:null}, arguments);}", |
+ "function(){return function(){function b(a){this.b=a}b.prototype.toStrin", |
+ "g=function(){return this.b};var d={};function e(a){if(d.hasOwnProperty(", |
+ "a))throw Error(\"Binary operator already created: \"+a);a=new b(a);d[a.", |
+ "toString()]=a}e(\"div\");e(\"mod\");e(\"*\");e(\"+\");e(\"-\");e(\"<\")", |
+ ";e(\">\");e(\"<=\");e(\">=\");e(\"=\");e(\"!=\");e(\"and\");e(\"or\");f", |
+ "unction g(a){this.a=a}g.prototype.toString=function(){return this.a};va", |
+ "r k={};function l(a){if(k.hasOwnProperty(a))throw Error(\"Function alre", |
+ "ady created: \"+a+\".\");k[a]=new g(a)}l(\"boolean\");l(\"ceiling\");l(", |
+ "\"concat\");l(\"contains\");l(\"count\");l(\"false\");l(\"floor\");l(\"", |
+ "id\");l(\"lang\");l(\"last\");l(\"local-name\");l(\"name\");l(\"namespa", |
+ "ce-uri\");l(\"normalize-space\");l(\"not\");l(\"number\");l(\"position", |
+ "\");l(\"round\");l(\"starts-with\");l(\"string\");l(\"string-length\");", |
+ "l(\"substring\");l(\"substring-after\");l(\"substring-before\");\nl(\"s", |
+ "um\");l(\"translate\");l(\"true\");function p(a){this.a=a}p.prototype.t", |
+ "oString=function(){return this.a};var q={};function r(a){if(q.hasOwnPro", |
+ "perty(a))throw Error(\"Axis already created: \"+a);q[a]=new p(a)}r(\"an", |
+ "cestor\");r(\"ancestor-or-self\");r(\"attribute\");r(\"child\");r(\"des", |
+ "cendant\");r(\"descendant-or-self\");r(\"following\");r(\"following-sib", |
+ "ling\");r(\"namespace\");r(\"parent\");r(\"preceding\");r(\"preceding-s", |
+ "ibling\");r(\"self\");function s(a,m){function n(a,c){var f={clickable:", |
+ "a};c&&(f.message=c);return f}for(var f=a;null!=f.parentNode;)f=f.parent", |
+ "Node;var c=f.elementFromPoint(m.x,m.y);if(c==a)return n(!0);f=\"(\"+m.x", |
+ "+\", \"+m.y+\")\";if(null==c)return n(!1,\"Element is not clickable at ", |
+ "point \"+f);var h=c.outerHTML;if(c.hasChildNodes())var x=c.innerHTML,y=", |
+ "h.length-x.length-(\"</\"+c.tagName+\">\").length,h=h.substring(0,y)+\"", |
+ "...\"+h.substring(y+x.length);for(c=c.parentNode;c;){if(c==a)return n(!", |
+ "0,\"Element's descendant would receive the click. Consider clicking the", |
+ " descendant instead. Descendant: \"+\nh);c=c.parentNode}return n(!1,\"E", |
+ "lement is not clickable at point \"+f+\". Other element would receive t", |
+ "he click: \"+h)}var t=[\"_\"],u=this;t[0]in u||!u.execScript||u.execScr", |
+ "ipt(\"var \"+t[0]);for(var v;t.length&&(v=t.shift());){var w;if(w=!t.le", |
+ "ngth)w=void 0!==s;w?u[v]=s:u=u[v]?u[v]:u[v]={}};; return this._.apply(n", |
+ "ull,arguments);}.apply({navigator:typeof window!=undefined?window.navig", |
+ "ator:null,document:typeof window!=undefined?window.document:null}, argu", |
+ "ments);}", |
+ NULL |
+}; |
+ |
+const char* const IS_ELEMENT_DISPLAYED[] = { |
+ "function(){return function(){var g=this;\nfunction aa(a){var b=typeof a", |
+ ";if(\"object\"==b)if(a){if(a instanceof Array)return\"array\";if(a inst", |
+ "anceof Object)return b;var c=Object.prototype.toString.call(a);if(\"[ob", |
+ "ject Window]\"==c)return\"object\";if(\"[object Array]\"==c||\"number\"", |
+ "==typeof a.length&&\"undefined\"!=typeof a.splice&&\"undefined\"!=typeo", |
+ "f a.propertyIsEnumerable&&!a.propertyIsEnumerable(\"splice\"))return\"a", |
+ "rray\";if(\"[object Function]\"==c||\"undefined\"!=typeof a.call&&\"und", |
+ "efined\"!=typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable(\"call", |
+ "\"))return\"function\"}else return\"null\";else if(\"function\"==\nb&&", |
+ "\"undefined\"==typeof a.call)return\"object\";return b}function k(a){re", |
+ "turn\"string\"==typeof a};function ba(a){return String(a).replace(/\\-(", |
+ "[a-z])/g,function(a,c){return c.toUpperCase()})};var l=Array.prototype;", |
+ "function n(a,b){if(k(a))return k(b)&&1==b.length?a.indexOf(b,0):-1;for(", |
+ "var c=0;c<a.length;c++)if(c in a&&a[c]===b)return c;return-1}function p", |
+ "(a,b){for(var c=a.length,d=k(a)?a.split(\"\"):a,e=0;e<c;e++)e in d&&b.c", |
+ "all(void 0,d[e],e,a)}function ca(a,b){var c=\"\";p(a,function(d,e){c=b.", |
+ "call(void 0,c,d,e,a)});return c}function da(a,b){for(var c=a.length,d=k", |
+ "(a)?a.split(\"\"):a,e=0;e<c;e++)if(e in d&&b.call(void 0,d[e],e,a))retu", |
+ "rn!0;return!1}\nfunction ea(a,b){for(var c=a.length,d=k(a)?a.split(\"\"", |
+ "):a,e=0;e<c;e++)if(e in d&&!b.call(void 0,d[e],e,a))return!1;return!0}f", |
+ "unction fa(a,b,c){return 2>=arguments.length?l.slice.call(a,b):l.slice.", |
+ "call(a,b,c)};var ga={aliceblue:\"#f0f8ff\",antiquewhite:\"#faebd7\",aqu", |
+ "a:\"#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 ha=", |
+ "\"backgroundColor borderTopColor borderRightColor borderBottomColor bor", |
+ "derLeftColor color outlineColor\".split(\" \"),ja=/#([0-9a-fA-F])([0-9a", |
+ "-fA-F])([0-9a-fA-F])/,ka=/^#(?:[0-9a-f]{3}){1,2}$/i,la=/^(?:rgba)?\\((", |
+ "\\d{1,3}),\\s?(\\d{1,3}),\\s?(\\d{1,3}),\\s?(0|1|0\\.\\d*)\\)$/i,ma=/^(", |
+ "?:rgb)?\\((0|[1-9]\\d{0,2}),\\s?(0|[1-9]\\d{0,2}),\\s?(0|[1-9]\\d{0,2})", |
+ "\\)$/i;function r(a,b){this.code=a;this.state=s[a]||t;this.message=b||", |
+ "\"\";var c=this.state.replace(/((?:^|\\s+)[a-z])/g,function(a){return a", |
+ ".toUpperCase().replace(/^[\\s\\xa0]+/g,\"\")}),d=c.length-5;if(0>d||c.i", |
+ "ndexOf(\"Error\",d)!=d)c+=\"Error\";this.name=c;c=Error(this.message);c", |
+ ".name=this.name;this.stack=c.stack||\"\"}(function(){var a=Error;functi", |
+ "on b(){}b.prototype=a.prototype;r.A=a.prototype;r.prototype=new b;r.t=f", |
+ "unction(b,d,e){return a.prototype[d].apply(b,Array.prototype.slice.call", |
+ "(arguments,2))}})();\nvar t=\"unknown error\",s={15:\"element not selec", |
+ "table\",11:\"element not visible\",31:\"ime engine activation failed\",", |
+ "30:\"ime not available\",24:\"invalid cookie domain\",29:\"invalid elem", |
+ "ent coordinates\",12:\"invalid element state\",32:\"invalid selector\",", |
+ "51:\"invalid selector\",52:\"invalid selector\",17:\"javascript error\"", |
+ ",405:\"unsupported operation\",34:\"move target out of bounds\",27:\"no", |
+ " such alert\",7:\"no such element\",8:\"no such frame\",23:\"no such wi", |
+ "ndow\",28:\"script timeout\",33:\"session not created\",10:\"stale elem", |
+ "ent reference\",\n0:\"success\",21:\"timeout\",25:\"unable to set cooki", |
+ "e\",26:\"unexpected alert open\"};s[13]=t;s[9]=\"unknown command\";r.pr", |
+ "ototype.toString=function(){return this.name+\": \"+this.message};funct", |
+ "ion u(a,b){this.x=void 0!==a?a:0;this.y=void 0!==b?b:0}u.prototype.toSt", |
+ "ring=function(){return\"(\"+this.x+\", \"+this.y+\")\"};u.prototype.cei", |
+ "l=function(){this.x=Math.ceil(this.x);this.y=Math.ceil(this.y);return t", |
+ "his};u.prototype.floor=function(){this.x=Math.floor(this.x);this.y=Math", |
+ ".floor(this.y);return this};u.prototype.round=function(){this.x=Math.ro", |
+ "und(this.x);this.y=Math.round(this.y);return this};function v(a,b){this", |
+ ".width=a;this.height=b}v.prototype.toString=function(){return\"(\"+this", |
+ ".width+\" x \"+this.height+\")\"};v.prototype.ceil=function(){this.widt", |
+ "h=Math.ceil(this.width);this.height=Math.ceil(this.height);return this}", |
+ ";v.prototype.floor=function(){this.width=Math.floor(this.width);this.he", |
+ "ight=Math.floor(this.height);return this};v.prototype.round=function(){", |
+ "this.width=Math.round(this.width);this.height=Math.round(this.height);r", |
+ "eturn this};function x(a,b){if(a.contains&&1==b.nodeType)return a==b||a", |
+ ".contains(b);if(\"undefined\"!=typeof a.compareDocumentPosition)return ", |
+ "a==b||Boolean(a.compareDocumentPosition(b)&16);for(;b&&a!=b;)b=b.parent", |
+ "Node;return b==a}\nfunction na(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?y(a,b):!c&&x(e,b)?-1*z(a,b):!d&&x(", |
+ "f,a)?z(b,a):(c?a.sourceIndex:e.sourceIndex)-(d?b.sourceIndex:f.sourceIn", |
+ "dex)}d=A(a);c=d.createRange();c.selectNode(a);c.collapse(!0);d=d.create", |
+ "Range();d.selectNode(b);d.collapse(!0);\nreturn c.compareBoundaryPoints", |
+ "(g.Range.START_TO_END,d)}function z(a,b){var c=a.parentNode;if(c==b)ret", |
+ "urn-1;for(var d=b;d.parentNode!=c;)d=d.parentNode;return y(d,a)}functio", |
+ "n y(a,b){for(var c=b;c=c.previousSibling;)if(c==a)return-1;return 1}fun", |
+ "ction A(a){return 9==a.nodeType?a:a.ownerDocument||a.document}function ", |
+ "oa(a,b){a=a.parentNode;for(var c=0;a;){if(b(a))return a;a=a.parentNode;", |
+ "c++}return null}function B(a){this.q=a||g.document||document}B.prototyp", |
+ "e.contains=x;function C(a){var b=null,c=a.nodeType;1==c&&(b=a.textConte", |
+ "nt,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.firstChi", |
+ "ld;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};function D(){this.e=this.g=null;this.l=0}functi", |
+ "on pa(a){this.m=a;this.next=this.n=null}D.prototype.add=function(a){a=n", |
+ "ew pa(a);a.n=this.e;this.g?this.e.next=a:this.g=this.e=a;this.e=a;this.", |
+ "l++};function E(a){return(a=a.g)?a.m:null}function F(a){return new G(a,", |
+ "!1)}function G(a,b){this.j=(this.o=b)?a.e:a.g}G.prototype.next=function", |
+ "(){var a=this.j;if(null==a)return null;this.j=this.o?a.n:a.next;return ", |
+ "a.m};function H(a,b,c,d,e){b=b.evaluate(d);c=c.evaluate(d);var f;if(b i", |
+ "nstanceof D&&c instanceof D){e=F(b);for(d=e.next();d;d=e.next())for(b=F", |
+ "(c),f=b.next();f;f=b.next())if(a(C(d),C(f)))return!0;return!1}if(b inst", |
+ "anceof D||c instanceof D){b instanceof D?e=b:(e=c,c=b);e=F(e);b=typeof ", |
+ "c;for(d=e.next();d;d=e.next()){switch(b){case \"number\":d=+C(d);break;", |
+ "case \"boolean\":d=!!C(d);break;case \"string\":d=C(d);break;default:th", |
+ "row Error(\"Illegal primitive type for comparison.\");}if(a(d,c))return", |
+ "!0}return!1}return e?\n\"boolean\"==typeof b||\"boolean\"==typeof c?a(!", |
+ "!b,!!c):\"number\"==typeof b||\"number\"==typeof c?a(+b,+c):a(b,c):a(+b", |
+ ",+c)}function I(a,b,c,d){this.r=a;this.f=d}I.prototype.toString=functio", |
+ "n(){return this.r};var qa={};function J(a,b){if(qa.hasOwnProperty(a))th", |
+ "row Error(\"Binary operator already created: \"+a);var c=new I(a,0,0,b)", |
+ ";qa[c.toString()]=c}J(\"div\",function(a,b,c){return a.b(c)/b.b(c)});J(", |
+ "\"mod\",function(a,b,c){return a.b(c)%b.b(c)});J(\"*\",function(a,b,c){", |
+ "return a.b(c)*b.b(c)});\nJ(\"+\",function(a,b,c){return a.b(c)+b.b(c)})", |
+ ";J(\"-\",function(a,b,c){return a.b(c)-b.b(c)});J(\"<\",function(a,b,c)", |
+ "{return H(function(a,b){return a<b},a,b,c)});J(\">\",function(a,b,c){re", |
+ "turn H(function(a,b){return a>b},a,b,c)});J(\"<=\",function(a,b,c){retu", |
+ "rn H(function(a,b){return a<=b},a,b,c)});J(\">=\",function(a,b,c){retur", |
+ "n H(function(a,b){return a>=b},a,b,c)});J(\"=\",function(a,b,c){return ", |
+ "H(function(a,b){return a==b},a,b,c,!0)});J(\"!=\",function(a,b,c){retur", |
+ "n H(function(a,b){return a!=b},a,b,c,!0)});\nJ(\"and\",function(a,b,c){", |
+ "return a.d(c)&&b.d(c)});J(\"or\",function(a,b,c){return a.d(c)||b.d(c)}", |
+ ");function ra(a,b,c,d,e,f){this.h=a;this.f=f}ra.prototype.toString=func", |
+ "tion(){return this.h};var sa={};function K(a,b){if(sa.hasOwnProperty(a)", |
+ ")throw Error(\"Function already created: \"+a+\".\");sa[a]=new ra(a,0,0", |
+ ",0,0,b)}K(\"boolean\",function(a,b){return b.d(a)});K(\"ceiling\",funct", |
+ "ion(a,b){return Math.ceil(b.b(a))});K(\"concat\",function(a,b){return c", |
+ "a(fa(arguments,1),function(b,d){return b+d.a(a)})});K(\"contains\",func", |
+ "tion(a,b,c){b=b.a(a);a=c.a(a);return-1!=b.indexOf(a)});K(\"count\",func", |
+ "tion(a,b){return b.evaluate(a).l});\nK(\"false\",function(){return!1});", |
+ "K(\"floor\",function(a,b){return Math.floor(b.b(a))});K(\"id\",function", |
+ "(a,b){var c=a.c(),d=9==c.nodeType?c:c.ownerDocument,c=b.a(a).split(/\\s", |
+ "+/),e=[];p(c,function(a){a=d.getElementById(a);!a||0<=n(e,a)||e.push(a)", |
+ "});e.sort(na);var f=new D;p(e,function(a){f.add(a)});return f});K(\"lan", |
+ "g\",function(){return!1});K(\"last\",function(a){if(1!=arguments.length", |
+ ")throw Error(\"Function last expects ()\");return a.u()});\nK(\"local-n", |
+ "ame\",function(a,b){var c=b?E(b.evaluate(a)):a.c();return c?c.nodeName.", |
+ "toLowerCase():\"\"});K(\"name\",function(a,b){var c=b?E(b.evaluate(a)):", |
+ "a.c();return c?c.nodeName.toLowerCase():\"\"});K(\"namespace-uri\",func", |
+ "tion(){return\"\"});K(\"normalize-space\",function(a,b){return(b?b.a(a)", |
+ ":C(a.c())).replace(/[\\s\\xa0]+/g,\" \").replace(/^\\s+|\\s+$/g,\"\")})", |
+ ";K(\"not\",function(a,b){return!b.d(a)});K(\"number\",function(a,b){ret", |
+ "urn b?b.b(a):+C(a.c())});K(\"position\",function(a){return a.v()});K(\"", |
+ "round\",function(a,b){return Math.round(b.b(a))});\nK(\"starts-with\",f", |
+ "unction(a,b,c){b=b.a(a);a=c.a(a);return 0==b.lastIndexOf(a,0)});K(\"str", |
+ "ing\",function(a,b){return b?b.a(a):C(a.c())});K(\"string-length\",func", |
+ "tion(a,b){return(b?b.a(a):C(a.c())).length});K(\"substring\",function(a", |
+ ",b,c,d){c=c.b(a);if(isNaN(c)||Infinity==c||-Infinity==c)return\"\";d=d?", |
+ "d.b(a):Infinity;if(isNaN(d)||-Infinity===d)return\"\";c=Math.round(c)-1", |
+ ";var e=Math.max(c,0);a=b.a(a);if(Infinity==d)return a.substring(e);b=Ma", |
+ "th.round(d);return a.substring(e,c+b)});\nK(\"substring-after\",functio", |
+ "n(a,b,c){b=b.a(a);a=c.a(a);c=b.indexOf(a);return-1==c?\"\":b.substring(", |
+ "c+a.length)});K(\"substring-before\",function(a,b,c){b=b.a(a);a=c.a(a);", |
+ "a=b.indexOf(a);return-1==a?\"\":b.substring(0,a)});K(\"sum\",function(a", |
+ ",b){for(var c=F(b.evaluate(a)),d=0,e=c.next();e;e=c.next())d+=+C(e);ret", |
+ "urn d});\nK(\"translate\",function(a,b,c,d){b=b.a(a);c=c.a(a);var e=d.a", |
+ "(a);a=[];for(d=0;d<c.length;d++){var f=c.charAt(d);f in a||(a[f]=e.char", |
+ "At(d))}c=\"\";for(d=0;d<b.length;d++)f=b.charAt(d),c+=f in a?a[f]:f;ret", |
+ "urn c});K(\"true\",function(){return!0});function ta(a,b,c){this.h=a;th", |
+ "is.o=c}ta.prototype.toString=function(){return this.h};var ua={};functi", |
+ "on M(a,b){if(ua.hasOwnProperty(a))throw Error(\"Axis already created: ", |
+ "\"+a);ua[a]=new ta(a,0,b)}M(\"ancestor\",!0);M(\"ancestor-or-self\",!0)", |
+ ";M(\"attribute\",!1);M(\"child\",!1);M(\"descendant\",!1);M(\"descendan", |
+ "t-or-self\",!1);M(\"following\",!1);M(\"following-sibling\",!1);M(\"nam", |
+ "espace\",!1);M(\"parent\",!1);M(\"preceding\",!0);M(\"preceding-sibling", |
+ "\",!0);M(\"self\",!1);var N={};N.p=function(){var a={B:\"http://www.w3.", |
+ "org/2000/svg\"};return function(b){return a[b]||null}}();N.f=function(a", |
+ ",b,c){var d=A(a);try{var e=d.createNSResolver?d.createNSResolver(d.docu", |
+ "mentElement):N.p;return d.evaluate(b,a,e,c,null)}catch(f){throw new r(3", |
+ "2,\"Unable to locate an element with the xpath expression \"+b+\" becau", |
+ "se of the following error:\\n\"+f);}};N.i=function(a,b){if(!a||1!=a.nod", |
+ "eType)throw new r(32,'The result of the xpath expression \"'+b+'\" is: ", |
+ "'+a+\". It should be an element.\");};\nN.s=function(a,b){var c=functio", |
+ "n(){var c=N.f(b,a,9);return c?c.singleNodeValue||null:b.selectSingleNod", |
+ "e?(c=A(b),c.setProperty&&c.setProperty(\"SelectionLanguage\",\"XPath\")", |
+ ",b.selectSingleNode(a)):null}();null===c||N.i(c,a);return c};\nN.w=func", |
+ "tion(a,b){var c=function(){var c=N.f(b,a,7);if(c){for(var e=c.snapshotL", |
+ "ength,f=[],h=0;h<e;++h)f.push(c.snapshotItem(h));return f}return b.sele", |
+ "ctNodes?(c=A(b),c.setProperty&&c.setProperty(\"SelectionLanguage\",\"XP", |
+ "ath\"),b.selectNodes(a)):[]}();p(c,function(b){N.i(b,a)});return c};fun", |
+ "ction O(a,b,c,d){this.top=a;this.right=b;this.bottom=c;this.left=d}O.pr", |
+ "ototype.toString=function(){return\"(\"+this.top+\"t, \"+this.right+\"r", |
+ ", \"+this.bottom+\"b, \"+this.left+\"l)\"};O.prototype.contains=functio", |
+ "n(a){return this&&a?a instanceof O?a.left>=this.left&&a.right<=this.rig", |
+ "ht&&a.top>=this.top&&a.bottom<=this.bottom:a.x>=this.left&&a.x<=this.ri", |
+ "ght&&a.y>=this.top&&a.y<=this.bottom:!1};\nO.prototype.ceil=function(){", |
+ "this.top=Math.ceil(this.top);this.right=Math.ceil(this.right);this.bott", |
+ "om=Math.ceil(this.bottom);this.left=Math.ceil(this.left);return this};O", |
+ ".prototype.floor=function(){this.top=Math.floor(this.top);this.right=Ma", |
+ "th.floor(this.right);this.bottom=Math.floor(this.bottom);this.left=Math", |
+ ".floor(this.left);return this};\nO.prototype.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};functi", |
+ "on P(a,b,c,d){this.left=a;this.top=b;this.width=c;this.height=d}P.proto", |
+ "type.toString=function(){return\"(\"+this.left+\", \"+this.top+\" - \"+", |
+ "this.width+\"w x \"+this.height+\"h)\"};P.prototype.contains=function(a", |
+ "){return a instanceof P?this.left<=a.left&&this.left+this.width>=a.left", |
+ "+a.width&&this.top<=a.top&&this.top+this.height>=a.top+a.height:a.x>=th", |
+ "is.left&&a.x<=this.left+this.width&&a.y>=this.top&&a.y<=this.top+this.h", |
+ "eight};\nP.prototype.ceil=function(){this.left=Math.ceil(this.left);thi", |
+ "s.top=Math.ceil(this.top);this.width=Math.ceil(this.width);this.height=", |
+ "Math.ceil(this.height);return this};P.prototype.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};\nP", |
+ ".prototype.round=function(){this.left=Math.round(this.left);this.top=Ma", |
+ "th.round(this.top);this.width=Math.round(this.width);this.height=Math.r", |
+ "ound(this.height);return this};function R(a,b){return!!a&&1==a.nodeType", |
+ "&&(!b||a.tagName.toUpperCase()==b)}function S(a){for(a=a.parentNode;a&&", |
+ "1!=a.nodeType&&9!=a.nodeType&&11!=a.nodeType;)a=a.parentNode;return R(a", |
+ ")?a:null}\nfunction T(a,b){var c=ba(b);if(\"float\"==c||\"cssFloat\"==c", |
+ "||\"styleFloat\"==c)c=\"cssFloat\";var d;a:{d=c;var e=A(a);if(e.default", |
+ "View&&e.defaultView.getComputedStyle&&(e=e.defaultView.getComputedStyle", |
+ "(a,null))){d=e[d]||e.getPropertyValue(d)||\"\";break a}d=\"\"}d=d||va(a", |
+ ",c);if(null===d)d=null;else if(0<=n(ha,c)){b:{var f=d.match(la);if(f){v", |
+ "ar c=Number(f[1]),e=Number(f[2]),h=Number(f[3]),f=Number(f[4]);if(0<=c&", |
+ "&255>=c&&0<=e&&255>=e&&0<=h&&255>=h&&0<=f&&1>=f){c=[c,e,h,f];break b}}c", |
+ "=null}if(!c){b:{if(h=d.match(ma))if(c=\nNumber(h[1]),e=Number(h[2]),h=N", |
+ "umber(h[3]),0<=c&&255>=c&&0<=e&&255>=e&&0<=h&&255>=h){c=[c,e,h,1];break", |
+ " b}c=null}if(!c)b:{c=d.toLowerCase();e=ga[c.toLowerCase()];if(!e&&(e=\"", |
+ "#\"==c.charAt(0)?c:\"#\"+c,4==e.length&&(e=e.replace(ja,\"#$1$1$2$2$3$3", |
+ "\")),!ka.test(e))){c=null;break b}c=[parseInt(e.substr(1,2),16),parseIn", |
+ "t(e.substr(3,2),16),parseInt(e.substr(5,2),16),1]}}d=c?\"rgba(\"+c.join", |
+ "(\", \")+\")\":d}return d}\nfunction va(a,b){var c=a.currentStyle||a.st", |
+ "yle,d=c[b];void 0===d&&\"function\"==aa(c.getPropertyValue)&&(d=c.getPr", |
+ "opertyValue(b));return\"inherit\"!=d?void 0!==d?d:null:(c=S(a))?va(c,b)", |
+ ":null}\nfunction U(a,b){function c(a){if(\"none\"==T(a,\"display\"))ret", |
+ "urn!1;a=S(a);return!a||c(a)}function d(a){var b=V(a);return 0<b.height&", |
+ "&0<b.width?!0:R(a,\"PATH\")&&(0<b.height||0<b.width)?(a=T(a,\"stroke-wi", |
+ "dth\"),!!a&&0<parseInt(a,10)):\"hidden\"!=T(a,\"overflow\")&&da(a.child", |
+ "Nodes,function(a){return 3==a.nodeType||R(a)&&d(a)})}function e(a){retu", |
+ "rn W(a)==X&&ea(a.childNodes,function(a){return!R(a)||e(a)})}if(!R(a))th", |
+ "row Error(\"Argument to isShown must be of type Element\");if(R(a,\"BOD", |
+ "Y\"))return!0;if(R(a,\"OPTION\")||\nR(a,\"OPTGROUP\")){var f=oa(a,funct", |
+ "ion(a){return R(a,\"SELECT\")});return!!f&&U(f,!0)}return(f=wa(a))?!!f.", |
+ "k&&0<f.rect.width&&0<f.rect.height&&U(f.k,b):R(a,\"INPUT\")&&\"hidden\"", |
+ "==a.type.toLowerCase()||R(a,\"NOSCRIPT\")||\"hidden\"==T(a,\"visibility", |
+ "\")||!c(a)||!b&&0==xa(a)||!d(a)?!1:!e(a)}var X=\"hidden\";\nfunction W(", |
+ "a){function b(a){function b(a){return a==h?!0:0==T(a,\"display\").lastI", |
+ "ndexOf(\"inline\",0)||\"absolute\"==c&&\"static\"==T(a,\"position\")?!1", |
+ ":!0}var c=T(a,\"position\");if(\"fixed\"==c)return ia=!0,a==h?null:h;fo", |
+ "r(a=S(a);a&&!b(a);)a=S(a);return a}function c(a){var b=a;if(\"visible\"", |
+ "==Aa)if(a==h&&Q)b=Q;else if(a==Q)return{x:\"visible\",y:\"visible\"};b=", |
+ "{x:T(b,\"overflow-x\"),y:T(b,\"overflow-y\")};a==h&&(b.x=\"visible\"==b", |
+ ".x?\"auto\":b.x,b.y=\"visible\"==b.y?\"auto\":b.y);return b}function d(", |
+ "a){if(a==h){var b=(new B(f)).q;\na=b.body||b.documentElement;b=b.parent", |
+ "Window||b.defaultView;a=new u(b.pageXOffset||a.scrollLeft,b.pageYOffset", |
+ "||a.scrollTop)}else a=new u(a.scrollLeft,a.scrollTop);return a}var e=ya", |
+ "(a),f=A(a),h=f.documentElement,Q=f.body,Aa=T(h,\"overflow\"),ia;for(a=b", |
+ "(a);a;a=b(a)){var m=c(a);if(\"visible\"!=m.x||\"visible\"!=m.y){var q=V", |
+ "(a);if(0==q.width||0==q.height)return X;var w=e.right<q.left,L=e.bottom", |
+ "<q.top;if(w&&\"hidden\"==m.x||L&&\"hidden\"==m.y)return X;if(w&&\"visib", |
+ "le\"!=m.x||L&&\"visible\"!=m.y){w=d(a);L=e.bottom<q.top-\nw.y;if(e.righ", |
+ "t<q.left-w.x&&\"visible\"!=m.x||L&&\"visible\"!=m.x)return X;e=W(a);ret", |
+ "urn e==X?X:\"scroll\"}w=e.left>=q.left+q.width;q=e.top>=q.top+q.height;", |
+ "if(w&&\"hidden\"==m.x||q&&\"hidden\"==m.y)return X;if(w&&\"visible\"!=m", |
+ ".x||q&&\"visible\"!=m.y){if(ia&&(m=d(a),e.left>=h.scrollWidth-m.x||e.ri", |
+ "ght>=h.scrollHeight-m.y))return X;e=W(a);return e==X?X:\"scroll\"}}}ret", |
+ "urn\"none\"}\nfunction V(a){var b=wa(a);if(b)return b.rect;if(R(a,\"HTM", |
+ "L\"))return a=A(a),a=((a?a.parentWindow||a.defaultView:window)||window)", |
+ ".document,a=\"CSS1Compat\"==a.compatMode?a.documentElement:a.body,a=new", |
+ " v(a.clientWidth,a.clientHeight),new P(0,0,a.width,a.height);var c;try{", |
+ "c=a.getBoundingClientRect()}catch(d){return new P(0,0,0,0)}return new P", |
+ "(c.left,c.top,c.right-c.left,c.bottom-c.top)}\nfunction wa(a){var b=R(a", |
+ ",\"MAP\");if(!b&&!R(a,\"AREA\"))return null;var c=b?a:R(a.parentNode,\"", |
+ "MAP\")?a.parentNode:null,d=null,e=null;if(c&&c.name&&(d=N.s('/descendan", |
+ "t::*[@usemap = \"#'+c.name+'\"]',A(c)))&&(e=V(d),!b&&\"default\"!=a.sha", |
+ "pe.toLowerCase())){var f=za(a);a=Math.min(Math.max(f.left,0),e.width);b", |
+ "=Math.min(Math.max(f.top,0),e.height);c=Math.min(f.width,e.width-a);f=M", |
+ "ath.min(f.height,e.height-b);e=new P(a+e.left,b+e.top,c,f)}return{k:d,r", |
+ "ect:e||new P(0,0,0,0)}}\nfunction za(a){var b=a.shape.toLowerCase();a=a", |
+ ".coords.split(\",\");if(\"rect\"==b&&4==a.length){var b=a[0],c=a[1];ret", |
+ "urn new P(b,c,a[2]-b,a[3]-c)}if(\"circle\"==b&&3==a.length)return b=a[2", |
+ "],new P(a[0]-b,a[1]-b,2*b,2*b);if(\"poly\"==b&&2<a.length){for(var b=a[", |
+ "0],c=a[1],d=b,e=c,f=2;f+1<a.length;f+=2)b=Math.min(b,a[f]),d=Math.max(d", |
+ ",a[f]),c=Math.min(c,a[f+1]),e=Math.max(e,a[f+1]);return new P(b,c,d-b,e", |
+ "-c)}return new P(0,0,0,0)}function ya(a){a=V(a);return new O(a.top,a.le", |
+ "ft+a.width,a.top+a.height,a.left)}\nfunction xa(a){var b=1,c=T(a,\"opac", |
+ "ity\");c&&(b=Number(c));(a=S(a))&&(b*=xa(a));return b};var Ba=\"functio", |
+ "n\"===typeof ShadowRoot;function Ca(a,b){if(!U(a,b))return!1;if(Ba){for", |
+ "(var c=a;c.parentNode;)c=c.parentNode;var d=c.host;if(c instanceof Shad", |
+ "owRoot)return Ca(d)}return!0};var Da=Ca,Y=[\"_\"],Z=g;Y[0]in Z||!Z.exec", |
+ "Script||Z.execScript(\"var \"+Y[0]);for(var $;Y.length&&($=Y.shift());)", |
+ "Y.length||void 0===Da?Z=Z[$]?Z[$]:Z[$]={}:Z[$]=Da;; return this._.apply", |
+ "(null,arguments);}.apply({navigator:typeof window!=undefined?window.nav", |
+ "igator:null,document:typeof window!=undefined?window.document:null}, ar", |
+ "guments);}", |
NULL |
}; |