From 3aa7b8a7ca902cf5bdcac5b1069d9f11a5e4fd4a Mon Sep 17 00:00:00 2001 From: "kkania@chromium.org" Date: Fri, 25 Feb 2011 01:55:41 +0000 Subject: Fix finding the location in view of elements. This fixes mouse commands on scrollable pages as well. BUG=none TEST=none Review URL: http://codereview.chromium.org/6574015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76010 0039d316-1c4b-4281-b951-d872f2087c98 --- third_party/webdriver/atoms.h | 3863 +++++++++++++++++++++-------------------- 1 file changed, 1984 insertions(+), 1879 deletions(-) (limited to 'third_party/webdriver/atoms.h') diff --git a/third_party/webdriver/atoms.h b/third_party/webdriver/atoms.h index 44d942e..e672f0c 100644 --- a/third_party/webdriver/atoms.h +++ b/third_party/webdriver/atoms.h @@ -1,1879 +1,1984 @@ -// 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 CLEAR = - "function(){var l=this;\nfunction m(a){var b=typeof a;if(b==\"object\")if(" - "a){if(a instanceof Array)return\"array\";else if(a instanceof Object)retu" - "rn b;var c=Object.prototype.toString.call(a);if(c==\"[object Window]\")re" - "turn\"object\";if(c==\"[object Array]\"||typeof a.length==\"number\"&&typ" - "eof a.splice!=\"undefined\"&&typeof a.propertyIsEnumerable!=\"undefined\"" - "&&!a.propertyIsEnumerable(\"splice\"))return\"array\";if(c==\"[object Fun" - "ction]\"||typeof a.call!=\"undefined\"&&typeof a.propertyIsEnumerable!=\"" - "undefined\"&&!a.propertyIsEnumerable(\"call\"))return\"function\"}else re" - "turn\"null\";else if(b==\n\"function\"&&typeof a.call==\"undefined\")retu" - "rn\"object\";return b}function n(a){return m(a)==\"function\"}function o(" - "a){a=m(a);return a==\"object\"||a==\"array\"||a==\"function\"}Math.floor(" - "Math.random()*2147483648).toString(36);function q(a,b){function c(){}c.pr" - "ototype=b.prototype;a.i=b.prototype;a.prototype=new c};function r(a){this" - ".stack=Error().stack||\"\";if(a)this.message=String(a)}q(r,Error);r.proto" - "type.name=\"CustomError\";function t(a,b){r.call(this,b);this.code=a;this" - ".name=u[a]||u[13]}q(t,r);var u,aa={NoSuchElementError:7,NoSuchFrameError:" - "8,UnknownCommandError:9,StaleElementReferenceError:10,ElementNotVisibleEr" - "ror:11,InvalidElementStateError:12,UnknownError:13,ElementNotSelectableEr" - "ror:15,XPathLookupError:19,NoSuchWindowError:23,InvalidCookieDomainError:" - "24,UnableToSetCookieError:25,ModalDialogOpenedError:26,ModalDialogOpenErr" - "or:27,ScriptTimeoutError:28},ba={};for(var ca in aa)ba[aa[ca]]=ca;u=ba;\n" - "t.prototype.toString=function(){return\"[\"+this.name+\"] \"+this.message" - "};function da(a){for(var b=1;bb)return 1;return 0}var ea={};function fa(a){ret" - "urn ea[a]||(ea[a]=String(a).replace(/\\-([a-z])/g,function(b,c){return c." - "toUpperCase()}))};function x(a,b){b.unshift(a);r.call(this,da.apply(null," - "b));b.shift();this.l=a}q(x,r);x.prototype.name=\"AssertionError\";functio" - "n ga(a,b){if(!a){var c=Array.prototype.slice.call(arguments,2),d=\"Assert" - "ion failed\";if(b){d+=\": \"+b;var f=c}throw new x(\"\"+d,f||[]);}return " - "a};var y=Array.prototype,z=y.indexOf?function(a,b,c){ga(a.length!=null);r" - "eturn y.indexOf.call(a,b,c)}:function(a,b,c){c=c==null?0:c<0?Math.max(0,a" - ".length+c):c;if(typeof a==\"string\"){if(typeof b!=\"string\"||b.length!=" - "1)return-1;return a.indexOf(b,c)}for(c=c;cparseFloat(J)){ka=String(na);break a}}ka=J}var pa={};\nfunctio" - "n L(a){var b;if(!(b=pa[a])){b=0;var c=v(String(ka)).split(\".\"),d=v(Stri" - "ng(a)).split(\".\"),f=Math.max(c.length,d.length);for(var e=0;b==0&&e=0}re" - "turn b};var qa;!G||L(\"9\");G&&L(\"9\");function M(a,b){this.x=a!==undefi" - "ned?a:0;this.y=b!==undefined?b:0}M.prototype.toString=function(){return\"" - "(\"+this.x+\", \"+this.y+\")\"};function N(a,b){this.width=a;this.height=" - "b}N.prototype.toString=function(){return\"(\"+this.width+\" x \"+this.hei" - "ght+\")\"};N.prototype.floor=function(){this.width=Math.floor(this.width)" - ";this.height=Math.floor(this.height);return this};function ra(a){return a" - "?new sa(O(a)):qa||(qa=new sa)}function P(a){return a?a.parentWindow||a.de" - "faultView:window}function O(a){return a.nodeType==9?a:a.ownerDocument||a." - "document}function ta(a,b){var c=[];return ua(a,b,c,true)?c[0]:undefined}f" - "unction ua(a,b,c,d){if(a!=null){var f=0;for(var e;e=a.childNodes[f];f++){" - "if(b(e)){c.push(e);if(d)return true}if(ua(e,b,c,d))return true}}return fa" - "lse}\nfunction va(a,b,c,d){if(!c)a=a.parentNode;c=d==null;for(var f=0;a&&" - "(c||f<=d);){if(b(a))return a;a=a.parentNode;f++}return null}function sa(a" - "){this.e=a||l.document||document}function wa(a){a=!I&&a.e.compatMode==\"C" - "SS1Compat\"?a.e.documentElement:a.e.body;return new M(a.scrollLeft,a.scro" - "llTop)};function xa(a,b){try{var c;if(typeof b.selectSingleNode!=\"undefi" - "ned\"){var d=O(b);typeof d.setProperty!=\"undefined\"&&d.setProperty(\"Se" - "lectionLanguage\",\"XPath\");c=b.selectSingleNode(a)}else if(document.imp" - "lementation.hasFeature(\"XPath\",\"3.0\")){d=O(b);var f=d.createNSResolve" - "r(d.documentElement);c=d.evaluate(a,b,f,XPathResult.FIRST_ORDERED_NODE_TY" - "PE,null).singleNodeValue}else c=null}catch(e){return null}if(!c)return nu" - "ll;if(c.nodeType!=1)throw Error(\"Returned node is not an element: \"+a);" - "return c};var ya=\"StopIteration\"in l?l.StopIteration:Error(\"StopIterat" - "ion\");function za(){}za.prototype.next=function(){throw ya;};function Q(" - "a,b,c,d,f){this.a=!!b;a&&R(this,a,d);this.d=f!=undefined?f:this.c||0;if(t" - "his.a)this.d*=-1;this.h=!c}q(Q,za);Q.prototype.b=null;Q.prototype.c=0;Q.p" - "rototype.g=false;function R(a,b,c,d){if(a.b=b)a.c=typeof c==\"number\"?c:" - "a.b.nodeType!=1?0:a.a?-1:1;if(typeof d==\"number\")a.d=d}\nQ.prototype.ne" - "xt=function(){var a;if(this.g){if(!this.b||this.h&&this.d==0)throw ya;a=t" - "his.b;var b=this.a?-1:1;if(this.c==b){var c=this.a?a.lastChild:a.firstChi" - "ld;c?R(this,c):R(this,a,b*-1)}else(c=this.a?a.previousSibling:a.nextSibli" - "ng)?R(this,c):R(this,a.parentNode,b*-1);this.d+=this.c*(this.a?-1:1)}else" - " this.g=true;a=this.b;if(!this.b)throw ya;return a};\nQ.prototype.splice=" - "function(){var a=this.b,b=this.a?1:-1;if(this.c==b){this.c=b*-1;this.d+=t" - "his.c*(this.a?-1:1)}this.a=!this.a;Q.prototype.next.call(this);this.a=!th" - "is.a;b=arguments[0];var c=m(b);b=c==\"array\"||c==\"object\"&&typeof b.le" - "ngth==\"number\"?arguments[0]:arguments;for(c=b.length-1;c>=0;c--)a.paren" - "tNode&&a.parentNode.insertBefore(b[c],a.nextSibling);a&&a.parentNode&&a.p" - "arentNode.removeChild(a)};function Aa(a,b,c,d){Q.call(this,a,b,c,null,d)}" - "q(Aa,Q);Aa.prototype.next=function(){do Aa.i.next.call(this);while(this.c" - "==-1);return this.b};function Ba(a,b){var c=O(a);if(c.defaultView&&c.defa" - "ultView.getComputedStyle)if(c=c.defaultView.getComputedStyle(a,null))retu" - "rn c[b]||c.getPropertyValue(b);return\"\"}function S(a,b){return Ba(a,b)|" - "|(a.currentStyle?a.currentStyle[b]:null)||a.style[b]}function Ca(a){var b" - "=a.getBoundingClientRect();if(G){a=a.ownerDocument;b.left-=a.documentElem" - "ent.clientLeft+a.body.clientLeft;b.top-=a.documentElement.clientTop+a.bod" - "y.clientTop}return b}\nfunction Da(a){if(G)return a.offsetParent;var b=O(" - "a),c=S(a,\"position\"),d=c==\"fixed\"||c==\"absolute\";for(a=a.parentNode" - ";a&&a!=b;a=a.parentNode){c=S(a,\"position\");d=d&&c==\"static\"&&a!=b.doc" - "umentElement&&a!=b.body;if(!d&&(a.scrollWidth>a.clientWidth||a.scrollHeig" - "ht>a.clientHeight||c==\"fixed\"||c==\"absolute\"))return a}return null};f" - "unction T(a,b){return!!a&&a.nodeType==1&&(!b||a.tagName.toUpperCase()==b)" - "}\nvar Ea={\"class\":\"className\",readonly:\"readOnly\"},Fa=[\"async\"," - "\"autofocus\",\"autoplay\",\"checked\",\"compact\",\"complete\",\"control" - "s\",\"declare\",\"defaultchecked\",\"defaultselected\",\"defer\",\"disabl" - "ed\",\"draggable\",\"ended\",\"formnovalidate\",\"hidden\",\"indeterminat" - "e\",\"iscontenteditable\",\"ismap\",\"itemscope\",\"loop\",\"multiple\"," - "\"muted\",\"nohref\",\"noresize\",\"noshade\",\"novalidate\",\"nowrap\"," - "\"open\",\"paused\",\"pubdate\",\"readonly\",\"required\",\"reversed\",\"" - "scoped\",\"seamless\",\"seeking\",\"selected\",\"spellcheck\",\"truespeed" - "\",\"willvalidate\"];\nfunction Ga(a,b){if(8==a.nodeType)return null;b=b." - "toLowerCase();if(b==\"style\"){var c=v(a.style.cssText).toLowerCase();ret" - "urn c.charAt(c.length-1)==\";\"?c:c+\";\"}c=a.getAttributeNode(b);if(G)if" - "(!c&&L(8)&&z(Fa,b)>=0)c=a[b];if(!c)return null;if(z(Fa,b)>=0)return G&&c." - "value==\"false\"?null:\"true\";return c.specified?c.value:null}var Ha=[\"" - "BUTTON\",\"INPUT\",\"OPTGROUP\",\"OPTION\",\"SELECT\",\"TEXTAREA\"];\nfun" - "ction Ia(a){var b=a.tagName.toUpperCase();if(!(z(Ha,b)>=0))return true;if" - "(Ga(a,\"disabled\"))return false;if(a.parentNode&&a.parentNode.nodeType==" - "1&&\"OPTGROUP\"==b||\"OPTION\"==b)return Ia(a.parentNode);return true}fun" - "ction Ja(a){for(a=a.parentNode;a&&a.nodeType!=1&&a.nodeType!=9&&a.nodeTyp" - "e!=11;)a=a.parentNode;return T(a)?a:null}function U(a,b){b=fa(String(b));" - "return Ba(a,b)||Ka(a,b)}\nfunction Ka(a,b){var c=(a.currentStyle||a.style" - ")[b];if(c!=\"inherit\")return c!==undefined?c:null;return(c=Ja(a))?Ka(c,b" - "):null}\nfunction La(a){if(n(a.getBBox))return a.getBBox();var b;var c=F&" - "&!L(\"10\");if(S(a,\"display\")!=\"none\")b=c?new N(a.offsetWidth||a.clie" - "ntWidth,a.offsetHeight||a.clientHeight):new N(a.offsetWidth,a.offsetHeigh" - "t);else{b=a.style;var d=b.display,f=b.visibility,e=b.position;b.visibilit" - "y=\"hidden\";b.position=\"absolute\";b.display=\"inline\";if(c){c=a.offse" - "tWidth||a.clientWidth;a=a.offsetHeight||a.clientHeight}else{c=a.offsetWid" - "th;a=a.offsetHeight}b.display=d;b.position=e;b.visibility=f;b=new N(c,a)}" - "return b}\nfunction V(a,b){function c(e){if(U(e,\"display\")==\"none\")re" - "turn false;e=Ja(e);return!e||c(e)}function d(e){var j=La(e);if(j.height>0" - "&&j.width>0)return true;if(e.innerText||e.textContent)if(Ma.test(e.innerT" - "ext||e.textContent))return true;return I&&ha(e.childNodes,function(g){ret" - "urn T(g)&&d(g)})}if(!T(a))throw Error(\"Argument to isShown must be of ty" - "pe Element\");if(T(a,\"TITLE\"))return P(O(a))==l;if(T(a,\"OPTION\")||T(a" - ",\"OPTGROUP\")){var f=va(a,function(e){return T(e,\"SELECT\")});return!!f" - "&&V(f)}if(T(a,\"MAP\")){if(!a.name)return false;\nf=O(a);f=f.evaluate?xa(" - "'/descendant::*[@usemap = \"#'+a.name+'\"]',f):ta(f,function(e){return T(" - "e)&&Ga(e,\"usemap\")==\"#\"+a.name});return!!f&&V(f)}if(T(a,\"AREA\")){f=" - "va(a,function(e){return T(e,\"MAP\")});return!!f&&V(f)}if(T(a,\"INPUT\")&" - "&a.type.toLowerCase()==\"hidden\")return false;if(U(a,\"visibility\")==\"" - "hidden\")return false;if(!c(a))return false;if(!b&&Na(a)==0)return false;" - "if(!d(a))return false;return true}var Oa=\"[\\\\s\\\\xa0\"+String.fromCha" - "rCode(160)+\"]+\",Ma=RegExp(\"^\"+Oa+\"$\");\nfunction Na(a){if(G){if(U(a" - ",\"position\")==\"relative\")return 1;a=U(a,\"filter\");return(a=a.match(" - "/^alpha\\(opacity=(\\d*)\\)/)||a.match(/^progid:DXImageTransform.Microsof" - "t.Alpha\\(Opacity=(\\d*)\\)/))?Number(a[1])/100:1}else return Pa(a)}funct" - "ion Pa(a){var b=1,c=U(a,\"opacity\");if(c)b=Number(c);if(a=Ja(a))b*=Pa(a)" - ";return b};var Qa=G?1:0,Ra=[\"dragstart\",\"dragexit\",\"mouseover\",\"mo" - "useout\"];\nfunction W(a,b,c){var d=O(a),f=P(d),e=new M;if(a.nodeType==1)" - "if(a.getBoundingClientRect){var j=Ca(a);e.x=j.left;e.y=j.top}else{j=wa(ra" - "(a));var g,h=O(a),s=S(a,\"position\"),p=H&&h.getBoxObjectFor&&!a.getBound" - "ingClientRect&&s==\"absolute\"&&(g=h.getBoxObjectFor(a))&&(g.screenX<0||g" - ".screenY<0),i=new M(0,0),k;g=h?h.nodeType==9?h:O(h):document;if(k=G)k=ra(" - "g).e.compatMode!=\"CSS1Compat\";k=k?g.body:g.documentElement;if(a!=k)if(a" - ".getBoundingClientRect){g=Ca(a);h=wa(ra(h));i.x=g.left+h.x;i.y=g.top+h.y}" - "else if(h.getBoxObjectFor&&\n!p){g=h.getBoxObjectFor(a);h=h.getBoxObjectF" - "or(k);i.x=g.screenX-h.screenX;i.y=g.screenY-h.screenY}else{g=a;do{i.x+=g." - "offsetLeft;i.y+=g.offsetTop;if(g!=a){i.x+=g.clientLeft||0;i.y+=g.clientTo" - "p||0}if(I&&S(g,\"position\")==\"fixed\"){i.x+=h.body.scrollLeft;i.y+=h.bo" - "dy.scrollTop;break}g=g.offsetParent}while(g&&g!=a);if(F||I&&s==\"absolute" - "\")i.y-=h.body.offsetTop;for(g=a;(g=Da(g))&&g!=h.body&&g!=k;){i.x-=g.scro" - "llLeft;if(!F||g.tagName!=\"TR\")i.y-=g.scrollTop}}e.x=i.x-j.x;e.y=i.y-j.y" - "}else{j=n(a.f);i=a;if(a.targetTouches)i=\na.targetTouches[0];else if(j&&a" - ".f().targetTouches)i=a.f().targetTouches[0];e.x=i.clientX;e.y=i.clientY}k" - "=c||{};c=(k.x||0)+e.x;e=(k.y||0)+e.y;j=k.button||Qa;i=k.bubble||true;h=nu" - "ll;if(z(Ra,b)>=0)h=k.related||null;s=!!k.alt;g=!!k.control;p=!!k.shift;k=" - "!!k.meta;if(a.fireEvent&&d&&d.createEventObject){a=d.createEventObject();" - "a.altKey=s;a.j=g;a.metaKey=k;a.shiftKey=p;a.clientX=c;a.clientY=e;a.butto" - "n=j;a.relatedTarget=h}else{a=d.createEvent(\"MouseEvents\");if(a.initMous" - "eEvent)a.initMouseEvent(b,i,true,f,\n1,0,0,c,e,g,s,p,k,j,h);else{a.initEv" - "ent(b,i,true);a.shiftKey=p;a.metaKey=k;a.altKey=s;a.ctrlKey=g;a.button=j}" - "}return a}function Sa(a,b,c){var d=O(a);a=P(d);var f=c||{};c=f.keyCode||0" - ";var e=f.charCode||0,j=!!f.alt,g=!!f.ctrl,h=!!f.shift;f=!!f.meta;if(H){d=" - "d.createEvent(\"KeyboardEvent\");d.initKeyEvent(b,true,true,a,g,j,h,f,c,e" - ")}else{if(G)d=d.createEventObject();else{d=d.createEvent(\"Events\");d.in" - "itEvent(b,true,true);d.charCode=e}d.keyCode=c;d.altKey=j;d.ctrlKey=g;d.me" - "taKey=f;d.shiftKey=h}return d}\nfunction Ta(a,b,c){var d=O(a),f=c||{};c=f" - ".bubble!==false;var e=!!f.alt,j=!!f.control,g=!!f.shift;f=!!f.meta;if(a.f" - "ireEvent&&d&&d.createEventObject){a=d.createEventObject();a.altKey=e;a.k=" - "j;a.metaKey=f;a.shiftKey=g}else{a=d.createEvent(\"HTMLEvents\");a.initEve" - "nt(b,c,true);a.shiftKey=g;a.metaKey=f;a.altKey=e;a.ctrlKey=j}return a}var" - " X={};X.click=W;X.keydown=Sa;X.keypress=Sa;X.keyup=Sa;X.mousedown=W;X.mou" - "semove=W;X.mouseout=W;X.mouseover=W;X.mouseup=W;function Ua(a){if(!V(a,tr" - "ue))throw new t(11,\"Element is not currently visible and may not be mani" - "pulated\");};function Va(a){var b;if(T(a,\"TEXTAREA\"))b=true;else if(T(a" - ",\"INPUT\")){b=a.type.toLowerCase();b=b==\"text\"||b==\"password\"||b==\"" - "email\"||b==\"search\"}else b=false;if(b){if(a[Ea.readOnly||\"readOnly\"]" - ")throw new t(12,\"Element is readonly and may not be cleared.\");if(a.val" - "ue!=\"\"){Ua(a);if(!Ia(a))throw new t(12,\"Element is not currently enabl" - "ed and may not be manipulated\");b=O(a).activeElement;Ua(a);if(a!=b){if(b" - "){if(n(b.blur)||G&&o(b.blur))b.blur();G&&!L(8)&&P(O(a)).focus()}if(n(a.fo" - "cus)||G&&o(a.focus))a.focus()}a.value=\n\"\";b=(X.change||Ta)(a,\"change" - "\",void 0);if(n(a.fireEvent)||o(a.fireEvent)){try{P(O(a)).event=b}catch(c" - "){}a.fireEvent(\"onchange\",b)}else a.dispatchEvent(b)}}}var Y=\"_\".spli" - "t(\".\"),Z=l;!(Y[0]in Z)&&Z.execScript&&Z.execScript(\"var \"+Y[0]);for(v" - "ar $;Y.length&&($=Y.shift());)if(!Y.length&&Va!==undefined)Z[$]=Va;else Z" - "=Z[$]?Z[$]:Z[$]={};; return _.apply(null,arguments);}"; - -const char* const EXECUTE_SCRIPT = - "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 instanceof Object)retu" - "rn b;var c=Object.prototype.toString.call(a);if(c==\"[object Window]\")re" - "turn\"object\";if(c==\"[object Array]\"||typeof a.length==\"number\"&&typ" - "eof a.splice!=\"undefined\"&&typeof a.propertyIsEnumerable!=\"undefined\"" - "&&!a.propertyIsEnumerable(\"splice\"))return\"array\";if(c==\"[object Fun" - "ction]\"||typeof a.call!=\"undefined\"&&typeof a.propertyIsEnumerable!=\"" - "undefined\"&&!a.propertyIsEnumerable(\"call\"))return\"function\"}else re" - "turn\"null\";else if(b==\n\"function\"&&typeof a.call==\"undefined\")retu" - "rn\"object\";return b}function j(a){var b=i(a);return b==\"array\"||b==\"" - "object\"&&typeof a.length==\"number\"}function k(a){a=i(a);return a==\"ob" - "ject\"||a==\"array\"||a==\"function\"}var l=Date.now||function(){return+n" - "ew Date};function o(a,b){function c(){}c.prototype=b.prototype;a.c=b.prot" - "otype;a.prototype=new c};function p(a){this.stack=Error().stack||\"\";if(" - "a)this.message=String(a)}o(p,Error);p.prototype.name=\"CustomError\";func" - "tion q(a,b,c){var d={};for(var e in a)if(b.call(c,a[e],e,a))d[e]=a[e];ret" - "urn d}function r(a,b,c){var d={};for(var e in a)d[e]=b.call(c,a[e],e,a);r" - "eturn d}function aa(a,b,c){for(var d in a)if(b.call(c,a[d],d,a))return d}" - ";function s(a,b){p.call(this,b);this.code=a;this.name=t[a]||t[13]}o(s,p);" - "var t,u={NoSuchElementError:7,NoSuchFrameError:8,UnknownCommandError:9,St" - "aleElementReferenceError:10,ElementNotVisibleError:11,InvalidElementState" - "Error:12,UnknownError:13,ElementNotSelectableError:15,XPathLookupError:19" - ",NoSuchWindowError:23,InvalidCookieDomainError:24,UnableToSetCookieError:" - "25,ModalDialogOpenedError:26,ModalDialogOpenError:27,ScriptTimeoutError:2" - "8},v={};for(var w in u)v[u[w]]=w;t=v;\ns.prototype.toString=function(){re" - "turn\"[\"+this.name+\"] \"+this.message};function ba(a){for(var b=1;bb)" - "return 1;return 0};function z(a,b){b.unshift(a);p.call(this,ba.apply(null" - ",b));b.shift();this.b=a}o(z,p);z.prototype.name=\"AssertionError\";functi" - "on ga(a,b){if(!a){var c=Array.prototype.slice.call(arguments,2),d=\"Asser" - "tion failed\";if(b){d+=\": \"+b;var e=c}throw new z(\"\"+d,e||[]);}return" - " a};var A=Array.prototype,B=A.map?function(a,b,c){ga(a.length!=null);retu" - "rn A.map.call(a,b,c)}:function(a,b,c){var d=a.length,e=Array(d),f=typeof " - "a==\"string\"?a.split(\"\"):a;for(var g=0;gparseFlo" - "at(K)){J=String(O);break a}}J=K}var Q={};!I||Q[\"9\"]||(Q[\"9\"]=x(J,\"9" - "\")>=0);I&&(Q[\"9\"]||(Q[\"9\"]=x(J,\"9\")>=0));function ka(){}\nfunction" - " R(a,b,c){switch(typeof b){case \"string\":S(a,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(b==" - "null){c.push(\"null\");break}if(i(b)==\"array\"){var d=b.length;c.push(\"" - "[\");var e=\"\";for(var f=0;fb)return 1;return 0}var ca={};f" - "unction da(a){return ca[a]||(ca[a]=String(a).replace(/\\-([a-z])/g,functi" - "on(b,c){return c.toUpperCase()}))};function q(a,b){b.unshift(a);n.call(th" - "is,ba.apply(null,b));b.shift();this.m=a}m(q,n);q.prototype.name=\"Asserti" - "onError\";function r(a,b){if(!a){var c=Array.prototype.slice.call(argumen" - "ts,2),d=\"Assertion failed\";if(b){d+=\": \"+b;var f=c}throw new q(\"\"+d" - ",f||[]);}return a};var s=Array.prototype,t=s.indexOf?function(a,b,c){r(a." - "length!=null);return s.indexOf.call(a,b,c)}:function(a,b,c){c=c==null?0:c" - "<0?Math.max(0,a.length+c):c;if(j(a)){if(!j(b)||b.length!=1)return-1;retur" - "n a.indexOf(b,c)}for(c=c;c" - "parseFloat(G)){F=String(ma);break a}}F=G}var oa={};\nfunction K(a){var b;" - "if(!(b=oa[a])){b=0;var c=o(String(F)).split(\".\"),d=o(String(a)).split(" - "\".\"),f=Math.max(c.length,d.length);for(var e=0;b==0&&e=0}return b};v" - "ar pa;!D||K(\"9\");D&&K(\"9\");function L(a,b){this.width=a;this.height=b" - "}L.prototype.toString=function(){return\"(\"+this.width+\" x \"+this.heig" - "ht+\")\"};function M(a){return a?new qa(N(a)):pa||(pa=new qa)}function ra" - "(a,b){if(a.contains&&b.nodeType==1)return a==b||a.contains(b);if(typeof a" - ".compareDocumentPosition!=\"undefined\")return a==b||Boolean(a.compareDoc" - "umentPosition(b)&16);for(;b&&a!=b;)b=b.parentNode;return b==a}function N(" - "a){return a.nodeType==9?a:a.ownerDocument||a.document}function sa(a,b){va" - "r c=[];return ta(a,b,c,true)?c[0]:undefined}\nfunction ta(a,b,c,d){if(a!=" - "null){var f=0;for(var e;e=a.childNodes[f];f++){if(b(e)){c.push(e);if(d)re" - "turn true}if(ta(e,b,c,d))return true}}return false}function ua(a,b,c,d){i" - "f(!c)a=a.parentNode;c=d==null;for(var f=0;a&&(c||f<=d);){if(b(a))return a" - ";a=a.parentNode;f++}return null}function qa(a){this.g=a||h.document||docu" - "ment}\nfunction O(a,b,c,d){a=d||a.g;b=b&&b!=\"*\"?b.toUpperCase():\"\";if" - "(a.querySelectorAll&&a.querySelector&&(!E||document.compatMode==\"CSS1Com" - "pat\"||K(\"528\"))&&(b||c))c=a.querySelectorAll(b+(c?\".\"+c:\"\"));else " - "if(c&&a.getElementsByClassName){a=a.getElementsByClassName(c);if(b){d={};" - "var f=0,e=0;for(var g;g=a[e];e++)if(b==g.nodeName)d[f++]=g;d.length=f;c=d" - "}else c=a}else{a=a.getElementsByTagName(b||\"*\");if(c){d={};f=0;for(e=0;" - "g=a[e];e++){b=g.className;if(typeof b.split==\"function\"&&t(b.split(/\\s" - "+/),c)>=0)d[f++]=\ng}d.length=f;c=d}else c=a}return c}qa.prototype.contai" - "ns=ra;var va={};va.b=function(a,b){if(!a)throw Error(\"No class name spec" - "ified\");a=o(a);if(a.split(/\\s+/).length>1)throw Error(\"Compound class " - "names not permitted\");var c=O(M(b),\"*\",a,b);return c.length?c[0]:null}" - ";va.e=function(a,b){if(!a)throw Error(\"No class name specified\");a=o(a)" - ";if(a.split(/\\s+/).length>1)throw Error(\"Compound class names not permi" - "tted\");return O(M(b),\"*\",a,b)};var wa={};wa.b=function(a,b){if(!k(b.qu" - "erySelector)&&D&&K(8)&&!aa(b.querySelector))throw Error(\"CSS selection i" - "s not supported\");if(!a)throw Error(\"No selector specified\");if(a.spli" - "t(/,/).length>1)throw Error(\"Compound selectors not permitted\");a=o(a);" - "var c=b.querySelector(a);return c&&c.nodeType==1?c:null};\nwa.e=function(" - "a,b){if(!k(b.querySelectorAll)&&D&&K(8)&&!aa(b.querySelector))throw Error" - "(\"CSS selection is not supported\");if(!a)throw Error(\"No selector spec" - "ified\");if(a.split(/,/).length>1)throw Error(\"Compound selectors not pe" - "rmitted\");a=o(a);return b.querySelectorAll(a)};function xa(a,b){if(typeo" - "f a.selectNodes!=\"undefined\"){var c=N(a);typeof c.setProperty!=\"undefi" - "ned\"&&c.setProperty(\"SelectionLanguage\",\"XPath\");return a.selectNode" - "s(b)}else if(document.implementation.hasFeature(\"XPath\",\"3.0\")){c=N(a" - ");var d=c.createNSResolver(c.documentElement);c=c.evaluate(b,a,d,XPathRes" - "ult.ORDERED_NODE_SNAPSHOT_TYPE,null);d=[];var f=c.snapshotLength;for(var " - "e=0;e=0;c--)a.parentNode&&a.parentNode.i" - "nsertBefore(b[c],a.nextSibling);a&&a.parentNode&&a.parentNode.removeChild" - "(a)};function Aa(a,b,c,d){Q.call(this,a,b,c,null,d)}m(Aa,Q);Aa.prototype." - "next=function(){do Aa.l.next.call(this);while(this.d==-1);return this.c};" - "function Ba(a,b){var c=N(a);if(c.defaultView&&c.defaultView.getComputedSt" - "yle)if(c=c.defaultView.getComputedStyle(a,null))return c[b]||c.getPropert" - "yValue(b);return\"\"};function S(a,b){return!!a&&a.nodeType==1&&(!b||a.ta" - "gName.toUpperCase()==b)}\nvar Ca=[\"async\",\"autofocus\",\"autoplay\",\"" - "checked\",\"compact\",\"complete\",\"controls\",\"declare\",\"defaultchec" - "ked\",\"defaultselected\",\"defer\",\"disabled\",\"draggable\",\"ended\"," - "\"formnovalidate\",\"hidden\",\"indeterminate\",\"iscontenteditable\",\"i" - "smap\",\"itemscope\",\"loop\",\"multiple\",\"muted\",\"nohref\",\"noresiz" - "e\",\"noshade\",\"novalidate\",\"nowrap\",\"open\",\"paused\",\"pubdate\"" - ",\"readonly\",\"required\",\"reversed\",\"scoped\",\"seamless\",\"seeking" - "\",\"selected\",\"spellcheck\",\"truespeed\",\"willvalidate\"];\nfunction" - " T(a,b){if(8==a.nodeType)return null;b=b.toLowerCase();if(b==\"style\"){v" - "ar c=o(a.style.cssText).toLowerCase();return c.charAt(c.length-1)==\";\"?" - "c:c+\";\"}c=a.getAttributeNode(b);if(D)if(!c&&K(8)&&t(Ca,b)>=0)c=a[b];if(" - "!c)return null;if(t(Ca,b)>=0)return D&&c.value==\"false\"?null:\"true\";r" - "eturn c.specified?c.value:null}function U(a){for(a=a.parentNode;a&&a.node" - "Type!=1&&a.nodeType!=9&&a.nodeType!=11;)a=a.parentNode;return S(a)?a:null" - "}function V(a,b){b=da(String(b));return Ba(a,b)||Da(a,b)}\nfunction Da(a," - "b){var c=(a.currentStyle||a.style)[b];if(c!=\"inherit\")return c!==undefi" - "ned?c:null;return(c=U(a))?Da(c,b):null}\nfunction Ea(a){if(k(a.getBBox))r" - "eturn a.getBBox();var b;var c=ja&&!K(\"10\");if((Ba(a,\"display\")||(a.cu" - "rrentStyle?a.currentStyle.display:null)||a.style.display)!=\"none\")b=c?n" - "ew L(a.offsetWidth||a.clientWidth,a.offsetHeight||a.clientHeight):new L(a" - ".offsetWidth,a.offsetHeight);else{b=a.style;var d=b.display,f=b.visibilit" - "y,e=b.position;b.visibility=\"hidden\";b.position=\"absolute\";b.display=" - "\"inline\";if(c){c=a.offsetWidth||a.clientWidth;a=a.offsetHeight||a.clien" - "tHeight}else{c=a.offsetWidth;a=a.offsetHeight}b.display=\nd;b.position=e;" - "b.visibility=f;b=new L(c,a)}return b}\nfunction W(a,b){function c(e){if(V" - "(e,\"display\")==\"none\")return false;e=U(e);return!e||c(e)}function d(e" - "){var g=Ea(e);if(g.height>0&&g.width>0)return true;if(e.innerText||e.text" - "Content)if(Fa.test(e.innerText||e.textContent))return true;return E&&ga(e" - ".childNodes,function(l){return S(l)&&d(l)})}if(!S(a))throw Error(\"Argume" - "nt to isShown must be of type Element\");if(S(a,\"TITLE\"))return(N(a)?N(" - "a).parentWindow||N(a).defaultView:window)==h;if(S(a,\"OPTION\")||S(a,\"OP" - "TGROUP\")){var f=ua(a,function(e){return S(e,\n\"SELECT\")});return!!f&&W" - "(f)}if(S(a,\"MAP\")){if(!a.name)return false;f=N(a);f=f.evaluate?P.b('/de" - "scendant::*[@usemap = \"#'+a.name+'\"]',f):sa(f,function(e){return S(e)&&" - "T(e,\"usemap\")==\"#\"+a.name});return!!f&&W(f)}if(S(a,\"AREA\")){f=ua(a," - "function(e){return S(e,\"MAP\")});return!!f&&W(f)}if(S(a,\"INPUT\")&&a.ty" - "pe.toLowerCase()==\"hidden\")return false;if(V(a,\"visibility\")==\"hidde" - "n\")return false;if(!c(a))return false;if(!b&&Ga(a)==0)return false;if(!d" - "(a))return false;return true}\nfunction Ha(a){var b=[\"\"];Ia(a,b);b=fa(b" - ",o);return o(b.join(\"\\n\"))}function Ia(a,b){if(S(a,\"BR\"))b.push(\"\"" - ");else{var c=Ja(a);c&&b[b.length-1]&&b.push(\"\");ea(a.childNodes,functio" - "n(d){if(d.nodeType==3){var f=U(d);if(f){W(f);if(f&&W(f)){d=d.nodeValue.re" - "place(Ka,\" \");f=b.pop();var e=f.length-1;if(e>=0&&f.indexOf(\" \",e)==e" - "&&d.lastIndexOf(\" \",0)==0)d=d.substr(1);b.push(f+d)}}}else S(d)&&Ia(d,b" - ")});c&&b[b.length-1]&&b.push(\"\")}}function Ja(a){a=V(a,\"display\");ret" - "urn a==\"block\"||a==\"inline-block\"}\nvar Ma=\"[\\\\s\\\\xa0\"+String.f" - "romCharCode(160)+\"]+\",Ka=RegExp(Ma,\"g\"),Fa=RegExp(\"^\"+Ma+\"$\");fun" - "ction Ga(a){if(D){if(V(a,\"position\")==\"relative\")return 1;a=V(a,\"fil" - "ter\");return(a=a.match(/^alpha\\(opacity=(\\d*)\\)/)||a.match(/^progid:D" - "XImageTransform.Microsoft.Alpha\\(Opacity=(\\d*)\\)/))?Number(a[1])/100:1" - "}else return Na(a)}function Na(a){var b=1,c=V(a,\"opacity\");if(c)b=Numbe" - "r(c);if(a=U(a))b*=Na(a);return b};var Oa={};Oa.b=function(a,b){var c=M(b)" - ",d=j(a)?c.g.getElementById(a):a;if(!d)return null;if(T(d,\"id\")==a&&ra(b" - ",d))return d;c=O(c,\"*\");return v(c,function(f){return T(f,\"id\")==a&&r" - "a(b,f)})};Oa.e=function(a,b){var c=O(M(b),\"*\",null,b);return u(c,functi" - "on(d){return T(d,\"id\")==a})};var X={},Pa={};X.i=function(a,b,c){b=O(M(b" - "),\"A\",null,b);return v(b,function(d){d=Ha(d);return c&&d.indexOf(a)!=-1" - "||d==a})};X.h=function(a,b,c){b=O(M(b),\"A\",null,b);return u(b,function(" - "d){d=Ha(d);return c&&d.indexOf(a)!=-1||d==a})};X.b=function(a,b){return X" - ".i(a,b,false)};X.e=function(a,b){return X.h(a,b,false)};Pa.b=function(a,b" - "){return X.i(a,b,true)};Pa.e=function(a,b){return X.h(a,b,true)};var Qa={" - "};Qa.b=function(a,b){var c=O(M(b),\"*\",null,b);return v(c,function(d){re" - "turn T(d,\"name\")==a})};Qa.e=function(a,b){var c=O(M(b),\"*\",null,b);re" - "turn u(c,function(d){return T(d,\"name\")==a})};var Ra={};Ra.b=function(a" - ",b){return O(M(b),a,null,b)[0]||null};Ra.e=function(a,b){return O(M(b),a," - "null,b)};var Sa={className:va,css:wa,id:Oa,linkText:X,name:Qa,partialLink" - "Text:Pa,tagName:Ra,xpath:P};function Ta(a,b){var c;a:{for(c in a){c=c;bre" - "ak a}c=void 0}if(c){var d=Sa[c];if(d&&k(d.b))return d.b(a[c],b||N(h))}thr" - "ow Error(\"Unsupported locator strategy: \"+c);}var Y=\"_\".split(\".\")," - "Z=h;!(Y[0]in Z)&&Z.execScript&&Z.execScript(\"var \"+Y[0]);for(var $;Y.le" - "ngth&&($=Y.shift());)if(!Y.length&&Ta!==undefined)Z[$]=Ta;else Z=Z[$]?Z[$" - "]:Z[$]={};; return _.apply(null,arguments);}"; - -const char* const FIND_ELEMENTS = - "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 instanceof Object)retu" - "rn b;var c=Object.prototype.toString.call(a);if(c==\"[object Window]\")re" - "turn\"object\";if(c==\"[object Array]\"||typeof a.length==\"number\"&&typ" - "eof a.splice!=\"undefined\"&&typeof a.propertyIsEnumerable!=\"undefined\"" - "&&!a.propertyIsEnumerable(\"splice\"))return\"array\";if(c==\"[object Fun" - "ction]\"||typeof a.call!=\"undefined\"&&typeof a.propertyIsEnumerable!=\"" - "undefined\"&&!a.propertyIsEnumerable(\"call\"))return\"function\"}else re" - "turn\"null\";else if(b==\n\"function\"&&typeof a.call==\"undefined\")retu" - "rn\"object\";return b}function j(a){return typeof a==\"string\"}function " - "k(a){return i(a)==\"function\"}function aa(a){a=i(a);return a==\"object\"" - "||a==\"array\"||a==\"function\"}function m(a,b){function c(){}c.prototype" - "=b.prototype;a.l=b.prototype;a.prototype=new c};function n(a){this.stack=" - "Error().stack||\"\";if(a)this.message=String(a)}m(n,Error);n.prototype.na" - "me=\"CustomError\";function ba(a){for(var b=1;bb)return 1;return 0}var ca={};f" - "unction da(a){return ca[a]||(ca[a]=String(a).replace(/\\-([a-z])/g,functi" - "on(b,c){return c.toUpperCase()}))};function q(a,b){b.unshift(a);n.call(th" - "is,ba.apply(null,b));b.shift();this.m=a}m(q,n);q.prototype.name=\"Asserti" - "onError\";function r(a,b){if(!a){var c=Array.prototype.slice.call(argumen" - "ts,2),d=\"Assertion failed\";if(b){d+=\": \"+b;var f=c}throw new q(\"\"+d" - ",f||[]);}return a};var s=Array.prototype,t=s.indexOf?function(a,b,c){r(a." - "length!=null);return s.indexOf.call(a,b,c)}:function(a,b,c){c=c==null?0:c" - "<0?Math.max(0,a.length+c):c;if(j(a)){if(!j(b)||b.length!=1)return-1;retur" - "n a.indexOf(b,c)}for(c=c;c" - "parseFloat(G)){F=String(ma);break a}}F=G}var oa={};\nfunction K(a){var b;" - "if(!(b=oa[a])){b=0;var c=o(String(F)).split(\".\"),d=o(String(a)).split(" - "\".\"),f=Math.max(c.length,d.length);for(var e=0;b==0&&e=0}return b};v" - "ar pa;!D||K(\"9\");D&&K(\"9\");function L(a,b){this.width=a;this.height=b" - "}L.prototype.toString=function(){return\"(\"+this.width+\" x \"+this.heig" - "ht+\")\"};function M(a){return a?new qa(N(a)):pa||(pa=new qa)}function ra" - "(a,b){if(a.contains&&b.nodeType==1)return a==b||a.contains(b);if(typeof a" - ".compareDocumentPosition!=\"undefined\")return a==b||Boolean(a.compareDoc" - "umentPosition(b)&16);for(;b&&a!=b;)b=b.parentNode;return b==a}function N(" - "a){return a.nodeType==9?a:a.ownerDocument||a.document}function sa(a,b){va" - "r c=[];return ta(a,b,c,true)?c[0]:undefined}\nfunction ta(a,b,c,d){if(a!=" - "null){var f=0;for(var e;e=a.childNodes[f];f++){if(b(e)){c.push(e);if(d)re" - "turn true}if(ta(e,b,c,d))return true}}return false}function ua(a,b,c,d){i" - "f(!c)a=a.parentNode;c=d==null;for(var f=0;a&&(c||f<=d);){if(b(a))return a" - ";a=a.parentNode;f++}return null}function qa(a){this.g=a||h.document||docu" - "ment}\nfunction O(a,b,c,d){a=d||a.g;b=b&&b!=\"*\"?b.toUpperCase():\"\";if" - "(a.querySelectorAll&&a.querySelector&&(!E||document.compatMode==\"CSS1Com" - "pat\"||K(\"528\"))&&(b||c))c=a.querySelectorAll(b+(c?\".\"+c:\"\"));else " - "if(c&&a.getElementsByClassName){a=a.getElementsByClassName(c);if(b){d={};" - "var f=0,e=0;for(var g;g=a[e];e++)if(b==g.nodeName)d[f++]=g;d.length=f;c=d" - "}else c=a}else{a=a.getElementsByTagName(b||\"*\");if(c){d={};f=0;for(e=0;" - "g=a[e];e++){b=g.className;if(typeof b.split==\"function\"&&t(b.split(/\\s" - "+/),c)>=0)d[f++]=\ng}d.length=f;c=d}else c=a}return c}qa.prototype.contai" - "ns=ra;var va={};va.d=function(a,b){if(!a)throw Error(\"No class name spec" - "ified\");a=o(a);if(a.split(/\\s+/).length>1)throw Error(\"Compound class " - "names not permitted\");var c=O(M(b),\"*\",a,b);return c.length?c[0]:null}" - ";va.b=function(a,b){if(!a)throw Error(\"No class name specified\");a=o(a)" - ";if(a.split(/\\s+/).length>1)throw Error(\"Compound class names not permi" - "tted\");return O(M(b),\"*\",a,b)};var wa={};wa.d=function(a,b){if(!k(b.qu" - "erySelector)&&D&&K(8)&&!aa(b.querySelector))throw Error(\"CSS selection i" - "s not supported\");if(!a)throw Error(\"No selector specified\");if(a.spli" - "t(/,/).length>1)throw Error(\"Compound selectors not permitted\");a=o(a);" - "var c=b.querySelector(a);return c&&c.nodeType==1?c:null};\nwa.b=function(" - "a,b){if(!k(b.querySelectorAll)&&D&&K(8)&&!aa(b.querySelector))throw Error" - "(\"CSS selection is not supported\");if(!a)throw Error(\"No selector spec" - "ified\");if(a.split(/,/).length>1)throw Error(\"Compound selectors not pe" - "rmitted\");a=o(a);return b.querySelectorAll(a)};function xa(a,b){if(typeo" - "f a.selectNodes!=\"undefined\"){var c=N(a);typeof c.setProperty!=\"undefi" - "ned\"&&c.setProperty(\"SelectionLanguage\",\"XPath\");return a.selectNode" - "s(b)}else if(document.implementation.hasFeature(\"XPath\",\"3.0\")){c=N(a" - ");var d=c.createNSResolver(c.documentElement);c=c.evaluate(b,a,d,XPathRes" - "ult.ORDERED_NODE_SNAPSHOT_TYPE,null);d=[];var f=c.snapshotLength;for(var " - "e=0;e=0;c--)a.parentNode&&a.parentNode.i" - "nsertBefore(b[c],a.nextSibling);a&&a.parentNode&&a.parentNode.removeChild" - "(a)};function Aa(a,b,c,d){Q.call(this,a,b,c,null,d)}m(Aa,Q);Aa.prototype." - "next=function(){do Aa.l.next.call(this);while(this.e==-1);return this.c};" - "function Ba(a,b){var c=N(a);if(c.defaultView&&c.defaultView.getComputedSt" - "yle)if(c=c.defaultView.getComputedStyle(a,null))return c[b]||c.getPropert" - "yValue(b);return\"\"};function S(a,b){return!!a&&a.nodeType==1&&(!b||a.ta" - "gName.toUpperCase()==b)}\nvar Ca=[\"async\",\"autofocus\",\"autoplay\",\"" - "checked\",\"compact\",\"complete\",\"controls\",\"declare\",\"defaultchec" - "ked\",\"defaultselected\",\"defer\",\"disabled\",\"draggable\",\"ended\"," - "\"formnovalidate\",\"hidden\",\"indeterminate\",\"iscontenteditable\",\"i" - "smap\",\"itemscope\",\"loop\",\"multiple\",\"muted\",\"nohref\",\"noresiz" - "e\",\"noshade\",\"novalidate\",\"nowrap\",\"open\",\"paused\",\"pubdate\"" - ",\"readonly\",\"required\",\"reversed\",\"scoped\",\"seamless\",\"seeking" - "\",\"selected\",\"spellcheck\",\"truespeed\",\"willvalidate\"];\nfunction" - " T(a,b){if(8==a.nodeType)return null;b=b.toLowerCase();if(b==\"style\"){v" - "ar c=o(a.style.cssText).toLowerCase();return c.charAt(c.length-1)==\";\"?" - "c:c+\";\"}c=a.getAttributeNode(b);if(D)if(!c&&K(8)&&t(Ca,b)>=0)c=a[b];if(" - "!c)return null;if(t(Ca,b)>=0)return D&&c.value==\"false\"?null:\"true\";r" - "eturn c.specified?c.value:null}function U(a){for(a=a.parentNode;a&&a.node" - "Type!=1&&a.nodeType!=9&&a.nodeType!=11;)a=a.parentNode;return S(a)?a:null" - "}function V(a,b){b=da(String(b));return Ba(a,b)||Da(a,b)}\nfunction Da(a," - "b){var c=(a.currentStyle||a.style)[b];if(c!=\"inherit\")return c!==undefi" - "ned?c:null;return(c=U(a))?Da(c,b):null}\nfunction Ea(a){if(k(a.getBBox))r" - "eturn a.getBBox();var b;var c=ja&&!K(\"10\");if((Ba(a,\"display\")||(a.cu" - "rrentStyle?a.currentStyle.display:null)||a.style.display)!=\"none\")b=c?n" - "ew L(a.offsetWidth||a.clientWidth,a.offsetHeight||a.clientHeight):new L(a" - ".offsetWidth,a.offsetHeight);else{b=a.style;var d=b.display,f=b.visibilit" - "y,e=b.position;b.visibility=\"hidden\";b.position=\"absolute\";b.display=" - "\"inline\";if(c){c=a.offsetWidth||a.clientWidth;a=a.offsetHeight||a.clien" - "tHeight}else{c=a.offsetWidth;a=a.offsetHeight}b.display=\nd;b.position=e;" - "b.visibility=f;b=new L(c,a)}return b}\nfunction W(a,b){function c(e){if(V" - "(e,\"display\")==\"none\")return false;e=U(e);return!e||c(e)}function d(e" - "){var g=Ea(e);if(g.height>0&&g.width>0)return true;if(e.innerText||e.text" - "Content)if(Fa.test(e.innerText||e.textContent))return true;return E&&ga(e" - ".childNodes,function(l){return S(l)&&d(l)})}if(!S(a))throw Error(\"Argume" - "nt to isShown must be of type Element\");if(S(a,\"TITLE\"))return(N(a)?N(" - "a).parentWindow||N(a).defaultView:window)==h;if(S(a,\"OPTION\")||S(a,\"OP" - "TGROUP\")){var f=ua(a,function(e){return S(e,\n\"SELECT\")});return!!f&&W" - "(f)}if(S(a,\"MAP\")){if(!a.name)return false;f=N(a);f=f.evaluate?P.d('/de" - "scendant::*[@usemap = \"#'+a.name+'\"]',f):sa(f,function(e){return S(e)&&" - "T(e,\"usemap\")==\"#\"+a.name});return!!f&&W(f)}if(S(a,\"AREA\")){f=ua(a," - "function(e){return S(e,\"MAP\")});return!!f&&W(f)}if(S(a,\"INPUT\")&&a.ty" - "pe.toLowerCase()==\"hidden\")return false;if(V(a,\"visibility\")==\"hidde" - "n\")return false;if(!c(a))return false;if(!b&&Ga(a)==0)return false;if(!d" - "(a))return false;return true}\nfunction Ha(a){var b=[\"\"];Ia(a,b);b=fa(b" - ",o);return o(b.join(\"\\n\"))}function Ia(a,b){if(S(a,\"BR\"))b.push(\"\"" - ");else{var c=Ja(a);c&&b[b.length-1]&&b.push(\"\");ea(a.childNodes,functio" - "n(d){if(d.nodeType==3){var f=U(d);if(f){W(f);if(f&&W(f)){d=d.nodeValue.re" - "place(Ka,\" \");f=b.pop();var e=f.length-1;if(e>=0&&f.indexOf(\" \",e)==e" - "&&d.lastIndexOf(\" \",0)==0)d=d.substr(1);b.push(f+d)}}}else S(d)&&Ia(d,b" - ")});c&&b[b.length-1]&&b.push(\"\")}}function Ja(a){a=V(a,\"display\");ret" - "urn a==\"block\"||a==\"inline-block\"}\nvar Ma=\"[\\\\s\\\\xa0\"+String.f" - "romCharCode(160)+\"]+\",Ka=RegExp(Ma,\"g\"),Fa=RegExp(\"^\"+Ma+\"$\");fun" - "ction Ga(a){if(D){if(V(a,\"position\")==\"relative\")return 1;a=V(a,\"fil" - "ter\");return(a=a.match(/^alpha\\(opacity=(\\d*)\\)/)||a.match(/^progid:D" - "XImageTransform.Microsoft.Alpha\\(Opacity=(\\d*)\\)/))?Number(a[1])/100:1" - "}else return Na(a)}function Na(a){var b=1,c=V(a,\"opacity\");if(c)b=Numbe" - "r(c);if(a=U(a))b*=Na(a);return b};var Oa={};Oa.d=function(a,b){var c=M(b)" - ",d=j(a)?c.g.getElementById(a):a;if(!d)return null;if(T(d,\"id\")==a&&ra(b" - ",d))return d;c=O(c,\"*\");return v(c,function(f){return T(f,\"id\")==a&&r" - "a(b,f)})};Oa.b=function(a,b){var c=O(M(b),\"*\",null,b);return u(c,functi" - "on(d){return T(d,\"id\")==a})};var X={},Pa={};X.i=function(a,b,c){b=O(M(b" - "),\"A\",null,b);return v(b,function(d){d=Ha(d);return c&&d.indexOf(a)!=-1" - "||d==a})};X.h=function(a,b,c){b=O(M(b),\"A\",null,b);return u(b,function(" - "d){d=Ha(d);return c&&d.indexOf(a)!=-1||d==a})};X.d=function(a,b){return X" - ".i(a,b,false)};X.b=function(a,b){return X.h(a,b,false)};Pa.d=function(a,b" - "){return X.i(a,b,true)};Pa.b=function(a,b){return X.h(a,b,true)};var Qa={" - "};Qa.d=function(a,b){var c=O(M(b),\"*\",null,b);return v(c,function(d){re" - "turn T(d,\"name\")==a})};Qa.b=function(a,b){var c=O(M(b),\"*\",null,b);re" - "turn u(c,function(d){return T(d,\"name\")==a})};var Ra={};Ra.d=function(a" - ",b){return O(M(b),a,null,b)[0]||null};Ra.b=function(a,b){return O(M(b),a," - "null,b)};var Sa={className:va,css:wa,id:Oa,linkText:X,name:Qa,partialLink" - "Text:Pa,tagName:Ra,xpath:P};function Ta(a,b){var c;a:{for(c in a){c=c;bre" - "ak a}c=void 0}if(c){var d=Sa[c];if(d&&k(d.b))return d.b(a[c],b||N(h))}thr" - "ow Error(\"Unsupported locator strategy: \"+c);}var Y=\"_\".split(\".\")," - "Z=h;!(Y[0]in Z)&&Z.execScript&&Z.execScript(\"var \"+Y[0]);for(var $;Y.le" - "ngth&&($=Y.shift());)if(!Y.length&&Ta!==undefined)Z[$]=Ta;else Z=Z[$]?Z[$" - "]:Z[$]={};; return _.apply(null,arguments);}"; - -const char* const GET_ATTRIBUTE = - "function(){var f=this;\nfunction g(a){var c=typeof a;if(c==\"object\")if(" - "a){if(a instanceof Array)return\"array\";else if(a instanceof Object)retu" - "rn c;var b=Object.prototype.toString.call(a);if(b==\"[object Window]\")re" - "turn\"object\";if(b==\"[object Array]\"||typeof a.length==\"number\"&&typ" - "eof a.splice!=\"undefined\"&&typeof a.propertyIsEnumerable!=\"undefined\"" - "&&!a.propertyIsEnumerable(\"splice\"))return\"array\";if(b==\"[object Fun" - "ction]\"||typeof a.call!=\"undefined\"&&typeof a.propertyIsEnumerable!=\"" - "undefined\"&&!a.propertyIsEnumerable(\"call\"))return\"function\"}else re" - "turn\"null\";else if(c==\n\"function\"&&typeof a.call==\"undefined\")retu" - "rn\"object\";return c}function h(a,c){function b(){}b.prototype=c.prototy" - "pe;a.g=c.prototype;a.prototype=new b};function i(a){this.stack=Error().st" - "ack||\"\";if(a)this.message=String(a)}h(i,Error);function j(a){for(var c=" - "1;cc)" - "return 1;return 0};function p(a,c){c.unshift(a);i.call(this,j.apply(null," - "c));c.shift();this.h=a}h(p,i);function q(a,c){if(!a){var b=Array.prototyp" - "e.slice.call(arguments,2),d=\"Assertion failed\";if(c){d+=\": \"+c;var e=" - "b}throw new p(\"\"+d,e||[]);}return a};var r=Array.prototype,s=r.indexOf?" - "function(a,c,b){q(a.length!=null);return r.indexOf.call(a,c,b)}:function(" - "a,c,b){b=b==null?0:b<0?Math.max(0,a.length+b):b;if(typeof a==\"string\"){" - "if(typeof c!=\"string\"||c.length!=1)return-1;return a.indexOf(c,b)}for(b" - "=b;bparseFloat(E)){D=String(I);break a}}D=E}var K={};\nf" - "unction L(a){var c;if(!(c=K[a])){c=0;var b=l(String(D)).split(\".\"),d=l(" - "String(a)).split(\".\"),e=Math.max(b.length,d.length);for(var k=0;c==0&&k" - "=" - "0}return c};!A||L(\"9\");A&&L(\"9\");var M=\"StopIteration\"in f?f.StopIt" - "eration:Error(\"StopIteration\");function N(){}N.prototype.next=function(" - "){throw M;};function P(a,c,b,d,e){this.a=!!c;a&&Q(this,a,d);this.d=e!=und" - "efined?e:this.c||0;if(this.a)this.d*=-1;this.f=!b}h(P,N);P.prototype.b=nu" - "ll;P.prototype.c=0;P.prototype.e=false;function Q(a,c,b,d){if(a.b=c)a.c=t" - "ypeof b==\"number\"?b:a.b.nodeType!=1?0:a.a?-1:1;if(typeof d==\"number\")" - "a.d=d}\nP.prototype.next=function(){var a;if(this.e){if(!this.b||this.f&&" - "this.d==0)throw M;a=this.b;var c=this.a?-1:1;if(this.c==c){var b=this.a?a" - ".lastChild:a.firstChild;b?Q(this,b):Q(this,a,c*-1)}else(b=this.a?a.previo" - "usSibling:a.nextSibling)?Q(this,b):Q(this,a.parentNode,c*-1);this.d+=this" - ".c*(this.a?-1:1)}else this.e=true;a=this.b;if(!this.b)throw M;return a};" - "\nP.prototype.splice=function(){var a=this.b,c=this.a?1:-1;if(this.c==c){" - "this.c=c*-1;this.d+=this.c*(this.a?-1:1)}this.a=!this.a;P.prototype.next." - "call(this);this.a=!this.a;c=arguments[0];var b=g(c);c=b==\"array\"||b==\"" - "object\"&&typeof c.length==\"number\"?arguments[0]:arguments;for(b=c.leng" - "th-1;b>=0;b--)a.parentNode&&a.parentNode.insertBefore(c[b],a.nextSibling)" - ";a&&a.parentNode&&a.parentNode.removeChild(a)};function R(a,c,b,d){P.call" - "(this,a,c,b,null,d)}h(R,P);R.prototype.next=function(){do R.g.next.call(t" - "his);while(this.c==-1);return this.b};var aa={\"class\":\"className\",rea" - "donly:\"readOnly\"},S=[\"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\",\"selec" - "ted\",\"spellcheck\",\"truespeed\",\"willvalidate\"];\nfunction ba(a,c){i" - "f(8==a.nodeType)return null;c=c.toLowerCase();if(c==\"style\"){var b=l(a." - "style.cssText).toLowerCase();return b.charAt(b.length-1)==\";\"?b:b+\";\"" - "}b=a.getAttributeNode(c);if(A)if(!b&&L(8)&&s(S,c)>=0)b=a[c];if(!b)return " - "null;if(s(S,c)>=0)return A&&b.value==\"false\"?null:\"true\";return b.spe" - "cified?b.value:null}String.fromCharCode(160);\nvar ca=[\"checkbox\",\"rad" - "io\"];function T(a){var c=a.tagName.toUpperCase();if(c==\"OPTION\")return" - " true;if(c==\"INPUT\")if(s(ca,a.type)>=0)return true;return false};functi" - "on U(a,c){var b=null;b=c.toLowerCase();if(\"style\"==c.toLowerCase()){if(" - "(b=a.style)&&typeof b!=\"string\")b=b.cssText;return b}if(\"selected\"==b" - "||\"checked\"==b&&T(a)){var d;if(T(a)){d=\"selected\";b=a.type&&a.type.to" - "LowerCase();if(\"checkbox\"==b||\"radio\"==b)d=\"checked\";d=!!a[d]}else " - "d=false;return d?\"true\":null}var e=a.tagName&&\"A\"==a.tagName.toUpperC" - "ase(),k=a.tagName&&\"IMG\"==a.tagName.toUpperCase();try{d=a[aa[c]||c]}cat" - "ch(O){}if(!(e=b==\"href\"&&e)){if(!(b=b==\"src\"&&k)){if(!(b=d==null)){b=" - "g(d);b=b==\n\"object\"||b==\"array\"||b==\"function\"}b=b}e=b}b=e?ba(a,c)" - ":d;return b!=null?b.toString():null}var V=\"_\".split(\".\"),W=f;!(V[0]in" - " W)&&W.execScript&&W.execScript(\"var \"+V[0]);for(var X;V.length&&(X=V.s" - "hift());)if(!V.length&&U!==undefined)W[X]=U;else W=W[X]?W[X]:W[X]={};; re" - "turn _.apply(null,arguments);}"; - -const char* const GET_EFFECTIVE_STYLE = - "function(){var e=this;function f(b,c){function a(){}a.prototype=c.prototy" - "pe;b.g=c.prototype;b.prototype=new a};function g(b){this.stack=Error().st" - "ack||\"\";if(b)this.message=String(b)}f(g,Error);function k(b){for(var c=" - "1;cc)r" - "eturn 1;return 0}var n={};function o(b){return n[b]||(n[b]=String(b).repl" - "ace(/\\-([a-z])/g,function(c,a){return a.toUpperCase()}))};f(function(b,c" - "){c.unshift(b);g.call(this,k.apply(null,c));c.shift();this.f=b},g);var q," - "r,s,t;function u(){return e.navigator?e.navigator.userAgent:null}t=s=r=q=" - "false;var v;if(v=u()){var w=e.navigator;q=v.indexOf(\"Opera\")==0;r=!q&&v" - ".indexOf(\"MSIE\")!=-1;s=!q&&v.indexOf(\"WebKit\")!=-1;t=!q&&!s&&w.produc" - "t==\"Gecko\"}var x=r,y=t,z=s,A;\na:{var B=\"\",C;if(q&&e.opera){var D=e.o" - "pera.version;B=typeof D==\"function\"?D():D}else{if(y)C=/rv\\:([^\\);]+)(" - "\\)|;)/;else if(x)C=/MSIE\\s+([^\\);]+)(\\)|;)/;else if(z)C=/WebKit\\/(" - "\\S+)/;if(C){var E=C.exec(u());B=E?E[1]:\"\"}}if(x){var F,G=e.document;F=" - "G?G.documentMode:undefined;if(F>parseFloat(B)){A=String(F);break a}}A=B}v" - "ar H={};!x||H[\"9\"]||(H[\"9\"]=l(A,\"9\")>=0);x&&(H[\"9\"]||(H[\"9\"]=l(" - "A,\"9\")>=0));function I(b,c,a,d,h){this.c=!!c;if(b){if(this.b=b)this.d=t" - "ypeof d==\"number\"?d:this.b.nodeType!=1?0:this.c?-1:1;if(typeof void 0==" - "\"number\")this.a=void 0}this.a=h!=undefined?h:this.d||0;if(this.c)this.a" - "*=-1;this.e=!a}f(I,function(){});I.prototype.b=null;I.prototype.d=0;f(fun" - "ction(b,c,a,d){I.call(this,b,c,a,null,d)},I);function J(b,c){var a=(b.cur" - "rentStyle||b.style)[c];if(a!=\"inherit\")return a!==undefined?a:null;for(" - "a=b.parentNode;a&&a.nodeType!=1&&a.nodeType!=9&&a.nodeType!=11;)a=a.paren" - "tNode;return(a=a&&a.nodeType==1&&1?a:null)?J(a,c):null}String.fromCharCod" - "e(160);function P(b,c){c=o(String(c));var a;a:{a=c;var d=b.nodeType==9?b:" - "b.ownerDocument||b.document;if(d.defaultView&&d.defaultView.getComputedSt" - "yle)if(d=d.defaultView.getComputedStyle(b,null)){a=d[a]||d.getPropertyVal" - "ue(a);break a}a=\"\"}return a||J(b,c)}var Q=\"_\".split(\".\"),R=e;!(Q[0]" - "in R)&&R.execScript&&R.execScript(\"var \"+Q[0]);for(var S;Q.length&&(S=Q" - ".shift());)if(!Q.length&&P!==undefined)R[S]=P;else R=R[S]?R[S]:R[S]={};; " - "return _.apply(null,arguments);}"; - -const char* const GET_LOCATION = - "function(){var g=this;function h(a,b){function c(){}c.prototype=b.prototy" - "pe;a.c=b.prototype;a.prototype=new c};function i(a){this.stack=Error().st" - "ack||\"\";if(a)this.message=String(a)}h(i,Error);function j(a){for(var b=" - "1;bb)r" - "eturn 1;return 0};h(function(a,b){b.unshift(a);i.call(this,j.apply(null,b" - "));b.shift();this.b=a},i);var o,p,r,s;function t(){return g.navigator?g.n" - "avigator.userAgent:null}s=r=p=o=false;var u;if(u=t()){var v=g.navigator;o" - "=u.indexOf(\"Opera\")==0;p=!o&&u.indexOf(\"MSIE\")!=-1;r=!o&&u.indexOf(\"" - "WebKit\")!=-1;s=!o&&!r&&v.product==\"Gecko\"}var w=o,x=p,y=s,z=r,A;\na:{v" - "ar B=\"\",C;if(w&&g.opera){var D=g.opera.version;B=typeof D==\"function\"" - "?D():D}else{if(y)C=/rv\\:([^\\);]+)(\\)|;)/;else if(x)C=/MSIE\\s+([^\\);]" - "+)(\\)|;)/;else if(z)C=/WebKit\\/(\\S+)/;if(C){var E=C.exec(t());B=E?E[1]" - ":\"\"}}if(x){var F,G=g.document;F=G?G.documentMode:undefined;if(F>parseFl" - "oat(B)){A=String(F);break a}}A=B}var H={};var I;!x||H[\"9\"]||(H[\"9\"]=k" - "(A,\"9\")>=0);x&&(H[\"9\"]||(H[\"9\"]=k(A,\"9\")>=0));function J(a,b){thi" - "s.x=a!==undefined?a:0;this.y=b!==undefined?b:0}J.prototype.toString=funct" - "ion(){return\"(\"+this.x+\", \"+this.y+\")\"};function K(a){return a.node" - "Type==9?a:a.ownerDocument||a.document}function L(a){this.a=a||g.document|" - "|document};function M(a,b){var c;a:{c=K(a);if(c.defaultView&&c.defaultVie" - "w.getComputedStyle)if(c=c.defaultView.getComputedStyle(a,null)){c=c[b]||c" - ".getPropertyValue(b);break a}c=\"\"}return c||(a.currentStyle?a.currentSt" - "yle[b]:null)||a.style[b]}\nfunction N(a){if(x)return a.offsetParent;var b" - "=K(a),c=M(a,\"position\"),f=c==\"fixed\"||c==\"absolute\";for(a=a.parentN" - "ode;a&&a!=b;a=a.parentNode){c=M(a,\"position\");f=f&&c==\"static\"&&a!=b." - "documentElement&&a!=b.body;if(!f&&(a.scrollWidth>a.clientWidth||a.scrollH" - "eight>a.clientHeight||c==\"fixed\"||c==\"absolute\"))return a}return null" - "};function O(a){var b,c=K(a),f=M(a,\"position\"),q=y&&c.getBoxObjectFor&&" - "!a.getBoundingClientRect&&f==\"absolute\"&&(b=c.getBoxObjectFor(a))&&(b.s" - "creenX<0||b.screenY<0),d=new J(0,0),e;b=c?c.nodeType==9?c:K(c):document;i" - "f(e=x)e=(b?new L(K(b)):I||(I=new L)).a.compatMode!=\"CSS1Compat\";e=e?b.b" - "ody:b.documentElement;if(a==e)return d;if(a.getBoundingClientRect){b=a.ge" - "tBoundingClientRect();if(x){a=a.ownerDocument;b.left-=a.documentElement.c" - "lientLeft+a.body.clientLeft;b.top-=a.documentElement.clientTop+a.body.cli" - "entTop}b=\nb;c=(c?new L(K(c)):I||(I=new L)).a;c=!z&&c.compatMode==\"CSS1C" - "ompat\"?c.documentElement:c.body;c=new J(c.scrollLeft,c.scrollTop);d.x=b." - "left+c.x;d.y=b.top+c.y}else if(c.getBoxObjectFor&&!q){b=c.getBoxObjectFor" - "(a);c=c.getBoxObjectFor(e);d.x=b.screenX-c.screenX;d.y=b.screenY-c.screen" - "Y}else{b=a;do{d.x+=b.offsetLeft;d.y+=b.offsetTop;if(b!=a){d.x+=b.clientLe" - "ft||0;d.y+=b.clientTop||0}if(z&&M(b,\"position\")==\"fixed\"){d.x+=c.body" - ".scrollLeft;d.y+=c.body.scrollTop;break}b=b.offsetParent}while(b&&b!=a);i" - "f(w||z&&\nf==\"absolute\")d.y-=c.body.offsetTop;for(b=a;(b=N(b))&&b!=c.bo" - "dy&&b!=e;){d.x-=b.scrollLeft;if(!w||b.tagName!=\"TR\")d.y-=b.scrollTop}}r" - "eturn d}var P=\"_\".split(\".\"),U=g;!(P[0]in U)&&U.execScript&&U.execScr" - "ipt(\"var \"+P[0]);for(var V;P.length&&(V=P.shift());)if(!P.length&&O!==u" - "ndefined)U[V]=O;else U=U[V]?U[V]:U[V]={};; return _.apply(null,arguments)" - ";}"; - -const char* const GET_SIZE = - "function(){var d=this;function e(a,b){function c(){}c.prototype=b.prototy" - "pe;a.b=b.prototype;a.prototype=new c};function f(a){this.stack=Error().st" - "ack||\"\";if(a)this.message=String(a)}e(f,Error);function h(a){for(var b=" - "1;bb)return 1;return 0};e(function(a,b){b.unshift(a);f.call(this,h.appl" - "y(null,b));b.shift();this.a=a},f);var l,m,n,o;function p(){return d.navig" - "ator?d.navigator.userAgent:null}o=n=m=l=false;var r;if(r=p()){var s=d.nav" - "igator;l=r.indexOf(\"Opera\")==0;m=!l&&r.indexOf(\"MSIE\")!=-1;n=!l&&r.in" - "dexOf(\"WebKit\")!=-1;o=!l&&!n&&s.product==\"Gecko\"}var t=l,u=m,v=o,w=n," - "x;\na:{var y=\"\",z;if(t&&d.opera){var B=d.opera.version;y=typeof B==\"fu" - "nction\"?B():B}else{if(v)z=/rv\\:([^\\);]+)(\\)|;)/;else if(u)z=/MSIE\\s+" - "([^\\);]+)(\\)|;)/;else if(w)z=/WebKit\\/(\\S+)/;if(z){var C=z.exec(p());" - "y=C?C[1]:\"\"}}if(u){var D,E=d.document;D=E?E.documentMode:undefined;if(D" - ">parseFloat(y)){x=String(D);break a}}x=y}var F={};\nfunction G(a){var b;i" - "f(!(b=F[a])){b=0;var c=String(x).replace(/^[\\s\\xa0]+|[\\s\\xa0]+$/g,\"" - "\").split(\".\"),q=String(a).replace(/^[\\s\\xa0]+|[\\s\\xa0]+$/g,\"\").s" - "plit(\".\"),A=Math.max(c.length,q.length);for(var g=0;b==0&&g=0}return b" - "};!u||G(\"9\");u&&G(\"9\");function H(a,b){this.width=a;this.height=b}H.p" - "rototype.toString=function(){return\"(\"+this.width+\" x \"+this.height+" - "\")\"};function I(a){var b=t&&!G(\"10\"),c;a:{c=a.nodeType==9?a:a.ownerDo" - "cument||a.document;if(c.defaultView&&c.defaultView.getComputedStyle)if(c=" - "c.defaultView.getComputedStyle(a,null)){c=c.display||c.getPropertyValue(" - "\"display\");break a}c=\"\"}if((c||(a.currentStyle?a.currentStyle.display" - ":null)||a.style.display)!=\"none\")return b?new H(a.offsetWidth||a.client" - "Width,a.offsetHeight||a.clientHeight):new H(a.offsetWidth,a.offsetHeight)" - ";c=a.style;var q=c.display,A=c.visibility,g=c.position;c.visibility=\"hid" - "den\";c.position=\n\"absolute\";c.display=\"inline\";if(b){b=a.offsetWidt" - "h||a.clientWidth;a=a.offsetHeight||a.clientHeight}else{b=a.offsetWidth;a=" - "a.offsetHeight}c.display=q;c.position=g;c.visibility=A;return new H(b,a)}" - "var J=\"_\".split(\".\"),K=d;!(J[0]in K)&&K.execScript&&K.execScript(\"va" - "r \"+J[0]);for(var L;J.length&&(L=J.shift());)if(!J.length&&I!==undefined" - ")K[L]=I;else K=K[L]?K[L]:K[L]={};; return _.apply(null,arguments);}"; - -const char* const GET_TEXT = - "function(){var g=this;\nfunction h(a){var b=typeof a;if(b==\"object\")if(" - "a){if(a instanceof Array)return\"array\";else if(a instanceof Object)retu" - "rn b;var c=Object.prototype.toString.call(a);if(c==\"[object Window]\")re" - "turn\"object\";if(c==\"[object Array]\"||typeof a.length==\"number\"&&typ" - "eof a.splice!=\"undefined\"&&typeof a.propertyIsEnumerable!=\"undefined\"" - "&&!a.propertyIsEnumerable(\"splice\"))return\"array\";if(c==\"[object Fun" - "ction]\"||typeof a.call!=\"undefined\"&&typeof a.propertyIsEnumerable!=\"" - "undefined\"&&!a.propertyIsEnumerable(\"call\"))return\"function\"}else re" - "turn\"null\";else if(b==\n\"function\"&&typeof a.call==\"undefined\")retu" - "rn\"object\";return b}function j(a){return typeof a==\"string\"}function " - "k(a,b){function c(){}c.prototype=b.prototype;a.g=b.prototype;a.prototype=" - "new c};function l(a){this.stack=Error().stack||\"\";if(a)this.message=Str" - "ing(a)}k(l,Error);l.prototype.name=\"CustomError\";function aa(a){for(var" - " b=1;bb)return 1;return 0}var o={};function ba(a){return o[a]||(o[a]=String(a)" - ".replace(/\\-([a-z])/g,function(b,c){return c.toUpperCase()}))};function " - "p(a,b){b.unshift(a);l.call(this,aa.apply(null,b));b.shift();this.h=a}k(p," - "l);p.prototype.name=\"AssertionError\";function q(a,b){if(!a){var c=Array" - ".prototype.slice.call(arguments,2),e=\"Assertion failed\";if(b){e+=\": \"" - "+b;var f=c}throw new p(\"\"+e,f||[]);}return a};var r=Array.prototype,s=r" - ".indexOf?function(a,b,c){q(a.length!=null);return r.indexOf.call(a,b,c)}:" - "function(a,b,c){c=c==null?0:c<0?Math.max(0,a.length+c):c;if(j(a)){if(!j(b" - ")||b.length!=1)return-1;return a.indexOf(b,c)}for(c=c;cpa" - "rseFloat(F)){E=String(K);break a}}E=F}var M={};\nfunction N(a){var b;if(!" - "(b=M[a])){b=0;var c=m(String(E)).split(\".\"),e=m(String(a)).split(\".\")" - ",f=Math.max(c.length,e.length);for(var d=0;b==0&&d=0}return b};!C||N(" - "\"9\");C&&N(\"9\");function O(a,b){this.width=a;this.height=b}O.prototype" - ".toString=function(){return\"(\"+this.width+\" x \"+this.height+\")\"};fu" - "nction P(a){return a.nodeType==9?a:a.ownerDocument||a.document}function h" - "a(a,b){var c=[];return ia(a,b,c,true)?c[0]:undefined}function ia(a,b,c,e)" - "{if(a!=null){var f=0;for(var d;d=a.childNodes[f];f++){if(b(d)){c.push(d);" - "if(e)return true}if(ia(d,b,c,e))return true}}return false}function ja(a,b" - ",c,e){if(!c)a=a.parentNode;c=e==null;for(var f=0;a&&(c||f<=e);){if(b(a))r" - "eturn a;a=a.parentNode;f++}return null};function ka(a,b){try{var c;if(typ" - "eof b.selectSingleNode!=\"undefined\"){var e=P(b);typeof e.setProperty!=" - "\"undefined\"&&e.setProperty(\"SelectionLanguage\",\"XPath\");c=b.selectS" - "ingleNode(a)}else if(document.implementation.hasFeature(\"XPath\",\"3.0\"" - ")){e=P(b);var f=e.createNSResolver(e.documentElement);c=e.evaluate(a,b,f," - "XPathResult.FIRST_ORDERED_NODE_TYPE,null).singleNodeValue}else c=null}cat" - "ch(d){return null}if(!c)return null;if(c.nodeType!=1)throw Error(\"Return" - "ed node is not an element: \"+a);return c};var Q=\"StopIteration\"in g?g." - "StopIteration:Error(\"StopIteration\");function la(){}la.prototype.next=f" - "unction(){throw Q;};function R(a,b,c,e,f){this.a=!!b;a&&S(this,a,e);this." - "d=f!=undefined?f:this.c||0;if(this.a)this.d*=-1;this.f=!c}k(R,la);R.proto" - "type.b=null;R.prototype.c=0;R.prototype.e=false;function S(a,b,c,e){if(a." - "b=b)a.c=typeof c==\"number\"?c:a.b.nodeType!=1?0:a.a?-1:1;if(typeof e==\"" - "number\")a.d=e}\nR.prototype.next=function(){var a;if(this.e){if(!this.b|" - "|this.f&&this.d==0)throw Q;a=this.b;var b=this.a?-1:1;if(this.c==b){var c" - "=this.a?a.lastChild:a.firstChild;c?S(this,c):S(this,a,b*-1)}else(c=this.a" - "?a.previousSibling:a.nextSibling)?S(this,c):S(this,a.parentNode,b*-1);thi" - "s.d+=this.c*(this.a?-1:1)}else this.e=true;a=this.b;if(!this.b)throw Q;re" - "turn a};\nR.prototype.splice=function(){var a=this.b,b=this.a?1:-1;if(thi" - "s.c==b){this.c=b*-1;this.d+=this.c*(this.a?-1:1)}this.a=!this.a;R.prototy" - "pe.next.call(this);this.a=!this.a;b=arguments[0];var c=h(b);b=c==\"array" - "\"||c==\"object\"&&typeof b.length==\"number\"?arguments[0]:arguments;for" - "(c=b.length-1;c>=0;c--)a.parentNode&&a.parentNode.insertBefore(b[c],a.nex" - "tSibling);a&&a.parentNode&&a.parentNode.removeChild(a)};function T(a,b,c," - "e){R.call(this,a,b,c,null,e)}k(T,R);T.prototype.next=function(){do T.g.ne" - "xt.call(this);while(this.c==-1);return this.b};function ma(a,b){var c=P(a" - ");if(c.defaultView&&c.defaultView.getComputedStyle)if(c=c.defaultView.get" - "ComputedStyle(a,null))return c[b]||c.getPropertyValue(b);return\"\"};func" - "tion U(a,b){return!!a&&a.nodeType==1&&(!b||a.tagName.toUpperCase()==b)}\n" - "var na=[\"async\",\"autofocus\",\"autoplay\",\"checked\",\"compact\",\"co" - "mplete\",\"controls\",\"declare\",\"defaultchecked\",\"defaultselected\"," - "\"defer\",\"disabled\",\"draggable\",\"ended\",\"formnovalidate\",\"hidde" - "n\",\"indeterminate\",\"iscontenteditable\",\"ismap\",\"itemscope\",\"loo" - "p\",\"multiple\",\"muted\",\"nohref\",\"noresize\",\"noshade\",\"novalida" - "te\",\"nowrap\",\"open\",\"paused\",\"pubdate\",\"readonly\",\"required\"" - ",\"reversed\",\"scoped\",\"seamless\",\"seeking\",\"selected\",\"spellche" - "ck\",\"truespeed\",\"willvalidate\"];\nfunction oa(a,b){if(8==a.nodeType)" - "return null;b=b.toLowerCase();if(b==\"style\"){var c=m(a.style.cssText).t" - "oLowerCase();return c.charAt(c.length-1)==\";\"?c:c+\";\"}c=a.getAttribut" - "eNode(b);if(C)if(!c&&N(8)&&s(na,b)>=0)c=a[b];if(!c)return null;if(s(na,b)" - ">=0)return C&&c.value==\"false\"?null:\"true\";return c.specified?c.value" - ":null}function V(a){for(a=a.parentNode;a&&a.nodeType!=1&&a.nodeType!=9&&a" - ".nodeType!=11;)a=a.parentNode;return U(a)?a:null}function W(a,b){b=ba(Str" - "ing(b));return ma(a,b)||pa(a,b)}\nfunction pa(a,b){var c=(a.currentStyle|" - "|a.style)[b];if(c!=\"inherit\")return c!==undefined?c:null;return(c=V(a))" - "?pa(c,b):null}\nfunction qa(a){if(h(a.getBBox)==\"function\")return a.get" - "BBox();var b;var c=B&&!N(\"10\");if((ma(a,\"display\")||(a.currentStyle?a" - ".currentStyle.display:null)||a.style.display)!=\"none\")b=c?new O(a.offse" - "tWidth||a.clientWidth,a.offsetHeight||a.clientHeight):new O(a.offsetWidth" - ",a.offsetHeight);else{b=a.style;var e=b.display,f=b.visibility,d=b.positi" - "on;b.visibility=\"hidden\";b.position=\"absolute\";b.display=\"inline\";i" - "f(c){c=a.offsetWidth||a.clientWidth;a=a.offsetHeight||a.clientHeight}else" - "{c=a.offsetWidth;a=a.offsetHeight}b.display=\ne;b.position=d;b.visibility" - "=f;b=new O(c,a)}return b}\nfunction X(a,b){function c(d){if(W(d,\"display" - "\")==\"none\")return false;d=V(d);return!d||c(d)}function e(d){var i=qa(d" - ");if(i.height>0&&i.width>0)return true;if(d.innerText||d.textContent)if(t" - "a.test(d.innerText||d.textContent))return true;return D&&ea(d.childNodes," - "function(G){return U(G)&&e(G)})}if(!U(a))throw Error(\"Argument to isShow" - "n must be of type Element\");if(U(a,\"TITLE\"))return(P(a)?P(a).parentWin" - "dow||P(a).defaultView:window)==g;if(U(a,\"OPTION\")||U(a,\"OPTGROUP\")){v" - "ar f=ja(a,function(d){return U(d,\n\"SELECT\")});return!!f&&X(f)}if(U(a," - "\"MAP\")){if(!a.name)return false;f=P(a);f=f.evaluate?ka('/descendant::*[" - "@usemap = \"#'+a.name+'\"]',f):ha(f,function(d){return U(d)&&oa(d,\"usema" - "p\")==\"#\"+a.name});return!!f&&X(f)}if(U(a,\"AREA\")){f=ja(a,function(d)" - "{return U(d,\"MAP\")});return!!f&&X(f)}if(U(a,\"INPUT\")&&a.type.toLowerC" - "ase()==\"hidden\")return false;if(W(a,\"visibility\")==\"hidden\")return " - "false;if(!c(a))return false;if(!b&&ua(a)==0)return false;if(!e(a))return " - "false;return true}\nfunction va(a,b){if(U(a,\"BR\"))b.push(\"\");else{var" - " c=wa(a);c&&b[b.length-1]&&b.push(\"\");ca(a.childNodes,function(e){if(e." - "nodeType==3){var f=V(e);if(f){X(f);if(f&&X(f)){e=e.nodeValue.replace(xa," - "\" \");f=b.pop();var d=f.length-1;if(d>=0&&f.indexOf(\" \",d)==d&&e.lastI" - "ndexOf(\" \",0)==0)e=e.substr(1);b.push(f+e)}}}else U(e)&&va(e,b)});c&&b[" - "b.length-1]&&b.push(\"\")}}function wa(a){a=W(a,\"display\");return a==\"" - "block\"||a==\"inline-block\"}\nvar ya=\"[\\\\s\\\\xa0\"+String.fromCharCo" - "de(160)+\"]+\",xa=RegExp(ya,\"g\"),ta=RegExp(\"^\"+ya+\"$\");function ua(" - "a){if(C){if(W(a,\"position\")==\"relative\")return 1;a=W(a,\"filter\");re" - "turn(a=a.match(/^alpha\\(opacity=(\\d*)\\)/)||a.match(/^progid:DXImageTra" - "nsform.Microsoft.Alpha\\(Opacity=(\\d*)\\)/))?Number(a[1])/100:1}else ret" - "urn za(a)}function za(a){var b=1,c=W(a,\"opacity\");if(c)b=Number(c);if(a" - "=V(a))b*=za(a);return b};\nfunction Aa(a){for(;a;){if(a.tagName&&a.tagNam" - "e.toLowerCase()==\"head\")return true;try{a=a.parentNode}catch(b){return " - "false}}return false};function Ba(a){if(Aa(a)){var b=P(a);if(a.tagName.toU" - "pperCase()==\"TITLE\"&&(b?b.parentWindow||b.defaultView:window)==g.top)re" - "turn m(b.title);return\"\"}b=[\"\"];va(a,b);b=da(b,m);return m(b.join(\"" - "\\n\"))}var Y=\"_\".split(\".\"),Z=g;!(Y[0]in Z)&&Z.execScript&&Z.execScr" - "ipt(\"var \"+Y[0]);for(var $;Y.length&&($=Y.shift());)if(!Y.length&&Ba!==" - "undefined)Z[$]=Ba;else Z=Z[$]?Z[$]:Z[$]={};; return _.apply(null,argument" - "s);}"; - -const char* const IS_DISPLAYED = - "function(){var g=this;\nfunction h(a){var b=typeof a;if(b==\"object\")if(" - "a){if(a instanceof Array)return\"array\";else if(a instanceof Object)retu" - "rn b;var c=Object.prototype.toString.call(a);if(c==\"[object Window]\")re" - "turn\"object\";if(c==\"[object Array]\"||typeof a.length==\"number\"&&typ" - "eof a.splice!=\"undefined\"&&typeof a.propertyIsEnumerable!=\"undefined\"" - "&&!a.propertyIsEnumerable(\"splice\"))return\"array\";if(c==\"[object Fun" - "ction]\"||typeof a.call!=\"undefined\"&&typeof a.propertyIsEnumerable!=\"" - "undefined\"&&!a.propertyIsEnumerable(\"call\"))return\"function\"}else re" - "turn\"null\";else if(b==\n\"function\"&&typeof a.call==\"undefined\")retu" - "rn\"object\";return b}function i(a,b){function c(){}c.prototype=b.prototy" - "pe;a.g=b.prototype;a.prototype=new c};function j(a){this.stack=Error().st" - "ack||\"\";if(a)this.message=String(a)}i(j,Error);j.prototype.name=\"Custo" - "mError\";function aa(a){for(var b=1;bb)return 1;return 0}var m={};function ba(" - "a){return m[a]||(m[a]=String(a).replace(/\\-([a-z])/g,function(b,c){retur" - "n c.toUpperCase()}))};function n(a,b){b.unshift(a);j.call(this,aa.apply(n" - "ull,b));b.shift();this.h=a}i(n,j);n.prototype.name=\"AssertionError\";fun" - "ction q(a,b){if(!a){var c=Array.prototype.slice.call(arguments,2),e=\"Ass" - "ertion failed\";if(b){e+=\": \"+b;var f=c}throw new n(\"\"+e,f||[]);}retu" - "rn a};var r=Array.prototype,s=r.indexOf?function(a,b,c){q(a.length!=null)" - ";return r.indexOf.call(a,b,c)}:function(a,b,c){c=c==null?0:c<0?Math.max(0" - ",a.length+c):c;if(typeof a==\"string\"){if(typeof b!=\"string\"||b.length" - "!=1)return-1;return a.indexOf(b,c)}for(c=c;cpa" - "rseFloat(F)){E=String(J);break a}}E=F}var L={};\nfunction M(a){var b;if(!" - "(b=L[a])){b=0;var c=k(String(E)).split(\".\"),e=k(String(a)).split(\".\")" - ",f=Math.max(c.length,e.length);for(var d=0;b==0&&d=0}return b};!A||M(" - "\"9\");A&&M(\"9\");function N(a,b){this.width=a;this.height=b}N.prototype" - ".toString=function(){return\"(\"+this.width+\" x \"+this.height+\")\"};fu" - "nction O(a){return a.nodeType==9?a:a.ownerDocument||a.document}function f" - "a(a,b){var c=[];return P(a,b,c,true)?c[0]:undefined}function P(a,b,c,e){i" - "f(a!=null){var f=0;for(var d;d=a.childNodes[f];f++){if(b(d)){c.push(d);if" - "(e)return true}if(P(d,b,c,e))return true}}return false}function ga(a,b,c," - "e){if(!c)a=a.parentNode;c=e==null;for(var f=0;a&&(c||f<=e);){if(b(a))retu" - "rn a;a=a.parentNode;f++}return null};function ha(a,b){try{var c;if(typeof" - " b.selectSingleNode!=\"undefined\"){var e=O(b);typeof e.setProperty!=\"un" - "defined\"&&e.setProperty(\"SelectionLanguage\",\"XPath\");c=b.selectSingl" - "eNode(a)}else if(document.implementation.hasFeature(\"XPath\",\"3.0\")){e" - "=O(b);var f=e.createNSResolver(e.documentElement);c=e.evaluate(a,b,f,XPat" - "hResult.FIRST_ORDERED_NODE_TYPE,null).singleNodeValue}else c=null}catch(d" - "){return null}if(!c)return null;if(c.nodeType!=1)throw Error(\"Returned n" - "ode is not an element: \"+a);return c};var Q=\"StopIteration\"in g?g.Stop" - "Iteration:Error(\"StopIteration\");function ia(){}ia.prototype.next=funct" - "ion(){throw Q;};function R(a,b,c,e,f){this.a=!!b;a&&S(this,a,e);this.d=f!" - "=undefined?f:this.c||0;if(this.a)this.d*=-1;this.f=!c}i(R,ia);R.prototype" - ".b=null;R.prototype.c=0;R.prototype.e=false;function S(a,b,c,e){if(a.b=b)" - "a.c=typeof c==\"number\"?c:a.b.nodeType!=1?0:a.a?-1:1;if(typeof e==\"numb" - "er\")a.d=e}\nR.prototype.next=function(){var a;if(this.e){if(!this.b||thi" - "s.f&&this.d==0)throw Q;a=this.b;var b=this.a?-1:1;if(this.c==b){var c=thi" - "s.a?a.lastChild:a.firstChild;c?S(this,c):S(this,a,b*-1)}else(c=this.a?a.p" - "reviousSibling:a.nextSibling)?S(this,c):S(this,a.parentNode,b*-1);this.d+" - "=this.c*(this.a?-1:1)}else this.e=true;a=this.b;if(!this.b)throw Q;return" - " a};\nR.prototype.splice=function(){var a=this.b,b=this.a?1:-1;if(this.c=" - "=b){this.c=b*-1;this.d+=this.c*(this.a?-1:1)}this.a=!this.a;R.prototype.n" - "ext.call(this);this.a=!this.a;b=arguments[0];var c=h(b);b=c==\"array\"||c" - "==\"object\"&&typeof b.length==\"number\"?arguments[0]:arguments;for(c=b." - "length-1;c>=0;c--)a.parentNode&&a.parentNode.insertBefore(b[c],a.nextSibl" - "ing);a&&a.parentNode&&a.parentNode.removeChild(a)};function T(a,b,c,e){R." - "call(this,a,b,c,null,e)}i(T,R);T.prototype.next=function(){do T.g.next.ca" - "ll(this);while(this.c==-1);return this.b};function ja(a,b){var c=O(a);if(" - "c.defaultView&&c.defaultView.getComputedStyle)if(c=c.defaultView.getCompu" - "tedStyle(a,null))return c[b]||c.getPropertyValue(b);return\"\"};function " - "U(a,b){return!!a&&a.nodeType==1&&(!b||a.tagName.toUpperCase()==b)}\nvar k" - "a=[\"async\",\"autofocus\",\"autoplay\",\"checked\",\"compact\",\"complet" - "e\",\"controls\",\"declare\",\"defaultchecked\",\"defaultselected\",\"def" - "er\",\"disabled\",\"draggable\",\"ended\",\"formnovalidate\",\"hidden\"," - "\"indeterminate\",\"iscontenteditable\",\"ismap\",\"itemscope\",\"loop\"," - "\"multiple\",\"muted\",\"nohref\",\"noresize\",\"noshade\",\"novalidate\"" - ",\"nowrap\",\"open\",\"paused\",\"pubdate\",\"readonly\",\"required\",\"r" - "eversed\",\"scoped\",\"seamless\",\"seeking\",\"selected\",\"spellcheck\"" - ",\"truespeed\",\"willvalidate\"];\nfunction la(a,b){if(8==a.nodeType)retu" - "rn null;b=b.toLowerCase();if(b==\"style\"){var c=k(a.style.cssText).toLow" - "erCase();return c.charAt(c.length-1)==\";\"?c:c+\";\"}c=a.getAttributeNod" - "e(b);if(A)if(!c&&M(8)&&s(ka,b)>=0)c=a[b];if(!c)return null;if(s(ka,b)>=0)" - "return A&&c.value==\"false\"?null:\"true\";return c.specified?c.value:nul" - "l}function V(a){for(a=a.parentNode;a&&a.nodeType!=1&&a.nodeType!=9&&a.nod" - "eType!=11;)a=a.parentNode;return U(a)?a:null}function W(a,b){b=ba(String(" - "b));return ja(a,b)||oa(a,b)}\nfunction oa(a,b){var c=(a.currentStyle||a.s" - "tyle)[b];if(c!=\"inherit\")return c!==undefined?c:null;return(c=V(a))?oa(" - "c,b):null}\nfunction pa(a){if(h(a.getBBox)==\"function\")return a.getBBox" - "();var b;var c=z&&!M(\"10\");if((ja(a,\"display\")||(a.currentStyle?a.cur" - "rentStyle.display:null)||a.style.display)!=\"none\")b=c?new N(a.offsetWid" - "th||a.clientWidth,a.offsetHeight||a.clientHeight):new N(a.offsetWidth,a.o" - "ffsetHeight);else{b=a.style;var e=b.display,f=b.visibility,d=b.position;b" - ".visibility=\"hidden\";b.position=\"absolute\";b.display=\"inline\";if(c)" - "{c=a.offsetWidth||a.clientWidth;a=a.offsetHeight||a.clientHeight}else{c=a" - ".offsetWidth;a=a.offsetHeight}b.display=\ne;b.position=d;b.visibility=f;b" - "=new N(c,a)}return b}\nfunction X(a,b){function c(d){if(W(d,\"display\")=" - "=\"none\")return false;d=V(d);return!d||c(d)}function e(d){var B=pa(d);if" - "(B.height>0&&B.width>0)return true;if(d.innerText||d.textContent)if(qa.te" - "st(d.innerText||d.textContent))return true;return D&&ca(d.childNodes,func" - "tion(C){return U(C)&&e(C)})}if(!U(a))throw Error(\"Argument to isShown mu" - "st be of type Element\");if(U(a,\"TITLE\"))return(O(a)?O(a).parentWindow|" - "|O(a).defaultView:window)==g;if(U(a,\"OPTION\")||U(a,\"OPTGROUP\")){var f" - "=ga(a,function(d){return U(d,\n\"SELECT\")});return!!f&&X(f)}if(U(a,\"MAP" - "\")){if(!a.name)return false;f=O(a);f=f.evaluate?ha('/descendant::*[@usem" - "ap = \"#'+a.name+'\"]',f):fa(f,function(d){return U(d)&&la(d,\"usemap\")=" - "=\"#\"+a.name});return!!f&&X(f)}if(U(a,\"AREA\")){f=ga(a,function(d){retu" - "rn U(d,\"MAP\")});return!!f&&X(f)}if(U(a,\"INPUT\")&&a.type.toLowerCase()" - "==\"hidden\")return false;if(W(a,\"visibility\")==\"hidden\")return false" - ";if(!c(a))return false;if(!b&&ra(a)==0)return false;if(!e(a))return false" - ";return true}\nvar sa=\"[\\\\s\\\\xa0\"+String.fromCharCode(160)+\"]+\",q" - "a=RegExp(\"^\"+sa+\"$\");function ra(a){if(A){if(W(a,\"position\")==\"rel" - "ative\")return 1;a=W(a,\"filter\");return(a=a.match(/^alpha\\(opacity=(" - "\\d*)\\)/)||a.match(/^progid:DXImageTransform.Microsoft.Alpha\\(Opacity=(" - "\\d*)\\)/))?Number(a[1])/100:1}else return ta(a)}function ta(a){var b=1,c" - "=W(a,\"opacity\");if(c)b=Number(c);if(a=V(a))b*=ta(a);return b};var ua=X," - "Y=\"_\".split(\".\"),Z=g;!(Y[0]in Z)&&Z.execScript&&Z.execScript(\"var \"" - "+Y[0]);for(var $;Y.length&&($=Y.shift());)if(!Y.length&&ua!==undefined)Z[" - "$]=ua;else Z=Z[$]?Z[$]:Z[$]={};; return _.apply(null,arguments);}"; - -const char* const IS_ENABLED = - "function(){var e=this;function f(a,b){function c(){}c.prototype=b.prototy" - "pe;a.g=b.prototype;a.prototype=new c};function h(a){this.stack=Error().st" - "ack||\"\";if(a)this.message=String(a)}f(h,Error);function i(a){for(var b=" - "1;bb)" - "return 1;return 0};function n(a,b){b.unshift(a);h.call(this,i.apply(null," - "b));b.shift();this.f=a}f(n,h);function o(a,b){if(!a){var c=Array.prototyp" - "e.slice.call(arguments,2),d=\"Assertion failed\";if(b){d+=\": \"+b;var g=" - "c}throw new n(\"\"+d,g||[]);}return a};var p=Array.prototype,q=p.indexOf?" - "function(a,b,c){o(a.length!=null);return p.indexOf.call(a,b,c)}:function(" - "a,b,c){c=c==null?0:c<0?Math.max(0,a.length+c):c;if(typeof a==\"string\"){" - "if(typeof b!=\"string\"||b.length!=1)return-1;return a.indexOf(b,c)}for(c" - "=c;cparseFloat(D)){C=String(H);break a}}C=D}var J={};\nf" - "unction K(a){var b;if(!(b=J[a])){b=0;var c=j(String(C)).split(\".\"),d=j(" - "String(a)).split(\".\"),g=Math.max(c.length,d.length);for(var t=0;b==0&&t" - "=" - "0}return b};!z||K(\"9\");z&&K(\"9\");function L(a,b,c,d,g){this.c=!!b;if(" - "a){if(this.b=a)this.d=typeof d==\"number\"?d:this.b.nodeType!=1?0:this.c?" - "-1:1;if(typeof void 0==\"number\")this.a=void 0}this.a=g!=undefined?g:thi" - "s.d||0;if(this.c)this.a*=-1;this.e=!c}f(L,function(){});L.prototype.b=nul" - "l;L.prototype.d=0;f(function(a,b,c,d){L.call(this,a,b,c,null,d)},L);var M" - "=[\"async\",\"autofocus\",\"autoplay\",\"checked\",\"compact\",\"complete" - "\",\"controls\",\"declare\",\"defaultchecked\",\"defaultselected\",\"defe" - "r\",\"disabled\",\"draggable\",\"ended\",\"formnovalidate\",\"hidden\",\"" - "indeterminate\",\"iscontenteditable\",\"ismap\",\"itemscope\",\"loop\",\"" - "multiple\",\"muted\",\"nohref\",\"noresize\",\"noshade\",\"novalidate\"," - "\"nowrap\",\"open\",\"paused\",\"pubdate\",\"readonly\",\"required\",\"re" - "versed\",\"scoped\",\"seamless\",\"seeking\",\"selected\",\"spellcheck\"," - "\"truespeed\",\"willvalidate\"];\nfunction N(a,b){if(8==a.nodeType)return" - " null;b=b.toLowerCase();if(b==\"style\"){var c=j(a.style.cssText).toLower" - "Case();return c.charAt(c.length-1)==\";\"?c:c+\";\"}c=a.getAttributeNode(" - "b);if(z)if(!c&&K(8)&&q(M,b)>=0)c=a[b];if(!c)return null;if(q(M,b)>=0)retu" - "rn z&&c.value==\"false\"?null:\"true\";return c.specified?c.value:null}va" - "r O=[\"BUTTON\",\"INPUT\",\"OPTGROUP\",\"OPTION\",\"SELECT\",\"TEXTAREA\"" - "];\nfunction P(a){var b=a.tagName.toUpperCase();if(!(q(O,b)>=0))return tr" - "ue;if(N(a,\"disabled\"))return false;if(a.parentNode&&a.parentNode.nodeTy" - "pe==1&&\"OPTGROUP\"==b||\"OPTION\"==b)return P(a.parentNode);return true}" - "String.fromCharCode(160);var Q=P,R=\"_\".split(\".\"),W=e;!(R[0]in W)&&W." - "execScript&&W.execScript(\"var \"+R[0]);for(var X;R.length&&(X=R.shift())" - ";)if(!R.length&&Q!==undefined)W[X]=Q;else W=W[X]?W[X]:W[X]={};; return _." - "apply(null,arguments);}"; - -const char* const IS_SELECTED = - "function(){var e=this;function f(a,b){function c(){}c.prototype=b.prototy" - "pe;a.g=b.prototype;a.prototype=new c};function h(a){this.stack=Error().st" - "ack||\"\";if(a)this.message=String(a)}f(h,Error);function k(a){for(var b=" - "1;bb)r" - "eturn 1;return 0};function n(a,b){b.unshift(a);h.call(this,k.apply(null,b" - "));b.shift();this.f=a}f(n,h);function o(a,b){if(!a){var c=Array.prototype" - ".slice.call(arguments,2),d=\"Assertion failed\";if(b){d+=\": \"+b;var g=c" - "}throw new n(\"\"+d,g||[]);}return a};var q=Array.prototype,r=q.indexOf?f" - "unction(a,b,c){o(a.length!=null);return q.indexOf.call(a,b,c)}:function(a" - ",b,c){c=c==null?0:c<0?Math.max(0,a.length+c):c;if(typeof a==\"string\"){i" - "f(typeof b!=\"string\"||b.length!=1)return-1;return a.indexOf(b,c)}for(c=" - "c;cparseFloat(D)){C=String(H);break a}}C=D}var J={};!z||" - "J[\"9\"]||(J[\"9\"]=l(C,\"9\")>=0);z&&(J[\"9\"]||(J[\"9\"]=l(C,\"9\")>=0)" - ");function P(a,b,c,d,g){this.c=!!b;if(a){if(this.b=a)this.d=typeof d==\"n" - "umber\"?d:this.b.nodeType!=1?0:this.c?-1:1;if(typeof void 0==\"number\")t" - "his.a=void 0}this.a=g!=undefined?g:this.d||0;if(this.c)this.a*=-1;this.e=" - "!c}f(P,function(){});P.prototype.b=null;P.prototype.d=0;f(function(a,b,c," - "d){P.call(this,a,b,c,null,d)},P);String.fromCharCode(160);\nvar Q=[\"chec" - "kbox\",\"radio\"];function R(a){var b;a:{b=a.tagName.toUpperCase();if(b==" - "\"OPTION\")b=true;else{if(b==\"INPUT\")if(r(Q,a.type)>=0){b=true;break a}" - "b=false}}if(!b)return false;b=\"selected\";var c=a.type&&a.type.toLowerCa" - "se();if(\"checkbox\"==c||\"radio\"==c)b=\"checked\";return!!a[b]}var S=\"" - "_\".split(\".\"),T=e;!(S[0]in T)&&T.execScript&&T.execScript(\"var \"+S[0" - "]);for(var U;S.length&&(U=S.shift());)if(!S.length&&R!==undefined)T[U]=R;" - "else T=T[U]?T[U]:T[U]={};; return _.apply(null,arguments);}"; - -const char* const SET_SELECTED = - "function(){var l=this;\nfunction m(a){var b=typeof a;if(b==\"object\")if(" - "a){if(a instanceof Array)return\"array\";else if(a instanceof Object)retu" - "rn b;var c=Object.prototype.toString.call(a);if(c==\"[object Window]\")re" - "turn\"object\";if(c==\"[object Array]\"||typeof a.length==\"number\"&&typ" - "eof a.splice!=\"undefined\"&&typeof a.propertyIsEnumerable!=\"undefined\"" - "&&!a.propertyIsEnumerable(\"splice\"))return\"array\";if(c==\"[object Fun" - "ction]\"||typeof a.call!=\"undefined\"&&typeof a.propertyIsEnumerable!=\"" - "undefined\"&&!a.propertyIsEnumerable(\"call\"))return\"function\"}else re" - "turn\"null\";else if(b==\n\"function\"&&typeof a.call==\"undefined\")retu" - "rn\"object\";return b}Math.floor(Math.random()*2147483648).toString(36);f" - "unction n(a,b){function c(){}c.prototype=b.prototype;a.i=b.prototype;a.pr" - "ototype=new c};function o(a){this.stack=Error().stack||\"\";if(a)this.mes" - "sage=String(a)}n(o,Error);o.prototype.name=\"CustomError\";function q(a,b" - "){o.call(this,b);this.code=a;this.name=r[a]||r[13]}n(q,o);var r,aa={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},ba={};for(v" - "ar ca in aa)ba[aa[ca]]=ca;r=ba;\nq.prototype.toString=function(){return\"" - "[\"+this.name+\"] \"+this.message};function da(a){for(var b=1;bb)return 1;ret" - "urn 0}var ea={};function fa(a){return ea[a]||(ea[a]=String(a).replace(/" - "\\-([a-z])/g,function(b,c){return c.toUpperCase()}))};function v(a,b){b.u" - "nshift(a);o.call(this,da.apply(null,b));b.shift();this.l=a}n(v,o);v.proto" - "type.name=\"AssertionError\";function ga(a,b){if(!a){var c=Array.prototyp" - "e.slice.call(arguments,2),d=\"Assertion failed\";if(b){d+=\": \"+b;var f=" - "c}throw new v(\"\"+d,f||[]);}return a};var w=Array.prototype,x=w.indexOf?" - "function(a,b,c){ga(a.length!=null);return w.indexOf.call(a,b,c)}:function" - "(a,b,c){c=c==null?0:c<0?Math.max(0,a.length+c):c;if(typeof a==\"string\")" - "{if(typeof b!=\"string\"||b.length!=1)return-1;return a.indexOf(b,c)}for(" - "c=c;cparseFloat(I)){H=String(la);bre" - "ak a}}H=I}var na={};\nfunction L(a){var b;if(!(b=na[a])){b=0;var c=s(Stri" - "ng(H)).split(\".\"),d=s(String(a)).split(\".\"),f=Math.max(c.length,d.len" - "gth);for(var e=0;b==0&&e=0}return b};var oa;!E||L(\"9\");E&&L(\"9\");funct" - "ion M(a,b){this.x=a!==undefined?a:0;this.y=b!==undefined?b:0}M.prototype." - "toString=function(){return\"(\"+this.x+\", \"+this.y+\")\"};function N(a," - "b){this.width=a;this.height=b}N.prototype.toString=function(){return\"(\"" - "+this.width+\" x \"+this.height+\")\"};N.prototype.floor=function(){this." - "width=Math.floor(this.width);this.height=Math.floor(this.height);return t" - "his};function pa(a){return a?new qa(O(a)):oa||(oa=new qa)}function P(a){r" - "eturn a?a.parentWindow||a.defaultView:window}function O(a){return a.nodeT" - "ype==9?a:a.ownerDocument||a.document}function ra(a,b){var c=[];return sa(" - "a,b,c,true)?c[0]:undefined}function sa(a,b,c,d){if(a!=null){var f=0;for(v" - "ar e;e=a.childNodes[f];f++){if(b(e)){c.push(e);if(d)return true}if(sa(e,b" - ",c,d))return true}}return false}\nfunction ta(a,b,c,d){if(!c)a=a.parentNo" - "de;c=d==null;for(var f=0;a&&(c||f<=d);){if(b(a))return a;a=a.parentNode;f" - "++}return null}function qa(a){this.e=a||l.document||document}function ua(" - "a){a=!G&&a.e.compatMode==\"CSS1Compat\"?a.e.documentElement:a.e.body;retu" - "rn new M(a.scrollLeft,a.scrollTop)};function va(a,b){try{var c;if(typeof " - "b.selectSingleNode!=\"undefined\"){var d=O(b);typeof d.setProperty!=\"und" - "efined\"&&d.setProperty(\"SelectionLanguage\",\"XPath\");c=b.selectSingle" - "Node(a)}else if(document.implementation.hasFeature(\"XPath\",\"3.0\")){d=" - "O(b);var f=d.createNSResolver(d.documentElement);c=d.evaluate(a,b,f,XPath" - "Result.FIRST_ORDERED_NODE_TYPE,null).singleNodeValue}else c=null}catch(e)" - "{return null}if(!c)return null;if(c.nodeType!=1)throw Error(\"Returned no" - "de is not an element: \"+a);return c};var wa=\"StopIteration\"in l?l.Stop" - "Iteration:Error(\"StopIteration\");function xa(){}xa.prototype.next=funct" - "ion(){throw wa;};function Q(a,b,c,d,f){this.a=!!b;a&&R(this,a,d);this.d=f" - "!=undefined?f:this.c||0;if(this.a)this.d*=-1;this.h=!c}n(Q,xa);Q.prototyp" - "e.b=null;Q.prototype.c=0;Q.prototype.g=false;function R(a,b,c,d){if(a.b=b" - ")a.c=typeof c==\"number\"?c:a.b.nodeType!=1?0:a.a?-1:1;if(typeof d==\"num" - "ber\")a.d=d}\nQ.prototype.next=function(){var a;if(this.g){if(!this.b||th" - "is.h&&this.d==0)throw wa;a=this.b;var b=this.a?-1:1;if(this.c==b){var c=t" - "his.a?a.lastChild:a.firstChild;c?R(this,c):R(this,a,b*-1)}else(c=this.a?a" - ".previousSibling:a.nextSibling)?R(this,c):R(this,a.parentNode,b*-1);this." - "d+=this.c*(this.a?-1:1)}else this.g=true;a=this.b;if(!this.b)throw wa;ret" - "urn a};\nQ.prototype.splice=function(){var a=this.b,b=this.a?1:-1;if(this" - ".c==b){this.c=b*-1;this.d+=this.c*(this.a?-1:1)}this.a=!this.a;Q.prototyp" - "e.next.call(this);this.a=!this.a;b=arguments[0];var c=m(b);b=c==\"array\"" - "||c==\"object\"&&typeof b.length==\"number\"?arguments[0]:arguments;for(c" - "=b.length-1;c>=0;c--)a.parentNode&&a.parentNode.insertBefore(b[c],a.nextS" - "ibling);a&&a.parentNode&&a.parentNode.removeChild(a)};function ya(a,b,c,d" - "){Q.call(this,a,b,c,null,d)}n(ya,Q);ya.prototype.next=function(){do ya.i." - "next.call(this);while(this.c==-1);return this.b};function za(a,b){var c=O" - "(a);if(c.defaultView&&c.defaultView.getComputedStyle)if(c=c.defaultView.g" - "etComputedStyle(a,null))return c[b]||c.getPropertyValue(b);return\"\"}fun" - "ction S(a,b){return za(a,b)||(a.currentStyle?a.currentStyle[b]:null)||a.s" - "tyle[b]}function Aa(a){var b=a.getBoundingClientRect();if(E){a=a.ownerDoc" - "ument;b.left-=a.documentElement.clientLeft+a.body.clientLeft;b.top-=a.doc" - "umentElement.clientTop+a.body.clientTop}return b}\nfunction Ba(a){if(E)re" - "turn a.offsetParent;var b=O(a),c=S(a,\"position\"),d=c==\"fixed\"||c==\"a" - "bsolute\";for(a=a.parentNode;a&&a!=b;a=a.parentNode){c=S(a,\"position\");" - "d=d&&c==\"static\"&&a!=b.documentElement&&a!=b.body;if(!d&&(a.scrollWidth" - ">a.clientWidth||a.scrollHeight>a.clientHeight||c==\"fixed\"||c==\"absolut" - "e\"))return a}return null};function T(a,b){return!!a&&a.nodeType==1&&(!b|" - "|a.tagName.toUpperCase()==b)}\nvar Ca={\"class\":\"className\",readonly:" - "\"readOnly\"},Da=[\"async\",\"autofocus\",\"autoplay\",\"checked\",\"comp" - "act\",\"complete\",\"controls\",\"declare\",\"defaultchecked\",\"defaults" - "elected\",\"defer\",\"disabled\",\"draggable\",\"ended\",\"formnovalidate" - "\",\"hidden\",\"indeterminate\",\"iscontenteditable\",\"ismap\",\"itemsco" - "pe\",\"loop\",\"multiple\",\"muted\",\"nohref\",\"noresize\",\"noshade\"," - "\"novalidate\",\"nowrap\",\"open\",\"paused\",\"pubdate\",\"readonly\",\"" - "required\",\"reversed\",\"scoped\",\"seamless\",\"seeking\",\"selected\"," - "\"spellcheck\",\"truespeed\",\"willvalidate\"];\nfunction Ea(a,b){if(8==a" - ".nodeType)return null;b=b.toLowerCase();if(b==\"style\"){var c=s(a.style." - "cssText).toLowerCase();return c.charAt(c.length-1)==\";\"?c:c+\";\"}c=a.g" - "etAttributeNode(b);if(E)if(!c&&L(8)&&x(Da,b)>=0)c=a[b];if(!c)return null;" - "if(x(Da,b)>=0)return E&&c.value==\"false\"?null:\"true\";return c.specifi" - "ed?c.value:null}var Fa=[\"BUTTON\",\"INPUT\",\"OPTGROUP\",\"OPTION\",\"SE" - "LECT\",\"TEXTAREA\"];\nfunction Ga(a){var b=a.tagName.toUpperCase();if(!(" - "x(Fa,b)>=0))return true;if(Ea(a,\"disabled\"))return false;if(a.parentNod" - "e&&a.parentNode.nodeType==1&&\"OPTGROUP\"==b||\"OPTION\"==b)return Ga(a.p" - "arentNode);return true}function Ha(a){for(a=a.parentNode;a&&a.nodeType!=1" - "&&a.nodeType!=9&&a.nodeType!=11;)a=a.parentNode;return T(a)?a:null}functi" - "on U(a,b){b=fa(String(b));return za(a,b)||Ia(a,b)}\nfunction Ia(a,b){var " - "c=(a.currentStyle||a.style)[b];if(c!=\"inherit\")return c!==undefined?c:n" - "ull;return(c=Ha(a))?Ia(c,b):null}\nfunction Ja(a){if(m(a.getBBox)==\"func" - "tion\")return a.getBBox();var b;var c=D&&!L(\"10\");if(S(a,\"display\")!=" - "\"none\")b=c?new N(a.offsetWidth||a.clientWidth,a.offsetHeight||a.clientH" - "eight):new N(a.offsetWidth,a.offsetHeight);else{b=a.style;var d=b.display" - ",f=b.visibility,e=b.position;b.visibility=\"hidden\";b.position=\"absolut" - "e\";b.display=\"inline\";if(c){c=a.offsetWidth||a.clientWidth;a=a.offsetH" - "eight||a.clientHeight}else{c=a.offsetWidth;a=a.offsetHeight}b.display=d;b" - ".position=e;b.visibility=f;b=new N(c,a)}return b}\nfunction V(a,b){functi" - "on c(e){if(U(e,\"display\")==\"none\")return false;e=Ha(e);return!e||c(e)" - "}function d(e){var j=Ja(e);if(j.height>0&&j.width>0)return true;if(e.inne" - "rText||e.textContent)if(Ka.test(e.innerText||e.textContent))return true;r" - "eturn G&&ha(e.childNodes,function(g){return T(g)&&d(g)})}if(!T(a))throw E" - "rror(\"Argument to isShown must be of type Element\");if(T(a,\"TITLE\"))r" - "eturn P(O(a))==l;if(T(a,\"OPTION\")||T(a,\"OPTGROUP\")){var f=ta(a,functi" - "on(e){return T(e,\"SELECT\")});return!!f&&V(f)}if(T(a,\"MAP\")){if(!a.nam" - "e)return false;\nf=O(a);f=f.evaluate?va('/descendant::*[@usemap = \"#'+a." - "name+'\"]',f):ra(f,function(e){return T(e)&&Ea(e,\"usemap\")==\"#\"+a.nam" - "e});return!!f&&V(f)}if(T(a,\"AREA\")){f=ta(a,function(e){return T(e,\"MAP" - "\")});return!!f&&V(f)}if(T(a,\"INPUT\")&&a.type.toLowerCase()==\"hidden\"" - ")return false;if(U(a,\"visibility\")==\"hidden\")return false;if(!c(a))re" - "turn false;if(!b&&La(a)==0)return false;if(!d(a))return false;return true" - "}var Ma=\"[\\\\s\\\\xa0\"+String.fromCharCode(160)+\"]+\",Ka=RegExp(\"^\"" - "+Ma+\"$\");\nfunction La(a){if(E){if(U(a,\"position\")==\"relative\")retu" - "rn 1;a=U(a,\"filter\");return(a=a.match(/^alpha\\(opacity=(\\d*)\\)/)||a." - "match(/^progid:DXImageTransform.Microsoft.Alpha\\(Opacity=(\\d*)\\)/))?Nu" - "mber(a[1])/100:1}else return Na(a)}function Na(a){var b=1,c=U(a,\"opacity" - "\");if(c)b=Number(c);if(a=Ha(a))b*=Na(a);return b};var Oa=E?1:0,Pa=[\"dra" - "gstart\",\"dragexit\",\"mouseover\",\"mouseout\"];\nfunction W(a,b,c){var" - " d=O(a),f=P(d),e=new M;if(a.nodeType==1)if(a.getBoundingClientRect){var j" - "=Aa(a);e.x=j.left;e.y=j.top}else{j=ua(pa(a));var g,h=O(a),t=S(a,\"positio" - "n\"),p=F&&h.getBoxObjectFor&&!a.getBoundingClientRect&&t==\"absolute\"&&(" - "g=h.getBoxObjectFor(a))&&(g.screenX<0||g.screenY<0),i=new M(0,0),k;g=h?h." - "nodeType==9?h:O(h):document;if(k=E)k=pa(g).e.compatMode!=\"CSS1Compat\";k" - "=k?g.body:g.documentElement;if(a!=k)if(a.getBoundingClientRect){g=Aa(a);h" - "=ua(pa(h));i.x=g.left+h.x;i.y=g.top+h.y}else if(h.getBoxObjectFor&&\n!p){" - "g=h.getBoxObjectFor(a);h=h.getBoxObjectFor(k);i.x=g.screenX-h.screenX;i.y" - "=g.screenY-h.screenY}else{g=a;do{i.x+=g.offsetLeft;i.y+=g.offsetTop;if(g!" - "=a){i.x+=g.clientLeft||0;i.y+=g.clientTop||0}if(G&&S(g,\"position\")==\"f" - "ixed\"){i.x+=h.body.scrollLeft;i.y+=h.body.scrollTop;break}g=g.offsetPare" - "nt}while(g&&g!=a);if(D||G&&t==\"absolute\")i.y-=h.body.offsetTop;for(g=a;" - "(g=Ba(g))&&g!=h.body&&g!=k;){i.x-=g.scrollLeft;if(!D||g.tagName!=\"TR\")i" - ".y-=g.scrollTop}}e.x=i.x-j.x;e.y=i.y-j.y}else{j=m(a.f)==\"function\";\ni=" - "a;if(a.targetTouches)i=a.targetTouches[0];else if(j&&a.f().targetTouches)" - "i=a.f().targetTouches[0];e.x=i.clientX;e.y=i.clientY}k=c||{};c=(k.x||0)+e" - ".x;e=(k.y||0)+e.y;j=k.button||Oa;i=k.bubble||true;h=null;if(x(Pa,b)>=0)h=" - "k.related||null;t=!!k.alt;g=!!k.control;p=!!k.shift;k=!!k.meta;if(a.fireE" - "vent&&d&&d.createEventObject){a=d.createEventObject();a.altKey=t;a.j=g;a." - "metaKey=k;a.shiftKey=p;a.clientX=c;a.clientY=e;a.button=j;a.relatedTarget" - "=h}else{a=d.createEvent(\"MouseEvents\");if(a.initMouseEvent)a.initMouseE" - "vent(b,\ni,true,f,1,0,0,c,e,g,t,p,k,j,h);else{a.initEvent(b,i,true);a.shi" - "ftKey=p;a.metaKey=k;a.altKey=t;a.ctrlKey=g;a.button=j}}return a}\nfunctio" - "n Qa(a,b,c){var d=O(a);a=P(d);var f=c||{};c=f.keyCode||0;var e=f.charCode" - "||0,j=!!f.alt,g=!!f.ctrl,h=!!f.shift;f=!!f.meta;if(F){d=d.createEvent(\"K" - "eyboardEvent\");d.initKeyEvent(b,true,true,a,g,j,h,f,c,e)}else{if(E)d=d.c" - "reateEventObject();else{d=d.createEvent(\"Events\");d.initEvent(b,true,tr" - "ue);d.charCode=e}d.keyCode=c;d.altKey=j;d.ctrlKey=g;d.metaKey=f;d.shiftKe" - "y=h}return d}\nfunction Ra(a,b,c){var d=O(a),f=c||{};c=f.bubble!==false;v" - "ar e=!!f.alt,j=!!f.control,g=!!f.shift;f=!!f.meta;if(a.fireEvent&&d&&d.cr" - "eateEventObject){a=d.createEventObject();a.altKey=e;a.k=j;a.metaKey=f;a.s" - "hiftKey=g}else{a=d.createEvent(\"HTMLEvents\");a.initEvent(b,c,true);a.sh" - "iftKey=g;a.metaKey=f;a.altKey=e;a.ctrlKey=j}return a}var X={};X.click=W;X" - ".keydown=Qa;X.keypress=Qa;X.keyup=Qa;X.mousedown=W;X.mousemove=W;X.mouseo" - "ut=W;X.mouseover=W;X.mouseup=W;\nfunction Sa(a,b,c){c=(X[b]||Ra)(a,b,c);v" - "ar d;if(!(d=m(a.fireEvent)==\"function\")){d=m(a.fireEvent);d=d==\"object" - "\"||d==\"array\"||d==\"function\"}if(d){try{P(O(a)).event=c}catch(f){}a=a" - ".fireEvent(\"on\"+b,c)}else a=a.dispatchEvent(c);return a};function Ta(a)" - "{var b;if(T(a,\"OPTION\"))b=true;else if(T(a,\"INPUT\")){b=a.type.toLower" - "Case();b=b==\"checkbox\"||b==\"radio\"}else b=false;if(!b)throw new q(15," - "\"Element is not selectable\");b=\"selected\";var c=a.type&&a.type.toLowe" - "rCase();if(\"checkbox\"==c||\"radio\"==c)b=\"checked\";return!!a[Ca[b]||b" - "]}function Ua(a){return T(a,\"SELECT\")};function Va(a,b){if(!Ga(a))throw" - " new q(12,\"Element is not currently enabled and may not be manipulated\"" - ");if(!V(a,true))throw new q(11,\"Element is not currently visible and may" - " not be manipulated\");if(T(a,\"INPUT\")){var c=a.type.toLowerCase();if(c" - "==\"checkbox\"||c==\"radio\"){if(a.checked!=b){if(a.type==\"radio\"&&!b)t" - "hrow new q(12,\"You may not deselect a radio button\");if(b!=Ta(a)){a.che" - "cked=b;Sa(a,\"change\")}}}else throw new q(15,\"You may not select an uns" - "electable input element: \"+a.type);}else if(T(a,\n\"OPTION\")){c=ta(a,Ua" - ");if(!c.multiple&&!b)throw new q(15,\"You may not deselect an option with" - "in a select that does not support multiple selections.\");if(b!=Ta(a)){a." - "selected=b;Sa(c,\"change\")}}else throw new q(15,\"You may not select an " - "unselectable element: \"+a.tagName);}var Y=\"_\".split(\".\"),Z=l;!(Y[0]i" - "n Z)&&Z.execScript&&Z.execScript(\"var \"+Y[0]);for(var $;Y.length&&($=Y." - "shift());)if(!Y.length&&Va!==undefined)Z[$]=Va;else Z=Z[$]?Z[$]:Z[$]={};;" - " return _.apply(null,arguments);}"; - -const char* const SUBMIT = - "function(){var l=this;\nfunction m(a){var b=typeof a;if(b==\"object\")if(" - "a){if(a instanceof Array)return\"array\";else if(a instanceof Object)retu" - "rn b;var c=Object.prototype.toString.call(a);if(c==\"[object Window]\")re" - "turn\"object\";if(c==\"[object Array]\"||typeof a.length==\"number\"&&typ" - "eof a.splice!=\"undefined\"&&typeof a.propertyIsEnumerable!=\"undefined\"" - "&&!a.propertyIsEnumerable(\"splice\"))return\"array\";if(c==\"[object Fun" - "ction]\"||typeof a.call!=\"undefined\"&&typeof a.propertyIsEnumerable!=\"" - "undefined\"&&!a.propertyIsEnumerable(\"call\"))return\"function\"}else re" - "turn\"null\";else if(b==\n\"function\"&&typeof a.call==\"undefined\")retu" - "rn\"object\";return b}Math.floor(Math.random()*2147483648).toString(36);f" - "unction n(a,b){function c(){}c.prototype=b.prototype;a.i=b.prototype;a.pr" - "ototype=new c};function o(a){this.stack=Error().stack||\"\";if(a)this.mes" - "sage=String(a)}n(o,Error);o.prototype.name=\"CustomError\";function p(a,b" - "){o.call(this,b);this.code=a;this.name=r[a]||r[13]}n(p,o);var r,t={NoSuch" - "ElementError:7,NoSuchFrameError:8,UnknownCommandError:9,StaleElementRefer" - "enceError:10,ElementNotVisibleError:11,InvalidElementStateError:12,Unknow" - "nError:13,ElementNotSelectableError:15,XPathLookupError:19,NoSuchWindowEr" - "ror:23,InvalidCookieDomainError:24,UnableToSetCookieError:25,ModalDialogO" - "penedError:26,ModalDialogOpenError:27,ScriptTimeoutError:28},u={};for(var" - " v in t)u[t[v]]=v;r=u;\np.prototype.toString=function(){return\"[\"+this." - "name+\"] \"+this.message};function aa(a){for(var b=1;bb)return 1;return 0};f" - "unction x(a,b){b.unshift(a);o.call(this,aa.apply(null,b));b.shift();this." - "l=a}n(x,o);x.prototype.name=\"AssertionError\";function ca(a,b){if(!a){va" - "r c=Array.prototype.slice.call(arguments,2),d=\"Assertion failed\";if(b){" - "d+=\": \"+b;var f=c}throw new x(\"\"+d,f||[]);}return a};var da=Array.pro" - "totype,ea=da.indexOf?function(a,b,c){ca(a.length!=null);return da.indexOf" - ".call(a,b,c)}:function(a,b,c){c=c==null?0:c<0?Math.max(0,a.length+c):c;if" - "(typeof a==\"string\"){if(typeof b!=\"string\"||b.length!=1)return-1;retu" - "rn a.indexOf(b,c)}for(c=c;cparseFloat(I)){" - "H=String(L);break a}}H=I}var M={};var ja;!E||M[\"9\"]||(M[\"9\"]=ba(H,\"9" - "\")>=0);E&&(M[\"9\"]||(M[\"9\"]=ba(H,\"9\")>=0));function N(a,b){this.x=a" - "!==undefined?a:0;this.y=b!==undefined?b:0}N.prototype.toString=function()" - "{return\"(\"+this.x+\", \"+this.y+\")\"};function O(a){return a?new ka(P(" - "a)):ja||(ja=new ka)}function P(a){return a.nodeType==9?a:a.ownerDocument|" - "|a.document}function ka(a){this.e=a||l.document||document}function la(a){" - "a=!G&&a.e.compatMode==\"CSS1Compat\"?a.e.documentElement:a.e.body;return " - "new N(a.scrollLeft,a.scrollTop)};var Q=\"StopIteration\"in l?l.StopIterat" - "ion:Error(\"StopIteration\");function ma(){}ma.prototype.next=function(){" - "throw Q;};function R(a,b,c,d,f){this.a=!!b;a&&S(this,a,d);this.d=f!=undef" - "ined?f:this.c||0;if(this.a)this.d*=-1;this.h=!c}n(R,ma);R.prototype.b=nul" - "l;R.prototype.c=0;R.prototype.g=false;function S(a,b,c,d){if(a.b=b)a.c=ty" - "peof c==\"number\"?c:a.b.nodeType!=1?0:a.a?-1:1;if(typeof d==\"number\")a" - ".d=d}\nR.prototype.next=function(){var a;if(this.g){if(!this.b||this.h&&t" - "his.d==0)throw Q;a=this.b;var b=this.a?-1:1;if(this.c==b){var c=this.a?a." - "lastChild:a.firstChild;c?S(this,c):S(this,a,b*-1)}else(c=this.a?a.previou" - "sSibling:a.nextSibling)?S(this,c):S(this,a.parentNode,b*-1);this.d+=this." - "c*(this.a?-1:1)}else this.g=true;a=this.b;if(!this.b)throw Q;return a};\n" - "R.prototype.splice=function(){var a=this.b,b=this.a?1:-1;if(this.c==b){th" - "is.c=b*-1;this.d+=this.c*(this.a?-1:1)}this.a=!this.a;R.prototype.next.ca" - "ll(this);this.a=!this.a;b=arguments[0];var c=m(b);b=c==\"array\"||c==\"ob" - "ject\"&&typeof b.length==\"number\"?arguments[0]:arguments;for(c=b.length" - "-1;c>=0;c--)a.parentNode&&a.parentNode.insertBefore(b[c],a.nextSibling);a" - "&&a.parentNode&&a.parentNode.removeChild(a)};function T(a,b,c,d){R.call(t" - "his,a,b,c,null,d)}n(T,R);T.prototype.next=function(){do T.i.next.call(thi" - "s);while(this.c==-1);return this.b};function U(a,b){var c;a:{c=P(a);if(c." - "defaultView&&c.defaultView.getComputedStyle)if(c=c.defaultView.getCompute" - "dStyle(a,null)){c=c[b]||c.getPropertyValue(b);break a}c=\"\"}return c||(a" - ".currentStyle?a.currentStyle[b]:null)||a.style[b]}function na(a){var b=a." - "getBoundingClientRect();if(E){a=a.ownerDocument;b.left-=a.documentElement" - ".clientLeft+a.body.clientLeft;b.top-=a.documentElement.clientTop+a.body.c" - "lientTop}return b}\nfunction oa(a){if(E)return a.offsetParent;var b=P(a)," - "c=U(a,\"position\"),d=c==\"fixed\"||c==\"absolute\";for(a=a.parentNode;a&" - "&a!=b;a=a.parentNode){c=U(a,\"position\");d=d&&c==\"static\"&&a!=b.docume" - "ntElement&&a!=b.body;if(!d&&(a.scrollWidth>a.clientWidth||a.scrollHeight>" - "a.clientHeight||c==\"fixed\"||c==\"absolute\"))return a}return null};Stri" - "ng.fromCharCode(160);var pa=E?1:0,qa=[\"dragstart\",\"dragexit\",\"mouseo" - "ver\",\"mouseout\"];\nfunction V(a,b,c){var d=P(a),f=d?d.parentWindow||d." - "defaultView:window,k=new N;if(a.nodeType==1)if(a.getBoundingClientRect){v" - "ar j=na(a);k.x=j.left;k.y=j.top}else{j=la(O(a));var e,g=P(a),q=U(a,\"posi" - "tion\"),s=F&&g.getBoxObjectFor&&!a.getBoundingClientRect&&q==\"absolute\"" - "&&(e=g.getBoxObjectFor(a))&&(e.screenX<0||e.screenY<0),h=new N(0,0),i;e=g" - "?g.nodeType==9?g:P(g):document;if(i=E)i=O(e).e.compatMode!=\"CSS1Compat\"" - ";i=i?e.body:e.documentElement;if(a!=i)if(a.getBoundingClientRect){e=na(a)" - ";g=la(O(g));h.x=e.left+\ng.x;h.y=e.top+g.y}else if(g.getBoxObjectFor&&!s)" - "{e=g.getBoxObjectFor(a);g=g.getBoxObjectFor(i);h.x=e.screenX-g.screenX;h." - "y=e.screenY-g.screenY}else{e=a;do{h.x+=e.offsetLeft;h.y+=e.offsetTop;if(e" - "!=a){h.x+=e.clientLeft||0;h.y+=e.clientTop||0}if(G&&U(e,\"position\")==\"" - "fixed\"){h.x+=g.body.scrollLeft;h.y+=g.body.scrollTop;break}e=e.offsetPar" - "ent}while(e&&e!=a);if(D||G&&q==\"absolute\")h.y-=g.body.offsetTop;for(e=a" - ";(e=oa(e))&&e!=g.body&&e!=i;){h.x-=e.scrollLeft;if(!D||e.tagName!=\"TR\")" - "h.y-=e.scrollTop}}k.x=h.x-\nj.x;k.y=h.y-j.y}else{j=m(a.f)==\"function\";h" - "=a;if(a.targetTouches)h=a.targetTouches[0];else if(j&&a.f().targetTouches" - ")h=a.f().targetTouches[0];k.x=h.clientX;k.y=h.clientY}i=c||{};c=(i.x||0)+" - "k.x;k=(i.y||0)+k.y;j=i.button||pa;h=i.bubble||true;g=null;if(ea(qa,b)>=0)" - "g=i.related||null;q=!!i.alt;e=!!i.control;s=!!i.shift;i=!!i.meta;if(a.fir" - "eEvent&&d&&d.createEventObject){a=d.createEventObject();a.altKey=q;a.j=e;" - "a.metaKey=i;a.shiftKey=s;a.clientX=c;a.clientY=k;a.button=j;a.relatedTarg" - "et=g}else{a=d.createEvent(\"MouseEvents\");\nif(a.initMouseEvent)a.initMo" - "useEvent(b,h,true,f,1,0,0,c,k,e,q,s,i,j,g);else{a.initEvent(b,h,true);a.s" - "hiftKey=s;a.metaKey=i;a.altKey=q;a.ctrlKey=e;a.button=j}}return a}\nfunct" - "ion W(a,b,c){var d=P(a);a=d?d.parentWindow||d.defaultView:window;var f=c|" - "|{};c=f.keyCode||0;var k=f.charCode||0,j=!!f.alt,e=!!f.ctrl,g=!!f.shift;f" - "=!!f.meta;if(F){d=d.createEvent(\"KeyboardEvent\");d.initKeyEvent(b,true," - "true,a,e,j,g,f,c,k)}else{if(E)d=d.createEventObject();else{d=d.createEven" - "t(\"Events\");d.initEvent(b,true,true);d.charCode=k}d.keyCode=c;d.altKey=" - "j;d.ctrlKey=e;d.metaKey=f;d.shiftKey=g}return d}\nfunction ra(a,b,c){var " - "d=P(a),f=c||{};c=f.bubble!==false;var k=!!f.alt,j=!!f.control,e=!!f.shift" - ";f=!!f.meta;if(a.fireEvent&&d&&d.createEventObject){a=d.createEventObject" - "();a.altKey=k;a.k=j;a.metaKey=f;a.shiftKey=e}else{a=d.createEvent(\"HTMLE" - "vents\");a.initEvent(b,c,true);a.shiftKey=e;a.metaKey=f;a.altKey=k;a.ctrl" - "Key=j}return a}var X={};X.click=V;X.keydown=W;X.keypress=W;X.keyup=W;X.mo" - "usedown=V;X.mousemove=V;X.mouseout=V;X.mouseover=V;X.mouseup=V;function s" - "a(a){a:{a=a;for(var b=0;a;){if(a&&a.nodeType==1&&a.tagName.toUpperCase()=" - "=\"FORM\"){a=a;break a}a=a.parentNode;b++}a=null}if(!a)throw new p(12,\"E" - "lement was not in a form, so could not submit.\");b=a;var c=(X.submit||ra" - ")(b,\"submit\",void 0),d;if(!(d=m(b.fireEvent)==\"function\")){d=m(b.fire" - "Event);d=d==\"object\"||d==\"array\"||d==\"function\"}if(d){try{(P(b)?P(b" - ").parentWindow||P(b).defaultView:window).event=c}catch(f){}b=b.fireEvent(" - "\"onsubmit\",c)}else b=b.dispatchEvent(c);b&&a.submit()}\nvar Y=\"_\".spl" - "it(\".\"),Z=l;!(Y[0]in Z)&&Z.execScript&&Z.execScript(\"var \"+Y[0]);for(" - "var $;Y.length&&($=Y.shift());)if(!Y.length&&sa!==undefined)Z[$]=sa;else " - "Z=Z[$]?Z[$]:Z[$]={};; return _.apply(null,arguments);}"; - -const char* const TOGGLE = - "function(){var l=this;\nfunction m(a){var b=typeof a;if(b==\"object\")if(" - "a){if(a instanceof Array)return\"array\";else if(a instanceof Object)retu" - "rn b;var c=Object.prototype.toString.call(a);if(c==\"[object Window]\")re" - "turn\"object\";if(c==\"[object Array]\"||typeof a.length==\"number\"&&typ" - "eof a.splice!=\"undefined\"&&typeof a.propertyIsEnumerable!=\"undefined\"" - "&&!a.propertyIsEnumerable(\"splice\"))return\"array\";if(c==\"[object Fun" - "ction]\"||typeof a.call!=\"undefined\"&&typeof a.propertyIsEnumerable!=\"" - "undefined\"&&!a.propertyIsEnumerable(\"call\"))return\"function\"}else re" - "turn\"null\";else if(b==\n\"function\"&&typeof a.call==\"undefined\")retu" - "rn\"object\";return b}Math.floor(Math.random()*2147483648).toString(36);f" - "unction n(a,b){function c(){}c.prototype=b.prototype;a.i=b.prototype;a.pr" - "ototype=new c};function o(a){this.stack=Error().stack||\"\";if(a)this.mes" - "sage=String(a)}n(o,Error);o.prototype.name=\"CustomError\";function q(a,b" - "){o.call(this,b);this.code=a;this.name=r[a]||r[13]}n(q,o);var r,aa={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},ba={};for(v" - "ar ca in aa)ba[aa[ca]]=ca;r=ba;\nq.prototype.toString=function(){return\"" - "[\"+this.name+\"] \"+this.message};function da(a){for(var b=1;bb)return 1;ret" - "urn 0}var ea={};function fa(a){return ea[a]||(ea[a]=String(a).replace(/" - "\\-([a-z])/g,function(b,c){return c.toUpperCase()}))};function v(a,b){b.u" - "nshift(a);o.call(this,da.apply(null,b));b.shift();this.l=a}n(v,o);v.proto" - "type.name=\"AssertionError\";function ga(a,b){if(!a){var c=Array.prototyp" - "e.slice.call(arguments,2),d=\"Assertion failed\";if(b){d+=\": \"+b;var f=" - "c}throw new v(\"\"+d,f||[]);}return a};var w=Array.prototype,x=w.indexOf?" - "function(a,b,c){ga(a.length!=null);return w.indexOf.call(a,b,c)}:function" - "(a,b,c){c=c==null?0:c<0?Math.max(0,a.length+c):c;if(typeof a==\"string\")" - "{if(typeof b!=\"string\"||b.length!=1)return-1;return a.indexOf(b,c)}for(" - "c=c;cparseFloat(I)){H=String(ma)" - ";break a}}H=I}var oa={};\nfunction K(a){var b;if(!(b=oa[a])){b=0;var c=s(" - "String(H)).split(\".\"),d=s(String(a)).split(\".\"),f=Math.max(c.length,d" - ".length);for(var e=0;b==0&&e=0}return b};var pa;!E||K(\"9\");E&&K(\"9\");f" - "unction L(a,b){this.x=a!==undefined?a:0;this.y=b!==undefined?b:0}L.protot" - "ype.toString=function(){return\"(\"+this.x+\", \"+this.y+\")\"};function " - "M(a,b){this.width=a;this.height=b}M.prototype.toString=function(){return" - "\"(\"+this.width+\" x \"+this.height+\")\"};M.prototype.floor=function(){" - "this.width=Math.floor(this.width);this.height=Math.floor(this.height);ret" - "urn this};function qa(a){return a?new ra(N(a)):pa||(pa=new ra)}function O" - "(a){return a?a.parentWindow||a.defaultView:window}function N(a){return a." - "nodeType==9?a:a.ownerDocument||a.document}function sa(a,b){var c=[];retur" - "n ta(a,b,c,true)?c[0]:undefined}function ta(a,b,c,d){if(a!=null){var f=0;" - "for(var e;e=a.childNodes[f];f++){if(b(e)){c.push(e);if(d)return true}if(t" - "a(e,b,c,d))return true}}return false}\nfunction ua(a,b,c,d){if(!c)a=a.par" - "entNode;c=d==null;for(var f=0;a&&(c||f<=d);){if(b(a))return a;a=a.parentN" - "ode;f++}return null}function ra(a){this.e=a||l.document||document}functio" - "n va(a){a=!G&&a.e.compatMode==\"CSS1Compat\"?a.e.documentElement:a.e.body" - ";return new L(a.scrollLeft,a.scrollTop)};function wa(a,b){try{var c;if(ty" - "peof b.selectSingleNode!=\"undefined\"){var d=N(b);typeof d.setProperty!=" - "\"undefined\"&&d.setProperty(\"SelectionLanguage\",\"XPath\");c=b.selectS" - "ingleNode(a)}else if(document.implementation.hasFeature(\"XPath\",\"3.0\"" - ")){d=N(b);var f=d.createNSResolver(d.documentElement);c=d.evaluate(a,b,f," - "XPathResult.FIRST_ORDERED_NODE_TYPE,null).singleNodeValue}else c=null}cat" - "ch(e){return null}if(!c)return null;if(c.nodeType!=1)throw Error(\"Return" - "ed node is not an element: \"+a);return c};var xa=\"StopIteration\"in l?l" - ".StopIteration:Error(\"StopIteration\");function ya(){}ya.prototype.next=" - "function(){throw xa;};function P(a,b,c,d,f){this.a=!!b;a&&Q(this,a,d);thi" - "s.d=f!=undefined?f:this.c||0;if(this.a)this.d*=-1;this.h=!c}n(P,ya);P.pro" - "totype.b=null;P.prototype.c=0;P.prototype.g=false;function Q(a,b,c,d){if(" - "a.b=b)a.c=typeof c==\"number\"?c:a.b.nodeType!=1?0:a.a?-1:1;if(typeof d==" - "\"number\")a.d=d}\nP.prototype.next=function(){var a;if(this.g){if(!this." - "b||this.h&&this.d==0)throw xa;a=this.b;var b=this.a?-1:1;if(this.c==b){va" - "r c=this.a?a.lastChild:a.firstChild;c?Q(this,c):Q(this,a,b*-1)}else(c=thi" - "s.a?a.previousSibling:a.nextSibling)?Q(this,c):Q(this,a.parentNode,b*-1);" - "this.d+=this.c*(this.a?-1:1)}else this.g=true;a=this.b;if(!this.b)throw x" - "a;return a};\nP.prototype.splice=function(){var a=this.b,b=this.a?1:-1;if" - "(this.c==b){this.c=b*-1;this.d+=this.c*(this.a?-1:1)}this.a=!this.a;P.pro" - "totype.next.call(this);this.a=!this.a;b=arguments[0];var c=m(b);b=c==\"ar" - "ray\"||c==\"object\"&&typeof b.length==\"number\"?arguments[0]:arguments;" - "for(c=b.length-1;c>=0;c--)a.parentNode&&a.parentNode.insertBefore(b[c],a." - "nextSibling);a&&a.parentNode&&a.parentNode.removeChild(a)};function za(a," - "b,c,d){P.call(this,a,b,c,null,d)}n(za,P);za.prototype.next=function(){do " - "za.i.next.call(this);while(this.c==-1);return this.b};function Aa(a,b){va" - "r c=N(a);if(c.defaultView&&c.defaultView.getComputedStyle)if(c=c.defaultV" - "iew.getComputedStyle(a,null))return c[b]||c.getPropertyValue(b);return\"" - "\"}function R(a,b){return Aa(a,b)||(a.currentStyle?a.currentStyle[b]:null" - ")||a.style[b]}function Ba(a){var b=a.getBoundingClientRect();if(E){a=a.ow" - "nerDocument;b.left-=a.documentElement.clientLeft+a.body.clientLeft;b.top-" - "=a.documentElement.clientTop+a.body.clientTop}return b}\nfunction Ca(a){i" - "f(E)return a.offsetParent;var b=N(a),c=R(a,\"position\"),d=c==\"fixed\"||" - "c==\"absolute\";for(a=a.parentNode;a&&a!=b;a=a.parentNode){c=R(a,\"positi" - "on\");d=d&&c==\"static\"&&a!=b.documentElement&&a!=b.body;if(!d&&(a.scrol" - "lWidth>a.clientWidth||a.scrollHeight>a.clientHeight||c==\"fixed\"||c==\"a" - "bsolute\"))return a}return null};function S(a,b){return!!a&&a.nodeType==1" - "&&(!b||a.tagName.toUpperCase()==b)}\nvar Da={\"class\":\"className\",read" - "only:\"readOnly\"},Ea=[\"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\",\"selec" - "ted\",\"spellcheck\",\"truespeed\",\"willvalidate\"];\nfunction Fa(a,b){i" - "f(8==a.nodeType)return null;b=b.toLowerCase();if(b==\"style\"){var c=s(a." - "style.cssText).toLowerCase();return c.charAt(c.length-1)==\";\"?c:c+\";\"" - "}c=a.getAttributeNode(b);if(E)if(!c&&K(8)&&x(Ea,b)>=0)c=a[b];if(!c)return" - " null;if(x(Ea,b)>=0)return E&&c.value==\"false\"?null:\"true\";return c.s" - "pecified?c.value:null}var Ga=[\"BUTTON\",\"INPUT\",\"OPTGROUP\",\"OPTION" - "\",\"SELECT\",\"TEXTAREA\"];\nfunction Ha(a){var b=a.tagName.toUpperCase(" - ");if(!(x(Ga,b)>=0))return true;if(Fa(a,\"disabled\"))return false;if(a.pa" - "rentNode&&a.parentNode.nodeType==1&&\"OPTGROUP\"==b||\"OPTION\"==b)return" - " Ha(a.parentNode);return true}function Ia(a){for(a=a.parentNode;a&&a.node" - "Type!=1&&a.nodeType!=9&&a.nodeType!=11;)a=a.parentNode;return S(a)?a:null" - "}function T(a,b){b=fa(String(b));return Aa(a,b)||Ja(a,b)}\nfunction Ja(a," - "b){var c=(a.currentStyle||a.style)[b];if(c!=\"inherit\")return c!==undefi" - "ned?c:null;return(c=Ia(a))?Ja(c,b):null}\nfunction Ka(a){if(m(a.getBBox)=" - "=\"function\")return a.getBBox();var b;var c=D&&!K(\"10\");if(R(a,\"displ" - "ay\")!=\"none\")b=c?new M(a.offsetWidth||a.clientWidth,a.offsetHeight||a." - "clientHeight):new M(a.offsetWidth,a.offsetHeight);else{b=a.style;var d=b." - "display,f=b.visibility,e=b.position;b.visibility=\"hidden\";b.position=\"" - "absolute\";b.display=\"inline\";if(c){c=a.offsetWidth||a.clientWidth;a=a." - "offsetHeight||a.clientHeight}else{c=a.offsetWidth;a=a.offsetHeight}b.disp" - "lay=d;b.position=e;b.visibility=f;b=new M(c,a)}return b}\nfunction U(a,b)" - "{function c(e){if(T(e,\"display\")==\"none\")return false;e=Ia(e);return!" - "e||c(e)}function d(e){var j=Ka(e);if(j.height>0&&j.width>0)return true;if" - "(e.innerText||e.textContent)if(La.test(e.innerText||e.textContent))return" - " true;return G&&ha(e.childNodes,function(g){return S(g)&&d(g)})}if(!S(a))" - "throw Error(\"Argument to isShown must be of type Element\");if(S(a,\"TIT" - "LE\"))return O(N(a))==l;if(S(a,\"OPTION\")||S(a,\"OPTGROUP\")){var f=ua(a" - ",function(e){return S(e,\"SELECT\")});return!!f&&U(f)}if(S(a,\"MAP\")){if" - "(!a.name)return false;\nf=N(a);f=f.evaluate?wa('/descendant::*[@usemap = " - "\"#'+a.name+'\"]',f):sa(f,function(e){return S(e)&&Fa(e,\"usemap\")==\"#" - "\"+a.name});return!!f&&U(f)}if(S(a,\"AREA\")){f=ua(a,function(e){return S" - "(e,\"MAP\")});return!!f&&U(f)}if(S(a,\"INPUT\")&&a.type.toLowerCase()==\"" - "hidden\")return false;if(T(a,\"visibility\")==\"hidden\")return false;if(" - "!c(a))return false;if(!b&&Ma(a)==0)return false;if(!d(a))return false;ret" - "urn true}var Na=\"[\\\\s\\\\xa0\"+String.fromCharCode(160)+\"]+\",La=RegE" - "xp(\"^\"+Na+\"$\");\nfunction Ma(a){if(E){if(T(a,\"position\")==\"relativ" - "e\")return 1;a=T(a,\"filter\");return(a=a.match(/^alpha\\(opacity=(\\d*)" - "\\)/)||a.match(/^progid:DXImageTransform.Microsoft.Alpha\\(Opacity=(\\d*)" - "\\)/))?Number(a[1])/100:1}else return Oa(a)}function Oa(a){var b=1,c=T(a," - "\"opacity\");if(c)b=Number(c);if(a=Ia(a))b*=Oa(a);return b};var Pa=E?1:0," - "Qa=[\"dragstart\",\"dragexit\",\"mouseover\",\"mouseout\"];\nfunction V(a" - ",b,c){var d=N(a),f=O(d),e=new L;if(a.nodeType==1)if(a.getBoundingClientRe" - "ct){var j=Ba(a);e.x=j.left;e.y=j.top}else{j=va(qa(a));var g,h=N(a),t=R(a," - "\"position\"),p=F&&h.getBoxObjectFor&&!a.getBoundingClientRect&&t==\"abso" - "lute\"&&(g=h.getBoxObjectFor(a))&&(g.screenX<0||g.screenY<0),i=new L(0,0)" - ",k;g=h?h.nodeType==9?h:N(h):document;if(k=E)k=qa(g).e.compatMode!=\"CSS1C" - "ompat\";k=k?g.body:g.documentElement;if(a!=k)if(a.getBoundingClientRect){" - "g=Ba(a);h=va(qa(h));i.x=g.left+h.x;i.y=g.top+h.y}else if(h.getBoxObjectFo" - "r&&\n!p){g=h.getBoxObjectFor(a);h=h.getBoxObjectFor(k);i.x=g.screenX-h.sc" - "reenX;i.y=g.screenY-h.screenY}else{g=a;do{i.x+=g.offsetLeft;i.y+=g.offset" - "Top;if(g!=a){i.x+=g.clientLeft||0;i.y+=g.clientTop||0}if(G&&R(g,\"positio" - "n\")==\"fixed\"){i.x+=h.body.scrollLeft;i.y+=h.body.scrollTop;break}g=g.o" - "ffsetParent}while(g&&g!=a);if(D||G&&t==\"absolute\")i.y-=h.body.offsetTop" - ";for(g=a;(g=Ca(g))&&g!=h.body&&g!=k;){i.x-=g.scrollLeft;if(!D||g.tagName!" - "=\"TR\")i.y-=g.scrollTop}}e.x=i.x-j.x;e.y=i.y-j.y}else{j=m(a.f)==\"functi" - "on\";\ni=a;if(a.targetTouches)i=a.targetTouches[0];else if(j&&a.f().targe" - "tTouches)i=a.f().targetTouches[0];e.x=i.clientX;e.y=i.clientY}k=c||{};c=(" - "k.x||0)+e.x;e=(k.y||0)+e.y;j=k.button||Pa;i=k.bubble||true;h=null;if(x(Qa" - ",b)>=0)h=k.related||null;t=!!k.alt;g=!!k.control;p=!!k.shift;k=!!k.meta;i" - "f(a.fireEvent&&d&&d.createEventObject){a=d.createEventObject();a.altKey=t" - ";a.j=g;a.metaKey=k;a.shiftKey=p;a.clientX=c;a.clientY=e;a.button=j;a.rela" - "tedTarget=h}else{a=d.createEvent(\"MouseEvents\");if(a.initMouseEvent)a.i" - "nitMouseEvent(b,\ni,true,f,1,0,0,c,e,g,t,p,k,j,h);else{a.initEvent(b,i,tr" - "ue);a.shiftKey=p;a.metaKey=k;a.altKey=t;a.ctrlKey=g;a.button=j}}return a}" - "\nfunction Ra(a,b,c){var d=N(a);a=O(d);var f=c||{};c=f.keyCode||0;var e=f" - ".charCode||0,j=!!f.alt,g=!!f.ctrl,h=!!f.shift;f=!!f.meta;if(F){d=d.create" - "Event(\"KeyboardEvent\");d.initKeyEvent(b,true,true,a,g,j,h,f,c,e)}else{i" - "f(E)d=d.createEventObject();else{d=d.createEvent(\"Events\");d.initEvent(" - "b,true,true);d.charCode=e}d.keyCode=c;d.altKey=j;d.ctrlKey=g;d.metaKey=f;" - "d.shiftKey=h}return d}\nfunction Sa(a,b,c){var d=N(a),f=c||{};c=f.bubble!" - "==false;var e=!!f.alt,j=!!f.control,g=!!f.shift;f=!!f.meta;if(a.fireEvent" - "&&d&&d.createEventObject){a=d.createEventObject();a.altKey=e;a.k=j;a.meta" - "Key=f;a.shiftKey=g}else{a=d.createEvent(\"HTMLEvents\");a.initEvent(b,c,t" - "rue);a.shiftKey=g;a.metaKey=f;a.altKey=e;a.ctrlKey=j}return a}var W={};W." - "click=V;W.keydown=Ra;W.keypress=Ra;W.keyup=Ra;W.mousedown=V;W.mousemove=V" - ";W.mouseout=V;W.mouseover=V;W.mouseup=V;\nfunction Ta(a,b,c){c=(W[b]||Sa)" - "(a,b,c);var d;if(!(d=m(a.fireEvent)==\"function\")){d=m(a.fireEvent);d=d=" - "=\"object\"||d==\"array\"||d==\"function\"}if(d){try{O(N(a)).event=c}catc" - "h(f){}a=a.fireEvent(\"on\"+b,c)}else a=a.dispatchEvent(c);return a};funct" - "ion X(a){var b;if(S(a,\"OPTION\"))b=true;else if(S(a,\"INPUT\")){b=a.type" - ".toLowerCase();b=b==\"checkbox\"||b==\"radio\"}else b=false;if(!b)throw n" - "ew q(15,\"Element is not selectable\");b=\"selected\";var c=a.type&&a.typ" - "e.toLowerCase();if(\"checkbox\"==c||\"radio\"==c)b=\"checked\";return!!a[" - "Da[b]||b]}function Ua(a){return S(a,\"SELECT\")};function Va(a){if(S(a,\"" - "INPUT\")&&\"radio\"==a.type)throw new q(12,\"You may not toggle a radio b" - "utton\");var b=!X(a);if(!Ha(a))throw new q(12,\"Element is not currently " - "enabled and may not be manipulated\");if(!U(a,true))throw new q(11,\"Elem" - "ent is not currently visible and may not be manipulated\");if(S(a,\"INPUT" - "\")){var c=a.type.toLowerCase();if(c==\"checkbox\"||c==\"radio\"){if(a.ch" - "ecked!=b){if(a.type==\"radio\"&&!b)throw new q(12,\"You may not deselect " - "a radio button\");if(b!=X(a)){a.checked=b;Ta(a,\"change\")}}}else throw n" - "ew q(15,\n\"You may not select an unselectable input element: \"+a.type);" - "}else if(S(a,\"OPTION\")){c=ua(a,Ua);if(!c.multiple&&!b)throw new q(15,\"" - "You may not deselect an option within a select that does not support mult" - "iple selections.\");if(b!=X(a)){a.selected=b;Ta(c,\"change\")}}else throw" - " new q(15,\"You may not select an unselectable element: \"+a.tagName);ret" - "urn X(a)}var Y=\"_\".split(\".\"),Z=l;!(Y[0]in Z)&&Z.execScript&&Z.execSc" - "ript(\"var \"+Y[0]);\nfor(var $;Y.length&&($=Y.shift());)if(!Y.length&&Va" - "!==undefined)Z[$]=Va;else Z=Z[$]?Z[$]:Z[$]={};; return _.apply(null,argum" - "ents);}"; - -} // namespace atoms -} // namespace webdriver - -#endif // WEBDRIVER_ATOMS_H_ +// 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 CLEAR = + "function(){var l=this;\nfunction m(a){var b=typeof a;if(b==\"object\")if(" + "a){if(a instanceof Array)return\"array\";else if(a instanceof Object)retu" + "rn b;var c=Object.prototype.toString.call(a);if(c==\"[object Window]\")re" + "turn\"object\";if(c==\"[object Array]\"||typeof a.length==\"number\"&&typ" + "eof a.splice!=\"undefined\"&&typeof a.propertyIsEnumerable!=\"undefined\"" + "&&!a.propertyIsEnumerable(\"splice\"))return\"array\";if(c==\"[object Fun" + "ction]\"||typeof a.call!=\"undefined\"&&typeof a.propertyIsEnumerable!=\"" + "undefined\"&&!a.propertyIsEnumerable(\"call\"))return\"function\"}else re" + "turn\"null\";else if(b==\n\"function\"&&typeof a.call==\"undefined\")retu" + "rn\"object\";return b}function n(a){return m(a)==\"function\"}function o(" + "a){a=m(a);return a==\"object\"||a==\"array\"||a==\"function\"}Math.floor(" + "Math.random()*2147483648).toString(36);function q(a,b){function c(){}c.pr" + "ototype=b.prototype;a.i=b.prototype;a.prototype=new c};function r(a){this" + ".stack=Error().stack||\"\";if(a)this.message=String(a)}q(r,Error);r.proto" + "type.name=\"CustomError\";function t(a,b){r.call(this,b);this.code=a;this" + ".name=u[a]||u[13]}q(t,r);var u,aa={NoSuchElementError:7,NoSuchFrameError:" + "8,UnknownCommandError:9,StaleElementReferenceError:10,ElementNotVisibleEr" + "ror:11,InvalidElementStateError:12,UnknownError:13,ElementNotSelectableEr" + "ror:15,XPathLookupError:19,NoSuchWindowError:23,InvalidCookieDomainError:" + "24,UnableToSetCookieError:25,ModalDialogOpenedError:26,ModalDialogOpenErr" + "or:27,ScriptTimeoutError:28},ba={};for(var ca in aa)ba[aa[ca]]=ca;u=ba;\n" + "t.prototype.toString=function(){return\"[\"+this.name+\"] \"+this.message" + "};function da(a){for(var b=1;bb)return 1;return 0}var ea={};function fa(a){ret" + "urn ea[a]||(ea[a]=String(a).replace(/\\-([a-z])/g,function(b,c){return c." + "toUpperCase()}))};function x(a,b){b.unshift(a);r.call(this,da.apply(null," + "b));b.shift();this.l=a}q(x,r);x.prototype.name=\"AssertionError\";functio" + "n ga(a,b){if(!a){var c=Array.prototype.slice.call(arguments,2),d=\"Assert" + "ion failed\";if(b){d+=\": \"+b;var f=c}throw new x(\"\"+d,f||[]);}return " + "a};var y=Array.prototype,z=y.indexOf?function(a,b,c){ga(a.length!=null);r" + "eturn y.indexOf.call(a,b,c)}:function(a,b,c){c=c==null?0:c<0?Math.max(0,a" + ".length+c):c;if(typeof a==\"string\"){if(typeof b!=\"string\"||b.length!=" + "1)return-1;return a.indexOf(b,c)}for(c=c;cparseFloat(J)){ka=String(na);break a}}ka=J}var pa={};\nfunctio" + "n L(a){var b;if(!(b=pa[a])){b=0;var c=v(String(ka)).split(\".\"),d=v(Stri" + "ng(a)).split(\".\"),f=Math.max(c.length,d.length);for(var e=0;b==0&&e=0}re" + "turn b};var qa;!G||L(\"9\");G&&L(\"9\");function M(a,b){this.x=a!==undefi" + "ned?a:0;this.y=b!==undefined?b:0}M.prototype.toString=function(){return\"" + "(\"+this.x+\", \"+this.y+\")\"};function N(a,b){this.width=a;this.height=" + "b}N.prototype.toString=function(){return\"(\"+this.width+\" x \"+this.hei" + "ght+\")\"};N.prototype.floor=function(){this.width=Math.floor(this.width)" + ";this.height=Math.floor(this.height);return this};function ra(a){return a" + "?new sa(O(a)):qa||(qa=new sa)}function P(a){return a?a.parentWindow||a.de" + "faultView:window}function O(a){return a.nodeType==9?a:a.ownerDocument||a." + "document}function ta(a,b){var c=[];return ua(a,b,c,true)?c[0]:undefined}f" + "unction ua(a,b,c,d){if(a!=null){var f=0;for(var e;e=a.childNodes[f];f++){" + "if(b(e)){c.push(e);if(d)return true}if(ua(e,b,c,d))return true}}return fa" + "lse}\nfunction va(a,b,c,d){if(!c)a=a.parentNode;c=d==null;for(var f=0;a&&" + "(c||f<=d);){if(b(a))return a;a=a.parentNode;f++}return null}function sa(a" + "){this.e=a||l.document||document}function wa(a){a=!I&&a.e.compatMode==\"C" + "SS1Compat\"?a.e.documentElement:a.e.body;return new M(a.scrollLeft,a.scro" + "llTop)};function xa(a,b){try{var c;if(typeof b.selectSingleNode!=\"undefi" + "ned\"){var d=O(b);typeof d.setProperty!=\"undefined\"&&d.setProperty(\"Se" + "lectionLanguage\",\"XPath\");c=b.selectSingleNode(a)}else if(document.imp" + "lementation.hasFeature(\"XPath\",\"3.0\")){d=O(b);var f=d.createNSResolve" + "r(d.documentElement);c=d.evaluate(a,b,f,XPathResult.FIRST_ORDERED_NODE_TY" + "PE,null).singleNodeValue}else c=null}catch(e){return null}if(!c)return nu" + "ll;if(c.nodeType!=1)throw Error(\"Returned node is not an element: \"+a);" + "return c};var ya=\"StopIteration\"in l?l.StopIteration:Error(\"StopIterat" + "ion\");function za(){}za.prototype.next=function(){throw ya;};function Q(" + "a,b,c,d,f){this.a=!!b;a&&R(this,a,d);this.d=f!=undefined?f:this.c||0;if(t" + "his.a)this.d*=-1;this.h=!c}q(Q,za);Q.prototype.b=null;Q.prototype.c=0;Q.p" + "rototype.g=false;function R(a,b,c,d){if(a.b=b)a.c=typeof c==\"number\"?c:" + "a.b.nodeType!=1?0:a.a?-1:1;if(typeof d==\"number\")a.d=d}\nQ.prototype.ne" + "xt=function(){var a;if(this.g){if(!this.b||this.h&&this.d==0)throw ya;a=t" + "his.b;var b=this.a?-1:1;if(this.c==b){var c=this.a?a.lastChild:a.firstChi" + "ld;c?R(this,c):R(this,a,b*-1)}else(c=this.a?a.previousSibling:a.nextSibli" + "ng)?R(this,c):R(this,a.parentNode,b*-1);this.d+=this.c*(this.a?-1:1)}else" + " this.g=true;a=this.b;if(!this.b)throw ya;return a};\nQ.prototype.splice=" + "function(){var a=this.b,b=this.a?1:-1;if(this.c==b){this.c=b*-1;this.d+=t" + "his.c*(this.a?-1:1)}this.a=!this.a;Q.prototype.next.call(this);this.a=!th" + "is.a;b=arguments[0];var c=m(b);b=c==\"array\"||c==\"object\"&&typeof b.le" + "ngth==\"number\"?arguments[0]:arguments;for(c=b.length-1;c>=0;c--)a.paren" + "tNode&&a.parentNode.insertBefore(b[c],a.nextSibling);a&&a.parentNode&&a.p" + "arentNode.removeChild(a)};function Aa(a,b,c,d){Q.call(this,a,b,c,null,d)}" + "q(Aa,Q);Aa.prototype.next=function(){do Aa.i.next.call(this);while(this.c" + "==-1);return this.b};function Ba(a,b){var c=O(a);if(c.defaultView&&c.defa" + "ultView.getComputedStyle)if(c=c.defaultView.getComputedStyle(a,null))retu" + "rn c[b]||c.getPropertyValue(b);return\"\"}function S(a,b){return Ba(a,b)|" + "|(a.currentStyle?a.currentStyle[b]:null)||a.style[b]}function Ca(a){var b" + "=a.getBoundingClientRect();if(G){a=a.ownerDocument;b.left-=a.documentElem" + "ent.clientLeft+a.body.clientLeft;b.top-=a.documentElement.clientTop+a.bod" + "y.clientTop}return b}\nfunction Da(a){if(G)return a.offsetParent;var b=O(" + "a),c=S(a,\"position\"),d=c==\"fixed\"||c==\"absolute\";for(a=a.parentNode" + ";a&&a!=b;a=a.parentNode){c=S(a,\"position\");d=d&&c==\"static\"&&a!=b.doc" + "umentElement&&a!=b.body;if(!d&&(a.scrollWidth>a.clientWidth||a.scrollHeig" + "ht>a.clientHeight||c==\"fixed\"||c==\"absolute\"))return a}return null};f" + "unction T(a,b){return!!a&&a.nodeType==1&&(!b||a.tagName.toUpperCase()==b)" + "}\nvar Ea={\"class\":\"className\",readonly:\"readOnly\"},Fa=[\"async\"," + "\"autofocus\",\"autoplay\",\"checked\",\"compact\",\"complete\",\"control" + "s\",\"declare\",\"defaultchecked\",\"defaultselected\",\"defer\",\"disabl" + "ed\",\"draggable\",\"ended\",\"formnovalidate\",\"hidden\",\"indeterminat" + "e\",\"iscontenteditable\",\"ismap\",\"itemscope\",\"loop\",\"multiple\"," + "\"muted\",\"nohref\",\"noresize\",\"noshade\",\"novalidate\",\"nowrap\"," + "\"open\",\"paused\",\"pubdate\",\"readonly\",\"required\",\"reversed\",\"" + "scoped\",\"seamless\",\"seeking\",\"selected\",\"spellcheck\",\"truespeed" + "\",\"willvalidate\"];\nfunction Ga(a,b){if(8==a.nodeType)return null;b=b." + "toLowerCase();if(b==\"style\"){var c=v(a.style.cssText).toLowerCase();ret" + "urn c.charAt(c.length-1)==\";\"?c:c+\";\"}c=a.getAttributeNode(b);if(G)if" + "(!c&&L(8)&&z(Fa,b)>=0)c=a[b];if(!c)return null;if(z(Fa,b)>=0)return G&&c." + "value==\"false\"?null:\"true\";return c.specified?c.value:null}var Ha=[\"" + "BUTTON\",\"INPUT\",\"OPTGROUP\",\"OPTION\",\"SELECT\",\"TEXTAREA\"];\nfun" + "ction Ia(a){var b=a.tagName.toUpperCase();if(!(z(Ha,b)>=0))return true;if" + "(Ga(a,\"disabled\"))return false;if(a.parentNode&&a.parentNode.nodeType==" + "1&&\"OPTGROUP\"==b||\"OPTION\"==b)return Ia(a.parentNode);return true}fun" + "ction Ja(a){for(a=a.parentNode;a&&a.nodeType!=1&&a.nodeType!=9&&a.nodeTyp" + "e!=11;)a=a.parentNode;return T(a)?a:null}function U(a,b){b=fa(String(b));" + "return Ba(a,b)||Ka(a,b)}\nfunction Ka(a,b){var c=(a.currentStyle||a.style" + ")[b];if(c!=\"inherit\")return c!==undefined?c:null;return(c=Ja(a))?Ka(c,b" + "):null}\nfunction La(a){if(n(a.getBBox))return a.getBBox();var b;var c=F&" + "&!L(\"10\");if(S(a,\"display\")!=\"none\")b=c?new N(a.offsetWidth||a.clie" + "ntWidth,a.offsetHeight||a.clientHeight):new N(a.offsetWidth,a.offsetHeigh" + "t);else{b=a.style;var d=b.display,f=b.visibility,e=b.position;b.visibilit" + "y=\"hidden\";b.position=\"absolute\";b.display=\"inline\";if(c){c=a.offse" + "tWidth||a.clientWidth;a=a.offsetHeight||a.clientHeight}else{c=a.offsetWid" + "th;a=a.offsetHeight}b.display=d;b.position=e;b.visibility=f;b=new N(c,a)}" + "return b}\nfunction V(a,b){function c(e){if(U(e,\"display\")==\"none\")re" + "turn false;e=Ja(e);return!e||c(e)}function d(e){var j=La(e);if(j.height>0" + "&&j.width>0)return true;if(e.innerText||e.textContent)if(Ma.test(e.innerT" + "ext||e.textContent))return true;return I&&ha(e.childNodes,function(g){ret" + "urn T(g)&&d(g)})}if(!T(a))throw Error(\"Argument to isShown must be of ty" + "pe Element\");if(T(a,\"TITLE\"))return P(O(a))==l;if(T(a,\"OPTION\")||T(a" + ",\"OPTGROUP\")){var f=va(a,function(e){return T(e,\"SELECT\")});return!!f" + "&&V(f)}if(T(a,\"MAP\")){if(!a.name)return false;\nf=O(a);f=f.evaluate?xa(" + "'/descendant::*[@usemap = \"#'+a.name+'\"]',f):ta(f,function(e){return T(" + "e)&&Ga(e,\"usemap\")==\"#\"+a.name});return!!f&&V(f)}if(T(a,\"AREA\")){f=" + "va(a,function(e){return T(e,\"MAP\")});return!!f&&V(f)}if(T(a,\"INPUT\")&" + "&a.type.toLowerCase()==\"hidden\")return false;if(U(a,\"visibility\")==\"" + "hidden\")return false;if(!c(a))return false;if(!b&&Na(a)==0)return false;" + "if(!d(a))return false;return true}var Oa=\"[\\\\s\\\\xa0\"+String.fromCha" + "rCode(160)+\"]+\",Ma=RegExp(\"^\"+Oa+\"$\");\nfunction Na(a){if(G){if(U(a" + ",\"position\")==\"relative\")return 1;a=U(a,\"filter\");return(a=a.match(" + "/^alpha\\(opacity=(\\d*)\\)/)||a.match(/^progid:DXImageTransform.Microsof" + "t.Alpha\\(Opacity=(\\d*)\\)/))?Number(a[1])/100:1}else return Pa(a)}funct" + "ion Pa(a){var b=1,c=U(a,\"opacity\");if(c)b=Number(c);if(a=Ja(a))b*=Pa(a)" + ";return b};var Qa=G?1:0,Ra=[\"dragstart\",\"dragexit\",\"mouseover\",\"mo" + "useout\"];\nfunction W(a,b,c){var d=O(a),f=P(d),e=new M;if(a.nodeType==1)" + "if(a.getBoundingClientRect){var j=Ca(a);e.x=j.left;e.y=j.top}else{j=wa(ra" + "(a));var g,h=O(a),s=S(a,\"position\"),p=H&&h.getBoxObjectFor&&!a.getBound" + "ingClientRect&&s==\"absolute\"&&(g=h.getBoxObjectFor(a))&&(g.screenX<0||g" + ".screenY<0),i=new M(0,0),k;g=h?h.nodeType==9?h:O(h):document;if(k=G)k=ra(" + "g).e.compatMode!=\"CSS1Compat\";k=k?g.body:g.documentElement;if(a!=k)if(a" + ".getBoundingClientRect){g=Ca(a);h=wa(ra(h));i.x=g.left+h.x;i.y=g.top+h.y}" + "else if(h.getBoxObjectFor&&\n!p){g=h.getBoxObjectFor(a);h=h.getBoxObjectF" + "or(k);i.x=g.screenX-h.screenX;i.y=g.screenY-h.screenY}else{g=a;do{i.x+=g." + "offsetLeft;i.y+=g.offsetTop;if(g!=a){i.x+=g.clientLeft||0;i.y+=g.clientTo" + "p||0}if(I&&S(g,\"position\")==\"fixed\"){i.x+=h.body.scrollLeft;i.y+=h.bo" + "dy.scrollTop;break}g=g.offsetParent}while(g&&g!=a);if(F||I&&s==\"absolute" + "\")i.y-=h.body.offsetTop;for(g=a;(g=Da(g))&&g!=h.body&&g!=k;){i.x-=g.scro" + "llLeft;if(!F||g.tagName!=\"TR\")i.y-=g.scrollTop}}e.x=i.x-j.x;e.y=i.y-j.y" + "}else{j=n(a.f);i=a;if(a.targetTouches)i=\na.targetTouches[0];else if(j&&a" + ".f().targetTouches)i=a.f().targetTouches[0];e.x=i.clientX;e.y=i.clientY}k" + "=c||{};c=(k.x||0)+e.x;e=(k.y||0)+e.y;j=k.button||Qa;i=k.bubble||true;h=nu" + "ll;if(z(Ra,b)>=0)h=k.related||null;s=!!k.alt;g=!!k.control;p=!!k.shift;k=" + "!!k.meta;if(a.fireEvent&&d&&d.createEventObject){a=d.createEventObject();" + "a.altKey=s;a.j=g;a.metaKey=k;a.shiftKey=p;a.clientX=c;a.clientY=e;a.butto" + "n=j;a.relatedTarget=h}else{a=d.createEvent(\"MouseEvents\");if(a.initMous" + "eEvent)a.initMouseEvent(b,i,true,f,\n1,0,0,c,e,g,s,p,k,j,h);else{a.initEv" + "ent(b,i,true);a.shiftKey=p;a.metaKey=k;a.altKey=s;a.ctrlKey=g;a.button=j}" + "}return a}function Sa(a,b,c){var d=O(a);a=P(d);var f=c||{};c=f.keyCode||0" + ";var e=f.charCode||0,j=!!f.alt,g=!!f.ctrl,h=!!f.shift;f=!!f.meta;if(H){d=" + "d.createEvent(\"KeyboardEvent\");d.initKeyEvent(b,true,true,a,g,j,h,f,c,e" + ")}else{if(G)d=d.createEventObject();else{d=d.createEvent(\"Events\");d.in" + "itEvent(b,true,true);d.charCode=e}d.keyCode=c;d.altKey=j;d.ctrlKey=g;d.me" + "taKey=f;d.shiftKey=h}return d}\nfunction Ta(a,b,c){var d=O(a),f=c||{};c=f" + ".bubble!==false;var e=!!f.alt,j=!!f.control,g=!!f.shift;f=!!f.meta;if(a.f" + "ireEvent&&d&&d.createEventObject){a=d.createEventObject();a.altKey=e;a.k=" + "j;a.metaKey=f;a.shiftKey=g}else{a=d.createEvent(\"HTMLEvents\");a.initEve" + "nt(b,c,true);a.shiftKey=g;a.metaKey=f;a.altKey=e;a.ctrlKey=j}return a}var" + " X={};X.click=W;X.keydown=Sa;X.keypress=Sa;X.keyup=Sa;X.mousedown=W;X.mou" + "semove=W;X.mouseout=W;X.mouseover=W;X.mouseup=W;function Ua(a){if(!V(a,tr" + "ue))throw new t(11,\"Element is not currently visible and may not be mani" + "pulated\");};function Va(a){var b;if(T(a,\"TEXTAREA\"))b=true;else if(T(a" + ",\"INPUT\")){b=a.type.toLowerCase();b=b==\"text\"||b==\"password\"||b==\"" + "email\"||b==\"search\"}else b=false;if(b){if(a[Ea.readOnly||\"readOnly\"]" + ")throw new t(12,\"Element is readonly and may not be cleared.\");if(a.val" + "ue!=\"\"){Ua(a);if(!Ia(a))throw new t(12,\"Element is not currently enabl" + "ed and may not be manipulated\");b=O(a).activeElement;Ua(a);if(a!=b){if(b" + "){if(n(b.blur)||G&&o(b.blur))b.blur();G&&!L(8)&&P(O(a)).focus()}if(n(a.fo" + "cus)||G&&o(a.focus))a.focus()}a.value=\n\"\";b=(X.change||Ta)(a,\"change" + "\",void 0);if(n(a.fireEvent)||o(a.fireEvent)){try{P(O(a)).event=b}catch(c" + "){}a.fireEvent(\"onchange\",b)}else a.dispatchEvent(b)}}}var Y=\"_\".spli" + "t(\".\"),Z=l;!(Y[0]in Z)&&Z.execScript&&Z.execScript(\"var \"+Y[0]);for(v" + "ar $;Y.length&&($=Y.shift());)if(!Y.length&&Va!==undefined)Z[$]=Va;else Z" + "=Z[$]?Z[$]:Z[$]={};; return _.apply(null,arguments);}"; + +const char* const EXECUTE_SCRIPT = + "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 instanceof Object)retu" + "rn b;var c=Object.prototype.toString.call(a);if(c==\"[object Window]\")re" + "turn\"object\";if(c==\"[object Array]\"||typeof a.length==\"number\"&&typ" + "eof a.splice!=\"undefined\"&&typeof a.propertyIsEnumerable!=\"undefined\"" + "&&!a.propertyIsEnumerable(\"splice\"))return\"array\";if(c==\"[object Fun" + "ction]\"||typeof a.call!=\"undefined\"&&typeof a.propertyIsEnumerable!=\"" + "undefined\"&&!a.propertyIsEnumerable(\"call\"))return\"function\"}else re" + "turn\"null\";else if(b==\n\"function\"&&typeof a.call==\"undefined\")retu" + "rn\"object\";return b}function j(a){var b=i(a);return b==\"array\"||b==\"" + "object\"&&typeof a.length==\"number\"}function k(a){a=i(a);return a==\"ob" + "ject\"||a==\"array\"||a==\"function\"}var l=Date.now||function(){return+n" + "ew Date};function o(a,b){function c(){}c.prototype=b.prototype;a.c=b.prot" + "otype;a.prototype=new c};function p(a){this.stack=Error().stack||\"\";if(" + "a)this.message=String(a)}o(p,Error);p.prototype.name=\"CustomError\";func" + "tion q(a,b,c){var d={};for(var e in a)if(b.call(c,a[e],e,a))d[e]=a[e];ret" + "urn d}function r(a,b,c){var d={};for(var e in a)d[e]=b.call(c,a[e],e,a);r" + "eturn d}function aa(a,b,c){for(var d in a)if(b.call(c,a[d],d,a))return d}" + ";function s(a,b){p.call(this,b);this.code=a;this.name=t[a]||t[13]}o(s,p);" + "var t,u={NoSuchElementError:7,NoSuchFrameError:8,UnknownCommandError:9,St" + "aleElementReferenceError:10,ElementNotVisibleError:11,InvalidElementState" + "Error:12,UnknownError:13,ElementNotSelectableError:15,XPathLookupError:19" + ",NoSuchWindowError:23,InvalidCookieDomainError:24,UnableToSetCookieError:" + "25,ModalDialogOpenedError:26,ModalDialogOpenError:27,ScriptTimeoutError:2" + "8},v={};for(var w in u)v[u[w]]=w;t=v;\ns.prototype.toString=function(){re" + "turn\"[\"+this.name+\"] \"+this.message};function ba(a){for(var b=1;bb)" + "return 1;return 0};function z(a,b){b.unshift(a);p.call(this,ba.apply(null" + ",b));b.shift();this.b=a}o(z,p);z.prototype.name=\"AssertionError\";functi" + "on ga(a,b){if(!a){var c=Array.prototype.slice.call(arguments,2),d=\"Asser" + "tion failed\";if(b){d+=\": \"+b;var e=c}throw new z(\"\"+d,e||[]);}return" + " a};var A=Array.prototype,B=A.map?function(a,b,c){ga(a.length!=null);retu" + "rn A.map.call(a,b,c)}:function(a,b,c){var d=a.length,e=Array(d),f=typeof " + "a==\"string\"?a.split(\"\"):a;for(var g=0;gparseFlo" + "at(K)){J=String(O);break a}}J=K}var Q={};!I||Q[\"9\"]||(Q[\"9\"]=x(J,\"9" + "\")>=0);I&&(Q[\"9\"]||(Q[\"9\"]=x(J,\"9\")>=0));function ka(){}\nfunction" + " R(a,b,c){switch(typeof b){case \"string\":S(a,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(b==" + "null){c.push(\"null\");break}if(i(b)==\"array\"){var d=b.length;c.push(\"" + "[\");var e=\"\";for(var f=0;fb)return 1;return 0}var ca={};f" + "unction da(a){return ca[a]||(ca[a]=String(a).replace(/\\-([a-z])/g,functi" + "on(b,c){return c.toUpperCase()}))};function q(a,b){b.unshift(a);n.call(th" + "is,ba.apply(null,b));b.shift();this.m=a}m(q,n);q.prototype.name=\"Asserti" + "onError\";function r(a,b){if(!a){var c=Array.prototype.slice.call(argumen" + "ts,2),d=\"Assertion failed\";if(b){d+=\": \"+b;var f=c}throw new q(\"\"+d" + ",f||[]);}return a};var s=Array.prototype,t=s.indexOf?function(a,b,c){r(a." + "length!=null);return s.indexOf.call(a,b,c)}:function(a,b,c){c=c==null?0:c" + "<0?Math.max(0,a.length+c):c;if(j(a)){if(!j(b)||b.length!=1)return-1;retur" + "n a.indexOf(b,c)}for(c=c;c" + "parseFloat(G)){F=String(ma);break a}}F=G}var oa={};\nfunction K(a){var b;" + "if(!(b=oa[a])){b=0;var c=o(String(F)).split(\".\"),d=o(String(a)).split(" + "\".\"),f=Math.max(c.length,d.length);for(var e=0;b==0&&e=0}return b};v" + "ar pa;!D||K(\"9\");D&&K(\"9\");function L(a,b){this.width=a;this.height=b" + "}L.prototype.toString=function(){return\"(\"+this.width+\" x \"+this.heig" + "ht+\")\"};function M(a){return a?new qa(N(a)):pa||(pa=new qa)}function ra" + "(a,b){if(a.contains&&b.nodeType==1)return a==b||a.contains(b);if(typeof a" + ".compareDocumentPosition!=\"undefined\")return a==b||Boolean(a.compareDoc" + "umentPosition(b)&16);for(;b&&a!=b;)b=b.parentNode;return b==a}function N(" + "a){return a.nodeType==9?a:a.ownerDocument||a.document}function sa(a,b){va" + "r c=[];return ta(a,b,c,true)?c[0]:undefined}\nfunction ta(a,b,c,d){if(a!=" + "null){var f=0;for(var e;e=a.childNodes[f];f++){if(b(e)){c.push(e);if(d)re" + "turn true}if(ta(e,b,c,d))return true}}return false}function ua(a,b,c,d){i" + "f(!c)a=a.parentNode;c=d==null;for(var f=0;a&&(c||f<=d);){if(b(a))return a" + ";a=a.parentNode;f++}return null}function qa(a){this.g=a||h.document||docu" + "ment}\nfunction O(a,b,c,d){a=d||a.g;b=b&&b!=\"*\"?b.toUpperCase():\"\";if" + "(a.querySelectorAll&&a.querySelector&&(!E||document.compatMode==\"CSS1Com" + "pat\"||K(\"528\"))&&(b||c))c=a.querySelectorAll(b+(c?\".\"+c:\"\"));else " + "if(c&&a.getElementsByClassName){a=a.getElementsByClassName(c);if(b){d={};" + "var f=0,e=0;for(var g;g=a[e];e++)if(b==g.nodeName)d[f++]=g;d.length=f;c=d" + "}else c=a}else{a=a.getElementsByTagName(b||\"*\");if(c){d={};f=0;for(e=0;" + "g=a[e];e++){b=g.className;if(typeof b.split==\"function\"&&t(b.split(/\\s" + "+/),c)>=0)d[f++]=\ng}d.length=f;c=d}else c=a}return c}qa.prototype.contai" + "ns=ra;var va={};va.b=function(a,b){if(!a)throw Error(\"No class name spec" + "ified\");a=o(a);if(a.split(/\\s+/).length>1)throw Error(\"Compound class " + "names not permitted\");var c=O(M(b),\"*\",a,b);return c.length?c[0]:null}" + ";va.e=function(a,b){if(!a)throw Error(\"No class name specified\");a=o(a)" + ";if(a.split(/\\s+/).length>1)throw Error(\"Compound class names not permi" + "tted\");return O(M(b),\"*\",a,b)};var wa={};wa.b=function(a,b){if(!k(b.qu" + "erySelector)&&D&&K(8)&&!aa(b.querySelector))throw Error(\"CSS selection i" + "s not supported\");if(!a)throw Error(\"No selector specified\");if(a.spli" + "t(/,/).length>1)throw Error(\"Compound selectors not permitted\");a=o(a);" + "var c=b.querySelector(a);return c&&c.nodeType==1?c:null};\nwa.e=function(" + "a,b){if(!k(b.querySelectorAll)&&D&&K(8)&&!aa(b.querySelector))throw Error" + "(\"CSS selection is not supported\");if(!a)throw Error(\"No selector spec" + "ified\");if(a.split(/,/).length>1)throw Error(\"Compound selectors not pe" + "rmitted\");a=o(a);return b.querySelectorAll(a)};function xa(a,b){if(typeo" + "f a.selectNodes!=\"undefined\"){var c=N(a);typeof c.setProperty!=\"undefi" + "ned\"&&c.setProperty(\"SelectionLanguage\",\"XPath\");return a.selectNode" + "s(b)}else if(document.implementation.hasFeature(\"XPath\",\"3.0\")){c=N(a" + ");var d=c.createNSResolver(c.documentElement);c=c.evaluate(b,a,d,XPathRes" + "ult.ORDERED_NODE_SNAPSHOT_TYPE,null);d=[];var f=c.snapshotLength;for(var " + "e=0;e=0;c--)a.parentNode&&a.parentNode.i" + "nsertBefore(b[c],a.nextSibling);a&&a.parentNode&&a.parentNode.removeChild" + "(a)};function Aa(a,b,c,d){Q.call(this,a,b,c,null,d)}m(Aa,Q);Aa.prototype." + "next=function(){do Aa.l.next.call(this);while(this.d==-1);return this.c};" + "function Ba(a,b){var c=N(a);if(c.defaultView&&c.defaultView.getComputedSt" + "yle)if(c=c.defaultView.getComputedStyle(a,null))return c[b]||c.getPropert" + "yValue(b);return\"\"};function S(a,b){return!!a&&a.nodeType==1&&(!b||a.ta" + "gName.toUpperCase()==b)}\nvar Ca=[\"async\",\"autofocus\",\"autoplay\",\"" + "checked\",\"compact\",\"complete\",\"controls\",\"declare\",\"defaultchec" + "ked\",\"defaultselected\",\"defer\",\"disabled\",\"draggable\",\"ended\"," + "\"formnovalidate\",\"hidden\",\"indeterminate\",\"iscontenteditable\",\"i" + "smap\",\"itemscope\",\"loop\",\"multiple\",\"muted\",\"nohref\",\"noresiz" + "e\",\"noshade\",\"novalidate\",\"nowrap\",\"open\",\"paused\",\"pubdate\"" + ",\"readonly\",\"required\",\"reversed\",\"scoped\",\"seamless\",\"seeking" + "\",\"selected\",\"spellcheck\",\"truespeed\",\"willvalidate\"];\nfunction" + " T(a,b){if(8==a.nodeType)return null;b=b.toLowerCase();if(b==\"style\"){v" + "ar c=o(a.style.cssText).toLowerCase();return c.charAt(c.length-1)==\";\"?" + "c:c+\";\"}c=a.getAttributeNode(b);if(D)if(!c&&K(8)&&t(Ca,b)>=0)c=a[b];if(" + "!c)return null;if(t(Ca,b)>=0)return D&&c.value==\"false\"?null:\"true\";r" + "eturn c.specified?c.value:null}function U(a){for(a=a.parentNode;a&&a.node" + "Type!=1&&a.nodeType!=9&&a.nodeType!=11;)a=a.parentNode;return S(a)?a:null" + "}function V(a,b){b=da(String(b));return Ba(a,b)||Da(a,b)}\nfunction Da(a," + "b){var c=(a.currentStyle||a.style)[b];if(c!=\"inherit\")return c!==undefi" + "ned?c:null;return(c=U(a))?Da(c,b):null}\nfunction Ea(a){if(k(a.getBBox))r" + "eturn a.getBBox();var b;var c=ja&&!K(\"10\");if((Ba(a,\"display\")||(a.cu" + "rrentStyle?a.currentStyle.display:null)||a.style.display)!=\"none\")b=c?n" + "ew L(a.offsetWidth||a.clientWidth,a.offsetHeight||a.clientHeight):new L(a" + ".offsetWidth,a.offsetHeight);else{b=a.style;var d=b.display,f=b.visibilit" + "y,e=b.position;b.visibility=\"hidden\";b.position=\"absolute\";b.display=" + "\"inline\";if(c){c=a.offsetWidth||a.clientWidth;a=a.offsetHeight||a.clien" + "tHeight}else{c=a.offsetWidth;a=a.offsetHeight}b.display=\nd;b.position=e;" + "b.visibility=f;b=new L(c,a)}return b}\nfunction W(a,b){function c(e){if(V" + "(e,\"display\")==\"none\")return false;e=U(e);return!e||c(e)}function d(e" + "){var g=Ea(e);if(g.height>0&&g.width>0)return true;if(e.innerText||e.text" + "Content)if(Fa.test(e.innerText||e.textContent))return true;return E&&ga(e" + ".childNodes,function(l){return S(l)&&d(l)})}if(!S(a))throw Error(\"Argume" + "nt to isShown must be of type Element\");if(S(a,\"TITLE\"))return(N(a)?N(" + "a).parentWindow||N(a).defaultView:window)==h;if(S(a,\"OPTION\")||S(a,\"OP" + "TGROUP\")){var f=ua(a,function(e){return S(e,\n\"SELECT\")});return!!f&&W" + "(f)}if(S(a,\"MAP\")){if(!a.name)return false;f=N(a);f=f.evaluate?P.b('/de" + "scendant::*[@usemap = \"#'+a.name+'\"]',f):sa(f,function(e){return S(e)&&" + "T(e,\"usemap\")==\"#\"+a.name});return!!f&&W(f)}if(S(a,\"AREA\")){f=ua(a," + "function(e){return S(e,\"MAP\")});return!!f&&W(f)}if(S(a,\"INPUT\")&&a.ty" + "pe.toLowerCase()==\"hidden\")return false;if(V(a,\"visibility\")==\"hidde" + "n\")return false;if(!c(a))return false;if(!b&&Ga(a)==0)return false;if(!d" + "(a))return false;return true}\nfunction Ha(a){var b=[\"\"];Ia(a,b);b=fa(b" + ",o);return o(b.join(\"\\n\"))}function Ia(a,b){if(S(a,\"BR\"))b.push(\"\"" + ");else{var c=Ja(a);c&&b[b.length-1]&&b.push(\"\");ea(a.childNodes,functio" + "n(d){if(d.nodeType==3){var f=U(d);if(f){W(f);if(f&&W(f)){d=d.nodeValue.re" + "place(Ka,\" \");f=b.pop();var e=f.length-1;if(e>=0&&f.indexOf(\" \",e)==e" + "&&d.lastIndexOf(\" \",0)==0)d=d.substr(1);b.push(f+d)}}}else S(d)&&Ia(d,b" + ")});c&&b[b.length-1]&&b.push(\"\")}}function Ja(a){a=V(a,\"display\");ret" + "urn a==\"block\"||a==\"inline-block\"}\nvar Ma=\"[\\\\s\\\\xa0\"+String.f" + "romCharCode(160)+\"]+\",Ka=RegExp(Ma,\"g\"),Fa=RegExp(\"^\"+Ma+\"$\");fun" + "ction Ga(a){if(D){if(V(a,\"position\")==\"relative\")return 1;a=V(a,\"fil" + "ter\");return(a=a.match(/^alpha\\(opacity=(\\d*)\\)/)||a.match(/^progid:D" + "XImageTransform.Microsoft.Alpha\\(Opacity=(\\d*)\\)/))?Number(a[1])/100:1" + "}else return Na(a)}function Na(a){var b=1,c=V(a,\"opacity\");if(c)b=Numbe" + "r(c);if(a=U(a))b*=Na(a);return b};var Oa={};Oa.b=function(a,b){var c=M(b)" + ",d=j(a)?c.g.getElementById(a):a;if(!d)return null;if(T(d,\"id\")==a&&ra(b" + ",d))return d;c=O(c,\"*\");return v(c,function(f){return T(f,\"id\")==a&&r" + "a(b,f)})};Oa.e=function(a,b){var c=O(M(b),\"*\",null,b);return u(c,functi" + "on(d){return T(d,\"id\")==a})};var X={},Pa={};X.i=function(a,b,c){b=O(M(b" + "),\"A\",null,b);return v(b,function(d){d=Ha(d);return c&&d.indexOf(a)!=-1" + "||d==a})};X.h=function(a,b,c){b=O(M(b),\"A\",null,b);return u(b,function(" + "d){d=Ha(d);return c&&d.indexOf(a)!=-1||d==a})};X.b=function(a,b){return X" + ".i(a,b,false)};X.e=function(a,b){return X.h(a,b,false)};Pa.b=function(a,b" + "){return X.i(a,b,true)};Pa.e=function(a,b){return X.h(a,b,true)};var Qa={" + "};Qa.b=function(a,b){var c=O(M(b),\"*\",null,b);return v(c,function(d){re" + "turn T(d,\"name\")==a})};Qa.e=function(a,b){var c=O(M(b),\"*\",null,b);re" + "turn u(c,function(d){return T(d,\"name\")==a})};var Ra={};Ra.b=function(a" + ",b){return O(M(b),a,null,b)[0]||null};Ra.e=function(a,b){return O(M(b),a," + "null,b)};var Sa={className:va,css:wa,id:Oa,linkText:X,name:Qa,partialLink" + "Text:Pa,tagName:Ra,xpath:P};function Ta(a,b){var c;a:{for(c in a){c=c;bre" + "ak a}c=void 0}if(c){var d=Sa[c];if(d&&k(d.b))return d.b(a[c],b||N(h))}thr" + "ow Error(\"Unsupported locator strategy: \"+c);}var Y=\"_\".split(\".\")," + "Z=h;!(Y[0]in Z)&&Z.execScript&&Z.execScript(\"var \"+Y[0]);for(var $;Y.le" + "ngth&&($=Y.shift());)if(!Y.length&&Ta!==undefined)Z[$]=Ta;else Z=Z[$]?Z[$" + "]:Z[$]={};; return _.apply(null,arguments);}"; + +const char* const FIND_ELEMENTS = + "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 instanceof Object)retu" + "rn b;var c=Object.prototype.toString.call(a);if(c==\"[object Window]\")re" + "turn\"object\";if(c==\"[object Array]\"||typeof a.length==\"number\"&&typ" + "eof a.splice!=\"undefined\"&&typeof a.propertyIsEnumerable!=\"undefined\"" + "&&!a.propertyIsEnumerable(\"splice\"))return\"array\";if(c==\"[object Fun" + "ction]\"||typeof a.call!=\"undefined\"&&typeof a.propertyIsEnumerable!=\"" + "undefined\"&&!a.propertyIsEnumerable(\"call\"))return\"function\"}else re" + "turn\"null\";else if(b==\n\"function\"&&typeof a.call==\"undefined\")retu" + "rn\"object\";return b}function j(a){return typeof a==\"string\"}function " + "k(a){return i(a)==\"function\"}function aa(a){a=i(a);return a==\"object\"" + "||a==\"array\"||a==\"function\"}function m(a,b){function c(){}c.prototype" + "=b.prototype;a.l=b.prototype;a.prototype=new c};function n(a){this.stack=" + "Error().stack||\"\";if(a)this.message=String(a)}m(n,Error);n.prototype.na" + "me=\"CustomError\";function ba(a){for(var b=1;bb)return 1;return 0}var ca={};f" + "unction da(a){return ca[a]||(ca[a]=String(a).replace(/\\-([a-z])/g,functi" + "on(b,c){return c.toUpperCase()}))};function q(a,b){b.unshift(a);n.call(th" + "is,ba.apply(null,b));b.shift();this.m=a}m(q,n);q.prototype.name=\"Asserti" + "onError\";function r(a,b){if(!a){var c=Array.prototype.slice.call(argumen" + "ts,2),d=\"Assertion failed\";if(b){d+=\": \"+b;var f=c}throw new q(\"\"+d" + ",f||[]);}return a};var s=Array.prototype,t=s.indexOf?function(a,b,c){r(a." + "length!=null);return s.indexOf.call(a,b,c)}:function(a,b,c){c=c==null?0:c" + "<0?Math.max(0,a.length+c):c;if(j(a)){if(!j(b)||b.length!=1)return-1;retur" + "n a.indexOf(b,c)}for(c=c;c" + "parseFloat(G)){F=String(ma);break a}}F=G}var oa={};\nfunction K(a){var b;" + "if(!(b=oa[a])){b=0;var c=o(String(F)).split(\".\"),d=o(String(a)).split(" + "\".\"),f=Math.max(c.length,d.length);for(var e=0;b==0&&e=0}return b};v" + "ar pa;!D||K(\"9\");D&&K(\"9\");function L(a,b){this.width=a;this.height=b" + "}L.prototype.toString=function(){return\"(\"+this.width+\" x \"+this.heig" + "ht+\")\"};function M(a){return a?new qa(N(a)):pa||(pa=new qa)}function ra" + "(a,b){if(a.contains&&b.nodeType==1)return a==b||a.contains(b);if(typeof a" + ".compareDocumentPosition!=\"undefined\")return a==b||Boolean(a.compareDoc" + "umentPosition(b)&16);for(;b&&a!=b;)b=b.parentNode;return b==a}function N(" + "a){return a.nodeType==9?a:a.ownerDocument||a.document}function sa(a,b){va" + "r c=[];return ta(a,b,c,true)?c[0]:undefined}\nfunction ta(a,b,c,d){if(a!=" + "null){var f=0;for(var e;e=a.childNodes[f];f++){if(b(e)){c.push(e);if(d)re" + "turn true}if(ta(e,b,c,d))return true}}return false}function ua(a,b,c,d){i" + "f(!c)a=a.parentNode;c=d==null;for(var f=0;a&&(c||f<=d);){if(b(a))return a" + ";a=a.parentNode;f++}return null}function qa(a){this.g=a||h.document||docu" + "ment}\nfunction O(a,b,c,d){a=d||a.g;b=b&&b!=\"*\"?b.toUpperCase():\"\";if" + "(a.querySelectorAll&&a.querySelector&&(!E||document.compatMode==\"CSS1Com" + "pat\"||K(\"528\"))&&(b||c))c=a.querySelectorAll(b+(c?\".\"+c:\"\"));else " + "if(c&&a.getElementsByClassName){a=a.getElementsByClassName(c);if(b){d={};" + "var f=0,e=0;for(var g;g=a[e];e++)if(b==g.nodeName)d[f++]=g;d.length=f;c=d" + "}else c=a}else{a=a.getElementsByTagName(b||\"*\");if(c){d={};f=0;for(e=0;" + "g=a[e];e++){b=g.className;if(typeof b.split==\"function\"&&t(b.split(/\\s" + "+/),c)>=0)d[f++]=\ng}d.length=f;c=d}else c=a}return c}qa.prototype.contai" + "ns=ra;var va={};va.d=function(a,b){if(!a)throw Error(\"No class name spec" + "ified\");a=o(a);if(a.split(/\\s+/).length>1)throw Error(\"Compound class " + "names not permitted\");var c=O(M(b),\"*\",a,b);return c.length?c[0]:null}" + ";va.b=function(a,b){if(!a)throw Error(\"No class name specified\");a=o(a)" + ";if(a.split(/\\s+/).length>1)throw Error(\"Compound class names not permi" + "tted\");return O(M(b),\"*\",a,b)};var wa={};wa.d=function(a,b){if(!k(b.qu" + "erySelector)&&D&&K(8)&&!aa(b.querySelector))throw Error(\"CSS selection i" + "s not supported\");if(!a)throw Error(\"No selector specified\");if(a.spli" + "t(/,/).length>1)throw Error(\"Compound selectors not permitted\");a=o(a);" + "var c=b.querySelector(a);return c&&c.nodeType==1?c:null};\nwa.b=function(" + "a,b){if(!k(b.querySelectorAll)&&D&&K(8)&&!aa(b.querySelector))throw Error" + "(\"CSS selection is not supported\");if(!a)throw Error(\"No selector spec" + "ified\");if(a.split(/,/).length>1)throw Error(\"Compound selectors not pe" + "rmitted\");a=o(a);return b.querySelectorAll(a)};function xa(a,b){if(typeo" + "f a.selectNodes!=\"undefined\"){var c=N(a);typeof c.setProperty!=\"undefi" + "ned\"&&c.setProperty(\"SelectionLanguage\",\"XPath\");return a.selectNode" + "s(b)}else if(document.implementation.hasFeature(\"XPath\",\"3.0\")){c=N(a" + ");var d=c.createNSResolver(c.documentElement);c=c.evaluate(b,a,d,XPathRes" + "ult.ORDERED_NODE_SNAPSHOT_TYPE,null);d=[];var f=c.snapshotLength;for(var " + "e=0;e=0;c--)a.parentNode&&a.parentNode.i" + "nsertBefore(b[c],a.nextSibling);a&&a.parentNode&&a.parentNode.removeChild" + "(a)};function Aa(a,b,c,d){Q.call(this,a,b,c,null,d)}m(Aa,Q);Aa.prototype." + "next=function(){do Aa.l.next.call(this);while(this.e==-1);return this.c};" + "function Ba(a,b){var c=N(a);if(c.defaultView&&c.defaultView.getComputedSt" + "yle)if(c=c.defaultView.getComputedStyle(a,null))return c[b]||c.getPropert" + "yValue(b);return\"\"};function S(a,b){return!!a&&a.nodeType==1&&(!b||a.ta" + "gName.toUpperCase()==b)}\nvar Ca=[\"async\",\"autofocus\",\"autoplay\",\"" + "checked\",\"compact\",\"complete\",\"controls\",\"declare\",\"defaultchec" + "ked\",\"defaultselected\",\"defer\",\"disabled\",\"draggable\",\"ended\"," + "\"formnovalidate\",\"hidden\",\"indeterminate\",\"iscontenteditable\",\"i" + "smap\",\"itemscope\",\"loop\",\"multiple\",\"muted\",\"nohref\",\"noresiz" + "e\",\"noshade\",\"novalidate\",\"nowrap\",\"open\",\"paused\",\"pubdate\"" + ",\"readonly\",\"required\",\"reversed\",\"scoped\",\"seamless\",\"seeking" + "\",\"selected\",\"spellcheck\",\"truespeed\",\"willvalidate\"];\nfunction" + " T(a,b){if(8==a.nodeType)return null;b=b.toLowerCase();if(b==\"style\"){v" + "ar c=o(a.style.cssText).toLowerCase();return c.charAt(c.length-1)==\";\"?" + "c:c+\";\"}c=a.getAttributeNode(b);if(D)if(!c&&K(8)&&t(Ca,b)>=0)c=a[b];if(" + "!c)return null;if(t(Ca,b)>=0)return D&&c.value==\"false\"?null:\"true\";r" + "eturn c.specified?c.value:null}function U(a){for(a=a.parentNode;a&&a.node" + "Type!=1&&a.nodeType!=9&&a.nodeType!=11;)a=a.parentNode;return S(a)?a:null" + "}function V(a,b){b=da(String(b));return Ba(a,b)||Da(a,b)}\nfunction Da(a," + "b){var c=(a.currentStyle||a.style)[b];if(c!=\"inherit\")return c!==undefi" + "ned?c:null;return(c=U(a))?Da(c,b):null}\nfunction Ea(a){if(k(a.getBBox))r" + "eturn a.getBBox();var b;var c=ja&&!K(\"10\");if((Ba(a,\"display\")||(a.cu" + "rrentStyle?a.currentStyle.display:null)||a.style.display)!=\"none\")b=c?n" + "ew L(a.offsetWidth||a.clientWidth,a.offsetHeight||a.clientHeight):new L(a" + ".offsetWidth,a.offsetHeight);else{b=a.style;var d=b.display,f=b.visibilit" + "y,e=b.position;b.visibility=\"hidden\";b.position=\"absolute\";b.display=" + "\"inline\";if(c){c=a.offsetWidth||a.clientWidth;a=a.offsetHeight||a.clien" + "tHeight}else{c=a.offsetWidth;a=a.offsetHeight}b.display=\nd;b.position=e;" + "b.visibility=f;b=new L(c,a)}return b}\nfunction W(a,b){function c(e){if(V" + "(e,\"display\")==\"none\")return false;e=U(e);return!e||c(e)}function d(e" + "){var g=Ea(e);if(g.height>0&&g.width>0)return true;if(e.innerText||e.text" + "Content)if(Fa.test(e.innerText||e.textContent))return true;return E&&ga(e" + ".childNodes,function(l){return S(l)&&d(l)})}if(!S(a))throw Error(\"Argume" + "nt to isShown must be of type Element\");if(S(a,\"TITLE\"))return(N(a)?N(" + "a).parentWindow||N(a).defaultView:window)==h;if(S(a,\"OPTION\")||S(a,\"OP" + "TGROUP\")){var f=ua(a,function(e){return S(e,\n\"SELECT\")});return!!f&&W" + "(f)}if(S(a,\"MAP\")){if(!a.name)return false;f=N(a);f=f.evaluate?P.d('/de" + "scendant::*[@usemap = \"#'+a.name+'\"]',f):sa(f,function(e){return S(e)&&" + "T(e,\"usemap\")==\"#\"+a.name});return!!f&&W(f)}if(S(a,\"AREA\")){f=ua(a," + "function(e){return S(e,\"MAP\")});return!!f&&W(f)}if(S(a,\"INPUT\")&&a.ty" + "pe.toLowerCase()==\"hidden\")return false;if(V(a,\"visibility\")==\"hidde" + "n\")return false;if(!c(a))return false;if(!b&&Ga(a)==0)return false;if(!d" + "(a))return false;return true}\nfunction Ha(a){var b=[\"\"];Ia(a,b);b=fa(b" + ",o);return o(b.join(\"\\n\"))}function Ia(a,b){if(S(a,\"BR\"))b.push(\"\"" + ");else{var c=Ja(a);c&&b[b.length-1]&&b.push(\"\");ea(a.childNodes,functio" + "n(d){if(d.nodeType==3){var f=U(d);if(f){W(f);if(f&&W(f)){d=d.nodeValue.re" + "place(Ka,\" \");f=b.pop();var e=f.length-1;if(e>=0&&f.indexOf(\" \",e)==e" + "&&d.lastIndexOf(\" \",0)==0)d=d.substr(1);b.push(f+d)}}}else S(d)&&Ia(d,b" + ")});c&&b[b.length-1]&&b.push(\"\")}}function Ja(a){a=V(a,\"display\");ret" + "urn a==\"block\"||a==\"inline-block\"}\nvar Ma=\"[\\\\s\\\\xa0\"+String.f" + "romCharCode(160)+\"]+\",Ka=RegExp(Ma,\"g\"),Fa=RegExp(\"^\"+Ma+\"$\");fun" + "ction Ga(a){if(D){if(V(a,\"position\")==\"relative\")return 1;a=V(a,\"fil" + "ter\");return(a=a.match(/^alpha\\(opacity=(\\d*)\\)/)||a.match(/^progid:D" + "XImageTransform.Microsoft.Alpha\\(Opacity=(\\d*)\\)/))?Number(a[1])/100:1" + "}else return Na(a)}function Na(a){var b=1,c=V(a,\"opacity\");if(c)b=Numbe" + "r(c);if(a=U(a))b*=Na(a);return b};var Oa={};Oa.d=function(a,b){var c=M(b)" + ",d=j(a)?c.g.getElementById(a):a;if(!d)return null;if(T(d,\"id\")==a&&ra(b" + ",d))return d;c=O(c,\"*\");return v(c,function(f){return T(f,\"id\")==a&&r" + "a(b,f)})};Oa.b=function(a,b){var c=O(M(b),\"*\",null,b);return u(c,functi" + "on(d){return T(d,\"id\")==a})};var X={},Pa={};X.i=function(a,b,c){b=O(M(b" + "),\"A\",null,b);return v(b,function(d){d=Ha(d);return c&&d.indexOf(a)!=-1" + "||d==a})};X.h=function(a,b,c){b=O(M(b),\"A\",null,b);return u(b,function(" + "d){d=Ha(d);return c&&d.indexOf(a)!=-1||d==a})};X.d=function(a,b){return X" + ".i(a,b,false)};X.b=function(a,b){return X.h(a,b,false)};Pa.d=function(a,b" + "){return X.i(a,b,true)};Pa.b=function(a,b){return X.h(a,b,true)};var Qa={" + "};Qa.d=function(a,b){var c=O(M(b),\"*\",null,b);return v(c,function(d){re" + "turn T(d,\"name\")==a})};Qa.b=function(a,b){var c=O(M(b),\"*\",null,b);re" + "turn u(c,function(d){return T(d,\"name\")==a})};var Ra={};Ra.d=function(a" + ",b){return O(M(b),a,null,b)[0]||null};Ra.b=function(a,b){return O(M(b),a," + "null,b)};var Sa={className:va,css:wa,id:Oa,linkText:X,name:Qa,partialLink" + "Text:Pa,tagName:Ra,xpath:P};function Ta(a,b){var c;a:{for(c in a){c=c;bre" + "ak a}c=void 0}if(c){var d=Sa[c];if(d&&k(d.b))return d.b(a[c],b||N(h))}thr" + "ow Error(\"Unsupported locator strategy: \"+c);}var Y=\"_\".split(\".\")," + "Z=h;!(Y[0]in Z)&&Z.execScript&&Z.execScript(\"var \"+Y[0]);for(var $;Y.le" + "ngth&&($=Y.shift());)if(!Y.length&&Ta!==undefined)Z[$]=Ta;else Z=Z[$]?Z[$" + "]:Z[$]={};; return _.apply(null,arguments);}"; + +const char* const GET_ATTRIBUTE = + "function(){var f=this;\nfunction g(a){var c=typeof a;if(c==\"object\")if(" + "a){if(a instanceof Array)return\"array\";else if(a instanceof Object)retu" + "rn c;var b=Object.prototype.toString.call(a);if(b==\"[object Window]\")re" + "turn\"object\";if(b==\"[object Array]\"||typeof a.length==\"number\"&&typ" + "eof a.splice!=\"undefined\"&&typeof a.propertyIsEnumerable!=\"undefined\"" + "&&!a.propertyIsEnumerable(\"splice\"))return\"array\";if(b==\"[object Fun" + "ction]\"||typeof a.call!=\"undefined\"&&typeof a.propertyIsEnumerable!=\"" + "undefined\"&&!a.propertyIsEnumerable(\"call\"))return\"function\"}else re" + "turn\"null\";else if(c==\n\"function\"&&typeof a.call==\"undefined\")retu" + "rn\"object\";return c}function h(a,c){function b(){}b.prototype=c.prototy" + "pe;a.g=c.prototype;a.prototype=new b};function i(a){this.stack=Error().st" + "ack||\"\";if(a)this.message=String(a)}h(i,Error);function j(a){for(var c=" + "1;cc)" + "return 1;return 0};function p(a,c){c.unshift(a);i.call(this,j.apply(null," + "c));c.shift();this.h=a}h(p,i);function q(a,c){if(!a){var b=Array.prototyp" + "e.slice.call(arguments,2),d=\"Assertion failed\";if(c){d+=\": \"+c;var e=" + "b}throw new p(\"\"+d,e||[]);}return a};var r=Array.prototype,s=r.indexOf?" + "function(a,c,b){q(a.length!=null);return r.indexOf.call(a,c,b)}:function(" + "a,c,b){b=b==null?0:b<0?Math.max(0,a.length+b):b;if(typeof a==\"string\"){" + "if(typeof c!=\"string\"||c.length!=1)return-1;return a.indexOf(c,b)}for(b" + "=b;bparseFloat(E)){D=String(I);break a}}D=E}var K={};\nf" + "unction L(a){var c;if(!(c=K[a])){c=0;var b=l(String(D)).split(\".\"),d=l(" + "String(a)).split(\".\"),e=Math.max(b.length,d.length);for(var k=0;c==0&&k" + "=" + "0}return c};!A||L(\"9\");A&&L(\"9\");var M=\"StopIteration\"in f?f.StopIt" + "eration:Error(\"StopIteration\");function N(){}N.prototype.next=function(" + "){throw M;};function P(a,c,b,d,e){this.a=!!c;a&&Q(this,a,d);this.d=e!=und" + "efined?e:this.c||0;if(this.a)this.d*=-1;this.f=!b}h(P,N);P.prototype.b=nu" + "ll;P.prototype.c=0;P.prototype.e=false;function Q(a,c,b,d){if(a.b=c)a.c=t" + "ypeof b==\"number\"?b:a.b.nodeType!=1?0:a.a?-1:1;if(typeof d==\"number\")" + "a.d=d}\nP.prototype.next=function(){var a;if(this.e){if(!this.b||this.f&&" + "this.d==0)throw M;a=this.b;var c=this.a?-1:1;if(this.c==c){var b=this.a?a" + ".lastChild:a.firstChild;b?Q(this,b):Q(this,a,c*-1)}else(b=this.a?a.previo" + "usSibling:a.nextSibling)?Q(this,b):Q(this,a.parentNode,c*-1);this.d+=this" + ".c*(this.a?-1:1)}else this.e=true;a=this.b;if(!this.b)throw M;return a};" + "\nP.prototype.splice=function(){var a=this.b,c=this.a?1:-1;if(this.c==c){" + "this.c=c*-1;this.d+=this.c*(this.a?-1:1)}this.a=!this.a;P.prototype.next." + "call(this);this.a=!this.a;c=arguments[0];var b=g(c);c=b==\"array\"||b==\"" + "object\"&&typeof c.length==\"number\"?arguments[0]:arguments;for(b=c.leng" + "th-1;b>=0;b--)a.parentNode&&a.parentNode.insertBefore(c[b],a.nextSibling)" + ";a&&a.parentNode&&a.parentNode.removeChild(a)};function R(a,c,b,d){P.call" + "(this,a,c,b,null,d)}h(R,P);R.prototype.next=function(){do R.g.next.call(t" + "his);while(this.c==-1);return this.b};var aa={\"class\":\"className\",rea" + "donly:\"readOnly\"},S=[\"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\",\"selec" + "ted\",\"spellcheck\",\"truespeed\",\"willvalidate\"];\nfunction ba(a,c){i" + "f(8==a.nodeType)return null;c=c.toLowerCase();if(c==\"style\"){var b=l(a." + "style.cssText).toLowerCase();return b.charAt(b.length-1)==\";\"?b:b+\";\"" + "}b=a.getAttributeNode(c);if(A)if(!b&&L(8)&&s(S,c)>=0)b=a[c];if(!b)return " + "null;if(s(S,c)>=0)return A&&b.value==\"false\"?null:\"true\";return b.spe" + "cified?b.value:null}String.fromCharCode(160);\nvar ca=[\"checkbox\",\"rad" + "io\"];function T(a){var c=a.tagName.toUpperCase();if(c==\"OPTION\")return" + " true;if(c==\"INPUT\")if(s(ca,a.type)>=0)return true;return false};functi" + "on U(a,c){var b=null;b=c.toLowerCase();if(\"style\"==c.toLowerCase()){if(" + "(b=a.style)&&typeof b!=\"string\")b=b.cssText;return b}if(\"selected\"==b" + "||\"checked\"==b&&T(a)){var d;if(T(a)){d=\"selected\";b=a.type&&a.type.to" + "LowerCase();if(\"checkbox\"==b||\"radio\"==b)d=\"checked\";d=!!a[d]}else " + "d=false;return d?\"true\":null}var e=a.tagName&&\"A\"==a.tagName.toUpperC" + "ase(),k=a.tagName&&\"IMG\"==a.tagName.toUpperCase();try{d=a[aa[c]||c]}cat" + "ch(O){}if(!(e=b==\"href\"&&e)){if(!(b=b==\"src\"&&k)){if(!(b=d==null)){b=" + "g(d);b=b==\n\"object\"||b==\"array\"||b==\"function\"}b=b}e=b}b=e?ba(a,c)" + ":d;return b!=null?b.toString():null}var V=\"_\".split(\".\"),W=f;!(V[0]in" + " W)&&W.execScript&&W.execScript(\"var \"+V[0]);for(var X;V.length&&(X=V.s" + "hift());)if(!V.length&&U!==undefined)W[X]=U;else W=W[X]?W[X]:W[X]={};; re" + "turn _.apply(null,arguments);}"; + +const char* const GET_EFFECTIVE_STYLE = + "function(){var e=this;function f(b,c){function a(){}a.prototype=c.prototy" + "pe;b.g=c.prototype;b.prototype=new a};function g(b){this.stack=Error().st" + "ack||\"\";if(b)this.message=String(b)}f(g,Error);function k(b){for(var c=" + "1;cc)r" + "eturn 1;return 0}var n={};function o(b){return n[b]||(n[b]=String(b).repl" + "ace(/\\-([a-z])/g,function(c,a){return a.toUpperCase()}))};f(function(b,c" + "){c.unshift(b);g.call(this,k.apply(null,c));c.shift();this.f=b},g);var q," + "r,s,t;function u(){return e.navigator?e.navigator.userAgent:null}t=s=r=q=" + "false;var v;if(v=u()){var w=e.navigator;q=v.indexOf(\"Opera\")==0;r=!q&&v" + ".indexOf(\"MSIE\")!=-1;s=!q&&v.indexOf(\"WebKit\")!=-1;t=!q&&!s&&w.produc" + "t==\"Gecko\"}var x=r,y=t,z=s,A;\na:{var B=\"\",C;if(q&&e.opera){var D=e.o" + "pera.version;B=typeof D==\"function\"?D():D}else{if(y)C=/rv\\:([^\\);]+)(" + "\\)|;)/;else if(x)C=/MSIE\\s+([^\\);]+)(\\)|;)/;else if(z)C=/WebKit\\/(" + "\\S+)/;if(C){var E=C.exec(u());B=E?E[1]:\"\"}}if(x){var F,G=e.document;F=" + "G?G.documentMode:undefined;if(F>parseFloat(B)){A=String(F);break a}}A=B}v" + "ar H={};!x||H[\"9\"]||(H[\"9\"]=l(A,\"9\")>=0);x&&(H[\"9\"]||(H[\"9\"]=l(" + "A,\"9\")>=0));function I(b,c,a,d,h){this.c=!!c;if(b){if(this.b=b)this.d=t" + "ypeof d==\"number\"?d:this.b.nodeType!=1?0:this.c?-1:1;if(typeof void 0==" + "\"number\")this.a=void 0}this.a=h!=undefined?h:this.d||0;if(this.c)this.a" + "*=-1;this.e=!a}f(I,function(){});I.prototype.b=null;I.prototype.d=0;f(fun" + "ction(b,c,a,d){I.call(this,b,c,a,null,d)},I);function J(b,c){var a=(b.cur" + "rentStyle||b.style)[c];if(a!=\"inherit\")return a!==undefined?a:null;for(" + "a=b.parentNode;a&&a.nodeType!=1&&a.nodeType!=9&&a.nodeType!=11;)a=a.paren" + "tNode;return(a=a&&a.nodeType==1&&1?a:null)?J(a,c):null}String.fromCharCod" + "e(160);function P(b,c){c=o(String(c));var a;a:{a=c;var d=b.nodeType==9?b:" + "b.ownerDocument||b.document;if(d.defaultView&&d.defaultView.getComputedSt" + "yle)if(d=d.defaultView.getComputedStyle(b,null)){a=d[a]||d.getPropertyVal" + "ue(a);break a}a=\"\"}return a||J(b,c)}var Q=\"_\".split(\".\"),R=e;!(Q[0]" + "in R)&&R.execScript&&R.execScript(\"var \"+Q[0]);for(var S;Q.length&&(S=Q" + ".shift());)if(!Q.length&&P!==undefined)R[S]=P;else R=R[S]?R[S]:R[S]={};; " + "return _.apply(null,arguments);}"; + +const char* const GET_LOCATION = + "function(){var g=this;function h(a,b){function c(){}c.prototype=b.prototy" + "pe;a.c=b.prototype;a.prototype=new c};function i(a){this.stack=Error().st" + "ack||\"\";if(a)this.message=String(a)}h(i,Error);function j(a){for(var b=" + "1;bb)r" + "eturn 1;return 0};h(function(a,b){b.unshift(a);i.call(this,j.apply(null,b" + "));b.shift();this.b=a},i);var o,p,r,s;function t(){return g.navigator?g.n" + "avigator.userAgent:null}s=r=p=o=false;var u;if(u=t()){var v=g.navigator;o" + "=u.indexOf(\"Opera\")==0;p=!o&&u.indexOf(\"MSIE\")!=-1;r=!o&&u.indexOf(\"" + "WebKit\")!=-1;s=!o&&!r&&v.product==\"Gecko\"}var w=o,x=p,y=s,z=r,A;\na:{v" + "ar B=\"\",C;if(w&&g.opera){var D=g.opera.version;B=typeof D==\"function\"" + "?D():D}else{if(y)C=/rv\\:([^\\);]+)(\\)|;)/;else if(x)C=/MSIE\\s+([^\\);]" + "+)(\\)|;)/;else if(z)C=/WebKit\\/(\\S+)/;if(C){var E=C.exec(t());B=E?E[1]" + ":\"\"}}if(x){var F,G=g.document;F=G?G.documentMode:undefined;if(F>parseFl" + "oat(B)){A=String(F);break a}}A=B}var H={};var I;!x||H[\"9\"]||(H[\"9\"]=k" + "(A,\"9\")>=0);x&&(H[\"9\"]||(H[\"9\"]=k(A,\"9\")>=0));function J(a,b){thi" + "s.x=a!==undefined?a:0;this.y=b!==undefined?b:0}J.prototype.toString=funct" + "ion(){return\"(\"+this.x+\", \"+this.y+\")\"};function K(a){return a.node" + "Type==9?a:a.ownerDocument||a.document}function L(a){this.a=a||g.document|" + "|document};function M(a,b){var c;a:{c=K(a);if(c.defaultView&&c.defaultVie" + "w.getComputedStyle)if(c=c.defaultView.getComputedStyle(a,null)){c=c[b]||c" + ".getPropertyValue(b);break a}c=\"\"}return c||(a.currentStyle?a.currentSt" + "yle[b]:null)||a.style[b]}\nfunction N(a){if(x)return a.offsetParent;var b" + "=K(a),c=M(a,\"position\"),f=c==\"fixed\"||c==\"absolute\";for(a=a.parentN" + "ode;a&&a!=b;a=a.parentNode){c=M(a,\"position\");f=f&&c==\"static\"&&a!=b." + "documentElement&&a!=b.body;if(!f&&(a.scrollWidth>a.clientWidth||a.scrollH" + "eight>a.clientHeight||c==\"fixed\"||c==\"absolute\"))return a}return null" + "};function O(a){var b,c=K(a),f=M(a,\"position\"),q=y&&c.getBoxObjectFor&&" + "!a.getBoundingClientRect&&f==\"absolute\"&&(b=c.getBoxObjectFor(a))&&(b.s" + "creenX<0||b.screenY<0),d=new J(0,0),e;b=c?c.nodeType==9?c:K(c):document;i" + "f(e=x)e=(b?new L(K(b)):I||(I=new L)).a.compatMode!=\"CSS1Compat\";e=e?b.b" + "ody:b.documentElement;if(a==e)return d;if(a.getBoundingClientRect){b=a.ge" + "tBoundingClientRect();if(x){a=a.ownerDocument;b.left-=a.documentElement.c" + "lientLeft+a.body.clientLeft;b.top-=a.documentElement.clientTop+a.body.cli" + "entTop}b=\nb;c=(c?new L(K(c)):I||(I=new L)).a;c=!z&&c.compatMode==\"CSS1C" + "ompat\"?c.documentElement:c.body;c=new J(c.scrollLeft,c.scrollTop);d.x=b." + "left+c.x;d.y=b.top+c.y}else if(c.getBoxObjectFor&&!q){b=c.getBoxObjectFor" + "(a);c=c.getBoxObjectFor(e);d.x=b.screenX-c.screenX;d.y=b.screenY-c.screen" + "Y}else{b=a;do{d.x+=b.offsetLeft;d.y+=b.offsetTop;if(b!=a){d.x+=b.clientLe" + "ft||0;d.y+=b.clientTop||0}if(z&&M(b,\"position\")==\"fixed\"){d.x+=c.body" + ".scrollLeft;d.y+=c.body.scrollTop;break}b=b.offsetParent}while(b&&b!=a);i" + "f(w||z&&\nf==\"absolute\")d.y-=c.body.offsetTop;for(b=a;(b=N(b))&&b!=c.bo" + "dy&&b!=e;){d.x-=b.scrollLeft;if(!w||b.tagName!=\"TR\")d.y-=b.scrollTop}}r" + "eturn d}var P=\"_\".split(\".\"),U=g;!(P[0]in U)&&U.execScript&&U.execScr" + "ipt(\"var \"+P[0]);for(var V;P.length&&(V=P.shift());)if(!P.length&&O!==u" + "ndefined)U[V]=O;else U=U[V]?U[V]:U[V]={};; return _.apply(null,arguments)" + ";}"; + +const char* const GET_LOCATION_IN_VIEW = + "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 instanceof Object)retu" + "rn b;var c=Object.prototype.toString.call(a);if(c==\"[object Window]\")re" + "turn\"object\";if(c==\"[object Array]\"||typeof a.length==\"number\"&&typ" + "eof a.splice!=\"undefined\"&&typeof a.propertyIsEnumerable!=\"undefined\"" + "&&!a.propertyIsEnumerable(\"splice\"))return\"array\";if(c==\"[object Fun" + "ction]\"||typeof a.call!=\"undefined\"&&typeof a.propertyIsEnumerable!=\"" + "undefined\"&&!a.propertyIsEnumerable(\"call\"))return\"function\"}else re" + "turn\"null\";else if(b==\n\"function\"&&typeof a.call==\"undefined\")retu" + "rn\"object\";return b}function k(a,b){function c(){}c.prototype=b.prototy" + "pe;a.i=b.prototype;a.prototype=new c};function l(a){this.stack=Error().st" + "ack||\"\";if(a)this.message=String(a)}k(l,Error);function aa(a){for(var b" + "=1;b" + "b)return 1;return 0};k(function(a,b){b.unshift(a);l.call(this,aa.apply(nu" + "ll,b));b.shift();this.j=a},l);var s,t,u,v;function w(){return i.navigator" + "?i.navigator.userAgent:null}v=u=t=s=false;var x;if(x=w()){var ba=i.naviga" + "tor;s=x.indexOf(\"Opera\")==0;t=!s&&x.indexOf(\"MSIE\")!=-1;u=!s&&x.index" + "Of(\"WebKit\")!=-1;v=!s&&!u&&ba.product==\"Gecko\"}var y=s,z=t,A=v,B=u,C;" + "\na:{var D=\"\",E;if(y&&i.opera){var F=i.opera.version;D=typeof F==\"func" + "tion\"?F():F}else{if(A)E=/rv\\:([^\\);]+)(\\)|;)/;else if(z)E=/MSIE\\s+([" + "^\\);]+)(\\)|;)/;else if(B)E=/WebKit\\/(\\S+)/;if(E){var G=E.exec(w());D=" + "G?G[1]:\"\"}}if(z){var H,I=i.document;H=I?I.documentMode:undefined;if(H>p" + "arseFloat(D)){C=String(H);break a}}C=D}var J={};var K;!z||J[\"9\"]||(J[\"" + "9\"]=o(C,\"9\")>=0);z&&(J[\"9\"]||(J[\"9\"]=o(C,\"9\")>=0));function L(a," + "b){this.x=a!==undefined?a:0;this.y=b!==undefined?b:0}L.prototype.toString" + "=function(){return\"(\"+this.x+\", \"+this.y+\")\"};function M(a){return " + "a?new N(O(a)):K||(K=new N)}function O(a){return a.nodeType==9?a:a.ownerDo" + "cument||a.document}function N(a){this.e=a||i.document||document}function " + "ca(a){a=!B&&a.e.compatMode==\"CSS1Compat\"?a.e.documentElement:a.e.body;r" + "eturn new L(a.scrollLeft,a.scrollTop)};var P=\"StopIteration\"in i?i.Stop" + "Iteration:Error(\"StopIteration\");function da(){}da.prototype.next=funct" + "ion(){throw P;};function Q(a,b,c,d,h){this.a=!!b;a&&R(this,a,d);this.d=h!" + "=undefined?h:this.c||0;if(this.a)this.d*=-1;this.h=!c}k(Q,da);Q.prototype" + ".b=null;Q.prototype.c=0;Q.prototype.g=false;function R(a,b,c,d){if(a.b=b)" + "a.c=typeof c==\"number\"?c:a.b.nodeType!=1?0:a.a?-1:1;if(typeof d==\"numb" + "er\")a.d=d}\nQ.prototype.next=function(){var a;if(this.g){if(!this.b||thi" + "s.h&&this.d==0)throw P;a=this.b;var b=this.a?-1:1;if(this.c==b){var c=thi" + "s.a?a.lastChild:a.firstChild;c?R(this,c):R(this,a,b*-1)}else(c=this.a?a.p" + "reviousSibling:a.nextSibling)?R(this,c):R(this,a.parentNode,b*-1);this.d+" + "=this.c*(this.a?-1:1)}else this.g=true;a=this.b;if(!this.b)throw P;return" + " a};\nQ.prototype.splice=function(){var a=this.b,b=this.a?1:-1;if(this.c=" + "=b){this.c=b*-1;this.d+=this.c*(this.a?-1:1)}this.a=!this.a;Q.prototype.n" + "ext.call(this);this.a=!this.a;b=arguments[0];var c=j(b);b=c==\"array\"||c" + "==\"object\"&&typeof b.length==\"number\"?arguments[0]:arguments;for(c=b." + "length-1;c>=0;c--)a.parentNode&&a.parentNode.insertBefore(b[c],a.nextSibl" + "ing);a&&a.parentNode&&a.parentNode.removeChild(a)};function S(a,b,c,d){Q." + "call(this,a,b,c,null,d)}k(S,Q);S.prototype.next=function(){do S.i.next.ca" + "ll(this);while(this.c==-1);return this.b};function T(a,b,c,d){this.top=a;" + "this.right=b;this.bottom=c;this.left=d}T.prototype.toString=function(){re" + "turn\"(\"+this.top+\"t, \"+this.right+\"r, \"+this.bottom+\"b, \"+this.le" + "ft+\"l)\"};function U(a,b){var c=O(a);if(c.defaultView&&c.defaultView.get" + "ComputedStyle)if(c=c.defaultView.getComputedStyle(a,null))return c[b]||c." + "getPropertyValue(b);return\"\"}function V(a,b){return U(a,b)||(a.currentS" + "tyle?a.currentStyle[b]:null)||a.style[b]}function ea(a){var b=a.getBoundi" + "ngClientRect();if(z){a=a.ownerDocument;b.left-=a.documentElement.clientLe" + "ft+a.body.clientLeft;b.top-=a.documentElement.clientTop+a.body.clientTop}" + "return b}\nfunction fa(a){if(z)return a.offsetParent;var b=O(a),c=V(a,\"p" + "osition\"),d=c==\"fixed\"||c==\"absolute\";for(a=a.parentNode;a&&a!=b;a=a" + ".parentNode){c=V(a,\"position\");d=d&&c==\"static\"&&a!=b.documentElement" + "&&a!=b.body;if(!d&&(a.scrollWidth>a.clientWidth||a.scrollHeight>a.clientH" + "eight||c==\"fixed\"||c==\"absolute\"))return a}return null}\nfunction W(a" + "){var b,c=O(a),d=V(a,\"position\"),h=A&&c.getBoxObjectFor&&!a.getBounding" + "ClientRect&&d==\"absolute\"&&(b=c.getBoxObjectFor(a))&&(b.screenX<0||b.sc" + "reenY<0),f=new L(0,0),e;b=c?c.nodeType==9?c:O(c):document;if(e=z)e=M(b).e" + ".compatMode!=\"CSS1Compat\";e=e?b.body:b.documentElement;if(a==e)return f" + ";if(a.getBoundingClientRect){b=ea(a);a=ca(M(c));f.x=b.left+a.x;f.y=b.top+" + "a.y}else if(c.getBoxObjectFor&&!h){b=c.getBoxObjectFor(a);a=c.getBoxObjec" + "tFor(e);f.x=b.screenX-a.screenX;f.y=b.screenY-a.screenY}else{b=\na;do{f.x" + "+=b.offsetLeft;f.y+=b.offsetTop;if(b!=a){f.x+=b.clientLeft||0;f.y+=b.clie" + "ntTop||0}if(B&&V(b,\"position\")==\"fixed\"){f.x+=c.body.scrollLeft;f.y+=" + "c.body.scrollTop;break}b=b.offsetParent}while(b&&b!=a);if(y||B&&d==\"abso" + "lute\")f.y-=c.body.offsetTop;for(b=a;(b=fa(b))&&b!=c.body&&b!=e;){f.x-=b." + "scrollLeft;if(!y||b.tagName!=\"TR\")f.y-=b.scrollTop}}return f}var ha={th" + "in:2,medium:4,thick:6};\nfunction X(a,b){if((a.currentStyle?a.currentStyl" + "e[b+\"Style\"]:null)==\"none\")return 0;var c=a.currentStyle?a.currentSty" + "le[b+\"Width\"]:null;if(c in ha)return ha[c];var d;if(/^\\d+px?$/.test(c)" + ")d=parseInt(c,10);else{d=a.style.left;var h=a.runtimeStyle.left;a.runtime" + "Style.left=a.currentStyle.left;a.style.left=c;c=a.style.pixelLeft;a.style" + ".left=d;a.runtimeStyle.left=h;d=c}return d};String.fromCharCode(160);func" + "tion ia(a){for(var b=a;b&&b.parentNode&&b.parentNode!=document;){var c=b," + "d=b.parentNode,h=W(c),f=W(d),e;var g=d;if(z){e=X(g,\"borderLeft\");var m=" + "X(g,\"borderRight\"),n=X(g,\"borderTop\");g=X(g,\"borderBottom\");e=new T" + "(n,m,g,e)}else{e=U(g,\"borderLeftWidth\");m=U(g,\"borderRightWidth\");n=U" + "(g,\"borderTopWidth\");g=U(g,\"borderBottomWidth\");e=new T(parseFloat(n)" + ",parseFloat(m),parseFloat(g),parseFloat(e))}m=h.y-f.y-e.top;n=d.clientHei" + "ght-c.offsetHeight;d.scrollLeft+=h.x-f.x-e.left-(d.clientWidth-c.offsetWi" + "dth)/\n2;d.scrollTop+=m-n/2;b=b.parentNode}b=new L;if(a.nodeType==1)if(a." + "getBoundingClientRect){a=ea(a);b.x=a.left;b.y=a.top}else{c=ca(M(a));a=W(a" + ");b.x=a.x-c.x;b.y=a.y-c.y}else{c=j(a.f)==\"function\";d=a;if(a.targetTouc" + "hes)d=a.targetTouches[0];else if(c&&a.f().targetTouches)d=a.f().targetTou" + "ches[0];b.x=d.clientX;b.y=d.clientY}return b}var Y=\"_\".split(\".\"),Z=i" + ";!(Y[0]in Z)&&Z.execScript&&Z.execScript(\"var \"+Y[0]);for(var $;Y.lengt" + "h&&($=Y.shift());)if(!Y.length&&ia!==undefined)Z[$]=ia;else Z=Z[$]?Z[$]:Z" + "[$]={};; return _.apply(null,arguments);}"; + +const char* const GET_SIZE = + "function(){var d=this;function e(a,b){function c(){}c.prototype=b.prototy" + "pe;a.b=b.prototype;a.prototype=new c};function f(a){this.stack=Error().st" + "ack||\"\";if(a)this.message=String(a)}e(f,Error);function h(a){for(var b=" + "1;bb)return 1;return 0};e(function(a,b){b.unshift(a);f.call(this,h.appl" + "y(null,b));b.shift();this.a=a},f);var l,m,n,o;function p(){return d.navig" + "ator?d.navigator.userAgent:null}o=n=m=l=false;var r;if(r=p()){var s=d.nav" + "igator;l=r.indexOf(\"Opera\")==0;m=!l&&r.indexOf(\"MSIE\")!=-1;n=!l&&r.in" + "dexOf(\"WebKit\")!=-1;o=!l&&!n&&s.product==\"Gecko\"}var t=l,u=m,v=o,w=n," + "x;\na:{var y=\"\",z;if(t&&d.opera){var B=d.opera.version;y=typeof B==\"fu" + "nction\"?B():B}else{if(v)z=/rv\\:([^\\);]+)(\\)|;)/;else if(u)z=/MSIE\\s+" + "([^\\);]+)(\\)|;)/;else if(w)z=/WebKit\\/(\\S+)/;if(z){var C=z.exec(p());" + "y=C?C[1]:\"\"}}if(u){var D,E=d.document;D=E?E.documentMode:undefined;if(D" + ">parseFloat(y)){x=String(D);break a}}x=y}var F={};\nfunction G(a){var b;i" + "f(!(b=F[a])){b=0;var c=String(x).replace(/^[\\s\\xa0]+|[\\s\\xa0]+$/g,\"" + "\").split(\".\"),q=String(a).replace(/^[\\s\\xa0]+|[\\s\\xa0]+$/g,\"\").s" + "plit(\".\"),A=Math.max(c.length,q.length);for(var g=0;b==0&&g=0}return b" + "};!u||G(\"9\");u&&G(\"9\");function H(a,b){this.width=a;this.height=b}H.p" + "rototype.toString=function(){return\"(\"+this.width+\" x \"+this.height+" + "\")\"};function I(a){var b=t&&!G(\"10\"),c;a:{c=a.nodeType==9?a:a.ownerDo" + "cument||a.document;if(c.defaultView&&c.defaultView.getComputedStyle)if(c=" + "c.defaultView.getComputedStyle(a,null)){c=c.display||c.getPropertyValue(" + "\"display\");break a}c=\"\"}if((c||(a.currentStyle?a.currentStyle.display" + ":null)||a.style.display)!=\"none\")return b?new H(a.offsetWidth||a.client" + "Width,a.offsetHeight||a.clientHeight):new H(a.offsetWidth,a.offsetHeight)" + ";c=a.style;var q=c.display,A=c.visibility,g=c.position;c.visibility=\"hid" + "den\";c.position=\n\"absolute\";c.display=\"inline\";if(b){b=a.offsetWidt" + "h||a.clientWidth;a=a.offsetHeight||a.clientHeight}else{b=a.offsetWidth;a=" + "a.offsetHeight}c.display=q;c.position=g;c.visibility=A;return new H(b,a)}" + "var J=\"_\".split(\".\"),K=d;!(J[0]in K)&&K.execScript&&K.execScript(\"va" + "r \"+J[0]);for(var L;J.length&&(L=J.shift());)if(!J.length&&I!==undefined" + ")K[L]=I;else K=K[L]?K[L]:K[L]={};; return _.apply(null,arguments);}"; + +const char* const GET_TEXT = + "function(){var g=this;\nfunction h(a){var b=typeof a;if(b==\"object\")if(" + "a){if(a instanceof Array)return\"array\";else if(a instanceof Object)retu" + "rn b;var c=Object.prototype.toString.call(a);if(c==\"[object Window]\")re" + "turn\"object\";if(c==\"[object Array]\"||typeof a.length==\"number\"&&typ" + "eof a.splice!=\"undefined\"&&typeof a.propertyIsEnumerable!=\"undefined\"" + "&&!a.propertyIsEnumerable(\"splice\"))return\"array\";if(c==\"[object Fun" + "ction]\"||typeof a.call!=\"undefined\"&&typeof a.propertyIsEnumerable!=\"" + "undefined\"&&!a.propertyIsEnumerable(\"call\"))return\"function\"}else re" + "turn\"null\";else if(b==\n\"function\"&&typeof a.call==\"undefined\")retu" + "rn\"object\";return b}function j(a){return typeof a==\"string\"}function " + "k(a,b){function c(){}c.prototype=b.prototype;a.g=b.prototype;a.prototype=" + "new c};function l(a){this.stack=Error().stack||\"\";if(a)this.message=Str" + "ing(a)}k(l,Error);l.prototype.name=\"CustomError\";function aa(a){for(var" + " b=1;bb)return 1;return 0}var o={};function ba(a){return o[a]||(o[a]=String(a)" + ".replace(/\\-([a-z])/g,function(b,c){return c.toUpperCase()}))};function " + "p(a,b){b.unshift(a);l.call(this,aa.apply(null,b));b.shift();this.h=a}k(p," + "l);p.prototype.name=\"AssertionError\";function q(a,b){if(!a){var c=Array" + ".prototype.slice.call(arguments,2),e=\"Assertion failed\";if(b){e+=\": \"" + "+b;var f=c}throw new p(\"\"+e,f||[]);}return a};var r=Array.prototype,s=r" + ".indexOf?function(a,b,c){q(a.length!=null);return r.indexOf.call(a,b,c)}:" + "function(a,b,c){c=c==null?0:c<0?Math.max(0,a.length+c):c;if(j(a)){if(!j(b" + ")||b.length!=1)return-1;return a.indexOf(b,c)}for(c=c;cpa" + "rseFloat(F)){E=String(K);break a}}E=F}var M={};\nfunction N(a){var b;if(!" + "(b=M[a])){b=0;var c=m(String(E)).split(\".\"),e=m(String(a)).split(\".\")" + ",f=Math.max(c.length,e.length);for(var d=0;b==0&&d=0}return b};!C||N(" + "\"9\");C&&N(\"9\");function O(a,b){this.width=a;this.height=b}O.prototype" + ".toString=function(){return\"(\"+this.width+\" x \"+this.height+\")\"};fu" + "nction P(a){return a.nodeType==9?a:a.ownerDocument||a.document}function h" + "a(a,b){var c=[];return ia(a,b,c,true)?c[0]:undefined}function ia(a,b,c,e)" + "{if(a!=null){var f=0;for(var d;d=a.childNodes[f];f++){if(b(d)){c.push(d);" + "if(e)return true}if(ia(d,b,c,e))return true}}return false}function ja(a,b" + ",c,e){if(!c)a=a.parentNode;c=e==null;for(var f=0;a&&(c||f<=e);){if(b(a))r" + "eturn a;a=a.parentNode;f++}return null};function ka(a,b){try{var c;if(typ" + "eof b.selectSingleNode!=\"undefined\"){var e=P(b);typeof e.setProperty!=" + "\"undefined\"&&e.setProperty(\"SelectionLanguage\",\"XPath\");c=b.selectS" + "ingleNode(a)}else if(document.implementation.hasFeature(\"XPath\",\"3.0\"" + ")){e=P(b);var f=e.createNSResolver(e.documentElement);c=e.evaluate(a,b,f," + "XPathResult.FIRST_ORDERED_NODE_TYPE,null).singleNodeValue}else c=null}cat" + "ch(d){return null}if(!c)return null;if(c.nodeType!=1)throw Error(\"Return" + "ed node is not an element: \"+a);return c};var Q=\"StopIteration\"in g?g." + "StopIteration:Error(\"StopIteration\");function la(){}la.prototype.next=f" + "unction(){throw Q;};function R(a,b,c,e,f){this.a=!!b;a&&S(this,a,e);this." + "d=f!=undefined?f:this.c||0;if(this.a)this.d*=-1;this.f=!c}k(R,la);R.proto" + "type.b=null;R.prototype.c=0;R.prototype.e=false;function S(a,b,c,e){if(a." + "b=b)a.c=typeof c==\"number\"?c:a.b.nodeType!=1?0:a.a?-1:1;if(typeof e==\"" + "number\")a.d=e}\nR.prototype.next=function(){var a;if(this.e){if(!this.b|" + "|this.f&&this.d==0)throw Q;a=this.b;var b=this.a?-1:1;if(this.c==b){var c" + "=this.a?a.lastChild:a.firstChild;c?S(this,c):S(this,a,b*-1)}else(c=this.a" + "?a.previousSibling:a.nextSibling)?S(this,c):S(this,a.parentNode,b*-1);thi" + "s.d+=this.c*(this.a?-1:1)}else this.e=true;a=this.b;if(!this.b)throw Q;re" + "turn a};\nR.prototype.splice=function(){var a=this.b,b=this.a?1:-1;if(thi" + "s.c==b){this.c=b*-1;this.d+=this.c*(this.a?-1:1)}this.a=!this.a;R.prototy" + "pe.next.call(this);this.a=!this.a;b=arguments[0];var c=h(b);b=c==\"array" + "\"||c==\"object\"&&typeof b.length==\"number\"?arguments[0]:arguments;for" + "(c=b.length-1;c>=0;c--)a.parentNode&&a.parentNode.insertBefore(b[c],a.nex" + "tSibling);a&&a.parentNode&&a.parentNode.removeChild(a)};function T(a,b,c," + "e){R.call(this,a,b,c,null,e)}k(T,R);T.prototype.next=function(){do T.g.ne" + "xt.call(this);while(this.c==-1);return this.b};function ma(a,b){var c=P(a" + ");if(c.defaultView&&c.defaultView.getComputedStyle)if(c=c.defaultView.get" + "ComputedStyle(a,null))return c[b]||c.getPropertyValue(b);return\"\"};func" + "tion U(a,b){return!!a&&a.nodeType==1&&(!b||a.tagName.toUpperCase()==b)}\n" + "var na=[\"async\",\"autofocus\",\"autoplay\",\"checked\",\"compact\",\"co" + "mplete\",\"controls\",\"declare\",\"defaultchecked\",\"defaultselected\"," + "\"defer\",\"disabled\",\"draggable\",\"ended\",\"formnovalidate\",\"hidde" + "n\",\"indeterminate\",\"iscontenteditable\",\"ismap\",\"itemscope\",\"loo" + "p\",\"multiple\",\"muted\",\"nohref\",\"noresize\",\"noshade\",\"novalida" + "te\",\"nowrap\",\"open\",\"paused\",\"pubdate\",\"readonly\",\"required\"" + ",\"reversed\",\"scoped\",\"seamless\",\"seeking\",\"selected\",\"spellche" + "ck\",\"truespeed\",\"willvalidate\"];\nfunction oa(a,b){if(8==a.nodeType)" + "return null;b=b.toLowerCase();if(b==\"style\"){var c=m(a.style.cssText).t" + "oLowerCase();return c.charAt(c.length-1)==\";\"?c:c+\";\"}c=a.getAttribut" + "eNode(b);if(C)if(!c&&N(8)&&s(na,b)>=0)c=a[b];if(!c)return null;if(s(na,b)" + ">=0)return C&&c.value==\"false\"?null:\"true\";return c.specified?c.value" + ":null}function V(a){for(a=a.parentNode;a&&a.nodeType!=1&&a.nodeType!=9&&a" + ".nodeType!=11;)a=a.parentNode;return U(a)?a:null}function W(a,b){b=ba(Str" + "ing(b));return ma(a,b)||pa(a,b)}\nfunction pa(a,b){var c=(a.currentStyle|" + "|a.style)[b];if(c!=\"inherit\")return c!==undefined?c:null;return(c=V(a))" + "?pa(c,b):null}\nfunction qa(a){if(h(a.getBBox)==\"function\")return a.get" + "BBox();var b;var c=B&&!N(\"10\");if((ma(a,\"display\")||(a.currentStyle?a" + ".currentStyle.display:null)||a.style.display)!=\"none\")b=c?new O(a.offse" + "tWidth||a.clientWidth,a.offsetHeight||a.clientHeight):new O(a.offsetWidth" + ",a.offsetHeight);else{b=a.style;var e=b.display,f=b.visibility,d=b.positi" + "on;b.visibility=\"hidden\";b.position=\"absolute\";b.display=\"inline\";i" + "f(c){c=a.offsetWidth||a.clientWidth;a=a.offsetHeight||a.clientHeight}else" + "{c=a.offsetWidth;a=a.offsetHeight}b.display=\ne;b.position=d;b.visibility" + "=f;b=new O(c,a)}return b}\nfunction X(a,b){function c(d){if(W(d,\"display" + "\")==\"none\")return false;d=V(d);return!d||c(d)}function e(d){var i=qa(d" + ");if(i.height>0&&i.width>0)return true;if(d.innerText||d.textContent)if(t" + "a.test(d.innerText||d.textContent))return true;return D&&ea(d.childNodes," + "function(G){return U(G)&&e(G)})}if(!U(a))throw Error(\"Argument to isShow" + "n must be of type Element\");if(U(a,\"TITLE\"))return(P(a)?P(a).parentWin" + "dow||P(a).defaultView:window)==g;if(U(a,\"OPTION\")||U(a,\"OPTGROUP\")){v" + "ar f=ja(a,function(d){return U(d,\n\"SELECT\")});return!!f&&X(f)}if(U(a," + "\"MAP\")){if(!a.name)return false;f=P(a);f=f.evaluate?ka('/descendant::*[" + "@usemap = \"#'+a.name+'\"]',f):ha(f,function(d){return U(d)&&oa(d,\"usema" + "p\")==\"#\"+a.name});return!!f&&X(f)}if(U(a,\"AREA\")){f=ja(a,function(d)" + "{return U(d,\"MAP\")});return!!f&&X(f)}if(U(a,\"INPUT\")&&a.type.toLowerC" + "ase()==\"hidden\")return false;if(W(a,\"visibility\")==\"hidden\")return " + "false;if(!c(a))return false;if(!b&&ua(a)==0)return false;if(!e(a))return " + "false;return true}\nfunction va(a,b){if(U(a,\"BR\"))b.push(\"\");else{var" + " c=wa(a);c&&b[b.length-1]&&b.push(\"\");ca(a.childNodes,function(e){if(e." + "nodeType==3){var f=V(e);if(f){X(f);if(f&&X(f)){e=e.nodeValue.replace(xa," + "\" \");f=b.pop();var d=f.length-1;if(d>=0&&f.indexOf(\" \",d)==d&&e.lastI" + "ndexOf(\" \",0)==0)e=e.substr(1);b.push(f+e)}}}else U(e)&&va(e,b)});c&&b[" + "b.length-1]&&b.push(\"\")}}function wa(a){a=W(a,\"display\");return a==\"" + "block\"||a==\"inline-block\"}\nvar ya=\"[\\\\s\\\\xa0\"+String.fromCharCo" + "de(160)+\"]+\",xa=RegExp(ya,\"g\"),ta=RegExp(\"^\"+ya+\"$\");function ua(" + "a){if(C){if(W(a,\"position\")==\"relative\")return 1;a=W(a,\"filter\");re" + "turn(a=a.match(/^alpha\\(opacity=(\\d*)\\)/)||a.match(/^progid:DXImageTra" + "nsform.Microsoft.Alpha\\(Opacity=(\\d*)\\)/))?Number(a[1])/100:1}else ret" + "urn za(a)}function za(a){var b=1,c=W(a,\"opacity\");if(c)b=Number(c);if(a" + "=V(a))b*=za(a);return b};\nfunction Aa(a){for(;a;){if(a.tagName&&a.tagNam" + "e.toLowerCase()==\"head\")return true;try{a=a.parentNode}catch(b){return " + "false}}return false};function Ba(a){if(Aa(a)){var b=P(a);if(a.tagName.toU" + "pperCase()==\"TITLE\"&&(b?b.parentWindow||b.defaultView:window)==g.top)re" + "turn m(b.title);return\"\"}b=[\"\"];va(a,b);b=da(b,m);return m(b.join(\"" + "\\n\"))}var Y=\"_\".split(\".\"),Z=g;!(Y[0]in Z)&&Z.execScript&&Z.execScr" + "ipt(\"var \"+Y[0]);for(var $;Y.length&&($=Y.shift());)if(!Y.length&&Ba!==" + "undefined)Z[$]=Ba;else Z=Z[$]?Z[$]:Z[$]={};; return _.apply(null,argument" + "s);}"; + +const char* const IS_DISPLAYED = + "function(){var g=this;\nfunction h(a){var b=typeof a;if(b==\"object\")if(" + "a){if(a instanceof Array)return\"array\";else if(a instanceof Object)retu" + "rn b;var c=Object.prototype.toString.call(a);if(c==\"[object Window]\")re" + "turn\"object\";if(c==\"[object Array]\"||typeof a.length==\"number\"&&typ" + "eof a.splice!=\"undefined\"&&typeof a.propertyIsEnumerable!=\"undefined\"" + "&&!a.propertyIsEnumerable(\"splice\"))return\"array\";if(c==\"[object Fun" + "ction]\"||typeof a.call!=\"undefined\"&&typeof a.propertyIsEnumerable!=\"" + "undefined\"&&!a.propertyIsEnumerable(\"call\"))return\"function\"}else re" + "turn\"null\";else if(b==\n\"function\"&&typeof a.call==\"undefined\")retu" + "rn\"object\";return b}function i(a,b){function c(){}c.prototype=b.prototy" + "pe;a.g=b.prototype;a.prototype=new c};function j(a){this.stack=Error().st" + "ack||\"\";if(a)this.message=String(a)}i(j,Error);j.prototype.name=\"Custo" + "mError\";function aa(a){for(var b=1;bb)return 1;return 0}var m={};function ba(" + "a){return m[a]||(m[a]=String(a).replace(/\\-([a-z])/g,function(b,c){retur" + "n c.toUpperCase()}))};function n(a,b){b.unshift(a);j.call(this,aa.apply(n" + "ull,b));b.shift();this.h=a}i(n,j);n.prototype.name=\"AssertionError\";fun" + "ction q(a,b){if(!a){var c=Array.prototype.slice.call(arguments,2),e=\"Ass" + "ertion failed\";if(b){e+=\": \"+b;var f=c}throw new n(\"\"+e,f||[]);}retu" + "rn a};var r=Array.prototype,s=r.indexOf?function(a,b,c){q(a.length!=null)" + ";return r.indexOf.call(a,b,c)}:function(a,b,c){c=c==null?0:c<0?Math.max(0" + ",a.length+c):c;if(typeof a==\"string\"){if(typeof b!=\"string\"||b.length" + "!=1)return-1;return a.indexOf(b,c)}for(c=c;cpa" + "rseFloat(F)){E=String(J);break a}}E=F}var L={};\nfunction M(a){var b;if(!" + "(b=L[a])){b=0;var c=k(String(E)).split(\".\"),e=k(String(a)).split(\".\")" + ",f=Math.max(c.length,e.length);for(var d=0;b==0&&d=0}return b};!A||M(" + "\"9\");A&&M(\"9\");function N(a,b){this.width=a;this.height=b}N.prototype" + ".toString=function(){return\"(\"+this.width+\" x \"+this.height+\")\"};fu" + "nction O(a){return a.nodeType==9?a:a.ownerDocument||a.document}function f" + "a(a,b){var c=[];return P(a,b,c,true)?c[0]:undefined}function P(a,b,c,e){i" + "f(a!=null){var f=0;for(var d;d=a.childNodes[f];f++){if(b(d)){c.push(d);if" + "(e)return true}if(P(d,b,c,e))return true}}return false}function ga(a,b,c," + "e){if(!c)a=a.parentNode;c=e==null;for(var f=0;a&&(c||f<=e);){if(b(a))retu" + "rn a;a=a.parentNode;f++}return null};function ha(a,b){try{var c;if(typeof" + " b.selectSingleNode!=\"undefined\"){var e=O(b);typeof e.setProperty!=\"un" + "defined\"&&e.setProperty(\"SelectionLanguage\",\"XPath\");c=b.selectSingl" + "eNode(a)}else if(document.implementation.hasFeature(\"XPath\",\"3.0\")){e" + "=O(b);var f=e.createNSResolver(e.documentElement);c=e.evaluate(a,b,f,XPat" + "hResult.FIRST_ORDERED_NODE_TYPE,null).singleNodeValue}else c=null}catch(d" + "){return null}if(!c)return null;if(c.nodeType!=1)throw Error(\"Returned n" + "ode is not an element: \"+a);return c};var Q=\"StopIteration\"in g?g.Stop" + "Iteration:Error(\"StopIteration\");function ia(){}ia.prototype.next=funct" + "ion(){throw Q;};function R(a,b,c,e,f){this.a=!!b;a&&S(this,a,e);this.d=f!" + "=undefined?f:this.c||0;if(this.a)this.d*=-1;this.f=!c}i(R,ia);R.prototype" + ".b=null;R.prototype.c=0;R.prototype.e=false;function S(a,b,c,e){if(a.b=b)" + "a.c=typeof c==\"number\"?c:a.b.nodeType!=1?0:a.a?-1:1;if(typeof e==\"numb" + "er\")a.d=e}\nR.prototype.next=function(){var a;if(this.e){if(!this.b||thi" + "s.f&&this.d==0)throw Q;a=this.b;var b=this.a?-1:1;if(this.c==b){var c=thi" + "s.a?a.lastChild:a.firstChild;c?S(this,c):S(this,a,b*-1)}else(c=this.a?a.p" + "reviousSibling:a.nextSibling)?S(this,c):S(this,a.parentNode,b*-1);this.d+" + "=this.c*(this.a?-1:1)}else this.e=true;a=this.b;if(!this.b)throw Q;return" + " a};\nR.prototype.splice=function(){var a=this.b,b=this.a?1:-1;if(this.c=" + "=b){this.c=b*-1;this.d+=this.c*(this.a?-1:1)}this.a=!this.a;R.prototype.n" + "ext.call(this);this.a=!this.a;b=arguments[0];var c=h(b);b=c==\"array\"||c" + "==\"object\"&&typeof b.length==\"number\"?arguments[0]:arguments;for(c=b." + "length-1;c>=0;c--)a.parentNode&&a.parentNode.insertBefore(b[c],a.nextSibl" + "ing);a&&a.parentNode&&a.parentNode.removeChild(a)};function T(a,b,c,e){R." + "call(this,a,b,c,null,e)}i(T,R);T.prototype.next=function(){do T.g.next.ca" + "ll(this);while(this.c==-1);return this.b};function ja(a,b){var c=O(a);if(" + "c.defaultView&&c.defaultView.getComputedStyle)if(c=c.defaultView.getCompu" + "tedStyle(a,null))return c[b]||c.getPropertyValue(b);return\"\"};function " + "U(a,b){return!!a&&a.nodeType==1&&(!b||a.tagName.toUpperCase()==b)}\nvar k" + "a=[\"async\",\"autofocus\",\"autoplay\",\"checked\",\"compact\",\"complet" + "e\",\"controls\",\"declare\",\"defaultchecked\",\"defaultselected\",\"def" + "er\",\"disabled\",\"draggable\",\"ended\",\"formnovalidate\",\"hidden\"," + "\"indeterminate\",\"iscontenteditable\",\"ismap\",\"itemscope\",\"loop\"," + "\"multiple\",\"muted\",\"nohref\",\"noresize\",\"noshade\",\"novalidate\"" + ",\"nowrap\",\"open\",\"paused\",\"pubdate\",\"readonly\",\"required\",\"r" + "eversed\",\"scoped\",\"seamless\",\"seeking\",\"selected\",\"spellcheck\"" + ",\"truespeed\",\"willvalidate\"];\nfunction la(a,b){if(8==a.nodeType)retu" + "rn null;b=b.toLowerCase();if(b==\"style\"){var c=k(a.style.cssText).toLow" + "erCase();return c.charAt(c.length-1)==\";\"?c:c+\";\"}c=a.getAttributeNod" + "e(b);if(A)if(!c&&M(8)&&s(ka,b)>=0)c=a[b];if(!c)return null;if(s(ka,b)>=0)" + "return A&&c.value==\"false\"?null:\"true\";return c.specified?c.value:nul" + "l}function V(a){for(a=a.parentNode;a&&a.nodeType!=1&&a.nodeType!=9&&a.nod" + "eType!=11;)a=a.parentNode;return U(a)?a:null}function W(a,b){b=ba(String(" + "b));return ja(a,b)||oa(a,b)}\nfunction oa(a,b){var c=(a.currentStyle||a.s" + "tyle)[b];if(c!=\"inherit\")return c!==undefined?c:null;return(c=V(a))?oa(" + "c,b):null}\nfunction pa(a){if(h(a.getBBox)==\"function\")return a.getBBox" + "();var b;var c=z&&!M(\"10\");if((ja(a,\"display\")||(a.currentStyle?a.cur" + "rentStyle.display:null)||a.style.display)!=\"none\")b=c?new N(a.offsetWid" + "th||a.clientWidth,a.offsetHeight||a.clientHeight):new N(a.offsetWidth,a.o" + "ffsetHeight);else{b=a.style;var e=b.display,f=b.visibility,d=b.position;b" + ".visibility=\"hidden\";b.position=\"absolute\";b.display=\"inline\";if(c)" + "{c=a.offsetWidth||a.clientWidth;a=a.offsetHeight||a.clientHeight}else{c=a" + ".offsetWidth;a=a.offsetHeight}b.display=\ne;b.position=d;b.visibility=f;b" + "=new N(c,a)}return b}\nfunction X(a,b){function c(d){if(W(d,\"display\")=" + "=\"none\")return false;d=V(d);return!d||c(d)}function e(d){var B=pa(d);if" + "(B.height>0&&B.width>0)return true;if(d.innerText||d.textContent)if(qa.te" + "st(d.innerText||d.textContent))return true;return D&&ca(d.childNodes,func" + "tion(C){return U(C)&&e(C)})}if(!U(a))throw Error(\"Argument to isShown mu" + "st be of type Element\");if(U(a,\"TITLE\"))return(O(a)?O(a).parentWindow|" + "|O(a).defaultView:window)==g;if(U(a,\"OPTION\")||U(a,\"OPTGROUP\")){var f" + "=ga(a,function(d){return U(d,\n\"SELECT\")});return!!f&&X(f)}if(U(a,\"MAP" + "\")){if(!a.name)return false;f=O(a);f=f.evaluate?ha('/descendant::*[@usem" + "ap = \"#'+a.name+'\"]',f):fa(f,function(d){return U(d)&&la(d,\"usemap\")=" + "=\"#\"+a.name});return!!f&&X(f)}if(U(a,\"AREA\")){f=ga(a,function(d){retu" + "rn U(d,\"MAP\")});return!!f&&X(f)}if(U(a,\"INPUT\")&&a.type.toLowerCase()" + "==\"hidden\")return false;if(W(a,\"visibility\")==\"hidden\")return false" + ";if(!c(a))return false;if(!b&&ra(a)==0)return false;if(!e(a))return false" + ";return true}\nvar sa=\"[\\\\s\\\\xa0\"+String.fromCharCode(160)+\"]+\",q" + "a=RegExp(\"^\"+sa+\"$\");function ra(a){if(A){if(W(a,\"position\")==\"rel" + "ative\")return 1;a=W(a,\"filter\");return(a=a.match(/^alpha\\(opacity=(" + "\\d*)\\)/)||a.match(/^progid:DXImageTransform.Microsoft.Alpha\\(Opacity=(" + "\\d*)\\)/))?Number(a[1])/100:1}else return ta(a)}function ta(a){var b=1,c" + "=W(a,\"opacity\");if(c)b=Number(c);if(a=V(a))b*=ta(a);return b};var ua=X," + "Y=\"_\".split(\".\"),Z=g;!(Y[0]in Z)&&Z.execScript&&Z.execScript(\"var \"" + "+Y[0]);for(var $;Y.length&&($=Y.shift());)if(!Y.length&&ua!==undefined)Z[" + "$]=ua;else Z=Z[$]?Z[$]:Z[$]={};; return _.apply(null,arguments);}"; + +const char* const IS_ENABLED = + "function(){var e=this;function f(a,b){function c(){}c.prototype=b.prototy" + "pe;a.g=b.prototype;a.prototype=new c};function h(a){this.stack=Error().st" + "ack||\"\";if(a)this.message=String(a)}f(h,Error);function i(a){for(var b=" + "1;bb)" + "return 1;return 0};function n(a,b){b.unshift(a);h.call(this,i.apply(null," + "b));b.shift();this.f=a}f(n,h);function o(a,b){if(!a){var c=Array.prototyp" + "e.slice.call(arguments,2),d=\"Assertion failed\";if(b){d+=\": \"+b;var g=" + "c}throw new n(\"\"+d,g||[]);}return a};var p=Array.prototype,q=p.indexOf?" + "function(a,b,c){o(a.length!=null);return p.indexOf.call(a,b,c)}:function(" + "a,b,c){c=c==null?0:c<0?Math.max(0,a.length+c):c;if(typeof a==\"string\"){" + "if(typeof b!=\"string\"||b.length!=1)return-1;return a.indexOf(b,c)}for(c" + "=c;cparseFloat(D)){C=String(H);break a}}C=D}var J={};\nf" + "unction K(a){var b;if(!(b=J[a])){b=0;var c=j(String(C)).split(\".\"),d=j(" + "String(a)).split(\".\"),g=Math.max(c.length,d.length);for(var t=0;b==0&&t" + "=" + "0}return b};!z||K(\"9\");z&&K(\"9\");function L(a,b,c,d,g){this.c=!!b;if(" + "a){if(this.b=a)this.d=typeof d==\"number\"?d:this.b.nodeType!=1?0:this.c?" + "-1:1;if(typeof void 0==\"number\")this.a=void 0}this.a=g!=undefined?g:thi" + "s.d||0;if(this.c)this.a*=-1;this.e=!c}f(L,function(){});L.prototype.b=nul" + "l;L.prototype.d=0;f(function(a,b,c,d){L.call(this,a,b,c,null,d)},L);var M" + "=[\"async\",\"autofocus\",\"autoplay\",\"checked\",\"compact\",\"complete" + "\",\"controls\",\"declare\",\"defaultchecked\",\"defaultselected\",\"defe" + "r\",\"disabled\",\"draggable\",\"ended\",\"formnovalidate\",\"hidden\",\"" + "indeterminate\",\"iscontenteditable\",\"ismap\",\"itemscope\",\"loop\",\"" + "multiple\",\"muted\",\"nohref\",\"noresize\",\"noshade\",\"novalidate\"," + "\"nowrap\",\"open\",\"paused\",\"pubdate\",\"readonly\",\"required\",\"re" + "versed\",\"scoped\",\"seamless\",\"seeking\",\"selected\",\"spellcheck\"," + "\"truespeed\",\"willvalidate\"];\nfunction N(a,b){if(8==a.nodeType)return" + " null;b=b.toLowerCase();if(b==\"style\"){var c=j(a.style.cssText).toLower" + "Case();return c.charAt(c.length-1)==\";\"?c:c+\";\"}c=a.getAttributeNode(" + "b);if(z)if(!c&&K(8)&&q(M,b)>=0)c=a[b];if(!c)return null;if(q(M,b)>=0)retu" + "rn z&&c.value==\"false\"?null:\"true\";return c.specified?c.value:null}va" + "r O=[\"BUTTON\",\"INPUT\",\"OPTGROUP\",\"OPTION\",\"SELECT\",\"TEXTAREA\"" + "];\nfunction P(a){var b=a.tagName.toUpperCase();if(!(q(O,b)>=0))return tr" + "ue;if(N(a,\"disabled\"))return false;if(a.parentNode&&a.parentNode.nodeTy" + "pe==1&&\"OPTGROUP\"==b||\"OPTION\"==b)return P(a.parentNode);return true}" + "String.fromCharCode(160);var Q=P,R=\"_\".split(\".\"),W=e;!(R[0]in W)&&W." + "execScript&&W.execScript(\"var \"+R[0]);for(var X;R.length&&(X=R.shift())" + ";)if(!R.length&&Q!==undefined)W[X]=Q;else W=W[X]?W[X]:W[X]={};; return _." + "apply(null,arguments);}"; + +const char* const IS_SELECTED = + "function(){var e=this;function f(a,b){function c(){}c.prototype=b.prototy" + "pe;a.g=b.prototype;a.prototype=new c};function h(a){this.stack=Error().st" + "ack||\"\";if(a)this.message=String(a)}f(h,Error);function k(a){for(var b=" + "1;bb)r" + "eturn 1;return 0};function n(a,b){b.unshift(a);h.call(this,k.apply(null,b" + "));b.shift();this.f=a}f(n,h);function o(a,b){if(!a){var c=Array.prototype" + ".slice.call(arguments,2),d=\"Assertion failed\";if(b){d+=\": \"+b;var g=c" + "}throw new n(\"\"+d,g||[]);}return a};var q=Array.prototype,r=q.indexOf?f" + "unction(a,b,c){o(a.length!=null);return q.indexOf.call(a,b,c)}:function(a" + ",b,c){c=c==null?0:c<0?Math.max(0,a.length+c):c;if(typeof a==\"string\"){i" + "f(typeof b!=\"string\"||b.length!=1)return-1;return a.indexOf(b,c)}for(c=" + "c;cparseFloat(D)){C=String(H);break a}}C=D}var J={};!z||" + "J[\"9\"]||(J[\"9\"]=l(C,\"9\")>=0);z&&(J[\"9\"]||(J[\"9\"]=l(C,\"9\")>=0)" + ");function P(a,b,c,d,g){this.c=!!b;if(a){if(this.b=a)this.d=typeof d==\"n" + "umber\"?d:this.b.nodeType!=1?0:this.c?-1:1;if(typeof void 0==\"number\")t" + "his.a=void 0}this.a=g!=undefined?g:this.d||0;if(this.c)this.a*=-1;this.e=" + "!c}f(P,function(){});P.prototype.b=null;P.prototype.d=0;f(function(a,b,c," + "d){P.call(this,a,b,c,null,d)},P);String.fromCharCode(160);\nvar Q=[\"chec" + "kbox\",\"radio\"];function R(a){var b;a:{b=a.tagName.toUpperCase();if(b==" + "\"OPTION\")b=true;else{if(b==\"INPUT\")if(r(Q,a.type)>=0){b=true;break a}" + "b=false}}if(!b)return false;b=\"selected\";var c=a.type&&a.type.toLowerCa" + "se();if(\"checkbox\"==c||\"radio\"==c)b=\"checked\";return!!a[b]}var S=\"" + "_\".split(\".\"),T=e;!(S[0]in T)&&T.execScript&&T.execScript(\"var \"+S[0" + "]);for(var U;S.length&&(U=S.shift());)if(!S.length&&R!==undefined)T[U]=R;" + "else T=T[U]?T[U]:T[U]={};; return _.apply(null,arguments);}"; + +const char* const SET_SELECTED = + "function(){var l=this;\nfunction m(a){var b=typeof a;if(b==\"object\")if(" + "a){if(a instanceof Array)return\"array\";else if(a instanceof Object)retu" + "rn b;var c=Object.prototype.toString.call(a);if(c==\"[object Window]\")re" + "turn\"object\";if(c==\"[object Array]\"||typeof a.length==\"number\"&&typ" + "eof a.splice!=\"undefined\"&&typeof a.propertyIsEnumerable!=\"undefined\"" + "&&!a.propertyIsEnumerable(\"splice\"))return\"array\";if(c==\"[object Fun" + "ction]\"||typeof a.call!=\"undefined\"&&typeof a.propertyIsEnumerable!=\"" + "undefined\"&&!a.propertyIsEnumerable(\"call\"))return\"function\"}else re" + "turn\"null\";else if(b==\n\"function\"&&typeof a.call==\"undefined\")retu" + "rn\"object\";return b}Math.floor(Math.random()*2147483648).toString(36);f" + "unction n(a,b){function c(){}c.prototype=b.prototype;a.i=b.prototype;a.pr" + "ototype=new c};function o(a){this.stack=Error().stack||\"\";if(a)this.mes" + "sage=String(a)}n(o,Error);o.prototype.name=\"CustomError\";function q(a,b" + "){o.call(this,b);this.code=a;this.name=r[a]||r[13]}n(q,o);var r,aa={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},ba={};for(v" + "ar ca in aa)ba[aa[ca]]=ca;r=ba;\nq.prototype.toString=function(){return\"" + "[\"+this.name+\"] \"+this.message};function da(a){for(var b=1;bb)return 1;ret" + "urn 0}var ea={};function fa(a){return ea[a]||(ea[a]=String(a).replace(/" + "\\-([a-z])/g,function(b,c){return c.toUpperCase()}))};function v(a,b){b.u" + "nshift(a);o.call(this,da.apply(null,b));b.shift();this.l=a}n(v,o);v.proto" + "type.name=\"AssertionError\";function ga(a,b){if(!a){var c=Array.prototyp" + "e.slice.call(arguments,2),d=\"Assertion failed\";if(b){d+=\": \"+b;var f=" + "c}throw new v(\"\"+d,f||[]);}return a};var w=Array.prototype,x=w.indexOf?" + "function(a,b,c){ga(a.length!=null);return w.indexOf.call(a,b,c)}:function" + "(a,b,c){c=c==null?0:c<0?Math.max(0,a.length+c):c;if(typeof a==\"string\")" + "{if(typeof b!=\"string\"||b.length!=1)return-1;return a.indexOf(b,c)}for(" + "c=c;cparseFloat(I)){H=String(la);bre" + "ak a}}H=I}var na={};\nfunction L(a){var b;if(!(b=na[a])){b=0;var c=s(Stri" + "ng(H)).split(\".\"),d=s(String(a)).split(\".\"),f=Math.max(c.length,d.len" + "gth);for(var e=0;b==0&&e=0}return b};var oa;!E||L(\"9\");E&&L(\"9\");funct" + "ion M(a,b){this.x=a!==undefined?a:0;this.y=b!==undefined?b:0}M.prototype." + "toString=function(){return\"(\"+this.x+\", \"+this.y+\")\"};function N(a," + "b){this.width=a;this.height=b}N.prototype.toString=function(){return\"(\"" + "+this.width+\" x \"+this.height+\")\"};N.prototype.floor=function(){this." + "width=Math.floor(this.width);this.height=Math.floor(this.height);return t" + "his};function pa(a){return a?new qa(O(a)):oa||(oa=new qa)}function P(a){r" + "eturn a?a.parentWindow||a.defaultView:window}function O(a){return a.nodeT" + "ype==9?a:a.ownerDocument||a.document}function ra(a,b){var c=[];return sa(" + "a,b,c,true)?c[0]:undefined}function sa(a,b,c,d){if(a!=null){var f=0;for(v" + "ar e;e=a.childNodes[f];f++){if(b(e)){c.push(e);if(d)return true}if(sa(e,b" + ",c,d))return true}}return false}\nfunction ta(a,b,c,d){if(!c)a=a.parentNo" + "de;c=d==null;for(var f=0;a&&(c||f<=d);){if(b(a))return a;a=a.parentNode;f" + "++}return null}function qa(a){this.e=a||l.document||document}function ua(" + "a){a=!G&&a.e.compatMode==\"CSS1Compat\"?a.e.documentElement:a.e.body;retu" + "rn new M(a.scrollLeft,a.scrollTop)};function va(a,b){try{var c;if(typeof " + "b.selectSingleNode!=\"undefined\"){var d=O(b);typeof d.setProperty!=\"und" + "efined\"&&d.setProperty(\"SelectionLanguage\",\"XPath\");c=b.selectSingle" + "Node(a)}else if(document.implementation.hasFeature(\"XPath\",\"3.0\")){d=" + "O(b);var f=d.createNSResolver(d.documentElement);c=d.evaluate(a,b,f,XPath" + "Result.FIRST_ORDERED_NODE_TYPE,null).singleNodeValue}else c=null}catch(e)" + "{return null}if(!c)return null;if(c.nodeType!=1)throw Error(\"Returned no" + "de is not an element: \"+a);return c};var wa=\"StopIteration\"in l?l.Stop" + "Iteration:Error(\"StopIteration\");function xa(){}xa.prototype.next=funct" + "ion(){throw wa;};function Q(a,b,c,d,f){this.a=!!b;a&&R(this,a,d);this.d=f" + "!=undefined?f:this.c||0;if(this.a)this.d*=-1;this.h=!c}n(Q,xa);Q.prototyp" + "e.b=null;Q.prototype.c=0;Q.prototype.g=false;function R(a,b,c,d){if(a.b=b" + ")a.c=typeof c==\"number\"?c:a.b.nodeType!=1?0:a.a?-1:1;if(typeof d==\"num" + "ber\")a.d=d}\nQ.prototype.next=function(){var a;if(this.g){if(!this.b||th" + "is.h&&this.d==0)throw wa;a=this.b;var b=this.a?-1:1;if(this.c==b){var c=t" + "his.a?a.lastChild:a.firstChild;c?R(this,c):R(this,a,b*-1)}else(c=this.a?a" + ".previousSibling:a.nextSibling)?R(this,c):R(this,a.parentNode,b*-1);this." + "d+=this.c*(this.a?-1:1)}else this.g=true;a=this.b;if(!this.b)throw wa;ret" + "urn a};\nQ.prototype.splice=function(){var a=this.b,b=this.a?1:-1;if(this" + ".c==b){this.c=b*-1;this.d+=this.c*(this.a?-1:1)}this.a=!this.a;Q.prototyp" + "e.next.call(this);this.a=!this.a;b=arguments[0];var c=m(b);b=c==\"array\"" + "||c==\"object\"&&typeof b.length==\"number\"?arguments[0]:arguments;for(c" + "=b.length-1;c>=0;c--)a.parentNode&&a.parentNode.insertBefore(b[c],a.nextS" + "ibling);a&&a.parentNode&&a.parentNode.removeChild(a)};function ya(a,b,c,d" + "){Q.call(this,a,b,c,null,d)}n(ya,Q);ya.prototype.next=function(){do ya.i." + "next.call(this);while(this.c==-1);return this.b};function za(a,b){var c=O" + "(a);if(c.defaultView&&c.defaultView.getComputedStyle)if(c=c.defaultView.g" + "etComputedStyle(a,null))return c[b]||c.getPropertyValue(b);return\"\"}fun" + "ction S(a,b){return za(a,b)||(a.currentStyle?a.currentStyle[b]:null)||a.s" + "tyle[b]}function Aa(a){var b=a.getBoundingClientRect();if(E){a=a.ownerDoc" + "ument;b.left-=a.documentElement.clientLeft+a.body.clientLeft;b.top-=a.doc" + "umentElement.clientTop+a.body.clientTop}return b}\nfunction Ba(a){if(E)re" + "turn a.offsetParent;var b=O(a),c=S(a,\"position\"),d=c==\"fixed\"||c==\"a" + "bsolute\";for(a=a.parentNode;a&&a!=b;a=a.parentNode){c=S(a,\"position\");" + "d=d&&c==\"static\"&&a!=b.documentElement&&a!=b.body;if(!d&&(a.scrollWidth" + ">a.clientWidth||a.scrollHeight>a.clientHeight||c==\"fixed\"||c==\"absolut" + "e\"))return a}return null};function T(a,b){return!!a&&a.nodeType==1&&(!b|" + "|a.tagName.toUpperCase()==b)}\nvar Ca={\"class\":\"className\",readonly:" + "\"readOnly\"},Da=[\"async\",\"autofocus\",\"autoplay\",\"checked\",\"comp" + "act\",\"complete\",\"controls\",\"declare\",\"defaultchecked\",\"defaults" + "elected\",\"defer\",\"disabled\",\"draggable\",\"ended\",\"formnovalidate" + "\",\"hidden\",\"indeterminate\",\"iscontenteditable\",\"ismap\",\"itemsco" + "pe\",\"loop\",\"multiple\",\"muted\",\"nohref\",\"noresize\",\"noshade\"," + "\"novalidate\",\"nowrap\",\"open\",\"paused\",\"pubdate\",\"readonly\",\"" + "required\",\"reversed\",\"scoped\",\"seamless\",\"seeking\",\"selected\"," + "\"spellcheck\",\"truespeed\",\"willvalidate\"];\nfunction Ea(a,b){if(8==a" + ".nodeType)return null;b=b.toLowerCase();if(b==\"style\"){var c=s(a.style." + "cssText).toLowerCase();return c.charAt(c.length-1)==\";\"?c:c+\";\"}c=a.g" + "etAttributeNode(b);if(E)if(!c&&L(8)&&x(Da,b)>=0)c=a[b];if(!c)return null;" + "if(x(Da,b)>=0)return E&&c.value==\"false\"?null:\"true\";return c.specifi" + "ed?c.value:null}var Fa=[\"BUTTON\",\"INPUT\",\"OPTGROUP\",\"OPTION\",\"SE" + "LECT\",\"TEXTAREA\"];\nfunction Ga(a){var b=a.tagName.toUpperCase();if(!(" + "x(Fa,b)>=0))return true;if(Ea(a,\"disabled\"))return false;if(a.parentNod" + "e&&a.parentNode.nodeType==1&&\"OPTGROUP\"==b||\"OPTION\"==b)return Ga(a.p" + "arentNode);return true}function Ha(a){for(a=a.parentNode;a&&a.nodeType!=1" + "&&a.nodeType!=9&&a.nodeType!=11;)a=a.parentNode;return T(a)?a:null}functi" + "on U(a,b){b=fa(String(b));return za(a,b)||Ia(a,b)}\nfunction Ia(a,b){var " + "c=(a.currentStyle||a.style)[b];if(c!=\"inherit\")return c!==undefined?c:n" + "ull;return(c=Ha(a))?Ia(c,b):null}\nfunction Ja(a){if(m(a.getBBox)==\"func" + "tion\")return a.getBBox();var b;var c=D&&!L(\"10\");if(S(a,\"display\")!=" + "\"none\")b=c?new N(a.offsetWidth||a.clientWidth,a.offsetHeight||a.clientH" + "eight):new N(a.offsetWidth,a.offsetHeight);else{b=a.style;var d=b.display" + ",f=b.visibility,e=b.position;b.visibility=\"hidden\";b.position=\"absolut" + "e\";b.display=\"inline\";if(c){c=a.offsetWidth||a.clientWidth;a=a.offsetH" + "eight||a.clientHeight}else{c=a.offsetWidth;a=a.offsetHeight}b.display=d;b" + ".position=e;b.visibility=f;b=new N(c,a)}return b}\nfunction V(a,b){functi" + "on c(e){if(U(e,\"display\")==\"none\")return false;e=Ha(e);return!e||c(e)" + "}function d(e){var j=Ja(e);if(j.height>0&&j.width>0)return true;if(e.inne" + "rText||e.textContent)if(Ka.test(e.innerText||e.textContent))return true;r" + "eturn G&&ha(e.childNodes,function(g){return T(g)&&d(g)})}if(!T(a))throw E" + "rror(\"Argument to isShown must be of type Element\");if(T(a,\"TITLE\"))r" + "eturn P(O(a))==l;if(T(a,\"OPTION\")||T(a,\"OPTGROUP\")){var f=ta(a,functi" + "on(e){return T(e,\"SELECT\")});return!!f&&V(f)}if(T(a,\"MAP\")){if(!a.nam" + "e)return false;\nf=O(a);f=f.evaluate?va('/descendant::*[@usemap = \"#'+a." + "name+'\"]',f):ra(f,function(e){return T(e)&&Ea(e,\"usemap\")==\"#\"+a.nam" + "e});return!!f&&V(f)}if(T(a,\"AREA\")){f=ta(a,function(e){return T(e,\"MAP" + "\")});return!!f&&V(f)}if(T(a,\"INPUT\")&&a.type.toLowerCase()==\"hidden\"" + ")return false;if(U(a,\"visibility\")==\"hidden\")return false;if(!c(a))re" + "turn false;if(!b&&La(a)==0)return false;if(!d(a))return false;return true" + "}var Ma=\"[\\\\s\\\\xa0\"+String.fromCharCode(160)+\"]+\",Ka=RegExp(\"^\"" + "+Ma+\"$\");\nfunction La(a){if(E){if(U(a,\"position\")==\"relative\")retu" + "rn 1;a=U(a,\"filter\");return(a=a.match(/^alpha\\(opacity=(\\d*)\\)/)||a." + "match(/^progid:DXImageTransform.Microsoft.Alpha\\(Opacity=(\\d*)\\)/))?Nu" + "mber(a[1])/100:1}else return Na(a)}function Na(a){var b=1,c=U(a,\"opacity" + "\");if(c)b=Number(c);if(a=Ha(a))b*=Na(a);return b};var Oa=E?1:0,Pa=[\"dra" + "gstart\",\"dragexit\",\"mouseover\",\"mouseout\"];\nfunction W(a,b,c){var" + " d=O(a),f=P(d),e=new M;if(a.nodeType==1)if(a.getBoundingClientRect){var j" + "=Aa(a);e.x=j.left;e.y=j.top}else{j=ua(pa(a));var g,h=O(a),t=S(a,\"positio" + "n\"),p=F&&h.getBoxObjectFor&&!a.getBoundingClientRect&&t==\"absolute\"&&(" + "g=h.getBoxObjectFor(a))&&(g.screenX<0||g.screenY<0),i=new M(0,0),k;g=h?h." + "nodeType==9?h:O(h):document;if(k=E)k=pa(g).e.compatMode!=\"CSS1Compat\";k" + "=k?g.body:g.documentElement;if(a!=k)if(a.getBoundingClientRect){g=Aa(a);h" + "=ua(pa(h));i.x=g.left+h.x;i.y=g.top+h.y}else if(h.getBoxObjectFor&&\n!p){" + "g=h.getBoxObjectFor(a);h=h.getBoxObjectFor(k);i.x=g.screenX-h.screenX;i.y" + "=g.screenY-h.screenY}else{g=a;do{i.x+=g.offsetLeft;i.y+=g.offsetTop;if(g!" + "=a){i.x+=g.clientLeft||0;i.y+=g.clientTop||0}if(G&&S(g,\"position\")==\"f" + "ixed\"){i.x+=h.body.scrollLeft;i.y+=h.body.scrollTop;break}g=g.offsetPare" + "nt}while(g&&g!=a);if(D||G&&t==\"absolute\")i.y-=h.body.offsetTop;for(g=a;" + "(g=Ba(g))&&g!=h.body&&g!=k;){i.x-=g.scrollLeft;if(!D||g.tagName!=\"TR\")i" + ".y-=g.scrollTop}}e.x=i.x-j.x;e.y=i.y-j.y}else{j=m(a.f)==\"function\";\ni=" + "a;if(a.targetTouches)i=a.targetTouches[0];else if(j&&a.f().targetTouches)" + "i=a.f().targetTouches[0];e.x=i.clientX;e.y=i.clientY}k=c||{};c=(k.x||0)+e" + ".x;e=(k.y||0)+e.y;j=k.button||Oa;i=k.bubble||true;h=null;if(x(Pa,b)>=0)h=" + "k.related||null;t=!!k.alt;g=!!k.control;p=!!k.shift;k=!!k.meta;if(a.fireE" + "vent&&d&&d.createEventObject){a=d.createEventObject();a.altKey=t;a.j=g;a." + "metaKey=k;a.shiftKey=p;a.clientX=c;a.clientY=e;a.button=j;a.relatedTarget" + "=h}else{a=d.createEvent(\"MouseEvents\");if(a.initMouseEvent)a.initMouseE" + "vent(b,\ni,true,f,1,0,0,c,e,g,t,p,k,j,h);else{a.initEvent(b,i,true);a.shi" + "ftKey=p;a.metaKey=k;a.altKey=t;a.ctrlKey=g;a.button=j}}return a}\nfunctio" + "n Qa(a,b,c){var d=O(a);a=P(d);var f=c||{};c=f.keyCode||0;var e=f.charCode" + "||0,j=!!f.alt,g=!!f.ctrl,h=!!f.shift;f=!!f.meta;if(F){d=d.createEvent(\"K" + "eyboardEvent\");d.initKeyEvent(b,true,true,a,g,j,h,f,c,e)}else{if(E)d=d.c" + "reateEventObject();else{d=d.createEvent(\"Events\");d.initEvent(b,true,tr" + "ue);d.charCode=e}d.keyCode=c;d.altKey=j;d.ctrlKey=g;d.metaKey=f;d.shiftKe" + "y=h}return d}\nfunction Ra(a,b,c){var d=O(a),f=c||{};c=f.bubble!==false;v" + "ar e=!!f.alt,j=!!f.control,g=!!f.shift;f=!!f.meta;if(a.fireEvent&&d&&d.cr" + "eateEventObject){a=d.createEventObject();a.altKey=e;a.k=j;a.metaKey=f;a.s" + "hiftKey=g}else{a=d.createEvent(\"HTMLEvents\");a.initEvent(b,c,true);a.sh" + "iftKey=g;a.metaKey=f;a.altKey=e;a.ctrlKey=j}return a}var X={};X.click=W;X" + ".keydown=Qa;X.keypress=Qa;X.keyup=Qa;X.mousedown=W;X.mousemove=W;X.mouseo" + "ut=W;X.mouseover=W;X.mouseup=W;\nfunction Sa(a,b,c){c=(X[b]||Ra)(a,b,c);v" + "ar d;if(!(d=m(a.fireEvent)==\"function\")){d=m(a.fireEvent);d=d==\"object" + "\"||d==\"array\"||d==\"function\"}if(d){try{P(O(a)).event=c}catch(f){}a=a" + ".fireEvent(\"on\"+b,c)}else a=a.dispatchEvent(c);return a};function Ta(a)" + "{var b;if(T(a,\"OPTION\"))b=true;else if(T(a,\"INPUT\")){b=a.type.toLower" + "Case();b=b==\"checkbox\"||b==\"radio\"}else b=false;if(!b)throw new q(15," + "\"Element is not selectable\");b=\"selected\";var c=a.type&&a.type.toLowe" + "rCase();if(\"checkbox\"==c||\"radio\"==c)b=\"checked\";return!!a[Ca[b]||b" + "]}function Ua(a){return T(a,\"SELECT\")};function Va(a,b){if(!Ga(a))throw" + " new q(12,\"Element is not currently enabled and may not be manipulated\"" + ");if(!V(a,true))throw new q(11,\"Element is not currently visible and may" + " not be manipulated\");if(T(a,\"INPUT\")){var c=a.type.toLowerCase();if(c" + "==\"checkbox\"||c==\"radio\"){if(a.checked!=b){if(a.type==\"radio\"&&!b)t" + "hrow new q(12,\"You may not deselect a radio button\");if(b!=Ta(a)){a.che" + "cked=b;Sa(a,\"change\")}}}else throw new q(15,\"You may not select an uns" + "electable input element: \"+a.type);}else if(T(a,\n\"OPTION\")){c=ta(a,Ua" + ");if(!c.multiple&&!b)throw new q(15,\"You may not deselect an option with" + "in a select that does not support multiple selections.\");if(b!=Ta(a)){a." + "selected=b;Sa(c,\"change\")}}else throw new q(15,\"You may not select an " + "unselectable element: \"+a.tagName);}var Y=\"_\".split(\".\"),Z=l;!(Y[0]i" + "n Z)&&Z.execScript&&Z.execScript(\"var \"+Y[0]);for(var $;Y.length&&($=Y." + "shift());)if(!Y.length&&Va!==undefined)Z[$]=Va;else Z=Z[$]?Z[$]:Z[$]={};;" + " return _.apply(null,arguments);}"; + +const char* const SUBMIT = + "function(){var l=this;\nfunction m(a){var b=typeof a;if(b==\"object\")if(" + "a){if(a instanceof Array)return\"array\";else if(a instanceof Object)retu" + "rn b;var c=Object.prototype.toString.call(a);if(c==\"[object Window]\")re" + "turn\"object\";if(c==\"[object Array]\"||typeof a.length==\"number\"&&typ" + "eof a.splice!=\"undefined\"&&typeof a.propertyIsEnumerable!=\"undefined\"" + "&&!a.propertyIsEnumerable(\"splice\"))return\"array\";if(c==\"[object Fun" + "ction]\"||typeof a.call!=\"undefined\"&&typeof a.propertyIsEnumerable!=\"" + "undefined\"&&!a.propertyIsEnumerable(\"call\"))return\"function\"}else re" + "turn\"null\";else if(b==\n\"function\"&&typeof a.call==\"undefined\")retu" + "rn\"object\";return b}Math.floor(Math.random()*2147483648).toString(36);f" + "unction n(a,b){function c(){}c.prototype=b.prototype;a.i=b.prototype;a.pr" + "ototype=new c};function o(a){this.stack=Error().stack||\"\";if(a)this.mes" + "sage=String(a)}n(o,Error);o.prototype.name=\"CustomError\";function p(a,b" + "){o.call(this,b);this.code=a;this.name=r[a]||r[13]}n(p,o);var r,t={NoSuch" + "ElementError:7,NoSuchFrameError:8,UnknownCommandError:9,StaleElementRefer" + "enceError:10,ElementNotVisibleError:11,InvalidElementStateError:12,Unknow" + "nError:13,ElementNotSelectableError:15,XPathLookupError:19,NoSuchWindowEr" + "ror:23,InvalidCookieDomainError:24,UnableToSetCookieError:25,ModalDialogO" + "penedError:26,ModalDialogOpenError:27,ScriptTimeoutError:28},u={};for(var" + " v in t)u[t[v]]=v;r=u;\np.prototype.toString=function(){return\"[\"+this." + "name+\"] \"+this.message};function aa(a){for(var b=1;bb)return 1;return 0};f" + "unction x(a,b){b.unshift(a);o.call(this,aa.apply(null,b));b.shift();this." + "l=a}n(x,o);x.prototype.name=\"AssertionError\";function ca(a,b){if(!a){va" + "r c=Array.prototype.slice.call(arguments,2),d=\"Assertion failed\";if(b){" + "d+=\": \"+b;var f=c}throw new x(\"\"+d,f||[]);}return a};var da=Array.pro" + "totype,ea=da.indexOf?function(a,b,c){ca(a.length!=null);return da.indexOf" + ".call(a,b,c)}:function(a,b,c){c=c==null?0:c<0?Math.max(0,a.length+c):c;if" + "(typeof a==\"string\"){if(typeof b!=\"string\"||b.length!=1)return-1;retu" + "rn a.indexOf(b,c)}for(c=c;cparseFloat(I)){" + "H=String(L);break a}}H=I}var M={};var ja;!E||M[\"9\"]||(M[\"9\"]=ba(H,\"9" + "\")>=0);E&&(M[\"9\"]||(M[\"9\"]=ba(H,\"9\")>=0));function N(a,b){this.x=a" + "!==undefined?a:0;this.y=b!==undefined?b:0}N.prototype.toString=function()" + "{return\"(\"+this.x+\", \"+this.y+\")\"};function O(a){return a?new ka(P(" + "a)):ja||(ja=new ka)}function P(a){return a.nodeType==9?a:a.ownerDocument|" + "|a.document}function ka(a){this.e=a||l.document||document}function la(a){" + "a=!G&&a.e.compatMode==\"CSS1Compat\"?a.e.documentElement:a.e.body;return " + "new N(a.scrollLeft,a.scrollTop)};var Q=\"StopIteration\"in l?l.StopIterat" + "ion:Error(\"StopIteration\");function ma(){}ma.prototype.next=function(){" + "throw Q;};function R(a,b,c,d,f){this.a=!!b;a&&S(this,a,d);this.d=f!=undef" + "ined?f:this.c||0;if(this.a)this.d*=-1;this.h=!c}n(R,ma);R.prototype.b=nul" + "l;R.prototype.c=0;R.prototype.g=false;function S(a,b,c,d){if(a.b=b)a.c=ty" + "peof c==\"number\"?c:a.b.nodeType!=1?0:a.a?-1:1;if(typeof d==\"number\")a" + ".d=d}\nR.prototype.next=function(){var a;if(this.g){if(!this.b||this.h&&t" + "his.d==0)throw Q;a=this.b;var b=this.a?-1:1;if(this.c==b){var c=this.a?a." + "lastChild:a.firstChild;c?S(this,c):S(this,a,b*-1)}else(c=this.a?a.previou" + "sSibling:a.nextSibling)?S(this,c):S(this,a.parentNode,b*-1);this.d+=this." + "c*(this.a?-1:1)}else this.g=true;a=this.b;if(!this.b)throw Q;return a};\n" + "R.prototype.splice=function(){var a=this.b,b=this.a?1:-1;if(this.c==b){th" + "is.c=b*-1;this.d+=this.c*(this.a?-1:1)}this.a=!this.a;R.prototype.next.ca" + "ll(this);this.a=!this.a;b=arguments[0];var c=m(b);b=c==\"array\"||c==\"ob" + "ject\"&&typeof b.length==\"number\"?arguments[0]:arguments;for(c=b.length" + "-1;c>=0;c--)a.parentNode&&a.parentNode.insertBefore(b[c],a.nextSibling);a" + "&&a.parentNode&&a.parentNode.removeChild(a)};function T(a,b,c,d){R.call(t" + "his,a,b,c,null,d)}n(T,R);T.prototype.next=function(){do T.i.next.call(thi" + "s);while(this.c==-1);return this.b};function U(a,b){var c;a:{c=P(a);if(c." + "defaultView&&c.defaultView.getComputedStyle)if(c=c.defaultView.getCompute" + "dStyle(a,null)){c=c[b]||c.getPropertyValue(b);break a}c=\"\"}return c||(a" + ".currentStyle?a.currentStyle[b]:null)||a.style[b]}function na(a){var b=a." + "getBoundingClientRect();if(E){a=a.ownerDocument;b.left-=a.documentElement" + ".clientLeft+a.body.clientLeft;b.top-=a.documentElement.clientTop+a.body.c" + "lientTop}return b}\nfunction oa(a){if(E)return a.offsetParent;var b=P(a)," + "c=U(a,\"position\"),d=c==\"fixed\"||c==\"absolute\";for(a=a.parentNode;a&" + "&a!=b;a=a.parentNode){c=U(a,\"position\");d=d&&c==\"static\"&&a!=b.docume" + "ntElement&&a!=b.body;if(!d&&(a.scrollWidth>a.clientWidth||a.scrollHeight>" + "a.clientHeight||c==\"fixed\"||c==\"absolute\"))return a}return null};Stri" + "ng.fromCharCode(160);var pa=E?1:0,qa=[\"dragstart\",\"dragexit\",\"mouseo" + "ver\",\"mouseout\"];\nfunction V(a,b,c){var d=P(a),f=d?d.parentWindow||d." + "defaultView:window,k=new N;if(a.nodeType==1)if(a.getBoundingClientRect){v" + "ar j=na(a);k.x=j.left;k.y=j.top}else{j=la(O(a));var e,g=P(a),q=U(a,\"posi" + "tion\"),s=F&&g.getBoxObjectFor&&!a.getBoundingClientRect&&q==\"absolute\"" + "&&(e=g.getBoxObjectFor(a))&&(e.screenX<0||e.screenY<0),h=new N(0,0),i;e=g" + "?g.nodeType==9?g:P(g):document;if(i=E)i=O(e).e.compatMode!=\"CSS1Compat\"" + ";i=i?e.body:e.documentElement;if(a!=i)if(a.getBoundingClientRect){e=na(a)" + ";g=la(O(g));h.x=e.left+\ng.x;h.y=e.top+g.y}else if(g.getBoxObjectFor&&!s)" + "{e=g.getBoxObjectFor(a);g=g.getBoxObjectFor(i);h.x=e.screenX-g.screenX;h." + "y=e.screenY-g.screenY}else{e=a;do{h.x+=e.offsetLeft;h.y+=e.offsetTop;if(e" + "!=a){h.x+=e.clientLeft||0;h.y+=e.clientTop||0}if(G&&U(e,\"position\")==\"" + "fixed\"){h.x+=g.body.scrollLeft;h.y+=g.body.scrollTop;break}e=e.offsetPar" + "ent}while(e&&e!=a);if(D||G&&q==\"absolute\")h.y-=g.body.offsetTop;for(e=a" + ";(e=oa(e))&&e!=g.body&&e!=i;){h.x-=e.scrollLeft;if(!D||e.tagName!=\"TR\")" + "h.y-=e.scrollTop}}k.x=h.x-\nj.x;k.y=h.y-j.y}else{j=m(a.f)==\"function\";h" + "=a;if(a.targetTouches)h=a.targetTouches[0];else if(j&&a.f().targetTouches" + ")h=a.f().targetTouches[0];k.x=h.clientX;k.y=h.clientY}i=c||{};c=(i.x||0)+" + "k.x;k=(i.y||0)+k.y;j=i.button||pa;h=i.bubble||true;g=null;if(ea(qa,b)>=0)" + "g=i.related||null;q=!!i.alt;e=!!i.control;s=!!i.shift;i=!!i.meta;if(a.fir" + "eEvent&&d&&d.createEventObject){a=d.createEventObject();a.altKey=q;a.j=e;" + "a.metaKey=i;a.shiftKey=s;a.clientX=c;a.clientY=k;a.button=j;a.relatedTarg" + "et=g}else{a=d.createEvent(\"MouseEvents\");\nif(a.initMouseEvent)a.initMo" + "useEvent(b,h,true,f,1,0,0,c,k,e,q,s,i,j,g);else{a.initEvent(b,h,true);a.s" + "hiftKey=s;a.metaKey=i;a.altKey=q;a.ctrlKey=e;a.button=j}}return a}\nfunct" + "ion W(a,b,c){var d=P(a);a=d?d.parentWindow||d.defaultView:window;var f=c|" + "|{};c=f.keyCode||0;var k=f.charCode||0,j=!!f.alt,e=!!f.ctrl,g=!!f.shift;f" + "=!!f.meta;if(F){d=d.createEvent(\"KeyboardEvent\");d.initKeyEvent(b,true," + "true,a,e,j,g,f,c,k)}else{if(E)d=d.createEventObject();else{d=d.createEven" + "t(\"Events\");d.initEvent(b,true,true);d.charCode=k}d.keyCode=c;d.altKey=" + "j;d.ctrlKey=e;d.metaKey=f;d.shiftKey=g}return d}\nfunction ra(a,b,c){var " + "d=P(a),f=c||{};c=f.bubble!==false;var k=!!f.alt,j=!!f.control,e=!!f.shift" + ";f=!!f.meta;if(a.fireEvent&&d&&d.createEventObject){a=d.createEventObject" + "();a.altKey=k;a.k=j;a.metaKey=f;a.shiftKey=e}else{a=d.createEvent(\"HTMLE" + "vents\");a.initEvent(b,c,true);a.shiftKey=e;a.metaKey=f;a.altKey=k;a.ctrl" + "Key=j}return a}var X={};X.click=V;X.keydown=W;X.keypress=W;X.keyup=W;X.mo" + "usedown=V;X.mousemove=V;X.mouseout=V;X.mouseover=V;X.mouseup=V;function s" + "a(a){a:{a=a;for(var b=0;a;){if(a&&a.nodeType==1&&a.tagName.toUpperCase()=" + "=\"FORM\"){a=a;break a}a=a.parentNode;b++}a=null}if(!a)throw new p(12,\"E" + "lement was not in a form, so could not submit.\");b=a;var c=(X.submit||ra" + ")(b,\"submit\",void 0),d;if(!(d=m(b.fireEvent)==\"function\")){d=m(b.fire" + "Event);d=d==\"object\"||d==\"array\"||d==\"function\"}if(d){try{(P(b)?P(b" + ").parentWindow||P(b).defaultView:window).event=c}catch(f){}b=b.fireEvent(" + "\"onsubmit\",c)}else b=b.dispatchEvent(c);b&&a.submit()}\nvar Y=\"_\".spl" + "it(\".\"),Z=l;!(Y[0]in Z)&&Z.execScript&&Z.execScript(\"var \"+Y[0]);for(" + "var $;Y.length&&($=Y.shift());)if(!Y.length&&sa!==undefined)Z[$]=sa;else " + "Z=Z[$]?Z[$]:Z[$]={};; return _.apply(null,arguments);}"; + +const char* const TOGGLE = + "function(){var l=this;\nfunction m(a){var b=typeof a;if(b==\"object\")if(" + "a){if(a instanceof Array)return\"array\";else if(a instanceof Object)retu" + "rn b;var c=Object.prototype.toString.call(a);if(c==\"[object Window]\")re" + "turn\"object\";if(c==\"[object Array]\"||typeof a.length==\"number\"&&typ" + "eof a.splice!=\"undefined\"&&typeof a.propertyIsEnumerable!=\"undefined\"" + "&&!a.propertyIsEnumerable(\"splice\"))return\"array\";if(c==\"[object Fun" + "ction]\"||typeof a.call!=\"undefined\"&&typeof a.propertyIsEnumerable!=\"" + "undefined\"&&!a.propertyIsEnumerable(\"call\"))return\"function\"}else re" + "turn\"null\";else if(b==\n\"function\"&&typeof a.call==\"undefined\")retu" + "rn\"object\";return b}Math.floor(Math.random()*2147483648).toString(36);f" + "unction n(a,b){function c(){}c.prototype=b.prototype;a.i=b.prototype;a.pr" + "ototype=new c};function o(a){this.stack=Error().stack||\"\";if(a)this.mes" + "sage=String(a)}n(o,Error);o.prototype.name=\"CustomError\";function q(a,b" + "){o.call(this,b);this.code=a;this.name=r[a]||r[13]}n(q,o);var r,aa={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},ba={};for(v" + "ar ca in aa)ba[aa[ca]]=ca;r=ba;\nq.prototype.toString=function(){return\"" + "[\"+this.name+\"] \"+this.message};function da(a){for(var b=1;bb)return 1;ret" + "urn 0}var ea={};function fa(a){return ea[a]||(ea[a]=String(a).replace(/" + "\\-([a-z])/g,function(b,c){return c.toUpperCase()}))};function v(a,b){b.u" + "nshift(a);o.call(this,da.apply(null,b));b.shift();this.l=a}n(v,o);v.proto" + "type.name=\"AssertionError\";function ga(a,b){if(!a){var c=Array.prototyp" + "e.slice.call(arguments,2),d=\"Assertion failed\";if(b){d+=\": \"+b;var f=" + "c}throw new v(\"\"+d,f||[]);}return a};var w=Array.prototype,x=w.indexOf?" + "function(a,b,c){ga(a.length!=null);return w.indexOf.call(a,b,c)}:function" + "(a,b,c){c=c==null?0:c<0?Math.max(0,a.length+c):c;if(typeof a==\"string\")" + "{if(typeof b!=\"string\"||b.length!=1)return-1;return a.indexOf(b,c)}for(" + "c=c;cparseFloat(I)){H=String(ma)" + ";break a}}H=I}var oa={};\nfunction K(a){var b;if(!(b=oa[a])){b=0;var c=s(" + "String(H)).split(\".\"),d=s(String(a)).split(\".\"),f=Math.max(c.length,d" + ".length);for(var e=0;b==0&&e=0}return b};var pa;!E||K(\"9\");E&&K(\"9\");f" + "unction L(a,b){this.x=a!==undefined?a:0;this.y=b!==undefined?b:0}L.protot" + "ype.toString=function(){return\"(\"+this.x+\", \"+this.y+\")\"};function " + "M(a,b){this.width=a;this.height=b}M.prototype.toString=function(){return" + "\"(\"+this.width+\" x \"+this.height+\")\"};M.prototype.floor=function(){" + "this.width=Math.floor(this.width);this.height=Math.floor(this.height);ret" + "urn this};function qa(a){return a?new ra(N(a)):pa||(pa=new ra)}function O" + "(a){return a?a.parentWindow||a.defaultView:window}function N(a){return a." + "nodeType==9?a:a.ownerDocument||a.document}function sa(a,b){var c=[];retur" + "n ta(a,b,c,true)?c[0]:undefined}function ta(a,b,c,d){if(a!=null){var f=0;" + "for(var e;e=a.childNodes[f];f++){if(b(e)){c.push(e);if(d)return true}if(t" + "a(e,b,c,d))return true}}return false}\nfunction ua(a,b,c,d){if(!c)a=a.par" + "entNode;c=d==null;for(var f=0;a&&(c||f<=d);){if(b(a))return a;a=a.parentN" + "ode;f++}return null}function ra(a){this.e=a||l.document||document}functio" + "n va(a){a=!G&&a.e.compatMode==\"CSS1Compat\"?a.e.documentElement:a.e.body" + ";return new L(a.scrollLeft,a.scrollTop)};function wa(a,b){try{var c;if(ty" + "peof b.selectSingleNode!=\"undefined\"){var d=N(b);typeof d.setProperty!=" + "\"undefined\"&&d.setProperty(\"SelectionLanguage\",\"XPath\");c=b.selectS" + "ingleNode(a)}else if(document.implementation.hasFeature(\"XPath\",\"3.0\"" + ")){d=N(b);var f=d.createNSResolver(d.documentElement);c=d.evaluate(a,b,f," + "XPathResult.FIRST_ORDERED_NODE_TYPE,null).singleNodeValue}else c=null}cat" + "ch(e){return null}if(!c)return null;if(c.nodeType!=1)throw Error(\"Return" + "ed node is not an element: \"+a);return c};var xa=\"StopIteration\"in l?l" + ".StopIteration:Error(\"StopIteration\");function ya(){}ya.prototype.next=" + "function(){throw xa;};function P(a,b,c,d,f){this.a=!!b;a&&Q(this,a,d);thi" + "s.d=f!=undefined?f:this.c||0;if(this.a)this.d*=-1;this.h=!c}n(P,ya);P.pro" + "totype.b=null;P.prototype.c=0;P.prototype.g=false;function Q(a,b,c,d){if(" + "a.b=b)a.c=typeof c==\"number\"?c:a.b.nodeType!=1?0:a.a?-1:1;if(typeof d==" + "\"number\")a.d=d}\nP.prototype.next=function(){var a;if(this.g){if(!this." + "b||this.h&&this.d==0)throw xa;a=this.b;var b=this.a?-1:1;if(this.c==b){va" + "r c=this.a?a.lastChild:a.firstChild;c?Q(this,c):Q(this,a,b*-1)}else(c=thi" + "s.a?a.previousSibling:a.nextSibling)?Q(this,c):Q(this,a.parentNode,b*-1);" + "this.d+=this.c*(this.a?-1:1)}else this.g=true;a=this.b;if(!this.b)throw x" + "a;return a};\nP.prototype.splice=function(){var a=this.b,b=this.a?1:-1;if" + "(this.c==b){this.c=b*-1;this.d+=this.c*(this.a?-1:1)}this.a=!this.a;P.pro" + "totype.next.call(this);this.a=!this.a;b=arguments[0];var c=m(b);b=c==\"ar" + "ray\"||c==\"object\"&&typeof b.length==\"number\"?arguments[0]:arguments;" + "for(c=b.length-1;c>=0;c--)a.parentNode&&a.parentNode.insertBefore(b[c],a." + "nextSibling);a&&a.parentNode&&a.parentNode.removeChild(a)};function za(a," + "b,c,d){P.call(this,a,b,c,null,d)}n(za,P);za.prototype.next=function(){do " + "za.i.next.call(this);while(this.c==-1);return this.b};function Aa(a,b){va" + "r c=N(a);if(c.defaultView&&c.defaultView.getComputedStyle)if(c=c.defaultV" + "iew.getComputedStyle(a,null))return c[b]||c.getPropertyValue(b);return\"" + "\"}function R(a,b){return Aa(a,b)||(a.currentStyle?a.currentStyle[b]:null" + ")||a.style[b]}function Ba(a){var b=a.getBoundingClientRect();if(E){a=a.ow" + "nerDocument;b.left-=a.documentElement.clientLeft+a.body.clientLeft;b.top-" + "=a.documentElement.clientTop+a.body.clientTop}return b}\nfunction Ca(a){i" + "f(E)return a.offsetParent;var b=N(a),c=R(a,\"position\"),d=c==\"fixed\"||" + "c==\"absolute\";for(a=a.parentNode;a&&a!=b;a=a.parentNode){c=R(a,\"positi" + "on\");d=d&&c==\"static\"&&a!=b.documentElement&&a!=b.body;if(!d&&(a.scrol" + "lWidth>a.clientWidth||a.scrollHeight>a.clientHeight||c==\"fixed\"||c==\"a" + "bsolute\"))return a}return null};function S(a,b){return!!a&&a.nodeType==1" + "&&(!b||a.tagName.toUpperCase()==b)}\nvar Da={\"class\":\"className\",read" + "only:\"readOnly\"},Ea=[\"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\",\"selec" + "ted\",\"spellcheck\",\"truespeed\",\"willvalidate\"];\nfunction Fa(a,b){i" + "f(8==a.nodeType)return null;b=b.toLowerCase();if(b==\"style\"){var c=s(a." + "style.cssText).toLowerCase();return c.charAt(c.length-1)==\";\"?c:c+\";\"" + "}c=a.getAttributeNode(b);if(E)if(!c&&K(8)&&x(Ea,b)>=0)c=a[b];if(!c)return" + " null;if(x(Ea,b)>=0)return E&&c.value==\"false\"?null:\"true\";return c.s" + "pecified?c.value:null}var Ga=[\"BUTTON\",\"INPUT\",\"OPTGROUP\",\"OPTION" + "\",\"SELECT\",\"TEXTAREA\"];\nfunction Ha(a){var b=a.tagName.toUpperCase(" + ");if(!(x(Ga,b)>=0))return true;if(Fa(a,\"disabled\"))return false;if(a.pa" + "rentNode&&a.parentNode.nodeType==1&&\"OPTGROUP\"==b||\"OPTION\"==b)return" + " Ha(a.parentNode);return true}function Ia(a){for(a=a.parentNode;a&&a.node" + "Type!=1&&a.nodeType!=9&&a.nodeType!=11;)a=a.parentNode;return S(a)?a:null" + "}function T(a,b){b=fa(String(b));return Aa(a,b)||Ja(a,b)}\nfunction Ja(a," + "b){var c=(a.currentStyle||a.style)[b];if(c!=\"inherit\")return c!==undefi" + "ned?c:null;return(c=Ia(a))?Ja(c,b):null}\nfunction Ka(a){if(m(a.getBBox)=" + "=\"function\")return a.getBBox();var b;var c=D&&!K(\"10\");if(R(a,\"displ" + "ay\")!=\"none\")b=c?new M(a.offsetWidth||a.clientWidth,a.offsetHeight||a." + "clientHeight):new M(a.offsetWidth,a.offsetHeight);else{b=a.style;var d=b." + "display,f=b.visibility,e=b.position;b.visibility=\"hidden\";b.position=\"" + "absolute\";b.display=\"inline\";if(c){c=a.offsetWidth||a.clientWidth;a=a." + "offsetHeight||a.clientHeight}else{c=a.offsetWidth;a=a.offsetHeight}b.disp" + "lay=d;b.position=e;b.visibility=f;b=new M(c,a)}return b}\nfunction U(a,b)" + "{function c(e){if(T(e,\"display\")==\"none\")return false;e=Ia(e);return!" + "e||c(e)}function d(e){var j=Ka(e);if(j.height>0&&j.width>0)return true;if" + "(e.innerText||e.textContent)if(La.test(e.innerText||e.textContent))return" + " true;return G&&ha(e.childNodes,function(g){return S(g)&&d(g)})}if(!S(a))" + "throw Error(\"Argument to isShown must be of type Element\");if(S(a,\"TIT" + "LE\"))return O(N(a))==l;if(S(a,\"OPTION\")||S(a,\"OPTGROUP\")){var f=ua(a" + ",function(e){return S(e,\"SELECT\")});return!!f&&U(f)}if(S(a,\"MAP\")){if" + "(!a.name)return false;\nf=N(a);f=f.evaluate?wa('/descendant::*[@usemap = " + "\"#'+a.name+'\"]',f):sa(f,function(e){return S(e)&&Fa(e,\"usemap\")==\"#" + "\"+a.name});return!!f&&U(f)}if(S(a,\"AREA\")){f=ua(a,function(e){return S" + "(e,\"MAP\")});return!!f&&U(f)}if(S(a,\"INPUT\")&&a.type.toLowerCase()==\"" + "hidden\")return false;if(T(a,\"visibility\")==\"hidden\")return false;if(" + "!c(a))return false;if(!b&&Ma(a)==0)return false;if(!d(a))return false;ret" + "urn true}var Na=\"[\\\\s\\\\xa0\"+String.fromCharCode(160)+\"]+\",La=RegE" + "xp(\"^\"+Na+\"$\");\nfunction Ma(a){if(E){if(T(a,\"position\")==\"relativ" + "e\")return 1;a=T(a,\"filter\");return(a=a.match(/^alpha\\(opacity=(\\d*)" + "\\)/)||a.match(/^progid:DXImageTransform.Microsoft.Alpha\\(Opacity=(\\d*)" + "\\)/))?Number(a[1])/100:1}else return Oa(a)}function Oa(a){var b=1,c=T(a," + "\"opacity\");if(c)b=Number(c);if(a=Ia(a))b*=Oa(a);return b};var Pa=E?1:0," + "Qa=[\"dragstart\",\"dragexit\",\"mouseover\",\"mouseout\"];\nfunction V(a" + ",b,c){var d=N(a),f=O(d),e=new L;if(a.nodeType==1)if(a.getBoundingClientRe" + "ct){var j=Ba(a);e.x=j.left;e.y=j.top}else{j=va(qa(a));var g,h=N(a),t=R(a," + "\"position\"),p=F&&h.getBoxObjectFor&&!a.getBoundingClientRect&&t==\"abso" + "lute\"&&(g=h.getBoxObjectFor(a))&&(g.screenX<0||g.screenY<0),i=new L(0,0)" + ",k;g=h?h.nodeType==9?h:N(h):document;if(k=E)k=qa(g).e.compatMode!=\"CSS1C" + "ompat\";k=k?g.body:g.documentElement;if(a!=k)if(a.getBoundingClientRect){" + "g=Ba(a);h=va(qa(h));i.x=g.left+h.x;i.y=g.top+h.y}else if(h.getBoxObjectFo" + "r&&\n!p){g=h.getBoxObjectFor(a);h=h.getBoxObjectFor(k);i.x=g.screenX-h.sc" + "reenX;i.y=g.screenY-h.screenY}else{g=a;do{i.x+=g.offsetLeft;i.y+=g.offset" + "Top;if(g!=a){i.x+=g.clientLeft||0;i.y+=g.clientTop||0}if(G&&R(g,\"positio" + "n\")==\"fixed\"){i.x+=h.body.scrollLeft;i.y+=h.body.scrollTop;break}g=g.o" + "ffsetParent}while(g&&g!=a);if(D||G&&t==\"absolute\")i.y-=h.body.offsetTop" + ";for(g=a;(g=Ca(g))&&g!=h.body&&g!=k;){i.x-=g.scrollLeft;if(!D||g.tagName!" + "=\"TR\")i.y-=g.scrollTop}}e.x=i.x-j.x;e.y=i.y-j.y}else{j=m(a.f)==\"functi" + "on\";\ni=a;if(a.targetTouches)i=a.targetTouches[0];else if(j&&a.f().targe" + "tTouches)i=a.f().targetTouches[0];e.x=i.clientX;e.y=i.clientY}k=c||{};c=(" + "k.x||0)+e.x;e=(k.y||0)+e.y;j=k.button||Pa;i=k.bubble||true;h=null;if(x(Qa" + ",b)>=0)h=k.related||null;t=!!k.alt;g=!!k.control;p=!!k.shift;k=!!k.meta;i" + "f(a.fireEvent&&d&&d.createEventObject){a=d.createEventObject();a.altKey=t" + ";a.j=g;a.metaKey=k;a.shiftKey=p;a.clientX=c;a.clientY=e;a.button=j;a.rela" + "tedTarget=h}else{a=d.createEvent(\"MouseEvents\");if(a.initMouseEvent)a.i" + "nitMouseEvent(b,\ni,true,f,1,0,0,c,e,g,t,p,k,j,h);else{a.initEvent(b,i,tr" + "ue);a.shiftKey=p;a.metaKey=k;a.altKey=t;a.ctrlKey=g;a.button=j}}return a}" + "\nfunction Ra(a,b,c){var d=N(a);a=O(d);var f=c||{};c=f.keyCode||0;var e=f" + ".charCode||0,j=!!f.alt,g=!!f.ctrl,h=!!f.shift;f=!!f.meta;if(F){d=d.create" + "Event(\"KeyboardEvent\");d.initKeyEvent(b,true,true,a,g,j,h,f,c,e)}else{i" + "f(E)d=d.createEventObject();else{d=d.createEvent(\"Events\");d.initEvent(" + "b,true,true);d.charCode=e}d.keyCode=c;d.altKey=j;d.ctrlKey=g;d.metaKey=f;" + "d.shiftKey=h}return d}\nfunction Sa(a,b,c){var d=N(a),f=c||{};c=f.bubble!" + "==false;var e=!!f.alt,j=!!f.control,g=!!f.shift;f=!!f.meta;if(a.fireEvent" + "&&d&&d.createEventObject){a=d.createEventObject();a.altKey=e;a.k=j;a.meta" + "Key=f;a.shiftKey=g}else{a=d.createEvent(\"HTMLEvents\");a.initEvent(b,c,t" + "rue);a.shiftKey=g;a.metaKey=f;a.altKey=e;a.ctrlKey=j}return a}var W={};W." + "click=V;W.keydown=Ra;W.keypress=Ra;W.keyup=Ra;W.mousedown=V;W.mousemove=V" + ";W.mouseout=V;W.mouseover=V;W.mouseup=V;\nfunction Ta(a,b,c){c=(W[b]||Sa)" + "(a,b,c);var d;if(!(d=m(a.fireEvent)==\"function\")){d=m(a.fireEvent);d=d=" + "=\"object\"||d==\"array\"||d==\"function\"}if(d){try{O(N(a)).event=c}catc" + "h(f){}a=a.fireEvent(\"on\"+b,c)}else a=a.dispatchEvent(c);return a};funct" + "ion X(a){var b;if(S(a,\"OPTION\"))b=true;else if(S(a,\"INPUT\")){b=a.type" + ".toLowerCase();b=b==\"checkbox\"||b==\"radio\"}else b=false;if(!b)throw n" + "ew q(15,\"Element is not selectable\");b=\"selected\";var c=a.type&&a.typ" + "e.toLowerCase();if(\"checkbox\"==c||\"radio\"==c)b=\"checked\";return!!a[" + "Da[b]||b]}function Ua(a){return S(a,\"SELECT\")};function Va(a){if(S(a,\"" + "INPUT\")&&\"radio\"==a.type)throw new q(12,\"You may not toggle a radio b" + "utton\");var b=!X(a);if(!Ha(a))throw new q(12,\"Element is not currently " + "enabled and may not be manipulated\");if(!U(a,true))throw new q(11,\"Elem" + "ent is not currently visible and may not be manipulated\");if(S(a,\"INPUT" + "\")){var c=a.type.toLowerCase();if(c==\"checkbox\"||c==\"radio\"){if(a.ch" + "ecked!=b){if(a.type==\"radio\"&&!b)throw new q(12,\"You may not deselect " + "a radio button\");if(b!=X(a)){a.checked=b;Ta(a,\"change\")}}}else throw n" + "ew q(15,\n\"You may not select an unselectable input element: \"+a.type);" + "}else if(S(a,\"OPTION\")){c=ua(a,Ua);if(!c.multiple&&!b)throw new q(15,\"" + "You may not deselect an option within a select that does not support mult" + "iple selections.\");if(b!=X(a)){a.selected=b;Ta(c,\"change\")}}else throw" + " new q(15,\"You may not select an unselectable element: \"+a.tagName);ret" + "urn X(a)}var Y=\"_\".split(\".\"),Z=l;!(Y[0]in Z)&&Z.execScript&&Z.execSc" + "ript(\"var \"+Y[0]);\nfor(var $;Y.length&&($=Y.shift());)if(!Y.length&&Va" + "!==undefined)Z[$]=Va;else Z=Z[$]?Z[$]:Z[$]={};; return _.apply(null,argum" + "ents);}"; + +} // namespace atoms +} // namespace webdriver + +#endif // WEBDRIVER_ATOMS_H_ -- cgit v1.1