/* * Copyright 2011 WebDriver committers * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ /* AUTO GENERATED - DO NOT EDIT BY HAND */ #ifndef WEBDRIVER_ATOMS_H_ #define WEBDRIVER_ATOMS_H_ namespace webdriver { namespace atoms { const char* const GET_FIRST_CLIENT_RECT = "function(){return function(){var h=this;\nfunction i(a){var b=typeof a;if" "(b==\"object\")if(a){if(a instanceof Array)return\"array\";else if(a inst" "anceof Object)return b;var c=Object.prototype.toString.call(a);if(c==\"[o" "bject Window]\")return\"object\";if(c==\"[object Array]\"||typeof a.lengt" "h==\"number\"&&typeof a.splice!=\"undefined\"&&typeof a.propertyIsEnumera" "ble!=\"undefined\"&&!a.propertyIsEnumerable(\"splice\"))return\"array\";i" "f(c==\"[object Function]\"||typeof a.call!=\"undefined\"&&typeof a.proper" "tyIsEnumerable!=\"undefined\"&&!a.propertyIsEnumerable(\"call\"))return\"" "function\"}else return\"null\";else if(b==\n\"function\"&&typeof a.call==" "\"undefined\")return\"object\";return b}function j(a,b){function c(){}c.p" "rototype=b.prototype;a.d=b.prototype;a.prototype=new c};function k(a){thi" "s.stack=Error().stack||\"\";if(a)this.message=String(a)}j(k,Error);functi" "on l(a){for(var b=1;ba.clientWidth" "||a.scrollHeight>a.clientHeight||c==\"fixed\"||c==\"absolute\"||c==\"rela" "tive\"))return a;return null};function v(a){var b=a.getClientRects();if(b" ".length==0)throw Error(\"Element does not have any client rects\");var b=" "b[0],c=new n;if(a.nodeType==1)if(a.getBoundingClientRect)a=a.getBoundingC" "lientRect(),c.x=a.left,c.y=a.top;else{var g=r(a?new p(o(a)):m||(m=new p))" ";var e=o(a),z=t(a),d=new n(0,0),q=(e?e.nodeType==9?e:o(e):document).docum" "entElement;if(a!=q)if(a.getBoundingClientRect)a=a.getBoundingClientRect()" ",e=r(e?new p(o(e)):m||(m=new p)),d.x=a.left+e.x,d.y=a.top+e.y;else if(e.g" "etBoxObjectFor)a=e.getBoxObjectFor(a),\ne=e.getBoxObjectFor(q),d.x=a.scre" "enX-e.screenX,d.y=a.screenY-e.screenY;else{var f=a;do{d.x+=f.offsetLeft;d" ".y+=f.offsetTop;f!=a&&(d.x+=f.clientLeft||0,d.y+=f.clientTop||0);if(t(f)=" "=\"fixed\"){d.x+=e.body.scrollLeft;d.y+=e.body.scrollTop;break}f=f.offset" "Parent}while(f&&f!=a);z==\"absolute\"&&(d.y-=e.body.offsetTop);for(f=a;(f" "=u(f))&&f!=e.body&&f!=q;)d.x-=f.scrollLeft,d.y-=f.scrollTop}c.x=d.x-g.x;c" ".y=d.y-g.y}else g=i(a.a)==\"function\",d=a,a.targetTouches?d=a.targetTouc" "hes[0]:g&&a.a().targetTouches&&(d=a.a().targetTouches[0]),\nc.x=d.clientX" ",c.y=d.clientY;return new s(b.left-c.x,b.top-c.y,b.right-b.left,b.bottom-" "b.top)}var w=\"_\".split(\".\"),x=h;!(w[0]in x)&&x.execScript&&x.execScri" "pt(\"var \"+w[0]);for(var y;w.length&&(y=w.shift());)!w.length&&v!==void " "0?x[y]=v:x=x[y]?x[y]:x[y]={};; return this._.apply(null,arguments);}.appl" "y({navigator:typeof window!='undefined'?window.navigator:null}, arguments" ");}"; const char* const GET_LOCATION_IN_VIEW = "function(){return function(){var i=this;\nfunction j(a){var b=typeof a;if" "(b==\"object\")if(a){if(a instanceof Array)return\"array\";else if(a inst" "anceof Object)return b;var c=Object.prototype.toString.call(a);if(c==\"[o" "bject Window]\")return\"object\";if(c==\"[object Array]\"||typeof a.lengt" "h==\"number\"&&typeof a.splice!=\"undefined\"&&typeof a.propertyIsEnumera" "ble!=\"undefined\"&&!a.propertyIsEnumerable(\"splice\"))return\"array\";i" "f(c==\"[object Function]\"||typeof a.call!=\"undefined\"&&typeof a.proper" "tyIsEnumerable!=\"undefined\"&&!a.propertyIsEnumerable(\"call\"))return\"" "function\"}else return\"null\";else if(b==\n\"function\"&&typeof a.call==" "\"undefined\")return\"object\";return b}function k(a,b){function c(){}c.p" "rototype=b.prototype;a.d=b.prototype;a.prototype=new c};function n(a){thi" "s.stack=Error().stack||\"\";if(a)this.message=String(a)}k(n,Error);functi" "on o(a){for(var b=1;bb)return 1;return 0};k(function(a,b){b.unshift(a);n" ".call(this,o.apply(null,b));b.shift();this.c=a},n);var q,r=\"\",s=/WebKit" "\\/(\\S+)/.exec(i.navigator?i.navigator.userAgent:null);q=r=s?s[1]:\"\";v" "ar t={};var u;function v(a,b){this.x=a!==void 0?a:0;this.y=b!==void 0?b:0" "}v.prototype.toString=function(){return\"(\"+this.x+\", \"+this.y+\")\"};" "function w(a,b){this.width=a;this.height=b}w.prototype.toString=function(" "){return\"(\"+this.width+\" x \"+this.height+\")\"};function x(a){return " "a?new y(z(a)):u||(u=new y)}function A(a){var b=a.body,a=a.parentWindow||a" ".defaultView;return new v(a.pageXOffset||b.scrollLeft,a.pageYOffset||b.sc" "rollTop)}function z(a){return a.nodeType==9?a:a.ownerDocument||a.document" "}function y(a){this.a=a||i.document||document}\nfunction B(a){var a=a.a.p" "arentWindow||a.a.defaultView||window,b=a.document,c;if(c=!t[\"500\"]){c=0" ";for(var d=String(q).replace(/^[\\s\\xa0]+|[\\s\\xa0]+$/g,\"\").split(\"." "\"),f=String(\"500\").replace(/^[\\s\\xa0]+|[\\s\\xa0]+$/g,\"\").split(\"" ".\"),e=Math.max(d.length,f.length),h=0;c==0&&h=0)}c?(typeof a.inn" "erHeight==\"undefined\"&&(a=window),b=a.innerHeight,c=a.document.document" "Element.scrollHeight,a==a.top&&ca.clientWidt" "h||a.scrollHeight>a.clientHeight||c==\"fixed\"||c==\"absolute\"||c==\"rel" "ative\"))return a;return null}\nfunction H(a){var b=z(a),c=F(a),d=new v(0" ",0),f=(b?b.nodeType==9?b:z(b):document).documentElement;if(a==f)return d;" "if(a.getBoundingClientRect)a=a.getBoundingClientRect(),b=x(b),b=A(b.a),d." "x=a.left+b.x,d.y=a.top+b.y;else if(b.getBoxObjectFor)a=b.getBoxObjectFor(" "a),b=b.getBoxObjectFor(f),d.x=a.screenX-b.screenX,d.y=a.screenY-b.screenY" ";else{var e=a;do{d.x+=e.offsetLeft;d.y+=e.offsetTop;e!=a&&(d.x+=e.clientL" "eft||0,d.y+=e.clientTop||0);if(F(e)==\"fixed\"){d.x+=b.body.scrollLeft;d." "y+=b.body.scrollTop;break}e=\ne.offsetParent}while(e&&e!=a);c==\"absolute" "\"&&(d.y-=b.body.offsetTop);for(e=a;(e=G(e))&&e!=b.body&&e!=f;)d.x-=e.scr" "ollLeft,d.y-=e.scrollTop}return d}function I(a){var b=new v;if(a.nodeType" "==1)if(a.getBoundingClientRect)a=a.getBoundingClientRect(),b.x=a.left,b.y" "=a.top;else{var c;c=x(a);c=A(c.a);a=H(a);b.x=a.x-c.x;b.y=a.y-c.y}else{c=j" "(a.b)==\"function\";var d=a;a.targetTouches?d=a.targetTouches[0]:c&&a.b()" ".targetTouches&&(d=a.b().targetTouches[0]);b.x=d.clientX;b.y=d.clientY}re" "turn b};function J(a,b){var c;c=H(b);var d=H(a);c=new v(c.x-d.x,c.y-d.y);" "var f,e,h;h=E(a,\"borderLeftWidth\");e=E(a,\"borderRightWidth\");f=E(a,\"" "borderTopWidth\");d=E(a,\"borderBottomWidth\");d=new C(parseFloat(f),pars" "eFloat(e),parseFloat(d),parseFloat(h));c.x-=d.left;c.y-=d.top;return c}\n" "function K(a,b,c){function d(a,b,c,d,e){for(var d=new D(c.x+d.left,c.y+d." "top,d.width,d.height),c=[0,0],b=[b.width,b.height],f=[d.left,d.top],d=[d." "width,d.height],g=0;g<2;g++)if(d[g]>b[g])c[g]=e?f[g]+d[g]/2-b[g]/2:f[g];e" "lse{var h=f[g]-b[g]+d[g];h>0?c[g]=h:f[g]<0&&(c[g]=f[g])}scroll=new v(c[0]" ",c[1]);a.scrollLeft+=scroll.x;a.scrollTop+=scroll.y}for(var f=z(a),e=a.pa" "rentNode,h;e&&e!=f.documentElement&&e!=f.body;)h=J(e,a),d(e,new w(e.clien" "tWidth,e.clientHeight),h,b,c),e=e.parentNode;h=I(a);a=B(x(a));d(f.body,\n" "a,h,b,c)};function L(a,b,c){c||(c=new D(0,0,a.offsetWidth,a.offsetHeight)" ");K(a,c,b);a=I(a);a=new v(a.x+c.left,a.y+c.top);a.x=parseInt(a.x);a.y=par" "seInt(a.y);return a}var Q=\"_\".split(\".\"),R=i;!(Q[0]in R)&&R.execScrip" "t&&R.execScript(\"var \"+Q[0]);for(var S;Q.length&&(S=Q.shift());)!Q.leng" "th&&L!==void 0?R[S]=L:R=R[S]?R[S]:R[S]={};; return this._.apply(null,argu" "ments);}.apply({navigator:typeof window!='undefined'?window.navigator:nul" "l}, arguments);}"; const char* const IS_ELEMENT_CLICKABLE = "function(){return function(){function e(b,a){function d(){}d.prototype=a." "prototype;b.b=a.prototype;b.prototype=new d};function g(b){this.stack=Err" "or().stack||\"\";if(b)this.message=String(b)}e(g,Error);function h(b){for" "(var a=1;a\").length,f=f.substring(0,m)+\"...\"+f.substrin" "g(m+l.length);for(c=c.parentNode;c;){if(c==b)return d(!0,\"Element's desc" "endant would receive the click. Consider clicking the descendant instead." " Descendant: \"+\nf);c=c.parentNode}return d(!1,\"Element is not clickabl" "e at point \"+a+\". Unrelated element would receive the click: \"+f)}var " "j=\"_\".split(\".\"),k=this;!(j[0]in k)&&k.execScript&&k.execScript(\"var" " \"+j[0]);for(var n;j.length&&(n=j.shift());)!j.length&&i!==void 0?k[n]=i" ":k=k[n]?k[n]:k[n]={};; return this._.apply(null,arguments);}.apply({navig" "ator:typeof window!='undefined'?window.navigator:null}, arguments);}"; const char* const CLEAR = "function(){return function(){var i=void 0,m=null,n=this;\nfunction p(a){v" "ar b=typeof a;if(b==\"object\")if(a){if(a instanceof Array)return\"array" "\";else if(a instanceof Object)return b;var c=Object.prototype.toString.c" "all(a);if(c==\"[object Window]\")return\"object\";if(c==\"[object Array]" "\"||typeof a.length==\"number\"&&typeof a.splice!=\"undefined\"&&typeof a" ".propertyIsEnumerable!=\"undefined\"&&!a.propertyIsEnumerable(\"splice\")" ")return\"array\";if(c==\"[object Function]\"||typeof a.call!=\"undefined" "\"&&typeof a.propertyIsEnumerable!=\"undefined\"&&!a.propertyIsEnumerable" "(\"call\"))return\"function\"}else return\"null\";\nelse if(b==\"function" "\"&&typeof a.call==\"undefined\")return\"object\";return b}function q(a){" "return p(a)==\"function\"}Math.floor(Math.random()*2147483648).toString(3" "6);function r(a,b){function c(){}c.prototype=b.prototype;a.i=b.prototype;" "a.prototype=new c};function aa(a){for(var b=1;b=0;c--)a.parentNode&&a.parentNode.insertBefore(b[c],a.nextSibling);a&&a" ".parentNode&&a.parentNode.removeChild(a)};function O(a,b,c,d){M.call(this" ",a,b,c,m,d)}r(O,M);O.prototype.next=function(){do O.i.next.call(this);whi" "le(this.c==-1);return this.b};function ia(a,b){var c=I(a);if(c.defaultVie" "w&&c.defaultView.getComputedStyle&&(c=c.defaultView.getComputedStyle(a,m)" "))return c[b]||c.getPropertyValue(b);return\"\"}function P(a,b){return ia" "(a,b)||(a.currentStyle?a.currentStyle[b]:m)||a.style[b]}\nfunction ja(a){" "for(var b=I(a),c=P(a,\"position\"),d=c==\"fixed\"||c==\"absolute\",a=a.pa" "rentNode;a&&a!=b;a=a.parentNode)if(c=P(a,\"position\"),d=d&&c==\"static\"" "&&a!=b.documentElement&&a!=b.body,!d&&(a.scrollWidth>a.clientWidth||a.scr" "ollHeight>a.clientHeight||c==\"fixed\"||c==\"absolute\"||c==\"relative\")" ")return a;return m};function Q(a,b){return!!a&&a.nodeType==1&&(!b||a.tagN" "ame.toUpperCase()==b)}var ka=[\"A\",\"AREA\",\"BUTTON\",\"INPUT\",\"LABEL" "\",\"SELECT\",\"TEXTAREA\"];function la(a){return E(ka,function(b){return" " a.tagName.toUpperCase()==b})||R(a,\"tabindex\")!=m&&ma(a,\"tabIndex\")>=" "0}var na={\"class\":\"className\",readonly:\"readOnly\"},oa=[\"checked\"," "\"disabled\",\"draggable\",\"hidden\"];function ma(a,b){var c=na[b]||b,d=" "a[c];if(d===i&&D(oa,c)>=0)return!1;return d}\nvar pa=[\"async\",\"autofoc" "us\",\"autoplay\",\"checked\",\"compact\",\"complete\",\"controls\",\"dec" "lare\",\"defaultchecked\",\"defaultselected\",\"defer\",\"disabled\",\"dr" "aggable\",\"ended\",\"formnovalidate\",\"hidden\",\"indeterminate\",\"isc" "ontenteditable\",\"ismap\",\"itemscope\",\"loop\",\"multiple\",\"muted\"," "\"nohref\",\"noresize\",\"noshade\",\"novalidate\",\"nowrap\",\"open\",\"" "paused\",\"pubdate\",\"readonly\",\"required\",\"reversed\",\"scoped\",\"" "seamless\",\"seeking\",\"selected\",\"spellcheck\",\"truespeed\",\"willva" "lidate\"];\nfunction R(a,b){if(8==a.nodeType)return m;b=b.toLowerCase();i" "f(b==\"style\"){var c=a.style.cssText.replace(/^[\\s\\xa0]+|[\\s\\xa0]+$/" "g,\"\").toLowerCase();return c.charAt(c.length-1)==\";\"?c:c+\";\"}c=a.ge" "tAttributeNode(b);if(!c)return m;if(D(pa,b)>=0)return\"true\";return c.sp" "ecified?c.value:m}var qa=[\"BUTTON\",\"INPUT\",\"OPTGROUP\",\"OPTION\",\"" "SELECT\",\"TEXTAREA\"];\nfunction ra(a){var b=a.tagName.toUpperCase();if(" "!(D(qa,b)>=0))return!0;if(R(a,\"disabled\"))return!1;if(a.parentNode&&a.p" "arentNode.nodeType==1&&\"OPTGROUP\"==b||\"OPTION\"==b)return ra(a.parentN" "ode);return!0}function S(a){for(a=a.parentNode;a&&a.nodeType!=1&&a.nodeTy" "pe!=9&&a.nodeType!=11;)a=a.parentNode;return Q(a)?a:m}function T(a,b){b=b" "a(String(b));return ia(a,b)||sa(a,b)}function sa(a,b){var c=(a.currentSty" "le||a.style)[b];if(c!=\"inherit\")return c!==i?c:m;return(c=S(a))?sa(c,b)" ":m}\nfunction ta(a){if(q(a.getBBox))return a.getBBox();var b;if(P(a,\"dis" "play\")!=\"none\")b=new H(a.offsetWidth,a.offsetHeight);else{b=a.style;va" "r c=b.display,d=b.visibility,e=b.position;b.visibility=\"hidden\";b.posit" "ion=\"absolute\";b.display=\"inline\";var f=a.offsetWidth,a=a.offsetHeigh" "t;b.display=c;b.position=e;b.visibility=d;b=new H(f,a)}return b}\nfunctio" "n U(a,b){function c(a){if(T(a,\"display\")==\"none\")return!1;a=S(a);retu" "rn!a||c(a)}function d(a){var b=ta(a);if(b.height>0&&b.width>0)return!0;if" "(a.innerText||a.textContent)if(ua.test(a.innerText||a.textContent))return" "!0;return u&&E(a.childNodes,function(a){return Q(a)&&d(a)})}if(!Q(a))thro" "w Error(\"Argument to isShown must be of type Element\");if(Q(a,\"TITLE\"" "))return(I(a)?I(a).parentWindow||I(a).defaultView:window)==ca;if(Q(a,\"OP" "TION\")||Q(a,\"OPTGROUP\")){var e=ea(a,function(a){return Q(a,\"SELECT\")" "});\nreturn!!e&&U(e,b)}if(Q(a,\"MAP\")){if(!a.name)return!1;e=I(a);e=e.ev" "aluate?ga('/descendant::*[@usemap = \"#'+a.name+'\"]',e):da(e,function(b)" "{return Q(b)&&R(b,\"usemap\")==\"#\"+a.name});return!!e&&U(e,b)}if(Q(a,\"" "AREA\"))return e=ea(a,function(a){return Q(a,\"MAP\")}),!!e&&U(e,b);if(Q(" "a,\"INPUT\")&&a.type.toLowerCase()==\"hidden\")return!1;if(T(a,\"visibili" "ty\")==\"hidden\")return!1;if(!c(a))return!1;if(!b&&va(a)==0)return!1;if(" "!d(a))return!1;return!0}var ua=RegExp(\"^\"+(\"[\\\\s\\\\xa0\"+String.fro" "mCharCode(160)+\"]+\")+\"$\");\nfunction va(a){var b=1,c=T(a,\"opacity\")" ";c&&(b=Number(c));(a=S(a))&&(b*=va(a));return b};var wa=[\"dragstart\",\"" "dragexit\",\"mouseover\",\"mouseout\"];\nfunction V(a,b,c){var d=I(a),e=d" "?d.parentWindow||d.defaultView:window,f=new G;if(a.nodeType==1)if(a.getBo" "undingClientRect){var k=a.getBoundingClientRect();f.x=k.left;f.y=k.top}el" "se{k=fa(a?new K(I(a)):F||(F=new K));var j,g=I(a);j=P(a,\"position\");var " "h=new G(0,0),t=(g?g.nodeType==9?g:I(g):document).documentElement;if(a!=t)" "if(a.getBoundingClientRect)j=a.getBoundingClientRect(),g=fa(g?new K(I(g))" ":F||(F=new K)),h.x=j.left+g.x,h.y=j.top+g.y;else if(g.getBoxObjectFor)j=g" ".getBoxObjectFor(a),g=g.getBoxObjectFor(t),\nh.x=j.screenX-g.screenX,h.y=" "j.screenY-g.screenY;else{var l=a;do{h.x+=l.offsetLeft;h.y+=l.offsetTop;l!" "=a&&(h.x+=l.clientLeft||0,h.y+=l.clientTop||0);if(u&&P(l,\"position\")==" "\"fixed\"){h.x+=g.body.scrollLeft;h.y+=g.body.scrollTop;break}l=l.offsetP" "arent}while(l&&l!=a);u&&j==\"absolute\"&&(h.y-=g.body.offsetTop);for(l=a;" "(l=ja(l))&&l!=g.body&&l!=t;)h.x-=l.scrollLeft,h.y-=l.scrollTop}f.x=h.x-k." "x;f.y=h.y-k.y}else k=q(a.e),h=a,a.targetTouches?h=a.targetTouches[0]:k&&a" ".e().targetTouches&&(h=a.e().targetTouches[0]),\nf.x=h.clientX,f.y=h.clie" "ntY;var o=c||{},c=(o.x||0)+f.x,f=(o.y||0)+f.y,k=o.button||0,h=o.bubble||!" "0;j=m;D(wa,b)>=0&&(j=o.related||m);g=!!o.alt;t=!!o.control;l=!!o.shift;o=" "!!o.meta;a.fireEvent&&d&&d.createEventObject?(a=d.createEventObject(),a.a" "ltKey=g,a.j=t,a.metaKey=o,a.shiftKey=l,a.clientX=c,a.clientY=f,a.button=k" ",a.relatedTarget=j):(a=d.createEvent(\"MouseEvents\"),a.initMouseEvent?a." "initMouseEvent(b,h,!0,e,1,0,0,c,f,t,g,l,o,k,j):(a.initEvent(b,h,!0),a.shi" "ftKey=l,a.metaKey=o,a.altKey=g,a.ctrlKey=\nt,a.button=k));return a}functi" "on W(a,b,c){var d=c||{},c=d.keyCode||0,e=d.charCode||0,f=!!d.alt,k=!!d.ct" "rl,j=!!d.shift,d=!!d.meta,a=I(a).createEvent(\"Events\");a.initEvent(b,!0" ",!0);a.charCode=e;a.keyCode=c;a.altKey=f;a.ctrlKey=k;a.metaKey=d;a.shiftK" "ey=j;return a}\nfunction xa(a,b,c){var d=I(a),e=c||{},c=e.bubble!==!1,f=!" "!e.alt,k=!!e.control,j=!!e.shift,e=!!e.meta;a.fireEvent&&d&&d.createEvent" "Object?(a=d.createEventObject(),a.altKey=f,a.k=k,a.metaKey=e,a.shiftKey=j" "):(a=d.createEvent(\"HTMLEvents\"),a.initEvent(b,c,!0),a.shiftKey=j,a.met" "aKey=e,a.altKey=f,a.ctrlKey=k);return a}var X={};X.click=V;X.keydown=W;X." "keypress=W;X.keyup=W;X.mousedown=V;X.mousemove=V;X.mouseout=V;X.mouseover" "=V;X.mouseup=V;function ya(a){if(!U(a,!0))throw new x(11,\"Element is not" " currently visible and may not be manipulated\");};function za(a){var b;Q" "(a,\"TEXTAREA\")?b=!0:Q(a,\"INPUT\")?(b=a.type.toLowerCase(),b=b==\"text" "\"||b==\"password\"||b==\"email\"||b==\"search\"):b=!1;if(b){if(ma(a,\"re" "adOnly\"))throw new x(12,\"Element is readonly and may not be cleared.\")" ";if(a.value!=\"\"){ya(a);if(!ra(a))throw new x(12,\"Element is not curren" "tly enabled and may not be manipulated\");if(la(a))b=I(a).activeElement,y" "a(a),a!=b&&(b&&q(b.blur)&&b.blur(),q(a.focus)&&a.focus());a.value=\"\";b=" "(X.change||xa)(a,\"change\",i);if(!(\"isTrusted\"in b))b.l=!1;a.dispatchE" "vent(b)}}}\nvar Y=\"_\".split(\".\"),Z=n;!(Y[0]in Z)&&Z.execScript&&Z.exe" "cScript(\"var \"+Y[0]);for(var $;Y.length&&($=Y.shift());)!Y.length&&za!=" "=i?Z[$]=za:Z=Z[$]?Z[$]:Z[$]={};; return this._.apply(null,arguments);}.ap" "ply({navigator:typeof window!='undefined'?window.navigator:null}, argumen" "ts);}"; const char* const EXECUTE_SCRIPT = "function(){return function(){var i=void 0,l=null,n,p=this;function q(){}" "\nfunction r(a){var b=typeof a;if(b==\"object\")if(a){if(a instanceof Arr" "ay)return\"array\";else if(a instanceof Object)return b;var c=Object.prot" "otype.toString.call(a);if(c==\"[object Window]\")return\"object\";if(c==" "\"[object Array]\"||typeof a.length==\"number\"&&typeof a.splice!=\"undef" "ined\"&&typeof a.propertyIsEnumerable!=\"undefined\"&&!a.propertyIsEnumer" "able(\"splice\"))return\"array\";if(c==\"[object Function]\"||typeof a.ca" "ll!=\"undefined\"&&typeof a.propertyIsEnumerable!=\"undefined\"&&!a.prope" "rtyIsEnumerable(\"call\"))return\"function\"}else return\"null\";\nelse i" "f(b==\"function\"&&typeof a.call==\"undefined\")return\"object\";return b" "}function aa(a){var b=r(a);return b==\"array\"||b==\"object\"&&typeof a.l" "ength==\"number\"}function t(a){return typeof a==\"string\"}function ba(a" "){a=r(a);return a==\"object\"||a==\"array\"||a==\"function\"}function u(a" "){return a[ca]||(a[ca]=++da)}var ca=\"closure_uid_\"+Math.floor(Math.rand" "om()*2147483648).toString(36),da=0,ea=Date.now||function(){return+new Dat" "e};\nfunction v(a,b){function c(){}c.prototype=b.prototype;a.u=b.prototyp" "e;a.prototype=new c};function fa(a){for(var b=1;bb)return 1;return 0};var ia=" "p.navigator,ja=(ia&&ia.platform||\"\").indexOf(\"Mac\")!=-1;var ka=window" ";function x(a){this.stack=Error().stack||\"\";if(a)this.message=String(a)" "}v(x,Error);x.prototype.name=\"CustomError\";function la(a,b){var c={},e;" "for(e in a)b.call(i,a[e],e,a)&&(c[e]=a[e]);return c}function ma(a,b){var " "c={},e;for(e in a)c[e]=b.call(i,a[e],e,a);return c}function na(a,b){for(v" "ar c in a)if(b.call(i,a[c],c,a))return c};function y(a,b){x.call(this,b);" "this.code=a;this.name=z[a]||z[13]}v(y,x);var z,oa={NoSuchElementError:7,N" "oSuchFrameError:8,UnknownCommandError:9,StaleElementReferenceError:10,Ele" "mentNotVisibleError:11,InvalidElementStateError:12,UnknownError:13,Elemen" "tNotSelectableError:15,XPathLookupError:19,NoSuchWindowError:23,InvalidCo" "okieDomainError:24,UnableToSetCookieError:25,ModalDialogOpenedError:26,Mo" "dalDialogOpenError:27,ScriptTimeoutError:28},pa={},A;for(A in oa)pa[oa[A]" "]=A;z=pa;\ny.prototype.toString=function(){return\"[\"+this.name+\"] \"+t" "his.message};function B(a,b){b.unshift(a);x.call(this,fa.apply(l,b));b.sh" "ift();this.B=a}v(B,x);B.prototype.name=\"AssertionError\";function qa(a,b" "){if(!a){var c=Array.prototype.slice.call(arguments,2),e=\"Assertion fail" "ed\";if(b){e+=\": \"+b;var f=c}throw new B(\"\"+e,f||[]);}};var ra=Array." "prototype;function sa(a,b){if(t(a)){if(!t(b)||b.length!=1)return-1;return" " a.indexOf(b,0)}for(var c=0;cthis.r)throw Error(\"[goog.structs.SimplePool] Init" "ial cannot be greater than max\");for(var c=0;c" "=0),h;ya=function(a){h=a};if(d){L=function(a){K(j,a)};M=function(){return" " k.getObject()};N=function(a){K(k,a)};O=function(){K(g,c())};P=function(a" "){K(o,a)};Q=function(){return m.getObject()};R=function(a){K(m,a)};var j=" "new I(0,600);j.a=a;var k=new I(0,600);k.a=b;var g=new I(0,600);g.a=c;var " "o=new I(0,600);\no.a=e;var m=new I(0,600);m.a=f}else L=q,M=b,P=O=N=q,Q=f," "R=q})();var S={},T={},U={},V={};function za(a,b,c,e){if(!e.h&&e.s){for(va" "r f=0,d=0;f=0&&(qa(g.length!=l)," "ra.splice.call(g,o,1));g.length==0&&delete U[d]}f.f=!0;j.s=!0;za(h,k,d,j)" ";delete S[e]}}}return c}\nya(function(a,b){if(!S[a])return!0;var c=S[a],e" "=c.type,f=T;if(!(e in f))return!0;var f=f[e],d,h;D===i&&(D=!1);if(D){var " "j;if(!(j=b))a:{j=\"window.event\".split(\".\");for(var k=p;d=j.shift();)i" "f(k[d]!=l)k=k[d];else{j=l;break a}j=k}d=j;j=!0 in f;k=!1 in f;if(j){if(d." "keyCode<0||d.returnValue!=i)return!0;a:{var g=!1;if(d.keyCode==0)try{d.ke" "yCode=-1;break a}catch(o){g=!0}if(g||d.returnValue==i)d.returnValue=!0}}g" "=Q();g.i(d,this);d=!0;try{if(j){for(var m=M(),J=g.currentTarget;J;J=J.par" "entNode)m.push(J);h=\nf[!0];h.e=h.c;for(var s=m.length-1;!g.l&&s>=0&&h.e;" "s--)g.currentTarget=m[s],d&=Ba(h,m[s],e,!0,g);if(k){h=f[!1];h.e=h.c;for(s" "=0;!g.l&&sb)ret" "urn 1;return 0};var ia=p.navigator,ja=(ia&&ia.platform||\"\").indexOf(\"M" "ac\")!=-1;function z(a){this.stack=Error().stack||\"\";if(a)this.message=" "String(a)}x(z,Error);z.prototype.name=\"CustomError\";function ka(a,b){va" "r c={},e;for(e in a)b.call(j,a[e],e,a)&&(c[e]=a[e]);return c}function la(" "a,b){var c={},e;for(e in a)c[e]=b.call(j,a[e],e,a);return c}function ma(a" ",b){for(var c in a)if(b.call(j,a[c],c,a))return c};var A=0;function B(a,b" "){z.call(this,b);this.code=a;this.name=C[a]||C[13]}x(B,z);var C,na={NoSuc" "hElementError:7,NoSuchFrameError:8,UnknownCommandError:9,StaleElementRefe" "renceError:10,ElementNotVisibleError:11,InvalidElementStateError:12,Unkno" "wnError:13,ElementNotSelectableError:15,XPathLookupError:19,NoSuchWindowE" "rror:23,InvalidCookieDomainError:24,UnableToSetCookieError:25,ModalDialog" "OpenedError:26,ModalDialogOpenError:27,ScriptTimeoutError:28},oa={},D;for" "(D in na)oa[na[D]]=D;C=oa;\nB.prototype.toString=function(){return\"[\"+t" "his.name+\"] \"+this.message};function E(a,b){b.unshift(a);z.call(this,fa" ".apply(m,b));b.shift();this.B=a}x(E,z);E.prototype.name=\"AssertionError" "\";function pa(a,b){if(!a){var c=Array.prototype.slice.call(arguments,2)," "e=\"Assertion failed\";if(b){e+=\": \"+b;var f=c}throw new E(\"\"+e,f||[]" ");}};var qa=Array.prototype;function ra(a,b){if(s(a)){if(!s(b)||b.length!" "=1)return-1;return a.indexOf(b,0)}for(var c=0;cthis.s)throw Error(\"[goog.struc" "ts.SimplePool] Initial cannot be greater than max\");for(var c=0;c=0),g;xa=function(a){g=a};if(d){N=function(){" "return h.getObject()};O=function(a){M(h,a)};P=function(){return k.getObje" "ct()};Q=function(a){M(k,a)};R=function(){return i.getObject()};S=function" "(){M(i,c())};T=function(){return n.getObject()};ya=function(a){M(n,a)};za" "=function(){return l.getObject()};Aa=function(a){M(l,\na)};var h=new L(0," "600);h.a=a;var k=new L(0,600);k.a=b;var i=new L(0,600);i.a=c;var n=new L(" "0,600);n.a=e;var l=new L(0,600);l.a=f}else N=a,O=q,P=b,Q=q,R=c,S=q,T=e,ya" "=q,za=f,Aa=q})();var U={},V={},W={},Ba={};\nfunction Ca(a,b,c,e,f){if(b)i" "f(r(b)==\"array\"){for(var d=0;d=0&&(pa(g.length!=m),qa.splice.call(g,h,1));g" ".length==0&&delete W[c]}b.f=!0;f.t=!0;Fa(e,d,c,f);delete U[a]}}}\nfunctio" "n Fa(a,b,c,e){if(!e.j&&e.t){for(var f=0,d=0;f=0&&g.e;t--)i." "currentTarget=l[t],d&=Ga(g,l[t],e,!0,i);if(k){g=f[!1];g.e=g.b;for(t=0;!i." "l&&t=0&&a.indexOf(\" \",b)==b}function aa(a){f" "or(var b=1;bb)return 1;return 0}var ba={};function ca(a){return ba[a]||(ba[a]=S" "tring(a).replace(/\\-([a-z])/g,function(a,c){return c.toUpperCase()}))};v" "ar s=!0,da,ea=\"\",t;s&&(t=/WebKit\\/(\\S+)/);if(t)var fa=t.exec(l.naviga" "tor?l.navigator.userAgent:k),ea=fa?fa[1]:\"\";da=ea;var ga={};var u={},ha" "=window;function v(a){this.stack=Error().stack||\"\";if(a)this.message=St" "ring(a)}o(v,Error);v.prototype.name=\"CustomError\";function ia(a,b){b.un" "shift(a);v.call(this,aa.apply(k,b));b.shift();this.q=a}o(ia,v);ia.prototy" "pe.name=\"AssertionError\";function w(a,b){if(n(a)){if(!n(b)||b.length!=1" ")return-1;return a.indexOf(b,0)}for(var c=0;c=0}if(d&&(b||c))c=a.querySelectorA" "ll(b+(c?\".\"+c:\"\"));else if(c&&a.getElementsByClassName)if(a=a.getElem" "entsByClassName(c),b){d={};for(g=e=0;h=a[g];g++)b==h.nodeName&&(d[e++]=h)" ";d.length=e;c=d}else c=a;else if(a=a.getElementsByTagName(b||\"*\"),c){d=" "{};for(g=e=0;h=a[g];g++)b=h.className,typeof b.split==\"function\"&&w(b.s" "plit(/\\s+/),c)>=0&&(d[e++]=h);d.length=e;c=d}else c=a;return c}\nE.proto" "type.contains=H;var J={i:function(a){return a.querySelectorAll&&a.querySe" "lector}};J.b=function(a,b){a||f(Error(\"No class name specified\"));a=q(a" ");a.split(/\\s+/).length>1&&f(Error(\"Compound class names not permitted" "\"));if(J.i(b))return b.querySelector(\".\"+a.replace(/\\./g,\"\\\\.\"))|" "|k;var c=I(D(b),\"*\",a,b);return c.length?c[0]:k};\nJ.e=function(a,b){a|" "|f(Error(\"No class name specified\"));a=q(a);a.split(/\\s+/).length>1&&f" "(Error(\"Compound class names not permitted\"));if(J.i(b))return b.queryS" "electorAll(\".\"+a.replace(/\\./g,\"\\\\.\"));return I(D(b),\"*\",a,b)};v" "ar K={k:function(a,b,c){var d=F(a);if(!d.implementation.hasFeature(\"XPat" "h\",\"3.0\"))return k;var e=d.createNSResolver(d.documentElement);return " "d.evaluate(b,a,e,c,k)},b:function(a,b){var c=function(b,c){var g=F(b);if(" "b.selectSingleNode)return g.setProperty&&g.setProperty(\"SelectionLanguag" "e\",\"XPath\"),b.selectSingleNode(c);try{var h=K.k(b,c,9);return h?h.sing" "leNodeValue:k}catch(j){f(Error(u.g.h,\"Unable to locate an element with t" "he xpath expression \"+a))}}(b,a);if(!c)return k;c.nodeType!=1&&f(Error(" "\"Returned node is not an element: \"+\na));return c},e:function(a,b){var" " c=function(b,c){var g=F(b);if(b.selectNodes)return g.setProperty&&g.setP" "roperty(\"SelectionLanguage\",\"XPath\"),b.selectNodes(c);var g=[],h;try{" "h=K.k(b,c,7)}catch(j){f(Error(u.g.h,\"Unable to locate elements with the " "xpath expression \"+c))}if(h)for(var U=h.snapshotLength,x=0;x=0;c--)a.parentNode&&a.paren" "tNode.insertBefore(b[c],a.nextSibling);a&&a.parentNode&&a.parentNode.remo" "veChild(a)};function O(a,b,c,d){M.call(this,a,b,c,k,d)}o(O,M);O.prototype" ".next=function(){do O.p.next.call(this);while(this.d==-1);return this.c};" "function qa(a,b){var c=F(a);if(c.defaultView&&c.defaultView.getComputedSt" "yle&&(c=c.defaultView.getComputedStyle(a,k)))return c[b]||c.getPropertyVa" "lue(b);return\"\"};function P(a,b){return!!a&&a.nodeType==1&&(!b||a.tagNa" "me.toUpperCase()==b)}\nvar ra=[\"async\",\"autofocus\",\"autoplay\",\"che" "cked\",\"compact\",\"complete\",\"controls\",\"declare\",\"defaultchecked" "\",\"defaultselected\",\"defer\",\"disabled\",\"draggable\",\"ended\",\"f" "ormnovalidate\",\"hidden\",\"indeterminate\",\"iscontenteditable\",\"isma" "p\",\"itemscope\",\"loop\",\"multiple\",\"muted\",\"nohref\",\"noresize\"" ",\"noshade\",\"novalidate\",\"nowrap\",\"open\",\"paused\",\"pubdate\",\"" "readonly\",\"required\",\"reversed\",\"scoped\",\"seamless\",\"seeking\"," "\"selected\",\"spellcheck\",\"truespeed\",\"willvalidate\"];\nfunction Q(" "a,b){if(8==a.nodeType)return k;b=b.toLowerCase();if(b==\"style\"){var c=q" "(a.style.cssText).toLowerCase();return c.charAt(c.length-1)==\";\"?c:c+\"" ";\"}c=a.getAttributeNode(b);if(!c)return k;if(w(ra,b)>=0)return\"true\";r" "eturn c.specified?c.value:k}function R(a){for(a=a.parentNode;a&&a.nodeTyp" "e!=1&&a.nodeType!=9&&a.nodeType!=11;)a=a.parentNode;return P(a)?a:k}funct" "ion S(a,b){b=ca(String(b));return qa(a,b)||sa(a,b)}\nfunction sa(a,b){var" " c=(a.currentStyle||a.style)[b];if(c!=\"inherit\")return c!==i?c:k;return" "(c=R(a))?sa(c,b):k}\nfunction ta(a){if(m(a.getBBox)==\"function\")return " "a.getBBox();var b;if((qa(a,\"display\")||(a.currentStyle?a.currentStyle.d" "isplay:k)||a.style.display)!=\"none\")b=new C(a.offsetWidth,a.offsetHeigh" "t);else{b=a.style;var c=b.display,d=b.visibility,e=b.position;b.visibilit" "y=\"hidden\";b.position=\"absolute\";b.display=\"inline\";var g=a.offsetW" "idth,a=a.offsetHeight;b.display=c;b.position=e;b.visibility=d;b=new C(g,a" ")}return b}\nfunction T(a,b){function c(a){if(S(a,\"display\")==\"none\")" "return!1;a=R(a);return!a||c(a)}function d(a){var b=ta(a);if(b.height>0&&b" ".width>0)return!0;if(a.innerText||a.textContent)if(V.test(a.innerText||a." "textContent))return!0;return s&&ka(a.childNodes,function(a){return P(a)&&" "d(a)})}P(a)||f(Error(\"Argument to isShown must be of type Element\"));if" "(P(a,\"TITLE\"))return(F(a)?F(a).parentWindow||F(a).defaultView:window)==" "ha;if(P(a,\"OPTION\")||P(a,\"OPTGROUP\")){var e=oa(a,function(a){return P" "(a,\"SELECT\")});\nreturn!!e&&T(e,b)}if(P(a,\"MAP\")){if(!a.name)return!1" ";e=F(a);e=e.evaluate?K.b('/descendant::*[@usemap = \"#'+a.name+'\"]',e):m" "a(e,function(b){return P(b)&&Q(b,\"usemap\")==\"#\"+a.name});return!!e&&T" "(e,b)}if(P(a,\"AREA\"))return e=oa(a,function(a){return P(a,\"MAP\")}),!!" "e&&T(e,b);if(P(a,\"INPUT\")&&a.type.toLowerCase()==\"hidden\")return!1;if" "(S(a,\"visibility\")==\"hidden\")return!1;if(!c(a))return!1;if(!b&&ua(a)=" "=0)return!1;if(!d(a))return!1;return!0}\nfunction va(a){var b=[];wa(a,b);" "for(var c=b,a=c.length,b=Array(a),c=n(c)?c.split(\"\"):c,d=0;d=0);d&&" "b[b.length-1]&&!V.test(b[b.length-1])&&b.push(\"\");var e=T(a);if(e)var g" "=S(a,\"white-space\"),h=S(a,\"text-transform\");ja(a.childNodes,function(" "a){a.nodeType==3&&e?za(a,b,g,h):P(a)&&wa(a,b)});var j=b[b.length-1];c==\"" "table-cell\"&&j&&!p(j)&&(b[b.length-1]+=\" \");d&&j&&!V.test(j)&&b.push(" "\"\")}}\nvar ya=[\"inline\",\"inline-block\",\"inline-table\",\"none\",\"" "table-cell\",\"table-column\",\"table-column-group\"],Aa=\"[\\\\s\\\\xa0" "\"+String.fromCharCode(160)+\"]+\",Ba=RegExp(Aa,\"g\"),V=RegExp(\"^\"+Aa+" "\"$\");\nfunction za(a,b,c,d){a=a.nodeValue.replace(/(\\r\\n|\\r|\\n)/g," "\"\\n\");a=a.replace(/\\u200b/g,\"\");c==\"normal\"||c==\"nowrap\"?a=a.re" "place(Ba,\" \"):c==\"pre-line\"&&(a=a.replace(/\\xa0|[ \\t]+/g,\" \"));a=" "a.replace(/\\xa0|\\t/g,\" \");d==\"capitalize\"?a=a.replace(/(^|\\s)(\\S)" "/g,function(a,b,c){return b+c.toUpperCase()}):d==\"uppercase\"?a=a.toUppe" "rCase():d==\"lowercase\"&&(a=a.toLowerCase());c=b.pop()||\"\";p(c)&&a.las" "tIndexOf(\" \",0)==0&&(a=a.substr(1));b.push(c+a)}\nfunction ua(a){var b=" "1,c=S(a,\"opacity\");c&&(b=Number(c));(a=R(a))&&(b*=ua(a));return b};var " "W={},X={};W.m=function(a,b,c){b=I(D(b),\"A\",k,b);return B(b,function(b){" "b=va(b);return c&&b.indexOf(a)!=-1||b==a})};W.l=function(a,b,c){b=I(D(b)," "\"A\",k,b);return A(b,function(b){b=va(b);return c&&b.indexOf(a)!=-1||b==" "a})};W.b=function(a,b){return W.m(a,b,!1)};W.e=function(a,b){return W.l(a" ",b,!1)};X.b=function(a,b){return W.m(a,b,!0)};X.e=function(a,b){return W." "l(a,b,!0)};var Ca={className:J,css:{b:function(a,b){a||f(Error(\"No selec" "tor specified\"));a.split(/,/).length>1&&f(Error(\"Compound selectors not" " permitted\"));var a=q(a),c=b.querySelector(a);return c&&c.nodeType==1?c:" "k},e:function(a,b){a||f(Error(\"No selector specified\"));a.split(/,/).le" "ngth>1&&f(Error(\"Compound selectors not permitted\"));a=q(a);return b.qu" "erySelectorAll(a)}},id:{b:function(a,b){var c=D(b),d=n(a)?c.j.getElementB" "yId(a):a;if(!d)return k;if(Q(d,\"id\")==a&&H(b,d))return d;c=I(c,\"*\");r" "eturn B(c,function(c){return Q(c,\n\"id\")==a&&H(b,c)})},e:function(a,b){" "var c=I(D(b),\"*\",k,b);return A(c,function(b){return Q(b,\"id\")==a})}}," "linkText:W,name:{b:function(a,b){var c=I(D(b),\"*\",k,b);return B(c,funct" "ion(b){return Q(b,\"name\")==a})},e:function(a,b){var c=I(D(b),\"*\",k,b)" ";return A(c,function(b){return Q(b,\"name\")==a})}},partialLinkText:X,tag" "Name:{b:function(a,b){return b.getElementsByTagName(a)[0]||k},e:function(" "a,b){return b.getElementsByTagName(a)}},xpath:K};function Da(a,b){var c;a" ":{for(c in a)if(!Object.prototype[c])break a;c=k}if(c){var d=Ca[c];if(d&&" "m(d.b)==\"function\")return d.b(a[c],b||ha.document)}f(Error(\"Unsupporte" "d locator strategy: \"+c))}var Y=\"_\".split(\".\"),Z=l;!(Y[0]in Z)&&Z.ex" "ecScript&&Z.execScript(\"var \"+Y[0]);for(var $;Y.length&&($=Y.shift());)" "!Y.length&&Da!==i?Z[$]=Da:Z=Z[$]?Z[$]:Z[$]={};; return this._.apply(null," "arguments);}.apply({navigator:typeof window!='undefined'?window.navigator" ":null}, arguments);}"; const char* const FIND_ELEMENTS = "function(){return function(){function f(a){throw a;}var i=void 0,k=null,l" "=this;\nfunction m(a){var b=typeof a;if(b==\"object\")if(a){if(a instance" "of Array)return\"array\";else if(a instanceof Object)return b;var c=Objec" "t.prototype.toString.call(a);if(c==\"[object Window]\")return\"object\";i" "f(c==\"[object Array]\"||typeof a.length==\"number\"&&typeof a.splice!=\"" "undefined\"&&typeof a.propertyIsEnumerable!=\"undefined\"&&!a.propertyIsE" "numerable(\"splice\"))return\"array\";if(c==\"[object Function]\"||typeof" " a.call!=\"undefined\"&&typeof a.propertyIsEnumerable!=\"undefined\"&&!a." "propertyIsEnumerable(\"call\"))return\"function\"}else return\"null\";\ne" "lse if(b==\"function\"&&typeof a.call==\"undefined\")return\"object\";ret" "urn b}function n(a){return typeof a==\"string\"}function o(a,b){function " "c(){}c.prototype=b.prototype;a.p=b.prototype;a.prototype=new c};function " "p(a){var b=a.length-1;return b>=0&&a.indexOf(\" \",b)==b}function aa(a){f" "or(var b=1;bb)return 1;return 0}var ba={};function ca(a){return ba[a]||(ba[a]=S" "tring(a).replace(/\\-([a-z])/g,function(a,c){return c.toUpperCase()}))};v" "ar s=!0,da,ea=\"\",t;s&&(t=/WebKit\\/(\\S+)/);if(t)var fa=t.exec(l.naviga" "tor?l.navigator.userAgent:k),ea=fa?fa[1]:\"\";da=ea;var ga={};var u={},ha" "=window;function v(a){this.stack=Error().stack||\"\";if(a)this.message=St" "ring(a)}o(v,Error);v.prototype.name=\"CustomError\";function ia(a,b){b.un" "shift(a);v.call(this,aa.apply(k,b));b.shift();this.q=a}o(ia,v);ia.prototy" "pe.name=\"AssertionError\";function w(a,b){if(n(a)){if(!n(b)||b.length!=1" ")return-1;return a.indexOf(b,0)}for(var c=0;c=0}if(d&&(b||c))c=a.querySelectorA" "ll(b+(c?\".\"+c:\"\"));else if(c&&a.getElementsByClassName)if(a=a.getElem" "entsByClassName(c),b){d={};for(g=e=0;h=a[g];g++)b==h.nodeName&&(d[e++]=h)" ";d.length=e;c=d}else c=a;else if(a=a.getElementsByTagName(b||\"*\"),c){d=" "{};for(g=e=0;h=a[g];g++)b=h.className,typeof b.split==\"function\"&&w(b.s" "plit(/\\s+/),c)>=0&&(d[e++]=h);d.length=e;c=d}else c=a;return c}\nE.proto" "type.contains=H;var J={i:function(a){return a.querySelectorAll&&a.querySe" "lector}};J.d=function(a,b){a||f(Error(\"No class name specified\"));a=q(a" ");a.split(/\\s+/).length>1&&f(Error(\"Compound class names not permitted" "\"));if(J.i(b))return b.querySelector(\".\"+a.replace(/\\./g,\"\\\\.\"))|" "|k;var c=I(D(b),\"*\",a,b);return c.length?c[0]:k};\nJ.b=function(a,b){a|" "|f(Error(\"No class name specified\"));a=q(a);a.split(/\\s+/).length>1&&f" "(Error(\"Compound class names not permitted\"));if(J.i(b))return b.queryS" "electorAll(\".\"+a.replace(/\\./g,\"\\\\.\"));return I(D(b),\"*\",a,b)};v" "ar K={k:function(a,b,c){var d=F(a);if(!d.implementation.hasFeature(\"XPat" "h\",\"3.0\"))return k;var e=d.createNSResolver(d.documentElement);return " "d.evaluate(b,a,e,c,k)},d:function(a,b){var c=function(b,c){var g=F(b);if(" "b.selectSingleNode)return g.setProperty&&g.setProperty(\"SelectionLanguag" "e\",\"XPath\"),b.selectSingleNode(c);try{var h=K.k(b,c,9);return h?h.sing" "leNodeValue:k}catch(j){f(Error(u.g.h,\"Unable to locate an element with t" "he xpath expression \"+a))}}(b,a);if(!c)return k;c.nodeType!=1&&f(Error(" "\"Returned node is not an element: \"+\na));return c},b:function(a,b){var" " c=function(b,c){var g=F(b);if(b.selectNodes)return g.setProperty&&g.setP" "roperty(\"SelectionLanguage\",\"XPath\"),b.selectNodes(c);var g=[],h;try{" "h=K.k(b,c,7)}catch(j){f(Error(u.g.h,\"Unable to locate elements with the " "xpath expression \"+c))}if(h)for(var U=h.snapshotLength,x=0;x=0;c--)a.parentNode&&a.paren" "tNode.insertBefore(b[c],a.nextSibling);a&&a.parentNode&&a.parentNode.remo" "veChild(a)};function O(a,b,c,d){M.call(this,a,b,c,k,d)}o(O,M);O.prototype" ".next=function(){do O.p.next.call(this);while(this.e==-1);return this.c};" "function qa(a,b){var c=F(a);if(c.defaultView&&c.defaultView.getComputedSt" "yle&&(c=c.defaultView.getComputedStyle(a,k)))return c[b]||c.getPropertyVa" "lue(b);return\"\"};function P(a,b){return!!a&&a.nodeType==1&&(!b||a.tagNa" "me.toUpperCase()==b)}\nvar ra=[\"async\",\"autofocus\",\"autoplay\",\"che" "cked\",\"compact\",\"complete\",\"controls\",\"declare\",\"defaultchecked" "\",\"defaultselected\",\"defer\",\"disabled\",\"draggable\",\"ended\",\"f" "ormnovalidate\",\"hidden\",\"indeterminate\",\"iscontenteditable\",\"isma" "p\",\"itemscope\",\"loop\",\"multiple\",\"muted\",\"nohref\",\"noresize\"" ",\"noshade\",\"novalidate\",\"nowrap\",\"open\",\"paused\",\"pubdate\",\"" "readonly\",\"required\",\"reversed\",\"scoped\",\"seamless\",\"seeking\"," "\"selected\",\"spellcheck\",\"truespeed\",\"willvalidate\"];\nfunction Q(" "a,b){if(8==a.nodeType)return k;b=b.toLowerCase();if(b==\"style\"){var c=q" "(a.style.cssText).toLowerCase();return c.charAt(c.length-1)==\";\"?c:c+\"" ";\"}c=a.getAttributeNode(b);if(!c)return k;if(w(ra,b)>=0)return\"true\";r" "eturn c.specified?c.value:k}function R(a){for(a=a.parentNode;a&&a.nodeTyp" "e!=1&&a.nodeType!=9&&a.nodeType!=11;)a=a.parentNode;return P(a)?a:k}funct" "ion S(a,b){b=ca(String(b));return qa(a,b)||sa(a,b)}\nfunction sa(a,b){var" " c=(a.currentStyle||a.style)[b];if(c!=\"inherit\")return c!==i?c:k;return" "(c=R(a))?sa(c,b):k}\nfunction ta(a){if(m(a.getBBox)==\"function\")return " "a.getBBox();var b;if((qa(a,\"display\")||(a.currentStyle?a.currentStyle.d" "isplay:k)||a.style.display)!=\"none\")b=new C(a.offsetWidth,a.offsetHeigh" "t);else{b=a.style;var c=b.display,d=b.visibility,e=b.position;b.visibilit" "y=\"hidden\";b.position=\"absolute\";b.display=\"inline\";var g=a.offsetW" "idth,a=a.offsetHeight;b.display=c;b.position=e;b.visibility=d;b=new C(g,a" ")}return b}\nfunction T(a,b){function c(a){if(S(a,\"display\")==\"none\")" "return!1;a=R(a);return!a||c(a)}function d(a){var b=ta(a);if(b.height>0&&b" ".width>0)return!0;if(a.innerText||a.textContent)if(V.test(a.innerText||a." "textContent))return!0;return s&&ka(a.childNodes,function(a){return P(a)&&" "d(a)})}P(a)||f(Error(\"Argument to isShown must be of type Element\"));if" "(P(a,\"TITLE\"))return(F(a)?F(a).parentWindow||F(a).defaultView:window)==" "ha;if(P(a,\"OPTION\")||P(a,\"OPTGROUP\")){var e=oa(a,function(a){return P" "(a,\"SELECT\")});\nreturn!!e&&T(e,b)}if(P(a,\"MAP\")){if(!a.name)return!1" ";e=F(a);e=e.evaluate?K.d('/descendant::*[@usemap = \"#'+a.name+'\"]',e):m" "a(e,function(b){return P(b)&&Q(b,\"usemap\")==\"#\"+a.name});return!!e&&T" "(e,b)}if(P(a,\"AREA\"))return e=oa(a,function(a){return P(a,\"MAP\")}),!!" "e&&T(e,b);if(P(a,\"INPUT\")&&a.type.toLowerCase()==\"hidden\")return!1;if" "(S(a,\"visibility\")==\"hidden\")return!1;if(!c(a))return!1;if(!b&&ua(a)=" "=0)return!1;if(!d(a))return!1;return!0}\nfunction va(a){var b=[];wa(a,b);" "for(var c=b,a=c.length,b=Array(a),c=n(c)?c.split(\"\"):c,d=0;d=0);d&&" "b[b.length-1]&&!V.test(b[b.length-1])&&b.push(\"\");var e=T(a);if(e)var g" "=S(a,\"white-space\"),h=S(a,\"text-transform\");ja(a.childNodes,function(" "a){a.nodeType==3&&e?za(a,b,g,h):P(a)&&wa(a,b)});var j=b[b.length-1];c==\"" "table-cell\"&&j&&!p(j)&&(b[b.length-1]+=\" \");d&&j&&!V.test(j)&&b.push(" "\"\")}}\nvar ya=[\"inline\",\"inline-block\",\"inline-table\",\"none\",\"" "table-cell\",\"table-column\",\"table-column-group\"],Aa=\"[\\\\s\\\\xa0" "\"+String.fromCharCode(160)+\"]+\",Ba=RegExp(Aa,\"g\"),V=RegExp(\"^\"+Aa+" "\"$\");\nfunction za(a,b,c,d){a=a.nodeValue.replace(/(\\r\\n|\\r|\\n)/g," "\"\\n\");a=a.replace(/\\u200b/g,\"\");c==\"normal\"||c==\"nowrap\"?a=a.re" "place(Ba,\" \"):c==\"pre-line\"&&(a=a.replace(/\\xa0|[ \\t]+/g,\" \"));a=" "a.replace(/\\xa0|\\t/g,\" \");d==\"capitalize\"?a=a.replace(/(^|\\s)(\\S)" "/g,function(a,b,c){return b+c.toUpperCase()}):d==\"uppercase\"?a=a.toUppe" "rCase():d==\"lowercase\"&&(a=a.toLowerCase());c=b.pop()||\"\";p(c)&&a.las" "tIndexOf(\" \",0)==0&&(a=a.substr(1));b.push(c+a)}\nfunction ua(a){var b=" "1,c=S(a,\"opacity\");c&&(b=Number(c));(a=R(a))&&(b*=ua(a));return b};var " "W={},X={};W.m=function(a,b,c){b=I(D(b),\"A\",k,b);return B(b,function(b){" "b=va(b);return c&&b.indexOf(a)!=-1||b==a})};W.l=function(a,b,c){b=I(D(b)," "\"A\",k,b);return A(b,function(b){b=va(b);return c&&b.indexOf(a)!=-1||b==" "a})};W.d=function(a,b){return W.m(a,b,!1)};W.b=function(a,b){return W.l(a" ",b,!1)};X.d=function(a,b){return W.m(a,b,!0)};X.b=function(a,b){return W." "l(a,b,!0)};var Ca={className:J,css:{d:function(a,b){a||f(Error(\"No selec" "tor specified\"));a.split(/,/).length>1&&f(Error(\"Compound selectors not" " permitted\"));var a=q(a),c=b.querySelector(a);return c&&c.nodeType==1?c:" "k},b:function(a,b){a||f(Error(\"No selector specified\"));a.split(/,/).le" "ngth>1&&f(Error(\"Compound selectors not permitted\"));a=q(a);return b.qu" "erySelectorAll(a)}},id:{d:function(a,b){var c=D(b),d=n(a)?c.j.getElementB" "yId(a):a;if(!d)return k;if(Q(d,\"id\")==a&&H(b,d))return d;c=I(c,\"*\");r" "eturn B(c,function(c){return Q(c,\n\"id\")==a&&H(b,c)})},b:function(a,b){" "var c=I(D(b),\"*\",k,b);return A(c,function(b){return Q(b,\"id\")==a})}}," "linkText:W,name:{d:function(a,b){var c=I(D(b),\"*\",k,b);return B(c,funct" "ion(b){return Q(b,\"name\")==a})},b:function(a,b){var c=I(D(b),\"*\",k,b)" ";return A(c,function(b){return Q(b,\"name\")==a})}},partialLinkText:X,tag" "Name:{d:function(a,b){return b.getElementsByTagName(a)[0]||k},b:function(" "a,b){return b.getElementsByTagName(a)}},xpath:K};function Da(a,b){var c;a" ":{for(c in a)if(!Object.prototype[c])break a;c=k}if(c){var d=Ca[c];if(d&&" "m(d.b)==\"function\")return d.b(a[c],b||ha.document)}f(Error(\"Unsupporte" "d locator strategy: \"+c))}var Y=\"_\".split(\".\"),Z=l;!(Y[0]in Z)&&Z.ex" "ecScript&&Z.execScript(\"var \"+Y[0]);for(var $;Y.length&&($=Y.shift());)" "!Y.length&&Da!==i?Z[$]=Da:Z=Z[$]?Z[$]:Z[$]={};; return this._.apply(null," "arguments);}.apply({navigator:typeof window!='undefined'?window.navigator" ":null}, arguments);}"; const char* const GET_ATTRIBUTE = "function(){return function(){var f=null;\nfunction g(a){var c=typeof a;if" "(c==\"object\")if(a){if(a instanceof Array)return\"array\";else if(a inst" "anceof Object)return c;var b=Object.prototype.toString.call(a);if(b==\"[o" "bject Window]\")return\"object\";if(b==\"[object Array]\"||typeof a.lengt" "h==\"number\"&&typeof a.splice!=\"undefined\"&&typeof a.propertyIsEnumera" "ble!=\"undefined\"&&!a.propertyIsEnumerable(\"splice\"))return\"array\";i" "f(b==\"[object Function]\"||typeof a.call!=\"undefined\"&&typeof a.proper" "tyIsEnumerable!=\"undefined\"&&!a.propertyIsEnumerable(\"call\"))return\"" "function\"}else return\"null\";else if(c==\n\"function\"&&typeof a.call==" "\"undefined\")return\"object\";return c}function h(a,c){function b(){}b.p" "rototype=c.prototype;a.g=c.prototype;a.prototype=new b};function i(a){for" "(var c=1;c=0;b--)a.parentNode&&a.parentNode.insertBefore(c[b],a." "nextSibling);a&&a.parentNode&&a.parentNode.removeChild(a)};function p(a,c" ",b,d){n.call(this,a,c,b,f,d)}h(p,n);p.prototype.next=function(){do p.g.ne" "xt.call(this);while(this.c==-1);return this.b};var q={\"class\":\"classNa" "me\",readonly:\"readOnly\"},r=[\"checked\",\"disabled\",\"draggable\",\"h" "idden\"];function s(a,c){var b=q[c]||c,d=a[b];if(d===void 0&&k(r,b)>=0)re" "turn!1;return d}\nvar t=[\"async\",\"autofocus\",\"autoplay\",\"checked\"" ",\"compact\",\"complete\",\"controls\",\"declare\",\"defaultchecked\",\"d" "efaultselected\",\"defer\",\"disabled\",\"draggable\",\"ended\",\"formnov" "alidate\",\"hidden\",\"indeterminate\",\"iscontenteditable\",\"ismap\",\"" "itemscope\",\"loop\",\"multiple\",\"muted\",\"nohref\",\"noresize\",\"nos" "hade\",\"novalidate\",\"nowrap\",\"open\",\"paused\",\"pubdate\",\"readon" "ly\",\"required\",\"reversed\",\"scoped\",\"seamless\",\"seeking\",\"sele" "cted\",\"spellcheck\",\"truespeed\",\"willvalidate\"];\nfunction u(a,c){i" "f(8==a.nodeType)return f;c=c.toLowerCase();if(c==\"style\"){var b=a.style" ".cssText.replace(/^[\\s\\xa0]+|[\\s\\xa0]+$/g,\"\").toLowerCase();return " "b.charAt(b.length-1)==\";\"?b:b+\";\"}b=a.getAttributeNode(c);if(!b)retur" "n f;if(k(t,c)>=0)return\"true\";return b.specified?b.value:f};var v=[\"ch" "eckbox\",\"radio\"];function w(a){var c=a.tagName.toUpperCase();if(c==\"O" "PTION\")return!0;if(c==\"INPUT\"&&k(v,a.type)>=0)return!0;return!1};funct" "ion x(a,c){var b=f,d=c.toLowerCase();if(\"style\"==c.toLowerCase()){if((b" "=a.style)&&typeof b!=\"string\")b=b.cssText;return b}if(\"selected\"==d||" "\"checked\"==d&&w(a)){var e;if(w(a)){e=\"selected\";d=a.type&&a.type.toLo" "werCase();if(\"checkbox\"==d||\"radio\"==d)e=\"checked\";e=!!a[e]}else e=" "!1;return e?\"true\":f}b=a.tagName&&\"A\"==a.tagName.toUpperCase();if(a.t" "agName&&\"IMG\"==a.tagName.toUpperCase()&&d==\"src\"||b&&d==\"href\")retu" "rn(b=u(a,d))&&(b=s(a,d)),b;try{e=s(a,c)}catch(B){}if(!(d=e==f))d=g(e),d=d" "==\"object\"||\nd==\"array\"||d==\"function\";b=d?u(a,c):e;return b!=f?b." "toString():f}var y=\"_\".split(\".\"),z=this;!(y[0]in z)&&z.execScript&&z" ".execScript(\"var \"+y[0]);for(var A;y.length&&(A=y.shift());)!y.length&&" "x!==void 0?z[A]=x:z=z[A]?z[A]:z[A]={};; return this._.apply(null,argument" "s);}.apply({navigator:typeof window!='undefined'?window.navigator:null}, " "arguments);}"; const char* const GET_EFFECTIVE_STYLE = "function(){return function(){var e=null;function f(a,c){function b(){}b.p" "rototype=c.prototype;a.g=c.prototype;a.prototype=new b};function g(a){for" "(var c=1;ca.clientWidth||a.scrollHeight>a.clientHeigh" "t||e==\"fixed\"||e==\"absolute\"||e==\"relative\"))return a;return null};" "function q(a){var b=m(a),e=o(a),c=new l(0,0),f=(b?b.nodeType==9?b:m(b):do" "cument).documentElement;if(a==f)return c;if(a.getBoundingClientRect)a=a.g" "etBoundingClientRect(),f=(b?new n(m(b)):k||(k=new n)).a,b=f.body,f=f.pare" "ntWindow||f.defaultView,b=new l(f.pageXOffset||b.scrollLeft,f.pageYOffset" "||b.scrollTop),c.x=a.left+b.x,c.y=a.top+b.y;else if(b.getBoxObjectFor)a=b" ".getBoxObjectFor(a),b=b.getBoxObjectFor(f),c.x=a.screenX-b.screenX,c.y=a." "screenY-b.screenY;else{var d=a;do{c.x+=d.offsetLeft;c.y+=d.offsetTop;\nd!" "=a&&(c.x+=d.clientLeft||0,c.y+=d.clientTop||0);if(o(d)==\"fixed\"){c.x+=b" ".body.scrollLeft;c.y+=b.body.scrollTop;break}d=d.offsetParent}while(d&&d!" "=a);e==\"absolute\"&&(c.y-=b.body.offsetTop);for(d=a;(d=p(d))&&d!=b.body&" "&d!=f;)c.x-=d.scrollLeft,c.y-=d.scrollTop}return c}var r=\"_\".split(\"." "\"),s=g;!(r[0]in s)&&s.execScript&&s.execScript(\"var \"+r[0]);for(var t;" "r.length&&(t=r.shift());)!r.length&&q!==void 0?s[t]=q:s=s[t]?s[t]:s[t]={}" ";; return this._.apply(null,arguments);}.apply({navigator:typeof window!=" "'undefined'?window.navigator:null}, arguments);}"; const char* const GET_SIZE = "function(){return function(){function c(b,a){function d(){}d.prototype=a." "prototype;b.b=a.prototype;b.prototype=new d};function e(b){this.stack=Err" "or().stack||\"\";if(b)this.message=String(b)}c(e,Error);function f(b){for" "(var a=1;a=0&&a.indexOf(\" \",b)==b}function o(a){for(var b=1;b=0;c--)" "a.parentNode&&a.parentNode.insertBefore(b[c],a.nextSibling);a&&a.parentNo" "de&&a.parentNode.removeChild(a)};function L(a,b,c,e){J.call(this,a,b,c,g," "e)}l(L,J);L.prototype.next=function(){do L.g.next.call(this);while(this.c" "==-1);return this.b};function M(a,b){var c=C(a);if(c.defaultView&&c.defau" "ltView.getComputedStyle&&(c=c.defaultView.getComputedStyle(a,g)))return c" "[b]||c.getPropertyValue(b);return\"\"};function N(a,b){return!!a&&a.nodeT" "ype==1&&(!b||a.tagName.toUpperCase()==b)}\nvar aa=[\"async\",\"autofocus" "\",\"autoplay\",\"checked\",\"compact\",\"complete\",\"controls\",\"decla" "re\",\"defaultchecked\",\"defaultselected\",\"defer\",\"disabled\",\"drag" "gable\",\"ended\",\"formnovalidate\",\"hidden\",\"indeterminate\",\"iscon" "tenteditable\",\"ismap\",\"itemscope\",\"loop\",\"multiple\",\"muted\",\"" "nohref\",\"noresize\",\"noshade\",\"novalidate\",\"nowrap\",\"open\",\"pa" "used\",\"pubdate\",\"readonly\",\"required\",\"reversed\",\"scoped\",\"se" "amless\",\"seeking\",\"selected\",\"spellcheck\",\"truespeed\",\"willvali" "date\"];\nfunction ba(a){var b;if(8==a.nodeType)return g;b=\"usemap\";if(" "b==\"style\")return b=p(a.style.cssText).toLowerCase(),b.charAt(b.length-" "1)==\";\"?b:b+\";\";a=a.getAttributeNode(b);if(!a)return g;if(y(aa,b)>=0)" "return\"true\";return a.specified?a.value:g}function O(a){for(a=a.parentN" "ode;a&&a.nodeType!=1&&a.nodeType!=9&&a.nodeType!=11;)a=a.parentNode;retur" "n N(a)?a:g}function P(a,b){b=r(String(b));return M(a,b)||Q(a,b)}\nfunctio" "n Q(a,b){var c=(a.currentStyle||a.style)[b];if(c!=\"inherit\")return c!==" "f?c:g;return(c=O(a))?Q(c,b):g}\nfunction ca(a){if(j(a.getBBox)==\"functio" "n\")return a.getBBox();var b;if((M(a,\"display\")||(a.currentStyle?a.curr" "entStyle.display:g)||a.style.display)!=\"none\")b=new B(a.offsetWidth,a.o" "ffsetHeight);else{b=a.style;var c=b.display,e=b.visibility,d=b.position;b" ".visibility=\"hidden\";b.position=\"absolute\";b.display=\"inline\";var h" "=a.offsetWidth,a=a.offsetHeight;b.display=c;b.position=d;b.visibility=e;b" "=new B(h,a)}return b}\nfunction R(a,b){function c(a){if(P(a,\"display\")=" "=\"none\")return!1;a=O(a);return!a||c(a)}function e(a){var b=ca(a);if(b.h" "eight>0&&b.width>0)return!0;if(a.innerText||a.textContent)if(S.test(a.inn" "erText||a.textContent))return!0;return s&&A(a.childNodes,function(a){retu" "rn N(a)&&e(a)})}if(!N(a))throw Error(\"Argument to isShown must be of typ" "e Element\");if(N(a,\"TITLE\"))return(C(a)?C(a).parentWindow||C(a).defaul" "tView:window)==v;if(N(a,\"OPTION\")||N(a,\"OPTGROUP\")){var d=F(a,functio" "n(a){return N(a,\"SELECT\")});\nreturn!!d&&R(d,b)}if(N(a,\"MAP\")){if(!a." "name)return!1;d=C(a);d=d.evaluate?G('/descendant::*[@usemap = \"#'+a.name" "+'\"]',d):D(d,function(b){return N(b)&&ba(b)==\"#\"+a.name});return!!d&&R" "(d,b)}if(N(a,\"AREA\"))return d=F(a,function(a){return N(a,\"MAP\")}),!!d" "&&R(d,b);if(N(a,\"INPUT\")&&a.type.toLowerCase()==\"hidden\")return!1;if(" "P(a,\"visibility\")==\"hidden\")return!1;if(!c(a))return!1;if(!b&&T(a)==0" ")return!1;if(!e(a))return!1;return!0}\nfunction U(a,b){if(N(a,\"BR\"))b.p" "ush(\"\");else{var c=P(a,\"display\"),e=!(y(da,c)>=0);e&&b[b.length-1]&&!" "S.test(b[b.length-1])&&b.push(\"\");var d=R(a);if(d)var h=P(a,\"white-spa" "ce\"),n=P(a,\"text-transform\");z(a.childNodes,function(a){a.nodeType==3&" "&d?ea(a,b,h,n):N(a)&&U(a,b)});var i=b[b.length-1];c==\"table-cell\"&&i&&!" "m(i)&&(b[b.length-1]+=\" \");e&&i&&!S.test(i)&&b.push(\"\")}}\nvar da=[\"" "inline\",\"inline-block\",\"inline-table\",\"none\",\"table-cell\",\"tabl" "e-column\",\"table-column-group\"],V=\"[\\\\s\\\\xa0\"+String.fromCharCod" "e(160)+\"]+\",fa=RegExp(V,\"g\"),S=RegExp(\"^\"+V+\"$\");\nfunction ea(a," "b,c,e){a=a.nodeValue.replace(/(\\r\\n|\\r|\\n)/g,\"\\n\");a=a.replace(/" "\\u200b/g,\"\");c==\"normal\"||c==\"nowrap\"?a=a.replace(fa,\" \"):c==\"p" "re-line\"&&(a=a.replace(/\\xa0|[ \\t]+/g,\" \"));a=a.replace(/\\xa0|\\t/g" ",\" \");e==\"capitalize\"?a=a.replace(/(^|\\s)(\\S)/g,function(a,b,c){ret" "urn b+c.toUpperCase()}):e==\"uppercase\"?a=a.toUpperCase():e==\"lowercase" "\"&&(a=a.toLowerCase());c=b.pop()||\"\";m(c)&&a.lastIndexOf(\" \",0)==0&&" "(a=a.substr(1));b.push(c+a)}\nfunction T(a){var b=1,c=P(a,\"opacity\");c&" "&(b=Number(c));(a=O(a))&&(b*=T(a));return b};function W(a){var b;a:{for(b" "=a;b;){if(b.tagName&&b.tagName.toLowerCase()==\"head\"){b=!0;break a}try{" "b=b.parentNode}catch(c){break}}b=!1}if(b){b=C(a);if(a.tagName.toUpperCase" "()==\"TITLE\"&&(b?b.parentWindow||b.defaultView:window)==v.top)return p(b" ".title);return\"\"}var e=[];U(a,e);a=e.length;b=Array(a);for(var e=k(e)?e" ".split(\"\"):e,d=0;d=0" ";c--)a.parentNode&&a.parentNode.insertBefore(b[c],a.nextSibling);a&&a.par" "entNode&&a.parentNode.removeChild(a)};function H(a,b,c,f){F.call(this,a,b" ",c,e,f)}i(H,F);H.prototype.next=function(){do H.g.next.call(this);while(t" "his.c==-1);return this.b};function I(a,b){var c=y(a);if(c.defaultView&&c." "defaultView.getComputedStyle&&(c=c.defaultView.getComputedStyle(a,e)))ret" "urn c[b]||c.getPropertyValue(b);return\"\"};function J(a,b){return!!a&&a." "nodeType==1&&(!b||a.tagName.toUpperCase()==b)}\nvar v=[\"async\",\"autofo" "cus\",\"autoplay\",\"checked\",\"compact\",\"complete\",\"controls\",\"de" "clare\",\"defaultchecked\",\"defaultselected\",\"defer\",\"disabled\",\"d" "raggable\",\"ended\",\"formnovalidate\",\"hidden\",\"indeterminate\",\"is" "contenteditable\",\"ismap\",\"itemscope\",\"loop\",\"multiple\",\"muted\"" ",\"nohref\",\"noresize\",\"noshade\",\"novalidate\",\"nowrap\",\"open\"," "\"paused\",\"pubdate\",\"readonly\",\"required\",\"reversed\",\"scoped\"," "\"seamless\",\"seeking\",\"selected\",\"spellcheck\",\"truespeed\",\"will" "validate\"];\nfunction K(a){var b;if(8==a.nodeType)return e;b=\"usemap\";" "if(b==\"style\")return b=a.style.cssText.replace(/^[\\s\\xa0]+|[\\s\\xa0]" "+$/g,\"\").toLowerCase(),b.charAt(b.length-1)==\";\"?b:b+\";\";a=a.getAtt" "ributeNode(b);if(!a)return e;if(u(b)>=0)return\"true\";return a.specified" "?a.value:e}function L(a){for(a=a.parentNode;a&&a.nodeType!=1&&a.nodeType!" "=9&&a.nodeType!=11;)a=a.parentNode;return J(a)?a:e}function M(a,b){b=l(St" "ring(b));return I(a,b)||N(a,b)}\nfunction N(a,b){var c=(a.currentStyle||a" ".style)[b];if(c!=\"inherit\")return c!==void 0?c:e;return(c=L(a))?N(c,b):" "e}\nfunction O(a){if(g(a.getBBox)==\"function\")return a.getBBox();var b;" "if((I(a,\"display\")||(a.currentStyle?a.currentStyle.display:e)||a.style." "display)!=\"none\")b=new x(a.offsetWidth,a.offsetHeight);else{b=a.style;v" "ar c=b.display,f=b.visibility,d=b.position;b.visibility=\"hidden\";b.posi" "tion=\"absolute\";b.display=\"inline\";var h=a.offsetWidth,a=a.offsetHeig" "ht;b.display=c;b.position=d;b.visibility=f;b=new x(h,a)}return b}\nfuncti" "on P(a,b){function c(a){if(M(a,\"display\")==\"none\")return!1;a=L(a);ret" "urn!a||c(a)}function f(a){var b=O(a);if(b.height>0&&b.width>0)return!0;if" "(a.innerText||a.textContent)if(Q.test(a.innerText||a.textContent))return!" "0;return m&&w(a.childNodes,function(a){return J(a)&&f(a)})}if(!J(a))throw" " Error(\"Argument to isShown must be of type Element\");if(J(a,\"TITLE\")" ")return(y(a)?y(a).parentWindow||y(a).defaultView:window)==p;if(J(a,\"OPTI" "ON\")||J(a,\"OPTGROUP\")){var d=B(a,function(a){return J(a,\"SELECT\")});" "\nreturn!!d&&P(d,b)}if(J(a,\"MAP\")){if(!a.name)return!1;d=y(a);d=d.evalu" "ate?C('/descendant::*[@usemap = \"#'+a.name+'\"]',d):z(d,function(b){retu" "rn J(b)&&K(b)==\"#\"+a.name});return!!d&&P(d,b)}if(J(a,\"AREA\"))return d" "=B(a,function(a){return J(a,\"MAP\")}),!!d&&P(d,b);if(J(a,\"INPUT\")&&a.t" "ype.toLowerCase()==\"hidden\")return!1;if(M(a,\"visibility\")==\"hidden\"" ")return!1;if(!c(a))return!1;if(!b&&R(a)==0)return!1;if(!f(a))return!1;ret" "urn!0}var Q=RegExp(\"^\"+(\"[\\\\s\\\\xa0\"+String.fromCharCode(160)+\"]+" "\")+\"$\");\nfunction R(a){var b=1,c=M(a,\"opacity\");c&&(b=Number(c));(a" "=L(a))&&(b*=R(a));return b};var S=P,U=\"_\".split(\".\"),V=this;!(U[0]in " "V)&&V.execScript&&V.execScript(\"var \"+U[0]);for(var W;U.length&&(W=U.sh" "ift());)!U.length&&S!==void 0?V[W]=S:V=V[W]?V[W]:V[W]={};; return this._." "apply(null,arguments);}.apply({navigator:typeof window!='undefined'?windo" "w.navigator:null}, arguments);}"; const char* const IS_ENABLED = "function(){return function(){var d=null;function e(a,b){function c(){}c.p" "rototype=b.prototype;a.g=b.prototype;a.prototype=new c};function f(a){for" "(var b=1;b=0)return\"tr" "ue\";return a.specified?a.value:d}var n=[\"BUTTON\",\"INPUT\",\"OPTGROUP" "\",\"OPTION\",\"SELECT\",\"TEXTAREA\"];\nfunction o(a){var b=a.tagName.to" "UpperCase();if(!(h(n,b)>=0))return!0;if(l(a))return!1;if(a.parentNode&&a." "parentNode.nodeType==1&&\"OPTGROUP\"==b||\"OPTION\"==b)return o(a.parentN" "ode);return!0};var p=o,q=\"_\".split(\".\"),r=this;!(q[0]in r)&&r.execScr" "ipt&&r.execScript(\"var \"+q[0]);for(var s;q.length&&(s=q.shift());)!q.le" "ngth&&p!==void 0?r[s]=p:r=r[s]?r[s]:r[s]={};; return this._.apply(null,ar" "guments);}.apply({navigator:typeof window!='undefined'?window.navigator:n" "ull}, arguments);}"; const char* const IS_SELECTED = "function(){return function(){function d(b,a){function c(){}c.prototype=a." "prototype;b.g=a.prototype;b.prototype=new c};function e(b){for(var a=1;a<" "arguments.length;a++)var c=String(arguments[a]).replace(/\\$/g,\"$$$$\")," "b=b.replace(/\\%s/,c);return b};function f(b){this.stack=Error().stack||" "\"\";if(b)this.message=String(b)}d(f,Error);d(function(b,a){a.unshift(b);" "f.call(this,e.apply(null,a));a.shift();this.f=b},f);function g(b){var a=h" ";if(typeof a==\"string\"){if(typeof b!=\"string\"||b.length!=1)return-1;r" "eturn a.indexOf(b,0)}for(var c=0;c=0?!0:!1;if(!a)return!1;a=\"" "selected\";var c=b.type&&b.type.toLowerCase();if(\"checkbox\"==c||\"radio" "\"==c)a=\"checked\";return!!b[a]}var m=\"_\".split(\".\"),n=this;!(m[0]in" " n)&&n.execScript&&n.execScript(\"var \"+m[0]);for(var o;m.length&&(o=m.s" "hift());)!m.length&&l!==void 0?n[o]=l:n=n[o]?n[o]:n[o]={};; return this._" ".apply(null,arguments);}.apply({navigator:typeof window!='undefined'?wind" "ow.navigator:null}, arguments);}"; const char* const SET_SELECTED = "function(){return function(){var j=void 0,m=null,n=this;\nfunction p(a){v" "ar b=typeof a;if(b==\"object\")if(a){if(a instanceof Array)return\"array" "\";else if(a instanceof Object)return b;var c=Object.prototype.toString.c" "all(a);if(c==\"[object Window]\")return\"object\";if(c==\"[object Array]" "\"||typeof a.length==\"number\"&&typeof a.splice!=\"undefined\"&&typeof a" ".propertyIsEnumerable!=\"undefined\"&&!a.propertyIsEnumerable(\"splice\")" ")return\"array\";if(c==\"[object Function]\"||typeof a.call!=\"undefined" "\"&&typeof a.propertyIsEnumerable!=\"undefined\"&&!a.propertyIsEnumerable" "(\"call\"))return\"function\"}else return\"null\";\nelse if(b==\"function" "\"&&typeof a.call==\"undefined\")return\"object\";return b}Math.floor(Mat" "h.random()*2147483648).toString(36);function q(a,b){function c(){}c.proto" "type=b.prototype;a.i=b.prototype;a.prototype=new c};function aa(a){for(va" "r b=1;b=0;c--)a.parentNode&&a.parentNode.insertBe" "fore(b[c],a.nextSibling);a&&a.parentNode&&a.parentNode.removeChild(a)};fu" "nction P(a,b,c,d){N.call(this,a,b,c,m,d)}q(P,N);P.prototype.next=function" "(){do P.i.next.call(this);while(this.c==-1);return this.b};function ga(a," "b){var c=G(a);if(c.defaultView&&c.defaultView.getComputedStyle&&(c=c.defa" "ultView.getComputedStyle(a,m)))return c[b]||c.getPropertyValue(b);return" "\"\"}function Q(a,b){return ga(a,b)||(a.currentStyle?a.currentStyle[b]:m)" "||a.style[b]}\nfunction ha(a){for(var b=G(a),c=Q(a,\"position\"),d=c==\"f" "ixed\"||c==\"absolute\",a=a.parentNode;a&&a!=b;a=a.parentNode)if(c=Q(a,\"" "position\"),d=d&&c==\"static\"&&a!=b.documentElement&&a!=b.body,!d&&(a.sc" "rollWidth>a.clientWidth||a.scrollHeight>a.clientHeight||c==\"fixed\"||c==" "\"absolute\"||c==\"relative\"))return a;return m};function R(a,b){return!" "!a&&a.nodeType==1&&(!b||a.tagName.toUpperCase()==b)}\nvar ia={\"class\":" "\"className\",readonly:\"readOnly\"},ja=[\"checked\",\"disabled\",\"dragg" "able\",\"hidden\"],ka=[\"async\",\"autofocus\",\"autoplay\",\"checked\"," "\"compact\",\"complete\",\"controls\",\"declare\",\"defaultchecked\",\"de" "faultselected\",\"defer\",\"disabled\",\"draggable\",\"ended\",\"formnova" "lidate\",\"hidden\",\"indeterminate\",\"iscontenteditable\",\"ismap\",\"i" "temscope\",\"loop\",\"multiple\",\"muted\",\"nohref\",\"noresize\",\"nosh" "ade\",\"novalidate\",\"nowrap\",\"open\",\"paused\",\"pubdate\",\"readonl" "y\",\"required\",\"reversed\",\"scoped\",\"seamless\",\"seeking\",\n\"sel" "ected\",\"spellcheck\",\"truespeed\",\"willvalidate\"];function la(a,b){i" "f(8==a.nodeType)return m;b=b.toLowerCase();if(b==\"style\"){var c=a.style" ".cssText.replace(/^[\\s\\xa0]+|[\\s\\xa0]+$/g,\"\").toLowerCase();return " "c.charAt(c.length-1)==\";\"?c:c+\";\"}c=a.getAttributeNode(b);if(!c)retur" "n m;if(C(ka,b)>=0)return\"true\";return c.specified?c.value:m}var ma=[\"B" "UTTON\",\"INPUT\",\"OPTGROUP\",\"OPTION\",\"SELECT\",\"TEXTAREA\"];\nfunc" "tion na(a){var b=a.tagName.toUpperCase();if(!(C(ma,b)>=0))return!0;if(la(" "a,\"disabled\"))return!1;if(a.parentNode&&a.parentNode.nodeType==1&&\"OPT" "GROUP\"==b||\"OPTION\"==b)return na(a.parentNode);return!0}function S(a){" "for(a=a.parentNode;a&&a.nodeType!=1&&a.nodeType!=9&&a.nodeType!=11;)a=a.p" "arentNode;return R(a)?a:m}function T(a,b){b=ba(String(b));return ga(a,b)|" "|oa(a,b)}function oa(a,b){var c=(a.currentStyle||a.style)[b];if(c!=\"inhe" "rit\")return c!==j?c:m;return(c=S(a))?oa(c,b):m}\nfunction pa(a){if(p(a.g" "etBBox)==\"function\")return a.getBBox();var b;if(Q(a,\"display\")!=\"non" "e\")b=new F(a.offsetWidth,a.offsetHeight);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=a.offsetWidth,a=a.offsetHeight;b.display=c;" "b.position=e;b.visibility=d;b=new F(f,a)}return b}\nfunction U(a,b){funct" "ion c(a){if(T(a,\"display\")==\"none\")return!1;a=S(a);return!a||c(a)}fun" "ction d(a){var b=pa(a);if(b.height>0&&b.width>0)return!0;if(a.innerText||" "a.textContent)if(qa.test(a.innerText||a.textContent))return!0;return s&&d" "a(a.childNodes,function(a){return R(a)&&d(a)})}if(!R(a))throw Error(\"Arg" "ument to isShown must be of type Element\");if(R(a,\"TITLE\"))return(G(a)" "?G(a).parentWindow||G(a).defaultView:window)==ca;if(R(a,\"OPTION\")||R(a," "\"OPTGROUP\")){var e=I(a,function(a){return R(a,\"SELECT\")});\nreturn!!e" "&&U(e,b)}if(R(a,\"MAP\")){if(!a.name)return!1;e=G(a);e=e.evaluate?fa('/de" "scendant::*[@usemap = \"#'+a.name+'\"]',e):ea(e,function(b){return R(b)&&" "la(b,\"usemap\")==\"#\"+a.name});return!!e&&U(e,b)}if(R(a,\"AREA\"))retur" "n e=I(a,function(a){return R(a,\"MAP\")}),!!e&&U(e,b);if(R(a,\"INPUT\")&&" "a.type.toLowerCase()==\"hidden\")return!1;if(T(a,\"visibility\")==\"hidde" "n\")return!1;if(!c(a))return!1;if(!b&&ra(a)==0)return!1;if(!d(a))return!1" ";return!0}var qa=RegExp(\"^\"+(\"[\\\\s\\\\xa0\"+String.fromCharCode(160)" "+\"]+\")+\"$\");\nfunction ra(a){var b=1,c=T(a,\"opacity\");c&&(b=Number(" "c));(a=S(a))&&(b*=ra(a));return b};var sa=[\"dragstart\",\"dragexit\",\"m" "ouseover\",\"mouseout\"];\nfunction V(a,b,c){var d=G(a),e=d?d.parentWindo" "w||d.defaultView:window,f=new E;if(a.nodeType==1)if(a.getBoundingClientRe" "ct){var k=a.getBoundingClientRect();f.x=k.left;f.y=k.top}else{k=K(a?new J" "(G(a)):D||(D=new J));var i,g=G(a);i=Q(a,\"position\");var h=new E(0,0),u=" "(g?g.nodeType==9?g:G(g):document).documentElement;if(a!=u)if(a.getBoundin" "gClientRect)i=a.getBoundingClientRect(),g=K(g?new J(G(g)):D||(D=new J)),h" ".x=i.left+g.x,h.y=i.top+g.y;else if(g.getBoxObjectFor)i=g.getBoxObjectFor" "(a),g=g.getBoxObjectFor(u),\nh.x=i.screenX-g.screenX,h.y=i.screenY-g.scre" "enY;else{var l=a;do{h.x+=l.offsetLeft;h.y+=l.offsetTop;l!=a&&(h.x+=l.clie" "ntLeft||0,h.y+=l.clientTop||0);if(s&&Q(l,\"position\")==\"fixed\"){h.x+=g" ".body.scrollLeft;h.y+=g.body.scrollTop;break}l=l.offsetParent}while(l&&l!" "=a);s&&i==\"absolute\"&&(h.y-=g.body.offsetTop);for(l=a;(l=ha(l))&&l!=g.b" "ody&&l!=u;)h.x-=l.scrollLeft,h.y-=l.scrollTop}f.x=h.x-k.x;f.y=h.y-k.y}els" "e k=p(a.e)==\"function\",h=a,a.targetTouches?h=a.targetTouches[0]:k&&a.e(" ").targetTouches&&(h=a.e().targetTouches[0]),\nf.x=h.clientX,f.y=h.clientY" ";var o=c||{},c=(o.x||0)+f.x,f=(o.y||0)+f.y,k=o.button||0,h=o.bubble||!0;i" "=m;C(sa,b)>=0&&(i=o.related||m);g=!!o.alt;u=!!o.control;l=!!o.shift;o=!!o" ".meta;a.fireEvent&&d&&d.createEventObject?(a=d.createEventObject(),a.altK" "ey=g,a.j=u,a.metaKey=o,a.shiftKey=l,a.clientX=c,a.clientY=f,a.button=k,a." "relatedTarget=i):(a=d.createEvent(\"MouseEvents\"),a.initMouseEvent?a.ini" "tMouseEvent(b,h,!0,e,1,0,0,c,f,u,g,l,o,k,i):(a.initEvent(b,h,!0),a.shiftK" "ey=l,a.metaKey=o,a.altKey=g,a.ctrlKey=\nu,a.button=k));return a}function " "W(a,b,c){var d=c||{},c=d.keyCode||0,e=d.charCode||0,f=!!d.alt,k=!!d.ctrl," "i=!!d.shift,d=!!d.meta,a=G(a).createEvent(\"Events\");a.initEvent(b,!0,!0" ");a.charCode=e;a.keyCode=c;a.altKey=f;a.ctrlKey=k;a.metaKey=d;a.shiftKey=" "i;return a}\nfunction ta(a,b,c){var d=G(a),e=c||{},c=e.bubble!==!1,f=!!e." "alt,k=!!e.control,i=!!e.shift,e=!!e.meta;a.fireEvent&&d&&d.createEventObj" "ect?(a=d.createEventObject(),a.altKey=f,a.k=k,a.metaKey=e,a.shiftKey=i):(" "a=d.createEvent(\"HTMLEvents\"),a.initEvent(b,c,!0),a.shiftKey=i,a.metaKe" "y=e,a.altKey=f,a.ctrlKey=k);return a}var X={};X.click=V;X.keydown=W;X.key" "press=W;X.keyup=W;X.mousedown=V;X.mousemove=V;X.mouseout=V;X.mouseover=V;" "X.mouseup=V;\nfunction ua(a){var b=(X.change||ta)(a,\"change\",j);if(!(\"" "isTrusted\"in b))b.l=!1;a.dispatchEvent(b)};function va(a){var b;R(a,\"OP" "TION\")?b=!0:R(a,\"INPUT\")?(b=a.type.toLowerCase(),b=b==\"checkbox\"||b=" "=\"radio\"):b=!1;if(!b)throw new w(15,\"Element is not selectable\");b=\"" "selected\";var c=a.type&&a.type.toLowerCase();if(\"checkbox\"==c||\"radio" "\"==c)b=\"checked\";b=ia[b]||b;a=a[b];a=a===j&&C(ja,b)>=0?!1:a;return!!a}" "function wa(a){return R(a,\"SELECT\")};function xa(a,b){if(!U(a,!0))throw" " new w(11,\"Element is not currently visible and may not be manipulated\"" ");if(!na(a))throw new w(12,\"Element is not currently enabled and may not" " be manipulated\");if(R(a,\"INPUT\")){var c=a.type.toLowerCase();if(c==\"" "checkbox\"||c==\"radio\"){if(a.checked!=b){if(a.type==\"radio\"&&!b)throw" " new w(12,\"You may not deselect a radio button\");if(b!=va(a))a.checked=" "b,ua(a)}}else throw new w(15,\"You may not select an unselectable input e" "lement: \"+a.type);}else if(R(a,\"OPTION\")){c=\nI(a,wa);if(!c.multiple&&" "!b)throw new w(15,\"You may not deselect an option within a select that d" "oes not support multiple selections.\");if(b!=va(a))a.selected=b,ua(c)}el" "se throw new w(15,\"You may not select an unselectable element: \"+a.tagN" "ame);}var Y=\"_\".split(\".\"),Z=n;!(Y[0]in Z)&&Z.execScript&&Z.execScrip" "t(\"var \"+Y[0]);for(var $;Y.length&&($=Y.shift());)!Y.length&&xa!==j?Z[$" "]=xa:Z=Z[$]?Z[$]:Z[$]={};; return this._.apply(null,arguments);}.apply({n" "avigator:typeof window!='undefined'?window.navigator:null}, arguments);}"; const char* const SUBMIT = "function(){return function(){var m=null,n=this;\nfunction o(a){var b=type" "of a;if(b==\"object\")if(a){if(a instanceof Array)return\"array\";else if" "(a instanceof Object)return b;var c=Object.prototype.toString.call(a);if(" "c==\"[object Window]\")return\"object\";if(c==\"[object Array]\"||typeof " "a.length==\"number\"&&typeof a.splice!=\"undefined\"&&typeof a.propertyIs" "Enumerable!=\"undefined\"&&!a.propertyIsEnumerable(\"splice\"))return\"ar" "ray\";if(c==\"[object Function]\"||typeof a.call!=\"undefined\"&&typeof a" ".propertyIsEnumerable!=\"undefined\"&&!a.propertyIsEnumerable(\"call\"))r" "eturn\"function\"}else return\"null\";else if(b==\n\"function\"&&typeof a" ".call==\"undefined\")return\"object\";return b}Math.floor(Math.random()*2" "147483648).toString(36);function p(a,b){function c(){}c.prototype=b.proto" "type;a.i=b.prototype;a.prototype=new c};function q(a){for(var b=1;b=0;c--)a.paren" "tNode&&a.parentNode.insertBefore(b[c],a.nextSibling);a&&a.parentNode&&a.p" "arentNode.removeChild(a)};function K(a,b,c,d){I.call(this,a,b,c,m,d)}p(K," "I);K.prototype.next=function(){do K.i.next.call(this);while(this.c==-1);r" "eturn this.b};function L(a){var b;a:{b=D(a);if(b.defaultView&&b.defaultVi" "ew.getComputedStyle&&(b=b.defaultView.getComputedStyle(a,m))){b=b.positio" "n||b.getPropertyValue(\"position\");break a}b=\"\"}return b||(a.currentSt" "yle?a.currentStyle.position:m)||a.style.position}\nfunction M(a){for(var " "b=D(a),c=L(a),d=c==\"fixed\"||c==\"absolute\",a=a.parentNode;a&&a!=b;a=a." "parentNode)if(c=L(a),d=d&&c==\"static\"&&a!=b.documentElement&&a!=b.body," "!d&&(a.scrollWidth>a.clientWidth||a.scrollHeight>a.clientHeight||c==\"fix" "ed\"||c==\"absolute\"||c==\"relative\"))return a;return m};var A=[\"drags" "tart\",\"dragexit\",\"mouseover\",\"mouseout\"];\nfunction N(a,b,c){var d" "=D(a),k=d?d.parentWindow||d.defaultView:window,i=new C;if(a.nodeType==1)i" "f(a.getBoundingClientRect){var j=a.getBoundingClientRect();i.x=j.left;i.y" "=j.top}else{j=F(a?new E(D(a)):B||(B=new E));var h,e=D(a);h=L(a);var f=new" " C(0,0),r=(e?e.nodeType==9?e:D(e):document).documentElement;if(a!=r)if(a." "getBoundingClientRect)h=a.getBoundingClientRect(),e=F(e?new E(D(e)):B||(B" "=new E)),f.x=h.left+e.x,f.y=h.top+e.y;else if(e.getBoxObjectFor)h=e.getBo" "xObjectFor(a),e=e.getBoxObjectFor(r),f.x=\nh.screenX-e.screenX,f.y=h.scre" "enY-e.screenY;else{var g=a;do{f.x+=g.offsetLeft;f.y+=g.offsetTop;g!=a&&(f" ".x+=g.clientLeft||0,f.y+=g.clientTop||0);if(L(g)==\"fixed\"){f.x+=e.body." "scrollLeft;f.y+=e.body.scrollTop;break}g=g.offsetParent}while(g&&g!=a);h=" "=\"absolute\"&&(f.y-=e.body.offsetTop);for(g=a;(g=M(g))&&g!=e.body&&g!=r;" ")f.x-=g.scrollLeft,f.y-=g.scrollTop}i.x=f.x-j.x;i.y=f.y-j.y}else j=o(a.e)" "==\"function\",f=a,a.targetTouches?f=a.targetTouches[0]:j&&a.e().targetTo" "uches&&(f=a.e().targetTouches[0]),i.x=f.clientX,\ni.y=f.clientY;var l=c||" "{},c=(l.x||0)+i.x,i=(l.y||0)+i.y,j=l.button||0,f=l.bubble||!0;h=m;z(b)>=0" "&&(h=l.related||m);e=!!l.alt;r=!!l.control;g=!!l.shift;l=!!l.meta;a.fireE" "vent&&d&&d.createEventObject?(a=d.createEventObject(),a.altKey=e,a.j=r,a." "metaKey=l,a.shiftKey=g,a.clientX=c,a.clientY=i,a.button=j,a.relatedTarget" "=h):(a=d.createEvent(\"MouseEvents\"),a.initMouseEvent?a.initMouseEvent(b" ",f,!0,k,1,0,0,c,i,r,e,g,l,j,h):(a.initEvent(b,f,!0),a.shiftKey=g,a.metaKe" "y=l,a.altKey=e,a.ctrlKey=r,a.button=j));return a}\nfunction O(a,b,c){var " "d=c||{},c=d.keyCode||0,k=d.charCode||0,i=!!d.alt,j=!!d.ctrl,h=!!d.shift,d" "=!!d.meta,a=D(a).createEvent(\"Events\");a.initEvent(b,!0,!0);a.charCode=" "k;a.keyCode=c;a.altKey=i;a.ctrlKey=j;a.metaKey=d;a.shiftKey=h;return a}\n" "function P(a,b,c){var d=D(a),k=c||{},c=k.bubble!==!1,i=!!k.alt,j=!!k.cont" "rol,h=!!k.shift,k=!!k.meta;a.fireEvent&&d&&d.createEventObject?(a=d.creat" "eEventObject(),a.altKey=i,a.k=j,a.metaKey=k,a.shiftKey=h):(a=d.createEven" "t(\"HTMLEvents\"),a.initEvent(b,c,!0),a.shiftKey=h,a.metaKey=k,a.altKey=i" ",a.ctrlKey=j);return a}var Q={};Q.click=N;Q.keydown=O;Q.keypress=O;Q.keyu" "p=O;Q.mousedown=N;Q.mousemove=N;Q.mouseout=N;Q.mouseover=N;Q.mouseup=N;fu" "nction R(a){a:{for(var b=0;a;){if(a&&a.nodeType==1&&a.tagName.toUpperCase" "()==\"FORM\")break a;a=a.parentNode;b++}a=m}if(!a)throw new t(12,\"Elemen" "t was not in a form, so could not submit.\");var b=a,c=(Q.submit||P)(b,\"" "submit\",void 0);if(!(\"isTrusted\"in c))c.l=!1;b.dispatchEvent(c)&&a.sub" "mit()}var S=\"_\".split(\".\"),T=n;!(S[0]in T)&&T.execScript&&T.execScrip" "t(\"var \"+S[0]);for(var U;S.length&&(U=S.shift());)!S.length&&R!==void 0" "?T[U]=R:T=T[U]?T[U]:T[U]={};; return this._.apply(null,arguments);}.apply" "({navigator:typeof window!='undefined'?window.navigator:null}, arguments)" ";}"; const char* const TOGGLE = "function(){return function(){function j(a){throw a;}var m=void 0,n=null,o" "=this;\nfunction q(a){var b=typeof a;if(b==\"object\")if(a){if(a instance" "of Array)return\"array\";else if(a instanceof Object)return b;var c=Objec" "t.prototype.toString.call(a);if(c==\"[object Window]\")return\"object\";i" "f(c==\"[object Array]\"||typeof a.length==\"number\"&&typeof a.splice!=\"" "undefined\"&&typeof a.propertyIsEnumerable!=\"undefined\"&&!a.propertyIsE" "numerable(\"splice\"))return\"array\";if(c==\"[object Function]\"||typeof" " a.call!=\"undefined\"&&typeof a.propertyIsEnumerable!=\"undefined\"&&!a." "propertyIsEnumerable(\"call\"))return\"function\"}else return\"null\";\ne" "lse if(b==\"function\"&&typeof a.call==\"undefined\")return\"object\";ret" "urn b}Math.floor(Math.random()*2147483648).toString(36);function r(a,b){f" "unction c(){}c.prototype=b.prototype;a.i=b.prototype;a.prototype=new c};f" "unction aa(a){for(var b=1;b=0;c--)a.parentNode&&a.parentNode.insertBefor" "e(b[c],a.nextSibling);a&&a.parentNode&&a.parentNode.removeChild(a)};funct" "ion O(a,b,c,d){M.call(this,a,b,c,n,d)}r(O,M);O.prototype.next=function(){" "do O.i.next.call(this);while(this.c==-1);return this.b};function ia(a,b){" "var c=H(a);if(c.defaultView&&c.defaultView.getComputedStyle&&(c=c.default" "View.getComputedStyle(a,n)))return c[b]||c.getPropertyValue(b);return\"\"" "}function P(a,b){return ia(a,b)||(a.currentStyle?a.currentStyle[b]:n)||a." "style[b]}\nfunction ja(a){for(var b=H(a),c=P(a,\"position\"),d=c==\"fixed" "\"||c==\"absolute\",a=a.parentNode;a&&a!=b;a=a.parentNode)if(c=P(a,\"posi" "tion\"),d=d&&c==\"static\"&&a!=b.documentElement&&a!=b.body,!d&&(a.scroll" "Width>a.clientWidth||a.scrollHeight>a.clientHeight||c==\"fixed\"||c==\"ab" "solute\"||c==\"relative\"))return a;return n};function Q(a,b){return!!a&&" "a.nodeType==1&&(!b||a.tagName.toUpperCase()==b)}\nvar ka={\"class\":\"cla" "ssName\",readonly:\"readOnly\"},la=[\"checked\",\"disabled\",\"draggable" "\",\"hidden\"],ma=[\"async\",\"autofocus\",\"autoplay\",\"checked\",\"com" "pact\",\"complete\",\"controls\",\"declare\",\"defaultchecked\",\"default" "selected\",\"defer\",\"disabled\",\"draggable\",\"ended\",\"formnovalidat" "e\",\"hidden\",\"indeterminate\",\"iscontenteditable\",\"ismap\",\"itemsc" "ope\",\"loop\",\"multiple\",\"muted\",\"nohref\",\"noresize\",\"noshade\"" ",\"novalidate\",\"nowrap\",\"open\",\"paused\",\"pubdate\",\"readonly\"," "\"required\",\"reversed\",\"scoped\",\"seamless\",\"seeking\",\n\"selecte" "d\",\"spellcheck\",\"truespeed\",\"willvalidate\"];function na(a,b){if(8=" "=a.nodeType)return n;b=b.toLowerCase();if(b==\"style\"){var c=a.style.css" "Text.replace(/^[\\s\\xa0]+|[\\s\\xa0]+$/g,\"\").toLowerCase();return c.ch" "arAt(c.length-1)==\";\"?c:c+\";\"}c=a.getAttributeNode(b);if(!c)return n;" "if(D(ma,b)>=0)return\"true\";return c.specified?c.value:n}var oa=[\"BUTTO" "N\",\"INPUT\",\"OPTGROUP\",\"OPTION\",\"SELECT\",\"TEXTAREA\"];\nfunction" " pa(a){var b=a.tagName.toUpperCase();if(!(D(oa,b)>=0))return!0;if(na(a,\"" "disabled\"))return!1;if(a.parentNode&&a.parentNode.nodeType==1&&\"OPTGROU" "P\"==b||\"OPTION\"==b)return pa(a.parentNode);return!0}function R(a){for(" "a=a.parentNode;a&&a.nodeType!=1&&a.nodeType!=9&&a.nodeType!=11;)a=a.paren" "tNode;return Q(a)?a:n}function S(a,b){b=ba(String(b));return ia(a,b)||qa(" "a,b)}function qa(a,b){var c=(a.currentStyle||a.style)[b];if(c!=\"inherit" "\")return c!==m?c:n;return(c=R(a))?qa(c,b):n}\nfunction ra(a){if(q(a.getB" "Box)==\"function\")return a.getBBox();var b;if(P(a,\"display\")!=\"none\"" ")b=new G(a.offsetWidth,a.offsetHeight);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=a.offsetWidth,a=a.offsetHeight;b.display=c;b.p" "osition=e;b.visibility=d;b=new G(f,a)}return b}\nfunction T(a,b){function" " c(a){if(S(a,\"display\")==\"none\")return!1;a=R(a);return!a||c(a)}functi" "on d(a){var b=ra(a);if(b.height>0&&b.width>0)return!0;if(a.innerText||a.t" "extContent)if(sa.test(a.innerText||a.textContent))return!0;return t&&da(a" ".childNodes,function(a){return Q(a)&&d(a)})}Q(a)||j(Error(\"Argument to i" "sShown must be of type Element\"));if(Q(a,\"TITLE\"))return(H(a)?H(a).par" "entWindow||H(a).defaultView:window)==ca;if(Q(a,\"OPTION\")||Q(a,\"OPTGROU" "P\")){var e=J(a,function(a){return Q(a,\"SELECT\")});\nreturn!!e&&T(e,b)}" "if(Q(a,\"MAP\")){if(!a.name)return!1;e=H(a);e=e.evaluate?ga('/descendant:" ":*[@usemap = \"#'+a.name+'\"]',e):ea(e,function(b){return Q(b)&&na(b,\"us" "emap\")==\"#\"+a.name});return!!e&&T(e,b)}if(Q(a,\"AREA\"))return e=J(a,f" "unction(a){return Q(a,\"MAP\")}),!!e&&T(e,b);if(Q(a,\"INPUT\")&&a.type.to" "LowerCase()==\"hidden\")return!1;if(S(a,\"visibility\")==\"hidden\")retur" "n!1;if(!c(a))return!1;if(!b&&ta(a)==0)return!1;if(!d(a))return!1;return!0" "}var sa=RegExp(\"^\"+(\"[\\\\s\\\\xa0\"+String.fromCharCode(160)+\"]+\")+" "\"$\");\nfunction ta(a){var b=1,c=S(a,\"opacity\");c&&(b=Number(c));(a=R(" "a))&&(b*=ta(a));return b};var ua=[\"dragstart\",\"dragexit\",\"mouseover" "\",\"mouseout\"];\nfunction U(a,b,c){var d=H(a),e=d?d.parentWindow||d.def" "aultView:window,f=new F;if(a.nodeType==1)if(a.getBoundingClientRect){var " "k=a.getBoundingClientRect();f.x=k.left;f.y=k.top}else{k=fa(a?new K(H(a)):" "E||(E=new K));var i,g=H(a);i=P(a,\"position\");var h=new F(0,0),v=(g?g.no" "deType==9?g:H(g):document).documentElement;if(a!=v)if(a.getBoundingClient" "Rect)i=a.getBoundingClientRect(),g=fa(g?new K(H(g)):E||(E=new K)),h.x=i.l" "eft+g.x,h.y=i.top+g.y;else if(g.getBoxObjectFor)i=g.getBoxObjectFor(a),g=" "g.getBoxObjectFor(v),\nh.x=i.screenX-g.screenX,h.y=i.screenY-g.screenY;el" "se{var l=a;do{h.x+=l.offsetLeft;h.y+=l.offsetTop;l!=a&&(h.x+=l.clientLeft" "||0,h.y+=l.clientTop||0);if(t&&P(l,\"position\")==\"fixed\"){h.x+=g.body." "scrollLeft;h.y+=g.body.scrollTop;break}l=l.offsetParent}while(l&&l!=a);t&" "&i==\"absolute\"&&(h.y-=g.body.offsetTop);for(l=a;(l=ja(l))&&l!=g.body&&l" "!=v;)h.x-=l.scrollLeft,h.y-=l.scrollTop}f.x=h.x-k.x;f.y=h.y-k.y}else k=q(" "a.e)==\"function\",h=a,a.targetTouches?h=a.targetTouches[0]:k&&a.e().targ" "etTouches&&(h=a.e().targetTouches[0]),\nf.x=h.clientX,f.y=h.clientY;var p" "=c||{},c=(p.x||0)+f.x,f=(p.y||0)+f.y,k=p.button||0,h=p.bubble||!0;i=n;D(u" "a,b)>=0&&(i=p.related||n);g=!!p.alt;v=!!p.control;l=!!p.shift;p=!!p.meta;" "a.fireEvent&&d&&d.createEventObject?(a=d.createEventObject(),a.altKey=g,a" ".j=v,a.metaKey=p,a.shiftKey=l,a.clientX=c,a.clientY=f,a.button=k,a.relate" "dTarget=i):(a=d.createEvent(\"MouseEvents\"),a.initMouseEvent?a.initMouse" "Event(b,h,!0,e,1,0,0,c,f,v,g,l,p,k,i):(a.initEvent(b,h,!0),a.shiftKey=l,a" ".metaKey=p,a.altKey=g,a.ctrlKey=\nv,a.button=k));return a}function V(a,b," "c){var d=c||{},c=d.keyCode||0,e=d.charCode||0,f=!!d.alt,k=!!d.ctrl,i=!!d." "shift,d=!!d.meta,a=H(a).createEvent(\"Events\");a.initEvent(b,!0,!0);a.ch" "arCode=e;a.keyCode=c;a.altKey=f;a.ctrlKey=k;a.metaKey=d;a.shiftKey=i;retu" "rn a}\nfunction va(a,b,c){var d=H(a),e=c||{},c=e.bubble!==!1,f=!!e.alt,k=" "!!e.control,i=!!e.shift,e=!!e.meta;a.fireEvent&&d&&d.createEventObject?(a" "=d.createEventObject(),a.altKey=f,a.k=k,a.metaKey=e,a.shiftKey=i):(a=d.cr" "eateEvent(\"HTMLEvents\"),a.initEvent(b,c,!0),a.shiftKey=i,a.metaKey=e,a." "altKey=f,a.ctrlKey=k);return a}var W={};W.click=U;W.keydown=V;W.keypress=" "V;W.keyup=V;W.mousedown=U;W.mousemove=U;W.mouseout=U;W.mouseover=U;W.mous" "eup=U;\nfunction wa(a){var b=(W.change||va)(a,\"change\",m);if(!(\"isTrus" "ted\"in b))b.l=!1;a.dispatchEvent(b)};function X(a){var b;Q(a,\"OPTION\")" "?b=!0:Q(a,\"INPUT\")?(b=a.type.toLowerCase(),b=b==\"checkbox\"||b==\"radi" "o\"):b=!1;b||j(new x(15,\"Element is not selectable\"));b=\"selected\";va" "r c=a.type&&a.type.toLowerCase();if(\"checkbox\"==c||\"radio\"==c)b=\"che" "cked\";b=ka[b]||b;a=a[b];a=a===m&&D(la,b)>=0?!1:a;return!!a}function xa(a" "){return Q(a,\"SELECT\")};function ya(a){Q(a,\"INPUT\")&&\"radio\"==a.typ" "e&&j(new x(12,\"You may not toggle a radio button\"));var b=!X(a);T(a,!0)" "||j(new x(11,\"Element is not currently visible and may not be manipulate" "d\"));pa(a)||j(new x(12,\"Element is not currently enabled and may not be" " manipulated\"));if(Q(a,\"INPUT\")){var c=a.type.toLowerCase();if(c==\"ch" "eckbox\"||c==\"radio\"){if(a.checked!=b&&(a.type==\"radio\"&&!b&&j(new x(" "12,\"You may not deselect a radio button\")),b!=X(a)))a.checked=b,wa(a)}e" "lse j(new x(15,\"You may not select an unselectable input element: \"+\na" ".type))}else if(Q(a,\"OPTION\")){if(c=J(a,xa),!c.multiple&&!b&&j(new x(15" ",\"You may not deselect an option within a select that does not support m" "ultiple selections.\")),b!=X(a))a.selected=b,wa(c)}else j(new x(15,\"You " "may not select an unselectable element: \"+a.tagName));return X(a)}var Y=" "\"_\".split(\".\"),Z=o;!(Y[0]in Z)&&Z.execScript&&Z.execScript(\"var \"+Y" "[0]);for(var $;Y.length&&($=Y.shift());)!Y.length&&ya!==m?Z[$]=ya:Z=Z[$]?" "Z[$]:Z[$]={};; return this._.apply(null,arguments);}.apply({navigator:typ" "eof window!='undefined'?window.navigator:null}, arguments);}"; } // namespace atoms } // namespace webdriver #endif // WEBDRIVER_ATOMS_H_