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
|
@@ -1,93 +1,35 @@
|
|
|
1
|
-
function(){return (function(){
|
|
2
|
-
function ca(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 da(a){var b=ca(a);return"array"==b||"object"==b&&"number"==typeof a.length}function ea(a){var b=typeof a;return"object"==b&&null!=a||"function"==b}function fa(a,b,c){return a.call.apply(a.bind,arguments)}
|
|
4
|
-
function ha(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 ia(a,b,c){Function.prototype.bind&&-1!=Function.prototype.bind.toString().indexOf("native code")?ia=fa:ia=ha;return ia.apply(null,arguments)}
|
|
5
|
-
function ja(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 ka=Date.now||function(){return+new Date};function l(a,b){function c(){}c.prototype=b.prototype;a.I=b.prototype;a.prototype=new c;a.prototype.constructor=a}
|
|
6
|
-
function la(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 e;function aa(a){var b=0;return function(){return b<a.length?{done:!1,value:a[b++]}:{done:!0}}}var h=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 d=0;d<a.length-1;d++){var f=a[d];if(!(f in c))break a;c=c[f]}a=a[a.length-1];d=c[a];b=b(d);b!=d&&b!=null&&h(c,a,{configurable:!0,writable:!0,value:b})}}
|
|
9
|
+
m("Symbol",function(a){function b(g){if(this instanceof b)throw new TypeError("Symbol is not a constructor");return new c(d+(g||"")+"_"+f++,g)}function c(g,l){this.g=g;h(this,"description",{configurable:!0,writable:!0,value:l})}if(a)return a;c.prototype.toString=function(){return this.g};var d="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 d=k[b[c]];typeof d==="function"&&typeof d.prototype[a]!="function"&&h(d.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 fa(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 d=Object.getOwnPropertyDescriptor(b,c);d&&Object.defineProperty(a,c,d)}else a[c]=b[c];a.u=b.prototype}function ha(a,b){a instanceof String&&(a+="");var c=0,d=!1,f={next:function(){if(!d&&c<a.length){var g=c++;return{value:b(g,a[g]),done:!1}}d=!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 ha(this,function(b){return b})}});var u=this||self;try{var ia=window}catch(a){ia=u};/*
|
|
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
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
M("substring",3,!1,!1,function(a,b,c,d){c=J(c,a);if(isNaN(c)||Infinity==c||-Infinity==c)return"";d=d?J(d,a):Infinity;if(isNaN(d)||-Infinity===d)return"";c=Math.round(c)-1;var e=Math.max(c,0);a=K(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=K(b,a);a=K(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=K(b,a);a=K(c,a);a=b.indexOf(a);return-1==a?"":b.substring(0,a)},2);M("sum",1,!1,!1,function(a,b){a=E(b.a(a));b=0;for(var c=F(a);c;c=F(a))b+=+A(c);return b},1,1,!0);M("translate",3,!1,!1,function(a,b,c,d){b=K(b,a);c=K(c,a);var e=K(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 D(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 jb(a){return"comment"==a||"text"==a||"processing-instruction"==a||"node"==a}D.prototype.a=function(a){return null===this.b||this.b==a.nodeType};D.prototype.f=function(){return this.j};
|
|
52
|
-
D.prototype.toString=function(){var a="Kind Test: "+this.j;null===this.c||(a+=H(this.c));return a};function kb(a){G.call(this,3);this.c=a.substring(1,a.length-1)}l(kb,G);kb.prototype.a=function(){return this.c};kb.prototype.toString=function(){return"Literal: "+this.c};function lb(a,b){this.m=a.toLowerCase();a="*"==this.m?"*":"http://www.w3.org/1999/xhtml";this.b=b?b.toLowerCase():a}lb.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")};lb.prototype.f=function(){return this.m};
|
|
53
|
-
lb.prototype.toString=function(){return"Name Test: "+("http://www.w3.org/1999/xhtml"==this.b?"":this.b+":")+this.m};function mb(a){G.call(this,1);this.c=a}l(mb,G);mb.prototype.a=function(){return this.c};mb.prototype.toString=function(){return"Number: "+this.c};function nb(a,b){G.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!=ob||(a=a.u,"*"!=a.f()&&(this.f={name:a.f(),A:null})))}l(nb,G);function pb(){G.call(this,4)}l(pb,G);pb.prototype.a=function(a){var b=new C;a=a.a;9==a.nodeType?b.add(a):b.add(a.ownerDocument);return b};pb.prototype.toString=function(){return"Root Helper Expression"};function qb(){G.call(this,4)}l(qb,G);qb.prototype.a=function(a){var b=new C;b.add(a.a);return b};qb.prototype.toString=function(){return"Context Helper Expression"};
|
|
54
|
-
function rb(a){return"/"==a||"//"==a}nb.prototype.a=function(a){var b=this.j.a(a);if(!(b instanceof C))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=E(b,e.c.v);if(e.i||e.c!=sb)if(e.i||e.c!=tb){var h=F(f);for(b=e.a(new n(h));null!=(h=F(f));)h=e.a(new n(h)),b=Sa(b,h)}else h=F(f),b=e.a(new n(h));else{for(h=F(f);(b=F(f))&&(!h.contains||h.contains(b))&&b.compareDocumentPosition(h)&8;h=b);b=e.a(new n(h))}}return b};
|
|
55
|
-
nb.prototype.toString=function(){var a="Path Expression:"+H(this.j);if(this.c.length){var b=r(this.c,function(c,d){return c+H(d)},"Steps:");a+=H(b)}return a};function ub(a,b){this.a=a;this.v=!!b}
|
|
56
|
-
function fb(a,b,c){for(c=c||0;c<a.a.length;c++)for(var d=a.a[c],e=E(b),f=b.o,h,m=0;h=F(e);m++){var k=a.v?f-m:m+1;h=d.a(new n(h,k,f));if("number"==typeof h)k=k==h;else if("string"==typeof h||"boolean"==typeof h)k=!!h;else if(h instanceof C)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
|
-
ub.prototype.toString=function(){return r(this.a,function(a,b){return a+H(b)},"Predicates:")};function P(a,b,c,d){G.call(this,4);this.c=a;this.u=b;this.j=c||new ub([]);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}l(P,G);
|
|
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?K(c.A,a):null,f=1);if(this.C)if(this.i||this.c!=vb)if(b=E((new P(wb,new D("node"))).a(a)),c=F(b))for(a=this.s(c,d,e,f);null!=(c=F(b));)a=Sa(a,this.s(c,d,e,f));else a=new C;else a=Oa(this.u,b,d,e),a=fb(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=fb(this.j,a,d)};
|
|
59
|
-
P.prototype.toString=function(){var a="Step:"+H("Operator: "+(this.C?"//":"/"));this.c.m&&(a+=H("Axis: "+this.c));a+=H(this.u);if(this.j.a.length){var b=r(this.j.a,function(c,d){return c+H(d)},"Predicates:");a+=H(b)}return a};function xb(a,b,c,d){this.m=a;this.B=b;this.v=c;this.N=d}xb.prototype.toString=function(){return this.m};var yb={};function Q(a,b,c,d){if(yb.hasOwnProperty(a))throw Error("Axis already created: "+a);b=new xb(a,b,c,!!d);return yb[a]=b}
|
|
60
|
-
Q("ancestor",function(a,b){for(var c=new C;b=b.parentNode;)a.a(b)&&Ta(c,b);return c},!0);Q("ancestor-or-self",function(a,b){var c=new C;do a.a(b)&&Ta(c,b);while(b=b.parentNode);return c},!0);
|
|
61
|
-
var ob=Q("attribute",function(a,b){var c=new C,d=a.f();if(b=b.attributes)if(a instanceof D&&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),vb=Q("child",function(a,b,c,d,e){c=g(c)?c:null;d=g(d)?d:null;e=e||new C;for(b=b.firstChild;b;b=b.nextSibling)B(b,c,d)&&a.a(b)&&e.add(b);return e},!1,!0);Q("descendant",Oa,!1,!0);
|
|
62
|
-
var wb=Q("descendant-or-self",function(a,b,c,d){var e=new C;B(b,c,d)&&a.a(b)&&e.add(b);return Oa(a,b,c,d,e)},!1,!0),sb=Q("following",function(a,b,c,d){var e=new C;do for(var f=b;f=f.nextSibling;)B(f,c,d)&&a.a(f)&&e.add(f),e=Oa(a,f,c,d,e);while(b=b.parentNode);return e},!1,!0);Q("following-sibling",function(a,b){for(var c=new C;b=b.nextSibling;)a.a(b)&&c.add(b);return c},!1);Q("namespace",function(){return new C},!1);
|
|
63
|
-
var zb=Q("parent",function(a,b){var c=new C;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),tb=Q("preceding",function(a,b,c,d){var e=new C,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],B(b,c,d)&&a.a(b)&&e.add(b),e=Oa(a,b,c,d,e)}return e},!0,!0);
|
|
64
|
-
Q("preceding-sibling",function(a,b){for(var c=new C;b=b.previousSibling;)a.a(b)&&Ta(c,b);return c},!0);var Ab=Q("self",function(a,b){var c=new C;a.a(b)&&c.add(b);return c},!1);function Bb(a){G.call(this,1);this.c=a;this.i=a.i;this.b=a.b}l(Bb,G);Bb.prototype.a=function(a){return-J(this.c,a)};Bb.prototype.toString=function(){return"Unary Expression: -"+H(this.c)};function Cb(a){G.call(this,4);this.c=a;Xa(this,na(this.c,function(b){return b.i}));Ya(this,na(this.c,function(b){return b.b}))}l(Cb,G);Cb.prototype.a=function(a){var b=new C;p(this.c,function(c){c=c.a(a);if(!(c instanceof C))throw Error("Path expression must evaluate to NodeSet.");b=Sa(b,c)});return b};Cb.prototype.toString=function(){return r(this.c,function(a,b){return a+H(b)},"Union Expression:")};function Db(a,b){this.a=a;this.b=b}function Eb(a){for(var b,c=[];;){R(a,"Missing right hand side of binary expression.");b=Fb(a);var d=z(a.a);if(!d)break;var e=(d=db[d]||null)&&d.H;if(!e){a.a.a--;break}for(;c.length&&e<=c[c.length-1].H;)b=new $a(c.pop(),c.pop(),b);c.push(b,d)}for(;c.length;)b=new $a(c.pop(),c.pop(),b);return b}function R(a,b){if(Ha(a.a))throw Error(b);}function Gb(a,b){a=z(a.a);if(a!=b)throw Error("Bad token, expected: "+b+" got: "+a);}
|
|
65
|
-
function Hb(a){a=z(a.a);if(")"!=a)throw Error("Bad token: "+a);}function Ib(a){a=z(a.a);if(2>a.length)throw Error("Unclosed literal string");return new kb(a)}
|
|
66
|
-
function Jb(a){var b=[];if(rb(y(a.a))){var c=z(a.a);var d=y(a.a);if("/"==c&&(Ha(a.a)||"."!=d&&".."!=d&&"@"!=d&&"*"!=d&&!/(?![0-9])[\w]/.test(d)))return new pb;d=new pb;R(a,"Missing next location step.");c=Kb(a,c);b.push(c)}else{a:{c=y(a.a);d=c.charAt(0);switch(d){case "$":throw Error("Variable reference not allowed in HTML XPath");case "(":z(a.a);c=Eb(a);R(a,'unclosed "("');Gb(a,")");break;case '"':case "'":c=Ib(a);break;default:if(isNaN(+c))if(!jb(c)&&/(?![0-9])[\w]/.test(d)&&"("==y(a.a,1)){c=z(a.a);
|
|
67
|
-
c=ib[c]||null;z(a.a);for(d=[];")"!=y(a.a);){R(a,"Missing function argument list.");d.push(Eb(a));if(","!=y(a.a))break;z(a.a)}R(a,"Unclosed function argument list.");Hb(a);c=new gb(c,d)}else{c=null;break a}else c=new mb(+z(a.a))}"["==y(a.a)&&(d=new ub(Lb(a)),c=new eb(c,d))}if(c)if(rb(y(a.a)))d=c;else return c;else c=Kb(a,"/"),d=new qb,b.push(c)}for(;rb(y(a.a));)c=z(a.a),R(a,"Missing next location step."),c=Kb(a,c),b.push(c);return new nb(d,b)}
|
|
68
|
-
function Kb(a,b){if("/"!=b&&"//"!=b)throw Error('Step op should be "/" or "//"');if("."==y(a.a)){var c=new P(Ab,new D("node"));z(a.a);return c}if(".."==y(a.a))return c=new P(zb,new D("node")),z(a.a),c;if("@"==y(a.a)){var d=ob;z(a.a);R(a,"Missing attribute name")}else if("::"==y(a.a,1)){if(!/(?![0-9])[\w]/.test(y(a.a).charAt(0)))throw Error("Bad token: "+z(a.a));var e=z(a.a);d=yb[e]||null;if(!d)throw Error("No axis with name: "+e);z(a.a);R(a,"Missing node name")}else d=vb;e=y(a.a);if(/(?![0-9])[\w\*]/.test(e.charAt(0)))if("("==
|
|
69
|
-
y(a.a,1)){if(!jb(e))throw Error("Invalid node type: "+e);e=z(a.a);if(!jb(e))throw Error("Invalid type name: "+e);Gb(a,"(");R(a,"Bad nodetype");var f=y(a.a).charAt(0),h=null;if('"'==f||"'"==f)h=Ib(a);R(a,"Bad nodetype");Hb(a);e=new D(e,h)}else if(e=z(a.a),f=e.indexOf(":"),-1==f)e=new lb(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 lb(e,m)}else throw Error("Bad token: "+z(a.a));a=new ub(Lb(a),d.v);return c||
|
|
70
|
-
new P(d,e,a,"//"==b)}function Lb(a){for(var b=[];"["==y(a.a);){z(a.a);R(a,"Missing predicate expression.");var c=Eb(a);b.push(c);R(a,"Unclosed predicate expression.");Gb(a,"]")}return b}function Fb(a){if("-"==y(a.a))return z(a.a),new Bb(Fb(a));var b=Jb(a);if("|"!=y(a.a))a=b;else{for(b=[b];"|"==z(a.a);)R(a,"Missing next union location path."),b.push(Jb(a));a.a.a--;a=new Cb(b)}return a};function Mb(a){switch(a.nodeType){case 1:return ja(Nb,a);case 9:return Mb(a.documentElement);case 11:case 10:case 6:case 12:return Ob;default:return a.parentNode?Mb(a.parentNode):Ob}}function Ob(){return null}function Nb(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?Nb(a.parentNode,b):null};function Pb(a,b){if(!a.length)throw Error("Empty XPath expression.");a=Ea(a);if(Ha(a))throw Error("Invalid XPath expression.");b?"function"==ca(b)||(b=ia(b.lookupNamespaceURI,b)):b=function(){return null};var c=Eb(new Db(a,b));if(!Ha(a))throw Error("Bad token: "+z(a));this.evaluate=function(d,e){d=c.a(new n(d));return new S(d,e)}}
|
|
71
|
-
function S(a,b){if(0==b)if(a instanceof C)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 C))throw Error("value could not be converted to the specified type");this.resultType=b;switch(b){case 2:this.stringValue=a instanceof C?Va(a):""+a;break;case 1:this.numberValue=a instanceof C?+Va(a):+a;break;case 3:this.booleanValue=a instanceof C?0<a.o:!!a;break;case 4:case 5:case 6:case 7:var c=
|
|
72
|
-
E(a);var d=[];for(var e=F(c);e;e=F(c))d.push(e);this.snapshotLength=a.o;this.invalidIteratorState=!1;break;case 8:case 9:this.singleNodeValue=Ua(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 Qb(a){this.lookupNamespaceURI=Mb(a)}
|
|
74
|
-
function Rb(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 Pb(d,f)).evaluate(e,h)},c.createExpression=function(d,e){return new Pb(d,e)},c.createNSResolver=function(d){return new Qb(d)}}ba("wgxpath.install",Rb);ba("wgxpath.install",Rb);function T(a,b){this.code=a;this.a=U[a]||Sb;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||""}l(T,Error);var Sb="unknown error",U={15:"element not selectable",11:"element not visible"};U[31]=Sb;U[30]=Sb;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]=Sb;U[9]="unknown command";var Tb=ya(),Ub=Aa()||v("iPod"),Vb=v("iPad"),Wb=v("Android")&&!(za()||ya()||v("Opera")||v("Silk")),Xb=za(),Yb=v("Safari")&&!(za()||v("Coast")||v("Opera")||v("Edge")||v("Edg/")||v("OPR")||ya()||v("Silk")||v("Android"))&&!(Aa()||v("iPad")||v("iPod"));function Zb(a){return(a=a.exec(t))?a[1]:""}var $b=function(){if(Tb)return Zb(/Firefox\/([0-9.]+)/);if(Xb)return Aa()||v("iPad")||v("iPod")?Zb(/CriOS\/([0-9.]+)/):Zb(/Chrome\/([0-9.]+)/);if(Yb&&!(Aa()||v("iPad")||v("iPod")))return Zb(/Version\/([0-9.]+)/);if(Ub||Vb){var a=/Version\/(\S+).*Mobile\/(\S+)/.exec(t);if(a)return a[1]+"."+a[2]}else if(Wb)return(a=Zb(/Android\s+([0-9.]+)/))?a:Zb(/Version\/([0-9.]+)/);return""}();var ac=Vb||Ub,bc;if(Wb){var cc=/Android\s+([0-9\.]+)/.exec(t);bc=cc?cc[1]:"0"}else bc="0";var dc=bc;function ec(a,b){b=b.toLowerCase();return"style"==b?fc(a.style.cssText):(a=a.getAttributeNode(b))&&a.specified?a.value:null}var gc=/[;]+(?=(?:(?:[^"]*"){2})*[^"]*$)(?=(?:(?:[^']*'){2})*[^']*$)(?=(?:[^()]*\([^()]*\))*[^()]*$)/;function fc(a){var b=[];p(a.split(gc),function(c){var d=c.indexOf(":");0<d&&(c=[c.slice(0,d),c.slice(d+1)],2==c.length&&b.push(c[0].toLowerCase(),":",c[1],";"))});b=b.join("");return b=";"==b.charAt(b.length-1)?b:b+";"}
|
|
76
|
-
function hc(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)}function ic(a){return hc(a,"OPTION")?!0:hc(a,"INPUT")?(a=a.type.toLowerCase(),"checkbox"==a||"radio"==a):!1};var jc=aa.JSON.stringify;function kc(a){function b(c,d){switch(ca(c)){case "string":case "number":case "boolean":return c;case "function":return c.toString();case "array":return q(c,function(f){return b(f,d)});case "object":if(0<=d.indexOf(c))throw new T(17,"Recursive object cannot be transferred");if(x(c,"nodeType")&&(1==c.nodeType||9==c.nodeType)){var e={};e.ELEMENT=lc(c);return e}if(x(c,"document"))return e={},e.WINDOW=lc(c),e;d.push(c);if(da(c))return q(c,function(f){return b(f,d)});c=va(c,function(f,h){return"number"==
|
|
77
|
-
typeof h||g(h)});return wa(c,function(f){return b(f,d)});default:return null}}return b(a,[])}function mc(a,b){return"array"==ca(a)?q(a,function(c){return mc(c,b)}):ea(a)?"function"==typeof a?a:x(a,"ELEMENT")?nc(a.ELEMENT,b):x(a,"WINDOW")?nc(a.WINDOW,b):wa(a,function(c){return mc(c,b)}):a}function oc(a){a=a||document;var b=a.$wdc_;b||(b=a.$wdc_={},b.F=ka());b.F||(b.F=ka());return b}function lc(a){var b=oc(a.ownerDocument),c=xa(b,function(d){return d==a});c||(c=":wdc:"+b.F++,b[c]=a);return c}
|
|
78
|
-
function nc(a,b){a=decodeURIComponent(a);b=b||document;var c=oc(b);if(!x(c,a))throw new T(10,"Element does not exist in cache");var d=c[a];if(x(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=Wb?!(Wb?0<=ra(dc):0<=ra($b)):!ac;function V(a,b,c){this.a=a;this.b=b;this.f=c}V.prototype.create=function(a){a=Na(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){la(this,a,b,c)}l(W,V);
|
|
79
|
-
W.prototype.create=function(a,b){if(this==qc)throw new T(9,"Browser does not support a mouse pixel scroll event.");var c=Na(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){la(this,a,b,c)}l(sc,V);
|
|
80
|
-
sc.prototype.create=function(a,b){a=Na(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){la(this,a,b,c)}l(uc,V);
|
|
81
|
-
uc.prototype.create=function(a,b){function c(N){N=q(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=q(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 q(N,function(u){return new Touch({identifier:u.identifier,screenX:u.screenX,screenY:u.screenY,
|
|
82
|
-
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=Na(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),Ka=b.targetTouches==b.changedTouches?
|
|
83
|
-
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=Ka,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,Ka,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,
|
|
84
|
-
b.ctrlKey,b.altKey,b.shiftKey,b.metaKey,I,Ka,w,b.scale,b.rotation),k.relatedTarget=b.relatedTarget;else if(3==k)k=new TouchEvent(this.a,{touches:I,targetTouches:Ka,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){la(this,a,b,c)}l(X,V);X.prototype.create=function(){throw new T(9,"Browser does not support MSGesture events.");};
|
|
85
|
-
function Y(a,b,c){la(this,a,b,c)}l(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);
|
|
86
|
-
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])}
|
|
87
|
-
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};
|
|
88
|
-
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){ea(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");
|
|
89
|
-
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(Ca?{h:91,g:91}:Ba?{h:224,g:91}:{h:0,g:91});Z(Ca?{h:92,g:92}:Ba?{h:224,g:93}:{h:0,g:92});Z(Ca?{h:93,g:93}:Ba?{h:0,g:0}:{h:93,g:null});Z({h:96,g:96},"0");Z({h:97,g:97},"1");
|
|
90
|
-
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,"[","{");
|
|
91
|
-
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;p(wc(a),function(c){b.set(a.get(c).code,c)});return b})(Dc);var Ec={"class":"className",readonly:"readOnly"},Fc="allowfullscreen allowpaymentrequest allowusermedia async autofocus autoplay checked compact complete controls declare default defaultchecked defaultselected defer disabled ended formnovalidate hidden indeterminate iscontenteditable ismap itemscope loop multiple muted nohref nomodule noresize noshade novalidate nowrap open paused playsinline pubdate readonly required reversed scoped seamless seeking selected truespeed typemustmatch willvalidate".split(" ");
|
|
92
|
-
function Gc(a,b){var c=null,d=b.toLowerCase();if("style"==d)return(c=a.style)&&!g(c)&&(c=c.cssText),c;if(("selected"==d||"checked"==d)&&ic(a)){if(!ic(a))throw new T(15,"Element is not selectable");b="selected";c=a.type&&a.type.toLowerCase();if("checkbox"==c||"radio"==c)b="checked";return a[b]?"true":null}var e=hc(a,"A");if(hc(a,"IMG")&&"src"==d||e&&"href"==d)return(c=ec(a,d))&&(c=a[d]),c;if("spellcheck"==d){c=ec(a,d);if(null!==c){if("false"==c.toLowerCase())return"false";if("true"==c.toLowerCase())return"true"}return a[d]+
|
|
93
|
-
""}e=Ec[b]||b;if(0<=ma(Fc,d))return(c=null!==ec(a,b)||a[e])?"true":null;try{var f=a[e]}catch(h){}null==f||ea(f)?c=ec(a,b):c=f;return null!=c?c.toString():null};ba("se_exportedFunctionSymbol",function(a,b,c){a=[a,b];try{var d;c?d=nc(c.WINDOW):d=window;var e=mc(a,d.document),f=Gc.apply(null,e);var h={status:0,value:kc(f)}}catch(m){h={status:x(m,"code")?m.code:13,value:{message:m.message}}}return jc(h)});; return this.se_exportedFunctionSymbol.apply(null,arguments);}).apply(window, arguments);}
|
|
18
|
+
function v(a){var b=typeof a;return b=="object"&&a!=null||b=="function"}
|
|
19
|
+
function ja(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 ka(a){var b=ja(a);return b=="array"||b=="object"&&typeof a.length=="number"}function la(a,b){function c(){}c.prototype=b.prototype;a.u=b.prototype;a.prototype=new c;a.prototype.constructor=a;a.v=function(d,f,g){for(var l=Array(arguments.length-2),q=2;q<arguments.length;q++)l[q-2]=arguments[q];return b.prototype[f].apply(d,l)}};var ma=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},na=Array.prototype.forEach?function(a,b){Array.prototype.forEach.call(a,b,void 0)}:function(a,b){for(var c=a.length,d=typeof a==="string"?a.split(""):a,f=0;f<c;f++)f in d&&b.call(void 0,d[f],f,a)},w=Array.prototype.map?function(a,b){return Array.prototype.map.call(a,
|
|
21
|
+
b,void 0)}:function(a,b){for(var c=a.length,d=Array(c),f=typeof a==="string"?a.split(""):a,g=0;g<c;g++)g in f&&(d[g]=b.call(void 0,f[g],g,a));return d};function x(a,b){this.code=a;this.g=y[a]||z;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||""}la(x,Error);var z="unknown error",y={15:"element not selectable",11:"element not visible"};y[31]=z;y[30]=z;y[24]="invalid cookie domain";y[29]="invalid element coordinates";y[12]="invalid element state";
|
|
22
|
+
y[32]="invalid selector";y[51]="invalid selector";y[52]="invalid selector";y[17]="javascript error";y[405]="unsupported operation";y[34]="move target out of bounds";y[27]="no such alert";y[7]="no such element";y[8]="no such frame";y[23]="no such window";y[28]="script timeout";y[33]="session not created";y[10]="stale element reference";y[21]="timeout";y[25]="unable to set cookie";y[26]="unexpected alert open";y[13]=z;y[9]="unknown command";function oa(a,b){var c={},d;for(d in a)b.call(void 0,a[d],d,a)&&(c[d]=a[d]);return c}function pa(a,b){var c={},d;for(d in a)c[d]=b.call(void 0,a[d],d,a);return c}function A(a,b){return a!==null&&b in a}function qa(a,b){for(var c in a)if(b.call(void 0,a[c],c,a))return c};function B(){var a=u.navigator;return a&&(a=a.userAgent)?a:""}function C(a){return B().indexOf(a)!=-1};function D(){return C("Firefox")||C("FxiOS")}function E(){return(C("Chrome")||C("CriOS"))&&!C("Edge")||C("Silk")};function F(){return C("iPhone")&&!C("iPod")&&!C("iPad")};var G=C("Macintosh"),H=C("Windows");var ra=D(),sa=F()||C("iPod"),ta=C("iPad"),ua=C("Android")&&!(E()||D()||C("Opera")||C("Silk")),va=E(),wa=C("Safari")&&!(E()||C("Coast")||C("Opera")||C("Edge")||C("Edg/")||C("OPR")||D()||C("Silk")||C("Android"))&&!(F()||C("iPad")||C("iPod"));function I(a){return(a=a.exec(B()))?a[1]:""}(function(){if(ra)return I(/Firefox\/([0-9.]+)/);if(va){if(F()||C("iPad")||C("iPod")||C("Macintosh")){var a=I(/CriOS\/([0-9.]+)/);if(a)return a}return I(/Chrome\/([0-9.]+)/)}if(wa&&!(F()||C("iPad")||C("iPod")))return I(/Version\/([0-9.]+)/);if(sa||ta){if(a=/Version\/(\S+).*Mobile\/(\S+)/.exec(B()))return a[1]+"."+a[2]}else if(ua)return(a=I(/Android\s+([0-9.]+)/))?a:I(/Version\/([0-9.]+)/);return""})();function xa(a,b){a&&(a=a.parentNode);for(var c=0;a&&!b(a);)a=a.parentNode,c++};function J(a,b){b=b.toLowerCase();return b=="style"?ya(a.style.cssText):(a=a.getAttributeNode(b))&&a.specified?a.value:null}var za=RegExp("[;]+(?=(?:(?:[^\"]*\"){2})*[^\"]*$)(?=(?:(?:[^']*'){2})*[^']*$)(?=(?:[^()]*\\([^()]*\\))*[^()]*$)");function ya(a){var b=[];na(a.split(za),function(c){var d=c.indexOf(":");d>0&&(c=[c.slice(0,d),c.slice(d+1)],c.length==2&&b.push(c[0].toLowerCase(),":",c[1],";"))});b=b.join("");return b=b.charAt(b.length-1)==";"?b:b+";"}
|
|
23
|
+
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)}function Aa(a){return K(a,"OPTION")?!0:K(a,"INPUT")?(a=a.type.toLowerCase(),a=="checkbox"||a=="radio"):!1};var Ba=u.JSON.stringify;function Ca(a){function b(c,d){switch(ja(c)){case "string":case "number":case "boolean":return c;case "function":return c.toString();case "array":return w(c,function(g){return b(g,d)});case "object":if(d.indexOf(c)>=0)throw new x(17,"Recursive object cannot be transferred");if(A(c,"nodeType")&&(c.nodeType==1||c.nodeType==9)){var f={};f.ELEMENT=Da(c);return f}if(A(c,"document"))return f={},f.WINDOW=Da(c),f;d.push(c);if(ka(c))return w(c,function(g){return b(g,d)});c=oa(c,function(g,l){return typeof l===
|
|
24
|
+
"number"||typeof l==="string"});return pa(c,function(g){return b(g,d)});default:return null}}return b(a,[])}function L(a,b){return Array.isArray(a)?w(a,function(c){return L(c,b)}):v(a)?typeof a=="function"?a:A(a,"ELEMENT")?M(a.ELEMENT,b):A(a,"WINDOW")?M(a.WINDOW,b):pa(a,function(c){return L(c,b)}):a}function Ea(a){a=a||document;var b=a.$wdc_;b||(b=a.$wdc_={},b.s=Date.now());b.s||(b.s=Date.now());return b}
|
|
25
|
+
function Da(a){var b=Ea(a.ownerDocument),c=qa(b,function(d){return d==a});c||(c=":wdc:"+b.s++,b[c]=a);return c}
|
|
26
|
+
function M(a,b){a=decodeURIComponent(a);b=b||document;var c=Ea(b);if(!A(c,a))throw new x(10,"Element does not exist in cache");var d=c[a];if(A(d,"setInterval")){if(d.closed)throw delete c[a],new x(23,"Window has been closed.");return d}for(var f=d;f;){if(f==b.documentElement)return d;f.host&&f.nodeType===11&&(f=f.host);f=f.parentNode}delete c[a];throw new x(10,"Element is no longer attached to the DOM");};function Fa(){this.g=ia.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(d){c=null}c&&Ga(this,c)}function Ga(a,b){a.g=b;K(b,"OPTION")&&xa(b,function(c){return K(c,"SELECT")})};function N(a,b){this.g=a[u.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 Ha(a,b){return new N(a,b)};function O(){}O.prototype.next=function(){return Ia};var Ia={done:!0,value:void 0};O.prototype.l=function(){return this};function Ja(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())};
|
|
27
|
+
function Q(a){this.g=a}fa(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}fa(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 d=0;d<c;d+=2)this.set(arguments[d],arguments[d+1])}else if(a)if(a instanceof S)for(c=T(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])}function T(a){Ka(a);return a.g.concat()}e=S.prototype;e.has=function(a){return Object.prototype.hasOwnProperty.call(this.j,a)};
|
|
28
|
+
function Ka(a){if(a.size!=a.g.length){for(var b=0,c=0;b<a.g.length;){var d=a.g[b];Object.prototype.hasOwnProperty.call(a.j,d)&&(a.g[c++]=d);b++}a.g.length=c}if(a.size!=a.g.length){var f={};for(c=b=0;b<a.g.length;)d=a.g[b],Object.prototype.hasOwnProperty.call(f,d)||(a.g[c++]=d,f[d]=1),b++;a.g.length=c}}e.get=function(a,b){return Object.prototype.hasOwnProperty.call(this.j,a)?this.j[a]:b};
|
|
29
|
+
e.set=function(a,b){Object.prototype.hasOwnProperty.call(this.j,a)||(this.size+=1,this.g.push(a),this.m++);this.j[a]=b};e.forEach=function(a,b){for(var c=T(this),d=0;d<c.length;d++){var f=c[d],g=this.get(f);a.call(b,g,f,this)}};e.keys=function(){return Ja(this.l(!0)).j()};e.values=function(){return Ja(this.l(!1)).j()};e.entries=function(){var a=this;return Ha(this.keys(),function(b){return[b,a.get(b)]})};
|
|
30
|
+
e.l=function(a){Ka(this);var b=0,c=this.m,d=this,f=new O;f.next=function(){if(c!=d.m)throw Error("The map has changed since the iterator was created");if(b>=d.g.length)return Ia;var g=d.g[b++];return{value:a?g:d.j[g],done:!1}};return f};var U={};function V(a,b,c){v(a)&&(a=a.h);a=new La(a);!b||b in U&&!c||(U[b]={key:a,shift:!1},c&&(U[c]={key:a,shift:!0}));return a}function La(a){this.code=a}V(8);V(9);V(13);var Ma=V(16),Na=V(17),Oa=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");
|
|
31
|
+
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 Pa=V(H?{i:91,h:91}:G?{i:224,h:91}:{i:0,h:91});V(H?{i:92,h:92}:G?{i:224,h:93}:{i:0,h:92});V(H?{i:93,h:93}:G?{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");
|
|
32
|
+
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,"\\","|");
|
|
33
|
+
V(221,"]","}");V({i:59,h:186},";",":");V(222,"'",'"');var W=new S;W.set(1,Ma);W.set(2,Na);W.set(4,Oa);W.set(8,Pa);(function(a){var b=new S;na(T(a),function(c){b.set(a.get(c).code,c)});return b})(W);function Qa(){Fa.call(this)}la(Qa,Fa);(function(a){a.o=void 0;a.A=function(){return a.o?a.o:a.o=new a}})(Qa);var Ra={"class":"className",readonly:"readOnly"},Sa="allowfullscreen allowpaymentrequest allowusermedia async autofocus autoplay checked compact complete controls declare default defaultchecked defaultselected defer disabled ended formnovalidate hidden indeterminate iscontenteditable ismap itemscope loop multiple muted nohref nomodule noresize noshade novalidate nowrap open paused playsinline pubdate readonly required reversed scoped seamless seeking selected truespeed typemustmatch willvalidate".split(" ");
|
|
34
|
+
function Ta(a,b){var c=null,d=b.toLowerCase();if("style"==d)return(c=a.style)&&typeof c!=="string"&&(c=c.cssText),c;if(("selected"==d||"checked"==d)&&Aa(a)){if(!Aa(a))throw new x(15,"Element is not selectable");b="selected";c=a.type&&a.type.toLowerCase();if("checkbox"==c||"radio"==c)b="checked";return a[b]?"true":null}var f=K(a,"A");if(K(a,"IMG")&&d=="src"||f&&d=="href")return(c=J(a,d))&&(c=a[d]),c;if("spellcheck"==d){c=J(a,d);if(c!==null){if(c.toLowerCase()=="false")return"false";if(c.toLowerCase()==
|
|
35
|
+
"true")return"true"}return a[d]+""}f=Ra[b]||b;if(ma(Sa,d)>=0)return(c=J(a,b)!==null||a[f])?"true":null;try{var g=a[f]}catch(l){}g==null||v(g)?c=J(a,b):c=g;return c!=null?c.toString():null};function Ua(a,b,c){a=[a,b];try{var d;c?d=M(c.WINDOW):d=window;var f=L(a,d.document),g=Ta.apply(null,f);var l={status:0,value:Ca(g)}}catch(q){l={status:A(q,"code")?q.code:13,value:{message:q.message}}}return Ba(l)}var X=["se_exportedFunctionSymbol"],Y=u;X[0]in Y||typeof Y.execScript=="undefined"||Y.execScript("var "+X[0]);for(var Z;X.length&&(Z=X.shift());)X.length||Ua===void 0?Y[Z]&&Y[Z]!==Object.prototype[Z]?Y=Y[Z]:Y=Y[Z]={}:Y[Z]=Ua;; return this.se_exportedFunctionSymbol.apply(null,arguments);}).apply(window, arguments);}
|
|
@@ -1,10 +1,19 @@
|
|
|
1
|
-
function(){return (function(){
|
|
2
|
-
|
|
3
|
-
|
|
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 g=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};var h={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",
|
|
4
13
|
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",
|
|
5
14
|
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",
|
|
6
15
|
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",
|
|
7
16
|
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",
|
|
8
|
-
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
|
|
9
|
-
a.match(
|
|
10
|
-
|
|
17
|
+
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 k="backgroundColor borderTopColor borderRightColor borderBottomColor borderLeftColor color outlineColor".split(" "),l=/#([0-9a-fA-F])([0-9a-fA-F])([0-9a-fA-F])/,m=/^#(?:[0-9a-f]{3}){1,2}$/i,n=/^(?:rgba)?\((\d{1,3}),\s?(\d{1,3}),\s?(\d{1,3}),\s?(0|1|0\.\d*)\)$/i,p=/^(?:rgb)?\((0|[1-9]\d{0,2}),\s?(0|[1-9]\d{0,2}),\s?(0|[1-9]\d{0,2})\)$/i;function q(){var a=d.navigator;return a&&(a=a.userAgent)?a:""}function r(a){return q().indexOf(a)!=-1};function t(){return r("Firefox")||r("FxiOS")}function u(){return(r("Chrome")||r("CriOS"))&&!r("Edge")||r("Silk")};function v(a){return String(a).replace(/\-([a-z])/g,function(b,c){return c.toUpperCase()})};function w(){return r("iPhone")&&!r("iPod")&&!r("iPad")};var x=t(),y=w()||r("iPod"),z=r("iPad"),A=r("Android")&&!(u()||t()||r("Opera")||r("Silk")),B=u(),C=r("Safari")&&!(u()||r("Coast")||r("Opera")||r("Edge")||r("Edg/")||r("OPR")||t()||r("Silk")||r("Android"))&&!(w()||r("iPad")||r("iPod"));function D(a){return(a=a.exec(q()))?a[1]:""}(function(){if(x)return D(/Firefox\/([0-9.]+)/);if(B){if(w()||r("iPad")||r("iPod")||r("Macintosh")){var a=D(/CriOS\/([0-9.]+)/);if(a)return a}return D(/Chrome\/([0-9.]+)/)}if(C&&!(w()||r("iPad")||r("iPod")))return D(/Version\/([0-9.]+)/);if(y||z){if(a=/Version\/(\S+).*Mobile\/(\S+)/.exec(q()))return a[1]+"."+a[2]}else if(A)return(a=D(/Android\s+([0-9.]+)/))?a:D(/Version\/([0-9.]+)/);return""})();function E(a,b){var c=a.currentStyle||a.style,e=c[b];e===void 0&&typeof c.getPropertyValue==="function"&&(e=c.getPropertyValue(b));if(e!="inherit")return e!==void 0?e:null;var f;for(a=a.parentNode;a&&a.nodeType!=1&&a.nodeType!=9&&a.nodeType!=11;)a=a.parentNode;f&&typeof f!=="string"&&(f=f.toString());return(f=(a instanceof HTMLFormElement?!a||a.nodeType!=1||f&&"FORM"!=f:!a||a.nodeType!=1||f&&a.tagName.toUpperCase()!=f)?null:a)?E(f,b):null};function F(a,b){b=v(b);if(b=="float"||b=="cssFloat"||b=="styleFloat")b="cssFloat";a:{var c=b;var e=a.nodeType==9?a:a.ownerDocument||a.document;if(e.defaultView&&e.defaultView.getComputedStyle&&(e=e.defaultView.getComputedStyle(a,null))){c=e[c]||e.getPropertyValue(c)||"";break a}c=""}a=c||E(a,b);if(a===null)a=null;else if(g(k,b)>=0){b:{var f=a.match(n);if(f&&(b=Number(f[1]),c=Number(f[2]),e=Number(f[3]),f=Number(f[4]),b>=0&&b<=255&&c>=0&&c<=255&&e>=0&&e<=255&&f>=0&&f<=1)){b=[b,c,e,f];break b}b=null}if(!b)b:{if(e=
|
|
18
|
+
a.match(p))if(b=Number(e[1]),c=Number(e[2]),e=Number(e[3]),b>=0&&b<=255&&c>=0&&c<=255&&e>=0&&e<=255){b=[b,c,e,1];break b}b=null}if(!b)b:{b=a.toLowerCase();c=h[b.toLowerCase()];if(!c&&(c=b.charAt(0)=="#"?b:"#"+b,c.length==4&&(c=c.replace(l,"#$1$1$2$2$3$3")),!m.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}var G=["se_exportedFunctionSymbol"],H=d;
|
|
19
|
+
G[0]in H||typeof H.execScript=="undefined"||H.execScript("var "+G[0]);for(var I;G.length&&(I=G.shift());)G.length||F===void 0?H[I]&&H[I]!==Object.prototype[I]?H=H[I]:H=H[I]={}:H[I]=F;; return this.se_exportedFunctionSymbol.apply(null,arguments);}).apply(window, arguments);}
|
|
@@ -1,3 +1,14 @@
|
|
|
1
|
-
function(){return (function(){
|
|
2
|
-
|
|
3
|
-
|
|
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 b=this||self;/*
|
|
8
|
+
|
|
9
|
+
Copyright The Closure Library Authors.
|
|
10
|
+
SPDX-License-Identifier: Apache-2.0
|
|
11
|
+
*/
|
|
12
|
+
function c(a,e){this.code=a;this.h=g[a]||k;this.message=e||"";a=this.h.replace(/((?:^|\s+)[a-z])/g,function(f){return f.toUpperCase().replace(/^[\s\xa0]+/g,"")});e=a.length-5;if(e<0||a.indexOf("Error",e)!=e)a+="Error";this.name=a;a=Error(this.message);a.name=this.name;this.stack=a.stack||""}(function(){function a(){}a.prototype=Error.prototype;c.prototype=new a;c.prototype.constructor=c})();var k="unknown error",g={15:"element not selectable",11:"element not visible"};g[31]=k;g[30]=k;g[24]="invalid cookie domain";
|
|
13
|
+
g[29]="invalid element coordinates";g[12]="invalid element state";g[32]="invalid selector";g[51]="invalid selector";g[52]="invalid selector";g[17]="javascript error";g[405]="unsupported operation";g[34]="move target out of bounds";g[27]="no such alert";g[7]="no such element";g[8]="no such frame";g[23]="no such window";g[28]="script timeout";g[33]="session not created";g[10]="stale element reference";g[21]="timeout";g[25]="unable to set cookie";g[26]="unexpected alert open";g[13]=k;g[9]="unknown command";function l(){var a=b.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,e){a=decodeURIComponent(a);e=e||document;var f=e||document;var d=f.$wdc_;d||(d=f.$wdc_={},d.g=Date.now());d.g||(d.g=Date.now());f=d;if(!(f!==null&&a in f))throw new c(10,"Element does not exist in cache");d=f[a];if(d!==null&&"setInterval"in d){if(d.closed)throw delete f[a],new c(23,"Window has been closed.");return d}for(var h=d;h;){if(h==e.documentElement)return d;h.host&&h.nodeType===11&&(h=h.host);h=h.parentNode}delete f[a];throw new c(10,"Element is no longer attached to the DOM");
|
|
14
|
+
}var A=["se_exportedFunctionSymbol"],B=b;A[0]in B||typeof B.execScript=="undefined"||B.execScript("var "+A[0]);for(var C;A.length&&(C=A.shift());)A.length||z===void 0?B[C]&&B[C]!==Object.prototype[C]?B=B[C]:B=B[C]={}:B[C]=z;; return this.se_exportedFunctionSymbol.apply(null,arguments);}).apply(window, arguments);}
|
|
@@ -1,74 +1,19 @@
|
|
|
1
|
-
function(){return (function(){
|
|
2
|
-
function l(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 ba(a){var b=l(a);return"array"==b||"object"==b&&"number"==typeof a.length}function ca(a){var b=typeof a;return"object"==b&&null!=a||"function"==b}function da(a,b,c){return a.call.apply(a.bind,arguments)}
|
|
4
|
-
function ea(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 fa(a,b,c){Function.prototype.bind&&-1!=Function.prototype.bind.toString().indexOf("native code")?fa=da:fa=ea;return fa.apply(null,arguments)}
|
|
5
|
-
function ha(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 ia=Date.now||function(){return+new Date};function m(a,b){function c(){}c.prototype=b.prototype;a.prototype=new c;a.prototype.constructor=a};/*
|
|
1
|
+
function(){return (function(){/*
|
|
6
2
|
|
|
7
|
-
The
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
13
|
-
of this software and associated documentation files (the "Software"), to
|
|
14
|
-
deal in the Software without restriction, including without limitation the
|
|
15
|
-
rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
|
|
16
|
-
sell copies of the Software, and to permit persons to whom the Software is
|
|
17
|
-
furnished to do so, subject to the following conditions:
|
|
18
|
-
|
|
19
|
-
The above copyright notice and this permission notice shall be included in
|
|
20
|
-
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 e=this||self;try{var f=window}catch(a){f=e};/*
|
|
21
8
|
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
25
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
26
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
27
|
-
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
|
28
|
-
IN THE SOFTWARE.
|
|
9
|
+
Copyright The Closure Library Authors.
|
|
10
|
+
SPDX-License-Identifier: Apache-2.0
|
|
29
11
|
*/
|
|
30
|
-
function
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
function
|
|
34
|
-
|
|
35
|
-
function
|
|
36
|
-
function
|
|
37
|
-
|
|
38
|
-
function N(a,b,c,d,e){b=b.a(d);c=c.a(d);var f;if(b instanceof D&&c instanceof D){b=F(b);for(d=G(b);d;d=G(b))for(e=F(c),f=G(e);f;f=G(e))if(a(z(d),z(f)))return!0;return!1}if(b instanceof D||c instanceof D){b instanceof D?(e=b,d=c):(e=c,d=b);f=F(e);for(var g=typeof d,n=G(f);n;n=G(f)){switch(g){case "number":n=+z(n);break;case "boolean":n=!!z(n);break;case "string":n=z(n);break;default:throw Error("Illegal primitive type for comparison.");}if(e==b&&a(n,d)||e==c&&a(d,n))return!0}return!1}return e?"boolean"==
|
|
39
|
-
typeof b||"boolean"==typeof c?a(!!b,!!c):"number"==typeof b||"number"==typeof c?a(+b,+c):a(b,c):a(+b,+c)}M.prototype.a=function(a){return this.c.m(this.h,this.o,a)};M.prototype.toString=function(){var a="Binary Expression: "+this.c;a+=I(this.h);return a+=I(this.o)};function Qa(a,b,c,d){this.J=a;this.F=b;this.i=c;this.m=d}Qa.prototype.toString=function(){return this.J};var Ra={};
|
|
40
|
-
function O(a,b,c,d){if(Ra.hasOwnProperty(a))throw Error("Binary operator already created: "+a);a=new Qa(a,b,c,d);return Ra[a.toString()]=a}O("div",6,1,function(a,b,c){return J(a,c)/J(b,c)});O("mod",6,1,function(a,b,c){return J(a,c)%J(b,c)});O("*",6,1,function(a,b,c){return J(a,c)*J(b,c)});O("+",5,1,function(a,b,c){return J(a,c)+J(b,c)});O("-",5,1,function(a,b,c){return J(a,c)-J(b,c)});O("<",4,2,function(a,b,c){return N(function(d,e){return d<e},a,b,c)});
|
|
41
|
-
O(">",4,2,function(a,b,c){return N(function(d,e){return d>e},a,b,c)});O("<=",4,2,function(a,b,c){return N(function(d,e){return d<=e},a,b,c)});O(">=",4,2,function(a,b,c){return N(function(d,e){return d>=e},a,b,c)});var Pa=O("=",3,2,function(a,b,c){return N(function(d,e){return d==e},a,b,c,!0)});O("!=",3,2,function(a,b,c){return N(function(d,e){return d!=e},a,b,c,!0)});O("and",2,2,function(a,b,c){return L(a,c)&&L(b,c)});O("or",1,2,function(a,b,c){return L(a,c)||L(b,c)});function Sa(a,b){if(b.a.length&&4!=a.i)throw Error("Primary expression must evaluate to nodeset if filter has predicate(s).");H.call(this,a.i);this.c=a;this.h=b;this.g=a.g;this.b=a.b}m(Sa,H);Sa.prototype.a=function(a){a=this.c.a(a);return Ta(this.h,a)};Sa.prototype.toString=function(){var a="Filter:"+I(this.c);return a+=I(this.h)};function Ua(a,b){if(b.length<a.D)throw Error("Function "+a.j+" expects at least"+a.D+" arguments, "+b.length+" given");if(null!==a.B&&b.length>a.B)throw Error("Function "+a.j+" expects at most "+a.B+" arguments, "+b.length+" given");a.I&&q(b,function(c,d){if(4!=c.i)throw Error("Argument "+d+" to function "+a.j+" is not of type Nodeset: "+c);});H.call(this,a.i);this.v=a;this.c=b;Na(this,a.g||la(b,function(c){return c.g}));Oa(this,a.H&&!b.length||a.G&&!!b.length||la(b,function(c){return c.b}))}
|
|
42
|
-
m(Ua,H);Ua.prototype.a=function(a){return this.v.m.apply(null,ma(a,this.c))};Ua.prototype.toString=function(){var a="Function: "+this.v;if(this.c.length){var b=r(this.c,function(c,d){return c+I(d)},"Arguments:");a+=I(b)}return a};function Va(a,b,c,d,e,f,g,n){this.j=a;this.i=b;this.g=c;this.H=d;this.G=!1;this.m=e;this.D=f;this.B=void 0!==g?g:f;this.I=!!n}Va.prototype.toString=function(){return this.j};var Wa={};
|
|
43
|
-
function P(a,b,c,d,e,f,g,n){if(Wa.hasOwnProperty(a))throw Error("Function already created: "+a+".");Wa[a]=new Va(a,b,c,d,e,f,g,n)}P("boolean",2,!1,!1,function(a,b){return L(b,a)},1);P("ceiling",1,!1,!1,function(a,b){return Math.ceil(J(b,a))},1);P("concat",3,!1,!1,function(a,b){return r(na(arguments,1),function(c,d){return c+K(d,a)},"")},2,null);P("contains",2,!1,!1,function(a,b,c){b=K(b,a);a=K(c,a);return-1!=b.indexOf(a)},2);P("count",1,!1,!1,function(a,b){return b.a(a).l},1,1,!0);
|
|
44
|
-
P("false",2,!1,!1,function(){return!1},0);P("floor",1,!1,!1,function(a,b){return Math.floor(J(b,a))},1);P("id",4,!1,!1,function(a,b){var c=a.a,d=9==c.nodeType?c:c.ownerDocument;a=K(b,a).split(/\s+/);var e=[];q(a,function(g){g=d.getElementById(g);!g||0<=ja(e,g)||e.push(g)});e.sort(Ca);var f=new D;q(e,function(g){f.add(g)});return f},1);P("lang",2,!1,!1,function(){return!1},1);P("last",1,!0,!1,function(a){if(1!=arguments.length)throw Error("Function last expects ()");return a.f},0);
|
|
45
|
-
P("local-name",3,!1,!0,function(a,b){return(a=b?Ka(b.a(a)):a.a)?a.localName||a.nodeName.toLowerCase():""},0,1,!0);P("name",3,!1,!0,function(a,b){return(a=b?Ka(b.a(a)):a.a)?a.nodeName.toLowerCase():""},0,1,!0);P("namespace-uri",3,!0,!1,function(){return""},0,1,!0);P("normalize-space",3,!1,!0,function(a,b){return(b?K(b,a):z(a.a)).replace(/[\s\xa0]+/g," ").replace(/^\s+|\s+$/g,"")},0,1);P("not",2,!1,!1,function(a,b){return!L(b,a)},1);P("number",1,!1,!0,function(a,b){return b?J(b,a):+z(a.a)},0,1);
|
|
46
|
-
P("position",1,!0,!1,function(a){return a.b},0);P("round",1,!1,!1,function(a,b){return Math.round(J(b,a))},1);P("starts-with",2,!1,!1,function(a,b,c){b=K(b,a);a=K(c,a);return 0==b.lastIndexOf(a,0)},2);P("string",3,!1,!0,function(a,b){return b?K(b,a):z(a.a)},0,1);P("string-length",1,!1,!0,function(a,b){return(b?K(b,a):z(a.a)).length},0,1);
|
|
47
|
-
P("substring",3,!1,!1,function(a,b,c,d){c=J(c,a);if(isNaN(c)||Infinity==c||-Infinity==c)return"";d=d?J(d,a):Infinity;if(isNaN(d)||-Infinity===d)return"";c=Math.round(c)-1;var e=Math.max(c,0);a=K(b,a);return Infinity==d?a.substring(e):a.substring(e,c+Math.round(d))},2,3);P("substring-after",3,!1,!1,function(a,b,c){b=K(b,a);a=K(c,a);c=b.indexOf(a);return-1==c?"":b.substring(c+a.length)},2);
|
|
48
|
-
P("substring-before",3,!1,!1,function(a,b,c){b=K(b,a);a=K(c,a);a=b.indexOf(a);return-1==a?"":b.substring(0,a)},2);P("sum",1,!1,!1,function(a,b){a=F(b.a(a));b=0;for(var c=G(a);c;c=G(a))b+=+z(c);return b},1,1,!0);P("translate",3,!1,!1,function(a,b,c,d){b=K(b,a);c=K(c,a);var e=K(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);P("true",2,!1,!1,function(){return!0},0);function E(a,b){this.h=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 Xa(a){return"comment"==a||"text"==a||"processing-instruction"==a||"node"==a}E.prototype.a=function(a){return null===this.b||this.b==a.nodeType};E.prototype.f=function(){return this.h};
|
|
49
|
-
E.prototype.toString=function(){var a="Kind Test: "+this.h;null===this.c||(a+=I(this.c));return a};function Ya(a){H.call(this,3);this.c=a.substring(1,a.length-1)}m(Ya,H);Ya.prototype.a=function(){return this.c};Ya.prototype.toString=function(){return"Literal: "+this.c};function R(a,b){this.j=a.toLowerCase();a="*"==this.j?"*":"http://www.w3.org/1999/xhtml";this.b=b?b.toLowerCase():a}R.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.j&&this.j!=b.toLowerCase()?!1:"*"==this.b?!0:this.b==(a.namespaceURI?a.namespaceURI.toLowerCase():"http://www.w3.org/1999/xhtml")};R.prototype.f=function(){return this.j};
|
|
50
|
-
R.prototype.toString=function(){return"Name Test: "+("http://www.w3.org/1999/xhtml"==this.b?"":this.b+":")+this.j};function Za(a){H.call(this,1);this.c=a}m(Za,H);Za.prototype.a=function(){return this.c};Za.prototype.toString=function(){return"Number: "+this.c};function $a(a,b){H.call(this,a.i);this.h=a;this.c=b;this.g=a.g;this.b=a.b;1==this.c.length&&(a=this.c[0],a.A||a.c!=ab||(a=a.o,"*"!=a.f()&&(this.f={name:a.f(),u:null})))}m($a,H);function S(){H.call(this,4)}m(S,H);S.prototype.a=function(a){var b=new D;a=a.a;9==a.nodeType?b.add(a):b.add(a.ownerDocument);return b};S.prototype.toString=function(){return"Root Helper Expression"};function bb(){H.call(this,4)}m(bb,H);bb.prototype.a=function(a){var b=new D;b.add(a.a);return b};bb.prototype.toString=function(){return"Context Helper Expression"};
|
|
51
|
-
function cb(a){return"/"==a||"//"==a}$a.prototype.a=function(a){var b=this.h.a(a);if(!(b instanceof D))throw Error("Filter expression must evaluate to nodeset.");a=this.c;for(var c=0,d=a.length;c<d&&b.l;c++){var e=a[c],f=F(b,e.c.s);if(e.g||e.c!=db)if(e.g||e.c!=eb){var g=G(f);for(b=e.a(new p(g));null!=(g=G(f));)g=e.a(new p(g)),b=Ia(b,g)}else g=G(f),b=e.a(new p(g));else{for(g=G(f);(b=G(f))&&(!g.contains||g.contains(b))&&b.compareDocumentPosition(g)&8;g=b);b=e.a(new p(g))}}return b};
|
|
52
|
-
$a.prototype.toString=function(){var a="Path Expression:"+I(this.h);if(this.c.length){var b=r(this.c,function(c,d){return c+I(d)},"Steps:");a+=I(b)}return a};function fb(a,b){this.a=a;this.s=!!b}
|
|
53
|
-
function Ta(a,b,c){for(c=c||0;c<a.a.length;c++)for(var d=a.a[c],e=F(b),f=b.l,g,n=0;g=G(e);n++){var x=a.s?f-n:n+1;g=d.a(new p(g,x,f));if("number"==typeof g)x=x==g;else if("string"==typeof g||"boolean"==typeof g)x=!!g;else if(g instanceof D)x=0<g.l;else throw Error("Predicate.evaluate returned an unexpected type.");if(!x){x=e;g=x.f;var C=x.a;if(!C)throw Error("Next must be called at least once before remove.");var Q=C.b;C=C.a;Q?Q.a=C:g.a=C;C?C.b=Q:g.b=Q;g.l--;x.a=null}}return b}
|
|
54
|
-
fb.prototype.toString=function(){return r(this.a,function(a,b){return a+I(b)},"Predicates:")};function T(a,b,c,d){H.call(this,4);this.c=a;this.o=b;this.h=c||new fb([]);this.A=!!d;b=this.h;b=0<b.a.length?b.a[0].f:null;a.K&&b&&(this.f={name:b.name,u:b.u});a:{a=this.h;for(b=0;b<a.a.length;b++)if(c=a.a[b],c.g||1==c.i||0==c.i){a=!0;break a}a=!1}this.g=a}m(T,H);
|
|
55
|
-
T.prototype.a=function(a){var b=a.a,c=this.f,d=null,e=null,f=0;c&&(d=c.name,e=c.u?K(c.u,a):null,f=1);if(this.A)if(this.g||this.c!=gb)if(b=F((new T(hb,new E("node"))).a(a)),c=G(b))for(a=this.m(c,d,e,f);null!=(c=G(b));)a=Ia(a,this.m(c,d,e,f));else a=new D;else a=B(this.o,b,d,e),a=Ta(this.h,a,f);else a=this.m(a.a,d,e,f);return a};T.prototype.m=function(a,b,c,d){a=this.c.v(this.o,a,b,c);return a=Ta(this.h,a,d)};
|
|
56
|
-
T.prototype.toString=function(){var a="Step:"+I("Operator: "+(this.A?"//":"/"));this.c.j&&(a+=I("Axis: "+this.c));a+=I(this.o);if(this.h.a.length){var b=r(this.h.a,function(c,d){return c+I(d)},"Predicates:");a+=I(b)}return a};function ib(a,b,c,d){this.j=a;this.v=b;this.s=c;this.K=d}ib.prototype.toString=function(){return this.j};var jb={};function U(a,b,c,d){if(jb.hasOwnProperty(a))throw Error("Axis already created: "+a);b=new ib(a,b,c,!!d);return jb[a]=b}
|
|
57
|
-
U("ancestor",function(a,b){for(var c=new D;b=b.parentNode;)a.a(b)&&Ja(c,b);return c},!0);U("ancestor-or-self",function(a,b){var c=new D;do a.a(b)&&Ja(c,b);while(b=b.parentNode);return c},!0);
|
|
58
|
-
var ab=U("attribute",function(a,b){var c=new D,d=a.f();if(b=b.attributes)if(a instanceof E&&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),gb=U("child",function(a,b,c,d,e){c=k(c)?c:null;d=k(d)?d:null;e=e||new D;for(b=b.firstChild;b;b=b.nextSibling)A(b,c,d)&&a.a(b)&&e.add(b);return e},!1,!0);U("descendant",B,!1,!0);
|
|
59
|
-
var hb=U("descendant-or-self",function(a,b,c,d){var e=new D;A(b,c,d)&&a.a(b)&&e.add(b);return B(a,b,c,d,e)},!1,!0),db=U("following",function(a,b,c,d){var e=new D;do for(var f=b;f=f.nextSibling;)A(f,c,d)&&a.a(f)&&e.add(f),e=B(a,f,c,d,e);while(b=b.parentNode);return e},!1,!0);U("following-sibling",function(a,b){for(var c=new D;b=b.nextSibling;)a.a(b)&&c.add(b);return c},!1);U("namespace",function(){return new D},!1);
|
|
60
|
-
var kb=U("parent",function(a,b){var c=new D;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),eb=U("preceding",function(a,b,c,d){var e=new D,f=[];do f.unshift(b);while(b=b.parentNode);for(var g=1,n=f.length;g<n;g++){var x=[];for(b=f[g];b=b.previousSibling;)x.unshift(b);for(var C=0,Q=x.length;C<Q;C++)b=x[C],A(b,c,d)&&a.a(b)&&e.add(b),e=B(a,b,c,d,e)}return e},!0,!0);
|
|
61
|
-
U("preceding-sibling",function(a,b){for(var c=new D;b=b.previousSibling;)a.a(b)&&Ja(c,b);return c},!0);var lb=U("self",function(a,b){var c=new D;a.a(b)&&c.add(b);return c},!1);function mb(a){H.call(this,1);this.c=a;this.g=a.g;this.b=a.b}m(mb,H);mb.prototype.a=function(a){return-J(this.c,a)};mb.prototype.toString=function(){return"Unary Expression: -"+I(this.c)};function nb(a){H.call(this,4);this.c=a;Na(this,la(this.c,function(b){return b.g}));Oa(this,la(this.c,function(b){return b.b}))}m(nb,H);nb.prototype.a=function(a){var b=new D;q(this.c,function(c){c=c.a(a);if(!(c instanceof D))throw Error("Path expression must evaluate to NodeSet.");b=Ia(b,c)});return b};nb.prototype.toString=function(){return r(this.c,function(a,b){return a+I(b)},"Union Expression:")};function ob(a,b){this.a=a;this.b=b}function pb(a){for(var b,c=[];;){V(a,"Missing right hand side of binary expression.");b=qb(a);var d=y(a.a);if(!d)break;var e=(d=Ra[d]||null)&&d.F;if(!e){a.a.a--;break}for(;c.length&&e<=c[c.length-1].F;)b=new M(c.pop(),c.pop(),b);c.push(b,d)}for(;c.length;)b=new M(c.pop(),c.pop(),b);return b}function V(a,b){if(Aa(a.a))throw Error(b);}function rb(a,b){a=y(a.a);if(a!=b)throw Error("Bad token, expected: "+b+" got: "+a);}
|
|
62
|
-
function sb(a){a=y(a.a);if(")"!=a)throw Error("Bad token: "+a);}function tb(a){a=y(a.a);if(2>a.length)throw Error("Unclosed literal string");return new Ya(a)}
|
|
63
|
-
function ub(a){var b=[];if(cb(w(a.a))){var c=y(a.a);var d=w(a.a);if("/"==c&&(Aa(a.a)||"."!=d&&".."!=d&&"@"!=d&&"*"!=d&&!/(?![0-9])[\w]/.test(d)))return new S;d=new S;V(a,"Missing next location step.");c=vb(a,c);b.push(c)}else{a:{c=w(a.a);d=c.charAt(0);switch(d){case "$":throw Error("Variable reference not allowed in HTML XPath");case "(":y(a.a);c=pb(a);V(a,'unclosed "("');rb(a,")");break;case '"':case "'":c=tb(a);break;default:if(isNaN(+c))if(!Xa(c)&&/(?![0-9])[\w]/.test(d)&&"("==w(a.a,1)){c=y(a.a);
|
|
64
|
-
c=Wa[c]||null;y(a.a);for(d=[];")"!=w(a.a);){V(a,"Missing function argument list.");d.push(pb(a));if(","!=w(a.a))break;y(a.a)}V(a,"Unclosed function argument list.");sb(a);c=new Ua(c,d)}else{c=null;break a}else c=new Za(+y(a.a))}"["==w(a.a)&&(d=new fb(wb(a)),c=new Sa(c,d))}if(c)if(cb(w(a.a)))d=c;else return c;else c=vb(a,"/"),d=new bb,b.push(c)}for(;cb(w(a.a));)c=y(a.a),V(a,"Missing next location step."),c=vb(a,c),b.push(c);return new $a(d,b)}
|
|
65
|
-
function vb(a,b){if("/"!=b&&"//"!=b)throw Error('Step op should be "/" or "//"');if("."==w(a.a)){var c=new T(lb,new E("node"));y(a.a);return c}if(".."==w(a.a))return c=new T(kb,new E("node")),y(a.a),c;if("@"==w(a.a)){var d=ab;y(a.a);V(a,"Missing attribute name")}else if("::"==w(a.a,1)){if(!/(?![0-9])[\w]/.test(w(a.a).charAt(0)))throw Error("Bad token: "+y(a.a));var e=y(a.a);d=jb[e]||null;if(!d)throw Error("No axis with name: "+e);y(a.a);V(a,"Missing node name")}else d=gb;e=w(a.a);if(/(?![0-9])[\w\*]/.test(e.charAt(0)))if("("==
|
|
66
|
-
w(a.a,1)){if(!Xa(e))throw Error("Invalid node type: "+e);e=y(a.a);if(!Xa(e))throw Error("Invalid type name: "+e);rb(a,"(");V(a,"Bad nodetype");var f=w(a.a).charAt(0),g=null;if('"'==f||"'"==f)g=tb(a);V(a,"Bad nodetype");sb(a);e=new E(e,g)}else if(e=y(a.a),f=e.indexOf(":"),-1==f)e=new R(e);else{g=e.substring(0,f);if("*"==g)var n="*";else if(n=a.b(g),!n)throw Error("Namespace prefix not declared: "+g);e=e.substr(f+1);e=new R(e,n)}else throw Error("Bad token: "+y(a.a));a=new fb(wb(a),d.s);return c||new T(d,
|
|
67
|
-
e,a,"//"==b)}function wb(a){for(var b=[];"["==w(a.a);){y(a.a);V(a,"Missing predicate expression.");var c=pb(a);b.push(c);V(a,"Unclosed predicate expression.");rb(a,"]")}return b}function qb(a){if("-"==w(a.a))return y(a.a),new mb(qb(a));var b=ub(a);if("|"!=w(a.a))a=b;else{for(b=[b];"|"==y(a.a);)V(a,"Missing next union location path."),b.push(ub(a));a.a.a--;a=new nb(b)}return a};function xb(a){switch(a.nodeType){case 1:return ha(yb,a);case 9:return xb(a.documentElement);case 11:case 10:case 6:case 12:return zb;default:return a.parentNode?xb(a.parentNode):zb}}function zb(){return null}function yb(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?yb(a.parentNode,b):null};function Ab(a,b){if(!a.length)throw Error("Empty XPath expression.");a=xa(a);if(Aa(a))throw Error("Invalid XPath expression.");b?"function"==l(b)||(b=fa(b.lookupNamespaceURI,b)):b=function(){return null};var c=pb(new ob(a,b));if(!Aa(a))throw Error("Bad token: "+y(a));this.evaluate=function(d,e){d=c.a(new p(d));return new W(d,e)}}
|
|
68
|
-
function W(a,b){if(0==b)if(a instanceof D)b=4;else if("string"==typeof a)b=2;else if("number"==typeof a)b=1;else if("boolean"==typeof a)b=3;else throw Error("Unexpected evaluation result.");if(2!=b&&1!=b&&3!=b&&!(a instanceof D))throw Error("value could not be converted to the specified type");this.resultType=b;switch(b){case 2:this.stringValue=a instanceof D?La(a):""+a;break;case 1:this.numberValue=a instanceof D?+La(a):+a;break;case 3:this.booleanValue=a instanceof D?0<a.l:!!a;break;case 4:case 5:case 6:case 7:var c=
|
|
69
|
-
F(a);var d=[];for(var e=G(c);e;e=G(c))d.push(e);this.snapshotLength=a.l;this.invalidIteratorState=!1;break;case 8:case 9:this.singleNodeValue=Ka(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(g){if(6!=b&&7!=b)throw Error("snapshotItem called with wrong result type");return g>=d.length||0>g?null:d[g]}}W.ANY_TYPE=0;
|
|
70
|
-
W.NUMBER_TYPE=1;W.STRING_TYPE=2;W.BOOLEAN_TYPE=3;W.UNORDERED_NODE_ITERATOR_TYPE=4;W.ORDERED_NODE_ITERATOR_TYPE=5;W.UNORDERED_NODE_SNAPSHOT_TYPE=6;W.ORDERED_NODE_SNAPSHOT_TYPE=7;W.ANY_UNORDERED_NODE_TYPE=8;W.FIRST_ORDERED_NODE_TYPE=9;function Bb(a){this.lookupNamespaceURI=xb(a)}
|
|
71
|
-
function Cb(a,b){a=a||h;var c=a.Document&&a.Document.prototype||a.document;if(!c.evaluate||b)a.XPathResult=W,c.evaluate=function(d,e,f,g){return(new Ab(d,f)).evaluate(e,g)},c.createExpression=function(d,e){return new Ab(d,e)},c.createNSResolver=function(d){return new Bb(d)}}aa("wgxpath.install",Cb);aa("wgxpath.install",Cb);var Db=window;function X(a,b){this.code=a;this.a=Y[a]||Eb;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||""}m(X,Error);var Eb="unknown error",Y={15:"element not selectable",11:"element not visible"};Y[31]=Eb;Y[30]=Eb;Y[24]="invalid cookie domain";Y[29]="invalid element coordinates";Y[12]="invalid element state";
|
|
72
|
-
Y[32]="invalid selector";Y[51]="invalid selector";Y[52]="invalid selector";Y[17]="javascript error";Y[405]="unsupported operation";Y[34]="move target out of bounds";Y[27]="no such alert";Y[7]="no such element";Y[8]="no such frame";Y[23]="no such window";Y[28]="script timeout";Y[33]="session not created";Y[10]="stale element reference";Y[21]="timeout";Y[25]="unable to set cookie";Y[26]="unexpected alert open";Y[13]=Eb;Y[9]="unknown command";var Fb=ta(),Gb=va()||u("iPod"),Hb=u("iPad"),Ib=u("Android")&&!(ua()||ta()||u("Opera")||u("Silk")),Jb=ua(),Kb=u("Safari")&&!(ua()||u("Coast")||u("Opera")||u("Edge")||u("Edg/")||u("OPR")||ta()||u("Silk")||u("Android"))&&!(va()||u("iPad")||u("iPod"));function Z(a){return(a=a.exec(t))?a[1]:""}(function(){if(Fb)return Z(/Firefox\/([0-9.]+)/);if(Jb)return va()||u("iPad")||u("iPod")?Z(/CriOS\/([0-9.]+)/):Z(/Chrome\/([0-9.]+)/);if(Kb&&!(va()||u("iPad")||u("iPod")))return Z(/Version\/([0-9.]+)/);if(Gb||Hb){var a=/Version\/(\S+).*Mobile\/(\S+)/.exec(t);if(a)return a[1]+"."+a[2]}else if(Ib)return(a=Z(/Android\s+([0-9.]+)/))?a:Z(/Version\/([0-9.]+)/);return""})();function Lb(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)};function Mb(a){if(Lb(a,"FRAME")||Lb(a,"IFRAME")){a:{try{var b;if(!(b=a.contentWindow)){if(a.contentDocument){var c=a.contentDocument;var d=c?c.parentWindow||c.defaultView:window}else d=null;b=d}var e=b;break a}catch(f){}e=null}return e}throw new X(8,"The given element isn't a frame or an iframe.");};var Nb=JSON.stringify;function Ob(a){function b(c,d){switch(l(c)){case "string":case "number":case "boolean":return c;case "function":return c.toString();case "array":return ka(c,function(f){return b(f,d)});case "object":if(0<=d.indexOf(c))throw new X(17,"Recursive object cannot be transferred");if(v(c,"nodeType")&&(1==c.nodeType||9==c.nodeType)){var e={};e.ELEMENT=Pb(c);return e}if(v(c,"document"))return e={},e.WINDOW=Pb(c),e;d.push(c);if(ba(c))return ka(c,function(f){return b(f,d)});c=qa(c,function(f,g){return"number"==
|
|
73
|
-
typeof g||k(g)});return ra(c,function(f){return b(f,d)});default:return null}}return b(a,[])}function Qb(a,b){return"array"==l(a)?ka(a,function(c){return Qb(c,b)}):ca(a)?"function"==typeof a?a:v(a,"ELEMENT")?Rb(a.ELEMENT,b):v(a,"WINDOW")?Rb(a.WINDOW,b):ra(a,function(c){return Qb(c,b)}):a}function Sb(a){a=a||document;var b=a.$wdc_;b||(b=a.$wdc_={},b.C=ia());b.C||(b.C=ia());return b}function Pb(a){var b=Sb(a.ownerDocument),c=sa(b,function(d){return d==a});c||(c=":wdc:"+b.C++,b[c]=a);return c}
|
|
74
|
-
function Rb(a,b){a=decodeURIComponent(a);b=b||document;var c=Sb(b);if(!v(c,a))throw new X(10,"Element does not exist in cache");var d=c[a];if(v(d,"setInterval")){if(d.closed)throw delete c[a],new X(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 X(10,"Element is no longer attached to the DOM");};aa("se_exportedFunctionSymbol",function(a){a=[a];var b=Mb,c=window||Db;try{a:{var d=b;if(k(d))try{b=new c.Function(d);break a}catch(g){throw g;}b=c==window?d:new c.Function("return ("+d+").apply(null,arguments);")}var e=Qb(a,c.document);var f={status:0,value:Ob(b.apply(null,e))}}catch(g){f={status:v(g,"code")?g.code:13,value:{message:g.message}}}return Nb(f)});; return this.se_exportedFunctionSymbol.apply(null,arguments);}).apply(window, arguments);}
|
|
12
|
+
function k(a){var b=typeof a;return b=="object"&&a!=null||b=="function"}
|
|
13
|
+
function l(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";
|
|
14
|
+
else if(b=="function"&&typeof a.call=="undefined")return"object";return b}function n(a){var b=l(a);return b=="array"||b=="object"&&typeof a.length=="number"};function p(a,b){this.code=a;this.h=q[a]||r;this.message=b||"";a=this.h.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;p.prototype=new a;p.prototype.constructor=p})();var r="unknown error",q={15:"element not selectable",11:"element not visible"};q[31]=r;q[30]=r;q[24]="invalid cookie domain";
|
|
15
|
+
q[29]="invalid element coordinates";q[12]="invalid element state";q[32]="invalid selector";q[51]="invalid selector";q[52]="invalid selector";q[17]="javascript error";q[405]="unsupported operation";q[34]="move target out of bounds";q[27]="no such alert";q[7]="no such element";q[8]="no such frame";q[23]="no such window";q[28]="script timeout";q[33]="session not created";q[10]="stale element reference";q[21]="timeout";q[25]="unable to set cookie";q[26]="unexpected alert open";q[13]=r;q[9]="unknown command";var t=Array.prototype.map?function(a,b){return Array.prototype.map.call(a,b,void 0)}:function(a,b){for(var c=a.length,d=Array(c),g=typeof a==="string"?a.split(""):a,h=0;h<c;h++)h in g&&(d[h]=b.call(void 0,g[h],h,a));return d};function u(a,b){var c={},d;for(d in a)b.call(void 0,a[d],d,a)&&(c[d]=a[d]);return c}function v(a,b){var c={},d;for(d in a)c[d]=b.call(void 0,a[d],d,a);return c}function w(a,b){return a!==null&&b in a}function x(a,b){for(var c in a)if(b.call(void 0,a[c],c,a))return c};function y(){var a=e.navigator;return a&&(a=a.userAgent)?a:""}function z(a){return y().indexOf(a)!=-1};function A(){return z("Firefox")||z("FxiOS")}function B(){return(z("Chrome")||z("CriOS"))&&!z("Edge")||z("Silk")};function C(){return z("iPhone")&&!z("iPod")&&!z("iPad")};var D=A(),E=C()||z("iPod"),F=z("iPad"),G=z("Android")&&!(B()||A()||z("Opera")||z("Silk")),H=B(),I=z("Safari")&&!(B()||z("Coast")||z("Opera")||z("Edge")||z("Edg/")||z("OPR")||A()||z("Silk")||z("Android"))&&!(C()||z("iPad")||z("iPod"));function J(a){return(a=a.exec(y()))?a[1]:""}(function(){if(D)return J(/Firefox\/([0-9.]+)/);if(H){if(C()||z("iPad")||z("iPod")||z("Macintosh")){var a=J(/CriOS\/([0-9.]+)/);if(a)return a}return J(/Chrome\/([0-9.]+)/)}if(I&&!(C()||z("iPad")||z("iPod")))return J(/Version\/([0-9.]+)/);if(E||F){if(a=/Version\/(\S+).*Mobile\/(\S+)/.exec(y()))return a[1]+"."+a[2]}else if(G)return(a=J(/Android\s+([0-9.]+)/))?a:J(/Version\/([0-9.]+)/);return""})();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)};function L(a){if(K(a,"FRAME")||K(a,"IFRAME")){a:{try{var b;if(!(b=a.contentWindow)){if(a.contentDocument){var c=a.contentDocument;var d=c?c.parentWindow||c.defaultView:window}else d=null;b=d}var g=b;break a}catch(h){}g=null}return g}throw new p(8,"The given element isn't a frame or an iframe.");};var M=JSON.stringify;function N(a){function b(c,d){switch(l(c)){case "string":case "number":case "boolean":return c;case "function":return c.toString();case "array":return t(c,function(h){return b(h,d)});case "object":if(d.indexOf(c)>=0)throw new p(17,"Recursive object cannot be transferred");if(w(c,"nodeType")&&(c.nodeType==1||c.nodeType==9)){var g={};g.ELEMENT=O(c);return g}if(w(c,"document"))return g={},g.WINDOW=O(c),g;d.push(c);if(n(c))return t(c,function(h){return b(h,d)});c=u(c,function(h,m){return typeof m==="number"||
|
|
16
|
+
typeof m==="string"});return v(c,function(h){return b(h,d)});default:return null}}return b(a,[])}function P(a,b){return Array.isArray(a)?t(a,function(c){return P(c,b)}):k(a)?typeof a=="function"?a:w(a,"ELEMENT")?Q(a.ELEMENT,b):w(a,"WINDOW")?Q(a.WINDOW,b):v(a,function(c){return P(c,b)}):a}function R(a){a=a||document;var b=a.$wdc_;b||(b=a.$wdc_={},b.g=Date.now());b.g||(b.g=Date.now());return b}
|
|
17
|
+
function O(a){var b=R(a.ownerDocument),c=x(b,function(d){return d==a});c||(c=":wdc:"+b.g++,b[c]=a);return c}
|
|
18
|
+
function Q(a,b){a=decodeURIComponent(a);b=b||document;var c=R(b);if(!w(c,a))throw new p(10,"Element does not exist in cache");var d=c[a];if(w(d,"setInterval")){if(d.closed)throw delete c[a],new p(23,"Window has been closed.");return d}for(var g=d;g;){if(g==b.documentElement)return d;g.host&&g.nodeType===11&&(g=g.host);g=g.parentNode}delete c[a];throw new p(10,"Element is no longer attached to the DOM");};function S(a){a=[a];var b=L,c=window||f;try{a:{var d=b;if(typeof d==="string")try{b=new c.Function(d);break a}catch(m){throw m;}b=c==window?d:new c.Function("return ("+d+").apply(null,arguments);")}var g=P(a,c.document);var h={status:0,value:N(b.apply(null,g))}}catch(m){h={status:w(m,"code")?m.code:13,value:{message:m.message}}}return M(h)}var T=["se_exportedFunctionSymbol"],U=e;T[0]in U||typeof U.execScript=="undefined"||U.execScript("var "+T[0]);
|
|
19
|
+
for(var V;T.length&&(V=T.shift());)T.length||S===void 0?U[V]&&U[V]!==Object.prototype[V]?U=U[V]:U=U[V]={}:U[V]=S;; return this.se_exportedFunctionSymbol.apply(null,arguments);}).apply(window, arguments);}
|