| Index: third_party/webdriver/atoms.h
|
| diff --git a/third_party/webdriver/atoms.h b/third_party/webdriver/atoms.h
|
| index a16d2e5021fabf05a1a8057fad8060131994f57d..a2e407e4bfc35071e07a88a7e95d9aeff39e3fe3 100644
|
| --- a/third_party/webdriver/atoms.h
|
| +++ b/third_party/webdriver/atoms.h
|
| @@ -1,15 +1,17 @@
|
| -// 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.
|
| +/*
|
| + * 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_
|
| @@ -155,8 +157,29 @@ const char* const GET_LOCATION_IN_VIEW =
|
| "ments);}.apply({navigator:typeof window!='undefined'?window.navigator:nul"
|
| "l}, arguments);}";
|
|
|
| +const char* const IS_ELEMENT_CLICKABLE =
|
| + "function(){return function(){function e(b,a){function d(){}d.prototype=a."
|
| + "prototype;b.b=a.prototype;b.prototype=new d};function g(b){this.stack=Err"
|
| + "or().stack||\"\";if(b)this.message=String(b)}e(g,Error);function h(b){for"
|
| + "(var a=1;a<arguments.length;a++)var d=String(arguments[a]).replace(/\\$/g"
|
| + ",\"$$$$\"),b=b.replace(/\\%s/,d);return b};e(function(b,a){a.unshift(b);g"
|
| + ".call(this,h.apply(null,a));a.shift();this.a=b},g);function i(b,a){functi"
|
| + "on d(a,b){var c={clickable:a};b&&(c.message=b);return c}var c=b.ownerDocu"
|
| + "ment.elementFromPoint(a.x,a.y);if(c==b)return d(!0);a=\"(\"+a.x+\", \"+a."
|
| + "y+\")\";if(c==null)return d(!1,\"Element is not clickable at point \"+a);"
|
| + "var f=c.outerHTML;if(c.hasChildNodes())var l=c.innerHTML,m=f.length-l.len"
|
| + "gth-(\"</\"+c.tagName+\">\").length,f=f.substring(0,m)+\"...\"+f.substrin"
|
| + "g(m+l.length);for(c=c.parentNode;c;){if(c==b)return d(!0,\"Element's desc"
|
| + "endant would receive the click. Consider clicking the descendant instead."
|
| + " Descendant: \"+\nf);c=c.parentNode}return d(!1,\"Element is not clickabl"
|
| + "e at point \"+a+\". Unrelated element would receive the click: \"+f)}var "
|
| + "j=\"_\".split(\".\"),k=this;!(j[0]in k)&&k.execScript&&k.execScript(\"var"
|
| + " \"+j[0]);for(var n;j.length&&(n=j.shift());)!j.length&&i!==void 0?k[n]=i"
|
| + ":k=k[n]?k[n]:k[n]={};; return this._.apply(null,arguments);}.apply({navig"
|
| + "ator:typeof window!='undefined'?window.navigator:null}, arguments);}";
|
| +
|
| const char* const CLEAR =
|
| - "function(){return function(){var i=void 0,k=null,n=this;\nfunction p(a){v"
|
| + "function(){return function(){var i=void 0,m=null,n=this;\nfunction p(a){v"
|
| "ar b=typeof a;if(b==\"object\")if(a){if(a instanceof Array)return\"array"
|
| "\";else if(a instanceof Object)return b;var c=Object.prototype.toString.c"
|
| "all(a);if(c==\"[object Window]\")return\"object\";if(c==\"[object Array]"
|
| @@ -168,164 +191,163 @@ const char* const CLEAR =
|
| "\"&&typeof a.call==\"undefined\")return\"object\";return b}function q(a){"
|
| "return p(a)==\"function\"}Math.floor(Math.random()*2147483648).toString(3"
|
| "6);function r(a,b){function c(){}c.prototype=b.prototype;a.i=b.prototype;"
|
| - "a.prototype=new c};var aa=window;function s(a){this.stack=Error().stack||"
|
| - "\"\";if(a)this.message=String(a)}r(s,Error);s.prototype.name=\"CustomErro"
|
| - "r\";function u(a,b){s.call(this,b);this.code=a;this.name=v[a]||v[13]}r(u,"
|
| - "s);var v,w={NoSuchElementError:7,NoSuchFrameError:8,UnknownCommandError:9"
|
| - ",StaleElementReferenceError:10,ElementNotVisibleError:11,InvalidElementSt"
|
| - "ateError:12,UnknownError:13,ElementNotSelectableError:15,XPathLookupError"
|
| - ":19,NoSuchWindowError:23,InvalidCookieDomainError:24,UnableToSetCookieErr"
|
| - "or:25,ModalDialogOpenedError:26,ModalDialogOpenError:27,ScriptTimeoutErro"
|
| - "r:28},x={},y;for(y in w)x[w[y]]=y;v=x;\nu.prototype.toString=function(){r"
|
| - "eturn\"[\"+this.name+\"] \"+this.message};function ba(a){for(var b=1;b<ar"
|
| - "guments.length;b++)var c=String(arguments[b]).replace(/\\$/g,\"$$$$\"),a="
|
| - "a.replace(/\\%s/,c);return a}var z={};function ca(a){return z[a]||(z[a]=S"
|
| - "tring(a).replace(/\\-([a-z])/g,function(a,c){return c.toUpperCase()}))};f"
|
| - "unction A(a,b){b.unshift(a);s.call(this,ba.apply(k,b));b.shift();this.l=a"
|
| - "}r(A,s);A.prototype.name=\"AssertionError\";function B(a,b){if(typeof a=="
|
| - "\"string\"){if(typeof b!=\"string\"||b.length!=1)return-1;return a.indexO"
|
| - "f(b,0)}for(var c=0;c<a.length;c++)if(c in a&&a[c]===b)return c;return-1}f"
|
| - "unction C(a,b){for(var c=a.length,d=typeof a==\"string\"?a.split(\"\"):a,"
|
| - "e=0;e<c;e++)if(e in d&&b.call(i,d[e],e,a))return!0;return!1};var D=!0,E;D"
|
| - "&&(E=/WebKit\\/(\\S+)/);E&&E.exec(n.navigator?n.navigator.userAgent:k);va"
|
| + "a.prototype=new c};function aa(a){for(var b=1;b<arguments.length;b++)var "
|
| + "c=String(arguments[b]).replace(/\\$/g,\"$$$$\"),a=a.replace(/\\%s/,c);ret"
|
| + "urn a}var s={};function ba(a){return s[a]||(s[a]=String(a).replace(/\\-(["
|
| + "a-z])/g,function(a,c){return c.toUpperCase()}))};var u=!0,v;u&&(v=/WebKit"
|
| + "\\/(\\S+)/);v&&v.exec(n.navigator?n.navigator.userAgent:m);var ca=window;"
|
| + "function w(a){this.stack=Error().stack||\"\";if(a)this.message=String(a)}"
|
| + "r(w,Error);w.prototype.name=\"CustomError\";function x(a,b){w.call(this,b"
|
| + ");this.code=a;this.name=y[a]||y[13]}r(x,w);var y,z={NoSuchElementError:7,"
|
| + "NoSuchFrameError:8,UnknownCommandError:9,StaleElementReferenceError:10,El"
|
| + "ementNotVisibleError:11,InvalidElementStateError:12,UnknownError:13,Eleme"
|
| + "ntNotSelectableError:15,XPathLookupError:19,NoSuchWindowError:23,InvalidC"
|
| + "ookieDomainError:24,UnableToSetCookieError:25,ModalDialogOpenedError:26,M"
|
| + "odalDialogOpenError:27,ScriptTimeoutError:28},A={},B;for(B in z)A[z[B]]=B"
|
| + ";y=A;\nx.prototype.toString=function(){return\"[\"+this.name+\"] \"+this."
|
| + "message};function C(a,b){b.unshift(a);w.call(this,aa.apply(m,b));b.shift("
|
| + ");this.m=a}r(C,w);C.prototype.name=\"AssertionError\";function D(a,b){if("
|
| + "typeof a==\"string\"){if(typeof b!=\"string\"||b.length!=1)return-1;retur"
|
| + "n a.indexOf(b,0)}for(var c=0;c<a.length;c++)if(c in a&&a[c]===b)return c;"
|
| + "return-1}function E(a,b){for(var c=a.length,d=typeof a==\"string\"?a.spli"
|
| + "t(\"\"):a,e=0;e<c;e++)if(e in d&&b.call(i,d[e],e,a))return!0;return!1};va"
|
| "r F;function G(a,b){this.x=a!==i?a:0;this.y=b!==i?b:0}G.prototype.toStrin"
|
| "g=function(){return\"(\"+this.x+\", \"+this.y+\")\"};function H(a,b){this"
|
| ".width=a;this.height=b}H.prototype.toString=function(){return\"(\"+this.w"
|
| "idth+\" x \"+this.height+\")\"};H.prototype.floor=function(){this.width=M"
|
| "ath.floor(this.width);this.height=Math.floor(this.height);return this};fu"
|
| "nction I(a){return a.nodeType==9?a:a.ownerDocument||a.document}function d"
|
| - "a(a,b){var c=[];return J(a,b,c,!0)?c[0]:i}function J(a,b,c,d){if(a!=k)for"
|
| + "a(a,b){var c=[];return J(a,b,c,!0)?c[0]:i}function J(a,b,c,d){if(a!=m)for"
|
| "(var e=0,f;f=a.childNodes[e];e++){if(b(f)&&(c.push(f),d))return!0;if(J(f,"
|
| "b,c,d))return!0}return!1}function ea(a,b){for(var a=a.parentNode,c=0;a;){"
|
| - "if(b(a))return a;a=a.parentNode;c++}return k}function K(a){this.h=a||n.do"
|
| - "cument||document}\nfunction fa(a){var b=a.h,a=!D&&b.compatMode==\"CSS1Com"
|
| + "if(b(a))return a;a=a.parentNode;c++}return m}function K(a){this.h=a||n.do"
|
| + "cument||document}\nfunction fa(a){var b=a.h,a=!u&&b.compatMode==\"CSS1Com"
|
| "pat\"?b.documentElement:b.body,b=b.parentWindow||b.defaultView;return new"
|
| " G(b.pageXOffset||a.scrollLeft,b.pageYOffset||a.scrollTop)};function ga(a"
|
| - ",b){var c=function(a,b){var c=I(a);if(a.selectSingleNode)return c.setProp"
|
| - "erty&&c.setProperty(\"SelectionLanguage\",\"XPath\"),a.selectSingleNode(b"
|
| - ");c=I(a);if(c.implementation.hasFeature(\"XPath\",\"3.0\"))var l=c.create"
|
| - "NSResolver(c.documentElement),c=c.evaluate(b,a,l,9,k);else c=k;return c?c"
|
| - ".singleNodeValue:k}(b,a);if(!c)return k;if(c.nodeType!=1)throw Error(\"Re"
|
| - "turned node is not an element: \"+a);return c};var L=\"StopIteration\"in "
|
| - "n?n.StopIteration:Error(\"StopIteration\");function ha(){}ha.prototype.ne"
|
| - "xt=function(){throw L;};function M(a,b,c,d,e){this.a=!!b;a&&N(this,a,d);t"
|
| - "his.d=e!=i?e:this.c||0;this.a&&(this.d*=-1);this.g=!c}r(M,ha);M.prototype"
|
| - ".b=k;M.prototype.c=0;M.prototype.f=!1;function N(a,b,c){if(a.b=b)a.c=type"
|
| - "of c==\"number\"?c:a.b.nodeType!=1?0:a.a?-1:1}\nM.prototype.next=function"
|
| - "(){var a;if(this.f){if(!this.b||this.g&&this.d==0)throw L;a=this.b;var b="
|
| - "this.a?-1:1;if(this.c==b){var c=this.a?a.lastChild:a.firstChild;c?N(this,"
|
| - "c):N(this,a,b*-1)}else(c=this.a?a.previousSibling:a.nextSibling)?N(this,c"
|
| - "):N(this,a.parentNode,b*-1);this.d+=this.c*(this.a?-1:1)}else this.f=!0;a"
|
| - "=this.b;if(!this.b)throw L;return a};\nM.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;M.prototype.next.call(this);this.a=!this.a;for(var b=a"
|
| - "rguments[0],c=p(b),b=c==\"array\"||c==\"object\"&&typeof b.length==\"numb"
|
| - "er\"?arguments[0]:arguments,c=b.length-1;c>=0;c--)a.parentNode&&a.parentN"
|
| - "ode.insertBefore(b[c],a.nextSibling);a&&a.parentNode&&a.parentNode.remove"
|
| - "Child(a)};function O(a,b,c,d){M.call(this,a,b,c,k,d)}r(O,M);O.prototype.n"
|
| - "ext=function(){do O.i.next.call(this);while(this.c==-1);return this.b};fu"
|
| - "nction ia(a,b){var c=I(a);if(c.defaultView&&c.defaultView.getComputedStyl"
|
| - "e&&(c=c.defaultView.getComputedStyle(a,k)))return c[b]||c.getPropertyValu"
|
| - "e(b);return\"\"}function P(a,b){return ia(a,b)||(a.currentStyle?a.current"
|
| - "Style[b]:k)||a.style[b]}\nfunction ja(a){for(var b=I(a),c=P(a,\"position"
|
| - "\"),d=c==\"fixed\"||c==\"absolute\",a=a.parentNode;a&&a!=b;a=a.parentNode"
|
| - ")if(c=P(a,\"position\"),d=d&&c==\"static\"&&a!=b.documentElement&&a!=b.bo"
|
| - "dy,!d&&(a.scrollWidth>a.clientWidth||a.scrollHeight>a.clientHeight||c==\""
|
| - "fixed\"||c==\"absolute\"||c==\"relative\"))return a;return k};function Q("
|
| - "a,b){return!!a&&a.nodeType==1&&(!b||a.tagName.toUpperCase()==b)}var ka=["
|
| - "\"A\",\"AREA\",\"BUTTON\",\"INPUT\",\"LABEL\",\"SELECT\",\"TEXTAREA\"];fu"
|
| - "nction la(a){return C(ka,function(b){return a.tagName.toUpperCase()==b})|"
|
| - "|R(a,\"tabindex\")!=k&&ma(a,\"tabIndex\")>=0}var na={\"class\":\"classNam"
|
| - "e\",readonly:\"readOnly\"},oa=[\"checked\",\"disabled\",\"draggable\",\"h"
|
| - "idden\"];function ma(a,b){var c=na[b]||b,d=a[c];if(d===i&&B(oa,c)>=0)retu"
|
| - "rn!1;return d}\nvar pa=[\"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 R(a,b){if"
|
| - "(8==a.nodeType)return k;b=b.toLowerCase();if(b==\"style\"){var c=a.style."
|
| - "cssText.replace(/^[\\s\\xa0]+|[\\s\\xa0]+$/g,\"\").toLowerCase();return c"
|
| - ".charAt(c.length-1)==\";\"?c:c+\";\"}c=a.getAttributeNode(b);if(!c)return"
|
| - " k;if(B(pa,b)>=0)return\"true\";return c.specified?c.value:k}var qa=[\"BU"
|
| - "TTON\",\"INPUT\",\"OPTGROUP\",\"OPTION\",\"SELECT\",\"TEXTAREA\"];\nfunct"
|
| - "ion ra(a){var b=a.tagName.toUpperCase();if(!(B(qa,b)>=0))return!0;if(R(a,"
|
| - "\"disabled\"))return!1;if(a.parentNode&&a.parentNode.nodeType==1&&\"OPTGR"
|
| - "OUP\"==b||\"OPTION\"==b)return ra(a.parentNode);return!0}function S(a){fo"
|
| - "r(a=a.parentNode;a&&a.nodeType!=1&&a.nodeType!=9&&a.nodeType!=11;)a=a.par"
|
| - "entNode;return Q(a)?a:k}function T(a,b){b=ca(String(b));return ia(a,b)||s"
|
| - "a(a,b)}function sa(a,b){var c=(a.currentStyle||a.style)[b];if(c!=\"inheri"
|
| - "t\")return c!==i?c:k;return(c=S(a))?sa(c,b):k}\nfunction ta(a){if(q(a.get"
|
| - "BBox))return a.getBBox();var b;if(P(a,\"display\")!=\"none\")b=new H(a.of"
|
| - "fsetWidth,a.offsetHeight);else{b=a.style;var c=b.display,d=b.visibility,e"
|
| - "=b.position;b.visibility=\"hidden\";b.position=\"absolute\";b.display=\"i"
|
| - "nline\";var f=a.offsetWidth,a=a.offsetHeight;b.display=c;b.position=e;b.v"
|
| - "isibility=d;b=new H(f,a)}return b}\nfunction U(a,b){function c(a){if(T(a,"
|
| - "\"display\")==\"none\")return!1;a=S(a);return!a||c(a)}function d(a){var b"
|
| - "=ta(a);if(b.height>0&&b.width>0)return!0;if(a.innerText||a.textContent)if"
|
| - "(ua.test(a.innerText||a.textContent))return!0;return D&&C(a.childNodes,fu"
|
| - "nction(a){return Q(a)&&d(a)})}if(!Q(a))throw Error(\"Argument to isShown "
|
| - "must be of type Element\");if(Q(a,\"TITLE\"))return(I(a)?I(a).parentWindo"
|
| - "w||I(a).defaultView:window)==aa;if(Q(a,\"OPTION\")||Q(a,\"OPTGROUP\")){va"
|
| - "r e=ea(a,function(a){return Q(a,\"SELECT\")});\nreturn!!e&&U(e,b)}if(Q(a,"
|
| - "\"MAP\")){if(!a.name)return!1;e=I(a);e=e.evaluate?ga('/descendant::*[@use"
|
| - "map = \"#'+a.name+'\"]',e):da(e,function(b){return Q(b)&&R(b,\"usemap\")="
|
| - "=\"#\"+a.name});return!!e&&U(e,b)}if(Q(a,\"AREA\"))return e=ea(a,function"
|
| - "(a){return Q(a,\"MAP\")}),!!e&&U(e,b);if(Q(a,\"INPUT\")&&a.type.toLowerCa"
|
| - "se()==\"hidden\")return!1;if(T(a,\"visibility\")==\"hidden\")return!1;if("
|
| - "!c(a))return!1;if(!b&&va(a)==0)return!1;if(!d(a))return!1;return!0}var ua"
|
| - "=RegExp(\"^\"+(\"[\\\\s\\\\xa0\"+String.fromCharCode(160)+\"]+\")+\"$\");"
|
| - "\nfunction va(a){var b=1,c=T(a,\"opacity\");c&&(b=Number(c));(a=S(a))&&(b"
|
| - "*=va(a));return b};var wa=[\"dragstart\",\"dragexit\",\"mouseover\",\"mou"
|
| - "seout\"];\nfunction V(a,b,c){var d=I(a),e=d?d.parentWindow||d.defaultView"
|
| - ":window,f=new G;if(a.nodeType==1)if(a.getBoundingClientRect){var l=a.getB"
|
| - "oundingClientRect();f.x=l.left;f.y=l.top}else{l=fa(a?new K(I(a)):F||(F=ne"
|
| - "w K));var m,g=I(a);m=P(a,\"position\");var h=new G(0,0),t=(g?g.nodeType=="
|
| - "9?g:I(g):document).documentElement;if(a!=t)if(a.getBoundingClientRect)m=a"
|
| - ".getBoundingClientRect(),g=fa(g?new K(I(g)):F||(F=new K)),h.x=m.left+g.x,"
|
| - "h.y=m.top+g.y;else if(g.getBoxObjectFor)m=g.getBoxObjectFor(a),g=g.getBox"
|
| - "ObjectFor(t),\nh.x=m.screenX-g.screenX,h.y=m.screenY-g.screenY;else{var j"
|
| - "=a;do{h.x+=j.offsetLeft;h.y+=j.offsetTop;j!=a&&(h.x+=j.clientLeft||0,h.y+"
|
| - "=j.clientTop||0);if(D&&P(j,\"position\")==\"fixed\"){h.x+=g.body.scrollLe"
|
| - "ft;h.y+=g.body.scrollTop;break}j=j.offsetParent}while(j&&j!=a);D&&m==\"ab"
|
| - "solute\"&&(h.y-=g.body.offsetTop);for(j=a;(j=ja(j))&&j!=g.body&&j!=t;)h.x"
|
| - "-=j.scrollLeft,h.y-=j.scrollTop}f.x=h.x-l.x;f.y=h.y-l.y}else l=q(a.e),h=a"
|
| - ",a.targetTouches?h=a.targetTouches[0]:l&&a.e().targetTouches&&(h=a.e().ta"
|
| - "rgetTouches[0]),\nf.x=h.clientX,f.y=h.clientY;var o=c||{},c=(o.x||0)+f.x,"
|
| - "f=(o.y||0)+f.y,l=o.button||0,h=o.bubble||!0;m=k;B(wa,b)>=0&&(m=o.related|"
|
| - "|k);g=!!o.alt;t=!!o.control;j=!!o.shift;o=!!o.meta;a.fireEvent&&d&&d.crea"
|
| - "teEventObject?(a=d.createEventObject(),a.altKey=g,a.j=t,a.metaKey=o,a.shi"
|
| - "ftKey=j,a.clientX=c,a.clientY=f,a.button=l,a.relatedTarget=m):(a=d.create"
|
| - "Event(\"MouseEvents\"),a.initMouseEvent?a.initMouseEvent(b,h,!0,e,1,0,0,c"
|
| - ",f,t,g,j,o,l,m):(a.initEvent(b,h,!0),a.shiftKey=j,a.metaKey=o,a.altKey=g,"
|
| - "a.ctrlKey=\nt,a.button=l));return a}function W(a,b,c){var d=c||{},c=d.key"
|
| - "Code||0,e=d.charCode||0,f=!!d.alt,l=!!d.ctrl,m=!!d.shift,d=!!d.meta,a=I(a"
|
| - ").createEvent(\"Events\");a.initEvent(b,!0,!0);a.charCode=e;a.keyCode=c;a"
|
| - ".altKey=f;a.ctrlKey=l;a.metaKey=d;a.shiftKey=m;return a}\nfunction xa(a,b"
|
| - ",c){var d=I(a),e=c||{},c=e.bubble!==!1,f=!!e.alt,l=!!e.control,m=!!e.shif"
|
| - "t,e=!!e.meta;a.fireEvent&&d&&d.createEventObject?(a=d.createEventObject()"
|
| - ",a.altKey=f,a.k=l,a.metaKey=e,a.shiftKey=m):(a=d.createEvent(\"HTMLEvents"
|
| - "\"),a.initEvent(b,c,!0),a.shiftKey=m,a.metaKey=e,a.altKey=f,a.ctrlKey=l);"
|
| - "return a}var X={};X.click=V;X.keydown=W;X.keypress=W;X.keyup=W;X.mousedow"
|
| - "n=V;X.mousemove=V;X.mouseout=V;X.mouseover=V;X.mouseup=V;function ya(a){i"
|
| - "f(!U(a,!0))throw new u(11,\"Element is not currently visible and may not "
|
| - "be manipulated\");};function za(a){var b;Q(a,\"TEXTAREA\")?b=!0:Q(a,\"INP"
|
| - "UT\")?(b=a.type.toLowerCase(),b=b==\"text\"||b==\"password\"||b==\"email"
|
| - "\"||b==\"search\"):b=!1;if(b){if(ma(a,\"readOnly\"))throw new u(12,\"Elem"
|
| - "ent is readonly and may not be cleared.\");if(a.value!=\"\"){ya(a);if(!ra"
|
| - "(a))throw new u(12,\"Element is not currently enabled and may not be mani"
|
| - "pulated\");if(la(a))b=I(a).activeElement,ya(a),a!=b&&(b&&q(b.blur)&&b.blu"
|
| - "r(),q(a.focus)&&a.focus());a.value=\"\";b=(X.change||xa)(a,\"change\",i);"
|
| - "var c;if(!(c=q(a.fireEvent)))c=p(a.fireEvent),\nc=c==\"object\"||c==\"arr"
|
| - "ay\"||c==\"function\";if(c){try{(I(a)?I(a).parentWindow||I(a).defaultView"
|
| - ":window).event=b}catch(d){}a.fireEvent(\"onchange\",b)}else a.dispatchEve"
|
| - "nt(b)}}}var Y=\"_\".split(\".\"),Z=n;!(Y[0]in Z)&&Z.execScript&&Z.execScr"
|
| - "ipt(\"var \"+Y[0]);for(var $;Y.length&&($=Y.shift());)!Y.length&&za!==i?Z"
|
| - "[$]=za:Z=Z[$]?Z[$]:Z[$]={};; return this._.apply(null,arguments);}.apply("
|
| - "{navigator:typeof window!='undefined'?window.navigator:null}, arguments);"
|
| - "}";
|
| + ",b){var c=function(b,c){var f=I(b);if(b.selectSingleNode)return f.setProp"
|
| + "erty&&f.setProperty(\"SelectionLanguage\",\"XPath\"),b.selectSingleNode(c"
|
| + ");try{var k;var j=I(b);if(j.implementation.hasFeature(\"XPath\",\"3.0\"))"
|
| + "{var g=j.createNSResolver(j.documentElement);k=j.evaluate(c,b,g,9,m)}else"
|
| + " k=m;return k?k.singleNodeValue:m}catch(h){throw Error(32,\"Unable to loc"
|
| + "ate an element with the xpath expression \"+a);}}(b,a);if(!c)return m;if("
|
| + "c.nodeType!=1)throw Error(\"Returned node is not an element: \"+\na);retu"
|
| + "rn c};var L=\"StopIteration\"in n?n.StopIteration:Error(\"StopIteration\""
|
| + ");function ha(){}ha.prototype.next=function(){throw L;};function M(a,b,c,"
|
| + "d,e){this.a=!!b;a&&N(this,a,d);this.d=e!=i?e:this.c||0;this.a&&(this.d*=-"
|
| + "1);this.g=!c}r(M,ha);M.prototype.b=m;M.prototype.c=0;M.prototype.f=!1;fun"
|
| + "ction N(a,b,c){if(a.b=b)a.c=typeof c==\"number\"?c:a.b.nodeType!=1?0:a.a?"
|
| + "-1:1}\nM.prototype.next=function(){var a;if(this.f){if(!this.b||this.g&&t"
|
| + "his.d==0)throw L;a=this.b;var b=this.a?-1:1;if(this.c==b){var c=this.a?a."
|
| + "lastChild:a.firstChild;c?N(this,c):N(this,a,b*-1)}else(c=this.a?a.previou"
|
| + "sSibling:a.nextSibling)?N(this,c):N(this,a.parentNode,b*-1);this.d+=this."
|
| + "c*(this.a?-1:1)}else this.f=!0;a=this.b;if(!this.b)throw L;return a};\nM."
|
| + "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;M.prototype.next.call("
|
| + "this);this.a=!this.a;for(var b=arguments[0],c=p(b),b=c==\"array\"||c==\"o"
|
| + "bject\"&&typeof b.length==\"number\"?arguments[0]:arguments,c=b.length-1;"
|
| + "c>=0;c--)a.parentNode&&a.parentNode.insertBefore(b[c],a.nextSibling);a&&a"
|
| + ".parentNode&&a.parentNode.removeChild(a)};function O(a,b,c,d){M.call(this"
|
| + ",a,b,c,m,d)}r(O,M);O.prototype.next=function(){do O.i.next.call(this);whi"
|
| + "le(this.c==-1);return this.b};function ia(a,b){var c=I(a);if(c.defaultVie"
|
| + "w&&c.defaultView.getComputedStyle&&(c=c.defaultView.getComputedStyle(a,m)"
|
| + "))return c[b]||c.getPropertyValue(b);return\"\"}function P(a,b){return ia"
|
| + "(a,b)||(a.currentStyle?a.currentStyle[b]:m)||a.style[b]}\nfunction ja(a){"
|
| + "for(var b=I(a),c=P(a,\"position\"),d=c==\"fixed\"||c==\"absolute\",a=a.pa"
|
| + "rentNode;a&&a!=b;a=a.parentNode)if(c=P(a,\"position\"),d=d&&c==\"static\""
|
| + "&&a!=b.documentElement&&a!=b.body,!d&&(a.scrollWidth>a.clientWidth||a.scr"
|
| + "ollHeight>a.clientHeight||c==\"fixed\"||c==\"absolute\"||c==\"relative\")"
|
| + ")return a;return m};function Q(a,b){return!!a&&a.nodeType==1&&(!b||a.tagN"
|
| + "ame.toUpperCase()==b)}var ka=[\"A\",\"AREA\",\"BUTTON\",\"INPUT\",\"LABEL"
|
| + "\",\"SELECT\",\"TEXTAREA\"];function la(a){return E(ka,function(b){return"
|
| + " a.tagName.toUpperCase()==b})||R(a,\"tabindex\")!=m&&ma(a,\"tabIndex\")>="
|
| + "0}var na={\"class\":\"className\",readonly:\"readOnly\"},oa=[\"checked\","
|
| + "\"disabled\",\"draggable\",\"hidden\"];function ma(a,b){var c=na[b]||b,d="
|
| + "a[c];if(d===i&&D(oa,c)>=0)return!1;return d}\nvar pa=[\"async\",\"autofoc"
|
| + "us\",\"autoplay\",\"checked\",\"compact\",\"complete\",\"controls\",\"dec"
|
| + "lare\",\"defaultchecked\",\"defaultselected\",\"defer\",\"disabled\",\"dr"
|
| + "aggable\",\"ended\",\"formnovalidate\",\"hidden\",\"indeterminate\",\"isc"
|
| + "ontenteditable\",\"ismap\",\"itemscope\",\"loop\",\"multiple\",\"muted\","
|
| + "\"nohref\",\"noresize\",\"noshade\",\"novalidate\",\"nowrap\",\"open\",\""
|
| + "paused\",\"pubdate\",\"readonly\",\"required\",\"reversed\",\"scoped\",\""
|
| + "seamless\",\"seeking\",\"selected\",\"spellcheck\",\"truespeed\",\"willva"
|
| + "lidate\"];\nfunction R(a,b){if(8==a.nodeType)return m;b=b.toLowerCase();i"
|
| + "f(b==\"style\"){var c=a.style.cssText.replace(/^[\\s\\xa0]+|[\\s\\xa0]+$/"
|
| + "g,\"\").toLowerCase();return c.charAt(c.length-1)==\";\"?c:c+\";\"}c=a.ge"
|
| + "tAttributeNode(b);if(!c)return m;if(D(pa,b)>=0)return\"true\";return c.sp"
|
| + "ecified?c.value:m}var qa=[\"BUTTON\",\"INPUT\",\"OPTGROUP\",\"OPTION\",\""
|
| + "SELECT\",\"TEXTAREA\"];\nfunction ra(a){var b=a.tagName.toUpperCase();if("
|
| + "!(D(qa,b)>=0))return!0;if(R(a,\"disabled\"))return!1;if(a.parentNode&&a.p"
|
| + "arentNode.nodeType==1&&\"OPTGROUP\"==b||\"OPTION\"==b)return ra(a.parentN"
|
| + "ode);return!0}function S(a){for(a=a.parentNode;a&&a.nodeType!=1&&a.nodeTy"
|
| + "pe!=9&&a.nodeType!=11;)a=a.parentNode;return Q(a)?a:m}function T(a,b){b=b"
|
| + "a(String(b));return ia(a,b)||sa(a,b)}function sa(a,b){var c=(a.currentSty"
|
| + "le||a.style)[b];if(c!=\"inherit\")return c!==i?c:m;return(c=S(a))?sa(c,b)"
|
| + ":m}\nfunction ta(a){if(q(a.getBBox))return a.getBBox();var b;if(P(a,\"dis"
|
| + "play\")!=\"none\")b=new H(a.offsetWidth,a.offsetHeight);else{b=a.style;va"
|
| + "r c=b.display,d=b.visibility,e=b.position;b.visibility=\"hidden\";b.posit"
|
| + "ion=\"absolute\";b.display=\"inline\";var f=a.offsetWidth,a=a.offsetHeigh"
|
| + "t;b.display=c;b.position=e;b.visibility=d;b=new H(f,a)}return b}\nfunctio"
|
| + "n U(a,b){function c(a){if(T(a,\"display\")==\"none\")return!1;a=S(a);retu"
|
| + "rn!a||c(a)}function d(a){var b=ta(a);if(b.height>0&&b.width>0)return!0;if"
|
| + "(a.innerText||a.textContent)if(ua.test(a.innerText||a.textContent))return"
|
| + "!0;return u&&E(a.childNodes,function(a){return Q(a)&&d(a)})}if(!Q(a))thro"
|
| + "w Error(\"Argument to isShown must be of type Element\");if(Q(a,\"TITLE\""
|
| + "))return(I(a)?I(a).parentWindow||I(a).defaultView:window)==ca;if(Q(a,\"OP"
|
| + "TION\")||Q(a,\"OPTGROUP\")){var e=ea(a,function(a){return Q(a,\"SELECT\")"
|
| + "});\nreturn!!e&&U(e,b)}if(Q(a,\"MAP\")){if(!a.name)return!1;e=I(a);e=e.ev"
|
| + "aluate?ga('/descendant::*[@usemap = \"#'+a.name+'\"]',e):da(e,function(b)"
|
| + "{return Q(b)&&R(b,\"usemap\")==\"#\"+a.name});return!!e&&U(e,b)}if(Q(a,\""
|
| + "AREA\"))return e=ea(a,function(a){return Q(a,\"MAP\")}),!!e&&U(e,b);if(Q("
|
| + "a,\"INPUT\")&&a.type.toLowerCase()==\"hidden\")return!1;if(T(a,\"visibili"
|
| + "ty\")==\"hidden\")return!1;if(!c(a))return!1;if(!b&&va(a)==0)return!1;if("
|
| + "!d(a))return!1;return!0}var ua=RegExp(\"^\"+(\"[\\\\s\\\\xa0\"+String.fro"
|
| + "mCharCode(160)+\"]+\")+\"$\");\nfunction va(a){var b=1,c=T(a,\"opacity\")"
|
| + ";c&&(b=Number(c));(a=S(a))&&(b*=va(a));return b};var wa=[\"dragstart\",\""
|
| + "dragexit\",\"mouseover\",\"mouseout\"];\nfunction V(a,b,c){var d=I(a),e=d"
|
| + "?d.parentWindow||d.defaultView:window,f=new G;if(a.nodeType==1)if(a.getBo"
|
| + "undingClientRect){var k=a.getBoundingClientRect();f.x=k.left;f.y=k.top}el"
|
| + "se{k=fa(a?new K(I(a)):F||(F=new K));var j,g=I(a);j=P(a,\"position\");var "
|
| + "h=new G(0,0),t=(g?g.nodeType==9?g:I(g):document).documentElement;if(a!=t)"
|
| + "if(a.getBoundingClientRect)j=a.getBoundingClientRect(),g=fa(g?new K(I(g))"
|
| + ":F||(F=new K)),h.x=j.left+g.x,h.y=j.top+g.y;else if(g.getBoxObjectFor)j=g"
|
| + ".getBoxObjectFor(a),g=g.getBoxObjectFor(t),\nh.x=j.screenX-g.screenX,h.y="
|
| + "j.screenY-g.screenY;else{var l=a;do{h.x+=l.offsetLeft;h.y+=l.offsetTop;l!"
|
| + "=a&&(h.x+=l.clientLeft||0,h.y+=l.clientTop||0);if(u&&P(l,\"position\")=="
|
| + "\"fixed\"){h.x+=g.body.scrollLeft;h.y+=g.body.scrollTop;break}l=l.offsetP"
|
| + "arent}while(l&&l!=a);u&&j==\"absolute\"&&(h.y-=g.body.offsetTop);for(l=a;"
|
| + "(l=ja(l))&&l!=g.body&&l!=t;)h.x-=l.scrollLeft,h.y-=l.scrollTop}f.x=h.x-k."
|
| + "x;f.y=h.y-k.y}else k=q(a.e),h=a,a.targetTouches?h=a.targetTouches[0]:k&&a"
|
| + ".e().targetTouches&&(h=a.e().targetTouches[0]),\nf.x=h.clientX,f.y=h.clie"
|
| + "ntY;var o=c||{},c=(o.x||0)+f.x,f=(o.y||0)+f.y,k=o.button||0,h=o.bubble||!"
|
| + "0;j=m;D(wa,b)>=0&&(j=o.related||m);g=!!o.alt;t=!!o.control;l=!!o.shift;o="
|
| + "!!o.meta;a.fireEvent&&d&&d.createEventObject?(a=d.createEventObject(),a.a"
|
| + "ltKey=g,a.j=t,a.metaKey=o,a.shiftKey=l,a.clientX=c,a.clientY=f,a.button=k"
|
| + ",a.relatedTarget=j):(a=d.createEvent(\"MouseEvents\"),a.initMouseEvent?a."
|
| + "initMouseEvent(b,h,!0,e,1,0,0,c,f,t,g,l,o,k,j):(a.initEvent(b,h,!0),a.shi"
|
| + "ftKey=l,a.metaKey=o,a.altKey=g,a.ctrlKey=\nt,a.button=k));return a}functi"
|
| + "on W(a,b,c){var d=c||{},c=d.keyCode||0,e=d.charCode||0,f=!!d.alt,k=!!d.ct"
|
| + "rl,j=!!d.shift,d=!!d.meta,a=I(a).createEvent(\"Events\");a.initEvent(b,!0"
|
| + ",!0);a.charCode=e;a.keyCode=c;a.altKey=f;a.ctrlKey=k;a.metaKey=d;a.shiftK"
|
| + "ey=j;return a}\nfunction xa(a,b,c){var d=I(a),e=c||{},c=e.bubble!==!1,f=!"
|
| + "!e.alt,k=!!e.control,j=!!e.shift,e=!!e.meta;a.fireEvent&&d&&d.createEvent"
|
| + "Object?(a=d.createEventObject(),a.altKey=f,a.k=k,a.metaKey=e,a.shiftKey=j"
|
| + "):(a=d.createEvent(\"HTMLEvents\"),a.initEvent(b,c,!0),a.shiftKey=j,a.met"
|
| + "aKey=e,a.altKey=f,a.ctrlKey=k);return a}var X={};X.click=V;X.keydown=W;X."
|
| + "keypress=W;X.keyup=W;X.mousedown=V;X.mousemove=V;X.mouseout=V;X.mouseover"
|
| + "=V;X.mouseup=V;function ya(a){if(!U(a,!0))throw new x(11,\"Element is not"
|
| + " currently visible and may not be manipulated\");};function za(a){var b;Q"
|
| + "(a,\"TEXTAREA\")?b=!0:Q(a,\"INPUT\")?(b=a.type.toLowerCase(),b=b==\"text"
|
| + "\"||b==\"password\"||b==\"email\"||b==\"search\"):b=!1;if(b){if(ma(a,\"re"
|
| + "adOnly\"))throw new x(12,\"Element is readonly and may not be cleared.\")"
|
| + ";if(a.value!=\"\"){ya(a);if(!ra(a))throw new x(12,\"Element is not curren"
|
| + "tly enabled and may not be manipulated\");if(la(a))b=I(a).activeElement,y"
|
| + "a(a),a!=b&&(b&&q(b.blur)&&b.blur(),q(a.focus)&&a.focus());a.value=\"\";b="
|
| + "(X.change||xa)(a,\"change\",i);if(!(\"isTrusted\"in b))b.l=!1;a.dispatchE"
|
| + "vent(b)}}}\nvar Y=\"_\".split(\".\"),Z=n;!(Y[0]in Z)&&Z.execScript&&Z.exe"
|
| + "cScript(\"var \"+Y[0]);for(var $;Y.length&&($=Y.shift());)!Y.length&&za!="
|
| + "=i?Z[$]=za:Z=Z[$]?Z[$]:Z[$]={};; return this._.apply(null,arguments);}.ap"
|
| + "ply({navigator:typeof window!='undefined'?window.navigator:null}, argumen"
|
| + "ts);}";
|
|
|
| const char* const EXECUTE_SCRIPT =
|
| "function(){return function(){var i=void 0,l=null,n,p=this;function q(){}"
|
| @@ -344,80 +366,80 @@ const char* const EXECUTE_SCRIPT =
|
| "){return a[ca]||(a[ca]=++da)}var ca=\"closure_uid_\"+Math.floor(Math.rand"
|
| "om()*2147483648).toString(36),da=0,ea=Date.now||function(){return+new Dat"
|
| "e};\nfunction v(a,b){function c(){}c.prototype=b.prototype;a.u=b.prototyp"
|
| - "e;a.prototype=new c};var fa=window;function w(a){this.stack=Error().stack"
|
| - "||\"\";if(a)this.message=String(a)}v(w,Error);w.prototype.name=\"CustomEr"
|
| - "ror\";function ga(a,b){var c={},e;for(e in a)b.call(i,a[e],e,a)&&(c[e]=a["
|
| - "e]);return c}function ha(a,b){var c={},e;for(e in a)c[e]=b.call(i,a[e],e,"
|
| - "a);return c}function ia(a,b){for(var c in a)if(b.call(i,a[c],c,a))return "
|
| - "c};function x(a,b){w.call(this,b);this.code=a;this.name=y[a]||y[13]}v(x,w"
|
| - ");var y,ja={NoSuchElementError:7,NoSuchFrameError:8,UnknownCommandError:9"
|
| - ",StaleElementReferenceError:10,ElementNotVisibleError:11,InvalidElementSt"
|
| - "ateError:12,UnknownError:13,ElementNotSelectableError:15,XPathLookupError"
|
| - ":19,NoSuchWindowError:23,InvalidCookieDomainError:24,UnableToSetCookieErr"
|
| - "or:25,ModalDialogOpenedError:26,ModalDialogOpenError:27,ScriptTimeoutErro"
|
| - "r:28},ka={},z;for(z in ja)ka[ja[z]]=z;y=ka;\nx.prototype.toString=functio"
|
| - "n(){return\"[\"+this.name+\"] \"+this.message};function la(a){for(var b=1"
|
| - ";b<arguments.length;b++)var c=String(arguments[b]).replace(/\\$/g,\"$$$$"
|
| - "\"),a=a.replace(/\\%s/,c);return a}\nfunction ma(){for(var a=0,b=String(n"
|
| - "a).replace(/^[\\s\\xa0]+|[\\s\\xa0]+$/g,\"\").split(\".\"),c=String(\"5.7"
|
| - "\").replace(/^[\\s\\xa0]+|[\\s\\xa0]+$/g,\"\").split(\".\"),e=Math.max(b."
|
| - "length,c.length),f=0;a==0&&f<e;f++){var d=b[f]||\"\",h=c[f]||\"\",j=RegEx"
|
| - "p(\"(\\\\d*)(\\\\D*)\",\"g\"),k=RegExp(\"(\\\\d*)(\\\\D*)\",\"g\");do{var"
|
| - " g=j.exec(d)||[\"\",\"\",\"\"],o=k.exec(h)||[\"\",\"\",\"\"];if(g[0].leng"
|
| - "th==0&&o[0].length==0)break;a=A(g[1].length==0?0:parseInt(g[1],10),o[1].l"
|
| - "ength==0?0:parseInt(o[1],10))||A(g[2].length==0,o[2].length==0)||A(g[2],o"
|
| - "[2])}while(a==\n0)}return a}function A(a,b){if(a<b)return-1;else if(a>b)r"
|
| - "eturn 1;return 0};function B(a,b){b.unshift(a);w.call(this,la.apply(l,b))"
|
| - ";b.shift();this.B=a}v(B,w);B.prototype.name=\"AssertionError\";function o"
|
| - "a(a,b){if(!a){var c=Array.prototype.slice.call(arguments,2),e=\"Assertion"
|
| - " failed\";if(b){e+=\": \"+b;var f=c}throw new B(\"\"+e,f||[]);}};var pa=A"
|
| - "rray.prototype;function qa(a,b){if(t(a)){if(!t(b)||b.length!=1)return-1;r"
|
| - "eturn a.indexOf(b,0)}for(var c=0;c<a.length;c++)if(c in a&&a[c]===b)retur"
|
| - "n c;return-1}function C(a,b){for(var c=a.length,e=Array(c),f=t(a)?a.split"
|
| - "(\"\"):a,d=0;d<c;d++)d in f&&(e[d]=b.call(i,f[d],d,a));return e};var ra=p"
|
| - ".navigator,sa=(ra&&ra.platform||\"\").indexOf(\"Mac\")!=-1;var D;function"
|
| - " E(){ta&&(F[u(this)]=this)}var ta=!1,F={};E.prototype.o=!1;E.prototype.g="
|
| - "function(){if(!this.o&&(this.o=!0,this.d(),ta)){var a=u(this);if(!F.hasOw"
|
| - "nProperty(a))throw Error(this+\" did not call the goog.Disposable base co"
|
| - "nstructor or was disposed of after a clearUndisposedObjects call\");delet"
|
| - "e F[a]}};E.prototype.d=function(){};function G(a,b){E.call(this);this.typ"
|
| - "e=a;this.currentTarget=this.target=b}v(G,E);G.prototype.d=function(){dele"
|
| - "te this.type;delete this.target;delete this.currentTarget};G.prototype.l="
|
| - "!1;G.prototype.z=!0;function H(a,b){a&&this.i(a,b)}v(H,G);n=H.prototype;n"
|
| - ".target=l;n.relatedTarget=l;n.offsetX=0;n.offsetY=0;n.clientX=0;n.clientY"
|
| - "=0;n.screenX=0;n.screenY=0;n.button=0;n.keyCode=0;n.charCode=0;n.ctrlKey="
|
| - "!1;n.altKey=!1;n.shiftKey=!1;n.metaKey=!1;n.w=!1;n.p=l;\nn.i=function(a,b"
|
| - "){var c=this.type=a.type;G.call(this,c);this.target=a.target||a.srcElemen"
|
| - "t;this.currentTarget=b;var e=a.relatedTarget;if(!e)if(c==\"mouseover\")e="
|
| - "a.fromElement;else if(c==\"mouseout\")e=a.toElement;this.relatedTarget=e;"
|
| - "this.offsetX=a.offsetX!==i?a.offsetX:a.layerX;this.offsetY=a.offsetY!==i?"
|
| - "a.offsetY:a.layerY;this.clientX=a.clientX!==i?a.clientX:a.pageX;this.clie"
|
| - "ntY=a.clientY!==i?a.clientY:a.pageY;this.screenX=a.screenX||0;this.screen"
|
| - "Y=a.screenY||0;this.button=a.button;this.keyCode=a.keyCode||\n0;this.char"
|
| - "Code=a.charCode||(c==\"keypress\"?a.keyCode:0);this.ctrlKey=a.ctrlKey;thi"
|
| - "s.altKey=a.altKey;this.shiftKey=a.shiftKey;this.metaKey=a.metaKey;this.w="
|
| - "sa?a.metaKey:a.ctrlKey;this.state=a.state;this.p=a;delete this.z;delete t"
|
| - "his.l};n.d=function(){H.u.d.call(this);this.relatedTarget=this.currentTar"
|
| - "get=this.target=this.p=l};function ua(){}var va=0;n=ua.prototype;n.key=0;"
|
| - "n.f=!1;n.m=!1;n.i=function(a,b,c,e,f,d){if(r(a)==\"function\")this.q=!0;e"
|
| - "lse if(a&&a.handleEvent&&r(a.handleEvent)==\"function\")this.q=!1;else th"
|
| - "row Error(\"Invalid listener argument\");this.j=a;this.t=b;this.src=c;thi"
|
| - "s.type=e;this.capture=!!f;this.v=d;this.m=!1;this.key=++va;this.f=!1};n.h"
|
| - "andleEvent=function(a){if(this.q)return this.j.call(this.v||this.src,a);r"
|
| - "eturn this.j.handleEvent.call(this.j,a)};function I(a,b){E.call(this);thi"
|
| - "s.r=b;this.b=[];if(a>this.r)throw Error(\"[goog.structs.SimplePool] Initi"
|
| - "al cannot be greater than max\");for(var c=0;c<a;c++)this.b.push(this.a?t"
|
| - "his.a():{})}v(I,E);I.prototype.a=l;I.prototype.n=l;I.prototype.getObject="
|
| - "function(){if(this.b.length)return this.b.pop();return this.a?this.a():{}"
|
| - "};function K(a,b){a.b.length<a.r?a.b.push(b):wa(a,b)}function wa(a,b){if("
|
| - "a.n)a.n(b);else if(ba(b))if(r(b.g)==\"function\")b.g();else for(var c in "
|
| - "b)delete b[c]}\nI.prototype.d=function(){I.u.d.call(this);for(var a=this."
|
| - "b;a.length;)wa(this,a.pop());delete this.b};var xa,na=(xa=\"ScriptEngine"
|
| + "e;a.prototype=new c};function fa(a){for(var b=1;b<arguments.length;b++)va"
|
| + "r c=String(arguments[b]).replace(/\\$/g,\"$$$$\"),a=a.replace(/\\%s/,c);r"
|
| + "eturn a}\nfunction ga(){for(var a=0,b=String(ha).replace(/^[\\s\\xa0]+|["
|
| + "\\s\\xa0]+$/g,\"\").split(\".\"),c=String(\"5.7\").replace(/^[\\s\\xa0]+|"
|
| + "[\\s\\xa0]+$/g,\"\").split(\".\"),e=Math.max(b.length,c.length),f=0;a==0&"
|
| + "&f<e;f++){var d=b[f]||\"\",h=c[f]||\"\",j=RegExp(\"(\\\\d*)(\\\\D*)\",\"g"
|
| + "\"),k=RegExp(\"(\\\\d*)(\\\\D*)\",\"g\");do{var g=j.exec(d)||[\"\",\"\","
|
| + "\"\"],o=k.exec(h)||[\"\",\"\",\"\"];if(g[0].length==0&&o[0].length==0)bre"
|
| + "ak;a=w(g[1].length==0?0:parseInt(g[1],10),o[1].length==0?0:parseInt(o[1],"
|
| + "10))||w(g[2].length==0,o[2].length==0)||w(g[2],o[2])}while(a==\n0)}return"
|
| + " a}function w(a,b){if(a<b)return-1;else if(a>b)return 1;return 0};var ia="
|
| + "p.navigator,ja=(ia&&ia.platform||\"\").indexOf(\"Mac\")!=-1;var ka=window"
|
| + ";function x(a){this.stack=Error().stack||\"\";if(a)this.message=String(a)"
|
| + "}v(x,Error);x.prototype.name=\"CustomError\";function la(a,b){var c={},e;"
|
| + "for(e in a)b.call(i,a[e],e,a)&&(c[e]=a[e]);return c}function ma(a,b){var "
|
| + "c={},e;for(e in a)c[e]=b.call(i,a[e],e,a);return c}function na(a,b){for(v"
|
| + "ar c in a)if(b.call(i,a[c],c,a))return c};function y(a,b){x.call(this,b);"
|
| + "this.code=a;this.name=z[a]||z[13]}v(y,x);var z,oa={NoSuchElementError:7,N"
|
| + "oSuchFrameError:8,UnknownCommandError:9,StaleElementReferenceError:10,Ele"
|
| + "mentNotVisibleError:11,InvalidElementStateError:12,UnknownError:13,Elemen"
|
| + "tNotSelectableError:15,XPathLookupError:19,NoSuchWindowError:23,InvalidCo"
|
| + "okieDomainError:24,UnableToSetCookieError:25,ModalDialogOpenedError:26,Mo"
|
| + "dalDialogOpenError:27,ScriptTimeoutError:28},pa={},A;for(A in oa)pa[oa[A]"
|
| + "]=A;z=pa;\ny.prototype.toString=function(){return\"[\"+this.name+\"] \"+t"
|
| + "his.message};function B(a,b){b.unshift(a);x.call(this,fa.apply(l,b));b.sh"
|
| + "ift();this.B=a}v(B,x);B.prototype.name=\"AssertionError\";function qa(a,b"
|
| + "){if(!a){var c=Array.prototype.slice.call(arguments,2),e=\"Assertion fail"
|
| + "ed\";if(b){e+=\": \"+b;var f=c}throw new B(\"\"+e,f||[]);}};var ra=Array."
|
| + "prototype;function sa(a,b){if(t(a)){if(!t(b)||b.length!=1)return-1;return"
|
| + " a.indexOf(b,0)}for(var c=0;c<a.length;c++)if(c in a&&a[c]===b)return c;r"
|
| + "eturn-1}function C(a,b){for(var c=a.length,e=Array(c),f=t(a)?a.split(\"\""
|
| + "):a,d=0;d<c;d++)d in f&&(e[d]=b.call(i,f[d],d,a));return e};var D;functio"
|
| + "n E(){ta&&(F[u(this)]=this)}var ta=!1,F={};E.prototype.o=!1;E.prototype.g"
|
| + "=function(){if(!this.o&&(this.o=!0,this.d(),ta)){var a=u(this);if(!F.hasO"
|
| + "wnProperty(a))throw Error(this+\" did not call the goog.Disposable base c"
|
| + "onstructor or was disposed of after a clearUndisposedObjects call\");dele"
|
| + "te F[a]}};E.prototype.d=function(){};function G(a,b){E.call(this);this.ty"
|
| + "pe=a;this.currentTarget=this.target=b}v(G,E);G.prototype.d=function(){del"
|
| + "ete this.type;delete this.target;delete this.currentTarget};G.prototype.l"
|
| + "=!1;G.prototype.z=!0;function H(a,b){a&&this.i(a,b)}v(H,G);n=H.prototype;"
|
| + "n.target=l;n.relatedTarget=l;n.offsetX=0;n.offsetY=0;n.clientX=0;n.client"
|
| + "Y=0;n.screenX=0;n.screenY=0;n.button=0;n.keyCode=0;n.charCode=0;n.ctrlKey"
|
| + "=!1;n.altKey=!1;n.shiftKey=!1;n.metaKey=!1;n.w=!1;n.p=l;\nn.i=function(a,"
|
| + "b){var c=this.type=a.type;G.call(this,c);this.target=a.target||a.srcEleme"
|
| + "nt;this.currentTarget=b;var e=a.relatedTarget;if(!e)if(c==\"mouseover\")e"
|
| + "=a.fromElement;else if(c==\"mouseout\")e=a.toElement;this.relatedTarget=e"
|
| + ";this.offsetX=a.offsetX!==i?a.offsetX:a.layerX;this.offsetY=a.offsetY!==i"
|
| + "?a.offsetY:a.layerY;this.clientX=a.clientX!==i?a.clientX:a.pageX;this.cli"
|
| + "entY=a.clientY!==i?a.clientY:a.pageY;this.screenX=a.screenX||0;this.scree"
|
| + "nY=a.screenY||0;this.button=a.button;this.keyCode=a.keyCode||\n0;this.cha"
|
| + "rCode=a.charCode||(c==\"keypress\"?a.keyCode:0);this.ctrlKey=a.ctrlKey;th"
|
| + "is.altKey=a.altKey;this.shiftKey=a.shiftKey;this.metaKey=a.metaKey;this.w"
|
| + "=ja?a.metaKey:a.ctrlKey;this.state=a.state;this.p=a;delete this.z;delete "
|
| + "this.l};n.d=function(){H.u.d.call(this);this.relatedTarget=this.currentTa"
|
| + "rget=this.target=this.p=l};function ua(){}var va=0;n=ua.prototype;n.key=0"
|
| + ";n.f=!1;n.m=!1;n.i=function(a,b,c,e,f,d){if(r(a)==\"function\")this.q=!0;"
|
| + "else if(a&&a.handleEvent&&r(a.handleEvent)==\"function\")this.q=!1;else t"
|
| + "hrow Error(\"Invalid listener argument\");this.j=a;this.t=b;this.src=c;th"
|
| + "is.type=e;this.capture=!!f;this.v=d;this.m=!1;this.key=++va;this.f=!1};n."
|
| + "handleEvent=function(a){if(this.q)return this.j.call(this.v||this.src,a);"
|
| + "return this.j.handleEvent.call(this.j,a)};function I(a,b){E.call(this);th"
|
| + "is.r=b;this.b=[];if(a>this.r)throw Error(\"[goog.structs.SimplePool] Init"
|
| + "ial cannot be greater than max\");for(var c=0;c<a;c++)this.b.push(this.a?"
|
| + "this.a():{})}v(I,E);I.prototype.a=l;I.prototype.n=l;I.prototype.getObject"
|
| + "=function(){if(this.b.length)return this.b.pop();return this.a?this.a():{"
|
| + "}};function K(a,b){a.b.length<a.r?a.b.push(b):wa(a,b)}function wa(a,b){if"
|
| + "(a.n)a.n(b);else if(ba(b))if(r(b.g)==\"function\")b.g();else for(var c in"
|
| + " b)delete b[c]}\nI.prototype.d=function(){I.u.d.call(this);for(var a=this"
|
| + ".b;a.length;)wa(this,a.pop());delete this.b};var xa,ha=(xa=\"ScriptEngine"
|
| "\"in p&&p.ScriptEngine()==\"JScript\")?p.ScriptEngineMajorVersion()+\".\""
|
| "+p.ScriptEngineMinorVersion()+\".\"+p.ScriptEngineBuildVersion():\"0\";va"
|
| "r L,M,N,ya,O,P,Q,R;\n(function(){function a(){return{c:0,e:0}}function b("
|
| "){return[]}function c(){function a(b){return h.call(a.src,a.key,b)}return"
|
| - " a}function e(){return new ua}function f(){return new H}var d=xa&&!(ma()>"
|
| + " a}function e(){return new ua}function f(){return new H}var d=xa&&!(ga()>"
|
| "=0),h;ya=function(a){h=a};if(d){L=function(a){K(j,a)};M=function(){return"
|
| " k.getObject()};N=function(a){K(k,a)};O=function(){K(g,c())};P=function(a"
|
| "){K(o,a)};Q=function(){return m.getObject()};R=function(a){K(m,a)};var j="
|
| @@ -434,8 +456,8 @@ const char* const EXECUTE_SCRIPT =
|
| "a,b){var c=a.handleEvent(b);if(a.m){var e=a.key;if(S[e]){var f=S[e];if(!f"
|
| ".f){var d=f.src,h=f.type,j=f.t,k=f.capture;d.removeEventListener?(d==p||!"
|
| "d.A)&&d.removeEventListener(h,j,k):d.detachEvent&&d.detachEvent(Aa(h),j);"
|
| - "d=u(d);j=T[h][k][d];if(U[d]){var g=U[d],o=qa(g,f);o>=0&&(oa(g.length!=l),"
|
| - "pa.splice.call(g,o,1));g.length==0&&delete U[d]}f.f=!0;j.s=!0;za(h,k,d,j)"
|
| + "d=u(d);j=T[h][k][d];if(U[d]){var g=U[d],o=sa(g,f);o>=0&&(qa(g.length!=l),"
|
| + "ra.splice.call(g,o,1));g.length==0&&delete U[d]}f.f=!0;j.s=!0;za(h,k,d,j)"
|
| ";delete S[e]}}}return c}\nya(function(a,b){if(!S[a])return!0;var c=S[a],e"
|
| "=c.type,f=T;if(!(e in f))return!0;var f=f[e],d,h;D===i&&(D=!1);if(D){var "
|
| "j;if(!(j=b))a:{j=\"window.event\".split(\".\");for(var k=p;d=j.shift();)i"
|
| @@ -467,20 +489,20 @@ const char* const EXECUTE_SCRIPT =
|
| "\"number\":case \"boolean\":return a;case \"function\":return a.toString("
|
| ");case \"array\":return C(a,X);case \"object\":if(\"nodeType\"in a&&(a.no"
|
| "deType==1||a.nodeType==9)){var b={};b.ELEMENT=Ha(a);return b}if(\"documen"
|
| - "t\"in a)return b={},b.WINDOW=Ha(a),b;if(aa(a))return C(a,X);a=ga(a,functi"
|
| - "on(a,b){return typeof b==\"number\"||t(b)});return ha(a,X);default:return"
|
| + "t\"in a)return b={},b.WINDOW=Ha(a),b;if(aa(a))return C(a,X);a=la(a,functi"
|
| + "on(a,b){return typeof b==\"number\"||t(b)});return ma(a,X);default:return"
|
| " l}}\nfunction Ia(a,b){if(r(a)==\"array\")return C(a,function(a){return I"
|
| "a(a,b)});else if(ba(a)){if(\"ELEMENT\"in a)return Ja(a.ELEMENT,b);if(\"WI"
|
| - "NDOW\"in a)return Ja(a.WINDOW,b);return ha(a,function(a){return Ia(a,b)})"
|
| + "NDOW\"in a)return Ja(a.WINDOW,b);return ma(a,function(a){return Ia(a,b)})"
|
| "}return a}function Ka(a){var a=a||document,b=a.$wdc_;if(!b)b=a.$wdc_={},b"
|
| ".k=ea();if(!b.k)b.k=ea();return b}function Ha(a){var b=Ka(a.ownerDocument"
|
| - "),c=ia(b,function(b){return b==a});c||(c=\":wdc:\"+b.k++,b[c]=a);return c"
|
| + "),c=na(b,function(b){return b==a});c||(c=\":wdc:\"+b.k++,b[c]=a);return c"
|
| "}\nfunction Ja(a,b){var a=decodeURIComponent(a),c=b||document,e=Ka(c);if("
|
| - "!(a in e))throw new x(10,\"Element does not exist in cache\");var f=e[a];"
|
| - "if(\"document\"in f){if(f.closed)throw delete e[a],new x(23,\"Window has "
|
| + "!(a in e))throw new y(10,\"Element does not exist in cache\");var f=e[a];"
|
| + "if(\"document\"in f){if(f.closed)throw delete e[a],new y(23,\"Window has "
|
| "been closed.\");return f}for(var d=f;d;){if(d==c.documentElement)return f"
|
| - ";d=d.parentNode}delete e[a];throw new x(10,\"Element is no longer attache"
|
| - "d to the DOM\");};function La(a,b,c,e){var e=e||fa,f;try{var d=a,a=t(d)?n"
|
| + ";d=d.parentNode}delete e[a];throw new y(10,\"Element is no longer attache"
|
| + "d to the DOM\");};function La(a,b,c,e){var e=e||ka,f;try{var d=a,a=t(d)?n"
|
| "ew e.Function(d):e==window?d:new e.Function(\"return (\"+d+\").apply(null"
|
| ",arguments);\");var h=Ia(b,e.document),j=a.apply(l,h);f={status:0,value:X"
|
| "(j)}}catch(k){f={status:\"code\"in k?k.code:13,value:{message:k.message}}"
|
| @@ -509,129 +531,129 @@ const char* const EXECUTE_ASYNC_SCRIPT =
|
| ".slice.call(arguments,1);return function(){var c=Array.prototype.slice.ca"
|
| "ll(arguments);c.unshift.apply(c,b);return a.apply(this,c)}}var v=Date.now"
|
| "||function(){return+new Date};function x(a,b){function c(){}c.prototype=b"
|
| - ".prototype;a.v=b.prototype;a.prototype=new c};function y(a){this.stack=Er"
|
| - "ror().stack||\"\";if(a)this.message=String(a)}x(y,Error);y.prototype.name"
|
| - "=\"CustomError\";function fa(a,b){var c={},e;for(e in a)b.call(j,a[e],e,a"
|
| - ")&&(c[e]=a[e]);return c}function ga(a,b){var c={},e;for(e in a)c[e]=b.cal"
|
| - "l(j,a[e],e,a);return c}function ha(a,b){for(var c in a)if(b.call(j,a[c],c"
|
| - ",a))return c};var z=0;function A(a,b){y.call(this,b);this.code=a;this.nam"
|
| - "e=B[a]||B[13]}x(A,y);var B,ia={NoSuchElementError:7,NoSuchFrameError:8,Un"
|
| - "knownCommandError:9,StaleElementReferenceError:10,ElementNotVisibleError:"
|
| - "11,InvalidElementStateError:12,UnknownError:13,ElementNotSelectableError:"
|
| - "15,XPathLookupError:19,NoSuchWindowError:23,InvalidCookieDomainError:24,U"
|
| - "nableToSetCookieError:25,ModalDialogOpenedError:26,ModalDialogOpenError:2"
|
| - "7,ScriptTimeoutError:28},ja={},C;for(C in ia)ja[ia[C]]=C;B=ja;\nA.prototy"
|
| - "pe.toString=function(){return\"[\"+this.name+\"] \"+this.message};functio"
|
| - "n ka(a){for(var b=1;b<arguments.length;b++)var c=String(arguments[b]).rep"
|
| - "lace(/\\$/g,\"$$$$\"),a=a.replace(/\\%s/,c);return a}\nfunction la(){for("
|
| - "var a=0,b=String(ma).replace(/^[\\s\\xa0]+|[\\s\\xa0]+$/g,\"\").split(\"."
|
| - "\"),c=String(\"5.7\").replace(/^[\\s\\xa0]+|[\\s\\xa0]+$/g,\"\").split(\""
|
| - ".\"),e=Math.max(b.length,c.length),f=0;a==0&&f<e;f++){var d=b[f]||\"\",g="
|
| - "c[f]||\"\",h=RegExp(\"(\\\\d*)(\\\\D*)\",\"g\"),k=RegExp(\"(\\\\d*)(\\\\D"
|
| - "*)\",\"g\");do{var i=h.exec(d)||[\"\",\"\",\"\"],n=k.exec(g)||[\"\",\"\","
|
| - "\"\"];if(i[0].length==0&&n[0].length==0)break;a=D(i[1].length==0?0:parseI"
|
| - "nt(i[1],10),n[1].length==0?0:parseInt(n[1],10))||D(i[2].length==0,n[2].le"
|
| - "ngth==0)||D(i[2],n[2])}while(a==\n0)}return a}function D(a,b){if(a<b)retu"
|
| - "rn-1;else if(a>b)return 1;return 0};function E(a,b){b.unshift(a);y.call(t"
|
| - "his,ka.apply(m,b));b.shift();this.B=a}x(E,y);E.prototype.name=\"Assertion"
|
| - "Error\";function na(a,b){if(!a){var c=Array.prototype.slice.call(argument"
|
| - "s,2),e=\"Assertion failed\";if(b){e+=\": \"+b;var f=c}throw new E(\"\"+e,"
|
| - "f||[]);}};var oa=Array.prototype;function pa(a,b){if(s(a)){if(!s(b)||b.le"
|
| - "ngth!=1)return-1;return a.indexOf(b,0)}for(var c=0;c<a.length;c++)if(c in"
|
| - " a&&a[c]===b)return c;return-1}function F(a,b){for(var c=a.length,e=Array"
|
| - "(c),f=s(a)?a.split(\"\"):a,d=0;d<c;d++)d in f&&(e[d]=b.call(j,f[d],d,a));"
|
| - "return e};var qa=p.navigator,ra=(qa&&qa.platform||\"\").indexOf(\"Mac\")!"
|
| - "=-1;var G;function H(){sa&&(I[u(this)]=this)}var sa=!1,I={};H.prototype.o"
|
| - "=!1;H.prototype.g=function(){if(!this.o&&(this.o=!0,this.d(),sa)){var a=u"
|
| - "(this);if(!I.hasOwnProperty(a))throw Error(this+\" did not call the goog."
|
| - "Disposable base constructor or was disposed of after a clearUndisposedObj"
|
| - "ects call\");delete I[a]}};H.prototype.d=function(){};function J(a,b){H.c"
|
| - "all(this);this.type=a;this.currentTarget=this.target=b}x(J,H);J.prototype"
|
| - ".d=function(){delete this.type;delete this.target;delete this.currentTarg"
|
| - "et};J.prototype.l=!1;J.prototype.A=!0;function K(a,b){a&&this.h(a,b)}x(K,"
|
| - "J);o=K.prototype;o.target=m;o.relatedTarget=m;o.offsetX=0;o.offsetY=0;o.c"
|
| - "lientX=0;o.clientY=0;o.screenX=0;o.screenY=0;o.button=0;o.keyCode=0;o.cha"
|
| - "rCode=0;o.ctrlKey=!1;o.altKey=!1;o.shiftKey=!1;o.metaKey=!1;o.z=!1;o.p=m;"
|
| - "\no.h=function(a,b){var c=this.type=a.type;J.call(this,c);this.target=a.t"
|
| - "arget||a.srcElement;this.currentTarget=b;var e=a.relatedTarget;if(!e)if(c"
|
| - "==\"mouseover\")e=a.fromElement;else if(c==\"mouseout\")e=a.toElement;thi"
|
| - "s.relatedTarget=e;this.offsetX=a.offsetX!==j?a.offsetX:a.layerX;this.offs"
|
| - "etY=a.offsetY!==j?a.offsetY:a.layerY;this.clientX=a.clientX!==j?a.clientX"
|
| - ":a.pageX;this.clientY=a.clientY!==j?a.clientY:a.pageY;this.screenX=a.scre"
|
| - "enX||0;this.screenY=a.screenY||0;this.button=a.button;this.keyCode=a.keyC"
|
| - "ode||\n0;this.charCode=a.charCode||(c==\"keypress\"?a.keyCode:0);this.ctr"
|
| - "lKey=a.ctrlKey;this.altKey=a.altKey;this.shiftKey=a.shiftKey;this.metaKey"
|
| - "=a.metaKey;this.z=ra?a.metaKey:a.ctrlKey;this.state=a.state;this.p=a;dele"
|
| - "te this.A;delete this.l};o.d=function(){K.v.d.call(this);this.relatedTarg"
|
| - "et=this.currentTarget=this.target=this.p=m};function ta(){}var ua=0;o=ta."
|
| - "prototype;o.key=0;o.f=!1;o.m=!1;o.h=function(a,b,c,e,f,d){if(r(a)==\"func"
|
| - "tion\")this.r=!0;else if(a&&a.handleEvent&&r(a.handleEvent)==\"function\""
|
| - ")this.r=!1;else throw Error(\"Invalid listener argument\");this.i=a;this."
|
| - "u=b;this.src=c;this.type=e;this.capture=!!f;this.q=d;this.m=!1;this.key=+"
|
| - "+ua;this.f=!1};o.handleEvent=function(a){if(this.r)return this.i.call(thi"
|
| - "s.q||this.src,a);return this.i.handleEvent.call(this.i,a)};function L(a,b"
|
| - "){H.call(this);this.s=b;this.c=[];if(a>this.s)throw Error(\"[goog.structs"
|
| - ".SimplePool] Initial cannot be greater than max\");for(var c=0;c<a;c++)th"
|
| - "is.c.push(this.a?this.a():{})}x(L,H);L.prototype.a=m;L.prototype.n=m;L.pr"
|
| - "ototype.getObject=function(){if(this.c.length)return this.c.pop();return "
|
| - "this.a?this.a():{}};function M(a,b){a.c.length<a.s?a.c.push(b):va(a,b)}fu"
|
| - "nction va(a,b){if(a.n)a.n(b);else if(ba(b))if(r(b.g)==\"function\")b.g();"
|
| - "else for(var c in b)delete b[c]}\nL.prototype.d=function(){L.v.d.call(thi"
|
| - "s);for(var a=this.c;a.length;)va(this,a.pop());delete this.c};var wa,ma=("
|
| - "wa=\"ScriptEngine\"in p&&p.ScriptEngine()==\"JScript\")?p.ScriptEngineMaj"
|
| - "orVersion()+\".\"+p.ScriptEngineMinorVersion()+\".\"+p.ScriptEngineBuildV"
|
| - "ersion():\"0\";var N,O,P,Q,R,xa,S,T,ya,za,Aa;\n(function(){function a(){r"
|
| - "eturn{b:0,e:0}}function b(){return[]}function c(){function a(b){return g."
|
| - "call(a.src,a.key,b)}return a}function e(){return new ta}function f(){retu"
|
| - "rn new K}var d=wa&&!(la()>=0),g;xa=function(a){g=a};if(d){N=function(){re"
|
| - "turn h.getObject()};O=function(a){M(h,a)};P=function(){return k.getObject"
|
| - "()};Q=function(a){M(k,a)};R=function(){return i.getObject()};S=function()"
|
| - "{M(i,c())};T=function(){return n.getObject()};ya=function(a){M(n,a)};za=f"
|
| - "unction(){return l.getObject()};Aa=function(a){M(l,\na)};var h=new L(0,60"
|
| - "0);h.a=a;var k=new L(0,600);k.a=b;var i=new L(0,600);i.a=c;var n=new L(0,"
|
| - "600);n.a=e;var l=new L(0,600);l.a=f}else N=a,O=q,P=b,Q=q,R=c,S=q,T=e,ya=q"
|
| - ",za=f,Aa=q})();var U={},V={},W={},Ba={};\nfunction Ca(a,b,c,e,f){if(b)if("
|
| - "r(b)==\"array\"){for(var d=0;d<b.length;d++)Ca(a,b[d],c,e,f);return m}els"
|
| - "e{var e=!!e,g=V;b in g||(g[b]=N());g=g[b];e in g||(g[e]=N(),g.b++);var g="
|
| - "g[e],h=u(a),k;g.e++;if(g[h]){k=g[h];for(d=0;d<k.length;d++)if(g=k[d],g.i="
|
| - "=c&&g.q==f){if(g.f)break;return k[d].key}}else k=g[h]=P(),g.b++;d=R();d.s"
|
| - "rc=a;g=T();g.h(c,d,a,b,e,f);c=g.key;d.key=c;k.push(g);U[c]=g;W[h]||(W[h]="
|
| - "P());W[h].push(g);a.addEventListener?(a==p||!a.w)&&a.addEventListener(b,d"
|
| - ",e):a.attachEvent(Da(b),d);return c}else throw Error(\"Invalid event type"
|
| - "\");\n}function Ea(a){if(U[a]){var b=U[a];if(!b.f){var c=b.src,e=b.type,f"
|
| - "=b.u,d=b.capture;c.removeEventListener?(c==p||!c.w)&&c.removeEventListene"
|
| - "r(e,f,d):c.detachEvent&&c.detachEvent(Da(e),f);c=u(c);f=V[e][d][c];if(W[c"
|
| - "]){var g=W[c],h=pa(g,b);h>=0&&(na(g.length!=m),oa.splice.call(g,h,1));g.l"
|
| - "ength==0&&delete W[c]}b.f=!0;f.t=!0;Fa(e,d,c,f);delete U[a]}}}\nfunction "
|
| - "Fa(a,b,c,e){if(!e.j&&e.t){for(var f=0,d=0;f<e.length;f++)if(e[f].f){var g"
|
| - "=e[f].u;g.src=m;S(g);ya(e[f])}else f!=d&&(e[d]=e[f]),d++;e.length=d;e.t=!"
|
| - "1;d==0&&(Q(e),delete V[a][b][c],V[a][b].b--,V[a][b].b==0&&(O(V[a][b]),del"
|
| - "ete V[a][b],V[a].b--),V[a].b==0&&(O(V[a]),delete V[a]))}}function Da(a){i"
|
| - "f(a in Ba)return Ba[a];return Ba[a]=\"on\"+a}\nfunction Ga(a,b,c,e,f){var"
|
| - " d=1,b=u(b);if(a[b]){a.e--;a=a[b];a.j?a.j++:a.j=1;try{for(var g=a.length,"
|
| - "h=0;h<g;h++){var k=a[h];k&&!k.f&&(d&=Ha(k,f)!==!1)}}finally{a.j--,Fa(c,e,"
|
| - "b,a)}}return Boolean(d)}function Ha(a,b){var c=a.handleEvent(b);a.m&&Ea(a"
|
| - ".key);return c}\nxa(function(a,b){if(!U[a])return!0;var c=U[a],e=c.type,f"
|
| - "=V;if(!(e in f))return!0;var f=f[e],d,g;G===j&&(G=!1);if(G){var h;if(!(h="
|
| - "b))a:{h=\"window.event\".split(\".\");for(var k=p;d=h.shift();)if(k[d]!=m"
|
| - ")k=k[d];else{h=m;break a}h=k}d=h;h=!0 in f;k=!1 in f;if(h){if(d.keyCode<0"
|
| - "||d.returnValue!=j)return!0;a:{var i=!1;if(d.keyCode==0)try{d.keyCode=-1;"
|
| - "break a}catch(n){i=!0}if(i||d.returnValue==j)d.returnValue=!0}}i=za();i.h"
|
| - "(d,this);d=!0;try{if(h){for(var l=P(),w=i.currentTarget;w;w=w.parentNode)"
|
| - "l.push(w);g=\nf[!0];g.e=g.b;for(var t=l.length-1;!i.l&&t>=0&&g.e;t--)i.cu"
|
| - "rrentTarget=l[t],d&=Ga(g,l[t],e,!0,i);if(k){g=f[!1];g.e=g.b;for(t=0;!i.l&"
|
| - "&t<l.length&&g.e;t++)i.currentTarget=l[t],d&=Ga(g,l[t],e,!1,i)}}else d=Ha"
|
| - "(c,i)}finally{if(l)l.length=0,Q(l);i.g();Aa(i)}return d}e=new K(b,this);t"
|
| - "ry{d=Ha(c,e)}finally{e.g()}return d});function Ia(){}\nfunction Ja(a,b,c)"
|
| - "{switch(typeof b){case \"string\":Ka(b,c);break;case \"number\":c.push(is"
|
| - "Finite(b)&&!isNaN(b)?b:\"null\");break;case \"boolean\":c.push(b);break;c"
|
| - "ase \"undefined\":c.push(\"null\");break;case \"object\":if(b==m){c.push("
|
| - "\"null\");break}if(r(b)==\"array\"){var e=b.length;c.push(\"[\");for(var "
|
| - "f=\"\",d=0;d<e;d++)c.push(f),Ja(a,b[d],c),f=\",\";c.push(\"]\");break}c.p"
|
| - "ush(\"{\");e=\"\";for(f in b)Object.prototype.hasOwnProperty.call(b,f)&&("
|
| - "d=b[f],typeof d!=\"function\"&&(c.push(e),Ka(f,c),c.push(\":\"),Ja(a,d,c)"
|
| - ",e=\",\"));\nc.push(\"}\");break;case \"function\":break;default:throw Er"
|
| - "ror(\"Unknown type: \"+typeof b);}}var La={'\"':'\\\\\"',\"\\\\\":\""
|
| + ".prototype;a.v=b.prototype;a.prototype=new c};function fa(a){for(var b=1;"
|
| + "b<arguments.length;b++)var c=String(arguments[b]).replace(/\\$/g,\"$$$$\""
|
| + "),a=a.replace(/\\%s/,c);return a}\nfunction ga(){for(var a=0,b=String(ha)"
|
| + ".replace(/^[\\s\\xa0]+|[\\s\\xa0]+$/g,\"\").split(\".\"),c=String(\"5.7\""
|
| + ").replace(/^[\\s\\xa0]+|[\\s\\xa0]+$/g,\"\").split(\".\"),e=Math.max(b.le"
|
| + "ngth,c.length),f=0;a==0&&f<e;f++){var d=b[f]||\"\",g=c[f]||\"\",h=RegExp("
|
| + "\"(\\\\d*)(\\\\D*)\",\"g\"),k=RegExp(\"(\\\\d*)(\\\\D*)\",\"g\");do{var i"
|
| + "=h.exec(d)||[\"\",\"\",\"\"],n=k.exec(g)||[\"\",\"\",\"\"];if(i[0].length"
|
| + "==0&&n[0].length==0)break;a=y(i[1].length==0?0:parseInt(i[1],10),n[1].len"
|
| + "gth==0?0:parseInt(n[1],10))||y(i[2].length==0,n[2].length==0)||y(i[2],n[2"
|
| + "])}while(a==\n0)}return a}function y(a,b){if(a<b)return-1;else if(a>b)ret"
|
| + "urn 1;return 0};var ia=p.navigator,ja=(ia&&ia.platform||\"\").indexOf(\"M"
|
| + "ac\")!=-1;function z(a){this.stack=Error().stack||\"\";if(a)this.message="
|
| + "String(a)}x(z,Error);z.prototype.name=\"CustomError\";function ka(a,b){va"
|
| + "r c={},e;for(e in a)b.call(j,a[e],e,a)&&(c[e]=a[e]);return c}function la("
|
| + "a,b){var c={},e;for(e in a)c[e]=b.call(j,a[e],e,a);return c}function ma(a"
|
| + ",b){for(var c in a)if(b.call(j,a[c],c,a))return c};var A=0;function B(a,b"
|
| + "){z.call(this,b);this.code=a;this.name=C[a]||C[13]}x(B,z);var C,na={NoSuc"
|
| + "hElementError:7,NoSuchFrameError:8,UnknownCommandError:9,StaleElementRefe"
|
| + "renceError:10,ElementNotVisibleError:11,InvalidElementStateError:12,Unkno"
|
| + "wnError:13,ElementNotSelectableError:15,XPathLookupError:19,NoSuchWindowE"
|
| + "rror:23,InvalidCookieDomainError:24,UnableToSetCookieError:25,ModalDialog"
|
| + "OpenedError:26,ModalDialogOpenError:27,ScriptTimeoutError:28},oa={},D;for"
|
| + "(D in na)oa[na[D]]=D;C=oa;\nB.prototype.toString=function(){return\"[\"+t"
|
| + "his.name+\"] \"+this.message};function E(a,b){b.unshift(a);z.call(this,fa"
|
| + ".apply(m,b));b.shift();this.B=a}x(E,z);E.prototype.name=\"AssertionError"
|
| + "\";function pa(a,b){if(!a){var c=Array.prototype.slice.call(arguments,2),"
|
| + "e=\"Assertion failed\";if(b){e+=\": \"+b;var f=c}throw new E(\"\"+e,f||[]"
|
| + ");}};var qa=Array.prototype;function ra(a,b){if(s(a)){if(!s(b)||b.length!"
|
| + "=1)return-1;return a.indexOf(b,0)}for(var c=0;c<a.length;c++)if(c in a&&a"
|
| + "[c]===b)return c;return-1}function F(a,b){for(var c=a.length,e=Array(c),f"
|
| + "=s(a)?a.split(\"\"):a,d=0;d<c;d++)d in f&&(e[d]=b.call(j,f[d],d,a));retur"
|
| + "n e};var G;function H(){sa&&(I[u(this)]=this)}var sa=!1,I={};H.prototype."
|
| + "o=!1;H.prototype.g=function(){if(!this.o&&(this.o=!0,this.d(),sa)){var a="
|
| + "u(this);if(!I.hasOwnProperty(a))throw Error(this+\" did not call the goog"
|
| + ".Disposable base constructor or was disposed of after a clearUndisposedOb"
|
| + "jects call\");delete I[a]}};H.prototype.d=function(){};function J(a,b){H."
|
| + "call(this);this.type=a;this.currentTarget=this.target=b}x(J,H);J.prototyp"
|
| + "e.d=function(){delete this.type;delete this.target;delete this.currentTar"
|
| + "get};J.prototype.l=!1;J.prototype.A=!0;function K(a,b){a&&this.h(a,b)}x(K"
|
| + ",J);o=K.prototype;o.target=m;o.relatedTarget=m;o.offsetX=0;o.offsetY=0;o."
|
| + "clientX=0;o.clientY=0;o.screenX=0;o.screenY=0;o.button=0;o.keyCode=0;o.ch"
|
| + "arCode=0;o.ctrlKey=!1;o.altKey=!1;o.shiftKey=!1;o.metaKey=!1;o.z=!1;o.p=m"
|
| + ";\no.h=function(a,b){var c=this.type=a.type;J.call(this,c);this.target=a."
|
| + "target||a.srcElement;this.currentTarget=b;var e=a.relatedTarget;if(!e)if("
|
| + "c==\"mouseover\")e=a.fromElement;else if(c==\"mouseout\")e=a.toElement;th"
|
| + "is.relatedTarget=e;this.offsetX=a.offsetX!==j?a.offsetX:a.layerX;this.off"
|
| + "setY=a.offsetY!==j?a.offsetY:a.layerY;this.clientX=a.clientX!==j?a.client"
|
| + "X:a.pageX;this.clientY=a.clientY!==j?a.clientY:a.pageY;this.screenX=a.scr"
|
| + "eenX||0;this.screenY=a.screenY||0;this.button=a.button;this.keyCode=a.key"
|
| + "Code||\n0;this.charCode=a.charCode||(c==\"keypress\"?a.keyCode:0);this.ct"
|
| + "rlKey=a.ctrlKey;this.altKey=a.altKey;this.shiftKey=a.shiftKey;this.metaKe"
|
| + "y=a.metaKey;this.z=ja?a.metaKey:a.ctrlKey;this.state=a.state;this.p=a;del"
|
| + "ete this.A;delete this.l};o.d=function(){K.v.d.call(this);this.relatedTar"
|
| + "get=this.currentTarget=this.target=this.p=m};function ta(){}var ua=0;o=ta"
|
| + ".prototype;o.key=0;o.f=!1;o.m=!1;o.h=function(a,b,c,e,f,d){if(r(a)==\"fun"
|
| + "ction\")this.r=!0;else if(a&&a.handleEvent&&r(a.handleEvent)==\"function"
|
| + "\")this.r=!1;else throw Error(\"Invalid listener argument\");this.i=a;thi"
|
| + "s.u=b;this.src=c;this.type=e;this.capture=!!f;this.q=d;this.m=!1;this.key"
|
| + "=++ua;this.f=!1};o.handleEvent=function(a){if(this.r)return this.i.call(t"
|
| + "his.q||this.src,a);return this.i.handleEvent.call(this.i,a)};function L(a"
|
| + ",b){H.call(this);this.s=b;this.c=[];if(a>this.s)throw Error(\"[goog.struc"
|
| + "ts.SimplePool] Initial cannot be greater than max\");for(var c=0;c<a;c++)"
|
| + "this.c.push(this.a?this.a():{})}x(L,H);L.prototype.a=m;L.prototype.n=m;L."
|
| + "prototype.getObject=function(){if(this.c.length)return this.c.pop();retur"
|
| + "n this.a?this.a():{}};function M(a,b){a.c.length<a.s?a.c.push(b):va(a,b)}"
|
| + "function va(a,b){if(a.n)a.n(b);else if(ba(b))if(r(b.g)==\"function\")b.g("
|
| + ");else for(var c in b)delete b[c]}\nL.prototype.d=function(){L.v.d.call(t"
|
| + "his);for(var a=this.c;a.length;)va(this,a.pop());delete this.c};var wa,ha"
|
| + "=(wa=\"ScriptEngine\"in p&&p.ScriptEngine()==\"JScript\")?p.ScriptEngineM"
|
| + "ajorVersion()+\".\"+p.ScriptEngineMinorVersion()+\".\"+p.ScriptEngineBuil"
|
| + "dVersion():\"0\";var N,O,P,Q,R,xa,S,T,ya,za,Aa;\n(function(){function a()"
|
| + "{return{b:0,e:0}}function b(){return[]}function c(){function a(b){return "
|
| + "g.call(a.src,a.key,b)}return a}function e(){return new ta}function f(){re"
|
| + "turn new K}var d=wa&&!(ga()>=0),g;xa=function(a){g=a};if(d){N=function(){"
|
| + "return h.getObject()};O=function(a){M(h,a)};P=function(){return k.getObje"
|
| + "ct()};Q=function(a){M(k,a)};R=function(){return i.getObject()};S=function"
|
| + "(){M(i,c())};T=function(){return n.getObject()};ya=function(a){M(n,a)};za"
|
| + "=function(){return l.getObject()};Aa=function(a){M(l,\na)};var h=new L(0,"
|
| + "600);h.a=a;var k=new L(0,600);k.a=b;var i=new L(0,600);i.a=c;var n=new L("
|
| + "0,600);n.a=e;var l=new L(0,600);l.a=f}else N=a,O=q,P=b,Q=q,R=c,S=q,T=e,ya"
|
| + "=q,za=f,Aa=q})();var U={},V={},W={},Ba={};\nfunction Ca(a,b,c,e,f){if(b)i"
|
| + "f(r(b)==\"array\"){for(var d=0;d<b.length;d++)Ca(a,b[d],c,e,f);return m}e"
|
| + "lse{var e=!!e,g=V;b in g||(g[b]=N());g=g[b];e in g||(g[e]=N(),g.b++);var "
|
| + "g=g[e],h=u(a),k;g.e++;if(g[h]){k=g[h];for(d=0;d<k.length;d++)if(g=k[d],g."
|
| + "i==c&&g.q==f){if(g.f)break;return k[d].key}}else k=g[h]=P(),g.b++;d=R();d"
|
| + ".src=a;g=T();g.h(c,d,a,b,e,f);c=g.key;d.key=c;k.push(g);U[c]=g;W[h]||(W[h"
|
| + "]=P());W[h].push(g);a.addEventListener?(a==p||!a.w)&&a.addEventListener(b"
|
| + ",d,e):a.attachEvent(Da(b),d);return c}else throw Error(\"Invalid event ty"
|
| + "pe\");\n}function Ea(a){if(U[a]){var b=U[a];if(!b.f){var c=b.src,e=b.type"
|
| + ",f=b.u,d=b.capture;c.removeEventListener?(c==p||!c.w)&&c.removeEventListe"
|
| + "ner(e,f,d):c.detachEvent&&c.detachEvent(Da(e),f);c=u(c);f=V[e][d][c];if(W"
|
| + "[c]){var g=W[c],h=ra(g,b);h>=0&&(pa(g.length!=m),qa.splice.call(g,h,1));g"
|
| + ".length==0&&delete W[c]}b.f=!0;f.t=!0;Fa(e,d,c,f);delete U[a]}}}\nfunctio"
|
| + "n Fa(a,b,c,e){if(!e.j&&e.t){for(var f=0,d=0;f<e.length;f++)if(e[f].f){var"
|
| + " g=e[f].u;g.src=m;S(g);ya(e[f])}else f!=d&&(e[d]=e[f]),d++;e.length=d;e.t"
|
| + "=!1;d==0&&(Q(e),delete V[a][b][c],V[a][b].b--,V[a][b].b==0&&(O(V[a][b]),d"
|
| + "elete V[a][b],V[a].b--),V[a].b==0&&(O(V[a]),delete V[a]))}}function Da(a)"
|
| + "{if(a in Ba)return Ba[a];return Ba[a]=\"on\"+a}\nfunction Ga(a,b,c,e,f){v"
|
| + "ar d=1,b=u(b);if(a[b]){a.e--;a=a[b];a.j?a.j++:a.j=1;try{for(var g=a.lengt"
|
| + "h,h=0;h<g;h++){var k=a[h];k&&!k.f&&(d&=Ha(k,f)!==!1)}}finally{a.j--,Fa(c,"
|
| + "e,b,a)}}return Boolean(d)}function Ha(a,b){var c=a.handleEvent(b);a.m&&Ea"
|
| + "(a.key);return c}\nxa(function(a,b){if(!U[a])return!0;var c=U[a],e=c.type"
|
| + ",f=V;if(!(e in f))return!0;var f=f[e],d,g;G===j&&(G=!1);if(G){var h;if(!("
|
| + "h=b))a:{h=\"window.event\".split(\".\");for(var k=p;d=h.shift();)if(k[d]!"
|
| + "=m)k=k[d];else{h=m;break a}h=k}d=h;h=!0 in f;k=!1 in f;if(h){if(d.keyCode"
|
| + "<0||d.returnValue!=j)return!0;a:{var i=!1;if(d.keyCode==0)try{d.keyCode=-"
|
| + "1;break a}catch(n){i=!0}if(i||d.returnValue==j)d.returnValue=!0}}i=za();i"
|
| + ".h(d,this);d=!0;try{if(h){for(var l=P(),w=i.currentTarget;w;w=w.parentNod"
|
| + "e)l.push(w);g=\nf[!0];g.e=g.b;for(var t=l.length-1;!i.l&&t>=0&&g.e;t--)i."
|
| + "currentTarget=l[t],d&=Ga(g,l[t],e,!0,i);if(k){g=f[!1];g.e=g.b;for(t=0;!i."
|
| + "l&&t<l.length&&g.e;t++)i.currentTarget=l[t],d&=Ga(g,l[t],e,!1,i)}}else d="
|
| + "Ha(c,i)}finally{if(l)l.length=0,Q(l);i.g();Aa(i)}return d}e=new K(b,this)"
|
| + ";try{d=Ha(c,e)}finally{e.g()}return d});function Ia(){}\nfunction Ja(a,b,"
|
| + "c){switch(typeof b){case \"string\":Ka(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==m){c.pus"
|
| + "h(\"null\");break}if(r(b)==\"array\"){var e=b.length;c.push(\"[\");for(va"
|
| + "r f=\"\",d=0;d<e;d++)c.push(f),Ja(a,b[d],c),f=\",\";c.push(\"]\");break}c"
|
| + ".push(\"{\");e=\"\";for(f in b)Object.prototype.hasOwnProperty.call(b,f)&"
|
| + "&(d=b[f],typeof d!=\"function\"&&(c.push(e),Ka(f,c),c.push(\":\"),Ja(a,d,"
|
| + "c),e=\",\"));\nc.push(\"}\");break;case \"function\":break;default:throw "
|
| + "Error(\"Unknown type: \"+typeof b);}}var La={'\"':'\\\\\"',\"\\\\\":\""
|
| "\\\\\\\\\",\"/\":\"\\\\/\",\"\\u0008\":\"\\\\b\",\"\\u000c\":\"\\\\f\",\""
|
| "\\n\":\"\\\\n\",\"\\r\":\"\\\\r\",\"\\t\":\"\\\\t\",\"\\u000b\":\"\\\\u00"
|
| "0b\"},Ma=/\\uffff/.test(\"\\uffff\")?/[\\\\\\\"\\x00-\\x1f\\x7f-\\uffff]/"
|
| @@ -642,28 +664,28 @@ const char* const EXECUTE_ASYNC_SCRIPT =
|
| "\"number\":case \"boolean\":return a;case \"function\":return a.toString("
|
| ");case \"array\":return F(a,X);case \"object\":if(\"nodeType\"in a&&(a.no"
|
| "deType==1||a.nodeType==9)){var b={};b.ELEMENT=Na(a);return b}if(\"documen"
|
| - "t\"in a)return b={},b.WINDOW=Na(a),b;if(aa(a))return F(a,X);a=fa(a,functi"
|
| - "on(a,b){return typeof b==\"number\"||s(b)});return ga(a,X);default:return"
|
| + "t\"in a)return b={},b.WINDOW=Na(a),b;if(aa(a))return F(a,X);a=ka(a,functi"
|
| + "on(a,b){return typeof b==\"number\"||s(b)});return la(a,X);default:return"
|
| " m}}\nfunction Oa(a,b){if(r(a)==\"array\")return F(a,function(a){return O"
|
| "a(a,b)});else if(ba(a)){if(\"ELEMENT\"in a)return Pa(a.ELEMENT,b);if(\"WI"
|
| - "NDOW\"in a)return Pa(a.WINDOW,b);return ga(a,function(a){return Oa(a,b)})"
|
| + "NDOW\"in a)return Pa(a.WINDOW,b);return la(a,function(a){return Oa(a,b)})"
|
| "}return a}function Qa(a,b){if(s(a))return new b.Function(a);return b==win"
|
| "dow?a:new b.Function(\"return (\"+a+\").apply(null,arguments);\")}functio"
|
| "n Ra(a){var a=a||document,b=a.$wdc_;if(!b)b=a.$wdc_={},b.k=v();if(!b.k)b."
|
| - "k=v();return b}\nfunction Na(a){var b=Ra(a.ownerDocument),c=ha(b,function"
|
| + "k=v();return b}\nfunction Na(a){var b=Ra(a.ownerDocument),c=ma(b,function"
|
| "(b){return b==a});c||(c=\":wdc:\"+b.k++,b[c]=a);return c}function Pa(a,b)"
|
| "{var a=decodeURIComponent(a),c=b||document,e=Ra(c);if(!(a in e))throw new"
|
| - " A(10,\"Element does not exist in cache\");var f=e[a];if(\"document\"in f"
|
| - "){if(f.closed)throw delete e[a],new A(23,\"Window has been closed.\");ret"
|
| + " B(10,\"Element does not exist in cache\");var f=e[a];if(\"document\"in f"
|
| + "){if(f.closed)throw delete e[a],new B(23,\"Window has been closed.\");ret"
|
| "urn f}for(var d=f;d;){if(d==c.documentElement)return f;d=d.parentNode}del"
|
| - "ete e[a];throw new A(10,\"Element is no longer attached to the DOM\");};f"
|
| + "ete e[a];throw new B(10,\"Element is no longer attached to the DOM\");};f"
|
| "unction Sa(a,b,c,e,f,d){function g(a,b){if(!n){Ea(i);h.clearTimeout(k);if"
|
| - "(a!=z){var c=new A(a,b.message||b+\"\");c.stack=b.stack;b={status:\"code"
|
| - "\"in c?c.code:13,value:{message:c.message}}}else b={status:z,value:X(b)};"
|
| + "(a!=A){var c=new B(a,b.message||b+\"\");c.stack=b.stack;b={status:\"code"
|
| + "\"in c?c.code:13,value:{message:c.message}}}else b={status:A,value:X(b)};"
|
| "var c=e,d;f?(d=[],Ja(new Ia,b,d),d=d.join(\"\")):d=b;c(d);n=!0}}var h=d||"
|
| "window,k,i,n=!1,d=ea(g,13);if(h.closed)return d(\"Unable to execute scrip"
|
| "t; the target window is closed.\");a=Qa(a,h);b=Oa(b,h.document);b.push(ea"
|
| - "(g,z));i=Ca(h,\"unload\",function(){g(13,Error(\"Detected a page unload e"
|
| + "(g,A));i=Ca(h,\"unload\",function(){g(13,Error(\"Detected a page unload e"
|
| "vent; asynchronous script execution does not work across page loads.\"))}"
|
| ",\n!0);var l=v();try{a.apply(h,b),k=h.setTimeout(function(){g(28,Error(\""
|
| "Timed out waiting for asyncrhonous script result after \"+(v()-l)+\" ms\""
|
| @@ -685,172 +707,175 @@ const char* const FIND_ELEMENT =
|
| "propertyIsEnumerable(\"call\"))return\"function\"}else return\"null\";\ne"
|
| "lse if(b==\"function\"&&typeof a.call==\"undefined\")return\"object\";ret"
|
| "urn b}function n(a){return typeof a==\"string\"}function o(a,b){function "
|
| - "c(){}c.prototype=b.prototype;a.n=b.prototype;a.prototype=new c};var p=win"
|
| - "dow;function q(a){this.stack=Error().stack||\"\";if(a)this.message=String"
|
| - "(a)}o(q,Error);q.prototype.name=\"CustomError\";function r(a){var b=a.len"
|
| - "gth-1;return b>=0&&a.indexOf(\" \",b)==b}function aa(a){for(var b=1;b<arg"
|
| - "uments.length;b++)var c=String(arguments[b]).replace(/\\$/g,\"$$$$\"),a=a"
|
| - ".replace(/\\%s/,c);return a}function s(a){return a.replace(/^[\\s\\xa0]+|"
|
| - "[\\s\\xa0]+$/g,\"\")}function t(a,b){if(a<b)return-1;else if(a>b)return 1"
|
| - ";return 0}var u={};function ba(a){return u[a]||(u[a]=String(a).replace(/"
|
| - "\\-([a-z])/g,function(a,c){return c.toUpperCase()}))};function ca(a,b){b."
|
| - "unshift(a);q.call(this,aa.apply(k,b));b.shift();this.o=a}o(ca,q);ca.proto"
|
| - "type.name=\"AssertionError\";function v(a,b){if(n(a)){if(!n(b)||b.length!"
|
| - "=1)return-1;return a.indexOf(b,0)}for(var c=0;c<a.length;c++)if(c in a&&a"
|
| - "[c]===b)return c;return-1}function da(a,b){for(var c=a.length,d=n(a)?a.sp"
|
| - "lit(\"\"):a,e=0;e<c;e++)e in d&&b.call(i,d[e],e,a)}function w(a,b){for(va"
|
| - "r c=a.length,d=[],e=0,g=n(a)?a.split(\"\"):a,h=0;h<c;h++)if(h in g){var j"
|
| - "=g[h];b.call(i,j,h,a)&&(d[e++]=j)}return d}function ea(a,b){for(var c=a.l"
|
| - "ength,d=n(a)?a.split(\"\"):a,e=0;e<c;e++)if(e in d&&b.call(i,d[e],e,a))re"
|
| - "turn!0;return!1}\nfunction A(a,b){var c;a:{c=a.length;for(var d=n(a)?a.sp"
|
| - "lit(\"\"):a,e=0;e<c;e++)if(e in d&&b.call(i,d[e],e,a)){c=e;break a}c=-1}r"
|
| - "eturn c<0?k:n(a)?a.charAt(c):a[c]};var B=!0,fa,ga=\"\",C;B&&(C=/WebKit\\/"
|
| - "(\\S+)/);if(C)var ha=C.exec(l.navigator?l.navigator.userAgent:k),ga=ha?ha"
|
| - "[1]:\"\";fa=ga;var ia={};var ja;function D(a,b){this.width=a;this.height="
|
| - "b}D.prototype.toString=function(){return\"(\"+this.width+\" x \"+this.hei"
|
| - "ght+\")\"};function E(a){return a?new F(H(a)):ja||(ja=new F)}function I(a"
|
| - ",b){if(a.contains&&b.nodeType==1)return a==b||a.contains(b);if(typeof a.c"
|
| - "ompareDocumentPosition!=\"undefined\")return a==b||Boolean(a.compareDocum"
|
| - "entPosition(b)&16);for(;b&&a!=b;)b=b.parentNode;return b==a}function H(a)"
|
| - "{return a.nodeType==9?a:a.ownerDocument||a.document}function ka(a,b){var "
|
| - "c=[];return la(a,b,c,!0)?c[0]:i}\nfunction la(a,b,c,d){if(a!=k)for(var e="
|
| - "0,g;g=a.childNodes[e];e++){if(b(g)&&(c.push(g),d))return!0;if(la(g,b,c,d)"
|
| - ")return!0}return!1}function ma(a,b){for(var a=a.parentNode,c=0;a;){if(b(a"
|
| - "))return a;a=a.parentNode;c++}return k}function F(a){this.h=a||l.document"
|
| - "||document}\nfunction J(a,b,c,d){a=d||a.h;b=b&&b!=\"*\"?b.toUpperCase():"
|
| - "\"\";if(d=a.querySelectorAll)if(d=a.querySelector)if(!(d=!B))if(!(d=docum"
|
| - "ent.compatMode==\"CSS1Compat\"))if(!(d=ia[\"528\"])){for(var d=0,e=s(Stri"
|
| - "ng(fa)).split(\".\"),g=s(String(\"528\")).split(\".\"),h=Math.max(e.lengt"
|
| - "h,g.length),j=0;d==0&&j<h;j++){var x=e[j]||\"\",G=g[j]||\"\",va=RegExp(\""
|
| - "(\\\\d*)(\\\\D*)\",\"g\"),wa=RegExp(\"(\\\\d*)(\\\\D*)\",\"g\");do{var y="
|
| - "va.exec(x)||[\"\",\"\",\"\"],z=wa.exec(G)||[\"\",\"\",\"\"];if(y[0].lengt"
|
| - "h==0&&z[0].length==0)break;d=t(y[1].length==0?0:parseInt(y[1],\n10),z[1]."
|
| - "length==0?0:parseInt(z[1],10))||t(y[2].length==0,z[2].length==0)||t(y[2],"
|
| - "z[2])}while(d==0)}d=ia[\"528\"]=d>=0}if(d&&(b||c))c=a.querySelectorAll(b+"
|
| - "(c?\".\"+c:\"\"));else if(c&&a.getElementsByClassName)if(a=a.getElementsB"
|
| - "yClassName(c),b){d={};for(g=e=0;h=a[g];g++)b==h.nodeName&&(d[e++]=h);d.le"
|
| - "ngth=e;c=d}else c=a;else if(a=a.getElementsByTagName(b||\"*\"),c){d={};fo"
|
| - "r(g=e=0;h=a[g];g++)b=h.className,typeof b.split==\"function\"&&v(b.split("
|
| - "/\\s+/),c)>=0&&(d[e++]=h);d.length=e;c=d}else c=a;return c}\nF.prototype."
|
| - "contains=I;var K={g:function(a){return a.querySelectorAll&&a.querySelecto"
|
| - "r}};K.b=function(a,b){a||f(Error(\"No class name specified\"));a=s(a);a.s"
|
| - "plit(/\\s+/).length>1&&f(Error(\"Compound class names not permitted\"));i"
|
| - "f(K.g(b))return b.querySelector(\".\"+a.replace(/\\./g,\"\\\\.\"))||k;var"
|
| - " c=J(E(b),\"*\",a,b);return c.length?c[0]:k};\nK.e=function(a,b){a||f(Err"
|
| - "or(\"No class name specified\"));a=s(a);a.split(/\\s+/).length>1&&f(Error"
|
| - "(\"Compound class names not permitted\"));if(K.g(b))return b.querySelecto"
|
| - "rAll(\".\"+a.replace(/\\./g,\"\\\\.\"));return J(E(b),\"*\",a,b)};var L={"
|
| - "i:function(a,b,c){var d=H(a);if(!d.implementation.hasFeature(\"XPath\",\""
|
| - "3.0\"))return k;var e=d.createNSResolver(d.documentElement);return d.eval"
|
| - "uate(b,a,e,c,k)},b:function(a,b){var c=function(a,b){var c=H(a);if(a.sele"
|
| - "ctSingleNode)return c.setProperty&&c.setProperty(\"SelectionLanguage\",\""
|
| - "XPath\"),a.selectSingleNode(b);return(c=L.i(a,b,9))?c.singleNodeValue:k}("
|
| - "b,a);if(!c)return k;c.nodeType!=1&&f(Error(\"Returned node is not an elem"
|
| - "ent: \"+a));return c},e:function(a,b){var c=function(b,c){var g=H(b);\nif"
|
| - "(b.selectNodes)return g.setProperty&&g.setProperty(\"SelectionLanguage\","
|
| - "\"XPath\"),b.selectNodes(c);var g=[],h=L.i(b,c,7);if(h)for(var j=h.snapsh"
|
| - "otLength,x=0;x<j;++x){var G=h.snapshotItem(x);G.nodeType!=1&&f(Error(\"Re"
|
| - "turned nodes must be elements: \"+a));g.push(G)}return g}(b,a);da(c,funct"
|
| - "ion(b){b.nodeType!=1&&f(Error(\"Returned nodes must be elements: \"+a))})"
|
| - ";return c}};var M=\"StopIteration\"in l?l.StopIteration:Error(\"StopItera"
|
| - "tion\");function na(){}na.prototype.next=function(){f(M)};function N(a,b,"
|
| - "c,d,e){this.a=!!b;a&&O(this,a,d);this.f=e!=i?e:this.d||0;this.a&&(this.f*"
|
| - "=-1);this.m=!c}o(N,na);N.prototype.c=k;N.prototype.d=0;N.prototype.l=!1;f"
|
| - "unction O(a,b,c){if(a.c=b)a.d=typeof c==\"number\"?c:a.c.nodeType!=1?0:a."
|
| - "a?-1:1}\nN.prototype.next=function(){var a;if(this.l){(!this.c||this.m&&t"
|
| - "his.f==0)&&f(M);a=this.c;var b=this.a?-1:1;if(this.d==b){var c=this.a?a.l"
|
| - "astChild:a.firstChild;c?O(this,c):O(this,a,b*-1)}else(c=this.a?a.previous"
|
| - "Sibling:a.nextSibling)?O(this,c):O(this,a.parentNode,b*-1);this.f+=this.d"
|
| - "*(this.a?-1:1)}else this.l=!0;(a=this.c)||f(M);return a};\nN.prototype.sp"
|
| - "lice=function(){var a=this.c,b=this.a?1:-1;if(this.d==b)this.d=b*-1,this."
|
| - "f+=this.d*(this.a?-1:1);this.a=!this.a;N.prototype.next.call(this);this.a"
|
| - "=!this.a;for(var b=arguments[0],c=m(b),b=c==\"array\"||c==\"object\"&&typ"
|
| - "eof b.length==\"number\"?arguments[0]:arguments,c=b.length-1;c>=0;c--)a.p"
|
| - "arentNode&&a.parentNode.insertBefore(b[c],a.nextSibling);a&&a.parentNode&"
|
| - "&a.parentNode.removeChild(a)};function P(a,b,c,d){N.call(this,a,b,c,k,d)}"
|
| - "o(P,N);P.prototype.next=function(){do P.n.next.call(this);while(this.d==-"
|
| - "1);return this.c};function oa(a,b){var c=H(a);if(c.defaultView&&c.default"
|
| - "View.getComputedStyle&&(c=c.defaultView.getComputedStyle(a,k)))return c[b"
|
| - "]||c.getPropertyValue(b);return\"\"};function Q(a,b){return!!a&&a.nodeTyp"
|
| - "e==1&&(!b||a.tagName.toUpperCase()==b)}\nvar pa=[\"async\",\"autofocus\","
|
| - "\"autoplay\",\"checked\",\"compact\",\"complete\",\"controls\",\"declare"
|
| - "\",\"defaultchecked\",\"defaultselected\",\"defer\",\"disabled\",\"dragga"
|
| - "ble\",\"ended\",\"formnovalidate\",\"hidden\",\"indeterminate\",\"isconte"
|
| - "nteditable\",\"ismap\",\"itemscope\",\"loop\",\"multiple\",\"muted\",\"no"
|
| - "href\",\"noresize\",\"noshade\",\"novalidate\",\"nowrap\",\"open\",\"paus"
|
| - "ed\",\"pubdate\",\"readonly\",\"required\",\"reversed\",\"scoped\",\"seam"
|
| - "less\",\"seeking\",\"selected\",\"spellcheck\",\"truespeed\",\"willvalida"
|
| - "te\"];\nfunction R(a,b){if(8==a.nodeType)return k;b=b.toLowerCase();if(b="
|
| - "=\"style\"){var c=s(a.style.cssText).toLowerCase();return c.charAt(c.leng"
|
| - "th-1)==\";\"?c:c+\";\"}c=a.getAttributeNode(b);if(!c)return k;if(v(pa,b)>"
|
| - "=0)return\"true\";return c.specified?c.value:k}function S(a){for(a=a.pare"
|
| - "ntNode;a&&a.nodeType!=1&&a.nodeType!=9&&a.nodeType!=11;)a=a.parentNode;re"
|
| - "turn Q(a)?a:k}function T(a,b){b=ba(String(b));return oa(a,b)||qa(a,b)}\nf"
|
| - "unction qa(a,b){var c=(a.currentStyle||a.style)[b];if(c!=\"inherit\")retu"
|
| - "rn c!==i?c:k;return(c=S(a))?qa(c,b):k}\nfunction ra(a){if(m(a.getBBox)=="
|
| - "\"function\")return a.getBBox();var b;if((oa(a,\"display\")||(a.currentSt"
|
| - "yle?a.currentStyle.display:k)||a.style.display)!=\"none\")b=new D(a.offse"
|
| - "tWidth,a.offsetHeight);else{b=a.style;var c=b.display,d=b.visibility,e=b."
|
| - "position;b.visibility=\"hidden\";b.position=\"absolute\";b.display=\"inli"
|
| - "ne\";var g=a.offsetWidth,a=a.offsetHeight;b.display=c;b.position=e;b.visi"
|
| - "bility=d;b=new D(g,a)}return b}\nfunction U(a,b){function c(a){if(T(a,\"d"
|
| - "isplay\")==\"none\")return!1;a=S(a);return!a||c(a)}function d(a){var b=ra"
|
| - "(a);if(b.height>0&&b.width>0)return!0;if(a.innerText||a.textContent)if(V."
|
| - "test(a.innerText||a.textContent))return!0;return B&&ea(a.childNodes,funct"
|
| - "ion(a){return Q(a)&&d(a)})}Q(a)||f(Error(\"Argument to isShown must be of"
|
| - " type Element\"));if(Q(a,\"TITLE\"))return(H(a)?H(a).parentWindow||H(a).d"
|
| - "efaultView:window)==p;if(Q(a,\"OPTION\")||Q(a,\"OPTGROUP\")){var e=ma(a,f"
|
| - "unction(a){return Q(a,\"SELECT\")});return!!e&&\nU(e,b)}if(Q(a,\"MAP\")){"
|
| - "if(!a.name)return!1;e=H(a);e=e.evaluate?L.b('/descendant::*[@usemap = \"#"
|
| - "'+a.name+'\"]',e):ka(e,function(b){return Q(b)&&R(b,\"usemap\")==\"#\"+a."
|
| - "name});return!!e&&U(e,b)}if(Q(a,\"AREA\"))return e=ma(a,function(a){retur"
|
| - "n Q(a,\"MAP\")}),!!e&&U(e,b);if(Q(a,\"INPUT\")&&a.type.toLowerCase()==\"h"
|
| - "idden\")return!1;if(T(a,\"visibility\")==\"hidden\")return!1;if(!c(a))ret"
|
| - "urn!1;if(!b&&sa(a)==0)return!1;if(!d(a))return!1;return!0}\nfunction ta(a"
|
| - "){var b=[];ua(a,b);for(var c=b,a=c.length,b=Array(a),c=n(c)?c.split(\"\")"
|
| - ":c,d=0;d<a;d++)d in c&&(b[d]=s.call(i,c[d]));return s(b.join(\"\\n\"))}\n"
|
| - "function ua(a,b){if(Q(a,\"BR\"))b.push(\"\");else{var c=T(a,\"display\"),"
|
| - "d=!(v(xa,c)>=0);d&&b[b.length-1]&&!V.test(b[b.length-1])&&b.push(\"\");va"
|
| - "r e=U(a);if(e)var g=T(a,\"white-space\"),h=T(a,\"text-transform\");da(a.c"
|
| - "hildNodes,function(a){a.nodeType==3&&e?ya(a,b,g,h):Q(a)&&ua(a,b)});var j="
|
| - "b[b.length-1];c==\"table-cell\"&&j&&!r(j)&&(b[b.length-1]+=\" \");d&&j&&!"
|
| - "V.test(j)&&b.push(\"\")}}\nvar xa=[\"inline\",\"inline-block\",\"inline-t"
|
| - "able\",\"none\",\"table-cell\",\"table-column\",\"table-column-group\"],z"
|
| - "a=\"[\\\\s\\\\xa0\"+String.fromCharCode(160)+\"]+\",Aa=RegExp(za,\"g\"),V"
|
| - "=RegExp(\"^\"+za+\"$\");\nfunction ya(a,b,c,d){a=a.nodeValue.replace(/("
|
| - "\\r\\n|\\r|\\n)/g,\"\\n\");a=a.replace(/\\u200b/g,\"\");c==\"normal\"||c="
|
| - "=\"nowrap\"?a=a.replace(Aa,\" \"):c==\"pre-line\"&&(a=a.replace(/\\xa0|[ "
|
| - "\\t]+/g,\" \"));a=a.replace(/\\xa0|\\t/g,\" \");d==\"capitalize\"?a=a.rep"
|
| - "lace(/(^|\\s)(\\S)/g,function(a,b,c){return b+c.toUpperCase()}):d==\"uppe"
|
| - "rcase\"?a=a.toUpperCase():d==\"lowercase\"&&(a=a.toLowerCase());c=b.pop()"
|
| - "||\"\";r(c)&&a.lastIndexOf(\" \",0)==0&&(a=a.substr(1));b.push(c+a)}\nfun"
|
| - "ction sa(a){var b=1,c=T(a,\"opacity\");c&&(b=Number(c));(a=S(a))&&(b*=sa("
|
| - "a));return b};var W={},X={};W.k=function(a,b,c){b=J(E(b),\"A\",k,b);retur"
|
| - "n A(b,function(b){b=ta(b);return c&&b.indexOf(a)!=-1||b==a})};W.j=functio"
|
| - "n(a,b,c){b=J(E(b),\"A\",k,b);return w(b,function(b){b=ta(b);return c&&b.i"
|
| - "ndexOf(a)!=-1||b==a})};W.b=function(a,b){return W.k(a,b,!1)};W.e=function"
|
| - "(a,b){return W.j(a,b,!1)};X.b=function(a,b){return W.k(a,b,!0)};X.e=funct"
|
| - "ion(a,b){return W.j(a,b,!0)};var Ba={className:K,css:{b:function(a,b){a||"
|
| - "f(Error(\"No selector specified\"));a.split(/,/).length>1&&f(Error(\"Comp"
|
| - "ound selectors not permitted\"));var a=s(a),c=b.querySelector(a);return c"
|
| - "&&c.nodeType==1?c:k},e:function(a,b){a||f(Error(\"No selector specified\""
|
| - "));a.split(/,/).length>1&&f(Error(\"Compound selectors not permitted\"));"
|
| - "a=s(a);return b.querySelectorAll(a)}},id:{b:function(a,b){var c=E(b),d=n("
|
| - "a)?c.h.getElementById(a):a;if(!d)return k;if(R(d,\"id\")==a&&I(b,d))retur"
|
| - "n d;c=J(c,\"*\");return A(c,function(c){return R(c,\n\"id\")==a&&I(b,c)})"
|
| - "},e:function(a,b){var c=J(E(b),\"*\",k,b);return w(c,function(b){return R"
|
| - "(b,\"id\")==a})}},linkText:W,name:{b:function(a,b){var c=J(E(b),\"*\",k,b"
|
| - ");return A(c,function(b){return R(b,\"name\")==a})},e:function(a,b){var c"
|
| - "=J(E(b),\"*\",k,b);return w(c,function(b){return R(b,\"name\")==a})}},par"
|
| - "tialLinkText:X,tagName:{b:function(a,b){return b.getElementsByTagName(a)["
|
| - "0]||k},e:function(a,b){return b.getElementsByTagName(a)}},xpath:L};functi"
|
| - "on Ca(a,b){var c;a:{for(c in a)if(!Object.prototype[c])break a;c=k}if(c){"
|
| - "var d=Ba[c];if(d&&m(d.b)==\"function\")return d.b(a[c],b||p.document)}f(E"
|
| - "rror(\"Unsupported locator strategy: \"+c))}var Y=\"_\".split(\".\"),Z=l;"
|
| - "!(Y[0]in Z)&&Z.execScript&&Z.execScript(\"var \"+Y[0]);for(var $;Y.length"
|
| - "&&($=Y.shift());)!Y.length&&Ca!==i?Z[$]=Ca:Z=Z[$]?Z[$]:Z[$]={};; return t"
|
| - "his._.apply(null,arguments);}.apply({navigator:typeof window!='undefined'"
|
| - "?window.navigator:null}, arguments);}";
|
| + "c(){}c.prototype=b.prototype;a.p=b.prototype;a.prototype=new c};function "
|
| + "p(a){var b=a.length-1;return b>=0&&a.indexOf(\" \",b)==b}function aa(a){f"
|
| + "or(var b=1;b<arguments.length;b++)var c=String(arguments[b]).replace(/\\$"
|
| + "/g,\"$$$$\"),a=a.replace(/\\%s/,c);return a}function q(a){return a.replac"
|
| + "e(/^[\\s\\xa0]+|[\\s\\xa0]+$/g,\"\")}function r(a,b){if(a<b)return-1;else"
|
| + " if(a>b)return 1;return 0}var ba={};function ca(a){return ba[a]||(ba[a]=S"
|
| + "tring(a).replace(/\\-([a-z])/g,function(a,c){return c.toUpperCase()}))};v"
|
| + "ar s=!0,da,ea=\"\",t;s&&(t=/WebKit\\/(\\S+)/);if(t)var fa=t.exec(l.naviga"
|
| + "tor?l.navigator.userAgent:k),ea=fa?fa[1]:\"\";da=ea;var ga={};var u={},ha"
|
| + "=window;function v(a){this.stack=Error().stack||\"\";if(a)this.message=St"
|
| + "ring(a)}o(v,Error);v.prototype.name=\"CustomError\";function ia(a,b){b.un"
|
| + "shift(a);v.call(this,aa.apply(k,b));b.shift();this.q=a}o(ia,v);ia.prototy"
|
| + "pe.name=\"AssertionError\";function w(a,b){if(n(a)){if(!n(b)||b.length!=1"
|
| + ")return-1;return a.indexOf(b,0)}for(var c=0;c<a.length;c++)if(c in a&&a[c"
|
| + "]===b)return c;return-1}function ja(a,b){for(var c=a.length,d=n(a)?a.spli"
|
| + "t(\"\"):a,e=0;e<c;e++)e in d&&b.call(i,d[e],e,a)}function A(a,b){for(var "
|
| + "c=a.length,d=[],e=0,g=n(a)?a.split(\"\"):a,h=0;h<c;h++)if(h in g){var j=g"
|
| + "[h];b.call(i,j,h,a)&&(d[e++]=j)}return d}function ka(a,b){for(var c=a.len"
|
| + "gth,d=n(a)?a.split(\"\"):a,e=0;e<c;e++)if(e in d&&b.call(i,d[e],e,a))retu"
|
| + "rn!0;return!1}\nfunction B(a,b){var c;a:{c=a.length;for(var d=n(a)?a.spli"
|
| + "t(\"\"):a,e=0;e<c;e++)if(e in d&&b.call(i,d[e],e,a)){c=e;break a}c=-1}ret"
|
| + "urn c<0?k:n(a)?a.charAt(c):a[c]};var la;function C(a,b){this.width=a;this"
|
| + ".height=b}C.prototype.toString=function(){return\"(\"+this.width+\" x \"+"
|
| + "this.height+\")\"};function D(a){return a?new E(F(a)):la||(la=new E)}func"
|
| + "tion H(a,b){if(a.contains&&b.nodeType==1)return a==b||a.contains(b);if(ty"
|
| + "peof a.compareDocumentPosition!=\"undefined\")return a==b||Boolean(a.comp"
|
| + "areDocumentPosition(b)&16);for(;b&&a!=b;)b=b.parentNode;return b==a}funct"
|
| + "ion F(a){return a.nodeType==9?a:a.ownerDocument||a.document}function ma(a"
|
| + ",b){var c=[];return na(a,b,c,!0)?c[0]:i}\nfunction na(a,b,c,d){if(a!=k)fo"
|
| + "r(var e=0,g;g=a.childNodes[e];e++){if(b(g)&&(c.push(g),d))return!0;if(na("
|
| + "g,b,c,d))return!0}return!1}function oa(a,b){for(var a=a.parentNode,c=0;a;"
|
| + "){if(b(a))return a;a=a.parentNode;c++}return k}function E(a){this.j=a||l."
|
| + "document||document}\nfunction I(a,b,c,d){a=d||a.j;b=b&&b!=\"*\"?b.toUpper"
|
| + "Case():\"\";if(d=a.querySelectorAll)if(d=a.querySelector)if(!(d=!s))if(!("
|
| + "d=document.compatMode==\"CSS1Compat\"))if(!(d=ga[\"528\"])){for(var d=0,e"
|
| + "=q(String(da)).split(\".\"),g=q(String(\"528\")).split(\".\"),h=Math.max("
|
| + "e.length,g.length),j=0;d==0&&j<h;j++){var U=e[j]||\"\",x=g[j]||\"\",G=Reg"
|
| + "Exp(\"(\\\\d*)(\\\\D*)\",\"g\"),xa=RegExp(\"(\\\\d*)(\\\\D*)\",\"g\");do{"
|
| + "var y=G.exec(U)||[\"\",\"\",\"\"],z=xa.exec(x)||[\"\",\"\",\"\"];if(y[0]."
|
| + "length==0&&z[0].length==0)break;d=r(y[1].length==0?0:parseInt(y[1],\n10),"
|
| + "z[1].length==0?0:parseInt(z[1],10))||r(y[2].length==0,z[2].length==0)||r("
|
| + "y[2],z[2])}while(d==0)}d=ga[\"528\"]=d>=0}if(d&&(b||c))c=a.querySelectorA"
|
| + "ll(b+(c?\".\"+c:\"\"));else if(c&&a.getElementsByClassName)if(a=a.getElem"
|
| + "entsByClassName(c),b){d={};for(g=e=0;h=a[g];g++)b==h.nodeName&&(d[e++]=h)"
|
| + ";d.length=e;c=d}else c=a;else if(a=a.getElementsByTagName(b||\"*\"),c){d="
|
| + "{};for(g=e=0;h=a[g];g++)b=h.className,typeof b.split==\"function\"&&w(b.s"
|
| + "plit(/\\s+/),c)>=0&&(d[e++]=h);d.length=e;c=d}else c=a;return c}\nE.proto"
|
| + "type.contains=H;var J={i:function(a){return a.querySelectorAll&&a.querySe"
|
| + "lector}};J.b=function(a,b){a||f(Error(\"No class name specified\"));a=q(a"
|
| + ");a.split(/\\s+/).length>1&&f(Error(\"Compound class names not permitted"
|
| + "\"));if(J.i(b))return b.querySelector(\".\"+a.replace(/\\./g,\"\\\\.\"))|"
|
| + "|k;var c=I(D(b),\"*\",a,b);return c.length?c[0]:k};\nJ.e=function(a,b){a|"
|
| + "|f(Error(\"No class name specified\"));a=q(a);a.split(/\\s+/).length>1&&f"
|
| + "(Error(\"Compound class names not permitted\"));if(J.i(b))return b.queryS"
|
| + "electorAll(\".\"+a.replace(/\\./g,\"\\\\.\"));return I(D(b),\"*\",a,b)};v"
|
| + "ar K={k:function(a,b,c){var d=F(a);if(!d.implementation.hasFeature(\"XPat"
|
| + "h\",\"3.0\"))return k;var e=d.createNSResolver(d.documentElement);return "
|
| + "d.evaluate(b,a,e,c,k)},b:function(a,b){var c=function(b,c){var g=F(b);if("
|
| + "b.selectSingleNode)return g.setProperty&&g.setProperty(\"SelectionLanguag"
|
| + "e\",\"XPath\"),b.selectSingleNode(c);try{var h=K.k(b,c,9);return h?h.sing"
|
| + "leNodeValue:k}catch(j){f(Error(u.g.h,\"Unable to locate an element with t"
|
| + "he xpath expression \"+a))}}(b,a);if(!c)return k;c.nodeType!=1&&f(Error("
|
| + "\"Returned node is not an element: \"+\na));return c},e:function(a,b){var"
|
| + " c=function(b,c){var g=F(b);if(b.selectNodes)return g.setProperty&&g.setP"
|
| + "roperty(\"SelectionLanguage\",\"XPath\"),b.selectNodes(c);var g=[],h;try{"
|
| + "h=K.k(b,c,7)}catch(j){f(Error(u.g.h,\"Unable to locate elements with the "
|
| + "xpath expression \"+c))}if(h)for(var U=h.snapshotLength,x=0;x<U;++x){var "
|
| + "G=h.snapshotItem(x);G.nodeType!=1&&f(Error(u.g.h,\"Returned nodes must be"
|
| + " elements: \"+a));g.push(G)}return g}(b,a);ja(c,function(b){b.nodeType!=1"
|
| + "&&f(Error(\"Returned nodes must be elements: \"+\na))});return c}};var L="
|
| + "\"StopIteration\"in l?l.StopIteration:Error(\"StopIteration\");function p"
|
| + "a(){}pa.prototype.next=function(){f(L)};function M(a,b,c,d,e){this.a=!!b;"
|
| + "a&&N(this,a,d);this.f=e!=i?e:this.d||0;this.a&&(this.f*=-1);this.o=!c}o(M"
|
| + ",pa);M.prototype.c=k;M.prototype.d=0;M.prototype.n=!1;function N(a,b,c){i"
|
| + "f(a.c=b)a.d=typeof c==\"number\"?c:a.c.nodeType!=1?0:a.a?-1:1}\nM.prototy"
|
| + "pe.next=function(){var a;if(this.n){(!this.c||this.o&&this.f==0)&&f(L);a="
|
| + "this.c;var b=this.a?-1:1;if(this.d==b){var c=this.a?a.lastChild:a.firstCh"
|
| + "ild;c?N(this,c):N(this,a,b*-1)}else(c=this.a?a.previousSibling:a.nextSibl"
|
| + "ing)?N(this,c):N(this,a.parentNode,b*-1);this.f+=this.d*(this.a?-1:1)}els"
|
| + "e this.n=!0;(a=this.c)||f(L);return a};\nM.prototype.splice=function(){va"
|
| + "r a=this.c,b=this.a?1:-1;if(this.d==b)this.d=b*-1,this.f+=this.d*(this.a?"
|
| + "-1:1);this.a=!this.a;M.prototype.next.call(this);this.a=!this.a;for(var b"
|
| + "=arguments[0],c=m(b),b=c==\"array\"||c==\"object\"&&typeof b.length==\"nu"
|
| + "mber\"?arguments[0]:arguments,c=b.length-1;c>=0;c--)a.parentNode&&a.paren"
|
| + "tNode.insertBefore(b[c],a.nextSibling);a&&a.parentNode&&a.parentNode.remo"
|
| + "veChild(a)};function O(a,b,c,d){M.call(this,a,b,c,k,d)}o(O,M);O.prototype"
|
| + ".next=function(){do O.p.next.call(this);while(this.d==-1);return this.c};"
|
| + "function qa(a,b){var c=F(a);if(c.defaultView&&c.defaultView.getComputedSt"
|
| + "yle&&(c=c.defaultView.getComputedStyle(a,k)))return c[b]||c.getPropertyVa"
|
| + "lue(b);return\"\"};function P(a,b){return!!a&&a.nodeType==1&&(!b||a.tagNa"
|
| + "me.toUpperCase()==b)}\nvar ra=[\"async\",\"autofocus\",\"autoplay\",\"che"
|
| + "cked\",\"compact\",\"complete\",\"controls\",\"declare\",\"defaultchecked"
|
| + "\",\"defaultselected\",\"defer\",\"disabled\",\"draggable\",\"ended\",\"f"
|
| + "ormnovalidate\",\"hidden\",\"indeterminate\",\"iscontenteditable\",\"isma"
|
| + "p\",\"itemscope\",\"loop\",\"multiple\",\"muted\",\"nohref\",\"noresize\""
|
| + ",\"noshade\",\"novalidate\",\"nowrap\",\"open\",\"paused\",\"pubdate\",\""
|
| + "readonly\",\"required\",\"reversed\",\"scoped\",\"seamless\",\"seeking\","
|
| + "\"selected\",\"spellcheck\",\"truespeed\",\"willvalidate\"];\nfunction Q("
|
| + "a,b){if(8==a.nodeType)return k;b=b.toLowerCase();if(b==\"style\"){var c=q"
|
| + "(a.style.cssText).toLowerCase();return c.charAt(c.length-1)==\";\"?c:c+\""
|
| + ";\"}c=a.getAttributeNode(b);if(!c)return k;if(w(ra,b)>=0)return\"true\";r"
|
| + "eturn c.specified?c.value:k}function R(a){for(a=a.parentNode;a&&a.nodeTyp"
|
| + "e!=1&&a.nodeType!=9&&a.nodeType!=11;)a=a.parentNode;return P(a)?a:k}funct"
|
| + "ion S(a,b){b=ca(String(b));return qa(a,b)||sa(a,b)}\nfunction sa(a,b){var"
|
| + " c=(a.currentStyle||a.style)[b];if(c!=\"inherit\")return c!==i?c:k;return"
|
| + "(c=R(a))?sa(c,b):k}\nfunction ta(a){if(m(a.getBBox)==\"function\")return "
|
| + "a.getBBox();var b;if((qa(a,\"display\")||(a.currentStyle?a.currentStyle.d"
|
| + "isplay:k)||a.style.display)!=\"none\")b=new C(a.offsetWidth,a.offsetHeigh"
|
| + "t);else{b=a.style;var c=b.display,d=b.visibility,e=b.position;b.visibilit"
|
| + "y=\"hidden\";b.position=\"absolute\";b.display=\"inline\";var g=a.offsetW"
|
| + "idth,a=a.offsetHeight;b.display=c;b.position=e;b.visibility=d;b=new C(g,a"
|
| + ")}return b}\nfunction T(a,b){function c(a){if(S(a,\"display\")==\"none\")"
|
| + "return!1;a=R(a);return!a||c(a)}function d(a){var b=ta(a);if(b.height>0&&b"
|
| + ".width>0)return!0;if(a.innerText||a.textContent)if(V.test(a.innerText||a."
|
| + "textContent))return!0;return s&&ka(a.childNodes,function(a){return P(a)&&"
|
| + "d(a)})}P(a)||f(Error(\"Argument to isShown must be of type Element\"));if"
|
| + "(P(a,\"TITLE\"))return(F(a)?F(a).parentWindow||F(a).defaultView:window)=="
|
| + "ha;if(P(a,\"OPTION\")||P(a,\"OPTGROUP\")){var e=oa(a,function(a){return P"
|
| + "(a,\"SELECT\")});\nreturn!!e&&T(e,b)}if(P(a,\"MAP\")){if(!a.name)return!1"
|
| + ";e=F(a);e=e.evaluate?K.b('/descendant::*[@usemap = \"#'+a.name+'\"]',e):m"
|
| + "a(e,function(b){return P(b)&&Q(b,\"usemap\")==\"#\"+a.name});return!!e&&T"
|
| + "(e,b)}if(P(a,\"AREA\"))return e=oa(a,function(a){return P(a,\"MAP\")}),!!"
|
| + "e&&T(e,b);if(P(a,\"INPUT\")&&a.type.toLowerCase()==\"hidden\")return!1;if"
|
| + "(S(a,\"visibility\")==\"hidden\")return!1;if(!c(a))return!1;if(!b&&ua(a)="
|
| + "=0)return!1;if(!d(a))return!1;return!0}\nfunction va(a){var b=[];wa(a,b);"
|
| + "for(var c=b,a=c.length,b=Array(a),c=n(c)?c.split(\"\"):c,d=0;d<a;d++)d in"
|
| + " c&&(b[d]=q.call(i,c[d]));return q(b.join(\"\\n\"))}\nfunction wa(a,b){if"
|
| + "(P(a,\"BR\"))b.push(\"\");else{var c=S(a,\"display\"),d=!(w(ya,c)>=0);d&&"
|
| + "b[b.length-1]&&!V.test(b[b.length-1])&&b.push(\"\");var e=T(a);if(e)var g"
|
| + "=S(a,\"white-space\"),h=S(a,\"text-transform\");ja(a.childNodes,function("
|
| + "a){a.nodeType==3&&e?za(a,b,g,h):P(a)&&wa(a,b)});var j=b[b.length-1];c==\""
|
| + "table-cell\"&&j&&!p(j)&&(b[b.length-1]+=\" \");d&&j&&!V.test(j)&&b.push("
|
| + "\"\")}}\nvar ya=[\"inline\",\"inline-block\",\"inline-table\",\"none\",\""
|
| + "table-cell\",\"table-column\",\"table-column-group\"],Aa=\"[\\\\s\\\\xa0"
|
| + "\"+String.fromCharCode(160)+\"]+\",Ba=RegExp(Aa,\"g\"),V=RegExp(\"^\"+Aa+"
|
| + "\"$\");\nfunction za(a,b,c,d){a=a.nodeValue.replace(/(\\r\\n|\\r|\\n)/g,"
|
| + "\"\\n\");a=a.replace(/\\u200b/g,\"\");c==\"normal\"||c==\"nowrap\"?a=a.re"
|
| + "place(Ba,\" \"):c==\"pre-line\"&&(a=a.replace(/\\xa0|[ \\t]+/g,\" \"));a="
|
| + "a.replace(/\\xa0|\\t/g,\" \");d==\"capitalize\"?a=a.replace(/(^|\\s)(\\S)"
|
| + "/g,function(a,b,c){return b+c.toUpperCase()}):d==\"uppercase\"?a=a.toUppe"
|
| + "rCase():d==\"lowercase\"&&(a=a.toLowerCase());c=b.pop()||\"\";p(c)&&a.las"
|
| + "tIndexOf(\" \",0)==0&&(a=a.substr(1));b.push(c+a)}\nfunction ua(a){var b="
|
| + "1,c=S(a,\"opacity\");c&&(b=Number(c));(a=R(a))&&(b*=ua(a));return b};var "
|
| + "W={},X={};W.m=function(a,b,c){b=I(D(b),\"A\",k,b);return B(b,function(b){"
|
| + "b=va(b);return c&&b.indexOf(a)!=-1||b==a})};W.l=function(a,b,c){b=I(D(b),"
|
| + "\"A\",k,b);return A(b,function(b){b=va(b);return c&&b.indexOf(a)!=-1||b=="
|
| + "a})};W.b=function(a,b){return W.m(a,b,!1)};W.e=function(a,b){return W.l(a"
|
| + ",b,!1)};X.b=function(a,b){return W.m(a,b,!0)};X.e=function(a,b){return W."
|
| + "l(a,b,!0)};var Ca={className:J,css:{b:function(a,b){a||f(Error(\"No selec"
|
| + "tor specified\"));a.split(/,/).length>1&&f(Error(\"Compound selectors not"
|
| + " permitted\"));var a=q(a),c=b.querySelector(a);return c&&c.nodeType==1?c:"
|
| + "k},e:function(a,b){a||f(Error(\"No selector specified\"));a.split(/,/).le"
|
| + "ngth>1&&f(Error(\"Compound selectors not permitted\"));a=q(a);return b.qu"
|
| + "erySelectorAll(a)}},id:{b:function(a,b){var c=D(b),d=n(a)?c.j.getElementB"
|
| + "yId(a):a;if(!d)return k;if(Q(d,\"id\")==a&&H(b,d))return d;c=I(c,\"*\");r"
|
| + "eturn B(c,function(c){return Q(c,\n\"id\")==a&&H(b,c)})},e:function(a,b){"
|
| + "var c=I(D(b),\"*\",k,b);return A(c,function(b){return Q(b,\"id\")==a})}},"
|
| + "linkText:W,name:{b:function(a,b){var c=I(D(b),\"*\",k,b);return B(c,funct"
|
| + "ion(b){return Q(b,\"name\")==a})},e:function(a,b){var c=I(D(b),\"*\",k,b)"
|
| + ";return A(c,function(b){return Q(b,\"name\")==a})}},partialLinkText:X,tag"
|
| + "Name:{b:function(a,b){return b.getElementsByTagName(a)[0]||k},e:function("
|
| + "a,b){return b.getElementsByTagName(a)}},xpath:K};function Da(a,b){var c;a"
|
| + ":{for(c in a)if(!Object.prototype[c])break a;c=k}if(c){var d=Ca[c];if(d&&"
|
| + "m(d.b)==\"function\")return d.b(a[c],b||ha.document)}f(Error(\"Unsupporte"
|
| + "d locator strategy: \"+c))}var Y=\"_\".split(\".\"),Z=l;!(Y[0]in Z)&&Z.ex"
|
| + "ecScript&&Z.execScript(\"var \"+Y[0]);for(var $;Y.length&&($=Y.shift());)"
|
| + "!Y.length&&Da!==i?Z[$]=Da:Z=Z[$]?Z[$]:Z[$]={};; return this._.apply(null,"
|
| + "arguments);}.apply({navigator:typeof window!='undefined'?window.navigator"
|
| + ":null}, arguments);}";
|
|
|
| const char* const FIND_ELEMENTS =
|
| "function(){return function(){function f(a){throw a;}var i=void 0,k=null,l"
|
| @@ -864,172 +889,175 @@ const char* const FIND_ELEMENTS =
|
| "propertyIsEnumerable(\"call\"))return\"function\"}else return\"null\";\ne"
|
| "lse if(b==\"function\"&&typeof a.call==\"undefined\")return\"object\";ret"
|
| "urn b}function n(a){return typeof a==\"string\"}function o(a,b){function "
|
| - "c(){}c.prototype=b.prototype;a.n=b.prototype;a.prototype=new c};var p=win"
|
| - "dow;function q(a){this.stack=Error().stack||\"\";if(a)this.message=String"
|
| - "(a)}o(q,Error);q.prototype.name=\"CustomError\";function r(a){var b=a.len"
|
| - "gth-1;return b>=0&&a.indexOf(\" \",b)==b}function aa(a){for(var b=1;b<arg"
|
| - "uments.length;b++)var c=String(arguments[b]).replace(/\\$/g,\"$$$$\"),a=a"
|
| - ".replace(/\\%s/,c);return a}function s(a){return a.replace(/^[\\s\\xa0]+|"
|
| - "[\\s\\xa0]+$/g,\"\")}function t(a,b){if(a<b)return-1;else if(a>b)return 1"
|
| - ";return 0}var u={};function ba(a){return u[a]||(u[a]=String(a).replace(/"
|
| - "\\-([a-z])/g,function(a,c){return c.toUpperCase()}))};function ca(a,b){b."
|
| - "unshift(a);q.call(this,aa.apply(k,b));b.shift();this.o=a}o(ca,q);ca.proto"
|
| - "type.name=\"AssertionError\";function v(a,b){if(n(a)){if(!n(b)||b.length!"
|
| - "=1)return-1;return a.indexOf(b,0)}for(var c=0;c<a.length;c++)if(c in a&&a"
|
| - "[c]===b)return c;return-1}function da(a,b){for(var c=a.length,d=n(a)?a.sp"
|
| - "lit(\"\"):a,e=0;e<c;e++)e in d&&b.call(i,d[e],e,a)}function w(a,b){for(va"
|
| - "r c=a.length,d=[],e=0,g=n(a)?a.split(\"\"):a,h=0;h<c;h++)if(h in g){var j"
|
| - "=g[h];b.call(i,j,h,a)&&(d[e++]=j)}return d}function ea(a,b){for(var c=a.l"
|
| - "ength,d=n(a)?a.split(\"\"):a,e=0;e<c;e++)if(e in d&&b.call(i,d[e],e,a))re"
|
| - "turn!0;return!1}\nfunction A(a,b){var c;a:{c=a.length;for(var d=n(a)?a.sp"
|
| - "lit(\"\"):a,e=0;e<c;e++)if(e in d&&b.call(i,d[e],e,a)){c=e;break a}c=-1}r"
|
| - "eturn c<0?k:n(a)?a.charAt(c):a[c]};var B=!0,fa,ga=\"\",C;B&&(C=/WebKit\\/"
|
| - "(\\S+)/);if(C)var ha=C.exec(l.navigator?l.navigator.userAgent:k),ga=ha?ha"
|
| - "[1]:\"\";fa=ga;var ia={};var ja;function D(a,b){this.width=a;this.height="
|
| - "b}D.prototype.toString=function(){return\"(\"+this.width+\" x \"+this.hei"
|
| - "ght+\")\"};function E(a){return a?new F(H(a)):ja||(ja=new F)}function I(a"
|
| - ",b){if(a.contains&&b.nodeType==1)return a==b||a.contains(b);if(typeof a.c"
|
| - "ompareDocumentPosition!=\"undefined\")return a==b||Boolean(a.compareDocum"
|
| - "entPosition(b)&16);for(;b&&a!=b;)b=b.parentNode;return b==a}function H(a)"
|
| - "{return a.nodeType==9?a:a.ownerDocument||a.document}function ka(a,b){var "
|
| - "c=[];return la(a,b,c,!0)?c[0]:i}\nfunction la(a,b,c,d){if(a!=k)for(var e="
|
| - "0,g;g=a.childNodes[e];e++){if(b(g)&&(c.push(g),d))return!0;if(la(g,b,c,d)"
|
| - ")return!0}return!1}function ma(a,b){for(var a=a.parentNode,c=0;a;){if(b(a"
|
| - "))return a;a=a.parentNode;c++}return k}function F(a){this.h=a||l.document"
|
| - "||document}\nfunction J(a,b,c,d){a=d||a.h;b=b&&b!=\"*\"?b.toUpperCase():"
|
| - "\"\";if(d=a.querySelectorAll)if(d=a.querySelector)if(!(d=!B))if(!(d=docum"
|
| - "ent.compatMode==\"CSS1Compat\"))if(!(d=ia[\"528\"])){for(var d=0,e=s(Stri"
|
| - "ng(fa)).split(\".\"),g=s(String(\"528\")).split(\".\"),h=Math.max(e.lengt"
|
| - "h,g.length),j=0;d==0&&j<h;j++){var x=e[j]||\"\",G=g[j]||\"\",va=RegExp(\""
|
| - "(\\\\d*)(\\\\D*)\",\"g\"),wa=RegExp(\"(\\\\d*)(\\\\D*)\",\"g\");do{var y="
|
| - "va.exec(x)||[\"\",\"\",\"\"],z=wa.exec(G)||[\"\",\"\",\"\"];if(y[0].lengt"
|
| - "h==0&&z[0].length==0)break;d=t(y[1].length==0?0:parseInt(y[1],\n10),z[1]."
|
| - "length==0?0:parseInt(z[1],10))||t(y[2].length==0,z[2].length==0)||t(y[2],"
|
| - "z[2])}while(d==0)}d=ia[\"528\"]=d>=0}if(d&&(b||c))c=a.querySelectorAll(b+"
|
| - "(c?\".\"+c:\"\"));else if(c&&a.getElementsByClassName)if(a=a.getElementsB"
|
| - "yClassName(c),b){d={};for(g=e=0;h=a[g];g++)b==h.nodeName&&(d[e++]=h);d.le"
|
| - "ngth=e;c=d}else c=a;else if(a=a.getElementsByTagName(b||\"*\"),c){d={};fo"
|
| - "r(g=e=0;h=a[g];g++)b=h.className,typeof b.split==\"function\"&&v(b.split("
|
| - "/\\s+/),c)>=0&&(d[e++]=h);d.length=e;c=d}else c=a;return c}\nF.prototype."
|
| - "contains=I;var K={g:function(a){return a.querySelectorAll&&a.querySelecto"
|
| - "r}};K.d=function(a,b){a||f(Error(\"No class name specified\"));a=s(a);a.s"
|
| - "plit(/\\s+/).length>1&&f(Error(\"Compound class names not permitted\"));i"
|
| - "f(K.g(b))return b.querySelector(\".\"+a.replace(/\\./g,\"\\\\.\"))||k;var"
|
| - " c=J(E(b),\"*\",a,b);return c.length?c[0]:k};\nK.b=function(a,b){a||f(Err"
|
| - "or(\"No class name specified\"));a=s(a);a.split(/\\s+/).length>1&&f(Error"
|
| - "(\"Compound class names not permitted\"));if(K.g(b))return b.querySelecto"
|
| - "rAll(\".\"+a.replace(/\\./g,\"\\\\.\"));return J(E(b),\"*\",a,b)};var L={"
|
| - "i:function(a,b,c){var d=H(a);if(!d.implementation.hasFeature(\"XPath\",\""
|
| - "3.0\"))return k;var e=d.createNSResolver(d.documentElement);return d.eval"
|
| - "uate(b,a,e,c,k)},d:function(a,b){var c=function(a,b){var c=H(a);if(a.sele"
|
| - "ctSingleNode)return c.setProperty&&c.setProperty(\"SelectionLanguage\",\""
|
| - "XPath\"),a.selectSingleNode(b);return(c=L.i(a,b,9))?c.singleNodeValue:k}("
|
| - "b,a);if(!c)return k;c.nodeType!=1&&f(Error(\"Returned node is not an elem"
|
| - "ent: \"+a));return c},b:function(a,b){var c=function(b,c){var g=H(b);\nif"
|
| - "(b.selectNodes)return g.setProperty&&g.setProperty(\"SelectionLanguage\","
|
| - "\"XPath\"),b.selectNodes(c);var g=[],h=L.i(b,c,7);if(h)for(var j=h.snapsh"
|
| - "otLength,x=0;x<j;++x){var G=h.snapshotItem(x);G.nodeType!=1&&f(Error(\"Re"
|
| - "turned nodes must be elements: \"+a));g.push(G)}return g}(b,a);da(c,funct"
|
| - "ion(b){b.nodeType!=1&&f(Error(\"Returned nodes must be elements: \"+a))})"
|
| - ";return c}};var M=\"StopIteration\"in l?l.StopIteration:Error(\"StopItera"
|
| - "tion\");function na(){}na.prototype.next=function(){f(M)};function N(a,b,"
|
| - "c,d,e){this.a=!!b;a&&O(this,a,d);this.f=e!=i?e:this.e||0;this.a&&(this.f*"
|
| - "=-1);this.m=!c}o(N,na);N.prototype.c=k;N.prototype.e=0;N.prototype.l=!1;f"
|
| - "unction O(a,b,c){if(a.c=b)a.e=typeof c==\"number\"?c:a.c.nodeType!=1?0:a."
|
| - "a?-1:1}\nN.prototype.next=function(){var a;if(this.l){(!this.c||this.m&&t"
|
| - "his.f==0)&&f(M);a=this.c;var b=this.a?-1:1;if(this.e==b){var c=this.a?a.l"
|
| - "astChild:a.firstChild;c?O(this,c):O(this,a,b*-1)}else(c=this.a?a.previous"
|
| - "Sibling:a.nextSibling)?O(this,c):O(this,a.parentNode,b*-1);this.f+=this.e"
|
| - "*(this.a?-1:1)}else this.l=!0;(a=this.c)||f(M);return a};\nN.prototype.sp"
|
| - "lice=function(){var a=this.c,b=this.a?1:-1;if(this.e==b)this.e=b*-1,this."
|
| - "f+=this.e*(this.a?-1:1);this.a=!this.a;N.prototype.next.call(this);this.a"
|
| - "=!this.a;for(var b=arguments[0],c=m(b),b=c==\"array\"||c==\"object\"&&typ"
|
| - "eof b.length==\"number\"?arguments[0]:arguments,c=b.length-1;c>=0;c--)a.p"
|
| - "arentNode&&a.parentNode.insertBefore(b[c],a.nextSibling);a&&a.parentNode&"
|
| - "&a.parentNode.removeChild(a)};function P(a,b,c,d){N.call(this,a,b,c,k,d)}"
|
| - "o(P,N);P.prototype.next=function(){do P.n.next.call(this);while(this.e==-"
|
| - "1);return this.c};function oa(a,b){var c=H(a);if(c.defaultView&&c.default"
|
| - "View.getComputedStyle&&(c=c.defaultView.getComputedStyle(a,k)))return c[b"
|
| - "]||c.getPropertyValue(b);return\"\"};function Q(a,b){return!!a&&a.nodeTyp"
|
| - "e==1&&(!b||a.tagName.toUpperCase()==b)}\nvar pa=[\"async\",\"autofocus\","
|
| - "\"autoplay\",\"checked\",\"compact\",\"complete\",\"controls\",\"declare"
|
| - "\",\"defaultchecked\",\"defaultselected\",\"defer\",\"disabled\",\"dragga"
|
| - "ble\",\"ended\",\"formnovalidate\",\"hidden\",\"indeterminate\",\"isconte"
|
| - "nteditable\",\"ismap\",\"itemscope\",\"loop\",\"multiple\",\"muted\",\"no"
|
| - "href\",\"noresize\",\"noshade\",\"novalidate\",\"nowrap\",\"open\",\"paus"
|
| - "ed\",\"pubdate\",\"readonly\",\"required\",\"reversed\",\"scoped\",\"seam"
|
| - "less\",\"seeking\",\"selected\",\"spellcheck\",\"truespeed\",\"willvalida"
|
| - "te\"];\nfunction R(a,b){if(8==a.nodeType)return k;b=b.toLowerCase();if(b="
|
| - "=\"style\"){var c=s(a.style.cssText).toLowerCase();return c.charAt(c.leng"
|
| - "th-1)==\";\"?c:c+\";\"}c=a.getAttributeNode(b);if(!c)return k;if(v(pa,b)>"
|
| - "=0)return\"true\";return c.specified?c.value:k}function S(a){for(a=a.pare"
|
| - "ntNode;a&&a.nodeType!=1&&a.nodeType!=9&&a.nodeType!=11;)a=a.parentNode;re"
|
| - "turn Q(a)?a:k}function T(a,b){b=ba(String(b));return oa(a,b)||qa(a,b)}\nf"
|
| - "unction qa(a,b){var c=(a.currentStyle||a.style)[b];if(c!=\"inherit\")retu"
|
| - "rn c!==i?c:k;return(c=S(a))?qa(c,b):k}\nfunction ra(a){if(m(a.getBBox)=="
|
| - "\"function\")return a.getBBox();var b;if((oa(a,\"display\")||(a.currentSt"
|
| - "yle?a.currentStyle.display:k)||a.style.display)!=\"none\")b=new D(a.offse"
|
| - "tWidth,a.offsetHeight);else{b=a.style;var c=b.display,d=b.visibility,e=b."
|
| - "position;b.visibility=\"hidden\";b.position=\"absolute\";b.display=\"inli"
|
| - "ne\";var g=a.offsetWidth,a=a.offsetHeight;b.display=c;b.position=e;b.visi"
|
| - "bility=d;b=new D(g,a)}return b}\nfunction U(a,b){function c(a){if(T(a,\"d"
|
| - "isplay\")==\"none\")return!1;a=S(a);return!a||c(a)}function d(a){var b=ra"
|
| - "(a);if(b.height>0&&b.width>0)return!0;if(a.innerText||a.textContent)if(V."
|
| - "test(a.innerText||a.textContent))return!0;return B&&ea(a.childNodes,funct"
|
| - "ion(a){return Q(a)&&d(a)})}Q(a)||f(Error(\"Argument to isShown must be of"
|
| - " type Element\"));if(Q(a,\"TITLE\"))return(H(a)?H(a).parentWindow||H(a).d"
|
| - "efaultView:window)==p;if(Q(a,\"OPTION\")||Q(a,\"OPTGROUP\")){var e=ma(a,f"
|
| - "unction(a){return Q(a,\"SELECT\")});return!!e&&\nU(e,b)}if(Q(a,\"MAP\")){"
|
| - "if(!a.name)return!1;e=H(a);e=e.evaluate?L.d('/descendant::*[@usemap = \"#"
|
| - "'+a.name+'\"]',e):ka(e,function(b){return Q(b)&&R(b,\"usemap\")==\"#\"+a."
|
| - "name});return!!e&&U(e,b)}if(Q(a,\"AREA\"))return e=ma(a,function(a){retur"
|
| - "n Q(a,\"MAP\")}),!!e&&U(e,b);if(Q(a,\"INPUT\")&&a.type.toLowerCase()==\"h"
|
| - "idden\")return!1;if(T(a,\"visibility\")==\"hidden\")return!1;if(!c(a))ret"
|
| - "urn!1;if(!b&&sa(a)==0)return!1;if(!d(a))return!1;return!0}\nfunction ta(a"
|
| - "){var b=[];ua(a,b);for(var c=b,a=c.length,b=Array(a),c=n(c)?c.split(\"\")"
|
| - ":c,d=0;d<a;d++)d in c&&(b[d]=s.call(i,c[d]));return s(b.join(\"\\n\"))}\n"
|
| - "function ua(a,b){if(Q(a,\"BR\"))b.push(\"\");else{var c=T(a,\"display\"),"
|
| - "d=!(v(xa,c)>=0);d&&b[b.length-1]&&!V.test(b[b.length-1])&&b.push(\"\");va"
|
| - "r e=U(a);if(e)var g=T(a,\"white-space\"),h=T(a,\"text-transform\");da(a.c"
|
| - "hildNodes,function(a){a.nodeType==3&&e?ya(a,b,g,h):Q(a)&&ua(a,b)});var j="
|
| - "b[b.length-1];c==\"table-cell\"&&j&&!r(j)&&(b[b.length-1]+=\" \");d&&j&&!"
|
| - "V.test(j)&&b.push(\"\")}}\nvar xa=[\"inline\",\"inline-block\",\"inline-t"
|
| - "able\",\"none\",\"table-cell\",\"table-column\",\"table-column-group\"],z"
|
| - "a=\"[\\\\s\\\\xa0\"+String.fromCharCode(160)+\"]+\",Aa=RegExp(za,\"g\"),V"
|
| - "=RegExp(\"^\"+za+\"$\");\nfunction ya(a,b,c,d){a=a.nodeValue.replace(/("
|
| - "\\r\\n|\\r|\\n)/g,\"\\n\");a=a.replace(/\\u200b/g,\"\");c==\"normal\"||c="
|
| - "=\"nowrap\"?a=a.replace(Aa,\" \"):c==\"pre-line\"&&(a=a.replace(/\\xa0|[ "
|
| - "\\t]+/g,\" \"));a=a.replace(/\\xa0|\\t/g,\" \");d==\"capitalize\"?a=a.rep"
|
| - "lace(/(^|\\s)(\\S)/g,function(a,b,c){return b+c.toUpperCase()}):d==\"uppe"
|
| - "rcase\"?a=a.toUpperCase():d==\"lowercase\"&&(a=a.toLowerCase());c=b.pop()"
|
| - "||\"\";r(c)&&a.lastIndexOf(\" \",0)==0&&(a=a.substr(1));b.push(c+a)}\nfun"
|
| - "ction sa(a){var b=1,c=T(a,\"opacity\");c&&(b=Number(c));(a=S(a))&&(b*=sa("
|
| - "a));return b};var W={},X={};W.k=function(a,b,c){b=J(E(b),\"A\",k,b);retur"
|
| - "n A(b,function(b){b=ta(b);return c&&b.indexOf(a)!=-1||b==a})};W.j=functio"
|
| - "n(a,b,c){b=J(E(b),\"A\",k,b);return w(b,function(b){b=ta(b);return c&&b.i"
|
| - "ndexOf(a)!=-1||b==a})};W.d=function(a,b){return W.k(a,b,!1)};W.b=function"
|
| - "(a,b){return W.j(a,b,!1)};X.d=function(a,b){return W.k(a,b,!0)};X.b=funct"
|
| - "ion(a,b){return W.j(a,b,!0)};var Ba={className:K,css:{d:function(a,b){a||"
|
| - "f(Error(\"No selector specified\"));a.split(/,/).length>1&&f(Error(\"Comp"
|
| - "ound selectors not permitted\"));var a=s(a),c=b.querySelector(a);return c"
|
| - "&&c.nodeType==1?c:k},b:function(a,b){a||f(Error(\"No selector specified\""
|
| - "));a.split(/,/).length>1&&f(Error(\"Compound selectors not permitted\"));"
|
| - "a=s(a);return b.querySelectorAll(a)}},id:{d:function(a,b){var c=E(b),d=n("
|
| - "a)?c.h.getElementById(a):a;if(!d)return k;if(R(d,\"id\")==a&&I(b,d))retur"
|
| - "n d;c=J(c,\"*\");return A(c,function(c){return R(c,\n\"id\")==a&&I(b,c)})"
|
| - "},b:function(a,b){var c=J(E(b),\"*\",k,b);return w(c,function(b){return R"
|
| - "(b,\"id\")==a})}},linkText:W,name:{d:function(a,b){var c=J(E(b),\"*\",k,b"
|
| - ");return A(c,function(b){return R(b,\"name\")==a})},b:function(a,b){var c"
|
| - "=J(E(b),\"*\",k,b);return w(c,function(b){return R(b,\"name\")==a})}},par"
|
| - "tialLinkText:X,tagName:{d:function(a,b){return b.getElementsByTagName(a)["
|
| - "0]||k},b:function(a,b){return b.getElementsByTagName(a)}},xpath:L};functi"
|
| - "on Ca(a,b){var c;a:{for(c in a)if(!Object.prototype[c])break a;c=k}if(c){"
|
| - "var d=Ba[c];if(d&&m(d.b)==\"function\")return d.b(a[c],b||p.document)}f(E"
|
| - "rror(\"Unsupported locator strategy: \"+c))}var Y=\"_\".split(\".\"),Z=l;"
|
| - "!(Y[0]in Z)&&Z.execScript&&Z.execScript(\"var \"+Y[0]);for(var $;Y.length"
|
| - "&&($=Y.shift());)!Y.length&&Ca!==i?Z[$]=Ca:Z=Z[$]?Z[$]:Z[$]={};; return t"
|
| - "his._.apply(null,arguments);}.apply({navigator:typeof window!='undefined'"
|
| - "?window.navigator:null}, arguments);}";
|
| + "c(){}c.prototype=b.prototype;a.p=b.prototype;a.prototype=new c};function "
|
| + "p(a){var b=a.length-1;return b>=0&&a.indexOf(\" \",b)==b}function aa(a){f"
|
| + "or(var b=1;b<arguments.length;b++)var c=String(arguments[b]).replace(/\\$"
|
| + "/g,\"$$$$\"),a=a.replace(/\\%s/,c);return a}function q(a){return a.replac"
|
| + "e(/^[\\s\\xa0]+|[\\s\\xa0]+$/g,\"\")}function r(a,b){if(a<b)return-1;else"
|
| + " if(a>b)return 1;return 0}var ba={};function ca(a){return ba[a]||(ba[a]=S"
|
| + "tring(a).replace(/\\-([a-z])/g,function(a,c){return c.toUpperCase()}))};v"
|
| + "ar s=!0,da,ea=\"\",t;s&&(t=/WebKit\\/(\\S+)/);if(t)var fa=t.exec(l.naviga"
|
| + "tor?l.navigator.userAgent:k),ea=fa?fa[1]:\"\";da=ea;var ga={};var u={},ha"
|
| + "=window;function v(a){this.stack=Error().stack||\"\";if(a)this.message=St"
|
| + "ring(a)}o(v,Error);v.prototype.name=\"CustomError\";function ia(a,b){b.un"
|
| + "shift(a);v.call(this,aa.apply(k,b));b.shift();this.q=a}o(ia,v);ia.prototy"
|
| + "pe.name=\"AssertionError\";function w(a,b){if(n(a)){if(!n(b)||b.length!=1"
|
| + ")return-1;return a.indexOf(b,0)}for(var c=0;c<a.length;c++)if(c in a&&a[c"
|
| + "]===b)return c;return-1}function ja(a,b){for(var c=a.length,d=n(a)?a.spli"
|
| + "t(\"\"):a,e=0;e<c;e++)e in d&&b.call(i,d[e],e,a)}function A(a,b){for(var "
|
| + "c=a.length,d=[],e=0,g=n(a)?a.split(\"\"):a,h=0;h<c;h++)if(h in g){var j=g"
|
| + "[h];b.call(i,j,h,a)&&(d[e++]=j)}return d}function ka(a,b){for(var c=a.len"
|
| + "gth,d=n(a)?a.split(\"\"):a,e=0;e<c;e++)if(e in d&&b.call(i,d[e],e,a))retu"
|
| + "rn!0;return!1}\nfunction B(a,b){var c;a:{c=a.length;for(var d=n(a)?a.spli"
|
| + "t(\"\"):a,e=0;e<c;e++)if(e in d&&b.call(i,d[e],e,a)){c=e;break a}c=-1}ret"
|
| + "urn c<0?k:n(a)?a.charAt(c):a[c]};var la;function C(a,b){this.width=a;this"
|
| + ".height=b}C.prototype.toString=function(){return\"(\"+this.width+\" x \"+"
|
| + "this.height+\")\"};function D(a){return a?new E(F(a)):la||(la=new E)}func"
|
| + "tion H(a,b){if(a.contains&&b.nodeType==1)return a==b||a.contains(b);if(ty"
|
| + "peof a.compareDocumentPosition!=\"undefined\")return a==b||Boolean(a.comp"
|
| + "areDocumentPosition(b)&16);for(;b&&a!=b;)b=b.parentNode;return b==a}funct"
|
| + "ion F(a){return a.nodeType==9?a:a.ownerDocument||a.document}function ma(a"
|
| + ",b){var c=[];return na(a,b,c,!0)?c[0]:i}\nfunction na(a,b,c,d){if(a!=k)fo"
|
| + "r(var e=0,g;g=a.childNodes[e];e++){if(b(g)&&(c.push(g),d))return!0;if(na("
|
| + "g,b,c,d))return!0}return!1}function oa(a,b){for(var a=a.parentNode,c=0;a;"
|
| + "){if(b(a))return a;a=a.parentNode;c++}return k}function E(a){this.j=a||l."
|
| + "document||document}\nfunction I(a,b,c,d){a=d||a.j;b=b&&b!=\"*\"?b.toUpper"
|
| + "Case():\"\";if(d=a.querySelectorAll)if(d=a.querySelector)if(!(d=!s))if(!("
|
| + "d=document.compatMode==\"CSS1Compat\"))if(!(d=ga[\"528\"])){for(var d=0,e"
|
| + "=q(String(da)).split(\".\"),g=q(String(\"528\")).split(\".\"),h=Math.max("
|
| + "e.length,g.length),j=0;d==0&&j<h;j++){var U=e[j]||\"\",x=g[j]||\"\",G=Reg"
|
| + "Exp(\"(\\\\d*)(\\\\D*)\",\"g\"),xa=RegExp(\"(\\\\d*)(\\\\D*)\",\"g\");do{"
|
| + "var y=G.exec(U)||[\"\",\"\",\"\"],z=xa.exec(x)||[\"\",\"\",\"\"];if(y[0]."
|
| + "length==0&&z[0].length==0)break;d=r(y[1].length==0?0:parseInt(y[1],\n10),"
|
| + "z[1].length==0?0:parseInt(z[1],10))||r(y[2].length==0,z[2].length==0)||r("
|
| + "y[2],z[2])}while(d==0)}d=ga[\"528\"]=d>=0}if(d&&(b||c))c=a.querySelectorA"
|
| + "ll(b+(c?\".\"+c:\"\"));else if(c&&a.getElementsByClassName)if(a=a.getElem"
|
| + "entsByClassName(c),b){d={};for(g=e=0;h=a[g];g++)b==h.nodeName&&(d[e++]=h)"
|
| + ";d.length=e;c=d}else c=a;else if(a=a.getElementsByTagName(b||\"*\"),c){d="
|
| + "{};for(g=e=0;h=a[g];g++)b=h.className,typeof b.split==\"function\"&&w(b.s"
|
| + "plit(/\\s+/),c)>=0&&(d[e++]=h);d.length=e;c=d}else c=a;return c}\nE.proto"
|
| + "type.contains=H;var J={i:function(a){return a.querySelectorAll&&a.querySe"
|
| + "lector}};J.d=function(a,b){a||f(Error(\"No class name specified\"));a=q(a"
|
| + ");a.split(/\\s+/).length>1&&f(Error(\"Compound class names not permitted"
|
| + "\"));if(J.i(b))return b.querySelector(\".\"+a.replace(/\\./g,\"\\\\.\"))|"
|
| + "|k;var c=I(D(b),\"*\",a,b);return c.length?c[0]:k};\nJ.b=function(a,b){a|"
|
| + "|f(Error(\"No class name specified\"));a=q(a);a.split(/\\s+/).length>1&&f"
|
| + "(Error(\"Compound class names not permitted\"));if(J.i(b))return b.queryS"
|
| + "electorAll(\".\"+a.replace(/\\./g,\"\\\\.\"));return I(D(b),\"*\",a,b)};v"
|
| + "ar K={k:function(a,b,c){var d=F(a);if(!d.implementation.hasFeature(\"XPat"
|
| + "h\",\"3.0\"))return k;var e=d.createNSResolver(d.documentElement);return "
|
| + "d.evaluate(b,a,e,c,k)},d:function(a,b){var c=function(b,c){var g=F(b);if("
|
| + "b.selectSingleNode)return g.setProperty&&g.setProperty(\"SelectionLanguag"
|
| + "e\",\"XPath\"),b.selectSingleNode(c);try{var h=K.k(b,c,9);return h?h.sing"
|
| + "leNodeValue:k}catch(j){f(Error(u.g.h,\"Unable to locate an element with t"
|
| + "he xpath expression \"+a))}}(b,a);if(!c)return k;c.nodeType!=1&&f(Error("
|
| + "\"Returned node is not an element: \"+\na));return c},b:function(a,b){var"
|
| + " c=function(b,c){var g=F(b);if(b.selectNodes)return g.setProperty&&g.setP"
|
| + "roperty(\"SelectionLanguage\",\"XPath\"),b.selectNodes(c);var g=[],h;try{"
|
| + "h=K.k(b,c,7)}catch(j){f(Error(u.g.h,\"Unable to locate elements with the "
|
| + "xpath expression \"+c))}if(h)for(var U=h.snapshotLength,x=0;x<U;++x){var "
|
| + "G=h.snapshotItem(x);G.nodeType!=1&&f(Error(u.g.h,\"Returned nodes must be"
|
| + " elements: \"+a));g.push(G)}return g}(b,a);ja(c,function(b){b.nodeType!=1"
|
| + "&&f(Error(\"Returned nodes must be elements: \"+\na))});return c}};var L="
|
| + "\"StopIteration\"in l?l.StopIteration:Error(\"StopIteration\");function p"
|
| + "a(){}pa.prototype.next=function(){f(L)};function M(a,b,c,d,e){this.a=!!b;"
|
| + "a&&N(this,a,d);this.f=e!=i?e:this.e||0;this.a&&(this.f*=-1);this.o=!c}o(M"
|
| + ",pa);M.prototype.c=k;M.prototype.e=0;M.prototype.n=!1;function N(a,b,c){i"
|
| + "f(a.c=b)a.e=typeof c==\"number\"?c:a.c.nodeType!=1?0:a.a?-1:1}\nM.prototy"
|
| + "pe.next=function(){var a;if(this.n){(!this.c||this.o&&this.f==0)&&f(L);a="
|
| + "this.c;var b=this.a?-1:1;if(this.e==b){var c=this.a?a.lastChild:a.firstCh"
|
| + "ild;c?N(this,c):N(this,a,b*-1)}else(c=this.a?a.previousSibling:a.nextSibl"
|
| + "ing)?N(this,c):N(this,a.parentNode,b*-1);this.f+=this.e*(this.a?-1:1)}els"
|
| + "e this.n=!0;(a=this.c)||f(L);return a};\nM.prototype.splice=function(){va"
|
| + "r a=this.c,b=this.a?1:-1;if(this.e==b)this.e=b*-1,this.f+=this.e*(this.a?"
|
| + "-1:1);this.a=!this.a;M.prototype.next.call(this);this.a=!this.a;for(var b"
|
| + "=arguments[0],c=m(b),b=c==\"array\"||c==\"object\"&&typeof b.length==\"nu"
|
| + "mber\"?arguments[0]:arguments,c=b.length-1;c>=0;c--)a.parentNode&&a.paren"
|
| + "tNode.insertBefore(b[c],a.nextSibling);a&&a.parentNode&&a.parentNode.remo"
|
| + "veChild(a)};function O(a,b,c,d){M.call(this,a,b,c,k,d)}o(O,M);O.prototype"
|
| + ".next=function(){do O.p.next.call(this);while(this.e==-1);return this.c};"
|
| + "function qa(a,b){var c=F(a);if(c.defaultView&&c.defaultView.getComputedSt"
|
| + "yle&&(c=c.defaultView.getComputedStyle(a,k)))return c[b]||c.getPropertyVa"
|
| + "lue(b);return\"\"};function P(a,b){return!!a&&a.nodeType==1&&(!b||a.tagNa"
|
| + "me.toUpperCase()==b)}\nvar ra=[\"async\",\"autofocus\",\"autoplay\",\"che"
|
| + "cked\",\"compact\",\"complete\",\"controls\",\"declare\",\"defaultchecked"
|
| + "\",\"defaultselected\",\"defer\",\"disabled\",\"draggable\",\"ended\",\"f"
|
| + "ormnovalidate\",\"hidden\",\"indeterminate\",\"iscontenteditable\",\"isma"
|
| + "p\",\"itemscope\",\"loop\",\"multiple\",\"muted\",\"nohref\",\"noresize\""
|
| + ",\"noshade\",\"novalidate\",\"nowrap\",\"open\",\"paused\",\"pubdate\",\""
|
| + "readonly\",\"required\",\"reversed\",\"scoped\",\"seamless\",\"seeking\","
|
| + "\"selected\",\"spellcheck\",\"truespeed\",\"willvalidate\"];\nfunction Q("
|
| + "a,b){if(8==a.nodeType)return k;b=b.toLowerCase();if(b==\"style\"){var c=q"
|
| + "(a.style.cssText).toLowerCase();return c.charAt(c.length-1)==\";\"?c:c+\""
|
| + ";\"}c=a.getAttributeNode(b);if(!c)return k;if(w(ra,b)>=0)return\"true\";r"
|
| + "eturn c.specified?c.value:k}function R(a){for(a=a.parentNode;a&&a.nodeTyp"
|
| + "e!=1&&a.nodeType!=9&&a.nodeType!=11;)a=a.parentNode;return P(a)?a:k}funct"
|
| + "ion S(a,b){b=ca(String(b));return qa(a,b)||sa(a,b)}\nfunction sa(a,b){var"
|
| + " c=(a.currentStyle||a.style)[b];if(c!=\"inherit\")return c!==i?c:k;return"
|
| + "(c=R(a))?sa(c,b):k}\nfunction ta(a){if(m(a.getBBox)==\"function\")return "
|
| + "a.getBBox();var b;if((qa(a,\"display\")||(a.currentStyle?a.currentStyle.d"
|
| + "isplay:k)||a.style.display)!=\"none\")b=new C(a.offsetWidth,a.offsetHeigh"
|
| + "t);else{b=a.style;var c=b.display,d=b.visibility,e=b.position;b.visibilit"
|
| + "y=\"hidden\";b.position=\"absolute\";b.display=\"inline\";var g=a.offsetW"
|
| + "idth,a=a.offsetHeight;b.display=c;b.position=e;b.visibility=d;b=new C(g,a"
|
| + ")}return b}\nfunction T(a,b){function c(a){if(S(a,\"display\")==\"none\")"
|
| + "return!1;a=R(a);return!a||c(a)}function d(a){var b=ta(a);if(b.height>0&&b"
|
| + ".width>0)return!0;if(a.innerText||a.textContent)if(V.test(a.innerText||a."
|
| + "textContent))return!0;return s&&ka(a.childNodes,function(a){return P(a)&&"
|
| + "d(a)})}P(a)||f(Error(\"Argument to isShown must be of type Element\"));if"
|
| + "(P(a,\"TITLE\"))return(F(a)?F(a).parentWindow||F(a).defaultView:window)=="
|
| + "ha;if(P(a,\"OPTION\")||P(a,\"OPTGROUP\")){var e=oa(a,function(a){return P"
|
| + "(a,\"SELECT\")});\nreturn!!e&&T(e,b)}if(P(a,\"MAP\")){if(!a.name)return!1"
|
| + ";e=F(a);e=e.evaluate?K.d('/descendant::*[@usemap = \"#'+a.name+'\"]',e):m"
|
| + "a(e,function(b){return P(b)&&Q(b,\"usemap\")==\"#\"+a.name});return!!e&&T"
|
| + "(e,b)}if(P(a,\"AREA\"))return e=oa(a,function(a){return P(a,\"MAP\")}),!!"
|
| + "e&&T(e,b);if(P(a,\"INPUT\")&&a.type.toLowerCase()==\"hidden\")return!1;if"
|
| + "(S(a,\"visibility\")==\"hidden\")return!1;if(!c(a))return!1;if(!b&&ua(a)="
|
| + "=0)return!1;if(!d(a))return!1;return!0}\nfunction va(a){var b=[];wa(a,b);"
|
| + "for(var c=b,a=c.length,b=Array(a),c=n(c)?c.split(\"\"):c,d=0;d<a;d++)d in"
|
| + " c&&(b[d]=q.call(i,c[d]));return q(b.join(\"\\n\"))}\nfunction wa(a,b){if"
|
| + "(P(a,\"BR\"))b.push(\"\");else{var c=S(a,\"display\"),d=!(w(ya,c)>=0);d&&"
|
| + "b[b.length-1]&&!V.test(b[b.length-1])&&b.push(\"\");var e=T(a);if(e)var g"
|
| + "=S(a,\"white-space\"),h=S(a,\"text-transform\");ja(a.childNodes,function("
|
| + "a){a.nodeType==3&&e?za(a,b,g,h):P(a)&&wa(a,b)});var j=b[b.length-1];c==\""
|
| + "table-cell\"&&j&&!p(j)&&(b[b.length-1]+=\" \");d&&j&&!V.test(j)&&b.push("
|
| + "\"\")}}\nvar ya=[\"inline\",\"inline-block\",\"inline-table\",\"none\",\""
|
| + "table-cell\",\"table-column\",\"table-column-group\"],Aa=\"[\\\\s\\\\xa0"
|
| + "\"+String.fromCharCode(160)+\"]+\",Ba=RegExp(Aa,\"g\"),V=RegExp(\"^\"+Aa+"
|
| + "\"$\");\nfunction za(a,b,c,d){a=a.nodeValue.replace(/(\\r\\n|\\r|\\n)/g,"
|
| + "\"\\n\");a=a.replace(/\\u200b/g,\"\");c==\"normal\"||c==\"nowrap\"?a=a.re"
|
| + "place(Ba,\" \"):c==\"pre-line\"&&(a=a.replace(/\\xa0|[ \\t]+/g,\" \"));a="
|
| + "a.replace(/\\xa0|\\t/g,\" \");d==\"capitalize\"?a=a.replace(/(^|\\s)(\\S)"
|
| + "/g,function(a,b,c){return b+c.toUpperCase()}):d==\"uppercase\"?a=a.toUppe"
|
| + "rCase():d==\"lowercase\"&&(a=a.toLowerCase());c=b.pop()||\"\";p(c)&&a.las"
|
| + "tIndexOf(\" \",0)==0&&(a=a.substr(1));b.push(c+a)}\nfunction ua(a){var b="
|
| + "1,c=S(a,\"opacity\");c&&(b=Number(c));(a=R(a))&&(b*=ua(a));return b};var "
|
| + "W={},X={};W.m=function(a,b,c){b=I(D(b),\"A\",k,b);return B(b,function(b){"
|
| + "b=va(b);return c&&b.indexOf(a)!=-1||b==a})};W.l=function(a,b,c){b=I(D(b),"
|
| + "\"A\",k,b);return A(b,function(b){b=va(b);return c&&b.indexOf(a)!=-1||b=="
|
| + "a})};W.d=function(a,b){return W.m(a,b,!1)};W.b=function(a,b){return W.l(a"
|
| + ",b,!1)};X.d=function(a,b){return W.m(a,b,!0)};X.b=function(a,b){return W."
|
| + "l(a,b,!0)};var Ca={className:J,css:{d:function(a,b){a||f(Error(\"No selec"
|
| + "tor specified\"));a.split(/,/).length>1&&f(Error(\"Compound selectors not"
|
| + " permitted\"));var a=q(a),c=b.querySelector(a);return c&&c.nodeType==1?c:"
|
| + "k},b:function(a,b){a||f(Error(\"No selector specified\"));a.split(/,/).le"
|
| + "ngth>1&&f(Error(\"Compound selectors not permitted\"));a=q(a);return b.qu"
|
| + "erySelectorAll(a)}},id:{d:function(a,b){var c=D(b),d=n(a)?c.j.getElementB"
|
| + "yId(a):a;if(!d)return k;if(Q(d,\"id\")==a&&H(b,d))return d;c=I(c,\"*\");r"
|
| + "eturn B(c,function(c){return Q(c,\n\"id\")==a&&H(b,c)})},b:function(a,b){"
|
| + "var c=I(D(b),\"*\",k,b);return A(c,function(b){return Q(b,\"id\")==a})}},"
|
| + "linkText:W,name:{d:function(a,b){var c=I(D(b),\"*\",k,b);return B(c,funct"
|
| + "ion(b){return Q(b,\"name\")==a})},b:function(a,b){var c=I(D(b),\"*\",k,b)"
|
| + ";return A(c,function(b){return Q(b,\"name\")==a})}},partialLinkText:X,tag"
|
| + "Name:{d:function(a,b){return b.getElementsByTagName(a)[0]||k},b:function("
|
| + "a,b){return b.getElementsByTagName(a)}},xpath:K};function Da(a,b){var c;a"
|
| + ":{for(c in a)if(!Object.prototype[c])break a;c=k}if(c){var d=Ca[c];if(d&&"
|
| + "m(d.b)==\"function\")return d.b(a[c],b||ha.document)}f(Error(\"Unsupporte"
|
| + "d locator strategy: \"+c))}var Y=\"_\".split(\".\"),Z=l;!(Y[0]in Z)&&Z.ex"
|
| + "ecScript&&Z.execScript(\"var \"+Y[0]);for(var $;Y.length&&($=Y.shift());)"
|
| + "!Y.length&&Da!==i?Z[$]=Da:Z=Z[$]?Z[$]:Z[$]={};; return this._.apply(null,"
|
| + "arguments);}.apply({navigator:typeof window!='undefined'?window.navigator"
|
| + ":null}, arguments);}";
|
|
|
| const char* const GET_ATTRIBUTE =
|
| "function(){return function(){var f=null;\nfunction g(a){var c=typeof a;if"
|
| @@ -1042,11 +1070,11 @@ const char* const GET_ATTRIBUTE =
|
| "tyIsEnumerable!=\"undefined\"&&!a.propertyIsEnumerable(\"call\"))return\""
|
| "function\"}else return\"null\";else if(c==\n\"function\"&&typeof a.call=="
|
| "\"undefined\")return\"object\";return c}function h(a,c){function b(){}b.p"
|
| - "rototype=c.prototype;a.g=c.prototype;a.prototype=new b};function i(a){thi"
|
| - "s.stack=Error().stack||\"\";if(a)this.message=String(a)}h(i,Error);functi"
|
| - "on j(a){for(var c=1;c<arguments.length;c++)var b=String(arguments[c]).rep"
|
| - "lace(/\\$/g,\"$$$$\"),a=a.replace(/\\%s/,b);return a};h(function(a,c){c.u"
|
| - "nshift(a);i.call(this,j.apply(f,c));c.shift();this.h=a},i);function k(a,c"
|
| + "rototype=c.prototype;a.g=c.prototype;a.prototype=new b};function i(a){for"
|
| + "(var c=1;c<arguments.length;c++)var b=String(arguments[c]).replace(/\\$/g"
|
| + ",\"$$$$\"),a=a.replace(/\\%s/,b);return a};function j(a){this.stack=Error"
|
| + "().stack||\"\";if(a)this.message=String(a)}h(j,Error);h(function(a,c){c.u"
|
| + "nshift(a);j.call(this,i.apply(f,c));c.shift();this.h=a},j);function k(a,c"
|
| "){if(typeof a==\"string\"){if(typeof c!=\"string\"||c.length!=1)return-1;"
|
| "return a.indexOf(c,0)}for(var b=0;b<a.length;b++)if(b in a&&a[b]===c)retu"
|
| "rn b;return-1};var l=\"StopIteration\"in this?this.StopIteration:Error(\""
|
| @@ -1099,20 +1127,20 @@ const char* const GET_ATTRIBUTE =
|
|
|
| const char* const GET_EFFECTIVE_STYLE =
|
| "function(){return function(){var e=null;function f(a,c){function b(){}b.p"
|
| - "rototype=c.prototype;a.g=c.prototype;a.prototype=new b};function g(a){thi"
|
| - "s.stack=Error().stack||\"\";if(a)this.message=String(a)}f(g,Error);functi"
|
| - "on h(a){for(var c=1;c<arguments.length;c++)var b=String(arguments[c]).rep"
|
| - "lace(/\\$/g,\"$$$$\"),a=a.replace(/\\%s/,b);return a}var i={};function j("
|
| - "a){return i[a]||(i[a]=String(a).replace(/\\-([a-z])/g,function(a,b){retur"
|
| - "n b.toUpperCase()}))};f(function(a,c){c.unshift(a);g.call(this,h.apply(e,"
|
| - "c));c.shift();this.f=a},g);function k(a,c,b,d,m){this.b=!!c;if(a&&(this.a"
|
| + "rototype=c.prototype;a.g=c.prototype;a.prototype=new b};function g(a){for"
|
| + "(var c=1;c<arguments.length;c++)var b=String(arguments[c]).replace(/\\$/g"
|
| + ",\"$$$$\"),a=a.replace(/\\%s/,b);return a}var h={};function i(a){return h"
|
| + "[a]||(h[a]=String(a).replace(/\\-([a-z])/g,function(a,b){return b.toUpper"
|
| + "Case()}))};function j(a){this.stack=Error().stack||\"\";if(a)this.message"
|
| + "=String(a)}f(j,Error);f(function(a,c){c.unshift(a);j.call(this,g.apply(e,"
|
| + "c));c.shift();this.f=a},j);function k(a,c,b,d,m){this.b=!!c;if(a&&(this.a"
|
| "=a))this.c=typeof d==\"number\"?d:this.a.nodeType!=1?0:this.b?-1:1;this.d"
|
| "=m!=void 0?m:this.c||0;this.b&&(this.d*=-1);this.e=!b}f(k,function(){});k"
|
| ".prototype.a=e;k.prototype.c=0;f(function(a,c,b,d){k.call(this,a,c,b,e,d)"
|
| "},k);function l(a,c){var b=(a.currentStyle||a.style)[c];if(b!=\"inherit\""
|
| ")return b!==void 0?b:e;for(b=a.parentNode;b&&b.nodeType!=1&&b.nodeType!=9"
|
| "&&b.nodeType!=11;)b=b.parentNode;return(b=b&&b.nodeType==1?b:e)?l(b,c):e}"
|
| - ";function n(a,c){var c=j(String(c)),b;a:{b=c;var d=a.nodeType==9?a:a.owne"
|
| + ";function n(a,c){var c=i(String(c)),b;a:{b=c;var d=a.nodeType==9?a:a.owne"
|
| "rDocument||a.document;if(d.defaultView&&d.defaultView.getComputedStyle&&("
|
| "d=d.defaultView.getComputedStyle(a,e))){b=d[b]||d.getPropertyValue(b);bre"
|
| "ak a}b=\"\"}return b||l(a,c)}var o=\"_\".split(\".\"),p=this;!(o[0]in p)&"
|
| @@ -1178,7 +1206,7 @@ const char* const GET_SIZE =
|
| "rguments);}";
|
|
|
| const char* const GET_TEXT =
|
| - "function(){return function(){var f=void 0,g=null;\nfunction h(a){var b=ty"
|
| + "function(){return function(){var f=void 0,g=null;\nfunction j(a){var b=ty"
|
| "peof a;if(b==\"object\")if(a){if(a instanceof Array)return\"array\";else "
|
| "if(a instanceof Object)return b;var c=Object.prototype.toString.call(a);i"
|
| "f(c==\"[object Window]\")return\"object\";if(c==\"[object Array]\"||typeo"
|
| @@ -1187,116 +1215,118 @@ const char* const GET_TEXT =
|
| "array\";if(c==\"[object Function]\"||typeof a.call!=\"undefined\"&&typeof"
|
| " a.propertyIsEnumerable!=\"undefined\"&&!a.propertyIsEnumerable(\"call\")"
|
| ")return\"function\"}else return\"null\";else if(b==\n\"function\"&&typeof"
|
| - " a.call==\"undefined\")return\"object\";return b}function i(a){return typ"
|
| - "eof a==\"string\"}function k(a,b){function c(){}c.prototype=b.prototype;a"
|
| - ".g=b.prototype;a.prototype=new c};var l=window;function m(a){this.stack=E"
|
| - "rror().stack||\"\";if(a)this.message=String(a)}k(m,Error);m.prototype.nam"
|
| - "e=\"CustomError\";function n(a){var b=a.length-1;return b>=0&&a.indexOf("
|
| - "\" \",b)==b}function o(a){for(var b=1;b<arguments.length;b++)var c=String"
|
| - "(arguments[b]).replace(/\\$/g,\"$$$$\"),a=a.replace(/\\%s/,c);return a}fu"
|
| - "nction p(a){return a.replace(/^[\\s\\xa0]+|[\\s\\xa0]+$/g,\"\")}var q={};"
|
| - "function r(a){return q[a]||(q[a]=String(a).replace(/\\-([a-z])/g,function"
|
| - "(a,c){return c.toUpperCase()}))};function s(a,b){b.unshift(a);m.call(this"
|
| - ",o.apply(g,b));b.shift();this.h=a}k(s,m);s.prototype.name=\"AssertionErro"
|
| - "r\";function t(a,b){if(i(a)){if(!i(b)||b.length!=1)return-1;return a.inde"
|
| - "xOf(b,0)}for(var c=0;c<a.length;c++)if(c in a&&a[c]===b)return c;return-1"
|
| - "}function u(a,b){for(var c=a.length,e=i(a)?a.split(\"\"):a,d=0;d<c;d++)d "
|
| - "in e&&b.call(f,e[d],d,a)}function w(a,b){for(var c=a.length,e=i(a)?a.spli"
|
| - "t(\"\"):a,d=0;d<c;d++)if(d in e&&b.call(f,e[d],d,a))return!0;return!1};va"
|
| - "r x=!0,z;x&&(z=/WebKit\\/(\\S+)/);z&&z.exec(this.navigator?this.navigator"
|
| - ".userAgent:g);function A(a,b){this.width=a;this.height=b}A.prototype.toSt"
|
| - "ring=function(){return\"(\"+this.width+\" x \"+this.height+\")\"};functio"
|
| - "n B(a){return a.nodeType==9?a:a.ownerDocument||a.document}function C(a,b)"
|
| - "{var c=[];return D(a,b,c,!0)?c[0]:f}function D(a,b,c,e){if(a!=g)for(var d"
|
| - "=0,j;j=a.childNodes[d];d++){if(b(j)&&(c.push(j),e))return!0;if(D(j,b,c,e)"
|
| - ")return!0}return!1}function E(a,b){for(var a=a.parentNode,c=0;a;){if(b(a)"
|
| - ")return a;a=a.parentNode;c++}return g};function F(a,b){var c=function(a,b"
|
| - "){var c=B(a);if(a.selectSingleNode)return c.setProperty&&c.setProperty(\""
|
| - "SelectionLanguage\",\"XPath\"),a.selectSingleNode(b);c=B(a);if(c.implemen"
|
| - "tation.hasFeature(\"XPath\",\"3.0\"))var y=c.createNSResolver(c.documentE"
|
| - "lement),c=c.evaluate(b,a,y,9,g);else c=g;return c?c.singleNodeValue:g}(b,"
|
| - "a);if(!c)return g;if(c.nodeType!=1)throw Error(\"Returned node is not an "
|
| - "element: \"+a);return c};var G=\"StopIteration\"in this?this.StopIteratio"
|
| - "n:Error(\"StopIteration\");function H(){}H.prototype.next=function(){thro"
|
| - "w G;};function I(a,b,c,e,d){this.a=!!b;a&&J(this,a,e);this.d=d!=f?d:this."
|
| - "c||0;this.a&&(this.d*=-1);this.f=!c}k(I,H);I.prototype.b=g;I.prototype.c="
|
| - "0;I.prototype.e=!1;function J(a,b,c){if(a.b=b)a.c=typeof c==\"number\"?c:"
|
| - "a.b.nodeType!=1?0:a.a?-1:1}\nI.prototype.next=function(){var a;if(this.e)"
|
| - "{if(!this.b||this.f&&this.d==0)throw G;a=this.b;var b=this.a?-1:1;if(this"
|
| - ".c==b){var c=this.a?a.lastChild:a.firstChild;c?J(this,c):J(this,a,b*-1)}e"
|
| - "lse(c=this.a?a.previousSibling:a.nextSibling)?J(this,c):J(this,a.parentNo"
|
| - "de,b*-1);this.d+=this.c*(this.a?-1:1)}else this.e=!0;a=this.b;if(!this.b)"
|
| - "throw G;return a};\nI.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;"
|
| - "I.prototype.next.call(this);this.a=!this.a;for(var b=arguments[0],c=h(b),"
|
| - "b=c==\"array\"||c==\"object\"&&typeof b.length==\"number\"?arguments[0]:a"
|
| - "rguments,c=b.length-1;c>=0;c--)a.parentNode&&a.parentNode.insertBefore(b["
|
| - "c],a.nextSibling);a&&a.parentNode&&a.parentNode.removeChild(a)};function "
|
| - "K(a,b,c,e){I.call(this,a,b,c,g,e)}k(K,I);K.prototype.next=function(){do K"
|
| - ".g.next.call(this);while(this.c==-1);return this.b};function L(a,b){var c"
|
| - "=B(a);if(c.defaultView&&c.defaultView.getComputedStyle&&(c=c.defaultView."
|
| - "getComputedStyle(a,g)))return c[b]||c.getPropertyValue(b);return\"\"};fun"
|
| - "ction M(a,b){return!!a&&a.nodeType==1&&(!b||a.tagName.toUpperCase()==b)}"
|
| - "\nvar N=[\"async\",\"autofocus\",\"autoplay\",\"checked\",\"compact\",\"c"
|
| - "omplete\",\"controls\",\"declare\",\"defaultchecked\",\"defaultselected\""
|
| - ",\"defer\",\"disabled\",\"draggable\",\"ended\",\"formnovalidate\",\"hidd"
|
| - "en\",\"indeterminate\",\"iscontenteditable\",\"ismap\",\"itemscope\",\"lo"
|
| - "op\",\"multiple\",\"muted\",\"nohref\",\"noresize\",\"noshade\",\"novalid"
|
| - "ate\",\"nowrap\",\"open\",\"paused\",\"pubdate\",\"readonly\",\"required"
|
| - "\",\"reversed\",\"scoped\",\"seamless\",\"seeking\",\"selected\",\"spellc"
|
| - "heck\",\"truespeed\",\"willvalidate\"];\nfunction O(a){var b;if(8==a.node"
|
| - "Type)return g;b=\"usemap\";if(b==\"style\")return b=p(a.style.cssText).to"
|
| - "LowerCase(),b.charAt(b.length-1)==\";\"?b:b+\";\";a=a.getAttributeNode(b)"
|
| - ";if(!a)return g;if(t(N,b)>=0)return\"true\";return a.specified?a.value:g}"
|
| - "function P(a){for(a=a.parentNode;a&&a.nodeType!=1&&a.nodeType!=9&&a.nodeT"
|
| - "ype!=11;)a=a.parentNode;return M(a)?a:g}function Q(a,b){b=r(String(b));re"
|
| - "turn L(a,b)||R(a,b)}\nfunction R(a,b){var c=(a.currentStyle||a.style)[b];"
|
| - "if(c!=\"inherit\")return c!==f?c:g;return(c=P(a))?R(c,b):g}\nfunction aa("
|
| - "a){if(h(a.getBBox)==\"function\")return a.getBBox();var b;if((L(a,\"displ"
|
| - "ay\")||(a.currentStyle?a.currentStyle.display:g)||a.style.display)!=\"non"
|
| - "e\")b=new A(a.offsetWidth,a.offsetHeight);else{b=a.style;var c=b.display,"
|
| - "e=b.visibility,d=b.position;b.visibility=\"hidden\";b.position=\"absolute"
|
| - "\";b.display=\"inline\";var j=a.offsetWidth,a=a.offsetHeight;b.display=c;"
|
| - "b.position=d;b.visibility=e;b=new A(j,a)}return b}\nfunction S(a,b){funct"
|
| - "ion c(a){if(Q(a,\"display\")==\"none\")return!1;a=P(a);return!a||c(a)}fun"
|
| - "ction e(a){var b=aa(a);if(b.height>0&&b.width>0)return!0;if(a.innerText||"
|
| - "a.textContent)if(T.test(a.innerText||a.textContent))return!0;return x&&w("
|
| - "a.childNodes,function(a){return M(a)&&e(a)})}if(!M(a))throw Error(\"Argum"
|
| - "ent to isShown must be of type Element\");if(M(a,\"TITLE\"))return(B(a)?B"
|
| - "(a).parentWindow||B(a).defaultView:window)==l;if(M(a,\"OPTION\")||M(a,\"O"
|
| - "PTGROUP\")){var d=E(a,function(a){return M(a,\"SELECT\")});\nreturn!!d&&S"
|
| - "(d,b)}if(M(a,\"MAP\")){if(!a.name)return!1;d=B(a);d=d.evaluate?F('/descen"
|
| - "dant::*[@usemap = \"#'+a.name+'\"]',d):C(d,function(b){return M(b)&&O(b)="
|
| - "=\"#\"+a.name});return!!d&&S(d,b)}if(M(a,\"AREA\"))return d=E(a,function("
|
| - "a){return M(a,\"MAP\")}),!!d&&S(d,b);if(M(a,\"INPUT\")&&a.type.toLowerCas"
|
| - "e()==\"hidden\")return!1;if(Q(a,\"visibility\")==\"hidden\")return!1;if(!"
|
| - "c(a))return!1;if(!b&&U(a)==0)return!1;if(!e(a))return!1;return!0}\nfuncti"
|
| - "on V(a,b){if(M(a,\"BR\"))b.push(\"\");else{var c=Q(a,\"display\"),e=!(t(b"
|
| - "a,c)>=0);e&&b[b.length-1]&&!T.test(b[b.length-1])&&b.push(\"\");var d=S(a"
|
| - ");if(d)var j=Q(a,\"white-space\"),y=Q(a,\"text-transform\");u(a.childNode"
|
| - "s,function(a){a.nodeType==3&&d?ca(a,b,j,y):M(a)&&V(a,b)});var v=b[b.lengt"
|
| - "h-1];c==\"table-cell\"&&v&&!n(v)&&(b[b.length-1]+=\" \");e&&v&&!T.test(v)"
|
| - "&&b.push(\"\")}}\nvar ba=[\"inline\",\"inline-block\",\"inline-table\",\""
|
| - "none\",\"table-cell\",\"table-column\",\"table-column-group\"],W=\"[\\\\s"
|
| - "\\\\xa0\"+String.fromCharCode(160)+\"]+\",da=RegExp(W,\"g\"),T=RegExp(\"^"
|
| - "\"+W+\"$\");\nfunction ca(a,b,c,e){a=a.nodeValue.replace(/(\\r\\n|\\r|\\n"
|
| - ")/g,\"\\n\");a=a.replace(/\\u200b/g,\"\");c==\"normal\"||c==\"nowrap\"?a="
|
| - "a.replace(da,\" \"):c==\"pre-line\"&&(a=a.replace(/\\xa0|[ \\t]+/g,\" \")"
|
| - ");a=a.replace(/\\xa0|\\t/g,\" \");e==\"capitalize\"?a=a.replace(/(^|\\s)("
|
| - "\\S)/g,function(a,b,c){return b+c.toUpperCase()}):e==\"uppercase\"?a=a.to"
|
| - "UpperCase():e==\"lowercase\"&&(a=a.toLowerCase());c=b.pop()||\"\";n(c)&&a"
|
| - ".lastIndexOf(\" \",0)==0&&(a=a.substr(1));b.push(c+a)}\nfunction U(a){var"
|
| - " b=1,c=Q(a,\"opacity\");c&&(b=Number(c));(a=P(a))&&(b*=U(a));return b};fu"
|
| - "nction X(a){var b;a:{for(b=a;b;){if(b.tagName&&b.tagName.toLowerCase()=="
|
| - "\"head\"){b=!0;break a}try{b=b.parentNode}catch(c){break}}b=!1}if(b){b=B("
|
| - "a);if(a.tagName.toUpperCase()==\"TITLE\"&&(b?b.parentWindow||b.defaultVie"
|
| - "w:window)==l.top)return p(b.title);return\"\"}var e=[];V(a,e);a=e.length;"
|
| - "b=Array(a);for(var e=i(e)?e.split(\"\"):e,d=0;d<a;d++)d in e&&(b[d]=p.cal"
|
| - "l(f,e[d]));return p(b.join(\"\\n\"))}var Y=\"_\".split(\".\"),Z=this;!(Y["
|
| - "0]in Z)&&Z.execScript&&Z.execScript(\"var \"+Y[0]);\nfor(var $;Y.length&&"
|
| - "($=Y.shift());)!Y.length&&X!==f?Z[$]=X:Z=Z[$]?Z[$]:Z[$]={};; return this."
|
| - "_.apply(null,arguments);}.apply({navigator:typeof window!='undefined'?win"
|
| - "dow.navigator:null}, arguments);}";
|
| + " a.call==\"undefined\")return\"object\";return b}function k(a){return typ"
|
| + "eof a==\"string\"}function l(a,b){function c(){}c.prototype=b.prototype;a"
|
| + ".g=b.prototype;a.prototype=new c};function m(a){var b=a.length-1;return b"
|
| + ">=0&&a.indexOf(\" \",b)==b}function o(a){for(var b=1;b<arguments.length;b"
|
| + "++)var c=String(arguments[b]).replace(/\\$/g,\"$$$$\"),a=a.replace(/\\%s/"
|
| + ",c);return a}function p(a){return a.replace(/^[\\s\\xa0]+|[\\s\\xa0]+$/g,"
|
| + "\"\")}var q={};function r(a){return q[a]||(q[a]=String(a).replace(/\\-([a"
|
| + "-z])/g,function(a,c){return c.toUpperCase()}))};var s=!0,t;s&&(t=/WebKit"
|
| + "\\/(\\S+)/);t&&t.exec(this.navigator?this.navigator.userAgent:g);var u={}"
|
| + ",v=window;function w(a){this.stack=Error().stack||\"\";if(a)this.message="
|
| + "String(a)}l(w,Error);w.prototype.name=\"CustomError\";function x(a,b){b.u"
|
| + "nshift(a);w.call(this,o.apply(g,b));b.shift();this.j=a}l(x,w);x.prototype"
|
| + ".name=\"AssertionError\";function y(a,b){if(k(a)){if(!k(b)||b.length!=1)r"
|
| + "eturn-1;return a.indexOf(b,0)}for(var c=0;c<a.length;c++)if(c in a&&a[c]="
|
| + "==b)return c;return-1}function z(a,b){for(var c=a.length,e=k(a)?a.split("
|
| + "\"\"):a,d=0;d<c;d++)d in e&&b.call(f,e[d],d,a)}function A(a,b){for(var c="
|
| + "a.length,e=k(a)?a.split(\"\"):a,d=0;d<c;d++)if(d in e&&b.call(f,e[d],d,a)"
|
| + ")return!0;return!1};function B(a,b){this.width=a;this.height=b}B.prototyp"
|
| + "e.toString=function(){return\"(\"+this.width+\" x \"+this.height+\")\"};f"
|
| + "unction C(a){return a.nodeType==9?a:a.ownerDocument||a.document}function "
|
| + "D(a,b){var c=[];return E(a,b,c,!0)?c[0]:f}function E(a,b,c,e){if(a!=g)for"
|
| + "(var d=0,h;h=a.childNodes[d];d++){if(b(h)&&(c.push(h),e))return!0;if(E(h,"
|
| + "b,c,e))return!0}return!1}function F(a,b){for(var a=a.parentNode,c=0;a;){i"
|
| + "f(b(a))return a;a=a.parentNode;c++}return g};function G(a,b){var c=functi"
|
| + "on(b,c){var h=C(b);if(b.selectSingleNode)return h.setProperty&&h.setPrope"
|
| + "rty(\"SelectionLanguage\",\"XPath\"),b.selectSingleNode(c);try{var n;var "
|
| + "i=C(b);if(i.implementation.hasFeature(\"XPath\",\"3.0\")){var $=i.createN"
|
| + "SResolver(i.documentElement);n=i.evaluate(c,b,$,9,g)}else n=g;return n?n."
|
| + "singleNodeValue:g}catch(ga){throw Error(u.h.i,\"Unable to locate an eleme"
|
| + "nt with the xpath expression \"+a);}}(b,a);if(!c)return g;if(c.nodeType!="
|
| + "1)throw Error(\"Returned node is not an element: \"+\na);return c};var H="
|
| + "\"StopIteration\"in this?this.StopIteration:Error(\"StopIteration\");func"
|
| + "tion I(){}I.prototype.next=function(){throw H;};function J(a,b,c,e,d){thi"
|
| + "s.a=!!b;a&&K(this,a,e);this.d=d!=f?d:this.c||0;this.a&&(this.d*=-1);this."
|
| + "f=!c}l(J,I);J.prototype.b=g;J.prototype.c=0;J.prototype.e=!1;function K(a"
|
| + ",b,c){if(a.b=b)a.c=typeof c==\"number\"?c:a.b.nodeType!=1?0:a.a?-1:1}\nJ."
|
| + "prototype.next=function(){var a;if(this.e){if(!this.b||this.f&&this.d==0)"
|
| + "throw H;a=this.b;var b=this.a?-1:1;if(this.c==b){var c=this.a?a.lastChild"
|
| + ":a.firstChild;c?K(this,c):K(this,a,b*-1)}else(c=this.a?a.previousSibling:"
|
| + "a.nextSibling)?K(this,c):K(this,a.parentNode,b*-1);this.d+=this.c*(this.a"
|
| + "?-1:1)}else this.e=!0;a=this.b;if(!this.b)throw H;return a};\nJ.prototype"
|
| + ".splice=function(){var a=this.b,b=this.a?1:-1;if(this.c==b)this.c=b*-1,th"
|
| + "is.d+=this.c*(this.a?-1:1);this.a=!this.a;J.prototype.next.call(this);thi"
|
| + "s.a=!this.a;for(var b=arguments[0],c=j(b),b=c==\"array\"||c==\"object\"&&"
|
| + "typeof b.length==\"number\"?arguments[0]:arguments,c=b.length-1;c>=0;c--)"
|
| + "a.parentNode&&a.parentNode.insertBefore(b[c],a.nextSibling);a&&a.parentNo"
|
| + "de&&a.parentNode.removeChild(a)};function L(a,b,c,e){J.call(this,a,b,c,g,"
|
| + "e)}l(L,J);L.prototype.next=function(){do L.g.next.call(this);while(this.c"
|
| + "==-1);return this.b};function M(a,b){var c=C(a);if(c.defaultView&&c.defau"
|
| + "ltView.getComputedStyle&&(c=c.defaultView.getComputedStyle(a,g)))return c"
|
| + "[b]||c.getPropertyValue(b);return\"\"};function N(a,b){return!!a&&a.nodeT"
|
| + "ype==1&&(!b||a.tagName.toUpperCase()==b)}\nvar aa=[\"async\",\"autofocus"
|
| + "\",\"autoplay\",\"checked\",\"compact\",\"complete\",\"controls\",\"decla"
|
| + "re\",\"defaultchecked\",\"defaultselected\",\"defer\",\"disabled\",\"drag"
|
| + "gable\",\"ended\",\"formnovalidate\",\"hidden\",\"indeterminate\",\"iscon"
|
| + "tenteditable\",\"ismap\",\"itemscope\",\"loop\",\"multiple\",\"muted\",\""
|
| + "nohref\",\"noresize\",\"noshade\",\"novalidate\",\"nowrap\",\"open\",\"pa"
|
| + "used\",\"pubdate\",\"readonly\",\"required\",\"reversed\",\"scoped\",\"se"
|
| + "amless\",\"seeking\",\"selected\",\"spellcheck\",\"truespeed\",\"willvali"
|
| + "date\"];\nfunction ba(a){var b;if(8==a.nodeType)return g;b=\"usemap\";if("
|
| + "b==\"style\")return b=p(a.style.cssText).toLowerCase(),b.charAt(b.length-"
|
| + "1)==\";\"?b:b+\";\";a=a.getAttributeNode(b);if(!a)return g;if(y(aa,b)>=0)"
|
| + "return\"true\";return a.specified?a.value:g}function O(a){for(a=a.parentN"
|
| + "ode;a&&a.nodeType!=1&&a.nodeType!=9&&a.nodeType!=11;)a=a.parentNode;retur"
|
| + "n N(a)?a:g}function P(a,b){b=r(String(b));return M(a,b)||Q(a,b)}\nfunctio"
|
| + "n Q(a,b){var c=(a.currentStyle||a.style)[b];if(c!=\"inherit\")return c!=="
|
| + "f?c:g;return(c=O(a))?Q(c,b):g}\nfunction ca(a){if(j(a.getBBox)==\"functio"
|
| + "n\")return a.getBBox();var b;if((M(a,\"display\")||(a.currentStyle?a.curr"
|
| + "entStyle.display:g)||a.style.display)!=\"none\")b=new B(a.offsetWidth,a.o"
|
| + "ffsetHeight);else{b=a.style;var c=b.display,e=b.visibility,d=b.position;b"
|
| + ".visibility=\"hidden\";b.position=\"absolute\";b.display=\"inline\";var h"
|
| + "=a.offsetWidth,a=a.offsetHeight;b.display=c;b.position=d;b.visibility=e;b"
|
| + "=new B(h,a)}return b}\nfunction R(a,b){function c(a){if(P(a,\"display\")="
|
| + "=\"none\")return!1;a=O(a);return!a||c(a)}function e(a){var b=ca(a);if(b.h"
|
| + "eight>0&&b.width>0)return!0;if(a.innerText||a.textContent)if(S.test(a.inn"
|
| + "erText||a.textContent))return!0;return s&&A(a.childNodes,function(a){retu"
|
| + "rn N(a)&&e(a)})}if(!N(a))throw Error(\"Argument to isShown must be of typ"
|
| + "e Element\");if(N(a,\"TITLE\"))return(C(a)?C(a).parentWindow||C(a).defaul"
|
| + "tView:window)==v;if(N(a,\"OPTION\")||N(a,\"OPTGROUP\")){var d=F(a,functio"
|
| + "n(a){return N(a,\"SELECT\")});\nreturn!!d&&R(d,b)}if(N(a,\"MAP\")){if(!a."
|
| + "name)return!1;d=C(a);d=d.evaluate?G('/descendant::*[@usemap = \"#'+a.name"
|
| + "+'\"]',d):D(d,function(b){return N(b)&&ba(b)==\"#\"+a.name});return!!d&&R"
|
| + "(d,b)}if(N(a,\"AREA\"))return d=F(a,function(a){return N(a,\"MAP\")}),!!d"
|
| + "&&R(d,b);if(N(a,\"INPUT\")&&a.type.toLowerCase()==\"hidden\")return!1;if("
|
| + "P(a,\"visibility\")==\"hidden\")return!1;if(!c(a))return!1;if(!b&&T(a)==0"
|
| + ")return!1;if(!e(a))return!1;return!0}\nfunction U(a,b){if(N(a,\"BR\"))b.p"
|
| + "ush(\"\");else{var c=P(a,\"display\"),e=!(y(da,c)>=0);e&&b[b.length-1]&&!"
|
| + "S.test(b[b.length-1])&&b.push(\"\");var d=R(a);if(d)var h=P(a,\"white-spa"
|
| + "ce\"),n=P(a,\"text-transform\");z(a.childNodes,function(a){a.nodeType==3&"
|
| + "&d?ea(a,b,h,n):N(a)&&U(a,b)});var i=b[b.length-1];c==\"table-cell\"&&i&&!"
|
| + "m(i)&&(b[b.length-1]+=\" \");e&&i&&!S.test(i)&&b.push(\"\")}}\nvar da=[\""
|
| + "inline\",\"inline-block\",\"inline-table\",\"none\",\"table-cell\",\"tabl"
|
| + "e-column\",\"table-column-group\"],V=\"[\\\\s\\\\xa0\"+String.fromCharCod"
|
| + "e(160)+\"]+\",fa=RegExp(V,\"g\"),S=RegExp(\"^\"+V+\"$\");\nfunction ea(a,"
|
| + "b,c,e){a=a.nodeValue.replace(/(\\r\\n|\\r|\\n)/g,\"\\n\");a=a.replace(/"
|
| + "\\u200b/g,\"\");c==\"normal\"||c==\"nowrap\"?a=a.replace(fa,\" \"):c==\"p"
|
| + "re-line\"&&(a=a.replace(/\\xa0|[ \\t]+/g,\" \"));a=a.replace(/\\xa0|\\t/g"
|
| + ",\" \");e==\"capitalize\"?a=a.replace(/(^|\\s)(\\S)/g,function(a,b,c){ret"
|
| + "urn b+c.toUpperCase()}):e==\"uppercase\"?a=a.toUpperCase():e==\"lowercase"
|
| + "\"&&(a=a.toLowerCase());c=b.pop()||\"\";m(c)&&a.lastIndexOf(\" \",0)==0&&"
|
| + "(a=a.substr(1));b.push(c+a)}\nfunction T(a){var b=1,c=P(a,\"opacity\");c&"
|
| + "&(b=Number(c));(a=O(a))&&(b*=T(a));return b};function W(a){var b;a:{for(b"
|
| + "=a;b;){if(b.tagName&&b.tagName.toLowerCase()==\"head\"){b=!0;break a}try{"
|
| + "b=b.parentNode}catch(c){break}}b=!1}if(b){b=C(a);if(a.tagName.toUpperCase"
|
| + "()==\"TITLE\"&&(b?b.parentWindow||b.defaultView:window)==v.top)return p(b"
|
| + ".title);return\"\"}var e=[];U(a,e);a=e.length;b=Array(a);for(var e=k(e)?e"
|
| + ".split(\"\"):e,d=0;d<a;d++)d in e&&(b[d]=p.call(f,e[d]));return p(b.join("
|
| + "\"\\n\"))}var X=\"_\".split(\".\"),Y=this;!(X[0]in Y)&&Y.execScript&&Y.ex"
|
| + "ecScript(\"var \"+X[0]);\nfor(var Z;X.length&&(Z=X.shift());)!X.length&&W"
|
| + "!==f?Y[Z]=W:Y=Y[Z]?Y[Z]:Y[Z]={};; return this._.apply(null,arguments);}.a"
|
| + "pply({navigator:typeof window!='undefined'?window.navigator:null}, argume"
|
| + "nts);}";
|
|
|
| const char* const IS_DISPLAYED =
|
| "function(){return function(){var e=null;\nfunction g(a){var b=typeof a;if"
|
| @@ -1308,102 +1338,104 @@ const char* const IS_DISPLAYED =
|
| "f(c==\"[object Function]\"||typeof a.call!=\"undefined\"&&typeof a.proper"
|
| "tyIsEnumerable!=\"undefined\"&&!a.propertyIsEnumerable(\"call\"))return\""
|
| "function\"}else return\"null\";else if(b==\n\"function\"&&typeof a.call=="
|
| - "\"undefined\")return\"object\";return b}function h(a,b){function c(){}c.p"
|
| - "rototype=b.prototype;a.g=b.prototype;a.prototype=new c};var i=window;func"
|
| - "tion j(a){this.stack=Error().stack||\"\";if(a)this.message=String(a)}h(j,"
|
| - "Error);j.prototype.name=\"CustomError\";function l(a){for(var b=1;b<argum"
|
| - "ents.length;b++)var c=String(arguments[b]).replace(/\\$/g,\"$$$$\"),a=a.r"
|
| - "eplace(/\\%s/,c);return a}var m={};function n(a){return m[a]||(m[a]=Strin"
|
| - "g(a).replace(/\\-([a-z])/g,function(a,c){return c.toUpperCase()}))};funct"
|
| - "ion o(a,b){b.unshift(a);j.call(this,l.apply(e,b));b.shift();this.h=a}h(o,"
|
| - "j);o.prototype.name=\"AssertionError\";function p(a){var b=q;if(typeof b="
|
| - "=\"string\"){if(typeof a!=\"string\"||a.length!=1)return-1;return b.index"
|
| - "Of(a,0)}for(var c=0;c<b.length;c++)if(c in b&&b[c]===a)return c;return-1}"
|
| - "function r(a,b){for(var c=a.length,f=typeof a==\"string\"?a.split(\"\"):a"
|
| - ",d=0;d<c;d++)if(d in f&&b.call(void 0,f[d],d,a))return!0;return!1};var s="
|
| - "!0,t;s&&(t=/WebKit\\/(\\S+)/);t&&t.exec(this.navigator?this.navigator.use"
|
| - "rAgent:e);function u(a,b){this.width=a;this.height=b}u.prototype.toString"
|
| - "=function(){return\"(\"+this.width+\" x \"+this.height+\")\"};function v("
|
| - "a){return a.nodeType==9?a:a.ownerDocument||a.document}function w(a,b){var"
|
| - " c=[];return x(a,b,c,!0)?c[0]:void 0}function x(a,b,c,f){if(a!=e)for(var "
|
| - "d=0,k;k=a.childNodes[d];d++){if(b(k)&&(c.push(k),f))return!0;if(x(k,b,c,f"
|
| - "))return!0}return!1}function y(a,b){for(var a=a.parentNode,c=0;a;){if(b(a"
|
| - "))return a;a=a.parentNode;c++}return e};function z(a,b){var c=function(a,"
|
| - "b){var c=v(a);if(a.selectSingleNode)return c.setProperty&&c.setProperty("
|
| - "\"SelectionLanguage\",\"XPath\"),a.selectSingleNode(b);c=v(a);if(c.implem"
|
| - "entation.hasFeature(\"XPath\",\"3.0\"))var Q=c.createNSResolver(c.documen"
|
| - "tElement),c=c.evaluate(b,a,Q,9,e);else c=e;return c?c.singleNodeValue:e}("
|
| - "b,a);if(!c)return e;if(c.nodeType!=1)throw Error(\"Returned node is not a"
|
| - "n element: \"+a);return c};var A=\"StopIteration\"in this?this.StopIterat"
|
| - "ion:Error(\"StopIteration\");function B(){}B.prototype.next=function(){th"
|
| - "row A;};function C(a,b,c,f,d){this.a=!!b;a&&D(this,a,f);this.d=d!=void 0?"
|
| - "d:this.c||0;this.a&&(this.d*=-1);this.f=!c}h(C,B);C.prototype.b=e;C.proto"
|
| - "type.c=0;C.prototype.e=!1;function D(a,b,c){if(a.b=b)a.c=typeof c==\"numb"
|
| - "er\"?c:a.b.nodeType!=1?0:a.a?-1:1}\nC.prototype.next=function(){var a;if("
|
| - "this.e){if(!this.b||this.f&&this.d==0)throw A;a=this.b;var b=this.a?-1:1;"
|
| - "if(this.c==b){var c=this.a?a.lastChild:a.firstChild;c?D(this,c):D(this,a,"
|
| - "b*-1)}else(c=this.a?a.previousSibling:a.nextSibling)?D(this,c):D(this,a.p"
|
| - "arentNode,b*-1);this.d+=this.c*(this.a?-1:1)}else this.e=!0;a=this.b;if(!"
|
| - "this.b)throw A;return a};\nC.prototype.splice=function(){var a=this.b,b=t"
|
| - "his.a?1:-1;if(this.c==b)this.c=b*-1,this.d+=this.c*(this.a?-1:1);this.a=!"
|
| - "this.a;C.prototype.next.call(this);this.a=!this.a;for(var b=arguments[0],"
|
| - "c=g(b),b=c==\"array\"||c==\"object\"&&typeof b.length==\"number\"?argumen"
|
| - "ts[0]:arguments,c=b.length-1;c>=0;c--)a.parentNode&&a.parentNode.insertBe"
|
| - "fore(b[c],a.nextSibling);a&&a.parentNode&&a.parentNode.removeChild(a)};fu"
|
| - "nction E(a,b,c,f){C.call(this,a,b,c,e,f)}h(E,C);E.prototype.next=function"
|
| - "(){do E.g.next.call(this);while(this.c==-1);return this.b};function F(a,b"
|
| - "){var c=v(a);if(c.defaultView&&c.defaultView.getComputedStyle&&(c=c.defau"
|
| - "ltView.getComputedStyle(a,e)))return c[b]||c.getPropertyValue(b);return\""
|
| - "\"};function G(a,b){return!!a&&a.nodeType==1&&(!b||a.tagName.toUpperCase("
|
| - ")==b)}\nvar q=[\"async\",\"autofocus\",\"autoplay\",\"checked\",\"compact"
|
| - "\",\"complete\",\"controls\",\"declare\",\"defaultchecked\",\"defaultsele"
|
| - "cted\",\"defer\",\"disabled\",\"draggable\",\"ended\",\"formnovalidate\","
|
| - "\"hidden\",\"indeterminate\",\"iscontenteditable\",\"ismap\",\"itemscope"
|
| - "\",\"loop\",\"multiple\",\"muted\",\"nohref\",\"noresize\",\"noshade\",\""
|
| - "novalidate\",\"nowrap\",\"open\",\"paused\",\"pubdate\",\"readonly\",\"re"
|
| - "quired\",\"reversed\",\"scoped\",\"seamless\",\"seeking\",\"selected\",\""
|
| - "spellcheck\",\"truespeed\",\"willvalidate\"];\nfunction H(a){var b;if(8=="
|
| - "a.nodeType)return e;b=\"usemap\";if(b==\"style\")return b=a.style.cssText"
|
| - ".replace(/^[\\s\\xa0]+|[\\s\\xa0]+$/g,\"\").toLowerCase(),b.charAt(b.leng"
|
| - "th-1)==\";\"?b:b+\";\";a=a.getAttributeNode(b);if(!a)return e;if(p(b)>=0)"
|
| - "return\"true\";return a.specified?a.value:e}function I(a){for(a=a.parentN"
|
| - "ode;a&&a.nodeType!=1&&a.nodeType!=9&&a.nodeType!=11;)a=a.parentNode;retur"
|
| - "n G(a)?a:e}function J(a,b){b=n(String(b));return F(a,b)||K(a,b)}\nfunctio"
|
| - "n K(a,b){var c=(a.currentStyle||a.style)[b];if(c!=\"inherit\")return c!=="
|
| - "void 0?c:e;return(c=I(a))?K(c,b):e}\nfunction L(a){if(g(a.getBBox)==\"fun"
|
| - "ction\")return a.getBBox();var b;if((F(a,\"display\")||(a.currentStyle?a."
|
| - "currentStyle.display:e)||a.style.display)!=\"none\")b=new u(a.offsetWidth"
|
| - ",a.offsetHeight);else{b=a.style;var c=b.display,f=b.visibility,d=b.positi"
|
| - "on;b.visibility=\"hidden\";b.position=\"absolute\";b.display=\"inline\";v"
|
| - "ar k=a.offsetWidth,a=a.offsetHeight;b.display=c;b.position=d;b.visibility"
|
| - "=f;b=new u(k,a)}return b}\nfunction M(a,b){function c(a){if(J(a,\"display"
|
| - "\")==\"none\")return!1;a=I(a);return!a||c(a)}function f(a){var b=L(a);if("
|
| - "b.height>0&&b.width>0)return!0;if(a.innerText||a.textContent)if(N.test(a."
|
| - "innerText||a.textContent))return!0;return s&&r(a.childNodes,function(a){r"
|
| - "eturn G(a)&&f(a)})}if(!G(a))throw Error(\"Argument to isShown must be of "
|
| - "type Element\");if(G(a,\"TITLE\"))return(v(a)?v(a).parentWindow||v(a).def"
|
| - "aultView:window)==i;if(G(a,\"OPTION\")||G(a,\"OPTGROUP\")){var d=y(a,func"
|
| - "tion(a){return G(a,\"SELECT\")});\nreturn!!d&&M(d,b)}if(G(a,\"MAP\")){if("
|
| - "!a.name)return!1;d=v(a);d=d.evaluate?z('/descendant::*[@usemap = \"#'+a.n"
|
| - "ame+'\"]',d):w(d,function(b){return G(b)&&H(b)==\"#\"+a.name});return!!d&"
|
| - "&M(d,b)}if(G(a,\"AREA\"))return d=y(a,function(a){return G(a,\"MAP\")}),!"
|
| - "!d&&M(d,b);if(G(a,\"INPUT\")&&a.type.toLowerCase()==\"hidden\")return!1;i"
|
| - "f(J(a,\"visibility\")==\"hidden\")return!1;if(!c(a))return!1;if(!b&&O(a)="
|
| - "=0)return!1;if(!f(a))return!1;return!0}var N=RegExp(\"^\"+(\"[\\\\s\\\\xa"
|
| - "0\"+String.fromCharCode(160)+\"]+\")+\"$\");\nfunction O(a){var b=1,c=J(a"
|
| - ",\"opacity\");c&&(b=Number(c));(a=I(a))&&(b*=O(a));return b};var P=M,R=\""
|
| - "_\".split(\".\"),S=this;!(R[0]in S)&&S.execScript&&S.execScript(\"var \"+"
|
| - "R[0]);for(var T;R.length&&(T=R.shift());)!R.length&&P!==void 0?S[T]=P:S=S"
|
| - "[T]?S[T]:S[T]={};; return this._.apply(null,arguments);}.apply({navigator"
|
| - ":typeof window!='undefined'?window.navigator:null}, arguments);}";
|
| + "\"undefined\")return\"object\";return b}function i(a,b){function c(){}c.p"
|
| + "rototype=b.prototype;a.g=b.prototype;a.prototype=new c};function j(a){for"
|
| + "(var b=1;b<arguments.length;b++)var c=String(arguments[b]).replace(/\\$/g"
|
| + ",\"$$$$\"),a=a.replace(/\\%s/,c);return a}var k={};function l(a){return k"
|
| + "[a]||(k[a]=String(a).replace(/\\-([a-z])/g,function(a,c){return c.toUpper"
|
| + "Case()}))};var m=!0,n;m&&(n=/WebKit\\/(\\S+)/);n&&n.exec(this.navigator?t"
|
| + "his.navigator.userAgent:e);var o={},p=window;function s(a){this.stack=Err"
|
| + "or().stack||\"\";if(a)this.message=String(a)}i(s,Error);s.prototype.name="
|
| + "\"CustomError\";function t(a,b){b.unshift(a);s.call(this,j.apply(e,b));b."
|
| + "shift();this.j=a}i(t,s);t.prototype.name=\"AssertionError\";function u(a)"
|
| + "{var b=v;if(typeof b==\"string\"){if(typeof a!=\"string\"||a.length!=1)re"
|
| + "turn-1;return b.indexOf(a,0)}for(var c=0;c<b.length;c++)if(c in b&&b[c]=="
|
| + "=a)return c;return-1}function w(a,b){for(var c=a.length,f=typeof a==\"str"
|
| + "ing\"?a.split(\"\"):a,d=0;d<c;d++)if(d in f&&b.call(void 0,f[d],d,a))retu"
|
| + "rn!0;return!1};function x(a,b){this.width=a;this.height=b}x.prototype.toS"
|
| + "tring=function(){return\"(\"+this.width+\" x \"+this.height+\")\"};functi"
|
| + "on y(a){return a.nodeType==9?a:a.ownerDocument||a.document}function z(a,b"
|
| + "){var c=[];return A(a,b,c,!0)?c[0]:void 0}function A(a,b,c,f){if(a!=e)for"
|
| + "(var d=0,h;h=a.childNodes[d];d++){if(b(h)&&(c.push(h),f))return!0;if(A(h,"
|
| + "b,c,f))return!0}return!1}function B(a,b){for(var a=a.parentNode,c=0;a;){i"
|
| + "f(b(a))return a;a=a.parentNode;c++}return e};function C(a,b){var c=functi"
|
| + "on(b,c){var h=y(b);if(b.selectSingleNode)return h.setProperty&&h.setPrope"
|
| + "rty(\"SelectionLanguage\",\"XPath\"),b.selectSingleNode(c);try{var q;var "
|
| + "r=y(b);if(r.implementation.hasFeature(\"XPath\",\"3.0\")){var T=r.createN"
|
| + "SResolver(r.documentElement);q=r.evaluate(c,b,T,9,e)}else q=e;return q?q."
|
| + "singleNodeValue:e}catch(X){throw Error(o.h.i,\"Unable to locate an elemen"
|
| + "t with the xpath expression \"+a);}}(b,a);if(!c)return e;if(c.nodeType!=1"
|
| + ")throw Error(\"Returned node is not an element: \"+\na);return c};var D="
|
| + "\"StopIteration\"in this?this.StopIteration:Error(\"StopIteration\");func"
|
| + "tion E(){}E.prototype.next=function(){throw D;};function F(a,b,c,f,d){thi"
|
| + "s.a=!!b;a&&G(this,a,f);this.d=d!=void 0?d:this.c||0;this.a&&(this.d*=-1);"
|
| + "this.f=!c}i(F,E);F.prototype.b=e;F.prototype.c=0;F.prototype.e=!1;functio"
|
| + "n G(a,b,c){if(a.b=b)a.c=typeof c==\"number\"?c:a.b.nodeType!=1?0:a.a?-1:1"
|
| + "}\nF.prototype.next=function(){var a;if(this.e){if(!this.b||this.f&&this."
|
| + "d==0)throw D;a=this.b;var b=this.a?-1:1;if(this.c==b){var c=this.a?a.last"
|
| + "Child:a.firstChild;c?G(this,c):G(this,a,b*-1)}else(c=this.a?a.previousSib"
|
| + "ling:a.nextSibling)?G(this,c):G(this,a.parentNode,b*-1);this.d+=this.c*(t"
|
| + "his.a?-1:1)}else this.e=!0;a=this.b;if(!this.b)throw D;return a};\nF.prot"
|
| + "otype.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;F.prototype.next.call(this"
|
| + ");this.a=!this.a;for(var b=arguments[0],c=g(b),b=c==\"array\"||c==\"objec"
|
| + "t\"&&typeof b.length==\"number\"?arguments[0]:arguments,c=b.length-1;c>=0"
|
| + ";c--)a.parentNode&&a.parentNode.insertBefore(b[c],a.nextSibling);a&&a.par"
|
| + "entNode&&a.parentNode.removeChild(a)};function H(a,b,c,f){F.call(this,a,b"
|
| + ",c,e,f)}i(H,F);H.prototype.next=function(){do H.g.next.call(this);while(t"
|
| + "his.c==-1);return this.b};function I(a,b){var c=y(a);if(c.defaultView&&c."
|
| + "defaultView.getComputedStyle&&(c=c.defaultView.getComputedStyle(a,e)))ret"
|
| + "urn c[b]||c.getPropertyValue(b);return\"\"};function J(a,b){return!!a&&a."
|
| + "nodeType==1&&(!b||a.tagName.toUpperCase()==b)}\nvar v=[\"async\",\"autofo"
|
| + "cus\",\"autoplay\",\"checked\",\"compact\",\"complete\",\"controls\",\"de"
|
| + "clare\",\"defaultchecked\",\"defaultselected\",\"defer\",\"disabled\",\"d"
|
| + "raggable\",\"ended\",\"formnovalidate\",\"hidden\",\"indeterminate\",\"is"
|
| + "contenteditable\",\"ismap\",\"itemscope\",\"loop\",\"multiple\",\"muted\""
|
| + ",\"nohref\",\"noresize\",\"noshade\",\"novalidate\",\"nowrap\",\"open\","
|
| + "\"paused\",\"pubdate\",\"readonly\",\"required\",\"reversed\",\"scoped\","
|
| + "\"seamless\",\"seeking\",\"selected\",\"spellcheck\",\"truespeed\",\"will"
|
| + "validate\"];\nfunction K(a){var b;if(8==a.nodeType)return e;b=\"usemap\";"
|
| + "if(b==\"style\")return b=a.style.cssText.replace(/^[\\s\\xa0]+|[\\s\\xa0]"
|
| + "+$/g,\"\").toLowerCase(),b.charAt(b.length-1)==\";\"?b:b+\";\";a=a.getAtt"
|
| + "ributeNode(b);if(!a)return e;if(u(b)>=0)return\"true\";return a.specified"
|
| + "?a.value:e}function L(a){for(a=a.parentNode;a&&a.nodeType!=1&&a.nodeType!"
|
| + "=9&&a.nodeType!=11;)a=a.parentNode;return J(a)?a:e}function M(a,b){b=l(St"
|
| + "ring(b));return I(a,b)||N(a,b)}\nfunction N(a,b){var c=(a.currentStyle||a"
|
| + ".style)[b];if(c!=\"inherit\")return c!==void 0?c:e;return(c=L(a))?N(c,b):"
|
| + "e}\nfunction O(a){if(g(a.getBBox)==\"function\")return a.getBBox();var b;"
|
| + "if((I(a,\"display\")||(a.currentStyle?a.currentStyle.display:e)||a.style."
|
| + "display)!=\"none\")b=new x(a.offsetWidth,a.offsetHeight);else{b=a.style;v"
|
| + "ar c=b.display,f=b.visibility,d=b.position;b.visibility=\"hidden\";b.posi"
|
| + "tion=\"absolute\";b.display=\"inline\";var h=a.offsetWidth,a=a.offsetHeig"
|
| + "ht;b.display=c;b.position=d;b.visibility=f;b=new x(h,a)}return b}\nfuncti"
|
| + "on P(a,b){function c(a){if(M(a,\"display\")==\"none\")return!1;a=L(a);ret"
|
| + "urn!a||c(a)}function f(a){var b=O(a);if(b.height>0&&b.width>0)return!0;if"
|
| + "(a.innerText||a.textContent)if(Q.test(a.innerText||a.textContent))return!"
|
| + "0;return m&&w(a.childNodes,function(a){return J(a)&&f(a)})}if(!J(a))throw"
|
| + " Error(\"Argument to isShown must be of type Element\");if(J(a,\"TITLE\")"
|
| + ")return(y(a)?y(a).parentWindow||y(a).defaultView:window)==p;if(J(a,\"OPTI"
|
| + "ON\")||J(a,\"OPTGROUP\")){var d=B(a,function(a){return J(a,\"SELECT\")});"
|
| + "\nreturn!!d&&P(d,b)}if(J(a,\"MAP\")){if(!a.name)return!1;d=y(a);d=d.evalu"
|
| + "ate?C('/descendant::*[@usemap = \"#'+a.name+'\"]',d):z(d,function(b){retu"
|
| + "rn J(b)&&K(b)==\"#\"+a.name});return!!d&&P(d,b)}if(J(a,\"AREA\"))return d"
|
| + "=B(a,function(a){return J(a,\"MAP\")}),!!d&&P(d,b);if(J(a,\"INPUT\")&&a.t"
|
| + "ype.toLowerCase()==\"hidden\")return!1;if(M(a,\"visibility\")==\"hidden\""
|
| + ")return!1;if(!c(a))return!1;if(!b&&R(a)==0)return!1;if(!f(a))return!1;ret"
|
| + "urn!0}var Q=RegExp(\"^\"+(\"[\\\\s\\\\xa0\"+String.fromCharCode(160)+\"]+"
|
| + "\")+\"$\");\nfunction R(a){var b=1,c=M(a,\"opacity\");c&&(b=Number(c));(a"
|
| + "=L(a))&&(b*=R(a));return b};var S=P,U=\"_\".split(\".\"),V=this;!(U[0]in "
|
| + "V)&&V.execScript&&V.execScript(\"var \"+U[0]);for(var W;U.length&&(W=U.sh"
|
| + "ift());)!U.length&&S!==void 0?V[W]=S:V=V[W]?V[W]:V[W]={};; return this._."
|
| + "apply(null,arguments);}.apply({navigator:typeof window!='undefined'?windo"
|
| + "w.navigator:null}, arguments);}";
|
|
|
| const char* const IS_ENABLED =
|
| "function(){return function(){var d=null;function e(a,b){function c(){}c.p"
|
| - "rototype=b.prototype;a.g=b.prototype;a.prototype=new c};function f(a){thi"
|
| - "s.stack=Error().stack||\"\";if(a)this.message=String(a)}e(f,Error);functi"
|
| - "on g(a){for(var b=1;b<arguments.length;b++)var c=String(arguments[b]).rep"
|
| - "lace(/\\$/g,\"$$$$\"),a=a.replace(/\\%s/,c);return a};e(function(a,b){b.u"
|
| - "nshift(a);f.call(this,g.apply(d,b));b.shift();this.f=a},f);function h(a,b"
|
| + "rototype=b.prototype;a.g=b.prototype;a.prototype=new c};function f(a){for"
|
| + "(var b=1;b<arguments.length;b++)var c=String(arguments[b]).replace(/\\$/g"
|
| + ",\"$$$$\"),a=a.replace(/\\%s/,c);return a};function g(a){this.stack=Error"
|
| + "().stack||\"\";if(a)this.message=String(a)}e(g,Error);e(function(a,b){b.u"
|
| + "nshift(a);g.call(this,f.apply(d,b));b.shift();this.f=a},g);function h(a,b"
|
| "){if(typeof a==\"string\"){if(typeof b!=\"string\"||b.length!=1)return-1;"
|
| "return a.indexOf(b,0)}for(var c=0;c<a.length;c++)if(c in a&&a[c]===b)retu"
|
| "rn c;return-1};function i(a,b,c,j,m){this.b=!!b;if(a&&(this.a=a))this.c=t"
|
| @@ -1433,20 +1465,20 @@ const char* const IS_ENABLED =
|
|
|
| const char* const IS_SELECTED =
|
| "function(){return function(){function d(b,a){function c(){}c.prototype=a."
|
| - "prototype;b.g=a.prototype;b.prototype=new c};function e(b){this.stack=Err"
|
| - "or().stack||\"\";if(b)this.message=String(b)}d(e,Error);function f(b){for"
|
| - "(var a=1;a<arguments.length;a++)var c=String(arguments[a]).replace(/\\$/g"
|
| - ",\"$$$$\"),b=b.replace(/\\%s/,c);return b};d(function(b,a){a.unshift(b);e"
|
| - ".call(this,f.apply(null,a));a.shift();this.f=b},e);function g(b){var a=h;"
|
| - "if(typeof a==\"string\"){if(typeof b!=\"string\"||b.length!=1)return-1;re"
|
| - "turn a.indexOf(b,0)}for(var c=0;c<a.length;c++)if(c in a&&a[c]===b)return"
|
| - " c;return-1};function j(b,a,c,i,k){this.b=!!a;if(b&&(this.a=b))this.c=typ"
|
| - "eof i==\"number\"?i:this.a.nodeType!=1?0:this.b?-1:1;this.d=k!=void 0?k:t"
|
| - "his.c||0;this.b&&(this.d*=-1);this.e=!c}d(j,function(){});j.prototype.a=n"
|
| - "ull;j.prototype.c=0;d(function(b,a,c,i){j.call(this,b,a,c,null,i)},j);var"
|
| - " h=[\"checkbox\",\"radio\"];function l(b){var a;a=b.tagName.toUpperCase()"
|
| - ";a=a==\"OPTION\"?!0:a==\"INPUT\"&&g(b.type)>=0?!0:!1;if(!a)return!1;a=\"s"
|
| - "elected\";var c=b.type&&b.type.toLowerCase();if(\"checkbox\"==c||\"radio"
|
| + "prototype;b.g=a.prototype;b.prototype=new c};function e(b){for(var a=1;a<"
|
| + "arguments.length;a++)var c=String(arguments[a]).replace(/\\$/g,\"$$$$\"),"
|
| + "b=b.replace(/\\%s/,c);return b};function f(b){this.stack=Error().stack||"
|
| + "\"\";if(b)this.message=String(b)}d(f,Error);d(function(b,a){a.unshift(b);"
|
| + "f.call(this,e.apply(null,a));a.shift();this.f=b},f);function g(b){var a=h"
|
| + ";if(typeof a==\"string\"){if(typeof b!=\"string\"||b.length!=1)return-1;r"
|
| + "eturn a.indexOf(b,0)}for(var c=0;c<a.length;c++)if(c in a&&a[c]===b)retur"
|
| + "n c;return-1};function j(b,a,c,i,k){this.b=!!a;if(b&&(this.a=b))this.c=ty"
|
| + "peof i==\"number\"?i:this.a.nodeType!=1?0:this.b?-1:1;this.d=k!=void 0?k:"
|
| + "this.c||0;this.b&&(this.d*=-1);this.e=!c}d(j,function(){});j.prototype.a="
|
| + "null;j.prototype.c=0;d(function(b,a,c,i){j.call(this,b,a,c,null,i)},j);va"
|
| + "r h=[\"checkbox\",\"radio\"];function l(b){var a;a=b.tagName.toUpperCase("
|
| + ");a=a==\"OPTION\"?!0:a==\"INPUT\"&&g(b.type)>=0?!0:!1;if(!a)return!1;a=\""
|
| + "selected\";var c=b.type&&b.type.toLowerCase();if(\"checkbox\"==c||\"radio"
|
| "\"==c)a=\"checked\";return!!b[a]}var m=\"_\".split(\".\"),n=this;!(m[0]in"
|
| " n)&&n.execScript&&n.execScript(\"var \"+m[0]);for(var o;m.length&&(o=m.s"
|
| "hift());)!m.length&&l!==void 0?n[o]=l:n=n[o]?n[o]:n[o]={};; return this._"
|
| @@ -1454,7 +1486,7 @@ const char* const IS_SELECTED =
|
| "ow.navigator:null}, arguments);}";
|
|
|
| const char* const SET_SELECTED =
|
| - "function(){return function(){var i=void 0,k=null,m=this;\nfunction p(a){v"
|
| + "function(){return function(){var j=void 0,m=null,n=this;\nfunction p(a){v"
|
| "ar b=typeof a;if(b==\"object\")if(a){if(a instanceof Array)return\"array"
|
| "\";else if(a instanceof Object)return b;var c=Object.prototype.toString.c"
|
| "all(a);if(c==\"[object Window]\")return\"object\";if(c==\"[object Array]"
|
| @@ -1465,169 +1497,167 @@ const char* const SET_SELECTED =
|
| "(\"call\"))return\"function\"}else return\"null\";\nelse if(b==\"function"
|
| "\"&&typeof a.call==\"undefined\")return\"object\";return b}Math.floor(Mat"
|
| "h.random()*2147483648).toString(36);function q(a,b){function c(){}c.proto"
|
| - "type=b.prototype;a.i=b.prototype;a.prototype=new c};var aa=window;functio"
|
| - "n r(a){this.stack=Error().stack||\"\";if(a)this.message=String(a)}q(r,Err"
|
| - "or);r.prototype.name=\"CustomError\";function s(a,b){r.call(this,b);this."
|
| - "code=a;this.name=t[a]||t[13]}q(s,r);var t,v={NoSuchElementError:7,NoSuchF"
|
| - "rameError:8,UnknownCommandError:9,StaleElementReferenceError:10,ElementNo"
|
| - "tVisibleError:11,InvalidElementStateError:12,UnknownError:13,ElementNotSe"
|
| - "lectableError:15,XPathLookupError:19,NoSuchWindowError:23,InvalidCookieDo"
|
| - "mainError:24,UnableToSetCookieError:25,ModalDialogOpenedError:26,ModalDia"
|
| - "logOpenError:27,ScriptTimeoutError:28},w={},x;for(x in v)w[v[x]]=x;t=w;\n"
|
| - "s.prototype.toString=function(){return\"[\"+this.name+\"] \"+this.message"
|
| - "};function ba(a){for(var b=1;b<arguments.length;b++)var c=String(argument"
|
| - "s[b]).replace(/\\$/g,\"$$$$\"),a=a.replace(/\\%s/,c);return a}var y={};fu"
|
| - "nction ca(a){return y[a]||(y[a]=String(a).replace(/\\-([a-z])/g,function("
|
| - "a,c){return c.toUpperCase()}))};function z(a,b){b.unshift(a);r.call(this,"
|
| - "ba.apply(k,b));b.shift();this.l=a}q(z,r);z.prototype.name=\"AssertionErro"
|
| - "r\";function A(a,b){if(typeof a==\"string\"){if(typeof b!=\"string\"||b.l"
|
| - "ength!=1)return-1;return a.indexOf(b,0)}for(var c=0;c<a.length;c++)if(c i"
|
| - "n a&&a[c]===b)return c;return-1}function da(a,b){for(var c=a.length,d=typ"
|
| - "eof a==\"string\"?a.split(\"\"):a,e=0;e<c;e++)if(e in d&&b.call(i,d[e],e,"
|
| - "a))return!0;return!1};var B=!0,C;B&&(C=/WebKit\\/(\\S+)/);C&&C.exec(m.nav"
|
| - "igator?m.navigator.userAgent:k);var D;function E(a,b){this.x=a!==i?a:0;th"
|
| - "is.y=b!==i?b:0}E.prototype.toString=function(){return\"(\"+this.x+\", \"+"
|
| + "type=b.prototype;a.i=b.prototype;a.prototype=new c};function aa(a){for(va"
|
| + "r b=1;b<arguments.length;b++)var c=String(arguments[b]).replace(/\\$/g,\""
|
| + "$$$$\"),a=a.replace(/\\%s/,c);return a}var r={};function ba(a){return r[a"
|
| + "]||(r[a]=String(a).replace(/\\-([a-z])/g,function(a,c){return c.toUpperCa"
|
| + "se()}))};var s=!0,t;s&&(t=/WebKit\\/(\\S+)/);t&&t.exec(n.navigator?n.navi"
|
| + "gator.userAgent:m);var ca=window;function v(a){this.stack=Error().stack||"
|
| + "\"\";if(a)this.message=String(a)}q(v,Error);v.prototype.name=\"CustomErro"
|
| + "r\";function w(a,b){v.call(this,b);this.code=a;this.name=x[a]||x[13]}q(w,"
|
| + "v);var x,y={NoSuchElementError:7,NoSuchFrameError:8,UnknownCommandError:9"
|
| + ",StaleElementReferenceError:10,ElementNotVisibleError:11,InvalidElementSt"
|
| + "ateError:12,UnknownError:13,ElementNotSelectableError:15,XPathLookupError"
|
| + ":19,NoSuchWindowError:23,InvalidCookieDomainError:24,UnableToSetCookieErr"
|
| + "or:25,ModalDialogOpenedError:26,ModalDialogOpenError:27,ScriptTimeoutErro"
|
| + "r:28},z={},A;for(A in y)z[y[A]]=A;x=z;\nw.prototype.toString=function(){r"
|
| + "eturn\"[\"+this.name+\"] \"+this.message};function B(a,b){b.unshift(a);v."
|
| + "call(this,aa.apply(m,b));b.shift();this.m=a}q(B,v);B.prototype.name=\"Ass"
|
| + "ertionError\";function C(a,b){if(typeof a==\"string\"){if(typeof b!=\"str"
|
| + "ing\"||b.length!=1)return-1;return a.indexOf(b,0)}for(var c=0;c<a.length;"
|
| + "c++)if(c in a&&a[c]===b)return c;return-1}function da(a,b){for(var c=a.le"
|
| + "ngth,d=typeof a==\"string\"?a.split(\"\"):a,e=0;e<c;e++)if(e in d&&b.call"
|
| + "(j,d[e],e,a))return!0;return!1};var D;function E(a,b){this.x=a!==j?a:0;th"
|
| + "is.y=b!==j?b:0}E.prototype.toString=function(){return\"(\"+this.x+\", \"+"
|
| "this.y+\")\"};function F(a,b){this.width=a;this.height=b}F.prototype.toSt"
|
| "ring=function(){return\"(\"+this.width+\" x \"+this.height+\")\"};F.proto"
|
| "type.floor=function(){this.width=Math.floor(this.width);this.height=Math."
|
| "floor(this.height);return this};function G(a){return a.nodeType==9?a:a.ow"
|
| "nerDocument||a.document}function ea(a,b){var c=[];return H(a,b,c,!0)?c[0]"
|
| - ":i}function H(a,b,c,d){if(a!=k)for(var e=0,f;f=a.childNodes[e];e++){if(b("
|
| + ":j}function H(a,b,c,d){if(a!=m)for(var e=0,f;f=a.childNodes[e];e++){if(b("
|
| "f)&&(c.push(f),d))return!0;if(H(f,b,c,d))return!0}return!1}function I(a,b"
|
| "){for(var a=a.parentNode,c=0;a;){if(b(a))return a;a=a.parentNode;c++}retu"
|
| - "rn k}function J(a){this.h=a||m.document||document}\nfunction K(a){var b=a"
|
| - ".h,a=!B&&b.compatMode==\"CSS1Compat\"?b.documentElement:b.body,b=b.parent"
|
| + "rn m}function J(a){this.h=a||n.document||document}\nfunction K(a){var b=a"
|
| + ".h,a=!s&&b.compatMode==\"CSS1Compat\"?b.documentElement:b.body,b=b.parent"
|
| "Window||b.defaultView;return new E(b.pageXOffset||a.scrollLeft,b.pageYOff"
|
| - "set||a.scrollTop)};function fa(a,b){var c=function(a,b){var c=G(a);if(a.s"
|
| - "electSingleNode)return c.setProperty&&c.setProperty(\"SelectionLanguage\""
|
| - ",\"XPath\"),a.selectSingleNode(b);c=G(a);if(c.implementation.hasFeature("
|
| - "\"XPath\",\"3.0\"))var l=c.createNSResolver(c.documentElement),c=c.evalua"
|
| - "te(b,a,l,9,k);else c=k;return c?c.singleNodeValue:k}(b,a);if(!c)return k;"
|
| - "if(c.nodeType!=1)throw Error(\"Returned node is not an element: \"+a);ret"
|
| - "urn c};var L=\"StopIteration\"in m?m.StopIteration:Error(\"StopIteration"
|
| - "\");function M(){}M.prototype.next=function(){throw L;};function N(a,b,c,"
|
| - "d,e){this.a=!!b;a&&O(this,a,d);this.d=e!=i?e:this.c||0;this.a&&(this.d*=-"
|
| - "1);this.g=!c}q(N,M);N.prototype.b=k;N.prototype.c=0;N.prototype.f=!1;func"
|
| - "tion O(a,b,c){if(a.b=b)a.c=typeof c==\"number\"?c:a.b.nodeType!=1?0:a.a?-"
|
| - "1:1}\nN.prototype.next=function(){var a;if(this.f){if(!this.b||this.g&&th"
|
| - "is.d==0)throw L;a=this.b;var b=this.a?-1:1;if(this.c==b){var c=this.a?a.l"
|
| - "astChild:a.firstChild;c?O(this,c):O(this,a,b*-1)}else(c=this.a?a.previous"
|
| - "Sibling:a.nextSibling)?O(this,c):O(this,a.parentNode,b*-1);this.d+=this.c"
|
| - "*(this.a?-1:1)}else this.f=!0;a=this.b;if(!this.b)throw L;return a};\nN.p"
|
| - "rototype.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;N.prototype.next.call(t"
|
| - "his);this.a=!this.a;for(var b=arguments[0],c=p(b),b=c==\"array\"||c==\"ob"
|
| - "ject\"&&typeof b.length==\"number\"?arguments[0]:arguments,c=b.length-1;c"
|
| - ">=0;c--)a.parentNode&&a.parentNode.insertBefore(b[c],a.nextSibling);a&&a."
|
| - "parentNode&&a.parentNode.removeChild(a)};function P(a,b,c,d){N.call(this,"
|
| - "a,b,c,k,d)}q(P,N);P.prototype.next=function(){do P.i.next.call(this);whil"
|
| - "e(this.c==-1);return this.b};function ga(a,b){var c=G(a);if(c.defaultView"
|
| - "&&c.defaultView.getComputedStyle&&(c=c.defaultView.getComputedStyle(a,k))"
|
| - ")return c[b]||c.getPropertyValue(b);return\"\"}function Q(a,b){return ga("
|
| - "a,b)||(a.currentStyle?a.currentStyle[b]:k)||a.style[b]}\nfunction ha(a){f"
|
| - "or(var b=G(a),c=Q(a,\"position\"),d=c==\"fixed\"||c==\"absolute\",a=a.par"
|
| - "entNode;a&&a!=b;a=a.parentNode)if(c=Q(a,\"position\"),d=d&&c==\"static\"&"
|
| - "&a!=b.documentElement&&a!=b.body,!d&&(a.scrollWidth>a.clientWidth||a.scro"
|
| - "llHeight>a.clientHeight||c==\"fixed\"||c==\"absolute\"||c==\"relative\"))"
|
| - "return a;return k};function R(a,b){return!!a&&a.nodeType==1&&(!b||a.tagNa"
|
| - "me.toUpperCase()==b)}\nvar ia={\"class\":\"className\",readonly:\"readOnl"
|
| - "y\"},ja=[\"checked\",\"disabled\",\"draggable\",\"hidden\"],ka=[\"async\""
|
| - ",\"autofocus\",\"autoplay\",\"checked\",\"compact\",\"complete\",\"contro"
|
| - "ls\",\"declare\",\"defaultchecked\",\"defaultselected\",\"defer\",\"disab"
|
| - "led\",\"draggable\",\"ended\",\"formnovalidate\",\"hidden\",\"indetermina"
|
| - "te\",\"iscontenteditable\",\"ismap\",\"itemscope\",\"loop\",\"multiple\","
|
| - "\"muted\",\"nohref\",\"noresize\",\"noshade\",\"novalidate\",\"nowrap\","
|
| - "\"open\",\"paused\",\"pubdate\",\"readonly\",\"required\",\"reversed\",\""
|
| - "scoped\",\"seamless\",\"seeking\",\n\"selected\",\"spellcheck\",\"truespe"
|
| - "ed\",\"willvalidate\"];function la(a,b){if(8==a.nodeType)return k;b=b.toL"
|
| - "owerCase();if(b==\"style\"){var c=a.style.cssText.replace(/^[\\s\\xa0]+|["
|
| - "\\s\\xa0]+$/g,\"\").toLowerCase();return c.charAt(c.length-1)==\";\"?c:c+"
|
| - "\";\"}c=a.getAttributeNode(b);if(!c)return k;if(A(ka,b)>=0)return\"true\""
|
| - ";return c.specified?c.value:k}var ma=[\"BUTTON\",\"INPUT\",\"OPTGROUP\","
|
| - "\"OPTION\",\"SELECT\",\"TEXTAREA\"];\nfunction na(a){var b=a.tagName.toUp"
|
| - "perCase();if(!(A(ma,b)>=0))return!0;if(la(a,\"disabled\"))return!1;if(a.p"
|
| - "arentNode&&a.parentNode.nodeType==1&&\"OPTGROUP\"==b||\"OPTION\"==b)retur"
|
| - "n na(a.parentNode);return!0}function S(a){for(a=a.parentNode;a&&a.nodeTyp"
|
| - "e!=1&&a.nodeType!=9&&a.nodeType!=11;)a=a.parentNode;return R(a)?a:k}funct"
|
| - "ion T(a,b){b=ca(String(b));return ga(a,b)||oa(a,b)}function oa(a,b){var c"
|
| - "=(a.currentStyle||a.style)[b];if(c!=\"inherit\")return c!==i?c:k;return(c"
|
| - "=S(a))?oa(c,b):k}\nfunction pa(a){if(p(a.getBBox)==\"function\")return a."
|
| - "getBBox();var b;if(Q(a,\"display\")!=\"none\")b=new F(a.offsetWidth,a.off"
|
| - "setHeight);else{b=a.style;var c=b.display,d=b.visibility,e=b.position;b.v"
|
| - "isibility=\"hidden\";b.position=\"absolute\";b.display=\"inline\";var f=a"
|
| - ".offsetWidth,a=a.offsetHeight;b.display=c;b.position=e;b.visibility=d;b=n"
|
| - "ew F(f,a)}return b}\nfunction U(a,b){function c(a){if(T(a,\"display\")=="
|
| - "\"none\")return!1;a=S(a);return!a||c(a)}function d(a){var b=pa(a);if(b.he"
|
| - "ight>0&&b.width>0)return!0;if(a.innerText||a.textContent)if(qa.test(a.inn"
|
| - "erText||a.textContent))return!0;return B&&da(a.childNodes,function(a){ret"
|
| - "urn R(a)&&d(a)})}if(!R(a))throw Error(\"Argument to isShown must be of ty"
|
| - "pe Element\");if(R(a,\"TITLE\"))return(G(a)?G(a).parentWindow||G(a).defau"
|
| - "ltView:window)==aa;if(R(a,\"OPTION\")||R(a,\"OPTGROUP\")){var e=I(a,funct"
|
| - "ion(a){return R(a,\"SELECT\")});\nreturn!!e&&U(e,b)}if(R(a,\"MAP\")){if(!"
|
| - "a.name)return!1;e=G(a);e=e.evaluate?fa('/descendant::*[@usemap = \"#'+a.n"
|
| - "ame+'\"]',e):ea(e,function(b){return R(b)&&la(b,\"usemap\")==\"#\"+a.name"
|
| - "});return!!e&&U(e,b)}if(R(a,\"AREA\"))return e=I(a,function(a){return R(a"
|
| - ",\"MAP\")}),!!e&&U(e,b);if(R(a,\"INPUT\")&&a.type.toLowerCase()==\"hidden"
|
| - "\")return!1;if(T(a,\"visibility\")==\"hidden\")return!1;if(!c(a))return!1"
|
| - ";if(!b&&ra(a)==0)return!1;if(!d(a))return!1;return!0}var qa=RegExp(\"^\"+"
|
| - "(\"[\\\\s\\\\xa0\"+String.fromCharCode(160)+\"]+\")+\"$\");\nfunction ra("
|
| - "a){var b=1,c=T(a,\"opacity\");c&&(b=Number(c));(a=S(a))&&(b*=ra(a));retur"
|
| - "n b};var sa=[\"dragstart\",\"dragexit\",\"mouseover\",\"mouseout\"];\nfun"
|
| - "ction V(a,b,c){var d=G(a),e=d?d.parentWindow||d.defaultView:window,f=new "
|
| - "E;if(a.nodeType==1)if(a.getBoundingClientRect){var l=a.getBoundingClientR"
|
| - "ect();f.x=l.left;f.y=l.top}else{l=K(a?new J(G(a)):D||(D=new J));var n,g=G"
|
| - "(a);n=Q(a,\"position\");var h=new E(0,0),u=(g?g.nodeType==9?g:G(g):docume"
|
| - "nt).documentElement;if(a!=u)if(a.getBoundingClientRect)n=a.getBoundingCli"
|
| - "entRect(),g=K(g?new J(G(g)):D||(D=new J)),h.x=n.left+g.x,h.y=n.top+g.y;el"
|
| - "se if(g.getBoxObjectFor)n=g.getBoxObjectFor(a),g=g.getBoxObjectFor(u),\nh"
|
| - ".x=n.screenX-g.screenX,h.y=n.screenY-g.screenY;else{var j=a;do{h.x+=j.off"
|
| - "setLeft;h.y+=j.offsetTop;j!=a&&(h.x+=j.clientLeft||0,h.y+=j.clientTop||0)"
|
| - ";if(B&&Q(j,\"position\")==\"fixed\"){h.x+=g.body.scrollLeft;h.y+=g.body.s"
|
| - "crollTop;break}j=j.offsetParent}while(j&&j!=a);B&&n==\"absolute\"&&(h.y-="
|
| - "g.body.offsetTop);for(j=a;(j=ha(j))&&j!=g.body&&j!=u;)h.x-=j.scrollLeft,h"
|
| - ".y-=j.scrollTop}f.x=h.x-l.x;f.y=h.y-l.y}else l=p(a.e)==\"function\",h=a,a"
|
| - ".targetTouches?h=a.targetTouches[0]:l&&a.e().targetTouches&&(h=a.e().targ"
|
| - "etTouches[0]),\nf.x=h.clientX,f.y=h.clientY;var o=c||{},c=(o.x||0)+f.x,f="
|
| - "(o.y||0)+f.y,l=o.button||0,h=o.bubble||!0;n=k;A(sa,b)>=0&&(n=o.related||k"
|
| - ");g=!!o.alt;u=!!o.control;j=!!o.shift;o=!!o.meta;a.fireEvent&&d&&d.create"
|
| - "EventObject?(a=d.createEventObject(),a.altKey=g,a.j=u,a.metaKey=o,a.shift"
|
| - "Key=j,a.clientX=c,a.clientY=f,a.button=l,a.relatedTarget=n):(a=d.createEv"
|
| - "ent(\"MouseEvents\"),a.initMouseEvent?a.initMouseEvent(b,h,!0,e,1,0,0,c,f"
|
| - ",u,g,j,o,l,n):(a.initEvent(b,h,!0),a.shiftKey=j,a.metaKey=o,a.altKey=g,a."
|
| - "ctrlKey=\nu,a.button=l));return a}function W(a,b,c){var d=c||{},c=d.keyCo"
|
| - "de||0,e=d.charCode||0,f=!!d.alt,l=!!d.ctrl,n=!!d.shift,d=!!d.meta,a=G(a)."
|
| - "createEvent(\"Events\");a.initEvent(b,!0,!0);a.charCode=e;a.keyCode=c;a.a"
|
| - "ltKey=f;a.ctrlKey=l;a.metaKey=d;a.shiftKey=n;return a}\nfunction ta(a,b,c"
|
| - "){var d=G(a),e=c||{},c=e.bubble!==!1,f=!!e.alt,l=!!e.control,n=!!e.shift,"
|
| - "e=!!e.meta;a.fireEvent&&d&&d.createEventObject?(a=d.createEventObject(),a"
|
| - ".altKey=f,a.k=l,a.metaKey=e,a.shiftKey=n):(a=d.createEvent(\"HTMLEvents\""
|
| - "),a.initEvent(b,c,!0),a.shiftKey=n,a.metaKey=e,a.altKey=f,a.ctrlKey=l);re"
|
| - "turn a}var X={};X.click=V;X.keydown=W;X.keypress=W;X.keyup=W;X.mousedown="
|
| - "V;X.mousemove=V;X.mouseout=V;X.mouseover=V;X.mouseup=V;\nfunction ua(a){v"
|
| - "ar b=(X.change||ta)(a,\"change\",i),c;if(!(c=p(a.fireEvent)==\"function\""
|
| - "))c=p(a.fireEvent),c=c==\"object\"||c==\"array\"||c==\"function\";if(c){t"
|
| - "ry{(G(a)?G(a).parentWindow||G(a).defaultView:window).event=b}catch(d){}a."
|
| - "fireEvent(\"onchange\",b)}else a.dispatchEvent(b)};function va(a){var b;R"
|
| - "(a,\"OPTION\")?b=!0:R(a,\"INPUT\")?(b=a.type.toLowerCase(),b=b==\"checkbo"
|
| - "x\"||b==\"radio\"):b=!1;if(!b)throw new s(15,\"Element is not selectable"
|
| - "\");b=\"selected\";var c=a.type&&a.type.toLowerCase();if(\"checkbox\"==c|"
|
| - "|\"radio\"==c)b=\"checked\";b=ia[b]||b;a=a[b];a=a===i&&A(ja,b)>=0?!1:a;re"
|
| - "turn!!a}function wa(a){return R(a,\"SELECT\")};function xa(a,b){if(!U(a,!"
|
| - "0))throw new s(11,\"Element is not currently visible and may not be manip"
|
| - "ulated\");if(!na(a))throw new s(12,\"Element is not currently enabled and"
|
| - " may not be manipulated\");if(R(a,\"INPUT\")){var c=a.type.toLowerCase();"
|
| - "if(c==\"checkbox\"||c==\"radio\"){if(a.checked!=b){if(a.type==\"radio\"&&"
|
| - "!b)throw new s(12,\"You may not deselect a radio button\");if(b!=va(a))a."
|
| - "checked=b,ua(a)}}else throw new s(15,\"You may not select an unselectable"
|
| - " input element: \"+a.type);}else if(R(a,\"OPTION\")){c=\nI(a,wa);if(!c.mu"
|
| - "ltiple&&!b)throw new s(15,\"You may not deselect an option within a selec"
|
| - "t that does not support multiple selections.\");if(b!=va(a))a.selected=b,"
|
| - "ua(c)}else throw new s(15,\"You may not select an unselectable element: "
|
| - "\"+a.tagName);}var Y=\"_\".split(\".\"),Z=m;!(Y[0]in Z)&&Z.execScript&&Z."
|
| - "execScript(\"var \"+Y[0]);for(var $;Y.length&&($=Y.shift());)!Y.length&&x"
|
| - "a!==i?Z[$]=xa:Z=Z[$]?Z[$]:Z[$]={};; return this._.apply(null,arguments);}"
|
| - ".apply({navigator:typeof window!='undefined'?window.navigator:null}, argu"
|
| - "ments);}";
|
| + "set||a.scrollTop)};function fa(a,b){var c=function(b,c){var f=G(b);if(b.s"
|
| + "electSingleNode)return f.setProperty&&f.setProperty(\"SelectionLanguage\""
|
| + ",\"XPath\"),b.selectSingleNode(c);try{var k;var i=G(b);if(i.implementatio"
|
| + "n.hasFeature(\"XPath\",\"3.0\")){var g=i.createNSResolver(i.documentEleme"
|
| + "nt);k=i.evaluate(c,b,g,9,m)}else k=m;return k?k.singleNodeValue:m}catch(h"
|
| + "){throw Error(32,\"Unable to locate an element with the xpath expression "
|
| + "\"+a);}}(b,a);if(!c)return m;if(c.nodeType!=1)throw Error(\"Returned node"
|
| + " is not an element: \"+\na);return c};var L=\"StopIteration\"in n?n.StopI"
|
| + "teration:Error(\"StopIteration\");function M(){}M.prototype.next=function"
|
| + "(){throw L;};function N(a,b,c,d,e){this.a=!!b;a&&O(this,a,d);this.d=e!=j?"
|
| + "e:this.c||0;this.a&&(this.d*=-1);this.g=!c}q(N,M);N.prototype.b=m;N.proto"
|
| + "type.c=0;N.prototype.f=!1;function O(a,b,c){if(a.b=b)a.c=typeof c==\"numb"
|
| + "er\"?c:a.b.nodeType!=1?0:a.a?-1:1}\nN.prototype.next=function(){var a;if("
|
| + "this.f){if(!this.b||this.g&&this.d==0)throw L;a=this.b;var b=this.a?-1:1;"
|
| + "if(this.c==b){var c=this.a?a.lastChild:a.firstChild;c?O(this,c):O(this,a,"
|
| + "b*-1)}else(c=this.a?a.previousSibling:a.nextSibling)?O(this,c):O(this,a.p"
|
| + "arentNode,b*-1);this.d+=this.c*(this.a?-1:1)}else this.f=!0;a=this.b;if(!"
|
| + "this.b)throw L;return a};\nN.prototype.splice=function(){var a=this.b,b=t"
|
| + "his.a?1:-1;if(this.c==b)this.c=b*-1,this.d+=this.c*(this.a?-1:1);this.a=!"
|
| + "this.a;N.prototype.next.call(this);this.a=!this.a;for(var b=arguments[0],"
|
| + "c=p(b),b=c==\"array\"||c==\"object\"&&typeof b.length==\"number\"?argumen"
|
| + "ts[0]:arguments,c=b.length-1;c>=0;c--)a.parentNode&&a.parentNode.insertBe"
|
| + "fore(b[c],a.nextSibling);a&&a.parentNode&&a.parentNode.removeChild(a)};fu"
|
| + "nction P(a,b,c,d){N.call(this,a,b,c,m,d)}q(P,N);P.prototype.next=function"
|
| + "(){do P.i.next.call(this);while(this.c==-1);return this.b};function ga(a,"
|
| + "b){var c=G(a);if(c.defaultView&&c.defaultView.getComputedStyle&&(c=c.defa"
|
| + "ultView.getComputedStyle(a,m)))return c[b]||c.getPropertyValue(b);return"
|
| + "\"\"}function Q(a,b){return ga(a,b)||(a.currentStyle?a.currentStyle[b]:m)"
|
| + "||a.style[b]}\nfunction ha(a){for(var b=G(a),c=Q(a,\"position\"),d=c==\"f"
|
| + "ixed\"||c==\"absolute\",a=a.parentNode;a&&a!=b;a=a.parentNode)if(c=Q(a,\""
|
| + "position\"),d=d&&c==\"static\"&&a!=b.documentElement&&a!=b.body,!d&&(a.sc"
|
| + "rollWidth>a.clientWidth||a.scrollHeight>a.clientHeight||c==\"fixed\"||c=="
|
| + "\"absolute\"||c==\"relative\"))return a;return m};function R(a,b){return!"
|
| + "!a&&a.nodeType==1&&(!b||a.tagName.toUpperCase()==b)}\nvar ia={\"class\":"
|
| + "\"className\",readonly:\"readOnly\"},ja=[\"checked\",\"disabled\",\"dragg"
|
| + "able\",\"hidden\"],ka=[\"async\",\"autofocus\",\"autoplay\",\"checked\","
|
| + "\"compact\",\"complete\",\"controls\",\"declare\",\"defaultchecked\",\"de"
|
| + "faultselected\",\"defer\",\"disabled\",\"draggable\",\"ended\",\"formnova"
|
| + "lidate\",\"hidden\",\"indeterminate\",\"iscontenteditable\",\"ismap\",\"i"
|
| + "temscope\",\"loop\",\"multiple\",\"muted\",\"nohref\",\"noresize\",\"nosh"
|
| + "ade\",\"novalidate\",\"nowrap\",\"open\",\"paused\",\"pubdate\",\"readonl"
|
| + "y\",\"required\",\"reversed\",\"scoped\",\"seamless\",\"seeking\",\n\"sel"
|
| + "ected\",\"spellcheck\",\"truespeed\",\"willvalidate\"];function la(a,b){i"
|
| + "f(8==a.nodeType)return m;b=b.toLowerCase();if(b==\"style\"){var c=a.style"
|
| + ".cssText.replace(/^[\\s\\xa0]+|[\\s\\xa0]+$/g,\"\").toLowerCase();return "
|
| + "c.charAt(c.length-1)==\";\"?c:c+\";\"}c=a.getAttributeNode(b);if(!c)retur"
|
| + "n m;if(C(ka,b)>=0)return\"true\";return c.specified?c.value:m}var ma=[\"B"
|
| + "UTTON\",\"INPUT\",\"OPTGROUP\",\"OPTION\",\"SELECT\",\"TEXTAREA\"];\nfunc"
|
| + "tion na(a){var b=a.tagName.toUpperCase();if(!(C(ma,b)>=0))return!0;if(la("
|
| + "a,\"disabled\"))return!1;if(a.parentNode&&a.parentNode.nodeType==1&&\"OPT"
|
| + "GROUP\"==b||\"OPTION\"==b)return na(a.parentNode);return!0}function S(a){"
|
| + "for(a=a.parentNode;a&&a.nodeType!=1&&a.nodeType!=9&&a.nodeType!=11;)a=a.p"
|
| + "arentNode;return R(a)?a:m}function T(a,b){b=ba(String(b));return ga(a,b)|"
|
| + "|oa(a,b)}function oa(a,b){var c=(a.currentStyle||a.style)[b];if(c!=\"inhe"
|
| + "rit\")return c!==j?c:m;return(c=S(a))?oa(c,b):m}\nfunction pa(a){if(p(a.g"
|
| + "etBBox)==\"function\")return a.getBBox();var b;if(Q(a,\"display\")!=\"non"
|
| + "e\")b=new F(a.offsetWidth,a.offsetHeight);else{b=a.style;var c=b.display,"
|
| + "d=b.visibility,e=b.position;b.visibility=\"hidden\";b.position=\"absolute"
|
| + "\";b.display=\"inline\";var f=a.offsetWidth,a=a.offsetHeight;b.display=c;"
|
| + "b.position=e;b.visibility=d;b=new F(f,a)}return b}\nfunction U(a,b){funct"
|
| + "ion c(a){if(T(a,\"display\")==\"none\")return!1;a=S(a);return!a||c(a)}fun"
|
| + "ction d(a){var b=pa(a);if(b.height>0&&b.width>0)return!0;if(a.innerText||"
|
| + "a.textContent)if(qa.test(a.innerText||a.textContent))return!0;return s&&d"
|
| + "a(a.childNodes,function(a){return R(a)&&d(a)})}if(!R(a))throw Error(\"Arg"
|
| + "ument to isShown must be of type Element\");if(R(a,\"TITLE\"))return(G(a)"
|
| + "?G(a).parentWindow||G(a).defaultView:window)==ca;if(R(a,\"OPTION\")||R(a,"
|
| + "\"OPTGROUP\")){var e=I(a,function(a){return R(a,\"SELECT\")});\nreturn!!e"
|
| + "&&U(e,b)}if(R(a,\"MAP\")){if(!a.name)return!1;e=G(a);e=e.evaluate?fa('/de"
|
| + "scendant::*[@usemap = \"#'+a.name+'\"]',e):ea(e,function(b){return R(b)&&"
|
| + "la(b,\"usemap\")==\"#\"+a.name});return!!e&&U(e,b)}if(R(a,\"AREA\"))retur"
|
| + "n e=I(a,function(a){return R(a,\"MAP\")}),!!e&&U(e,b);if(R(a,\"INPUT\")&&"
|
| + "a.type.toLowerCase()==\"hidden\")return!1;if(T(a,\"visibility\")==\"hidde"
|
| + "n\")return!1;if(!c(a))return!1;if(!b&&ra(a)==0)return!1;if(!d(a))return!1"
|
| + ";return!0}var qa=RegExp(\"^\"+(\"[\\\\s\\\\xa0\"+String.fromCharCode(160)"
|
| + "+\"]+\")+\"$\");\nfunction ra(a){var b=1,c=T(a,\"opacity\");c&&(b=Number("
|
| + "c));(a=S(a))&&(b*=ra(a));return b};var sa=[\"dragstart\",\"dragexit\",\"m"
|
| + "ouseover\",\"mouseout\"];\nfunction V(a,b,c){var d=G(a),e=d?d.parentWindo"
|
| + "w||d.defaultView:window,f=new E;if(a.nodeType==1)if(a.getBoundingClientRe"
|
| + "ct){var k=a.getBoundingClientRect();f.x=k.left;f.y=k.top}else{k=K(a?new J"
|
| + "(G(a)):D||(D=new J));var i,g=G(a);i=Q(a,\"position\");var h=new E(0,0),u="
|
| + "(g?g.nodeType==9?g:G(g):document).documentElement;if(a!=u)if(a.getBoundin"
|
| + "gClientRect)i=a.getBoundingClientRect(),g=K(g?new J(G(g)):D||(D=new J)),h"
|
| + ".x=i.left+g.x,h.y=i.top+g.y;else if(g.getBoxObjectFor)i=g.getBoxObjectFor"
|
| + "(a),g=g.getBoxObjectFor(u),\nh.x=i.screenX-g.screenX,h.y=i.screenY-g.scre"
|
| + "enY;else{var l=a;do{h.x+=l.offsetLeft;h.y+=l.offsetTop;l!=a&&(h.x+=l.clie"
|
| + "ntLeft||0,h.y+=l.clientTop||0);if(s&&Q(l,\"position\")==\"fixed\"){h.x+=g"
|
| + ".body.scrollLeft;h.y+=g.body.scrollTop;break}l=l.offsetParent}while(l&&l!"
|
| + "=a);s&&i==\"absolute\"&&(h.y-=g.body.offsetTop);for(l=a;(l=ha(l))&&l!=g.b"
|
| + "ody&&l!=u;)h.x-=l.scrollLeft,h.y-=l.scrollTop}f.x=h.x-k.x;f.y=h.y-k.y}els"
|
| + "e k=p(a.e)==\"function\",h=a,a.targetTouches?h=a.targetTouches[0]:k&&a.e("
|
| + ").targetTouches&&(h=a.e().targetTouches[0]),\nf.x=h.clientX,f.y=h.clientY"
|
| + ";var o=c||{},c=(o.x||0)+f.x,f=(o.y||0)+f.y,k=o.button||0,h=o.bubble||!0;i"
|
| + "=m;C(sa,b)>=0&&(i=o.related||m);g=!!o.alt;u=!!o.control;l=!!o.shift;o=!!o"
|
| + ".meta;a.fireEvent&&d&&d.createEventObject?(a=d.createEventObject(),a.altK"
|
| + "ey=g,a.j=u,a.metaKey=o,a.shiftKey=l,a.clientX=c,a.clientY=f,a.button=k,a."
|
| + "relatedTarget=i):(a=d.createEvent(\"MouseEvents\"),a.initMouseEvent?a.ini"
|
| + "tMouseEvent(b,h,!0,e,1,0,0,c,f,u,g,l,o,k,i):(a.initEvent(b,h,!0),a.shiftK"
|
| + "ey=l,a.metaKey=o,a.altKey=g,a.ctrlKey=\nu,a.button=k));return a}function "
|
| + "W(a,b,c){var d=c||{},c=d.keyCode||0,e=d.charCode||0,f=!!d.alt,k=!!d.ctrl,"
|
| + "i=!!d.shift,d=!!d.meta,a=G(a).createEvent(\"Events\");a.initEvent(b,!0,!0"
|
| + ");a.charCode=e;a.keyCode=c;a.altKey=f;a.ctrlKey=k;a.metaKey=d;a.shiftKey="
|
| + "i;return a}\nfunction ta(a,b,c){var d=G(a),e=c||{},c=e.bubble!==!1,f=!!e."
|
| + "alt,k=!!e.control,i=!!e.shift,e=!!e.meta;a.fireEvent&&d&&d.createEventObj"
|
| + "ect?(a=d.createEventObject(),a.altKey=f,a.k=k,a.metaKey=e,a.shiftKey=i):("
|
| + "a=d.createEvent(\"HTMLEvents\"),a.initEvent(b,c,!0),a.shiftKey=i,a.metaKe"
|
| + "y=e,a.altKey=f,a.ctrlKey=k);return a}var X={};X.click=V;X.keydown=W;X.key"
|
| + "press=W;X.keyup=W;X.mousedown=V;X.mousemove=V;X.mouseout=V;X.mouseover=V;"
|
| + "X.mouseup=V;\nfunction ua(a){var b=(X.change||ta)(a,\"change\",j);if(!(\""
|
| + "isTrusted\"in b))b.l=!1;a.dispatchEvent(b)};function va(a){var b;R(a,\"OP"
|
| + "TION\")?b=!0:R(a,\"INPUT\")?(b=a.type.toLowerCase(),b=b==\"checkbox\"||b="
|
| + "=\"radio\"):b=!1;if(!b)throw new w(15,\"Element is not selectable\");b=\""
|
| + "selected\";var c=a.type&&a.type.toLowerCase();if(\"checkbox\"==c||\"radio"
|
| + "\"==c)b=\"checked\";b=ia[b]||b;a=a[b];a=a===j&&C(ja,b)>=0?!1:a;return!!a}"
|
| + "function wa(a){return R(a,\"SELECT\")};function xa(a,b){if(!U(a,!0))throw"
|
| + " new w(11,\"Element is not currently visible and may not be manipulated\""
|
| + ");if(!na(a))throw new w(12,\"Element is not currently enabled and may not"
|
| + " be manipulated\");if(R(a,\"INPUT\")){var c=a.type.toLowerCase();if(c==\""
|
| + "checkbox\"||c==\"radio\"){if(a.checked!=b){if(a.type==\"radio\"&&!b)throw"
|
| + " new w(12,\"You may not deselect a radio button\");if(b!=va(a))a.checked="
|
| + "b,ua(a)}}else throw new w(15,\"You may not select an unselectable input e"
|
| + "lement: \"+a.type);}else if(R(a,\"OPTION\")){c=\nI(a,wa);if(!c.multiple&&"
|
| + "!b)throw new w(15,\"You may not deselect an option within a select that d"
|
| + "oes not support multiple selections.\");if(b!=va(a))a.selected=b,ua(c)}el"
|
| + "se throw new w(15,\"You may not select an unselectable element: \"+a.tagN"
|
| + "ame);}var Y=\"_\".split(\".\"),Z=n;!(Y[0]in Z)&&Z.execScript&&Z.execScrip"
|
| + "t(\"var \"+Y[0]);for(var $;Y.length&&($=Y.shift());)!Y.length&&xa!==j?Z[$"
|
| + "]=xa:Z=Z[$]?Z[$]:Z[$]={};; return this._.apply(null,arguments);}.apply({n"
|
| + "avigator:typeof window!='undefined'?window.navigator:null}, arguments);}";
|
|
|
| const char* const SUBMIT =
|
| "function(){return function(){var m=null,n=this;\nfunction o(a){var b=type"
|
| @@ -1641,271 +1671,267 @@ const char* const SUBMIT =
|
| "eturn\"function\"}else return\"null\";else if(b==\n\"function\"&&typeof a"
|
| ".call==\"undefined\")return\"object\";return b}Math.floor(Math.random()*2"
|
| "147483648).toString(36);function p(a,b){function c(){}c.prototype=b.proto"
|
| - "type;a.i=b.prototype;a.prototype=new c};function q(a){this.stack=Error()."
|
| - "stack||\"\";if(a)this.message=String(a)}p(q,Error);q.prototype.name=\"Cus"
|
| - "tomError\";function s(a,b){q.call(this,b);this.code=a;this.name=t[a]||t[1"
|
| - "3]}p(s,q);var t,u={NoSuchElementError:7,NoSuchFrameError:8,UnknownCommand"
|
| - "Error:9,StaleElementReferenceError:10,ElementNotVisibleError:11,InvalidEl"
|
| - "ementStateError:12,UnknownError:13,ElementNotSelectableError:15,XPathLook"
|
| - "upError:19,NoSuchWindowError:23,InvalidCookieDomainError:24,UnableToSetCo"
|
| - "okieError:25,ModalDialogOpenedError:26,ModalDialogOpenError:27,ScriptTime"
|
| - "outError:28},v={},w;for(w in u)v[u[w]]=w;t=v;\ns.prototype.toString=funct"
|
| - "ion(){return\"[\"+this.name+\"] \"+this.message};function x(a){for(var b="
|
| - "1;b<arguments.length;b++)var c=String(arguments[b]).replace(/\\$/g,\"$$$$"
|
| - "\"),a=a.replace(/\\%s/,c);return a};function y(a,b){b.unshift(a);q.call(t"
|
| - "his,x.apply(m,b));b.shift();this.l=a}p(y,q);y.prototype.name=\"AssertionE"
|
| - "rror\";function z(a){var b=A;if(typeof b==\"string\"){if(typeof a!=\"stri"
|
| - "ng\"||a.length!=1)return-1;return b.indexOf(a,0)}for(var c=0;c<b.length;c"
|
| - "++)if(c in b&&b[c]===a)return c;return-1};var B;function C(a,b){this.x=a!"
|
| - "==void 0?a:0;this.y=b!==void 0?b:0}C.prototype.toString=function(){return"
|
| - "\"(\"+this.x+\", \"+this.y+\")\"};function D(a){return a.nodeType==9?a:a."
|
| - "ownerDocument||a.document}function E(a){this.h=a||n.document||document}fu"
|
| - "nction F(a){var b=a.h,a=b.body,b=b.parentWindow||b.defaultView;return new"
|
| - " C(b.pageXOffset||a.scrollLeft,b.pageYOffset||a.scrollTop)};var G=\"StopI"
|
| - "teration\"in n?n.StopIteration:Error(\"StopIteration\");function H(){}H.p"
|
| - "rototype.next=function(){throw G;};function I(a,b,c,d,i){this.a=!!b;a&&J("
|
| - "this,a,d);this.d=i!=void 0?i:this.c||0;this.a&&(this.d*=-1);this.g=!c}p(I"
|
| - ",H);I.prototype.b=m;I.prototype.c=0;I.prototype.f=!1;function J(a,b,c){if"
|
| - "(a.b=b)a.c=typeof c==\"number\"?c:a.b.nodeType!=1?0:a.a?-1:1}\nI.prototyp"
|
| - "e.next=function(){var a;if(this.f){if(!this.b||this.g&&this.d==0)throw G;"
|
| - "a=this.b;var b=this.a?-1:1;if(this.c==b){var c=this.a?a.lastChild:a.first"
|
| - "Child;c?J(this,c):J(this,a,b*-1)}else(c=this.a?a.previousSibling:a.nextSi"
|
| - "bling)?J(this,c):J(this,a.parentNode,b*-1);this.d+=this.c*(this.a?-1:1)}e"
|
| - "lse this.f=!0;a=this.b;if(!this.b)throw G;return a};\nI.prototype.splice="
|
| - "function(){var a=this.b,b=this.a?1:-1;if(this.c==b)this.c=b*-1,this.d+=th"
|
| - "is.c*(this.a?-1:1);this.a=!this.a;I.prototype.next.call(this);this.a=!thi"
|
| - "s.a;for(var b=arguments[0],c=o(b),b=c==\"array\"||c==\"object\"&&typeof b"
|
| - ".length==\"number\"?arguments[0]:arguments,c=b.length-1;c>=0;c--)a.parent"
|
| - "Node&&a.parentNode.insertBefore(b[c],a.nextSibling);a&&a.parentNode&&a.pa"
|
| - "rentNode.removeChild(a)};function K(a,b,c,d){I.call(this,a,b,c,m,d)}p(K,I"
|
| - ");K.prototype.next=function(){do K.i.next.call(this);while(this.c==-1);re"
|
| - "turn this.b};function L(a){var b;a:{b=D(a);if(b.defaultView&&b.defaultVie"
|
| - "w.getComputedStyle&&(b=b.defaultView.getComputedStyle(a,m))){b=b.position"
|
| - "||b.getPropertyValue(\"position\");break a}b=\"\"}return b||(a.currentSty"
|
| - "le?a.currentStyle.position:m)||a.style.position}\nfunction M(a){for(var b"
|
| - "=D(a),c=L(a),d=c==\"fixed\"||c==\"absolute\",a=a.parentNode;a&&a!=b;a=a.p"
|
| - "arentNode)if(c=L(a),d=d&&c==\"static\"&&a!=b.documentElement&&a!=b.body,!"
|
| - "d&&(a.scrollWidth>a.clientWidth||a.scrollHeight>a.clientHeight||c==\"fixe"
|
| - "d\"||c==\"absolute\"||c==\"relative\"))return a;return m};var A=[\"dragst"
|
| - "art\",\"dragexit\",\"mouseover\",\"mouseout\"];\nfunction N(a,b,c){var d="
|
| - "D(a),i=d?d.parentWindow||d.defaultView:window,j=new C;if(a.nodeType==1)if"
|
| - "(a.getBoundingClientRect){var k=a.getBoundingClientRect();j.x=k.left;j.y="
|
| - "k.top}else{k=F(a?new E(D(a)):B||(B=new E));var h,e=D(a);h=L(a);var f=new "
|
| - "C(0,0),r=(e?e.nodeType==9?e:D(e):document).documentElement;if(a!=r)if(a.g"
|
| - "etBoundingClientRect)h=a.getBoundingClientRect(),e=F(e?new E(D(e)):B||(B="
|
| - "new E)),f.x=h.left+e.x,f.y=h.top+e.y;else if(e.getBoxObjectFor)h=e.getBox"
|
| - "ObjectFor(a),e=e.getBoxObjectFor(r),f.x=\nh.screenX-e.screenX,f.y=h.scree"
|
| - "nY-e.screenY;else{var g=a;do{f.x+=g.offsetLeft;f.y+=g.offsetTop;g!=a&&(f."
|
| - "x+=g.clientLeft||0,f.y+=g.clientTop||0);if(L(g)==\"fixed\"){f.x+=e.body.s"
|
| - "crollLeft;f.y+=e.body.scrollTop;break}g=g.offsetParent}while(g&&g!=a);h=="
|
| - "\"absolute\"&&(f.y-=e.body.offsetTop);for(g=a;(g=M(g))&&g!=e.body&&g!=r;)"
|
| - "f.x-=g.scrollLeft,f.y-=g.scrollTop}j.x=f.x-k.x;j.y=f.y-k.y}else k=o(a.e)="
|
| - "=\"function\",f=a,a.targetTouches?f=a.targetTouches[0]:k&&a.e().targetTou"
|
| - "ches&&(f=a.e().targetTouches[0]),j.x=f.clientX,\nj.y=f.clientY;var l=c||{"
|
| - "},c=(l.x||0)+j.x,j=(l.y||0)+j.y,k=l.button||0,f=l.bubble||!0;h=m;z(b)>=0&"
|
| - "&(h=l.related||m);e=!!l.alt;r=!!l.control;g=!!l.shift;l=!!l.meta;a.fireEv"
|
| - "ent&&d&&d.createEventObject?(a=d.createEventObject(),a.altKey=e,a.j=r,a.m"
|
| - "etaKey=l,a.shiftKey=g,a.clientX=c,a.clientY=j,a.button=k,a.relatedTarget="
|
| - "h):(a=d.createEvent(\"MouseEvents\"),a.initMouseEvent?a.initMouseEvent(b,"
|
| - "f,!0,i,1,0,0,c,j,r,e,g,l,k,h):(a.initEvent(b,f,!0),a.shiftKey=g,a.metaKey"
|
| - "=l,a.altKey=e,a.ctrlKey=r,a.button=k));return a}\nfunction O(a,b,c){var d"
|
| - "=c||{},c=d.keyCode||0,i=d.charCode||0,j=!!d.alt,k=!!d.ctrl,h=!!d.shift,d="
|
| - "!!d.meta,a=D(a).createEvent(\"Events\");a.initEvent(b,!0,!0);a.charCode=i"
|
| - ";a.keyCode=c;a.altKey=j;a.ctrlKey=k;a.metaKey=d;a.shiftKey=h;return a}\nf"
|
| - "unction P(a,b,c){var d=D(a),i=c||{},c=i.bubble!==!1,j=!!i.alt,k=!!i.contr"
|
| - "ol,h=!!i.shift,i=!!i.meta;a.fireEvent&&d&&d.createEventObject?(a=d.create"
|
| - "EventObject(),a.altKey=j,a.k=k,a.metaKey=i,a.shiftKey=h):(a=d.createEvent"
|
| - "(\"HTMLEvents\"),a.initEvent(b,c,!0),a.shiftKey=h,a.metaKey=i,a.altKey=j,"
|
| - "a.ctrlKey=k);return a}var Q={};Q.click=N;Q.keydown=O;Q.keypress=O;Q.keyup"
|
| - "=O;Q.mousedown=N;Q.mousemove=N;Q.mouseout=N;Q.mouseover=N;Q.mouseup=N;fun"
|
| - "ction R(a){a:{for(var b=0;a;){if(a&&a.nodeType==1&&a.tagName.toUpperCase("
|
| - ")==\"FORM\")break a;a=a.parentNode;b++}a=m}if(!a)throw new s(12,\"Element"
|
| - " was not in a form, so could not submit.\");b=a;var c=(Q.submit||P)(b,\"s"
|
| - "ubmit\",void 0),d;if(!(d=o(b.fireEvent)==\"function\"))d=o(b.fireEvent),d"
|
| - "=d==\"object\"||d==\"array\"||d==\"function\";if(d){try{(D(b)?D(b).parent"
|
| - "Window||D(b).defaultView:window).event=c}catch(i){}b=b.fireEvent(\"onsubm"
|
| - "it\",c)}else b=b.dispatchEvent(c);b&&a.submit()}var S=\"_\".split(\".\"),"
|
| - "T=n;\n!(S[0]in T)&&T.execScript&&T.execScript(\"var \"+S[0]);for(var U;S."
|
| - "length&&(U=S.shift());)!S.length&&R!==void 0?T[U]=R:T=T[U]?T[U]:T[U]={};;"
|
| - " return this._.apply(null,arguments);}.apply({navigator:typeof window!='u"
|
| - "ndefined'?window.navigator:null}, arguments);}";
|
| + "type;a.i=b.prototype;a.prototype=new c};function q(a){for(var b=1;b<argum"
|
| + "ents.length;b++)var c=String(arguments[b]).replace(/\\$/g,\"$$$$\"),a=a.r"
|
| + "eplace(/\\%s/,c);return a};function s(a){this.stack=Error().stack||\"\";i"
|
| + "f(a)this.message=String(a)}p(s,Error);s.prototype.name=\"CustomError\";fu"
|
| + "nction t(a,b){s.call(this,b);this.code=a;this.name=u[a]||u[13]}p(t,s);var"
|
| + " u,v={NoSuchElementError:7,NoSuchFrameError:8,UnknownCommandError:9,Stale"
|
| + "ElementReferenceError:10,ElementNotVisibleError:11,InvalidElementStateErr"
|
| + "or:12,UnknownError:13,ElementNotSelectableError:15,XPathLookupError:19,No"
|
| + "SuchWindowError:23,InvalidCookieDomainError:24,UnableToSetCookieError:25,"
|
| + "ModalDialogOpenedError:26,ModalDialogOpenError:27,ScriptTimeoutError:28},"
|
| + "w={},x;for(x in v)w[v[x]]=x;u=w;\nt.prototype.toString=function(){return"
|
| + "\"[\"+this.name+\"] \"+this.message};function y(a,b){b.unshift(a);s.call("
|
| + "this,q.apply(m,b));b.shift();this.m=a}p(y,s);y.prototype.name=\"Assertion"
|
| + "Error\";function z(a){var b=A;if(typeof b==\"string\"){if(typeof a!=\"str"
|
| + "ing\"||a.length!=1)return-1;return b.indexOf(a,0)}for(var c=0;c<b.length;"
|
| + "c++)if(c in b&&b[c]===a)return c;return-1};var B;function C(a,b){this.x=a"
|
| + "!==void 0?a:0;this.y=b!==void 0?b:0}C.prototype.toString=function(){retur"
|
| + "n\"(\"+this.x+\", \"+this.y+\")\"};function D(a){return a.nodeType==9?a:a"
|
| + ".ownerDocument||a.document}function E(a){this.h=a||n.document||document}f"
|
| + "unction F(a){var b=a.h,a=b.body,b=b.parentWindow||b.defaultView;return ne"
|
| + "w C(b.pageXOffset||a.scrollLeft,b.pageYOffset||a.scrollTop)};var G=\"Stop"
|
| + "Iteration\"in n?n.StopIteration:Error(\"StopIteration\");function H(){}H."
|
| + "prototype.next=function(){throw G;};function I(a,b,c,d,k){this.a=!!b;a&&J"
|
| + "(this,a,d);this.d=k!=void 0?k:this.c||0;this.a&&(this.d*=-1);this.g=!c}p("
|
| + "I,H);I.prototype.b=m;I.prototype.c=0;I.prototype.f=!1;function J(a,b,c){i"
|
| + "f(a.b=b)a.c=typeof c==\"number\"?c:a.b.nodeType!=1?0:a.a?-1:1}\nI.prototy"
|
| + "pe.next=function(){var a;if(this.f){if(!this.b||this.g&&this.d==0)throw G"
|
| + ";a=this.b;var b=this.a?-1:1;if(this.c==b){var c=this.a?a.lastChild:a.firs"
|
| + "tChild;c?J(this,c):J(this,a,b*-1)}else(c=this.a?a.previousSibling:a.nextS"
|
| + "ibling)?J(this,c):J(this,a.parentNode,b*-1);this.d+=this.c*(this.a?-1:1)}"
|
| + "else this.f=!0;a=this.b;if(!this.b)throw G;return a};\nI.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;I.prototype.next.call(this);this.a=!th"
|
| + "is.a;for(var b=arguments[0],c=o(b),b=c==\"array\"||c==\"object\"&&typeof "
|
| + "b.length==\"number\"?arguments[0]:arguments,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 K(a,b,c,d){I.call(this,a,b,c,m,d)}p(K,"
|
| + "I);K.prototype.next=function(){do K.i.next.call(this);while(this.c==-1);r"
|
| + "eturn this.b};function L(a){var b;a:{b=D(a);if(b.defaultView&&b.defaultVi"
|
| + "ew.getComputedStyle&&(b=b.defaultView.getComputedStyle(a,m))){b=b.positio"
|
| + "n||b.getPropertyValue(\"position\");break a}b=\"\"}return b||(a.currentSt"
|
| + "yle?a.currentStyle.position:m)||a.style.position}\nfunction M(a){for(var "
|
| + "b=D(a),c=L(a),d=c==\"fixed\"||c==\"absolute\",a=a.parentNode;a&&a!=b;a=a."
|
| + "parentNode)if(c=L(a),d=d&&c==\"static\"&&a!=b.documentElement&&a!=b.body,"
|
| + "!d&&(a.scrollWidth>a.clientWidth||a.scrollHeight>a.clientHeight||c==\"fix"
|
| + "ed\"||c==\"absolute\"||c==\"relative\"))return a;return m};var A=[\"drags"
|
| + "tart\",\"dragexit\",\"mouseover\",\"mouseout\"];\nfunction N(a,b,c){var d"
|
| + "=D(a),k=d?d.parentWindow||d.defaultView:window,i=new C;if(a.nodeType==1)i"
|
| + "f(a.getBoundingClientRect){var j=a.getBoundingClientRect();i.x=j.left;i.y"
|
| + "=j.top}else{j=F(a?new E(D(a)):B||(B=new E));var h,e=D(a);h=L(a);var f=new"
|
| + " C(0,0),r=(e?e.nodeType==9?e:D(e):document).documentElement;if(a!=r)if(a."
|
| + "getBoundingClientRect)h=a.getBoundingClientRect(),e=F(e?new E(D(e)):B||(B"
|
| + "=new E)),f.x=h.left+e.x,f.y=h.top+e.y;else if(e.getBoxObjectFor)h=e.getBo"
|
| + "xObjectFor(a),e=e.getBoxObjectFor(r),f.x=\nh.screenX-e.screenX,f.y=h.scre"
|
| + "enY-e.screenY;else{var g=a;do{f.x+=g.offsetLeft;f.y+=g.offsetTop;g!=a&&(f"
|
| + ".x+=g.clientLeft||0,f.y+=g.clientTop||0);if(L(g)==\"fixed\"){f.x+=e.body."
|
| + "scrollLeft;f.y+=e.body.scrollTop;break}g=g.offsetParent}while(g&&g!=a);h="
|
| + "=\"absolute\"&&(f.y-=e.body.offsetTop);for(g=a;(g=M(g))&&g!=e.body&&g!=r;"
|
| + ")f.x-=g.scrollLeft,f.y-=g.scrollTop}i.x=f.x-j.x;i.y=f.y-j.y}else j=o(a.e)"
|
| + "==\"function\",f=a,a.targetTouches?f=a.targetTouches[0]:j&&a.e().targetTo"
|
| + "uches&&(f=a.e().targetTouches[0]),i.x=f.clientX,\ni.y=f.clientY;var l=c||"
|
| + "{},c=(l.x||0)+i.x,i=(l.y||0)+i.y,j=l.button||0,f=l.bubble||!0;h=m;z(b)>=0"
|
| + "&&(h=l.related||m);e=!!l.alt;r=!!l.control;g=!!l.shift;l=!!l.meta;a.fireE"
|
| + "vent&&d&&d.createEventObject?(a=d.createEventObject(),a.altKey=e,a.j=r,a."
|
| + "metaKey=l,a.shiftKey=g,a.clientX=c,a.clientY=i,a.button=j,a.relatedTarget"
|
| + "=h):(a=d.createEvent(\"MouseEvents\"),a.initMouseEvent?a.initMouseEvent(b"
|
| + ",f,!0,k,1,0,0,c,i,r,e,g,l,j,h):(a.initEvent(b,f,!0),a.shiftKey=g,a.metaKe"
|
| + "y=l,a.altKey=e,a.ctrlKey=r,a.button=j));return a}\nfunction O(a,b,c){var "
|
| + "d=c||{},c=d.keyCode||0,k=d.charCode||0,i=!!d.alt,j=!!d.ctrl,h=!!d.shift,d"
|
| + "=!!d.meta,a=D(a).createEvent(\"Events\");a.initEvent(b,!0,!0);a.charCode="
|
| + "k;a.keyCode=c;a.altKey=i;a.ctrlKey=j;a.metaKey=d;a.shiftKey=h;return a}\n"
|
| + "function P(a,b,c){var d=D(a),k=c||{},c=k.bubble!==!1,i=!!k.alt,j=!!k.cont"
|
| + "rol,h=!!k.shift,k=!!k.meta;a.fireEvent&&d&&d.createEventObject?(a=d.creat"
|
| + "eEventObject(),a.altKey=i,a.k=j,a.metaKey=k,a.shiftKey=h):(a=d.createEven"
|
| + "t(\"HTMLEvents\"),a.initEvent(b,c,!0),a.shiftKey=h,a.metaKey=k,a.altKey=i"
|
| + ",a.ctrlKey=j);return a}var Q={};Q.click=N;Q.keydown=O;Q.keypress=O;Q.keyu"
|
| + "p=O;Q.mousedown=N;Q.mousemove=N;Q.mouseout=N;Q.mouseover=N;Q.mouseup=N;fu"
|
| + "nction R(a){a:{for(var b=0;a;){if(a&&a.nodeType==1&&a.tagName.toUpperCase"
|
| + "()==\"FORM\")break a;a=a.parentNode;b++}a=m}if(!a)throw new t(12,\"Elemen"
|
| + "t was not in a form, so could not submit.\");var b=a,c=(Q.submit||P)(b,\""
|
| + "submit\",void 0);if(!(\"isTrusted\"in c))c.l=!1;b.dispatchEvent(c)&&a.sub"
|
| + "mit()}var S=\"_\".split(\".\"),T=n;!(S[0]in T)&&T.execScript&&T.execScrip"
|
| + "t(\"var \"+S[0]);for(var U;S.length&&(U=S.shift());)!S.length&&R!==void 0"
|
| + "?T[U]=R:T=T[U]?T[U]:T[U]={};; return this._.apply(null,arguments);}.apply"
|
| + "({navigator:typeof window!='undefined'?window.navigator:null}, arguments)"
|
| + ";}";
|
|
|
| const char* const TOGGLE =
|
| - "function(){return function(){var i=void 0,k=null,m=this;\nfunction p(a){v"
|
| - "ar b=typeof a;if(b==\"object\")if(a){if(a instanceof Array)return\"array"
|
| - "\";else if(a instanceof Object)return b;var c=Object.prototype.toString.c"
|
| - "all(a);if(c==\"[object Window]\")return\"object\";if(c==\"[object Array]"
|
| - "\"||typeof a.length==\"number\"&&typeof a.splice!=\"undefined\"&&typeof a"
|
| - ".propertyIsEnumerable!=\"undefined\"&&!a.propertyIsEnumerable(\"splice\")"
|
| - ")return\"array\";if(c==\"[object Function]\"||typeof a.call!=\"undefined"
|
| - "\"&&typeof a.propertyIsEnumerable!=\"undefined\"&&!a.propertyIsEnumerable"
|
| - "(\"call\"))return\"function\"}else return\"null\";\nelse if(b==\"function"
|
| - "\"&&typeof a.call==\"undefined\")return\"object\";return b}Math.floor(Mat"
|
| - "h.random()*2147483648).toString(36);function q(a,b){function c(){}c.proto"
|
| - "type=b.prototype;a.i=b.prototype;a.prototype=new c};var aa=window;functio"
|
| - "n r(a){this.stack=Error().stack||\"\";if(a)this.message=String(a)}q(r,Err"
|
| - "or);r.prototype.name=\"CustomError\";function s(a,b){r.call(this,b);this."
|
| - "code=a;this.name=t[a]||t[13]}q(s,r);var t,v={NoSuchElementError:7,NoSuchF"
|
| - "rameError:8,UnknownCommandError:9,StaleElementReferenceError:10,ElementNo"
|
| - "tVisibleError:11,InvalidElementStateError:12,UnknownError:13,ElementNotSe"
|
| - "lectableError:15,XPathLookupError:19,NoSuchWindowError:23,InvalidCookieDo"
|
| - "mainError:24,UnableToSetCookieError:25,ModalDialogOpenedError:26,ModalDia"
|
| - "logOpenError:27,ScriptTimeoutError:28},w={},x;for(x in v)w[v[x]]=x;t=w;\n"
|
| - "s.prototype.toString=function(){return\"[\"+this.name+\"] \"+this.message"
|
| - "};function ba(a){for(var b=1;b<arguments.length;b++)var c=String(argument"
|
| - "s[b]).replace(/\\$/g,\"$$$$\"),a=a.replace(/\\%s/,c);return a}var y={};fu"
|
| - "nction ca(a){return y[a]||(y[a]=String(a).replace(/\\-([a-z])/g,function("
|
| - "a,c){return c.toUpperCase()}))};function z(a,b){b.unshift(a);r.call(this,"
|
| - "ba.apply(k,b));b.shift();this.l=a}q(z,r);z.prototype.name=\"AssertionErro"
|
| - "r\";function A(a,b){if(typeof a==\"string\"){if(typeof b!=\"string\"||b.l"
|
| - "ength!=1)return-1;return a.indexOf(b,0)}for(var c=0;c<a.length;c++)if(c i"
|
| - "n a&&a[c]===b)return c;return-1}function da(a,b){for(var c=a.length,d=typ"
|
| - "eof a==\"string\"?a.split(\"\"):a,e=0;e<c;e++)if(e in d&&b.call(i,d[e],e,"
|
| - "a))return!0;return!1};var B=!0,C;B&&(C=/WebKit\\/(\\S+)/);C&&C.exec(m.nav"
|
| - "igator?m.navigator.userAgent:k);var D;function E(a,b){this.x=a!==i?a:0;th"
|
| - "is.y=b!==i?b:0}E.prototype.toString=function(){return\"(\"+this.x+\", \"+"
|
| - "this.y+\")\"};function F(a,b){this.width=a;this.height=b}F.prototype.toSt"
|
| - "ring=function(){return\"(\"+this.width+\" x \"+this.height+\")\"};F.proto"
|
| - "type.floor=function(){this.width=Math.floor(this.width);this.height=Math."
|
| - "floor(this.height);return this};function G(a){return a.nodeType==9?a:a.ow"
|
| - "nerDocument||a.document}function ea(a,b){var c=[];return H(a,b,c,!0)?c[0]"
|
| - ":i}function H(a,b,c,d){if(a!=k)for(var e=0,f;f=a.childNodes[e];e++){if(b("
|
| - "f)&&(c.push(f),d))return!0;if(H(f,b,c,d))return!0}return!1}function I(a,b"
|
| - "){for(var a=a.parentNode,c=0;a;){if(b(a))return a;a=a.parentNode;c++}retu"
|
| - "rn k}function J(a){this.h=a||m.document||document}\nfunction K(a){var b=a"
|
| - ".h,a=!B&&b.compatMode==\"CSS1Compat\"?b.documentElement:b.body,b=b.parent"
|
| - "Window||b.defaultView;return new E(b.pageXOffset||a.scrollLeft,b.pageYOff"
|
| - "set||a.scrollTop)};function fa(a,b){var c=function(a,b){var c=G(a);if(a.s"
|
| - "electSingleNode)return c.setProperty&&c.setProperty(\"SelectionLanguage\""
|
| - ",\"XPath\"),a.selectSingleNode(b);c=G(a);if(c.implementation.hasFeature("
|
| - "\"XPath\",\"3.0\"))var l=c.createNSResolver(c.documentElement),c=c.evalua"
|
| - "te(b,a,l,9,k);else c=k;return c?c.singleNodeValue:k}(b,a);if(!c)return k;"
|
| - "if(c.nodeType!=1)throw Error(\"Returned node is not an element: \"+a);ret"
|
| - "urn c};var L=\"StopIteration\"in m?m.StopIteration:Error(\"StopIteration"
|
| - "\");function ga(){}ga.prototype.next=function(){throw L;};function M(a,b,"
|
| - "c,d,e){this.a=!!b;a&&N(this,a,d);this.d=e!=i?e:this.c||0;this.a&&(this.d*"
|
| - "=-1);this.g=!c}q(M,ga);M.prototype.b=k;M.prototype.c=0;M.prototype.f=!1;f"
|
| - "unction N(a,b,c){if(a.b=b)a.c=typeof c==\"number\"?c:a.b.nodeType!=1?0:a."
|
| - "a?-1:1}\nM.prototype.next=function(){var a;if(this.f){if(!this.b||this.g&"
|
| - "&this.d==0)throw L;a=this.b;var b=this.a?-1:1;if(this.c==b){var c=this.a?"
|
| - "a.lastChild:a.firstChild;c?N(this,c):N(this,a,b*-1)}else(c=this.a?a.previ"
|
| - "ousSibling:a.nextSibling)?N(this,c):N(this,a.parentNode,b*-1);this.d+=thi"
|
| - "s.c*(this.a?-1:1)}else this.f=!0;a=this.b;if(!this.b)throw L;return a};\n"
|
| - "M.prototype.splice=function(){var a=this.b,b=this.a?1:-1;if(this.c==b)thi"
|
| - "s.c=b*-1,this.d+=this.c*(this.a?-1:1);this.a=!this.a;M.prototype.next.cal"
|
| - "l(this);this.a=!this.a;for(var b=arguments[0],c=p(b),b=c==\"array\"||c=="
|
| - "\"object\"&&typeof b.length==\"number\"?arguments[0]:arguments,c=b.length"
|
| - "-1;c>=0;c--)a.parentNode&&a.parentNode.insertBefore(b[c],a.nextSibling);a"
|
| - "&&a.parentNode&&a.parentNode.removeChild(a)};function O(a,b,c,d){M.call(t"
|
| - "his,a,b,c,k,d)}q(O,M);O.prototype.next=function(){do O.i.next.call(this);"
|
| - "while(this.c==-1);return this.b};function ha(a,b){var c=G(a);if(c.default"
|
| - "View&&c.defaultView.getComputedStyle&&(c=c.defaultView.getComputedStyle(a"
|
| - ",k)))return c[b]||c.getPropertyValue(b);return\"\"}function P(a,b){return"
|
| - " ha(a,b)||(a.currentStyle?a.currentStyle[b]:k)||a.style[b]}\nfunction ia("
|
| - "a){for(var b=G(a),c=P(a,\"position\"),d=c==\"fixed\"||c==\"absolute\",a=a"
|
| - ".parentNode;a&&a!=b;a=a.parentNode)if(c=P(a,\"position\"),d=d&&c==\"stati"
|
| - "c\"&&a!=b.documentElement&&a!=b.body,!d&&(a.scrollWidth>a.clientWidth||a."
|
| - "scrollHeight>a.clientHeight||c==\"fixed\"||c==\"absolute\"||c==\"relative"
|
| - "\"))return a;return k};function Q(a,b){return!!a&&a.nodeType==1&&(!b||a.t"
|
| - "agName.toUpperCase()==b)}\nvar ja={\"class\":\"className\",readonly:\"rea"
|
| - "dOnly\"},ka=[\"checked\",\"disabled\",\"draggable\",\"hidden\"],la=[\"asy"
|
| - "nc\",\"autofocus\",\"autoplay\",\"checked\",\"compact\",\"complete\",\"co"
|
| - "ntrols\",\"declare\",\"defaultchecked\",\"defaultselected\",\"defer\",\"d"
|
| - "isabled\",\"draggable\",\"ended\",\"formnovalidate\",\"hidden\",\"indeter"
|
| - "minate\",\"iscontenteditable\",\"ismap\",\"itemscope\",\"loop\",\"multipl"
|
| - "e\",\"muted\",\"nohref\",\"noresize\",\"noshade\",\"novalidate\",\"nowrap"
|
| - "\",\"open\",\"paused\",\"pubdate\",\"readonly\",\"required\",\"reversed\""
|
| - ",\"scoped\",\"seamless\",\"seeking\",\n\"selected\",\"spellcheck\",\"true"
|
| - "speed\",\"willvalidate\"];function ma(a,b){if(8==a.nodeType)return k;b=b."
|
| - "toLowerCase();if(b==\"style\"){var c=a.style.cssText.replace(/^[\\s\\xa0]"
|
| - "+|[\\s\\xa0]+$/g,\"\").toLowerCase();return c.charAt(c.length-1)==\";\"?c"
|
| - ":c+\";\"}c=a.getAttributeNode(b);if(!c)return k;if(A(la,b)>=0)return\"tru"
|
| - "e\";return c.specified?c.value:k}var na=[\"BUTTON\",\"INPUT\",\"OPTGROUP"
|
| - "\",\"OPTION\",\"SELECT\",\"TEXTAREA\"];\nfunction oa(a){var b=a.tagName.t"
|
| - "oUpperCase();if(!(A(na,b)>=0))return!0;if(ma(a,\"disabled\"))return!1;if("
|
| - "a.parentNode&&a.parentNode.nodeType==1&&\"OPTGROUP\"==b||\"OPTION\"==b)re"
|
| - "turn oa(a.parentNode);return!0}function R(a){for(a=a.parentNode;a&&a.node"
|
| - "Type!=1&&a.nodeType!=9&&a.nodeType!=11;)a=a.parentNode;return Q(a)?a:k}fu"
|
| - "nction S(a,b){b=ca(String(b));return ha(a,b)||pa(a,b)}function pa(a,b){va"
|
| - "r c=(a.currentStyle||a.style)[b];if(c!=\"inherit\")return c!==i?c:k;retur"
|
| - "n(c=R(a))?pa(c,b):k}\nfunction qa(a){if(p(a.getBBox)==\"function\")return"
|
| - " a.getBBox();var b;if(P(a,\"display\")!=\"none\")b=new F(a.offsetWidth,a."
|
| - "offsetHeight);else{b=a.style;var c=b.display,d=b.visibility,e=b.position;"
|
| - "b.visibility=\"hidden\";b.position=\"absolute\";b.display=\"inline\";var "
|
| - "f=a.offsetWidth,a=a.offsetHeight;b.display=c;b.position=e;b.visibility=d;"
|
| - "b=new F(f,a)}return b}\nfunction T(a,b){function c(a){if(S(a,\"display\")"
|
| - "==\"none\")return!1;a=R(a);return!a||c(a)}function d(a){var b=qa(a);if(b."
|
| - "height>0&&b.width>0)return!0;if(a.innerText||a.textContent)if(ra.test(a.i"
|
| - "nnerText||a.textContent))return!0;return B&&da(a.childNodes,function(a){r"
|
| - "eturn Q(a)&&d(a)})}if(!Q(a))throw Error(\"Argument to isShown must be of "
|
| - "type Element\");if(Q(a,\"TITLE\"))return(G(a)?G(a).parentWindow||G(a).def"
|
| - "aultView:window)==aa;if(Q(a,\"OPTION\")||Q(a,\"OPTGROUP\")){var e=I(a,fun"
|
| - "ction(a){return Q(a,\"SELECT\")});\nreturn!!e&&T(e,b)}if(Q(a,\"MAP\")){if"
|
| - "(!a.name)return!1;e=G(a);e=e.evaluate?fa('/descendant::*[@usemap = \"#'+a"
|
| - ".name+'\"]',e):ea(e,function(b){return Q(b)&&ma(b,\"usemap\")==\"#\"+a.na"
|
| - "me});return!!e&&T(e,b)}if(Q(a,\"AREA\"))return e=I(a,function(a){return Q"
|
| - "(a,\"MAP\")}),!!e&&T(e,b);if(Q(a,\"INPUT\")&&a.type.toLowerCase()==\"hidd"
|
| - "en\")return!1;if(S(a,\"visibility\")==\"hidden\")return!1;if(!c(a))return"
|
| - "!1;if(!b&&sa(a)==0)return!1;if(!d(a))return!1;return!0}var ra=RegExp(\"^"
|
| - "\"+(\"[\\\\s\\\\xa0\"+String.fromCharCode(160)+\"]+\")+\"$\");\nfunction "
|
| - "sa(a){var b=1,c=S(a,\"opacity\");c&&(b=Number(c));(a=R(a))&&(b*=sa(a));re"
|
| - "turn b};var ta=[\"dragstart\",\"dragexit\",\"mouseover\",\"mouseout\"];\n"
|
| - "function U(a,b,c){var d=G(a),e=d?d.parentWindow||d.defaultView:window,f=n"
|
| - "ew E;if(a.nodeType==1)if(a.getBoundingClientRect){var l=a.getBoundingClie"
|
| - "ntRect();f.x=l.left;f.y=l.top}else{l=K(a?new J(G(a)):D||(D=new J));var n,"
|
| - "g=G(a);n=P(a,\"position\");var h=new E(0,0),u=(g?g.nodeType==9?g:G(g):doc"
|
| - "ument).documentElement;if(a!=u)if(a.getBoundingClientRect)n=a.getBounding"
|
| - "ClientRect(),g=K(g?new J(G(g)):D||(D=new J)),h.x=n.left+g.x,h.y=n.top+g.y"
|
| - ";else if(g.getBoxObjectFor)n=g.getBoxObjectFor(a),g=g.getBoxObjectFor(u),"
|
| - "\nh.x=n.screenX-g.screenX,h.y=n.screenY-g.screenY;else{var j=a;do{h.x+=j."
|
| - "offsetLeft;h.y+=j.offsetTop;j!=a&&(h.x+=j.clientLeft||0,h.y+=j.clientTop|"
|
| - "|0);if(B&&P(j,\"position\")==\"fixed\"){h.x+=g.body.scrollLeft;h.y+=g.bod"
|
| - "y.scrollTop;break}j=j.offsetParent}while(j&&j!=a);B&&n==\"absolute\"&&(h."
|
| - "y-=g.body.offsetTop);for(j=a;(j=ia(j))&&j!=g.body&&j!=u;)h.x-=j.scrollLef"
|
| - "t,h.y-=j.scrollTop}f.x=h.x-l.x;f.y=h.y-l.y}else l=p(a.e)==\"function\",h="
|
| - "a,a.targetTouches?h=a.targetTouches[0]:l&&a.e().targetTouches&&(h=a.e().t"
|
| - "argetTouches[0]),\nf.x=h.clientX,f.y=h.clientY;var o=c||{},c=(o.x||0)+f.x"
|
| - ",f=(o.y||0)+f.y,l=o.button||0,h=o.bubble||!0;n=k;A(ta,b)>=0&&(n=o.related"
|
| - "||k);g=!!o.alt;u=!!o.control;j=!!o.shift;o=!!o.meta;a.fireEvent&&d&&d.cre"
|
| - "ateEventObject?(a=d.createEventObject(),a.altKey=g,a.j=u,a.metaKey=o,a.sh"
|
| - "iftKey=j,a.clientX=c,a.clientY=f,a.button=l,a.relatedTarget=n):(a=d.creat"
|
| - "eEvent(\"MouseEvents\"),a.initMouseEvent?a.initMouseEvent(b,h,!0,e,1,0,0,"
|
| - "c,f,u,g,j,o,l,n):(a.initEvent(b,h,!0),a.shiftKey=j,a.metaKey=o,a.altKey=g"
|
| - ",a.ctrlKey=\nu,a.button=l));return a}function V(a,b,c){var d=c||{},c=d.ke"
|
| - "yCode||0,e=d.charCode||0,f=!!d.alt,l=!!d.ctrl,n=!!d.shift,d=!!d.meta,a=G("
|
| - "a).createEvent(\"Events\");a.initEvent(b,!0,!0);a.charCode=e;a.keyCode=c;"
|
| - "a.altKey=f;a.ctrlKey=l;a.metaKey=d;a.shiftKey=n;return a}\nfunction ua(a,"
|
| - "b,c){var d=G(a),e=c||{},c=e.bubble!==!1,f=!!e.alt,l=!!e.control,n=!!e.shi"
|
| - "ft,e=!!e.meta;a.fireEvent&&d&&d.createEventObject?(a=d.createEventObject("
|
| - "),a.altKey=f,a.k=l,a.metaKey=e,a.shiftKey=n):(a=d.createEvent(\"HTMLEvent"
|
| - "s\"),a.initEvent(b,c,!0),a.shiftKey=n,a.metaKey=e,a.altKey=f,a.ctrlKey=l)"
|
| - ";return a}var W={};W.click=U;W.keydown=V;W.keypress=V;W.keyup=V;W.mousedo"
|
| - "wn=U;W.mousemove=U;W.mouseout=U;W.mouseover=U;W.mouseup=U;\nfunction va(a"
|
| - "){var b=(W.change||ua)(a,\"change\",i),c;if(!(c=p(a.fireEvent)==\"functio"
|
| - "n\"))c=p(a.fireEvent),c=c==\"object\"||c==\"array\"||c==\"function\";if(c"
|
| - "){try{(G(a)?G(a).parentWindow||G(a).defaultView:window).event=b}catch(d){"
|
| - "}a.fireEvent(\"onchange\",b)}else a.dispatchEvent(b)};function X(a){var b"
|
| - ";Q(a,\"OPTION\")?b=!0:Q(a,\"INPUT\")?(b=a.type.toLowerCase(),b=b==\"check"
|
| - "box\"||b==\"radio\"):b=!1;if(!b)throw new s(15,\"Element is not selectabl"
|
| - "e\");b=\"selected\";var c=a.type&&a.type.toLowerCase();if(\"checkbox\"==c"
|
| - "||\"radio\"==c)b=\"checked\";b=ja[b]||b;a=a[b];a=a===i&&A(ka,b)>=0?!1:a;r"
|
| - "eturn!!a}function wa(a){return Q(a,\"SELECT\")};function xa(a){if(Q(a,\"I"
|
| - "NPUT\")&&\"radio\"==a.type)throw new s(12,\"You may not toggle a radio bu"
|
| - "tton\");var b=!X(a);if(!T(a,!0))throw new s(11,\"Element is not currently"
|
| - " visible and may not be manipulated\");if(!oa(a))throw new s(12,\"Element"
|
| - " is not currently enabled and may not be manipulated\");if(Q(a,\"INPUT\")"
|
| - "){var c=a.type.toLowerCase();if(c==\"checkbox\"||c==\"radio\"){if(a.check"
|
| - "ed!=b){if(a.type==\"radio\"&&!b)throw new s(12,\"You may not deselect a r"
|
| - "adio button\");if(b!=X(a))a.checked=b,va(a)}}else throw new s(15,\n\"You "
|
| - "may not select an unselectable input element: \"+a.type);}else if(Q(a,\"O"
|
| - "PTION\")){c=I(a,wa);if(!c.multiple&&!b)throw new s(15,\"You may not desel"
|
| - "ect an option within a select that does not support multiple selections."
|
| - "\");if(b!=X(a))a.selected=b,va(c)}else throw new s(15,\"You may not selec"
|
| - "t an unselectable element: \"+a.tagName);return X(a)}var Y=\"_\".split(\""
|
| - ".\"),Z=m;!(Y[0]in Z)&&Z.execScript&&Z.execScript(\"var \"+Y[0]);for(var $"
|
| - ";Y.length&&($=Y.shift());)!Y.length&&xa!==i?Z[$]=xa:Z=Z[$]?Z[$]:Z[$]={};;"
|
| - " return this._.apply(null,arguments);}.apply({navigator:typeof window!='u"
|
| - "ndefined'?window.navigator:null}, arguments);}";
|
| + "function(){return function(){function j(a){throw a;}var m=void 0,n=null,o"
|
| + "=this;\nfunction q(a){var b=typeof a;if(b==\"object\")if(a){if(a instance"
|
| + "of Array)return\"array\";else if(a instanceof Object)return b;var c=Objec"
|
| + "t.prototype.toString.call(a);if(c==\"[object Window]\")return\"object\";i"
|
| + "f(c==\"[object Array]\"||typeof a.length==\"number\"&&typeof a.splice!=\""
|
| + "undefined\"&&typeof a.propertyIsEnumerable!=\"undefined\"&&!a.propertyIsE"
|
| + "numerable(\"splice\"))return\"array\";if(c==\"[object Function]\"||typeof"
|
| + " a.call!=\"undefined\"&&typeof a.propertyIsEnumerable!=\"undefined\"&&!a."
|
| + "propertyIsEnumerable(\"call\"))return\"function\"}else return\"null\";\ne"
|
| + "lse if(b==\"function\"&&typeof a.call==\"undefined\")return\"object\";ret"
|
| + "urn b}Math.floor(Math.random()*2147483648).toString(36);function r(a,b){f"
|
| + "unction c(){}c.prototype=b.prototype;a.i=b.prototype;a.prototype=new c};f"
|
| + "unction aa(a){for(var b=1;b<arguments.length;b++)var c=String(arguments[b"
|
| + "]).replace(/\\$/g,\"$$$$\"),a=a.replace(/\\%s/,c);return a}var s={};funct"
|
| + "ion ba(a){return s[a]||(s[a]=String(a).replace(/\\-([a-z])/g,function(a,c"
|
| + "){return c.toUpperCase()}))};var t=!0,u;t&&(u=/WebKit\\/(\\S+)/);u&&u.exe"
|
| + "c(o.navigator?o.navigator.userAgent:n);var ca=window;function w(a){this.s"
|
| + "tack=Error().stack||\"\";if(a)this.message=String(a)}r(w,Error);w.prototy"
|
| + "pe.name=\"CustomError\";function x(a,b){w.call(this,b);this.code=a;this.n"
|
| + "ame=y[a]||y[13]}r(x,w);var y,z={NoSuchElementError:7,NoSuchFrameError:8,U"
|
| + "nknownCommandError:9,StaleElementReferenceError:10,ElementNotVisibleError"
|
| + ":11,InvalidElementStateError:12,UnknownError:13,ElementNotSelectableError"
|
| + ":15,XPathLookupError:19,NoSuchWindowError:23,InvalidCookieDomainError:24,"
|
| + "UnableToSetCookieError:25,ModalDialogOpenedError:26,ModalDialogOpenError:"
|
| + "27,ScriptTimeoutError:28},A={},B;for(B in z)A[z[B]]=B;y=A;\nx.prototype.t"
|
| + "oString=function(){return\"[\"+this.name+\"] \"+this.message};function C("
|
| + "a,b){b.unshift(a);w.call(this,aa.apply(n,b));b.shift();this.m=a}r(C,w);C."
|
| + "prototype.name=\"AssertionError\";function D(a,b){if(typeof a==\"string\""
|
| + "){if(typeof b!=\"string\"||b.length!=1)return-1;return a.indexOf(b,0)}for"
|
| + "(var c=0;c<a.length;c++)if(c in a&&a[c]===b)return c;return-1}function da"
|
| + "(a,b){for(var c=a.length,d=typeof a==\"string\"?a.split(\"\"):a,e=0;e<c;e"
|
| + "++)if(e in d&&b.call(m,d[e],e,a))return!0;return!1};var E;function F(a,b)"
|
| + "{this.x=a!==m?a:0;this.y=b!==m?b:0}F.prototype.toString=function(){return"
|
| + "\"(\"+this.x+\", \"+this.y+\")\"};function G(a,b){this.width=a;this.heigh"
|
| + "t=b}G.prototype.toString=function(){return\"(\"+this.width+\" x \"+this.h"
|
| + "eight+\")\"};G.prototype.floor=function(){this.width=Math.floor(this.widt"
|
| + "h);this.height=Math.floor(this.height);return this};function H(a){return "
|
| + "a.nodeType==9?a:a.ownerDocument||a.document}function ea(a,b){var c=[];ret"
|
| + "urn I(a,b,c,!0)?c[0]:m}function I(a,b,c,d){if(a!=n)for(var e=0,f;f=a.chil"
|
| + "dNodes[e];e++){if(b(f)&&(c.push(f),d))return!0;if(I(f,b,c,d))return!0}ret"
|
| + "urn!1}function J(a,b){for(var a=a.parentNode,c=0;a;){if(b(a))return a;a=a"
|
| + ".parentNode;c++}return n}function K(a){this.h=a||o.document||document}\nf"
|
| + "unction fa(a){var b=a.h,a=!t&&b.compatMode==\"CSS1Compat\"?b.documentElem"
|
| + "ent:b.body,b=b.parentWindow||b.defaultView;return new F(b.pageXOffset||a."
|
| + "scrollLeft,b.pageYOffset||a.scrollTop)};function ga(a,b){var c=function(b"
|
| + ",c){var f=H(b);if(b.selectSingleNode)return f.setProperty&&f.setProperty("
|
| + "\"SelectionLanguage\",\"XPath\"),b.selectSingleNode(c);try{var k;var i=H("
|
| + "b);if(i.implementation.hasFeature(\"XPath\",\"3.0\")){var g=i.createNSRes"
|
| + "olver(i.documentElement);k=i.evaluate(c,b,g,9,n)}else k=n;return k?k.sing"
|
| + "leNodeValue:n}catch(h){j(Error(32,\"Unable to locate an element with the "
|
| + "xpath expression \"+a))}}(b,a);if(!c)return n;c.nodeType!=1&&j(Error(\"Re"
|
| + "turned node is not an element: \"+a));return c}\n;var L=\"StopIteration\""
|
| + "in o?o.StopIteration:Error(\"StopIteration\");function ha(){}ha.prototype"
|
| + ".next=function(){j(L)};function M(a,b,c,d,e){this.a=!!b;a&&N(this,a,d);th"
|
| + "is.d=e!=m?e:this.c||0;this.a&&(this.d*=-1);this.g=!c}r(M,ha);M.prototype."
|
| + "b=n;M.prototype.c=0;M.prototype.f=!1;function N(a,b,c){if(a.b=b)a.c=typeo"
|
| + "f c==\"number\"?c:a.b.nodeType!=1?0:a.a?-1:1}\nM.prototype.next=function("
|
| + "){var a;if(this.f){(!this.b||this.g&&this.d==0)&&j(L);a=this.b;var b=this"
|
| + ".a?-1:1;if(this.c==b){var c=this.a?a.lastChild:a.firstChild;c?N(this,c):N"
|
| + "(this,a,b*-1)}else(c=this.a?a.previousSibling:a.nextSibling)?N(this,c):N("
|
| + "this,a.parentNode,b*-1);this.d+=this.c*(this.a?-1:1)}else this.f=!0;(a=th"
|
| + "is.b)||j(L);return a};\nM.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=!thi"
|
| + "s.a;M.prototype.next.call(this);this.a=!this.a;for(var b=arguments[0],c=q"
|
| + "(b),b=c==\"array\"||c==\"object\"&&typeof b.length==\"number\"?arguments["
|
| + "0]:arguments,c=b.length-1;c>=0;c--)a.parentNode&&a.parentNode.insertBefor"
|
| + "e(b[c],a.nextSibling);a&&a.parentNode&&a.parentNode.removeChild(a)};funct"
|
| + "ion O(a,b,c,d){M.call(this,a,b,c,n,d)}r(O,M);O.prototype.next=function(){"
|
| + "do O.i.next.call(this);while(this.c==-1);return this.b};function ia(a,b){"
|
| + "var c=H(a);if(c.defaultView&&c.defaultView.getComputedStyle&&(c=c.default"
|
| + "View.getComputedStyle(a,n)))return c[b]||c.getPropertyValue(b);return\"\""
|
| + "}function P(a,b){return ia(a,b)||(a.currentStyle?a.currentStyle[b]:n)||a."
|
| + "style[b]}\nfunction ja(a){for(var b=H(a),c=P(a,\"position\"),d=c==\"fixed"
|
| + "\"||c==\"absolute\",a=a.parentNode;a&&a!=b;a=a.parentNode)if(c=P(a,\"posi"
|
| + "tion\"),d=d&&c==\"static\"&&a!=b.documentElement&&a!=b.body,!d&&(a.scroll"
|
| + "Width>a.clientWidth||a.scrollHeight>a.clientHeight||c==\"fixed\"||c==\"ab"
|
| + "solute\"||c==\"relative\"))return a;return n};function Q(a,b){return!!a&&"
|
| + "a.nodeType==1&&(!b||a.tagName.toUpperCase()==b)}\nvar ka={\"class\":\"cla"
|
| + "ssName\",readonly:\"readOnly\"},la=[\"checked\",\"disabled\",\"draggable"
|
| + "\",\"hidden\"],ma=[\"async\",\"autofocus\",\"autoplay\",\"checked\",\"com"
|
| + "pact\",\"complete\",\"controls\",\"declare\",\"defaultchecked\",\"default"
|
| + "selected\",\"defer\",\"disabled\",\"draggable\",\"ended\",\"formnovalidat"
|
| + "e\",\"hidden\",\"indeterminate\",\"iscontenteditable\",\"ismap\",\"itemsc"
|
| + "ope\",\"loop\",\"multiple\",\"muted\",\"nohref\",\"noresize\",\"noshade\""
|
| + ",\"novalidate\",\"nowrap\",\"open\",\"paused\",\"pubdate\",\"readonly\","
|
| + "\"required\",\"reversed\",\"scoped\",\"seamless\",\"seeking\",\n\"selecte"
|
| + "d\",\"spellcheck\",\"truespeed\",\"willvalidate\"];function na(a,b){if(8="
|
| + "=a.nodeType)return n;b=b.toLowerCase();if(b==\"style\"){var c=a.style.css"
|
| + "Text.replace(/^[\\s\\xa0]+|[\\s\\xa0]+$/g,\"\").toLowerCase();return c.ch"
|
| + "arAt(c.length-1)==\";\"?c:c+\";\"}c=a.getAttributeNode(b);if(!c)return n;"
|
| + "if(D(ma,b)>=0)return\"true\";return c.specified?c.value:n}var oa=[\"BUTTO"
|
| + "N\",\"INPUT\",\"OPTGROUP\",\"OPTION\",\"SELECT\",\"TEXTAREA\"];\nfunction"
|
| + " pa(a){var b=a.tagName.toUpperCase();if(!(D(oa,b)>=0))return!0;if(na(a,\""
|
| + "disabled\"))return!1;if(a.parentNode&&a.parentNode.nodeType==1&&\"OPTGROU"
|
| + "P\"==b||\"OPTION\"==b)return pa(a.parentNode);return!0}function R(a){for("
|
| + "a=a.parentNode;a&&a.nodeType!=1&&a.nodeType!=9&&a.nodeType!=11;)a=a.paren"
|
| + "tNode;return Q(a)?a:n}function S(a,b){b=ba(String(b));return ia(a,b)||qa("
|
| + "a,b)}function qa(a,b){var c=(a.currentStyle||a.style)[b];if(c!=\"inherit"
|
| + "\")return c!==m?c:n;return(c=R(a))?qa(c,b):n}\nfunction ra(a){if(q(a.getB"
|
| + "Box)==\"function\")return a.getBBox();var b;if(P(a,\"display\")!=\"none\""
|
| + ")b=new G(a.offsetWidth,a.offsetHeight);else{b=a.style;var c=b.display,d=b"
|
| + ".visibility,e=b.position;b.visibility=\"hidden\";b.position=\"absolute\";"
|
| + "b.display=\"inline\";var f=a.offsetWidth,a=a.offsetHeight;b.display=c;b.p"
|
| + "osition=e;b.visibility=d;b=new G(f,a)}return b}\nfunction T(a,b){function"
|
| + " c(a){if(S(a,\"display\")==\"none\")return!1;a=R(a);return!a||c(a)}functi"
|
| + "on d(a){var b=ra(a);if(b.height>0&&b.width>0)return!0;if(a.innerText||a.t"
|
| + "extContent)if(sa.test(a.innerText||a.textContent))return!0;return t&&da(a"
|
| + ".childNodes,function(a){return Q(a)&&d(a)})}Q(a)||j(Error(\"Argument to i"
|
| + "sShown must be of type Element\"));if(Q(a,\"TITLE\"))return(H(a)?H(a).par"
|
| + "entWindow||H(a).defaultView:window)==ca;if(Q(a,\"OPTION\")||Q(a,\"OPTGROU"
|
| + "P\")){var e=J(a,function(a){return Q(a,\"SELECT\")});\nreturn!!e&&T(e,b)}"
|
| + "if(Q(a,\"MAP\")){if(!a.name)return!1;e=H(a);e=e.evaluate?ga('/descendant:"
|
| + ":*[@usemap = \"#'+a.name+'\"]',e):ea(e,function(b){return Q(b)&&na(b,\"us"
|
| + "emap\")==\"#\"+a.name});return!!e&&T(e,b)}if(Q(a,\"AREA\"))return e=J(a,f"
|
| + "unction(a){return Q(a,\"MAP\")}),!!e&&T(e,b);if(Q(a,\"INPUT\")&&a.type.to"
|
| + "LowerCase()==\"hidden\")return!1;if(S(a,\"visibility\")==\"hidden\")retur"
|
| + "n!1;if(!c(a))return!1;if(!b&&ta(a)==0)return!1;if(!d(a))return!1;return!0"
|
| + "}var sa=RegExp(\"^\"+(\"[\\\\s\\\\xa0\"+String.fromCharCode(160)+\"]+\")+"
|
| + "\"$\");\nfunction ta(a){var b=1,c=S(a,\"opacity\");c&&(b=Number(c));(a=R("
|
| + "a))&&(b*=ta(a));return b};var ua=[\"dragstart\",\"dragexit\",\"mouseover"
|
| + "\",\"mouseout\"];\nfunction U(a,b,c){var d=H(a),e=d?d.parentWindow||d.def"
|
| + "aultView:window,f=new F;if(a.nodeType==1)if(a.getBoundingClientRect){var "
|
| + "k=a.getBoundingClientRect();f.x=k.left;f.y=k.top}else{k=fa(a?new K(H(a)):"
|
| + "E||(E=new K));var i,g=H(a);i=P(a,\"position\");var h=new F(0,0),v=(g?g.no"
|
| + "deType==9?g:H(g):document).documentElement;if(a!=v)if(a.getBoundingClient"
|
| + "Rect)i=a.getBoundingClientRect(),g=fa(g?new K(H(g)):E||(E=new K)),h.x=i.l"
|
| + "eft+g.x,h.y=i.top+g.y;else if(g.getBoxObjectFor)i=g.getBoxObjectFor(a),g="
|
| + "g.getBoxObjectFor(v),\nh.x=i.screenX-g.screenX,h.y=i.screenY-g.screenY;el"
|
| + "se{var l=a;do{h.x+=l.offsetLeft;h.y+=l.offsetTop;l!=a&&(h.x+=l.clientLeft"
|
| + "||0,h.y+=l.clientTop||0);if(t&&P(l,\"position\")==\"fixed\"){h.x+=g.body."
|
| + "scrollLeft;h.y+=g.body.scrollTop;break}l=l.offsetParent}while(l&&l!=a);t&"
|
| + "&i==\"absolute\"&&(h.y-=g.body.offsetTop);for(l=a;(l=ja(l))&&l!=g.body&&l"
|
| + "!=v;)h.x-=l.scrollLeft,h.y-=l.scrollTop}f.x=h.x-k.x;f.y=h.y-k.y}else k=q("
|
| + "a.e)==\"function\",h=a,a.targetTouches?h=a.targetTouches[0]:k&&a.e().targ"
|
| + "etTouches&&(h=a.e().targetTouches[0]),\nf.x=h.clientX,f.y=h.clientY;var p"
|
| + "=c||{},c=(p.x||0)+f.x,f=(p.y||0)+f.y,k=p.button||0,h=p.bubble||!0;i=n;D(u"
|
| + "a,b)>=0&&(i=p.related||n);g=!!p.alt;v=!!p.control;l=!!p.shift;p=!!p.meta;"
|
| + "a.fireEvent&&d&&d.createEventObject?(a=d.createEventObject(),a.altKey=g,a"
|
| + ".j=v,a.metaKey=p,a.shiftKey=l,a.clientX=c,a.clientY=f,a.button=k,a.relate"
|
| + "dTarget=i):(a=d.createEvent(\"MouseEvents\"),a.initMouseEvent?a.initMouse"
|
| + "Event(b,h,!0,e,1,0,0,c,f,v,g,l,p,k,i):(a.initEvent(b,h,!0),a.shiftKey=l,a"
|
| + ".metaKey=p,a.altKey=g,a.ctrlKey=\nv,a.button=k));return a}function V(a,b,"
|
| + "c){var d=c||{},c=d.keyCode||0,e=d.charCode||0,f=!!d.alt,k=!!d.ctrl,i=!!d."
|
| + "shift,d=!!d.meta,a=H(a).createEvent(\"Events\");a.initEvent(b,!0,!0);a.ch"
|
| + "arCode=e;a.keyCode=c;a.altKey=f;a.ctrlKey=k;a.metaKey=d;a.shiftKey=i;retu"
|
| + "rn a}\nfunction va(a,b,c){var d=H(a),e=c||{},c=e.bubble!==!1,f=!!e.alt,k="
|
| + "!!e.control,i=!!e.shift,e=!!e.meta;a.fireEvent&&d&&d.createEventObject?(a"
|
| + "=d.createEventObject(),a.altKey=f,a.k=k,a.metaKey=e,a.shiftKey=i):(a=d.cr"
|
| + "eateEvent(\"HTMLEvents\"),a.initEvent(b,c,!0),a.shiftKey=i,a.metaKey=e,a."
|
| + "altKey=f,a.ctrlKey=k);return a}var W={};W.click=U;W.keydown=V;W.keypress="
|
| + "V;W.keyup=V;W.mousedown=U;W.mousemove=U;W.mouseout=U;W.mouseover=U;W.mous"
|
| + "eup=U;\nfunction wa(a){var b=(W.change||va)(a,\"change\",m);if(!(\"isTrus"
|
| + "ted\"in b))b.l=!1;a.dispatchEvent(b)};function X(a){var b;Q(a,\"OPTION\")"
|
| + "?b=!0:Q(a,\"INPUT\")?(b=a.type.toLowerCase(),b=b==\"checkbox\"||b==\"radi"
|
| + "o\"):b=!1;b||j(new x(15,\"Element is not selectable\"));b=\"selected\";va"
|
| + "r c=a.type&&a.type.toLowerCase();if(\"checkbox\"==c||\"radio\"==c)b=\"che"
|
| + "cked\";b=ka[b]||b;a=a[b];a=a===m&&D(la,b)>=0?!1:a;return!!a}function xa(a"
|
| + "){return Q(a,\"SELECT\")};function ya(a){Q(a,\"INPUT\")&&\"radio\"==a.typ"
|
| + "e&&j(new x(12,\"You may not toggle a radio button\"));var b=!X(a);T(a,!0)"
|
| + "||j(new x(11,\"Element is not currently visible and may not be manipulate"
|
| + "d\"));pa(a)||j(new x(12,\"Element is not currently enabled and may not be"
|
| + " manipulated\"));if(Q(a,\"INPUT\")){var c=a.type.toLowerCase();if(c==\"ch"
|
| + "eckbox\"||c==\"radio\"){if(a.checked!=b&&(a.type==\"radio\"&&!b&&j(new x("
|
| + "12,\"You may not deselect a radio button\")),b!=X(a)))a.checked=b,wa(a)}e"
|
| + "lse j(new x(15,\"You may not select an unselectable input element: \"+\na"
|
| + ".type))}else if(Q(a,\"OPTION\")){if(c=J(a,xa),!c.multiple&&!b&&j(new x(15"
|
| + ",\"You may not deselect an option within a select that does not support m"
|
| + "ultiple selections.\")),b!=X(a))a.selected=b,wa(c)}else j(new x(15,\"You "
|
| + "may not select an unselectable element: \"+a.tagName));return X(a)}var Y="
|
| + "\"_\".split(\".\"),Z=o;!(Y[0]in Z)&&Z.execScript&&Z.execScript(\"var \"+Y"
|
| + "[0]);for(var $;Y.length&&($=Y.shift());)!Y.length&&ya!==m?Z[$]=ya:Z=Z[$]?"
|
| + "Z[$]:Z[$]={};; return this._.apply(null,arguments);}.apply({navigator:typ"
|
| + "eof window!='undefined'?window.navigator:null}, arguments);}";
|
|
|
| } // namespace atoms
|
| } // namespace webdriver
|
|
|