All Downloads are FREE. Search and download functionalities are using the official Maven repository.

drivers.js.third_party.webdriver-atoms.click.js Maven / Gradle / Ivy

Go to download

update:检查点bug修复,增加js执行的驱动,commandExecutor方法bug修复,驱动更新支持最新Firefox47/chrome51/IE10/IE11/IE Edge

There is a newer version: 1.5.0
Show newest version
function(){return function(){function h(a){return function(){return this[a]}}function aa(a){return function(){return a}}var l,m=this;
function ba(a){var b=typeof a;if("object"==b)if(a){if(a instanceof Array)return"array";if(a instanceof Object)return b;var c=Object.prototype.toString.call(a);if("[object Window]"==c)return"object";if("[object Array]"==c||"number"==typeof a.length&&"undefined"!=typeof a.splice&&"undefined"!=typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable("splice"))return"array";if("[object Function]"==c||"undefined"!=typeof a.call&&"undefined"!=typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable("call"))return"function"}else return"null";
else if("function"==b&&"undefined"==typeof a.call)return"object";return b}function ca(a){return void 0!==a}function da(a){var b=ba(a);return"array"==b||"object"==b&&"number"==typeof a.length}function n(a){return"string"==typeof a}function ea(a){return"number"==typeof a}function fa(a){return"function"==ba(a)}function ga(a){var b=typeof a;return"object"==b&&null!=a||"function"==b}var ia="closure_uid_"+(1E9*Math.random()>>>0),ja=0;function ka(a,b,c){return a.call.apply(a.bind,arguments)}
function la(a,b,c){if(!a)throw Error();if(2(0==s[1].length?0:parseInt(s[1],10))?1:0)||((0==w[2].length)<(0==s[2].length)?
-1:(0==w[2].length)>(0==s[2].length)?1:0)||(w[2]s[2]?1:0)}while(0==c)}return c}function ta(a){return String(a).replace(/\-([a-z])/g,function(a,c){return c.toUpperCase()})};var ua=Array.prototype;function r(a,b,c){for(var d=a.length,e=n(a)?a.split(""):a,f=0;fc?null:n(a)?a.charAt(c):a[c]}function Ba(a,b){var c;a:if(n(a))c=n(b)&&1==b.length?a.indexOf(b,0):-1;else{for(c=0;c=arguments.length?ua.slice.call(a,b):ua.slice.call(a,b,c)};var Ea={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",
darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",
ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",
lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",
moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",
seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};var Fa="backgroundColor borderTopColor borderRightColor borderBottomColor borderLeftColor color outlineColor".split(" "),Ga=/#([0-9a-fA-F])([0-9a-fA-F])([0-9a-fA-F])/,Ha=/^#(?:[0-9a-f]{3}){1,2}$/i,Ia=/^(?:rgba)?\((\d{1,3}),\s?(\d{1,3}),\s?(\d{1,3}),\s?(0|1|0\.\d*)\)$/i,Ja=/^(?:rgb)?\((0|[1-9]\d{0,2}),\s?(0|[1-9]\d{0,2}),\s?(0|[1-9]\d{0,2})\)$/i;function t(a,b){this.code=a;this.state=Ka[a]||La;this.message=b||"";var c=this.state.replace(/((?:^|\s+)[a-z])/g,function(a){return a.toUpperCase().replace(/^[\s\xa0]+/g,"")}),d=c.length-5;if(0>d||c.indexOf("Error",d)!=d)c+="Error";this.name=c;c=Error(this.message);c.name=this.name;this.stack=c.stack||""}p(t,Error);
var La="unknown error",Ka={15:"element not selectable",11:"element not visible",31:"ime engine activation failed",30:"ime not available",24:"invalid cookie domain",29:"invalid element coordinates",12:"invalid element state",32:"invalid selector",51:"invalid selector",52:"invalid selector",17:"javascript error",405:"unsupported operation",34:"move target out of bounds",27:"no such alert",7:"no such element",8:"no such frame",23:"no such window",28:"script timeout",33:"session not created",10:"stale element reference",
0:"success",21:"timeout",25:"unable to set cookie",26:"unexpected alert open"};Ka[13]=La;Ka[9]="unknown command";t.prototype.toString=function(){return this.name+": "+this.message};var Ma,Na,Oa,Pa,Qa,Ra,Sa;function Ta(){return m.navigator?m.navigator.userAgent:null}Qa=Pa=Oa=Na=Ma=!1;var Ua;if(Ua=Ta()){var Va=m.navigator;Ma=0==Ua.indexOf("Opera");Na=!Ma&&-1!=Ua.indexOf("MSIE");Pa=(Oa=!Ma&&-1!=Ua.indexOf("WebKit"))&&-1!=Ua.indexOf("Mobile");Qa=!Ma&&!Oa&&"Gecko"==Va.product}var v=Ma,x=Na,y=Qa,z=Oa,Wa=Pa,Xa,Ya=m.navigator;Xa=Ya&&Ya.platform||"";Ra=-1!=Xa.indexOf("Mac");Sa=-1!=Xa.indexOf("Win");var Za=-1!=Xa.indexOf("Linux");
function $a(){var a=m.document;return a?a.documentMode:void 0}var ab;a:{var bb="",cb;if(v&&m.opera)var db=m.opera.version,bb="function"==typeof db?db():db;else if(y?cb=/rv\:([^\);]+)(\)|;)/:x?cb=/MSIE\s+([^\);]+)(\)|;)/:z&&(cb=/WebKit\/(\S+)/),cb)var eb=cb.exec(Ta()),bb=eb?eb[1]:"";if(x){var fb=$a();if(fb>parseFloat(bb)){ab=String(fb);break a}}ab=bb}var gb={};function hb(a){return gb[a]||(gb[a]=0<=sa(ab,a))}function ib(a){return x&&jb>=a}
var kb=m.document,jb=kb&&x?$a()||("CSS1Compat"==kb.compatMode?parseInt(ab,10):5):void 0;var lb;!y&&!x||x&&ib(9)||y&&hb("1.9.1");x&&hb("9");function mb(a,b){this.x=ca(a)?a:0;this.y=ca(b)?b:0}l=mb.prototype;l.toString=function(){return"("+this.x+", "+this.y+")"};l.ceil=function(){this.x=Math.ceil(this.x);this.y=Math.ceil(this.y);return this};l.floor=function(){this.x=Math.floor(this.x);this.y=Math.floor(this.y);return this};l.round=function(){this.x=Math.round(this.x);this.y=Math.round(this.y);return this};l.scale=function(a,b){var c=ea(b)?b:a;this.x*=a;this.y*=c;return this};function nb(a,b){this.width=a;this.height=b}l=nb.prototype;l.toString=function(){return"("+this.width+" x "+this.height+")"};l.ceil=function(){this.width=Math.ceil(this.width);this.height=Math.ceil(this.height);return this};l.floor=function(){this.width=Math.floor(this.width);this.height=Math.floor(this.height);return this};l.round=function(){this.width=Math.round(this.width);this.height=Math.round(this.height);return this};l.scale=function(a,b){var c=ea(b)?b:a;this.width*=a;this.height*=c;return this};function ob(a,b){var c={},d;for(d in a)b.call(void 0,a[d],d,a)&&(c[d]=a[d]);return c}function pb(a,b){var c={},d;for(d in a)c[d]=b.call(void 0,a[d],d,a);return c}function qb(a){var b=[],c=0,d;for(d in a)b[c++]=a[d];return b}function rb(a,b){for(var c in a)if(b.call(void 0,a[c],c,a))return c};var sb=3;function tb(a){return a?new ub(A(a)):lb||(lb=new ub)}function vb(a){a=a.document;a=zb(a)?a.documentElement:a.body;return new nb(a.clientWidth,a.clientHeight)}function B(a){return a?a.parentWindow||a.defaultView:window}function zb(a){return"CSS1Compat"==a.compatMode}function Ab(a){for(;a&&1!=a.nodeType;)a=a.previousSibling;return a}
function Bb(a,b){if(a.contains&&1==b.nodeType)return a==b||a.contains(b);if("undefined"!=typeof a.compareDocumentPosition)return a==b||Boolean(a.compareDocumentPosition(b)&16);for(;b&&a!=b;)b=b.parentNode;return b==a}
function Cb(a,b){if(a==b)return 0;if(a.compareDocumentPosition)return a.compareDocumentPosition(b)&2?1:-1;if(x&&!ib(9)){if(9==a.nodeType)return-1;if(9==b.nodeType)return 1}if("sourceIndex"in a||a.parentNode&&"sourceIndex"in a.parentNode){var c=1==a.nodeType,d=1==b.nodeType;if(c&&d)return a.sourceIndex-b.sourceIndex;var e=a.parentNode,f=b.parentNode;return e==f?Db(a,b):!c&&Bb(e,b)?-1*Eb(a,b):!d&&Bb(f,a)?Eb(b,a):(c?a.sourceIndex:e.sourceIndex)-(d?b.sourceIndex:f.sourceIndex)}d=A(a);c=d.createRange();
c.selectNode(a);c.collapse(!0);d=d.createRange();d.selectNode(b);d.collapse(!0);return c.compareBoundaryPoints(m.Range.START_TO_END,d)}function Eb(a,b){var c=a.parentNode;if(c==b)return-1;for(var d=b;d.parentNode!=c;)d=d.parentNode;return Db(d,a)}function Db(a,b){for(var c=b;c=c.previousSibling;)if(c==a)return-1;return 1}function A(a){return 9==a.nodeType?a:a.ownerDocument||a.document}var Fb={SCRIPT:1,STYLE:1,HEAD:1,IFRAME:1,OBJECT:1},Gb={IMG:" ",BR:"\n"};
function Hb(a,b,c){if(!(a.nodeName in Fb))if(a.nodeType==sb)c?b.push(String(a.nodeValue).replace(/(\r\n|\r|\n)/g,"")):b.push(a.nodeValue);else if(a.nodeName in Gb)b.push(Gb[a.nodeName]);else for(a=a.firstChild;a;)Hb(a,b,c),a=a.nextSibling}function Ib(a,b,c){c||(a=a.parentNode);for(c=0;a;){if(b(a))return a;a=a.parentNode;c++}return null}function ub(a){this.F=a||m.document||document}ub.prototype.c=function(a){return n(a)?this.F.getElementById(a):a};
function Jb(a,b,c,d){a=d||a.F;b=b&&"*"!=b?b.toUpperCase():"";if(a.querySelectorAll&&a.querySelector&&(b||c))c=a.querySelectorAll(b+(c?"."+c:""));else if(c&&a.getElementsByClassName)if(a=a.getElementsByClassName(c),b){d={};for(var e=0,f=0,g;g=a[f];f++)b==g.nodeName&&(d[e++]=g);d.length=e;c=d}else c=a;else if(a=a.getElementsByTagName(b||"*"),c){d={};for(f=e=0;g=a[f];f++)b=g.className,"function"==typeof b.split&&Ba(b.split(/\s+/),c)&&(d[e++]=g);d.length=e;c=d}else c=a;return c}
function Kb(a){return!z&&zb(a.F)?a.F.documentElement:a.F.body||a.F.documentElement}ub.prototype.contains=Bb;var Lb,Mb,Nb,Ob,Pb,Qb,Rb;Rb=Qb=Pb=Ob=Nb=Mb=Lb=!1;var Sb=Ta();Sb&&(-1!=Sb.indexOf("Firefox")?Lb=!0:-1!=Sb.indexOf("Camino")?Mb=!0:-1!=Sb.indexOf("iPhone")||-1!=Sb.indexOf("iPod")?Nb=!0:-1!=Sb.indexOf("iPad")?Ob=!0:-1!=Sb.indexOf("Android")?Pb=!0:-1!=Sb.indexOf("Chrome")?Qb=!0:-1!=Sb.indexOf("Safari")&&(Rb=!0));var Tb=Lb,Ub=Mb,Vb=Nb,Wb=Ob,Xb=Pb,Yb=Qb,Zb=Rb;function $b(a,b,c){this.j=a;this.Wa=b||1;this.u=c||1};var ac=x&&!ib(9),bc=x&&!ib(8);function cc(a,b,c,d,e){this.j=a;this.nodeName=c;this.nodeValue=d;this.nodeType=2;this.ownerElement=b;this.gb=e;this.parentNode=b}function dc(a,b,c){var d=bc&&"href"==b.nodeName?a.getAttribute(b.nodeName,2):b.nodeValue;return new cc(b,a,b.nodeName,d,c)};function ec(a){this.ta=a;this.ba=0}function fc(a){a=a.match(gc);for(var b=0;b]=|\\s+|.","g"),hc=/^\s/;function C(a,b){return a.ta[a.ba+(b||0)]}ec.prototype.next=function(){return this.ta[this.ba++]};ec.prototype.back=function(){this.ba--};ec.prototype.empty=function(){return this.ta.length<=this.ba};function ic(a){var b=null,c=a.nodeType;1==c&&(b=a.textContent,b=void 0==b||null==b?a.innerText:b,b=void 0==b||null==b?"":b);if("string"!=typeof b)if(ac&&"title"==a.nodeName.toLowerCase()&&1==c)b=a.text;else if(9==c||1==c){a=9==c?a.documentElement:a.firstChild;for(var c=0,d=[],b="";a;){do 1!=a.nodeType&&(b+=a.nodeValue),ac&&"title"==a.nodeName.toLowerCase()&&(b+=a.text),d[c++]=a;while(a=a.firstChild);for(;c&&!(a=d[--c].nextSibling););}}else b=a.nodeValue;return""+b}
function jc(a,b,c){if(null===b)return!0;try{if(!a.getAttribute)return!1}catch(d){return!1}bc&&"class"==b&&(b="className");return null==c?!!a.getAttribute(b):a.getAttribute(b,2)==c}function kc(a,b,c,d,e){return(ac?lc:mc).call(null,a,b,n(c)?c:null,n(d)?d:null,e||new D)}
function lc(a,b,c,d,e){if(a instanceof nc||8==a.g||c&&null===a.g){var f=b.all;if(!f)return e;a=oc(a);if("*"!=a&&(f=b.getElementsByTagName(a),!f))return e;if(c){for(var g=[],k=0;b=f[k++];)jc(b,c,d)&&g.push(b);f=g}for(k=0;b=f[k++];)"*"==a&&"!"==b.tagName||e.add(b);return e}pc(a,b,c,d,e);return e}
function mc(a,b,c,d,e){b.getElementsByName&&d&&"name"==c&&!x?(b=b.getElementsByName(d),r(b,function(b){a.matches(b)&&e.add(b)})):b.getElementsByClassName&&d&&"class"==c?(b=b.getElementsByClassName(d),r(b,function(b){b.className==d&&a.matches(b)&&e.add(b)})):a instanceof qc?pc(a,b,c,d,e):b.getElementsByTagName&&(b=b.getElementsByTagName(a.getName()),r(b,function(a){jc(a,c,d)&&e.add(a)}));return e}
function rc(a,b,c,d,e){var f;if((a instanceof nc||8==a.g||c&&null===a.g)&&(f=b.childNodes)){var g=oc(a);if("*"!=g&&(f=va(f,function(a){return a.tagName&&a.tagName.toLowerCase()==g}),!f))return e;c&&(f=va(f,function(a){return jc(a,c,d)}));r(f,function(a){"*"==g&&("!"==a.tagName||"*"==g&&1!=a.nodeType)||e.add(a)});return e}return sc(a,b,c,d,e)}function sc(a,b,c,d,e){for(b=b.firstChild;b;b=b.nextSibling)jc(b,c,d)&&a.matches(b)&&e.add(b);return e}
function pc(a,b,c,d,e){for(b=b.firstChild;b;b=b.nextSibling)jc(b,c,d)&&a.matches(b)&&e.add(b),pc(a,b,c,d,e)}function oc(a){if(a instanceof qc){if(8==a.g)return"!";if(null===a.g)return"*"}return a.getName()};function D(){this.u=this.n=null;this.U=0}function tc(a){this.B=a;this.next=this.O=null}function uc(a,b){if(!a.n)return b;if(!b.n)return a;for(var c=a.n,d=b.n,e=null,f=null,g=0;c&&d;)c.B==d.B||c.B instanceof cc&&d.B instanceof cc&&c.B.j==d.B.j?(f=c,c=c.next,d=d.next):0",4,2,function(a,b,c){return Ec(function(a,b){return a>b},a,b,c)});J("<=",4,2,function(a,b,c){return Ec(function(a,b){return a<=b},a,b,c)});J(">=",4,2,function(a,b,c){return Ec(function(a,b){return a>=b},a,b,c)});var Dc=J("=",3,2,function(a,b,c){return Ec(function(a,b){return a==b},a,b,c,!0)});J("!=",3,2,function(a,b,c){return Ec(function(a,b){return a!=b},a,b,c,!0)});J("and",2,2,function(a,b,c){return Bc(a,c)&&Bc(b,c)});J("or",1,2,function(a,b,c){return Bc(a,c)||Bc(b,c)});function Hc(a,b){if(b.A()&&4!=a.m)throw Error("Primary expression must evaluate to nodeset if filter has predicate(s).");E.call(this,a.m);this.Fa=a;this.i=b;this.C=a.k();this.p=a.p}p(Hc,E);Hc.prototype.evaluate=function(a){a=this.Fa.evaluate(a);return Ic(this.i,a)};Hc.prototype.toString=function(){var a;a="Filter:"+G(this.Fa);return a+=G(this.i)};function Jc(a,b){if(b.lengtha.oa)throw Error("Function "+a.t+" expects at most "+a.oa+" arguments, "+b.length+" given");a.Ta&&r(b,function(b,d){if(4!=b.m)throw Error("Argument "+d+" to function "+a.t+" is not of type Nodeset: "+b);});E.call(this,a.m);this.aa=a;this.ha=b;zc(this,a.C||ya(b,function(a){return a.k()}));Ac(this,a.Ra&&!b.length||a.Qa&&!!b.length||ya(b,function(a){return a.p}))}
p(Jc,E);Jc.prototype.evaluate=function(a){return this.aa.w.apply(null,Ca(a,this.ha))};Jc.prototype.toString=function(){var a="Function: "+this.aa;if(this.ha.length)var b=xa(this.ha,function(a,b){return a+G(b)},"Arguments:"),a=a+G(b);return a};function Kc(a,b,c,d,e,f,g,k,q){this.t=a;this.m=b;this.C=c;this.Ra=d;this.Qa=e;this.w=f;this.Ca=g;this.oa=ca(k)?k:g;this.Ta=!!q}Kc.prototype.toString=h("t");var Lc={};
function K(a,b,c,d,e,f,g,k){if(Lc.hasOwnProperty(a))throw Error("Function already created: "+a+".");Lc[a]=new Kc(a,b,c,d,!1,e,f,g,k)}K("boolean",2,!1,!1,function(a,b){return Bc(b,a)},1);K("ceiling",1,!1,!1,function(a,b){return Math.ceil(H(b,a))},1);K("concat",3,!1,!1,function(a,b){var c=Da(arguments,1);return xa(c,function(b,c){return b+I(c,a)},"")},2,null);K("contains",2,!1,!1,function(a,b,c){b=I(b,a);a=I(c,a);return-1!=b.indexOf(a)},2);
K("count",1,!1,!1,function(a,b){return b.evaluate(a).A()},1,1,!0);K("false",2,!1,!1,aa(!1),0);K("floor",1,!1,!1,function(a,b){return Math.floor(H(b,a))},1);
K("id",4,!1,!1,function(a,b){function c(a){if(ac){var b=e.all[a];if(b){if(b.nodeType&&a==b.id)return b;if(b.length)return Aa(b,function(b){return a==b.id})}return null}return e.getElementById(a)}var d=a.j,e=9==d.nodeType?d:d.ownerDocument,d=I(b,a).split(/\s+/),f=[];r(d,function(a){(a=c(a))&&!Ba(f,a)&&f.push(a)});f.sort(Cb);var g=new D;r(f,function(a){g.add(a)});return g},1);K("lang",2,!1,!1,aa(!1),1);
K("last",1,!0,!1,function(a){if(1!=arguments.length)throw Error("Function last expects ()");return a.u},0);K("local-name",3,!1,!0,function(a,b){var c=b?vc(b.evaluate(a)):a.j;return c?c.nodeName.toLowerCase():""},0,1,!0);K("name",3,!1,!0,function(a,b){var c=b?vc(b.evaluate(a)):a.j;return c?c.nodeName.toLowerCase():""},0,1,!0);K("namespace-uri",3,!0,!1,aa(""),0,1,!0);K("normalize-space",3,!1,!0,function(a,b){return(b?I(b,a):ic(a.j)).replace(/[\s\xa0]+/g," ").replace(/^\s+|\s+$/g,"")},0,1);
K("not",2,!1,!1,function(a,b){return!Bc(b,a)},1);K("number",1,!1,!0,function(a,b){return b?H(b,a):+ic(a.j)},0,1);K("position",1,!0,!1,function(a){return a.Wa},0);K("round",1,!1,!1,function(a,b){return Math.round(H(b,a))},1);K("starts-with",2,!1,!1,function(a,b,c){b=I(b,a);a=I(c,a);return 0==b.lastIndexOf(a,0)},2);K("string",3,!1,!0,function(a,b){return b?I(b,a):ic(a.j)},0,1);K("string-length",1,!1,!0,function(a,b){return(b?I(b,a):ic(a.j)).length},0,1);
K("substring",3,!1,!1,function(a,b,c,d){c=H(c,a);if(isNaN(c)||Infinity==c||-Infinity==c)return"";d=d?H(d,a):Infinity;if(isNaN(d)||-Infinity===d)return"";c=Math.round(c)-1;var e=Math.max(c,0);a=I(b,a);if(Infinity==d)return a.substring(e);b=Math.round(d);return a.substring(e,c+b)},2,3);K("substring-after",3,!1,!1,function(a,b,c){b=I(b,a);a=I(c,a);c=b.indexOf(a);return-1==c?"":b.substring(c+a.length)},2);
K("substring-before",3,!1,!1,function(a,b,c){b=I(b,a);a=I(c,a);a=b.indexOf(a);return-1==a?"":b.substring(0,a)},2);K("sum",1,!1,!1,function(a,b){for(var c=xc(b.evaluate(a)),d=0,e=c.next();e;e=c.next())d+=+ic(e);return d},1,1,!0);K("translate",3,!1,!1,function(a,b,c,d){b=I(b,a);c=I(c,a);var e=I(d,a);a=[];for(d=0;da.length)throw Error("Unclosed literal string");return new Nc(a)}function kd(a){var b=a.b.next(),c=b.indexOf(":");if(-1==c)return new nc(b);var d=b.substring(0,c);a=a.Ua(d);if(!a)throw Error("Namespace prefix not declared: "+d);b=b.substr(c+1);return new nc(b,a)}
function ld(a){var b,c=[],d;if("/"==C(a.b)||"//"==C(a.b)){b=a.b.next();d=C(a.b);if("/"==b&&(a.b.empty()||"."!=d&&".."!=d&&"@"!=d&&"*"!=d&&!/(?![0-9])[\w]/.test(d)))return new Rc;d=new Rc;M(a,"Missing next location step.");b=md(a,b);c.push(b)}else{a:{b=C(a.b);d=b.charAt(0);switch(d){case "$":throw Error("Variable reference not allowed in HTML XPath");case "(":a.b.next();b=fd(a);M(a,'unclosed "("');hd(a,")");break;case '"':case "'":b=jd(a);break;default:if(isNaN(+b))if(!Mc(b)&&/(?![0-9])[\w]/.test(d)&&
"("==C(a.b,1)){b=a.b.next();b=Lc[b]||null;a.b.next();for(d=[];")"!=C(a.b);){M(a,"Missing function argument list.");d.push(fd(a));if(","!=C(a.b))break;a.b.next()}M(a,"Unclosed function argument list.");id(a);b=new Jc(b,d)}else{b=null;break a}else b=new Oc(+a.b.next())}"["==C(a.b)&&(d=new Vc(nd(a)),b=new Hc(b,d))}if(b)if("/"==C(a.b)||"//"==C(a.b))d=b;else return b;else b=md(a,"/"),d=new Sc,c.push(b)}for(;"/"==C(a.b)||"//"==C(a.b);)b=a.b.next(),M(a,"Missing next location step."),b=md(a,b),c.push(b);
return new Pc(d,c)}
function md(a,b){var c,d,e;if("/"!=b&&"//"!=b)throw Error('Step op should be "/" or "//"');if("."==C(a.b))return d=new Wc(bd,new qc("node")),a.b.next(),d;if(".."==C(a.b))return d=new Wc(ad,new qc("node")),a.b.next(),d;var f;if("@"==C(a.b))f=Qc,a.b.next(),M(a,"Missing attribute name");else if("::"==C(a.b,1)){if(!/(?![0-9])[\w]/.test(C(a.b).charAt(0)))throw Error("Bad token: "+a.b.next());c=a.b.next();f=$c[c]||null;if(!f)throw Error("No axis with name: "+c);a.b.next();M(a,"Missing node name")}else f=Xc;
c=C(a.b);if(/(?![0-9])[\w]/.test(c.charAt(0)))if("("==C(a.b,1)){if(!Mc(c))throw Error("Invalid node type: "+c);c=a.b.next();if(!Mc(c))throw Error("Invalid type name: "+c);hd(a,"(");M(a,"Bad nodetype");e=C(a.b).charAt(0);var g=null;if('"'==e||"'"==e)g=jd(a);M(a,"Bad nodetype");id(a);c=new qc(c,g)}else c=kd(a);else if("*"==c)c=kd(a);else throw Error("Bad token: "+a.b.next());e=new Vc(nd(a),f.P);return d||new Wc(f,c,e,"//"==b)}
function nd(a){for(var b=[];"["==C(a.b);){a.b.next();M(a,"Missing predicate expression.");var c=fd(a);b.push(c);M(a,"Unclosed predicate expression.");hd(a,"]")}return b}function gd(a){if("-"==C(a.b))return a.b.next(),new cd(gd(a));var b=ld(a);if("|"!=C(a.b))a=b;else{for(b=[b];"|"==a.b.next();)M(a,"Missing next union location path."),b.push(ld(a));a.b.back();a=new dd(b)}return a};function od(a){switch(a.nodeType){case 1:return na(pd,a);case 9:return od(a.documentElement);case 2:return a.ownerElement?od(a.ownerElement):qd;case 11:case 10:case 6:case 12:return qd;default:return a.parentNode?od(a.parentNode):qd}}function qd(){return null}function pd(a,b){if(a.prefix==b)return a.namespaceURI||"http://www.w3.org/1999/xhtml";var c=a.getAttributeNode("xmlns:"+b);return c&&c.specified?c.value||null:a.parentNode&&9!=a.parentNode.nodeType?pd(a.parentNode,b):null};function rd(a,b){if(!a.length)throw Error("Empty XPath expression.");var c=fc(a);if(c.empty())throw Error("Invalid XPath expression.");b?fa(b)||(b=ma(b.lookupNamespaceURI,b)):b=aa(null);var d=fd(new ed(c,b));if(!c.empty())throw Error("Bad token: "+c.next());this.evaluate=function(a,b){var c=d.evaluate(new $b(a));return new N(c,b)}}
function N(a,b){if(0==b)if(a instanceof D)b=4;else if("string"==typeof a)b=2;else if("number"==typeof a)b=1;else if("boolean"==typeof a)b=3;else throw Error("Unexpected evaluation result.");if(2!=b&&1!=b&&3!=b&&!(a instanceof D))throw Error("value could not be converted to the specified type");this.resultType=b;var c;switch(b){case 2:this.stringValue=a instanceof D?wc(a):""+a;break;case 1:this.numberValue=a instanceof D?+wc(a):+a;break;case 3:this.booleanValue=a instanceof D?0=c.length?null:c[f++]};this.snapshotItem=function(a){if(6!=b&&7!=b)throw Error("snapshotItem called with wrong result type");return a>=
c.length||0>a?null:c[a]}}N.ANY_TYPE=0;N.NUMBER_TYPE=1;N.STRING_TYPE=2;N.BOOLEAN_TYPE=3;N.UNORDERED_NODE_ITERATOR_TYPE=4;N.ORDERED_NODE_ITERATOR_TYPE=5;N.UNORDERED_NODE_SNAPSHOT_TYPE=6;N.ORDERED_NODE_SNAPSHOT_TYPE=7;N.ANY_UNORDERED_NODE_TYPE=8;N.FIRST_ORDERED_NODE_TYPE=9;function sd(a){this.lookupNamespaceURI=od(a)}
function td(a){a=a||m;var b=a.document;b.evaluate||(a.XPathResult=N,b.evaluate=function(a,b,e,f){return(new rd(a,e)).evaluate(b,f)},b.createExpression=function(a,b){return new rd(a,b)},b.createNSResolver=function(a){return new sd(a)})};var P={};P.Ma=function(){var a={ib:"http://www.w3.org/2000/svg"};return function(b){return a[b]||null}}();P.w=function(a,b,c){var d=A(a);(x||Xb)&&td(B(d));try{var e=d.createNSResolver?d.createNSResolver(d.documentElement):P.Ma;return x&&!hb(7)?d.evaluate.call(d,b,a,e,c,null):d.evaluate(b,a,e,c,null)}catch(f){if(!y||"NS_ERROR_ILLEGAL_VALUE"!=f.name)throw new t(32,"Unable to locate an element with the xpath expression "+b+" because of the following error:\n"+f);}};
P.ia=function(a,b){if(!a||1!=a.nodeType)throw new t(32,'The result of the xpath expression "'+b+'" is: '+a+". It should be an element.");};P.H=function(a,b){var c=function(){var c=P.w(b,a,9);return c?(c=c.singleNodeValue,v?c:c||null):b.selectSingleNode?(c=A(b),c.setProperty&&c.setProperty("SelectionLanguage","XPath"),b.selectSingleNode(a)):null}();null===c||P.ia(c,a);return c};
P.v=function(a,b){var c=function(){var c=P.w(b,a,7);if(c){var e=c.snapshotLength;v&&!ca(e)&&P.ia(null,a);for(var f=[],g=0;g=this.left&&a.right<=this.right&&a.top>=this.top&&a.bottom<=this.bottom:a.x>=this.left&&a.x<=this.right&&a.y>=this.top&&a.y<=this.bottom:!1};
l.ceil=function(){this.top=Math.ceil(this.top);this.right=Math.ceil(this.right);this.bottom=Math.ceil(this.bottom);this.left=Math.ceil(this.left);return this};l.floor=function(){this.top=Math.floor(this.top);this.right=Math.floor(this.right);this.bottom=Math.floor(this.bottom);this.left=Math.floor(this.left);return this};l.round=function(){this.top=Math.round(this.top);this.right=Math.round(this.right);this.bottom=Math.round(this.bottom);this.left=Math.round(this.left);return this};
l.scale=function(a,b){var c=ea(b)?b:a;this.left*=a;this.right*=a;this.top*=c;this.bottom*=c;return this};function R(a,b,c,d){this.left=a;this.top=b;this.width=c;this.height=d}l=R.prototype;l.toString=function(){return"("+this.left+", "+this.top+" - "+this.width+"w x "+this.height+"h)"};l.contains=function(a){return a instanceof R?this.left<=a.left&&this.left+this.width>=a.left+a.width&&this.top<=a.top&&this.top+this.height>=a.top+a.height:a.x>=this.left&&a.x<=this.left+this.width&&a.y>=this.top&&a.y<=this.top+this.height};
l.ceil=function(){this.left=Math.ceil(this.left);this.top=Math.ceil(this.top);this.width=Math.ceil(this.width);this.height=Math.ceil(this.height);return this};l.floor=function(){this.left=Math.floor(this.left);this.top=Math.floor(this.top);this.width=Math.floor(this.width);this.height=Math.floor(this.height);return this};l.round=function(){this.left=Math.round(this.left);this.top=Math.round(this.top);this.width=Math.round(this.width);this.height=Math.round(this.height);return this};
l.scale=function(a,b){var c=ea(b)?b:a;this.left*=a;this.width*=a;this.top*=c;this.height*=c;return this};function Ld(a,b){var c=A(a);return c.defaultView&&c.defaultView.getComputedStyle&&(c=c.defaultView.getComputedStyle(a,null))?c[b]||c.getPropertyValue(b)||"":""}function Md(a){a=a?A(a):document;var b;(b=!x)||(b=ib(9))||(b=tb(a),b=zb(b.F));return b?a.documentElement:a.body}
function Nd(a){var b=a.offsetWidth,c=a.offsetHeight,d=z&&!b&&!c;if((!ca(b)||d)&&a.getBoundingClientRect){var e;a:{try{e=a.getBoundingClientRect()}catch(f){e={left:0,top:0,right:0,bottom:0};break a}x&&a.ownerDocument.body&&(a=a.ownerDocument,e.left-=a.documentElement.clientLeft+a.body.clientLeft,e.top-=a.documentElement.clientTop+a.body.clientTop)}return new nb(e.right-e.left,e.bottom-e.top)}return new nb(b,c)}var Od={thin:2,medium:4,thick:6};
function Pd(a,b){if("none"==(a.currentStyle?a.currentStyle[b+"Style"]:null))return 0;var c=a.currentStyle?a.currentStyle[b+"Width"]:null,d;if(c in Od)d=Od[c];else if(/^\d+px?$/.test(c))d=parseInt(c,10);else{d=a.style.left;var e=a.runtimeStyle.left;a.runtimeStyle.left=a.currentStyle.left;a.style.left=c;c=a.style.pixelLeft;a.style.left=d;a.runtimeStyle.left=e;d=c}return d};function Qd(a){var b;a:{a=A(a);try{b=a&&a.activeElement;break a}catch(c){}b=null}return x&&b&&"undefined"===typeof b.nodeType?null:b}function S(a,b){return!!a&&1==a.nodeType&&(!b||a.tagName.toUpperCase()==b)}function Rd(a){return Sd(a,!0)&&Td(a)&&!(x||v||y&&!Q("1.9.2")?0:"none"==T(a,"pointer-events"))}function Ud(a){return S(a,"OPTION")?!0:S(a,"INPUT")?(a=a.type.toLowerCase(),"checkbox"==a||"radio"==a):!1}
function Vd(a){if(!Ud(a))throw new t(15,"Element is not selectable");var b="selected",c=a.type&&a.type.toLowerCase();if("checkbox"==c||"radio"==c)b="checked";return!!Wd(a,b)}function Wd(a,b){var c;if(c=Ed)if(c="value"==b)if(c=S(a,"OPTION"))c=null===Xd(a,"value");c?(c=[],Hb(a,c,!1),c=c.join("")):c=a[b];return c}var Yd=/[;]+(?=(?:(?:[^"]*"){2})*[^"]*$)(?=(?:(?:[^']*'){2})*[^']*$)(?=(?:[^()]*\([^()]*\))*[^()]*$)/;
function Zd(a){var b=[];r(a.split(Yd),function(a){var d=a.indexOf(":");0=c&&0<=f&&255>=f&&0<=g&&255>=g&&0<=e&&1>=e){c=[c,f,g,e];break b}}c=null}if(!c){b:{if(g=d.match(Ja))if(c=Number(g[1]),f=Number(g[2]),g=Number(g[3]),0<=c&&255>=c&&0<=f&&255>=f&&0<=g&&255>=g){c=[c,f,g,1];break b}c=null}if(!c)b:{c=d.toLowerCase();
f=Ea[c.toLowerCase()];if(!f&&(f="#"==c.charAt(0)?c:"#"+c,4==f.length&&(f=f.replace(Ga,"#$1$1$2$2$3$3")),!Ha.test(f))){c=null;break b}c=[parseInt(f.substr(1,2),16),parseInt(f.substr(3,2),16),parseInt(f.substr(5,2),16),1]}}d=c?"rgba("+c.join(", ")+")":d}return d}function ee(a,b){var c=a.currentStyle||a.style,d=c[b];!ca(d)&&fa(c.getPropertyValue)&&(d=c.getPropertyValue(b));return"inherit"!=d?ca(d)?d:null:(c=de(a))?ee(c,b):null}
function Sd(a,b){function c(a){if("none"==T(a,"display"))return!1;a=de(a);return!a||c(a)}function d(a){var b=fe(a);return 0=F.left+F.width;F=f.top>=F.top+F.height;if(O&&"hidden"==s.x||F&&"hidden"==s.y)return he;if(O&&"visible"!=s.x||F&&"visible"!=s.y){if(Y&&(s=e(w),f.left>=k.scrollWidth-s.x||f.right>=k.scrollHeight-s.y))return he;f=ge(w);return f==he?he:"scroll"}}}return"none"}var le=RegExp("matrix\\(([\\d\\.\\-]+), ([\\d\\.\\-]+), ([\\d\\.\\-]+), ([\\d\\.\\-]+), ([\\d\\.\\-]+)(?:px)?, ([\\d\\.\\-]+)(?:px)?\\)");
function fe(a){function b(a){var c=B(A(a)).getComputedStyle(a,null).MozTransform.match(le);if(c){var d=parseFloat(c[1]),e=parseFloat(c[2]),Y=parseFloat(c[3]),w=parseFloat(c[4]),s=parseFloat(c[5]),c=parseFloat(c[6]),F=f.left+f.width,O=f.top+f.height,ha=f.left*d,d=F*d,wb=f.left*e,e=F*e,xb=f.top*Y,Y=O*Y,yb=f.top*w,F=O*w,O=ha+xb+s,w=wb+yb+c,xb=d+xb+s,yb=e+yb+c,ha=ha+Y+s,wb=wb+F+c,s=d+Y+s,c=e+F+c;f.left=Math.min(O,xb,ha,s);f.top=Math.min(w,yb,wb,c);s=Math.max(O,xb,ha,s);c=Math.max(w,yb,wb,c);f.width=s-
f.left;f.height=c-f.top}(a=de(a))&&b(a)}var c=ie(a);if(c)return c.rect;if(S(a,"HTML"))return c=A(a),a=vb(B(c)||window),new R(0,0,a.width,a.height);var d;try{d=a.getBoundingClientRect()}catch(e){return new R(0,0,0,0)}var f=new R(d.left,d.top,d.right-d.left,d.bottom-d.top);x&&a.ownerDocument.body&&(c=A(a),f.left-=c.documentElement.clientLeft+c.body.clientLeft,f.top-=c.documentElement.clientTop+c.body.clientTop);v&&(0==f.width&&02*this.R&&Gf(this),!0):!1};
function Gf(a){if(a.R!=a.l.length){for(var b=0,c=0;b");W(191,"/","?");W(192,"`","~");W(219,"[","{");W(220,"\\","|");W(221,"]","}");var Ng=W({d:59,e:186,opera:59},";",":");W(222,"'",'"');var Og=[Uf,Tf,hg,X],Pg=new Ff;Pg.set(1,X);Pg.set(2,Tf);Pg.set(4,Uf);Pg.set(8,hg);var Qg=function(a){var b=new Ff;r(Hf(a),function(c){b.set(a.get(c).code,c)});return b}(Pg);function Nf(a,b,c){if(Ba(Og,b)){var d=Qg.get(b.code),e=a.V;e.da=c?e.da|d:e.da&~d}c?a.sa.add(b):a.sa.remove(b)}var Rg=x||v?"\r\n":"\n";Mf.prototype.h=function(a){return this.sa.contains(a)};
function Sg(a,b){if(Ba(Og,b)&&a.h(b))throw new t(13,"Cannot press a modifier key that is already pressed.");var c=null!==b.code&&Tg(a,qf,b);if((c||y)&&((!Ug(b)||Tg(a,hf,b,!c))&&c)&&(Vg(a,b),a.ka))if(b.K){if(!Wg){var c=Xg(a,b),d=Bf(a.c(),!0)[0]+1;Ef(a.c(),c);xf(a.c(),d);z&&a.N(of);Gd||a.N(nf);a.s=d}}else switch(b){case Sf:Wg||(z&&a.N(of),S(a.c(),"TEXTAREA")&&(c=Bf(a.c(),!0)[0]+Rg.length,Ef(a.c(),Rg),xf(a.c(),c),x||a.N(nf),a.s=c));break;case Qf:case gg:Wg||(c=Bf(a.c(),!1),c[0]==c[1]&&(b==Qf?(xf(a.c(),
c[1]-1),Cf(a.c(),c[1])):Cf(a.c(),c[1]+1)),c=Bf(a.c(),!1),c=!(c[0]==a.c().value.length||0==c[1]),Ef(a.c(),""),(!x&&c||y&&b==Qf)&&a.N(nf),c=Bf(a.c(),!1),a.s=c[1]);break;case bg:case dg:var c=a.c(),e=Bf(c,!0)[0],f=Bf(c,!1)[1],g=d=0;b==bg?a.h(X)?a.s==e?(d=Math.max(e-1,0),g=f,e=d):(d=e,e=g=f-1):e=e==f?Math.max(e-1,0):e:a.h(X)?a.s==f?(d=e,e=g=Math.min(f+1,c.value.length)):(d=e+1,g=f,e=d):e=e==f?Math.min(f+1,c.value.length):f;a.h(X)?(xf(c,d),Cf(c,g)):Df(c,e);a.s=e;break;case ag:case $f:c=a.c(),d=Bf(c,!0)[0],
g=Bf(c,!1)[1],b==ag?(a.h(X)?(xf(c,0),Cf(c,a.s==d?g:d)):Df(c,0),a.s=0):(a.h(X)?(a.s==d&&xf(c,g),Cf(c,c.value.length)):Df(c,c.value.length),a.s=c.value.length)}Nf(a,b,!0)}function Ug(a){if(a.K||a==Sf)return!0;if(z)return!1;if(x)return a==Wf;switch(a){case X:case Tf:case Uf:return!1;case hg:case ig:case jg:return y;default:return!0}}
function Vg(a,b){if(b==Sf&&!y&&S(a.c(),"INPUT")){var c=Ib(a.c(),Xe,!0);if(c){var d=c.getElementsByTagName("input");(ya(d,function(a){return Ue(a)})||1==d.length||z&&!Q(534))&&Ye(c)}}}function Yg(a,b){if(!a.h(b))throw new t(13,"Cannot release a key that is not pressed. ("+b.code+")");null===b.code||Tg(a,rf,b);Nf(a,b,!1)}function Xg(a,b){if(!b.K)throw new t(13,"not a character key");return a.h(X)?b.Ya:b.K}var Wg=y&&!Q(12);
function Tg(a,b,c,d){if(null===c.code)throw new t(13,"Key must have a keycode to be fired.");c={altKey:a.h(Uf),ctrlKey:a.h(Tf),metaKey:a.h(hg),shiftKey:a.h(X),keyCode:c.code,charCode:c.K&&b==hf?Xg(a,c).charCodeAt(0):0,preventDefault:!!d};return a.la(b,c)}function Zg(a,b){Be(a,b);a.ka=be(b)&&!Wd(b,"readOnly");var c=Re(a);a.ka&&c&&(Df(b,b.value.length),a.s=b.value.length)};function $g(a,b,c){Ae.call(this,b,c);this.M=this.r=null;this.L=new mb(0,0);this.ma=this.W=!1;if(a){this.r=a.bb;try{S(a.Oa)&&(this.M=a.Oa)}catch(d){this.r=null}this.L=a.cb;this.W=a.fb;this.ma=a.eb;try{S(a.element)&&Be(this,a.element)}catch(e){this.r=null}}}p($g,Ae);var Z={};
Gd?(Z[Ge]=[0,0,0,null],Z[Ne]=[null,null,0,null],Z[Qe]=[1,4,2,null],Z[Fe]=[0,0,0,0],Z[Oe]=[1,4,2,0]):z||Fd?(Z[Ge]=[0,1,2,null],Z[Ne]=[null,null,2,null],Z[Qe]=[0,1,2,null],Z[Fe]=[0,1,2,0],Z[Oe]=[0,1,2,0]):(Z[Ge]=[0,1,2,null],Z[Ne]=[null,null,2,null],Z[Qe]=[0,1,2,null],Z[Fe]=[0,0,0,0],Z[Oe]=[0,0,0,0]);Hd&&(Z[Me]=Z[Qe],Z[wf]=Z[Qe],Z[Pe]=[-1,-1,-1,-1],Z[Le]=Z[Pe],Z[Ke]=Z[Pe]);Z[pf]=Z[Ge];Z[He]=Z[Qe];Z[Ee]=Z[Fe];var ah={};ah[He]=Me;ah[Oe]=Pe;ah[Fe]=Le;ah[Ee]=Ke;ah[Qe]=wf;
$g.prototype.move=function(a,b){var c=Rd(a),d=fe(a);this.L.x=b.x+d.left;this.L.y=b.y+d.top;d=this.c();if(a!=d){try{B(A(d)).closed&&(d=null)}catch(e){d=null}if(d){var f=d===pa.document.documentElement||d===pa.document.body,d=!this.ma&&f?null:d;bh(this,Fe,a)}Be(this,a);x||bh(this,Ee,d,null,c)}bh(this,Oe,null,null,c);x&&a!=d&&bh(this,Ee,d,null,c);this.W=!1};
function bh(a,b,c,d,e){a.ma=!0;if(Hd){var f=ah[b];if(f&&!a.S(f,a.L,ch(a,f),1,MSPointerEvent.MSPOINTER_TYPE_MOUSE,!0,c,e))return!1}return a.$(b,a.L,ch(a,b),c,d,e)}function ch(a,b){if(!(b in Z))return 0;var c=Z[b][null===a.r?3:a.r];if(null===c)throw new t(13,"Event does not permit the specified mouse button.");return c};function dh(a,b){this.x=a;this.y=b}p(dh,mb);dh.prototype.scale=mb.prototype.scale;dh.prototype.add=function(a){this.x+=a.x;this.y+=a.y;return this};function eh(a,b,c,d){function e(a){n(a)?r(a.split(""),function(a){if(1!=a.length)throw new t(13,"Argument not a single character: "+a);var b=Of[a];b||(b=a.toUpperCase(),b=W(b.charCodeAt(0),a.toLowerCase(),b),b={key:b,shift:a!=b.K});a=b;b=f.h(X);a.shift&&!b&&Sg(f,X);Sg(f,a.key);Yg(f,a.key);a.shift&&!b&&Yg(f,X)}):Ba(Og,a)?f.h(a)?Yg(f,a):Sg(f,a):(Sg(f,a),Yg(f,a))}if(a!=Qd(a)){if(!Rd(a))throw new t(12,"Element is not currently interactable and may not be manipulated");fh(a)}var f=c||new Mf;Zg(f,a);if((!Zb||
Wa)&&z&&"date"==a.type){c="array"==ba(b)?b=b.join(""):b;var g=/\d{4}-\d{2}-\d{2}/;if(c.match(g)){Wa&&Zb&&(U(a,tf),U(a,sf));U(a,Se);a.value=c.match(g)[0];U(a,mf);U(a,lf);return}}"array"==ba(b)?r(b,e):e(b);d||r(Og,function(a){f.h(a)&&Yg(f,a)})}
function gh(a,b,c){if(!Sd(a,!0))throw new t(11,"Element is not currently visible and may not be manipulated");fh(a,b||void 0);b?b=new dh(b.x,b.y):(b=hh(a),b=new dh(b.width/2,b.height/2));c=c||new $g;c.move(a,b);if(null!==c.r)throw new t(13,"Cannot press more then one button or an already pressed button.");c.r=0;c.M=c.c();var d;a=y&&!zd(4);(z||a)&&(S(c.c(),"OPTION")||S(c.c(),"SELECT"))?d=!0:((a=y||x)&&(d=Qd(c.c())),d=(b=bh(c,He))&&a&&d!=Qd(c.c())?!1:b);d&&(Hd&&(0==c.r&&S(c.M,"OPTION"))&&c.S(uf,c.L,
0,1,MSPointerEvent.MSPOINTER_TYPE_MOUSE,!0),Re(c));if(null===c.r)throw new t(13,"Cannot release a button when no button is pressed.");c.q&&Rd(c.f)&&(d=c.q,a=Vd(c.f),!a||d.multiple)&&(c.f.selected=!a,(!z||!d.multiple||Yb&&zd(28)||Xb&&zd(4))&&U(d,mf));bh(c,Qe);if(0==c.r&&c.c()==c.M){if(!Jd||!S(c.M,"OPTION"))if(d=c.L,a=ch(c,Ge),Rd(c.f)){var e=b=null;if(!Te)for(var f=c.f;f;f=f.parentNode)if(S(f,"A")){b=f;break}else if(Ue(f)){e=f;break}var g=(f=!c.q&&Ud(c.f))&&Vd(c.f);x&&e?e.click():c.$(Ge,d,a,null,0,
!1,void 0)&&(b&&Ve(b)?(d=b,a=d.href,b=B(A(d)),x&&!Q(8)&&(a=We(b.location,a)),d.target?b.open(a,d.target):b.location.href=a):!f||(y||z||g&&"radio"==c.f.type.toLowerCase())||(c.f.checked=!g,v&&!Q(11)&&U(c.f,mf)))}c.W&&bh(c,pf);c.W=!c.W;Hd&&(0==c.r&&S(c.M,"OPTION"))&&c.S(vf,new mb(0,0),0,1,MSPointerEvent.MSPOINTER_TYPE_MOUSE,!1)}else 2==c.r&&bh(c,Ne);Ie={};c.r=null;c.M=null}
function hh(a){var b;if("none"!=(Ld(a,"display")||(a.currentStyle?a.currentStyle.display:null)||a.style&&a.style.display))b=Nd(a);else{b=a.style;var c=b.display,d=b.visibility,e=b.position;b.visibility="hidden";b.position="absolute";b.display="inline";var f=Nd(a);b.display=c;b.position=e;b.visibility=d;b=f}return 0=a){var b=$.a[a];if(null===b)g.push(k=e()),f&&(k.Da=!1,g.push(k=e()));else if(ca(b))k.keys.push(b);else throw Error("Unsupported WebDriver key: \\u"+a.charCodeAt(0).toString(16));}else switch(a){case "\n":k.keys.push(Sf);break;case "\t":k.keys.push(Rf);break;case "\b":k.keys.push(Qf);break;default:k.keys.push(a)}})});r(g,function(b){eh(a,b.keys,c,
b.Da)})}$.a={};$.a["\ue000"]=null;$.a["\ue003"]=Qf;$.a["\ue004"]=Rf;$.a["\ue006"]=Sf;$.a["\ue007"]=Sf;$.a["\ue008"]=X;$.a["\ue009"]=Tf;$.a["\ue00a"]=Uf;$.a["\ue00b"]=Vf;$.a["\ue00c"]=Wf;$.a["\ue00d"]=Xf;$.a["\ue00e"]=Yf;$.a["\ue00f"]=Zf;$.a["\ue010"]=$f;$.a["\ue011"]=ag;$.a["\ue012"]=bg;$.a["\ue013"]=cg;$.a["\ue014"]=dg;$.a["\ue015"]=eg;$.a["\ue016"]=fg;$.a["\ue017"]=gg;$.a["\ue018"]=Ng;$.a["\ue019"]=Lg;$.a["\ue01a"]=kg;$.a["\ue01b"]=lg;$.a["\ue01c"]=mg;$.a["\ue01d"]=ng;$.a["\ue01e"]=og;
$.a["\ue01f"]=pg;$.a["\ue020"]=qg;$.a["\ue021"]=rg;$.a["\ue022"]=sg;$.a["\ue023"]=tg;$.a["\ue024"]=ug;$.a["\ue025"]=vg;$.a["\ue027"]=wg;$.a["\ue028"]=xg;$.a["\ue029"]=yg;$.a["\ue026"]=Mg;$.a["\ue031"]=zg;$.a["\ue032"]=Ag;$.a["\ue033"]=Bg;$.a["\ue034"]=Cg;$.a["\ue035"]=Dg;$.a["\ue036"]=Eg;$.a["\ue037"]=Fg;$.a["\ue038"]=Gg;$.a["\ue039"]=Hg;$.a["\ue03a"]=Ig;$.a["\ue03b"]=Jg;$.a["\ue03c"]=Kg;$.a["\ue03d"]=hg;function ih(){this.ea=void 0}
function jh(a,b,c){switch(typeof b){case "string":kh(b,c);break;case "number":c.push(isFinite(b)&&!isNaN(b)?b:"null");break;case "boolean":c.push(b);break;case "undefined":c.push("null");break;case "object":if(null==b){c.push("null");break}if("array"==ba(b)){var d=b.length;c.push("[");for(var e="",f=0;fb?e+="000":256>b?e+="00":4096>b&&(e+="0");return lh[a]=e+b.toString(16)}),'"')};z||v||y&&Q(3.5)||x&&Q(8);function nh(a){switch(ba(a)){case "string":case "number":case "boolean":return a;case "function":return a.toString();case "array":return wa(a,nh);case "object":if("nodeType"in a&&(1==a.nodeType||9==a.nodeType)){var b={};b.ELEMENT=oh(a);return b}if("document"in a)return b={},b.WINDOW=oh(a),b;if(da(a))return wa(a,nh);a=ob(a,function(a,b){return ea(b)||n(b)});return pb(a,nh);default:return null}}
function ph(a,b){return"array"==ba(a)?wa(a,function(a){return ph(a,b)}):ga(a)?"function"==typeof a?a:"ELEMENT"in a?qh(a.ELEMENT,b):"WINDOW"in a?qh(a.WINDOW,b):pb(a,function(a){return ph(a,b)}):a}function rh(a){a=a||document;var b=a.$wdc_;b||(b=a.$wdc_={},b.qa=oa());b.qa||(b.qa=oa());return b}function oh(a){var b=rh(a.ownerDocument),c=rb(b,function(b){return b==a});c||(c=":wdc:"+b.qa++,b[c]=a);return c}
function qh(a,b){a=decodeURIComponent(a);var c=b||document,d=rh(c);if(!(a in d))throw new t(10,"Element does not exist in cache");var e=d[a];if("setInterval"in e){if(e.closed)throw delete d[a],new t(23,"Window has been closed.");return e}for(var f=e;f;){if(f==c.documentElement)return e;f=f.parentNode}delete d[a];throw new t(10,"Element is no longer attached to the DOM");};function sh(a,b){var c=[a],d;try{var e=b?qh(b.WINDOW):window,f=ph(c,e.document),g=gh.apply(null,f);d={status:0,value:nh(g)}}catch(k){d={status:"code"in k?k.code:13,value:{message:k.message}}}c=[];jh(new ih,d,c);return c.join("")}var th=["_"],uh=m;th[0]in uh||!uh.execScript||uh.execScript("var "+th[0]);for(var vh;th.length&&(vh=th.shift());)th.length||void 0===sh?uh=uh[vh]?uh[vh]:uh[vh]={}:uh[vh]=sh;; return this._.apply(null,arguments);}.apply({navigator:typeof window!=undefined?window.navigator:null,document:typeof window!=undefined?window.document:null}, arguments);}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy