appium-remote-debugger 15.7.0 → 15.7.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +12 -0
- package/atoms/active_element.js +16 -71
- package/atoms/clear.js +73 -131
- package/atoms/clear_local_storage.js +16 -71
- package/atoms/clear_session_storage.js +16 -71
- package/atoms/click.js +81 -137
- package/atoms/default_content.js +16 -71
- package/atoms/execute_async_script.js +20 -9
- package/atoms/execute_script.js +19 -7
- package/atoms/execute_sql.js +13 -2
- package/atoms/find_element.js +56 -109
- package/atoms/find_element_fragment.js +57 -111
- package/atoms/find_elements.js +57 -112
- package/atoms/frame_by_id_or_name.js +59 -112
- package/atoms/frame_by_index.js +16 -71
- package/atoms/get_appcache_status.js +16 -71
- package/atoms/get_attribute.js +15 -4
- package/atoms/get_attribute_value.js +32 -90
- package/atoms/get_effective_style.js +15 -6
- package/atoms/get_element_from_cache.js +14 -3
- package/atoms/get_frame_window.js +16 -71
- package/atoms/get_local_storage_item.js +16 -71
- package/atoms/get_local_storage_key.js +10 -67
- package/atoms/get_local_storage_keys.js +16 -71
- package/atoms/get_local_storage_size.js +16 -71
- package/atoms/get_location.js +14 -3
- package/atoms/get_session_storage_item.js +16 -71
- package/atoms/get_session_storage_key.js +10 -67
- package/atoms/get_session_storage_keys.js +16 -71
- package/atoms/get_session_storage_size.js +16 -71
- package/atoms/get_size.js +31 -91
- package/atoms/get_text.js +53 -112
- package/atoms/get_top_left_coordinates.js +42 -101
- package/atoms/get_value_of_css_property.js +32 -90
- package/atoms/is_displayed.js +47 -106
- package/atoms/is_editable.js +12 -1
- package/atoms/is_enabled.js +29 -87
- package/atoms/is_focusable.js +15 -4
- package/atoms/is_interactable.js +33 -23
- package/atoms/is_selected.js +28 -87
- package/atoms/lastupdate +6 -17
- package/atoms/remove_local_storage_item.js +16 -71
- package/atoms/remove_session_storage_item.js +16 -71
- package/atoms/set_local_storage_item.js +16 -71
- package/atoms/set_session_storage_item.js +16 -71
- package/atoms/submit.js +71 -129
- package/atoms/type.js +71 -129
- package/package.json +2 -2
package/atoms/is_enabled.js
CHANGED
|
@@ -1,90 +1,32 @@
|
|
|
1
|
-
function(){return (function(){
|
|
2
|
-
function da(a){var b=typeof a;if("object"==b)if(a){if(a instanceof Array)return"array";if(a instanceof Object)return b;var c=Object.prototype.toString.call(a);if("[object Window]"==c)return"object";if("[object Array]"==c||"number"==typeof a.length&&"undefined"!=typeof a.splice&&"undefined"!=typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable("splice"))return"array";if("[object Function]"==c||"undefined"!=typeof a.call&&"undefined"!=typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable("call"))return"function"}else return"null";
|
|
3
|
-
else if("function"==b&&"undefined"==typeof a.call)return"object";return b}function ea(a){var b=da(a);return"array"==b||"object"==b&&"number"==typeof a.length}function fa(a){var b=typeof a;return"object"==b&&null!=a||"function"==b}function ha(a,b,c){return a.call.apply(a.bind,arguments)}
|
|
4
|
-
function ia(a,b,c){if(!a)throw Error();if(2<arguments.length){var d=Array.prototype.slice.call(arguments,2);return function(){var e=Array.prototype.slice.call(arguments);Array.prototype.unshift.apply(e,d);return a.apply(b,e)}}return function(){return a.apply(b,arguments)}}function ja(a,b,c){Function.prototype.bind&&-1!=Function.prototype.bind.toString().indexOf("native code")?ja=ha:ja=ia;return ja.apply(null,arguments)}
|
|
5
|
-
function ka(a,b){var c=Array.prototype.slice.call(arguments,1);return function(){var d=c.slice();d.push.apply(d,arguments);return a.apply(this,d)}}var la=Date.now||function(){return+new Date};function g(a,b){function c(){}c.prototype=b.prototype;a.I=b.prototype;a.prototype=new c;a.prototype.constructor=a}
|
|
6
|
-
function ma(a,b,c){var d=arguments.callee.caller;if("undefined"!==typeof d.I){for(var e=Array(arguments.length-1),f=1;f<arguments.length;f++)e[f-1]=arguments[f];d.I.constructor.apply(a,e)}else{if("string"!=typeof b&&"symbol"!=typeof b)throw Error("method names provided to goog.base must be a string or a symbol");e=Array(arguments.length-2);for(f=2;f<arguments.length;f++)e[f-2]=arguments[f];f=!1;for(var h=a.constructor.prototype;h;h=Object.getPrototypeOf(h))if(h[b]===d)f=!0;else if(f){h[b].apply(a,
|
|
7
|
-
e);return}if(a[b]===d)a.constructor.prototype[b].apply(a,e);else throw Error("goog.base called from a method of one name to a method of a different name");}};/*
|
|
1
|
+
function(){return (function(){/*
|
|
8
2
|
|
|
9
|
-
The
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
The above copyright notice and this permission notice shall be included in
|
|
22
|
-
all copies or substantial portions of the Software.
|
|
3
|
+
Copyright The Closure Library Authors.
|
|
4
|
+
Copyright The Closure Compiler Authors.
|
|
5
|
+
SPDX-License-Identifier: Apache-2.0
|
|
6
|
+
*/
|
|
7
|
+
var d;function aa(a){var b=0;return function(){return b<a.length?{done:!1,value:a[b++]}:{done:!0}}}var g=typeof Object.defineProperties=="function"?Object.defineProperty:function(a,b,c){if(a==Array.prototype||a==Object.prototype)return a;a[b]=c.value;return a};
|
|
8
|
+
function ba(a){a=["object"==typeof globalThis&&globalThis,a,"object"==typeof window&&window,"object"==typeof self&&self,"object"==typeof global&&global];for(var b=0;b<a.length;++b){var c=a[b];if(c&&c.Math==Math)return c}throw Error("Cannot find global object");}var k=ba(this);function m(a,b){if(b)a:{var c=k;a=a.split(".");for(var e=0;e<a.length-1;e++){var f=a[e];if(!(f in c))break a;c=c[f]}a=a[a.length-1];e=c[a];b=b(e);b!=e&&b!=null&&g(c,a,{configurable:!0,writable:!0,value:b})}}
|
|
9
|
+
m("Symbol",function(a){function b(h){if(this instanceof b)throw new TypeError("Symbol is not a constructor");return new c(e+(h||"")+"_"+f++,h)}function c(h,l){this.g=h;g(this,"description",{configurable:!0,writable:!0,value:l})}if(a)return a;c.prototype.toString=function(){return this.g};var e="jscomp_symbol_"+(Math.random()*1E9>>>0)+"_",f=0;return b});
|
|
10
|
+
m("Symbol.iterator",function(a){if(a)return a;a=Symbol("Symbol.iterator");for(var b="Array Int8Array Uint8Array Uint8ClampedArray Int16Array Uint16Array Int32Array Uint32Array Float32Array Float64Array".split(" "),c=0;c<b.length;c++){var e=k[b[c]];typeof e==="function"&&typeof e.prototype[a]!="function"&&g(e.prototype,a,{configurable:!0,writable:!0,value:function(){return ca(aa(this))}})}return a});function ca(a){a={next:a};a[Symbol.iterator]=function(){return this};return a}
|
|
11
|
+
var da=typeof Object.create=="function"?Object.create:function(a){function b(){}b.prototype=a;return new b},n;if(typeof Object.setPrototypeOf=="function")n=Object.setPrototypeOf;else{var p;a:{var ea={a:!0},r={};try{r.__proto__=ea;p=r.a;break a}catch(a){}p=!1}n=p?function(a,b){a.__proto__=b;if(a.__proto__!==b)throw new TypeError(a+" is not extensible");return a}:null}var t=n;
|
|
12
|
+
function u(a,b){a.prototype=da(b.prototype);a.prototype.constructor=a;if(t)t(a,b);else for(var c in b)if(c!="prototype")if(Object.defineProperties){var e=Object.getOwnPropertyDescriptor(b,c);e&&Object.defineProperty(a,c,e)}else a[c]=b[c];a.u=b.prototype}function fa(a,b){a instanceof String&&(a+="");var c=0,e=!1,f={next:function(){if(!e&&c<a.length){var h=c++;return{value:b(h,a[h]),done:!1}}e=!0;return{done:!0,value:void 0}}};f[Symbol.iterator]=function(){return f};return f}
|
|
13
|
+
m("Array.prototype.keys",function(a){return a?a:function(){return fa(this,function(b){return b})}});var v=this||self;try{var w=window}catch(a){w=v};/*
|
|
23
14
|
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
27
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
28
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
29
|
-
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
|
30
|
-
IN THE SOFTWARE.
|
|
15
|
+
Copyright The Closure Library Authors.
|
|
16
|
+
SPDX-License-Identifier: Apache-2.0
|
|
31
17
|
*/
|
|
32
|
-
function
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
function
|
|
36
|
-
function
|
|
37
|
-
|
|
38
|
-
function
|
|
39
|
-
function
|
|
40
|
-
function
|
|
41
|
-
function
|
|
42
|
-
|
|
43
|
-
function
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
M("false",2,!1,!1,function(){return!1},0);M("floor",1,!1,!1,function(a,b){return Math.floor(H(b,a))},1);M("id",4,!1,!1,function(a,b){var c=a.a,d=9==c.nodeType?c:c.ownerDocument;a=J(b,a).split(/\s+/);var e=[];n(a,function(h){h=d.getElementById(h);!h||0<=na(e,h)||e.push(h)});e.sort(Ma);var f=new B;n(e,function(h){f.add(h)});return f},1);M("lang",2,!1,!1,function(){return!1},1);M("last",1,!0,!1,function(a){if(1!=arguments.length)throw Error("Function last expects ()");return a.f},0);
|
|
48
|
-
M("local-name",3,!1,!0,function(a,b){return(a=b?Xa(b.a(a)):a.a)?a.localName||a.nodeName.toLowerCase():""},0,1,!0);M("name",3,!1,!0,function(a,b){return(a=b?Xa(b.a(a)):a.a)?a.nodeName.toLowerCase():""},0,1,!0);M("namespace-uri",3,!0,!1,function(){return""},0,1,!0);M("normalize-space",3,!1,!0,function(a,b){return(b?J(b,a):z(a.a)).replace(/[\s\xa0]+/g," ").replace(/^\s+|\s+$/g,"")},0,1);M("not",2,!1,!1,function(a,b){return!K(b,a)},1);M("number",1,!1,!0,function(a,b){return b?H(b,a):+z(a.a)},0,1);
|
|
49
|
-
M("position",1,!0,!1,function(a){return a.b},0);M("round",1,!1,!1,function(a,b){return Math.round(H(b,a))},1);M("starts-with",2,!1,!1,function(a,b,c){b=J(b,a);a=J(c,a);return 0==b.lastIndexOf(a,0)},2);M("string",3,!1,!0,function(a,b){return b?J(b,a):z(a.a)},0,1);M("string-length",1,!1,!0,function(a,b){return(b?J(b,a):z(a.a)).length},0,1);
|
|
50
|
-
M("substring",3,!1,!1,function(a,b,c,d){c=H(c,a);if(isNaN(c)||Infinity==c||-Infinity==c)return"";d=d?H(d,a):Infinity;if(isNaN(d)||-Infinity===d)return"";c=Math.round(c)-1;var e=Math.max(c,0);a=J(b,a);return Infinity==d?a.substring(e):a.substring(e,c+Math.round(d))},2,3);M("substring-after",3,!1,!1,function(a,b,c){b=J(b,a);a=J(c,a);c=b.indexOf(a);return-1==c?"":b.substring(c+a.length)},2);
|
|
51
|
-
M("substring-before",3,!1,!1,function(a,b,c){b=J(b,a);a=J(c,a);a=b.indexOf(a);return-1==a?"":b.substring(0,a)},2);M("sum",1,!1,!1,function(a,b){a=D(b.a(a));b=0;for(var c=E(a);c;c=E(a))b+=+z(c);return b},1,1,!0);M("translate",3,!1,!1,function(a,b,c,d){b=J(b,a);c=J(c,a);var e=J(d,a);a={};for(d=0;d<c.length;d++){var f=c.charAt(d);f in a||(a[f]=e.charAt(d))}c="";for(d=0;d<b.length;d++)f=b.charAt(d),c+=f in a?a[f]:f;return c},3);M("true",2,!1,!1,function(){return!0},0);function C(a,b){this.j=a;this.c=void 0!==b?b:null;this.b=null;switch(a){case "comment":this.b=8;break;case "text":this.b=3;break;case "processing-instruction":this.b=7;break;case "node":break;default:throw Error("Unexpected argument");}}function lb(a){return"comment"==a||"text"==a||"processing-instruction"==a||"node"==a}C.prototype.a=function(a){return null===this.b||this.b==a.nodeType};C.prototype.f=function(){return this.j};
|
|
52
|
-
C.prototype.toString=function(){var a="Kind Test: "+this.j;null===this.c||(a+=G(this.c));return a};function mb(a){F.call(this,3);this.c=a.substring(1,a.length-1)}g(mb,F);mb.prototype.a=function(){return this.c};mb.prototype.toString=function(){return"Literal: "+this.c};function nb(a,b){this.m=a.toLowerCase();a="*"==this.m?"*":"http://www.w3.org/1999/xhtml";this.b=b?b.toLowerCase():a}nb.prototype.a=function(a){var b=a.nodeType;if(1!=b&&2!=b)return!1;b=void 0!==a.localName?a.localName:a.nodeName;return"*"!=this.m&&this.m!=b.toLowerCase()?!1:"*"==this.b?!0:this.b==(a.namespaceURI?a.namespaceURI.toLowerCase():"http://www.w3.org/1999/xhtml")};nb.prototype.f=function(){return this.m};
|
|
53
|
-
nb.prototype.toString=function(){return"Name Test: "+("http://www.w3.org/1999/xhtml"==this.b?"":this.b+":")+this.m};function ob(a){F.call(this,1);this.c=a}g(ob,F);ob.prototype.a=function(){return this.c};ob.prototype.toString=function(){return"Number: "+this.c};function pb(a,b){F.call(this,a.l);this.j=a;this.c=b;this.i=a.i;this.b=a.b;1==this.c.length&&(a=this.c[0],a.C||a.c!=qb||(a=a.u,"*"!=a.f()&&(this.f={name:a.f(),A:null})))}g(pb,F);function rb(){F.call(this,4)}g(rb,F);rb.prototype.a=function(a){var b=new B;a=a.a;9==a.nodeType?b.add(a):b.add(a.ownerDocument);return b};rb.prototype.toString=function(){return"Root Helper Expression"};function sb(){F.call(this,4)}g(sb,F);sb.prototype.a=function(a){var b=new B;b.add(a.a);return b};sb.prototype.toString=function(){return"Context Helper Expression"};
|
|
54
|
-
function tb(a){return"/"==a||"//"==a}pb.prototype.a=function(a){var b=this.j.a(a);if(!(b instanceof B))throw Error("Filter expression must evaluate to nodeset.");a=this.c;for(var c=0,d=a.length;c<d&&b.o;c++){var e=a[c],f=D(b,e.c.v);if(e.i||e.c!=ub)if(e.i||e.c!=vb){var h=E(f);for(b=e.a(new l(h));null!=(h=E(f));)h=e.a(new l(h)),b=Va(b,h)}else h=E(f),b=e.a(new l(h));else{for(h=E(f);(b=E(f))&&(!h.contains||h.contains(b))&&b.compareDocumentPosition(h)&8;h=b);b=e.a(new l(h))}}return b};
|
|
55
|
-
pb.prototype.toString=function(){var a="Path Expression:"+G(this.j);if(this.c.length){var b=q(this.c,function(c,d){return c+G(d)},"Steps:");a+=G(b)}return a};function wb(a,b){this.a=a;this.v=!!b}
|
|
56
|
-
function hb(a,b,c){for(c=c||0;c<a.a.length;c++)for(var d=a.a[c],e=D(b),f=b.o,h,m=0;h=E(e);m++){var k=a.v?f-m:m+1;h=d.a(new l(h,k,f));if("number"==typeof h)k=k==h;else if("string"==typeof h||"boolean"==typeof h)k=!!h;else if(h instanceof B)k=0<h.o;else throw Error("Predicate.evaluate returned an unexpected type.");if(!k){k=e;h=k.f;var w=k.a;if(!w)throw Error("Next must be called at least once before remove.");var I=w.b;w=w.a;I?I.a=w:h.a=w;w?w.b=I:h.b=I;h.o--;k.a=null}}return b}
|
|
57
|
-
wb.prototype.toString=function(){return q(this.a,function(a,b){return a+G(b)},"Predicates:")};function P(a,b,c,d){F.call(this,4);this.c=a;this.u=b;this.j=c||new wb([]);this.C=!!d;b=this.j;b=0<b.a.length?b.a[0].f:null;a.N&&b&&(this.f={name:b.name,A:b.A});a:{a=this.j;for(b=0;b<a.a.length;b++)if(c=a.a[b],c.i||1==c.l||0==c.l){a=!0;break a}a=!1}this.i=a}g(P,F);
|
|
58
|
-
P.prototype.a=function(a){var b=a.a,c=this.f,d=null,e=null,f=0;c&&(d=c.name,e=c.A?J(c.A,a):null,f=1);if(this.C)if(this.i||this.c!=xb)if(b=D((new P(yb,new C("node"))).a(a)),c=E(b))for(a=this.s(c,d,e,f);null!=(c=E(b));)a=Va(a,this.s(c,d,e,f));else a=new B;else a=Ra(this.u,b,d,e),a=hb(this.j,a,f);else a=this.s(a.a,d,e,f);return a};P.prototype.s=function(a,b,c,d){a=this.c.B(this.u,a,b,c);return a=hb(this.j,a,d)};
|
|
59
|
-
P.prototype.toString=function(){var a="Step:"+G("Operator: "+(this.C?"//":"/"));this.c.m&&(a+=G("Axis: "+this.c));a+=G(this.u);if(this.j.a.length){var b=q(this.j.a,function(c,d){return c+G(d)},"Predicates:");a+=G(b)}return a};function zb(a,b,c,d){this.m=a;this.B=b;this.v=c;this.N=d}zb.prototype.toString=function(){return this.m};var Ab={};function Q(a,b,c,d){if(Ab.hasOwnProperty(a))throw Error("Axis already created: "+a);b=new zb(a,b,c,!!d);return Ab[a]=b}
|
|
60
|
-
Q("ancestor",function(a,b){for(var c=new B;b=b.parentNode;)a.a(b)&&Wa(c,b);return c},!0);Q("ancestor-or-self",function(a,b){var c=new B;do a.a(b)&&Wa(c,b);while(b=b.parentNode);return c},!0);
|
|
61
|
-
var qb=Q("attribute",function(a,b){var c=new B,d=a.f();if(b=b.attributes)if(a instanceof C&&null===a.b||"*"==d)for(a=0;d=b[a];a++)c.add(d);else(d=b.getNamedItem(d))&&c.add(d);return c},!1),xb=Q("child",function(a,b,c,d,e){c=ba(c)?c:null;d=ba(d)?d:null;e=e||new B;for(b=b.firstChild;b;b=b.nextSibling)A(b,c,d)&&a.a(b)&&e.add(b);return e},!1,!0);Q("descendant",Ra,!1,!0);
|
|
62
|
-
var yb=Q("descendant-or-self",function(a,b,c,d){var e=new B;A(b,c,d)&&a.a(b)&&e.add(b);return Ra(a,b,c,d,e)},!1,!0),ub=Q("following",function(a,b,c,d){var e=new B;do for(var f=b;f=f.nextSibling;)A(f,c,d)&&a.a(f)&&e.add(f),e=Ra(a,f,c,d,e);while(b=b.parentNode);return e},!1,!0);Q("following-sibling",function(a,b){for(var c=new B;b=b.nextSibling;)a.a(b)&&c.add(b);return c},!1);Q("namespace",function(){return new B},!1);
|
|
63
|
-
var Bb=Q("parent",function(a,b){var c=new B;if(9==b.nodeType)return c;if(2==b.nodeType)return c.add(b.ownerElement),c;b=b.parentNode;a.a(b)&&c.add(b);return c},!1),vb=Q("preceding",function(a,b,c,d){var e=new B,f=[];do f.unshift(b);while(b=b.parentNode);for(var h=1,m=f.length;h<m;h++){var k=[];for(b=f[h];b=b.previousSibling;)k.unshift(b);for(var w=0,I=k.length;w<I;w++)b=k[w],A(b,c,d)&&a.a(b)&&e.add(b),e=Ra(a,b,c,d,e)}return e},!0,!0);
|
|
64
|
-
Q("preceding-sibling",function(a,b){for(var c=new B;b=b.previousSibling;)a.a(b)&&Wa(c,b);return c},!0);var Cb=Q("self",function(a,b){var c=new B;a.a(b)&&c.add(b);return c},!1);function Db(a){F.call(this,1);this.c=a;this.i=a.i;this.b=a.b}g(Db,F);Db.prototype.a=function(a){return-H(this.c,a)};Db.prototype.toString=function(){return"Unary Expression: -"+G(this.c)};function Eb(a){F.call(this,4);this.c=a;$a(this,oa(this.c,function(b){return b.i}));ab(this,oa(this.c,function(b){return b.b}))}g(Eb,F);Eb.prototype.a=function(a){var b=new B;n(this.c,function(c){c=c.a(a);if(!(c instanceof B))throw Error("Path expression must evaluate to NodeSet.");b=Va(b,c)});return b};Eb.prototype.toString=function(){return q(this.c,function(a,b){return a+G(b)},"Union Expression:")};function Fb(a,b){this.a=a;this.b=b}function Gb(a){for(var b,c=[];;){R(a,"Missing right hand side of binary expression.");b=Hb(a);var d=y(a.a);if(!d)break;var e=(d=fb[d]||null)&&d.H;if(!e){a.a.a--;break}for(;c.length&&e<=c[c.length-1].H;)b=new bb(c.pop(),c.pop(),b);c.push(b,d)}for(;c.length;)b=new bb(c.pop(),c.pop(),b);return b}function R(a,b){if(Ia(a.a))throw Error(b);}function Ib(a,b){a=y(a.a);if(a!=b)throw Error("Bad token, expected: "+b+" got: "+a);}
|
|
65
|
-
function Jb(a){a=y(a.a);if(")"!=a)throw Error("Bad token: "+a);}function Kb(a){a=y(a.a);if(2>a.length)throw Error("Unclosed literal string");return new mb(a)}
|
|
66
|
-
function Lb(a){var b=[];if(tb(x(a.a))){var c=y(a.a);var d=x(a.a);if("/"==c&&(Ia(a.a)||"."!=d&&".."!=d&&"@"!=d&&"*"!=d&&!/(?![0-9])[\w]/.test(d)))return new rb;d=new rb;R(a,"Missing next location step.");c=Mb(a,c);b.push(c)}else{a:{c=x(a.a);d=c.charAt(0);switch(d){case "$":throw Error("Variable reference not allowed in HTML XPath");case "(":y(a.a);c=Gb(a);R(a,'unclosed "("');Ib(a,")");break;case '"':case "'":c=Kb(a);break;default:if(isNaN(+c))if(!lb(c)&&/(?![0-9])[\w]/.test(d)&&"("==x(a.a,1)){c=y(a.a);
|
|
67
|
-
c=kb[c]||null;y(a.a);for(d=[];")"!=x(a.a);){R(a,"Missing function argument list.");d.push(Gb(a));if(","!=x(a.a))break;y(a.a)}R(a,"Unclosed function argument list.");Jb(a);c=new ib(c,d)}else{c=null;break a}else c=new ob(+y(a.a))}"["==x(a.a)&&(d=new wb(Nb(a)),c=new gb(c,d))}if(c)if(tb(x(a.a)))d=c;else return c;else c=Mb(a,"/"),d=new sb,b.push(c)}for(;tb(x(a.a));)c=y(a.a),R(a,"Missing next location step."),c=Mb(a,c),b.push(c);return new pb(d,b)}
|
|
68
|
-
function Mb(a,b){if("/"!=b&&"//"!=b)throw Error('Step op should be "/" or "//"');if("."==x(a.a)){var c=new P(Cb,new C("node"));y(a.a);return c}if(".."==x(a.a))return c=new P(Bb,new C("node")),y(a.a),c;if("@"==x(a.a)){var d=qb;y(a.a);R(a,"Missing attribute name")}else if("::"==x(a.a,1)){if(!/(?![0-9])[\w]/.test(x(a.a).charAt(0)))throw Error("Bad token: "+y(a.a));var e=y(a.a);d=Ab[e]||null;if(!d)throw Error("No axis with name: "+e);y(a.a);R(a,"Missing node name")}else d=xb;e=x(a.a);if(/(?![0-9])[\w\*]/.test(e.charAt(0)))if("("==
|
|
69
|
-
x(a.a,1)){if(!lb(e))throw Error("Invalid node type: "+e);e=y(a.a);if(!lb(e))throw Error("Invalid type name: "+e);Ib(a,"(");R(a,"Bad nodetype");var f=x(a.a).charAt(0),h=null;if('"'==f||"'"==f)h=Kb(a);R(a,"Bad nodetype");Jb(a);e=new C(e,h)}else if(e=y(a.a),f=e.indexOf(":"),-1==f)e=new nb(e);else{h=e.substring(0,f);if("*"==h)var m="*";else if(m=a.b(h),!m)throw Error("Namespace prefix not declared: "+h);e=e.substr(f+1);e=new nb(e,m)}else throw Error("Bad token: "+y(a.a));a=new wb(Nb(a),d.v);return c||
|
|
70
|
-
new P(d,e,a,"//"==b)}function Nb(a){for(var b=[];"["==x(a.a);){y(a.a);R(a,"Missing predicate expression.");var c=Gb(a);b.push(c);R(a,"Unclosed predicate expression.");Ib(a,"]")}return b}function Hb(a){if("-"==x(a.a))return y(a.a),new Db(Hb(a));var b=Lb(a);if("|"!=x(a.a))a=b;else{for(b=[b];"|"==y(a.a);)R(a,"Missing next union location path."),b.push(Lb(a));a.a.a--;a=new Eb(b)}return a};function Ob(a){switch(a.nodeType){case 1:return ka(Pb,a);case 9:return Ob(a.documentElement);case 11:case 10:case 6:case 12:return Qb;default:return a.parentNode?Ob(a.parentNode):Qb}}function Qb(){return null}function Pb(a,b){if(a.prefix==b)return a.namespaceURI||"http://www.w3.org/1999/xhtml";var c=a.getAttributeNode("xmlns:"+b);return c&&c.specified?c.value||null:a.parentNode&&9!=a.parentNode.nodeType?Pb(a.parentNode,b):null};function Rb(a,b){if(!a.length)throw Error("Empty XPath expression.");a=Fa(a);if(Ia(a))throw Error("Invalid XPath expression.");b?"function"==da(b)||(b=ja(b.lookupNamespaceURI,b)):b=function(){return null};var c=Gb(new Fb(a,b));if(!Ia(a))throw Error("Bad token: "+y(a));this.evaluate=function(d,e){d=c.a(new l(d));return new S(d,e)}}
|
|
71
|
-
function S(a,b){if(0==b)if(a instanceof B)b=4;else if("string"==typeof a)b=2;else if("number"==typeof a)b=1;else if("boolean"==typeof a)b=3;else throw Error("Unexpected evaluation result.");if(2!=b&&1!=b&&3!=b&&!(a instanceof B))throw Error("value could not be converted to the specified type");this.resultType=b;switch(b){case 2:this.stringValue=a instanceof B?Ya(a):""+a;break;case 1:this.numberValue=a instanceof B?+Ya(a):+a;break;case 3:this.booleanValue=a instanceof B?0<a.o:!!a;break;case 4:case 5:case 6:case 7:var c=
|
|
72
|
-
D(a);var d=[];for(var e=E(c);e;e=E(c))d.push(e);this.snapshotLength=a.o;this.invalidIteratorState=!1;break;case 8:case 9:this.singleNodeValue=Xa(a);break;default:throw Error("Unknown XPathResult type.");}var f=0;this.iterateNext=function(){if(4!=b&&5!=b)throw Error("iterateNext called with wrong result type");return f>=d.length?null:d[f++]};this.snapshotItem=function(h){if(6!=b&&7!=b)throw Error("snapshotItem called with wrong result type");return h>=d.length||0>h?null:d[h]}}S.ANY_TYPE=0;
|
|
73
|
-
S.NUMBER_TYPE=1;S.STRING_TYPE=2;S.BOOLEAN_TYPE=3;S.UNORDERED_NODE_ITERATOR_TYPE=4;S.ORDERED_NODE_ITERATOR_TYPE=5;S.UNORDERED_NODE_SNAPSHOT_TYPE=6;S.ORDERED_NODE_SNAPSHOT_TYPE=7;S.ANY_UNORDERED_NODE_TYPE=8;S.FIRST_ORDERED_NODE_TYPE=9;function Sb(a){this.lookupNamespaceURI=Ob(a)}
|
|
74
|
-
function Tb(a,b){a=a||aa;var c=a.Document&&a.Document.prototype||a.document;if(!c.evaluate||b)a.XPathResult=S,c.evaluate=function(d,e,f,h){return(new Rb(d,f)).evaluate(e,h)},c.createExpression=function(d,e){return new Rb(d,e)},c.createNSResolver=function(d){return new Sb(d)}}ca("wgxpath.install",Tb);ca("wgxpath.install",Tb);function T(a,b){this.code=a;this.a=U[a]||Ub;this.message=b||"";a=this.a.replace(/((?:^|\s+)[a-z])/g,function(c){return c.toUpperCase().replace(/^[\s\xa0]+/g,"")});b=a.length-5;if(0>b||a.indexOf("Error",b)!=b)a+="Error";this.name=a;a=Error(this.message);a.name=this.name;this.stack=a.stack||""}g(T,Error);var Ub="unknown error",U={15:"element not selectable",11:"element not visible"};U[31]=Ub;U[30]=Ub;U[24]="invalid cookie domain";U[29]="invalid element coordinates";U[12]="invalid element state";
|
|
75
|
-
U[32]="invalid selector";U[51]="invalid selector";U[52]="invalid selector";U[17]="javascript error";U[405]="unsupported operation";U[34]="move target out of bounds";U[27]="no such alert";U[7]="no such element";U[8]="no such frame";U[23]="no such window";U[28]="script timeout";U[33]="session not created";U[10]="stale element reference";U[21]="timeout";U[25]="unable to set cookie";U[26]="unexpected alert open";U[13]=Ub;U[9]="unknown command";var Vb=za(),Wb=Ba()||t("iPod"),Xb=t("iPad"),Yb=t("Android")&&!(Aa()||za()||t("Opera")||t("Silk")),Zb=Aa(),$b=t("Safari")&&!(Aa()||t("Coast")||t("Opera")||t("Edge")||t("Edg/")||t("OPR")||za()||t("Silk")||t("Android"))&&!(Ba()||t("iPad")||t("iPod"));function ac(a){return(a=a.exec(r))?a[1]:""}var bc=function(){if(Vb)return ac(/Firefox\/([0-9.]+)/);if(Zb)return Ba()||t("iPad")||t("iPod")?ac(/CriOS\/([0-9.]+)/):ac(/Chrome\/([0-9.]+)/);if($b&&!(Ba()||t("iPad")||t("iPod")))return ac(/Version\/([0-9.]+)/);if(Wb||Xb){var a=/Version\/(\S+).*Mobile\/(\S+)/.exec(r);if(a)return a[1]+"."+a[2]}else if(Yb)return(a=ac(/Android\s+([0-9.]+)/))?a:ac(/Version\/([0-9.]+)/);return""}();var cc=Xb||Wb,dc;if(Yb){var ec=/Android\s+([0-9\.]+)/.exec(r);dc=ec?ec[1]:"0"}else dc="0";var fc=dc;function gc(a,b){b&&"string"!==typeof b&&(b=b.toString());return a instanceof HTMLFormElement?!!a&&1==a.nodeType&&(!b||"FORM"==b):!!a&&1==a.nodeType&&(!b||a.tagName.toUpperCase()==b)};var hc="BUTTON INPUT OPTGROUP OPTION SELECT TEXTAREA".split(" ");function ic(a){return oa(hc,function(b){return gc(a,b)})?a.disabled?!1:a.parentNode&&1==a.parentNode.nodeType&&gc(a,"OPTGROUP")||gc(a,"OPTION")?ic(a.parentNode):!Qa(a,function(b){var c=b.parentNode;if(c&&gc(c,"FIELDSET")&&c.disabled){if(!gc(b,"LEGEND"))return!0;for(;b=void 0!==b.previousElementSibling?b.previousElementSibling:Ka(b.previousSibling);)if(gc(b,"LEGEND"))return!0}return!1}):!0};var jc=aa.JSON.stringify;function kc(a){function b(c,d){switch(da(c)){case "string":case "number":case "boolean":return c;case "function":return c.toString();case "array":return p(c,function(f){return b(f,d)});case "object":if(0<=d.indexOf(c))throw new T(17,"Recursive object cannot be transferred");if(v(c,"nodeType")&&(1==c.nodeType||9==c.nodeType)){var e={};e.ELEMENT=lc(c);return e}if(v(c,"document"))return e={},e.WINDOW=lc(c),e;d.push(c);if(ea(c))return p(c,function(f){return b(f,d)});c=wa(c,function(f,h){return"number"==
|
|
76
|
-
typeof h||ba(h)});return xa(c,function(f){return b(f,d)});default:return null}}return b(a,[])}function mc(a,b){return"array"==da(a)?p(a,function(c){return mc(c,b)}):fa(a)?"function"==typeof a?a:v(a,"ELEMENT")?nc(a.ELEMENT,b):v(a,"WINDOW")?nc(a.WINDOW,b):xa(a,function(c){return mc(c,b)}):a}function oc(a){a=a||document;var b=a.$wdc_;b||(b=a.$wdc_={},b.F=la());b.F||(b.F=la());return b}function lc(a){var b=oc(a.ownerDocument),c=ya(b,function(d){return d==a});c||(c=":wdc:"+b.F++,b[c]=a);return c}
|
|
77
|
-
function nc(a,b){a=decodeURIComponent(a);b=b||document;var c=oc(b);if(!v(c,a))throw new T(10,"Element does not exist in cache");var d=c[a];if(v(d,"setInterval")){if(d.closed)throw delete c[a],new T(23,"Window has been closed.");return d}for(var e=d;e;){if(e==b.documentElement)return d;e.host&&11===e.nodeType&&(e=e.host);e=e.parentNode}delete c[a];throw new T(10,"Element is no longer attached to the DOM");};var pc=Yb?!(Yb?0<=sa(fc):0<=sa(bc)):!cc;function V(a,b,c){this.a=a;this.b=b;this.f=c}V.prototype.create=function(a){a=Pa(a).createEvent("HTMLEvents");a.initEvent(this.a,this.b,this.f);return a};V.prototype.toString=function(){return this.a};function W(a,b,c){ma(this,a,b,c)}g(W,V);
|
|
78
|
-
W.prototype.create=function(a,b){if(this==qc)throw new T(9,"Browser does not support a mouse pixel scroll event.");var c=Pa(a);a=c?c.parentWindow||c.defaultView:window;c=c.createEvent("MouseEvents");this==rc&&(c.wheelDelta=b.wheelDelta);c.initMouseEvent(this.a,this.b,this.f,a,1,b.clientX,b.clientY,b.clientX,b.clientY,b.ctrlKey,b.altKey,b.shiftKey,b.metaKey,b.button,b.relatedTarget);return c};function sc(a,b,c){ma(this,a,b,c)}g(sc,V);
|
|
79
|
-
sc.prototype.create=function(a,b){a=Pa(a).createEvent("Events");a.initEvent(this.a,this.b,this.f);a.altKey=b.altKey;a.ctrlKey=b.ctrlKey;a.metaKey=b.metaKey;a.shiftKey=b.shiftKey;a.keyCode=b.charCode||b.keyCode;a.charCode=this==tc?a.keyCode:0;return a};function uc(a,b,c){ma(this,a,b,c)}g(uc,V);
|
|
80
|
-
uc.prototype.create=function(a,b){function c(N){N=p(N,function(u){return h.createTouch(m,a,u.identifier,u.pageX,u.pageY,u.screenX,u.screenY)});return h.createTouchList.apply(h,N)}function d(N){var u=p(N,function(O){return{identifier:O.identifier,screenX:O.screenX,screenY:O.screenY,clientX:O.clientX,clientY:O.clientY,pageX:O.pageX,pageY:O.pageY,target:a}});u.item=function(O){return u[O]};return u}function e(N){return p(N,function(u){return new Touch({identifier:u.identifier,screenX:u.screenX,screenY:u.screenY,
|
|
81
|
-
clientX:u.clientX,clientY:u.clientY,pageX:u.pageX,pageY:u.pageY,target:a})})}function f(N,u){switch(N){case 1:return d(u);case 2:return c(u);case 3:return e(u)}return null}var h=Pa(a),m=h?h.parentWindow||h.defaultView:window;if(pc)var k=1;else if(TouchEvent.prototype.initTouchEvent)k=2;else if(TouchEvent&&0<TouchEvent.length)k=3;else throw new T(9,"Not able to create touch events in this browser");var w=f(k,b.changedTouches),I=b.touches==b.changedTouches?w:f(k,b.touches),Ja=b.targetTouches==b.changedTouches?
|
|
82
|
-
w:f(k,b.targetTouches);if(1==k)k=h.createEvent("MouseEvents"),k.initMouseEvent(this.a,this.b,this.f,m,1,0,0,b.clientX,b.clientY,b.ctrlKey,b.altKey,b.shiftKey,b.metaKey,0,b.relatedTarget),k.touches=I,k.targetTouches=Ja,k.changedTouches=w,k.scale=b.scale,k.rotation=b.rotation;else if(2==k)k=h.createEvent("TouchEvent"),0==k.initTouchEvent.length?k.initTouchEvent(I,Ja,w,this.a,m,0,0,b.clientX,b.clientY,b.ctrlKey,b.altKey,b.shiftKey,b.metaKey):k.initTouchEvent(this.a,this.b,this.f,m,1,0,0,b.clientX,b.clientY,
|
|
83
|
-
b.ctrlKey,b.altKey,b.shiftKey,b.metaKey,I,Ja,w,b.scale,b.rotation),k.relatedTarget=b.relatedTarget;else if(3==k)k=new TouchEvent(this.a,{touches:I,targetTouches:Ja,changedTouches:w,bubbles:this.b,cancelable:this.f,ctrlKey:b.ctrlKey,shiftKey:b.shiftKey,altKey:b.altKey,metaKey:b.metaKey});else throw new T(9,"Illegal TouchEventStrategy_ value (this is a bug)");return k};function X(a,b,c){ma(this,a,b,c)}g(X,V);X.prototype.create=function(){throw new T(9,"Browser does not support MSGesture events.");};
|
|
84
|
-
function Y(a,b,c){ma(this,a,b,c)}g(Y,V);Y.prototype.create=function(){throw new T(9,"Browser does not support MSPointer events.");};new W("click",!0,!0);new W("contextmenu",!0,!0);new W("dblclick",!0,!0);new W("mousedown",!0,!0);new W("mousemove",!0,!1);new W("mouseout",!0,!0);new W("mouseover",!0,!0);new W("mouseup",!0,!0);var rc=new W("mousewheel",!0,!0),qc=new W("MozMousePixelScroll",!0,!0);new sc("keydown",!0,!0);var tc=new sc("keypress",!0,!0);new sc("keyup",!0,!0);new uc("touchend",!0,!0);
|
|
85
|
-
new uc("touchmove",!0,!0);new uc("touchstart",!0,!0);new X("MSGestureChange",!0,!0);new X("MSGestureEnd",!0,!0);new X("MSGestureHold",!0,!0);new X("MSGestureStart",!0,!0);new X("MSGestureTap",!0,!0);new X("MSInertiaStart",!0,!0);new Y("MSGotPointerCapture",!0,!1);new Y("MSLostPointerCapture",!0,!1);new Y("MSPointerCancel",!0,!0);new Y("MSPointerDown",!0,!0);new Y("MSPointerMove",!0,!0);new Y("MSPointerOver",!0,!0);new Y("MSPointerOut",!0,!0);new Y("MSPointerUp",!0,!0);function vc(a,b){this.b={};this.a=[];this.f=0;var c=arguments.length;if(1<c){if(c%2)throw Error("Uneven number of arguments");for(var d=0;d<c;d+=2)this.set(arguments[d],arguments[d+1])}else if(a)if(a instanceof vc)for(c=wc(a),d=0;d<c.length;d++)this.set(c[d],a.get(c[d]));else for(d in a)this.set(d,a[d])}
|
|
86
|
-
function wc(a){if(a.f!=a.a.length){for(var b=0,c=0;b<a.a.length;){var d=a.a[b];Object.prototype.hasOwnProperty.call(a.b,d)&&(a.a[c++]=d);b++}a.a.length=c}if(a.f!=a.a.length){var e={};for(c=b=0;b<a.a.length;)d=a.a[b],Object.prototype.hasOwnProperty.call(e,d)||(a.a[c++]=d,e[d]=1),b++;a.a.length=c}return a.a.concat()}vc.prototype.get=function(a,b){return Object.prototype.hasOwnProperty.call(this.b,a)?this.b[a]:b};
|
|
87
|
-
vc.prototype.set=function(a,b){Object.prototype.hasOwnProperty.call(this.b,a)||(this.f++,this.a.push(a));this.b[a]=b};var xc={};function Z(a,b,c){fa(a)&&(a=a.g);a=new yc(a);!b||b in xc&&!c||(xc[b]={key:a,shift:!1},c&&(xc[c]={key:a,shift:!0}));return a}function yc(a){this.code=a}Z(8);Z(9);Z(13);var zc=Z(16),Ac=Z(17),Bc=Z(18);Z(19);Z(20);Z(27);Z(32," ");Z(33);Z(34);Z(35);Z(36);Z(37);Z(38);Z(39);Z(40);Z(44);Z(45);Z(46);Z(48,"0",")");Z(49,"1","!");Z(50,"2","@");Z(51,"3","#");Z(52,"4","$");Z(53,"5","%");Z(54,"6","^");Z(55,"7","&");Z(56,"8","*");Z(57,"9","(");Z(65,"a","A");Z(66,"b","B");Z(67,"c","C");Z(68,"d","D");
|
|
88
|
-
Z(69,"e","E");Z(70,"f","F");Z(71,"g","G");Z(72,"h","H");Z(73,"i","I");Z(74,"j","J");Z(75,"k","K");Z(76,"l","L");Z(77,"m","M");Z(78,"n","N");Z(79,"o","O");Z(80,"p","P");Z(81,"q","Q");Z(82,"r","R");Z(83,"s","S");Z(84,"t","T");Z(85,"u","U");Z(86,"v","V");Z(87,"w","W");Z(88,"x","X");Z(89,"y","Y");Z(90,"z","Z");var Cc=Z(Da?{h:91,g:91}:Ca?{h:224,g:91}:{h:0,g:91});Z(Da?{h:92,g:92}:Ca?{h:224,g:93}:{h:0,g:92});Z(Da?{h:93,g:93}:Ca?{h:0,g:0}:{h:93,g:null});Z({h:96,g:96},"0");Z({h:97,g:97},"1");
|
|
89
|
-
Z({h:98,g:98},"2");Z({h:99,g:99},"3");Z({h:100,g:100},"4");Z({h:101,g:101},"5");Z({h:102,g:102},"6");Z({h:103,g:103},"7");Z({h:104,g:104},"8");Z({h:105,g:105},"9");Z({h:106,g:106},"*");Z({h:107,g:107},"+");Z({h:109,g:109},"-");Z({h:110,g:110},".");Z({h:111,g:111},"/");Z(144);Z(112);Z(113);Z(114);Z(115);Z(116);Z(117);Z(118);Z(119);Z(120);Z(121);Z(122);Z(123);Z({h:107,g:187},"=","+");Z(108,",");Z({h:109,g:189},"-","_");Z(188,",","<");Z(190,".",">");Z(191,"/","?");Z(192,"`","~");Z(219,"[","{");
|
|
90
|
-
Z(220,"\\","|");Z(221,"]","}");Z({h:59,g:186},";",":");Z(222,"'",'"');var Dc=new vc;Dc.set(1,zc);Dc.set(2,Ac);Dc.set(4,Bc);Dc.set(8,Cc);(function(a){var b=new vc;n(wc(a),function(c){b.set(a.get(c).code,c)});return b})(Dc);ca("se_exportedFunctionSymbol",function(a,b){a=[a];var c=ic;try{var d;b?d=nc(b.WINDOW):d=window;var e=mc(a,d.document),f=c.apply(null,e);var h={status:0,value:kc(f)}}catch(m){h={status:v(m,"code")?m.code:13,value:{message:m.message}}}return jc(h)});; return this.se_exportedFunctionSymbol.apply(null,arguments);}).apply(window, arguments);}
|
|
18
|
+
function ha(a){var b=typeof a;return b=="object"&&a!=null||b=="function"}
|
|
19
|
+
function ia(a){var b=typeof a;if(b=="object")if(a){if(a instanceof Array)return"array";if(a instanceof Object)return b;var c=Object.prototype.toString.call(a);if(c=="[object Window]")return"object";if(c=="[object Array]"||typeof a.length=="number"&&typeof a.splice!="undefined"&&typeof a.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";
|
|
20
|
+
else if(b=="function"&&typeof a.call=="undefined")return"object";return b}function ja(a){var b=ia(a);return b=="array"||b=="object"&&typeof a.length=="number"}function ka(a,b){function c(){}c.prototype=b.prototype;a.u=b.prototype;a.prototype=new c;a.prototype.constructor=a;a.v=function(e,f,h){for(var l=Array(arguments.length-2),q=2;q<arguments.length;q++)l[q-2]=arguments[q];return b.prototype[f].apply(e,l)}};var la=Array.prototype.forEach?function(a,b){Array.prototype.forEach.call(a,b,void 0)}:function(a,b){for(var c=a.length,e=typeof a==="string"?a.split(""):a,f=0;f<c;f++)f in e&&b.call(void 0,e[f],f,a)},x=Array.prototype.map?function(a,b){return Array.prototype.map.call(a,b,void 0)}:function(a,b){for(var c=a.length,e=Array(c),f=typeof a==="string"?a.split(""):a,h=0;h<c;h++)h in f&&(e[h]=b.call(void 0,f[h],h,a));return e},ma=Array.prototype.some?function(a,b){return Array.prototype.some.call(a,b,void 0)}:
|
|
21
|
+
function(a,b){for(var c=a.length,e=typeof a==="string"?a.split(""):a,f=0;f<c;f++)if(f in e&&b.call(void 0,e[f],f,a))return!0;return!1};function y(a,b){this.code=a;this.g=z[a]||A;this.message=b||"";a=this.g.replace(/((?:^|\s+)[a-z])/g,function(c){return c.toUpperCase().replace(/^[\s\xa0]+/g,"")});b=a.length-5;if(b<0||a.indexOf("Error",b)!=b)a+="Error";this.name=a;a=Error(this.message);a.name=this.name;this.stack=a.stack||""}ka(y,Error);var A="unknown error",z={15:"element not selectable",11:"element not visible"};z[31]=A;z[30]=A;z[24]="invalid cookie domain";z[29]="invalid element coordinates";z[12]="invalid element state";
|
|
22
|
+
z[32]="invalid selector";z[51]="invalid selector";z[52]="invalid selector";z[17]="javascript error";z[405]="unsupported operation";z[34]="move target out of bounds";z[27]="no such alert";z[7]="no such element";z[8]="no such frame";z[23]="no such window";z[28]="script timeout";z[33]="session not created";z[10]="stale element reference";z[21]="timeout";z[25]="unable to set cookie";z[26]="unexpected alert open";z[13]=A;z[9]="unknown command";function na(a,b){var c={},e;for(e in a)b.call(void 0,a[e],e,a)&&(c[e]=a[e]);return c}function oa(a,b){var c={},e;for(e in a)c[e]=b.call(void 0,a[e],e,a);return c}function B(a,b){return a!==null&&b in a}function pa(a,b){for(var c in a)if(b.call(void 0,a[c],c,a))return c};function C(){var a=v.navigator;return a&&(a=a.userAgent)?a:""}function D(a){return C().indexOf(a)!=-1};function E(){return D("Firefox")||D("FxiOS")}function F(){return(D("Chrome")||D("CriOS"))&&!D("Edge")||D("Silk")};function G(){return D("iPhone")&&!D("iPod")&&!D("iPad")};var H=D("Macintosh"),I=D("Windows");var qa=E(),ra=G()||D("iPod"),sa=D("iPad"),ta=D("Android")&&!(F()||E()||D("Opera")||D("Silk")),ua=F(),va=D("Safari")&&!(F()||D("Coast")||D("Opera")||D("Edge")||D("Edg/")||D("OPR")||E()||D("Silk")||D("Android"))&&!(G()||D("iPad")||D("iPod"));function J(a){return(a=a.exec(C()))?a[1]:""}(function(){if(qa)return J(/Firefox\/([0-9.]+)/);if(ua){if(G()||D("iPad")||D("iPod")||D("Macintosh")){var a=J(/CriOS\/([0-9.]+)/);if(a)return a}return J(/Chrome\/([0-9.]+)/)}if(va&&!(G()||D("iPad")||D("iPod")))return J(/Version\/([0-9.]+)/);if(ra||sa){if(a=/Version\/(\S+).*Mobile\/(\S+)/.exec(C()))return a[1]+"."+a[2]}else if(ta)return(a=J(/Android\s+([0-9.]+)/))?a:J(/Version\/([0-9.]+)/);return""})();function wa(a){for(;a&&a.nodeType!=1;)a=a.previousSibling;return a}function xa(a,b,c){a&&!c&&(a=a.parentNode);for(c=0;a;){if(b(a))return a;a=a.parentNode;c++}return null};function K(a,b){b&&typeof b!=="string"&&(b=b.toString());return a instanceof HTMLFormElement?!!a&&a.nodeType==1&&(!b||"FORM"==b):!!a&&a.nodeType==1&&(!b||a.tagName.toUpperCase()==b)};var ya="BUTTON INPUT OPTGROUP OPTION SELECT TEXTAREA".split(" ");function za(a){return ma(ya,function(b){return K(a,b)})?a.disabled?!1:a.parentNode&&a.parentNode.nodeType==1&&K(a,"OPTGROUP")||K(a,"OPTION")?za(a.parentNode):!xa(a,function(b){var c=b.parentNode;if(c&&K(c,"FIELDSET")&&c.disabled){if(!K(b,"LEGEND"))return!0;for(;b=b.previousElementSibling!==void 0?b.previousElementSibling:wa(b.previousSibling);)if(K(b,"LEGEND"))return!0}return!1},!0):!0};var Aa=v.JSON.stringify;function Ba(a){function b(c,e){switch(ia(c)){case "string":case "number":case "boolean":return c;case "function":return c.toString();case "array":return x(c,function(h){return b(h,e)});case "object":if(e.indexOf(c)>=0)throw new y(17,"Recursive object cannot be transferred");if(B(c,"nodeType")&&(c.nodeType==1||c.nodeType==9)){var f={};f.ELEMENT=Ca(c);return f}if(B(c,"document"))return f={},f.WINDOW=Ca(c),f;e.push(c);if(ja(c))return x(c,function(h){return b(h,e)});c=na(c,function(h,l){return typeof l===
|
|
23
|
+
"number"||typeof l==="string"});return oa(c,function(h){return b(h,e)});default:return null}}return b(a,[])}function L(a,b){return Array.isArray(a)?x(a,function(c){return L(c,b)}):ha(a)?typeof a=="function"?a:B(a,"ELEMENT")?M(a.ELEMENT,b):B(a,"WINDOW")?M(a.WINDOW,b):oa(a,function(c){return L(c,b)}):a}function Da(a){a=a||document;var b=a.$wdc_;b||(b=a.$wdc_={},b.s=Date.now());b.s||(b.s=Date.now());return b}
|
|
24
|
+
function Ca(a){var b=Da(a.ownerDocument),c=pa(b,function(e){return e==a});c||(c=":wdc:"+b.s++,b[c]=a);return c}
|
|
25
|
+
function M(a,b){a=decodeURIComponent(a);b=b||document;var c=Da(b);if(!B(c,a))throw new y(10,"Element does not exist in cache");var e=c[a];if(B(e,"setInterval")){if(e.closed)throw delete c[a],new y(23,"Window has been closed.");return e}for(var f=e;f;){if(f==b.documentElement)return e;f.host&&f.nodeType===11&&(f=f.host);f=f.parentNode}delete c[a];throw new y(10,"Element is no longer attached to the DOM");};function Ea(){this.g=w.document.documentElement;var a=this.g;a=a.nodeType==9?a:a.ownerDocument||a.document;try{var b=a&&a.activeElement;var c=b&&b.nodeName?b:null}catch(e){c=null}c&&Fa(this,c)}function Fa(a,b){a.g=b;K(b,"OPTION")&&xa(b,function(c){return K(c,"SELECT")})};function N(a,b){this.g=a[v.Symbol.iterator]();this.j=b}N.prototype[Symbol.iterator]=function(){return this};N.prototype.next=function(){var a=this.g.next();return{value:a.done?void 0:this.j.call(void 0,a.value),done:a.done}};function Ga(a,b){return new N(a,b)};function O(){}O.prototype.next=function(){return Ha};var Ha={done:!0,value:void 0};O.prototype.l=function(){return this};function Ia(a){if(a instanceof P||a instanceof Q||a instanceof R)return a;if(typeof a.next=="function")return new P(function(){return a});if(typeof a[Symbol.iterator]=="function")return new P(function(){return a[Symbol.iterator]()});if(typeof a.l=="function")return new P(function(){return a.l()});throw Error("Not an iterator or iterable.");}function P(a){this.g=a}P.prototype.l=function(){return new Q(this.g())};P.prototype[Symbol.iterator]=function(){return new R(this.g())};P.prototype.j=function(){return new R(this.g())};
|
|
26
|
+
function Q(a){this.g=a}u(Q,O);Q.prototype.next=function(){return this.g.next()};Q.prototype[Symbol.iterator]=function(){return new R(this.g)};Q.prototype.j=function(){return new R(this.g)};function R(a){P.call(this,function(){return a});this.m=a}u(R,P);R.prototype.next=function(){return this.m.next()};function S(a,b){this.j={};this.g=[];this.m=this.size=0;var c=arguments.length;if(c>1){if(c%2)throw Error("Uneven number of arguments");for(var e=0;e<c;e+=2)this.set(arguments[e],arguments[e+1])}else if(a)if(a instanceof S)for(c=T(a),e=0;e<c.length;e++)this.set(c[e],a.get(c[e]));else for(e in a)this.set(e,a[e])}function T(a){Ja(a);return a.g.concat()}d=S.prototype;d.has=function(a){return Object.prototype.hasOwnProperty.call(this.j,a)};
|
|
27
|
+
function Ja(a){if(a.size!=a.g.length){for(var b=0,c=0;b<a.g.length;){var e=a.g[b];Object.prototype.hasOwnProperty.call(a.j,e)&&(a.g[c++]=e);b++}a.g.length=c}if(a.size!=a.g.length){var f={};for(c=b=0;b<a.g.length;)e=a.g[b],Object.prototype.hasOwnProperty.call(f,e)||(a.g[c++]=e,f[e]=1),b++;a.g.length=c}}d.get=function(a,b){return Object.prototype.hasOwnProperty.call(this.j,a)?this.j[a]:b};
|
|
28
|
+
d.set=function(a,b){Object.prototype.hasOwnProperty.call(this.j,a)||(this.size+=1,this.g.push(a),this.m++);this.j[a]=b};d.forEach=function(a,b){for(var c=T(this),e=0;e<c.length;e++){var f=c[e],h=this.get(f);a.call(b,h,f,this)}};d.keys=function(){return Ia(this.l(!0)).j()};d.values=function(){return Ia(this.l(!1)).j()};d.entries=function(){var a=this;return Ga(this.keys(),function(b){return[b,a.get(b)]})};
|
|
29
|
+
d.l=function(a){Ja(this);var b=0,c=this.m,e=this,f=new O;f.next=function(){if(c!=e.m)throw Error("The map has changed since the iterator was created");if(b>=e.g.length)return Ha;var h=e.g[b++];return{value:a?h:e.j[h],done:!1}};return f};var U={};function V(a,b,c){ha(a)&&(a=a.h);a=new Ka(a);!b||b in U&&!c||(U[b]={key:a,shift:!1},c&&(U[c]={key:a,shift:!0}));return a}function Ka(a){this.code=a}V(8);V(9);V(13);var La=V(16),Ma=V(17),Na=V(18);V(19);V(20);V(27);V(32," ");V(33);V(34);V(35);V(36);V(37);V(38);V(39);V(40);V(44);V(45);V(46);V(48,"0",")");V(49,"1","!");V(50,"2","@");V(51,"3","#");V(52,"4","$");V(53,"5","%");V(54,"6","^");V(55,"7","&");V(56,"8","*");V(57,"9","(");V(65,"a","A");V(66,"b","B");V(67,"c","C");V(68,"d","D");
|
|
30
|
+
V(69,"e","E");V(70,"f","F");V(71,"g","G");V(72,"h","H");V(73,"i","I");V(74,"j","J");V(75,"k","K");V(76,"l","L");V(77,"m","M");V(78,"n","N");V(79,"o","O");V(80,"p","P");V(81,"q","Q");V(82,"r","R");V(83,"s","S");V(84,"t","T");V(85,"u","U");V(86,"v","V");V(87,"w","W");V(88,"x","X");V(89,"y","Y");V(90,"z","Z");var Oa=V(I?{i:91,h:91}:H?{i:224,h:91}:{i:0,h:91});V(I?{i:92,h:92}:H?{i:224,h:93}:{i:0,h:92});V(I?{i:93,h:93}:H?{i:0,h:0}:{i:93,h:null});V({i:96,h:96},"0");V({i:97,h:97},"1");V({i:98,h:98},"2");
|
|
31
|
+
V({i:99,h:99},"3");V({i:100,h:100},"4");V({i:101,h:101},"5");V({i:102,h:102},"6");V({i:103,h:103},"7");V({i:104,h:104},"8");V({i:105,h:105},"9");V({i:106,h:106},"*");V({i:107,h:107},"+");V({i:109,h:109},"-");V({i:110,h:110},".");V({i:111,h:111},"/");V(144);V(112);V(113);V(114);V(115);V(116);V(117);V(118);V(119);V(120);V(121);V(122);V(123);V({i:107,h:187},"=","+");V(108,",");V({i:109,h:189},"-","_");V(188,",","<");V(190,".",">");V(191,"/","?");V(192,"`","~");V(219,"[","{");V(220,"\\","|");
|
|
32
|
+
V(221,"]","}");V({i:59,h:186},";",":");V(222,"'",'"');var W=new S;W.set(1,La);W.set(2,Ma);W.set(4,Na);W.set(8,Oa);(function(a){var b=new S;la(T(a),function(c){b.set(a.get(c).code,c)});return b})(W);function Pa(){Ea.call(this)}ka(Pa,Ea);(function(a){a.o=void 0;a.A=function(){return a.o?a.o:a.o=new a}})(Pa);function Qa(a,b){a=[a];var c=za;try{var e;b?e=M(b.WINDOW):e=window;var f=L(a,e.document),h=c.apply(null,f);var l={status:0,value:Ba(h)}}catch(q){l={status:B(q,"code")?q.code:13,value:{message:q.message}}}return Aa(l)}var X=["se_exportedFunctionSymbol"],Y=v;X[0]in Y||typeof Y.execScript=="undefined"||Y.execScript("var "+X[0]);for(var Z;X.length&&(Z=X.shift());)X.length||Qa===void 0?Y[Z]&&Y[Z]!==Object.prototype[Z]?Y=Y[Z]:Y=Y[Z]={}:Y[Z]=Qa;; return this.se_exportedFunctionSymbol.apply(null,arguments);}).apply(window, arguments);}
|
package/atoms/is_focusable.js
CHANGED
|
@@ -1,4 +1,15 @@
|
|
|
1
|
-
function(){return (function(){
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
function(){return (function(){/*
|
|
2
|
+
|
|
3
|
+
Copyright The Closure Library Authors.
|
|
4
|
+
Copyright The Closure Compiler Authors.
|
|
5
|
+
SPDX-License-Identifier: Apache-2.0
|
|
6
|
+
*/
|
|
7
|
+
var d=this||self;/*
|
|
8
|
+
|
|
9
|
+
Copyright The Closure Library Authors.
|
|
10
|
+
SPDX-License-Identifier: Apache-2.0
|
|
11
|
+
*/
|
|
12
|
+
var f=Array.prototype.indexOf?function(a,b){return Array.prototype.indexOf.call(a,b,void 0)}:function(a,b){if(typeof a==="string")return typeof b!=="string"||b.length!=1?-1:a.indexOf(b,0);for(var c=0;c<a.length;c++)if(c in a&&a[c]===b)return c;return-1},h=Array.prototype.forEach?function(a,b){Array.prototype.forEach.call(a,b,void 0)}:function(a,b){for(var c=a.length,g=typeof a==="string"?a.split(""):a,e=0;e<c;e++)e in g&&b.call(void 0,g[e],e,a)},k=Array.prototype.some?function(a,b){return Array.prototype.some.call(a,
|
|
13
|
+
b,void 0)}:function(a,b){for(var c=a.length,g=typeof a==="string"?a.split(""):a,e=0;e<c;e++)if(e in g&&b.call(void 0,g[e],e,a))return!0;return!1};function l(){var a=d.navigator;return a&&(a=a.userAgent)?a:""}function m(a){return l().indexOf(a)!=-1};function n(){return m("Firefox")||m("FxiOS")}function p(){return(m("Chrome")||m("CriOS"))&&!m("Edge")||m("Silk")};function q(){return m("iPhone")&&!m("iPod")&&!m("iPad")};var r=n(),t=q()||m("iPod"),u=m("iPad"),v=m("Android")&&!(p()||n()||m("Opera")||m("Silk")),w=p(),x=m("Safari")&&!(p()||m("Coast")||m("Opera")||m("Edge")||m("Edg/")||m("OPR")||n()||m("Silk")||m("Android"))&&!(q()||m("iPad")||m("iPod"));function y(a){return(a=a.exec(l()))?a[1]:""}(function(){if(r)return y(/Firefox\/([0-9.]+)/);if(w){if(q()||m("iPad")||m("iPod")||m("Macintosh")){var a=y(/CriOS\/([0-9.]+)/);if(a)return a}return y(/Chrome\/([0-9.]+)/)}if(x&&!(q()||m("iPad")||m("iPod")))return y(/Version\/([0-9.]+)/);if(t||u){if(a=/Version\/(\S+).*Mobile\/(\S+)/.exec(l()))return a[1]+"."+a[2]}else if(v)return(a=y(/Android\s+([0-9.]+)/))?a:y(/Version\/([0-9.]+)/);return""})();function z(a){var b="tabindex";return b=="style"?A(a.style.cssText):(a=a.getAttributeNode(b))&&a.specified?a.value:null}var B=RegExp("[;]+(?=(?:(?:[^\"]*\"){2})*[^\"]*$)(?=(?:(?:[^']*'){2})*[^']*$)(?=(?:[^()]*\\([^()]*\\))*[^()]*$)");function A(a){var b=[];h(a.split(B),function(c){var g=c.indexOf(":");g>0&&(c=[c.slice(0,g),c.slice(g+1)],c.length==2&&b.push(c[0].toLowerCase(),":",c[1],";"))});b=b.join("");return b=b.charAt(b.length-1)==";"?b:b+";"}
|
|
14
|
+
function C(a,b){b&&typeof b!=="string"&&(b=b.toString());return a instanceof HTMLFormElement?!!a&&a.nodeType==1&&(!b||"FORM"==b):!!a&&a.nodeType==1&&(!b||a.tagName.toUpperCase()==b)};var D="A AREA BUTTON INPUT LABEL SELECT TEXTAREA".split(" "),E="text search tel url email password number".split(" ");function F(a,b){return C(a,"INPUT")?a.type.toLowerCase()==b:!1}function G(a){function b(c){if(c.contentEditable=="inherit"){for(c=c.parentNode;c&&c.nodeType!=1&&c.nodeType!=9&&c.nodeType!=11;)c=c.parentNode;return(c=C(c)?c:null)?b(c):!1}return c.contentEditable=="true"}return a.contentEditable===void 0?!1:a.isContentEditable===void 0?b(a):a.isContentEditable}
|
|
15
|
+
function H(a){return((C(a,"TEXTAREA")?!0:C(a,"INPUT")?f(E,a.type.toLowerCase())>=0:G(a)?!0:!1)||(C(a,"INPUT")?a.type.toLowerCase()=="file":!1)||F(a,"range")||F(a,"date")||F(a,"month")||F(a,"week")||F(a,"time")||F(a,"datetime-local")||F(a,"color"))&&!a.readOnly};function I(a){return k(D,function(b){return C(a,b)})||z(a)!=null&&Number(a.tabIndex)>=0||H(a)}var J=["se_exportedFunctionSymbol"],K=d;J[0]in K||typeof K.execScript=="undefined"||K.execScript("var "+J[0]);for(var L;J.length&&(L=J.shift());)J.length||I===void 0?K[L]&&K[L]!==Object.prototype[L]?K=K[L]:K=K[L]={}:K[L]=I;; return this.se_exportedFunctionSymbol.apply(null,arguments);}).apply(window, arguments);}
|
package/atoms/is_interactable.js
CHANGED
|
@@ -1,27 +1,37 @@
|
|
|
1
|
-
function(){return (function(){
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
function(){return (function(){/*
|
|
2
|
+
|
|
3
|
+
Copyright The Closure Library Authors.
|
|
4
|
+
Copyright The Closure Compiler Authors.
|
|
5
|
+
SPDX-License-Identifier: Apache-2.0
|
|
6
|
+
*/
|
|
7
|
+
var f=f||{},k=this||self;/*
|
|
8
|
+
|
|
9
|
+
Copyright The Closure Library Authors.
|
|
10
|
+
SPDX-License-Identifier: Apache-2.0
|
|
11
|
+
*/
|
|
12
|
+
var da=Array.prototype.indexOf?function(a,b){return Array.prototype.indexOf.call(a,b,void 0)}:function(a,b){if(typeof a==="string")return typeof b!=="string"||b.length!=1?-1:a.indexOf(b,0);for(var c=0;c<a.length;c++)if(c in a&&a[c]===b)return c;return-1},l=Array.prototype.some?function(a,b){return Array.prototype.some.call(a,b,void 0)}:function(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(void 0,d[e],e,a))return!0;return!1},ea=Array.prototype.every?function(a,
|
|
13
|
+
b){return Array.prototype.every.call(a,b,void 0)}:function(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(void 0,d[e],e,a))return!1;return!0};var fa={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",
|
|
5
14
|
darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",
|
|
6
15
|
ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",
|
|
7
16
|
lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",
|
|
8
17
|
moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",
|
|
9
|
-
seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};var
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
function
|
|
13
|
-
function
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
function
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
b)
|
|
20
|
-
|
|
21
|
-
function
|
|
22
|
-
if(
|
|
23
|
-
|
|
24
|
-
function
|
|
25
|
-
g
|
|
26
|
-
|
|
27
|
-
function Aa(a){var b=
|
|
18
|
+
seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};var ha="backgroundColor borderTopColor borderRightColor borderBottomColor borderLeftColor color outlineColor".split(" "),ia=/#([0-9a-fA-F])([0-9a-fA-F])([0-9a-fA-F])/,ja=/^#(?:[0-9a-f]{3}){1,2}$/i,ka=/^(?:rgba)?\((\d{1,3}),\s?(\d{1,3}),\s?(\d{1,3}),\s?(0|1|0\.\d*)\)$/i,la=/^(?:rgb)?\((0|[1-9]\d{0,2}),\s?(0|[1-9]\d{0,2}),\s?(0|[1-9]\d{0,2})\)$/i;function r(a,b){this.code=a;this.g=u[a]||v;this.message=b||"";a=this.g.replace(/((?:^|\s+)[a-z])/g,function(c){return c.toUpperCase().replace(/^[\s\xa0]+/g,"")});b=a.length-5;if(b<0||a.indexOf("Error",b)!=b)a+="Error";this.name=a;a=Error(this.message);a.name=this.name;this.stack=a.stack||""}(function(){function a(){}a.prototype=Error.prototype;r.prototype=new a;r.prototype.constructor=r})();var v="unknown error",u={15:"element not selectable",11:"element not visible"};u[31]=v;u[30]=v;u[24]="invalid cookie domain";
|
|
19
|
+
u[29]="invalid element coordinates";u[12]="invalid element state";u[32]="invalid selector";u[51]="invalid selector";u[52]="invalid selector";u[17]="javascript error";u[405]="unsupported operation";u[34]="move target out of bounds";u[27]="no such alert";u[7]="no such element";u[8]="no such frame";u[23]="no such window";u[28]="script timeout";u[33]="session not created";u[10]="stale element reference";u[21]="timeout";u[25]="unable to set cookie";u[26]="unexpected alert open";u[13]=v;u[9]="unknown command";var ma=f.i&&String.prototype.trim?function(a){return a.trim()}:function(a){return/^[\s\xa0]*([\s\S]*?)[\s\xa0]*$/.exec(a)[1]};function w(){var a=k.navigator;return a&&(a=a.userAgent)?a:""}function z(a){return w().indexOf(a)!=-1};function A(){return z("Firefox")||z("FxiOS")}function B(){return(z("Chrome")||z("CriOS"))&&!z("Edge")||z("Silk")};function na(a){return String(a).replace(/\-([a-z])/g,function(b,c){return c.toUpperCase()})};function C(){return z("iPhone")&&!z("iPod")&&!z("iPad")};var oa=A(),pa=C()||z("iPod"),qa=z("iPad"),ra=z("Android")&&!(B()||A()||z("Opera")||z("Silk")),sa=B(),ta=z("Safari")&&!(B()||z("Coast")||z("Opera")||z("Edge")||z("Edg/")||z("OPR")||A()||z("Silk")||z("Android"))&&!(C()||z("iPad")||z("iPod"));function D(a){return(a=a.exec(w()))?a[1]:""}(function(){if(oa)return D(/Firefox\/([0-9.]+)/);if(sa){if(C()||z("iPad")||z("iPod")||z("Macintosh")){var a=D(/CriOS\/([0-9.]+)/);if(a)return a}return D(/Chrome\/([0-9.]+)/)}if(ta&&!(C()||z("iPad")||z("iPod")))return D(/Version\/([0-9.]+)/);if(pa||qa){if(a=/Version\/(\S+).*Mobile\/(\S+)/.exec(w()))return a[1]+"."+a[2]}else if(ra)return(a=D(/Android\s+([0-9.]+)/))?a:D(/Version\/([0-9.]+)/);return""})();function E(a,b){this.x=a!==void 0?a:0;this.y=b!==void 0?b:0}E.prototype.ceil=function(){this.x=Math.ceil(this.x);this.y=Math.ceil(this.y);return this};E.prototype.floor=function(){this.x=Math.floor(this.x);this.y=Math.floor(this.y);return this};E.prototype.round=function(){this.x=Math.round(this.x);this.y=Math.round(this.y);return this};function F(a,b){this.width=a;this.height=b}F.prototype.aspectRatio=function(){return this.width/this.height};F.prototype.ceil=function(){this.width=Math.ceil(this.width);this.height=Math.ceil(this.height);return this};F.prototype.floor=function(){this.width=Math.floor(this.width);this.height=Math.floor(this.height);return this};F.prototype.round=function(){this.width=Math.round(this.width);this.height=Math.round(this.height);return this};function ua(a){for(;a&&a.nodeType!=1;)a=a.previousSibling;return a}function G(a){return a.nodeType==9?a:a.ownerDocument||a.document}function H(a,b,c){a&&!c&&(a=a.parentNode);for(c=0;a;){if(b(a))return a;a=a.parentNode;c++}return null}function va(a){this.g=a||k.document||document};function I(a,b){b&&typeof b!=="string"&&(b=b.toString());return a instanceof HTMLFormElement?!!a&&a.nodeType==1&&(!b||"FORM"==b):!!a&&a.nodeType==1&&(!b||a.tagName.toUpperCase()==b)};function J(a,b,c,d){this.top=a;this.g=b;this.h=c;this.left=d}J.prototype.ceil=function(){this.top=Math.ceil(this.top);this.g=Math.ceil(this.g);this.h=Math.ceil(this.h);this.left=Math.ceil(this.left);return this};J.prototype.floor=function(){this.top=Math.floor(this.top);this.g=Math.floor(this.g);this.h=Math.floor(this.h);this.left=Math.floor(this.left);return this};
|
|
20
|
+
J.prototype.round=function(){this.top=Math.round(this.top);this.g=Math.round(this.g);this.h=Math.round(this.h);this.left=Math.round(this.left);return this};function K(a,b,c,d){this.left=a;this.top=b;this.width=c;this.height=d}K.prototype.ceil=function(){this.left=Math.ceil(this.left);this.top=Math.ceil(this.top);this.width=Math.ceil(this.width);this.height=Math.ceil(this.height);return this};K.prototype.floor=function(){this.left=Math.floor(this.left);this.top=Math.floor(this.top);this.width=Math.floor(this.width);this.height=Math.floor(this.height);return this};
|
|
21
|
+
K.prototype.round=function(){this.left=Math.round(this.left);this.top=Math.round(this.top);this.width=Math.round(this.width);this.height=Math.round(this.height);return this};var wa=typeof ShadowRoot==="function",xa="BUTTON INPUT OPTGROUP OPTION SELECT TEXTAREA".split(" ");function M(a){return l(xa,function(b){return I(a,b)})?a.disabled?!1:a.parentNode&&a.parentNode.nodeType==1&&I(a,"OPTGROUP")||I(a,"OPTION")?M(a.parentNode):!H(a,function(b){var c=b.parentNode;if(c&&I(c,"FIELDSET")&&c.disabled){if(!I(b,"LEGEND"))return!0;for(;b=b.previousElementSibling!==void 0?b.previousElementSibling:ua(b.previousSibling);)if(I(b,"LEGEND"))return!0}return!1},!0):!0}
|
|
22
|
+
function N(a){for(a=a.parentNode;a&&a.nodeType!=1&&a.nodeType!=9&&a.nodeType!=11;)a=a.parentNode;return I(a)?a:null}
|
|
23
|
+
function O(a,b){b=na(b);if(b=="float"||b=="cssFloat"||b=="styleFloat")b="cssFloat";a:{var c=b;var d=G(a);if(d.defaultView&&d.defaultView.getComputedStyle&&(d=d.defaultView.getComputedStyle(a,null))){c=d[c]||d.getPropertyValue(c)||"";break a}c=""}a=c||P(a,b);if(a===null)a=null;else if(da(ha,b)>=0){b:{var e=a.match(ka);if(e&&(b=Number(e[1]),c=Number(e[2]),d=Number(e[3]),e=Number(e[4]),b>=0&&b<=255&&c>=0&&c<=255&&d>=0&&d<=255&&e>=0&&e<=1)){b=[b,c,d,e];break b}b=null}if(!b)b:{if(d=a.match(la))if(b=Number(d[1]),
|
|
24
|
+
c=Number(d[2]),d=Number(d[3]),b>=0&&b<=255&&c>=0&&c<=255&&d>=0&&d<=255){b=[b,c,d,1];break b}b=null}if(!b)b:{b=a.toLowerCase();c=fa[b.toLowerCase()];if(!c&&(c=b.charAt(0)=="#"?b:"#"+b,c.length==4&&(c=c.replace(ia,"#$1$1$2$2$3$3")),!ja.test(c))){b=null;break b}b=[parseInt(c.substr(1,2),16),parseInt(c.substr(3,2),16),parseInt(c.substr(5,2),16),1]}a=b?"rgba("+b.join(", ")+")":a}return a}
|
|
25
|
+
function P(a,b){var c=a.currentStyle||a.style,d=c[b];d===void 0&&typeof c.getPropertyValue==="function"&&(d=c.getPropertyValue(b));return d!="inherit"?d!==void 0?d:null:(a=N(a))?P(a,b):null}
|
|
26
|
+
function Q(a,b,c){function d(g){var p=R(g);if(p.height>0&&p.width>0)return!0;if(I(g,"PATH")&&(p.height>0||p.width>0))return g=O(g,"stroke-width"),!!g&&parseInt(g,10)>0;p=O(g,"visibility");return p!="collapse"&&p!="hidden"&&c(g)?O(g,"overflow")!="hidden"&&l(g.childNodes,function(x){return x.nodeType==3?(x=x.nodeValue,/^[\s]*$/.test(x)&&/[\n\r\t]/.test(x)?!1:!0):I(x)&&d(x)}):!1}function e(g){return T(g)==U&&ea(g.childNodes,function(p){return!I(p)||e(p)||!d(p)})}if(!I(a))throw Error("Argument to isShown must be of type Element");
|
|
27
|
+
if(I(a,"BODY"))return!0;if(I(a,"OPTION")||I(a,"OPTGROUP"))return a=H(a,function(g){return I(g,"SELECT")}),!!a&&Q(a,!0,c);var h=V(a);if(h)return!!h.image&&h.rect.width>0&&h.rect.height>0&&Q(h.image,b,c);if(I(a,"INPUT")&&a.type.toLowerCase()=="hidden"||I(a,"NOSCRIPT"))return!1;h=O(a,"visibility");return h!="collapse"&&h!="hidden"&&c(a)&&(b||W(a)!=0)&&d(a)?!e(a):!1}
|
|
28
|
+
function ya(a){function b(c){if(I(c)&&(O(c,"display")=="none"||O(c,"content-visibility")=="hidden"))return!1;var d;if((d=c.parentNode)&&d.shadowRoot&&c.assignedSlot!==void 0)d=c.assignedSlot?c.assignedSlot.parentNode:null;else if(c.getDestinationInsertionPoints){var e=c.getDestinationInsertionPoints();e.length>0&&(d=e[e.length-1])}if(wa&&d instanceof ShadowRoot){if(d.host.shadowRoot&&d.host.shadowRoot!==d)return!1;d=d.host}return!d||d.nodeType!=9&&d.nodeType!=11?d&&I(d,"DETAILS")&&!d.open&&!I(c,"SUMMARY")?
|
|
29
|
+
!1:!!d&&b(d):!0}return Q(a,!0,b)}var U="hidden";
|
|
30
|
+
function T(a){function b(m){function n(S){if(S==g)return!0;var aa=O(S,"display");return aa.lastIndexOf("inline",0)==0||aa=="contents"||ba=="absolute"&&O(S,"position")=="static"?!1:!0}var ba=O(m,"position");if(ba=="fixed")return ca=!0,m==g?null:g;for(m=N(m);m&&!n(m);)m=N(m);return m}function c(m){var n=m;if(x=="visible")if(m==g&&p)n=p;else if(m==p)return{x:"visible",y:"visible"};n={x:O(n,"overflow-x"),y:O(n,"overflow-y")};m==g&&(n.x=n.x=="visible"?"auto":n.x,n.y=n.y=="visible"?"auto":n.y);return n}
|
|
31
|
+
function d(m){if(m==g){var n=(new va(h)).g;m=n.scrollingElement?n.scrollingElement:n.body||n.documentElement;n=n.parentWindow||n.defaultView;m=new E(n.pageXOffset||m.scrollLeft,n.pageYOffset||m.scrollTop)}else m=new E(m.scrollLeft,m.scrollTop);return m}var e=za(a),h=G(a),g=h.documentElement,p=h.body,x=O(g,"overflow"),ca;for(a=b(a);a;a=b(a)){var q=c(a);if(q.x!="visible"||q.y!="visible"){var t=R(a);if(t.width==0||t.height==0)return U;var y=e.g<t.left,L=e.h<t.top;if(y&&q.x=="hidden"||L&&q.y=="hidden")return U;
|
|
32
|
+
if(y&&q.x!="visible"||L&&q.y!="visible"){y=d(a);L=e.h<t.top-y.y;if(e.g<t.left-y.x&&q.x!="visible"||L&&q.x!="visible")return U;e=T(a);return e==U?U:"scroll"}y=e.left>=t.left+t.width;t=e.top>=t.top+t.height;if(y&&q.x=="hidden"||t&&q.y=="hidden")return U;if(y&&q.x!="visible"||t&&q.y!="visible"){if(ca&&(q=d(a),e.left>=g.scrollWidth-q.x||e.g>=g.scrollHeight-q.y))return U;e=T(a);return e==U?U:"scroll"}}}return"none"}
|
|
33
|
+
function R(a){var b=V(a);if(b)return b.rect;if(I(a,"HTML"))return a=G(a),a=((a?a.parentWindow||a.defaultView:window)||window).document,a=a.compatMode=="CSS1Compat"?a.documentElement:a.body,a=new F(a.clientWidth,a.clientHeight),new K(0,0,a.width,a.height);try{var c=a.getBoundingClientRect()}catch(d){return new K(0,0,0,0)}return new K(c.left,c.top,c.right-c.left,c.bottom-c.top)}
|
|
34
|
+
function V(a){var b=I(a,"MAP");if(!b&&!I(a,"AREA"))return null;var c=b?a:I(a.parentNode,"MAP")?a.parentNode:null,d=null,e=null;if(c&&c.name){d='*[usemap="#'+c.name+'"]';c=G(c);if(!d)throw new r(32,"No selector specified");d=ma(d);try{var h=c.querySelector(d)}catch(g){throw new r(32,"An invalid or illegal selector was specified");}if(d=h&&h.nodeType==1?h:null)e=R(d),b||a.shape.toLowerCase()=="default"||(a=Aa(a),b=Math.min(Math.max(a.left,0),e.width),h=Math.min(Math.max(a.top,0),e.height),e=new K(b+
|
|
35
|
+
e.left,h+e.top,Math.min(a.width,e.width-b),Math.min(a.height,e.height-h)))}return{image:d,rect:e||new K(0,0,0,0)}}
|
|
36
|
+
function Aa(a){var b=a.shape.toLowerCase();a=a.coords.split(",");if(b=="rect"&&a.length==4){b=a[0];var c=a[1];return new K(b,c,a[2]-b,a[3]-c)}if(b=="circle"&&a.length==3)return b=a[2],new K(a[0]-b,a[1]-b,2*b,2*b);if(b=="poly"&&a.length>2){b=a[0];c=a[1];for(var d=b,e=c,h=2;h+1<a.length;h+=2)b=Math.min(b,a[h]),d=Math.max(d,a[h]),c=Math.min(c,a[h+1]),e=Math.max(e,a[h+1]);return new K(b,c,d-b,e-c)}return new K(0,0,0,0)}function za(a){a=R(a);return new J(a.top,a.left+a.width,a.top+a.height,a.left)}
|
|
37
|
+
function W(a){var b=1,c=O(a,"opacity");c&&(b=Number(c));(a=N(a))&&(b*=W(a));return b};function Ba(a){return ya(a)&&M(a)&&O(a,"pointer-events")!="none"}var X=["se_exportedFunctionSymbol"],Y=k;X[0]in Y||typeof Y.execScript=="undefined"||Y.execScript("var "+X[0]);for(var Z;X.length&&(Z=X.shift());)X.length||Ba===void 0?Y[Z]&&Y[Z]!==Object.prototype[Z]?Y=Y[Z]:Y=Y[Z]={}:Y[Z]=Ba;; return this.se_exportedFunctionSymbol.apply(null,arguments);}).apply(window, arguments);}
|