OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2011-2014 Software Freedom Conservancy | 2 * Copyright 2011-2014 Software Freedom Conservancy |
3 * | 3 * |
4 * Licensed under the Apache License, Version 2.0 (the "License"); | 4 * Licensed under the Apache License, Version 2.0 (the "License"); |
5 * you may not use this file except in compliance with the License. | 5 * you may not use this file except in compliance with the License. |
6 * You may obtain a copy of the License at | 6 * You may obtain a copy of the License at |
7 * | 7 * |
8 * http://www.apache.org/licenses/LICENSE-2.0 | 8 * http://www.apache.org/licenses/LICENSE-2.0 |
9 * | 9 * |
10 * Unless required by applicable law or agreed to in writing, software | 10 * Unless required by applicable law or agreed to in writing, software |
(...skipping 816 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
827 "\"`\",\"~\");U(219,\"[\",\"{\");U(220,\"\\\\\",\"|\");U(221,\"]\",\"}\"", | 827 "\"`\",\"~\");U(219,\"[\",\"{\");U(220,\"\\\\\",\"|\");U(221,\"]\",\"}\"", |
828 ");U({b:59,a:186,opera:59},\";\",\":\");U(222,\"'\",'\"');var V=new T;V.", | 828 ");U({b:59,a:186,opera:59},\";\",\":\");U(222,\"'\",'\"');var V=new T;V.", |
829 "set(1,Cb);V.set(2,Db);V.set(4,Eb);V.set(8,Fb);(function(a){var c=new T;", | 829 "set(1,Cb);V.set(2,Db);V.set(4,Eb);V.set(8,Fb);(function(a){var c=new T;", |
830 "l(yb(a),function(b){c.set(a.get(b).code,b)});return c})(V);function Gb(", | 830 "l(yb(a),function(b){c.set(a.get(b).code,b)});return c})(V);function Gb(", |
831 "a,c,b){ib.call(this,c,b);this.p=this.g=null;this.m=new u(0,0);this.w=th", | 831 "a,c,b){ib.call(this,c,b);this.p=this.g=null;this.m=new u(0,0);this.w=th", |
832 "is.o=!1;if(a){\"number\"==typeof a.buttonPressed&&(this.g=a.buttonPress", | 832 "is.o=!1;if(a){\"number\"==typeof a.buttonPressed&&(this.g=a.buttonPress", |
833 "ed);try{J(a.elementPressed)&&(this.p=a.elementPressed)}catch(d){this.g=", | 833 "ed);try{J(a.elementPressed)&&(this.p=a.elementPressed)}catch(d){this.g=", |
834 "null}this.m=new u(a.clientXY.x,a.clientXY.y);this.o=!!a.nextClickIsDoub", | 834 "null}this.m=new u(a.clientXY.x,a.clientXY.y);this.o=!!a.nextClickIsDoub", |
835 "leClick;this.w=!!a.hasEverInteracted;try{a.element&&J(a.element)&&jb(th", | 835 "leClick;this.w=!!a.hasEverInteracted;try{a.element&&J(a.element)&&jb(th", |
836 "is,a.element)}catch(e){this.g=null}}}ba(Gb,ib);var W={};W[Q]=[0,1,2,nul", | 836 "is,a.element)}catch(e){this.g=null}}}ba(Gb,ib);var W={};W[Q]=[0,1,2,nul", |
837 "l];W[vb]=[null,null,2,null];W[qb]=[0,1,2,null];W[nb]=[0,1,2,4];\nW[xb]=", | 837 "l];W[vb]=[null,null,2,null];W[qb]=[0,1,2,null];W[nb]=[0,1,2,0];\nW[xb]=", |
838 "[0,1,2,4];W[wb]=W[Q];W[ob]=W[qb];W[mb]=W[nb];Gb.prototype.move=function", | 838 "[0,1,2,0];W[wb]=W[Q];W[ob]=W[qb];W[mb]=W[nb];Gb.prototype.move=function", |
839 "(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.", | 839 "(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.", |
840 "i();if(a!=d){try{Ca(w(d)).closed&&(d=null)}catch(e){d=null}if(d){var g=", | 840 "i();if(a!=d){try{Ca(w(d)).closed&&(d=null)}catch(e){d=null}if(d){var g=", |
841 "d===ca.document.documentElement||d===ca.document.body,d=!this.w&&g?null", | 841 "d===ca.document.documentElement||d===ca.document.body,d=!this.w&&g?null", |
842 ":d;X(this,nb,a)}jb(this,a);X(this,mb,d,null,b)}X(this,xb,null,null,b);t", | 842 ":d;X(this,nb,a)}jb(this,a);X(this,mb,d,null,b)}X(this,xb,null,null,b);t", |
843 "his.o=!1};function X(a,c,b,d,e){a.w=!0;return a.r(c,a.m,Hb(a,c),b,d,e)}", | 843 "his.o=!1};function X(a,c,b,d,e){a.w=!0;return a.r(c,a.m,Hb(a,c),b,d,e)}", |
844 "\nfunction Hb(a,c){if(!(c in W))return 0;var b=W[c][null===a.g?3:a.g];i", | 844 "\nfunction Hb(a,c){if(!(c in W))return 0;var b=W[c][null===a.g?3:a.g];i", |
845 "f(null===b)throw new p(13,\"Event does not permit the specified mouse b", | 845 "f(null===b)throw new p(13,\"Event does not permit the specified mouse b", |
846 "utton.\");return b};function Ib(a,c){this.x=a;this.y=c}ba(Ib,u);Ib.prot", | 846 "utton.\");return b};function Ib(a,c){this.x=a;this.y=c}ba(Ib,u);Ib.prot", |
847 "otype.add=function(a){this.x+=a.x;this.y+=a.y;return this};function Jb(", | 847 "otype.add=function(a){this.x+=a.x;this.y+=a.y;return this};function Jb(", |
848 "a){var c;(c=I(a,\"display\"))||(c=(a.currentStyle?a.currentStyle.displa", | 848 "a){var c;(c=I(a,\"display\"))||(c=(a.currentStyle?a.currentStyle.displa", |
(...skipping 243 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1092 "=d.openDatabase(a,\"\",a+\"name\",5242880)}catch(v){throw new e(13,v.me", | 1092 "=d.openDatabase(a,\"\",a+\"name\",5242880)}catch(v){throw new e(13,v.me", |
1093 "ssage);}p.transaction(function(a){a.executeSql(b,c,u,t)},m,s)}var n=[\"", | 1093 "ssage);}p.transaction(function(a){a.executeSql(b,c,u,t)},m,s)}var n=[\"", |
1094 "_\"],q=this;n[0]in q||!q.execScript||q.execScript(\"var \"+n[0]);for(va", | 1094 "_\"],q=this;n[0]in q||!q.execScript||q.execScript(\"var \"+n[0]);for(va", |
1095 "r r;n.length&&(r=n.shift());)n.length||void 0===l?q=q[r]?q[r]:q[r]={}:q", | 1095 "r r;n.length&&(r=n.shift());)n.length||void 0===l?q=q[r]?q[r]:q[r]={}:q", |
1096 "[r]=l;; return this._.apply(null,arguments);}.apply({navigator:typeof w", | 1096 "[r]=l;; return this._.apply(null,arguments);}.apply({navigator:typeof w", |
1097 "indow!=undefined?window.navigator:null,document:typeof window!=undefine", | 1097 "indow!=undefined?window.navigator:null,document:typeof window!=undefine", |
1098 "d?window.document:null}, arguments);}", | 1098 "d?window.document:null}, arguments);}", |
1099 NULL | 1099 NULL |
1100 }; | 1100 }; |
1101 | 1101 |
1102 const char* const FIND_ELEMENT[] = { | |
1103 "function(){return function(){var aa=this;\nfunction ba(a){var b=typeof ", | |
1104 "a;if(\"object\"==b)if(a){if(a instanceof Array)return\"array\";if(a ins", | |
1105 "tanceof Object)return b;var c=Object.prototype.toString.call(a);if(\"[o", | |
1106 "bject Window]\"==c)return\"object\";if(\"[object Array]\"==c||\"number", | |
1107 "\"==typeof a.length&&\"undefined\"!=typeof a.splice&&\"undefined\"!=typ", | |
1108 "eof a.propertyIsEnumerable&&!a.propertyIsEnumerable(\"splice\"))return", | |
1109 "\"array\";if(\"[object Function]\"==c||\"undefined\"!=typeof a.call&&\"", | |
1110 "undefined\"!=typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable(\"c", | |
1111 "all\"))return\"function\"}else return\"null\";else if(\"function\"==\nb", | |
1112 "&&\"undefined\"==typeof a.call)return\"object\";return b}function h(a){", | |
1113 "return\"string\"==typeof a}function k(a){return\"function\"==ba(a)};var", | |
1114 " ca=window;function l(a,b){this.code=a;this.state=da[a]||ea;this.messag", | |
1115 "e=b||\"\";var c=this.state.replace(/((?:^|\\s+)[a-z])/g,function(a){ret", | |
1116 "urn a.toUpperCase().replace(/^[\\s\\xa0]+/g,\"\")}),d=c.length-5;if(0>d", | |
1117 "||c.indexOf(\"Error\",d)!=d)c+=\"Error\";this.name=c;c=Error(this.messa", | |
1118 "ge);c.name=this.name;this.stack=c.stack||\"\"}(function(){var a=Error;f", | |
1119 "unction b(){}b.prototype=a.prototype;l.D=a.prototype;l.prototype=new b;", | |
1120 "l.A=function(b,d,e){return a.prototype[d].apply(b,Array.prototype.slice", | |
1121 ".call(arguments,2))}})();\nvar ea=\"unknown error\",da={15:\"element no", | |
1122 "t selectable\",11:\"element not visible\",31:\"ime engine activation fa", | |
1123 "iled\",30:\"ime not available\",24:\"invalid cookie domain\",29:\"inval", | |
1124 "id element coordinates\",12:\"invalid element state\",32:\"invalid sele", | |
1125 "ctor\",51:\"invalid selector\",52:\"invalid selector\",17:\"javascript ", | |
1126 "error\",405:\"unsupported operation\",34:\"move target out of bounds\",", | |
1127 "27:\"no such alert\",7:\"no such element\",8:\"no such frame\",23:\"no ", | |
1128 "such window\",28:\"script timeout\",33:\"session not created\",10:\"sta", | |
1129 "le element reference\",\n0:\"success\",21:\"timeout\",25:\"unable to se", | |
1130 "t cookie\",26:\"unexpected alert open\"};da[13]=ea;da[9]=\"unknown comm", | |
1131 "and\";l.prototype.toString=function(){return this.name+\": \"+this.mess", | |
1132 "age};var fa;function ga(a){var b=a.length-1;return 0<=b&&a.indexOf(\" ", | |
1133 "\",b)==b}function m(a){return a.replace(/^[\\s\\xa0]+|[\\s\\xa0]+$/g,\"", | |
1134 "\")}function ha(a){return String(a).replace(/\\-([a-z])/g,function(a,c)", | |
1135 "{return c.toUpperCase()})};var ia=Array.prototype;function n(a,b){for(v", | |
1136 "ar c=a.length,d=h(a)?a.split(\"\"):a,e=0;e<c;e++)e in d&&b.call(void 0,", | |
1137 "d[e],e,a)}function ja(a,b){for(var c=a.length,d=[],e=0,f=h(a)?a.split(", | |
1138 "\"\"):a,g=0;g<c;g++)if(g in f){var y=f[g];b.call(void 0,y,g,a)&&(d[e++]", | |
1139 "=y)}return d}function ka(a,b){var c=\"\";n(a,function(d,e){c=b.call(voi", | |
1140 "d 0,c,d,e,a)});return c}function la(a,b){for(var c=a.length,d=h(a)?a.sp", | |
1141 "lit(\"\"):a,e=0;e<c;e++)if(e in d&&b.call(void 0,d[e],e,a))return!0;ret", | |
1142 "urn!1}\nfunction ma(a,b){for(var c=a.length,d=h(a)?a.split(\"\"):a,e=0;", | |
1143 "e<c;e++)if(e in d&&!b.call(void 0,d[e],e,a))return!1;return!0}function ", | |
1144 "na(a,b){var c;a:{c=a.length;for(var d=h(a)?a.split(\"\"):a,e=0;e<c;e++)", | |
1145 "if(e in d&&b.call(void 0,d[e],e,a)){c=e;break a}c=-1}return 0>c?null:h(", | |
1146 "a)?a.charAt(c):a[c]}function q(a,b){var c;a:if(h(a))c=h(b)&&1==b.length", | |
1147 "?a.indexOf(b,0):-1;else{for(c=0;c<a.length;c++)if(c in a&&a[c]===b)brea", | |
1148 "k a;c=-1}return 0<=c}\nfunction oa(a,b,c){return 2>=arguments.length?ia", | |
1149 ".slice.call(a,b):ia.slice.call(a,b,c)};function r(a,b){this.x=void 0!==", | |
1150 "a?a:0;this.y=void 0!==b?b:0}r.prototype.toString=function(){return\"(\"", | |
1151 "+this.x+\", \"+this.y+\")\"};r.prototype.ceil=function(){this.x=Math.ce", | |
1152 "il(this.x);this.y=Math.ceil(this.y);return this};r.prototype.floor=func", | |
1153 "tion(){this.x=Math.floor(this.x);this.y=Math.floor(this.y);return this}", | |
1154 ";r.prototype.round=function(){this.x=Math.round(this.x);this.y=Math.rou", | |
1155 "nd(this.y);return this};function t(a,b){this.width=a;this.height=b}t.pr", | |
1156 "ototype.toString=function(){return\"(\"+this.width+\" x \"+this.height+", | |
1157 "\")\"};t.prototype.ceil=function(){this.width=Math.ceil(this.width);thi", | |
1158 "s.height=Math.ceil(this.height);return this};t.prototype.floor=function", | |
1159 "(){this.width=Math.floor(this.width);this.height=Math.floor(this.height", | |
1160 ");return this};t.prototype.round=function(){this.width=Math.round(this.", | |
1161 "width);this.height=Math.round(this.height);return this};function u(a){r", | |
1162 "eturn a?new v(w(a)):fa||(fa=new v)}function pa(a){for(;a&&1!=a.nodeType", | |
1163 ";)a=a.previousSibling;return a}function x(a,b){if(a.contains&&1==b.node", | |
1164 "Type)return a==b||a.contains(b);if(\"undefined\"!=typeof a.compareDocum", | |
1165 "entPosition)return a==b||Boolean(a.compareDocumentPosition(b)&16);for(;", | |
1166 "b&&a!=b;)b=b.parentNode;return b==a}\nfunction qa(a,b){if(a==b)return 0", | |
1167 ";if(a.compareDocumentPosition)return a.compareDocumentPosition(b)&2?1:-", | |
1168 "1;if(\"sourceIndex\"in a||a.parentNode&&\"sourceIndex\"in a.parentNode)", | |
1169 "{var c=1==a.nodeType,d=1==b.nodeType;if(c&&d)return a.sourceIndex-b.sou", | |
1170 "rceIndex;var e=a.parentNode,f=b.parentNode;return e==f?ra(a,b):!c&&x(e,", | |
1171 "b)?-1*sa(a,b):!d&&x(f,a)?sa(b,a):(c?a.sourceIndex:e.sourceIndex)-(d?b.s", | |
1172 "ourceIndex:f.sourceIndex)}d=w(a);c=d.createRange();c.selectNode(a);c.co", | |
1173 "llapse(!0);d=d.createRange();d.selectNode(b);d.collapse(!0);\nreturn c.", | |
1174 "compareBoundaryPoints(aa.Range.START_TO_END,d)}function sa(a,b){var c=a", | |
1175 ".parentNode;if(c==b)return-1;for(var d=b;d.parentNode!=c;)d=d.parentNod", | |
1176 "e;return ra(d,a)}function ra(a,b){for(var c=b;c=c.previousSibling;)if(c", | |
1177 "==a)return-1;return 1}function w(a){return 9==a.nodeType?a:a.ownerDocum", | |
1178 "ent||a.document}function ta(a,b){a=a.parentNode;for(var c=0;a;){if(b(a)", | |
1179 ")return a;a=a.parentNode;c++}return null}function v(a){this.j=a||aa.doc", | |
1180 "ument||document}\nfunction z(a,b,c,d){a=d||a.j;b=b&&\"*\"!=b?b.toUpperC", | |
1181 "ase():\"\";if(a.querySelectorAll&&a.querySelector&&(b||c))c=a.querySele", | |
1182 "ctorAll(b+(c?\".\"+c:\"\"));else if(c&&a.getElementsByClassName)if(a=a.", | |
1183 "getElementsByClassName(c),b){d={};for(var e=0,f=0,g;g=a[f];f++)b==g.nod", | |
1184 "eName&&(d[e++]=g);d.length=e;c=d}else c=a;else if(a=a.getElementsByTagN", | |
1185 "ame(b||\"*\"),c){d={};for(f=e=0;g=a[f];f++)b=g.className,\"function\"==", | |
1186 "typeof b.split&&q(b.split(/\\s+/),c)&&(d[e++]=g);d.length=e;c=d}else c=", | |
1187 "a;return c}v.prototype.contains=x;var A={l:function(a){return!(!a.query", | |
1188 "SelectorAll||!a.querySelector)},c:function(a,b){if(!a)throw new l(32,\"", | |
1189 "No class name specified\");a=m(a);if(-1!==a.indexOf(\" \"))throw new l(", | |
1190 "32,\"Compound class names not permitted\");if(A.l(b))try{return b.query", | |
1191 "Selector(\".\"+a.replace(/\\./g,\"\\\\.\"))||null}catch(c){throw new l(", | |
1192 "32,\"An invalid or illegal class name was specified\");}var d=z(u(b),\"", | |
1193 "*\",a,b);return d.length?d[0]:null},d:function(a,b){if(!a)throw new l(3", | |
1194 "2,\"No class name specified\");a=m(a);if(-1!==a.indexOf(\" \"))throw ne", | |
1195 "w l(32,\n\"Compound class names not permitted\");if(A.l(b))try{return b", | |
1196 ".querySelectorAll(\".\"+a.replace(/\\./g,\"\\\\.\"))}catch(c){throw new", | |
1197 " l(32,\"An invalid or illegal class name was specified\");}return z(u(b", | |
1198 "),\"*\",a,b)}};var B={c:function(a,b){k(b.querySelector);if(!a)throw ne", | |
1199 "w l(32,\"No selector specified\");a=m(a);var c;try{c=b.querySelector(a)", | |
1200 "}catch(d){throw new l(32,\"An invalid or illegal selector was specified", | |
1201 "\");}return c&&1==c.nodeType?c:null},d:function(a,b){k(b.querySelectorA", | |
1202 "ll);if(!a)throw new l(32,\"No selector specified\");a=m(a);try{return b", | |
1203 ".querySelectorAll(a)}catch(c){throw new l(32,\"An invalid or illegal se", | |
1204 "lector was specified\");}}};var ua={aliceblue:\"#f0f8ff\",antiquewhite:", | |
1205 "\"#faebd7\",aqua:\"#00ffff\",aquamarine:\"#7fffd4\",azure:\"#f0ffff\",b", | |
1206 "eige:\"#f5f5dc\",bisque:\"#ffe4c4\",black:\"#000000\",blanchedalmond:\"", | |
1207 "#ffebcd\",blue:\"#0000ff\",blueviolet:\"#8a2be2\",brown:\"#a52a2a\",bur", | |
1208 "lywood:\"#deb887\",cadetblue:\"#5f9ea0\",chartreuse:\"#7fff00\",chocola", | |
1209 "te:\"#d2691e\",coral:\"#ff7f50\",cornflowerblue:\"#6495ed\",cornsilk:\"", | |
1210 "#fff8dc\",crimson:\"#dc143c\",cyan:\"#00ffff\",darkblue:\"#00008b\",dar", | |
1211 "kcyan:\"#008b8b\",darkgoldenrod:\"#b8860b\",darkgray:\"#a9a9a9\",darkgr", | |
1212 "een:\"#006400\",\ndarkgrey:\"#a9a9a9\",darkkhaki:\"#bdb76b\",darkmagent", | |
1213 "a:\"#8b008b\",darkolivegreen:\"#556b2f\",darkorange:\"#ff8c00\",darkorc", | |
1214 "hid:\"#9932cc\",darkred:\"#8b0000\",darksalmon:\"#e9967a\",darkseagreen", | |
1215 ":\"#8fbc8f\",darkslateblue:\"#483d8b\",darkslategray:\"#2f4f4f\",darksl", | |
1216 "ategrey:\"#2f4f4f\",darkturquoise:\"#00ced1\",darkviolet:\"#9400d3\",de", | |
1217 "eppink:\"#ff1493\",deepskyblue:\"#00bfff\",dimgray:\"#696969\",dimgrey:", | |
1218 "\"#696969\",dodgerblue:\"#1e90ff\",firebrick:\"#b22222\",floralwhite:\"", | |
1219 "#fffaf0\",forestgreen:\"#228b22\",fuchsia:\"#ff00ff\",gainsboro:\"#dcdc", | |
1220 "dc\",\nghostwhite:\"#f8f8ff\",gold:\"#ffd700\",goldenrod:\"#daa520\",gr", | |
1221 "ay:\"#808080\",green:\"#008000\",greenyellow:\"#adff2f\",grey:\"#808080", | |
1222 "\",honeydew:\"#f0fff0\",hotpink:\"#ff69b4\",indianred:\"#cd5c5c\",indig", | |
1223 "o:\"#4b0082\",ivory:\"#fffff0\",khaki:\"#f0e68c\",lavender:\"#e6e6fa\",", | |
1224 "lavenderblush:\"#fff0f5\",lawngreen:\"#7cfc00\",lemonchiffon:\"#fffacd", | |
1225 "\",lightblue:\"#add8e6\",lightcoral:\"#f08080\",lightcyan:\"#e0ffff\",l", | |
1226 "ightgoldenrodyellow:\"#fafad2\",lightgray:\"#d3d3d3\",lightgreen:\"#90e", | |
1227 "e90\",lightgrey:\"#d3d3d3\",lightpink:\"#ffb6c1\",lightsalmon:\"#ffa07a", | |
1228 "\",\nlightseagreen:\"#20b2aa\",lightskyblue:\"#87cefa\",lightslategray:", | |
1229 "\"#778899\",lightslategrey:\"#778899\",lightsteelblue:\"#b0c4de\",light", | |
1230 "yellow:\"#ffffe0\",lime:\"#00ff00\",limegreen:\"#32cd32\",linen:\"#faf0", | |
1231 "e6\",magenta:\"#ff00ff\",maroon:\"#800000\",mediumaquamarine:\"#66cdaa", | |
1232 "\",mediumblue:\"#0000cd\",mediumorchid:\"#ba55d3\",mediumpurple:\"#9370", | |
1233 "db\",mediumseagreen:\"#3cb371\",mediumslateblue:\"#7b68ee\",mediumsprin", | |
1234 "ggreen:\"#00fa9a\",mediumturquoise:\"#48d1cc\",mediumvioletred:\"#c7158", | |
1235 "5\",midnightblue:\"#191970\",mintcream:\"#f5fffa\",mistyrose:\"#ffe4e1", | |
1236 "\",\nmoccasin:\"#ffe4b5\",navajowhite:\"#ffdead\",navy:\"#000080\",oldl", | |
1237 "ace:\"#fdf5e6\",olive:\"#808000\",olivedrab:\"#6b8e23\",orange:\"#ffa50", | |
1238 "0\",orangered:\"#ff4500\",orchid:\"#da70d6\",palegoldenrod:\"#eee8aa\",", | |
1239 "palegreen:\"#98fb98\",paleturquoise:\"#afeeee\",palevioletred:\"#db7093", | |
1240 "\",papayawhip:\"#ffefd5\",peachpuff:\"#ffdab9\",peru:\"#cd853f\",pink:", | |
1241 "\"#ffc0cb\",plum:\"#dda0dd\",powderblue:\"#b0e0e6\",purple:\"#800080\",", | |
1242 "red:\"#ff0000\",rosybrown:\"#bc8f8f\",royalblue:\"#4169e1\",saddlebrown", | |
1243 ":\"#8b4513\",salmon:\"#fa8072\",sandybrown:\"#f4a460\",seagreen:\"#2e8b", | |
1244 "57\",\nseashell:\"#fff5ee\",sienna:\"#a0522d\",silver:\"#c0c0c0\",skybl", | |
1245 "ue:\"#87ceeb\",slateblue:\"#6a5acd\",slategray:\"#708090\",slategrey:\"", | |
1246 "#708090\",snow:\"#fffafa\",springgreen:\"#00ff7f\",steelblue:\"#4682b4", | |
1247 "\",tan:\"#d2b48c\",teal:\"#008080\",thistle:\"#d8bfd8\",tomato:\"#ff634", | |
1248 "7\",turquoise:\"#40e0d0\",violet:\"#ee82ee\",wheat:\"#f5deb3\",white:\"", | |
1249 "#ffffff\",whitesmoke:\"#f5f5f5\",yellow:\"#ffff00\",yellowgreen:\"#9acd", | |
1250 "32\"};var va=\"backgroundColor borderTopColor borderRightColor borderBo", | |
1251 "ttomColor borderLeftColor color outlineColor\".split(\" \"),wa=/#([0-9a", | |
1252 "-fA-F])([0-9a-fA-F])([0-9a-fA-F])/,xa=/^#(?:[0-9a-f]{3}){1,2}$/i,ya=/^(", | |
1253 "?:rgba)?\\((\\d{1,3}),\\s?(\\d{1,3}),\\s?(\\d{1,3}),\\s?(0|1|0\\.\\d*)", | |
1254 "\\)$/i,za=/^(?:rgb)?\\((0|[1-9]\\d{0,2}),\\s?(0|[1-9]\\d{0,2}),\\s?(0|[", | |
1255 "1-9]\\d{0,2})\\)$/i;function D(a){var b=null,c=a.nodeType;1==c&&(b=a.te", | |
1256 "xtContent,b=void 0==b||null==b?a.innerText:b,b=void 0==b||null==b?\"\":", | |
1257 "b);if(\"string\"!=typeof b)if(9==c||1==c){a=9==c?a.documentElement:a.fi", | |
1258 "rstChild;for(var c=0,d=[],b=\"\";a;){do 1!=a.nodeType&&(b+=a.nodeValue)", | |
1259 ",d[c++]=a;while(a=a.firstChild);for(;c&&!(a=d[--c].nextSibling););}}els", | |
1260 "e b=a.nodeValue;return\"\"+b};function E(){this.g=this.i=null;this.p=0}", | |
1261 "function Aa(a){this.r=a;this.next=this.s=null}E.prototype.add=function(", | |
1262 "a){a=new Aa(a);a.s=this.g;this.i?this.g.next=a:this.i=this.g=a;this.g=a", | |
1263 ";this.p++};function Ba(a){return(a=a.i)?a.r:null}function F(a){return n", | |
1264 "ew Ca(a,!1)}function Ca(a,b){this.n=(this.t=b)?a.g:a.i}Ca.prototype.nex", | |
1265 "t=function(){var a=this.n;if(null==a)return null;this.n=this.t?a.s:a.ne", | |
1266 "xt;return a.r};function G(a,b,c,d,e){b=b.evaluate(d);c=c.evaluate(d);va", | |
1267 "r f;if(b instanceof E&&c instanceof E){e=F(b);for(d=e.next();d;d=e.next", | |
1268 "())for(b=F(c),f=b.next();f;f=b.next())if(a(D(d),D(f)))return!0;return!1", | |
1269 "}if(b instanceof E||c instanceof E){b instanceof E?e=b:(e=c,c=b);e=F(e)", | |
1270 ";b=typeof c;for(d=e.next();d;d=e.next()){switch(b){case \"number\":d=+D", | |
1271 "(d);break;case \"boolean\":d=!!D(d);break;case \"string\":d=D(d);break;", | |
1272 "default:throw Error(\"Illegal primitive type for comparison.\");}if(a(d", | |
1273 ",c))return!0}return!1}return e?\n\"boolean\"==typeof b||\"boolean\"==ty", | |
1274 "peof c?a(!!b,!!c):\"number\"==typeof b||\"number\"==typeof c?a(+b,+c):a", | |
1275 "(b,c):a(+b,+c)}function Da(a,b,c,d){this.w=a;this.h=d}Da.prototype.toSt", | |
1276 "ring=function(){return this.w};var Ea={};function H(a,b){if(Ea.hasOwnPr", | |
1277 "operty(a))throw Error(\"Binary operator already created: \"+a);var c=ne", | |
1278 "w Da(a,0,0,b);Ea[c.toString()]=c}H(\"div\",function(a,b,c){return a.b(c", | |
1279 ")/b.b(c)});H(\"mod\",function(a,b,c){return a.b(c)%b.b(c)});H(\"*\",fun", | |
1280 "ction(a,b,c){return a.b(c)*b.b(c)});\nH(\"+\",function(a,b,c){return a.", | |
1281 "b(c)+b.b(c)});H(\"-\",function(a,b,c){return a.b(c)-b.b(c)});H(\"<\",fu", | |
1282 "nction(a,b,c){return G(function(a,b){return a<b},a,b,c)});H(\">\",funct", | |
1283 "ion(a,b,c){return G(function(a,b){return a>b},a,b,c)});H(\"<=\",functio", | |
1284 "n(a,b,c){return G(function(a,b){return a<=b},a,b,c)});H(\">=\",function", | |
1285 "(a,b,c){return G(function(a,b){return a>=b},a,b,c)});H(\"=\",function(a", | |
1286 ",b,c){return G(function(a,b){return a==b},a,b,c,!0)});H(\"!=\",function", | |
1287 "(a,b,c){return G(function(a,b){return a!=b},a,b,c,!0)});\nH(\"and\",fun", | |
1288 "ction(a,b,c){return a.f(c)&&b.f(c)});H(\"or\",function(a,b,c){return a.", | |
1289 "f(c)||b.f(c)});function Fa(a,b,c,d,e,f){this.k=a;this.h=f}Fa.prototype.", | |
1290 "toString=function(){return this.k};var Ga={};function I(a,b){if(Ga.hasO", | |
1291 "wnProperty(a))throw Error(\"Function already created: \"+a+\".\");Ga[a]", | |
1292 "=new Fa(a,0,0,0,0,b)}I(\"boolean\",function(a,b){return b.f(a)});I(\"ce", | |
1293 "iling\",function(a,b){return Math.ceil(b.b(a))});I(\"concat\",function(", | |
1294 "a,b){return ka(oa(arguments,1),function(b,d){return b+d.a(a)})});I(\"co", | |
1295 "ntains\",function(a,b,c){b=b.a(a);a=c.a(a);return-1!=b.indexOf(a)});I(", | |
1296 "\"count\",function(a,b){return b.evaluate(a).p});\nI(\"false\",function", | |
1297 "(){return!1});I(\"floor\",function(a,b){return Math.floor(b.b(a))});I(", | |
1298 "\"id\",function(a,b){var c=a.e(),d=9==c.nodeType?c:c.ownerDocument,c=b.", | |
1299 "a(a).split(/\\s+/),e=[];n(c,function(a){(a=d.getElementById(a))&&!q(e,a", | |
1300 ")&&e.push(a)});e.sort(qa);var f=new E;n(e,function(a){f.add(a)});return", | |
1301 " f});I(\"lang\",function(){return!1});I(\"last\",function(a){if(1!=argu", | |
1302 "ments.length)throw Error(\"Function last expects ()\");return a.B()});", | |
1303 "\nI(\"local-name\",function(a,b){var c=b?Ba(b.evaluate(a)):a.e();return", | |
1304 " c?c.nodeName.toLowerCase():\"\"});I(\"name\",function(a,b){var c=b?Ba(", | |
1305 "b.evaluate(a)):a.e();return c?c.nodeName.toLowerCase():\"\"});I(\"names", | |
1306 "pace-uri\",function(){return\"\"});I(\"normalize-space\",function(a,b){", | |
1307 "return(b?b.a(a):D(a.e())).replace(/[\\s\\xa0]+/g,\" \").replace(/^\\s+|", | |
1308 "\\s+$/g,\"\")});I(\"not\",function(a,b){return!b.f(a)});I(\"number\",fu", | |
1309 "nction(a,b){return b?b.b(a):+D(a.e())});I(\"position\",function(a){retu", | |
1310 "rn a.C()});I(\"round\",function(a,b){return Math.round(b.b(a))});\nI(\"", | |
1311 "starts-with\",function(a,b,c){b=b.a(a);a=c.a(a);return 0==b.lastIndexOf", | |
1312 "(a,0)});I(\"string\",function(a,b){return b?b.a(a):D(a.e())});I(\"strin", | |
1313 "g-length\",function(a,b){return(b?b.a(a):D(a.e())).length});I(\"substri", | |
1314 "ng\",function(a,b,c,d){c=c.b(a);if(isNaN(c)||Infinity==c||-Infinity==c)", | |
1315 "return\"\";d=d?d.b(a):Infinity;if(isNaN(d)||-Infinity===d)return\"\";c=", | |
1316 "Math.round(c)-1;var e=Math.max(c,0);a=b.a(a);if(Infinity==d)return a.su", | |
1317 "bstring(e);b=Math.round(d);return a.substring(e,c+b)});\nI(\"substring-", | |
1318 "after\",function(a,b,c){b=b.a(a);a=c.a(a);c=b.indexOf(a);return-1==c?\"", | |
1319 "\":b.substring(c+a.length)});I(\"substring-before\",function(a,b,c){b=b", | |
1320 ".a(a);a=c.a(a);a=b.indexOf(a);return-1==a?\"\":b.substring(0,a)});I(\"s", | |
1321 "um\",function(a,b){for(var c=F(b.evaluate(a)),d=0,e=c.next();e;e=c.next", | |
1322 "())d+=+D(e);return d});\nI(\"translate\",function(a,b,c,d){b=b.a(a);c=c", | |
1323 ".a(a);var e=d.a(a);a=[];for(d=0;d<c.length;d++){var f=c.charAt(d);f in ", | |
1324 "a||(a[f]=e.charAt(d))}c=\"\";for(d=0;d<b.length;d++)f=b.charAt(d),c+=f ", | |
1325 "in a?a[f]:f;return c});I(\"true\",function(){return!0});function Ha(a,b", | |
1326 ",c){this.k=a;this.t=c}Ha.prototype.toString=function(){return this.k};v", | |
1327 "ar Ia={};function J(a,b){if(Ia.hasOwnProperty(a))throw Error(\"Axis alr", | |
1328 "eady created: \"+a);Ia[a]=new Ha(a,0,b)}J(\"ancestor\",!0);J(\"ancestor", | |
1329 "-or-self\",!0);J(\"attribute\",!1);J(\"child\",!1);J(\"descendant\",!1)", | |
1330 ";J(\"descendant-or-self\",!1);J(\"following\",!1);J(\"following-sibling", | |
1331 "\",!1);J(\"namespace\",!1);J(\"parent\",!1);J(\"preceding\",!0);J(\"pre", | |
1332 "ceding-sibling\",!0);J(\"self\",!1);var K={};K.v=function(){var a={F:\"", | |
1333 "http://www.w3.org/2000/svg\"};return function(b){return a[b]||null}}();", | |
1334 "K.h=function(a,b,c){var d=w(a);try{var e=d.createNSResolver?d.createNSR", | |
1335 "esolver(d.documentElement):K.v;return d.evaluate(b,a,e,c,null)}catch(f)", | |
1336 "{throw new l(32,\"Unable to locate an element with the xpath expression", | |
1337 " \"+b+\" because of the following error:\\n\"+f);}};K.m=function(a,b){i", | |
1338 "f(!a||1!=a.nodeType)throw new l(32,'The result of the xpath expression ", | |
1339 "\"'+b+'\" is: '+a+\". It should be an element.\");};\nK.c=function(a,b)", | |
1340 "{var c=function(){var c=K.h(b,a,9);return c?c.singleNodeValue||null:b.s", | |
1341 "electSingleNode?(c=w(b),c.setProperty&&c.setProperty(\"SelectionLanguag", | |
1342 "e\",\"XPath\"),b.selectSingleNode(a)):null}();null===c||K.m(c,a);return", | |
1343 " c};\nK.d=function(a,b){var c=function(){var c=K.h(b,a,7);if(c){for(var", | |
1344 " e=c.snapshotLength,f=[],g=0;g<e;++g)f.push(c.snapshotItem(g));return f", | |
1345 "}return b.selectNodes?(c=w(b),c.setProperty&&c.setProperty(\"SelectionL", | |
1346 "anguage\",\"XPath\"),b.selectNodes(a)):[]}();n(c,function(b){K.m(b,a)})", | |
1347 ";return c};function L(a,b,c,d){this.top=a;this.right=b;this.bottom=c;th", | |
1348 "is.left=d}L.prototype.toString=function(){return\"(\"+this.top+\"t, \"+", | |
1349 "this.right+\"r, \"+this.bottom+\"b, \"+this.left+\"l)\"};L.prototype.co", | |
1350 "ntains=function(a){return this&&a?a instanceof L?a.left>=this.left&&a.r", | |
1351 "ight<=this.right&&a.top>=this.top&&a.bottom<=this.bottom:a.x>=this.left", | |
1352 "&&a.x<=this.right&&a.y>=this.top&&a.y<=this.bottom:!1};\nL.prototype.ce", | |
1353 "il=function(){this.top=Math.ceil(this.top);this.right=Math.ceil(this.ri", | |
1354 "ght);this.bottom=Math.ceil(this.bottom);this.left=Math.ceil(this.left);", | |
1355 "return this};L.prototype.floor=function(){this.top=Math.floor(this.top)", | |
1356 ";this.right=Math.floor(this.right);this.bottom=Math.floor(this.bottom);", | |
1357 "this.left=Math.floor(this.left);return this};\nL.prototype.round=functi", | |
1358 "on(){this.top=Math.round(this.top);this.right=Math.round(this.right);th", | |
1359 "is.bottom=Math.round(this.bottom);this.left=Math.round(this.left);retur", | |
1360 "n this};function M(a,b,c,d){this.left=a;this.top=b;this.width=c;this.he", | |
1361 "ight=d}M.prototype.toString=function(){return\"(\"+this.left+\", \"+thi", | |
1362 "s.top+\" - \"+this.width+\"w x \"+this.height+\"h)\"};M.prototype.conta", | |
1363 "ins=function(a){return a instanceof M?this.left<=a.left&&this.left+this", | |
1364 ".width>=a.left+a.width&&this.top<=a.top&&this.top+this.height>=a.top+a.", | |
1365 "height:a.x>=this.left&&a.x<=this.left+this.width&&a.y>=this.top&&a.y<=t", | |
1366 "his.top+this.height};\nM.prototype.ceil=function(){this.left=Math.ceil(", | |
1367 "this.left);this.top=Math.ceil(this.top);this.width=Math.ceil(this.width", | |
1368 ");this.height=Math.ceil(this.height);return this};M.prototype.floor=fun", | |
1369 "ction(){this.left=Math.floor(this.left);this.top=Math.floor(this.top);t", | |
1370 "his.width=Math.floor(this.width);this.height=Math.floor(this.height);re", | |
1371 "turn this};\nM.prototype.round=function(){this.left=Math.round(this.lef", | |
1372 "t);this.top=Math.round(this.top);this.width=Math.round(this.width);this", | |
1373 ".height=Math.round(this.height);return this};function O(a,b){return!!a&", | |
1374 "&1==a.nodeType&&(!b||a.tagName.toUpperCase()==b)}var Ja=/[;]+(?=(?:(?:[", | |
1375 "^\"]*\"){2})*[^\"]*$)(?=(?:(?:[^']*'){2})*[^']*$)(?=(?:[^()]*\\([^()]*", | |
1376 "\\))*[^()]*$)/;function Ka(a){var b=[];n(a.split(Ja),function(a){var d=", | |
1377 "a.indexOf(\":\");0<d&&(a=[a.slice(0,d),a.slice(d+1)],2==a.length&&b.pus", | |
1378 "h(a[0].toLowerCase(),\":\",a[1],\";\"))});b=b.join(\"\");return b=\";\"", | |
1379 "==b.charAt(b.length-1)?b:b+\";\"}\nfunction P(a,b){b=b.toLowerCase();if", | |
1380 "(\"style\"==b)return Ka(a.style.cssText);var c=a.getAttributeNode(b);re", | |
1381 "turn c&&c.specified?c.value:null}function Q(a){for(a=a.parentNode;a&&1!", | |
1382 "=a.nodeType&&9!=a.nodeType&&11!=a.nodeType;)a=a.parentNode;return O(a)?", | |
1383 "a:null}\nfunction R(a,b){var c=ha(b);if(\"float\"==c||\"cssFloat\"==c||", | |
1384 "\"styleFloat\"==c)c=\"cssFloat\";var d;a:{d=c;var e=w(a);if(e.defaultVi", | |
1385 "ew&&e.defaultView.getComputedStyle&&(e=e.defaultView.getComputedStyle(a", | |
1386 ",null))){d=e[d]||e.getPropertyValue(d)||\"\";break a}d=\"\"}d=d||La(a,c", | |
1387 ");if(null===d)d=null;else if(q(va,c)){b:{var f=d.match(ya);if(f){var c=", | |
1388 "Number(f[1]),e=Number(f[2]),g=Number(f[3]),f=Number(f[4]);if(0<=c&&255>", | |
1389 "=c&&0<=e&&255>=e&&0<=g&&255>=g&&0<=f&&1>=f){c=[c,e,g,f];break b}}c=null", | |
1390 "}if(!c){b:{if(g=d.match(za))if(c=\nNumber(g[1]),e=Number(g[2]),g=Number", | |
1391 "(g[3]),0<=c&&255>=c&&0<=e&&255>=e&&0<=g&&255>=g){c=[c,e,g,1];break b}c=", | |
1392 "null}if(!c)b:{c=d.toLowerCase();e=ua[c.toLowerCase()];if(!e&&(e=\"#\"==", | |
1393 "c.charAt(0)?c:\"#\"+c,4==e.length&&(e=e.replace(wa,\"#$1$1$2$2$3$3\")),", | |
1394 "!xa.test(e))){c=null;break b}c=[parseInt(e.substr(1,2),16),parseInt(e.s", | |
1395 "ubstr(3,2),16),parseInt(e.substr(5,2),16),1]}}d=c?\"rgba(\"+c.join(\", ", | |
1396 "\")+\")\":d}return d}\nfunction La(a,b){var c=a.currentStyle||a.style,d", | |
1397 "=c[b];void 0===d&&k(c.getPropertyValue)&&(d=c.getPropertyValue(b));retu", | |
1398 "rn\"inherit\"!=d?void 0!==d?d:null:(c=Q(a))?La(c,b):null}\nfunction Ma(", | |
1399 "a,b){function c(a){if(\"none\"==R(a,\"display\"))return!1;a=Q(a);return", | |
1400 "!a||c(a)}function d(a){var b=S(a);return 0<b.height&&0<b.width?!0:O(a,", | |
1401 "\"PATH\")&&(0<b.height||0<b.width)?(a=R(a,\"stroke-width\"),!!a&&0<pars", | |
1402 "eInt(a,10)):\"hidden\"!=R(a,\"overflow\")&&la(a.childNodes,function(a){", | |
1403 "return 3==a.nodeType||O(a)&&d(a)})}function e(a){return Na(a)==T&&ma(a.", | |
1404 "childNodes,function(a){return!O(a)||e(a)})}if(!O(a))throw Error(\"Argum", | |
1405 "ent to isShown must be of type Element\");if(O(a,\"BODY\"))return!0;if(", | |
1406 "O(a,\"OPTION\")||\nO(a,\"OPTGROUP\")){var f=ta(a,function(a){return O(a", | |
1407 ",\"SELECT\")});return!!f&&Ma(f,!0)}return(f=Oa(a))?!!f.o&&0<f.rect.widt", | |
1408 "h&&0<f.rect.height&&Ma(f.o,b):O(a,\"INPUT\")&&\"hidden\"==a.type.toLowe", | |
1409 "rCase()||O(a,\"NOSCRIPT\")||\"hidden\"==R(a,\"visibility\")||!c(a)||!b&", | |
1410 "&0==Pa(a)||!d(a)?!1:!e(a)}var T=\"hidden\";\nfunction Na(a){function b(", | |
1411 "a){function b(a){return a==g?!0:0==R(a,\"display\").lastIndexOf(\"inlin", | |
1412 "e\",0)||\"absolute\"==c&&\"static\"==R(a,\"position\")?!1:!0}var c=R(a,", | |
1413 "\"position\");if(\"fixed\"==c)return N=!0,a==g?null:g;for(a=Q(a);a&&!b(", | |
1414 "a);)a=Q(a);return a}function c(a){var b=a;if(\"visible\"==Y)if(a==g&&y)", | |
1415 "b=y;else if(a==y)return{x:\"visible\",y:\"visible\"};b={x:R(b,\"overflo", | |
1416 "w-x\"),y:R(b,\"overflow-y\")};a==g&&(b.x=\"visible\"==b.x?\"auto\":b.x,", | |
1417 "b.y=\"visible\"==b.y?\"auto\":b.y);return b}function d(a){if(a==g){var ", | |
1418 "b=(new v(f)).j;\na=b.body||b.documentElement;b=b.parentWindow||b.defaul", | |
1419 "tView;a=new r(b.pageXOffset||a.scrollLeft,b.pageYOffset||a.scrollTop)}e", | |
1420 "lse a=new r(a.scrollLeft,a.scrollTop);return a}var e=Qa(a),f=w(a),g=f.d", | |
1421 "ocumentElement,y=f.body,Y=R(g,\"overflow\"),N;for(a=b(a);a;a=b(a)){var ", | |
1422 "p=c(a);if(\"visible\"!=p.x||\"visible\"!=p.y){var s=S(a);if(0==s.width|", | |
1423 "|0==s.height)return T;var C=e.right<s.left,Z=e.bottom<s.top;if(C&&\"hid", | |
1424 "den\"==p.x||Z&&\"hidden\"==p.y)return T;if(C&&\"visible\"!=p.x||Z&&\"vi", | |
1425 "sible\"!=p.y){C=d(a);Z=e.bottom<s.top-\nC.y;if(e.right<s.left-C.x&&\"vi", | |
1426 "sible\"!=p.x||Z&&\"visible\"!=p.x)return T;e=Na(a);return e==T?T:\"scro", | |
1427 "ll\"}C=e.left>=s.left+s.width;s=e.top>=s.top+s.height;if(C&&\"hidden\"=", | |
1428 "=p.x||s&&\"hidden\"==p.y)return T;if(C&&\"visible\"!=p.x||s&&\"visible", | |
1429 "\"!=p.y){if(N&&(p=d(a),e.left>=g.scrollWidth-p.x||e.right>=g.scrollHeig", | |
1430 "ht-p.y))return T;e=Na(a);return e==T?T:\"scroll\"}}}return\"none\"}\nfu", | |
1431 "nction S(a){var b=Oa(a);if(b)return b.rect;if(O(a,\"HTML\"))return a=w(", | |
1432 "a),a=((a?a.parentWindow||a.defaultView:window)||window).document,a=\"CS", | |
1433 "S1Compat\"==a.compatMode?a.documentElement:a.body,a=new t(a.clientWidth", | |
1434 ",a.clientHeight),new M(0,0,a.width,a.height);var c;try{c=a.getBoundingC", | |
1435 "lientRect()}catch(d){return new M(0,0,0,0)}return new M(c.left,c.top,c.", | |
1436 "right-c.left,c.bottom-c.top)}\nfunction Oa(a){var b=O(a,\"MAP\");if(!b&", | |
1437 "&!O(a,\"AREA\"))return null;var c=b?a:O(a.parentNode,\"MAP\")?a.parentN", | |
1438 "ode:null,d=null,e=null;if(c&&c.name&&(d=K.c('/descendant::*[@usemap = ", | |
1439 "\"#'+c.name+'\"]',w(c)))&&(e=S(d),!b&&\"default\"!=a.shape.toLowerCase(", | |
1440 "))){var f=Ra(a);a=Math.min(Math.max(f.left,0),e.width);b=Math.min(Math.", | |
1441 "max(f.top,0),e.height);c=Math.min(f.width,e.width-a);f=Math.min(f.heigh", | |
1442 "t,e.height-b);e=new M(a+e.left,b+e.top,c,f)}return{o:d,rect:e||new M(0,", | |
1443 "0,0,0)}}\nfunction Ra(a){var b=a.shape.toLowerCase();a=a.coords.split(", | |
1444 "\",\");if(\"rect\"==b&&4==a.length){var b=a[0],c=a[1];return new M(b,c,", | |
1445 "a[2]-b,a[3]-c)}if(\"circle\"==b&&3==a.length)return b=a[2],new M(a[0]-b", | |
1446 ",a[1]-b,2*b,2*b);if(\"poly\"==b&&2<a.length){for(var b=a[0],c=a[1],d=b,", | |
1447 "e=c,f=2;f+1<a.length;f+=2)b=Math.min(b,a[f]),d=Math.max(d,a[f]),c=Math.", | |
1448 "min(c,a[f+1]),e=Math.max(e,a[f+1]);return new M(b,c,d-b,e-c)}return new", | |
1449 " M(0,0,0,0)}function Qa(a){a=S(a);return new L(a.top,a.left+a.width,a.t", | |
1450 "op+a.height,a.left)}\nfunction Sa(a){return a.replace(/^[^\\S\\xa0]+|[^", | |
1451 "\\S\\xa0]+$/g,\"\")}function Ta(a){var b=[];Ua(a,b);var c=b;a=c.length;", | |
1452 "for(var b=Array(a),c=h(c)?c.split(\"\"):c,d=0;d<a;d++)d in c&&(b[d]=Sa.", | |
1453 "call(void 0,c[d]));return Sa(b.join(\"\\n\")).replace(/\\xa0/g,\" \")}", | |
1454 "\nfunction Ua(a,b){if(O(a,\"BR\"))b.push(\"\");else{var c=O(a,\"TD\"),d", | |
1455 "=R(a,\"display\"),e=!c&&!q(Va,d),f=void 0!=a.previousElementSibling?a.p", | |
1456 "reviousElementSibling:pa(a.previousSibling),f=f?R(f,\"display\"):\"\",g", | |
1457 "=R(a,\"float\")||R(a,\"cssFloat\")||R(a,\"styleFloat\");!e||\"run-in\"=", | |
1458 "=f&&\"none\"==g||/^[\\s\\xa0]*$/.test(b[b.length-1]||\"\")||b.push(\"\"", | |
1459 ");var y=Ma(a),Y=null,N=null;y&&(Y=R(a,\"white-space\"),N=R(a,\"text-tra", | |
1460 "nsform\"));n(a.childNodes,function(a){3==a.nodeType&&y?Wa(a,b,Y,N):O(a)", | |
1461 "&&Ua(a,b)});f=b[b.length-1]||\"\";!c&&\"table-cell\"!=\nd||!f||ga(f)||(", | |
1462 "b[b.length-1]+=\" \");e&&\"run-in\"!=d&&!/^[\\s\\xa0]*$/.test(f)&&b.pus", | |
1463 "h(\"\")}}var Va=\"inline inline-block inline-table none table-cell tabl", | |
1464 "e-column table-column-group\".split(\" \");\nfunction Wa(a,b,c,d){a=a.n", | |
1465 "odeValue.replace(/[\\u200b\\u200e\\u200f]/g,\"\");a=a.replace(/(\\r\\n|", | |
1466 "\\r|\\n)/g,\"\\n\");if(\"normal\"==c||\"nowrap\"==c)a=a.replace(/\\n/g,", | |
1467 "\" \");a=\"pre\"==c||\"pre-wrap\"==c?a.replace(/[ \\f\\t\\v\\u2028\\u20", | |
1468 "29]/g,\"\\u00a0\"):a.replace(/[\\ \\f\\t\\v\\u2028\\u2029]+/g,\" \");\"", | |
1469 "capitalize\"==d?a=a.replace(/(^|\\s)(\\S)/g,function(a,b,c){return b+c.", | |
1470 "toUpperCase()}):\"uppercase\"==d?a=a.toUpperCase():\"lowercase\"==d&&(a", | |
1471 "=a.toLowerCase());c=b.pop()||\"\";ga(c)&&0==a.lastIndexOf(\" \",0)&&(a=", | |
1472 "a.substr(1));b.push(c+a)}\nfunction Pa(a){var b=1,c=R(a,\"opacity\");c&", | |
1473 "&(b=Number(c));(a=Q(a))&&(b*=Pa(a));return b};var U={},V={};U.u=functio", | |
1474 "n(a,b,c){var d;try{d=B.d(\"a\",b)}catch(e){d=z(u(b),\"A\",null,b)}retur", | |
1475 "n na(d,function(b){b=Ta(b);return c&&-1!=b.indexOf(a)||b==a})};U.q=func", | |
1476 "tion(a,b,c){var d;try{d=B.d(\"a\",b)}catch(e){d=z(u(b),\"A\",null,b)}re", | |
1477 "turn ja(d,function(b){b=Ta(b);return c&&-1!=b.indexOf(a)||b==a})};U.c=f", | |
1478 "unction(a,b){return U.u(a,b,!1)};U.d=function(a,b){return U.q(a,b,!1)};", | |
1479 "V.c=function(a,b){return U.u(a,b,!0)};V.d=function(a,b){return U.q(a,b,", | |
1480 "!0)};var Xa={c:function(a,b){return b.getElementsByTagName(a)[0]||null}", | |
1481 ",d:function(a,b){return b.getElementsByTagName(a)}};var Ya={className:A", | |
1482 ",\"class name\":A,css:B,\"css selector\":B,id:{c:function(a,b){var c=u(", | |
1483 "b),d=h(a)?c.j.getElementById(a):a;if(!d)return null;if(P(d,\"id\")==a&&", | |
1484 "x(b,d))return d;c=z(c,\"*\");return na(c,function(c){return P(c,\"id\")", | |
1485 "==a&&x(b,c)})},d:function(a,b){var c=z(u(b),\"*\",null,b);return ja(c,f", | |
1486 "unction(b){return P(b,\"id\")==a})}},linkText:U,\"link text\":U,name:{c", | |
1487 ":function(a,b){var c=z(u(b),\"*\",null,b);return na(c,function(b){retur", | |
1488 "n P(b,\"name\")==a})},d:function(a,b){var c=z(u(b),\"*\",null,b);return", | |
1489 " ja(c,function(b){return P(b,\n\"name\")==a})}},partialLinkText:V,\"par", | |
1490 "tial link text\":V,tagName:Xa,\"tag name\":Xa,xpath:K};function Za(a,b)", | |
1491 "{var c;a:{for(c in a)if(a.hasOwnProperty(c))break a;c=null}if(c){var d=", | |
1492 "Ya[c];if(d&&k(d.c))return d.c(a[c],b||ca.document)}throw Error(\"Unsupp", | |
1493 "orted locator strategy: \"+c);}var W=[\"_\"],X=aa;W[0]in X||!X.execScri", | |
1494 "pt||X.execScript(\"var \"+W[0]);for(var $;W.length&&($=W.shift());)W.le", | |
1495 "ngth||void 0===Za?X=X[$]?X[$]:X[$]={}:X[$]=Za;; return this._.apply(nul", | |
1496 "l,arguments);}.apply({navigator:typeof window!=undefined?window.navigat", | |
1497 "or:null,document:typeof window!=undefined?window.document:null}, argume", | |
1498 "nts);}", | |
1499 NULL | |
1500 }; | |
1501 | |
1502 const char* const FIND_ELEMENTS[] = { | 1102 const char* const FIND_ELEMENTS[] = { |
1503 "function(){return function(){var aa=this;\nfunction ba(a){var b=typeof ", | 1103 "function(){return function(){var aa=this;\nfunction ba(a){var b=typeof ", |
1504 "a;if(\"object\"==b)if(a){if(a instanceof Array)return\"array\";if(a ins", | 1104 "a;if(\"object\"==b)if(a){if(a instanceof Array)return\"array\";if(a ins", |
1505 "tanceof Object)return b;var c=Object.prototype.toString.call(a);if(\"[o", | 1105 "tanceof Object)return b;var c=Object.prototype.toString.call(a);if(\"[o", |
1506 "bject Window]\"==c)return\"object\";if(\"[object Array]\"==c||\"number", | 1106 "bject Window]\"==c)return\"object\";if(\"[object Array]\"==c||\"number", |
1507 "\"==typeof a.length&&\"undefined\"!=typeof a.splice&&\"undefined\"!=typ", | 1107 "\"==typeof a.length&&\"undefined\"!=typeof a.splice&&\"undefined\"!=typ", |
1508 "eof a.propertyIsEnumerable&&!a.propertyIsEnumerable(\"splice\"))return", | 1108 "eof a.propertyIsEnumerable&&!a.propertyIsEnumerable(\"splice\"))return", |
1509 "\"array\";if(\"[object Function]\"==c||\"undefined\"!=typeof a.call&&\"", | 1109 "\"array\";if(\"[object Function]\"==c||\"undefined\"!=typeof a.call&&\"", |
1510 "undefined\"!=typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable(\"c", | 1110 "undefined\"!=typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable(\"c", |
1511 "all\"))return\"function\"}else return\"null\";else if(\"function\"==\nb", | 1111 "all\"))return\"function\"}else return\"null\";else if(\"function\"==\nb", |
(...skipping 904 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2416 "!1);d.dispatchEvent(a)&&(F(d.submit)?d.constructor.prototype.submit.cal", | 2016 "!1);d.dispatchEvent(a)&&(F(d.submit)?d.constructor.prototype.submit.cal", |
2417 "l(d):d.submit())}var X=[\"_\"],Y=this;X[0]in Y||!Y.execScript||Y.execSc", | 2017 "l(d):d.submit())}var X=[\"_\"],Y=this;X[0]in Y||!Y.execScript||Y.execSc", |
2418 "ript(\"var \"+X[0]);for(var Z;X.length&&(Z=X.shift());){var $;if($=!X.l", | 2018 "ript(\"var \"+X[0]);for(var Z;X.length&&(Z=X.shift());){var $;if($=!X.l", |
2419 "ength)$=void 0!==W;$?Y[Z]=W:Y=Y[Z]?Y[Z]:Y[Z]={}};; return this._.apply(", | 2019 "ength)$=void 0!==W;$?Y[Z]=W:Y=Y[Z]?Y[Z]:Y[Z]={}};; return this._.apply(", |
2420 "null,arguments);}.apply({navigator:typeof window!=undefined?window.navi", | 2020 "null,arguments);}.apply({navigator:typeof window!=undefined?window.navi", |
2421 "gator:null,document:typeof window!=undefined?window.document:null}, arg", | 2021 "gator:null,document:typeof window!=undefined?window.document:null}, arg", |
2422 "uments);}", | 2022 "uments);}", |
2423 NULL | 2023 NULL |
2424 }; | 2024 }; |
2425 | 2025 |
| 2026 const char* const FIND_ELEMENT[] = { |
| 2027 "function(){return function(){var aa=this;\nfunction ba(a){var b=typeof ", |
| 2028 "a;if(\"object\"==b)if(a){if(a instanceof Array)return\"array\";if(a ins", |
| 2029 "tanceof Object)return b;var c=Object.prototype.toString.call(a);if(\"[o", |
| 2030 "bject Window]\"==c)return\"object\";if(\"[object Array]\"==c||\"number", |
| 2031 "\"==typeof a.length&&\"undefined\"!=typeof a.splice&&\"undefined\"!=typ", |
| 2032 "eof a.propertyIsEnumerable&&!a.propertyIsEnumerable(\"splice\"))return", |
| 2033 "\"array\";if(\"[object Function]\"==c||\"undefined\"!=typeof a.call&&\"", |
| 2034 "undefined\"!=typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable(\"c", |
| 2035 "all\"))return\"function\"}else return\"null\";else if(\"function\"==\nb", |
| 2036 "&&\"undefined\"==typeof a.call)return\"object\";return b}function h(a){", |
| 2037 "return\"string\"==typeof a}function k(a){return\"function\"==ba(a)};var", |
| 2038 " ca=window;var da;function ea(a){var b=a.length-1;return 0<=b&&a.indexO", |
| 2039 "f(\" \",b)==b}function l(a){return a.replace(/^[\\s\\xa0]+|[\\s\\xa0]+$", |
| 2040 "/g,\"\")}function fa(a){return String(a).replace(/\\-([a-z])/g,function", |
| 2041 "(a,c){return c.toUpperCase()})};var ga=Array.prototype;function m(a,b){", |
| 2042 "for(var c=a.length,d=h(a)?a.split(\"\"):a,e=0;e<c;e++)e in d&&b.call(vo", |
| 2043 "id 0,d[e],e,a)}function ha(a,b){for(var c=a.length,d=[],e=0,f=h(a)?a.sp", |
| 2044 "lit(\"\"):a,g=0;g<c;g++)if(g in f){var y=f[g];b.call(void 0,y,g,a)&&(d[", |
| 2045 "e++]=y)}return d}function ia(a,b){var c=\"\";m(a,function(d,e){c=b.call", |
| 2046 "(void 0,c,d,e,a)});return c}function ja(a,b){for(var c=a.length,d=h(a)?", |
| 2047 "a.split(\"\"):a,e=0;e<c;e++)if(e in d&&b.call(void 0,d[e],e,a))return!0", |
| 2048 ";return!1}\nfunction ka(a,b){for(var c=a.length,d=h(a)?a.split(\"\"):a,", |
| 2049 "e=0;e<c;e++)if(e in d&&!b.call(void 0,d[e],e,a))return!1;return!0}funct", |
| 2050 "ion la(a,b){var c;a:{c=a.length;for(var d=h(a)?a.split(\"\"):a,e=0;e<c;", |
| 2051 "e++)if(e in d&&b.call(void 0,d[e],e,a)){c=e;break a}c=-1}return 0>c?nul", |
| 2052 "l:h(a)?a.charAt(c):a[c]}function n(a,b){var c;a:if(h(a))c=h(b)&&1==b.le", |
| 2053 "ngth?a.indexOf(b,0):-1;else{for(c=0;c<a.length;c++)if(c in a&&a[c]===b)", |
| 2054 "break a;c=-1}return 0<=c}\nfunction ma(a,b,c){return 2>=arguments.lengt", |
| 2055 "h?ga.slice.call(a,b):ga.slice.call(a,b,c)};var na={aliceblue:\"#f0f8ff", |
| 2056 "\",antiquewhite:\"#faebd7\",aqua:\"#00ffff\",aquamarine:\"#7fffd4\",azu", |
| 2057 "re:\"#f0ffff\",beige:\"#f5f5dc\",bisque:\"#ffe4c4\",black:\"#000000\",b", |
| 2058 "lanchedalmond:\"#ffebcd\",blue:\"#0000ff\",blueviolet:\"#8a2be2\",brown", |
| 2059 ":\"#a52a2a\",burlywood:\"#deb887\",cadetblue:\"#5f9ea0\",chartreuse:\"#", |
| 2060 "7fff00\",chocolate:\"#d2691e\",coral:\"#ff7f50\",cornflowerblue:\"#6495", |
| 2061 "ed\",cornsilk:\"#fff8dc\",crimson:\"#dc143c\",cyan:\"#00ffff\",darkblue", |
| 2062 ":\"#00008b\",darkcyan:\"#008b8b\",darkgoldenrod:\"#b8860b\",darkgray:\"", |
| 2063 "#a9a9a9\",darkgreen:\"#006400\",\ndarkgrey:\"#a9a9a9\",darkkhaki:\"#bdb", |
| 2064 "76b\",darkmagenta:\"#8b008b\",darkolivegreen:\"#556b2f\",darkorange:\"#", |
| 2065 "ff8c00\",darkorchid:\"#9932cc\",darkred:\"#8b0000\",darksalmon:\"#e9967", |
| 2066 "a\",darkseagreen:\"#8fbc8f\",darkslateblue:\"#483d8b\",darkslategray:\"", |
| 2067 "#2f4f4f\",darkslategrey:\"#2f4f4f\",darkturquoise:\"#00ced1\",darkviole", |
| 2068 "t:\"#9400d3\",deeppink:\"#ff1493\",deepskyblue:\"#00bfff\",dimgray:\"#6", |
| 2069 "96969\",dimgrey:\"#696969\",dodgerblue:\"#1e90ff\",firebrick:\"#b22222", |
| 2070 "\",floralwhite:\"#fffaf0\",forestgreen:\"#228b22\",fuchsia:\"#ff00ff\",", |
| 2071 "gainsboro:\"#dcdcdc\",\nghostwhite:\"#f8f8ff\",gold:\"#ffd700\",goldenr", |
| 2072 "od:\"#daa520\",gray:\"#808080\",green:\"#008000\",greenyellow:\"#adff2f", |
| 2073 "\",grey:\"#808080\",honeydew:\"#f0fff0\",hotpink:\"#ff69b4\",indianred:", |
| 2074 "\"#cd5c5c\",indigo:\"#4b0082\",ivory:\"#fffff0\",khaki:\"#f0e68c\",lave", |
| 2075 "nder:\"#e6e6fa\",lavenderblush:\"#fff0f5\",lawngreen:\"#7cfc00\",lemonc", |
| 2076 "hiffon:\"#fffacd\",lightblue:\"#add8e6\",lightcoral:\"#f08080\",lightcy", |
| 2077 "an:\"#e0ffff\",lightgoldenrodyellow:\"#fafad2\",lightgray:\"#d3d3d3\",l", |
| 2078 "ightgreen:\"#90ee90\",lightgrey:\"#d3d3d3\",lightpink:\"#ffb6c1\",light", |
| 2079 "salmon:\"#ffa07a\",\nlightseagreen:\"#20b2aa\",lightskyblue:\"#87cefa\"", |
| 2080 ",lightslategray:\"#778899\",lightslategrey:\"#778899\",lightsteelblue:", |
| 2081 "\"#b0c4de\",lightyellow:\"#ffffe0\",lime:\"#00ff00\",limegreen:\"#32cd3", |
| 2082 "2\",linen:\"#faf0e6\",magenta:\"#ff00ff\",maroon:\"#800000\",mediumaqua", |
| 2083 "marine:\"#66cdaa\",mediumblue:\"#0000cd\",mediumorchid:\"#ba55d3\",medi", |
| 2084 "umpurple:\"#9370db\",mediumseagreen:\"#3cb371\",mediumslateblue:\"#7b68", |
| 2085 "ee\",mediumspringgreen:\"#00fa9a\",mediumturquoise:\"#48d1cc\",mediumvi", |
| 2086 "oletred:\"#c71585\",midnightblue:\"#191970\",mintcream:\"#f5fffa\",mist", |
| 2087 "yrose:\"#ffe4e1\",\nmoccasin:\"#ffe4b5\",navajowhite:\"#ffdead\",navy:", |
| 2088 "\"#000080\",oldlace:\"#fdf5e6\",olive:\"#808000\",olivedrab:\"#6b8e23\"", |
| 2089 ",orange:\"#ffa500\",orangered:\"#ff4500\",orchid:\"#da70d6\",palegolden", |
| 2090 "rod:\"#eee8aa\",palegreen:\"#98fb98\",paleturquoise:\"#afeeee\",palevio", |
| 2091 "letred:\"#db7093\",papayawhip:\"#ffefd5\",peachpuff:\"#ffdab9\",peru:\"", |
| 2092 "#cd853f\",pink:\"#ffc0cb\",plum:\"#dda0dd\",powderblue:\"#b0e0e6\",purp", |
| 2093 "le:\"#800080\",red:\"#ff0000\",rosybrown:\"#bc8f8f\",royalblue:\"#4169e", |
| 2094 "1\",saddlebrown:\"#8b4513\",salmon:\"#fa8072\",sandybrown:\"#f4a460\",s", |
| 2095 "eagreen:\"#2e8b57\",\nseashell:\"#fff5ee\",sienna:\"#a0522d\",silver:\"", |
| 2096 "#c0c0c0\",skyblue:\"#87ceeb\",slateblue:\"#6a5acd\",slategray:\"#708090", |
| 2097 "\",slategrey:\"#708090\",snow:\"#fffafa\",springgreen:\"#00ff7f\",steel", |
| 2098 "blue:\"#4682b4\",tan:\"#d2b48c\",teal:\"#008080\",thistle:\"#d8bfd8\",t", |
| 2099 "omato:\"#ff6347\",turquoise:\"#40e0d0\",violet:\"#ee82ee\",wheat:\"#f5d", |
| 2100 "eb3\",white:\"#ffffff\",whitesmoke:\"#f5f5f5\",yellow:\"#ffff00\",yello", |
| 2101 "wgreen:\"#9acd32\"};var oa=\"backgroundColor borderTopColor borderRight", |
| 2102 "Color borderBottomColor borderLeftColor color outlineColor\".split(\" ", |
| 2103 "\"),pa=/#([0-9a-fA-F])([0-9a-fA-F])([0-9a-fA-F])/,qa=/^#(?:[0-9a-f]{3})", |
| 2104 "{1,2}$/i,ra=/^(?:rgba)?\\((\\d{1,3}),\\s?(\\d{1,3}),\\s?(\\d{1,3}),\\s?", |
| 2105 "(0|1|0\\.\\d*)\\)$/i,sa=/^(?:rgb)?\\((0|[1-9]\\d{0,2}),\\s?(0|[1-9]\\d{", |
| 2106 "0,2}),\\s?(0|[1-9]\\d{0,2})\\)$/i;function q(a,b){this.code=a;this.stat", |
| 2107 "e=ta[a]||ua;this.message=b||\"\";var c=this.state.replace(/((?:^|\\s+)[", |
| 2108 "a-z])/g,function(a){return a.toUpperCase().replace(/^[\\s\\xa0]+/g,\"\"", |
| 2109 ")}),d=c.length-5;if(0>d||c.indexOf(\"Error\",d)!=d)c+=\"Error\";this.na", |
| 2110 "me=c;c=Error(this.message);c.name=this.name;this.stack=c.stack||\"\"}(f", |
| 2111 "unction(){var a=Error;function b(){}b.prototype=a.prototype;q.D=a.proto", |
| 2112 "type;q.prototype=new b;q.A=function(b,d,e){return a.prototype[d].apply(", |
| 2113 "b,Array.prototype.slice.call(arguments,2))}})();\nvar ua=\"unknown erro", |
| 2114 "r\",ta={15:\"element not selectable\",11:\"element not visible\",31:\"i", |
| 2115 "me engine activation failed\",30:\"ime not available\",24:\"invalid coo", |
| 2116 "kie domain\",29:\"invalid element coordinates\",12:\"invalid element st", |
| 2117 "ate\",32:\"invalid selector\",51:\"invalid selector\",52:\"invalid sele", |
| 2118 "ctor\",17:\"javascript error\",405:\"unsupported operation\",34:\"move ", |
| 2119 "target out of bounds\",27:\"no such alert\",7:\"no such element\",8:\"n", |
| 2120 "o such frame\",23:\"no such window\",28:\"script timeout\",33:\"session", |
| 2121 " not created\",10:\"stale element reference\",\n0:\"success\",21:\"time", |
| 2122 "out\",25:\"unable to set cookie\",26:\"unexpected alert open\"};ta[13]=", |
| 2123 "ua;ta[9]=\"unknown command\";q.prototype.toString=function(){return thi", |
| 2124 "s.name+\": \"+this.message};function r(a,b){this.x=void 0!==a?a:0;this.", |
| 2125 "y=void 0!==b?b:0}r.prototype.toString=function(){return\"(\"+this.x+\",", |
| 2126 " \"+this.y+\")\"};r.prototype.ceil=function(){this.x=Math.ceil(this.x);", |
| 2127 "this.y=Math.ceil(this.y);return this};r.prototype.floor=function(){this", |
| 2128 ".x=Math.floor(this.x);this.y=Math.floor(this.y);return this};r.prototyp", |
| 2129 "e.round=function(){this.x=Math.round(this.x);this.y=Math.round(this.y);", |
| 2130 "return this};function t(a,b){this.width=a;this.height=b}t.prototype.toS", |
| 2131 "tring=function(){return\"(\"+this.width+\" x \"+this.height+\")\"};t.pr", |
| 2132 "ototype.ceil=function(){this.width=Math.ceil(this.width);this.height=Ma", |
| 2133 "th.ceil(this.height);return this};t.prototype.floor=function(){this.wid", |
| 2134 "th=Math.floor(this.width);this.height=Math.floor(this.height);return th", |
| 2135 "is};t.prototype.round=function(){this.width=Math.round(this.width);this", |
| 2136 ".height=Math.round(this.height);return this};function u(a){return a?new", |
| 2137 " v(w(a)):da||(da=new v)}function va(a){for(;a&&1!=a.nodeType;)a=a.previ", |
| 2138 "ousSibling;return a}function x(a,b){if(a.contains&&1==b.nodeType)return", |
| 2139 " a==b||a.contains(b);if(\"undefined\"!=typeof a.compareDocumentPosition", |
| 2140 ")return a==b||Boolean(a.compareDocumentPosition(b)&16);for(;b&&a!=b;)b=", |
| 2141 "b.parentNode;return b==a}\nfunction wa(a,b){if(a==b)return 0;if(a.compa", |
| 2142 "reDocumentPosition)return a.compareDocumentPosition(b)&2?1:-1;if(\"sour", |
| 2143 "ceIndex\"in a||a.parentNode&&\"sourceIndex\"in a.parentNode){var c=1==a", |
| 2144 ".nodeType,d=1==b.nodeType;if(c&&d)return a.sourceIndex-b.sourceIndex;va", |
| 2145 "r e=a.parentNode,f=b.parentNode;return e==f?xa(a,b):!c&&x(e,b)?-1*ya(a,", |
| 2146 "b):!d&&x(f,a)?ya(b,a):(c?a.sourceIndex:e.sourceIndex)-(d?b.sourceIndex:", |
| 2147 "f.sourceIndex)}d=w(a);c=d.createRange();c.selectNode(a);c.collapse(!0);", |
| 2148 "d=d.createRange();d.selectNode(b);d.collapse(!0);\nreturn c.compareBoun", |
| 2149 "daryPoints(aa.Range.START_TO_END,d)}function ya(a,b){var c=a.parentNode", |
| 2150 ";if(c==b)return-1;for(var d=b;d.parentNode!=c;)d=d.parentNode;return xa", |
| 2151 "(d,a)}function xa(a,b){for(var c=b;c=c.previousSibling;)if(c==a)return-", |
| 2152 "1;return 1}function w(a){return 9==a.nodeType?a:a.ownerDocument||a.docu", |
| 2153 "ment}function za(a,b){a=a.parentNode;for(var c=0;a;){if(b(a))return a;a", |
| 2154 "=a.parentNode;c++}return null}function v(a){this.j=a||aa.document||docu", |
| 2155 "ment}\nfunction z(a,b,c,d){a=d||a.j;b=b&&\"*\"!=b?b.toUpperCase():\"\";", |
| 2156 "if(a.querySelectorAll&&a.querySelector&&(b||c))c=a.querySelectorAll(b+(", |
| 2157 "c?\".\"+c:\"\"));else if(c&&a.getElementsByClassName)if(a=a.getElements", |
| 2158 "ByClassName(c),b){d={};for(var e=0,f=0,g;g=a[f];f++)b==g.nodeName&&(d[e", |
| 2159 "++]=g);d.length=e;c=d}else c=a;else if(a=a.getElementsByTagName(b||\"*", |
| 2160 "\"),c){d={};for(f=e=0;g=a[f];f++)b=g.className,\"function\"==typeof b.s", |
| 2161 "plit&&n(b.split(/\\s+/),c)&&(d[e++]=g);d.length=e;c=d}else c=a;return c", |
| 2162 "}v.prototype.contains=x;function A(a){var b=null,c=a.nodeType;1==c&&(b=", |
| 2163 "a.textContent,b=void 0==b||null==b?a.innerText:b,b=void 0==b||null==b?", |
| 2164 "\"\":b);if(\"string\"!=typeof b)if(9==c||1==c){a=9==c?a.documentElement", |
| 2165 ":a.firstChild;for(var c=0,d=[],b=\"\";a;){do 1!=a.nodeType&&(b+=a.nodeV", |
| 2166 "alue),d[c++]=a;while(a=a.firstChild);for(;c&&!(a=d[--c].nextSibling););", |
| 2167 "}}else b=a.nodeValue;return\"\"+b};function B(){this.g=this.i=null;this", |
| 2168 ".p=0}function Aa(a){this.r=a;this.next=this.s=null}B.prototype.add=func", |
| 2169 "tion(a){a=new Aa(a);a.s=this.g;this.i?this.g.next=a:this.i=this.g=a;thi", |
| 2170 "s.g=a;this.p++};function Ba(a){return(a=a.i)?a.r:null}function D(a){ret", |
| 2171 "urn new Ca(a,!1)}function Ca(a,b){this.n=(this.t=b)?a.g:a.i}Ca.prototyp", |
| 2172 "e.next=function(){var a=this.n;if(null==a)return null;this.n=this.t?a.s", |
| 2173 ":a.next;return a.r};function E(a,b,c,d,e){b=b.evaluate(d);c=c.evaluate(", |
| 2174 "d);var f;if(b instanceof B&&c instanceof B){e=D(b);for(d=e.next();d;d=e", |
| 2175 ".next())for(b=D(c),f=b.next();f;f=b.next())if(a(A(d),A(f)))return!0;ret", |
| 2176 "urn!1}if(b instanceof B||c instanceof B){b instanceof B?e=b:(e=c,c=b);e", |
| 2177 "=D(e);b=typeof c;for(d=e.next();d;d=e.next()){switch(b){case \"number\"", |
| 2178 ":d=+A(d);break;case \"boolean\":d=!!A(d);break;case \"string\":d=A(d);b", |
| 2179 "reak;default:throw Error(\"Illegal primitive type for comparison.\");}i", |
| 2180 "f(a(d,c))return!0}return!1}return e?\n\"boolean\"==typeof b||\"boolean", |
| 2181 "\"==typeof c?a(!!b,!!c):\"number\"==typeof b||\"number\"==typeof c?a(+b", |
| 2182 ",+c):a(b,c):a(+b,+c)}function Da(a,b,c,d){this.w=a;this.h=d}Da.prototyp", |
| 2183 "e.toString=function(){return this.w};var Ea={};function F(a,b){if(Ea.ha", |
| 2184 "sOwnProperty(a))throw Error(\"Binary operator already created: \"+a);va", |
| 2185 "r c=new Da(a,0,0,b);Ea[c.toString()]=c}F(\"div\",function(a,b,c){return", |
| 2186 " a.b(c)/b.b(c)});F(\"mod\",function(a,b,c){return a.b(c)%b.b(c)});F(\"*", |
| 2187 "\",function(a,b,c){return a.b(c)*b.b(c)});\nF(\"+\",function(a,b,c){ret", |
| 2188 "urn a.b(c)+b.b(c)});F(\"-\",function(a,b,c){return a.b(c)-b.b(c)});F(\"", |
| 2189 "<\",function(a,b,c){return E(function(a,b){return a<b},a,b,c)});F(\">\"", |
| 2190 ",function(a,b,c){return E(function(a,b){return a>b},a,b,c)});F(\"<=\",f", |
| 2191 "unction(a,b,c){return E(function(a,b){return a<=b},a,b,c)});F(\">=\",fu", |
| 2192 "nction(a,b,c){return E(function(a,b){return a>=b},a,b,c)});F(\"=\",func", |
| 2193 "tion(a,b,c){return E(function(a,b){return a==b},a,b,c,!0)});F(\"!=\",fu", |
| 2194 "nction(a,b,c){return E(function(a,b){return a!=b},a,b,c,!0)});\nF(\"and", |
| 2195 "\",function(a,b,c){return a.f(c)&&b.f(c)});F(\"or\",function(a,b,c){ret", |
| 2196 "urn a.f(c)||b.f(c)});function Fa(a,b,c,d,e,f){this.k=a;this.h=f}Fa.prot", |
| 2197 "otype.toString=function(){return this.k};var Ga={};function G(a,b){if(G", |
| 2198 "a.hasOwnProperty(a))throw Error(\"Function already created: \"+a+\".\")", |
| 2199 ";Ga[a]=new Fa(a,0,0,0,0,b)}G(\"boolean\",function(a,b){return b.f(a)});", |
| 2200 "G(\"ceiling\",function(a,b){return Math.ceil(b.b(a))});G(\"concat\",fun", |
| 2201 "ction(a,b){return ia(ma(arguments,1),function(b,d){return b+d.a(a)})});", |
| 2202 "G(\"contains\",function(a,b,c){b=b.a(a);a=c.a(a);return-1!=b.indexOf(a)", |
| 2203 "});G(\"count\",function(a,b){return b.evaluate(a).p});\nG(\"false\",fun", |
| 2204 "ction(){return!1});G(\"floor\",function(a,b){return Math.floor(b.b(a))}", |
| 2205 ");G(\"id\",function(a,b){var c=a.e(),d=9==c.nodeType?c:c.ownerDocument,", |
| 2206 "c=b.a(a).split(/\\s+/),e=[];m(c,function(a){(a=d.getElementById(a))&&!n", |
| 2207 "(e,a)&&e.push(a)});e.sort(wa);var f=new B;m(e,function(a){f.add(a)});re", |
| 2208 "turn f});G(\"lang\",function(){return!1});G(\"last\",function(a){if(1!=", |
| 2209 "arguments.length)throw Error(\"Function last expects ()\");return a.B()", |
| 2210 "});\nG(\"local-name\",function(a,b){var c=b?Ba(b.evaluate(a)):a.e();ret", |
| 2211 "urn c?c.nodeName.toLowerCase():\"\"});G(\"name\",function(a,b){var c=b?", |
| 2212 "Ba(b.evaluate(a)):a.e();return c?c.nodeName.toLowerCase():\"\"});G(\"na", |
| 2213 "mespace-uri\",function(){return\"\"});G(\"normalize-space\",function(a,", |
| 2214 "b){return(b?b.a(a):A(a.e())).replace(/[\\s\\xa0]+/g,\" \").replace(/^", |
| 2215 "\\s+|\\s+$/g,\"\")});G(\"not\",function(a,b){return!b.f(a)});G(\"number", |
| 2216 "\",function(a,b){return b?b.b(a):+A(a.e())});G(\"position\",function(a)", |
| 2217 "{return a.C()});G(\"round\",function(a,b){return Math.round(b.b(a))});", |
| 2218 "\nG(\"starts-with\",function(a,b,c){b=b.a(a);a=c.a(a);return 0==b.lastI", |
| 2219 "ndexOf(a,0)});G(\"string\",function(a,b){return b?b.a(a):A(a.e())});G(", |
| 2220 "\"string-length\",function(a,b){return(b?b.a(a):A(a.e())).length});G(\"", |
| 2221 "substring\",function(a,b,c,d){c=c.b(a);if(isNaN(c)||Infinity==c||-Infin", |
| 2222 "ity==c)return\"\";d=d?d.b(a):Infinity;if(isNaN(d)||-Infinity===d)return", |
| 2223 "\"\";c=Math.round(c)-1;var e=Math.max(c,0);a=b.a(a);if(Infinity==d)retu", |
| 2224 "rn a.substring(e);b=Math.round(d);return a.substring(e,c+b)});\nG(\"sub", |
| 2225 "string-after\",function(a,b,c){b=b.a(a);a=c.a(a);c=b.indexOf(a);return-", |
| 2226 "1==c?\"\":b.substring(c+a.length)});G(\"substring-before\",function(a,b", |
| 2227 ",c){b=b.a(a);a=c.a(a);a=b.indexOf(a);return-1==a?\"\":b.substring(0,a)}", |
| 2228 ");G(\"sum\",function(a,b){for(var c=D(b.evaluate(a)),d=0,e=c.next();e;e", |
| 2229 "=c.next())d+=+A(e);return d});\nG(\"translate\",function(a,b,c,d){b=b.a", |
| 2230 "(a);c=c.a(a);var e=d.a(a);a=[];for(d=0;d<c.length;d++){var f=c.charAt(d", |
| 2231 ");f in a||(a[f]=e.charAt(d))}c=\"\";for(d=0;d<b.length;d++)f=b.charAt(d", |
| 2232 "),c+=f in a?a[f]:f;return c});G(\"true\",function(){return!0});function", |
| 2233 " Ha(a,b,c){this.k=a;this.t=c}Ha.prototype.toString=function(){return th", |
| 2234 "is.k};var Ia={};function H(a,b){if(Ia.hasOwnProperty(a))throw Error(\"A", |
| 2235 "xis already created: \"+a);Ia[a]=new Ha(a,0,b)}H(\"ancestor\",!0);H(\"a", |
| 2236 "ncestor-or-self\",!0);H(\"attribute\",!1);H(\"child\",!1);H(\"descendan", |
| 2237 "t\",!1);H(\"descendant-or-self\",!1);H(\"following\",!1);H(\"following-", |
| 2238 "sibling\",!1);H(\"namespace\",!1);H(\"parent\",!1);H(\"preceding\",!0);", |
| 2239 "H(\"preceding-sibling\",!0);H(\"self\",!1);var I={};I.v=function(){var ", |
| 2240 "a={F:\"http://www.w3.org/2000/svg\"};return function(b){return a[b]||nu", |
| 2241 "ll}}();I.h=function(a,b,c){var d=w(a);try{var e=d.createNSResolver?d.cr", |
| 2242 "eateNSResolver(d.documentElement):I.v;return d.evaluate(b,a,e,c,null)}c", |
| 2243 "atch(f){throw new q(32,\"Unable to locate an element with the xpath exp", |
| 2244 "ression \"+b+\" because of the following error:\\n\"+f);}};I.m=function", |
| 2245 "(a,b){if(!a||1!=a.nodeType)throw new q(32,'The result of the xpath expr", |
| 2246 "ession \"'+b+'\" is: '+a+\". It should be an element.\");};\nI.d=functi", |
| 2247 "on(a,b){var c=function(){var c=I.h(b,a,9);return c?c.singleNodeValue||n", |
| 2248 "ull:b.selectSingleNode?(c=w(b),c.setProperty&&c.setProperty(\"Selection", |
| 2249 "Language\",\"XPath\"),b.selectSingleNode(a)):null}();null===c||I.m(c,a)", |
| 2250 ";return c};\nI.c=function(a,b){var c=function(){var c=I.h(b,a,7);if(c){", |
| 2251 "for(var e=c.snapshotLength,f=[],g=0;g<e;++g)f.push(c.snapshotItem(g));r", |
| 2252 "eturn f}return b.selectNodes?(c=w(b),c.setProperty&&c.setProperty(\"Sel", |
| 2253 "ectionLanguage\",\"XPath\"),b.selectNodes(a)):[]}();m(c,function(b){I.m", |
| 2254 "(b,a)});return c};function J(a,b,c,d){this.top=a;this.right=b;this.bott", |
| 2255 "om=c;this.left=d}J.prototype.toString=function(){return\"(\"+this.top+", |
| 2256 "\"t, \"+this.right+\"r, \"+this.bottom+\"b, \"+this.left+\"l)\"};J.prot", |
| 2257 "otype.contains=function(a){return this&&a?a instanceof J?a.left>=this.l", |
| 2258 "eft&&a.right<=this.right&&a.top>=this.top&&a.bottom<=this.bottom:a.x>=t", |
| 2259 "his.left&&a.x<=this.right&&a.y>=this.top&&a.y<=this.bottom:!1};\nJ.prot", |
| 2260 "otype.ceil=function(){this.top=Math.ceil(this.top);this.right=Math.ceil", |
| 2261 "(this.right);this.bottom=Math.ceil(this.bottom);this.left=Math.ceil(thi", |
| 2262 "s.left);return this};J.prototype.floor=function(){this.top=Math.floor(t", |
| 2263 "his.top);this.right=Math.floor(this.right);this.bottom=Math.floor(this.", |
| 2264 "bottom);this.left=Math.floor(this.left);return this};\nJ.prototype.roun", |
| 2265 "d=function(){this.top=Math.round(this.top);this.right=Math.round(this.r", |
| 2266 "ight);this.bottom=Math.round(this.bottom);this.left=Math.round(this.lef", |
| 2267 "t);return this};function K(a,b,c,d){this.left=a;this.top=b;this.width=c", |
| 2268 ";this.height=d}K.prototype.toString=function(){return\"(\"+this.left+\"", |
| 2269 ", \"+this.top+\" - \"+this.width+\"w x \"+this.height+\"h)\"};K.prototy", |
| 2270 "pe.contains=function(a){return a instanceof K?this.left<=a.left&&this.l", |
| 2271 "eft+this.width>=a.left+a.width&&this.top<=a.top&&this.top+this.height>=", |
| 2272 "a.top+a.height:a.x>=this.left&&a.x<=this.left+this.width&&a.y>=this.top", |
| 2273 "&&a.y<=this.top+this.height};\nK.prototype.ceil=function(){this.left=Ma", |
| 2274 "th.ceil(this.left);this.top=Math.ceil(this.top);this.width=Math.ceil(th", |
| 2275 "is.width);this.height=Math.ceil(this.height);return this};K.prototype.f", |
| 2276 "loor=function(){this.left=Math.floor(this.left);this.top=Math.floor(thi", |
| 2277 "s.top);this.width=Math.floor(this.width);this.height=Math.floor(this.he", |
| 2278 "ight);return this};\nK.prototype.round=function(){this.left=Math.round(", |
| 2279 "this.left);this.top=Math.round(this.top);this.width=Math.round(this.wid", |
| 2280 "th);this.height=Math.round(this.height);return this};function L(a,b){re", |
| 2281 "turn!!a&&1==a.nodeType&&(!b||a.tagName.toUpperCase()==b)}var Ja=/[;]+(?", |
| 2282 "=(?:(?:[^\"]*\"){2})*[^\"]*$)(?=(?:(?:[^']*'){2})*[^']*$)(?=(?:[^()]*", |
| 2283 "\\([^()]*\\))*[^()]*$)/;function Ka(a){var b=[];m(a.split(Ja),function(", |
| 2284 "a){var d=a.indexOf(\":\");0<d&&(a=[a.slice(0,d),a.slice(d+1)],2==a.leng", |
| 2285 "th&&b.push(a[0].toLowerCase(),\":\",a[1],\";\"))});b=b.join(\"\");retur", |
| 2286 "n b=\";\"==b.charAt(b.length-1)?b:b+\";\"}\nfunction M(a,b){b=b.toLower", |
| 2287 "Case();if(\"style\"==b)return Ka(a.style.cssText);var c=a.getAttributeN", |
| 2288 "ode(b);return c&&c.specified?c.value:null}function N(a){for(a=a.parentN", |
| 2289 "ode;a&&1!=a.nodeType&&9!=a.nodeType&&11!=a.nodeType;)a=a.parentNode;ret", |
| 2290 "urn L(a)?a:null}\nfunction P(a,b){var c=fa(b);if(\"float\"==c||\"cssFlo", |
| 2291 "at\"==c||\"styleFloat\"==c)c=\"cssFloat\";var d;a:{d=c;var e=w(a);if(e.", |
| 2292 "defaultView&&e.defaultView.getComputedStyle&&(e=e.defaultView.getComput", |
| 2293 "edStyle(a,null))){d=e[d]||e.getPropertyValue(d)||\"\";break a}d=\"\"}d=", |
| 2294 "d||La(a,c);if(null===d)d=null;else if(n(oa,c)){b:{var f=d.match(ra);if(", |
| 2295 "f){var c=Number(f[1]),e=Number(f[2]),g=Number(f[3]),f=Number(f[4]);if(0", |
| 2296 "<=c&&255>=c&&0<=e&&255>=e&&0<=g&&255>=g&&0<=f&&1>=f){c=[c,e,g,f];break ", |
| 2297 "b}}c=null}if(!c){b:{if(g=d.match(sa))if(c=\nNumber(g[1]),e=Number(g[2])", |
| 2298 ",g=Number(g[3]),0<=c&&255>=c&&0<=e&&255>=e&&0<=g&&255>=g){c=[c,e,g,1];b", |
| 2299 "reak b}c=null}if(!c)b:{c=d.toLowerCase();e=na[c.toLowerCase()];if(!e&&(", |
| 2300 "e=\"#\"==c.charAt(0)?c:\"#\"+c,4==e.length&&(e=e.replace(pa,\"#$1$1$2$2", |
| 2301 "$3$3\")),!qa.test(e))){c=null;break b}c=[parseInt(e.substr(1,2),16),par", |
| 2302 "seInt(e.substr(3,2),16),parseInt(e.substr(5,2),16),1]}}d=c?\"rgba(\"+c.", |
| 2303 "join(\", \")+\")\":d}return d}\nfunction La(a,b){var c=a.currentStyle||", |
| 2304 "a.style,d=c[b];void 0===d&&k(c.getPropertyValue)&&(d=c.getPropertyValue", |
| 2305 "(b));return\"inherit\"!=d?void 0!==d?d:null:(c=N(a))?La(c,b):null}\nfun", |
| 2306 "ction Ma(a,b){function c(a){if(\"none\"==P(a,\"display\"))return!1;a=N(", |
| 2307 "a);return!a||c(a)}function d(a){var b=Q(a);return 0<b.height&&0<b.width", |
| 2308 "?!0:L(a,\"PATH\")&&(0<b.height||0<b.width)?(a=P(a,\"stroke-width\"),!!a", |
| 2309 "&&0<parseInt(a,10)):\"hidden\"!=P(a,\"overflow\")&&ja(a.childNodes,func", |
| 2310 "tion(a){return 3==a.nodeType||L(a)&&d(a)})}function e(a){return Na(a)==", |
| 2311 "R&&ka(a.childNodes,function(a){return!L(a)||e(a)})}if(!L(a))throw Error", |
| 2312 "(\"Argument to isShown must be of type Element\");if(L(a,\"BODY\"))retu", |
| 2313 "rn!0;if(L(a,\"OPTION\")||\nL(a,\"OPTGROUP\")){var f=za(a,function(a){re", |
| 2314 "turn L(a,\"SELECT\")});return!!f&&Ma(f,!0)}return(f=Oa(a))?!!f.o&&0<f.r", |
| 2315 "ect.width&&0<f.rect.height&&Ma(f.o,b):L(a,\"INPUT\")&&\"hidden\"==a.typ", |
| 2316 "e.toLowerCase()||L(a,\"NOSCRIPT\")||\"hidden\"==P(a,\"visibility\")||!c", |
| 2317 "(a)||!b&&0==Pa(a)||!d(a)?!1:!e(a)}var R=\"hidden\";\nfunction Na(a){fun", |
| 2318 "ction b(a){function b(a){return a==g?!0:0==P(a,\"display\").lastIndexOf", |
| 2319 "(\"inline\",0)||\"absolute\"==c&&\"static\"==P(a,\"position\")?!1:!0}va", |
| 2320 "r c=P(a,\"position\");if(\"fixed\"==c)return O=!0,a==g?null:g;for(a=N(a", |
| 2321 ");a&&!b(a);)a=N(a);return a}function c(a){var b=a;if(\"visible\"==W)if(", |
| 2322 "a==g&&y)b=y;else if(a==y)return{x:\"visible\",y:\"visible\"};b={x:P(b,", |
| 2323 "\"overflow-x\"),y:P(b,\"overflow-y\")};a==g&&(b.x=\"visible\"==b.x?\"au", |
| 2324 "to\":b.x,b.y=\"visible\"==b.y?\"auto\":b.y);return b}function d(a){if(a", |
| 2325 "==g){var b=(new v(f)).j;\na=b.body||b.documentElement;b=b.parentWindow|", |
| 2326 "|b.defaultView;a=new r(b.pageXOffset||a.scrollLeft,b.pageYOffset||a.scr", |
| 2327 "ollTop)}else a=new r(a.scrollLeft,a.scrollTop);return a}var e=Qa(a),f=w", |
| 2328 "(a),g=f.documentElement,y=f.body,W=P(g,\"overflow\"),O;for(a=b(a);a;a=b", |
| 2329 "(a)){var p=c(a);if(\"visible\"!=p.x||\"visible\"!=p.y){var s=Q(a);if(0=", |
| 2330 "=s.width||0==s.height)return R;var C=e.right<s.left,X=e.bottom<s.top;if", |
| 2331 "(C&&\"hidden\"==p.x||X&&\"hidden\"==p.y)return R;if(C&&\"visible\"!=p.x", |
| 2332 "||X&&\"visible\"!=p.y){C=d(a);X=e.bottom<s.top-\nC.y;if(e.right<s.left-", |
| 2333 "C.x&&\"visible\"!=p.x||X&&\"visible\"!=p.x)return R;e=Na(a);return e==R", |
| 2334 "?R:\"scroll\"}C=e.left>=s.left+s.width;s=e.top>=s.top+s.height;if(C&&\"", |
| 2335 "hidden\"==p.x||s&&\"hidden\"==p.y)return R;if(C&&\"visible\"!=p.x||s&&", |
| 2336 "\"visible\"!=p.y){if(O&&(p=d(a),e.left>=g.scrollWidth-p.x||e.right>=g.s", |
| 2337 "crollHeight-p.y))return R;e=Na(a);return e==R?R:\"scroll\"}}}return\"no", |
| 2338 "ne\"}\nfunction Q(a){var b=Oa(a);if(b)return b.rect;if(L(a,\"HTML\"))re", |
| 2339 "turn a=w(a),a=((a?a.parentWindow||a.defaultView:window)||window).docume", |
| 2340 "nt,a=\"CSS1Compat\"==a.compatMode?a.documentElement:a.body,a=new t(a.cl", |
| 2341 "ientWidth,a.clientHeight),new K(0,0,a.width,a.height);var c;try{c=a.get", |
| 2342 "BoundingClientRect()}catch(d){return new K(0,0,0,0)}return new K(c.left", |
| 2343 ",c.top,c.right-c.left,c.bottom-c.top)}\nfunction Oa(a){var b=L(a,\"MAP", |
| 2344 "\");if(!b&&!L(a,\"AREA\"))return null;var c=b?a:L(a.parentNode,\"MAP\")", |
| 2345 "?a.parentNode:null,d=null,e=null;if(c&&c.name&&(d=I.d('/descendant::*[@", |
| 2346 "usemap = \"#'+c.name+'\"]',w(c)))&&(e=Q(d),!b&&\"default\"!=a.shape.toL", |
| 2347 "owerCase())){var f=Ra(a);a=Math.min(Math.max(f.left,0),e.width);b=Math.", |
| 2348 "min(Math.max(f.top,0),e.height);c=Math.min(f.width,e.width-a);f=Math.mi", |
| 2349 "n(f.height,e.height-b);e=new K(a+e.left,b+e.top,c,f)}return{o:d,rect:e|", |
| 2350 "|new K(0,0,0,0)}}\nfunction Ra(a){var b=a.shape.toLowerCase();a=a.coord", |
| 2351 "s.split(\",\");if(\"rect\"==b&&4==a.length){var b=a[0],c=a[1];return ne", |
| 2352 "w K(b,c,a[2]-b,a[3]-c)}if(\"circle\"==b&&3==a.length)return b=a[2],new ", |
| 2353 "K(a[0]-b,a[1]-b,2*b,2*b);if(\"poly\"==b&&2<a.length){for(var b=a[0],c=a", |
| 2354 "[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])", |
| 2355 ",c=Math.min(c,a[f+1]),e=Math.max(e,a[f+1]);return new K(b,c,d-b,e-c)}re", |
| 2356 "turn new K(0,0,0,0)}function Qa(a){a=Q(a);return new J(a.top,a.left+a.w", |
| 2357 "idth,a.top+a.height,a.left)}\nfunction Sa(a){return a.replace(/^[^\\S", |
| 2358 "\\xa0]+|[^\\S\\xa0]+$/g,\"\")}function Ta(a){var b=[];Ua(a,b);var c=b;a", |
| 2359 "=c.length;for(var b=Array(a),c=h(c)?c.split(\"\"):c,d=0;d<a;d++)d in c&", |
| 2360 "&(b[d]=Sa.call(void 0,c[d]));return Sa(b.join(\"\\n\")).replace(/\\xa0/", |
| 2361 "g,\" \")}\nfunction Ua(a,b){if(L(a,\"BR\"))b.push(\"\");else{var c=L(a,", |
| 2362 "\"TD\"),d=P(a,\"display\"),e=!c&&!n(Va,d),f=void 0!=a.previousElementSi", |
| 2363 "bling?a.previousElementSibling:va(a.previousSibling),f=f?P(f,\"display", |
| 2364 "\"):\"\",g=P(a,\"float\")||P(a,\"cssFloat\")||P(a,\"styleFloat\");!e||", |
| 2365 "\"run-in\"==f&&\"none\"==g||/^[\\s\\xa0]*$/.test(b[b.length-1]||\"\")||", |
| 2366 "b.push(\"\");var y=Ma(a),W=null,O=null;y&&(W=P(a,\"white-space\"),O=P(a", |
| 2367 ",\"text-transform\"));m(a.childNodes,function(a){3==a.nodeType&&y?Wa(a,", |
| 2368 "b,W,O):L(a)&&Ua(a,b)});f=b[b.length-1]||\"\";!c&&\"table-cell\"!=\nd||!", |
| 2369 "f||ea(f)||(b[b.length-1]+=\" \");e&&\"run-in\"!=d&&!/^[\\s\\xa0]*$/.tes", |
| 2370 "t(f)&&b.push(\"\")}}var Va=\"inline inline-block inline-table none tabl", |
| 2371 "e-cell table-column table-column-group\".split(\" \");\nfunction Wa(a,b", |
| 2372 ",c,d){a=a.nodeValue.replace(/[\\u200b\\u200e\\u200f]/g,\"\");a=a.replac", |
| 2373 "e(/(\\r\\n|\\r|\\n)/g,\"\\n\");if(\"normal\"==c||\"nowrap\"==c)a=a.repl", |
| 2374 "ace(/\\n/g,\" \");a=\"pre\"==c||\"pre-wrap\"==c?a.replace(/[ \\f\\t\\v", |
| 2375 "\\u2028\\u2029]/g,\"\\u00a0\"):a.replace(/[\\ \\f\\t\\v\\u2028\\u2029]+", |
| 2376 "/g,\" \");\"capitalize\"==d?a=a.replace(/(^|\\s)(\\S)/g,function(a,b,c)", |
| 2377 "{return b+c.toUpperCase()}):\"uppercase\"==d?a=a.toUpperCase():\"lowerc", |
| 2378 "ase\"==d&&(a=a.toLowerCase());c=b.pop()||\"\";ea(c)&&0==a.lastIndexOf(", |
| 2379 "\" \",0)&&(a=a.substr(1));b.push(c+a)}\nfunction Pa(a){var b=1,c=P(a,\"", |
| 2380 "opacity\");c&&(b=Number(c));(a=N(a))&&(b*=Pa(a));return b};var S={l:fun", |
| 2381 "ction(a){return!(!a.querySelectorAll||!a.querySelector)},d:function(a,b", |
| 2382 "){if(!a)throw new q(32,\"No class name specified\");a=l(a);if(-1!==a.in", |
| 2383 "dexOf(\" \"))throw new q(32,\"Compound class names not permitted\");if(", |
| 2384 "S.l(b))try{return b.querySelector(\".\"+a.replace(/\\./g,\"\\\\.\"))||n", |
| 2385 "ull}catch(c){throw new q(32,\"An invalid or illegal class name was spec", |
| 2386 "ified\");}var d=z(u(b),\"*\",a,b);return d.length?d[0]:null},c:function", |
| 2387 "(a,b){if(!a)throw new q(32,\"No class name specified\");a=l(a);if(-1!==", |
| 2388 "a.indexOf(\" \"))throw new q(32,\n\"Compound class names not permitted", |
| 2389 "\");if(S.l(b))try{return b.querySelectorAll(\".\"+a.replace(/\\./g,\"", |
| 2390 "\\\\.\"))}catch(c){throw new q(32,\"An invalid or illegal class name wa", |
| 2391 "s specified\");}return z(u(b),\"*\",a,b)}};var T={d:function(a,b){k(b.q", |
| 2392 "uerySelector);if(!a)throw new q(32,\"No selector specified\");a=l(a);va", |
| 2393 "r c;try{c=b.querySelector(a)}catch(d){throw new q(32,\"An invalid or il", |
| 2394 "legal selector was specified\");}return c&&1==c.nodeType?c:null},c:func", |
| 2395 "tion(a,b){k(b.querySelectorAll);if(!a)throw new q(32,\"No selector spec", |
| 2396 "ified\");a=l(a);try{return b.querySelectorAll(a)}catch(c){throw new q(3", |
| 2397 "2,\"An invalid or illegal selector was specified\");}}};var U={},V={};U", |
| 2398 ".u=function(a,b,c){var d;try{d=T.c(\"a\",b)}catch(e){d=z(u(b),\"A\",nul", |
| 2399 "l,b)}return la(d,function(b){b=Ta(b);return c&&-1!=b.indexOf(a)||b==a})", |
| 2400 "};U.q=function(a,b,c){var d;try{d=T.c(\"a\",b)}catch(e){d=z(u(b),\"A\",", |
| 2401 "null,b)}return ha(d,function(b){b=Ta(b);return c&&-1!=b.indexOf(a)||b==", |
| 2402 "a})};U.d=function(a,b){return U.u(a,b,!1)};U.c=function(a,b){return U.q", |
| 2403 "(a,b,!1)};V.d=function(a,b){return U.u(a,b,!0)};V.c=function(a,b){retur", |
| 2404 "n U.q(a,b,!0)};var Xa={d:function(a,b){return b.getElementsByTagName(a)", |
| 2405 "[0]||null},c:function(a,b){return b.getElementsByTagName(a)}};var Ya={c", |
| 2406 "lassName:S,\"class name\":S,css:T,\"css selector\":T,id:{d:function(a,b", |
| 2407 "){var c=u(b),d=h(a)?c.j.getElementById(a):a;if(!d)return null;if(M(d,\"", |
| 2408 "id\")==a&&x(b,d))return d;c=z(c,\"*\");return la(c,function(c){return M", |
| 2409 "(c,\"id\")==a&&x(b,c)})},c:function(a,b){var c=z(u(b),\"*\",null,b);ret", |
| 2410 "urn ha(c,function(b){return M(b,\"id\")==a})}},linkText:U,\"link text\"", |
| 2411 ":U,name:{d:function(a,b){var c=z(u(b),\"*\",null,b);return la(c,functio", |
| 2412 "n(b){return M(b,\"name\")==a})},c:function(a,b){var c=z(u(b),\"*\",null", |
| 2413 ",b);return ha(c,function(b){return M(b,\n\"name\")==a})}},partialLinkTe", |
| 2414 "xt:V,\"partial link text\":V,tagName:Xa,\"tag name\":Xa,xpath:I};functi", |
| 2415 "on Za(a){for(var b in a)if(a.hasOwnProperty(b))return b;return null};va", |
| 2416 "r $a=\"function\"===typeof ShadowRoot;function ab(a,b){var c;a:{if(c=Za", |
| 2417 "(a)){var d=Ya[c];if(d&&k(d.d)){c=d.d(a[c],b||ca.document);break a}}thro", |
| 2418 "w Error(\"Unsupported locator strategy: \"+c);}if(c)return c;if($a&&b){", |
| 2419 "for(c=b;c.parentNode;)c=c.parentNode;if(c instanceof ShadowRoot){a:{if(", |
| 2420 "(c=Za(a))&&(d=Ya[c])&&k(d.c)){c=d.c(a[c],b||ca.document);break a}throw ", |
| 2421 "Error(\"Unsupported locator strategy: \"+c);}if(c=c[0])return c}}return", |
| 2422 " null}var Y=[\"_\"],Z=aa;Y[0]in Z||!Z.execScript||Z.execScript(\"var \"", |
| 2423 "+Y[0]);\nfor(var $;Y.length&&($=Y.shift());)Y.length||void 0===ab?Z=Z[$", |
| 2424 "]?Z[$]:Z[$]={}:Z[$]=ab;; return this._.apply(null,arguments);}.apply({n", |
| 2425 "avigator:typeof window!=undefined?window.navigator:null,document:typeof", |
| 2426 " window!=undefined?window.document:null}, arguments);}", |
| 2427 NULL |
| 2428 }; |
| 2429 |
2426 const char* const GET_FIRST_CLIENT_RECT[] = { | 2430 const char* const GET_FIRST_CLIENT_RECT[] = { |
2427 "function(){return function(){var g=this;\nfunction h(a){var b=typeof a;", | 2431 "function(){return function(){var d=this;\nfunction h(a){var b=typeof a;", |
2428 "if(\"object\"==b)if(a){if(a instanceof Array)return\"array\";if(a insta", | 2432 "if(\"object\"==b)if(a){if(a instanceof Array)return\"array\";if(a insta", |
2429 "nceof Object)return b;var e=Object.prototype.toString.call(a);if(\"[obj", | 2433 "nceof Object)return b;var f=Object.prototype.toString.call(a);if(\"[obj", |
2430 "ect Window]\"==e)return\"object\";if(\"[object Array]\"==e||\"number\"=", | 2434 "ect Window]\"==f)return\"object\";if(\"[object Array]\"==f||\"number\"=", |
2431 "=typeof a.length&&\"undefined\"!=typeof a.splice&&\"undefined\"!=typeof", | 2435 "=typeof a.length&&\"undefined\"!=typeof a.splice&&\"undefined\"!=typeof", |
2432 " a.propertyIsEnumerable&&!a.propertyIsEnumerable(\"splice\"))return\"ar", | 2436 " a.propertyIsEnumerable&&!a.propertyIsEnumerable(\"splice\"))return\"ar", |
2433 "ray\";if(\"[object Function]\"==e||\"undefined\"!=typeof a.call&&\"unde", | 2437 "ray\";if(\"[object Function]\"==f||\"undefined\"!=typeof a.call&&\"unde", |
2434 "fined\"!=typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable(\"call", | 2438 "fined\"!=typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable(\"call", |
2435 "\"))return\"function\"}else return\"null\";else if(\"function\"==\nb&&", | 2439 "\"))return\"function\"}else return\"null\";else if(\"function\"==\nb&&", |
2436 "\"undefined\"==typeof a.call)return\"object\";return b};var k;function ", | 2440 "\"undefined\"==typeof a.call)return\"object\";return b};var k;function ", |
2437 "l(a,b){this.x=void 0!==a?a:0;this.y=void 0!==b?b:0}l.prototype.toString", | 2441 "l(a,b){this.x=void 0!==a?a:0;this.y=void 0!==b?b:0}l.prototype.toString", |
2438 "=function(){return\"(\"+this.x+\", \"+this.y+\")\"};function m(a){retur", | 2442 "=function(){return\"(\"+this.x+\", \"+this.y+\")\"};function m(a){retur", |
2439 "n 9==a.nodeType?a:a.ownerDocument||a.document}function n(a){this.b=a||g", | 2443 "n 9==a.nodeType?a:a.ownerDocument||a.document}function n(a){this.c=a||d", |
2440 ".document||document}function p(a){var b=a.b;a=b.body||b.documentElement", | 2444 ".document||document}function p(a){var b=a.c;a=b.body||b.documentElement", |
2441 ";b=b.parentWindow||b.defaultView;return new l(b.pageXOffset||a.scrollLe", | 2445 ";b=b.parentWindow||b.defaultView;return new l(b.pageXOffset||a.scrollLe", |
2442 "ft,b.pageYOffset||a.scrollTop)};function q(a,b,e,d){this.left=a;this.to", | 2446 "ft,b.pageYOffset||a.scrollTop)};function q(a){this.d=a}q.prototype.toSt", |
2443 "p=b;this.width=e;this.height=d}q.prototype.toString=function(){return\"", | 2447 "ring=function(){return this.d};var r={};function s(a){if(r.hasOwnProper", |
2444 "(\"+this.left+\", \"+this.top+\" - \"+this.width+\"w x \"+this.height+", | 2448 "ty(a))throw Error(\"Binary operator already created: \"+a);a=new q(a);r", |
2445 "\"h)\"};function s(a){var b;a:{b=m(a);if(b.defaultView&&b.defaultView.g", | 2449 "[a.toString()]=a}s(\"div\");s(\"mod\");s(\"*\");s(\"+\");s(\"-\");s(\"<", |
2446 "etComputedStyle&&(b=b.defaultView.getComputedStyle(a,null))){b=b.positi", | 2450 "\");s(\">\");s(\"<=\");s(\">=\");s(\"=\");s(\"!=\");s(\"and\");s(\"or\"", |
2447 "on||b.getPropertyValue(\"position\")||\"\";break a}b=\"\"}return b||(a.", | 2451 ");function t(a){this.a=a}t.prototype.toString=function(){return this.a}", |
2448 "currentStyle?a.currentStyle.position:null)||a.style&&a.style.position}f", | 2452 ";var v={};function w(a){if(v.hasOwnProperty(a))throw Error(\"Function a", |
2449 "unction t(a){var b;try{b=a.getBoundingClientRect()}catch(e){return{left", | 2453 "lready created: \"+a+\".\");v[a]=new t(a)}w(\"boolean\");w(\"ceiling\")", |
2450 ":0,top:0,right:0,bottom:0}}return b}\nfunction u(a){var b=m(a),e=s(a),d", | 2454 ";w(\"concat\");w(\"contains\");w(\"count\");w(\"false\");w(\"floor\");w", |
2451 "=\"fixed\"==e||\"absolute\"==e;for(a=a.parentNode;a&&a!=b;a=a.parentNod", | 2455 "(\"id\");w(\"lang\");w(\"last\");w(\"local-name\");w(\"name\");w(\"name", |
2452 "e)if(e=s(a),d=d&&\"static\"==e&&a!=b.documentElement&&a!=b.body,!d&&(a.", | 2456 "space-uri\");w(\"normalize-space\");w(\"not\");w(\"number\");w(\"positi", |
2453 "scrollWidth>a.clientWidth||a.scrollHeight>a.clientHeight||\"fixed\"==e|", | 2457 "on\");w(\"round\");w(\"starts-with\");w(\"string\");w(\"string-length\"", |
2454 "|\"absolute\"==e||\"relative\"==e))return a;return null};function v(a){", | 2458 ");w(\"substring\");w(\"substring-after\");w(\"substring-before\");\nw(", |
2455 "var b=a.getClientRects();if(0==b.length)throw Error(\"Element does not ", | 2459 "\"sum\");w(\"translate\");w(\"true\");function x(a){this.a=a}x.prototyp", |
2456 "have any client rects\");b=b[0];if(1==a.nodeType)if(a.getBoundingClient", | 2460 "e.toString=function(){return this.a};var y={};function z(a){if(y.hasOwn", |
2457 "Rect)a=t(a),a=new l(a.left,a.top);else{var e=p(a?new n(m(a)):k||(k=new ", | 2461 "Property(a))throw Error(\"Axis already created: \"+a);y[a]=new x(a)}z(", |
2458 "n));var d=m(a),z=s(a),c=new l(0,0),r=(d?m(d):document).documentElement;", | 2462 "\"ancestor\");z(\"ancestor-or-self\");z(\"attribute\");z(\"child\");z(", |
2459 "if(a!=r)if(a.getBoundingClientRect)a=t(a),d=p(d?new n(m(d)):k||(k=new n", | 2463 "\"descendant\");z(\"descendant-or-self\");z(\"following\");z(\"followin", |
2460 ")),c.x=a.left+d.x,c.y=a.top+d.y;else if(d.getBoxObjectFor)a=d.getBoxObj", | 2464 "g-sibling\");z(\"namespace\");z(\"parent\");z(\"preceding\");z(\"preced", |
2461 "ectFor(a),d=d.getBoxObjectFor(r),c.x=a.screenX-d.screenX,c.y=a.screenY-", | 2465 "ing-sibling\");z(\"self\");function A(a,b,f,e){this.left=a;this.top=b;t", |
2462 "\nd.screenY;else{var f=a;do{c.x+=f.offsetLeft;c.y+=f.offsetTop;f!=a&&(c", | 2466 "his.width=f;this.height=e}A.prototype.toString=function(){return\"(\"+t", |
2463 ".x+=f.clientLeft||0,c.y+=f.clientTop||0);if(\"fixed\"==s(f)){c.x+=d.bod", | 2467 "his.left+\", \"+this.top+\" - \"+this.width+\"w x \"+this.height+\"h)\"", |
2464 "y.scrollLeft;c.y+=d.body.scrollTop;break}f=f.offsetParent}while(f&&f!=a", | 2468 "};function B(a){var b;a:{b=m(a);if(b.defaultView&&b.defaultView.getComp", |
2465 ");\"absolute\"==z&&(c.y-=d.body.offsetTop);for(f=a;(f=u(f))&&f!=d.body&", | 2469 "utedStyle&&(b=b.defaultView.getComputedStyle(a,null))){b=b.position||b.", |
2466 "&f!=r;)c.x-=f.scrollLeft,c.y-=f.scrollTop}a=new l(c.x-e.x,c.y-e.y)}else", | 2470 "getPropertyValue(\"position\")||\"\";break a}b=\"\"}return b||(a.curren", |
2467 " e=\"function\"==h(a.a),c=a,a.targetTouches?c=a.targetTouches[0]:e&&a.a", | 2471 "tStyle?a.currentStyle.position:null)||a.style&&a.style.position}functio", |
2468 "().targetTouches&&(c=a.a().targetTouches[0]),a=new l(c.clientX,c.client", | 2472 "n C(a){var b;try{b=a.getBoundingClientRect()}catch(f){return{left:0,top", |
2469 "Y);return new q(b.left-\na.x,b.top-a.y,b.right-b.left,b.bottom-b.top)}v", | 2473 ":0,right:0,bottom:0}}return b}\nfunction D(a){var b=m(a),f=B(a),e=\"fix", |
2470 "ar w=[\"_\"],x=g;w[0]in x||!x.execScript||x.execScript(\"var \"+w[0]);f", | 2474 "ed\"==f||\"absolute\"==f;for(a=a.parentNode;a&&a!=b;a=a.parentNode)if(f", |
2471 "or(var y;w.length&&(y=w.shift());)w.length||void 0===v?x=x[y]?x[y]:x[y]", | 2475 "=B(a),e=e&&\"static\"==f&&a!=b.documentElement&&a!=b.body,!e&&(a.scroll", |
2472 "={}:x[y]=v;; return this._.apply(null,arguments);}.apply({navigator:typ", | 2476 "Width>a.clientWidth||a.scrollHeight>a.clientHeight||\"fixed\"==f||\"abs", |
2473 "eof window!=undefined?window.navigator:null,document:typeof window!=und", | 2477 "olute\"==f||\"relative\"==f))return a;return null};function E(a){var b=", |
2474 "efined?window.document:null}, arguments);}", | 2478 "a.getClientRects();if(0==b.length)throw Error(\"Element does not have a", |
| 2479 "ny client rects\");b=b[0];if(1==a.nodeType)if(a.getBoundingClientRect)a", |
| 2480 "=C(a),a=new l(a.left,a.top);else{var f=p(a?new n(m(a)):k||(k=new n));va", |
| 2481 "r e=m(a),I=B(a),c=new l(0,0),u=(e?m(e):document).documentElement;if(a!=", |
| 2482 "u)if(a.getBoundingClientRect)a=C(a),e=p(e?new n(m(e)):k||(k=new n)),c.x", |
| 2483 "=a.left+e.x,c.y=a.top+e.y;else if(e.getBoxObjectFor)a=e.getBoxObjectFor", |
| 2484 "(a),e=e.getBoxObjectFor(u),c.x=a.screenX-e.screenX,c.y=a.screenY-\ne.sc", |
| 2485 "reenY;else{var g=a;do{c.x+=g.offsetLeft;c.y+=g.offsetTop;g!=a&&(c.x+=g.", |
| 2486 "clientLeft||0,c.y+=g.clientTop||0);if(\"fixed\"==B(g)){c.x+=e.body.scro", |
| 2487 "llLeft;c.y+=e.body.scrollTop;break}g=g.offsetParent}while(g&&g!=a);\"ab", |
| 2488 "solute\"==I&&(c.y-=e.body.offsetTop);for(g=a;(g=D(g))&&g!=e.body&&g!=u;", |
| 2489 ")c.x-=g.scrollLeft,c.y-=g.scrollTop}a=new l(c.x-f.x,c.y-f.y)}else f=\"f", |
| 2490 "unction\"==h(a.b),c=a,a.targetTouches?c=a.targetTouches[0]:f&&a.b().tar", |
| 2491 "getTouches&&(c=a.b().targetTouches[0]),a=new l(c.clientX,c.clientY);ret", |
| 2492 "urn new A(b.left-\na.x,b.top-a.y,b.right-b.left,b.bottom-b.top)}var F=[", |
| 2493 "\"_\"],G=d;F[0]in G||!G.execScript||G.execScript(\"var \"+F[0]);for(var", |
| 2494 " H;F.length&&(H=F.shift());)F.length||void 0===E?G=G[H]?G[H]:G[H]={}:G[", |
| 2495 "H]=E;; return this._.apply(null,arguments);}.apply({navigator:typeof wi", |
| 2496 "ndow!=undefined?window.navigator:null,document:typeof window!=undefined", |
| 2497 "?window.document:null}, arguments);}", |
2475 NULL | 2498 NULL |
2476 }; | 2499 }; |
2477 | 2500 |
2478 const char* const GET_LOCATION_IN_VIEW[] = { | 2501 const char* const GET_LOCATION_IN_VIEW[] = { |
2479 "function(){return function(){var k=this;\nfunction l(a){var b=typeof a;", | 2502 "function(){return function(){var f=this;\nfunction k(a){var b=typeof a;", |
2480 "if(\"object\"==b)if(a){if(a instanceof Array)return\"array\";if(a insta", | 2503 "if(\"object\"==b)if(a){if(a instanceof Array)return\"array\";if(a insta", |
2481 "nceof Object)return b;var c=Object.prototype.toString.call(a);if(\"[obj", | 2504 "nceof Object)return b;var c=Object.prototype.toString.call(a);if(\"[obj", |
2482 "ect Window]\"==c)return\"object\";if(\"[object Array]\"==c||\"number\"=", | 2505 "ect Window]\"==c)return\"object\";if(\"[object Array]\"==c||\"number\"=", |
2483 "=typeof a.length&&\"undefined\"!=typeof a.splice&&\"undefined\"!=typeof", | 2506 "=typeof a.length&&\"undefined\"!=typeof a.splice&&\"undefined\"!=typeof", |
2484 " a.propertyIsEnumerable&&!a.propertyIsEnumerable(\"splice\"))return\"ar", | 2507 " a.propertyIsEnumerable&&!a.propertyIsEnumerable(\"splice\"))return\"ar", |
2485 "ray\";if(\"[object Function]\"==c||\"undefined\"!=typeof a.call&&\"unde", | 2508 "ray\";if(\"[object Function]\"==c||\"undefined\"!=typeof a.call&&\"unde", |
2486 "fined\"!=typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable(\"call", | 2509 "fined\"!=typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable(\"call", |
2487 "\"))return\"function\"}else return\"null\";else if(\"function\"==\nb&&", | 2510 "\"))return\"function\"}else return\"null\";else if(\"function\"==\nb&&", |
2488 "\"undefined\"==typeof a.call)return\"object\";return b};var m;function ", | 2511 "\"undefined\"==typeof a.call)return\"object\";return b};var l;function ", |
2489 "n(a,b){this.x=void 0!==a?a:0;this.y=void 0!==b?b:0}n.prototype.toString", | 2512 "n(a,b){this.x=void 0!==a?a:0;this.y=void 0!==b?b:0}n.prototype.toString", |
2490 "=function(){return\"(\"+this.x+\", \"+this.y+\")\"};function p(a,b){thi", | 2513 "=function(){return\"(\"+this.x+\", \"+this.y+\")\"};function p(a,b){thi", |
2491 "s.width=a;this.height=b}p.prototype.toString=function(){return\"(\"+thi", | 2514 "s.width=a;this.height=b}p.prototype.toString=function(){return\"(\"+thi", |
2492 "s.width+\" x \"+this.height+\")\"};function q(a){return a?new r(s(a)):m", | 2515 "s.width+\" x \"+this.height+\")\"};function q(a){return a?new r(s(a)):l", |
2493 "||(m=new r)}function s(a){return 9==a.nodeType?a:a.ownerDocument||a.doc", | 2516 "||(l=new r)}function s(a){return 9==a.nodeType?a:a.ownerDocument||a.doc", |
2494 "ument}function r(a){this.a=a||k.document||document}function t(a){a=a.a;", | 2517 "ument}function r(a){this.b=a||f.document||document}function t(a){a=a.b;", |
2495 "a=(a.parentWindow||a.defaultView||window).document;a=\"CSS1Compat\"==a.", | 2518 "a=(a.parentWindow||a.defaultView||window).document;a=\"CSS1Compat\"==a.", |
2496 "compatMode?a.documentElement:a.body;return new p(a.clientWidth,a.client", | 2519 "compatMode?a.documentElement:a.body;return new p(a.clientWidth,a.client", |
2497 "Height)}function u(a){var b=a.a;a=b.body||b.documentElement;b=b.parentW", | 2520 "Height)}function u(a){var b=a.b;a=b.body||b.documentElement;b=b.parentW", |
2498 "indow||b.defaultView;return new n(b.pageXOffset||a.scrollLeft,b.pageYOf", | 2521 "indow||b.defaultView;return new n(b.pageXOffset||a.scrollLeft,b.pageYOf", |
2499 "fset||a.scrollTop)};function v(a,b,c,d){this.top=a;this.right=b;this.bo", | 2522 "fset||a.scrollTop)};function v(a){this.d=a}v.prototype.toString=functio", |
2500 "ttom=c;this.left=d}v.prototype.toString=function(){return\"(\"+this.top", | 2523 "n(){return this.d};var w={};function x(a){if(w.hasOwnProperty(a))throw ", |
2501 "+\"t, \"+this.right+\"r, \"+this.bottom+\"b, \"+this.left+\"l)\"};funct", | 2524 "Error(\"Binary operator already created: \"+a);a=new v(a);w[a.toString(", |
2502 "ion w(a,b,c,d){this.left=a;this.top=b;this.width=c;this.height=d}w.prot", | 2525 ")]=a}x(\"div\");x(\"mod\");x(\"*\");x(\"+\");x(\"-\");x(\"<\");x(\">\")", |
2503 "otype.toString=function(){return\"(\"+this.left+\", \"+this.top+\" - \"", | 2526 ";x(\"<=\");x(\">=\");x(\"=\");x(\"!=\");x(\"and\");x(\"or\");function y", |
2504 "+this.width+\"w x \"+this.height+\"h)\"};function x(a,b){var c=s(a);ret", | 2527 "(a){this.a=a}y.prototype.toString=function(){return this.a};var z={};fu", |
2505 "urn c.defaultView&&c.defaultView.getComputedStyle&&(c=c.defaultView.get", | 2528 "nction A(a){if(z.hasOwnProperty(a))throw Error(\"Function already creat", |
2506 "ComputedStyle(a,null))?c[b]||c.getPropertyValue(b)||\"\":\"\"}function ", | 2529 "ed: \"+a+\".\");z[a]=new y(a)}A(\"boolean\");A(\"ceiling\");A(\"concat", |
2507 "y(a){return x(a,\"position\")||(a.currentStyle?a.currentStyle.position:", | 2530 "\");A(\"contains\");A(\"count\");A(\"false\");A(\"floor\");A(\"id\");A(", |
2508 "null)||a.style&&a.style.position}function z(a){var b;try{b=a.getBoundin", | 2531 "\"lang\");A(\"last\");A(\"local-name\");A(\"name\");A(\"namespace-uri\"", |
2509 "gClientRect()}catch(c){return{left:0,top:0,right:0,bottom:0}}return b}", | 2532 ");A(\"normalize-space\");A(\"not\");A(\"number\");A(\"position\");A(\"r", |
2510 "\nfunction A(a){var b=s(a),c=y(a),d=\"fixed\"==c||\"absolute\"==c;for(a", | 2533 "ound\");A(\"starts-with\");A(\"string\");A(\"string-length\");A(\"subst", |
2511 "=a.parentNode;a&&a!=b;a=a.parentNode)if(c=y(a),d=d&&\"static\"==c&&a!=b", | 2534 "ring\");A(\"substring-after\");A(\"substring-before\");\nA(\"sum\");A(", |
2512 ".documentElement&&a!=b.body,!d&&(a.scrollWidth>a.clientWidth||a.scrollH", | 2535 "\"translate\");A(\"true\");function B(a){this.a=a}B.prototype.toString=", |
2513 "eight>a.clientHeight||\"fixed\"==c||\"absolute\"==c||\"relative\"==c))r", | 2536 "function(){return this.a};var C={};function D(a){if(C.hasOwnProperty(a)", |
2514 "eturn a;return null}\nfunction B(a){var b=s(a),c=y(a),d=new n(0,0),f=(b", | 2537 ")throw Error(\"Axis already created: \"+a);C[a]=new B(a)}D(\"ancestor\"", |
2515 "?s(b):document).documentElement;if(a==f)return d;if(a.getBoundingClient", | 2538 ");D(\"ancestor-or-self\");D(\"attribute\");D(\"child\");D(\"descendant", |
2516 "Rect)a=z(a),b=u(q(b)),d.x=a.left+b.x,d.y=a.top+b.y;else if(b.getBoxObje", | 2539 "\");D(\"descendant-or-self\");D(\"following\");D(\"following-sibling\")", |
2517 "ctFor)a=b.getBoxObjectFor(a),b=b.getBoxObjectFor(f),d.x=a.screenX-b.scr", | 2540 ";D(\"namespace\");D(\"parent\");D(\"preceding\");D(\"preceding-sibling", |
2518 "eenX,d.y=a.screenY-b.screenY;else{var e=a;do{d.x+=e.offsetLeft;d.y+=e.o", | 2541 "\");D(\"self\");function E(a,b,c,d){this.top=a;this.right=b;this.bottom", |
2519 "ffsetTop;e!=a&&(d.x+=e.clientLeft||0,d.y+=e.clientTop||0);if(\"fixed\"=", | 2542 "=c;this.left=d}E.prototype.toString=function(){return\"(\"+this.top+\"t", |
2520 "=y(e)){d.x+=b.body.scrollLeft;d.y+=b.body.scrollTop;break}e=e.offsetPar", | 2543 ", \"+this.right+\"r, \"+this.bottom+\"b, \"+this.left+\"l)\"};function ", |
2521 "ent}while(e&&e!=a);\"absolute\"==\nc&&(d.y-=b.body.offsetTop);for(e=a;(", | 2544 "F(a,b,c,d){this.left=a;this.top=b;this.width=c;this.height=d}F.prototyp", |
2522 "e=A(e))&&e!=b.body&&e!=f;)d.x-=e.scrollLeft,d.y-=e.scrollTop}return d}f", | 2545 "e.toString=function(){return\"(\"+this.left+\", \"+this.top+\" - \"+thi", |
2523 "unction C(a){if(1==a.nodeType){if(a.getBoundingClientRect)a=z(a),a=new ", | 2546 "s.width+\"w x \"+this.height+\"h)\"};function G(a,b){var c=s(a);return ", |
2524 "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", | 2547 "c.defaultView&&c.defaultView.getComputedStyle&&(c=c.defaultView.getComp", |
2525 "rn a}var b=\"function\"==l(a.b),c=a;a.targetTouches?c=a.targetTouches[0", | 2548 "utedStyle(a,null))?c[b]||c.getPropertyValue(b)||\"\":\"\"}function H(a)", |
2526 "]:b&&a.b().targetTouches&&(c=a.b().targetTouches[0]);return new n(c.cli", | 2549 "{return G(a,\"position\")||(a.currentStyle?a.currentStyle.position:null", |
2527 "entX,c.clientY)};function D(a,b){var c;c=B(b);var d=B(a);c=new n(c.x-d.", | 2550 ")||a.style&&a.style.position}function I(a){var b;try{b=a.getBoundingCli", |
2528 "x,c.y-d.y);var f,e,h;h=x(a,\"borderLeftWidth\");e=x(a,\"borderRightWidt", | 2551 "entRect()}catch(c){return{left:0,top:0,right:0,bottom:0}}return b}\nfun", |
2529 "h\");f=x(a,\"borderTopWidth\");d=x(a,\"borderBottomWidth\");d=new v(par", | 2552 "ction J(a){var b=s(a),c=H(a),d=\"fixed\"==c||\"absolute\"==c;for(a=a.pa", |
2530 "seFloat(f),parseFloat(e),parseFloat(d),parseFloat(h));c.x-=d.left;c.y-=", | 2553 "rentNode;a&&a!=b;a=a.parentNode)if(c=H(a),d=d&&\"static\"==c&&a!=b.docu", |
2531 "d.top;return c}\nfunction E(a,b,c){function d(a,b,c,d,e){d=new w(c.x+d.", | 2554 "mentElement&&a!=b.body,!d&&(a.scrollWidth>a.clientWidth||a.scrollHeight", |
2532 "left,c.y+d.top,d.width,d.height);c=[0,0];b=[b.width,b.height];var f=[d.", | 2555 ">a.clientHeight||\"fixed\"==c||\"absolute\"==c||\"relative\"==c))return", |
2533 "left,d.top];d=[d.width,d.height];for(var g=0;2>g;g++)if(d[g]>b[g])c[g]=", | 2556 " a;return null}\nfunction K(a){var b=s(a),c=H(a),d=new n(0,0),g=(b?s(b)", |
2534 "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]&&", | 2557 ":document).documentElement;if(a==g)return d;if(a.getBoundingClientRect)", |
2535 "(c[g]=f[g])}e=new n(c[0],c[1]);a.scrollLeft+=e.x;a.scrollTop+=e.y}for(v", | 2558 "a=I(a),b=u(q(b)),d.x=a.left+b.x,d.y=a.top+b.y;else if(b.getBoxObjectFor", |
2536 "ar f=s(a),e=a.parentNode,h;e&&e!=f.documentElement&&e!=f.body;)h=D(e,a)", | 2559 ")a=b.getBoxObjectFor(a),b=b.getBoxObjectFor(g),d.x=a.screenX-b.screenX,", |
2537 ",d(e,new p(e.clientWidth,e.clientHeight),h,b,c),e=e.parentNode;h=C(a);a", | 2560 "d.y=a.screenY-b.screenY;else{var e=a;do{d.x+=e.offsetLeft;d.y+=e.offset", |
2538 "=t(q(a));d(f.body,a,h,\nb,c)};function F(a,b,c){c||(c=new w(0,0,a.offse", | 2561 "Top;e!=a&&(d.x+=e.clientLeft||0,d.y+=e.clientTop||0);if(\"fixed\"==H(e)", |
2539 "tWidth,a.offsetHeight));E(a,c,b);a=C(a);return new n(a.x+c.left,a.y+c.t", | 2562 "){d.x+=b.body.scrollLeft;d.y+=b.body.scrollTop;break}e=e.offsetParent}w", |
2540 "op)}var G=[\"_\"],H=k;G[0]in H||!H.execScript||H.execScript(\"var \"+G[", | 2563 "hile(e&&e!=a);\"absolute\"==\nc&&(d.y-=b.body.offsetTop);for(e=a;(e=J(e", |
2541 "0]);for(var I;G.length&&(I=G.shift());)G.length||void 0===F?H=H[I]?H[I]", | 2564 "))&&e!=b.body&&e!=g;)d.x-=e.scrollLeft,d.y-=e.scrollTop}return d}functi", |
2542 ":H[I]={}:H[I]=F;; return this._.apply(null,arguments);}.apply({navigato", | 2565 "on L(a){if(1==a.nodeType){if(a.getBoundingClientRect)a=I(a),a=new n(a.l", |
2543 "r:typeof window!=undefined?window.navigator:null,document:typeof window", | 2566 "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}", |
2544 "!=undefined?window.document:null}, arguments);}", | 2567 "var b=\"function\"==k(a.c),c=a;a.targetTouches?c=a.targetTouches[0]:b&&", |
| 2568 "a.c().targetTouches&&(c=a.c().targetTouches[0]);return new n(c.clientX,", |
| 2569 "c.clientY)};function M(a,b){var c;c=K(b);var d=K(a);c=new n(c.x-d.x,c.y", |
| 2570 "-d.y);var g,e,m;m=G(a,\"borderLeftWidth\");e=G(a,\"borderRightWidth\");", |
| 2571 "g=G(a,\"borderTopWidth\");d=G(a,\"borderBottomWidth\");d=new E(parseFlo", |
| 2572 "at(g),parseFloat(e),parseFloat(d),parseFloat(m));c.x-=d.left;c.y-=d.top", |
| 2573 ";return c}\nfunction N(a,b,c){function d(a,b,c,d,e){d=new F(c.x+d.left,", |
| 2574 "c.y+d.top,d.width,d.height);c=[0,0];b=[b.width,b.height];var g=[d.left,", |
| 2575 "d.top];d=[d.width,d.height];for(var h=0;2>h;h++)if(d[h]>b[h])c[h]=e?g[h", |
| 2576 "]+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]", |
| 2577 "=g[h])}e=new n(c[0],c[1]);a.scrollLeft+=e.x;a.scrollTop+=e.y}for(var g=", |
| 2578 "s(a),e=a.parentNode,m;e&&e!=g.documentElement&&e!=g.body;)m=M(e,a),d(e,", |
| 2579 "new p(e.clientWidth,e.clientHeight),m,b,c),e=e.parentNode;m=L(a);a=t(q(", |
| 2580 "a));d(g.body,a,m,\nb,c)};function O(a,b,c){c||(c=new F(0,0,a.offsetWidt", |
| 2581 "h,a.offsetHeight));N(a,c,b);a=L(a);return new n(a.x+c.left,a.y+c.top)}v", |
| 2582 "ar P=[\"_\"],Q=f;P[0]in Q||!Q.execScript||Q.execScript(\"var \"+P[0]);f", |
| 2583 "or(var R;P.length&&(R=P.shift());)P.length||void 0===O?Q=Q[R]?Q[R]:Q[R]", |
| 2584 "={}:Q[R]=O;; return this._.apply(null,arguments);}.apply({navigator:typ", |
| 2585 "eof window!=undefined?window.navigator:null,document:typeof window!=und", |
| 2586 "efined?window.document:null}, arguments);}", |
2545 NULL | 2587 NULL |
2546 }; | 2588 }; |
2547 | 2589 |
2548 const char* const GET_PAGE_ZOOM[] = { | 2590 const char* const GET_PAGE_ZOOM[] = { |
2549 "function(){return function(){function a(b){b=9==b.nodeType?b:b.ownerDoc", | 2591 "function(){return function(){function b(a){this.b=a}b.prototype.toStrin", |
2550 "ument||b.document;var c=b.documentElement,c=Math.max(c.clientWidth,c.of", | 2592 "g=function(){return this.b};var c={};function d(a){if(c.hasOwnProperty(", |
2551 "fsetWidth,c.scrollWidth);return b.width/c}var d=[\"_\"],e=this;d[0]in e", | 2593 "a))throw Error(\"Binary operator already created: \"+a);a=new b(a);c[a.", |
2552 "||!e.execScript||e.execScript(\"var \"+d[0]);for(var f;d.length&&(f=d.s", | 2594 "toString()]=a}d(\"div\");d(\"mod\");d(\"*\");d(\"+\");d(\"-\");d(\"<\")", |
2553 "hift());)d.length||void 0===a?e=e[f]?e[f]:e[f]={}:e[f]=a;; return this.", | 2595 ";d(\">\");d(\"<=\");d(\">=\");d(\"=\");d(\"!=\");d(\"and\");d(\"or\");f", |
2554 "_.apply(null,arguments);}.apply({navigator:typeof window!=undefined?win", | 2596 "unction e(a){this.a=a}e.prototype.toString=function(){return this.a};va", |
2555 "dow.navigator:null,document:typeof window!=undefined?window.document:nu", | 2597 "r g={};function h(a){if(g.hasOwnProperty(a))throw Error(\"Function alre", |
2556 "ll}, arguments);}", | 2598 "ady created: \"+a+\".\");g[a]=new e(a)}h(\"boolean\");h(\"ceiling\");h(", |
| 2599 "\"concat\");h(\"contains\");h(\"count\");h(\"false\");h(\"floor\");h(\"", |
| 2600 "id\");h(\"lang\");h(\"last\");h(\"local-name\");h(\"name\");h(\"namespa", |
| 2601 "ce-uri\");h(\"normalize-space\");h(\"not\");h(\"number\");h(\"position", |
| 2602 "\");h(\"round\");h(\"starts-with\");h(\"string\");h(\"string-length\");", |
| 2603 "h(\"substring\");h(\"substring-after\");h(\"substring-before\");\nh(\"s", |
| 2604 "um\");h(\"translate\");h(\"true\");function k(a){this.a=a}k.prototype.t", |
| 2605 "oString=function(){return this.a};var l={};function m(a){if(l.hasOwnPro", |
| 2606 "perty(a))throw Error(\"Axis already created: \"+a);l[a]=new k(a)}m(\"an", |
| 2607 "cestor\");m(\"ancestor-or-self\");m(\"attribute\");m(\"child\");m(\"des", |
| 2608 "cendant\");m(\"descendant-or-self\");m(\"following\");m(\"following-sib", |
| 2609 "ling\");m(\"namespace\");m(\"parent\");m(\"preceding\");m(\"preceding-s", |
| 2610 "ibling\");m(\"self\");function n(a){a=9==a.nodeType?a:a.ownerDocument||", |
| 2611 "a.document;var f=a.documentElement,f=Math.max(f.clientWidth,f.offsetWid", |
| 2612 "th,f.scrollWidth);return a.width/f}var p=[\"_\"],q=this;p[0]in q||!q.ex", |
| 2613 "ecScript||q.execScript(\"var \"+p[0]);for(var r;p.length&&(r=p.shift())", |
| 2614 ";){var s;if(s=!p.length)s=void 0!==n;s?q[r]=n:q=q[r]?q[r]:q[r]={}};; re", |
| 2615 "turn this._.apply(null,arguments);}.apply({navigator:typeof window!=und", |
| 2616 "efined?window.navigator:null,document:typeof window!=undefined?window.d", |
| 2617 "ocument:null}, arguments);}", |
2557 NULL | 2618 NULL |
2558 }; | 2619 }; |
2559 | 2620 |
2560 const char* const IS_ELEMENT_CLICKABLE[] = { | 2621 const char* const IS_ELEMENT_CLICKABLE[] = { |
2561 "function(){return function(){function c(h,d){function g(a,b){var d={cli", | 2622 "function(){return function(){function b(a){this.b=a}b.prototype.toStrin", |
2562 "ckable:a};b&&(d.message=b);return d}var a=h.ownerDocument.elementFromPo", | 2623 "g=function(){return this.b};var d={};function e(a){if(d.hasOwnProperty(", |
2563 "int(d.x,d.y);if(a==h)return g(!0);var l=\"(\"+d.x+\", \"+d.y+\")\";if(n", | 2624 "a))throw Error(\"Binary operator already created: \"+a);a=new b(a);d[a.", |
2564 "ull==a)return g(!1,\"Element is not clickable at point \"+l);var b=a.ou", | 2625 "toString()]=a}e(\"div\");e(\"mod\");e(\"*\");e(\"+\");e(\"-\");e(\"<\")", |
2565 "terHTML;if(a.hasChildNodes())var m=a.innerHTML,n=b.length-m.length-(\"<", | 2626 ";e(\">\");e(\"<=\");e(\">=\");e(\"=\");e(\"!=\");e(\"and\");e(\"or\");f", |
2566 "/\"+a.tagName+\">\").length,b=b.substring(0,n)+\"...\"+b.substring(n+m.", | 2627 "unction g(a){this.a=a}g.prototype.toString=function(){return this.a};va", |
2567 "length);for(a=a.parentNode;a;){if(a==h)return g(!0,\"Element's descenda", | 2628 "r k={};function l(a){if(k.hasOwnProperty(a))throw Error(\"Function alre", |
2568 "nt would receive the click. Consider clicking the descendant instead. D", | 2629 "ady created: \"+a+\".\");k[a]=new g(a)}l(\"boolean\");l(\"ceiling\");l(", |
2569 "escendant: \"+\nb);a=a.parentNode}return g(!1,\"Element is not clickabl", | 2630 "\"concat\");l(\"contains\");l(\"count\");l(\"false\");l(\"floor\");l(\"", |
2570 "e at point \"+l+\". Other element would receive the click: \"+b)}var e=", | 2631 "id\");l(\"lang\");l(\"last\");l(\"local-name\");l(\"name\");l(\"namespa", |
2571 "[\"_\"],f=this;e[0]in f||!f.execScript||f.execScript(\"var \"+e[0]);for", | 2632 "ce-uri\");l(\"normalize-space\");l(\"not\");l(\"number\");l(\"position", |
2572 "(var k;e.length&&(k=e.shift());)e.length||void 0===c?f=f[k]?f[k]:f[k]={", | 2633 "\");l(\"round\");l(\"starts-with\");l(\"string\");l(\"string-length\");", |
2573 "}:f[k]=c;; return this._.apply(null,arguments);}.apply({navigator:typeo", | 2634 "l(\"substring\");l(\"substring-after\");l(\"substring-before\");\nl(\"s", |
2574 "f window!=undefined?window.navigator:null,document:typeof window!=undef", | 2635 "um\");l(\"translate\");l(\"true\");function p(a){this.a=a}p.prototype.t", |
2575 "ined?window.document:null}, arguments);}", | 2636 "oString=function(){return this.a};var q={};function r(a){if(q.hasOwnPro", |
| 2637 "perty(a))throw Error(\"Axis already created: \"+a);q[a]=new p(a)}r(\"an", |
| 2638 "cestor\");r(\"ancestor-or-self\");r(\"attribute\");r(\"child\");r(\"des", |
| 2639 "cendant\");r(\"descendant-or-self\");r(\"following\");r(\"following-sib", |
| 2640 "ling\");r(\"namespace\");r(\"parent\");r(\"preceding\");r(\"preceding-s", |
| 2641 "ibling\");r(\"self\");function s(a,m){function n(a,c){var f={clickable:", |
| 2642 "a};c&&(f.message=c);return f}for(var f=a;null!=f.parentNode;)f=f.parent", |
| 2643 "Node;var c=f.elementFromPoint(m.x,m.y);if(c==a)return n(!0);f=\"(\"+m.x", |
| 2644 "+\", \"+m.y+\")\";if(null==c)return n(!1,\"Element is not clickable at ", |
| 2645 "point \"+f);var h=c.outerHTML;if(c.hasChildNodes())var x=c.innerHTML,y=", |
| 2646 "h.length-x.length-(\"</\"+c.tagName+\">\").length,h=h.substring(0,y)+\"", |
| 2647 "...\"+h.substring(y+x.length);for(c=c.parentNode;c;){if(c==a)return n(!", |
| 2648 "0,\"Element's descendant would receive the click. Consider clicking the", |
| 2649 " descendant instead. Descendant: \"+\nh);c=c.parentNode}return n(!1,\"E", |
| 2650 "lement is not clickable at point \"+f+\". Other element would receive t", |
| 2651 "he click: \"+h)}var t=[\"_\"],u=this;t[0]in u||!u.execScript||u.execScr", |
| 2652 "ipt(\"var \"+t[0]);for(var v;t.length&&(v=t.shift());){var w;if(w=!t.le", |
| 2653 "ngth)w=void 0!==s;w?u[v]=s:u=u[v]?u[v]:u[v]={}};; return this._.apply(n", |
| 2654 "ull,arguments);}.apply({navigator:typeof window!=undefined?window.navig", |
| 2655 "ator:null,document:typeof window!=undefined?window.document:null}, argu", |
| 2656 "ments);}", |
2576 NULL | 2657 NULL |
2577 }; | 2658 }; |
2578 | 2659 |
| 2660 const char* const IS_ELEMENT_DISPLAYED[] = { |
| 2661 "function(){return function(){var g=this;\nfunction aa(a){var b=typeof a", |
| 2662 ";if(\"object\"==b)if(a){if(a instanceof Array)return\"array\";if(a inst", |
| 2663 "anceof Object)return b;var c=Object.prototype.toString.call(a);if(\"[ob", |
| 2664 "ject Window]\"==c)return\"object\";if(\"[object Array]\"==c||\"number\"", |
| 2665 "==typeof a.length&&\"undefined\"!=typeof a.splice&&\"undefined\"!=typeo", |
| 2666 "f a.propertyIsEnumerable&&!a.propertyIsEnumerable(\"splice\"))return\"a", |
| 2667 "rray\";if(\"[object Function]\"==c||\"undefined\"!=typeof a.call&&\"und", |
| 2668 "efined\"!=typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable(\"call", |
| 2669 "\"))return\"function\"}else return\"null\";else if(\"function\"==\nb&&", |
| 2670 "\"undefined\"==typeof a.call)return\"object\";return b}function k(a){re", |
| 2671 "turn\"string\"==typeof a};function ba(a){return String(a).replace(/\\-(", |
| 2672 "[a-z])/g,function(a,c){return c.toUpperCase()})};var l=Array.prototype;", |
| 2673 "function n(a,b){if(k(a))return k(b)&&1==b.length?a.indexOf(b,0):-1;for(", |
| 2674 "var c=0;c<a.length;c++)if(c in a&&a[c]===b)return c;return-1}function p", |
| 2675 "(a,b){for(var c=a.length,d=k(a)?a.split(\"\"):a,e=0;e<c;e++)e in d&&b.c", |
| 2676 "all(void 0,d[e],e,a)}function ca(a,b){var c=\"\";p(a,function(d,e){c=b.", |
| 2677 "call(void 0,c,d,e,a)});return c}function da(a,b){for(var c=a.length,d=k", |
| 2678 "(a)?a.split(\"\"):a,e=0;e<c;e++)if(e in d&&b.call(void 0,d[e],e,a))retu", |
| 2679 "rn!0;return!1}\nfunction ea(a,b){for(var c=a.length,d=k(a)?a.split(\"\"", |
| 2680 "):a,e=0;e<c;e++)if(e in d&&!b.call(void 0,d[e],e,a))return!1;return!0}f", |
| 2681 "unction fa(a,b,c){return 2>=arguments.length?l.slice.call(a,b):l.slice.", |
| 2682 "call(a,b,c)};var ga={aliceblue:\"#f0f8ff\",antiquewhite:\"#faebd7\",aqu", |
| 2683 "a:\"#00ffff\",aquamarine:\"#7fffd4\",azure:\"#f0ffff\",beige:\"#f5f5dc", |
| 2684 "\",bisque:\"#ffe4c4\",black:\"#000000\",blanchedalmond:\"#ffebcd\",blue", |
| 2685 ":\"#0000ff\",blueviolet:\"#8a2be2\",brown:\"#a52a2a\",burlywood:\"#deb8", |
| 2686 "87\",cadetblue:\"#5f9ea0\",chartreuse:\"#7fff00\",chocolate:\"#d2691e\"", |
| 2687 ",coral:\"#ff7f50\",cornflowerblue:\"#6495ed\",cornsilk:\"#fff8dc\",crim", |
| 2688 "son:\"#dc143c\",cyan:\"#00ffff\",darkblue:\"#00008b\",darkcyan:\"#008b8", |
| 2689 "b\",darkgoldenrod:\"#b8860b\",darkgray:\"#a9a9a9\",darkgreen:\"#006400", |
| 2690 "\",\ndarkgrey:\"#a9a9a9\",darkkhaki:\"#bdb76b\",darkmagenta:\"#8b008b\"", |
| 2691 ",darkolivegreen:\"#556b2f\",darkorange:\"#ff8c00\",darkorchid:\"#9932cc", |
| 2692 "\",darkred:\"#8b0000\",darksalmon:\"#e9967a\",darkseagreen:\"#8fbc8f\",", |
| 2693 "darkslateblue:\"#483d8b\",darkslategray:\"#2f4f4f\",darkslategrey:\"#2f", |
| 2694 "4f4f\",darkturquoise:\"#00ced1\",darkviolet:\"#9400d3\",deeppink:\"#ff1", |
| 2695 "493\",deepskyblue:\"#00bfff\",dimgray:\"#696969\",dimgrey:\"#696969\",d", |
| 2696 "odgerblue:\"#1e90ff\",firebrick:\"#b22222\",floralwhite:\"#fffaf0\",for", |
| 2697 "estgreen:\"#228b22\",fuchsia:\"#ff00ff\",gainsboro:\"#dcdcdc\",\nghostw", |
| 2698 "hite:\"#f8f8ff\",gold:\"#ffd700\",goldenrod:\"#daa520\",gray:\"#808080", |
| 2699 "\",green:\"#008000\",greenyellow:\"#adff2f\",grey:\"#808080\",honeydew:", |
| 2700 "\"#f0fff0\",hotpink:\"#ff69b4\",indianred:\"#cd5c5c\",indigo:\"#4b0082", |
| 2701 "\",ivory:\"#fffff0\",khaki:\"#f0e68c\",lavender:\"#e6e6fa\",lavenderblu", |
| 2702 "sh:\"#fff0f5\",lawngreen:\"#7cfc00\",lemonchiffon:\"#fffacd\",lightblue", |
| 2703 ":\"#add8e6\",lightcoral:\"#f08080\",lightcyan:\"#e0ffff\",lightgoldenro", |
| 2704 "dyellow:\"#fafad2\",lightgray:\"#d3d3d3\",lightgreen:\"#90ee90\",lightg", |
| 2705 "rey:\"#d3d3d3\",lightpink:\"#ffb6c1\",lightsalmon:\"#ffa07a\",\nlightse", |
| 2706 "agreen:\"#20b2aa\",lightskyblue:\"#87cefa\",lightslategray:\"#778899\",", |
| 2707 "lightslategrey:\"#778899\",lightsteelblue:\"#b0c4de\",lightyellow:\"#ff", |
| 2708 "ffe0\",lime:\"#00ff00\",limegreen:\"#32cd32\",linen:\"#faf0e6\",magenta", |
| 2709 ":\"#ff00ff\",maroon:\"#800000\",mediumaquamarine:\"#66cdaa\",mediumblue", |
| 2710 ":\"#0000cd\",mediumorchid:\"#ba55d3\",mediumpurple:\"#9370db\",mediumse", |
| 2711 "agreen:\"#3cb371\",mediumslateblue:\"#7b68ee\",mediumspringgreen:\"#00f", |
| 2712 "a9a\",mediumturquoise:\"#48d1cc\",mediumvioletred:\"#c71585\",midnightb", |
| 2713 "lue:\"#191970\",mintcream:\"#f5fffa\",mistyrose:\"#ffe4e1\",\nmoccasin:", |
| 2714 "\"#ffe4b5\",navajowhite:\"#ffdead\",navy:\"#000080\",oldlace:\"#fdf5e6", |
| 2715 "\",olive:\"#808000\",olivedrab:\"#6b8e23\",orange:\"#ffa500\",orangered", |
| 2716 ":\"#ff4500\",orchid:\"#da70d6\",palegoldenrod:\"#eee8aa\",palegreen:\"#", |
| 2717 "98fb98\",paleturquoise:\"#afeeee\",palevioletred:\"#db7093\",papayawhip", |
| 2718 ":\"#ffefd5\",peachpuff:\"#ffdab9\",peru:\"#cd853f\",pink:\"#ffc0cb\",pl", |
| 2719 "um:\"#dda0dd\",powderblue:\"#b0e0e6\",purple:\"#800080\",red:\"#ff0000", |
| 2720 "\",rosybrown:\"#bc8f8f\",royalblue:\"#4169e1\",saddlebrown:\"#8b4513\",", |
| 2721 "salmon:\"#fa8072\",sandybrown:\"#f4a460\",seagreen:\"#2e8b57\",\nseashe", |
| 2722 "ll:\"#fff5ee\",sienna:\"#a0522d\",silver:\"#c0c0c0\",skyblue:\"#87ceeb", |
| 2723 "\",slateblue:\"#6a5acd\",slategray:\"#708090\",slategrey:\"#708090\",sn", |
| 2724 "ow:\"#fffafa\",springgreen:\"#00ff7f\",steelblue:\"#4682b4\",tan:\"#d2b", |
| 2725 "48c\",teal:\"#008080\",thistle:\"#d8bfd8\",tomato:\"#ff6347\",turquoise", |
| 2726 ":\"#40e0d0\",violet:\"#ee82ee\",wheat:\"#f5deb3\",white:\"#ffffff\",whi", |
| 2727 "tesmoke:\"#f5f5f5\",yellow:\"#ffff00\",yellowgreen:\"#9acd32\"};var ha=", |
| 2728 "\"backgroundColor borderTopColor borderRightColor borderBottomColor bor", |
| 2729 "derLeftColor color outlineColor\".split(\" \"),ja=/#([0-9a-fA-F])([0-9a", |
| 2730 "-fA-F])([0-9a-fA-F])/,ka=/^#(?:[0-9a-f]{3}){1,2}$/i,la=/^(?:rgba)?\\((", |
| 2731 "\\d{1,3}),\\s?(\\d{1,3}),\\s?(\\d{1,3}),\\s?(0|1|0\\.\\d*)\\)$/i,ma=/^(", |
| 2732 "?:rgb)?\\((0|[1-9]\\d{0,2}),\\s?(0|[1-9]\\d{0,2}),\\s?(0|[1-9]\\d{0,2})", |
| 2733 "\\)$/i;function r(a,b){this.code=a;this.state=s[a]||t;this.message=b||", |
| 2734 "\"\";var c=this.state.replace(/((?:^|\\s+)[a-z])/g,function(a){return a", |
| 2735 ".toUpperCase().replace(/^[\\s\\xa0]+/g,\"\")}),d=c.length-5;if(0>d||c.i", |
| 2736 "ndexOf(\"Error\",d)!=d)c+=\"Error\";this.name=c;c=Error(this.message);c", |
| 2737 ".name=this.name;this.stack=c.stack||\"\"}(function(){var a=Error;functi", |
| 2738 "on b(){}b.prototype=a.prototype;r.A=a.prototype;r.prototype=new b;r.t=f", |
| 2739 "unction(b,d,e){return a.prototype[d].apply(b,Array.prototype.slice.call", |
| 2740 "(arguments,2))}})();\nvar t=\"unknown error\",s={15:\"element not selec", |
| 2741 "table\",11:\"element not visible\",31:\"ime engine activation failed\",", |
| 2742 "30:\"ime not available\",24:\"invalid cookie domain\",29:\"invalid elem", |
| 2743 "ent coordinates\",12:\"invalid element state\",32:\"invalid selector\",", |
| 2744 "51:\"invalid selector\",52:\"invalid selector\",17:\"javascript error\"", |
| 2745 ",405:\"unsupported operation\",34:\"move target out of bounds\",27:\"no", |
| 2746 " such alert\",7:\"no such element\",8:\"no such frame\",23:\"no such wi", |
| 2747 "ndow\",28:\"script timeout\",33:\"session not created\",10:\"stale elem", |
| 2748 "ent reference\",\n0:\"success\",21:\"timeout\",25:\"unable to set cooki", |
| 2749 "e\",26:\"unexpected alert open\"};s[13]=t;s[9]=\"unknown command\";r.pr", |
| 2750 "ototype.toString=function(){return this.name+\": \"+this.message};funct", |
| 2751 "ion u(a,b){this.x=void 0!==a?a:0;this.y=void 0!==b?b:0}u.prototype.toSt", |
| 2752 "ring=function(){return\"(\"+this.x+\", \"+this.y+\")\"};u.prototype.cei", |
| 2753 "l=function(){this.x=Math.ceil(this.x);this.y=Math.ceil(this.y);return t", |
| 2754 "his};u.prototype.floor=function(){this.x=Math.floor(this.x);this.y=Math", |
| 2755 ".floor(this.y);return this};u.prototype.round=function(){this.x=Math.ro", |
| 2756 "und(this.x);this.y=Math.round(this.y);return this};function v(a,b){this", |
| 2757 ".width=a;this.height=b}v.prototype.toString=function(){return\"(\"+this", |
| 2758 ".width+\" x \"+this.height+\")\"};v.prototype.ceil=function(){this.widt", |
| 2759 "h=Math.ceil(this.width);this.height=Math.ceil(this.height);return this}", |
| 2760 ";v.prototype.floor=function(){this.width=Math.floor(this.width);this.he", |
| 2761 "ight=Math.floor(this.height);return this};v.prototype.round=function(){", |
| 2762 "this.width=Math.round(this.width);this.height=Math.round(this.height);r", |
| 2763 "eturn this};function x(a,b){if(a.contains&&1==b.nodeType)return a==b||a", |
| 2764 ".contains(b);if(\"undefined\"!=typeof a.compareDocumentPosition)return ", |
| 2765 "a==b||Boolean(a.compareDocumentPosition(b)&16);for(;b&&a!=b;)b=b.parent", |
| 2766 "Node;return b==a}\nfunction na(a,b){if(a==b)return 0;if(a.compareDocume", |
| 2767 "ntPosition)return a.compareDocumentPosition(b)&2?1:-1;if(\"sourceIndex", |
| 2768 "\"in a||a.parentNode&&\"sourceIndex\"in a.parentNode){var c=1==a.nodeTy", |
| 2769 "pe,d=1==b.nodeType;if(c&&d)return a.sourceIndex-b.sourceIndex;var e=a.p", |
| 2770 "arentNode,f=b.parentNode;return e==f?y(a,b):!c&&x(e,b)?-1*z(a,b):!d&&x(", |
| 2771 "f,a)?z(b,a):(c?a.sourceIndex:e.sourceIndex)-(d?b.sourceIndex:f.sourceIn", |
| 2772 "dex)}d=A(a);c=d.createRange();c.selectNode(a);c.collapse(!0);d=d.create", |
| 2773 "Range();d.selectNode(b);d.collapse(!0);\nreturn c.compareBoundaryPoints", |
| 2774 "(g.Range.START_TO_END,d)}function z(a,b){var c=a.parentNode;if(c==b)ret", |
| 2775 "urn-1;for(var d=b;d.parentNode!=c;)d=d.parentNode;return y(d,a)}functio", |
| 2776 "n y(a,b){for(var c=b;c=c.previousSibling;)if(c==a)return-1;return 1}fun", |
| 2777 "ction A(a){return 9==a.nodeType?a:a.ownerDocument||a.document}function ", |
| 2778 "oa(a,b){a=a.parentNode;for(var c=0;a;){if(b(a))return a;a=a.parentNode;", |
| 2779 "c++}return null}function B(a){this.q=a||g.document||document}B.prototyp", |
| 2780 "e.contains=x;function C(a){var b=null,c=a.nodeType;1==c&&(b=a.textConte", |
| 2781 "nt,b=void 0==b||null==b?a.innerText:b,b=void 0==b||null==b?\"\":b);if(", |
| 2782 "\"string\"!=typeof b)if(9==c||1==c){a=9==c?a.documentElement:a.firstChi", |
| 2783 "ld;for(var c=0,d=[],b=\"\";a;){do 1!=a.nodeType&&(b+=a.nodeValue),d[c++", |
| 2784 "]=a;while(a=a.firstChild);for(;c&&!(a=d[--c].nextSibling););}}else b=a.", |
| 2785 "nodeValue;return\"\"+b};function D(){this.e=this.g=null;this.l=0}functi", |
| 2786 "on pa(a){this.m=a;this.next=this.n=null}D.prototype.add=function(a){a=n", |
| 2787 "ew pa(a);a.n=this.e;this.g?this.e.next=a:this.g=this.e=a;this.e=a;this.", |
| 2788 "l++};function E(a){return(a=a.g)?a.m:null}function F(a){return new G(a,", |
| 2789 "!1)}function G(a,b){this.j=(this.o=b)?a.e:a.g}G.prototype.next=function", |
| 2790 "(){var a=this.j;if(null==a)return null;this.j=this.o?a.n:a.next;return ", |
| 2791 "a.m};function H(a,b,c,d,e){b=b.evaluate(d);c=c.evaluate(d);var f;if(b i", |
| 2792 "nstanceof D&&c instanceof D){e=F(b);for(d=e.next();d;d=e.next())for(b=F", |
| 2793 "(c),f=b.next();f;f=b.next())if(a(C(d),C(f)))return!0;return!1}if(b inst", |
| 2794 "anceof D||c instanceof D){b instanceof D?e=b:(e=c,c=b);e=F(e);b=typeof ", |
| 2795 "c;for(d=e.next();d;d=e.next()){switch(b){case \"number\":d=+C(d);break;", |
| 2796 "case \"boolean\":d=!!C(d);break;case \"string\":d=C(d);break;default:th", |
| 2797 "row Error(\"Illegal primitive type for comparison.\");}if(a(d,c))return", |
| 2798 "!0}return!1}return e?\n\"boolean\"==typeof b||\"boolean\"==typeof c?a(!", |
| 2799 "!b,!!c):\"number\"==typeof b||\"number\"==typeof c?a(+b,+c):a(b,c):a(+b", |
| 2800 ",+c)}function I(a,b,c,d){this.r=a;this.f=d}I.prototype.toString=functio", |
| 2801 "n(){return this.r};var qa={};function J(a,b){if(qa.hasOwnProperty(a))th", |
| 2802 "row Error(\"Binary operator already created: \"+a);var c=new I(a,0,0,b)", |
| 2803 ";qa[c.toString()]=c}J(\"div\",function(a,b,c){return a.b(c)/b.b(c)});J(", |
| 2804 "\"mod\",function(a,b,c){return a.b(c)%b.b(c)});J(\"*\",function(a,b,c){", |
| 2805 "return a.b(c)*b.b(c)});\nJ(\"+\",function(a,b,c){return a.b(c)+b.b(c)})", |
| 2806 ";J(\"-\",function(a,b,c){return a.b(c)-b.b(c)});J(\"<\",function(a,b,c)", |
| 2807 "{return H(function(a,b){return a<b},a,b,c)});J(\">\",function(a,b,c){re", |
| 2808 "turn H(function(a,b){return a>b},a,b,c)});J(\"<=\",function(a,b,c){retu", |
| 2809 "rn H(function(a,b){return a<=b},a,b,c)});J(\">=\",function(a,b,c){retur", |
| 2810 "n H(function(a,b){return a>=b},a,b,c)});J(\"=\",function(a,b,c){return ", |
| 2811 "H(function(a,b){return a==b},a,b,c,!0)});J(\"!=\",function(a,b,c){retur", |
| 2812 "n H(function(a,b){return a!=b},a,b,c,!0)});\nJ(\"and\",function(a,b,c){", |
| 2813 "return a.d(c)&&b.d(c)});J(\"or\",function(a,b,c){return a.d(c)||b.d(c)}", |
| 2814 ");function ra(a,b,c,d,e,f){this.h=a;this.f=f}ra.prototype.toString=func", |
| 2815 "tion(){return this.h};var sa={};function K(a,b){if(sa.hasOwnProperty(a)", |
| 2816 ")throw Error(\"Function already created: \"+a+\".\");sa[a]=new ra(a,0,0", |
| 2817 ",0,0,b)}K(\"boolean\",function(a,b){return b.d(a)});K(\"ceiling\",funct", |
| 2818 "ion(a,b){return Math.ceil(b.b(a))});K(\"concat\",function(a,b){return c", |
| 2819 "a(fa(arguments,1),function(b,d){return b+d.a(a)})});K(\"contains\",func", |
| 2820 "tion(a,b,c){b=b.a(a);a=c.a(a);return-1!=b.indexOf(a)});K(\"count\",func", |
| 2821 "tion(a,b){return b.evaluate(a).l});\nK(\"false\",function(){return!1});", |
| 2822 "K(\"floor\",function(a,b){return Math.floor(b.b(a))});K(\"id\",function", |
| 2823 "(a,b){var c=a.c(),d=9==c.nodeType?c:c.ownerDocument,c=b.a(a).split(/\\s", |
| 2824 "+/),e=[];p(c,function(a){a=d.getElementById(a);!a||0<=n(e,a)||e.push(a)", |
| 2825 "});e.sort(na);var f=new D;p(e,function(a){f.add(a)});return f});K(\"lan", |
| 2826 "g\",function(){return!1});K(\"last\",function(a){if(1!=arguments.length", |
| 2827 ")throw Error(\"Function last expects ()\");return a.u()});\nK(\"local-n", |
| 2828 "ame\",function(a,b){var c=b?E(b.evaluate(a)):a.c();return c?c.nodeName.", |
| 2829 "toLowerCase():\"\"});K(\"name\",function(a,b){var c=b?E(b.evaluate(a)):", |
| 2830 "a.c();return c?c.nodeName.toLowerCase():\"\"});K(\"namespace-uri\",func", |
| 2831 "tion(){return\"\"});K(\"normalize-space\",function(a,b){return(b?b.a(a)", |
| 2832 ":C(a.c())).replace(/[\\s\\xa0]+/g,\" \").replace(/^\\s+|\\s+$/g,\"\")})", |
| 2833 ";K(\"not\",function(a,b){return!b.d(a)});K(\"number\",function(a,b){ret", |
| 2834 "urn b?b.b(a):+C(a.c())});K(\"position\",function(a){return a.v()});K(\"", |
| 2835 "round\",function(a,b){return Math.round(b.b(a))});\nK(\"starts-with\",f", |
| 2836 "unction(a,b,c){b=b.a(a);a=c.a(a);return 0==b.lastIndexOf(a,0)});K(\"str", |
| 2837 "ing\",function(a,b){return b?b.a(a):C(a.c())});K(\"string-length\",func", |
| 2838 "tion(a,b){return(b?b.a(a):C(a.c())).length});K(\"substring\",function(a", |
| 2839 ",b,c,d){c=c.b(a);if(isNaN(c)||Infinity==c||-Infinity==c)return\"\";d=d?", |
| 2840 "d.b(a):Infinity;if(isNaN(d)||-Infinity===d)return\"\";c=Math.round(c)-1", |
| 2841 ";var e=Math.max(c,0);a=b.a(a);if(Infinity==d)return a.substring(e);b=Ma", |
| 2842 "th.round(d);return a.substring(e,c+b)});\nK(\"substring-after\",functio", |
| 2843 "n(a,b,c){b=b.a(a);a=c.a(a);c=b.indexOf(a);return-1==c?\"\":b.substring(", |
| 2844 "c+a.length)});K(\"substring-before\",function(a,b,c){b=b.a(a);a=c.a(a);", |
| 2845 "a=b.indexOf(a);return-1==a?\"\":b.substring(0,a)});K(\"sum\",function(a", |
| 2846 ",b){for(var c=F(b.evaluate(a)),d=0,e=c.next();e;e=c.next())d+=+C(e);ret", |
| 2847 "urn d});\nK(\"translate\",function(a,b,c,d){b=b.a(a);c=c.a(a);var e=d.a", |
| 2848 "(a);a=[];for(d=0;d<c.length;d++){var f=c.charAt(d);f in a||(a[f]=e.char", |
| 2849 "At(d))}c=\"\";for(d=0;d<b.length;d++)f=b.charAt(d),c+=f in a?a[f]:f;ret", |
| 2850 "urn c});K(\"true\",function(){return!0});function ta(a,b,c){this.h=a;th", |
| 2851 "is.o=c}ta.prototype.toString=function(){return this.h};var ua={};functi", |
| 2852 "on M(a,b){if(ua.hasOwnProperty(a))throw Error(\"Axis already created: ", |
| 2853 "\"+a);ua[a]=new ta(a,0,b)}M(\"ancestor\",!0);M(\"ancestor-or-self\",!0)", |
| 2854 ";M(\"attribute\",!1);M(\"child\",!1);M(\"descendant\",!1);M(\"descendan", |
| 2855 "t-or-self\",!1);M(\"following\",!1);M(\"following-sibling\",!1);M(\"nam", |
| 2856 "espace\",!1);M(\"parent\",!1);M(\"preceding\",!0);M(\"preceding-sibling", |
| 2857 "\",!0);M(\"self\",!1);var N={};N.p=function(){var a={B:\"http://www.w3.", |
| 2858 "org/2000/svg\"};return function(b){return a[b]||null}}();N.f=function(a", |
| 2859 ",b,c){var d=A(a);try{var e=d.createNSResolver?d.createNSResolver(d.docu", |
| 2860 "mentElement):N.p;return d.evaluate(b,a,e,c,null)}catch(f){throw new r(3", |
| 2861 "2,\"Unable to locate an element with the xpath expression \"+b+\" becau", |
| 2862 "se of the following error:\\n\"+f);}};N.i=function(a,b){if(!a||1!=a.nod", |
| 2863 "eType)throw new r(32,'The result of the xpath expression \"'+b+'\" is: ", |
| 2864 "'+a+\". It should be an element.\");};\nN.s=function(a,b){var c=functio", |
| 2865 "n(){var c=N.f(b,a,9);return c?c.singleNodeValue||null:b.selectSingleNod", |
| 2866 "e?(c=A(b),c.setProperty&&c.setProperty(\"SelectionLanguage\",\"XPath\")", |
| 2867 ",b.selectSingleNode(a)):null}();null===c||N.i(c,a);return c};\nN.w=func", |
| 2868 "tion(a,b){var c=function(){var c=N.f(b,a,7);if(c){for(var e=c.snapshotL", |
| 2869 "ength,f=[],h=0;h<e;++h)f.push(c.snapshotItem(h));return f}return b.sele", |
| 2870 "ctNodes?(c=A(b),c.setProperty&&c.setProperty(\"SelectionLanguage\",\"XP", |
| 2871 "ath\"),b.selectNodes(a)):[]}();p(c,function(b){N.i(b,a)});return c};fun", |
| 2872 "ction O(a,b,c,d){this.top=a;this.right=b;this.bottom=c;this.left=d}O.pr", |
| 2873 "ototype.toString=function(){return\"(\"+this.top+\"t, \"+this.right+\"r", |
| 2874 ", \"+this.bottom+\"b, \"+this.left+\"l)\"};O.prototype.contains=functio", |
| 2875 "n(a){return this&&a?a instanceof O?a.left>=this.left&&a.right<=this.rig", |
| 2876 "ht&&a.top>=this.top&&a.bottom<=this.bottom:a.x>=this.left&&a.x<=this.ri", |
| 2877 "ght&&a.y>=this.top&&a.y<=this.bottom:!1};\nO.prototype.ceil=function(){", |
| 2878 "this.top=Math.ceil(this.top);this.right=Math.ceil(this.right);this.bott", |
| 2879 "om=Math.ceil(this.bottom);this.left=Math.ceil(this.left);return this};O", |
| 2880 ".prototype.floor=function(){this.top=Math.floor(this.top);this.right=Ma", |
| 2881 "th.floor(this.right);this.bottom=Math.floor(this.bottom);this.left=Math", |
| 2882 ".floor(this.left);return this};\nO.prototype.round=function(){this.top=", |
| 2883 "Math.round(this.top);this.right=Math.round(this.right);this.bottom=Math", |
| 2884 ".round(this.bottom);this.left=Math.round(this.left);return this};functi", |
| 2885 "on P(a,b,c,d){this.left=a;this.top=b;this.width=c;this.height=d}P.proto", |
| 2886 "type.toString=function(){return\"(\"+this.left+\", \"+this.top+\" - \"+", |
| 2887 "this.width+\"w x \"+this.height+\"h)\"};P.prototype.contains=function(a", |
| 2888 "){return a instanceof P?this.left<=a.left&&this.left+this.width>=a.left", |
| 2889 "+a.width&&this.top<=a.top&&this.top+this.height>=a.top+a.height:a.x>=th", |
| 2890 "is.left&&a.x<=this.left+this.width&&a.y>=this.top&&a.y<=this.top+this.h", |
| 2891 "eight};\nP.prototype.ceil=function(){this.left=Math.ceil(this.left);thi", |
| 2892 "s.top=Math.ceil(this.top);this.width=Math.ceil(this.width);this.height=", |
| 2893 "Math.ceil(this.height);return this};P.prototype.floor=function(){this.l", |
| 2894 "eft=Math.floor(this.left);this.top=Math.floor(this.top);this.width=Math", |
| 2895 ".floor(this.width);this.height=Math.floor(this.height);return this};\nP", |
| 2896 ".prototype.round=function(){this.left=Math.round(this.left);this.top=Ma", |
| 2897 "th.round(this.top);this.width=Math.round(this.width);this.height=Math.r", |
| 2898 "ound(this.height);return this};function R(a,b){return!!a&&1==a.nodeType", |
| 2899 "&&(!b||a.tagName.toUpperCase()==b)}function S(a){for(a=a.parentNode;a&&", |
| 2900 "1!=a.nodeType&&9!=a.nodeType&&11!=a.nodeType;)a=a.parentNode;return R(a", |
| 2901 ")?a:null}\nfunction T(a,b){var c=ba(b);if(\"float\"==c||\"cssFloat\"==c", |
| 2902 "||\"styleFloat\"==c)c=\"cssFloat\";var d;a:{d=c;var e=A(a);if(e.default", |
| 2903 "View&&e.defaultView.getComputedStyle&&(e=e.defaultView.getComputedStyle", |
| 2904 "(a,null))){d=e[d]||e.getPropertyValue(d)||\"\";break a}d=\"\"}d=d||va(a", |
| 2905 ",c);if(null===d)d=null;else if(0<=n(ha,c)){b:{var f=d.match(la);if(f){v", |
| 2906 "ar c=Number(f[1]),e=Number(f[2]),h=Number(f[3]),f=Number(f[4]);if(0<=c&", |
| 2907 "&255>=c&&0<=e&&255>=e&&0<=h&&255>=h&&0<=f&&1>=f){c=[c,e,h,f];break b}}c", |
| 2908 "=null}if(!c){b:{if(h=d.match(ma))if(c=\nNumber(h[1]),e=Number(h[2]),h=N", |
| 2909 "umber(h[3]),0<=c&&255>=c&&0<=e&&255>=e&&0<=h&&255>=h){c=[c,e,h,1];break", |
| 2910 " b}c=null}if(!c)b:{c=d.toLowerCase();e=ga[c.toLowerCase()];if(!e&&(e=\"", |
| 2911 "#\"==c.charAt(0)?c:\"#\"+c,4==e.length&&(e=e.replace(ja,\"#$1$1$2$2$3$3", |
| 2912 "\")),!ka.test(e))){c=null;break b}c=[parseInt(e.substr(1,2),16),parseIn", |
| 2913 "t(e.substr(3,2),16),parseInt(e.substr(5,2),16),1]}}d=c?\"rgba(\"+c.join", |
| 2914 "(\", \")+\")\":d}return d}\nfunction va(a,b){var c=a.currentStyle||a.st", |
| 2915 "yle,d=c[b];void 0===d&&\"function\"==aa(c.getPropertyValue)&&(d=c.getPr", |
| 2916 "opertyValue(b));return\"inherit\"!=d?void 0!==d?d:null:(c=S(a))?va(c,b)", |
| 2917 ":null}\nfunction U(a,b){function c(a){if(\"none\"==T(a,\"display\"))ret", |
| 2918 "urn!1;a=S(a);return!a||c(a)}function d(a){var b=V(a);return 0<b.height&", |
| 2919 "&0<b.width?!0:R(a,\"PATH\")&&(0<b.height||0<b.width)?(a=T(a,\"stroke-wi", |
| 2920 "dth\"),!!a&&0<parseInt(a,10)):\"hidden\"!=T(a,\"overflow\")&&da(a.child", |
| 2921 "Nodes,function(a){return 3==a.nodeType||R(a)&&d(a)})}function e(a){retu", |
| 2922 "rn W(a)==X&&ea(a.childNodes,function(a){return!R(a)||e(a)})}if(!R(a))th", |
| 2923 "row Error(\"Argument to isShown must be of type Element\");if(R(a,\"BOD", |
| 2924 "Y\"))return!0;if(R(a,\"OPTION\")||\nR(a,\"OPTGROUP\")){var f=oa(a,funct", |
| 2925 "ion(a){return R(a,\"SELECT\")});return!!f&&U(f,!0)}return(f=wa(a))?!!f.", |
| 2926 "k&&0<f.rect.width&&0<f.rect.height&&U(f.k,b):R(a,\"INPUT\")&&\"hidden\"", |
| 2927 "==a.type.toLowerCase()||R(a,\"NOSCRIPT\")||\"hidden\"==T(a,\"visibility", |
| 2928 "\")||!c(a)||!b&&0==xa(a)||!d(a)?!1:!e(a)}var X=\"hidden\";\nfunction W(", |
| 2929 "a){function b(a){function b(a){return a==h?!0:0==T(a,\"display\").lastI", |
| 2930 "ndexOf(\"inline\",0)||\"absolute\"==c&&\"static\"==T(a,\"position\")?!1", |
| 2931 ":!0}var c=T(a,\"position\");if(\"fixed\"==c)return ia=!0,a==h?null:h;fo", |
| 2932 "r(a=S(a);a&&!b(a);)a=S(a);return a}function c(a){var b=a;if(\"visible\"", |
| 2933 "==Aa)if(a==h&&Q)b=Q;else if(a==Q)return{x:\"visible\",y:\"visible\"};b=", |
| 2934 "{x:T(b,\"overflow-x\"),y:T(b,\"overflow-y\")};a==h&&(b.x=\"visible\"==b", |
| 2935 ".x?\"auto\":b.x,b.y=\"visible\"==b.y?\"auto\":b.y);return b}function d(", |
| 2936 "a){if(a==h){var b=(new B(f)).q;\na=b.body||b.documentElement;b=b.parent", |
| 2937 "Window||b.defaultView;a=new u(b.pageXOffset||a.scrollLeft,b.pageYOffset", |
| 2938 "||a.scrollTop)}else a=new u(a.scrollLeft,a.scrollTop);return a}var e=ya", |
| 2939 "(a),f=A(a),h=f.documentElement,Q=f.body,Aa=T(h,\"overflow\"),ia;for(a=b", |
| 2940 "(a);a;a=b(a)){var m=c(a);if(\"visible\"!=m.x||\"visible\"!=m.y){var q=V", |
| 2941 "(a);if(0==q.width||0==q.height)return X;var w=e.right<q.left,L=e.bottom", |
| 2942 "<q.top;if(w&&\"hidden\"==m.x||L&&\"hidden\"==m.y)return X;if(w&&\"visib", |
| 2943 "le\"!=m.x||L&&\"visible\"!=m.y){w=d(a);L=e.bottom<q.top-\nw.y;if(e.righ", |
| 2944 "t<q.left-w.x&&\"visible\"!=m.x||L&&\"visible\"!=m.x)return X;e=W(a);ret", |
| 2945 "urn e==X?X:\"scroll\"}w=e.left>=q.left+q.width;q=e.top>=q.top+q.height;", |
| 2946 "if(w&&\"hidden\"==m.x||q&&\"hidden\"==m.y)return X;if(w&&\"visible\"!=m", |
| 2947 ".x||q&&\"visible\"!=m.y){if(ia&&(m=d(a),e.left>=h.scrollWidth-m.x||e.ri", |
| 2948 "ght>=h.scrollHeight-m.y))return X;e=W(a);return e==X?X:\"scroll\"}}}ret", |
| 2949 "urn\"none\"}\nfunction V(a){var b=wa(a);if(b)return b.rect;if(R(a,\"HTM", |
| 2950 "L\"))return a=A(a),a=((a?a.parentWindow||a.defaultView:window)||window)", |
| 2951 ".document,a=\"CSS1Compat\"==a.compatMode?a.documentElement:a.body,a=new", |
| 2952 " v(a.clientWidth,a.clientHeight),new P(0,0,a.width,a.height);var c;try{", |
| 2953 "c=a.getBoundingClientRect()}catch(d){return new P(0,0,0,0)}return new P", |
| 2954 "(c.left,c.top,c.right-c.left,c.bottom-c.top)}\nfunction wa(a){var b=R(a", |
| 2955 ",\"MAP\");if(!b&&!R(a,\"AREA\"))return null;var c=b?a:R(a.parentNode,\"", |
| 2956 "MAP\")?a.parentNode:null,d=null,e=null;if(c&&c.name&&(d=N.s('/descendan", |
| 2957 "t::*[@usemap = \"#'+c.name+'\"]',A(c)))&&(e=V(d),!b&&\"default\"!=a.sha", |
| 2958 "pe.toLowerCase())){var f=za(a);a=Math.min(Math.max(f.left,0),e.width);b", |
| 2959 "=Math.min(Math.max(f.top,0),e.height);c=Math.min(f.width,e.width-a);f=M", |
| 2960 "ath.min(f.height,e.height-b);e=new P(a+e.left,b+e.top,c,f)}return{k:d,r", |
| 2961 "ect:e||new P(0,0,0,0)}}\nfunction za(a){var b=a.shape.toLowerCase();a=a", |
| 2962 ".coords.split(\",\");if(\"rect\"==b&&4==a.length){var b=a[0],c=a[1];ret", |
| 2963 "urn new P(b,c,a[2]-b,a[3]-c)}if(\"circle\"==b&&3==a.length)return b=a[2", |
| 2964 "],new P(a[0]-b,a[1]-b,2*b,2*b);if(\"poly\"==b&&2<a.length){for(var b=a[", |
| 2965 "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", |
| 2966 ",a[f]),c=Math.min(c,a[f+1]),e=Math.max(e,a[f+1]);return new P(b,c,d-b,e", |
| 2967 "-c)}return new P(0,0,0,0)}function ya(a){a=V(a);return new O(a.top,a.le", |
| 2968 "ft+a.width,a.top+a.height,a.left)}\nfunction xa(a){var b=1,c=T(a,\"opac", |
| 2969 "ity\");c&&(b=Number(c));(a=S(a))&&(b*=xa(a));return b};var Ba=\"functio", |
| 2970 "n\"===typeof ShadowRoot;function Ca(a,b){if(!U(a,b))return!1;if(Ba){for", |
| 2971 "(var c=a;c.parentNode;)c=c.parentNode;var d=c.host;if(c instanceof Shad", |
| 2972 "owRoot)return Ca(d)}return!0};var Da=Ca,Y=[\"_\"],Z=g;Y[0]in Z||!Z.exec", |
| 2973 "Script||Z.execScript(\"var \"+Y[0]);for(var $;Y.length&&($=Y.shift());)", |
| 2974 "Y.length||void 0===Da?Z=Z[$]?Z[$]:Z[$]={}:Z[$]=Da;; return this._.apply", |
| 2975 "(null,arguments);}.apply({navigator:typeof window!=undefined?window.nav", |
| 2976 "igator:null,document:typeof window!=undefined?window.document:null}, ar", |
| 2977 "guments);}", |
| 2978 NULL |
| 2979 }; |
| 2980 |
2579 const char* const TOUCH_SINGLE_TAP[] = { | 2981 const char* const TOUCH_SINGLE_TAP[] = { |
2580 "function(){return function(){var g,k=this;function l(a){return void 0!=", | 2982 "function(){return function(){var g,k=this;function l(a){return void 0!=", |
2581 "=a}\nfunction aa(a){var b=typeof a;if(\"object\"==b)if(a){if(a instance", | 2983 "=a}\nfunction aa(a){var b=typeof a;if(\"object\"==b)if(a){if(a instance", |
2582 "of Array)return\"array\";if(a instanceof Object)return b;var c=Object.p", | 2984 "of Array)return\"array\";if(a instanceof Object)return b;var c=Object.p", |
2583 "rototype.toString.call(a);if(\"[object Window]\"==c)return\"object\";if", | 2985 "rototype.toString.call(a);if(\"[object Window]\"==c)return\"object\";if", |
2584 "(\"[object Array]\"==c||\"number\"==typeof a.length&&\"undefined\"!=typ", | 2986 "(\"[object Array]\"==c||\"number\"==typeof a.length&&\"undefined\"!=typ", |
2585 "eof a.splice&&\"undefined\"!=typeof a.propertyIsEnumerable&&!a.property", | 2987 "eof a.splice&&\"undefined\"!=typeof a.propertyIsEnumerable&&!a.property", |
2586 "IsEnumerable(\"splice\"))return\"array\";if(\"[object Function]\"==c||", | 2988 "IsEnumerable(\"splice\"))return\"array\";if(\"[object Function]\"==c||", |
2587 "\"undefined\"!=typeof a.call&&\"undefined\"!=typeof a.propertyIsEnumera", | 2989 "\"undefined\"!=typeof a.call&&\"undefined\"!=typeof a.propertyIsEnumera", |
2588 "ble&&!a.propertyIsEnumerable(\"call\"))return\"function\"}else return\"", | 2990 "ble&&!a.propertyIsEnumerable(\"call\"))return\"function\"}else return\"", |
(...skipping 1674 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4263 "+q[0]);for(var s;q.length&&(s=q.shift());){var t;if(t=!q.length)t=void ", | 4665 "+q[0]);for(var s;q.length&&(s=q.shift());){var t;if(t=!q.length)t=void ", |
4264 "0!==p;t?r[s]=p:r=r[s]?r[s]:r[s]={}};; return this._.apply(null,argument", | 4666 "0!==p;t?r[s]=p:r=r[s]?r[s]:r[s]={}};; return this._.apply(null,argument", |
4265 "s);}.apply({navigator:typeof window!=undefined?window.navigator:null,do", | 4667 "s);}.apply({navigator:typeof window!=undefined?window.navigator:null,do", |
4266 "cument:typeof window!=undefined?window.document:null}, arguments);}", | 4668 "cument:typeof window!=undefined?window.document:null}, arguments);}", |
4267 NULL | 4669 NULL |
4268 }; | 4670 }; |
4269 | 4671 |
4270 } // namespace atoms | 4672 } // namespace atoms |
4271 } // namespace webdriver | 4673 } // namespace webdriver |
4272 | 4674 |
OLD | NEW |