appium-remote-debugger 11.0.9 → 11.1.1

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.
@@ -38,31 +38,31 @@ function y(a,b,c,d){a=d||a.a;var e=b&&"*"!=b?String(b).toUpperCase():"";if(a.que
38
38
  ;function z(a){var b=null,c=a.nodeType;1==c&&(b=a.textContent,b=void 0==b||null==b?a.innerText:b,b=void 0==b||null==b?"":b);if("string"!=typeof b)if(9==c||1==c){a=9==c?a.documentElement:a.firstChild;c=0;var d=[];for(b="";a;){do 1!=a.nodeType&&(b+=a.nodeValue),d[c++]=a;while(a=a.firstChild);for(;c&&!(a=d[--c].nextSibling););}}else b=a.nodeValue;return b}
39
39
  function Wa(a,b,c){if(null===b)return!0;try{if(!a.getAttribute)return!1}catch(d){return!1}return null==c?!!a.getAttribute(b):a.getAttribute(b,2)==c}function Xa(a,b,c,d,e){return Ya.call(null,a,b,ca(c)?c:null,ca(d)?d:null,e||new A)}
40
40
  function Ya(a,b,c,d,e){b.getElementsByName&&d&&"name"==c?(b=b.getElementsByName(d),n(b,function(f){a.a(f)&&e.add(f)})):b.getElementsByClassName&&d&&"class"==c?(b=b.getElementsByClassName(d),n(b,function(f){f.className==d&&a.a(f)&&e.add(f)})):a instanceof B?Za(a,b,c,d,e):b.getElementsByTagName&&(b=b.getElementsByTagName(a.f()),n(b,function(f){Wa(f,c,d)&&e.add(f)}));return e}function Za(a,b,c,d,e){for(b=b.firstChild;b;b=b.nextSibling)Wa(b,c,d)&&a.a(b)&&e.add(b),Za(a,b,c,d,e)};function A(){this.b=this.a=null;this.m=0}function $a(a){this.f=a;this.a=this.b=null}function ab(a,b){if(!a.a)return b;if(!b.a)return a;var c=a.a;b=b.a;for(var d=null,e,f=0;c&&b;)c.f==b.f?(e=c,c=c.a,b=b.a):0<Sa(c.f,b.f)?(e=b,b=b.a):(e=c,c=c.a),(e.b=d)?d.a=e:a.a=e,d=e,f++;for(e=c||b;e;)e.b=d,d=d.a=e,f++,e=e.a;a.b=d;a.m=f;return a}function bb(a,b){b=new $a(b);b.a=a.a;a.b?a.a.b=b:a.a=a.b=b;a.a=b;a.m++}A.prototype.add=function(a){a=new $a(a);a.b=this.b;this.a?this.b.a=a:this.a=this.b=a;this.b=a;this.m++};
41
- function cb(a){return(a=a.a)?a.f:null}function db(a){return(a=cb(a))?z(a):""}function C(a,b){return new eb(a,!!b)}function eb(a,b){this.f=a;this.b=(this.A=b)?a.b:a.a;this.a=null}function D(a){var b=a.b;if(null==b)return null;var c=a.a=b;a.b=a.A?b.b:b.a;return c.f};function F(a){this.i=a;this.b=this.g=!1;this.f=null}function G(a){return"\n "+a.toString().split("\n").join("\n ")}function fb(a,b){a.g=b}function gb(a,b){a.b=b}function H(a,b){a=a.a(b);return a instanceof A?+db(a):+a}function I(a,b){a=a.a(b);return a instanceof A?db(a):""+a}function hb(a,b){a=a.a(b);return a instanceof A?!!a.m:!!a};function ib(a,b,c){F.call(this,a.i);this.c=a;this.h=b;this.v=c;this.g=b.g||c.g;this.b=b.b||c.b;this.c==jb&&(c.b||c.g||4==c.i||0==c.i||!b.f?b.b||b.g||4==b.i||0==b.i||!c.f||(this.f={name:c.f.name,B:b}):this.f={name:b.f.name,B:c})}k(ib,F);
41
+ function cb(a){return(a=a.a)?a.f:null}function db(a){return(a=cb(a))?z(a):""}function C(a,b){return new eb(a,!!b)}function eb(a,b){this.f=a;this.b=(this.A=b)?a.b:a.a;this.a=null}function D(a){var b=a.b;if(null==b)return null;var c=a.a=b;a.b=a.A?b.b:b.a;return c.f};function E(a){this.i=a;this.b=this.g=!1;this.f=null}function G(a){return"\n "+a.toString().split("\n").join("\n ")}function fb(a,b){a.g=b}function gb(a,b){a.b=b}function H(a,b){a=a.a(b);return a instanceof A?+db(a):+a}function I(a,b){a=a.a(b);return a instanceof A?db(a):""+a}function hb(a,b){a=a.a(b);return a instanceof A?!!a.m:!!a};function ib(a,b,c){E.call(this,a.i);this.c=a;this.h=b;this.v=c;this.g=b.g||c.g;this.b=b.b||c.b;this.c==jb&&(c.b||c.g||4==c.i||0==c.i||!b.f?b.b||b.g||4==b.i||0==b.i||!c.f||(this.f={name:c.f.name,B:b}):this.f={name:b.f.name,B:c})}k(ib,E);
42
42
  function kb(a,b,c,d,e){b=b.a(d);c=c.a(d);var f;if(b instanceof A&&c instanceof A){b=C(b);for(d=D(b);d;d=D(b))for(e=C(c),f=D(e);f;f=D(e))if(a(z(d),z(f)))return!0;return!1}if(b instanceof A||c instanceof A){b instanceof A?(e=b,d=c):(e=c,d=b);f=C(e);for(var g=typeof d,h=D(f);h;h=D(f)){switch(g){case "number":h=+z(h);break;case "boolean":h=!!z(h);break;case "string":h=z(h);break;default:throw Error("Illegal primitive type for comparison.");}if(e==b&&a(h,d)||e==c&&a(d,h))return!0}return!1}return e?"boolean"==
43
43
  typeof b||"boolean"==typeof c?a(!!b,!!c):"number"==typeof b||"number"==typeof c?a(+b,+c):a(b,c):a(+b,+c)}ib.prototype.a=function(a){return this.c.s(this.h,this.v,a)};ib.prototype.toString=function(){var a="Binary Expression: "+this.c;a+=G(this.h);return a+=G(this.v)};function lb(a,b,c,d){this.$=a;this.M=b;this.i=c;this.s=d}lb.prototype.toString=function(){return this.$};var nb={};
44
44
  function J(a,b,c,d){if(nb.hasOwnProperty(a))throw Error("Binary operator already created: "+a);a=new lb(a,b,c,d);return nb[a.toString()]=a}J("div",6,1,function(a,b,c){return H(a,c)/H(b,c)});J("mod",6,1,function(a,b,c){return H(a,c)%H(b,c)});J("*",6,1,function(a,b,c){return H(a,c)*H(b,c)});J("+",5,1,function(a,b,c){return H(a,c)+H(b,c)});J("-",5,1,function(a,b,c){return H(a,c)-H(b,c)});J("<",4,2,function(a,b,c){return kb(function(d,e){return d<e},a,b,c)});
45
- J(">",4,2,function(a,b,c){return kb(function(d,e){return d>e},a,b,c)});J("<=",4,2,function(a,b,c){return kb(function(d,e){return d<=e},a,b,c)});J(">=",4,2,function(a,b,c){return kb(function(d,e){return d>=e},a,b,c)});var jb=J("=",3,2,function(a,b,c){return kb(function(d,e){return d==e},a,b,c,!0)});J("!=",3,2,function(a,b,c){return kb(function(d,e){return d!=e},a,b,c,!0)});J("and",2,2,function(a,b,c){return hb(a,c)&&hb(b,c)});J("or",1,2,function(a,b,c){return hb(a,c)||hb(b,c)});function ob(a,b){if(b.a.length&&4!=a.i)throw Error("Primary expression must evaluate to nodeset if filter has predicate(s).");F.call(this,a.i);this.c=a;this.h=b;this.g=a.g;this.b=a.b}k(ob,F);ob.prototype.a=function(a){a=this.c.a(a);return pb(this.h,a)};ob.prototype.toString=function(){var a="Filter:"+G(this.c);return a+=G(this.h)};function qb(a,b){if(b.length<a.L)throw Error("Function "+a.l+" expects at least"+a.L+" arguments, "+b.length+" given");if(null!==a.H&&b.length>a.H)throw Error("Function "+a.l+" expects at most "+a.H+" arguments, "+b.length+" given");a.Z&&n(b,function(c,d){if(4!=c.i)throw Error("Argument "+d+" to function "+a.l+" is not of type Nodeset: "+c);});F.call(this,a.i);this.D=a;this.c=b;fb(this,a.g||sa(b,function(c){return c.g}));gb(this,a.Y&&!b.length||a.X&&!!b.length||sa(b,function(c){return c.b}))}
46
- k(qb,F);qb.prototype.a=function(a){return this.D.s.apply(null,va(a,this.c))};qb.prototype.toString=function(){var a="Function: "+this.D;if(this.c.length){var b=ra(this.c,function(c,d){return c+G(d)},"Arguments:");a+=G(b)}return a};function rb(a,b,c,d,e,f,g,h){this.l=a;this.i=b;this.g=c;this.Y=d;this.X=!1;this.s=e;this.L=f;this.H=void 0!==g?g:f;this.Z=!!h}rb.prototype.toString=function(){return this.l};var sb={};
45
+ J(">",4,2,function(a,b,c){return kb(function(d,e){return d>e},a,b,c)});J("<=",4,2,function(a,b,c){return kb(function(d,e){return d<=e},a,b,c)});J(">=",4,2,function(a,b,c){return kb(function(d,e){return d>=e},a,b,c)});var jb=J("=",3,2,function(a,b,c){return kb(function(d,e){return d==e},a,b,c,!0)});J("!=",3,2,function(a,b,c){return kb(function(d,e){return d!=e},a,b,c,!0)});J("and",2,2,function(a,b,c){return hb(a,c)&&hb(b,c)});J("or",1,2,function(a,b,c){return hb(a,c)||hb(b,c)});function ob(a,b){if(b.a.length&&4!=a.i)throw Error("Primary expression must evaluate to nodeset if filter has predicate(s).");E.call(this,a.i);this.c=a;this.h=b;this.g=a.g;this.b=a.b}k(ob,E);ob.prototype.a=function(a){a=this.c.a(a);return pb(this.h,a)};ob.prototype.toString=function(){var a="Filter:"+G(this.c);return a+=G(this.h)};function qb(a,b){if(b.length<a.L)throw Error("Function "+a.l+" expects at least"+a.L+" arguments, "+b.length+" given");if(null!==a.H&&b.length>a.H)throw Error("Function "+a.l+" expects at most "+a.H+" arguments, "+b.length+" given");a.Z&&n(b,function(c,d){if(4!=c.i)throw Error("Argument "+d+" to function "+a.l+" is not of type Nodeset: "+c);});E.call(this,a.i);this.D=a;this.c=b;fb(this,a.g||sa(b,function(c){return c.g}));gb(this,a.Y&&!b.length||a.X&&!!b.length||sa(b,function(c){return c.b}))}
46
+ k(qb,E);qb.prototype.a=function(a){return this.D.s.apply(null,va(a,this.c))};qb.prototype.toString=function(){var a="Function: "+this.D;if(this.c.length){var b=ra(this.c,function(c,d){return c+G(d)},"Arguments:");a+=G(b)}return a};function rb(a,b,c,d,e,f,g,h){this.l=a;this.i=b;this.g=c;this.Y=d;this.X=!1;this.s=e;this.L=f;this.H=void 0!==g?g:f;this.Z=!!h}rb.prototype.toString=function(){return this.l};var sb={};
47
47
  function K(a,b,c,d,e,f,g,h){if(sb.hasOwnProperty(a))throw Error("Function already created: "+a+".");sb[a]=new rb(a,b,c,d,e,f,g,h)}K("boolean",2,!1,!1,function(a,b){return hb(b,a)},1);K("ceiling",1,!1,!1,function(a,b){return Math.ceil(H(b,a))},1);K("concat",3,!1,!1,function(a,b){return ra(wa(arguments,1),function(c,d){return c+I(d,a)},"")},2,null);K("contains",2,!1,!1,function(a,b,c){b=I(b,a);a=I(c,a);return-1!=b.indexOf(a)},2);K("count",1,!1,!1,function(a,b){return b.a(a).m},1,1,!0);
48
48
  K("false",2,!1,!1,function(){return!1},0);K("floor",1,!1,!1,function(a,b){return Math.floor(H(b,a))},1);K("id",4,!1,!1,function(a,b){var c=a.a,d=9==c.nodeType?c:c.ownerDocument;a=I(b,a).split(/\s+/);var e=[];n(a,function(g){g=d.getElementById(g);!g||0<=oa(e,g)||e.push(g)});e.sort(Sa);var f=new A;n(e,function(g){f.add(g)});return f},1);K("lang",2,!1,!1,function(){return!1},1);K("last",1,!0,!1,function(a){if(1!=arguments.length)throw Error("Function last expects ()");return a.f},0);
49
49
  K("local-name",3,!1,!0,function(a,b){return(a=b?cb(b.a(a)):a.a)?a.localName||a.nodeName.toLowerCase():""},0,1,!0);K("name",3,!1,!0,function(a,b){return(a=b?cb(b.a(a)):a.a)?a.nodeName.toLowerCase():""},0,1,!0);K("namespace-uri",3,!0,!1,function(){return""},0,1,!0);K("normalize-space",3,!1,!0,function(a,b){return(b?I(b,a):z(a.a)).replace(/[\s\xa0]+/g," ").replace(/^\s+|\s+$/g,"")},0,1);K("not",2,!1,!1,function(a,b){return!hb(b,a)},1);K("number",1,!1,!0,function(a,b){return b?H(b,a):+z(a.a)},0,1);
50
50
  K("position",1,!0,!1,function(a){return a.b},0);K("round",1,!1,!1,function(a,b){return Math.round(H(b,a))},1);K("starts-with",2,!1,!1,function(a,b,c){b=I(b,a);a=I(c,a);return 0==b.lastIndexOf(a,0)},2);K("string",3,!1,!0,function(a,b){return b?I(b,a):z(a.a)},0,1);K("string-length",1,!1,!0,function(a,b){return(b?I(b,a):z(a.a)).length},0,1);
51
51
  K("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=I(b,a);return Infinity==d?a.substring(e):a.substring(e,c+Math.round(d))},2,3);K("substring-after",3,!1,!1,function(a,b,c){b=I(b,a);a=I(c,a);c=b.indexOf(a);return-1==c?"":b.substring(c+a.length)},2);
52
52
  K("substring-before",3,!1,!1,function(a,b,c){b=I(b,a);a=I(c,a);a=b.indexOf(a);return-1==a?"":b.substring(0,a)},2);K("sum",1,!1,!1,function(a,b){a=C(b.a(a));b=0;for(var c=D(a);c;c=D(a))b+=+z(c);return b},1,1,!0);K("translate",3,!1,!1,function(a,b,c,d){b=I(b,a);c=I(c,a);var e=I(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);K("true",2,!1,!1,function(){return!0},0);function B(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 tb(a){return"comment"==a||"text"==a||"processing-instruction"==a||"node"==a}B.prototype.a=function(a){return null===this.b||this.b==a.nodeType};B.prototype.f=function(){return this.h};
53
- B.prototype.toString=function(){var a="Kind Test: "+this.h;null===this.c||(a+=G(this.c));return a};function ub(a){F.call(this,3);this.c=a.substring(1,a.length-1)}k(ub,F);ub.prototype.a=function(){return this.c};ub.prototype.toString=function(){return"Literal: "+this.c};function vb(a,b){this.l=a.toLowerCase();a="*"==this.l?"*":"http://www.w3.org/1999/xhtml";this.b=b?b.toLowerCase():a}vb.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.l&&this.l!=b.toLowerCase()?!1:"*"==this.b?!0:this.b==(a.namespaceURI?a.namespaceURI.toLowerCase():"http://www.w3.org/1999/xhtml")};vb.prototype.f=function(){return this.l};
54
- vb.prototype.toString=function(){return"Name Test: "+("http://www.w3.org/1999/xhtml"==this.b?"":this.b+":")+this.l};function wb(a){F.call(this,1);this.c=a}k(wb,F);wb.prototype.a=function(){return this.c};wb.prototype.toString=function(){return"Number: "+this.c};function xb(a,b){F.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.G||a.c!=yb||(a=a.v,"*"!=a.f()&&(this.f={name:a.f(),B:null})))}k(xb,F);function zb(){F.call(this,4)}k(zb,F);zb.prototype.a=function(a){var b=new A;a=a.a;9==a.nodeType?b.add(a):b.add(a.ownerDocument);return b};zb.prototype.toString=function(){return"Root Helper Expression"};function Ab(){F.call(this,4)}k(Ab,F);Ab.prototype.a=function(a){var b=new A;b.add(a.a);return b};Ab.prototype.toString=function(){return"Context Helper Expression"};
53
+ B.prototype.toString=function(){var a="Kind Test: "+this.h;null===this.c||(a+=G(this.c));return a};function ub(a){E.call(this,3);this.c=a.substring(1,a.length-1)}k(ub,E);ub.prototype.a=function(){return this.c};ub.prototype.toString=function(){return"Literal: "+this.c};function vb(a,b){this.l=a.toLowerCase();a="*"==this.l?"*":"http://www.w3.org/1999/xhtml";this.b=b?b.toLowerCase():a}vb.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.l&&this.l!=b.toLowerCase()?!1:"*"==this.b?!0:this.b==(a.namespaceURI?a.namespaceURI.toLowerCase():"http://www.w3.org/1999/xhtml")};vb.prototype.f=function(){return this.l};
54
+ vb.prototype.toString=function(){return"Name Test: "+("http://www.w3.org/1999/xhtml"==this.b?"":this.b+":")+this.l};function wb(a){E.call(this,1);this.c=a}k(wb,E);wb.prototype.a=function(){return this.c};wb.prototype.toString=function(){return"Number: "+this.c};function xb(a,b){E.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.G||a.c!=yb||(a=a.v,"*"!=a.f()&&(this.f={name:a.f(),B:null})))}k(xb,E);function zb(){E.call(this,4)}k(zb,E);zb.prototype.a=function(a){var b=new A;a=a.a;9==a.nodeType?b.add(a):b.add(a.ownerDocument);return b};zb.prototype.toString=function(){return"Root Helper Expression"};function Ab(){E.call(this,4)}k(Ab,E);Ab.prototype.a=function(a){var b=new A;b.add(a.a);return b};Ab.prototype.toString=function(){return"Context Helper Expression"};
55
55
  function Bb(a){return"/"==a||"//"==a}xb.prototype.a=function(a){var b=this.h.a(a);if(!(b instanceof A))throw Error("Filter expression must evaluate to nodeset.");a=this.c;for(var c=0,d=a.length;c<d&&b.m;c++){var e=a[c],f=C(b,e.c.A);if(e.g||e.c!=Cb)if(e.g||e.c!=Db){var g=D(f);for(b=e.a(new ma(g));null!=(g=D(f));)g=e.a(new ma(g)),b=ab(b,g)}else g=D(f),b=e.a(new ma(g));else{for(g=D(f);(b=D(f))&&(!g.contains||g.contains(b))&&b.compareDocumentPosition(g)&8;g=b);b=e.a(new ma(g))}}return b};
56
56
  xb.prototype.toString=function(){var a="Path Expression:"+G(this.h);if(this.c.length){var b=ra(this.c,function(c,d){return c+G(d)},"Steps:");a+=G(b)}return a};function Eb(a,b){this.a=a;this.A=!!b}
57
57
  function pb(a,b,c){for(c=c||0;c<a.a.length;c++)for(var d=a.a[c],e=C(b),f=b.m,g,h=0;g=D(e);h++){var t=a.A?f-h:h+1;g=d.a(new ma(g,t,f));if("number"==typeof g)t=t==g;else if("string"==typeof g||"boolean"==typeof g)t=!!g;else if(g instanceof A)t=0<g.m;else throw Error("Predicate.evaluate returned an unexpected type.");if(!t){t=e;g=t.f;var v=t.a;if(!v)throw Error("Next must be called at least once before remove.");var m=v.b;v=v.a;m?m.a=v:g.a=v;v?v.b=m:g.b=m;g.m--;t.a=null}}return b}
58
- Eb.prototype.toString=function(){return ra(this.a,function(a,b){return a+G(b)},"Predicates:")};function L(a,b,c,d){F.call(this,4);this.c=a;this.v=b;this.h=c||new Eb([]);this.G=!!d;b=this.h;b=0<b.a.length?b.a[0].f:null;a.ca&&b&&(this.f={name:b.name,B:b.B});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}k(L,F);
58
+ Eb.prototype.toString=function(){return ra(this.a,function(a,b){return a+G(b)},"Predicates:")};function L(a,b,c,d){E.call(this,4);this.c=a;this.v=b;this.h=c||new Eb([]);this.G=!!d;b=this.h;b=0<b.a.length?b.a[0].f:null;a.ca&&b&&(this.f={name:b.name,B:b.B});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}k(L,E);
59
59
  L.prototype.a=function(a){var b=a.a,c=this.f,d=null,e=null,f=0;c&&(d=c.name,e=c.B?I(c.B,a):null,f=1);if(this.G)if(this.g||this.c!=Fb)if(b=C((new L(Gb,new B("node"))).a(a)),c=D(b))for(a=this.s(c,d,e,f);null!=(c=D(b));)a=ab(a,this.s(c,d,e,f));else a=new A;else a=Xa(this.v,b,d,e),a=pb(this.h,a,f);else a=this.s(a.a,d,e,f);return a};L.prototype.s=function(a,b,c,d){a=this.c.D(this.v,a,b,c);return a=pb(this.h,a,d)};
60
60
  L.prototype.toString=function(){var a="Step:"+G("Operator: "+(this.G?"//":"/"));this.c.l&&(a+=G("Axis: "+this.c));a+=G(this.v);if(this.h.a.length){var b=ra(this.h.a,function(c,d){return c+G(d)},"Predicates:");a+=G(b)}return a};function Hb(a,b,c,d){this.l=a;this.D=b;this.A=c;this.ca=d}Hb.prototype.toString=function(){return this.l};var Ib={};function M(a,b,c,d){if(Ib.hasOwnProperty(a))throw Error("Axis already created: "+a);b=new Hb(a,b,c,!!d);return Ib[a]=b}
61
61
  M("ancestor",function(a,b){for(var c=new A;b=b.parentNode;)a.a(b)&&bb(c,b);return c},!0);M("ancestor-or-self",function(a,b){var c=new A;do a.a(b)&&bb(c,b);while(b=b.parentNode);return c},!0);
62
62
  var yb=M("attribute",function(a,b){var c=new A,d=a.f();if(b=b.attributes)if(a instanceof B&&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),Fb=M("child",function(a,b,c,d,e){c=ca(c)?c:null;d=ca(d)?d:null;e=e||new A;for(b=b.firstChild;b;b=b.nextSibling)Wa(b,c,d)&&a.a(b)&&e.add(b);return e},!1,!0);M("descendant",Xa,!1,!0);
63
63
  var Gb=M("descendant-or-self",function(a,b,c,d){var e=new A;Wa(b,c,d)&&a.a(b)&&e.add(b);return Xa(a,b,c,d,e)},!1,!0),Cb=M("following",function(a,b,c,d){var e=new A;do for(var f=b;f=f.nextSibling;)Wa(f,c,d)&&a.a(f)&&e.add(f),e=Xa(a,f,c,d,e);while(b=b.parentNode);return e},!1,!0);M("following-sibling",function(a,b){for(var c=new A;b=b.nextSibling;)a.a(b)&&c.add(b);return c},!1);M("namespace",function(){return new A},!1);
64
64
  var Jb=M("parent",function(a,b){var c=new A;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),Db=M("preceding",function(a,b,c,d){var e=new A,f=[];do f.unshift(b);while(b=b.parentNode);for(var g=1,h=f.length;g<h;g++){var t=[];for(b=f[g];b=b.previousSibling;)t.unshift(b);for(var v=0,m=t.length;v<m;v++)b=t[v],Wa(b,c,d)&&a.a(b)&&e.add(b),e=Xa(a,b,c,d,e)}return e},!0,!0);
65
- M("preceding-sibling",function(a,b){for(var c=new A;b=b.previousSibling;)a.a(b)&&bb(c,b);return c},!0);var Kb=M("self",function(a,b){var c=new A;a.a(b)&&c.add(b);return c},!1);function Lb(a){F.call(this,1);this.c=a;this.g=a.g;this.b=a.b}k(Lb,F);Lb.prototype.a=function(a){return-H(this.c,a)};Lb.prototype.toString=function(){return"Unary Expression: -"+G(this.c)};function Mb(a){F.call(this,4);this.c=a;fb(this,sa(this.c,function(b){return b.g}));gb(this,sa(this.c,function(b){return b.b}))}k(Mb,F);Mb.prototype.a=function(a){var b=new A;n(this.c,function(c){c=c.a(a);if(!(c instanceof A))throw Error("Path expression must evaluate to NodeSet.");b=ab(b,c)});return b};Mb.prototype.toString=function(){return ra(this.c,function(a,b){return a+G(b)},"Union Expression:")};function Nb(a,b){this.a=a;this.b=b}function Ob(a){for(var b,c=[];;){N(a,"Missing right hand side of binary expression.");b=Pb(a);var d=r(a.a);if(!d)break;var e=(d=nb[d]||null)&&d.M;if(!e){a.a.a--;break}for(;c.length&&e<=c[c.length-1].M;)b=new ib(c.pop(),c.pop(),b);c.push(b,d)}for(;c.length;)b=new ib(c.pop(),c.pop(),b);return b}function N(a,b){if(Ma(a.a))throw Error(b);}function Qb(a,b){a=r(a.a);if(a!=b)throw Error("Bad token, expected: "+b+" got: "+a);}
65
+ M("preceding-sibling",function(a,b){for(var c=new A;b=b.previousSibling;)a.a(b)&&bb(c,b);return c},!0);var Kb=M("self",function(a,b){var c=new A;a.a(b)&&c.add(b);return c},!1);function Lb(a){E.call(this,1);this.c=a;this.g=a.g;this.b=a.b}k(Lb,E);Lb.prototype.a=function(a){return-H(this.c,a)};Lb.prototype.toString=function(){return"Unary Expression: -"+G(this.c)};function Mb(a){E.call(this,4);this.c=a;fb(this,sa(this.c,function(b){return b.g}));gb(this,sa(this.c,function(b){return b.b}))}k(Mb,E);Mb.prototype.a=function(a){var b=new A;n(this.c,function(c){c=c.a(a);if(!(c instanceof A))throw Error("Path expression must evaluate to NodeSet.");b=ab(b,c)});return b};Mb.prototype.toString=function(){return ra(this.c,function(a,b){return a+G(b)},"Union Expression:")};function Nb(a,b){this.a=a;this.b=b}function Ob(a){for(var b,c=[];;){N(a,"Missing right hand side of binary expression.");b=Pb(a);var d=r(a.a);if(!d)break;var e=(d=nb[d]||null)&&d.M;if(!e){a.a.a--;break}for(;c.length&&e<=c[c.length-1].M;)b=new ib(c.pop(),c.pop(),b);c.push(b,d)}for(;c.length;)b=new ib(c.pop(),c.pop(),b);return b}function N(a,b){if(Ma(a.a))throw Error(b);}function Qb(a,b){a=r(a.a);if(a!=b)throw Error("Bad token, expected: "+b+" got: "+a);}
66
66
  function Rb(a){a=r(a.a);if(")"!=a)throw Error("Bad token: "+a);}function Sb(a){a=r(a.a);if(2>a.length)throw Error("Unclosed literal string");return new ub(a)}
67
67
  function Tb(a){var b=[];if(Bb(q(a.a))){var c=r(a.a);var d=q(a.a);if("/"==c&&(Ma(a.a)||"."!=d&&".."!=d&&"@"!=d&&"*"!=d&&!/(?![0-9])[\w]/.test(d)))return new zb;d=new zb;N(a,"Missing next location step.");c=Ub(a,c);b.push(c)}else{a:{c=q(a.a);d=c.charAt(0);switch(d){case "$":throw Error("Variable reference not allowed in HTML XPath");case "(":r(a.a);c=Ob(a);N(a,'unclosed "("');Qb(a,")");break;case '"':case "'":c=Sb(a);break;default:if(isNaN(+c))if(!tb(c)&&/(?![0-9])[\w]/.test(d)&&"("==q(a.a,1)){c=r(a.a);
68
68
  c=sb[c]||null;r(a.a);for(d=[];")"!=q(a.a);){N(a,"Missing function argument list.");d.push(Ob(a));if(","!=q(a.a))break;r(a.a)}N(a,"Unclosed function argument list.");Rb(a);c=new qb(c,d)}else{c=null;break a}else c=new wb(+r(a.a))}"["==q(a.a)&&(d=new Eb(Vb(a)),c=new ob(c,d))}if(c)if(Bb(q(a.a)))d=c;else return c;else c=Ub(a,"/"),d=new Ab,b.push(c)}for(;Bb(q(a.a));)c=r(a.a),N(a,"Missing next location step."),c=Ub(a,c),b.push(c);return new xb(d,b)}
@@ -80,35 +80,36 @@ ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",green:"#0
80
80
  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",
81
81
  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",
82
82
  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 pc="backgroundColor borderTopColor borderRightColor borderBottomColor borderLeftColor color outlineColor".split(" "),qc=/#([0-9a-fA-F])([0-9a-fA-F])([0-9a-fA-F])/,rc=/^#(?:[0-9a-f]{3}){1,2}$/i,sc=/^(?:rgba)?\((\d{1,3}),\s?(\d{1,3}),\s?(\d{1,3}),\s?(0|1|0\.\d*)\)$/i,tc=/^(?:rgb)?\((0|[1-9]\d{0,2}),\s?(0|[1-9]\d{0,2}),\s?(0|[1-9]\d{0,2})\)$/i;function uc(a,b){b=b.toLowerCase();return"style"==b?vc(a.style.cssText):(a=a.getAttributeNode(b))&&a.specified?a.value:null}var wc=/[;]+(?=(?:(?:[^"]*"){2})*[^"]*$)(?=(?:(?:[^']*'){2})*[^']*$)(?=(?:[^()]*\([^()]*\))*[^()]*$)/;function vc(a){var b=[];n(a.split(wc),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+";"}
83
- function S(a,b){b&&"string"!==typeof b&&(b=b.toString());return!!a&&1==a.nodeType&&(!b||a.tagName.toUpperCase()==b)};var T={};T.I=function(){var a={da:"http://www.w3.org/2000/svg"};return function(b){return a[b]||null}}();
84
- T.s=function(a,b,c){var d=w(a);if(!d.documentElement)return null;jc&&cc(d?d.parentWindow||d.defaultView:window);try{for(var e=d.createNSResolver?d.createNSResolver(d.documentElement):T.I,f={},g=d.getElementsByTagName("*"),h=0;h<g.length;++h){var t=g[h],v=t.namespaceURI;if(v&&!f[v]){var m=t.lookupPrefix(v);if(!m){var E=v.match(".*/(\\w+)/?$");m=E?E[1]:"xhtml"}f[v]=m}}var Q={},aa;for(aa in f)Q[f[aa]]=aa;e=function(l){return Q[l]||null};try{return d.evaluate(b,a,e,c,null)}catch(l){if("TypeError"===l.name)return e=
85
- d.createNSResolver?d.createNSResolver(d.documentElement):T.I,d.evaluate(b,a,e,c,null);throw l;}}catch(l){throw new P(32,"Unable to locate an element with the xpath expression "+b+" because of the following error:\n"+l);}};T.J=function(a,b){if(!a||1!=a.nodeType)throw new P(32,'The result of the xpath expression "'+b+'" is: '+a+". It should be an element.");};
86
- T.o=function(a,b){var c=function(){var d=T.s(b,a,9);return d?d.singleNodeValue||null:b.selectSingleNode?(d=w(b),d.setProperty&&d.setProperty("SelectionLanguage","XPath"),b.selectSingleNode(a)):null}();null===c||T.J(c,a);return c};
87
- T.j=function(a,b){var c=function(){var d=T.s(b,a,7);if(d){for(var e=d.snapshotLength,f=[],g=0;g<e;++g)f.push(d.snapshotItem(g));return f}return b.selectNodes?(d=w(b),d.setProperty&&d.setProperty("SelectionLanguage","XPath"),b.selectNodes(a)):[]}();n(c,function(d){T.J(d,a)});return c};function xc(a,b,c,d){this.c=a;this.a=b;this.b=c;this.f=d}xc.prototype.ceil=function(){this.c=Math.ceil(this.c);this.a=Math.ceil(this.a);this.b=Math.ceil(this.b);this.f=Math.ceil(this.f);return this};xc.prototype.floor=function(){this.c=Math.floor(this.c);this.a=Math.floor(this.a);this.b=Math.floor(this.b);this.f=Math.floor(this.f);return this};xc.prototype.round=function(){this.c=Math.round(this.c);this.a=Math.round(this.a);this.b=Math.round(this.b);this.f=Math.round(this.f);return this};function U(a,b,c,d){this.a=a;this.b=b;this.width=c;this.height=d}U.prototype.ceil=function(){this.a=Math.ceil(this.a);this.b=Math.ceil(this.b);this.width=Math.ceil(this.width);this.height=Math.ceil(this.height);return this};U.prototype.floor=function(){this.a=Math.floor(this.a);this.b=Math.floor(this.b);this.width=Math.floor(this.width);this.height=Math.floor(this.height);return this};
88
- U.prototype.round=function(){this.a=Math.round(this.a);this.b=Math.round(this.b);this.width=Math.round(this.width);this.height=Math.round(this.height);return this};var yc="function"===typeof ShadowRoot;function zc(a){for(a=a.parentNode;a&&1!=a.nodeType&&9!=a.nodeType&&11!=a.nodeType;)a=a.parentNode;return S(a)?a:null}
89
- function V(a,b){b=Ga(b);if("float"==b||"cssFloat"==b||"styleFloat"==b)b="cssFloat";a:{var c=b;var d=w(a);if(d.defaultView&&d.defaultView.getComputedStyle&&(d=d.defaultView.getComputedStyle(a,null))){c=d[c]||d.getPropertyValue(c)||"";break a}c=""}a=c||Ac(a,b);if(null===a)a=null;else if(0<=oa(pc,b)){b:{var e=a.match(sc);if(e&&(b=Number(e[1]),c=Number(e[2]),d=Number(e[3]),e=Number(e[4]),0<=b&&255>=b&&0<=c&&255>=c&&0<=d&&255>=d&&0<=e&&1>=e)){b=[b,c,d,e];break b}b=null}if(!b)b:{if(d=a.match(tc))if(b=Number(d[1]),
83
+ function S(a,b){b&&"string"!==typeof b&&(b=b.toString());return!!a&&1==a.nodeType&&(!b||a.tagName.toUpperCase()==b)};function xc(a,b,c,d){this.c=a;this.a=b;this.b=c;this.f=d}xc.prototype.ceil=function(){this.c=Math.ceil(this.c);this.a=Math.ceil(this.a);this.b=Math.ceil(this.b);this.f=Math.ceil(this.f);return this};xc.prototype.floor=function(){this.c=Math.floor(this.c);this.a=Math.floor(this.a);this.b=Math.floor(this.b);this.f=Math.floor(this.f);return this};xc.prototype.round=function(){this.c=Math.round(this.c);this.a=Math.round(this.a);this.b=Math.round(this.b);this.f=Math.round(this.f);return this};function T(a,b,c,d){this.a=a;this.b=b;this.width=c;this.height=d}T.prototype.ceil=function(){this.a=Math.ceil(this.a);this.b=Math.ceil(this.b);this.width=Math.ceil(this.width);this.height=Math.ceil(this.height);return this};T.prototype.floor=function(){this.a=Math.floor(this.a);this.b=Math.floor(this.b);this.width=Math.floor(this.width);this.height=Math.floor(this.height);return this};
84
+ T.prototype.round=function(){this.a=Math.round(this.a);this.b=Math.round(this.b);this.width=Math.round(this.width);this.height=Math.round(this.height);return this};var yc="function"===typeof ShadowRoot;function zc(a){for(a=a.parentNode;a&&1!=a.nodeType&&9!=a.nodeType&&11!=a.nodeType;)a=a.parentNode;return S(a)?a:null}
85
+ function U(a,b){b=Ga(b);if("float"==b||"cssFloat"==b||"styleFloat"==b)b="cssFloat";a:{var c=b;var d=w(a);if(d.defaultView&&d.defaultView.getComputedStyle&&(d=d.defaultView.getComputedStyle(a,null))){c=d[c]||d.getPropertyValue(c)||"";break a}c=""}a=c||Ac(a,b);if(null===a)a=null;else if(0<=oa(pc,b)){b:{var e=a.match(sc);if(e&&(b=Number(e[1]),c=Number(e[2]),d=Number(e[3]),e=Number(e[4]),0<=b&&255>=b&&0<=c&&255>=c&&0<=d&&255>=d&&0<=e&&1>=e)){b=[b,c,d,e];break b}b=null}if(!b)b:{if(d=a.match(tc))if(b=Number(d[1]),
90
86
  c=Number(d[2]),d=Number(d[3]),0<=b&&255>=b&&0<=c&&255>=c&&0<=d&&255>=d){b=[b,c,d,1];break b}b=null}if(!b)b:{b=a.toLowerCase();c=oc[b.toLowerCase()];if(!c&&(c="#"==b.charAt(0)?b:"#"+b,4==c.length&&(c=c.replace(qc,"#$1$1$2$2$3$3")),!rc.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}
91
87
  function Ac(a,b){var c=a.currentStyle||a.style,d=c[b];void 0===d&&fa(c.getPropertyValue)&&(d=c.getPropertyValue(b));return"inherit"!=d?void 0!==d?d:null:(a=zc(a))?Ac(a,b):null}
92
- function Bc(a,b,c){function d(g){var h=W(g);return 0<h.height&&0<h.width?!0:S(g,"PATH")&&(0<h.height||0<h.width)?(g=V(g,"stroke-width"),!!g&&0<parseInt(g,10)):"hidden"!=V(g,"overflow")&&sa(g.childNodes,function(t){return 3==t.nodeType||S(t)&&d(t)})}function e(g){return Cc(g)==X&&ta(g.childNodes,function(h){return!S(h)||e(h)||!d(h)})}if(!S(a))throw Error("Argument to isShown must be of type Element");if(S(a,"BODY"))return!0;if(S(a,"OPTION")||S(a,"OPTGROUP"))return a=Va(a,function(g){return S(g,"SELECT")}),
93
- !!a&&Bc(a,!0,c);var f=Dc(a);if(f)return!!f.image&&0<f.rect.width&&0<f.rect.height&&Bc(f.image,b,c);if(S(a,"INPUT")&&"hidden"==a.type.toLowerCase()||S(a,"NOSCRIPT"))return!1;f=V(a,"visibility");return"collapse"!=f&&"hidden"!=f&&c(a)&&(b||0!=Ec(a))&&d(a)?!e(a):!1}
94
- function Fc(a){function b(c){if(S(c)&&"none"==V(c,"display"))return!1;var d;if((d=c.parentNode)&&d.shadowRoot&&void 0!==c.assignedSlot)d=c.assignedSlot?c.assignedSlot.parentNode:null;else if(c.getDestinationInsertionPoints){var e=c.getDestinationInsertionPoints();0<e.length&&(d=e[e.length-1])}if(yc&&d instanceof ShadowRoot){if(d.host.shadowRoot!==d)return!1;d=d.host}return!d||9!=d.nodeType&&11!=d.nodeType?d&&S(d,"DETAILS")&&!d.open&&!S(c,"SUMMARY")?!1:!!d&&b(d):!0}return Bc(a,!1,b)}var X="hidden";
95
- function Cc(a){function b(l){function x(mb){if(mb==g)return!0;var Wb=V(mb,"display");return 0==Wb.lastIndexOf("inline",0)||"contents"==Wb||"absolute"==Xb&&"static"==V(mb,"position")?!1:!0}var Xb=V(l,"position");if("fixed"==Xb)return v=!0,l==g?null:g;for(l=zc(l);l&&!x(l);)l=zc(l);return l}function c(l){var x=l;if("visible"==t)if(l==g&&h)x=h;else if(l==h)return{x:"visible",y:"visible"};x={x:V(x,"overflow-x"),y:V(x,"overflow-y")};l==g&&(x.x="visible"==x.x?"auto":x.x,x.y="visible"==x.y?"auto":x.y);return x}
96
- function d(l){if(l==g){var x=(new Pa(f)).a;l=x.scrollingElement?x.scrollingElement:x.body||x.documentElement;x=x.parentWindow||x.defaultView;l=new Na(x.pageXOffset||l.scrollLeft,x.pageYOffset||l.scrollTop)}else l=new Na(l.scrollLeft,l.scrollTop);return l}var e=Gc(a),f=w(a),g=f.documentElement,h=f.body,t=V(g,"overflow"),v;for(a=b(a);a;a=b(a)){var m=c(a);if("visible"!=m.x||"visible"!=m.y){var E=W(a);if(0==E.width||0==E.height)return X;var Q=e.a<E.a,aa=e.b<E.b;if(Q&&"hidden"==m.x||aa&&"hidden"==m.y)return X;
97
- if(Q&&"visible"!=m.x||aa&&"visible"!=m.y){Q=d(a);aa=e.b<E.b-Q.y;if(e.a<E.a-Q.x&&"visible"!=m.x||aa&&"visible"!=m.x)return X;e=Cc(a);return e==X?X:"scroll"}Q=e.f>=E.a+E.width;E=e.c>=E.b+E.height;if(Q&&"hidden"==m.x||E&&"hidden"==m.y)return X;if(Q&&"visible"!=m.x||E&&"visible"!=m.y){if(v&&(m=d(a),e.f>=g.scrollWidth-m.x||e.a>=g.scrollHeight-m.y))return X;e=Cc(a);return e==X?X:"scroll"}}}return"none"}
98
- function W(a){var b=Dc(a);if(b)return b.rect;if(S(a,"HTML"))return a=w(a),a=((a?a.parentWindow||a.defaultView:window)||window).document,a="CSS1Compat"==a.compatMode?a.documentElement:a.body,a=new Oa(a.clientWidth,a.clientHeight),new U(0,0,a.width,a.height);try{var c=a.getBoundingClientRect()}catch(d){return new U(0,0,0,0)}return new U(c.left,c.top,c.right-c.left,c.bottom-c.top)}
99
- function Dc(a){var b=S(a,"MAP");if(!b&&!S(a,"AREA"))return null;var c=b?a:S(a.parentNode,"MAP")?a.parentNode:null,d=null,e=null;c&&c.name&&(d=T.o('/descendant::*[@usemap = "#'+c.name+'"]',w(c)))&&(e=W(d),b||"default"==a.shape.toLowerCase()||(a=Hc(a),b=Math.min(Math.max(a.a,0),e.width),c=Math.min(Math.max(a.b,0),e.height),e=new U(b+e.a,c+e.b,Math.min(a.width,e.width-b),Math.min(a.height,e.height-c))));return{image:d,rect:e||new U(0,0,0,0)}}
100
- function Hc(a){var b=a.shape.toLowerCase();a=a.coords.split(",");if("rect"==b&&4==a.length){b=a[0];var c=a[1];return new U(b,c,a[2]-b,a[3]-c)}if("circle"==b&&3==a.length)return b=a[2],new U(a[0]-b,a[1]-b,2*b,2*b);if("poly"==b&&2<a.length){b=a[0];c=a[1];for(var d=b,e=c,f=2;f+1<a.length;f+=2)b=Math.min(b,a[f]),d=Math.max(d,a[f]),c=Math.min(c,a[f+1]),e=Math.max(e,a[f+1]);return new U(b,c,d-b,e-c)}return new U(0,0,0,0)}function Gc(a){a=W(a);return new xc(a.b,a.a+a.width,a.b+a.height,a.a)}
88
+ function Bc(a,b,c){function d(g){var h=V(g);return 0<h.height&&0<h.width?!0:S(g,"PATH")&&(0<h.height||0<h.width)?(g=U(g,"stroke-width"),!!g&&0<parseInt(g,10)):"hidden"!=U(g,"overflow")&&sa(g.childNodes,function(t){return 3==t.nodeType||S(t)&&d(t)})}function e(g){return Cc(g)==W&&ta(g.childNodes,function(h){return!S(h)||e(h)||!d(h)})}if(!S(a))throw Error("Argument to isShown must be of type Element");if(S(a,"BODY"))return!0;if(S(a,"OPTION")||S(a,"OPTGROUP"))return a=Va(a,function(g){return S(g,"SELECT")}),
89
+ !!a&&Bc(a,!0,c);var f=Dc(a);if(f)return!!f.image&&0<f.rect.width&&0<f.rect.height&&Bc(f.image,b,c);if(S(a,"INPUT")&&"hidden"==a.type.toLowerCase()||S(a,"NOSCRIPT"))return!1;f=U(a,"visibility");return"collapse"!=f&&"hidden"!=f&&c(a)&&(b||0!=Ec(a))&&d(a)?!e(a):!1}
90
+ function Fc(a){function b(c){if(S(c)&&"none"==U(c,"display"))return!1;var d;if((d=c.parentNode)&&d.shadowRoot&&void 0!==c.assignedSlot)d=c.assignedSlot?c.assignedSlot.parentNode:null;else if(c.getDestinationInsertionPoints){var e=c.getDestinationInsertionPoints();0<e.length&&(d=e[e.length-1])}if(yc&&d instanceof ShadowRoot){if(d.host.shadowRoot&&d.host.shadowRoot!==d)return!1;d=d.host}return!d||9!=d.nodeType&&11!=d.nodeType?d&&S(d,"DETAILS")&&!d.open&&!S(c,"SUMMARY")?!1:!!d&&b(d):!0}return Bc(a,!1,
91
+ b)}var W="hidden";
92
+ function Cc(a){function b(l){function x(mb){if(mb==g)return!0;var Wb=U(mb,"display");return 0==Wb.lastIndexOf("inline",0)||"contents"==Wb||"absolute"==Xb&&"static"==U(mb,"position")?!1:!0}var Xb=U(l,"position");if("fixed"==Xb)return v=!0,l==g?null:g;for(l=zc(l);l&&!x(l);)l=zc(l);return l}function c(l){var x=l;if("visible"==t)if(l==g&&h)x=h;else if(l==h)return{x:"visible",y:"visible"};x={x:U(x,"overflow-x"),y:U(x,"overflow-y")};l==g&&(x.x="visible"==x.x?"auto":x.x,x.y="visible"==x.y?"auto":x.y);return x}
93
+ function d(l){if(l==g){var x=(new Pa(f)).a;l=x.scrollingElement?x.scrollingElement:x.body||x.documentElement;x=x.parentWindow||x.defaultView;l=new Na(x.pageXOffset||l.scrollLeft,x.pageYOffset||l.scrollTop)}else l=new Na(l.scrollLeft,l.scrollTop);return l}var e=Gc(a),f=w(a),g=f.documentElement,h=f.body,t=U(g,"overflow"),v;for(a=b(a);a;a=b(a)){var m=c(a);if("visible"!=m.x||"visible"!=m.y){var F=V(a);if(0==F.width||0==F.height)return W;var Q=e.a<F.a,aa=e.b<F.b;if(Q&&"hidden"==m.x||aa&&"hidden"==m.y)return W;
94
+ if(Q&&"visible"!=m.x||aa&&"visible"!=m.y){Q=d(a);aa=e.b<F.b-Q.y;if(e.a<F.a-Q.x&&"visible"!=m.x||aa&&"visible"!=m.x)return W;e=Cc(a);return e==W?W:"scroll"}Q=e.f>=F.a+F.width;F=e.c>=F.b+F.height;if(Q&&"hidden"==m.x||F&&"hidden"==m.y)return W;if(Q&&"visible"!=m.x||F&&"visible"!=m.y){if(v&&(m=d(a),e.f>=g.scrollWidth-m.x||e.a>=g.scrollHeight-m.y))return W;e=Cc(a);return e==W?W:"scroll"}}}return"none"}
95
+ function V(a){var b=Dc(a);if(b)return b.rect;if(S(a,"HTML"))return a=w(a),a=((a?a.parentWindow||a.defaultView:window)||window).document,a="CSS1Compat"==a.compatMode?a.documentElement:a.body,a=new Oa(a.clientWidth,a.clientHeight),new T(0,0,a.width,a.height);try{var c=a.getBoundingClientRect()}catch(d){return new T(0,0,0,0)}return new T(c.left,c.top,c.right-c.left,c.bottom-c.top)}
96
+ function Dc(a){var b=S(a,"MAP");if(!b&&!S(a,"AREA"))return null;var c=b?a:S(a.parentNode,"MAP")?a.parentNode:null,d=null,e=null;c&&c.name&&(d=nc.o('*[usemap="#'+c.name+'"]',w(c)))&&(e=V(d),b||"default"==a.shape.toLowerCase()||(a=Hc(a),b=Math.min(Math.max(a.a,0),e.width),c=Math.min(Math.max(a.b,0),e.height),e=new T(b+e.a,c+e.b,Math.min(a.width,e.width-b),Math.min(a.height,e.height-c))));return{image:d,rect:e||new T(0,0,0,0)}}
97
+ function Hc(a){var b=a.shape.toLowerCase();a=a.coords.split(",");if("rect"==b&&4==a.length){b=a[0];var c=a[1];return new T(b,c,a[2]-b,a[3]-c)}if("circle"==b&&3==a.length)return b=a[2],new T(a[0]-b,a[1]-b,2*b,2*b);if("poly"==b&&2<a.length){b=a[0];c=a[1];for(var d=b,e=c,f=2;f+1<a.length;f+=2)b=Math.min(b,a[f]),d=Math.max(d,a[f]),c=Math.min(c,a[f+1]),e=Math.max(e,a[f+1]);return new T(b,c,d-b,e-c)}return new T(0,0,0,0)}function Gc(a){a=V(a);return new xc(a.b,a.a+a.width,a.b+a.height,a.a)}
101
98
  function Ic(a){return a.replace(/^[^\S\xa0]+|[^\S\xa0]+$/g,"")}function Jc(a){var b=[];yc?Kc(a,b):Lc(a,b);a=qa(b,Ic);return Ic(a.join("\n")).replace(/\xa0/g," ")}
102
- function Mc(a,b,c){if(S(a,"BR"))b.push("");else{var d=S(a,"TD"),e=V(a,"display"),f=!d&&!(0<=oa(Nc,e)),g=void 0!==a.previousElementSibling?a.previousElementSibling:Qa(a.previousSibling);g=g?V(g,"display"):"";var h=V(a,"float")||V(a,"cssFloat")||V(a,"styleFloat");!f||"run-in"==g&&"none"==h||/^[\s\xa0]*$/.test(b[b.length-1]||"")||b.push("");var t=Fc(a),v=null,m=null;t&&(v=V(a,"white-space"),m=V(a,"text-transform"));n(a.childNodes,function(E){c(E,b,t,v,m)});a=b[b.length-1]||"";!d&&"table-cell"!=e||!a||
99
+ function Mc(a,b,c){if(S(a,"BR"))b.push("");else{var d=S(a,"TD"),e=U(a,"display"),f=!d&&!(0<=oa(Nc,e)),g=void 0!==a.previousElementSibling?a.previousElementSibling:Qa(a.previousSibling);g=g?U(g,"display"):"";var h=U(a,"float")||U(a,"cssFloat")||U(a,"styleFloat");!f||"run-in"==g&&"none"==h||/^[\s\xa0]*$/.test(b[b.length-1]||"")||b.push("");var t=Fc(a),v=null,m=null;t&&(v=U(a,"white-space"),m=U(a,"text-transform"));n(a.childNodes,function(F){c(F,b,t,v,m)});a=b[b.length-1]||"";!d&&"table-cell"!=e||!a||
103
100
  za(a)||(b[b.length-1]+=" ");f&&"run-in"!=e&&!/^[\s\xa0]*$/.test(a)&&b.push("")}}function Lc(a,b){Mc(a,b,function(c,d,e,f,g){3==c.nodeType&&e?Oc(c,d,f,g):S(c)&&Lc(c,d)})}var Nc="inline inline-block inline-table none table-cell table-column table-column-group".split(" ");
104
101
  function Oc(a,b,c,d){a=a.nodeValue.replace(/[\u200b\u200e\u200f]/g,"");a=a.replace(/(\r\n|\r|\n)/g,"\n");if("normal"==c||"nowrap"==c)a=a.replace(/\n/g," ");a="pre"==c||"pre-wrap"==c?a.replace(/[ \f\t\v\u2028\u2029]/g,"\u00a0"):a.replace(/[ \f\t\v\u2028\u2029]+/g," ");"capitalize"==d?a=a.replace(/(^|[^\d\p{L}\p{S}])([\p{Ll}|\p{S}])/gu,function(e,f,g){return f+g.toUpperCase()}):"uppercase"==d?a=a.toUpperCase():"lowercase"==d&&(a=a.toLowerCase());c=b.pop()||"";za(c)&&0==a.lastIndexOf(" ",0)&&(a=a.substr(1));
105
- b.push(c+a)}function Ec(a){var b=1,c=V(a,"opacity");c&&(b=Number(c));(a=zc(a))&&(b*=Ec(a));return b}
106
- function Pc(a,b,c,d,e){if(3==a.nodeType&&c)Oc(a,b,d,e);else if(S(a))if(S(a,"CONTENT")||S(a,"SLOT")){for(var f=a;f.parentNode;)f=f.parentNode;f instanceof ShadowRoot?(a=S(a,"CONTENT")?a.getDistributedNodes():a.assignedNodes(),n(a,function(g){Pc(g,b,c,d,e)})):Kc(a,b)}else if(S(a,"SHADOW")){for(f=a;f.parentNode;)f=f.parentNode;if(f instanceof ShadowRoot&&(a=f))for(a=a.olderShadowRoot;a;)n(a.childNodes,function(g){Pc(g,b,c,d,e)}),a=a.olderShadowRoot}else Kc(a,b)}
102
+ b.push(c+a)}function Ec(a){var b=1,c=U(a,"opacity");c&&(b=Number(c));(a=zc(a))&&(b*=Ec(a));return b}
103
+ function Pc(a,b,c,d,e){if(3==a.nodeType&&c)Oc(a,b,d,e);else if(S(a))if(S(a,"CONTENT")||S(a,"SLOT")){for(var f=a;f.parentNode;)f=f.parentNode;f instanceof ShadowRoot?(f=S(a,"CONTENT")?a.getDistributedNodes():a.assignedNodes(),n(0<f.length?f:a.childNodes,function(g){Pc(g,b,c,d,e)})):Kc(a,b)}else if(S(a,"SHADOW")){for(f=a;f.parentNode;)f=f.parentNode;if(f instanceof ShadowRoot&&(a=f))for(a=a.olderShadowRoot;a;)n(a.childNodes,function(g){Pc(g,b,c,d,e)}),a=a.olderShadowRoot}else Kc(a,b)}
107
104
  function Kc(a,b){a.shadowRoot&&n(a.shadowRoot.childNodes,function(c){Pc(c,b,!0,null,null)});Mc(a,b,function(c,d,e,f,g){var h=null;1==c.nodeType?h=c:3==c.nodeType&&(h=c);null!=h&&(null!=h.assignedSlot||h.getDestinationInsertionPoints&&0<h.getDestinationInsertionPoints().length)||Pc(c,d,e,f,g)})};var Qc={C:function(a,b){return!(!a.querySelectorAll||!a.querySelector)&&!/^\d.*/.test(b)},o:function(a,b){var c=u(b),d="string"===typeof a?c.a.getElementById(a):a;return d?uc(d,"id")==a&&b!=d&&Ra(b,d)?d:ua(y(c,"*"),function(e){return uc(e,"id")==a&&b!=e&&Ra(b,e)}):null},j:function(a,b){if(!a)return[];if(Qc.C(b,a))try{return b.querySelectorAll("#"+Qc.T(a))}catch(c){return[]}b=y(u(b),"*",null,b);return pa(b,function(c){return uc(c,"id")==a})},T:function(a){return a.replace(/([\s'"\\#.:;,!?+<>=~*^$|%&@`{}\-\/\[\]\(\)])/g,
108
- "\\$1")}};var Y={},Rc={};Y.N=function(a,b,c){try{var d=nc.j("a",b)}catch(e){d=y(u(b),"A",null,b)}return ua(d,function(e){e=Jc(e);e=e.replace(/^[\s]+|[\s]+$/g,"");return c&&-1!=e.indexOf(a)||e==a})};Y.K=function(a,b,c){try{var d=nc.j("a",b)}catch(e){d=y(u(b),"A",null,b)}return pa(d,function(e){e=Jc(e);e=e.replace(/^[\s]+|[\s]+$/g,"");return c&&-1!=e.indexOf(a)||e==a})};Y.o=function(a,b){return Y.N(a,b,!1)};Y.j=function(a,b){return Y.K(a,b,!1)};Rc.o=function(a,b){return Y.N(a,b,!0)};
109
- Rc.j=function(a,b){return Y.K(a,b,!0)};var Z={F:function(a,b){return function(c){var d=Z.u(a);d=W(d);c=W(c);return b.call(null,d,c)}},R:function(a){return Z.F(a,function(b,c){return c.b+c.height<b.b})},S:function(a){return Z.F(a,function(b,c){return b.b+b.height<c.b})},V:function(a){return Z.F(a,function(b,c){return c.a+c.width<b.a})},aa:function(a){return Z.F(a,function(b,c){return b.a+b.width<c.a})},W:function(a,b){var c;b?c=b:"number"==typeof a.distance&&(c=a.distance);c||(c=50);return function(d){var e=Z.u(a);if(e===d)return!1;e=W(e);
110
- d=W(d);e=new U(e.a-c,e.b-c,e.width+2*c,e.height+2*c);return e.a<=d.a+d.width&&d.a<=e.a+e.width&&e.b<=d.b+d.height&&d.b<=e.b+e.height}},u:function(a){if(ha(a)&&1==a.nodeType)return a;if(fa(a))return Z.u(a.call(null));if(ha(a)){var b=Sc(a);if(!b)throw new P(7,"No element has been found by "+JSON.stringify(a));return b}throw new P(61,"Selector is of wrong type: "+JSON.stringify(a));}};Z.P={left:Z.V,right:Z.aa,above:Z.R,below:Z.S,near:Z.W};Z.O={left:Z.u,right:Z.u,above:Z.u,below:Z.u,near:Z.u};
111
- Z.U=function(a,b){var c=[];n(a,function(e){e&&ta(b,function(f){var g=f.kind,h=Z.P[g];if(!h)throw new P(61,"Cannot find filter suitable for "+g);return h.apply(null,f.args)(e)},null)&&c.push(e)},null);a=b[b.length-1];var d=Z.O[a?a.kind:"unknown"];return d?(a=d.apply(null,a.args))?Z.ba(a,c):c:c};
112
- Z.ba=function(a,b){function c(f){f=W(f);return Math.sqrt(Math.pow(d-(f.a+Math.max(1,f.width)/2),2)+Math.pow(e-(f.b+Math.max(1,f.height)/2),2))}a=W(a);var d=a.a+Math.max(1,a.width)/2,e=a.b+Math.max(1,a.height)/2;xa(b,function(f,g){return c(f)-c(g)});return b};Z.o=function(a,b){a=Z.j(a,b);return 0==a.length?null:a[0]};
113
- Z.j=function(a,b){if(!a.hasOwnProperty("root")||!a.hasOwnProperty("filters"))throw new P(61,"Locator not suitable for relative locators: "+JSON.stringify(a));var c=a.filters,d=ea(c);if("array"!=d&&("object"!=d||"number"!=typeof c.length))throw new P(61,"Targets should be an array: "+JSON.stringify(a));if(S(a.root))b=[a.root];else a:{c=a.root;if(d=Tc(c)){var e=Uc[d];if(e&&fa(e.j)){b=e.j(c[d],b||dc.document);break a}}throw new P(61,"Unsupported locator strategy: "+d);}return 0==b.length?[]:Z.U(b,a.filters)};var Vc={o:function(a,b){if(""===a)throw new P(32,'Unable to locate an element with the tagName ""');return b.getElementsByTagName(a)[0]||null},j:function(a,b){if(""===a)throw new P(32,'Unable to locate an element with the tagName ""');return b.getElementsByTagName(a)}};var Uc={className:fc,"class name":fc,css:nc,"css selector":nc,relative:Z,id:Qc,linkText:Y,"link text":Y,name:{o:function(a,b){b=y(u(b),"*",null,b);return ua(b,function(c){return uc(c,"name")==a})},j:function(a,b){b=y(u(b),"*",null,b);return pa(b,function(c){return uc(c,"name")==a})}},partialLinkText:Rc,"partial link text":Rc,tagName:Vc,"tag name":Vc,xpath:T};function Tc(a){for(var b in a)if(a.hasOwnProperty(b))return b;return null}
105
+ "\\$1")}};var X={},Rc={};X.N=function(a,b,c){try{var d=nc.j("a",b)}catch(e){d=y(u(b),"A",null,b)}return ua(d,function(e){e=Jc(e);e=e.replace(/^[\s]+|[\s]+$/g,"");return c&&-1!=e.indexOf(a)||e==a})};X.K=function(a,b,c){try{var d=nc.j("a",b)}catch(e){d=y(u(b),"A",null,b)}return pa(d,function(e){e=Jc(e);e=e.replace(/^[\s]+|[\s]+$/g,"");return c&&-1!=e.indexOf(a)||e==a})};X.o=function(a,b){return X.N(a,b,!1)};X.j=function(a,b){return X.K(a,b,!1)};Rc.o=function(a,b){return X.N(a,b,!0)};
106
+ Rc.j=function(a,b){return X.K(a,b,!0)};var Y={F:function(a,b){return function(c){var d=Y.u(a);d=V(d);c=V(c);return b.call(null,d,c)}},R:function(a){return Y.F(a,function(b,c){return c.b+c.height<b.b})},S:function(a){return Y.F(a,function(b,c){return b.b+b.height<c.b})},V:function(a){return Y.F(a,function(b,c){return c.a+c.width<b.a})},aa:function(a){return Y.F(a,function(b,c){return b.a+b.width<c.a})},W:function(a,b){var c;b?c=b:"number"==typeof a.distance&&(c=a.distance);c||(c=50);return function(d){var e=Y.u(a);if(e===d)return!1;e=V(e);
107
+ d=V(d);e=new T(e.a-c,e.b-c,e.width+2*c,e.height+2*c);return e.a<=d.a+d.width&&d.a<=e.a+e.width&&e.b<=d.b+d.height&&d.b<=e.b+e.height}},u:function(a){if(ha(a)&&1==a.nodeType)return a;if(fa(a))return Y.u(a.call(null));if(ha(a)){var b=Sc(a);if(!b)throw new P(7,"No element has been found by "+JSON.stringify(a));return b}throw new P(61,"Selector is of wrong type: "+JSON.stringify(a));}};Y.P={left:Y.V,right:Y.aa,above:Y.R,below:Y.S,near:Y.W};Y.O={left:Y.u,right:Y.u,above:Y.u,below:Y.u,near:Y.u};
108
+ Y.U=function(a,b){var c=[];n(a,function(e){e&&ta(b,function(f){var g=f.kind,h=Y.P[g];if(!h)throw new P(61,"Cannot find filter suitable for "+g);return h.apply(null,f.args)(e)},null)&&c.push(e)},null);a=b[b.length-1];var d=Y.O[a?a.kind:"unknown"];return d?(a=d.apply(null,a.args))?Y.ba(a,c):c:c};
109
+ Y.ba=function(a,b){function c(f){f=V(f);return Math.sqrt(Math.pow(d-(f.a+Math.max(1,f.width)/2),2)+Math.pow(e-(f.b+Math.max(1,f.height)/2),2))}a=V(a);var d=a.a+Math.max(1,a.width)/2,e=a.b+Math.max(1,a.height)/2;xa(b,function(f,g){return c(f)-c(g)});return b};Y.o=function(a,b){a=Y.j(a,b);return 0==a.length?null:a[0]};
110
+ Y.j=function(a,b){if(!a.hasOwnProperty("root")||!a.hasOwnProperty("filters"))throw new P(61,"Locator not suitable for relative locators: "+JSON.stringify(a));var c=a.filters,d=ea(c);if("array"!=d&&("object"!=d||"number"!=typeof c.length))throw new P(61,"Targets should be an array: "+JSON.stringify(a));if(S(a.root))b=[a.root];else a:{c=a.root;if(d=Tc(c)){var e=Uc[d];if(e&&fa(e.j)){b=e.j(c[d],b||dc.document);break a}}throw new P(61,"Unsupported locator strategy: "+d);}return 0==b.length?[]:Y.U(b,a.filters)};var Vc={o:function(a,b){if(""===a)throw new P(32,'Unable to locate an element with the tagName ""');return b.getElementsByTagName(a)[0]||null},j:function(a,b){if(""===a)throw new P(32,'Unable to locate an element with the tagName ""');return b.getElementsByTagName(a)}};var Z={};Z.I=function(){var a={da:"http://www.w3.org/2000/svg"};return function(b){return a[b]||null}}();
111
+ Z.s=function(a,b,c){var d=w(a);if(!d.documentElement)return null;jc&&cc(d?d.parentWindow||d.defaultView:window);try{for(var e=d.createNSResolver?d.createNSResolver(d.documentElement):Z.I,f={},g=d.getElementsByTagName("*"),h=0;h<g.length;++h){var t=g[h],v=t.namespaceURI;if(v&&!f[v]){var m=t.lookupPrefix(v);if(!m){var F=v.match(".*/(\\w+)/?$");m=F?F[1]:"xhtml"}f[v]=m}}var Q={},aa;for(aa in f)Q[f[aa]]=aa;e=function(l){return Q[l]||null};try{return d.evaluate(b,a,e,c,null)}catch(l){if("TypeError"===l.name)return e=
112
+ d.createNSResolver?d.createNSResolver(d.documentElement):Z.I,d.evaluate(b,a,e,c,null);throw l;}}catch(l){throw new P(32,"Unable to locate an element with the xpath expression "+b+" because of the following error:\n"+l);}};Z.J=function(a,b){if(!a||1!=a.nodeType)throw new P(32,'The result of the xpath expression "'+b+'" is: '+a+". It should be an element.");};
113
+ Z.o=function(a,b){var c=function(){var d=Z.s(b,a,9);return d?d.singleNodeValue||null:b.selectSingleNode?(d=w(b),d.setProperty&&d.setProperty("SelectionLanguage","XPath"),b.selectSingleNode(a)):null}();null===c||Z.J(c,a);return c};
114
+ Z.j=function(a,b){var c=function(){var d=Z.s(b,a,7);if(d){for(var e=d.snapshotLength,f=[],g=0;g<e;++g)f.push(d.snapshotItem(g));return f}return b.selectNodes?(d=w(b),d.setProperty&&d.setProperty("SelectionLanguage","XPath"),b.selectNodes(a)):[]}();n(c,function(d){Z.J(d,a)});return c};var Uc={className:fc,"class name":fc,css:nc,"css selector":nc,relative:Y,id:Qc,linkText:X,"link text":X,name:{o:function(a,b){b=y(u(b),"*",null,b);return ua(b,function(c){return uc(c,"name")==a})},j:function(a,b){b=y(u(b),"*",null,b);return pa(b,function(c){return uc(c,"name")==a})}},partialLinkText:Rc,"partial link text":Rc,tagName:Vc,"tag name":Vc,xpath:Z};function Tc(a){for(var b in a)if(a.hasOwnProperty(b))return b;return null}
114
115
  function Sc(a,b){var c=Tc(a);if(c){var d=Uc[c];if(d&&fa(d.o))return d.o(a[c],b||dc.document)}throw new P(61,"Unsupported locator strategy: "+c);};da("_",Sc);; return this._.apply(null,arguments);}).apply(window, arguments);}
@@ -82,35 +82,36 @@ ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",green:"#0
82
82
  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",
83
83
  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",
84
84
  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 zc="backgroundColor borderTopColor borderRightColor borderBottomColor borderLeftColor color outlineColor".split(" "),Ac=/#([0-9a-fA-F])([0-9a-fA-F])([0-9a-fA-F])/,Bc=/^#(?:[0-9a-f]{3}){1,2}$/i,Cc=/^(?:rgba)?\((\d{1,3}),\s?(\d{1,3}),\s?(\d{1,3}),\s?(0|1|0\.\d*)\)$/i,Dc=/^(?:rgb)?\((0|[1-9]\d{0,2}),\s?(0|[1-9]\d{0,2}),\s?(0|[1-9]\d{0,2})\)$/i;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+";"}
85
- function S(a,b){b&&"string"!==typeof b&&(b=b.toString());return!!a&&1==a.nodeType&&(!b||a.tagName.toUpperCase()==b)};var T={};T.J=function(){var a={ea:"http://www.w3.org/2000/svg"};return function(b){return a[b]||null}}();
86
- T.s=function(a,b,c){var d=w(a);if(!d.documentElement)return null;nc&&hc(d?d.parentWindow||d.defaultView:window);try{for(var e=d.createNSResolver?d.createNSResolver(d.documentElement):T.J,f={},g=d.getElementsByTagName("*"),h=0;h<g.length;++h){var n=g[h],u=n.namespaceURI;if(u&&!f[u]){var l=n.lookupPrefix(u);if(!l){var y=u.match(".*/(\\w+)/?$");l=y?y[1]:"xhtml"}f[u]=l}}var Q={},aa;for(aa in f)Q[f[aa]]=aa;e=function(m){return Q[m]||null};try{return d.evaluate(b,a,e,c,null)}catch(m){if("TypeError"===m.name)return e=
87
- d.createNSResolver?d.createNSResolver(d.documentElement):T.J,d.evaluate(b,a,e,c,null);throw m;}}catch(m){throw new P(32,"Unable to locate an element with the xpath expression "+b+" because of the following error:\n"+m);}};T.K=function(a,b){if(!a||1!=a.nodeType)throw new P(32,'The result of the xpath expression "'+b+'" is: '+a+". It should be an element.");};
88
- T.o=function(a,b){var c=function(){var d=T.s(b,a,9);return d?d.singleNodeValue||null:b.selectSingleNode?(d=w(b),d.setProperty&&d.setProperty("SelectionLanguage","XPath"),b.selectSingleNode(a)):null}();null===c||T.K(c,a);return c};
89
- T.j=function(a,b){var c=function(){var d=T.s(b,a,7);if(d){for(var e=d.snapshotLength,f=[],g=0;g<e;++g)f.push(d.snapshotItem(g));return f}return b.selectNodes?(d=w(b),d.setProperty&&d.setProperty("SelectionLanguage","XPath"),b.selectNodes(a)):[]}();p(c,function(d){T.K(d,a)});return c};function Hc(a,b,c,d){this.c=a;this.a=b;this.b=c;this.f=d}Hc.prototype.ceil=function(){this.c=Math.ceil(this.c);this.a=Math.ceil(this.a);this.b=Math.ceil(this.b);this.f=Math.ceil(this.f);return this};Hc.prototype.floor=function(){this.c=Math.floor(this.c);this.a=Math.floor(this.a);this.b=Math.floor(this.b);this.f=Math.floor(this.f);return this};Hc.prototype.round=function(){this.c=Math.round(this.c);this.a=Math.round(this.a);this.b=Math.round(this.b);this.f=Math.round(this.f);return this};function U(a,b,c,d){this.a=a;this.b=b;this.width=c;this.height=d}U.prototype.ceil=function(){this.a=Math.ceil(this.a);this.b=Math.ceil(this.b);this.width=Math.ceil(this.width);this.height=Math.ceil(this.height);return this};U.prototype.floor=function(){this.a=Math.floor(this.a);this.b=Math.floor(this.b);this.width=Math.floor(this.width);this.height=Math.floor(this.height);return this};
90
- U.prototype.round=function(){this.a=Math.round(this.a);this.b=Math.round(this.b);this.width=Math.round(this.width);this.height=Math.round(this.height);return this};var Ic="function"===typeof ShadowRoot;function Jc(a){for(a=a.parentNode;a&&1!=a.nodeType&&9!=a.nodeType&&11!=a.nodeType;)a=a.parentNode;return S(a)?a:null}
91
- function V(a,b){b=La(b);if("float"==b||"cssFloat"==b||"styleFloat"==b)b="cssFloat";a:{var c=b;var d=w(a);if(d.defaultView&&d.defaultView.getComputedStyle&&(d=d.defaultView.getComputedStyle(a,null))){c=d[c]||d.getPropertyValue(c)||"";break a}c=""}a=c||Kc(a,b);if(null===a)a=null;else if(0<=qa(zc,b)){b:{var e=a.match(Cc);if(e&&(b=Number(e[1]),c=Number(e[2]),d=Number(e[3]),e=Number(e[4]),0<=b&&255>=b&&0<=c&&255>=c&&0<=d&&255>=d&&0<=e&&1>=e)){b=[b,c,d,e];break b}b=null}if(!b)b:{if(d=a.match(Dc))if(b=Number(d[1]),
85
+ function S(a,b){b&&"string"!==typeof b&&(b=b.toString());return!!a&&1==a.nodeType&&(!b||a.tagName.toUpperCase()==b)};function Hc(a,b,c,d){this.c=a;this.a=b;this.b=c;this.f=d}Hc.prototype.ceil=function(){this.c=Math.ceil(this.c);this.a=Math.ceil(this.a);this.b=Math.ceil(this.b);this.f=Math.ceil(this.f);return this};Hc.prototype.floor=function(){this.c=Math.floor(this.c);this.a=Math.floor(this.a);this.b=Math.floor(this.b);this.f=Math.floor(this.f);return this};Hc.prototype.round=function(){this.c=Math.round(this.c);this.a=Math.round(this.a);this.b=Math.round(this.b);this.f=Math.round(this.f);return this};function T(a,b,c,d){this.a=a;this.b=b;this.width=c;this.height=d}T.prototype.ceil=function(){this.a=Math.ceil(this.a);this.b=Math.ceil(this.b);this.width=Math.ceil(this.width);this.height=Math.ceil(this.height);return this};T.prototype.floor=function(){this.a=Math.floor(this.a);this.b=Math.floor(this.b);this.width=Math.floor(this.width);this.height=Math.floor(this.height);return this};
86
+ T.prototype.round=function(){this.a=Math.round(this.a);this.b=Math.round(this.b);this.width=Math.round(this.width);this.height=Math.round(this.height);return this};var Ic="function"===typeof ShadowRoot;function Jc(a){for(a=a.parentNode;a&&1!=a.nodeType&&9!=a.nodeType&&11!=a.nodeType;)a=a.parentNode;return S(a)?a:null}
87
+ function U(a,b){b=La(b);if("float"==b||"cssFloat"==b||"styleFloat"==b)b="cssFloat";a:{var c=b;var d=w(a);if(d.defaultView&&d.defaultView.getComputedStyle&&(d=d.defaultView.getComputedStyle(a,null))){c=d[c]||d.getPropertyValue(c)||"";break a}c=""}a=c||Kc(a,b);if(null===a)a=null;else if(0<=qa(zc,b)){b:{var e=a.match(Cc);if(e&&(b=Number(e[1]),c=Number(e[2]),d=Number(e[3]),e=Number(e[4]),0<=b&&255>=b&&0<=c&&255>=c&&0<=d&&255>=d&&0<=e&&1>=e)){b=[b,c,d,e];break b}b=null}if(!b)b:{if(d=a.match(Dc))if(b=Number(d[1]),
92
88
  c=Number(d[2]),d=Number(d[3]),0<=b&&255>=b&&0<=c&&255>=c&&0<=d&&255>=d){b=[b,c,d,1];break b}b=null}if(!b)b:{b=a.toLowerCase();c=yc[b.toLowerCase()];if(!c&&(c="#"==b.charAt(0)?b:"#"+b,4==c.length&&(c=c.replace(Ac,"#$1$1$2$2$3$3")),!Bc.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}
93
89
  function Kc(a,b){var c=a.currentStyle||a.style,d=c[b];void 0===d&&ha(c.getPropertyValue)&&(d=c.getPropertyValue(b));return"inherit"!=d?void 0!==d?d:null:(a=Jc(a))?Kc(a,b):null}
94
- function Lc(a,b,c){function d(g){var h=W(g);return 0<h.height&&0<h.width?!0:S(g,"PATH")&&(0<h.height||0<h.width)?(g=V(g,"stroke-width"),!!g&&0<parseInt(g,10)):"hidden"!=V(g,"overflow")&&ua(g.childNodes,function(n){return 3==n.nodeType||S(n)&&d(n)})}function e(g){return Mc(g)==X&&va(g.childNodes,function(h){return!S(h)||e(h)||!d(h)})}if(!S(a))throw Error("Argument to isShown must be of type Element");if(S(a,"BODY"))return!0;if(S(a,"OPTION")||S(a,"OPTGROUP"))return a=$a(a,function(g){return S(g,"SELECT")}),
95
- !!a&&Lc(a,!0,c);var f=Nc(a);if(f)return!!f.image&&0<f.rect.width&&0<f.rect.height&&Lc(f.image,b,c);if(S(a,"INPUT")&&"hidden"==a.type.toLowerCase()||S(a,"NOSCRIPT"))return!1;f=V(a,"visibility");return"collapse"!=f&&"hidden"!=f&&c(a)&&(b||0!=Oc(a))&&d(a)?!e(a):!1}
96
- function Pc(a){function b(c){if(S(c)&&"none"==V(c,"display"))return!1;var d;if((d=c.parentNode)&&d.shadowRoot&&void 0!==c.assignedSlot)d=c.assignedSlot?c.assignedSlot.parentNode:null;else if(c.getDestinationInsertionPoints){var e=c.getDestinationInsertionPoints();0<e.length&&(d=e[e.length-1])}if(Ic&&d instanceof ShadowRoot){if(d.host.shadowRoot!==d)return!1;d=d.host}return!d||9!=d.nodeType&&11!=d.nodeType?d&&S(d,"DETAILS")&&!d.open&&!S(c,"SUMMARY")?!1:!!d&&b(d):!0}return Lc(a,!1,b)}var X="hidden";
97
- function Mc(a){function b(m){function z(ob){if(ob==g)return!0;var bc=V(ob,"display");return 0==bc.lastIndexOf("inline",0)||"contents"==bc||"absolute"==cc&&"static"==V(ob,"position")?!1:!0}var cc=V(m,"position");if("fixed"==cc)return u=!0,m==g?null:g;for(m=Jc(m);m&&!z(m);)m=Jc(m);return m}function c(m){var z=m;if("visible"==n)if(m==g&&h)z=h;else if(m==h)return{x:"visible",y:"visible"};z={x:V(z,"overflow-x"),y:V(z,"overflow-y")};m==g&&(z.x="visible"==z.x?"auto":z.x,z.y="visible"==z.y?"auto":z.y);return z}
98
- function d(m){if(m==g){var z=(new Ua(f)).a;m=z.scrollingElement?z.scrollingElement:z.body||z.documentElement;z=z.parentWindow||z.defaultView;m=new Sa(z.pageXOffset||m.scrollLeft,z.pageYOffset||m.scrollTop)}else m=new Sa(m.scrollLeft,m.scrollTop);return m}var e=Qc(a),f=w(a),g=f.documentElement,h=f.body,n=V(g,"overflow"),u;for(a=b(a);a;a=b(a)){var l=c(a);if("visible"!=l.x||"visible"!=l.y){var y=W(a);if(0==y.width||0==y.height)return X;var Q=e.a<y.a,aa=e.b<y.b;if(Q&&"hidden"==l.x||aa&&"hidden"==l.y)return X;
99
- if(Q&&"visible"!=l.x||aa&&"visible"!=l.y){Q=d(a);aa=e.b<y.b-Q.y;if(e.a<y.a-Q.x&&"visible"!=l.x||aa&&"visible"!=l.x)return X;e=Mc(a);return e==X?X:"scroll"}Q=e.f>=y.a+y.width;y=e.c>=y.b+y.height;if(Q&&"hidden"==l.x||y&&"hidden"==l.y)return X;if(Q&&"visible"!=l.x||y&&"visible"!=l.y){if(u&&(l=d(a),e.f>=g.scrollWidth-l.x||e.a>=g.scrollHeight-l.y))return X;e=Mc(a);return e==X?X:"scroll"}}}return"none"}
100
- function W(a){var b=Nc(a);if(b)return b.rect;if(S(a,"HTML"))return a=w(a),a=((a?a.parentWindow||a.defaultView:window)||window).document,a="CSS1Compat"==a.compatMode?a.documentElement:a.body,a=new Ta(a.clientWidth,a.clientHeight),new U(0,0,a.width,a.height);try{var c=a.getBoundingClientRect()}catch(d){return new U(0,0,0,0)}return new U(c.left,c.top,c.right-c.left,c.bottom-c.top)}
101
- function Nc(a){var b=S(a,"MAP");if(!b&&!S(a,"AREA"))return null;var c=b?a:S(a.parentNode,"MAP")?a.parentNode:null,d=null,e=null;c&&c.name&&(d=T.o('/descendant::*[@usemap = "#'+c.name+'"]',w(c)))&&(e=W(d),b||"default"==a.shape.toLowerCase()||(a=Rc(a),b=Math.min(Math.max(a.a,0),e.width),c=Math.min(Math.max(a.b,0),e.height),e=new U(b+e.a,c+e.b,Math.min(a.width,e.width-b),Math.min(a.height,e.height-c))));return{image:d,rect:e||new U(0,0,0,0)}}
102
- function Rc(a){var b=a.shape.toLowerCase();a=a.coords.split(",");if("rect"==b&&4==a.length){b=a[0];var c=a[1];return new U(b,c,a[2]-b,a[3]-c)}if("circle"==b&&3==a.length)return b=a[2],new U(a[0]-b,a[1]-b,2*b,2*b);if("poly"==b&&2<a.length){b=a[0];c=a[1];for(var d=b,e=c,f=2;f+1<a.length;f+=2)b=Math.min(b,a[f]),d=Math.max(d,a[f]),c=Math.min(c,a[f+1]),e=Math.max(e,a[f+1]);return new U(b,c,d-b,e-c)}return new U(0,0,0,0)}function Qc(a){a=W(a);return new Hc(a.b,a.a+a.width,a.b+a.height,a.a)}
90
+ function Lc(a,b,c){function d(g){var h=V(g);return 0<h.height&&0<h.width?!0:S(g,"PATH")&&(0<h.height||0<h.width)?(g=U(g,"stroke-width"),!!g&&0<parseInt(g,10)):"hidden"!=U(g,"overflow")&&ua(g.childNodes,function(n){return 3==n.nodeType||S(n)&&d(n)})}function e(g){return Mc(g)==W&&va(g.childNodes,function(h){return!S(h)||e(h)||!d(h)})}if(!S(a))throw Error("Argument to isShown must be of type Element");if(S(a,"BODY"))return!0;if(S(a,"OPTION")||S(a,"OPTGROUP"))return a=$a(a,function(g){return S(g,"SELECT")}),
91
+ !!a&&Lc(a,!0,c);var f=Nc(a);if(f)return!!f.image&&0<f.rect.width&&0<f.rect.height&&Lc(f.image,b,c);if(S(a,"INPUT")&&"hidden"==a.type.toLowerCase()||S(a,"NOSCRIPT"))return!1;f=U(a,"visibility");return"collapse"!=f&&"hidden"!=f&&c(a)&&(b||0!=Oc(a))&&d(a)?!e(a):!1}
92
+ function Pc(a){function b(c){if(S(c)&&"none"==U(c,"display"))return!1;var d;if((d=c.parentNode)&&d.shadowRoot&&void 0!==c.assignedSlot)d=c.assignedSlot?c.assignedSlot.parentNode:null;else if(c.getDestinationInsertionPoints){var e=c.getDestinationInsertionPoints();0<e.length&&(d=e[e.length-1])}if(Ic&&d instanceof ShadowRoot){if(d.host.shadowRoot&&d.host.shadowRoot!==d)return!1;d=d.host}return!d||9!=d.nodeType&&11!=d.nodeType?d&&S(d,"DETAILS")&&!d.open&&!S(c,"SUMMARY")?!1:!!d&&b(d):!0}return Lc(a,!1,
93
+ b)}var W="hidden";
94
+ function Mc(a){function b(m){function y(ob){if(ob==g)return!0;var bc=U(ob,"display");return 0==bc.lastIndexOf("inline",0)||"contents"==bc||"absolute"==cc&&"static"==U(ob,"position")?!1:!0}var cc=U(m,"position");if("fixed"==cc)return u=!0,m==g?null:g;for(m=Jc(m);m&&!y(m);)m=Jc(m);return m}function c(m){var y=m;if("visible"==n)if(m==g&&h)y=h;else if(m==h)return{x:"visible",y:"visible"};y={x:U(y,"overflow-x"),y:U(y,"overflow-y")};m==g&&(y.x="visible"==y.x?"auto":y.x,y.y="visible"==y.y?"auto":y.y);return y}
95
+ function d(m){if(m==g){var y=(new Ua(f)).a;m=y.scrollingElement?y.scrollingElement:y.body||y.documentElement;y=y.parentWindow||y.defaultView;m=new Sa(y.pageXOffset||m.scrollLeft,y.pageYOffset||m.scrollTop)}else m=new Sa(m.scrollLeft,m.scrollTop);return m}var e=Qc(a),f=w(a),g=f.documentElement,h=f.body,n=U(g,"overflow"),u;for(a=b(a);a;a=b(a)){var l=c(a);if("visible"!=l.x||"visible"!=l.y){var z=V(a);if(0==z.width||0==z.height)return W;var Q=e.a<z.a,aa=e.b<z.b;if(Q&&"hidden"==l.x||aa&&"hidden"==l.y)return W;
96
+ if(Q&&"visible"!=l.x||aa&&"visible"!=l.y){Q=d(a);aa=e.b<z.b-Q.y;if(e.a<z.a-Q.x&&"visible"!=l.x||aa&&"visible"!=l.x)return W;e=Mc(a);return e==W?W:"scroll"}Q=e.f>=z.a+z.width;z=e.c>=z.b+z.height;if(Q&&"hidden"==l.x||z&&"hidden"==l.y)return W;if(Q&&"visible"!=l.x||z&&"visible"!=l.y){if(u&&(l=d(a),e.f>=g.scrollWidth-l.x||e.a>=g.scrollHeight-l.y))return W;e=Mc(a);return e==W?W:"scroll"}}}return"none"}
97
+ function V(a){var b=Nc(a);if(b)return b.rect;if(S(a,"HTML"))return a=w(a),a=((a?a.parentWindow||a.defaultView:window)||window).document,a="CSS1Compat"==a.compatMode?a.documentElement:a.body,a=new Ta(a.clientWidth,a.clientHeight),new T(0,0,a.width,a.height);try{var c=a.getBoundingClientRect()}catch(d){return new T(0,0,0,0)}return new T(c.left,c.top,c.right-c.left,c.bottom-c.top)}
98
+ function Nc(a){var b=S(a,"MAP");if(!b&&!S(a,"AREA"))return null;var c=b?a:S(a.parentNode,"MAP")?a.parentNode:null,d=null,e=null;c&&c.name&&(d=xc.o('*[usemap="#'+c.name+'"]',w(c)))&&(e=V(d),b||"default"==a.shape.toLowerCase()||(a=Rc(a),b=Math.min(Math.max(a.a,0),e.width),c=Math.min(Math.max(a.b,0),e.height),e=new T(b+e.a,c+e.b,Math.min(a.width,e.width-b),Math.min(a.height,e.height-c))));return{image:d,rect:e||new T(0,0,0,0)}}
99
+ function Rc(a){var b=a.shape.toLowerCase();a=a.coords.split(",");if("rect"==b&&4==a.length){b=a[0];var c=a[1];return new T(b,c,a[2]-b,a[3]-c)}if("circle"==b&&3==a.length)return b=a[2],new T(a[0]-b,a[1]-b,2*b,2*b);if("poly"==b&&2<a.length){b=a[0];c=a[1];for(var d=b,e=c,f=2;f+1<a.length;f+=2)b=Math.min(b,a[f]),d=Math.max(d,a[f]),c=Math.min(c,a[f+1]),e=Math.max(e,a[f+1]);return new T(b,c,d-b,e-c)}return new T(0,0,0,0)}function Qc(a){a=V(a);return new Hc(a.b,a.a+a.width,a.b+a.height,a.a)}
103
100
  function Sc(a){return a.replace(/^[^\S\xa0]+|[^\S\xa0]+$/g,"")}function Tc(a){var b=[];Ic?Uc(a,b):Vc(a,b);a=sa(b,Sc);return Sc(a.join("\n")).replace(/\xa0/g," ")}
104
- function Wc(a,b,c){if(S(a,"BR"))b.push("");else{var d=S(a,"TD"),e=V(a,"display"),f=!d&&!(0<=qa(Xc,e)),g=void 0!==a.previousElementSibling?a.previousElementSibling:Va(a.previousSibling);g=g?V(g,"display"):"";var h=V(a,"float")||V(a,"cssFloat")||V(a,"styleFloat");!f||"run-in"==g&&"none"==h||/^[\s\xa0]*$/.test(b[b.length-1]||"")||b.push("");var n=Pc(a),u=null,l=null;n&&(u=V(a,"white-space"),l=V(a,"text-transform"));p(a.childNodes,function(y){c(y,b,n,u,l)});a=b[b.length-1]||"";!d&&"table-cell"!=e||!a||
101
+ function Wc(a,b,c){if(S(a,"BR"))b.push("");else{var d=S(a,"TD"),e=U(a,"display"),f=!d&&!(0<=qa(Xc,e)),g=void 0!==a.previousElementSibling?a.previousElementSibling:Va(a.previousSibling);g=g?U(g,"display"):"";var h=U(a,"float")||U(a,"cssFloat")||U(a,"styleFloat");!f||"run-in"==g&&"none"==h||/^[\s\xa0]*$/.test(b[b.length-1]||"")||b.push("");var n=Pc(a),u=null,l=null;n&&(u=U(a,"white-space"),l=U(a,"text-transform"));p(a.childNodes,function(z){c(z,b,n,u,l)});a=b[b.length-1]||"";!d&&"table-cell"!=e||!a||
105
102
  Ba(a)||(b[b.length-1]+=" ");f&&"run-in"!=e&&!/^[\s\xa0]*$/.test(a)&&b.push("")}}function Vc(a,b){Wc(a,b,function(c,d,e,f,g){3==c.nodeType&&e?Yc(c,d,f,g):S(c)&&Vc(c,d)})}var Xc="inline inline-block inline-table none table-cell table-column table-column-group".split(" ");
106
103
  function Yc(a,b,c,d){a=a.nodeValue.replace(/[\u200b\u200e\u200f]/g,"");a=a.replace(/(\r\n|\r|\n)/g,"\n");if("normal"==c||"nowrap"==c)a=a.replace(/\n/g," ");a="pre"==c||"pre-wrap"==c?a.replace(/[ \f\t\v\u2028\u2029]/g,"\u00a0"):a.replace(/[ \f\t\v\u2028\u2029]+/g," ");"capitalize"==d?a=a.replace(/(^|[^\d\p{L}\p{S}])([\p{Ll}|\p{S}])/gu,function(e,f,g){return f+g.toUpperCase()}):"uppercase"==d?a=a.toUpperCase():"lowercase"==d&&(a=a.toLowerCase());c=b.pop()||"";Ba(c)&&0==a.lastIndexOf(" ",0)&&(a=a.substr(1));
107
- b.push(c+a)}function Oc(a){var b=1,c=V(a,"opacity");c&&(b=Number(c));(a=Jc(a))&&(b*=Oc(a));return b}
108
- function Zc(a,b,c,d,e){if(3==a.nodeType&&c)Yc(a,b,d,e);else if(S(a))if(S(a,"CONTENT")||S(a,"SLOT")){for(var f=a;f.parentNode;)f=f.parentNode;f instanceof ShadowRoot?(a=S(a,"CONTENT")?a.getDistributedNodes():a.assignedNodes(),p(a,function(g){Zc(g,b,c,d,e)})):Uc(a,b)}else if(S(a,"SHADOW")){for(f=a;f.parentNode;)f=f.parentNode;if(f instanceof ShadowRoot&&(a=f))for(a=a.olderShadowRoot;a;)p(a.childNodes,function(g){Zc(g,b,c,d,e)}),a=a.olderShadowRoot}else Uc(a,b)}
104
+ b.push(c+a)}function Oc(a){var b=1,c=U(a,"opacity");c&&(b=Number(c));(a=Jc(a))&&(b*=Oc(a));return b}
105
+ function Zc(a,b,c,d,e){if(3==a.nodeType&&c)Yc(a,b,d,e);else if(S(a))if(S(a,"CONTENT")||S(a,"SLOT")){for(var f=a;f.parentNode;)f=f.parentNode;f instanceof ShadowRoot?(f=S(a,"CONTENT")?a.getDistributedNodes():a.assignedNodes(),p(0<f.length?f:a.childNodes,function(g){Zc(g,b,c,d,e)})):Uc(a,b)}else if(S(a,"SHADOW")){for(f=a;f.parentNode;)f=f.parentNode;if(f instanceof ShadowRoot&&(a=f))for(a=a.olderShadowRoot;a;)p(a.childNodes,function(g){Zc(g,b,c,d,e)}),a=a.olderShadowRoot}else Uc(a,b)}
109
106
  function Uc(a,b){a.shadowRoot&&p(a.shadowRoot.childNodes,function(c){Zc(c,b,!0,null,null)});Wc(a,b,function(c,d,e,f,g){var h=null;1==c.nodeType?h=c:3==c.nodeType&&(h=c);null!=h&&(null!=h.assignedSlot||h.getDestinationInsertionPoints&&0<h.getDestinationInsertionPoints().length)||Zc(c,d,e,f,g)})};var $c={C:function(a,b){return!(!a.querySelectorAll||!a.querySelector)&&!/^\d.*/.test(b)},o:function(a,b){var c=v(b),d="string"===typeof a?c.a.getElementById(a):a;return d?Ec(d,"id")==a&&b!=d&&Wa(b,d)?d:wa(x(c,"*"),function(e){return Ec(e,"id")==a&&b!=e&&Wa(b,e)}):null},j:function(a,b){if(!a)return[];if($c.C(b,a))try{return b.querySelectorAll("#"+$c.U(a))}catch(c){return[]}b=x(v(b),"*",null,b);return ra(b,function(c){return Ec(c,"id")==a})},U:function(a){return a.replace(/([\s'"\\#.:;,!?+<>=~*^$|%&@`{}\-\/\[\]\(\)])/g,
110
- "\\$1")}};var Y={},ad={};Y.O=function(a,b,c){try{var d=xc.j("a",b)}catch(e){d=x(v(b),"A",null,b)}return wa(d,function(e){e=Tc(e);e=e.replace(/^[\s]+|[\s]+$/g,"");return c&&-1!=e.indexOf(a)||e==a})};Y.L=function(a,b,c){try{var d=xc.j("a",b)}catch(e){d=x(v(b),"A",null,b)}return ra(d,function(e){e=Tc(e);e=e.replace(/^[\s]+|[\s]+$/g,"");return c&&-1!=e.indexOf(a)||e==a})};Y.o=function(a,b){return Y.O(a,b,!1)};Y.j=function(a,b){return Y.L(a,b,!1)};ad.o=function(a,b){return Y.O(a,b,!0)};
111
- ad.j=function(a,b){return Y.L(a,b,!0)};var Z={F:function(a,b){return function(c){var d=Z.u(a);d=W(d);c=W(c);return b.call(null,d,c)}},S:function(a){return Z.F(a,function(b,c){return c.b+c.height<b.b})},T:function(a){return Z.F(a,function(b,c){return b.b+b.height<c.b})},W:function(a){return Z.F(a,function(b,c){return c.a+c.width<b.a})},ba:function(a){return Z.F(a,function(b,c){return b.a+b.width<c.a})},X:function(a,b){var c;b?c=b:"number"==typeof a.distance&&(c=a.distance);c||(c=50);return function(d){var e=Z.u(a);if(e===d)return!1;e=W(e);
112
- d=W(d);e=new U(e.a-c,e.b-c,e.width+2*c,e.height+2*c);return e.a<=d.a+d.width&&d.a<=e.a+e.width&&e.b<=d.b+d.height&&d.b<=e.b+e.height}},u:function(a){if(ia(a)&&1==a.nodeType)return a;if(ha(a))return Z.u(a.call(null));if(ia(a)){var b=bd(a);if(!b)throw new P(7,"No element has been found by "+JSON.stringify(a));return b}throw new P(61,"Selector is of wrong type: "+JSON.stringify(a));}};Z.R={left:Z.W,right:Z.ba,above:Z.S,below:Z.T,near:Z.X};Z.P={left:Z.u,right:Z.u,above:Z.u,below:Z.u,near:Z.u};
113
- Z.V=function(a,b){var c=[];p(a,function(e){e&&va(b,function(f){var g=f.kind,h=Z.R[g];if(!h)throw new P(61,"Cannot find filter suitable for "+g);return h.apply(null,f.args)(e)},null)&&c.push(e)},null);a=b[b.length-1];var d=Z.P[a?a.kind:"unknown"];return d?(a=d.apply(null,a.args))?Z.ca(a,c):c:c};
114
- Z.ca=function(a,b){function c(f){f=W(f);return Math.sqrt(Math.pow(d-(f.a+Math.max(1,f.width)/2),2)+Math.pow(e-(f.b+Math.max(1,f.height)/2),2))}a=W(a);var d=a.a+Math.max(1,a.width)/2,e=a.b+Math.max(1,a.height)/2;za(b,function(f,g){return c(f)-c(g)});return b};Z.o=function(a,b){a=Z.j(a,b);return 0==a.length?null:a[0]};
115
- Z.j=function(a,b){if(!a.hasOwnProperty("root")||!a.hasOwnProperty("filters"))throw new P(61,"Locator not suitable for relative locators: "+JSON.stringify(a));if(!fa(a.filters))throw new P(61,"Targets should be an array: "+JSON.stringify(a));if(S(a.root))b=[a.root];else a:{var c=a.root,d=cd(c);if(d){var e=dd[d];if(e&&ha(e.j)){b=e.j(c[d],b||ic.document);break a}}throw new P(61,"Unsupported locator strategy: "+d);}return 0==b.length?[]:Z.V(b,a.filters)};var ed={o:function(a,b){if(""===a)throw new P(32,'Unable to locate an element with the tagName ""');return b.getElementsByTagName(a)[0]||null},j:function(a,b){if(""===a)throw new P(32,'Unable to locate an element with the tagName ""');return b.getElementsByTagName(a)}};var dd={className:wc,"class name":wc,css:xc,"css selector":xc,relative:Z,id:$c,linkText:Y,"link text":Y,name:{o:function(a,b){b=x(v(b),"*",null,b);return wa(b,function(c){return Ec(c,"name")==a})},j:function(a,b){b=x(v(b),"*",null,b);return ra(b,function(c){return Ec(c,"name")==a})}},partialLinkText:ad,"partial link text":ad,tagName:ed,"tag name":ed,xpath:T};function cd(a){for(var b in a)if(a.hasOwnProperty(b))return b;return null}
116
- function bd(a,b){var c=cd(a);if(c){var d=dd[c];if(d&&ha(d.o))return d.o(a[c],b||ic.document)}throw new P(61,"Unsupported locator strategy: "+c);};da("_",function(a,b,c,d){var e=bd,f={};f[a]=b;try{var g;d?g=vc(d.WINDOW):g=window;var h=g;var n;c?n=vc(c.ELEMENT,h.document):n=h.document;var u=e(f,n);var l={status:0,value:sc(u)}}catch(y){l={status:null!==y&&"code"in y?y.code:13,value:{message:y.message}}}return rc(l)});; return this._.apply(null,arguments);}).apply(window, arguments);}
107
+ "\\$1")}};var X={},ad={};X.O=function(a,b,c){try{var d=xc.j("a",b)}catch(e){d=x(v(b),"A",null,b)}return wa(d,function(e){e=Tc(e);e=e.replace(/^[\s]+|[\s]+$/g,"");return c&&-1!=e.indexOf(a)||e==a})};X.L=function(a,b,c){try{var d=xc.j("a",b)}catch(e){d=x(v(b),"A",null,b)}return ra(d,function(e){e=Tc(e);e=e.replace(/^[\s]+|[\s]+$/g,"");return c&&-1!=e.indexOf(a)||e==a})};X.o=function(a,b){return X.O(a,b,!1)};X.j=function(a,b){return X.L(a,b,!1)};ad.o=function(a,b){return X.O(a,b,!0)};
108
+ ad.j=function(a,b){return X.L(a,b,!0)};var Y={F:function(a,b){return function(c){var d=Y.u(a);d=V(d);c=V(c);return b.call(null,d,c)}},S:function(a){return Y.F(a,function(b,c){return c.b+c.height<b.b})},T:function(a){return Y.F(a,function(b,c){return b.b+b.height<c.b})},W:function(a){return Y.F(a,function(b,c){return c.a+c.width<b.a})},ba:function(a){return Y.F(a,function(b,c){return b.a+b.width<c.a})},X:function(a,b){var c;b?c=b:"number"==typeof a.distance&&(c=a.distance);c||(c=50);return function(d){var e=Y.u(a);if(e===d)return!1;e=V(e);
109
+ d=V(d);e=new T(e.a-c,e.b-c,e.width+2*c,e.height+2*c);return e.a<=d.a+d.width&&d.a<=e.a+e.width&&e.b<=d.b+d.height&&d.b<=e.b+e.height}},u:function(a){if(ia(a)&&1==a.nodeType)return a;if(ha(a))return Y.u(a.call(null));if(ia(a)){var b=bd(a);if(!b)throw new P(7,"No element has been found by "+JSON.stringify(a));return b}throw new P(61,"Selector is of wrong type: "+JSON.stringify(a));}};Y.R={left:Y.W,right:Y.ba,above:Y.S,below:Y.T,near:Y.X};Y.P={left:Y.u,right:Y.u,above:Y.u,below:Y.u,near:Y.u};
110
+ Y.V=function(a,b){var c=[];p(a,function(e){e&&va(b,function(f){var g=f.kind,h=Y.R[g];if(!h)throw new P(61,"Cannot find filter suitable for "+g);return h.apply(null,f.args)(e)},null)&&c.push(e)},null);a=b[b.length-1];var d=Y.P[a?a.kind:"unknown"];return d?(a=d.apply(null,a.args))?Y.ca(a,c):c:c};
111
+ Y.ca=function(a,b){function c(f){f=V(f);return Math.sqrt(Math.pow(d-(f.a+Math.max(1,f.width)/2),2)+Math.pow(e-(f.b+Math.max(1,f.height)/2),2))}a=V(a);var d=a.a+Math.max(1,a.width)/2,e=a.b+Math.max(1,a.height)/2;za(b,function(f,g){return c(f)-c(g)});return b};Y.o=function(a,b){a=Y.j(a,b);return 0==a.length?null:a[0]};
112
+ Y.j=function(a,b){if(!a.hasOwnProperty("root")||!a.hasOwnProperty("filters"))throw new P(61,"Locator not suitable for relative locators: "+JSON.stringify(a));if(!fa(a.filters))throw new P(61,"Targets should be an array: "+JSON.stringify(a));if(S(a.root))b=[a.root];else a:{var c=a.root,d=cd(c);if(d){var e=dd[d];if(e&&ha(e.j)){b=e.j(c[d],b||ic.document);break a}}throw new P(61,"Unsupported locator strategy: "+d);}return 0==b.length?[]:Y.V(b,a.filters)};var ed={o:function(a,b){if(""===a)throw new P(32,'Unable to locate an element with the tagName ""');return b.getElementsByTagName(a)[0]||null},j:function(a,b){if(""===a)throw new P(32,'Unable to locate an element with the tagName ""');return b.getElementsByTagName(a)}};var Z={};Z.J=function(){var a={ea:"http://www.w3.org/2000/svg"};return function(b){return a[b]||null}}();
113
+ Z.s=function(a,b,c){var d=w(a);if(!d.documentElement)return null;nc&&hc(d?d.parentWindow||d.defaultView:window);try{for(var e=d.createNSResolver?d.createNSResolver(d.documentElement):Z.J,f={},g=d.getElementsByTagName("*"),h=0;h<g.length;++h){var n=g[h],u=n.namespaceURI;if(u&&!f[u]){var l=n.lookupPrefix(u);if(!l){var z=u.match(".*/(\\w+)/?$");l=z?z[1]:"xhtml"}f[u]=l}}var Q={},aa;for(aa in f)Q[f[aa]]=aa;e=function(m){return Q[m]||null};try{return d.evaluate(b,a,e,c,null)}catch(m){if("TypeError"===m.name)return e=
114
+ d.createNSResolver?d.createNSResolver(d.documentElement):Z.J,d.evaluate(b,a,e,c,null);throw m;}}catch(m){throw new P(32,"Unable to locate an element with the xpath expression "+b+" because of the following error:\n"+m);}};Z.K=function(a,b){if(!a||1!=a.nodeType)throw new P(32,'The result of the xpath expression "'+b+'" is: '+a+". It should be an element.");};
115
+ Z.o=function(a,b){var c=function(){var d=Z.s(b,a,9);return d?d.singleNodeValue||null:b.selectSingleNode?(d=w(b),d.setProperty&&d.setProperty("SelectionLanguage","XPath"),b.selectSingleNode(a)):null}();null===c||Z.K(c,a);return c};
116
+ Z.j=function(a,b){var c=function(){var d=Z.s(b,a,7);if(d){for(var e=d.snapshotLength,f=[],g=0;g<e;++g)f.push(d.snapshotItem(g));return f}return b.selectNodes?(d=w(b),d.setProperty&&d.setProperty("SelectionLanguage","XPath"),b.selectNodes(a)):[]}();p(c,function(d){Z.K(d,a)});return c};var dd={className:wc,"class name":wc,css:xc,"css selector":xc,relative:Y,id:$c,linkText:X,"link text":X,name:{o:function(a,b){b=x(v(b),"*",null,b);return wa(b,function(c){return Ec(c,"name")==a})},j:function(a,b){b=x(v(b),"*",null,b);return ra(b,function(c){return Ec(c,"name")==a})}},partialLinkText:ad,"partial link text":ad,tagName:ed,"tag name":ed,xpath:Z};function cd(a){for(var b in a)if(a.hasOwnProperty(b))return b;return null}
117
+ function bd(a,b){var c=cd(a);if(c){var d=dd[c];if(d&&ha(d.o))return d.o(a[c],b||ic.document)}throw new P(61,"Unsupported locator strategy: "+c);};da("_",function(a,b,c,d){var e=bd,f={};f[a]=b;try{var g;d?g=vc(d.WINDOW):g=window;var h=g;var n;c?n=vc(c.ELEMENT,h.document):n=h.document;var u=e(f,n);var l={status:0,value:sc(u)}}catch(z){l={status:null!==z&&"code"in z?z.code:13,value:{message:z.message}}}return rc(l)});; return this._.apply(null,arguments);}).apply(window, arguments);}
@@ -82,35 +82,36 @@ ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",green:"#0
82
82
  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",
83
83
  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",
84
84
  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 zc="backgroundColor borderTopColor borderRightColor borderBottomColor borderLeftColor color outlineColor".split(" "),Ac=/#([0-9a-fA-F])([0-9a-fA-F])([0-9a-fA-F])/,Bc=/^#(?:[0-9a-f]{3}){1,2}$/i,Cc=/^(?:rgba)?\((\d{1,3}),\s?(\d{1,3}),\s?(\d{1,3}),\s?(0|1|0\.\d*)\)$/i,Dc=/^(?:rgb)?\((0|[1-9]\d{0,2}),\s?(0|[1-9]\d{0,2}),\s?(0|[1-9]\d{0,2})\)$/i;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+";"}
85
- function S(a,b){b&&"string"!==typeof b&&(b=b.toString());return!!a&&1==a.nodeType&&(!b||a.tagName.toUpperCase()==b)};var T={};T.J=function(){var a={ea:"http://www.w3.org/2000/svg"};return function(b){return a[b]||null}}();
86
- T.s=function(a,b,c){var d=w(a);if(!d.documentElement)return null;nc&&hc(d?d.parentWindow||d.defaultView:window);try{for(var e=d.createNSResolver?d.createNSResolver(d.documentElement):T.J,f={},g=d.getElementsByTagName("*"),h=0;h<g.length;++h){var n=g[h],u=n.namespaceURI;if(u&&!f[u]){var l=n.lookupPrefix(u);if(!l){var y=u.match(".*/(\\w+)/?$");l=y?y[1]:"xhtml"}f[u]=l}}var Q={},aa;for(aa in f)Q[f[aa]]=aa;e=function(m){return Q[m]||null};try{return d.evaluate(b,a,e,c,null)}catch(m){if("TypeError"===m.name)return e=
87
- d.createNSResolver?d.createNSResolver(d.documentElement):T.J,d.evaluate(b,a,e,c,null);throw m;}}catch(m){throw new P(32,"Unable to locate an element with the xpath expression "+b+" because of the following error:\n"+m);}};T.K=function(a,b){if(!a||1!=a.nodeType)throw new P(32,'The result of the xpath expression "'+b+'" is: '+a+". It should be an element.");};
88
- T.o=function(a,b){var c=function(){var d=T.s(b,a,9);return d?d.singleNodeValue||null:b.selectSingleNode?(d=w(b),d.setProperty&&d.setProperty("SelectionLanguage","XPath"),b.selectSingleNode(a)):null}();null===c||T.K(c,a);return c};
89
- T.j=function(a,b){var c=function(){var d=T.s(b,a,7);if(d){for(var e=d.snapshotLength,f=[],g=0;g<e;++g)f.push(d.snapshotItem(g));return f}return b.selectNodes?(d=w(b),d.setProperty&&d.setProperty("SelectionLanguage","XPath"),b.selectNodes(a)):[]}();p(c,function(d){T.K(d,a)});return c};function Hc(a,b,c,d){this.c=a;this.a=b;this.b=c;this.f=d}Hc.prototype.ceil=function(){this.c=Math.ceil(this.c);this.a=Math.ceil(this.a);this.b=Math.ceil(this.b);this.f=Math.ceil(this.f);return this};Hc.prototype.floor=function(){this.c=Math.floor(this.c);this.a=Math.floor(this.a);this.b=Math.floor(this.b);this.f=Math.floor(this.f);return this};Hc.prototype.round=function(){this.c=Math.round(this.c);this.a=Math.round(this.a);this.b=Math.round(this.b);this.f=Math.round(this.f);return this};function U(a,b,c,d){this.a=a;this.b=b;this.width=c;this.height=d}U.prototype.ceil=function(){this.a=Math.ceil(this.a);this.b=Math.ceil(this.b);this.width=Math.ceil(this.width);this.height=Math.ceil(this.height);return this};U.prototype.floor=function(){this.a=Math.floor(this.a);this.b=Math.floor(this.b);this.width=Math.floor(this.width);this.height=Math.floor(this.height);return this};
90
- U.prototype.round=function(){this.a=Math.round(this.a);this.b=Math.round(this.b);this.width=Math.round(this.width);this.height=Math.round(this.height);return this};var Ic="function"===typeof ShadowRoot;function Jc(a){for(a=a.parentNode;a&&1!=a.nodeType&&9!=a.nodeType&&11!=a.nodeType;)a=a.parentNode;return S(a)?a:null}
91
- function V(a,b){b=La(b);if("float"==b||"cssFloat"==b||"styleFloat"==b)b="cssFloat";a:{var c=b;var d=w(a);if(d.defaultView&&d.defaultView.getComputedStyle&&(d=d.defaultView.getComputedStyle(a,null))){c=d[c]||d.getPropertyValue(c)||"";break a}c=""}a=c||Kc(a,b);if(null===a)a=null;else if(0<=qa(zc,b)){b:{var e=a.match(Cc);if(e&&(b=Number(e[1]),c=Number(e[2]),d=Number(e[3]),e=Number(e[4]),0<=b&&255>=b&&0<=c&&255>=c&&0<=d&&255>=d&&0<=e&&1>=e)){b=[b,c,d,e];break b}b=null}if(!b)b:{if(d=a.match(Dc))if(b=Number(d[1]),
85
+ function S(a,b){b&&"string"!==typeof b&&(b=b.toString());return!!a&&1==a.nodeType&&(!b||a.tagName.toUpperCase()==b)};function Hc(a,b,c,d){this.c=a;this.a=b;this.b=c;this.f=d}Hc.prototype.ceil=function(){this.c=Math.ceil(this.c);this.a=Math.ceil(this.a);this.b=Math.ceil(this.b);this.f=Math.ceil(this.f);return this};Hc.prototype.floor=function(){this.c=Math.floor(this.c);this.a=Math.floor(this.a);this.b=Math.floor(this.b);this.f=Math.floor(this.f);return this};Hc.prototype.round=function(){this.c=Math.round(this.c);this.a=Math.round(this.a);this.b=Math.round(this.b);this.f=Math.round(this.f);return this};function T(a,b,c,d){this.a=a;this.b=b;this.width=c;this.height=d}T.prototype.ceil=function(){this.a=Math.ceil(this.a);this.b=Math.ceil(this.b);this.width=Math.ceil(this.width);this.height=Math.ceil(this.height);return this};T.prototype.floor=function(){this.a=Math.floor(this.a);this.b=Math.floor(this.b);this.width=Math.floor(this.width);this.height=Math.floor(this.height);return this};
86
+ T.prototype.round=function(){this.a=Math.round(this.a);this.b=Math.round(this.b);this.width=Math.round(this.width);this.height=Math.round(this.height);return this};var Ic="function"===typeof ShadowRoot;function Jc(a){for(a=a.parentNode;a&&1!=a.nodeType&&9!=a.nodeType&&11!=a.nodeType;)a=a.parentNode;return S(a)?a:null}
87
+ function U(a,b){b=La(b);if("float"==b||"cssFloat"==b||"styleFloat"==b)b="cssFloat";a:{var c=b;var d=w(a);if(d.defaultView&&d.defaultView.getComputedStyle&&(d=d.defaultView.getComputedStyle(a,null))){c=d[c]||d.getPropertyValue(c)||"";break a}c=""}a=c||Kc(a,b);if(null===a)a=null;else if(0<=qa(zc,b)){b:{var e=a.match(Cc);if(e&&(b=Number(e[1]),c=Number(e[2]),d=Number(e[3]),e=Number(e[4]),0<=b&&255>=b&&0<=c&&255>=c&&0<=d&&255>=d&&0<=e&&1>=e)){b=[b,c,d,e];break b}b=null}if(!b)b:{if(d=a.match(Dc))if(b=Number(d[1]),
92
88
  c=Number(d[2]),d=Number(d[3]),0<=b&&255>=b&&0<=c&&255>=c&&0<=d&&255>=d){b=[b,c,d,1];break b}b=null}if(!b)b:{b=a.toLowerCase();c=yc[b.toLowerCase()];if(!c&&(c="#"==b.charAt(0)?b:"#"+b,4==c.length&&(c=c.replace(Ac,"#$1$1$2$2$3$3")),!Bc.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}
93
89
  function Kc(a,b){var c=a.currentStyle||a.style,d=c[b];void 0===d&&ha(c.getPropertyValue)&&(d=c.getPropertyValue(b));return"inherit"!=d?void 0!==d?d:null:(a=Jc(a))?Kc(a,b):null}
94
- function Lc(a,b,c){function d(g){var h=W(g);return 0<h.height&&0<h.width?!0:S(g,"PATH")&&(0<h.height||0<h.width)?(g=V(g,"stroke-width"),!!g&&0<parseInt(g,10)):"hidden"!=V(g,"overflow")&&ua(g.childNodes,function(n){return 3==n.nodeType||S(n)&&d(n)})}function e(g){return Mc(g)==X&&va(g.childNodes,function(h){return!S(h)||e(h)||!d(h)})}if(!S(a))throw Error("Argument to isShown must be of type Element");if(S(a,"BODY"))return!0;if(S(a,"OPTION")||S(a,"OPTGROUP"))return a=$a(a,function(g){return S(g,"SELECT")}),
95
- !!a&&Lc(a,!0,c);var f=Nc(a);if(f)return!!f.image&&0<f.rect.width&&0<f.rect.height&&Lc(f.image,b,c);if(S(a,"INPUT")&&"hidden"==a.type.toLowerCase()||S(a,"NOSCRIPT"))return!1;f=V(a,"visibility");return"collapse"!=f&&"hidden"!=f&&c(a)&&(b||0!=Oc(a))&&d(a)?!e(a):!1}
96
- function Pc(a){function b(c){if(S(c)&&"none"==V(c,"display"))return!1;var d;if((d=c.parentNode)&&d.shadowRoot&&void 0!==c.assignedSlot)d=c.assignedSlot?c.assignedSlot.parentNode:null;else if(c.getDestinationInsertionPoints){var e=c.getDestinationInsertionPoints();0<e.length&&(d=e[e.length-1])}if(Ic&&d instanceof ShadowRoot){if(d.host.shadowRoot!==d)return!1;d=d.host}return!d||9!=d.nodeType&&11!=d.nodeType?d&&S(d,"DETAILS")&&!d.open&&!S(c,"SUMMARY")?!1:!!d&&b(d):!0}return Lc(a,!1,b)}var X="hidden";
97
- function Mc(a){function b(m){function z(ob){if(ob==g)return!0;var bc=V(ob,"display");return 0==bc.lastIndexOf("inline",0)||"contents"==bc||"absolute"==cc&&"static"==V(ob,"position")?!1:!0}var cc=V(m,"position");if("fixed"==cc)return u=!0,m==g?null:g;for(m=Jc(m);m&&!z(m);)m=Jc(m);return m}function c(m){var z=m;if("visible"==n)if(m==g&&h)z=h;else if(m==h)return{x:"visible",y:"visible"};z={x:V(z,"overflow-x"),y:V(z,"overflow-y")};m==g&&(z.x="visible"==z.x?"auto":z.x,z.y="visible"==z.y?"auto":z.y);return z}
98
- function d(m){if(m==g){var z=(new Ua(f)).a;m=z.scrollingElement?z.scrollingElement:z.body||z.documentElement;z=z.parentWindow||z.defaultView;m=new Sa(z.pageXOffset||m.scrollLeft,z.pageYOffset||m.scrollTop)}else m=new Sa(m.scrollLeft,m.scrollTop);return m}var e=Qc(a),f=w(a),g=f.documentElement,h=f.body,n=V(g,"overflow"),u;for(a=b(a);a;a=b(a)){var l=c(a);if("visible"!=l.x||"visible"!=l.y){var y=W(a);if(0==y.width||0==y.height)return X;var Q=e.a<y.a,aa=e.b<y.b;if(Q&&"hidden"==l.x||aa&&"hidden"==l.y)return X;
99
- if(Q&&"visible"!=l.x||aa&&"visible"!=l.y){Q=d(a);aa=e.b<y.b-Q.y;if(e.a<y.a-Q.x&&"visible"!=l.x||aa&&"visible"!=l.x)return X;e=Mc(a);return e==X?X:"scroll"}Q=e.f>=y.a+y.width;y=e.c>=y.b+y.height;if(Q&&"hidden"==l.x||y&&"hidden"==l.y)return X;if(Q&&"visible"!=l.x||y&&"visible"!=l.y){if(u&&(l=d(a),e.f>=g.scrollWidth-l.x||e.a>=g.scrollHeight-l.y))return X;e=Mc(a);return e==X?X:"scroll"}}}return"none"}
100
- function W(a){var b=Nc(a);if(b)return b.rect;if(S(a,"HTML"))return a=w(a),a=((a?a.parentWindow||a.defaultView:window)||window).document,a="CSS1Compat"==a.compatMode?a.documentElement:a.body,a=new Ta(a.clientWidth,a.clientHeight),new U(0,0,a.width,a.height);try{var c=a.getBoundingClientRect()}catch(d){return new U(0,0,0,0)}return new U(c.left,c.top,c.right-c.left,c.bottom-c.top)}
101
- function Nc(a){var b=S(a,"MAP");if(!b&&!S(a,"AREA"))return null;var c=b?a:S(a.parentNode,"MAP")?a.parentNode:null,d=null,e=null;c&&c.name&&(d=T.o('/descendant::*[@usemap = "#'+c.name+'"]',w(c)))&&(e=W(d),b||"default"==a.shape.toLowerCase()||(a=Rc(a),b=Math.min(Math.max(a.a,0),e.width),c=Math.min(Math.max(a.b,0),e.height),e=new U(b+e.a,c+e.b,Math.min(a.width,e.width-b),Math.min(a.height,e.height-c))));return{image:d,rect:e||new U(0,0,0,0)}}
102
- function Rc(a){var b=a.shape.toLowerCase();a=a.coords.split(",");if("rect"==b&&4==a.length){b=a[0];var c=a[1];return new U(b,c,a[2]-b,a[3]-c)}if("circle"==b&&3==a.length)return b=a[2],new U(a[0]-b,a[1]-b,2*b,2*b);if("poly"==b&&2<a.length){b=a[0];c=a[1];for(var d=b,e=c,f=2;f+1<a.length;f+=2)b=Math.min(b,a[f]),d=Math.max(d,a[f]),c=Math.min(c,a[f+1]),e=Math.max(e,a[f+1]);return new U(b,c,d-b,e-c)}return new U(0,0,0,0)}function Qc(a){a=W(a);return new Hc(a.b,a.a+a.width,a.b+a.height,a.a)}
90
+ function Lc(a,b,c){function d(g){var h=V(g);return 0<h.height&&0<h.width?!0:S(g,"PATH")&&(0<h.height||0<h.width)?(g=U(g,"stroke-width"),!!g&&0<parseInt(g,10)):"hidden"!=U(g,"overflow")&&ua(g.childNodes,function(n){return 3==n.nodeType||S(n)&&d(n)})}function e(g){return Mc(g)==W&&va(g.childNodes,function(h){return!S(h)||e(h)||!d(h)})}if(!S(a))throw Error("Argument to isShown must be of type Element");if(S(a,"BODY"))return!0;if(S(a,"OPTION")||S(a,"OPTGROUP"))return a=$a(a,function(g){return S(g,"SELECT")}),
91
+ !!a&&Lc(a,!0,c);var f=Nc(a);if(f)return!!f.image&&0<f.rect.width&&0<f.rect.height&&Lc(f.image,b,c);if(S(a,"INPUT")&&"hidden"==a.type.toLowerCase()||S(a,"NOSCRIPT"))return!1;f=U(a,"visibility");return"collapse"!=f&&"hidden"!=f&&c(a)&&(b||0!=Oc(a))&&d(a)?!e(a):!1}
92
+ function Pc(a){function b(c){if(S(c)&&"none"==U(c,"display"))return!1;var d;if((d=c.parentNode)&&d.shadowRoot&&void 0!==c.assignedSlot)d=c.assignedSlot?c.assignedSlot.parentNode:null;else if(c.getDestinationInsertionPoints){var e=c.getDestinationInsertionPoints();0<e.length&&(d=e[e.length-1])}if(Ic&&d instanceof ShadowRoot){if(d.host.shadowRoot&&d.host.shadowRoot!==d)return!1;d=d.host}return!d||9!=d.nodeType&&11!=d.nodeType?d&&S(d,"DETAILS")&&!d.open&&!S(c,"SUMMARY")?!1:!!d&&b(d):!0}return Lc(a,!1,
93
+ b)}var W="hidden";
94
+ function Mc(a){function b(m){function y(ob){if(ob==g)return!0;var bc=U(ob,"display");return 0==bc.lastIndexOf("inline",0)||"contents"==bc||"absolute"==cc&&"static"==U(ob,"position")?!1:!0}var cc=U(m,"position");if("fixed"==cc)return u=!0,m==g?null:g;for(m=Jc(m);m&&!y(m);)m=Jc(m);return m}function c(m){var y=m;if("visible"==n)if(m==g&&h)y=h;else if(m==h)return{x:"visible",y:"visible"};y={x:U(y,"overflow-x"),y:U(y,"overflow-y")};m==g&&(y.x="visible"==y.x?"auto":y.x,y.y="visible"==y.y?"auto":y.y);return y}
95
+ function d(m){if(m==g){var y=(new Ua(f)).a;m=y.scrollingElement?y.scrollingElement:y.body||y.documentElement;y=y.parentWindow||y.defaultView;m=new Sa(y.pageXOffset||m.scrollLeft,y.pageYOffset||m.scrollTop)}else m=new Sa(m.scrollLeft,m.scrollTop);return m}var e=Qc(a),f=w(a),g=f.documentElement,h=f.body,n=U(g,"overflow"),u;for(a=b(a);a;a=b(a)){var l=c(a);if("visible"!=l.x||"visible"!=l.y){var z=V(a);if(0==z.width||0==z.height)return W;var Q=e.a<z.a,aa=e.b<z.b;if(Q&&"hidden"==l.x||aa&&"hidden"==l.y)return W;
96
+ if(Q&&"visible"!=l.x||aa&&"visible"!=l.y){Q=d(a);aa=e.b<z.b-Q.y;if(e.a<z.a-Q.x&&"visible"!=l.x||aa&&"visible"!=l.x)return W;e=Mc(a);return e==W?W:"scroll"}Q=e.f>=z.a+z.width;z=e.c>=z.b+z.height;if(Q&&"hidden"==l.x||z&&"hidden"==l.y)return W;if(Q&&"visible"!=l.x||z&&"visible"!=l.y){if(u&&(l=d(a),e.f>=g.scrollWidth-l.x||e.a>=g.scrollHeight-l.y))return W;e=Mc(a);return e==W?W:"scroll"}}}return"none"}
97
+ function V(a){var b=Nc(a);if(b)return b.rect;if(S(a,"HTML"))return a=w(a),a=((a?a.parentWindow||a.defaultView:window)||window).document,a="CSS1Compat"==a.compatMode?a.documentElement:a.body,a=new Ta(a.clientWidth,a.clientHeight),new T(0,0,a.width,a.height);try{var c=a.getBoundingClientRect()}catch(d){return new T(0,0,0,0)}return new T(c.left,c.top,c.right-c.left,c.bottom-c.top)}
98
+ function Nc(a){var b=S(a,"MAP");if(!b&&!S(a,"AREA"))return null;var c=b?a:S(a.parentNode,"MAP")?a.parentNode:null,d=null,e=null;c&&c.name&&(d=xc.o('*[usemap="#'+c.name+'"]',w(c)))&&(e=V(d),b||"default"==a.shape.toLowerCase()||(a=Rc(a),b=Math.min(Math.max(a.a,0),e.width),c=Math.min(Math.max(a.b,0),e.height),e=new T(b+e.a,c+e.b,Math.min(a.width,e.width-b),Math.min(a.height,e.height-c))));return{image:d,rect:e||new T(0,0,0,0)}}
99
+ function Rc(a){var b=a.shape.toLowerCase();a=a.coords.split(",");if("rect"==b&&4==a.length){b=a[0];var c=a[1];return new T(b,c,a[2]-b,a[3]-c)}if("circle"==b&&3==a.length)return b=a[2],new T(a[0]-b,a[1]-b,2*b,2*b);if("poly"==b&&2<a.length){b=a[0];c=a[1];for(var d=b,e=c,f=2;f+1<a.length;f+=2)b=Math.min(b,a[f]),d=Math.max(d,a[f]),c=Math.min(c,a[f+1]),e=Math.max(e,a[f+1]);return new T(b,c,d-b,e-c)}return new T(0,0,0,0)}function Qc(a){a=V(a);return new Hc(a.b,a.a+a.width,a.b+a.height,a.a)}
103
100
  function Sc(a){return a.replace(/^[^\S\xa0]+|[^\S\xa0]+$/g,"")}function Tc(a){var b=[];Ic?Uc(a,b):Vc(a,b);a=sa(b,Sc);return Sc(a.join("\n")).replace(/\xa0/g," ")}
104
- function Wc(a,b,c){if(S(a,"BR"))b.push("");else{var d=S(a,"TD"),e=V(a,"display"),f=!d&&!(0<=qa(Xc,e)),g=void 0!==a.previousElementSibling?a.previousElementSibling:Va(a.previousSibling);g=g?V(g,"display"):"";var h=V(a,"float")||V(a,"cssFloat")||V(a,"styleFloat");!f||"run-in"==g&&"none"==h||/^[\s\xa0]*$/.test(b[b.length-1]||"")||b.push("");var n=Pc(a),u=null,l=null;n&&(u=V(a,"white-space"),l=V(a,"text-transform"));p(a.childNodes,function(y){c(y,b,n,u,l)});a=b[b.length-1]||"";!d&&"table-cell"!=e||!a||
101
+ function Wc(a,b,c){if(S(a,"BR"))b.push("");else{var d=S(a,"TD"),e=U(a,"display"),f=!d&&!(0<=qa(Xc,e)),g=void 0!==a.previousElementSibling?a.previousElementSibling:Va(a.previousSibling);g=g?U(g,"display"):"";var h=U(a,"float")||U(a,"cssFloat")||U(a,"styleFloat");!f||"run-in"==g&&"none"==h||/^[\s\xa0]*$/.test(b[b.length-1]||"")||b.push("");var n=Pc(a),u=null,l=null;n&&(u=U(a,"white-space"),l=U(a,"text-transform"));p(a.childNodes,function(z){c(z,b,n,u,l)});a=b[b.length-1]||"";!d&&"table-cell"!=e||!a||
105
102
  Ba(a)||(b[b.length-1]+=" ");f&&"run-in"!=e&&!/^[\s\xa0]*$/.test(a)&&b.push("")}}function Vc(a,b){Wc(a,b,function(c,d,e,f,g){3==c.nodeType&&e?Yc(c,d,f,g):S(c)&&Vc(c,d)})}var Xc="inline inline-block inline-table none table-cell table-column table-column-group".split(" ");
106
103
  function Yc(a,b,c,d){a=a.nodeValue.replace(/[\u200b\u200e\u200f]/g,"");a=a.replace(/(\r\n|\r|\n)/g,"\n");if("normal"==c||"nowrap"==c)a=a.replace(/\n/g," ");a="pre"==c||"pre-wrap"==c?a.replace(/[ \f\t\v\u2028\u2029]/g,"\u00a0"):a.replace(/[ \f\t\v\u2028\u2029]+/g," ");"capitalize"==d?a=a.replace(/(^|[^\d\p{L}\p{S}])([\p{Ll}|\p{S}])/gu,function(e,f,g){return f+g.toUpperCase()}):"uppercase"==d?a=a.toUpperCase():"lowercase"==d&&(a=a.toLowerCase());c=b.pop()||"";Ba(c)&&0==a.lastIndexOf(" ",0)&&(a=a.substr(1));
107
- b.push(c+a)}function Oc(a){var b=1,c=V(a,"opacity");c&&(b=Number(c));(a=Jc(a))&&(b*=Oc(a));return b}
108
- function Zc(a,b,c,d,e){if(3==a.nodeType&&c)Yc(a,b,d,e);else if(S(a))if(S(a,"CONTENT")||S(a,"SLOT")){for(var f=a;f.parentNode;)f=f.parentNode;f instanceof ShadowRoot?(a=S(a,"CONTENT")?a.getDistributedNodes():a.assignedNodes(),p(a,function(g){Zc(g,b,c,d,e)})):Uc(a,b)}else if(S(a,"SHADOW")){for(f=a;f.parentNode;)f=f.parentNode;if(f instanceof ShadowRoot&&(a=f))for(a=a.olderShadowRoot;a;)p(a.childNodes,function(g){Zc(g,b,c,d,e)}),a=a.olderShadowRoot}else Uc(a,b)}
104
+ b.push(c+a)}function Oc(a){var b=1,c=U(a,"opacity");c&&(b=Number(c));(a=Jc(a))&&(b*=Oc(a));return b}
105
+ function Zc(a,b,c,d,e){if(3==a.nodeType&&c)Yc(a,b,d,e);else if(S(a))if(S(a,"CONTENT")||S(a,"SLOT")){for(var f=a;f.parentNode;)f=f.parentNode;f instanceof ShadowRoot?(f=S(a,"CONTENT")?a.getDistributedNodes():a.assignedNodes(),p(0<f.length?f:a.childNodes,function(g){Zc(g,b,c,d,e)})):Uc(a,b)}else if(S(a,"SHADOW")){for(f=a;f.parentNode;)f=f.parentNode;if(f instanceof ShadowRoot&&(a=f))for(a=a.olderShadowRoot;a;)p(a.childNodes,function(g){Zc(g,b,c,d,e)}),a=a.olderShadowRoot}else Uc(a,b)}
109
106
  function Uc(a,b){a.shadowRoot&&p(a.shadowRoot.childNodes,function(c){Zc(c,b,!0,null,null)});Wc(a,b,function(c,d,e,f,g){var h=null;1==c.nodeType?h=c:3==c.nodeType&&(h=c);null!=h&&(null!=h.assignedSlot||h.getDestinationInsertionPoints&&0<h.getDestinationInsertionPoints().length)||Zc(c,d,e,f,g)})};var $c={C:function(a,b){return!(!a.querySelectorAll||!a.querySelector)&&!/^\d.*/.test(b)},o:function(a,b){var c=v(b),d="string"===typeof a?c.a.getElementById(a):a;return d?Ec(d,"id")==a&&b!=d&&Wa(b,d)?d:wa(x(c,"*"),function(e){return Ec(e,"id")==a&&b!=e&&Wa(b,e)}):null},j:function(a,b){if(!a)return[];if($c.C(b,a))try{return b.querySelectorAll("#"+$c.U(a))}catch(c){return[]}b=x(v(b),"*",null,b);return ra(b,function(c){return Ec(c,"id")==a})},U:function(a){return a.replace(/([\s'"\\#.:;,!?+<>=~*^$|%&@`{}\-\/\[\]\(\)])/g,
110
- "\\$1")}};var Y={},ad={};Y.O=function(a,b,c){try{var d=xc.j("a",b)}catch(e){d=x(v(b),"A",null,b)}return wa(d,function(e){e=Tc(e);e=e.replace(/^[\s]+|[\s]+$/g,"");return c&&-1!=e.indexOf(a)||e==a})};Y.L=function(a,b,c){try{var d=xc.j("a",b)}catch(e){d=x(v(b),"A",null,b)}return ra(d,function(e){e=Tc(e);e=e.replace(/^[\s]+|[\s]+$/g,"");return c&&-1!=e.indexOf(a)||e==a})};Y.o=function(a,b){return Y.O(a,b,!1)};Y.j=function(a,b){return Y.L(a,b,!1)};ad.o=function(a,b){return Y.O(a,b,!0)};
111
- ad.j=function(a,b){return Y.L(a,b,!0)};var Z={F:function(a,b){return function(c){var d=Z.u(a);d=W(d);c=W(c);return b.call(null,d,c)}},S:function(a){return Z.F(a,function(b,c){return c.b+c.height<b.b})},T:function(a){return Z.F(a,function(b,c){return b.b+b.height<c.b})},W:function(a){return Z.F(a,function(b,c){return c.a+c.width<b.a})},ba:function(a){return Z.F(a,function(b,c){return b.a+b.width<c.a})},X:function(a,b){var c;b?c=b:"number"==typeof a.distance&&(c=a.distance);c||(c=50);return function(d){var e=Z.u(a);if(e===d)return!1;e=W(e);
112
- d=W(d);e=new U(e.a-c,e.b-c,e.width+2*c,e.height+2*c);return e.a<=d.a+d.width&&d.a<=e.a+e.width&&e.b<=d.b+d.height&&d.b<=e.b+e.height}},u:function(a){if(ia(a)&&1==a.nodeType)return a;if(ha(a))return Z.u(a.call(null));if(ia(a)){var b;a:{if(b=bd(a)){var c=cd[b];if(c&&ha(c.o)){b=c.o(a[b],ic.document);break a}}throw new P(61,"Unsupported locator strategy: "+b);}if(!b)throw new P(7,"No element has been found by "+JSON.stringify(a));return b}throw new P(61,"Selector is of wrong type: "+JSON.stringify(a));
113
- }};Z.R={left:Z.W,right:Z.ba,above:Z.S,below:Z.T,near:Z.X};Z.P={left:Z.u,right:Z.u,above:Z.u,below:Z.u,near:Z.u};Z.V=function(a,b){var c=[];p(a,function(e){e&&va(b,function(f){var g=f.kind,h=Z.R[g];if(!h)throw new P(61,"Cannot find filter suitable for "+g);return h.apply(null,f.args)(e)},null)&&c.push(e)},null);a=b[b.length-1];var d=Z.P[a?a.kind:"unknown"];return d?(a=d.apply(null,a.args))?Z.ca(a,c):c:c};
114
- Z.ca=function(a,b){function c(f){f=W(f);return Math.sqrt(Math.pow(d-(f.a+Math.max(1,f.width)/2),2)+Math.pow(e-(f.b+Math.max(1,f.height)/2),2))}a=W(a);var d=a.a+Math.max(1,a.width)/2,e=a.b+Math.max(1,a.height)/2;za(b,function(f,g){return c(f)-c(g)});return b};Z.o=function(a,b){a=Z.j(a,b);return 0==a.length?null:a[0]};
115
- Z.j=function(a,b){if(!a.hasOwnProperty("root")||!a.hasOwnProperty("filters"))throw new P(61,"Locator not suitable for relative locators: "+JSON.stringify(a));if(!fa(a.filters))throw new P(61,"Targets should be an array: "+JSON.stringify(a));var c;S(a.root)?c=[a.root]:c=dd(a.root,b);return 0==c.length?[]:Z.V(c,a.filters)};var ed={o:function(a,b){if(""===a)throw new P(32,'Unable to locate an element with the tagName ""');return b.getElementsByTagName(a)[0]||null},j:function(a,b){if(""===a)throw new P(32,'Unable to locate an element with the tagName ""');return b.getElementsByTagName(a)}};var cd={className:wc,"class name":wc,css:xc,"css selector":xc,relative:Z,id:$c,linkText:Y,"link text":Y,name:{o:function(a,b){b=x(v(b),"*",null,b);return wa(b,function(c){return Ec(c,"name")==a})},j:function(a,b){b=x(v(b),"*",null,b);return ra(b,function(c){return Ec(c,"name")==a})}},partialLinkText:ad,"partial link text":ad,tagName:ed,"tag name":ed,xpath:T};function bd(a){for(var b in a)if(a.hasOwnProperty(b))return b;return null}
116
- function dd(a,b){var c=bd(a);if(c){var d=cd[c];if(d&&ha(d.j))return d.j(a[c],b||ic.document)}throw new P(61,"Unsupported locator strategy: "+c);};da("_",function(a,b,c,d){var e=dd,f={};f[a]=b;try{var g;d?g=vc(d.WINDOW):g=window;var h=g;var n;c?n=vc(c.ELEMENT,h.document):n=h.document;var u=e(f,n);var l={status:0,value:sc(u)}}catch(y){l={status:null!==y&&"code"in y?y.code:13,value:{message:y.message}}}return rc(l)});; return this._.apply(null,arguments);}).apply(window, arguments);}
107
+ "\\$1")}};var X={},ad={};X.O=function(a,b,c){try{var d=xc.j("a",b)}catch(e){d=x(v(b),"A",null,b)}return wa(d,function(e){e=Tc(e);e=e.replace(/^[\s]+|[\s]+$/g,"");return c&&-1!=e.indexOf(a)||e==a})};X.L=function(a,b,c){try{var d=xc.j("a",b)}catch(e){d=x(v(b),"A",null,b)}return ra(d,function(e){e=Tc(e);e=e.replace(/^[\s]+|[\s]+$/g,"");return c&&-1!=e.indexOf(a)||e==a})};X.o=function(a,b){return X.O(a,b,!1)};X.j=function(a,b){return X.L(a,b,!1)};ad.o=function(a,b){return X.O(a,b,!0)};
108
+ ad.j=function(a,b){return X.L(a,b,!0)};var Y={F:function(a,b){return function(c){var d=Y.u(a);d=V(d);c=V(c);return b.call(null,d,c)}},S:function(a){return Y.F(a,function(b,c){return c.b+c.height<b.b})},T:function(a){return Y.F(a,function(b,c){return b.b+b.height<c.b})},W:function(a){return Y.F(a,function(b,c){return c.a+c.width<b.a})},ba:function(a){return Y.F(a,function(b,c){return b.a+b.width<c.a})},X:function(a,b){var c;b?c=b:"number"==typeof a.distance&&(c=a.distance);c||(c=50);return function(d){var e=Y.u(a);if(e===d)return!1;e=V(e);
109
+ d=V(d);e=new T(e.a-c,e.b-c,e.width+2*c,e.height+2*c);return e.a<=d.a+d.width&&d.a<=e.a+e.width&&e.b<=d.b+d.height&&d.b<=e.b+e.height}},u:function(a){if(ia(a)&&1==a.nodeType)return a;if(ha(a))return Y.u(a.call(null));if(ia(a)){var b;a:{if(b=bd(a)){var c=cd[b];if(c&&ha(c.o)){b=c.o(a[b],ic.document);break a}}throw new P(61,"Unsupported locator strategy: "+b);}if(!b)throw new P(7,"No element has been found by "+JSON.stringify(a));return b}throw new P(61,"Selector is of wrong type: "+JSON.stringify(a));
110
+ }};Y.R={left:Y.W,right:Y.ba,above:Y.S,below:Y.T,near:Y.X};Y.P={left:Y.u,right:Y.u,above:Y.u,below:Y.u,near:Y.u};Y.V=function(a,b){var c=[];p(a,function(e){e&&va(b,function(f){var g=f.kind,h=Y.R[g];if(!h)throw new P(61,"Cannot find filter suitable for "+g);return h.apply(null,f.args)(e)},null)&&c.push(e)},null);a=b[b.length-1];var d=Y.P[a?a.kind:"unknown"];return d?(a=d.apply(null,a.args))?Y.ca(a,c):c:c};
111
+ Y.ca=function(a,b){function c(f){f=V(f);return Math.sqrt(Math.pow(d-(f.a+Math.max(1,f.width)/2),2)+Math.pow(e-(f.b+Math.max(1,f.height)/2),2))}a=V(a);var d=a.a+Math.max(1,a.width)/2,e=a.b+Math.max(1,a.height)/2;za(b,function(f,g){return c(f)-c(g)});return b};Y.o=function(a,b){a=Y.j(a,b);return 0==a.length?null:a[0]};
112
+ Y.j=function(a,b){if(!a.hasOwnProperty("root")||!a.hasOwnProperty("filters"))throw new P(61,"Locator not suitable for relative locators: "+JSON.stringify(a));if(!fa(a.filters))throw new P(61,"Targets should be an array: "+JSON.stringify(a));var c;S(a.root)?c=[a.root]:c=dd(a.root,b);return 0==c.length?[]:Y.V(c,a.filters)};var ed={o:function(a,b){if(""===a)throw new P(32,'Unable to locate an element with the tagName ""');return b.getElementsByTagName(a)[0]||null},j:function(a,b){if(""===a)throw new P(32,'Unable to locate an element with the tagName ""');return b.getElementsByTagName(a)}};var Z={};Z.J=function(){var a={ea:"http://www.w3.org/2000/svg"};return function(b){return a[b]||null}}();
113
+ Z.s=function(a,b,c){var d=w(a);if(!d.documentElement)return null;nc&&hc(d?d.parentWindow||d.defaultView:window);try{for(var e=d.createNSResolver?d.createNSResolver(d.documentElement):Z.J,f={},g=d.getElementsByTagName("*"),h=0;h<g.length;++h){var n=g[h],u=n.namespaceURI;if(u&&!f[u]){var l=n.lookupPrefix(u);if(!l){var z=u.match(".*/(\\w+)/?$");l=z?z[1]:"xhtml"}f[u]=l}}var Q={},aa;for(aa in f)Q[f[aa]]=aa;e=function(m){return Q[m]||null};try{return d.evaluate(b,a,e,c,null)}catch(m){if("TypeError"===m.name)return e=
114
+ d.createNSResolver?d.createNSResolver(d.documentElement):Z.J,d.evaluate(b,a,e,c,null);throw m;}}catch(m){throw new P(32,"Unable to locate an element with the xpath expression "+b+" because of the following error:\n"+m);}};Z.K=function(a,b){if(!a||1!=a.nodeType)throw new P(32,'The result of the xpath expression "'+b+'" is: '+a+". It should be an element.");};
115
+ Z.o=function(a,b){var c=function(){var d=Z.s(b,a,9);return d?d.singleNodeValue||null:b.selectSingleNode?(d=w(b),d.setProperty&&d.setProperty("SelectionLanguage","XPath"),b.selectSingleNode(a)):null}();null===c||Z.K(c,a);return c};
116
+ Z.j=function(a,b){var c=function(){var d=Z.s(b,a,7);if(d){for(var e=d.snapshotLength,f=[],g=0;g<e;++g)f.push(d.snapshotItem(g));return f}return b.selectNodes?(d=w(b),d.setProperty&&d.setProperty("SelectionLanguage","XPath"),b.selectNodes(a)):[]}();p(c,function(d){Z.K(d,a)});return c};var cd={className:wc,"class name":wc,css:xc,"css selector":xc,relative:Y,id:$c,linkText:X,"link text":X,name:{o:function(a,b){b=x(v(b),"*",null,b);return wa(b,function(c){return Ec(c,"name")==a})},j:function(a,b){b=x(v(b),"*",null,b);return ra(b,function(c){return Ec(c,"name")==a})}},partialLinkText:ad,"partial link text":ad,tagName:ed,"tag name":ed,xpath:Z};function bd(a){for(var b in a)if(a.hasOwnProperty(b))return b;return null}
117
+ function dd(a,b){var c=bd(a);if(c){var d=cd[c];if(d&&ha(d.j))return d.j(a[c],b||ic.document)}throw new P(61,"Unsupported locator strategy: "+c);};da("_",function(a,b,c,d){var e=dd,f={};f[a]=b;try{var g;d?g=vc(d.WINDOW):g=window;var h=g;var n;c?n=vc(c.ELEMENT,h.document):n=h.document;var u=e(f,n);var l={status:0,value:sc(u)}}catch(z){l={status:null!==z&&"code"in z?z.code:13,value:{message:z.message}}}return rc(l)});; return this._.apply(null,arguments);}).apply(window, arguments);}